@steerable/agent-shell 0.6.40 → 0.6.41
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* W4.1.1 reverse channel: serve the sidecar's `host.process.spawn` by
|
|
3
3
|
* spawning the command confined on Windows via the win-spawn-helper Rust
|
|
4
|
-
* binary (restricted token + Job Object; contract:
|
|
4
|
+
* binary (restricted token + Job Object; contract: OpenSteerable
|
|
5
5
|
* docs/spec/safety.md "Host capability surface").
|
|
6
6
|
*
|
|
7
7
|
* Fail closed by construction: on non-Windows platforms (which have local
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* W4.1.1 reverse channel: serve the sidecar's `host.process.spawn` by
|
|
3
3
|
* spawning the command confined on Windows via the win-spawn-helper Rust
|
|
4
|
-
* binary (restricted token + Job Object; contract:
|
|
4
|
+
* binary (restricted token + Job Object; contract: OpenSteerable
|
|
5
5
|
* docs/spec/safety.md "Host capability surface").
|
|
6
6
|
*
|
|
7
7
|
* Fail closed by construction: on non-Windows platforms (which have local
|
package/dist/tool-router.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { type AgentToolPolicy } from './local-backend/agent-capability.js';
|
|
|
10
10
|
/** 已注册 MCP 服务的动态工具名前缀:`mcp__<serverKey>__<toolName>`。 */
|
|
11
11
|
export declare const MCP_DYNAMIC_TOOL_PREFIX = "mcp__";
|
|
12
12
|
/**
|
|
13
|
-
* 工具曝光分层(
|
|
13
|
+
* 工具曝光分层(OpenSteerable Wave 2 同构):`direct` 进模型可见列表;
|
|
14
14
|
* `deferred` 可分发、可经 `tool_search` 发现,但不占每轮工具列表的 token;
|
|
15
15
|
* `hidden` 仅可分发。缺省 `direct`。
|
|
16
16
|
*
|
|
@@ -209,7 +209,7 @@ export declare class ToolRouter {
|
|
|
209
209
|
/**
|
|
210
210
|
* `tool_search` 处理器:BM25 排序 deferred 名录(name 分词计两次),返回
|
|
211
211
|
* 完整 schema,结果有界(默认 8,封顶 20)。算法、常量、默认上限与返回
|
|
212
|
-
* 文案都与
|
|
212
|
+
* 文案都与 OpenSteerable `tool_search.py` 对齐——同名工具在两侧给
|
|
213
213
|
* 出同样的名次;hidden 层不进搜索。
|
|
214
214
|
*
|
|
215
215
|
* 智能体工具策略在这里同样生效:否则每轮列表藏起来的工具会从这条发现缝
|
package/dist/tool-router.js
CHANGED
|
@@ -10,7 +10,7 @@ import { getResolvedHostTools } from './host-tools-runtime.js';
|
|
|
10
10
|
/** 已注册 MCP 服务的动态工具名前缀:`mcp__<serverKey>__<toolName>`。 */
|
|
11
11
|
export const MCP_DYNAMIC_TOOL_PREFIX = 'mcp__';
|
|
12
12
|
/**
|
|
13
|
-
* 工具曝光分层(
|
|
13
|
+
* 工具曝光分层(OpenSteerable Wave 2 同构):`direct` 进模型可见列表;
|
|
14
14
|
* `deferred` 可分发、可经 `tool_search` 发现,但不占每轮工具列表的 token;
|
|
15
15
|
* `hidden` 仅可分发。缺省 `direct`。
|
|
16
16
|
*
|
|
@@ -881,7 +881,7 @@ export class ToolRouter {
|
|
|
881
881
|
/**
|
|
882
882
|
* `tool_search` 处理器:BM25 排序 deferred 名录(name 分词计两次),返回
|
|
883
883
|
* 完整 schema,结果有界(默认 8,封顶 20)。算法、常量、默认上限与返回
|
|
884
|
-
* 文案都与
|
|
884
|
+
* 文案都与 OpenSteerable `tool_search.py` 对齐——同名工具在两侧给
|
|
885
885
|
* 出同样的名次;hidden 层不进搜索。
|
|
886
886
|
*
|
|
887
887
|
* 智能体工具策略在这里同样生效:否则每轮列表藏起来的工具会从这条发现缝
|
package/dist/tool-search-rank.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steerable/agent-shell",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.41",
|
|
4
4
|
"description": "Steerable framework — product-neutral desktop/headless agent host (Tier 5). Electron main + preload + headless HTTP server (BS) sharing one storage/sidecar/tooling core; scenario packs extend it through the @steerable/pack-sdk contract and are composed at build time by the consuming product.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://steerableframework.com/",
|
|
@@ -55,9 +55,9 @@
|
|
|
55
55
|
"he": "^1.2.0",
|
|
56
56
|
"node-pty": "^1.1.0",
|
|
57
57
|
"semver": "^7.8.0",
|
|
58
|
-
"@steerable/agent-harness": "0.6.
|
|
59
|
-
"@steerable/
|
|
60
|
-
"@steerable/
|
|
58
|
+
"@steerable/agent-harness": "0.6.41",
|
|
59
|
+
"@steerable/agent-protocol": "0.6.41",
|
|
60
|
+
"@steerable/pack-sdk": "0.6.41"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@types/better-sqlite3": "^7.6.13",
|