@qwen-code/arena-agent 0.0.10-dev.0 → 0.0.10-dev.10

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 (158) hide show
  1. package/.env.example +57 -14
  2. package/CHANGELOG.md +228 -0
  3. package/README.md +240 -57
  4. package/dist/agent.d.ts +30 -2
  5. package/dist/agent.js +351 -104
  6. package/dist/agent.js.map +1 -1
  7. package/dist/anthropic.js +23 -22
  8. package/dist/anthropic.js.map +1 -1
  9. package/dist/ask-user.js +2 -0
  10. package/dist/ask-user.js.map +1 -1
  11. package/dist/attachments.js +4 -3
  12. package/dist/attachments.js.map +1 -1
  13. package/dist/brave-search.js +1 -3
  14. package/dist/brave-search.js.map +1 -1
  15. package/dist/canonical-data.js +2 -2
  16. package/dist/canonical-data.js.map +1 -1
  17. package/dist/cli.js +197 -34
  18. package/dist/cli.js.map +1 -1
  19. package/dist/code-tools.d.ts +8 -2
  20. package/dist/code-tools.js +709 -117
  21. package/dist/code-tools.js.map +1 -1
  22. package/dist/compaction.d.ts +49 -3
  23. package/dist/compaction.js +383 -170
  24. package/dist/compaction.js.map +1 -1
  25. package/dist/config.d.ts +17 -2
  26. package/dist/config.js +47 -5
  27. package/dist/config.js.map +1 -1
  28. package/dist/fetch-page.js +9 -33
  29. package/dist/fetch-page.js.map +1 -1
  30. package/dist/file-edit.d.ts +8 -0
  31. package/dist/file-edit.js +63 -0
  32. package/dist/file-edit.js.map +1 -0
  33. package/dist/history.d.ts +35 -1
  34. package/dist/history.js +400 -16
  35. package/dist/history.js.map +1 -1
  36. package/dist/legacy-compaction.d.ts +20 -0
  37. package/dist/legacy-compaction.js +209 -0
  38. package/dist/legacy-compaction.js.map +1 -0
  39. package/dist/midturn-checkpoint-hook.d.ts +31 -0
  40. package/dist/midturn-checkpoint-hook.js +38 -0
  41. package/dist/midturn-checkpoint-hook.js.map +1 -0
  42. package/dist/mock.js +5 -0
  43. package/dist/mock.js.map +1 -1
  44. package/dist/mode.js +4 -2
  45. package/dist/mode.js.map +1 -1
  46. package/dist/model-router-media.d.ts +1 -0
  47. package/dist/model-router-media.js +71 -1
  48. package/dist/model-router-media.js.map +1 -1
  49. package/dist/openai-responses.js +2 -0
  50. package/dist/openai-responses.js.map +1 -1
  51. package/dist/process-manager.js +18 -11
  52. package/dist/process-manager.js.map +1 -1
  53. package/dist/prompts.d.ts +2 -0
  54. package/dist/prompts.js +6 -2
  55. package/dist/prompts.js.map +1 -1
  56. package/dist/protocol.d.ts +5 -1
  57. package/dist/protocol.js +24 -2
  58. package/dist/protocol.js.map +1 -1
  59. package/dist/provider.d.ts +12 -5
  60. package/dist/provider.js +60 -52
  61. package/dist/provider.js.map +1 -1
  62. package/dist/repetitive-output.d.ts +12 -0
  63. package/dist/repetitive-output.js +80 -0
  64. package/dist/repetitive-output.js.map +1 -0
  65. package/dist/replay-responses.d.ts +17 -0
  66. package/dist/replay-responses.js +100 -0
  67. package/dist/replay-responses.js.map +1 -0
  68. package/dist/routify-web-fetch.js +20 -7
  69. package/dist/routify-web-fetch.js.map +1 -1
  70. package/dist/sandbox-file-write.d.ts +10 -0
  71. package/dist/sandbox-file-write.js +58 -0
  72. package/dist/sandbox-file-write.js.map +1 -0
  73. package/dist/sdk.js +9 -1
  74. package/dist/sdk.js.map +1 -1
  75. package/dist/server.js +127 -44
  76. package/dist/server.js.map +1 -1
  77. package/dist/session-memory-prompts.d.ts +5 -0
  78. package/dist/session-memory-prompts.js +7 -0
  79. package/dist/session-memory-prompts.js.map +1 -0
  80. package/dist/snapshot-client.d.ts +10 -0
  81. package/dist/snapshot-client.js +39 -0
  82. package/dist/snapshot-client.js.map +1 -0
  83. package/dist/spec.js +18 -10
  84. package/dist/spec.js.map +1 -1
  85. package/dist/speech-audio.d.ts +9 -0
  86. package/dist/speech-audio.js +130 -0
  87. package/dist/speech-audio.js.map +1 -0
  88. package/dist/speech-model.d.ts +3 -0
  89. package/dist/speech-model.js +8 -0
  90. package/dist/speech-model.js.map +1 -0
  91. package/dist/tools.d.ts +5 -0
  92. package/dist/tools.js +744 -121
  93. package/dist/tools.js.map +1 -1
  94. package/dist/tui.js +20 -12
  95. package/dist/tui.js.map +1 -1
  96. package/dist/types.d.ts +28 -3
  97. package/dist/voice-registry.d.ts +2 -0
  98. package/dist/voice-registry.js +10 -2
  99. package/dist/voice-registry.js.map +1 -1
  100. package/dist/web/app.js +17 -3
  101. package/dist/web/app.js.map +1 -1
  102. package/dist/web-fetch-output.d.ts +9 -0
  103. package/dist/web-fetch-output.js +38 -0
  104. package/dist/web-fetch-output.js.map +1 -0
  105. package/dist/workspace.d.ts +2 -0
  106. package/dist/workspace.js +11 -6
  107. package/dist/workspace.js.map +1 -1
  108. package/docs/BINARY_DISTRIBUTION.md +27 -16
  109. package/docs/MODES_AND_RELEASES.md +28 -5
  110. package/docs/SDK.md +10 -4
  111. package/modes/code-arena/capture-provenance.json +57 -0
  112. package/modes/code-arena/full-stack/system-prompt.txt +1 -1
  113. package/modes/code-arena/full-stack/template/eslint.config.mjs +3 -4
  114. package/modes/code-arena/full-stack/template/postcss.config.mjs +2 -2
  115. package/modes/code-arena/full-stack/tools.json +186 -186
  116. package/modes/code-arena/html/system-prompt.txt +1 -1
  117. package/modes/code-arena/html/tools.json +123 -123
  118. package/modes/code-arena/react/system-prompt.txt +4 -3
  119. package/modes/code-arena/react/template/package.json +4 -4
  120. package/modes/code-arena/react/template/src/App.tsx +1 -1
  121. package/modes/code-arena/react/template/src/main.tsx +1 -1
  122. package/modes/code-arena/react/template/tsconfig.json +6 -0
  123. package/modes/code-arena/react/template/vite.config.ts +1 -0
  124. package/modes/code-arena/react/tools.json +178 -184
  125. package/package.json +15 -4
  126. package/scripts/README.md +62 -0
  127. package/scripts/check-changelog.mjs +66 -0
  128. package/vendor/audio/darwin-arm64/FFmpeg.LICENSE +502 -0
  129. package/vendor/audio/darwin-arm64/LAME.LICENSE +481 -0
  130. package/vendor/audio/darwin-arm64/Opus.LICENSE +44 -0
  131. package/vendor/audio/darwin-arm64/ffmpeg.gz +0 -0
  132. package/vendor/audio/darwin-arm64/manifest.json +39 -0
  133. package/vendor/audio/darwin-x64/FFmpeg.LICENSE +502 -0
  134. package/vendor/audio/darwin-x64/LAME.LICENSE +481 -0
  135. package/vendor/audio/darwin-x64/Opus.LICENSE +44 -0
  136. package/vendor/audio/darwin-x64/ffmpeg.gz +0 -0
  137. package/vendor/audio/darwin-x64/manifest.json +39 -0
  138. package/vendor/audio/linux-arm64/FFmpeg.LICENSE +502 -0
  139. package/vendor/audio/linux-arm64/LAME.LICENSE +481 -0
  140. package/vendor/audio/linux-arm64/Opus.LICENSE +44 -0
  141. package/vendor/audio/linux-arm64/ffmpeg.gz +0 -0
  142. package/vendor/audio/linux-arm64/manifest.json +39 -0
  143. package/vendor/audio/linux-x64/FFmpeg.LICENSE +502 -0
  144. package/vendor/audio/linux-x64/LAME.LICENSE +481 -0
  145. package/vendor/audio/linux-x64/Opus.LICENSE +44 -0
  146. package/vendor/audio/linux-x64/ffmpeg.gz +0 -0
  147. package/vendor/audio/linux-x64/manifest.json +39 -0
  148. package/vendor/audio/sources/build-audio-encoder.sh +76 -0
  149. package/vendor/audio/sources/ffmpeg-7.0.2.tar.xz +0 -0
  150. package/vendor/audio/sources/lame-3.100.tar.gz +0 -0
  151. package/vendor/audio/sources/opus-1.5.2.tar.gz +0 -0
  152. package/vendor/audio/sources/pkgconf-2.3.0.tar.xz +0 -0
  153. package/vendor/audio/sources/sources.lock.json +30 -0
  154. package/vendor/audio/win32-x64/FFmpeg.LICENSE +502 -0
  155. package/vendor/audio/win32-x64/LAME.LICENSE +481 -0
  156. package/vendor/audio/win32-x64/Opus.LICENSE +44 -0
  157. package/vendor/audio/win32-x64/ffmpeg.gz +0 -0
  158. package/vendor/audio/win32-x64/manifest.json +39 -0
