@huyooo/ai-chat-types 0.2.22 → 0.2.23

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/dist/index.d.ts CHANGED
@@ -100,7 +100,7 @@ interface TrashRecord {
100
100
  deletedAt: Date;
101
101
  autoDeleteAt: Date;
102
102
  }
103
- /** Skill 记录(云端管理的 system prompt 片段) */
103
+ /** Skill 记录(system prompt 片段,支持本地或云端管理) */
104
104
  interface SkillRecord {
105
105
  id: string;
106
106
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huyooo/ai-chat-types",
3
- "version": "0.2.22",
3
+ "version": "0.2.23",
4
4
  "description": "AI Chat 通用类型定义 - 支持 Electron/Web/CLI 多端",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -24,7 +24,7 @@
24
24
  "test:watch": "vitest"
25
25
  },
26
26
  "dependencies": {
27
- "@huyooo/ai-chat-core": "^0.2.22"
27
+ "@huyooo/ai-chat-core": "^0.2.23"
28
28
  },
29
29
  "devDependencies": {
30
30
  "tsup": "^8.0.0",
package/src/index.ts CHANGED
@@ -215,7 +215,7 @@ export interface TrashRecord {
215
215
  autoDeleteAt: Date
216
216
  }
217
217
 
218
- /** Skill 记录(云端管理的 system prompt 片段) */
218
+ /** Skill 记录(system prompt 片段,支持本地或云端管理) */
219
219
  export interface SkillRecord {
220
220
  id: string
221
221
  name: string
@@ -386,7 +386,7 @@ export interface ChatAdapter {
386
386
  unregisterIndexListener?(): Promise<{ success: boolean }>
387
387
  onIndexProgress?(callback: (progress: { indexed: number; total: number; currentFile?: string; stage: string; error?: string }) => void): () => void
388
388
 
389
- // ============ Skills API(可选,云端管理)============
389
+ // ============ Skills API(可选)============
390
390
  /** 获取 Skills 列表 */
391
391
  getSkills?(): Promise<SkillRecord[]>
392
392
  /** 创建 Skill */