opencode-orchestrator 1.2.66 → 1.2.68
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/README.md +27 -6
- package/dist/scripts/postinstall.js +1407 -176
- package/dist/scripts/preuninstall.js +1408 -177
- package/package.json +4 -4
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "opencode-orchestrator",
|
|
3
3
|
"displayName": "OpenCode Orchestrator",
|
|
4
4
|
"description": "Distributed Cognitive Architecture for OpenCode. Turns simple prompts into specialized multi-agent workflows (Planner, Coder, Reviewer).",
|
|
5
|
-
"version": "1.2.
|
|
5
|
+
"version": "1.2.68",
|
|
6
6
|
"author": "agnusdei1207",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"docker:rust-dist": "docker compose run --rm dev && (sudo chown -R $(id -u):$(id -g) bin/ 2>/dev/null || true)",
|
|
46
46
|
"docker:test": "docker compose run --rm test",
|
|
47
47
|
"docker:clean": "docker compose down -v",
|
|
48
|
-
"build": "rm -rf dist && npx esbuild src/index.ts --bundle --outfile=dist/index.js --platform=node --format=esm && tsc --emitDeclarationOnly && mkdir -p dist/scripts && npx esbuild scripts/postinstall.ts --bundle --outfile=dist/scripts/postinstall.js --platform=node --format=esm && npx esbuild scripts/preuninstall.ts --bundle --outfile=dist/scripts/preuninstall.js --platform=node --format=esm",
|
|
48
|
+
"build": "rm -rf dist && npx esbuild src/index.ts --bundle --outfile=dist/index.js --platform=node --format=esm && tsc --emitDeclarationOnly && mkdir -p dist/scripts && npx esbuild scripts/postinstall.ts --bundle --outfile=dist/scripts/postinstall.js --platform=node --format=esm --main-fields=module,main && npx esbuild scripts/preuninstall.ts --bundle --outfile=dist/scripts/preuninstall.js --platform=node --format=esm --main-fields=module,main",
|
|
49
49
|
"build:all": "npm run build && npm run docker:rust-dist",
|
|
50
50
|
"test": "vitest run --reporter=verbose",
|
|
51
51
|
"test:coverage": "vitest run --coverage",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"test:e2e": "vitest run tests/e2e --reporter=verbose",
|
|
54
54
|
"test:all": "npm run build && vitest run --reporter=verbose && echo '=== ALL TESTS PASSED ==='",
|
|
55
55
|
"postinstall": "node scripts/run-install-hook.mjs postinstall",
|
|
56
|
-
"
|
|
56
|
+
"cleanup:plugin": "node scripts/run-install-hook.mjs preuninstall",
|
|
57
57
|
"prepublishOnly": "npm run build",
|
|
58
58
|
"publish:token": "npm publish --access public",
|
|
59
59
|
"releae:patch": "npm run release:patch",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"release:minor": "npm version minor && npm run build && npm run docker:rust-dist && npm run publish:token",
|
|
64
64
|
"release:major": "npm version major && npm run build && npm run docker:rust-dist && npm run publish:token",
|
|
65
65
|
"reset:local": "brew uninstall opencode 2>/dev/null; rm -rf ~/.config/opencode ~/.opencode ~/.local/share/opencode ~/.cache/opencode/node_modules/opencode-orchestrator && echo '=== Clean done ===' && brew install opencode && echo '{\"plugin\": [\"opencode-orchestrator\"], \"$schema\": \"https://opencode.ai/config.json\"}' > ~/.config/opencode/opencode.json && echo '=== Reset (Dev) complete. Run: opencode ==='",
|
|
66
|
-
"reset:prod": "brew uninstall opencode 2>/dev/null; rm -rf ~/.config/opencode ~/.opencode ~/.local/share/opencode ~/.cache/opencode/node_modules/opencode-orchestrator && echo '=== Clean done ===' && brew install opencode && echo '{\"plugin\": [\"opencode-orchestrator\"], \"$schema\": \"https://opencode.ai/config.json\"}' > ~/.config/opencode/opencode.json && npm uninstall -g opencode-orchestrator && echo '=== Reset (Prod) complete. Run: opencode ==='",
|
|
66
|
+
"reset:prod": "brew uninstall opencode 2>/dev/null; rm -rf ~/.config/opencode ~/.opencode ~/.local/share/opencode ~/.cache/opencode/node_modules/opencode-orchestrator && echo '=== Clean done ===' && brew install opencode && echo '{\"plugin\": [\"opencode-orchestrator\"], \"$schema\": \"https://opencode.ai/config.json\"}' > ~/.config/opencode/opencode.json && npm run cleanup:plugin && npm uninstall -g opencode-orchestrator && echo '=== Reset (Prod) complete. Run: opencode ==='",
|
|
67
67
|
"ginstall": "npm install -g opencode-orchestrator",
|
|
68
68
|
"log": "tail -f \"$(node -e 'console.log(require(\"os\").tmpdir())')/opencode-orchestrator.log\""
|
|
69
69
|
},
|