opencode-swarm 7.155.0 → 7.157.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.
Files changed (91) hide show
  1. package/dist/background/workspace-snapshot.d.ts +28 -0
  2. package/dist/cli/{coder-settlement-2kdtysrg.js → coder-settlement-dz2x352d.js} +9 -9
  3. package/dist/cli/{config-doctor-s6p9aqfv.js → config-doctor-4jxf9w9e.js} +3 -3
  4. package/dist/cli/{core-ev2ebc4v.js → core-xf2f087t.js} +2 -2
  5. package/dist/cli/{curation-policy-jabphe51.js → curation-policy-72qx868r.js} +4 -4
  6. package/dist/cli/{curator-llm-factory-kd8v16jj.js → curator-llm-factory-7mfvey3x.js} +31 -31
  7. package/dist/cli/{curator-adp0dsv4.js → curator-pjjw3ja4.js} +31 -31
  8. package/dist/cli/{dispatch-w0rzasz3.js → dispatch-7r46tfr9.js} +10 -8
  9. package/dist/cli/{evidence-summary-service-kpjpd86j.js → evidence-summary-service-5ffkbs50.js} +12 -12
  10. package/dist/cli/{gate-evidence-etbcms2v.js → gate-evidence-ne9rbdtb.js} +5 -5
  11. package/dist/cli/guardrail-explain-b9vr4ta3.js +67 -0
  12. package/dist/cli/{guardrail-log-614g1pta.js → guardrail-log-hrt36jz5.js} +5 -5
  13. package/dist/cli/{guardrail-reset-0wdj53cp.js → guardrail-reset-pggm9hx4.js} +31 -31
  14. package/dist/cli/{hashing-mjwn6j4y.js → hashing-r4hbav6j.js} +1 -1
  15. package/dist/cli/{hive-promoter-b1wv52fs.js → hive-promoter-7vxm11sm.js} +31 -31
  16. package/dist/cli/{index-caqe8x14.js → index-12e2hztp.js} +1 -1
  17. package/dist/cli/{index-rb4t72we.js → index-1dzy1j4v.js} +2 -2
  18. package/dist/cli/{index-79qymsxf.js → index-2e60kmzg.js} +1 -1
  19. package/dist/cli/{index-vnn7qq8c.js → index-3f7hqtgg.js} +62 -1
  20. package/dist/cli/{index-qzqpq75z.js → index-3qpr16k2.js} +52 -33
  21. package/dist/cli/{index-qj9jrjvr.js → index-3vqdt1sx.js} +5 -5
  22. package/dist/cli/{index-c590qxts.js → index-4kd1nqd2.js} +8 -3
  23. package/dist/cli/{index-34wn2ztk.js → index-4w20thrc.js} +22 -4
  24. package/dist/cli/{index-26cvxrym.js → index-61nkp124.js} +2 -2
  25. package/dist/cli/{index-6bqqzfbe.js → index-6sbx96v6.js} +2 -2
  26. package/dist/cli/{index-zvp68qx6.js → index-79k7p589.js} +1 -1
  27. package/dist/cli/{index-ketfp4rv.js → index-8n602qc2.js} +4 -4
  28. package/dist/cli/{index-fjcm6wwf.js → index-91ybfvy2.js} +1 -1
  29. package/dist/cli/{index-wwv3cbv1.js → index-93ymj3j5.js} +5 -5
  30. package/dist/cli/{index-myt57pht.js → index-9r7gp6cp.js} +5 -1
  31. package/dist/cli/{index-85p1850w.js → index-b5xm177r.js} +1 -1
  32. package/dist/cli/{index-0q8kywcf.js → index-dwkrdpz2.js} +1 -1
  33. package/dist/cli/{index-veajr5x7.js → index-ebratyzr.js} +1 -1
  34. package/dist/cli/{index-kgdbtwfm.js → index-g0j2hnse.js} +5 -5
  35. package/dist/cli/{index-2gfe61qp.js → index-gk6wpq41.js} +5259 -1394
  36. package/dist/cli/{index-aqg7c1z9.js → index-gpf3cjre.js} +1 -1
  37. package/dist/cli/{index-ctsct3hy.js → index-j3egsxa1.js} +6 -6
  38. package/dist/cli/{index-xn23xnnk.js → index-n6ayyadp.js} +4 -4
  39. package/dist/cli/{index-t3xqpece.js → index-n7gv8m7v.js} +4 -4
  40. package/dist/cli/{index-mm7ase9k.js → index-nd22bsnt.js} +6 -2
  41. package/dist/cli/{index-c9nabqzd.js → index-ngn6jmad.js} +2 -2
  42. package/dist/cli/{index-xdy28ngt.js → index-nwkr6tvv.js} +17 -1
  43. package/dist/cli/{index-spbxf9vn.js → index-p0by16z8.js} +2 -2
  44. package/dist/cli/{index-dw2q720x.js → index-q94gt4n9.js} +3 -3
  45. package/dist/cli/{index-kyc2c7hq.js → index-t0kxka8n.js} +2 -2
  46. package/dist/cli/{index-e90g4dsw.js → index-tvtvhjh0.js} +4 -4
  47. package/dist/cli/{index-y8552snf.js → index-txdagbh7.js} +6 -1
  48. package/dist/cli/{index-egnpzfe3.js → index-vbqssmbs.js} +6 -6
  49. package/dist/cli/{index-ew6fykvv.js → index-xe6zbfps.js} +1 -1
  50. package/dist/cli/{index-x9tbe9v7.js → index-zq7pw6qg.js} +2 -2
  51. package/dist/cli/index.js +31 -31
  52. package/dist/cli/{knowledge-escalator-z09aqvfe.js → knowledge-escalator-d65mctqy.js} +10 -10
  53. package/dist/cli/{knowledge-events-03f1rwm8.js → knowledge-events-6aet71sp.js} +8 -8
  54. package/dist/cli/{knowledge-link-4frk38w8.js → knowledge-link-z9cchqdj.js} +3 -3
  55. package/dist/cli/{knowledge-store-sn28k13f.js → knowledge-store-vvgxbakx.js} +4 -4
  56. package/dist/cli/{knowledge-validator-rwrt3yja.js → knowledge-validator-4fb6pbpn.js} +6 -6
  57. package/dist/cli/{model-preflight-b95w8wxy.js → model-preflight-cv9kvw8h.js} +1 -1
  58. package/dist/cli/{pending-delegations-qe16vfrj.js → pending-delegations-f52jtanf.js} +1 -1
  59. package/dist/cli/{pr-subscriptions-00evnffe.js → pr-subscriptions-76vg2xya.js} +2 -2
  60. package/dist/cli/{runner-k1rkbjm8.js → runner-eagt6gf8.js} +5 -5
  61. package/dist/cli/{scan-cursor-h3mfzjc9.js → scan-cursor-q3530gc8.js} +5 -5
  62. package/dist/cli/{schema-c37h5xw4.js → schema-5zc62306.js} +6 -2
  63. package/dist/cli/{scope-persistence-35z42pj5.js → scope-persistence-fzqf115q.js} +7 -7
  64. package/dist/cli/{skill-generator-60px2mvb.js → skill-generator-kh1z90tm.js} +12 -12
  65. package/dist/cli/{workspace-snapshot-8269e1p9.js → workspace-snapshot-yq0tc49d.js} +9 -1
  66. package/dist/cli/{worktree-collision-ownership-2pc20ypq.js → worktree-collision-ownership-2qxjtxt6.js} +3 -3
  67. package/dist/cli/{worktree-isolation-w4yamc3b.js → worktree-isolation-40v34p0s.js} +31 -31
  68. package/dist/commands/command-dispatch.d.ts +2 -1
  69. package/dist/commands/harness.d.ts +14 -0
  70. package/dist/commands/index.d.ts +3 -1
  71. package/dist/commands/registry.d.ts +115 -2
  72. package/dist/config/schema.d.ts +34 -0
  73. package/dist/harness/contracts.d.ts +492 -0
  74. package/dist/harness/factory.d.ts +72 -0
  75. package/dist/harness/hash.d.ts +4 -0
  76. package/dist/harness/index.d.ts +6 -0
  77. package/dist/harness/patch.d.ts +3 -0
  78. package/dist/harness/public-api.d.ts +105 -0
  79. package/dist/harness/source-candidate.d.ts +45 -0
  80. package/dist/harness/store.d.ts +256 -0
  81. package/dist/hooks/pr-workflow-gate.d.ts +291 -3
  82. package/dist/index.d.ts +2 -0
  83. package/dist/index.js +320 -296
  84. package/dist/lang/manifest-files.d.ts +25 -0
  85. package/dist/security/write-authority.d.ts +2 -1
  86. package/dist/tools/index.d.ts +1 -0
  87. package/dist/tools/invalidate-pr-feedback-publication.d.ts +20 -0
  88. package/dist/tools/manifest.d.ts +1 -0
  89. package/dist/tools/tool-metadata.d.ts +4 -0
  90. package/package.json +1 -1
  91. package/dist/cli/guardrail-explain-wqb5h7kk.js +0 -67
