opencode-swarm 7.133.0 → 7.134.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 (77) hide show
  1. package/dist/background/completion-observer.d.ts +17 -7
  2. package/dist/background/pending-delegations.d.ts +305 -30
  3. package/dist/cli/{config-doctor-8nbdwnn6.js → config-doctor-t5r92674.js} +3 -3
  4. package/dist/cli/{core-egwpry19.js → core-d6yd2jzv.js} +3 -3
  5. package/dist/cli/{curation-policy-gae3xm5d.js → curation-policy-3smfn2a3.js} +7 -7
  6. package/dist/cli/{curator-drift-ea0p8nh1.js → curator-drift-tsyyf4b4.js} +6 -6
  7. package/dist/cli/{curator-e88bm4mg.js → curator-hva8f3nf.js} +31 -28
  8. package/dist/cli/{curator-llm-factory-1a7esr69.js → curator-llm-factory-p3aqev12.js} +31 -28
  9. package/dist/cli/{dispatch-3mhgqj2x.js → dispatch-gxbeb2ps.js} +2 -2
  10. package/dist/cli/{evidence-summary-service-nhsmsap8.js → evidence-summary-service-mrzsjpg4.js} +13 -12
  11. package/dist/cli/{gate-evidence-cy2te3x8.js → gate-evidence-b5v1xvxp.js} +4 -4
  12. package/dist/cli/guardrail-explain-k8mcvk61.js +57 -0
  13. package/dist/cli/{guardrail-log-fjgyx76r.js → guardrail-log-absma1rv.js} +5 -5
  14. package/dist/cli/{hive-promoter-2b04e0wh.js → hive-promoter-jwd51gzk.js} +31 -28
  15. package/dist/cli/{index-g4mnf3p5.js → index-1j3682j8.js} +5 -5
  16. package/dist/cli/{index-7ftthvqt.js → index-2njes601.js} +8 -8
  17. package/dist/cli/{index-17zjp67y.js → index-2t1n9k7b.js} +4 -4
  18. package/dist/cli/{index-mwqfyjja.js → index-3dtjhr26.js} +48538 -48840
  19. package/dist/cli/{index-2tn5h2zp.js → index-4p02dp92.js} +6 -6
  20. package/dist/cli/index-b4z7s917.js +80 -0
  21. package/dist/cli/{index-wzb4dv5s.js → index-b5ek2cge.js} +4 -4
  22. package/dist/cli/index-b8zgtz81.js +123 -0
  23. package/dist/cli/{index-j5pnah1w.js → index-baawkm48.js} +12 -12
  24. package/dist/cli/{index-sp7tm8t7.js → index-c3e0ymrg.js} +1 -1
  25. package/dist/cli/{index-q27bajqb.js → index-cfkvc5q9.js} +3 -3
  26. package/dist/cli/{index-7mkpsw6g.js → index-dd7ttx8x.js} +1 -1
  27. package/dist/cli/{index-bz08438z.js → index-dgxgvzab.js} +7 -7
  28. package/dist/cli/{index-mhcge2ry.js → index-eedq2y40.js} +33 -30
  29. package/dist/cli/{index-tj2mkfb3.js → index-g87ty4wp.js} +1 -1
  30. package/dist/cli/{index-mmvaf4t6.js → index-hgh01f6h.js} +25 -3
  31. package/dist/cli/{index-0vd91yb8.js → index-j6ywarjp.js} +3 -3
  32. package/dist/cli/{index-cpest8sa.js → index-jpkxjmfw.js} +5 -5
  33. package/dist/cli/{index-r260ybay.js → index-k742ecbm.js} +178 -222
  34. package/dist/cli/{index-hfpw5m0e.js → index-kapharv7.js} +3 -3
  35. package/dist/cli/{index-66zght9d.js → index-m2s0gbzt.js} +2 -2
  36. package/dist/cli/{index-74tptrss.js → index-p8hezdtz.js} +1 -1
  37. package/dist/cli/{index-sw82jvf2.js → index-rkyhv4p5.js} +2 -2
  38. package/dist/cli/{index-3x761jqv.js → index-wk1h5ec2.js} +1 -1
  39. package/dist/cli/{index-kc1m6vpr.js → index-xfejq1p9.js} +2 -2
  40. package/dist/cli/{index-wz36r0fk.js → index-y0kk3rtv.js} +2 -2
  41. package/dist/cli/index-y3v1404y.js +1625 -0
  42. package/dist/cli/index.js +31 -28
  43. package/dist/cli/{knowledge-escalator-hzkw1ban.js → knowledge-escalator-mkdac2m7.js} +8 -8
  44. package/dist/cli/{knowledge-events-pbycdhqd.js → knowledge-events-jjc9qbe0.js} +6 -6
  45. package/dist/cli/{knowledge-link-4yd2z8ev.js → knowledge-link-nc4y2zkq.js} +5 -5
  46. package/dist/cli/{knowledge-store-45jawb2p.js → knowledge-store-9e0w1kxm.js} +6 -6
  47. package/dist/cli/{knowledge-validator-ge576f8n.js → knowledge-validator-h1nrn2pk.js} +9 -9
  48. package/dist/cli/pending-delegations-v9e40hfk.js +96 -0
  49. package/dist/cli/{pr-subscriptions-zqbmctwz.js → pr-subscriptions-ztq40hrt.js} +7 -7
  50. package/dist/cli/{scan-cursor-kvw872be.js → scan-cursor-mk3tq3sf.js} +7 -7
  51. package/dist/cli/{schema-a2zm2m3r.js → schema-bjb0yzsq.js} +2 -2
  52. package/dist/cli/{scope-persistence-5qypzxxm.js → scope-persistence-hz3zmmsv.js} +5 -5
  53. package/dist/cli/{skill-generator-ch79hvxh.js → skill-generator-p1de0wkr.js} +10 -10
  54. package/dist/cli/worktree-collision-ownership-c4bdnjtx.js +221 -0
  55. package/dist/evaluation/contracts.d.ts +1 -1
  56. package/dist/evaluation/public-api.d.ts +1 -1
  57. package/dist/hooks/delegation-gate/worktree-collision-ownership.d.ts +28 -0
  58. package/dist/hooks/delegation-gate/worktree-isolation.d.ts +63 -1
  59. package/dist/hooks/delegation-gate/worktree-merge-status.d.ts +14 -0
  60. package/dist/hooks/delegation-gate/worktree-ownership-tag.d.ts +19 -0
  61. package/dist/hooks/delegation-gate/worktree-provisioning-owner.d.ts +30 -0
  62. package/dist/hooks/delegation-gate.d.ts +14 -5
  63. package/dist/hooks/index.d.ts +1 -1
  64. package/dist/hooks/init-orphan-recovery.d.ts +17 -0
  65. package/dist/index.js +476 -470
  66. package/dist/memory/schema.d.ts +4 -4
  67. package/dist/session/snapshot-writer.d.ts +2 -0
  68. package/dist/state.d.ts +43 -1
  69. package/dist/tools/dispatch-lanes.d.ts +1 -1
  70. package/dist/tools/epic-record-divergence.d.ts +5 -5
  71. package/dist/worktree/merge.d.ts +47 -1
  72. package/package.json +1 -1
  73. package/dist/cli/guardrail-explain-zgja2b9m.js +0 -54
  74. package/dist/cli/pending-delegations-kxy8mdqg.js +0 -75
  75. package/dist/cli/{index-9f71ye47.js → index-13xxjfhn.js} +3 -3
  76. package/dist/cli/{index-s80bsjkj.js → index-2ghkk9ve.js} +6 -6
  77. package/dist/cli/{index-76kvm9z5.js → index-5nybajn9.js} +3 -3