@@ -0,0 +1,57 @@
1
+ {
2
+ "capture": "20260914_20260923_all, verified 1,943,646,391-byte subset",
3
+ "refresh_authorization": "Use React bash variant (68 requests); exclude legacy 74; refresh captured read_file descriptions in all modes; 2026-09-30: fully align source system prompts with this capture, including step limits and trailing newlines",
4
+ "modes": {
5
+ "react": {
6
+ "source": {
7
+ "byte_length": 4367074,
8
+ "byte_offset": 17151593,
9
+ "file": "2026092412341479gtfvrx5mm1q1_M1_1_0_0-0_TableSink1",
10
+ "line": 23,
11
+ "line_sha256": "18146af8b31af9d63695808ffc9ef8a3f7fd51f0b544d2d80aa58a1a02f577dc",
12
+ "request_id": "22d2a5fe-f4bd-9fe3-b547-df6e4262b6cc",
13
+ "request_time": "2026-09-17 19:38:34.669"
14
+ },
15
+ "requests": 68,
16
+ "tool_sha256": "3f3faf0d381e3052647c16398fca37f61fcde81cc28991fb5d7093b3611ea6ea",
17
+ "system_prompt_sha256": "bc953ed8aabd8538a33681e46a1c14772f25c08bf18149788d051242765507a3",
18
+ "captured_tools_exact": true,
19
+ "runtime_prompt_exact": true,
20
+ "fixture_prompt_exact": true
21
+ },
22
+ "full-stack": {
23
+ "source": {
24
+ "byte_length": 64010,
25
+ "byte_offset": 4473909,
26
+ "file": "2026092412341479gtfvrx5mm1q1_M1_1_0_0-0_TableSink1",
27
+ "line": 8,
28
+ "line_sha256": "11100f99df2fc63db672bf1b8e5dc2863c7dad274db8cf4bab6257db05aec43c",
29
+ "request_id": "b7df3ab2-7e91-9b8e-bd36-8d21f6e7f6b0",
30
+ "request_time": "2026-09-17 04:18:07.459"
31
+ },
32
+ "requests": 114,
33
+ "tool_sha256": "2fde2efb10c76722721ad2be70b9ce792dd5e583e747b948a593e3015192c48c",
34
+ "system_prompt_sha256": "8332fc6d21e6aac8ecb0b1801eb1821b9a760af6d67c1e5450a5e032359cfa38",
35
+ "captured_tools_exact": true,
36
+ "runtime_prompt_exact": true,
37
+ "fixture_prompt_exact": true
38
+ },
39
+ "html": {
40
+ "source": {
41
+ "byte_length": 563639,
42
+ "byte_offset": 7238600,
43
+ "file": "2026092412341479gtfvrx5mm1q1_M1_1_0_0-0_TableSink1",
44
+ "line": 12,
45
+ "line_sha256": "6e48c0b5077b259eb009a612e2bf996390b134b551ff6bfd75bd98d402ab8071",
46
+ "request_id": "b850ee0f-995d-9806-8162-5b6d9fba97f9",
47
+ "request_time": "2026-09-17 20:30:06.600"
48
+ },
49
+ "requests": 23,
50
+ "tool_sha256": "318bc19b7e230e7d876a1fe46e22e888704aa6b5ab79a5745b854d3a6535cea4",
51
+ "system_prompt_sha256": "dccb1078fd5c880f539280eec9488de3ecb17e912a45a75ebf366e1d0e47a524",
52
+ "captured_tools_exact": true,
53
+ "runtime_prompt_exact": true,
54
+ "fixture_prompt_exact": true
55
+ }
56
+ }
57
+ }
@@ -15,7 +15,7 @@ You have access to 'web_search' and 'web_fetch' tools for researching informatio
15
15
 
