@downcity/agent 1.1.72 → 1.1.74
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 +12 -11
- package/bin/config/AgentInitializer.d.ts +1 -1
- package/bin/config/AgentInitializer.js +1 -1
- package/bin/executor/composer/system/default/assets/core.prompt.d.ts +1 -1
- package/bin/executor/composer/system/default/assets/core.prompt.d.ts.map +1 -1
- package/bin/executor/composer/system/default/assets/core.prompt.js +1 -1
- package/bin/executor/composer/system/default/assets/core.prompt.js.map +1 -1
- package/bin/index.d.ts +1 -2
- package/bin/index.d.ts.map +1 -1
- package/bin/index.js.map +1 -1
- package/bin/plugin/core/PluginCatalog.js +2 -2
- package/bin/plugin/core/PluginCatalog.js.map +1 -1
- package/bin/plugin/types/PluginApi.d.ts +1 -1
- package/bin/plugin/types/PluginApi.js +1 -1
- package/bin/types/runtime/platform/Platform.d.ts +7 -7
- package/bin/types/runtime/platform/PlatformGateway.d.ts +4 -17
- package/bin/types/runtime/platform/PlatformGateway.d.ts.map +1 -1
- package/bin/types/runtime/platform/PlatformGateway.js +1 -1
- package/package.json +2 -2
- package/src/config/AgentInitializer.ts +1 -1
- package/src/executor/composer/system/default/assets/core.prompt.ts +1 -1
- package/src/executor/composer/system/default/assets/core.prompt.ts.txt +2 -2
- package/src/index.ts +0 -2
- package/src/plugin/core/PluginCatalog.ts +2 -2
- package/src/plugin/types/PluginApi.ts +1 -1
- package/src/types/runtime/platform/Platform.ts +7 -7
- package/src/types/runtime/platform/PlatformGateway.ts +4 -18
- package/tsconfig.tsbuildinfo +1 -1
- package/bin/types/config/Start.d.ts +0 -19
- package/bin/types/config/Start.d.ts.map +0 -1
- package/bin/types/config/Start.js +0 -13
- package/bin/types/config/Start.js.map +0 -1
- package/src/types/config/Start.ts +0 -19
|
@@ -1,25 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* 平台控制面读取 agent
|
|
2
|
+
* 平台控制面读取 agent 项目配置与 runtime 状态时使用的宽松类型。
|
|
3
3
|
*
|
|
4
4
|
* 关键点(中文)
|
|
5
5
|
* - 仅承载平台 gateway / control plane 内部使用的结构化类型。
|
|
6
6
|
* - 所有字段保持宽松输入,便于兼容磁盘 JSON 与运行时 API 的非强约束数据。
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
/**
|
|
10
|
-
* Daemon 元数据文件结构。
|
|
11
|
-
*/
|
|
12
|
-
export interface PlatformAgentDaemonMeta {
|
|
13
|
-
/**
|
|
14
|
-
* 启动 daemon 时记录的原始参数列表。
|
|
15
|
-
*
|
|
16
|
-
* 说明(中文)
|
|
17
|
-
* - 来自 `.downcity/daemon/*.json`。
|
|
18
|
-
* - 保持 `unknown`,避免过早假设参数格式。
|
|
19
|
-
*/
|
|
20
|
-
args?: unknown;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
9
|
/**
|
|
24
10
|
* downcity.json 中的 ACP agent 配置。
|
|
25
11
|
*/
|
|
@@ -120,12 +106,12 @@ export interface PlatformAgentShipPluginsConfig {
|
|
|
120
106
|
*/
|
|
121
107
|
export interface PlatformAgentShipStartConfig {
|
|
122
108
|
/**
|
|
123
|
-
*
|
|
109
|
+
* Town Agent HTTP gateway host。
|
|
124
110
|
*/
|
|
125
111
|
host?: unknown;
|
|
126
112
|
|
|
127
113
|
/**
|
|
128
|
-
*
|
|
114
|
+
* Town Agent HTTP gateway port。
|
|
129
115
|
*/
|
|
130
116
|
port?: unknown;
|
|
131
117
|
}
|
|
@@ -175,7 +161,7 @@ export interface PlatformAgentChatChannelStatus {
|
|
|
175
161
|
configured?: unknown;
|
|
176
162
|
|
|
177
163
|
/**
|
|
178
|
-
*
|
|
164
|
+
* Agent runtime 中该渠道是否处于运行态。
|
|
179
165
|
*/
|
|
180
166
|
running?: unknown;
|
|
181
167
|
|