@aheart-ui/ai 1.0.0 → 1.1.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.
Files changed (126) hide show
  1. package/README.md +10 -1
  2. package/es/actions/index.d.ts +2 -0
  3. package/es/actions/index.js +5 -0
  4. package/es/actions/style.css +36 -0
  5. package/es/actions.vue.d.ts +4 -4
  6. package/es/agent/index.d.ts +5 -0
  7. package/es/agent/index.js +12 -0
  8. package/es/agent/style.css +308 -0
  9. package/es/agent-execution.vue.d.ts +4 -4
  10. package/es/agent-execution.vue.js +1 -1
  11. package/es/agent-workbench/index.d.ts +2 -0
  12. package/es/agent-workbench/index.js +5 -0
  13. package/es/agent-workbench/style.css +1332 -0
  14. package/es/agent-workbench.vue.d.ts +4 -4
  15. package/es/agent-workbench.vue.js +1 -1
  16. package/es/attachments/index.d.ts +2 -0
  17. package/es/attachments/index.js +5 -0
  18. package/es/attachments/style.css +62 -0
  19. package/es/attachments.vue.d.ts +4 -4
  20. package/es/bubble/index.d.ts +2 -0
  21. package/es/bubble/index.js +5 -0
  22. package/es/bubble/style.css +241 -0
  23. package/es/bubble.vue.d.ts +3 -3
  24. package/es/chat/index.d.ts +11 -0
  25. package/es/chat/index.js +23 -0
  26. package/es/chat/style.css +595 -0
  27. package/es/chat-panel/index.d.ts +3 -0
  28. package/es/chat-panel/index.js +8 -0
  29. package/es/chat-panel/style.css +595 -0
  30. package/es/chat-panel.vue.d.ts +4 -4
  31. package/es/conversations/index.d.ts +2 -0
  32. package/es/conversations/index.js +5 -0
  33. package/es/conversations/style.css +48 -0
  34. package/es/conversations.vue.d.ts +4 -4
  35. package/es/form/index.d.ts +3 -0
  36. package/es/form/index.js +9 -0
  37. package/es/form/style.css +242 -0
  38. package/es/form-field.vue.d.ts +4 -4
  39. package/es/form.vue.d.ts +4 -4
  40. package/es/process/index.d.ts +2 -0
  41. package/es/process/index.js +5 -0
  42. package/es/process/style.css +77 -0
  43. package/es/process.vue.d.ts +3 -3
  44. package/es/prompts/index.d.ts +2 -0
  45. package/es/prompts/index.js +5 -0
  46. package/es/prompts/style.css +76 -0
  47. package/es/prompts.vue.d.ts +4 -4
  48. package/es/sender/index.d.ts +2 -0
  49. package/es/sender/index.js +5 -0
  50. package/es/sender/style.css +88 -0
  51. package/es/sender.vue.d.ts +4 -4
  52. package/es/sources/index.d.ts +2 -0
  53. package/es/sources/index.js +5 -0
  54. package/es/sources/style.css +54 -0
  55. package/es/sources.vue.d.ts +3 -3
  56. package/es/thought-chain/index.d.ts +2 -0
  57. package/es/thought-chain/index.js +5 -0
  58. package/es/thought-chain/style.css +77 -0
  59. package/es/thought-chain.vue.d.ts +3 -3
  60. package/es/welcome/index.d.ts +2 -0
  61. package/es/welcome/index.js +5 -0
  62. package/es/welcome/style.css +33 -0
  63. package/es/welcome.vue.d.ts +3 -3
  64. package/lib/actions/index.d.ts +2 -0
  65. package/lib/actions/index.js +1 -0
  66. package/lib/actions/style.css +36 -0
  67. package/lib/actions.vue.d.ts +4 -4
  68. package/lib/agent/index.d.ts +5 -0
  69. package/lib/agent/index.js +1 -0
  70. package/lib/agent/style.css +308 -0
  71. package/lib/agent-execution.vue.d.ts +4 -4
  72. package/lib/agent-execution.vue.js +1 -1
  73. package/lib/agent-workbench/index.d.ts +2 -0
  74. package/lib/agent-workbench/index.js +1 -0
  75. package/lib/agent-workbench/style.css +1332 -0
  76. package/lib/agent-workbench.vue.d.ts +4 -4
  77. package/lib/agent-workbench.vue.js +1 -1
  78. package/lib/attachments/index.d.ts +2 -0
  79. package/lib/attachments/index.js +1 -0
  80. package/lib/attachments/style.css +62 -0
  81. package/lib/attachments.vue.d.ts +4 -4
  82. package/lib/bubble/index.d.ts +2 -0
  83. package/lib/bubble/index.js +1 -0
  84. package/lib/bubble/style.css +241 -0
  85. package/lib/bubble.vue.d.ts +3 -3
  86. package/lib/chat/index.d.ts +11 -0
  87. package/lib/chat/index.js +1 -0
  88. package/lib/chat/style.css +595 -0
  89. package/lib/chat-panel/index.d.ts +3 -0
  90. package/lib/chat-panel/index.js +1 -0
  91. package/lib/chat-panel/style.css +595 -0
  92. package/lib/chat-panel.vue.d.ts +4 -4
  93. package/lib/conversations/index.d.ts +2 -0
  94. package/lib/conversations/index.js +1 -0
  95. package/lib/conversations/style.css +48 -0
  96. package/lib/conversations.vue.d.ts +4 -4
  97. package/lib/form/index.d.ts +3 -0
  98. package/lib/form/index.js +1 -0
  99. package/lib/form/style.css +242 -0
  100. package/lib/form-field.vue.d.ts +4 -4
  101. package/lib/form.vue.d.ts +4 -4
  102. package/lib/process/index.d.ts +2 -0
  103. package/lib/process/index.js +1 -0
  104. package/lib/process/style.css +77 -0
  105. package/lib/process.vue.d.ts +3 -3
  106. package/lib/prompts/index.d.ts +2 -0
  107. package/lib/prompts/index.js +1 -0
  108. package/lib/prompts/style.css +76 -0
  109. package/lib/prompts.vue.d.ts +4 -4
  110. package/lib/sender/index.d.ts +2 -0
  111. package/lib/sender/index.js +1 -0
  112. package/lib/sender/style.css +88 -0
  113. package/lib/sender.vue.d.ts +4 -4
  114. package/lib/sources/index.d.ts +2 -0
  115. package/lib/sources/index.js +1 -0
  116. package/lib/sources/style.css +54 -0
  117. package/lib/sources.vue.d.ts +3 -3
  118. package/lib/thought-chain/index.d.ts +2 -0
  119. package/lib/thought-chain/index.js +1 -0
  120. package/lib/thought-chain/style.css +77 -0
  121. package/lib/thought-chain.vue.d.ts +3 -3
  122. package/lib/welcome/index.d.ts +2 -0
  123. package/lib/welcome/index.js +1 -0
  124. package/lib/welcome/style.css +33 -0
  125. package/lib/welcome.vue.d.ts +3 -3
  126. package/package.json +105 -3
