openfox 2.0.103 → 2.0.105

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 (79) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/CHANGELOG.md +32 -0
  3. package/dist/{ask-TOBEA6KD.js → ask-CJMU6EW7.js} +2 -2
  4. package/dist/{chat-handler-IBFSBSGV.js → chat-handler-CQIDZUR7.js} +20 -20
  5. package/dist/chunk-4H427UBV.js +1298 -0
  6. package/dist/{chunk-5ZJYEINJ.js → chunk-5M45NHQ2.js} +2 -2
  7. package/dist/{chunk-W5FTCTGY.js → chunk-5VKT34HE.js} +2 -2
  8. package/dist/{chunk-W5RC44R6.js → chunk-6IXRISXA.js} +8 -8
  9. package/dist/{chunk-FQS7A5M4.js → chunk-6SIX7P6O.js} +2 -2
  10. package/dist/{chunk-REQIAJTV.js → chunk-6XDKVVYS.js} +75 -70
  11. package/dist/{chunk-DPRJYQ5U.js → chunk-AKUTOOSV.js} +25 -25
  12. package/dist/{chunk-MGKS2NG2.js → chunk-B76OP3OE.js} +3 -3
  13. package/dist/{chunk-WPCYFH6X.js → chunk-DMI2BXHA.js} +4 -4
  14. package/dist/{chunk-KKEBXFB3.js → chunk-EF7KGWF6.js} +2 -2
  15. package/dist/{chunk-Z753S3X7.js → chunk-EIJFYENT.js} +22 -15
  16. package/dist/{chunk-MR7ZEGOF.js → chunk-ERKPMNC7.js} +5 -2
  17. package/dist/{chunk-ZLCPNTRT.js → chunk-ERTTKKCE.js} +6 -2
  18. package/dist/{chunk-73EV6QYX.js → chunk-FGYOSQUR.js} +4 -4
  19. package/dist/{chunk-4Z2ARCY3.js → chunk-J27BLIPY.js} +2 -2
  20. package/dist/{chunk-EU3WWTFH.js → chunk-JAX5OEMM.js} +5 -1
  21. package/dist/{chunk-QL2G5UWE.js → chunk-KDJZGHSZ.js} +23 -13
  22. package/dist/{chunk-JL657X72.js → chunk-LG57PZYL.js} +16 -16
  23. package/dist/{chunk-RZC6DAT2.js → chunk-OUMHR7LR.js} +2 -2
  24. package/dist/{chunk-BJDQPILB.js → chunk-PP3WNUA6.js} +3 -3
  25. package/dist/{chunk-2EYTYXWN.js → chunk-S5HDT5RQ.js} +2 -2
  26. package/dist/{chunk-K6VVTE6C.js → chunk-SGGFVTMP.js} +30 -20
  27. package/dist/{chunk-YZSBJUGC.js → chunk-SPA7PQPJ.js} +3 -1
  28. package/dist/{chunk-KLK5N4OX.js → chunk-TFQSCHVU.js} +3 -3
  29. package/dist/{chunk-7HIJP4PC.js → chunk-UADZ2LZJ.js} +2 -2
  30. package/dist/chunk-UBF62JJI.js +7 -0
  31. package/dist/{chunk-AI27N57J.js → chunk-UUMJ5PAW.js} +4 -8
  32. package/dist/{chunk-KCED2X4H.js → chunk-WDJOSRIB.js} +12 -5
  33. package/dist/cli/dev.js +2 -2
  34. package/dist/cli/index.js +2 -2
  35. package/dist/{client-Q7BHKOCD.js → client-XT4VHS7E.js} +5 -5
  36. package/dist/{client-pure-ONSVWEG5.js → client-pure-USVHN4WG.js} +2 -2
  37. package/dist/{compactor-43P3LGDU.js → compactor-JMO7FHYA.js} +11 -11
  38. package/dist/{dynamic-context-AMPVZXUU.js → dynamic-context-UJE6F7XT.js} +7 -7
  39. package/dist/{events-RCC32JOA.js → events-BGVLDGLK.js} +6 -6
  40. package/dist/{folding-ZNUXPQUD.js → folding-AJMZBHNR.js} +4 -4
  41. package/dist/{http-client-WGNBG7PC.js → http-client-A7A4XWNK.js} +3 -3
  42. package/dist/{manager-HFGJLW7Q.js → manager-GGIIENDX.js} +4 -4
  43. package/dist/{model-overrides-DQDT5Y7R.js → model-overrides-BLEFI7FQ.js} +3 -3
  44. package/dist/{orchestrator-QDXKDLOW.js → orchestrator-Y2MBWVOB.js} +19 -19
  45. package/dist/package.json +1 -1
  46. package/dist/{path-security-SUFEIBTC.js → path-security-JCDBLFIE.js} +7 -7
  47. package/dist/{platform-2RLL7RAE.js → platform-GZ2WIDS5.js} +3 -3
  48. package/dist/{processor-YWNLWAZW.js → processor-3IURFW2N.js} +19 -19
  49. package/dist/{protocol-BXgdUKgZ.d.ts → protocol-rfiBDoXm.d.ts} +1 -1
  50. package/dist/provider/index.d.ts +4 -4
  51. package/dist/{provider-FX3QCGAF.js → provider-ZXYITGFU.js} +69 -69
  52. package/dist/{provider-manager-GLG6BA32.js → provider-manager-QH5IIGHB.js} +6 -6
  53. package/dist/{pwa-SEWCVKZX.js → pwa-XPHP3PY2.js} +35 -35
  54. package/dist/{registry-GBNLVWYQ.js → registry-M2QVGRNK.js} +3 -3
  55. package/dist/{serve-FE4UAXGE.js → serve-OYLEY3HD.js} +27 -27
  56. package/dist/server/index.d.ts +3 -3
  57. package/dist/server/index.js +26 -26
  58. package/dist/server-L6YS6A6J.js +47 -0
  59. package/dist/{session-overrides-MBGBX6TM.js → session-overrides-HA5IQYLI.js} +5 -5
  60. package/dist/{sessions-FEIFYGH7.js → sessions-ZV2WRC6K.js} +4 -4
  61. package/dist/{settings-FT7HF7ZB.js → settings-TGCITCVA.js} +2 -2
  62. package/dist/shared/index.d.ts +3 -3
  63. package/dist/skill-defaults/browser/SKILL.md +36 -22
  64. package/dist/{tools-M5DKWCJJ.js → tools-BG44DIYU.js} +17 -17
  65. package/dist/{types-DBftgbfl.d.ts → types-o-YQ3Bfq.d.ts} +1 -1
  66. package/dist/{types-7idXD8Bq.d.ts → types-o0v5xVxu.d.ts} +1 -1
  67. package/dist/{update-KMPQUPQT.js → update-SOCIS7KO.js} +2 -2
  68. package/dist/web/assets/index-B7wjVPjL.css +40 -0
  69. package/dist/web/assets/index-BHIT-lGU.js +323 -0
  70. package/dist/web/index.html +2 -2
  71. package/dist/web/sw.js +1 -1
  72. package/dist/web/workbox-9c191d2f.js +1 -0
  73. package/package.json +1 -1
  74. package/dist/chunk-SQYMFWY7.js +0 -7
  75. package/dist/chunk-XY3LESVZ.js +0 -1000
  76. package/dist/server-QGQGSHW6.js +0 -47
  77. package/dist/web/assets/index-B0CNNl1k.css +0 -32
  78. package/dist/web/assets/index-FWViKQkM.js +0 -324
  79. package/dist/web/workbox-8c29f6e4.js +0 -1