@@ -3,7 +3,7 @@ import {
3
3
  EvaluationRunV1Schema,
4
4
  GateAuditResultV1Schema,
5
5
  getProtectedEvaluationRunIds
6
- } from "./index-c9nabqzd.js";
6
+ } from "./index-ngn6jmad.js";
7
7
  import {
8
8
  loadDatabaseCtor
9
9
  } from "./index-134d35c1.js";
@@ -23,7 +23,7 @@ import {
23
23
  readTaskEvidence,
24
24
  readTaskEvidenceRaw,
25
25
  sanitizeTaskId
26
- } from "./index-26cvxrym.js";
26
+ } from "./index-61nkp124.js";
27
27
  import {
28
28
  LedgerStaleWriterError,
29
29
  appendLedgerEvent,
@@ -43,10 +43,10 @@ import {
43
43
  replayFromLedgerWithStatus,
44
44
  takeSnapshotEvent,
45
45
  takeSnapshotWithRetry
46
- } from "./index-zvp68qx6.js";
46
+ } from "./index-79k7p589.js";
47
47
  import {
48
48
  appendCoreEventSync
49
- } from "./index-xdy28ngt.js";
49
+ } from "./index-nwkr6tvv.js";
50
50
  import {
51
51
  init_executor,
52
52
  isUntrustedEnvKey,
@@ -70,7 +70,7 @@ import {
70
70
  } from "./index-r3mvsbtq.js";
71
71
  import {
72
72
  PlanSchema
73
- } from "./index-79qymsxf.js";
73
+ } from "./index-2e60kmzg.js";
74
74
  import {
75
75
  GIT_BINARY_ENV_VAR,
76
76
  describeGitResolution,
@@ -246,6 +246,10 @@ var init_tool_metadata = __esm(() => {
246
246
  description: "prepare an auditable PR workflow checkout or restore its exact original branch/HEAD and preserved stash after terminal cleanup",
247
247
  agents: ["architect"]
248
248
  },
249
+ invalidate_pr_feedback_publication: {
250
+ description: "invalidate the armed PR_FEEDBACK publication generation so approved content can change, superseding every content-dependent approval and reopening the exact scoped rework + fresh-review path (issue #2108)",
251
+ agents: ["architect"]
252
+ },
249
253
  record_implementation_review: {
250
254
  description: "record fresh-context reviewer + critic APPROVE verdicts for the implementation diff so the /swarm issue --trace workflow can satisfy its review gate before commit-pr handoff",
251
255
  agents: ["architect"]
@@ -613,7 +617,7 @@ var init_tool_metadata = __esm(() => {
613
617
  }
614
618
  },
615
619
  pr_workflow_status: {
616
- description: "Read-only architect observation of local git state (HEAD, branch, clean/dirty with a bounded changed-file list, remotes) plus a session-pinned PR workflow gate summary. Use to observe state under the fail-closed PR_REVIEW/PR_FEEDBACK gate. Never executes PR-controlled scripts and never reads another session gate.",
620
+ description: "Read-only architect observation of local git state (HEAD, branch, clean/dirty with a bounded changed-file list, remotes) plus a session-pinned PR workflow gate summary and the PR_FEEDBACK publication-generation section (state, attempts, invalidation reason, recovery guidance). Use to observe state under the fail-closed PR_REVIEW/PR_FEEDBACK gate. Never executes PR-controlled scripts and never reads another session gate.",
617
621
  agents: ["architect"],
618
622
  prWorkflow: {
619
623
  modes: ["PR_REVIEW", "PR_FEEDBACK"],
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  atomicWriteFile
4
- } from "./index-ew6fykvv.js";
4
+ } from "./index-xe6zbfps.js";
5
5
  import {
6
6
  init_logger,
7
7
  warn
@@ -4,7 +4,7 @@ import {
4
4
  } from "./index-dtn0pne5.js";
5
5
  import {
6
6
  atomicWriteSwarmFileSync
7
- } from "./index-6bqqzfbe.js";
7
+ } from "./index-6sbx96v6.js";
8
8
 
9
9
  // src/hooks/delegation-gate/worktree-provisioning-owner.ts
10
10
  import { createHash } from "crypto";
@@ -4,7 +4,7 @@ import {
4
4
  readShellAuditTail,
5
5
  redactPath,
6
6
  redactShellCommand
7
- } from "./index-c590qxts.js";
7
+ } from "./index-4kd1nqd2.js";
8
8
 
9
9
  // src/services/guardrail-log-service.ts
10
10
  var BLOCK_TYPES = new Set([
@@ -6,12 +6,12 @@ import {
6
6
  resolveSwarmKnowledgePath,
7
7
  transactKnowledge,
8
8
  wordBigrams
9
- } from "./index-ctsct3hy.js";
9
+ } from "./index-j3egsxa1.js";
10
10
  import {
11
11
  queryHistoricalOutcomes,
12
12
  readKnowledgeEvents,
13
13
  recordKnowledgeEvent
14
- } from "./index-qj9jrjvr.js";
14
+ } from "./index-3vqdt1sx.js";
15
15
  import {
16
16
  init_knowledge_types,
17
17
  isActiveStatus
@@ -224,11 +224,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
224
224
  alreadyInactive: true
225
225
  };
226
226
  }
227
- const { quarantineEntry } = await import("./knowledge-validator-rwrt3yja.js");
227
+ const { quarantineEntry } = await import("./knowledge-validator-4fb6pbpn.js");
228
228
  let policyConfig;
229
229
  try {
230
- const { KnowledgeConfigSchema } = await import("./schema-c37h5xw4.js");
231
- const { loadPluginConfigWithMeta } = await import("./index-ketfp4rv.js");
230
+ const { KnowledgeConfigSchema } = await import("./schema-5zc62306.js");
231
+ const { loadPluginConfigWithMeta } = await import("./index-8n602qc2.js");
232
232
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
233
233
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
234
234
  } catch {