opencode-swarm 7.179.1 → 7.180.1
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.
- package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/agents/architect.d.ts +67 -0
- package/dist/agents/council-prompts.d.ts +3 -3
- package/dist/agents/index.d.ts +1 -1
- package/dist/background/pr-event-subscribers.d.ts +2 -0
- package/dist/background/pr-feedback-event-queue.d.ts +7 -0
- package/dist/background/pr-feedback-loop.d.ts +162 -0
- package/dist/cli/{coder-settlement-f1nmezzv.js → coder-settlement-b57917a3.js} +14 -14
- package/dist/cli/{config-doctor-ena2803f.js → config-doctor-ebat06eq.js} +2 -2
- package/dist/cli/{core-fcfzme3m.js → core-8k41qh0d.js} +4 -5
- package/dist/cli/{curation-policy-c7mdsf7m.js → curation-policy-m3x9mkj9.js} +7 -6
- package/dist/cli/{curator-q9s5q9v4.js → curator-8yb3qkxs.js} +45 -43
- package/dist/cli/{curator-drift-d93pwt8h.js → curator-drift-3av9hffm.js} +22 -12
- package/dist/cli/curator-llm-factory-htgqafq0.js +74 -0
- package/dist/cli/{evidence-summary-service-wtj8mkm6.js → evidence-summary-service-s258ea5t.js} +23 -21
- package/dist/cli/{gate-evidence-h83yb8nd.js → gate-evidence-fqxpf3xz.js} +9 -9
- package/dist/cli/guardrail-explain-r0qxa4zy.js +75 -0
- package/dist/cli/{guardrail-log-zf1htf1d.js → guardrail-log-j2wdmvmy.js} +7 -7
- package/dist/cli/{guardrail-reset-f2p198j3.js → guardrail-reset-wb2eqbvf.js} +45 -43
- package/dist/cli/hive-promoter-kxpc3r17.js +89 -0
- package/dist/cli/{index-wrt875kh.js → index-0725jpp7.js} +1 -1
- package/dist/cli/{index-34bwqcea.js → index-12ewkms0.js} +1 -1
- package/dist/cli/{index-epfjc1c1.js → index-2q5m4m2r.js} +11 -11
- package/dist/cli/{index-h59vsbch.js → index-38cfx8g8.js} +2 -2
- package/dist/cli/{index-xy7k7f3k.js → index-3bbjpbmn.js} +2 -2
- package/dist/cli/{index-vp9pn7sv.js → index-3zvp7t5d.js} +5 -5
- package/dist/cli/{index-dz12bshh.js → index-50v672wd.js} +8 -8
- package/dist/cli/{index-yfpswnjt.js → index-516j9vsk.js} +4 -4
- package/dist/cli/{index-w4c2repz.js → index-600aqfvm.js} +47 -43
- package/dist/cli/{index-0h3cr7pn.js → index-6gcxgx84.js} +1 -1
- package/dist/cli/{index-qt0793qm.js → index-6mwha20t.js} +3 -3
- package/dist/cli/{index-93nx95me.js → index-855qxtdm.js} +8 -7
- package/dist/cli/{index-cvg402ha.js → index-91dhg3wr.js} +2 -2
- package/dist/cli/{index-3pzwsesm.js → index-92m05mew.js} +2 -2
- package/dist/cli/{index-ne9zamcs.js → index-989v83pb.js} +1 -1
- package/dist/cli/{index-9fb01jk5.js → index-as4xaams.js} +1 -1
- package/dist/cli/{index-2b0ktpbf.js → index-bdpgfep1.js} +5 -5
- package/dist/cli/{index-q375xdcw.js → index-bhmrgbyv.js} +9 -1
- package/dist/cli/{index-nzekzzs2.js → index-bv4b8tpa.js} +5 -5
- package/dist/cli/{index-rb9jmj30.js → index-cj64vp08.js} +7 -7
- package/dist/cli/{index-549wxbe1.js → index-cjapb4hy.js} +1 -1
- package/dist/cli/{index-5d224akk.js → index-dzm5nfh7.js} +4 -4
- package/dist/cli/{index-f2v90gfc.js → index-ea9fk6v0.js} +25 -166
- package/dist/cli/index-ejhxgyvm.js +147 -0
- package/dist/cli/{index-n1tcj1q7.js → index-g062wnw1.js} +187 -47
- package/dist/cli/{index-s4bkey0q.js → index-gc6h1fmf.js} +4 -4
- package/dist/cli/{index-pn023bf9.js → index-gw5egd8j.js} +49 -47
- package/dist/cli/index-gx2vp8gx.js +100 -0
- package/dist/cli/{index-yp25bc9n.js → index-gy3tcmk4.js} +7 -7
- package/dist/cli/{index-n2wjrgcs.js → index-k5vwnnym.js} +7 -9
- package/dist/cli/{index-ajm7ebyd.js → index-k6f0nryj.js} +2 -2
- package/dist/cli/{index-zbhvr9st.js → index-n5carmk0.js} +8 -10
- package/dist/cli/{index-h4nh6s8b.js → index-nhxykfyy.js} +1 -1
- package/dist/cli/{index-pskba939.js → index-rejpbgxp.js} +1 -1
- package/dist/cli/{index-9s1xzvnn.js → index-rp4akjrm.js} +13 -3
- package/dist/cli/{index-g6nyk713.js → index-s0zgz4p1.js} +1 -1
- package/dist/cli/{index-aqpwm350.js → index-tnhk72rs.js} +3 -3
- package/dist/cli/{index-sj29n50e.js → index-v0par978.js} +7 -7
- package/dist/cli/index-v7fx8q3z.js +339 -0
- package/dist/cli/{index-a11ztzs5.js → index-vmthakz0.js} +1 -1
- package/dist/cli/{index-b567t0cr.js → index-wx3wz7ya.js} +10 -8
- package/dist/cli/{index-y98fvmb8.js → index-xd0e4amf.js} +33 -18
- package/dist/cli/{index-m1w40kfw.js → index-xj5z92qz.js} +4 -103
- package/dist/cli/{index-6r92fw88.js → index-y30y1rkg.js} +9 -9
- package/dist/cli/{index-pfg3jwe9.js → index-yf7tdhpz.js} +3 -3
- package/dist/cli/{index-y94vwx2q.js → index-z2xf153n.js} +13 -15
- package/dist/cli/{index-ky262b73.js → index-z2zrcecq.js} +1721 -902
- package/dist/cli/{index-zz7gzw57.js → index-zxdawwc7.js} +88 -4
- package/dist/cli/index.js +46 -44
- package/dist/cli/{knowledge-escalator-z6tkgrjq.js → knowledge-escalator-n30h6ran.js} +17 -16
- package/dist/cli/{knowledge-events-2bgefatz.js → knowledge-events-k2qqase2.js} +15 -14
- package/dist/cli/{knowledge-link-gfz47ves.js → knowledge-link-s2qs178z.js} +6 -5
- package/dist/cli/{knowledge-store-1fphg9sa.js → knowledge-store-zy226v5a.js} +7 -6
- package/dist/cli/{knowledge-validator-723h2vck.js → knowledge-validator-qgyxdpc9.js} +9 -8
- package/dist/cli/{mcp-xyswgya5.js → mcp-pj7acze3.js} +1 -1
- package/dist/cli/{pending-delegations-5zm19yvv.js → pending-delegations-sgnnyw55.js} +14 -13
- package/dist/cli/{pr-subscriptions-5hm6hzv6.js → pr-subscriptions-7fb7xm3q.js} +14 -13
- package/dist/cli/{pr-workflow-gate-48rzb2bh.js → pr-workflow-gate-5dqcrkz6.js} +47 -43
- package/dist/cli/{runner-16b691ba.js → runner-p9hstpxn.js} +7 -6
- package/dist/cli/{scan-cursor-m28tddrg.js → scan-cursor-jc7wwb7e.js} +9 -9
- package/dist/cli/{schema-jt9axyj6.js → schema-5k68crjb.js} +3 -1
- package/dist/cli/{scope-persistence-d0358pw7.js → scope-persistence-xeg4khwk.js} +19 -18
- package/dist/cli/{server-d5jxcbxz.js → server-ej6tzd7t.js} +53 -51
- package/dist/cli/{skill-generator-qanka67x.js → skill-generator-nspt9b3n.js} +19 -18
- package/dist/cli/{snapshot-coordination-init-mhrq11p8.js → snapshot-coordination-init-3rs3zpaa.js} +45 -43
- package/dist/cli/speckit-checkoff-dqf636ya.js +31 -0
- package/dist/cli/{telemetry-qxav5cdk.js → telemetry-zhcgfe70.js} +1 -1
- package/dist/cli/{workspace-snapshot-rfnn80dg.js → workspace-snapshot-4m2ex1ey.js} +4 -5
- package/dist/cli/{worktree-collision-ownership-ygdbpexh.js → worktree-collision-ownership-rbzgbvj4.js} +17 -17
- package/dist/cli/{worktree-isolation-4855f2az.js → worktree-isolation-6zpnzr70.js} +45 -43
- package/dist/commands/pr-feedback-loop.d.ts +1 -0
- package/dist/commands/registry.d.ts +10 -2
- package/dist/config/schema.d.ts +27 -0
- package/dist/council/disagreement-detector.d.ts +23 -1
- package/dist/council/general-council-service.d.ts +40 -3
- package/dist/failures/invocation-failure.d.ts +11 -0
- package/dist/hooks/delegation-tracker.d.ts +6 -1
- package/dist/hooks/pr-workflow-gate.d.ts +1 -1
- package/dist/hooks/system-enhancer.d.ts +4 -2
- package/dist/hooks/system-render-boundary.d.ts +68 -0
- package/dist/index.js +634 -606
- package/dist/sdd/effective-spec.d.ts +35 -22
- package/dist/sdd/speckit-checkoff.d.ts +113 -0
- package/dist/session/hydration-ownership.d.ts +83 -0
- package/dist/session/snapshot-coordination-init.d.ts +2 -1
- package/dist/session/snapshot-reader.d.ts +25 -7
- package/dist/state.d.ts +32 -2
- package/dist/utils/provider-error-classification.d.ts +11 -0
- package/opencode-swarm.schema.json +40 -0
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-dds2fnhj.js +0 -72
- package/dist/cli/guardrail-explain-qm5wej7v.js +0 -73
- package/dist/cli/hive-promoter-1mhx2jh0.js +0 -87
- package/dist/cli/index-4ddpvd5c.js +0 -94
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
EvaluationRunV1Schema,
|
|
4
4
|
GateAuditResultV1Schema,
|
|
5
5
|
getProtectedEvaluationRunIds
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-s0zgz4p1.js";
|
|
7
7
|
import {
|
|
8
8
|
readEffectiveSpecSync
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-g062wnw1.js";
|
|
10
10
|
import {
|
|
11
11
|
validateWorkspaceRoot
|
|
12
12
|
} from "./index-6b295cas.js";
|
|
@@ -23,13 +23,13 @@ import {
|
|
|
23
23
|
readTaskEvidence,
|
|
24
24
|
readTaskEvidenceRaw,
|
|
25
25
|
sanitizeTaskId
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-k5vwnnym.js";
|
|
27
27
|
import {
|
|
28
28
|
estimateCharsForTokens,
|
|
29
29
|
estimateTokens,
|
|
30
30
|
readSwarmFileAsync,
|
|
31
31
|
validateSwarmPath
|
|
32
|
-
} from "./index-
|
|
32
|
+
} from "./index-gc6h1fmf.js";
|
|
33
33
|
import {
|
|
34
34
|
bunHash,
|
|
35
35
|
bunWrite,
|
|
@@ -58,10 +58,10 @@ import {
|
|
|
58
58
|
replayFromLedgerWithStatus,
|
|
59
59
|
takeSnapshotEvent,
|
|
60
60
|
takeSnapshotWithRetry
|
|
61
|
-
} from "./index-
|
|
61
|
+
} from "./index-wx3wz7ya.js";
|
|
62
62
|
import {
|
|
63
63
|
appendCoreEventSync
|
|
64
|
-
} from "./index-
|
|
64
|
+
} from "./index-38cfx8g8.js";
|
|
65
65
|
import {
|
|
66
66
|
derivePlanId,
|
|
67
67
|
derivePlanIdentityHash,
|
|
@@ -69,40 +69,42 @@ import {
|
|
|
69
69
|
importCoordinationOnce,
|
|
70
70
|
listCoordinationStates,
|
|
71
71
|
transitionCoordinationState
|
|
72
|
-
} from "./index-
|
|
72
|
+
} from "./index-vmthakz0.js";
|
|
73
73
|
import {
|
|
74
74
|
DURABILITY_CLASSES,
|
|
75
75
|
getProjectDb,
|
|
76
76
|
projectDbExists,
|
|
77
77
|
withDurabilityClass
|
|
78
|
-
} from "./index-
|
|
78
|
+
} from "./index-bv4b8tpa.js";
|
|
79
79
|
import {
|
|
80
80
|
assertProjectRoot,
|
|
81
|
-
tryAcquireLock,
|
|
82
81
|
withEvidenceLock
|
|
83
|
-
} from "./index-
|
|
82
|
+
} from "./index-ea9fk6v0.js";
|
|
84
83
|
import {
|
|
85
84
|
emit
|
|
86
|
-
} from "./index-
|
|
85
|
+
} from "./index-6mwha20t.js";
|
|
86
|
+
import {
|
|
87
|
+
canonicalRootKeyFresh
|
|
88
|
+
} from "./index-1xnse449.js";
|
|
89
|
+
import {
|
|
90
|
+
tryAcquireLock
|
|
91
|
+
} from "./index-ejhxgyvm.js";
|
|
87
92
|
import {
|
|
88
93
|
atomicWriteSwarmFileSync,
|
|
89
94
|
invalidateCachedArtifact,
|
|
90
95
|
readCachedParsedFile
|
|
91
|
-
} from "./index-
|
|
92
|
-
import {
|
|
93
|
-
canonicalRootKeyFresh
|
|
94
|
-
} from "./index-1xnse449.js";
|
|
96
|
+
} from "./index-989v83pb.js";
|
|
95
97
|
import {
|
|
96
98
|
PlanSchema,
|
|
97
99
|
normalizeCurrentPhaseInPlace,
|
|
98
100
|
resolveActivePhaseId
|
|
99
|
-
} from "./index-
|
|
101
|
+
} from "./index-gx2vp8gx.js";
|
|
100
102
|
import {
|
|
101
103
|
GIT_BINARY_ENV_VAR,
|
|
102
104
|
describeGitResolution,
|
|
103
105
|
init_git_executable,
|
|
104
106
|
resolveGitExecutable
|
|
105
|
-
} from "./index-
|
|
107
|
+
} from "./index-zxdawwc7.js";
|
|
106
108
|
import {
|
|
107
109
|
ZodError,
|
|
108
110
|
init_zod
|
|
@@ -2935,6 +2937,19 @@ async function updateTaskStatus(directory, taskId, status, options) {
|
|
|
2935
2937
|
warn(`[plan/manager] run-memory record for ${taskId} failed: ${err instanceof Error ? err.message : String(err)}`);
|
|
2936
2938
|
}
|
|
2937
2939
|
}
|
|
2940
|
+
if (status === "completed") {
|
|
2941
|
+
try {
|
|
2942
|
+
const completedTask = updatedPlan.phases.flatMap((phase) => phase.tasks).find((candidate) => candidate.id === taskId);
|
|
2943
|
+
const { maybePropagateSpeckitCheckoff } = await import("./speckit-checkoff-dqf636ya.js");
|
|
2944
|
+
await maybePropagateSpeckitCheckoff(directory, {
|
|
2945
|
+
taskId,
|
|
2946
|
+
frRefs: completedTask?.fr_refs ?? [],
|
|
2947
|
+
text: completedTask?.description ?? ""
|
|
2948
|
+
});
|
|
2949
|
+
} catch (err) {
|
|
2950
|
+
warn(`[plan/manager] speckit check-off for ${taskId} failed (non-fatal): ${err instanceof Error ? err.message : String(err)}`);
|
|
2951
|
+
}
|
|
2952
|
+
}
|
|
2938
2953
|
if (status === "completed" && _internals5.isGitRepo(directory) && _internals5.isEpicModeActiveForProject(directory)) {
|
|
2939
2954
|
const mergeFailure = _internals5.getWorktreeMergeFailure(taskId);
|
|
2940
2955
|
if (mergeFailure) {
|
|
@@ -2950,7 +2965,7 @@ async function updateTaskStatus(directory, taskId, status, options) {
|
|
|
2950
2965
|
break;
|
|
2951
2966
|
}
|
|
2952
2967
|
}
|
|
2953
|
-
const { readDeclaredScopeFilesFromBindings } = await import("./scope-persistence-
|
|
2968
|
+
const { readDeclaredScopeFilesFromBindings } = await import("./scope-persistence-xeg4khwk.js");
|
|
2954
2969
|
const canonicalScope = readDeclaredScopeFilesFromBindings({
|
|
2955
2970
|
directory,
|
|
2956
2971
|
taskId,
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
GIT_BINARY_ENV_VAR,
|
|
4
|
-
init_git_executable
|
|
5
|
-
} from "./index-zz7gzw57.js";
|
|
6
|
-
import {
|
|
7
4
|
advisoryWarn,
|
|
5
|
+
init_git_executable,
|
|
8
6
|
init_warning_buffer
|
|
9
|
-
} from "./index-
|
|
7
|
+
} from "./index-zxdawwc7.js";
|
|
10
8
|
import {
|
|
11
9
|
ExternalSkillsConfigSchema,
|
|
12
10
|
GATE_CONFIG_KNOWN_SECTION_KEYS,
|
|
@@ -14,11 +12,7 @@ import {
|
|
|
14
12
|
PluginConfigSchema,
|
|
15
13
|
init_schema,
|
|
16
14
|
resolveExternalSkillsConfig
|
|
17
|
-
} from "./index-
|
|
18
|
-
import {
|
|
19
|
-
exports_external,
|
|
20
|
-
init_zod
|
|
21
|
-
} from "./index-gknz3bv1.js";
|
|
15
|
+
} from "./index-rp4akjrm.js";
|
|
22
16
|
import {
|
|
23
17
|
DangerousMergeKeyError,
|
|
24
18
|
MAX_MERGE_DEPTH,
|
|
@@ -808,97 +802,4 @@ var init_loader = __esm(() => {
|
|
|
808
802
|
};
|
|
809
803
|
});
|
|
810
804
|
|
|
811
|
-
|
|
812
|
-
init_zod();
|
|
813
|
-
var ExecutionProfileSchema = exports_external.object({
|
|
814
|
-
parallelization_enabled: exports_external.boolean().default(false),
|
|
815
|
-
max_concurrent_tasks: exports_external.number().int().min(1).max(64).default(10),
|
|
816
|
-
council_parallel: exports_external.boolean().default(true),
|
|
817
|
-
locked: exports_external.boolean().default(false),
|
|
818
|
-
auto_proceed: exports_external.boolean().default(false),
|
|
819
|
-
commit_after_each_completed_task: exports_external.boolean().default(false),
|
|
820
|
-
planning_profile: exports_external.enum(["balanced", "strict"]).optional()
|
|
821
|
-
});
|
|
822
|
-
var TaskStatusSchema = exports_external.enum([
|
|
823
|
-
"pending",
|
|
824
|
-
"in_progress",
|
|
825
|
-
"completed",
|
|
826
|
-
"blocked",
|
|
827
|
-
"closed"
|
|
828
|
-
]);
|
|
829
|
-
var TaskSizeSchema = exports_external.enum(["small", "medium", "large"]);
|
|
830
|
-
var PhaseStatusSchema = exports_external.enum([
|
|
831
|
-
"pending",
|
|
832
|
-
"in_progress",
|
|
833
|
-
"complete",
|
|
834
|
-
"completed",
|
|
835
|
-
"blocked",
|
|
836
|
-
"closed"
|
|
837
|
-
]);
|
|
838
|
-
var MigrationStatusSchema = exports_external.enum([
|
|
839
|
-
"native",
|
|
840
|
-
"migrated",
|
|
841
|
-
"migration_failed"
|
|
842
|
-
]);
|
|
843
|
-
var TaskSchema = exports_external.object({
|
|
844
|
-
id: exports_external.string(),
|
|
845
|
-
phase: exports_external.number().int().min(1),
|
|
846
|
-
status: TaskStatusSchema.default("pending"),
|
|
847
|
-
size: TaskSizeSchema.default("small"),
|
|
848
|
-
description: exports_external.string().min(1),
|
|
849
|
-
depends: exports_external.array(exports_external.string()).default([]),
|
|
850
|
-
acceptance: exports_external.string().optional(),
|
|
851
|
-
files_touched: exports_external.array(exports_external.string()).default([]),
|
|
852
|
-
evidence_path: exports_external.string().optional(),
|
|
853
|
-
blocked_reason: exports_external.string().optional(),
|
|
854
|
-
fr_refs: exports_external.array(exports_external.string()).optional()
|
|
855
|
-
});
|
|
856
|
-
var PhaseSchema = exports_external.object({
|
|
857
|
-
id: exports_external.number().int().min(1),
|
|
858
|
-
name: exports_external.string().min(1),
|
|
859
|
-
status: PhaseStatusSchema.default("pending"),
|
|
860
|
-
tasks: exports_external.array(TaskSchema).default([]),
|
|
861
|
-
type: exports_external.enum(["code", "non-code"]).optional(),
|
|
862
|
-
required_agents: exports_external.array(exports_external.string()).optional()
|
|
863
|
-
});
|
|
864
|
-
var PlanSchema = exports_external.object({
|
|
865
|
-
schema_version: exports_external.literal("1.0.0"),
|
|
866
|
-
title: exports_external.string().min(1),
|
|
867
|
-
swarm: exports_external.string().min(1),
|
|
868
|
-
current_phase: exports_external.number().int().min(1).optional(),
|
|
869
|
-
phases: exports_external.array(PhaseSchema).min(1),
|
|
870
|
-
migration_status: MigrationStatusSchema.optional(),
|
|
871
|
-
specMtime: exports_external.string().optional(),
|
|
872
|
-
specHash: exports_external.string().optional(),
|
|
873
|
-
execution_profile: ExecutionProfileSchema.optional()
|
|
874
|
-
});
|
|
875
|
-
function isPhaseStatusTerminal(status) {
|
|
876
|
-
return status === "complete" || status === "completed" || status === "closed";
|
|
877
|
-
}
|
|
878
|
-
function isPhaseEffectivelyTerminal(phase) {
|
|
879
|
-
if (isPhaseStatusTerminal(phase.status))
|
|
880
|
-
return true;
|
|
881
|
-
const tasks = phase.tasks ?? [];
|
|
882
|
-
return tasks.length > 0 && tasks.every((task) => task.status === "completed" || task.status === "closed");
|
|
883
|
-
}
|
|
884
|
-
function resolveActivePhaseId(plan) {
|
|
885
|
-
const cursor = plan.current_phase;
|
|
886
|
-
if (cursor !== undefined) {
|
|
887
|
-
const cursorPhase = plan.phases.find((phase) => phase.id === cursor);
|
|
888
|
-
if (cursorPhase && !isPhaseEffectivelyTerminal(cursorPhase)) {
|
|
889
|
-
return cursorPhase.id;
|
|
890
|
-
}
|
|
891
|
-
}
|
|
892
|
-
const firstNonTerminal = plan.phases.find((phase) => !isPhaseEffectivelyTerminal(phase));
|
|
893
|
-
if (firstNonTerminal)
|
|
894
|
-
return firstNonTerminal.id;
|
|
895
|
-
return plan.phases[plan.phases.length - 1]?.id ?? 1;
|
|
896
|
-
}
|
|
897
|
-
function normalizeCurrentPhaseInPlace(plan) {
|
|
898
|
-
plan.current_phase = resolveActivePhaseId(plan);
|
|
899
|
-
}
|
|
900
|
-
function getCurrentPhase(plan) {
|
|
901
|
-
return resolveActivePhaseId(plan);
|
|
902
|
-
}
|
|
903
|
-
|
|
904
|
-
export { loadPluginConfig, loadPluginConfigWithMeta, loadGateOverrides, resetConfigAdvisoryDedup, getSafeDefaultConfigLoadResult, loadPluginConfigWithMetaAsync, loadAgentPrompt, exports_loader, init_loader, ExecutionProfileSchema, TaskStatusSchema, TaskSizeSchema, PhaseStatusSchema, MigrationStatusSchema, TaskSchema, PhaseSchema, PlanSchema, resolveActivePhaseId, normalizeCurrentPhaseInPlace, getCurrentPhase };
|
|
805
|
+
export { loadPluginConfig, loadPluginConfigWithMeta, loadGateOverrides, resetConfigAdvisoryDedup, getSafeDefaultConfigLoadResult, loadPluginConfigWithMetaAsync, loadAgentPrompt, exports_loader, init_loader };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
validateSwarmPath
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-gc6h1fmf.js";
|
|
5
5
|
import {
|
|
6
6
|
deleteCoordinationState,
|
|
7
7
|
importCoordinationOnce,
|
|
8
8
|
listCoordinationStates,
|
|
9
9
|
transitionCoordinationState,
|
|
10
10
|
withCoordinationTransaction
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-vmthakz0.js";
|
|
12
12
|
import {
|
|
13
13
|
getProjectDb,
|
|
14
14
|
projectDbExists
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-bv4b8tpa.js";
|
|
16
16
|
import {
|
|
17
17
|
observeStoreHealth
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-516j9vsk.js";
|
|
19
19
|
import {
|
|
20
20
|
withEvidenceLock
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-ea9fk6v0.js";
|
|
22
22
|
import {
|
|
23
23
|
telemetry
|
|
24
|
-
} from "./index-
|
|
25
|
-
import {
|
|
26
|
-
atomicWriteSwarmFileSync
|
|
27
|
-
} from "./index-ne9zamcs.js";
|
|
24
|
+
} from "./index-6mwha20t.js";
|
|
28
25
|
import {
|
|
29
26
|
canonicalRootKey,
|
|
30
27
|
canonicalRootKeyFresh,
|
|
31
28
|
sameProjectRoot
|
|
32
29
|
} from "./index-1xnse449.js";
|
|
30
|
+
import {
|
|
31
|
+
atomicWriteSwarmFileSync
|
|
32
|
+
} from "./index-989v83pb.js";
|
|
33
33
|
import {
|
|
34
34
|
exports_external,
|
|
35
35
|
init_zod
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
readKnowledge,
|
|
4
4
|
transactKnowledge
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-gy3tcmk4.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveKnowledgeStoreDir
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-12ewkms0.js";
|
|
9
9
|
import {
|
|
10
10
|
init_git_executable,
|
|
11
11
|
resolveGitExecutableAsync
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-zxdawwc7.js";
|
|
13
13
|
import {
|
|
14
14
|
init_knowledge_types,
|
|
15
15
|
isActiveStatus
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
captureWorkspaceSnapshotAsync,
|
|
4
4
|
changedFilesSinceSnapshotAsync
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-bdpgfep1.js";
|
|
6
6
|
import {
|
|
7
7
|
removeWorktreeProvisioningOwner
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-92m05mew.js";
|
|
9
9
|
import {
|
|
10
10
|
SOURCE_WORKTREE_GONE_STAGE,
|
|
11
11
|
ensureTaskGateRequirementsReceiptForSettledTransition,
|
|
@@ -14,27 +14,25 @@ import {
|
|
|
14
14
|
reconcileLandedMerge,
|
|
15
15
|
withTaskEvidenceTransaction,
|
|
16
16
|
writeWorkflowWalFile
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-k5vwnnym.js";
|
|
18
18
|
import {
|
|
19
19
|
validateSwarmPath
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-gc6h1fmf.js";
|
|
21
21
|
import {
|
|
22
22
|
appendCoreEventSync
|
|
23
|
-
} from "./index-
|
|
24
|
-
import {
|
|
25
|
-
tryAcquireLock
|
|
26
|
-
} from "./index-f2v90gfc.js";
|
|
23
|
+
} from "./index-38cfx8g8.js";
|
|
27
24
|
import {
|
|
28
25
|
canonicalRootKeyFresh
|
|
29
26
|
} from "./index-1xnse449.js";
|
|
30
27
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./index-zz7gzw57.js";
|
|
28
|
+
tryAcquireLock
|
|
29
|
+
} from "./index-ejhxgyvm.js";
|
|
34
30
|
import {
|
|
35
31
|
advisoryWarn,
|
|
36
|
-
|
|
37
|
-
|
|
32
|
+
init_git_executable,
|
|
33
|
+
init_warning_buffer,
|
|
34
|
+
resolveGitExecutable
|
|
35
|
+
} from "./index-zxdawwc7.js";
|
|
38
36
|
import {
|
|
39
37
|
init_path_identity,
|
|
40
38
|
isPathWithinDeclaredScope
|
|
@@ -501,7 +499,7 @@ async function cleanupRecoveredWorktree(directory, descriptor, options) {
|
|
|
501
499
|
awaitingMergeByCallID,
|
|
502
500
|
cleanupStandardWorktreeForCallId,
|
|
503
501
|
standardWorktreeByCallID
|
|
504
|
-
} = await import("./worktree-isolation-
|
|
502
|
+
} = await import("./worktree-isolation-6zpnzr70.js");
|
|
505
503
|
standardWorktreeByCallID.delete(descriptor.callID);
|
|
506
504
|
if (hasResidue)
|
|
507
505
|
awaitingMergeByCallID.set(descriptor.callID, {
|
|
@@ -633,7 +631,7 @@ async function recoverCoderSettlement(directory, taskId) {
|
|
|
633
631
|
awaitingMergeByCallID,
|
|
634
632
|
finishStandardWorktreeDispatch,
|
|
635
633
|
standardWorktreeByCallID
|
|
636
|
-
} = await import("./worktree-isolation-
|
|
634
|
+
} = await import("./worktree-isolation-6zpnzr70.js");
|
|
637
635
|
const descriptor = wal.worktree;
|
|
638
636
|
const reconstructedDispatch = {
|
|
639
637
|
callID: descriptor.callID,
|