create-curb.js 1.16.0-preview.2 → 1.16.0-preview.4

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/RELEASE_NOTES.md CHANGED
@@ -6,5 +6,7 @@
6
6
 
7
7
  ### Fixed
8
8
 
9
+ - Say what hosted deploys accept today (#46)
10
+ - Correct what the help and guide say about conversations and build (#41)
9
11
  - Start curb outside a project from the npm package (#38)
10
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-curb.js",
3
- "version": "1.16.0-preview.2",
3
+ "version": "1.16.0-preview.4",
4
4
  "description": "Create a Curb voice agent: npm create curb.js my-agent",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://curbjs.com",
@@ -68,8 +68,8 @@ A fault in Curb itself is reported as `reporting-a-bug.md` says, with the person
68
68
  4. `npm run dev`: the browser preview with chat and voice on http://127.0.0.1:4000. Open it in the person's own browser yourself (`open http://127.0.0.1:4000` on macOS, `xdg-open` on Linux, `start` on Windows): a browser built into an app, like the Claude app's Browser pane, blocks the microphone, so a call there fails.
69
69
 
70
70
  **To improve the agent, read its recent conversations first.** `npx curb conversations`
71
- prints the last ones the preview and `curb say` ran, with every tool call, its
72
- input and its result (`--last <n>`, `--id <id>`, `--json`). Calls to the hosted agent are
71
+ prints the last ones the preview ran, with every tool call, its input and its
72
+ result (`--last <n>`, `--id <id>`, `--json`). Calls to the hosted agent are
73
73
  read with the `kugelaudio` MCP server's `agent_list_calls`, `agent_get_call` and
74
74
  `agent_get_call_timeline` where it is signed in. Find where the agent went wrong, fix that,
75
75
  and turn the conversation into a scenario so it stays fixed.
@@ -90,7 +90,7 @@ src/agent/agent.tsx the agent, where every conversation starts: <Agent l
90
90
  src/agent/<name>/skill.tsx one folder per skill, opened when needed; nested folders are sub-skills
91
91
  context/*.md knowledge a skill reads with <Text src="file.md" />
92
92
  .env other providers' keys, an optional KUGELAUDIO_API_KEY; never commit it
93
- .data/conversations.jsonl every local conversation: tool calls, inputs, results
93
+ .data/conversations.jsonl every preview conversation: tool calls, inputs, results
94
94
  ```
95
95
 
96
96
  ## Rules
@@ -128,12 +128,18 @@ context/*.md knowledge a skill reads with <Text src="file.md" />
128
128
  - **What counts as a successful call is code too**: `defineAgent({ goals, experiments })`
129
129
  names each goal (a tool that must succeed, or a sentence a judge checks) and each A/B test
130
130
  with its weighted variants, and `useVariant("<test>")` reads the call's variant. The
131
- dashboard only shows the results; `authoring.md` ("Goals and A/B experiments") has the rules.
131
+ dashboard only shows the results; `goals-and-experiments.md` has the rules.
132
132
  - Tool names are unique snake_case verbs. Zod `.describe()` texts and error messages are
133
133
  read by the model, so phrase them as the next step.
134
134
 
135
135
  ## Deploy to KugelAudio
136
136
 
137
+ **Hosted deploys do not accept a project that installs Curb from npm yet, and this project
138
+ does.** Tell the user so before you try to deploy, and do not change the `curb` dependency to
139
+ get around it. Today the project runs locally with `npm run dev` and goes live on the user's own
140
+ servers (`node_modules/curb/docs/agent-guide/hosting.md`). The rest of this section applies once
141
+ hosted deploys accept the project.
142
+
137
143
  `.mcp.json` registers two MCP servers for Claude Code started in this folder (it asks once
138
144
  to use them): `kugelaudio`, your KugelAudio account (sign in from `/mcp`), and
139
145
  `kugelaudio-docs`, the docs (no sign-in). Another client adds
@@ -41,6 +41,10 @@ Type or talk in the preview:
41
41
 
42
42
  ## Deploy to KugelAudio
43
43
 
44
+ Hosted deploys do not accept a project that installs Curb from npm yet, and this project does.
45
+ Today it runs locally with `npm run dev` and goes live on your own servers: see
46
+ `node_modules/curb/docs/agent-guide/hosting.md`. Once hosted deploys accept it:
47
+
44
48
  ```bash
45
49
  npx curb login
46
50
  npx curb secrets push
@@ -49,8 +53,7 @@ npx curb deploy
49
53
 
50
54
  `deploy` prints the playground URL where you can call the live agent. Your `.env` is
51
55
  never uploaded; `secrets push` sends its values and prints only their names. Details:
52
- `node_modules/curb/docs/agent-guide/deploying.md`. To run the voice worker on your own LiveKit instead,
53
- see `node_modules/curb/docs/agent-guide/hosting.md`.
56
+ `node_modules/curb/docs/agent-guide/deploying.md`.
54
57
 
55
58
  ## Learn more
56
59