remoteclaw 0.2.0 → 0.2.1
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/{accounts-Qulj3jS8.js → accounts-B0V43QEN.js} +1 -1
- package/dist/{accounts-PoAEsvXo.js → accounts-DObM4hAF.js} +2 -2
- package/dist/{accounts-C_7Xc5wa.js → accounts-DZ4c6f7x.js} +1 -1
- package/dist/{active-listener-nMUQ-dVt.js → active-listener-DVLYzYd3.js} +1 -1
- package/dist/{agent-O04J-JEw.js → agent-B2leLOo0.js} +377 -355
- package/dist/{agent-scope-wbu0VZoq.js → agent-scope-CYJrXxD6.js} +1 -1
- package/dist/{agents-BbQIzW1N.js → agents-Eg0_nSnn.js} +1 -1
- package/dist/{banner-DONy2WbW.js → banner-B52X-rEb.js} +1 -1
- package/dist/{bindings-0dx8vqz9.js → bindings-AUVd82yI.js} +2 -2
- package/dist/boot/handler.js +46 -46
- package/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-D47P56pj.js → channel-activity-Bydtz0cv.js} +2 -2
- package/dist/{channel-options-DWOSBsjN.js → channel-options-CD6ZBbON.js} +1 -1
- package/dist/{channel-options-JoYluwGr.js → channel-options-h1pCAx0w.js} +1 -1
- package/dist/{channel-web-YLHk99fU.js → channel-web-DbNWyl5A.js} +2 -2
- package/dist/{channel-web-Cvf5FKyf.js → channel-web-FA7MGFJO.js} +2 -2
- package/dist/{channels-cli-Be0_n1L2.js → channels-cli-BIArqz2T.js} +9 -9
- package/dist/{channels-cli-BoDA0aQ1.js → channels-cli-BZ5sRWaP.js} +9 -9
- package/dist/{chunk-C5Oai9vm.js → chunk-0ZB8yVlw.js} +1 -1
- package/dist/{cli-BEOzFl_6.js → cli-C8XFOFxS.js} +5 -5
- package/dist/{cli-D1ORFJ6n.js → cli-ifZiERUK.js} +5 -5
- package/dist/command-logger/handler.js +1 -1
- package/dist/{command-registry-D6LIEhaY.js → command-registry-kxjFHjjE.js} +9 -9
- package/dist/{commands-registry-CB3qR3Ui.js → commands-registry-BQrQnwzJ.js} +3 -3
- package/dist/{completion-cli-ohSjYC4v.js → completion-cli-eH6YXa0H.js} +1 -1
- package/dist/{completion-cli-D93-g9B7.js → completion-cli-wYa36YaL.js} +2 -2
- package/dist/{config-Ca5Dfk8O.js → config-BIrnJuXL.js} +8 -8
- package/dist/{config-cli-CJ1S3_VC.js → config-cli-BfJacpda.js} +1 -1
- package/dist/{config-cli-uJUr7Pe-.js → config-cli-CkJFUL61.js} +1 -1
- package/dist/{configure-CXjIsq-V.js → configure-C9cTz03s.js} +2 -2
- package/dist/{configure-BAlORoYU.js → configure-Dh-yP8hn.js} +2 -2
- package/dist/{deliver-BGpFaGMz.js → deliver-B5eZoNwr.js} +2 -2
- package/dist/{deliver-D3lJfcWr.js → deliver-Cu2kD7-u.js} +2 -2
- package/dist/{deliver-BTjGqSGN.js → deliver-z04wZfnQ.js} +8 -8
- package/dist/{dock-C0qWBS5h.js → dock-BQ3iSblF.js} +5 -5
- package/dist/{doctor-completion-CKGabXFn.js → doctor-completion-Cz3-0qwJ.js} +1 -1
- package/dist/{doctor-completion-Bo9yo8-v.js → doctor-completion-D6DqtWrm.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{env-Bs-DOhs6.js → env-D3fELH5B.js} +1 -1
- package/dist/{errors-bgTXk4n7.js → errors-Bg7BK273.js} +1 -1
- package/dist/extensionAPI.js +23 -1
- package/dist/{fetch-C-q-x9xS.js → fetch--eFpeNac.js} +3 -3
- package/dist/{fetch-B_D1a6ac.js → fetch-C3R1kkzO.js} +1 -1
- package/dist/{gateway-cli-DC1V6Fdf.js → gateway-cli-DuMZZmMm.js} +23 -14
- package/dist/{gateway-cli-CUPV9YIf.js → gateway-cli-ZPbldBb7.js} +23 -14
- package/dist/{health-D5YyZkng.js → health-6NZ23ZCc.js} +5 -5
- package/dist/{health-uTVcqwOx.js → health-D6T18gwU.js} +5 -5
- package/dist/{heartbeat-visibility-Z_3IqRgn.js → heartbeat-visibility-CXLlnSbK.js} +1 -1
- package/dist/{heartbeat-visibility-GeWWsF3e.js → heartbeat-visibility-CksK28e2.js} +1 -1
- package/dist/{hook-runner-global-D8bMcDPD.js → hook-runner-global-DPdZsDAH.js} +1 -1
- package/dist/{hooks-cli-DToXVDBQ.js → hooks-cli-CQAdRG0h.js} +6 -6
- package/dist/{hooks-cli-CpWC6lUu.js → hooks-cli-c8IB_ozo.js} +6 -6
- package/dist/{image-ops-CAVojpnw.js → image-ops-CD4YRYFY.js} +2 -2
- package/dist/index.js +10 -10
- package/dist/{ir-CDjoXuIW.js → ir-BK7K3Bbu.js} +6 -6
- package/dist/{logger-Bp0X6yHd.js → logger-BKFID___.js} +1 -1
- package/dist/{login-DWKSrC5K.js → login-BYHOjw55.js} +6 -6
- package/dist/{login-qr-C7zaGKxz.js → login-qr-ZRBRz2BA.js} +8 -8
- package/dist/{markdown-tables-Bm7xJUcn.js → markdown-tables-CfM1ner1.js} +1 -1
- package/dist/{message-action-names-y0-o46BN.js → message-action-names-AEii-fdA.js} +5 -5
- package/dist/{message-action-names-PbKqmcBa.js → message-action-names-CPJVqkJL.js} +5 -5
- package/dist/{message-channel-BuWy8hEk.js → message-channel-tSSi5C96.js} +1 -1
- package/dist/{npm-resolution-BLL-hroo.js → npm-resolution-C6jVPSqS.js} +1 -1
- package/dist/{npm-resolution-o9lE9iRL.js → npm-resolution-CdEbWlwy.js} +1 -1
- package/dist/{onboard-BohVFYna.js → onboard-CVpITzvB.js} +2 -2
- package/dist/{onboard-channels-DMgpmtQu.js → onboard-channels-D664lpQl.js} +1 -1
- package/dist/{onboard-channels-DzuidyBQ.js → onboard-channels-DReWe-Pi.js} +1 -1
- package/dist/{onboard-BKfLjwEp.js → onboard-zh78fAIB.js} +2 -2
- package/dist/{onboarding-sWcrQljf.js → onboarding-BnS6FhcE.js} +3 -3
- package/dist/{onboarding-BLgEs3xo.js → onboarding-CCahs79c.js} +3 -3
- package/dist/{onboarding.finalize-D5VLM268.js → onboarding.finalize-CmYoFs6n.js} +9 -9
- package/dist/{onboarding.finalize-CLmpb0fB.js → onboarding.finalize-uTFFUZ8O.js} +10 -10
- package/dist/{onboarding.gateway-config-DsTEqzPz.js → onboarding.gateway-config-DQX6SBU8.js} +1 -1
- package/dist/{onboarding.gateway-config-D-ZMefuj.js → onboarding.gateway-config-DYjDeKEw.js} +1 -1
- package/dist/{outbound-CCvRhb_6.js → outbound-BCY7cG5r.js} +6 -6
- package/dist/{outbound-attachment-BXwueqll.js → outbound-attachment-6NNNORlp.js} +3 -3
- package/dist/{plugin-registry-C-OlCiRd.js → plugin-registry-BC1RH6cl.js} +1 -1
- package/dist/{plugin-registry-LBCvRwK8.js → plugin-registry-TC2kC2iG.js} +1 -1
- package/dist/plugin-sdk/agents/session-run-registry.d.ts +36 -0
- package/dist/plugin-sdk/{channel-web-CM3jOFIe.js → channel-web-DSYJDq30.js} +4 -4
- package/dist/plugin-sdk/{deliver-DOBaX9a2.js → deliver-BzPIWEw5.js} +1 -1
- package/dist/plugin-sdk/index.js +5 -5
- package/dist/plugin-sdk/{reply-sVftK2Ge.js → reply-Dzts0EiK.js} +22 -8
- package/dist/plugin-sdk/{reply-payloads-DybMtW8a.js → reply-payloads-DwsjAWzB.js} +7 -1
- package/dist/plugin-sdk/{subagent-registry-BfxxwQv4.js → subagent-registry-DrBYYinw.js} +221 -5
- package/dist/plugin-sdk/web-afnwTWMq.js +7 -0
- package/dist/{plugins-cli-DCkrm_Bp.js → plugins-cli-CModgvwT.js} +6 -6
- package/dist/{plugins-cli-ChGSPhWr.js → plugins-cli-CpdkQdKD.js} +6 -6
- package/dist/{plugins-ODda1fNU.js → plugins-sjrWIkqk.js} +4 -4
- package/dist/{preflight-B9B3VBaW.js → preflight-a80t-iPi.js} +63 -63
- package/dist/{program-DYx2DvMr.js → program-BlZGbNe5.js} +11 -11
- package/dist/{program-context-B_oA8k9e.js → program-context-BVx30291.js} +16 -16
- package/dist/{prompt-select-styled-tATNv5wG.js → prompt-select-styled-Bqov4T-S.js} +4 -4
- package/dist/{prompt-select-styled-CHuBVQoF.js → prompt-select-styled-CtPeDmXo.js} +4 -4
- package/dist/{provider-dispatcher-CaVZ8Nhx.js → provider-dispatcher-BD5K64cR.js} +44 -22
- package/dist/{redact-DUvSdQvv.js → redact-D2_cayCv.js} +1 -1
- package/dist/{register.agent-mJGdqH4r.js → register.agent-B89Ymzwt.js} +8 -8
- package/dist/{register.agent-CAkJcVgr.js → register.agent-CuhMDT3t.js} +7 -7
- package/dist/{register.configure-BhkIDDW5.js → register.configure-C8WcdyT6.js} +9 -9
- package/dist/{register.configure-DvwKyrwL.js → register.configure-b8Ic06Uw.js} +9 -9
- package/dist/{register.maintenance-CKwKHDhS.js → register.maintenance-BlMuoELU.js} +11 -11
- package/dist/{register.maintenance-vpQOTI6u.js → register.maintenance-D5RP4wO6.js} +10 -10
- package/dist/{register.message-h_ydGqf0.js → register.message-CSeNrxdd.js} +7 -7
- package/dist/{register.message-NSrj_UY0.js → register.message-D7jdDTte.js} +7 -7
- package/dist/{register.onboard-C08IBU41.js → register.onboard-CRiXHw0n.js} +3 -3
- package/dist/{register.onboard-CcOONokP.js → register.onboard-Dj8wICC1.js} +3 -3
- package/dist/{register.setup-BHbQcv1_.js → register.setup-8gos4jqr.js} +3 -3
- package/dist/{register.setup-JYGpPbA2.js → register.setup-C_-8vfKv.js} +3 -3
- package/dist/{register.status-health-sessions-CAVFepVm.js → register.status-health-sessions-CrCsnTEq.js} +9 -9
- package/dist/{register.status-health-sessions-CV4R4Fe2.js → register.status-health-sessions-Df9SxgpH.js} +8 -8
- package/dist/{register.subclis-pRE159Cu.js → register.subclis-CxT7d8Bs.js} +8 -8
- package/dist/{replies-Cu8SG6CK.js → replies-Dsu1hdd7.js} +3 -3
- package/dist/{reply-DqJBHDn_.js → reply-Ccq9RRYF.js} +44 -22
- package/dist/{reply-payloads-DbQW7c5s.js → reply-payloads-DwEnDy7C.js} +4 -4
- package/dist/{reply-payloads-C4mbcSP-.js → reply-payloads-KYLwM629.js} +1 -1
- package/dist/{reply-prefix-DwJ8gxoz.js → reply-prefix-DtQ_7Eac.js} +1 -1
- package/dist/{resolve-route-BBztqaX0.js → resolve-route-DFUMTbRD.js} +4 -4
- package/dist/{response-prefix-template-BgDMziqu.js → response-prefix-template-DDQsoC2g.js} +1 -1
- package/dist/{run-main-D4CHxIUS.js → run-main-3RfLQTiu.js} +17 -17
- package/dist/{send-D3Uuw_MA.js → send-4gX7wep2.js} +8 -8
- package/dist/{send-CeBdN3Dp.js → send-CgAV9I1-.js} +15 -15
- package/dist/{send-DgVCmydL.js → send-CkPRLaz-.js} +8 -8
- package/dist/{send-C2J41ICD.js → send-DBeVQI-J.js} +7 -7
- package/dist/{send-Cibl-r-E.js → send-fdOUhBcN.js} +10 -10
- package/dist/{server-node-events-B60wtfXc.js → server-node-events-CRRE92S3.js} +6 -6
- package/dist/{server-node-events-DdwEsXLN.js → server-node-events-wpvPI-kw.js} +6 -6
- package/dist/{session-Bj8e8O8R.js → session-IUmTrU6A.js} +4 -4
- package/dist/{session-utils-CpgeP4rB.js → session-utils-ChEnoQCt.js} +1 -1
- package/dist/{session-utils-BUNcG-B2.js → session-utils-Dq5uiNDE.js} +1 -1
- package/dist/{sessions-3ACDrmHu.js → sessions-C6O5qrbx.js} +7 -1
- package/dist/{sessions-BePPqEtN.js → sessions-D5CiijxL.js} +12 -6
- package/dist/{sessions-n_z2PE4-.js → sessions-DPke45uf.js} +2 -2
- package/dist/{shell-env-DPAvieDD.js → shell-env-CKQ7fvtT.js} +1 -1
- package/dist/{status-BLKhFWFc.js → status-BeGUnsBd.js} +4 -4
- package/dist/{status-Ccfq5H-G.js → status-uyg2yOTM.js} +4 -4
- package/dist/{store-BS8fRU9w.js → store-BfW5-y9S.js} +7 -1
- package/dist/{subagent-registry-DIReZNw1.js → subagent-registry-BTv48FFX.js} +239 -6
- package/dist/{subagent-registry-DvnyYXMs.js → subagent-registry-D2yHvOBr.js} +238 -22
- package/dist/{subagent-registry-DMTgcI99.js → subagent-registry-DljM1oxO.js} +239 -6
- package/dist/{subsystem-DLQY6iY4.js → subsystem-9R2eOxp2.js} +2 -2
- package/dist/{tables-Bk8AXTIS.js → tables-CDsRjvfB.js} +2 -2
- package/dist/{tokens-CgIfCmK3.js → tokens-CFajuiSx.js} +1 -1
- package/dist/{tool-images-BMnWMHwL.js → tool-images-Cmsx31Bo.js} +1 -1
- package/dist/{update-cli-DCK9HF3t.js → update-cli-ChJoLU8L.js} +11 -11
- package/dist/{update-cli-1qesJ1_a.js → update-cli-DaW75dJC.js} +10 -10
- package/dist/{web-DG3SWzn_.js → web-BS0azDPB.js} +6 -6
- package/dist/{web-CCw02lmy.js → web-C_Alo-mS.js} +6 -6
- package/dist/{web-CKces-ap.js → web-DHXIgMOC.js} +50 -50
- package/dist/{whatsapp-actions-BzyFEHw4.js → whatsapp-actions-sR-u0T6U.js} +21 -21
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/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/package.json +1 -1
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/plugin-sdk/web-C24fSRzu.js +0 -7
- /package/dist/{fetch-timeout-DTIN7CGM.js → fetch-timeout-jOIu9Xud.js} +0 -0
- /package/dist/{file-lock-BftAtpBn.js → file-lock-CEhZlbAi.js} +0 -0
- /package/dist/{ip-B27WD9wk.js → ip-N_XHHVsM.js} +0 -0
- /package/dist/{json-file-CRyYLqpu.js → json-file-DYQIVLc1.js} +0 -0
- /package/dist/{render-DSLzcBxk.js → render-TpKSK5RV.js} +0 -0
- /package/dist/{target-errors-owiG6LWY.js → target-errors-D7fLx8zG.js} +0 -0
|
@@ -4,17 +4,17 @@ import { i as loadConfig } from "./config-DWFrth_R.js";
|
|
|
4
4
|
import { l as resolveAgentIdFromSessionKey, p as toAgentStoreSessionKey, s as normalizeAgentId } from "./session-key-CfvsBObU.js";
|
|
5
5
|
import { d as resolveDefaultAgentId, i as resolveAgentConfig, l as resolveAgentWorkspaceDir } from "./agent-scope-CXVIfJFJ.js";
|
|
6
6
|
import { g as parseDurationMs } from "./zod-schema-Bh8NOhFH.js";
|
|
7
|
-
import { J as resolveAgentMainSessionKey, g as updateSessionStore, l as loadSessionStore, m as saveSessionStore
|
|
7
|
+
import { J as canonicalizeMainSessionAlias, Y as resolveAgentMainSessionKey, g as updateSessionStore, l as loadSessionStore, m as saveSessionStore } from "./sessions-C6O5qrbx.js";
|
|
8
8
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-xybjDXd6.js";
|
|
9
9
|
import { a as resolvePreferredAccountId, t as buildChannelAccountBindings } from "./bindings-Dz4Bh_zw.js";
|
|
10
|
-
import { a as resolveHeartbeatDeliveryTarget, ft as resolveUserTimezone, i as getReplyFromConfig, o as resolveHeartbeatSenderContext, yt as peekSystemEventEntries } from "./provider-dispatcher-
|
|
10
|
+
import { a as resolveHeartbeatDeliveryTarget, ft as resolveUserTimezone, i as getReplyFromConfig, o as resolveHeartbeatSenderContext, yt as peekSystemEventEntries } from "./provider-dispatcher-BD5K64cR.js";
|
|
11
11
|
import { c as resolveSessionFilePath, m as resolveStorePath } from "./chat-envelope-CT-Ocz9D.js";
|
|
12
12
|
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-CFafK7BB.js";
|
|
13
|
-
import {
|
|
13
|
+
import { ct as resolveHeartbeatPrompt$1, pt as getQueueSize, st as DEFAULT_HEARTBEAT_EVERY, yt as CommandLane } from "./subagent-registry-BTv48FFX.js";
|
|
14
14
|
import { a as resolveEffectiveMessagesConfig } from "./response-prefix-template-DKzvekX_.js";
|
|
15
15
|
import { n as formatErrorMessage } from "./errors-BO7MWwih.js";
|
|
16
|
-
import { t as deliverOutboundPayloads } from "./deliver-
|
|
17
|
-
import { a as resolveIndicatorType, n as emitHeartbeatEvent, o as resolveHeartbeatReplyPayload, s as appendCronStyleCurrentTimeLine, t as resolveHeartbeatVisibility } from "./heartbeat-visibility-
|
|
16
|
+
import { t as deliverOutboundPayloads } from "./deliver-B5eZoNwr.js";
|
|
17
|
+
import { a as resolveIndicatorType, n as emitHeartbeatEvent, o as resolveHeartbeatReplyPayload, s as appendCronStyleCurrentTimeLine, t as resolveHeartbeatVisibility } from "./heartbeat-visibility-CXLlnSbK.js";
|
|
18
18
|
import { n as withProgress } from "./progress-B-Sv81mU.js";
|
|
19
19
|
import { t as resolveChannelDefaultAccountId } from "./helpers-CkDBXE74.js";
|
|
20
20
|
import { n as setHeartbeatWakeHandler, r as resolveHeartbeatReasonKind, t as requestHeartbeatNow } from "./heartbeat-wake-Uah8gcOk.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dt as resolveUserTimeFormat, ft as resolveUserTimezone, ut as formatUserTime } from "./provider-dispatcher-
|
|
1
|
+
import { dt as resolveUserTimeFormat, ft as resolveUserTimezone, ut as formatUserTime } from "./provider-dispatcher-BD5K64cR.js";
|
|
2
2
|
|
|
3
3
|
//#region src/agents/current-time.ts
|
|
4
4
|
function resolveCronStyleNow(cfg, nowMs) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dt as resolveUserTimeFormat, ft as resolveUserTimezone, ut as formatUserTime } from "./reply-
|
|
1
|
+
import { dt as resolveUserTimeFormat, ft as resolveUserTimezone, ut as formatUserTime } from "./reply-Ccq9RRYF.js";
|
|
2
2
|
|
|
3
3
|
//#region src/agents/current-time.ts
|
|
4
4
|
function resolveCronStyleNow(cfg, nowMs) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as createSubsystemLogger } from "./entry.js";
|
|
2
2
|
import { g as normalizeOptionalAccountId } from "./session-key-CfvsBObU.js";
|
|
3
3
|
import { t as getChannelDock } from "./dock-DO9Vw5CE.js";
|
|
4
|
-
import {
|
|
4
|
+
import { F as parseInlineDirectives } from "./sessions-C6O5qrbx.js";
|
|
5
5
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-xybjDXd6.js";
|
|
6
6
|
import { t as isMessagingToolDuplicate } from "./agent-helpers-Bzz_tiPK.js";
|
|
7
7
|
|
|
@@ -8,7 +8,7 @@ import { d as resolveDefaultAgentId, l as resolveAgentWorkspaceDir } from "./age
|
|
|
8
8
|
import "./zod-schema-Bh8NOhFH.js";
|
|
9
9
|
import "./dock-DO9Vw5CE.js";
|
|
10
10
|
import "./message-channel-tuc9CdEw.js";
|
|
11
|
-
import "./sessions-
|
|
11
|
+
import "./sessions-C6O5qrbx.js";
|
|
12
12
|
import "./accounts-BVh3N1Fk.js";
|
|
13
13
|
import "./accounts-9jdDby1S.js";
|
|
14
14
|
import "./plugins-xybjDXd6.js";
|
|
@@ -19,7 +19,7 @@ import { t as formatCliCommand } from "./command-format-CnyOPNyW.js";
|
|
|
19
19
|
import "./logging-DRwtiLIS.js";
|
|
20
20
|
import "./send-QGiloXFZ.js";
|
|
21
21
|
import "./send-BvObbKlY.js";
|
|
22
|
-
import "./provider-dispatcher-
|
|
22
|
+
import "./provider-dispatcher-BD5K64cR.js";
|
|
23
23
|
import "./chat-envelope-CT-Ocz9D.js";
|
|
24
24
|
import "./strip-inbound-meta-zmUXypSS.js";
|
|
25
25
|
import "./client-_mml4Fa6.js";
|
|
@@ -28,14 +28,14 @@ import "./net-eJa3DljN.js";
|
|
|
28
28
|
import "./logger-Bg_B5M43.js";
|
|
29
29
|
import "./ip-DK-vcRii.js";
|
|
30
30
|
import "./tailnet-kbXXH7kK.js";
|
|
31
|
-
import "./subagent-registry-
|
|
31
|
+
import "./subagent-registry-BTv48FFX.js";
|
|
32
32
|
import "./response-prefix-template-DKzvekX_.js";
|
|
33
33
|
import "./agent-helpers-Bzz_tiPK.js";
|
|
34
34
|
import "./tool-images-CX2LXum2.js";
|
|
35
35
|
import "./exec-D1tuG1om.js";
|
|
36
36
|
import "./image-ops-BT4VediG.js";
|
|
37
37
|
import "./tokens-D1JVsjbg.js";
|
|
38
|
-
import "./hook-runner-global-
|
|
38
|
+
import "./hook-runner-global-DPdZsDAH.js";
|
|
39
39
|
import "./redact-CuM_QcqM.js";
|
|
40
40
|
import "./tool-display-FTmiDILs.js";
|
|
41
41
|
import "./markdown-tables-BKzJxBq0.js";
|
|
@@ -61,7 +61,7 @@ import "./channel-activity-DgNn51YG.js";
|
|
|
61
61
|
import "./session-cost-usage-B7CLLXW3.js";
|
|
62
62
|
import "./errors-BO7MWwih.js";
|
|
63
63
|
import "./ports-lsof-CwRCSLwc.js";
|
|
64
|
-
import "./deliver-
|
|
64
|
+
import "./deliver-B5eZoNwr.js";
|
|
65
65
|
import "./plugin-auto-enable-CExwFUHo.js";
|
|
66
66
|
import "./dm-policy-shared-Bla9d1QG.js";
|
|
67
67
|
import "./send-D8F6oiAI.js";
|
|
@@ -82,7 +82,7 @@ import { c as resolveInstallModeOptions, d as withExtractedArchiveRoot, f as res
|
|
|
82
82
|
import { t as renderTable } from "./table-GQ3pJQ0O.js";
|
|
83
83
|
import { n as hasBinary } from "./config-eval-5QsRpN7Y.js";
|
|
84
84
|
import { a as parseFrontmatter, n as isConfigPathTruthy, r as resolveHookConfig, t as loadWorkspaceHookEntries } from "./workspace-B14YRy8Q.js";
|
|
85
|
-
import { n as resolvePinnedNpmInstallRecordForCli, r as buildPluginStatusReport, t as buildNpmInstallRecordFields } from "./npm-resolution-
|
|
85
|
+
import { n as resolvePinnedNpmInstallRecordForCli, r as buildPluginStatusReport, t as buildNpmInstallRecordFields } from "./npm-resolution-C6jVPSqS.js";
|
|
86
86
|
import path from "node:path";
|
|
87
87
|
import fs from "node:fs";
|
|
88
88
|
import fsp from "node:fs/promises";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./paths-DHuXVC00.js";
|
|
2
2
|
import { L as theme, _ as resolveUserPath, b as shortenHomePath, t as CONFIG_DIR } from "./utils-__cbkDgx.js";
|
|
3
|
-
import "./reply-
|
|
3
|
+
import "./reply-Ccq9RRYF.js";
|
|
4
4
|
import "./subsystem-YtLxC9Jh.js";
|
|
5
5
|
import { i as defaultRuntime } from "./ansi-DtaiOnt1.js";
|
|
6
6
|
import { d as resolveDefaultAgentId, l as resolveAgentWorkspaceDir } from "./agent-scope-CqLq7cFg.js";
|
|
7
|
-
import "./subagent-registry-
|
|
7
|
+
import "./subagent-registry-DljM1oxO.js";
|
|
8
8
|
import "./onboard-helpers-D2nzz93W.js";
|
|
9
9
|
import "./message-channel-Byxx9SGy.js";
|
|
10
10
|
import "./send-CoDb77BF.js";
|
|
@@ -25,7 +25,7 @@ import "./bindings-DeKYuXJO.js";
|
|
|
25
25
|
import { t as formatCliCommand } from "./command-format-Dntg_tnC.js";
|
|
26
26
|
import "./logging-fywhKCmE.js";
|
|
27
27
|
import "./tokens-DJrhANSO.js";
|
|
28
|
-
import "./reply-payloads-
|
|
28
|
+
import "./reply-payloads-KYLwM629.js";
|
|
29
29
|
import "./send-Bj1TUsUZ.js";
|
|
30
30
|
import "./commands-YI4OIEz0.js";
|
|
31
31
|
import "./commands-registry-BKzejEC3.js";
|
|
@@ -34,7 +34,7 @@ import "./fetch-CfIaWynF.js";
|
|
|
34
34
|
import "./channel-activity-0siRvnUT.js";
|
|
35
35
|
import "./file-lock-CCBpdPM_.js";
|
|
36
36
|
import "./chat-envelope-DPKIEKwe.js";
|
|
37
|
-
import "./store-
|
|
37
|
+
import "./store-BfW5-y9S.js";
|
|
38
38
|
import "./strip-inbound-meta-aD15EKsc.js";
|
|
39
39
|
import "./session-cost-usage-BEJ7hSxb.js";
|
|
40
40
|
import "./auth-8CQIOfEF.js";
|
|
@@ -64,7 +64,7 @@ import "./markdown-tables-BsunnBTT.js";
|
|
|
64
64
|
import "./render-CIF_SgbA.js";
|
|
65
65
|
import "./tables-C6OJbUw4.js";
|
|
66
66
|
import "./ports-lsof-BmOgvEU5.js";
|
|
67
|
-
import "./deliver-
|
|
67
|
+
import "./deliver-Cu2kD7-u.js";
|
|
68
68
|
import "./plugin-auto-enable-onDiMat_.js";
|
|
69
69
|
import "./target-errors-B_VJlqx6.js";
|
|
70
70
|
import "./dm-policy-shared-AsIdue8Y.js";
|
|
@@ -86,7 +86,7 @@ import { c as resolveInstallModeOptions, d as withExtractedArchiveRoot, f as res
|
|
|
86
86
|
import { t as renderTable } from "./table-D-dtKj8e.js";
|
|
87
87
|
import { n as hasBinary } from "./config-eval-CrNx1PGo.js";
|
|
88
88
|
import { a as parseFrontmatter, n as isConfigPathTruthy, r as resolveHookConfig, t as loadWorkspaceHookEntries } from "./workspace-DfWM-Pdx.js";
|
|
89
|
-
import { n as resolvePinnedNpmInstallRecordForCli, r as buildPluginStatusReport, t as buildNpmInstallRecordFields } from "./npm-resolution-
|
|
89
|
+
import { n as resolvePinnedNpmInstallRecordForCli, r as buildPluginStatusReport, t as buildNpmInstallRecordFields } from "./npm-resolution-CdEbWlwy.js";
|
|
90
90
|
import fs from "node:fs";
|
|
91
91
|
import path from "node:path";
|
|
92
92
|
import fs$1 from "node:fs/promises";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { U as shouldLogVerbose, z as danger } from "./subsystem-
|
|
2
|
-
import { n as logError, t as logDebug } from "./logger-
|
|
1
|
+
import { U as shouldLogVerbose, z as danger } from "./subsystem-9R2eOxp2.js";
|
|
2
|
+
import { n as logError, t as logDebug } from "./logger-BKFID___.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import { promisify } from "node:util";
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import "./paths-DHuXVC00.js";
|
|
3
3
|
import { I as isRich, K as ALLOWED_LOG_LEVELS, L as theme, S as toWhatsappJid, Y as tryParseLogLevel, f as normalizeE164, j as setVerbose, n as assertWebChannel, s as escapeRegExp } from "./utils-__cbkDgx.js";
|
|
4
|
-
import { fn as resolveCommitHash, k as createDefaultDeps, t as getReplyFromConfig, u as installUnhandledRejectionHandler } from "./reply-
|
|
4
|
+
import { fn as resolveCommitHash, k as createDefaultDeps, t as getReplyFromConfig, u as installUnhandledRejectionHandler } from "./reply-Ccq9RRYF.js";
|
|
5
5
|
import { r as enableConsoleCapture } from "./subsystem-YtLxC9Jh.js";
|
|
6
6
|
import { i as defaultRuntime, n as visibleWidth } from "./ansi-DtaiOnt1.js";
|
|
7
7
|
import "./agent-scope-CqLq7cFg.js";
|
|
8
|
-
import "./subagent-registry-
|
|
8
|
+
import "./subagent-registry-DljM1oxO.js";
|
|
9
9
|
import "./onboard-helpers-D2nzz93W.js";
|
|
10
10
|
import "./message-channel-Byxx9SGy.js";
|
|
11
11
|
import "./send-CoDb77BF.js";
|
|
@@ -26,7 +26,7 @@ import "./bindings-DeKYuXJO.js";
|
|
|
26
26
|
import { n as resolveCliName, t as replaceCliName } from "./cli-name-BZsYSp9l.js";
|
|
27
27
|
import "./logging-fywhKCmE.js";
|
|
28
28
|
import "./tokens-DJrhANSO.js";
|
|
29
|
-
import "./reply-payloads-
|
|
29
|
+
import "./reply-payloads-KYLwM629.js";
|
|
30
30
|
import "./send-Bj1TUsUZ.js";
|
|
31
31
|
import "./commands-YI4OIEz0.js";
|
|
32
32
|
import "./commands-registry-BKzejEC3.js";
|
|
@@ -35,7 +35,7 @@ import "./fetch-CfIaWynF.js";
|
|
|
35
35
|
import "./channel-activity-0siRvnUT.js";
|
|
36
36
|
import "./file-lock-CCBpdPM_.js";
|
|
37
37
|
import { m as resolveStorePath } from "./chat-envelope-DPKIEKwe.js";
|
|
38
|
-
import {
|
|
38
|
+
import { R as deriveSessionKey, n as loadSessionStore, s as saveSessionStore, z as resolveSessionKey } from "./store-BfW5-y9S.js";
|
|
39
39
|
import "./strip-inbound-meta-aD15EKsc.js";
|
|
40
40
|
import "./session-cost-usage-BEJ7hSxb.js";
|
|
41
41
|
import "./auth-8CQIOfEF.js";
|
|
@@ -65,7 +65,7 @@ import "./markdown-tables-BsunnBTT.js";
|
|
|
65
65
|
import "./render-CIF_SgbA.js";
|
|
66
66
|
import "./tables-C6OJbUw4.js";
|
|
67
67
|
import "./ports-lsof-BmOgvEU5.js";
|
|
68
|
-
import "./deliver-
|
|
68
|
+
import "./deliver-Cu2kD7-u.js";
|
|
69
69
|
import "./plugin-auto-enable-onDiMat_.js";
|
|
70
70
|
import "./target-errors-B_VJlqx6.js";
|
|
71
71
|
import "./dm-policy-shared-AsIdue8Y.js";
|
|
@@ -81,7 +81,7 @@ import "./delivery-queue-BuoTsDxs.js";
|
|
|
81
81
|
import "./send-CcKbce_B.js";
|
|
82
82
|
import "./prompt-style-DMn5Aefm.js";
|
|
83
83
|
import "./pairing-labels-Cc_CF9XM.js";
|
|
84
|
-
import { r as waitForever, t as monitorWebChannel } from "./channel-web-
|
|
84
|
+
import { r as waitForever, t as monitorWebChannel } from "./channel-web-FA7MGFJO.js";
|
|
85
85
|
import "./outbound-9ghOyJ7d.js";
|
|
86
86
|
import "./session-CR2JpSYq.js";
|
|
87
87
|
import "./login-Cg1M27Hr.js";
|
|
@@ -93,9 +93,9 @@ import { i as handlePortError, n as describePortOwner, r as ensurePortAvailable,
|
|
|
93
93
|
import { t as assertSupportedRuntime } from "./runtime-guard-4WA0hX1Y.js";
|
|
94
94
|
import "./ports-BGZ0LNmd.js";
|
|
95
95
|
import { a as hasFlag, i as getVerboseFlag, n as getCommandPath, o as hasHelpOrVersion, s as hasRootVersionAlias } from "./argv-BXY8H4Ce.js";
|
|
96
|
-
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-
|
|
97
|
-
import "./plugin-registry-
|
|
98
|
-
import { n as resolveCliChannelOptions } from "./channel-options-
|
|
96
|
+
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-BVx30291.js";
|
|
97
|
+
import "./plugin-registry-TC2kC2iG.js";
|
|
98
|
+
import { n as resolveCliChannelOptions } from "./channel-options-h1pCAx0w.js";
|
|
99
99
|
import { t as formatDocsLink } from "./links-DQLhKFFh.js";
|
|
100
100
|
import process$1 from "node:process";
|
|
101
101
|
import { fileURLToPath } from "node:url";
|
|
@@ -551,7 +551,7 @@ function registerPreActionHooks(program, programVersion) {
|
|
|
551
551
|
commandPath
|
|
552
552
|
});
|
|
553
553
|
if (PLUGIN_REQUIRED_COMMANDS.has(commandPath[0])) {
|
|
554
|
-
const { ensurePluginRegistryLoaded } = await import("./plugin-registry-
|
|
554
|
+
const { ensurePluginRegistryLoaded } = await import("./plugin-registry-TC2kC2iG.js").then((n) => n.n);
|
|
555
555
|
ensurePluginRegistryLoaded();
|
|
556
556
|
}
|
|
557
557
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { M as resolveUserPath, Q as resolvePreferredRemoteClawTmpDir, U as shouldLogVerbose, V as logVerbose, st as resolveStateDir } from "./subsystem-
|
|
2
|
-
import { l as resolveAgentWorkspaceDirOrNull } from "./agent-scope-
|
|
3
|
-
import { G as isSymlinkOpenError, U as sameFileIdentity, W as isNotFoundPathError } from "./config-
|
|
4
|
-
import { i as extensionForMime, l as maxBytesForKind, n as fetchRemoteMedia, r as detectMime, u as mediaKindFromMime } from "./fetch
|
|
5
|
-
import { a as chunkText } from "./chunk-
|
|
6
|
-
import { a as resizeToJpeg, i as optimizeImageToPng, r as hasAlphaChannel, t as convertHeicToJpeg } from "./image-ops-
|
|
1
|
+
import { M as resolveUserPath, Q as resolvePreferredRemoteClawTmpDir, U as shouldLogVerbose, V as logVerbose, st as resolveStateDir } from "./subsystem-9R2eOxp2.js";
|
|
2
|
+
import { l as resolveAgentWorkspaceDirOrNull } from "./agent-scope-CYJrXxD6.js";
|
|
3
|
+
import { G as isSymlinkOpenError, U as sameFileIdentity, W as isNotFoundPathError } from "./config-BIrnJuXL.js";
|
|
4
|
+
import { i as extensionForMime, l as maxBytesForKind, n as fetchRemoteMedia, r as detectMime, u as mediaKindFromMime } from "./fetch--eFpeNac.js";
|
|
5
|
+
import { a as chunkText } from "./chunk-0ZB8yVlw.js";
|
|
6
|
+
import { a as resizeToJpeg, i as optimizeImageToPng, r as hasAlphaChannel, t as convertHeicToJpeg } from "./image-ops-CD4YRYFY.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import { constants } from "node:fs";
|
|
9
9
|
import fs$1 from "node:fs/promises";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as info, G as warn, H as logVerboseConsole, J as getLogger, r as defaultRuntime, t as createSubsystemLogger, z as danger } from "./subsystem-
|
|
1
|
+
import { B as info, G as warn, H as logVerboseConsole, J as getLogger, r as defaultRuntime, t as createSubsystemLogger, z as danger } from "./subsystem-9R2eOxp2.js";
|
|
2
2
|
|
|
3
3
|
//#region src/logger.ts
|
|
4
4
|
const subsystemPrefixRe = /^([a-z][a-z0-9-]{1,20}):\s+(.*)$/i;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { B as info, W as success, r as defaultRuntime, z as danger } from "./subsystem-
|
|
3
|
-
import { n as formatCliCommand } from "./env-
|
|
4
|
-
import { n as resolveWhatsAppAccount, s as logoutWeb } from "./accounts-
|
|
5
|
-
import { t as loadConfig } from "./config-
|
|
6
|
-
import { r as logInfo } from "./logger-
|
|
7
|
-
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-
|
|
2
|
+
import { B as info, W as success, r as defaultRuntime, z as danger } from "./subsystem-9R2eOxp2.js";
|
|
3
|
+
import { n as formatCliCommand } from "./env-D3fELH5B.js";
|
|
4
|
+
import { n as resolveWhatsAppAccount, s as logoutWeb } from "./accounts-DObM4hAF.js";
|
|
5
|
+
import { t as loadConfig } from "./config-BIrnJuXL.js";
|
|
6
|
+
import { r as logInfo } from "./logger-BKFID___.js";
|
|
7
|
+
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-IUmTrU6A.js";
|
|
8
8
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
9
9
|
|
|
10
10
|
//#region src/web/login.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { B as info, W as success, r as defaultRuntime, z as danger } from "./subsystem-
|
|
2
|
-
import "./agent-scope-
|
|
3
|
-
import "./env-
|
|
4
|
-
import { d as readWebSelfId, h as webAuthExists, n as resolveWhatsAppAccount, s as logoutWeb } from "./accounts-
|
|
5
|
-
import "./shell-env-
|
|
6
|
-
import { t as loadConfig } from "./config-
|
|
7
|
-
import { r as logInfo } from "./logger-
|
|
8
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
1
|
+
import { B as info, W as success, r as defaultRuntime, z as danger } from "./subsystem-9R2eOxp2.js";
|
|
2
|
+
import "./agent-scope-CYJrXxD6.js";
|
|
3
|
+
import "./env-D3fELH5B.js";
|
|
4
|
+
import { d as readWebSelfId, h as webAuthExists, n as resolveWhatsAppAccount, s as logoutWeb } from "./accounts-DObM4hAF.js";
|
|
5
|
+
import "./shell-env-CKQ7fvtT.js";
|
|
6
|
+
import { t as loadConfig } from "./config-BIrnJuXL.js";
|
|
7
|
+
import { r as logInfo } from "./logger-BKFID___.js";
|
|
8
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-IUmTrU6A.js";
|
|
9
9
|
import { randomUUID } from "node:crypto";
|
|
10
10
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
11
11
|
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { f as normalizeAccountId } from "./session-key-X7pmdLBX.js";
|
|
3
3
|
import { t as resolveAccountEntry } from "./account-lookup-BU0Ibuj-.js";
|
|
4
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
4
|
+
import { r as normalizeChannelId } from "./plugins-sjrWIkqk.js";
|
|
5
5
|
|
|
6
6
|
//#region src/config/markdown-tables.ts
|
|
7
7
|
var markdown_tables_exports = /* @__PURE__ */ __exportAll({ resolveMarkdownTableMode: () => resolveMarkdownTableMode });
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { _ as resolveSignalRecipient, f as normalizeAllowListLower, g as resolveSignalPeerId, h as looksLikeUuid, i as resolveOutboundTarget, o as normalizeDeliverableOutboundChannel, s as resolveOutboundChannelPlugin, v as resolveSignalSender } from "./reply-
|
|
1
|
+
import { _ as resolveSignalRecipient, f as normalizeAllowListLower, g as resolveSignalPeerId, h as looksLikeUuid, i as resolveOutboundTarget, o as normalizeDeliverableOutboundChannel, s as resolveOutboundChannelPlugin, v as resolveSignalSender } from "./reply-Ccq9RRYF.js";
|
|
2
2
|
import { i as defaultRuntime } from "./ansi-DtaiOnt1.js";
|
|
3
3
|
import { s as normalizeAgentId, u as resolveThreadSessionKeys } from "./session-key-DUewR3Vl.js";
|
|
4
4
|
import { f as resolveSessionAgentId } from "./agent-scope-CqLq7cFg.js";
|
|
5
|
-
import {
|
|
5
|
+
import { st as buildOutboundSessionContext } from "./subagent-registry-DljM1oxO.js";
|
|
6
6
|
import { c as normalizeMessageChannel, f as GATEWAY_CLIENT_MODES, n as isDeliverableMessageChannel, p as GATEWAY_CLIENT_NAMES } from "./message-channel-Byxx9SGy.js";
|
|
7
7
|
import { nt as parseDiscordTarget } from "./send-CoDb77BF.js";
|
|
8
8
|
import { i as loadConfig } from "./config-nbO6QgRa.js";
|
|
9
9
|
import { _ as resolveDiscordAccount, a as isWhatsAppGroupJid, l as resolveSlackAccount, n as listChannelPlugins, o as normalizeWhatsAppTarget, t as getChannelPlugin } from "./plugins-BzN42FWt.js";
|
|
10
10
|
import { t as buildChannelAccountBindings } from "./bindings-DeKYuXJO.js";
|
|
11
|
-
import { d as normalizeChannelTargetInput, f as normalizeTargetForProvider, u as buildTargetResolverSignature } from "./reply-payloads-
|
|
11
|
+
import { d as normalizeChannelTargetInput, f as normalizeTargetForProvider, u as buildTargetResolverSignature } from "./reply-payloads-KYLwM629.js";
|
|
12
12
|
import { l as parseSlackTarget, s as createSlackWebClient } from "./send-Bj1TUsUZ.js";
|
|
13
13
|
import { m as resolveStorePath } from "./chat-envelope-DPKIEKwe.js";
|
|
14
|
-
import {
|
|
14
|
+
import { P as appendAssistantMessageToSessionTranscript, a as recordSessionMetaFromInbound } from "./store-BfW5-y9S.js";
|
|
15
15
|
import { n as extensionForMime } from "./mime-BYcJzDmu.js";
|
|
16
16
|
import { E as buildTelegramGroupPeerId, J as parseTelegramTarget, Y as resolveTelegramTargetChatType } from "./send-BaPDUIXE.js";
|
|
17
17
|
import { a as randomIdempotencyKey, r as callGatewayLeastPrivilege } from "./call-CzzsQW8Z.js";
|
|
18
18
|
import { n as normalizePollInput } from "./polls-CCuCaqgv.js";
|
|
19
19
|
import { i as loadWebMedia, o as getAgentScopedMediaLocalRoots } from "./ir-P78akbDa.js";
|
|
20
|
-
import { c as parseReplyDirectives, o as normalizeReplyPayloadsForDelivery, s as throwIfAborted, t as deliverOutboundPayloads } from "./deliver-
|
|
20
|
+
import { c as parseReplyDirectives, o as normalizeReplyPayloadsForDelivery, s as throwIfAborted, t as deliverOutboundPayloads } from "./deliver-Cu2kD7-u.js";
|
|
21
21
|
import { f as readStringArrayParam, m as readStringParam, r as unknownTargetError, t as ambiguousTargetError, u as readNumberParam } from "./target-errors-B_VJlqx6.js";
|
|
22
22
|
import { t as buildAgentSessionKey } from "./resolve-route-Ik0pyZJH.js";
|
|
23
23
|
import { n as resolveMessageChannelSelection, t as listConfiguredMessageChannels } from "./channel-selection-BFWjPsCO.js";
|
|
@@ -3,22 +3,22 @@ import { i as loadConfig } from "./config-DWFrth_R.js";
|
|
|
3
3
|
import { s as normalizeAgentId, u as resolveThreadSessionKeys } from "./session-key-CfvsBObU.js";
|
|
4
4
|
import { f as resolveSessionAgentId } from "./agent-scope-CXVIfJFJ.js";
|
|
5
5
|
import { c as normalizeMessageChannel, f as GATEWAY_CLIENT_MODES, n as isDeliverableMessageChannel, p as GATEWAY_CLIENT_NAMES } from "./message-channel-tuc9CdEw.js";
|
|
6
|
-
import { f as recordSessionMetaFromInbound, i as appendAssistantMessageToSessionTranscript } from "./sessions-
|
|
6
|
+
import { f as recordSessionMetaFromInbound, i as appendAssistantMessageToSessionTranscript } from "./sessions-C6O5qrbx.js";
|
|
7
7
|
import { _ as resolveDiscordAccount, a as isWhatsAppGroupJid, l as resolveSlackAccount, n as listChannelPlugins, o as normalizeWhatsAppTarget, t as getChannelPlugin } from "./plugins-xybjDXd6.js";
|
|
8
8
|
import { t as buildChannelAccountBindings } from "./bindings-Dz4Bh_zw.js";
|
|
9
9
|
import { l as parseSlackTarget, s as createSlackWebClient } from "./send-QGiloXFZ.js";
|
|
10
10
|
import { nt as parseDiscordTarget } from "./send-BvObbKlY.js";
|
|
11
|
-
import { S as resolveSignalSender, b as resolveSignalPeerId, g as normalizeAllowListLower, l as normalizeDeliverableOutboundChannel, s as resolveOutboundTarget, u as resolveOutboundChannelPlugin, x as resolveSignalRecipient, y as looksLikeUuid } from "./provider-dispatcher-
|
|
11
|
+
import { S as resolveSignalSender, b as resolveSignalPeerId, g as normalizeAllowListLower, l as normalizeDeliverableOutboundChannel, s as resolveOutboundTarget, u as resolveOutboundChannelPlugin, x as resolveSignalRecipient, y as looksLikeUuid } from "./provider-dispatcher-BD5K64cR.js";
|
|
12
12
|
import { m as resolveStorePath } from "./chat-envelope-CT-Ocz9D.js";
|
|
13
13
|
import { a as randomIdempotencyKey, r as callGatewayLeastPrivilege } from "./call-CFafK7BB.js";
|
|
14
|
-
import {
|
|
15
|
-
import { h as normalizeTargetForProvider, m as normalizeChannelTargetInput, p as buildTargetResolverSignature } from "./hook-runner-global-
|
|
14
|
+
import { lt as buildOutboundSessionContext } from "./subagent-registry-BTv48FFX.js";
|
|
15
|
+
import { h as normalizeTargetForProvider, m as normalizeChannelTargetInput, p as buildTargetResolverSignature } from "./hook-runner-global-DPdZsDAH.js";
|
|
16
16
|
import { r as getAgentScopedMediaLocalRoots, t as loadWebMedia } from "./media-CDHVxfu3.js";
|
|
17
17
|
import { n as normalizePollInput } from "./polls-Dn1C2d1-.js";
|
|
18
18
|
import { n as extensionForMime } from "./mime-AV_LAGeT.js";
|
|
19
19
|
import { f as readStringArrayParam, m as readStringParam, r as unknownTargetError, t as ambiguousTargetError, u as readNumberParam } from "./target-errors-CzbrInjB.js";
|
|
20
20
|
import { E as buildTelegramGroupPeerId, J as parseTelegramTarget, Y as resolveTelegramTargetChatType } from "./send-b5xC0rHS.js";
|
|
21
|
-
import { c as parseReplyDirectives, o as normalizeReplyPayloadsForDelivery, s as throwIfAborted, t as deliverOutboundPayloads } from "./deliver-
|
|
21
|
+
import { c as parseReplyDirectives, o as normalizeReplyPayloadsForDelivery, s as throwIfAborted, t as deliverOutboundPayloads } from "./deliver-B5eZoNwr.js";
|
|
22
22
|
import { t as buildAgentSessionKey } from "./resolve-route-CWWA9xgE.js";
|
|
23
23
|
import { n as resolveMessageChannelSelection, t as listConfiguredMessageChannels } from "./channel-selection-W58cJljB.js";
|
|
24
24
|
import { a as normalizeIMessageHandle, o as parseIMessageTarget } from "./send-CRLJdqoo.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as getActivePluginRegistry, i as CHANNEL_IDS, u as normalizeChatChannelId } from "./subsystem-
|
|
1
|
+
import { d as getActivePluginRegistry, i as CHANNEL_IDS, u as normalizeChatChannelId } from "./subsystem-9R2eOxp2.js";
|
|
2
2
|
|
|
3
3
|
//#region src/gateway/protocol/client-info.ts
|
|
4
4
|
const GATEWAY_CLIENT_IDS = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as createSubsystemLogger } from "./entry.js";
|
|
2
2
|
import { i as loadConfig } from "./config-DWFrth_R.js";
|
|
3
3
|
import { d as resolveDefaultAgentId, l as resolveAgentWorkspaceDir } from "./agent-scope-CXVIfJFJ.js";
|
|
4
|
-
import { d as loadRemoteClawPlugins } from "./provider-dispatcher-
|
|
4
|
+
import { d as loadRemoteClawPlugins } from "./provider-dispatcher-BD5K64cR.js";
|
|
5
5
|
import { t as createPluginLoaderLogger } from "./logger-C6pU0UJG.js";
|
|
6
6
|
|
|
7
7
|
//#region src/plugins/status.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as loadRemoteClawPlugins } from "./reply-
|
|
1
|
+
import { c as loadRemoteClawPlugins } from "./reply-Ccq9RRYF.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-YtLxC9Jh.js";
|
|
3
3
|
import { d as resolveDefaultAgentId, l as resolveAgentWorkspaceDir } from "./agent-scope-CqLq7cFg.js";
|
|
4
4
|
import { i as loadConfig } from "./config-nbO6QgRa.js";
|
|
@@ -5,7 +5,7 @@ import { h as resolveControlUiLinks, i as ensureWorkspaceAndSessions, m as rando
|
|
|
5
5
|
import { n as WizardCancelledError, t as createClackPrompter } from "./clack-prompter-2e6Qd1mU.js";
|
|
6
6
|
import { t as assertSupportedRuntime } from "./runtime-guard-DVbgXEDX.js";
|
|
7
7
|
import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-VfkpXuRu.js";
|
|
8
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
8
|
+
import { t as runOnboardingWizard } from "./onboarding-BnS6FhcE.js";
|
|
9
9
|
import { n as logConfigUpdated } from "./logging-DVnniiH5.js";
|
|
10
10
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-BGEBL0su.js";
|
|
11
11
|
|
|
@@ -498,7 +498,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
498
498
|
}
|
|
499
499
|
const daemonRuntimeRaw = opts.daemonRuntime ?? DEFAULT_GATEWAY_DAEMON_RUNTIME;
|
|
500
500
|
if (!opts.skipHealth) {
|
|
501
|
-
const { healthCommand } = await import("./health-
|
|
501
|
+
const { healthCommand } = await import("./health-D6T18gwU.js").then((n) => n.i);
|
|
502
502
|
await waitForGatewayReachable({
|
|
503
503
|
url: resolveControlUiLinks({
|
|
504
504
|
bind: gatewayResult.bind,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { f as normalizeE164, p as pathExists, t as CONFIG_DIR } from "./utils-__cbkDgx.js";
|
|
3
|
-
import { C as resolveDiscordChannelAllowlist, c as loadRemoteClawPlugins, mn as resolveDiscordUserAllowlist, p as resolveSlackChannelAllowlist, pn as resolveSlackUserAllowlist } from "./reply-
|
|
3
|
+
import { C as resolveDiscordChannelAllowlist, c as loadRemoteClawPlugins, mn as resolveDiscordUserAllowlist, p as resolveSlackChannelAllowlist, pn as resolveSlackUserAllowlist } from "./reply-Ccq9RRYF.js";
|
|
4
4
|
import { d as formatChannelPrimerLine, f as formatChannelSelectionLine, m as listChatChannels, t as createSubsystemLogger } from "./subsystem-YtLxC9Jh.js";
|
|
5
5
|
import { h as normalizeAccountId, m as DEFAULT_ACCOUNT_ID } from "./session-key-DUewR3Vl.js";
|
|
6
6
|
import { d as resolveDefaultAgentId, l as resolveAgentWorkspaceDir } from "./agent-scope-CqLq7cFg.js";
|
|
@@ -9,7 +9,7 @@ import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as
|
|
|
9
9
|
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-BLtZ9m0i.js";
|
|
10
10
|
import { t as formatCliCommand } from "./command-format-CnyOPNyW.js";
|
|
11
11
|
import { lt as normalizeDiscordSlug } from "./send-BvObbKlY.js";
|
|
12
|
-
import { $t as resolveSlackUserAllowlist, D as resolveDiscordChannelAllowlist, _ as resolveSlackChannelAllowlist, d as loadRemoteClawPlugins, en as resolveDiscordUserAllowlist } from "./provider-dispatcher-
|
|
12
|
+
import { $t as resolveSlackUserAllowlist, D as resolveDiscordChannelAllowlist, _ as resolveSlackChannelAllowlist, d as loadRemoteClawPlugins, en as resolveDiscordUserAllowlist } from "./provider-dispatcher-BD5K64cR.js";
|
|
13
13
|
import { t as runCommandWithTimeout } from "./exec-D1tuG1om.js";
|
|
14
14
|
import { n as detectBinary } from "./onboard-helpers-DEqn9Q0Y.js";
|
|
15
15
|
import { a as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-CExwFUHo.js";
|
|
@@ -7,7 +7,7 @@ import { t as formatCliCommand } from "./command-format-Dntg_tnC.js";
|
|
|
7
7
|
import { t as assertSupportedRuntime } from "./runtime-guard-4WA0hX1Y.js";
|
|
8
8
|
import { n as WizardCancelledError, t as createClackPrompter } from "./clack-prompter-D4hirmyk.js";
|
|
9
9
|
import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-Dp28yNwO.js";
|
|
10
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
10
|
+
import { t as runOnboardingWizard } from "./onboarding-CCahs79c.js";
|
|
11
11
|
import { n as logConfigUpdated } from "./logging-Nn7PK_AX.js";
|
|
12
12
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-BdayZ3lH.js";
|
|
13
13
|
|
|
@@ -500,7 +500,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
500
500
|
}
|
|
501
501
|
const daemonRuntimeRaw = opts.daemonRuntime ?? DEFAULT_GATEWAY_DAEMON_RUNTIME;
|
|
502
502
|
if (!opts.skipHealth) {
|
|
503
|
-
const { healthCommand } = await import("./health-
|
|
503
|
+
const { healthCommand } = await import("./health-6NZ23ZCc.js").then((n) => n.i);
|
|
504
504
|
await waitForGatewayReachable({
|
|
505
505
|
url: resolveControlUiLinks({
|
|
506
506
|
bind: gatewayResult.bind,
|
|
@@ -540,7 +540,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
540
540
|
upsertAuthProfile,
|
|
541
541
|
opts
|
|
542
542
|
});
|
|
543
|
-
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-
|
|
543
|
+
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-DQX6SBU8.js");
|
|
544
544
|
const gateway = await configureGatewayForOnboarding({
|
|
545
545
|
flow,
|
|
546
546
|
baseConfig,
|
|
@@ -555,7 +555,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
555
555
|
if (opts.skipChannels) await prompter.note("Skipping channel setup.", "Channels");
|
|
556
556
|
else {
|
|
557
557
|
const { listChannelPlugins } = await import("./plugins-xybjDXd6.js").then((n) => n.i);
|
|
558
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
558
|
+
const { setupChannels } = await import("./onboard-channels-DReWe-Pi.js").then((n) => n.n);
|
|
559
559
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
560
560
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
561
561
|
allowSignalInstall: true,
|
|
@@ -574,7 +574,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
574
574
|
mode
|
|
575
575
|
});
|
|
576
576
|
await writeConfigFile(nextConfig);
|
|
577
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
577
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-uTFFUZ8O.js");
|
|
578
578
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
579
579
|
flow,
|
|
580
580
|
opts,
|
|
@@ -542,7 +542,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
542
542
|
upsertAuthProfile,
|
|
543
543
|
opts
|
|
544
544
|
});
|
|
545
|
-
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-
|
|
545
|
+
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-DYjDeKEw.js");
|
|
546
546
|
const gateway = await configureGatewayForOnboarding({
|
|
547
547
|
flow,
|
|
548
548
|
baseConfig,
|
|
@@ -557,7 +557,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
557
557
|
if (opts.skipChannels) await prompter.note("Skipping channel setup.", "Channels");
|
|
558
558
|
else {
|
|
559
559
|
const { listChannelPlugins } = await import("./plugins-BzN42FWt.js").then((n) => n.i);
|
|
560
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
560
|
+
const { setupChannels } = await import("./onboard-channels-D664lpQl.js").then((n) => n.n);
|
|
561
561
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
562
562
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
563
563
|
allowSignalInstall: true,
|
|
@@ -576,7 +576,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
576
576
|
mode
|
|
577
577
|
});
|
|
578
578
|
await writeConfigFile(nextConfig);
|
|
579
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
579
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-CmYoFs6n.js");
|
|
580
580
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
581
581
|
flow,
|
|
582
582
|
opts,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./paths-DHuXVC00.js";
|
|
2
2
|
import { p as pathExists } from "./utils-__cbkDgx.js";
|
|
3
|
-
import "./reply-
|
|
3
|
+
import "./reply-Ccq9RRYF.js";
|
|
4
4
|
import "./subsystem-YtLxC9Jh.js";
|
|
5
5
|
import { a as restoreTerminalState } from "./ansi-DtaiOnt1.js";
|
|
6
6
|
import "./agent-scope-CqLq7cFg.js";
|
|
7
|
-
import "./subagent-registry-
|
|
7
|
+
import "./subagent-registry-DljM1oxO.js";
|
|
8
8
|
import { a as formatControlUiSshHint, d as openUrl, h as resolveControlUiLinks, p as probeGatewayReachable, r as detectBrowserOpenSupport, v as waitForGatewayReachable } from "./onboard-helpers-D2nzz93W.js";
|
|
9
9
|
import "./message-channel-Byxx9SGy.js";
|
|
10
10
|
import "./send-CoDb77BF.js";
|
|
@@ -26,7 +26,7 @@ import { n as resolveCliName } from "./cli-name-BZsYSp9l.js";
|
|
|
26
26
|
import { t as formatCliCommand } from "./command-format-Dntg_tnC.js";
|
|
27
27
|
import "./logging-fywhKCmE.js";
|
|
28
28
|
import "./tokens-DJrhANSO.js";
|
|
29
|
-
import "./reply-payloads-
|
|
29
|
+
import "./reply-payloads-KYLwM629.js";
|
|
30
30
|
import "./send-Bj1TUsUZ.js";
|
|
31
31
|
import "./commands-YI4OIEz0.js";
|
|
32
32
|
import "./commands-registry-BKzejEC3.js";
|
|
@@ -35,7 +35,7 @@ import "./fetch-CfIaWynF.js";
|
|
|
35
35
|
import "./channel-activity-0siRvnUT.js";
|
|
36
36
|
import "./file-lock-CCBpdPM_.js";
|
|
37
37
|
import "./chat-envelope-DPKIEKwe.js";
|
|
38
|
-
import "./store-
|
|
38
|
+
import "./store-BfW5-y9S.js";
|
|
39
39
|
import "./strip-inbound-meta-aD15EKsc.js";
|
|
40
40
|
import "./session-cost-usage-BEJ7hSxb.js";
|
|
41
41
|
import "./auth-8CQIOfEF.js";
|
|
@@ -65,7 +65,7 @@ import "./markdown-tables-BsunnBTT.js";
|
|
|
65
65
|
import "./render-CIF_SgbA.js";
|
|
66
66
|
import "./tables-C6OJbUw4.js";
|
|
67
67
|
import "./ports-lsof-BmOgvEU5.js";
|
|
68
|
-
import "./deliver-
|
|
68
|
+
import "./deliver-Cu2kD7-u.js";
|
|
69
69
|
import "./plugin-auto-enable-onDiMat_.js";
|
|
70
70
|
import "./target-errors-B_VJlqx6.js";
|
|
71
71
|
import "./dm-policy-shared-AsIdue8Y.js";
|
|
@@ -82,19 +82,19 @@ import "./send-CcKbce_B.js";
|
|
|
82
82
|
import "./prompt-style-DMn5Aefm.js";
|
|
83
83
|
import "./pairing-labels-Cc_CF9XM.js";
|
|
84
84
|
import "./runtime-guard-4WA0hX1Y.js";
|
|
85
|
-
import "./program-context-
|
|
85
|
+
import "./program-context-BVx30291.js";
|
|
86
86
|
import "./links-DQLhKFFh.js";
|
|
87
87
|
import "./progress-L9k8Ji0e.js";
|
|
88
88
|
import "./note-B8uuZ2pB.js";
|
|
89
|
-
import { r as installCompletion } from "./completion-cli-
|
|
89
|
+
import { r as installCompletion } from "./completion-cli-eH6YXa0H.js";
|
|
90
90
|
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-DQ7ClZ2P.js";
|
|
91
91
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-Dp28yNwO.js";
|
|
92
92
|
import { r as isSystemdUserServiceAvailable } from "./systemd-CjEIrIJR.js";
|
|
93
93
|
import { t as resolveGatewayService } from "./service-DDkOQ7FJ.js";
|
|
94
|
-
import { r as healthCommand } from "./health-
|
|
94
|
+
import { r as healthCommand } from "./health-6NZ23ZCc.js";
|
|
95
95
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-DOwMM2s0.js";
|
|
96
96
|
import { t as formatHealthCheckFailure } from "./health-format-NUftNz4s.js";
|
|
97
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
97
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-Cz3-0qwJ.js";
|
|
98
98
|
import { t as runTui } from "./tui-D0qtlYwb.js";
|
|
99
99
|
import os from "node:os";
|
|
100
100
|
import path from "node:path";
|