@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.
- package/.env.example +57 -14
- package/CHANGELOG.md +228 -0
- package/README.md +240 -57
- package/dist/agent.d.ts +30 -2
- package/dist/agent.js +351 -104
- package/dist/agent.js.map +1 -1
- package/dist/anthropic.js +23 -22
- package/dist/anthropic.js.map +1 -1
- package/dist/ask-user.js +2 -0
- package/dist/ask-user.js.map +1 -1
- package/dist/attachments.js +4 -3
- package/dist/attachments.js.map +1 -1
- package/dist/brave-search.js +1 -3
- package/dist/brave-search.js.map +1 -1
- package/dist/canonical-data.js +2 -2
- package/dist/canonical-data.js.map +1 -1
- package/dist/cli.js +197 -34
- package/dist/cli.js.map +1 -1
- package/dist/code-tools.d.ts +8 -2
- package/dist/code-tools.js +709 -117
- package/dist/code-tools.js.map +1 -1
- package/dist/compaction.d.ts +49 -3
- package/dist/compaction.js +383 -170
- package/dist/compaction.js.map +1 -1
- package/dist/config.d.ts +17 -2
- package/dist/config.js +47 -5
- package/dist/config.js.map +1 -1
- package/dist/fetch-page.js +9 -33
- package/dist/fetch-page.js.map +1 -1
- package/dist/file-edit.d.ts +8 -0
- package/dist/file-edit.js +63 -0
- package/dist/file-edit.js.map +1 -0
- package/dist/history.d.ts +35 -1
- package/dist/history.js +400 -16
- package/dist/history.js.map +1 -1
- package/dist/legacy-compaction.d.ts +20 -0
- package/dist/legacy-compaction.js +209 -0
- package/dist/legacy-compaction.js.map +1 -0
- package/dist/midturn-checkpoint-hook.d.ts +31 -0
- package/dist/midturn-checkpoint-hook.js +38 -0
- package/dist/midturn-checkpoint-hook.js.map +1 -0
- package/dist/mock.js +5 -0
- package/dist/mock.js.map +1 -1
- package/dist/mode.js +4 -2
- package/dist/mode.js.map +1 -1
- package/dist/model-router-media.d.ts +1 -0
- package/dist/model-router-media.js +71 -1
- package/dist/model-router-media.js.map +1 -1
- package/dist/openai-responses.js +2 -0
- package/dist/openai-responses.js.map +1 -1
- package/dist/process-manager.js +18 -11
- package/dist/process-manager.js.map +1 -1
- package/dist/prompts.d.ts +2 -0
- package/dist/prompts.js +6 -2
- package/dist/prompts.js.map +1 -1
- package/dist/protocol.d.ts +5 -1
- package/dist/protocol.js +24 -2
- package/dist/protocol.js.map +1 -1
- package/dist/provider.d.ts +12 -5
- package/dist/provider.js +60 -52
- package/dist/provider.js.map +1 -1
- package/dist/repetitive-output.d.ts +12 -0
- package/dist/repetitive-output.js +80 -0
- package/dist/repetitive-output.js.map +1 -0
- package/dist/replay-responses.d.ts +17 -0
- package/dist/replay-responses.js +100 -0
- package/dist/replay-responses.js.map +1 -0
- package/dist/routify-web-fetch.js +20 -7
- package/dist/routify-web-fetch.js.map +1 -1
- package/dist/sandbox-file-write.d.ts +10 -0
- package/dist/sandbox-file-write.js +58 -0
- package/dist/sandbox-file-write.js.map +1 -0
- package/dist/sdk.js +9 -1
- package/dist/sdk.js.map +1 -1
- package/dist/server.js +127 -44
- package/dist/server.js.map +1 -1
- package/dist/session-memory-prompts.d.ts +5 -0
- package/dist/session-memory-prompts.js +7 -0
- package/dist/session-memory-prompts.js.map +1 -0
- package/dist/snapshot-client.d.ts +10 -0
- package/dist/snapshot-client.js +39 -0
- package/dist/snapshot-client.js.map +1 -0
- package/dist/spec.js +18 -10
- package/dist/spec.js.map +1 -1
- package/dist/speech-audio.d.ts +9 -0
- package/dist/speech-audio.js +130 -0
- package/dist/speech-audio.js.map +1 -0
- package/dist/speech-model.d.ts +3 -0
- package/dist/speech-model.js +8 -0
- package/dist/speech-model.js.map +1 -0
- package/dist/tools.d.ts +5 -0
- package/dist/tools.js +744 -121
- package/dist/tools.js.map +1 -1
- package/dist/tui.js +20 -12
- package/dist/tui.js.map +1 -1
- package/dist/types.d.ts +28 -3
- package/dist/voice-registry.d.ts +2 -0
- package/dist/voice-registry.js +10 -2
- package/dist/voice-registry.js.map +1 -1
- package/dist/web/app.js +17 -3
- package/dist/web/app.js.map +1 -1
- package/dist/web-fetch-output.d.ts +9 -0
- package/dist/web-fetch-output.js +38 -0
- package/dist/web-fetch-output.js.map +1 -0
- package/dist/workspace.d.ts +2 -0
- package/dist/workspace.js +11 -6
- package/dist/workspace.js.map +1 -1
- package/docs/BINARY_DISTRIBUTION.md +27 -16
- package/docs/MODES_AND_RELEASES.md +28 -5
- package/docs/SDK.md +10 -4
- package/modes/code-arena/capture-provenance.json +57 -0
- package/modes/code-arena/full-stack/system-prompt.txt +1 -1
- package/modes/code-arena/full-stack/template/eslint.config.mjs +3 -4
- package/modes/code-arena/full-stack/template/postcss.config.mjs +2 -2
- package/modes/code-arena/full-stack/tools.json +186 -186
- package/modes/code-arena/html/system-prompt.txt +1 -1
- package/modes/code-arena/html/tools.json +123 -123
- package/modes/code-arena/react/system-prompt.txt +4 -3
- package/modes/code-arena/react/template/package.json +4 -4
- package/modes/code-arena/react/template/src/App.tsx +1 -1
- package/modes/code-arena/react/template/src/main.tsx +1 -1
- package/modes/code-arena/react/template/tsconfig.json +6 -0
- package/modes/code-arena/react/template/vite.config.ts +1 -0
- package/modes/code-arena/react/tools.json +178 -184
- package/package.json +15 -4
- package/scripts/README.md +62 -0
- package/scripts/check-changelog.mjs +66 -0
- package/vendor/audio/darwin-arm64/FFmpeg.LICENSE +502 -0
- package/vendor/audio/darwin-arm64/LAME.LICENSE +481 -0
- package/vendor/audio/darwin-arm64/Opus.LICENSE +44 -0
- package/vendor/audio/darwin-arm64/ffmpeg.gz +0 -0
- package/vendor/audio/darwin-arm64/manifest.json +39 -0
- package/vendor/audio/darwin-x64/FFmpeg.LICENSE +502 -0
- package/vendor/audio/darwin-x64/LAME.LICENSE +481 -0
- package/vendor/audio/darwin-x64/Opus.LICENSE +44 -0
- package/vendor/audio/darwin-x64/ffmpeg.gz +0 -0
- package/vendor/audio/darwin-x64/manifest.json +39 -0
- package/vendor/audio/linux-arm64/FFmpeg.LICENSE +502 -0
- package/vendor/audio/linux-arm64/LAME.LICENSE +481 -0
- package/vendor/audio/linux-arm64/Opus.LICENSE +44 -0
- package/vendor/audio/linux-arm64/ffmpeg.gz +0 -0
- package/vendor/audio/linux-arm64/manifest.json +39 -0
- package/vendor/audio/linux-x64/FFmpeg.LICENSE +502 -0
- package/vendor/audio/linux-x64/LAME.LICENSE +481 -0
- package/vendor/audio/linux-x64/Opus.LICENSE +44 -0
- package/vendor/audio/linux-x64/ffmpeg.gz +0 -0
- package/vendor/audio/linux-x64/manifest.json +39 -0
- package/vendor/audio/sources/build-audio-encoder.sh +76 -0
- package/vendor/audio/sources/ffmpeg-7.0.2.tar.xz +0 -0
- package/vendor/audio/sources/lame-3.100.tar.gz +0 -0
- package/vendor/audio/sources/opus-1.5.2.tar.gz +0 -0
- package/vendor/audio/sources/pkgconf-2.3.0.tar.xz +0 -0
- package/vendor/audio/sources/sources.lock.json +30 -0
- package/vendor/audio/win32-x64/FFmpeg.LICENSE +502 -0
- package/vendor/audio/win32-x64/LAME.LICENSE +481 -0
- package/vendor/audio/win32-x64/Opus.LICENSE +44 -0
- package/vendor/audio/win32-x64/ffmpeg.gz +0 -0
- 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
|
|
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
|
|
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
|
-
|
|
7
|
-
...
|
|
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
|
]);
|