opencode-swarm 7.152.1 → 7.153.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 (87) hide show
  1. package/.opencode/skills/swarm-pr-review/SKILL.md +10 -10
  2. package/dist/cli/{capability-probe-va4kk8vg.js → capability-probe-5wa7mcp6.js} +3 -2
  3. package/dist/cli/{config-doctor-bbqmye7a.js → config-doctor-7s7xga6f.js} +3 -3
  4. package/dist/cli/{core-fh4e6ex0.js → core-vkpy14vv.js} +2 -2
  5. package/dist/cli/{curation-policy-nem98yc9.js → curation-policy-xy7tm4ad.js} +4 -4
  6. package/dist/cli/{curator-909s9dvs.js → curator-6freqnhf.js} +25 -26
  7. package/dist/cli/{curator-llm-factory-462rysph.js → curator-llm-factory-q5cjk7mt.js} +25 -26
  8. package/dist/cli/{evidence-summary-service-kqw4y0yr.js → evidence-summary-service-engtgjww.js} +11 -11
  9. package/dist/cli/{gate-evidence-ycts62pj.js → gate-evidence-6bzzz8kq.js} +5 -5
  10. package/dist/cli/{guardrail-explain-7620hasq.js → guardrail-explain-vsck39dh.js} +26 -27
  11. package/dist/cli/{guardrail-log-e1tmdxxa.js → guardrail-log-0dn8m3k6.js} +4 -4
  12. package/dist/cli/{guardrail-reset-gdnaxxvb.js → guardrail-reset-6e2vyfn9.js} +25 -26
  13. package/dist/cli/{hive-promoter-d0xydg6r.js → hive-promoter-021abs6z.js} +25 -26
  14. package/dist/cli/{index-mken64yj.js → index-0n7nm9e8.js} +1 -1
  15. package/dist/cli/{index-pvrap7xg.js → index-1yfpw7w0.js} +1 -1
  16. package/dist/cli/{index-2e1294d1.js → index-3z2f1cy8.js} +16 -10
  17. package/dist/cli/{index-n0vc5b5t.js → index-3z5jtyan.js} +14 -6
  18. package/dist/cli/{index-85gkedsf.js → index-4fwbbad3.js} +521 -15
  19. package/dist/cli/{index-nd8tkb3g.js → index-4gn111h3.js} +5 -5
  20. package/dist/cli/{index-rq6aetkv.js → index-5w915x8b.js} +4 -4
  21. package/dist/cli/{index-q77e475x.js → index-5x67858f.js} +3 -3
  22. package/dist/cli/{index-k3d919yf.js → index-6v77adf7.js} +84 -23
  23. package/dist/cli/{index-0tfgn5x0.js → index-77xy577c.js} +6 -6
  24. package/dist/cli/{index-02ajc6d1.js → index-7q56f3se.js} +2 -2
  25. package/dist/cli/{index-xyfdmrv7.js → index-80ekaf5b.js} +1 -1
  26. package/dist/cli/{index-sg2sx2q7.js → index-95qra69h.js} +3826 -2018
  27. package/dist/cli/{index-73pmnsjg.js → index-9gjbe4e4.js} +1 -1
  28. package/dist/cli/{index-z8s2asdk.js → index-9vdh4kdx.js} +22 -150
  29. package/dist/cli/{index-z9fyd0d6.js → index-babtfqa0.js} +2 -2
  30. package/dist/cli/{index-4tvvh7pn.js → index-dh1gk5c5.js} +29 -28
  31. package/dist/cli/{index-3djxegsc.js → index-e2hs0bh7.js} +1 -1
  32. package/dist/cli/{index-qqrdmaxq.js → index-eajfs7v4.js} +2 -2
  33. package/dist/cli/{index-26vyr198.js → index-eqh3t8eh.js} +6 -6
  34. package/dist/cli/{index-29vd7v3e.js → index-g0m6kypc.js} +1 -1
  35. package/dist/cli/{index-96m8ckpq.js → index-hexhzq5j.js} +4 -4
  36. package/dist/cli/{index-ryecg2st.js → index-hkmgzesw.js} +3 -3
  37. package/dist/cli/{index-x6803sxh.js → index-hw49515c.js} +2 -2
  38. package/dist/cli/{index-7fh82sm1.js → index-k2ydsqs7.js} +2 -2
  39. package/dist/cli/{index-cpg98bh1.js → index-myt57pht.js} +1 -1
  40. package/dist/cli/{index-79g6edht.js → index-qgfnd206.js} +1 -1
  41. package/dist/cli/{index-44xdtqz8.js → index-x6zy6veh.js} +1 -1
  42. package/dist/cli/{index-dn6yt0xg.js → index-xv881ahz.js} +5 -5
  43. package/dist/cli/index.js +25 -26
  44. package/dist/cli/{knowledge-escalator-4egcr928.js → knowledge-escalator-79zbhpz5.js} +10 -10
  45. package/dist/cli/{knowledge-events-kdyv4jzn.js → knowledge-events-79cak7eb.js} +8 -8
  46. package/dist/cli/{knowledge-link-h8cwj7af.js → knowledge-link-40zsr5ja.js} +3 -3
  47. package/dist/cli/{knowledge-store-dq3cvg53.js → knowledge-store-w29aw5w0.js} +4 -4
  48. package/dist/cli/{knowledge-validator-4bhtden9.js → knowledge-validator-qsecnt2d.js} +6 -6
  49. package/dist/cli/{model-preflight-7ea00h34.js → model-preflight-b95w8wxy.js} +1 -1
  50. package/dist/cli/{runner-w81n9js3.js → runner-fbgsxs74.js} +4 -4
  51. package/dist/cli/{scan-cursor-2eezv81a.js → scan-cursor-1r3pcdqp.js} +5 -5
  52. package/dist/cli/{schema-v4qcqhek.js → schema-19qsv6fw.js} +2 -2
  53. package/dist/cli/{scope-persistence-y2r227r0.js → scope-persistence-ypcrvqtt.js} +6 -6
  54. package/dist/cli/{skill-generator-hhzxvb3h.js → skill-generator-wpp9kpa0.js} +12 -12
  55. package/dist/cli/{worktree-isolation-ve338ez6.js → worktree-isolation-wcry8qnn.js} +25 -26
  56. package/dist/commands/approve-write.d.ts +1 -0
  57. package/dist/commands/index.d.ts +1 -0
  58. package/dist/commands/registry.d.ts +7 -0
  59. package/dist/config/schema.d.ts +39 -4
  60. package/dist/consensus/contracts.d.ts +14 -0
  61. package/dist/hooks/full-auto-permission.d.ts +7 -0
  62. package/dist/hooks/guardrails/index.d.ts +2 -1
  63. package/dist/hooks/guardrails/tool-before.d.ts +4 -0
  64. package/dist/hooks/pr-workflow-gate.d.ts +12 -0
  65. package/dist/hooks/scope-guard.d.ts +1 -3
  66. package/dist/index.js +624 -606
  67. package/dist/learning/provenance.d.ts +9 -0
  68. package/dist/sandbox/capability-probe.d.ts +40 -1
  69. package/dist/sandbox/executor.d.ts +26 -1
  70. package/dist/sandbox/linux/bubblewrap-executor.d.ts +3 -1
  71. package/dist/sandbox/macos/sandbox-exec-executor.d.ts +3 -1
  72. package/dist/sandbox/skip-state.d.ts +24 -0
  73. package/dist/sandbox/win32/native-sandbox-executor.d.ts +5 -1
  74. package/dist/security/command-classifier.d.ts +22 -0
  75. package/dist/security/protected-input-integrity.d.ts +19 -0
  76. package/dist/security/protected-path-policy.d.ts +9 -0
  77. package/dist/security/write-authority.d.ts +46 -0
  78. package/dist/services/diagnose-service.d.ts +1 -1
  79. package/dist/services/skill-generator.d.ts +2 -0
  80. package/dist/services/skill-improver.d.ts +69 -0
  81. package/dist/tools/dispatch-lanes.d.ts +47 -0
  82. package/dist/tools/repo-graph/query.d.ts +2 -1
  83. package/dist/tools/repo-graph/types.d.ts +64 -0
  84. package/dist/tools/repo-graph.d.ts +1 -1
  85. package/dist/tools/skill-improve.d.ts +7 -0
  86. package/package.json +1 -1
  87. package/dist/cli/index-3g0xk6tk.js +0 -219
