@bolt-foundry/gambit 0.8.5-rc.9 → 0.8.5
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/CHANGELOG.md +40 -2
- package/README.md +16 -7
- package/esm/_dnt.polyfills.d.ts +7 -7
- package/esm/_dnt.polyfills.d.ts.map +1 -1
- package/esm/_dnt.polyfills.js +14 -13
- package/esm/deps/jsr.io/@std/path/1.1.4/constants.d.ts +1 -1
- package/esm/gambit/simulator-ui/dist/bundle.js +2464 -380
- package/esm/gambit/simulator-ui/dist/bundle.js.map +4 -4
- package/esm/src/providers/codex.d.ts.map +1 -1
- package/esm/src/providers/codex.js +5 -1
- package/esm/src/providers/ollama.d.ts.map +1 -1
- package/esm/src/providers/ollama.js +57 -0
- package/esm/src/providers/openrouter.d.ts.map +1 -1
- package/esm/src/providers/openrouter.js +75 -1
- package/esm/src/server.d.ts.map +1 -1
- package/esm/src/server.js +346 -32
- package/esm/src/server_session_store.d.ts.map +1 -1
- package/esm/src/server_session_store.js +7 -4
- package/esm/src/server_types.d.ts +1 -0
- package/esm/src/server_types.d.ts.map +1 -1
- package/esm/src/server_ui_routes.d.ts.map +1 -1
- package/esm/src/server_ui_routes.js +3 -0
- package/esm/src/workspace.d.ts.map +1 -1
- package/esm/src/workspace.js +0 -2
- package/esm/src/workspace_contract.d.ts +1 -1
- package/esm/src/workspace_contract.d.ts.map +1 -1
- package/esm/src/workspace_contract.js +2 -1
- package/package.json +2 -2
- package/script/_dnt.polyfills.d.ts +7 -7
- package/script/_dnt.polyfills.d.ts.map +1 -1
- package/script/_dnt.polyfills.js +14 -13
- package/script/deps/jsr.io/@std/path/1.1.4/constants.d.ts +1 -1
- package/script/gambit/simulator-ui/dist/bundle.js +2464 -380
- package/script/gambit/simulator-ui/dist/bundle.js.map +4 -4
- package/script/src/providers/codex.d.ts.map +1 -1
- package/script/src/providers/codex.js +5 -1
- package/script/src/providers/ollama.d.ts.map +1 -1
- package/script/src/providers/ollama.js +57 -0
- package/script/src/providers/openrouter.d.ts.map +1 -1
- package/script/src/providers/openrouter.js +75 -1
- package/script/src/server.d.ts.map +1 -1
- package/script/src/server.js +346 -32
- package/script/src/server_session_store.d.ts.map +1 -1
- package/script/src/server_session_store.js +7 -4
- package/script/src/server_types.d.ts +1 -0
- package/script/src/server_types.d.ts.map +1 -1
- package/script/src/server_ui_routes.d.ts.map +1 -1
- package/script/src/server_ui_routes.js +3 -0
- package/script/src/workspace.d.ts.map +1 -1
- package/script/src/workspace.js +0 -2
- package/script/src/workspace_contract.d.ts +1 -1
- package/script/src/workspace_contract.d.ts.map +1 -1
- package/script/src/workspace_contract.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,52 @@
|
|
|
1
1
|
+++
|
|
2
2
|
[release]
|
|
3
|
-
since = "
|
|
3
|
+
since = "175e4900662b374cedd1ebe648e7c25b070ef600"
|
|
4
4
|
+++
|
|
5
5
|
|
|
6
6
|
# Changelog
|
|
7
7
|
|
|
8
|
-
## Unreleased (v0.8.
|
|
8
|
+
## Unreleased (v0.8.6)
|
|
9
9
|
|
|
10
10
|
- TBD
|
|
11
11
|
|
|
12
|
+
## v0.8.5
|
|
13
|
+
|
|
14
|
+
- #4071: exclude `.codex` entries from Build file listing.
|
|
15
|
+
- #4073: include gambit-core snippets/decks/workers in compiled CLI assets and
|
|
16
|
+
support non-file `import.meta.url` runtime initialization.
|
|
17
|
+
|
|
18
|
+
## v0.8.5-rc.12
|
|
19
|
+
|
|
20
|
+
- fix(gambit): add codex trust preflight for workbench chat
|
|
21
|
+
|
|
22
|
+
## v0.8.5-rc.11
|
|
23
|
+
|
|
24
|
+
- #4014: restructure FAQ deck and artifact paths.
|
|
25
|
+
- #4029: include response extension schemas in artifact export and default
|
|
26
|
+
`serve --artifact` to the restored workspace.
|
|
27
|
+
- #4046: ship verify workflow updates (feature-flagged routing, consistency UI,
|
|
28
|
+
deterministic fixture seeding, outlier/report controls and chips), harden
|
|
29
|
+
calibrate persistence + status handling, tighten provider/serialization
|
|
30
|
+
behavior, and move unbounded build timeout to explicit deck opt-in.
|
|
31
|
+
- #4048: default verify tab bootstrap flag to enabled.
|
|
32
|
+
- #4049: clamp deck-level `maxTurns` bounds in test run selection.
|
|
33
|
+
- #4053: add grader error chips to workbench chat.
|
|
34
|
+
- #4054: preserve shared references in safe session serialization.
|
|
35
|
+
- #4055: refactor simulator-ui routing to replace nested ternaries.
|
|
36
|
+
- #4057: align verify outlier chip semantics and display.
|
|
37
|
+
- #4060: improve verify report controls and harden concurrent calibrate
|
|
38
|
+
persistence.
|
|
39
|
+
- #4061: align verify turn labels and stabilize initial run filtering.
|
|
40
|
+
- #4064: prevent simulator feedback reason text from being clobbered while
|
|
41
|
+
editing.
|
|
42
|
+
|
|
43
|
+
## v0.8.5-rc.10
|
|
44
|
+
|
|
45
|
+
- #4004: add OpenResponses convergence runtime + extensions + async action
|
|
46
|
+
semantics in gambit-core.
|
|
47
|
+
- #4004: retire synthetic respond/end docs and align deck authoring guidance.
|
|
48
|
+
- #4010: fix gambit-core npm runtime layouts to ship built-in snippets/decks.
|
|
49
|
+
|
|
12
50
|
## v0.8.5-rc.9
|
|
13
51
|
|
|
14
52
|
- TBD
|
package/README.md
CHANGED
|
@@ -167,6 +167,14 @@ It also serves:
|
|
|
167
167
|
```
|
|
168
168
|
http://localhost:8000/test
|
|
169
169
|
http://localhost:8000/grade
|
|
170
|
+
http://localhost:8000/verify (when GAMBIT_SIMULATOR_VERIFY_TAB=1)
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
To seed deterministic Verify fixtures for local iteration:
|
|
174
|
+
|
|
175
|
+
```bash
|
|
176
|
+
cd packages/gambit
|
|
177
|
+
deno task verify:seed-fixture
|
|
170
178
|
```
|
|
171
179
|
|
|
172
180
|
The Debug UI shows transcript lanes plus a trace/tools feed. If the deck has an\
|
|
@@ -327,10 +335,11 @@ Run it:
|
|
|
327
335
|
npx @bolt-foundry/gambit run ./agent_with_time.deck.md --context '"hello"' --stream
|
|
328
336
|
```
|
|
329
337
|
|
|
330
|
-
###
|
|
338
|
+
### Legacy respond-flow demo (historical compatibility)
|
|
331
339
|
|
|
332
|
-
|
|
333
|
-
|
|
340
|
+
`packages/gambit/examples/respond_flow/` is kept as a legacy compatibility
|
|
341
|
+
example for historical transcript/grader behavior. New decks should return
|
|
342
|
+
schema-valid assistant output directly instead of calling `gambit_respond`.
|
|
334
343
|
|
|
335
344
|
```
|
|
336
345
|
cd packages/gambit
|
|
@@ -342,10 +351,10 @@ Then:
|
|
|
342
351
|
1. Open `http://localhost:8000/test`, pick the **Escalation persona**, and run
|
|
343
352
|
it. Leave the “Use scenario deck input for init” toggle on to see persona
|
|
344
353
|
data seed the init form automatically.
|
|
345
|
-
2. Switch to the Debug tab to inspect the session
|
|
346
|
-
`gambit_respond`
|
|
347
|
-
3. Head to the Calibrate tab and run the **Respond payload grader** to
|
|
348
|
-
|
|
354
|
+
2. Switch to the Debug tab to inspect the session; this scenario still emits
|
|
355
|
+
legacy `gambit_respond` payloads for compatibility testing.
|
|
356
|
+
3. Head to the Calibrate tab and run the **Respond payload grader** to validate
|
|
357
|
+
historical non-root respond-output handling.
|
|
349
358
|
|
|
350
359
|
## Deno
|
|
351
360
|
|
package/esm/_dnt.polyfills.d.ts
CHANGED
|
@@ -97,13 +97,6 @@ interface ImportMetaPonyfill extends ImportMetaPonyfillCommonjs, ImportMetaPonyf
|
|
|
97
97
|
export declare let import_meta_ponyfill_commonjs: ImportMetaPonyfillCommonjs;
|
|
98
98
|
export declare let import_meta_ponyfill_esmodule: ImportMetaPonyfillEsmodule;
|
|
99
99
|
export declare let import_meta_ponyfill: ImportMetaPonyfill;
|
|
100
|
-
declare global {
|
|
101
|
-
interface ArrayConstructor {
|
|
102
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | Promise<T>> | ArrayLike<T | Promise<T>>): Promise<T[]>;
|
|
103
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
export {};
|
|
107
100
|
declare global {
|
|
108
101
|
interface Object {
|
|
109
102
|
/**
|
|
@@ -115,4 +108,11 @@ declare global {
|
|
|
115
108
|
}
|
|
116
109
|
}
|
|
117
110
|
export {};
|
|
111
|
+
declare global {
|
|
112
|
+
interface ArrayConstructor {
|
|
113
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | Promise<T>> | ArrayLike<T | Promise<T>>): Promise<T[]>;
|
|
114
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
export {};
|
|
118
118
|
//# sourceMappingURL=_dnt.polyfills.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_dnt.polyfills.d.ts","sourceRoot":"","sources":["../src/_dnt.polyfills.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,EAAgC,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AAGlE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,UAAU;QAClB;;;;;;;;;;;;;;WAcG;QACH,GAAG,EAAE,MAAM,CAAC;QACZ;;;;;;;;;;;;WAYG;QACH,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,GAAG,GAAG,SAAS,GAAG,MAAM,CAAC;QACtE;;;;;;;;WAQG;QACH,IAAI,EAAE,OAAO,CAAC;QAEd;;;;;;;;;;;;WAYG;QACH,QAAQ,EAAE,MAAM,CAAC;QAEjB;;;;;;;;;;;;WAYG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oID,OAAO,EAAE,CAAC"}
|
package/esm/_dnt.polyfills.js
CHANGED
|
@@ -125,6 +125,20 @@ export let import_meta_ponyfill = ((...args) => {
|
|
|
125
125
|
//@ts-ignore
|
|
126
126
|
return import_meta_ponyfill(...args);
|
|
127
127
|
});
|
|
128
|
+
// https://github.com/tc39/proposal-accessible-object-hasownproperty/blob/main/polyfill.js
|
|
129
|
+
if (!Object.hasOwn) {
|
|
130
|
+
Object.defineProperty(Object, "hasOwn", {
|
|
131
|
+
value: function (object, property) {
|
|
132
|
+
if (object == null) {
|
|
133
|
+
throw new TypeError("Cannot convert undefined or null to object");
|
|
134
|
+
}
|
|
135
|
+
return Object.prototype.hasOwnProperty.call(Object(object), property);
|
|
136
|
+
},
|
|
137
|
+
configurable: true,
|
|
138
|
+
enumerable: false,
|
|
139
|
+
writable: true,
|
|
140
|
+
});
|
|
141
|
+
}
|
|
128
142
|
// From https://github.com/es-shims/array-from-async/blob/4a5ff83947b861f35b380d5d4f20da2f07698638/index.mjs
|
|
129
143
|
// Tried to have dnt depend on the package instead, but it distributes as an
|
|
130
144
|
// ES module, so doesn't work with CommonJS.
|
|
@@ -234,16 +248,3 @@ async function fromAsync(items, mapfn, thisArg) {
|
|
|
234
248
|
if (!Array.fromAsync) {
|
|
235
249
|
Array.fromAsync = fromAsync;
|
|
236
250
|
}
|
|
237
|
-
if (!Object.hasOwn) {
|
|
238
|
-
Object.defineProperty(Object, "hasOwn", {
|
|
239
|
-
value: function (object, property) {
|
|
240
|
-
if (object == null) {
|
|
241
|
-
throw new TypeError("Cannot convert undefined or null to object");
|
|
242
|
-
}
|
|
243
|
-
return Object.prototype.hasOwnProperty.call(Object(object), property);
|
|
244
|
-
},
|
|
245
|
-
configurable: true,
|
|
246
|
-
enumerable: false,
|
|
247
|
-
writable: true,
|
|
248
|
-
});
|
|
249
|
-
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* The character used to separate entries in the PATH environment variable.
|
|
3
3
|
* On Windows, this is `;`. On all other platforms, this is `:`.
|
|
4
4
|
*/
|
|
5
|
-
export declare const DELIMITER: "
|
|
5
|
+
export declare const DELIMITER: ":" | ";";
|
|
6
6
|
/**
|
|
7
7
|
* The character used to separate components of a file path.
|
|
8
8
|
* On Windows, this is `\`. On all other platforms, this is `/`.
|