diff --git a/package.json b/package.json index 8138808..99273c0 100644 --- a/package.json +++ b/package.json @@ -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 .", diff --git a/src/cli.ts b/src/cli.ts index d64181d..4046468 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -1,3 +1,4 @@ +#!/usr/bin/env node import { DummyIntentMap, ManifoldRegion, diff --git a/test/core.test.ts b/test/core.test.ts index 02fb483..86e3ddc 100644 --- a/test/core.test.ts +++ b/test/core.test.ts @@ -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', () => {