@@ -784,6 +784,8 @@ export declare class PrReviewResilienceRetryExhaustedError extends Error {
784
784
  readonly code: "PR_REVIEW_RESILIENCE_RETRY_EXHAUSTED";
785
785
  constructor(message: string);
786
786
  }
787
+ declare function snapshotPrReviewResiliencePolicy(policy?: PrReviewResilienceConfig): PrReviewResiliencePolicyRecord;
788
+ declare function effectivePrReviewResiliencePolicy(state: PrWorkflowGateState, requestedPolicy?: PrReviewResilienceConfig): PrReviewResiliencePolicyRecord;
787
789
  declare function classifyTerminalFailureSignature(record: BackgroundDelegationRecord): string | null;
788
790
  interface EnforcePrReviewBaseDimensionsOptions {
789
791
  batchId: string;
@@ -969,6 +971,16 @@ export declare const _test_exports: {
969
971
  * shortening the threshold, not by waiting minutes.
970
972
  */
971
973
  pendingLaneLivenessThresholdMs: number;
974
+ /**
975
+ * Issue #2381: exposed so the staged-resilience DEFAULT can be pinned
976
+ * directly. This resolution path is reached whenever a gate state carries no
977
+ * recorded policy and no policy is supplied, and it previously hardcoded
978
+ * `enabled: true`; the default flip is only real if this agrees with
979
+ * `DEFAULT_PR_REVIEW_RESILIENCE_CONFIG`. Pure functions of their arguments,
980
+ * so `_test_exports` is the right seam (no `mock.module` needed).
981
+ */
982
+ effectivePrReviewResiliencePolicy: typeof effectivePrReviewResiliencePolicy;
983
+ snapshotPrReviewResiliencePolicy: typeof snapshotPrReviewResiliencePolicy;
972
984
  resolveCurrentGitHead: typeof resolveCurrentGitHead;
973
985
  resolveCurrentGitHeadAsync: typeof resolveCurrentGitHeadAsync;
974
986
  resolveCurrentUpstreamPushTarget: typeof resolveCurrentUpstreamPushTarget;
@@ -19,12 +19,10 @@ import { resolveWriteTargets } from './write-target-resolver';
19
19
  export interface ScopeGuardConfig {
20
20
  /** Whether scope guard is enabled (default: true) */
21
21
  enabled: boolean;
22
- /** Whether to skip in turbo mode (default: false — NOT skippable by design) */
23
- skip_in_turbo: boolean;
24
22
  }
25
23
  /**
26
24
  * Creates the scope-guard hook that blocks out-of-scope writes.
27
- * @param config - ScopeGuardConfig (enabled, skip_in_turbo)
25
+ * @param config - ScopeGuardConfig. Scope enforcement is never skipped in Turbo.
28
26
  * @param fallbackDirectory - The plugin-root directory (`ctx.directory`). Used
29
27
  * ONLY as the fallback for sessions with no recorded workspace root. Issue
30
28
  * #2002: this hook is constructed once per plugin instance and serves every