@zhin.js/runtime 1.0.15 → 1.0.17
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/lib/host-config-schema.json +45 -0
- package/package.json +2 -2
|
@@ -11,6 +11,51 @@
|
|
|
11
11
|
"description": "Providers, Agents, sessions, memory, tools, and execution security.",
|
|
12
12
|
"x-descriptionZh": "Provider、Agent、会话、记忆、工具与执行安全策略。",
|
|
13
13
|
"properties": {
|
|
14
|
+
"workroom": {
|
|
15
|
+
"type": "object",
|
|
16
|
+
"additionalProperties": true,
|
|
17
|
+
"description": "Process-owned Workroom control-plane policy; Projects remain in the persistent Catalog.",
|
|
18
|
+
"x-descriptionZh": "进程持有的 Workroom 控制面策略;Project 仍由持久化 Catalog 管理。",
|
|
19
|
+
"properties": {
|
|
20
|
+
"trustedPackPublishers": {
|
|
21
|
+
"type": "array",
|
|
22
|
+
"items": { "type": "string", "minLength": 1 },
|
|
23
|
+
"uniqueItems": true,
|
|
24
|
+
"description": "Authenticated Console principal ids allowed to publish shared Capability Packs.",
|
|
25
|
+
"x-descriptionZh": "允许发布共享 Capability Pack 的 Console 认证 principalId。"
|
|
26
|
+
},
|
|
27
|
+
"disclosure": {
|
|
28
|
+
"type": "object",
|
|
29
|
+
"additionalProperties": false,
|
|
30
|
+
"description": "Explicit P12 model processor contracts for Workroom disclosure bootstrap.",
|
|
31
|
+
"x-descriptionZh": "Workroom 披露初始化使用的显式 P12 模型处理方契约。",
|
|
32
|
+
"properties": {
|
|
33
|
+
"tenantId": { "type": "string", "minLength": 1 },
|
|
34
|
+
"modelProviders": {
|
|
35
|
+
"type": "object",
|
|
36
|
+
"additionalProperties": {
|
|
37
|
+
"type": "object",
|
|
38
|
+
"additionalProperties": false,
|
|
39
|
+
"required": ["endpoint", "processingRegions", "maxConfidentiality", "external", "noTraining", "loggingMode", "maximumRetentionSeconds", "allowsRedisclosure", "supportsDeletion"],
|
|
40
|
+
"properties": {
|
|
41
|
+
"endpoint": { "type": "string", "minLength": 1 },
|
|
42
|
+
"owner": { "type": "string", "minLength": 1 },
|
|
43
|
+
"trustDomain": { "type": "string", "minLength": 1 },
|
|
44
|
+
"processingRegions": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "type": "string", "minLength": 1 } },
|
|
45
|
+
"maxConfidentiality": { "type": "string", "enum": ["public", "project_internal", "confidential", "restricted"] },
|
|
46
|
+
"external": { "type": "boolean" },
|
|
47
|
+
"noTraining": { "type": "boolean" },
|
|
48
|
+
"loggingMode": { "type": "string", "enum": ["disabled", "metadata_only", "full"] },
|
|
49
|
+
"maximumRetentionSeconds": { "type": "integer", "minimum": 1 },
|
|
50
|
+
"allowsRedisclosure": { "type": "boolean" },
|
|
51
|
+
"supportsDeletion": { "type": "boolean" }
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
14
59
|
"agent": {
|
|
15
60
|
"type": "object",
|
|
16
61
|
"additionalProperties": true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zhin.js/runtime",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.17",
|
|
4
4
|
"description": "Static Plugin graph, generation transaction and HMR Root runtime for Zhin.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"@types/node": "^26.1.2",
|
|
26
26
|
"typescript": "^6.0.3",
|
|
27
27
|
"@zhin.js/adapter": "1.2.1",
|
|
28
|
-
"@zhin.js/agent-feature": "1.0.13",
|
|
29
28
|
"@zhin.js/command": "1.0.16",
|
|
29
|
+
"@zhin.js/agent-feature": "1.0.13",
|
|
30
30
|
"@zhin.js/component": "1.0.13",
|
|
31
31
|
"@zhin.js/layout": "1.0.13",
|
|
32
32
|
"@zhin.js/mcp-feature": "1.0.13",
|