@@ -0,0 +1,54 @@
1
+ :root {
2
+ --aheart-ai-cyan: #0e7490;
3
+ --aheart-ai-cyan-strong: #0e7490;
4
+ --aheart-ai-brand-strong: #0958d9;
5
+ --aheart-ai-cyan-soft: #ecfeff;
6
+ --aheart-ai-line: #e4e7ec;
7
+ --aheart-ai-surface: #ffffff;
8
+ --aheart-ai-surface-subtle: #f8fafc;
9
+ --aheart-ai-text: #182230;
10
+ --aheart-ai-text-secondary: #667085;
11
+ }
12
+
13
+ .aheart-ai-sources h3,
14
+ .aheart-ai-sources p {
15
+ margin: 0;
16
+ }
17
+
18
+ .aheart-ai-sources {
19
+ display: grid;
20
+ gap: 8px;
21
+ }
22
+
23
+ .aheart-ai-sources ul {
24
+ margin: 0;
25
+ padding: 0;
26
+ list-style: none;
27
+ }
28
+
29
+ .aheart-ai-sources li {
30
+ display: flex;
31
+ align-items: center;
32
+ justify-content: space-between;
33
+ gap: 8px;
34
+ min-block-size: 34px;
35
+ padding: 6px 8px;
36
+ border: 1px solid var(--aheart-ai-line);
37
+ border-radius: 5px;
38
+ background: var(--aheart-ai-surface-subtle);
39
+ font-size: 12px;
40
+ }
41
+
42
+ .aheart-ai-sources {
43
+ padding-block-start: 8px;
44
+ border-block-start: 1px solid var(--aheart-ai-line);
45
+ }
46
+
47
+ .aheart-ai-sources a {
48
+ color: var(--aheart-ai-brand-strong);
49
+ }
50
+
51
+ .aheart-ai-sources h3 {
52
+ font-size: 12px;
53
+ color: var(--aheart-ai-text-secondary);
54
+ }
@@ -1,15 +1,15 @@
1
1
  import type { AISource } from './types';
