@webskill/chatbot 0.17.0 → 0.18.0

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,4 +1,4 @@
1
- import { a as RuntimeRendererId, n as RuntimeConfig } from "./index-B25ux241.js";
1
+ import { a as RuntimeRendererId, n as RuntimeConfig } from "./index-Nnkn73aD.js";
2
2
  //#region src/config/schema.d.ts
3
3
  /**
4
4
  * 配置文件的字段表——**唯一**手写的部分。
@@ -79,7 +79,10 @@ const RUNTIME_CONFIG_BOUNDS = {
79
79
  recordLimit: { min: 1 }
80
80
  },
81
81
  /** 单个模型条目的区间;`llm.entries` 是数组,够不到上面的按分区结构 */
82
- llmEntry: { requestTimeoutMs: { min: 1e3 } },
82
+ llmEntry: {
83
+ requestTimeoutMs: { min: 1e3 },
84
+ contextWindow: { min: 1024 }
85
+ },
83
86
  quickPromptLimit: {
84
87
  min: 1,
85
88
  max: 20
package/dist/vite.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { n as ParseWebSkillConfigOptions, r as ParsedWebSkillConfig } from "./parse-Cc8nFxir.js";
1
+ import { n as ParseWebSkillConfigOptions, r as ParsedWebSkillConfig } from "./parse-B8D0fl8I.js";
2
2
  import { Plugin } from "vite";
3
3
  //#region src/vite.d.ts
4
4
  /**
package/dist/vite.js CHANGED
@@ -1,4 +1,4 @@
1
- import { n as parseWebSkillConfig } from "./parse-79VbXLl4.js";
1
+ import { n as parseWebSkillConfig } from "./parse-Bo68XTn_.js";
2
2
  import { readFileSync } from "node:fs";
3
3
  import { webcrypto } from "node:crypto";
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webskill/chatbot",
3
- "version": "0.17.0",
3
+ "version": "0.18.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -38,7 +38,7 @@
38
38
  "@a2ui/web_core": "^0.10.5",
39
39
  "@lit/context": "^1.1.0",
40
40
  "@openuidev/react-lang": "0.2.8",
41
- "@webskill/sdk": "^0.20.0",
41
+ "@webskill/sdk": "^0.21.0",
42
42
  "react": ">=19.0.0",
43
43
  "react-dom": ">=19.0.0",
44
44
  "vite": ">=5.0.0",