@synergenius/flow-weaver 0.10.10 → 0.10.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/commands/tunnel.d.ts +20 -0
- package/dist/cli/commands/tunnel.js +156 -0
- package/dist/cli/flow-weaver.mjs +3804 -41
- package/dist/cli/index.js +17 -0
- package/package.json +3 -1
package/dist/cli/index.js
CHANGED
|
@@ -19,6 +19,7 @@ import { initCommand } from './commands/init.js';
|
|
|
19
19
|
import { watchCommand } from './commands/watch.js';
|
|
20
20
|
import { devCommand } from './commands/dev.js';
|
|
21
21
|
import { listenCommand } from './commands/listen.js';
|
|
22
|
+
import { tunnelCommand } from './commands/tunnel.js';
|
|
22
23
|
import { mcpServerCommand } from '../mcp/server.js';
|
|
23
24
|
import { uiFocusNode, uiAddNode, uiOpenWorkflow, uiGetState, uiBatch } from './commands/ui.js';
|
|
24
25
|
import { grammarCommand } from './commands/grammar.js';
|
|
@@ -269,6 +270,22 @@ program
|
|
|
269
270
|
process.exit(1);
|
|
270
271
|
}
|
|
271
272
|
});
|
|
273
|
+
// Tunnel command
|
|
274
|
+
program
|
|
275
|
+
.command('tunnel')
|
|
276
|
+
.description('Create a tunnel from cloud Studio to your local development server')
|
|
277
|
+
.requiredOption('-k, --key <apiKey>', 'API key for cloud authentication (fw_xxxx)')
|
|
278
|
+
.option('-c, --cloud <url>', 'Cloud server URL', 'https://flowweaver.dev')
|
|
279
|
+
.option('-s, --server <url>', 'Local server URL', DEFAULT_SERVER_URL)
|
|
280
|
+
.action(async (options) => {
|
|
281
|
+
try {
|
|
282
|
+
await tunnelCommand(options);
|
|
283
|
+
}
|
|
284
|
+
catch (error) {
|
|
285
|
+
logger.error(`Command failed: ${getErrorMessage(error)}`);
|
|
286
|
+
process.exit(1);
|
|
287
|
+
}
|
|
288
|
+
});
|
|
272
289
|
// MCP server command
|
|
273
290
|
program
|
|
274
291
|
.command('mcp-server')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synergenius/flow-weaver",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.11",
|
|
4
4
|
"description": "Deterministic workflow compiler for AI agents. Compiles to standalone TypeScript, no runtime dependencies.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -139,12 +139,14 @@
|
|
|
139
139
|
"socket.io-client": "^4.8.0",
|
|
140
140
|
"source-map": "^0.7.6",
|
|
141
141
|
"ts-morph": "^21.0.1",
|
|
142
|
+
"ws": "^8.19.0",
|
|
142
143
|
"zod": "^3.22.4"
|
|
143
144
|
},
|
|
144
145
|
"devDependencies": {
|
|
145
146
|
"@types/js-yaml": "^4.0.9",
|
|
146
147
|
"@types/node": "^20.11.0",
|
|
147
148
|
"@types/react": "^19.0.0",
|
|
149
|
+
"@types/ws": "^8.18.1",
|
|
148
150
|
"@vitest/coverage-v8": "^4.0.18",
|
|
149
151
|
"esbuild": "^0.27.2",
|
|
150
152
|
"prettier": "^3.1.1",
|