@fased/fased 0.1.59 → 0.1.60
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/LICENSE +0 -0
- package/assets/avatar-placeholder.svg +0 -0
- package/assets/chrome-extension/README.md +0 -0
- package/assets/chrome-extension/background-utils.js +0 -0
- package/assets/chrome-extension/background.js +0 -0
- package/assets/chrome-extension/icons/icon128.png +0 -0
- package/assets/chrome-extension/icons/icon16.png +0 -0
- package/assets/chrome-extension/icons/icon32.png +0 -0
- package/assets/chrome-extension/icons/icon48.png +0 -0
- package/assets/chrome-extension/manifest.json +0 -0
- package/assets/chrome-extension/options-validation.js +0 -0
- package/assets/chrome-extension/options.html +0 -0
- package/assets/chrome-extension/options.js +0 -0
- package/config/official-external-plugin-catalog.json +0 -0
- package/config/sat-runtime.env +0 -0
- package/dist/brand.js +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/HOOK.md +0 -0
- package/dist/bundled/bootstrap-extra-files/HOOK.md +0 -0
- package/dist/bundled/command-logger/HOOK.md +0 -0
- package/dist/bundled/session-memory/HOOK.md +0 -0
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/canvas-host/a2ui/index.html +0 -0
- package/dist/cli/daemon-cli/install.js +10 -0
- package/dist/cli/update-cli/update-command.js +73 -7
- package/dist/commands/daemon-install-helpers.js +2 -1
- package/dist/control-ui/apple-touch-icon.png +0 -0
- package/dist/control-ui/assets/{app-S_jg-ADS.js → app-CqF4Tc9n.js} +3 -3
- package/dist/control-ui/assets/{index-C22rDOFm.js → index-DYggPSfy.js} +3 -3
- package/dist/control-ui/boot-watchdog.js +0 -0
- package/dist/control-ui/fased-logo.svg +0 -0
- package/dist/control-ui/favicon-32.png +0 -0
- package/dist/control-ui/favicon.ico +0 -0
- package/dist/control-ui/favicon.svg +0 -0
- package/dist/control-ui/index.html +1 -1
- package/dist/control-ui/manifest.webmanifest +0 -0
- package/dist/control-ui/version.json +1 -1
- package/dist/daemon/program-args.js +34 -0
- package/dist/export-html/template.css +0 -0
- package/dist/export-html/template.html +0 -0
- package/dist/export-html/template.js +0 -0
- package/dist/export-html/vendor/highlight.min.js +0 -0
- package/dist/export-html/vendor/marked.min.js +0 -0
- package/dist/infra/managed-runtime-bootstrap.js +106 -0
- package/dist/plugin-sdk/{audio-preflight-CxZixyhW.js → audio-preflight-C2QXh5Ml.js} +2 -2
- package/dist/plugin-sdk/channel-plugin-common.d.ts +2 -2
- package/dist/plugin-sdk/{chunk-items-Cy9a3X7x.js → chunk-items-3ZyiGiff.js} +1 -1
- package/dist/plugin-sdk/command-status.js +2 -2
- package/dist/plugin-sdk/{config-schema-D8E0LX8X.js → config-schema-C9tx1Lyz.js} +16 -16
- package/dist/plugin-sdk/device-pair.d.ts +1 -1
- package/dist/plugin-sdk/discord.d.ts +4 -4
- package/dist/plugin-sdk/index.d.ts +15 -15
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{monitor-CFHFAUOj.js → monitor-XbunF2-r.js} +6 -6
- package/dist/plugin-sdk/{monitor-xS9A8Upr.js → monitor-Xgx6vGcg.js} +4 -4
- package/dist/plugin-sdk/{openresponses-http-BcUbeVV6.js → openresponses-http-BRUr0JLE.js} +2 -2
- package/dist/plugin-sdk/{pairing-message-CxonJmwM.d.ts → pairing-message-C403mq4K.d.ts} +1 -1
- package/dist/plugin-sdk/provider-web-search-config-contract.d.ts +1 -1
- package/dist/plugin-sdk/{pw-ai-AFUqn-tQ.js → pw-ai-BzV0f18N.js} +1 -1
- package/dist/plugin-sdk/{runtime-dependency-DLDmB94f.js → runtime-dependency-Ch7J9a0d.js} +9 -9
- package/dist/plugin-sdk/sat-runtime.d.ts +2 -2
- package/dist/plugin-sdk/sat-runtime.js +2 -2
- package/dist/plugin-sdk/{slack-DXYGbizH.js → slack-BzJfCWjq.js} +4 -4
- package/dist/plugin-sdk/slack.d.ts +4 -4
- package/dist/plugin-sdk/{sticker-cache-Dr3rYfU1.js → sticker-cache-Dex-XpRj.js} +2 -2
- package/dist/plugin-sdk/{telegram-actions-Besbw_Hg.js → telegram-actions-DoFTGX4z.js} +3 -3
- package/dist/plugin-sdk/telegram.d.ts +4 -4
- package/dist/plugin-sdk/{tmp-fased-dir-DQ00xQ5D.d.ts → tmp-fased-dir-Ouj58axY.d.ts} +1 -1
- package/dist/plugin-sdk/{types-B6zx-Dl2.d.ts → types-B4hj6HgR.d.ts} +1 -1
- package/dist/plugin-sdk/{types-eUM7hcDz.d.ts → types-dWZFX1fk.d.ts} +1 -1
- package/dist/plugin-sdk/{web-Q1-G--JH.js → web--wC3ZfVl.js} +2 -2
- package/dist/plugin-sdk/whatsapp.d.ts +9 -9
- package/dist/plugin-sdk/{zod-schema.providers-core-CIzCjXH9.d.ts → zod-schema.providers-core-FaYR6KdD.d.ts} +61 -61
- package/docs/reference/templates/AGENTS.dev.md +0 -0
- package/docs/reference/templates/AGENTS.md +0 -0
- package/docs/reference/templates/BOOT.md +0 -0
- package/docs/reference/templates/BOOTSTRAP.md +0 -0
- package/docs/reference/templates/HEARTBEAT.md +0 -0
- package/docs/reference/templates/IDENTITY.dev.md +0 -0
- package/docs/reference/templates/IDENTITY.md +0 -0
- package/docs/reference/templates/SOUL.dev.md +0 -0
- package/docs/reference/templates/SOUL.md +0 -0
- package/docs/reference/templates/TOOLS.dev.md +0 -0
- package/docs/reference/templates/TOOLS.md +0 -0
- package/docs/reference/templates/USER.dev.md +0 -0
- package/docs/reference/templates/USER.md +0 -0
- package/extensions/acpx/fased.plugin.json +0 -0
- package/extensions/acpx/package.json +1 -1
- package/extensions/acpx/skills/acp-router/SKILL.md +0 -0
- package/extensions/acpx/src/config.ts +0 -0
- package/extensions/acpx/src/ensure.ts +0 -0
- package/extensions/acpx/src/mcp-readonly-tool-registry.ts +0 -0
- package/extensions/acpx/src/mcp-status-adapter.ts +0 -0
- package/extensions/acpx/src/runtime-internals/events.ts +0 -0
- package/extensions/acpx/src/runtime-internals/process.ts +0 -0
- package/extensions/acpx/src/runtime-internals/shared.ts +0 -0
- package/extensions/acpx/src/runtime.ts +0 -0
- package/extensions/acpx/src/service.ts +0 -0
- package/extensions/bluebubbles/README.md +0 -0
- package/extensions/bluebubbles/fased.plugin.json +0 -0
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/bluebubbles/src/account-resolve.ts +0 -0
- package/extensions/bluebubbles/src/accounts.ts +0 -0
- package/extensions/bluebubbles/src/actions.ts +0 -0
- package/extensions/bluebubbles/src/attachments.ts +0 -0
- package/extensions/bluebubbles/src/channel.ts +0 -0
- package/extensions/bluebubbles/src/chat.ts +0 -0
- package/extensions/bluebubbles/src/config-schema.ts +0 -0
- package/extensions/bluebubbles/src/history.ts +0 -0
- package/extensions/bluebubbles/src/media-send.ts +0 -0
- package/extensions/bluebubbles/src/monitor-normalize.ts +0 -0
- package/extensions/bluebubbles/src/monitor-processing.ts +0 -0
- package/extensions/bluebubbles/src/monitor-reply-cache.ts +0 -0
- package/extensions/bluebubbles/src/monitor-shared.ts +0 -0
- package/extensions/bluebubbles/src/monitor.ts +0 -0
- package/extensions/bluebubbles/src/multipart.ts +0 -0
- package/extensions/bluebubbles/src/onboarding.ts +0 -0
- package/extensions/bluebubbles/src/probe.ts +0 -0
- package/extensions/bluebubbles/src/reactions.ts +0 -0
- package/extensions/bluebubbles/src/request-url.ts +0 -0
- package/extensions/bluebubbles/src/runtime.ts +0 -0
- package/extensions/bluebubbles/src/send-helpers.ts +0 -0
- package/extensions/bluebubbles/src/send.ts +0 -0
- package/extensions/bluebubbles/src/targets.ts +0 -0
- package/extensions/bluebubbles/src/test-mocks.ts +0 -0
- package/extensions/bluebubbles/src/types.ts +0 -0
- package/extensions/copilot-proxy/README.md +0 -0
- package/extensions/copilot-proxy/fased.plugin.json +0 -0
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/device-pair/fased.plugin.json +0 -0
- package/extensions/diagnostics-otel/fased.plugin.json +0 -0
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/diagnostics-otel/src/service.ts +0 -0
- package/extensions/fased-federation/README.md +0 -0
- package/extensions/fased-federation/fased.plugin.json +0 -0
- package/extensions/fased-federation/package.json +1 -1
- package/extensions/google-gemini-cli-auth/README.md +0 -0
- package/extensions/google-gemini-cli-auth/fased.plugin.json +0 -0
- package/extensions/google-gemini-cli-auth/oauth.ts +0 -0
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/imessage/fased.plugin.json +0 -0
- package/extensions/imessage/package.json +1 -1
- package/extensions/imessage/src/channel.ts +0 -0
- package/extensions/imessage/src/runtime.ts +0 -0
- package/extensions/irc/fased.plugin.json +0 -0
- package/extensions/irc/package.json +1 -1
- package/extensions/irc/src/accounts.ts +0 -0
- package/extensions/irc/src/channel.ts +0 -0
- package/extensions/irc/src/client.ts +0 -0
- package/extensions/irc/src/config-schema.ts +0 -0
- package/extensions/irc/src/connect-options.ts +0 -0
- package/extensions/irc/src/control-chars.ts +0 -0
- package/extensions/irc/src/inbound.ts +0 -0
- package/extensions/irc/src/monitor.ts +0 -0
- package/extensions/irc/src/normalize.ts +0 -0
- package/extensions/irc/src/onboarding.ts +0 -0
- package/extensions/irc/src/policy.ts +0 -0
- package/extensions/irc/src/probe.ts +0 -0
- package/extensions/irc/src/protocol.ts +0 -0
- package/extensions/irc/src/runtime.ts +0 -0
- package/extensions/irc/src/send.ts +0 -0
- package/extensions/irc/src/types.ts +0 -0
- package/extensions/line/fased.plugin.json +0 -0
- package/extensions/line/package.json +1 -1
- package/extensions/line/src/card-command.ts +0 -0
- package/extensions/line/src/channel.ts +0 -0
- package/extensions/line/src/runtime.ts +0 -0
- package/extensions/llm-task/README.md +0 -0
- package/extensions/llm-task/fased.plugin.json +0 -0
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/README.md +0 -0
- package/extensions/lobster/SKILL.md +0 -0
- package/extensions/lobster/fased.plugin.json +0 -0
- package/extensions/lobster/package.json +1 -1
- package/extensions/lobster/src/test-helpers.ts +0 -0
- package/extensions/lobster/src/windows-spawn.ts +0 -0
- package/extensions/matrix/CHANGELOG.md +6 -0
- package/extensions/matrix/fased.plugin.json +0 -0
- package/extensions/matrix/package.json +1 -1
- package/extensions/matrix/src/actions.ts +0 -0
- package/extensions/matrix/src/channel.ts +0 -0
- package/extensions/matrix/src/config-schema.ts +0 -0
- package/extensions/matrix/src/directory-live.ts +0 -0
- package/extensions/matrix/src/group-mentions.ts +0 -0
- package/extensions/matrix/src/matrix/accounts.ts +0 -0
- package/extensions/matrix/src/matrix/actions/client.ts +0 -0
- package/extensions/matrix/src/matrix/actions/limits.ts +0 -0
- package/extensions/matrix/src/matrix/actions/messages.ts +0 -0
- package/extensions/matrix/src/matrix/actions/pins.ts +0 -0
- package/extensions/matrix/src/matrix/actions/reactions.ts +0 -0
- package/extensions/matrix/src/matrix/actions/room.ts +0 -0
- package/extensions/matrix/src/matrix/actions/summary.ts +0 -0
- package/extensions/matrix/src/matrix/actions/types.ts +0 -0
- package/extensions/matrix/src/matrix/actions.ts +0 -0
- package/extensions/matrix/src/matrix/active-client.ts +0 -0
- package/extensions/matrix/src/matrix/client/config.ts +0 -0
- package/extensions/matrix/src/matrix/client/create-client.ts +0 -0
- package/extensions/matrix/src/matrix/client/logging.ts +0 -0
- package/extensions/matrix/src/matrix/client/runtime.ts +0 -0
- package/extensions/matrix/src/matrix/client/shared.ts +0 -0
- package/extensions/matrix/src/matrix/client/storage.ts +0 -0
- package/extensions/matrix/src/matrix/client/types.ts +0 -0
- package/extensions/matrix/src/matrix/client-bootstrap.ts +0 -0
- package/extensions/matrix/src/matrix/client.ts +0 -0
- package/extensions/matrix/src/matrix/credentials.ts +0 -0
- package/extensions/matrix/src/matrix/deps.ts +0 -0
- package/extensions/matrix/src/matrix/format.ts +0 -0
- package/extensions/matrix/src/matrix/monitor/access-policy.ts +0 -0
- package/extensions/matrix/src/matrix/monitor/allowlist.ts +0 -0
- package/extensions/matrix/src/matrix/monitor/auto-join.ts +0 -0
- package/extensions/matrix/src/matrix/monitor/direct.ts +0 -0
- package/extensions/matrix/src/matrix/monitor/events.ts +0 -0
- package/extensions/matrix/src/matrix/monitor/handler.ts +0 -0
- package/extensions/matrix/src/matrix/monitor/inbound-body.ts +0 -0
- package/extensions/matrix/src/matrix/monitor/location.ts +0 -0
- package/extensions/matrix/src/matrix/monitor/media.ts +0 -0
- package/extensions/matrix/src/matrix/monitor/mentions.ts +0 -0
- package/extensions/matrix/src/matrix/monitor/replies.ts +0 -0
- package/extensions/matrix/src/matrix/monitor/room-info.ts +0 -0
- package/extensions/matrix/src/matrix/monitor/rooms.ts +0 -0
- package/extensions/matrix/src/matrix/monitor/threads.ts +0 -0
- package/extensions/matrix/src/matrix/monitor/types.ts +0 -0
- package/extensions/matrix/src/matrix/poll-types.ts +0 -0
- package/extensions/matrix/src/matrix/probe.ts +0 -0
- package/extensions/matrix/src/matrix/send/client.ts +0 -0
- package/extensions/matrix/src/matrix/send/formatting.ts +0 -0
- package/extensions/matrix/src/matrix/send/media.ts +0 -0
- package/extensions/matrix/src/matrix/send/targets.ts +0 -0
- package/extensions/matrix/src/matrix/send/types.ts +0 -0
- package/extensions/matrix/src/matrix/send-queue.ts +0 -0
- package/extensions/matrix/src/matrix/send.ts +0 -0
- package/extensions/matrix/src/onboarding.ts +0 -0
- package/extensions/matrix/src/outbound.ts +0 -0
- package/extensions/matrix/src/resolve-targets.ts +0 -0
- package/extensions/matrix/src/runtime.ts +0 -0
- package/extensions/matrix/src/tool-actions.ts +0 -0
- package/extensions/matrix/src/types.ts +0 -0
- package/extensions/mattermost/fased.plugin.json +0 -0
- package/extensions/mattermost/package.json +1 -1
- package/extensions/mattermost/src/channel.ts +0 -0
- package/extensions/mattermost/src/config-schema.ts +0 -0
- package/extensions/mattermost/src/group-mentions.ts +0 -0
- package/extensions/mattermost/src/mattermost/accounts.ts +0 -0
- package/extensions/mattermost/src/mattermost/client.ts +0 -0
- package/extensions/mattermost/src/mattermost/monitor-auth.ts +0 -0
- package/extensions/mattermost/src/mattermost/monitor-helpers.ts +0 -0
- package/extensions/mattermost/src/mattermost/monitor-onchar.ts +0 -0
- package/extensions/mattermost/src/mattermost/monitor-websocket.ts +0 -0
- package/extensions/mattermost/src/mattermost/monitor.ts +0 -0
- package/extensions/mattermost/src/mattermost/probe.ts +0 -0
- package/extensions/mattermost/src/mattermost/reactions.test-helpers.ts +0 -0
- package/extensions/mattermost/src/mattermost/reactions.ts +0 -0
- package/extensions/mattermost/src/mattermost/reconnect.ts +0 -0
- package/extensions/mattermost/src/mattermost/send.ts +0 -0
- package/extensions/mattermost/src/normalize.ts +0 -0
- package/extensions/mattermost/src/onboarding-helpers.ts +0 -0
- package/extensions/mattermost/src/onboarding.ts +0 -0
- package/extensions/mattermost/src/runtime.ts +0 -0
- package/extensions/mattermost/src/types.ts +0 -0
- package/extensions/memory-core/fased.plugin.json +0 -0
- package/extensions/memory-core/package.json +2 -2
- package/extensions/memory-lancedb/config.ts +0 -0
- package/extensions/memory-lancedb/fased.plugin.json +0 -0
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax-portal-auth/README.md +0 -0
- package/extensions/minimax-portal-auth/fased.plugin.json +0 -0
- package/extensions/minimax-portal-auth/oauth.ts +0 -0
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +6 -0
- package/extensions/msteams/fased.plugin.json +0 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/msteams/src/attachments/download.ts +0 -0
- package/extensions/msteams/src/attachments/graph.ts +0 -0
- package/extensions/msteams/src/attachments/html.ts +0 -0
- package/extensions/msteams/src/attachments/payload.ts +0 -0
- package/extensions/msteams/src/attachments/remote-media.ts +0 -0
- package/extensions/msteams/src/attachments/shared.ts +0 -0
- package/extensions/msteams/src/attachments/types.ts +0 -0
- package/extensions/msteams/src/attachments.ts +0 -0
- package/extensions/msteams/src/channel.ts +0 -0
- package/extensions/msteams/src/conversation-store-fs.ts +0 -0
- package/extensions/msteams/src/conversation-store-memory.ts +0 -0
- package/extensions/msteams/src/conversation-store.ts +0 -0
- package/extensions/msteams/src/directory-live.ts +0 -0
- package/extensions/msteams/src/errors.ts +0 -0
- package/extensions/msteams/src/file-consent-helpers.ts +0 -0
- package/extensions/msteams/src/file-consent.ts +0 -0
- package/extensions/msteams/src/file-lock.ts +0 -0
- package/extensions/msteams/src/graph-chat.ts +0 -0
- package/extensions/msteams/src/graph-upload.ts +0 -0
- package/extensions/msteams/src/graph-users.ts +0 -0
- package/extensions/msteams/src/graph.ts +0 -0
- package/extensions/msteams/src/inbound.ts +0 -0
- package/extensions/msteams/src/media-helpers.ts +0 -0
- package/extensions/msteams/src/mentions.ts +0 -0
- package/extensions/msteams/src/messenger.ts +0 -0
- package/extensions/msteams/src/monitor-handler/inbound-media.ts +0 -0
- package/extensions/msteams/src/monitor-handler/message-handler.ts +0 -0
- package/extensions/msteams/src/monitor-handler.ts +0 -0
- package/extensions/msteams/src/monitor-types.ts +0 -0
- package/extensions/msteams/src/monitor.ts +0 -0
- package/extensions/msteams/src/onboarding.ts +0 -0
- package/extensions/msteams/src/outbound.ts +0 -0
- package/extensions/msteams/src/pending-uploads.ts +0 -0
- package/extensions/msteams/src/policy.ts +0 -0
- package/extensions/msteams/src/polls-store-memory.ts +0 -0
- package/extensions/msteams/src/polls.ts +0 -0
- package/extensions/msteams/src/probe.ts +0 -0
- package/extensions/msteams/src/reply-dispatcher.ts +0 -0
- package/extensions/msteams/src/resolve-allowlist.ts +0 -0
- package/extensions/msteams/src/runtime.ts +0 -0
- package/extensions/msteams/src/sdk-types.ts +0 -0
- package/extensions/msteams/src/sdk.ts +0 -0
- package/extensions/msteams/src/send-context.ts +0 -0
- package/extensions/msteams/src/send.ts +0 -0
- package/extensions/msteams/src/sent-message-cache.ts +0 -0
- package/extensions/msteams/src/storage.ts +0 -0
- package/extensions/msteams/src/store-fs.ts +0 -0
- package/extensions/msteams/src/test-runtime.ts +0 -0
- package/extensions/msteams/src/token-response.ts +0 -0
- package/extensions/msteams/src/token.ts +0 -0
- package/extensions/nextcloud-talk/fased.plugin.json +0 -0
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nextcloud-talk/src/accounts.ts +0 -0
- package/extensions/nextcloud-talk/src/config-schema.ts +0 -0
- package/extensions/nextcloud-talk/src/format.ts +0 -0
- package/extensions/nextcloud-talk/src/inbound.ts +0 -0
- package/extensions/nextcloud-talk/src/monitor.ts +0 -0
- package/extensions/nextcloud-talk/src/normalize.ts +0 -0
- package/extensions/nextcloud-talk/src/onboarding.ts +0 -0
- package/extensions/nextcloud-talk/src/policy.ts +0 -0
- package/extensions/nextcloud-talk/src/replay-guard.ts +0 -0
- package/extensions/nextcloud-talk/src/room-info.ts +0 -0
- package/extensions/nextcloud-talk/src/runtime.ts +0 -0
- package/extensions/nextcloud-talk/src/send.ts +0 -0
- package/extensions/nextcloud-talk/src/signature.ts +0 -0
- package/extensions/nextcloud-talk/src/types.ts +0 -0
- package/extensions/nostr/CHANGELOG.md +6 -0
- package/extensions/nostr/README.md +0 -0
- package/extensions/nostr/fased.plugin.json +0 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/nostr/src/channel.ts +0 -0
- package/extensions/nostr/src/config-schema.ts +0 -0
- package/extensions/nostr/src/metrics.ts +0 -0
- package/extensions/nostr/src/nostr-bus.ts +0 -0
- package/extensions/nostr/src/nostr-profile-http.ts +0 -0
- package/extensions/nostr/src/nostr-profile-import.ts +0 -0
- package/extensions/nostr/src/nostr-profile.ts +0 -0
- package/extensions/nostr/src/nostr-state-store.ts +0 -0
- package/extensions/nostr/src/onboarding.ts +0 -0
- package/extensions/nostr/src/runtime.ts +0 -0
- package/extensions/nostr/src/seen-tracker.ts +0 -0
- package/extensions/nostr/src/types.ts +0 -0
- package/extensions/nostr/test/setup.ts +0 -0
- package/extensions/open-prose/README.md +0 -0
- package/extensions/open-prose/fased.plugin.json +0 -0
- package/extensions/open-prose/package.json +1 -1
- package/extensions/open-prose/skills/prose/LICENSE +0 -0
- package/extensions/open-prose/skills/prose/SKILL.md +0 -0
- package/extensions/open-prose/skills/prose/alt-borges.md +0 -0
- package/extensions/open-prose/skills/prose/alts/arabian-nights.md +0 -0
- package/extensions/open-prose/skills/prose/alts/borges.md +0 -0
- package/extensions/open-prose/skills/prose/alts/folk.md +0 -0
- package/extensions/open-prose/skills/prose/alts/homer.md +0 -0
- package/extensions/open-prose/skills/prose/alts/kafka.md +0 -0
- package/extensions/open-prose/skills/prose/compiler.md +0 -0
- package/extensions/open-prose/skills/prose/examples/01-hello-world.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/02-research-and-summarize.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/03-code-review.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/04-write-and-refine.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/05-debug-issue.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/06-explain-codebase.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/07-refactor.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/08-blog-post.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/09-research-with-agents.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/10-code-review-agents.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/11-skills-and-imports.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/12-secure-agent-permissions.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/13-variables-and-context.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/14-composition-blocks.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/15-inline-sequences.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/16-parallel-reviews.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/17-parallel-research.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/18-mixed-parallel-sequential.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/19-advanced-parallel.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/20-fixed-loops.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/21-pipeline-operations.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/22-error-handling.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/23-retry-with-backoff.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/24-choice-blocks.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/25-conditionals.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/26-parameterized-blocks.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/27-string-interpolation.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/28-automated-pr-review.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/28-gas-town.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/29-captains-chair.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/30-captains-chair-simple.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/31-captains-chair-with-memory.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/33-pr-review-autofix.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/34-content-pipeline.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/35-feature-factory.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/36-bug-hunter.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/37-the-forge.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/38-skill-scan.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/39-architect-by-simulation.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/40-rlm-self-refine.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/41-rlm-divide-conquer.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/42-rlm-filter-recurse.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/43-rlm-pairwise.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/44-run-endpoint-ux-test.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/45-plugin-release.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/45-run-endpoint-ux-test-with-remediation.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/46-run-endpoint-ux-test-fast.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/46-workflow-crystallizer.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/47-language-self-improvement.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/48-habit-miner.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/49-prose-run-retrospective.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/README.md +0 -0
- package/extensions/open-prose/skills/prose/examples/roadmap/README.md +0 -0
- package/extensions/open-prose/skills/prose/examples/roadmap/iterative-refinement.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/roadmap/parallel-review.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/roadmap/simple-pipeline.prose +0 -0
- package/extensions/open-prose/skills/prose/examples/roadmap/syntax/open-prose-syntax.prose +0 -0
- package/extensions/open-prose/skills/prose/guidance/antipatterns.md +0 -0
- package/extensions/open-prose/skills/prose/guidance/patterns.md +0 -0
- package/extensions/open-prose/skills/prose/guidance/system-prompt.md +0 -0
- package/extensions/open-prose/skills/prose/help.md +0 -0
- package/extensions/open-prose/skills/prose/lib/README.md +0 -0
- package/extensions/open-prose/skills/prose/lib/calibrator.prose +0 -0
- package/extensions/open-prose/skills/prose/lib/cost-analyzer.prose +0 -0
- package/extensions/open-prose/skills/prose/lib/error-forensics.prose +0 -0
- package/extensions/open-prose/skills/prose/lib/inspector.prose +0 -0
- package/extensions/open-prose/skills/prose/lib/profiler.prose +0 -0
- package/extensions/open-prose/skills/prose/lib/program-improver.prose +0 -0
- package/extensions/open-prose/skills/prose/lib/project-memory.prose +0 -0
- package/extensions/open-prose/skills/prose/lib/user-memory.prose +0 -0
- package/extensions/open-prose/skills/prose/lib/vm-improver.prose +0 -0
- package/extensions/open-prose/skills/prose/primitives/session.md +0 -0
- package/extensions/open-prose/skills/prose/prose.md +0 -0
- package/extensions/open-prose/skills/prose/state/filesystem.md +0 -0
- package/extensions/open-prose/skills/prose/state/in-context.md +0 -0
- package/extensions/open-prose/skills/prose/state/postgres.md +0 -0
- package/extensions/open-prose/skills/prose/state/sqlite.md +0 -0
- package/extensions/phone-control/fased.plugin.json +0 -0
- package/extensions/qwen-portal-auth/README.md +0 -0
- package/extensions/qwen-portal-auth/fased.plugin.json +0 -0
- package/extensions/qwen-portal-auth/oauth.ts +0 -0
- package/extensions/sat-mining/fased.plugin.json +0 -0
- package/extensions/sat-mining/package.json +1 -1
- package/extensions/sat-mining/skills/sat-mining/SKILL.md +0 -0
- package/extensions/sat-mining/src/audit-store.ts +0 -0
- package/extensions/sat-mining/src/auto-planner.ts +0 -0
- package/extensions/sat-mining/src/chain-time.ts +0 -0
- package/extensions/sat-mining/src/client.ts +0 -0
- package/extensions/sat-mining/src/cycle-progress.ts +0 -0
- package/extensions/sat-mining/src/dispute-review.ts +0 -0
- package/extensions/sat-mining/src/hash-spec.ts +0 -0
- package/extensions/sat-mining/src/planner-analytics.ts +0 -0
- package/extensions/sat-mining/src/planner-outcomes.ts +0 -0
- package/extensions/sat-mining/src/planner-policy-eval.ts +0 -0
- package/extensions/sat-mining/src/planner-policy.ts +0 -0
- package/extensions/sat-mining/src/recovery-service.ts +0 -0
- package/extensions/sat-mining/src/replay.ts +0 -0
- package/extensions/sat-mining/src/service-read-timeout.ts +0 -0
- package/extensions/sat-mining/src/strategy-base.ts +0 -0
- package/extensions/sat-mining/src/strategy-engine.ts +0 -0
- package/extensions/sat-mining/src/strategy-validate.ts +0 -0
- package/extensions/shared/resolve-target-test-helpers.ts +0 -0
- package/extensions/signal/fased.plugin.json +0 -0
- package/extensions/signal/package.json +1 -1
- package/extensions/signal/src/channel.ts +0 -0
- package/extensions/signal/src/runtime.ts +0 -0
- package/extensions/synology-chat/fased.plugin.json +0 -0
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/synology-chat/src/accounts.ts +0 -0
- package/extensions/synology-chat/src/channel.ts +0 -0
- package/extensions/synology-chat/src/client.ts +0 -0
- package/extensions/synology-chat/src/runtime.ts +0 -0
- package/extensions/synology-chat/src/security.ts +0 -0
- package/extensions/synology-chat/src/types.ts +0 -0
- package/extensions/synology-chat/src/webhook-handler.ts +0 -0
- package/extensions/talk-voice/fased.plugin.json +0 -0
- package/extensions/thread-ownership/fased.plugin.json +0 -0
- package/extensions/tlon/README.md +0 -0
- package/extensions/tlon/fased.plugin.json +0 -0
- package/extensions/tlon/package.json +1 -1
- package/extensions/tlon/src/account-fields.ts +0 -0
- package/extensions/tlon/src/channel.ts +0 -0
- package/extensions/tlon/src/config-schema.ts +0 -0
- package/extensions/tlon/src/monitor/discovery.ts +0 -0
- package/extensions/tlon/src/monitor/history.ts +0 -0
- package/extensions/tlon/src/monitor/processed-messages.ts +0 -0
- package/extensions/tlon/src/monitor/utils.ts +0 -0
- package/extensions/tlon/src/onboarding.ts +0 -0
- package/extensions/tlon/src/runtime.ts +0 -0
- package/extensions/tlon/src/targets.ts +0 -0
- package/extensions/tlon/src/types.ts +0 -0
- package/extensions/tlon/src/urbit/auth.ts +0 -0
- package/extensions/tlon/src/urbit/base-url.ts +0 -0
- package/extensions/tlon/src/urbit/channel-client.ts +0 -0
- package/extensions/tlon/src/urbit/channel-ops.ts +0 -0
- package/extensions/tlon/src/urbit/context.ts +0 -0
- package/extensions/tlon/src/urbit/errors.ts +0 -0
- package/extensions/tlon/src/urbit/fetch.ts +0 -0
- package/extensions/tlon/src/urbit/send.ts +0 -0
- package/extensions/tlon/src/urbit/sse-client.ts +0 -0
- package/extensions/twitch/CHANGELOG.md +6 -0
- package/extensions/twitch/README.md +0 -0
- package/extensions/twitch/fased.plugin.json +0 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/twitch/src/access-control.ts +0 -0
- package/extensions/twitch/src/actions.ts +0 -0
- package/extensions/twitch/src/client-manager-registry.ts +0 -0
- package/extensions/twitch/src/config-schema.ts +0 -0
- package/extensions/twitch/src/config.ts +0 -0
- package/extensions/twitch/src/monitor.ts +0 -0
- package/extensions/twitch/src/onboarding.ts +0 -0
- package/extensions/twitch/src/outbound.ts +0 -0
- package/extensions/twitch/src/probe.ts +0 -0
- package/extensions/twitch/src/resolver.ts +0 -0
- package/extensions/twitch/src/runtime.ts +0 -0
- package/extensions/twitch/src/send.ts +0 -0
- package/extensions/twitch/src/status.ts +0 -0
- package/extensions/twitch/src/test-fixtures.ts +0 -0
- package/extensions/twitch/src/twitch-client.ts +0 -0
- package/extensions/twitch/src/utils/markdown.ts +0 -0
- package/extensions/twitch/src/utils/twitch.ts +0 -0
- package/extensions/twitch/test/setup.ts +0 -0
- package/extensions/voice-call/CHANGELOG.md +6 -0
- package/extensions/voice-call/README.md +0 -0
- package/extensions/voice-call/fased.plugin.json +0 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/voice-call/src/allowlist.ts +0 -0
- package/extensions/voice-call/src/cli.ts +0 -0
- package/extensions/voice-call/src/core-bridge.ts +0 -0
- package/extensions/voice-call/src/http-headers.ts +0 -0
- package/extensions/voice-call/src/manager/context.ts +0 -0
- package/extensions/voice-call/src/manager/events.ts +0 -0
- package/extensions/voice-call/src/manager/lookup.ts +0 -0
- package/extensions/voice-call/src/manager/outbound.ts +0 -0
- package/extensions/voice-call/src/manager/state.ts +0 -0
- package/extensions/voice-call/src/manager/store.ts +0 -0
- package/extensions/voice-call/src/manager/timers.ts +0 -0
- package/extensions/voice-call/src/manager/twiml.ts +0 -0
- package/extensions/voice-call/src/manager.ts +0 -0
- package/extensions/voice-call/src/media-stream.ts +0 -0
- package/extensions/voice-call/src/providers/base.ts +0 -0
- package/extensions/voice-call/src/providers/mock.ts +0 -0
- package/extensions/voice-call/src/providers/plivo.ts +0 -0
- package/extensions/voice-call/src/providers/shared/guarded-json-api.ts +0 -0
- package/extensions/voice-call/src/providers/stt-openai-realtime.ts +0 -0
- package/extensions/voice-call/src/providers/telnyx.ts +0 -0
- package/extensions/voice-call/src/providers/tts-openai.ts +0 -0
- package/extensions/voice-call/src/providers/twilio/api.ts +0 -0
- package/extensions/voice-call/src/providers/twilio/webhook.ts +0 -0
- package/extensions/voice-call/src/providers/twilio.ts +0 -0
- package/extensions/voice-call/src/response-generator.ts +0 -0
- package/extensions/voice-call/src/runtime.ts +0 -0
- package/extensions/voice-call/src/telephony-audio.ts +0 -0
- package/extensions/voice-call/src/telephony-tts.ts +0 -0
- package/extensions/voice-call/src/tunnel.ts +0 -0
- package/extensions/voice-call/src/types.ts +0 -0
- package/extensions/voice-call/src/utils.ts +0 -0
- package/extensions/voice-call/src/voice-mapping.ts +0 -0
- package/extensions/voice-call/src/webhook/stale-call-reaper.ts +0 -0
- package/extensions/voice-call/src/webhook-security.ts +0 -0
- package/extensions/zalo/CHANGELOG.md +6 -0
- package/extensions/zalo/README.md +0 -0
- package/extensions/zalo/fased.plugin.json +0 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalo/src/accounts.ts +0 -0
- package/extensions/zalo/src/actions.ts +0 -0
- package/extensions/zalo/src/api.ts +0 -0
- package/extensions/zalo/src/channel.ts +0 -0
- package/extensions/zalo/src/config-schema.ts +0 -0
- package/extensions/zalo/src/group-access.ts +0 -0
- package/extensions/zalo/src/monitor.ts +0 -0
- package/extensions/zalo/src/monitor.webhook.ts +0 -0
- package/extensions/zalo/src/onboarding.ts +0 -0
- package/extensions/zalo/src/probe.ts +0 -0
- package/extensions/zalo/src/proxy.ts +0 -0
- package/extensions/zalo/src/runtime.ts +0 -0
- package/extensions/zalo/src/send.ts +0 -0
- package/extensions/zalo/src/status-issues.ts +0 -0
- package/extensions/zalo/src/token.ts +0 -0
- package/extensions/zalo/src/types.ts +0 -0
- package/extensions/zalouser/CHANGELOG.md +6 -0
- package/extensions/zalouser/README.md +0 -0
- package/extensions/zalouser/fased.plugin.json +0 -0
- package/extensions/zalouser/package.json +1 -1
- package/extensions/zalouser/src/accounts.ts +0 -0
- package/extensions/zalouser/src/channel.ts +0 -0
- package/extensions/zalouser/src/config-schema.ts +0 -0
- package/extensions/zalouser/src/monitor.ts +0 -0
- package/extensions/zalouser/src/onboarding.ts +0 -0
- package/extensions/zalouser/src/probe.ts +0 -0
- package/extensions/zalouser/src/runtime.ts +0 -0
- package/extensions/zalouser/src/send.ts +0 -0
- package/extensions/zalouser/src/status-issues.ts +0 -0
- package/extensions/zalouser/src/tool.ts +0 -0
- package/extensions/zalouser/src/types.ts +0 -0
- package/extensions/zalouser/src/zca.ts +0 -0
- package/package.json +8 -2
- package/scripts/fased-launcher-runtime.mjs +0 -0
- package/scripts/fased-managed-launcher.sh +60 -0
- package/scripts/fased-managed-service.sh +57 -0
- package/scripts/fased-managed-updater.mjs +879 -0
- package/scripts/install-managed-runtime.mjs +239 -0
- package/scripts/managed-runtime-layout.mjs +188 -0
- package/scripts/run-node.mjs +0 -0
- package/shared/sat-hash-v1.json +0 -0
- package/skills/1password/SKILL.md +0 -0
- package/skills/1password/references/cli-examples.md +0 -0
- package/skills/1password/references/get-started.md +0 -0
- package/skills/apple-notes/SKILL.md +0 -0
- package/skills/apple-reminders/SKILL.md +0 -0
- package/skills/bear-notes/SKILL.md +0 -0
- package/skills/blogwatcher/SKILL.md +0 -0
- package/skills/blucli/SKILL.md +0 -0
- package/skills/bluebubbles/SKILL.md +0 -0
- package/skills/camsnap/SKILL.md +0 -0
- package/skills/canvas/SKILL.md +0 -0
- package/skills/clawhub/SKILL.md +0 -0
- package/skills/coding-agent/SKILL.md +0 -0
- package/skills/diagram-maker/SKILL.md +0 -0
- package/skills/diagram-maker/references/excalidraw-patterns.md +0 -0
- package/skills/diagram-maker/references/svg-template.md +0 -0
- package/skills/discord/SKILL.md +0 -0
- package/skills/eightctl/SKILL.md +0 -0
- package/skills/food-order/SKILL.md +0 -0
- package/skills/gemini/SKILL.md +0 -0
- package/skills/gh-issues/SKILL.md +0 -0
- package/skills/gifgrep/SKILL.md +0 -0
- package/skills/github/SKILL.md +0 -0
- package/skills/gog/SKILL.md +0 -0
- package/skills/goplaces/SKILL.md +0 -0
- package/skills/healthcheck/SKILL.md +0 -0
- package/skills/himalaya/SKILL.md +0 -0
- package/skills/himalaya/references/configuration.md +0 -0
- package/skills/himalaya/references/message-composition.md +0 -0
- package/skills/imsg/SKILL.md +0 -0
- package/skills/mcporter/SKILL.md +0 -0
- package/skills/model-usage/SKILL.md +0 -0
- package/skills/model-usage/references/codexbar-cli.md +0 -0
- package/skills/model-usage/scripts/model_usage.py +0 -0
- package/skills/model-usage/scripts/test_model_usage.py +0 -0
- package/skills/nano-banana-pro/SKILL.md +0 -0
- package/skills/nano-pdf/SKILL.md +0 -0
- package/skills/node-connect/SKILL.md +0 -0
- package/skills/node-inspect-debugger/SKILL.md +0 -0
- package/skills/notion/SKILL.md +0 -0
- package/skills/obsidian/SKILL.md +0 -0
- package/skills/openai-image-gen/SKILL.md +0 -0
- package/skills/openai-image-gen/scripts/gen.py +0 -0
- package/skills/openai-image-gen/scripts/test_gen.py +0 -0
- package/skills/openai-whisper/SKILL.md +0 -0
- package/skills/openai-whisper-api/SKILL.md +0 -0
- package/skills/openai-whisper-api/scripts/transcribe.sh +0 -0
- package/skills/opencode/SKILL.md +0 -0
- package/skills/openhue/SKILL.md +0 -0
- package/skills/oracle/SKILL.md +0 -0
- package/skills/ordercli/SKILL.md +0 -0
- package/skills/peekaboo/SKILL.md +0 -0
- package/skills/python-debugpy/SKILL.md +0 -0
- package/skills/sag/SKILL.md +0 -0
- package/skills/session-logs/SKILL.md +0 -0
- package/skills/sherpa-onnx-tts/SKILL.md +0 -0
- package/skills/skill-creator/SKILL.md +0 -0
- package/skills/skill-creator/license.txt +0 -0
- package/skills/skill-creator/scripts/init_skill.py +0 -0
- package/skills/skill-creator/scripts/package_skill.py +0 -0
- package/skills/skill-creator/scripts/quick_validate.py +0 -0
- package/skills/skill-creator/scripts/test_package_skill.py +0 -0
- package/skills/skill-creator/scripts/test_quick_validate.py +0 -0
- package/skills/skill-workshop/SKILL.md +0 -0
- package/skills/slack/SKILL.md +0 -0
- package/skills/songsee/SKILL.md +0 -0
- package/skills/sonoscli/SKILL.md +0 -0
- package/skills/spotify-player/SKILL.md +0 -0
- package/skills/summarize/SKILL.md +0 -0
- package/skills/things-mac/SKILL.md +0 -0
- package/skills/tmux/SKILL.md +0 -0
- package/skills/trello/SKILL.md +0 -0
- package/skills/video-frames/SKILL.md +0 -0
- package/skills/video-frames/scripts/frame.sh +0 -0
- package/skills/voice-call/SKILL.md +0 -0
- package/skills/wacli/SKILL.md +0 -0
- package/skills/wallet-actions/SKILL.md +0 -0
- package/skills/weather/SKILL.md +0 -0
- package/skills/xurl/SKILL.md +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Et as isAudioAttachment, St as normalizeMediaAttachments, Tt as runCapability, bt as buildProviderRegistry, wt as resolveMediaAttachmentLocalRoots, xt as createMediaAttachmentCache } from "./config-schema-
|
|
1
|
+
import { Et as isAudioAttachment, St as normalizeMediaAttachments, Tt as runCapability, bt as buildProviderRegistry, wt as resolveMediaAttachmentLocalRoots, xt as createMediaAttachmentCache } from "./config-schema-C9tx1Lyz.js";
|
|
2
2
|
import "./runtime-Bb6KRnCC.js";
|
|
3
3
|
import "./subsystem-DBPNbQDQ.js";
|
|
4
4
|
import { i as logVerbose, s as shouldLogVerbose } from "./globals-B_jjtAje.js";
|
|
@@ -36,7 +36,7 @@ import "./manager-Y2S_5IlI.js";
|
|
|
36
36
|
import "./query-expansion-CAI2kKLQ.js";
|
|
37
37
|
import "./common-CfUOowOp.js";
|
|
38
38
|
import "./commands-registry-DmDRhRAU.js";
|
|
39
|
-
import "./runtime-dependency-
|
|
39
|
+
import "./runtime-dependency-Ch7J9a0d.js";
|
|
40
40
|
import "./path-alias-guards-DjgDArrp.js";
|
|
41
41
|
import "./fs-safe-g4g7GT02.js";
|
|
42
42
|
import "./markdown-tables-DHLFQqaF.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as DEFAULT_ACCOUNT_ID, r as normalizeAccountId } from "./session-key--_1zVBRB.js";
|
|
2
2
|
import { Y as ChannelMessageActionContext, n as ChannelPlugin, ut as getChatChannelMeta } from "./types.plugin-_fbu40Re.js";
|
|
3
|
-
import { _ as FasedAgentPluginApi, t as PluginRuntime } from "./types-
|
|
4
|
-
import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-
|
|
3
|
+
import { _ as FasedAgentPluginApi, t as PluginRuntime } from "./types-B4hj6HgR.js";
|
|
4
|
+
import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-C403mq4K.js";
|
|
5
5
|
export { type ChannelMessageActionContext, type ChannelPlugin, DEFAULT_ACCOUNT_ID, type FasedAgentPluginApi, PAIRING_APPROVED_MESSAGE, type PluginRuntime, applyAccountNameToChannelSection, buildChannelConfigSchema, deleteAccountFromConfigSection, emptyPluginConfigSchema, formatPairingApproveHint, getChatChannelMeta, migrateBaseNameToDefaultAccount, normalizeAccountId, setAccountEnabledInConfigSection };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ht as buildCommandsMessage, Ut as buildCommandsMessagePaginated, Wt as buildHelpMessage } from "./config-schema-
|
|
1
|
+
import { Ht as buildCommandsMessage, Ut as buildCommandsMessagePaginated, Wt as buildHelpMessage } from "./config-schema-C9tx1Lyz.js";
|
|
2
2
|
import "./runtime-Bb6KRnCC.js";
|
|
3
3
|
import "./subsystem-DBPNbQDQ.js";
|
|
4
4
|
import "./globals-B_jjtAje.js";
|
|
@@ -36,7 +36,7 @@ import "./manager-Y2S_5IlI.js";
|
|
|
36
36
|
import "./query-expansion-CAI2kKLQ.js";
|
|
37
37
|
import "./common-CfUOowOp.js";
|
|
38
38
|
import "./commands-registry-DmDRhRAU.js";
|
|
39
|
-
import "./runtime-dependency-
|
|
39
|
+
import "./runtime-dependency-Ch7J9a0d.js";
|
|
40
40
|
import "./path-alias-guards-DjgDArrp.js";
|
|
41
41
|
import "./fs-safe-g4g7GT02.js";
|
|
42
42
|
import "./markdown-tables-DHLFQqaF.js";
|
|
@@ -49,7 +49,7 @@ import { c as normalizeExtraMemoryPaths, s as listMemoryFiles } from "./internal
|
|
|
49
49
|
import { i as resolveQmdScopeDenial } from "./qmd-scope-CdX34VCV.js";
|
|
50
50
|
import { _ as estimateBase64DecodedBytes, a as jsonResult, d as readStringParam, f as sanitizeContentBlocksImages, g as canonicalizeBase64, h as resolveImageSanitizationLimits, i as imageResultFromFile, l as readStringArrayParam, m as sanitizeToolResultImages, n as createActionGate, p as sanitizeImageBlocks, r as imageResult, s as readNumberParam, u as readStringOrNumberParam } from "./common-CfUOowOp.js";
|
|
51
51
|
import { S as isCommandFlagEnabled, _ as normalizeElevatedLevel, a as listChatCommands, b as normalizeVerboseLevel, g as shouldHandleTextCommands, i as isCommandEnabled, l as maybeResolveTextAlias, m as resolveNativeCommandName, o as listChatCommandsForConfig, u as normalizeCommandBody, v as normalizeReasoningLevel, w as isRestartEnabled, x as resolveResponseUsageMode, y as normalizeUsageDisplay } from "./commands-registry-DmDRhRAU.js";
|
|
52
|
-
import { A as fetchJson$1, B as DEFAULT_BROWSER_EVALUATE_ENABLED, C as normalizeCdpWsUrl, D as assertBrowserNavigationResultAllowed, E as assertBrowserNavigationAllowed, F as stopChromeExtensionRelayServer, G as isLoopbackHost, H as DEFAULT_FASED_BROWSER_ENABLED, I as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, J as resolveClientIp, K as isSecureWebSocketUrl, L as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, O as withBrowserNavigationPolicy, P as ensureChromeExtensionRelayServer, R as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as InvalidBrowserNavigationUrlError, U as DEFAULT_FASED_BROWSER_PROFILE_NAME, V as DEFAULT_FASED_BROWSER_COLOR, W as isLoopbackAddress, X as rawDataToString, Y as resolveForwardedClientIp, _ as stopFasedAgentChrome, a as DEFAULT_TRACE_DIR, b as captureScreenshot, d as normalizeBrowserFormField, g as resolveFasedAgentUserDataDir, h as launchFasedAgentChrome, i as DEFAULT_DOWNLOAD_DIR, j as fetchOk, k as appendCdpPath, l as resolveWritablePathWithinRoot, m as isChromeReachable, o as DEFAULT_UPLOAD_DIR, p as isChromeCdpReady, q as isTrustedProxyAddress, r as loadReadability, s as resolveExistingPathsWithinRoot, t as loadLinkedom, v as resolveBrowserExecutableForPlatform, w as snapshotAria, x as createTargetViaCdp, y as resolveLsofCommandSync, z as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME } from "./runtime-dependency-
|
|
52
|
+
import { A as fetchJson$1, B as DEFAULT_BROWSER_EVALUATE_ENABLED, C as normalizeCdpWsUrl, D as assertBrowserNavigationResultAllowed, E as assertBrowserNavigationAllowed, F as stopChromeExtensionRelayServer, G as isLoopbackHost, H as DEFAULT_FASED_BROWSER_ENABLED, I as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, J as resolveClientIp, K as isSecureWebSocketUrl, L as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, O as withBrowserNavigationPolicy, P as ensureChromeExtensionRelayServer, R as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as InvalidBrowserNavigationUrlError, U as DEFAULT_FASED_BROWSER_PROFILE_NAME, V as DEFAULT_FASED_BROWSER_COLOR, W as isLoopbackAddress, X as rawDataToString, Y as resolveForwardedClientIp, _ as stopFasedAgentChrome, a as DEFAULT_TRACE_DIR, b as captureScreenshot, d as normalizeBrowserFormField, g as resolveFasedAgentUserDataDir, h as launchFasedAgentChrome, i as DEFAULT_DOWNLOAD_DIR, j as fetchOk, k as appendCdpPath, l as resolveWritablePathWithinRoot, m as isChromeReachable, o as DEFAULT_UPLOAD_DIR, p as isChromeCdpReady, q as isTrustedProxyAddress, r as loadReadability, s as resolveExistingPathsWithinRoot, t as loadLinkedom, v as resolveBrowserExecutableForPlatform, w as snapshotAria, x as createTargetViaCdp, y as resolveLsofCommandSync, z as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME } from "./runtime-dependency-Ch7J9a0d.js";
|
|
53
53
|
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-DjgDArrp.js";
|
|
54
54
|
import { a as writeFileWithinRoot, n as openFileWithinRoot, r as readFileWithinRoot, t as SafeOpenError } from "./fs-safe-g4g7GT02.js";
|
|
55
55
|
import { n as resolveMarkdownTableMode } from "./markdown-tables-DHLFQqaF.js";
|
|
@@ -97,7 +97,7 @@ import { AsyncLocalStorage } from "node:async_hooks";
|
|
|
97
97
|
import readline from "node:readline";
|
|
98
98
|
import { createJiti } from "jiti";
|
|
99
99
|
import { Type } from "@sinclair/typebox";
|
|
100
|
-
import WebSocket, { WebSocket
|
|
100
|
+
import WebSocket$1, { WebSocket } from "ws";
|
|
101
101
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
102
102
|
import net from "node:net";
|
|
103
103
|
import { request } from "node:https";
|
|
@@ -12568,7 +12568,7 @@ var GatewayClient = class {
|
|
|
12568
12568
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
12569
12569
|
});
|
|
12570
12570
|
}
|
|
12571
|
-
this.ws = new WebSocket
|
|
12571
|
+
this.ws = new WebSocket(url, wsOptions);
|
|
12572
12572
|
this.ws.on("open", () => {
|
|
12573
12573
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
12574
12574
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -12764,7 +12764,7 @@ var GatewayClient = class {
|
|
|
12764
12764
|
const connectChallengeTimeoutMs = typeof rawConnectDelayMs === "number" && Number.isFinite(rawConnectDelayMs) ? Math.max(250, Math.min(1e4, rawConnectDelayMs)) : 2e3;
|
|
12765
12765
|
if (this.connectTimer) clearTimeout(this.connectTimer);
|
|
12766
12766
|
this.connectTimer = setTimeout(() => {
|
|
12767
|
-
if (this.connectSent || this.ws?.readyState !== WebSocket
|
|
12767
|
+
if (this.connectSent || this.ws?.readyState !== WebSocket.OPEN) return;
|
|
12768
12768
|
this.opts.onConnectError?.(/* @__PURE__ */ new Error("gateway connect challenge timeout"));
|
|
12769
12769
|
this.ws?.close(1008, "connect challenge timeout");
|
|
12770
12770
|
}, connectChallengeTimeoutMs);
|
|
@@ -12806,7 +12806,7 @@ var GatewayClient = class {
|
|
|
12806
12806
|
return null;
|
|
12807
12807
|
}
|
|
12808
12808
|
async request(method, params, opts) {
|
|
12809
|
-
if (!this.ws || this.ws.readyState !== WebSocket
|
|
12809
|
+
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
12810
12810
|
const id = randomUUID();
|
|
12811
12811
|
const frame = {
|
|
12812
12812
|
type: "req",
|
|
@@ -26062,7 +26062,7 @@ function createOutboundSendDepsFromCliSource(deps) {
|
|
|
26062
26062
|
function createDefaultDeps() {
|
|
26063
26063
|
return {
|
|
26064
26064
|
sendMessageWhatsApp: async (...args) => {
|
|
26065
|
-
const { sendMessageWhatsApp } = await import("./web
|
|
26065
|
+
const { sendMessageWhatsApp } = await import("./web--wC3ZfVl.js");
|
|
26066
26066
|
return await sendMessageWhatsApp(...args);
|
|
26067
26067
|
},
|
|
26068
26068
|
sendMessageTelegram: async (...args) => {
|
|
@@ -34071,7 +34071,7 @@ function isModuleNotFoundError(err) {
|
|
|
34071
34071
|
}
|
|
34072
34072
|
async function loadPwAiModule(mode) {
|
|
34073
34073
|
try {
|
|
34074
|
-
return await import("./pw-ai-
|
|
34074
|
+
return await import("./pw-ai-BzV0f18N.js");
|
|
34075
34075
|
} catch (err) {
|
|
34076
34076
|
if (mode === "soft") return null;
|
|
34077
34077
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -34465,11 +34465,11 @@ function createProfileContext(opts, profile) {
|
|
|
34465
34465
|
const userDataDir = resolveFasedAgentUserDataDir(profile.name);
|
|
34466
34466
|
const profileState = getProfileState();
|
|
34467
34467
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
34468
|
-
await (await import("./pw-ai-
|
|
34468
|
+
await (await import("./pw-ai-BzV0f18N.js")).closePlaywrightBrowserConnection();
|
|
34469
34469
|
} catch {}
|
|
34470
34470
|
if (profileState.running) await stopRunningBrowser();
|
|
34471
34471
|
try {
|
|
34472
|
-
await (await import("./pw-ai-
|
|
34472
|
+
await (await import("./pw-ai-BzV0f18N.js")).closePlaywrightBrowserConnection();
|
|
34473
34473
|
} catch {}
|
|
34474
34474
|
if (!fs.existsSync(userDataDir)) return {
|
|
34475
34475
|
moved: false,
|
|
@@ -94179,7 +94179,7 @@ const signalMessageActions = {
|
|
|
94179
94179
|
//#region src/channels/plugins/actions/telegram.ts
|
|
94180
94180
|
const providerId = "telegram";
|
|
94181
94181
|
async function loadTelegramActionHandler() {
|
|
94182
|
-
const { handleTelegramAction } = await import("./telegram-actions-
|
|
94182
|
+
const { handleTelegramAction } = await import("./telegram-actions-DoFTGX4z.js");
|
|
94183
94183
|
return handleTelegramAction;
|
|
94184
94184
|
}
|
|
94185
94185
|
function readTelegramSendParams(params) {
|
|
@@ -96589,7 +96589,7 @@ function buildPairingReply(params) {
|
|
|
96589
96589
|
|
|
96590
96590
|
//#endregion
|
|
96591
96591
|
//#region src/brand.ts
|
|
96592
|
-
const FASED_PRODUCT_VERSION = "0.1.
|
|
96592
|
+
const FASED_PRODUCT_VERSION = "0.1.60";
|
|
96593
96593
|
const FASED_DISPLAY_VERSION = `v${FASED_PRODUCT_VERSION}`;
|
|
96594
96594
|
|
|
96595
96595
|
//#endregion
|
|
@@ -100500,7 +100500,7 @@ const sendPollDiscordLazy = async (...args) => {
|
|
|
100500
100500
|
return sendPollDiscord(...args);
|
|
100501
100501
|
};
|
|
100502
100502
|
const monitorDiscordProviderLazy = async (...args) => {
|
|
100503
|
-
const { monitorDiscordProvider } = await import("./monitor-
|
|
100503
|
+
const { monitorDiscordProvider } = await import("./monitor-XbunF2-r.js");
|
|
100504
100504
|
return monitorDiscordProvider(...args);
|
|
100505
100505
|
};
|
|
100506
100506
|
const listSlackDirectoryGroupsLiveLazy = async (...args) => {
|
|
@@ -100528,7 +100528,7 @@ const sendMessageSlackLazy = async (...args) => {
|
|
|
100528
100528
|
return sendMessageSlack(...args);
|
|
100529
100529
|
};
|
|
100530
100530
|
const monitorSlackProviderLazy = async (...args) => {
|
|
100531
|
-
const { monitorSlackProvider } = await import("./slack-
|
|
100531
|
+
const { monitorSlackProvider } = await import("./slack-BzJfCWjq.js");
|
|
100532
100532
|
return monitorSlackProvider(...args);
|
|
100533
100533
|
};
|
|
100534
100534
|
const handleSlackActionLazy = async (...args) => {
|
|
@@ -100548,7 +100548,7 @@ const sendPollTelegramLazy = async (...args) => {
|
|
|
100548
100548
|
return sendPollTelegram(...args);
|
|
100549
100549
|
};
|
|
100550
100550
|
const monitorTelegramProviderLazy = async (...args) => {
|
|
100551
|
-
const { monitorTelegramProvider } = await import("./monitor-
|
|
100551
|
+
const { monitorTelegramProvider } = await import("./monitor-Xgx6vGcg.js");
|
|
100552
100552
|
return monitorTelegramProvider(...args);
|
|
100553
100553
|
};
|
|
100554
100554
|
let webOutboundPromise = null;
|
|
@@ -100569,7 +100569,7 @@ function loadWebLoginQr() {
|
|
|
100569
100569
|
return webLoginQrPromise;
|
|
100570
100570
|
}
|
|
100571
100571
|
function loadWebChannel() {
|
|
100572
|
-
webChannelPromise ??= import("./web
|
|
100572
|
+
webChannelPromise ??= import("./web--wC3ZfVl.js");
|
|
100573
100573
|
return webChannelPromise;
|
|
100574
100574
|
}
|
|
100575
100575
|
function loadWhatsAppActions() {
|
|
@@ -111101,7 +111101,7 @@ function createOpenAIReasoningEffortWrapper(baseStreamFn, reasoningEffort) {
|
|
|
111101
111101
|
function createCodexDefaultTransportWrapper(baseStreamFn) {
|
|
111102
111102
|
const underlying = baseStreamFn ?? streamSimple;
|
|
111103
111103
|
return (model, context, options) => {
|
|
111104
|
-
if (typeof process !== "undefined" && process.versions?.node) globalThis.WebSocket = WebSocket;
|
|
111104
|
+
if (typeof process !== "undefined" && process.versions?.node) globalThis.WebSocket = WebSocket$1;
|
|
111105
111105
|
return underlying(model, context, {
|
|
111106
111106
|
...options,
|
|
111107
111107
|
transport: options?.transport ?? "auto"
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { _ as FasedAgentPluginApi } from "./types-
|
|
1
|
+
import { _ as FasedAgentPluginApi } from "./types-B4hj6HgR.js";
|
|
2
2
|
import { a as listDevicePairing, i as approveDevicePairing, n as resolveTailnetHostWithRunner, r as resolveGatewayBindUrl, t as runPluginCommandWithTimeout } from "./run-command-i_W6EFb1.js";
|
|
3
3
|
export { type FasedAgentPluginApi, approveDevicePairing, listDevicePairing, resolveGatewayBindUrl, resolveTailnetHostWithRunner, runPluginCommandWithTimeout };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as DEFAULT_ACCOUNT_ID, r as normalizeAccountId } from "./session-key--_1zVBRB.js";
|
|
2
2
|
import { At as FasedAgentConfig, F as ChannelAccountSnapshot, J as ChannelMessageActionAdapter, it as ChannelStatusIssue, n as ChannelPlugin, on as DiscordAccountConfig, r as ChannelOnboardingAdapter, u as ChannelMessageActionName, ut as getChatChannelMeta } from "./types.plugin-_fbu40Re.js";
|
|
3
|
-
import { Bt as resolveDefaultGroupPolicy, Cn as readStringParam, Gt as listSlackDirectoryGroupsFromConfig, Jt as listTelegramDirectoryPeersFromConfig, Kt as listSlackDirectoryPeersFromConfig, Ut as listDiscordDirectoryGroupsFromConfig, Vt as resolveOpenProviderRuntimeGroupPolicy, Wt as listDiscordDirectoryPeersFromConfig, Xt as listWhatsAppDirectoryPeersFromConfig, Yt as listWhatsAppDirectoryGroupsFromConfig, Zt as collectDiscordAuditChannelIds, _ as FasedAgentPluginApi, qt as listTelegramDirectoryGroupsFromConfig, t as PluginRuntime, yn as createActionGate, zt as resolveAllowlistProviderRuntimeGroupPolicy } from "./types-
|
|
4
|
-
import { D as normalizeE164 } from "./types-
|
|
5
|
-
import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-
|
|
3
|
+
import { Bt as resolveDefaultGroupPolicy, Cn as readStringParam, Gt as listSlackDirectoryGroupsFromConfig, Jt as listTelegramDirectoryPeersFromConfig, Kt as listSlackDirectoryPeersFromConfig, Ut as listDiscordDirectoryGroupsFromConfig, Vt as resolveOpenProviderRuntimeGroupPolicy, Wt as listDiscordDirectoryPeersFromConfig, Xt as listWhatsAppDirectoryPeersFromConfig, Yt as listWhatsAppDirectoryGroupsFromConfig, Zt as collectDiscordAuditChannelIds, _ as FasedAgentPluginApi, qt as listTelegramDirectoryGroupsFromConfig, t as PluginRuntime, yn as createActionGate, zt as resolveAllowlistProviderRuntimeGroupPolicy } from "./types-B4hj6HgR.js";
|
|
4
|
+
import { D as normalizeE164 } from "./types-dWZFX1fk.js";
|
|
5
|
+
import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-C403mq4K.js";
|
|
6
6
|
import { _ as buildTokenChannelStatusSummary, i as resolveDiscordGroupToolPolicy, r as resolveDiscordGroupRequireMention } from "./group-mentions-BHRff6j8.js";
|
|
7
|
-
import { t as DiscordConfigSchema } from "./zod-schema.providers-core-
|
|
7
|
+
import { t as DiscordConfigSchema } from "./zod-schema.providers-core-FaYR6KdD.js";
|
|
8
8
|
|
|
9
9
|
//#region src/discord/accounts.d.ts
|
|
10
10
|
type ResolvedDiscordAccount = {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as ChatType } from "./chat-type-CK5stkc4.js";
|
|
2
2
|
import { n as DEFAULT_ACCOUNT_ID, r as normalizeAccountId, t as resolveThreadSessionKeys } from "./session-key--_1zVBRB.js";
|
|
3
3
|
import { $ as ChannelPollContext, $t as MSTeamsReplyStyle, A as ChannelSecurityAdapter, An as SafeBinProfileFixture, At as FasedAgentConfig, B as ChannelCapabilities, C as ChannelLogoutResult, Cn as BlockStreamingCoalesceConfig, Ct as RuntimeEnv, D as ChannelResolveKind, Dn as MarkdownConfig, Dt as resolveIMessageAccount, E as ChannelPairingAdapter, Et as resolveDefaultIMessageAccountId, F as ChannelAccountSnapshot, G as ChannelId, H as ChannelDirectoryEntryKind, I as ChannelAccountState, J as ChannelMessageActionAdapter, K as ChannelLogSink, M as ChannelStatusAdapter, Mn as ReplyPayload, N as BaseProbeResult, Nn as CHANNEL_MESSAGE_ACTION_NAMES, O as ChannelResolveResult, On as MarkdownTableMode, P as BaseTokenResolution, Pt as ModelProviderConfig, Q as ChannelOutboundTargetMode, Qt as MSTeamsConfig, R as ChannelAgentTool, S as ChannelLogoutContext, T as ChannelOutboundContext, Tn as GroupPolicy, Tt as listIMessageAccountIds, U as ChannelGroupContext, V as ChannelDirectoryEntry, W as ChannelHeartbeatDeps, X as ChannelMessagingAdapter, Xt as SignalAccountConfig, Y as ChannelMessageActionContext, Z as ChannelMeta, Zt as MSTeamsChannelConfig, _ as ChannelGatewayContext, a as PromptAccountId, an as GoogleChatGroupConfig, at as ChannelStreamingAdapter, b as ChannelLoginWithQrStartResult, bn as GroupToolPolicyBySenderConfig, ct as ChannelThreadingToolContext, d as ChannelAuthAdapter, dt as OutboundDeliveryResult, en as MSTeamsTeamConfig, et as ChannelPollResult, f as ChannelCommandAdapter, g as ChannelGatewayAdapter, h as ChannelElevatedAdapter, i as ChannelOnboardingDmPolicy, in as GoogleChatDmConfig, it as ChannelStatusIssue, j as ChannelSetupAdapter, jn as GetReplyOptions, k as ChannelResolverAdapter, ln as ChunkMode, lt as ChannelToolSend, m as ChannelDirectoryAdapter, n as ChannelPlugin, nn as GoogleChatActionConfig, nt as ChannelSecurityDmPolicy, o as WizardPrompter, ot as ChannelThreadingAdapter, p as ChannelConfigAdapter, q as ChannelMentionAdapter, r as ChannelOnboardingAdapter, rn as GoogleChatConfig, rt as ChannelSetupInput, s as loadConfig, sn as DmConfig, st as ChannelThreadingContext, t as ChannelConfigSchema, tn as GoogleChatAccountConfig, tt as ChannelSecurityContext, u as ChannelMessageActionName, ut as getChatChannelMeta, v as ChannelGroupAdapter, w as ChannelOutboundAdapter, wn as DmPolicy, wt as ResolvedIMessageAccount, x as ChannelLoginWithQrWaitResult, xn as GroupToolPolicyConfig, y as ChannelHeartbeatAdapter, yn as PollInput, z as ChannelAgentToolFactory } from "./types.plugin-_fbu40Re.js";
|
|
4
|
-
import { $ as RealtimeVoiceBridge, $t as extensionForMime, A as ProviderPlugin, At as LineAccountConfig, B as GeneratedVideoAsset, Bt as resolveDefaultGroupPolicy, C as ProviderAuthContext, Cn as readStringParam, Ct as ImageGenerationSourceImage, D as ProviderCatalogContext, Dn as SessionEntry, Dt as normalizeAccountId$1, E as ProviderAuthResult, En as SessionAcpMeta, Et as listLineAccountIds, F as RealtimeTranscriptionProviderPlugin, Ft as formatLocationText, G as VideoGenerationProviderCapabilities, H as VideoGenerationMode, Ht as warnMissingProviderGroupPolicyFallbackOnce, I as RealtimeVoiceProviderPlugin, It as toLocationContext, J as VideoGenerationResolution, K as VideoGenerationProviderConfiguredContext, L as VideoGenerationProviderPlugin, M as ProviderPluginWizard, Mt as LineConfig, N as ProviderPluginWizardModelPicker, Nt as ResolvedLineAccount, O as ProviderCatalogOrder, On as SessionSystemPromptReport, Ot as resolveDefaultLineAccountId, P as ProviderPluginWizardSetup, Pt as NormalizedLocation, Qt as detectMime, Rt as GROUP_POLICY_BLOCKED_LABEL, S as PluginLogger, Sn as readReactionParams, St as ImageGenerationResult, T as ProviderAuthMethod, Tn as SessionAcpIdentity, Tt as ChannelDock, U as VideoGenerationModeCapabilities, V as VideoGenerationIgnoredOverride, Vt as resolveOpenProviderRuntimeGroupPolicy, W as VideoGenerationProvider, X as VideoGenerationSourceAsset, Y as VideoGenerationResult, Z as VideoGenerationTransformCapabilities, _ as FasedAgentPluginApi, _n as createTypingCallbacks, _t as GeneratedImageAsset, a as PluginRuntimeSessionGetParams, an as resolveControlCommandGate, at as RealtimeVoiceProviderId, b as FasedAgentPluginServiceContext, bn as jsonResult, bt as ImageGenerationRequest, c as PluginRuntimeSessionListResult, cn as AckReactionScope, ct as RealtimeVoiceTool, d as PluginRuntimeAdminRpcAuditSink, dn as shouldAckReaction, dt as RealtimeTranscriptionProviderConfiguredContext, en as getFileExtension, et as RealtimeVoiceBridgeCallbacks, f as PluginRuntimeAdminRpcCallContext, fn as shouldAckReactionForWhatsApp, ft as RealtimeTranscriptionProviderId, g as PluginRegistry, gn as ResponsePrefixContext, gt as RealtimeTranscriptionSessionCreateRequest, h as PluginRuntimeAdminRpcInvoker, hn as resolveAckReaction, ht as RealtimeTranscriptionSessionCallbacks, i as PluginRuntimeSessionAuditSink, in as formatInboundFromLabel, it as RealtimeVoiceProviderConfiguredContext, j as ProviderPluginCatalog, jt as LineChannelData, k as ProviderCatalogResult, kt as resolveLineAccount, l as PluginRuntimeSessionStatus, ln as WhatsAppAckReactionMode, lt as RealtimeVoiceToolCallEvent, m as PluginRuntimeAdminRpcInvocation, mn as RoutePeerKind, mt as RealtimeTranscriptionSession, n as RuntimeLogger, nn as loadWebMedia, nt as RealtimeVoiceCloseReason, o as PluginRuntimeSessionHelpers, on as resolveToolsBySender, ot as RealtimeVoiceProviderResolveConfigContext, p as PluginRuntimeAdminRpcHelpers, pn as extractOriginalFilename, pt as RealtimeTranscriptionProviderResolveConfigContext, q as VideoGenerationRequest, r as PluginRuntimeSessionAuditEvent, rn as recordInboundSession, rt as RealtimeVoiceProviderConfig, s as PluginRuntimeSessionListParams, sn as AckReactionGateParams, st as RealtimeVoiceRole, t as PluginRuntime, tn as WebMediaResult, tt as RealtimeVoiceBridgeCreateRequest, u as PluginRuntimeAdminRpcAuditEvent, un as removeAckReactionAfterReply, ut as RealtimeTranscriptionProviderConfig, v as FasedAgentPluginConfigSchema, vn as AnyAgentTool, vt as ImageGenerationProvider, w as ProviderAuthKind, wn as AcpSessionRuntimeOptions, wt as HookEntry, x as ImageGenerationProviderPlugin, xn as readNumberParam, xt as ImageGenerationResolution, y as FasedAgentPluginService, yn as createActionGate, yt as ImageGenerationProviderConfiguredContext, zt as resolveAllowlistProviderRuntimeGroupPolicy } from "./types-
|
|
5
|
-
import { B as ExecTarget, D as normalizeE164, E as escapeRegExp, F as isBlockedHostname, I as isBlockedHostnameOrIp, L as isPrivateIpAddress, M as LookupFn, N as SsrFBlockedError, O as safeParseJson, P as SsrFPolicy, R as ExecAsk, T as clamp, _ as PushTestParams, a as GatewayClient, c as GatewayRequestHandlerOptions, d as GatewayStartupTraceSnapshot, f as ModelCatalogEntry, g as ErrorShape, h as CommandsListResult, k as sleep, l as GatewayRequestHandlers, o as GatewayRequestContext, p as ModelFeature, s as GatewayRequestHandler, u as RespondFn, z as ExecSecurity } from "./types-
|
|
4
|
+
import { $ as RealtimeVoiceBridge, $t as extensionForMime, A as ProviderPlugin, At as LineAccountConfig, B as GeneratedVideoAsset, Bt as resolveDefaultGroupPolicy, C as ProviderAuthContext, Cn as readStringParam, Ct as ImageGenerationSourceImage, D as ProviderCatalogContext, Dn as SessionEntry, Dt as normalizeAccountId$1, E as ProviderAuthResult, En as SessionAcpMeta, Et as listLineAccountIds, F as RealtimeTranscriptionProviderPlugin, Ft as formatLocationText, G as VideoGenerationProviderCapabilities, H as VideoGenerationMode, Ht as warnMissingProviderGroupPolicyFallbackOnce, I as RealtimeVoiceProviderPlugin, It as toLocationContext, J as VideoGenerationResolution, K as VideoGenerationProviderConfiguredContext, L as VideoGenerationProviderPlugin, M as ProviderPluginWizard, Mt as LineConfig, N as ProviderPluginWizardModelPicker, Nt as ResolvedLineAccount, O as ProviderCatalogOrder, On as SessionSystemPromptReport, Ot as resolveDefaultLineAccountId, P as ProviderPluginWizardSetup, Pt as NormalizedLocation, Qt as detectMime, Rt as GROUP_POLICY_BLOCKED_LABEL, S as PluginLogger, Sn as readReactionParams, St as ImageGenerationResult, T as ProviderAuthMethod, Tn as SessionAcpIdentity, Tt as ChannelDock, U as VideoGenerationModeCapabilities, V as VideoGenerationIgnoredOverride, Vt as resolveOpenProviderRuntimeGroupPolicy, W as VideoGenerationProvider, X as VideoGenerationSourceAsset, Y as VideoGenerationResult, Z as VideoGenerationTransformCapabilities, _ as FasedAgentPluginApi, _n as createTypingCallbacks, _t as GeneratedImageAsset, a as PluginRuntimeSessionGetParams, an as resolveControlCommandGate, at as RealtimeVoiceProviderId, b as FasedAgentPluginServiceContext, bn as jsonResult, bt as ImageGenerationRequest, c as PluginRuntimeSessionListResult, cn as AckReactionScope, ct as RealtimeVoiceTool, d as PluginRuntimeAdminRpcAuditSink, dn as shouldAckReaction, dt as RealtimeTranscriptionProviderConfiguredContext, en as getFileExtension, et as RealtimeVoiceBridgeCallbacks, f as PluginRuntimeAdminRpcCallContext, fn as shouldAckReactionForWhatsApp, ft as RealtimeTranscriptionProviderId, g as PluginRegistry, gn as ResponsePrefixContext, gt as RealtimeTranscriptionSessionCreateRequest, h as PluginRuntimeAdminRpcInvoker, hn as resolveAckReaction, ht as RealtimeTranscriptionSessionCallbacks, i as PluginRuntimeSessionAuditSink, in as formatInboundFromLabel, it as RealtimeVoiceProviderConfiguredContext, j as ProviderPluginCatalog, jt as LineChannelData, k as ProviderCatalogResult, kt as resolveLineAccount, l as PluginRuntimeSessionStatus, ln as WhatsAppAckReactionMode, lt as RealtimeVoiceToolCallEvent, m as PluginRuntimeAdminRpcInvocation, mn as RoutePeerKind, mt as RealtimeTranscriptionSession, n as RuntimeLogger, nn as loadWebMedia, nt as RealtimeVoiceCloseReason, o as PluginRuntimeSessionHelpers, on as resolveToolsBySender, ot as RealtimeVoiceProviderResolveConfigContext, p as PluginRuntimeAdminRpcHelpers, pn as extractOriginalFilename, pt as RealtimeTranscriptionProviderResolveConfigContext, q as VideoGenerationRequest, r as PluginRuntimeSessionAuditEvent, rn as recordInboundSession, rt as RealtimeVoiceProviderConfig, s as PluginRuntimeSessionListParams, sn as AckReactionGateParams, st as RealtimeVoiceRole, t as PluginRuntime, tn as WebMediaResult, tt as RealtimeVoiceBridgeCreateRequest, u as PluginRuntimeAdminRpcAuditEvent, un as removeAckReactionAfterReply, ut as RealtimeTranscriptionProviderConfig, v as FasedAgentPluginConfigSchema, vn as AnyAgentTool, vt as ImageGenerationProvider, w as ProviderAuthKind, wn as AcpSessionRuntimeOptions, wt as HookEntry, x as ImageGenerationProviderPlugin, xn as readNumberParam, xt as ImageGenerationResolution, y as FasedAgentPluginService, yn as createActionGate, yt as ImageGenerationProviderConfiguredContext, zt as resolveAllowlistProviderRuntimeGroupPolicy } from "./types-B4hj6HgR.js";
|
|
5
|
+
import { B as ExecTarget, D as normalizeE164, E as escapeRegExp, F as isBlockedHostname, I as isBlockedHostnameOrIp, L as isPrivateIpAddress, M as LookupFn, N as SsrFBlockedError, O as safeParseJson, P as SsrFPolicy, R as ExecAsk, T as clamp, _ as PushTestParams, a as GatewayClient, c as GatewayRequestHandlerOptions, d as GatewayStartupTraceSnapshot, f as ModelCatalogEntry, g as ErrorShape, h as CommandsListResult, k as sleep, l as GatewayRequestHandlers, o as GatewayRequestContext, p as ModelFeature, s as GatewayRequestHandler, u as RespondFn, z as ExecSecurity } from "./types-dWZFX1fk.js";
|
|
6
6
|
import { a as VerboseLevel, i as ThinkLevel, n as SkillSnapshot, r as ReasoningLevel } from "./types-DyhXnYUr.js";
|
|
7
|
-
import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-
|
|
7
|
+
import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-C403mq4K.js";
|
|
8
8
|
import { a as listDevicePairing, i as approveDevicePairing, n as resolveTailnetHostWithRunner, o as rejectDevicePairing, r as resolveGatewayBindUrl, t as runPluginCommandWithTimeout } from "./run-command-i_W6EFb1.js";
|
|
9
9
|
import { _ as buildTokenChannelStatusSummary, a as resolveGoogleChatGroupRequireMention, c as resolveIMessageGroupToolPolicy, g as buildBaseChannelStatusSummary, h as buildBaseAccountStatusSnapshot, n as resolveBlueBubblesGroupToolPolicy, o as resolveGoogleChatGroupToolPolicy, s as resolveIMessageGroupRequireMention, t as resolveBlueBubblesGroupRequireMention, v as collectStatusIssuesFromLastError, y as createDefaultChannelRuntimeState } from "./group-mentions-BHRff6j8.js";
|
|
10
|
-
import { a as SignalConfigSchema, i as MSTeamsConfigSchema, n as GoogleChatConfigSchema, r as IMessageConfigSchema } from "./zod-schema.providers-core-
|
|
11
|
-
import { n as fetchWithSsrFGuard, r as listAgentIds, s as resolveDefaultAgentId, t as resolvePreferredFasedAgentTmpDir } from "./tmp-fased-dir-
|
|
10
|
+
import { a as SignalConfigSchema, i as MSTeamsConfigSchema, n as GoogleChatConfigSchema, r as IMessageConfigSchema } from "./zod-schema.providers-core-FaYR6KdD.js";
|
|
11
|
+
import { n as fetchWithSsrFGuard, r as listAgentIds, s as resolveDefaultAgentId, t as resolvePreferredFasedAgentTmpDir } from "./tmp-fased-dir-Ouj58axY.js";
|
|
12
12
|
import { ImageContent } from "@mariozechner/pi-ai";
|
|
13
13
|
import { AgentMessage } from "@mariozechner/pi-agent-core";
|
|
14
14
|
import * as _sinclair_typebox0 from "@sinclair/typebox";
|
|
@@ -221,7 +221,7 @@ declare const BLUEBUBBLES_ACTIONS: {
|
|
|
221
221
|
};
|
|
222
222
|
};
|
|
223
223
|
declare const BLUEBUBBLES_ACTION_NAMES: (keyof typeof BLUEBUBBLES_ACTIONS)[];
|
|
224
|
-
declare const BLUEBUBBLES_GROUP_ACTIONS: Set<"
|
|
224
|
+
declare const BLUEBUBBLES_GROUP_ACTIONS: Set<"reactions" | "search" | "sticker" | "permissions" | "edit" | "unsend" | "reply" | "sendWithEffect" | "renameGroup" | "setGroupIcon" | "addParticipant" | "removeParticipant" | "leaveGroup" | "sendAttachment" | "send" | "broadcast" | "poll" | "react" | "read" | "delete" | "pin" | "unpin" | "list-pins" | "thread-create" | "thread-list" | "thread-reply" | "sticker-search" | "member-info" | "role-info" | "emoji-list" | "emoji-upload" | "sticker-upload" | "role-add" | "role-remove" | "channel-info" | "channel-list" | "channel-create" | "channel-edit" | "channel-delete" | "channel-move" | "category-create" | "category-edit" | "category-delete" | "topic-create" | "voice-status" | "event-list" | "event-create" | "timeout" | "kick" | "ban" | "set-presence">;
|
|
225
225
|
//#endregion
|
|
226
226
|
//#region src/plugins/http-path.d.ts
|
|
227
227
|
declare function normalizePluginHttpPath(path?: string | null, fallback?: string | null): string | null;
|
|
@@ -320,15 +320,15 @@ declare const DmConfigSchema: z.ZodObject<{
|
|
|
320
320
|
historyLimit: z.ZodOptional<z.ZodNumber>;
|
|
321
321
|
}, z.core.$strict>;
|
|
322
322
|
declare const GroupPolicySchema: z.ZodEnum<{
|
|
323
|
+
allowlist: "allowlist";
|
|
323
324
|
open: "open";
|
|
324
325
|
disabled: "disabled";
|
|
325
|
-
allowlist: "allowlist";
|
|
326
326
|
}>;
|
|
327
327
|
declare const DmPolicySchema: z.ZodEnum<{
|
|
328
|
+
pairing: "pairing";
|
|
329
|
+
allowlist: "allowlist";
|
|
328
330
|
open: "open";
|
|
329
331
|
disabled: "disabled";
|
|
330
|
-
allowlist: "allowlist";
|
|
331
|
-
pairing: "pairing";
|
|
332
332
|
}>;
|
|
333
333
|
declare const BlockStreamingCoalesceSchema: z.ZodObject<{
|
|
334
334
|
minChars: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2431,15 +2431,15 @@ declare const LineConfigSchema: z.ZodObject<{
|
|
|
2431
2431
|
allowFrom: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2432
2432
|
groupAllowFrom: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2433
2433
|
dmPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2434
|
+
pairing: "pairing";
|
|
2435
|
+
allowlist: "allowlist";
|
|
2434
2436
|
open: "open";
|
|
2435
2437
|
disabled: "disabled";
|
|
2436
|
-
allowlist: "allowlist";
|
|
2437
|
-
pairing: "pairing";
|
|
2438
2438
|
}>>>;
|
|
2439
2439
|
groupPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2440
|
+
allowlist: "allowlist";
|
|
2440
2441
|
open: "open";
|
|
2441
2442
|
disabled: "disabled";
|
|
2442
|
-
allowlist: "allowlist";
|
|
2443
2443
|
}>>>;
|
|
2444
2444
|
responsePrefix: z.ZodOptional<z.ZodString>;
|
|
2445
2445
|
mediaMaxMb: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2454,15 +2454,15 @@ declare const LineConfigSchema: z.ZodObject<{
|
|
|
2454
2454
|
allowFrom: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2455
2455
|
groupAllowFrom: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2456
2456
|
dmPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2457
|
+
pairing: "pairing";
|
|
2458
|
+
allowlist: "allowlist";
|
|
2457
2459
|
open: "open";
|
|
2458
2460
|
disabled: "disabled";
|
|
2459
|
-
allowlist: "allowlist";
|
|
2460
|
-
pairing: "pairing";
|
|
2461
2461
|
}>>>;
|
|
2462
2462
|
groupPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2463
|
+
allowlist: "allowlist";
|
|
2463
2464
|
open: "open";
|
|
2464
2465
|
disabled: "disabled";
|
|
2465
|
-
allowlist: "allowlist";
|
|
2466
2466
|
}>>>;
|
|
2467
2467
|
responsePrefix: z.ZodOptional<z.ZodString>;
|
|
2468
2468
|
mediaMaxMb: z.ZodOptional<z.ZodNumber>;
|
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $r as resolveWebhookTargets, Ai as canonicalizeRealtimeTranscriptionProviderId, B as logAckFailure, Bi as extractDashscopeVideoUrls, Bn as requestBodyErrorToText, Br as createInfoCard, C as resolveEffectiveToolInventory, D as runEmbeddedPiAgent, Di as getRealtimeVoiceProvider, E as ACPX_PUSH_TEST_WRAPPER_ID, Ei as canonicalizeRealtimeVoiceProviderId, En as AcpRuntimeError, F as resolveMentionGatingWithBypass, Fi as DEFAULT_VIDEO_GENERATION_TIMEOUT_MS, Fn as RequestBodyLimitError, Fr as processLineMessage, Gi as resolveAllowlistMatchSimple, Gr as createLoggerBackedRuntime, H as logTypingFailure, Hi as resolveVideoGenerationReferenceUrls, Hn as resolveChannelMediaMaxBytes, I as listLineAccountIds, Ii as DEFAULT_VIDEO_RESOLUTION_TO_SIZE, In as installRequestBodyLimitGuard, Ir as stripMarkdown, J as shouldAckReaction, Ji as BLUEBUBBLES_GROUP_ACTIONS, Jn as DEFAULT_FEDERATION_BASE_URL, K as recordInboundSession, Ki as BLUEBUBBLES_ACTIONS, Kr as createPersistentDedupe, L as normalizeAccountId$1, Li as buildDashscopeVideoGenerationInput, Ln as isRequestBodyLimitError, Lr as createReceiptCard, M as issuePairingChallenge, Mi as listRealtimeTranscriptionProviders, N as createTypingCallbacks, Ni as normalizeRealtimeTranscriptionProviderId, Nn as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, Oi as listRealtimeVoiceProviders, P as resolveMentionGating, Pi as DEFAULT_VIDEO_GENERATION_DURATION_SECONDS, Pn as DEFAULT_WEBHOOK_MAX_BODY_BYTES, Pr as hasMarkdownToConvert, Qn as resolveFederationHandle, Qr as resolveSingleWebhookTargetAsync, R as resolveDefaultLineAccountId, Ri as buildDashscopeVideoGenerationParameters, Rn as readJsonBodyWithLimit, Rr as createActionCard, S as getPublicGatewayIdentity, Si as resolveEffectiveAllowFromLists, T as ACPX_PUSH_TEST_METHOD, Ti as evaluateSenderGroupAccess, Tn as unregisterAcpRuntimeBackend, Ui as registerPluginHttpRoute, Un as runFederationAutoConnectOnce, V as logInboundDrop, Vi as pollDashscopeVideoTaskUntilComplete, Vr as createListCard, Wi as formatAllowlistMatchMeta, Wn as startFederationAutoConnect, Wr as waitForAbortSignal, Xn as resolveAgentPublicOrigin, Xr as rejectNonPostWebhookRequest, Y as shouldAckReactionForWhatsApp, Yi as CHANNEL_MESSAGE_ACTION_NAMES, Yn as normalizeHandle, Yr as registerWebhookTarget, Zn as resolveFederationBaseUrl, Zr as resolveSingleWebhookTarget, _ as getGatewayUpdateStatus, _i as resolveSenderCommandAuthorization, a as normalizeIMessageMessagingTarget, ai as isHttpsUrlAllowedByHostnameSuffixAllowlist, b as getStatusSummary, bi as resolveDmGroupAccessWithCommandGate, ci as formatTextWithAttachmentLinks, cn as DEFAULT_GROUP_HISTORY_LIMIT, d as mergeAllowlist, di as buildOauthProviderAuthResult, dn as clearHistoryEntries, ei as normalizeWebhookPath, fi as createScopedPairingAccess, fn as clearHistoryEntriesIfEnabled, g as buildCommandsListResult, gi as resolveChannelAccountConfigBasePath, h as getAcpStatusSnapshot, hi as chunkTextForOutbound, hn as recordPendingHistoryEntryIfEnabled, i as looksLikeIMessageTargetId, ii as buildHostnameAllowlistPolicyFromSuffixAllowlist, in as stringEnum, ji as getRealtimeTranscriptionProvider, ki as normalizeRealtimeVoiceProviderId, li as resolveOutboundMediaUrls, m as pushHandlers, mi as buildAgentMediaPayload, mn as recordPendingHistoryEntry, n as collectBlueBubblesStatusIssues, ni as extractToolSend, nt as formatInboundFromLabel, o as imessageOnboardingAdapter, oi as normalizeHostnameSuffixAllowlist, p as summarizeMapping, pi as fetchWithBearerAuthScopeFallback, pn as evictOldHistoryKeys, q as removeAckReactionAfterReply, qi as BLUEBUBBLES_ACTION_NAMES, qr as createDedupeCache, r as signalOnboardingAdapter, ri as withTempDownloadPath, rn as optionalStringEnum, s as buildMediaPayload, si as createNormalizedOutboundDeliverer, t as LineConfigSchema, ti as resolveWebhookPath, ui as sendMediaWithLeadingCaption, un as buildPendingHistoryContextFromMap, v as buildModelCatalogStatus, vi as DM_GROUP_ACCESS_REASON, w as executeAcpxPushTestRequest, wi as resolveControlCommandGate, wn as registerAcpRuntimeBackend, x as isDangerousNameMatchingEnabled, xi as resolveDmGroupAccessWithLists, y as loadGatewayModelCatalog, yi as readStoreAllowFromForDmPolicy, z as resolveLineAccount, zi as downloadDashscopeGeneratedVideos, zn as readRequestBodyWithLimit, zr as createImageCard } from "./config-schema-
|
|
1
|
+
import { $r as resolveWebhookTargets, Ai as canonicalizeRealtimeTranscriptionProviderId, B as logAckFailure, Bi as extractDashscopeVideoUrls, Bn as requestBodyErrorToText, Br as createInfoCard, C as resolveEffectiveToolInventory, D as runEmbeddedPiAgent, Di as getRealtimeVoiceProvider, E as ACPX_PUSH_TEST_WRAPPER_ID, Ei as canonicalizeRealtimeVoiceProviderId, En as AcpRuntimeError, F as resolveMentionGatingWithBypass, Fi as DEFAULT_VIDEO_GENERATION_TIMEOUT_MS, Fn as RequestBodyLimitError, Fr as processLineMessage, Gi as resolveAllowlistMatchSimple, Gr as createLoggerBackedRuntime, H as logTypingFailure, Hi as resolveVideoGenerationReferenceUrls, Hn as resolveChannelMediaMaxBytes, I as listLineAccountIds, Ii as DEFAULT_VIDEO_RESOLUTION_TO_SIZE, In as installRequestBodyLimitGuard, Ir as stripMarkdown, J as shouldAckReaction, Ji as BLUEBUBBLES_GROUP_ACTIONS, Jn as DEFAULT_FEDERATION_BASE_URL, K as recordInboundSession, Ki as BLUEBUBBLES_ACTIONS, Kr as createPersistentDedupe, L as normalizeAccountId$1, Li as buildDashscopeVideoGenerationInput, Ln as isRequestBodyLimitError, Lr as createReceiptCard, M as issuePairingChallenge, Mi as listRealtimeTranscriptionProviders, N as createTypingCallbacks, Ni as normalizeRealtimeTranscriptionProviderId, Nn as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, Oi as listRealtimeVoiceProviders, P as resolveMentionGating, Pi as DEFAULT_VIDEO_GENERATION_DURATION_SECONDS, Pn as DEFAULT_WEBHOOK_MAX_BODY_BYTES, Pr as hasMarkdownToConvert, Qn as resolveFederationHandle, Qr as resolveSingleWebhookTargetAsync, R as resolveDefaultLineAccountId, Ri as buildDashscopeVideoGenerationParameters, Rn as readJsonBodyWithLimit, Rr as createActionCard, S as getPublicGatewayIdentity, Si as resolveEffectiveAllowFromLists, T as ACPX_PUSH_TEST_METHOD, Ti as evaluateSenderGroupAccess, Tn as unregisterAcpRuntimeBackend, Ui as registerPluginHttpRoute, Un as runFederationAutoConnectOnce, V as logInboundDrop, Vi as pollDashscopeVideoTaskUntilComplete, Vr as createListCard, Wi as formatAllowlistMatchMeta, Wn as startFederationAutoConnect, Wr as waitForAbortSignal, Xn as resolveAgentPublicOrigin, Xr as rejectNonPostWebhookRequest, Y as shouldAckReactionForWhatsApp, Yi as CHANNEL_MESSAGE_ACTION_NAMES, Yn as normalizeHandle, Yr as registerWebhookTarget, Zn as resolveFederationBaseUrl, Zr as resolveSingleWebhookTarget, _ as getGatewayUpdateStatus, _i as resolveSenderCommandAuthorization, a as normalizeIMessageMessagingTarget, ai as isHttpsUrlAllowedByHostnameSuffixAllowlist, b as getStatusSummary, bi as resolveDmGroupAccessWithCommandGate, ci as formatTextWithAttachmentLinks, cn as DEFAULT_GROUP_HISTORY_LIMIT, d as mergeAllowlist, di as buildOauthProviderAuthResult, dn as clearHistoryEntries, ei as normalizeWebhookPath, fi as createScopedPairingAccess, fn as clearHistoryEntriesIfEnabled, g as buildCommandsListResult, gi as resolveChannelAccountConfigBasePath, h as getAcpStatusSnapshot, hi as chunkTextForOutbound, hn as recordPendingHistoryEntryIfEnabled, i as looksLikeIMessageTargetId, ii as buildHostnameAllowlistPolicyFromSuffixAllowlist, in as stringEnum, ji as getRealtimeTranscriptionProvider, ki as normalizeRealtimeVoiceProviderId, li as resolveOutboundMediaUrls, m as pushHandlers, mi as buildAgentMediaPayload, mn as recordPendingHistoryEntry, n as collectBlueBubblesStatusIssues, ni as extractToolSend, nt as formatInboundFromLabel, o as imessageOnboardingAdapter, oi as normalizeHostnameSuffixAllowlist, p as summarizeMapping, pi as fetchWithBearerAuthScopeFallback, pn as evictOldHistoryKeys, q as removeAckReactionAfterReply, qi as BLUEBUBBLES_ACTION_NAMES, qr as createDedupeCache, r as signalOnboardingAdapter, ri as withTempDownloadPath, rn as optionalStringEnum, s as buildMediaPayload, si as createNormalizedOutboundDeliverer, t as LineConfigSchema, ti as resolveWebhookPath, ui as sendMediaWithLeadingCaption, un as buildPendingHistoryContextFromMap, v as buildModelCatalogStatus, vi as DM_GROUP_ACCESS_REASON, w as executeAcpxPushTestRequest, wi as resolveControlCommandGate, wn as registerAcpRuntimeBackend, x as isDangerousNameMatchingEnabled, xi as resolveDmGroupAccessWithLists, y as loadGatewayModelCatalog, yi as readStoreAllowFromForDmPolicy, z as resolveLineAccount, zi as downloadDashscopeGeneratedVideos, zn as readRequestBodyWithLimit, zr as createImageCard } from "./config-schema-C9tx1Lyz.js";
|
|
2
2
|
import { Bt as resolveBlueBubblesGroupRequireMention, Gt as resolveGoogleChatGroupToolPolicy, Kt as resolveIMessageGroupRequireMention, Nn as getChatChannelMeta, Rt as looksLikeSignalTargetId, Vt as resolveBlueBubblesGroupToolPolicy, Wt as resolveGoogleChatGroupRequireMention, Xn as normalizePluginHttpPath, dn as resolveDefaultSignalAccountId, fn as resolveSignalAccount, hn as resolveIMessageAccount, mn as resolveDefaultIMessageAccountId, pn as listIMessageAccountIds, qt as resolveIMessageGroupToolPolicy, un as listSignalAccountIds, yn as resolveToolsBySender, zt as normalizeSignalMessagingTarget } from "./runtime-Bb6KRnCC.js";
|
|
3
3
|
import { n as stripAnsi } from "./subsystem-DBPNbQDQ.js";
|
|
4
4
|
import { g as registerLogTransport, w as resolvePreferredFasedAgentTmpDir } from "./globals-B_jjtAje.js";
|
|
@@ -39,7 +39,7 @@ import "./manager-Y2S_5IlI.js";
|
|
|
39
39
|
import "./query-expansion-CAI2kKLQ.js";
|
|
40
40
|
import { a as jsonResult, c as readReactionParams, d as readStringParam, n as createActionGate, s as readNumberParam } from "./common-CfUOowOp.js";
|
|
41
41
|
import "./commands-registry-DmDRhRAU.js";
|
|
42
|
-
import { X as rawDataToString } from "./runtime-dependency-
|
|
42
|
+
import { X as rawDataToString } from "./runtime-dependency-Ch7J9a0d.js";
|
|
43
43
|
import "./path-alias-guards-DjgDArrp.js";
|
|
44
44
|
import "./fs-safe-g4g7GT02.js";
|
|
45
45
|
import "./markdown-tables-DHLFQqaF.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as createInboundDebouncer, A as parseTtsDirectives, B as logAckFailure, Ci as resolveCommandAuthorizedFromAuthorizers, Dr as GatewayClient, F as resolveMentionGatingWithBypass, Gn as resolveAgentAvatar, H as logTypingFailure, J as shouldAckReaction, K as recordInboundSession, Lt as hasControlCommand, N as createTypingCallbacks, O as resolveTtsConfig, St as normalizeMediaAttachments, Tr as buildGatewayConnectionDetails, Tt as runCapability, U as buildPairingReply, V as logInboundDrop, Vt as enqueueSystemEvent, Wi as formatAllowlistMatchMeta, X as dispatchReplyWithBufferedBlockDispatcher, Z as dispatchReplyWithDispatcher, _n as matchesMentionWithExplicit, at as createReplyDispatcherWithTyping, bn as agentCommand, bt as buildProviderRegistry, c as addAllowlistUserEntriesFromConfigEntry, ct as resolveStoredModelOverride, en as stripReasoningTagsFromText, et as resolveInboundDebounceMs, f as patchAllowlistUsersInConfigEntries, fn as clearHistoryEntriesIfEnabled, gn as buildMentionRegexes, hn as recordPendingHistoryEntryIfEnabled, it as dispatchInboundMessage, k as textToSpeech, l as buildAllowlistResolutionSummary, lt as buildModelsProviderData, ot as EmbeddedBlockChunker, p as summarizeMapping, rt as resolveEnvelopeFormatOptions, s as buildMediaPayload, tt as formatInboundEnvelope, u as canonicalizeAllowlistWithResolvedIds, un as buildPendingHistoryContextFromMap, vt as formatDurationSeconds, wi as resolveControlCommandGate, x as isDangerousNameMatchingEnabled, xi as resolveDmGroupAccessWithLists, xt as createMediaAttachmentCache, yi as readStoreAllowFromForDmPolicy } from "./config-schema-
|
|
1
|
+
import { $ as createInboundDebouncer, A as parseTtsDirectives, B as logAckFailure, Ci as resolveCommandAuthorizedFromAuthorizers, Dr as GatewayClient, F as resolveMentionGatingWithBypass, Gn as resolveAgentAvatar, H as logTypingFailure, J as shouldAckReaction, K as recordInboundSession, Lt as hasControlCommand, N as createTypingCallbacks, O as resolveTtsConfig, St as normalizeMediaAttachments, Tr as buildGatewayConnectionDetails, Tt as runCapability, U as buildPairingReply, V as logInboundDrop, Vt as enqueueSystemEvent, Wi as formatAllowlistMatchMeta, X as dispatchReplyWithBufferedBlockDispatcher, Z as dispatchReplyWithDispatcher, _n as matchesMentionWithExplicit, at as createReplyDispatcherWithTyping, bn as agentCommand, bt as buildProviderRegistry, c as addAllowlistUserEntriesFromConfigEntry, ct as resolveStoredModelOverride, en as stripReasoningTagsFromText, et as resolveInboundDebounceMs, f as patchAllowlistUsersInConfigEntries, fn as clearHistoryEntriesIfEnabled, gn as buildMentionRegexes, hn as recordPendingHistoryEntryIfEnabled, it as dispatchInboundMessage, k as textToSpeech, l as buildAllowlistResolutionSummary, lt as buildModelsProviderData, ot as EmbeddedBlockChunker, p as summarizeMapping, rt as resolveEnvelopeFormatOptions, s as buildMediaPayload, tt as formatInboundEnvelope, u as canonicalizeAllowlistWithResolvedIds, un as buildPendingHistoryContextFromMap, vt as formatDurationSeconds, wi as resolveControlCommandGate, x as isDangerousNameMatchingEnabled, xi as resolveDmGroupAccessWithLists, xt as createMediaAttachmentCache, yi as readStoreAllowFromForDmPolicy } from "./config-schema-C9tx1Lyz.js";
|
|
2
2
|
import { Dn as normalizeMessageChannel, Dt as getChannelDock, Mn as GATEWAY_CLIENT_NAMES, S as readSessionUpdatedAt, jn as GATEWAY_CLIENT_MODES, x as loadSessionStore } from "./runtime-Bb6KRnCC.js";
|
|
3
3
|
import { r as createNonExitingRuntime, t as createSubsystemLogger } from "./subsystem-DBPNbQDQ.js";
|
|
4
4
|
import { i as logVerbose, l as warn, p as getChildLogger, s as shouldLogVerbose, t as danger, w as resolvePreferredFasedAgentTmpDir } from "./globals-B_jjtAje.js";
|
|
@@ -39,7 +39,7 @@ import "./manager-Y2S_5IlI.js";
|
|
|
39
39
|
import "./query-expansion-CAI2kKLQ.js";
|
|
40
40
|
import "./common-CfUOowOp.js";
|
|
41
41
|
import { C as isNativeCommandsExplicitlyDisabled, E as resolveNativeSkillsEnabled, T as resolveNativeCommandsEnabled, a as listChatCommands, c as listNativeCommandSpecsForConfig, d as parseCommandArgs, f as resolveCommandArgChoices, g as shouldHandleTextCommands, h as serializeCommandArgs, p as resolveCommandArgMenu, r as findCommandByNativeName, t as buildCommandTextFromArgs } from "./commands-registry-DmDRhRAU.js";
|
|
42
|
-
import "./runtime-dependency-
|
|
42
|
+
import "./runtime-dependency-Ch7J9a0d.js";
|
|
43
43
|
import "./path-alias-guards-DjgDArrp.js";
|
|
44
44
|
import "./fs-safe-g4g7GT02.js";
|
|
45
45
|
import { n as resolveMarkdownTableMode } from "./markdown-tables-DHLFQqaF.js";
|
|
@@ -66,7 +66,7 @@ import { o as createNoopThreadBindingManager, r as reconcileAcpThreadBindingsOnS
|
|
|
66
66
|
import { a as setPresence, n as registerGateway, r as unregisterGateway } from "./gateway-registry-DZDsqicG.js";
|
|
67
67
|
import { t as createReplyReferencePlanner } from "./reply-reference-Bqk-7HXE.js";
|
|
68
68
|
import { i as createStatusReactionController, r as DEFAULT_TIMING, t as createFinalizableDraftLifecycle } from "./draft-stream-controls-BqchW1vi.js";
|
|
69
|
-
import { n as buildUntrustedChannelMetadata, t as chunkItems } from "./chunk-items-
|
|
69
|
+
import { n as buildUntrustedChannelMetadata, t as chunkItems } from "./chunk-items-3ZyiGiff.js";
|
|
70
70
|
import { t as fetchDiscordApplicationId } from "./probe-BFroeK3g.js";
|
|
71
71
|
import { t as DiscordUiContainer } from "./ui-Be8cLHIS.js";
|
|
72
72
|
import "./guilds-CDhRIX57.js";
|
|
@@ -79,7 +79,7 @@ import { inspect } from "node:util";
|
|
|
79
79
|
import fs from "node:fs/promises";
|
|
80
80
|
import { randomUUID } from "node:crypto";
|
|
81
81
|
import { ProxyAgent, fetch as fetch$1 } from "undici";
|
|
82
|
-
import WebSocket from "ws";
|
|
82
|
+
import WebSocket$1 from "ws";
|
|
83
83
|
import { ApplicationCommandOptionType, ButtonStyle, ChannelType, Routes, StickerFormatType } from "discord-api-types/v10";
|
|
84
84
|
import { Button, ChannelSelectMenu, ChannelType as ChannelType$1, Client, Command, CommandWithSubcommands, Container, MentionableSelectMenu, MessageCreateListener, MessageReactionAddListener, MessageReactionRemoveListener, MessageType, Modal, PresenceUpdateListener, ReadyListener, RoleSelectMenu, Row, Separator, StringSelectMenu, TextDisplay, UserSelectMenu, serializePayload } from "@buape/carbon";
|
|
85
85
|
import { GatewayCloseCodes, GatewayIntents, GatewayPlugin } from "@buape/carbon/gateway";
|
|
@@ -1397,7 +1397,7 @@ async function preflightDiscordMessage(params) {
|
|
|
1397
1397
|
let preflightTranscript;
|
|
1398
1398
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
1399
1399
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
1400
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
1400
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-C2QXh5Ml.js");
|
|
1401
1401
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
1402
1402
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
1403
1403
|
ctx: {
|
|
@@ -6879,7 +6879,7 @@ function createDiscordGatewayPlugin(params) {
|
|
|
6879
6879
|
return super.registerClient(client);
|
|
6880
6880
|
}
|
|
6881
6881
|
createWebSocket(url) {
|
|
6882
|
-
return new WebSocket(url, { agent: wsAgent });
|
|
6882
|
+
return new WebSocket$1(url, { agent: wsAgent });
|
|
6883
6883
|
}
|
|
6884
6884
|
}
|
|
6885
6885
|
return new ProxyGatewayPlugin();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as createInboundDebouncer, $t as formatReasoningMessage, B as logAckFailure, Ci as resolveCommandAuthorizedFromAuthorizers, Cn as modelSupportsVision, Dt as registerUnhandledRejectionHandler, F as resolveMentionGatingWithBypass, G as sleepWithAbort, H as logTypingFailure, J as shouldAckReaction, K as recordInboundSession, Lt as hasControlCommand, N as createTypingCallbacks, Rn as readJsonBodyWithLimit, Sn as loadModelCatalog, U as buildPairingReply, Ur as resolveTelegramInlineButtonsScope, Ut as buildCommandsMessagePaginated, V as logInboundDrop, Vt as enqueueSystemEvent, W as computeBackoff, Wr as waitForAbortSignal, X as dispatchReplyWithBufferedBlockDispatcher, _n as matchesMentionWithExplicit, _t as formatDurationPrecise, cn as DEFAULT_GROUP_HISTORY_LIMIT, ct as resolveStoredModelOverride, dt as buildModelsKeyboard, en as stripReasoningTagsFromText, et as resolveInboundDebounceMs, fn as clearHistoryEntriesIfEnabled, ft as buildProviderKeyboard, gn as buildMentionRegexes, gt as buildCommandsPaginationKeyboard, hn as recordPendingHistoryEntryIfEnabled, ht as parseModelCallbackData, lt as buildModelsProviderData, mt as getModelsPageSize, nn as isInsideCode, pt as calculateTotalPages, q as removeAckReactionAfterReply, qr as createDedupeCache, rt as resolveEnvelopeFormatOptions, tn as findCodeRegions, tt as formatInboundEnvelope, un as buildPendingHistoryContextFromMap, ut as formatModelsAvailableHeader, wi as resolveControlCommandGate, xn as findModelInCatalog, yt as resolveChannelConfigWrites, zt as isAbortRequestText } from "./config-schema-
|
|
1
|
+
import { $ as createInboundDebouncer, $t as formatReasoningMessage, B as logAckFailure, Ci as resolveCommandAuthorizedFromAuthorizers, Cn as modelSupportsVision, Dt as registerUnhandledRejectionHandler, F as resolveMentionGatingWithBypass, G as sleepWithAbort, H as logTypingFailure, J as shouldAckReaction, K as recordInboundSession, Lt as hasControlCommand, N as createTypingCallbacks, Rn as readJsonBodyWithLimit, Sn as loadModelCatalog, U as buildPairingReply, Ur as resolveTelegramInlineButtonsScope, Ut as buildCommandsMessagePaginated, V as logInboundDrop, Vt as enqueueSystemEvent, W as computeBackoff, Wr as waitForAbortSignal, X as dispatchReplyWithBufferedBlockDispatcher, _n as matchesMentionWithExplicit, _t as formatDurationPrecise, cn as DEFAULT_GROUP_HISTORY_LIMIT, ct as resolveStoredModelOverride, dt as buildModelsKeyboard, en as stripReasoningTagsFromText, et as resolveInboundDebounceMs, fn as clearHistoryEntriesIfEnabled, ft as buildProviderKeyboard, gn as buildMentionRegexes, gt as buildCommandsPaginationKeyboard, hn as recordPendingHistoryEntryIfEnabled, ht as parseModelCallbackData, lt as buildModelsProviderData, mt as getModelsPageSize, nn as isInsideCode, pt as calculateTotalPages, q as removeAckReactionAfterReply, qr as createDedupeCache, rt as resolveEnvelopeFormatOptions, tn as findCodeRegions, tt as formatInboundEnvelope, un as buildPendingHistoryContextFromMap, ut as formatModelsAvailableHeader, wi as resolveControlCommandGate, xn as findModelInCatalog, yt as resolveChannelConfigWrites, zt as isAbortRequestText } from "./config-schema-C9tx1Lyz.js";
|
|
2
2
|
import { C as recordSessionMetaFromInbound, Gn as getPluginCommandSpecs, S as readSessionUpdatedAt, Wn as executePluginCommand, _n as resolveChannelGroupRequireMention, gn as resolveChannelGroupPolicy, in as resolveTelegramAccount, qn as matchPluginCommand, x as loadSessionStore } from "./runtime-Bb6KRnCC.js";
|
|
3
3
|
import { i as defaultRuntime, r as createNonExitingRuntime, t as createSubsystemLogger } 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";
|
|
@@ -37,7 +37,7 @@ import "./manager-Y2S_5IlI.js";
|
|
|
37
37
|
import "./query-expansion-CAI2kKLQ.js";
|
|
38
38
|
import "./common-CfUOowOp.js";
|
|
39
39
|
import { C as isNativeCommandsExplicitlyDisabled, E as resolveNativeSkillsEnabled, T as resolveNativeCommandsEnabled, c as listNativeCommandSpecsForConfig, d as parseCommandArgs, p as resolveCommandArgMenu, r as findCommandByNativeName, s as listNativeCommandSpecs, t as buildCommandTextFromArgs, u as normalizeCommandBody } from "./commands-registry-DmDRhRAU.js";
|
|
40
|
-
import "./runtime-dependency-
|
|
40
|
+
import "./runtime-dependency-Ch7J9a0d.js";
|
|
41
41
|
import "./path-alias-guards-DjgDArrp.js";
|
|
42
42
|
import "./fs-safe-g4g7GT02.js";
|
|
43
43
|
import { n as resolveMarkdownTableMode } from "./markdown-tables-DHLFQqaF.js";
|
|
@@ -60,7 +60,7 @@ import "./shared-CBgp_GBw.js";
|
|
|
60
60
|
import "./retry-policy-D4uiqUOG.js";
|
|
61
61
|
import { _ as splitTelegramCaption, d as isRecoverableTelegramNetworkError, f as markdownToTelegramChunks, g as resolveTelegramFetch, h as wrapFileReferencesInHtml, i as editMessageTelegram, l as resolveTelegramVoiceSend, m as renderTelegramHtmlText, p as markdownToTelegramHtml, t as buildInlineKeyboard, u as wasSentByBot, v as withTelegramApiErrorLogging } from "./send-Bfzf11VY.js";
|
|
62
62
|
import { t as makeProxyFetch } from "./proxy-DWpYcsvR.js";
|
|
63
|
-
import { i as getCachedSticker, n as describeStickerImage, t as cacheSticker } from "./sticker-cache-
|
|
63
|
+
import { i as getCachedSticker, n as describeStickerImage, t as cacheSticker } from "./sticker-cache-Dex-XpRj.js";
|
|
64
64
|
import { i as createStatusReactionController, n as DEFAULT_EMOJIS, t as createFinalizableDraftLifecycle } from "./draft-stream-controls-BqchW1vi.js";
|
|
65
65
|
import path from "node:path";
|
|
66
66
|
import os from "node:os";
|
|
@@ -2044,7 +2044,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
2044
2044
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
2045
2045
|
let preflightTranscript;
|
|
2046
2046
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
2047
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
2047
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-C2QXh5Ml.js");
|
|
2048
2048
|
preflightTranscript = await transcribeFirstAudio({
|
|
2049
2049
|
ctx: {
|
|
2050
2050
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { An as sendJson, At as DEFAULT_INPUT_MAX_REDIRECTS, Cr as emitAgentEvent, Dn as createDefaultDeps, Ft as resolveInputFileLimits, Mn as writeDone, Mt as extractFileContentFromSource, Nt as extractImageContentFromSource, On as resolveAgentIdForRequest, Ot as DEFAULT_INPUT_IMAGE_MAX_BYTES, Pt as normalizeMimeList, bn as agentCommand, jn as setSseHeaders, jt as DEFAULT_INPUT_TIMEOUT_MS, kn as resolveSessionKey, kt as DEFAULT_INPUT_IMAGE_MIMES, on as handleGatewayPostJsonEndpoint, sn as buildAgentMessageFromConversationEntries, wr as onAgentEvent, yn as resolveAssistantStreamDeltaText } from "./config-schema-
|
|
1
|
+
import { An as sendJson, At as DEFAULT_INPUT_MAX_REDIRECTS, Cr as emitAgentEvent, Dn as createDefaultDeps, Ft as resolveInputFileLimits, Mn as writeDone, Mt as extractFileContentFromSource, Nt as extractImageContentFromSource, On as resolveAgentIdForRequest, Ot as DEFAULT_INPUT_IMAGE_MAX_BYTES, Pt as normalizeMimeList, bn as agentCommand, jn as setSseHeaders, jt as DEFAULT_INPUT_TIMEOUT_MS, kn as resolveSessionKey, kt as DEFAULT_INPUT_IMAGE_MIMES, on as handleGatewayPostJsonEndpoint, sn as buildAgentMessageFromConversationEntries, wr as onAgentEvent, yn as resolveAssistantStreamDeltaText } from "./config-schema-C9tx1Lyz.js";
|
|
2
2
|
import "./runtime-Bb6KRnCC.js";
|
|
3
3
|
import { i as defaultRuntime } from "./subsystem-DBPNbQDQ.js";
|
|
4
4
|
import "./globals-B_jjtAje.js";
|
|
@@ -36,7 +36,7 @@ import "./manager-Y2S_5IlI.js";
|
|
|
36
36
|
import "./query-expansion-CAI2kKLQ.js";
|
|
37
37
|
import "./common-CfUOowOp.js";
|
|
38
38
|
import "./commands-registry-DmDRhRAU.js";
|
|
39
|
-
import "./runtime-dependency-
|
|
39
|
+
import "./runtime-dependency-Ch7J9a0d.js";
|
|
40
40
|
import "./path-alias-guards-DjgDArrp.js";
|
|
41
41
|
import "./fs-safe-g4g7GT02.js";
|
|
42
42
|
import "./markdown-tables-DHLFQqaF.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { At as FasedAgentConfig, t as ChannelConfigSchema } from "./types.plugin-_fbu40Re.js";
|
|
2
|
-
import { v as FasedAgentPluginConfigSchema } from "./types-
|
|
2
|
+
import { v as FasedAgentPluginConfigSchema } from "./types-B4hj6HgR.js";
|
|
3
3
|
import { ZodTypeAny } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/plugins/config-schema.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { At as FasedAgentConfig } from "./types.plugin-_fbu40Re.js";
|
|
2
|
-
import { Q as RuntimeWebSearchMetadata, R as WebSearchProviderPlugin, z as WebSearchProviderToolDefinition } from "./types-
|
|
2
|
+
import { Q as RuntimeWebSearchMetadata, R as WebSearchProviderPlugin, z as WebSearchProviderToolDefinition } from "./types-B4hj6HgR.js";
|
|
3
3
|
|
|
4
4
|
//#region src/plugin-sdk/provider-web-search-config-contract.d.ts
|
|
5
5
|
type WebSearchCredentialResolutionSource = "config" | "env" | "none";
|
|
@@ -11,7 +11,7 @@ import "./github-copilot-token-CUK__1s1.js";
|
|
|
11
11
|
import "./retry-DstNBhDW.js";
|
|
12
12
|
import "./ssrf-fG4UHKBw.js";
|
|
13
13
|
import "./optional-runtime-dependency-DdMbxS24.js";
|
|
14
|
-
import { A as fetchJson, C as normalizeCdpWsUrl, D as assertBrowserNavigationResultAllowed, E as assertBrowserNavigationAllowed, M as getHeadersWithAuth, N as withCdpSocket, O as withBrowserNavigationPolicy, S as formatAriaSnapshot, c as resolveStrictExistingPathsWithinRoot, f as getChromeWebSocketUrl, k as appendCdpPath, n as loadPlaywrightCore, o as DEFAULT_UPLOAD_DIR, u as DEFAULT_FILL_FIELD_TYPE } from "./runtime-dependency-
|
|
14
|
+
import { A as fetchJson, C as normalizeCdpWsUrl, D as assertBrowserNavigationResultAllowed, E as assertBrowserNavigationAllowed, M as getHeadersWithAuth, N as withCdpSocket, O as withBrowserNavigationPolicy, S as formatAriaSnapshot, c as resolveStrictExistingPathsWithinRoot, f as getChromeWebSocketUrl, k as appendCdpPath, n as loadPlaywrightCore, o as DEFAULT_UPLOAD_DIR, u as DEFAULT_FILL_FIELD_TYPE } from "./runtime-dependency-Ch7J9a0d.js";
|
|
15
15
|
import "./path-alias-guards-DjgDArrp.js";
|
|
16
16
|
import "./fs-safe-g4g7GT02.js";
|
|
17
17
|
import path from "node:path";
|
|
@@ -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, { WebSocketServer } from "ws";
|
|
16
|
+
import WebSocket$1, { 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.OPEN;
|
|
278
|
+
const extensionConnected = () => extensionWs?.readyState === WebSocket$1.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.OPEN) throw new Error("Chrome extension not connected");
|
|
329
|
+
if (!ws || ws.readyState !== WebSocket$1.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.OPEN) continue;
|
|
346
|
+
if (ws.readyState !== WebSocket$1.OPEN) continue;
|
|
347
347
|
ws.send(msg);
|
|
348
348
|
}
|
|
349
349
|
};
|
|
350
350
|
const sendResponseToCdp = (ws, res) => {
|
|
351
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
351
|
+
if (ws.readyState !== WebSocket$1.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.OPEN) {
|
|
561
|
+
if (extensionWs && extensionWs.readyState !== WebSocket$1.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.OPEN) return;
|
|
598
|
+
if (ws.readyState !== WebSocket$1.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(wsUrl, {
|
|
940
|
+
const ws = new WebSocket$1(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(wsUrl, {
|
|
1866
|
+
const ws = new WebSocket$1(wsUrl, {
|
|
1867
1867
|
handshakeTimeout: timeoutMs,
|
|
1868
1868
|
...Object.keys(headers).length ? { headers } : {}
|
|
1869
1869
|
});
|
|
@@ -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";
|