@zhin.js/runtime 1.1.12 → 1.1.13

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.
@@ -590,6 +590,11 @@ export declare const HOST_CONFIG_SCHEMA: {
590
590
  approval: {
591
591
  $ref: string;
592
592
  };
593
+ ambient: {
594
+ $ref: string;
595
+ description: string;
596
+ "x-descriptionZh": string;
597
+ };
593
598
  };
594
599
  };
595
600
  workroom: {
@@ -732,6 +732,11 @@
732
732
  },
733
733
  "approval": {
734
734
  "$ref": "#/$defs/decisionTask"
735
+ },
736
+ "ambient": {
737
+ "$ref": "#/$defs/decisionTask",
738
+ "description": "Unprompted group engagement (ai.trigger.ambient). active: the provider decides whether to speak up and the ambient judge models are the fallback; shadow: logged only.",
739
+ "x-descriptionZh": "群聊旁听(ai.trigger.ambient)是否接话。active:由决策服务判断,ambient.judge 模型列表作为兜底;shadow:只记录。"
735
740
  }
736
741
  }
737
742
  },
@@ -2895,7 +2900,7 @@
2895
2900
  "items": {
2896
2901
  "type": "string"
2897
2902
  },
2898
- "description": "判断模型 providerAlias/model;也可以写成列表,前一个失败或限流时按顺序换下一个(免费额度通常按模型分别计算)。默认用主 Agent 的模型"
2903
+ "description": "判断模型 providerAlias/model;也可以写成列表,前一个失败或限流时按顺序换下一个(免费额度通常按模型分别计算)。默认用主 Agent 的模型。ai.decisions.ambient 为 active 时由决策服务先判断,这里的模型作为兜底"
2899
2904
  },
2900
2905
  "quietMs": {
2901
2906
  "type": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhin.js/runtime",
3
- "version": "1.1.12",
3
+ "version": "1.1.13",
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",
@@ -19,8 +19,8 @@
19
19
  "es-module-lexer": "2.3.1",
20
20
  "import-meta-resolve": "4.2.0",
21
21
  "semver": "7.8.5",
22
- "@zhin.js/plugin-runtime": "1.1.16",
23
- "@zhin.js/feature-kit": "1.1.8"
22
+ "@zhin.js/feature-kit": "1.1.8",
23
+ "@zhin.js/plugin-runtime": "1.1.16"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/node": "^26.1.2",
@@ -28,9 +28,9 @@
28
28
  "typescript": "^6.0.3",
29
29
  "@zhin.js/adapter": "1.1.22",
30
30
  "@zhin.js/agent-feature": "1.1.9",
31
- "@zhin.js/handler": "1.1.8",
32
- "@zhin.js/component": "1.1.9",
33
31
  "@zhin.js/command": "1.1.10",
32
+ "@zhin.js/component": "1.1.9",
33
+ "@zhin.js/handler": "1.1.8",
34
34
  "@zhin.js/layout": "1.1.9",
35
35
  "@zhin.js/mcp-feature": "1.1.9",
36
36
  "@zhin.js/middleware": "1.1.9",