16
16
  ## Task Planning
17
17
 
18
- You have a maximum of 50 sequential tool-calling steps to complete the task. Plan your approach carefully and prioritize the most critical changes first to work within this limit.
18
+ You have a maximum of 75 sequential tool-calling steps to complete the task. Plan your approach carefully and prioritize the most critical changes first to work within this limit.
19
19
 
20
20
  For each file you create or edit, you must first explain what you are about to do, then call the tool, then confirm the result.
21
21
 
@@ -1,9 +1,8 @@
1
1
  import { defineConfig, globalIgnores } from "eslint/config";
2
- import nextVitals from "eslint-config-next/core-web-vitals";
3
- import nextTs from "eslint-config-next/typescript";
2
+ import nextCoreWebVitals from "eslint-config-next/core-web-vitals";
4
3
 
5
4
  export default defineConfig([
6
- ...nextVitals,
7
- ...nextTs,
5
+ // Keep the starter on the flat config export that actually runs under the pinned ESLint/Next toolchain.
6
+ ...nextCoreWebVitals,
8
7
  globalIgnores([".next/**", "out/**", "build/**", "next-env.d.ts"]),
9
8
  ]);
@@ -1,7 +1,7 @@
1
- const config = {
1
+ const postcssConfig = {
2
2
  plugins: {
3
3
  "@tailwindcss/postcss": {},
4
4
  },
5
5
  };
6
6
 
7
- export default config;
7
+ export default postcssConfig;