@downcity/agent 1.1.25 → 1.1.35
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/README.md +26 -84
- package/bin/config/Defaults.js +1 -1
- package/bin/config/Defaults.js.map +1 -1
- package/bin/config/DowncitySchema.d.ts.map +1 -1
- package/bin/config/DowncitySchema.js +2 -8
- package/bin/config/DowncitySchema.js.map +1 -1
- package/bin/config/Paths.d.ts +12 -10
- package/bin/config/Paths.d.ts.map +1 -1
- package/bin/config/Paths.js +23 -17
- package/bin/config/Paths.js.map +1 -1
- package/bin/config/project/AgentInitializer.d.ts.map +1 -1
- package/bin/config/project/AgentInitializer.js +4 -4
- package/bin/config/project/AgentInitializer.js.map +1 -1
- package/bin/core/AgentContextTypes.d.ts +21 -55
- package/bin/core/AgentContextTypes.d.ts.map +1 -1
- package/bin/core/AgentContextTypes.js +1 -1
- package/bin/core/AgentCore.d.ts +17 -16
- package/bin/core/AgentCore.d.ts.map +1 -1
- package/bin/core/AgentCore.js +90 -126
- package/bin/core/AgentCore.js.map +1 -1
- package/bin/core/AgentCoreTypes.d.ts +5 -5
- package/bin/core/AgentCoreTypes.d.ts.map +1 -1
- package/bin/core/AgentCoreTypes.js +1 -1
- package/bin/executor/Executor.d.ts +172 -0
- package/bin/executor/Executor.d.ts.map +1 -0
- package/bin/executor/Executor.js.map +1 -0
- package/bin/executor/SessionRunScope.d.ts +84 -0
- package/bin/executor/SessionRunScope.d.ts.map +1 -0
- package/bin/executor/SessionRunScope.js +82 -0
- package/bin/executor/SessionRunScope.js.map +1 -0
- package/bin/executor/composer/compaction/SessionCompactionComposer.d.ts +55 -0
- package/bin/executor/composer/compaction/SessionCompactionComposer.d.ts.map +1 -0
- package/bin/executor/composer/compaction/SessionCompactionComposer.js.map +1 -0
- package/bin/executor/composer/compaction/jsonl/JsonlSessionCompactionComposer.d.ts.map +1 -0
- package/bin/executor/composer/compaction/jsonl/JsonlSessionCompactionComposer.js.map +1 -0
- package/bin/executor/composer/compaction/jsonl/JsonlSessionCompactionExecutor.d.ts +46 -0
- package/bin/executor/composer/compaction/jsonl/JsonlSessionCompactionExecutor.d.ts.map +1 -0
- package/bin/executor/composer/compaction/jsonl/JsonlSessionCompactionExecutor.js.map +1 -0
- package/bin/executor/composer/context/LocalSessionContextComposer.d.ts +48 -0
- package/bin/executor/composer/context/LocalSessionContextComposer.d.ts.map +1 -0
- package/bin/executor/composer/context/LocalSessionContextComposer.js.map +1 -0
- package/bin/executor/composer/context/SessionContextComposer.d.ts +62 -0
- package/bin/executor/composer/context/SessionContextComposer.d.ts.map +1 -0
- package/bin/executor/composer/context/SessionContextComposer.js.map +1 -0
- package/bin/executor/composer/history/SessionHistoryComposer.d.ts +54 -0
- package/bin/executor/composer/history/SessionHistoryComposer.d.ts.map +1 -0
- package/bin/executor/composer/history/SessionHistoryComposer.js.map +1 -0
- package/bin/executor/composer/history/SessionHistoryWriter.d.ts +56 -0
- package/bin/executor/composer/history/SessionHistoryWriter.d.ts.map +1 -0
- package/bin/executor/composer/history/SessionHistoryWriter.js.map +1 -0
- package/bin/executor/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts +35 -0
- package/bin/executor/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts.map +1 -0
- package/bin/executor/composer/history/jsonl/JsonlSessionHistoryComposer.js.map +1 -0
- package/bin/executor/composer/system/SessionSystemComposer.d.ts.map +1 -0
- package/bin/executor/composer/system/SessionSystemComposer.js.map +1 -0
- package/bin/executor/composer/system/default/DefaultSessionSystemComposer.d.ts +42 -0
- package/bin/executor/composer/system/default/DefaultSessionSystemComposer.d.ts.map +1 -0
- package/bin/executor/composer/system/default/DefaultSessionSystemComposer.js.map +1 -0
- package/bin/executor/composer/system/default/InitPromptAssets.d.ts.map +1 -0
- package/bin/executor/composer/system/default/InitPromptAssets.js.map +1 -0
- package/bin/executor/composer/system/default/InitPrompts.d.ts.map +1 -0
- package/bin/executor/composer/system/default/InitPrompts.js.map +1 -0
- package/bin/executor/composer/system/default/PromptRenderer.d.ts.map +1 -0
- package/bin/executor/composer/system/default/PromptRenderer.js.map +1 -0
- package/bin/executor/composer/system/default/StaticPromptCatalog.d.ts.map +1 -0
- package/bin/executor/composer/system/default/StaticPromptCatalog.js.map +1 -0
- package/bin/executor/composer/system/default/SystemDomain.d.ts +169 -0
- package/bin/executor/composer/system/default/SystemDomain.d.ts.map +1 -0
- package/bin/executor/composer/system/default/SystemDomain.js +221 -0
- package/bin/executor/composer/system/default/SystemDomain.js.map +1 -0
- package/bin/executor/composer/system/default/SystemPromptAssets.d.ts +20 -0
- package/bin/executor/composer/system/default/SystemPromptAssets.d.ts.map +1 -0
- package/bin/executor/composer/system/default/SystemPromptAssets.js +23 -0
- package/bin/executor/composer/system/default/SystemPromptAssets.js.map +1 -0
- package/bin/executor/composer/system/default/assets/core.prompt.d.ts +7 -0
- package/bin/executor/composer/system/default/assets/core.prompt.d.ts.map +1 -0
- package/bin/executor/composer/system/default/assets/core.prompt.js +8 -0
- package/bin/executor/composer/system/default/assets/core.prompt.js.map +1 -0
- package/bin/executor/composer/system/default/assets/init/PROFILE.md.d.ts.map +1 -0
- package/bin/executor/composer/system/default/assets/init/PROFILE.md.js +8 -0
- package/bin/executor/composer/system/default/assets/init/PROFILE.md.js.map +1 -0
- package/bin/executor/composer/system/default/assets/init/SOUL.md.d.ts.map +1 -0
- package/bin/executor/composer/system/default/assets/init/SOUL.md.js +8 -0
- package/bin/executor/composer/system/default/assets/init/SOUL.md.js.map +1 -0
- package/bin/executor/composer/system/default/assets/plugin.prompt.d.ts +7 -0
- package/bin/executor/composer/system/default/assets/plugin.prompt.d.ts.map +1 -0
- package/bin/executor/composer/system/default/assets/plugin.prompt.js +8 -0
- package/bin/executor/composer/system/default/assets/plugin.prompt.js.map +1 -0
- package/bin/executor/composer/system/default/assets/task.prompt.d.ts.map +1 -0
- package/bin/executor/composer/system/default/assets/task.prompt.js +8 -0
- package/bin/executor/composer/system/default/assets/task.prompt.js.map +1 -0
- package/bin/executor/composer/system/default/variables/GeoContext.d.ts.map +1 -0
- package/bin/executor/composer/system/default/variables/GeoContext.js.map +1 -0
- package/bin/executor/composer/system/default/variables/PromptTypes.d.ts.map +1 -0
- package/bin/executor/composer/system/default/variables/PromptTypes.js.map +1 -0
- package/bin/executor/composer/system/default/variables/VariableReplacer.d.ts.map +1 -0
- package/bin/executor/composer/system/default/variables/VariableReplacer.js.map +1 -0
- package/bin/executor/core-engine/CoreEngineError.d.ts.map +1 -0
- package/bin/executor/core-engine/CoreEngineError.js.map +1 -0
- package/bin/executor/core-engine/CoreEngineLoopDecision.d.ts +27 -0
- package/bin/executor/core-engine/CoreEngineLoopDecision.d.ts.map +1 -0
- package/bin/executor/core-engine/CoreEngineLoopDecision.js.map +1 -0
- package/bin/executor/core-engine/CoreEngineMessageState.d.ts +63 -0
- package/bin/executor/core-engine/CoreEngineMessageState.d.ts.map +1 -0
- package/bin/executor/core-engine/CoreEngineMessageState.js.map +1 -0
- package/bin/executor/core-engine/CoreEngineSignals.d.ts +72 -0
- package/bin/executor/core-engine/CoreEngineSignals.d.ts.map +1 -0
- package/bin/executor/core-engine/CoreEngineSignals.js.map +1 -0
- package/bin/executor/core-engine/CoreEngineUiStreamCollector.d.ts +33 -0
- package/bin/executor/core-engine/CoreEngineUiStreamCollector.d.ts.map +1 -0
- package/bin/executor/core-engine/CoreEngineUiStreamCollector.js.map +1 -0
- package/bin/executor/ids/resolveSessionId.d.ts.map +1 -0
- package/bin/executor/ids/resolveSessionId.js.map +1 -0
- package/bin/executor/messages/AssistantResultPersistence.d.ts +66 -0
- package/bin/executor/messages/AssistantResultPersistence.d.ts.map +1 -0
- package/bin/executor/messages/AssistantResultPersistence.js +48 -0
- package/bin/executor/messages/AssistantResultPersistence.js.map +1 -0
- package/bin/executor/messages/SessionAttachmentMapper.d.ts +14 -0
- package/bin/executor/messages/SessionAttachmentMapper.d.ts.map +1 -0
- package/bin/executor/messages/SessionAttachmentMapper.js +145 -0
- package/bin/executor/messages/SessionAttachmentMapper.js.map +1 -0
- package/bin/executor/messages/SessionMessageCodec.d.ts +41 -0
- package/bin/executor/messages/SessionMessageCodec.d.ts.map +1 -0
- package/bin/executor/messages/SessionMessageCodec.js.map +1 -0
- package/bin/executor/messages/SessionMessageLog.d.ts +19 -0
- package/bin/executor/messages/SessionMessageLog.d.ts.map +1 -0
- package/bin/executor/messages/SessionMessageLog.js.map +1 -0
- package/bin/executor/messages/SessionStepEventMapper.d.ts +20 -0
- package/bin/executor/messages/SessionStepEventMapper.d.ts.map +1 -0
- package/bin/executor/messages/SessionStepEventMapper.js.map +1 -0
- package/bin/executor/store/history/SessionHistoryStore.d.ts +119 -0
- package/bin/executor/store/history/SessionHistoryStore.d.ts.map +1 -0
- package/bin/executor/store/history/SessionHistoryStore.js.map +1 -0
- package/bin/executor/store/history/jsonl/JsonlSessionHistoryStore.d.ts +85 -0
- package/bin/executor/store/history/jsonl/JsonlSessionHistoryStore.d.ts.map +1 -0
- package/bin/executor/store/history/jsonl/JsonlSessionHistoryStore.js +382 -0
- package/bin/executor/store/history/jsonl/JsonlSessionHistoryStore.js.map +1 -0
- package/bin/executor/tools/shell/ShellToolBridge.d.ts +79 -0
- package/bin/executor/tools/shell/ShellToolBridge.d.ts.map +1 -0
- package/bin/executor/tools/shell/ShellToolBridge.js +288 -0
- package/bin/executor/tools/shell/ShellToolBridge.js.map +1 -0
- package/bin/executor/tools/shell/ShellToolDefinition.d.ts +114 -0
- package/bin/executor/tools/shell/ShellToolDefinition.d.ts.map +1 -0
- package/bin/executor/tools/shell/ShellToolDefinition.js +359 -0
- package/bin/executor/tools/shell/ShellToolDefinition.js.map +1 -0
- package/bin/executor/tools/shell/ShellToolFormatting.d.ts +26 -0
- package/bin/executor/tools/shell/ShellToolFormatting.d.ts.map +1 -0
- package/bin/executor/tools/shell/ShellToolFormatting.js +74 -0
- package/bin/executor/tools/shell/ShellToolFormatting.js.map +1 -0
- package/bin/executor/tools/shell/ShellToolSchemas.d.ts.map +1 -0
- package/bin/executor/tools/shell/ShellToolSchemas.js +113 -0
- package/bin/executor/tools/shell/ShellToolSchemas.js.map +1 -0
- package/bin/executor/types/SessionExecutor.d.ts +18 -0
- package/bin/executor/types/SessionExecutor.d.ts.map +1 -0
- package/bin/executor/types/SessionExecutor.js.map +1 -0
- package/bin/executor/types/SessionHistoryMeta.d.ts +45 -0
- package/bin/executor/types/SessionHistoryMeta.d.ts.map +1 -0
- package/bin/executor/types/SessionHistoryMeta.js +9 -0
- package/bin/executor/types/SessionHistoryMeta.js.map +1 -0
- package/bin/executor/types/SessionHistoryPaths.d.ts +30 -0
- package/bin/executor/types/SessionHistoryPaths.d.ts.map +1 -0
- package/bin/executor/types/SessionHistoryPaths.js.map +1 -0
- package/bin/executor/types/SessionLoop.d.ts.map +1 -0
- package/bin/executor/types/SessionLoop.js.map +1 -0
- package/bin/executor/types/SessionMessages.d.ts +83 -0
- package/bin/executor/types/SessionMessages.d.ts.map +1 -0
- package/bin/executor/types/SessionMessages.js.map +1 -0
- package/bin/executor/types/SessionPrompts.d.ts.map +1 -0
- package/bin/executor/types/SessionPrompts.js.map +1 -0
- package/bin/executor/types/SessionRun.d.ts +112 -0
- package/bin/executor/types/SessionRun.d.ts.map +1 -0
- package/bin/executor/types/SessionRun.js.map +1 -0
- package/bin/index.d.ts +40 -40
- package/bin/index.d.ts.map +1 -1
- package/bin/index.js +29 -29
- package/bin/index.js.map +1 -1
- package/bin/plugin/builtins/asr/Plugin.d.ts +7 -3
- package/bin/plugin/builtins/asr/Plugin.d.ts.map +1 -1
- package/bin/plugin/builtins/asr/Plugin.js +405 -395
- package/bin/plugin/builtins/asr/Plugin.js.map +1 -1
- package/bin/plugin/builtins/auth/Plugin.d.ts +7 -3
- package/bin/plugin/builtins/auth/Plugin.d.ts.map +1 -1
- package/bin/plugin/builtins/auth/Plugin.js +134 -124
- package/bin/plugin/builtins/auth/Plugin.js.map +1 -1
- package/bin/plugin/builtins/auth/runtime/AuthorizationStore.d.ts +1 -1
- package/bin/plugin/builtins/auth/runtime/AuthorizationStore.d.ts.map +1 -1
- package/bin/plugin/builtins/auth/types/AuthPlugin.d.ts +1 -1
- package/bin/plugin/builtins/auth/types/AuthPlugin.d.ts.map +1 -1
- package/bin/plugin/builtins/auth/types/AuthPlugin.js +1 -1
- package/bin/plugin/builtins/auth/types/AuthPlugin.js.map +1 -1
- package/bin/plugin/builtins/chat/Action.d.ts +125 -0
- package/bin/plugin/builtins/chat/Action.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/Action.js +376 -0
- package/bin/plugin/builtins/chat/Action.js.map +1 -0
- package/bin/plugin/builtins/chat/ChatPlugin.d.ts +89 -0
- package/bin/plugin/builtins/chat/ChatPlugin.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/ChatPlugin.js +212 -0
- package/bin/plugin/builtins/chat/ChatPlugin.js.map +1 -0
- package/bin/plugin/builtins/chat/ChatPluginTypes.d.ts +159 -0
- package/bin/plugin/builtins/chat/ChatPluginTypes.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/ChatPluginTypes.js +10 -0
- package/bin/plugin/builtins/chat/ChatPluginTypes.js.map +1 -0
- package/bin/plugin/builtins/chat/Index.d.ts +9 -0
- package/bin/plugin/builtins/chat/Index.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/Index.js +9 -0
- package/bin/plugin/builtins/chat/Index.js.map +1 -0
- package/bin/plugin/builtins/chat/PROMPT.direct.d.ts +7 -0
- package/bin/plugin/builtins/chat/PROMPT.direct.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/PROMPT.direct.js +8 -0
- package/bin/plugin/builtins/chat/PROMPT.direct.js.map +1 -0
- package/bin/plugin/builtins/chat/accounts/ChannelAccountManager.d.ts +63 -0
- package/bin/plugin/builtins/chat/accounts/ChannelAccountManager.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/accounts/ChannelAccountManager.js +258 -0
- package/bin/plugin/builtins/chat/accounts/ChannelAccountManager.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/BaseChatChannel.d.ts +201 -0
- package/bin/plugin/builtins/chat/channels/BaseChatChannel.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/BaseChatChannel.js +294 -0
- package/bin/plugin/builtins/chat/channels/BaseChatChannel.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/BaseChatChannelQueue.d.ts +73 -0
- package/bin/plugin/builtins/chat/channels/BaseChatChannelQueue.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/BaseChatChannelQueue.js +237 -0
- package/bin/plugin/builtins/chat/channels/BaseChatChannelQueue.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/BaseChatChannelSupport.d.ts +189 -0
- package/bin/plugin/builtins/chat/channels/BaseChatChannelSupport.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/BaseChatChannelSupport.js +141 -0
- package/bin/plugin/builtins/chat/channels/BaseChatChannelSupport.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/BotInfoProvider.d.ts +18 -0
- package/bin/plugin/builtins/chat/channels/BotInfoProvider.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/BotInfoProvider.js +32 -0
- package/bin/plugin/builtins/chat/channels/BotInfoProvider.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/Configuration.d.ts +27 -0
- package/bin/plugin/builtins/chat/channels/Configuration.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/Configuration.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/ConfigurationRegistry.d.ts +18 -0
- package/bin/plugin/builtins/chat/channels/ConfigurationRegistry.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/ConfigurationRegistry.js +31 -0
- package/bin/plugin/builtins/chat/channels/ConfigurationRegistry.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/feishu/BotInfo.d.ts +20 -0
- package/bin/plugin/builtins/chat/channels/feishu/BotInfo.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/feishu/BotInfo.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/feishu/Configuration.d.ts +17 -0
- package/bin/plugin/builtins/chat/channels/feishu/Configuration.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/feishu/Configuration.js +59 -0
- package/bin/plugin/builtins/chat/channels/feishu/Configuration.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/feishu/Feishu.d.ts +116 -0
- package/bin/plugin/builtins/chat/channels/feishu/Feishu.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/feishu/Feishu.js +326 -0
- package/bin/plugin/builtins/chat/channels/feishu/Feishu.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/feishu/FeishuInbound.d.ts +21 -0
- package/bin/plugin/builtins/chat/channels/feishu/FeishuInbound.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/feishu/FeishuInbound.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/feishu/FeishuMessageHandler.d.ts +155 -0
- package/bin/plugin/builtins/chat/channels/feishu/FeishuMessageHandler.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/feishu/FeishuMessageHandler.js +247 -0
- package/bin/plugin/builtins/chat/channels/feishu/FeishuMessageHandler.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformClient.d.ts +130 -0
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformClient.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformClient.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformLookup.d.ts +102 -0
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformLookup.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformLookup.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformMessaging.d.ts +49 -0
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformMessaging.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/feishu/FeishuPlatformMessaging.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/feishu/InboundAttachment.d.ts +31 -0
- package/bin/plugin/builtins/chat/channels/feishu/InboundAttachment.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/feishu/InboundAttachment.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/feishu/PROMPT.direct.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/feishu/PROMPT.direct.js +8 -0
- package/bin/plugin/builtins/chat/channels/feishu/PROMPT.direct.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/feishu/PostMessage.d.ts +48 -0
- package/bin/plugin/builtins/chat/channels/feishu/PostMessage.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/feishu/PostMessage.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/feishu/ReplyContext.d.ts +18 -0
- package/bin/plugin/builtins/chat/channels/feishu/ReplyContext.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/feishu/ReplyContext.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/feishu/Shared.d.ts +21 -0
- package/bin/plugin/builtins/chat/channels/feishu/Shared.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/feishu/Shared.js +69 -0
- package/bin/plugin/builtins/chat/channels/feishu/Shared.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/feishu/types/FeishuChannel.d.ts +127 -0
- package/bin/plugin/builtins/chat/channels/feishu/types/FeishuChannel.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/feishu/types/FeishuChannel.js +9 -0
- package/bin/plugin/builtins/chat/channels/feishu/types/FeishuChannel.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/BotInfo.d.ts +19 -0
- package/bin/plugin/builtins/chat/channels/qq/BotInfo.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/BotInfo.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/Configuration.d.ts +17 -0
- package/bin/plugin/builtins/chat/channels/qq/Configuration.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/Configuration.js +59 -0
- package/bin/plugin/builtins/chat/channels/qq/Configuration.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/PROMPT.direct.d.ts +7 -0
- package/bin/plugin/builtins/chat/channels/qq/PROMPT.direct.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/PROMPT.direct.js +8 -0
- package/bin/plugin/builtins/chat/channels/qq/PROMPT.direct.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/QQ.d.ts +92 -0
- package/bin/plugin/builtins/chat/channels/qq/QQ.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/QQ.js +287 -0
- package/bin/plugin/builtins/chat/channels/qq/QQ.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/QQEventCapture.d.ts +22 -0
- package/bin/plugin/builtins/chat/channels/qq/QQEventCapture.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/QQEventCapture.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayAuth.d.ts +119 -0
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayAuth.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayAuth.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayClient.d.ts +155 -0
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayClient.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayClient.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayConnection.d.ts +65 -0
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayConnection.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayConnection.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayHeartbeat.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayHeartbeat.js +58 -0
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayHeartbeat.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayProtocol.d.ts +86 -0
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayProtocol.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayProtocol.js +93 -0
- package/bin/plugin/builtins/chat/channels/qq/QQGatewayProtocol.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/QQGatewaySend.d.ts +84 -0
- package/bin/plugin/builtins/chat/channels/qq/QQGatewaySend.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/QQGatewaySend.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/QQGatewaySupport.d.ts +39 -0
- package/bin/plugin/builtins/chat/channels/qq/QQGatewaySupport.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/QQGatewaySupport.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/QQInbound.d.ts +47 -0
- package/bin/plugin/builtins/chat/channels/qq/QQInbound.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/QQInbound.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/QQInboundDedupe.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/QQInboundDedupe.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/QQMessageHandler.d.ts +129 -0
- package/bin/plugin/builtins/chat/channels/qq/QQMessageHandler.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/QQMessageHandler.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/QQSendSupport.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/QQSendSupport.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/QQSupport.d.ts +102 -0
- package/bin/plugin/builtins/chat/channels/qq/QQSupport.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/QQSupport.js +172 -0
- package/bin/plugin/builtins/chat/channels/qq/QQSupport.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/VoiceInput.d.ts +64 -0
- package/bin/plugin/builtins/chat/channels/qq/VoiceInput.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/VoiceInput.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/types/QqChannel.d.ts +485 -0
- package/bin/plugin/builtins/chat/channels/qq/types/QqChannel.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/types/QqChannel.js +42 -0
- package/bin/plugin/builtins/chat/channels/qq/types/QqChannel.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/types/QqGatewaySupport.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/qq/types/QqGatewaySupport.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/telegram/ApiClient.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/telegram/ApiClient.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/telegram/Bot.d.ts +97 -0
- package/bin/plugin/builtins/chat/channels/telegram/Bot.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/telegram/Bot.js +246 -0
- package/bin/plugin/builtins/chat/channels/telegram/Bot.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/telegram/BotInfo.d.ts +19 -0
- package/bin/plugin/builtins/chat/channels/telegram/BotInfo.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/telegram/BotInfo.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/telegram/Configuration.d.ts +17 -0
- package/bin/plugin/builtins/chat/channels/telegram/Configuration.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/telegram/Configuration.js +59 -0
- package/bin/plugin/builtins/chat/channels/telegram/Configuration.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/telegram/Handlers.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/telegram/Handlers.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/telegram/PROMPT.direct.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/telegram/PROMPT.direct.js +8 -0
- package/bin/plugin/builtins/chat/channels/telegram/PROMPT.direct.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/telegram/ReplyContext.d.ts +14 -0
- package/bin/plugin/builtins/chat/channels/telegram/ReplyContext.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/telegram/ReplyContext.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/telegram/Shared.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/telegram/Shared.js +171 -0
- package/bin/plugin/builtins/chat/channels/telegram/Shared.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/telegram/StateStore.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/telegram/StateStore.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/telegram/TelegramInbound.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/telegram/TelegramInbound.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/telegram/TelegramMessageHandler.d.ts +142 -0
- package/bin/plugin/builtins/chat/channels/telegram/TelegramMessageHandler.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/telegram/TelegramMessageHandler.js +267 -0
- package/bin/plugin/builtins/chat/channels/telegram/TelegramMessageHandler.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/telegram/TelegramPendingUpdates.d.ts +55 -0
- package/bin/plugin/builtins/chat/channels/telegram/TelegramPendingUpdates.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/telegram/TelegramPendingUpdates.js.map +1 -0
- package/bin/plugin/builtins/chat/channels/telegram/TelegramPlatformClient.d.ts +161 -0
- package/bin/plugin/builtins/chat/channels/telegram/TelegramPlatformClient.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/channels/telegram/TelegramPlatformClient.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChannelContextStore.d.ts +78 -0
- package/bin/plugin/builtins/chat/runtime/ChannelContextStore.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChannelContextStore.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatActionExecution.d.ts +145 -0
- package/bin/plugin/builtins/chat/runtime/ChatActionExecution.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatActionExecution.js +287 -0
- package/bin/plugin/builtins/chat/runtime/ChatActionExecution.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatActionInput.d.ts +22 -0
- package/bin/plugin/builtins/chat/runtime/ChatActionInput.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatActionInput.js +114 -0
- package/bin/plugin/builtins/chat/runtime/ChatActionInput.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatActionInputSupport.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatActionInputSupport.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatChannelActions.d.ts +122 -0
- package/bin/plugin/builtins/chat/runtime/ChatChannelActions.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatChannelActions.js +230 -0
- package/bin/plugin/builtins/chat/runtime/ChatChannelActions.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatChannelConfig.d.ts +61 -0
- package/bin/plugin/builtins/chat/runtime/ChatChannelConfig.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatChannelConfig.js +260 -0
- package/bin/plugin/builtins/chat/runtime/ChatChannelConfig.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatChannelCore.d.ts +45 -0
- package/bin/plugin/builtins/chat/runtime/ChatChannelCore.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatChannelCore.js +106 -0
- package/bin/plugin/builtins/chat/runtime/ChatChannelCore.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatChannelFacade.d.ts +12 -0
- package/bin/plugin/builtins/chat/runtime/ChatChannelFacade.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatChannelFacade.js +12 -0
- package/bin/plugin/builtins/chat/runtime/ChatChannelFacade.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatChannelLifecycle.d.ts +28 -0
- package/bin/plugin/builtins/chat/runtime/ChatChannelLifecycle.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatChannelLifecycle.js +132 -0
- package/bin/plugin/builtins/chat/runtime/ChatChannelLifecycle.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatHistoryStore.d.ts +72 -0
- package/bin/plugin/builtins/chat/runtime/ChatHistoryStore.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatHistoryStore.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatIngressStore.d.ts +44 -0
- package/bin/plugin/builtins/chat/runtime/ChatIngressStore.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatIngressStore.js +51 -0
- package/bin/plugin/builtins/chat/runtime/ChatIngressStore.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatMessageMarkup.d.ts +54 -0
- package/bin/plugin/builtins/chat/runtime/ChatMessageMarkup.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatMessageMarkup.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatMetaStore.d.ts +68 -0
- package/bin/plugin/builtins/chat/runtime/ChatMetaStore.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatMetaStore.js +143 -0
- package/bin/plugin/builtins/chat/runtime/ChatMetaStore.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatPluginActionRegistry.d.ts +17 -0
- package/bin/plugin/builtins/chat/runtime/ChatPluginActionRegistry.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatPluginActionRegistry.js +304 -0
- package/bin/plugin/builtins/chat/runtime/ChatPluginActionRegistry.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatPluginActions.d.ts +5 -0
- package/bin/plugin/builtins/chat/runtime/ChatPluginActions.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatPluginActions.js +5 -0
- package/bin/plugin/builtins/chat/runtime/ChatPluginActions.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatPluginSystem.d.ts +22 -0
- package/bin/plugin/builtins/chat/runtime/ChatPluginSystem.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatPluginSystem.js +44 -0
- package/bin/plugin/builtins/chat/runtime/ChatPluginSystem.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatPromptAssets.d.ts +24 -0
- package/bin/plugin/builtins/chat/runtime/ChatPromptAssets.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatPromptAssets.js +28 -0
- package/bin/plugin/builtins/chat/runtime/ChatPromptAssets.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatQueue.d.ts +40 -0
- package/bin/plugin/builtins/chat/runtime/ChatQueue.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatQueue.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatQueueReplyDispatch.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatQueueReplyDispatch.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatQueueStore.d.ts +85 -0
- package/bin/plugin/builtins/chat/runtime/ChatQueueStore.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatQueueStore.js +130 -0
- package/bin/plugin/builtins/chat/runtime/ChatQueueStore.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatQueueWorker.d.ts +83 -0
- package/bin/plugin/builtins/chat/runtime/ChatQueueWorker.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatQueueWorker.js +406 -0
- package/bin/plugin/builtins/chat/runtime/ChatQueueWorker.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatQueueWorkerSupport.d.ts +36 -0
- package/bin/plugin/builtins/chat/runtime/ChatQueueWorkerSupport.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatQueueWorkerSupport.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatSendActionInput.d.ts +23 -0
- package/bin/plugin/builtins/chat/runtime/ChatSendActionInput.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatSendActionInput.js +205 -0
- package/bin/plugin/builtins/chat/runtime/ChatSendActionInput.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatSendMetadata.d.ts +20 -0
- package/bin/plugin/builtins/chat/runtime/ChatSendMetadata.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatSendMetadata.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatSendRegistry.d.ts +27 -0
- package/bin/plugin/builtins/chat/runtime/ChatSendRegistry.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatSendRegistry.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatSession.d.ts +97 -0
- package/bin/plugin/builtins/chat/runtime/ChatSession.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatSession.js +84 -0
- package/bin/plugin/builtins/chat/runtime/ChatSession.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatSessionContextComposer.d.ts +45 -0
- package/bin/plugin/builtins/chat/runtime/ChatSessionContextComposer.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatSessionContextComposer.js +60 -0
- package/bin/plugin/builtins/chat/runtime/ChatSessionContextComposer.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatSessionDelete.d.ts +29 -0
- package/bin/plugin/builtins/chat/runtime/ChatSessionDelete.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatSessionDelete.js +76 -0
- package/bin/plugin/builtins/chat/runtime/ChatSessionDelete.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatSessionTypes.d.ts +30 -0
- package/bin/plugin/builtins/chat/runtime/ChatSessionTypes.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatSessionTypes.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatkeySend.d.ts +67 -0
- package/bin/plugin/builtins/chat/runtime/ChatkeySend.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ChatkeySend.js +147 -0
- package/bin/plugin/builtins/chat/runtime/ChatkeySend.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/DirectDispatchParser.d.ts +22 -0
- package/bin/plugin/builtins/chat/runtime/DirectDispatchParser.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/DirectDispatchParser.js +133 -0
- package/bin/plugin/builtins/chat/runtime/DirectDispatchParser.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/EnqueueDispatch.d.ts +24 -0
- package/bin/plugin/builtins/chat/runtime/EnqueueDispatch.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/EnqueueDispatch.js +28 -0
- package/bin/plugin/builtins/chat/runtime/EnqueueDispatch.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/InboundAugment.d.ts +21 -0
- package/bin/plugin/builtins/chat/runtime/InboundAugment.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/InboundAugment.js +50 -0
- package/bin/plugin/builtins/chat/runtime/InboundAugment.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/PluginDispatch.d.ts +43 -0
- package/bin/plugin/builtins/chat/runtime/PluginDispatch.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/PluginDispatch.js +57 -0
- package/bin/plugin/builtins/chat/runtime/PluginDispatch.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/PluginPoints.d.ts +78 -0
- package/bin/plugin/builtins/chat/runtime/PluginPoints.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/PluginPoints.js +78 -0
- package/bin/plugin/builtins/chat/runtime/PluginPoints.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/QueuedUserMessage.d.ts +20 -0
- package/bin/plugin/builtins/chat/runtime/QueuedUserMessage.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/QueuedUserMessage.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ReplyContextFormatter.d.ts +29 -0
- package/bin/plugin/builtins/chat/runtime/ReplyContextFormatter.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ReplyContextFormatter.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ReplyDispatch.d.ts +36 -0
- package/bin/plugin/builtins/chat/runtime/ReplyDispatch.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/ReplyDispatch.js +51 -0
- package/bin/plugin/builtins/chat/runtime/ReplyDispatch.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/SystemPrompt.d.ts +26 -0
- package/bin/plugin/builtins/chat/runtime/SystemPrompt.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/SystemPrompt.js +70 -0
- package/bin/plugin/builtins/chat/runtime/SystemPrompt.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/UIMessageTransformer.d.ts +24 -0
- package/bin/plugin/builtins/chat/runtime/UIMessageTransformer.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/UIMessageTransformer.js.map +1 -0
- package/bin/plugin/builtins/chat/runtime/UserVisibleText.d.ts +34 -0
- package/bin/plugin/builtins/chat/runtime/UserVisibleText.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/runtime/UserVisibleText.js.map +1 -0
- package/bin/plugin/builtins/chat/types/BotInfo.d.ts +97 -0
- package/bin/plugin/builtins/chat/types/BotInfo.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/types/BotInfo.js.map +1 -0
- package/bin/plugin/builtins/chat/types/ChannelAccount.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/types/ChannelAccount.js.map +1 -0
- package/bin/plugin/builtins/chat/types/ChannelConfiguration.d.ts +146 -0
- package/bin/plugin/builtins/chat/types/ChannelConfiguration.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/types/ChannelConfiguration.js.map +1 -0
- package/bin/plugin/builtins/chat/types/ChannelContext.d.ts +107 -0
- package/bin/plugin/builtins/chat/types/ChannelContext.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/types/ChannelContext.js +9 -0
- package/bin/plugin/builtins/chat/types/ChannelContext.js.map +1 -0
- package/bin/plugin/builtins/chat/types/ChannelStatus.d.ts +88 -0
- package/bin/plugin/builtins/chat/types/ChannelStatus.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/types/ChannelStatus.js.map +1 -0
- package/bin/plugin/builtins/chat/types/ChatCommand.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/types/ChatCommand.js.map +1 -0
- package/bin/plugin/builtins/chat/types/ChatDispatcher.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/types/ChatDispatcher.js.map +1 -0
- package/bin/plugin/builtins/chat/types/ChatHistory.d.ts +36 -0
- package/bin/plugin/builtins/chat/types/ChatHistory.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/types/ChatHistory.js.map +1 -0
- package/bin/plugin/builtins/chat/types/ChatMessageMarkup.d.ts +144 -0
- package/bin/plugin/builtins/chat/types/ChatMessageMarkup.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/types/ChatMessageMarkup.js +9 -0
- package/bin/plugin/builtins/chat/types/ChatMessageMarkup.js.map +1 -0
- package/bin/plugin/builtins/chat/types/ChatMeta.d.ts +34 -0
- package/bin/plugin/builtins/chat/types/ChatMeta.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/types/ChatMeta.js +10 -0
- package/bin/plugin/builtins/chat/types/ChatMeta.js.map +1 -0
- package/bin/plugin/builtins/chat/types/ChatPlugin.d.ts +238 -0
- package/bin/plugin/builtins/chat/types/ChatPlugin.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/types/ChatPlugin.js +10 -0
- package/bin/plugin/builtins/chat/types/ChatPlugin.js.map +1 -0
- package/bin/plugin/builtins/chat/types/ChatPluginActionPayload.d.ts +145 -0
- package/bin/plugin/builtins/chat/types/ChatPluginActionPayload.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/types/ChatPluginActionPayload.js +10 -0
- package/bin/plugin/builtins/chat/types/ChatPluginActionPayload.js.map +1 -0
- package/bin/plugin/builtins/chat/types/ChatPromptContext.d.ts +125 -0
- package/bin/plugin/builtins/chat/types/ChatPromptContext.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/types/ChatPromptContext.js.map +1 -0
- package/bin/plugin/builtins/chat/types/ChatQueue.d.ts +36 -0
- package/bin/plugin/builtins/chat/types/ChatQueue.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/types/ChatQueue.js.map +1 -0
- package/bin/plugin/builtins/chat/types/ChatQueueWorker.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/types/ChatQueueWorker.js.map +1 -0
- package/bin/plugin/builtins/chat/types/ChatRuntime.d.ts +32 -0
- package/bin/plugin/builtins/chat/types/ChatRuntime.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/types/ChatRuntime.js +9 -0
- package/bin/plugin/builtins/chat/types/ChatRuntime.js.map +1 -0
- package/bin/plugin/builtins/chat/types/DirectDispatch.d.ts +115 -0
- package/bin/plugin/builtins/chat/types/DirectDispatch.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/types/DirectDispatch.js.map +1 -0
- package/bin/plugin/builtins/chat/types/FeishuAttachment.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/types/FeishuAttachment.js.map +1 -0
- package/bin/plugin/builtins/chat/types/FeishuInboundAttachment.d.ts +114 -0
- package/bin/plugin/builtins/chat/types/FeishuInboundAttachment.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/types/FeishuInboundAttachment.js.map +1 -0
- package/bin/plugin/builtins/chat/types/FeishuPost.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/types/FeishuPost.js.map +1 -0
- package/bin/plugin/builtins/chat/types/QqInboundDedupe.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/types/QqInboundDedupe.js.map +1 -0
- package/bin/plugin/builtins/chat/types/QqVoice.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/types/QqVoice.js.map +1 -0
- package/bin/plugin/builtins/chat/types/ReplyContext.d.ts.map +1 -0
- package/bin/plugin/builtins/chat/types/ReplyContext.js.map +1 -0
- package/bin/plugin/builtins/contact/Action.d.ts +62 -0
- package/bin/plugin/builtins/contact/Action.d.ts.map +1 -0
- package/bin/plugin/builtins/contact/Action.js +221 -0
- package/bin/plugin/builtins/contact/Action.js.map +1 -0
- package/bin/plugin/builtins/contact/ContactPlugin.d.ts +39 -0
- package/bin/plugin/builtins/contact/ContactPlugin.d.ts.map +1 -0
- package/bin/plugin/builtins/contact/ContactPlugin.js +409 -0
- package/bin/plugin/builtins/contact/ContactPlugin.js.map +1 -0
- package/bin/plugin/builtins/contact/Index.d.ts +8 -0
- package/bin/plugin/builtins/contact/Index.d.ts.map +1 -0
- package/bin/plugin/builtins/contact/Index.js +8 -0
- package/bin/plugin/builtins/contact/Index.js.map +1 -0
- package/bin/plugin/builtins/contact/PROMPT.d.ts +7 -0
- package/bin/plugin/builtins/contact/PROMPT.d.ts.map +1 -0
- package/bin/plugin/builtins/contact/PROMPT.js +8 -0
- package/bin/plugin/builtins/contact/PROMPT.js.map +1 -0
- package/bin/plugin/builtins/contact/runtime/ApproveCallback.d.ts +23 -0
- package/bin/plugin/builtins/contact/runtime/ApproveCallback.d.ts.map +1 -0
- package/bin/plugin/builtins/contact/runtime/ApproveCallback.js.map +1 -0
- package/bin/plugin/builtins/contact/runtime/ChatRuntime.d.ts +27 -0
- package/bin/plugin/builtins/contact/runtime/ChatRuntime.d.ts.map +1 -0
- package/bin/plugin/builtins/contact/runtime/ChatRuntime.js +60 -0
- package/bin/plugin/builtins/contact/runtime/ChatRuntime.js.map +1 -0
- package/bin/plugin/builtins/contact/runtime/ContactPayload.d.ts.map +1 -0
- package/bin/plugin/builtins/contact/runtime/ContactPayload.js.map +1 -0
- package/bin/plugin/builtins/contact/runtime/ContactPromptAssets.d.ts +12 -0
- package/bin/plugin/builtins/contact/runtime/ContactPromptAssets.d.ts.map +1 -0
- package/bin/plugin/builtins/contact/runtime/ContactPromptAssets.js +13 -0
- package/bin/plugin/builtins/contact/runtime/ContactPromptAssets.js.map +1 -0
- package/bin/plugin/builtins/contact/runtime/ContactStore.d.ts +49 -0
- package/bin/plugin/builtins/contact/runtime/ContactStore.d.ts.map +1 -0
- package/bin/plugin/builtins/contact/runtime/ContactStore.js.map +1 -0
- package/bin/plugin/builtins/contact/runtime/EndpointNotice.d.ts +39 -0
- package/bin/plugin/builtins/contact/runtime/EndpointNotice.d.ts.map +1 -0
- package/bin/plugin/builtins/contact/runtime/EndpointNotice.js.map +1 -0
- package/bin/plugin/builtins/contact/runtime/EndpointResolver.d.ts.map +1 -0
- package/bin/plugin/builtins/contact/runtime/EndpointResolver.js.map +1 -0
- package/bin/plugin/builtins/contact/runtime/InboxStore.d.ts +33 -0
- package/bin/plugin/builtins/contact/runtime/InboxStore.d.ts.map +1 -0
- package/bin/plugin/builtins/contact/runtime/InboxStore.js.map +1 -0
- package/bin/plugin/builtins/contact/runtime/LinkApproval.d.ts +20 -0
- package/bin/plugin/builtins/contact/runtime/LinkApproval.d.ts.map +1 -0
- package/bin/plugin/builtins/contact/runtime/LinkApproval.js.map +1 -0
- package/bin/plugin/builtins/contact/runtime/LinkCode.d.ts +21 -0
- package/bin/plugin/builtins/contact/runtime/LinkCode.d.ts.map +1 -0
- package/bin/plugin/builtins/contact/runtime/LinkCode.js.map +1 -0
- package/bin/plugin/builtins/contact/runtime/LinkStore.d.ts +17 -0
- package/bin/plugin/builtins/contact/runtime/LinkStore.d.ts.map +1 -0
- package/bin/plugin/builtins/contact/runtime/LinkStore.js.map +1 -0
- package/bin/plugin/builtins/contact/runtime/Paths.d.ts +64 -0
- package/bin/plugin/builtins/contact/runtime/Paths.d.ts.map +1 -0
- package/bin/plugin/builtins/contact/runtime/Paths.js +103 -0
- package/bin/plugin/builtins/contact/runtime/Paths.js.map +1 -0
- package/bin/plugin/builtins/contact/runtime/RemoteClient.d.ts +46 -0
- package/bin/plugin/builtins/contact/runtime/RemoteClient.d.ts.map +1 -0
- package/bin/plugin/builtins/contact/runtime/RemoteClient.js +120 -0
- package/bin/plugin/builtins/contact/runtime/RemoteClient.js.map +1 -0
- package/bin/plugin/builtins/contact/runtime/ShareBundle.d.ts +65 -0
- package/bin/plugin/builtins/contact/runtime/ShareBundle.d.ts.map +1 -0
- package/bin/plugin/builtins/contact/runtime/ShareBundle.js.map +1 -0
- package/bin/plugin/builtins/contact/runtime/SystemProvider.d.ts +5 -0
- package/bin/plugin/builtins/contact/runtime/SystemProvider.d.ts.map +1 -0
- package/bin/plugin/builtins/contact/runtime/SystemProvider.js +15 -0
- package/bin/plugin/builtins/contact/runtime/SystemProvider.js.map +1 -0
- package/bin/plugin/builtins/contact/runtime/Token.d.ts.map +1 -0
- package/bin/plugin/builtins/contact/runtime/Token.js.map +1 -0
- package/bin/plugin/builtins/contact/types/Contact.d.ts.map +1 -0
- package/bin/plugin/builtins/contact/types/Contact.js.map +1 -0
- package/bin/plugin/builtins/contact/types/ContactApproval.d.ts.map +1 -0
- package/bin/plugin/builtins/contact/types/ContactApproval.js.map +1 -0
- package/bin/plugin/builtins/contact/types/ContactChat.d.ts.map +1 -0
- package/bin/plugin/builtins/contact/types/ContactChat.js.map +1 -0
- package/bin/plugin/builtins/contact/types/ContactCheck.d.ts +66 -0
- package/bin/plugin/builtins/contact/types/ContactCheck.d.ts.map +1 -0
- package/bin/plugin/builtins/contact/types/ContactCheck.js.map +1 -0
- package/bin/plugin/builtins/contact/types/ContactCommand.d.ts +93 -0
- package/bin/plugin/builtins/contact/types/ContactCommand.d.ts.map +1 -0
- package/bin/plugin/builtins/contact/types/ContactCommand.js +8 -0
- package/bin/plugin/builtins/contact/types/ContactCommand.js.map +1 -0
- package/bin/plugin/builtins/contact/types/ContactEndpoint.d.ts.map +1 -0
- package/bin/plugin/builtins/contact/types/ContactEndpoint.js.map +1 -0
- package/bin/plugin/builtins/contact/types/ContactLink.d.ts.map +1 -0
- package/bin/plugin/builtins/contact/types/ContactLink.js.map +1 -0
- package/bin/plugin/builtins/contact/types/ContactShare.d.ts.map +1 -0
- package/bin/plugin/builtins/contact/types/ContactShare.js.map +1 -0
- package/bin/plugin/builtins/memory/Action.d.ts +37 -0
- package/bin/plugin/builtins/memory/Action.d.ts.map +1 -0
- package/bin/plugin/builtins/memory/Action.js.map +1 -0
- package/bin/plugin/builtins/memory/Index.d.ts +9 -0
- package/bin/plugin/builtins/memory/Index.d.ts.map +1 -0
- package/bin/plugin/builtins/memory/Index.js +9 -0
- package/bin/plugin/builtins/memory/Index.js.map +1 -0
- package/bin/plugin/builtins/memory/MemoryPlugin.d.ts +45 -0
- package/bin/plugin/builtins/memory/MemoryPlugin.d.ts.map +1 -0
- package/bin/plugin/builtins/memory/MemoryPlugin.js +242 -0
- package/bin/plugin/builtins/memory/MemoryPlugin.js.map +1 -0
- package/bin/plugin/builtins/memory/runtime/Flush.d.ts +15 -0
- package/bin/plugin/builtins/memory/runtime/Flush.d.ts.map +1 -0
- package/bin/plugin/builtins/memory/runtime/Flush.js.map +1 -0
- package/bin/plugin/builtins/memory/runtime/Search.d.ts +19 -0
- package/bin/plugin/builtins/memory/runtime/Search.d.ts.map +1 -0
- package/bin/plugin/builtins/memory/runtime/Search.js +268 -0
- package/bin/plugin/builtins/memory/runtime/Search.js.map +1 -0
- package/bin/plugin/builtins/memory/runtime/Store.d.ts +65 -0
- package/bin/plugin/builtins/memory/runtime/Store.d.ts.map +1 -0
- package/bin/plugin/builtins/memory/runtime/Store.js +142 -0
- package/bin/plugin/builtins/memory/runtime/Store.js.map +1 -0
- package/bin/plugin/builtins/memory/runtime/SystemProvider.d.ts +22 -0
- package/bin/plugin/builtins/memory/runtime/SystemProvider.d.ts.map +1 -0
- package/bin/plugin/builtins/memory/runtime/SystemProvider.js +126 -0
- package/bin/plugin/builtins/memory/runtime/SystemProvider.js.map +1 -0
- package/bin/plugin/builtins/memory/runtime/Writer.d.ts +23 -0
- package/bin/plugin/builtins/memory/runtime/Writer.d.ts.map +1 -0
- package/bin/plugin/builtins/memory/runtime/Writer.js +139 -0
- package/bin/plugin/builtins/memory/runtime/Writer.js.map +1 -0
- package/bin/plugin/builtins/memory/types/Memory.d.ts.map +1 -0
- package/bin/plugin/builtins/memory/types/Memory.js.map +1 -0
- package/bin/plugin/builtins/schedule/SchedulePlugin.d.ts +39 -0
- package/bin/plugin/builtins/schedule/SchedulePlugin.d.ts.map +1 -0
- package/bin/plugin/builtins/schedule/SchedulePlugin.js +106 -0
- package/bin/plugin/builtins/schedule/SchedulePlugin.js.map +1 -0
- package/bin/plugin/builtins/shell/Index.d.ts +9 -0
- package/bin/plugin/builtins/shell/Index.d.ts.map +1 -0
- package/bin/plugin/builtins/shell/Index.js +9 -0
- package/bin/plugin/builtins/shell/Index.js.map +1 -0
- package/bin/plugin/builtins/shell/ShellPlugin.d.ts +65 -0
- package/bin/plugin/builtins/shell/ShellPlugin.d.ts.map +1 -0
- package/bin/plugin/builtins/shell/ShellPlugin.js +138 -0
- package/bin/plugin/builtins/shell/ShellPlugin.js.map +1 -0
- package/bin/plugin/builtins/shell/ShellRuntimeTypes.d.ts +91 -0
- package/bin/plugin/builtins/shell/ShellRuntimeTypes.d.ts.map +1 -0
- package/bin/plugin/builtins/shell/ShellRuntimeTypes.js +10 -0
- package/bin/plugin/builtins/shell/ShellRuntimeTypes.js.map +1 -0
- package/bin/plugin/builtins/shell/runtime/Paths.d.ts.map +1 -0
- package/bin/plugin/builtins/shell/runtime/Paths.js.map +1 -0
- package/bin/plugin/builtins/shell/runtime/ShellActionResponse.d.ts +52 -0
- package/bin/plugin/builtins/shell/runtime/ShellActionResponse.d.ts.map +1 -0
- package/bin/plugin/builtins/shell/runtime/ShellActionResponse.js.map +1 -0
- package/bin/plugin/builtins/shell/runtime/ShellActionRuntime.d.ts +49 -0
- package/bin/plugin/builtins/shell/runtime/ShellActionRuntime.d.ts.map +1 -0
- package/bin/plugin/builtins/shell/runtime/ShellActionRuntime.js +440 -0
- package/bin/plugin/builtins/shell/runtime/ShellActionRuntime.js.map +1 -0
- package/bin/plugin/builtins/shell/runtime/ShellActionRuntimeSupport.d.ts +79 -0
- package/bin/plugin/builtins/shell/runtime/ShellActionRuntimeSupport.d.ts.map +1 -0
- package/bin/plugin/builtins/shell/runtime/ShellActionRuntimeSupport.js +312 -0
- package/bin/plugin/builtins/shell/runtime/ShellActionRuntimeSupport.js.map +1 -0
- package/bin/plugin/builtins/shell/runtime/ShellProcessEvents.d.ts +22 -0
- package/bin/plugin/builtins/shell/runtime/ShellProcessEvents.d.ts.map +1 -0
- package/bin/plugin/builtins/shell/runtime/ShellProcessEvents.js.map +1 -0
- package/bin/plugin/builtins/shell/runtime/ShellRuntimeEnvironment.d.ts.map +1 -0
- package/bin/plugin/builtins/shell/runtime/ShellRuntimeEnvironment.js +75 -0
- package/bin/plugin/builtins/shell/runtime/ShellRuntimeEnvironment.js.map +1 -0
- package/bin/plugin/builtins/shell/types/Shell.d.ts.map +1 -0
- package/bin/plugin/builtins/shell/types/Shell.js.map +1 -0
- package/bin/plugin/builtins/shell/types/ShellPlugin.d.ts +216 -0
- package/bin/plugin/builtins/shell/types/ShellPlugin.d.ts.map +1 -0
- package/bin/plugin/builtins/shell/types/ShellPlugin.js +9 -0
- package/bin/plugin/builtins/shell/types/ShellPlugin.js.map +1 -0
- package/bin/plugin/builtins/skill/Plugin.d.ts +8 -4
- package/bin/plugin/builtins/skill/Plugin.d.ts.map +1 -1
- package/bin/plugin/builtins/skill/Plugin.js +215 -205
- package/bin/plugin/builtins/skill/Plugin.js.map +1 -1
- package/bin/plugin/builtins/skill/runtime/SystemProvider.js +1 -1
- package/bin/plugin/builtins/skill/runtime/SystemProvider.js.map +1 -1
- package/bin/plugin/builtins/task/Action.d.ts.map +1 -0
- package/bin/plugin/builtins/task/Action.js.map +1 -0
- package/bin/plugin/builtins/task/Index.d.ts +9 -0
- package/bin/plugin/builtins/task/Index.d.ts.map +1 -0
- package/bin/plugin/builtins/task/Index.js +9 -0
- package/bin/plugin/builtins/task/Index.js.map +1 -0
- package/bin/plugin/builtins/task/PROMPT.d.ts +7 -0
- package/bin/plugin/builtins/task/PROMPT.d.ts.map +1 -0
- package/bin/plugin/builtins/task/PROMPT.js +8 -0
- package/bin/plugin/builtins/task/PROMPT.js.map +1 -0
- package/bin/plugin/builtins/task/Scheduler.d.ts +17 -0
- package/bin/plugin/builtins/task/Scheduler.d.ts.map +1 -0
- package/bin/plugin/builtins/task/Scheduler.js +231 -0
- package/bin/plugin/builtins/task/Scheduler.js.map +1 -0
- package/bin/plugin/builtins/task/TaskPlugin.d.ts +57 -0
- package/bin/plugin/builtins/task/TaskPlugin.d.ts.map +1 -0
- package/bin/plugin/builtins/task/TaskPlugin.js +126 -0
- package/bin/plugin/builtins/task/TaskPlugin.js.map +1 -0
- package/bin/plugin/builtins/task/runtime/CronTrigger.d.ts +19 -0
- package/bin/plugin/builtins/task/runtime/CronTrigger.d.ts.map +1 -0
- package/bin/plugin/builtins/task/runtime/CronTrigger.js +93 -0
- package/bin/plugin/builtins/task/runtime/CronTrigger.js.map +1 -0
- package/bin/plugin/builtins/task/runtime/Frontmatter.d.ts.map +1 -0
- package/bin/plugin/builtins/task/runtime/Frontmatter.js.map +1 -0
- package/bin/plugin/builtins/task/runtime/Model.d.ts +73 -0
- package/bin/plugin/builtins/task/runtime/Model.d.ts.map +1 -0
- package/bin/plugin/builtins/task/runtime/Model.js.map +1 -0
- package/bin/plugin/builtins/task/runtime/Paths.d.ts.map +1 -0
- package/bin/plugin/builtins/task/runtime/Paths.js.map +1 -0
- package/bin/plugin/builtins/task/runtime/Runner.d.ts +43 -0
- package/bin/plugin/builtins/task/runtime/Runner.d.ts.map +1 -0
- package/bin/plugin/builtins/task/runtime/Runner.js.map +1 -0
- package/bin/plugin/builtins/task/runtime/Store.d.ts +89 -0
- package/bin/plugin/builtins/task/runtime/Store.d.ts.map +1 -0
- package/bin/plugin/builtins/task/runtime/Store.js.map +1 -0
- package/bin/plugin/builtins/task/runtime/TaskActionExecution.d.ts +160 -0
- package/bin/plugin/builtins/task/runtime/TaskActionExecution.d.ts.map +1 -0
- package/bin/plugin/builtins/task/runtime/TaskActionExecution.js +192 -0
- package/bin/plugin/builtins/task/runtime/TaskActionExecution.js.map +1 -0
- package/bin/plugin/builtins/task/runtime/TaskActionInput.d.ts +19 -0
- package/bin/plugin/builtins/task/runtime/TaskActionInput.d.ts.map +1 -0
- package/bin/plugin/builtins/task/runtime/TaskActionInput.js +218 -0
- package/bin/plugin/builtins/task/runtime/TaskActionInput.js.map +1 -0
- package/bin/plugin/builtins/task/runtime/TaskPluginActionRegistry.d.ts +16 -0
- package/bin/plugin/builtins/task/runtime/TaskPluginActionRegistry.d.ts.map +1 -0
- package/bin/plugin/builtins/task/runtime/TaskPluginActionRegistry.js +167 -0
- package/bin/plugin/builtins/task/runtime/TaskPluginActionRegistry.js.map +1 -0
- package/bin/plugin/builtins/task/runtime/TaskPluginActions.d.ts +5 -0
- package/bin/plugin/builtins/task/runtime/TaskPluginActions.d.ts.map +1 -0
- package/bin/plugin/builtins/task/runtime/TaskPluginActions.js +5 -0
- package/bin/plugin/builtins/task/runtime/TaskPluginActions.js.map +1 -0
- package/bin/plugin/builtins/task/runtime/TaskPluginSystem.d.ts +9 -0
- package/bin/plugin/builtins/task/runtime/TaskPluginSystem.d.ts.map +1 -0
- package/bin/plugin/builtins/task/runtime/TaskPluginSystem.js +9 -0
- package/bin/plugin/builtins/task/runtime/TaskPluginSystem.js.map +1 -0
- package/bin/plugin/builtins/task/runtime/TaskPromptAssets.d.ts +12 -0
- package/bin/plugin/builtins/task/runtime/TaskPromptAssets.d.ts.map +1 -0
- package/bin/plugin/builtins/task/runtime/TaskPromptAssets.js +13 -0
- package/bin/plugin/builtins/task/runtime/TaskPromptAssets.js.map +1 -0
- package/bin/plugin/builtins/task/runtime/TaskRunArtifacts.d.ts +189 -0
- package/bin/plugin/builtins/task/runtime/TaskRunArtifacts.d.ts.map +1 -0
- package/bin/plugin/builtins/task/runtime/TaskRunArtifacts.js.map +1 -0
- package/bin/plugin/builtins/task/runtime/TaskRunChatDispatch.d.ts +22 -0
- package/bin/plugin/builtins/task/runtime/TaskRunChatDispatch.d.ts.map +1 -0
- package/bin/plugin/builtins/task/runtime/TaskRunChatDispatch.js +66 -0
- package/bin/plugin/builtins/task/runtime/TaskRunChatDispatch.js.map +1 -0
- package/bin/plugin/builtins/task/runtime/TaskRunnerProgress.d.ts +35 -0
- package/bin/plugin/builtins/task/runtime/TaskRunnerProgress.d.ts.map +1 -0
- package/bin/plugin/builtins/task/runtime/TaskRunnerProgress.js.map +1 -0
- package/bin/plugin/builtins/task/runtime/TaskRunnerRound.d.ts +80 -0
- package/bin/plugin/builtins/task/runtime/TaskRunnerRound.d.ts.map +1 -0
- package/bin/plugin/builtins/task/runtime/TaskRunnerRound.js +272 -0
- package/bin/plugin/builtins/task/runtime/TaskRunnerRound.js.map +1 -0
- package/bin/plugin/builtins/task/runtime/TaskRunnerScript.d.ts +81 -0
- package/bin/plugin/builtins/task/runtime/TaskRunnerScript.d.ts.map +1 -0
- package/bin/plugin/builtins/task/runtime/TaskRunnerScript.js.map +1 -0
- package/bin/plugin/builtins/task/runtime/TaskRunnerSession.d.ts +48 -0
- package/bin/plugin/builtins/task/runtime/TaskRunnerSession.d.ts.map +1 -0
- package/bin/plugin/builtins/task/runtime/TaskRunnerSession.js +153 -0
- package/bin/plugin/builtins/task/runtime/TaskRunnerSession.js.map +1 -0
- package/bin/plugin/builtins/task/runtime/TaskRunnerTypes.d.ts +186 -0
- package/bin/plugin/builtins/task/runtime/TaskRunnerTypes.d.ts.map +1 -0
- package/bin/plugin/builtins/task/runtime/TaskRunnerTypes.js.map +1 -0
- package/bin/plugin/builtins/task/types/Cron.d.ts +16 -0
- package/bin/plugin/builtins/task/types/Cron.d.ts.map +1 -0
- package/bin/plugin/builtins/task/types/Cron.js.map +1 -0
- package/bin/plugin/builtins/task/types/Task.d.ts.map +1 -0
- package/bin/plugin/builtins/task/types/Task.js.map +1 -0
- package/bin/plugin/builtins/task/types/TaskCommand.d.ts.map +1 -0
- package/bin/plugin/builtins/task/types/TaskCommand.js.map +1 -0
- package/bin/plugin/builtins/task/types/TaskPluginTypes.d.ts +52 -0
- package/bin/plugin/builtins/task/types/TaskPluginTypes.d.ts.map +1 -0
- package/bin/plugin/builtins/task/types/TaskPluginTypes.js +9 -0
- package/bin/plugin/builtins/task/types/TaskPluginTypes.js.map +1 -0
- package/bin/plugin/builtins/tts/Plugin.d.ts +7 -3
- package/bin/plugin/builtins/tts/Plugin.d.ts.map +1 -1
- package/bin/plugin/builtins/tts/Plugin.js +419 -409
- package/bin/plugin/builtins/tts/Plugin.js.map +1 -1
- package/bin/plugin/builtins/tts/runtime/Synthesizer.js +1 -1
- package/bin/plugin/builtins/tts/runtime/Synthesizer.js.map +1 -1
- package/bin/plugin/builtins/web/Plugin.d.ts +7 -3
- package/bin/plugin/builtins/web/Plugin.d.ts.map +1 -1
- package/bin/plugin/builtins/web/Plugin.js +380 -370
- package/bin/plugin/builtins/web/Plugin.js.map +1 -1
- package/bin/plugin/builtins/workboard/Plugin.d.ts +7 -3
- package/bin/plugin/builtins/workboard/Plugin.d.ts.map +1 -1
- package/bin/plugin/builtins/workboard/Plugin.js +64 -54
- package/bin/plugin/builtins/workboard/Plugin.js.map +1 -1
- package/bin/plugin/builtins/workboard/runtime/Collector.d.ts +1 -1
- package/bin/plugin/builtins/workboard/runtime/Collector.d.ts.map +1 -1
- package/bin/plugin/builtins/workboard/runtime/Collector.js +7 -6
- package/bin/plugin/builtins/workboard/runtime/Collector.js.map +1 -1
- package/bin/plugin/builtins/workboard/runtime/Normalizer.d.ts +3 -3
- package/bin/plugin/builtins/workboard/runtime/Normalizer.d.ts.map +1 -1
- package/bin/plugin/builtins/workboard/runtime/Normalizer.js +1 -1
- package/bin/plugin/builtins/workboard/runtime/Normalizer.js.map +1 -1
- package/bin/plugin/core/BasePlugin.d.ts +87 -0
- package/bin/plugin/core/BasePlugin.d.ts.map +1 -0
- package/bin/plugin/core/BasePlugin.js +84 -0
- package/bin/plugin/core/BasePlugin.js.map +1 -0
- package/bin/plugin/core/BuiltinPluginClasses.d.ts +19 -0
- package/bin/plugin/core/BuiltinPluginClasses.d.ts.map +1 -0
- package/bin/plugin/core/BuiltinPluginClasses.js +38 -0
- package/bin/plugin/core/BuiltinPluginClasses.js.map +1 -0
- package/bin/plugin/core/Catalog.d.ts +4 -3
- package/bin/plugin/core/Catalog.d.ts.map +1 -1
- package/bin/plugin/core/Catalog.js +3 -3
- package/bin/plugin/core/Catalog.js.map +1 -1
- package/bin/plugin/core/HttpRoutes.d.ts +2 -2
- package/bin/plugin/core/HttpRoutes.d.ts.map +1 -1
- package/bin/plugin/core/HttpRoutes.js +6 -6
- package/bin/plugin/core/HttpRoutes.js.map +1 -1
- package/bin/plugin/core/LocalExecution.d.ts.map +1 -1
- package/bin/plugin/core/LocalExecution.js +17 -2
- package/bin/plugin/core/LocalExecution.js.map +1 -1
- package/bin/plugin/core/Manager.d.ts +7 -0
- package/bin/plugin/core/Manager.d.ts.map +1 -0
- package/bin/plugin/core/Manager.js +6 -0
- package/bin/plugin/core/Manager.js.map +1 -0
- package/bin/plugin/core/PluginActionRunner.d.ts +34 -0
- package/bin/plugin/core/PluginActionRunner.d.ts.map +1 -0
- package/bin/plugin/core/PluginActionRunner.js +207 -0
- package/bin/plugin/core/PluginActionRunner.js.map +1 -0
- package/bin/plugin/core/PluginClassRegistry.d.ts +42 -0
- package/bin/plugin/core/PluginClassRegistry.d.ts.map +1 -0
- package/bin/plugin/core/PluginClassRegistry.js +73 -0
- package/bin/plugin/core/PluginClassRegistry.js.map +1 -0
- package/bin/plugin/core/PluginCommand.d.ts +2 -2
- package/bin/plugin/core/PluginCommand.js +4 -4
- package/bin/plugin/core/PluginCommand.js.map +1 -1
- package/bin/plugin/core/PluginCommandRequest.d.ts +36 -0
- package/bin/plugin/core/PluginCommandRequest.d.ts.map +1 -0
- package/bin/plugin/core/PluginCommandRequest.js +53 -0
- package/bin/plugin/core/PluginCommandRequest.js.map +1 -0
- package/bin/plugin/core/PluginStateController.d.ts +82 -0
- package/bin/plugin/core/PluginStateController.d.ts.map +1 -0
- package/bin/plugin/core/PluginStateController.js +240 -0
- package/bin/plugin/core/PluginStateController.js.map +1 -0
- package/bin/plugin/core/PluginSystemProviders.d.ts +27 -0
- package/bin/plugin/core/PluginSystemProviders.d.ts.map +1 -0
- package/bin/plugin/core/PluginSystemProviders.js +34 -0
- package/bin/plugin/core/PluginSystemProviders.js.map +1 -0
- package/bin/plugin/core/schedule/Executor.d.ts +17 -0
- package/bin/plugin/core/schedule/Executor.d.ts.map +1 -0
- package/bin/plugin/core/schedule/Executor.js +48 -0
- package/bin/plugin/core/schedule/Executor.js.map +1 -0
- package/bin/plugin/core/schedule/Store.d.ts +91 -0
- package/bin/plugin/core/schedule/Store.d.ts.map +1 -0
- package/bin/plugin/core/schedule/Store.js +284 -0
- package/bin/plugin/core/schedule/Store.js.map +1 -0
- package/bin/plugin/core/schedule/Time.d.ts +31 -0
- package/bin/plugin/core/schedule/Time.d.ts.map +1 -0
- package/bin/plugin/core/schedule/Time.js +107 -0
- package/bin/plugin/core/schedule/Time.js.map +1 -0
- package/bin/plugin/types/Plugin.d.ts +171 -17
- package/bin/plugin/types/Plugin.d.ts.map +1 -1
- package/bin/plugin/types/PluginApi.d.ts +3 -3
- package/bin/plugin/types/PluginApi.d.ts.map +1 -1
- package/bin/plugin/types/PluginApi.js +1 -1
- package/bin/plugin/types/PluginSchedule.d.ts +80 -0
- package/bin/plugin/types/PluginSchedule.d.ts.map +1 -0
- package/bin/plugin/types/PluginSchedule.js +5 -0
- package/bin/plugin/types/PluginSchedule.js.map +1 -0
- package/bin/plugin/types/PluginState.d.ts +5 -0
- package/bin/plugin/types/PluginState.d.ts.map +1 -0
- package/bin/plugin/types/PluginState.js +5 -0
- package/bin/plugin/types/PluginState.js.map +1 -0
- package/bin/plugin/types/Plugins.d.ts +61 -0
- package/bin/plugin/types/Plugins.d.ts.map +1 -0
- package/bin/plugin/types/Plugins.js +5 -0
- package/bin/plugin/types/Plugins.js.map +1 -0
- package/bin/runtime/host/AgentHostRuntime.d.ts +1 -1
- package/bin/runtime/host/AgentHostRuntime.d.ts.map +1 -1
- package/bin/runtime/host/AgentHostRuntime.js +6 -4
- package/bin/runtime/host/AgentHostRuntime.js.map +1 -1
- package/bin/runtime/host/daemon/Api.d.ts +2 -2
- package/bin/runtime/host/daemon/Api.js +1 -1
- package/bin/runtime/host/daemon/ProjectSetup.js +2 -2
- package/bin/runtime/host/daemon/ProjectSetup.js.map +1 -1
- package/bin/runtime/sandbox/types/SandboxRuntime.d.ts +1 -1
- package/bin/runtime/sandbox/types/SandboxRuntime.js +1 -1
- package/bin/runtime/server/http/Server.d.ts +8 -8
- package/bin/runtime/server/http/Server.d.ts.map +1 -1
- package/bin/runtime/server/http/Server.js +8 -30
- package/bin/runtime/server/http/Server.js.map +1 -1
- package/bin/runtime/server/http/control/ExecuteBySession.d.ts +2 -2
- package/bin/runtime/server/http/control/ExecuteBySession.d.ts.map +1 -1
- package/bin/runtime/server/http/control/ExecuteBySession.js +10 -36
- package/bin/runtime/server/http/control/ExecuteBySession.js.map +1 -1
- package/bin/runtime/server/http/control/ExecuteInput.js +1 -1
- package/bin/runtime/server/http/control/ExecuteInput.js.map +1 -1
- package/bin/runtime/server/http/control/MessageTimeline.d.ts +1 -1
- package/bin/runtime/server/http/control/MessageTimeline.d.ts.map +1 -1
- package/bin/runtime/server/http/control/MessageTimeline.js +2 -2
- package/bin/runtime/server/http/control/MessageTimeline.js.map +1 -1
- package/bin/runtime/server/http/control/OverviewRoutes.d.ts +2 -2
- package/bin/runtime/server/http/control/OverviewRoutes.d.ts.map +1 -1
- package/bin/runtime/server/http/control/OverviewRoutes.js +9 -8
- package/bin/runtime/server/http/control/OverviewRoutes.js.map +1 -1
- package/bin/runtime/server/http/control/SessionRoutes.d.ts.map +1 -1
- package/bin/runtime/server/http/control/SessionRoutes.js +7 -6
- package/bin/runtime/server/http/control/SessionRoutes.js.map +1 -1
- package/bin/runtime/server/http/control/SessionSummaryStore.d.ts +1 -0
- package/bin/runtime/server/http/control/SessionSummaryStore.d.ts.map +1 -1
- package/bin/runtime/server/http/control/SessionSummaryStore.js +3 -3
- package/bin/runtime/server/http/control/SessionSummaryStore.js.map +1 -1
- package/bin/runtime/server/http/control/TaskRoutes.d.ts +1 -1
- package/bin/runtime/server/http/control/TaskRoutes.js +10 -10
- package/bin/runtime/server/http/control/TaskRoutes.js.map +1 -1
- package/bin/runtime/server/http/control/TaskStore.js +1 -1
- package/bin/runtime/server/http/control/TaskStore.js.map +1 -1
- package/bin/runtime/server/http/execute/execute.d.ts.map +1 -1
- package/bin/runtime/server/http/execute/execute.js +7 -36
- package/bin/runtime/server/http/execute/execute.js.map +1 -1
- package/bin/runtime/server/http/plugins/plugins.d.ts +3 -3
- package/bin/runtime/server/http/plugins/plugins.d.ts.map +1 -1
- package/bin/runtime/server/http/plugins/plugins.js +61 -4
- package/bin/runtime/server/http/plugins/plugins.js.map +1 -1
- package/bin/runtime/server/http/sdk/Router.d.ts +2 -2
- package/bin/runtime/server/http/sdk/Router.d.ts.map +1 -1
- package/bin/runtime/server/http/sdk/Router.js +2 -2
- package/bin/runtime/server/http/sdk/Router.js.map +1 -1
- package/bin/runtime/server/http/sdk/SessionRoutes.d.ts +2 -2
- package/bin/runtime/server/http/sdk/SessionRoutes.d.ts.map +1 -1
- package/bin/runtime/server/http/sdk/SessionRoutes.js +72 -13
- package/bin/runtime/server/http/sdk/SessionRoutes.js.map +1 -1
- package/bin/runtime/server/rpc/Server.d.ts +2 -4
- package/bin/runtime/server/rpc/Server.d.ts.map +1 -1
- package/bin/runtime/server/rpc/Server.js +31 -33
- package/bin/runtime/server/rpc/Server.js.map +1 -1
- package/bin/sdk/Agent.d.ts +21 -20
- package/bin/sdk/Agent.d.ts.map +1 -1
- package/bin/sdk/Agent.js +47 -34
- package/bin/sdk/Agent.js.map +1 -1
- package/bin/sdk/AgentSdkTypes.d.ts +313 -41
- package/bin/sdk/AgentSdkTypes.d.ts.map +1 -1
- package/bin/sdk/AgentSdkTypes.js +1 -1
- package/bin/sdk/RemoteAgent.d.ts +9 -57
- package/bin/sdk/RemoteAgent.d.ts.map +1 -1
- package/bin/sdk/RemoteAgent.js +63 -14
- package/bin/sdk/RemoteAgent.js.map +1 -1
- package/bin/sdk/Session.d.ts +18 -23
- package/bin/sdk/Session.d.ts.map +1 -1
- package/bin/sdk/Session.js +85 -100
- package/bin/sdk/Session.js.map +1 -1
- package/bin/sdk/SessionSystemBuilder.d.ts +8 -8
- package/bin/sdk/SessionSystemBuilder.d.ts.map +1 -1
- package/bin/sdk/SessionSystemBuilder.js +6 -7
- package/bin/sdk/SessionSystemBuilder.js.map +1 -1
- package/bin/sdk/session/Browse.d.ts +76 -0
- package/bin/sdk/session/Browse.d.ts.map +1 -0
- package/bin/sdk/session/Browse.js +418 -0
- package/bin/sdk/session/Browse.js.map +1 -0
- package/bin/sdk/session/Metadata.d.ts +1 -1
- package/bin/sdk/session/Metadata.d.ts.map +1 -1
- package/bin/sdk/session/Paths.d.ts +2 -2
- package/bin/sdk/session/Paths.js +2 -2
- package/bin/sdk/session/Persistence.d.ts +1 -1
- package/bin/sdk/session/Persistence.d.ts.map +1 -1
- package/bin/sdk/session/Persistence.js +5 -5
- package/bin/sdk/session/Persistence.js.map +1 -1
- package/bin/sdk/session/RuntimeSessionPort.d.ts +70 -0
- package/bin/sdk/session/RuntimeSessionPort.d.ts.map +1 -0
- package/bin/sdk/session/RuntimeSessionPort.js +40 -0
- package/bin/sdk/session/RuntimeSessionPort.js.map +1 -0
- package/bin/sdk/session/index.d.ts +3 -2
- package/bin/sdk/session/index.d.ts.map +1 -1
- package/bin/sdk/session/index.js +3 -2
- package/bin/sdk/session/index.js.map +1 -1
- package/bin/sdk/session/runtime/SessionPromptRuntime.d.ts +7 -4
- package/bin/sdk/session/runtime/SessionPromptRuntime.d.ts.map +1 -1
- package/bin/sdk/session/runtime/SessionPromptRuntime.js +29 -5
- package/bin/sdk/session/runtime/SessionPromptRuntime.js.map +1 -1
- package/bin/types/config/DowncityConfig.d.ts +133 -97
- package/bin/types/config/DowncityConfig.d.ts.map +1 -1
- package/bin/types/runtime/auth/AuthPermission.d.ts +1 -1
- package/bin/types/runtime/auth/AuthPermission.d.ts.map +1 -1
- package/bin/types/runtime/auth/AuthPermission.js +0 -5
- package/bin/types/runtime/auth/AuthPermission.js.map +1 -1
- package/bin/types/runtime/host/AgentHost.d.ts +9 -5
- package/bin/types/runtime/host/AgentHost.d.ts.map +1 -1
- package/bin/types/runtime/host/AgentHost.js +1 -1
- package/bin/types/runtime/http/InlineInstant.d.ts +2 -2
- package/bin/types/runtime/http/InlineInstant.d.ts.map +1 -1
- package/bin/types/runtime/platform/PlatformGateway.d.ts +10 -10
- package/bin/types/runtime/platform/PlatformGateway.d.ts.map +1 -1
- package/bin/types/sdk/AgentSessionEvent.d.ts +27 -1
- package/bin/types/sdk/AgentSessionEvent.d.ts.map +1 -1
- package/bin/types/sdk/AgentSessionTurn.d.ts +9 -0
- package/bin/types/sdk/AgentSessionTurn.d.ts.map +1 -1
- package/package.json +3 -11
- package/scripts/session-prompt-runtime.test.mjs +30 -10
- package/src/config/Defaults.ts +1 -1
- package/src/config/DowncitySchema.ts +2 -8
- package/src/config/Paths.ts +55 -14
- package/src/config/project/AgentInitializer.ts +6 -7
- package/src/core/AgentContextTypes.ts +20 -56
- package/src/core/AgentCore.ts +115 -131
- package/src/core/AgentCoreTypes.ts +5 -5
- package/src/executor/Executor.ts +732 -0
- package/src/executor/README.md +108 -0
- package/src/executor/SessionRunScope.ts +146 -0
- package/src/executor/composer/compaction/SessionCompactionComposer.ts +62 -0
- package/src/executor/composer/compaction/jsonl/JsonlSessionCompactionComposer.ts +101 -0
- package/src/executor/composer/compaction/jsonl/JsonlSessionCompactionExecutor.ts +261 -0
- package/src/executor/composer/context/LocalSessionContextComposer.ts +168 -0
- package/src/executor/composer/context/SessionContextComposer.ts +70 -0
- package/src/executor/composer/history/SessionHistoryComposer.ts +62 -0
- package/src/executor/composer/history/SessionHistoryWriter.ts +131 -0
- package/src/executor/composer/history/jsonl/JsonlSessionHistoryComposer.ts +126 -0
- package/src/executor/composer/system/default/DefaultSessionSystemComposer.ts +77 -0
- package/src/executor/composer/system/default/InitPromptAssets.ts +20 -0
- package/src/executor/composer/system/default/InitPrompts.ts +11 -0
- package/src/executor/composer/system/default/PromptRenderer.ts +52 -0
- package/src/executor/composer/system/default/StaticPromptCatalog.ts +287 -0
- package/src/executor/composer/system/default/SystemDomain.ts +377 -0
- package/src/executor/composer/system/default/SystemPromptAssets.ts +26 -0
- package/src/executor/composer/system/default/assets/core.prompt.ts +9 -0
- package/src/executor/composer/system/default/assets/core.prompt.ts.txt +39 -0
- package/src/executor/composer/system/default/assets/init/PROFILE.md.ts +9 -0
- package/src/executor/composer/system/default/assets/init/SOUL.md.ts +9 -0
- package/src/executor/composer/system/default/assets/plugin.prompt.ts +9 -0
- package/src/executor/composer/system/default/assets/plugin.prompt.ts.txt +28 -0
- package/src/executor/composer/system/default/assets/task.prompt.ts +9 -0
- package/src/executor/composer/system/default/variables/GeoContext.ts +180 -0
- package/src/executor/composer/system/default/variables/VariableReplacer.ts +154 -0
- package/src/executor/core-engine/CoreEngineLoopDecision.ts +80 -0
- package/src/executor/core-engine/CoreEngineMessageState.ts +133 -0
- package/src/executor/core-engine/CoreEngineSignals.ts +416 -0
- package/src/executor/core-engine/CoreEngineUiStreamCollector.ts +96 -0
- package/src/executor/messages/AssistantResultPersistence.ts +111 -0
- package/src/executor/messages/SessionAttachmentMapper.ts +155 -0
- package/src/executor/messages/SessionMessageCodec.ts +116 -0
- package/src/executor/messages/SessionMessageLog.ts +39 -0
- package/src/executor/messages/SessionStepEventMapper.ts +233 -0
- package/src/executor/store/history/SessionHistoryStore.ts +145 -0
- package/src/executor/store/history/jsonl/JsonlSessionHistoryStore.ts +500 -0
- package/src/executor/tools/shell/ShellToolBridge.ts +378 -0
- package/src/executor/tools/shell/ShellToolDefinition.ts +509 -0
- package/src/executor/tools/shell/ShellToolFormatting.ts +83 -0
- package/src/executor/tools/shell/ShellToolSchemas.ts +120 -0
- package/src/executor/types/SessionExecutor.ts +33 -0
- package/src/executor/types/SessionHistoryMeta.ts +46 -0
- package/src/executor/types/SessionHistoryPaths.ts +33 -0
- package/src/executor/types/SessionMessages.ts +90 -0
- package/src/executor/types/SessionRun.ts +132 -0
- package/src/index.ts +80 -73
- package/src/plugin/builtins/asr/InboundAugment.ts +1 -1
- package/src/plugin/builtins/asr/Plugin.ts +25 -12
- package/src/plugin/builtins/auth/Plugin.ts +21 -8
- package/src/plugin/builtins/auth/runtime/AuthorizationStore.ts +1 -1
- package/src/plugin/builtins/auth/types/AuthPlugin.ts +2 -2
- package/src/plugin/builtins/chat/Action.ts +477 -0
- package/src/plugin/builtins/chat/ChatPlugin.ts +255 -0
- package/src/plugin/builtins/chat/ChatPluginTypes.ts +164 -0
- package/src/plugin/builtins/chat/Index.ts +8 -0
- package/src/plugin/builtins/chat/PROMPT.direct.ts +9 -0
- package/src/plugin/builtins/chat/PROMPT.direct.ts.txt +55 -0
- package/src/plugin/builtins/chat/accounts/ChannelAccountManager.ts +297 -0
- package/src/plugin/builtins/chat/channels/BaseChatChannel.ts +450 -0
- package/src/plugin/builtins/chat/channels/BaseChatChannelQueue.ts +320 -0
- package/src/plugin/builtins/chat/channels/BaseChatChannelSupport.ts +321 -0
- package/src/plugin/builtins/chat/channels/BotInfoProvider.ts +49 -0
- package/src/plugin/builtins/chat/channels/Configuration.ts +35 -0
- package/src/plugin/builtins/chat/channels/ConfigurationRegistry.ts +43 -0
- package/src/plugin/builtins/chat/channels/feishu/BotInfo.ts +199 -0
- package/src/plugin/builtins/chat/channels/feishu/Configuration.ts +65 -0
- package/src/plugin/builtins/chat/channels/feishu/Feishu.ts +467 -0
- package/src/plugin/builtins/chat/channels/feishu/FeishuInbound.ts +51 -0
- package/src/plugin/builtins/chat/channels/feishu/FeishuMessageHandler.ts +483 -0
- package/src/plugin/builtins/chat/channels/feishu/FeishuPlatformClient.ts +421 -0
- package/src/plugin/builtins/chat/channels/feishu/FeishuPlatformLookup.ts +523 -0
- package/src/plugin/builtins/chat/channels/feishu/FeishuPlatformMessaging.ts +219 -0
- package/src/plugin/builtins/chat/channels/feishu/InboundAttachment.ts +261 -0
- package/src/plugin/builtins/chat/channels/feishu/PROMPT.direct.ts +9 -0
- package/src/plugin/builtins/chat/channels/feishu/PostMessage.ts +492 -0
- package/src/plugin/builtins/chat/channels/feishu/ReplyContext.ts +68 -0
- package/src/plugin/builtins/chat/channels/feishu/Shared.ts +94 -0
- package/src/plugin/builtins/chat/channels/feishu/types/FeishuChannel.ts +131 -0
- package/src/plugin/builtins/chat/channels/qq/BotInfo.ts +137 -0
- package/src/plugin/builtins/chat/channels/qq/Configuration.ts +64 -0
- package/src/plugin/builtins/chat/channels/qq/PROMPT.direct.ts +9 -0
- package/src/plugin/builtins/chat/channels/qq/PROMPT.direct.ts.txt +11 -0
- package/src/plugin/builtins/chat/channels/qq/QQ.ts +398 -0
- package/src/plugin/builtins/chat/channels/qq/QQEventCapture.ts +88 -0
- package/src/plugin/builtins/chat/channels/qq/QQGatewayAuth.ts +318 -0
- package/src/plugin/builtins/chat/channels/qq/QQGatewayClient.ts +467 -0
- package/src/plugin/builtins/chat/channels/qq/QQGatewayConnection.ts +175 -0
- package/src/plugin/builtins/chat/channels/qq/QQGatewayHeartbeat.ts +114 -0
- package/src/plugin/builtins/chat/channels/qq/QQGatewayProtocol.ts +176 -0
- package/src/plugin/builtins/chat/channels/qq/QQGatewaySend.ts +258 -0
- package/src/plugin/builtins/chat/channels/qq/QQGatewaySupport.ts +159 -0
- package/src/plugin/builtins/chat/channels/qq/QQInbound.ts +262 -0
- package/src/plugin/builtins/chat/channels/qq/QQInboundDedupe.ts +126 -0
- package/src/plugin/builtins/chat/channels/qq/QQMessageHandler.ts +465 -0
- package/src/plugin/builtins/chat/channels/qq/QQSupport.ts +263 -0
- package/src/plugin/builtins/chat/channels/qq/VoiceInput.ts +381 -0
- package/src/plugin/builtins/chat/channels/qq/types/QqChannel.ts +501 -0
- package/src/plugin/builtins/chat/channels/telegram/Bot.ts +357 -0
- package/src/plugin/builtins/chat/channels/telegram/BotInfo.ts +92 -0
- package/src/plugin/builtins/chat/channels/telegram/Configuration.ts +65 -0
- package/src/plugin/builtins/chat/channels/telegram/PROMPT.direct.ts +9 -0
- package/src/plugin/builtins/chat/channels/telegram/ReplyContext.ts +76 -0
- package/src/plugin/builtins/chat/channels/telegram/Shared.ts +404 -0
- package/src/plugin/builtins/chat/channels/telegram/TelegramMessageHandler.ts +485 -0
- package/src/plugin/builtins/chat/channels/telegram/TelegramPendingUpdates.ts +204 -0
- package/src/plugin/builtins/chat/channels/telegram/TelegramPlatformClient.ts +482 -0
- package/src/plugin/builtins/chat/runtime/ChannelContextStore.ts +395 -0
- package/src/plugin/builtins/chat/runtime/ChatActionExecution.ts +362 -0
- package/src/plugin/builtins/chat/runtime/ChatActionInput.ts +167 -0
- package/src/plugin/builtins/chat/runtime/ChatChannelActions.ts +307 -0
- package/src/plugin/builtins/chat/runtime/ChatChannelConfig.ts +330 -0
- package/src/plugin/builtins/chat/runtime/ChatChannelCore.ts +145 -0
- package/src/plugin/builtins/chat/runtime/ChatChannelFacade.ts +23 -0
- package/src/plugin/builtins/chat/runtime/ChatChannelLifecycle.ts +169 -0
- package/src/plugin/builtins/chat/runtime/ChatHistoryStore.ts +289 -0
- package/src/plugin/builtins/chat/runtime/ChatIngressStore.ts +68 -0
- package/src/plugin/builtins/chat/runtime/ChatMessageMarkup.ts +263 -0
- package/src/plugin/builtins/chat/runtime/ChatMetaStore.ts +186 -0
- package/src/plugin/builtins/chat/runtime/ChatPluginActionRegistry.ts +367 -0
- package/src/plugin/builtins/chat/runtime/ChatPluginActions.ts +5 -0
- package/src/plugin/builtins/chat/runtime/ChatPluginSystem.ts +70 -0
- package/src/plugin/builtins/chat/runtime/ChatPromptAssets.ts +32 -0
- package/src/plugin/builtins/chat/runtime/ChatQueue.ts +77 -0
- package/src/plugin/builtins/chat/runtime/ChatQueueStore.ts +185 -0
- package/src/plugin/builtins/chat/runtime/ChatQueueWorker.ts +485 -0
- package/src/plugin/builtins/chat/runtime/ChatQueueWorkerSupport.ts +137 -0
- package/src/plugin/builtins/chat/runtime/ChatSendActionInput.ts +255 -0
- package/src/plugin/builtins/chat/runtime/ChatSendMetadata.ts +170 -0
- package/src/plugin/builtins/chat/runtime/ChatSendRegistry.ts +43 -0
- package/src/plugin/builtins/chat/runtime/ChatSession.ts +156 -0
- package/src/plugin/builtins/chat/runtime/ChatSessionContextComposer.ts +106 -0
- package/src/plugin/builtins/chat/runtime/ChatSessionDelete.ts +95 -0
- package/src/plugin/builtins/chat/runtime/ChatSessionTypes.ts +32 -0
- package/src/plugin/builtins/chat/runtime/ChatkeySend.ts +187 -0
- package/src/plugin/builtins/chat/runtime/DirectDispatchParser.ts +158 -0
- package/src/plugin/builtins/chat/runtime/EnqueueDispatch.ts +49 -0
- package/src/plugin/builtins/chat/runtime/InboundAugment.ts +63 -0
- package/src/plugin/builtins/chat/runtime/PluginDispatch.ts +89 -0
- package/src/plugin/builtins/chat/runtime/PluginPoints.ts +78 -0
- package/src/plugin/builtins/chat/runtime/QueuedUserMessage.ts +43 -0
- package/src/plugin/builtins/chat/runtime/ReplyContextFormatter.ts +85 -0
- package/src/plugin/builtins/chat/runtime/ReplyDispatch.ts +78 -0
- package/src/plugin/builtins/chat/runtime/SystemPrompt.ts +84 -0
- package/src/plugin/builtins/chat/runtime/UIMessageTransformer.ts +141 -0
- package/src/plugin/builtins/chat/runtime/UserVisibleText.ts +84 -0
- package/src/plugin/builtins/chat/types/BotInfo.ts +101 -0
- package/src/plugin/builtins/chat/types/ChannelConfiguration.ts +161 -0
- package/src/plugin/builtins/chat/types/ChannelContext.ts +110 -0
- package/src/plugin/builtins/chat/types/ChannelStatus.ts +98 -0
- package/src/plugin/builtins/chat/types/ChatHistory.ts +42 -0
- package/src/plugin/builtins/chat/types/ChatMessageMarkup.ts +168 -0
- package/src/plugin/builtins/chat/types/ChatMeta.ts +35 -0
- package/src/plugin/builtins/chat/types/ChatPlugin.ts +251 -0
- package/src/plugin/builtins/chat/types/ChatPluginActionPayload.ts +165 -0
- package/src/plugin/builtins/chat/types/ChatPromptContext.ts +139 -0
- package/src/plugin/builtins/chat/types/ChatQueue.ts +41 -0
- package/src/plugin/builtins/chat/types/ChatRuntime.ts +33 -0
- package/src/plugin/builtins/chat/types/DirectDispatch.ts +133 -0
- package/src/plugin/builtins/chat/types/FeishuInboundAttachment.ts +138 -0
- package/src/plugin/builtins/contact/Action.ts +316 -0
- package/src/plugin/builtins/contact/ContactPlugin.ts +505 -0
- package/src/plugin/builtins/contact/Index.ts +8 -0
- package/src/plugin/builtins/contact/PROMPT.ts +9 -0
- package/src/plugin/builtins/contact/PROMPT.ts.txt +25 -0
- package/src/plugin/builtins/contact/runtime/ApproveCallback.ts +97 -0
- package/src/plugin/builtins/contact/runtime/ChatRuntime.ts +83 -0
- package/src/plugin/builtins/contact/runtime/ContactPromptAssets.ts +14 -0
- package/src/plugin/builtins/contact/runtime/ContactStore.ts +299 -0
- package/src/plugin/builtins/contact/runtime/EndpointNotice.ts +125 -0
- package/src/plugin/builtins/contact/runtime/InboxStore.ts +178 -0
- package/src/plugin/builtins/contact/runtime/LinkApproval.ts +387 -0
- package/src/plugin/builtins/contact/runtime/LinkCode.ts +70 -0
- package/src/plugin/builtins/contact/runtime/LinkStore.ts +50 -0
- package/src/plugin/builtins/contact/runtime/Paths.ts +139 -0
- package/src/plugin/builtins/contact/runtime/RemoteClient.ts +158 -0
- package/src/plugin/builtins/contact/runtime/ShareBundle.ts +286 -0
- package/src/plugin/builtins/contact/runtime/SystemProvider.ts +15 -0
- package/src/plugin/builtins/contact/types/ContactCheck.ts +67 -0
- package/src/plugin/builtins/contact/types/ContactCommand.ts +98 -0
- package/src/plugin/builtins/memory/Action.ts +147 -0
- package/src/plugin/builtins/memory/Index.ts +9 -0
- package/src/plugin/builtins/memory/MemoryPlugin.ts +270 -0
- package/src/plugin/builtins/memory/runtime/Flush.ts +83 -0
- package/src/plugin/builtins/memory/runtime/Search.ts +330 -0
- package/src/plugin/builtins/memory/runtime/Store.ts +198 -0
- package/src/plugin/builtins/memory/runtime/SystemProvider.ts +145 -0
- package/src/plugin/builtins/memory/runtime/Writer.ts +173 -0
- package/src/plugin/builtins/schedule/SchedulePlugin.ts +131 -0
- package/src/plugin/builtins/shell/Index.ts +9 -0
- package/src/plugin/builtins/shell/ShellPlugin.ts +199 -0
- package/src/plugin/builtins/shell/ShellRuntimeTypes.ts +94 -0
- package/src/plugin/builtins/shell/runtime/ShellActionResponse.ts +135 -0
- package/src/plugin/builtins/shell/runtime/ShellActionRuntime.ts +544 -0
- package/src/plugin/builtins/shell/runtime/ShellActionRuntimeSupport.ts +384 -0
- package/src/plugin/builtins/shell/runtime/ShellProcessEvents.ts +65 -0
- package/src/plugin/builtins/shell/runtime/ShellRuntimeEnvironment.ts +75 -0
- package/src/plugin/builtins/shell/types/ShellPlugin.ts +233 -0
- package/src/plugin/builtins/skill/Plugin.ts +21 -8
- package/src/plugin/builtins/skill/runtime/SystemProvider.ts +1 -1
- package/src/plugin/builtins/task/Index.ts +8 -0
- package/src/plugin/builtins/task/PROMPT.ts +9 -0
- package/src/plugin/builtins/task/PROMPT.ts.txt +237 -0
- package/src/plugin/builtins/task/Scheduler.ts +245 -0
- package/src/plugin/builtins/task/TaskPlugin.ts +167 -0
- package/src/plugin/builtins/task/runtime/CronTrigger.ts +110 -0
- package/src/plugin/builtins/task/runtime/Model.ts +347 -0
- package/src/plugin/builtins/task/runtime/Runner.ts +519 -0
- package/src/plugin/builtins/task/runtime/Store.ts +253 -0
- package/src/plugin/builtins/task/runtime/TaskActionExecution.ts +276 -0
- package/src/plugin/builtins/task/runtime/TaskActionInput.ts +281 -0
- package/src/plugin/builtins/task/runtime/TaskPluginActionRegistry.ts +214 -0
- package/src/plugin/builtins/task/runtime/TaskPluginActions.ts +5 -0
- package/src/plugin/builtins/task/runtime/TaskPluginSystem.ts +8 -0
- package/src/plugin/builtins/task/runtime/TaskPromptAssets.ts +14 -0
- package/src/plugin/builtins/task/runtime/TaskRunArtifacts.ts +493 -0
- package/src/plugin/builtins/task/runtime/TaskRunChatDispatch.ts +81 -0
- package/src/plugin/builtins/task/runtime/TaskRunnerProgress.ts +112 -0
- package/src/plugin/builtins/task/runtime/TaskRunnerRound.ts +337 -0
- package/src/plugin/builtins/task/runtime/TaskRunnerScript.ts +175 -0
- package/src/plugin/builtins/task/runtime/TaskRunnerSession.ts +190 -0
- package/src/plugin/builtins/task/runtime/TaskRunnerTypes.ts +199 -0
- package/src/plugin/builtins/task/types/Cron.ts +16 -0
- package/src/plugin/builtins/task/types/TaskPluginTypes.ts +55 -0
- package/src/plugin/builtins/tts/Plugin.ts +23 -10
- package/src/plugin/builtins/tts/runtime/Synthesizer.ts +1 -1
- package/src/plugin/builtins/voice/InboundAugment.ts +1 -1
- package/src/plugin/builtins/web/Plugin.ts +23 -10
- package/src/plugin/builtins/workboard/Plugin.ts +71 -58
- package/src/plugin/builtins/workboard/runtime/Collector.ts +7 -6
- package/src/plugin/builtins/workboard/runtime/Normalizer.ts +4 -4
- package/src/plugin/core/BasePlugin.ts +134 -0
- package/src/plugin/core/BuiltinPluginClasses.ts +48 -0
- package/src/plugin/core/Catalog.ts +6 -5
- package/src/plugin/core/HttpRoutes.ts +6 -6
- package/src/plugin/core/LocalExecution.ts +21 -2
- package/src/plugin/core/Manager.ts +21 -0
- package/src/plugin/core/PluginActionRunner.ts +267 -0
- package/src/plugin/core/PluginClassRegistry.ts +88 -0
- package/src/plugin/core/PluginCommand.ts +4 -4
- package/src/plugin/core/PluginCommandRequest.ts +93 -0
- package/src/plugin/core/PluginStateController.ts +328 -0
- package/src/plugin/core/PluginSystemProviders.ts +50 -0
- package/src/plugin/core/schedule/Executor.ts +54 -0
- package/src/plugin/core/schedule/Store.ts +358 -0
- package/src/plugin/core/schedule/Time.ts +131 -0
- package/src/plugin/types/Plugin.ts +191 -18
- package/src/plugin/types/PluginApi.ts +3 -3
- package/src/plugin/types/PluginSchedule.ts +89 -0
- package/src/plugin/types/PluginState.ts +11 -0
- package/src/plugin/types/Plugins.ts +67 -0
- package/src/runtime/host/AgentHostRuntime.ts +10 -4
- package/src/runtime/host/daemon/Api.ts +2 -2
- package/src/runtime/host/daemon/ProjectSetup.ts +2 -2
- package/src/runtime/sandbox/types/SandboxRuntime.ts +1 -1
- package/src/runtime/server/http/Server.ts +19 -51
- package/src/runtime/server/http/control/ExecuteBySession.ts +10 -44
- package/src/runtime/server/http/control/ExecuteInput.ts +1 -1
- package/src/runtime/server/http/control/MessageTimeline.ts +3 -3
- package/src/runtime/server/http/control/OverviewRoutes.ts +9 -8
- package/src/runtime/server/http/control/SessionRoutes.ts +15 -3
- package/src/runtime/server/http/control/SessionSummaryStore.ts +11 -3
- package/src/runtime/server/http/control/TaskRoutes.ts +10 -10
- package/src/runtime/server/http/control/TaskStore.ts +1 -1
- package/src/runtime/server/http/execute/execute.ts +7 -46
- package/src/runtime/server/http/plugins/plugins.ts +71 -4
- package/src/runtime/server/http/sdk/Router.ts +3 -3
- package/src/runtime/server/http/sdk/SessionRoutes.ts +82 -14
- package/src/runtime/server/rpc/Server.ts +50 -48
- package/src/sdk/Agent.ts +59 -41
- package/src/sdk/AgentSdkTypes.ts +360 -43
- package/src/sdk/RemoteAgent.ts +94 -21
- package/src/sdk/Session.ts +101 -126
- package/src/sdk/SessionSystemBuilder.ts +12 -13
- package/src/sdk/session/Browse.ts +519 -0
- package/src/sdk/session/Metadata.ts +1 -1
- package/src/sdk/session/Paths.ts +2 -2
- package/src/sdk/session/Persistence.ts +7 -7
- package/src/sdk/session/RuntimeSessionPort.ts +107 -0
- package/src/sdk/session/index.ts +12 -3
- package/src/sdk/session/runtime/SessionPromptRuntime.ts +48 -15
- package/src/types/config/DowncityConfig.ts +144 -97
- package/src/types/runtime/auth/AuthPermission.ts +0 -6
- package/src/types/runtime/host/AgentHost.ts +9 -5
- package/src/types/runtime/http/InlineInstant.ts +2 -2
- package/src/types/runtime/platform/PlatformGateway.ts +10 -10
- package/src/types/sdk/AgentSessionEvent.ts +32 -0
- package/src/types/sdk/AgentSessionTurn.ts +11 -0
- package/tsconfig.json +1 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/bin/plugin/builtins/voice/Plugin.d.ts +0 -14
- package/bin/plugin/builtins/voice/Plugin.d.ts.map +0 -1
- package/bin/plugin/builtins/voice/Plugin.js +0 -426
- package/bin/plugin/builtins/voice/Plugin.js.map +0 -1
- package/bin/plugin/core/PluginManager.d.ts +0 -24
- package/bin/plugin/core/PluginManager.d.ts.map +0 -1
- package/bin/plugin/core/PluginManager.js +0 -62
- package/bin/plugin/core/PluginManager.js.map +0 -1
- package/bin/plugin/core/Plugins.d.ts +0 -20
- package/bin/plugin/core/Plugins.d.ts.map +0 -1
- package/bin/plugin/core/Plugins.js +0 -33
- package/bin/plugin/core/Plugins.js.map +0 -1
- package/bin/runtime/host/PluginRuntime.d.ts +0 -24
- package/bin/runtime/host/PluginRuntime.d.ts.map +0 -1
- package/bin/runtime/host/PluginRuntime.js +0 -31
- package/bin/runtime/host/PluginRuntime.js.map +0 -1
- package/bin/runtime/server/http/auth/AuthError.d.ts +0 -22
- package/bin/runtime/server/http/auth/AuthError.d.ts.map +0 -1
- package/bin/runtime/server/http/auth/AuthError.js +0 -28
- package/bin/runtime/server/http/auth/AuthError.js.map +0 -1
- package/bin/runtime/server/http/auth/PasswordHasher.d.ts +0 -16
- package/bin/runtime/server/http/auth/PasswordHasher.d.ts.map +0 -1
- package/bin/runtime/server/http/auth/PasswordHasher.js +0 -37
- package/bin/runtime/server/http/auth/PasswordHasher.js.map +0 -1
- package/bin/runtime/server/http/auth/TokenService.d.ts +0 -20
- package/bin/runtime/server/http/auth/TokenService.d.ts.map +0 -1
- package/bin/runtime/server/http/auth/TokenService.js +0 -34
- package/bin/runtime/server/http/auth/TokenService.js.map +0 -1
- package/bin/runtime/server/http/services/services.d.ts +0 -25
- package/bin/runtime/server/http/services/services.d.ts.map +0 -1
- package/bin/runtime/server/http/services/services.js +0 -72
- package/bin/runtime/server/http/services/services.js.map +0 -1
- package/bin/sdk/session/ServicePort.d.ts +0 -86
- package/bin/sdk/session/ServicePort.d.ts.map +0 -1
- package/bin/sdk/session/ServicePort.js +0 -44
- package/bin/sdk/session/ServicePort.js.map +0 -1
- package/bin/service/builtins/BaseService.d.ts +0 -70
- package/bin/service/builtins/BaseService.d.ts.map +0 -1
- package/bin/service/builtins/BaseService.js +0 -67
- package/bin/service/builtins/BaseService.js.map +0 -1
- package/bin/service/builtins/chat/Action.d.ts +0 -125
- package/bin/service/builtins/chat/Action.d.ts.map +0 -1
- package/bin/service/builtins/chat/Action.js +0 -376
- package/bin/service/builtins/chat/Action.js.map +0 -1
- package/bin/service/builtins/chat/ChatService.d.ts +0 -89
- package/bin/service/builtins/chat/ChatService.d.ts.map +0 -1
- package/bin/service/builtins/chat/ChatService.js +0 -212
- package/bin/service/builtins/chat/ChatService.js.map +0 -1
- package/bin/service/builtins/chat/ChatServiceTypes.d.ts +0 -159
- package/bin/service/builtins/chat/ChatServiceTypes.d.ts.map +0 -1
- package/bin/service/builtins/chat/ChatServiceTypes.js +0 -10
- package/bin/service/builtins/chat/ChatServiceTypes.js.map +0 -1
- package/bin/service/builtins/chat/Index.d.ts +0 -9
- package/bin/service/builtins/chat/Index.d.ts.map +0 -1
- package/bin/service/builtins/chat/Index.js +0 -9
- package/bin/service/builtins/chat/Index.js.map +0 -1
- package/bin/service/builtins/chat/PROMPT.direct.d.ts +0 -7
- package/bin/service/builtins/chat/PROMPT.direct.d.ts.map +0 -1
- package/bin/service/builtins/chat/PROMPT.direct.js +0 -8
- package/bin/service/builtins/chat/PROMPT.direct.js.map +0 -1
- package/bin/service/builtins/chat/accounts/ChannelAccountService.d.ts +0 -63
- package/bin/service/builtins/chat/accounts/ChannelAccountService.d.ts.map +0 -1
- package/bin/service/builtins/chat/accounts/ChannelAccountService.js +0 -258
- package/bin/service/builtins/chat/accounts/ChannelAccountService.js.map +0 -1
- package/bin/service/builtins/chat/channels/BaseChatChannel.d.ts +0 -201
- package/bin/service/builtins/chat/channels/BaseChatChannel.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/BaseChatChannel.js +0 -294
- package/bin/service/builtins/chat/channels/BaseChatChannel.js.map +0 -1
- package/bin/service/builtins/chat/channels/BaseChatChannelQueue.d.ts +0 -73
- package/bin/service/builtins/chat/channels/BaseChatChannelQueue.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/BaseChatChannelQueue.js +0 -238
- package/bin/service/builtins/chat/channels/BaseChatChannelQueue.js.map +0 -1
- package/bin/service/builtins/chat/channels/BaseChatChannelSupport.d.ts +0 -189
- package/bin/service/builtins/chat/channels/BaseChatChannelSupport.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/BaseChatChannelSupport.js +0 -141
- package/bin/service/builtins/chat/channels/BaseChatChannelSupport.js.map +0 -1
- package/bin/service/builtins/chat/channels/BotInfoProvider.d.ts +0 -18
- package/bin/service/builtins/chat/channels/BotInfoProvider.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/BotInfoProvider.js +0 -32
- package/bin/service/builtins/chat/channels/BotInfoProvider.js.map +0 -1
- package/bin/service/builtins/chat/channels/Configuration.d.ts +0 -27
- package/bin/service/builtins/chat/channels/Configuration.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/Configuration.js.map +0 -1
- package/bin/service/builtins/chat/channels/ConfigurationRegistry.d.ts +0 -18
- package/bin/service/builtins/chat/channels/ConfigurationRegistry.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/ConfigurationRegistry.js +0 -31
- package/bin/service/builtins/chat/channels/ConfigurationRegistry.js.map +0 -1
- package/bin/service/builtins/chat/channels/feishu/BotInfo.d.ts +0 -20
- package/bin/service/builtins/chat/channels/feishu/BotInfo.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/feishu/BotInfo.js.map +0 -1
- package/bin/service/builtins/chat/channels/feishu/Configuration.d.ts +0 -17
- package/bin/service/builtins/chat/channels/feishu/Configuration.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/feishu/Configuration.js +0 -59
- package/bin/service/builtins/chat/channels/feishu/Configuration.js.map +0 -1
- package/bin/service/builtins/chat/channels/feishu/Feishu.d.ts +0 -116
- package/bin/service/builtins/chat/channels/feishu/Feishu.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/feishu/Feishu.js +0 -326
- package/bin/service/builtins/chat/channels/feishu/Feishu.js.map +0 -1
- package/bin/service/builtins/chat/channels/feishu/FeishuInbound.d.ts +0 -21
- package/bin/service/builtins/chat/channels/feishu/FeishuInbound.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/feishu/FeishuInbound.js.map +0 -1
- package/bin/service/builtins/chat/channels/feishu/FeishuMessageHandler.d.ts +0 -155
- package/bin/service/builtins/chat/channels/feishu/FeishuMessageHandler.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/feishu/FeishuMessageHandler.js +0 -247
- package/bin/service/builtins/chat/channels/feishu/FeishuMessageHandler.js.map +0 -1
- package/bin/service/builtins/chat/channels/feishu/FeishuPlatformClient.d.ts +0 -130
- package/bin/service/builtins/chat/channels/feishu/FeishuPlatformClient.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/feishu/FeishuPlatformClient.js.map +0 -1
- package/bin/service/builtins/chat/channels/feishu/FeishuPlatformLookup.d.ts +0 -102
- package/bin/service/builtins/chat/channels/feishu/FeishuPlatformLookup.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/feishu/FeishuPlatformLookup.js.map +0 -1
- package/bin/service/builtins/chat/channels/feishu/FeishuPlatformMessaging.d.ts +0 -49
- package/bin/service/builtins/chat/channels/feishu/FeishuPlatformMessaging.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/feishu/FeishuPlatformMessaging.js.map +0 -1
- package/bin/service/builtins/chat/channels/feishu/InboundAttachment.d.ts +0 -31
- package/bin/service/builtins/chat/channels/feishu/InboundAttachment.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/feishu/InboundAttachment.js.map +0 -1
- package/bin/service/builtins/chat/channels/feishu/PROMPT.direct.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/feishu/PROMPT.direct.js +0 -8
- package/bin/service/builtins/chat/channels/feishu/PROMPT.direct.js.map +0 -1
- package/bin/service/builtins/chat/channels/feishu/PostMessage.d.ts +0 -48
- package/bin/service/builtins/chat/channels/feishu/PostMessage.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/feishu/PostMessage.js.map +0 -1
- package/bin/service/builtins/chat/channels/feishu/ReplyContext.d.ts +0 -18
- package/bin/service/builtins/chat/channels/feishu/ReplyContext.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/feishu/ReplyContext.js.map +0 -1
- package/bin/service/builtins/chat/channels/feishu/Shared.d.ts +0 -21
- package/bin/service/builtins/chat/channels/feishu/Shared.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/feishu/Shared.js +0 -69
- package/bin/service/builtins/chat/channels/feishu/Shared.js.map +0 -1
- package/bin/service/builtins/chat/channels/feishu/types/FeishuChannel.d.ts +0 -127
- package/bin/service/builtins/chat/channels/feishu/types/FeishuChannel.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/feishu/types/FeishuChannel.js +0 -9
- package/bin/service/builtins/chat/channels/feishu/types/FeishuChannel.js.map +0 -1
- package/bin/service/builtins/chat/channels/qq/BotInfo.d.ts +0 -19
- package/bin/service/builtins/chat/channels/qq/BotInfo.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/qq/BotInfo.js.map +0 -1
- package/bin/service/builtins/chat/channels/qq/Configuration.d.ts +0 -17
- package/bin/service/builtins/chat/channels/qq/Configuration.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/qq/Configuration.js +0 -59
- package/bin/service/builtins/chat/channels/qq/Configuration.js.map +0 -1
- package/bin/service/builtins/chat/channels/qq/PROMPT.direct.d.ts +0 -7
- package/bin/service/builtins/chat/channels/qq/PROMPT.direct.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/qq/PROMPT.direct.js +0 -8
- package/bin/service/builtins/chat/channels/qq/PROMPT.direct.js.map +0 -1
- package/bin/service/builtins/chat/channels/qq/QQ.d.ts +0 -92
- package/bin/service/builtins/chat/channels/qq/QQ.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/qq/QQ.js +0 -287
- package/bin/service/builtins/chat/channels/qq/QQ.js.map +0 -1
- package/bin/service/builtins/chat/channels/qq/QQEventCapture.d.ts +0 -22
- package/bin/service/builtins/chat/channels/qq/QQEventCapture.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/qq/QQEventCapture.js.map +0 -1
- package/bin/service/builtins/chat/channels/qq/QQGatewayAuth.d.ts +0 -119
- package/bin/service/builtins/chat/channels/qq/QQGatewayAuth.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/qq/QQGatewayAuth.js.map +0 -1
- package/bin/service/builtins/chat/channels/qq/QQGatewayClient.d.ts +0 -155
- package/bin/service/builtins/chat/channels/qq/QQGatewayClient.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/qq/QQGatewayClient.js.map +0 -1
- package/bin/service/builtins/chat/channels/qq/QQGatewayConnection.d.ts +0 -65
- package/bin/service/builtins/chat/channels/qq/QQGatewayConnection.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/qq/QQGatewayConnection.js.map +0 -1
- package/bin/service/builtins/chat/channels/qq/QQGatewayHeartbeat.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/qq/QQGatewayHeartbeat.js +0 -58
- package/bin/service/builtins/chat/channels/qq/QQGatewayHeartbeat.js.map +0 -1
- package/bin/service/builtins/chat/channels/qq/QQGatewayProtocol.d.ts +0 -86
- package/bin/service/builtins/chat/channels/qq/QQGatewayProtocol.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/qq/QQGatewayProtocol.js +0 -93
- package/bin/service/builtins/chat/channels/qq/QQGatewayProtocol.js.map +0 -1
- package/bin/service/builtins/chat/channels/qq/QQGatewaySend.d.ts +0 -84
- package/bin/service/builtins/chat/channels/qq/QQGatewaySend.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/qq/QQGatewaySend.js.map +0 -1
- package/bin/service/builtins/chat/channels/qq/QQGatewaySupport.d.ts +0 -39
- package/bin/service/builtins/chat/channels/qq/QQGatewaySupport.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/qq/QQGatewaySupport.js.map +0 -1
- package/bin/service/builtins/chat/channels/qq/QQInbound.d.ts +0 -47
- package/bin/service/builtins/chat/channels/qq/QQInbound.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/qq/QQInbound.js.map +0 -1
- package/bin/service/builtins/chat/channels/qq/QQInboundDedupe.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/qq/QQInboundDedupe.js.map +0 -1
- package/bin/service/builtins/chat/channels/qq/QQMessageHandler.d.ts +0 -129
- package/bin/service/builtins/chat/channels/qq/QQMessageHandler.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/qq/QQMessageHandler.js.map +0 -1
- package/bin/service/builtins/chat/channels/qq/QQSendSupport.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/qq/QQSendSupport.js.map +0 -1
- package/bin/service/builtins/chat/channels/qq/QQSupport.d.ts +0 -102
- package/bin/service/builtins/chat/channels/qq/QQSupport.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/qq/QQSupport.js +0 -172
- package/bin/service/builtins/chat/channels/qq/QQSupport.js.map +0 -1
- package/bin/service/builtins/chat/channels/qq/VoiceInput.d.ts +0 -64
- package/bin/service/builtins/chat/channels/qq/VoiceInput.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/qq/VoiceInput.js.map +0 -1
- package/bin/service/builtins/chat/channels/qq/types/QqChannel.d.ts +0 -485
- package/bin/service/builtins/chat/channels/qq/types/QqChannel.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/qq/types/QqChannel.js +0 -42
- package/bin/service/builtins/chat/channels/qq/types/QqChannel.js.map +0 -1
- package/bin/service/builtins/chat/channels/qq/types/QqGatewaySupport.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/qq/types/QqGatewaySupport.js.map +0 -1
- package/bin/service/builtins/chat/channels/telegram/ApiClient.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/telegram/ApiClient.js.map +0 -1
- package/bin/service/builtins/chat/channels/telegram/Bot.d.ts +0 -97
- package/bin/service/builtins/chat/channels/telegram/Bot.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/telegram/Bot.js +0 -246
- package/bin/service/builtins/chat/channels/telegram/Bot.js.map +0 -1
- package/bin/service/builtins/chat/channels/telegram/BotInfo.d.ts +0 -19
- package/bin/service/builtins/chat/channels/telegram/BotInfo.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/telegram/BotInfo.js.map +0 -1
- package/bin/service/builtins/chat/channels/telegram/Configuration.d.ts +0 -17
- package/bin/service/builtins/chat/channels/telegram/Configuration.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/telegram/Configuration.js +0 -59
- package/bin/service/builtins/chat/channels/telegram/Configuration.js.map +0 -1
- package/bin/service/builtins/chat/channels/telegram/Handlers.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/telegram/Handlers.js.map +0 -1
- package/bin/service/builtins/chat/channels/telegram/PROMPT.direct.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/telegram/PROMPT.direct.js +0 -8
- package/bin/service/builtins/chat/channels/telegram/PROMPT.direct.js.map +0 -1
- package/bin/service/builtins/chat/channels/telegram/ReplyContext.d.ts +0 -14
- package/bin/service/builtins/chat/channels/telegram/ReplyContext.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/telegram/ReplyContext.js.map +0 -1
- package/bin/service/builtins/chat/channels/telegram/Shared.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/telegram/Shared.js +0 -171
- package/bin/service/builtins/chat/channels/telegram/Shared.js.map +0 -1
- package/bin/service/builtins/chat/channels/telegram/StateStore.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/telegram/StateStore.js.map +0 -1
- package/bin/service/builtins/chat/channels/telegram/TelegramInbound.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/telegram/TelegramInbound.js.map +0 -1
- package/bin/service/builtins/chat/channels/telegram/TelegramMessageHandler.d.ts +0 -142
- package/bin/service/builtins/chat/channels/telegram/TelegramMessageHandler.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/telegram/TelegramMessageHandler.js +0 -267
- package/bin/service/builtins/chat/channels/telegram/TelegramMessageHandler.js.map +0 -1
- package/bin/service/builtins/chat/channels/telegram/TelegramPendingUpdates.d.ts +0 -55
- package/bin/service/builtins/chat/channels/telegram/TelegramPendingUpdates.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/telegram/TelegramPendingUpdates.js.map +0 -1
- package/bin/service/builtins/chat/channels/telegram/TelegramPlatformClient.d.ts +0 -161
- package/bin/service/builtins/chat/channels/telegram/TelegramPlatformClient.d.ts.map +0 -1
- package/bin/service/builtins/chat/channels/telegram/TelegramPlatformClient.js.map +0 -1
- package/bin/service/builtins/chat/runtime/ChannelContextStore.d.ts +0 -78
- package/bin/service/builtins/chat/runtime/ChannelContextStore.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/ChannelContextStore.js.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatActionExecution.d.ts +0 -145
- package/bin/service/builtins/chat/runtime/ChatActionExecution.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatActionExecution.js +0 -287
- package/bin/service/builtins/chat/runtime/ChatActionExecution.js.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatActionInput.d.ts +0 -22
- package/bin/service/builtins/chat/runtime/ChatActionInput.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatActionInput.js +0 -114
- package/bin/service/builtins/chat/runtime/ChatActionInput.js.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatActionInputSupport.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatActionInputSupport.js.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatChannelActions.d.ts +0 -122
- package/bin/service/builtins/chat/runtime/ChatChannelActions.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatChannelActions.js +0 -230
- package/bin/service/builtins/chat/runtime/ChatChannelActions.js.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatChannelConfig.d.ts +0 -61
- package/bin/service/builtins/chat/runtime/ChatChannelConfig.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatChannelConfig.js +0 -260
- package/bin/service/builtins/chat/runtime/ChatChannelConfig.js.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatChannelCore.d.ts +0 -45
- package/bin/service/builtins/chat/runtime/ChatChannelCore.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatChannelCore.js +0 -106
- package/bin/service/builtins/chat/runtime/ChatChannelCore.js.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatChannelFacade.d.ts +0 -12
- package/bin/service/builtins/chat/runtime/ChatChannelFacade.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatChannelFacade.js +0 -12
- package/bin/service/builtins/chat/runtime/ChatChannelFacade.js.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatChannelLifecycle.d.ts +0 -28
- package/bin/service/builtins/chat/runtime/ChatChannelLifecycle.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatChannelLifecycle.js +0 -132
- package/bin/service/builtins/chat/runtime/ChatChannelLifecycle.js.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatHistoryStore.d.ts +0 -72
- package/bin/service/builtins/chat/runtime/ChatHistoryStore.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatHistoryStore.js.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatIngressStore.d.ts +0 -52
- package/bin/service/builtins/chat/runtime/ChatIngressStore.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatIngressStore.js +0 -65
- package/bin/service/builtins/chat/runtime/ChatIngressStore.js.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatMessageMarkup.d.ts +0 -54
- package/bin/service/builtins/chat/runtime/ChatMessageMarkup.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatMessageMarkup.js.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatMetaStore.d.ts +0 -68
- package/bin/service/builtins/chat/runtime/ChatMetaStore.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatMetaStore.js +0 -143
- package/bin/service/builtins/chat/runtime/ChatMetaStore.js.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatPromptAssets.d.ts +0 -24
- package/bin/service/builtins/chat/runtime/ChatPromptAssets.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatPromptAssets.js +0 -28
- package/bin/service/builtins/chat/runtime/ChatPromptAssets.js.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatQueue.d.ts +0 -40
- package/bin/service/builtins/chat/runtime/ChatQueue.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatQueue.js.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatQueueReplyDispatch.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatQueueReplyDispatch.js.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatQueueSessionBridge.d.ts +0 -55
- package/bin/service/builtins/chat/runtime/ChatQueueSessionBridge.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatQueueSessionBridge.js +0 -98
- package/bin/service/builtins/chat/runtime/ChatQueueSessionBridge.js.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatQueueStore.d.ts +0 -85
- package/bin/service/builtins/chat/runtime/ChatQueueStore.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatQueueStore.js +0 -130
- package/bin/service/builtins/chat/runtime/ChatQueueStore.js.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatQueueWorker.d.ts +0 -88
- package/bin/service/builtins/chat/runtime/ChatQueueWorker.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatQueueWorker.js +0 -435
- package/bin/service/builtins/chat/runtime/ChatQueueWorker.js.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatQueueWorkerSupport.d.ts +0 -36
- package/bin/service/builtins/chat/runtime/ChatQueueWorkerSupport.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatQueueWorkerSupport.js.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatSendActionInput.d.ts +0 -23
- package/bin/service/builtins/chat/runtime/ChatSendActionInput.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatSendActionInput.js +0 -205
- package/bin/service/builtins/chat/runtime/ChatSendActionInput.js.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatSendMetadata.d.ts +0 -20
- package/bin/service/builtins/chat/runtime/ChatSendMetadata.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatSendMetadata.js.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatSendRegistry.d.ts +0 -27
- package/bin/service/builtins/chat/runtime/ChatSendRegistry.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatSendRegistry.js.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatServiceActions.d.ts +0 -17
- package/bin/service/builtins/chat/runtime/ChatServiceActions.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatServiceActions.js +0 -304
- package/bin/service/builtins/chat/runtime/ChatServiceActions.js.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatServiceSystem.d.ts +0 -22
- package/bin/service/builtins/chat/runtime/ChatServiceSystem.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatServiceSystem.js +0 -44
- package/bin/service/builtins/chat/runtime/ChatServiceSystem.js.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatSession.d.ts +0 -97
- package/bin/service/builtins/chat/runtime/ChatSession.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatSession.js +0 -84
- package/bin/service/builtins/chat/runtime/ChatSession.js.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatSessionContextComposer.d.ts +0 -45
- package/bin/service/builtins/chat/runtime/ChatSessionContextComposer.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatSessionContextComposer.js +0 -60
- package/bin/service/builtins/chat/runtime/ChatSessionContextComposer.js.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatSessionDelete.d.ts +0 -29
- package/bin/service/builtins/chat/runtime/ChatSessionDelete.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatSessionDelete.js +0 -76
- package/bin/service/builtins/chat/runtime/ChatSessionDelete.js.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatSessionTypes.d.ts +0 -30
- package/bin/service/builtins/chat/runtime/ChatSessionTypes.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatSessionTypes.js.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatkeySend.d.ts +0 -67
- package/bin/service/builtins/chat/runtime/ChatkeySend.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/ChatkeySend.js +0 -147
- package/bin/service/builtins/chat/runtime/ChatkeySend.js.map +0 -1
- package/bin/service/builtins/chat/runtime/DirectDispatchParser.d.ts +0 -22
- package/bin/service/builtins/chat/runtime/DirectDispatchParser.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/DirectDispatchParser.js +0 -133
- package/bin/service/builtins/chat/runtime/DirectDispatchParser.js.map +0 -1
- package/bin/service/builtins/chat/runtime/EnqueueDispatch.d.ts +0 -24
- package/bin/service/builtins/chat/runtime/EnqueueDispatch.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/EnqueueDispatch.js +0 -28
- package/bin/service/builtins/chat/runtime/EnqueueDispatch.js.map +0 -1
- package/bin/service/builtins/chat/runtime/InboundAugment.d.ts +0 -21
- package/bin/service/builtins/chat/runtime/InboundAugment.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/InboundAugment.js +0 -50
- package/bin/service/builtins/chat/runtime/InboundAugment.js.map +0 -1
- package/bin/service/builtins/chat/runtime/PluginDispatch.d.ts +0 -43
- package/bin/service/builtins/chat/runtime/PluginDispatch.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/PluginDispatch.js +0 -57
- package/bin/service/builtins/chat/runtime/PluginDispatch.js.map +0 -1
- package/bin/service/builtins/chat/runtime/PluginPoints.d.ts +0 -78
- package/bin/service/builtins/chat/runtime/PluginPoints.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/PluginPoints.js +0 -78
- package/bin/service/builtins/chat/runtime/PluginPoints.js.map +0 -1
- package/bin/service/builtins/chat/runtime/QueuedUserMessage.d.ts +0 -20
- package/bin/service/builtins/chat/runtime/QueuedUserMessage.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/QueuedUserMessage.js.map +0 -1
- package/bin/service/builtins/chat/runtime/ReplyContextFormatter.d.ts +0 -29
- package/bin/service/builtins/chat/runtime/ReplyContextFormatter.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/ReplyContextFormatter.js.map +0 -1
- package/bin/service/builtins/chat/runtime/ReplyDispatch.d.ts +0 -36
- package/bin/service/builtins/chat/runtime/ReplyDispatch.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/ReplyDispatch.js +0 -51
- package/bin/service/builtins/chat/runtime/ReplyDispatch.js.map +0 -1
- package/bin/service/builtins/chat/runtime/SystemPrompt.d.ts +0 -26
- package/bin/service/builtins/chat/runtime/SystemPrompt.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/SystemPrompt.js +0 -70
- package/bin/service/builtins/chat/runtime/SystemPrompt.js.map +0 -1
- package/bin/service/builtins/chat/runtime/UIMessageTransformer.d.ts +0 -24
- package/bin/service/builtins/chat/runtime/UIMessageTransformer.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/UIMessageTransformer.js.map +0 -1
- package/bin/service/builtins/chat/runtime/UserVisibleText.d.ts +0 -34
- package/bin/service/builtins/chat/runtime/UserVisibleText.d.ts.map +0 -1
- package/bin/service/builtins/chat/runtime/UserVisibleText.js.map +0 -1
- package/bin/service/builtins/chat/types/BotInfo.d.ts +0 -97
- package/bin/service/builtins/chat/types/BotInfo.d.ts.map +0 -1
- package/bin/service/builtins/chat/types/BotInfo.js.map +0 -1
- package/bin/service/builtins/chat/types/ChannelAccount.d.ts.map +0 -1
- package/bin/service/builtins/chat/types/ChannelAccount.js.map +0 -1
- package/bin/service/builtins/chat/types/ChannelConfiguration.d.ts +0 -146
- package/bin/service/builtins/chat/types/ChannelConfiguration.d.ts.map +0 -1
- package/bin/service/builtins/chat/types/ChannelConfiguration.js.map +0 -1
- package/bin/service/builtins/chat/types/ChannelContext.d.ts +0 -107
- package/bin/service/builtins/chat/types/ChannelContext.d.ts.map +0 -1
- package/bin/service/builtins/chat/types/ChannelContext.js +0 -9
- package/bin/service/builtins/chat/types/ChannelContext.js.map +0 -1
- package/bin/service/builtins/chat/types/ChannelStatus.d.ts +0 -88
- package/bin/service/builtins/chat/types/ChannelStatus.d.ts.map +0 -1
- package/bin/service/builtins/chat/types/ChannelStatus.js.map +0 -1
- package/bin/service/builtins/chat/types/ChatCommand.d.ts.map +0 -1
- package/bin/service/builtins/chat/types/ChatCommand.js.map +0 -1
- package/bin/service/builtins/chat/types/ChatDispatcher.d.ts.map +0 -1
- package/bin/service/builtins/chat/types/ChatDispatcher.js.map +0 -1
- package/bin/service/builtins/chat/types/ChatHistory.d.ts +0 -36
- package/bin/service/builtins/chat/types/ChatHistory.d.ts.map +0 -1
- package/bin/service/builtins/chat/types/ChatHistory.js.map +0 -1
- package/bin/service/builtins/chat/types/ChatMessageMarkup.d.ts +0 -144
- package/bin/service/builtins/chat/types/ChatMessageMarkup.d.ts.map +0 -1
- package/bin/service/builtins/chat/types/ChatMessageMarkup.js +0 -9
- package/bin/service/builtins/chat/types/ChatMessageMarkup.js.map +0 -1
- package/bin/service/builtins/chat/types/ChatMeta.d.ts +0 -34
- package/bin/service/builtins/chat/types/ChatMeta.d.ts.map +0 -1
- package/bin/service/builtins/chat/types/ChatMeta.js +0 -10
- package/bin/service/builtins/chat/types/ChatMeta.js.map +0 -1
- package/bin/service/builtins/chat/types/ChatPlugin.d.ts +0 -238
- package/bin/service/builtins/chat/types/ChatPlugin.d.ts.map +0 -1
- package/bin/service/builtins/chat/types/ChatPlugin.js +0 -10
- package/bin/service/builtins/chat/types/ChatPlugin.js.map +0 -1
- package/bin/service/builtins/chat/types/ChatPromptContext.d.ts +0 -125
- package/bin/service/builtins/chat/types/ChatPromptContext.d.ts.map +0 -1
- package/bin/service/builtins/chat/types/ChatPromptContext.js.map +0 -1
- package/bin/service/builtins/chat/types/ChatQueue.d.ts +0 -44
- package/bin/service/builtins/chat/types/ChatQueue.d.ts.map +0 -1
- package/bin/service/builtins/chat/types/ChatQueue.js.map +0 -1
- package/bin/service/builtins/chat/types/ChatQueueWorker.d.ts.map +0 -1
- package/bin/service/builtins/chat/types/ChatQueueWorker.js.map +0 -1
- package/bin/service/builtins/chat/types/ChatRuntime.d.ts +0 -32
- package/bin/service/builtins/chat/types/ChatRuntime.d.ts.map +0 -1
- package/bin/service/builtins/chat/types/ChatRuntime.js +0 -9
- package/bin/service/builtins/chat/types/ChatRuntime.js.map +0 -1
- package/bin/service/builtins/chat/types/ChatService.d.ts +0 -145
- package/bin/service/builtins/chat/types/ChatService.d.ts.map +0 -1
- package/bin/service/builtins/chat/types/ChatService.js +0 -10
- package/bin/service/builtins/chat/types/ChatService.js.map +0 -1
- package/bin/service/builtins/chat/types/DirectDispatch.d.ts +0 -115
- package/bin/service/builtins/chat/types/DirectDispatch.d.ts.map +0 -1
- package/bin/service/builtins/chat/types/DirectDispatch.js.map +0 -1
- package/bin/service/builtins/chat/types/FeishuAttachment.d.ts.map +0 -1
- package/bin/service/builtins/chat/types/FeishuAttachment.js.map +0 -1
- package/bin/service/builtins/chat/types/FeishuInboundAttachment.d.ts +0 -114
- package/bin/service/builtins/chat/types/FeishuInboundAttachment.d.ts.map +0 -1
- package/bin/service/builtins/chat/types/FeishuInboundAttachment.js.map +0 -1
- package/bin/service/builtins/chat/types/FeishuPost.d.ts.map +0 -1
- package/bin/service/builtins/chat/types/FeishuPost.js.map +0 -1
- package/bin/service/builtins/chat/types/QqInboundDedupe.d.ts.map +0 -1
- package/bin/service/builtins/chat/types/QqInboundDedupe.js.map +0 -1
- package/bin/service/builtins/chat/types/QqVoice.d.ts.map +0 -1
- package/bin/service/builtins/chat/types/QqVoice.js.map +0 -1
- package/bin/service/builtins/chat/types/ReplyContext.d.ts.map +0 -1
- package/bin/service/builtins/chat/types/ReplyContext.js.map +0 -1
- package/bin/service/builtins/contact/Action.d.ts +0 -62
- package/bin/service/builtins/contact/Action.d.ts.map +0 -1
- package/bin/service/builtins/contact/Action.js +0 -221
- package/bin/service/builtins/contact/Action.js.map +0 -1
- package/bin/service/builtins/contact/ContactService.d.ts +0 -39
- package/bin/service/builtins/contact/ContactService.d.ts.map +0 -1
- package/bin/service/builtins/contact/ContactService.js +0 -409
- package/bin/service/builtins/contact/ContactService.js.map +0 -1
- package/bin/service/builtins/contact/Index.d.ts +0 -8
- package/bin/service/builtins/contact/Index.d.ts.map +0 -1
- package/bin/service/builtins/contact/Index.js +0 -8
- package/bin/service/builtins/contact/Index.js.map +0 -1
- package/bin/service/builtins/contact/PROMPT.d.ts +0 -7
- package/bin/service/builtins/contact/PROMPT.d.ts.map +0 -1
- package/bin/service/builtins/contact/PROMPT.js +0 -8
- package/bin/service/builtins/contact/PROMPT.js.map +0 -1
- package/bin/service/builtins/contact/runtime/ApproveCallback.d.ts +0 -23
- package/bin/service/builtins/contact/runtime/ApproveCallback.d.ts.map +0 -1
- package/bin/service/builtins/contact/runtime/ApproveCallback.js.map +0 -1
- package/bin/service/builtins/contact/runtime/ChatRuntime.d.ts +0 -27
- package/bin/service/builtins/contact/runtime/ChatRuntime.d.ts.map +0 -1
- package/bin/service/builtins/contact/runtime/ChatRuntime.js +0 -59
- package/bin/service/builtins/contact/runtime/ChatRuntime.js.map +0 -1
- package/bin/service/builtins/contact/runtime/ContactPayload.d.ts.map +0 -1
- package/bin/service/builtins/contact/runtime/ContactPayload.js.map +0 -1
- package/bin/service/builtins/contact/runtime/ContactPromptAssets.d.ts +0 -12
- package/bin/service/builtins/contact/runtime/ContactPromptAssets.d.ts.map +0 -1
- package/bin/service/builtins/contact/runtime/ContactPromptAssets.js +0 -13
- package/bin/service/builtins/contact/runtime/ContactPromptAssets.js.map +0 -1
- package/bin/service/builtins/contact/runtime/ContactStore.d.ts +0 -49
- package/bin/service/builtins/contact/runtime/ContactStore.d.ts.map +0 -1
- package/bin/service/builtins/contact/runtime/ContactStore.js.map +0 -1
- package/bin/service/builtins/contact/runtime/EndpointNotice.d.ts +0 -39
- package/bin/service/builtins/contact/runtime/EndpointNotice.d.ts.map +0 -1
- package/bin/service/builtins/contact/runtime/EndpointNotice.js.map +0 -1
- package/bin/service/builtins/contact/runtime/EndpointResolver.d.ts.map +0 -1
- package/bin/service/builtins/contact/runtime/EndpointResolver.js.map +0 -1
- package/bin/service/builtins/contact/runtime/InboxStore.d.ts +0 -33
- package/bin/service/builtins/contact/runtime/InboxStore.d.ts.map +0 -1
- package/bin/service/builtins/contact/runtime/InboxStore.js.map +0 -1
- package/bin/service/builtins/contact/runtime/LinkApproval.d.ts +0 -20
- package/bin/service/builtins/contact/runtime/LinkApproval.d.ts.map +0 -1
- package/bin/service/builtins/contact/runtime/LinkApproval.js.map +0 -1
- package/bin/service/builtins/contact/runtime/LinkCode.d.ts +0 -21
- package/bin/service/builtins/contact/runtime/LinkCode.d.ts.map +0 -1
- package/bin/service/builtins/contact/runtime/LinkCode.js.map +0 -1
- package/bin/service/builtins/contact/runtime/LinkStore.d.ts +0 -17
- package/bin/service/builtins/contact/runtime/LinkStore.d.ts.map +0 -1
- package/bin/service/builtins/contact/runtime/LinkStore.js.map +0 -1
- package/bin/service/builtins/contact/runtime/Paths.d.ts +0 -64
- package/bin/service/builtins/contact/runtime/Paths.d.ts.map +0 -1
- package/bin/service/builtins/contact/runtime/Paths.js +0 -103
- package/bin/service/builtins/contact/runtime/Paths.js.map +0 -1
- package/bin/service/builtins/contact/runtime/RemoteClient.d.ts +0 -46
- package/bin/service/builtins/contact/runtime/RemoteClient.d.ts.map +0 -1
- package/bin/service/builtins/contact/runtime/RemoteClient.js +0 -120
- package/bin/service/builtins/contact/runtime/RemoteClient.js.map +0 -1
- package/bin/service/builtins/contact/runtime/ShareBundle.d.ts +0 -65
- package/bin/service/builtins/contact/runtime/ShareBundle.d.ts.map +0 -1
- package/bin/service/builtins/contact/runtime/ShareBundle.js.map +0 -1
- package/bin/service/builtins/contact/runtime/SystemProvider.d.ts +0 -5
- package/bin/service/builtins/contact/runtime/SystemProvider.d.ts.map +0 -1
- package/bin/service/builtins/contact/runtime/SystemProvider.js +0 -15
- package/bin/service/builtins/contact/runtime/SystemProvider.js.map +0 -1
- package/bin/service/builtins/contact/runtime/Token.d.ts.map +0 -1
- package/bin/service/builtins/contact/runtime/Token.js.map +0 -1
- package/bin/service/builtins/contact/types/Contact.d.ts.map +0 -1
- package/bin/service/builtins/contact/types/Contact.js.map +0 -1
- package/bin/service/builtins/contact/types/ContactApproval.d.ts.map +0 -1
- package/bin/service/builtins/contact/types/ContactApproval.js.map +0 -1
- package/bin/service/builtins/contact/types/ContactChat.d.ts.map +0 -1
- package/bin/service/builtins/contact/types/ContactChat.js.map +0 -1
- package/bin/service/builtins/contact/types/ContactCheck.d.ts +0 -66
- package/bin/service/builtins/contact/types/ContactCheck.d.ts.map +0 -1
- package/bin/service/builtins/contact/types/ContactCheck.js.map +0 -1
- package/bin/service/builtins/contact/types/ContactCommand.d.ts +0 -93
- package/bin/service/builtins/contact/types/ContactCommand.d.ts.map +0 -1
- package/bin/service/builtins/contact/types/ContactCommand.js +0 -8
- package/bin/service/builtins/contact/types/ContactCommand.js.map +0 -1
- package/bin/service/builtins/contact/types/ContactEndpoint.d.ts.map +0 -1
- package/bin/service/builtins/contact/types/ContactEndpoint.js.map +0 -1
- package/bin/service/builtins/contact/types/ContactLink.d.ts.map +0 -1
- package/bin/service/builtins/contact/types/ContactLink.js.map +0 -1
- package/bin/service/builtins/contact/types/ContactShare.d.ts.map +0 -1
- package/bin/service/builtins/contact/types/ContactShare.js.map +0 -1
- package/bin/service/builtins/memory/Action.d.ts +0 -37
- package/bin/service/builtins/memory/Action.d.ts.map +0 -1
- package/bin/service/builtins/memory/Action.js.map +0 -1
- package/bin/service/builtins/memory/Index.d.ts +0 -9
- package/bin/service/builtins/memory/Index.d.ts.map +0 -1
- package/bin/service/builtins/memory/Index.js +0 -9
- package/bin/service/builtins/memory/Index.js.map +0 -1
- package/bin/service/builtins/memory/MemoryService.d.ts +0 -45
- package/bin/service/builtins/memory/MemoryService.d.ts.map +0 -1
- package/bin/service/builtins/memory/MemoryService.js +0 -242
- package/bin/service/builtins/memory/MemoryService.js.map +0 -1
- package/bin/service/builtins/memory/runtime/Flush.d.ts +0 -15
- package/bin/service/builtins/memory/runtime/Flush.d.ts.map +0 -1
- package/bin/service/builtins/memory/runtime/Flush.js.map +0 -1
- package/bin/service/builtins/memory/runtime/Search.d.ts +0 -19
- package/bin/service/builtins/memory/runtime/Search.d.ts.map +0 -1
- package/bin/service/builtins/memory/runtime/Search.js +0 -268
- package/bin/service/builtins/memory/runtime/Search.js.map +0 -1
- package/bin/service/builtins/memory/runtime/Store.d.ts +0 -65
- package/bin/service/builtins/memory/runtime/Store.d.ts.map +0 -1
- package/bin/service/builtins/memory/runtime/Store.js +0 -142
- package/bin/service/builtins/memory/runtime/Store.js.map +0 -1
- package/bin/service/builtins/memory/runtime/SystemProvider.d.ts +0 -22
- package/bin/service/builtins/memory/runtime/SystemProvider.d.ts.map +0 -1
- package/bin/service/builtins/memory/runtime/SystemProvider.js +0 -126
- package/bin/service/builtins/memory/runtime/SystemProvider.js.map +0 -1
- package/bin/service/builtins/memory/runtime/Writer.d.ts +0 -23
- package/bin/service/builtins/memory/runtime/Writer.d.ts.map +0 -1
- package/bin/service/builtins/memory/runtime/Writer.js +0 -139
- package/bin/service/builtins/memory/runtime/Writer.js.map +0 -1
- package/bin/service/builtins/memory/types/Memory.d.ts.map +0 -1
- package/bin/service/builtins/memory/types/Memory.js.map +0 -1
- package/bin/service/builtins/schedule/ScheduleService.d.ts +0 -39
- package/bin/service/builtins/schedule/ScheduleService.d.ts.map +0 -1
- package/bin/service/builtins/schedule/ScheduleService.js +0 -106
- package/bin/service/builtins/schedule/ScheduleService.js.map +0 -1
- package/bin/service/builtins/shell/Index.d.ts +0 -9
- package/bin/service/builtins/shell/Index.d.ts.map +0 -1
- package/bin/service/builtins/shell/Index.js +0 -9
- package/bin/service/builtins/shell/Index.js.map +0 -1
- package/bin/service/builtins/shell/ShellRuntimeTypes.d.ts +0 -91
- package/bin/service/builtins/shell/ShellRuntimeTypes.d.ts.map +0 -1
- package/bin/service/builtins/shell/ShellRuntimeTypes.js +0 -10
- package/bin/service/builtins/shell/ShellRuntimeTypes.js.map +0 -1
- package/bin/service/builtins/shell/ShellService.d.ts +0 -65
- package/bin/service/builtins/shell/ShellService.d.ts.map +0 -1
- package/bin/service/builtins/shell/ShellService.js +0 -138
- package/bin/service/builtins/shell/ShellService.js.map +0 -1
- package/bin/service/builtins/shell/runtime/Paths.d.ts.map +0 -1
- package/bin/service/builtins/shell/runtime/Paths.js.map +0 -1
- package/bin/service/builtins/shell/runtime/ShellActionResponse.d.ts +0 -52
- package/bin/service/builtins/shell/runtime/ShellActionResponse.d.ts.map +0 -1
- package/bin/service/builtins/shell/runtime/ShellActionResponse.js.map +0 -1
- package/bin/service/builtins/shell/runtime/ShellActionRuntime.d.ts +0 -49
- package/bin/service/builtins/shell/runtime/ShellActionRuntime.d.ts.map +0 -1
- package/bin/service/builtins/shell/runtime/ShellActionRuntime.js +0 -440
- package/bin/service/builtins/shell/runtime/ShellActionRuntime.js.map +0 -1
- package/bin/service/builtins/shell/runtime/ShellActionRuntimeSupport.d.ts +0 -79
- package/bin/service/builtins/shell/runtime/ShellActionRuntimeSupport.d.ts.map +0 -1
- package/bin/service/builtins/shell/runtime/ShellActionRuntimeSupport.js +0 -324
- package/bin/service/builtins/shell/runtime/ShellActionRuntimeSupport.js.map +0 -1
- package/bin/service/builtins/shell/runtime/ShellProcessEvents.d.ts +0 -22
- package/bin/service/builtins/shell/runtime/ShellProcessEvents.d.ts.map +0 -1
- package/bin/service/builtins/shell/runtime/ShellProcessEvents.js.map +0 -1
- package/bin/service/builtins/shell/runtime/ShellRuntimeEnvironment.d.ts.map +0 -1
- package/bin/service/builtins/shell/runtime/ShellRuntimeEnvironment.js +0 -75
- package/bin/service/builtins/shell/runtime/ShellRuntimeEnvironment.js.map +0 -1
- package/bin/service/builtins/shell/types/Shell.d.ts.map +0 -1
- package/bin/service/builtins/shell/types/Shell.js.map +0 -1
- package/bin/service/builtins/shell/types/ShellService.d.ts +0 -216
- package/bin/service/builtins/shell/types/ShellService.d.ts.map +0 -1
- package/bin/service/builtins/shell/types/ShellService.js +0 -9
- package/bin/service/builtins/shell/types/ShellService.js.map +0 -1
- package/bin/service/builtins/task/Action.d.ts.map +0 -1
- package/bin/service/builtins/task/Action.js.map +0 -1
- package/bin/service/builtins/task/Index.d.ts +0 -9
- package/bin/service/builtins/task/Index.d.ts.map +0 -1
- package/bin/service/builtins/task/Index.js +0 -9
- package/bin/service/builtins/task/Index.js.map +0 -1
- package/bin/service/builtins/task/PROMPT.d.ts +0 -7
- package/bin/service/builtins/task/PROMPT.d.ts.map +0 -1
- package/bin/service/builtins/task/PROMPT.js +0 -8
- package/bin/service/builtins/task/PROMPT.js.map +0 -1
- package/bin/service/builtins/task/Scheduler.d.ts +0 -17
- package/bin/service/builtins/task/Scheduler.d.ts.map +0 -1
- package/bin/service/builtins/task/Scheduler.js +0 -231
- package/bin/service/builtins/task/Scheduler.js.map +0 -1
- package/bin/service/builtins/task/TaskService.d.ts +0 -57
- package/bin/service/builtins/task/TaskService.d.ts.map +0 -1
- package/bin/service/builtins/task/TaskService.js +0 -126
- package/bin/service/builtins/task/TaskService.js.map +0 -1
- package/bin/service/builtins/task/runtime/CronRuntime.d.ts +0 -34
- package/bin/service/builtins/task/runtime/CronRuntime.d.ts.map +0 -1
- package/bin/service/builtins/task/runtime/CronRuntime.js +0 -59
- package/bin/service/builtins/task/runtime/CronRuntime.js.map +0 -1
- package/bin/service/builtins/task/runtime/CronTrigger.d.ts +0 -19
- package/bin/service/builtins/task/runtime/CronTrigger.d.ts.map +0 -1
- package/bin/service/builtins/task/runtime/CronTrigger.js +0 -93
- package/bin/service/builtins/task/runtime/CronTrigger.js.map +0 -1
- package/bin/service/builtins/task/runtime/Frontmatter.d.ts.map +0 -1
- package/bin/service/builtins/task/runtime/Frontmatter.js.map +0 -1
- package/bin/service/builtins/task/runtime/Model.d.ts +0 -73
- package/bin/service/builtins/task/runtime/Model.d.ts.map +0 -1
- package/bin/service/builtins/task/runtime/Model.js.map +0 -1
- package/bin/service/builtins/task/runtime/Paths.d.ts.map +0 -1
- package/bin/service/builtins/task/runtime/Paths.js.map +0 -1
- package/bin/service/builtins/task/runtime/Runner.d.ts +0 -43
- package/bin/service/builtins/task/runtime/Runner.d.ts.map +0 -1
- package/bin/service/builtins/task/runtime/Runner.js.map +0 -1
- package/bin/service/builtins/task/runtime/Store.d.ts +0 -89
- package/bin/service/builtins/task/runtime/Store.d.ts.map +0 -1
- package/bin/service/builtins/task/runtime/Store.js.map +0 -1
- package/bin/service/builtins/task/runtime/TaskActionExecution.d.ts +0 -160
- package/bin/service/builtins/task/runtime/TaskActionExecution.d.ts.map +0 -1
- package/bin/service/builtins/task/runtime/TaskActionExecution.js +0 -192
- package/bin/service/builtins/task/runtime/TaskActionExecution.js.map +0 -1
- package/bin/service/builtins/task/runtime/TaskActionInput.d.ts +0 -19
- package/bin/service/builtins/task/runtime/TaskActionInput.d.ts.map +0 -1
- package/bin/service/builtins/task/runtime/TaskActionInput.js +0 -218
- package/bin/service/builtins/task/runtime/TaskActionInput.js.map +0 -1
- package/bin/service/builtins/task/runtime/TaskPromptAssets.d.ts +0 -12
- package/bin/service/builtins/task/runtime/TaskPromptAssets.d.ts.map +0 -1
- package/bin/service/builtins/task/runtime/TaskPromptAssets.js +0 -13
- package/bin/service/builtins/task/runtime/TaskPromptAssets.js.map +0 -1
- package/bin/service/builtins/task/runtime/TaskRunArtifacts.d.ts +0 -189
- package/bin/service/builtins/task/runtime/TaskRunArtifacts.d.ts.map +0 -1
- package/bin/service/builtins/task/runtime/TaskRunArtifacts.js.map +0 -1
- package/bin/service/builtins/task/runtime/TaskRunChatDispatch.d.ts +0 -22
- package/bin/service/builtins/task/runtime/TaskRunChatDispatch.d.ts.map +0 -1
- package/bin/service/builtins/task/runtime/TaskRunChatDispatch.js +0 -66
- package/bin/service/builtins/task/runtime/TaskRunChatDispatch.js.map +0 -1
- package/bin/service/builtins/task/runtime/TaskRunnerProgress.d.ts +0 -35
- package/bin/service/builtins/task/runtime/TaskRunnerProgress.d.ts.map +0 -1
- package/bin/service/builtins/task/runtime/TaskRunnerProgress.js.map +0 -1
- package/bin/service/builtins/task/runtime/TaskRunnerRound.d.ts +0 -80
- package/bin/service/builtins/task/runtime/TaskRunnerRound.d.ts.map +0 -1
- package/bin/service/builtins/task/runtime/TaskRunnerRound.js +0 -272
- package/bin/service/builtins/task/runtime/TaskRunnerRound.js.map +0 -1
- package/bin/service/builtins/task/runtime/TaskRunnerScript.d.ts +0 -81
- package/bin/service/builtins/task/runtime/TaskRunnerScript.d.ts.map +0 -1
- package/bin/service/builtins/task/runtime/TaskRunnerScript.js.map +0 -1
- package/bin/service/builtins/task/runtime/TaskRunnerSession.d.ts +0 -48
- package/bin/service/builtins/task/runtime/TaskRunnerSession.d.ts.map +0 -1
- package/bin/service/builtins/task/runtime/TaskRunnerSession.js +0 -153
- package/bin/service/builtins/task/runtime/TaskRunnerSession.js.map +0 -1
- package/bin/service/builtins/task/runtime/TaskRunnerTypes.d.ts +0 -186
- package/bin/service/builtins/task/runtime/TaskRunnerTypes.d.ts.map +0 -1
- package/bin/service/builtins/task/runtime/TaskRunnerTypes.js.map +0 -1
- package/bin/service/builtins/task/runtime/TaskServiceActions.d.ts +0 -16
- package/bin/service/builtins/task/runtime/TaskServiceActions.d.ts.map +0 -1
- package/bin/service/builtins/task/runtime/TaskServiceActions.js +0 -167
- package/bin/service/builtins/task/runtime/TaskServiceActions.js.map +0 -1
- package/bin/service/builtins/task/runtime/TaskServiceSystem.d.ts +0 -9
- package/bin/service/builtins/task/runtime/TaskServiceSystem.d.ts.map +0 -1
- package/bin/service/builtins/task/runtime/TaskServiceSystem.js +0 -9
- package/bin/service/builtins/task/runtime/TaskServiceSystem.js.map +0 -1
- package/bin/service/builtins/task/types/Cron.d.ts +0 -16
- package/bin/service/builtins/task/types/Cron.d.ts.map +0 -1
- package/bin/service/builtins/task/types/Cron.js.map +0 -1
- package/bin/service/builtins/task/types/Task.d.ts.map +0 -1
- package/bin/service/builtins/task/types/Task.js.map +0 -1
- package/bin/service/builtins/task/types/TaskCommand.d.ts.map +0 -1
- package/bin/service/builtins/task/types/TaskCommand.js.map +0 -1
- package/bin/service/builtins/task/types/TaskService.d.ts +0 -52
- package/bin/service/builtins/task/types/TaskService.d.ts.map +0 -1
- package/bin/service/builtins/task/types/TaskService.js +0 -9
- package/bin/service/builtins/task/types/TaskService.js.map +0 -1
- package/bin/service/core/Manager.d.ts +0 -12
- package/bin/service/core/Manager.d.ts.map +0 -1
- package/bin/service/core/Manager.js +0 -11
- package/bin/service/core/Manager.js.map +0 -1
- package/bin/service/core/ServiceActionRunner.d.ts +0 -44
- package/bin/service/core/ServiceActionRunner.d.ts.map +0 -1
- package/bin/service/core/ServiceActionRunner.js +0 -213
- package/bin/service/core/ServiceActionRunner.js.map +0 -1
- package/bin/service/core/ServiceClassRegistry.d.ts +0 -40
- package/bin/service/core/ServiceClassRegistry.d.ts.map +0 -1
- package/bin/service/core/ServiceClassRegistry.js +0 -64
- package/bin/service/core/ServiceClassRegistry.js.map +0 -1
- package/bin/service/core/ServiceCommandRequest.d.ts +0 -36
- package/bin/service/core/ServiceCommandRequest.d.ts.map +0 -1
- package/bin/service/core/ServiceCommandRequest.js +0 -53
- package/bin/service/core/ServiceCommandRequest.js.map +0 -1
- package/bin/service/core/ServiceStateController.d.ts +0 -92
- package/bin/service/core/ServiceStateController.d.ts.map +0 -1
- package/bin/service/core/ServiceStateController.js +0 -248
- package/bin/service/core/ServiceStateController.js.map +0 -1
- package/bin/service/core/ServiceSystemProviders.d.ts +0 -27
- package/bin/service/core/ServiceSystemProviders.d.ts.map +0 -1
- package/bin/service/core/ServiceSystemProviders.js +0 -34
- package/bin/service/core/ServiceSystemProviders.js.map +0 -1
- package/bin/service/core/Services.d.ts +0 -18
- package/bin/service/core/Services.d.ts.map +0 -1
- package/bin/service/core/Services.js +0 -25
- package/bin/service/core/Services.js.map +0 -1
- package/bin/service/core/schedule/Executor.d.ts +0 -17
- package/bin/service/core/schedule/Executor.d.ts.map +0 -1
- package/bin/service/core/schedule/Executor.js +0 -48
- package/bin/service/core/schedule/Executor.js.map +0 -1
- package/bin/service/core/schedule/Store.d.ts +0 -91
- package/bin/service/core/schedule/Store.d.ts.map +0 -1
- package/bin/service/core/schedule/Store.js +0 -284
- package/bin/service/core/schedule/Store.js.map +0 -1
- package/bin/service/core/schedule/Time.d.ts +0 -31
- package/bin/service/core/schedule/Time.d.ts.map +0 -1
- package/bin/service/core/schedule/Time.js +0 -107
- package/bin/service/core/schedule/Time.js.map +0 -1
- package/bin/service/types/Service.d.ts +0 -183
- package/bin/service/types/Service.d.ts.map +0 -1
- package/bin/service/types/Service.js +0 -10
- package/bin/service/types/Service.js.map +0 -1
- package/bin/service/types/ServiceSchedule.d.ts +0 -114
- package/bin/service/types/ServiceSchedule.d.ts.map +0 -1
- package/bin/service/types/ServiceSchedule.js +0 -9
- package/bin/service/types/ServiceSchedule.js.map +0 -1
- package/bin/service/types/ServiceState.d.ts +0 -104
- package/bin/service/types/ServiceState.d.ts.map +0 -1
- package/bin/service/types/ServiceState.js +0 -9
- package/bin/service/types/ServiceState.js.map +0 -1
- package/bin/service/types/Services.d.ts +0 -94
- package/bin/service/types/Services.d.ts.map +0 -1
- package/bin/service/types/Services.js +0 -9
- package/bin/service/types/Services.js.map +0 -1
- package/bin/session/Executor.d.ts +0 -172
- package/bin/session/Executor.d.ts.map +0 -1
- package/bin/session/Executor.js.map +0 -1
- package/bin/session/SessionRunScope.d.ts +0 -84
- package/bin/session/SessionRunScope.d.ts.map +0 -1
- package/bin/session/SessionRunScope.js +0 -82
- package/bin/session/SessionRunScope.js.map +0 -1
- package/bin/session/composer/compaction/SessionCompactionComposer.d.ts +0 -55
- package/bin/session/composer/compaction/SessionCompactionComposer.d.ts.map +0 -1
- package/bin/session/composer/compaction/SessionCompactionComposer.js.map +0 -1
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.d.ts.map +0 -1
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.js.map +0 -1
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.d.ts +0 -46
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.d.ts.map +0 -1
- package/bin/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.js.map +0 -1
- package/bin/session/composer/context/LocalSessionContextComposer.d.ts +0 -48
- package/bin/session/composer/context/LocalSessionContextComposer.d.ts.map +0 -1
- package/bin/session/composer/context/LocalSessionContextComposer.js.map +0 -1
- package/bin/session/composer/context/SessionContextComposer.d.ts +0 -62
- package/bin/session/composer/context/SessionContextComposer.d.ts.map +0 -1
- package/bin/session/composer/context/SessionContextComposer.js.map +0 -1
- package/bin/session/composer/history/SessionHistoryComposer.d.ts +0 -54
- package/bin/session/composer/history/SessionHistoryComposer.d.ts.map +0 -1
- package/bin/session/composer/history/SessionHistoryComposer.js.map +0 -1
- package/bin/session/composer/history/SessionHistoryWriter.d.ts +0 -56
- package/bin/session/composer/history/SessionHistoryWriter.d.ts.map +0 -1
- package/bin/session/composer/history/SessionHistoryWriter.js.map +0 -1
- package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts +0 -35
- package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.d.ts.map +0 -1
- package/bin/session/composer/history/jsonl/JsonlSessionHistoryComposer.js.map +0 -1
- package/bin/session/composer/system/SessionSystemComposer.d.ts.map +0 -1
- package/bin/session/composer/system/SessionSystemComposer.js.map +0 -1
- package/bin/session/composer/system/default/DefaultSessionSystemComposer.d.ts +0 -42
- package/bin/session/composer/system/default/DefaultSessionSystemComposer.d.ts.map +0 -1
- package/bin/session/composer/system/default/DefaultSessionSystemComposer.js.map +0 -1
- package/bin/session/composer/system/default/InitPromptAssets.d.ts.map +0 -1
- package/bin/session/composer/system/default/InitPromptAssets.js.map +0 -1
- package/bin/session/composer/system/default/InitPrompts.d.ts.map +0 -1
- package/bin/session/composer/system/default/InitPrompts.js.map +0 -1
- package/bin/session/composer/system/default/PromptRenderer.d.ts.map +0 -1
- package/bin/session/composer/system/default/PromptRenderer.js.map +0 -1
- package/bin/session/composer/system/default/StaticPromptCatalog.d.ts.map +0 -1
- package/bin/session/composer/system/default/StaticPromptCatalog.js.map +0 -1
- package/bin/session/composer/system/default/SystemDomain.d.ts +0 -169
- package/bin/session/composer/system/default/SystemDomain.d.ts.map +0 -1
- package/bin/session/composer/system/default/SystemDomain.js +0 -217
- package/bin/session/composer/system/default/SystemDomain.js.map +0 -1
- package/bin/session/composer/system/default/SystemPromptAssets.d.ts +0 -20
- package/bin/session/composer/system/default/SystemPromptAssets.d.ts.map +0 -1
- package/bin/session/composer/system/default/SystemPromptAssets.js +0 -23
- package/bin/session/composer/system/default/SystemPromptAssets.js.map +0 -1
- package/bin/session/composer/system/default/assets/core.prompt.d.ts +0 -7
- package/bin/session/composer/system/default/assets/core.prompt.d.ts.map +0 -1
- package/bin/session/composer/system/default/assets/core.prompt.js +0 -8
- package/bin/session/composer/system/default/assets/core.prompt.js.map +0 -1
- package/bin/session/composer/system/default/assets/init/PROFILE.md.d.ts.map +0 -1
- package/bin/session/composer/system/default/assets/init/PROFILE.md.js +0 -8
- package/bin/session/composer/system/default/assets/init/PROFILE.md.js.map +0 -1
- package/bin/session/composer/system/default/assets/init/SOUL.md.d.ts.map +0 -1
- package/bin/session/composer/system/default/assets/init/SOUL.md.js +0 -8
- package/bin/session/composer/system/default/assets/init/SOUL.md.js.map +0 -1
- package/bin/session/composer/system/default/assets/service.prompt.d.ts +0 -7
- package/bin/session/composer/system/default/assets/service.prompt.d.ts.map +0 -1
- package/bin/session/composer/system/default/assets/service.prompt.js +0 -8
- package/bin/session/composer/system/default/assets/service.prompt.js.map +0 -1
- package/bin/session/composer/system/default/assets/task.prompt.d.ts.map +0 -1
- package/bin/session/composer/system/default/assets/task.prompt.js +0 -8
- package/bin/session/composer/system/default/assets/task.prompt.js.map +0 -1
- package/bin/session/composer/system/default/variables/GeoContext.d.ts.map +0 -1
- package/bin/session/composer/system/default/variables/GeoContext.js.map +0 -1
- package/bin/session/composer/system/default/variables/PromptTypes.d.ts.map +0 -1
- package/bin/session/composer/system/default/variables/PromptTypes.js.map +0 -1
- package/bin/session/composer/system/default/variables/VariableReplacer.d.ts.map +0 -1
- package/bin/session/composer/system/default/variables/VariableReplacer.js.map +0 -1
- package/bin/session/core-engine/CoreEngineError.d.ts.map +0 -1
- package/bin/session/core-engine/CoreEngineError.js.map +0 -1
- package/bin/session/core-engine/CoreEngineLoopDecision.d.ts +0 -27
- package/bin/session/core-engine/CoreEngineLoopDecision.d.ts.map +0 -1
- package/bin/session/core-engine/CoreEngineLoopDecision.js.map +0 -1
- package/bin/session/core-engine/CoreEngineMessageState.d.ts +0 -63
- package/bin/session/core-engine/CoreEngineMessageState.d.ts.map +0 -1
- package/bin/session/core-engine/CoreEngineMessageState.js.map +0 -1
- package/bin/session/core-engine/CoreEngineSignals.d.ts +0 -72
- package/bin/session/core-engine/CoreEngineSignals.d.ts.map +0 -1
- package/bin/session/core-engine/CoreEngineSignals.js.map +0 -1
- package/bin/session/core-engine/CoreEngineUiStreamCollector.d.ts +0 -33
- package/bin/session/core-engine/CoreEngineUiStreamCollector.d.ts.map +0 -1
- package/bin/session/core-engine/CoreEngineUiStreamCollector.js.map +0 -1
- package/bin/session/ids/resolveSessionId.d.ts.map +0 -1
- package/bin/session/ids/resolveSessionId.js.map +0 -1
- package/bin/session/messages/SessionAttachmentMapper.d.ts +0 -14
- package/bin/session/messages/SessionAttachmentMapper.d.ts.map +0 -1
- package/bin/session/messages/SessionAttachmentMapper.js +0 -145
- package/bin/session/messages/SessionAttachmentMapper.js.map +0 -1
- package/bin/session/messages/SessionMessageCodec.d.ts +0 -41
- package/bin/session/messages/SessionMessageCodec.d.ts.map +0 -1
- package/bin/session/messages/SessionMessageCodec.js.map +0 -1
- package/bin/session/messages/SessionMessageLog.d.ts +0 -19
- package/bin/session/messages/SessionMessageLog.d.ts.map +0 -1
- package/bin/session/messages/SessionMessageLog.js.map +0 -1
- package/bin/session/messages/SessionStepEventMapper.d.ts +0 -20
- package/bin/session/messages/SessionStepEventMapper.d.ts.map +0 -1
- package/bin/session/messages/SessionStepEventMapper.js.map +0 -1
- package/bin/session/store/history/SessionHistoryStore.d.ts +0 -119
- package/bin/session/store/history/SessionHistoryStore.d.ts.map +0 -1
- package/bin/session/store/history/SessionHistoryStore.js.map +0 -1
- package/bin/session/store/history/jsonl/JsonlSessionHistoryStore.d.ts +0 -76
- package/bin/session/store/history/jsonl/JsonlSessionHistoryStore.d.ts.map +0 -1
- package/bin/session/store/history/jsonl/JsonlSessionHistoryStore.js +0 -374
- package/bin/session/store/history/jsonl/JsonlSessionHistoryStore.js.map +0 -1
- package/bin/session/tools/shell/ShellToolBridge.d.ts +0 -79
- package/bin/session/tools/shell/ShellToolBridge.d.ts.map +0 -1
- package/bin/session/tools/shell/ShellToolBridge.js +0 -288
- package/bin/session/tools/shell/ShellToolBridge.js.map +0 -1
- package/bin/session/tools/shell/ShellToolDefinition.d.ts +0 -114
- package/bin/session/tools/shell/ShellToolDefinition.d.ts.map +0 -1
- package/bin/session/tools/shell/ShellToolDefinition.js +0 -359
- package/bin/session/tools/shell/ShellToolDefinition.js.map +0 -1
- package/bin/session/tools/shell/ShellToolFormatting.d.ts +0 -26
- package/bin/session/tools/shell/ShellToolFormatting.d.ts.map +0 -1
- package/bin/session/tools/shell/ShellToolFormatting.js +0 -74
- package/bin/session/tools/shell/ShellToolFormatting.js.map +0 -1
- package/bin/session/tools/shell/ShellToolSchemas.d.ts.map +0 -1
- package/bin/session/tools/shell/ShellToolSchemas.js +0 -113
- package/bin/session/tools/shell/ShellToolSchemas.js.map +0 -1
- package/bin/session/types/SessionExecutor.d.ts +0 -18
- package/bin/session/types/SessionExecutor.d.ts.map +0 -1
- package/bin/session/types/SessionExecutor.js.map +0 -1
- package/bin/session/types/SessionHistoryMeta.d.ts +0 -45
- package/bin/session/types/SessionHistoryMeta.d.ts.map +0 -1
- package/bin/session/types/SessionHistoryMeta.js +0 -9
- package/bin/session/types/SessionHistoryMeta.js.map +0 -1
- package/bin/session/types/SessionHistoryPaths.d.ts +0 -30
- package/bin/session/types/SessionHistoryPaths.d.ts.map +0 -1
- package/bin/session/types/SessionHistoryPaths.js.map +0 -1
- package/bin/session/types/SessionLoop.d.ts.map +0 -1
- package/bin/session/types/SessionLoop.js.map +0 -1
- package/bin/session/types/SessionMessages.d.ts +0 -83
- package/bin/session/types/SessionMessages.d.ts.map +0 -1
- package/bin/session/types/SessionMessages.js.map +0 -1
- package/bin/session/types/SessionPrompts.d.ts.map +0 -1
- package/bin/session/types/SessionPrompts.js.map +0 -1
- package/bin/session/types/SessionRun.d.ts +0 -112
- package/bin/session/types/SessionRun.d.ts.map +0 -1
- package/bin/session/types/SessionRun.js.map +0 -1
- package/bin/types/config/ModelBinding.d.ts +0 -19
- package/bin/types/config/ModelBinding.d.ts.map +0 -1
- package/bin/types/config/ModelBinding.js +0 -2
- package/bin/types/config/ModelBinding.js.map +0 -1
- package/bin/utils/cli/Checker.d.ts +0 -8
- package/bin/utils/cli/Checker.d.ts.map +0 -1
- package/bin/utils/cli/Checker.js +0 -18
- package/bin/utils/cli/Checker.js.map +0 -1
- package/bin/utils/logger/Fetch.d.ts +0 -14
- package/bin/utils/logger/Fetch.d.ts.map +0 -1
- package/bin/utils/logger/Fetch.js +0 -68
- package/bin/utils/logger/Fetch.js.map +0 -1
- package/src/plugin/builtins/voice/Plugin.ts +0 -450
- package/src/plugin/core/PluginManager.ts +0 -66
- package/src/plugin/core/Plugins.ts +0 -39
- package/src/runtime/host/PluginRuntime.ts +0 -42
- package/src/runtime/server/http/auth/AuthError.ts +0 -31
- package/src/runtime/server/http/auth/PasswordHasher.ts +0 -37
- package/src/runtime/server/http/auth/TokenService.ts +0 -36
- package/src/runtime/server/http/services/services.ts +0 -98
- package/src/sdk/session/ServicePort.ts +0 -130
- package/src/service/builtins/BaseService.ts +0 -97
- package/src/service/builtins/README.md +0 -121
- package/src/service/builtins/chat/Action.ts +0 -477
- package/src/service/builtins/chat/ChatService.ts +0 -255
- package/src/service/builtins/chat/ChatServiceTypes.ts +0 -164
- package/src/service/builtins/chat/Index.ts +0 -9
- package/src/service/builtins/chat/PROMPT.direct.ts +0 -9
- package/src/service/builtins/chat/PROMPT.direct.ts.txt +0 -55
- package/src/service/builtins/chat/accounts/ChannelAccountService.ts +0 -297
- package/src/service/builtins/chat/channels/BaseChatChannel.ts +0 -450
- package/src/service/builtins/chat/channels/BaseChatChannelQueue.ts +0 -321
- package/src/service/builtins/chat/channels/BaseChatChannelSupport.ts +0 -321
- package/src/service/builtins/chat/channels/BotInfoProvider.ts +0 -49
- package/src/service/builtins/chat/channels/Configuration.ts +0 -35
- package/src/service/builtins/chat/channels/ConfigurationRegistry.ts +0 -43
- package/src/service/builtins/chat/channels/feishu/BotInfo.ts +0 -199
- package/src/service/builtins/chat/channels/feishu/Configuration.ts +0 -65
- package/src/service/builtins/chat/channels/feishu/Feishu.ts +0 -467
- package/src/service/builtins/chat/channels/feishu/FeishuInbound.ts +0 -51
- package/src/service/builtins/chat/channels/feishu/FeishuMessageHandler.ts +0 -483
- package/src/service/builtins/chat/channels/feishu/FeishuPlatformClient.ts +0 -421
- package/src/service/builtins/chat/channels/feishu/FeishuPlatformLookup.ts +0 -523
- package/src/service/builtins/chat/channels/feishu/FeishuPlatformMessaging.ts +0 -219
- package/src/service/builtins/chat/channels/feishu/InboundAttachment.ts +0 -261
- package/src/service/builtins/chat/channels/feishu/PROMPT.direct.ts +0 -9
- package/src/service/builtins/chat/channels/feishu/PostMessage.ts +0 -492
- package/src/service/builtins/chat/channels/feishu/ReplyContext.ts +0 -68
- package/src/service/builtins/chat/channels/feishu/Shared.ts +0 -94
- package/src/service/builtins/chat/channels/feishu/types/FeishuChannel.ts +0 -131
- package/src/service/builtins/chat/channels/qq/BotInfo.ts +0 -137
- package/src/service/builtins/chat/channels/qq/Configuration.ts +0 -64
- package/src/service/builtins/chat/channels/qq/PROMPT.direct.ts +0 -9
- package/src/service/builtins/chat/channels/qq/PROMPT.direct.ts.txt +0 -11
- package/src/service/builtins/chat/channels/qq/QQ.ts +0 -398
- package/src/service/builtins/chat/channels/qq/QQEventCapture.ts +0 -88
- package/src/service/builtins/chat/channels/qq/QQGatewayAuth.ts +0 -318
- package/src/service/builtins/chat/channels/qq/QQGatewayClient.ts +0 -467
- package/src/service/builtins/chat/channels/qq/QQGatewayConnection.ts +0 -175
- package/src/service/builtins/chat/channels/qq/QQGatewayHeartbeat.ts +0 -114
- package/src/service/builtins/chat/channels/qq/QQGatewayProtocol.ts +0 -176
- package/src/service/builtins/chat/channels/qq/QQGatewaySend.ts +0 -258
- package/src/service/builtins/chat/channels/qq/QQGatewaySupport.ts +0 -159
- package/src/service/builtins/chat/channels/qq/QQInbound.ts +0 -262
- package/src/service/builtins/chat/channels/qq/QQInboundDedupe.ts +0 -126
- package/src/service/builtins/chat/channels/qq/QQMessageHandler.ts +0 -465
- package/src/service/builtins/chat/channels/qq/QQSupport.ts +0 -263
- package/src/service/builtins/chat/channels/qq/VoiceInput.ts +0 -381
- package/src/service/builtins/chat/channels/qq/types/QqChannel.ts +0 -501
- package/src/service/builtins/chat/channels/telegram/Bot.ts +0 -357
- package/src/service/builtins/chat/channels/telegram/BotInfo.ts +0 -92
- package/src/service/builtins/chat/channels/telegram/Configuration.ts +0 -65
- package/src/service/builtins/chat/channels/telegram/PROMPT.direct.ts +0 -9
- package/src/service/builtins/chat/channels/telegram/ReplyContext.ts +0 -76
- package/src/service/builtins/chat/channels/telegram/Shared.ts +0 -404
- package/src/service/builtins/chat/channels/telegram/TelegramMessageHandler.ts +0 -485
- package/src/service/builtins/chat/channels/telegram/TelegramPendingUpdates.ts +0 -204
- package/src/service/builtins/chat/channels/telegram/TelegramPlatformClient.ts +0 -482
- package/src/service/builtins/chat/runtime/ChannelContextStore.ts +0 -395
- package/src/service/builtins/chat/runtime/ChatActionExecution.ts +0 -362
- package/src/service/builtins/chat/runtime/ChatActionInput.ts +0 -167
- package/src/service/builtins/chat/runtime/ChatChannelActions.ts +0 -307
- package/src/service/builtins/chat/runtime/ChatChannelConfig.ts +0 -330
- package/src/service/builtins/chat/runtime/ChatChannelCore.ts +0 -145
- package/src/service/builtins/chat/runtime/ChatChannelFacade.ts +0 -23
- package/src/service/builtins/chat/runtime/ChatChannelLifecycle.ts +0 -169
- package/src/service/builtins/chat/runtime/ChatHistoryStore.ts +0 -289
- package/src/service/builtins/chat/runtime/ChatIngressStore.ts +0 -88
- package/src/service/builtins/chat/runtime/ChatMessageMarkup.ts +0 -263
- package/src/service/builtins/chat/runtime/ChatMetaStore.ts +0 -186
- package/src/service/builtins/chat/runtime/ChatPromptAssets.ts +0 -32
- package/src/service/builtins/chat/runtime/ChatQueue.ts +0 -77
- package/src/service/builtins/chat/runtime/ChatQueueSessionBridge.ts +0 -122
- package/src/service/builtins/chat/runtime/ChatQueueStore.ts +0 -185
- package/src/service/builtins/chat/runtime/ChatQueueWorker.ts +0 -504
- package/src/service/builtins/chat/runtime/ChatQueueWorkerSupport.ts +0 -137
- package/src/service/builtins/chat/runtime/ChatSendActionInput.ts +0 -255
- package/src/service/builtins/chat/runtime/ChatSendMetadata.ts +0 -170
- package/src/service/builtins/chat/runtime/ChatSendRegistry.ts +0 -43
- package/src/service/builtins/chat/runtime/ChatServiceActions.ts +0 -367
- package/src/service/builtins/chat/runtime/ChatServiceSystem.ts +0 -70
- package/src/service/builtins/chat/runtime/ChatSession.ts +0 -156
- package/src/service/builtins/chat/runtime/ChatSessionContextComposer.ts +0 -106
- package/src/service/builtins/chat/runtime/ChatSessionDelete.ts +0 -95
- package/src/service/builtins/chat/runtime/ChatSessionTypes.ts +0 -32
- package/src/service/builtins/chat/runtime/ChatkeySend.ts +0 -187
- package/src/service/builtins/chat/runtime/DirectDispatchParser.ts +0 -158
- package/src/service/builtins/chat/runtime/EnqueueDispatch.ts +0 -49
- package/src/service/builtins/chat/runtime/InboundAugment.ts +0 -63
- package/src/service/builtins/chat/runtime/PluginDispatch.ts +0 -89
- package/src/service/builtins/chat/runtime/PluginPoints.ts +0 -78
- package/src/service/builtins/chat/runtime/QueuedUserMessage.ts +0 -43
- package/src/service/builtins/chat/runtime/ReplyContextFormatter.ts +0 -85
- package/src/service/builtins/chat/runtime/ReplyDispatch.ts +0 -78
- package/src/service/builtins/chat/runtime/SystemPrompt.ts +0 -84
- package/src/service/builtins/chat/runtime/UIMessageTransformer.ts +0 -141
- package/src/service/builtins/chat/runtime/UserVisibleText.ts +0 -84
- package/src/service/builtins/chat/types/BotInfo.ts +0 -101
- package/src/service/builtins/chat/types/ChannelConfiguration.ts +0 -161
- package/src/service/builtins/chat/types/ChannelContext.ts +0 -110
- package/src/service/builtins/chat/types/ChannelStatus.ts +0 -98
- package/src/service/builtins/chat/types/ChatHistory.ts +0 -42
- package/src/service/builtins/chat/types/ChatMessageMarkup.ts +0 -168
- package/src/service/builtins/chat/types/ChatMeta.ts +0 -35
- package/src/service/builtins/chat/types/ChatPlugin.ts +0 -251
- package/src/service/builtins/chat/types/ChatPromptContext.ts +0 -139
- package/src/service/builtins/chat/types/ChatQueue.ts +0 -49
- package/src/service/builtins/chat/types/ChatRuntime.ts +0 -33
- package/src/service/builtins/chat/types/ChatService.ts +0 -165
- package/src/service/builtins/chat/types/DirectDispatch.ts +0 -133
- package/src/service/builtins/chat/types/FeishuInboundAttachment.ts +0 -138
- package/src/service/builtins/contact/Action.ts +0 -316
- package/src/service/builtins/contact/ContactService.ts +0 -505
- package/src/service/builtins/contact/Index.ts +0 -8
- package/src/service/builtins/contact/PROMPT.ts +0 -9
- package/src/service/builtins/contact/PROMPT.ts.txt +0 -25
- package/src/service/builtins/contact/runtime/ApproveCallback.ts +0 -97
- package/src/service/builtins/contact/runtime/ChatRuntime.ts +0 -82
- package/src/service/builtins/contact/runtime/ContactPromptAssets.ts +0 -14
- package/src/service/builtins/contact/runtime/ContactStore.ts +0 -299
- package/src/service/builtins/contact/runtime/EndpointNotice.ts +0 -125
- package/src/service/builtins/contact/runtime/InboxStore.ts +0 -178
- package/src/service/builtins/contact/runtime/LinkApproval.ts +0 -387
- package/src/service/builtins/contact/runtime/LinkCode.ts +0 -70
- package/src/service/builtins/contact/runtime/LinkStore.ts +0 -50
- package/src/service/builtins/contact/runtime/Paths.ts +0 -139
- package/src/service/builtins/contact/runtime/RemoteClient.ts +0 -158
- package/src/service/builtins/contact/runtime/ShareBundle.ts +0 -286
- package/src/service/builtins/contact/runtime/SystemProvider.ts +0 -15
- package/src/service/builtins/contact/types/ContactCheck.ts +0 -67
- package/src/service/builtins/contact/types/ContactCommand.ts +0 -98
- package/src/service/builtins/memory/Action.ts +0 -147
- package/src/service/builtins/memory/Index.ts +0 -9
- package/src/service/builtins/memory/MemoryService.ts +0 -270
- package/src/service/builtins/memory/runtime/Flush.ts +0 -83
- package/src/service/builtins/memory/runtime/Search.ts +0 -330
- package/src/service/builtins/memory/runtime/Store.ts +0 -198
- package/src/service/builtins/memory/runtime/SystemProvider.ts +0 -145
- package/src/service/builtins/memory/runtime/Writer.ts +0 -173
- package/src/service/builtins/schedule/ScheduleService.ts +0 -131
- package/src/service/builtins/shell/Index.ts +0 -9
- package/src/service/builtins/shell/ShellRuntimeTypes.ts +0 -94
- package/src/service/builtins/shell/ShellService.ts +0 -199
- package/src/service/builtins/shell/runtime/ShellActionResponse.ts +0 -135
- package/src/service/builtins/shell/runtime/ShellActionRuntime.ts +0 -544
- package/src/service/builtins/shell/runtime/ShellActionRuntimeSupport.ts +0 -398
- package/src/service/builtins/shell/runtime/ShellProcessEvents.ts +0 -65
- package/src/service/builtins/shell/runtime/ShellRuntimeEnvironment.ts +0 -75
- package/src/service/builtins/shell/types/ShellService.ts +0 -233
- package/src/service/builtins/task/Index.ts +0 -9
- package/src/service/builtins/task/PROMPT.ts +0 -9
- package/src/service/builtins/task/PROMPT.ts.txt +0 -237
- package/src/service/builtins/task/Scheduler.ts +0 -245
- package/src/service/builtins/task/TaskService.ts +0 -167
- package/src/service/builtins/task/runtime/CronRuntime.ts +0 -73
- package/src/service/builtins/task/runtime/CronTrigger.ts +0 -110
- package/src/service/builtins/task/runtime/Model.ts +0 -347
- package/src/service/builtins/task/runtime/Runner.ts +0 -519
- package/src/service/builtins/task/runtime/Store.ts +0 -253
- package/src/service/builtins/task/runtime/TaskActionExecution.ts +0 -276
- package/src/service/builtins/task/runtime/TaskActionInput.ts +0 -281
- package/src/service/builtins/task/runtime/TaskPromptAssets.ts +0 -14
- package/src/service/builtins/task/runtime/TaskRunArtifacts.ts +0 -493
- package/src/service/builtins/task/runtime/TaskRunChatDispatch.ts +0 -81
- package/src/service/builtins/task/runtime/TaskRunnerProgress.ts +0 -112
- package/src/service/builtins/task/runtime/TaskRunnerRound.ts +0 -337
- package/src/service/builtins/task/runtime/TaskRunnerScript.ts +0 -175
- package/src/service/builtins/task/runtime/TaskRunnerSession.ts +0 -190
- package/src/service/builtins/task/runtime/TaskRunnerTypes.ts +0 -199
- package/src/service/builtins/task/runtime/TaskServiceActions.ts +0 -214
- package/src/service/builtins/task/runtime/TaskServiceSystem.ts +0 -8
- package/src/service/builtins/task/types/Cron.ts +0 -16
- package/src/service/builtins/task/types/TaskService.ts +0 -55
- package/src/service/core/Manager.ts +0 -24
- package/src/service/core/ServiceActionRunner.ts +0 -274
- package/src/service/core/ServiceClassRegistry.ts +0 -77
- package/src/service/core/ServiceCommandRequest.ts +0 -93
- package/src/service/core/ServiceStateController.ts +0 -341
- package/src/service/core/ServiceSystemProviders.ts +0 -50
- package/src/service/core/Services.ts +0 -35
- package/src/service/core/schedule/Executor.ts +0 -54
- package/src/service/core/schedule/Store.ts +0 -358
- package/src/service/core/schedule/Time.ts +0 -131
- package/src/service/types/Service.ts +0 -200
- package/src/service/types/ServiceSchedule.ts +0 -134
- package/src/service/types/ServiceState.ts +0 -112
- package/src/service/types/Services.ts +0 -100
- package/src/session/Executor.ts +0 -732
- package/src/session/README.md +0 -108
- package/src/session/SessionRunScope.ts +0 -146
- package/src/session/composer/compaction/SessionCompactionComposer.ts +0 -62
- package/src/session/composer/compaction/jsonl/JsonlSessionCompactionComposer.ts +0 -101
- package/src/session/composer/compaction/jsonl/JsonlSessionCompactionExecutor.ts +0 -261
- package/src/session/composer/context/LocalSessionContextComposer.ts +0 -168
- package/src/session/composer/context/SessionContextComposer.ts +0 -70
- package/src/session/composer/history/SessionHistoryComposer.ts +0 -62
- package/src/session/composer/history/SessionHistoryWriter.ts +0 -131
- package/src/session/composer/history/jsonl/JsonlSessionHistoryComposer.ts +0 -126
- package/src/session/composer/system/default/DefaultSessionSystemComposer.ts +0 -77
- package/src/session/composer/system/default/InitPromptAssets.ts +0 -20
- package/src/session/composer/system/default/InitPrompts.ts +0 -11
- package/src/session/composer/system/default/PromptRenderer.ts +0 -52
- package/src/session/composer/system/default/StaticPromptCatalog.ts +0 -287
- package/src/session/composer/system/default/SystemDomain.ts +0 -373
- package/src/session/composer/system/default/SystemPromptAssets.ts +0 -26
- package/src/session/composer/system/default/assets/core.prompt.ts +0 -9
- package/src/session/composer/system/default/assets/core.prompt.ts.txt +0 -39
- package/src/session/composer/system/default/assets/init/PROFILE.md.ts +0 -9
- package/src/session/composer/system/default/assets/init/SOUL.md.ts +0 -9
- package/src/session/composer/system/default/assets/service.prompt.ts +0 -9
- package/src/session/composer/system/default/assets/service.prompt.ts.txt +0 -29
- package/src/session/composer/system/default/assets/task.prompt.ts +0 -9
- package/src/session/composer/system/default/variables/GeoContext.ts +0 -180
- package/src/session/composer/system/default/variables/VariableReplacer.ts +0 -154
- package/src/session/core-engine/CoreEngineLoopDecision.ts +0 -80
- package/src/session/core-engine/CoreEngineMessageState.ts +0 -133
- package/src/session/core-engine/CoreEngineSignals.ts +0 -416
- package/src/session/core-engine/CoreEngineUiStreamCollector.ts +0 -96
- package/src/session/messages/SessionAttachmentMapper.ts +0 -155
- package/src/session/messages/SessionMessageCodec.ts +0 -116
- package/src/session/messages/SessionMessageLog.ts +0 -39
- package/src/session/messages/SessionStepEventMapper.ts +0 -233
- package/src/session/store/history/SessionHistoryStore.ts +0 -145
- package/src/session/store/history/jsonl/JsonlSessionHistoryStore.ts +0 -465
- package/src/session/tools/shell/ShellToolBridge.ts +0 -378
- package/src/session/tools/shell/ShellToolDefinition.ts +0 -509
- package/src/session/tools/shell/ShellToolFormatting.ts +0 -83
- package/src/session/tools/shell/ShellToolSchemas.ts +0 -120
- package/src/session/types/SessionExecutor.ts +0 -33
- package/src/session/types/SessionHistoryMeta.ts +0 -46
- package/src/session/types/SessionHistoryPaths.ts +0 -33
- package/src/session/types/SessionMessages.ts +0 -90
- package/src/session/types/SessionRun.ts +0 -132
- package/src/types/config/ModelBinding.ts +0 -18
- package/src/utils/cli/Checker.ts +0 -19
- package/src/utils/logger/Fetch.ts +0 -93
- /package/bin/{session → executor}/Executor.js +0 -0
- /package/bin/{session → executor}/composer/compaction/SessionCompactionComposer.js +0 -0
- /package/bin/{session → executor}/composer/compaction/jsonl/JsonlSessionCompactionComposer.d.ts +0 -0
- /package/bin/{session → executor}/composer/compaction/jsonl/JsonlSessionCompactionComposer.js +0 -0
- /package/bin/{session → executor}/composer/compaction/jsonl/JsonlSessionCompactionExecutor.js +0 -0
- /package/bin/{session → executor}/composer/context/LocalSessionContextComposer.js +0 -0
- /package/bin/{session → executor}/composer/context/SessionContextComposer.js +0 -0
- /package/bin/{session → executor}/composer/history/SessionHistoryComposer.js +0 -0
- /package/bin/{session → executor}/composer/history/SessionHistoryWriter.js +0 -0
- /package/bin/{session → executor}/composer/history/jsonl/JsonlSessionHistoryComposer.js +0 -0
- /package/bin/{session → executor}/composer/system/SessionSystemComposer.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/SessionSystemComposer.js +0 -0
- /package/bin/{session → executor}/composer/system/default/DefaultSessionSystemComposer.js +0 -0
- /package/bin/{session → executor}/composer/system/default/InitPromptAssets.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/InitPromptAssets.js +0 -0
- /package/bin/{session → executor}/composer/system/default/InitPrompts.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/InitPrompts.js +0 -0
- /package/bin/{session → executor}/composer/system/default/PromptRenderer.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/PromptRenderer.js +0 -0
- /package/bin/{session → executor}/composer/system/default/StaticPromptCatalog.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/StaticPromptCatalog.js +0 -0
- /package/bin/{session → executor}/composer/system/default/assets/init/PROFILE.md.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/assets/init/SOUL.md.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/assets/task.prompt.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/variables/GeoContext.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/variables/GeoContext.js +0 -0
- /package/bin/{session → executor}/composer/system/default/variables/PromptTypes.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/variables/PromptTypes.js +0 -0
- /package/bin/{session → executor}/composer/system/default/variables/VariableReplacer.d.ts +0 -0
- /package/bin/{session → executor}/composer/system/default/variables/VariableReplacer.js +0 -0
- /package/bin/{session → executor}/core-engine/CoreEngineError.d.ts +0 -0
- /package/bin/{session → executor}/core-engine/CoreEngineError.js +0 -0
- /package/bin/{session → executor}/core-engine/CoreEngineLoopDecision.js +0 -0
- /package/bin/{session → executor}/core-engine/CoreEngineMessageState.js +0 -0
- /package/bin/{session → executor}/core-engine/CoreEngineSignals.js +0 -0
- /package/bin/{session → executor}/core-engine/CoreEngineUiStreamCollector.js +0 -0
- /package/bin/{session → executor}/ids/resolveSessionId.d.ts +0 -0
- /package/bin/{session → executor}/ids/resolveSessionId.js +0 -0
- /package/bin/{session → executor}/messages/SessionMessageCodec.js +0 -0
- /package/bin/{session → executor}/messages/SessionMessageLog.js +0 -0
- /package/bin/{session → executor}/messages/SessionStepEventMapper.js +0 -0
- /package/bin/{session → executor}/store/history/SessionHistoryStore.js +0 -0
- /package/bin/{session → executor}/tools/shell/ShellToolSchemas.d.ts +0 -0
- /package/bin/{session → executor}/types/SessionExecutor.js +0 -0
- /package/bin/{session → executor}/types/SessionHistoryPaths.js +0 -0
- /package/bin/{session → executor}/types/SessionLoop.d.ts +0 -0
- /package/bin/{session → executor}/types/SessionLoop.js +0 -0
- /package/bin/{session → executor}/types/SessionMessages.js +0 -0
- /package/bin/{session → executor}/types/SessionPrompts.d.ts +0 -0
- /package/bin/{session → executor}/types/SessionPrompts.js +0 -0
- /package/bin/{session → executor}/types/SessionRun.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/Configuration.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/feishu/BotInfo.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/feishu/FeishuInbound.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/feishu/FeishuPlatformClient.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/feishu/FeishuPlatformLookup.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/feishu/FeishuPlatformMessaging.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/feishu/InboundAttachment.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/feishu/PROMPT.direct.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/feishu/PostMessage.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/feishu/ReplyContext.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/qq/BotInfo.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/qq/QQEventCapture.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/qq/QQGatewayAuth.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/qq/QQGatewayClient.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/qq/QQGatewayConnection.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/qq/QQGatewayHeartbeat.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/qq/QQGatewaySend.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/qq/QQGatewaySupport.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/qq/QQInbound.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/qq/QQInboundDedupe.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/qq/QQInboundDedupe.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/qq/QQMessageHandler.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/qq/QQSendSupport.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/qq/QQSendSupport.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/qq/VoiceInput.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/qq/types/QqGatewaySupport.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/qq/types/QqGatewaySupport.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/telegram/ApiClient.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/telegram/ApiClient.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/telegram/BotInfo.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/telegram/Handlers.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/telegram/Handlers.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/telegram/PROMPT.direct.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/telegram/ReplyContext.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/telegram/Shared.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/telegram/StateStore.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/telegram/StateStore.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/telegram/TelegramInbound.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/telegram/TelegramInbound.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/telegram/TelegramPendingUpdates.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/channels/telegram/TelegramPlatformClient.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/runtime/ChannelContextStore.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/runtime/ChatActionInputSupport.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/chat/runtime/ChatActionInputSupport.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/runtime/ChatHistoryStore.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/runtime/ChatMessageMarkup.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/runtime/ChatQueue.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/runtime/ChatQueueReplyDispatch.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/chat/runtime/ChatQueueReplyDispatch.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/runtime/ChatQueueWorkerSupport.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/runtime/ChatSendMetadata.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/runtime/ChatSendRegistry.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/runtime/ChatSessionTypes.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/runtime/QueuedUserMessage.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/runtime/ReplyContextFormatter.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/runtime/UIMessageTransformer.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/runtime/UserVisibleText.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/types/BotInfo.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/types/ChannelAccount.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/chat/types/ChannelAccount.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/types/ChannelConfiguration.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/types/ChannelStatus.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/types/ChatCommand.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/chat/types/ChatCommand.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/types/ChatDispatcher.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/chat/types/ChatDispatcher.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/types/ChatHistory.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/types/ChatPromptContext.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/types/ChatQueue.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/types/ChatQueueWorker.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/chat/types/ChatQueueWorker.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/types/DirectDispatch.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/types/FeishuAttachment.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/chat/types/FeishuAttachment.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/types/FeishuInboundAttachment.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/types/FeishuPost.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/chat/types/FeishuPost.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/types/QqInboundDedupe.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/chat/types/QqInboundDedupe.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/types/QqVoice.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/chat/types/QqVoice.js +0 -0
- /package/bin/{service → plugin}/builtins/chat/types/ReplyContext.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/chat/types/ReplyContext.js +0 -0
- /package/bin/{service → plugin}/builtins/contact/runtime/ApproveCallback.js +0 -0
- /package/bin/{service → plugin}/builtins/contact/runtime/ContactPayload.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/contact/runtime/ContactPayload.js +0 -0
- /package/bin/{service → plugin}/builtins/contact/runtime/ContactStore.js +0 -0
- /package/bin/{service → plugin}/builtins/contact/runtime/EndpointNotice.js +0 -0
- /package/bin/{service → plugin}/builtins/contact/runtime/EndpointResolver.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/contact/runtime/EndpointResolver.js +0 -0
- /package/bin/{service → plugin}/builtins/contact/runtime/InboxStore.js +0 -0
- /package/bin/{service → plugin}/builtins/contact/runtime/LinkApproval.js +0 -0
- /package/bin/{service → plugin}/builtins/contact/runtime/LinkCode.js +0 -0
- /package/bin/{service → plugin}/builtins/contact/runtime/LinkStore.js +0 -0
- /package/bin/{service → plugin}/builtins/contact/runtime/ShareBundle.js +0 -0
- /package/bin/{service → plugin}/builtins/contact/runtime/Token.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/contact/runtime/Token.js +0 -0
- /package/bin/{service → plugin}/builtins/contact/types/Contact.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/contact/types/Contact.js +0 -0
- /package/bin/{service → plugin}/builtins/contact/types/ContactApproval.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/contact/types/ContactApproval.js +0 -0
- /package/bin/{service → plugin}/builtins/contact/types/ContactChat.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/contact/types/ContactChat.js +0 -0
- /package/bin/{service → plugin}/builtins/contact/types/ContactCheck.js +0 -0
- /package/bin/{service → plugin}/builtins/contact/types/ContactEndpoint.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/contact/types/ContactEndpoint.js +0 -0
- /package/bin/{service → plugin}/builtins/contact/types/ContactLink.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/contact/types/ContactLink.js +0 -0
- /package/bin/{service → plugin}/builtins/contact/types/ContactShare.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/contact/types/ContactShare.js +0 -0
- /package/bin/{service → plugin}/builtins/memory/Action.js +0 -0
- /package/bin/{service → plugin}/builtins/memory/runtime/Flush.js +0 -0
- /package/bin/{service → plugin}/builtins/memory/types/Memory.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/memory/types/Memory.js +0 -0
- /package/bin/{service → plugin}/builtins/shell/runtime/Paths.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/shell/runtime/Paths.js +0 -0
- /package/bin/{service → plugin}/builtins/shell/runtime/ShellActionResponse.js +0 -0
- /package/bin/{service → plugin}/builtins/shell/runtime/ShellProcessEvents.js +0 -0
- /package/bin/{service → plugin}/builtins/shell/runtime/ShellRuntimeEnvironment.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/shell/types/Shell.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/shell/types/Shell.js +0 -0
- /package/bin/{service → plugin}/builtins/task/Action.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/task/Action.js +0 -0
- /package/bin/{service → plugin}/builtins/task/runtime/Frontmatter.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/task/runtime/Frontmatter.js +0 -0
- /package/bin/{service → plugin}/builtins/task/runtime/Model.js +0 -0
- /package/bin/{service → plugin}/builtins/task/runtime/Paths.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/task/runtime/Paths.js +0 -0
- /package/bin/{service → plugin}/builtins/task/runtime/Runner.js +0 -0
- /package/bin/{service → plugin}/builtins/task/runtime/Store.js +0 -0
- /package/bin/{service → plugin}/builtins/task/runtime/TaskRunArtifacts.js +0 -0
- /package/bin/{service → plugin}/builtins/task/runtime/TaskRunnerProgress.js +0 -0
- /package/bin/{service → plugin}/builtins/task/runtime/TaskRunnerScript.js +0 -0
- /package/bin/{service → plugin}/builtins/task/runtime/TaskRunnerTypes.js +0 -0
- /package/bin/{service → plugin}/builtins/task/types/Cron.js +0 -0
- /package/bin/{service → plugin}/builtins/task/types/Task.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/task/types/Task.js +0 -0
- /package/bin/{service → plugin}/builtins/task/types/TaskCommand.d.ts +0 -0
- /package/bin/{service → plugin}/builtins/task/types/TaskCommand.js +0 -0
- /package/src/{session → executor}/composer/system/SessionSystemComposer.ts +0 -0
- /package/src/{session → executor}/composer/system/default/assets/init/PROFILE.md.ts.txt +0 -0
- /package/src/{session → executor}/composer/system/default/assets/init/SOUL.md.ts.txt +0 -0
- /package/src/{session → executor}/composer/system/default/assets/task.prompt.ts.txt +0 -0
- /package/src/{session → executor}/composer/system/default/variables/PromptTypes.ts +0 -0
- /package/src/{session → executor}/core-engine/CoreEngineError.ts +0 -0
- /package/src/{session → executor}/ids/resolveSessionId.ts +0 -0
- /package/src/{session → executor}/types/SessionLoop.ts +0 -0
- /package/src/{session → executor}/types/SessionPrompts.ts +0 -0
- /package/src/{service → plugin}/builtins/chat/channels/feishu/PROMPT.direct.ts.txt +0 -0
- /package/src/{service → plugin}/builtins/chat/channels/qq/QQSendSupport.ts +0 -0
- /package/src/{service → plugin}/builtins/chat/channels/qq/types/QqGatewaySupport.ts +0 -0
- /package/src/{service → plugin}/builtins/chat/channels/telegram/ApiClient.ts +0 -0
- /package/src/{service → plugin}/builtins/chat/channels/telegram/Handlers.ts +0 -0
- /package/src/{service → plugin}/builtins/chat/channels/telegram/PROMPT.direct.ts.txt +0 -0
- /package/src/{service → plugin}/builtins/chat/channels/telegram/StateStore.ts +0 -0
- /package/src/{service → plugin}/builtins/chat/channels/telegram/TelegramInbound.ts +0 -0
- /package/src/{service → plugin}/builtins/chat/runtime/ChatActionInputSupport.ts +0 -0
- /package/src/{service → plugin}/builtins/chat/runtime/ChatQueueReplyDispatch.ts +0 -0
- /package/src/{service → plugin}/builtins/chat/types/ChannelAccount.ts +0 -0
- /package/src/{service → plugin}/builtins/chat/types/ChatCommand.ts +0 -0
- /package/src/{service → plugin}/builtins/chat/types/ChatDispatcher.ts +0 -0
- /package/src/{service → plugin}/builtins/chat/types/ChatQueueWorker.ts +0 -0
- /package/src/{service → plugin}/builtins/chat/types/FeishuAttachment.ts +0 -0
- /package/src/{service → plugin}/builtins/chat/types/FeishuPost.ts +0 -0
- /package/src/{service → plugin}/builtins/chat/types/QqInboundDedupe.ts +0 -0
- /package/src/{service → plugin}/builtins/chat/types/QqVoice.ts +0 -0
- /package/src/{service → plugin}/builtins/chat/types/ReplyContext.ts +0 -0
- /package/src/{service → plugin}/builtins/contact/runtime/ContactPayload.ts +0 -0
- /package/src/{service → plugin}/builtins/contact/runtime/EndpointResolver.ts +0 -0
- /package/src/{service → plugin}/builtins/contact/runtime/Token.ts +0 -0
- /package/src/{service → plugin}/builtins/contact/types/Contact.ts +0 -0
- /package/src/{service → plugin}/builtins/contact/types/ContactApproval.ts +0 -0
- /package/src/{service → plugin}/builtins/contact/types/ContactChat.ts +0 -0
- /package/src/{service → plugin}/builtins/contact/types/ContactEndpoint.ts +0 -0
- /package/src/{service → plugin}/builtins/contact/types/ContactLink.ts +0 -0
- /package/src/{service → plugin}/builtins/contact/types/ContactShare.ts +0 -0
- /package/src/{service → plugin}/builtins/memory/types/Memory.ts +0 -0
- /package/src/{service → plugin}/builtins/shell/runtime/Paths.ts +0 -0
- /package/src/{service → plugin}/builtins/shell/types/Shell.ts +0 -0
- /package/src/{service → plugin}/builtins/task/Action.ts +0 -0
- /package/src/{service → plugin}/builtins/task/runtime/Frontmatter.ts +0 -0
- /package/src/{service → plugin}/builtins/task/runtime/Paths.ts +0 -0
- /package/src/{service → plugin}/builtins/task/types/Task.ts +0 -0
- /package/src/{service → plugin}/builtins/task/types/TaskCommand.ts +0 -0
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ChatServiceSystem:chat service 的 system prompt 组装模块。
|
|
3
|
-
*
|
|
4
|
-
* 关键点(中文)
|
|
5
|
-
* - chat service prompt 与 channel prompt 都属于静态资产。
|
|
6
|
-
* - 当前请求只注入当前 channel 的 prompt,避免平台规则串味。
|
|
7
|
-
* - 该模块只负责 prompt 解析与拼装,不承担运行态控制职责。
|
|
8
|
-
*/
|
|
9
|
-
import type { AgentContext } from "../../../../core/AgentContextTypes.js";
|
|
10
|
-
/**
|
|
11
|
-
* 构建当前请求所属 channel 的提示词片段。
|
|
12
|
-
*
|
|
13
|
-
* 关键点(中文)
|
|
14
|
-
* - 仅注入当前 context 对应的 channel prompt,避免把其他平台规则混入本轮会话。
|
|
15
|
-
* - 若当前 context 不是 chat channel(如 consoleui)或尚无路由元信息,则不注入 channel prompt。
|
|
16
|
-
*/
|
|
17
|
-
export declare function buildCurrentChannelPrompts(context: AgentContext): Promise<string[]>;
|
|
18
|
-
/**
|
|
19
|
-
* 构建 chat service 注入到 session 的 system 文本。
|
|
20
|
-
*/
|
|
21
|
-
export declare function buildChatServiceSystem(context: AgentContext): Promise<string>;
|
|
22
|
-
//# sourceMappingURL=ChatServiceSystem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatServiceSystem.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/ChatServiceSystem.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AA2BhE;;;;;;GAMG;AACH,wBAAsB,0BAA0B,CAC9C,OAAO,EAAE,YAAY,GACpB,OAAO,CAAC,MAAM,EAAE,CAAC,CAUnB;AAED;;GAEG;AACH,wBAAsB,sBAAsB,CAC1C,OAAO,EAAE,YAAY,GACpB,OAAO,CAAC,MAAM,CAAC,CAQjB"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { buildCurrentChatEnvironmentPrompt, resolveCurrentChatEnvironmentPromptInput, } from "../../../../service/builtins/chat/runtime/SystemPrompt.js";
|
|
2
|
-
import { CHAT_SERVICE_PROMPT, FEISHU_CHAT_CHANNEL_PROMPT, QQ_CHAT_CHANNEL_PROMPT, TELEGRAM_CHAT_CHANNEL_PROMPT, } from "../../../../service/builtins/chat/runtime/ChatPromptAssets.js";
|
|
3
|
-
const CHAT_CHANNEL_PROMPTS = {
|
|
4
|
-
telegram: TELEGRAM_CHAT_CHANNEL_PROMPT,
|
|
5
|
-
feishu: FEISHU_CHAT_CHANNEL_PROMPT,
|
|
6
|
-
qq: QQ_CHAT_CHANNEL_PROMPT,
|
|
7
|
-
};
|
|
8
|
-
function resolveCurrentChatPromptChannel(channel) {
|
|
9
|
-
if (channel === "telegram" || channel === "feishu" || channel === "qq") {
|
|
10
|
-
return channel;
|
|
11
|
-
}
|
|
12
|
-
return null;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* 构建当前请求所属 channel 的提示词片段。
|
|
16
|
-
*
|
|
17
|
-
* 关键点(中文)
|
|
18
|
-
* - 仅注入当前 context 对应的 channel prompt,避免把其他平台规则混入本轮会话。
|
|
19
|
-
* - 若当前 context 不是 chat channel(如 consoleui)或尚无路由元信息,则不注入 channel prompt。
|
|
20
|
-
*/
|
|
21
|
-
export async function buildCurrentChannelPrompts(context) {
|
|
22
|
-
const chatEnvironment = await resolveCurrentChatEnvironmentPromptInput(context);
|
|
23
|
-
if (!chatEnvironment)
|
|
24
|
-
return [];
|
|
25
|
-
const channel = resolveCurrentChatPromptChannel(String(chatEnvironment.channel || "")
|
|
26
|
-
.trim()
|
|
27
|
-
.toLowerCase());
|
|
28
|
-
if (!channel)
|
|
29
|
-
return [];
|
|
30
|
-
return [CHAT_CHANNEL_PROMPTS[channel]].filter(Boolean);
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* 构建 chat service 注入到 session 的 system 文本。
|
|
34
|
-
*/
|
|
35
|
-
export async function buildChatServiceSystem(context) {
|
|
36
|
-
return [
|
|
37
|
-
CHAT_SERVICE_PROMPT,
|
|
38
|
-
await buildCurrentChatEnvironmentPrompt(context),
|
|
39
|
-
...(await buildCurrentChannelPrompts(context)),
|
|
40
|
-
]
|
|
41
|
-
.filter(Boolean)
|
|
42
|
-
.join("\n\n");
|
|
43
|
-
}
|
|
44
|
-
//# sourceMappingURL=ChatServiceSystem.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatServiceSystem.js","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/ChatServiceSystem.ts"],"names":[],"mappings":"AASA,OAAO,EACL,iCAAiC,EACjC,wCAAwC,GACzC,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,mBAAmB,EACnB,0BAA0B,EAC1B,sBAAsB,EACtB,4BAA4B,GAC7B,MAAM,qDAAqD,CAAC;AAE7D,MAAM,oBAAoB,GAAiD;IACzE,QAAQ,EAAE,4BAA4B;IACtC,MAAM,EAAE,0BAA0B;IAClC,EAAE,EAAE,sBAAsB;CAC3B,CAAC;AAEF,SAAS,+BAA+B,CACtC,OAAe;IAEf,IAAI,OAAO,KAAK,UAAU,IAAI,OAAO,KAAK,QAAQ,IAAI,OAAO,KAAK,IAAI,EAAE,CAAC;QACvE,OAAO,OAAO,CAAC;IACjB,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,0BAA0B,CAC9C,OAAqB;IAErB,MAAM,eAAe,GAAG,MAAM,wCAAwC,CAAC,OAAO,CAAC,CAAC;IAChF,IAAI,CAAC,eAAe;QAAE,OAAO,EAAE,CAAC;IAChC,MAAM,OAAO,GAAG,+BAA+B,CAC7C,MAAM,CAAC,eAAe,CAAC,OAAO,IAAI,EAAE,CAAC;SAClC,IAAI,EAAE;SACN,WAAW,EAAE,CACjB,CAAC;IACF,IAAI,CAAC,OAAO;QAAE,OAAO,EAAE,CAAC;IACxB,OAAO,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;AACzD,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAC1C,OAAqB;IAErB,OAAO;QACL,mBAAmB;QACnB,MAAM,iCAAiC,CAAC,OAAO,CAAC;QAChD,GAAG,CAAC,MAAM,0BAA0B,CAAC,OAAO,CAAC,CAAC;KAC/C;SACE,MAAM,CAAC,OAAO,CAAC;SACf,IAAI,CAAC,MAAM,CAAC,CAAC;AAClB,CAAC"}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ChatSession:chat 专用 Executor 实现。
|
|
3
|
-
*
|
|
4
|
-
* 关键点(中文)
|
|
5
|
-
* - ChatSession 在实例化时持有自己的 context composer 实例。
|
|
6
|
-
* - chat 当前 turn 的 step 合并/step 回发状态都绑定在 Session 自身,不再新增 `runChat` 一层入口。
|
|
7
|
-
* - 外层仍只调用标准 `run(...)`;chat 语义由 ChatSession 内部收敛。
|
|
8
|
-
*/
|
|
9
|
-
import type { LanguageModel, Tool } from "ai";
|
|
10
|
-
import { Executor } from "../../../../session/Executor.js";
|
|
11
|
-
import type { SessionHistoryComposer } from "../../../../session/composer/history/SessionHistoryComposer.js";
|
|
12
|
-
import type { SessionHistoryStore } from "../../../../session/store/history/SessionHistoryStore.js";
|
|
13
|
-
import type { SessionCompactionComposer } from "../../../../session/composer/compaction/SessionCompactionComposer.js";
|
|
14
|
-
import type { SessionSystemComposer } from "../../../../session/composer/system/SessionSystemComposer.js";
|
|
15
|
-
import type { ChatSessionContextComposer } from "../../../../service/builtins/chat/runtime/ChatSessionContextComposer.js";
|
|
16
|
-
import type { Logger } from "../../../../utils/logger/Logger.js";
|
|
17
|
-
import type { SessionRunResult } from "../../../../session/types/SessionRun.js";
|
|
18
|
-
import type { ChatSessionTurnState } from "../../../../service/builtins/chat/runtime/ChatSessionTypes.js";
|
|
19
|
-
type ChatSessionOptions = {
|
|
20
|
-
/**
|
|
21
|
-
* 当前会话 ID。
|
|
22
|
-
*/
|
|
23
|
-
sessionId: string;
|
|
24
|
-
/**
|
|
25
|
-
* 当前 session 的 history store。
|
|
26
|
-
*/
|
|
27
|
-
historyStore: SessionHistoryStore;
|
|
28
|
-
/**
|
|
29
|
-
* 当前 session 的 history composer。
|
|
30
|
-
*/
|
|
31
|
-
historyComposer: SessionHistoryComposer;
|
|
32
|
-
/**
|
|
33
|
-
* 读取当前 session 使用的模型实例。
|
|
34
|
-
*/
|
|
35
|
-
getModel: () => LanguageModel | undefined;
|
|
36
|
-
/**
|
|
37
|
-
* 统一日志器。
|
|
38
|
-
*/
|
|
39
|
-
logger: Logger;
|
|
40
|
-
/**
|
|
41
|
-
* 当前 session 对应的 compaction Composer。
|
|
42
|
-
*/
|
|
43
|
-
compactionComposer: SessionCompactionComposer;
|
|
44
|
-
/**
|
|
45
|
-
* 当前 session 对应的 system Composer。
|
|
46
|
-
*/
|
|
47
|
-
systemComposer: SessionSystemComposer;
|
|
48
|
-
/**
|
|
49
|
-
* 获取当前可用工具集合。
|
|
50
|
-
*/
|
|
51
|
-
getTools: () => Record<string, Tool>;
|
|
52
|
-
/**
|
|
53
|
-
* 当前 session 绑定的 chat context composer。
|
|
54
|
-
*/
|
|
55
|
-
contextComposer: ChatSessionContextComposer;
|
|
56
|
-
/**
|
|
57
|
-
* session 更新后的异步回调。
|
|
58
|
-
*/
|
|
59
|
-
runAfterSessionUpdated?: (sessionId: string) => Promise<void>;
|
|
60
|
-
};
|
|
61
|
-
/**
|
|
62
|
-
* Chat 专用 Session。
|
|
63
|
-
*/
|
|
64
|
-
export declare class ChatSession extends Executor {
|
|
65
|
-
/**
|
|
66
|
-
* ChatSession 持有的 composer 实例。
|
|
67
|
-
*/
|
|
68
|
-
readonly contextComposer: ChatSessionContextComposer;
|
|
69
|
-
private activeTurnState;
|
|
70
|
-
constructor(options: ChatSessionOptions);
|
|
71
|
-
/**
|
|
72
|
-
* 读取当前绑定的 chat turn 状态。
|
|
73
|
-
*/
|
|
74
|
-
getTurnState(): ChatSessionTurnState | null;
|
|
75
|
-
/**
|
|
76
|
-
* 处理一次 assistant step 回发。
|
|
77
|
-
*
|
|
78
|
-
* 关键点(中文)
|
|
79
|
-
* - step 持久化由基类 `Session.run` 先完成。
|
|
80
|
-
* - 这里仅负责把当前 turn 绑定的外部回发钩子继续调出去。
|
|
81
|
-
*/
|
|
82
|
-
private readonly forwardAssistantStep;
|
|
83
|
-
/**
|
|
84
|
-
* 运行当前 chat session 的一次请求。
|
|
85
|
-
*
|
|
86
|
-
* 关键点(中文)
|
|
87
|
-
* - 外层继续走统一的内部执行入口。
|
|
88
|
-
* - ChatSession 只是在 run 生命周期里临时绑定 turn 状态给自己的 composer。
|
|
89
|
-
*/
|
|
90
|
-
run(params: {
|
|
91
|
-
query: string;
|
|
92
|
-
onStepCallback?: ChatSessionTurnState["onStepCallback"];
|
|
93
|
-
onAssistantStepCallback?: ChatSessionTurnState["onAssistantStepCallback"];
|
|
94
|
-
}): Promise<SessionRunResult>;
|
|
95
|
-
}
|
|
96
|
-
export {};
|
|
97
|
-
//# sourceMappingURL=ChatSession.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatSession.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/ChatSession.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,IAAI,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAClG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gDAAgD,CAAC;AAC1F,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2DAA2D,CAAC;AAC3G,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mDAAmD,CAAC;AAC/F,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,+DAA+D,CAAC;AAChH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAEvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qDAAqD,CAAC;AAEhG,KAAK,kBAAkB,GAAG;IACxB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,YAAY,EAAE,mBAAmB,CAAC;IAElC;;OAEG;IACH,eAAe,EAAE,sBAAsB,CAAC;IAExC;;OAEG;IACH,QAAQ,EAAE,MAAM,aAAa,GAAG,SAAS,CAAC;IAE1C;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,kBAAkB,EAAE,yBAAyB,CAAC;IAE9C;;OAEG;IACH,cAAc,EAAE,qBAAqB,CAAC;IAEtC;;OAEG;IACH,QAAQ,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IAErC;;OAEG;IACH,eAAe,EAAE,0BAA0B,CAAC;IAE5C;;OAEG;IACH,sBAAsB,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC/D,CAAC;AAEF;;GAEG;AACH,qBAAa,WAAY,SAAQ,QAAQ;IACvC;;OAEG;IACH,QAAQ,CAAC,eAAe,EAAE,0BAA0B,CAAC;IAErD,OAAO,CAAC,eAAe,CAAqC;gBAEhD,OAAO,EAAE,kBAAkB;IAmBvC;;OAEG;IACH,YAAY,IAAI,oBAAoB,GAAG,IAAI;IAI3C;;;;;;OAMG;IACH,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAMnC;IAEF;;;;;;OAMG;IACY,GAAG,CAAC,MAAM,EAAE;QACzB,KAAK,EAAE,MAAM,CAAC;QACd,cAAc,CAAC,EAAE,oBAAoB,CAAC,gBAAgB,CAAC,CAAC;QACxD,uBAAuB,CAAC,EAAE,oBAAoB,CAAC,yBAAyB,CAAC,CAAC;KAC3E,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAmB9B"}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ChatSession:chat 专用 Executor 实现。
|
|
3
|
-
*
|
|
4
|
-
* 关键点(中文)
|
|
5
|
-
* - ChatSession 在实例化时持有自己的 context composer 实例。
|
|
6
|
-
* - chat 当前 turn 的 step 合并/step 回发状态都绑定在 Session 自身,不再新增 `runChat` 一层入口。
|
|
7
|
-
* - 外层仍只调用标准 `run(...)`;chat 语义由 ChatSession 内部收敛。
|
|
8
|
-
*/
|
|
9
|
-
import { Executor } from "../../../../session/Executor.js";
|
|
10
|
-
/**
|
|
11
|
-
* Chat 专用 Session。
|
|
12
|
-
*/
|
|
13
|
-
export class ChatSession extends Executor {
|
|
14
|
-
/**
|
|
15
|
-
* ChatSession 持有的 composer 实例。
|
|
16
|
-
*/
|
|
17
|
-
contextComposer;
|
|
18
|
-
activeTurnState = null;
|
|
19
|
-
constructor(options) {
|
|
20
|
-
const contextComposer = options.contextComposer;
|
|
21
|
-
super({
|
|
22
|
-
sessionId: options.sessionId,
|
|
23
|
-
historyStore: options.historyStore,
|
|
24
|
-
historyComposer: options.historyComposer,
|
|
25
|
-
getModel: options.getModel,
|
|
26
|
-
logger: options.logger,
|
|
27
|
-
compactionComposer: options.compactionComposer,
|
|
28
|
-
systemComposer: options.systemComposer,
|
|
29
|
-
getTools: options.getTools,
|
|
30
|
-
contextComposer,
|
|
31
|
-
...(options.runAfterSessionUpdated
|
|
32
|
-
? { runAfterSessionUpdated: options.runAfterSessionUpdated }
|
|
33
|
-
: {}),
|
|
34
|
-
});
|
|
35
|
-
this.contextComposer = contextComposer;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* 读取当前绑定的 chat turn 状态。
|
|
39
|
-
*/
|
|
40
|
-
getTurnState() {
|
|
41
|
-
return this.activeTurnState;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* 处理一次 assistant step 回发。
|
|
45
|
-
*
|
|
46
|
-
* 关键点(中文)
|
|
47
|
-
* - step 持久化由基类 `Session.run` 先完成。
|
|
48
|
-
* - 这里仅负责把当前 turn 绑定的外部回发钩子继续调出去。
|
|
49
|
-
*/
|
|
50
|
-
forwardAssistantStep = async (step) => {
|
|
51
|
-
const callback = this.activeTurnState?.onAssistantStepCallback;
|
|
52
|
-
if (typeof callback !== "function")
|
|
53
|
-
return;
|
|
54
|
-
await callback(step);
|
|
55
|
-
};
|
|
56
|
-
/**
|
|
57
|
-
* 运行当前 chat session 的一次请求。
|
|
58
|
-
*
|
|
59
|
-
* 关键点(中文)
|
|
60
|
-
* - 外层继续走统一的内部执行入口。
|
|
61
|
-
* - ChatSession 只是在 run 生命周期里临时绑定 turn 状态给自己的 composer。
|
|
62
|
-
*/
|
|
63
|
-
async run(params) {
|
|
64
|
-
this.activeTurnState = {
|
|
65
|
-
...(typeof params.onStepCallback === "function"
|
|
66
|
-
? { onStepCallback: params.onStepCallback }
|
|
67
|
-
: {}),
|
|
68
|
-
...(typeof params.onAssistantStepCallback === "function"
|
|
69
|
-
? { onAssistantStepCallback: params.onAssistantStepCallback }
|
|
70
|
-
: {}),
|
|
71
|
-
};
|
|
72
|
-
try {
|
|
73
|
-
return await super.run({
|
|
74
|
-
query: params.query,
|
|
75
|
-
onStepCallback: params.onStepCallback,
|
|
76
|
-
onAssistantStepCallback: this.forwardAssistantStep,
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
finally {
|
|
80
|
-
this.activeTurnState = null;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
//# sourceMappingURL=ChatSession.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatSession.js","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/ChatSession.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AA+DhD;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,QAAQ;IACvC;;OAEG;IACM,eAAe,CAA6B;IAE7C,eAAe,GAAgC,IAAI,CAAC;IAE5D,YAAY,OAA2B;QACrC,MAAM,eAAe,GAAG,OAAO,CAAC,eAAe,CAAC;QAChD,KAAK,CAAC;YACJ,SAAS,EAAE,OAAO,CAAC,SAAS;YAC5B,YAAY,EAAE,OAAO,CAAC,YAAY;YAClC,eAAe,EAAE,OAAO,CAAC,eAAe;YACxC,QAAQ,EAAE,OAAO,CAAC,QAAQ;YAC1B,MAAM,EAAE,OAAO,CAAC,MAAM;YACtB,kBAAkB,EAAE,OAAO,CAAC,kBAAkB;YAC9C,cAAc,EAAE,OAAO,CAAC,cAAc;YACtC,QAAQ,EAAE,OAAO,CAAC,QAAQ;YAC1B,eAAe;YACf,GAAG,CAAC,OAAO,CAAC,sBAAsB;gBAChC,CAAC,CAAC,EAAE,sBAAsB,EAAE,OAAO,CAAC,sBAAsB,EAAE;gBAC5D,CAAC,CAAC,EAAE,CAAC;SACR,CAAC,CAAC;QACH,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;IACzC,CAAC;IAED;;OAEG;IACH,YAAY;QACV,OAAO,IAAI,CAAC,eAAe,CAAC;IAC9B,CAAC;IAED;;;;;;OAMG;IACc,oBAAoB,GAAiC,KAAK,EACzE,IAAI,EACW,EAAE;QACjB,MAAM,QAAQ,GAAG,IAAI,CAAC,eAAe,EAAE,uBAAuB,CAAC;QAC/D,IAAI,OAAO,QAAQ,KAAK,UAAU;YAAE,OAAO;QAC3C,MAAM,QAAQ,CAAC,IAAI,CAAC,CAAC;IACvB,CAAC,CAAC;IAEF;;;;;;OAMG;IACM,KAAK,CAAC,GAAG,CAAC,MAIlB;QACC,IAAI,CAAC,eAAe,GAAG;YACrB,GAAG,CAAC,OAAO,MAAM,CAAC,cAAc,KAAK,UAAU;gBAC7C,CAAC,CAAC,EAAE,cAAc,EAAE,MAAM,CAAC,cAAc,EAAE;gBAC3C,CAAC,CAAC,EAAE,CAAC;YACP,GAAG,CAAC,OAAO,MAAM,CAAC,uBAAuB,KAAK,UAAU;gBACtD,CAAC,CAAC,EAAE,uBAAuB,EAAE,MAAM,CAAC,uBAAuB,EAAE;gBAC7D,CAAC,CAAC,EAAE,CAAC;SACR,CAAC;QACF,IAAI,CAAC;YACH,OAAO,MAAM,KAAK,CAAC,GAAG,CAAC;gBACrB,KAAK,EAAE,MAAM,CAAC,KAAK;gBACnB,cAAc,EAAE,MAAM,CAAC,cAAc;gBACrC,uBAAuB,EAAE,IAAI,CAAC,oBAAoB;aACnD,CAAC,CAAC;QACL,CAAC;gBAAS,CAAC;YACT,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;QAC9B,CAAC;IACH,CAAC;CACF"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ChatSessionContextComposer:chat 专用 context composer。
|
|
3
|
-
*
|
|
4
|
-
* 关键点(中文)
|
|
5
|
-
* - 由 chat 层在 Session 实例化时注入,不再依赖 run 时层层传 callback。
|
|
6
|
-
* - step 合并消息读取自 ChatSession 当前绑定的 turn context。
|
|
7
|
-
* - 其余能力(tools / fallback assistant)继续复用默认本地实现。
|
|
8
|
-
*/
|
|
9
|
-
import type { ModelMessage, Tool } from "ai";
|
|
10
|
-
import { LocalSessionContextComposer } from "../../../../session/composer/context/LocalSessionContextComposer.js";
|
|
11
|
-
import type { SessionMessageV1 } from "../../../../session/types/SessionMessages.js";
|
|
12
|
-
import type { SessionSystemMessage } from "../../../../session/types/SessionPrompts.js";
|
|
13
|
-
import type { ChatSessionTurnState } from "../../../../service/builtins/chat/runtime/ChatSessionTypes.js";
|
|
14
|
-
type ChatSessionContextComposerOptions = {
|
|
15
|
-
/**
|
|
16
|
-
* 当前 session 标识。
|
|
17
|
-
*/
|
|
18
|
-
sessionId: string;
|
|
19
|
-
/**
|
|
20
|
-
* 读取当前可用工具集合。
|
|
21
|
-
*/
|
|
22
|
-
getTools: () => Record<string, Tool>;
|
|
23
|
-
/**
|
|
24
|
-
* 读取当前已绑定的 chat turn 状态。
|
|
25
|
-
*/
|
|
26
|
-
getTurnState: () => ChatSessionTurnState | null;
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* ChatSession 专用 context composer。
|
|
30
|
-
*/
|
|
31
|
-
export declare class ChatSessionContextComposer extends LocalSessionContextComposer {
|
|
32
|
-
private readonly getTurnState;
|
|
33
|
-
constructor(options: ChatSessionContextComposerOptions);
|
|
34
|
-
createPrepareStepHandler(input: {
|
|
35
|
-
system: SessionSystemMessage[];
|
|
36
|
-
appendMergedUserMessages: (messages: SessionMessageV1[]) => Promise<ModelMessage[]>;
|
|
37
|
-
}): (input: {
|
|
38
|
-
messages?: ModelMessage[];
|
|
39
|
-
}) => Promise<{
|
|
40
|
-
system: SessionSystemMessage[];
|
|
41
|
-
messages?: ModelMessage[];
|
|
42
|
-
}>;
|
|
43
|
-
}
|
|
44
|
-
export {};
|
|
45
|
-
//# sourceMappingURL=ChatSessionContextComposer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatSessionContextComposer.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/ChatSessionContextComposer.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,IAAI,CAAC;AAE7C,OAAO,EAAE,2BAA2B,EAAE,MAAM,0DAA0D,CAAC;AACvG,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qDAAqD,CAAC;AAEhG,KAAK,iCAAiC,GAAG;IACvC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,QAAQ,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IAErC;;OAEG;IACH,YAAY,EAAE,MAAM,oBAAoB,GAAG,IAAI,CAAC;CACjD,CAAC;AAEF;;GAEG;AACH,qBAAa,0BAA2B,SAAQ,2BAA2B;IACzE,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAoD;gBAErE,OAAO,EAAE,iCAAiC;IAQtD,wBAAwB,CACtB,KAAK,EAAE;QACL,MAAM,EAAE,oBAAoB,EAAE,CAAC;QAC/B,wBAAwB,EAAE,CACxB,QAAQ,EAAE,gBAAgB,EAAE,KACzB,OAAO,CAAC,YAAY,EAAE,CAAC,CAAC;KAC9B,GACA,CAAC,KAAK,EAAE;QAAE,QAAQ,CAAC,EAAE,YAAY,EAAE,CAAA;KAAE,KAAK,OAAO,CAAC;QACnD,MAAM,EAAE,oBAAoB,EAAE,CAAC;QAC/B,QAAQ,CAAC,EAAE,YAAY,EAAE,CAAC;KAC3B,CAAC;CAgDH"}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ChatSessionContextComposer:chat 专用 context composer。
|
|
3
|
-
*
|
|
4
|
-
* 关键点(中文)
|
|
5
|
-
* - 由 chat 层在 Session 实例化时注入,不再依赖 run 时层层传 callback。
|
|
6
|
-
* - step 合并消息读取自 ChatSession 当前绑定的 turn context。
|
|
7
|
-
* - 其余能力(tools / fallback assistant)继续复用默认本地实现。
|
|
8
|
-
*/
|
|
9
|
-
import { drainInjectedUserMessages } from "../../../../session/SessionRunScope.js";
|
|
10
|
-
import { LocalSessionContextComposer } from "../../../../session/composer/context/LocalSessionContextComposer.js";
|
|
11
|
-
/**
|
|
12
|
-
* ChatSession 专用 context composer。
|
|
13
|
-
*/
|
|
14
|
-
export class ChatSessionContextComposer extends LocalSessionContextComposer {
|
|
15
|
-
getTurnState;
|
|
16
|
-
constructor(options) {
|
|
17
|
-
super({
|
|
18
|
-
sessionId: options.sessionId,
|
|
19
|
-
getTools: options.getTools,
|
|
20
|
-
});
|
|
21
|
-
this.getTurnState = options.getTurnState;
|
|
22
|
-
}
|
|
23
|
-
createPrepareStepHandler(input) {
|
|
24
|
-
return async ({ messages, }) => {
|
|
25
|
-
const injectedMessages = drainInjectedUserMessages();
|
|
26
|
-
const turnState = this.getTurnState();
|
|
27
|
-
const onStepCallback = turnState?.onStepCallback;
|
|
28
|
-
if (typeof onStepCallback !== "function" &&
|
|
29
|
-
injectedMessages.length === 0) {
|
|
30
|
-
return { system: input.system };
|
|
31
|
-
}
|
|
32
|
-
const incomingMessages = Array.isArray(messages)
|
|
33
|
-
? messages
|
|
34
|
-
: [];
|
|
35
|
-
let outMessages;
|
|
36
|
-
try {
|
|
37
|
-
const mergedMessages = typeof onStepCallback === "function"
|
|
38
|
-
? await onStepCallback()
|
|
39
|
-
: [];
|
|
40
|
-
const mergedWithInjected = [
|
|
41
|
-
...injectedMessages,
|
|
42
|
-
...(Array.isArray(mergedMessages) ? mergedMessages : []),
|
|
43
|
-
];
|
|
44
|
-
const mergedModelMessages = await input.appendMergedUserMessages(mergedWithInjected);
|
|
45
|
-
if (mergedModelMessages.length > 0) {
|
|
46
|
-
// 关键点(中文):保持当前 step 顺序,仅把新增 chat user 消息追加到末尾。
|
|
47
|
-
outMessages = [...incomingMessages, ...mergedModelMessages];
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
catch {
|
|
51
|
-
// ignore merge hook failures
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
system: input.system,
|
|
55
|
-
...(Array.isArray(outMessages) ? { messages: outMessages } : {}),
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
//# sourceMappingURL=ChatSessionContextComposer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatSessionContextComposer.js","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/ChatSessionContextComposer.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,2BAA2B,EAAE,MAAM,0DAA0D,CAAC;AAsBvG;;GAEG;AACH,MAAM,OAAO,0BAA2B,SAAQ,2BAA2B;IACxD,YAAY,CAAoD;IAEjF,YAAY,OAA0C;QACpD,KAAK,CAAC;YACJ,SAAS,EAAE,OAAO,CAAC,SAAS;YAC5B,QAAQ,EAAE,OAAO,CAAC,QAAQ;SAC3B,CAAC,CAAC;QACH,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;IAC3C,CAAC;IAED,wBAAwB,CACtB,KAKC;QAKD,OAAO,KAAK,EAAE,EACZ,QAAQ,GAGT,EAGE,EAAE;YACH,MAAM,gBAAgB,GAAG,yBAAyB,EAAE,CAAC;YACrD,MAAM,SAAS,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;YACtC,MAAM,cAAc,GAAG,SAAS,EAAE,cAAc,CAAC;YACjD,IACE,OAAO,cAAc,KAAK,UAAU;gBACpC,gBAAgB,CAAC,MAAM,KAAK,CAAC,EAC7B,CAAC;gBACD,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC;YAClC,CAAC;YAED,MAAM,gBAAgB,GAAmB,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC;gBAC9D,CAAC,CAAC,QAAQ;gBACV,CAAC,CAAC,EAAE,CAAC;YACP,IAAI,WAAuC,CAAC;YAC5C,IAAI,CAAC;gBACH,MAAM,cAAc,GAClB,OAAO,cAAc,KAAK,UAAU;oBAClC,CAAC,CAAC,MAAM,cAAc,EAAE;oBACxB,CAAC,CAAC,EAAE,CAAC;gBACT,MAAM,kBAAkB,GAAG;oBACzB,GAAG,gBAAgB;oBACnB,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC;iBACzD,CAAC;gBACF,MAAM,mBAAmB,GAAG,MAAM,KAAK,CAAC,wBAAwB,CAC9D,kBAAkB,CACnB,CAAC;gBACF,IAAI,mBAAmB,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACnC,+CAA+C;oBAC/C,WAAW,GAAG,CAAC,GAAG,gBAAgB,EAAE,GAAG,mBAAmB,CAAC,CAAC;gBAC9D,CAAC;YACH,CAAC;YAAC,MAAM,CAAC;gBACP,6BAA6B;YAC/B,CAAC;YACD,OAAO;gBACL,MAAM,EAAE,KAAK,CAAC,MAAM;gBACpB,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;aACjE,CAAC;QACJ,CAAC,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ChatSessionDelete:按 sessionId 彻底删除 chat 会话数据。
|
|
3
|
-
*
|
|
4
|
-
* 关键点(中文)
|
|
5
|
-
* - 删除路由映射(`.downcity/channel/meta.json`)
|
|
6
|
-
* - 删除 chat 审计目录(`.downcity/chat/<sessionId>/`)
|
|
7
|
-
* - 删除 core session 目录(`.downcity/session/<sessionId>/`)
|
|
8
|
-
* - 清理运行中 agent 与队列,避免残留任务继续执行
|
|
9
|
-
*/
|
|
10
|
-
import type { AgentContext } from "../../../../core/AgentContextTypes.js";
|
|
11
|
-
/**
|
|
12
|
-
* 彻底删除一个 chat session。
|
|
13
|
-
*
|
|
14
|
-
* 关键点(中文)
|
|
15
|
-
* - 幂等:目标不存在时返回 success + deleted=false,避免上层重试复杂化。
|
|
16
|
-
*/
|
|
17
|
-
export declare function deleteChatSessionById(params: {
|
|
18
|
-
context: AgentContext;
|
|
19
|
-
sessionId: string;
|
|
20
|
-
}): Promise<{
|
|
21
|
-
success: boolean;
|
|
22
|
-
sessionId: string;
|
|
23
|
-
deleted: boolean;
|
|
24
|
-
removedMeta: boolean;
|
|
25
|
-
removedChatDir: boolean;
|
|
26
|
-
removedSessionDir: boolean;
|
|
27
|
-
error?: string;
|
|
28
|
-
}>;
|
|
29
|
-
//# sourceMappingURL=ChatSessionDelete.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatSessionDelete.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/ChatSessionDelete.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAQhE;;;;;GAKG;AACH,wBAAsB,qBAAqB,CAAC,MAAM,EAAE;IAClD,OAAO,EAAE,YAAY,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;CACnB,GAAG,OAAO,CAAC;IACV,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,OAAO,CAAC;IACrB,cAAc,EAAE,OAAO,CAAC;IACxB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC,CAyDD"}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ChatSessionDelete:按 sessionId 彻底删除 chat 会话数据。
|
|
3
|
-
*
|
|
4
|
-
* 关键点(中文)
|
|
5
|
-
* - 删除路由映射(`.downcity/channel/meta.json`)
|
|
6
|
-
* - 删除 chat 审计目录(`.downcity/chat/<sessionId>/`)
|
|
7
|
-
* - 删除 core session 目录(`.downcity/session/<sessionId>/`)
|
|
8
|
-
* - 清理运行中 agent 与队列,避免残留任务继续执行
|
|
9
|
-
*/
|
|
10
|
-
import fs from "fs-extra";
|
|
11
|
-
import path from "node:path";
|
|
12
|
-
import { resolveChatQueueStore } from "../../../../service/builtins/chat/runtime/ChatQueue.js";
|
|
13
|
-
import { removeChatMetaBySessionId } from "../../../../service/builtins/chat/runtime/ChatMetaStore.js";
|
|
14
|
-
function normalizeSessionId(sessionId) {
|
|
15
|
-
return String(sessionId || "").trim();
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* 彻底删除一个 chat session。
|
|
19
|
-
*
|
|
20
|
-
* 关键点(中文)
|
|
21
|
-
* - 幂等:目标不存在时返回 success + deleted=false,避免上层重试复杂化。
|
|
22
|
-
*/
|
|
23
|
-
export async function deleteChatSessionById(params) {
|
|
24
|
-
const sessionId = normalizeSessionId(params.sessionId);
|
|
25
|
-
if (!sessionId) {
|
|
26
|
-
return {
|
|
27
|
-
success: false,
|
|
28
|
-
sessionId: "",
|
|
29
|
-
deleted: false,
|
|
30
|
-
removedMeta: false,
|
|
31
|
-
removedChatDir: false,
|
|
32
|
-
removedSessionDir: false,
|
|
33
|
-
error: "Missing sessionId",
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
try {
|
|
37
|
-
// 关键点(中文):先停执行,再删文件,避免删除过程中仍有任务写入。
|
|
38
|
-
params.context.session.get(sessionId).clearExecutor();
|
|
39
|
-
resolveChatQueueStore(params.context).clear(sessionId);
|
|
40
|
-
const removedMetaResult = await removeChatMetaBySessionId({
|
|
41
|
-
context: params.context,
|
|
42
|
-
sessionId,
|
|
43
|
-
});
|
|
44
|
-
const chatDir = path.join(params.context.rootPath, ".downcity", "chat", sessionId);
|
|
45
|
-
const sessionDir = params.context.paths.getDowncitySessionDirPath(sessionId);
|
|
46
|
-
const hadChatDir = await fs.pathExists(chatDir);
|
|
47
|
-
const hadSessionDir = await fs.pathExists(sessionDir);
|
|
48
|
-
if (hadChatDir) {
|
|
49
|
-
await fs.remove(chatDir);
|
|
50
|
-
}
|
|
51
|
-
if (hadSessionDir) {
|
|
52
|
-
await fs.remove(sessionDir);
|
|
53
|
-
}
|
|
54
|
-
const deleted = removedMetaResult.removed || hadChatDir || hadSessionDir;
|
|
55
|
-
return {
|
|
56
|
-
success: true,
|
|
57
|
-
sessionId,
|
|
58
|
-
deleted,
|
|
59
|
-
removedMeta: removedMetaResult.removed,
|
|
60
|
-
removedChatDir: hadChatDir,
|
|
61
|
-
removedSessionDir: hadSessionDir,
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
catch (error) {
|
|
65
|
-
return {
|
|
66
|
-
success: false,
|
|
67
|
-
sessionId,
|
|
68
|
-
deleted: false,
|
|
69
|
-
removedMeta: false,
|
|
70
|
-
removedChatDir: false,
|
|
71
|
-
removedSessionDir: false,
|
|
72
|
-
error: String(error),
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
//# sourceMappingURL=ChatSessionDelete.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatSessionDelete.js","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/ChatSessionDelete.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,MAAM,UAAU,CAAC;AAC1B,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAE,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AACrF,OAAO,EAAE,yBAAyB,EAAE,MAAM,kDAAkD,CAAC;AAE7F,SAAS,kBAAkB,CAAC,SAAiB;IAC3C,OAAO,MAAM,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;AACxC,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,qBAAqB,CAAC,MAG3C;IASC,MAAM,SAAS,GAAG,kBAAkB,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;IACvD,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,OAAO;YACL,OAAO,EAAE,KAAK;YACd,SAAS,EAAE,EAAE;YACb,OAAO,EAAE,KAAK;YACd,WAAW,EAAE,KAAK;YAClB,cAAc,EAAE,KAAK;YACrB,iBAAiB,EAAE,KAAK;YACxB,KAAK,EAAE,mBAAmB;SAC3B,CAAC;IACJ,CAAC;IAED,IAAI,CAAC;QACH,mCAAmC;QACnC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,aAAa,EAAE,CAAC;QACtD,qBAAqB,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QAEvD,MAAM,iBAAiB,GAAG,MAAM,yBAAyB,CAAC;YACxD,OAAO,EAAE,MAAM,CAAC,OAAO;YACvB,SAAS;SACV,CAAC,CAAC;QAEH,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,QAAQ,EAAE,WAAW,EAAE,MAAM,EAAE,SAAS,CAAC,CAAC;QACnF,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,yBAAyB,CAAC,SAAS,CAAC,CAAC;QAC7E,MAAM,UAAU,GAAG,MAAM,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;QAChD,MAAM,aAAa,GAAG,MAAM,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;QACtD,IAAI,UAAU,EAAE,CAAC;YACf,MAAM,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAC3B,CAAC;QACD,IAAI,aAAa,EAAE,CAAC;YAClB,MAAM,EAAE,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QAC9B,CAAC;QAED,MAAM,OAAO,GACX,iBAAiB,CAAC,OAAO,IAAI,UAAU,IAAI,aAAa,CAAC;QAE3D,OAAO;YACL,OAAO,EAAE,IAAI;YACb,SAAS;YACT,OAAO;YACP,WAAW,EAAE,iBAAiB,CAAC,OAAO;YACtC,cAAc,EAAE,UAAU;YAC1B,iBAAiB,EAAE,aAAa;SACjC,CAAC;IACJ,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO;YACL,OAAO,EAAE,KAAK;YACd,SAAS;YACT,OAAO,EAAE,KAAK;YACd,WAAW,EAAE,KAAK;YAClB,cAAc,EAAE,KAAK;YACrB,iBAAiB,EAAE,KAAK;YACxB,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC;SACrB,CAAC;IACJ,CAAC;AACH,CAAC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ChatSession 相关类型定义。
|
|
3
|
-
*
|
|
4
|
-
* 关键点(中文)
|
|
5
|
-
* - Chat 专用 session 会把“队列消息合并 / step 回发”收敛到 chat 层自身。
|
|
6
|
-
* - 普通 Session 仍可复用基础 `run / append*` 能力,不强耦合 chat 语义。
|
|
7
|
-
*/
|
|
8
|
-
import type { SessionUserMessageV1 } from "../../../../session/types/SessionMessages.js";
|
|
9
|
-
import type { SessionAssistantStepCallback } from "../../../../session/types/SessionRun.js";
|
|
10
|
-
/**
|
|
11
|
-
* ChatSession 单次 turn 绑定的运行态。
|
|
12
|
-
*/
|
|
13
|
-
export interface ChatSessionTurnState {
|
|
14
|
-
/**
|
|
15
|
-
* 提取本轮 step 边界新增的 user 消息。
|
|
16
|
-
*
|
|
17
|
-
* 关键点(中文)
|
|
18
|
-
* - 该回调用于把同一 chat lane 后续到达的消息并入当前推理。
|
|
19
|
-
* - 若未提供,则表示当前 turn 不启用 step 合并。
|
|
20
|
-
*/
|
|
21
|
-
onStepCallback?: () => Promise<SessionUserMessageV1[]>;
|
|
22
|
-
/**
|
|
23
|
-
* assistant step 回发钩子。
|
|
24
|
-
*
|
|
25
|
-
* 关键点(中文)
|
|
26
|
-
* - ChatSession 内部会先完成 step 持久化,再调用该钩子做真实渠道发送。
|
|
27
|
-
*/
|
|
28
|
-
onAssistantStepCallback?: SessionAssistantStepCallback;
|
|
29
|
-
}
|
|
30
|
-
//# sourceMappingURL=ChatSessionTypes.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatSessionTypes.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/ChatSessionTypes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,+BAA+B,CAAC;AAElF;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,MAAM,OAAO,CAAC,oBAAoB,EAAE,CAAC,CAAC;IAEvD;;;;;OAKG;IACH,uBAAuB,CAAC,EAAE,4BAA4B,CAAC;CACxD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatSessionTypes.js","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/ChatSessionTypes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Send text to a target chat using chatKey.
|
|
3
|
-
*
|
|
4
|
-
* 设计动机(中文)
|
|
5
|
-
* - Task runner / scheduler 需要在“非当前对话上下文”向指定 chatKey 投递消息
|
|
6
|
-
* - 复用现有 dispatcher 与 chat meta(尤其 QQ 的被动回复依赖 messageId)
|
|
7
|
-
*
|
|
8
|
-
* 注意
|
|
9
|
-
* - 这里是运行时内部能力(不是 tool);tool `chat_contact_send` 也会复用本实现
|
|
10
|
-
*/
|
|
11
|
-
import type { ChatDispatchAction, ChatDispatchChannel } from "../../../../service/builtins/chat/types/ChatDispatcher.js";
|
|
12
|
-
import type { AgentContext } from "../../../../core/AgentContextTypes.js";
|
|
13
|
-
/**
|
|
14
|
-
* 解析实际分发目标。
|
|
15
|
-
*
|
|
16
|
-
* 规则(中文)
|
|
17
|
-
* - 仅使用 service/builtins/chat 维护的 session 路由映射。
|
|
18
|
-
* - 不再支持 legacy chatKey 字符串解析回退。
|
|
19
|
-
*/
|
|
20
|
-
export declare function resolveDispatchTargetByChatKey(params: {
|
|
21
|
-
context: AgentContext;
|
|
22
|
-
chatKey: string;
|
|
23
|
-
}): Promise<{
|
|
24
|
-
channel: ChatDispatchChannel;
|
|
25
|
-
chatId: string;
|
|
26
|
-
chatType?: string;
|
|
27
|
-
messageThreadId?: number;
|
|
28
|
-
messageId?: string;
|
|
29
|
-
} | null>;
|
|
30
|
-
/**
|
|
31
|
-
* 按 chatKey 发送文本到对应平台。
|
|
32
|
-
*
|
|
33
|
-
* 流程(中文)
|
|
34
|
-
* 1) 通过 sessionId 读取映射并定位 channel dispatcher
|
|
35
|
-
* 2) 从 chat meta 回填 chatType/threadId/messageId
|
|
36
|
-
* 3) 合并参数后调用 dispatcher 发送
|
|
37
|
-
*/
|
|
38
|
-
export declare function sendTextByChatKey(params: {
|
|
39
|
-
context: AgentContext;
|
|
40
|
-
chatKey: string;
|
|
41
|
-
text: string;
|
|
42
|
-
replyToMessage?: boolean;
|
|
43
|
-
messageId?: string;
|
|
44
|
-
}): Promise<{
|
|
45
|
-
success: boolean;
|
|
46
|
-
error?: string;
|
|
47
|
-
}>;
|
|
48
|
-
/**
|
|
49
|
-
* 按 chatKey 发送平台动作(typing/react)。
|
|
50
|
-
*
|
|
51
|
-
* 流程(中文)
|
|
52
|
-
* 1) 通过 sessionId 读取映射并定位 channel dispatcher
|
|
53
|
-
* 2) 合并目标元信息与显式参数(显式 messageId 优先)
|
|
54
|
-
* 3) 调用 dispatcher.sendAction
|
|
55
|
-
*/
|
|
56
|
-
export declare function sendActionByChatKey(params: {
|
|
57
|
-
context: AgentContext;
|
|
58
|
-
chatKey: string;
|
|
59
|
-
action: ChatDispatchAction;
|
|
60
|
-
messageId?: string;
|
|
61
|
-
reactionEmoji?: string;
|
|
62
|
-
reactionIsBig?: boolean;
|
|
63
|
-
}): Promise<{
|
|
64
|
-
success: boolean;
|
|
65
|
-
error?: string;
|
|
66
|
-
}>;
|
|
67
|
-
//# sourceMappingURL=ChatkeySend.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatkeySend.d.ts","sourceRoot":"","sources":["../../../../../src/service/builtins/chat/runtime/ChatkeySend.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,KAAK,EACV,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,iDAAiD,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAGhE;;;;;;GAMG;AACH,wBAAsB,8BAA8B,CAAC,MAAM,EAAE;IAC3D,OAAO,EAAE,YAAY,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;CACjB,GAAG,OAAO,CAAC;IACV,OAAO,EAAE,mBAAmB,CAAC;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,IAAI,CAAC,CA8BR;AAED;;;;;;;GAOG;AACH,wBAAsB,iBAAiB,CAAC,MAAM,EAAE;IAC9C,OAAO,EAAE,YAAY,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,OAAO,CAAC;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAkDhD;AAED;;;;;;;GAOG;AACH,wBAAsB,mBAAmB,CAAC,MAAM,EAAE;IAChD,OAAO,EAAE,YAAY,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,kBAAkB,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,GAAG,OAAO,CAAC;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAsChD"}
|