@volter-ai-dev/supercode-ui 0.1.35 → 0.1.37
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 +84 -2
- package/activity.d.ts +2 -0
- package/activity.mjs +941 -0
- package/components.d.ts +4 -0
- package/components.mjs +737 -485
- package/composer.mjs +82 -20
- package/controller.d.ts +43 -0
- package/controller.mjs +127 -2
- package/conversation.mjs +75 -64
- package/core.d.ts +3 -0
- package/core.mjs +222 -2
- package/embed.mjs +338 -149
- package/icon.mjs +1 -1
- package/index.d.ts +68 -2
- package/logo.mjs +11 -6
- package/messenger.mjs +338 -149
- package/package.json +54 -3
- package/react/activity.d.ts +4 -0
- package/react/activity.mjs +941 -0
- package/react/components.mjs +3081 -0
- package/react/composer.d.ts +2 -0
- package/react/composer.mjs +518 -0
- package/react/conversation.d.ts +2 -0
- package/react/conversation.mjs +1330 -0
- package/react/icon.d.ts +2 -0
- package/react/icon.mjs +51 -0
- package/react/index.d.ts +122 -0
- package/react/logo.d.ts +2 -0
- package/react/logo.mjs +92 -0
- package/react/messenger.d.ts +2 -0
- package/react/messenger.mjs +2974 -0
- package/react/sessions.d.ts +2 -0
- package/react/sessions.mjs +429 -0
- package/react/settings.d.ts +2 -0
- package/react/settings.mjs +319 -0
- package/sessions.mjs +48 -28
- package/settings.mjs +170 -69
- package/styles.css +9 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volter-ai-dev/supercode-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.37",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Composable default UI kit for Supercode-powered coding-agent experiences",
|
|
6
6
|
"exports": {
|
|
@@ -24,6 +24,10 @@
|
|
|
24
24
|
"types": "./logo.d.ts",
|
|
25
25
|
"import": "./logo.mjs"
|
|
26
26
|
},
|
|
27
|
+
"./preact/activity": {
|
|
28
|
+
"types": "./activity.d.ts",
|
|
29
|
+
"import": "./activity.mjs"
|
|
30
|
+
},
|
|
27
31
|
"./preact/icon": {
|
|
28
32
|
"types": "./icon.d.ts",
|
|
29
33
|
"import": "./icon.mjs"
|
|
@@ -48,6 +52,42 @@
|
|
|
48
52
|
"types": "./settings.d.ts",
|
|
49
53
|
"import": "./settings.mjs"
|
|
50
54
|
},
|
|
55
|
+
"./react": {
|
|
56
|
+
"types": "./react/index.d.ts",
|
|
57
|
+
"import": "./react/components.mjs"
|
|
58
|
+
},
|
|
59
|
+
"./react/logo": {
|
|
60
|
+
"types": "./react/logo.d.ts",
|
|
61
|
+
"import": "./react/logo.mjs"
|
|
62
|
+
},
|
|
63
|
+
"./react/activity": {
|
|
64
|
+
"types": "./react/activity.d.ts",
|
|
65
|
+
"import": "./react/activity.mjs"
|
|
66
|
+
},
|
|
67
|
+
"./react/icon": {
|
|
68
|
+
"types": "./react/icon.d.ts",
|
|
69
|
+
"import": "./react/icon.mjs"
|
|
70
|
+
},
|
|
71
|
+
"./react/conversation": {
|
|
72
|
+
"types": "./react/conversation.d.ts",
|
|
73
|
+
"import": "./react/conversation.mjs"
|
|
74
|
+
},
|
|
75
|
+
"./react/sessions": {
|
|
76
|
+
"types": "./react/sessions.d.ts",
|
|
77
|
+
"import": "./react/sessions.mjs"
|
|
78
|
+
},
|
|
79
|
+
"./react/composer": {
|
|
80
|
+
"types": "./react/composer.d.ts",
|
|
81
|
+
"import": "./react/composer.mjs"
|
|
82
|
+
},
|
|
83
|
+
"./react/messenger": {
|
|
84
|
+
"types": "./react/messenger.d.ts",
|
|
85
|
+
"import": "./react/messenger.mjs"
|
|
86
|
+
},
|
|
87
|
+
"./react/settings": {
|
|
88
|
+
"types": "./react/settings.d.ts",
|
|
89
|
+
"import": "./react/settings.mjs"
|
|
90
|
+
},
|
|
51
91
|
"./embed": {
|
|
52
92
|
"types": "./embed.d.ts",
|
|
53
93
|
"import": "./embed.mjs"
|
|
@@ -62,6 +102,8 @@
|
|
|
62
102
|
"controller.d.ts",
|
|
63
103
|
"components.mjs",
|
|
64
104
|
"components.d.ts",
|
|
105
|
+
"activity.mjs",
|
|
106
|
+
"activity.d.ts",
|
|
65
107
|
"logo.mjs",
|
|
66
108
|
"logo.d.ts",
|
|
67
109
|
"icon.mjs",
|
|
@@ -76,6 +118,7 @@
|
|
|
76
118
|
"messenger.d.ts",
|
|
77
119
|
"settings.mjs",
|
|
78
120
|
"settings.d.ts",
|
|
121
|
+
"react",
|
|
79
122
|
"embed.mjs",
|
|
80
123
|
"embed.d.ts",
|
|
81
124
|
"index.mjs",
|
|
@@ -84,7 +127,7 @@
|
|
|
84
127
|
"README.md"
|
|
85
128
|
],
|
|
86
129
|
"scripts": {
|
|
87
|
-
"build": "
|
|
130
|
+
"build": "node scripts/build.mjs",
|
|
88
131
|
"build:fixture": "esbuild test/browser-entry.jsx --bundle --format=esm --platform=browser --jsx=automatic --jsx-import-source=preact --outfile=test/browser-bundle.mjs",
|
|
89
132
|
"storybook": "npm run build && storybook dev -p 6006",
|
|
90
133
|
"build:storybook": "npm run build && storybook build",
|
|
@@ -99,14 +142,22 @@
|
|
|
99
142
|
},
|
|
100
143
|
"peerDependencies": {
|
|
101
144
|
"@volter-ai-dev/supercode-client": ">=0.3.10 <0.4.0",
|
|
102
|
-
"preact": ">=10.19.0 <11"
|
|
145
|
+
"preact": ">=10.19.0 <11",
|
|
146
|
+
"react": ">=18 <20"
|
|
103
147
|
},
|
|
104
148
|
"peerDependenciesMeta": {
|
|
105
149
|
"@volter-ai-dev/supercode-client": {
|
|
106
150
|
"optional": true
|
|
151
|
+
},
|
|
152
|
+
"preact": {
|
|
153
|
+
"optional": true
|
|
154
|
+
},
|
|
155
|
+
"react": {
|
|
156
|
+
"optional": true
|
|
107
157
|
}
|
|
108
158
|
},
|
|
109
159
|
"devDependencies": {
|
|
160
|
+
"@volter-ai-dev/supercode-client": "0.3.22",
|
|
110
161
|
"@storybook/addon-a11y": "10.5.9",
|
|
111
162
|
"@storybook/addon-docs": "10.5.9",
|
|
112
163
|
"@storybook/addon-themes": "10.5.9",
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { AgentActivityLauncherProps, AgentActivityModel } from '../index.js';
|
|
3
|
+
export type { AgentActivityLauncherProps, AgentActivityModel } from '../index.js';
|
|
4
|
+
export function AgentActivityLauncher(props: AgentActivityLauncherProps): ReactElement;
|