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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Gt as isNodeRuntime, Wt as isBunRuntime } from "./globals-ZyVsnNcg.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-N4aQiv3X.js";
|
|
3
3
|
import { c as isVersionManagedNodePath, f as resolveSystemNodePath, o as getMinimalServicePathPartsFromEnv, s as isSystemNodePath } from "./daemon-install-helpers-CKbnFsNZ.js";
|
|
4
|
-
import { c as resolveLaunchAgentPlistPath } from "./service-
|
|
5
|
-
import { o as resolveSystemdUserUnitPath } from "./systemd-
|
|
4
|
+
import { c as resolveLaunchAgentPlistPath } from "./service-Dkcqg-rd.js";
|
|
5
|
+
import { o as resolveSystemdUserUnitPath } from "./systemd-BJqlwupF.js";
|
|
6
6
|
import { t as formatRuntimeStatusWithDetails } from "./runtime-status-724Sf6yk.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
@@ -42,6 +42,7 @@ const SERVICE_AUDIT_CODES = {
|
|
|
42
42
|
launchdKeepAlive: "launchd-keep-alive",
|
|
43
43
|
launchdRunAtLoad: "launchd-run-at-load",
|
|
44
44
|
systemdAfterNetworkOnline: "systemd-after-network-online",
|
|
45
|
+
systemdKillMode: "systemd-kill-mode",
|
|
45
46
|
systemdRestartSec: "systemd-restart-sec",
|
|
46
47
|
systemdTimeoutStopSec: "systemd-timeout-stop-sec",
|
|
47
48
|
systemdWantsNetworkOnline: "systemd-wants-network-online"
|
|
@@ -57,11 +58,16 @@ function parseSystemdUnit(content) {
|
|
|
57
58
|
const wants = /* @__PURE__ */ new Set();
|
|
58
59
|
let restartSec;
|
|
59
60
|
let timeoutStopSec;
|
|
61
|
+
let killMode;
|
|
62
|
+
let section = "";
|
|
60
63
|
for (const rawLine of content.split(/\r?\n/)) {
|
|
61
64
|
const line = rawLine.trim();
|
|
62
65
|
if (!line) continue;
|
|
63
66
|
if (line.startsWith("#") || line.startsWith(";")) continue;
|
|
64
|
-
if (line.startsWith("["))
|
|
67
|
+
if (line.startsWith("[")) {
|
|
68
|
+
section = line;
|
|
69
|
+
continue;
|
|
70
|
+
}
|
|
65
71
|
const idx = line.indexOf("=");
|
|
66
72
|
if (idx <= 0) continue;
|
|
67
73
|
const key = line.slice(0, idx).trim();
|
|
@@ -73,12 +79,14 @@ function parseSystemdUnit(content) {
|
|
|
73
79
|
for (const entry of value.split(/\s+/)) if (entry) wants.add(entry);
|
|
74
80
|
} else if (key === "RestartSec") restartSec = value;
|
|
75
81
|
else if (key === "TimeoutStopSec") timeoutStopSec = value;
|
|
82
|
+
else if (key === "KillMode" && section === "[Service]") killMode = value;
|
|
76
83
|
}
|
|
77
84
|
return {
|
|
78
85
|
after,
|
|
79
86
|
wants,
|
|
80
87
|
restartSec,
|
|
81
|
-
timeoutStopSec
|
|
88
|
+
timeoutStopSec,
|
|
89
|
+
killMode
|
|
82
90
|
};
|
|
83
91
|
}
|
|
84
92
|
const GATEWAY_STOP_TIMEOUT_SECONDS = 30;
|
|
@@ -91,6 +99,29 @@ function isRestartSecPreferred(value) {
|
|
|
91
99
|
if (!Number.isFinite(parsed)) return false;
|
|
92
100
|
return Math.abs(parsed - 5) < .01;
|
|
93
101
|
}
|
|
102
|
+
async function resolveEffectiveKillMode(unitPath, unitKillMode) {
|
|
103
|
+
let effective = {
|
|
104
|
+
value: unitKillMode,
|
|
105
|
+
source: unitPath
|
|
106
|
+
};
|
|
107
|
+
const dropInDir = `${unitPath}.d`;
|
|
108
|
+
let entries;
|
|
109
|
+
try {
|
|
110
|
+
entries = await fs.readdir(dropInDir);
|
|
111
|
+
} catch (err) {
|
|
112
|
+
if (err.code === "ENOENT") return effective;
|
|
113
|
+
throw err;
|
|
114
|
+
}
|
|
115
|
+
for (const name of entries.filter((entry) => entry.endsWith(".conf")).toSorted()) {
|
|
116
|
+
const dropInPath = path.join(dropInDir, name);
|
|
117
|
+
const { killMode } = parseSystemdUnit(await fs.readFile(dropInPath, "utf8"));
|
|
118
|
+
if (killMode !== void 0) effective = {
|
|
119
|
+
value: killMode,
|
|
120
|
+
source: dropInPath
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
return effective;
|
|
124
|
+
}
|
|
94
125
|
async function auditSystemdUnit(env, issues) {
|
|
95
126
|
const unitPath = resolveSystemdUserUnitPath(env);
|
|
96
127
|
let content = "";
|
|
@@ -124,6 +155,16 @@ async function auditSystemdUnit(env, issues) {
|
|
|
124
155
|
detail: unitPath,
|
|
125
156
|
level: "recommended"
|
|
126
157
|
});
|
|
158
|
+
const killMode = await resolveEffectiveKillMode(unitPath, parsed.killMode);
|
|
159
|
+
if (killMode.value !== "mixed") {
|
|
160
|
+
const viaDropIn = killMode.source !== unitPath;
|
|
161
|
+
issues.push({
|
|
162
|
+
code: SERVICE_AUDIT_CODES.systemdKillMode,
|
|
163
|
+
message: "KillMode should be mixed so gateway child processes are cleaned up on stop and restart" + (viaDropIn ? " (set by a drop-in; remove or change that override — reinstalling does not touch drop-ins)" : ""),
|
|
164
|
+
detail: killMode.source,
|
|
165
|
+
level: "recommended"
|
|
166
|
+
});
|
|
167
|
+
}
|
|
127
168
|
}
|
|
128
169
|
async function auditLaunchdPlist(env, issues) {
|
|
129
170
|
const plistPath = resolveLaunchAgentPlistPath(env);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Bt as isBunRuntime, Vt as isNodeRuntime } from "./utils-CMEUUHmM.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-CGUNQYjt.js";
|
|
3
3
|
import { c as isVersionManagedNodePath, f as resolveSystemNodePath, o as getMinimalServicePathPartsFromEnv, s as isSystemNodePath } from "./daemon-install-helpers-C8mJ0UpL.js";
|
|
4
|
-
import { c as resolveLaunchAgentPlistPath } from "./service-
|
|
5
|
-
import { o as resolveSystemdUserUnitPath } from "./systemd-
|
|
4
|
+
import { c as resolveLaunchAgentPlistPath } from "./service-C_LTJsJU.js";
|
|
5
|
+
import { o as resolveSystemdUserUnitPath } from "./systemd-D6tSdsgx.js";
|
|
6
6
|
import { t as formatRuntimeStatusWithDetails } from "./runtime-status-BodbipG7.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
@@ -42,6 +42,7 @@ const SERVICE_AUDIT_CODES = {
|
|
|
42
42
|
launchdKeepAlive: "launchd-keep-alive",
|
|
43
43
|
launchdRunAtLoad: "launchd-run-at-load",
|
|
44
44
|
systemdAfterNetworkOnline: "systemd-after-network-online",
|
|
45
|
+
systemdKillMode: "systemd-kill-mode",
|
|
45
46
|
systemdRestartSec: "systemd-restart-sec",
|
|
46
47
|
systemdTimeoutStopSec: "systemd-timeout-stop-sec",
|
|
47
48
|
systemdWantsNetworkOnline: "systemd-wants-network-online"
|
|
@@ -57,11 +58,16 @@ function parseSystemdUnit(content) {
|
|
|
57
58
|
const wants = /* @__PURE__ */ new Set();
|
|
58
59
|
let restartSec;
|
|
59
60
|
let timeoutStopSec;
|
|
61
|
+
let killMode;
|
|
62
|
+
let section = "";
|
|
60
63
|
for (const rawLine of content.split(/\r?\n/)) {
|
|
61
64
|
const line = rawLine.trim();
|
|
62
65
|
if (!line) continue;
|
|
63
66
|
if (line.startsWith("#") || line.startsWith(";")) continue;
|
|
64
|
-
if (line.startsWith("["))
|
|
67
|
+
if (line.startsWith("[")) {
|
|
68
|
+
section = line;
|
|
69
|
+
continue;
|
|
70
|
+
}
|
|
65
71
|
const idx = line.indexOf("=");
|
|
66
72
|
if (idx <= 0) continue;
|
|
67
73
|
const key = line.slice(0, idx).trim();
|
|
@@ -73,12 +79,14 @@ function parseSystemdUnit(content) {
|
|
|
73
79
|
for (const entry of value.split(/\s+/)) if (entry) wants.add(entry);
|
|
74
80
|
} else if (key === "RestartSec") restartSec = value;
|
|
75
81
|
else if (key === "TimeoutStopSec") timeoutStopSec = value;
|
|
82
|
+
else if (key === "KillMode" && section === "[Service]") killMode = value;
|
|
76
83
|
}
|
|
77
84
|
return {
|
|
78
85
|
after,
|
|
79
86
|
wants,
|
|
80
87
|
restartSec,
|
|
81
|
-
timeoutStopSec
|
|
88
|
+
timeoutStopSec,
|
|
89
|
+
killMode
|
|
82
90
|
};
|
|
83
91
|
}
|
|
84
92
|
const GATEWAY_STOP_TIMEOUT_SECONDS = 30;
|
|
@@ -91,6 +99,29 @@ function isRestartSecPreferred(value) {
|
|
|
91
99
|
if (!Number.isFinite(parsed)) return false;
|
|
92
100
|
return Math.abs(parsed - 5) < .01;
|
|
93
101
|
}
|
|
102
|
+
async function resolveEffectiveKillMode(unitPath, unitKillMode) {
|
|
103
|
+
let effective = {
|
|
104
|
+
value: unitKillMode,
|
|
105
|
+
source: unitPath
|
|
106
|
+
};
|
|
107
|
+
const dropInDir = `${unitPath}.d`;
|
|
108
|
+
let entries;
|
|
109
|
+
try {
|
|
110
|
+
entries = await fs.readdir(dropInDir);
|
|
111
|
+
} catch (err) {
|
|
112
|
+
if (err.code === "ENOENT") return effective;
|
|
113
|
+
throw err;
|
|
114
|
+
}
|
|
115
|
+
for (const name of entries.filter((entry) => entry.endsWith(".conf")).toSorted()) {
|
|
116
|
+
const dropInPath = path.join(dropInDir, name);
|
|
117
|
+
const { killMode } = parseSystemdUnit(await fs.readFile(dropInPath, "utf8"));
|
|
118
|
+
if (killMode !== void 0) effective = {
|
|
119
|
+
value: killMode,
|
|
120
|
+
source: dropInPath
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
return effective;
|
|
124
|
+
}
|
|
94
125
|
async function auditSystemdUnit(env, issues) {
|
|
95
126
|
const unitPath = resolveSystemdUserUnitPath(env);
|
|
96
127
|
let content = "";
|
|
@@ -124,6 +155,16 @@ async function auditSystemdUnit(env, issues) {
|
|
|
124
155
|
detail: unitPath,
|
|
125
156
|
level: "recommended"
|
|
126
157
|
});
|
|
158
|
+
const killMode = await resolveEffectiveKillMode(unitPath, parsed.killMode);
|
|
159
|
+
if (killMode.value !== "mixed") {
|
|
160
|
+
const viaDropIn = killMode.source !== unitPath;
|
|
161
|
+
issues.push({
|
|
162
|
+
code: SERVICE_AUDIT_CODES.systemdKillMode,
|
|
163
|
+
message: "KillMode should be mixed so gateway child processes are cleaned up on stop and restart" + (viaDropIn ? " (set by a drop-in; remove or change that override — reinstalling does not touch drop-ins)" : ""),
|
|
164
|
+
detail: killMode.source,
|
|
165
|
+
level: "recommended"
|
|
166
|
+
});
|
|
167
|
+
}
|
|
127
168
|
}
|
|
128
169
|
async function auditLaunchdPlist(env, issues) {
|
|
129
170
|
const plistPath = resolveLaunchAgentPlistPath(env);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as note } from "./note-CWaaN_Hi.js";
|
|
3
|
-
import { d as enableSystemdUserLinger, f as readSystemdUserLingerStatus, r as isSystemdUserServiceAvailable } from "./systemd-
|
|
3
|
+
import { d as enableSystemdUserLinger, f as readSystemdUserLingerStatus, r as isSystemdUserServiceAvailable } from "./systemd-BJqlwupF.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/systemd-linger.ts
|
|
6
6
|
var systemd_linger_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as note } from "./note-DCbCarQS.js";
|
|
3
|
-
import { d as enableSystemdUserLinger, f as readSystemdUserLingerStatus, r as isSystemdUserServiceAvailable } from "./systemd-
|
|
3
|
+
import { d as enableSystemdUserLinger, f as readSystemdUserLingerStatus, r as isSystemdUserServiceAvailable } from "./systemd-D6tSdsgx.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/systemd-linger.ts
|
|
6
6
|
var systemd_linger_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -122,7 +122,7 @@ import { m as resolveGatewayWindowsTaskName, p as resolveGatewaySystemdServiceNa
|
|
|
122
122
|
import "./redact-snapshot-Cm6wsMRx.js";
|
|
123
123
|
import "./session-cost-usage-pjXSgi_U.js";
|
|
124
124
|
import { r as parseSemver } from "./runtime-guard-DYUXYZIl.js";
|
|
125
|
-
import "./program-context-
|
|
125
|
+
import "./program-context-DxwZAeg4.js";
|
|
126
126
|
import "./skills-status-Dufi5_o3.js";
|
|
127
127
|
import { n as inheritOptionFromParent } from "./command-options-6wdtBBWB.js";
|
|
128
128
|
import "./note-DCbCarQS.js";
|
|
@@ -132,14 +132,14 @@ import "./skill-scanner-BA3h34y0.js";
|
|
|
132
132
|
import "./installs-CpnJwZZ_.js";
|
|
133
133
|
import { n as formatConfigIssueLines } from "./issue-format-D0G927lb.js";
|
|
134
134
|
import "./channels-status-issues-C6LrjLpF.js";
|
|
135
|
-
import { r as installCompletion } from "./completion-cli-
|
|
135
|
+
import { r as installCompletion } from "./completion-cli-DozvikmZ.js";
|
|
136
136
|
import "./daemon-install-helpers-C8mJ0UpL.js";
|
|
137
|
-
import { t as resolveGatewayService } from "./service-
|
|
138
|
-
import "./systemd-
|
|
139
|
-
import "./lifecycle-core-
|
|
140
|
-
import "./systemd-hints-
|
|
141
|
-
import { a as terminateStaleGatewayPids, i as renderRestartDiagnostics, o as waitForGatewayHealthyRestart, r as runDaemonRestart, s as runDaemonInstall } from "./daemon-cli-
|
|
142
|
-
import "./diagnostics-
|
|
137
|
+
import { t as resolveGatewayService } from "./service-C_LTJsJU.js";
|
|
138
|
+
import "./systemd-D6tSdsgx.js";
|
|
139
|
+
import "./lifecycle-core-M-5Z8Xml.js";
|
|
140
|
+
import "./systemd-hints-DzBfweRH.js";
|
|
141
|
+
import { a as terminateStaleGatewayPids, i as renderRestartDiagnostics, o as waitForGatewayHealthyRestart, r as runDaemonRestart, s as runDaemonInstall } from "./daemon-cli-YmPcKhvo.js";
|
|
142
|
+
import "./diagnostics-Ds3p_NPY.js";
|
|
143
143
|
import { t as renderTable } from "./table-DoIju7rh.js";
|
|
144
144
|
import "./health-DFat5vO5.js";
|
|
145
145
|
import "./session-key-resolution-DDJD1XYy.js";
|
|
@@ -151,10 +151,10 @@ import "./logging-DcZLtf7P.js";
|
|
|
151
151
|
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-D86-cS_v.js";
|
|
152
152
|
import "./doctor-config-flow-BSKd49U6.js";
|
|
153
153
|
import "./oauth-tls-preflight-B5akdNNh.js";
|
|
154
|
-
import "./systemd-linger-
|
|
154
|
+
import "./systemd-linger-NvIOU-Ez.js";
|
|
155
155
|
import "./health-format-_VGfj3fm.js";
|
|
156
|
-
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-
|
|
157
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
156
|
+
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-CfTLn2TL.js";
|
|
157
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-D4T2GzR7.js";
|
|
158
158
|
import os from "node:os";
|
|
159
159
|
import path from "node:path";
|
|
160
160
|
import fs from "node:fs/promises";
|
|
@@ -130,18 +130,18 @@ import "./skill-scanner-BrEkff8K.js";
|
|
|
130
130
|
import "./installs-CdLdL1gD.js";
|
|
131
131
|
import { n as formatConfigIssueLines } from "./issue-format-BG8o87sf.js";
|
|
132
132
|
import "./channels-status-issues-B4p6AXBG.js";
|
|
133
|
-
import { r as installCompletion } from "./completion-cli-
|
|
134
|
-
import "./register.subclis-
|
|
135
|
-
import "./command-registry-
|
|
133
|
+
import { r as installCompletion } from "./completion-cli-CjPs9az4.js";
|
|
134
|
+
import "./register.subclis-IXr-WEhq.js";
|
|
135
|
+
import "./command-registry-C7nkhshN.js";
|
|
136
136
|
import "./program-context-DFqiHyZ3.js";
|
|
137
137
|
import "./daemon-install-helpers-CKbnFsNZ.js";
|
|
138
138
|
import { r as parseSemver } from "./runtime-guard-DchtXvGj.js";
|
|
139
|
-
import { t as resolveGatewayService } from "./service-
|
|
140
|
-
import "./systemd-
|
|
141
|
-
import "./lifecycle-core-
|
|
142
|
-
import "./systemd-hints-
|
|
143
|
-
import { a as terminateStaleGatewayPids, i as renderRestartDiagnostics, o as waitForGatewayHealthyRestart, r as runDaemonRestart, s as runDaemonInstall } from "./daemon-cli-
|
|
144
|
-
import "./diagnostics-
|
|
139
|
+
import { t as resolveGatewayService } from "./service-Dkcqg-rd.js";
|
|
140
|
+
import "./systemd-BJqlwupF.js";
|
|
141
|
+
import "./lifecycle-core-CuMY0U_8.js";
|
|
142
|
+
import "./systemd-hints-Cp0IfOPD.js";
|
|
143
|
+
import { a as terminateStaleGatewayPids, i as renderRestartDiagnostics, o as waitForGatewayHealthyRestart, r as runDaemonRestart, s as runDaemonInstall } from "./daemon-cli-CiPY543O.js";
|
|
144
|
+
import "./diagnostics-C6ntZHc3.js";
|
|
145
145
|
import { t as renderTable } from "./table-H366JkfJ.js";
|
|
146
146
|
import "./health-Cooqit6V.js";
|
|
147
147
|
import "./session-key-resolution-CvnTXaSw.js";
|
|
@@ -153,10 +153,10 @@ import "./logging-DgKdQHpc.js";
|
|
|
153
153
|
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-DJaR3w6x.js";
|
|
154
154
|
import "./doctor-config-flow-gOmD0dFV.js";
|
|
155
155
|
import "./oauth-tls-preflight-DJESrRid.js";
|
|
156
|
-
import "./systemd-linger-
|
|
156
|
+
import "./systemd-linger-Dk1GWduD.js";
|
|
157
157
|
import "./health-format-DX1WwWnG.js";
|
|
158
|
-
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-
|
|
159
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
158
|
+
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-1UYyuvWX.js";
|
|
159
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-CJYV2FQ5.js";
|
|
160
160
|
import { spawn, spawnSync } from "node:child_process";
|
|
161
161
|
import os from "node:os";
|
|
162
162
|
import path from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wednesdayai/deepinfra",
|
|
3
|
-
"version": "0.4.12-dev.
|
|
3
|
+
"version": "0.4.12-dev.717+16de7e104",
|
|
4
4
|
"private": true,
|
|
5
5
|
"description": "DeepInfra media understanding: Whisper audio transcription via the DeepInfra OpenAI-compatible API.",
|
|
6
6
|
"type": "module",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/dream-cycle",
|
|
3
|
-
"version": "0.4.12-dev.
|
|
3
|
+
"version": "0.4.12-dev.717+16de7e104",
|
|
4
4
|
"private": true,
|
|
5
5
|
"description": "WednesdayAI dream-cycle engine — idle-time sleep stages, contemplation, adaptation, crystallisation",
|
|
6
6
|
"type": "module",
|