Files
planning-with-files/.opencode/packages/opencode-planning-with-files/package.json
T
OthmanAdi 7d330bba84 fix(plugins): require PLAN_ID when several named plans exist, in the shared OpenCode and DSH core
The plugin core predates v3.17.1: with two named plans and no PLAN_ID it
picked the shared pointer or the newest directory, which is exactly the
silent switch #240 removed from the shell, PowerShell and Python paths. The
core now counts selectable plans the way inject-plan.sh does (a root plan
under an armed sessions directory counts as one, plus every valid slug
directory holding task_plan.md) and refuses with the canonical notice at
prompt time; every other point stays quiet, pwf_status and pwf_check say
which selector is missing, and a PWF_PLAN_ROOT pin does not lift the rule
because it chooses the project, not the plan.

opencode-planning-with-files moves to 1.1.0 for the behaviour change; the DSH
plugin ships the rule from its first release.
2026-09-17 23:09:27 +02:00

54 lines
1.4 KiB
JSON

{
"name": "opencode-planning-with-files",
"version": "1.1.0",
"description": "Native OpenCode plugin for planning-with-files: per-turn plan injection, write reminders, compaction flush, a session-idle completion gate, and pwf_init / pwf_status / pwf_check tools.",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist",
"README.md"
],
"scripts": {
"build": "tsc -p tsconfig.json",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "vitest run",
"prepublishOnly": "npm run build && npm test"
},
"keywords": [
"opencode",
"opencode-plugin",
"planning-with-files",
"planning",
"ai-agents",
"coding-agent",
"long-running-agents",
"context-engineering"
],
"author": "Ahmad Othman Ammar Adi",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/OthmanAdi/planning-with-files.git",
"directory": ".opencode/packages/opencode-planning-with-files"
},
"homepage": "https://github.com/OthmanAdi/planning-with-files/blob/master/docs/opencode.md",
"bugs": {
"url": "https://github.com/OthmanAdi/planning-with-files/issues"
},
"dependencies": {
"@opencode-ai/plugin": "^1.18.16"
},
"devDependencies": {
"@types/node": "^22.10.1",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
}
}