@fased/fased 0.1.56 → 0.1.58
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/client.js +2 -2
- package/dist/acp/secret-file.js +2 -2
- package/dist/agents/agent-scope.js +2 -2
- package/dist/agents/apply-patch.js +8 -8
- package/dist/agents/auth-profiles/paths.js +2 -2
- package/dist/agents/auth-profiles/store.js +2 -2
- package/dist/agents/bash-tools.shared.js +2 -2
- package/dist/agents/cli-credentials.js +4 -4
- package/dist/agents/current-model-catalog.js +5 -2
- package/dist/agents/docs-path.js +3 -3
- package/dist/agents/embedded-pi-mcp.js +4 -4
- package/dist/agents/identity-avatar.js +3 -3
- package/dist/agents/identity-file.js +2 -2
- package/dist/agents/model-catalog-snapshot.js +124 -0
- package/dist/agents/model-catalog-status.js +6 -1
- package/dist/agents/openai-codex-app-server.js +35 -10
- package/dist/agents/openai-codex-runtime-component.js +39 -0
- package/dist/agents/pi-embedded-runner/compact.js +1 -1
- package/dist/agents/pi-embedded-runner/extra-params.js +28 -16
- package/dist/agents/pi-embedded-runner/run/attempt.js +1 -1
- package/dist/agents/pi-embedded-runner/session-manager-init.js +5 -20
- package/dist/agents/pi-embedded-subscribe.raw-stream.js +3 -3
- package/dist/agents/pi-extensions/compaction-safeguard.js +3 -3
- package/dist/agents/pi-model-discovery.js +6 -6
- package/dist/agents/pi-project-settings.js +3 -3
- package/dist/agents/provider-extension-catalog-manifest.js +2 -2
- package/dist/agents/sandbox/fs-bridge.js +2 -2
- package/dist/agents/session-dirs.js +4 -4
- package/dist/agents/session-write-lock.js +13 -13
- package/dist/agents/shell-utils.js +5 -5
- package/dist/agents/skills/bundled-dir.js +4 -4
- package/dist/agents/skills/local-loader.js +6 -6
- package/dist/agents/skills/plugin-skills.js +2 -2
- package/dist/agents/skills/workspace.js +13 -13
- package/dist/agents/skills-install-download.js +7 -7
- package/dist/agents/skills-install-plan.js +2 -2
- package/dist/agents/skills-install.js +2 -2
- package/dist/agents/skills-status.js +2 -2
- package/dist/agents/subagent-depth.js +2 -2
- package/dist/agents/system-prompt-params.js +2 -2
- package/dist/agents/tools/session-status-tool.js +1 -1
- package/dist/agents/workspace.js +22 -22
- package/dist/auto-reply/reply/agent-runner-execution.js +2 -2
- package/dist/auto-reply/reply/agent-runner.js +2 -2
- package/dist/auto-reply/reply/commands-export-session.js +7 -7
- package/dist/auto-reply/reply/post-compaction-audit.js +3 -3
- package/dist/auto-reply/reply/post-compaction-context.js +3 -3
- package/dist/auto-reply/reply/session.js +3 -3
- package/dist/auto-reply/skill-commands.js +3 -3
- package/dist/auto-reply/status.js +6 -6
- package/dist/brand.js +1 -1
- package/dist/browser/chrome.executables.js +3 -3
- package/dist/browser/chrome.js +3 -3
- package/dist/browser/chrome.profile-decoration.js +6 -6
- package/dist/browser/profiles-service.js +2 -2
- package/dist/browser/server-context.js +2 -2
- package/dist/browser/trash.js +4 -4
- package/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/canvas-host/server.js +4 -4
- package/dist/capabilities/catalog.js +3 -3
- package/dist/capabilities/install.js +43 -0
- package/dist/channels/plugins/catalog.js +3 -3
- package/dist/cli/browser-cli-extension.js +6 -6
- package/dist/cli/command-format.js +2 -2
- package/dist/cli/components-cli.js +9 -31
- package/dist/cli/cron-cli/register.cron-simple.js +2 -2
- package/dist/cli/dns-cli.js +9 -9
- package/dist/cli/gateway-cli/dev.js +5 -5
- package/dist/cli/gateway-cli/run.js +2 -2
- package/dist/cli/hooks-cli.js +6 -6
- package/dist/cli/lightweight/gateway-runtime-probe.js +2 -2
- package/dist/cli/memory-cli.js +7 -7
- package/dist/cli/nodes-media-utils.js +2 -2
- package/dist/cli/plugins-cli.js +5 -5
- package/dist/cli/secrets-cli.js +3 -3
- package/dist/cli/update-cli/update-command.js +50 -12
- package/dist/cli/windows-argv.js +2 -2
- package/dist/commands/agent.js +1 -1
- package/dist/commands/auth-choice.apply.openai.js +9 -0
- package/dist/commands/auth-choice.apply.plugin-provider.js +1 -1
- package/dist/commands/dashboard-link.js +3 -3
- package/dist/commands/doctor-install.js +5 -5
- package/dist/commands/doctor-memory-search.js +2 -2
- package/dist/commands/doctor-platform-notes.js +2 -2
- package/dist/commands/doctor-sandbox.js +2 -2
- package/dist/commands/doctor-state-integrity.js +23 -23
- package/dist/commands/doctor-workspace.js +3 -3
- package/dist/commands/doctor.js +3 -3
- package/dist/commands/managed-up.js +2 -2
- package/dist/commands/onboard-auth.credentials.js +3 -3
- package/dist/commands/onboard-channels.js +1 -1
- package/dist/commands/onboarding/plugin-install.js +4 -4
- package/dist/commands/sessions-cleanup.js +2 -2
- package/dist/commands/signal-install.js +6 -6
- package/dist/commands/status-all/channels.js +2 -2
- package/dist/commands/wallet.js +47 -47
- package/dist/config/cache-utils.js +2 -2
- package/dist/config/includes.js +5 -5
- package/dist/config/io.js +2 -2
- package/dist/config/paths.js +3 -3
- package/dist/config/sat-runtime-ids.js +3 -3
- package/dist/config/sessions/disk-budget.js +6 -6
- package/dist/config/sessions/paths.js +2 -2
- package/dist/config/sessions/store.js +17 -17
- package/dist/config/sessions/transcript.js +4 -4
- package/dist/config/talk.js +2 -2
- package/dist/control-ui/assets/{app-D7TXyNRi.js → app-CpgQGqe6.js} +1689 -1689
- package/dist/control-ui/assets/{index-BmSBom-w.js → index-DiBBflpv.js} +3 -3
- package/dist/control-ui/index.html +1 -1
- package/dist/control-ui/version.json +1 -1
- package/dist/cron/service/store.js +2 -2
- package/dist/cron/store.js +6 -6
- package/dist/daemon/systemd-system.js +5 -5
- package/dist/discord/monitor/thread-bindings.state.js +2 -2
- package/dist/extensions/sat-mining/src/sat-bond-layout.js +9 -9
- package/dist/gateway/control-ui-boot-check.js +6 -6
- package/dist/gateway/control-ui-login.js +7 -7
- package/dist/gateway/control-ui.js +9 -9
- package/dist/gateway/hooks-mapping.js +4 -4
- package/dist/gateway/protocol/schema/agents-models-skills.js +43 -1
- package/dist/gateway/server-discovery.js +2 -2
- package/dist/gateway/server-http.js +4 -4
- package/dist/gateway/server-methods/chat.js +3 -3
- package/dist/gateway/server-methods/hooks.js +1 -1
- package/dist/gateway/server-methods/models.js +12 -5
- package/dist/gateway/server-methods/plugins-marketplace.js +3 -3
- package/dist/gateway/server-methods/services.js +1 -1
- package/dist/gateway/server-methods/sessions.js +7 -7
- package/dist/gateway/server-methods/usage.js +2 -2
- package/dist/gateway/server.impl.js +3 -3
- package/dist/gateway/session-compaction-checkpoints.js +4 -4
- package/dist/gateway/session-utils.fs.js +24 -24
- package/dist/gateway/session-utils.js +6 -6
- package/dist/gateway/sessions-patch.js +1 -1
- package/dist/hooks/bundled-dir.js +4 -4
- package/dist/hooks/gmail-setup-utils.js +6 -6
- package/dist/hooks/import-url.js +2 -2
- package/dist/hooks/loader.js +4 -4
- package/dist/hooks/workspace.js +7 -7
- package/dist/infra/archive.js +17 -17
- package/dist/infra/boundary-file-read.js +2 -2
- package/dist/infra/boundary-path.js +15 -15
- package/dist/infra/brew.js +2 -2
- package/dist/infra/control-ui-assets.js +14 -14
- package/dist/infra/device-auth-store.js +8 -8
- package/dist/infra/device-identity.js +8 -8
- package/dist/infra/dotenv.js +2 -2
- package/dist/infra/exec-approvals.js +8 -8
- package/dist/infra/exec-command-resolution.js +4 -4
- package/dist/infra/exec-safe-bin-trust.js +2 -2
- package/dist/infra/fased-root.js +5 -5
- package/dist/infra/fs-safe.js +14 -14
- package/dist/infra/gateway-lock.js +11 -11
- package/dist/infra/git-commit.js +5 -5
- package/dist/infra/git-root.js +4 -4
- package/dist/infra/hosted-runtime-artifact.js +3 -3
- package/dist/infra/is-main.js +2 -2
- package/dist/infra/json-file.js +7 -7
- package/dist/infra/outbound/delivery-queue.js +16 -16
- package/dist/infra/path-env.js +3 -3
- package/dist/infra/ports-lsof.js +4 -4
- package/dist/infra/provider-usage.auth.js +3 -3
- package/dist/infra/safe-open-sync.js +2 -2
- package/dist/infra/session-cost-usage.js +9 -9
- package/dist/infra/shell-env.js +2 -2
- package/dist/infra/state-migrations.fs.js +6 -6
- package/dist/infra/state-migrations.js +23 -23
- package/dist/infra/tmp-fased-dir.js +6 -6
- package/dist/infra/widearea-dns.js +3 -3
- package/dist/infra/wsl.js +2 -2
- package/dist/light-update-status.js +11 -11
- package/dist/line/accounts.js +2 -2
- package/dist/line/download.js +2 -2
- package/dist/logging/config.js +3 -3
- package/dist/logging/logger.js +7 -7
- package/dist/managed/federation.js +3 -3
- package/dist/managed/tunnel.js +3 -3
- package/dist/media/store.js +13 -13
- package/dist/media-understanding/runner.js +3 -3
- package/dist/memory/embeddings.js +2 -2
- package/dist/memory/internal.js +10 -10
- package/dist/memory/manager-sync-ops.js +7 -7
- package/dist/memory/repair-executor.js +17 -17
- package/dist/node-host/invoke-system-run-plan.js +8 -8
- package/dist/node-host/invoke.js +2 -2
- package/dist/node-host/runner.js +3 -3
- package/dist/pairing/pairing-store.js +3 -3
- package/dist/plugin-sdk/{accounts-DzWlKv1U.js → accounts-BJuN64m-.js} +1 -1
- package/dist/plugin-sdk/{actions-BplQVLL6.js → actions-DaEvM9Bl.js} +2 -2
- package/dist/plugin-sdk/{active-listener-x4MLhYUw.js → active-listener-B8Kuanet.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-BbgPlhtw.js → agent-scope-CCjfjKoO.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-G8h3Sn8_.js → audio-preflight-D7tCO0EH.js} +31 -31
- package/dist/plugin-sdk/{audit-CWknklvI.js → audit-CVWH4BVP.js} +1 -1
- package/dist/plugin-sdk/{channel-access-a9Dnfw7-.js → channel-access-CH9FAS-I.js} +1 -1
- package/dist/plugin-sdk/{channel-access-configure-CD4QDN5E.js → channel-access-configure-CI0je66H.js} +1 -1
- package/dist/plugin-sdk/channel-plugin-common.d.ts +2 -2
- package/dist/plugin-sdk/channel-plugin-common.js +5 -5
- package/dist/plugin-sdk/{chunk-B8EZkwiT.js → chunk-01oBnQjh.js} +1 -1
- package/dist/plugin-sdk/{chunk-items-CEPklxGe.js → chunk-items-D2zDJ8q8.js} +1 -1
- package/dist/plugin-sdk/command-status.js +31 -31
- package/dist/plugin-sdk/{commands-registry-BfEa4tFA.js → commands-registry-ckg4fhYa.js} +2 -2
- package/dist/plugin-sdk/{common-CbfckC19.js → common-zHvdO8ly.js} +1 -1
- package/dist/plugin-sdk/{config-Bt5GhnA-.js → config-DrhYEiCM.js} +1128 -3
- package/dist/plugin-sdk/{config-schema-B9DKr6J5.js → config-schema-BtjeV5Hm.js} +1765 -1412
- package/dist/plugin-sdk/device-pair.d.ts +1 -1
- package/dist/plugin-sdk/discord.d.ts +3 -3
- package/dist/plugin-sdk/discord.js +22 -22
- package/dist/plugin-sdk/{filesystem-manager-BGGGrkiN.js → filesystem-manager-ZoHU8oA7.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-xBqok6yR.js → fs-safe-g4g7GT02.js} +2 -2
- package/dist/plugin-sdk/{handle-action-DbzZFYnG.js → handle-action-5dhYpMbP.js} +17 -17
- package/dist/plugin-sdk/{helpers-CluGKuIV.js → helpers-E9aafRzA.js} +1 -1
- package/dist/plugin-sdk/{image-ops-CUaLtIFj.js → image-ops-D2U9ctmu.js} +1 -1
- package/dist/plugin-sdk/index.d.ts +5 -5
- package/dist/plugin-sdk/index.js +33 -33
- package/dist/plugin-sdk/json-store.js +6 -6
- package/dist/plugin-sdk/{login-DJuHYDiK.js → login-hql0fNuL.js} +3 -3
- package/dist/plugin-sdk/{login-qr-CbHL5ayf.js → login-qr-DJJ0svux.js} +4 -4
- package/dist/plugin-sdk/{manager-oHAvZCT3.js → manager-ciNnAMBn.js} +4 -4
- package/dist/plugin-sdk/{markdown-tables-Mkx7k92Y.js → markdown-tables-BKxbua_h.js} +1 -1
- package/dist/plugin-sdk/{media-CA8sTmVE.js → media-DUIZ6x9H.js} +4 -4
- package/dist/plugin-sdk/{memory-search-VFll-AIb.js → memory-search-DTjIMw8J.js} +1 -1
- package/dist/plugin-sdk/{monitor-CZrN9pev.js → monitor-CNSGw4uQ.js} +35 -35
- package/dist/plugin-sdk/{monitor-CmwGqNyV.js → monitor-D-giXewh.js} +38 -38
- package/dist/plugin-sdk/{openresponses-http-CWOd4war.js → openresponses-http-dbTd8UMk.js} +31 -31
- package/dist/plugin-sdk/{optional-runtime-dependency-DKmk9PZa.js → optional-runtime-dependency-CKsJL1PD.js} +1 -1
- package/dist/plugin-sdk/{outbound-0oN9IfNw.js → outbound-DhGrjRft.js} +6 -6
- package/dist/plugin-sdk/{outbound-attachment-DdVkqUzE.js → outbound-attachment-DAF8huFz.js} +2 -2
- package/dist/plugin-sdk/{pairing-message-ClqhfCUk.js → pairing-message-BsJVvXkb.js} +1 -1
- package/dist/plugin-sdk/{pairing-message-BMkkS038.d.ts → pairing-message-C403mq4K.d.ts} +1 -1
- package/dist/plugin-sdk/{pairing-store-B01mCSct.js → pairing-store-DwM-BNbj.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-BJZD5JMJ.js → path-alias-guards-DjgDArrp.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-Buz0JC1Y.js → pi-model-discovery-DkIdlJvJ.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-runtime-DuwuoteY.js → pi-model-discovery-runtime-Cv7okUMt.js} +3 -3
- package/dist/plugin-sdk/{probe--7xtfzMm.js → probe-CJb5uR8B.js} +1 -1
- package/dist/plugin-sdk/provider-web-search-config-contract.d.ts +1 -1
- package/dist/plugin-sdk/{pw-ai-B0domrii.js → pw-ai-Dxd87W3J.js} +6 -6
- package/dist/plugin-sdk/{qmd-manager-CFFeM4Fl.js → qmd-manager-DSyx77KY.js} +1 -1
- package/dist/plugin-sdk/{replies-1macZ1mZ.js → replies-Bx61SvAC.js} +2 -2
- package/dist/plugin-sdk/{reply-prefix-ClpxvL_w.js → reply-prefix-CeVw7Mn2.js} +1 -1
- package/dist/plugin-sdk/{probe-xY3Ky0Tx.js → resolve-channels-_-nV-EK2.js} +3 -2
- package/dist/plugin-sdk/{resolve-outbound-target-BdH6LUoW.js → resolve-outbound-target-bc-FpPZg.js} +1 -1
- package/dist/plugin-sdk/{resolve-route-CkNIKKEW.js → resolve-route-D0eBYPtb.js} +2 -2
- package/dist/plugin-sdk/{retry-policy-9ybIh4Fq.js → retry-policy-HTrC4zfC.js} +1 -1
- package/dist/plugin-sdk/{runtime-Dy420wBu.js → runtime-BVkIrYLQ.js} +4 -4
- package/dist/plugin-sdk/{runtime-dependency-CIw9t7-k.js → runtime-dependency-B2PqMdBu.js} +13 -13
- package/dist/plugin-sdk/{sandbox-paths-w64tYl0v.js → sandbox-paths-Dx2lUqCu.js} +2 -2
- package/dist/plugin-sdk/sat-runtime.d.ts +2 -2
- package/dist/plugin-sdk/sat-runtime.js +31 -31
- package/dist/plugin-sdk/{send-J4JWKP62.js → send-BGDGzxUu.js} +6 -6
- package/dist/plugin-sdk/{send-BQUtCJFW.js → send-C3QWSYLR.js} +8 -8
- package/dist/plugin-sdk/{send-Dqes9tdU.js → send-DT2egZNK.js} +7 -7
- package/dist/plugin-sdk/{send-2VcOMTN5.js → send-DgzZUx2i.js} +5 -5
- package/dist/plugin-sdk/{send-DPJIIYAs.js → send-KJy3ajA3.js} +6 -6
- package/dist/plugin-sdk/{session-C_n2S5ub.js → session-BCIEFOu1.js} +2 -2
- package/dist/plugin-sdk/{skill-commands-B7wx9ax8.js → skill-commands-CyIkcR8P.js} +4 -4
- package/dist/plugin-sdk/{slack-BouRQG-W.js → slack-DjKNh2uh.js} +47 -47
- package/dist/plugin-sdk/{slack-actions-CasHVtiq.js → slack-actions-CeM9LWDp.js} +14 -14
- package/dist/plugin-sdk/slack.d.ts +3 -3
- package/dist/plugin-sdk/slack.js +12 -12
- package/dist/plugin-sdk/{sticker-cache-BvGEUas3.js → sticker-cache-DcWzQ2wx.js} +3 -3
- package/dist/plugin-sdk/{tables-CjlQJV4r.js → tables-B2iehyjG.js} +1 -1
- package/dist/plugin-sdk/{targets-QfP164Dh.js → targets-BPket0SF.js} +1 -1
- package/dist/plugin-sdk/{telegram-actions-CwYjV6Db.js → telegram-actions-Cx_HWVht.js} +34 -34
- package/dist/plugin-sdk/telegram.d.ts +3 -3
- package/dist/plugin-sdk/telegram.js +9 -9
- package/dist/plugin-sdk/{thread-bindings.lifecycle-DU4iX_Jr.js → thread-bindings.lifecycle-CYH69SIw.js} +3 -3
- package/dist/plugin-sdk/{thread-bindings.state-BgYWFjNF.js → thread-bindings.state-BN6461WG.js} +2 -2
- package/dist/plugin-sdk/{tmp-fased-dir-BdFQvrvw.d.ts → tmp-fased-dir-Ouj58axY.d.ts} +1 -1
- package/dist/plugin-sdk/{types-BYDL6dQj.d.ts → types-B4hj6HgR.d.ts} +1 -1
- package/dist/plugin-sdk/{types-CLIvQaVg.d.ts → types-dWZFX1fk.d.ts} +2 -2
- package/dist/plugin-sdk/{web-D0yENDve.js → web-vR-oNiBv.js} +36 -36
- package/dist/plugin-sdk/{whatsapp-actions-BT2nPLyo.js → whatsapp-actions-BYNf8ceY.js} +16 -16
- package/dist/plugin-sdk/{whatsapp-heartbeat-CiABSZ6G.js → whatsapp-heartbeat-DZwa8MF0.js} +2 -2
- package/dist/plugin-sdk/whatsapp.d.ts +3 -3
- package/dist/plugin-sdk/whatsapp.js +13 -13
- package/dist/plugin-sdk/{wsl-B_ojyEtC.js → wsl-WGtdw_6h.js} +3 -3
- package/dist/plugins/bundled-dir.js +3 -3
- package/dist/plugins/discovery.js +11 -11
- package/dist/plugins/lifecycle.js +1 -1
- package/dist/plugins/loader.js +13 -13
- package/dist/plugins/manifest-registry.js +28 -2
- package/dist/plugins/manifest.js +6 -4
- package/dist/plugins/marketplace.js +1 -1
- package/dist/plugins/path-safety.js +3 -3
- package/dist/plugins/status-cache.js +9 -9
- package/dist/plugins/update.js +4 -4
- package/dist/plugins/web-search-install-catalog.js +3 -3
- package/dist/providers/openai-codex-model-discovery.js +11 -1
- package/dist/providers/runtime-model-catalog.js +2 -2
- package/dist/secrets/apply.js +16 -16
- package/dist/secrets/audit.js +11 -11
- package/dist/secrets/shared.js +9 -9
- package/dist/security/scan-paths.js +2 -2
- package/dist/shared/config-eval.js +2 -2
- package/dist/shared/pid-alive.js +2 -2
- package/dist/tasks/standing-orders.js +5 -5
- package/dist/tasks/task-flow-registry.js +5 -5
- package/dist/tasks/task-registry.js +5 -5
- package/dist/tasks/workflow-definitions.js +6 -6
- package/dist/telegram/token.js +5 -5
- package/dist/utils.js +5 -5
- package/dist/wallet/local-socket-signer-broker.js +16 -16
- package/dist/wallet/providers/embedded-keystore-adapter.js +5 -5
- package/dist/wallet/providers/local-socket-signer-adapter.js +2 -2
- package/dist/wallet/wallet-approval-auth.js +5 -5
- package/dist/wallet/wallet-audit-log.js +5 -5
- package/dist/wallet/wallet-custody.js +21 -21
- package/dist/wallet/wallet-inbound-events.js +5 -5
- package/dist/wallet/wallet-observability.js +5 -5
- package/dist/wallet/wallet-policy.js +9 -9
- package/dist/wallet/wallet-provider-registry.js +7 -7
- package/dist/wallet/wallet-runtime-config.js +3 -3
- package/dist/wallet/wallet-secrets-store.js +22 -22
- package/dist/wallet/wallet-send-approvals.js +5 -5
- package/dist/wallet/wallet-settlement-links.js +5 -5
- package/dist/web/accounts.js +3 -3
- package/dist/web/auth-store.js +18 -18
- package/dist/web/session.js +4 -4
- package/dist/wizard/host-security-capability.js +2 -2
- package/dist/wizard/onboarding.finalize.js +1 -1
- package/dist/wizard/onboarding.host-security.js +7 -7
- package/dist/wizard/onboarding.js +7 -7
- package/dist/wizard/onboarding.wallet.js +44 -44
- package/extensions/acpx/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/fased-federation/package.json +1 -1
- package/extensions/google-gemini-cli-auth/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/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +12 -0
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +2 -2
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +12 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +12 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/sat-mining/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +12 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +12 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +12 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +12 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/plugin-sdk/resolve-channels-CwB2_019.js +0 -4
- /package/dist/plugin-sdk/{resolve-users-Cxb5wpAQ.js → resolve-users-DN9VQBwv.js} +0 -0
|
@@ -3,15 +3,15 @@ import { c as CHANNEL_IDS, d as normalizeChannelKey, f as normalizeChatChannelId
|
|
|
3
3
|
import { i as logVerbose } from "./globals-B_jjtAje.js";
|
|
4
4
|
import { s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-BEmvSyOV.js";
|
|
5
5
|
import { c as isRecord$1, d as normalizeE164, h as resolveUserPath, o as escapeRegExp } from "./utils-CYk9EKoq.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { Ea as normalizePluginsConfig, Fn as resolveFasedAgentDir, G as isAvatarDataUrl, H as parseDurationMs, Ht as inferUniqueProviderFromConfiguredModels, Jt as resolveConfiguredModelRef, K as isAvatarHttpUrl, Kt as normalizeProviderId, Rn as resolveProcessScopedMap, Sa as isTruthyEnvValue, Ta as isPluginRuntimeSessionReadAllowed, U as parseByteSize, W as AVATAR_MAX_BYTES, X as resolveAvatarMime, Xt as resolveExplicitConfiguredModelRef, Y as isWorkspaceRelativeAvatarPath, Yt as resolveDefaultModelForAgent, ea as DEFAULT_CONTEXT_TOKENS, in as resolveImplicitProviders, ka as resolvePluginAdminRpcActionGrant, n as loadConfig, na as DEFAULT_PROVIDER, nn as normalizeProviders, q as isPathWithinRoot, qt as parseModelRef, rn as resolveImplicitCopilotProvider, ta as DEFAULT_MODEL, zn as isPidAlive } from "./config-DrhYEiCM.js";
|
|
7
|
+
import { G as normalizeAtHashSlug, K as normalizeHyphenSlug, j as openBoundaryFileSync, l as resolveAgentWorkspaceDir, u as resolveDefaultAgentId } from "./agent-scope-CCjfjKoO.js";
|
|
8
8
|
import { t as normalizeChatType } from "./chat-type-C0osVllE.js";
|
|
9
9
|
import { n as resolveConversationLabel } from "./conversation-label-BoVqak2R.js";
|
|
10
10
|
import { n as resolveAccountEntry, t as createAccountListHelpers } from "./account-helpers-Bdfws46K.js";
|
|
11
11
|
import { S as parseAgentSessionKey, c as normalizeMainKey, f as DEFAULT_ACCOUNT_ID, l as resolveAgentIdFromSessionKey, m as normalizeOptionalAccountId, p as normalizeAccountId$1, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID, y as isCronRunSessionKey } from "./session-key-HSJ2KQTc.js";
|
|
12
12
|
import { a as resolveDiscordAccount, o as createAccountActionGate } from "./accounts-RHZyaB73.js";
|
|
13
13
|
import { a as resolveSlackReplyToMode, i as resolveSlackAccount } from "./accounts-CuqIKU8X.js";
|
|
14
|
-
import { i as resolveWhatsAppAccount } from "./accounts-
|
|
14
|
+
import { i as resolveWhatsAppAccount } from "./accounts-BJuN64m-.js";
|
|
15
15
|
import { a as resolveSessionTranscriptPath, c as resolveSessionTranscriptsDirForAgent, i as resolveSessionFilePathOptions, l as resolveStorePath, n as resolveDefaultSessionStorePath, o as resolveSessionTranscriptPathInDir, r as resolveSessionFilePath, s as resolveSessionTranscriptsDir, t as SAFE_SESSION_ID_RE, u as validateSessionId } from "./paths-CTZ2RS_E.js";
|
|
16
16
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-BJQWUdmU.js";
|
|
17
17
|
import path from "node:path";
|
|
@@ -5411,7 +5411,7 @@ async function loadContextCache() {
|
|
|
5411
5411
|
await ensureFasedModelsJson(cfg);
|
|
5412
5412
|
} catch {}
|
|
5413
5413
|
try {
|
|
5414
|
-
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-runtime-
|
|
5414
|
+
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-runtime-Cv7okUMt.js");
|
|
5415
5415
|
const agentDir = resolveFasedAgentDir();
|
|
5416
5416
|
const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
|
|
5417
5417
|
applyDiscoveredContextWindows({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-DBPNbQDQ.js";
|
|
2
2
|
import { w as resolvePreferredFasedAgentTmpDir } from "./globals-B_jjtAje.js";
|
|
3
3
|
import { t as CONFIG_DIR } from "./utils-CYk9EKoq.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { da as isErrno, n as loadConfig } from "./config-DrhYEiCM.js";
|
|
5
|
+
import { I as isNotFoundPathError, L as isPathInside } from "./agent-scope-CCjfjKoO.js";
|
|
6
6
|
import { d as normalizeIpAddress, l as isIpInCidr, s as resolvePinnedHostnameWithPolicy, u as isLoopbackIpAddress } from "./ssrf-fG4UHKBw.js";
|
|
7
|
-
import { t as importOptionalRuntimeDependency } from "./optional-runtime-dependency-
|
|
8
|
-
import { n as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-
|
|
7
|
+
import { t as importOptionalRuntimeDependency } from "./optional-runtime-dependency-CKsJL1PD.js";
|
|
8
|
+
import { n as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-g4g7GT02.js";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import fs from "node:fs";
|
|
11
11
|
import os from "node:os";
|
|
@@ -13,7 +13,7 @@ import fs$1 from "node:fs/promises";
|
|
|
13
13
|
import { execFileSync, spawn } from "node:child_process";
|
|
14
14
|
import { createHmac } from "node:crypto";
|
|
15
15
|
import { createServer } from "node:http";
|
|
16
|
-
import WebSocket
|
|
16
|
+
import WebSocket, { WebSocketServer } from "ws";
|
|
17
17
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
18
18
|
import net from "node:net";
|
|
19
19
|
|
|
@@ -275,7 +275,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
275
275
|
let extensionWs = null;
|
|
276
276
|
const cdpClients = /* @__PURE__ */ new Set();
|
|
277
277
|
const connectedTargets = /* @__PURE__ */ new Map();
|
|
278
|
-
const extensionConnected = () => extensionWs?.readyState === WebSocket
|
|
278
|
+
const extensionConnected = () => extensionWs?.readyState === WebSocket.OPEN;
|
|
279
279
|
let extensionDisconnectCleanupTimer = null;
|
|
280
280
|
const extensionReconnectWaiters = /* @__PURE__ */ new Set();
|
|
281
281
|
const flushExtensionReconnectWaiters = (connected) => {
|
|
@@ -326,7 +326,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
326
326
|
let nextExtensionId = 1;
|
|
327
327
|
const sendToExtension = async (payload) => {
|
|
328
328
|
const ws = extensionWs;
|
|
329
|
-
if (!ws || ws.readyState !== WebSocket
|
|
329
|
+
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
330
330
|
ws.send(JSON.stringify(payload));
|
|
331
331
|
return await new Promise((resolve, reject) => {
|
|
332
332
|
const timer = setTimeout(() => {
|
|
@@ -343,12 +343,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
343
343
|
const broadcastToCdpClients = (evt) => {
|
|
344
344
|
const msg = JSON.stringify(evt);
|
|
345
345
|
for (const ws of cdpClients) {
|
|
346
|
-
if (ws.readyState !== WebSocket
|
|
346
|
+
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
347
347
|
ws.send(msg);
|
|
348
348
|
}
|
|
349
349
|
};
|
|
350
350
|
const sendResponseToCdp = (ws, res) => {
|
|
351
|
-
if (ws.readyState !== WebSocket
|
|
351
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
352
352
|
ws.send(JSON.stringify(res));
|
|
353
353
|
};
|
|
354
354
|
const ensureTargetEventsForClient = (ws, mode) => {
|
|
@@ -558,7 +558,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
558
558
|
rejectUpgrade(socket, 401, "Unauthorized");
|
|
559
559
|
return;
|
|
560
560
|
}
|
|
561
|
-
if (extensionWs && extensionWs.readyState !== WebSocket
|
|
561
|
+
if (extensionWs && extensionWs.readyState !== WebSocket.OPEN) {
|
|
562
562
|
try {
|
|
563
563
|
extensionWs.terminate();
|
|
564
564
|
} catch {}
|
|
@@ -595,7 +595,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
595
595
|
clearExtensionDisconnectCleanupTimer();
|
|
596
596
|
flushExtensionReconnectWaiters(true);
|
|
597
597
|
const ping = setInterval(() => {
|
|
598
|
-
if (ws.readyState !== WebSocket
|
|
598
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
599
599
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
600
600
|
}, 5e3);
|
|
601
601
|
ws.on("message", (data) => {
|
|
@@ -937,7 +937,7 @@ async function fetchOk(url, timeoutMs = 1500, init) {
|
|
|
937
937
|
}
|
|
938
938
|
async function withCdpSocket(wsUrl, fn, opts) {
|
|
939
939
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
940
|
-
const ws = new WebSocket
|
|
940
|
+
const ws = new WebSocket(wsUrl, {
|
|
941
941
|
handshakeTimeout: typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : 5e3,
|
|
942
942
|
...Object.keys(headers).length ? { headers } : {}
|
|
943
943
|
});
|
|
@@ -1863,7 +1863,7 @@ async function getChromeWebSocketUrl(cdpUrl, timeoutMs = 500) {
|
|
|
1863
1863
|
async function canOpenWebSocket(wsUrl, timeoutMs = 800) {
|
|
1864
1864
|
return await new Promise((resolve) => {
|
|
1865
1865
|
const headers = getHeadersWithAuth(wsUrl);
|
|
1866
|
-
const ws = new WebSocket
|
|
1866
|
+
const ws = new WebSocket(wsUrl, {
|
|
1867
1867
|
handshakeTimeout: timeoutMs,
|
|
1868
1868
|
...Object.keys(headers).length ? { headers } : {}
|
|
1869
1869
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { w as resolvePreferredFasedAgentTmpDir } from "./globals-B_jjtAje.js";
|
|
2
|
-
import {
|
|
3
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
2
|
+
import { L as isPathInside } from "./agent-scope-CCjfjKoO.js";
|
|
3
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-DjgDArrp.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import { URL, fileURLToPath } from "node:url";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { At as FasedAgentConfig, Bt as WalletProviderId, Ht as WalletRuntimeMode, Lt as WalletAuthMode, Rt as WalletChain, Ut as WalletToolAccessMode, Vt as WalletRuntimeKind, _n as GatewayClientMode, s as loadConfig, vn as GatewayClientName, zt as WalletExecutionMode } from "./types.plugin-_fbu40Re.js";
|
|
2
|
-
import { A as createSubsystemLogger, V as resolveGatewayPort, g as ErrorShape, i as OperatorScope, n as AuthProfileStore, u as RespondFn } from "./types-
|
|
3
|
-
import { a as resolveAgentDir, i as resolveAgentConfig, n as fetchWithSsrFGuard$1, o as resolveAgentEffectiveModelPrimary, s as resolveDefaultAgentId, t as resolvePreferredFasedAgentTmpDir } from "./tmp-fased-dir-
|
|
2
|
+
import { A as createSubsystemLogger, V as resolveGatewayPort, g as ErrorShape, i as OperatorScope, n as AuthProfileStore, u as RespondFn } from "./types-dWZFX1fk.js";
|
|
3
|
+
import { a as resolveAgentDir, i as resolveAgentConfig, n as fetchWithSsrFGuard$1, o as resolveAgentEffectiveModelPrimary, s as resolveDefaultAgentId, t as resolvePreferredFasedAgentTmpDir } from "./tmp-fased-dir-Ouj58axY.js";
|
|
4
4
|
import { Api, Model } from "@mariozechner/pi-ai";
|
|
5
5
|
import { AuthStorage, ModelRegistry } from "@mariozechner/pi-coding-agent";
|
|
6
6
|
import * as _sinclair_typebox0 from "@sinclair/typebox";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { $n as enforceWalletCustodyForAutonomousSend, Ar as loadOrCreateDeviceIdentity, Er as callGatewayScoped, Kn as readWalletStatusSnapshot, Mr as signDevicePayload, Nr as verifyDeviceSignature, Or as ErrorCodes, Sr as tryResolveSatRuntimeIds, _r as SAT_RUNTIME_DEFAULTS, ar as readWalletProviderRegistry, br as resolveSatMintProgramIdFromEnv, cr as callLocalSocketSigner, dr as resolveLocalSignerSocketPath, er as createWalletProviderAdapter, fr as resolveWalletRuntimeConfig, gr as syncSatMainnetRuntimeIds, hr as getSatMainnetSyncStatus, ir as resolveWalletRolePolicyProfile, j as resolveModel, jr as publicKeyRawBase64UrlFromPem, kr as errorShape, lr as probeLocalSocketSignerHealth, mr as buildAttestation, nr as loadWalletProviderSecret, or as resolveWalletUserRole, pr as fetchSolanaWalletAssetsViaRpc, qn as createOrExecuteWalletSend, rr as resolveWalletPolicyConfig, sr as upsertNamedWallet, tr as resolveWalletProviderId, ur as requireLocalSocketSignerPath, vr as resolveSatBondProgramIdFromEnv, xr as resolveSatProgramIdFromEnv, yr as resolveSatMintAddressFromEnv } from "./config-schema-
|
|
2
|
-
import "./runtime-
|
|
1
|
+
import { $n as enforceWalletCustodyForAutonomousSend, Ar as loadOrCreateDeviceIdentity, Er as callGatewayScoped, Kn as readWalletStatusSnapshot, Mr as signDevicePayload, Nr as verifyDeviceSignature, Or as ErrorCodes, Sr as tryResolveSatRuntimeIds, _r as SAT_RUNTIME_DEFAULTS, ar as readWalletProviderRegistry, br as resolveSatMintProgramIdFromEnv, cr as callLocalSocketSigner, dr as resolveLocalSignerSocketPath, er as createWalletProviderAdapter, fr as resolveWalletRuntimeConfig, gr as syncSatMainnetRuntimeIds, hr as getSatMainnetSyncStatus, ir as resolveWalletRolePolicyProfile, j as resolveModel, jr as publicKeyRawBase64UrlFromPem, kr as errorShape, lr as probeLocalSocketSignerHealth, mr as buildAttestation, nr as loadWalletProviderSecret, or as resolveWalletUserRole, pr as fetchSolanaWalletAssetsViaRpc, qn as createOrExecuteWalletSend, rr as resolveWalletPolicyConfig, sr as upsertNamedWallet, tr as resolveWalletProviderId, ur as requireLocalSocketSignerPath, vr as resolveSatBondProgramIdFromEnv, xr as resolveSatProgramIdFromEnv, yr as resolveSatMintAddressFromEnv } from "./config-schema-BtjeV5Hm.js";
|
|
2
|
+
import "./runtime-BVkIrYLQ.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-DBPNbQDQ.js";
|
|
4
4
|
import { w as resolvePreferredFasedAgentTmpDir } from "./globals-B_jjtAje.js";
|
|
5
5
|
import { i as resolveGatewayPort } from "./paths-BEmvSyOV.js";
|
|
6
6
|
import "./utils-CYk9EKoq.js";
|
|
7
|
-
import { Bt as buildModelAliasIndex, Jt as resolveConfiguredModelRef, Yt as resolveDefaultModelForAgent, Zt as resolveModelRefFromString, an as getApiKeyForModel,
|
|
8
|
-
import { a as resolveAgentDir, i as resolveAgentConfig, o as resolveAgentEffectiveModelPrimary, u as resolveDefaultAgentId } from "./agent-scope-
|
|
7
|
+
import { Bt as buildModelAliasIndex, Jt as resolveConfiguredModelRef, Yt as resolveDefaultModelForAgent, Zt as resolveModelRefFromString, an as getApiKeyForModel, n as loadConfig, na as DEFAULT_PROVIDER, sn as requireApiKey } from "./config-DrhYEiCM.js";
|
|
8
|
+
import { a as resolveAgentDir, i as resolveAgentConfig, o as resolveAgentEffectiveModelPrimary, u as resolveDefaultAgentId } from "./agent-scope-CCjfjKoO.js";
|
|
9
9
|
import "./accounts-RHZyaB73.js";
|
|
10
10
|
import "./accounts-CuqIKU8X.js";
|
|
11
11
|
import "./logger-BbFvCoKk.js";
|
|
12
12
|
import "./exec-DQ8j4Fm3.js";
|
|
13
|
-
import "./accounts-
|
|
13
|
+
import "./accounts-BJuN64m-.js";
|
|
14
14
|
import "./allow-list-DyAxs4yw.js";
|
|
15
15
|
import "./redact-Bm8vu_ju.js";
|
|
16
16
|
import "./github-copilot-token-CUK__1s1.js";
|
|
@@ -18,41 +18,41 @@ import "./retry-DstNBhDW.js";
|
|
|
18
18
|
import "./paths-CTZ2RS_E.js";
|
|
19
19
|
import "./ssrf-fG4UHKBw.js";
|
|
20
20
|
import "./fetch-guard-CeG6u6ld.js";
|
|
21
|
-
import "./send-
|
|
22
|
-
import "./helpers-
|
|
23
|
-
import "./wsl-
|
|
24
|
-
import "./pairing-store-
|
|
25
|
-
import "./chunk-
|
|
21
|
+
import "./send-KJy3ajA3.js";
|
|
22
|
+
import "./helpers-E9aafRzA.js";
|
|
23
|
+
import "./wsl-WGtdw_6h.js";
|
|
24
|
+
import "./pairing-store-DwM-BNbj.js";
|
|
25
|
+
import "./chunk-01oBnQjh.js";
|
|
26
26
|
import "./tailscale-status-DwpNdO3Z.js";
|
|
27
|
-
import "./reply-prefix-
|
|
27
|
+
import "./reply-prefix-CeVw7Mn2.js";
|
|
28
28
|
import "./tokens-BbnqfVuu.js";
|
|
29
29
|
import "./pairing-token-Cs3BRKc0.js";
|
|
30
30
|
import "./diagnostic-DLL_zekv.js";
|
|
31
31
|
import "./diagnostic-session-state-DqgfGYqZ.js";
|
|
32
|
-
import "./optional-runtime-dependency-
|
|
33
|
-
import "./image-ops-
|
|
34
|
-
import "./memory-search-
|
|
35
|
-
import "./manager-
|
|
32
|
+
import "./optional-runtime-dependency-CKsJL1PD.js";
|
|
33
|
+
import "./image-ops-D2U9ctmu.js";
|
|
34
|
+
import "./memory-search-DTjIMw8J.js";
|
|
35
|
+
import "./manager-ciNnAMBn.js";
|
|
36
36
|
import "./query-expansion-CAI2kKLQ.js";
|
|
37
|
-
import "./common-
|
|
38
|
-
import "./commands-registry-
|
|
39
|
-
import "./runtime-dependency-
|
|
40
|
-
import "./path-alias-guards-
|
|
41
|
-
import "./fs-safe-
|
|
42
|
-
import "./markdown-tables-
|
|
43
|
-
import "./media-
|
|
44
|
-
import "./send-
|
|
45
|
-
import "./outbound-attachment-
|
|
37
|
+
import "./common-zHvdO8ly.js";
|
|
38
|
+
import "./commands-registry-ckg4fhYa.js";
|
|
39
|
+
import "./runtime-dependency-B2PqMdBu.js";
|
|
40
|
+
import "./path-alias-guards-DjgDArrp.js";
|
|
41
|
+
import "./fs-safe-g4g7GT02.js";
|
|
42
|
+
import "./markdown-tables-BKxbua_h.js";
|
|
43
|
+
import "./media-DUIZ6x9H.js";
|
|
44
|
+
import "./send-BGDGzxUu.js";
|
|
45
|
+
import "./outbound-attachment-DAF8huFz.js";
|
|
46
46
|
import "./fetch-BtmoPIlf.js";
|
|
47
|
-
import "./thread-bindings.state-
|
|
48
|
-
import "./skill-commands-
|
|
49
|
-
import "./sandbox-paths-
|
|
47
|
+
import "./thread-bindings.state-BN6461WG.js";
|
|
48
|
+
import "./skill-commands-CyIkcR8P.js";
|
|
49
|
+
import "./sandbox-paths-Dx2lUqCu.js";
|
|
50
50
|
import "./directory-live-CSuYxdwk.js";
|
|
51
|
-
import "./targets-
|
|
52
|
-
import "./pi-model-discovery-
|
|
53
|
-
import "./resolve-route-
|
|
51
|
+
import "./targets-BPket0SF.js";
|
|
52
|
+
import "./pi-model-discovery-DkIdlJvJ.js";
|
|
53
|
+
import "./resolve-route-D0eBYPtb.js";
|
|
54
54
|
import "./render-e7fENCYH.js";
|
|
55
|
-
import "./tables-
|
|
55
|
+
import "./tables-B2iehyjG.js";
|
|
56
56
|
import "./shared-CBgp_GBw.js";
|
|
57
57
|
|
|
58
58
|
//#region src/plugin-sdk/sat-runtime.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { fn as resolveSignalAccount } from "./runtime-
|
|
3
|
-
import { n as loadConfig } from "./config-
|
|
2
|
+
import { fn as resolveSignalAccount } from "./runtime-BVkIrYLQ.js";
|
|
3
|
+
import { n as loadConfig } from "./config-DrhYEiCM.js";
|
|
4
4
|
import { n as fetchWithTimeout } from "./fetch-timeout-l_6RdoMw.js";
|
|
5
5
|
import { n as generateSecureUuid } from "./secure-random-BIkG-k4s.js";
|
|
6
|
-
import { v as mediaKindFromMime } from "./image-ops-
|
|
7
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
8
|
-
import { c as markdownToIR, s as chunkMarkdownIR } from "./media-
|
|
9
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
6
|
+
import { v as mediaKindFromMime } from "./image-ops-D2U9ctmu.js";
|
|
7
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BKxbua_h.js";
|
|
8
|
+
import { c as markdownToIR, s as chunkMarkdownIR } from "./media-DUIZ6x9H.js";
|
|
9
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-DAF8huFz.js";
|
|
10
10
|
import { t as resolveFetch } from "./fetch-BtmoPIlf.js";
|
|
11
11
|
|
|
12
12
|
//#region src/signal/format.ts
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { w as resolvePreferredFasedAgentTmpDir } from "./globals-B_jjtAje.js";
|
|
3
|
-
import { n as loadConfig } from "./config-
|
|
3
|
+
import { n as loadConfig } from "./config-DrhYEiCM.js";
|
|
4
4
|
import { a as resolveDiscordAccount } from "./accounts-RHZyaB73.js";
|
|
5
5
|
import { t as normalizeDiscordToken } from "./token-D4-H0ByG.js";
|
|
6
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode } from "./chunk-
|
|
7
|
-
import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-
|
|
8
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
9
|
-
import { n as loadWebMedia, r as loadWebMediaRaw } from "./media-
|
|
10
|
-
import { r as resolveDiscordTarget, t as parseDiscordTarget } from "./targets-
|
|
6
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode } from "./chunk-01oBnQjh.js";
|
|
7
|
+
import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-D2U9ctmu.js";
|
|
8
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BKxbua_h.js";
|
|
9
|
+
import { n as loadWebMedia, r as loadWebMediaRaw } from "./media-DUIZ6x9H.js";
|
|
10
|
+
import { r as resolveDiscordTarget, t as parseDiscordTarget } from "./targets-BPket0SF.js";
|
|
11
11
|
import { n as normalizePollInput, t as normalizePollDurationHours } from "./polls-DKQXVfJp.js";
|
|
12
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
12
|
+
import { t as convertMarkdownTables } from "./tables-B2iehyjG.js";
|
|
13
13
|
import { n as recordChannelActivity } from "./channel-activity-DBDMQ3yI.js";
|
|
14
|
-
import { t as createDiscordRetryRunner } from "./retry-policy-
|
|
14
|
+
import { t as createDiscordRetryRunner } from "./retry-policy-HTrC4zfC.js";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import { promisify } from "node:util";
|
|
17
17
|
import fs from "node:fs/promises";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { in as resolveTelegramAccount } from "./runtime-
|
|
2
|
+
import { in as resolveTelegramAccount } from "./runtime-BVkIrYLQ.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-DBPNbQDQ.js";
|
|
4
4
|
import { i as logVerbose, t as danger } from "./globals-B_jjtAje.js";
|
|
5
|
-
import { a as readConfigFileSnapshotForWrite,
|
|
5
|
+
import { Sa as isTruthyEnvValue, a as readConfigFileSnapshotForWrite, ca as extractErrorCode, la as formatErrorMessage, n as loadConfig, s as writeConfigFile, ua as formatUncaughtError } from "./config-DrhYEiCM.js";
|
|
6
6
|
import { n as redactSensitiveText } from "./redact-Bm8vu_ju.js";
|
|
7
|
-
import { M as isTelegramVoiceCompatibleAudio, a as resolveCronStorePath, i as loadCronStore, o as saveCronStore, p as buildTelegramThreadParams, t as isWSL2Sync } from "./wsl-
|
|
7
|
+
import { M as isTelegramVoiceCompatibleAudio, a as resolveCronStorePath, i as loadCronStore, o as saveCronStore, p as buildTelegramThreadParams, t as isWSL2Sync } from "./wsl-WGtdw_6h.js";
|
|
8
8
|
import { n as normalizeTelegramLookupTarget, r as parseTelegramTarget, t as normalizeTelegramChatId } from "./targets-CoMJ1ry1.js";
|
|
9
|
-
import { p as isGifMedia, v as mediaKindFromMime } from "./image-ops-
|
|
10
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
11
|
-
import { c as markdownToIR, n as loadWebMedia, s as chunkMarkdownIR } from "./media-
|
|
9
|
+
import { p as isGifMedia, v as mediaKindFromMime } from "./image-ops-D2U9ctmu.js";
|
|
10
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BKxbua_h.js";
|
|
11
|
+
import { c as markdownToIR, n as loadWebMedia, s as chunkMarkdownIR } from "./media-DUIZ6x9H.js";
|
|
12
12
|
import { t as resolveFetch } from "./fetch-BtmoPIlf.js";
|
|
13
13
|
import { n as normalizePollInput } from "./polls-DKQXVfJp.js";
|
|
14
14
|
import { t as renderMarkdownWithMarkers } from "./render-e7fENCYH.js";
|
|
15
15
|
import { n as recordChannelActivity } from "./channel-activity-DBDMQ3yI.js";
|
|
16
|
-
import { n as createTelegramRetryRunner } from "./retry-policy-
|
|
16
|
+
import { n as createTelegramRetryRunner } from "./retry-policy-HTrC4zfC.js";
|
|
17
17
|
import { t as makeProxyFetch } from "./proxy-DWpYcsvR.js";
|
|
18
18
|
import process$1 from "node:process";
|
|
19
19
|
import { Agent, setGlobalDispatcher } from "undici";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { bt as parseSlackTarget } from "./runtime-
|
|
2
|
+
import { bt as parseSlackTarget } from "./runtime-BVkIrYLQ.js";
|
|
3
3
|
import { i as logVerbose } from "./globals-B_jjtAje.js";
|
|
4
|
-
import { n as loadConfig } from "./config-
|
|
4
|
+
import { n as loadConfig } from "./config-DrhYEiCM.js";
|
|
5
5
|
import { i as resolveSlackAccount, s as resolveSlackBotToken } from "./accounts-CuqIKU8X.js";
|
|
6
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
6
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-01oBnQjh.js";
|
|
7
7
|
import { i as isSilentReplyText } from "./tokens-BbnqfVuu.js";
|
|
8
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
9
|
-
import { c as markdownToIR, n as loadWebMedia, s as chunkMarkdownIR } from "./media-
|
|
8
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BKxbua_h.js";
|
|
9
|
+
import { c as markdownToIR, n as loadWebMedia, s as chunkMarkdownIR } from "./media-DUIZ6x9H.js";
|
|
10
10
|
import { t as renderMarkdownWithMarkers } from "./render-e7fENCYH.js";
|
|
11
11
|
import { n as validateSlackBlocksArray } from "./blocks-input-Bg-8S2pl.js";
|
|
12
12
|
import { n as createSlackWebClient } from "./client-pI228AVT.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { hn as resolveIMessageAccount } from "./runtime-
|
|
2
|
+
import { hn as resolveIMessageAccount } from "./runtime-BVkIrYLQ.js";
|
|
3
3
|
import { d as normalizeE164, h as resolveUserPath } from "./utils-CYk9EKoq.js";
|
|
4
|
-
import { n as loadConfig } from "./config-
|
|
5
|
-
import { v as mediaKindFromMime } from "./image-ops-
|
|
6
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
7
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
8
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
4
|
+
import { n as loadConfig } from "./config-DrhYEiCM.js";
|
|
5
|
+
import { v as mediaKindFromMime } from "./image-ops-D2U9ctmu.js";
|
|
6
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BKxbua_h.js";
|
|
7
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-DAF8huFz.js";
|
|
8
|
+
import { t as convertMarkdownTables } from "./tables-B2iehyjG.js";
|
|
9
9
|
import { spawn } from "node:child_process";
|
|
10
10
|
import { createInterface } from "node:readline";
|
|
11
11
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as toPinoLikeLogger, c as success, p as getChildLogger, t as danger } from "./globals-B_jjtAje.js";
|
|
2
2
|
import { a as ensureDir, h as resolveUserPath } from "./utils-CYk9EKoq.js";
|
|
3
|
-
import {
|
|
4
|
-
import { f as readCredsJsonRaw, g as resolveWebCredsPath, h as resolveWebCredsBackupPath, m as resolveDefaultWebAuthDir, u as maybeRestoreCredsFromBackup } from "./accounts-
|
|
3
|
+
import { ba as formatCliCommand, ra as VERSION } from "./config-DrhYEiCM.js";
|
|
4
|
+
import { f as readCredsJsonRaw, g as resolveWebCredsPath, h as resolveWebCredsBackupPath, m as resolveDefaultWebAuthDir, u as maybeRestoreCredsFromBackup } from "./accounts-BJuN64m-.js";
|
|
5
5
|
import { n as redactSensitiveText } from "./redact-Bm8vu_ju.js";
|
|
6
6
|
import { n as redactSensitiveUrlLikeString } from "./redact-sensitive-url-g-ukZjwA.js";
|
|
7
7
|
import fs from "node:fs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-DBPNbQDQ.js";
|
|
3
3
|
import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-CYk9EKoq.js";
|
|
4
|
-
import { Ca as
|
|
5
|
-
import {
|
|
4
|
+
import { Ca as parseBooleanValue, Da as resolveEffectiveEnableState, Ea as normalizePluginsConfig, Oa as resolveMemorySlotDecision, Un as loadPluginManifestRegistry, ga as isDangerousHostEnvVarName, sa as MANIFEST_KEY } from "./config-DrhYEiCM.js";
|
|
5
|
+
import { B as normalizeSkillFilter, O as resolveFasedAgentPackageRootSync, l as resolveAgentWorkspaceDir, q as normalizeStringEntries, r as listAgentIds, z as resolveEffectiveAgentSkillFilter } from "./agent-scope-CCjfjKoO.js";
|
|
6
6
|
import { o as createAsyncLock } from "./pairing-token-Cs3BRKc0.js";
|
|
7
|
-
import { a as listChatCommands } from "./commands-registry-
|
|
8
|
-
import { i as resolveSandboxPath } from "./sandbox-paths-
|
|
7
|
+
import { a as listChatCommands } from "./commands-registry-ckg4fhYa.js";
|
|
8
|
+
import { i as resolveSandboxPath } from "./sandbox-paths-Dx2lUqCu.js";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import fs from "node:fs";
|
|
11
11
|
import os from "node:os";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { $
|
|
2
|
-
import { K as resolveSessionKey, S as readSessionUpdatedAt, w as updateLastRoute } from "./runtime-
|
|
1
|
+
import { $ as createInboundDebouncer, B as logAckFailure, Ci as resolveCommandAuthorizedFromAuthorizers, F as resolveMentionGatingWithBypass, H as logTypingFailure, In as installRequestBodyLimitGuard, J as shouldAckReaction, Jr as pruneMapToMaxSize, Jt as normalizeAllowList, K as recordInboundSession, Lt as hasControlCommand, M as issuePairingChallenge, N as createTypingCallbacks, Qt as resolveSlackUserAllowed, V as logInboundDrop, Vt as enqueueSystemEvent, Wi as formatAllowlistMatchMeta, Xt as normalizeSlackSlug, Yt as normalizeAllowListLower, Zt as resolveSlackAllowListMatch, _n as matchesMentionWithExplicit, at as createReplyDispatcherWithTyping, c as addAllowlistUserEntriesFromConfigEntry, cn as DEFAULT_GROUP_HISTORY_LIMIT, d as mergeAllowlist, et as resolveInboundDebounceMs, f as patchAllowlistUsersInConfigEntries, fn as clearHistoryEntriesIfEnabled, gn as buildMentionRegexes, hn as recordPendingHistoryEntryIfEnabled, it as dispatchInboundMessage, l as buildAllowlistResolutionSummary, p as summarizeMapping, q as removeAckReactionAfterReply, qr as createDedupeCache, qt as allowListMatches, rt as resolveEnvelopeFormatOptions, tt as formatInboundEnvelope, un as buildPendingHistoryContextFromMap, wi as resolveControlCommandGate, x as isDangerousNameMatchingEnabled, yi as readStoreAllowFromForDmPolicy, yt as resolveChannelConfigWrites } from "./config-schema-BtjeV5Hm.js";
|
|
2
|
+
import { K as resolveSessionKey, S as readSessionUpdatedAt, w as updateLastRoute } from "./runtime-BVkIrYLQ.js";
|
|
3
3
|
import { r as createNonExitingRuntime } from "./subsystem-DBPNbQDQ.js";
|
|
4
4
|
import { i as logVerbose, l as warn, p as getChildLogger, s as shouldLogVerbose, t as danger } from "./globals-B_jjtAje.js";
|
|
5
5
|
import "./paths-BEmvSyOV.js";
|
|
6
6
|
import "./utils-CYk9EKoq.js";
|
|
7
|
-
import { Nt as resolveSlackNativeStreaming, Pt as resolveSlackStreamingMode, jt as mapStreamingModeToSlackLegacyDraftStreamMode, n as loadConfig, s as writeConfigFile } from "./config-
|
|
8
|
-
import "./agent-scope-
|
|
7
|
+
import { Nt as resolveSlackNativeStreaming, Pt as resolveSlackStreamingMode, jt as mapStreamingModeToSlackLegacyDraftStreamMode, n as loadConfig, s as writeConfigFile } from "./config-DrhYEiCM.js";
|
|
8
|
+
import "./agent-scope-CCjfjKoO.js";
|
|
9
9
|
import { n as resolveConversationLabel } from "./conversation-label-BoVqak2R.js";
|
|
10
10
|
import { c as normalizeMainKey, p as normalizeAccountId, u as resolveThreadSessionKeys } from "./session-key-HSJ2KQTc.js";
|
|
11
11
|
import "./accounts-RHZyaB73.js";
|
|
12
12
|
import { i as resolveSlackAccount, n as listSlackAccountIds, o as resolveSlackAppToken, r as resolveDefaultSlackAccountId, s as resolveSlackBotToken, t as listEnabledSlackAccounts } from "./accounts-CuqIKU8X.js";
|
|
13
13
|
import "./logger-BbFvCoKk.js";
|
|
14
14
|
import "./exec-DQ8j4Fm3.js";
|
|
15
|
-
import "./accounts-
|
|
15
|
+
import "./accounts-BJuN64m-.js";
|
|
16
16
|
import { S as resolveChannelEntryMatchWithFallback, v as applyChannelMatchMeta, y as buildChannelKeyCandidates } from "./allow-list-DyAxs4yw.js";
|
|
17
17
|
import "./redact-Bm8vu_ju.js";
|
|
18
18
|
import "./github-copilot-token-CUK__1s1.js";
|
|
@@ -20,53 +20,53 @@ import "./retry-DstNBhDW.js";
|
|
|
20
20
|
import { l as resolveStorePath } from "./paths-CTZ2RS_E.js";
|
|
21
21
|
import { c as normalizeHostname } from "./ssrf-fG4UHKBw.js";
|
|
22
22
|
import "./fetch-guard-CeG6u6ld.js";
|
|
23
|
-
import "./send-
|
|
24
|
-
import { A as resolveDefaultGroupPolicy, M as warnMissingProviderGroupPolicyFallbackOnce, j as resolveOpenProviderRuntimeGroupPolicy } from "./helpers-
|
|
25
|
-
import "./wsl-
|
|
26
|
-
import { a as upsertChannelPairingRequest } from "./pairing-store-
|
|
27
|
-
import { l as resolveTextChunkLimit } from "./chunk-
|
|
23
|
+
import "./send-KJy3ajA3.js";
|
|
24
|
+
import { A as resolveDefaultGroupPolicy, M as warnMissingProviderGroupPolicyFallbackOnce, j as resolveOpenProviderRuntimeGroupPolicy } from "./helpers-E9aafRzA.js";
|
|
25
|
+
import "./wsl-WGtdw_6h.js";
|
|
26
|
+
import { a as upsertChannelPairingRequest } from "./pairing-store-DwM-BNbj.js";
|
|
27
|
+
import { l as resolveTextChunkLimit } from "./chunk-01oBnQjh.js";
|
|
28
28
|
import "./tailscale-status-DwpNdO3Z.js";
|
|
29
|
-
import { a as resolveAckReaction, c as resolveHumanDelayConfig, n as createReplyPrefixOptions } from "./reply-prefix-
|
|
29
|
+
import { a as resolveAckReaction, c as resolveHumanDelayConfig, n as createReplyPrefixOptions } from "./reply-prefix-CeVw7Mn2.js";
|
|
30
30
|
import "./tokens-BbnqfVuu.js";
|
|
31
31
|
import "./pairing-token-Cs3BRKc0.js";
|
|
32
32
|
import { t as generateSecureToken } from "./secure-random-BIkG-k4s.js";
|
|
33
33
|
import "./diagnostic-DLL_zekv.js";
|
|
34
34
|
import "./diagnostic-session-state-DqgfGYqZ.js";
|
|
35
|
-
import "./optional-runtime-dependency-
|
|
36
|
-
import "./image-ops-
|
|
37
|
-
import "./memory-search-
|
|
38
|
-
import "./manager-
|
|
35
|
+
import "./optional-runtime-dependency-CKsJL1PD.js";
|
|
36
|
+
import "./image-ops-D2U9ctmu.js";
|
|
37
|
+
import "./memory-search-DTjIMw8J.js";
|
|
38
|
+
import "./manager-ciNnAMBn.js";
|
|
39
39
|
import "./query-expansion-CAI2kKLQ.js";
|
|
40
|
-
import "./common-
|
|
41
|
-
import { E as resolveNativeSkillsEnabled, T as resolveNativeCommandsEnabled, g as shouldHandleTextCommands } from "./commands-registry-
|
|
42
|
-
import "./runtime-dependency-
|
|
43
|
-
import "./path-alias-guards-
|
|
44
|
-
import "./fs-safe-
|
|
45
|
-
import "./markdown-tables-
|
|
46
|
-
import { a as fetchRemoteMedia } from "./media-
|
|
47
|
-
import "./send-
|
|
48
|
-
import { a as saveMediaBuffer } from "./outbound-attachment-
|
|
40
|
+
import "./common-zHvdO8ly.js";
|
|
41
|
+
import { E as resolveNativeSkillsEnabled, T as resolveNativeCommandsEnabled, g as shouldHandleTextCommands } from "./commands-registry-ckg4fhYa.js";
|
|
42
|
+
import "./runtime-dependency-B2PqMdBu.js";
|
|
43
|
+
import "./path-alias-guards-DjgDArrp.js";
|
|
44
|
+
import "./fs-safe-g4g7GT02.js";
|
|
45
|
+
import "./markdown-tables-BKxbua_h.js";
|
|
46
|
+
import { a as fetchRemoteMedia } from "./media-DUIZ6x9H.js";
|
|
47
|
+
import "./send-BGDGzxUu.js";
|
|
48
|
+
import { a as saveMediaBuffer } from "./outbound-attachment-DAF8huFz.js";
|
|
49
49
|
import "./fetch-BtmoPIlf.js";
|
|
50
|
-
import "./thread-bindings.state-
|
|
51
|
-
import "./skill-commands-
|
|
52
|
-
import "./sandbox-paths-
|
|
50
|
+
import "./thread-bindings.state-BN6461WG.js";
|
|
51
|
+
import "./skill-commands-CyIkcR8P.js";
|
|
52
|
+
import "./sandbox-paths-Dx2lUqCu.js";
|
|
53
53
|
import "./directory-live-CSuYxdwk.js";
|
|
54
|
-
import "./targets-
|
|
55
|
-
import "./pi-model-discovery-
|
|
56
|
-
import { n as resolveAgentRoute } from "./resolve-route-
|
|
54
|
+
import "./targets-BPket0SF.js";
|
|
55
|
+
import "./pi-model-discovery-DkIdlJvJ.js";
|
|
56
|
+
import { n as resolveAgentRoute } from "./resolve-route-D0eBYPtb.js";
|
|
57
57
|
import { t as finalizeInboundContext } from "./inbound-context-DrAcXE0y.js";
|
|
58
58
|
import "./render-e7fENCYH.js";
|
|
59
|
-
import "./tables-
|
|
59
|
+
import "./tables-B2iehyjG.js";
|
|
60
60
|
import "./shared-CBgp_GBw.js";
|
|
61
|
-
import { t as sendMessageSlack } from "./send-
|
|
61
|
+
import { t as sendMessageSlack } from "./send-DgzZUx2i.js";
|
|
62
62
|
import { r as resolveSlackWebClientOptions } from "./client-pI228AVT.js";
|
|
63
|
-
import { a as listSlackPins, c as reactSlackMessage, d as removeSlackReaction, f as sendSlackMessage, i as listSlackEmojis, l as readSlackMessages, n as editSlackMessage, o as listSlackReactions, p as unpinSlackMessage, r as getSlackMemberInfo, s as pinSlackMessage, t as deleteSlackMessage, u as removeOwnSlackReactions } from "./actions-
|
|
64
|
-
import { n as buildUntrustedChannelMetadata, t as chunkItems } from "./chunk-items-
|
|
63
|
+
import { a as listSlackPins, c as reactSlackMessage, d as removeSlackReaction, f as sendSlackMessage, i as listSlackEmojis, l as readSlackMessages, n as editSlackMessage, o as listSlackReactions, p as unpinSlackMessage, r as getSlackMemberInfo, s as pinSlackMessage, t as deleteSlackMessage, u as removeOwnSlackReactions } from "./actions-DaEvM9Bl.js";
|
|
64
|
+
import { n as buildUntrustedChannelMetadata, t as chunkItems } from "./chunk-items-D2zDJ8q8.js";
|
|
65
65
|
import { t as createDraftStreamLoop } from "./draft-stream-loop-CrOPfV3F.js";
|
|
66
|
-
import { t as
|
|
67
|
-
import {
|
|
68
|
-
import { t as
|
|
69
|
-
import {
|
|
66
|
+
import { t as resolveSlackChannelAllowlist } from "./resolve-channels-_-nV-EK2.js";
|
|
67
|
+
import { t as resolveSlackUserAllowlist } from "./resolve-users-DN9VQBwv.js";
|
|
68
|
+
import { i as resolveSlackThreadTs, n as deliverReplies, t as createSlackReplyDeliveryPlan } from "./replies-Bx61SvAC.js";
|
|
69
|
+
import { probeSlack } from "./probe-CJb5uR8B.js";
|
|
70
70
|
import SlackBolt from "@slack/bolt";
|
|
71
71
|
|
|
72
72
|
//#region src/slack/http/registry.ts
|
|
@@ -2914,7 +2914,7 @@ function readSlackExternalArgMenuToken(raw) {
|
|
|
2914
2914
|
}
|
|
2915
2915
|
let commandsRegistry;
|
|
2916
2916
|
async function getCommandsRegistry() {
|
|
2917
|
-
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-
|
|
2917
|
+
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-ckg4fhYa.js").then((n) => n.n);
|
|
2918
2918
|
return commandsRegistry;
|
|
2919
2919
|
}
|
|
2920
2920
|
function encodeSlackCommandArgValue(parts) {
|
|
@@ -3238,14 +3238,14 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
3238
3238
|
const channelName = channelInfo?.name;
|
|
3239
3239
|
const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
|
|
3240
3240
|
const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
|
|
3241
|
-
import("./resolve-route-
|
|
3241
|
+
import("./resolve-route-D0eBYPtb.js").then((n) => n.r),
|
|
3242
3242
|
import("./inbound-context-DrAcXE0y.js").then((n) => n.n),
|
|
3243
|
-
import("./config-schema-
|
|
3243
|
+
import("./config-schema-BtjeV5Hm.js").then((n) => n.Q)
|
|
3244
3244
|
]);
|
|
3245
3245
|
const [{ resolveConversationLabel }, { createReplyPrefixOptions }, { recordSessionMetaFromInbound, resolveStorePath }] = await Promise.all([
|
|
3246
3246
|
import("./conversation-label-BoVqak2R.js").then((n) => n.t),
|
|
3247
|
-
import("./reply-prefix-
|
|
3248
|
-
import("./runtime-
|
|
3247
|
+
import("./reply-prefix-CeVw7Mn2.js").then((n) => n.r),
|
|
3248
|
+
import("./runtime-BVkIrYLQ.js").then((n) => n.m)
|
|
3249
3249
|
]);
|
|
3250
3250
|
const route = resolveAgentRoute({
|
|
3251
3251
|
cfg,
|
|
@@ -3313,9 +3313,9 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
3313
3313
|
});
|
|
3314
3314
|
const deliverSlashPayloads = async (replies) => {
|
|
3315
3315
|
const [{ deliverSlackSlashReplies }, { resolveChunkMode }, { resolveMarkdownTableMode }] = await Promise.all([
|
|
3316
|
-
import("./replies-
|
|
3317
|
-
import("./chunk-
|
|
3318
|
-
import("./markdown-tables-
|
|
3316
|
+
import("./replies-Bx61SvAC.js").then((n) => n.r),
|
|
3317
|
+
import("./chunk-01oBnQjh.js").then((n) => n.s),
|
|
3318
|
+
import("./markdown-tables-BKxbua_h.js").then((n) => n.t)
|
|
3319
3319
|
]);
|
|
3320
3320
|
await deliverSlackSlashReplies({
|
|
3321
3321
|
replies,
|
|
@@ -3368,7 +3368,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
3368
3368
|
let nativeCommands = [];
|
|
3369
3369
|
if (nativeEnabled) {
|
|
3370
3370
|
reg = await getCommandsRegistry();
|
|
3371
|
-
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-
|
|
3371
|
+
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-CyIkcR8P.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
|
|
3372
3372
|
nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
|
|
3373
3373
|
skillCommands,
|
|
3374
3374
|
provider: "slack"
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { bt as parseSlackTarget, xt as resolveSlackChannelId } from "./runtime-
|
|
1
|
+
import { bt as parseSlackTarget, xt as resolveSlackChannelId } from "./runtime-BVkIrYLQ.js";
|
|
2
2
|
import "./subsystem-DBPNbQDQ.js";
|
|
3
3
|
import "./globals-B_jjtAje.js";
|
|
4
4
|
import "./paths-BEmvSyOV.js";
|
|
5
5
|
import "./utils-CYk9EKoq.js";
|
|
6
|
-
import "./config-
|
|
7
|
-
import "./agent-scope-
|
|
6
|
+
import "./config-DrhYEiCM.js";
|
|
7
|
+
import "./agent-scope-CCjfjKoO.js";
|
|
8
8
|
import "./accounts-RHZyaB73.js";
|
|
9
9
|
import { i as resolveSlackAccount } from "./accounts-CuqIKU8X.js";
|
|
10
10
|
import "./logger-BbFvCoKk.js";
|
|
11
11
|
import "./exec-DQ8j4Fm3.js";
|
|
12
|
-
import "./accounts-
|
|
12
|
+
import "./accounts-BJuN64m-.js";
|
|
13
13
|
import "./redact-Bm8vu_ju.js";
|
|
14
14
|
import "./github-copilot-token-CUK__1s1.js";
|
|
15
15
|
import "./retry-DstNBhDW.js";
|
|
16
16
|
import "./paths-CTZ2RS_E.js";
|
|
17
17
|
import "./ssrf-fG4UHKBw.js";
|
|
18
18
|
import "./fetch-guard-CeG6u6ld.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-01oBnQjh.js";
|
|
20
20
|
import "./tokens-BbnqfVuu.js";
|
|
21
|
-
import "./optional-runtime-dependency-
|
|
22
|
-
import "./image-ops-
|
|
23
|
-
import { a as jsonResult, c as readReactionParams, d as readStringParam, n as createActionGate, s as readNumberParam } from "./common-
|
|
24
|
-
import "./path-alias-guards-
|
|
25
|
-
import "./fs-safe-
|
|
26
|
-
import "./markdown-tables-
|
|
27
|
-
import "./media-
|
|
21
|
+
import "./optional-runtime-dependency-CKsJL1PD.js";
|
|
22
|
+
import "./image-ops-D2U9ctmu.js";
|
|
23
|
+
import { a as jsonResult, c as readReactionParams, d as readStringParam, n as createActionGate, s as readNumberParam } from "./common-zHvdO8ly.js";
|
|
24
|
+
import "./path-alias-guards-DjgDArrp.js";
|
|
25
|
+
import "./fs-safe-g4g7GT02.js";
|
|
26
|
+
import "./markdown-tables-BKxbua_h.js";
|
|
27
|
+
import "./media-DUIZ6x9H.js";
|
|
28
28
|
import { i as withNormalizedTimestamp } from "./date-time-uUevHscU.js";
|
|
29
29
|
import "./render-e7fENCYH.js";
|
|
30
30
|
import { t as parseSlackBlocksInput } from "./blocks-input-Bg-8S2pl.js";
|
|
31
|
-
import "./send-
|
|
31
|
+
import "./send-DgzZUx2i.js";
|
|
32
32
|
import "./client-pI228AVT.js";
|
|
33
|
-
import { a as listSlackPins, c as reactSlackMessage, d as removeSlackReaction, f as sendSlackMessage, i as listSlackEmojis, l as readSlackMessages, n as editSlackMessage, o as listSlackReactions, p as unpinSlackMessage, r as getSlackMemberInfo, s as pinSlackMessage, t as deleteSlackMessage, u as removeOwnSlackReactions } from "./actions-
|
|
33
|
+
import { a as listSlackPins, c as reactSlackMessage, d as removeSlackReaction, f as sendSlackMessage, i as listSlackEmojis, l as readSlackMessages, n as editSlackMessage, o as listSlackReactions, p as unpinSlackMessage, r as getSlackMemberInfo, s as pinSlackMessage, t as deleteSlackMessage, u as removeOwnSlackReactions } from "./actions-DaEvM9Bl.js";
|
|
34
34
|
|
|
35
35
|
//#region src/agents/tools/slack-actions.ts
|
|
36
36
|
const messagingActions = new Set([
|