@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
package/src/sdk/AgentSdkTypes.ts
CHANGED
|
@@ -3,17 +3,27 @@
|
|
|
3
3
|
*
|
|
4
4
|
* 关键点(中文)
|
|
5
5
|
* - 这里集中声明 `Agent` / `RemoteAgent` / `Session` 面向外部调用方的稳定接口。
|
|
6
|
-
* - SDK 用户通过显式 `tools` / `
|
|
6
|
+
* - SDK 用户通过显式 `tools` / `plugins` 装配能力,不直接依赖内部 runtime 单例。
|
|
7
7
|
* - 本地/远程 session 运行与基础落盘能力仍是 SDK 主路径。
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import type { LanguageModel, Tool } from "ai";
|
|
11
|
-
import type {
|
|
12
|
-
import type { Plugin } from "@/plugin/types/Plugin.js";
|
|
11
|
+
import type { BasePlugin } from "@/plugin/core/BasePlugin.js";
|
|
13
12
|
import type { AgentPlatformRuntime } from "@/types/runtime/host/AgentHost.js";
|
|
14
13
|
import type { LocalRpcServerHandle } from "@/types/runtime/rpc/LocalRpc.js";
|
|
15
14
|
import type { ServerInstance } from "@/runtime/server/http/Server.js";
|
|
16
|
-
import type {
|
|
15
|
+
import type { SessionMessageV1 } from "@/executor/types/SessionMessages.js";
|
|
16
|
+
import type {
|
|
17
|
+
AgentSessionSubscriber,
|
|
18
|
+
AgentSessionUnsubscribe,
|
|
19
|
+
} from "@/types/sdk/AgentSessionEvent.js";
|
|
20
|
+
import type { AgentSessionPromptInput } from "@/types/sdk/AgentSessionPrompt.js";
|
|
21
|
+
import type { AgentSessionTurnHandle } from "@/types/sdk/AgentSessionTurn.js";
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* SDK Agent 插件装配模式。
|
|
25
|
+
*/
|
|
26
|
+
export type AgentMode = "preset" | "custom";
|
|
17
27
|
|
|
18
28
|
/**
|
|
19
29
|
* 本地 Agent 构造参数。
|
|
@@ -63,42 +73,24 @@ export interface AgentOptions {
|
|
|
63
73
|
model?: LanguageModel;
|
|
64
74
|
|
|
65
75
|
/**
|
|
66
|
-
* 当前 agent
|
|
76
|
+
* 当前 agent 的插件装配模式。
|
|
67
77
|
*
|
|
68
78
|
* 关键点(中文)
|
|
69
|
-
* -
|
|
70
|
-
* - `
|
|
71
|
-
* -
|
|
79
|
+
* - `preset` 会自动装配内建插件集合。
|
|
80
|
+
* - `custom` 只使用显式传入的 `plugins`。
|
|
81
|
+
* - 默认值为 `custom`,避免本地嵌入场景隐式打开额外能力。
|
|
72
82
|
*/
|
|
73
|
-
|
|
83
|
+
mode?: AgentMode;
|
|
74
84
|
|
|
75
85
|
/**
|
|
76
|
-
*
|
|
86
|
+
* 当前 agent 显式持有的插件实例集合。
|
|
77
87
|
*
|
|
78
88
|
* 关键点(中文)
|
|
79
|
-
* -
|
|
80
|
-
* -
|
|
81
|
-
*/
|
|
82
|
-
useBuiltinServices?: boolean;
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* 当前 agent 显式注册的 plugin 定义集合。
|
|
86
|
-
*
|
|
87
|
-
* 关键点(中文)
|
|
88
|
-
* - 这里接收完整 plugin 定义对象,而不是 plugin 名称。
|
|
89
|
-
* - `Agent` 会为当前 SDK 实例创建独立 plugin registry,避免污染全局 runtime。
|
|
89
|
+
* - 这里接收已经实例化好的 `BasePlugin` 对象,而不是 plugin class。
|
|
90
|
+
* - `Agent` 会在构造阶段按名称注册这些实例,并自动绑定到当前 runtime。
|
|
90
91
|
* - 同名 plugin 会直接报错,避免 action / hook / resolve 行为被静默覆盖。
|
|
91
92
|
*/
|
|
92
|
-
plugins?:
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* 是否自动装配全部内建 plugin。
|
|
96
|
-
*
|
|
97
|
-
* 关键点(中文)
|
|
98
|
-
* - 适合 city 这类宿主进程直接 `new Agent(...)` 的场景。
|
|
99
|
-
* - 未开启时,默认只使用显式传入的 `plugins`。
|
|
100
|
-
*/
|
|
101
|
-
useBuiltinPlugins?: boolean;
|
|
93
|
+
plugins?: BasePlugin[];
|
|
102
94
|
|
|
103
95
|
/**
|
|
104
96
|
* 当前 agent 显式注入的平台能力集合。
|
|
@@ -116,9 +108,9 @@ export interface AgentOptions {
|
|
|
116
108
|
* - SDK 不负责默认模型策略,宿主可在这里统一为 session 注入 model 等运行配置。
|
|
117
109
|
* - 若同时传入 `model`,则会先写入默认模型,再执行这里的宿主覆写逻辑。
|
|
118
110
|
* - 该钩子对每个 session 只触发一次,适合做实例级默认装配。
|
|
119
|
-
* - 触发时机可能来自显式 `agent.
|
|
111
|
+
* - 触发时机可能来自显式 `agent.createSession()` / `agent.getSession()`,也可能来自该 session 的首次执行入口。
|
|
120
112
|
*/
|
|
121
|
-
configureSession?: (session:
|
|
113
|
+
configureSession?: (session: AgentSession) => Promise<void> | void;
|
|
122
114
|
}
|
|
123
115
|
|
|
124
116
|
/**
|
|
@@ -145,13 +137,13 @@ export interface AgentStartOptions {
|
|
|
145
137
|
rpc?: boolean;
|
|
146
138
|
|
|
147
139
|
/**
|
|
148
|
-
* 是否启动当前 agent 的
|
|
140
|
+
* 是否启动当前 agent 的 plugins。
|
|
149
141
|
*
|
|
150
142
|
* 关键点(中文)
|
|
151
143
|
* - 默认 `true`。
|
|
152
144
|
* - `false` 适合只需要 session 能力、不希望启动后台能力的嵌入场景。
|
|
153
145
|
*/
|
|
154
|
-
|
|
146
|
+
plugins?: boolean;
|
|
155
147
|
}
|
|
156
148
|
|
|
157
149
|
/**
|
|
@@ -169,9 +161,9 @@ export interface AgentStopResult {
|
|
|
169
161
|
rpcStopped: boolean;
|
|
170
162
|
|
|
171
163
|
/**
|
|
172
|
-
* 本次是否实际停止了
|
|
164
|
+
* 本次是否实际停止了 plugins。
|
|
173
165
|
*/
|
|
174
|
-
|
|
166
|
+
pluginsStopped: boolean;
|
|
175
167
|
}
|
|
176
168
|
|
|
177
169
|
/**
|
|
@@ -189,9 +181,9 @@ export interface AgentStartResult {
|
|
|
189
181
|
rpc?: AgentRpcBinding;
|
|
190
182
|
|
|
191
183
|
/**
|
|
192
|
-
* 当前 agent 是否已启动
|
|
184
|
+
* 当前 agent 是否已启动 plugins。
|
|
193
185
|
*/
|
|
194
|
-
|
|
186
|
+
pluginsStarted: boolean;
|
|
195
187
|
}
|
|
196
188
|
|
|
197
189
|
/**
|
|
@@ -261,6 +253,53 @@ export interface RemoteAgentOptions {
|
|
|
261
253
|
baseUrl: string;
|
|
262
254
|
}
|
|
263
255
|
|
|
256
|
+
/**
|
|
257
|
+
* 新建 session 的输入参数。
|
|
258
|
+
*/
|
|
259
|
+
export interface AgentCreateSessionInput {
|
|
260
|
+
/**
|
|
261
|
+
* 可选显式 sessionId。
|
|
262
|
+
*
|
|
263
|
+
* 关键点(中文)
|
|
264
|
+
* - 传入时表达“创建意图”。
|
|
265
|
+
* - 若该 session 已存在,SDK 应直接报错,而不是静默复用。
|
|
266
|
+
* - 省略时由 SDK 自动生成稳定且不可推导的 sessionId。
|
|
267
|
+
*/
|
|
268
|
+
sessionId?: string;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* Session 列表查询输入。
|
|
273
|
+
*/
|
|
274
|
+
export interface AgentListSessionsInput {
|
|
275
|
+
/**
|
|
276
|
+
* 当前页返回上限。
|
|
277
|
+
*
|
|
278
|
+
* 说明(中文)
|
|
279
|
+
* - 省略时由 SDK 使用默认值。
|
|
280
|
+
* - 建议宿主 UI 明确传入,避免在大量 session 下拉取过多数据。
|
|
281
|
+
*/
|
|
282
|
+
limit?: number;
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* 分页游标。
|
|
286
|
+
*
|
|
287
|
+
* 说明(中文)
|
|
288
|
+
* - 当前使用 SDK 自身生成的透明字符串游标。
|
|
289
|
+
* - 调用方只负责透传,不应自行解析其内部格式。
|
|
290
|
+
*/
|
|
291
|
+
cursor?: string;
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* 关键词过滤。
|
|
295
|
+
*
|
|
296
|
+
* 说明(中文)
|
|
297
|
+
* - 推荐用于匹配 `sessionId`、标题与预览文本。
|
|
298
|
+
* - 属于轻量包含匹配,不承诺复杂搜索语义。
|
|
299
|
+
*/
|
|
300
|
+
query?: string;
|
|
301
|
+
}
|
|
302
|
+
|
|
264
303
|
/**
|
|
265
304
|
* Session 可变配置。
|
|
266
305
|
*/
|
|
@@ -290,13 +329,63 @@ export interface AgentSessionConfigSnapshot {
|
|
|
290
329
|
modelLabel?: string;
|
|
291
330
|
}
|
|
292
331
|
|
|
332
|
+
/**
|
|
333
|
+
* Session 历史视图类型。
|
|
334
|
+
*/
|
|
335
|
+
export type AgentSessionHistoryView = "message" | "timeline";
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* Session 时间线事件。
|
|
339
|
+
*/
|
|
340
|
+
export interface AgentSessionTimelineEvent {
|
|
341
|
+
/**
|
|
342
|
+
* 当前事件唯一标识。
|
|
343
|
+
*/
|
|
344
|
+
id: string;
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* 当前事件角色。
|
|
348
|
+
*
|
|
349
|
+
* 说明(中文)
|
|
350
|
+
* - `tool-call` / `tool-result` 用于把 assistant 内部工具过程平铺给 UI。
|
|
351
|
+
*/
|
|
352
|
+
role: "user" | "assistant" | "tool-call" | "tool-result";
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* 事件时间戳(毫秒)。
|
|
356
|
+
*/
|
|
357
|
+
ts?: number;
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* 事件所属消息种类。
|
|
361
|
+
*/
|
|
362
|
+
kind?: string;
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* 事件来源。
|
|
366
|
+
*/
|
|
367
|
+
source?: string;
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* 当前事件展示文本。
|
|
371
|
+
*/
|
|
372
|
+
text: string;
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* 当前事件对应工具名称。
|
|
376
|
+
*
|
|
377
|
+
* 说明(中文)
|
|
378
|
+
* - 仅 `tool-call` / `tool-result` 这类事件通常会携带该字段。
|
|
379
|
+
*/
|
|
380
|
+
toolName?: string;
|
|
381
|
+
}
|
|
382
|
+
|
|
293
383
|
/**
|
|
294
384
|
* Session system block 来源类型。
|
|
295
385
|
*/
|
|
296
386
|
export type AgentSessionSystemBlockSource =
|
|
297
387
|
| "core"
|
|
298
388
|
| "instruction"
|
|
299
|
-
| "service"
|
|
300
389
|
| "plugin"
|
|
301
390
|
| "session";
|
|
302
391
|
|
|
@@ -314,7 +403,7 @@ export interface AgentSessionSystemBlock {
|
|
|
314
403
|
*
|
|
315
404
|
* 说明(中文)
|
|
316
405
|
* - `instruction` 通常使用 `agent`。
|
|
317
|
-
* - `
|
|
406
|
+
* - `plugin` 使用对应 plugin 名称。
|
|
318
407
|
* - `core` 使用 `default`。
|
|
319
408
|
* - `session` 使用当前 session 上下文名称。
|
|
320
409
|
*/
|
|
@@ -394,9 +483,9 @@ export interface AgentSessionSystemSnapshot {
|
|
|
394
483
|
}
|
|
395
484
|
|
|
396
485
|
/**
|
|
397
|
-
* Session
|
|
486
|
+
* Session 摘要。
|
|
398
487
|
*/
|
|
399
|
-
export interface
|
|
488
|
+
export interface AgentSessionSummary {
|
|
400
489
|
/**
|
|
401
490
|
* 当前 session 所属 agentId。
|
|
402
491
|
*/
|
|
@@ -407,6 +496,24 @@ export interface AgentSessionMetadata {
|
|
|
407
496
|
*/
|
|
408
497
|
sessionId: string;
|
|
409
498
|
|
|
499
|
+
/**
|
|
500
|
+
* 当前 session 可读标题。
|
|
501
|
+
*
|
|
502
|
+
* 说明(中文)
|
|
503
|
+
* - 当前 SDK 不要求标题一定存在。
|
|
504
|
+
* - 若调用方需要展示列表标题,可优先使用这里;为空时再回退到 `sessionId`。
|
|
505
|
+
*/
|
|
506
|
+
title?: string;
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
* 当前 session 的最近预览文本。
|
|
510
|
+
*
|
|
511
|
+
* 说明(中文)
|
|
512
|
+
* - 通常来自最后一条用户可见消息的裁剪文本。
|
|
513
|
+
* - 适合用于侧边栏、列表卡片或 session picker。
|
|
514
|
+
*/
|
|
515
|
+
previewText?: string;
|
|
516
|
+
|
|
410
517
|
/**
|
|
411
518
|
* 当前 session 首次创建时间(ms)。
|
|
412
519
|
*/
|
|
@@ -426,6 +533,126 @@ export interface AgentSessionMetadata {
|
|
|
426
533
|
* 当前 session 绑定模型的可读标签。
|
|
427
534
|
*/
|
|
428
535
|
modelLabel?: string;
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* 当前 session 是否处于执行中。
|
|
539
|
+
*/
|
|
540
|
+
executing?: boolean;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
/**
|
|
544
|
+
* Session 详情。
|
|
545
|
+
*/
|
|
546
|
+
export interface AgentSessionInfo extends AgentSessionSummary {
|
|
547
|
+
/**
|
|
548
|
+
* 当前 session 初始化时记录的时区。
|
|
549
|
+
*/
|
|
550
|
+
timezone?: string;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
/**
|
|
554
|
+
* Session 摘要分页结果。
|
|
555
|
+
*/
|
|
556
|
+
export interface AgentSessionSummaryPage {
|
|
557
|
+
/**
|
|
558
|
+
* 当前页 session 摘要列表。
|
|
559
|
+
*/
|
|
560
|
+
items: AgentSessionSummary[];
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* 当前页所对应的总条数。
|
|
564
|
+
*
|
|
565
|
+
* 说明(中文)
|
|
566
|
+
* - 这里表示过滤后的总数,不是仅当前页数量。
|
|
567
|
+
* - 对分页 UI、结果统计和空态判断更友好。
|
|
568
|
+
*/
|
|
569
|
+
total: number;
|
|
570
|
+
|
|
571
|
+
/**
|
|
572
|
+
* 下一页游标。
|
|
573
|
+
*/
|
|
574
|
+
nextCursor?: string;
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* 是否仍有更多结果。
|
|
578
|
+
*/
|
|
579
|
+
hasMore: boolean;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* Session 历史读取输入。
|
|
584
|
+
*/
|
|
585
|
+
export interface AgentSessionHistoryInput {
|
|
586
|
+
/**
|
|
587
|
+
* 当前页返回上限。
|
|
588
|
+
*/
|
|
589
|
+
limit?: number;
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* 分页游标。
|
|
593
|
+
*/
|
|
594
|
+
cursor?: string;
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* 返回顺序。
|
|
598
|
+
*
|
|
599
|
+
* 说明(中文)
|
|
600
|
+
* - `asc`:从旧到新
|
|
601
|
+
* - `desc`:从新到旧
|
|
602
|
+
*/
|
|
603
|
+
order?: "asc" | "desc";
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* 返回视图类型。
|
|
607
|
+
*
|
|
608
|
+
* 说明(中文)
|
|
609
|
+
* - `message`:原始 session 消息
|
|
610
|
+
* - `timeline`:适合直接渲染 UI 的平铺事件
|
|
611
|
+
*/
|
|
612
|
+
view?: AgentSessionHistoryView;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* Session 历史分页结果。
|
|
617
|
+
*/
|
|
618
|
+
export interface AgentSessionHistoryPage {
|
|
619
|
+
/**
|
|
620
|
+
* 当前读取所对应的 session 信息。
|
|
621
|
+
*/
|
|
622
|
+
session: AgentSessionInfo;
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* 当前页实际返回视图。
|
|
626
|
+
*/
|
|
627
|
+
view: AgentSessionHistoryView;
|
|
628
|
+
|
|
629
|
+
/**
|
|
630
|
+
* 当前页数据列表。
|
|
631
|
+
*
|
|
632
|
+
* 说明(中文)
|
|
633
|
+
* - `view=message` 时返回 `SessionMessageV1[]`
|
|
634
|
+
* - `view=timeline` 时返回 `AgentSessionTimelineEvent[]`
|
|
635
|
+
*/
|
|
636
|
+
items: SessionMessageV1[] | AgentSessionTimelineEvent[];
|
|
637
|
+
|
|
638
|
+
/**
|
|
639
|
+
* 过滤前后的总条数。
|
|
640
|
+
*
|
|
641
|
+
* 说明(中文)
|
|
642
|
+
* - 对 `view=message` 表示消息条数。
|
|
643
|
+
* - 对 `view=timeline` 表示时间线事件条数。
|
|
644
|
+
*/
|
|
645
|
+
total: number;
|
|
646
|
+
|
|
647
|
+
/**
|
|
648
|
+
* 下一页游标。
|
|
649
|
+
*/
|
|
650
|
+
nextCursor?: string;
|
|
651
|
+
|
|
652
|
+
/**
|
|
653
|
+
* 是否仍有更多数据。
|
|
654
|
+
*/
|
|
655
|
+
hasMore: boolean;
|
|
429
656
|
}
|
|
430
657
|
|
|
431
658
|
/**
|
|
@@ -441,3 +668,93 @@ export interface AgentSessionForkInput {
|
|
|
441
668
|
*/
|
|
442
669
|
messageId?: string;
|
|
443
670
|
}
|
|
671
|
+
|
|
672
|
+
/**
|
|
673
|
+
* SDK Session 集合绑定。
|
|
674
|
+
*/
|
|
675
|
+
export interface AgentSessionCollection {
|
|
676
|
+
/**
|
|
677
|
+
* 新建一个 session。
|
|
678
|
+
*/
|
|
679
|
+
createSession(input?: AgentCreateSessionInput): Promise<AgentSession>;
|
|
680
|
+
|
|
681
|
+
/**
|
|
682
|
+
* 获取一个已存在的 session。
|
|
683
|
+
*/
|
|
684
|
+
getSession(sessionId: string): Promise<AgentSession>;
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* 列出当前 agent 的 session 摘要页。
|
|
688
|
+
*/
|
|
689
|
+
listSessions(input?: AgentListSessionsInput): Promise<AgentSessionSummaryPage>;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
/**
|
|
693
|
+
* Session actor 公共能力。
|
|
694
|
+
*/
|
|
695
|
+
export interface AgentSessionActor {
|
|
696
|
+
/**
|
|
697
|
+
* 当前 session 稳定标识。
|
|
698
|
+
*/
|
|
699
|
+
readonly id: string;
|
|
700
|
+
|
|
701
|
+
/**
|
|
702
|
+
* 读取当前 session 详情。
|
|
703
|
+
*/
|
|
704
|
+
getInfo(): Promise<AgentSessionInfo>;
|
|
705
|
+
|
|
706
|
+
/**
|
|
707
|
+
* 追加一条新的 prompt。
|
|
708
|
+
*/
|
|
709
|
+
prompt(input: AgentSessionPromptInput): Promise<AgentSessionTurnHandle>;
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* 订阅当前 session 的未来事件。
|
|
713
|
+
*/
|
|
714
|
+
subscribe(subscriber: AgentSessionSubscriber): AgentSessionUnsubscribe;
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* 读取当前 session 历史分页。
|
|
718
|
+
*/
|
|
719
|
+
history(input?: AgentSessionHistoryInput): Promise<AgentSessionHistoryPage>;
|
|
720
|
+
|
|
721
|
+
/**
|
|
722
|
+
* 读取当前 session 生效的 system 快照。
|
|
723
|
+
*/
|
|
724
|
+
system(): Promise<AgentSessionSystemSnapshot>;
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
/**
|
|
728
|
+
* 本地 Agent 返回的公开 session 接口。
|
|
729
|
+
*/
|
|
730
|
+
export interface AgentSession extends AgentSessionActor {
|
|
731
|
+
/**
|
|
732
|
+
* 当前 session 所属 agentId。
|
|
733
|
+
*/
|
|
734
|
+
readonly agentId: string;
|
|
735
|
+
|
|
736
|
+
/**
|
|
737
|
+
* 当前 session 配置快照。
|
|
738
|
+
*/
|
|
739
|
+
readonly config: AgentSessionConfigSnapshot;
|
|
740
|
+
|
|
741
|
+
/**
|
|
742
|
+
* 写入当前 session 默认配置。
|
|
743
|
+
*/
|
|
744
|
+
set(input: AgentSessionSetInput): Promise<void>;
|
|
745
|
+
|
|
746
|
+
/**
|
|
747
|
+
* 从当前 session 创建一个分叉会话。
|
|
748
|
+
*/
|
|
749
|
+
fork(input?: AgentSessionForkInput | string): Promise<AgentSession>;
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
/**
|
|
753
|
+
* 远程 Agent 返回的公开 session 接口。
|
|
754
|
+
*/
|
|
755
|
+
export interface RemoteAgentSession extends AgentSessionActor {
|
|
756
|
+
/**
|
|
757
|
+
* 从当前远程 session 创建一个分叉会话。
|
|
758
|
+
*/
|
|
759
|
+
fork(input?: AgentSessionForkInput | string): Promise<RemoteAgentSession>;
|
|
760
|
+
}
|