2
- declare const _default: import("@vue/runtime-core").DefineComponent<import("@vue/runtime-core").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  sources?: AISource[] | undefined;
4
4
  }>, {
5
5
  sources: () => never[];
6
- }>>, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
6
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
7
7
  sources?: AISource[] | undefined;
8
8
  }>, {
9
9
  sources: () => never[];
10
10
  }>>> & Readonly<{}>, {
11
11
  sources: AISource[];
12
- }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
12
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
13
13
  export default _default;
14
14
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
15
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -0,0 +1,2 @@
1
+ export { default as AIThoughtChain, default } from '../thought-chain.vue';
2
+ export type * from '../types';
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../thought-chain.vue.js");exports.AIThoughtChain=e.default;exports.default=e.default;
@@ -0,0 +1,77 @@
1
+ :root {
2
+ --aheart-ai-cyan: #0e7490;
3
+ --aheart-ai-cyan-strong: #0e7490;
4
+ --aheart-ai-brand-strong: #0958d9;
5
+ --aheart-ai-cyan-soft: #ecfeff;
6
+ --aheart-ai-line: #e4e7ec;
7
+ --aheart-ai-surface: #ffffff;
8
+ --aheart-ai-surface-subtle: #f8fafc;
9
+ --aheart-ai-text: #182230;
10
+ --aheart-ai-text-secondary: #667085;
11
+ }
12
+
13
+ .aheart-ai-process h3 {
14
+ margin: 0;
15
+ }
16
+
17
+ .aheart-ai-process small {
18
+ display: block;
19
+ color: var(--aheart-ai-text-secondary);
20
+ font-size: 12px;
21
+ }
22
+
23
+ .aheart-ai-process {
24
+ display: grid;
25
+ gap: 8px;
26
+ }
27
+
28
+ .aheart-ai-process ol {
29
+ margin: 0;
30
+ padding: 0;
31
+ list-style: none;
32
+ }
33
+
34
+ .aheart-ai-process h3 {
35
+ font-size: 12px;
36
+ color: var(--aheart-ai-text-secondary);
37
+ }
38
+
39
+ .aheart-ai-process ol {
40
+ display: grid;
41
+ gap: 6px;
42
+ }
43
+
44
+ .aheart-ai-process li {
45
+ position: relative;
46
+ display: grid;
47
+ gap: 2px;
48
+ padding-inline-start: 16px;
49
+ }
50
+
51
+ .aheart-ai-process li::before {
52
+ content: "";
53
+ position: absolute;
54
+ inset-block-start: 7px;
55
+ inset-inline-start: 2px;
56
+ inline-size: 6px;
57
+ block-size: 6px;
58
+ border-radius: 50%;
59
+ background: #98a2b3;
60
+ }
61
+
62
+ .aheart-ai-process li.is-running::before {
63
+ background: var(--aheart-ai-cyan);
64
+ box-shadow: 0 0 0 3px #cffafe;
65
+ }
66
+
67
+ .aheart-ai-process li.is-complete::before {
68
+ background: #12b76a;
69
+ }
70
+
71
+ .aheart-ai-process li.is-stopped::before {
72
+ background: #98a2b3;
73
+ }
74
+
75
+ .aheart-ai-process li.is-error {
76
+ color: var(--aheart-color-danger, #d92d20);
77
+ }
@@ -1,15 +1,15 @@
1
1
  import type { AIProcessItem } from './types';
2
- declare const _default: import("@vue/runtime-core").DefineComponent<import("@vue/runtime-core").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  items?: AIProcessItem[] | undefined;
4
4
  }>, {
5
5
  items: () => never[];
6
- }>>, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
6
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
7
7
  items?: AIProcessItem[] | undefined;
