create-curb.js 1.16.0-preview.1 → 1.16.0-preview.3

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
@@ -3,3 +3,9 @@
3
3
 
4
4
  - Make npm the only way to get and update Curb (#36)
5
5
 
6
+
7
+ ### Fixed
8
+
9
+ - Correct what the help and guide say about conversations and build (#41)
10
+ - Start curb outside a project from the npm package (#38)
11
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-curb.js",
3
- "version": "1.16.0-preview.1",
3
+ "version": "1.16.0-preview.3",
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,7 +128,7 @@ 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