fastbrowse 0.9.0 → 0.9.1
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/dist/index.d.ts +1 -1
- package/dist/protocol.d.ts +21 -0
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { AbortError, FastbrowseError, ProcessExitedError, RpcError } from './errors.ts';
|
|
2
2
|
export { type CloseOptions, Fastbrowse, type StartOptions } from './fastbrowse.ts';
|
|
3
3
|
export { type JsonSchema, type OutputIssue, type OutputOf, type OutputSchema, OutputValidationError, type StandardOutputSchema, type TypedRunResult, } from './output.ts';
|
|
4
|
-
export type { Artifact, BrowserEvent, BudgetStop, Citation, CostBreakdown, CostLine, ErrorCode, Evidence, RunResult, SecretRef, Status, StepEvent, StepFact, StepResult, } from './protocol.ts';
|
|
4
|
+
export type { Artifact, BrowserEvent, BudgetStop, Citation, CostBreakdown, CostLine, ErrorCode, Evidence, RunResult, SecretRef, Status, StepChoice, StepEvent, StepFact, StepResult, } from './protocol.ts';
|
|
5
5
|
export type { Attachment, BrowserOptions, RunOptions, Secrets } from './run.ts';
|
package/dist/protocol.d.ts
CHANGED
|
@@ -258,6 +258,10 @@ export interface StepResult {
|
|
|
258
258
|
*/
|
|
259
259
|
page_changed: boolean | null;
|
|
260
260
|
duration_ms: number;
|
|
261
|
+
/**
|
|
262
|
+
* The controls Jev was offered for this step's decision, when `Config.step_choices` asked for them.
|
|
263
|
+
*/
|
|
264
|
+
choices?: StepChoice[];
|
|
261
265
|
}
|
|
262
266
|
export interface StepFact {
|
|
263
267
|
text: string;
|
|
@@ -270,6 +274,23 @@ export interface StepFact {
|
|
|
270
274
|
reader: FactReader;
|
|
271
275
|
deep_link: string | null;
|
|
272
276
|
}
|
|
277
|
+
export interface StepChoice {
|
|
278
|
+
id: string;
|
|
279
|
+
role: string;
|
|
280
|
+
/**
|
|
281
|
+
* The label as Jev read it, with resolved secrets masked.
|
|
282
|
+
*/
|
|
283
|
+
label: string;
|
|
284
|
+
/**
|
|
285
|
+
* The card or row that tells this control from its twins, as Jev read it, with resolved secrets masked.
|
|
286
|
+
*/
|
|
287
|
+
context: string | null;
|
|
288
|
+
operations: Operation[];
|
|
289
|
+
/**
|
|
290
|
+
* Whether Jev chose this control: the target, and for a drag the destination too.
|
|
291
|
+
*/
|
|
292
|
+
chosen: boolean;
|
|
293
|
+
}
|
|
273
294
|
/**
|
|
274
295
|
* The params of `run/frame`: the active tab as it looked a moment ago. Sent only to a run that set `frames`.
|
|
275
296
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fastbrowse",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "Browser automation with cited answers, structured output and code-controlled credentials and authorization.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"test": "npm run build && node --test \"test/*.test.ts\""
|
|
28
28
|
},
|
|
29
29
|
"optionalDependencies": {
|
|
30
|
-
"@fastbrowse/darwin-arm64": "0.9.
|
|
31
|
-
"@fastbrowse/darwin-x64": "0.9.
|
|
32
|
-
"@fastbrowse/linux-arm64": "0.9.
|
|
33
|
-
"@fastbrowse/linux-x64": "0.9.
|
|
34
|
-
"@fastbrowse/win32-x64": "0.9.
|
|
30
|
+
"@fastbrowse/darwin-arm64": "0.9.1",
|
|
31
|
+
"@fastbrowse/darwin-x64": "0.9.1",
|
|
32
|
+
"@fastbrowse/linux-arm64": "0.9.1",
|
|
33
|
+
"@fastbrowse/linux-x64": "0.9.1",
|
|
34
|
+
"@fastbrowse/win32-x64": "0.9.1"
|
|
35
35
|
}
|
|
36
36
|
}
|