wednesdayai 0.4.12-dev.716 → 0.4.12-dev.717
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/{agent-turn-runner-Bvj00mHU.js → agent-turn-runner-BsdyAURQ.js} +3 -3
- package/dist/{audio-preflight-yuM9Q3qh.js → audio-preflight-ifCgpG3c.js} +5 -5
- package/dist/{audio-transcription-runner-CgPA8_eG.js → audio-transcription-runner-ipSQoPp8.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +12 -12
- package/dist/bundled/session-journal/handler.js +12 -12
- package/dist/bundled/session-memory/handler.js +12 -12
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{chrome-BkJgMZjT.js → chrome-DTJprCGv.js} +8 -8
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{command-queue-DucYxKKF.js → command-queue-BTAxEdto.js} +1 -1
- package/dist/{command-registry-NOHWjbDr.js → command-registry-C7nkhshN.js} +7 -7
- package/dist/{completion-cli-BfKoz1jW.js → completion-cli-CjPs9az4.js} +2 -2
- package/dist/{completion-cli-BQ5pz74O.js → completion-cli-DozvikmZ.js} +1 -1
- package/dist/{config-cli-BGFZu6JD.js → config-cli-Dagtz6FG.js} +1 -1
- package/dist/{config-cli-cFzUpYdg.js → config-cli-Dv1Dad57.js} +1 -1
- package/dist/config.js +9 -9
- package/dist/{configure-DYAZJ3GF.js → configure-BbKf530X.js} +2 -2
- package/dist/{configure-DrrwPxlu.js → configure-CBJSHejz.js} +2 -2
- package/dist/{daemon-cli-B3Q460ai.js → daemon-cli-CiPY543O.js} +5 -5
- package/dist/{daemon-cli-C5cAb15Z.js → daemon-cli-YmPcKhvo.js} +5 -5
- package/dist/daemon-cli.js +44 -3
- package/dist/{daemon-install-DGU1qIIK.js → daemon-install-BuETscSF.js} +3 -3
- package/dist/{daemon-install-CBIxgo4p.js → daemon-install-CGg5r1wy.js} +3 -3
- package/dist/{deliver-fwGuXC0n.js → deliver-CVWbwPkb.js} +1 -1
- package/dist/{diagnostic-BB6k_yiT.js → diagnostic-DI-K8155.js} +1 -1
- package/dist/{diagnostics-C4-TUVnm.js → diagnostics-C6ntZHc3.js} +1 -1
- package/dist/{diagnostics-FIcvxigK.js → diagnostics-Ds3p_NPY.js} +1 -1
- package/dist/{doctor-completion-CtR8yetH.js → doctor-completion-CJYV2FQ5.js} +1 -1
- package/dist/{doctor-completion-B94pFOFt.js → doctor-completion-D4T2GzR7.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-cli-t7rAulRf.js → exec-approvals-cli-BAJ3sxzP.js} +3 -3
- package/dist/{exec-approvals-cli-DsXabPF_.js → exec-approvals-cli-DIUYxvM0.js} +3 -3
- package/dist/{gateway-cli-DI7_gxH-.js → gateway-cli-Cyivh-5T.js} +10 -10
- package/dist/{gateway-cli-C_veSlCx.js → gateway-cli-DtFDQj5d.js} +10 -10
- package/dist/index.js +1 -1
- package/dist/{inspect-DVHAPbcZ.js → inspect-BXlZnWkg.js} +1 -1
- package/dist/{inspect-gvjq38z1.js → inspect-LfUprDjx.js} +1 -1
- package/dist/{lifecycle-core-BdCcww82.js → lifecycle-core-CuMY0U_8.js} +3 -3
- package/dist/{lifecycle-core-B3-ezmTx.js → lifecycle-core-M-5Z8Xml.js} +3 -3
- package/dist/llm-slug-generator.js +12 -12
- package/dist/{node-cli-m0j_YD0V.js → node-cli-Csimlxec.js} +5 -5
- package/dist/{node-cli-yC-cX-mJ.js → node-cli-dh4qWKpT.js} +5 -5
- package/dist/{node-service-BnwLXY5x.js → node-service-BnyKZNqa.js} +1 -1
- package/dist/{node-service-r64yexlb.js → node-service-Ys7JZFz-.js} +1 -1
- package/dist/{onboard-D8MZoOum.js → onboard-DuNuHUvh.js} +2 -2
- package/dist/{onboard-B9-DxI_m.js → onboard-_pVU_O8s.js} +2 -2
- package/dist/{onboarding-0WSY8o8f.js → onboarding-BBb8ZbfX.js} +1 -1
- package/dist/{onboarding-BfpXrIw7.js → onboarding-BcI8N4WK.js} +1 -1
- package/dist/{onboarding.finalize-QITC8MsS.js → onboarding.finalize-BXkz7oPa.js} +7 -7
- package/dist/{onboarding.finalize-BnIw1M2b.js → onboarding.finalize-D9fyrhAS.js} +6 -6
- package/dist/{pi-embedded-BBId5n_k.js → pi-embedded-Qyba-Rws.js} +28 -28
- package/dist/{pi-embedded-helpers-DVvJRC5S.js → pi-embedded-helpers-5JApWu7A.js} +3 -3
- package/dist/{pi-embedded-utils-BoaQCwP7.js → pi-embedded-utils-kHMmP2Xh.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-BQYVQxfQ.js → agent-scope-DU8uJiiv.js} +2 -2
- package/dist/plugin-sdk/agent-turn-execute-DIrSWfHZ.js +61 -0
- package/dist/plugin-sdk/{agent-turn-runner-DL5jOnXC.js → agent-turn-runner-CmDXH4Z8.js} +6 -6
- package/dist/plugin-sdk/{api-key-rotation-BW3rq9Tg.js → api-key-rotation-Oe0hkmVQ.js} +2 -2
- package/dist/plugin-sdk/{artifacts-C8xK4Y3e.js → artifacts-Dk-7TtTn.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-Bi8RI9zM.js → audio-preflight-8hRbl8Io.js} +22 -22
- package/dist/plugin-sdk/{audio-transcription-runner-CGgNZVZv.js → audio-transcription-runner-CUsZFiEA.js} +11 -11
- package/dist/plugin-sdk/{auth-profiles-CIKTWees.js → auth-profiles-OgKl-vr-.js} +5 -5
- package/dist/plugin-sdk/{channel-activity-Ck83U_es.js → channel-activity-OIauZrkN.js} +3 -3
- package/dist/plugin-sdk/{chrome-CT_6RvJg.js → chrome-VZ0Zuu2w.js} +4 -4
- package/dist/plugin-sdk/{chunk-D6yDhUpF.js → chunk-BWz-lIzS.js} +4 -4
- package/dist/plugin-sdk/{command-queue-DH8k55DC.js → command-queue-D_UFlrwC.js} +2 -2
- package/dist/plugin-sdk/{commands-registry-DuwlD_aI.js → commands-registry-XW2hmbAE.js} +3 -3
- package/dist/plugin-sdk/{deliver-_UyigkEK.js → deliver-B7W4NNsR.js} +11 -11
- package/dist/plugin-sdk/deliver-CJP9TznW.js +32 -0
- package/dist/plugin-sdk/{diagnostic-Dk57KVjE.js → diagnostic-BRUM6uNI.js} +7 -7
- package/dist/plugin-sdk/{diagnostic-session-state-BjuWxrAM.js → diagnostic-session-state-BsHrQ7U3.js} +1 -1
- package/dist/plugin-sdk/{fetch-D1jXg-ju.js → fetch-C1vgNaXJ.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-DnwfMurj.js → fetch-guard-B2Wnl9Vi.js} +4 -4
- package/dist/plugin-sdk/{fetch-DFZXuu3W.js → fetch-hEreHolP.js} +7 -7
- package/dist/plugin-sdk/{fetch-timeout-D7XVWfxj.js → fetch-timeout-A1m6BOhm.js} +1 -1
- package/dist/plugin-sdk/{fs-safe-BQ5cHy9G.js → fs-safe-ClebEeLz.js} +3 -3
- package/dist/plugin-sdk/{image-ops-0TjWNKUx.js → image-ops-Bm03YsK2.js} +1 -1
- package/dist/plugin-sdk/{inbound-context-Bfr5DkdO.js → inbound-context-Cmgtf5my.js} +1 -1
- package/dist/plugin-sdk/{ir-CbL0sVL2.js → ir-1CthVxHv.js} +5 -5
- package/dist/plugin-sdk/{logger-D5s3kiib.js → logger-BkzoyfHW.js} +1 -1
- package/dist/plugin-sdk/{manager-CHBt3PC-.js → manager-C4CJpRd9.js} +8 -8
- package/dist/plugin-sdk/manager-CPcI0Fhz.js +16 -0
- package/dist/plugin-sdk/{markdown-tables-CBGsimjo.js → markdown-tables-DZM4NfLU.js} +3 -3
- package/dist/plugin-sdk/{outbound-attachment-C5x2htXW.js → outbound-attachment-GMgXpDQm.js} +2 -2
- package/dist/plugin-sdk/{outbound-message-hooks-2YmJP9k-.js → outbound-message-hooks-BUHUdpjM.js} +3 -3
- package/dist/plugin-sdk/{path-alias-guards-BIPHhakQ.js → path-alias-guards-Dft7g-_v.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-CELD3Ns3.js → pi-embedded-helpers-B-OOYT64.js} +11 -11
- package/dist/plugin-sdk/{pi-embedded-utils-AFQ-oCFM.js → pi-embedded-utils-BoSGTbYO.js} +3 -3
- package/dist/plugin-sdk/{pi-model-discovery-C37z3zkx.js → pi-model-discovery-DF6l-F8s.js} +2 -2
- package/dist/plugin-sdk/provider-dispatcher-CAfyX0H-.js +61 -0
- package/dist/plugin-sdk/provider-image-L_SRDPHU.js +22 -0
- package/dist/plugin-sdk/{provider-image-CbZOYl0b.js → provider-image-zNa1Cccq.js} +5 -5
- package/dist/plugin-sdk/provider-media-understanding.js +7 -7
- package/dist/plugin-sdk/{proxy-CjNR_U3u.js → proxy-CXI1ycJj.js} +2 -2
- package/dist/plugin-sdk/{proxy-env-ubutfW07.js → proxy-env-B3rQCyUO.js} +2 -2
- package/dist/plugin-sdk/{proxy-fetch-Cv4b428x.js → proxy-fetch-CNBkczcW.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-hVucoF_I.js → pw-ai-JJrE-B1e.js} +10 -10
- package/dist/plugin-sdk/{qmd-manager-Bv5B9pi9.js → qmd-manager-CkQhKIXI.js} +8 -8
- package/dist/plugin-sdk/{query-expansion-CWwH9pqd.js → query-expansion-DjZsVofz.js} +3 -3
- package/dist/plugin-sdk/{recorder-C3qdhG-p.js → recorder-BU_faNrp.js} +4 -4
- package/dist/plugin-sdk/{redact-BEcZiZI1.js → redact-CdcLrd0n.js} +1 -1
- package/dist/plugin-sdk/{registry-BXmLBUZj.js → registry-tm0HFWKN.js} +7 -7
- package/dist/plugin-sdk/replies-BFjGWAPs.js +25 -0
- package/dist/plugin-sdk/{replies-CjeAGcJx.js → replies-CS2GXrd-.js} +4 -4
- package/dist/plugin-sdk/{reply-directives-OuX5Mba_.js → reply-directives-hfOVgXpA.js} +2 -2
- package/dist/plugin-sdk/{reply-prefix-C83iSHUo.js → reply-prefix-BKQgC6Vj.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-BLBv69wV.js → resolve-route-tqQv32nr.js} +5 -5
- package/dist/plugin-sdk/runs-CPA1-H-2.js +25 -0
- package/dist/plugin-sdk/{runs-CPWQbljV.js → runs-H2FY7UEk.js} +8 -8
- package/dist/plugin-sdk/{send-BwoWjRrJ.js → send-BMhuEEtY.js} +9 -9
- package/dist/plugin-sdk/{send-BUAw8fe4.js → send-BjR1QHnz.js} +7 -7
- package/dist/plugin-sdk/{send-B2Kip2qd.js → send-CEtGyK32.js} +8 -8
- package/dist/plugin-sdk/{send-DE9YP1gQ.js → send-CF3PEjRy.js} +14 -14
- package/dist/plugin-sdk/send-CRtSAH8I.js +25 -0
- package/dist/plugin-sdk/send-CzxwgKvR.js +27 -0
- package/dist/plugin-sdk/{send-D_2cxLLi.js → send-DUJMd2d7.js} +20 -20
- package/dist/plugin-sdk/{send-CfSEKKlU.js → send-DdPdUcD0.js} +6 -6
- package/dist/plugin-sdk/send-DuCB2xbl.js +23 -0
- package/dist/plugin-sdk/send-DyYaWr3E.js +24 -0
- package/dist/plugin-sdk/{session-meta-D3W538Wj.js → session-meta-oR-S9C5J.js} +3 -3
- package/dist/plugin-sdk/{skill-commands-ByVQek_m.js → skill-commands-Bh43SlDc.js} +6 -6
- package/dist/plugin-sdk/{skills-BGgry_YW.js → skills-CatBv8W4.js} +6 -6
- package/dist/plugin-sdk/{store-C6ZLKWUS.js → store-6JKvp2Zu.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-DwnBzoKn.js +61 -0
- package/dist/plugin-sdk/{subsystem-0F3fEqJW.js → subsystem-CchgWuXK.js} +4 -4
- package/dist/plugin-sdk/{tables-BCSRuiq_.js → tables-BPCP4CpE.js} +1 -1
- package/dist/plugin-sdk/testing.js +55 -55
- package/dist/plugin-sdk/{tokens-O0pGqOuf.js → tokens-Cioh8xR5.js} +1 -1
- package/dist/plugin-sdk/{tool-loop-detection-BG8uP1aD.js → tool-loop-detection-BN0lIxLx.js} +1 -1
- package/dist/plugin-sdk/{tools-PVG4MyCb.js → tools-4rcPGSNh.js} +93 -93
- package/dist/plugin-sdk/{user-run-recording-iS-qLIN9.js → user-run-recording-DlpzQk0X.js} +3 -3
- package/dist/{program-CLZlTcBu.js → program-CB5O-AyY.js} +2 -2
- package/dist/{program-context-DN3ucEgK.js → program-context-DxwZAeg4.js} +12 -12
- package/dist/{prompt-select-styled-BNUoeaMg.js → prompt-select-styled-1UYyuvWX.js} +7 -7
- package/dist/{prompt-select-styled-CtLCU2VG.js → prompt-select-styled-CfTLn2TL.js} +7 -7
- package/dist/{provider-image-Bi2L9LWh.js → provider-image-Cb4z6zUu.js} +1 -1
- package/dist/{pw-ai-pYtWxKPR.js → pw-ai-DziGw6Jy.js} +1 -1
- package/dist/{register.configure-CiYkPB_K.js → register.configure-DUg0MNnJ.js} +4 -4
- package/dist/{register.configure-Ceru0oh0.js → register.configure-PJZ3F6Y4.js} +4 -4
- package/dist/{register.maintenance-D-kzdtog.js → register.maintenance-9XyX4HYf.js} +10 -10
- package/dist/{register.maintenance-BCSq69vI.js → register.maintenance-BBM-rluy.js} +9 -9
- package/dist/{register.onboard-BPko9BHz.js → register.onboard-CEzQdSxa.js} +2 -2
- package/dist/{register.onboard-BHBpxcRv.js → register.onboard-id-BqwSw.js} +2 -2
- package/dist/{register.setup-Bjx48C4T.js → register.setup-BKBe-Sjp.js} +2 -2
- package/dist/{register.setup-BE-sR-Dc.js → register.setup-BiOdr528.js} +2 -2
- package/dist/{register.status-health-sessions-BczZXjHB.js → register.status-health-sessions-BVIHCaPP.js} +5 -5
- package/dist/{register.status-health-sessions-CQQWiYcu.js → register.status-health-sessions-CeRiMlKm.js} +5 -5
- package/dist/{register.subclis-Bn9Re4fV.js → register.subclis-IXr-WEhq.js} +6 -6
- package/dist/{run-main-Cfccgza4.js → run-main-CsSM1uCJ.js} +6 -6
- package/dist/{runs-BauIdJqy.js → runs-ucQd8Fc-.js} +3 -3
- package/dist/{send-Dd2SE0h0.js → send-TscXeVY8.js} +1 -1
- package/dist/{service-Hy5BSgmp.js → service-C_LTJsJU.js} +1 -1
- package/dist/{service-RnhuB5cG.js → service-Dkcqg-rd.js} +1 -1
- package/dist/{shared-Bc-7t0_-.js → shared-6Uo_6p6X.js} +1 -1
- package/dist/{shared-CJd0QML9.js → shared-Cj18nzyW.js} +1 -1
- package/dist/{status-Dh0qVJb_.js → status-Czr0TmiN.js} +3 -3
- package/dist/{status-PwhjcAYw.js → status-DJsk1JjI.js} +3 -3
- package/dist/{systemd-B5tdOLBg.js → systemd-BJqlwupF.js} +1 -1
- package/dist/{systemd-DsBMxUv1.js → systemd-D6tSdsgx.js} +1 -1
- package/dist/{systemd-hints-DH86kn6U.js → systemd-hints-Cp0IfOPD.js} +45 -4
- package/dist/{systemd-hints-WHzM5Tf8.js → systemd-hints-DzBfweRH.js} +45 -4
- package/dist/{systemd-linger-BPzLwumk.js → systemd-linger-Dk1GWduD.js} +1 -1
- package/dist/{systemd-linger-EvpJ4ZxF.js → systemd-linger-NvIOU-Ez.js} +1 -1
- package/dist/{update-cli-f5iTpbNn.js → update-cli-B4_xRNut.js} +11 -11
- package/dist/{update-cli-BSxfgTyN.js → update-cli-DDmfG1gm.js} +12 -12
- package/extensions/acpx/package.json +1 -1
- package/extensions/anthropic/package.json +1 -1
- package/extensions/bifrost/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/deepgram/package.json +1 -1
- package/extensions/deepinfra/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/diffs/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/dream-cycle/package.json +1 -1
- package/extensions/elevenlabs/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/gemini-search/package.json +1 -1
- package/extensions/google/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/grok-search/package.json +1 -1
- package/extensions/groq/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/kimi-search/package.json +1 -1
- package/extensions/learning-core/package.json +1 -1
- package/extensions/learning-core/src/bounded-store-reads.conformance.test.ts +23 -411
- package/extensions/learning-core/src/bounded-store-reads.pg.integration.test.ts +52 -0
- package/extensions/learning-core/src/bounded-store-reads.test-helpers.ts +387 -0
- package/extensions/learning-core/src/lesson-store-conformance.pg.integration.test.ts +77 -0
- package/extensions/learning-core/src/lesson-store-conformance.test-helpers.ts +1406 -0
- package/extensions/learning-core/src/lesson-store-conformance.test.ts +27 -1509
- package/extensions/learning-core/src/lesson-store-postgres.test.ts +9 -7
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +1 -1
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/mistral/package.json +1 -1
- package/extensions/moonshot/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +1 -1
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +1 -1
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/openai/package.json +1 -1
- package/extensions/openai-realtime/package.json +1 -1
- package/extensions/openrouter/package.json +1 -1
- package/extensions/perplexity-search/package.json +1 -1
- package/extensions/searxng-search/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +1 -1
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +1 -1
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zai/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +1 -1
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +1 -1
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/plugin-sdk/agent-turn-execute-Dd5AJiKY.js +0 -61
- package/dist/plugin-sdk/deliver-DuDcszu1.js +0 -32
- package/dist/plugin-sdk/manager-Bqpqu2GS.js +0 -16
- package/dist/plugin-sdk/provider-dispatcher-C4-urx2x.js +0 -61
- package/dist/plugin-sdk/provider-image-Bumd1GBG.js +0 -22
- package/dist/plugin-sdk/replies-0gHRQjbA.js +0 -25
- package/dist/plugin-sdk/runs-B3DB63tB.js +0 -25
- package/dist/plugin-sdk/send-C28pxKhC.js +0 -27
- package/dist/plugin-sdk/send-COofA0BG.js +0 -23
- package/dist/plugin-sdk/send-NUHfC-G_.js +0 -25
- package/dist/plugin-sdk/send-Tm5-7bLz.js +0 -24
- package/dist/plugin-sdk/subagent-registry-B0gD-Lof.js +0 -61
|
@@ -178,7 +178,7 @@ function mergeDelayedAgentTurn(sessionKey, matches, merge) {
|
|
|
178
178
|
return true;
|
|
179
179
|
}
|
|
180
180
|
async function defaultExecute(claim) {
|
|
181
|
-
const { runMainAgentTurn } = await import("./pi-embedded-
|
|
181
|
+
const { runMainAgentTurn } = await import("./pi-embedded-Qyba-Rws.js").then((n) => n.o);
|
|
182
182
|
return runMainAgentTurn(claim.message.payload);
|
|
183
183
|
}
|
|
184
184
|
async function armIdleWaiter(sessionKey, backbone, opts) {
|
|
@@ -190,7 +190,7 @@ async function armIdleWaiter(sessionKey, backbone, opts) {
|
|
|
190
190
|
startedAt: opts?.startedAt ?? Date.now()
|
|
191
191
|
};
|
|
192
192
|
waiters.set(sessionKey, handle);
|
|
193
|
-
const { getQueueSize } = await import("./command-queue-
|
|
193
|
+
const { getQueueSize } = await import("./command-queue-BTAxEdto.js").then((n) => n.r);
|
|
194
194
|
if (handle.cancelled || closing) return;
|
|
195
195
|
const release = (force = false) => {
|
|
196
196
|
releaseDelayedAgentTurns(backboneBySession.get(sessionKey) ?? backbone, sessionKey, force ? { force: true } : void 0);
|
|
@@ -212,7 +212,7 @@ async function armIdleWaiter(sessionKey, backbone, opts) {
|
|
|
212
212
|
}
|
|
213
213
|
async function enqueueAgentTurn(backbone, payload, opts) {
|
|
214
214
|
if (!payload.jobId.trim() || !payload.runId.trim()) throw new Error("agent-turn enqueue requires jobId and runId");
|
|
215
|
-
const isBusy = opts?.isSessionBusy ? opts.isSessionBusy() : (await import("./command-queue-
|
|
215
|
+
const isBusy = opts?.isSessionBusy ? opts.isSessionBusy() : (await import("./command-queue-BTAxEdto.js").then((n) => n.r)).getQueueSize(CommandLane.Main) > 0;
|
|
216
216
|
const policy = payload.busy ?? "skip";
|
|
217
217
|
const id = agentTurnIdempotencyKey(payload);
|
|
218
218
|
if (isBusy && policy === "skip") return `${id}:skipped`;
|
|
@@ -10,8 +10,8 @@ import "./artifacts-DUhYSSmK.js";
|
|
|
10
10
|
import "./redact-BOHmCPP_.js";
|
|
11
11
|
import "./image-ops-O8pHxo7i.js";
|
|
12
12
|
import "./pi-model-discovery-CsC6yTDG.js";
|
|
13
|
-
import "./pi-embedded-helpers-
|
|
14
|
-
import "./chrome-
|
|
13
|
+
import "./pi-embedded-helpers-5JApWu7A.js";
|
|
14
|
+
import "./chrome-DTJprCGv.js";
|
|
15
15
|
import "./frontmatter-PMByWrfP.js";
|
|
16
16
|
import "./skills-DOc6uEd1.js";
|
|
17
17
|
import "./path-alias-guards-Cd5yHmTq.js";
|
|
@@ -19,13 +19,13 @@ import "./proxy-env-i0jn5uxB.js";
|
|
|
19
19
|
import "./fs-safe-DwICJjkN.js";
|
|
20
20
|
import "./store-xxN6qyAh.js";
|
|
21
21
|
import "./thinking-CwmtMy_H.js";
|
|
22
|
-
import "./provider-image-
|
|
23
|
-
import { b as isAudioAttachment, g as listAudioAttachments, h as findCarriedTranscript, i as normalizeMediaAttachments, m as audioOrdinalOf, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-
|
|
22
|
+
import "./provider-image-Cb4z6zUu.js";
|
|
23
|
+
import { b as isAudioAttachment, g as listAudioAttachments, h as findCarriedTranscript, i as normalizeMediaAttachments, m as audioOrdinalOf, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-ipSQoPp8.js";
|
|
24
24
|
import "./fetch-BzXaK9px.js";
|
|
25
25
|
import "./fetch-guard-0mkjBgri.js";
|
|
26
26
|
import "./proxy-fetch-CK5AQAYw.js";
|
|
27
27
|
import "./api-key-rotation-BMnyfyGD.js";
|
|
28
|
-
import "./pi-embedded-utils-
|
|
28
|
+
import "./pi-embedded-utils-kHMmP2Xh.js";
|
|
29
29
|
|
|
30
30
|
//#region src/media-understanding/audio-preflight.ts
|
|
31
31
|
/**
|
package/dist/{audio-transcription-runner-CgPA8_eG.js → audio-transcription-runner-ipSQoPp8.js}
RENAMED
|
@@ -5,7 +5,7 @@ import { $ as mergeInboundPathRoots, A as requireApiKey, Gt as getActivePluginRe
|
|
|
5
5
|
import { r as normalizeChatType } from "./conversation-label-BnH5Yy9T.js";
|
|
6
6
|
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-O8pHxo7i.js";
|
|
7
7
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-CNiEVKpL.js";
|
|
8
|
-
import { c as ensureOpenClawModelsJson, t as describeImageWithModel } from "./provider-image-
|
|
8
|
+
import { c as ensureOpenClawModelsJson, t as describeImageWithModel } from "./provider-image-Cb4z6zUu.js";
|
|
9
9
|
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-BzXaK9px.js";
|
|
10
10
|
import { n as fetchWithTimeout } from "./fetch-timeout-BfPtlUW6.js";
|
|
11
11
|
import { t as fetchWithSsrFGuard } from "./fetch-guard-0mkjBgri.js";
|
package/dist/build-info.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.4.12-dev.
|
|
3
|
-
"commit": "
|
|
2
|
+
"version": "0.4.12-dev.717+16de7e104",
|
|
3
|
+
"commit": "16de7e1049df6433c8c6f6c79725bcc8db2269b0",
|
|
4
4
|
"channel": "dev",
|
|
5
5
|
"forkBase": "openclaw@2026.3.2",
|
|
6
|
-
"builtAt": "2026-10-06T02:
|
|
6
|
+
"builtAt": "2026-10-06T02:37:58.359Z"
|
|
7
7
|
}
|
|
@@ -9,19 +9,19 @@ import { i as isGatewayStartupEvent } from "../../legacy-names-CLlrMq8r.js";
|
|
|
9
9
|
import { f as resolveStorePath } from "../../artifacts-DUhYSSmK.js";
|
|
10
10
|
import "../../send-Ba3pDq6E.js";
|
|
11
11
|
import "../../send-BGps2i_C.js";
|
|
12
|
-
import { n as agentCommand, r as createDefaultDeps } from "../../pi-embedded-
|
|
13
|
-
import "../../agent-turn-runner-
|
|
12
|
+
import { n as agentCommand, r as createDefaultDeps } from "../../pi-embedded-Qyba-Rws.js";
|
|
13
|
+
import "../../agent-turn-runner-BsdyAURQ.js";
|
|
14
14
|
import { n as SILENT_REPLY_TOKEN } from "../../tokens-9Mla_HDp.js";
|
|
15
15
|
import "../../outbound-message-hooks-S_VhlJs3.js";
|
|
16
|
-
import "../../diagnostic-
|
|
16
|
+
import "../../diagnostic-DI-K8155.js";
|
|
17
17
|
import "../../diagnostic-session-state-Bnyx-w0F.js";
|
|
18
18
|
import "../../redact-BOHmCPP_.js";
|
|
19
|
-
import "../../command-queue-
|
|
20
|
-
import "../../send-
|
|
19
|
+
import "../../command-queue-BTAxEdto.js";
|
|
20
|
+
import "../../send-TscXeVY8.js";
|
|
21
21
|
import "../../image-ops-O8pHxo7i.js";
|
|
22
22
|
import "../../pi-model-discovery-CsC6yTDG.js";
|
|
23
|
-
import "../../pi-embedded-helpers-
|
|
24
|
-
import "../../chrome-
|
|
23
|
+
import "../../pi-embedded-helpers-5JApWu7A.js";
|
|
24
|
+
import "../../chrome-DTJprCGv.js";
|
|
25
25
|
import "../../frontmatter-PMByWrfP.js";
|
|
26
26
|
import "../../skills-DOc6uEd1.js";
|
|
27
27
|
import "../../path-alias-guards-Cd5yHmTq.js";
|
|
@@ -29,13 +29,13 @@ import "../../proxy-env-i0jn5uxB.js";
|
|
|
29
29
|
import "../../fs-safe-DwICJjkN.js";
|
|
30
30
|
import "../../store-xxN6qyAh.js";
|
|
31
31
|
import "../../thinking-CwmtMy_H.js";
|
|
32
|
-
import "../../provider-image-
|
|
33
|
-
import "../../audio-transcription-runner-
|
|
32
|
+
import "../../provider-image-Cb4z6zUu.js";
|
|
33
|
+
import "../../audio-transcription-runner-ipSQoPp8.js";
|
|
34
34
|
import "../../fetch-BzXaK9px.js";
|
|
35
35
|
import "../../fetch-guard-0mkjBgri.js";
|
|
36
36
|
import "../../proxy-fetch-CK5AQAYw.js";
|
|
37
37
|
import "../../api-key-rotation-BMnyfyGD.js";
|
|
38
|
-
import "../../pi-embedded-utils-
|
|
38
|
+
import "../../pi-embedded-utils-kHMmP2Xh.js";
|
|
39
39
|
import "../../reply-prefix-C7WlN3qm.js";
|
|
40
40
|
import "../../chunk-eNEsWhab.js";
|
|
41
41
|
import "../../markdown-tables-UWspJNAH.js";
|
|
@@ -43,8 +43,8 @@ import "../../ir-fzpdYPWw.js";
|
|
|
43
43
|
import "../../render-BZdJrUxT.js";
|
|
44
44
|
import "../../commands-registry-DdQg21ct.js";
|
|
45
45
|
import "../../skill-commands-CRZajtK_.js";
|
|
46
|
-
import "../../runs-
|
|
47
|
-
import "../../deliver-
|
|
46
|
+
import "../../runs-ucQd8Fc-.js";
|
|
47
|
+
import "../../deliver-CVWbwPkb.js";
|
|
48
48
|
import "../../recorder-C_ViZLf1.js";
|
|
49
49
|
import "../../fetch-D61IHNsz.js";
|
|
50
50
|
import "../../channel-activity-BJHm_pDV.js";
|
|
@@ -9,19 +9,19 @@ import "../../legacy-names-CLlrMq8r.js";
|
|
|
9
9
|
import "../../artifacts-DUhYSSmK.js";
|
|
10
10
|
import "../../send-Ba3pDq6E.js";
|
|
11
11
|
import "../../send-BGps2i_C.js";
|
|
12
|
-
import { t as runEmbeddedPiAgent } from "../../pi-embedded-
|
|
13
|
-
import "../../agent-turn-runner-
|
|
12
|
+
import { t as runEmbeddedPiAgent } from "../../pi-embedded-Qyba-Rws.js";
|
|
13
|
+
import "../../agent-turn-runner-BsdyAURQ.js";
|
|
14
14
|
import "../../tokens-9Mla_HDp.js";
|
|
15
15
|
import "../../outbound-message-hooks-S_VhlJs3.js";
|
|
16
|
-
import "../../diagnostic-
|
|
16
|
+
import "../../diagnostic-DI-K8155.js";
|
|
17
17
|
import "../../diagnostic-session-state-Bnyx-w0F.js";
|
|
18
18
|
import "../../redact-BOHmCPP_.js";
|
|
19
|
-
import "../../command-queue-
|
|
20
|
-
import "../../send-
|
|
19
|
+
import "../../command-queue-BTAxEdto.js";
|
|
20
|
+
import "../../send-TscXeVY8.js";
|
|
21
21
|
import "../../image-ops-O8pHxo7i.js";
|
|
22
22
|
import "../../pi-model-discovery-CsC6yTDG.js";
|
|
23
|
-
import "../../pi-embedded-helpers-
|
|
24
|
-
import "../../chrome-
|
|
23
|
+
import "../../pi-embedded-helpers-5JApWu7A.js";
|
|
24
|
+
import "../../chrome-DTJprCGv.js";
|
|
25
25
|
import "../../frontmatter-PMByWrfP.js";
|
|
26
26
|
import "../../skills-DOc6uEd1.js";
|
|
27
27
|
import "../../path-alias-guards-Cd5yHmTq.js";
|
|
@@ -29,13 +29,13 @@ import "../../proxy-env-i0jn5uxB.js";
|
|
|
29
29
|
import { c as writeFileWithinRoot } from "../../fs-safe-DwICJjkN.js";
|
|
30
30
|
import "../../store-xxN6qyAh.js";
|
|
31
31
|
import "../../thinking-CwmtMy_H.js";
|
|
32
|
-
import "../../provider-image-
|
|
33
|
-
import "../../audio-transcription-runner-
|
|
32
|
+
import "../../provider-image-Cb4z6zUu.js";
|
|
33
|
+
import "../../audio-transcription-runner-ipSQoPp8.js";
|
|
34
34
|
import "../../fetch-BzXaK9px.js";
|
|
35
35
|
import "../../fetch-guard-0mkjBgri.js";
|
|
36
36
|
import "../../proxy-fetch-CK5AQAYw.js";
|
|
37
37
|
import "../../api-key-rotation-BMnyfyGD.js";
|
|
38
|
-
import "../../pi-embedded-utils-
|
|
38
|
+
import "../../pi-embedded-utils-kHMmP2Xh.js";
|
|
39
39
|
import "../../reply-prefix-C7WlN3qm.js";
|
|
40
40
|
import "../../chunk-eNEsWhab.js";
|
|
41
41
|
import "../../markdown-tables-UWspJNAH.js";
|
|
@@ -43,8 +43,8 @@ import "../../ir-fzpdYPWw.js";
|
|
|
43
43
|
import "../../render-BZdJrUxT.js";
|
|
44
44
|
import "../../commands-registry-DdQg21ct.js";
|
|
45
45
|
import "../../skill-commands-CRZajtK_.js";
|
|
46
|
-
import "../../runs-
|
|
47
|
-
import "../../deliver-
|
|
46
|
+
import "../../runs-ucQd8Fc-.js";
|
|
47
|
+
import "../../deliver-CVWbwPkb.js";
|
|
48
48
|
import "../../recorder-C_ViZLf1.js";
|
|
49
49
|
import "../../fetch-D61IHNsz.js";
|
|
50
50
|
import "../../channel-activity-BJHm_pDV.js";
|
|
@@ -9,19 +9,19 @@ import "../../legacy-names-CLlrMq8r.js";
|
|
|
9
9
|
import { n as isPrimarySessionTranscriptFileName } from "../../artifacts-DUhYSSmK.js";
|
|
10
10
|
import "../../send-Ba3pDq6E.js";
|
|
11
11
|
import "../../send-BGps2i_C.js";
|
|
12
|
-
import "../../pi-embedded-
|
|
13
|
-
import "../../agent-turn-runner-
|
|
12
|
+
import "../../pi-embedded-Qyba-Rws.js";
|
|
13
|
+
import "../../agent-turn-runner-BsdyAURQ.js";
|
|
14
14
|
import "../../tokens-9Mla_HDp.js";
|
|
15
15
|
import "../../outbound-message-hooks-S_VhlJs3.js";
|
|
16
|
-
import "../../diagnostic-
|
|
16
|
+
import "../../diagnostic-DI-K8155.js";
|
|
17
17
|
import "../../diagnostic-session-state-Bnyx-w0F.js";
|
|
18
18
|
import "../../redact-BOHmCPP_.js";
|
|
19
|
-
import "../../command-queue-
|
|
20
|
-
import "../../send-
|
|
19
|
+
import "../../command-queue-BTAxEdto.js";
|
|
20
|
+
import "../../send-TscXeVY8.js";
|
|
21
21
|
import "../../image-ops-O8pHxo7i.js";
|
|
22
22
|
import "../../pi-model-discovery-CsC6yTDG.js";
|
|
23
|
-
import "../../pi-embedded-helpers-
|
|
24
|
-
import "../../chrome-
|
|
23
|
+
import "../../pi-embedded-helpers-5JApWu7A.js";
|
|
24
|
+
import "../../chrome-DTJprCGv.js";
|
|
25
25
|
import "../../frontmatter-PMByWrfP.js";
|
|
26
26
|
import "../../skills-DOc6uEd1.js";
|
|
27
27
|
import "../../path-alias-guards-Cd5yHmTq.js";
|
|
@@ -29,13 +29,13 @@ import "../../proxy-env-i0jn5uxB.js";
|
|
|
29
29
|
import { c as writeFileWithinRoot } from "../../fs-safe-DwICJjkN.js";
|
|
30
30
|
import "../../store-xxN6qyAh.js";
|
|
31
31
|
import "../../thinking-CwmtMy_H.js";
|
|
32
|
-
import "../../provider-image-
|
|
33
|
-
import "../../audio-transcription-runner-
|
|
32
|
+
import "../../provider-image-Cb4z6zUu.js";
|
|
33
|
+
import "../../audio-transcription-runner-ipSQoPp8.js";
|
|
34
34
|
import "../../fetch-BzXaK9px.js";
|
|
35
35
|
import "../../fetch-guard-0mkjBgri.js";
|
|
36
36
|
import "../../proxy-fetch-CK5AQAYw.js";
|
|
37
37
|
import "../../api-key-rotation-BMnyfyGD.js";
|
|
38
|
-
import "../../pi-embedded-utils-
|
|
38
|
+
import "../../pi-embedded-utils-kHMmP2Xh.js";
|
|
39
39
|
import "../../reply-prefix-C7WlN3qm.js";
|
|
40
40
|
import "../../chunk-eNEsWhab.js";
|
|
41
41
|
import "../../markdown-tables-UWspJNAH.js";
|
|
@@ -43,8 +43,8 @@ import "../../ir-fzpdYPWw.js";
|
|
|
43
43
|
import "../../render-BZdJrUxT.js";
|
|
44
44
|
import "../../commands-registry-DdQg21ct.js";
|
|
45
45
|
import "../../skill-commands-CRZajtK_.js";
|
|
46
|
-
import "../../runs-
|
|
47
|
-
import "../../deliver-
|
|
46
|
+
import "../../runs-ucQd8Fc-.js";
|
|
47
|
+
import "../../deliver-CVWbwPkb.js";
|
|
48
48
|
import "../../recorder-C_ViZLf1.js";
|
|
49
49
|
import "../../fetch-D61IHNsz.js";
|
|
50
50
|
import "../../channel-activity-BJHm_pDV.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
48e0493b9b1aff89d3a610ce65e7c22b5013742cc43917e674048b06555145db
|
|
@@ -11,7 +11,7 @@ import { createHmac } from "node:crypto";
|
|
|
11
11
|
import net from "node:net";
|
|
12
12
|
import http, { createServer } from "node:http";
|
|
13
13
|
import https from "node:https";
|
|
14
|
-
import WebSocket
|
|
14
|
+
import WebSocket, { WebSocketServer } from "ws";
|
|
15
15
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
16
16
|
|
|
17
17
|
//#region src/browser/constants.ts
|
|
@@ -647,7 +647,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
647
647
|
let extensionWs = null;
|
|
648
648
|
const cdpClients = /* @__PURE__ */ new Set();
|
|
649
649
|
const connectedTargets = /* @__PURE__ */ new Map();
|
|
650
|
-
const extensionConnected = () => extensionWs?.readyState === WebSocket
|
|
650
|
+
const extensionConnected = () => extensionWs?.readyState === WebSocket.OPEN;
|
|
651
651
|
const hasConnectedTargets = () => connectedTargets.size > 0;
|
|
652
652
|
let extensionDisconnectCleanupTimer = null;
|
|
653
653
|
const extensionReconnectWaiters = /* @__PURE__ */ new Set();
|
|
@@ -699,7 +699,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
699
699
|
let nextExtensionId = 1;
|
|
700
700
|
const sendToExtension = async (payload) => {
|
|
701
701
|
const ws = extensionWs;
|
|
702
|
-
if (!ws || ws.readyState !== WebSocket
|
|
702
|
+
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
703
703
|
ws.send(JSON.stringify(payload));
|
|
704
704
|
return await new Promise((resolve, reject) => {
|
|
705
705
|
const timer = setTimeout(() => {
|
|
@@ -716,12 +716,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
716
716
|
const broadcastToCdpClients = (evt) => {
|
|
717
717
|
const msg = JSON.stringify(evt);
|
|
718
718
|
for (const ws of cdpClients) {
|
|
719
|
-
if (ws.readyState !== WebSocket
|
|
719
|
+
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
720
720
|
ws.send(msg);
|
|
721
721
|
}
|
|
722
722
|
};
|
|
723
723
|
const sendResponseToCdp = (ws, res) => {
|
|
724
|
-
if (ws.readyState !== WebSocket
|
|
724
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
725
725
|
ws.send(JSON.stringify(res));
|
|
726
726
|
};
|
|
727
727
|
const dropConnectedTargetSession = (sessionId) => {
|
|
@@ -975,7 +975,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
975
975
|
rejectUpgrade(socket, 401, "Unauthorized");
|
|
976
976
|
return;
|
|
977
977
|
}
|
|
978
|
-
if (extensionWs && extensionWs.readyState !== WebSocket
|
|
978
|
+
if (extensionWs && extensionWs.readyState !== WebSocket.OPEN) {
|
|
979
979
|
try {
|
|
980
980
|
extensionWs.terminate();
|
|
981
981
|
} catch {}
|
|
@@ -1008,7 +1008,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
1008
1008
|
clearExtensionDisconnectCleanupTimer();
|
|
1009
1009
|
flushExtensionReconnectWaiters(true);
|
|
1010
1010
|
const ping = setInterval(() => {
|
|
1011
|
-
if (ws.readyState !== WebSocket
|
|
1011
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
1012
1012
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
1013
1013
|
}, 5e3);
|
|
1014
1014
|
ws.on("message", (data) => {
|
|
@@ -1364,7 +1364,7 @@ function openCdpWebSocket(wsUrl, opts) {
|
|
|
1364
1364
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
1365
1365
|
const handshakeTimeoutMs = typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : CDP_WS_HANDSHAKE_TIMEOUT_MS;
|
|
1366
1366
|
const agent = getDirectAgentForCdp(wsUrl);
|
|
1367
|
-
return new WebSocket
|
|
1367
|
+
return new WebSocket(wsUrl, {
|
|
1368
1368
|
handshakeTimeout: handshakeTimeoutMs,
|
|
1369
1369
|
...Object.keys(headers).length ? { headers } : {},
|
|
1370
1370
|
...agent ? { agent } : {}
|
package/dist/cli/daemon-cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Legacy shim for pre-tsdown update-cli imports.
|
|
2
|
-
import * as daemonCli from "../daemon-cli-
|
|
2
|
+
import * as daemonCli from "../daemon-cli-CiPY543O.js";
|
|
3
3
|
export const registerDaemonCli = daemonCli.t.registerDaemonCli;
|
|
4
4
|
export const runDaemonInstall = daemonCli.s;
|
|
5
5
|
export const runDaemonRestart = daemonCli.r;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { a as logLaneTaskCompleted, i as logLaneEnqueue, r as logLaneDequeue, t as diag } from "./diagnostic-
|
|
2
|
+
import { a as logLaneTaskCompleted, i as logLaneEnqueue, r as logLaneDequeue, t as diag } from "./diagnostic-DI-K8155.js";
|
|
3
3
|
import { t as CommandLane } from "./lanes-DTaUAkeG.js";
|
|
4
4
|
|
|
5
5
|
//#region src/process/command-queue.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Lt as hasHelpOrVersion, Pt as getPrimaryCommand } from "./globals-ZyVsnNcg.js";
|
|
3
|
-
import { i as registerSubCliCommands, o as removeCommandByName, s as reparseProgramFromActionArgs } from "./register.subclis-
|
|
3
|
+
import { i as registerSubCliCommands, o as removeCommandByName, s as reparseProgramFromActionArgs } from "./register.subclis-IXr-WEhq.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/program/command-registry.ts
|
|
6
6
|
var command_registry_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -22,7 +22,7 @@ const coreEntries = [
|
|
|
22
22
|
hasSubcommands: false
|
|
23
23
|
}],
|
|
24
24
|
register: async ({ program }) => {
|
|
25
|
-
(await import("./register.setup-
|
|
25
|
+
(await import("./register.setup-BKBe-Sjp.js")).registerSetupCommand(program);
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
{
|
|
@@ -32,7 +32,7 @@ const coreEntries = [
|
|
|
32
32
|
hasSubcommands: false
|
|
33
33
|
}],
|
|
34
34
|
register: async ({ program }) => {
|
|
35
|
-
(await import("./register.onboard-
|
|
35
|
+
(await import("./register.onboard-CEzQdSxa.js")).registerOnboardCommand(program);
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
{
|
|
@@ -42,7 +42,7 @@ const coreEntries = [
|
|
|
42
42
|
hasSubcommands: false
|
|
43
43
|
}],
|
|
44
44
|
register: async ({ program }) => {
|
|
45
|
-
(await import("./register.configure-
|
|
45
|
+
(await import("./register.configure-PJZ3F6Y4.js")).registerConfigureCommand(program);
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
{
|
|
@@ -52,7 +52,7 @@ const coreEntries = [
|
|
|
52
52
|
hasSubcommands: true
|
|
53
53
|
}],
|
|
54
54
|
register: async ({ program }) => {
|
|
55
|
-
(await import("./config-cli-
|
|
55
|
+
(await import("./config-cli-Dv1Dad57.js")).registerConfigCli(program);
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
{
|
|
@@ -79,7 +79,7 @@ const coreEntries = [
|
|
|
79
79
|
}
|
|
80
80
|
],
|
|
81
81
|
register: async ({ program }) => {
|
|
82
|
-
(await import("./register.maintenance-
|
|
82
|
+
(await import("./register.maintenance-9XyX4HYf.js")).registerMaintenanceCommands(program);
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
{
|
|
@@ -135,7 +135,7 @@ const coreEntries = [
|
|
|
135
135
|
}
|
|
136
136
|
],
|
|
137
137
|
register: async ({ program }) => {
|
|
138
|
-
(await import("./register.status-health-sessions-
|
|
138
|
+
(await import("./register.status-health-sessions-BVIHCaPP.js")).registerStatusHealthSessionsCommands(program);
|
|
139
139
|
}
|
|
140
140
|
},
|
|
141
141
|
{
|
|
@@ -3,8 +3,8 @@ import { p as theme, vt as pathExists } from "./globals-ZyVsnNcg.js";
|
|
|
3
3
|
import { g as resolveStateDir } from "./paths-BMo6kTge.js";
|
|
4
4
|
import { i as routeLogsToStderr } from "./subsystem-DLKs6VzZ.js";
|
|
5
5
|
import { t as formatDocsLink } from "./links-BZDTcdHU.js";
|
|
6
|
-
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-
|
|
7
|
-
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-
|
|
6
|
+
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-IXr-WEhq.js";
|
|
7
|
+
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-C7nkhshN.js";
|
|
8
8
|
import { t as getProgramContext } from "./program-context-DFqiHyZ3.js";
|
|
9
9
|
import os from "node:os";
|
|
10
10
|
import path from "node:path";
|
|
@@ -3,7 +3,7 @@ import { g as resolveStateDir } from "./paths-BBP4yd-2.js";
|
|
|
3
3
|
import { I as theme, p as pathExists } from "./utils-CMEUUHmM.js";
|
|
4
4
|
import { i as routeLogsToStderr } from "./subsystem-DDZBycwS.js";
|
|
5
5
|
import { t as formatDocsLink } from "./links-BhLGjTwm.js";
|
|
6
|
-
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-
|
|
6
|
+
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-DxwZAeg4.js";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs/promises";
|
|
@@ -308,7 +308,7 @@ async function runConfigValidate(opts = {}) {
|
|
|
308
308
|
}
|
|
309
309
|
function registerConfigCli(program) {
|
|
310
310
|
const cmd = program.command("config").description("Non-interactive config helpers (get/set/unset/file/validate). Run without subcommand for the setup wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/users/cli/config", "docs.wednesdayai.dev/users/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
311
|
-
const { configureCommandFromSectionsArg } = await import("./configure-
|
|
311
|
+
const { configureCommandFromSectionsArg } = await import("./configure-CBJSHejz.js").then((n) => n.t);
|
|
312
312
|
await configureCommandFromSectionsArg(opts.section, defaultRuntime);
|
|
313
313
|
});
|
|
314
314
|
cmd.command("get").description("Get a config value by dot path").argument("<path>", "Config path (dot or bracket notation)").option("--json", "Output JSON", false).action(async (path, opts) => {
|
|
@@ -307,7 +307,7 @@ async function runConfigValidate(opts = {}) {
|
|
|
307
307
|
}
|
|
308
308
|
function registerConfigCli(program) {
|
|
309
309
|
const cmd = program.command("config").description("Non-interactive config helpers (get/set/unset/file/validate). Run without subcommand for the setup wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/users/cli/config", "docs.wednesdayai.dev/users/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
310
|
-
const { configureCommandFromSectionsArg } = await import("./configure-
|
|
310
|
+
const { configureCommandFromSectionsArg } = await import("./configure-BbKf530X.js").then((n) => n.t);
|
|
311
311
|
await configureCommandFromSectionsArg(opts.section, defaultRuntime);
|
|
312
312
|
});
|
|
313
313
|
cmd.command("get").description("Get a config value by dot path").argument("<path>", "Config path (dot or bracket notation)").option("--json", "Output JSON", false).action(async (path, opts) => {
|
package/dist/config.js
CHANGED
|
@@ -7,7 +7,7 @@ import { isDeepStrictEqual, promisify } from "node:util";
|
|
|
7
7
|
import JSON5 from "json5";
|
|
8
8
|
import dotenv from "dotenv";
|
|
9
9
|
import { Logger } from "tslog";
|
|
10
|
-
import
|
|
10
|
+
import fsp from "node:fs/promises";
|
|
11
11
|
import zlib from "node:zlib";
|
|
12
12
|
import chalk, { Chalk } from "chalk";
|
|
13
13
|
import { execFile, execFileSync } from "node:child_process";
|
|
@@ -6130,7 +6130,7 @@ async function releaseHeldLock(normalizedSessionFile, held, opts = {}) {
|
|
|
6130
6130
|
await held.handle.close();
|
|
6131
6131
|
} catch {}
|
|
6132
6132
|
try {
|
|
6133
|
-
await
|
|
6133
|
+
await fsp.rm(held.lockPath, { force: true });
|
|
6134
6134
|
} catch {}
|
|
6135
6135
|
})();
|
|
6136
6136
|
try {
|
|
@@ -6209,7 +6209,7 @@ function registerCleanupHandlers() {
|
|
|
6209
6209
|
}
|
|
6210
6210
|
async function readLockPayload(lockPath) {
|
|
6211
6211
|
try {
|
|
6212
|
-
const raw = await
|
|
6212
|
+
const raw = await fsp.readFile(lockPath, "utf8");
|
|
6213
6213
|
const parsed = JSON.parse(raw);
|
|
6214
6214
|
const payload = {};
|
|
6215
6215
|
if (isValidLockNumber(parsed.pid) && parsed.pid > 0) payload.pid = parsed.pid;
|
|
@@ -6253,7 +6253,7 @@ async function shouldReclaimContendedLockFile(lockPath, details, staleMs, nowMs)
|
|
|
6253
6253
|
if (!details.stale) return false;
|
|
6254
6254
|
if (!lockInspectionNeedsMtimeStaleFallback(details)) return true;
|
|
6255
6255
|
try {
|
|
6256
|
-
const stat = await
|
|
6256
|
+
const stat = await fsp.stat(lockPath);
|
|
6257
6257
|
return Math.max(0, nowMs - stat.mtimeMs) > staleMs;
|
|
6258
6258
|
} catch (error) {
|
|
6259
6259
|
return error?.code !== "ENOENT";
|
|
@@ -6271,10 +6271,10 @@ async function acquireSessionWriteLockWithProcessIdentity(params, processIdentit
|
|
|
6271
6271
|
const maxHoldMs = resolvePositiveMs(params.maxHoldMs, DEFAULT_MAX_HOLD_MS);
|
|
6272
6272
|
const sessionFile = path.resolve(params.sessionFile);
|
|
6273
6273
|
const sessionDir = path.dirname(sessionFile);
|
|
6274
|
-
await
|
|
6274
|
+
await fsp.mkdir(sessionDir, { recursive: true });
|
|
6275
6275
|
let normalizedDir = sessionDir;
|
|
6276
6276
|
try {
|
|
6277
|
-
normalizedDir = await
|
|
6277
|
+
normalizedDir = await fsp.realpath(sessionDir);
|
|
6278
6278
|
} catch {}
|
|
6279
6279
|
const normalizedSessionFile = path.join(normalizedDir, path.basename(sessionFile));
|
|
6280
6280
|
const lockPath = `${normalizedSessionFile}.lock`;
|
|
@@ -6292,7 +6292,7 @@ async function acquireSessionWriteLockWithProcessIdentity(params, processIdentit
|
|
|
6292
6292
|
attempt += 1;
|
|
6293
6293
|
let handle = null;
|
|
6294
6294
|
try {
|
|
6295
|
-
handle = await
|
|
6295
|
+
handle = await fsp.open(lockPath, "wx");
|
|
6296
6296
|
const createdAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
6297
6297
|
const starttime = processIdentity.getProcessStartTime(process.pid);
|
|
6298
6298
|
const lockPayload = {
|
|
@@ -6318,7 +6318,7 @@ async function acquireSessionWriteLockWithProcessIdentity(params, processIdentit
|
|
|
6318
6318
|
await handle.close();
|
|
6319
6319
|
} catch {}
|
|
6320
6320
|
try {
|
|
6321
|
-
await
|
|
6321
|
+
await fsp.rm(lockPath, { force: true });
|
|
6322
6322
|
} catch {}
|
|
6323
6323
|
}
|
|
6324
6324
|
if (err.code !== "EEXIST") throw err;
|
|
@@ -6333,7 +6333,7 @@ async function acquireSessionWriteLockWithProcessIdentity(params, processIdentit
|
|
|
6333
6333
|
stale: true,
|
|
6334
6334
|
staleReasons: inspected.staleReasons.includes("orphan-self-pid") ? inspected.staleReasons : [...inspected.staleReasons, "orphan-self-pid"]
|
|
6335
6335
|
} : inspected, staleMs, nowMs)) {
|
|
6336
|
-
await
|
|
6336
|
+
await fsp.rm(lockPath, { force: true });
|
|
6337
6337
|
continue;
|
|
6338
6338
|
}
|
|
6339
6339
|
const delay = Math.min(1e3, 50 * attempt);
|
|
@@ -15,14 +15,14 @@ import { t as createClackPrompter } from "./clack-prompter-fldgCPEr.js";
|
|
|
15
15
|
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-28JqVvAv.js";
|
|
16
16
|
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-CKbnFsNZ.js";
|
|
17
17
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BOcdJaFy.js";
|
|
18
|
-
import { t as resolveGatewayService } from "./service-
|
|
18
|
+
import { t as resolveGatewayService } from "./service-Dkcqg-rd.js";
|
|
19
19
|
import { r as healthCommand } from "./health-Cooqit6V.js";
|
|
20
20
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-BXkk_vKO.js";
|
|
21
21
|
import { n as logConfigUpdated } from "./logging-DgKdQHpc.js";
|
|
22
22
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-Dq98K1DB.js";
|
|
23
23
|
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-VnJYar-i.js";
|
|
24
24
|
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-JQM5rw_w.js";
|
|
25
|
-
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-
|
|
25
|
+
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-Dk1GWduD.js";
|
|
26
26
|
import { a as promptCustomApiConfig } from "./onboard-custom-Bz-7TT12.js";
|
|
27
27
|
import { a as maybeAddTailnetOriginToControlUiAllowedOrigins, i as TAILSCALE_MISSING_BIN_NOTE_LINES, n as TAILSCALE_DOCS_LINES, r as TAILSCALE_EXPOSURE_OPTIONS, t as validateIPv4AddressInput } from "./ipv4-BA1qFtVZ.js";
|
|
28
28
|
import { t as formatHealthCheckFailure } from "./health-format-DX1WwWnG.js";
|
|
@@ -15,14 +15,14 @@ import { t as createClackPrompter } from "./clack-prompter-CcVX4jId.js";
|
|
|
15
15
|
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-P7F-dNwm.js";
|
|
16
16
|
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-C8mJ0UpL.js";
|
|
17
17
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BYJFVHH_.js";
|
|
18
|
-
import { t as resolveGatewayService } from "./service-
|
|
18
|
+
import { t as resolveGatewayService } from "./service-C_LTJsJU.js";
|
|
19
19
|
import { r as healthCommand } from "./health-DFat5vO5.js";
|
|
20
20
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-DonecnKL.js";
|
|
21
21
|
import { n as logConfigUpdated } from "./logging-DcZLtf7P.js";
|
|
22
22
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-DB4PpLkL.js";
|
|
23
23
|
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-DTg-b2da.js";
|
|
24
24
|
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-Bt7fcUKH.js";
|
|
25
|
-
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-
|
|
25
|
+
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-NvIOU-Ez.js";
|
|
26
26
|
import { a as promptCustomApiConfig } from "./onboard-custom-x_zbf7qu.js";
|
|
27
27
|
import { a as maybeAddTailnetOriginToControlUiAllowedOrigins, i as TAILSCALE_MISSING_BIN_NOTE_LINES, n as TAILSCALE_DOCS_LINES, r as TAILSCALE_EXPOSURE_OPTIONS, t as validateIPv4AddressInput } from "./ipv4-PE-rqUZG.js";
|
|
28
28
|
import { t as formatHealthCheckFailure } from "./health-format-_VGfj3fm.js";
|
|
@@ -20,12 +20,12 @@ import { n as inheritOptionFromParent } from "./command-options-vZSwrzpA.js";
|
|
|
20
20
|
import { t as formatConfigIssueLine } from "./issue-format-BG8o87sf.js";
|
|
21
21
|
import { t as buildGatewayInstallPlan } from "./daemon-install-helpers-CKbnFsNZ.js";
|
|
22
22
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BOcdJaFy.js";
|
|
23
|
-
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-
|
|
24
|
-
import { a as createCliStatusTextStyles, c as parsePortFromArgs, d as renderRuntimeHints, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, l as pickProbeHostForBind, m as buildDaemonServiceSnapshot, n as runServiceStart, o as filterDaemonEnv, p as safeDaemonEnv, r as runServiceStop, s as normalizeListenerAddress, t as runServiceRestart, u as renderGatewayServiceStartHints } from "./lifecycle-core-
|
|
25
|
-
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-
|
|
23
|
+
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-Dkcqg-rd.js";
|
|
24
|
+
import { a as createCliStatusTextStyles, c as parsePortFromArgs, d as renderRuntimeHints, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, l as pickProbeHostForBind, m as buildDaemonServiceSnapshot, n as runServiceStart, o as filterDaemonEnv, p as safeDaemonEnv, r as runServiceStop, s as normalizeListenerAddress, t as runServiceRestart, u as renderGatewayServiceStartHints } from "./lifecycle-core-CuMY0U_8.js";
|
|
25
|
+
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-Cp0IfOPD.js";
|
|
26
26
|
import { t as parsePort } from "./parse-port-CshWaSQ9.js";
|
|
27
|
-
import { t as readLastGatewayErrorLine } from "./diagnostics-
|
|
28
|
-
import { n as renderDetectedServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-
|
|
27
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-C6ntZHc3.js";
|
|
28
|
+
import { n as renderDetectedServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-LfUprDjx.js";
|
|
29
29
|
|
|
30
30
|
//#region src/cli/daemon-cli/install.ts
|
|
31
31
|
async function runDaemonInstall(opts) {
|
|
@@ -20,12 +20,12 @@ import { n as inheritOptionFromParent } from "./command-options-6wdtBBWB.js";
|
|
|
20
20
|
import { t as formatConfigIssueLine } from "./issue-format-D0G927lb.js";
|
|
21
21
|
import { t as buildGatewayInstallPlan } from "./daemon-install-helpers-C8mJ0UpL.js";
|
|
22
22
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BYJFVHH_.js";
|
|
23
|
-
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-
|
|
24
|
-
import { a as createCliStatusTextStyles, c as parsePortFromArgs, d as renderRuntimeHints, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, l as pickProbeHostForBind, m as buildDaemonServiceSnapshot, n as runServiceStart, o as filterDaemonEnv, p as safeDaemonEnv, r as runServiceStop, s as normalizeListenerAddress, t as runServiceRestart, u as renderGatewayServiceStartHints } from "./lifecycle-core-
|
|
25
|
-
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-
|
|
23
|
+
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-C_LTJsJU.js";
|
|
24
|
+
import { a as createCliStatusTextStyles, c as parsePortFromArgs, d as renderRuntimeHints, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, l as pickProbeHostForBind, m as buildDaemonServiceSnapshot, n as runServiceStart, o as filterDaemonEnv, p as safeDaemonEnv, r as runServiceStop, s as normalizeListenerAddress, t as runServiceRestart, u as renderGatewayServiceStartHints } from "./lifecycle-core-M-5Z8Xml.js";
|
|
25
|
+
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-DzBfweRH.js";
|
|
26
26
|
import { t as parsePort } from "./parse-port-p0PJP2nG.js";
|
|
27
|
-
import { t as readLastGatewayErrorLine } from "./diagnostics-
|
|
28
|
-
import { n as renderDetectedServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-
|
|
27
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-Ds3p_NPY.js";
|
|
28
|
+
import { n as renderDetectedServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-BXlZnWkg.js";
|
|
29
29
|
|
|
30
30
|
//#region src/cli/daemon-cli/install.ts
|
|
31
31
|
async function runDaemonInstall(opts) {
|