@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.
Files changed (33) hide show
  1. package/README.md +12 -11
  2. package/bin/config/AgentInitializer.d.ts +1 -1
  3. package/bin/config/AgentInitializer.js +1 -1
  4. package/bin/executor/composer/system/default/assets/core.prompt.d.ts +1 -1
  5. package/bin/executor/composer/system/default/assets/core.prompt.d.ts.map +1 -1
  6. package/bin/executor/composer/system/default/assets/core.prompt.js +1 -1
  7. package/bin/executor/composer/system/default/assets/core.prompt.js.map +1 -1
  8. package/bin/index.d.ts +1 -2
  9. package/bin/index.d.ts.map +1 -1
  10. package/bin/index.js.map +1 -1
  11. package/bin/plugin/core/PluginCatalog.js +2 -2
  12. package/bin/plugin/core/PluginCatalog.js.map +1 -1
  13. package/bin/plugin/types/PluginApi.d.ts +1 -1
  14. package/bin/plugin/types/PluginApi.js +1 -1
  15. package/bin/types/runtime/platform/Platform.d.ts +7 -7
  16. package/bin/types/runtime/platform/PlatformGateway.d.ts +4 -17
  17. package/bin/types/runtime/platform/PlatformGateway.d.ts.map +1 -1
  18. package/bin/types/runtime/platform/PlatformGateway.js +1 -1
  19. package/package.json +2 -2
  20. package/src/config/AgentInitializer.ts +1 -1
  21. package/src/executor/composer/system/default/assets/core.prompt.ts +1 -1
  22. package/src/executor/composer/system/default/assets/core.prompt.ts.txt +2 -2
  23. package/src/index.ts +0 -2
  24. package/src/plugin/core/PluginCatalog.ts +2 -2
  25. package/src/plugin/types/PluginApi.ts +1 -1
  26. package/src/types/runtime/platform/Platform.ts +7 -7
  27. package/src/types/runtime/platform/PlatformGateway.ts +4 -18
  28. package/tsconfig.tsbuildinfo +1 -1
  29. package/bin/types/config/Start.d.ts +0 -19
  30. package/bin/types/config/Start.d.ts.map +0 -1
  31. package/bin/types/config/Start.js +0 -13
  32. package/bin/types/config/Start.js.map +0 -1
  33. package/src/types/config/Start.ts +0 -19
@@ -1,25 +1,11 @@
1
1
  /**
2
- * 平台控制面读取 agent 项目与 daemon 状态时使用的宽松类型。
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
- * agent server host。
109
+ * Town Agent HTTP gateway host。
124
110
  */
125
111
  host?: unknown;
126
112
 
127
113
  /**
128
- * agent server port。
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
- * agent server 中该渠道是否处于运行态。
164
+ * Agent runtime 中该渠道是否处于运行态。
179
165
  */
180
166
  running?: unknown;
181
167