@agent-native/toolkit 0.7.0 → 0.8.1

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.
@@ -0,0 +1,411 @@
1
+ {
2
+ "manifestVersion": 1,
3
+ "package": "@agent-native/toolkit",
4
+ "catalogs": ["toolkit-ui", "setup-readiness-ui"],
5
+ "units": [
6
+ {
7
+ "id": "toolkit/root",
8
+ "label": "Complete Toolkit source",
9
+ "catalog": "toolkit-ui",
10
+ "catalogItems": ["root"],
11
+ "entrypoints": ["."],
12
+ "strategy": "source-copy",
13
+ "sourceEntries": ["src/index.ts"],
14
+ "targetRoot": "app/components/agent-native/toolkit",
15
+ "dependencies": [
16
+ "@assistant-ui/react",
17
+ "@radix-ui/react-accordion",
18
+ "@radix-ui/react-alert-dialog",
19
+ "@radix-ui/react-aspect-ratio",
20
+ "@radix-ui/react-avatar",
21
+ "@radix-ui/react-checkbox",
22
+ "@radix-ui/react-collapsible",
23
+ "@radix-ui/react-context-menu",
24
+ "@radix-ui/react-dialog",
25
+ "@radix-ui/react-dropdown-menu",
26
+ "@radix-ui/react-hover-card",
27
+ "@radix-ui/react-label",
28
+ "@radix-ui/react-menubar",
29
+ "@radix-ui/react-navigation-menu",
30
+ "@radix-ui/react-popover",
31
+ "@radix-ui/react-progress",
32
+ "@radix-ui/react-radio-group",
33
+ "@radix-ui/react-scroll-area",
34
+ "@radix-ui/react-select",
35
+ "@radix-ui/react-separator",
36
+ "@radix-ui/react-slider",
37
+ "@radix-ui/react-slot",
38
+ "@radix-ui/react-switch",
39
+ "@radix-ui/react-tabs",
40
+ "@radix-ui/react-toast",
41
+ "@radix-ui/react-toggle",
42
+ "@radix-ui/react-toggle-group",
43
+ "@radix-ui/react-tooltip",
44
+ "@tabler/icons-react",
45
+ "@tiptap/core",
46
+ "@tiptap/extension-code-block-lowlight",
47
+ "@tiptap/extension-collaboration",
48
+ "@tiptap/extension-collaboration-caret",
49
+ "@tiptap/extension-image",
50
+ "@tiptap/extension-link",
51
+ "@tiptap/extension-placeholder",
52
+ "@tiptap/extension-table",
53
+ "@tiptap/extension-table-cell",
54
+ "@tiptap/extension-table-header",
55
+ "@tiptap/extension-table-row",
56
+ "@tiptap/extension-task-item",
57
+ "@tiptap/extension-task-list",
58
+ "@tiptap/pm",
59
+ "@tiptap/react",
60
+ "@tiptap/starter-kit",
61
+ "@tiptap/y-tiptap",
62
+ "class-variance-authority",
63
+ "clsx",
64
+ "cmdk",
65
+ "date-fns",
66
+ "embla-carousel-react",
67
+ "highlight.js",
68
+ "input-otp",
69
+ "lowlight",
70
+ "next-themes",
71
+ "react",
72
+ "react-day-picker",
73
+ "react-dom",
74
+ "react-hook-form",
75
+ "react-resizable-panels",
76
+ "recharts",
77
+ "sonner",
78
+ "tailwind-merge",
79
+ "tiptap-markdown",
80
+ "vaul",
81
+ "y-protocols",
82
+ "yjs"
83
+ ],
84
+ "protectedImports": ["@agent-native/core/client"],
85
+ "verification": ["pnpm typecheck"]
86
+ },
87
+ {
88
+ "id": "toolkit/app-shell",
89
+ "label": "Application shell",
90
+ "catalog": "toolkit-ui",
91
+ "catalogItems": ["app-shell"],
92
+ "entrypoints": ["./app-shell", "./app-shell/*"],
93
+ "strategy": "source-copy",
94
+ "sourceEntries": ["src/app-shell"],
95
+ "targetRoot": "app/components/agent-native/toolkit",
96
+ "dependencies": ["react"],
97
+ "verification": ["pnpm typecheck"]
98
+ },
99
+ {
100
+ "id": "toolkit/collab-ui",
101
+ "label": "Collaboration UI",
102
+ "catalog": "toolkit-ui",
103
+ "catalogItems": ["collab-ui"],
104
+ "entrypoints": ["./collab-ui", "./collab-ui/*"],
105
+ "strategy": "source-copy",
106
+ "sourceEntries": ["src/collab-ui"],
107
+ "targetRoot": "app/components/agent-native/toolkit",
108
+ "dependencies": [
109
+ "@radix-ui/react-tooltip",
110
+ "clsx",
111
+ "react",
112
+ "tailwind-merge",
113
+ "y-protocols"
114
+ ],
115
+ "verification": ["pnpm typecheck"]
116
+ },
117
+ {
118
+ "id": "toolkit/chat-history",
119
+ "label": "Chat history",
120
+ "catalog": "toolkit-ui",
121
+ "catalogItems": ["chat-history"],
122
+ "entrypoints": ["./chat-history", "./chat-history/*"],
123
+ "strategy": "source-copy",
124
+ "sourceEntries": ["src/chat-history"],
125
+ "targetRoot": "app/components/agent-native/toolkit",
126
+ "styles": [
127
+ {
128
+ "entrypoint": "./chat-history.css",
129
+ "source": "src/chat-history.css"
130
+ }
131
+ ],
132
+ "dependencies": [
133
+ "@tabler/icons-react",
134
+ "clsx",
135
+ "react",
136
+ "tailwind-merge"
137
+ ],
138
+ "verification": ["pnpm typecheck"]
139
+ },
140
+ {
141
+ "id": "toolkit/composer",
142
+ "label": "Agent composer",
143
+ "catalog": "toolkit-ui",
144
+ "catalogItems": ["composer"],
145
+ "entrypoints": ["./composer", "./composer/*"],
146
+ "strategy": "source-copy",
147
+ "sourceEntries": ["src/composer"],
148
+ "targetRoot": "app/components/agent-native/toolkit",
149
+ "dependencies": [
150
+ "@assistant-ui/react",
151
+ "@radix-ui/react-popover",
152
+ "@radix-ui/react-tooltip",
153
+ "@tabler/icons-react",
154
+ "@tiptap/core",
155
+ "@tiptap/extension-placeholder",
156
+ "@tiptap/pm",
157
+ "@tiptap/react",
158
+ "@tiptap/starter-kit",
159
+ "clsx",
160
+ "react",
161
+ "react-dom",
162
+ "tailwind-merge"
163
+ ],
164
+ "protectedImports": [
165
+ "@agent-native/toolkit/ui/button",
166
+ "@agent-native/toolkit/ui/select",
167
+ "@agent-native/toolkit/ui/skeleton"
168
+ ],
169
+ "verification": ["pnpm typecheck"]
170
+ },
171
+ {
172
+ "id": "toolkit/context-ui",
173
+ "label": "Context inspection UI",
174
+ "catalog": "toolkit-ui",
175
+ "catalogItems": ["context-ui"],
176
+ "entrypoints": ["./context-ui"],
177
+ "strategy": "source-copy",
178
+ "sourceEntries": ["src/context-ui"],
179
+ "targetRoot": "app/components/agent-native/toolkit",
180
+ "dependencies": [
181
+ "@radix-ui/react-popover",
182
+ "@radix-ui/react-tooltip",
183
+ "@tabler/icons-react",
184
+ "clsx",
185
+ "react",
186
+ "recharts",
187
+ "tailwind-merge"
188
+ ],
189
+ "verification": ["pnpm typecheck"]
190
+ },
191
+ {
192
+ "id": "toolkit/design-tweaks",
193
+ "label": "Design tweak controls",
194
+ "catalog": "toolkit-ui",
195
+ "catalogItems": ["design-tweaks"],
196
+ "entrypoints": ["./design-tweaks"],
197
+ "strategy": "source-copy",
198
+ "sourceEntries": ["src/design-tweaks"],
199
+ "targetRoot": "app/components/agent-native/toolkit",
200
+ "dependencies": [
201
+ "@radix-ui/react-popover",
202
+ "@tabler/icons-react",
203
+ "clsx",
204
+ "react",
205
+ "tailwind-merge"
206
+ ],
207
+ "verification": ["pnpm typecheck"]
208
+ },
209
+ {
210
+ "id": "toolkit/editor",
211
+ "label": "Rich editor",
212
+ "catalog": "toolkit-ui",
213
+ "catalogItems": ["editor"],
214
+ "entrypoints": ["./editor", "./editor/*"],
215
+ "strategy": "source-copy",
216
+ "sourceEntries": ["src/editor"],
217
+ "targetRoot": "app/components/agent-native/toolkit",
218
+ "styles": [
219
+ {
220
+ "entrypoint": "./editor.css",
221
+ "source": "src/editor.css"
222
+ }
223
+ ],
224
+ "dependencies": [
225
+ "@tabler/icons-react",
226
+ "@radix-ui/react-popover",
227
+ "@radix-ui/react-tooltip",
228
+ "@tiptap/core",
229
+ "@tiptap/extension-code-block-lowlight",
230
+ "@tiptap/extension-collaboration",
231
+ "@tiptap/extension-collaboration-caret",
232
+ "@tiptap/extension-image",
233
+ "@tiptap/extension-link",
234
+ "@tiptap/extension-placeholder",
235
+ "@tiptap/extension-table",
236
+ "@tiptap/extension-table-cell",
237
+ "@tiptap/extension-table-header",
238
+ "@tiptap/extension-table-row",
239
+ "@tiptap/extension-task-item",
240
+ "@tiptap/extension-task-list",
241
+ "@tiptap/pm",
242
+ "@tiptap/react",
243
+ "@tiptap/starter-kit",
244
+ "clsx",
245
+ "highlight.js",
246
+ "lowlight",
247
+ "react",
248
+ "tailwind-merge",
249
+ "tiptap-markdown",
250
+ "y-protocols",
251
+ "yjs"
252
+ ],
253
+ "protectedImports": ["@agent-native/core/client"],
254
+ "verification": ["pnpm typecheck"]
255
+ },
256
+ {
257
+ "id": "toolkit/hooks",
258
+ "label": "Frontend hooks",
259
+ "catalog": "toolkit-ui",
260
+ "catalogItems": ["hooks"],
261
+ "entrypoints": ["./hooks", "./hooks/*"],
262
+ "strategy": "source-copy",
263
+ "sourceEntries": ["src/hooks"],
264
+ "targetRoot": "app/components/agent-native/toolkit",
265
+ "dependencies": [
266
+ "@radix-ui/react-toast",
267
+ "@tabler/icons-react",
268
+ "class-variance-authority",
269
+ "clsx",
270
+ "react",
271
+ "tailwind-merge"
272
+ ],
273
+ "verification": ["pnpm typecheck"]
274
+ },
275
+ {
276
+ "id": "toolkit/onboarding",
277
+ "label": "Onboarding UI",
278
+ "catalog": "setup-readiness-ui",
279
+ "catalogItems": ["onboarding"],
280
+ "entrypoints": ["./onboarding", "./onboarding/*"],
281
+ "strategy": "source-copy",
282
+ "sourceEntries": ["src/onboarding"],
283
+ "targetRoot": "app/components/agent-native/toolkit",
284
+ "verification": ["pnpm typecheck"]
285
+ },
286
+ {
287
+ "id": "toolkit/provider",
288
+ "label": "Toolkit provider",
289
+ "catalog": "toolkit-ui",
290
+ "catalogItems": ["provider"],
291
+ "entrypoints": ["./provider"],
292
+ "strategy": "source-copy",
293
+ "sourceEntries": ["src/provider.tsx"],
294
+ "targetRoot": "app/components/agent-native/toolkit",
295
+ "dependencies": [
296
+ "@radix-ui/react-slot",
297
+ "class-variance-authority",
298
+ "clsx",
299
+ "react",
300
+ "tailwind-merge"
301
+ ],
302
+ "verification": ["pnpm typecheck"]
303
+ },
304
+ {
305
+ "id": "toolkit/sharing",
306
+ "label": "Sharing UI",
307
+ "catalog": "toolkit-ui",
308
+ "catalogItems": ["sharing"],
309
+ "entrypoints": ["./sharing", "./sharing/*"],
310
+ "strategy": "source-copy",
311
+ "sourceEntries": ["src/sharing"],
312
+ "targetRoot": "app/components/agent-native/toolkit",
313
+ "dependencies": ["@tabler/icons-react"],
314
+ "verification": ["pnpm typecheck"]
315
+ },
316
+ {
317
+ "id": "toolkit/ui",
318
+ "label": "UI primitives",
319
+ "catalog": "toolkit-ui",
320
+ "catalogItems": ["ui"],
321
+ "entrypoints": ["./ui", "./ui/*"],
322
+ "strategy": "source-copy",
323
+ "sourceEntries": ["src/ui"],
324
+ "targetRoot": "app/components/agent-native/toolkit",
325
+ "dependencies": [
326
+ "@radix-ui/react-accordion",
327
+ "@radix-ui/react-alert-dialog",
328
+ "@radix-ui/react-aspect-ratio",
329
+ "@radix-ui/react-avatar",
330
+ "@radix-ui/react-checkbox",
331
+ "@radix-ui/react-collapsible",
332
+ "@radix-ui/react-context-menu",
333
+ "@radix-ui/react-dialog",
334
+ "@radix-ui/react-dropdown-menu",
335
+ "@radix-ui/react-hover-card",
336
+ "@radix-ui/react-label",
337
+ "@radix-ui/react-menubar",
338
+ "@radix-ui/react-navigation-menu",
339
+ "@radix-ui/react-popover",
340
+ "@radix-ui/react-progress",
341
+ "@radix-ui/react-radio-group",
342
+ "@radix-ui/react-scroll-area",
343
+ "@radix-ui/react-select",
344
+ "@radix-ui/react-separator",
345
+ "@radix-ui/react-slider",
346
+ "@radix-ui/react-slot",
347
+ "@radix-ui/react-switch",
348
+ "@radix-ui/react-tabs",
349
+ "@radix-ui/react-toast",
350
+ "@radix-ui/react-toggle",
351
+ "@radix-ui/react-toggle-group",
352
+ "@radix-ui/react-tooltip",
353
+ "@tabler/icons-react",
354
+ "class-variance-authority",
355
+ "clsx",
356
+ "cmdk",
357
+ "date-fns",
358
+ "embla-carousel-react",
359
+ "input-otp",
360
+ "next-themes",
361
+ "react",
362
+ "react-day-picker",
363
+ "react-hook-form",
364
+ "react-resizable-panels",
365
+ "recharts",
366
+ "sonner",
367
+ "tailwind-merge",
368
+ "vaul"
369
+ ],
370
+ "verification": ["pnpm typecheck"]
371
+ },
372
+ {
373
+ "id": "toolkit/utils",
374
+ "label": "Class name utilities",
375
+ "catalog": "toolkit-ui",
376
+ "catalogItems": ["utils"],
377
+ "entrypoints": ["./utils"],
378
+ "strategy": "source-copy",
379
+ "sourceEntries": ["src/utils.ts"],
380
+ "targetRoot": "app/components/agent-native/toolkit",
381
+ "dependencies": ["clsx", "tailwind-merge"],
382
+ "verification": ["pnpm typecheck"]
383
+ },
384
+ {
385
+ "id": "toolkit/styles",
386
+ "label": "Toolkit Tailwind source styles",
387
+ "catalog": "toolkit-ui",
388
+ "catalogItems": ["styles"],
389
+ "entrypoints": [],
390
+ "strategy": "source-copy",
391
+ "targetRoot": "app/components/agent-native/toolkit",
392
+ "styles": [
393
+ {
394
+ "entrypoint": "./styles.css",
395
+ "source": "src/styles.css"
396
+ }
397
+ ],
398
+ "verification": ["pnpm typecheck"]
399
+ },
400
+ {
401
+ "id": "toolkit/migration-metadata",
402
+ "label": "Toolkit migration metadata",
403
+ "catalog": "toolkit-ui",
404
+ "catalogItems": ["migration-manifest"],
405
+ "entrypoints": ["./migration-manifest.json"],
406
+ "strategy": "protected-seam",
407
+ "seam": "@agent-native/toolkit/migration-manifest.json",
408
+ "protectedImports": ["@agent-native/toolkit/migration-manifest.json"]
409
+ }
410
+ ]
411
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../src/ui/progress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,QAAQ,2JAiBZ,CAAC;AAGH,OAAO,EAAE,QAAQ,EAAE,CAAC"}
1
+ {"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../src/ui/progress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,QAAQ,2JAkBZ,CAAC;AAGH,OAAO,EAAE,QAAQ,EAAE,CAAC"}
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import * as ProgressPrimitive from "@radix-ui/react-progress";
3
3
  import * as React from "react";
4
4
  import { cn } from "../utils.js";
5
- const Progress = React.forwardRef(({ className, value, ...props }, ref) => (_jsx(ProgressPrimitive.Root, { ref: ref, className: cn("relative h-4 w-full overflow-hidden rounded-full bg-secondary", className), ...props, children: _jsx(ProgressPrimitive.Indicator, { className: "h-full w-full flex-1 bg-primary transition-all", style: { transform: `translateX(-${100 - (value || 0)}%)` } }) })));
5
+ const Progress = React.forwardRef(({ className, value, ...props }, ref) => (_jsx(ProgressPrimitive.Root, { ref: ref, value: value, className: cn("relative h-4 w-full overflow-hidden rounded-full bg-secondary", className), ...props, children: _jsx(ProgressPrimitive.Indicator, { className: "h-full w-full flex-1 bg-primary transition-transform", style: { transform: `translateX(-${100 - (value ?? 0)}%)` } }) })));
6
6
  Progress.displayName = ProgressPrimitive.Root.displayName;
7
7
  export { Progress };
8
8
  //# sourceMappingURL=progress.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"progress.js","sourceRoot":"","sources":["../../src/ui/progress.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC,MAAM,QAAQ,GAAG,KAAK,CAAC,UAAU,CAG/B,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CACzC,KAAC,iBAAiB,CAAC,IAAI,IACrB,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,EAAE,CACX,+DAA+D,EAC/D,SAAS,CACV,KACG,KAAK,YAET,KAAC,iBAAiB,CAAC,SAAS,IAC1B,SAAS,EAAC,gDAAgD,EAC1D,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,GAAG,GAAG,CAAC,KAAK,IAAI,CAAC,CAAC,IAAI,EAAE,GAC3D,GACqB,CAC1B,CAAC,CAAC;AACH,QAAQ,CAAC,WAAW,GAAG,iBAAiB,CAAC,IAAI,CAAC,WAAW,CAAC;AAE1D,OAAO,EAAE,QAAQ,EAAE,CAAC"}
1
+ {"version":3,"file":"progress.js","sourceRoot":"","sources":["../../src/ui/progress.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC,MAAM,QAAQ,GAAG,KAAK,CAAC,UAAU,CAG/B,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CACzC,KAAC,iBAAiB,CAAC,IAAI,IACrB,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,EAAE,CACX,+DAA+D,EAC/D,SAAS,CACV,KACG,KAAK,YAET,KAAC,iBAAiB,CAAC,SAAS,IAC1B,SAAS,EAAC,sDAAsD,EAChE,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,GAAG,GAAG,CAAC,KAAK,IAAI,CAAC,CAAC,IAAI,EAAE,GAC3D,GACqB,CAC1B,CAAC,CAAC;AACH,QAAQ,CAAC,WAAW,GAAG,iBAAiB,CAAC,IAAI,CAAC,WAAW,CAAC;AAE1D,OAAO,EAAE,QAAQ,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-native/toolkit",
3
- "version": "0.7.0",
3
+ "version": "0.8.1",
4
4
  "description": "Reusable app-building UI and helpers for Agent-Native apps.",
5
5
  "homepage": "https://github.com/BuilderIO/agent-native#readme",
6
6
  "bugs": {
@@ -15,6 +15,7 @@
15
15
  "files": [
16
16
  "dist",
17
17
  "src",
18
+ "agent-native.eject.json",
18
19
  "migration-manifest.json",
19
20
  "README.md"
20
21
  ],
@@ -186,6 +187,7 @@
186
187
  "import": "./dist/utils.js",
187
188
  "default": "./dist/utils.js"
188
189
  },
190
+ "./agent-native.eject.json": "./agent-native.eject.json",
189
191
  "./migration-manifest.json": "./migration-manifest.json",
190
192
  "./styles.css": "./dist/styles.css",
191
193
  "./chat-history.css": "./dist/chat-history.css",
@@ -272,6 +274,7 @@
272
274
  "react": "^19.0.0",
273
275
  "react-dom": "^19.0.0"
274
276
  },
277
+ "agentNativeEjectManifest": "agent-native.eject.json",
275
278
  "scripts": {
276
279
  "build": "tsc && node scripts/finalize-build.mjs",
277
280
  "typecheck": "tsc --noEmit",
@@ -9,6 +9,7 @@ const Progress = React.forwardRef<
9
9
  >(({ className, value, ...props }, ref) => (
10
10
  <ProgressPrimitive.Root
11
11
  ref={ref}
12
+ value={value}
12
13
  className={cn(
13
14
  "relative h-4 w-full overflow-hidden rounded-full bg-secondary",
14
15
  className,
@@ -16,8 +17,8 @@ const Progress = React.forwardRef<
16
17
  {...props}
17
18
  >
18
19
  <ProgressPrimitive.Indicator
19
- className="h-full w-full flex-1 bg-primary transition-all"
20
- style={{ transform: `translateX(-${100 - (value || 0)}%)` }}
20
+ className="h-full w-full flex-1 bg-primary transition-transform"
21
+ style={{ transform: `translateX(-${100 - (value ?? 0)}%)` }}
21
22
  />
22
23
  </ProgressPrimitive.Root>
23
24
  ));