@opentiny/tiny-robot 0.4.0 → 0.4.1-alpha.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 v } from "./index4.js";
1
+ import { u as v } from "./index4.js";
2
2
  import { computed as f, Fragment as d, ref as h, watch as p } from "vue";
3
3
  function E(l, i) {
4
4
  const u = f(() => {
package/dist/utils.js CHANGED
@@ -1,4 +1,4 @@
1
- import { u as i } from "./index4.js";
1
+ import { g as i } from "./index4.js";
2
2
  function e(t) {
3
3
  if (typeof t == "number") return `${t}px`;
4
4
  const r = t == null ? void 0 : t.trim();
@@ -1,4 +1,4 @@
1
- import { defineComponent as l, useCssVars as a, openBlock as s, createElementBlock as r, createElementVNode as n, createBlock as _, resolveDynamicComponent as m, createCommentVNode as p, toDisplayString as i, renderSlot as d } from "vue";
1
+ import { defineComponent as l, useCssVars as a, openBlock as s, createElementBlock as r, createElementVNode as c, createBlock as _, resolveDynamicComponent as m, createCommentVNode as p, toDisplayString as i, renderSlot as d } from "vue";
2
2
  import { _ as f } from "../_plugin-vue_export-helper.js";
3
3
  const u = { class: "tr-welcome" }, h = { class: "tr-welcome__title-wrapper" }, w = {
4
4
  key: 0,
@@ -12,22 +12,22 @@ const u = { class: "tr-welcome" }, h = { class: "tr-welcome__title-wrapper" }, w
12
12
  icon: {}
13
13
  },
14
14
  setup(o) {
15
- a((c) => ({
16
- a8ff55f2: e.align
15
+ a((n) => ({
16
+ b2013dc0: e.align
17
17
  }));
18
18
  const e = o;
19
- return (c, g) => (s(), r("div", u, [
20
- n("div", h, [
19
+ return (n, g) => (s(), r("div", u, [
20
+ c("div", h, [
21
21
  e.icon ? (s(), r("span", w, [
22
22
  (s(), _(m(e.icon)))
23
23
  ])) : p("", !0),
24
- n("h3", v, i(e.title), 1)
24
+ c("h3", v, i(e.title), 1)
25
25
  ]),
26
- n("span", k, i(e.description), 1),
27
- d(c.$slots, "footer", {}, void 0, !0)
26
+ c("span", k, i(e.description), 1),
27
+ d(n.$slots, "footer", {}, void 0, !0)
28
28
  ]));
29
29
  }
30
- }), t = /* @__PURE__ */ f(x, [["__scopeId", "data-v-b9a85199"]]);
30
+ }), t = /* @__PURE__ */ f(x, [["__scopeId", "data-v-6594f959"]]);
31
31
  t.name = "TrWelcome";
32
32
  const C = function(o) {
33
33
  o.component(t.name, t);
package/package.json CHANGED
@@ -1,15 +1,46 @@
1
1
  {
2
2
  "name": "@opentiny/tiny-robot",
3
- "version": "0.4.0",
3
+ "version": "0.4.1-alpha.0",
4
+ "license": "MIT",
5
+ "description": "TinyRobot 是一个 AI 对话组件库,提供了丰富的 AI 交互组件,助力开发者快速构建企业级 AI 应用;同时也是一个智能助手,支持普通 AI 问答、也支持集成 MCP Server,让 AI 真正帮人“干活”。",
6
+ "homepage": "https://docs.opentiny.design/tiny-robot/",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/opentiny/tiny-robot.git"
10
+ },
11
+ "bugs": {
12
+ "url": "https://github.com/opentiny/tiny-robot/issues"
13
+ },
14
+ "keywords": [
15
+ "vue",
16
+ "vue3",
17
+ "vue-components",
18
+ "component-library",
19
+ "ai",
20
+ "ai-components",
21
+ "chat",
22
+ "chat-ui",
23
+ "chatbot",
24
+ "llm",
25
+ "openai",
26
+ "assistant",
27
+ "streaming",
28
+ "conversation",
29
+ "tiny-robot",
30
+ "opentiny"
31
+ ],
4
32
  "publishConfig": {
5
33
  "access": "public"
6
34
  },
7
35
  "type": "module",
8
36
  "main": "./dist/index.js",
9
37
  "module": "./dist/index.js",
10
- "sideEffects": false,
38
+ "sideEffects": [
39
+ "**/*.css"
40
+ ],
11
41
  "files": [
12
- "dist"
42
+ "dist",
43
+ "README*"
13
44
  ],
14
45
  "scripts": {
15
46
  "dev": "vue-tsc && vite build --watch",
@@ -23,19 +54,21 @@
23
54
  },
24
55
  "dependencies": {
25
56
  "@floating-ui/dom": "^1.6.0",
26
- "@opentiny/tiny-robot-svgs": "0.4.0",
57
+ "@opentiny/tiny-robot-svgs": "0.4.1-alpha.0",
27
58
  "@opentiny/vue": "^3.20.0",
28
- "@tiptap/core": "^3.11.0",
29
- "@tiptap/extension-character-count": "^3.11.0",
30
- "@tiptap/extension-document": "^3.11.0",
31
- "@tiptap/extension-history": "^3.11.0",
32
- "@tiptap/extension-paragraph": "^3.11.0",
33
- "@tiptap/extension-placeholder": "^3.11.0",
34
- "@tiptap/extension-text": "^3.11.0",
35
- "@tiptap/pm": "^3.11.0",
36
- "@tiptap/vue-3": "^3.11.0",
59
+ "@tiptap/core": "3.17.1",
60
+ "@tiptap/extension-character-count": "3.17.1",
61
+ "@tiptap/extension-document": "3.17.1",
62
+ "@tiptap/extension-history": "3.17.1",
63
+ "@tiptap/extension-paragraph": "3.17.1",
64
+ "@tiptap/extension-placeholder": "3.17.1",
65
+ "@tiptap/extension-text": "3.17.1",
66
+ "@tiptap/extensions": "3.17.1",
67
+ "@tiptap/pm": "3.17.1",
68
+ "@tiptap/vue-3": "3.17.1",
37
69
  "@vueuse/core": "^13.1.0",
38
- "jsonrepair": "^3.13.1"
70
+ "jsonrepair": "^3.13.1",
71
+ "unicode-segmenter": "^0.14.5"
39
72
  },
40
73
  "devDependencies": {
41
74
  "@types/dom-speech-recognition": "^0.0.6",
@@ -53,5 +86,9 @@
53
86
  "vue": "^3.3.11",
54
87
  "vue-tsc": "^2.2.8"
55
88
  },
56
- "gitHead": "558095a424930d99e079e6e1cf4fe8929d48c7b2"
89
+ "optionalDependencies": {
90
+ "@tiptap/extension-bubble-menu": "3.17.1",
91
+ "@tiptap/extension-floating-menu": "3.17.1"
92
+ },
93
+ "gitHead": "22cb4503b47f2e1d2134d4a90d02b5643672ef6c"
57
94
  }
package/dist/no-data.js DELETED
@@ -1,4 +0,0 @@
1
- const l = "data:image/svg+xml,%3csvg%20width='120.000000'%20height='120.000000'%20viewBox='0%200%20120%20120'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cdesc%3e%20Created%20with%20Pixso.%20%3c/desc%3e%3cdefs%20/%3e%3crect%20width='120.000000'%20height='120.000000'%20fill='%23FFFFFF'%20fill-opacity='0'%20/%3e%3cpath%20d='M18.75%2037.31L104.52%2037.31C107.68%2037.31%20110.25%2039.87%20110.25%2043.04L110.25%20105.15C110.25%20108.28%20107.71%20110.81%20104.59%20110.81L24.4%20110.81C21.28%20110.81%2018.75%20108.28%2018.75%20105.15L18.75%2037.31Z'%20fill='%23F0F0F0'%20fill-opacity='1.000000'%20fill-rule='evenodd'%20/%3e%3cpath%20d='M13.22%2038.06L84.75%2038.06L84.75%20105.15C84.75%20108.28%2082.21%20110.81%2079.09%20110.81L16.9%20110.81C13.78%20110.81%2011.25%20108.12%2011.25%20105L11.25%2059.25L0.75%2059.25C0.75%2058.15%2012.13%2038.06%2013.22%2038.06Z'%20fill='%23FFFFFF'%20fill-opacity='1.000000'%20fill-rule='evenodd'%20/%3e%3cpath%20d='M84.44%2038.06L105.13%2038.06C106.16%2038.06%20107.41%2037.86%20107.91%2038.76L118.07%2056.96C118.45%2057.64%20119.18%2058.68%20118.5%2059.06C118.28%2059.17%20117.08%2059.06%20116.84%2059.06L99.33%2059.06C97.21%2059.06%2095.27%2057.87%2094.3%2055.98L84.44%2038.06Z'%20fill='%23FFFFFF'%20fill-opacity='1.000000'%20fill-rule='evenodd'%20/%3e%3cpath%20d='M110.42%2059.08L110.42%20105.09C110.42%20108.35%20107.78%20111%20104.51%20111L78.89%20111L78.89%20109.68L104.51%20109.68C107.05%20109.68%20109.11%20107.63%20109.11%20105.09L109.11%2059.08L110.42%2059.08Z'%20fill='%23808080'%20fill-opacity='1.000000'%20fill-rule='nonzero'%20/%3e%3cpath%20d='M85.38%2037.5L85.38%20105.09C85.38%20108.35%2082.73%20111%2079.46%20111L16.42%20111C13.15%20111%2010.51%20108.35%2010.51%20105.09L10.51%2059.08L11.82%2059.08L11.82%20105.09C11.82%20107.63%2013.88%20109.68%2016.42%20109.68L79.46%20109.68C82%20109.68%2084.06%20107.63%2084.06%20105.09L84.06%2038.81L16%2038.81L16%2037.5L85.38%2037.5Z'%20fill='%23808080'%20fill-opacity='1.000000'%20fill-rule='nonzero'%20/%3e%3cpath%20d='M14.14%2037.5C13.25%2037.5%2012.42%2037.96%2011.95%2038.74L0.19%2057.97C-0.19%2058.59%200%2059.41%200.6%2059.79C0.81%2059.92%201.05%2060%201.29%2060L68.53%2060C70.28%2060%2071.92%2059.08%2072.87%2057.58L85.56%2037.5L14.14%2037.5ZM14.47%2039L82.76%2039L71.48%2056.71C70.78%2057.82%2069.56%2058.5%2068.26%2058.5L1.76%2058.5L13.39%2039.61C13.62%2039.23%2014.03%2039%2014.47%2039Z'%20fill='%23808080'%20fill-opacity='1.000000'%20fill-rule='nonzero'%20/%3e%3cpath%20d='M106.12%2037.5C106.97%2037.5%20107.75%2037.95%20108.21%2038.7L119.8%2057.79C120.17%2058.4%20120%2059.21%20119.43%2059.6C119.22%2059.74%20118.99%2059.81%20118.75%2059.81L99.22%2059.81C97.46%2059.81%2095.83%2058.82%2094.94%2057.22L83.97%2037.5L106.12%2037.5ZM106.09%2039L86.69%2039L96.27%2056.57C96.92%2057.76%2098.11%2058.5%2099.39%2058.5L118.35%2058.5L107.1%2039.59C106.88%2039.22%20106.5%2039%20106.09%2039Z'%20fill='%23808080'%20fill-opacity='1.000000'%20fill-rule='nonzero'%20/%3e%3crect%20x='20.250000'%20y='84.000000'%20rx='1.886225'%20width='20.999998'%20height='6.000000'%20fill='%231476FF'%20fill-opacity='1.000000'%20/%3e%3cpath%20d='M35.34%2094.5C35.7%2094.5%2036%2094.83%2036%2095.25C36%2095.66%2035.7%2096%2035.34%2096L20.9%2096C20.54%2096%2020.25%2095.66%2020.25%2095.25C20.25%2094.83%2020.54%2094.5%2020.9%2094.5L35.34%2094.5Z'%20fill='%23808080'%20fill-opacity='1.000000'%20fill-rule='nonzero'%20/%3e%3crect%20x='20.250000'%20y='99.000000'%20rx='0.750000'%20width='7.500000'%20height='1.500000'%20fill='%23808080'%20fill-opacity='1.000000'%20/%3e%3cpath%20d='M60%209C60.41%209%2060.75%209.29%2060.75%209.66L60.75%2018.91C60.75%2019.27%2060.41%2019.57%2060%2019.57C59.58%2019.57%2059.24%2019.27%2059.24%2018.91L59.24%209.66C59.24%209.29%2059.58%209%2060%209Z'%20fill='%23808080'%20fill-opacity='1.000000'%20fill-rule='nonzero'%20/%3e%3cpath%20d='M84.83%2012.96C85.19%2013.17%2085.33%2013.59%2085.15%2013.91L80.52%2021.92C80.34%2022.24%2079.9%2022.33%2079.54%2022.12C79.18%2021.91%2079.03%2021.48%2079.21%2021.17L83.84%2013.16C84.02%2012.84%2084.46%2012.75%2084.83%2012.96Z'%20fill='%23808080'%20fill-opacity='1.000000'%20fill-rule='nonzero'%20/%3e%3cpath%20d='M35.17%2012.96C35.53%2012.75%2035.97%2012.84%2036.15%2013.16L40.78%2021.17C40.96%2021.48%2040.81%2021.91%2040.45%2022.12C40.09%2022.33%2039.65%2022.24%2039.47%2021.92L34.84%2013.91C34.66%2013.59%2034.81%2013.17%2035.17%2012.96Z'%20fill='%23808080'%20fill-opacity='1.000000'%20fill-rule='nonzero'%20/%3e%3c/svg%3e";
2
- export {
3
- l as _
4
- };