openfox 2.0.104 → 2.0.106
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 +41 -0
- package/dist/CHANGELOG.md +41 -0
- package/dist/agent-defaults/planner.agent.md +2 -1
- package/dist/{chat-handler-G2ZJNAVB.js → chat-handler-A22X22VZ.js} +24 -24
- package/dist/{chunk-YXIDKMBJ.js → chunk-26DEYDYV.js} +4 -4
- package/dist/{chunk-6SIX7P6O.js → chunk-2GM6SUIQ.js} +2 -2
- package/dist/{chunk-ZASSAZ73.js → chunk-33Q7LCVD.js} +2 -2
- package/dist/{chunk-S5HDT5RQ.js → chunk-3C73IUUL.js} +2 -2
- package/dist/{chunk-F766OIDT.js → chunk-46KNPXY6.js} +3 -3
- package/dist/{chunk-5ZJYEINJ.js → chunk-5M45NHQ2.js} +2 -2
- package/dist/{chunk-WWFH5GAR.js → chunk-6FPGJR7O.js} +2 -2
- package/dist/{chunk-PKLWSTDB.js → chunk-6M44ZHQA.js} +32 -32
- package/dist/{chunk-TFQSCHVU.js → chunk-6VNB4L4V.js} +3 -3
- package/dist/{chunk-3NVISPE7.js → chunk-AYUUGKZU.js} +14 -16
- package/dist/chunk-C5YV3EA4.js +7 -0
- package/dist/{chunk-B56G5OEF.js → chunk-D6ODGTSZ.js} +5 -3
- package/dist/{chunk-XWW7LOU4.js → chunk-G2VLGZ3Y.js} +256 -164
- package/dist/{chunk-DMI2BXHA.js → chunk-GXW4CRR5.js} +7 -6
- package/dist/{chunk-W2KZ7H55.js → chunk-HU22EVEM.js} +7 -7
- package/dist/{chunk-OUMHR7LR.js → chunk-IA4Y3CKA.js} +7 -6
- package/dist/{chunk-SPA7PQPJ.js → chunk-KIAKWUZ3.js} +2 -2
- package/dist/{chunk-GLF65XDS.js → chunk-LCQ5AN6Y.js} +8 -1
- package/dist/{chunk-B76OP3OE.js → chunk-LOHVZGCM.js} +4 -4
- package/dist/{chunk-UADZ2LZJ.js → chunk-OEPRHAIO.js} +3 -3
- package/dist/{chunk-HZXWVD5A.js → chunk-P4APMCTX.js} +85 -25
- package/dist/{chunk-EFIC3TUX.js → chunk-QBKAW5H4.js} +7 -7
- package/dist/{chunk-D3SXT3BL.js → chunk-RRTKVJMF.js} +5 -10
- package/dist/{chunk-J27BLIPY.js → chunk-SGJ3LSVA.js} +3 -2
- package/dist/{chunk-WHJ67MO2.js → chunk-SUTJJWUK.js} +7 -7
- package/dist/{chunk-ERKPMNC7.js → chunk-TB7TTPYQ.js} +2 -2
- package/dist/{chunk-2COWPTSJ.js → chunk-UCIZV76E.js} +4 -8
- package/dist/{chunk-EF7KGWF6.js → chunk-UXQN7FGB.js} +2 -2
- package/dist/{chunk-5VKT34HE.js → chunk-V6Y6OLB4.js} +2 -2
- package/dist/{chunk-KCED2X4H.js → chunk-WDJOSRIB.js} +12 -5
- package/dist/{chunk-62QCBNPE.js → chunk-WLJJRX22.js} +10 -3
- package/dist/{chunk-ERTTKKCE.js → chunk-X3USQHHK.js} +2 -2
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{client-2EAJAGPC.js → client-MP3FSNN7.js} +6 -6
- package/dist/{client-pure-ONSVWEG5.js → client-pure-USVHN4WG.js} +2 -2
- package/dist/{compactor-IEYTUHYX.js → compactor-KK2BVJK5.js} +12 -12
- package/dist/{config-3FKJV3KI.js → config-HX7FDKGJ.js} +2 -2
- package/dist/{dynamic-context-Z5BU2RVP.js → dynamic-context-ZUXI5UTW.js} +9 -9
- package/dist/{events-BGVLDGLK.js → events-OJ2R6OEM.js} +7 -7
- package/dist/{folding-AJMZBHNR.js → folding-DUZSKCZF.js} +5 -5
- package/dist/http-client-KJXFSK7A.js +11 -0
- package/dist/{inspect-proxy-GF6OI7MR.js → inspect-proxy-N42Z5TOG.js} +4 -4
- package/dist/{manager-GGIIENDX.js → manager-N27WNW5B.js} +5 -5
- package/dist/{model-overrides-BLEFI7FQ.js → model-overrides-36SQR3JR.js} +4 -4
- package/dist/{openFolder-Z27FEM5M.js → openFolder-HX7X356L.js} +2 -2
- package/dist/{orchestrator-SYAYO6NS.js → orchestrator-VZORJ7KF.js} +23 -23
- package/dist/package.json +4 -2
- package/dist/{path-security-JCDBLFIE.js → path-security-QCIA6YFV.js} +8 -8
- package/dist/{permissions-CGEK3DGZ.js → permissions-K6YEA2ZZ.js} +12 -1
- package/dist/{platform-GZ2WIDS5.js → platform-Q6T3AUHA.js} +4 -4
- package/dist/{processor-CBGV2K4E.js → processor-QYVHKRIV.js} +23 -23
- package/dist/{project-creator-SMWFMIU5.js → project-creator-BVA55HY6.js} +4 -4
- package/dist/{projects-M5XKC7O6.js → projects-PQXME5S4.js} +3 -3
- package/dist/{protocol-rfiBDoXm.d.ts → protocol-zRSsysOe.d.ts} +1 -1
- package/dist/provider/index.d.ts +4 -4
- package/dist/{provider-XCVHKXPS.js → provider-RQQ5JN34.js} +9 -9
- package/dist/{provider-manager-AUYP3QAM.js → provider-manager-RUC5QQ75.js} +7 -7
- package/dist/{registry-M2QVGRNK.js → registry-BDSTPV65.js} +4 -4
- package/dist/{serve-NPS4GJWH.js → serve-2O7G2WZF.js} +32 -32
- package/dist/server/index.d.ts +33 -4
- package/dist/server/index.js +31 -31
- package/dist/server-CYE6XY7J.js +47 -0
- package/dist/{session-overrides-HA5IQYLI.js → session-overrides-SFWPS5CT.js} +6 -6
- package/dist/{sessions-ZV2WRC6K.js → sessions-TZNUQJ2I.js} +5 -5
- package/dist/{settings-TGCITCVA.js → settings-5LG7IB3K.js} +3 -3
- package/dist/shared/index.d.ts +3 -3
- package/dist/skill-defaults/browser/SKILL.md +36 -22
- package/dist/{tools-KKALZLKX.js → tools-Y4F4HJPO.js} +21 -21
- package/dist/{types-o0v5xVxu.d.ts → types-CTl70hba.d.ts} +12 -1
- package/dist/{types-o-YQ3Bfq.d.ts → types-_uF_PRaD.d.ts} +1 -1
- package/dist/{update-7BEZMI4R.js → update-QEZIUJHR.js} +2 -2
- package/dist/web/assets/index-BxI3Y9C7.js +323 -0
- package/dist/web/index.html +1 -1
- package/dist/web/sw.js +1 -1
- package/dist/workflow-defaults/default.workflow.json +3 -3
- package/dist/{workspace-2NDXTCVR.js → workspace-2OG5VQG6.js} +4 -4
- package/package.json +4 -2
- package/dist/chunk-MLOCSFIW.js +0 -7
- package/dist/http-client-A7A4XWNK.js +0 -11
- package/dist/server-FKM4FQKD.js +0 -47
- package/dist/web/assets/index-BoWCT9PC.js +0 -323
|
@@ -7,41 +7,55 @@ metadata:
|
|
|
7
7
|
displayName: Browser
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
-
# playwright
|
|
10
|
+
# @playwright/cli
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
Interactive browser automation via the official Microsoft [`@playwright/cli`](https://github.com/microsoft/playwright-cli) package.
|
|
13
13
|
Use `run_command` to execute these commands.
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
>
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
Invoke it through npx — works on any machine with Node, no global or project-local install required:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
npx -y @playwright/cli <command>
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
> `-y` auto-confirms npx's one-time package download (cached afterwards). If you already installed it globally (`npm install -g @playwright/cli@latest`), the plain `playwright-cli` command works the same.
|
|
21
22
|
|
|
22
23
|
## Core Workflow
|
|
23
24
|
|
|
24
|
-
|
|
25
|
+
open a page -> snapshot to get element refs -> interact using refs -> snapshot again. Every command echoes the latest snapshot.
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
# Open a URL (headless by default; add --headed to show a window)
|
|
29
|
+
npx -y @playwright/cli open https://example.com
|
|
30
|
+
# Interact using refs from the snapshot
|
|
31
|
+
npx -y @playwright/cli click e42
|
|
32
|
+
npx -y @playwright/cli fill e15 "hello world"
|
|
33
|
+
# Re-snapshot to see the result
|
|
34
|
+
npx -y @playwright/cli snapshot
|
|
35
|
+
# Screenshot (only when a visual is needed — snapshots are the norm)
|
|
36
|
+
npx -y @playwright/cli screenshot
|
|
37
|
+
# Close the browser when done — leaving it open leaks CPU
|
|
38
|
+
npx -y @playwright/cli close
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Cleaning up
|
|
42
|
+
|
|
43
|
+
Closing the browser is part of the workflow, not an afterthought: Chromium can leave orphaned processes behind (a known upstream quirk) that keep burning CPU. If you suspect a leftover browser, reclaim it:
|
|
25
44
|
|
|
26
45
|
```bash
|
|
27
|
-
#
|
|
28
|
-
npx playwright
|
|
29
|
-
#
|
|
30
|
-
npx playwright
|
|
31
|
-
#
|
|
32
|
-
npx playwright
|
|
33
|
-
# Fill a form field by ref
|
|
34
|
-
npx playwright-cli fill e15 "hello world"
|
|
35
|
-
# Take a screenshot
|
|
36
|
-
npx playwright-cli screenshot
|
|
46
|
+
# See what's still running
|
|
47
|
+
npx -y @playwright/cli list
|
|
48
|
+
# Close every browser session
|
|
49
|
+
npx -y @playwright/cli close-all
|
|
50
|
+
# Force-kill stale/zombie browser processes
|
|
51
|
+
npx -y @playwright/cli kill-all
|
|
37
52
|
```
|
|
38
53
|
|
|
39
54
|
## Screenshot workflow
|
|
40
55
|
|
|
41
|
-
After
|
|
42
|
-
This allows you to see the image, and for the user to see it as well.
|
|
56
|
+
After `npx -y @playwright/cli screenshot`, always use the `read_file` tool on the path of the image returned by playwright-cli — so you can see it, and the user can see it too.
|
|
43
57
|
|
|
44
58
|
## All Commands
|
|
45
59
|
|
|
46
60
|
- `open [url]` -- open the browser (optionally to a URL)
|
|
47
|
-
- use `npx playwright
|
|
61
|
+
- use `npx -y @playwright/cli --help` to get all available commands
|
|
@@ -9,26 +9,26 @@ import {
|
|
|
9
9
|
setMcpTools,
|
|
10
10
|
stepDoneTool,
|
|
11
11
|
validateToolAction
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-6M44ZHQA.js";
|
|
13
|
+
import "./chunk-LOHVZGCM.js";
|
|
14
|
+
import "./chunk-5M45NHQ2.js";
|
|
15
|
+
import "./chunk-SGJ3LSVA.js";
|
|
16
|
+
import "./chunk-33Q7LCVD.js";
|
|
17
|
+
import "./chunk-6VNB4L4V.js";
|
|
18
18
|
import "./chunk-I72ACQ6R.js";
|
|
19
19
|
import "./chunk-JE7LW7Y6.js";
|
|
20
20
|
import "./chunk-VKWVPQJ5.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-RRTKVJMF.js";
|
|
22
22
|
import "./chunk-J7GAZGZT.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-OEPRHAIO.js";
|
|
24
24
|
import {
|
|
25
25
|
PathAccessDeniedError,
|
|
26
26
|
cancelPathConfirmationsForSession,
|
|
27
27
|
getConfirmationSessionId,
|
|
28
28
|
providePathConfirmation,
|
|
29
29
|
requestPathAccess
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-X3USQHHK.js";
|
|
31
|
+
import "./chunk-GXW4CRR5.js";
|
|
32
32
|
import "./chunk-27SDWNKL.js";
|
|
33
33
|
import {
|
|
34
34
|
AskUserInterrupt,
|
|
@@ -36,21 +36,21 @@ import {
|
|
|
36
36
|
getPendingQuestionsForSession,
|
|
37
37
|
provideAnswer
|
|
38
38
|
} from "./chunk-JAX5OEMM.js";
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-UXQN7FGB.js";
|
|
40
|
+
import "./chunk-V6Y6OLB4.js";
|
|
41
|
+
import "./chunk-6FPGJR7O.js";
|
|
42
|
+
import "./chunk-3C73IUUL.js";
|
|
43
|
+
import "./chunk-IA4Y3CKA.js";
|
|
44
|
+
import "./chunk-2GM6SUIQ.js";
|
|
45
45
|
import "./chunk-J2GP3J3X.js";
|
|
46
46
|
import "./chunk-V4IE7HJY.js";
|
|
47
47
|
import "./chunk-YHEQTVFV.js";
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-WDJOSRIB.js";
|
|
49
|
+
import "./chunk-KIAKWUZ3.js";
|
|
50
|
+
import "./chunk-LCQ5AN6Y.js";
|
|
51
51
|
import "./chunk-K44MW7JJ.js";
|
|
52
52
|
import "./chunk-4R7G5JB6.js";
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-D6ODGTSZ.js";
|
|
54
54
|
import "./chunk-CQGTEGKL.js";
|
|
55
55
|
import "./chunk-5WRI5ZAA.js";
|
|
56
56
|
export {
|
|
@@ -74,4 +74,4 @@ export {
|
|
|
74
74
|
stepDoneTool,
|
|
75
75
|
validateToolAction
|
|
76
76
|
};
|
|
77
|
-
//# sourceMappingURL=tools-
|
|
77
|
+
//# sourceMappingURL=tools-Y4F4HJPO.js.map
|
|
@@ -24,6 +24,15 @@ interface WorkflowParameter {
|
|
|
24
24
|
required?: boolean;
|
|
25
25
|
}
|
|
26
26
|
type WorkflowExecutionStatus = 'running' | 'waiting' | 'completed' | 'cancelled' | 'blocked';
|
|
27
|
+
/** A selectable branch presented to the user at a paused user step. */
|
|
28
|
+
interface UserStepChoice {
|
|
29
|
+
/** Choice identifier — matches a step_result transition's result. */
|
|
30
|
+
id: string;
|
|
31
|
+
/** Button label shown in the UI. */
|
|
32
|
+
label: string;
|
|
33
|
+
/** Target step the choice routes to. */
|
|
34
|
+
goto: string;
|
|
35
|
+
}
|
|
27
36
|
interface WorkflowExecution {
|
|
28
37
|
id: string;
|
|
29
38
|
sessionId: string;
|
|
@@ -35,6 +44,8 @@ interface WorkflowExecution {
|
|
|
35
44
|
currentStepName?: string;
|
|
36
45
|
stepOutput: Record<string, string>;
|
|
37
46
|
params: Record<string, string>;
|
|
47
|
+
/** Available branches at a paused user step, if any. */
|
|
48
|
+
pendingChoices?: UserStepChoice[];
|
|
38
49
|
createdAt: number;
|
|
39
50
|
updatedAt: number;
|
|
40
51
|
}
|
|
@@ -579,4 +590,4 @@ interface ElementData {
|
|
|
579
590
|
attributes: Record<string, string>;
|
|
580
591
|
}
|
|
581
592
|
|
|
582
|
-
export type { Attachment as A, SessionSummary as B, CallStatsDataPoint as C, DangerLevel as D, EditContextEdit as E, FileReadEntry as F, StatsDataPoint as G, StatsIdentity as H, InjectedFile as I, Todo as J, ToolMode as K, LLMCallStats as L, ModelConfig as M, ToolName as N, ToolResult as O, PreparingToolCall as P, WorkflowExecutionStatus as Q, RecentUserPrompt as R, SessionStats as S, ToolCall as T,
|
|
593
|
+
export type { Attachment as A, SessionSummary as B, CallStatsDataPoint as C, DangerLevel as D, EditContextEdit as E, FileReadEntry as F, StatsDataPoint as G, StatsIdentity as H, InjectedFile as I, Todo as J, ToolMode as K, LLMCallStats as L, ModelConfig as M, ToolName as N, ToolResult as O, PreparingToolCall as P, WorkflowExecutionStatus as Q, RecentUserPrompt as R, SessionStats as S, ToolCall as T, UserStepChoice as U, ValidationResult as V, WorkflowExecution as W, WorkflowParameter as X, Message as a, Config as b, ContextState as c, ContextWindow as d, Criterion as e, CriterionAttempt as f, CriterionStatus as g, CriterionValidation as h, Diagnostic as i, EditContextLine as j, EditContextRegion as k, ElementData as l, ExecutionState as m, LlmBackend as n, MessageRole as o, MessageSegment as p, MessageStats as q, MetadataEntry as r, ModelSessionStats as s, Project as t, Provider as u, ProviderBackend as v, Session as w, SessionMetadata as x, SessionMode as y, SessionPhase as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-C5YV3EA4.js";
|
|
4
4
|
import "./chunk-5WRI5ZAA.js";
|
|
5
5
|
|
|
6
6
|
// src/cli/update.ts
|
|
@@ -46,4 +46,4 @@ async function runUpdate(options = {}) {
|
|
|
46
46
|
export {
|
|
47
47
|
runUpdate
|
|
48
48
|
};
|
|
49
|
-
//# sourceMappingURL=update-
|
|
49
|
+
//# sourceMappingURL=update-QEZIUJHR.js.map
|