wednesdayai 0.6.1-dev.47 → 0.6.1-dev.50
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/{acp-cli-DwgE-JaK.js → acp-cli-COVr7c9K.js} +12 -12
- package/dist/{agent-DOJWHSTp.js → agent-BgBSmNaI.js} +11 -11
- package/dist/{agent-BzS-Bw92.js → agent-XU4Yrfkg.js} +19 -19
- package/dist/{agent-turn-enqueue-DNz67IZC.js → agent-turn-enqueue-C65boHpU.js} +6 -6
- package/dist/{agent-turn-execute-CVq_M1H9.js → agent-turn-execute-CijEn5uU.js} +81 -81
- package/dist/{agent-turn-recovery-adapter-CVhr928E.js → agent-turn-recovery-adapter-xa1CJlHy.js} +4 -4
- package/dist/{agent-turn-runner-MK7RWfZB.js → agent-turn-runner-ns-G6-qQ.js} +4 -4
- package/dist/{agent-turn-runner-BnpbHkgj.js → agent-turn-runner-zXi4ADUq.js} +6 -6
- package/dist/{agents-iPiwcs70.js → agents-DdxbZ1yR.js} +15 -15
- package/dist/{agents.config-Dh-NFmf1.js → agents.config-Du-EvARZ.js} +2 -2
- package/dist/{audit-D4zYMRNh.js → audit-0XGsgYln.js} +21 -21
- package/dist/{auth-BLSoSze_.js → auth-a3TKKlev.js} +4 -4
- package/dist/{auth-choice-2S2Bu397.js → auth-choice-6lPmGWX_.js} +13 -13
- package/dist/{auth-choice-CAlWQnS0.js → auth-choice-BlU5Jwiy.js} +16 -16
- package/dist/{auth-choice.apply-helpers-DXEH3kKc.js → auth-choice.apply-helpers-BT5h7Kd2.js} +1 -1
- package/dist/{auth-token-RZVdRVFL.js → auth-token-BJlagO1q.js} +2 -2
- package/dist/{banner-DPhzJGvu.js → banner-DTi0GYhj.js} +4 -4
- package/dist/{bonjour-discovery-BP2NnLb7.js → bonjour-discovery-BaPEhz6-.js} +3 -3
- package/dist/{browser-cli-DqPOdkfi.js → browser-cli-cJbbNuC-.js} +20 -20
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +32 -32
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-journal/handler.js +31 -31
- package/dist/bundled/session-memory/handler.js +32 -32
- package/dist/{call-DzGlAM6A.js → call-DC_l0C6c.js} +5 -5
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{catalog-feed-DAWwBcpU.js → catalog-feed-BPQiz-j4.js} +2 -2
- package/dist/{channel-account-context-DHCvTbB_.js → channel-account-context-BR30O-XA.js} +2 -2
- package/dist/{channel-options-C-m0chcy.js → channel-options-pWJ9tPoi.js} +3 -3
- package/dist/{channel-selection-o_GXmd3S.js → channel-selection-SzzxWFqF.js} +1 -1
- package/dist/{channels-cli-DDV8DQJF.js → channels-cli-DCPDMwOi.js} +102 -102
- package/dist/{channels-status-issues-CDGOGIDW.js → channels-status-issues-D7YJcPZY.js} +1 -1
- package/dist/{chrome-BblDtIhl.js → chrome-DaxSYq9x.js} +6 -6
- package/dist/{chrome-C1IRBXCq.js → chrome-cV7G42a8.js} +32 -32
- package/dist/{clack-prompter-X5gjXw2v.js → clack-prompter-CSTfawN7.js} +5 -5
- package/dist/clawbot-cli-N0qA9LCg.js +32 -0
- package/dist/cli-BS1xXWfW.js +147 -0
- package/dist/{client-RYxRFbaf.js → client-CXlXbWxa.js} +4 -4
- package/dist/{client-profiles-DJoOHmYb.js → client-profiles-BPSW-Pej.js} +2 -2
- package/dist/{clipboard-DqxGZScZ.js → clipboard-C0KqeNJz.js} +1 -1
- package/dist/{command-queue-CZNc1Y5b.js → command-queue-CypbHAAc.js} +1 -1
- package/dist/{command-queue-CgNl6dbc.js → command-queue-DCuGQ6oE.js} +1 -1
- package/dist/{command-registry-nGIVkV6u.js → command-registry-Dn80fYRF.js} +13 -13
- package/dist/{command-secret-targets-BwUg9MG7.js → command-secret-targets-DJebWnC0.js} +4 -4
- package/dist/{commands-P3aAWSG_.js → commands-C4yR5Eki.js} +1 -1
- package/dist/{commands-registry-jq_YarKY.js → commands-registry-DagIzqO7.js} +4 -4
- package/dist/{completion-cli-CdEHcp3V.js → completion-cli-CFOXdHq-.js} +5 -5
- package/dist/{config-cli-BDy6tJDD.js → config-cli-DtQjTEf3.js} +14 -14
- package/dist/{config-guard-I6AtTyZv.js → config-guard-J_hz16uv.js} +4 -4
- package/dist/{config-validation-otVjLKQn.js → config-validation-Db_ZJIqZ.js} +4 -4
- package/dist/{configure-u-u8aXM_.js → configure-DbO7EHyB.js} +22 -22
- package/dist/{console-CdR5lE0A.js → console-eDkX4znK.js} +1 -1
- package/dist/control-ui-v2/assets/{AgentsView-BtvwUvjT.js → AgentsView-K8DEVXxj.js} +1 -1
- package/dist/control-ui-v2/assets/{AutomationsView-Bm551KRf.js → AutomationsView-DO0ssbS6.js} +1 -1
- package/dist/control-ui-v2/assets/Badge-me4YM1lq.js +1 -0
- package/dist/control-ui-v2/assets/{Button-D5rMawzJ.js → Button-ralPMMNs.js} +1 -1
- package/dist/control-ui-v2/assets/{ChannelsView-Bmcrzyc8.js → ChannelsView-8vJB0hXL.js} +1 -1
- package/dist/control-ui-v2/assets/{ConfigForm-tS4Ekkuj.js → ConfigForm-IOs1Exic.js} +1 -1
- package/dist/control-ui-v2/assets/{ConfirmDialog-B-AAbwH-.js → ConfirmDialog-9ode6FP3.js} +1 -1
- package/dist/control-ui-v2/assets/{DataTable-BqqaNmU8.js → DataTable-BbRrWxor.js} +1 -1
- package/dist/control-ui-v2/assets/{DebugView-w3AcoKSJ.js → DebugView-hDoK-Miv.js} +1 -1
- package/dist/control-ui-v2/assets/{Dialog-Che1C2PS.js → Dialog-oJKnAIqZ.js} +1 -1
- package/dist/control-ui-v2/assets/{DreamsView-CRVOkZ0y.js → DreamsView-QBWBlJnW.js} +1 -1
- package/dist/control-ui-v2/assets/{EntityLink-D6UsLKQR.js → EntityLink-CMtTP9Dk.js} +1 -1
- package/dist/control-ui-v2/assets/{FilterPills-CA2lRy0A.js → FilterPills-C_zBIqFP.js} +1 -1
- package/dist/control-ui-v2/assets/{InstancesView-D1s_2Z-j.js → InstancesView-BlXUEHAU.js} +1 -1
- package/dist/control-ui-v2/assets/{LearningView-BOxsGx8P.js → LearningView-De4YeA4M.js} +1 -1
- package/dist/control-ui-v2/assets/{LogsView-DU03hzlQ.js → LogsView-CbllorCk.js} +1 -1
- package/dist/control-ui-v2/assets/{NodesView-DH8y_KeJ.js → NodesView-DD4GYH-6.js} +1 -1
- package/dist/control-ui-v2/assets/{OverviewView-DHPrvXcn.js → OverviewView-7YdkWdG1.js} +1 -1
- package/dist/control-ui-v2/assets/{Panel-DM0JsHgz.js → Panel-CqcbBXzJ.js} +1 -1
- package/dist/control-ui-v2/assets/{PluginMount-DfCGGLsN.js → PluginMount-CIP5T99f.js} +1 -1
- package/dist/control-ui-v2/assets/{PluginPageView-7zgkiz9P.js → PluginPageView-D-WSAQoY.js} +1 -1
- package/dist/control-ui-v2/assets/{PluginPanels-BfBbsH_Z.js → PluginPanels-AFbR8qyk.js} +1 -1
- package/dist/control-ui-v2/assets/{RecoveryView-CrGTo_hu.js → RecoveryView-wCA7Nq9J.js} +1 -1
- package/dist/control-ui-v2/assets/{RunsView-Dp6Mtciq.js → RunsView-DucoEAaM.js} +1 -1
- package/dist/control-ui-v2/assets/{SessionsView-DbjlMwqU.js → SessionsView-0DgZ_-MW.js} +1 -1
- package/dist/control-ui-v2/assets/{SettingsView-Ci22dw48.js → SettingsView-CfTJTK06.js} +1 -1
- package/dist/control-ui-v2/assets/{SkillsView-7BGQcoCn.js → SkillsView-C_sMCqlY.js} +1 -1
- package/dist/control-ui-v2/assets/{Stat-DQyb-fKe.js → Stat-BRQhQ01w.js} +1 -1
- package/dist/control-ui-v2/assets/{StatusDot-CRJsKnJw.js → StatusDot-CjtPcYD9.js} +1 -1
- package/dist/control-ui-v2/assets/{StorageView-5BqFOHli.js → StorageView-B3vVHqxH.js} +1 -1
- package/dist/control-ui-v2/assets/{UpdatedAgo-D_q8xIeZ.js → UpdatedAgo-CJqGVu6_.js} +1 -1
- package/dist/control-ui-v2/assets/{UsageView-Bm9sF-Wt.js → UsageView-BUZtG2MG.js} +1 -1
- package/dist/control-ui-v2/assets/{config-store-zXNM_umy.js → config-store-DiHUH-77.js} +1 -1
- package/dist/control-ui-v2/assets/{format-DpM2rlEo.js → format-BPrfsCHW.js} +1 -1
- package/dist/control-ui-v2/assets/{gateway-features-C0JaT4JI.js → gateway-features-SDBnjY95.js} +1 -1
- package/dist/control-ui-v2/assets/{index-CGoFdGyu.js → index-ChHyE-y3.js} +1 -1
- package/dist/control-ui-v2/assets/{links-Bcw24zqI.js → links-vgPLVF05.js} +2 -2
- package/dist/control-ui-v2/assets/{run-rows-DVijLB79.js → run-rows-1MUje5J6.js} +1 -1
- package/dist/control-ui-v2/assets/{runs-store-Cxbnn8K8.js → runs-store-BZTDbQro.js} +1 -1
- package/dist/control-ui-v2/assets/{use-gateway-query-xtY3vmte.js → use-gateway-query-7iLwemQz.js} +1 -1
- package/dist/control-ui-v2/index.html +7 -7
- package/dist/{controller-ClPKFt9H.js → controller-Bibu9RBu.js} +1 -1
- package/dist/{credentials-D8xf4kQ3.js → credentials-BzwRYS__.js} +1 -1
- package/dist/{cron-cli-BcTM_Nir.js → cron-cli-C3uwnjAJ.js} +16 -16
- package/dist/{daemon-cli-mpcai9ZB.js → daemon-cli-DhSeyb4s.js} +18 -18
- package/dist/{daemon-install-Mm9lvcvD.js → daemon-install-DCXozUs7.js} +11 -11
- package/dist/{daemon-install-helpers-D74OoyoM.js → daemon-install-helpers-CU4mnKsx.js} +2 -2
- package/dist/{delete-agent-sessions-Drf95Usu.js → delete-agent-sessions-BNaCeFyf.js} +1 -1
- package/dist/{deliver-Di5lG5OI.js → deliver-DTy7SNq9.js} +11 -11
- package/dist/{deliver-BukUfhSv.js → deliver-XZwPv99X.js} +28 -28
- package/dist/{devices-cli-DfnrI4Q4.js → devices-cli-BZzq7Fou.js} +14 -14
- package/dist/{diagnostic-B4mnFYUK.js → diagnostic-5TT45xHw.js} +4 -4
- package/dist/{diagnostic-C8nY3mdC.js → diagnostic-CeSjaots.js} +3 -3
- package/dist/{diagnostics-BzqDQMJ0.js → diagnostics-aJloMvRL.js} +1 -1
- package/dist/{directory-cli-tEju7zyL.js → directory-cli-BdfsQsAd.js} +12 -12
- package/dist/{dm-policy-shared-DuFgR_0W.js → dm-policy-shared-BZGS_0kS.js} +5 -5
- package/dist/{dns-cli-1Fm79fkk.js → dns-cli-BXbIk9ti.js} +11 -11
- package/dist/{docs-cli-PbTOsDX0.js → docs-cli-DpSAY3cX.js} +12 -12
- package/dist/{doctor-4PvP20jU.js → doctor-8FDQmndb.js} +1 -1
- package/dist/{doctor-completion-D_hqUq1a.js → doctor-completion-D3c2yROu.js} +3 -3
- package/dist/{doctor-config-flow-Cn3VGUWv.js → doctor-config-flow-DsjAW_i3.js} +12 -12
- package/dist/{enable-CoZmUN1F.js → enable-BD-5STUq.js} +2 -2
- package/dist/entry.js +2 -2
- package/dist/{errors-C-0CPtkE.js → errors-BaBvv30m.js} +1 -1
- package/dist/{exec-CP66JVDC.js → exec-DiLAfuLr.js} +3 -3
- package/dist/{exec-approvals-DEidE9cu.js → exec-approvals-BwBMqZpq.js} +2 -2
- package/dist/{exec-approvals-allowlist-D3VLWMn3.js → exec-approvals-allowlist-DeajDmQz.js} +1 -1
- package/dist/{exec-approvals-cli-CD0A7x-1.js → exec-approvals-cli-D0vutwdC.js} +23 -23
- package/dist/{exec-safe-bin-runtime-policy-DgsZVxiX.js → exec-safe-bin-runtime-policy-GyiNcLWt.js} +2 -2
- package/dist/{extension-relay-auth-C4DY3BoO.js → extension-relay-auth-Vn4eJEcQ.js} +3 -3
- package/dist/{fences-D0-yWVSH.js → fences-CISax-La.js} +16 -16
- package/dist/{fetch-guard-DVeFm4CZ.js → fetch-guard-Bnzd4qWS.js} +2 -2
- package/dist/{fetch-guard-Bx35q9u4.js → fetch-guard-CDkEddFV.js} +2 -2
- package/dist/{frontmatter-QVz_zD_W.js → frontmatter-BtfJx9Sg.js} +3 -3
- package/dist/{frontmatter-BUaSX8Fz.js → frontmatter-Bzvwr1W7.js} +3 -3
- package/dist/{fs-safe-DA9gVh9s.js → fs-safe-D8HkhuMZ.js} +3 -3
- package/dist/{fs-safe-BV3IWmYM.js → fs-safe-jXfn3Elb.js} +26 -26
- package/dist/{gateway-cli-BGDf_UXv.js → gateway-cli-lPADWps2.js} +152 -152
- package/dist/{gateway-rpc-DpYzInuu.js → gateway-rpc-DQG3hBI5.js} +3 -3
- package/dist/{globals-BVh-VW1y.js → globals-BOYJmqPO.js} +4 -4
- package/dist/{gmail-setup-utils-BUD74IWH.js → gmail-setup-utils-Db0ZWkas.js} +3 -3
- package/dist/{health-DoUNuepo.js → health-CqBDDLKJ.js} +12 -12
- package/dist/{health-format-D_7YEfOK.js → health-format-B3wM0UeC.js} +1 -1
- package/dist/{heartbeat-tick-BRGg7O46.js → heartbeat-tick-DWTPRSj2.js} +1 -1
- package/dist/{help-format-B9fBC7YQ.js → help-format-3m9GNcQp.js} +1 -1
- package/dist/{helpers-BMCu08tD.js → helpers-ByEDcAjf.js} +1 -1
- package/dist/{hooks-cli-D6KMUi8J.js → hooks-cli-CuvmA2a8.js} +90 -90
- package/dist/{hooks-status-DsJcrJdW.js → hooks-status-D42ilCFd.js} +3 -3
- package/dist/{identity-cli-hw9RP7bb.js → identity-cli-eGQmm7Uf.js} +20 -20
- package/dist/{identity-links-DGrSQOyI.js → identity-links-CMiIcgvn.js} +4 -4
- package/dist/{image-ops-oycM9vAs.js → image-ops-BT8bD5QW.js} +2 -2
- package/dist/{inspect-y-Rf7C9M.js → inspect-DHJbh1BK.js} +1 -1
- package/dist/{install-package-dir-cFGJwdjt.js → install-package-dir-atID3P53.js} +4 -4
- package/dist/{install-safe-path-BKMVgfRM.js → install-safe-path-5pN67hCN.js} +3 -3
- package/dist/{installs-BpMec9Cz.js → installs-C8HDE8ek.js} +10 -10
- package/dist/{ipv4-_5izhCOd.js → ipv4-D-LmFWW3.js} +2 -2
- package/dist/{issue-format-BcCT1LCp.js → issue-format-3AjTJZ-g.js} +1 -1
- package/dist/{jobs-BADjbSd0.js → jobs-BGleUcI-.js} +3 -3
- package/dist/{legacy-names-DpNvKeY4.js → legacy-names-BncMDG8I.js} +26 -26
- package/dist/{legacy-names-D-gFhJkB.js → legacy-names-m85yQK-H.js} +4 -4
- package/dist/{lifecycle-core-BDcQzbfM.js → lifecycle-core-lEWBgzfk.js} +8 -8
- package/dist/{links-CNDAkRQK.js → links-C3uVLgry.js} +1 -1
- package/dist/llm-slug-generator.js +31 -31
- package/dist/{log-tail-P2iIBET-.js → log-tail-BVn--aNY.js} +1 -1
- package/dist/{logging-BrtVmOug.js → logging-CasLPWvm.js} +1 -1
- package/dist/{logs-cli-DNJpQfm5.js → logs-cli-C8g9JGRK.js} +15 -15
- package/dist/{manager-qTIsRkIR.js → manager-COuC5aCY.js} +16 -16
- package/dist/{manager-ANr3eRjC.js → manager-DO4sftxl.js} +6 -6
- package/dist/{manager-Byt2W-zl.js → manager-zauhsMSz.js} +7 -7
- package/dist/{memory-cli-C-kkAcSv.js → memory-cli-C6ChdKAF.js} +15 -15
- package/dist/{model-C0zdj1IG.js → model-CY6irdbq.js} +2 -2
- package/dist/{model-catalog-D2OnT5G5.js → model-catalog-PS0jzDnI.js} +4 -4
- package/dist/{model-picker-DqmubfPT.js → model-picker-CTFCXSBm.js} +4 -4
- package/dist/{model-selection-BFwMLFJs.js → model-selection-LDnLrnn_.js} +78 -78
- package/dist/{models-CpRbKJuJ.js → models-C3BadlQJ.js} +20 -20
- package/dist/{models-cli-DZkw5Jdo.js → models-cli-nmVozi2V.js} +92 -92
- package/dist/{models-config-C3Tq7XpJ.js → models-config-QyFOywkg.js} +2 -2
- package/dist/{net-CsWibfvZ.js → net-D11xIRO3.js} +2 -2
- package/dist/{net-ZNMDyvE6.js → net-DqV0ZX0o.js} +1 -1
- package/dist/{node-cli-Cnez-SsZ.js → node-cli-S-iiWwOu.js} +37 -37
- package/dist/{node-command-policy-07YXEli2.js → node-command-policy-CgAWdzL5.js} +1 -1
- package/dist/{node-service-CAIBDHUL.js → node-service-DZ8fTOrl.js} +1 -1
- package/dist/{nodes-cli-tf4VB1mc.js → nodes-cli-BsGZc9ap.js} +22 -22
- package/dist/{nodes-screen-BeGrUDun.js → nodes-screen-CE5ExO2h.js} +4 -4
- package/dist/{note-DU3J-cLi.js → note-3jvXiQ6d.js} +2 -2
- package/dist/{npm-pack-install-LDEh8ibx.js → npm-pack-install-hlogNf3I.js} +2 -2
- package/dist/{npm-resolution-hwnRhJMY.js → npm-resolution-HrhqxZv1.js} +5 -5
- package/dist/{nudge-DO_XorIH.js → nudge-E00XAyaB.js} +9 -9
- package/dist/{nudge-BwlwOlHp.js → nudge-dYyHjBXU.js} +32 -32
- package/dist/{oauth-tls-preflight-Dml1qLXe.js → oauth-tls-preflight-JLBGc5N0.js} +1 -1
- package/dist/{onboard-Ca24xZMF.js → onboard-DlZ1BOYr.js} +11 -11
- package/dist/{onboard-channels-D9_949pz.js → onboard-channels-CgNpTkpG.js} +16 -16
- package/dist/{onboard-custom-B-Mkie4R.js → onboard-custom-DCm_Y_rq.js} +4 -4
- package/dist/{onboard-helpers-ByWR3CzW.js → onboard-helpers-DM-4vR0k.js} +8 -8
- package/dist/{onboard-hooks-BeOBPHVT.js → onboard-hooks-8Pr9LF3E.js} +8 -8
- package/dist/{onboard-remote-Bcj3rkca.js → onboard-remote-DmGboWPK.js} +5 -5
- package/dist/{onboard-skills-naWc0YmQ.js → onboard-skills-CWqQ6_nv.js} +4 -4
- package/dist/{onboarding-BGv0OTQ7.js → onboarding-DP9CpRIE.js} +18 -18
- package/dist/{onboarding.finalize-DXb_92Cl.js → onboarding.finalize-BopskbFm.js} +98 -98
- package/dist/{onboarding.gateway-config-CWPurA78.js → onboarding.gateway-config-F79AgW-W.js} +21 -21
- package/dist/{onboarding.secret-input-CWSgVFz4.js → onboarding.secret-input-Dg2d19bw.js} +1 -1
- package/dist/{openai-model-default-DqvDB0tE.js → openai-model-default-DZdYjkgw.js} +2 -2
- package/dist/{operator-commands-DucDPVYt.js → operator-commands-73Jy7Whh.js} +6 -6
- package/dist/{outbound-attachment-9K5W_qRv.js → outbound-attachment-BJKAbId_.js} +8 -8
- package/dist/{outbound-attachment-TmKpX3fK.js → outbound-attachment-BWJTBdLV.js} +9 -9
- package/dist/{outbound-send-deps-CZSYC14H.js → outbound-send-deps-DhCughCA.js} +4 -4
- package/dist/{pairing-cli-Cu9D7InY.js → pairing-cli-B_Py5VFV.js} +19 -19
- package/dist/{pairing-labels-ByiR4xag.js → pairing-labels-g02uyuXJ.js} +1 -1
- package/dist/{pairing-store-BwhC2WSm.js → pairing-store-C6blSyqu.js} +3 -3
- package/dist/{path-alias-guards-1poj6WAF.js → path-alias-guards-BQTkQXB8.js} +1 -1
- package/dist/{path-safety-DVOKipvs.js → path-safety-DiKe4sLz.js} +1 -1
- package/dist/{pi-embedded-CSaAlmuo.js → pi-embedded-BIha9wV3.js} +227 -227
- package/dist/{pi-embedded-helpers-D-rwFjbw.js → pi-embedded-helpers-D9jcApuf.js} +5 -5
- package/dist/{pi-embedded-recovery-adapter-gFm3nWut.js → pi-embedded-recovery-adapter-BwHVGYu3.js} +37 -37
- package/dist/{pi-model-discovery-BO1rPzPp.js → pi-model-discovery-Wg17i5yr.js} +7 -7
- package/dist/{pi-model-discovery-B7YaarSR.js → pi-model-discovery-qfeaBTmR.js} +1 -1
- package/dist/{pid-alive-Dp9yiDJm.js → pid-alive-CVi1kpc0.js} +1 -1
- package/dist/{plugin-auto-enable-vtMrJ3Bo.js → plugin-auto-enable-BndBdzvN.js} +4 -4
- package/dist/{plugin-owned-work-recovery-adapter-khLJn2o6.js → plugin-owned-work-recovery-adapter-CU0jgkGU.js} +9 -9
- package/dist/{plugin-registry-Bdf1V0v4.js → plugin-registry-j-zdK9Aj.js} +4 -4
- package/dist/plugin-sdk/{agent-Dpwqmur5.js → agent-BGApB_hH.js} +33 -33
- package/dist/plugin-sdk/{agent-turn-execute-B4f6kU8t.js → agent-turn-execute-CovKPB71.js} +47 -47
- package/dist/plugin-sdk/{agent-turn-runner-8-elIcKG.js → agent-turn-runner-x5EwBtiy.js} +6 -6
- package/dist/plugin-sdk/{chrome-DmrLIg1A.js → chrome-CWrDqDvu.js} +6 -6
- package/dist/plugin-sdk/{command-queue-DbyHTkqC.js → command-queue-BjQhBzl0.js} +1 -1
- package/dist/plugin-sdk/{deliver-DRb5wg9T.js → deliver-Bufpy1Nj.js} +10 -10
- package/dist/plugin-sdk/{diagnostic-BaEfjzoG.js → diagnostic-DWsfRRMb.js} +3 -3
- package/dist/plugin-sdk/{errors-Di-1W5oL.js → errors-CU4XzshA.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-D593bO1R.js → fetch-guard-Bkz_LvY1.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-B9qlEOPl.js → fs-safe-mU6OF_le.js} +2 -2
- package/dist/plugin-sdk/{image-ops-ByQhA5AW.js → image-ops-BN9LfKcr.js} +2 -2
- package/dist/plugin-sdk/{manager-BlVhEJyV.js → manager-CHVkW_mo.js} +5 -5
- package/dist/plugin-sdk/{model-auth-BYzo7BMW.js → model-auth-A8ol0IK6.js} +6 -6
- package/dist/plugin-sdk/{models-config-Df7qxXDT.js → models-config-DwWNe4wJ.js} +2 -2
- package/dist/plugin-sdk/{nudge-8hrtI-uQ.js → nudge-DKWORgbV.js} +6 -6
- package/dist/plugin-sdk/{openai-compatible-video-CC8O8EEM.js → openai-compatible-video-zjvEDFQp.js} +6 -6
- package/dist/plugin-sdk/{outbound-attachment-D5Du9kSm.js → outbound-attachment-DDNTRL0U.js} +7 -7
- package/dist/plugin-sdk/{pi-embedded-helpers-DDrF73tt.js → pi-embedded-helpers-Pj_rV8qf.js} +13 -13
- package/dist/plugin-sdk/{pi-embedded-utils-DLlaty3W.js → pi-embedded-utils-D6jztEWf.js} +3 -3
- package/dist/plugin-sdk/{pi-model-discovery-Cgvb050_.js → pi-model-discovery-D_iAcUa4.js} +1 -1
- package/dist/plugin-sdk/provider-media-understanding.js +16 -16
- package/dist/plugin-sdk/{pw-ai-BEcGp8XY.js → pw-ai-BwgzJYjo.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-DXpe_ju8.js → qmd-manager-DAFEkAMD.js} +6 -6
- package/dist/plugin-sdk/{qmd-scope-DVIoXpLl.js → qmd-scope-DJLcA3NX.js} +1 -1
- package/dist/plugin-sdk/{query-expansion-D0qReab0.js → query-expansion-CkRCFmXy.js} +2 -2
- package/dist/plugin-sdk/{recorder-S1aQdgl5.js → recorder-Brvd3BNt.js} +2 -2
- package/dist/plugin-sdk/{redact-CcJnxu3z.js → redact-B42Dpjen.js} +1 -1
- package/dist/plugin-sdk/{reply-directives-CEvR8_X7.js → reply-directives-twMFpY3R.js} +2 -2
- package/dist/plugin-sdk/{runs-D6b6GEuq.js → runs-w3MS_VZ4.js} +7 -7
- package/dist/plugin-sdk/{send-_X4VJ-16.js → send-7QsCXN2z.js} +5 -5
- package/dist/plugin-sdk/{send-DC_wB-oy.js → send-7cDA7nYq.js} +4 -4
- package/dist/plugin-sdk/{sessions-V6UyW1ee.js → sessions-BkkGJf0L.js} +3 -3
- package/dist/plugin-sdk/{ssrf-BD-w1_r0.js → ssrf-Bul6kRmN.js} +1 -1
- package/dist/{subsystem-D1n05zOF.js → plugin-sdk/subsystem-ChbeeOSk.js} +5 -5
- package/dist/plugin-sdk/{tool-loop-detection-JyupU8MW.js → tool-loop-detection-CJDaraAN.js} +1 -1
- package/dist/plugin-sdk/{user-run-recording-BHAgBh4G.js → user-run-recording-BK8sYUEb.js} +2 -2
- package/dist/plugin-sdk/{ws-Cd1gQ37X.js → ws-zY8UZwJ_.js} +1 -1
- package/dist/{plugins-Do2VO-bb.js → plugins-50bsyRF5.js} +12 -12
- package/dist/{plugins-cli-ClCHi--i.js → plugins-cli-B7i09-Yu.js} +94 -94
- package/dist/{ports-wpTsMPMQ.js → ports-Cx-3VoKB.js} +1 -1
- package/dist/{ports-CkB6zd6B.js → ports-qsGNGnWb.js} +2 -2
- package/dist/{program-BNEbV10c.js → program-DVVCdH_Q.js} +91 -91
- package/dist/{progress-DRmPtDtg.js → progress-DLl5RtiT.js} +2 -2
- package/dist/{prompt-select-styled-CNJtUcHo.js → prompt-select-styled-kC6tnFRy.js} +39 -39
- package/dist/{prompt-style-DpZu7Rv0.js → prompt-style-C-jp54Ww.js} +1 -1
- package/dist/{provider-auth-helpers-BmlLx1lK.js → provider-auth-helpers-CoSW0VEc.js} +5 -5
- package/dist/{proxy-env-D2TojSO4.js → proxy-env-B8ko7FIe.js} +1 -1
- package/dist/{proxy-env-ieess7Mx.js → proxy-env-Cbti8B-h.js} +1 -1
- package/dist/{push-apns-B35KAhUm.js → push-apns-ouI2t6wj.js} +7 -7
- package/dist/{pw-ai-BP_oDyML.js → pw-ai-BHdnQCVz.js} +11 -11
- package/dist/{pw-ai-DBQU70P9.js → pw-ai-CXYAo13E.js} +15 -15
- package/dist/{qmd-manager-CHnF92RD.js → qmd-manager-BbwLXjLX.js} +9 -9
- package/dist/{qmd-manager-Cc8Yjnkj.js → qmd-manager-D53dwf0o.js} +11 -11
- package/dist/{qmd-scope-Bf9ewzqs.js → qmd-scope-BGPSkaGT.js} +1 -1
- package/dist/{qmd-scope-CS0DtNYO.js → qmd-scope-ZqGqqT7I.js} +1 -1
- package/dist/{qr-cli-BR65O0r3.js → qr-cli-C03g-Jln.js} +10 -10
- package/dist/{query-expansion-Bv4KqsqP.js → query-expansion-CfOEMDQH.js} +1 -1
- package/dist/{query-expansion-CRbSQ6uw.js → query-expansion-D6kYMMSG.js} +13 -13
- package/dist/{reconcile-bundled-DkR2LG6R.js → reconcile-bundled-BHSH7QIf.js} +3 -3
- package/dist/{recorder-Ln2SDZKW.js → recorder-B4tsZmjb.js} +2 -2
- package/dist/{recorder-DII7nv4x.js → recorder-CPMScZJa.js} +2 -2
- package/dist/{recovery-adapter-CyyO_Ekl.js → recovery-adapter-BJRNT8FV.js} +9 -9
- package/dist/{recovery-adapter-DOleMTp_.js → recovery-adapter-CZoZy-m9.js} +2 -2
- package/dist/{recovery-adapter-But7eE6o.js → recovery-adapter-CxLHOdbs.js} +3 -3
- package/dist/{recovery-prompt-BPdq27Tq.js → recovery-prompt-DjQfAUy6.js} +1 -1
- package/dist/{redact-CS0CgCEL.js → redact-DkgvOdb-.js} +1 -1
- package/dist/{redact-snapshot-CZVXlnxH.js → redact-snapshot-B0Hmde1v.js} +5 -5
- package/dist/{register.agent-BcT7F79Y.js → register.agent-CH14a6J3.js} +109 -109
- package/dist/register.configure-BXpFEa7d.js +152 -0
- package/dist/{register.maintenance-rxIW-tKO.js → register.maintenance-2jJXwpET.js} +111 -111
- package/dist/{register.message-BLuymT-f.js → register.message-o6R49haY.js} +86 -86
- package/dist/{register.onboard-PGgg72Sx.js → register.onboard-CYG4aJ_S.js} +26 -26
- package/dist/{register.setup-Fnakw3cB.js → register.setup-B9Mx2Csz.js} +28 -28
- package/dist/{register.status-health-sessions--aE04YLN.js → register.status-health-sessions-BdYJh1dD.js} +105 -105
- package/dist/{register.subclis-gCMZ4Bku.js → register.subclis-B8qYBt57.js} +34 -34
- package/dist/{reply-directives-DGXfbm15.js → reply-directives-C3TQE9y0.js} +49 -49
- package/dist/{reply-directives-Bzeg3um3.js → reply-directives-DL_tpnAW.js} +2 -2
- package/dist/{reset-B2CTuAPC.js → reset-CoOQ6-8Y.js} +1 -1
- package/dist/{rpc-C-oFxe45.js → rpc-gJ5XJBJ1.js} +3 -3
- package/dist/{run-main-B4g_4pz1.js → run-main-CtkFW7nv.js} +104 -104
- package/dist/{runs-KGTnMvSd.js → runs-CNSar-WP.js} +8 -8
- package/dist/{runs-HDGXsBua.js → runs-DLcRidXE.js} +6 -6
- package/dist/{runtime-CM06Vsh4.js → runtime-DQiHcfpT.js} +4 -4
- package/dist/{runtime-config-collectors-owiepuTT.js → runtime-config-collectors-CokvgXBK.js} +1 -1
- package/dist/{runtime-guard-BAkI3Ri4.js → runtime-guard-D4N1U69H.js} +1 -1
- package/dist/{sandbox-I0OArJYc.js → sandbox-CqhMEP_P.js} +15 -15
- package/dist/{sandbox-cli-Byd1iHHL.js → sandbox-cli-CJWXKmae.js} +35 -35
- package/dist/{secrets-cli-cvWxtbRr.js → secrets-cli-DEllaqgI.js} +17 -17
- package/dist/{security-cli-Dlr0WB3R.js → security-cli-CsBRazBA.js} +42 -42
- package/dist/{send-Bkdo82oz.js → send-41XrPhaV.js} +4 -4
- package/dist/{send-DVTBurfS.js → send-B3iJ8ToE.js} +5 -5
- package/dist/{send-CmECiyUu.js → send-Ch-mNnij.js} +4 -4
- package/dist/{send-C-k3_j2u.js → send-RssGHDsu.js} +4 -4
- package/dist/{server-CtKA1Cp0.js → server-BuyEF_-i.js} +23 -23
- package/dist/{server-context-Ca5AiDBb.js → server-context-Cm7u69Q7.js} +9 -9
- package/dist/{server-lifecycle-DTtM3Lhl.js → server-lifecycle-BG-u8nMU.js} +3 -3
- package/dist/{server-middleware-DDvaga1l.js → server-middleware-BizsA-re.js} +2 -2
- package/dist/{server-node-events-s5GkBDRY.js → server-node-events-C-Sm1NJJ.js} +87 -87
- package/dist/{service-BnFOyfze.js → service-Ox4QjIIv.js} +1 -1
- package/dist/{session-consumer-agents-FpCrtynZ.js → session-consumer-agents-Bjo2Pybw.js} +1 -1
- package/dist/{session-consumer-claim-sweep-Ccri2PgZ.js → session-consumer-claim-sweep-DcyQR1lf.js} +10 -10
- package/dist/{session-key-D38Dat68.js → session-key-DOpjqY4f.js} +1 -1
- package/dist/{session-storage-owner-B8-IRBP7.js → session-storage-owner-DSJotdF9.js} +8 -8
- package/dist/{session-storage-CAf99J7I.js → session-storage-sH-8KuPm.js} +7 -7
- package/dist/{session-store-targets-9oN46FBf.js → session-store-targets-BtKZ6O9-.js} +3 -3
- package/dist/{session-utils-CPdS25Fh.js → session-utils-acVEcYBx.js} +9 -9
- package/dist/{sessions-DjSoGXsL.js → sessions-B3-eoZNa.js} +6 -6
- package/dist/{sessions-CH1h_nhO.js → sessions-BoUKHlfq.js} +5 -5
- package/dist/{sessions-DoqXSqab.js → sessions-CkJwIbnD.js} +17 -17
- package/dist/{sessions-DyhCT0pp.js → sessions-WyhyMdoW.js} +5 -5
- package/dist/{sessions-claims-status-BzDkLrz5.js → sessions-claims-status-yyKjvPdI.js} +12 -12
- package/dist/{sessions-maintenance-core-Cnhlr59R.js → sessions-maintenance-core-DJHvi0-G.js} +5 -5
- package/dist/{setup-helpers-DtszvYvl.js → setup-helpers-BQv9HNqM.js} +1 -1
- package/dist/{shared-DneLSdUs.js → shared-BhyLuWyq.js} +4 -4
- package/dist/{shared-CgJjqVc_.js → shared-WARMxoiR.js} +2 -2
- package/dist/{skill-scanner-C2qUvy1A.js → skill-scanner-Dl8opLZe.js} +1 -1
- package/dist/{skills-CKjNigud.js → skills-BAtMgBiD.js} +4 -4
- package/dist/{skills-cli-DrWE30sF.js → skills-cli-BriosLsG.js} +19 -19
- package/dist/{skills-install-DYOyXyhf.js → skills-install-dlhAdjwE.js} +11 -11
- package/dist/{skills-status-CUqccvmE.js → skills-status-2pBbVUCf.js} +4 -4
- package/dist/{status-DJX7Nh9n.js → status-DWY8cs3q.js} +45 -45
- package/dist/{status.update-BjTs0tMA.js → status.update-C37l-lB3.js} +1 -1
- package/dist/{storage-config-MiCWhQ75.js → storage-config-CsGADkaH.js} +4 -4
- package/dist/{subsystem-BQlVwUGh.js → subsystem-C7-3a5Zr.js} +2 -2
- package/dist/{plugin-sdk/subsystem-BdiA7Q_t.js → subsystem-WQ4uaYQN.js} +74 -74
- package/dist/{supervisor-Tib9c0Rw.js → supervisor-CmU501hP.js} +2 -2
- package/dist/{system-cli-CE9TlrCx.js → system-cli-C5GELIKy.js} +14 -14
- package/dist/{system-run-command-CAIpFmMh.js → system-run-command-DU36hElD.js} +2 -2
- package/dist/{systemd-2lEi1s2h.js → systemd-BjNzb_4K.js} +2 -2
- package/dist/{systemd-hints-DQKdqw9A.js → systemd-hints-Ccpg4IDq.js} +3 -3
- package/dist/{systemd-linger-DUCPAGl8.js → systemd-linger-Om0p6z20.js} +2 -2
- package/dist/{table-BgEYg0Fr.js → table-aewm6YXw.js} +2 -2
- package/dist/{tailnet-Cf-zH8LX.js → tailnet-DFd-E-hz.js} +1 -1
- package/dist/{tailscale-CPYYbNsJ.js → tailscale-DAOiwlpJ.js} +2 -2
- package/dist/{task-pipeline-boot-MRo6ngzY.js → task-pipeline-boot-BYsUt1aD.js} +85 -85
- package/dist/{tasks-DlanUcxq.js → tasks-BH9BLMW5.js} +5 -5
- package/dist/{tasks-CEiohszX.js → tasks-zUDZ9WDS.js} +12 -12
- package/dist/{tool-display-BW2pVtBe.js → tool-display-gmmRfkw3.js} +1 -1
- package/dist/{tool-loop-detection-CEOjW4Zj.js → tool-loop-detection-CUWKSyGf.js} +2 -2
- package/dist/{tool-loop-detection-C0wLAXu8.js → tool-loop-detection-D_3ML-aV.js} +3 -3
- package/dist/{trash-DNn54Qs6.js → trash-ByCJFFqw.js} +3 -3
- package/dist/{tui-Df1UoEuB.js → tui-D3L5epd6.js} +9 -9
- package/dist/{tui-cli-Y-2Y0TeW.js → tui-cli-B9yGq3iI.js} +37 -37
- package/dist/{update-CmNsRKyB.js → update-BOw7sc5p.js} +3 -3
- package/dist/{update-cli-DSKMdoM3.js → update-cli-DMbakbAW.js} +120 -120
- package/dist/{update-runner-BiHwGWqV.js → update-runner-xWEkzp2Q.js} +5 -5
- package/dist/{user-run-recording-BijpJcES.js → user-run-recording-BxTnAUuI.js} +2 -2
- package/dist/{user-run-recording-DkuT1rGt.js → user-run-recording-CYg9LLHh.js} +2 -2
- package/dist/{validation-cli-exRDYYEc.js → validation-cli-CHqmdg5w.js} +84 -84
- package/dist/{web-cli-BX1XaHNZ.js → web-cli-DuQt0_V0.js} +3 -3
- package/dist/web-client/assets/{index-Cpg6_3Hi.js → index-CbKkwaEi.js} +1 -1
- package/dist/web-client/index.html +1 -1
- package/dist/{webhooks-cli-CkpR8Fzk.js → webhooks-cli-BmIhFbc4.js} +13 -13
- package/dist/{widearea-dns-DFhroEuN.js → widearea-dns-Dg8lFYi7.js} +1 -1
- package/dist/{with-timeout-DNQj_Xiv.js → with-timeout-maI6Hxh1.js} +6 -6
- package/dist/{workspace-Cl3X-aax.js → workspace-Bv2hEGNJ.js} +6 -6
- package/dist/{workspace-BmXTOUee.js → workspace-CNoka32n.js} +4 -4
- package/extensions/a2a/package.json +1 -1
- 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/identity-oidc/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/kokoro/package.json +1 -1
- package/extensions/learning-core/package.json +1 -1
- 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/ui-surfaces/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/clawbot-cli-sRVUxd_s.js +0 -32
- package/dist/cli-ax3_7oZf.js +0 -147
- package/dist/control-ui-v2/assets/Badge-sUgH4suZ.js +0 -1
- package/dist/github-copilot-token-Bm6yG6tw.js +0 -106
- package/dist/paths-BIDPYPVC.js +0 -233
- package/dist/register.configure-C_6WuEbz.js +0 -152
- /package/dist/{config-1om7Pwz0.js → config-CM9p9U7m.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { f as resolveRequiredHomeDir } from "./paths-
|
|
2
|
-
import { P as openBoundaryFile, at as pathExists, d as info, g as warn, h as shouldLogVerbose, j as isBlockedObjectKey, o as defaultRuntime, p as logVerboseConsole, st as resolveUserPath, t as createSubsystemLogger, u as danger, x as getLogger } from "./subsystem-
|
|
1
|
+
import { f as resolveRequiredHomeDir } from "./paths-B_gs59ga.js";
|
|
2
|
+
import { P as openBoundaryFile, at as pathExists, d as info, g as warn, h as shouldLogVerbose, j as isBlockedObjectKey, o as defaultRuntime, p as logVerboseConsole, st as resolveUserPath, t as createSubsystemLogger, u as danger, x as getLogger } from "./subsystem-WQ4uaYQN.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import syncFs from "node:fs";
|
|
5
5
|
import os from "node:os";
|
|
6
|
-
import fs
|
|
6
|
+
import fs from "node:fs/promises";
|
|
7
7
|
import { promisify } from "node:util";
|
|
8
8
|
import { execFile, spawn } from "node:child_process";
|
|
9
9
|
import process$1 from "node:process";
|
|
@@ -512,7 +512,7 @@ function resolveNpmArgvForWindows(argv) {
|
|
|
512
512
|
if (!cliName) return null;
|
|
513
513
|
const nodeDir = path.dirname(process$1.execPath);
|
|
514
514
|
const cliPath = path.join(nodeDir, "node_modules", "npm", "bin", cliName);
|
|
515
|
-
if (!
|
|
515
|
+
if (!syncFs.existsSync(cliPath)) return null;
|
|
516
516
|
return [
|
|
517
517
|
process$1.execPath,
|
|
518
518
|
cliPath,
|
|
@@ -708,7 +708,7 @@ function isCorePackageName(name) {
|
|
|
708
708
|
}
|
|
709
709
|
async function readPackageName(dir) {
|
|
710
710
|
try {
|
|
711
|
-
const raw = await fs
|
|
711
|
+
const raw = await fs.readFile(path.join(dir, "package.json"), "utf-8");
|
|
712
712
|
const parsed = JSON.parse(raw);
|
|
713
713
|
return typeof parsed.name === "string" ? parsed.name : null;
|
|
714
714
|
} catch {
|
|
@@ -717,7 +717,7 @@ async function readPackageName(dir) {
|
|
|
717
717
|
}
|
|
718
718
|
function readPackageNameSync(dir) {
|
|
719
719
|
try {
|
|
720
|
-
const raw =
|
|
720
|
+
const raw = syncFs.readFileSync(path.join(dir, "package.json"), "utf-8");
|
|
721
721
|
const parsed = JSON.parse(raw);
|
|
722
722
|
return typeof parsed.name === "string" ? parsed.name : null;
|
|
723
723
|
} catch {
|
|
@@ -745,7 +745,7 @@ function candidateDirsFromArgv1(argv1) {
|
|
|
745
745
|
const normalized = path.resolve(argv1);
|
|
746
746
|
const candidates = [path.dirname(normalized)];
|
|
747
747
|
try {
|
|
748
|
-
const resolved =
|
|
748
|
+
const resolved = syncFs.realpathSync(normalized);
|
|
749
749
|
if (resolved !== normalized) candidates.push(path.dirname(resolved));
|
|
750
750
|
} catch {}
|
|
751
751
|
const parts = normalized.split(path.sep);
|
|
@@ -845,7 +845,7 @@ function workspaceFileIdentity(stat, canonicalPath) {
|
|
|
845
845
|
}
|
|
846
846
|
function closeFileQuietlySync(fd) {
|
|
847
847
|
try {
|
|
848
|
-
|
|
848
|
+
syncFs.closeSync(fd);
|
|
849
849
|
} catch {}
|
|
850
850
|
}
|
|
851
851
|
async function readWorkspaceFileWithGuards(params) {
|
|
@@ -870,7 +870,7 @@ async function readWorkspaceFileWithGuards(params) {
|
|
|
870
870
|
};
|
|
871
871
|
}
|
|
872
872
|
try {
|
|
873
|
-
const content =
|
|
873
|
+
const content = syncFs.readFileSync(opened.fd, "utf-8");
|
|
874
874
|
workspaceFileCache.set(params.filePath, {
|
|
875
875
|
content,
|
|
876
876
|
identity
|
|
@@ -921,7 +921,7 @@ async function loadTemplate(name) {
|
|
|
921
921
|
const templateDir = await resolveWorkspaceTemplateDir();
|
|
922
922
|
const templatePath = path.join(templateDir, name);
|
|
923
923
|
try {
|
|
924
|
-
return stripFrontMatter(await fs
|
|
924
|
+
return stripFrontMatter(await fs.readFile(templatePath, "utf-8"));
|
|
925
925
|
} catch {
|
|
926
926
|
throw new Error(`Missing workspace template: ${name} (${templatePath}). Ensure docs/reference/templates are packaged.`);
|
|
927
927
|
}
|
|
@@ -961,7 +961,7 @@ const VALID_BOOTSTRAP_NAMES = new Set([
|
|
|
961
961
|
]);
|
|
962
962
|
async function writeFileIfMissing(filePath, content) {
|
|
963
963
|
try {
|
|
964
|
-
await fs
|
|
964
|
+
await fs.writeFile(filePath, content, {
|
|
965
965
|
encoding: "utf-8",
|
|
966
966
|
flag: "wx"
|
|
967
967
|
});
|
|
@@ -973,7 +973,7 @@ async function writeFileIfMissing(filePath, content) {
|
|
|
973
973
|
}
|
|
974
974
|
async function fileExists(filePath) {
|
|
975
975
|
try {
|
|
976
|
-
await fs
|
|
976
|
+
await fs.access(filePath);
|
|
977
977
|
return true;
|
|
978
978
|
} catch {
|
|
979
979
|
return false;
|
|
@@ -997,27 +997,27 @@ function parseWorkspaceOnboardingState(raw) {
|
|
|
997
997
|
}
|
|
998
998
|
async function readWorkspaceOnboardingState(statePath) {
|
|
999
999
|
try {
|
|
1000
|
-
return parseWorkspaceOnboardingState(await fs
|
|
1000
|
+
return parseWorkspaceOnboardingState(await fs.readFile(statePath, "utf-8")) ?? { version: WORKSPACE_STATE_VERSION };
|
|
1001
1001
|
} catch (err) {
|
|
1002
1002
|
if (err.code !== "ENOENT") throw err;
|
|
1003
1003
|
return { version: WORKSPACE_STATE_VERSION };
|
|
1004
1004
|
}
|
|
1005
1005
|
}
|
|
1006
1006
|
async function writeWorkspaceOnboardingState(statePath, state) {
|
|
1007
|
-
await fs
|
|
1007
|
+
await fs.mkdir(path.dirname(statePath), { recursive: true });
|
|
1008
1008
|
const payload = `${JSON.stringify(state, null, 2)}\n`;
|
|
1009
1009
|
const tmpPath = `${statePath}.tmp-${process.pid}-${Date.now().toString(36)}`;
|
|
1010
1010
|
try {
|
|
1011
|
-
await fs
|
|
1012
|
-
await fs
|
|
1011
|
+
await fs.writeFile(tmpPath, payload, { encoding: "utf-8" });
|
|
1012
|
+
await fs.rename(tmpPath, statePath);
|
|
1013
1013
|
} catch (err) {
|
|
1014
|
-
await fs
|
|
1014
|
+
await fs.unlink(tmpPath).catch(() => {});
|
|
1015
1015
|
throw err;
|
|
1016
1016
|
}
|
|
1017
1017
|
}
|
|
1018
1018
|
async function hasGitRepo(dir) {
|
|
1019
1019
|
try {
|
|
1020
|
-
await fs
|
|
1020
|
+
await fs.stat(path.join(dir, ".git"));
|
|
1021
1021
|
return true;
|
|
1022
1022
|
} catch {
|
|
1023
1023
|
return false;
|
|
@@ -1047,7 +1047,7 @@ async function ensureGitRepo(dir, isBrandNewWorkspace) {
|
|
|
1047
1047
|
}
|
|
1048
1048
|
async function ensureAgentWorkspace(params) {
|
|
1049
1049
|
const dir = resolveUserPath(params?.dir?.trim() ? params.dir.trim() : DEFAULT_AGENT_WORKSPACE_DIR);
|
|
1050
|
-
await fs
|
|
1050
|
+
await fs.mkdir(dir, { recursive: true });
|
|
1051
1051
|
if (!params?.ensureBootstrapFiles) return { dir };
|
|
1052
1052
|
const agentsPath = path.join(dir, DEFAULT_AGENTS_FILENAME);
|
|
1053
1053
|
const soulPath = path.join(dir, DEFAULT_SOUL_FILENAME);
|
|
@@ -1074,7 +1074,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
1074
1074
|
const paths = [...templatePaths, ...userContentPaths];
|
|
1075
1075
|
return (await Promise.all(paths.map(async (p) => {
|
|
1076
1076
|
try {
|
|
1077
|
-
await fs
|
|
1077
|
+
await fs.access(p);
|
|
1078
1078
|
return true;
|
|
1079
1079
|
} catch {
|
|
1080
1080
|
return false;
|
|
@@ -1107,7 +1107,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
1107
1107
|
if (!state.bootstrapSeededAt && bootstrapExists) markState({ bootstrapSeededAt: nowIso() });
|
|
1108
1108
|
if (!state.onboardingCompletedAt && state.bootstrapSeededAt && !bootstrapExists) markState({ onboardingCompletedAt: nowIso() });
|
|
1109
1109
|
if (!state.bootstrapSeededAt && !state.onboardingCompletedAt && !bootstrapExists) {
|
|
1110
|
-
const [identityContent, userContent] = await Promise.all([fs
|
|
1110
|
+
const [identityContent, userContent] = await Promise.all([fs.readFile(identityPath, "utf-8"), fs.readFile(userPath, "utf-8")]);
|
|
1111
1111
|
const hasUserContent = await (async () => {
|
|
1112
1112
|
const indicators = [
|
|
1113
1113
|
path.join(dir, "memory"),
|
|
@@ -1115,7 +1115,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
1115
1115
|
path.join(dir, ".git")
|
|
1116
1116
|
];
|
|
1117
1117
|
for (const indicator of indicators) try {
|
|
1118
|
-
await fs
|
|
1118
|
+
await fs.access(indicator);
|
|
1119
1119
|
return true;
|
|
1120
1120
|
} catch {}
|
|
1121
1121
|
return false;
|
|
@@ -1146,7 +1146,7 @@ async function resolveMemoryBootstrapEntries(resolvedDir) {
|
|
|
1146
1146
|
for (const name of candidates) {
|
|
1147
1147
|
const filePath = path.join(resolvedDir, name);
|
|
1148
1148
|
try {
|
|
1149
|
-
await fs
|
|
1149
|
+
await fs.access(filePath);
|
|
1150
1150
|
entries.push({
|
|
1151
1151
|
name,
|
|
1152
1152
|
filePath
|
|
@@ -1159,7 +1159,7 @@ async function resolveMemoryBootstrapEntries(resolvedDir) {
|
|
|
1159
1159
|
for (const entry of entries) {
|
|
1160
1160
|
let key = entry.filePath;
|
|
1161
1161
|
try {
|
|
1162
|
-
key = await fs
|
|
1162
|
+
key = await fs.realpath(entry.filePath);
|
|
1163
1163
|
} catch {}
|
|
1164
1164
|
if (seen.has(key)) continue;
|
|
1165
1165
|
seen.add(key);
|
|
@@ -1329,7 +1329,7 @@ async function loadExtraBootstrapFilesWithDiagnostics(dir, extraPatterns) {
|
|
|
1329
1329
|
const resolvedDir = resolveUserPath(dir);
|
|
1330
1330
|
const resolvedPaths = /* @__PURE__ */ new Set();
|
|
1331
1331
|
for (const pattern of extraPatterns) if (pattern.includes("*") || pattern.includes("?") || pattern.includes("{")) try {
|
|
1332
|
-
const matches = fs
|
|
1332
|
+
const matches = fs.glob(pattern, { cwd: resolvedDir });
|
|
1333
1333
|
for await (const m of matches) resolvedPaths.add(m);
|
|
1334
1334
|
} catch {
|
|
1335
1335
|
resolvedPaths.add(pattern);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as resolveRequiredHomeDir } from "./home-dir-BaA0vwAR.js";
|
|
2
2
|
import { w as resolveOpenClawPackageRoot } from "./entry.js";
|
|
3
3
|
import { g as resolveStateDir } from "./paths-CayHK8Kc.js";
|
|
4
|
-
import { St as resolveUserPath, V as openBoundaryFile, yt as pathExists } from "./globals-
|
|
4
|
+
import { St as resolveUserPath, V as openBoundaryFile, yt as pathExists } from "./globals-BOYJmqPO.js";
|
|
5
5
|
import { n as resolveProcessScopedMap } from "./plain-object-BLxv-DD_.js";
|
|
6
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
7
|
-
import { B as isSubagentSessionKey, L as isCronSessionKey, V as parseAgentSessionKey, _ as resolveAgentIdFromSessionKey, p as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-
|
|
8
|
-
import { t as runCommandWithTimeout } from "./exec-
|
|
6
|
+
import { t as createSubsystemLogger } from "./subsystem-C7-3a5Zr.js";
|
|
7
|
+
import { B as isSubagentSessionKey, L as isCronSessionKey, V as parseAgentSessionKey, _ as resolveAgentIdFromSessionKey, p as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-DOpjqY4f.js";
|
|
8
|
+
import { t as runCommandWithTimeout } from "./exec-DiLAfuLr.js";
|
|
9
9
|
import fs from "node:fs";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { d as resolveIsNixMode } from "./paths-CayHK8Kc.js";
|
|
2
|
-
import { Tt as shortenHomePath, d as colorize, f as isRich, g as getResolvedLoggerSettings, p as theme } from "./globals-
|
|
3
|
-
import { d as defaultRuntime } from "./console-
|
|
4
|
-
import { Bn as loadConfig, Vn as readConfigFileSnapshot } from "./plugins-
|
|
2
|
+
import { Tt as shortenHomePath, d as colorize, f as isRich, g as getResolvedLoggerSettings, p as theme } from "./globals-BOYJmqPO.js";
|
|
3
|
+
import { d as defaultRuntime } from "./console-eDkX4znK.js";
|
|
4
|
+
import { Bn as loadConfig, Vn as readConfigFileSnapshot } from "./plugins-50bsyRF5.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-GeSaucOC.js";
|
|
6
|
-
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-
|
|
6
|
+
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-BzwRYS__.js";
|
|
7
7
|
import { m as resolveGatewayWindowsTaskName, p as resolveGatewaySystemdServiceName, u as resolveGatewayLaunchAgentLabel } from "./constants-DlfZC20U.js";
|
|
8
8
|
import { t as isWSL } from "./wsl-DERu4-B0.js";
|
|
9
|
-
import { n as formatConfigIssueLines } from "./issue-format-
|
|
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-
|
|
9
|
+
import { n as formatConfigIssueLines } from "./issue-format-3AjTJZ-g.js";
|
|
10
|
+
import { s as resolveGatewayLogPaths } from "./service-Ox4QjIIv.js";
|
|
11
|
+
import { r as isSystemdUserServiceAvailable } from "./systemd-BjNzb_4K.js";
|
|
12
|
+
import { a as checkTokenDrift, n as renderSystemdUnavailableHints } from "./systemd-hints-Ccpg4IDq.js";
|
|
13
13
|
import { t as parsePort } from "./parse-port-oQ1hrVV2.js";
|
|
14
14
|
import { Writable } from "node:stream";
|
|
15
15
|
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { Ta as resolveDefaultAgentId, ba as resolveAgentDir, da as DEFAULT_MODEL, fa as DEFAULT_PROVIDER, l as parseModelRef, wa as resolveAgentWorkspaceDir, xa as resolveAgentEffectiveModelPrimary } from "./model-selection-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import "./legacy-names-
|
|
5
|
-
import "./github-copilot-token-
|
|
6
|
-
import { t as runEmbeddedPiAgent } from "./pi-embedded-
|
|
7
|
-
import "./reply-directives-
|
|
1
|
+
import { Ta as resolveDefaultAgentId, ba as resolveAgentDir, da as DEFAULT_MODEL, fa as DEFAULT_PROVIDER, l as parseModelRef, wa as resolveAgentWorkspaceDir, xa as resolveAgentEffectiveModelPrimary } from "./model-selection-LDnLrnn_.js";
|
|
2
|
+
import "./paths-B_gs59ga.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-WQ4uaYQN.js";
|
|
4
|
+
import "./legacy-names-BncMDG8I.js";
|
|
5
|
+
import "./github-copilot-token-C-29TbW-.js";
|
|
6
|
+
import { t as runEmbeddedPiAgent } from "./pi-embedded-BIha9wV3.js";
|
|
7
|
+
import "./reply-directives-C3TQE9y0.js";
|
|
8
8
|
import "./diagnostic-events-RfJYFlJM.js";
|
|
9
|
-
import "./sessions-
|
|
10
|
-
import "./diagnostic-
|
|
9
|
+
import "./sessions-WyhyMdoW.js";
|
|
10
|
+
import "./diagnostic-CeSjaots.js";
|
|
11
11
|
import "./diagnostic-session-state-Di8oqY0E.js";
|
|
12
|
-
import "./redact-
|
|
13
|
-
import "./command-queue-
|
|
14
|
-
import "./fences-
|
|
15
|
-
import "./pi-model-discovery-
|
|
16
|
-
import "./net-
|
|
17
|
-
import "./deliver-
|
|
18
|
-
import "./chrome-
|
|
19
|
-
import "./frontmatter-
|
|
20
|
-
import "./fs-safe-
|
|
21
|
-
import "./errors-
|
|
22
|
-
import "./proxy-env-
|
|
23
|
-
import "./nudge-
|
|
24
|
-
import "./runs-
|
|
25
|
-
import "./outbound-attachment-
|
|
26
|
-
import "./fetch-guard-
|
|
27
|
-
import "./manager-
|
|
28
|
-
import "./user-run-recording-
|
|
29
|
-
import "./recorder-
|
|
30
|
-
import "./agent-turn-runner-
|
|
31
|
-
import "./send-
|
|
32
|
-
import "./send-
|
|
33
|
-
import "./query-expansion-
|
|
12
|
+
import "./redact-DkgvOdb-.js";
|
|
13
|
+
import "./command-queue-DCuGQ6oE.js";
|
|
14
|
+
import "./fences-CISax-La.js";
|
|
15
|
+
import "./pi-model-discovery-Wg17i5yr.js";
|
|
16
|
+
import "./net-DqV0ZX0o.js";
|
|
17
|
+
import "./deliver-XZwPv99X.js";
|
|
18
|
+
import "./chrome-cV7G42a8.js";
|
|
19
|
+
import "./frontmatter-Bzvwr1W7.js";
|
|
20
|
+
import "./fs-safe-jXfn3Elb.js";
|
|
21
|
+
import "./errors-BaBvv30m.js";
|
|
22
|
+
import "./proxy-env-Cbti8B-h.js";
|
|
23
|
+
import "./nudge-dYyHjBXU.js";
|
|
24
|
+
import "./runs-CNSar-WP.js";
|
|
25
|
+
import "./outbound-attachment-BWJTBdLV.js";
|
|
26
|
+
import "./fetch-guard-CDkEddFV.js";
|
|
27
|
+
import "./manager-COuC5aCY.js";
|
|
28
|
+
import "./user-run-recording-CYg9LLHh.js";
|
|
29
|
+
import "./recorder-CPMScZJa.js";
|
|
30
|
+
import "./agent-turn-runner-zXi4ADUq.js";
|
|
31
|
+
import "./send-B3iJ8ToE.js";
|
|
32
|
+
import "./send-RssGHDsu.js";
|
|
33
|
+
import "./query-expansion-D6kYMMSG.js";
|
|
34
34
|
|
|
35
35
|
//#region src/hooks/llm-slug-generator.ts
|
|
36
36
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as CONFIG_PATH } from "./paths-CayHK8Kc.js";
|
|
3
|
-
import { ft as displayPath } from "./globals-
|
|
3
|
+
import { ft as displayPath } from "./globals-BOYJmqPO.js";
|
|
4
4
|
|
|
5
5
|
//#region src/config/logging.ts
|
|
6
6
|
var logging_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import "./boolean-CYQfHIEb.js";
|
|
2
|
-
import "./legacy-names-
|
|
2
|
+
import "./legacy-names-m85yQK-H.js";
|
|
3
3
|
import "./paths-CayHK8Kc.js";
|
|
4
|
-
import { d as colorize, f as isRich, g as getResolvedLoggerSettings, p as theme, v as formatLocalIsoWithOffset, y as isValidTimeZone } from "./globals-
|
|
5
|
-
import { p as clearActiveProgressLine } from "./console-
|
|
6
|
-
import "./subsystem-
|
|
7
|
-
import "./exec-
|
|
8
|
-
import { Bn as loadConfig } from "./plugins-
|
|
4
|
+
import { d as colorize, f as isRich, g as getResolvedLoggerSettings, p as theme, v as formatLocalIsoWithOffset, y as isValidTimeZone } from "./globals-BOYJmqPO.js";
|
|
5
|
+
import { p as clearActiveProgressLine } from "./console-eDkX4znK.js";
|
|
6
|
+
import "./subsystem-C7-3a5Zr.js";
|
|
7
|
+
import "./exec-DiLAfuLr.js";
|
|
8
|
+
import { Bn as loadConfig } from "./plugins-50bsyRF5.js";
|
|
9
9
|
import "./retry-policy-BvyCs0Qe.js";
|
|
10
10
|
import "./version-CeEWmZ0w.js";
|
|
11
11
|
import "./github-copilot-token-CAAvAcZq.js";
|
|
12
|
-
import "./pid-alive-
|
|
12
|
+
import "./pid-alive-CVi1kpc0.js";
|
|
13
13
|
import "./static-app-BoycbWh_.js";
|
|
14
14
|
import { t as formatCliCommand } from "./command-format-GeSaucOC.js";
|
|
15
|
-
import "./net-
|
|
16
|
-
import "./tailnet-
|
|
15
|
+
import "./net-D11xIRO3.js";
|
|
16
|
+
import "./tailnet-DFd-E-hz.js";
|
|
17
17
|
import "./task-run-types-Dd3nCzGy.js";
|
|
18
|
-
import "./client-
|
|
19
|
-
import { t as buildGatewayConnectionDetails, x as resolveLeastPrivilegeOperatorScopesForMethod } from "./call-
|
|
20
|
-
import { t as formatDocsLink } from "./links-
|
|
21
|
-
import "./progress-
|
|
22
|
-
import { n as callGatewayFromCli, r as openGatewayCliSessionFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
18
|
+
import "./client-CXlXbWxa.js";
|
|
19
|
+
import { t as buildGatewayConnectionDetails, x as resolveLeastPrivilegeOperatorScopesForMethod } from "./call-DC_l0C6c.js";
|
|
20
|
+
import { t as formatDocsLink } from "./links-C3uVLgry.js";
|
|
21
|
+
import "./progress-DLl5RtiT.js";
|
|
22
|
+
import { n as callGatewayFromCli, r as openGatewayCliSessionFromCli, t as addGatewayClientOptions } from "./gateway-rpc-DQG3hBI5.js";
|
|
23
23
|
import { t as parseLogLine } from "./parse-log-line-Jky1ifch.js";
|
|
24
|
-
import { i as resolveActiveLogFile, r as readLogSliceFromHandle, t as createLogFileResolver } from "./log-tail-
|
|
24
|
+
import { i as resolveActiveLogFile, r as readLogSliceFromHandle, t as createLogFileResolver } from "./log-tail-BVn--aNY.js";
|
|
25
25
|
import fs from "node:fs/promises";
|
|
26
26
|
import { setTimeout } from "node:timers/promises";
|
|
27
27
|
import { StringDecoder } from "node:string_decoder";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { A as resolveApiKeyForProvider, Gn as resolveSessionTranscriptsDirForAgent, H as loadConfig, Hi as isTruthyEnvValue, b as retryAsync, ba as resolveAgentDir, c as normalizeProviderId, j as resolveEnvApiKey, k as requireApiKey, ra as normalizeOptionalSecretInput, sa as normalizeResolvedSecretInputString, wa as resolveAgentWorkspaceDir, ya as resolveAgentConfig } from "./model-selection-
|
|
3
|
-
import { l as resolveStateDir } from "./paths-
|
|
4
|
-
import { $ as clampNumber, Q as clampInt, pt as truncateUtf16Safe, st as resolveUserPath, t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { A as resolveApiKeyForProvider, Gn as resolveSessionTranscriptsDirForAgent, H as loadConfig, Hi as isTruthyEnvValue, b as retryAsync, ba as resolveAgentDir, c as normalizeProviderId, j as resolveEnvApiKey, k as requireApiKey, ra as normalizeOptionalSecretInput, sa as normalizeResolvedSecretInputString, wa as resolveAgentWorkspaceDir, ya as resolveAgentConfig } from "./model-selection-LDnLrnn_.js";
|
|
3
|
+
import { l as resolveStateDir } from "./paths-B_gs59ga.js";
|
|
4
|
+
import { $ as clampNumber, Q as clampInt, pt as truncateUtf16Safe, st as resolveUserPath, t as createSubsystemLogger } from "./subsystem-WQ4uaYQN.js";
|
|
5
5
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-k21fdARq.js";
|
|
6
|
-
import { r as formatErrorMessage } from "./errors-
|
|
6
|
+
import { r as formatErrorMessage } from "./errors-BaBvv30m.js";
|
|
7
7
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-CIKAlvUL.js";
|
|
8
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
9
|
-
import { _ as runWithConcurrency, a as resolveSessionMemoryStores, c as chunkMarkdown, d as hashText, f as isMemoryPath, g as remapChunkLines, h as parseEmbedding, i as listSessionMemoryRows, l as cosineSimilarity, m as normalizeExtraMemoryPaths, n as requireNodeSqlite, o as sessionMemorySourceId, p as listMemoryFiles, r as buildSessionMemoryEntry, s as buildFileEntry, t as extractKeywords, u as ensureDir, v as isFileMissingError, y as statRegularFile } from "./query-expansion-
|
|
8
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-CDkEddFV.js";
|
|
9
|
+
import { _ as runWithConcurrency, a as resolveSessionMemoryStores, c as chunkMarkdown, d as hashText, f as isMemoryPath, g as remapChunkLines, h as parseEmbedding, i as listSessionMemoryRows, l as cosineSimilarity, m as normalizeExtraMemoryPaths, n as requireNodeSqlite, o as sessionMemorySourceId, p as listMemoryFiles, r as buildSessionMemoryEntry, s as buildFileEntry, t as extractKeywords, u as ensureDir, v as isFileMissingError, y as statRegularFile } from "./query-expansion-D6kYMMSG.js";
|
|
10
10
|
import path from "node:path";
|
|
11
|
-
import
|
|
11
|
+
import syncFs from "node:fs";
|
|
12
12
|
import os from "node:os";
|
|
13
|
-
import fs
|
|
13
|
+
import fs from "node:fs/promises";
|
|
14
14
|
import { randomUUID } from "node:crypto";
|
|
15
15
|
import chokidar from "chokidar";
|
|
16
16
|
import { createInterface } from "node:readline";
|
|
@@ -894,7 +894,7 @@ function canAutoSelectLocal(options) {
|
|
|
894
894
|
if (/^(hf:|https?:)/i.test(modelPath)) return false;
|
|
895
895
|
const resolved = resolveUserPath(modelPath);
|
|
896
896
|
try {
|
|
897
|
-
return
|
|
897
|
+
return syncFs.statSync(resolved).isFile();
|
|
898
898
|
} catch {
|
|
899
899
|
return false;
|
|
900
900
|
}
|
|
@@ -1222,7 +1222,7 @@ async function extractTimestamp(params) {
|
|
|
1222
1222
|
if (!params.workspaceDir) return null;
|
|
1223
1223
|
const absolutePath = path.isAbsolute(params.filePath) ? params.filePath : path.resolve(params.workspaceDir, params.filePath);
|
|
1224
1224
|
try {
|
|
1225
|
-
const stat = await fs
|
|
1225
|
+
const stat = await fs.stat(absolutePath);
|
|
1226
1226
|
if (!Number.isFinite(stat.mtimeMs)) return null;
|
|
1227
1227
|
return new Date(stat.mtimeMs);
|
|
1228
1228
|
} catch {
|
|
@@ -2393,7 +2393,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2393
2393
|
const source = `${sourceBase}${suffix}`;
|
|
2394
2394
|
const target = `${targetBase}${suffix}`;
|
|
2395
2395
|
try {
|
|
2396
|
-
await fs
|
|
2396
|
+
await fs.rename(source, target);
|
|
2397
2397
|
} catch (err) {
|
|
2398
2398
|
if (err.code !== "ENOENT") throw err;
|
|
2399
2399
|
}
|
|
@@ -2404,7 +2404,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2404
2404
|
"",
|
|
2405
2405
|
"-wal",
|
|
2406
2406
|
"-shm"
|
|
2407
|
-
].map((suffix) => fs
|
|
2407
|
+
].map((suffix) => fs.rm(`${basePath}${suffix}`, { force: true })));
|
|
2408
2408
|
}
|
|
2409
2409
|
ensureSchema() {
|
|
2410
2410
|
const result = ensureMemoryIndexSchema({
|
|
@@ -2428,7 +2428,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2428
2428
|
]);
|
|
2429
2429
|
const additionalPaths = normalizeExtraMemoryPaths(this.workspaceDir, this.settings.extraPaths);
|
|
2430
2430
|
for (const entry of additionalPaths) try {
|
|
2431
|
-
const stat =
|
|
2431
|
+
const stat = syncFs.lstatSync(entry);
|
|
2432
2432
|
if (stat.isSymbolicLink()) continue;
|
|
2433
2433
|
if (stat.isDirectory()) {
|
|
2434
2434
|
watchPaths.add(path.join(entry, "**", "*.md"));
|
|
@@ -3451,7 +3451,7 @@ var MemoryManagerEmbeddingOps = class extends MemoryManagerSyncOps {
|
|
|
3451
3451
|
});
|
|
3452
3452
|
return;
|
|
3453
3453
|
}
|
|
3454
|
-
const content = options.content ?? ("absPath" in entry ? await fs
|
|
3454
|
+
const content = options.content ?? ("absPath" in entry ? await fs.readFile(entry.absPath, "utf-8") : void 0);
|
|
3455
3455
|
if (content === void 0) throw new Error(`memory index: session source ${entry.path} produced no content`);
|
|
3456
3456
|
const chunks = enforceEmbeddingMaxInputTokens(this.provider, chunkMarkdown(content, this.settings.chunking).filter((chunk) => chunk.text.trim().length > 0), EMBEDDING_BATCH_MAX_TOKENS);
|
|
3457
3457
|
if (options.source === "sessions" && "lineMap" in entry) remapChunkLines(chunks, entry.lineMap);
|
|
@@ -3891,7 +3891,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
3891
3891
|
if (!allowedWorkspace && this.settings.extraPaths.length > 0) {
|
|
3892
3892
|
const additionalPaths = normalizeExtraMemoryPaths(this.workspaceDir, this.settings.extraPaths);
|
|
3893
3893
|
for (const additionalPath of additionalPaths) try {
|
|
3894
|
-
const stat = await fs
|
|
3894
|
+
const stat = await fs.lstat(additionalPath);
|
|
3895
3895
|
if (stat.isSymbolicLink()) continue;
|
|
3896
3896
|
if (stat.isDirectory()) {
|
|
3897
3897
|
if (absPath === additionalPath || absPath.startsWith(`${additionalPath}${path.sep}`)) {
|
|
@@ -3916,7 +3916,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
3916
3916
|
};
|
|
3917
3917
|
let content;
|
|
3918
3918
|
try {
|
|
3919
|
-
content = await fs
|
|
3919
|
+
content = await fs.readFile(absPath, "utf-8");
|
|
3920
3920
|
} catch (err) {
|
|
3921
3921
|
if (isFileMissingError(err)) return {
|
|
3922
3922
|
text: "",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { r as isTruthyEnvValue } from "./entry.js";
|
|
3
|
-
import { h as resolveAgentWorkspaceDir, l as resolveAgentConfig, u as resolveAgentDir } from "./legacy-names-
|
|
3
|
+
import { h as resolveAgentWorkspaceDir, l as resolveAgentConfig, u as resolveAgentDir } from "./legacy-names-m85yQK-H.js";
|
|
4
4
|
import { g as resolveStateDir } from "./paths-CayHK8Kc.js";
|
|
5
|
-
import { Ot as truncateUtf16Safe, St as resolveUserPath, dt as clampNumber, ut as clampInt } from "./globals-
|
|
6
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
7
|
-
import { Ar as normalizeProviderId, Bn as loadConfig, Ci as resolveEnvApiKey, Ot as resolveSessionTranscriptsDirForAgent, bi as requireApiKey, cc as normalizeOptionalSecretInput, gc as normalizeResolvedSecretInputString, ii as retryAsync, xi as resolveApiKeyForProvider } from "./plugins-
|
|
5
|
+
import { Ot as truncateUtf16Safe, St as resolveUserPath, dt as clampNumber, ut as clampInt } from "./globals-BOYJmqPO.js";
|
|
6
|
+
import { t as createSubsystemLogger } from "./subsystem-C7-3a5Zr.js";
|
|
7
|
+
import { Ar as normalizeProviderId, Bn as loadConfig, Ci as resolveEnvApiKey, Ot as resolveSessionTranscriptsDirForAgent, bi as requireApiKey, cc as normalizeOptionalSecretInput, gc as normalizeResolvedSecretInputString, ii as retryAsync, xi as resolveApiKeyForProvider } from "./plugins-50bsyRF5.js";
|
|
8
8
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-uYL2gEou.js";
|
|
9
9
|
import { i as formatErrorMessage } from "./errors-DbJv1gVR.js";
|
|
10
10
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-Dzr2kigm.js";
|
|
11
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
12
|
-
import { _ as runWithConcurrency, a as resolveSessionMemoryStores, c as chunkMarkdown, d as hashText, f as isMemoryPath, g as remapChunkLines, h as parseEmbedding, i as listSessionMemoryRows, l as cosineSimilarity, m as normalizeExtraMemoryPaths, n as requireNodeSqlite, o as sessionMemorySourceId, p as listMemoryFiles, r as buildSessionMemoryEntry, s as buildFileEntry, t as extractKeywords, u as ensureDir, v as isFileMissingError, y as statRegularFile } from "./query-expansion-
|
|
11
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-Bnzd4qWS.js";
|
|
12
|
+
import { _ as runWithConcurrency, a as resolveSessionMemoryStores, c as chunkMarkdown, d as hashText, f as isMemoryPath, g as remapChunkLines, h as parseEmbedding, i as listSessionMemoryRows, l as cosineSimilarity, m as normalizeExtraMemoryPaths, n as requireNodeSqlite, o as sessionMemorySourceId, p as listMemoryFiles, r as buildSessionMemoryEntry, s as buildFileEntry, t as extractKeywords, u as ensureDir, v as isFileMissingError, y as statRegularFile } from "./query-expansion-CfOEMDQH.js";
|
|
13
13
|
import fs from "node:fs";
|
|
14
14
|
import path from "node:path";
|
|
15
15
|
import fs$1 from "node:fs/promises";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { c as listAgentIds, y as resolveSessionAgentId } from "./legacy-names-
|
|
2
|
+
import { c as listAgentIds, y as resolveSessionAgentId } from "./legacy-names-m85yQK-H.js";
|
|
3
3
|
import { g as resolveStateDir } from "./paths-CayHK8Kc.js";
|
|
4
|
-
import { a as logVerbose } from "./globals-
|
|
4
|
+
import { a as logVerbose } from "./globals-BOYJmqPO.js";
|
|
5
5
|
import { n as resolveProcessScopedMap } from "./plain-object-BLxv-DD_.js";
|
|
6
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
7
|
-
import { F as isAcpSessionKey, V as parseAgentSessionKey, p as normalizeAgentId } from "./session-key-
|
|
8
|
-
import { Bn as loadConfig, Ft as mergeSessionEntry, _t as parseSessionIndexRecordKey, ct as loadSessionStore, ht as getConfiguredSessionStorageRuntime, kt as resolveStorePath, tt as updateSessionStore } from "./plugins-
|
|
6
|
+
import { t as createSubsystemLogger } from "./subsystem-C7-3a5Zr.js";
|
|
7
|
+
import { F as isAcpSessionKey, V as parseAgentSessionKey, p as normalizeAgentId } from "./session-key-DOpjqY4f.js";
|
|
8
|
+
import { Bn as loadConfig, Ft as mergeSessionEntry, _t as parseSessionIndexRecordKey, ct as loadSessionStore, ht as getConfiguredSessionStorageRuntime, kt as resolveStorePath, tt as updateSessionStore } from "./plugins-50bsyRF5.js";
|
|
9
9
|
import { t as redactIdentifier } from "./redact-identifier-DKC3jIlU.js";
|
|
10
10
|
import { t as KeyedAsyncQueue } from "./keyed-async-queue-DWY5hpTP.js";
|
|
11
|
-
import { d as isGatewayDraining } from "./command-queue-
|
|
11
|
+
import { d as isGatewayDraining } from "./command-queue-CypbHAAc.js";
|
|
12
12
|
import { t as withTimeout } from "./with-timeout-BzJQ8CXW.js";
|
|
13
|
-
import { t as startUserSessionRun } from "./user-run-recording-
|
|
13
|
+
import { t as startUserSessionRun } from "./user-run-recording-BxTnAUuI.js";
|
|
14
14
|
import path, { isAbsolute } from "node:path";
|
|
15
15
|
import fs from "node:fs/promises";
|
|
16
16
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { g as resolveDefaultAgentId, h as resolveAgentWorkspaceDir } from "./legacy-names-
|
|
3
|
-
import { St as resolveUserPath, Tt as shortenHomePath, d as colorize, f as isRich, p as theme, s as setVerbose, wt as shortenHomeInString } from "./globals-
|
|
4
|
-
import { d as defaultRuntime } from "./console-
|
|
5
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import { Bn as loadConfig, co as parseDurationMs, rr as splitShellArgs } from "./plugins-
|
|
2
|
+
import { g as resolveDefaultAgentId, h as resolveAgentWorkspaceDir } from "./legacy-names-m85yQK-H.js";
|
|
3
|
+
import { St as resolveUserPath, Tt as shortenHomePath, d as colorize, f as isRich, p as theme, s as setVerbose, wt as shortenHomeInString } from "./globals-BOYJmqPO.js";
|
|
4
|
+
import { d as defaultRuntime } from "./console-eDkX4znK.js";
|
|
5
|
+
import { t as createSubsystemLogger } from "./subsystem-C7-3a5Zr.js";
|
|
6
|
+
import { Bn as loadConfig, co as parseDurationMs, rr as splitShellArgs } from "./plugins-50bsyRF5.js";
|
|
7
7
|
import { i as formatErrorMessage } from "./errors-DbJv1gVR.js";
|
|
8
|
-
import { m as normalizeExtraMemoryPaths, p as listMemoryFiles } from "./query-expansion-
|
|
9
|
-
import { n as callSessionStorageGateway, r as resolveSessionStorageRoute, t as MAINTENANCE_RPC_TIMEOUT_MS } from "./session-storage-owner-
|
|
10
|
-
import { t as isQmdScopeAllowed } from "./qmd-scope-
|
|
11
|
-
import { t as formatDocsLink } from "./links-
|
|
8
|
+
import { m as normalizeExtraMemoryPaths, p as listMemoryFiles } from "./query-expansion-CfOEMDQH.js";
|
|
9
|
+
import { n as callSessionStorageGateway, r as resolveSessionStorageRoute, t as MAINTENANCE_RPC_TIMEOUT_MS } from "./session-storage-owner-DSJotdF9.js";
|
|
10
|
+
import { t as isQmdScopeAllowed } from "./qmd-scope-ZqGqqT7I.js";
|
|
11
|
+
import { t as formatDocsLink } from "./links-C3uVLgry.js";
|
|
12
12
|
import { r as withManager } from "./cli-utils-BhfE5XS2.js";
|
|
13
|
-
import { r as getMemoryCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-
|
|
14
|
-
import { t as formatHelpExamples } from "./help-format-
|
|
15
|
-
import { n as withProgress, r as withProgressTotals } from "./progress-
|
|
13
|
+
import { r as getMemoryCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-DJebWnC0.js";
|
|
14
|
+
import { t as formatHelpExamples } from "./help-format-3m9GNcQp.js";
|
|
15
|
+
import { n as withProgress, r as withProgressTotals } from "./progress-DLl5RtiT.js";
|
|
16
16
|
import fs from "node:fs";
|
|
17
17
|
import path from "node:path";
|
|
18
18
|
import fs$1 from "node:fs/promises";
|
|
@@ -233,7 +233,7 @@ async function getMemorySearchManager(params) {
|
|
|
233
233
|
if (cached) return { manager: cached };
|
|
234
234
|
}
|
|
235
235
|
try {
|
|
236
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
236
|
+
const { QmdMemoryManager } = await import("./qmd-manager-D53dwf0o.js");
|
|
237
237
|
const primary = await QmdMemoryManager.create({
|
|
238
238
|
cfg: params.cfg,
|
|
239
239
|
agentId: params.agentId,
|
|
@@ -245,7 +245,7 @@ async function getMemorySearchManager(params) {
|
|
|
245
245
|
const wrapper = new FallbackMemoryManager({
|
|
246
246
|
primary,
|
|
247
247
|
fallbackFactory: async () => {
|
|
248
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
248
|
+
const { MemoryIndexManager } = await import("./manager-DO4sftxl.js").then((n) => n.t);
|
|
249
249
|
return await MemoryIndexManager.get(params);
|
|
250
250
|
}
|
|
251
251
|
}, () => {
|
|
@@ -260,7 +260,7 @@ async function getMemorySearchManager(params) {
|
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
try {
|
|
263
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
263
|
+
const { MemoryIndexManager } = await import("./manager-DO4sftxl.js").then((n) => n.t);
|
|
264
264
|
return { manager: await MemoryIndexManager.get(params) };
|
|
265
265
|
} catch (err) {
|
|
266
266
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Ar as normalizeProviderId, bc as DEFAULT_CONTEXT_TOKENS, tc as resolveOpenClawAgentDir } from "./plugins-
|
|
3
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
2
|
+
import { Ar as normalizeProviderId, bc as DEFAULT_CONTEXT_TOKENS, tc as resolveOpenClawAgentDir } from "./plugins-50bsyRF5.js";
|
|
3
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-qfeaBTmR.js";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/model-alias-lines.ts
|
|
6
6
|
function buildModelAliasLines(cfg) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { n as resolveProcessScopedMap } from "./plain-object-BLxv-DD_.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { Bn as loadConfig, tc as resolveOpenClawAgentDir } from "./plugins-
|
|
4
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-C7-3a5Zr.js";
|
|
3
|
+
import { Bn as loadConfig, tc as resolveOpenClawAgentDir } from "./plugins-50bsyRF5.js";
|
|
4
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-QyFOywkg.js";
|
|
5
5
|
|
|
6
6
|
//#region src/agents/model-catalog.ts
|
|
7
7
|
const log = createSubsystemLogger("model-catalog");
|
|
8
8
|
const modelCatalogPromiseState = resolveProcessScopedMap(Symbol.for("openclaw.agents.model-catalog.modelCatalogPromise"));
|
|
9
9
|
const hasLoggedModelCatalogErrorState = resolveProcessScopedMap(Symbol.for("openclaw.agents.model-catalog.hasLoggedModelCatalogError"));
|
|
10
|
-
const defaultImportPiSdk = () => import("./pi-model-discovery-
|
|
10
|
+
const defaultImportPiSdk = () => import("./pi-model-discovery-qfeaBTmR.js").then((n) => n.r);
|
|
11
11
|
let importPiSdk = defaultImportPiSdk;
|
|
12
12
|
function getModelCatalogPromise() {
|
|
13
13
|
return modelCatalogPromiseState.get("value") ?? null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { B as resolveAgentModelPrimaryValue } from "./legacy-names-
|
|
3
|
-
import { Ar as normalizeProviderId, Ci as resolveEnvApiKey, Dr as modelKey, Fr as resolveConfiguredModelRef, Gs as upsertAuthProfileWithLock, Sc as DEFAULT_PROVIDER, Sr as buildModelAliasIndex, Vs as listProfilesForProvider, br as buildAllowedModelSet, qs as ensureAuthProfileStore, xc as DEFAULT_MODEL, yi as getCustomProviderApiKey } from "./plugins-
|
|
4
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
5
|
-
import { i as formatTokenK } from "./shared-
|
|
2
|
+
import { B as resolveAgentModelPrimaryValue } from "./legacy-names-m85yQK-H.js";
|
|
3
|
+
import { Ar as normalizeProviderId, Ci as resolveEnvApiKey, Dr as modelKey, Fr as resolveConfiguredModelRef, Gs as upsertAuthProfileWithLock, Sc as DEFAULT_PROVIDER, Sr as buildModelAliasIndex, Vs as listProfilesForProvider, br as buildAllowedModelSet, qs as ensureAuthProfileStore, xc as DEFAULT_MODEL, yi as getCustomProviderApiKey } from "./plugins-50bsyRF5.js";
|
|
4
|
+
import { n as loadModelCatalog } from "./model-catalog-PS0jzDnI.js";
|
|
5
|
+
import { i as formatTokenK } from "./shared-BhyLuWyq.js";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/openai-codex-model-default.ts
|
|
8
8
|
const OPENAI_CODEX_DEFAULT_MODEL = "openai-codex/gpt-5.3-codex";
|