@pinecall/agents 0.10.1 → 0.11.0

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.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -53,8 +53,8 @@ of the project: it never loads this one, it starts the agents of your project th
53
53
 
54
54
  ```bash
55
55
  npm i -g pinecall
56
- pinecall new front-desk # a project of one agent: the class, its test, a golden, the toolchain
57
- cd front-desk && npm install
56
+ pinecall new acme --agent front-desk # the project, and its first agent in agents/front-desk/
57
+ cd acme && npm install
58
58
  pinecall link # sign in through the browser; writes your key to ./.env
59
59
  pinecall chat # talk to the agent in this terminal
60
60
  pinecall test # run its golden against a real model
@@ -67,7 +67,7 @@ checkout:
67
67
  ```bash
68
68
  pnpm install
69
69
  npm i -g pinecall # the CLI; the example takes the framework from this checkout
70
- cd examples/clinica-norte
70
+ cd ../../examples/typescript/clinica-norte
71
71
  pinecall link # sign in through the browser; writes your key to ./.env
72
72
  pinecall chat # talk to the agent in this terminal
73
73
  pinecall start # run the agent (this is the process you deploy)
@@ -84,7 +84,7 @@ and `PINECALL_URL` from the environment or the project's `.env`. Full reference:
84
84
  [docs/the-cli.md](https://github.com/pinecall/pinecall/blob/main/cli/docs/the-cli.md).
85
85
 
86
86
  A project holds one or more agents: `agents/<name>/agent.tsx` and their tests in
87
- `test/<name>/`. Voice, model, language, greeting, knowledge and the documents an agent searches
87
+ `agents/<name>/test/`. Voice, model, language, greeting, knowledge and the documents an agent searches
88
88
  are per-world settings (`pinecall agent set --language es`), unless the class declares them
89
89
  itself — `@voice`, `@llm`, `@stt`, `@judge` and `static` fields — and then the class wins. Running in production on your own server:
90
90
  [Run it on your own server](https://docs.pinecall.io/guides/own-server/).
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@pinecall/agents",
3
- "version": "0.10.1",
3
+ "version": "0.11.0",
4
4
  "description": "Write an agent as a class: its fields are the state, its @tool methods are the model's verbs, and its docstrings are the prompt. The pinecall CLI serves it",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Pinecall <hello@pinecall.io>",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "git+https://github.com/pinecall/pinecall.git",
10
- "directory": "sdks/typescript"
10
+ "directory": "sdk/typescript"
11
11
  },
12
12
  "type": "module",
13
13
  "main": "./dist/index.js",