@workit-dev/opencode 2.21.3 → 2.21.4

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.
@@ -23,7 +23,8 @@ units of ~100+ lines each. Coupled work stays with one owner. Workit never spawn
23
23
  3. **Make the worktrees**: `workit fanout worktree create <slice>…` (every host; `--name <plan.json>`
24
24
  registers the file) prints per slice its `WORKTREE:` line and the exact spawn, whose prompt points
25
25
  the worker at `workit fanout brief <slice> --name <plan>`. Never hand-edit it; change the plan or
26
- the standing orders. One unplanned slice needs no plan (`--branch <b>` optional).
26
+ the standing orders. One unplanned slice needs no plan (`--branch <b>` optional). `DEPS: LINKED`
27
+ is a shared `node_modules`: rerun a failure on an own install.
27
28
  4. **Spawn in a rolling window**, in the background, each in its own worktree:
28
29
  keep 4-6 in flight and refill from `spawnable` in `workit fanout status`.
29
30
  Assign before spawn (OpenCode: `workit worker assign`); each prompt is the printed one
@@ -111,9 +111,8 @@ per slice, `WORKTREE: <path>` and the spawn that carries it. Its prompt starts
111
111
  with that WORKTREE line, then `WORKER`, `TIER`, `TIMEBOX` and
112
112
  "Run `workit fanout brief <slice> --name <plan>` and follow it exactly.";
113
113
  Claude Code's `SPAWN:` line names `model` only when the TIER differs from the
114
- `implementer` agent file. `--name` takes the plan's name or its file (`--plan`
115
- is the same flag): a file is registered in that call, and a name no plan has
116
- registers the one file in `workit dir plans` that starts with it. The plan
114
+ `implementer` agent file. `--name` (or `--plan`) takes the plan's name, a
115
+ prefix of one file in `workit dir plans`, or a file to register. The plan
117
116
  check refuses a slice branch the workspace branch policy refuses and names the
118
117
  allowed one.
119
118
 
package/dist/plugin.js CHANGED
@@ -9535,7 +9535,9 @@ var workspaceConfigSchema = object({
9535
9535
  feedback: unknown().optional().describe('`workit feedback` for this workspace: `off` hides its contract line and makes the verb refuse; `{ "account": "<login>" }` names the GitHub login it posts with; workspaces inside this one inherit it.'),
9536
9536
  liveSessionGuard: boolean2().optional().describe("Whether the live-session guard denies edits in a checkout another live agent session owns (default true)."),
9537
9537
  fanout: object({
9538
- tierModels: unknown().optional().describe("The model per slice TIER (mundane, standard, hard), as one name or per host.")
9538
+ tierModels: unknown().optional().describe("The model per slice TIER (mundane, standard, hard), as one name or per host."),
9539
+ deps: unknown().optional().describe("How `workit fanout worktree create` gives a slice worktree node_modules: `install` (default: its own frozen install of its lockfile) or `link` (links into the main checkout's installed packages, for a repo too slow to install per slice). `--deps` overrides it."),
9540
+ installTimeout: unknown().optional().describe("How long the own install may run before its process tree is killed and the worktree is linked instead: a duration such as `90s` or `10m` (default `5m`). `--install-timeout` overrides it.")
9539
9541
  }).passthrough().optional().describe("Fanout settings."),
9540
9542
  models: object({ roles: modelRoles }).passthrough().optional().describe("Model and effort per role and host (roles), the lead's own advisory model (lead), how a role model applies (enforce: advise, the default, or strict) and, under strict, whether a model the lead names on a spawn wins (allowLeadOverride, default false); the same key at the top of workspaces.json is the global default."),
9541
9543
  resources: unknown().optional().describe("Heavy-check limits on this machine: slots, scope, heavy, light, memoryMax, cpuQuota, wait."),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workit-dev/opencode",
3
- "version": "2.21.3",
3
+ "version": "2.21.4",
4
4
  "private": false,
5
5
  "description": "Workit OpenCode plugin — native tools, adaptive policy, and sixteen method skills",
6
6
  "keywords": [
@@ -41,7 +41,7 @@
41
41
  },
42
42
  "devDependencies": {
43
43
  "@opencode/plugin": "2.3.2",
44
- "@workit-dev/core": "^2.21.3"
44
+ "@workit-dev/core": "^2.21.4"
45
45
  },
46
46
  "engines": {
47
47
  "node": ">=24"