8
8
  }>, {
9
9
  items: () => never[];
10
10
  }>>> & Readonly<{}>, {
11
11
  items: AIProcessItem[];
12
- }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
12
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
13
13
  export default _default;
14
14
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
15
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -0,0 +1,2 @@
1
+ export { default as AIWelcome, default } from '../welcome.vue';
2
+ export type * from '../types';
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../welcome.vue.js");exports.AIWelcome=e.default;exports.default=e.default;
@@ -0,0 +1,33 @@
1
+ :root {
2
+ --aheart-ai-cyan: #0e7490;
3
+ --aheart-ai-cyan-strong: #0e7490;
4
+ --aheart-ai-brand-strong: #0958d9;
5
+ --aheart-ai-cyan-soft: #ecfeff;
6
+ --aheart-ai-line: #e4e7ec;
7
+ --aheart-ai-surface: #ffffff;
8
+ --aheart-ai-surface-subtle: #f8fafc;
9
+ --aheart-ai-text: #182230;
10
+ --aheart-ai-text-secondary: #667085;
11
+ }
12
+
13
+ .aheart-ai-welcome {
14
+ display: grid;
15
+ gap: 6px;
16
+ max-inline-size: 620px;
17
+ }
18
+
19
+ .aheart-ai-welcome__title,
20
+ .aheart-ai-welcome__description {
21
+ margin: 0;
22
+ }
23
+
24
+ .aheart-ai-welcome__title {
25
+ color: var(--aheart-ai-text);
26
+ font-size: 24px;
27
+ line-height: 1.35;
28
+ }
29
+
30
+ .aheart-ai-welcome__description {
31
+ color: var(--aheart-ai-text-secondary);
32
+ line-height: 1.65;
33
+ }
@@ -1,10 +1,10 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("@vue/runtime-core").DefineComponent<import("@vue/runtime-core").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
2
  title?: string | undefined;
3
3
  description?: string | undefined;
4
4
  }>, {
5
5
  title: string;
6
6
  description: undefined;
7
- }>>, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
7
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
8
  title?: string | undefined;
9
9
  description?: string | undefined;
10
10
  }>, {
@@ -13,7 +13,7 @@ declare const _default: __VLS_WithTemplateSlots<import("@vue/runtime-core").Defi
13
13
  }>>> & Readonly<{}>, {
14
14
  title: string;
15
15
  description: string;
16
- }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>, {
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
17
17
  default?(_: {}): any;
18
18
  }>;
19
19
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aheart-ui/ai",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "Vue 3 AI interface components for Aheart UI.",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -17,7 +17,109 @@
17
17
  "./style.css": "./es/style.css",
18
18
  "./es/*": "./es/*",
19
19
  "./lib/*": "./lib/*",
