@tangle-network/create-agent-app 0.45.13 → 0.45.14
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 +4 -0
- package/package.json +1 -1
- package/template-chat/CUSTOMIZE.md +17 -0
package/README.md
CHANGED
|
@@ -7,3 +7,7 @@ npm create @tangle-network/agent-app@latest my-agent
|
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
Then `cd my-agent && pnpm install && pnpm typecheck && pnpm test`, and follow the generated `CUSTOMIZE.md` / `AGENTS.md`.
|
|
10
|
+
|
|
11
|
+
For a chat-first web surface, the generated customization trail points to the
|
|
12
|
+
shared workspace composition in
|
|
13
|
+
[`examples/default-workspace.md`](../examples/default-workspace.md).
|
package/package.json
CHANGED
|
@@ -28,6 +28,11 @@ Discovery: **Which model answers by default, at what effort, on which harness?**
|
|
|
28
28
|
- [ ] Set `model.default` to a model your Tangle Router key can reach.
|
|
29
29
|
- [ ] Pick `harness` (`opencode` default; vendor-locked harnesses like
|
|
30
30
|
`claude-code` must pair with their own provider's models).
|
|
31
|
+
- [ ] Define the selectable profile catalog for the UI and map each selected
|
|
32
|
+
profile id to the real runtime `AgentProfile` before session creation.
|
|
33
|
+
Keep that browser catalog to stable display metadata and capability labels;
|
|
34
|
+
resolve prompts, tools, permissions, connections, resources, and backend
|
|
35
|
+
policy server-side. Put profile authoring in settings, not the composer.
|
|
31
36
|
- [ ] Leave per-turn overrides alone — the client can send `model`/`effort`
|
|
32
37
|
per request and `MODEL_NAME` overrides without a redeploy.
|
|
33
38
|
|
|
@@ -63,6 +68,18 @@ Discovery: **What does the real surface look like?**
|
|
|
63
68
|
`streamChatTurn` (start + resume against `/api/chat/replay/:turnId`),
|
|
64
69
|
`useChatInteractions` + `InteractionQuestionCard`/`InteractionPlanCard`
|
|
65
70
|
for the ask channel this server already exposes.
|
|
71
|
+
- [ ] For a chat-first product, use `AgentWorkspaceLayout` from
|
|
72
|
+
`@tangle-network/agent-app/workspace-react` for the outer layout and
|
|
73
|
+
session rail, `EntryComposer` from
|
|
74
|
+
`@tangle-network/agent-app/chat-react` for the new-session route, and
|
|
75
|
+
`SessionHistoryPanel` from `@tangle-network/agent-app/web-react` for the
|
|
76
|
+
full history route.
|
|
77
|
+
Pass `agent.profile`, `agent.harness`, `agent.model`, and `agent.effort`
|
|
78
|
+
from real product state so the shared control row does not disappear.
|
|
79
|
+
Pass `planMode`, `uploadUrl`, and `mentions` only when the corresponding
|
|
80
|
+
backend behavior, upload route, and file index are real.
|
|
81
|
+
Keep navigation taxonomy, session URLs, domain context, and transcript
|
|
82
|
+
cards in the product.
|
|
66
83
|
- [ ] Keep the wire contract: `chatTurnRequestInit` from web-react serializes
|
|
67
84
|
exactly what `createChatTurnRoutes` parses.
|
|
68
85
|
|