glove-foundry 0.5.1 → 0.6.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 +104 -15
- package/dist/{chunk-GKZLWD5M.js → chunk-7F7QVO6I.js} +4 -1
- package/dist/chunk-B36BGF5R.js +530 -0
- package/dist/{chunk-5NFLGHOC.js → chunk-K2EU63MB.js} +216 -29
- package/dist/{chunk-KBMD4RYU.js → chunk-OBTOFA7W.js} +63 -198
- package/dist/{chunk-LW5PJ2FN.js → chunk-RSU7NEDK.js} +9 -3
- package/dist/{chunk-TH5ETCG2.js → chunk-TFGETZYH.js} +198 -11
- package/dist/{chunk-SGF3CFUR.js → chunk-X6EWEWWM.js} +942 -57
- package/dist/cli.js +8 -5
- package/dist/client-DWPYe_Nc.d.ts +888 -0
- package/dist/client.d.ts +2 -1
- package/dist/client.js +1 -1
- package/dist/{client-DcsnudMI.d.ts → definition-A8o11aez.d.ts} +195 -812
- package/dist/execution-agent.js +5 -4
- package/dist/execution-daemon.js +37 -2
- package/dist/execution-loader.js +5 -4
- package/dist/index.d.ts +8 -3
- package/dist/index.js +39 -14
- package/dist/voice.d.ts +168 -0
- package/dist/voice.js +348 -0
- package/docs/building-with-foundry.md +32 -21
- package/docs/durable-execution.md +56 -0
- package/docs/release-verification.md +1 -1
- package/package.json +16 -9
- package/templates/minimal/README.md +34 -8
- package/templates/minimal/agents/assistant/agent.ts +24 -10
- package/templates/minimal/foundry.application.ts +11 -3
- package/templates/minimal/gitignore +1 -0
- package/templates/minimal/lib/file-store.ts +95 -0
- package/templates/travel-concierge/README.md +46 -12
- package/templates/travel-concierge/agents/concierge/agent.ts +10 -4
- package/templates/travel-concierge/agents/concierge/composition.ts +9 -2
- package/templates/travel-concierge/agents/concierge/flights.ts +43 -0
- package/templates/travel-concierge/agents/concierge/instances.ts +42 -0
- package/templates/travel-concierge/agents/concierge/memory/traveller.memory.ts +13 -8
- package/templates/travel-concierge/agents/concierge/tools/convert-currency.tool.ts +34 -0
- package/templates/travel-concierge/agents/concierge/workbench.ts +4 -1
- package/templates/travel-concierge/foundry.application.ts +15 -6
- package/templates/travel-concierge/gitignore +1 -0
- package/templates/travel-concierge/lib/demo-model.ts +89 -25
- package/templates/travel-concierge/lib/file-context.ts +60 -0
- package/templates/travel-concierge/lib/file-store.ts +95 -0
- package/templates/minimal/agents/assistant/tools/current-time.tool.ts +0 -17
- package/templates/travel-concierge/agents/concierge/tools/find-flights.tool.ts +0 -49
package/dist/cli.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
FoundryRuntime,
|
|
4
4
|
FoundryServer,
|
|
5
5
|
writeGeneratedTypes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-X6EWEWWM.js";
|
|
7
7
|
import {
|
|
8
8
|
DEFAULT_FOUNDRY_CONFIG
|
|
9
9
|
} from "./chunk-ZFNMFE3T.js";
|
|
@@ -11,8 +11,9 @@ import "./chunk-J7ZBJM54.js";
|
|
|
11
11
|
import {
|
|
12
12
|
EMPTY_FOUNDRY_APPLICATION,
|
|
13
13
|
isFoundryApplication
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-OBTOFA7W.js";
|
|
15
|
+
import "./chunk-B36BGF5R.js";
|
|
16
|
+
import "./chunk-K2EU63MB.js";
|
|
16
17
|
|
|
17
18
|
// src/cli.ts
|
|
18
19
|
import { watch } from "node:fs";
|
|
@@ -147,7 +148,7 @@ var TEMPLATE_IMPORTS = Object.freeze({
|
|
|
147
148
|
"glove-working-environment",
|
|
148
149
|
"zod"
|
|
149
150
|
],
|
|
150
|
-
minimal: ["
|
|
151
|
+
minimal: ["glove-core", "zod"]
|
|
151
152
|
});
|
|
152
153
|
var TEMPLATE_AGENT_ROUTE = Object.freeze({
|
|
153
154
|
"travel-concierge": "concierge",
|
|
@@ -312,6 +313,7 @@ export default defineConfig({
|
|
|
312
313
|
});
|
|
313
314
|
`
|
|
314
315
|
);
|
|
316
|
+
files.set(`${foundryDir}/.gitignore`, ".data\n");
|
|
315
317
|
files.set(
|
|
316
318
|
`${foundryDir}/package.json`,
|
|
317
319
|
`${JSON.stringify(
|
|
@@ -495,7 +497,8 @@ function nextReadme(projectName, route, placeholders) {
|
|
|
495
497
|
"| --- | --- |",
|
|
496
498
|
`| \`foundry/agents/${route}/agent.ts\` | The agent. The file path is its id. |`,
|
|
497
499
|
"| `foundry/foundry.application.ts` | Data adapter, accounts, routes |",
|
|
498
|
-
"| `foundry.config.
|
|
500
|
+
"| `foundry.config.mts` | Points the runtime at `foundry/agents` |",
|
|
501
|
+
"| `foundry/.data/` | Runtime data, transcripts and memory. Ignored by git; delete it to start fresh |",
|
|
499
502
|
"| `lib/foundry.ts` | Typed HTTP client for your app to import |",
|
|
500
503
|
`| \`app/api/${route}/route.ts\` | An example Next.js route handler |`,
|
|
501
504
|
"| `.foundry/routes.d.ts` | Generated. Do not edit |",
|