@@ -3,8 +3,8 @@ import type { CuratorMemoryDecision, MemoryKind, MemoryPatch, MemoryProposal, Me
3
3
  export declare const MemoryScopeTypeSchema: z.ZodEnum<{
4
4
  agent: "agent";
5
5
  project: "project";
6
- global_user: "global_user";
7
6
  workspace: "workspace";
7
+ global_user: "global_user";
8
8
  repository: "repository";
9
9
  run: "run";
10
10
  cohort: "cohort";
@@ -13,8 +13,8 @@ export declare const MemoryScopeRefSchema: z.ZodObject<{
13
13
  type: z.ZodEnum<{
14
14
  agent: "agent";
15
15
  project: "project";
16
- global_user: "global_user";
17
16
  workspace: "workspace";
17
+ global_user: "global_user";
18
18
  repository: "repository";
19
19
  run: "run";
20
20
  cohort: "cohort";
@@ -66,8 +66,8 @@ export declare const MemoryRecordSchema: z.ZodObject<{
66
66
  type: z.ZodEnum<{
67
67
  agent: "agent";
68
68
  project: "project";
69
- global_user: "global_user";
70
69
  workspace: "workspace";
70
+ global_user: "global_user";
71
71
  repository: "repository";
72
72
  run: "run";
73
73
  cohort: "cohort";
@@ -154,8 +154,8 @@ export declare const MemoryProposalSchema: z.ZodObject<{
154
154
  type: z.ZodEnum<{
155
155
  agent: "agent";
156
156
  project: "project";
157
- global_user: "global_user";
158
157
  workspace: "workspace";
158
+ global_user: "global_user";
159
159
  repository: "repository";
160
160
  run: "run";
161
161
  cohort: "cohort";
@@ -43,6 +43,8 @@ export interface SerializedAgentSession {
43
43
  qaSkipTaskIds: string[];
44
44
  pendingAdvisoryMessages: string[];
45
45
  taskWorkflowStates?: Record<string, string>;
46
+ /** Task-keyed coder file attribution. Optional for backward compatibility. */
47
+ modifiedFilesByTask?: Record<string, string[]>;
46
48
  /** Flag for one-shot scope violation warning injection (omitted when undefined for additive-only schema) */
47
49
  scopeViolationDetected?: boolean;
48
50
  /** Current index into the fallback_models array (v6.33) */
package/dist/state.d.ts CHANGED
@@ -64,6 +64,14 @@ export interface PrSubscriptionState {
64
64
  * Transitions must be forward-only: idle → coder_delegated → pre_check_passed → reviewer_run → tests_run → complete
65
65
  */
66
66
  export type TaskWorkflowState = 'idle' | 'coder_delegated' | 'pre_check_passed' | 'reviewer_run' | 'tests_run' | 'complete';
67
+ /**
68
+ * Upper bound for per-session task file-attribution entries.
69
+ *
70
+ * Runtime concurrency is capped well below this value. When the map is full,
71
+ * only workflow-complete entries may be reclaimed; live task attribution is
72
+ * never evicted to make room.
73
+ */
74
+ export declare const MAX_TRACKED_TASK_FILE_ATTRIBUTIONS = 128;
67
75
  /** Exact lifecycle state for one coder generation and its paired reviewer. */
68
76
  export interface ReviewerScopeGeneration {
69
77
  taskId: string;
@@ -218,7 +226,12 @@ export interface AgentSessionState {
218
226
  lastScopeViolation: string | null;
219
227
  /** Flag for one-shot scope violation warning injection in messagesTransform */
220
228
  scopeViolationDetected?: boolean;
221
- /** Files modified by the current coder task (populated by guardrails toolBefore/toolAfter, reset on new coder delegation) */
229
+ /** Task-keyed files modified by coder work. Bounded by MAX_TRACKED_TASK_FILE_ATTRIBUTIONS. */
230
+ modifiedFilesByTask: Map<string, string[]>;
231
+ /**
232
+ * Compatibility projection for callers that still inspect the active task.
233
+ * Helpers in this module keep it synchronized only with `currentTaskId`.
234
+ */
222
235
  modifiedFilesThisCoderTask: string[];
223
236
  /** Bounded coder generations awaiting exact reviewer claims. */
224
237
  reviewerScopeGenerations?: Map<string, ReviewerScopeGeneration>;
@@ -737,6 +750,35 @@ export declare function pruneOldWindows(sessionId: string, maxAgeMs?: number, ma
737
750
  * @param agentName - Agent name to record (will be normalized)
738
751
  */
739
752
  export declare function recordPhaseAgentDispatch(sessionId: string, agentName: string): void;
753
+ /**
754
+ * Atomically replace one task's attributed file list.
755
+ *
756
+ * Returns false without mutation when the task id is invalid or the bounded
757
+ * map has no reclaimable workflow-complete slot.
758
+ */
759
+ export declare function recordModifiedFilesForTask(session: AgentSessionState, taskId: string, files: readonly string[]): boolean;
760
+ /**
761
+ * Add one file to a task's attribution without disturbing its existing files.
762
+ */
763
+ export declare function recordModifiedFileForTask(session: AgentSessionState, taskId: string, file: string): boolean;
764
+ /**
765
+ * Return a defensive copy of the files attributed to one task.
766
+ */
767
+ export declare function getModifiedFilesForTask(session: AgentSessionState, taskId: string): string[];
768
+ /**
769
+ * Reset one task's attribution. `remove` is used at terminal cleanup; the
770
+ * default keeps an empty live-task slot ready for subsequent writes.
771
+ */
772
+ export declare function resetModifiedFilesForTask(session: AgentSessionState, taskId: string, options?: {
773
+ remove?: boolean;
774
+ }): boolean;
775
+ /**
776
+ * Apply task-completion retention rules.
777
+ *
778
+ * Non-Epic sessions release attribution at the workflow-complete boundary.
779
+ * Epic sessions retain it until `epic_record_divergence` consumes the entry.
780
+ */
781
+ export declare function completeModifiedFilesForTask(session: AgentSessionState, taskId: string): void;
740
782
  /**
741
783
  * Advance a task's workflow state. Validates forward-only transitions.
742
784
  * Throws 'INVALID_TASK_STATE_TRANSITION: [taskId] [current] → [requested]' on illegal transition.
@@ -67,7 +67,7 @@ declare function validatePrReviewMicroDispatch(args: DispatchLanesAsyncArgs, dep
67
67
  export type DispatchLanesArgs = z.infer<typeof DispatchLanesArgsSchema>;
68
68
  export type DispatchLanesAsyncArgs = z.infer<typeof DispatchLanesAsyncArgsSchema>;
69
69
  export type CollectLaneResultsArgs = z.infer<typeof CollectLaneResultsArgsSchema>;
70
- export type DispatchLaneStatus = 'pending' | 'completed' | 'failed' | 'rejected' | 'cancelled' | 'stale' | 'consumed';
70
+ export type DispatchLaneStatus = 'pending' | 'completed' | 'failed' | 'rejected' | 'cancelled' | 'stale' | 'ingesting' | 'consumed';
71
71
  export interface DispatchLaneResult {
72
72
  id: string;
73
73
  agent: string;
@@ -6,10 +6,8 @@
6
6
  *
7
7
  * 1. Reads the task's DECLARED scope from `.swarm/scopes/scope-{taskId}.json`
8
8
  * (the same on-disk record `readScopeFromDisk` consults).
9
- * 2. Reads the ACTUAL files the coder modified from the session's
10
- * `modifiedFilesThisCoderTask` populated by the guardrails write hook
11
- * and reset by Lean Turbo at task-boundaries, so it captures THIS
12
- * task's writes only.
9
+ * 2. Reads the ACTUAL files attributed to this exact task by the guardrails
10
+ * write hook and background-completion ingestion.
13
11
  * 3. Appends one record to `.swarm/epic/divergence.jsonl` via
14
12
  * `recordTaskDivergence`. The calibration engine reads that file on the
15
13
  * next `epic_decide_phase` invocation (the architect-facing decide
@@ -28,7 +26,7 @@
28
26
  import type { ToolDefinition } from '@opencode-ai/plugin/tool';
29
27
  import { loadPlanJsonOnly as loadPlanJsonOnly_import } from '../plan/manager.js';
30
28
  import { readScopeFromDisk as readScopeFromDisk_import } from '../scope/scope-persistence.js';
31
- import { getAgentSession as getAgentSession_import, hasActiveEpicMode as hasActiveEpicMode_import } from '../state.js';
29
+ import { getAgentSession as getAgentSession_import, getModifiedFilesForTask as getModifiedFilesForTask_import, hasActiveEpicMode as hasActiveEpicMode_import, resetModifiedFilesForTask as resetModifiedFilesForTask_import } from '../state.js';
32
30
  import { recordTaskDivergence as recordTaskDivergence_import } from '../turbo/epic/divergence-recorder.js';
33
31
  export interface EpicRecordDivergenceArgs {
34
32
  directory: string;
@@ -65,6 +63,8 @@ export interface EpicRecordDivergenceResult {
65
63
  export declare const _internals: {
66
64
  hasActiveEpicMode: typeof hasActiveEpicMode_import;
67
65
  getAgentSession: typeof getAgentSession_import;
66
+ getModifiedFilesForTask: typeof getModifiedFilesForTask_import;
67
+ resetModifiedFilesForTask: typeof resetModifiedFilesForTask_import;
68
68
  readScopeFromDisk: typeof readScopeFromDisk_import;
69
69
  loadPlanJsonOnly: typeof loadPlanJsonOnly_import;
70
70
  recordTaskDivergence: typeof recordTaskDivergence_import;
@@ -65,6 +65,10 @@ export interface DirtyMergeSuccess {
65
65
  strategy: string;
66
66
  autoCommitted: boolean;
67
67
  cleaned: boolean;
68
+ /** True when a resumed operation was already present on the target. */
69
+ reconciled?: boolean;
70
+ /** Durable identity for the Git operation, when settlement tracking is enabled. */
71
+ provenance?: MergeOperationProvenance;
68
72
  }
69
73
  export interface DirtyMergePartial {
70
74
  partial: true;
@@ -73,11 +77,45 @@ export interface DirtyMergePartial {
73
77
  cleaned: boolean;
74
78
  message: string;
75
79
  conflictFiles?: string[];
80
+ provenance?: MergeOperationProvenance;
76
81
  }
77
82
  export interface DirtyMergeFailure {
78
83
  failed: true;
79
84
  stage: string;
80
85
  message: string;
86
+ provenance?: MergeOperationProvenance;
87
+ }
88
+ /**
89
+ * Durable identity for a standard-worktree merge-back operation.
90
+ *
91
+ * `sourceHead` is captured after the lane's dirty state is auto-committed and
92
+ * `targetHeadBefore` immediately before the merge starts. The stable
93
+ * `operationId` is supplied by the durable background-delegation record.
94
+ */
95
+ export interface MergeOperationProvenance {
96
+ operationId: string;
97
+ sourceHead: string;
98
+ targetHeadBefore: string;
99
+ branchName: string;
100
+ strategy: MergeStrategy;
101
+ }
102
+ export type MergeReconciliationResult = {
103
+ landed: true;
104
+ method: 'ancestry' | 'cherry-pick-trailer';
105
+ } | {
106
+ landed: false;
107
+ error?: string;
108
+ };
109
+ export interface DirtyMergeOptions {
110
+ /** Stable identifier allocated before the merge-back begins. */
111
+ operationId?: string;
112
+ /** Previously persisted provenance when resuming a `settling` operation. */
113
+ resume?: MergeOperationProvenance;
114
+ /**
115
+ * Awaited after auto-commit and HEAD capture, but before the Git merge.
116
+ * A rejection fails closed without invoking the merge.
117
+ */
118
+ onBeforeMerge?: (provenance: MergeOperationProvenance) => Promise<void>;
81
119
  }
82
120
  export interface OrphanCleanupResult {
83
121
  removed: string[];
@@ -123,6 +161,14 @@ export declare function getMergeStrategy(config: {
123
161
  * @returns Discriminated union: success, conflict, or failure.
124
162
  */
125
163
  export declare function mergeLaneBranch(primaryDir: string, branchName: string, strategy: MergeStrategy): Promise<MergeSuccess | MergeConflict | MergeFailure>;
164
+ /**
165
+ * Detect whether a previously-started merge-back already landed on the target.
166
+ *
167
+ * Merge and rebase settlement uses ancestry. Cherry-pick settlement uses the
168
+ * exact provenance trailer emitted by Git's `cherry-pick -x`; patch identity or
169
+ * subject matching is intentionally insufficient.
170
+ */
171
+ export declare function reconcileLandedMerge(primaryDir: string, provenance: MergeOperationProvenance): Promise<MergeReconciliationResult>;
126
172
  /**
127
173
  * Cleans up a lane branch after a successful merge.
128
174
  *
@@ -168,7 +214,7 @@ export declare function handleMergeConflict(primaryDir: string, _branchName: str
168
214
  * @param strategy - Merge strategy to use.
169
215
  * @returns Discriminated union: success, partial, or failure.
170
216
  */
171
- export declare function attemptMergeBackFromDirty(worktreePath: string, branchName: string, primaryDir: string, strategy: MergeStrategy): Promise<DirtyMergeSuccess | DirtyMergePartial | DirtyMergeFailure>;
217
+ export declare function attemptMergeBackFromDirty(worktreePath: string, branchName: string, primaryDir: string, strategy: MergeStrategy, options?: DirtyMergeOptions): Promise<DirtyMergeSuccess | DirtyMergePartial | DirtyMergeFailure>;
172
218
  /**
173
219
  * Extracts the session ID from a swarm-lane branch name.
174
220
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.133.0",
3
+ "version": "7.134.0",
4
4
  "description": "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,54 +0,0 @@
1
- // @bun
2
- import {
3
- handleGuardrailExplain
4
- } from "./index-sw82jvf2.js";
5
- import"./index-mwqfyjja.js";
6
- import"./index-mmvaf4t6.js";
7
- import"./index-tj2mkfb3.js";
8
- import"./index-r260ybay.js";
9
- import"./index-4905hd2m.js";
10
- import"./index-134d35c1.js";
11
- import"./index-9f71ye47.js";
12
- import"./index-0vd91yb8.js";
13
- import"./index-cpest8sa.js";
14
- import"./index-66zght9d.js";
15
- import"./index-vxv732ex.js";
16
- import"./index-c8s9a3zh.js";
17
- import"./index-9ss2m4rs.js";
18
- import"./index-g4mnf3p5.js";
19
- import"./index-s80bsjkj.js";
20
- import"./index-7ftthvqt.js";
21
- import"./index-wz36r0fk.js";
22
- import"./index-rtry5xyf.js";
23
- import"./index-j5pnah1w.js";
24
- import"./index-bz08438z.js";
25
- import"./index-ae75rja9.js";
26
- import"./index-q27bajqb.js";
27
- import"./index-kc1m6vpr.js";
28
- import"./index-k5jrywpr.js";
29
- import"./index-n832052r.js";
30
- import"./index-wzb4dv5s.js";
31
- import"./index-bk5tah7q.js";
32
- import"./index-8fwhhayc.js";
33
- import"./index-q1exe2b3.js";
34
- import"./index-74tptrss.js";
35
- import"./index-2tn5h2zp.js";
36
- import"./index-1kz6da87.js";
37
- import"./index-17zjp67y.js";
38
- import"./index-z6xqpmqg.js";
39
- import"./index-4rhhvd1a.js";
40
- import"./index-zjygnfay.js";
41
- import"./index-zgwm4ryv.js";
42
- import"./index-h3k62043.js";
43
- import"./index-3x761jqv.js";
44
- import"./index-7mkpsw6g.js";
45
- import"./index-fsrp8wp3.js";
46
- import"./index-76kvm9z5.js";
47
- import"./index-q2rrv0cy.js";
48
- import"./index-bpmtbmy9.js";
49
- import"./index-7g4c7s5r.js";
50
- import"./index-qe3v54nb.js";
51
- import"./index-a76rekgs.js";
52
- export {
53
- handleGuardrailExplain
54
- };
@@ -1,75 +0,0 @@
1
- // @bun
2
- import {
3
- BACKGROUND_DELEGATIONS_FILE,
4
- BACKGROUND_INGESTION_LEASE_MS,
5
- appendDelegationTransition,
6
- buildPromptSnapshot,
7
- claimDelegationIngestion,
8
- findByBatchId,
9
- findByCorrelationId,
10
- findOpenAsyncLaneBatches,
11
- readDelegations,
12
- recordPendingDelegation,
13
- settleDelegationIngestion,
14
- sweepStaleDelegations
15
- } from "./index-mwqfyjja.js";
16
- import"./index-mmvaf4t6.js";
17
- import"./index-tj2mkfb3.js";
18
- import"./index-r260ybay.js";
19
- import"./index-4905hd2m.js";
20
- import"./index-134d35c1.js";
21
- import"./index-9f71ye47.js";
22
- import"./index-0vd91yb8.js";
23
- import"./index-cpest8sa.js";
24
- import"./index-66zght9d.js";
25
- import"./index-vxv732ex.js";
26
- import"./index-c8s9a3zh.js";
27
- import"./index-9ss2m4rs.js";
28
- import"./index-g4mnf3p5.js";
29
- import"./index-s80bsjkj.js";
30
- import"./index-7ftthvqt.js";
31
- import"./index-wz36r0fk.js";
32
- import"./index-rtry5xyf.js";
33
- import"./index-j5pnah1w.js";
34
- import"./index-bz08438z.js";
35
- import"./index-ae75rja9.js";
36
- import"./index-q27bajqb.js";
37
- import"./index-kc1m6vpr.js";
38
- import"./index-k5jrywpr.js";
39
- import"./index-n832052r.js";
40
- import"./index-wzb4dv5s.js";
41
- import"./index-bk5tah7q.js";
42
- import"./index-8fwhhayc.js";
43
- import"./index-q1exe2b3.js";
44
- import"./index-74tptrss.js";
45
- import"./index-2tn5h2zp.js";
46
- import"./index-1kz6da87.js";
47
- import"./index-17zjp67y.js";
48
- import"./index-z6xqpmqg.js";
49
- import"./index-4rhhvd1a.js";
50
- import"./index-zjygnfay.js";
51
- import"./index-zgwm4ryv.js";
52
- import"./index-h3k62043.js";
53
- import"./index-3x761jqv.js";
54
- import"./index-7mkpsw6g.js";
55
- import"./index-fsrp8wp3.js";
56
- import"./index-76kvm9z5.js";
57
- import"./index-q2rrv0cy.js";
58
- import"./index-bpmtbmy9.js";
59
- import"./index-7g4c7s5r.js";
60
- import"./index-qe3v54nb.js";
61
- import"./index-a76rekgs.js";
62
- export {
63
- sweepStaleDelegations,
64
- settleDelegationIngestion,
65
- recordPendingDelegation,
66
- readDelegations,
67
- findOpenAsyncLaneBatches,
68
- findByCorrelationId,
69
- findByBatchId,
70
- claimDelegationIngestion,
71
- buildPromptSnapshot,
72
- appendDelegationTransition,
73
- BACKGROUND_INGESTION_LEASE_MS,
74
- BACKGROUND_DELEGATIONS_FILE
75
- };
@@ -2,12 +2,12 @@
2
2
  import {
3
3
  simpleGlobToRegex
4
4
  } from "./index-z6xqpmqg.js";
5
- import {
6
- warn
7
- } from "./index-zgwm4ryv.js";
8
5
  import {
9
6
  bunSpawnSync
10
7
  } from "./index-qe3v54nb.js";
8
+ import {
9
+ warn
10
+ } from "./index-zgwm4ryv.js";
11
11
  import {
12
12
  __export
13
13
  } from "./index-a76rekgs.js";
@@ -1,16 +1,16 @@
1
1
  // @bun
2
- import {
3
- SwarmError
4
- } from "./index-z6xqpmqg.js";
5
- import {
6
- warn
7
- } from "./index-zgwm4ryv.js";
8
2
  import {
9
3
  readCachedTextFile
10
4
  } from "./index-fsrp8wp3.js";
5
+ import {
6
+ SwarmError
7
+ } from "./index-z6xqpmqg.js";
11
8
  import {
12
9
  bunFile
13
10
  } from "./index-qe3v54nb.js";
11
+ import {
12
+ warn
13
+ } from "./index-zgwm4ryv.js";
14
14
 
15
15
  // src/hooks/utils.ts
16
16
  import * as fs from "fs";
@@ -1,10 +1,10 @@
1
1
  // @bun
2
- import {
3
- emit
4
- } from "./index-q2rrv0cy.js";
5
2
  import {
6
3
  require_proper_lockfile
7
4
  } from "./index-7g4c7s5r.js";
5
+ import {
6
+ emit
7
+ } from "./index-q2rrv0cy.js";
8
8
  import {
9
9
  __toESM
10
10
  } from "./index-a76rekgs.js";