@bolt-foundry/gambit-core 1.0.0-rc.1 → 1.0.0-rc.2
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 +19 -15
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ can live in any host.
|
|
|
24
24
|
[`defineCard`](src/definitions.ts) that enforce Zod
|
|
25
25
|
`contextSchema`/`responseSchema`.
|
|
26
26
|
- Loader that understands Markdown decks/cards, inline embeds, and companion
|
|
27
|
-
|
|
27
|
+
deck references (`[[actions]]`, `[[scenarios]]`, `[[graders]]`).
|
|
28
28
|
- Guardrail-aware runtime (`runDeck`) that can mix LLM actions and pure compute
|
|
29
29
|
decks with structured tracing and execution context helpers.
|
|
30
30
|
- Response-first runtime helpers that plug into any model provider implementing
|
|
@@ -70,9 +70,9 @@ etc.).
|
|
|
70
70
|
spawning child decks.
|
|
71
71
|
- **Handlers**: Background decks triggered on busy/idle/error intervals. Paths
|
|
72
72
|
are resolved relative to the parent deck file.
|
|
73
|
-
- **Companion decks**: `
|
|
74
|
-
`
|
|
75
|
-
transcripts.
|
|
73
|
+
- **Companion decks**: `[[actions]]` expose tools (function calls) to the model,
|
|
74
|
+
`[[scenarios]]` house personas or scripted tests, and `[[graders]]` evaluate
|
|
75
|
+
saved transcripts.
|
|
76
76
|
|
|
77
77
|
All actual type definitions live under [`src/types.ts`](src/types.ts). Use them
|
|
78
78
|
when scripting tooling or writing custom providers.
|
|
@@ -193,12 +193,16 @@ Embedded cards or system hints can be referenced with markdown image syntax.
|
|
|
193
193
|
label: Support Triage
|
|
194
194
|
contextSchema: ./schemas/triage_input.ts
|
|
195
195
|
responseSchema: ./schemas/triage_output.ts
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
196
|
+
[[actions]]
|
|
197
|
+
name = "escalate"
|
|
198
|
+
description = "Escalate to a manager"
|
|
199
|
+
path = "./actions/escalate.deck.md"
|
|
200
|
+
|
|
201
|
+
[[scenarios]]
|
|
202
|
+
path = "./personas/test_bot.deck.md"
|
|
203
|
+
|
|
204
|
+
[[graders]]
|
|
205
|
+
path = "./graders/support_triage.deck.md"
|
|
202
206
|
---
|
|
203
207
|

|
|
204
208
|
|
|
@@ -209,11 +213,11 @@ clarifying questions before choosing an action.
|
|
|
209
213
|
```
|
|
210
214
|
|
|
211
215
|
`loadDeck` normalizes relative paths, merges card fragments, enforces unique
|
|
212
|
-
action names, and warns about deprecated fields (`
|
|
213
|
-
`handlers.onInterval`, `intervalMs`). The Markdown loader also
|
|
214
|
-
text for built-in tools like `gambit_context` when you add
|
|
215
|
-
Legacy `gambit_respond` and `gambit_end` markers are
|
|
216
|
-
hard-fail in default runtime paths.
|
|
216
|
+
action names, and warns about deprecated fields (`actionDecks`, `testDecks`,
|
|
217
|
+
`graderDecks`, `handlers.onInterval`, `intervalMs`). The Markdown loader also
|
|
218
|
+
injects helper text for built-in tools like `gambit_context` when you add
|
|
219
|
+
`gambit://` markers. Legacy `gambit_respond` and `gambit_end` markers are
|
|
220
|
+
migration-only and now hard-fail in default runtime paths.
|
|
217
221
|
|
|
218
222
|
## Compatibility and utilities
|
|
219
223
|
|