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
package/dist/daemon-cli.js
CHANGED
|
@@ -21094,7 +21094,7 @@ function buildSystemdUnit({ description, programArguments, workingDirectory, env
|
|
|
21094
21094
|
"Restart=always",
|
|
21095
21095
|
"RestartSec=5",
|
|
21096
21096
|
"TimeoutStopSec=30",
|
|
21097
|
-
"KillMode=
|
|
21097
|
+
"KillMode=mixed",
|
|
21098
21098
|
workingDirLine,
|
|
21099
21099
|
...envLines,
|
|
21100
21100
|
"",
|
|
@@ -21863,6 +21863,7 @@ const SERVICE_AUDIT_CODES = {
|
|
|
21863
21863
|
launchdKeepAlive: "launchd-keep-alive",
|
|
21864
21864
|
launchdRunAtLoad: "launchd-run-at-load",
|
|
21865
21865
|
systemdAfterNetworkOnline: "systemd-after-network-online",
|
|
21866
|
+
systemdKillMode: "systemd-kill-mode",
|
|
21866
21867
|
systemdRestartSec: "systemd-restart-sec",
|
|
21867
21868
|
systemdTimeoutStopSec: "systemd-timeout-stop-sec",
|
|
21868
21869
|
systemdWantsNetworkOnline: "systemd-wants-network-online"
|
|
@@ -21875,11 +21876,16 @@ function parseSystemdUnit(content) {
|
|
|
21875
21876
|
const wants = /* @__PURE__ */ new Set();
|
|
21876
21877
|
let restartSec;
|
|
21877
21878
|
let timeoutStopSec;
|
|
21879
|
+
let killMode;
|
|
21880
|
+
let section = "";
|
|
21878
21881
|
for (const rawLine of content.split(/\r?\n/)) {
|
|
21879
21882
|
const line = rawLine.trim();
|
|
21880
21883
|
if (!line) continue;
|
|
21881
21884
|
if (line.startsWith("#") || line.startsWith(";")) continue;
|
|
21882
|
-
if (line.startsWith("["))
|
|
21885
|
+
if (line.startsWith("[")) {
|
|
21886
|
+
section = line;
|
|
21887
|
+
continue;
|
|
21888
|
+
}
|
|
21883
21889
|
const idx = line.indexOf("=");
|
|
21884
21890
|
if (idx <= 0) continue;
|
|
21885
21891
|
const key = line.slice(0, idx).trim();
|
|
@@ -21891,12 +21897,14 @@ function parseSystemdUnit(content) {
|
|
|
21891
21897
|
for (const entry of value.split(/\s+/)) if (entry) wants.add(entry);
|
|
21892
21898
|
} else if (key === "RestartSec") restartSec = value;
|
|
21893
21899
|
else if (key === "TimeoutStopSec") timeoutStopSec = value;
|
|
21900
|
+
else if (key === "KillMode" && section === "[Service]") killMode = value;
|
|
21894
21901
|
}
|
|
21895
21902
|
return {
|
|
21896
21903
|
after,
|
|
21897
21904
|
wants,
|
|
21898
21905
|
restartSec,
|
|
21899
|
-
timeoutStopSec
|
|
21906
|
+
timeoutStopSec,
|
|
21907
|
+
killMode
|
|
21900
21908
|
};
|
|
21901
21909
|
}
|
|
21902
21910
|
const GATEWAY_STOP_TIMEOUT_SECONDS = 30;
|
|
@@ -21909,6 +21917,29 @@ function isRestartSecPreferred(value) {
|
|
|
21909
21917
|
if (!Number.isFinite(parsed)) return false;
|
|
21910
21918
|
return Math.abs(parsed - 5) < .01;
|
|
21911
21919
|
}
|
|
21920
|
+
async function resolveEffectiveKillMode(unitPath, unitKillMode) {
|
|
21921
|
+
let effective = {
|
|
21922
|
+
value: unitKillMode,
|
|
21923
|
+
source: unitPath
|
|
21924
|
+
};
|
|
21925
|
+
const dropInDir = `${unitPath}.d`;
|
|
21926
|
+
let entries;
|
|
21927
|
+
try {
|
|
21928
|
+
entries = await fs$1.readdir(dropInDir);
|
|
21929
|
+
} catch (err) {
|
|
21930
|
+
if (err.code === "ENOENT") return effective;
|
|
21931
|
+
throw err;
|
|
21932
|
+
}
|
|
21933
|
+
for (const name of entries.filter((entry) => entry.endsWith(".conf")).toSorted()) {
|
|
21934
|
+
const dropInPath = path.join(dropInDir, name);
|
|
21935
|
+
const { killMode } = parseSystemdUnit(await fs$1.readFile(dropInPath, "utf8"));
|
|
21936
|
+
if (killMode !== void 0) effective = {
|
|
21937
|
+
value: killMode,
|
|
21938
|
+
source: dropInPath
|
|
21939
|
+
};
|
|
21940
|
+
}
|
|
21941
|
+
return effective;
|
|
21942
|
+
}
|
|
21912
21943
|
async function auditSystemdUnit(env, issues) {
|
|
21913
21944
|
const unitPath = resolveSystemdUserUnitPath(env);
|
|
21914
21945
|
let content = "";
|
|
@@ -21942,6 +21973,16 @@ async function auditSystemdUnit(env, issues) {
|
|
|
21942
21973
|
detail: unitPath,
|
|
21943
21974
|
level: "recommended"
|
|
21944
21975
|
});
|
|
21976
|
+
const killMode = await resolveEffectiveKillMode(unitPath, parsed.killMode);
|
|
21977
|
+
if (killMode.value !== "mixed") {
|
|
21978
|
+
const viaDropIn = killMode.source !== unitPath;
|
|
21979
|
+
issues.push({
|
|
21980
|
+
code: SERVICE_AUDIT_CODES.systemdKillMode,
|
|
21981
|
+
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)" : ""),
|
|
21982
|
+
detail: killMode.source,
|
|
21983
|
+
level: "recommended"
|
|
21984
|
+
});
|
|
21985
|
+
}
|
|
21945
21986
|
}
|
|
21946
21987
|
async function auditLaunchdPlist(env, issues) {
|
|
21947
21988
|
const plistPath = resolveLaunchAgentPlistPath(env);
|
|
@@ -9,9 +9,9 @@ import "./note-CWaaN_Hi.js";
|
|
|
9
9
|
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-CKbnFsNZ.js";
|
|
10
10
|
import "./runtime-guard-DchtXvGj.js";
|
|
11
11
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BOcdJaFy.js";
|
|
12
|
-
import { t as resolveGatewayService } from "./service-
|
|
13
|
-
import { r as isSystemdUserServiceAvailable } from "./systemd-
|
|
14
|
-
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-
|
|
12
|
+
import { t as resolveGatewayService } from "./service-Dkcqg-rd.js";
|
|
13
|
+
import { r as isSystemdUserServiceAvailable } from "./systemd-BJqlwupF.js";
|
|
14
|
+
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-Dk1GWduD.js";
|
|
15
15
|
|
|
16
16
|
//#region src/commands/onboard-non-interactive/local/daemon-install.ts
|
|
17
17
|
async function installGatewayDaemonNonInteractive(params) {
|
|
@@ -9,9 +9,9 @@ import "./runtime-guard-DYUXYZIl.js";
|
|
|
9
9
|
import "./note-DCbCarQS.js";
|
|
10
10
|
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-C8mJ0UpL.js";
|
|
11
11
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BYJFVHH_.js";
|
|
12
|
-
import { t as resolveGatewayService } from "./service-
|
|
13
|
-
import { r as isSystemdUserServiceAvailable } from "./systemd-
|
|
14
|
-
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-
|
|
12
|
+
import { t as resolveGatewayService } from "./service-C_LTJsJU.js";
|
|
13
|
+
import { r as isSystemdUserServiceAvailable } from "./systemd-D6tSdsgx.js";
|
|
14
|
+
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-NvIOU-Ez.js";
|
|
15
15
|
|
|
16
16
|
//#region src/commands/onboard-non-interactive/local/daemon-install.ts
|
|
17
17
|
async function installGatewayDaemonNonInteractive(params) {
|
|
@@ -5,7 +5,7 @@ import { L as normalizeAccountId, R as normalizeOptionalAccountId } from "./work
|
|
|
5
5
|
import { An as parseInlineDirectives, Br as getChannelDock, Gt as getActivePluginRegistry, Hn as appendAssistantMessageToSessionTranscript, Lr as getChannelPlugin, Un as resolveMirroredTranscriptText, qt as getActivePluginRegistryVersion, zr as normalizeChannelId } from "./model-selection-9qbqwsOT.js";
|
|
6
6
|
import { n as generateSecureUuid } from "./secure-random-BDA1WAvZ.js";
|
|
7
7
|
import { d as resolveOutboundSessionId, f as getGlobalHookRunner, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-S_VhlJs3.js";
|
|
8
|
-
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-
|
|
8
|
+
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-5JApWu7A.js";
|
|
9
9
|
import { h as hasErrnoCode } from "./proxy-env-i0jn5uxB.js";
|
|
10
10
|
import { i as getAgentScopedMediaLocalRoots } from "./fetch-BzXaK9px.js";
|
|
11
11
|
import { c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, n as chunkByParagraph } from "./chunk-eNEsWhab.js";
|
|
@@ -836,7 +836,7 @@ function startDiagnosticHeartbeat(config) {
|
|
|
836
836
|
if (ageMs > stuckSessionAbortMs && state.queueDepth > 0 && !state.capturedEnd && !state.abortDispatched && state.sessionId) {
|
|
837
837
|
state.abortDispatched = true;
|
|
838
838
|
diag.warn(`stuck-session abort: sessionId=${state.sessionId} progressAge=${Math.round(ageMs / 1e3)}s threshold=${Math.round(stuckSessionAbortMs / 1e3)}s queueDepth=${state.queueDepth}`);
|
|
839
|
-
import("./runs-
|
|
839
|
+
import("./runs-ucQd8Fc-.js").then((n) => n.c).then(({ abortEmbeddedPiRun }) => {
|
|
840
840
|
if (state.sessionId && state.abortDispatched) abortEmbeddedPiRun(state.sessionId);
|
|
841
841
|
}).catch((err) => {
|
|
842
842
|
diag.warn(`stuck-session abort import failed: ${String(err)}`);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as resolveOpenClawPackageRoot } from "./openclaw-root-B6Tk0FH8.js";
|
|
2
2
|
import { r as resolveCliName } from "./command-format-N4aQiv3X.js";
|
|
3
3
|
import { t as note } from "./note-CWaaN_Hi.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-CjPs9az4.js";
|
|
5
5
|
import { spawnSync } from "node:child_process";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as resolveOpenClawPackageRoot } from "./openclaw-root-BGUYWYDG.js";
|
|
2
2
|
import { r as resolveCliName } from "./command-format-CGUNQYjt.js";
|
|
3
3
|
import { t as note } from "./note-DCbCarQS.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-DozvikmZ.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { spawnSync } from "node:child_process";
|
|
7
7
|
|
package/dist/entry.js
CHANGED
|
@@ -380,7 +380,7 @@ if (!isMainModule({
|
|
|
380
380
|
}
|
|
381
381
|
function tryHandleRootHelpFastPath(argv) {
|
|
382
382
|
if (!isRootHelpInvocation(argv)) return false;
|
|
383
|
-
import("./program-
|
|
383
|
+
import("./program-CB5O-AyY.js").then(({ buildProgram }) => {
|
|
384
384
|
buildProgram().outputHelp();
|
|
385
385
|
}).catch((error) => {
|
|
386
386
|
console.error("[openclaw] Failed to display help:", error instanceof Error ? error.stack ?? error.message : error);
|
|
@@ -399,7 +399,7 @@ if (!isMainModule({
|
|
|
399
399
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
400
400
|
process$1.argv = parsed.argv;
|
|
401
401
|
}
|
|
402
|
-
if (!tryHandleRootVersionFastPath(process$1.argv) && !tryHandleRootHelpFastPath(process$1.argv)) import("./run-main-
|
|
402
|
+
if (!tryHandleRootVersionFastPath(process$1.argv) && !tryHandleRootHelpFastPath(process$1.argv)) import("./run-main-CsSM1uCJ.js").then(({ runCli }) => runCli(process$1.argv)).then(() => flushStdio()).then(() => process$1.exit(process$1.exitCode ?? 0)).catch(async (error) => {
|
|
403
403
|
console.error("[openclaw] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
404
404
|
await flushStdio();
|
|
405
405
|
process$1.exit(process$1.exitCode ?? 1);
|
|
@@ -24,10 +24,10 @@ import { h as saveExecApprovals, l as readExecApprovalsSnapshot } from "./exec-a
|
|
|
24
24
|
import { t as formatDocsLink } from "./links-BZDTcdHU.js";
|
|
25
25
|
import "./progress-Dc4ihErK.js";
|
|
26
26
|
import { n as callGatewayFromCli } from "./gateway-rpc-BeRn5nUX.js";
|
|
27
|
-
import "./service-
|
|
28
|
-
import "./systemd-
|
|
27
|
+
import "./service-Dkcqg-rd.js";
|
|
28
|
+
import "./systemd-BJqlwupF.js";
|
|
29
29
|
import { t as renderTable } from "./table-H366JkfJ.js";
|
|
30
|
-
import { t as describeUnknownError } from "./shared-
|
|
30
|
+
import { t as describeUnknownError } from "./shared-Cj18nzyW.js";
|
|
31
31
|
import { a as resolveNodeId, r as nodesCallOpts } from "./rpc-BljNUarN.js";
|
|
32
32
|
import JSON5 from "json5";
|
|
33
33
|
import fs from "node:fs/promises";
|
|
@@ -25,10 +25,10 @@ import "./exec-approvals-allowlist-0xON2SZW.js";
|
|
|
25
25
|
import { t as formatDocsLink } from "./links-BhLGjTwm.js";
|
|
26
26
|
import "./progress-DRMfDm7h.js";
|
|
27
27
|
import { n as callGatewayFromCli } from "./gateway-rpc-DNsG0xAN.js";
|
|
28
|
-
import "./service-
|
|
29
|
-
import "./systemd-
|
|
28
|
+
import "./service-C_LTJsJU.js";
|
|
29
|
+
import "./systemd-D6tSdsgx.js";
|
|
30
30
|
import { t as renderTable } from "./table-DoIju7rh.js";
|
|
31
|
-
import { t as describeUnknownError } from "./shared-
|
|
31
|
+
import { t as describeUnknownError } from "./shared-6Uo_6p6X.js";
|
|
32
32
|
import { a as resolveNodeId, r as nodesCallOpts } from "./rpc-B2GRFhpM.js";
|
|
33
33
|
import JSON5 from "json5";
|
|
34
34
|
import fs from "node:fs/promises";
|
|
@@ -147,19 +147,19 @@ import { t as buildChannelAccountSnapshot } from "./status-B8TZsG0t.js";
|
|
|
147
147
|
import "./channels-status-issues-C6LrjLpF.js";
|
|
148
148
|
import { i as resolveGatewayClientProfile, t as WEB_CLIENT_ALLOWED_ORIGINS_CONFIG_KEY } from "./client-profiles-BNQu4_Z_.js";
|
|
149
149
|
import "./daemon-install-helpers-C8mJ0UpL.js";
|
|
150
|
-
import "./service-
|
|
151
|
-
import "./systemd-
|
|
152
|
-
import "./lifecycle-core-
|
|
153
|
-
import "./systemd-hints-
|
|
150
|
+
import "./service-C_LTJsJU.js";
|
|
151
|
+
import "./systemd-D6tSdsgx.js";
|
|
152
|
+
import "./lifecycle-core-M-5Z8Xml.js";
|
|
153
|
+
import "./systemd-hints-DzBfweRH.js";
|
|
154
154
|
import { t as parsePort$1 } from "./parse-port-p0PJP2nG.js";
|
|
155
|
-
import { n as addGatewayServiceCommands } from "./daemon-cli-
|
|
156
|
-
import "./diagnostics-
|
|
155
|
+
import { n as addGatewayServiceCommands } from "./daemon-cli-YmPcKhvo.js";
|
|
156
|
+
import "./diagnostics-Ds3p_NPY.js";
|
|
157
157
|
import "./table-DoIju7rh.js";
|
|
158
158
|
import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } from "./widearea-dns-DgeeMUtJ.js";
|
|
159
|
-
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-
|
|
159
|
+
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-6Uo_6p6X.js";
|
|
160
160
|
import { a as probeGateway, n as collectEnabledInsecureOrDangerousFlags } from "./audit-CcNEpaG6.js";
|
|
161
161
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-C517Q6gA.js";
|
|
162
|
-
import { a as noteStorageReplayResult, i as getStorageV1Snapshot, n as getStatusSummary, o as noteStorageRestartRequired, r as createStorageSupervisor, s as pickGatewaySelfPresence } from "./status-
|
|
162
|
+
import { a as noteStorageReplayResult, i as getStorageV1Snapshot, n as getStatusSummary, o as noteStorageRestartRequired, r as createStorageSupervisor, s as pickGatewaySelfPresence } from "./status-Czr0TmiN.js";
|
|
163
163
|
import { c as redactOwner, d as redactSensitiveHealthSummary, f as styleHealthChannelLine, n as getHealthSnapshot, t as formatHealthChannelLines } from "./health-DFat5vO5.js";
|
|
164
164
|
import { a as readPostQuiesceTranscriptDelta, i as readBulkTranscriptLines, o as replaySource, r as mergeBulkTranscriptSnapshotAndDelta, t as ReplayRowConflictError } from "./replay-BHfUVVHN.js";
|
|
165
165
|
import "./session-key-resolution-DDJD1XYy.js";
|
|
@@ -169,13 +169,13 @@ import { h as normalizeUpdateChannel, l as DEFAULT_PACKAGE_CHANNEL, n as checkUp
|
|
|
169
169
|
import { t as reconcileBundledInstalls } from "./reconcile-bundled-oQwTCU_A.js";
|
|
170
170
|
import { a as resolveCommandSecretsFromActiveRuntimeSnapshot, i as prepareSecretsRuntimeSnapshot, n as clearSecretsRuntimeSnapshot, r as getActiveSecretsRuntimeSnapshot, t as activateSecretsRuntimeSnapshot } from "./runtime-Ch9itsH4.js";
|
|
171
171
|
import "./onboarding.secret-input-BCxy1JxD.js";
|
|
172
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
172
|
+
import { t as runOnboardingWizard } from "./onboarding-BcI8N4WK.js";
|
|
173
173
|
import { a as computeJobNextRunAtMs, c as findJobOrThrow, d as recomputeNextRuns, f as recomputeNextRunsForMaintenance, h as produceCronAgentTurn, i as applyJobPatch, l as isJobDue, m as resolveJobPayloadTextForMain, o as createJob, p as recordScheduleComputeError, r as resolveStaleClaimAdoptionMs, s as cronShapeSupportsIdentity, t as CRON_HEARTBEAT_ADAPTER_ID, u as nextWakeAtMs } from "./recovery-adapter-BF5ESanQ.js";
|
|
174
174
|
import { a as sendApnsAlert, c as parseMessageWithAttachments, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, p as setGatewayWsLogStyle, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration, u as logWs } from "./push-apns-uBiZYT2e.js";
|
|
175
175
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-CRvbl5q3.js";
|
|
176
176
|
import { a as readChatHistoryPage, c as unsubscribeSessionChanges, i as decodeHistoryCursor, l as assertValidParams, o as resolveDbLeafEntryId, r as InvalidHistoryCursorError, s as resolveDbMessageEntryById, t as sessionsHandlers } from "./sessions-Cy_VVMEN.js";
|
|
177
177
|
import { n as isNodeCommandAllowed, r as resolveNodeCommandAllowlist } from "./node-command-policy-B9A0wAU6.js";
|
|
178
|
-
import "./node-service-
|
|
178
|
+
import "./node-service-BnyKZNqa.js";
|
|
179
179
|
import "./status.update-BOB92yBQ.js";
|
|
180
180
|
import { i as resolveActiveLogFile, n as readLogSlice } from "./log-tail-BAg8b5Wq.js";
|
|
181
181
|
import { t as installSkill } from "./skills-install-DqCRPwE1.js";
|
|
@@ -147,19 +147,19 @@ import "./channels-status-issues-B4p6AXBG.js";
|
|
|
147
147
|
import { i as resolveGatewayClientProfile, t as WEB_CLIENT_ALLOWED_ORIGINS_CONFIG_KEY } from "./client-profiles-DP8BWND2.js";
|
|
148
148
|
import "./daemon-install-helpers-CKbnFsNZ.js";
|
|
149
149
|
import "./runtime-guard-DchtXvGj.js";
|
|
150
|
-
import "./service-
|
|
151
|
-
import "./systemd-
|
|
152
|
-
import "./lifecycle-core-
|
|
153
|
-
import "./systemd-hints-
|
|
150
|
+
import "./service-Dkcqg-rd.js";
|
|
151
|
+
import "./systemd-BJqlwupF.js";
|
|
152
|
+
import "./lifecycle-core-CuMY0U_8.js";
|
|
153
|
+
import "./systemd-hints-Cp0IfOPD.js";
|
|
154
154
|
import { t as parsePort$1 } from "./parse-port-CshWaSQ9.js";
|
|
155
|
-
import { n as addGatewayServiceCommands } from "./daemon-cli-
|
|
156
|
-
import "./diagnostics-
|
|
155
|
+
import { n as addGatewayServiceCommands } from "./daemon-cli-CiPY543O.js";
|
|
156
|
+
import "./diagnostics-C6ntZHc3.js";
|
|
157
157
|
import "./table-H366JkfJ.js";
|
|
158
158
|
import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } from "./widearea-dns-B1ALOpPn.js";
|
|
159
|
-
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-
|
|
159
|
+
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-Cj18nzyW.js";
|
|
160
160
|
import { a as probeGateway, n as collectEnabledInsecureOrDangerousFlags } from "./audit-BM8WZyx6.js";
|
|
161
161
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-B1GbNHC3.js";
|
|
162
|
-
import { a as getStorageV1Snapshot, c as pickGatewaySelfPresence, i as createStorageSupervisor, o as noteStorageReplayResult, r as getStatusSummary, s as noteStorageRestartRequired } from "./status-
|
|
162
|
+
import { a as getStorageV1Snapshot, c as pickGatewaySelfPresence, i as createStorageSupervisor, o as noteStorageReplayResult, r as getStatusSummary, s as noteStorageRestartRequired } from "./status-DJsk1JjI.js";
|
|
163
163
|
import { c as redactOwner, d as redactSensitiveHealthSummary, f as styleHealthChannelLine, n as getHealthSnapshot, t as formatHealthChannelLines } from "./health-Cooqit6V.js";
|
|
164
164
|
import { a as readPostQuiesceTranscriptDelta, i as readBulkTranscriptLines, o as replaySource, r as mergeBulkTranscriptSnapshotAndDelta, t as ReplayRowConflictError } from "./replay-B9P8F4Td.js";
|
|
165
165
|
import "./session-key-resolution-CvnTXaSw.js";
|
|
@@ -169,13 +169,13 @@ import { h as normalizeUpdateChannel, l as DEFAULT_PACKAGE_CHANNEL, n as checkUp
|
|
|
169
169
|
import { t as reconcileBundledInstalls } from "./reconcile-bundled-Dx64x8xr.js";
|
|
170
170
|
import { a as resolveCommandSecretsFromActiveRuntimeSnapshot, i as prepareSecretsRuntimeSnapshot, n as clearSecretsRuntimeSnapshot, r as getActiveSecretsRuntimeSnapshot, t as activateSecretsRuntimeSnapshot } from "./runtime-ACR3KU8j.js";
|
|
171
171
|
import "./onboarding.secret-input-YvW1rg1V.js";
|
|
172
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
172
|
+
import { t as runOnboardingWizard } from "./onboarding-BBb8ZbfX.js";
|
|
173
173
|
import { a as computeJobNextRunAtMs, c as findJobOrThrow, d as recomputeNextRuns, f as recomputeNextRunsForMaintenance, h as produceCronAgentTurn, i as applyJobPatch, l as isJobDue, m as resolveJobPayloadTextForMain, o as createJob, p as recordScheduleComputeError, r as resolveStaleClaimAdoptionMs, s as cronShapeSupportsIdentity, t as CRON_HEARTBEAT_ADAPTER_ID, u as nextWakeAtMs } from "./recovery-adapter-CPQ9-014.js";
|
|
174
174
|
import { a as sendApnsAlert, c as parseMessageWithAttachments, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, p as setGatewayWsLogStyle, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration, u as logWs } from "./push-apns-DYlVj3Sd.js";
|
|
175
175
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-BzuIKryU.js";
|
|
176
176
|
import { a as readChatHistoryPage, c as unsubscribeSessionChanges, i as decodeHistoryCursor, l as assertValidParams, o as resolveDbLeafEntryId, r as InvalidHistoryCursorError, s as resolveDbMessageEntryById, t as sessionsHandlers } from "./sessions-DCXadUdD.js";
|
|
177
177
|
import { n as isNodeCommandAllowed, r as resolveNodeCommandAllowlist } from "./node-command-policy-wwMY6dIH.js";
|
|
178
|
-
import "./node-service-
|
|
178
|
+
import "./node-service-Ys7JZFz-.js";
|
|
179
179
|
import "./status.update-C4YRQzqD.js";
|
|
180
180
|
import { i as resolveActiveLogFile, n as readLogSlice } from "./log-tail-Dg2oYTZ6.js";
|
|
181
181
|
import { t as installSkill } from "./skills-install-B23U6yk5.js";
|
package/dist/index.js
CHANGED
|
@@ -123,7 +123,7 @@ import { t as isMainModule } from "./is-main-KU6jxc5L.js";
|
|
|
123
123
|
import { t as ensureOpenClawCliOnPath } from "./path-env-IcDKkMPr.js";
|
|
124
124
|
import { t as assertSupportedRuntime } from "./runtime-guard-DYUXYZIl.js";
|
|
125
125
|
import "./ports-BTxrPqTm.js";
|
|
126
|
-
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-
|
|
126
|
+
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-DxwZAeg4.js";
|
|
127
127
|
import "./plugin-registry-CPS5bO_-.js";
|
|
128
128
|
import { n as resolveCliChannelOptions } from "./channel-options-Dod3uWTl.js";
|
|
129
129
|
import process$1 from "node:process";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { l as normalizeGatewayProfile, m as resolveGatewayWindowsTaskName, n as GATEWAY_SERVICE_KIND, p as resolveGatewaySystemdServiceName, r as GATEWAY_SERVICE_MARKER, u as resolveGatewayLaunchAgentLabel } from "./constants-CDczneMo.js";
|
|
2
2
|
import { t as execFileUtf8 } from "./exec-file-CZ_u3ipX.js";
|
|
3
|
-
import { n as execSchtasks } from "./service-
|
|
3
|
+
import { n as execSchtasks } from "./service-C_LTJsJU.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import fs from "node:fs/promises";
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { l as normalizeGatewayProfile, m as resolveGatewayWindowsTaskName, n as GATEWAY_SERVICE_KIND, p as resolveGatewaySystemdServiceName, r as GATEWAY_SERVICE_MARKER, u as resolveGatewayLaunchAgentLabel } from "./constants-BFfVAxyG.js";
|
|
2
2
|
import { t as execFileUtf8 } from "./exec-file-C5DQiEEG.js";
|
|
3
|
-
import { n as execSchtasks } from "./service-
|
|
3
|
+
import { n as execSchtasks } from "./service-Dkcqg-rd.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import fs from "node:fs/promises";
|
|
6
6
|
|
|
@@ -7,9 +7,9 @@ import { t as resolveGatewayCredentialsFromConfig } from "./credentials-DVI9X-9y
|
|
|
7
7
|
import { m as resolveGatewayWindowsTaskName, p as resolveGatewaySystemdServiceName, u as resolveGatewayLaunchAgentLabel } from "./constants-BFfVAxyG.js";
|
|
8
8
|
import { t as isWSL } from "./wsl-BisEqrSr.js";
|
|
9
9
|
import { n as formatConfigIssueLines } from "./issue-format-BG8o87sf.js";
|
|
10
|
-
import { s as resolveGatewayLogPaths } from "./service-
|
|
11
|
-
import { r as isSystemdUserServiceAvailable } from "./systemd-
|
|
12
|
-
import { a as checkTokenDrift, n as renderSystemdUnavailableHints } from "./systemd-hints-
|
|
10
|
+
import { s as resolveGatewayLogPaths } from "./service-Dkcqg-rd.js";
|
|
11
|
+
import { r as isSystemdUserServiceAvailable } from "./systemd-BJqlwupF.js";
|
|
12
|
+
import { a as checkTokenDrift, n as renderSystemdUnavailableHints } from "./systemd-hints-Cp0IfOPD.js";
|
|
13
13
|
import { t as parsePort } from "./parse-port-CshWaSQ9.js";
|
|
14
14
|
import { Writable } from "node:stream";
|
|
15
15
|
|
|
@@ -7,9 +7,9 @@ import { t as resolveGatewayCredentialsFromConfig } from "./credentials-Hn2dA0oB
|
|
|
7
7
|
import { t as isWSL } from "./wsl-Baz9nyoY.js";
|
|
8
8
|
import { m as resolveGatewayWindowsTaskName, p as resolveGatewaySystemdServiceName, u as resolveGatewayLaunchAgentLabel } from "./constants-CDczneMo.js";
|
|
9
9
|
import { n as formatConfigIssueLines } from "./issue-format-D0G927lb.js";
|
|
10
|
-
import { s as resolveGatewayLogPaths } from "./service-
|
|
11
|
-
import { r as isSystemdUserServiceAvailable } from "./systemd-
|
|
12
|
-
import { a as checkTokenDrift, n as renderSystemdUnavailableHints } from "./systemd-hints-
|
|
10
|
+
import { s as resolveGatewayLogPaths } from "./service-C_LTJsJU.js";
|
|
11
|
+
import { r as isSystemdUserServiceAvailable } from "./systemd-D6tSdsgx.js";
|
|
12
|
+
import { a as checkTokenDrift, n as renderSystemdUnavailableHints } from "./systemd-hints-DzBfweRH.js";
|
|
13
13
|
import { t as parsePort } from "./parse-port-p0PJP2nG.js";
|
|
14
14
|
import { Writable } from "node:stream";
|
|
15
15
|
|
|
@@ -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 "./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";
|
|
@@ -46,13 +46,13 @@ import "./issue-format-BG8o87sf.js";
|
|
|
46
46
|
import { a as buildNodeServiceEnvironment, i as emitNodeRuntimeWarning, m as resolveNodeProgramArguments, r as resolveGatewayDevMode, u as resolvePreferredNodePath } from "./daemon-install-helpers-CKbnFsNZ.js";
|
|
47
47
|
import "./runtime-guard-DchtXvGj.js";
|
|
48
48
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BOcdJaFy.js";
|
|
49
|
-
import { s as resolveGatewayLogPaths } from "./service-
|
|
50
|
-
import "./systemd-
|
|
51
|
-
import { a as createCliStatusTextStyles, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, m as buildDaemonServiceSnapshot, r as runServiceStop, t as runServiceRestart } from "./lifecycle-core-
|
|
52
|
-
import { s as formatRuntimeStatus } from "./systemd-hints-
|
|
49
|
+
import { s as resolveGatewayLogPaths } from "./service-Dkcqg-rd.js";
|
|
50
|
+
import "./systemd-BJqlwupF.js";
|
|
51
|
+
import { a as createCliStatusTextStyles, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, m as buildDaemonServiceSnapshot, r as runServiceStop, t as runServiceRestart } from "./lifecycle-core-CuMY0U_8.js";
|
|
52
|
+
import { s as formatRuntimeStatus } from "./systemd-hints-Cp0IfOPD.js";
|
|
53
53
|
import { t as parsePort } from "./parse-port-CshWaSQ9.js";
|
|
54
54
|
import { i as NODE_SYSTEM_RUN_COMMANDS, n as NODE_EXEC_APPROVALS_COMMANDS, t as NODE_BROWSER_PROXY_COMMAND } from "./node-commands-BHsr5JEo.js";
|
|
55
|
-
import { t as resolveNodeService } from "./node-service-
|
|
55
|
+
import { t as resolveNodeService } from "./node-service-Ys7JZFz-.js";
|
|
56
56
|
import { spawn, spawnSync } from "node:child_process";
|
|
57
57
|
import path from "node:path";
|
|
58
58
|
import fs from "node:fs";
|
|
@@ -47,13 +47,13 @@ import "./runtime-guard-DYUXYZIl.js";
|
|
|
47
47
|
import "./issue-format-D0G927lb.js";
|
|
48
48
|
import { a as buildNodeServiceEnvironment, i as emitNodeRuntimeWarning, m as resolveNodeProgramArguments, r as resolveGatewayDevMode, u as resolvePreferredNodePath } from "./daemon-install-helpers-C8mJ0UpL.js";
|
|
49
49
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BYJFVHH_.js";
|
|
50
|
-
import { s as resolveGatewayLogPaths } from "./service-
|
|
51
|
-
import "./systemd-
|
|
52
|
-
import { a as createCliStatusTextStyles, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, m as buildDaemonServiceSnapshot, r as runServiceStop, t as runServiceRestart } from "./lifecycle-core-
|
|
53
|
-
import { s as formatRuntimeStatus } from "./systemd-hints-
|
|
50
|
+
import { s as resolveGatewayLogPaths } from "./service-C_LTJsJU.js";
|
|
51
|
+
import "./systemd-D6tSdsgx.js";
|
|
52
|
+
import { a as createCliStatusTextStyles, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, m as buildDaemonServiceSnapshot, r as runServiceStop, t as runServiceRestart } from "./lifecycle-core-M-5Z8Xml.js";
|
|
53
|
+
import { s as formatRuntimeStatus } from "./systemd-hints-DzBfweRH.js";
|
|
54
54
|
import { t as parsePort } from "./parse-port-p0PJP2nG.js";
|
|
55
55
|
import { i as NODE_SYSTEM_RUN_COMMANDS, n as NODE_EXEC_APPROVALS_COMMANDS, t as NODE_BROWSER_PROXY_COMMAND } from "./node-commands-B7m4LVAo.js";
|
|
56
|
-
import { t as resolveNodeService } from "./node-service-
|
|
56
|
+
import { t as resolveNodeService } from "./node-service-BnyKZNqa.js";
|
|
57
57
|
import fs from "node:fs";
|
|
58
58
|
import path from "node:path";
|
|
59
59
|
import fs$1 from "node:fs/promises";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as resolveNodeSystemdServiceName, a as NODE_SERVICE_KIND, g as resolveNodeLaunchAgentLabel, o as NODE_SERVICE_MARKER, s as NODE_WINDOWS_TASK_SCRIPT_NAME, v as resolveNodeWindowsTaskName } from "./constants-CDczneMo.js";
|
|
2
|
-
import { t as resolveGatewayService } from "./service-
|
|
2
|
+
import { t as resolveGatewayService } from "./service-C_LTJsJU.js";
|
|
3
3
|
|
|
4
4
|
//#region src/daemon/node-service.ts
|
|
5
5
|
function withNodeServiceEnv(env) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as resolveNodeSystemdServiceName, a as NODE_SERVICE_KIND, g as resolveNodeLaunchAgentLabel, o as NODE_SERVICE_MARKER, s as NODE_WINDOWS_TASK_SCRIPT_NAME, v as resolveNodeWindowsTaskName } from "./constants-BFfVAxyG.js";
|
|
2
|
-
import { t as resolveGatewayService } from "./service-
|
|
2
|
+
import { t as resolveGatewayService } from "./service-Dkcqg-rd.js";
|
|
3
3
|
|
|
4
4
|
//#region src/daemon/node-service.ts
|
|
5
5
|
function withNodeServiceEnv(env) {
|
|
@@ -9,7 +9,7 @@ import { t as WizardCancelledError } from "./prompts-BBkof-cQ.js";
|
|
|
9
9
|
import { t as createClackPrompter } from "./clack-prompter-fldgCPEr.js";
|
|
10
10
|
import { t as assertSupportedRuntime } from "./runtime-guard-DchtXvGj.js";
|
|
11
11
|
import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BOcdJaFy.js";
|
|
12
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
12
|
+
import { t as runOnboardingWizard } from "./onboarding-BBb8ZbfX.js";
|
|
13
13
|
import { n as logConfigUpdated } from "./logging-DgKdQHpc.js";
|
|
14
14
|
import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-CloquEDg.js";
|
|
15
15
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-YMJ1PLAF.js";
|
|
@@ -253,7 +253,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
253
253
|
logConfigUpdated(runtime);
|
|
254
254
|
await ensureWorkspaceAndSessions(workspaceDir, runtime, { skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap) });
|
|
255
255
|
if (opts.installDaemon) {
|
|
256
|
-
const { installGatewayDaemonNonInteractive } = await import("./daemon-install-
|
|
256
|
+
const { installGatewayDaemonNonInteractive } = await import("./daemon-install-BuETscSF.js");
|
|
257
257
|
await installGatewayDaemonNonInteractive({
|
|
258
258
|
nextConfig,
|
|
259
259
|
opts,
|
|
@@ -9,7 +9,7 @@ import { t as assertSupportedRuntime } from "./runtime-guard-DYUXYZIl.js";
|
|
|
9
9
|
import { t as WizardCancelledError } from "./prompts-m1IJwIAx.js";
|
|
10
10
|
import { t as createClackPrompter } from "./clack-prompter-CcVX4jId.js";
|
|
11
11
|
import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BYJFVHH_.js";
|
|
12
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
12
|
+
import { t as runOnboardingWizard } from "./onboarding-BcI8N4WK.js";
|
|
13
13
|
import { n as logConfigUpdated } from "./logging-DcZLtf7P.js";
|
|
14
14
|
import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-D3DJ3bcx.js";
|
|
15
15
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-FrOdovje.js";
|
|
@@ -253,7 +253,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
253
253
|
logConfigUpdated(runtime);
|
|
254
254
|
await ensureWorkspaceAndSessions(workspaceDir, runtime, { skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap) });
|
|
255
255
|
if (opts.installDaemon) {
|
|
256
|
-
const { installGatewayDaemonNonInteractive } = await import("./daemon-install-
|
|
256
|
+
const { installGatewayDaemonNonInteractive } = await import("./daemon-install-CGg5r1wy.js");
|
|
257
257
|
await installGatewayDaemonNonInteractive({
|
|
258
258
|
nextConfig,
|
|
259
259
|
opts,
|
|
@@ -327,7 +327,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
327
327
|
mode
|
|
328
328
|
});
|
|
329
329
|
await writeConfigFile(nextConfig);
|
|
330
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
330
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-BXkz7oPa.js");
|
|
331
331
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
332
332
|
flow,
|
|
333
333
|
opts,
|
|
@@ -327,7 +327,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
327
327
|
mode
|
|
328
328
|
});
|
|
329
329
|
await writeConfigFile(nextConfig);
|
|
330
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
330
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-D9fyrhAS.js");
|
|
331
331
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
332
332
|
flow,
|
|
333
333
|
opts,
|
|
@@ -120,20 +120,20 @@ import "./cli-utils-aSBNHQae.js";
|
|
|
120
120
|
import "./help-format-DuL_Y84f.js";
|
|
121
121
|
import "./progress-Dc4ihErK.js";
|
|
122
122
|
import "./note-CWaaN_Hi.js";
|
|
123
|
-
import { r as installCompletion } from "./completion-cli-
|
|
124
|
-
import "./register.subclis-
|
|
125
|
-
import "./command-registry-
|
|
123
|
+
import { r as installCompletion } from "./completion-cli-CjPs9az4.js";
|
|
124
|
+
import "./register.subclis-IXr-WEhq.js";
|
|
125
|
+
import "./command-registry-C7nkhshN.js";
|
|
126
126
|
import "./program-context-DFqiHyZ3.js";
|
|
127
127
|
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-CKbnFsNZ.js";
|
|
128
128
|
import "./runtime-guard-DchtXvGj.js";
|
|
129
129
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BOcdJaFy.js";
|
|
130
|
-
import { t as resolveGatewayService } from "./service-
|
|
131
|
-
import { r as isSystemdUserServiceAvailable } from "./systemd-
|
|
130
|
+
import { t as resolveGatewayService } from "./service-Dkcqg-rd.js";
|
|
131
|
+
import { r as isSystemdUserServiceAvailable } from "./systemd-BJqlwupF.js";
|
|
132
132
|
import { r as healthCommand } from "./health-Cooqit6V.js";
|
|
133
133
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-BXkk_vKO.js";
|
|
134
134
|
import { t as resolveOnboardingSecretInputString } from "./onboarding.secret-input-YvW1rg1V.js";
|
|
135
135
|
import { t as formatHealthCheckFailure } from "./health-format-DX1WwWnG.js";
|
|
136
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
136
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-CJYV2FQ5.js";
|
|
137
137
|
import { t as runTui } from "./tui-WSQKUD4o.js";
|
|
138
138
|
import os from "node:os";
|
|
139
139
|
import path from "node:path";
|
|
@@ -199,7 +199,7 @@ async function finalizeOnboardingWizard(options) {
|
|
|
199
199
|
const systemdAvailable = process.platform === "linux" ? await isSystemdUserServiceAvailable() : true;
|
|
200
200
|
if (process.platform === "linux" && !systemdAvailable) await prompter.note("Systemd user services are unavailable. Skipping lingering checks and service install.", "Systemd");
|
|
201
201
|
if (process.platform === "linux" && systemdAvailable) {
|
|
202
|
-
const { ensureSystemdUserLingerInteractive } = await import("./systemd-linger-
|
|
202
|
+
const { ensureSystemdUserLingerInteractive } = await import("./systemd-linger-Dk1GWduD.js").then((n) => n.r);
|
|
203
203
|
await ensureSystemdUserLingerInteractive({
|
|
204
204
|
runtime,
|
|
205
205
|
prompter: {
|