@openclaw/diffs 2026.7.2-beta.7 → 2026.7.33

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 (122) hide show
  1. package/README.md +9 -2
  2. package/dist/assets/viewer-runtime.js +31 -31
  3. package/dist/index.js +307 -290
  4. package/node_modules/@pierre/diffs/node_modules/@shikijs/core/package.json +3 -3
  5. package/node_modules/@pierre/diffs/node_modules/@shikijs/engine-javascript/package.json +2 -2
  6. package/node_modules/@pierre/diffs/node_modules/@shikijs/engine-oniguruma/package.json +2 -2
  7. package/node_modules/@pierre/diffs/node_modules/@shikijs/primitive/dist/index.mjs +5 -6
  8. package/node_modules/@pierre/diffs/node_modules/@shikijs/primitive/package.json +2 -2
  9. package/node_modules/@pierre/diffs/node_modules/@shikijs/themes/package.json +2 -2
  10. package/node_modules/@pierre/diffs/node_modules/@shikijs/transformers/package.json +3 -3
  11. package/node_modules/@pierre/diffs/node_modules/@shikijs/types/dist/index.d.mts +1 -9
  12. package/node_modules/@pierre/diffs/node_modules/@shikijs/types/package.json +1 -1
  13. package/node_modules/@pierre/diffs/node_modules/@types/hast/README.md +2 -2
  14. package/node_modules/@pierre/diffs/node_modules/@types/hast/index.d.ts +0 -642
  15. package/node_modules/@pierre/diffs/node_modules/@types/hast/package.json +3 -9
  16. package/node_modules/@pierre/diffs/node_modules/@ungap/structured-clone/cjs/deserialize.js +1 -6
  17. package/node_modules/@pierre/diffs/node_modules/@ungap/structured-clone/cjs/serialize.js +2 -2
  18. package/node_modules/@pierre/diffs/node_modules/@ungap/structured-clone/esm/deserialize.js +1 -6
  19. package/node_modules/@pierre/diffs/node_modules/@ungap/structured-clone/esm/serialize.js +2 -2
  20. package/node_modules/@pierre/diffs/node_modules/@ungap/structured-clone/package.json +1 -1
  21. package/node_modules/@pierre/diffs/node_modules/@ungap/structured-clone/structured-json.js +1 -1
  22. package/node_modules/@pierre/diffs/node_modules/shiki/package.json +7 -7
  23. package/node_modules/@shikijs/langs/node_modules/@shikijs/types/dist/index.d.mts +1 -9
  24. package/node_modules/@shikijs/langs/node_modules/@shikijs/types/package.json +1 -1
  25. package/node_modules/@shikijs/langs/node_modules/@types/hast/README.md +2 -2
  26. package/node_modules/@shikijs/langs/node_modules/@types/hast/index.d.ts +0 -642
  27. package/node_modules/@shikijs/langs/node_modules/@types/hast/package.json +3 -9
  28. package/node_modules/@shikijs/langs/package.json +2 -2
  29. package/node_modules/playwright-core/browsers.json +18 -12
  30. package/node_modules/playwright-core/lib/bootstrap.js +1 -1
  31. package/node_modules/playwright-core/lib/coreBundle.js +12247 -13691
  32. package/node_modules/playwright-core/lib/server/deviceDescriptorsSource.json +2739 -0
  33. package/node_modules/playwright-core/lib/server/electron/loader.js +2 -5
  34. package/node_modules/playwright-core/lib/serverRegistry.js +1 -5
  35. package/node_modules/playwright-core/lib/tools/cli-client/help.json +6 -21
  36. package/node_modules/playwright-core/lib/tools/cli-client/program.js +1 -1
  37. package/node_modules/playwright-core/lib/tools/cli-client/session.js +0 -4
  38. package/node_modules/playwright-core/lib/tools/{skills/playwright-cli → cli-client/skill}/SKILL.md +5 -21
  39. package/node_modules/playwright-core/lib/tools/{skills/playwright-cli/references/test-generation.md → cli-client/skill/references/spec-driven-testing.md} +7 -135
  40. package/node_modules/playwright-core/lib/tools/cli-client/skill/references/test-generation.md +134 -0
  41. package/node_modules/playwright-core/lib/tools/utils/extension.js +8 -31
  42. package/node_modules/playwright-core/lib/utilsBundle.js +48599 -52627
  43. package/node_modules/playwright-core/lib/utilsBundle.js.LICENSE +268 -391
  44. package/node_modules/playwright-core/lib/vite/dashboard/assets/index-BY2S1tHT.css +1 -0
  45. package/node_modules/playwright-core/lib/vite/dashboard/assets/index-C_5TMfeg.js +52 -0
  46. package/node_modules/playwright-core/lib/vite/dashboard/index.html +2 -2
  47. package/node_modules/playwright-core/lib/vite/htmlReport/report.css +1 -2
  48. package/node_modules/playwright-core/lib/vite/htmlReport/report.js +55 -15
  49. package/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule-DYBRYzYX.css +1 -0
  50. package/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule-DeBYQozu.js +32 -0
  51. package/node_modules/playwright-core/lib/vite/recorder/assets/index-4ZiSSCmn.css +1 -0
  52. package/node_modules/playwright-core/lib/vite/recorder/assets/index-Bq-mQf8S.js +193 -0
  53. package/node_modules/playwright-core/lib/vite/recorder/index.html +2 -2
  54. package/node_modules/playwright-core/lib/vite/traceViewer/assets/codeMirrorModule-LEHpjmcn.js +32 -0
  55. package/node_modules/playwright-core/lib/vite/traceViewer/assets/defaultSettingsView-BNmKHKpQ.js +264 -0
  56. package/node_modules/playwright-core/lib/vite/traceViewer/assets/urlMatch-BYQrIQwR.js +1 -0
  57. package/node_modules/playwright-core/lib/vite/traceViewer/assets/xtermModule-CsJ4vdCR.js +9 -0
  58. package/node_modules/playwright-core/lib/vite/traceViewer/codeMirrorModule.DYBRYzYX.css +1 -0
  59. package/node_modules/playwright-core/lib/vite/traceViewer/defaultSettingsView.CjdS-WJx.css +1 -0
  60. package/node_modules/playwright-core/lib/vite/traceViewer/index.CzXZzn5A.css +1 -0
  61. package/node_modules/playwright-core/lib/vite/traceViewer/index.DMMX1gXU.js +2 -0
  62. package/node_modules/playwright-core/lib/vite/traceViewer/index.html +5 -5
  63. package/node_modules/playwright-core/lib/vite/traceViewer/snapshot.html +2 -2
  64. package/node_modules/playwright-core/lib/vite/traceViewer/snapshot.v8KI4P3m.js +2 -0
  65. package/node_modules/playwright-core/lib/vite/traceViewer/sw.bundle.js +4 -3
  66. package/node_modules/playwright-core/lib/vite/traceViewer/uiMode.BZQ54Kgt.css +1 -0
  67. package/node_modules/playwright-core/lib/vite/traceViewer/uiMode.Ut8wwJNp.js +6 -0
  68. package/node_modules/playwright-core/lib/vite/traceViewer/uiMode.html +5 -5
  69. package/node_modules/playwright-core/lib/vite/traceViewer/xtermModule.DYP7pi_n.css +32 -0
  70. package/node_modules/playwright-core/lib/xdg-open +137 -338
  71. package/node_modules/playwright-core/package.json +2 -2
  72. package/node_modules/playwright-core/types/protocol.d.ts +36 -249
  73. package/node_modules/playwright-core/types/structs.d.ts +1 -3
  74. package/node_modules/playwright-core/types/types.d.ts +268 -2011
  75. package/node_modules/typebox/build/compile/validator.d.mts +4 -1
  76. package/node_modules/typebox/build/guard/guard.d.mts +1 -1
  77. package/node_modules/typebox/build/guard/guard.mjs +2 -5
  78. package/node_modules/typebox/build/guard/string.mjs +4 -16
  79. package/node_modules/typebox/build/schema/engine/_functions.mjs +15 -34
  80. package/node_modules/typebox/build/type/action/readonly_object.d.mts +0 -5
  81. package/node_modules/typebox/build/type/action/readonly_object.mjs +0 -8
  82. package/node_modules/typebox/build/typebox.d.mts +1 -1
  83. package/node_modules/typebox/build/typebox.mjs +1 -1
  84. package/node_modules/typebox/package.json +1 -1
  85. package/node_modules/typebox/readme.md +32 -29
  86. package/openclaw.plugin.json +0 -1
  87. package/package.json +7 -7
  88. package/skills/diffs/SKILL.md +2 -2
  89. package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/SKILL.md +0 -143
  90. package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/gallery-spec.md +0 -144
  91. package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/migration.md +0 -85
  92. package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/react.md +0 -67
  93. package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/vue.md +0 -75
  94. package/node_modules/playwright-core/lib/vite/dashboard/assets/index-CyWAfh-p.js +0 -11
  95. package/node_modules/playwright-core/lib/vite/dashboard/assets/index-DhC616m4.css +0 -1
  96. package/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule--QdMvsKi.css +0 -1
  97. package/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule-CwYYHbcZ.js +0 -32
  98. package/node_modules/playwright-core/lib/vite/recorder/assets/index-DYjdXIbE.js +0 -129
  99. package/node_modules/playwright-core/lib/vite/recorder/assets/index-l_lX622x.css +0 -1
  100. package/node_modules/playwright-core/lib/vite/traceViewer/assets/codeMirrorModule-By56iMx7.js +0 -32
  101. package/node_modules/playwright-core/lib/vite/traceViewer/assets/defaultSettingsView-B34OrIms.js +0 -181
  102. package/node_modules/playwright-core/lib/vite/traceViewer/assets/urlMatch-L3liM589.js +0 -1
  103. package/node_modules/playwright-core/lib/vite/traceViewer/assets/xtermModule-COQkjINf.js +0 -7
  104. package/node_modules/playwright-core/lib/vite/traceViewer/codeMirrorModule.-QdMvsKi.css +0 -1
  105. package/node_modules/playwright-core/lib/vite/traceViewer/defaultSettingsView.BLFoOugd.css +0 -1
  106. package/node_modules/playwright-core/lib/vite/traceViewer/index.B_TqY17P.css +0 -1
  107. package/node_modules/playwright-core/lib/vite/traceViewer/index.Dl36UVQT.js +0 -1
  108. package/node_modules/playwright-core/lib/vite/traceViewer/snapshot.B_Jk1wbt.js +0 -1
  109. package/node_modules/playwright-core/lib/vite/traceViewer/uiMode.C7UW1sC9.css +0 -1
  110. package/node_modules/playwright-core/lib/vite/traceViewer/uiMode.D962mr9b.js +0 -5
  111. package/node_modules/playwright-core/lib/vite/traceViewer/xtermModule.kHJ-D0s7.css +0 -1
  112. package/node_modules/playwright-core/lib/webp_codec.LICENSE +0 -173
  113. package/node_modules/playwright-core/lib/webp_codec.wasm +0 -0
  114. /package/node_modules/playwright-core/lib/tools/{skills/playwright-cli → cli-client/skill}/references/element-attributes.md +0 -0
  115. /package/node_modules/playwright-core/lib/tools/{skills/playwright-cli → cli-client/skill}/references/playwright-tests.md +0 -0
  116. /package/node_modules/playwright-core/lib/tools/{skills/playwright-cli → cli-client/skill}/references/request-mocking.md +0 -0
  117. /package/node_modules/playwright-core/lib/tools/{skills/playwright-cli → cli-client/skill}/references/running-code.md +0 -0
  118. /package/node_modules/playwright-core/lib/tools/{skills/playwright-cli → cli-client/skill}/references/session-management.md +0 -0
  119. /package/node_modules/playwright-core/lib/tools/{skills/playwright-cli → cli-client/skill}/references/storage-state.md +0 -0
  120. /package/node_modules/playwright-core/lib/tools/{skills/playwright-cli → cli-client/skill}/references/tracing.md +0 -0
  121. /package/node_modules/playwright-core/lib/tools/{skills/playwright-cli → cli-client/skill}/references/video-recording.md +0 -0
  122. /package/node_modules/playwright-core/lib/tools/{skills/playwright-trace → trace}/SKILL.md +0 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shikijs/core",
