@volter-ai-dev/supercode-ui 0.1.36 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volter-ai-dev/supercode-ui",
3
- "version": "0.1.36",
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": "esbuild src/components.jsx src/embed.jsx src/logo.jsx src/icon.jsx src/conversation.jsx src/sessions.jsx src/composer.jsx src/messenger.jsx src/settings.jsx --bundle --format=esm --platform=browser --jsx=automatic --jsx-import-source=preact --external:preact --external:preact/* --external:markdown-it --outdir=. --out-extension:.js=.mjs",
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,11 +142,18 @@
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": {
@@ -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;