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.
Files changed (86) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist/CHANGELOG.md +41 -0
  3. package/dist/agent-defaults/planner.agent.md +2 -1
  4. package/dist/{chat-handler-G2ZJNAVB.js → chat-handler-A22X22VZ.js} +24 -24
  5. package/dist/{chunk-YXIDKMBJ.js → chunk-26DEYDYV.js} +4 -4
  6. package/dist/{chunk-6SIX7P6O.js → chunk-2GM6SUIQ.js} +2 -2
  7. package/dist/{chunk-ZASSAZ73.js → chunk-33Q7LCVD.js} +2 -2
  8. package/dist/{chunk-S5HDT5RQ.js → chunk-3C73IUUL.js} +2 -2
  9. package/dist/{chunk-F766OIDT.js → chunk-46KNPXY6.js} +3 -3
  10. package/dist/{chunk-5ZJYEINJ.js → chunk-5M45NHQ2.js} +2 -2
  11. package/dist/{chunk-WWFH5GAR.js → chunk-6FPGJR7O.js} +2 -2
  12. package/dist/{chunk-PKLWSTDB.js → chunk-6M44ZHQA.js} +32 -32
  13. package/dist/{chunk-TFQSCHVU.js → chunk-6VNB4L4V.js} +3 -3
  14. package/dist/{chunk-3NVISPE7.js → chunk-AYUUGKZU.js} +14 -16
  15. package/dist/chunk-C5YV3EA4.js +7 -0
  16. package/dist/{chunk-B56G5OEF.js → chunk-D6ODGTSZ.js} +5 -3
  17. package/dist/{chunk-XWW7LOU4.js → chunk-G2VLGZ3Y.js} +256 -164
  18. package/dist/{chunk-DMI2BXHA.js → chunk-GXW4CRR5.js} +7 -6
  19. package/dist/{chunk-W2KZ7H55.js → chunk-HU22EVEM.js} +7 -7
  20. package/dist/{chunk-OUMHR7LR.js → chunk-IA4Y3CKA.js} +7 -6
  21. package/dist/{chunk-SPA7PQPJ.js → chunk-KIAKWUZ3.js} +2 -2
  22. package/dist/{chunk-GLF65XDS.js → chunk-LCQ5AN6Y.js} +8 -1
  23. package/dist/{chunk-B76OP3OE.js → chunk-LOHVZGCM.js} +4 -4
  24. package/dist/{chunk-UADZ2LZJ.js → chunk-OEPRHAIO.js} +3 -3
  25. package/dist/{chunk-HZXWVD5A.js → chunk-P4APMCTX.js} +85 -25
  26. package/dist/{chunk-EFIC3TUX.js → chunk-QBKAW5H4.js} +7 -7
  27. package/dist/{chunk-D3SXT3BL.js → chunk-RRTKVJMF.js} +5 -10
  28. package/dist/{chunk-J27BLIPY.js → chunk-SGJ3LSVA.js} +3 -2
  29. package/dist/{chunk-WHJ67MO2.js → chunk-SUTJJWUK.js} +7 -7
  30. package/dist/{chunk-ERKPMNC7.js → chunk-TB7TTPYQ.js} +2 -2
  31. package/dist/{chunk-2COWPTSJ.js → chunk-UCIZV76E.js} +4 -8
  32. package/dist/{chunk-EF7KGWF6.js → chunk-UXQN7FGB.js} +2 -2
  33. package/dist/{chunk-5VKT34HE.js → chunk-V6Y6OLB4.js} +2 -2
  34. package/dist/{chunk-KCED2X4H.js → chunk-WDJOSRIB.js} +12 -5
  35. package/dist/{chunk-62QCBNPE.js → chunk-WLJJRX22.js} +10 -3
  36. package/dist/{chunk-ERTTKKCE.js → chunk-X3USQHHK.js} +2 -2
  37. package/dist/cli/dev.js +1 -1
  38. package/dist/cli/index.js +1 -1
  39. package/dist/{client-2EAJAGPC.js → client-MP3FSNN7.js} +6 -6
  40. package/dist/{client-pure-ONSVWEG5.js → client-pure-USVHN4WG.js} +2 -2
  41. package/dist/{compactor-IEYTUHYX.js → compactor-KK2BVJK5.js} +12 -12
  42. package/dist/{config-3FKJV3KI.js → config-HX7FDKGJ.js} +2 -2
  43. package/dist/{dynamic-context-Z5BU2RVP.js → dynamic-context-ZUXI5UTW.js} +9 -9
  44. package/dist/{events-BGVLDGLK.js → events-OJ2R6OEM.js} +7 -7
  45. package/dist/{folding-AJMZBHNR.js → folding-DUZSKCZF.js} +5 -5
  46. package/dist/http-client-KJXFSK7A.js +11 -0
  47. package/dist/{inspect-proxy-GF6OI7MR.js → inspect-proxy-N42Z5TOG.js} +4 -4
  48. package/dist/{manager-GGIIENDX.js → manager-N27WNW5B.js} +5 -5
  49. package/dist/{model-overrides-BLEFI7FQ.js → model-overrides-36SQR3JR.js} +4 -4
  50. package/dist/{openFolder-Z27FEM5M.js → openFolder-HX7X356L.js} +2 -2
  51. package/dist/{orchestrator-SYAYO6NS.js → orchestrator-VZORJ7KF.js} +23 -23
  52. package/dist/package.json +4 -2
  53. package/dist/{path-security-JCDBLFIE.js → path-security-QCIA6YFV.js} +8 -8
  54. package/dist/{permissions-CGEK3DGZ.js → permissions-K6YEA2ZZ.js} +12 -1
  55. package/dist/{platform-GZ2WIDS5.js → platform-Q6T3AUHA.js} +4 -4
  56. package/dist/{processor-CBGV2K4E.js → processor-QYVHKRIV.js} +23 -23
  57. package/dist/{project-creator-SMWFMIU5.js → project-creator-BVA55HY6.js} +4 -4
  58. package/dist/{projects-M5XKC7O6.js → projects-PQXME5S4.js} +3 -3
  59. package/dist/{protocol-rfiBDoXm.d.ts → protocol-zRSsysOe.d.ts} +1 -1
  60. package/dist/provider/index.d.ts +4 -4
  61. package/dist/{provider-XCVHKXPS.js → provider-RQQ5JN34.js} +9 -9
  62. package/dist/{provider-manager-AUYP3QAM.js → provider-manager-RUC5QQ75.js} +7 -7
  63. package/dist/{registry-M2QVGRNK.js → registry-BDSTPV65.js} +4 -4
  64. package/dist/{serve-NPS4GJWH.js → serve-2O7G2WZF.js} +32 -32
  65. package/dist/server/index.d.ts +33 -4
  66. package/dist/server/index.js +31 -31
  67. package/dist/server-CYE6XY7J.js +47 -0
  68. package/dist/{session-overrides-HA5IQYLI.js → session-overrides-SFWPS5CT.js} +6 -6
  69. package/dist/{sessions-ZV2WRC6K.js → sessions-TZNUQJ2I.js} +5 -5
  70. package/dist/{settings-TGCITCVA.js → settings-5LG7IB3K.js} +3 -3
  71. package/dist/shared/index.d.ts +3 -3
  72. package/dist/skill-defaults/browser/SKILL.md +36 -22
  73. package/dist/{tools-KKALZLKX.js → tools-Y4F4HJPO.js} +21 -21
  74. package/dist/{types-o0v5xVxu.d.ts → types-CTl70hba.d.ts} +12 -1
  75. package/dist/{types-o-YQ3Bfq.d.ts → types-_uF_PRaD.d.ts} +1 -1
  76. package/dist/{update-7BEZMI4R.js → update-QEZIUJHR.js} +2 -2
  77. package/dist/web/assets/index-BxI3Y9C7.js +323 -0
  78. package/dist/web/index.html +1 -1
  79. package/dist/web/sw.js +1 -1
  80. package/dist/workflow-defaults/default.workflow.json +3 -3
  81. package/dist/{workspace-2NDXTCVR.js → workspace-2OG5VQG6.js} +4 -4
  82. package/package.json +4 -2
  83. package/dist/chunk-MLOCSFIW.js +0 -7
  84. package/dist/http-client-A7A4XWNK.js +0 -11
  85. package/dist/server-FKM4FQKD.js +0 -47
  86. package/dist/web/assets/index-BoWCT9PC.js +0 -323
