@workit-dev/codex 2.21.3 → 2.21.5

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "workit",
3
- "version": "2.21.3",
3
+ "version": "2.21.5",
4
4
  "description": "Adaptive engineering workflow rails for Codex",
5
5
  "author": {
6
6
  "name": "BrainerVirus"
package/README.md CHANGED
@@ -12,7 +12,7 @@ codex plugin marketplace add https://github.com/BrainerVirus/workit.git
12
12
  codex plugin add workit@workit
13
13
  ```
14
14
 
15
- Update with `workit upgrade` (native fallback: `codex plugin marketplace upgrade workit && codex plugin add workit@workit`), then start a new Codex session; uninstall with `workit uninstall`.
15
+ Update with `workit upgrade` (a failed Codex step: rerun `workit upgrade --hosts=codex`; without the CLI: `codex plugin marketplace upgrade workit && codex plugin add workit@workit`), then start a new Codex session; uninstall with `workit uninstall`.
16
16
 
17
17
  Reads run over MCP (`workit-codex-mcp`); mutations run through the `workit`
18
18
  CLI because MCP is read-only for unattested callers. Invoke skills as
@@ -15550,7 +15550,9 @@ var workspaceConfigSchema = object({
15550
15550
  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.'),
15551
15551
  liveSessionGuard: boolean2().optional().describe("Whether the live-session guard denies edits in a checkout another live agent session owns (default true)."),
15552
15552
  fanout: object({
15553
- tierModels: unknown().optional().describe("The model per slice TIER (mundane, standard, hard), as one name or per host.")
15553
+ tierModels: unknown().optional().describe("The model per slice TIER (mundane, standard, hard), as one name or per host."),
15554
+ 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."),
15555
+ 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.")
15554
15556
  }).passthrough().optional().describe("Fanout settings."),
15555
15557
  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."),
15556
15558
  resources: unknown().optional().describe("Heavy-check limits on this machine: slots, scope, heavy, light, memoryMax, cpuQuota, wait."),
@@ -7397,7 +7397,9 @@ var workspaceConfigSchema = object({
7397
7397
  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.'),
7398
7398
  liveSessionGuard: boolean2().optional().describe("Whether the live-session guard denies edits in a checkout another live agent session owns (default true)."),
7399
7399
  fanout: object({
7400
- tierModels: unknown().optional().describe("The model per slice TIER (mundane, standard, hard), as one name or per host.")
7400
+ tierModels: unknown().optional().describe("The model per slice TIER (mundane, standard, hard), as one name or per host."),
7401
+ 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."),
7402
+ 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.")
7401
7403
  }).passthrough().optional().describe("Fanout settings."),
7402
7404
  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."),
7403
7405
  resources: unknown().optional().describe("Heavy-check limits on this machine: slots, scope, heavy, light, memoryMax, cpuQuota, wait."),
@@ -101,7 +101,7 @@ if (quiet) {
101
101
  `);
102
102
  } else {
103
103
  try {
104
- const { runCodexHook } = await import("./workit-hook-79mhzf42.js");
104
+ const { runCodexHook } = await import("./workit-hook-qd4j72hf.js");
105
105
  await runCodexHook([payload]);
106
106
  } catch (error) {
107
107
  const { answerRuntimeFailure } = await import("./workit-hook-52cm7mqd.js");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workit-dev/codex",
3
- "version": "2.21.3",
3
+ "version": "2.21.5",
4
4
  "private": false,
5
5
  "description": "Workit Codex CLI/desktop plugin — shared MCP transport, hooks, method skills, and verifier/reviewer/implementer agents",
6
6
  "keywords": [
@@ -41,8 +41,8 @@
41
41
  "build": "bun scripts/build.ts"
42
42
  },
43
43
  "devDependencies": {
44
- "@workit-dev/core": "^2.21.3",
45
- "@workit-dev/mcp": "^2.21.3"
44
+ "@workit-dev/core": "^2.21.5",
45
+ "@workit-dev/mcp": "^2.21.5"
46
46
  },
47
47
  "engines": {
48
48
  "node": ">=24"
@@ -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