@synergenius/flow-weaver-pack-weaver 0.9.89 → 0.9.90
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.
|
@@ -2045,7 +2045,7 @@ function TaskEditor({ mode, taskId, onSave, onCancel, onDelete }) {
|
|
|
2045
2045
|
type: "select",
|
|
2046
2046
|
size: "small",
|
|
2047
2047
|
placeholder: "Select a task",
|
|
2048
|
-
options: availableTasks.filter((t) => !
|
|
2048
|
+
options: availableTasks.filter((t) => !dependsOn.includes(t.id) && t.id !== taskId).map((t) => ({ id: t.id, label: t.title })),
|
|
2049
2049
|
optionId: newDep,
|
|
2050
2050
|
onChange: (v) => setNewDep(v),
|
|
2051
2051
|
defaultBoxStyle: { flex: 1, minWidth: 0 }
|
package/dist/ui/task-editor.js
CHANGED
|
@@ -508,7 +508,7 @@ function TaskEditor({ mode, taskId, onSave, onCancel, onDelete }) {
|
|
|
508
508
|
type: "select",
|
|
509
509
|
size: "small",
|
|
510
510
|
placeholder: "Select a task",
|
|
511
|
-
options: availableTasks.filter((t) => !
|
|
511
|
+
options: availableTasks.filter((t) => !dependsOn.includes(t.id) && t.id !== taskId).map((t) => ({ id: t.id, label: t.title })),
|
|
512
512
|
optionId: newDep,
|
|
513
513
|
onChange: (v) => setNewDep(v),
|
|
514
514
|
defaultBoxStyle: { flex: 1, minWidth: 0 }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synergenius/flow-weaver-pack-weaver",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.90",
|
|
4
4
|
"description": "AI bot for Flow Weaver. Execute tasks, run workflows, evolve autonomously.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
],
|
|
59
59
|
"scripts": {
|
|
60
60
|
"build": "tsc && cp -r src/docs dist/docs && node scripts/bundle-ui.mjs && node -e \"require('fs').writeFileSync('templates.js','export{workflowTemplates}from\\\"./dist/templates/index.js\\\";\\n')\"",
|
|
61
|
-
"prepublishOnly": "npm run build",
|
|
61
|
+
"prepublishOnly": "node -e \"if(!process.env.CI && !process.env.FORCE_PUBLISH){console.error('\\x1b[31m✗ Manual npm publish is disabled. Use: npm run release patch\\n To override: FORCE_PUBLISH=1 npm publish\\x1b[0m');process.exit(1)}\" && npm run build",
|
|
62
62
|
"test": "vitest run",
|
|
63
63
|
"test:watch": "vitest",
|
|
64
64
|
"typecheck": "tsc --noEmit",
|
package/src/ui/task-editor.tsx
CHANGED
|
@@ -540,7 +540,7 @@ function TaskEditor({ mode, taskId, onSave, onCancel, onDelete }: TaskEditorProp
|
|
|
540
540
|
type: 'select', size: 'small',
|
|
541
541
|
placeholder: 'Select a task',
|
|
542
542
|
options: availableTasks
|
|
543
|
-
.filter((t: { id: string }) => !
|
|
543
|
+
.filter((t: { id: string }) => !dependsOn.includes(t.id) && t.id !== taskId)
|
|
544
544
|
.map((t: { id: string; title: string }) => ({ id: t.id, label: t.title })),
|
|
545
545
|
optionId: newDep,
|
|
546
546
|
onChange: (v: string) => setNewDep(v),
|