@spendgraph/prompt 0.9.1 → 0.10.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.
package/README.md CHANGED
@@ -44,6 +44,11 @@ const reply = await prompt.call({ audience: "students" }, async ({ messages }) =
44
44
  | [Running server-side](https://spendgraph.locusgraph.com/docs/prompt/running) | run, sample, runAll, and the ceiling |
45
45
  | [Versions and datasets](https://spendgraph.locusgraph.com/docs/prompt/datasets) | The split the server decides, and why |
46
46
 
47
+ ## Example
48
+
49
+ [`examples/04-with-tools/01-tool-loop.mjs`](examples/04-with-tools/01-tool-loop.mjs)
50
+ shows a prompt composed with `@spendgraph/tools`.
51
+
47
52
  ## License
48
53
 
49
54
  Apache-2.0
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  /** The version this package was published as; a test holds it to `package.json`. */
2
- export declare const PROMPT_VERSION = "0.9.1";
2
+ export declare const PROMPT_VERSION = "0.10.0";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- const o="0.9.1";export{o as PROMPT_VERSION};
1
+ const o="0.10.0";export{o as PROMPT_VERSION};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spendgraph/prompt",
3
- "version": "0.9.1",
3
+ "version": "0.10.0",
4
4
  "description": "Pull a stored prompt or build one in code, render it, and record what it cost.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -42,12 +42,12 @@
42
42
  "README.md"
43
43
  ],
44
44
  "dependencies": {
45
- "@spendgraph/sdk": "^0.9.1"
45
+ "@spendgraph/sdk": "^0.10.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@spendgraph/config": "0.9.1",
49
- "@spendgraph/llms": "^0.9.1",
50
- "@spendgraph/tools": "^0.9.1",
48
+ "@spendgraph/config": "0.10.0",
49
+ "@spendgraph/llms": "^0.10.0",
50
+ "@spendgraph/tools": "^0.10.0",
51
51
  "typescript": "^5"
52
52
  },
53
53
  "engines": {