@tangle-network/create-agent-app 0.53.11 → 0.53.13
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
|
@@ -48,9 +48,10 @@ Discovery: **Does the public-package frontend work on the real Worker origin?**
|
|
|
48
48
|
Wrangler's custom build runs the same frontend compiler for development and
|
|
49
49
|
deployment. Refresh the browser after a rebuild. Do not point assets at source
|
|
50
50
|
TSX, add a second auth origin, or introduce an HTML fallback over `/api/*` or
|
|
51
|
-
`/v1/*`. `web/styles.css` imports
|
|
52
|
-
the
|
|
53
|
-
|
|
51
|
+
`/v1/*`. `web/styles.css` imports `@tangle-network/agent-app/tailwind.css`, which
|
|
52
|
+
carries the shared styles and the sources for the installed Agent App,
|
|
53
|
+
sandbox-ui, and ui distributions. Keep that standalone setup; do not add
|
|
54
|
+
`node_modules` `@source` lines or a repository-local Tailwind alias.
|
|
54
55
|
|
|
55
56
|
## ⑤ Extend the product UI, not the primitive family
|
|
56
57
|
|
package/template-chat/README.md
CHANGED
|
@@ -19,7 +19,7 @@ fail explicitly, not through a demo response.
|
|
|
19
19
|
| `web/App.tsx` | Real session auth, workspace navigation, and full History |
|
|
20
20
|
| `web/Conversation.tsx` | Conversation assembly and existing chat/replay callbacks |
|
|
21
21
|
| `web/api.ts`, `web/uploads.ts` | Product URL, JSON, transcript, and inline-upload adapters |
|
|
22
|
-
| `web/styles.css`, `tailwind.config.mjs` |
|
|
22
|
+
| `web/styles.css`, `tailwind.config.mjs` | The one Agent App stylesheet entry and the maintained preset |
|
|
23
23
|
| `vite.config.mjs`, `web/tsconfig.json` | Standalone browser build and browser-only types |
|
|
24
24
|
| `src/chat.ts` | Authentication, store, turn, upload, and interaction factories |
|
|
25
25
|
| `src/gateway.ts`, `src/sandbox.ts`, `src/worker.ts` | Existing API gateway, sandbox lane, and HTTP routes |
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"drizzle-orm": "^0.45.2",
|
|
31
31
|
"hono": "^4.13.5",
|
|
32
32
|
"viem": "^2.0.0",
|
|
33
|
-
"@tangle-network/brand": "1.
|
|
34
|
-
"@tangle-network/sandbox-ui": "0.
|
|
35
|
-
"@tangle-network/ui": "11.
|
|
33
|
+
"@tangle-network/brand": "1.13.0",
|
|
34
|
+
"@tangle-network/sandbox-ui": "0.125.0",
|
|
35
|
+
"@tangle-network/ui": "11.19.0",
|
|
36
36
|
"lucide-react": "^1.35.0",
|
|
37
37
|
"react": "^19.2.8",
|
|
38
38
|
"react-dom": "^19.2.8",
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
/*
|
|
2
|
-
|
|
3
|
-
@import 'tailwindcss
|
|
4
|
-
@import '@tangle-network/
|
|
5
|
-
@import '@tangle-network/agent-app/styles';
|
|
6
|
-
@import 'tailwindcss/utilities.css' layer(utilities);
|
|
1
|
+
/* One package entry: Sandbox UI and Agent App styles plus the sources for every
|
|
2
|
+
* shared component's utilities, compiled once with this app's own. */
|
|
3
|
+
@import 'tailwindcss';
|
|
4
|
+
@import '@tangle-network/agent-app/tailwind.css';
|
|
7
5
|
@config '../tailwind.config.mjs';
|
|
8
6
|
|
|
9
|
-
/* Standalone consumer: scan installed public JS, never a monorepo src alias. */
|
|
10
|
-
@source '../node_modules/@tangle-network/agent-app/dist';
|
|
11
|
-
@source '../node_modules/@tangle-network/sandbox-ui/dist';
|
|
12
|
-
@source '../node_modules/@tangle-network/ui/dist';
|
|
13
|
-
|
|
14
7
|
body {
|
|
15
8
|
margin: 0;
|
|
16
9
|
font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
|