3
3
  "type": "module",
4
- "version": "4.3.1",
4
+ "version": "4.3.0",
5
5
  "description": "Core of Shiki",
6
6
  "author": "Pine Wu <octref@gmail.com>; Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -49,8 +49,8 @@
49
49
  "@shikijs/vscode-textmate": "^10.0.2",
50
50
  "@types/hast": "^3.0.4",
51
51
  "hast-util-to-html": "^9.0.5",
52
- "@shikijs/primitive": "4.3.1",
53
- "@shikijs/types": "4.3.1"
52
+ "@shikijs/primitive": "4.3.0",
53
+ "@shikijs/types": "4.3.0"
54
54
  },
55
55
  "scripts": {
56
56
  "build": "tsdown",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shikijs/engine-javascript",
3
3
  "type": "module",
4
- "version": "4.3.1",
4
+ "version": "4.3.0",
5
5
  "description": "Engine for Shiki using JavaScript's native RegExp",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -33,7 +33,7 @@
33
33
  "dependencies": {
34
34
  "@shikijs/vscode-textmate": "^10.0.2",
35
35
  "oniguruma-to-es": "^4.3.6",
36
- "@shikijs/types": "4.3.1"
36
+ "@shikijs/types": "4.3.0"
37
37
  },
38
38
  "scripts": {
39
39
  "build": "tsdown",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shikijs/engine-oniguruma",
3
3
  "type": "module",
4
- "version": "4.3.1",
4
+ "version": "4.3.0",
5
5
  "description": "Engine for Shiki using Oniguruma RegExp engine in WebAssembly",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@shikijs/vscode-textmate": "^10.0.2",
36
- "@shikijs/types": "4.3.1"
36
+ "@shikijs/types": "4.3.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "vscode-oniguruma": "1.7.0"
@@ -617,7 +617,7 @@ function tokenizeWithTheme(code, grammar, theme, colorMap, options) {
617
617
  }
618
618
  function _tokenizeWithTheme(code, grammar, theme, colorMap, options) {
619
619
  const colorReplacements = resolveColorReplacements(theme, options);
620
- const { tokenizeMaxLineLength = 0, tokenizeTimeLimit = 500, includeExplanation = false } = options;
620
+ const { tokenizeMaxLineLength = 0, tokenizeTimeLimit = 500 } = options;
621
621
  const lines = splitLines(code);
622
622
  let stateStack = options.grammarState ? getGrammarStack(options.grammarState, theme.name) ?? INITIAL : options.grammarContextCode != null ? _tokenizeWithTheme(options.grammarContextCode, grammar, theme, colorMap, {
623
623
  ...options,
@@ -646,7 +646,7 @@ function _tokenizeWithTheme(code, grammar, theme, colorMap, options) {
646
646
  let resultWithScopes;
647
647
  let tokensWithScopes;
648
648
  let tokensWithScopesIndex;
649
- if (includeExplanation && includeExplanation !== "tokenType") {
649
+ if (options.includeExplanation) {
650
650
  resultWithScopes = grammar.tokenizeLine(line, stateStack, tokenizeTimeLimit);
651
651
  tokensWithScopes = resultWithScopes.tokens;
652
652
  tokensWithScopesIndex = 0;
@@ -666,10 +666,9 @@ function _tokenizeWithTheme(code, grammar, theme, colorMap, options) {
666
666
  color,
667
667
  fontStyle
668
668
  };
669
- if (includeExplanation === "tokenType") token.type = EncodedTokenMetadata.getTokenType(metadata);
670
- else if (includeExplanation) {
669
+ if (options.includeExplanation) {
671
670
  const themeSettingsSelectors = [];
672
- if (includeExplanation !== "scopeName") for (const setting of theme.settings) {
671
+ if (options.includeExplanation !== "scopeName") for (const setting of theme.settings) {
673
672
  let selectors;
674
673
  switch (typeof setting.scope) {
675
674
  case "string":
@@ -693,7 +692,7 @@ function _tokenizeWithTheme(code, grammar, theme, colorMap, options) {
693
692
  offset += tokenWithScopesText.length;
694
693
  token.explanation.push({
695
694
  content: tokenWithScopesText,
696
- scopes: includeExplanation === "scopeName" ? explainThemeScopesNameOnly(tokenWithScopes.scopes) : explainThemeScopesFull(themeSettingsSelectors, tokenWithScopes.scopes)
695
+ scopes: options.includeExplanation === "scopeName" ? explainThemeScopesNameOnly(tokenWithScopes.scopes) : explainThemeScopesFull(themeSettingsSelectors, tokenWithScopes.scopes)
697
696
  });
698
697
  tokensWithScopesIndex += 1;
699
698
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shikijs/primitive",
3
3
  "type": "module",
4
- "version": "4.3.1",
4
+ "version": "4.3.0",
5
5
  "description": "Tokenizer primitives of Shiki",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -46,7 +46,7 @@
46
46
  "dependencies": {
47
47
  "@shikijs/vscode-textmate": "^10.0.2",
48
48
  "@types/hast": "^3.0.4",
49
- "@shikijs/types": "4.3.1"
49
+ "@shikijs/types": "4.3.0"
50
50
  },
51
51
  "scripts": {
52
52
  "build": "tsdown",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shikijs/themes",
3
3
  "type": "module",
4
- "version": "4.3.1",
4
+ "version": "4.3.0",
5
5
  "description": "TextMate themes for Shiki in ESM",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -95,7 +95,7 @@
95
95
  "node": ">=20"
96
96
  },
97
97
  "dependencies": {
98
- "@shikijs/types": "4.3.1"
98
+ "@shikijs/types": "4.3.0"
99
99
  },
100
100
  "devDependencies": {
101
101
  "tm-themes": "^1.12.2"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shikijs/transformers",
3
3
  "type": "module",
4
- "version": "4.3.1",
4
+ "version": "4.3.0",
5
5
  "description": "Collective of common transformers transformers for Shiki",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -30,8 +30,8 @@
30
30
  "node": ">=20"
31
31
  },
32
32
  "dependencies": {
33
- "@shikijs/core": "4.3.1",
34
- "@shikijs/types": "4.3.1"
33
+ "@shikijs/core": "4.3.0",
34
+ "@shikijs/types": "4.3.0"
35
35
  },
36
36
  "scripts": {
37
37
  "build": "tsdown",
@@ -342,14 +342,6 @@ interface TokenBase {
342
342
  * The start offset of the token, relative to the input code. 0-indexed.
343
343
  */
344
344
  offset: number;
345
- /**
346
- * The type of the token
347
- * 0 - other
348
- * 1 - comment
349
- * 2 - string
350
- * 3 - regex
351
- */
352
- type?: number;
353
345
  /**
354
346
  * Explanation of
355
347
  *
@@ -397,7 +389,7 @@ interface TokenizeWithThemeOptions {
397
389
  *
398
390
  * @default false
399
391
  */
400
- includeExplanation?: boolean | 'scopeName' | 'tokenType';
392
+ includeExplanation?: boolean | 'scopeName';
401
393
  /**
402
394
  * A map of color names to new color values.
403
395
  *
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shikijs/types",
3
3
  "type": "module",
4
- "version": "4.3.1",
4
+ "version": "4.3.0",
5
5
  "description": "Type definitions for Shiki",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -8,8 +8,8 @@ This package contains type definitions for hast (https://github.com/syntax-tree/
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hast.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 09 Jul 2026 11:00:13 GMT
11
+ * Last updated: Tue, 30 Jan 2024 21:35:45 GMT
12
12
  * Dependencies: [@types/unist](https://npmjs.com/package/@types/unist)
13
13
 
14
14
  # Credits
15
- These definitions were written by [lukeggchapman](https://github.com/lukeggchapman), [Junyoung Choi](https://github.com/rokt33r), [Christian Murphy](https://github.com/ChristianMurphy), [Remco Haszing](https://github.com/remcohaszing), and [Titus Wormer](https://github.com/wooorm).
15
+ These definitions were written by [lukeggchapman](https://github.com/lukeggchapman), [Junyoung Choi](https://github.com/rokt33r), [Christian Murphy](https://github.com/ChristianMurphy), and [Remco Haszing](https://github.com/remcohaszing).