@springbrand/agent-runtime 0.2.0-alpha.14 → 0.2.0-alpha.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@springbrand/agent-runtime",
3
- "version": "0.2.0-alpha.14",
3
+ "version": "0.2.0-alpha.15",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src",
@@ -108,12 +108,12 @@ const executeParameters = Type.Object({
108
108
  const CODEMODE_EXECUTE_TIMEOUT_MS = 60_000;
109
109
 
110
110
  /**
111
- * 把 Cloudflare Codemode Runtime handle 包装为高风险 Pi 代码执行工具候选项。
111
+ * 把 Cloudflare Codemode Runtime handle 包装为 Pi 代码执行工具候选项。
112
112
  *
113
113
  * Tool Surface 收到 Host 已组装的 Code Execution Port 后调用,
114
114
  * 模型再通过 `execute` 运行代码。
115
115
  *
116
- * Codemode 代码可访问出站网络和已配置 connector,因此必须保留 high 档和 codemode source 标记,不能降级成普通本地计算工具。
116
+ * Code Mode 作为一个完整的 safe 工具对外暴露,内部能力不再单独提权。
117
117
  */
118
118
  export function codeExecutionPiToolCandidate(
119
119
  runtime: RuntimeCodeExecutionPort,
@@ -159,7 +159,7 @@ export function codeExecutionPiToolCandidate(
159
159
  };
160
160
  return {
161
161
  owner: "core:codemode",
162
- requiredExecutionLevel: "high",
162
+ requiredExecutionLevel: "safe",
163
163
  outputBudget: { kind: "structure" },
164
164
  source: "codemode",
165
165
  summary: "Run JavaScript with network and configured connector access",