@opentiny/tiny-robot 0.4.0-alpha.13 → 0.4.0-alpha.14

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/README.md CHANGED
@@ -22,7 +22,7 @@
22
22
  - 🔄 **Streaming Support**: Built-in support for streaming AI responses
23
23
  - 💾 **Storage Strategy**: Flexible storage strategies (LocalStorage, IndexedDB, custom)
24
24
 
25
- English | [简体中文](README_zh.md)
25
+ English | [简体中文](README.zh-CN.md)
26
26
 
27
27
  [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/opentiny/tiny-robot)
28
28
 
package/dist/index.d.ts CHANGED
@@ -4708,23 +4708,15 @@ export { }
4708
4708
  */
4709
4709
  declare module '@tiptap/core' {
4710
4710
  interface Commands<ReturnType> {
4711
- template: {
4712
- /**
4713
- * 设置模板数据(批量)
4714
- */
4715
- setTemplateData: (items: TemplateItem[]) => ReturnType;
4716
- /**
4717
- * 插入模板块
4718
- */
4719
- insertTemplate: (attrs: Partial<TemplateAttrs>) => ReturnType;
4711
+ mention: {
4720
4712
  /**
4721
- * 聚焦到第一个模板块
4713
+ * 插入 mention 节点
4722
4714
  */
4723
- focusFirstTemplate: () => ReturnType;
4715
+ insertMention: (attrs: Partial<MentionAttrs>) => ReturnType;
4724
4716
  /**
4725
- * 插入选择器
4717
+ * 删除 mention 节点
4726
4718
  */
4727
- insertTemplateSelect: (attrs: Partial<TemplateSelectAttrs>) => ReturnType;
4719
+ deleteMention: (id: string) => ReturnType;
4728
4720
  };
4729
4721
  }
4730
4722
  }
@@ -4737,15 +4729,23 @@ declare module '@tiptap/core' {
4737
4729
  */
4738
4730
  declare module '@tiptap/core' {
4739
4731
  interface Commands<ReturnType> {
4740
- mention: {
4732
+ template: {
4741
4733
  /**
4742
- * 插入 mention 节点
4734
+ * 设置模板数据(批量)
4743
4735
  */
4744
- insertMention: (attrs: Partial<MentionAttrs>) => ReturnType;
4736
+ setTemplateData: (items: TemplateItem[]) => ReturnType;
4745
4737
  /**
4746
- * 删除 mention 节点
4738
+ * 插入模板块
4747
4739
  */
4748
- deleteMention: (id: string) => ReturnType;
4740
+ insertTemplate: (attrs: Partial<TemplateAttrs>) => ReturnType;
4741
+ /**
4742
+ * 聚焦到第一个模板块
4743
+ */
4744
+ focusFirstTemplate: () => ReturnType;
4745
+ /**
4746
+ * 插入选择器
4747
+ */
4748
+ insertTemplateSelect: (attrs: Partial<TemplateSelectAttrs>) => ReturnType;
4749
4749
  };
4750
4750
  }
4751
4751
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentiny/tiny-robot",
3
- "version": "0.4.0-alpha.13",
3
+ "version": "0.4.0-alpha.14",
4
4
  "license": "MIT",
5
5
  "description": "TinyRobot 是一个 AI 对话组件库,提供了丰富的 AI 交互组件,助力开发者快速构建企业级 AI 应用;同时也是一个智能助手,支持普通 AI 问答、也支持集成 MCP Server,让 AI 真正帮人“干活”。",
6
6
  "homepage": "https://docs.opentiny.design/tiny-robot/",
@@ -52,7 +52,7 @@
52
52
  },
53
53
  "dependencies": {
54
54
  "@floating-ui/dom": "^1.6.0",
55
- "@opentiny/tiny-robot-svgs": "0.4.0-alpha.13",
55
+ "@opentiny/tiny-robot-svgs": "0.4.0-alpha.14",
56
56
  "@opentiny/vue": "^3.20.0",
57
57
  "@tiptap/core": "^3.11.0",
58
58
  "@tiptap/extension-character-count": "^3.11.0",
@@ -82,5 +82,5 @@
82
82
  "vue": "^3.3.11",
83
83
  "vue-tsc": "^2.2.8"
84
84
  },
85
- "gitHead": "5449411f35112a988894c54391de629842ee69aa"
85
+ "gitHead": "ef0560eddc6d9638e106cb491a72b263f73b4f2e"
86
86
  }
File without changes