@@ -1,9 +1,9 @@
1
1
  import {
2
- Ct,
3
- Nt,
4
- R,
5
- Rt
6
- } from "./chunk-XY3LESVZ.js";
2
+ cancel,
3
+ confirm,
4
+ isCancel,
5
+ log
6
+ } from "./chunk-4H427UBV.js";
7
7
  import {
8
8
  getGlobalConfigDir
9
9
  } from "./chunk-CQGTEGKL.js";
@@ -157,7 +157,7 @@ async function pwaInstall(mode) {
157
157
  const manifestUrl = getManifestUrl(mode);
158
158
  if (!isFirefoxPwaAvailable()) {
159
159
  const hint = getFirefoxPwaInstallHint();
160
- R.error("firefoxpwa is not installed or not on your PATH.");
160
+ log.error("firefoxpwa is not installed or not on your PATH.");
161
161
  console.log(`
162
162
  Install it first:
163
163
 
@@ -167,30 +167,30 @@ See: https://pwasforfirefox.filips.si/installation/`);
167
167
  process.exit(1);
168
168
  }
169
169
  if (!isRuntimeInstalled()) {
170
- const install = await Rt({
170
+ const install = await confirm({
171
171
  message: "Firefox PWA runtime is not installed. Install it now?",
172
172
  initialValue: true
173
173
  });
174
- if (Ct(install)) {
175
- Nt();
174
+ if (isCancel(install)) {
175
+ cancel();
176
176
  process.exit(0);
177
177
  }
178
178
  if (install) {
179
- R.info("Running: firefoxpwa runtime install");
179
+ log.info("Running: firefoxpwa runtime install");
180
180
  try {
181
181
  spawn("firefoxpwa", ["runtime", "install"], { stdio: "inherit", windowsHide: true });
182
182
  } catch {
183
- R.error("Failed to install runtime.");
183
+ log.error("Failed to install runtime.");
184
184
  process.exit(1);
185
185
  }
186
186
  } else {
187
- R.info("Skipping runtime install. The PWA cannot be used until the runtime is installed.");
187
+ log.info("Skipping runtime install. The PWA cannot be used until the runtime is installed.");
188
188
  process.exit(0);
189
189
  }
190
190
  }
191
191
  const port = mode === "development" ? 10469 : 10369;
192
192
  if (!await isServerReachable(port)) {
193
- R.error(`OpenFox server is not reachable on port ${port}.`);
193
+ log.error(`OpenFox server is not reachable on port ${port}.`);
194
194
  console.log(`
195
195
  Start OpenFox first:
196
196
 
@@ -202,7 +202,7 @@ Start OpenFox first:
202
202
  if (existing) {
203
203
  const installed = probeInstalledApp(manifestUrl);
204
204
  if (installed) {
205
- R.info("OpenFox PWA is already installed.");
205
+ log.info("OpenFox PWA is already installed.");
206
206
  console.log(` App ID: ${installed.appId}`);
207
207
  console.log(` Profile: ${installed.profileId}`);
208
208
  console.log(` URL: ${manifestUrl}`);
@@ -214,7 +214,7 @@ Use "openfox pwa launch" to start it, or "openfox pwa uninstall" to remove it.`)
214
214
  if (existing) {
215
215
  await removePwaConfig(mode);
216
216
  }
217
- R.info("Installing OpenFox PWA...");
217
+ log.info("Installing OpenFox PWA...");
218
218
  let appId = "";
219
219
  let profileId = "00000000000000000000000000";
220
220
  try {
@@ -225,17 +225,17 @@ Use "openfox pwa launch" to start it, or "openfox pwa uninstall" to remove it.`)
225
225
  profileId = detected.profileId;
226
226
  }
227
227
  } catch {
228
- R.error("Failed to install PWA. Ensure OpenFox is running and try again.");
228
+ log.error("Failed to install PWA. Ensure OpenFox is running and try again.");
229
229
  process.exit(1);
230
230
  }
231
231
  if (!appId) {
232
- R.error("Could not detect installed app ID. The PWA may still be installed.");
232
+ log.error("Could not detect installed app ID. The PWA may still be installed.");
233
233
  console.log("Check with: firefoxpwa profile list");
234
234
  process.exit(1);
235
235
  }
236
236
  const pwaConfig = { appId, profileId, manifestUrl, installedAt: (/* @__PURE__ */ new Date()).toISOString() };
237
237
  await savePwaConfig(mode, pwaConfig);
238
- R.info("OpenFox PWA installed successfully!");
238
+ log.info("OpenFox PWA installed successfully!");
239
239
  console.log(`
240
240
  App ID: ${appId}`);
241
241
  console.log(` Profile: ${profileId}`);
@@ -244,7 +244,7 @@ Launch it with: openfox pwa launch`);
244
244
  }
245
245
  async function pwaUninstall(mode) {
246
246
  if (!isFirefoxPwaAvailable()) {
247
- R.error("firefoxpwa is not installed or not on your PATH.");
247
+ log.error("firefoxpwa is not installed or not on your PATH.");
248
248
  process.exit(1);
249
249
  }
250
250
  const manifestUrl = getManifestUrl(mode);
@@ -255,24 +255,24 @@ async function pwaUninstall(mode) {
255
255
  if (detected) appId = detected.appId;
256
256
  }
257
257
  if (!appId) {
258
- R.info("OpenFox PWA is not installed.");
258
+ log.info("OpenFox PWA is not installed.");
259
259
  return;
260
260
  }
261
- R.info("Removing OpenFox PWA...");
261
+ log.info("Removing OpenFox PWA...");
262
262
  try {
263
263
  execSync(`firefoxpwa site uninstall ${appId} --quiet`, { encoding: "utf-8", windowsHide: true });
264
264
  } catch {
265
- R.error(`Failed to uninstall PWA (ID: ${appId}).`);
265
+ log.error(`Failed to uninstall PWA (ID: ${appId}).`);
266
266
  process.exit(1);
267
267
  }
268
268
  await removePwaConfig(mode);
269
- R.info("OpenFox PWA removed from your system.");
269
+ log.info("OpenFox PWA removed from your system.");
270
270
  console.log("\nNote: The Firefox PWA runtime is still installed.");
271
271
  console.log("To remove it: firefoxpwa runtime uninstall");
272
272
  }
273
273
  async function pwaLaunch(mode) {
274
274
  if (!isFirefoxPwaAvailable()) {
275
- R.error("firefoxpwa is not installed or not on your PATH.");
275
+ log.error("firefoxpwa is not installed or not on your PATH.");
276
276
  process.exit(1);
277
277
  }
278
278
  const manifestUrl = getManifestUrl(mode);
@@ -283,16 +283,16 @@ async function pwaLaunch(mode) {
283
283
  if (detected) appId = detected.appId;
284
284
  }
285
285
  if (!appId) {
286
- R.info("OpenFox PWA is not installed.");
286
+ log.info("OpenFox PWA is not installed.");
287
287
  console.log("\nInstall it first: openfox pwa install");
288
288
  return;
289
289
  }
290
- R.info("Launching OpenFox PWA...");
290
+ log.info("Launching OpenFox PWA...");
291
291
  spawn("firefoxpwa", ["site", "launch", appId], { stdio: "inherit", windowsHide: true });
292
292
  }
293
293
  async function pwaUpdate(mode) {
294
294
  if (!isFirefoxPwaAvailable()) {
295
- R.error("firefoxpwa is not installed or not on your PATH.");
295
+ log.error("firefoxpwa is not installed or not on your PATH.");
296
296
  process.exit(1);
297
297
  }
298
298
  const manifestUrl = getManifestUrl(mode);
@@ -303,17 +303,17 @@ async function pwaUpdate(mode) {
303
303
  if (detected) appId = detected.appId;
304
304
  }
305
305
  if (!appId) {
306
- R.info("OpenFox PWA is not installed.");
306
+ log.info("OpenFox PWA is not installed.");
307
307
  console.log("\nInstall it first: openfox pwa install");
308
308
  return;
309
309
  }
310
310
  try {
311
311
  execSync(`firefoxpwa site update ${appId}`, { encoding: "utf-8", windowsHide: true });
312
312
  } catch {
313
- R.error("Failed to update PWA metadata.");
313
+ log.error("Failed to update PWA metadata.");
314
314
  process.exit(1);
315
315
  }
316
- R.info("OpenFox PWA metadata updated.");
316
+ log.info("OpenFox PWA metadata updated.");
317
317
  console.log(`
318
318
  The manifest is re-fetched automatically on each launch.`);
319
319
  console.log(`Launch to pick up OpenFox changes:
@@ -322,12 +322,12 @@ The manifest is re-fetched automatically on each launch.`);
322
322
  }
323
323
  async function pwaStatus(mode) {
324
324
  if (!isFirefoxPwaAvailable()) {
325
- R.error("firefoxpwa is not installed or not on your PATH.");
325
+ log.error("firefoxpwa is not installed or not on your PATH.");
326
326
  console.log("\nInstall PWAsForFirefox: https://pwasforfirefox.filips.si/installation/");
327
327
  return;
328
328
  }
329
329
  if (!isRuntimeInstalled()) {
330
- R.warn("Firefox PWA runtime is not installed.");
330
+ log.warn("Firefox PWA runtime is not installed.");
331
331
  console.log(`
332
332
  Run: firefoxpwa runtime install`);
333
333
  return;
@@ -340,11 +340,11 @@ Run: firefoxpwa runtime install`);
340
340
  if (detected) appId = detected.appId;
341
341
  }
342
342
  if (!appId) {
343
- R.info("OpenFox PWA is not installed.");
343
+ log.info("OpenFox PWA is not installed.");
344
344
  console.log("\nInstall it: openfox pwa install");
345
345
  return;
346
346
  }
347
- R.info("OpenFox PWA is installed.");
347
+ log.info("OpenFox PWA is installed.");
348
348
  console.log(`
349
349
  App ID: ${appId}`);
350
350
  console.log(` Profile ID: ${existing?.profileId ?? "default"}`);
@@ -360,4 +360,4 @@ export {
360
360
  runPwaCommand,
361
361
  savePwaConfig
362
362
  };
363
- //# sourceMappingURL=pwa-SEWCVKZX.js.map
363
+ //# sourceMappingURL=pwa-XPHP3PY2.js.map
@@ -17,8 +17,8 @@ import {
17
17
  resolveDefaultAgentId,
18
18
  saveAgent,
19
19
  saveAgentToProject
20
- } from "./chunk-FQS7A5M4.js";
21
- import "./chunk-YZSBJUGC.js";
20
+ } from "./chunk-6SIX7P6O.js";
21
+ import "./chunk-SPA7PQPJ.js";
22
22
  import "./chunk-GLF65XDS.js";
23
23
  import "./chunk-K44MW7JJ.js";
24
24
  import "./chunk-CQGTEGKL.js";
@@ -43,4 +43,4 @@ export {
43
43
  saveAgent,
44
44
  saveAgentToProject
45
45
  };
46
- //# sourceMappingURL=registry-GBNLVWYQ.js.map
46
+ //# sourceMappingURL=registry-M2QVGRNK.js.map
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  createServer
3
- } from "./chunk-REQIAJTV.js";
4
- import "./chunk-K6VVTE6C.js";
3
+ } from "./chunk-6XDKVVYS.js";
4
+ import "./chunk-SGGFVTMP.js";
5
5
  import "./chunk-62QCBNPE.js";
6
- import "./chunk-W5RC44R6.js";
7
- import "./chunk-QL2G5UWE.js";
8
- import "./chunk-Z753S3X7.js";
9
- import "./chunk-73EV6QYX.js";
10
- import "./chunk-DPRJYQ5U.js";
11
- import "./chunk-MGKS2NG2.js";
12
- import "./chunk-5ZJYEINJ.js";
13
- import "./chunk-4Z2ARCY3.js";
6
+ import "./chunk-6IXRISXA.js";
7
+ import "./chunk-KDJZGHSZ.js";
8
+ import "./chunk-EIJFYENT.js";
9
+ import "./chunk-FGYOSQUR.js";
10
+ import "./chunk-AKUTOOSV.js";
11
+ import "./chunk-B76OP3OE.js";
12
+ import "./chunk-5M45NHQ2.js";
13
+ import "./chunk-J27BLIPY.js";
14
14
  import "./chunk-ZASSAZ73.js";
15
- import "./chunk-KLK5N4OX.js";
15
+ import "./chunk-TFQSCHVU.js";
16
16
  import "./chunk-I72ACQ6R.js";
17
17
  import "./chunk-JE7LW7Y6.js";
18
18
  import "./chunk-VKWVPQJ5.js";
19
19
  import "./chunk-D3SXT3BL.js";
20
20
  import "./chunk-J7GAZGZT.js";
21
- import "./chunk-7HIJP4PC.js";
22
- import "./chunk-ZLCPNTRT.js";
23
- import "./chunk-WPCYFH6X.js";
21
+ import "./chunk-UADZ2LZJ.js";
22
+ import "./chunk-ERTTKKCE.js";
23
+ import "./chunk-DMI2BXHA.js";
24
24
  import "./chunk-27SDWNKL.js";
25
- import "./chunk-EU3WWTFH.js";
26
- import "./chunk-KKEBXFB3.js";
27
- import "./chunk-W5FTCTGY.js";
25
+ import "./chunk-JAX5OEMM.js";
26
+ import "./chunk-EF7KGWF6.js";
27
+ import "./chunk-5VKT34HE.js";
28
28
  import "./chunk-WWFH5GAR.js";
29
29
  import {
30
30
  VERSION
31
- } from "./chunk-SQYMFWY7.js";
32
- import "./chunk-2EYTYXWN.js";
33
- import "./chunk-RZC6DAT2.js";
31
+ } from "./chunk-UBF62JJI.js";
32
+ import "./chunk-S5HDT5RQ.js";
33
+ import "./chunk-OUMHR7LR.js";
34
34
  import {
35
35
  loadConfig
36
- } from "./chunk-FQS7A5M4.js";
37
- import "./chunk-AI27N57J.js";
36
+ } from "./chunk-6SIX7P6O.js";
37
+ import "./chunk-UUMJ5PAW.js";
38
38
  import "./chunk-J2GP3J3X.js";
39
- import "./chunk-BJDQPILB.js";
39
+ import "./chunk-PP3WNUA6.js";
40
40
  import "./chunk-V4IE7HJY.js";
41
41
  import "./chunk-YHEQTVFV.js";
42
42
  import "./chunk-HNCM3D7Y.js";
43
- import "./chunk-KCED2X4H.js";
44
- import "./chunk-MR7ZEGOF.js";
45
- import "./chunk-YZSBJUGC.js";
43
+ import "./chunk-WDJOSRIB.js";
44
+ import "./chunk-ERKPMNC7.js";
45
+ import "./chunk-SPA7PQPJ.js";
46
46
  import "./chunk-GLF65XDS.js";
47
47
  import {
48
48
  logger
@@ -220,4 +220,4 @@ async function runServe(options) {
220
220
  export {
221
221
  runServe
222
222
  };
223
- //# sourceMappingURL=serve-FE4UAXGE.js.map
223
+ //# sourceMappingURL=serve-OYLEY3HD.js.map
@@ -1,7 +1,7 @@
1
- import { h as Diagnostic, u as Provider, r as ModelConfig, w as Session, B as SessionSummary, t as Project, y as SessionMode, z as SessionPhase, W as WorkflowExecution, M as Message, d as Criterion, f as CriterionStatus, q as MetadataEntry, A as Attachment, b as ContextState, D as DangerLevel$1, H as StatsIdentity, O as ToolResult, a as Config } from '../types-7idXD8Bq.js';
1
+ import { i as Diagnostic, u as Provider, M as ModelConfig, w as Session, B as SessionSummary, t as Project, y as SessionMode, z as SessionPhase, W as WorkflowExecution, a as Message, e as Criterion, g as CriterionStatus, r as MetadataEntry, A as Attachment, c as ContextState, D as DangerLevel$1, H as StatsIdentity, O as ToolResult, b as Config } from '../types-o0v5xVxu.js';
2
2
  import { Server } from 'node:http';
3
- import { e as LLMClient, d as LLMToolDefinition } from '../types-DBftgbfl.js';
4
- import { a2 as QueuedMessage, a3 as ServerMessage } from '../protocol-BXgdUKgZ.js';
3
+ import { e as LLMClient, d as LLMToolDefinition } from '../types-o-YQ3Bfq.js';
4
+ import { a2 as QueuedMessage, a3 as ServerMessage } from '../protocol-rfiBDoXm.js';
5
5
 
6
6
  /**
7
7
  * Model-specific configuration profiles.
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  createServer,
3
3
  createServerHandle
4
- } from "../chunk-REQIAJTV.js";
5
- import "../chunk-K6VVTE6C.js";
4
+ } from "../chunk-6XDKVVYS.js";
5
+ import "../chunk-SGGFVTMP.js";
6
6
  import "../chunk-62QCBNPE.js";
7
- import "../chunk-W5RC44R6.js";
8
- import "../chunk-QL2G5UWE.js";
9
- import "../chunk-Z753S3X7.js";
10
- import "../chunk-73EV6QYX.js";
11
- import "../chunk-DPRJYQ5U.js";
12
- import "../chunk-MGKS2NG2.js";
13
- import "../chunk-5ZJYEINJ.js";
14
- import "../chunk-4Z2ARCY3.js";
7
+ import "../chunk-6IXRISXA.js";
8
+ import "../chunk-KDJZGHSZ.js";
9
+ import "../chunk-EIJFYENT.js";
10
+ import "../chunk-FGYOSQUR.js";
11
+ import "../chunk-AKUTOOSV.js";
12
+ import "../chunk-B76OP3OE.js";
13
+ import "../chunk-5M45NHQ2.js";
14
+ import "../chunk-J27BLIPY.js";
15
15
  import "../chunk-ZASSAZ73.js";
16
- import "../chunk-KLK5N4OX.js";
16
+ import "../chunk-TFQSCHVU.js";
17
17
  import "../chunk-I72ACQ6R.js";
18
18
  import "../chunk-JE7LW7Y6.js";
19
19
  import "../chunk-VKWVPQJ5.js";
20
20
  import "../chunk-D3SXT3BL.js";
21
21
  import "../chunk-J7GAZGZT.js";
22
- import "../chunk-7HIJP4PC.js";
23
- import "../chunk-ZLCPNTRT.js";
24
- import "../chunk-WPCYFH6X.js";
22
+ import "../chunk-UADZ2LZJ.js";
23
+ import "../chunk-ERTTKKCE.js";
24
+ import "../chunk-DMI2BXHA.js";
25
25
  import "../chunk-27SDWNKL.js";
26
- import "../chunk-EU3WWTFH.js";
27
- import "../chunk-KKEBXFB3.js";
28
- import "../chunk-W5FTCTGY.js";
26
+ import "../chunk-JAX5OEMM.js";
27
+ import "../chunk-EF7KGWF6.js";
28
+ import "../chunk-5VKT34HE.js";
29
29
  import "../chunk-WWFH5GAR.js";
30
- import "../chunk-SQYMFWY7.js";
31
- import "../chunk-2EYTYXWN.js";
32
- import "../chunk-RZC6DAT2.js";
33
- import "../chunk-FQS7A5M4.js";
34
- import "../chunk-AI27N57J.js";
30
+ import "../chunk-UBF62JJI.js";
31
+ import "../chunk-S5HDT5RQ.js";
32
+ import "../chunk-OUMHR7LR.js";
33
+ import "../chunk-6SIX7P6O.js";
34
+ import "../chunk-UUMJ5PAW.js";
35
35
  import "../chunk-J2GP3J3X.js";
36
- import "../chunk-BJDQPILB.js";
36
+ import "../chunk-PP3WNUA6.js";
37
37
  import "../chunk-V4IE7HJY.js";
38
38
  import "../chunk-YHEQTVFV.js";
39
39
  import "../chunk-HNCM3D7Y.js";
40
- import "../chunk-KCED2X4H.js";
41
- import "../chunk-MR7ZEGOF.js";
42
- import "../chunk-YZSBJUGC.js";
40
+ import "../chunk-WDJOSRIB.js";
41
+ import "../chunk-ERKPMNC7.js";
42
+ import "../chunk-SPA7PQPJ.js";
43
43
  import "../chunk-GLF65XDS.js";
44
44
  import "../chunk-K44MW7JJ.js";
45
45
  import "../chunk-VUQCQXXJ.js";
@@ -0,0 +1,47 @@
1
+ import {
2
+ createWebSocketServer,
3
+ signalMcpReady
4
+ } from "./chunk-SGGFVTMP.js";
5
+ import "./chunk-6IXRISXA.js";
6
+ import "./chunk-KDJZGHSZ.js";
7
+ import "./chunk-EIJFYENT.js";
8
+ import "./chunk-FGYOSQUR.js";
9
+ import "./chunk-AKUTOOSV.js";
10
+ import "./chunk-B76OP3OE.js";
11
+ import "./chunk-5M45NHQ2.js";
12
+ import "./chunk-J27BLIPY.js";
13
+ import "./chunk-ZASSAZ73.js";
14
+ import "./chunk-TFQSCHVU.js";
15
+ import "./chunk-I72ACQ6R.js";
16
+ import "./chunk-JE7LW7Y6.js";
17
+ import "./chunk-VKWVPQJ5.js";
18
+ import "./chunk-D3SXT3BL.js";
19
+ import "./chunk-J7GAZGZT.js";
20
+ import "./chunk-UADZ2LZJ.js";
21
+ import "./chunk-ERTTKKCE.js";
22
+ import "./chunk-DMI2BXHA.js";
23
+ import "./chunk-27SDWNKL.js";
24
+ import "./chunk-JAX5OEMM.js";
25
+ import "./chunk-EF7KGWF6.js";
26
+ import "./chunk-5VKT34HE.js";
27
+ import "./chunk-WWFH5GAR.js";
28
+ import "./chunk-S5HDT5RQ.js";
29
+ import "./chunk-OUMHR7LR.js";
30
+ import "./chunk-6SIX7P6O.js";
31
+ import "./chunk-J2GP3J3X.js";
32
+ import "./chunk-V4IE7HJY.js";
33
+ import "./chunk-YHEQTVFV.js";
34
+ import "./chunk-WDJOSRIB.js";
35
+ import "./chunk-SPA7PQPJ.js";
36
+ import "./chunk-GLF65XDS.js";
37
+ import "./chunk-K44MW7JJ.js";
38
+ import "./chunk-VUQCQXXJ.js";
39
+ import "./chunk-4R7G5JB6.js";
40
+ import "./chunk-B56G5OEF.js";
41
+ import "./chunk-CQGTEGKL.js";
42
+ import "./chunk-5WRI5ZAA.js";
43
+ export {
44
+ createWebSocketServer,
45
+ signalMcpReady
46
+ };
47
+ //# sourceMappingURL=server-L6YS6A6J.js.map
@@ -3,10 +3,10 @@ import {
3
3
  getAllSessionOverrides,
4
4
  getSessionDisabledServers,
5
5
  setSessionDisabledServers
6
- } from "./chunk-7HIJP4PC.js";
7
- import "./chunk-RZC6DAT2.js";
8
- import "./chunk-FQS7A5M4.js";
9
- import "./chunk-YZSBJUGC.js";
6
+ } from "./chunk-UADZ2LZJ.js";
7
+ import "./chunk-OUMHR7LR.js";
8
+ import "./chunk-6SIX7P6O.js";
9
+ import "./chunk-SPA7PQPJ.js";
10
10
  import "./chunk-GLF65XDS.js";
11
11
  import "./chunk-K44MW7JJ.js";
12
12
  import "./chunk-CQGTEGKL.js";
@@ -17,4 +17,4 @@ export {
17
17
  getSessionDisabledServers,
18
18
  setSessionDisabledServers
19
19
  };
20
- //# sourceMappingURL=session-overrides-MBGBX6TM.js.map
20
+ //# sourceMappingURL=session-overrides-HA5IQYLI.js.map
@@ -21,9 +21,9 @@ import {
21
21
  updateSessionRunning,
22
22
  updateSessionWorkdir,
23
23
  updateWorkflowExecutionStatus
24
- } from "./chunk-RZC6DAT2.js";
25
- import "./chunk-FQS7A5M4.js";
26
- import "./chunk-YZSBJUGC.js";
24
+ } from "./chunk-OUMHR7LR.js";
25
+ import "./chunk-6SIX7P6O.js";
26
+ import "./chunk-SPA7PQPJ.js";
27
27
  import "./chunk-GLF65XDS.js";
28
28
  import "./chunk-K44MW7JJ.js";
29
29
  import "./chunk-CQGTEGKL.js";
@@ -52,4 +52,4 @@ export {
52
52
  updateSessionWorkdir,
53
53
  updateWorkflowExecutionStatus
54
54
  };
55
- //# sourceMappingURL=sessions-FEIFYGH7.js.map
55
+ //# sourceMappingURL=sessions-ZV2WRC6K.js.map
@@ -6,7 +6,7 @@ import {
6
6
  getMaxVisibleItems,
7
7
  getSetting,
8
8
  setSetting
9
- } from "./chunk-YZSBJUGC.js";
9
+ } from "./chunk-SPA7PQPJ.js";
10
10
  import "./chunk-GLF65XDS.js";
11
11
  import "./chunk-K44MW7JJ.js";
12
12
  import "./chunk-5WRI5ZAA.js";
@@ -19,4 +19,4 @@ export {
19
19
  getSetting,
20
20
  setSetting
21
21
  };
22
- //# sourceMappingURL=settings-FT7HF7ZB.js.map
22
+ //# sourceMappingURL=settings-TGCITCVA.js.map
@@ -1,6 +1,6 @@
1
- import { M as Message, S as SessionStats } from '../types-7idXD8Bq.js';
2
- export { A as Attachment, C as CallStatsDataPoint, a as Config, b as ContextState, c as ContextWindow, d as Criterion, e as CriterionAttempt, f as CriterionStatus, g as CriterionValidation, D as DangerLevel, h as Diagnostic, E as EditContextEdit, i as EditContextLine, j as EditContextRegion, k as ElementData, l as ExecutionState, F as FileReadEntry, I as InjectedFile, L as LLMCallStats, m as LlmBackend, n as MessageRole, o as MessageSegment, p as MessageStats, q as MetadataEntry, r as ModelConfig, s as ModelSessionStats, P as PreparingToolCall, t as Project, u as Provider, v as ProviderBackend, R as RecentUserPrompt, w as Session, x as SessionMetadata, y as SessionMode, z as SessionPhase, B as SessionSummary, G as StatsDataPoint, H as StatsIdentity, T as Todo, J as ToolCall, K as ToolMode, N as ToolName, O as ToolResult, V as ValidationResult, W as WorkflowExecution, Q as WorkflowExecutionStatus, U as WorkflowParameter } from '../types-7idXD8Bq.js';
3
- export { A as AgentEvent, a as AskAnswerPayload, b as AskUserEvent, B as BackgroundProcess, c as BackgroundProcessExitedPayload, d as BackgroundProcessOutputPayload, e as BackgroundProcessRemovedPayload, f as BackgroundProcessStartedPayload, g as BackgroundProcessStatus, C as ChatAskUserPayload, h as ChatDeltaPayload, i as ChatDonePayload, j as ChatErrorPayload, k as ChatFormatRetryPayload, l as ChatMessagePayload, m as ChatMessageUpdatedPayload, n as ChatPathConfirmationPayload, o as ChatProgressPayload, p as ChatThinkingPayload, q as ChatTodoPayload, r as ChatToolCallPayload, s as ChatToolOutputPayload, t as ChatToolPreparingPayload, u as ChatToolResultPayload, v as ChatVisionFallbackPayload, w as ClientMessage, x as ClientMessageType, y as ContextCompactionEvent, z as ContextPreviewPayload, D as ContextStatePayload, E as CriteriaUpdatedPayload, F as DevServerOutputPayload, G as DevServerStatePayload, H as DiffLine, I as ErrorPayload, J as GitDiffFile, K as GitStatusPayload, L as LogLine, M as LspDiagnosticsPayload, N as MetadataUpdatedPayload, O as ModeChangedPayload, P as PathConfirmPayload, Q as PathConfirmationReason, R as PendingPathConfirmationPayload, S as PendingQuestionPayload, T as PhaseChangedPayload, U as ProjectDeletedPayload, V as ProjectListPayload, W as ProjectStatePayload, X as ProviderChangedPayload, Y as QueueAddedEvent, Z as QueueCancelledEvent, _ as QueueDrainedEvent, $ as QueueEvent, a0 as QueueEventType, a1 as QueueStatePayload, a2 as QueuedMessage, a3 as ServerMessage, a4 as ServerMessageType, a5 as SessionCreatedPayload, a6 as SessionListPayload, a7 as SessionLoadPayload, a8 as SessionNameGeneratedPayload, a9 as SessionRunningPayload, aa as SessionStatePayload, ab as TaskCompletedPayload, ac as WorkflowWaitingPayload, ad as createClientMessage, ae as createServerMessage, af as isClientMessage, ag as isServerMessage } from '../protocol-BXgdUKgZ.js';
1
+ import { a as Message, S as SessionStats } from '../types-o0v5xVxu.js';
2
+ export { A as Attachment, C as CallStatsDataPoint, b as Config, c as ContextState, d as ContextWindow, e as Criterion, f as CriterionAttempt, g as CriterionStatus, h as CriterionValidation, D as DangerLevel, i as Diagnostic, E as EditContextEdit, j as EditContextLine, k as EditContextRegion, l as ElementData, m as ExecutionState, F as FileReadEntry, I as InjectedFile, L as LLMCallStats, n as LlmBackend, o as MessageRole, p as MessageSegment, q as MessageStats, r as MetadataEntry, M as ModelConfig, s as ModelSessionStats, P as PreparingToolCall, t as Project, u as Provider, v as ProviderBackend, R as RecentUserPrompt, w as Session, x as SessionMetadata, y as SessionMode, z as SessionPhase, B as SessionSummary, G as StatsDataPoint, H as StatsIdentity, J as Todo, T as ToolCall, K as ToolMode, N as ToolName, O as ToolResult, V as ValidationResult, W as WorkflowExecution, Q as WorkflowExecutionStatus, U as WorkflowParameter } from '../types-o0v5xVxu.js';
3
+ export { A as AgentEvent, a as AskAnswerPayload, b as AskUserEvent, B as BackgroundProcess, c as BackgroundProcessExitedPayload, d as BackgroundProcessOutputPayload, e as BackgroundProcessRemovedPayload, f as BackgroundProcessStartedPayload, g as BackgroundProcessStatus, C as ChatAskUserPayload, h as ChatDeltaPayload, i as ChatDonePayload, j as ChatErrorPayload, k as ChatFormatRetryPayload, l as ChatMessagePayload, m as ChatMessageUpdatedPayload, n as ChatPathConfirmationPayload, o as ChatProgressPayload, p as ChatThinkingPayload, q as ChatTodoPayload, r as ChatToolCallPayload, s as ChatToolOutputPayload, t as ChatToolPreparingPayload, u as ChatToolResultPayload, v as ChatVisionFallbackPayload, w as ClientMessage, x as ClientMessageType, y as ContextCompactionEvent, z as ContextPreviewPayload, D as ContextStatePayload, E as CriteriaUpdatedPayload, F as DevServerOutputPayload, G as DevServerStatePayload, H as DiffLine, I as ErrorPayload, J as GitDiffFile, K as GitStatusPayload, L as LogLine, M as LspDiagnosticsPayload, N as MetadataUpdatedPayload, O as ModeChangedPayload, P as PathConfirmPayload, Q as PathConfirmationReason, R as PendingPathConfirmationPayload, S as PendingQuestionPayload, T as PhaseChangedPayload, U as ProjectDeletedPayload, V as ProjectListPayload, W as ProjectStatePayload, X as ProviderChangedPayload, Y as QueueAddedEvent, Z as QueueCancelledEvent, _ as QueueDrainedEvent, $ as QueueEvent, a0 as QueueEventType, a1 as QueueStatePayload, a2 as QueuedMessage, a3 as ServerMessage, a4 as ServerMessageType, a5 as SessionCreatedPayload, a6 as SessionListPayload, a7 as SessionLoadPayload, a8 as SessionNameGeneratedPayload, a9 as SessionRunningPayload, aa as SessionStatePayload, ab as TaskCompletedPayload, ac as WorkflowWaitingPayload, ad as createClientMessage, ae as createServerMessage, af as isClientMessage, ag as isServerMessage } from '../protocol-rfiBDoXm.js';
4
4
 
5
5
  /**
6
6
  * Session stats computation - aggregates response-level MessageStats from
@@ -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