@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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* AgentCore 执行上下文类型定义。
|
|
3
3
|
*
|
|
4
4
|
* 关键点(中文)
|
|
5
|
-
* - 这里定义
|
|
5
|
+
* - 这里定义 plugin runtime / plugin / prompt system 共用的统一执行上下文。
|
|
6
6
|
* - `AgentContext` 表达的是“当前一次执行可见的能力面”,不是宿主状态本体。
|
|
7
7
|
* - `AgentRuntime` 负责保存长期状态;`AgentContext` 负责把这些状态暴露成执行接口。
|
|
8
8
|
*/
|
|
@@ -11,24 +11,24 @@ import type { Logger } from "../utils/logger/Logger.js";
|
|
|
11
11
|
import type { AgentRuntime } from "../core/AgentCoreTypes.js";
|
|
12
12
|
import type { AgentPathRuntime, AgentPlatformRuntime, AgentPluginConfigRuntime } from "../types/runtime/host/AgentHost.js";
|
|
13
13
|
import type { DowncityConfig } from "../types/config/DowncityConfig.js";
|
|
14
|
-
import type {
|
|
14
|
+
import type { JsonValue } from "../types/common/Json.js";
|
|
15
15
|
import type { PluginPort } from "../plugin/types/Plugin.js";
|
|
16
|
-
import type { ChatMetaV1 } from "../
|
|
17
|
-
import type { ChatQueueEnqueueParams, ChatQueueEnqueueResult } from "../
|
|
18
|
-
import type { SessionMetadataV1, SessionMessageV1
|
|
19
|
-
import type {
|
|
20
|
-
import type { SessionHistoryStore } from "../
|
|
16
|
+
import type { ChatMetaV1 } from "../plugin/builtins/chat/types/ChatMeta.js";
|
|
17
|
+
import type { ChatQueueEnqueueParams, ChatQueueEnqueueResult } from "../plugin/builtins/chat/types/ChatQueue.js";
|
|
18
|
+
import type { SessionMetadataV1, SessionMessageV1 } from "../executor/types/SessionMessages.js";
|
|
19
|
+
import type { SessionRunInput, SessionRunResult } from "../executor/types/SessionRun.js";
|
|
20
|
+
import type { SessionHistoryStore } from "../executor/store/history/SessionHistoryStore.js";
|
|
21
21
|
import type { AgentSessionPromptInput } from "../types/sdk/AgentSessionPrompt.js";
|
|
22
22
|
import type { AgentSessionSubscriber, AgentSessionUnsubscribe } from "../types/sdk/AgentSessionEvent.js";
|
|
23
23
|
import type { AgentSessionTurnHandle } from "../types/sdk/AgentSessionTurn.js";
|
|
24
24
|
/**
|
|
25
|
-
* 跨
|
|
25
|
+
* 跨 plugin runtime 调用参数。
|
|
26
26
|
*/
|
|
27
|
-
export interface
|
|
27
|
+
export interface InvokePluginParams {
|
|
28
28
|
/**
|
|
29
|
-
* 目标
|
|
29
|
+
* 目标 plugin 名称。
|
|
30
30
|
*/
|
|
31
|
-
|
|
31
|
+
plugin: string;
|
|
32
32
|
/**
|
|
33
33
|
* 目标 action 名称。
|
|
34
34
|
*/
|
|
@@ -39,9 +39,9 @@ export interface InvokeServiceParams {
|
|
|
39
39
|
payload?: JsonValue;
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
42
|
-
* 跨
|
|
42
|
+
* 跨 plugin runtime 调用结果。
|
|
43
43
|
*/
|
|
44
|
-
export interface
|
|
44
|
+
export interface InvokePluginResult {
|
|
45
45
|
/**
|
|
46
46
|
* 调用是否成功。
|
|
47
47
|
*/
|
|
@@ -56,13 +56,13 @@ export interface InvokeServiceResult {
|
|
|
56
56
|
error?: string;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* 跨
|
|
59
|
+
* 跨 plugin runtime 调用端口。
|
|
60
60
|
*/
|
|
61
|
-
export interface
|
|
61
|
+
export interface InvokePluginPort {
|
|
62
62
|
/**
|
|
63
|
-
* 调用指定
|
|
63
|
+
* 调用指定 plugin action。
|
|
64
64
|
*/
|
|
65
|
-
invoke(params:
|
|
65
|
+
invoke(params: InvokePluginParams): Promise<InvokePluginResult>;
|
|
66
66
|
}
|
|
67
67
|
/**
|
|
68
68
|
* 单个 Session 执行端口。
|
|
@@ -89,23 +89,6 @@ export interface SessionPort {
|
|
|
89
89
|
* 获取当前 session 的持久化端口。
|
|
90
90
|
*/
|
|
91
91
|
getHistoryStore(): SessionHistoryStore;
|
|
92
|
-
/**
|
|
93
|
-
* 执行当前 session 的一次内部请求。
|
|
94
|
-
*/
|
|
95
|
-
execute(params: {
|
|
96
|
-
/**
|
|
97
|
-
* 本轮输入文本。
|
|
98
|
-
*/
|
|
99
|
-
query: string;
|
|
100
|
-
/**
|
|
101
|
-
* step 边界回调。
|
|
102
|
-
*/
|
|
103
|
-
onStepCallback?: () => Promise<SessionUserMessageV1[]>;
|
|
104
|
-
/**
|
|
105
|
-
* assistant step 回调。
|
|
106
|
-
*/
|
|
107
|
-
onAssistantStepCallback?: SessionAssistantStepCallback;
|
|
108
|
-
}): Promise<SessionRunResult>;
|
|
109
92
|
/**
|
|
110
93
|
* 向当前 session actor 追加一条新的 prompt。
|
|
111
94
|
*
|
|
@@ -199,30 +182,13 @@ export interface SessionCollectionPort {
|
|
|
199
182
|
*
|
|
200
183
|
* 关键点(中文)
|
|
201
184
|
* - 这是当前 agent 已装配好的 chat 运行时视图。
|
|
202
|
-
* - 其他
|
|
185
|
+
* - 其他 plugin runtime 只能通过这里消费 chat 能力,不能直接 import chat runtime 模块。
|
|
203
186
|
*/
|
|
204
187
|
export interface ChatRuntimePort {
|
|
205
188
|
/**
|
|
206
189
|
* 按 sessionId 读取 chat 路由元信息。
|
|
207
190
|
*/
|
|
208
191
|
readMetaBySessionId(sessionId: string): Promise<ChatMetaV1 | null>;
|
|
209
|
-
/**
|
|
210
|
-
* 向指定 session 追加一条 exec 入站消息。
|
|
211
|
-
*/
|
|
212
|
-
appendExecSessionMessage(params: {
|
|
213
|
-
/**
|
|
214
|
-
* 目标 session 标识。
|
|
215
|
-
*/
|
|
216
|
-
sessionId: string;
|
|
217
|
-
/**
|
|
218
|
-
* 要写入的文本。
|
|
219
|
-
*/
|
|
220
|
-
text: string;
|
|
221
|
-
/**
|
|
222
|
-
* 附加结构化元数据。
|
|
223
|
-
*/
|
|
224
|
-
extra?: JsonObject;
|
|
225
|
-
}): Promise<void>;
|
|
226
192
|
/**
|
|
227
193
|
* 向 chat queue 入队一条消息。
|
|
228
194
|
*/
|
|
@@ -280,14 +246,14 @@ export interface AgentContext {
|
|
|
280
246
|
* Session 能力入口。
|
|
281
247
|
*
|
|
282
248
|
* 关键点(中文)
|
|
283
|
-
* -
|
|
249
|
+
* - plugin runtime 与 plugin 都通过这里访问 session 执行与持久化能力。
|
|
284
250
|
* - 内外统一使用 `sessionId` 语义。
|
|
285
251
|
*/
|
|
286
252
|
session: SessionCollectionPort;
|
|
287
253
|
/**
|
|
288
|
-
* 跨
|
|
254
|
+
* 跨 plugin runtime 调用主入口。
|
|
289
255
|
*/
|
|
290
|
-
invoke:
|
|
256
|
+
invoke: InvokePluginPort;
|
|
291
257
|
/**
|
|
292
258
|
* Chat 运行时能力入口。
|
|
293
259
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgentContextTypes.d.ts","sourceRoot":"","sources":["../../src/core/AgentContextTypes.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AACxC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EACV,gBAAgB,EAChB,oBAAoB,EACpB,wBAAwB,EACzB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"AgentContextTypes.d.ts","sourceRoot":"","sources":["../../src/core/AgentContextTypes.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AACxC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EACV,gBAAgB,EAChB,oBAAoB,EACpB,wBAAwB,EACzB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,KAAK,EAAc,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AAC3E,OAAO,KAAK,EACV,sBAAsB,EACtB,sBAAsB,EACvB,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EACV,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EACV,eAAe,EACf,gBAAgB,EACjB,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,KAAK,EACV,sBAAsB,EACtB,uBAAuB,EACxB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAE9E;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,MAAM,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;CACjE;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,GAAG,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;CASzD;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,WAAW,IAAI,mBAAmB,CAAC;IACnC;;OAEG;IACH,eAAe,IAAI,mBAAmB,CAAC;IACvC;;;;;;OAMG;IACH,MAAM,CAAC,KAAK,EAAE,uBAAuB,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACxE;;;;;;OAMG;IACH,SAAS,CAAC,UAAU,EAAE,sBAAsB,GAAG,uBAAuB,CAAC;IACvE;;OAEG;IACH,aAAa,IAAI,IAAI,CAAC;IACtB;;OAEG;IACH,wBAAwB,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1C;;OAEG;IACH,iBAAiB,CAAC,MAAM,EAAE;QACxB;;WAEG;QACH,OAAO,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;QAClC;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;QACd;;WAEG;QACH,KAAK,CAAC,EAAE,iBAAiB,CAAC,OAAO,CAAC,CAAC;KACpC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAClB;;OAEG;IACH,sBAAsB,CAAC,MAAM,EAAE;QAC7B;;WAEG;QACH,OAAO,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;QAClC;;WAEG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB;;WAEG;QACH,KAAK,CAAC,EAAE,iBAAiB,CAAC,OAAO,CAAC,CAAC;KACpC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAClB;;OAEG;IACH,WAAW,IAAI,OAAO,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,GAAG,CAAC,SAAS,EAAE,MAAM,GAAG,WAAW,CAAC;IACpC;;OAEG;IACH,uBAAuB,IAAI,MAAM,EAAE,CAAC;IACpC;;OAEG;IACH,wBAAwB,IAAI,MAAM,CAAC;IACnC;;;;;;OAMG;IACH,YAAY,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC,CAAC;CACrE;AAED;;;;;;GAMG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC,CAAC;IACnE;;OAEG;IACH,OAAO,CAAC,MAAM,EAAE,sBAAsB,GAAG,sBAAsB,CAAC;CACjE;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,KAAK,EAAE,YAAY,CAAC;IACpB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,EAAE,cAAc,CAAC;IACvB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC5B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,KAAK,EAAE,gBAAgB,CAAC;IACxB;;OAEG;IACH,YAAY,EAAE,wBAAwB,CAAC;IACvC;;OAEG;IACH,QAAQ,EAAE,oBAAoB,CAAC;IAC/B;;;;;;OAMG;IACH,OAAO,EAAE,qBAAqB,CAAC;IAC/B;;OAEG;IACH,MAAM,EAAE,gBAAgB,CAAC;IACzB;;OAEG;IACH,IAAI,EAAE,eAAe,CAAC;IACtB;;OAEG;IACH,OAAO,EAAE,UAAU,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC;CACtC,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* AgentCore 执行上下文类型定义。
|
|
3
3
|
*
|
|
4
4
|
* 关键点(中文)
|
|
5
|
-
* - 这里定义
|
|
5
|
+
* - 这里定义 plugin runtime / plugin / prompt system 共用的统一执行上下文。
|
|
6
6
|
* - `AgentContext` 表达的是“当前一次执行可见的能力面”,不是宿主状态本体。
|
|
7
7
|
* - `AgentRuntime` 负责保存长期状态;`AgentContext` 负责把这些状态暴露成执行接口。
|
|
8
8
|
*/
|
package/bin/core/AgentCore.d.ts
CHANGED
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import type { Tool } from "ai";
|
|
10
10
|
import { Logger } from "../utils/logger/Logger.js";
|
|
11
|
-
import type {
|
|
11
|
+
import type { BasePlugin } from "../plugin/core/BasePlugin.js";
|
|
12
12
|
import type { AgentContext } from "../core/AgentContextTypes.js";
|
|
13
13
|
import type { AgentRuntime } from "../core/AgentCoreTypes.js";
|
|
14
14
|
import type { DowncityConfig } from "../types/config/DowncityConfig.js";
|
|
15
15
|
import type { PluginPort } from "../plugin/types/Plugin.js";
|
|
16
|
-
import type { AgentOptions,
|
|
16
|
+
import type { AgentCreateSessionInput, AgentListSessionsInput, AgentOptions, AgentSessionSummaryPage } from "../sdk/AgentSdkTypes.js";
|
|
17
17
|
import { Session } from "../sdk/Session.js";
|
|
18
18
|
/**
|
|
19
19
|
* SDK / server 共用的实例级 Agent 内核。
|
|
@@ -22,14 +22,13 @@ export declare class AgentCore {
|
|
|
22
22
|
readonly id: string;
|
|
23
23
|
readonly path: string;
|
|
24
24
|
readonly tools: Record<string, Tool>;
|
|
25
|
-
readonly
|
|
25
|
+
readonly pluginInstances: Map<string, BasePlugin>;
|
|
26
26
|
readonly plugins: PluginPort;
|
|
27
27
|
private readonly logger;
|
|
28
28
|
private readonly sessionsById;
|
|
29
29
|
private readonly runtime;
|
|
30
|
-
private readonly
|
|
30
|
+
private readonly agentContext;
|
|
31
31
|
private readonly pluginRegistry;
|
|
32
|
-
private readonly pluginSystemProviders;
|
|
33
32
|
private readonly config;
|
|
34
33
|
private readonly platform;
|
|
35
34
|
private readonly env;
|
|
@@ -37,7 +36,7 @@ export declare class AgentCore {
|
|
|
37
36
|
private readonly defaultModel?;
|
|
38
37
|
private readonly configureSessionHook?;
|
|
39
38
|
private instruction;
|
|
40
|
-
private
|
|
39
|
+
private pluginsStartPromise;
|
|
41
40
|
private configuredSessionIds;
|
|
42
41
|
constructor(options: AgentOptions);
|
|
43
42
|
/**
|
|
@@ -57,31 +56,33 @@ export declare class AgentCore {
|
|
|
57
56
|
*/
|
|
58
57
|
getLogger(): Logger;
|
|
59
58
|
/**
|
|
60
|
-
*
|
|
59
|
+
* 新建一个 session。
|
|
61
60
|
*/
|
|
62
|
-
|
|
61
|
+
createSession(input?: AgentCreateSessionInput): Promise<Session>;
|
|
63
62
|
/**
|
|
64
|
-
*
|
|
63
|
+
* 获取一个已存在的 session。
|
|
65
64
|
*/
|
|
66
|
-
|
|
65
|
+
getSession(sessionId: string): Promise<Session>;
|
|
67
66
|
/**
|
|
68
|
-
*
|
|
67
|
+
* 列出当前 agent 的 session 摘要页。
|
|
69
68
|
*/
|
|
70
|
-
|
|
69
|
+
listSessions(input?: AgentListSessionsInput): Promise<AgentSessionSummaryPage>;
|
|
70
|
+
/**
|
|
71
|
+
* 确保当前 plugins 已启动。
|
|
72
|
+
*/
|
|
73
|
+
ensurePluginsStarted(): Promise<void>;
|
|
71
74
|
/**
|
|
72
75
|
* 更新当前 Agent 的静态基础指令。
|
|
73
76
|
*/
|
|
74
77
|
setInstruction(input: string | string[]): void;
|
|
75
78
|
private loadConfig;
|
|
76
|
-
private
|
|
77
|
-
private resolvePlugins;
|
|
79
|
+
private registerPlugins;
|
|
78
80
|
private createPluginRegistry;
|
|
79
81
|
private createPluginPort;
|
|
80
82
|
private loadInstructionSystemBlocks;
|
|
81
83
|
private loadPluginSystemBlocks;
|
|
82
|
-
private loadServiceSystemBlocks;
|
|
83
84
|
private createRuntime;
|
|
84
|
-
private
|
|
85
|
+
private createAgentContext;
|
|
85
86
|
private getOrCreateSession;
|
|
86
87
|
private configureSession;
|
|
87
88
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgentCore.d.ts","sourceRoot":"","sources":["../../src/core/AgentCore.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,KAAK,EAAiB,IAAI,EAAE,MAAM,IAAI,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"AgentCore.d.ts","sourceRoot":"","sources":["../../src/core/AgentCore.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,KAAK,EAAiB,IAAI,EAAE,MAAM,IAAI,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAEhE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAGvE,OAAO,KAAK,EAEV,UAAU,EAEX,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAEV,uBAAuB,EACvB,sBAAsB,EACtB,YAAY,EACZ,uBAAuB,EAExB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAgF3C;;GAEG;AACH,qBAAa,SAAS;IACpB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IACrC,QAAQ,CAAC,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IAClD,QAAQ,CAAC,OAAO,EAAE,UAAU,CAAC;IAE7B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAChC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAA8B;IAC3D,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAe;IACvC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAe;IAC5C,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAiB;IAChD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiB;IACxC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAuB;IAChD,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAyB;IAC7C,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAyB;IACnD,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAgB;IAC9C,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAC,CAAmC;IACzE,OAAO,CAAC,WAAW,CAAW;IAC9B,OAAO,CAAC,mBAAmB,CAA8B;IACzD,OAAO,CAAC,oBAAoB,CAAqB;gBAErC,OAAO,EAAE,YAAY;IAkCjC;;OAEG;IACH,UAAU,IAAI,YAAY;IAI1B;;OAEG;IACH,UAAU,IAAI,YAAY;IAI1B;;OAEG;IACH,SAAS,IAAI,cAAc;IAI3B;;OAEG;IACH,SAAS,IAAI,MAAM;IAInB;;OAEG;IACG,aAAa,CAAC,KAAK,CAAC,EAAE,uBAAuB,GAAG,OAAO,CAAC,OAAO,CAAC;IAiBtE;;OAEG;IACG,UAAU,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAsBrD;;OAEG;IACG,YAAY,CAChB,KAAK,CAAC,EAAE,sBAAsB,GAC7B,OAAO,CAAC,uBAAuB,CAAC;IASnC;;OAEG;IACG,oBAAoB,IAAI,OAAO,CAAC,IAAI,CAAC;IAa3C;;OAEG;IACH,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,IAAI;IAI9C,OAAO,CAAC,UAAU;IAYlB,OAAO,CAAC,eAAe;IAoBvB,OAAO,CAAC,oBAAoB;IAqB5B,OAAO,CAAC,gBAAgB;IAsBxB,OAAO,CAAC,2BAA2B;YAIrB,sBAAsB;IAwBpC,OAAO,CAAC,aAAa;IAyBrB,OAAO,CAAC,kBAAkB;IA6E1B,OAAO,CAAC,kBAAkB;YAuBZ,gBAAgB;CAY/B"}
|
package/bin/core/AgentCore.js
CHANGED
|
@@ -10,19 +10,17 @@ import fs from "fs-extra";
|
|
|
10
10
|
import { nanoid } from "nanoid";
|
|
11
11
|
import { Logger } from "../utils/logger/Logger.js";
|
|
12
12
|
import { Session } from "../sdk/Session.js";
|
|
13
|
-
import { DEFAULT_SHIP_PROMPTS } from "../
|
|
14
|
-
import {
|
|
13
|
+
import { DEFAULT_SHIP_PROMPTS } from "../executor/composer/system/default/SystemDomain.js";
|
|
14
|
+
import { getSdkAgentSessionDirPath, listAgentSessionSummaryPage, } from "../sdk/session/index.js";
|
|
15
15
|
import { createAgentPathRuntime, createAgentPluginConfigRuntime, } from "../runtime/host/AgentHostRuntime.js";
|
|
16
16
|
import { loadDowncityConfig } from "../config/Config.js";
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { resolveChatQueueStore } from "../service/builtins/chat/runtime/ChatQueueStore.js";
|
|
17
|
+
import { readChatMetaBySessionId } from "../plugin/builtins/chat/runtime/ChatMetaStore.js";
|
|
18
|
+
import { resolveChatQueueStore } from "../plugin/builtins/chat/runtime/ChatQueueStore.js";
|
|
20
19
|
import { HookRegistry } from "../plugin/core/HookRegistry.js";
|
|
21
20
|
import { PluginRegistry } from "../plugin/core/PluginRegistry.js";
|
|
22
21
|
import { isPluginEnabled } from "../plugin/core/Activation.js";
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import { setShellToolRuntime } from "../session/tools/shell/ShellToolDefinition.js";
|
|
22
|
+
import { createRegisteredPluginInstances } from "../plugin/core/PluginClassRegistry.js";
|
|
23
|
+
import { setShellToolRuntime } from "../executor/tools/shell/ShellToolDefinition.js";
|
|
26
24
|
const EMPTY_SDK_PLATFORM = {
|
|
27
25
|
getGlobalEnv: () => ({}),
|
|
28
26
|
getAgentEnv: () => ({}),
|
|
@@ -83,14 +81,13 @@ export class AgentCore {
|
|
|
83
81
|
id;
|
|
84
82
|
path;
|
|
85
83
|
tools;
|
|
86
|
-
|
|
84
|
+
pluginInstances;
|
|
87
85
|
plugins;
|
|
88
86
|
logger;
|
|
89
87
|
sessionsById = new Map();
|
|
90
88
|
runtime;
|
|
91
|
-
|
|
89
|
+
agentContext;
|
|
92
90
|
pluginRegistry;
|
|
93
|
-
pluginSystemProviders;
|
|
94
91
|
config;
|
|
95
92
|
platform;
|
|
96
93
|
env;
|
|
@@ -98,7 +95,7 @@ export class AgentCore {
|
|
|
98
95
|
defaultModel;
|
|
99
96
|
configureSessionHook;
|
|
100
97
|
instruction;
|
|
101
|
-
|
|
98
|
+
pluginsStartPromise = null;
|
|
102
99
|
configuredSessionIds = new Set();
|
|
103
100
|
constructor(options) {
|
|
104
101
|
this.id = String(options.id || "").trim();
|
|
@@ -121,20 +118,16 @@ export class AgentCore {
|
|
|
121
118
|
this.defaultModel = options.model;
|
|
122
119
|
this.configureSessionHook = options.configureSession;
|
|
123
120
|
this.config = this.loadConfig();
|
|
124
|
-
this.
|
|
121
|
+
this.pluginInstances = new Map();
|
|
125
122
|
this.runtime = this.createRuntime();
|
|
126
|
-
this.
|
|
127
|
-
|
|
128
|
-
|
|
123
|
+
this.registerPlugins({
|
|
124
|
+
explicitPlugins: options.plugins || [],
|
|
125
|
+
mode: options.mode || "custom",
|
|
129
126
|
});
|
|
130
|
-
this.
|
|
131
|
-
explicitPlugins: options.plugins,
|
|
132
|
-
useBuiltinPlugins: options.useBuiltinPlugins === true,
|
|
133
|
-
});
|
|
134
|
-
this.pluginRegistry = this.createPluginRegistry(this.pluginSystemProviders);
|
|
127
|
+
this.pluginRegistry = this.createPluginRegistry([...this.pluginInstances.values()]);
|
|
135
128
|
this.plugins = this.createPluginPort();
|
|
136
|
-
this.
|
|
137
|
-
setShellToolRuntime(this.
|
|
129
|
+
this.agentContext = this.createAgentContext();
|
|
130
|
+
setShellToolRuntime(this.agentContext.invoke);
|
|
138
131
|
}
|
|
139
132
|
/**
|
|
140
133
|
* 返回实例级 runtime 视图。
|
|
@@ -146,7 +139,7 @@ export class AgentCore {
|
|
|
146
139
|
* 返回实例级执行上下文。
|
|
147
140
|
*/
|
|
148
141
|
getContext() {
|
|
149
|
-
return this.
|
|
142
|
+
return this.agentContext;
|
|
150
143
|
}
|
|
151
144
|
/**
|
|
152
145
|
* 返回当前项目根目录解析后的配置快照。
|
|
@@ -161,55 +154,63 @@ export class AgentCore {
|
|
|
161
154
|
return this.logger;
|
|
162
155
|
}
|
|
163
156
|
/**
|
|
164
|
-
*
|
|
157
|
+
* 新建一个 session。
|
|
165
158
|
*/
|
|
166
|
-
async
|
|
167
|
-
const
|
|
159
|
+
async createSession(input) {
|
|
160
|
+
const explicitSessionId = String(input?.sessionId || "").trim() || undefined;
|
|
161
|
+
if (explicitSessionId &&
|
|
162
|
+
(this.sessionsById.has(explicitSessionId) ||
|
|
163
|
+
(await fs.pathExists(getSdkAgentSessionDirPath(this.path, this.id, explicitSessionId))))) {
|
|
164
|
+
throw new Error(`Session "${explicitSessionId}" already exists`);
|
|
165
|
+
}
|
|
166
|
+
const session = this.getOrCreateSession(explicitSessionId);
|
|
168
167
|
await session.initialize();
|
|
169
168
|
await this.configureSession(session);
|
|
170
169
|
return session;
|
|
171
170
|
}
|
|
172
171
|
/**
|
|
173
|
-
*
|
|
172
|
+
* 获取一个已存在的 session。
|
|
174
173
|
*/
|
|
175
|
-
async
|
|
176
|
-
const
|
|
177
|
-
if (!
|
|
178
|
-
|
|
179
|
-
const entries = await fs.readdir(rootDir, { withFileTypes: true });
|
|
180
|
-
const items = [];
|
|
181
|
-
for (const entry of entries) {
|
|
182
|
-
if (!entry.isDirectory())
|
|
183
|
-
continue;
|
|
184
|
-
let sessionId = "";
|
|
185
|
-
try {
|
|
186
|
-
sessionId = decodeURIComponent(entry.name);
|
|
187
|
-
}
|
|
188
|
-
catch {
|
|
189
|
-
sessionId = entry.name;
|
|
190
|
-
}
|
|
191
|
-
if (!sessionId)
|
|
192
|
-
continue;
|
|
193
|
-
const session = await this.session(sessionId);
|
|
194
|
-
items.push(await session.toMetadata());
|
|
174
|
+
async getSession(sessionId) {
|
|
175
|
+
const resolvedSessionId = String(sessionId || "").trim();
|
|
176
|
+
if (!resolvedSessionId) {
|
|
177
|
+
throw new Error("getSession requires a non-empty sessionId");
|
|
195
178
|
}
|
|
196
|
-
|
|
197
|
-
|
|
179
|
+
const sessionDirPath = getSdkAgentSessionDirPath(this.path, this.id, resolvedSessionId);
|
|
180
|
+
if (!this.sessionsById.has(resolvedSessionId) &&
|
|
181
|
+
!(await fs.pathExists(sessionDirPath))) {
|
|
182
|
+
throw new Error(`Session "${resolvedSessionId}" not found`);
|
|
183
|
+
}
|
|
184
|
+
const session = this.getOrCreateSession(resolvedSessionId);
|
|
185
|
+
await session.initialize();
|
|
186
|
+
await this.configureSession(session);
|
|
187
|
+
return session;
|
|
198
188
|
}
|
|
199
189
|
/**
|
|
200
|
-
*
|
|
190
|
+
* 列出当前 agent 的 session 摘要页。
|
|
201
191
|
*/
|
|
202
|
-
async
|
|
203
|
-
|
|
204
|
-
|
|
192
|
+
async listSessions(input) {
|
|
193
|
+
return await listAgentSessionSummaryPage({
|
|
194
|
+
projectRoot: this.path,
|
|
195
|
+
agentId: this.id,
|
|
196
|
+
input,
|
|
197
|
+
executingSessionIds: new Set(this.runtime.listExecutingSessionIds()),
|
|
198
|
+
});
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* 确保当前 plugins 已启动。
|
|
202
|
+
*/
|
|
203
|
+
async ensurePluginsStarted() {
|
|
204
|
+
if (this.pluginsStartPromise) {
|
|
205
|
+
await this.pluginsStartPromise;
|
|
205
206
|
return;
|
|
206
207
|
}
|
|
207
|
-
this.
|
|
208
|
-
for (const
|
|
209
|
-
await
|
|
208
|
+
this.pluginsStartPromise = (async () => {
|
|
209
|
+
for (const plugin of this.pluginInstances.values()) {
|
|
210
|
+
await plugin.lifecycle?.start?.(this.agentContext);
|
|
210
211
|
}
|
|
211
212
|
})();
|
|
212
|
-
await this.
|
|
213
|
+
await this.pluginsStartPromise;
|
|
213
214
|
}
|
|
214
215
|
/**
|
|
215
216
|
* 更新当前 Agent 的静态基础指令。
|
|
@@ -229,41 +230,33 @@ export class AgentCore {
|
|
|
229
230
|
return createFallbackSdkConfig(this.id);
|
|
230
231
|
}
|
|
231
232
|
}
|
|
232
|
-
|
|
233
|
-
const
|
|
234
|
-
|
|
235
|
-
? [...createRegisteredServiceInstances(this.runtime).values()]
|
|
233
|
+
registerPlugins(input) {
|
|
234
|
+
const presetPlugins = input.mode === "preset"
|
|
235
|
+
? [...createRegisteredPluginInstances(this.runtime).values()]
|
|
236
236
|
: [];
|
|
237
|
-
for (const
|
|
238
|
-
const name = String(
|
|
237
|
+
for (const plugin of [...presetPlugins, ...input.explicitPlugins]) {
|
|
238
|
+
const name = String(plugin?.name || "").trim();
|
|
239
239
|
if (!name) {
|
|
240
|
-
throw new Error("Agent received a
|
|
240
|
+
throw new Error("Agent received a plugin without a valid name");
|
|
241
241
|
}
|
|
242
|
-
if (this.
|
|
243
|
-
throw new Error(`Duplicate
|
|
242
|
+
if (this.pluginInstances.has(name)) {
|
|
243
|
+
throw new Error(`Duplicate plugin registration: ${name}`);
|
|
244
244
|
}
|
|
245
|
-
|
|
246
|
-
this.
|
|
245
|
+
plugin.bindAgent(this.runtime);
|
|
246
|
+
this.pluginInstances.set(name, plugin);
|
|
247
247
|
}
|
|
248
248
|
}
|
|
249
|
-
resolvePlugins(input) {
|
|
250
|
-
const plugins = input.useBuiltinPlugins ? [...PLUGINS] : [];
|
|
251
|
-
if (Array.isArray(input.explicitPlugins)) {
|
|
252
|
-
plugins.push(...input.explicitPlugins);
|
|
253
|
-
}
|
|
254
|
-
return plugins;
|
|
255
|
-
}
|
|
256
249
|
createPluginRegistry(input) {
|
|
257
250
|
let pluginRegistryRef = null;
|
|
258
251
|
const hookRegistry = new HookRegistry({
|
|
259
|
-
contextResolver: () => this.
|
|
252
|
+
contextResolver: () => this.agentContext,
|
|
260
253
|
pluginEnabledChecker: (pluginName) => {
|
|
261
254
|
const plugin = pluginRegistryRef?.get(pluginName);
|
|
262
|
-
return plugin ? isPluginEnabled({ plugin, context: this.
|
|
255
|
+
return plugin ? isPluginEnabled({ plugin, context: this.agentContext }) : false;
|
|
263
256
|
},
|
|
264
257
|
});
|
|
265
258
|
const registry = new PluginRegistry({
|
|
266
|
-
contextResolver: () => this.
|
|
259
|
+
contextResolver: () => this.agentContext,
|
|
267
260
|
hookRegistry,
|
|
268
261
|
});
|
|
269
262
|
pluginRegistryRef = registry;
|
|
@@ -292,18 +285,18 @@ export class AgentCore {
|
|
|
292
285
|
}
|
|
293
286
|
async loadPluginSystemBlocks() {
|
|
294
287
|
const out = [];
|
|
295
|
-
for (const plugin of this.
|
|
288
|
+
for (const plugin of this.pluginInstances.values()) {
|
|
296
289
|
if (typeof plugin.system !== "function")
|
|
297
290
|
continue;
|
|
298
291
|
try {
|
|
299
|
-
if (!isPluginEnabled({ plugin, context: this.
|
|
292
|
+
if (!isPluginEnabled({ plugin, context: this.agentContext }))
|
|
300
293
|
continue;
|
|
301
294
|
if (typeof plugin.availability === "function") {
|
|
302
|
-
const availability = await plugin.availability(this.
|
|
295
|
+
const availability = await plugin.availability(this.agentContext);
|
|
303
296
|
if (!availability.available)
|
|
304
297
|
continue;
|
|
305
298
|
}
|
|
306
|
-
const text = String(await plugin.system(this.
|
|
299
|
+
const text = String(await plugin.system(this.agentContext)).trim();
|
|
307
300
|
if (!text)
|
|
308
301
|
continue;
|
|
309
302
|
out.push({
|
|
@@ -318,27 +311,6 @@ export class AgentCore {
|
|
|
318
311
|
}
|
|
319
312
|
return out;
|
|
320
313
|
}
|
|
321
|
-
async loadServiceSystemBlocks() {
|
|
322
|
-
const out = [];
|
|
323
|
-
for (const service of this.services.values()) {
|
|
324
|
-
if (typeof service.system !== "function")
|
|
325
|
-
continue;
|
|
326
|
-
try {
|
|
327
|
-
const text = String(await service.system(this.serviceContext)).trim();
|
|
328
|
-
if (!text)
|
|
329
|
-
continue;
|
|
330
|
-
out.push({
|
|
331
|
-
source: "service",
|
|
332
|
-
name: service.name,
|
|
333
|
-
content: text,
|
|
334
|
-
});
|
|
335
|
-
}
|
|
336
|
-
catch {
|
|
337
|
-
// 单个 service system 失败不应阻断 SDK session 主链路。
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
return out;
|
|
341
|
-
}
|
|
342
314
|
createRuntime() {
|
|
343
315
|
const runtime = {
|
|
344
316
|
cwd: this.path,
|
|
@@ -348,19 +320,19 @@ export class AgentCore {
|
|
|
348
320
|
env: this.env,
|
|
349
321
|
globalEnv: this.globalEnv,
|
|
350
322
|
systems: this.instruction,
|
|
351
|
-
paths: createAgentPathRuntime(this.path),
|
|
323
|
+
paths: createAgentPathRuntime(this.path, this.id),
|
|
352
324
|
pluginConfig: createAgentPluginConfigRuntime(this.path),
|
|
353
325
|
platform: this.platform,
|
|
354
|
-
getSession: (sessionId) => this.getOrCreateSession(sessionId).
|
|
326
|
+
getSession: (sessionId) => this.getOrCreateSession(sessionId).getRuntimePort(),
|
|
355
327
|
listExecutingSessionIds: () => [...this.sessionsById.values()]
|
|
356
328
|
.filter((session) => session.isExecuting())
|
|
357
329
|
.map((session) => session.id),
|
|
358
330
|
getExecutingSessionCount: () => [...this.sessionsById.values()].filter((session) => session.isExecuting()).length,
|
|
359
|
-
|
|
331
|
+
pluginInstances: this.pluginInstances,
|
|
360
332
|
};
|
|
361
333
|
return runtime;
|
|
362
334
|
}
|
|
363
|
-
|
|
335
|
+
createAgentContext() {
|
|
364
336
|
let context;
|
|
365
337
|
context = {
|
|
366
338
|
agent: this.runtime,
|
|
@@ -375,36 +347,36 @@ export class AgentCore {
|
|
|
375
347
|
pluginConfig: this.runtime.pluginConfig,
|
|
376
348
|
platform: this.platform,
|
|
377
349
|
session: {
|
|
378
|
-
get: (sessionId) => this.getOrCreateSession(sessionId).
|
|
350
|
+
get: (sessionId) => this.getOrCreateSession(sessionId).getRuntimePort(),
|
|
379
351
|
listExecutingSessionIds: () => this.runtime.listExecutingSessionIds(),
|
|
380
352
|
getExecutingSessionCount: () => this.runtime.getExecutingSessionCount(),
|
|
381
353
|
resolveModel: async (sessionId) => {
|
|
382
|
-
const session = await this.
|
|
354
|
+
const session = await this.getSession(sessionId);
|
|
383
355
|
return session.config.model;
|
|
384
356
|
},
|
|
385
357
|
},
|
|
386
358
|
invoke: {
|
|
387
359
|
invoke: async (params) => {
|
|
388
|
-
const
|
|
360
|
+
const pluginName = String(params.plugin || "").trim();
|
|
389
361
|
const actionName = String(params.action || "").trim();
|
|
390
|
-
const
|
|
391
|
-
if (!
|
|
362
|
+
const plugin = this.pluginInstances.get(pluginName);
|
|
363
|
+
if (!plugin) {
|
|
392
364
|
return {
|
|
393
365
|
success: false,
|
|
394
|
-
error: `Unknown
|
|
366
|
+
error: `Unknown plugin: ${pluginName}`,
|
|
395
367
|
};
|
|
396
368
|
}
|
|
397
|
-
const action =
|
|
369
|
+
const action = plugin.actions[actionName];
|
|
398
370
|
if (!action) {
|
|
399
371
|
return {
|
|
400
372
|
success: false,
|
|
401
|
-
error: `Unknown action: ${
|
|
373
|
+
error: `Unknown action: ${pluginName}.${actionName}`,
|
|
402
374
|
};
|
|
403
375
|
}
|
|
404
376
|
const result = await action.execute({
|
|
405
377
|
context,
|
|
406
378
|
payload: params.payload ?? null,
|
|
407
|
-
|
|
379
|
+
pluginName,
|
|
408
380
|
actionName,
|
|
409
381
|
});
|
|
410
382
|
if (!result.success) {
|
|
@@ -426,14 +398,6 @@ export class AgentCore {
|
|
|
426
398
|
sessionId,
|
|
427
399
|
});
|
|
428
400
|
},
|
|
429
|
-
appendExecSessionMessage: async (params) => {
|
|
430
|
-
await appendExecSessionMessage({
|
|
431
|
-
context,
|
|
432
|
-
sessionId: params.sessionId,
|
|
433
|
-
text: params.text,
|
|
434
|
-
extra: params.extra,
|
|
435
|
-
});
|
|
436
|
-
},
|
|
437
401
|
enqueue: (params) => resolveChatQueueStore(context).enqueue(params),
|
|
438
402
|
},
|
|
439
403
|
plugins: this.plugins,
|
|
@@ -452,7 +416,7 @@ export class AgentCore {
|
|
|
452
416
|
tools: this.tools,
|
|
453
417
|
logger: this.logger,
|
|
454
418
|
getInstructionSystemBlocks: () => this.loadInstructionSystemBlocks(),
|
|
455
|
-
|
|
419
|
+
getManagedPluginSystemBlocks: async () => [],
|
|
456
420
|
getPluginSystemBlocks: () => this.loadPluginSystemBlocks(),
|
|
457
421
|
ensureConfigured: async (session) => {
|
|
458
422
|
await this.configureSession(session);
|