@@ -7,41 +7,55 @@ metadata:
7
7
  displayName: Browser
8
8
  ---
9
9
 
10
- # playwright-cli
10
+ # @playwright/cli
11
11
 
12
- You have access to `npx playwright-cli` for interactive browser automation via the terminal.
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
- > **Package:** [`@playwright/cli`](https://www.npmjs.com/package/@playwright/cli) (official Microsoft package).
16
- > The unscoped `playwright-cli` package is deprecated — install the scoped one instead.
17
- >
18
- > ```bash
19
- > npm install -g @playwright/cli@latest # Install or update
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
- The typical workflow is: open a page -> snapshot to get element refs -> interact using refs -> snapshot again.
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
- # Open a URL
28
- npx playwright-cli open https://example.com
29
- # Take a snapshot to see the page and get element refs
30
- npx playwright-cli snapshot
31
- # Click an element by ref string from snapshot
32
- npx playwright-cli click e42
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 doing `npx playwright-cli screenshot`, always use the `read_file` tool on the path of the image returned by playwright-cli.
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-cli --help` to get all available commands
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-PKLWSTDB.js";
13
- import "./chunk-B76OP3OE.js";
14
- import "./chunk-5ZJYEINJ.js";
15
- import "./chunk-J27BLIPY.js";
16
- import "./chunk-ZASSAZ73.js";
17
- import "./chunk-TFQSCHVU.js";
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-D3SXT3BL.js";
21
+ import "./chunk-RRTKVJMF.js";
22
22
  import "./chunk-J7GAZGZT.js";
23
- import "./chunk-UADZ2LZJ.js";
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-ERTTKKCE.js";
31
- import "./chunk-DMI2BXHA.js";
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-EF7KGWF6.js";
40
- import "./chunk-5VKT34HE.js";
41
- import "./chunk-WWFH5GAR.js";
42
- import "./chunk-S5HDT5RQ.js";
43
- import "./chunk-OUMHR7LR.js";
44
- import "./chunk-6SIX7P6O.js";
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-KCED2X4H.js";
49
- import "./chunk-SPA7PQPJ.js";
50
- import "./chunk-GLF65XDS.js";
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-B56G5OEF.js";
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-KKALZLKX.js.map
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, WorkflowParameter as U, ValidationResult as V, WorkflowExecution as W, 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 };
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,4 +1,4 @@
1
- import { T as ToolCall, A as Attachment } from './types-o0v5xVxu.js';
1
+ import { T as ToolCall, A as Attachment } from './types-CTl70hba.js';
2
2
 
3
3
  interface LLMMessage {
4
4
  role: 'system' | 'user' | 'assistant' | 'tool';
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-MLOCSFIW.js";
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-7BEZMI4R.js.map
49
+ //# sourceMappingURL=update-QEZIUJHR.js.map