@overdeck/desktop 0.50.1 → 0.50.3
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/package.json +1 -1
- package/server/{acceptance-criteria-DFyrgxW5.js → acceptance-criteria-D-OIjvuX.js} +2 -2
- package/server/{active-dashboard-bundle-DbfgP8TS.js → active-dashboard-bundle-C-Ars7eG.js} +2 -2
- package/server/{activity-logger-DtdKxzPh.js → activity-logger-BRASNITk.js} +1 -1
- package/server/{activity-logger-ru8ggv-d.js → activity-logger-DNYDzAOU.js} +3 -3
- package/server/{advancing-selfheal-BdZ1iFJf.js → advancing-selfheal-Bq8V0QUa.js} +5 -5
- package/server/{agent-gc-DBMg1vIc.js → agent-gc-Coz8zQt_.js} +10 -10
- package/server/{agent-idle-CQlwmcRR.js → agent-idle-CAwB-K6M.js} +182 -30
- package/server/{agent-state-B0v3fvGI.js → agent-state-CbUEwUEQ.js} +1 -1
- package/server/{agent-state-BnyNoDWQ.js → agent-state-Ci6PhjOE.js} +1503 -245
- package/server/{agent-state-service-D95wBjA3.js → agent-state-service-D6IVrX3B.js} +5 -5
- package/server/{agent-state-service-GK2Uy8zc.js → agent-state-service-DcN1j6eK.js} +1 -1
- package/server/agents-BVvL4o_4.js +3 -0
- package/server/{agents-DMs1aLRU.js → agents-CkngXhQr.js} +4 -4
- package/server/archive-planning-CohTB7hg.js +2 -0
- package/server/{archive-planning-CFf5FVHQ.js → archive-planning-CtdBSD1-.js} +5 -5
- package/server/{artifact-index-jobs-BdeB5RIY.js → artifact-index-jobs-9ZdXQ9zH.js} +2 -2
- package/server/{auto-spawn-consent-C1avLtkk.js → auto-spawn-consent-CJeQM5e0.js} +281 -77
- package/server/{backlog-auto-trigger-oKIGNBzZ.js → backlog-auto-trigger-BuSBqG2V.js} +3 -3
- package/server/{behavior-CPX0E2Fj.js → behavior-Bg3yC8jC.js} +48 -35
- package/server/{bridge-pool-patrol-DstxbANA.js → bridge-pool-patrol-CkJ86c_r.js} +2 -2
- package/server/{briefing-freshness-FF0WLPMc.js → briefing-freshness-CEoe3yWS.js} +2 -2
- package/server/build-info-CYlxvZSQ.js +2 -0
- package/server/{build-info-DiA6h4T6.js → build-info-Cj3Y0K87.js} +3 -3
- package/server/{checkpoint-manager-CkXA-F6Z.js → checkpoint-manager-Bt4dnyyr.js} +2 -2
- package/server/{checkpoint-manager-D74ueYZp.js → checkpoint-manager-C1-9CFcu.js} +1 -1
- package/server/checkpoint-worker.js +1 -1
- package/server/{checkpoints-Ds83fUb1.js → checkpoints-3pyv5ikj.js} +2 -2
- package/server/{checkpoints-JIKy0UFv.js → checkpoints-Dgtp8549.js} +1 -1
- package/server/{claude-hooks-provision-D7Z8kANm.js → claude-hooks-provision-DWrqkc3x.js} +2 -2
- package/server/{claude-hooks-provision-BJ8LNIAe.js → claude-hooks-provision-DXac_UDF.js} +1 -1
- package/server/{claude-permissions-Bn53HCXr.js → claude-permissions-DX5BSnMH.js} +2 -2
- package/server/{claude-settings-overlay-QByq1SQa.js → claude-settings-overlay-ALboy05V.js} +1 -1
- package/server/{claude-settings-overlay-CqJZjFqv.js → claude-settings-overlay-CTkJUUHw.js} +2 -2
- package/server/{cli-BXmAb7vN.js → cli-DIhQieif.js} +11 -11
- package/server/cli-ZAS502uC.js +2 -0
- package/server/{cliproxy-ltFu5xfR.js → cliproxy-Dz_zq_4H.js} +1 -1
- package/server/{cliproxy-L_2OxNJf.js → cliproxy-QTm2vdgx.js} +2 -2
- package/server/{close-issue-BZAf0Ii-.js → close-issue-CRlmrE5g.js} +5 -5
- package/server/{closed-issue-reaper-DVtyOI4C.js → closed-issue-reaper-DWlw2EtL.js} +1 -1
- package/server/{closed-issue-reaper-BJa8SbvQ.js → closed-issue-reaper-DrHyYgJR.js} +13 -13
- package/server/{codex-BqLZKVNm.js → codex-DzLXjzbf.js} +1 -1
- package/server/{codex-DSs-3aOm.js → codex-pffr8qaN.js} +25 -18
- package/server/{compaction-continuation-TG0HYkOq.js → compaction-continuation-DhYgsXmF.js} +3 -3
- package/server/{config-DP0VV7rX.js → config-B-MLcKSo.js} +2 -2
- package/server/{config-Cx3N6gWz.js → config-BUjU7GZQ.js} +2 -2
- package/server/{config-DURnId0k.js → config-DN8ETZvK.js} +1 -1
- package/server/{config-yaml-OoH-ZpTb.js → config-yaml-Dce9VUd6.js} +416 -71
- package/server/{conflict-gate-SgOELW84.js → conflict-gate-Bt-lLgYf.js} +4 -4
- package/server/{conflict-gate-pMfhBEVB.js → conflict-gate-vczgdVTa.js} +1 -1
- package/server/{continue-Cmzd6leL.js → continue-DvNIJ-73.js} +2 -2
- package/server/{control-settings-Bdud_B1j.js → control-settings-BkaVFRdm.js} +5 -5
- package/server/{conversation-compaction-dFx_2wpa.js → conversation-compaction-CsdCbcQB.js} +8 -8
- package/server/{conversation-compaction-BX9UR8nl.js → conversation-compaction-D0zgWM1f.js} +1 -1
- package/server/{conversation-service-zgLM2g2D.js → conversation-service-6LaymUV-.js} +216 -78
- package/server/conversation-service-Dlks_hSS.js +3 -0
- package/server/conversations-BunNL58s.js +3 -0
- package/server/{conversations-JyrMSeOh.js → conversations-CPXMv_JQ.js} +11 -9
- package/server/{scanner-BEAzmMNs.js → conversations-search-DnWUghbM.js} +397 -48
- package/server/{cost-DR57uJFP.js → cost-PJXEAirJ.js} +8 -8
- package/server/{cost-CxXv7ei-.js → cost-ShD-G0cS.js} +44 -2
- package/server/{cost-MZ7EZFDc.js → cost-eaAmJTX9.js} +3 -3
- package/server/{cost-sync-Bq_dyq9k.js → cost-sync-EFEkMYWz.js} +26 -56
- package/server/{dag-CKUsr8wB.js → dag-Drz6Nrnf.js} +2 -2
- package/server/dashboard-db-worker.js +52 -10
- package/server/{deacon-C7qZxRuW.js → deacon-CU47dU7U.js} +169 -131
- package/server/{deacon-BUOpTnmQ.js → deacon-DYsOa_ss.js} +3 -3
- package/server/{deacon-canonical-state-hcaZgjoT.js → deacon-canonical-state-wi63RApC.js} +3 -3
- package/server/{deacon-event-client-Coiopt4u.js → deacon-event-client-DY8U1EbU.js} +2 -2
- package/server/{deacon-event-client-DJ71Tifg.js → deacon-event-client-uaGapjPL.js} +1 -1
- package/server/{deacon-nudge-log-pcliw8Dr.js → deacon-nudge-log-ZirGPRn1.js} +1 -1
- package/server/{deacon-pending-lifecycle-Dv0-8bZG.js → deacon-pending-lifecycle-ijGX8wLb.js} +2 -2
- package/server/deacon.js +11 -11
- package/server/{dead-end-trip-DH_hA7yS.js → dead-end-trip-B-zvz8Rw.js} +3 -3
- package/server/dead-end-trip-Caz9bf1A.js +2 -0
- package/server/delivery-DMYxIE0J.js +3 -0
- package/server/{deploy-patrol-Cv96N0s6.js → deploy-patrol-C4eXco1S.js} +8 -8
- package/server/deploy-queue-C3KIJizG.js +2 -0
- package/server/{deploy-queue-EcksuKE2.js → deploy-queue-TDZ2tzRF.js} +2 -2
- package/server/{deploy-window-BXbzS0zN.js → deploy-window-CdInEAuR.js} +4 -4
- package/server/{deploy-window-CHgL_TTN.js → deploy-window-DkjV-Haz.js} +1 -1
- package/server/{dev-supervisor-lNaYB136.js → dev-supervisor-CrYlJS2n.js} +2 -2
- package/server/{devcontainer-renderer-q8q9aXRd.js → devcontainer-renderer-DL8lfn0Y.js} +4 -4
- package/server/{docker-BNd0tMdS.js → docker-DLIwccCS.js} +1 -1
- package/server/{docker-Dk-shfga.js → docker-fz7ELYZ8.js} +3 -3
- package/server/{dod-BAk5arLF.js → dod-C9m0JqhG.js} +1 -1
- package/server/{done-preflight-CukR3Br8.js → done-preflight-CaILZ394.js} +5 -5
- package/server/{done-preflight-AiXnYYAy.js → done-preflight-DAufsWqY.js} +1 -1
- package/server/{durable-review-pipeline-Djx_lvFd.js → durable-review-pipeline-CIkgDTla.js} +1 -1
- package/server/{durable-review-pipeline-BOEZ0chh.js → durable-review-pipeline-CYcUvz1_.js} +1 -1
- package/server/{ensure-devcontainer-YXncXZ5Q.js → ensure-devcontainer-C2rKQXgr.js} +4 -4
- package/server/{ensure-devcontainer-BjMV_gdX.js → ensure-devcontainer-IQ_dNjjV.js} +1 -1
- package/server/{esm-shims-deFq5Hhl.js → esm-shims-CVzRn1Sa.js} +1 -1
- package/server/{event-store-DbjldlXW.js → event-store-BYOh686E.js} +5 -5
- package/server/{event-store-CFnLP8w-.js → event-store-Bw3YDOZ5.js} +1 -1
- package/server/{event-store-provider-Bu1Qrg6v.js → event-store-provider-B2PMoaap.js} +1 -1
- package/server/{events-Bb2x5ijT.js → events-BCPdiWG9.js} +3 -3
- package/server/{factory-DfIQG-qW.js → factory-BC18rvHD.js} +4 -4
- package/server/{feature-registry-storage-BzAGS4DA.js → feature-registry-storage-CASMzD0N.js} +2 -2
- package/server/{features-KxOILHX8.js → features-B1O5F33h.js} +2 -2
- package/server/{feedback-stuck-retirement-BqTHm-1Z.js → feedback-stuck-retirement-Dd5XNrMr.js} +2 -2
- package/server/{feedback-target-BjLidX0M.js → feedback-target-BcsA_GRV.js} +10 -10
- package/server/{feedback-target-D2CIZFwc.js → feedback-target-BzdJ2wIR.js} +1 -1
- package/server/{feedback-writer-BrSQ4fC-.js → feedback-writer-DfMoEtQc.js} +1 -1
- package/server/{feedback-writer-Dgrma-L1.js → feedback-writer-lbXBFycU.js} +5 -5
- package/server/{flywheel-Ds0eOd1P.js → flywheel-B34cdfbd.js} +1 -1
- package/server/{flywheel-X6kvGnf2.js → flywheel-D0guNqkh.js} +14 -14
- package/server/{flywheel-D5FchYg4.js → flywheel-Is3w2lcT.js} +16 -16
- package/server/{flywheel-merge-order-PTHnouQS.js → flywheel-merge-order-6HiPR2WG.js} +1 -1
- package/server/{flywheel-merge-order-BTY73Efv.js → flywheel-merge-order-BsNPMu0S.js} +8 -8
- package/server/forge-B1cpL4SY.js +2 -0
- package/server/{forge-B08cRXEb.js → forge-CEe3eFjh.js} +2 -2
- package/server/{fs-lock-DfiYlr5u.js → fs-lock-VCGoXZI5.js} +2 -2
- package/server/{fts-operations-Do1SP0w4.js → fts-operations-BNRxGCU_.js} +2 -2
- package/server/{git-info-DMOSfJ9I.js → git-info-BZYdINlU.js} +1 -1
- package/server/{git-utils-DfpFkvwk.js → git-utils-D96xW28f.js} +4 -4
- package/server/{git-utils-fcK3ZRNj.js → git-utils-DvcWLgGS.js} +1 -1
- package/server/{github-app-Co8ZhyUJ.js → github-app-BINlfWAA.js} +3 -2
- package/server/{github-app-HAqQZZRD.js → github-app-BxM1U38q.js} +1 -1
- package/server/{github-client-wqbDCmlL.js → github-client-DJVl4iDm.js} +3 -3
- package/server/{github-client-C7MUxFzX.js → github-client-oJHo9dyA.js} +1 -1
- package/server/{github-pr-lookup-DdLCDdu9.js → github-pr-lookup-DQEtdiyR.js} +2 -2
- package/server/{harness-binary-BuakhXkB.js → harness-binary-DnRGvN6T.js} +6 -3
- package/server/{harness-resolve-CISjc9FR.js → harness-resolve-CzTFVZ5l.js} +4 -4
- package/server/{health-events-CIE7gy34.js → health-events-CF2WMNkI.js} +2 -2
- package/server/{health-events-9RhRGZK1.js → health-events-Dv7rzyit.js} +1 -1
- package/server/{hooks-CmL3TXla.js → hooks-DKzqJ4HF.js} +1 -1
- package/server/{hooks-D55VTdQS.js → hooks-lPAsUc20.js} +2 -2
- package/server/hume-51rYfjzX.js +3 -0
- package/server/{hume-1FJmNDTq.js → hume-CxfI2cg-.js} +2 -2
- package/server/{identity-CZbJ0xpl.js → identity-Dc7rQLln.js} +3 -3
- package/server/{idle-stack-reaper-CjovDCet.js → idle-stack-reaper-C0NYGCVq.js} +4 -4
- package/server/{idle-stack-reaper-DhbFdkWv.js → idle-stack-reaper-CNLvCrg9.js} +1 -1
- package/server/{in-flight-guard-B7khcBdQ.js → in-flight-guard-HoToxzGt.js} +1 -1
- package/server/{infra-BbSWNOpH.js → infra-B05o-e2g.js} +4 -4
- package/server/{injection-DsQDBSEi.js → injection-Bk_pw2Ei.js} +1 -1
- package/server/{injection-BSnn_10a.js → injection-DkaIMCnX.js} +8 -8
- package/server/{inspect-agent-DS8j2v6U.js → inspect-agent-CP7Bu47O.js} +14 -12
- package/server/inspect-agent-DTuSg95i.js +2 -0
- package/server/{internal-token-CkrMLCLU.js → internal-token-CWcdG-Kw.js} +1 -1
- package/server/{internal-token-CUKcTWSG.js → internal-token-Ci0LxMIq.js} +2 -2
- package/server/{io-BgzG56av.js → io-Cm4Sf_6P.js} +4 -4
- package/server/{issue-closed-DZEwD3ol.js → issue-closed-D7aMUeMq.js} +7 -7
- package/server/{issue-lifecycle-LgYeE1o2.js → issue-lifecycle-BPbczKyy.js} +32 -30
- package/server/{issue-lifecycle-Bnfbpkmk.js → issue-lifecycle-FaugTi39.js} +1 -1
- package/server/{issue-service-singleton-Bsb0GaY8.js → issue-service-singleton-BrZQJLRI.js} +11 -11
- package/server/{issue-service-singleton-COEqWNKE.js → issue-service-singleton-Dsad9NTt.js} +1 -1
- package/server/{issue-title-fallback-D4_b2XwP.js → issue-title-fallback-BDxHa3-u.js} +3 -3
- package/server/{issues-DYAEUW45.js → issues-Q62MKOV_.js} +2 -2
- package/server/{jsonl-parser-1IqHI9Yb.js → jsonl-parser-DSJisyfy.js} +5 -4
- package/server/{jsonl-resolver-BJ8Hg-yD.js → jsonl-resolver-DQEe0DHM.js} +12 -9
- package/server/kimi-code-Cx5YUJpS.js +3 -0
- package/server/{kimi-parser-DFsZQArz.js → kimi-parser-5VpMzIDq.js} +2 -2
- package/server/{label-cleanup-Bej6xDZK.js → label-cleanup-DjQGmcZQ.js} +3 -3
- package/server/{lifecycle-BibLMHBH.js → lifecycle-BSQIQ1Sq.js} +2 -2
- package/server/{lifecycle-CMpSB9sn.js → lifecycle-DZFHmpGI.js} +6 -6
- package/server/{lifecycle-io-CLWwYZaR.js → lifecycle-io-Bv4XQMRi.js} +1 -1
- package/server/{lifecycle-io-CCCAMefe.js → lifecycle-io-CW__VX8s.js} +5 -5
- package/server/{linear-client-BtYl16Cy.js → linear-client-DnX3CcAL.js} +1 -1
- package/server/{linear-client-fpL-qJEa.js → linear-client-DrRZ3We7.js} +4 -7
- package/server/{linear-mcp-auth-nAYWoUbH.js → linear-mcp-auth-BFlpMvWh.js} +5 -5
- package/server/{linear-mcp-auth-CQ7ROT1X.js → linear-mcp-auth-DylPJABZ.js} +1 -1
- package/server/memory-fts-worker.js +1 -1
- package/server/{memory-governor-Mi5zF5zw.js → memory-governor-B7uDWRo9.js} +29 -22
- package/server/{merge-_XIivhkq.js → merge-BGozpxFt.js} +3 -3
- package/server/{merge-DCuDLiy9.js → merge-CphMVME2.js} +1 -1
- package/server/{merge-agent-svBDRWB6.js → merge-agent-ddEcZDZD.js} +2 -2
- package/server/{merge-agent-zF9vqWqY.js → merge-agent-ttRY053V.js} +32 -32
- package/server/{merge-batch-BJjzUUL7.js → merge-batch-CBQ2YYuy.js} +1 -1
- package/server/{merge-completeness-CeQheehh.js → merge-completeness-CsSvQJxw.js} +1 -1
- package/server/{merge-completeness-CQPqu-pI.js → merge-completeness-YQbhKLPk.js} +4 -4
- package/server/{merge-eligibility-CJrBhQQe.js → merge-eligibility-BGqmx_bG.js} +1 -1
- package/server/{merge-eligibility-DhxVE8qU.js → merge-eligibility-CvQBc_9D.js} +4 -4
- package/server/merge-ops-Bgc-EScO.js +2 -0
- package/server/{merge-rebase-Bjo45m3k.js → merge-rebase-BbLnMyfQ.js} +2 -2
- package/server/merge-rebase-BgYoyMul.js +2 -0
- package/server/{merge-set-COZvz2nx.js → merge-set-DRPWriK9.js} +4 -4
- package/server/{merge-set-ChxZgjBB.js → merge-set-DaU9Ruxy.js} +1 -1
- package/server/{merge-sync-DuJ6Vkl3.js → merge-sync-BRKJM70R.js} +1 -1
- package/server/{merge-sync-CCi1Esdx.js → merge-sync-CTGkR1_m.js} +2 -2
- package/server/{merge-train-deps-C0P0qGKe.js → merge-train-deps-GPlHOjK6.js} +4 -4
- package/server/{merge-train-DTJXF8ph.js → merge-train-f_un38UJ.js} +4 -4
- package/server/{merge-verification-C5FexOBZ.js → merge-verification-BPBW3Hu3.js} +6 -6
- package/server/{merged-docker-cleanup-worker-0SEDG3Ao.js → merged-docker-cleanup-worker-By0YSsIP.js} +1 -1
- package/server/{merged-docker-cleanup-worker-C-kSp_jw.js → merged-docker-cleanup-worker-zMzGriKp.js} +3 -3
- package/server/messaging-BasbftDu.js +3 -0
- package/server/muse-parser-CFchR2vh.js +89 -0
- package/server/muse-session-CrSRuauJ.js +56 -0
- package/server/{no-resume-mode-DjMQRkId.js → no-resume-mode-BsvYzqbB.js} +1 -1
- package/server/node_modules/.package-lock.json +8 -8
- package/server/node_modules/@types/node/README.md +3 -3
- package/server/node_modules/@types/node/assert/strict.d.ts +56 -13
- package/server/node_modules/@types/node/assert.d.ts +190 -189
- package/server/node_modules/@types/node/async_hooks.d.ts +43 -151
- package/server/node_modules/@types/node/buffer.buffer.d.ts +13 -12
- package/server/node_modules/@types/node/buffer.d.ts +237 -103
- package/server/node_modules/@types/node/child_process.d.ts +154 -39
- package/server/node_modules/@types/node/cluster.d.ts +384 -238
- package/server/node_modules/@types/node/compatibility/disposable.d.ts +14 -0
- package/server/node_modules/@types/node/compatibility/index.d.ts +9 -0
- package/server/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
- package/server/node_modules/@types/node/compatibility/iterators.d.ts +20 -0
- package/server/node_modules/@types/node/console.d.ts +404 -45
- package/server/node_modules/@types/node/constants.d.ts +10 -3
- package/server/node_modules/@types/node/crypto.d.ts +1600 -1007
- package/server/node_modules/@types/node/dgram.d.ts +81 -133
- package/server/node_modules/@types/node/diagnostics_channel.d.ts +59 -277
- package/server/node_modules/@types/node/dns/promises.d.ts +15 -9
- package/server/node_modules/@types/node/dns.d.ts +183 -136
- package/server/node_modules/@types/node/domain.d.ts +32 -12
- package/server/node_modules/@types/node/events.d.ts +696 -728
- package/server/node_modules/@types/node/fs/promises.d.ts +85 -256
- package/server/node_modules/@types/node/fs.d.ts +525 -865
- package/server/node_modules/@types/node/globals.d.ts +34 -12
- package/server/node_modules/@types/node/globals.typedarray.d.ts +0 -63
- package/server/node_modules/@types/node/http.d.ts +312 -433
- package/server/node_modules/@types/node/http2.d.ts +891 -545
- package/server/node_modules/@types/node/https.d.ts +243 -64
- package/server/node_modules/@types/node/index.d.ts +7 -25
- package/server/node_modules/@types/node/inspector.d.ts +58 -70
- package/server/node_modules/@types/node/inspector.generated.d.ts +411 -765
- package/server/node_modules/@types/node/module.d.ts +219 -54
- package/server/node_modules/@types/node/net.d.ts +222 -208
- package/server/node_modules/@types/node/os.d.ts +49 -41
- package/server/node_modules/@types/node/package.json +3 -13
- package/server/node_modules/@types/node/path.d.ts +141 -119
- package/server/node_modules/@types/node/perf_hooks.d.ts +690 -339
- package/server/node_modules/@types/node/process.d.ts +205 -389
- package/server/node_modules/@types/node/punycode.d.ts +31 -3
- package/server/node_modules/@types/node/querystring.d.ts +16 -3
- package/server/node_modules/@types/node/readline/promises.d.ts +6 -3
- package/server/node_modules/@types/node/readline.d.ts +152 -66
- package/server/node_modules/@types/node/repl.d.ts +109 -101
- package/server/node_modules/@types/node/sea.d.ts +116 -1
- package/server/node_modules/@types/node/sqlite.d.ts +68 -486
- package/server/node_modules/@types/node/stream/consumers.d.ts +15 -91
- package/server/node_modules/@types/node/stream/promises.d.ts +15 -136
- package/server/node_modules/@types/node/stream/web.d.ts +454 -197
- package/server/node_modules/@types/node/stream.d.ts +491 -603
- package/server/node_modules/@types/node/string_decoder.d.ts +43 -3
- package/server/node_modules/@types/node/test.d.ts +292 -513
- package/server/node_modules/@types/node/timers/promises.d.ts +18 -3
- package/server/node_modules/@types/node/timers.d.ts +141 -3
- package/server/node_modules/@types/node/tls.d.ts +257 -166
- package/server/node_modules/@types/node/trace_events.d.ts +97 -3
- package/server/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +8 -7
- package/server/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -2
- package/server/node_modules/@types/node/ts5.6/index.d.ts +6 -26
- package/server/node_modules/@types/node/tty.d.ts +43 -61
- package/server/node_modules/@types/node/url.d.ts +584 -156
- package/server/node_modules/@types/node/util.d.ts +1110 -181
- package/server/node_modules/@types/node/v8.d.ts +36 -175
- package/server/node_modules/@types/node/vm.d.ts +209 -292
- package/server/node_modules/@types/node/wasi.d.ts +74 -24
- package/server/node_modules/@types/node/web-globals/abortcontroller.d.ts +2 -27
- package/server/node_modules/@types/node/web-globals/domexception.d.ts +0 -15
- package/server/node_modules/@types/node/web-globals/events.d.ts +0 -9
- package/server/node_modules/@types/node/web-globals/fetch.d.ts +0 -14
- package/server/node_modules/@types/node/web-globals/navigator.d.ts +0 -3
- package/server/node_modules/@types/node/web-globals/streams.d.ts +0 -93
- package/server/node_modules/@types/node/worker_threads.d.ts +407 -257
- package/server/node_modules/@types/node/zlib.d.ts +165 -24
- package/server/node_modules/undici-types/agent.d.ts +13 -12
- package/server/node_modules/undici-types/api.d.ts +26 -26
- package/server/node_modules/undici-types/balanced-pool.d.ts +12 -13
- package/server/node_modules/undici-types/client.d.ts +37 -63
- package/server/node_modules/undici-types/connector.d.ts +2 -5
- package/server/node_modules/undici-types/cookies.d.ts +1 -3
- package/server/node_modules/undici-types/diagnostics-channel.d.ts +10 -18
- package/server/node_modules/undici-types/dispatcher.d.ts +139 -136
- package/server/node_modules/undici-types/env-http-proxy-agent.d.ts +3 -4
- package/server/node_modules/undici-types/errors.d.ts +54 -92
- package/server/node_modules/undici-types/eventsource.d.ts +4 -9
- package/server/node_modules/undici-types/fetch.d.ts +25 -51
- package/server/node_modules/undici-types/file.d.ts +39 -0
- package/server/node_modules/undici-types/filereader.d.ts +54 -0
- package/server/node_modules/undici-types/formdata.d.ts +7 -7
- package/server/node_modules/undici-types/global-dispatcher.d.ts +4 -4
- package/server/node_modules/undici-types/global-origin.d.ts +5 -5
- package/server/node_modules/undici-types/handlers.d.ts +9 -10
- package/server/node_modules/undici-types/header.d.ts +1 -162
- package/server/node_modules/undici-types/index.d.ts +47 -69
- package/server/node_modules/undici-types/interceptors.d.ts +9 -72
- package/server/node_modules/undici-types/mock-agent.d.ts +18 -36
- package/server/node_modules/undici-types/mock-client.d.ts +4 -6
- package/server/node_modules/undici-types/mock-errors.d.ts +3 -3
- package/server/node_modules/undici-types/mock-interceptor.d.ts +21 -26
- package/server/node_modules/undici-types/mock-pool.d.ts +4 -6
- package/server/node_modules/undici-types/package.json +1 -1
- package/server/node_modules/undici-types/patch.d.ts +4 -0
- package/server/node_modules/undici-types/pool-stats.d.ts +8 -8
- package/server/node_modules/undici-types/pool.d.ts +14 -14
- package/server/node_modules/undici-types/proxy-agent.d.ts +6 -14
- package/server/node_modules/undici-types/readable.d.ts +16 -19
- package/server/node_modules/undici-types/retry-agent.d.ts +1 -1
- package/server/node_modules/undici-types/retry-handler.d.ts +10 -19
- package/server/node_modules/undici-types/util.d.ts +3 -3
- package/server/node_modules/undici-types/webidl.d.ts +30 -148
- package/server/node_modules/undici-types/websocket.d.ts +10 -48
- package/server/{orphan-proposed-reconciler-BSsKWmsB.js → orphan-proposed-reconciler-DFHdQSEg.js} +21 -21
- package/server/{orphan-proposed-reconciler--V8GIzmY.js → orphan-proposed-reconciler-DzAxrM99.js} +2 -2
- package/server/package-lock.json +9 -9
- package/server/package.json +1 -1
- package/server/{pan-dir-COaYhZel.js → pan-dir-Bs9fme2I.js} +4 -4
- package/server/{parked-residue-Dvr4W9P6.js → parked-residue-DMtbxJml.js} +31 -31
- package/server/{paths-Cm1Q7Old.js → paths-eTg2jV4C.js} +2 -2
- package/server/{pickup-Dle6k9Xt.js → pickup-TwHZNJn4.js} +1 -1
- package/server/{pipeline-agent-reader-DCCwbUj8.js → pipeline-agent-reader-CHugmNSx.js} +3 -3
- package/server/{pipeline-membership-C9ykcjsn.js → pipeline-membership-BvkkuVml.js} +1 -1
- package/server/{pipeline-membership-BV4hdkHm.js → pipeline-membership-DxJOJOjn.js} +1 -1
- package/server/{pipeline-membership-gather-UN7kHpCD.js → pipeline-membership-gather-QYMqf_Wf.js} +10 -10
- package/server/{pipeline-membership-gather-DGoDOfKO.js → pipeline-membership-gather-fivITe13.js} +1 -1
- package/server/{pipeline-notifier-DsCfxoSU.js → pipeline-notifier-DUxiacft.js} +1 -1
- package/server/{pipeline-notifier-DfH2i_zP.js → pipeline-notifier-vZqcB2Ts.js} +2 -2
- package/server/{post-merge-lifecycle-worker-V51p8tSm.js → post-merge-lifecycle-worker-jzN2g_EY.js} +2 -2
- package/server/{post-merge-state-Cym5NVlB.js → post-merge-state-DGlkiVIO.js} +4 -4
- package/server/{prd-locations-CPuMD55x.js → prd-locations-Chcvxzle.js} +3 -3
- package/server/{project-pipelines-DdDKdXrG.js → project-pipelines-BXB5FlFs.js} +2 -2
- package/server/{project-repos-CNrLxJDg.js → project-repos-BVSXziAz.js} +1 -1
- package/server/{project-repos-DqAT7YV6.js → project-repos-J6jc42uD.js} +2 -2
- package/server/{project-resource-refresh-queue-Dh8k2SB7.js → project-resource-refresh-queue-DebwjPPA.js} +17 -17
- package/server/{project-resource-refresh-queue-C-umDazS.js → project-resource-refresh-queue-cqOeJ0fB.js} +1 -1
- package/server/{projects-Crur9uCa.js → projects-DXgHD2Xl.js} +1 -1
- package/server/{prompts-CvtVJUpG.js → prompts-BJ8Twvtl.js} +2 -2
- package/server/{providers-Bun8zer5.js → providers-Bx-PKo3d.js} +1 -1
- package/server/{providers-1BlEh5x1.js → providers-DQogCKG0.js} +7 -7
- package/server/public/assets/{chunk-BO2N2NFS-DzUNVdeo.js → chunk-BO2N2NFS-CefmGH8f.js} +4 -4
- package/server/public/assets/{chunk-K2UTITRG-CopEAH22.js → chunk-K2UTITRG-DS0TExnd.js} +2 -2
- package/server/public/assets/codicon-ngg6Pgfi.ttf +0 -0
- package/server/public/assets/{diagram-OG6HWLK6-D5iThVwA.js → diagram-OG6HWLK6-DYPEQqOy.js} +1 -1
- package/server/public/assets/{dist-RyrOs5EF.js → dist-D0_QiSJD.js} +1 -1
- package/server/public/assets/{dist-BLq-IR2D.js → dist-DVcb72hI.js} +3 -3
- package/server/public/assets/editor.worker-Bd9IXS8d.js +26 -0
- package/server/public/assets/{ganttDiagram-6RSMTGT7-n8bUPXAS.js → ganttDiagram-6RSMTGT7-C0TVczXo.js} +1 -1
- package/server/public/assets/{highlighted-body-OFNGDK62-1npo3yiG.js → highlighted-body-OFNGDK62-DqOVJX4H.js} +1 -1
- package/server/public/assets/image-GAAHSSAO-DQ2ivYhs.js +1 -0
- package/server/public/assets/index-CFZuwq0-.css +1 -0
- package/server/public/assets/index-CWCooHwg.js +1732 -0
- package/server/public/assets/{linear-Dd96gky1.js → linear-45MX5LeL.js} +1 -1
- package/server/public/assets/markdown-Budfoo9I.js +1 -0
- package/server/public/assets/mermaid-GHXKKRXX-71HgceZK.js +1 -0
- package/server/public/assets/{pieDiagram-4H26LBE5-CynZvpYP.js → pieDiagram-4H26LBE5-BSyYJciD.js} +1 -1
- package/server/public/assets/{prod-DBuCX9g-.js → prod-CcWF3Ag1.js} +5 -5
- package/server/public/assets/{quadrantDiagram-W4KKPZXB-BNlEKLKN.js → quadrantDiagram-W4KKPZXB-DyPGNivi.js} +1 -1
- package/server/public/assets/{sankeyDiagram-5OEKKPKP-Cq0AMnkD.js → sankeyDiagram-5OEKKPKP-CdiSWvwI.js} +1 -1
- package/server/public/assets/{xychartDiagram-2RQKCTM6-D7GXcBy2.js → xychartDiagram-2RQKCTM6-BZeywmN2.js} +1 -1
- package/server/public/index.html +2 -2
- package/server/pull-requests-DLiyKC8q.js +2 -0
- package/server/{pull-requests-DrhWU9MW.js → pull-requests-EBvcAtZO.js} +3 -3
- package/server/{rally-api-CNlcoTFM.js → rally-api-2KW2hJUT.js} +2 -2
- package/server/{rally-api-BdNfpNGk.js → rally-api-BtWOXNna.js} +1 -1
- package/server/{rally-client-C3eB9TM-.js → rally-client-CAQtSqJJ.js} +5 -5
- package/server/{rally-client-BCU7mVWE.js → rally-client-DK8Ac35q.js} +1 -1
- package/server/{rally-D5QkIZeb.js → rally-k5qOLHHK.js} +3 -3
- package/server/rally-vmQx9f0C.js +3 -0
- package/server/{rebuild-stack-BupKggo5.js → rebuild-stack-DSQSgPCI.js} +2 -2
- package/server/rebuild-stack-xdGFthJn.js +370 -0
- package/server/{reconciler-ComAOr_F.js → reconciler-xH7d13Wo.js} +6 -6
- package/server/{reconstruct-cache-DbjgwKRi.js → reconstruct-cache-Bb2Jg2DZ.js} +7 -7
- package/server/{record-C4JJCL2f.js → record-Dsceq536.js} +1 -1
- package/server/{record-update-CWwZsp9Y.js → record-update-CLtgirnZ.js} +1 -1
- package/server/{record-update-Cl56NqoQ.js → record-update-T3PMrwE-.js} +4 -4
- package/server/{recovery-trip-DA7tCXbp.js → recovery-trip-7JFHFjeo.js} +3 -3
- package/server/{recovery-trip-DFtSA8h5.js → recovery-trip-B7UdNXjP.js} +1 -1
- package/server/{release-engine-Dk99C48O.js → release-engine-78iCajIc.js} +5 -5
- package/server/{release-set-x8KH3nrE.js → release-set-B_sH_Mud.js} +3 -3
- package/server/{remote-DyZIg94K.js → remote-C9eYHTqn.js} +3 -3
- package/server/{remote-agents-MbWzm5Fh.js → remote-agents-CEOvYsvK.js} +1 -1
- package/server/{remote-agents-Blb0vO_M.js → remote-agents-CthcZHnO.js} +6 -6
- package/server/{remote-completion-Bcd13o-J.js → remote-completion-D5wzZCte.js} +12 -12
- package/server/{remote-BMZmJC5E.js → remote-gWXJyhJK.js} +3 -3
- package/server/{resolver-CZVWKCx0.js → resolver-BGZh3lXA.js} +7 -7
- package/server/{resolver-tJeEkPK5.js → resolver-ChLZFIjB.js} +2 -2
- package/server/{memory-pressure-patrol-CDeDh46A.js → resource-pressure-patrol-Bg23rPV-.js} +110 -9
- package/server/{resume-DmF2andq.js → resume-BKyB4hA1.js} +1 -1
- package/server/{review-agent-CmJeQc0K.js → review-agent-DHs-JngN.js} +52 -35
- package/server/{review-agent-DM9S22BL.js → review-agent-ZdP-HmwY.js} +2 -2
- package/server/{review-artifacts-DCiaejJK.js → review-artifacts-DExSp5Lh.js} +6 -6
- package/server/{review-convoy-liveness-C9F1Q1LN.js → review-convoy-liveness-BTMvU4CA.js} +8 -8
- package/server/{review-run-recovery-CRGBh7xs.js → review-run-recovery-BYalQzbh.js} +1 -1
- package/server/{review-run-recovery-C5TEICtx.js → review-run-recovery-BvVG3oUr.js} +2 -2
- package/server/{review-status-C3PJkfjv.js → review-status-BegAr86G.js} +33 -31
- package/server/{review-status-CDs0jQV6.js → review-status-DXTFzCmR.js} +1 -1
- package/server/{review-status-emit-De6PF3ZH.js → review-status-emit-C9YW6SQL.js} +3 -3
- package/server/{review-status-enrichment-CclcG8jk.js → review-status-enrichment-DRJKuIwU.js} +3 -3
- package/server/{review-status-sync-wvgdR1yZ.js → review-status-sync-CHt0oq_3.js} +2 -2
- package/server/{review-status-sync-B3GKewT_.js → review-status-sync-DEGnJMfG.js} +1 -1
- package/server/{review-verdict-feedback-DkMx_cKj.js → review-verdict-feedback-Dp139Lmv.js} +1 -1
- package/server/{review-verdict-feedback-20s9pG0w.js → review-verdict-feedback-qlVBi19-.js} +7 -7
- package/server/{review-verdict-writer-CaJPCD-q.js → review-verdict-writer-BVco3WoI.js} +1 -1
- package/server/{review-verdict-writer-BcG5RBWF.js → review-verdict-writer-CJr_Ob0Y.js} +7 -7
- package/server/{rollup-C-GXHbTG.js → rollup-H2NWuNhX.js} +8 -8
- package/server/{rollup-DR250WyW.js → rollup-iPhJvI-2.js} +1 -1
- package/server/{search-BN0MYpZW.js → search-BtgzCB2W.js} +2 -2
- package/server/{secret-redaction-DLZ-VqHq.js → secret-redaction-EqpTK7R6.js} +1 -1
- package/server/{sequence-io-BmVO0K-_.js → sequence-io-iljWlslY.js} +4 -4
- package/server/{sequencer-agent-CuA9PA_R.js → sequencer-agent-BGGVKxtw.js} +11 -6
- package/server/server.js +1526 -1240
- package/server/{service-D1SZCxH8.js → service-kzhN0DLg.js} +58 -58
- package/server/{session-fork--SMYFKVu.js → session-fork-B3hkpes1.js} +2 -2
- package/server/{settings-CETdzCl6.js → settings-BpM0Ergn.js} +3 -3
- package/server/settings-CW_lAaJv.js +2 -0
- package/server/{settings-CFi7CdJo.js → settings-aBz_GpBq.js} +9 -2
- package/server/{shadow-engineering-CNTXaC9O.js → shadow-engineering-C7kypoM-.js} +2 -2
- package/server/{shadow-state-6jSyeXQ7.js → shadow-state-Db5ExiBP.js} +1 -1
- package/server/{shadow-state-CtYJGNXt.js → shadow-state-IG8JSXgD.js} +2 -2
- package/server/{shadow-utils-Cq5eMfwI.js → shadow-utils-DSDsJXLD.js} +2 -2
- package/server/{ship-record-STA0P11l.js → ship-record-80n1CYp9.js} +6 -6
- package/server/{ship-record-neN0oUI9.js → ship-record-DN8voLiQ.js} +1 -1
- package/server/{ship-status-DzDpufmj.js → ship-status-CJvaa4QB.js} +2 -2
- package/server/{smart-compaction-tndAhwoc.js → smart-compaction-C96F2aFQ.js} +7 -7
- package/server/{smart-compaction-CdtKIcDk.js → smart-compaction-owKHJDbL.js} +1 -1
- package/server/{spawn-planning-session-1XLgDLjR.js → spawn-planning-session-CiJdOHTD.js} +2 -2
- package/server/{spawn-planning-session-CAncCBLX.js → spawn-planning-session-FmJa6PCS.js} +41 -50
- package/server/{specialist-context-B054OP_a.js → specialist-context-_ootmzn2.js} +5 -5
- package/server/{specialist-handoff-logger-B7jzypoX.js → specialist-handoff-logger-4QCjIBPO.js} +2 -2
- package/server/{specialist-logs-DVhOLpwy.js → specialist-logs-BbAX221-.js} +3 -3
- package/server/{specialists-CC_Mnc47.js → specialists-COZoYaiz.js} +266 -173
- package/server/{specialists-8Pc--yZI.js → specialists-D8sYZnPb.js} +2 -2
- package/server/{specialists-BVBIMc4L.js → specialists-DTAOVZpU.js} +1 -1
- package/server/{specialists-ChvCD2a-.js → specialists-RPLJnYc1.js} +19 -19
- package/server/{specialists-registry-Cim1fPcM.js → specialists-registry-CNbvfOcy.js} +2 -2
- package/server/{specialists-registry-CoPNlhud.js → specialists-registry-DqgQIxpu.js} +1 -1
- package/server/specs-ChqOBhAF.js +3 -0
- package/server/{src-C7gGe4KU.js → src-Cz63twgJ.js} +2 -2
- package/server/{src-CdwN6WY6.js → src-tnFSfiXX.js} +126 -18
- package/server/{stack-health-CvdnSVBV.js → stack-health-D0j1RhAj.js} +1 -1
- package/server/{stack-health-DPXaoAus.js → stack-health-Y8O3UuPe.js} +3 -3
- package/server/{stale-task-claims-UoNLemTn.js → stale-task-claims-Db6yxeFz.js} +5 -5
- package/server/{staleness-CxZaIhrn.js → staleness-CyM7ACHv.js} +1 -1
- package/server/{staleness-r_dkMyMG.js → staleness-akWxgpIu.js} +1 -1
- package/server/{stall-sweeper-C9S8FYKz.js → stall-sweeper-9bRBZhrQ.js} +8 -8
- package/server/{state-home-BhI8O5lU.js → state-home-CWu1dx9L.js} +2 -2
- package/server/{state-mapping-D2yC81Vy.js → state-mapping-CdvWOIhv.js} +1 -1
- package/server/{state-migrate-DtFHcOVZ.js → state-migrate-J3tFJnbd.js} +6 -6
- package/server/{state-mirror-CpuHFxHb.js → state-mirror-DQKpsskH.js} +3 -3
- package/server/{stuck-remediation-B4nKm7B2.js → stuck-remediation-4Rf_xMEb.js} +13 -13
- package/server/{stuck-remediation-hSOOYB9B.js → stuck-remediation-BvTK_NYN.js} +1 -1
- package/server/{substrate-bug-weights-service-B9f0063E.js → substrate-bug-weights-service-9nrkZcaP.js} +3 -3
- package/server/{summary-fork-CUyEqFyc.js → summary-fork-D-cylknJ.js} +51 -13
- package/server/{summary-fork-DZcsOvDD.js → summary-fork-PLcckTRE.js} +2 -2
- package/server/supervisor/{injection-budget-BOH-EiFB.js → injection-budget-DfPSjiS7.js} +1 -1
- package/server/supervisor/pty-supervisor.js +1 -1
- package/server/{supervisor-CGtOs9Em.js → supervisor-B2_uXxHQ.js} +4 -4
- package/server/supervisor-DSSr9_E4.js +2 -0
- package/server/{swarm-readiness-0N2p9d2C.js → swarm-readiness-BkVvnCdr.js} +3 -3
- package/server/{synthesis-verdict-CQdLbK1-.js → synthesis-verdict-BtJAwMS3.js} +2 -2
- package/server/{synthesis-verdict-CJdseCuz.js → synthesis-verdict-b1uY2m9Q.js} +1 -1
- package/server/{system-prerequisites-DkDOEjQP.js → system-prerequisites-zlmZiJzn.js} +14 -2
- package/server/{teardown-workspace-BxFMcWu7.js → teardown-workspace-CTL16rnG.js} +16 -16
- package/server/{test-agent-queue-Dxeae55k.js → test-agent-queue-CMgYZiR_.js} +6 -6
- package/server/{test-verdict-CJ-to_Hc.js → test-verdict-BaiFCApG.js} +1 -1
- package/server/{test-verdict-hW5kILg7.js → test-verdict-DhjFE4Go.js} +2 -2
- package/server/{tldr-daemon-DKCumqHU.js → tldr-daemon-CW1MhBkM.js} +1 -1
- package/server/{tldr-daemon-caxXegkF.js → tldr-daemon-CYr67NdC.js} +2 -2
- package/server/{tmux-C-hxv71f.js → tmux-aj9rscol.js} +2 -2
- package/server/{tmux-CvAEO9yo.js → tmux-l-yvNWhg.js} +2 -2
- package/server/{token-BdfZLRg1.js → token-BO7DAEyM.js} +2 -2
- package/server/{token-util-Crcay9j_.js → token-util-C_1EI72O.js} +1 -1
- package/server/token-util-msNwng7E.js +3 -0
- package/server/{tracker-config-BjqwtkcT.js → tracker-config-Qq_kEwYh.js} +2 -2
- package/server/{tracker-utils-0cDe6yil.js → tracker-utils-McMENyKj.js} +2 -2
- package/server/{traefik-connect-DoQvQ6oJ.js → traefik-connect-BZWNRHOd.js} +1 -1
- package/server/{tunnel-BEM7-jgE.js → tunnel-BElVxdZw.js} +1 -1
- package/server/{tunnel-SgALz_Pi.js → tunnel-D01HhYX5.js} +3 -3
- package/server/{typed-errors-CZ3GFBvo.js → typed-errors-CKb5wNaG.js} +1 -1
- package/server/{typed-errors-DXqf3RnP.js → typed-errors-uJ-V6edU.js} +1 -1
- package/server/{types-PW4zkxCM.js → types-JR7ZOtpL.js} +1 -1
- package/server/{uat-failure-feedback-BQzpUFQ6.js → uat-failure-feedback-DS6W9X3I.js} +5 -5
- package/server/{uat-promote-verification-BUltWC-b.js → uat-promote-verification-CRsIHE_q.js} +5 -5
- package/server/{uat-train-B71QG16n.js → uat-train-BoA9r6_I.js} +1 -1
- package/server/{uat-train-BLJ0AAIc.js → uat-train-Cd8CJeNe.js} +22 -22
- package/server/{validate-DqEp2Yb9.js → validate-BdmvTIym.js} +3 -3
- package/server/{validation-k4EpMHm0.js → validation-ApKDjkLH.js} +1 -1
- package/server/{validation-DHEsL3RP.js → validation-Dxdai-37.js} +14 -4
- package/server/{verification-artifact-DglwaHke.js → verification-artifact-DhIkPgrP.js} +1 -1
- package/server/{verification-artifact-Cmhgq4b_.js → verification-artifact-olosZdZU.js} +1 -1
- package/server/{verification-runner-Bbc-8BbR.js → verification-runner-BO0K3xNA.js} +1 -1
- package/server/{verification-runner-BC_zNOq5.js → verification-runner-fEY1Qj-l.js} +31 -23
- package/server/{work-agent-prompt-DM3uza0_.js → work-agent-prompt-BEpIuqw1.js} +10 -10
- package/server/{work-agent-prompt-CQWlmw_y.js → work-agent-prompt-Csr4vMbl.js} +1 -1
- package/server/{work-agent-start-cKf7rly8.js → work-agent-start-DA3P_ABv.js} +2 -2
- package/server/{work-agent-start-BColr1oI.js → work-agent-start-DWBmIRlg.js} +1 -1
- package/server/workflows-CgGNyl1z.js +2 -0
- package/server/{workflows-DrC85n8j.js → workflows-CxVnygYU.js} +28 -28
- package/server/{workspace-G3Cus8e9.js → workspace-BO8fIfW9.js} +1 -1
- package/server/{workspace-ChRFy_F9.js → workspace-BWYfzfPV.js} +3 -3
- package/server/{workspace-anchor-drift-DBbyK_Mf.js → workspace-anchor-drift-BMSxf9wp.js} +1 -1
- package/server/{workspace-anchor-drift-z7TjOORC.js → workspace-anchor-drift-RJcMD1EV.js} +4 -4
- package/server/{workspace-config-D-bNq2CF.js → workspace-config-CoAaYx_w.js} +1 -1
- package/server/{workspace-manager-Db3pCmr7.js → workspace-manager-CnAyRh3v.js} +45 -380
- package/server/workspace-manager-D0jJ7StJ.js +4 -0
- package/server/{workspace-metadata-C5Ie2FMZ.js → workspace-metadata-Copcoih9.js} +2 -2
- package/server/{workspace-metadata-Do-L6GFP.js → workspace-metadata-ILlbk8AX.js} +1 -1
- package/server/{workspaces-D0MWw7Mx.js → workspaces-Cpz0xJWQ.js} +112 -112
- package/server/worktree-ops-CV-pRvyW.js +3 -0
- package/server/worktree-ops-Cnk1voFY.js +369 -0
- package/sync-sources/rules/context-nomenclature.md +4 -3
- package/sync-sources/rules/rule-authoring.md +3 -3
- package/sync-sources/skills/knowledge-capture/SKILL.md +13 -13
- package/sync-sources/skills/pan-new-project/SKILL.md +2 -2
- package/sync-sources/skills/pan-projects/SKILL.md +3 -3
- package/sync-sources/skills/pan-sync/SKILL.md +8 -10
- package/sync-sources/skills/refactor-radar/SKILL.md +12 -12
- package/server/agents-BdkVgjxC.js +0 -3
- package/server/archive-planning-CNSWQPvz.js +0 -2
- package/server/assemble-D88iFkP-.js +0 -365
- package/server/build-info-Df2tkRrB.js +0 -2
- package/server/cli-BjznnCC3.js +0 -2
- package/server/context-layers-D0QBOPJJ.js +0 -4
- package/server/context-layers-LY5zt0da.js +0 -37
- package/server/conversation-service-B3h1erHm.js +0 -3
- package/server/conversations-Ch7UGi0F.js +0 -3
- package/server/dead-end-trip-B91w2PGV.js +0 -2
- package/server/delivery-zJM4aIkf.js +0 -3
- package/server/deploy-queue-2cN86Lg4.js +0 -2
- package/server/forge-egNLsjVi.js +0 -2
- package/server/hume-gXLmRhmN.js +0 -3
- package/server/inspect-agent-BuSYgRQs.js +0 -2
- package/server/kimi-code-Cdkk9vRU.js +0 -3
- package/server/kimi-code-DwqLCWFw.js +0 -581
- package/server/merge-ops-CUzpOPtO.js +0 -2
- package/server/merge-rebase-DkfcUT60.js +0 -2
- package/server/messaging-DQi-WEFB.js +0 -3
- package/server/node_modules/@types/node/ffi.d.ts +0 -486
- package/server/node_modules/@types/node/inspector/promises.d.ts +0 -35
- package/server/node_modules/@types/node/path/posix.d.ts +0 -8
- package/server/node_modules/@types/node/path/win32.d.ts +0 -8
- package/server/node_modules/@types/node/quic.d.ts +0 -2153
- package/server/node_modules/@types/node/stream/iter.d.ts +0 -452
- package/server/node_modules/@types/node/test/reporters.d.ts +0 -59
- package/server/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
- package/server/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
- package/server/node_modules/@types/node/ts5.7/index.d.ts +0 -118
- package/server/node_modules/@types/node/util/types.d.ts +0 -558
- package/server/node_modules/@types/node/vfs.d.ts +0 -211
- package/server/node_modules/@types/node/web-globals/blob.d.ts +0 -23
- package/server/node_modules/@types/node/web-globals/console.d.ts +0 -9
- package/server/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
- package/server/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
- package/server/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
- package/server/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
- package/server/node_modules/@types/node/web-globals/performance.d.ts +0 -45
- package/server/node_modules/@types/node/web-globals/timers.d.ts +0 -44
- package/server/node_modules/@types/node/web-globals/url.d.ts +0 -24
- package/server/node_modules/@types/node/zlib/iter.d.ts +0 -131
- package/server/node_modules/undici-types/cache-interceptor.d.ts +0 -179
- package/server/node_modules/undici-types/client-stats.d.ts +0 -15
- package/server/node_modules/undici-types/dispatcher1-wrapper.d.ts +0 -7
- package/server/node_modules/undici-types/h2c-client.d.ts +0 -73
- package/server/node_modules/undici-types/mock-call-history.d.ts +0 -111
- package/server/node_modules/undici-types/round-robin-pool.d.ts +0 -39
- package/server/node_modules/undici-types/snapshot-agent.d.ts +0 -113
- package/server/node_modules/undici-types/socks5-proxy-agent.d.ts +0 -25
- package/server/node_modules/undici-types/utility.d.ts +0 -7
- package/server/public/assets/image-GAAHSSAO-rafcvWHh.js +0 -1
- package/server/public/assets/index-BvN8bWpz.js +0 -860
- package/server/public/assets/index-DgoS288w.css +0 -1
- package/server/public/assets/mermaid-GHXKKRXX-fP93Za-W.js +0 -1
- package/server/pull-requests-DV_rJ-1u.js +0 -2
- package/server/rally-DlXjOIAG.js +0 -3
- package/server/rebuild-stack-CNknXJHL.js +0 -197
- package/server/settings-EGNbGKpP.js +0 -2
- package/server/specs-Dvq4sOy6.js +0 -3
- package/server/supervisor-DoJpD33i.js +0 -2
- package/server/token-util-DfUS3Lpp.js +0 -3
- package/server/workflows-CLrEiTds.js +0 -2
- package/server/workspace-manager-gz9Amovn.js +0 -3
- /package/server/public/assets/{pica-CgYEdS5s.js → pica-DPvnTcFS.js} +0 -0
- /package/server/public/assets/{wasm-DNrvLWf-.js → wasm-Ca_Unakq.js} +0 -0
|
@@ -1,16 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as getOverdeckDatabaseSync, f as init_infra } from "./infra-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { t as
|
|
1
|
+
import { $r as FsError, Ir as resolveModelIdSync, Pr as init_model_capabilities, Qr as ConfigError, Ri as init_paths, Ui as sessionFilePath, a as getConversationsConfigSync, dr as getProviderEnvSync, fn as init_projects, fr as getProviderForModelSync, jr as getModelCapabilitySync, ki as encodeClaudeProjectDir, p as loadConfigSync, pr as init_providers, t as init_config_yaml, ui as init_errors, vn as listProjectsSync } from "./config-yaml-Dce9VUd6.js";
|
|
2
|
+
import { d as getOverdeckDatabaseSync, f as init_infra } from "./infra-B05o-e2g.js";
|
|
3
|
+
import { n as openDatabase, t as init_driver } from "./driver-BtcFz-qu.js";
|
|
4
|
+
import { o as getPricingSync, s as init_cost, t as calculateCostSync } from "./cost-ShD-G0cS.js";
|
|
5
|
+
import { o as init_codex_rollout_message, s as readCodexRolloutMessage } from "./behavior-Bg3yC8jC.js";
|
|
6
|
+
import { n as isBackgroundFeatureEnabled, t as init_features } from "./features-B1O5F33h.js";
|
|
7
|
+
import { Ct as insertEmbedding, Dt as topKCosine, Et as searchFtsSessions, Ot as updateEnrichment, St as init_discovered_sessions, Tt as markEnrichmentFailed, _t as getDiscoveredSessionById, dt as countDiscoveredSessions, ft as countFtsSessions, gt as findEnrichedSessionIdsMissingEmbedding, ht as findDiscoveredSessions, kt as upsertDiscoveredSession, mt as findDiscoveredSessionIds, pt as ensureDiscoveredSessionsSchema, ut as buildFilterSql, vt as getDiscoveredSessionByJsonlPath, wt as loadEmbeddings, xt as getEmbedding } from "./conversations-CPXMv_JQ.js";
|
|
8
|
+
import { i as museSessionId, n as listMuseSessionPaths, t as init_muse_session } from "./muse-session-CrSRuauJ.js";
|
|
9
|
+
import { a as summarizeMuseRecords, n as museTimestamp, r as parseMuseRecords, t as init_muse_parser } from "./muse-parser-CFchR2vh.js";
|
|
10
|
+
import { n as recordBackgroundAiCost, t as init_cost$1 } from "./cost-eaAmJTX9.js";
|
|
11
|
+
import { t as redactSensitiveText } from "./secret-redaction-EqpTK7R6.js";
|
|
12
|
+
import { createRequire } from "node:module";
|
|
13
|
+
import { dirname } from "node:path";
|
|
9
14
|
import { Data, Duration, Effect, FileSystem } from "effect";
|
|
10
15
|
import { createReadStream, promises } from "fs";
|
|
11
|
-
import { basename, join, relative, resolve } from "path";
|
|
16
|
+
import { basename as basename$1, join as join$1, relative as relative$1, resolve as resolve$1 } from "path";
|
|
12
17
|
import { cpus, freemem, homedir, tmpdir } from "os";
|
|
13
18
|
import { platform as platform$1 } from "node:os";
|
|
19
|
+
import { existsSync as existsSync$1, mkdirSync as mkdirSync$1 } from "node:fs";
|
|
20
|
+
import { readFile } from "node:fs/promises";
|
|
14
21
|
import { ChildProcess } from "effect/unstable/process";
|
|
15
22
|
import { spawn } from "node:child_process";
|
|
16
23
|
import { ChildProcessSpawner as ChildProcessSpawner$1 } from "effect/unstable/process/ChildProcessSpawner";
|
|
@@ -19,6 +26,7 @@ import * as readline from "readline";
|
|
|
19
26
|
import { createInterface } from "readline";
|
|
20
27
|
//#region ../../lib/conversations/embeddings/providers.ts
|
|
21
28
|
init_paths();
|
|
29
|
+
init_driver();
|
|
22
30
|
init_infra();
|
|
23
31
|
init_discovered_sessions();
|
|
24
32
|
/**
|
|
@@ -472,6 +480,9 @@ init_cost$1();
|
|
|
472
480
|
* Map of model ID to provider
|
|
473
481
|
*/
|
|
474
482
|
const MODEL_PROVIDERS = {
|
|
483
|
+
"muse-spark-1.3": "meta",
|
|
484
|
+
"muse-spark-1.3-contributor": "meta",
|
|
485
|
+
"claude-fable-5-1": "anthropic",
|
|
475
486
|
"claude-fable-5": "anthropic",
|
|
476
487
|
"claude-opus-5": "anthropic",
|
|
477
488
|
"claude-opus-4-8": "anthropic",
|
|
@@ -498,6 +509,8 @@ const MODEL_PROVIDERS = {
|
|
|
498
509
|
"o3-deep-research": "openai",
|
|
499
510
|
"gpt-4o": "openai",
|
|
500
511
|
"gpt-4o-mini": "openai",
|
|
512
|
+
"gemini-3.8-flash": "google",
|
|
513
|
+
"gemini-3.5-flash-lite": "google",
|
|
501
514
|
"gemini-3.1-pro-preview": "google",
|
|
502
515
|
"gemini-3-flash-preview": "google",
|
|
503
516
|
"gemini-3.1-flash-lite-preview": "google",
|
|
@@ -514,6 +527,7 @@ const MODEL_PROVIDERS = {
|
|
|
514
527
|
"minimax-m2.7": "minimax",
|
|
515
528
|
"minimax-m2.7-highspeed": "minimax",
|
|
516
529
|
"MiniMax-M3": "minimax",
|
|
530
|
+
"glm-5.3": "zai",
|
|
517
531
|
"glm-5.2": "zai",
|
|
518
532
|
"glm-5.1": "zai",
|
|
519
533
|
"glm-4.7": "zai",
|
|
@@ -525,6 +539,8 @@ const MODEL_PROVIDERS = {
|
|
|
525
539
|
"qwen3-coder-plus": "dashscope",
|
|
526
540
|
"qwen3-plus": "dashscope",
|
|
527
541
|
"qwen3.7-max": "dashscope",
|
|
542
|
+
"qwen3.7-plus": "dashscope",
|
|
543
|
+
"qwen3.8-flash": "dashscope",
|
|
528
544
|
"qwen3.8-max": "dashscope",
|
|
529
545
|
"grok-build-0.1": "xai",
|
|
530
546
|
"ql-reason-70b": "quantumllama",
|
|
@@ -632,12 +648,14 @@ const TIER_RANK = {
|
|
|
632
648
|
* This is distinct from all other providers which use simple identifiers without slashes.
|
|
633
649
|
*/
|
|
634
650
|
function isOpenRouterModelSync(modelId) {
|
|
635
|
-
return modelId.includes("/") && modelId !== "qwen/qwen3.6-plus";
|
|
651
|
+
return modelId.includes("/") && modelId !== "qwen/qwen3.6-plus" && !modelId.startsWith("opencode/") && !modelId.startsWith("opencode-go/");
|
|
636
652
|
}
|
|
637
653
|
/**
|
|
638
654
|
* Get the provider for a model ID
|
|
639
655
|
*/
|
|
640
656
|
function getModelProviderSync(modelId) {
|
|
657
|
+
if (modelId.startsWith("opencode/")) return "opencode";
|
|
658
|
+
if (modelId.startsWith("opencode-go/")) return "opencode-go";
|
|
641
659
|
if (isOpenRouterModelSync(modelId)) return "openrouter";
|
|
642
660
|
const direct = MODEL_PROVIDERS[modelId];
|
|
643
661
|
if (direct) return direct;
|
|
@@ -701,6 +719,10 @@ function getBestAnthropicAtTier(targetTier, originalModelId) {
|
|
|
701
719
|
*/
|
|
702
720
|
function applyTierAwareFallbackSync(modelId, enabledProviders, userTier) {
|
|
703
721
|
const provider = getModelProviderSync(modelId);
|
|
722
|
+
if (provider === "meta") {
|
|
723
|
+
if (!isProviderEnabled(provider, enabledProviders)) throw new Error("Meta (Muse) is disabled; enable it in Settings before selecting a Muse model");
|
|
724
|
+
return modelId;
|
|
725
|
+
}
|
|
704
726
|
if (!isProviderEnabled(provider, enabledProviders)) {
|
|
705
727
|
const fallback = getFallbackModelSync(modelId);
|
|
706
728
|
if (isProviderEnabled("anthropic", enabledProviders)) {
|
|
@@ -2143,7 +2165,7 @@ var HashResolver = class {
|
|
|
2143
2165
|
function extractHashFromJsonlPath(jsonlPath) {
|
|
2144
2166
|
const match = jsonlPath.match(/\.claude[/\\]projects[/\\]([^/\\]+)/);
|
|
2145
2167
|
if (match?.[1]) return match[1];
|
|
2146
|
-
return basename(jsonlPath.replace(/[/\\][^/\\]+$/, ""));
|
|
2168
|
+
return basename$1(jsonlPath.replace(/[/\\][^/\\]+$/, ""));
|
|
2147
2169
|
}
|
|
2148
2170
|
/**
|
|
2149
2171
|
* Collect candidate workspace paths by walking watchDirs one level deep.
|
|
@@ -2164,11 +2186,11 @@ function projectCandidateRoots() {
|
|
|
2164
2186
|
}
|
|
2165
2187
|
async function addCandidateRoot(candidates, dir) {
|
|
2166
2188
|
try {
|
|
2167
|
-
const resolved = dir.startsWith("~/") ? join(homedir(), dir.slice(2)) : dir;
|
|
2189
|
+
const resolved = dir.startsWith("~/") ? join$1(homedir(), dir.slice(2)) : dir;
|
|
2168
2190
|
if (!(await promises.stat(resolved).catch(() => null))?.isDirectory()) return;
|
|
2169
2191
|
candidates.add(resolved);
|
|
2170
2192
|
const entries = await promises.readdir(resolved, { withFileTypes: true }).catch(() => []);
|
|
2171
|
-
for (const entry of entries) if (entry.isDirectory() && !entry.name.startsWith(".")) candidates.add(join(resolved, entry.name));
|
|
2193
|
+
for (const entry of entries) if (entry.isDirectory() && !entry.name.startsWith(".")) candidates.add(join$1(resolved, entry.name));
|
|
2172
2194
|
} catch {}
|
|
2173
2195
|
}
|
|
2174
2196
|
//#endregion
|
|
@@ -2260,7 +2282,7 @@ const detectDriveType = Effect.gen(function* () {
|
|
|
2260
2282
|
/** Measure sequential read speed by reading a 10MB temp file. */
|
|
2261
2283
|
const measureDriveReadSpeed = Effect.gen(function* () {
|
|
2262
2284
|
const SAMPLE_SIZE_BYTES = 10 * 1024 * 1024;
|
|
2263
|
-
const tmpFile = join(tmpdir(), `pan-probe-${process.pid}.bin`);
|
|
2285
|
+
const tmpFile = join$1(tmpdir(), `pan-probe-${process.pid}.bin`);
|
|
2264
2286
|
const fs = yield* FileSystem.FileSystem;
|
|
2265
2287
|
return yield* Effect.gen(function* () {
|
|
2266
2288
|
const buf = new Uint8Array(SAMPLE_SIZE_BYTES);
|
|
@@ -2377,36 +2399,31 @@ function mergeCorrelation(base, override) {
|
|
|
2377
2399
|
}
|
|
2378
2400
|
//#endregion
|
|
2379
2401
|
//#region ../../lib/conversations/harness-discovery.ts
|
|
2380
|
-
|
|
2381
|
-
* Per-harness session discovery sources (PAN-2224).
|
|
2382
|
-
*
|
|
2383
|
-
* Enumerates JSONL session files without parsing metadata. Missing roots are
|
|
2384
|
-
* skipped silently; permission failures are reported through warnings.
|
|
2385
|
-
*/
|
|
2402
|
+
init_muse_session();
|
|
2386
2403
|
const discoverySources = [
|
|
2387
2404
|
{
|
|
2388
2405
|
harness: "claude-code",
|
|
2389
|
-
roots: () => [join(homedir(), ".claude", "projects")],
|
|
2406
|
+
roots: () => [join$1(homedir(), ".claude", "projects")],
|
|
2390
2407
|
collect: collectClaudeProjectFiles
|
|
2391
2408
|
},
|
|
2392
2409
|
{
|
|
2393
2410
|
harness: "pi",
|
|
2394
|
-
roots: () => [join(homedir(), ".pi", "agent", "sessions")],
|
|
2411
|
+
roots: () => [join$1(homedir(), ".pi", "agent", "sessions")],
|
|
2395
2412
|
collect: (root, warnings) => collectPiFamilyRoot(root, "pi", warnings)
|
|
2396
2413
|
},
|
|
2397
2414
|
{
|
|
2398
2415
|
harness: "ohmypi",
|
|
2399
|
-
roots: () => [join(homedir(), ".omp", "agent", "sessions")],
|
|
2416
|
+
roots: () => [join$1(homedir(), ".omp", "agent", "sessions")],
|
|
2400
2417
|
collect: (root, warnings) => collectPiFamilyRoot(root, "ohmypi", warnings)
|
|
2401
2418
|
},
|
|
2402
2419
|
{
|
|
2403
2420
|
harness: "codex",
|
|
2404
|
-
roots: () => [join(homedir(), ".codex", "sessions")],
|
|
2421
|
+
roots: () => [join$1(homedir(), ".codex", "sessions")],
|
|
2405
2422
|
collect: (root, warnings) => collectJsonlFiles(root, root, "codex", warnings ?? [])
|
|
2406
2423
|
},
|
|
2407
2424
|
{
|
|
2408
2425
|
harness: "agent-dirs",
|
|
2409
|
-
roots: () => [join(homedir(), ".overdeck", "agents")],
|
|
2426
|
+
roots: () => [join$1(homedir(), ".overdeck", "agents")],
|
|
2410
2427
|
collect: collectAgentDirFiles
|
|
2411
2428
|
}
|
|
2412
2429
|
];
|
|
@@ -2419,7 +2436,7 @@ async function collectClaudeProjectFiles(claudeProjectsDir, warnings = [], targe
|
|
|
2419
2436
|
const result = [];
|
|
2420
2437
|
let projectDirs;
|
|
2421
2438
|
try {
|
|
2422
|
-
projectDirs = (await promises.readdir(claudeProjectsDir, { withFileTypes: true })).filter((e) => e.isDirectory()).map((e) => join(claudeProjectsDir, e.name));
|
|
2439
|
+
projectDirs = (await promises.readdir(claudeProjectsDir, { withFileTypes: true })).filter((e) => e.isDirectory()).map((e) => join$1(claudeProjectsDir, e.name));
|
|
2423
2440
|
} catch (err) {
|
|
2424
2441
|
if (isMissingRoot(err)) return result;
|
|
2425
2442
|
if (isPermissionError(err)) warnings.push(`Permission denied while scanning ${claudeProjectsDir}`);
|
|
@@ -2443,7 +2460,7 @@ async function collectPiFamilyRoot(root, harness, warnings = []) {
|
|
|
2443
2460
|
}
|
|
2444
2461
|
for (const entry of entries) {
|
|
2445
2462
|
const name = String(entry.name);
|
|
2446
|
-
const fullPath = join(root, name);
|
|
2463
|
+
const fullPath = join$1(root, name);
|
|
2447
2464
|
if (entry.isFile() && name.endsWith(".jsonl")) result.push({
|
|
2448
2465
|
projectDir: root,
|
|
2449
2466
|
jsonlPath: fullPath,
|
|
@@ -2465,16 +2482,25 @@ async function collectAgentDirFiles(root, warnings = []) {
|
|
|
2465
2482
|
}
|
|
2466
2483
|
for (const entry of entries) {
|
|
2467
2484
|
if (!entry.isDirectory()) continue;
|
|
2468
|
-
const agentDir = join(root, entry.name);
|
|
2469
|
-
|
|
2485
|
+
const agentDir = join$1(root, entry.name);
|
|
2486
|
+
let agentHarness = await readAgentHarness(agentDir);
|
|
2487
|
+
if (!agentHarness && (entry.name.startsWith("conv-") || entry.name.startsWith("conversation-"))) {
|
|
2488
|
+
const { getConversationByTmuxSession } = await import("./conversations-BunNL58s.js");
|
|
2489
|
+
agentHarness = getConversationByTmuxSession(entry.name)?.harness ?? null;
|
|
2490
|
+
}
|
|
2470
2491
|
const piHarness = agentHarness === "pi" || agentHarness === "ohmypi" ? agentHarness : "ohmypi";
|
|
2471
|
-
result.push(...await collectPiFamilyRoot(join(agentDir, "sessions"), piHarness, warnings));
|
|
2472
|
-
await collectAgentRootFiles(agentDir, piHarness, warnings, result);
|
|
2473
|
-
await collectJsonlFiles(join(agentDir, "codex-home", "sessions"), join(agentDir, "codex-home", "sessions"), "codex", warnings, result);
|
|
2492
|
+
result.push(...await collectPiFamilyRoot(join$1(agentDir, "sessions"), piHarness, warnings));
|
|
2493
|
+
await collectAgentRootFiles(agentDir, piHarness, warnings, result, agentHarness === "opencode" ? "opencode" : "acp");
|
|
2494
|
+
await collectJsonlFiles(join$1(agentDir, "codex-home", "sessions"), join$1(agentDir, "codex-home", "sessions"), "codex", warnings, result);
|
|
2495
|
+
for (const jsonlPath of await listMuseSessionPaths(entry.name, root)) result.push({
|
|
2496
|
+
projectDir: agentDir,
|
|
2497
|
+
jsonlPath,
|
|
2498
|
+
harness: "muse"
|
|
2499
|
+
});
|
|
2474
2500
|
}
|
|
2475
2501
|
return result;
|
|
2476
2502
|
}
|
|
2477
|
-
async function collectAgentRootFiles(agentDir, piHarness, warnings, result) {
|
|
2503
|
+
async function collectAgentRootFiles(agentDir, piHarness, warnings, result, acpHarness) {
|
|
2478
2504
|
let entries;
|
|
2479
2505
|
try {
|
|
2480
2506
|
entries = await promises.readdir(agentDir, { withFileTypes: true });
|
|
@@ -2487,12 +2513,12 @@ async function collectAgentRootFiles(agentDir, piHarness, warnings, result) {
|
|
|
2487
2513
|
if (!entry.isFile()) continue;
|
|
2488
2514
|
if (name === "acp-session.jsonl") result.push({
|
|
2489
2515
|
projectDir: agentDir,
|
|
2490
|
-
jsonlPath: join(agentDir, name),
|
|
2491
|
-
harness:
|
|
2516
|
+
jsonlPath: join$1(agentDir, name),
|
|
2517
|
+
harness: acpHarness
|
|
2492
2518
|
});
|
|
2493
2519
|
else if (isPiWorkAgentJsonl(name)) result.push({
|
|
2494
2520
|
projectDir: agentDir,
|
|
2495
|
-
jsonlPath: join(agentDir, name),
|
|
2521
|
+
jsonlPath: join$1(agentDir, name),
|
|
2496
2522
|
harness: piHarness
|
|
2497
2523
|
});
|
|
2498
2524
|
}
|
|
@@ -2508,7 +2534,7 @@ async function collectJsonlFiles(projectDir, dir, harness, warnings = [], result
|
|
|
2508
2534
|
}
|
|
2509
2535
|
for (const entry of entries) {
|
|
2510
2536
|
const name = String(entry.name);
|
|
2511
|
-
const fullPath = join(dir, name);
|
|
2537
|
+
const fullPath = join$1(dir, name);
|
|
2512
2538
|
if (entry.isFile() && name.endsWith(".jsonl")) result.push({
|
|
2513
2539
|
projectDir,
|
|
2514
2540
|
jsonlPath: fullPath,
|
|
@@ -2520,7 +2546,7 @@ async function collectJsonlFiles(projectDir, dir, harness, warnings = [], result
|
|
|
2520
2546
|
}
|
|
2521
2547
|
async function readAgentHarness(agentDir) {
|
|
2522
2548
|
try {
|
|
2523
|
-
const raw = await promises.readFile(join(agentDir, "state.json"), "utf8");
|
|
2549
|
+
const raw = await promises.readFile(join$1(agentDir, "state.json"), "utf8");
|
|
2524
2550
|
const parsed = JSON.parse(raw);
|
|
2525
2551
|
return typeof parsed.harness === "string" ? parsed.harness : null;
|
|
2526
2552
|
} catch {
|
|
@@ -2531,7 +2557,7 @@ function isPiWorkAgentJsonl(name) {
|
|
|
2531
2557
|
return /^[^/]+_[^/]+\.jsonl$/.test(name);
|
|
2532
2558
|
}
|
|
2533
2559
|
function projectDirMatchesAnyTarget$1(projectDir, targetEncodings) {
|
|
2534
|
-
const hash = basename(projectDir);
|
|
2560
|
+
const hash = basename$1(projectDir);
|
|
2535
2561
|
return targetEncodings.some((enc) => hash === enc || hash.startsWith(enc + "-"));
|
|
2536
2562
|
}
|
|
2537
2563
|
function isMissingRoot(err) {
|
|
@@ -2546,6 +2572,8 @@ function isPermissionError(err) {
|
|
|
2546
2572
|
/**
|
|
2547
2573
|
* Harness-specific metadata parsers for discovered sessions (PAN-2224).
|
|
2548
2574
|
*/
|
|
2575
|
+
init_muse_session();
|
|
2576
|
+
init_muse_parser();
|
|
2549
2577
|
init_codex_rollout_message();
|
|
2550
2578
|
const FILE_TOOLS = new Set([
|
|
2551
2579
|
"read",
|
|
@@ -2771,6 +2799,28 @@ function extractFilePath(toolName, input) {
|
|
|
2771
2799
|
const path = input["file_path"] ?? input["path"] ?? input["file"];
|
|
2772
2800
|
return typeof path === "string" && path.length > 0 ? path : null;
|
|
2773
2801
|
}
|
|
2802
|
+
/** Native root events only; private reasoning/configuration never enter discovery metadata. */
|
|
2803
|
+
async function parseMuseSessionMetadata(filePath) {
|
|
2804
|
+
const result = emptySessionMetadata();
|
|
2805
|
+
const records = parseMuseRecords(await readFile(filePath, "utf8"));
|
|
2806
|
+
result.sessionId = museSessionId(filePath);
|
|
2807
|
+
for (const record of records) {
|
|
2808
|
+
if (record.payload_type === "runtime.session.metadata") {
|
|
2809
|
+
result.cwdFromFirstMessage = record.payload?.record?.workspace_root ?? result.cwdFromFirstMessage;
|
|
2810
|
+
result.primaryModel = record.payload?.record?.model_id ?? result.primaryModel;
|
|
2811
|
+
}
|
|
2812
|
+
const event = record.payload?.kind === "run" ? record.payload.event : void 0;
|
|
2813
|
+
if (event?.kind === "started" || event?.kind === "assistant_message_committed") {
|
|
2814
|
+
result.messageCount++;
|
|
2815
|
+
recordTimestamp(result, museTimestamp(record));
|
|
2816
|
+
}
|
|
2817
|
+
}
|
|
2818
|
+
const usage = summarizeMuseRecords(records, filePath);
|
|
2819
|
+
result.modelsUsed = result.primaryModel ? [result.primaryModel] : [];
|
|
2820
|
+
result.tokenInput = usage ? usage.usage.inputTokens + (usage.usage.cacheReadTokens ?? 0) : 0;
|
|
2821
|
+
result.tokenOutput = usage?.usage.outputTokens ?? 0;
|
|
2822
|
+
return result;
|
|
2823
|
+
}
|
|
2774
2824
|
//#endregion
|
|
2775
2825
|
//#region ../../lib/conversations/scanner.ts
|
|
2776
2826
|
/**
|
|
@@ -2806,7 +2856,8 @@ async function scan(opts) {
|
|
|
2806
2856
|
const parseMetadata = (file) => {
|
|
2807
2857
|
if (file.harness === "pi" || file.harness === "ohmypi") return parsePiSessionMetadata(file.jsonlPath);
|
|
2808
2858
|
if (file.harness === "codex") return parseCodexSessionMetadata(file.jsonlPath);
|
|
2809
|
-
if (file.harness === "
|
|
2859
|
+
if (file.harness === "muse") return parseMuseSessionMetadata(file.jsonlPath);
|
|
2860
|
+
if (file.harness === "acp" || file.harness === "opencode") return parseAcpSessionMetadata(file.jsonlPath);
|
|
2810
2861
|
return parseJsonl(file.jsonlPath);
|
|
2811
2862
|
};
|
|
2812
2863
|
const resolveWorkspace = async (file, cwdFromFirstMessage) => {
|
|
@@ -2816,7 +2867,7 @@ async function scan(opts) {
|
|
|
2816
2867
|
workspaceHash: null,
|
|
2817
2868
|
warning: null
|
|
2818
2869
|
};
|
|
2819
|
-
if (file.harness === "codex" || file.harness === "acp") return {
|
|
2870
|
+
if (file.harness === "codex" || file.harness === "acp" || file.harness === "opencode") return {
|
|
2820
2871
|
workspacePath: resolveAgentWorkspace(file.jsonlPath),
|
|
2821
2872
|
workspaceHash: null,
|
|
2822
2873
|
warning: null
|
|
@@ -3022,22 +3073,320 @@ function targetEncodingsForMode(opts) {
|
|
|
3022
3073
|
return (opts.mode === "targeted" ? opts.dirs ?? [] : opts.watchDirs ?? []).map(normalizeDir).map(encodeClaudeProjectDir);
|
|
3023
3074
|
}
|
|
3024
3075
|
function projectDirMatchesAnyTarget(projectDir, targetEncodings) {
|
|
3025
|
-
const hash = basename(projectDir);
|
|
3076
|
+
const hash = basename$1(projectDir);
|
|
3026
3077
|
return targetEncodings.some((enc) => hash === enc || hash.startsWith(enc + "-"));
|
|
3027
3078
|
}
|
|
3028
3079
|
function workspaceUnderAnyDir(workspacePath, dirs) {
|
|
3029
3080
|
if (!workspacePath) return false;
|
|
3030
|
-
const normalizedWorkspace = resolve(normalizeDir(workspacePath));
|
|
3031
|
-
return dirs.map((dir) => resolve(normalizeDir(dir))).some((dir) => {
|
|
3032
|
-
const rel = relative(dir, normalizedWorkspace);
|
|
3081
|
+
const normalizedWorkspace = resolve$1(normalizeDir(workspacePath));
|
|
3082
|
+
return dirs.map((dir) => resolve$1(normalizeDir(dir))).some((dir) => {
|
|
3083
|
+
const rel = relative$1(dir, normalizedWorkspace);
|
|
3033
3084
|
return rel === "" || !rel.startsWith("..") && !rel.startsWith("/") && rel !== "..";
|
|
3034
3085
|
});
|
|
3035
3086
|
}
|
|
3036
3087
|
function normalizeDir(dir) {
|
|
3037
|
-
if (dir.startsWith("~/")) return join(homedir(), dir.slice(2));
|
|
3088
|
+
if (dir.startsWith("~/")) return join$1(homedir(), dir.slice(2));
|
|
3038
3089
|
return dir;
|
|
3039
3090
|
}
|
|
3040
3091
|
//#endregion
|
|
3041
|
-
|
|
3092
|
+
//#region ../../lib/database/conversation-embeddings-db.ts
|
|
3093
|
+
/**
|
|
3094
|
+
* Conversation Embeddings Sidecar Database (PAN-1395)
|
|
3095
|
+
*
|
|
3096
|
+
* Manages ~/.overdeck/conversations/embeddings.db:
|
|
3097
|
+
* - chunks source table keyed by (session_id, byte_offset)
|
|
3098
|
+
* - FTS5 virtual table for BM25 keyword search
|
|
3099
|
+
* - sqlite-vec vec0 virtual table for cosine ANN search
|
|
3100
|
+
* - file_cursors for idempotent incremental indexing
|
|
3101
|
+
*
|
|
3102
|
+
* Only safe to call from the Node 22 dashboard server — uses the shared SQLite
|
|
3103
|
+
* adapter plus the sqlite-vec native extension.
|
|
3104
|
+
*
|
|
3105
|
+
* Fail-closed: if sqlite-vec cannot be loaded, open() returns { available: false }
|
|
3106
|
+
* and no embeddings or vector search are performed.
|
|
3107
|
+
*/
|
|
3108
|
+
const _require = createRequire(import.meta.url);
|
|
3109
|
+
const SCHEMA_VERSION = 1;
|
|
3110
|
+
function tableExists(db, tableName) {
|
|
3111
|
+
return db.prepare(`SELECT 1 FROM sqlite_master WHERE type IN ('table', 'virtual table') AND name = ?`).get(tableName) !== void 0;
|
|
3112
|
+
}
|
|
3113
|
+
function getConfigValue(db, key) {
|
|
3114
|
+
if (!tableExists(db, "db_config")) return void 0;
|
|
3115
|
+
return db.prepare("SELECT value FROM db_config WHERE key = ?").get(key)?.value;
|
|
3116
|
+
}
|
|
3117
|
+
function initSchema(db, dimensions) {
|
|
3118
|
+
db.exec(`
|
|
3119
|
+
-- Source of truth: one row per indexed chunk, rowid shared with FTS + vec
|
|
3120
|
+
CREATE TABLE IF NOT EXISTS chunks (
|
|
3121
|
+
rowid INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
3122
|
+
session_id TEXT NOT NULL,
|
|
3123
|
+
project_id TEXT NOT NULL,
|
|
3124
|
+
role TEXT NOT NULL,
|
|
3125
|
+
ts TEXT,
|
|
3126
|
+
byte_offset INTEGER NOT NULL,
|
|
3127
|
+
char_length INTEGER NOT NULL,
|
|
3128
|
+
text TEXT NOT NULL,
|
|
3129
|
+
token_count INTEGER NOT NULL DEFAULT 0,
|
|
3130
|
+
indexed_at TEXT NOT NULL,
|
|
3131
|
+
UNIQUE(session_id, byte_offset)
|
|
3132
|
+
);
|
|
3133
|
+
|
|
3134
|
+
-- FTS5 for BM25 keyword search; content= keeps text stored in chunks
|
|
3135
|
+
CREATE VIRTUAL TABLE IF NOT EXISTS chunks_fts USING fts5(
|
|
3136
|
+
text,
|
|
3137
|
+
content='chunks',
|
|
3138
|
+
content_rowid='rowid',
|
|
3139
|
+
tokenize='porter ascii'
|
|
3140
|
+
);
|
|
3141
|
+
|
|
3142
|
+
-- Triggers to keep chunks_fts in sync with chunks
|
|
3143
|
+
CREATE TRIGGER IF NOT EXISTS chunks_ai AFTER INSERT ON chunks BEGIN
|
|
3144
|
+
INSERT INTO chunks_fts(rowid, text) VALUES (new.rowid, new.text);
|
|
3145
|
+
END;
|
|
3146
|
+
CREATE TRIGGER IF NOT EXISTS chunks_au AFTER UPDATE ON chunks BEGIN
|
|
3147
|
+
INSERT INTO chunks_fts(chunks_fts, rowid, text) VALUES ('delete', old.rowid, old.text);
|
|
3148
|
+
INSERT INTO chunks_fts(rowid, text) VALUES (new.rowid, new.text);
|
|
3149
|
+
END;
|
|
3150
|
+
CREATE TRIGGER IF NOT EXISTS chunks_ad AFTER DELETE ON chunks BEGIN
|
|
3151
|
+
INSERT INTO chunks_fts(chunks_fts, rowid, text) VALUES ('delete', old.rowid, old.text);
|
|
3152
|
+
END;
|
|
3153
|
+
|
|
3154
|
+
-- Incremental indexing cursors (one row per JSONL file)
|
|
3155
|
+
CREATE TABLE IF NOT EXISTS file_cursors (
|
|
3156
|
+
file_path TEXT PRIMARY KEY,
|
|
3157
|
+
byte_offset INTEGER NOT NULL DEFAULT 0,
|
|
3158
|
+
updated_at TEXT NOT NULL
|
|
3159
|
+
);
|
|
3160
|
+
|
|
3161
|
+
-- DB metadata (dimensions, schema version, etc.)
|
|
3162
|
+
CREATE TABLE IF NOT EXISTS db_config (
|
|
3163
|
+
key TEXT PRIMARY KEY,
|
|
3164
|
+
value TEXT NOT NULL
|
|
3165
|
+
);
|
|
3166
|
+
`);
|
|
3167
|
+
db.exec(`
|
|
3168
|
+
CREATE VIRTUAL TABLE IF NOT EXISTS chunks_vec USING vec0(
|
|
3169
|
+
embedding float[${dimensions}]
|
|
3170
|
+
);
|
|
3171
|
+
`);
|
|
3172
|
+
db.prepare(`INSERT OR IGNORE INTO db_config(key, value) VALUES (?, ?)`).run("dimensions", String(dimensions));
|
|
3173
|
+
db.prepare(`INSERT OR REPLACE INTO db_config(key, value) VALUES (?, ?)`).run("schema_version", String(SCHEMA_VERSION));
|
|
3174
|
+
if (db.pragma("user_version", { simple: true }) < SCHEMA_VERSION) db.pragma(`user_version = ${SCHEMA_VERSION}`);
|
|
3175
|
+
}
|
|
3176
|
+
function prepareStmts(db) {
|
|
3177
|
+
return {
|
|
3178
|
+
upsertChunk: db.prepare(`
|
|
3179
|
+
INSERT INTO chunks(session_id, project_id, role, ts, byte_offset, char_length, text, token_count, indexed_at)
|
|
3180
|
+
VALUES (@sessionId, @projectId, @role, @ts, @byteOffset, @charLength, @text, @tokenCount, @indexedAt)
|
|
3181
|
+
ON CONFLICT(session_id, byte_offset) DO UPDATE SET
|
|
3182
|
+
project_id = excluded.project_id,
|
|
3183
|
+
role = excluded.role,
|
|
3184
|
+
ts = excluded.ts,
|
|
3185
|
+
char_length = excluded.char_length,
|
|
3186
|
+
text = excluded.text,
|
|
3187
|
+
token_count = excluded.token_count,
|
|
3188
|
+
indexed_at = excluded.indexed_at
|
|
3189
|
+
RETURNING rowid
|
|
3190
|
+
`),
|
|
3191
|
+
deleteEmbeddingByRowid: db.prepare(`
|
|
3192
|
+
DELETE FROM chunks_vec WHERE rowid = CAST(? AS INTEGER)
|
|
3193
|
+
`),
|
|
3194
|
+
upsertEmbedding: db.prepare(`
|
|
3195
|
+
INSERT INTO chunks_vec(rowid, embedding) VALUES (CAST(? AS INTEGER), ?)
|
|
3196
|
+
`),
|
|
3197
|
+
getCursor: db.prepare(`
|
|
3198
|
+
SELECT byte_offset FROM file_cursors WHERE file_path = ?
|
|
3199
|
+
`),
|
|
3200
|
+
setCursor: db.prepare(`
|
|
3201
|
+
INSERT INTO file_cursors(file_path, byte_offset, updated_at)
|
|
3202
|
+
VALUES (?, ?, ?)
|
|
3203
|
+
ON CONFLICT(file_path) DO UPDATE SET byte_offset = excluded.byte_offset, updated_at = excluded.updated_at
|
|
3204
|
+
`),
|
|
3205
|
+
deleteChunksBySession: db.prepare(`
|
|
3206
|
+
DELETE FROM chunks WHERE session_id = ?
|
|
3207
|
+
`),
|
|
3208
|
+
deleteEmbeddingsBySession: db.prepare(`
|
|
3209
|
+
DELETE FROM chunks_vec WHERE rowid IN (
|
|
3210
|
+
SELECT rowid FROM chunks WHERE session_id = ?
|
|
3211
|
+
)
|
|
3212
|
+
`),
|
|
3213
|
+
listFileCursors: db.prepare(`
|
|
3214
|
+
SELECT file_path FROM file_cursors
|
|
3215
|
+
`),
|
|
3216
|
+
deleteCursor: db.prepare(`
|
|
3217
|
+
DELETE FROM file_cursors WHERE file_path = ?
|
|
3218
|
+
`)
|
|
3219
|
+
};
|
|
3220
|
+
}
|
|
3221
|
+
function mapSearchRow(row) {
|
|
3222
|
+
return {
|
|
3223
|
+
rowid: row.rowid,
|
|
3224
|
+
sessionId: row.session_id,
|
|
3225
|
+
projectId: row.project_id,
|
|
3226
|
+
role: row.role,
|
|
3227
|
+
ts: row.ts,
|
|
3228
|
+
byteOffset: row.byte_offset,
|
|
3229
|
+
charLength: row.char_length,
|
|
3230
|
+
text: row.text,
|
|
3231
|
+
tokenCount: row.token_count,
|
|
3232
|
+
indexedAt: row.indexed_at,
|
|
3233
|
+
score: row.score
|
|
3234
|
+
};
|
|
3235
|
+
}
|
|
3236
|
+
/**
|
|
3237
|
+
* Open (or create) the conversation embeddings sidecar DB.
|
|
3238
|
+
*
|
|
3239
|
+
* @param dbPath Absolute path to the embeddings.db file.
|
|
3240
|
+
* @param dimensions Embedding vector size (must match what was used to create the DB).
|
|
3241
|
+
*/
|
|
3242
|
+
function openEmbeddingsDb(dbPath, dimensions, options = {}) {
|
|
3243
|
+
const unavailable = (reason) => ({
|
|
3244
|
+
available: false,
|
|
3245
|
+
unavailableReason: reason,
|
|
3246
|
+
dimensions,
|
|
3247
|
+
upsertChunk: () => {
|
|
3248
|
+
throw new Error(`EmbeddingsDb unavailable: ${reason}`);
|
|
3249
|
+
},
|
|
3250
|
+
upsertEmbedding: () => {
|
|
3251
|
+
throw new Error(`EmbeddingsDb unavailable: ${reason}`);
|
|
3252
|
+
},
|
|
3253
|
+
getCursor: () => 0,
|
|
3254
|
+
setCursor: () => {},
|
|
3255
|
+
searchBm25: () => {
|
|
3256
|
+
throw new Error(`EmbeddingsDb unavailable: ${reason}`);
|
|
3257
|
+
},
|
|
3258
|
+
searchVector: () => {
|
|
3259
|
+
throw new Error(`EmbeddingsDb unavailable: ${reason}`);
|
|
3260
|
+
},
|
|
3261
|
+
getStats: () => ({
|
|
3262
|
+
chunkCount: 0,
|
|
3263
|
+
indexedFileCount: 0,
|
|
3264
|
+
lastIndexedAt: null
|
|
3265
|
+
}),
|
|
3266
|
+
deleteSession: () => {},
|
|
3267
|
+
listFileCursors: () => [],
|
|
3268
|
+
deleteCursor: () => {},
|
|
3269
|
+
close: () => {}
|
|
3270
|
+
});
|
|
3271
|
+
if (!Number.isInteger(dimensions) || dimensions <= 0) return unavailable(`Invalid embedding dimensions: ${dimensions}`);
|
|
3272
|
+
let db;
|
|
3273
|
+
try {
|
|
3274
|
+
const dir = dirname(dbPath);
|
|
3275
|
+
if (!existsSync$1(dir)) mkdirSync$1(dir, { recursive: true });
|
|
3276
|
+
db = openDatabase(dbPath, { allowExtension: true });
|
|
3277
|
+
} catch (err) {
|
|
3278
|
+
return unavailable(`Failed to open DB at ${dbPath}: ${err instanceof Error ? err.message : String(err)}`);
|
|
3279
|
+
}
|
|
3280
|
+
try {
|
|
3281
|
+
const { getLoadablePath } = _require("sqlite-vec");
|
|
3282
|
+
db.loadExtension(options.sqliteVecPath ?? getLoadablePath());
|
|
3283
|
+
} catch (err) {
|
|
3284
|
+
db.close();
|
|
3285
|
+
return unavailable(`sqlite-vec extension failed to load: ${err instanceof Error ? err.message : String(err)}`);
|
|
3286
|
+
}
|
|
3287
|
+
try {
|
|
3288
|
+
db.pragma("journal_mode = WAL");
|
|
3289
|
+
db.pragma("synchronous = NORMAL");
|
|
3290
|
+
db.pragma("foreign_keys = ON");
|
|
3291
|
+
const existingDims = getConfigValue(db, "dimensions");
|
|
3292
|
+
if (existingDims !== void 0 && parseInt(existingDims, 10) !== dimensions) {
|
|
3293
|
+
db.close();
|
|
3294
|
+
return unavailable(`Embedding dimension mismatch: DB was created with ${existingDims} dimensions but config requests ${dimensions}. Delete ${dbPath} to reindex.`);
|
|
3295
|
+
}
|
|
3296
|
+
initSchema(db, dimensions);
|
|
3297
|
+
} catch (err) {
|
|
3298
|
+
db.close();
|
|
3299
|
+
return unavailable(`Schema init failed: ${err instanceof Error ? err.message : String(err)}`);
|
|
3300
|
+
}
|
|
3301
|
+
const stmts = prepareStmts(db);
|
|
3302
|
+
return {
|
|
3303
|
+
available: true,
|
|
3304
|
+
dimensions,
|
|
3305
|
+
upsertChunk(chunk) {
|
|
3306
|
+
return stmts.upsertChunk.get({
|
|
3307
|
+
...chunk,
|
|
3308
|
+
ts: chunk.ts ?? null
|
|
3309
|
+
}).rowid;
|
|
3310
|
+
},
|
|
3311
|
+
upsertEmbedding(rowid, embedding) {
|
|
3312
|
+
if (embedding.length !== dimensions) throw new Error(`Embedding dimension mismatch: expected ${dimensions}, received ${embedding.length}`);
|
|
3313
|
+
stmts.deleteEmbeddingByRowid.run(rowid);
|
|
3314
|
+
stmts.upsertEmbedding.run(rowid, Buffer.from(embedding.buffer, embedding.byteOffset, embedding.byteLength));
|
|
3315
|
+
},
|
|
3316
|
+
getCursor(filePath) {
|
|
3317
|
+
return stmts.getCursor.get(filePath)?.byte_offset ?? 0;
|
|
3318
|
+
},
|
|
3319
|
+
setCursor(filePath, byteOffset) {
|
|
3320
|
+
stmts.setCursor.run(filePath, byteOffset, (/* @__PURE__ */ new Date()).toISOString());
|
|
3321
|
+
},
|
|
3322
|
+
searchBm25(query, limit) {
|
|
3323
|
+
return db.prepare(`
|
|
3324
|
+
SELECT c.rowid, c.session_id, c.project_id, c.role, c.ts, c.byte_offset, c.char_length, c.text, c.token_count, c.indexed_at,
|
|
3325
|
+
bm25(chunks_fts) AS score
|
|
3326
|
+
FROM chunks_fts
|
|
3327
|
+
JOIN chunks c ON c.rowid = chunks_fts.rowid
|
|
3328
|
+
WHERE chunks_fts MATCH ?
|
|
3329
|
+
ORDER BY bm25(chunks_fts) ASC
|
|
3330
|
+
LIMIT ?
|
|
3331
|
+
`).all(query, limit).map(mapSearchRow);
|
|
3332
|
+
},
|
|
3333
|
+
searchVector(embedding, limit) {
|
|
3334
|
+
const vector = Buffer.from(embedding.buffer, embedding.byteOffset, embedding.byteLength);
|
|
3335
|
+
return db.prepare(`
|
|
3336
|
+
SELECT c.rowid, c.session_id, c.project_id, c.role, c.ts, c.byte_offset, c.char_length, c.text, c.token_count, c.indexed_at,
|
|
3337
|
+
v.distance AS score
|
|
3338
|
+
FROM chunks_vec v
|
|
3339
|
+
JOIN chunks c ON c.rowid = v.rowid
|
|
3340
|
+
WHERE v.embedding MATCH ? AND k = ?
|
|
3341
|
+
ORDER BY v.distance ASC
|
|
3342
|
+
`).all(vector, limit).map(mapSearchRow);
|
|
3343
|
+
},
|
|
3344
|
+
getStats() {
|
|
3345
|
+
const chunks = db.prepare(`SELECT count(*) AS chunkCount, max(indexed_at) AS lastIndexedAt FROM chunks`).get();
|
|
3346
|
+
const cursors = db.prepare(`SELECT count(*) AS indexedFileCount FROM file_cursors WHERE byte_offset > 0`).get();
|
|
3347
|
+
return {
|
|
3348
|
+
chunkCount: chunks.chunkCount,
|
|
3349
|
+
indexedFileCount: cursors.indexedFileCount,
|
|
3350
|
+
lastIndexedAt: chunks.lastIndexedAt
|
|
3351
|
+
};
|
|
3352
|
+
},
|
|
3353
|
+
deleteSession(sessionId) {
|
|
3354
|
+
stmts.deleteEmbeddingsBySession.run(sessionId);
|
|
3355
|
+
stmts.deleteChunksBySession.run(sessionId);
|
|
3356
|
+
},
|
|
3357
|
+
listFileCursors() {
|
|
3358
|
+
return stmts.listFileCursors.all().map((row) => row.file_path);
|
|
3359
|
+
},
|
|
3360
|
+
deleteCursor(filePath) {
|
|
3361
|
+
stmts.deleteCursor.run(filePath);
|
|
3362
|
+
},
|
|
3363
|
+
close() {
|
|
3364
|
+
db.close();
|
|
3365
|
+
}
|
|
3366
|
+
};
|
|
3367
|
+
}
|
|
3368
|
+
/** Returns the standard embedding dimension for a known model, or a safe default. */
|
|
3369
|
+
function dimensionsForModel(model) {
|
|
3370
|
+
if (model.includes("3-large")) return 3072;
|
|
3371
|
+
if (model.includes("3-small")) return 1536;
|
|
3372
|
+
return 1536;
|
|
3373
|
+
}
|
|
3374
|
+
//#endregion
|
|
3375
|
+
//#region ../../lib/overdeck/conversations-search.ts
|
|
3376
|
+
/** Canonical counters/availability read; dashboard callers execute this in a DB worker. */
|
|
3377
|
+
function getConversationSearchStats(input) {
|
|
3378
|
+
const db = openEmbeddingsDb(input.dbPath, dimensionsForModel(input.model));
|
|
3379
|
+
try {
|
|
3380
|
+
return {
|
|
3381
|
+
available: db.available,
|
|
3382
|
+
unavailableReason: db.unavailableReason,
|
|
3383
|
+
...db.getStats()
|
|
3384
|
+
};
|
|
3385
|
+
} finally {
|
|
3386
|
+
db.close();
|
|
3387
|
+
}
|
|
3388
|
+
}
|
|
3389
|
+
//#endregion
|
|
3390
|
+
export { getSessionsFeedFacets as a, enrichSessions as c, searchSessions as d, embed as f, scan as i, embedSessions as l, dimensionsForModel as n, listSessionsFeed as o, openEmbeddingsDb as r, CostThresholdError as s, getConversationSearchStats as t, parseRelativeTime as u };
|
|
3042
3391
|
|
|
3043
|
-
//# sourceMappingURL=
|
|
3392
|
+
//# sourceMappingURL=conversations-search-DnWUghbM.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { D as sql, E as like, S as gte, _ as integer, a as EventBus, b as and, d as getOverdeckDatabaseSync, f as init_infra, g as real, h as text, i as DbLive, m as sqliteTable, n as CostArchiveLive, o as EventBusLive, p as init_sqlite_core, r as Db, t as CostArchive, v as init_drizzle_orm, x as eq, y as desc } from "./infra-
|
|
3
|
-
import { n as init_issues, t as IssueId } from "./issues-
|
|
4
|
-
import { a as getAllBudgetsSync, i as deleteBudgetSync, n as checkBudgetSync, r as createBudgetSync, s as init_cost } from "./cost-
|
|
5
|
-
import { A as parseOhmypiSessionCostResultSync, k as init_ohmypi_parser } from "./control-settings-
|
|
6
|
-
import { _ as init_tier_metrics, h as deriveTieredAgentCostRole } from "./cost-sync-
|
|
7
|
-
import {
|
|
1
|
+
import { Li as getOverdeckHome, Ri as init_paths } from "./config-yaml-Dce9VUd6.js";
|
|
2
|
+
import { D as sql, E as like, S as gte, _ as integer, a as EventBus, b as and, d as getOverdeckDatabaseSync, f as init_infra, g as real, h as text, i as DbLive, m as sqliteTable, n as CostArchiveLive, o as EventBusLive, p as init_sqlite_core, r as Db, t as CostArchive, v as init_drizzle_orm, x as eq, y as desc } from "./infra-B05o-e2g.js";
|
|
3
|
+
import { n as init_issues, t as IssueId } from "./issues-Q62MKOV_.js";
|
|
4
|
+
import { a as getAllBudgetsSync, i as deleteBudgetSync, n as checkBudgetSync, r as createBudgetSync, s as init_cost } from "./cost-ShD-G0cS.js";
|
|
5
|
+
import { A as parseOhmypiSessionCostResultSync, k as init_ohmypi_parser } from "./control-settings-BkaVFRdm.js";
|
|
6
|
+
import { _ as init_tier_metrics, h as deriveTieredAgentCostRole } from "./cost-sync-EFEkMYWz.js";
|
|
7
|
+
import { a as parseCodexSessionSync, i as parseCodexSessionCostEventsSync, r as init_codex_parser } from "./behavior-Bg3yC8jC.js";
|
|
8
8
|
import { join } from "node:path";
|
|
9
9
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
10
10
|
import { existsSync, readdirSync, statSync } from "node:fs";
|
|
@@ -835,4 +835,4 @@ HttpApiGroup.make("costs").add(HttpApiEndpoint.get("summary", "/costs/summary",
|
|
|
835
835
|
//#endregion
|
|
836
836
|
export { collectCodexCostEvents as a, CostWriter as i, CostResolver as n, lookupSkipVerdict as o, CostResolverLive as r, recordSkipVerdict as s, CostDoorLive as t };
|
|
837
837
|
|
|
838
|
-
//# sourceMappingURL=cost-
|
|
838
|
+
//# sourceMappingURL=cost-PJXEAirJ.js.map
|