fix build, bump version 1.0.9

This commit is contained in:
2024-11-14 23:44:14 -05:00
parent 2bb59ef71b
commit 777fe5ea26
3 changed files with 7 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "workflow-function-manifold",
"version": "1.0.8",
"version": "1.0.9",
"type": "module",
"description": "for building dynamic, LLM-driven workflows using a region-based execution model",
"main": "src/index.ts",
@@ -19,7 +19,7 @@
"scripts": {
"start": "bun src/cli.ts",
"dev": "bun src/cli.ts",
"build": "rm -rf ./dist && bun build src/* --outdir dist --target browser --format esm --minify",
"build": "rm -rf ./dist && bun build src/* --outdir dist --target browser --format esm --minify && chmod +x dist/cli.js",
"cli": "bun src/cli.ts",
"test": "node dist/cli.js && bun test",
"lint": "eslint .",

View File

@@ -1,3 +1,4 @@
#!/usr/bin/env node
import {
DummyIntentMap,
ManifoldRegion,

View File

@@ -1,13 +1,14 @@
// core.test.ts
import { DummyIntentMap, WorkflowFunctionManifold, WorkflowOperator, ManifoldRegion, NestedManifoldRegion } from '../src';
import {test, beforeEach, describe, expect, jest} from "bun:test";
describe('WorkflowFunctionManifold Core Test Suite', () => {
let intentService: DummyIntentMap;
let intentMap: DummyIntentMap;
let manifold: WorkflowFunctionManifold;
beforeEach(() => {
intentService = new DummyIntentMap();
manifold = new WorkflowFunctionManifold(intentService);
intentMap = new DummyIntentMap();
manifold = new WorkflowFunctionManifold(intentMap);
});
test('Should add a region and set it as the current region if none exist', () => {