opencode-plugin-flow 3.3.22 → 4.0.1
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/CHANGELOG.md +6 -123
- package/README.md +56 -171
- package/dist/cli.js +6 -34
- package/dist/index.js +405 -365
- package/dist/index.js.map +16 -103
- package/package.json +4 -46
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-plugin-flow",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"description": "Stateful planning and execution workflow plugin for OpenCode",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -20,33 +20,11 @@
|
|
|
20
20
|
"build": "bun run build:plugin && bun run build:cli",
|
|
21
21
|
"build:plugin": "bun build --target=node --outdir=./dist --entry-naming=index.js --external=@opencode-ai/plugin --external=zod --minify --drop=console --sourcemap=external ./src/index.ts",
|
|
22
22
|
"build:cli": "bun build --target=node --outdir=./dist --entry-naming=cli.js --banner='#!/usr/bin/env node' --minify ./src/cli.ts",
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"evals:golden": "bun run evals/golden/runner.ts",
|
|
26
|
-
"check:dependency-contract": "node ./scripts/cross-area/dependency-contract.mjs",
|
|
27
|
-
"check:architecture-seams": "node ./scripts/cross-area/architecture-seams.mjs",
|
|
28
|
-
"check:architecture-seams:enforce": "FLOW_ARCH_SEAMS_MODE=enforce node ./scripts/cross-area/architecture-seams.mjs",
|
|
29
|
-
"check:release-hygiene": "node ./scripts/cross-area/release-hygiene.mjs",
|
|
30
|
-
"check:pack-invariants": "node ./scripts/cross-area/pack-invariants.mjs",
|
|
31
|
-
"check:bundle-sanity": "node ./scripts/cross-area/bundle-sanity.mjs",
|
|
32
|
-
"check:completion-lane": "bun test tests/runtime/final-completion-gates.test.ts tests/runtime/semantic-invariants.test.ts tests/runtime/hard-invariants.test.ts tests/runtime-recovery.test.ts",
|
|
33
|
-
"smoke:opencode": "node ./scripts/cross-area/opencode-smoke.mjs",
|
|
34
|
-
"smoke:release": "node ./scripts/cross-area/release-smoke.mjs",
|
|
35
|
-
"checklist:live-opencode": "node ./scripts/cross-area/live-opencode-checklist.mjs",
|
|
36
|
-
"report:architecture-metrics": "node ./scripts/cross-area/architecture-metrics.mjs",
|
|
37
|
-
"deadcode": "knip --include files,dependencies,unlisted,unresolved,binaries,catalog",
|
|
38
|
-
"report:deadcode-exports": "knip --exports --no-exit-code --reporter compact",
|
|
39
|
-
"lint": "bunx biome check src tests bench --files-ignore-unknown=true --vcs-use-ignore-file=true",
|
|
40
|
-
"test": "bun test",
|
|
41
|
-
"test:fast": "bun test tests/runtime/semantic-invariants.test.ts tests/runtime/final-completion-gates.test.ts",
|
|
42
|
-
"test:deep": "bun run test && bun run test:replay && bun run test:randomized",
|
|
43
|
-
"test:replay": "bun test tests/runtime/semantic-invariants.test.ts tests/runtime/final-completion-gates.test.ts",
|
|
44
|
-
"test:ci": "bun run build && bun run test:randomized",
|
|
45
|
-
"test:randomized": "bun test --randomize --timeout 30000",
|
|
46
|
-
"test:randomized:regression": "bun run build && bun test --randomize --timeout 30000 && bun test --randomize --timeout 30000 --seed=1 && bun test --randomize --timeout 30000 --seed=42",
|
|
23
|
+
"lint": "bunx biome check src tests --files-ignore-unknown=true --vcs-use-ignore-file=true",
|
|
24
|
+
"test": "bun test tests",
|
|
47
25
|
"typecheck": "tsc --noEmit",
|
|
48
26
|
"uninstall:opencode": "bun run ./src/cli.ts uninstall",
|
|
49
|
-
"check": "bun run typecheck && bun run lint && bun run build && bun run test
|
|
27
|
+
"check": "bun run typecheck && bun run lint && bun run build && bun run test"
|
|
50
28
|
},
|
|
51
29
|
"keywords": [
|
|
52
30
|
"opencode",
|
|
@@ -61,32 +39,12 @@
|
|
|
61
39
|
"@opencode-ai/plugin": "1.17.3"
|
|
62
40
|
},
|
|
63
41
|
"dependencies": {
|
|
64
|
-
"ignore": "^7.0.5",
|
|
65
42
|
"zod": "4.1.8"
|
|
66
43
|
},
|
|
67
44
|
"devDependencies": {
|
|
68
45
|
"@biomejs/biome": "^2.2.6",
|
|
69
46
|
"@opencode-ai/plugin": "1.17.3",
|
|
70
47
|
"bun-types": "latest",
|
|
71
|
-
"knip": "^5.63.1",
|
|
72
|
-
"mitata": "^1.0.34",
|
|
73
48
|
"typescript": "^6.0.2"
|
|
74
|
-
},
|
|
75
|
-
"knip": {
|
|
76
|
-
"entry": [
|
|
77
|
-
"src/index.ts",
|
|
78
|
-
"tests/**/*.test.ts",
|
|
79
|
-
"tests/**/*.test-d.ts",
|
|
80
|
-
"bench/**/*.ts",
|
|
81
|
-
"scripts/**/*.mjs",
|
|
82
|
-
"scripts/**/*.ts"
|
|
83
|
-
],
|
|
84
|
-
"project": [
|
|
85
|
-
"src/**/*.ts",
|
|
86
|
-
"tests/**/*.ts",
|
|
87
|
-
"bench/**/*.ts",
|
|
88
|
-
"scripts/**/*.mjs",
|
|
89
|
-
"scripts/**/*.ts"
|
|
90
|
-
]
|
|
91
49
|
}
|
|
92
50
|
}
|