@workit-dev/opencode 1.12.0 → 1.13.0

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.
@@ -19,7 +19,7 @@ ACCEPTANCE:
19
19
  VERIFY: <exact commands, e.g. `workit check test`, the verify-<app> feature to drive>
20
20
  TIER: <mundane | standard | hard: how much model the slice needs>
21
21
  TIMEBOX: <wall clock, N tool calls (hard: 180, else 120) and the call by which the full gates ran (60%); past it without a new commit you will be replaced>
22
- SCRATCH: <your own temp dir: the one `fanout worktree create` printed, else `mktemp -d`; never a shared path>
22
+ SCRATCH: <your own temp dir, outside the repo: the one `fanout worktree create` printed, else `mktemp -d`; never a shared path>
23
23
  FORBIDDEN: <no edits outside SCOPE; no new dependencies; ...>
24
24
  FAN-IN: <one PR per slice: no rebase, retarget, merge or force-push | integration: rebase onto the integration tip, nothing else>
25
25
  REPORT: branch, head SHA, files changed, each VERIFY command with its exit code,
@@ -46,7 +46,7 @@ ACCEPTANCE:
46
46
  VERIFY: `workit check test`; verify-api feature "usage"
47
47
  TIER: standard
48
48
  TIMEBOX: 45 minutes, 120 tool calls (run your full VERIFY gates by call 72)
49
- SCRATCH: ~/.local/state/workit/worktrees/app/usage-endpoint/.workit-scratch
49
+ SCRATCH: ~/.local/state/workit/scratch/app/usage-endpoint
50
50
  FORBIDDEN: no edits outside SCOPE; no schema migration; no new packages
51
51
  FAN-IN: one PR per slice. Never rebase, retarget, merge or force-push: the lead owns topology.
52
52
  REPORT: as in the template
package/dist/plugin.js CHANGED
@@ -11578,6 +11578,22 @@ var retryTransient = (run) => {
11578
11578
  };
11579
11579
  var renameWithRetry = (from, to) => retryTransient(() => fs9.renameSync(from, to));
11580
11580
 
11581
+ // packages/workit-core/src/core/checkout-leftovers.ts
11582
+ var CHECKOUT_LEFTOVERS = [
11583
+ "workspace.json",
11584
+ "index.json",
11585
+ "tasks",
11586
+ "recovery",
11587
+ "metadata.lock",
11588
+ "store.moved.json",
11589
+ "task-index.json",
11590
+ "checkouts",
11591
+ "blobs",
11592
+ "legacy",
11593
+ "ledger",
11594
+ "keys"
11595
+ ];
11596
+
11581
11597
  // packages/workit-core/src/store/patch.ts
11582
11598
  var isPlainObject2 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
11583
11599
  var equal = (left, right) => {
@@ -13448,20 +13464,6 @@ var COMPACT_ABOVE = 200;
13448
13464
  var COMPACT_KEEP = 50;
13449
13465
  var AUTO_COMPACT_BYTES = 2 * 1024 * 1024;
13450
13466
  var STALE_TEMPORARY_MS = 60 * 60000;
13451
- var CHECKOUT_LEFTOVERS = [
13452
- "workspace.json",
13453
- "index.json",
13454
- "tasks",
13455
- "recovery",
13456
- "metadata.lock",
13457
- "store.moved.json",
13458
- "task-index.json",
13459
- "checkouts",
13460
- "blobs",
13461
- "legacy",
13462
- "ledger",
13463
- "keys"
13464
- ];
13465
13467
  var GENERATED_GITIGNORES = new Set([`*
13466
13468
  `, `*
13467
13469
  !risk-paths
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workit-dev/opencode",
3
- "version": "1.12.0",
3
+ "version": "1.13.0",
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.0.18",
44
- "@workit-dev/core": "^1.12.0"
44
+ "@workit-dev/core": "^1.13.0"
45
45
  },
46
46
  "engines": {
47
47
  "node": ">=24"