20
- "./package.json": "./package.json"
20
+ "./package.json": "./package.json",
21
+ "./actions": {
22
+ "types": "./es/actions/index.d.ts",
23
+ "import": "./es/actions/index.js",
24
+ "require": "./lib/actions/index.js"
25
+ },
26
+ "./actions/style.css": "./es/actions/style.css",
27
+ "./attachments": {
28
+ "types": "./es/attachments/index.d.ts",
29
+ "import": "./es/attachments/index.js",
30
+ "require": "./lib/attachments/index.js"
31
+ },
32
+ "./attachments/style.css": "./es/attachments/style.css",
33
+ "./bubble": {
34
+ "types": "./es/bubble/index.d.ts",
35
+ "import": "./es/bubble/index.js",
36
+ "require": "./lib/bubble/index.js"
37
+ },
38
+ "./bubble/style.css": "./es/bubble/style.css",
39
+ "./conversations": {
40
+ "types": "./es/conversations/index.d.ts",
41
+ "import": "./es/conversations/index.js",
42
+ "require": "./lib/conversations/index.js"
43
+ },
44
+ "./conversations/style.css": "./es/conversations/style.css",
45
+ "./form": {
46
+ "types": "./es/form/index.d.ts",
47
+ "import": "./es/form/index.js",
48
+ "require": "./lib/form/index.js"
49
+ },
50
+ "./form/style.css": "./es/form/style.css",
51
+ "./process": {
52
+ "types": "./es/process/index.d.ts",
53
+ "import": "./es/process/index.js",
54
+ "require": "./lib/process/index.js"
55
+ },
56
+ "./process/style.css": "./es/process/style.css",
57
+ "./prompts": {
58
+ "types": "./es/prompts/index.d.ts",
59
+ "import": "./es/prompts/index.js",
60
+ "require": "./lib/prompts/index.js"
61
+ },
62
+ "./prompts/style.css": "./es/prompts/style.css",
63
+ "./sender": {
64
+ "types": "./es/sender/index.d.ts",
65
+ "import": "./es/sender/index.js",
66
+ "require": "./lib/sender/index.js"
67
+ },
68
+ "./sender/style.css": "./es/sender/style.css",
69
+ "./sources": {
70
+ "types": "./es/sources/index.d.ts",
71
+ "import": "./es/sources/index.js",
72
+ "require": "./lib/sources/index.js"
73
+ },
74
+ "./sources/style.css": "./es/sources/style.css",
75
+ "./thought-chain": {
76
+ "types": "./es/thought-chain/index.d.ts",
77
+ "import": "./es/thought-chain/index.js",
78
+ "require": "./lib/thought-chain/index.js"
79
+ },
80
+ "./thought-chain/style.css": "./es/thought-chain/style.css",
81
+ "./welcome": {
82
+ "types": "./es/welcome/index.d.ts",
83
+ "import": "./es/welcome/index.js",
84
+ "require": "./lib/welcome/index.js"
85
+ },
86
+ "./welcome/style.css": "./es/welcome/style.css",
87
+ "./chat-panel": {
88
+ "types": "./es/chat-panel/index.d.ts",
89
+ "import": "./es/chat-panel/index.js",
90
+ "require": "./lib/chat-panel/index.js"
91
+ },
92
+ "./chat-panel/style.css": "./es/chat-panel/style.css",
93
+ "./agent-workbench": {
94
+ "types": "./es/agent-workbench/index.d.ts",
95
+ "import": "./es/agent-workbench/index.js",
96
+ "require": "./lib/agent-workbench/index.js"
97
+ },
98
+ "./agent-workbench/style.css": "./es/agent-workbench/style.css",
99
+ "./chat": {
100
+ "types": "./es/chat/index.d.ts",
101
+ "import": "./es/chat/index.js",
102
+ "require": "./lib/chat/index.js"
103
+ },
104
+ "./chat/style.css": "./es/chat/style.css",
105
+ "./agent": {
106
+ "types": "./es/agent/index.d.ts",
107
+ "import": "./es/agent/index.js",
108
+ "require": "./lib/agent/index.js"
109
+ },
110
+ "./agent/style.css": "./es/agent/style.css",
111
+ "./workbench": {
112
+ "types": "./es/agent-workbench/index.d.ts",
113
+ "import": "./es/agent-workbench/index.js",
114
+ "require": "./lib/agent-workbench/index.js"
115
+ },
116
+ "./workbench/style.css": "./es/agent-workbench/style.css",
117
+ "./full": {
118
+ "types": "./es/index.d.ts",
119
+ "import": "./es/index.js",
120
+ "require": "./lib/index.js"
121
+ },
122
+ "./full.css": "./es/style.css"
21
123
  },
22
124
  "files": [
23
125
  "es",
@@ -51,7 +153,7 @@
51
153
  "vue": ">=3.5.0 <4"
52
154
  },
53
155
  "dependencies": {
54
- "@aheart-ui/dnd": "^1.0.0"
156
+ "@aheart-ui/dnd": "^1.1.0"
55
157
  },
56
158
  "devDependencies": {
57
159
  "@vitejs/plugin-vue": "^5.0.3",