opencode-swarm 7.145.0 → 7.145.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/dist/background/workspace-snapshot.d.ts +29 -0
- package/dist/cli/{config-doctor-dzsv3pqy.js → config-doctor-96jmxr7s.js} +3 -3
- package/dist/cli/{core-qkh9me8x.js → core-w78pc1hh.js} +3 -3
- package/dist/cli/{curation-policy-5x6346tf.js → curation-policy-smyc2mrm.js} +5 -5
- package/dist/cli/{curator-zssndq5x.js → curator-59hzdxrv.js} +30 -30
- package/dist/cli/{curator-llm-factory-q5p4578g.js → curator-llm-factory-g794pv51.js} +30 -30
- package/dist/cli/{evidence-summary-service-dqcpapj8.js → evidence-summary-service-41m0cna6.js} +13 -13
- package/dist/cli/{gate-evidence-bkdqryqg.js → gate-evidence-7aywx7qa.js} +8 -8
- package/dist/cli/{guardrail-explain-kspf83x5.js → guardrail-explain-j88dhm6w.js} +31 -31
- package/dist/cli/{guardrail-log-qg4sq6gr.js → guardrail-log-xcb3ke8s.js} +4 -4
- package/dist/cli/{hive-promoter-3h7dhnek.js → hive-promoter-nnnx5692.js} +30 -30
- package/dist/cli/{index-0pcq32y2.js → index-17e73wac.js} +1 -1
- package/dist/cli/{index-4e5a28h7.js → index-19v4tccw.js} +2 -2
- package/dist/cli/{index-fp464as8.js → index-2qrd8mfa.js} +1 -1
- package/dist/cli/{index-wk54ey3h.js → index-34tawmyx.js} +1 -1
- package/dist/cli/{index-s6cwsnrw.js → index-41t3hgaa.js} +10 -10
- package/dist/cli/{index-zfhe7vbb.js → index-7axx11dt.js} +1 -1
- package/dist/cli/{index-h4hasck4.js → index-8ef23wex.js} +4 -4
- package/dist/cli/{index-4zwjc9sb.js → index-90w06fqr.js} +100 -3
- package/dist/cli/{index-kp87kr1a.js → index-b7ntt9cw.js} +3 -3
- package/dist/cli/{index-6ezbzd5e.js → index-bst6epnr.js} +298 -160
- package/dist/cli/{index-apjdytwx.js → index-cqfp05jb.js} +3 -3
- package/dist/cli/{index-zz5qsjd1.js → index-dppzthm9.js} +64 -36
- package/dist/cli/{index-s72naw1j.js → index-dzan8czb.js} +1 -1
- package/dist/cli/{index-e00wbqw5.js → index-evpgszmp.js} +2 -2
- package/dist/cli/{index-c13ttmak.js → index-ff66fbjt.js} +10 -10
- package/dist/cli/{index-jy9bwa9k.js → index-fwnhh6s7.js} +2 -2
- package/dist/cli/{index-77ef8gye.js → index-gey2257h.js} +1 -1
- package/dist/cli/{index-pa86tpgt.js → index-gf03198s.js} +1 -1
- package/dist/cli/{index-v64kjqvg.js → index-kxzgnz2h.js} +17 -17
- package/dist/cli/{index-6q3agdmr.js → index-mpf01swm.js} +1 -1
- package/dist/cli/{index-mkks7jwg.js → index-mrkgxfeh.js} +3 -3
- package/dist/cli/{index-7g276m9m.js → index-neh8azwc.js} +2 -2
- package/dist/cli/{index-qfawexc8.js → index-qpke2x5h.js} +6 -6
- package/dist/cli/{index-ffdwj1an.js → index-rtkttser.js} +1 -1
- package/dist/cli/{index-b3xret0a.js → index-sfemjcb8.js} +5 -5
- package/dist/cli/{index-k6pdsct6.js → index-tm0bezd9.js} +1 -1
- package/dist/cli/{index-0jr9zn34.js → index-tw8ck794.js} +1 -1
- package/dist/cli/{index-hfzcztv6.js → index-xz4x17z0.js} +32 -32
- package/dist/cli/{index-2dnqazyr.js → index-ymyke19q.js} +1 -1
- package/dist/cli/{index-b30x236n.js → index-z9yhhk6q.js} +96 -8
- package/dist/cli/{index-6hqhyb0f.js → index-zpp507z0.js} +18 -4
- package/dist/cli/index.js +30 -30
- package/dist/cli/{knowledge-escalator-w1mbaktt.js → knowledge-escalator-s6acdpwj.js} +13 -13
- package/dist/cli/{knowledge-events-a0dj6gy6.js → knowledge-events-jprkz49t.js} +11 -11
- package/dist/cli/{knowledge-link-mzdjvjsd.js → knowledge-link-zvtmj756.js} +4 -4
- package/dist/cli/{knowledge-store-8kk3rghx.js → knowledge-store-mc4awds4.js} +5 -5
- package/dist/cli/{knowledge-validator-91ym56e0.js → knowledge-validator-pe4ncrvj.js} +7 -7
- package/dist/cli/model-preflight-77dwxfv5.js +170 -0
- package/dist/cli/{pending-delegations-6vsrmw5w.js → pending-delegations-epzht3d7.js} +3 -3
- package/dist/cli/{pr-subscriptions-zc3skxde.js → pr-subscriptions-2ahy8g87.js} +3 -3
- package/dist/cli/{runner-jj32v8bk.js → runner-ra9pjhp2.js} +5 -5
- package/dist/cli/{scan-cursor-12jxwd14.js → scan-cursor-hdzhqwzj.js} +6 -6
- package/dist/cli/{schema-nq9tcz87.js → schema-pg85z06v.js} +1 -1
- package/dist/cli/{scope-persistence-dv6z7n08.js → scope-persistence-v8we8ja7.js} +9 -6
- package/dist/cli/{skill-generator-drscnzq9.js → skill-generator-ctskfct2.js} +15 -15
- package/dist/cli/{telemetry-z54dgdrh.js → telemetry-c21dgffc.js} +1 -1
- package/dist/cli/{workspace-snapshot-q21mgbsh.js → workspace-snapshot-kznz5e13.js} +4 -2
- package/dist/cli/{worktree-collision-ownership-rfyyjjct.js → worktree-collision-ownership-f7se4wbf.js} +8 -8
- package/dist/cli/{worktree-isolation-4tehtym5.js → worktree-isolation-j4qb7mgb.js} +32 -30
- package/dist/hooks/delegation-gate/worktree-isolation.d.ts +4 -0
- package/dist/index.js +307 -293
- package/dist/observability/catalog.d.ts +2 -2
- package/dist/scope/scope-binding.d.ts +16 -0
- package/dist/services/model-preflight.d.ts +151 -0
- package/dist/services/session-reflection.d.ts +24 -0
- package/dist/telemetry.d.ts +12 -1
- package/dist/tools/placeholder-scan.d.ts +64 -0
- package/dist/tools/sast-scan.d.ts +6 -0
- package/package.json +1 -1
- package/dist/cli/{curator-drift-yn5d0mvq.js → curator-drift-r50x1rac.js} +1 -1
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
DEFAULT_MODELS,
|
|
4
|
+
init_constants
|
|
5
|
+
} from "./index-v3y3qg48.js";
|
|
6
|
+
import"./index-zjygnfay.js";
|
|
7
|
+
import"./index-a76rekgs.js";
|
|
8
|
+
|
|
9
|
+
// src/services/model-preflight.ts
|
|
10
|
+
init_constants();
|
|
11
|
+
var PROVIDER_LIST_TIMEOUT_MS = 2000;
|
|
12
|
+
function splitModelId(model) {
|
|
13
|
+
const separator = model.indexOf("/");
|
|
14
|
+
if (separator <= 0 || separator === model.length - 1)
|
|
15
|
+
return null;
|
|
16
|
+
return {
|
|
17
|
+
provider: model.slice(0, separator),
|
|
18
|
+
model: model.slice(separator + 1)
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function collectConfiguredAgentModels(config) {
|
|
22
|
+
const collected = [];
|
|
23
|
+
const overriddenAgents = new Set;
|
|
24
|
+
const overrides = config?.agents ?? {};
|
|
25
|
+
for (const [agent, override] of Object.entries(overrides)) {
|
|
26
|
+
if (typeof override?.model === "string" && override.model.trim()) {
|
|
27
|
+
collected.push({
|
|
28
|
+
agent,
|
|
29
|
+
model: override.model.trim(),
|
|
30
|
+
source: "override"
|
|
31
|
+
});
|
|
32
|
+
overriddenAgents.add(agent);
|
|
33
|
+
}
|
|
34
|
+
for (const fallback of override?.fallback_models ?? []) {
|
|
35
|
+
if (typeof fallback === "string" && fallback.trim()) {
|
|
36
|
+
collected.push({
|
|
37
|
+
agent,
|
|
38
|
+
model: fallback.trim(),
|
|
39
|
+
source: "fallback"
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
for (const [agent, model] of Object.entries(DEFAULT_MODELS)) {
|
|
45
|
+
if (overriddenAgents.has(agent))
|
|
46
|
+
continue;
|
|
47
|
+
collected.push({ agent, model, source: "default" });
|
|
48
|
+
}
|
|
49
|
+
return collected;
|
|
50
|
+
}
|
|
51
|
+
var CATALOG_CACHE_TTL_MS = 30000;
|
|
52
|
+
var catalogCacheByClient = new WeakMap;
|
|
53
|
+
function invalidateProviderCatalogCache() {
|
|
54
|
+
catalogCacheByClient = new WeakMap;
|
|
55
|
+
}
|
|
56
|
+
async function fetchProviderCatalog(client) {
|
|
57
|
+
if (!client)
|
|
58
|
+
return null;
|
|
59
|
+
const cached = catalogCacheByClient.get(client);
|
|
60
|
+
if (cached && Date.now() - cached.fetchedAt < CATALOG_CACHE_TTL_MS) {
|
|
61
|
+
return cached.catalog;
|
|
62
|
+
}
|
|
63
|
+
let response;
|
|
64
|
+
try {
|
|
65
|
+
response = await _internals.providerList(client);
|
|
66
|
+
} catch {
|
|
67
|
+
return null;
|
|
68
|
+
}
|
|
69
|
+
const all = response?.data?.all;
|
|
70
|
+
if (!Array.isArray(all))
|
|
71
|
+
return null;
|
|
72
|
+
const catalog = new Map;
|
|
73
|
+
for (const provider of all) {
|
|
74
|
+
if (typeof provider?.id !== "string")
|
|
75
|
+
continue;
|
|
76
|
+
const models = new Set;
|
|
77
|
+
if (provider.models && typeof provider.models === "object") {
|
|
78
|
+
for (const modelKey of Object.keys(provider.models)) {
|
|
79
|
+
models.add(modelKey);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
catalog.set(provider.id, models);
|
|
83
|
+
}
|
|
84
|
+
catalogCacheByClient.set(client, { fetchedAt: Date.now(), catalog });
|
|
85
|
+
return catalog;
|
|
86
|
+
}
|
|
87
|
+
function resolveAgainstCatalog(models, catalog) {
|
|
88
|
+
if (catalog === null) {
|
|
89
|
+
return {
|
|
90
|
+
catalogAvailable: false,
|
|
91
|
+
resolutions: models.map((entry) => ({
|
|
92
|
+
...entry,
|
|
93
|
+
status: "unknown",
|
|
94
|
+
detail: "provider catalog unavailable; model resolution not checked"
|
|
95
|
+
}))
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
const resolutions = models.map((entry) => {
|
|
99
|
+
const split = splitModelId(entry.model);
|
|
100
|
+
if (!split) {
|
|
101
|
+
return {
|
|
102
|
+
...entry,
|
|
103
|
+
status: "unknown",
|
|
104
|
+
detail: "model id has no provider prefix; resolution not checked against the catalog"
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
const providerModels = catalog.get(split.provider);
|
|
108
|
+
if (providerModels === undefined) {
|
|
109
|
+
return {
|
|
110
|
+
...entry,
|
|
111
|
+
status: "unresolved",
|
|
112
|
+
detail: `provider "${split.provider}" is not present in the provider catalog`
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
if (!providerModels.has(split.model)) {
|
|
116
|
+
return {
|
|
117
|
+
...entry,
|
|
118
|
+
status: "unresolved",
|
|
119
|
+
detail: `provider "${split.provider}" does not list model "${split.model}"`
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
return { ...entry, status: "ok" };
|
|
123
|
+
});
|
|
124
|
+
return { catalogAvailable: true, resolutions };
|
|
125
|
+
}
|
|
126
|
+
async function runModelPreflight(config, client) {
|
|
127
|
+
const models = collectConfiguredAgentModels(config);
|
|
128
|
+
const catalog = await fetchProviderCatalog(client);
|
|
129
|
+
return resolveAgainstCatalog(models, catalog);
|
|
130
|
+
}
|
|
131
|
+
async function checkSingleModelResolution(model, client) {
|
|
132
|
+
const catalog = await fetchProviderCatalog(client);
|
|
133
|
+
if (catalog === null)
|
|
134
|
+
return "unknown";
|
|
135
|
+
const split = splitModelId(model);
|
|
136
|
+
if (!split)
|
|
137
|
+
return "unknown";
|
|
138
|
+
const providerModels = catalog.get(split.provider);
|
|
139
|
+
if (providerModels === undefined || !providerModels.has(split.model)) {
|
|
140
|
+
return "unresolved";
|
|
141
|
+
}
|
|
142
|
+
return "ok";
|
|
143
|
+
}
|
|
144
|
+
var _internals = {
|
|
145
|
+
providerList: async (client) => {
|
|
146
|
+
let timer;
|
|
147
|
+
try {
|
|
148
|
+
return await Promise.race([
|
|
149
|
+
client.provider.list(),
|
|
150
|
+
new Promise((_, reject) => {
|
|
151
|
+
timer = setTimeout(() => reject(new Error("provider list timed out")), PROVIDER_LIST_TIMEOUT_MS);
|
|
152
|
+
})
|
|
153
|
+
]);
|
|
154
|
+
} finally {
|
|
155
|
+
if (timer)
|
|
156
|
+
clearTimeout(timer);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
};
|
|
160
|
+
export {
|
|
161
|
+
splitModelId,
|
|
162
|
+
runModelPreflight,
|
|
163
|
+
resolveAgainstCatalog,
|
|
164
|
+
invalidateProviderCatalogCache,
|
|
165
|
+
fetchProviderCatalog,
|
|
166
|
+
collectConfiguredAgentModels,
|
|
167
|
+
checkSingleModelResolution,
|
|
168
|
+
_internals,
|
|
169
|
+
PROVIDER_LIST_TIMEOUT_MS
|
|
170
|
+
};
|
|
@@ -54,13 +54,13 @@ import {
|
|
|
54
54
|
sweepStaleDelegations,
|
|
55
55
|
updateCoderSettlement,
|
|
56
56
|
writeDelegationFallback
|
|
57
|
-
} from "./index-
|
|
57
|
+
} from "./index-rtkttser.js";
|
|
58
58
|
import"./index-w8pgjr75.js";
|
|
59
59
|
import"./index-z6xqpmqg.js";
|
|
60
60
|
import"./index-zj6t9zgx.js";
|
|
61
61
|
import"./index-zjygnfay.js";
|
|
62
|
-
import"./index-
|
|
63
|
-
import"./index-
|
|
62
|
+
import"./index-gf03198s.js";
|
|
63
|
+
import"./index-dppzthm9.js";
|
|
64
64
|
import"./index-7g4c7s5r.js";
|
|
65
65
|
import"./index-bpmtbmy9.js";
|
|
66
66
|
import"./index-ed5ykebp.js";
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
sweepStale,
|
|
10
10
|
unsubscribe,
|
|
11
11
|
updateSnapshot
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-gey2257h.js";
|
|
13
13
|
import"./index-w8pgjr75.js";
|
|
14
14
|
import"./index-z6xqpmqg.js";
|
|
15
15
|
import"./index-zj6t9zgx.js";
|
|
16
16
|
import"./index-zjygnfay.js";
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
17
|
+
import"./index-gf03198s.js";
|
|
18
|
+
import"./index-dppzthm9.js";
|
|
19
19
|
import"./index-7g4c7s5r.js";
|
|
20
20
|
import"./index-bpmtbmy9.js";
|
|
21
21
|
import"./index-ed5ykebp.js";
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
_internals,
|
|
4
4
|
createModelEvaluationExecutor,
|
|
5
5
|
runEvaluation
|
|
6
|
-
} from "./index-
|
|
7
|
-
import"./index-
|
|
6
|
+
} from "./index-34tawmyx.js";
|
|
7
|
+
import"./index-fwnhh6s7.js";
|
|
8
8
|
import"./index-y8552snf.js";
|
|
9
9
|
import"./index-zj6t9zgx.js";
|
|
10
|
-
import"./index-
|
|
10
|
+
import"./index-mpf01swm.js";
|
|
11
11
|
import"./index-4evasm2b.js";
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
12
|
+
import"./index-gf03198s.js";
|
|
13
|
+
import"./index-dppzthm9.js";
|
|
14
14
|
import"./index-7g4c7s5r.js";
|
|
15
15
|
import"./index-bpmtbmy9.js";
|
|
16
16
|
import"./index-ed5ykebp.js";
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
alreadyCuratedThisGeneration,
|
|
5
5
|
claimNextScanBatch,
|
|
6
6
|
getScanStatus
|
|
7
|
-
} from "./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
} from "./index-evpgszmp.js";
|
|
8
|
+
import"./index-qpke2x5h.js";
|
|
9
9
|
import"./index-9e6fdz2h.js";
|
|
10
10
|
import"./index-4rhhvd1a.js";
|
|
11
11
|
import"./index-ae75rja9.js";
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
12
|
+
import"./index-dzan8czb.js";
|
|
13
|
+
import"./index-mpf01swm.js";
|
|
14
14
|
import"./index-bk5tah7q.js";
|
|
15
15
|
import"./index-4evasm2b.js";
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
16
|
+
import"./index-gf03198s.js";
|
|
17
|
+
import"./index-dppzthm9.js";
|
|
18
18
|
import"./index-7g4c7s5r.js";
|
|
19
19
|
import"./index-bpmtbmy9.js";
|
|
20
20
|
import"./index-ed5ykebp.js";
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
resolveGeneratedAgentRole,
|
|
98
98
|
resolveGuardrailsConfig,
|
|
99
99
|
stripKnownSwarmPrefix
|
|
100
|
-
} from "./index-
|
|
100
|
+
} from "./index-7axx11dt.js";
|
|
101
101
|
import"./index-v3y3qg48.js";
|
|
102
102
|
import"./index-zjygnfay.js";
|
|
103
103
|
import"./index-bk5tah7q.js";
|
|
@@ -23,19 +23,22 @@ import {
|
|
|
23
23
|
tombstoneScopeBinding,
|
|
24
24
|
writeScopeBindingToDisk,
|
|
25
25
|
writeScopeToDisk
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
} from "./index-90w06fqr.js";
|
|
27
|
+
import"./index-cqfp05jb.js";
|
|
28
28
|
import"./index-556ja8an.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
29
|
+
import"./index-17e73wac.js";
|
|
30
|
+
import"./index-7axx11dt.js";
|
|
31
31
|
import"./index-v3y3qg48.js";
|
|
32
32
|
import"./index-9e6fdz2h.js";
|
|
33
33
|
import"./index-4rhhvd1a.js";
|
|
34
|
+
import"./index-w8pgjr75.js";
|
|
35
|
+
import"./index-z6xqpmqg.js";
|
|
36
|
+
import"./index-zj6t9zgx.js";
|
|
34
37
|
import"./index-zjygnfay.js";
|
|
35
38
|
import"./index-bk5tah7q.js";
|
|
36
39
|
import"./index-4evasm2b.js";
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
40
|
+
import"./index-gf03198s.js";
|
|
41
|
+
import"./index-dppzthm9.js";
|
|
39
42
|
import"./index-7g4c7s5r.js";
|
|
40
43
|
import"./index-bpmtbmy9.js";
|
|
41
44
|
import"./index-ed5ykebp.js";
|
|
@@ -33,31 +33,31 @@ import {
|
|
|
33
33
|
sanitizeSlug,
|
|
34
34
|
selectCandidateEntries,
|
|
35
35
|
writeEvalStub
|
|
36
|
-
} from "./index-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
36
|
+
} from "./index-mrkgxfeh.js";
|
|
37
|
+
import"./index-8ef23wex.js";
|
|
38
|
+
import"./index-2qrd8mfa.js";
|
|
39
39
|
import"./index-rtry5xyf.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
40
|
+
import"./index-qpke2x5h.js";
|
|
41
|
+
import"./index-ff66fbjt.js";
|
|
42
|
+
import"./index-neh8azwc.js";
|
|
43
43
|
import"./index-gprxjmm7.js";
|
|
44
44
|
import"./index-n832052r.js";
|
|
45
|
-
import"./index-
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-zj6t9zgx.js";
|
|
48
|
-
import"./index-0pcq32y2.js";
|
|
49
|
-
import"./index-zfhe7vbb.js";
|
|
45
|
+
import"./index-17e73wac.js";
|
|
46
|
+
import"./index-7axx11dt.js";
|
|
50
47
|
import"./index-v3y3qg48.js";
|
|
51
48
|
import"./index-9e6fdz2h.js";
|
|
52
49
|
import"./index-4rhhvd1a.js";
|
|
50
|
+
import"./index-w8pgjr75.js";
|
|
51
|
+
import"./index-z6xqpmqg.js";
|
|
52
|
+
import"./index-zj6t9zgx.js";
|
|
53
53
|
import"./index-zjygnfay.js";
|
|
54
54
|
import"./index-ae75rja9.js";
|
|
55
|
-
import"./index-
|
|
56
|
-
import"./index-
|
|
55
|
+
import"./index-dzan8czb.js";
|
|
56
|
+
import"./index-mpf01swm.js";
|
|
57
57
|
import"./index-bk5tah7q.js";
|
|
58
58
|
import"./index-4evasm2b.js";
|
|
59
|
-
import"./index-
|
|
60
|
-
import"./index-
|
|
59
|
+
import"./index-gf03198s.js";
|
|
60
|
+
import"./index-dppzthm9.js";
|
|
61
61
|
import"./index-7g4c7s5r.js";
|
|
62
62
|
import"./index-bpmtbmy9.js";
|
|
63
63
|
import"./index-ed5ykebp.js";
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
compareWorkspaceSnapshot,
|
|
7
7
|
compareWorkspaceSnapshots,
|
|
8
8
|
digest,
|
|
9
|
+
isSwarmRuntimePath,
|
|
9
10
|
parsePorcelainPaths,
|
|
10
11
|
parsePorcelainV2Snapshot,
|
|
11
12
|
readGitTextAtRevision,
|
|
@@ -37,10 +38,10 @@ import {
|
|
|
37
38
|
resolveRemoteRefsContainingHeadAsync,
|
|
38
39
|
switchPrFeedbackTrackingCandidateAsync,
|
|
39
40
|
workspaceSnapshotMatches
|
|
40
|
-
} from "./index-
|
|
41
|
-
import"./index-zj6t9zgx.js";
|
|
41
|
+
} from "./index-z9yhhk6q.js";
|
|
42
42
|
import"./index-9e6fdz2h.js";
|
|
43
43
|
import"./index-4rhhvd1a.js";
|
|
44
|
+
import"./index-zj6t9zgx.js";
|
|
44
45
|
import"./index-zgwm4ryv.js";
|
|
45
46
|
import"./index-a76rekgs.js";
|
|
46
47
|
export {
|
|
@@ -75,6 +76,7 @@ export {
|
|
|
75
76
|
readGitTextAtRevision,
|
|
76
77
|
parsePorcelainV2Snapshot,
|
|
77
78
|
parsePorcelainPaths,
|
|
79
|
+
isSwarmRuntimePath,
|
|
78
80
|
digest,
|
|
79
81
|
compareWorkspaceSnapshots,
|
|
80
82
|
compareWorkspaceSnapshot,
|
|
@@ -5,25 +5,25 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
scanDelegationFallbacksForRecovery,
|
|
7
7
|
scanDelegationsForRecovery
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-rtkttser.js";
|
|
9
9
|
import {
|
|
10
10
|
WORKTREE_PROVISIONING_OWNER_LEASE_MS,
|
|
11
11
|
removeWorktreeProvisioningOwner,
|
|
12
12
|
scanWorktreeProvisioningOwnersForRecovery
|
|
13
13
|
} from "./index-e1pxav9g.js";
|
|
14
|
-
import"./index-w8pgjr75.js";
|
|
15
|
-
import"./index-z6xqpmqg.js";
|
|
16
|
-
import {
|
|
17
|
-
bunSpawn
|
|
18
|
-
} from "./index-zj6t9zgx.js";
|
|
19
14
|
import {
|
|
20
15
|
init_git_executable,
|
|
21
16
|
resolveGitExecutable
|
|
22
17
|
} from "./index-9e6fdz2h.js";
|
|
23
18
|
import"./index-4rhhvd1a.js";
|
|
19
|
+
import"./index-w8pgjr75.js";
|
|
20
|
+
import"./index-z6xqpmqg.js";
|
|
21
|
+
import {
|
|
22
|
+
bunSpawn
|
|
23
|
+
} from "./index-zj6t9zgx.js";
|
|
24
24
|
import"./index-zjygnfay.js";
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
25
|
+
import"./index-gf03198s.js";
|
|
26
|
+
import"./index-dppzthm9.js";
|
|
27
27
|
import"./index-7g4c7s5r.js";
|
|
28
28
|
import"./index-bpmtbmy9.js";
|
|
29
29
|
import"./index-ed5ykebp.js";
|
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
cleanupStandardWorktreeForCallId,
|
|
9
9
|
computeLaneRuntimeProfile,
|
|
10
10
|
finishStandardWorktreeDispatch,
|
|
11
|
+
getStandardWorktreeDegradationReason,
|
|
11
12
|
isLaneOwnedByCurrentSession,
|
|
12
13
|
parseLeanLaneIndex,
|
|
13
14
|
preProvisionCollisionCheck,
|
|
@@ -20,61 +21,61 @@ import {
|
|
|
20
21
|
sanitizeWorktreeTaskId,
|
|
21
22
|
standardWorktreeByCallID,
|
|
22
23
|
standardWorktreeSerializationSessions
|
|
23
|
-
} from "./index-
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
24
|
+
} from "./index-bst6epnr.js";
|
|
25
|
+
import"./index-34tawmyx.js";
|
|
26
|
+
import"./index-ymyke19q.js";
|
|
27
|
+
import"./index-tw8ck794.js";
|
|
28
|
+
import"./index-kxzgnz2h.js";
|
|
29
|
+
import"./index-fwnhh6s7.js";
|
|
27
30
|
import"./index-134d35c1.js";
|
|
28
31
|
import"./index-abtrcs16.js";
|
|
29
|
-
import"./index-wk54ey3h.js";
|
|
30
|
-
import"./index-jy9bwa9k.js";
|
|
31
32
|
import"./index-y8552snf.js";
|
|
32
|
-
import"./index-
|
|
33
|
+
import"./index-sfemjcb8.js";
|
|
34
|
+
import"./index-evpgszmp.js";
|
|
33
35
|
import"./index-70ha9e09.js";
|
|
34
36
|
import"./index-c8s9a3zh.js";
|
|
35
37
|
import"./index-9ss2m4rs.js";
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-fp464as8.js";
|
|
38
|
+
import"./index-z9yhhk6q.js";
|
|
39
|
+
import"./index-gey2257h.js";
|
|
40
|
+
import"./index-mrkgxfeh.js";
|
|
41
|
+
import"./index-8ef23wex.js";
|
|
42
|
+
import"./index-2qrd8mfa.js";
|
|
42
43
|
import"./index-rtry5xyf.js";
|
|
43
44
|
import"./index-zsrtt42s.js";
|
|
44
|
-
import"./index-
|
|
45
|
+
import"./index-rtkttser.js";
|
|
45
46
|
import"./index-e1pxav9g.js";
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
47
|
+
import"./index-41t3hgaa.js";
|
|
48
|
+
import"./index-zpp507z0.js";
|
|
49
|
+
import"./index-90w06fqr.js";
|
|
50
|
+
import"./index-cqfp05jb.js";
|
|
50
51
|
import"./index-556ja8an.js";
|
|
51
52
|
import"./index-7sy3aa9m.js";
|
|
52
53
|
import"./index-wx8zdh4a.js";
|
|
53
54
|
import"./index-3g0xk6tk.js";
|
|
54
55
|
import"./index-85gkedsf.js";
|
|
55
|
-
import"./index-
|
|
56
|
-
import"./index-
|
|
56
|
+
import"./index-qpke2x5h.js";
|
|
57
|
+
import"./index-ff66fbjt.js";
|
|
57
58
|
import {
|
|
58
59
|
resolveWorktreeIsolationConfig
|
|
59
|
-
} from "./index-
|
|
60
|
+
} from "./index-neh8azwc.js";
|
|
60
61
|
import"./index-gprxjmm7.js";
|
|
61
62
|
import"./index-n832052r.js";
|
|
62
|
-
import"./index-
|
|
63
|
-
import"./index-
|
|
64
|
-
import"./index-zj6t9zgx.js";
|
|
65
|
-
import"./index-0pcq32y2.js";
|
|
66
|
-
import"./index-zfhe7vbb.js";
|
|
63
|
+
import"./index-17e73wac.js";
|
|
64
|
+
import"./index-7axx11dt.js";
|
|
67
65
|
import"./index-v3y3qg48.js";
|
|
68
66
|
import"./index-9e6fdz2h.js";
|
|
69
67
|
import"./index-4rhhvd1a.js";
|
|
68
|
+
import"./index-w8pgjr75.js";
|
|
69
|
+
import"./index-z6xqpmqg.js";
|
|
70
|
+
import"./index-zj6t9zgx.js";
|
|
70
71
|
import"./index-zjygnfay.js";
|
|
71
72
|
import"./index-ae75rja9.js";
|
|
72
|
-
import"./index-
|
|
73
|
-
import"./index-
|
|
73
|
+
import"./index-dzan8czb.js";
|
|
74
|
+
import"./index-mpf01swm.js";
|
|
74
75
|
import"./index-bk5tah7q.js";
|
|
75
76
|
import"./index-4evasm2b.js";
|
|
76
|
-
import"./index-
|
|
77
|
-
import"./index-
|
|
77
|
+
import"./index-gf03198s.js";
|
|
78
|
+
import"./index-dppzthm9.js";
|
|
78
79
|
import"./index-7g4c7s5r.js";
|
|
79
80
|
import"./index-bpmtbmy9.js";
|
|
80
81
|
import"./index-ed5ykebp.js";
|
|
@@ -94,6 +95,7 @@ export {
|
|
|
94
95
|
preProvisionCollisionCheck,
|
|
95
96
|
parseLeanLaneIndex,
|
|
96
97
|
isLaneOwnedByCurrentSession,
|
|
98
|
+
getStandardWorktreeDegradationReason,
|
|
97
99
|
finishStandardWorktreeDispatch,
|
|
98
100
|
computeLaneRuntimeProfile,
|
|
99
101
|
cleanupStandardWorktreeForCallId,
|
|
@@ -125,6 +125,10 @@ interface SessionSerializationState {
|
|
|
125
125
|
*/
|
|
126
126
|
successfulDispatchesSince: number;
|
|
127
127
|
}
|
|
128
|
+
export declare function getStandardWorktreeDegradationReason(sessionID: string): {
|
|
129
|
+
reason: string;
|
|
130
|
+
at: number;
|
|
131
|
+
} | undefined;
|
|
128
132
|
export declare function resetStandardWorktreeIsolationState(): void;
|
|
129
133
|
/**
|
|
130
134
|
* FR-104 SC-111/SC-112: Check whether a serialized session has met its release conditions
|