opencode-swarm 7.159.3 → 7.160.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.
- package/dist/background/delegation-health.d.ts +1 -1
- package/dist/cli/{coder-settlement-50p7dsya.js → coder-settlement-zn552sp9.js} +11 -10
- package/dist/cli/{config-doctor-a7drgs33.js → config-doctor-ddtdz2g0.js} +3 -3
- package/dist/cli/{core-madqgdsc.js → core-embasn2j.js} +2 -2
- package/dist/cli/{curation-policy-ray8h55z.js → curation-policy-agr6ga1s.js} +6 -6
- package/dist/cli/{curator-3sz7refy.js → curator-dgp6dxxn.js} +32 -31
- package/dist/cli/curator-llm-factory-7cwvmc46.js +67 -0
- package/dist/cli/{evidence-summary-service-cwyjkdsa.js → evidence-summary-service-sbnyann4.js} +14 -13
- package/dist/cli/{gate-evidence-95k5ap1z.js → gate-evidence-5v67a1dz.js} +7 -7
- package/dist/cli/guardrail-explain-2gwarnca.js +68 -0
- package/dist/cli/{guardrail-log-nerqk9qb.js → guardrail-log-zbnbff1y.js} +9 -6
- package/dist/cli/{guardrail-reset-chbc0mep.js → guardrail-reset-3cnz54hx.js} +32 -31
- package/dist/cli/{hive-promoter-4rtxhw7n.js → hive-promoter-7cr7t2kg.js} +32 -31
- package/dist/cli/{index-ebxmfr4j.js → index-1f4n43yz.js} +2 -2
- package/dist/cli/{index-zswy6xgb.js → index-3055dgzp.js} +7 -7
- package/dist/cli/{index-2jzmg2km.js → index-3yh737hc.js} +6 -6
- package/dist/cli/{index-0zerbq1v.js → index-4mm22fzj.js} +23 -14
- package/dist/cli/{index-5hfqc3h3.js → index-5m7qjj29.js} +24 -7
- package/dist/cli/{index-nvz4mp5w.js → index-7qv869f0.js} +6 -6
- package/dist/cli/{index-gk6gpe7r.js → index-85qjc7b2.js} +2 -2
- package/dist/cli/{index-xqjhbfbx.js → index-8bjv01t8.js} +4 -4
- package/dist/cli/{index-t3wk7q51.js → index-962jgzdq.js} +1 -1
- package/dist/cli/{index-nhhek8yw.js → index-9fspg1xw.js} +1 -1
- package/dist/cli/{index-wwpe4am7.js → index-9k3zc2t8.js} +7 -7
- package/dist/cli/{index-y2d381ce.js → index-9q6w7kke.js} +1 -1
- package/dist/cli/{index-av3gnekk.js → index-b5adxpy6.js} +1 -1
- package/dist/cli/{index-8fyebh3w.js → index-cn233hsy.js} +1 -1
- package/dist/cli/{index-qxpfmryw.js → index-d9s5hb0m.js} +4 -4
- package/dist/cli/{index-prknc0xn.js → index-dke4wzkn.js} +108 -44
- package/dist/cli/index-e75bzfgd.js +785 -0
- package/dist/cli/{index-mqfs5f8a.js → index-fzkx24q5.js} +2 -2
- package/dist/cli/{index-m9m3emns.js → index-gt8cxfbp.js} +2 -2
- package/dist/cli/{index-yt75r1er.js → index-h3re5c78.js} +1 -1
- package/dist/cli/{index-sn6mtxxc.js → index-jmths6jj.js} +34 -33
- package/dist/cli/{index-p3ym3y8b.js → index-kkfgygvn.js} +4 -4
- package/dist/cli/{index-9qw4sbg1.js → index-p39xem8b.js} +4 -4
- package/dist/cli/{index-6jp5yxye.js → index-py6bqwnb.js} +2 -2
- package/dist/cli/{index-515nwvdp.js → index-q6gjwy7m.js} +19 -10
- package/dist/cli/{index-v3ybemb1.js → index-rhc8jve7.js} +2 -2
- package/dist/cli/{index-txwx9p21.js → index-rnyt2z5r.js} +345 -97
- package/dist/cli/{index-ve0xj03m.js → index-rq7k03rk.js} +4 -4
- package/dist/cli/{index-2fq4a3vk.js → index-s7w428r3.js} +1 -1
- package/dist/cli/{index-h96xp4t0.js → index-sy5aeegg.js} +11 -2
- package/dist/cli/{index-fnxmg8sz.js → index-va1edd2n.js} +5 -5
- package/dist/cli/{index-rq4jcw64.js → index-w699ekk9.js} +4 -4
- package/dist/cli/{index-8zw60wya.js → index-wzx6atbv.js} +13 -4
- package/dist/cli/{index-xs32znyz.js → index-xs15netk.js} +1 -1
- package/dist/cli/{index-40t6s98s.js → index-yrar1ask.js} +3 -3
- package/dist/cli/{index-bxpqq9th.js → index-zjvf7edj.js} +3 -3
- package/dist/cli/index.js +32 -31
- package/dist/cli/{knowledge-escalator-f80n84ch.js → knowledge-escalator-zksm9833.js} +13 -12
- package/dist/cli/{knowledge-events-1d7v2krw.js → knowledge-events-ayta750w.js} +11 -10
- package/dist/cli/{knowledge-link-vm4caewt.js → knowledge-link-7c7fjnzc.js} +5 -5
- package/dist/cli/{knowledge-store-66yxeet7.js → knowledge-store-q5axge8b.js} +6 -6
- package/dist/cli/{knowledge-validator-p0xcx7jx.js → knowledge-validator-3rrbva2p.js} +8 -8
- package/dist/cli/{model-preflight-w85ecyxh.js → model-preflight-x9szw1v4.js} +1 -1
- package/dist/cli/{pending-delegations-vad1z71d.js → pending-delegations-kc7tzxg9.js} +5 -3
- package/dist/cli/{pr-review-reentry-authorization-kn3nny7h.js → pr-review-reentry-authorization-vag5gh50.js} +32 -31
- package/dist/cli/{pr-subscriptions-482gzvt6.js → pr-subscriptions-wbdw9a82.js} +5 -4
- package/dist/cli/{runner-sn7a6zd0.js → runner-p9wg6z34.js} +6 -6
- package/dist/cli/{scan-cursor-2v7995nb.js → scan-cursor-4fjwtt1k.js} +7 -7
- package/dist/cli/{schema-dy8fqycb.js → schema-d0nbzj5k.js} +2 -2
- package/dist/cli/{scope-persistence-baty62vx.js → scope-persistence-bckcbc8h.js} +10 -9
- package/dist/cli/{skill-generator-nwrvtqbz.js → skill-generator-kebhevet.js} +15 -14
- package/dist/cli/{telemetry-3rh94wv3.js → telemetry-gpr9s3sm.js} +3 -1
- package/dist/cli/{worktree-collision-ownership-cy24p5mr.js → worktree-collision-ownership-h8qswnrp.js} +6 -5
- package/dist/cli/{worktree-isolation-8jbx0s8d.js → worktree-isolation-q0kbmadz.js} +32 -31
- package/dist/config/context-window.d.ts +11 -4
- package/dist/config/evidence-schema.d.ts +6 -6
- package/dist/context-map/telemetry.d.ts +1 -1
- package/dist/health/learning-health.d.ts +356 -0
- package/dist/hooks/context-budget.d.ts +10 -1
- package/dist/hooks/curator.d.ts +2 -0
- package/dist/hooks/final-context-accounting.d.ts +2 -0
- package/dist/hooks/model-limits.d.ts +56 -25
- package/dist/hooks/skill-usage-pending.d.ts +1 -1
- package/dist/index.js +588 -587
- package/dist/observability/catalog.d.ts +2 -2
- package/dist/observability/ids.d.ts +17 -0
- package/dist/prm/trajectory-store.d.ts +1 -1
- package/dist/services/diagnose-service.d.ts +7 -0
- package/dist/services/status-service.d.ts +18 -0
- package/dist/telemetry.d.ts +52 -1
- package/dist/tools/context-status.d.ts +15 -1
- package/dist/tools/repo-graph/ontology.d.ts +6 -0
- package/dist/tools/repo-graph/pack-query.d.ts +36 -0
- package/dist/tools/repo-graph/types.d.ts +198 -1
- package/dist/tools/repo-graph.d.ts +5 -3
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-pyp5kmra.js +0 -66
- package/dist/cli/guardrail-explain-a13kbmrt.js +0 -67
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
alreadyCuratedThisGeneration,
|
|
5
5
|
claimNextScanBatch,
|
|
6
6
|
getScanStatus
|
|
7
|
-
} from "./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
} from "./index-gt8cxfbp.js";
|
|
8
|
+
import"./index-3yh737hc.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-9fspg1xw.js";
|
|
13
|
+
import"./index-rq7k03rk.js";
|
|
14
14
|
import"./index-bk5tah7q.js";
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
15
|
+
import"./index-b5adxpy6.js";
|
|
16
|
+
import"./index-p39xem8b.js";
|
|
17
17
|
import"./index-ed5ykebp.js";
|
|
18
|
-
import"./index-
|
|
18
|
+
import"./index-dke4wzkn.js";
|
|
19
19
|
import"./index-7g4c7s5r.js";
|
|
20
20
|
import"./index-bpmtbmy9.js";
|
|
21
21
|
import"./index-zgwm4ryv.js";
|
|
@@ -101,8 +101,8 @@ import {
|
|
|
101
101
|
resolveGeneratedAgentRole,
|
|
102
102
|
resolveGuardrailsConfig,
|
|
103
103
|
stripKnownSwarmPrefix
|
|
104
|
-
} from "./index-
|
|
105
|
-
import"./index-
|
|
104
|
+
} from "./index-1f4n43yz.js";
|
|
105
|
+
import"./index-h3re5c78.js";
|
|
106
106
|
import"./index-zjygnfay.js";
|
|
107
107
|
import"./index-bk5tah7q.js";
|
|
108
108
|
import"./index-bpmtbmy9.js";
|
|
@@ -23,21 +23,22 @@ import {
|
|
|
23
23
|
tombstoneScopeBinding,
|
|
24
24
|
writeScopeBindingToDisk,
|
|
25
25
|
writeScopeToDisk
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
26
|
+
} from "./index-3055dgzp.js";
|
|
27
|
+
import"./index-zjvf7edj.js";
|
|
28
|
+
import"./index-4mm22fzj.js";
|
|
29
29
|
import"./index-556ja8an.js";
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
30
|
+
import"./index-962jgzdq.js";
|
|
31
|
+
import"./index-1f4n43yz.js";
|
|
32
32
|
import"./index-9e6fdz2h.js";
|
|
33
33
|
import"./index-4rhhvd1a.js";
|
|
34
|
-
import"./index-
|
|
34
|
+
import"./index-e75bzfgd.js";
|
|
35
|
+
import"./index-h3re5c78.js";
|
|
35
36
|
import"./index-zjygnfay.js";
|
|
36
37
|
import"./index-bk5tah7q.js";
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
38
|
+
import"./index-b5adxpy6.js";
|
|
39
|
+
import"./index-p39xem8b.js";
|
|
39
40
|
import"./index-ed5ykebp.js";
|
|
40
|
-
import"./index-
|
|
41
|
+
import"./index-dke4wzkn.js";
|
|
41
42
|
import"./index-7g4c7s5r.js";
|
|
42
43
|
import"./index-bpmtbmy9.js";
|
|
43
44
|
import"./index-zgwm4ryv.js";
|
|
@@ -33,33 +33,34 @@ import {
|
|
|
33
33
|
sanitizeSlug,
|
|
34
34
|
selectCandidateEntries,
|
|
35
35
|
writeEvalStub
|
|
36
|
-
} from "./index-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
36
|
+
} from "./index-8bjv01t8.js";
|
|
37
|
+
import"./index-kkfgygvn.js";
|
|
38
|
+
import"./index-s7w428r3.js";
|
|
39
39
|
import"./index-rtry5xyf.js";
|
|
40
40
|
import"./index-q7sjgr1y.js";
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
41
|
+
import"./index-3yh737hc.js";
|
|
42
|
+
import"./index-5m7qjj29.js";
|
|
43
|
+
import"./index-yrar1ask.js";
|
|
44
44
|
import"./index-ebz97mks.js";
|
|
45
45
|
import"./index-n832052r.js";
|
|
46
46
|
import"./index-dtn0pne5.js";
|
|
47
47
|
import"./index-z6xqpmqg.js";
|
|
48
48
|
import"./index-r3mvsbtq.js";
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
49
|
+
import"./index-962jgzdq.js";
|
|
50
|
+
import"./index-1f4n43yz.js";
|
|
51
51
|
import"./index-9e6fdz2h.js";
|
|
52
52
|
import"./index-4rhhvd1a.js";
|
|
53
|
-
import"./index-
|
|
53
|
+
import"./index-e75bzfgd.js";
|
|
54
|
+
import"./index-h3re5c78.js";
|
|
54
55
|
import"./index-zjygnfay.js";
|
|
55
56
|
import"./index-ae75rja9.js";
|
|
56
|
-
import"./index-
|
|
57
|
-
import"./index-
|
|
57
|
+
import"./index-9fspg1xw.js";
|
|
58
|
+
import"./index-rq7k03rk.js";
|
|
58
59
|
import"./index-bk5tah7q.js";
|
|
59
|
-
import"./index-
|
|
60
|
-
import"./index-
|
|
60
|
+
import"./index-b5adxpy6.js";
|
|
61
|
+
import"./index-p39xem8b.js";
|
|
61
62
|
import"./index-ed5ykebp.js";
|
|
62
|
-
import"./index-
|
|
63
|
+
import"./index-dke4wzkn.js";
|
|
63
64
|
import"./index-7g4c7s5r.js";
|
|
64
65
|
import"./index-bpmtbmy9.js";
|
|
65
66
|
import"./index-zgwm4ryv.js";
|
|
@@ -7,13 +7,14 @@ import {
|
|
|
7
7
|
flushAndDrainTelemetry,
|
|
8
8
|
getLastHeartbeat,
|
|
9
9
|
initTelemetry,
|
|
10
|
+
removeTelemetryListener,
|
|
10
11
|
resetHeartbeatTrackingForTesting,
|
|
11
12
|
resetTelemetryForTesting,
|
|
12
13
|
rotateTelemetryIfNeeded,
|
|
13
14
|
startHeartbeatTracking,
|
|
14
15
|
stopHeartbeatTracking,
|
|
15
16
|
telemetry
|
|
16
|
-
} from "./index-
|
|
17
|
+
} from "./index-dke4wzkn.js";
|
|
17
18
|
import"./index-bpmtbmy9.js";
|
|
18
19
|
import"./index-a76rekgs.js";
|
|
19
20
|
export {
|
|
@@ -23,6 +24,7 @@ export {
|
|
|
23
24
|
rotateTelemetryIfNeeded,
|
|
24
25
|
resetTelemetryForTesting,
|
|
25
26
|
resetHeartbeatTrackingForTesting,
|
|
27
|
+
removeTelemetryListener,
|
|
26
28
|
initTelemetry,
|
|
27
29
|
getLastHeartbeat,
|
|
28
30
|
flushAndDrainTelemetry,
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
WORKTREE_PROVISIONING_OWNER_LEASE_MS,
|
|
7
7
|
removeWorktreeProvisioningOwner,
|
|
8
8
|
scanWorktreeProvisioningOwnersForRecovery
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-cn233hsy.js";
|
|
10
10
|
import {
|
|
11
11
|
scanDelegationFallbacksForRecovery,
|
|
12
12
|
scanDelegationsForRecovery
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-sy5aeegg.js";
|
|
14
14
|
import"./index-ddszzne4.js";
|
|
15
15
|
import"./index-dtn0pne5.js";
|
|
16
16
|
import"./index-z6xqpmqg.js";
|
|
@@ -22,11 +22,12 @@ import {
|
|
|
22
22
|
resolveGitExecutable
|
|
23
23
|
} from "./index-9e6fdz2h.js";
|
|
24
24
|
import"./index-4rhhvd1a.js";
|
|
25
|
+
import"./index-e75bzfgd.js";
|
|
25
26
|
import"./index-zjygnfay.js";
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
27
|
+
import"./index-b5adxpy6.js";
|
|
28
|
+
import"./index-p39xem8b.js";
|
|
28
29
|
import"./index-ed5ykebp.js";
|
|
29
|
-
import"./index-
|
|
30
|
+
import"./index-dke4wzkn.js";
|
|
30
31
|
import"./index-7g4c7s5r.js";
|
|
31
32
|
import"./index-bpmtbmy9.js";
|
|
32
33
|
import"./index-zgwm4ryv.js";
|
|
@@ -21,64 +21,65 @@ import {
|
|
|
21
21
|
sanitizeWorktreeTaskId,
|
|
22
22
|
standardWorktreeByCallID,
|
|
23
23
|
standardWorktreeSerializationSessions
|
|
24
|
-
} from "./index-
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
24
|
+
} from "./index-rnyt2z5r.js";
|
|
25
|
+
import"./index-xs15netk.js";
|
|
26
|
+
import"./index-wzx6atbv.js";
|
|
27
|
+
import"./index-py6bqwnb.js";
|
|
28
|
+
import"./index-9k3zc2t8.js";
|
|
29
|
+
import"./index-85qjc7b2.js";
|
|
30
30
|
import"./index-txdagbh7.js";
|
|
31
31
|
import"./index-134d35c1.js";
|
|
32
32
|
import"./index-nj6rmyeh.js";
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
33
|
+
import"./index-8bjv01t8.js";
|
|
34
|
+
import"./index-va1edd2n.js";
|
|
35
|
+
import"./index-gt8cxfbp.js";
|
|
36
36
|
import"./index-70ha9e09.js";
|
|
37
37
|
import"./index-c8s9a3zh.js";
|
|
38
38
|
import"./index-9ss2m4rs.js";
|
|
39
|
-
import"./index-
|
|
39
|
+
import"./index-q6gjwy7m.js";
|
|
40
40
|
import"./index-zsrtt42s.js";
|
|
41
|
-
import"./index-
|
|
41
|
+
import"./index-7qv869f0.js";
|
|
42
42
|
import"./index-3f7hqtgg.js";
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
45
|
-
import"./index-
|
|
43
|
+
import"./index-cn233hsy.js";
|
|
44
|
+
import"./index-kkfgygvn.js";
|
|
45
|
+
import"./index-s7w428r3.js";
|
|
46
46
|
import"./index-rtry5xyf.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
47
|
+
import"./index-w699ekk9.js";
|
|
48
|
+
import"./index-fzkx24q5.js";
|
|
49
|
+
import"./index-sy5aeegg.js";
|
|
50
50
|
import"./index-ddszzne4.js";
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
53
|
-
import"./index-
|
|
51
|
+
import"./index-3055dgzp.js";
|
|
52
|
+
import"./index-zjvf7edj.js";
|
|
53
|
+
import"./index-4mm22fzj.js";
|
|
54
54
|
import"./index-556ja8an.js";
|
|
55
55
|
import"./index-4fwbbad3.js";
|
|
56
56
|
import"./index-b43rt5ph.js";
|
|
57
57
|
import"./index-q7sjgr1y.js";
|
|
58
|
-
import"./index-
|
|
59
|
-
import"./index-
|
|
58
|
+
import"./index-3yh737hc.js";
|
|
59
|
+
import"./index-5m7qjj29.js";
|
|
60
60
|
import {
|
|
61
61
|
resolveWorktreeIsolationConfig
|
|
62
|
-
} from "./index-
|
|
62
|
+
} from "./index-yrar1ask.js";
|
|
63
63
|
import"./index-ebz97mks.js";
|
|
64
64
|
import"./index-n832052r.js";
|
|
65
65
|
import"./index-dtn0pne5.js";
|
|
66
66
|
import"./index-z6xqpmqg.js";
|
|
67
67
|
import"./index-r3mvsbtq.js";
|
|
68
|
-
import"./index-
|
|
69
|
-
import"./index-
|
|
68
|
+
import"./index-962jgzdq.js";
|
|
69
|
+
import"./index-1f4n43yz.js";
|
|
70
70
|
import"./index-9e6fdz2h.js";
|
|
71
71
|
import"./index-4rhhvd1a.js";
|
|
72
|
-
import"./index-
|
|
72
|
+
import"./index-e75bzfgd.js";
|
|
73
|
+
import"./index-h3re5c78.js";
|
|
73
74
|
import"./index-zjygnfay.js";
|
|
74
75
|
import"./index-ae75rja9.js";
|
|
75
|
-
import"./index-
|
|
76
|
-
import"./index-
|
|
76
|
+
import"./index-9fspg1xw.js";
|
|
77
|
+
import"./index-rq7k03rk.js";
|
|
77
78
|
import"./index-bk5tah7q.js";
|
|
78
|
-
import"./index-
|
|
79
|
-
import"./index-
|
|
79
|
+
import"./index-b5adxpy6.js";
|
|
80
|
+
import"./index-p39xem8b.js";
|
|
80
81
|
import"./index-ed5ykebp.js";
|
|
81
|
-
import"./index-
|
|
82
|
+
import"./index-dke4wzkn.js";
|
|
82
83
|
import"./index-7g4c7s5r.js";
|
|
83
84
|
import"./index-bpmtbmy9.js";
|
|
84
85
|
import"./index-zgwm4ryv.js";
|
|
@@ -100,7 +100,7 @@ export declare const DEFAULT_MODEL_CONTEXT_TOKENS = 128000;
|
|
|
100
100
|
*/
|
|
101
101
|
export declare const MIN_PLAUSIBLE_CONTEXT_TOKENS = 1000;
|
|
102
102
|
/** Which rung of the resolution order produced the value. */
|
|
103
|
-
export type ContextWindowSource = 'user_provider_model' | 'user_model' | 'user_default' | 'live_model_limit' | '
|
|
103
|
+
export type ContextWindowSource = 'user_provider_model' | 'user_model' | 'user_default' | 'live_model_limit' | 'static_provider_cap' | 'static_native' | 'static_default';
|
|
104
104
|
export interface ContextWindowResolution {
|
|
105
105
|
/**
|
|
106
106
|
* The resolved denominator, in tokens. Always a finite integer ≥ 1, so it is
|
|
@@ -135,10 +135,17 @@ export interface ContextWindowInputs {
|
|
|
135
135
|
liveContextLimit?: unknown;
|
|
136
136
|
/**
|
|
137
137
|
* Last-resort static lookup. Injected rather than imported so this module
|
|
138
|
-
* stays free of any dependency on `src/hooks/`.
|
|
139
|
-
*
|
|
138
|
+
* stays free of any dependency on `src/hooks/`. The lookup must say WHICH
|
|
139
|
+
* static table matched (`provider_cap` vs `native`) so the resolution source
|
|
140
|
+
* stays honest (#2044): the two tables have different staleness profiles and
|
|
141
|
+
* downstream provenance consumers (the `context_status` tool, the
|
|
142
|
+
* model-limit-fallback health alarm) distinguish them. Returning `undefined`
|
|
143
|
+
* means "no opinion" and falls through to `DEFAULT_MODEL_CONTEXT_TOKENS`.
|
|
140
144
|
*/
|
|
141
|
-
fallbackLookup?: ((modelID?: string, providerID?: string) =>
|
|
145
|
+
fallbackLookup?: ((modelID?: string, providerID?: string) => {
|
|
146
|
+
tokens: number;
|
|
147
|
+
table: 'provider_cap' | 'native';
|
|
148
|
+
} | undefined) | undefined;
|
|
142
149
|
}
|
|
143
150
|
/**
|
|
144
151
|
* True when `value` can be used as a divisor at all: a finite number strictly
|
|
@@ -227,9 +227,9 @@ export declare const RetrospectiveEvidenceSchema: z.ZodObject<{
|
|
|
227
227
|
code_style: "code_style";
|
|
228
228
|
}>;
|
|
229
229
|
scope: z.ZodEnum<{
|
|
230
|
-
global: "global";
|
|
231
|
-
project: "project";
|
|
232
230
|
session: "session";
|
|
231
|
+
project: "project";
|
|
232
|
+
global: "global";
|
|
233
233
|
}>;
|
|
234
234
|
}, z.core.$strip>>>;
|
|
235
235
|
approaches_tried: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -767,9 +767,9 @@ export declare const EvidenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
767
767
|
code_style: "code_style";
|
|
768
768
|
}>;
|
|
769
769
|
scope: z.ZodEnum<{
|
|
770
|
-
global: "global";
|
|
771
|
-
project: "project";
|
|
772
770
|
session: "session";
|
|
771
|
+
project: "project";
|
|
772
|
+
global: "global";
|
|
773
773
|
}>;
|
|
774
774
|
}, z.core.$strip>>>;
|
|
775
775
|
approaches_tried: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1274,9 +1274,9 @@ export declare const EvidenceBundleSchema: z.ZodObject<{
|
|
|
1274
1274
|
code_style: "code_style";
|
|
1275
1275
|
}>;
|
|
1276
1276
|
scope: z.ZodEnum<{
|
|
1277
|
-
global: "global";
|
|
1278
|
-
project: "project";
|
|
1279
1277
|
session: "session";
|
|
1278
|
+
project: "project";
|
|
1279
|
+
global: "global";
|
|
1280
1280
|
}>;
|
|
1281
1281
|
}, z.core.$strip>>>;
|
|
1282
1282
|
approaches_tried: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -246,7 +246,7 @@ export declare function getTelemetrySummary(directory: string): TelemetrySummary
|
|
|
246
246
|
* @param directory - Project root directory
|
|
247
247
|
*/
|
|
248
248
|
export declare function finalizeContextTelemetry(directory: string): void;
|
|
249
|
-
declare function emitContextTelemetryHealth(
|
|
249
|
+
declare function emitContextTelemetryHealth(directory: string, payload: {
|
|
250
250
|
trigger: 'compaction' | 'close';
|
|
251
251
|
accepted: number;
|
|
252
252
|
compacted: number;
|