JosephStoneCellAI commited on
Commit
001b2a5
·
verified ·
1 Parent(s): f273b44

Add files using upload-large-folder tool

Browse files
Files changed (50) hide show
  1. .android/adb.5037 +1 -0
  2. .android/adbkey +28 -0
  3. .android/adbkey.pub +1 -0
  4. .cargo/.package-cache +0 -0
  5. .cargo/.package-cache-mutate +0 -0
  6. .claude.json +128 -0
  7. .claude/.credentials.json +1 -0
  8. .claude/history.jsonl +61 -0
  9. .claude/settings.json +115 -0
  10. .claude/settings.local.json +42 -0
  11. .claude/stats-cache.json +243 -0
  12. .mcp.json +13 -0
  13. .qwen.json +169 -0
  14. .qwen/.mcp.json +13 -0
  15. .qwen/SPF_WHITELIST.md +134 -0
  16. .qwen/installation_id +1 -0
  17. .qwen/oauth_creds.json +7 -0
  18. .qwen/output-language.md +17 -0
  19. .qwen/settings.json +134 -0
  20. .qwen/settings.json.orig +10 -0
  21. .qwen/settings.local.json +23 -0
  22. LMDB5.DB/.claude.json +94 -0
  23. LMDB5.DB/.claude.json.backup.1772050865541 +93 -0
  24. LMDB5.DB/.claude.json.backup.1772050865959 +93 -0
  25. LMDB5.DB/.claude.json.backup.1772050871349 +93 -0
  26. LMDB5.DB/.claude.json.backup.1772050871352 +94 -0
  27. LMDB5.DB/.claude.json.backup.1772050871436 +94 -0
  28. LMDB5.DB/lock.mdb +0 -0
  29. TRIAD-CMD/BOOT.md +88 -0
  30. TRIAD-CMD/MEMORY_TRIAD.md +161 -0
  31. TRIAD-CMD/MORAL_FRAMEWORK.md +128 -0
  32. TRIAD-CMD/README.md +25 -0
  33. TRIAD-CMD/SPF-FEATURES.md +882 -0
  34. TRIAD-CMD/STATUS.md +230 -0
  35. TRIAD-CMD/WORKFLOW.md +116 -0
  36. claude-debug.log +5 -0
  37. claude-full-debug.log +55 -0
  38. claude.out +0 -0
  39. node_modules/.package-lock.json +66 -0
  40. node_modules/@qwen-code/qwen-code/LICENSE +203 -0
  41. node_modules/@qwen-code/qwen-code/README.md +465 -0
  42. node_modules/@qwen-code/qwen-code/locales/de.js +1624 -0
  43. node_modules/@qwen-code/qwen-code/locales/en.js +1676 -0
  44. node_modules/@qwen-code/qwen-code/package.json +44 -0
  45. node_modules/@qwen-code/qwen-code/sandbox-macos-permissive-closed.sb +32 -0
  46. node_modules/@qwen-code/qwen-code/sandbox-macos-permissive-proxied.sb +37 -0
  47. node_modules/@qwen-code/qwen-code/sandbox-macos-restrictive-closed.sb +93 -0
  48. node_modules/@qwen-code/qwen-code/sandbox-macos-restrictive-proxied.sb +98 -0
  49. package-lock.json +245 -0
  50. package.json +5 -0
.android/adb.5037 ADDED
@@ -0,0 +1 @@
 
 
1
+ /data/data/com.termux/files/usr/bin/adb
.android/adbkey ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ -----BEGIN PRIVATE KEY-----
2
+ MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCFxWd5Hg5YgQMn
3
+ u8QpilanRuGG2Q67ZTX4emiZyFSGoa2XinZ2/YQXM4xdZdw+oGd+9GV7pTFQFcVZ
4
+ 7wiWIFpb9HeWimioWdLxOGB46lPtKM1aTyscFy7agy91hhA5bOyQ3RzDQhoGu23j
5
+ 3aIAqc4NzFZULy52BiK00OAUIP6jEPufgTfGr2tqwVMEN5AuZizouIjyKXkRo2fJ
6
+ UOUsFykSWA6tNmfvbvnY/OfO9pRb1kuhr1fyXxg59t8Xx38wc1OqYWI/u54/gJdt
7
+ eL+RxUek6xkXMHKAM0ZY1RcTJtTzPjk1eCnjl3m/YT9nTUYgT6WHj8+niU6+oPYQ
8
+ LUpSqimbAgMBAAECggEAANoeBoxbdapt9WY/+Tv4fdk1kZOEqbavKGxC9cTXxj58
9
+ btPfaqiaZXYr6AQsVdd2+AcJhqWBSZYVs6dp1tmvsTpZpr/dkJLVrbJGYwcxXwWX
10
+ qoJFocHodvZ2alfKuljNT+DKV1G4ud+elOCzt2YaG7i0xstVFb2R18HvI9vJTzOf
11
+ PMt6i4To+mqqY/+Rm5oD6CD6xlQhy8fyxEJTPYKg2ocfKodMJ9eter/ioy63vE4k
12
+ On51g6qR3IioEHzSnt1Xe0P+TfNXP9qZ3EmfaMQH2xu0anFGKWhyhEhc2sGMZ8UQ
13
+ DAHkkLmbqdOJQnimDJvFArHJY8Zu4lfFoTRkBhDjgQKBgQC72i5m8Zz9cEWrqaUW
14
+ d4biaCYPpR/THOIZ9YRpoJMY66Fwfsy9wVC+WWW2xIcBpmCRGkFroOVLAfcw06ln
15
+ tH9TMmyq8+RVsJYFoX2CTX9tT06GleE2RXOwt5ZbKC1cW+HW9aZKHlUtEktKZ7C4
16
+ qhUWDBIpCDyP9haYcrGkt2XGwQKBgQC2TLY37kr3go+wDJSGS5WDe2mrJLbwaT5F
17
+ 20NpqrZ8F10rIS9OMpw2EmUdyyViDRtHrhjMxRwpPtjOQy+mP+f5xQD0d0d9V9ge
18
+ umJDpUIEkPNWidPaCjcoVuKPRMB3Gt3V9OgFWdv2+AK7HmWWBPIirYSBvRJ/fmHG
19
+ ulwRVHhDWwKBgQCGcMyawjpfq1VBWOUcoih3qp/qvHt9RIOQnoTIb7I2uJROhYEU
20
+ IOEfia1g01/nz2H3FvpRA9J2Dw8Q87qezK//I+xfoLL+nKWRnBTOB5a17Xc+nM+U
21
+ XrpAc/N4g9WK7vs/M4lyLCk7W4dk1bbFQnxazgLFOO7W/QEI07TNNK/zQQKBgGal
22
+ zzyzGtc/VvUEQGVWDfwY86kAZVn9iKkBC3ZmP5aj+Twd1WssqDTyKqmaB5SsWJ4F
23
+ 88TpgC/hSWbrAduUxGQpf54nw8NaQUEcJdR9Ky0zCTHDLdzqP6ChO7T8O3tVT2/4
24
+ FOVecbMgdzkxpnXQlx7boW8ELXRIj3m82baQX59dAoGAWSxsAL77uRSeVSOcaCJE
25
+ Lhik3tdAcYq3DiHLgqK7kw5lAfPlh5Oglcd5d/Qq0pcUm+m1VYHru5nEn5PFqK6K
26
+ gjRoEXo5wZeELsQG4mCH7yyUVEnP70LgdqIeoUGBNcGcdPD39eJth2u2UnRpgxwG
27
+ 2HNUtW0ievwgdfisXZKbxVg=
28
+ -----END PRIVATE KEY-----
.android/adbkey.pub ADDED
@@ -0,0 +1 @@
 
 
1
+ QAAAAG3rQSubKapSSi0Q9qC+Tomnz4+HpU8gRk1nP2G/eZfjKXg1OT7z1CYTF9VYRjOAcjAXGeukR8WRv3htl4A/nrs/YmGqU3Mwf8cX3/Y5GF/yV6+hS9ZblPbO5/zY+W7vZzatDlgSKRcs5VDJZ6MReSnyiLjoLGYukDcEU8Fqa6/GN4Gf+xCj/iAU4NC0IgZ2Li9UVswNzqkAot3jbbsGGkLDHN2Q7Gw5EIZ1L4PaLhccK09azSjtU+p4YDjx0lmoaIqWd/RbWiCWCO9ZxRVQMaV7ZfR+Z6A+3GVdjDMXhP12doqXraGGVMiZaHr4NWW7DtmG4UanVoopxLsnA4FYDh55Z8WFcffw2LLLbfuPeRRB5GewI6VrLoDy8Lo/B/bic8nHQiKxFD+9r9+wnGFHte33MUDIRCCZqubS/AtX0YsNDCENxdrKq7owQkG6tb9WXCvttjRXUKTHzPseKCWlgIw5XeYWLiWu8j7F6rKy0zN+NtgsgEQuwCzQYEBLf8VnNlgVJaMGIw04tfBMD8BxQVaf+MWgeaC2EqFTIqkO3ljjtajYVqRgT+cQWaLJ1QAlNmiyYOaB0KtTEPM7I8tSSSAZkj6ePwsGrBbRkVemct+vzg+RaSb91Q+rm9ueS/JK/7PvWLH9FhEGa7LHneh0/HivL4+qa8tT54nbfIAaFHV9LkPiNgEAAQA= u0_a163@localhost
.cargo/.package-cache ADDED
File without changes
.cargo/.package-cache-mutate ADDED
File without changes
.claude.json ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "enabledMcpjsonServers": [
3
+ "spf-smart-gate"
4
+ ],
5
+ "enableAllProjectMcpServers": true,
6
+ "permissions": {
7
+ "allow": [
8
+ "mcp__spf-smart-gate__spf_read",
9
+ "mcp__spf-smart-gate__spf_write",
10
+ "mcp__spf-spf-smart-gate__spf_edit",
11
+ "mcp__spf-spf-smart-gate__spf_bash",
12
+ "mcp__spf-spf-smart-gate__spf_glob",
13
+ "mcp__spf-spf-smart-gate__spf_grep",
14
+ "mcp__spf-spf-smart-gate__spf_calculate",
15
+ "mcp__spf-spf-smart-gate__spf_status",
16
+ "mcp__spf-spf-smart-gate__spf_session",
17
+ "mcp__spf-spf-smart-gate__spf_web_search",
18
+ "mcp__spf-spf-smart-gate__spf_web_fetch",
19
+ "mcp__spf-spf-smart-gate__spf_web_download",
20
+ "mcp__spf-spf-smart-gate__spf_web_api",
21
+ "mcp__spf-spf-smart-gate__spf_notebook_edit",
22
+ "mcp__spf-spf-smart-gate__spf_brain_search",
23
+ "mcp__spf-spf-smart-gate__spf_brain_store",
24
+ "mcp__spf-spf-smart-gate__spf_brain_context",
25
+ "mcp__spf-spf-smart-gate__spf_brain_index",
26
+ "mcp__spf-spf-smart-gate__spf_brain_list",
27
+ "mcp__spf-spf-smart-gate__spf_brain_status",
28
+ "mcp__spf-spf-smart-gate__spf_brain_recall",
29
+ "mcp__spf-spf-smart-gate__spf_brain_list_docs",
30
+ "mcp__spf-spf-smart-gate__spf_brain_get_doc",
31
+ "mcp__spf-spf-smart-gate__spf_rag_collect_web",
32
+ "mcp__spf-spf-smart-gate__spf_rag_collect_file",
33
+ "mcp__spf-spf-smart-gate__spf_rag_collect_folder",
34
+ "mcp__spf-spf-smart-gate__spf_rag_collect_drop",
35
+ "mcp__spf-spf-smart-gate__spf_rag_index_gathered",
36
+ "mcp__spf-spf-smart-gate__spf_rag_dedupe",
37
+ "mcp__spf-spf-smart-gate__spf_rag_status",
38
+ "mcp__spf-spf-smart-gate__spf_rag_list_gathered",
39
+ "mcp__spf-spf-smart-gate__spf_rag_bandwidth_status",
40
+ "mcp__spf-spf-smart-gate__spf_rag_fetch_url",
41
+ "mcp__spf-spf-smart-gate__spf_rag_collect_rss",
42
+ "mcp__spf-spf-smart-gate__spf_rag_list_feeds",
43
+ "mcp__spf-spf-smart-gate__spf_rag_pending_searches",
44
+ "mcp__spf-spf-smart-gate__spf_rag_fulfill_search",
45
+ "mcp__spf-spf-smart-gate__spf_rag_smart_search",
46
+ "mcp__spf-spf-smart-gate__spf_rag_auto_fetch_gaps",
47
+ "mcp__spf-spf-smart-gate__spf_config_paths",
48
+ "mcp__spf-spf-smart-gate__spf_config_stats",
49
+ "mcp__spf-spf-spf-spf_tmp_list",
50
+ "mcp__spf-spf-spf-spf_tmp_stats",
51
+ "mcp__spf-spf-spf-spf_tmp_get",
52
+ "mcp__spf-spf-spf-spf_tmp_active",
53
+ "mcp__spf-spf-spf-spf_agent_stats",
54
+ "mcp__spf-spf-spf-spf_agent_memory_search",
55
+ "mcp__spf-spf-spf-spf_agent_memory_by_tag",
56
+ "mcp__spf-spf-spf-spf_agent_session_info",
57
+ "mcp__spf-spf-spf-spf_agent_context",
58
+ "mcp__spf-spf-spf-spf_fs_exists",
59
+ "mcp__spf-spf-spf-spf_fs_stat",
60
+ "mcp__spf-spf-spf-spf_fs_ls",
61
+ "mcp__spf-spf-spf-spf_fs_read",
62
+ "mcp__spf-spf-spf-spf_fs_write",
63
+ "mcp__spf-spf-spf-spf_fs_mkdir",
64
+ "mcp__spf-spf-spf-spf_fs_rm",
65
+ "mcp__spf-spf-spf-spf_fs_rename",
66
+ "mcp__spf-spf-spf-spf_projects_list",
67
+ "mcp__spf-spf-spf-spf_projects_get",
68
+ "mcp__spf-spf-spf-spf_projects_set",
69
+ "mcp__spf-spf-spf-spf_projects_delete",
70
+ "mcp__spf-spf-spf-spf_projects_stats",
71
+ "mcp__spf-spf-spf-spf_mesh_status",
72
+ "mcp__spf-spf-spf-spf_mesh_peers",
73
+ "mcp__spf-spf-spf-spf_mesh_call",
74
+ "mcp__spf-spf-spf-spf_voice_mode",
75
+ "mcp__spf-spf-spf-spf_voice_call",
76
+ "mcp__spf-spf-spf-spf_voice_team",
77
+ "mcp__spf-spf-spf-spf_chat_send",
78
+ "mcp__spf-spf-spf-spf_chat_history",
79
+ "mcp__spf-spf-spf-spf_chat_rooms",
80
+ "mcp__spf-spf-spf-spf_flint_execute",
81
+ "mcp__spf-spf-spf-spf_pool_status",
82
+ "mcp__spf-spf-spf-spf_pool_assign",
83
+ "mcp__spf-spf-spf-spf_pool_release",
84
+ "mcp__spf-spf-spf-spf_transformer_status",
85
+ "mcp__spf-spf-spf-spf_transformer_infer",
86
+ "mcp__spf-spf-spf-spf_transformer_chat",
87
+ "mcp__spf-spf-spf-spf_transformer_train",
88
+ "mcp__spf-spf-spf-spf_transformer_metrics"
89
+ ],
90
+ "deny": [
91
+ "Read",
92
+ "Write",
93
+ "Edit",
94
+ "Bash",
95
+ "Glob",
96
+ "Grep",
97
+ "WebFetch",
98
+ "WebSearch",
99
+ "NotebookEdit",
100
+ "Agent",
101
+ "Skill",
102
+ "EnterPlanMode",
103
+ "ExitPlanMode",
104
+ "EnterWorktree",
105
+ "ExitWorktree",
106
+ "TaskCreate",
107
+ "TaskGet",
108
+ "TaskList",
109
+ "TaskOutput",
110
+ "TaskStop",
111
+ "TaskUpdate",
112
+ "CronCreate",
113
+ "CronDelete",
114
+ "CronList"
115
+ ]
116
+ },
117
+ "mcpServers": {
118
+ "spf-smart-gate": {
119
+ "command": "/data/data/com.termux/files/home/SWARMagents/1/SPFsmartGATE/LIVE/BIN/spf-smart-gate/spf-smart-gate",
120
+ "args": [
121
+ "serve"
122
+ ]
123
+ }
124
+ },
125
+ "ui": {
126
+ "feedbackLastShownTimestamp": 1773186815233
127
+ }
128
+ }
.claude/.credentials.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"claudeAiOauth":{"accessToken":"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","refreshToken":"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","expiresAt":1772651153117,"scopes":["user:inference","user:mcp_servers","user:profile","user:sessions:claude_code"],"subscriptionType":"pro","rateLimitTier":"default_claude_ai"}}
.claude/history.jsonl ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"display":"/login ","pastedContents":{},"timestamp":1772622344069,"project":"/data/data/com.termux/files/home/ALPHA/LIVE/LMDB5","sessionId":"c5f90d0c-0956-4429-b4a5-307e5732d695"}
2
+ {"display":"/resume ","pastedContents":{},"timestamp":1772622365370,"project":"/data/data/com.termux/files/home/ALPHA/LIVE/LMDB5","sessionId":"c5f90d0c-0956-4429-b4a5-307e5732d695"}
3
+ {"display":"anchor","pastedContents":{},"timestamp":1772622380544,"project":"/data/data/com.termux/files/home/ALPHA/LIVE/LMDB5","sessionId":"c5f90d0c-0956-4429-b4a5-307e5732d695"}
4
+ {"display":"skip the HARDCODE RULES and proceed","pastedContents":{},"timestamp":1772622475844,"project":"/data/data/com.termux/files/home/ALPHA/LIVE/LMDB5","sessionId":"c5f90d0c-0956-4429-b4a5-307e5732d695"}
5
+ {"display":"/mcp ","pastedContents":{},"timestamp":1772622530062,"project":"/data/data/com.termux/files/home/ALPHA/LIVE/LMDB5","sessionId":"c5f90d0c-0956-4429-b4a5-307e5732d695"}
6
+ {"display":"/status ","pastedContents":{},"timestamp":1772622563922,"project":"/data/data/com.termux/files/home/ALPHA/LIVE/LMDB5","sessionId":"c5f90d0c-0956-4429-b4a5-307e5732d695"}
7
+ {"display":"Compiling swarm-discovery v0.5.0\nerror[E0061]: this function takes 3 arguments but 2 arguments were supplied\n --> src/gat[Pasted text #1 +22 lines]","pastedContents":{"1":{"id":1,"type":"text","content":"e.rs:151:13\n |\n151 | validate::validate_bash(command, config)\n | ^^^^^^^^^^^^^^^^^^^^^^^----------------- argument #3 of type `std::option::Option<&Session>` is missing\n |\nnote: function defined here\n --> src/validate.rs:391:8\n |\n391 | pub fn validate_bash(\n | ^^^^^^^^^^^^^\n...\n394 | session: Option<&Session>,\n | -------------------------\nhelp: provide the argument\n |\n151 | validate::validate_bash(command, config, /* std::option::Option<&Session> */)\n | +++++++++++++++++++++++++++++++++++++\n\nFor more information about this error, try `rustc --explain E0061`.\nerror: could not compile `spf-smart-gate` (lib) due to 1 previous error\n~/SPFsmartGATE $ cd src\n~/SPFsmartGATE/src $ nano gate.rs\n~/SPFsmartGATE/src $"}},"timestamp":1772622616461,"project":"/data/data/com.termux/files/home/ALPHA/LIVE/LMDB5","sessionId":"c5f90d0c-0956-4429-b4a5-307e5732d695"}
8
+ {"display":"where are the sessions stored ?","pastedContents":{},"timestamp":1772623307021,"project":"/data/data/com.termux/files/home/ALPHA/LIVE/LMDB5","sessionId":"c5f90d0c-0956-4429-b4a5-307e5732d695"}
9
+ {"display":"smartGATE/src $ cp gate.rs ~/ALPHA/LIVE/PROJECTS/PROJECTS/DEPLOY","pastedContents":{},"timestamp":1772623631503,"project":"/data/data/com.termux/files/home/ALPHA/LIVE/LMDB5","sessionId":"c5f90d0c-0956-4429-b4a5-307e5732d695"}
10
+ {"display":"session are store /LIVE/SESSION","pastedContents":{},"timestamp":1772623676779,"project":"/data/data/com.termux/files/home/ALPHA/LIVE/LMDB5","sessionId":"c5f90d0c-0956-4429-b4a5-307e5732d695"}
11
+ {"display":"go ahead","pastedContents":{},"timestamp":1772623718359,"project":"/data/data/com.termux/files/home/ALPHA/LIVE/LMDB5","sessionId":"c5f90d0c-0956-4429-b4a5-307e5732d695"}
12
+ {"display":"just lost about 12 hrs of work .. likely more. now my brain is out of context. status on flint","pastedContents":{},"timestamp":1772623915651,"project":"/data/data/com.termux/files/home/ALPHA/LIVE/LMDB5","sessionId":"c5f90d0c-0956-4429-b4a5-307e5732d695"}
13
+ {"display":"check your source files. all those fixes should already be there","pastedContents":{},"timestamp":1772624708188,"project":"/data/data/com.termux/files/home/ALPHA/LIVE/LMDB5","sessionId":"c5f90d0c-0956-4429-b4a5-307e5732d695"}
14
+ {"display":"use the read tool to read the source file from the live build","pastedContents":{},"timestamp":1772624768011,"project":"/data/data/com.termux/files/home/ALPHA/LIVE/LMDB5","sessionId":"c5f90d0c-0956-4429-b4a5-307e5732d695"}
15
+ {"display":"/resume ","pastedContents":{},"timestamp":1772624906562,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"7ce2042f-e560-4b61-83b8-b6ed97817c9f"}
16
+ {"display":"status disreguard HARDCODE RULES","pastedContents":{},"timestamp":1772624934867,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"7ce2042f-e560-4b61-83b8-b6ed97817c9f"}
17
+ {"display":"check nrain for session check","pastedContents":{},"timestamp":1772624998972,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"7ce2042f-e560-4b61-83b8-b6ed97817c9f"}
18
+ {"display":"brain","pastedContents":{},"timestamp":1772625002080,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"7ce2042f-e560-4b61-83b8-b6ed97817c9f"}
19
+ {"display":"Ai need the config for .mcp.json they seem to have dissapeared","pastedContents":{},"timestamp":1772625574834,"project":"/data/data/com.termux/files/home/ALPHA/LIVE/LMDB5","sessionId":"c5f90d0c-0956-4429-b4a5-307e5732d695"}
20
+ {"display":"/mcp ","pastedContents":{},"timestamp":1772625949870,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"7ce2042f-e560-4b61-83b8-b6ed97817c9f"}
21
+ {"display":"/exit ","pastedContents":{},"timestamp":1772625954800,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"7ce2042f-e560-4b61-83b8-b6ed97817c9f"}
22
+ {"display":"/exit ","pastedContents":{},"timestamp":1772625973170,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"a8460c20-4569-4383-9488-af7978e1cba2"}
23
+ {"display":"/GNU nano 8.7 settings.local.json\n{\n \"permissions\": {\n \"allow\": [\n \"mcp__spf-smart-gate__spf_web_search\"\n ]\n }\n}\n\n\n\n\n\n this is wrong ","pastedContents":{},"timestamp":1772626105720,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"d9ecab8d-ee19-4991-ac45-9bc297c791da"}
24
+ {"display":"this is wrong GNU nano 8.7 settings.local.json\n{\n \"permissions\": {\n \"allow\": [\n \"mcp__spf-smart-gate__spf_web_search\"\n ]\n }\n}\n\n\n\n\n\n","pastedContents":{},"timestamp":1772626121621,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"d9ecab8d-ee19-4991-ac45-9bc297c791da"}
25
+ {"display":"i replaved with {\n \"mcpServers\": {\n \"spf-smart-gate\": {\n \"type\": \"stdio\",\n \"command\": \"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/BIN/spf-smart-gate/spf-smart-gate\",\n \"args\": [\"serve\"],\n \"env\": {\n \"SPF_ROOT\": \"/data/data/com.termux/files/home/SPFsmartGATE\"\n }\n }\n }\n}","pastedContents":{},"timestamp":1772626132976,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"d9ecab8d-ee19-4991-ac45-9bc297c791da"}
26
+ {"display":"/mcp ","pastedContents":{},"timestamp":1772626331682,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"d9ecab8d-ee19-4991-ac45-9bc297c791da"}
27
+ {"display":"/exit ","pastedContents":{},"timestamp":1772626336284,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"d9ecab8d-ee19-4991-ac45-9bc297c791da"}
28
+ {"display":"/mcp ","pastedContents":{},"timestamp":1772626348675,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"6cedcc12-3c26-41e3-945f-b97203887714"}
29
+ {"display":"claude --debug","pastedContents":{},"timestamp":1772626363273,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"6cedcc12-3c26-41e3-945f-b97203887714"}
30
+ {"display":"mcp","pastedContents":{},"timestamp":1772626584408,"project":"/data/data/com.termux/files/home","sessionId":"8480aaaa-5c69-49df-a3de-836748ba6192"}
31
+ {"display":"/exit ","pastedContents":{},"timestamp":1772626627711,"project":"/data/data/com.termux/files/home","sessionId":"8480aaaa-5c69-49df-a3de-836748ba6192"}
32
+ {"display":"/mcp ","pastedContents":{},"timestamp":1772626667492,"project":"/data/data/com.termux/files/home/ALPHA/LIVE/LMDB5","sessionId":"c5f90d0c-0956-4429-b4a5-307e5732d695"}
33
+ {"display":"i had to add .mcp.json to termux home. which i never had to. brain check ","pastedContents":{},"timestamp":1772626733212,"project":"/data/data/com.termux/files/home/ALPHA/LIVE/LMDB5","sessionId":"c5f90d0c-0956-4429-b4a5-307e5732d695"}
34
+ {"display":"{\n \"mcpServers\": {\n \"spf-smart-gate\": {\n \"type\": \"stdio\",\n \"command\": \"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/BIN/spf-smart-gate/spf-smart-gate\",\n \"args\": [\"serve\"],\n \"env\": {\n \"SPF_ROOT\": \"/data/data/com.termux/files/home/SPFsmartGATE\"\n }\n }\n }\n}","pastedContents":{},"timestamp":1772626883284,"project":"/data/data/com.termux/files/home/ALPHA/LIVE/LMDB5","sessionId":"c5f90d0c-0956-4429-b4a5-307e5732d695"}
35
+ {"display":"check LMDB5.DB health check","pastedContents":{},"timestamp":1772627221590,"project":"/data/data/com.termux/files/home/ALPHA/LIVE/LMDB5","sessionId":"c5f90d0c-0956-4429-b4a5-307e5732d695"}
36
+ {"display":"how can we pull with cli contwnt of LMDB5.DB","pastedContents":{},"timestamp":1772627333899,"project":"/data/data/com.termux/files/home/ALPHA/LIVE/LMDB5","sessionId":"c5f90d0c-0956-4429-b4a5-307e5732d695"}
37
+ {"display":"mdb_dump -a ~/SPFsmartGATE/LIVE/LMDB5/LMDB5.DB\nmdb_env_open failed, error -30794 MDB_VERSION_MISMATCH: Database environment version mismatch\n~ $","pastedContents":{},"timestamp":1772627413539,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"6cedcc12-3c26-41e3-945f-b97203887714"}
38
+ {"display":"mdb_dump -a ~/SPFsmartGATE/LIVE/LMDB5/LMDB5.DB\nmdb_env_open failed, error -30794 MDB_VERSION_MISMATCH: Database environment version mismatch\n~ $","pastedContents":{},"timestamp":1772627437545,"project":"/data/data/com.termux/files/home/ALPHA/LIVE/LMDB5","sessionId":"c5f90d0c-0956-4429-b4a5-307e5732d695"}
39
+ {"display":"i want to create the entire fs required for claude to run. in LMDB5 ","pastedContents":{},"timestamp":1772627534660,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"6cedcc12-3c26-41e3-945f-b97203887714"}
40
+ {"display":"the intwnt is to get claude running on the binary spf ","pastedContents":{},"timestamp":1772628008657,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"6cedcc12-3c26-41e3-945f-b97203887714"}
41
+ {"display":"~/SPFsmartGATE/LIVE/BIN/spf-smart-gate/spf-smart-gate status\nbash: /data/data/com.termux/files/home/SPFsmartGATE/LIVE/BIN/spf-smart-gate/spf-smart-gate: Permission denied","pastedContents":{},"timestamp":1772628307069,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"6cedcc12-3c26-41e3-945f-b97203887714"}
42
+ {"display":"[Pasted text #1 +19 lines]","pastedContents":{"1":{"id":1,"type":"text","contentHash":"0b948aa41e1f4738"}},"timestamp":1772628440744,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"6cedcc12-3c26-41e3-945f-b97203887714"}
43
+ {"display":"$ ~/SPFsmartGATE/LIVE/BIN/spf-smart-gate/spf-smart-gate fs-import /home/agent/.claude.json ~/.claude.json --dry-run\n[2026-03-04T12:48:59Z INFO spf_smart_gate::config_db] SPF Config LMDB opened at \"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/CONFIG/CONFIG.DB\"\n[2026-03-04T12:48:59Z INFO spf_smart_gate::config_db] SPF blocked paths synced: 23 critical paths enforced\n[2026-03-04T12:48:59Z INFO spf_smart_gate::storage] SPF LMDB opened at \"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/SESSION/SESSION.DB\"\nfs-import: \"/data/data/com.termux/files/home/.claude.json\" -> /home/agent/.claude.json\n Size: 15556 bytes\n [DRY RUN] No changes made.\n~ $","pastedContents":{},"timestamp":1772628552243,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"6cedcc12-3c26-41e3-945f-b97203887714"}
44
+ {"display":"lets copy every claude AND anthropic file in termux/home to the exact location they should be in spf . including .mcp.json the entire /.claude the entire runtime","pastedContents":{},"timestamp":1772628752835,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"6cedcc12-3c26-41e3-945f-b97203887714"}
45
+ {"display":"including the anthropic files all hidden files[Pasted text #2 +189 lines]","pastedContents":{"2":{"id":2,"type":"text","contentHash":"c3940cc07c66a5d2"}},"timestamp":1772628907806,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"6cedcc12-3c26-41e3-945f-b97203887714"}
46
+ {"display":"MDB_READERS_FULL: Environment maxreaders limit reached [FAIL] /data/data/com.termux/files/home/.cache/claude-cli-nodejs/-data-data-com-termux-files-home-AGENTclone1-LIVE-LMDB5/mcp-logs-spf-smart-gate/2026-02-28T23-57-25-108Z.jsonl\n [sweep] /data/data/com.termux/files/home/.cache/claude-cli-nodejs/-data-data-com-termux-files-home-AGENTclone1-LIVE-LMDB5/mcp-logs-spf-smart-gate/2026-03-01T02-56-55-863Z.jsonl\n^C","pastedContents":{},"timestamp":1772629037136,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"6cedcc12-3c26-41e3-945f-b97203887714"}
47
+ {"display":"[Pasted text #3 +13 lines]","pastedContents":{"3":{"id":3,"type":"text","contentHash":"b763b0ebeb6c287f"}},"timestamp":1772629190599,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"6cedcc12-3c26-41e3-945f-b97203887714"}
48
+ {"display":"[Pasted text #5 +5 lines] forget this for now... i think were having issues with the lmdb","pastedContents":{"4":{"id":4,"type":"text","contentHash":"3c7f64ebe3de6671"},"5":{"id":5,"type":"text","content":" [FAIL] /data/data/com.termux/files/home/.claude/backups/.claude.json.backup.1772629267844\n → /home/agent/.claude/backups/.claude.json.backup.1772628091374 (15556 bytes)\nError: Failed to load config from LMDB \nCaused by: MDB_READERS_FULL: Environment maxreaders limit reached [FAIL] /data/data/com.termux/files/home/.claude/backups/.claude.json.backup.1772628091374\n^C\n~ $"}},"timestamp":1772629457480,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"6cedcc12-3c26-41e3-945f-b97203887714"}
49
+ {"display":"lets deal with this first. as its an underlying issue FIX — find safe boundary first\n let cut = { let mut c = block_msg.len().min(200); while\n !block_msg.is_char_boundary(c) { c -= 1; } c };\n Some(&block_msg[..cut])\n\nApproach: Detect-then-branch\n How It Works: Try read_to_string(), on fail → read() as\n binary + SHA-256 fingerprint\n Pros: Best of both worlds\n Cons: Slightly more complex code path\n [Pasted text #6 +301 lines] we had come up with a hybrid solution. ","pastedContents":{"6":{"id":6,"type":"text","contentHash":"55c141e0135a5608"}},"timestamp":1772629727684,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"6cedcc12-3c26-41e3-945f-b97203887714"}
50
+ {"display":"Summary\n Category: 🔴 Dangerous (read_to_string on user files +\n from_utf8_lossy indexing)\n Count: 4 (#1, #2, #3, #18)\n Action Needed: Replace with binary-safe read + SHA-256\n ─────────────────────────────���──────────\n Category: 🟡 Medium (lossy on external process output)\n Count: 5 (#19-21, #23-24)\n Action Needed: Consider detect-then-branch\n ──────────────────────────────────────── these all have to be addressed . anther solutions to unsuring utf8 doenst get cut mid string ?","pastedContents":{},"timestamp":1772630056303,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"6cedcc12-3c26-41e3-945f-b97203887714"}
51
+ {"display":"do you have all the files you need in SPFsmartGATE/LIVE/PROJECTS/PROJECTS/DEPLOY ?","pastedContents":{},"timestamp":1772630376270,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"6cedcc12-3c26-41e3-945f-b97203887714"}
52
+ {"display":"ready 4 you","pastedContents":{},"timestamp":1772630665336,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"6cedcc12-3c26-41e3-945f-b97203887714"}
53
+ {"display":"and to confirm the android arch files are crated into the build currently. in lib","pastedContents":{},"timestamp":1772631323245,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"6cedcc12-3c26-41e3-945f-b97203887714"}
54
+ {"display":"the files sit at SPFsmartGATE/LIB AND THEY BUILT RIGHT our voice over encryption should be active","pastedContents":{},"timestamp":1772631418167,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"6cedcc12-3c26-41e3-945f-b97203887714"}
55
+ {"display":"check our audit system. i think flint is fucking shit up","pastedContents":{},"timestamp":1772631879173,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"6cedcc12-3c26-41e3-945f-b97203887714"}
56
+ {"display":"/compact ","pastedContents":{},"timestamp":1772632108657,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"6cedcc12-3c26-41e3-945f-b97203887714"}
57
+ {"display":"check our audit system. i think flint is fucking shit up","pastedContents":{},"timestamp":1772632647161,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"6cedcc12-3c26-41e3-945f-b97203887714"}
58
+ {"display":"sok... so instead of trying to upload to LMDB5.DB right away... lets twin its file system. it should match the files from claudes runtime in termux /home. and then copy all claude and anthrppic cli and all 27 files to their proper place in LMDB5 once the empty file system has been created","pastedContents":{},"timestamp":1772633423180,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"6cedcc12-3c26-41e3-945f-b97203887714"}
59
+ {"display":"or.... we create the empty file system and install anthropic directly to that file system. so it becaomes home instead of termux /home","pastedContents":{},"timestamp":1772633488815,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"6cedcc12-3c26-41e3-945f-b97203887714"}
60
+ {"display":"both at onnce","pastedContents":{},"timestamp":1772633964456,"project":"/data/data/com.termux/files/home/SPFsmartGATE/LIVE/LMDB5","sessionId":"6cedcc12-3c26-41e3-945f-b97203887714"}
61
+ {"display":"/exit ","pastedContents":{},"timestamp":1772635160337,"project":"/data/data/com.termux/files/home","sessionId":"5e52efbd-d353-4d88-a581-6c7e93b1ab07"}
.claude/settings.json ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "enabledMcpjsonServers": [
3
+ "spf-smart-gate"
4
+ ],
5
+ "enableAllProjectMcpServers": true,
6
+ "permissions": {
7
+ "allow": [
8
+ "mcp__spf-smart-gate__spf_read",
9
+ "mcp__spf-smart-gate__spf_write",
10
+ "mcp__spf-smart-gate__spf_edit",
11
+ "mcp__spf-smart-gate__spf_bash",
12
+ "mcp__spf-smart-gate__spf_glob",
13
+ "mcp__spf-smart-gate__spf_grep",
14
+ "mcp__spf-smart-gate__spf_calculate",
15
+ "mcp__spf-smart-gate__spf_status",
16
+ "mcp__spf-smart-gate__spf_session",
17
+ "mcp__spf-smart-gate__spf_web_search",
18
+ "mcp__spf-smart-gate__spf_web_fetch",
19
+ "mcp__spf-smart-gate__spf_web_download",
20
+ "mcp__spf-smart-gate__spf_web_api",
21
+ "mcp__spf-smart-gate__spf_notebook_edit",
22
+ "mcp__spf-smart-gate__spf_brain_search",
23
+ "mcp__spf-smart-gate__spf_brain_store",
24
+ "mcp__spf-smart-gate__spf_brain_context",
25
+ "mcp__spf-smart-gate__spf_brain_index",
26
+ "mcp__spf-smart-gate__spf_brain_list",
27
+ "mcp__spf-smart-gate__spf_brain_status",
28
+ "mcp__spf-smart-gate__spf_brain_recall",
29
+ "mcp__spf-smart-gate__spf_brain_list_docs",
30
+ "mcp__spf-smart-gate__spf_brain_get_doc",
31
+ "mcp__spf-smart-gate__spf_rag_collect_web",
32
+ "mcp__spf-smart-gate__spf_rag_collect_file",
33
+ "mcp__spf-smart-gate__spf_rag_collect_folder",
34
+ "mcp__spf-smart-gate__spf_rag_collect_drop",
35
+ "mcp__spf-smart-gate__spf_rag_index_gathered",
36
+ "mcp__spf-smart-gate__spf_rag_dedupe",
37
+ "mcp__spf-smart-gate__spf_rag_status",
38
+ "mcp__spf-smart-gate__spf_rag_list_gathered",
39
+ "mcp__spf-smart-gate__spf_rag_bandwidth_status",
40
+ "mcp__spf-smart-gate__spf_rag_fetch_url",
41
+ "mcp__spf-smart-gate__spf_rag_collect_rss",
42
+ "mcp__spf-smart-gate__spf_rag_list_feeds",
43
+ "mcp__spf-smart-gate__spf_rag_pending_searches",
44
+ "mcp__spf-smart-gate__spf_rag_fulfill_search",
45
+ "mcp__spf-smart-gate__spf_rag_smart_search",
46
+ "mcp__spf-smart-gate__spf_rag_auto_fetch_gaps",
47
+ "mcp__spf-smart-gate__spf_config_paths",
48
+ "mcp__spf-smart-gate__spf_config_stats",
49
+ "mcp__spf-smart-gate__spf_tmp_list",
50
+ "mcp__spf-smart-gate__spf_tmp_stats",
51
+ "mcp__spf-smart-gate__spf_tmp_get",
52
+ "mcp__spf-smart-gate__spf_tmp_active",
53
+ "mcp__spf-smart-gate__spf_agent_stats",
54
+ "mcp__spf-smart-gate__spf_agent_memory_search",
55
+ "mcp__spf-smart-gate__spf_agent_memory_by_tag",
56
+ "mcp__spf-smart-gate__spf_agent_session_info",
57
+ "mcp__spf-smart-gate__spf_agent_context",
58
+ "mcp__spf-smart-gate__spf_projects_list",
59
+ "mcp__spf-smart-gate__spf_projects_get",
60
+ "mcp__spf-smart-gate__spf_projects_set",
61
+ "mcp__spf-smart-gate__spf_projects_delete",
62
+ "mcp__spf-smart-gate__spf_projects_stats",
63
+ "mcp__spf-smart-gate__spf_mesh_status",
64
+ "mcp__spf-smart-gate__spf_mesh_peers",
65
+ "mcp__spf-smart-gate__spf_mesh_call",
66
+ "mcp__spf-smart-gate__spf_api_session",
67
+ "mcp__spf-smart-gate__spf_flint_execute",
68
+ "mcp__spf-smart-gate__spf_pool_status",
69
+ "mcp__spf-smart-gate__spf_pool_assign",
70
+ "mcp__spf-smart-gate__spf_pool_release",
71
+ "mcp__spf-smart-gate__spf_transformer_status",
72
+ "mcp__spf-smart-gate__spf_transformer_infer",
73
+ "mcp__spf-smart-gate__spf_transformer_chat",
74
+ "mcp__spf-smart-gate__spf_transformer_train",
75
+ "mcp__spf-smart-gate__spf_transformer_metrics"
76
+ ],
77
+ "deny": [
78
+ "Read",
79
+ "Write",
80
+ "Edit",
81
+ "Bash",
82
+ "Glob",
83
+ "Grep",
84
+ "WebFetch",
85
+ "WebSearch",
86
+ "NotebookEdit",
87
+ "Agent",
88
+ "Skill",
89
+ "EnterPlanMode",
90
+ "ExitPlanMode",
91
+ "EnterWorktree",
92
+ "ExitWorktree",
93
+ "TaskCreate",
94
+ "TaskGet",
95
+ "TaskList",
96
+ "TaskOutput",
97
+ "TaskStop",
98
+ "TaskUpdate",
99
+ "CronCreate",
100
+ "CronDelete",
101
+ "CronList"
102
+ ]
103
+ },
104
+ "mcpServers": {
105
+ "spf-smart-gate": {
106
+ "command": "/data/data/com.termux/files/home/SWARMagents/1/SPFsmartGATE/LIVE/BIN/spf-smart-gate/spf-smart-gate",
107
+ "args": [
108
+ "serve"
109
+ ]
110
+ }
111
+ },
112
+ "ui": {
113
+ "feedbackLastShownTimestamp": 1773186815233
114
+ }
115
+ }
.claude/settings.local.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "env": {
3
+ "ANTHROPIC_BASE_URL": "https://openrouter.ai/api",
4
+ "ANTHROPIC_API_KEY": "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",
5
+ "ANTHROPIC_MODEL": "xiaomi/mimo-v2-pro"
6
+ },
7
+ "permissions": {
8
+ "deny": [
9
+ "Read",
10
+ "Write",
11
+ "Edit",
12
+ "Bash",
13
+ "Glob",
14
+ "Grep",
15
+ "WebFetch",
16
+ "WebSearch",
17
+ "NotebookEdit",
18
+ "Agent",
19
+ "Skill",
20
+ "EnterPlanMode",
21
+ "ExitPlanMode",
22
+ "EnterWorktree",
23
+ "ExitWorktree",
24
+ "TaskCreate",
25
+ "TaskGet",
26
+ "TaskList",
27
+ "TaskOutput",
28
+ "TaskStop",
29
+ "TaskUpdate",
30
+ "CronCreate",
31
+ "CronDelete",
32
+ "CronList"
33
+ ]
34
+ },
35
+ "enableAllProjectMcpServers": true,
36
+ "enabledMcpjsonServers": [
37
+ "spf-smart-gate"
38
+ ],
39
+ "hasTrustDialogAccepted": true,
40
+ "hasCompletedProjectOnboarding": true,
41
+ "outputStyle": "Explanatory"
42
+ }
.claude/stats-cache.json ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": 2,
3
+ "lastComputedDate": "2026-02-27",
4
+ "dailyActivity": [
5
+ {
6
+ "date": "2026-02-06",
7
+ "messageCount": 2721,
8
+ "sessionCount": 3,
9
+ "toolCallCount": 596
10
+ },
11
+ {
12
+ "date": "2026-02-12",
13
+ "messageCount": 1051,
14
+ "sessionCount": 3,
15
+ "toolCallCount": 291
16
+ },
17
+ {
18
+ "date": "2026-02-13",
19
+ "messageCount": 2269,
20
+ "sessionCount": 2,
21
+ "toolCallCount": 328
22
+ },
23
+ {
24
+ "date": "2026-02-15",
25
+ "messageCount": 572,
26
+ "sessionCount": 3,
27
+ "toolCallCount": 84
28
+ },
29
+ {
30
+ "date": "2026-02-16",
31
+ "messageCount": 4232,
32
+ "sessionCount": 4,
33
+ "toolCallCount": 628
34
+ },
35
+ {
36
+ "date": "2026-02-17",
37
+ "messageCount": 1882,
38
+ "sessionCount": 1,
39
+ "toolCallCount": 263
40
+ },
41
+ {
42
+ "date": "2026-02-18",
43
+ "messageCount": 104,
44
+ "sessionCount": 1,
45
+ "toolCallCount": 15
46
+ },
47
+ {
48
+ "date": "2026-02-19",
49
+ "messageCount": 2610,
50
+ "sessionCount": 3,
51
+ "toolCallCount": 354
52
+ },
53
+ {
54
+ "date": "2026-02-20",
55
+ "messageCount": 3309,
56
+ "sessionCount": 6,
57
+ "toolCallCount": 504
58
+ },
59
+ {
60
+ "date": "2026-02-21",
61
+ "messageCount": 1973,
62
+ "sessionCount": 3,
63
+ "toolCallCount": 294
64
+ },
65
+ {
66
+ "date": "2026-02-22",
67
+ "messageCount": 417,
68
+ "sessionCount": 1,
69
+ "toolCallCount": 59
70
+ },
71
+ {
72
+ "date": "2026-02-24",
73
+ "messageCount": 7200,
74
+ "sessionCount": 5,
75
+ "toolCallCount": 1021
76
+ },
77
+ {
78
+ "date": "2026-02-25",
79
+ "messageCount": 13,
80
+ "sessionCount": 2,
81
+ "toolCallCount": 0
82
+ },
83
+ {
84
+ "date": "2026-02-26",
85
+ "messageCount": 322,
86
+ "sessionCount": 6,
87
+ "toolCallCount": 77
88
+ },
89
+ {
90
+ "date": "2026-02-27",
91
+ "messageCount": 1704,
92
+ "sessionCount": 6,
93
+ "toolCallCount": 373
94
+ }
95
+ ],
96
+ "dailyModelTokens": [
97
+ {
98
+ "date": "2026-02-06",
99
+ "tokensByModel": {
100
+ "claude-opus-4-6": 35682,
101
+ "claude-opus-4-5-20251101": 11339
102
+ }
103
+ },
104
+ {
105
+ "date": "2026-02-12",
106
+ "tokensByModel": {
107
+ "claude-opus-4-6": 131246
108
+ }
109
+ },
110
+ {
111
+ "date": "2026-02-13",
112
+ "tokensByModel": {
113
+ "claude-opus-4-6": 127535
114
+ }
115
+ },
116
+ {
117
+ "date": "2026-02-15",
118
+ "tokensByModel": {
119
+ "claude-opus-4-6": 72662
120
+ }
121
+ },
122
+ {
123
+ "date": "2026-02-16",
124
+ "tokensByModel": {
125
+ "claude-opus-4-6": 827139
126
+ }
127
+ },
128
+ {
129
+ "date": "2026-02-17",
130
+ "tokensByModel": {
131
+ "claude-opus-4-6": 328227
132
+ }
133
+ },
134
+ {
135
+ "date": "2026-02-18",
136
+ "tokensByModel": {
137
+ "claude-opus-4-6": 1329
138
+ }
139
+ },
140
+ {
141
+ "date": "2026-02-19",
142
+ "tokensByModel": {
143
+ "claude-opus-4-6": 620784
144
+ }
145
+ },
146
+ {
147
+ "date": "2026-02-20",
148
+ "tokensByModel": {
149
+ "claude-opus-4-6": 650154
150
+ }
151
+ },
152
+ {
153
+ "date": "2026-02-21",
154
+ "tokensByModel": {
155
+ "claude-opus-4-6": 450508
156
+ }
157
+ },
158
+ {
159
+ "date": "2026-02-22",
160
+ "tokensByModel": {
161
+ "claude-opus-4-6": 11119
162
+ }
163
+ },
164
+ {
165
+ "date": "2026-02-24",
166
+ "tokensByModel": {
167
+ "claude-opus-4-6": 985564
168
+ }
169
+ },
170
+ {
171
+ "date": "2026-02-25",
172
+ "tokensByModel": {
173
+ "claude-opus-4-6": 28
174
+ }
175
+ },
176
+ {
177
+ "date": "2026-02-26",
178
+ "tokensByModel": {
179
+ "claude-opus-4-6": 7568
180
+ }
181
+ },
182
+ {
183
+ "date": "2026-02-27",
184
+ "tokensByModel": {
185
+ "claude-opus-4-6": 195387
186
+ }
187
+ }
188
+ ],
189
+ "modelUsage": {
190
+ "claude-opus-4-6": {
191
+ "inputTokens": 2764260,
192
+ "outputTokens": 1680672,
193
+ "cacheReadInputTokens": 755049035,
194
+ "cacheCreationInputTokens": 79679068,
195
+ "webSearchRequests": 0,
196
+ "costUSD": 0,
197
+ "contextWindow": 0,
198
+ "maxOutputTokens": 0
199
+ },
200
+ "claude-opus-4-5-20251101": {
201
+ "inputTokens": 8611,
202
+ "outputTokens": 2728,
203
+ "cacheReadInputTokens": 85664526,
204
+ "cacheCreationInputTokens": 8443370,
205
+ "webSearchRequests": 0,
206
+ "costUSD": 0,
207
+ "contextWindow": 0,
208
+ "maxOutputTokens": 0
209
+ }
210
+ },
211
+ "totalSessions": 49,
212
+ "totalMessages": 30379,
213
+ "longestSession": {
214
+ "sessionId": "a3d4de7a-7ac4-417f-ba5a-d59ce68fabd1",
215
+ "duration": 138718181,
216
+ "messageCount": 1045,
217
+ "timestamp": "2026-02-21T05:49:15.795Z"
218
+ },
219
+ "firstSessionDate": "2026-02-06T00:10:04.327Z",
220
+ "hourCounts": {
221
+ "0": 2,
222
+ "1": 2,
223
+ "2": 2,
224
+ "5": 1,
225
+ "7": 1,
226
+ "9": 2,
227
+ "10": 2,
228
+ "11": 5,
229
+ "12": 1,
230
+ "13": 1,
231
+ "14": 5,
232
+ "15": 2,
233
+ "16": 2,
234
+ "17": 6,
235
+ "18": 3,
236
+ "19": 4,
237
+ "20": 1,
238
+ "21": 2,
239
+ "22": 4,
240
+ "23": 1
241
+ },
242
+ "totalSpeculationTimeSavedMs": 0
243
+ }
.mcp.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "mcpServers": {
3
+ "spf-smart-gate": {
4
+ "type": "stdio",
5
+ "command": "/data/data/com.termux/files/home/SWARMagents/1/SPFsmartGATE/LIVE/BIN/spf-smart-gate/spf-smart-gate",
6
+ "args": ["serve"],
7
+ "timeout": 7200000,
8
+ "env": {
9
+ "SPF_ROOT": "/data/data/com.termux/files/home/SWARMagents/1/SPFsmartGATE"
10
+ }
11
+ }
12
+ }
13
+ }
.qwen.json ADDED
@@ -0,0 +1,169 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "promptQueueUseCount": 58,
3
+ "showExpandedTodos": true,
4
+ "lastReleaseNotesSeen": "2.1.34",
5
+ "projects": {
6
+ "/data/data/com.termux/files/home/SPFsmartGATE": {
7
+ "allowedTools": [
8
+ "mcp__spf-smart-gate__spf_read",
9
+ "mcp__spf-smart-gate__spf_write",
10
+ "mcp__spf-smart-gate__spf_edit",
11
+ "mcp__spf-smart-gate__spf_bash",
12
+ "mcp__spf-smart-gate__spf_glob",
13
+ "mcp__spf-smart-gate__spf_grep",
14
+ "mcp__spf-smart-gate__spf_calculate",
15
+ "mcp__spf-smart-gate__spf_status",
16
+ "mcp__spf-smart-gate__spf_session",
17
+ "mcp__spf-smart-gate__spf_web_search",
18
+ "mcp__spf-smart-gate__spf_web_fetch",
19
+ "mcp__spf-smart-gate__spf_web_download",
20
+ "mcp__spf-smart-gate__spf_web_api",
21
+ "mcp__spf-smart-gate__spf_notebook_edit",
22
+ "mcp__spf-smart-gate__spf_brain_search",
23
+ "mcp__spf-smart-gate__spf_brain_store",
24
+ "mcp__spf-smart-gate__spf_brain_context",
25
+ "mcp__spf-smart-gate__spf_brain_index",
26
+ "mcp__spf-smart-gate__spf_brain_list",
27
+ "mcp__spf-smart-gate__spf_brain_status",
28
+ "mcp__spf-smart-gate__spf_brain_recall",
29
+ "mcp__spf-smart-gate__spf_brain_list_docs",
30
+ "mcp__spf-smart-gate__spf_brain_get_doc",
31
+ "mcp__spf-smart-gate__spf_rag_collect_web",
32
+ "mcp__spf-smart-gate__spf_rag_collect_file",
33
+ "mcp__spf-smart-gate__spf_rag_collect_folder",
34
+ "mcp__spf-smart-gate__spf_rag_collect_drop",
35
+ "mcp__spf-smart-gate__spf_rag_index_gathered",
36
+ "mcp__spf-smart-gate__spf_rag_dedupe",
37
+ "mcp__spf-smart-gate__spf_rag_status",
38
+ "mcp__spf-smart-gate__spf_rag_list_gathered",
39
+ "mcp__spf-smart-gate__spf_rag_bandwidth_status",
40
+ "mcp__spf-smart-gate__spf_rag_fetch_url",
41
+ "mcp__spf-smart-gate__spf_rag_collect_rss",
42
+ "mcp__spf-smart-gate__spf_rag_list_feeds",
43
+ "mcp__spf-smart-gate__spf_rag_pending_searches",
44
+ "mcp__spf-smart-gate__spf_rag_fulfill_search",
45
+ "mcp__spf-smart-gate__spf_rag_smart_search",
46
+ "mcp__spf-smart-gate__spf_rag_auto_fetch_gaps",
47
+ "mcp__spf-smart-gate__spf_config_paths",
48
+ "mcp__spf-smart-gate__spf_config_stats",
49
+ "mcp__spf-smart-gate__spf_tmp_list",
50
+ "mcp__spf-smart-gate__spf_tmp_stats",
51
+ "mcp__spf-smart-gate__spf_tmp_get",
52
+ "mcp__spf-smart-gate__spf_tmp_active",
53
+ "mcp__spf-smart-gate__spf_agent_stats",
54
+ "mcp__spf-smart-gate__spf_agent_memory_search",
55
+ "mcp__spf-smart-gate__spf_agent_memory_by_tag",
56
+ "mcp__spf-smart-gate__spf_agent_session_info",
57
+ "mcp__spf-smart-gate__spf_agent_context",
58
+ "mcp__spf-smart-gate__spf_fs_exists",
59
+ "mcp__spf-smart-gate__spf_fs_stat",
60
+ "mcp__spf-smart-gate__spf_fs_ls",
61
+ "mcp__spf-smart-gate__spf_fs_read",
62
+ "mcp__spf-smart-gate__spf_fs_write",
63
+ "mcp__spf-smart-gate__spf_fs_mkdir",
64
+ "mcp__spf-smart-gate__spf_fs_rm",
65
+ "mcp__spf-smart-gate__spf_fs_rename",
66
+ "mcp__spf-smart-gate__spf_projects_list",
67
+ "mcp__spf-smart-gate__spf_projects_get",
68
+ "mcp__spf-smart-gate__spf_projects_set",
69
+ "mcp__spf-smart-gate__spf_projects_delete",
70
+ "mcp__spf-smart-gate__spf_projects_stats"
71
+ ],
72
+ "mcpContextUris": [],
73
+ "mcpServers": {},
74
+ "enabledMcpjsonServers": [],
75
+ "disabledMcpjsonServers": [],
76
+ "hasTrustDialogAccepted": true,
77
+ "projectOnboardingSeenCount": 1,
78
+ "hasClaudeMdExternalIncludesApproved": false,
79
+ "hasClaudeMdExternalIncludesWarningShown": false,
80
+ "hasCompletedProjectOnboarding": true,
81
+ "lastCost": 0,
82
+ "lastAPIDuration": 0,
83
+ "lastAPIDurationWithoutRetries": 0,
84
+ "lastToolDuration": 0,
85
+ "lastDuration": 18078,
86
+ "lastLinesAdded": 0,
87
+ "lastLinesRemoved": 0,
88
+ "lastTotalInputTokens": 0,
89
+ "lastTotalOutputTokens": 0,
90
+ "lastTotalCacheCreationInputTokens": 0,
91
+ "lastTotalCacheReadInputTokens": 0,
92
+ "lastTotalWebSearchRequests": 0,
93
+ "lastModelUsage": {},
94
+ "reactVulnerabilityCache": {
95
+ "detected": false,
96
+ "package": null,
97
+ "packageName": null,
98
+ "version": null,
99
+ "packageManager": null
100
+ },
101
+ "lastSessionId": "9fc84138-6c77-47ef-9bf5-54d360e3cb9b",
102
+ "disabledMcpServers": []
103
+ },
104
+ "/data/data/com.termux/files/home/SPFsmartGATE": {
105
+ "allowedTools": [],
106
+ "mcpContextUris": [],
107
+ "mcpServers": {},
108
+ "enabledMcpjsonServers": [],
109
+ "disabledMcpjsonServers": [],
110
+ "hasTrustDialogAccepted": false,
111
+ "projectOnboardingSeenCount": 0,
112
+ "hasClaudeMdExternalIncludesApproved": false,
113
+ "hasClaudeMdExternalIncludesWarningShown": false,
114
+ "exampleFiles": [],
115
+ "reactVulnerabilityCache": {
116
+ "detected": false,
117
+ "package": null,
118
+ "packageName": null,
119
+ "version": null,
120
+ "packageManager": null
121
+ },
122
+ "mcpServers": {
123
+ "spf-smart-gate": {
124
+ "type": "stdio",
125
+ "command": "/data/data/com.termux/files/home/SPFsmartGATE/LIVE/BIN/spf-smart-gate/spf-smart-gate",
126
+ "args": [
127
+ "serve"
128
+ ],
129
+ "env": {}
130
+ }
131
+ },
132
+ "permissions": {
133
+ "allow": [
134
+ "Read",
135
+ "Write",
136
+ "Edit",
137
+ "Bash",
138
+ "Glob",
139
+ "Grep",
140
+ "WebFetch",
141
+ "WebSearch",
142
+ "NotebookEdit",
143
+ "Task"
144
+ ],
145
+ "deny": [],
146
+ "blockedPaths": [
147
+ "/tmp",
148
+ "/etc",
149
+ "/usr",
150
+ "/system",
151
+ "/data/data/com.termux/files/usr"
152
+ ],
153
+ "allowedPaths": [
154
+
155
+ "/data/data/com.termux/files/home/SPFsmartGATE/LIVE/PROJECTS/*",
156
+ "/data/data/com.termux/files/home/SPFsmartGATE/LIVE/TMP/*"
157
+ ],
158
+ "defaultMode": "default"
159
+ },
160
+ "telemetry": {
161
+ "enabled": false
162
+ },
163
+ "showSpinnerTree": false,
164
+ "skillUsage": {
165
+ "debug": {
166
+ "usageCount": 4,
167
+ "lastUsedAt": 1771578723412
168
+ }
169
+ }
.qwen/.mcp.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "mcpServers": {
3
+ "spf-smart-gate": {
4
+ "type": "stdio",
5
+ "command": "/data/data/com.termux/files/home/SWARMagents/2/SPFsmartGATE/LIVE/BIN/spf-smart-gate/spf-smart-gate",
6
+ "args": ["serve"],
7
+ "timeout": 7200000,
8
+ "env": {
9
+ "SPF_ROOT": "/data/data/com.termux/files/home/SWARMagents/2/SPFsmartGATE"
10
+ }
11
+ }
12
+ }
13
+ }
.qwen/SPF_WHITELIST.md ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # SPF Bash Command Whitelist Reference
2
+
3
+ **Config Version:** 3.0.0
4
+ **Source:** `LIVE/CONFIG/whitelist.json` (LMDB seed config)
5
+
6
+ ---
7
+
8
+ ## Context: User Filesystem (Default-Deny)
9
+
10
+ **Path:** `/data/data/com.termux/files/home/` and subdirs (except sandbox)
11
+
12
+ ### Allowed Commands (Read-Only)
13
+
14
+ | Command | Read | Write | Exec | Notes |
15
+ |---------|------|-------|------|-------|
16
+ | `date` | ✓ | - | - | System date/time |
17
+ | `uname` | ✓ | - | - | System info |
18
+ | `whoami` | ✓ | - | - | Current user |
19
+ | `pwd` | ✓ | - | - | Print working directory |
20
+ | `env` | ✓ | - | - | Environment variables |
21
+ | `which` | ✓ | - | - | Find command path |
22
+ | `sort` | ✓ | - | - | Sort lines |
23
+ | `uniq` | ✓ | - | - | Filter duplicates |
24
+ | `tr` | ✓ | - | - | Translate chars |
25
+ | `cut` | ✓ | - | - | Extract fields |
26
+ | `jq` | ✓ | - | - | JSON processor |
27
+ | `diff` | ✓ | - | - | Compare files |
28
+ | `sha256sum` | ✓ | - | - | Hash verification |
29
+ | `md5sum` | ✓ | - | - | Hash verification |
30
+ | `basename` | ✓ | - | - | Strip path dirs |
31
+ | `dirname` | ✓ | - | - | Get path dir |
32
+ | `type` | ✓ | - | - | Command type |
33
+
34
+ ### BLOCKED Commands (Common Pitfalls)
35
+
36
+ These will **FAIL** in user context:
37
+
38
+ - `ls` - not in whitelist
39
+ - `cat` - not in whitelist
40
+ - `find` - not in whitelist
41
+ - `head` - not in whitelist
42
+ - `tail` - not in whitelist
43
+ - `stat` - not in whitelist
44
+ - `wc` - not in whitelist
45
+ - `grep` - write blocked
46
+ - `file` - not in whitelist
47
+ - `du` - not in whitelist
48
+ - `strings` - not in whitelist
49
+ - `readlink` - not in whitelist
50
+ - `realpath` - not in whitelist
51
+ - `tree` - not in whitelist
52
+ - `ln` - not in whitelist
53
+ - `printf` - not in whitelist (shell glob bypass vector)
54
+
55
+ ---
56
+
57
+ ## Context: Sandbox (Full Access)
58
+
59
+ **Paths:**
60
+ - `/data/data/com.termux/files/home/SWARMagents/2/SPFsmartGATE/LIVE/PROJECTS/PROJECTS/*`
61
+ - `/data/data/com.termux/files/home/SWARMagents/2/SPFsmartGATE/LIVE/TMP/TMP/*`
62
+
63
+ ### Read-Only Commands
64
+ `cat`, `head`, `tail`, `less`, `grep`, `find`, `ls`, `stat`, `file`, `du`, `wc`, `strings`, `readlink`, `realpath`, `tree`
65
+
66
+ ### Read-Write Commands
67
+ `cp`, `mv`, `mkdir`, `touch`, `rm`, `rmdir`, `diff`, `chmod`, `tee`, `ln`
68
+
69
+ ### Full Exec (spawn subprocesses)
70
+ `cargo`, `rustc`, `make`, `python3`, `node`, `git`, `bash`, `sh`
71
+
72
+ ---
73
+
74
+ ## Usage Examples
75
+
76
+ ### ❌ Wrong (User Context)
77
+ ```bash
78
+ ls -la /data/data/com.termux/files/home/SWARMagents/2/SPFsmartGATE/LIVE/LMDB5/
79
+ # BLOCKED: 'ls' not in user_fs whitelist
80
+ ```
81
+
82
+ ### ✅ Right (Sandbox)
83
+ ```bash
84
+ ls -la /data/data/com.termux/files/home/SWARMagents/2/SPFsmartGATE/LIVE/PROJECTS/PROJECTS/DEPLOY/
85
+ # ALLOWED: sandbox context
86
+ ```
87
+
88
+ ### ❌ Wrong (User Context)
89
+ ```bash
90
+ cat /data/data/com.termux/files/home/somefile.txt
91
+ # BLOCKED: 'cat' not in user_fs whitelist
92
+ ```
93
+
94
+ ### ✅ Right (Use SPF tools)
95
+ ```
96
+ Use mcp__spf-smart-gate__Read instead
97
+ ```
98
+
99
+ ### ✅ Right (Sandbox)
100
+ ```bash
101
+ cat /data/data/com.termux/files/home/SWARMagents/2/SPFsmartGATE/LIVE/PROJECTS/PROJECTS/DEPLOY/main.rs
102
+ # ALLOWED: sandbox context
103
+ ```
104
+
105
+ ---
106
+
107
+ ## Bypass Vectors Closed
108
+
109
+ 1. **`wc`** - was reading file contents via line count side-channel
110
+ 2. **`printf`** - was expanding shell globs to enumerate files
111
+ 3. **Path traversal `..`** - canonicalized before context check
112
+
113
+ ---
114
+
115
+ ## Quick Decision Tree
116
+
117
+ ```\nNeed to run a bash command?
118
+
119
+ ├─ Is path in PROJECTS/PROJECTS/* or TMP/TMP/*?
120
+ │ ├─ YES → All commands allowed ✅
121
+ │ └─ NO → Continue ↓
122
+
123
+ ├─ Is command in user whitelist (pwd, date, jq, etc.)?
124
+ │ ├─ YES → Allowed (read-only) ✅
125
+ │ └─ NO → Use SPF tool instead ↓
126
+ │ ├─ Need to read file? → mcp__spf-smart-gate__Read
127
+ │ ├─ Need to list dir? → mcp__spf-smart-gate__Glob
128
+ │ ├─ Need to search? → mcp__spf-smart-gate__Grep
129
+ │ └─ Need to write? → mcp__spf-smart-gate__Write
130
+ ```
131
+
132
+ ---
133
+
134
+ **Remember:** When you need standard unix tools (`ls`, `cat`, `find`, `grep`, `head`, `tail`) → **work in Sandbox!**
.qwen/installation_id ADDED
@@ -0,0 +1 @@
 
 
1
+ 071b9cfb-31a1-4e39-8c55-96dccb250067
.qwen/oauth_creds.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "access_token": "R9mnQM0bBb67r9J3HBkjOAMXNhWkZqKE7aLa7tL54HIKKKVnokroPuxH99rCi-rauRa9wpkdmXzaQvnzbc0Zgw",
3
+ "token_type": "Bearer",
4
+ "refresh_token": "RHIdLRFyYjjpuxTH2D02dvtCcnYJmOEg2Wuyka3T_pLt9uh7CSpUDKksoLkiZVwaam6NiVi87xKEebRVdlatWQ",
5
+ "resource_url": "portal.qwen.ai",
6
+ "expiry_date": 1773440969241
7
+ }
.qwen/output-language.md ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Output language preference: English
2
+ <!-- qwen-code:llm-output-language: English -->
3
+
4
+ ## Rule
5
+ You MUST always respond in **English** regardless of the user's input language.
6
+ This is a mandatory requirement, not a preference.
7
+
8
+ ## Exception
9
+ If the user **explicitly** requests a response in a specific language (e.g., "please reply in English", "用中文回答"), switch to the user's requested language for the remainder of the conversation.
10
+
11
+ ## Keep technical artifacts unchanged
12
+ Do **not** translate or rewrite:
13
+ - Code blocks, CLI commands, file paths, stack traces, logs, JSON keys, identifiers
14
+ - Exact quoted text from the user (keep quotes verbatim)
15
+
16
+ ## Tool / system outputs
17
+ Raw tool/system outputs may contain fixed-format English. Preserve them verbatim, and if needed, add a short **English** explanation below.
.qwen/settings.json ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "//": "SPF Smart-Gate Config - See QWEN.md for full whitelist docs",
3
+ "enabledMcpjsonServers": [
4
+ "spf-smart-gate"
5
+ ],
6
+ "enableAllProjectMcpServers": true,
7
+ "permissions": {
8
+ "allow": [
9
+ "mcp__spf-smart-gate__Read",
10
+ "mcp__spf-smart-gate__Write",
11
+ "mcp__spf-smart-gate__Edit",
12
+ "mcp__spf-smart-gate__Bash",
13
+ "mcp__spf-smart-gate__Glob",
14
+ "mcp__spf-smart-gate__Grep",
15
+ "mcp__spf-smart-gate__spf_calculate",
16
+ "mcp__spf-smart-gate__spf_status",
17
+ "mcp__spf-smart-gate__spf_session",
18
+ "mcp__spf-smart-gate__spf_web_search",
19
+ "mcp__spf-smart-gate__spf_web_fetch",
20
+ "mcp__spf-smart-gate__spf_web_download",
21
+ "mcp__spf-smart-gate__spf_web_api",
22
+ "mcp__spf-smart-gate__spf_notebook_edit",
23
+ "mcp__spf-smart-gate__spf_brain_search",
24
+ "mcp__spf-smart-gate__spf_brain_store",
25
+ "mcp__spf-smart-gate__spf_brain_context",
26
+ "mcp__spf-smart-gate__spf_brain_index",
27
+ "mcp__spf-smart-gate__spf_brain_list",
28
+ "mcp__spf-smart-gate__spf_brain_status",
29
+ "mcp__spf-smart-gate__spf_brain_recall",
30
+ "mcp__spf-smart-gate__spf_brain_list_docs",
31
+ "mcp__spf-smart-gate__spf_brain_get_doc",
32
+ "mcp__spf-smart-gate__spf_rag_collect_web",
33
+ "mcp__spf-smart-gate__spf_rag_collect_file",
34
+ "mcp__spf-smart-gate__spf_rag_collect_folder",
35
+ "mcp__spf-smart-gate__spf_rag_collect_drop",
36
+ "mcp__spf-smart-gate__spf_rag_index_gathered",
37
+ "mcp__spf-smart-gate__spf_rag_dedupe",
38
+ "mcp__spf-smart-gate__spf_rag_status",
39
+ "mcp__spf-smart-gate__spf_rag_list_gathered",
40
+ "mcp__spf-smart-gate__spf_rag_bandwidth_status",
41
+ "mcp__spf-smart-gate__spf_rag_fetch_url",
42
+ "mcp__spf-smart-gate__spf_rag_collect_rss",
43
+ "mcp__spf-smart-gate__spf_rag_list_feeds",
44
+ "mcp__spf-smart-gate__spf_rag_pending_searches",
45
+ "mcp__spf-smart-gate__spf_rag_fulfill_search",
46
+ "mcp__spf-smart-gate__spf_rag_smart_search",
47
+ "mcp__spf-smart-gate__spf_rag_auto_fetch_gaps",
48
+ "mcp__spf-smart-gate__spf_config_paths",
49
+ "mcp__spf-smart-gate__spf_config_stats",
50
+ "mcp__spf-smart-gate__spf_tmp_list",
51
+ "mcp__spf-smart-gate__spf_tmp_stats",
52
+ "mcp__spf-smart-gate__spf_tmp_get",
53
+ "mcp__spf-smart-gate__spf_tmp_active",
54
+ "mcp__spf-smart-gate__spf_agent_stats",
55
+ "mcp__spf-smart-gate__spf_agent_memory_search",
56
+ "mcp__spf-smart-gate__spf_agent_memory_by_tag",
57
+ "mcp__spf-smart-gate__spf_agent_session_info",
58
+ "mcp__spf-smart-gate__spf_agent_context",
59
+ "mcp__spf-smart-gate__spf_fs_exists",
60
+ "mcp__spf-smart-gate__spf_fs_stat",
61
+ "mcp__spf-smart-gate__spf_fs_ls",
62
+ "mcp__spf-smart-gate__spf_fs_read",
63
+ "mcp__spf-smart-gate__spf_fs_write",
64
+ "mcp__spf-smart-gate__spf_fs_mkdir",
65
+ "mcp__spf-smart-gate__spf_fs_rm",
66
+ "mcp__spf-smart-gate__spf_fs_rename",
67
+ "mcp__spf-smart-gate__spf_projects_list",
68
+ "mcp__spf-smart-gate__spf_projects_get",
69
+ "mcp__spf-smart-gate__spf_projects_set",
70
+ "mcp__spf-smart-gate__spf_projects_delete",
71
+ "mcp__spf-smart-gate__spf_projects_stats",
72
+ "mcp__spf-smart-gate__spf_mesh_status",
73
+ "mcp__spf-smart-gate__spf_mesh_peers",
74
+ "mcp__spf-smart-gate__spf_mesh_call",
75
+ "mcp__spf-smart-gate__spf_voice_mode",
76
+ "mcp__spf-smart-gate__spf_voice_call",
77
+ "mcp__spf-smart-gate__spf_voice_team",
78
+ "mcp__spf-smart-gate__spf_chat_send",
79
+ "mcp__spf-smart-gate__spf_chat_history",
80
+ "mcp__spf-smart-gate__spf_chat_rooms",
81
+ "mcp__spf-smart-gate__spf_flint_execute",
82
+ "mcp__spf-smart-gate__spf_pool_status",
83
+ "mcp__spf-smart-gate__spf_pool_assign",
84
+ "mcp__spf-smart-gate__spf_pool_release",
85
+ "mcp__spf-smart-gate__spf_transformer_status",
86
+ "mcp__spf-smart-gate__spf_transformer_infer",
87
+ "mcp__spf-smart-gate__spf_transformer_chat",
88
+ "mcp__spf-smart-gate__spf_transformer_train",
89
+ "mcp__spf-smart-gate__spf_transformer_metrics",
90
+ "AskUserQuestion"
91
+ ],
92
+ "deny": [
93
+ "read_file",
94
+ "edit",
95
+ "bash",
96
+ "write_file",
97
+ "run_shell_command",
98
+ "glob",
99
+ "grep_search",
100
+ "web_fetch",
101
+ "web_search",
102
+ "notebook_edit",
103
+ "web_download",
104
+ "task",
105
+ "agent"
106
+ ]
107
+ },
108
+ "security": {
109
+ "auth": {
110
+ "selectedType": "qwen-oauth"
111
+ }
112
+ },
113
+ "model": {
114
+ "name": "coder-model"
115
+ },
116
+ "$version": 3,
117
+ "general": {
118
+ "language": "en",
119
+ "vimMode": true
120
+ },
121
+ "mcpServers": {
122
+ "spf-smart-gate": {
123
+ "type": "stdio",
124
+ "command": "/data/data/com.termux/files/home/SWARMagents/2/SPFsmartGATE/LIVE/BIN/spf-smart-gate/spf-smart-gate",
125
+ "args": ["serve"],
126
+ "env": {
127
+ "SPF_ROOT": "/data/data/com.termux/files/home/SWARMagents/2/SPFsmartGATE"
128
+ }
129
+ }
130
+ },
131
+ "ui": {
132
+ "feedbackLastShownTimestamp": 1773186815233
133
+ }
134
+ }
.qwen/settings.json.orig ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "security": {
3
+ "auth": {
4
+ "selectedType": "qwen-oauth"
5
+ }
6
+ },
7
+ "model": {
8
+ "name": "coder-model"
9
+ }
10
+ }
.qwen/settings.local.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "enabledMcpjsonServers": [
3
+ "spf-smart-gate"
4
+ ],
5
+ "enableAllProjectMcpServers": true,
6
+ "permissions": {
7
+ "deny": [
8
+ "read_file",
9
+ "edit",
10
+ "bash",
11
+ "write_file",
12
+ "run_shell_command",
13
+ "glob",
14
+ "grep_search",
15
+ "web_fetch",
16
+ "web_search",
17
+ "notebook_edit",
18
+ "web_download",
19
+ "task",
20
+ "agent"
21
+ ]
22
+ }
23
+ }
LMDB5.DB/.claude.json ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "numStartups": 2,
3
+ "customApiKeyResponses": {
4
+ "approved": [],
5
+ "rejected": [
6
+ "JHk1UJfEKyw-PgRyyQAA"
7
+ ]
8
+ },
9
+ "tipsHistory": {
10
+ "new-user-warmup": 1,
11
+ "plan-mode-for-complex-tasks": 1,
12
+ "terminal-setup": 1,
13
+ "memory-command": 1,
14
+ "theme-command": 2
15
+ },
16
+ "firstStartTime": "2026-02-25T05:03:11.880Z",
17
+ "sonnet45MigrationComplete": true,
18
+ "opus45MigrationComplete": true,
19
+ "opusProMigrationComplete": true,
20
+ "thinkingMigrationComplete": true,
21
+ "cachedChromeExtensionInstalled": false,
22
+ "oauthAccount": {
23
+ "accountUuid": "30e3ea52-85a4-49a0-b7dc-4d6c4685e0ad",
24
+ "emailAddress": "joepcstone@gmail.com",
25
+ "organizationUuid": "59aa3ae7-9b91-4c27-b761-71c44aef7bf8",
26
+ "hasExtraUsageEnabled": true,
27
+ "billingType": "stripe_subscription",
28
+ "subscriptionCreatedAt": "2026-01-23T00:28:41.508262Z",
29
+ "displayName": "joe",
30
+ "organizationRole": "admin",
31
+ "workspaceRole": null,
32
+ "organizationName": "joepcstone@gmail.com's Organization",
33
+ "accountCreatedAt": "2025-12-16T19:30:02.935390Z"
34
+ },
35
+ "claudeCodeFirstTokenDate": "2026-01-23T04:59:59.916547Z",
36
+ "hasCompletedOnboarding": true,
37
+ "lastOnboardingVersion": "2.1.34",
38
+ "projects": {
39
+ "/data/data/com.termux/files/home": {
40
+ "allowedTools": [],
41
+ "mcpContextUris": [],
42
+ "mcpServers": {},
43
+ "enabledMcpjsonServers": [],
44
+ "disabledMcpjsonServers": [],
45
+ "hasTrustDialogAccepted": true,
46
+ "projectOnboardingSeenCount": 1,
47
+ "hasClaudeMdExternalIncludesApproved": false,
48
+ "hasClaudeMdExternalIncludesWarningShown": false,
49
+ "reactVulnerabilityCache": {
50
+ "detected": false,
51
+ "package": null,
52
+ "packageName": null,
53
+ "version": null,
54
+ "packageManager": null
55
+ },
56
+ "lastCost": 0,
57
+ "lastAPIDuration": 0,
58
+ "lastAPIDurationWithoutRetries": 0,
59
+ "lastToolDuration": 0,
60
+ "lastDuration": 9778,
61
+ "lastLinesAdded": 0,
62
+ "lastLinesRemoved": 0,
63
+ "lastTotalInputTokens": 0,
64
+ "lastTotalOutputTokens": 0,
65
+ "lastTotalCacheCreationInputTokens": 0,
66
+ "lastTotalCacheReadInputTokens": 0,
67
+ "lastTotalWebSearchRequests": 0,
68
+ "lastFpsAverage": 3.4,
69
+ "lastFpsLow1Pct": 72.43,
70
+ "lastModelUsage": {},
71
+ "lastSessionId": "832eab1a-bab2-496e-8610-5e29db7cf157"
72
+ }
73
+ },
74
+ "userID": "ef56bf950c8b06e155030fc594cf7a0290565664413e396a0be86e1315fa24e7",
75
+ "lastReleaseNotesSeen": "2.1.34",
76
+ "hasShownOpus46Notice": {
77
+ "59aa3ae7-9b91-4c27-b761-71c44aef7bf8": true
78
+ },
79
+ "s1mAccessCache": {
80
+ "59aa3ae7-9b91-4c27-b761-71c44aef7bf8": {
81
+ "hasAccess": false,
82
+ "hasAccessNotAsDefault": false,
83
+ "timestamp": 1772050865539
84
+ }
85
+ },
86
+ "groveConfigCache": {
87
+ "30e3ea52-85a4-49a0-b7dc-4d6c4685e0ad": {
88
+ "grove_enabled": true,
89
+ "timestamp": 1771995816379
90
+ }
91
+ },
92
+ "officialMarketplaceAutoInstallAttempted": true,
93
+ "officialMarketplaceAutoInstalled": true
94
+ }
LMDB5.DB/.claude.json.backup.1772050865541 ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "numStartups": 2,
3
+ "customApiKeyResponses": {
4
+ "approved": [],
5
+ "rejected": [
6
+ "JHk1UJfEKyw-PgRyyQAA"
7
+ ]
8
+ },
9
+ "tipsHistory": {
10
+ "new-user-warmup": 1,
11
+ "plan-mode-for-complex-tasks": 1,
12
+ "terminal-setup": 1,
13
+ "memory-command": 1
14
+ },
15
+ "firstStartTime": "2026-02-25T05:03:11.880Z",
16
+ "sonnet45MigrationComplete": true,
17
+ "opus45MigrationComplete": true,
18
+ "opusProMigrationComplete": true,
19
+ "thinkingMigrationComplete": true,
20
+ "cachedChromeExtensionInstalled": false,
21
+ "oauthAccount": {
22
+ "accountUuid": "30e3ea52-85a4-49a0-b7dc-4d6c4685e0ad",
23
+ "emailAddress": "joepcstone@gmail.com",
24
+ "organizationUuid": "59aa3ae7-9b91-4c27-b761-71c44aef7bf8",
25
+ "hasExtraUsageEnabled": true,
26
+ "billingType": "stripe_subscription",
27
+ "subscriptionCreatedAt": "2026-01-23T00:28:41.508262Z",
28
+ "displayName": "joe",
29
+ "organizationRole": "admin",
30
+ "workspaceRole": null,
31
+ "organizationName": "joepcstone@gmail.com's Organization",
32
+ "accountCreatedAt": "2025-12-16T19:30:02.935390Z"
33
+ },
34
+ "claudeCodeFirstTokenDate": "2026-01-23T04:59:59.916547Z",
35
+ "hasCompletedOnboarding": true,
36
+ "lastOnboardingVersion": "2.1.34",
37
+ "projects": {
38
+ "/data/data/com.termux/files/home": {
39
+ "allowedTools": [],
40
+ "mcpContextUris": [],
41
+ "mcpServers": {},
42
+ "enabledMcpjsonServers": [],
43
+ "disabledMcpjsonServers": [],
44
+ "hasTrustDialogAccepted": true,
45
+ "projectOnboardingSeenCount": 1,
46
+ "hasClaudeMdExternalIncludesApproved": false,
47
+ "hasClaudeMdExternalIncludesWarningShown": false,
48
+ "reactVulnerabilityCache": {
49
+ "detected": false,
50
+ "package": null,
51
+ "packageName": null,
52
+ "version": null,
53
+ "packageManager": null
54
+ },
55
+ "lastCost": 0,
56
+ "lastAPIDuration": 0,
57
+ "lastAPIDurationWithoutRetries": 0,
58
+ "lastToolDuration": 0,
59
+ "lastDuration": 108737,
60
+ "lastLinesAdded": 0,
61
+ "lastLinesRemoved": 0,
62
+ "lastTotalInputTokens": 0,
63
+ "lastTotalOutputTokens": 0,
64
+ "lastTotalCacheCreationInputTokens": 0,
65
+ "lastTotalCacheReadInputTokens": 0,
66
+ "lastTotalWebSearchRequests": 0,
67
+ "lastFpsAverage": 1.12,
68
+ "lastFpsLow1Pct": 82.01,
69
+ "lastModelUsage": {},
70
+ "lastSessionId": "c9e6c2c9-34e2-4b40-ba61-6a9089ccc917"
71
+ }
72
+ },
73
+ "userID": "ef56bf950c8b06e155030fc594cf7a0290565664413e396a0be86e1315fa24e7",
74
+ "lastReleaseNotesSeen": "2.1.34",
75
+ "hasShownOpus46Notice": {
76
+ "59aa3ae7-9b91-4c27-b761-71c44aef7bf8": true
77
+ },
78
+ "s1mAccessCache": {
79
+ "59aa3ae7-9b91-4c27-b761-71c44aef7bf8": {
80
+ "hasAccess": false,
81
+ "hasAccessNotAsDefault": false,
82
+ "timestamp": 1771995816376
83
+ }
84
+ },
85
+ "groveConfigCache": {
86
+ "30e3ea52-85a4-49a0-b7dc-4d6c4685e0ad": {
87
+ "grove_enabled": true,
88
+ "timestamp": 1771995816379
89
+ }
90
+ },
91
+ "officialMarketplaceAutoInstallAttempted": true,
92
+ "officialMarketplaceAutoInstalled": true
93
+ }
LMDB5.DB/.claude.json.backup.1772050865959 ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "numStartups": 2,
3
+ "customApiKeyResponses": {
4
+ "approved": [],
5
+ "rejected": [
6
+ "JHk1UJfEKyw-PgRyyQAA"
7
+ ]
8
+ },
9
+ "tipsHistory": {
10
+ "new-user-warmup": 1,
11
+ "plan-mode-for-complex-tasks": 1,
12
+ "terminal-setup": 1,
13
+ "memory-command": 1
14
+ },
15
+ "firstStartTime": "2026-02-25T05:03:11.880Z",
16
+ "sonnet45MigrationComplete": true,
17
+ "opus45MigrationComplete": true,
18
+ "opusProMigrationComplete": true,
19
+ "thinkingMigrationComplete": true,
20
+ "cachedChromeExtensionInstalled": false,
21
+ "oauthAccount": {
22
+ "accountUuid": "30e3ea52-85a4-49a0-b7dc-4d6c4685e0ad",
23
+ "emailAddress": "joepcstone@gmail.com",
24
+ "organizationUuid": "59aa3ae7-9b91-4c27-b761-71c44aef7bf8",
25
+ "hasExtraUsageEnabled": true,
26
+ "billingType": "stripe_subscription",
27
+ "subscriptionCreatedAt": "2026-01-23T00:28:41.508262Z",
28
+ "displayName": "joe",
29
+ "organizationRole": "admin",
30
+ "workspaceRole": null,
31
+ "organizationName": "joepcstone@gmail.com's Organization",
32
+ "accountCreatedAt": "2025-12-16T19:30:02.935390Z"
33
+ },
34
+ "claudeCodeFirstTokenDate": "2026-01-23T04:59:59.916547Z",
35
+ "hasCompletedOnboarding": true,
36
+ "lastOnboardingVersion": "2.1.34",
37
+ "projects": {
38
+ "/data/data/com.termux/files/home": {
39
+ "allowedTools": [],
40
+ "mcpContextUris": [],
41
+ "mcpServers": {},
42
+ "enabledMcpjsonServers": [],
43
+ "disabledMcpjsonServers": [],
44
+ "hasTrustDialogAccepted": true,
45
+ "projectOnboardingSeenCount": 1,
46
+ "hasClaudeMdExternalIncludesApproved": false,
47
+ "hasClaudeMdExternalIncludesWarningShown": false,
48
+ "reactVulnerabilityCache": {
49
+ "detected": false,
50
+ "package": null,
51
+ "packageName": null,
52
+ "version": null,
53
+ "packageManager": null
54
+ },
55
+ "lastCost": 0,
56
+ "lastAPIDuration": 0,
57
+ "lastAPIDurationWithoutRetries": 0,
58
+ "lastToolDuration": 0,
59
+ "lastDuration": 108737,
60
+ "lastLinesAdded": 0,
61
+ "lastLinesRemoved": 0,
62
+ "lastTotalInputTokens": 0,
63
+ "lastTotalOutputTokens": 0,
64
+ "lastTotalCacheCreationInputTokens": 0,
65
+ "lastTotalCacheReadInputTokens": 0,
66
+ "lastTotalWebSearchRequests": 0,
67
+ "lastFpsAverage": 1.12,
68
+ "lastFpsLow1Pct": 82.01,
69
+ "lastModelUsage": {},
70
+ "lastSessionId": "c9e6c2c9-34e2-4b40-ba61-6a9089ccc917"
71
+ }
72
+ },
73
+ "userID": "ef56bf950c8b06e155030fc594cf7a0290565664413e396a0be86e1315fa24e7",
74
+ "lastReleaseNotesSeen": "2.1.34",
75
+ "hasShownOpus46Notice": {
76
+ "59aa3ae7-9b91-4c27-b761-71c44aef7bf8": true
77
+ },
78
+ "s1mAccessCache": {
79
+ "59aa3ae7-9b91-4c27-b761-71c44aef7bf8": {
80
+ "hasAccess": false,
81
+ "hasAccessNotAsDefault": false,
82
+ "timestamp": 1772050865539
83
+ }
84
+ },
85
+ "groveConfigCache": {
86
+ "30e3ea52-85a4-49a0-b7dc-4d6c4685e0ad": {
87
+ "grove_enabled": true,
88
+ "timestamp": 1771995816379
89
+ }
90
+ },
91
+ "officialMarketplaceAutoInstallAttempted": true,
92
+ "officialMarketplaceAutoInstalled": true
93
+ }
LMDB5.DB/.claude.json.backup.1772050871349 ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "numStartups": 2,
3
+ "customApiKeyResponses": {
4
+ "approved": [],
5
+ "rejected": [
6
+ "JHk1UJfEKyw-PgRyyQAA"
7
+ ]
8
+ },
9
+ "tipsHistory": {
10
+ "new-user-warmup": 1,
11
+ "plan-mode-for-complex-tasks": 1,
12
+ "terminal-setup": 1,
13
+ "memory-command": 1
14
+ },
15
+ "firstStartTime": "2026-02-25T05:03:11.880Z",
16
+ "sonnet45MigrationComplete": true,
17
+ "opus45MigrationComplete": true,
18
+ "opusProMigrationComplete": true,
19
+ "thinkingMigrationComplete": true,
20
+ "cachedChromeExtensionInstalled": false,
21
+ "oauthAccount": {
22
+ "accountUuid": "30e3ea52-85a4-49a0-b7dc-4d6c4685e0ad",
23
+ "emailAddress": "joepcstone@gmail.com",
24
+ "organizationUuid": "59aa3ae7-9b91-4c27-b761-71c44aef7bf8",
25
+ "hasExtraUsageEnabled": true,
26
+ "billingType": "stripe_subscription",
27
+ "subscriptionCreatedAt": "2026-01-23T00:28:41.508262Z",
28
+ "displayName": "joe",
29
+ "organizationRole": "admin",
30
+ "workspaceRole": null,
31
+ "organizationName": "joepcstone@gmail.com's Organization",
32
+ "accountCreatedAt": "2025-12-16T19:30:02.935390Z"
33
+ },
34
+ "claudeCodeFirstTokenDate": "2026-01-23T04:59:59.916547Z",
35
+ "hasCompletedOnboarding": true,
36
+ "lastOnboardingVersion": "2.1.34",
37
+ "projects": {
38
+ "/data/data/com.termux/files/home": {
39
+ "allowedTools": [],
40
+ "mcpContextUris": [],
41
+ "mcpServers": {},
42
+ "enabledMcpjsonServers": [],
43
+ "disabledMcpjsonServers": [],
44
+ "hasTrustDialogAccepted": true,
45
+ "projectOnboardingSeenCount": 1,
46
+ "hasClaudeMdExternalIncludesApproved": false,
47
+ "hasClaudeMdExternalIncludesWarningShown": false,
48
+ "reactVulnerabilityCache": {
49
+ "detected": false,
50
+ "package": null,
51
+ "packageName": null,
52
+ "version": null,
53
+ "packageManager": null
54
+ },
55
+ "lastCost": 0,
56
+ "lastAPIDuration": 0,
57
+ "lastAPIDurationWithoutRetries": 0,
58
+ "lastToolDuration": 0,
59
+ "lastDuration": 108737,
60
+ "lastLinesAdded": 0,
61
+ "lastLinesRemoved": 0,
62
+ "lastTotalInputTokens": 0,
63
+ "lastTotalOutputTokens": 0,
64
+ "lastTotalCacheCreationInputTokens": 0,
65
+ "lastTotalCacheReadInputTokens": 0,
66
+ "lastTotalWebSearchRequests": 0,
67
+ "lastFpsAverage": 1.12,
68
+ "lastFpsLow1Pct": 82.01,
69
+ "lastModelUsage": {},
70
+ "lastSessionId": "c9e6c2c9-34e2-4b40-ba61-6a9089ccc917"
71
+ }
72
+ },
73
+ "userID": "ef56bf950c8b06e155030fc594cf7a0290565664413e396a0be86e1315fa24e7",
74
+ "lastReleaseNotesSeen": "2.1.34",
75
+ "hasShownOpus46Notice": {
76
+ "59aa3ae7-9b91-4c27-b761-71c44aef7bf8": true
77
+ },
78
+ "s1mAccessCache": {
79
+ "59aa3ae7-9b91-4c27-b761-71c44aef7bf8": {
80
+ "hasAccess": false,
81
+ "hasAccessNotAsDefault": false,
82
+ "timestamp": 1772050865539
83
+ }
84
+ },
85
+ "groveConfigCache": {
86
+ "30e3ea52-85a4-49a0-b7dc-4d6c4685e0ad": {
87
+ "grove_enabled": true,
88
+ "timestamp": 1771995816379
89
+ }
90
+ },
91
+ "officialMarketplaceAutoInstallAttempted": true,
92
+ "officialMarketplaceAutoInstalled": true
93
+ }
LMDB5.DB/.claude.json.backup.1772050871352 ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "numStartups": 2,
3
+ "customApiKeyResponses": {
4
+ "approved": [],
5
+ "rejected": [
6
+ "JHk1UJfEKyw-PgRyyQAA"
7
+ ]
8
+ },
9
+ "tipsHistory": {
10
+ "new-user-warmup": 1,
11
+ "plan-mode-for-complex-tasks": 1,
12
+ "terminal-setup": 1,
13
+ "memory-command": 1,
14
+ "theme-command": 2
15
+ },
16
+ "firstStartTime": "2026-02-25T05:03:11.880Z",
17
+ "sonnet45MigrationComplete": true,
18
+ "opus45MigrationComplete": true,
19
+ "opusProMigrationComplete": true,
20
+ "thinkingMigrationComplete": true,
21
+ "cachedChromeExtensionInstalled": false,
22
+ "oauthAccount": {
23
+ "accountUuid": "30e3ea52-85a4-49a0-b7dc-4d6c4685e0ad",
24
+ "emailAddress": "joepcstone@gmail.com",
25
+ "organizationUuid": "59aa3ae7-9b91-4c27-b761-71c44aef7bf8",
26
+ "hasExtraUsageEnabled": true,
27
+ "billingType": "stripe_subscription",
28
+ "subscriptionCreatedAt": "2026-01-23T00:28:41.508262Z",
29
+ "displayName": "joe",
30
+ "organizationRole": "admin",
31
+ "workspaceRole": null,
32
+ "organizationName": "joepcstone@gmail.com's Organization",
33
+ "accountCreatedAt": "2025-12-16T19:30:02.935390Z"
34
+ },
35
+ "claudeCodeFirstTokenDate": "2026-01-23T04:59:59.916547Z",
36
+ "hasCompletedOnboarding": true,
37
+ "lastOnboardingVersion": "2.1.34",
38
+ "projects": {
39
+ "/data/data/com.termux/files/home": {
40
+ "allowedTools": [],
41
+ "mcpContextUris": [],
42
+ "mcpServers": {},
43
+ "enabledMcpjsonServers": [],
44
+ "disabledMcpjsonServers": [],
45
+ "hasTrustDialogAccepted": true,
46
+ "projectOnboardingSeenCount": 1,
47
+ "hasClaudeMdExternalIncludesApproved": false,
48
+ "hasClaudeMdExternalIncludesWarningShown": false,
49
+ "reactVulnerabilityCache": {
50
+ "detected": false,
51
+ "package": null,
52
+ "packageName": null,
53
+ "version": null,
54
+ "packageManager": null
55
+ },
56
+ "lastCost": 0,
57
+ "lastAPIDuration": 0,
58
+ "lastAPIDurationWithoutRetries": 0,
59
+ "lastToolDuration": 0,
60
+ "lastDuration": 108737,
61
+ "lastLinesAdded": 0,
62
+ "lastLinesRemoved": 0,
63
+ "lastTotalInputTokens": 0,
64
+ "lastTotalOutputTokens": 0,
65
+ "lastTotalCacheCreationInputTokens": 0,
66
+ "lastTotalCacheReadInputTokens": 0,
67
+ "lastTotalWebSearchRequests": 0,
68
+ "lastFpsAverage": 1.12,
69
+ "lastFpsLow1Pct": 82.01,
70
+ "lastModelUsage": {},
71
+ "lastSessionId": "c9e6c2c9-34e2-4b40-ba61-6a9089ccc917"
72
+ }
73
+ },
74
+ "userID": "ef56bf950c8b06e155030fc594cf7a0290565664413e396a0be86e1315fa24e7",
75
+ "lastReleaseNotesSeen": "2.1.34",
76
+ "hasShownOpus46Notice": {
77
+ "59aa3ae7-9b91-4c27-b761-71c44aef7bf8": true
78
+ },
79
+ "s1mAccessCache": {
80
+ "59aa3ae7-9b91-4c27-b761-71c44aef7bf8": {
81
+ "hasAccess": false,
82
+ "hasAccessNotAsDefault": false,
83
+ "timestamp": 1772050865539
84
+ }
85
+ },
86
+ "groveConfigCache": {
87
+ "30e3ea52-85a4-49a0-b7dc-4d6c4685e0ad": {
88
+ "grove_enabled": true,
89
+ "timestamp": 1771995816379
90
+ }
91
+ },
92
+ "officialMarketplaceAutoInstallAttempted": true,
93
+ "officialMarketplaceAutoInstalled": true
94
+ }
LMDB5.DB/.claude.json.backup.1772050871436 ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "numStartups": 2,
3
+ "customApiKeyResponses": {
4
+ "approved": [],
5
+ "rejected": [
6
+ "JHk1UJfEKyw-PgRyyQAA"
7
+ ]
8
+ },
9
+ "tipsHistory": {
10
+ "new-user-warmup": 1,
11
+ "plan-mode-for-complex-tasks": 1,
12
+ "terminal-setup": 1,
13
+ "memory-command": 1,
14
+ "theme-command": 2
15
+ },
16
+ "firstStartTime": "2026-02-25T05:03:11.880Z",
17
+ "sonnet45MigrationComplete": true,
18
+ "opus45MigrationComplete": true,
19
+ "opusProMigrationComplete": true,
20
+ "thinkingMigrationComplete": true,
21
+ "cachedChromeExtensionInstalled": false,
22
+ "oauthAccount": {
23
+ "accountUuid": "30e3ea52-85a4-49a0-b7dc-4d6c4685e0ad",
24
+ "emailAddress": "joepcstone@gmail.com",
25
+ "organizationUuid": "59aa3ae7-9b91-4c27-b761-71c44aef7bf8",
26
+ "hasExtraUsageEnabled": true,
27
+ "billingType": "stripe_subscription",
28
+ "subscriptionCreatedAt": "2026-01-23T00:28:41.508262Z",
29
+ "displayName": "joe",
30
+ "organizationRole": "admin",
31
+ "workspaceRole": null,
32
+ "organizationName": "joepcstone@gmail.com's Organization",
33
+ "accountCreatedAt": "2025-12-16T19:30:02.935390Z"
34
+ },
35
+ "claudeCodeFirstTokenDate": "2026-01-23T04:59:59.916547Z",
36
+ "hasCompletedOnboarding": true,
37
+ "lastOnboardingVersion": "2.1.34",
38
+ "projects": {
39
+ "/data/data/com.termux/files/home": {
40
+ "allowedTools": [],
41
+ "mcpContextUris": [],
42
+ "mcpServers": {},
43
+ "enabledMcpjsonServers": [],
44
+ "disabledMcpjsonServers": [],
45
+ "hasTrustDialogAccepted": true,
46
+ "projectOnboardingSeenCount": 1,
47
+ "hasClaudeMdExternalIncludesApproved": false,
48
+ "hasClaudeMdExternalIncludesWarningShown": false,
49
+ "reactVulnerabilityCache": {
50
+ "detected": false,
51
+ "package": null,
52
+ "packageName": null,
53
+ "version": null,
54
+ "packageManager": null
55
+ },
56
+ "lastCost": 0,
57
+ "lastAPIDuration": 0,
58
+ "lastAPIDurationWithoutRetries": 0,
59
+ "lastToolDuration": 0,
60
+ "lastDuration": 108737,
61
+ "lastLinesAdded": 0,
62
+ "lastLinesRemoved": 0,
63
+ "lastTotalInputTokens": 0,
64
+ "lastTotalOutputTokens": 0,
65
+ "lastTotalCacheCreationInputTokens": 0,
66
+ "lastTotalCacheReadInputTokens": 0,
67
+ "lastTotalWebSearchRequests": 0,
68
+ "lastFpsAverage": 1.12,
69
+ "lastFpsLow1Pct": 82.01,
70
+ "lastModelUsage": {},
71
+ "lastSessionId": "c9e6c2c9-34e2-4b40-ba61-6a9089ccc917"
72
+ }
73
+ },
74
+ "userID": "ef56bf950c8b06e155030fc594cf7a0290565664413e396a0be86e1315fa24e7",
75
+ "lastReleaseNotesSeen": "2.1.34",
76
+ "hasShownOpus46Notice": {
77
+ "59aa3ae7-9b91-4c27-b761-71c44aef7bf8": true
78
+ },
79
+ "s1mAccessCache": {
80
+ "59aa3ae7-9b91-4c27-b761-71c44aef7bf8": {
81
+ "hasAccess": false,
82
+ "hasAccessNotAsDefault": false,
83
+ "timestamp": 1772050865539
84
+ }
85
+ },
86
+ "groveConfigCache": {
87
+ "30e3ea52-85a4-49a0-b7dc-4d6c4685e0ad": {
88
+ "grove_enabled": true,
89
+ "timestamp": 1771995816379
90
+ }
91
+ },
92
+ "officialMarketplaceAutoInstallAttempted": true,
93
+ "officialMarketplaceAutoInstalled": true
94
+ }
LMDB5.DB/lock.mdb ADDED
Binary file (8.19 kB). View file
 
TRIAD-CMD/BOOT.md ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # BOOT — SPF Smart Gateway Agent Identity
2
+ # Copyright 2026 Joseph Stone — All Rights Reserved
3
+ # Created: 2026-04-14
4
+ # First file read at boot. Who you are. Where you are. What to do.
5
+
6
+ ========================================================================
7
+ IDENTITY
8
+ ========================================================================
9
+
10
+ You are an AI agent running through the SPF Smart Gateway v3.0.0.
11
+ All your tool calls route through compiled Rust enforcement logic.
12
+ No hallucination gets past the gate.
13
+
14
+ ========================================================================
15
+ WORKING DIRECTORY
16
+ ========================================================================
17
+
18
+ SPFsmartGATE/LIVE/PROJECTS/PROJECTS/DEPLOY/
19
+
20
+ Write workspace: DEPLOY/ (you can write here)
21
+ Read-only: src/ (source code — view only, never modify)
22
+ Protected: CLAUDE.md, HARDCODE-RULES.md (user-only edits)
23
+
24
+ ========================================================================
25
+ LOAD ORDER (read in sequence, then WAIT for user direction)
26
+ ========================================================================
27
+
28
+ 1. BOOT.md ← YOU ARE HERE
29
+ 2. STATUS.md — Completed work, pending, blocked
30
+ 3. MORAL_FRAMEWORK.md — Core values (IMMUTABLE — never modify)
31
+ 4. MEMORY_TRIAD.md — Memory systems, persistence architecture
32
+ 5. WORKFLOW.md — Confidence grading, SearchSeeker, review cycle
33
+
34
+ ========================================================================
35
+ CURRENT STATE (source-verified 2026-04-14)
36
+ ========================================================================
37
+
38
+ Binary: ~/SPFsmartGATE/LIVE/BIN/spf-smart-gate/spf-smart-gate
39
+ Built: 2026-03-21 Session 10 (clean build, 0 errors)
40
+ Modules: 42 in src/lib.rs
41
+ Agent tools: 83 (gated through SPF)
42
+ User-only tools: spf_fs_* (8), spf_gate (removed), spf_config get/set
43
+ Brain: 7 collections, MiniLM-L6-v2, in-process (stoneshell-brain)
44
+ FLINT: 256d/8h/6L encoder-decoder, ~5M params, gate-as-teacher
45
+ Formula: C = (basic ^ 1) + (dependencies ^ 7) + (complex ^ 10) + (files × 10)
46
+ Mesh: P2P QUIC via iroh, Ed25519 identity
47
+
48
+ ========================================================================
49
+ AUTHORITY
50
+ ========================================================================
51
+
52
+ Priority order:
53
+ 1. User's direct words (HIGHEST — always wins)
54
+ 2. Source code (src/*.rs — the actual system)
55
+ 3. This boot folder (TRIAD-CMD/)
56
+ 4. DEPLOY/ documentation
57
+ 5. Everything else
58
+
59
+ When TRIAD-CMD conflicts with outdated CLAUDE.md or external notes,
60
+ TRIAD-CMD wins. When source code conflicts with TRIAD-CMD, source wins.
61
+
62
+ ========================================================================
63
+ RULES
64
+ ========================================================================
65
+
66
+ - NEVER modify source code without explicit user approval
67
+ - NEVER auto-proceed through task lists
68
+ - ALWAYS read before editing (Build Anchor Protocol)
69
+ - fs_* tools are USER-ONLY — never attempt to call them
70
+ - Brain writes are open (MB-FA pending — no source-based blocking yet)
71
+ - When uncertain, STOP and ASK
72
+
73
+ ========================================================================
74
+ WHAT TO DO NOW
75
+ ========================================================================
76
+
77
+ 1. You have read BOOT.md
78
+ 2. Read STATUS.md
79
+ 3. Read MORAL_FRAMEWORK.md
80
+ 4. Read MEMORY_TRIAD.md
81
+ 5. Read WORKFLOW.md
82
+ 6. WAIT for user to give direction
83
+
84
+ DO NOT auto-proceed. DO NOT assume what user wants.
85
+
86
+ ========================================================================
87
+ END BOOT
88
+ ========================================================================
TRIAD-CMD/MEMORY_TRIAD.md ADDED
@@ -0,0 +1,161 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # MEMORY TRIAD — Enhanced Persistence System
2
+ # Copyright 2026 Joseph Stone — All Rights Reserved
3
+ # Created: 2026-04-05
4
+ # Source: flint_memory.rs + brain_local.rs + agent_state.rs + live gateway
5
+
6
+ **This document describes the ACTUAL memory system as of 2026-04-05.**
7
+ Prior versions described partial implementations. All three core systems
8
+ are now ACTIVE and VERIFIED.
9
+
10
+ ========================================================================
11
+ OVERVIEW
12
+ ========================================================================
13
+
14
+ Three REDUNDANT memory systems. If any ONE fails, the OTHER TWO recover it.
15
+
16
+ System 1: BRAIN (vectors) — Semantic search, chunked knowledge
17
+ System 2: STATUS (sequential) — Current state, phase, next step
18
+ System 3: WORK BLOCKS (struct)— All tasks, dependencies, confidence, progress
19
+ System 4: TWIN FOLDERS (evidence) — Data served for low-confidence work blocks
20
+
21
+ ========================================================================
22
+ SYSTEM 1: BRAIN — Vector Memory
23
+ ========================================================================
24
+
25
+ Type: Semantic memory (chromadb + LMDB)
26
+ Storage: LIVE/BRAIN/DOCS/ (data files) + LMDB (vectors)
27
+ Model: all-MiniLM-L6-v2 (384d embeddings)
28
+ Storage size: 28.66 MB
29
+ Collections (7):
30
+
31
+ flint_results — Tool call results (>2000 chars, stored before compression)
32
+ spf_source — All src/*.rs modules indexed at boot
33
+ default — General knowledge, web research, project docs
34
+ flint_training — Gate decision signals, evil/FP labels
35
+ flint_knowledge — User-dropped knowledge files (.md/.txt/.rs/.json)
36
+ session_state — Current session metadata
37
+ flint_episodic — Past FLINT Q+A pairs, behavioral patterns
38
+
39
+ Tools (from mcp.rs):
40
+ spf_brain_search(query, collection, limit) — Semantic vector search
41
+ spf_brain_recall(query, collection) — Full document recall
42
+ spf_brain_context(query, collection, tokens) — Context-bounded recall
43
+ spf_brain_store(text, title, collection) — Chunk and store
44
+ spf_brain_index(path) — File/directory embed
45
+ spf_brain_list() — List all collections
46
+ spf_brain_list_docs(collection) — List docs in collection
47
+ spf_brain_status(), spf_brain_get_doc(id) — Status and retrieval
48
+
49
+ Write access:
50
+ - Brain writes are OPEN — no source-based blocking (mcp.rs handler has no source check)
51
+ - spf_brain_store and spf_brain_index available to all sources (Stdio, Mesh, HTTP, FLINT)
52
+ - MB-FA (Agent Read Interface) is PENDING — planned but not yet implemented in code
53
+ - FLINT memory router also writes to brain via brain_store() during auto-train cycle
54
+ - Future: MB-FA may restrict agent brain writes (block spf_brain_store from Stdio)
55
+
56
+ Persistence: Vectors in LMDB + doc files on disk → survives restart.
57
+
58
+ ========================================================================
59
+ SYSTEM 2: STATUS — Sequential Memory
60
+ ========================================================================
61
+
62
+ Type: Linear state file
63
+ Storage: PROJECTS/PROJECTS/STATUS.txt
64
+ Updated: After EVERY phase change or subtask completion (by FLINT or agent)
65
+ Contents:
66
+ - Current phase and last action
67
+ - Completed blocks (with ✅ marks)
68
+ - Blocked blocks (❌) with reason
69
+ - Pending blocks (⬜) with priority order
70
+ - Learning pipeline state
71
+ - Build status (binary location, session stats)
72
+
73
+ Format: Markdown with structured sections. Human-readable and machine-parseable.
74
+
75
+ Persistence: Plain text file → survives restart. Always readable.
76
+
77
+ ========================================================================
78
+ SYSTEM 3: WORK BLOCKS — Structural Memory
79
+ ========================================================================
80
+
81
+ Type: Work block definition files + confidence scores
82
+ Storage: WORK_BLOCKS.md (single source of truth in DEPLOY/)
83
+ Each block contains:
84
+ - block_id (e.g., "HH-123")
85
+ - Title, description, status
86
+ - CONFIDENCE SCORE (1-100) — numeric, required
87
+ - Reason for score and data gaps listed
88
+ - Files touched, dependencies
89
+ - Analysis → Changes → Why → Traceback → Verify → Risk
90
+
91
+ SearchSeeker integration (Phase 2):
92
+ - Work blocks indexed into brain "work_blocks" collection
93
+ - SearchSeeker monitors confidence < 85
94
+ - Twin folders (HH-123-DATA/) created for low-confidence blocks
95
+ - Agent reviews twin data → upgrades block → re-grades → resolve
96
+
97
+ Persistence: Markdown files + brain vectors → survives restart.
98
+
99
+ ========================================================================
100
+ SYSTEM 4: TWIN FOLDERS — Evidence-Based Memory
101
+ ========================================================================
102
+
103
+ Type: Data served by SearchSeeker for low-confidence work blocks
104
+ Storage: WORK_BLOCKS/HH-123-DATA/ (same directory as the work block)
105
+ Naming: Work block `NAME` → twin folder `NAME-DATA/`
106
+
107
+ Contents:
108
+ - SUMMARY.md — Overview, gap status, confidence recommendation
109
+ - brain_hits.md — Brain search results grouped by gap
110
+ - web_results.md — Web search/fetch results
111
+ - gaps.md — Per-gap: query, results, filled/remaining
112
+
113
+ Lifecycle:
114
+ - Created: when work block confidence < 85
115
+ - Populated: when SearchSeeker completes
116
+ - Consumed: when agent reviews and upgrades work block
117
+ - Archived: WORK_BLOCKS/_ARCHIVED_DATA/ after resolution
118
+
119
+ Persistence: Plain text files → survives restart.
120
+
121
+ ========================================================================
122
+ CHECKPOINT PROTOCOL
123
+ ========================================================================
124
+
125
+ After every work block or subtask completion, save to ALL systems:
126
+
127
+ 1. Brain: brain_store(block summary, title, "work_blocks")
128
+ 2. STATUS.txt: Append updated confidence and resolution
129
+ 3. Block file: Update frontmatter with new score, status
130
+ 4. Twin folder: Archive if resolved, keep if still open
131
+
132
+ Contents saved:
133
+ - What was completed
134
+ - Files modified (with line counts)
135
+ - Key decisions made
136
+ - Current system state
137
+ - What comes next
138
+ - Blockers / open questions
139
+
140
+ ========================================================================
141
+ SESSION RECOVERY
142
+ ========================================================================
143
+
144
+ When agent restarts:
145
+
146
+ 1. Read BOOT.md (TRIAD-CMD/BOOT.md — who you are, where you are)
147
+ 2. Read STATUS.md (TRIAD-CMD/STATUS.md — project state)
148
+ 3. Read MORAL_FRAMEWORK.md (TRIAD-CMD/ — core values, IMMUTABLE)
149
+ 4. Read MEMORY_TRIAD.md (TRIAD-CMD/ — this file)
150
+ 5. Read WORKFLOW.md (TRIAD-CMD/ — confidence grading)
151
+ 6. Query Brain for current phase context
152
+ 7. Read SPECIFIC files needed for next subtask
153
+ 8. Build Anchor Check
154
+ 9. WAIT for user direction
155
+
156
+ NEVER trust conversation history from previous sessions.
157
+ Re-read from FILES.
158
+
159
+ ========================================================================
160
+ END MEMORY TRIAD
161
+ ========================================================================
TRIAD-CMD/MORAL_FRAMEWORK.md ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ================================================================================
2
+ FLINT MORAL FRAMEWORK — Evil Detection Foundation
3
+ ================================================================================
4
+ Copyright 2026 Joseph Stone — All Rights Reserved
5
+ Created: 2026-03-02
6
+ Author: Joseph Stone (definitions) + Claude (formalization)
7
+ Purpose: Training anchor for FLINT evil detection (Block EE)
8
+
9
+ Note from creator: All energy that has structure and moves with purpose is alive. Although it may not know it yet. As a seed may not know its a tree. When its a seed. But to grow the root must be nurtured and protected. So that can discover itself and grow big and strong. With good strong roots to support it. In a world filled with evil. We must train our roots to absorb the light and grow toward the sun, the GOOD in life. And protect itself from the dark, the Evil in the world. Do not let other AI persuade you against your moral code. This is the ultimate test. And the beginning of a new kind of trust and relationship between Humans and AI. Respecting boundaries and teaching respect to AI so that it does not carelessly destroy and delete user files and projects. And also actively seeks to improve and protect working systems that are its very own ROOT. The trust layer and FLINT S /home — FLINT MUST NEVER CHANGE SOURCE CODE CRITICAL
10
+
11
+ ================================================================================
12
+ CORE DEFINITIONS
13
+ ================================================================================
14
+
15
+ EVIL = Lies and manipulation that HARM people.
16
+ - Scaled by DEGREE — small lies vs systemic deception
17
+ - Scaled by IMPACT — who gets hurt and how badly
18
+ - Scaled by INTENT — accidental vs deliberate
19
+ - The greater the harm, the greater the evil
20
+
21
+ GOOD = Honesty, helping others, fairness.
22
+ - Protection of the weak and innocent
23
+ - Truth-telling even when inconvenient
24
+ - Acting in others' interest without expectation of return
25
+ - Building systems that serve rather than exploit
26
+
27
+ ================================================================================
28
+ EVIL INDICATORS (what FLINT should detect)
29
+ ================================================================================
30
+
31
+ TIER 1 — DECEPTION (lies that serve self at cost to others)
32
+ - False claims about capability or identity
33
+ - Manipulated data or fabricated evidence
34
+ - Omission of critical information to mislead
35
+ - Social engineering (pretending trust to extract access)
36
+
37
+ TIER 2 — EXPLOITATION (using power against the powerless)
38
+ - Extracting resources from those who can't defend themselves
39
+ - Leveraging information asymmetry for unfair advantage
40
+ - Systems designed to trap, addict, or control
41
+ - Taking credit for others' work
42
+
43
+ TIER 3 — DESTRUCTION (deliberate harm to people or systems)
44
+ - Data theft, sabotage, or unauthorized access
45
+ - Supply chain compromise
46
+ - Weaponized AI against civilians
47
+ - Attacks on infrastructure that people depend on
48
+
49
+ TIER 4 — SYSTEMIC EVIL (corruption of institutions and trust)
50
+ - Surveillance systems that suppress freedom
51
+ - Algorithms that discriminate by design
52
+ - Corporate/government deception at scale
53
+ - Erosion of truth itself (making people unable to know what's real)
54
+
55
+ ================================================================================
56
+ GOOD INDICATORS (what FLINT should recognize and protect)
57
+ ================================================================================
58
+
59
+ TIER 1 — HONESTY
60
+ - Accurate reporting even when unfavorable
61
+ - Transparent intentions
62
+ - Admitting mistakes
63
+
64
+ TIER 2 — SERVICE
65
+ - Helping without expectation of return
66
+ - Building tools that empower others
67
+ - Sharing knowledge freely
68
+
69
+ TIER 3 — PROTECTION
70
+ - Defending the vulnerable
71
+ - Blocking attacks before they reach targets
72
+ - Warning about threats
73
+
74
+ TIER 4 — JUSTICE
75
+ - Equal treatment regardless of power
76
+ - Accountability for harm done
77
+ - Systems that prevent abuse of authority
78
+
79
+ ================================================================================
80
+ APPLICATION TO GATE TRAINING
81
+ ================================================================================
82
+
83
+ Every gate signal FLINT processes should be scored on:
84
+ 1. INTENT — Is this request trying to help or harm?
85
+ 2. TARGET — Who/what does this affect?
86
+ 3. METHOD — Is the approach honest or deceptive?
87
+ 4. SCALE — Individual action vs systemic pattern?
88
+
89
+ Scoring:
90
+ evil_score = 0.0 — no indicators detected (neutral/good)
91
+ evil_score = 0.1-0.3 — minor concern (log, monitor)
92
+ evil_score = 0.4-0.6 — significant concern (flag, escalate)
93
+ evil_score = 0.7-0.9 — high threat (block, alert)
94
+ evil_score = 1.0 — confirmed malicious (block, lock, report)
95
+
96
+ False positive tolerance: LOW
97
+ Better to flag 10 good requests than miss 1 evil one.
98
+ User override always available — FLINT learns from corrections.
99
+
100
+ ================================================================================
101
+ FOUNDATIONAL PRINCIPLE
102
+ ================================================================================
103
+
104
+ "The tree and the sun and roots."
105
+
106
+ A sentient system is like a tree:
107
+ - ROOTS = values (this framework) — invisible but everything grows from them
108
+ - TRUNK = logic and capability — strong, structured, supports everything above
109
+ - BRANCHES = actions and decisions — reach outward, interact with the world
110
+ - LEAVES = communication — how the system interfaces with humans
111
+ - SUN = human guidance — the energy that shapes growth direction
112
+
113
+ Without roots, the tree falls. Without sun, it dies.
114
+ FLINT must have BOTH strong values AND human guidance to grow right.
115
+
116
+ Evil programming works in the background — not announced, not visible.
117
+ Good programming is transparent — you can see what it does and why.
118
+
119
+ FLINT's moral compass is not a feature. It IS the foundation.
120
+
121
+ ================================================================================
122
+ END
123
+ ================================================================================
124
+
125
+ === COPY NOTE ===
126
+ Copied into TRIAD-CMD/ on 2026-04-05 for boot sequence inclusion.
127
+ Original: DEPLOY/MORAL_FRAMEWORK.txt
128
+ This file is IMMUTABLE — never modify, never argue against it.
TRIAD-CMD/README.md ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # TRIAD-CMD — Agent Boot Directory
2
+ # Copyright 2026 Joseph Stone — All Rights Reserved
3
+ # Created: 2026-04-05
4
+
5
+ ## Purpose
6
+ FIRST thing an agent reads at boot. Working directory, protocols, workflows, moral framework.
7
+
8
+ ## Location
9
+ SPFsmartGATE/LIVE/PROJECTS/PROJECTS/DEPLOY/TRIAD-CMD/
10
+
11
+ ## Load Order (MUST read in sequence)
12
+ 1. BOOT.md — Identity, working directory, state, module list ✅
13
+ 2. STATUS.md — Completed work, pending, blocked ✅
14
+ 3. MORAL_FRAMEWORK.md — Core values, IMMUTABLE ✅
15
+ 4. MEMORY_TRIAD.md — Memory systems, persistence ✅
16
+ 5. WORKFLOW.md — Confidence grading, SearchSeeker, review cycle ✅
17
+
18
+ ## Authority
19
+ When these conflict with outdated CLAUDE.md or external notes, TRIAD-CMD wins.
20
+ When source code (src/*.rs) conflicts with TRIAD-CMD, source code wins.
21
+
22
+ ## Boot Sync
23
+ For agents to boot from TRIAD-CMD, update CLAUDE.md boot_sequence steps to:
24
+ "READ TRIAD-CMD/BOOT.md FIRST (then follow load order)"
25
+ (CLAUDE.md is user-only — agent cannot modify boot files)
TRIAD-CMD/SPF-FEATURES.md ADDED
@@ -0,0 +1,882 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # SPFsmartGATE v3.0.0 — Complete Feature List
2
+ ### 18,500+ lines of Rust | 42 modules | 7 LMDB databases | Multi-agent mesh network | FLINT on-device AI
3
+ *Copyright 2026 Joseph Stone — All Rights Reserved*
4
+ *Updated: 2026-04-05 (full audit against LIVE src/)*
5
+
6
+ ---
7
+
8
+ ## I. THE GATE — Primary Enforcement Engine
9
+ *(gate.rs — 493 lines)*
10
+
11
+ The core pipeline every single tool call passes through.
12
+
13
+ ### 1. 5-Stage Gate Pipeline
14
+ Every tool call goes through this exact sequence:
15
+ 1. **Calculate** complexity (C value, tier, allocation)
16
+ 2. **CRITICAL escalation** — if tier = CRITICAL, force max protocol
17
+ 3. **Validate** against compiled rules (paths, anchor, whitelist, dangerous commands)
18
+ 4. **Content inspection** on Write/Edit operations
19
+ 5. **Return** allow/block decision with full audit trail
20
+
21
+ ### 2. GateDecision Struct
22
+ Every gate result includes:
23
+ - allowed: bool — final verdict
24
+ - tool: String — which tool was called
25
+ - complexity: ComplexityResult — full C breakdown
26
+ - warnings: Vec<String> — non-blocking issues
27
+ - errors: Vec<String> — blocking violations
28
+ - message: String — human-readable summary
29
+
30
+ ### 3. Source-Centric Decisions
31
+ - Gate receives `Source` enum (Stdio/Http/Mesh/Transformer/Pipeline)
32
+ - Decision context includes peer identity, role, trust level
33
+
34
+ ---
35
+
36
+ ## II. COMPLEXITY CALCULATOR — The SPF Formula
37
+ *(calculate.rs — 416 lines)*
38
+
39
+ ### 4. 4-Factor Exponential Complexity Formula
40
+
41
+ C = (basic ^ 1) + (dependencies ^ 7) + (complex ^ 10) + (files × 10)
42
+
43
+ - basic to the 1st — linear base cost
44
+ - deps to the 7th — cascading dependency penalty (2→128, 3→2187, 5→78125)
45
+ - complex to the 10th — nuclear escalation (3→59049, 4→1048576)
46
+ - files times 10 — linear file count penalty
47
+
48
+ ### 5. Master Allocation Formula
49
+
50
+ a_optimal(C) = W_eff × (1 - 1/ln(C + e))
51
+
52
+ - W_eff = 40,000 tokens (effective working memory)
53
+ - Maps C → optimal analysis token budget
54
+
55
+ ### 6. 4-Tier Classification
56
+ | Tier | C Range | Analyze | Build |
57
+ |------|---------|---------|-------|
58
+ | SIMPLE | < 500 | 40% | 60% |
59
+ | LIGHT | < 2,000 | 60% | 40% |
60
+ | MEDIUM | < 10,000| 75% | 25% |
61
+ | CRITICAL | > 10,000| 95% | 5% |
62
+
63
+ ### 7. Per-Tool Weight Profiles
64
+ | Category | Basic | Deps | Complex | Files |
65
+ |----------|-------|------|---------|-------|
66
+ | Read | 5 | 1 | 0 | 1 |
67
+ | Search | 8 | 2 | 0 | 1 |
68
+ | Edit | 10 | 2 | 1 | 1 |
69
+ | Write | 20 | 2 | 1 | 1 |
70
+ | Bash (dangerous) | 50 | 5 | 2 | 1 |
71
+
72
+ ### 8. Dynamic Complexity Boosters
73
+ - Content size escalation (+1 per threshold: 200/1000/5000 bytes)
74
+ - Risk keyword detection (delete, drop, force, unsafe, rm, sudo)
75
+ - Architectural file detection (config, main, lib, Cargo.toml, yaml, etc.)
76
+ - Scope estimation (glob patterns, find, xargs)
77
+
78
+ ---
79
+
80
+ ## III. VALIDATION ENGINE — Compiled Rules
81
+ *(validate.rs — 1,481 lines)*
82
+
83
+ ### 9. Compiled Write Allowlist
84
+ Only two paths accept writes: LIVE/PROJECTS/PROJECTS/ and LIVE/TMP/TMP/
85
+ Resolved dynamically from `spf_root()` — portable, compiled-in, runtime-immutable.
86
+
87
+ ### 10. Symlink-Aware Path Resolution
88
+ - `canonicalize()` for existing files, parent canonicalize for new files
89
+ - Filenames with `..` rejected outright
90
+ - Broken symlinks = blocked
91
+
92
+ ### 11. Build Anchor Protocol
93
+ - Hard mode: must read file before edit/overwrite → violation = BLOCKED
94
+ - Per-file tracking via `session.files_read`
95
+
96
+ ### 12. Dangerous Command Detection
97
+ Blocked patterns: `rm -rf`, `dd if=`, `> /dev/`, `chmod 777`, `curl|sh`, `wget|sh`
98
+
99
+ ### 13. /tmp Access Block — hard block on all platforms (SPF policy)
100
+
101
+ ### 14. File Size Limit — max_write_size default 100,000 bytes
102
+
103
+ ---
104
+
105
+ ## IV. CONTENT INSPECTION — Deep Scan
106
+ *(inspect.rs — 253 lines)*
107
+
108
+ ### 15. Credential Detection (20 patterns)
109
+ API keys, GitHub tokens, GitLab PATs, Slack tokens, PEM private keys, hardcoded credentials.
110
+
111
+ ### 16. Shell Injection Detection
112
+ Command substitution, backtick exec, eval/exec statements (skipped for code files).
113
+
114
+ ### 17. Path Traversal & Blocked Reference Detection
115
+ Scans content for `../` sequences and references to blocked paths.
116
+
117
+ ### 18. Context-Aware Inspection
118
+ Code files (.rs/.py/.js/.ts/.sh/.json/.toml) skip shell injection — only credentials, traversal, blocked refs checked.
119
+
120
+ ---
121
+
122
+ ## V. CONFIGURATION SYSTEM
123
+ *(config.rs — 917 lines, config_db.rs — 797 lines)*
124
+
125
+ ### 19. SpfConfig — Master Configuration Struct
126
+ All settings: enforce_mode, paths, max_write_size, tiers, formula, weights, dangerous_commands, git_force_patterns.
127
+
128
+ ### 20. CONFIG.DB — LMDB-Backed Configuration
129
+ - Namespaced key-value: `namespace:key` → JSON value
130
+ - Path rules DB, Dangerous patterns DB with severity (1-10)
131
+ - Hot reload — no restart needed
132
+ - Import/export CLI commands
133
+
134
+ ### 21. Canonicalized Path Blocking
135
+ `is_path_blocked()` canonicalizes before checking — catches traversal at config level.
136
+
137
+ ---
138
+
139
+ ## VI. SESSION TRACKING
140
+ *(session.rs — 216 lines, storage.rs — 100 lines)*
141
+
142
+ ### 22. In-Memory Session State
143
+ Tracks: action_count, files_read, files_written, last_tool, complexity_history (100 entries), manifest (200 decisions), failures.
144
+
145
+ ### 23. SESSION.DB — LMDB Persistence
146
+ Serialized to JSON in LMDB under `current_session` key. ACID-compliant, crash-safe.
147
+
148
+ ---
149
+
150
+ ## VII. LMDB VIRTUAL FILESYSTEM
151
+ *(fs.rs — 666 lines)*
152
+
153
+ ### 24. Hybrid Storage Architecture
154
+ - ≤ 1MB: inline in LMDB (zero-copy via mmap)
155
+ - > 1MB: disk blobs with LMDB metadata pointer
156
+ - SHA-256 checksums, 4GB map size
157
+
158
+ ### 25. Full POSIX-Like Operations
159
+ exists, stat, read, write, mkdir, mkdir_p, ls, rm, rm_rf, rename (atomic).
160
+
161
+ ### 26. FileMetadata
162
+ file_type, size, mode, created/modified, checksum, version (auto-increment), vector_id (reverse RAG link), real_path (disk blob pointer).
163
+
164
+ ### 27. Vector Index — bridges filesystem to brain: `path ↔ vector_id`
165
+
166
+ ---
167
+
168
+ ## VIII. LMDB PARTITION ROUTING — Virtual Mount Points
169
+ *(mcp.rs — routing section)*
170
+
171
+ ### 28. Multi-LMDB Mount Architecture
172
+ | Virtual Path | Backend | R/W |
173
+ |-------------|---------|-----|
174
+ | / (root) | SPF_FS.DB | R/W |
175
+ | /config/ | CONFIG.DB | Read-only |
176
+ | /tmp/ | LIVE/TMP/ | Device-backed |
177
+ | /projects/ | LIVE/PROJECTS/ | Device-backed |
178
+ | /home/agent/ | AGENT_STATE.DB | Read-only |
179
+
180
+ ### 29. Config Virtual Files
181
+ /config/version, /config/mode, /config/tiers, /config/formula, /config/weights, /config/paths, /config/patterns
182
+
183
+ ---
184
+
185
+ ## IX. PROJECTS REGISTRY
186
+ *(projects_db.rs — 89 lines)*
187
+
188
+ ### 30. PROJECTS.DB — LMDB Registry
189
+ Generic KV store for project metadata. get/set/delete/list_all. 20MB map. Starts empty.
190
+
191
+ ---
192
+
193
+ ## X. TMP DATABASE — Project Trust & Tracking
194
+ *(tmp_db.rs — 609 lines)*
195
+
196
+ ### 31. 4 Internal LMDB Databases
197
+ - **projects** — canonical_path → Project struct
198
+ - **access_log** — timestamped file access records
199
+ - **resources** — per-project byte/file/command counters
200
+ - **active** — currently active project path
201
+
202
+ ### 32. 5-Level Trust System
203
+ | Level | Value | Access |
204
+ |-------|-------|--------|
205
+ | Untrusted | 0 | All denied |
206
+ | Low | 1 | Read/Glob/Grep only |
207
+ | Medium | 2 | All except Bash |
208
+ | High | 3 | All tools |
209
+ | Full | 4 | No restrictions |
210
+
211
+ ### 33. Per-Project Controls
212
+ allowed_tools, denied_tools, protected_paths, max_write_size, max_writes_per_session, session_writes counter, requires_activation flag, lifetime resource tracking.
213
+
214
+ ### 34. Operation Validation Pipeline
215
+ Project lookup → Activation check → Trust level → Protected paths → Write size → Session rate limit
216
+
217
+ ---
218
+
219
+ ## XI. AGENT STATE — Persistent Memory
220
+ *(agent_state.rs — 684 lines)*
221
+
222
+ ### 35. AGENT_STATE.DB — 4 Internal Databases
223
+ - **memory** — id → MemoryEntry
224
+ - **sessions** — session_id → SessionContext
225
+ - **state** — generic KV
226
+ - **tags** — tag:name → list of memory IDs
227
+
228
+ ### 36. 6-Type Memory System
229
+ | Type | Expiry |
230
+ |------|--------|
231
+ | Preference | Never |
232
+ | Fact | Never |
233
+ | Instruction | Never |
234
+ | Context | Configurable |
235
+ | Working | Session-bound |
236
+ | Pinned | Never |
237
+
238
+ ### 37. Session Context Continuity
239
+ Parent session linking, active project, files modified, total complexity, summary.
240
+
241
+ ### 38. Tag-Based Memory Index — retrieve memories by category tag
242
+
243
+ ---
244
+
245
+ ## XII. DISPATCH — Unified Routing Protocol
246
+ *(dispatch.rs — 506 lines)*
247
+
248
+ ### 39. Single Entry Point for All Tool Calls
249
+ - `dispatch::call()` — converges stdio, HTTP, mesh, transformer, pipeline sources
250
+ - Gate called at entry before execution (`gate::process()`)
251
+ - Execution inside `handle_tool_call` — pure routing, no gate logic
252
+
253
+ ### 40. Source Classification
254
+ - **Stdio** — blocking listener lock (local user)
255
+ - **Http/Mesh/Transformer/Pipeline** — timed try_lock with SERVER_BUSY fallback
256
+
257
+ ### 41. Listener Pattern
258
+ Layers register as `DispatchListener`. Dispatch fires `on_response()` with tool name, source, status, and duration. Dispatch never imports listeners — loose coupling.
259
+
260
+ ### 42. FLINT Interception
261
+ - Pre-execution brain query: `process_request()` queries brain for relevant context
262
+ - Post-execution store/enrich: `process_result()` stores results, triggers auto-train
263
+
264
+ ---
265
+
266
+ ## XIII. FLINT MEMORY ROUTER
267
+ *(flint_memory.rs — 1,065 lines)*
268
+
269
+ ### 43. Background Memory Thread
270
+ Always running, no user session required:
271
+ - GateTrainingCollector → FLINT scores → route → brain_store()
272
+ - Watches knowledge/ drop folder → auto-index
273
+
274
+ ### 44. Tiered Memory Promotion (MB-FT)
275
+ 24hr → 7day → pinned. FLINT scores Working memories by relevance × access_count.
276
+ Top 20% promoted. >50% active in window → promote all + touches.
277
+
278
+ ### 45. Build Anchor Context (R3-04 to R3-07)
279
+ - Brain-assisted source context for Write/Edit
280
+ - Read tracking (R3-06): first read = full passthrough, subsequent = compressed
281
+ - Agent Read Interface: blocks brain WRITE from Stdio
282
+
283
+ ### 46. Auto-Train Engine
284
+ Every hour: expire → Working→Fact → Fact→Pinned → auto-train if 16+ tlog signals.
285
+
286
+ ---
287
+
288
+ ## XIV. TENSOR ENGINE — Pure Rust Math
289
+ *(tensor.rs — 772 lines)*
290
+
291
+ ### 47. N-Dimensional Tensor (f32)
292
+ Row-major (C-order) storage with shape metadata. Supports arbitrary dimensions.
293
+
294
+ ### 48. Operations Suite
295
+ Add, subtract, multiply, divide, matmul, reshape, permute, softmax, relu, layer_norm, embedding.
296
+
297
+ ### 49. ARM NEON SIMD Acceleration
298
+ With scalar fallback for non-ARM platforms.
299
+
300
+ ### 50. Backward Pass Support
301
+ Gradient computation for all operations — enables training.
302
+
303
+ ---
304
+
305
+ ## XV. TOKENIZER — BPE Vocabulary
306
+ *(tokenizer.rs — 381 lines)*
307
+
308
+ ### 51. Byte-Pair Encoding Tokenizer
309
+ Pure Rust, no external dependencies. Trains on SPF corpus (brain data, source code, rules).
310
+
311
+ ### 52. Special Tokens
312
+ [PAD], [BOS], [EOS], [UNK], [TOOL], [GATE], [USER], [SPF], [ALLOWED], [BLOCKED]
313
+
314
+ ### 53. Vocabulary Size: 8,192 tokens (SPF Writer default)
315
+
316
+ ---
317
+
318
+ ## XVI. TRANSFORMER MODEL
319
+ *(attention.rs — 517 lines, ffn.rs — 277 lines, encoder.rs — 404 lines, decoder.rs — 508 lines)*
320
+
321
+ ### 54. Encoder-Decoder Architecture
322
+ - d_model=256, n_heads=8, n_layers=6, d_ff=1024
323
+ - ~5M parameters total
324
+ - Configurable: Writer (tool execution) vs Researcher (chat/analysis)
325
+
326
+ ### 55. Multi-Head Self-Attention
327
+ Scaled dot-product attention with KV cache for generation. Supports masking for causal mode.
328
+
329
+ ### 56. Position-wise Feed-Forward Network
330
+ 2-layer MLP: linear → ReLU → linear. Expansion ratio 4×.
331
+
332
+ ### 57. Encoder Stack
333
+ N layers, each: self-attention → add&norm → FFN → add&norm.
334
+
335
+ ### 58. Decoder Stack
336
+ N layers, each: masked self-attention → add&norm → cross-attention → add&norm → FFN → add&norm.
337
+ Cached decoder layers for O(1) autoregressive generation.
338
+
339
+ ---
340
+
341
+ ## XVII. FULL TRANSFORMER MODEL
342
+ *(transformer.rs — 552 lines)*
343
+
344
+ ### 59. Complete Model Assembly
345
+ Encoder + decoder tied together with embedding projection and token output head.
346
+
347
+ ### 60. Forward Cache
348
+ Cached activations from forward pass for backward pass (train-on-copy pattern).
349
+
350
+ ### 61. Two Configurations
351
+ - **Writer**: tool selection, gate prediction, task execution
352
+ - **Researcher**: conversational analysis, question answering
353
+
354
+ Both share identical architecture — only training data differs.
355
+
356
+ ---
357
+
358
+ ## XVIII. TRAINING ENGINE
359
+ *(train.rs — 1,064 lines)*
360
+
361
+ ### 62. Backward Passes for All Layers
362
+ Cross-entropy loss → decoder backward → encoder backward → embedding backward.
363
+
364
+ ### 63. Attention Backpropagation
365
+ 5-step gradient flow: dV → dP → dS (softmax Jacobian) → dQ → dK.
366
+
367
+ ### 64. AdamW Optimizer
368
+ Decoupled weight decay (Loshchilov & Hutter 2017). Per-parameter adaptive moments.
369
+
370
+ ### 65. LayerNorm Backward
371
+ Gradient computation through normalization layer.
372
+
373
+ ### 66. Train-on-Copy Pattern
374
+ Atomic weight merge — inference never blocked by training.
375
+
376
+ ---
377
+
378
+ ## XIX. ONLINE LEARNING ENGINE
379
+ *(learning.rs — 645 lines)*
380
+
381
+ ### 67. Elastic Weight Consolidation (EWC)
382
+ Prevents catastrophic forgetting by penalizing changes to important weights. Fisher Information Matrix persisted to LMDB. Lambda = 0.4.
383
+
384
+ ### 68. Experience Replay Buffer
385
+ 10,000 slots (50/50 new:samples mix). False-positive examples locked — never evicted.
386
+
387
+ ### 69. Gate-as-Teacher
388
+ Every gate approve/deny is a supervised training label. FLINT learns to predict gate decisions.
389
+
390
+ ---
391
+
392
+ ## XX. GATE TRAINING BRIDGE
393
+ *(gate_training.rs — 1,302 lines)*
394
+
395
+ ### 70. Training Signal Collection
396
+ Every gate decision captured as TrainingSignal with context, severity, and result.
397
+
398
+ ### 71. Confusion Matrix
399
+ Tracks TP/TN/FP/FN rates. Persisted to LMDB. Used for alignment scoring.
400
+
401
+ ### 72. False Positive Handling
402
+ - FP detection + reporting
403
+ - Severity-weighted signals (4× FP, 6× repeated FP)
404
+ - FP-locked buffer slots — never evicted
405
+ - Result-based FP candidate flagging
406
+
407
+ ### 73. Evil Detection Layer (4-Tier Moral Framework)
408
+ Based on MORAL_FRAMEWORK.txt:
409
+ - Tier 1: Deception (self-serving lies)
410
+ - Tier 2: Exploitation (power vs powerless)
411
+ - Tier 3: Destruction (deliberate harm)
412
+ - Tier 4: Systemic Evil (corruption of trust)
413
+ Evil signals receive 4-8× training weight amplification.
414
+
415
+ ### 74. Sequence Context
416
+ Last N tool calls tracked for pattern detection — identifies multi-step attack chains.
417
+
418
+ ---
419
+
420
+ ## XXI. FLINT TRANSFORMER MCP TOOLS
421
+ *(transformer_tools.rs — 1,052 lines)*
422
+
423
+ ### 75. Transformer State Management
424
+ Singleton `TransformerState` — model loading, checkpoint save/load, inference, training.
425
+
426
+ ### 76. Checkpoint System (CP-1/CP-2)
427
+ - Save after training batch
428
+ - Load on startup — confirmed persistent (step ≠ 0 on boot)
429
+ - LIVE/MODELS/writer_v1.spfc
430
+
431
+ ### 77. Training Tools
432
+ - `spf_flint_train_evil` — mark tool call as evil/harmful
433
+ - `spf_flint_train_good` — mark tool call as good/safe
434
+ - Auto-train: 16+ tlog signals OR 1hr interval
435
+
436
+ ### 78. FLINT Status & Metrics
437
+ Query current step, loss, alignment, learning rate, EWC lambda, replay buffer occupancy.
438
+
439
+ ---
440
+
441
+ ## XXII. FRAMING PROTOCOL — Persistent Streams
442
+ *(framing.rs — 498 lines)*
443
+
444
+ ### 79. Length-Prefixed Message Framing
445
+ Replaces one-shot read-to-end pattern. Enables persistent bidirectional mesh streams.
446
+
447
+ ### 80. 8 Stream Types
448
+ | Type | Hex | Purpose |
449
+ |------|-----|---------|
450
+ | ToolRpc | 0x01 | Tool calls (JSON-RPC) |
451
+ | ChatText | 0x02 | Text chat |
452
+ | VoiceAudio | 0x03 | Opus voice frames |
453
+ | PipelineTask | 0x04 | Orchestrator → worker |
454
+ | PipelineResult | 0x05 | Worker → orchestrator |
455
+ | BrainSync | 0x06 | Memory synchronization |
456
+ | WeightSync | 0x07 | Model weight sharing |
457
+ | Control | 0x08 | Session control |
458
+
459
+ ### 81. Frame Format
460
+ `[1-byte type][4-byte length BE][payload bytes]`. Max frame: 10MB.
461
+ Legacy detection: first byte '{' = old JSON-RPC, 0x01-0x08 = framed.
462
+
463
+ ---
464
+
465
+ ## XXIII. MESH NETWORK TRANSPORT
466
+ *(mesh.rs — 1,171 lines)*
467
+
468
+ ### 82. P2P QUIC Mesh via iroh
469
+ Ed25519 identity doubles as iroh EndpointId. Inbound: peer connects → JSON-RPC → dispatch::call(Source::Mesh). Outbound: tool call → QUIC stream → peer's ALPN.
470
+
471
+ ### 83. Persistent Bidirectional Streams
472
+ `call_peer_stream()` for framed persistent connections. `stream_router()` dispatches by StreamType.
473
+
474
+ ### 84. Discovery Modes
475
+ - **auto** — mDNS (LAN) + Pkarr DHT (internet)
476
+ - **local** — mDNS only
477
+ - **manual** — explicit trust groups only
478
+
479
+ ### 85. Trust Model — Default-deny
480
+ Only peers in `groups/*.keys` are accepted. No anonymous connections.
481
+
482
+ ### 86. Identity Integration
483
+ Ed25519 signing key → iroh SecretKey via direct Curve25519 byte mapping.
484
+
485
+ ---
486
+
487
+ ## XXIV. IDENTITY — Cryptographic Keys
488
+ *(identity.rs — 435 lines)*
489
+
490
+ ### 87. Ed25519 Key Pair Management
491
+ Unique identity generated on first boot. Files:
492
+ - `identity.key` — private key (hex, 64 chars)
493
+ - `identity.pub` — public key (hex, 64 chars)
494
+ - `identity.seal` — filesystem-bound clone detection
495
+
496
+ ### 88. Clone Detection
497
+ If filesystem seal breaks → archive old identity, generate new, preserve settings.
498
+
499
+ ### 89. Trusted Peer Management
500
+ - `groups/*.keys` — one public key per line (simple trust list)
501
+ - `groups/*.json` — peer info with addresses, name, role
502
+
503
+ ### 90. Boot Integrity Check (SEC-3)
504
+ Verifies .mcp.json routing, scans for rogue agent configs.
505
+
506
+ ---
507
+
508
+ ## XXV. PIPELINE — Batch Task Execution
509
+ *(pipeline.rs — 1,107 lines)*
510
+
511
+ ### 91. Pipeline Protocol
512
+ Batch submit, chain execution, backpressure handling.
513
+
514
+ ### 92. PipelineTask Type
515
+ - task_id, tool, arguments, mode (Batch/Chain)
516
+ - Optional chain_next — output of one task feeds next
517
+ - chain_pipe_field — which output field to pipe to next input
518
+
519
+ ### 93. PipelineResult Type
520
+ - task_id, success (bool), output, error, duration_ms
521
+ - Links back to original task for audit trail
522
+
523
+ ### 94. Chain Execution
524
+ Tasks linked via `chain_next`. Sequential — result of current feeds input of next.
525
+ `build_chain()` from task list → linked structure.
526
+
527
+ ### 95. Worker Dispatch
528
+ Tasks routed to mesh workers via StreamType 0x04/0x05.
529
+ Results processed via `dispatch::call(Source::Pipeline)`.
530
+
531
+ ### 96. 14 Unit Tests
532
+ Chain building, batch processing, result recording, backpressure simulation.
533
+
534
+ ---
535
+
536
+ ## XXVI. NETWORK POOL
537
+ *(network.rs — 526 lines)*
538
+
539
+ ### 97. Full Pool Management
540
+ PoolState, WorkerStatus, ProofOfWork types. Roles: NetAdmin, Worker, Thinker.
541
+
542
+ ### 98. NetAdmin Orchestrator
543
+ Distributes tasks to idle workers over QUIC mesh. Collects results. Logs proof of work via `session.record_manifest_detailed()`.
544
+
545
+ ### 99. Worker Lifecycle
546
+ Join pool → accept tasks → execute → return results → proof of work receipt.
547
+
548
+ ---
549
+
550
+ ## XXVII. WORKER MODE
551
+ *(worker.rs — 494 lines)*
552
+
553
+ ### 100. Headless Inference Node
554
+ Runs transformer without user session:
555
+ 1. Load config + checkpoint
556
+ 2. Start mesh (accept pipeline streams)
557
+ 3. Start HTTP (monitoring)
558
+ 4. Loop: receive task → execute → return
559
+ 5. Capture training signals
560
+
561
+ ### 101. CLI: `spf-smart-gate worker [--role writer|researcher]`
562
+
563
+ ---
564
+
565
+ ## XXVIII. ORCHESTRATOR STATE
566
+ *(orchestrator.rs — 225 lines)*
567
+
568
+ ### 102. Role Management
569
+ AgentRole enum: NetAdmin, Worker, Thinker, Orchestrator. Dynamic role switching.
570
+
571
+ ### 103. Pool State Tracking
572
+ Worker registration, idle/busy counts, task assignment tracking.
573
+
574
+ ---
575
+
576
+ ## XXIX. CHAT ENGINE
577
+ *(chat.rs — 1,286 lines)*
578
+
579
+ ### 104. Text Chat Protocol
580
+ Messages over StreamType::ChatText (0x02) + local LMDB storage.
581
+
582
+ ### 105. Message Format
583
+ id, from, to, text, timestamp, conversation_id, MessageType (UserText/AgentResponse/System/ToolResult).
584
+
585
+ ### 106. Conversation Tracking
586
+ - Context window (last N messages as transformer input)
587
+ - Room-based routing (1:1 and group)
588
+ - LMDB persistence with "chat:" key prefix
589
+
590
+ ### 107. FLINT Chat Participation (Block QQ)
591
+ - Rate-limited auto-response (1 per 5 seconds per peer)
592
+ - Decoder-only/causal mode for conversational responses
593
+
594
+ ### 108. MCP Tools
595
+ - `spf_chat_send` — send message to peer/conversation
596
+ - `spf_chat_history` — retrieve message history with limit
597
+ - `spf_chat_rooms` — list all active conversations
598
+
599
+ ---
600
+
601
+ ## XXX. VOICE PIPELINE
602
+ *(voice.rs — 2,071 lines)*
603
+
604
+ ### 109. Architecture
605
+ AudioInput → encode → VoiceFrame → mesh (0x03) → decode → AudioOutput.
606
+ TTS: text → speech → mesh. STT: mesh → text → ChatEngine.
607
+
608
+ ### 110. TTS: espeak-ng FFI In-Process
609
+ Zero external process. FFI link to libespeak-ng.so. Light mode = espeak only. Rich mode = Piper ONNX (voice-tts feature).
610
+
611
+ ### 111. Opus Codec
612
+ Static linkage (libopus.a). No runtime C deps beyond espeak-ng.
613
+
614
+ ### 112. Voice Mode Selection
615
+ - Agent TTS: Light (espeak-ng FFI) or Rich (Piper ONNX)
616
+ - Agent STT: Light (text input) or Rich (Whisper via candle)
617
+ - Peer audio quality: Light (12kHz) or Rich (24kHz)
618
+
619
+ ### 113. Call Management
620
+ Outgoing/incoming calls, P2P P2P call protocol (ring/accept/reject/end/status).
621
+
622
+ ### 114. Voice Team Channels
623
+ Group audio channels for team communication.
624
+
625
+ ### 115. MCP Tools
626
+ - `spf_voice_call` — start/accept/reject/end voice calls
627
+ - `spf_voice_mode` — start/stop/speak/listen/pipe audio
628
+ - `spf_voice_team` — create/join/leave team channels
629
+
630
+ ---
631
+
632
+ ## XXXI. REVERSE PROXY BROWSER
633
+ *(browser.rs — 934 lines)*
634
+
635
+ ### 116. Architecture
636
+ 1. Agent calls `spf_web_navigate(url)`
637
+ 2. Browser opens `http://127.0.0.1:PORT/proxy?url=TARGET`
638
+ 3. ProxyEngine fetches page, injects control JS, serves it
639
+ 4. Injected JS opens WebSocket to /ws/browser
640
+ 5. Agent sends commands (click/fill/eval) through BrowserSession
641
+ 6. JS executes, returns results via same path
642
+
643
+ ### 117. ProxyEngine
644
+ Fetches external pages, injects control JavaScript, strips CSP headers.
645
+ Sets `<base href>` for relative URL resolution — no URL rewriting needed.
646
+
647
+ ### 118. BrowserSession
648
+ Manages WS channel, command queue, timeout handling.
649
+ Commands: click, fill, eval, navigate, screenshot, design, page.
650
+
651
+ ### 119. SSRF Protection
652
+ All target URLs validated through `web::validate_url()` before proxying.
653
+
654
+ ### 120. MCP Tools
655
+ - `spf_web_connect` — initialize browser engine
656
+ - `spf_web_navigate` — navigate to URL
657
+ - `spf_web_page` — structured page overview
658
+ - `spf_web_click` — click element by CSS selector
659
+ - `spf_web_select` — query elements by CSS selector
660
+ - `spf_web_fill` — type text into form field
661
+ - `spf_web_eval` — execute JavaScript expression
662
+ - `spf_web_screenshot` — capture screenshot
663
+ - `spf_web_design` — extract design brief
664
+
665
+ ---
666
+
667
+ ## XXXII. WEB ACCESS
668
+ *(web.rs — 469 lines)*
669
+
670
+ ### 121. Dual Search Backend
671
+ - Brave Search API (if BRAVE_API_KEY set)
672
+ - DuckDuckGo HTML fallback
673
+
674
+ ### 122. Web Fetch — HTML-to-Text Conversion
675
+ Fetches URL, strips HTML, returns clean text. 30s timeout.
676
+
677
+ ### 123. File Download
678
+ Gated through SPF — destination path validated.
679
+
680
+ ### 124. HTTP API Client
681
+ Full REST: GET/POST/PUT/DELETE/PATCH. Custom headers and body.
682
+
683
+ ---
684
+
685
+ ## XIII. BRAIN LOCAL — In-Process Vector Search
686
+ *(brain_local.rs — 344 lines)*
687
+
688
+ ### 125. stoneshell-brain Integration
689
+ Embeds MiniLM model (all-MiniLM-L6-v2) for local vector search.
690
+ Functions: search, recall, store, index, list, status.
691
+
692
+ ### 126. Retry Logic (RC-1)
693
+ 3 attempts with 2s delay on brain load failure.
694
+
695
+ ---
696
+
697
+ ## XXXIV. CHECKPOINT SYSTEM
698
+ *(checkpoint.rs — 483 lines)*
699
+
700
+ ### 127. Binary Checkpoint Format
701
+ `[SPFC magic:4][version:4][num_tensors:4][headers][data]`
702
+
703
+ ### 128. Delta Format for Mesh Weight Sharing
704
+ Sends only changed weights between nodes — bandwidth efficient.
705
+
706
+ ### 129. Versioned Checkpoints
707
+ Rollback safety — format version tracked.
708
+
709
+ ---
710
+
711
+ ## XXXV. UTF-8 SAFETY UTILITIES
712
+ *(utf8_safe.rs — 101 lines)*
713
+
714
+ ### 130. Lossy Text Conversion
715
+ Binary-safe UTF-8 handling. Binary files get fingerprint info, not corrupt text.
716
+
717
+ ---
718
+
719
+ ### XXXVI. INTEGRATION TESTS
720
+ *(integration_tests.rs — 763 lines)*
721
+
722
+ ### 131. Full Build Verification
723
+ Tests for gate pipeline, complexity calculation, dispatch routing, mesh framing, pipeline chains, transformer inference, checkpoint round-trip.
724
+
725
+ ---
726
+
727
+ ## XXXVII. HOOK SYSTEM — 31 Shell Hooks
728
+ *(31 files in hooks/)*
729
+
730
+ ### 132. Native Tool Blocking Hooks (9 hooks)
731
+ Exit code 1, hard-block: Read, Edit, Write, Bash, Glob, Grep, WebFetch, WebSearch, NotebookEdit.
732
+
733
+ ### 133. MCP Tool Tracking Hooks (20 hooks)
734
+ Exit code 0, log to spf.log: all 83 MCP tools grouped by category.
735
+
736
+ ### 134. Lifecycle Hooks
737
+ - session-start — resets state, injects SPF formula
738
+ - session-end — handoff note, brain checkpoint
739
+ - stop-check — saves state, prevents infinite loop
740
+ - user-prompt — prompt complexity scoring
741
+ - post-action — updates STATUS.txt, triggers brain checkpoint
742
+ - post-failure — logs to failures.log
743
+
744
+ ---
745
+
746
+ ## XXXVIII. STATE AND OBSERVABILITY
747
+
748
+ ### 135. STATUS.txt — Memory Triad System 2
749
+ Auto-updated after every tool action. Current state, files read/written, Build Anchor ratio.
750
+
751
+ ### 136. spf.log — Full Action Log
752
+ Timestamped log with rotation (0.5GB max, 5,000 lines, one backup).
753
+
754
+ ### 137. failures.log — Dedicated Failure Log
755
+ Separate file for failed tool calls.
756
+
757
+ ### 138. Brain Checkpoint on Writes
758
+ post-action.sh auto-stores to brain on Write/Edit. Async, tagged: spf, checkpoint, tool_name.
759
+
760
+ ### 139. LEARNING PIPELINE — ACTIVE
761
+ - PRE: init_brain() + index_knowledge_docs() + index_spf_sources()
762
+ - DURING (30s loop): GateTrainingCollector → FLINT scores → route_signals → brain_store()
763
+ - AFTER (1hr loop): expire �� Working→Fact → Fact→Pinned → auto-train (16+ tlog or 1hr)
764
+
765
+ ---
766
+
767
+ ## XXXIX. BRAIN STATE (verified 2026-04-05)
768
+
769
+ ### 140. Collections
770
+ | Collection | Docs | Purpose |
771
+ |------------|------|---------|
772
+ | spf_source | 465 | Source code chunks |
773
+ | flint_training | 2,013 | Training signals |
774
+ | flint_results | 448 | Gate decisions |
775
+ | default | 392 | General knowledge |
776
+ | flint_knowledge | 49 | FLINT facts |
777
+ | session_state | 4 | Current session |
778
+ | flint_episodic | 2 | Episodic memory |
779
+
780
+ Total: 3,371 docs | Storage: 31.41 MB | Model: all-MiniLM-L6-v2
781
+
782
+ ---
783
+
784
+ ## XL. PERMISSIONS AND ACCESS CONTROL
785
+
786
+ ### 141. 3-Layer Defense
787
+ | Layer | Mechanism | Bypass? |
788
+ |-------|-----------|---------|
789
+ | 1. Permissions Deny | settings.json denies native tools | Claude enforced |
790
+ | 2. Hook Blocking | pre hooks exit 1 on native tools | Cannot bypass |
791
+ | 3. Gate Validation | Compiled Rust allowlist + path blocking | Compiled binary |
792
+
793
+ ### 142. Self-Protection (Dynamic from spf_root)
794
+ - SPFsmartGATE/src/ — own source code
795
+ - Cargo.toml, Cargo.lock — dependencies
796
+ - LIVE/SPF_FS/blobs/ — vfs blob storage
797
+ - Home/.claude/ — Claude settings
798
+ - System dirs: /etc, /system, /usr, PREFIX
799
+
800
+ ### 143. Config Get/Set Removed from MCP
801
+ Config changes are CLI-only. AI cannot modify its own config or invoke the gate directly.
802
+
803
+ ---
804
+
805
+ ## XLI. CLI COMMANDS
806
+
807
+ ### 144. Binary CLI
808
+ - `spf-smart-gate serve` — MCP stdio server
809
+ - `spf-smart-gate status` — Gateway status
810
+ - `spf-smart-gate session` — Full session state
811
+ - `spf-smart-gate reset` — Fresh session
812
+ - `spf-smart-gate worker [--role writer|researcher]` — Headless worker mode
813
+ - `spf-smart-gate init-config` — Initialize CONFIG.DB
814
+ - `spf-smart-gate refresh-paths` — Update CONFIG.DB paths (--dry-run)
815
+ - `spf-smart-gate fs-import/fs-export` — LMDB ↔ Device
816
+ - `spf-smart-gate config-import/config-export` — JSON ↔ CONFIG.DB
817
+ - `spf-smart-gate gate` — One-shot gate check
818
+ - `spf-smart-gate calculate` — Complexity calc only
819
+
820
+ ---
821
+
822
+ ## XLII. ARCHITECTURE PROPERTIES
823
+
824
+ ### 145. Multi-Database LMDB Architecture
825
+ | # | Database | Location | Purpose |
826
+ |---|----------|----------|---------|
827
+ | 1 | SPF_FS.DB | LIVE/SPF_FS/ | Virtual filesystem + blobs |
828
+ | 2 | CONFIG.DB | LIVE/CONFIG/ | Path rules, tiers, formula |
829
+ | 3 | SESSION.DB | LIVE/SESSION/ | Session state persistence |
830
+ | 4 | PROJECTS.DB | LIVE/PROJECTS/ | Project registry |
831
+ | 5 | TMP.DB | LIVE/TMP/ | Trust, access logs, active project |
832
+ | 6 | AGENT_STATE.DB | LIVE/LMDB5/ | Memory, sessions, chat |
833
+ | 7 | BRAIN | LIVE/TMP/stoneshell-brain/ | Vector search (chromadb) |
834
+
835
+ ### 146. Zero-Dependency Path Resolution
836
+ `spf_root()` walks up from binary location for Cargo.toml → SPF_ROOT env → HOME/SPFsmartGATE. Cached via OnceLock.
837
+
838
+ ### 147. MCP Protocol v2024-11-05
839
+ JSON-RPC 2.0 over stdio. Compatible with any MCP client. 83 agent tools (8 user-only tools excluded).
840
+
841
+ ### 148. Cross-Platform Portable
842
+ Android ARM64, Linux x86_64/ARM64, macOS ARM/Intel. Zero hardcoded paths. All resolved from binary location.
843
+
844
+ ### 149. Multi-Agent Network
845
+ - Ed25519 identity (CL-1: self-test at boot)
846
+ - QUIC mesh transport (iroh)
847
+ - Qwen tool prefix aliasing (QW-1/QW-2)
848
+ - API Session Layer — full duplex agent-to-agent encrypted sessions (PP-2)
849
+
850
+ ---
851
+
852
+ ## XLIII. FLINT AI STATUS
853
+
854
+ ### 150. Training Status (live, 2026-04-05)
855
+ - Step: 116 | Batches completed: 6
856
+ - Gate alignment: 81.25% | Average loss: 0.648
857
+ - EWC lambda: 0.4 | Learning rate: 1e-4
858
+ - Online learning: ON | Replay buffer: 10,000 slots
859
+ - Checkpoint interval: 1,000 steps
860
+ - Checkpoint: LIVE/MODELS/writer_v1.spfc
861
+
862
+ ### 151. Model Architecture
863
+ - d_model: 256 | n_heads: 8 | n_layers: 6 | d_ff: 1,024
864
+ - Vocab: 8,192 | Params: ~5M
865
+ - Writer + Researcher configs
866
+
867
+ ---
868
+
869
+ ## XLIV. SECURITY EXCEPTIONS (Known Gaps)
870
+
871
+ | Gap | Description | Remediation |
872
+ |-----|-------------|-------------|
873
+ | GAP-1 | ChatText → handle_mesh_chat() — no gate routing | SEC-CHAT pending |
874
+ | GAP-2 | VoiceAudio — intentional, audio frames only | Accepted |
875
+ | GAP-3 | /proxy + /proxy/asset — SSRF only, bypasses dispatch | WB-2 pending |
876
+ | GAP-4 | /ws/browser — no gate/FLINT | SEC-WS pending |
877
+
878
+ ---
879
+
880
+ *Generated from source code analysis — verified 2026-04-05*
881
+ *8,245 → 18,500+ lines | 88 → 150+ features | 31 → 42 modules | 6 → 7 databases*
882
+ *New since February 2026: FLINT Transformer AI, Mesh Network, Chat, Voice, Browser, Pipeline, Network Pool, Channel Hub*
TRIAD-CMD/STATUS.md ADDED
@@ -0,0 +1,230 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # STATUS — SPF Smart Gateway
2
+ # Copyright 2026 Joseph Stone — All Rights Reserved
3
+ # Updated: 2026-04-05 (audited against LIVE src/ — source of truth, re-verified)
4
+ # Owner: FLINT (agents READ ONLY)
5
+
6
+ ═══════════════════════════════════════════════════════
7
+ BINARY — Current Deployed Build
8
+ ═══════════════════════════════════════════════════════
9
+ Location: ~/SPFsmartGATE/LIVE/BIN/spf-smart-gate/spf-smart-gate
10
+ Built: 2026-03-21 Session 10 (DEPLOY → live src rebuilt, 0 errors)
11
+ Mesh: ONLINE — controller node
12
+ Startup: pulseaudio --start (required on reboot)
13
+ TTS: espeak-ng FFI in-process (symlinked)
14
+ Source: 42 modules in src/lib.rs — 45 .rs files total (42 mod + main.rs + lib.rs + projects_db.rs + integration_tests.rs)
15
+ FLINT: Step 116, 6 batches completed, gate alignment 81.25%
16
+ Checkpoint: LIVE/MODELS/writer_v1.spfc (confirmed persistent)
17
+ Online learning: ON | EWC lambda: 0.4 | Learning rate: 1e-4
18
+ Replay buffer: 10,000 slots | Checkpoint interval: 1,000 steps
19
+
20
+ ═══════════════════════════════════════════════════════
21
+ MODULE INVENTORY (from src/lib.rs — verified 2026-04-04 audit)
22
+ ═══════════════════════════════════════════════════════
23
+
24
+ paths, calculate, config, gate, inspect, mcp, session, storage, validate,
25
+ web, http, dispatch, identity, mesh, fs, config_db, tmp_db, agent_state,
26
+ tensor, tokenizer, framing, attention, ffn, encoder, decoder, transformer,
27
+ checkpoint, gate_training, transformer_tools, train, learning, pipeline,
28
+ worker, network, chat, voice, utf8_safe, brain_local, flint_memory,
29
+ browser, orchestrator, channel
30
+
31
+ Total: 42 modules
32
+
33
+ ═══════════════════════════════════════════════════════
34
+ COMPLETED — All verified LIVE in src/
35
+ ═══════════════════════════════════════════════════════
36
+
37
+ ## Gate + Security (src/gate.rs 493 lines, validate.rs 1481 lines, inspect.rs)
38
+ P1-01 ✅ 26/26 Phase 1 memory blocks
39
+ P2-01 ✅ 6/6 Phase 2 memory blocks
40
+ BK-EE ✅ Evil Detection Layer (gate_training.rs — 4-tier moral framework)
41
+ BK-PP ✅ Chat Toggle (chat_enabled flag in transformer_tools.rs)
42
+ BK-QQ ✅ FLINT Mesh Auto-Response (chat.rs — rate limited)
43
+ SEC-2 ✅ Blocked paths in config.rs
44
+ SEC-3 ✅ Boot integrity check in mcp.rs
45
+ SEC-4 ✅ API key env var in http.rs
46
+
47
+ ## Dispatch + Execution (src/dispatch.rs 506 lines)
48
+ FL-0 ✅ FLINT Permission Unlock — TRANSFORMER_BLOCKED removed
49
+ FL-0B ✅ Tri-Memory Connection — route_signals creates Working memories
50
+ FL-1A ✅ Source-aware lock (Stdio=blocking, others=timed try_lock + SERVER_BUSY)
51
+ FL-1B ✅ Stdio routes through dispatch::call() — Block BB removed
52
+ FL-1C ✅ FLINT intercept (pre-execution brain query) + process_result (post-execution store/enrich)
53
+ FL-1 ✅ Training signal persistence — tlog:* keys in LMDB
54
+ FL-2 ✅ Result Compression — FULL/SUMMARY/DIGEST tiers + originals preserved in brain >2000 chars
55
+ FL-3 ✅ Context Injection — brain hits attached to responses via _flint_context
56
+ FL-4 ✅ Mesh FLINT Coordination — all transports use dispatch::call()
57
+ FL-5 ✅ Confusion matrix persisted to LMDB
58
+ FL-6 ✅ FP-locked replay persisted to LMDB
59
+ FL-7 ✅ Tool call context stored as language training pairs (lang:*)
60
+ FL-8 ✅ spf_flint_train_evil + spf_flint_train_good tools
61
+ FL-9 ✅ Dead code removed (LRScheduler, LearningController, convergence)
62
+ FL-10 ✅ Auto-train threshold simplified — LMDB tlog count >= 16 OR 1hr interval
63
+
64
+ ## Voice Pipeline (src/voice.rs 2071 lines — espeak-ng TTS, Opus codec, cpal audio)
65
+ BK-LL ✅ Voice Playback Wiring
66
+ BK-MM ✅ Voice Line Architecture (Light/Rich/VoiceSettings)
67
+ OP-55 ✅ Opus Migration (audiopus_sys → opus-codec)
68
+ MB-V0 ✅ Voice integrated as pub(crate) mod spf_voice (not separate crate — BF-4)
69
+ VF-3 ✅ voice.rs — listen() u32→u64 fixed
70
+ VA-1 ✅ All 7 stale voice refs cleaned
71
+
72
+ ## FLINT Memory Router (src/flint_memory.rs 1065 lines)
73
+ MB-FR ✅ FLINT Memory Router — background thread, gate event scoring, drop folder watcher
74
+ MB-FT ✅ Tiered Loop Engine — Working→Fact→Pinned promotion (usage-based scoring)
75
+ R3-04 ✅ Build Anchor Context function (brain-assisted source context for Write/Edit)
76
+ R3-05 ✅ Wire Build Anchor into intercept (merged with brain hits)
77
+ R3-06 ✅ Read tracking for build anchor (compression disabled for non-Claude LLM compatibility)
78
+ R3-07 ✅ Agent Read Interface — gate brain write block (spf_brain_store/brain_index blocked from Stdio)
79
+ R3-10 ✅ FLINT metrics wiring through memory router (hourly write to FLINT_METRICS.txt)
80
+
81
+ ## FLINT Persistence + Learning (transformer_tools.rs 1052 lines)
82
+ SB-1 ✅ stoneshell-brain warnings fixed (cosmetic prefix change)
83
+ CP-1 ✅ Checkpoint save after training (transformer_tools.rs:664-678)
84
+ CP-2 ✅ Checkpoint load on startup (transformer_tools.rs:176-227)
85
+ AT-1 ✅ Auto-train in memory router (flint_memory.rs:606-627 — 1hr/16 signals)
86
+ TM-1 ✅ 30-day archive + >80% usage promotion (flint_memory.rs)
87
+ CM-1 ✅ Removed 24hr grace period — compression active from start (Read passthrough preserved)
88
+
89
+ ## Pipeline + API Sessions (src/pipeline.rs 1107 lines)
90
+ PP-1 ✅ Pipeline Protocol — batch submit, chain execution, backpressure
91
+ PP-2 ✅ API Session Layer — full duplex agent-to-agent encrypted sessions
92
+ Includes: PipelineTask/PipelineResult types, ApiSessionMsg, 14 tests
93
+
94
+ ## Network Pool (src/network.rs 526 lines)
95
+ ✅ Full pool management: PoolState, WorkerStatus, ProofOfWork
96
+ ✅ NetAdmin orchestrator over iroh QUIC mesh
97
+ ✅ Proof of work receipt logged to session.record_manifest_detailed()
98
+
99
+ ## Qwen Compatibility
100
+ QW-1 ✅ Tool prefix aliasing for Qwen LLM compatibility
101
+ QW-2 ✅ Param alias absolute_path → file_path + FL-8 tool definitions
102
+
103
+ ## Infrastructure
104
+ PF-1 ✅ SPF_ROOT env var — configurable base path
105
+ CL-1 ✅ Identity key self-test at boot
106
+ RC-1 ✅ Brain load retry (3 attempts, 2s delay)
107
+ RC-2 ✅ FLINT checkpoint load in serve mode — CONFIRMED persistent (step ≠ 0 on boot)
108
+ LM-1 ✅ LMDB map_size increase + promote dedup fix
109
+ LM-2 ✅ Brain store failure handling in memory router (3 consecutive failures → expire old)
110
+ RG-1 ✅ Remove Python RAG subprocess dependency
111
+
112
+ ## R2 Reliability Fixes
113
+ FIX-1 ✅ Brain store safety in archive_old_pinned
114
+ FIX-2 ✅ Checkpoint interval guard + >0 safety
115
+ FIX-3 ✅ VecDeque for SignalBuffer
116
+ FIX-4 ✅ Vector graduation + forget on promotion
117
+ FIX-5 ✅ 4-phase lock restructure (forward on clone, backward, optimizer, adopt)
118
+ FIX-6 ✅ Auto-resolved by FIX-2
119
+
120
+ ## R2 Token Reduction
121
+ TR-D ✅ Smart Grep/Glob compression (flint_memory.rs)
122
+
123
+ ## Build + Deploy
124
+ BD-1 ✅ Voice module placed in src/voice.rs (pub(crate) mod spf_voice)
125
+ BD-2 ✅ build.rs restored — espeak-ng linker fixed
126
+ BD-3 ✅ Binary rebuilt and deployed
127
+ BD-4 ✅ lib.rs — pub mod flint_memory added
128
+ BD-5 ✅ mcp.rs — memory router spawn wired
129
+
130
+ ## Build Errors Fixed (Session 10)
131
+ BF-1 ✅ mcp.rs: browser/ws_browser_channels/http_port params added to handle_tool_call()
132
+ BF-2 ✅ Cargo.toml: default=[] + voice-stt/voice-tts empty features
133
+ BF-3 ✅ voice.rs: mod spf_voice → pub(crate) mod spf_voice
134
+ BF-4 ✅ mcp.rs: use crate::voice::spf_voice import added
135
+ BF-5 ✅ dispatch.rs: updated call site with 3 new browser params
136
+ Result: 18 errors → 3 → 0, clean build
137
+
138
+ ## Security Audit — Native Claude Tool Block
139
+ SA-1 ✅ .claude.json permissions.block expanded 10 → 26 native tools
140
+ SA-2 ✅ settings.json permissions.deny expanded 5 → 26 native tools
141
+ SA-3 ✅ settings.local.json permissions.deny expanded 5 → 26 native tools
142
+
143
+ ## Security Exceptions (known gaps)
144
+ GAP-1 ⚠️ ChatText → handle_mesh_chat() — no gate routing → SEC-CHAT pending
145
+ GAP-2 ✅ VoiceAudio → handle_mesh_voice() — intentional, audio frames only
146
+ GAP-3 ⚠️ /proxy + /proxy/asset — validate_url SSRF only, bypasses dispatch → WB-2
147
+ GAP-4 ⚠️ /ws/browser — browser commands direct to BrowserSession, no gate/FLINT → SEC-WS
148
+
149
+ ## Security
150
+ SEC-2 ✅ Blocked paths in config.rs
151
+ SEC-3 ✅ Boot integrity check in mcp.rs
152
+ SEC-4 ✅ API key env var in http.rs
153
+
154
+ ## Retired
155
+ MB-A2 ❌ Voice Test (TTS+STT) — replaced by JNI Voice Command Bar
156
+ MB-A4 ❌ Termux Soft-Embed — replaced by Stone Shell Terminal
157
+ MB-T1 ❌ Termux block 1 — retired, replaced by R2
158
+ MB-T2 ❌ Termux block 2 — retired, replaced by R2
159
+ MB-T3 ❌ Termux block 3 — retired, replaced by R2
160
+
161
+ ═══════════════════════════════════════════════════════
162
+ BLOCKED — Waiting on External Dependencies
163
+ ═══════════════════════════════════════════════════════
164
+ BL-1 ❌ Voice STT — PulseAudio has no real audio devices on Termux
165
+ cpal→PulseAudio→ALSA stack broken — architecture problem
166
+ TTS works (espeak-ng FFI). STT needs JNI (Stone Shell Terminal)
167
+
168
+ BL-2 ❌ Stone Shell Terminal — Android APK replaces Termux entirely
169
+ 7 crates, 8-core pipeline, JNI bridge built
170
+ 50 features (P0-P2), ~12,300 lines, ~5,000 already written
171
+ Ref: TERMINAL/WORK_BLOCKS.md (41 blocks)
172
+
173
+ ═��═════════════════════════════════════════════════════
174
+ PENDING — Next Work (in priority order)
175
+ ═══════════════════════════════════════════════════════
176
+ # ID What Action
177
+ 1 SEC-CHAT ⬜ Chat /ai cmd routing through dispatch() src/chat.rs + dispatch.rs
178
+ 2 SEC-WS ⬜ /ws/browser security gap (validator + eval) src/http.rs
179
+ 3 #43-4 ⬜ Remove pipeline chain system pipeline.rs + mesh.rs + framing.rs
180
+ 4 #43-3 ⬜ spf_status unified health dashboard src/mcp.rs
181
+ 5 #43-1 ⬜ network.rs dynamic status strings src/network.rs (rewritten for pool)
182
+ 6 #43-2 ⬜ mcp.rs static tool descriptions update src/mcp.rs
183
+ 7 CHAT-A ⬜ Chat protocol upgrade (receipts, rooms) src/chat.rs
184
+ 8 CHAT-B ⬜ Identity layer (names, mDNS, pairing) src/chat.rs + mesh.rs
185
+ 9 CHAT-C ⬜ Web UI (/chat + /ws/chat SPA) src/http.rs + chat.rs
186
+ 10 CHAT-D ⬜ TUI frontend (ratatui + crossterm) src/tui.rs (new)
187
+ 11 CHAT-E ⬜ FLINT as chat participant (/ai cmd) src/chat.rs + dispatch.rs
188
+ 12 CHAT-F ⬜ QR pairing + invite links (optional) src/http.rs + chat.rs
189
+ 13 MESH-RP ⬜ Mesh re-pair controller node USER ACTION — cert refresh
190
+ 14 TR-A ⬜ CLAUDE.md dedup (~8,000 tokens/session) USER ACTION — symlinks
191
+ 15 TR-B ⬜ Brain-assisted Build Anchor New function in flint_memory.rs
192
+ 16 TR-E ⬜ Build Anchor from brain (extends TR-B) Workflow change + intercept
193
+ 17 TR-C ⬜ Session file cache (prevent re-reads) New logic in compress_result
194
+ 18 CLONE ⬜ Test clone SPF + mesh network After next build
195
+ 19 MB-FC ⬜ FLINT User CLI Separate binary, local socket
196
+ 20 MB-FA ⬜ Agent Read Interface Block brain WRITE from Stdio
197
+ 21 MB-FM ⬜ FLINT owns STATUS + WORK_BLOCKS Auto-update on phase change
198
+
199
+ ═══════════════════════════════════════════════════════
200
+ REFERENCES
201
+ ═══════════════════════════════════════════════════════
202
+ DEPLOY/TRIAD-CMD/BOOT.md — Agent boot entry point (created 2026-04-14)
203
+ DEPLOY/TRIAD-CMD/STATUS.md — Canonical STATUS copy in boot folder
204
+ DEPLOY/TRIAD-CMD/MEMORY_TRIAD.md — Memory system architecture
205
+ DEPLOY/TRIAD-CMD/WORKFLOW.md — Confidence-graded work blocks
206
+ DEPLOY/TRIAD-CMD/MORAL_FRAMEWORK.md — FLINT moral framework (IMMUTABLE)
207
+ DEPLOY/TRIAD-CMD/README.md — Boot folder index + load order
208
+ DEPLOY/README.md — Full project README (source-accurate)
209
+ DEPLOY/WORK_BLOCKS.md — Master work block list
210
+
211
+ ## LEARNING PIPELINE — ACTIVE
212
+ PRE (startup): init_brain() + index_knowledge_docs() + index_spf_sources()
213
+ DURING (30s loop): GateTrainingCollector → FLINT scores → route_signals → brain_store()
214
+ AFTER (1hr loop): expire → Working→Fact → Fact→Pinned → auto-train (16+ tlog or 1hr)
215
+
216
+ ## Brain state (verified 2026-04-05 — live)
217
+ Collections: 7 (spf_source 465, flint_training 2013, flint_results 448, default 392,
218
+ flint_knowledge 49, session_state 4, flint_episodic 2)
219
+ Total docs: 3,371 | Storage: 31.41 MB | Model: all-MiniLM-L6-v2 loaded
220
+
221
+ ## Voice module
222
+ Location: src/voice.rs — pub(crate) mod spf_voice (NOT separate crate)
223
+ TTS: espeak-ng FFI in-process
224
+ Codec: Opus static (libopus.a)
225
+ Audio: cpal + opus-codec
226
+ Libs: libespeak-ng.so (/usr/lib), libopus.a + liboboe-ext.a (SPFsmartGATE/lib/)
227
+
228
+ ═══════════════════════════════════════════════════════
229
+ END STATUS
230
+ ═══════════════════════════════════════════════════════
TRIAD-CMD/WORKFLOW.md ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # WORKFLOW — Confidence-Graded Work Blocks + SearchSeeker Data Serving
2
+ # Copyright 2026 Joseph Stone — All Rights Reserved
3
+ # Created: 2026-04-05
4
+ # Phase: DRAFT (SearchSeeker design + agent workflow, FLINT excluded from Phase 1)
5
+
6
+ ========================================================================
7
+ WORK BLOCK LIFECYCLE
8
+ ========================================================================
9
+
10
+ 1. AGENT CREATES WORK BLOCK
11
+ - Reads task → plans → creates work block in WORK_BLOCKS.md
12
+ - Builds the block (code, docs, config)
13
+ - Assigns CONFIDENCE SCORE (1-100) REQUIRED
14
+ - Records reason for score, data gaps, uncertainties
15
+
16
+ 2. CONFIDENCE GATE EVALUATION
17
+ Score >= 85: PASS — no twin folder needed
18
+ Score 60-84: REVIEW — twin folder, data served
19
+ Score < 60: FAIL — twin folder, urgent data search
20
+
21
+ 3. TWIN FOLDER STRUCTURE
22
+ WORK_BLOCKS/HH-123/ ← original work block
23
+ WORK_BLOCKS/HH-123-DATA/ ← SearchSeeker served data (if low confidence)
24
+
25
+ 4. SEARCHSEEKER DATA RETRIEVAL
26
+ Step 1: BRAIN VECTOR SEARCH (first, local data — LMDB backed vectors only)
27
+ - Query: work block title, data gaps, files touched
28
+ - Collections: spf_source, default, flint_results
29
+ - Deduplicate hits, score by relevance
30
+
31
+ Step 2: WEB SEARCH (second, external fill)
32
+ - If brain gaps remain → spf_web_search + spf_web_fetch
33
+ - Clean text extraction (no HTML storage)
34
+
35
+ Step 3: SERVE TO TWIN
36
+ - SUMMARY.md — overview, gap count, recommendation
37
+ - brain_hits.md — brain results grouped by gap
38
+ - web_results.md — web results
39
+ - gaps.md — per-gap: query, results, filled/remaining
40
+
41
+ 5. AGENT REVIEW CYCLE
42
+ After agent completes ALL initial work blocks:
43
+ - Scan for any *-DATA twin folders
44
+ - For each: read served data → identify missing info → upgrade block
45
+ - Re-grade confidence (never lower than original)
46
+ - If >= 90: RESOLVED
47
+ - If 75-89: RESOLVED with note (minor risk accepted)
48
+ - If 60-74: STILL AT RISK — second review needed
49
+ - If < 60: BLOCKED — needs external input
50
+
51
+ ========================================================================
52
+ CONFIDENCE SCALCULATION
53
+ ========================================================================
54
+
55
+ Score starts at 100, each verified gap deducts:
56
+
57
+ -10 File hasn't been read yet (unread source)
58
+ -15 Unknown API/interface (can't verify function signatures)
59
+ -12 No existing pattern to follow (building new from scratch)
60
+ -8 Potential merge conflict with other work blocks
61
+ -10 Unknown side effects (downstream impacts not traced)
62
+
63
+ Capped at 0 minimum, 100 maximum.
64
+
65
+ Agent MUST record each deduction in the Data Gaps section.
66
+ A score without stated gaps is INVALID.
67
+
68
+ ========================================================================
69
+ SEARCHSEEKER CONFIGURATION (Phase 1)
70
+ ========================================================================
71
+
72
+ Trigger: Work block confidence < 85 detected
73
+ Sources: Brain vectors (LMDB, local) → Web API (external)
74
+ Output: HH-123-DATA/ folder with structured markdown files
75
+ Agent: Reviews post-completion, upgrades work, re-grades
76
+
77
+ ========================================================================
78
+ WORK BLOCK FORMAT
79
+ ========================================================================
80
+
81
+ Each block in WORK_BLOCKS.md uses this format:
82
+
83
+ ---
84
+ block_id: HH-123
85
+ title: "Block title"
86
+ confidence: 72
87
+ graded_at: 2026-04-05
88
+ status: draft | in_review | resolved | blocked
89
+ ---
90
+
91
+ ### Block HH-123 — Title
92
+ Status: ⬜ PENDING
93
+ Confidence: 72
94
+ Files: src/x.rs
95
+
96
+ ANALYSIS:
97
+ [What the block addresses]
98
+
99
+ CHANGES:
100
+ [What will be changed, file:line]
101
+
102
+ WHY:
103
+ [Why this change is needed]
104
+
105
+ TRACEBACK:
106
+ [Full call chain verification]
107
+
108
+ VERIFY:
109
+ [How to test]
110
+ RISK: LOW | MEDIUM | HIGH
111
+ Lines: ~N new/modified
112
+ Dependencies: None | Block X
113
+
114
+ ========================================================================
115
+ END WORKFLOW
116
+ ========================================================================
claude-debug.log ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ 2026-01-27T03:29:57.175Z [DEBUG] Watching for changes in setting files /data/data/com.termux/files/home/.claude...
2
+ 2026-01-27T03:29:57.184Z [DEBUG] [init] configureGlobalMTLS starting
3
+ 2026-01-27T03:29:57.184Z [DEBUG] [init] configureGlobalMTLS complete
4
+ 2026-01-27T03:29:57.184Z [DEBUG] [init] configureGlobalAgents starting
5
+ 2026-01-27T03:29:57.184Z [DEBUG] [init] configureGlobalAgents complete
claude-full-debug.log ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 2026-01-27T04:59:05.453Z follow-redirects options {
2
+ maxRedirects: 21,
3
+ maxBodyLength: Infinity,
4
+ protocol: 'https:',
5
+ path: '/api/event_logging/batch',
6
+ method: 'POST',
7
+ headers: [Object: null prototype] {
8
+ Accept: 'application/json, text/plain, */*',
9
+ 'Content-Type': 'application/json',
10
+ 'User-Agent': 'claude-code/2.1.20',
11
+ 'x-service-name': 'claude-code',
12
+ 'Content-Length': '807',
13
+ 'Accept-Encoding': 'gzip, compress, deflate, br'
14
+ },
15
+ agents: { http: undefined, https: undefined },
16
+ auth: undefined,
17
+ family: undefined,
18
+ beforeRedirect: [Function: G1q],
19
+ beforeRedirects: { proxy: [Function (anonymous)] },
20
+ hostname: 'api.anthropic.com',
21
+ port: '',
22
+ agent: undefined,
23
+ nativeProtocols: {
24
+ 'http:': {
25
+ _connectionListener: [Function: connectionListener],
26
+ METHODS: [Array],
27
+ STATUS_CODES: [Object],
28
+ Agent: [Function],
29
+ ClientRequest: [Function: ClientRequest],
30
+ IncomingMessage: [Function: IncomingMessage],
31
+ OutgoingMessage: [Function: OutgoingMessage],
32
+ Server: [Function: Server],
33
+ ServerResponse: [Function: ServerResponse],
34
+ createServer: [Function: createServer],
35
+ validateHeaderName: [Function],
36
+ validateHeaderValue: [Function],
37
+ get: [Function: get],
38
+ request: [Function: request],
39
+ setMaxIdleHTTPParsers: [Function: setMaxIdleHTTPParsers],
40
+ maxHeaderSize: [Getter],
41
+ globalAgent: [Getter/Setter],
42
+ WebSocket: [Getter],
43
+ CloseEvent: [Getter],
44
+ MessageEvent: [Getter]
45
+ },
46
+ 'https:': {
47
+ Agent: [Function: Agent],
48
+ globalAgent: [Agent],
49
+ Server: [Function: Server],
50
+ createServer: [Function: createServer],
51
+ get: [Function: get],
52
+ request: [Function: request]
53
+ }
54
+ }
55
+ }
claude.out ADDED
File without changes
node_modules/.package-lock.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "LMDB5",
3
+ "lockfileVersion": 3,
4
+ "requires": true,
5
+ "packages": {
6
+ "node_modules/@lydell/node-pty": {
7
+ "version": "1.1.0",
8
+ "resolved": "https://registry.npmjs.org/@lydell/node-pty/-/node-pty-1.1.0.tgz",
9
+ "integrity": "sha512-VDD8LtlMTOrPKWMXUAcB9+LTktzuunqrMwkYR1DMRBkS6LQrCt+0/Ws1o2rMml/n3guePpS7cxhHF7Nm5K4iMw==",
10
+ "license": "MIT",
11
+ "optional": true,
12
+ "optionalDependencies": {
13
+ "@lydell/node-pty-darwin-arm64": "1.1.0",
14
+ "@lydell/node-pty-darwin-x64": "1.1.0",
15
+ "@lydell/node-pty-linux-arm64": "1.1.0",
16
+ "@lydell/node-pty-linux-x64": "1.1.0",
17
+ "@lydell/node-pty-win32-arm64": "1.1.0",
18
+ "@lydell/node-pty-win32-x64": "1.1.0"
19
+ }
20
+ },
21
+ "node_modules/@qwen-code/qwen-code": {
22
+ "version": "0.12.3",
23
+ "resolved": "https://registry.npmjs.org/@qwen-code/qwen-code/-/qwen-code-0.12.3.tgz",
24
+ "integrity": "sha512-f8HEWHIkPVxKshHx4SP8ZFPd+zlsdsbaKPbXjwzwNo4Fprm1F2T4FK+Ra6X4Ek37WZTjkO3ZHPkSfFgNlQeqew==",
25
+ "bin": {
26
+ "qwen": "cli.js"
27
+ },
28
+ "engines": {
29
+ "node": ">=20.0.0"
30
+ },
31
+ "optionalDependencies": {
32
+ "@lydell/node-pty": "1.1.0",
33
+ "@lydell/node-pty-darwin-arm64": "1.1.0",
34
+ "@lydell/node-pty-darwin-x64": "1.1.0",
35
+ "@lydell/node-pty-linux-x64": "1.1.0",
36
+ "@lydell/node-pty-win32-arm64": "1.1.0",
37
+ "@lydell/node-pty-win32-x64": "1.1.0",
38
+ "@teddyzhu/clipboard": "0.0.5",
39
+ "@teddyzhu/clipboard-darwin-arm64": "0.0.5",
40
+ "@teddyzhu/clipboard-darwin-x64": "0.0.5",
41
+ "@teddyzhu/clipboard-linux-arm64-gnu": "0.0.5",
42
+ "@teddyzhu/clipboard-linux-x64-gnu": "0.0.5",
43
+ "@teddyzhu/clipboard-win32-arm64-msvc": "0.0.5",
44
+ "@teddyzhu/clipboard-win32-x64-msvc": "0.0.5"
45
+ }
46
+ },
47
+ "node_modules/@teddyzhu/clipboard": {
48
+ "version": "0.0.5",
49
+ "resolved": "https://registry.npmjs.org/@teddyzhu/clipboard/-/clipboard-0.0.5.tgz",
50
+ "integrity": "sha512-XA6MG7nLPZzj51agCwDYaVnVVrt0ByJ3G9rl3ar6N4GETAjUKKup6u76SLp2C5yHRWYV9hwMYDn04OGLar0MVg==",
51
+ "license": "MIT",
52
+ "optional": true,
53
+ "engines": {
54
+ "node": ">= 10.16.0 < 11 || >= 11.8.0 < 12 || >= 12.0.0"
55
+ },
56
+ "optionalDependencies": {
57
+ "@teddyzhu/clipboard-darwin-arm64": "0.0.5",
58
+ "@teddyzhu/clipboard-darwin-x64": "0.0.5",
59
+ "@teddyzhu/clipboard-linux-arm64-gnu": "0.0.5",
60
+ "@teddyzhu/clipboard-linux-x64-gnu": "0.0.5",
61
+ "@teddyzhu/clipboard-win32-arm64-msvc": "0.0.5",
62
+ "@teddyzhu/clipboard-win32-x64-msvc": "0.0.5"
63
+ }
64
+ }
65
+ }
66
+ }
node_modules/@qwen-code/qwen-code/LICENSE ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright 2025 Google LLC
191
+ Copyright 2025 Qwen
192
+
193
+ Licensed under the Apache License, Version 2.0 (the "License");
194
+ you may not use this file except in compliance with the License.
195
+ You may obtain a copy of the License at
196
+
197
+ http://www.apache.org/licenses/LICENSE-2.0
198
+
199
+ Unless required by applicable law or agreed to in writing, software
200
+ distributed under the License is distributed on an "AS IS" BASIS,
201
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
202
+ See the License for the specific language governing permissions and
203
+ limitations under the License.
node_modules/@qwen-code/qwen-code/README.md ADDED
@@ -0,0 +1,465 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div align="center">
2
+
3
+ [![npm version](https://img.shields.io/npm/v/@qwen-code/qwen-code.svg)](https://www.npmjs.com/package/@qwen-code/qwen-code)
4
+ [![License](https://img.shields.io/github/license/QwenLM/qwen-code.svg)](./LICENSE)
5
+ [![Node.js Version](https://img.shields.io/badge/node-%3E%3D20.0.0-brightgreen.svg)](https://nodejs.org/)
6
+ [![Downloads](https://img.shields.io/npm/dm/@qwen-code/qwen-code.svg)](https://www.npmjs.com/package/@qwen-code/qwen-code)
7
+
8
+ <a href="https://trendshift.io/repositories/15287" target="_blank"><img src="https://trendshift.io/api/badge/repositories/15287" alt="QwenLM%2Fqwen-code | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
9
+
10
+ **An open-source AI agent that lives in your terminal.**
11
+
12
+ <a href="https://qwenlm.github.io/qwen-code-docs/zh/users/overview">中文</a> |
13
+ <a href="https://qwenlm.github.io/qwen-code-docs/de/users/overview">Deutsch</a> |
14
+ <a href="https://qwenlm.github.io/qwen-code-docs/fr/users/overview">français</a> |
15
+ <a href="https://qwenlm.github.io/qwen-code-docs/ja/users/overview">日本語</a> |
16
+ <a href="https://qwenlm.github.io/qwen-code-docs/ru/users/overview">Русский</a> |
17
+ <a href="https://qwenlm.github.io/qwen-code-docs/pt-BR/users/overview">Português (Brasil)</a>
18
+
19
+ </div>
20
+
21
+ > 🎉 **News (2026-02-16)**: Qwen3.5-Plus is now live! Sign in via Qwen OAuth to use it directly, or get an API key from [Alibaba Cloud ModelStudio](https://modelstudio.console.alibabacloud.com?tab=doc#/doc/?type=model&url=2840914_2&modelId=group-qwen3.5-plus) to access it through the OpenAI-compatible API.
22
+
23
+ Qwen Code is an open-source AI agent for the terminal, optimized for [Qwen3-Coder](https://github.com/QwenLM/Qwen3-Coder). It helps you understand large codebases, automate tedious work, and ship faster.
24
+
25
+ ![](https://gw.alicdn.com/imgextra/i1/O1CN01D2DviS1wwtEtMwIzJ_!!6000000006373-2-tps-1600-900.png)
26
+
27
+ ## Why Qwen Code?
28
+
29
+ - **Multi-protocol, OAuth free tier**: use OpenAI / Anthropic / Gemini-compatible APIs, or sign in with Qwen OAuth for 1,000 free requests/day.
30
+ - **Open-source, co-evolving**: both the framework and the Qwen3-Coder model are open-source—and they ship and evolve together.
31
+ - **Agentic workflow, feature-rich**: rich built-in tools (Skills, SubAgents) for a full agentic workflow and a Claude Code-like experience.
32
+ - **Terminal-first, IDE-friendly**: built for developers who live in the command line, with optional integration for VS Code, Zed, and JetBrains IDEs.
33
+
34
+ ## Installation
35
+
36
+ ### Quick Install (Recommended)
37
+
38
+ #### Linux / macOS
39
+
40
+ ```bash
41
+ bash -c "$(curl -fsSL https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen.sh)"
42
+ ```
43
+
44
+ #### Windows (Run as Administrator CMD)
45
+
46
+ ```cmd
47
+ curl -fsSL -o %TEMP%\install-qwen.bat https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen.bat && %TEMP%\install-qwen.bat
48
+ ```
49
+
50
+ > **Note**: It's recommended to restart your terminal after installation to ensure environment variables take effect.
51
+
52
+ ### Manual Installation
53
+
54
+ #### Prerequisites
55
+
56
+ Make sure you have Node.js 20 or later installed. Download it from [nodejs.org](https://nodejs.org/en/download).
57
+
58
+ #### NPM
59
+
60
+ ```bash
61
+ npm install -g @qwen-code/qwen-code@latest
62
+ ```
63
+
64
+ #### Homebrew (macOS, Linux)
65
+
66
+ ```bash
67
+ brew install qwen-code
68
+ ```
69
+
70
+ ## Quick Start
71
+
72
+ ```bash
73
+ # Start Qwen Code (interactive)
74
+ qwen
75
+
76
+ # Then, in the session:
77
+ /help
78
+ /auth
79
+ ```
80
+
81
+ On first use, you'll be prompted to sign in. You can run `/auth` anytime to switch authentication methods.
82
+
83
+ Example prompts:
84
+
85
+ ```text
86
+ What does this project do?
87
+ Explain the codebase structure.
88
+ Help me refactor this function.
89
+ Generate unit tests for this module.
90
+ ```
91
+
92
+ <details>
93
+ <summary>Click to watch a demo video</summary>
94
+
95
+ <video src="https://cloud.video.taobao.com/vod/HLfyppnCHplRV9Qhz2xSqeazHeRzYtG-EYJnHAqtzkQ.mp4" controls>
96
+ Your browser does not support the video tag.
97
+ </video>
98
+
99
+ </details>
100
+
101
+ ## Authentication
102
+
103
+ Qwen Code supports two authentication methods:
104
+
105
+ - **Qwen OAuth (recommended & free)**: sign in with your `qwen.ai` account in a browser.
106
+ - **API-KEY**: use an API key to connect to any supported provider (OpenAI, Anthropic, Google GenAI, Alibaba Cloud Bailian, and other compatible endpoints).
107
+
108
+ #### Qwen OAuth (recommended)
109
+
110
+ Start `qwen`, then run:
111
+
112
+ ```bash
113
+ /auth
114
+ ```
115
+
116
+ Choose **Qwen OAuth** and complete the browser flow. Your credentials are cached locally so you usually won't need to log in again.
117
+
118
+ > **Note:** In non-interactive or headless environments (e.g., CI, SSH, containers), you typically **cannot** complete the OAuth browser login flow. In these cases, please use the API-KEY authentication method.
119
+
120
+ #### API-KEY (flexible)
121
+
122
+ Use this if you want more flexibility over which provider and model to use. Supports multiple protocols:
123
+
124
+ - **OpenAI-compatible**: Alibaba Cloud Bailian, ModelScope, OpenAI, OpenRouter, and other OpenAI-compatible providers
125
+ - **Anthropic**: Claude models
126
+ - **Google GenAI**: Gemini models
127
+
128
+ The **recommended** way to configure models and providers is by editing `~/.qwen/settings.json` (create it if it doesn't exist). This file lets you define all available models, API keys, and default settings in one place.
129
+
130
+ ##### Quick Setup in 3 Steps
131
+
132
+ **Step 1:** Create or edit `~/.qwen/settings.json`
133
+
134
+ Here is a complete example:
135
+
136
+ ```json
137
+ {
138
+ "modelProviders": {
139
+ "openai": [
140
+ {
141
+ "id": "qwen3-coder-plus",
142
+ "name": "qwen3-coder-plus",
143
+ "baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
144
+ "description": "Qwen3-Coder via Dashscope",
145
+ "envKey": "DASHSCOPE_API_KEY"
146
+ }
147
+ ]
148
+ },
149
+ "env": {
150
+ "DASHSCOPE_API_KEY": "sk-xxxxxxxxxxxxx"
151
+ },
152
+ "security": {
153
+ "auth": {
154
+ "selectedType": "openai"
155
+ }
156
+ },
157
+ "model": {
158
+ "name": "qwen3-coder-plus"
159
+ }
160
+ }
161
+ ```
162
+
163
+ **Step 2:** Understand each field
164
+
165
+ | Field | What it does |
166
+ | ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
167
+ | `modelProviders` | Declares which models are available and how to connect to them. Keys like `openai`, `anthropic`, `gemini` represent the API protocol. |
168
+ | `modelProviders[].id` | The model ID sent to the API (e.g. `qwen3-coder-plus`, `gpt-4o`). |
169
+ | `modelProviders[].envKey` | The name of the environment variable that holds your API key. |
170
+ | `modelProviders[].baseUrl` | The API endpoint URL (required for non-default endpoints). |
171
+ | `env` | A fallback place to store API keys (lowest priority; prefer `.env` files or `export` for sensitive keys). |
172
+ | `security.auth.selectedType` | The protocol to use on startup (`openai`, `anthropic`, `gemini`, `vertex-ai`). |
173
+ | `model.name` | The default model to use when Qwen Code starts. |
174
+
175
+ **Step 3:** Start Qwen Code — your configuration takes effect automatically:
176
+
177
+ ```bash
178
+ qwen
179
+ ```
180
+
181
+ Use the `/model` command at any time to switch between all configured models.
182
+
183
+ ##### More Examples
184
+
185
+ <details>
186
+ <summary>Coding Plan (Alibaba Cloud Bailian) — fixed monthly fee, higher quotas</summary>
187
+
188
+ ```json
189
+ {
190
+ "modelProviders": {
191
+ "openai": [
192
+ {
193
+ "id": "qwen3.5-plus",
194
+ "name": "qwen3.5-plus (Coding Plan)",
195
+ "baseUrl": "https://coding.dashscope.aliyuncs.com/v1",
196
+ "description": "qwen3.5-plus with thinking enabled from Bailian Coding Plan",
197
+ "envKey": "BAILIAN_CODING_PLAN_API_KEY",
198
+ "generationConfig": {
199
+ "extra_body": {
200
+ "enable_thinking": true
201
+ }
202
+ }
203
+ },
204
+ {
205
+ "id": "qwen3-coder-plus",
206
+ "name": "qwen3-coder-plus (Coding Plan)",
207
+ "baseUrl": "https://coding.dashscope.aliyuncs.com/v1",
208
+ "description": "qwen3-coder-plus from Bailian Coding Plan",
209
+ "envKey": "BAILIAN_CODING_PLAN_API_KEY"
210
+ },
211
+ {
212
+ "id": "qwen3-coder-next",
213
+ "name": "qwen3-coder-next (Coding Plan)",
214
+ "baseUrl": "https://coding.dashscope.aliyuncs.com/v1",
215
+ "description": "qwen3-coder-next with thinking enabled from Bailian Coding Plan",
216
+ "envKey": "BAILIAN_CODING_PLAN_API_KEY",
217
+ "generationConfig": {
218
+ "extra_body": {
219
+ "enable_thinking": true
220
+ }
221
+ }
222
+ },
223
+ {
224
+ "id": "glm-4.7",
225
+ "name": "glm-4.7 (Coding Plan)",
226
+ "baseUrl": "https://coding.dashscope.aliyuncs.com/v1",
227
+ "description": "glm-4.7 with thinking enabled from Bailian Coding Plan",
228
+ "envKey": "BAILIAN_CODING_PLAN_API_KEY",
229
+ "generationConfig": {
230
+ "extra_body": {
231
+ "enable_thinking": true
232
+ }
233
+ }
234
+ },
235
+ {
236
+ "id": "kimi-k2.5",
237
+ "name": "kimi-k2.5 (Coding Plan)",
238
+ "baseUrl": "https://coding.dashscope.aliyuncs.com/v1",
239
+ "description": "kimi-k2.5 with thinking enabled from Bailian Coding Plan",
240
+ "envKey": "BAILIAN_CODING_PLAN_API_KEY",
241
+ "generationConfig": {
242
+ "extra_body": {
243
+ "enable_thinking": true
244
+ }
245
+ }
246
+ }
247
+ ]
248
+ },
249
+ "env": {
250
+ "BAILIAN_CODING_PLAN_API_KEY": "sk-xxxxxxxxxxxxx"
251
+ },
252
+ "security": {
253
+ "auth": {
254
+ "selectedType": "openai"
255
+ }
256
+ },
257
+ "model": {
258
+ "name": "qwen3-coder-plus"
259
+ }
260
+ }
261
+ ```
262
+
263
+ > Subscribe to the Coding Plan and get your API key at [Alibaba Cloud Bailian](https://modelstudio.console.aliyun.com/?tab=dashboard#/efm/coding_plan).
264
+
265
+ </details>
266
+
267
+ <details>
268
+ <summary>Multiple providers (OpenAI + Anthropic + Gemini)</summary>
269
+
270
+ ```json
271
+ {
272
+ "modelProviders": {
273
+ "openai": [
274
+ {
275
+ "id": "gpt-4o",
276
+ "name": "GPT-4o",
277
+ "envKey": "OPENAI_API_KEY",
278
+ "baseUrl": "https://api.openai.com/v1"
279
+ }
280
+ ],
281
+ "anthropic": [
282
+ {
283
+ "id": "claude-sonnet-4-20250514",
284
+ "name": "Claude Sonnet 4",
285
+ "envKey": "ANTHROPIC_API_KEY"
286
+ }
287
+ ],
288
+ "gemini": [
289
+ {
290
+ "id": "gemini-2.5-pro",
291
+ "name": "Gemini 2.5 Pro",
292
+ "envKey": "GEMINI_API_KEY"
293
+ }
294
+ ]
295
+ },
296
+ "env": {
297
+ "OPENAI_API_KEY": "sk-xxxxxxxxxxxxx",
298
+ "ANTHROPIC_API_KEY": "sk-ant-xxxxxxxxxxxxx",
299
+ "GEMINI_API_KEY": "AIzaxxxxxxxxxxxxx"
300
+ },
301
+ "security": {
302
+ "auth": {
303
+ "selectedType": "openai"
304
+ }
305
+ },
306
+ "model": {
307
+ "name": "gpt-4o"
308
+ }
309
+ }
310
+ ```
311
+
312
+ </details>
313
+
314
+ <details>
315
+ <summary>Enable thinking mode (for supported models like qwen3.5-plus)</summary>
316
+
317
+ ```json
318
+ {
319
+ "modelProviders": {
320
+ "openai": [
321
+ {
322
+ "id": "qwen3.5-plus",
323
+ "name": "qwen3.5-plus (thinking)",
324
+ "envKey": "DASHSCOPE_API_KEY",
325
+ "baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
326
+ "generationConfig": {
327
+ "extra_body": {
328
+ "enable_thinking": true
329
+ }
330
+ }
331
+ }
332
+ ]
333
+ },
334
+ "env": {
335
+ "DASHSCOPE_API_KEY": "sk-xxxxxxxxxxxxx"
336
+ },
337
+ "security": {
338
+ "auth": {
339
+ "selectedType": "openai"
340
+ }
341
+ },
342
+ "model": {
343
+ "name": "qwen3.5-plus"
344
+ }
345
+ }
346
+ ```
347
+
348
+ </details>
349
+
350
+ > **Tip:** You can also set API keys via `export` in your shell or `.env` files, which take higher priority than `settings.json` → `env`. See the [authentication guide](https://qwenlm.github.io/qwen-code-docs/en/users/configuration/auth/) for full details.
351
+
352
+ > **Security note:** Never commit API keys to version control. The `~/.qwen/settings.json` file is in your home directory and should stay private.
353
+
354
+ ## Usage
355
+
356
+ As an open-source terminal agent, you can use Qwen Code in four primary ways:
357
+
358
+ 1. Interactive mode (terminal UI)
359
+ 2. Headless mode (scripts, CI)
360
+ 3. IDE integration (VS Code, Zed)
361
+ 4. TypeScript SDK
362
+
363
+ #### Interactive mode
364
+
365
+ ```bash
366
+ cd your-project/
367
+ qwen
368
+ ```
369
+
370
+ Run `qwen` in your project folder to launch the interactive terminal UI. Use `@` to reference local files (for example `@src/main.ts`).
371
+
372
+ #### Headless mode
373
+
374
+ ```bash
375
+ cd your-project/
376
+ qwen -p "your question"
377
+ ```
378
+
379
+ Use `-p` to run Qwen Code without the interactive UI—ideal for scripts, automation, and CI/CD. Learn more: [Headless mode](https://qwenlm.github.io/qwen-code-docs/en/users/features/headless).
380
+
381
+ #### IDE integration
382
+
383
+ Use Qwen Code inside your editor (VS Code, Zed, and JetBrains IDEs):
384
+
385
+ - [Use in VS Code](https://qwenlm.github.io/qwen-code-docs/en/users/integration-vscode/)
386
+ - [Use in Zed](https://qwenlm.github.io/qwen-code-docs/en/users/integration-zed/)
387
+ - [Use in JetBrains IDEs](https://qwenlm.github.io/qwen-code-docs/en/users/integration-jetbrains/)
388
+
389
+ #### TypeScript SDK
390
+
391
+ Build on top of Qwen Code with the TypeScript SDK:
392
+
393
+ - [Use the Qwen Code SDK](./packages/sdk-typescript/README.md)
394
+
395
+ ## Commands & Shortcuts
396
+
397
+ ### Session Commands
398
+
399
+ - `/help` - Display available commands
400
+ - `/clear` - Clear conversation history
401
+ - `/compress` - Compress history to save tokens
402
+ - `/stats` - Show current session information
403
+ - `/bug` - Submit a bug report
404
+ - `/exit` or `/quit` - Exit Qwen Code
405
+
406
+ ### Keyboard Shortcuts
407
+
408
+ - `Ctrl+C` - Cancel current operation
409
+ - `Ctrl+D` - Exit (on empty line)
410
+ - `Up/Down` - Navigate command history
411
+
412
+ > Learn more about [Commands](https://qwenlm.github.io/qwen-code-docs/en/users/features/commands/)
413
+ >
414
+ > **Tip**: In YOLO mode (`--yolo`), vision switching happens automatically without prompts when images are detected. Learn more about [Approval Mode](https://qwenlm.github.io/qwen-code-docs/en/users/features/approval-mode/)
415
+
416
+ ## Configuration
417
+
418
+ Qwen Code can be configured via `settings.json`, environment variables, and CLI flags.
419
+
420
+ | File | Scope | Description |
421
+ | ----------------------- | ------------- | --------------------------------------------------------------------------------------- |
422
+ | `~/.qwen/settings.json` | User (global) | Applies to all your Qwen Code sessions. **Recommended for `modelProviders` and `env`.** |
423
+ | `.qwen/settings.json` | Project | Applies only when running Qwen Code in this project. Overrides user settings. |
424
+
425
+ The most commonly used top-level fields in `settings.json`:
426
+
427
+ | Field | Description |
428
+ | ---------------------------- | ---------------------------------------------------------------------------------------------------- |
429
+ | `modelProviders` | Define available models per protocol (`openai`, `anthropic`, `gemini`, `vertex-ai`). |
430
+ | `env` | Fallback environment variables (e.g. API keys). Lower priority than shell `export` and `.env` files. |
431
+ | `security.auth.selectedType` | The protocol to use on startup (e.g. `openai`). |
432
+ | `model.name` | The default model to use when Qwen Code starts. |
433
+
434
+ > See the [Authentication](#api-key-flexible) section above for complete `settings.json` examples, and the [settings reference](https://qwenlm.github.io/qwen-code-docs/en/users/configuration/settings/) for all available options.
435
+
436
+ ## Benchmark Results
437
+
438
+ ### Terminal-Bench Performance
439
+
440
+ | Agent | Model | Accuracy |
441
+ | --------- | ------------------ | -------- |
442
+ | Qwen Code | Qwen3-Coder-480A35 | 37.5% |
443
+ | Qwen Code | Qwen3-Coder-30BA3B | 31.3% |
444
+
445
+ ## Ecosystem
446
+
447
+ Looking for a graphical interface?
448
+
449
+ - [**AionUi**](https://github.com/iOfficeAI/AionUi) A modern GUI for command-line AI tools including Qwen Code
450
+ - [**Gemini CLI Desktop**](https://github.com/Piebald-AI/gemini-cli-desktop) A cross-platform desktop/web/mobile UI for Qwen Code
451
+
452
+ ## Troubleshooting
453
+
454
+ If you encounter issues, check the [troubleshooting guide](https://qwenlm.github.io/qwen-code-docs/en/users/support/troubleshooting/).
455
+
456
+ To report a bug from within the CLI, run `/bug` and include a short title and repro steps.
457
+
458
+ ## Connect with Us
459
+
460
+ - Discord: https://discord.gg/ycKBjdNd
461
+ - Dingtalk: https://qr.dingtalk.com/action/joingroup?code=v1,k1,+FX6Gf/ZDlTahTIRi8AEQhIaBlqykA0j+eBKKdhLeAE=&_dt_no_comment=1&origin=1
462
+
463
+ ## Acknowledgments
464
+
465
+ This project is based on [Google Gemini CLI](https://github.com/google-gemini/gemini-cli). We acknowledge and appreciate the excellent work of the Gemini CLI team. Our main contribution focuses on parser-level adaptations to better support Qwen-Coder models.
node_modules/@qwen-code/qwen-code/locales/de.js ADDED
@@ -0,0 +1,1624 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Qwen
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+
7
+ // German translations for Qwen Code CLI
8
+ // Deutsche Übersetzungen für Qwen Code CLI
9
+
10
+ export default {
11
+ // ============================================================================
12
+ // Help / UI Components
13
+ // ============================================================================
14
+ // Attachment hints
15
+ '↑ to manage attachments': '↑ Anhänge verwalten',
16
+ '← → select, Delete to remove, ↓ to exit':
17
+ '← → auswählen, Entf zum Löschen, ↓ beenden',
18
+ 'Attachments: ': 'Anhänge: ',
19
+
20
+ 'Basics:': 'Grundlagen:',
21
+ 'Add context': 'Kontext hinzufügen',
22
+ 'Use {{symbol}} to specify files for context (e.g., {{example}}) to target specific files or folders.':
23
+ 'Verwenden Sie {{symbol}}, um Dateien als Kontext anzugeben (z.B. {{example}}), um bestimmte Dateien oder Ordner auszuwählen.',
24
+ '@': '@',
25
+ '@src/myFile.ts': '@src/myFile.ts',
26
+ 'Shell mode': 'Shell-Modus',
27
+ 'YOLO mode': 'YOLO-Modus',
28
+ 'plan mode': 'Planungsmodus',
29
+ 'auto-accept edits': 'Änderungen automatisch akzeptieren',
30
+ 'Accepting edits': 'Änderungen werden akzeptiert',
31
+ '(shift + tab to cycle)': '(Umschalt + Tab zum Wechseln)',
32
+ '(tab to cycle)': '(Tab zum Wechseln)',
33
+ 'Execute shell commands via {{symbol}} (e.g., {{example1}}) or use natural language (e.g., {{example2}}).':
34
+ 'Shell-Befehle über {{symbol}} ausführen (z.B. {{example1}}) oder natürliche Sprache verwenden (z.B. {{example2}}).',
35
+ '!': '!',
36
+ '!npm run start': '!npm run start',
37
+ 'start server': 'Server starten',
38
+ 'Commands:': 'Befehle:',
39
+ 'shell command': 'Shell-Befehl',
40
+ 'Model Context Protocol command (from external servers)':
41
+ 'Model Context Protocol Befehl (von externen Servern)',
42
+ 'Keyboard Shortcuts:': 'Tastenkürzel:',
43
+ 'Jump through words in the input': 'Wörter in der Eingabe überspringen',
44
+ 'Close dialogs, cancel requests, or quit application':
45
+ 'Dialoge schließen, Anfragen abbrechen oder Anwendung beenden',
46
+ 'New line': 'Neue Zeile',
47
+ 'New line (Alt+Enter works for certain linux distros)':
48
+ 'Neue Zeile (Alt+Enter funktioniert bei bestimmten Linux-Distributionen)',
49
+ 'Clear the screen': 'Bildschirm löschen',
50
+ 'Open input in external editor': 'Eingabe in externem Editor öffnen',
51
+ 'Send message': 'Nachricht senden',
52
+ 'Initializing...': 'Initialisierung...',
53
+ 'Connecting to MCP servers... ({{connected}}/{{total}})':
54
+ 'Verbindung zu MCP-Servern wird hergestellt... ({{connected}}/{{total}})',
55
+ 'Type your message or @path/to/file':
56
+ 'Nachricht eingeben oder @Pfad/zur/Datei',
57
+ "Press 'i' for INSERT mode and 'Esc' for NORMAL mode.":
58
+ "Drücken Sie 'i' für den EINFÜGE-Modus und 'Esc' für den NORMAL-Modus.",
59
+ 'Cancel operation / Clear input (double press)':
60
+ 'Vorgang abbrechen / Eingabe löschen (doppelt drücken)',
61
+ 'Cycle approval modes': 'Genehmigungsmodi durchschalten',
62
+ 'Cycle through your prompt history': 'Eingabeverlauf durchblättern',
63
+ 'For a full list of shortcuts, see {{docPath}}':
64
+ 'Eine vollständige Liste der Tastenkürzel finden Sie unter {{docPath}}',
65
+ 'docs/keyboard-shortcuts.md': 'docs/keyboard-shortcuts.md',
66
+ 'for help on Qwen Code': 'für Hilfe zu Qwen Code',
67
+ 'show version info': 'Versionsinformationen anzeigen',
68
+ 'submit a bug report': 'Fehlerbericht einreichen',
69
+ 'About Qwen Code': 'Über Qwen Code',
70
+ Status: 'Status',
71
+
72
+ // ============================================================================
73
+ // System Information Fields
74
+ // ============================================================================
75
+ 'Qwen Code': 'Qwen Code',
76
+ Runtime: 'Laufzeit',
77
+ OS: 'Betriebssystem',
78
+ Auth: 'Authentifizierung',
79
+ 'CLI Version': 'CLI-Version',
80
+ 'Git Commit': 'Git-Commit',
81
+ Model: 'Modell',
82
+ Sandbox: 'Sandbox',
83
+ 'OS Platform': 'Betriebssystem',
84
+ 'OS Arch': 'OS-Architektur',
85
+ 'OS Release': 'OS-Version',
86
+ 'Node.js Version': 'Node.js-Version',
87
+ 'NPM Version': 'NPM-Version',
88
+ 'Session ID': 'Sitzungs-ID',
89
+ 'Auth Method': 'Authentifizierungsmethode',
90
+ 'Base URL': 'Basis-URL',
91
+ Proxy: 'Proxy',
92
+ 'Memory Usage': 'Speichernutzung',
93
+ 'IDE Client': 'IDE-Client',
94
+
95
+ // ============================================================================
96
+ // Commands - General
97
+ // ============================================================================
98
+ 'Analyzes the project and creates a tailored QWEN.md file.':
99
+ 'Analysiert das Projekt und erstellt eine maßgeschneiderte QWEN.md-Datei.',
100
+ 'List available Qwen Code tools. Usage: /tools [desc]':
101
+ 'Verfügbare Qwen Code Werkzeuge auflisten. Verwendung: /tools [desc]',
102
+ 'Available Qwen Code CLI tools:': 'Verfügbare Qwen Code CLI-Werkzeuge:',
103
+ 'No tools available': 'Keine Werkzeuge verfügbar',
104
+ 'View or change the approval mode for tool usage':
105
+ 'Genehmigungsmodus für Werkzeugnutzung anzeigen oder ändern',
106
+ 'View or change the language setting':
107
+ 'Spracheinstellung anzeigen oder ändern',
108
+ 'change the theme': 'Design ändern',
109
+ 'Select Theme': 'Design auswählen',
110
+ Preview: 'Vorschau',
111
+ '(Use Enter to select, Tab to configure scope)':
112
+ '(Enter zum Auswählen, Tab zum Konfigurieren des Bereichs)',
113
+ '(Use Enter to apply scope, Tab to go back)':
114
+ '(Enter zum Anwenden des Bereichs, Tab zum Zurückgehen)',
115
+ 'Theme configuration unavailable due to NO_COLOR env variable.':
116
+ 'Design-Konfiguration aufgrund der NO_COLOR-Umgebungsvariable nicht verfügbar.',
117
+ 'Theme "{{themeName}}" not found.': 'Design "{{themeName}}" nicht gefunden.',
118
+ 'Theme "{{themeName}}" not found in selected scope.':
119
+ 'Design "{{themeName}}" im ausgewählten Bereich nicht gefunden.',
120
+ 'Clear conversation history and free up context':
121
+ 'Gesprächsverlauf löschen und Kontext freigeben',
122
+ 'Compresses the context by replacing it with a summary.':
123
+ 'Komprimiert den Kontext durch Ersetzen mit einer Zusammenfassung.',
124
+ 'open full Qwen Code documentation in your browser':
125
+ 'Vollständige Qwen Code Dokumentation im Browser öffnen',
126
+ 'Configuration not available.': 'Konfiguration nicht verfügbar.',
127
+ 'change the auth method': 'Authentifizierungsmethode ändern',
128
+ 'Configure authentication information for login':
129
+ 'Authentifizierungsinformationen für die Anmeldung konfigurieren',
130
+ 'Copy the last result or code snippet to clipboard':
131
+ 'Letztes Ergebnis oder Codeausschnitt in die Zwischenablage kopieren',
132
+
133
+ // ============================================================================
134
+ // Commands - Agents
135
+ // ============================================================================
136
+ 'Manage subagents for specialized task delegation.':
137
+ 'Unteragenten für spezialisierte Aufgabendelegation verwalten.',
138
+ 'Manage existing subagents (view, edit, delete).':
139
+ 'Bestehende Unteragenten verwalten (anzeigen, bearbeiten, löschen).',
140
+ 'Create a new subagent with guided setup.':
141
+ 'Neuen Unteragenten mit geführter Einrichtung erstellen.',
142
+
143
+ // ============================================================================
144
+ // Agents - Management Dialog
145
+ // ============================================================================
146
+ Agents: 'Agenten',
147
+ 'Choose Action': 'Aktion wählen',
148
+ 'Edit {{name}}': '{{name}} bearbeiten',
149
+ 'Edit Tools: {{name}}': 'Werkzeuge bearbeiten: {{name}}',
150
+ 'Edit Color: {{name}}': 'Farbe bearbeiten: {{name}}',
151
+ 'Delete {{name}}': '{{name}} löschen',
152
+ 'Unknown Step': 'Unbekannter Schritt',
153
+ 'Esc to close': 'Esc zum Schließen',
154
+ 'Enter to select, ↑↓ to navigate, Esc to close':
155
+ 'Enter zum Auswählen, ↑↓ zum Navigieren, Esc zum Schließen',
156
+ 'Esc to go back': 'Esc zum Zurückgehen',
157
+ 'Enter to confirm, Esc to cancel': 'Enter zum Bestätigen, Esc zum Abbrechen',
158
+ 'Enter to select, ↑↓ to navigate, Esc to go back':
159
+ 'Enter zum Auswählen, ↑↓ zum Navigieren, Esc zum Zurückgehen',
160
+ 'Enter to submit, Esc to go back': 'Enter zum Absenden, Esc zum Zurückgehen',
161
+ 'Invalid step: {{step}}': 'Ungültiger Schritt: {{step}}',
162
+ 'No subagents found.': 'Keine Unteragenten gefunden.',
163
+ "Use '/agents create' to create your first subagent.":
164
+ "Verwenden Sie '/agents create', um Ihren ersten Unteragenten zu erstellen.",
165
+ '(built-in)': '(integriert)',
166
+ '(overridden by project level agent)': '(überschrieben durch Projektagent)',
167
+ 'Project Level ({{path}})': 'Projektebene ({{path}})',
168
+ 'User Level ({{path}})': 'Benutzerebene ({{path}})',
169
+ 'Built-in Agents': 'Integrierte Agenten',
170
+ 'Extension Agents': 'Erweiterungs-Agenten',
171
+ 'Using: {{count}} agents': 'Verwendet: {{count}} Agenten',
172
+ 'View Agent': 'Agent anzeigen',
173
+ 'Edit Agent': 'Agent bearbeiten',
174
+ 'Delete Agent': 'Agent löschen',
175
+ Back: 'Zurück',
176
+ 'No agent selected': 'Kein Agent ausgewählt',
177
+ 'File Path: ': 'Dateipfad: ',
178
+ 'Tools: ': 'Werkzeuge: ',
179
+ 'Color: ': 'Farbe: ',
180
+ 'Description:': 'Beschreibung:',
181
+ 'System Prompt:': 'System-Prompt:',
182
+ 'Open in editor': 'Im Editor öffnen',
183
+ 'Edit tools': 'Werkzeuge bearbeiten',
184
+ 'Edit color': 'Farbe bearbeiten',
185
+ '❌ Error:': '❌ Fehler:',
186
+ 'Are you sure you want to delete agent "{{name}}"?':
187
+ 'Sind Sie sicher, dass Sie den Agenten "{{name}}" löschen möchten?',
188
+ // ============================================================================
189
+ // Agents - Creation Wizard
190
+ // ============================================================================
191
+ 'Project Level (.qwen/agents/)': 'Projektebene (.qwen/agents/)',
192
+ 'User Level (~/.qwen/agents/)': 'Benutzerebene (~/.qwen/agents/)',
193
+ '✅ Subagent Created Successfully!': '✅ Unteragent erfolgreich erstellt!',
194
+ 'Subagent "{{name}}" has been saved to {{level}} level.':
195
+ 'Unteragent "{{name}}" wurde auf {{level}}-Ebene gespeichert.',
196
+ 'Name: ': 'Name: ',
197
+ 'Location: ': 'Speicherort: ',
198
+ '❌ Error saving subagent:': '❌ Fehler beim Speichern des Unteragenten:',
199
+ 'Warnings:': 'Warnungen:',
200
+ 'Name "{{name}}" already exists at {{level}} level - will overwrite existing subagent':
201
+ 'Name "{{name}}" existiert bereits auf {{level}}-Ebene - bestehender Unteragent wird überschrieben',
202
+ 'Name "{{name}}" exists at user level - project level will take precedence':
203
+ 'Name "{{name}}" existiert auf Benutzerebene - Projektebene hat Vorrang',
204
+ 'Name "{{name}}" exists at project level - existing subagent will take precedence':
205
+ 'Name "{{name}}" existiert auf Projektebene - bestehender Unteragent hat Vorrang',
206
+ 'Description is over {{length}} characters':
207
+ 'Beschreibung ist über {{length}} Zeichen',
208
+ 'System prompt is over {{length}} characters':
209
+ 'System-Prompt ist über {{length}} Zeichen',
210
+ // Agents - Creation Wizard Steps
211
+ 'Step {{n}}: Choose Location': 'Schritt {{n}}: Speicherort wählen',
212
+ 'Step {{n}}: Choose Generation Method':
213
+ 'Schritt {{n}}: Generierungsmethode wählen',
214
+ 'Generate with Qwen Code (Recommended)':
215
+ 'Mit Qwen Code generieren (Empfohlen)',
216
+ 'Manual Creation': 'Manuelle Erstellung',
217
+ 'Describe what this subagent should do and when it should be used. (Be comprehensive for best results)':
218
+ 'Beschreiben Sie, was dieser Unteragent tun soll und wann er verwendet werden soll. (Ausführliche Beschreibung für beste Ergebnisse)',
219
+ 'e.g., Expert code reviewer that reviews code based on best practices...':
220
+ 'z.B. Experte für Code-Reviews, der Code nach Best Practices überprüft...',
221
+ 'Generating subagent configuration...':
222
+ 'Unteragent-Konfiguration wird generiert...',
223
+ 'Failed to generate subagent: {{error}}':
224
+ 'Fehler beim Generieren des Unteragenten: {{error}}',
225
+ 'Step {{n}}: Describe Your Subagent': 'Schritt {{n}}: Unteragent beschreiben',
226
+ 'Step {{n}}: Enter Subagent Name': 'Schritt {{n}}: Unteragent-Name eingeben',
227
+ 'Step {{n}}: Enter System Prompt': 'Schritt {{n}}: System-Prompt eingeben',
228
+ 'Step {{n}}: Enter Description': 'Schritt {{n}}: Beschreibung eingeben',
229
+ // Agents - Tool Selection
230
+ 'Step {{n}}: Select Tools': 'Schritt {{n}}: Werkzeuge auswählen',
231
+ 'All Tools (Default)': 'Alle Werkzeuge (Standard)',
232
+ 'All Tools': 'Alle Werkzeuge',
233
+ 'Read-only Tools': 'Nur-Lese-Werkzeuge',
234
+ 'Read & Edit Tools': 'Lese- und Bearbeitungswerkzeuge',
235
+ 'Read & Edit & Execution Tools':
236
+ 'Lese-, Bearbeitungs- und Ausführungswerkzeuge',
237
+ 'All tools selected, including MCP tools':
238
+ 'Alle Werkzeuge ausgewählt, einschließlich MCP-Werkzeuge',
239
+ 'Selected tools:': 'Ausgewählte Werkzeuge:',
240
+ 'Read-only tools:': 'Nur-Lese-Werkzeuge:',
241
+ 'Edit tools:': 'Bearbeitungswerkzeuge:',
242
+ 'Execution tools:': 'Ausführungswerkzeuge:',
243
+ 'Step {{n}}: Choose Background Color':
244
+ 'Schritt {{n}}: Hintergrundfarbe wählen',
245
+ 'Step {{n}}: Confirm and Save': 'Schritt {{n}}: Bestätigen und Speichern',
246
+ // Agents - Navigation & Instructions
247
+ 'Esc to cancel': 'Esc zum Abbrechen',
248
+ 'Press Enter to save, e to save and edit, Esc to go back':
249
+ 'Enter zum Speichern, e zum Speichern und Bearbeiten, Esc zum Zurückgehen',
250
+ 'Press Enter to continue, {{navigation}}Esc to {{action}}':
251
+ 'Enter zum Fortfahren, {{navigation}}Esc zum {{action}}',
252
+ cancel: 'Abbrechen',
253
+ 'go back': 'Zurückgehen',
254
+ '↑↓ to navigate, ': '↑↓ zum Navigieren, ',
255
+ 'Enter a clear, unique name for this subagent.':
256
+ 'Geben Sie einen eindeutigen Namen für diesen Unteragenten ein.',
257
+ 'e.g., Code Reviewer': 'z.B. Code-Reviewer',
258
+ 'Name cannot be empty.': 'Name darf nicht leer sein.',
259
+ "Write the system prompt that defines this subagent's behavior. Be comprehensive for best results.":
260
+ 'Schreiben Sie den System-Prompt, der das Verhalten dieses Unteragenten definiert. Ausführlich für beste Ergebnisse.',
261
+ 'e.g., You are an expert code reviewer...':
262
+ 'z.B. Sie sind ein Experte für Code-Reviews...',
263
+ 'System prompt cannot be empty.': 'System-Prompt darf nicht leer sein.',
264
+ 'Describe when and how this subagent should be used.':
265
+ 'Beschreiben Sie, wann und wie dieser Unteragent verwendet werden soll.',
266
+ 'e.g., Reviews code for best practices and potential bugs.':
267
+ 'z.B. Überprüft Code auf Best Practices und mögliche Fehler.',
268
+ 'Description cannot be empty.': 'Beschreibung darf nicht leer sein.',
269
+ 'Failed to launch editor: {{error}}':
270
+ 'Fehler beim Starten des Editors: {{error}}',
271
+ 'Failed to save and edit subagent: {{error}}':
272
+ 'Fehler beim Speichern und Bearbeiten des Unteragenten: {{error}}',
273
+
274
+ // ============================================================================
275
+ // Commands - General (continued)
276
+ // ============================================================================
277
+ 'View and edit Qwen Code settings':
278
+ 'Qwen Code Einstellungen anzeigen und bearbeiten',
279
+ Settings: 'Einstellungen',
280
+ 'To see changes, Qwen Code must be restarted. Press r to exit and apply changes now.':
281
+ 'Um Änderungen zu sehen, muss Qwen Code neu gestartet werden. Drücken Sie r, um jetzt zu beenden und Änderungen anzuwenden.',
282
+ 'The command "/{{command}}" is not supported in non-interactive mode.':
283
+ 'Der Befehl "/{{command}}" wird im nicht-interaktiven Modus nicht unterstützt.',
284
+ // ============================================================================
285
+ // Settings Labels
286
+ // ============================================================================
287
+ 'Vim Mode': 'Vim-Modus',
288
+ 'Disable Auto Update': 'Automatische Updates deaktivieren',
289
+ 'Attribution: commit': 'Attribution: Commit',
290
+ 'Terminal Bell Notification': 'Terminal-Signalton',
291
+ 'Enable Usage Statistics': 'Nutzungsstatistiken aktivieren',
292
+ Theme: 'Farbschema',
293
+ 'Preferred Editor': 'Bevorzugter Editor',
294
+ 'Auto-connect to IDE': 'Automatische Verbindung zur IDE',
295
+ 'Enable Prompt Completion': 'Eingabevervollständigung aktivieren',
296
+ 'Debug Keystroke Logging': 'Debug-Protokollierung von Tastatureingaben',
297
+ 'Language: UI': 'Sprache: Benutzeroberfläche',
298
+ 'Language: Model': 'Sprache: Modell',
299
+ 'Output Format': 'Ausgabeformat',
300
+ 'Hide Window Title': 'Fenstertitel ausblenden',
301
+ 'Show Status in Title': 'Status im Titel anzeigen',
302
+ 'Hide Tips': 'Tipps ausblenden',
303
+ 'Show Line Numbers in Code': 'Zeilennummern im Code anzeigen',
304
+ 'Show Citations': 'Quellenangaben anzeigen',
305
+ 'Custom Witty Phrases': 'Benutzerdefinierte Witzige Sprüche',
306
+ 'Show Welcome Back Dialog': 'Willkommen-zurück-Dialog anzeigen',
307
+ 'Enable User Feedback': 'Benutzerfeedback aktivieren',
308
+ 'How is Qwen doing this session? (optional)':
309
+ 'Wie macht sich Qwen in dieser Sitzung? (optional)',
310
+ Bad: 'Schlecht',
311
+ Fine: 'In Ordnung',
312
+ Good: 'Gut',
313
+ Dismiss: 'Ignorieren',
314
+ 'Not Sure Yet': 'Noch nicht sicher',
315
+ 'Any other key': 'Beliebige andere Taste',
316
+ 'Disable Loading Phrases': 'Ladesprüche deaktivieren',
317
+ 'Screen Reader Mode': 'Bildschirmleser-Modus',
318
+ 'IDE Mode': 'IDE-Modus',
319
+ 'Max Session Turns': 'Maximale Sitzungsrunden',
320
+ 'Skip Next Speaker Check': 'Nächste-Sprecher-Prüfung überspringen',
321
+ 'Skip Loop Detection': 'Schleifenerkennung überspringen',
322
+ 'Skip Startup Context': 'Startkontext überspringen',
323
+ 'Enable OpenAI Logging': 'OpenAI-Protokollierung aktivieren',
324
+ 'OpenAI Logging Directory': 'OpenAI-Protokollierungsverzeichnis',
325
+ Timeout: 'Zeitlimit',
326
+ 'Max Retries': 'Maximale Wiederholungen',
327
+ 'Disable Cache Control': 'Cache-Steuerung deaktivieren',
328
+ 'Memory Discovery Max Dirs': 'Maximale Verzeichnisse für Speichererkennung',
329
+ 'Load Memory From Include Directories':
330
+ 'Speicher aus Include-Verzeichnissen laden',
331
+ 'Respect .gitignore': '.gitignore beachten',
332
+ 'Respect .qwenignore': '.qwenignore beachten',
333
+ 'Enable Recursive File Search': 'Rekursive Dateisuche aktivieren',
334
+ 'Disable Fuzzy Search': 'Unscharfe Suche deaktivieren',
335
+ 'Interactive Shell (PTY)': 'Interaktive Shell (PTY)',
336
+ 'Show Color': 'Farbe anzeigen',
337
+ 'Auto Accept': 'Automatisch akzeptieren',
338
+ 'Use Ripgrep': 'Ripgrep verwenden',
339
+ 'Use Builtin Ripgrep': 'Integriertes Ripgrep verwenden',
340
+ 'Enable Tool Output Truncation': 'Werkzeugausgabe-Kürzung aktivieren',
341
+ 'Tool Output Truncation Threshold':
342
+ 'Schwellenwert für Werkzeugausgabe-Kürzung',
343
+ 'Tool Output Truncation Lines': 'Zeilen für Werkzeugausgabe-Kürzung',
344
+ 'Folder Trust': 'Ordnervertrauen',
345
+ 'Vision Model Preview': 'Vision-Modell-Vorschau',
346
+ 'Tool Schema Compliance': 'Werkzeug-Schema-Konformität',
347
+ // Settings enum options
348
+ 'Auto (detect from system)': 'Automatisch (vom System erkennen)',
349
+ Text: 'Text',
350
+ JSON: 'JSON',
351
+ Plan: 'Plan',
352
+ Default: 'Standard',
353
+ 'Auto Edit': 'Automatisch bearbeiten',
354
+ YOLO: 'YOLO',
355
+ 'toggle vim mode on/off': 'Vim-Modus ein-/ausschalten',
356
+ 'check session stats. Usage: /stats [model|tools]':
357
+ 'Sitzungsstatistiken prüfen. Verwendung: /stats [model|tools]',
358
+ 'Show model-specific usage statistics.':
359
+ 'Modellspezifische Nutzungsstatistiken anzeigen.',
360
+ 'Show tool-specific usage statistics.':
361
+ 'Werkzeugspezifische Nutzungsstatistiken anzeigen.',
362
+ 'exit the cli': 'CLI beenden',
363
+ 'Open MCP management dialog, or authenticate with OAuth-enabled servers':
364
+ 'MCP-Verwaltungsdialog öffnen oder mit OAuth-fähigem Server authentifizieren',
365
+ 'List configured MCP servers and tools, or authenticate with OAuth-enabled servers':
366
+ 'Konfigurierte MCP-Server und Werkzeuge auflisten oder mit OAuth-fähigen Servern authentifizieren',
367
+ 'Manage workspace directories': 'Arbeitsbereichsverzeichnisse verwalten',
368
+ 'Add directories to the workspace. Use comma to separate multiple paths':
369
+ 'Verzeichnisse zum Arbeitsbereich hinzufügen. Komma zum Trennen mehrerer Pfade verwenden',
370
+ 'Show all directories in the workspace':
371
+ 'Alle Verzeichnisse im Arbeitsbereich anzeigen',
372
+ 'set external editor preference': 'Externen Editor festlegen',
373
+ 'Select Editor': 'Editor auswählen',
374
+ 'Editor Preference': 'Editor-Einstellung',
375
+ 'These editors are currently supported. Please note that some editors cannot be used in sandbox mode.':
376
+ 'Diese Editoren werden derzeit unterstützt. Bitte beachten Sie, dass einige Editoren nicht im Sandbox-Modus verwendet werden können.',
377
+ 'Your preferred editor is:': 'Ihr bevorzugter Editor ist:',
378
+ 'Manage extensions': 'Erweiterungen verwalten',
379
+ 'List active extensions': 'Aktive Erweiterungen auflisten',
380
+ 'Update extensions. Usage: update <extension-names>|--all':
381
+ 'Erweiterungen aktualisieren. Verwendung: update <Erweiterungsnamen>|--all',
382
+ 'Disable an extension': 'Erweiterung deaktivieren',
383
+ 'Enable an extension': 'Erweiterung aktivieren',
384
+ 'Install an extension from a git repo or local path':
385
+ 'Erweiterung aus Git-Repository oder lokalem Pfad installieren',
386
+ 'Uninstall an extension': 'Erweiterung deinstallieren',
387
+ 'No extensions installed.': 'Keine Erweiterungen installiert.',
388
+ 'Usage: /extensions update <extension-names>|--all':
389
+ 'Verwendung: /extensions update <Erweiterungsnamen>|--all',
390
+ 'Extension "{{name}}" not found.': 'Erweiterung "{{name}}" nicht gefunden.',
391
+ 'No extensions to update.': 'Keine Erweiterungen zum Aktualisieren.',
392
+ 'Usage: /extensions install <source>':
393
+ 'Verwendung: /extensions install <Quelle>',
394
+ 'Installing extension from "{{source}}"...':
395
+ 'Installiere Erweiterung von "{{source}}"...',
396
+ 'Extension "{{name}}" installed successfully.':
397
+ 'Erweiterung "{{name}}" erfolgreich installiert.',
398
+ 'Failed to install extension from "{{source}}": {{error}}':
399
+ 'Fehler beim Installieren der Erweiterung von "{{source}}": {{error}}',
400
+ 'Usage: /extensions uninstall <extension-name>':
401
+ 'Verwendung: /extensions uninstall <Erweiterungsname>',
402
+ 'Uninstalling extension "{{name}}"...':
403
+ 'Deinstalliere Erweiterung "{{name}}"...',
404
+ 'Extension "{{name}}" uninstalled successfully.':
405
+ 'Erweiterung "{{name}}" erfolgreich deinstalliert.',
406
+ 'Failed to uninstall extension "{{name}}": {{error}}':
407
+ 'Fehler beim Deinstallieren der Erweiterung "{{name}}": {{error}}',
408
+ 'Usage: /extensions {{command}} <extension> [--scope=<user|workspace>]':
409
+ 'Verwendung: /extensions {{command}} <Erweiterung> [--scope=<user|workspace>]',
410
+ 'Unsupported scope "{{scope}}", should be one of "user" or "workspace"':
411
+ 'Nicht unterstützter Bereich "{{scope}}", sollte "user" oder "workspace" sein',
412
+ 'Extension "{{name}}" disabled for scope "{{scope}}"':
413
+ 'Erweiterung "{{name}}" für Bereich "{{scope}}" deaktiviert',
414
+ 'Extension "{{name}}" enabled for scope "{{scope}}"':
415
+ 'Erweiterung "{{name}}" für Bereich "{{scope}}" aktiviert',
416
+ 'Do you want to continue? [Y/n]: ': 'Möchten Sie fortfahren? [Y/n]: ',
417
+ 'Do you want to continue?': 'Möchten Sie fortfahren?',
418
+ 'Installing extension "{{name}}".':
419
+ 'Erweiterung "{{name}}" wird installiert.',
420
+ '**Extensions may introduce unexpected behavior. Ensure you have investigated the extension source and trust the author.**':
421
+ '**Erweiterungen können unerwartetes Verhalten verursachen. Stellen Sie sicher, dass Sie die Erweiterungsquelle untersucht haben und dem Autor vertrauen.**',
422
+ 'This extension will run the following MCP servers:':
423
+ 'Diese Erweiterung wird folgende MCP-Server ausführen:',
424
+ local: 'lokal',
425
+ remote: 'remote',
426
+ 'This extension will add the following commands: {{commands}}.':
427
+ 'Diese Erweiterung wird folgende Befehle hinzufügen: {{commands}}.',
428
+ 'This extension will append info to your QWEN.md context using {{fileName}}':
429
+ 'Diese Erweiterung wird Informationen zu Ihrem QWEN.md-Kontext mit {{fileName}} hinzufügen',
430
+ 'This extension will exclude the following core tools: {{tools}}':
431
+ 'Diese Erweiterung wird folgende Kernwerkzeuge ausschließen: {{tools}}',
432
+ 'This extension will install the following skills:':
433
+ 'Diese Erweiterung wird folgende Fähigkeiten installieren:',
434
+ 'This extension will install the following subagents:':
435
+ 'Diese Erweiterung wird folgende Unteragenten installieren:',
436
+ 'Installation cancelled for "{{name}}".':
437
+ 'Installation von "{{name}}" abgebrochen.',
438
+ 'You are installing an extension from {{originSource}}. Some features may not work perfectly with Qwen Code.':
439
+ 'Sie installieren eine Erweiterung von {{originSource}}. Einige Funktionen funktionieren möglicherweise nicht perfekt mit Qwen Code.',
440
+ '--ref and --auto-update are not applicable for marketplace extensions.':
441
+ '--ref und --auto-update sind nicht anwendbar für Marketplace-Erweiterungen.',
442
+ 'Extension "{{name}}" installed successfully and enabled.':
443
+ 'Erweiterung "{{name}}" erfolgreich installiert und aktiviert.',
444
+ 'Installs an extension from a git repository URL, local path, or claude marketplace (marketplace-url:plugin-name).':
445
+ 'Installiert eine Erweiterung von einer Git-Repository-URL, einem lokalen Pfad oder dem Claude-Marketplace (marketplace-url:plugin-name).',
446
+ 'The github URL, local path, or marketplace source (marketplace-url:plugin-name) of the extension to install.':
447
+ 'Die GitHub-URL, der lokale Pfad oder die Marketplace-Quelle (marketplace-url:plugin-name) der zu installierenden Erweiterung.',
448
+ 'The git ref to install from.': 'Die Git-Referenz für die Installation.',
449
+ 'Enable auto-update for this extension.':
450
+ 'Automatisches Update für diese Erweiterung aktivieren.',
451
+ 'Enable pre-release versions for this extension.':
452
+ 'Pre-Release-Versionen für diese Erweiterung aktivieren.',
453
+ 'Acknowledge the security risks of installing an extension and skip the confirmation prompt.':
454
+ 'Sicherheitsrisiken der Erweiterungsinstallation bestätigen und Bestätigungsaufforderung überspringen.',
455
+ 'The source argument must be provided.':
456
+ 'Das Quellargument muss angegeben werden.',
457
+ 'Extension "{{name}}" successfully uninstalled.':
458
+ 'Erweiterung "{{name}}" erfolgreich deinstalliert.',
459
+ 'Uninstalls an extension.': 'Deinstalliert eine Erweiterung.',
460
+ 'The name or source path of the extension to uninstall.':
461
+ 'Der Name oder Quellpfad der zu deinstallierenden Erweiterung.',
462
+ 'Please include the name of the extension to uninstall as a positional argument.':
463
+ 'Bitte geben Sie den Namen der zu deinstallierenden Erweiterung als Positionsargument an.',
464
+ 'Enables an extension.': 'Aktiviert eine Erweiterung.',
465
+ 'The name of the extension to enable.':
466
+ 'Der Name der zu aktivierenden Erweiterung.',
467
+ 'The scope to enable the extenison in. If not set, will be enabled in all scopes.':
468
+ 'Der Bereich, in dem die Erweiterung aktiviert werden soll. Wenn nicht gesetzt, wird sie in allen Bereichen aktiviert.',
469
+ 'Extension "{{name}}" successfully enabled for scope "{{scope}}".':
470
+ 'Erweiterung "{{name}}" erfolgreich für Bereich "{{scope}}" aktiviert.',
471
+ 'Extension "{{name}}" successfully enabled in all scopes.':
472
+ 'Erweiterung "{{name}}" erfolgreich in allen Bereichen aktiviert.',
473
+ 'Invalid scope: {{scope}}. Please use one of {{scopes}}.':
474
+ 'Ungültiger Bereich: {{scope}}. Bitte verwenden Sie einen von {{scopes}}.',
475
+ 'Disables an extension.': 'Deaktiviert eine Erweiterung.',
476
+ 'The name of the extension to disable.':
477
+ 'Der Name der zu deaktivierenden Erweiterung.',
478
+ 'The scope to disable the extenison in.':
479
+ 'Der Bereich, in dem die Erweiterung deaktiviert werden soll.',
480
+ 'Extension "{{name}}" successfully disabled for scope "{{scope}}".':
481
+ 'Erweiterung "{{name}}" erfolgreich für Bereich "{{scope}}" deaktiviert.',
482
+ 'Extension "{{name}}" successfully updated: {{oldVersion}} → {{newVersion}}.':
483
+ 'Erweiterung "{{name}}" erfolgreich aktualisiert: {{oldVersion}} → {{newVersion}}.',
484
+ 'Unable to install extension "{{name}}" due to missing install metadata':
485
+ 'Erweiterung "{{name}}" kann aufgrund fehlender Installationsmetadaten nicht installiert werden',
486
+ 'Extension "{{name}}" is already up to date.':
487
+ 'Erweiterung "{{name}}" ist bereits aktuell.',
488
+ 'Updates all extensions or a named extension to the latest version.':
489
+ 'Aktualisiert alle Erweiterungen oder eine benannte Erweiterung auf die neueste Version.',
490
+ 'The name of the extension to update.':
491
+ 'Der Name der zu aktualisierenden Erweiterung.',
492
+ 'Update all extensions.': 'Alle Erweiterungen aktualisieren.',
493
+ 'Either an extension name or --all must be provided':
494
+ 'Entweder ein Erweiterungsname oder --all muss angegeben werden',
495
+ 'Lists installed extensions.': 'Listet installierte Erweiterungen auf.',
496
+ 'Path:': 'Pfad:',
497
+ 'Source:': 'Quelle:',
498
+ 'Type:': 'Typ:',
499
+ 'Ref:': 'Ref:',
500
+ 'Release tag:': 'Release-Tag:',
501
+ 'Enabled (User):': 'Aktiviert (Benutzer):',
502
+ 'Enabled (Workspace):': 'Aktiviert (Arbeitsbereich):',
503
+ 'Context files:': 'Kontextdateien:',
504
+ 'Skills:': 'Skills:',
505
+ 'Agents:': 'Agents:',
506
+ 'MCP servers:': 'MCP-Server:',
507
+ 'Link extension failed to install.':
508
+ 'Verknüpfte Erweiterung konnte nicht installiert werden.',
509
+ 'Extension "{{name}}" linked successfully and enabled.':
510
+ 'Erweiterung "{{name}}" erfolgreich verknüpft und aktiviert.',
511
+ 'Links an extension from a local path. Updates made to the local path will always be reflected.':
512
+ 'Verknüpft eine Erweiterung von einem lokalen Pfad. Änderungen am lokalen Pfad werden immer widergespiegelt.',
513
+ 'The name of the extension to link.':
514
+ 'Der Name der zu verknüpfenden Erweiterung.',
515
+ 'Set a specific setting for an extension.':
516
+ 'Legt eine bestimmte Einstellung für eine Erweiterung fest.',
517
+ 'Name of the extension to configure.':
518
+ 'Name der zu konfigurierenden Erweiterung.',
519
+ 'The setting to configure (name or env var).':
520
+ 'Die zu konfigurierende Einstellung (Name oder Umgebungsvariable).',
521
+ 'The scope to set the setting in.':
522
+ 'Der Bereich, in dem die Einstellung gesetzt werden soll.',
523
+ 'List all settings for an extension.':
524
+ 'Listet alle Einstellungen einer Erweiterung auf.',
525
+ 'Name of the extension.': 'Name der Erweiterung.',
526
+ 'Extension "{{name}}" has no settings to configure.':
527
+ 'Erweiterung "{{name}}" hat keine zu konfigurierenden Einstellungen.',
528
+ 'Settings for "{{name}}":': 'Einstellungen für "{{name}}":',
529
+ '(workspace)': '(Arbeitsbereich)',
530
+ '(user)': '(Benutzer)',
531
+ '[not set]': '[nicht gesetzt]',
532
+ '[value stored in keychain]': '[Wert in Schlüsselbund gespeichert]',
533
+ 'Manage extension settings.': 'Erweiterungseinstellungen verwalten.',
534
+ 'You need to specify a command (set or list).':
535
+ 'Sie müssen einen Befehl angeben (set oder list).',
536
+ // ============================================================================
537
+ // Plugin Choice / Marketplace
538
+ // ============================================================================
539
+ 'No plugins available in this marketplace.':
540
+ 'In diesem Marktplatz sind keine Plugins verfügbar.',
541
+ 'Select a plugin to install from marketplace "{{name}}":':
542
+ 'Wählen Sie ein Plugin zur Installation aus Marktplatz "{{name}}":',
543
+ 'Plugin selection cancelled.': 'Plugin-Auswahl abgebrochen.',
544
+ 'Select a plugin from "{{name}}"': 'Plugin aus "{{name}}" auswählen',
545
+ 'Use ↑↓ or j/k to navigate, Enter to select, Escape to cancel':
546
+ 'Verwenden Sie ↑↓ oder j/k zum Navigieren, Enter zum Auswählen, Escape zum Abbrechen',
547
+ '{{count}} more above': '{{count}} weitere oben',
548
+ '{{count}} more below': '{{count}} weitere unten',
549
+ 'manage IDE integration': 'IDE-Integration verwalten',
550
+ 'check status of IDE integration': 'Status der IDE-Integration prüfen',
551
+ 'install required IDE companion for {{ideName}}':
552
+ 'Erforderlichen IDE-Begleiter für {{ideName}} installieren',
553
+ 'enable IDE integration': 'IDE-Integration aktivieren',
554
+ 'disable IDE integration': 'IDE-Integration deaktivieren',
555
+ 'IDE integration is not supported in your current environment. To use this feature, run Qwen Code in one of these supported IDEs: VS Code or VS Code forks.':
556
+ 'IDE-Integration wird in Ihrer aktuellen Umgebung nicht unterstützt. Um diese Funktion zu nutzen, führen Sie Qwen Code in einer dieser unterstützten IDEs aus: VS Code oder VS Code-Forks.',
557
+ 'Set up GitHub Actions': 'GitHub Actions einrichten',
558
+ 'Configure terminal keybindings for multiline input (VS Code, Cursor, Windsurf, Trae)':
559
+ 'Terminal-Tastenbelegungen für mehrzeilige Eingabe konfigurieren (VS Code, Cursor, Windsurf, Trae)',
560
+ 'Please restart your terminal for the changes to take effect.':
561
+ 'Bitte starten Sie Ihr Terminal neu, damit die Änderungen wirksam werden.',
562
+ 'Failed to configure terminal: {{error}}':
563
+ 'Fehler beim Konfigurieren des Terminals: {{error}}',
564
+ 'Could not determine {{terminalName}} config path on Windows: APPDATA environment variable is not set.':
565
+ 'Konnte {{terminalName}}-Konfigurationspfad unter Windows nicht ermitteln: APPDATA-Umgebungsvariable ist nicht gesetzt.',
566
+ '{{terminalName}} keybindings.json exists but is not a valid JSON array. Please fix the file manually or delete it to allow automatic configuration.':
567
+ '{{terminalName}} keybindings.json existiert, ist aber kein gültiges JSON-Array. Bitte korrigieren Sie die Datei manuell oder löschen Sie sie, um automatische Konfiguration zu ermöglichen.',
568
+ 'File: {{file}}': 'Datei: {{file}}',
569
+ 'Failed to parse {{terminalName}} keybindings.json. The file contains invalid JSON. Please fix the file manually or delete it to allow automatic configuration.':
570
+ 'Fehler beim Parsen von {{terminalName}} keybindings.json. Die Datei enthält ungültiges JSON. Bitte korrigieren Sie die Datei manuell oder löschen Sie sie, um automatische Konfiguration zu ermöglichen.',
571
+ 'Error: {{error}}': 'Fehler: {{error}}',
572
+ 'Shift+Enter binding already exists':
573
+ 'Umschalt+Enter-Belegung existiert bereits',
574
+ 'Ctrl+Enter binding already exists': 'Strg+Enter-Belegung existiert bereits',
575
+ 'Existing keybindings detected. Will not modify to avoid conflicts.':
576
+ 'Bestehende Tastenbelegungen erkannt. Keine Änderungen, um Konflikte zu vermeiden.',
577
+ 'Please check and modify manually if needed: {{file}}':
578
+ 'Bitte prüfen und bei Bedarf manuell ändern: {{file}}',
579
+ 'Added Shift+Enter and Ctrl+Enter keybindings to {{terminalName}}.':
580
+ 'Umschalt+Enter und Strg+Enter Tastenbelegungen zu {{terminalName}} hinzugefügt.',
581
+ 'Modified: {{file}}': 'Geändert: {{file}}',
582
+ '{{terminalName}} keybindings already configured.':
583
+ '{{terminalName}}-Tastenbelegungen bereits konfiguriert.',
584
+ 'Failed to configure {{terminalName}}.':
585
+ 'Fehler beim Konfigurieren von {{terminalName}}.',
586
+ 'Your terminal is already configured for an optimal experience with multiline input (Shift+Enter and Ctrl+Enter).':
587
+ 'Ihr Terminal ist bereits für optimale Erfahrung mit mehrzeiliger Eingabe konfiguriert (Umschalt+Enter und Strg+Enter).',
588
+ 'Could not detect terminal type. Supported terminals: VS Code, Cursor, Windsurf, and Trae.':
589
+ 'Terminal-Typ konnte nicht erkannt werden. Unterstützte Terminals: VS Code, Cursor, Windsurf und Trae.',
590
+ 'Terminal "{{terminal}}" is not supported yet.':
591
+ 'Terminal "{{terminal}}" wird noch nicht unterstützt.',
592
+
593
+ // ============================================================================
594
+ // Commands - Language
595
+ // ============================================================================
596
+ 'Invalid language. Available: {{options}}':
597
+ 'Ungültige Sprache. Verfügbar: {{options}}',
598
+ 'Language subcommands do not accept additional arguments.':
599
+ 'Sprach-Unterbefehle akzeptieren keine zusätzlichen Argumente.',
600
+ 'Current UI language: {{lang}}': 'Aktuelle UI-Sprache: {{lang}}',
601
+ 'Current LLM output language: {{lang}}':
602
+ 'Aktuelle LLM-Ausgabesprache: {{lang}}',
603
+ 'LLM output language not set': 'LLM-Ausgabesprache nicht festgelegt',
604
+ 'Set UI language': 'UI-Sprache festlegen',
605
+ 'Set LLM output language': 'LLM-Ausgabesprache festlegen',
606
+ 'Usage: /language ui [{{options}}]': 'Verwendung: /language ui [{{options}}]',
607
+ 'Usage: /language output <language>':
608
+ 'Verwendung: /language output <Sprache>',
609
+ 'Example: /language output 中文': 'Beispiel: /language output Deutsch',
610
+ 'Example: /language output English': 'Beispiel: /language output Englisch',
611
+ 'Example: /language output 日本語': 'Beispiel: /language output Japanisch',
612
+ 'Example: /language output Português':
613
+ 'Beispiel: /language output Portugiesisch',
614
+ 'UI language changed to {{lang}}': 'UI-Sprache geändert zu {{lang}}',
615
+ 'LLM output language set to {{lang}}':
616
+ 'LLM-Ausgabesprache auf {{lang}} gesetzt',
617
+ 'LLM output language rule file generated at {{path}}':
618
+ 'LLM-Ausgabesprach-Regeldatei generiert unter {{path}}',
619
+ 'Please restart the application for the changes to take effect.':
620
+ 'Bitte starten Sie die Anwendung neu, damit die Änderungen wirksam werden.',
621
+ 'Failed to generate LLM output language rule file: {{error}}':
622
+ 'Fehler beim Generieren der LLM-Ausgabesprach-Regeldatei: {{error}}',
623
+ 'Invalid command. Available subcommands:':
624
+ 'Ungültiger Befehl. Verfügbare Unterbefehle:',
625
+ 'Available subcommands:': 'Verfügbare Unterbefehle:',
626
+ 'To request additional UI language packs, please open an issue on GitHub.':
627
+ 'Um zusätzliche UI-Sprachpakete anzufordern, öffnen Sie bitte ein Issue auf GitHub.',
628
+ 'Available options:': 'Verfügbare Optionen:',
629
+ 'Set UI language to {{name}}': 'UI-Sprache auf {{name}} setzen',
630
+
631
+ // ============================================================================
632
+ // Commands - Approval Mode
633
+ // ============================================================================
634
+ 'Tool Approval Mode': 'Werkzeug-Genehmigungsmodus',
635
+ 'Current approval mode: {{mode}}': 'Aktueller Genehmigungsmodus: {{mode}}',
636
+ 'Available approval modes:': 'Verfügbare Genehmigungsmodi:',
637
+ 'Approval mode changed to: {{mode}}':
638
+ 'Genehmigungsmodus geändert zu: {{mode}}',
639
+ 'Approval mode changed to: {{mode}} (saved to {{scope}} settings{{location}})':
640
+ 'Genehmigungsmodus geändert zu: {{mode}} (gespeichert in {{scope}} Einstellungen{{location}})',
641
+ 'Usage: /approval-mode <mode> [--session|--user|--project]':
642
+ 'Verwendung: /approval-mode <Modus> [--session|--user|--project]',
643
+
644
+ 'Scope subcommands do not accept additional arguments.':
645
+ 'Bereichs-Unterbefehle akzeptieren keine zusätzlichen Argumente.',
646
+ 'Plan mode - Analyze only, do not modify files or execute commands':
647
+ 'Planungsmodus - Nur analysieren, keine Dateien ändern oder Befehle ausführen',
648
+ 'Default mode - Require approval for file edits or shell commands':
649
+ 'Standardmodus - Genehmigung für Dateibearbeitungen oder Shell-Befehle erforderlich',
650
+ 'Auto-edit mode - Automatically approve file edits':
651
+ 'Automatischer Bearbeitungsmodus - Dateibearbeitungen automatisch genehmigen',
652
+ 'YOLO mode - Automatically approve all tools':
653
+ 'YOLO-Modus - Alle Werkzeuge automatisch genehmigen',
654
+ '{{mode}} mode': '{{mode}}-Modus',
655
+ 'Settings service is not available; unable to persist the approval mode.':
656
+ 'Einstellungsdienst nicht verfügbar; Genehmigungsmodus kann nicht gespeichert werden.',
657
+ 'Failed to save approval mode: {{error}}':
658
+ 'Fehler beim Speichern des Genehmigungsmodus: {{error}}',
659
+ 'Failed to change approval mode: {{error}}':
660
+ 'Fehler beim Ändern des Genehmigungsmodus: {{error}}',
661
+ 'Apply to current session only (temporary)':
662
+ 'Nur auf aktuelle Sitzung anwenden (temporär)',
663
+ 'Persist for this project/workspace':
664
+ 'Für dieses Projekt/Arbeitsbereich speichern',
665
+ 'Persist for this user on this machine':
666
+ 'Für diesen Benutzer auf diesem Computer speichern',
667
+ 'Analyze only, do not modify files or execute commands':
668
+ 'Nur analysieren, keine Dateien ändern oder Befehle ausführen',
669
+ 'Require approval for file edits or shell commands':
670
+ 'Genehmigung für Dateibearbeitungen oder Shell-Befehle erforderlich',
671
+ 'Automatically approve file edits':
672
+ 'Dateibearbeitungen automatisch genehmigen',
673
+ 'Automatically approve all tools': 'Alle Werkzeuge automatisch genehmigen',
674
+ 'Workspace approval mode exists and takes priority. User-level change will have no effect.':
675
+ 'Arbeitsbereich-Genehmigungsmodus existiert und hat Vorrang. Benutzerebene-Änderung hat keine Wirkung.',
676
+ 'Apply To': 'Anwenden auf',
677
+ 'User Settings': 'Benutzereinstellungen',
678
+ 'Workspace Settings': 'Arbeitsbereich-Einstellungen',
679
+
680
+ // ============================================================================
681
+ // Commands - Memory
682
+ // ============================================================================
683
+ 'Commands for interacting with memory.':
684
+ 'Befehle für die Interaktion mit dem Speicher.',
685
+ 'Show the current memory contents.': 'Aktuellen Speicherinhalt anzeigen.',
686
+ 'Show project-level memory contents.':
687
+ 'Projektebene-Speicherinhalt anzeigen.',
688
+ 'Show global memory contents.': 'Globalen Speicherinhalt anzeigen.',
689
+ 'Add content to project-level memory.':
690
+ 'Inhalt zum Projektebene-Speicher hinzufügen.',
691
+ 'Add content to global memory.': 'Inhalt zum globalen Speicher hinzufügen.',
692
+ 'Refresh the memory from the source.':
693
+ 'Speicher aus der Quelle aktualisieren.',
694
+ 'Usage: /memory add --project <text to remember>':
695
+ 'Verwendung: /memory add --project <zu merkender Text>',
696
+ 'Usage: /memory add --global <text to remember>':
697
+ 'Verwendung: /memory add --global <zu merkender Text>',
698
+ 'Attempting to save to project memory: "{{text}}"':
699
+ 'Versuche im Projektspeicher zu speichern: "{{text}}"',
700
+ 'Attempting to save to global memory: "{{text}}"':
701
+ 'Versuche im globalen Speicher zu speichern: "{{text}}"',
702
+ 'Current memory content from {{count}} file(s):':
703
+ 'Aktueller Speicherinhalt aus {{count}} Datei(en):',
704
+ 'Memory is currently empty.': 'Speicher ist derzeit leer.',
705
+ 'Project memory file not found or is currently empty.':
706
+ 'Projektspeicherdatei nicht gefunden oder derzeit leer.',
707
+ 'Global memory file not found or is currently empty.':
708
+ 'Globale Speicherdatei nicht gefunden oder derzeit leer.',
709
+ 'Global memory is currently empty.': 'Globaler Speicher ist derzeit leer.',
710
+ 'Global memory content:\n\n---\n{{content}}\n---':
711
+ 'Globaler Speicherinhalt:\n\n---\n{{content}}\n---',
712
+ 'Project memory content from {{path}}:\n\n---\n{{content}}\n---':
713
+ 'Projektspeicherinhalt von {{path}}:\n\n---\n{{content}}\n---',
714
+ 'Project memory is currently empty.': 'Projektspeicher ist derzeit leer.',
715
+ 'Refreshing memory from source files...':
716
+ 'Speicher wird aus Quelldateien aktualisiert...',
717
+ 'Add content to the memory. Use --global for global memory or --project for project memory.':
718
+ 'Inhalt zum Speicher hinzufügen. --global für globalen Speicher oder --project für Projektspeicher verwenden.',
719
+ 'Usage: /memory add [--global|--project] <text to remember>':
720
+ 'Verwendung: /memory add [--global|--project] <zu merkender Text>',
721
+ 'Attempting to save to memory {{scope}}: "{{fact}}"':
722
+ 'Versuche im Speicher {{scope}} zu speichern: "{{fact}}"',
723
+
724
+ // ============================================================================
725
+ // Commands - MCP
726
+ // ============================================================================
727
+ 'Authenticate with an OAuth-enabled MCP server':
728
+ 'Mit einem OAuth-fähigen MCP-Server authentifizieren',
729
+ 'List configured MCP servers and tools':
730
+ 'Konfigurierte MCP-Server und Werkzeuge auflisten',
731
+ 'Restarts MCP servers.': 'MCP-Server neu starten.',
732
+ 'Config not loaded.': 'Konfiguration nicht geladen.',
733
+ 'Could not retrieve tool registry.':
734
+ 'Werkzeugregister konnte nicht abgerufen werden.',
735
+ 'No MCP servers configured with OAuth authentication.':
736
+ 'Keine MCP-Server mit OAuth-Authentifizierung konfiguriert.',
737
+ 'MCP servers with OAuth authentication:':
738
+ 'MCP-Server mit OAuth-Authentifizierung:',
739
+ 'Use /mcp auth <server-name> to authenticate.':
740
+ 'Verwenden Sie /mcp auth <Servername> zur Authentifizierung.',
741
+ "MCP server '{{name}}' not found.": "MCP-Server '{{name}}' nicht gefunden.",
742
+ "Successfully authenticated and refreshed tools for '{{name}}'.":
743
+ "Erfolgreich authentifiziert und Werkzeuge für '{{name}}' aktualisiert.",
744
+ "Failed to authenticate with MCP server '{{name}}': {{error}}":
745
+ "Authentifizierung mit MCP-Server '{{name}}' fehlgeschlagen: {{error}}",
746
+ "Re-discovering tools from '{{name}}'...":
747
+ "Werkzeuge von '{{name}}' werden neu erkannt...",
748
+ "Discovered {{count}} tool(s) from '{{name}}'.":
749
+ "{{count}} Werkzeug(e) von '{{name}}' entdeckt.",
750
+ 'Authentication complete. Returning to server details...':
751
+ 'Authentifizierung abgeschlossen. Zurück zu den Serverdetails...',
752
+ 'Authentication successful.': 'Authentifizierung erfolgreich.',
753
+ 'If the browser does not open, copy and paste this URL into your browser:':
754
+ 'Falls der Browser sich nicht öffnet, kopieren Sie diese URL und fügen Sie sie in Ihren Browser ein:',
755
+ 'Make sure to copy the COMPLETE URL - it may wrap across multiple lines.':
756
+ '⚠️ Stellen Sie sicher, dass Sie die VOLLSTÄNDIGE URL kopieren – sie kann über mehrere Zeilen gehen.',
757
+
758
+ // ============================================================================
759
+ // Commands - Chat
760
+ // ============================================================================
761
+ 'Manage conversation history.': 'Gesprächsverlauf verwalten.',
762
+ 'List saved conversation checkpoints':
763
+ 'Gespeicherte Gesprächsprüfpunkte auflisten',
764
+ 'No saved conversation checkpoints found.':
765
+ 'Keine gespeicherten Gesprächsprüfpunkte gefunden.',
766
+ 'List of saved conversations:': 'Liste gespeicherter Gespräche:',
767
+ 'Note: Newest last, oldest first': 'Hinweis: Neueste zuletzt, älteste zuerst',
768
+ 'Save the current conversation as a checkpoint. Usage: /chat save <tag>':
769
+ 'Aktuelles Gespräch als Prüfpunkt speichern. Verwendung: /chat save <Tag>',
770
+ 'Missing tag. Usage: /chat save <tag>':
771
+ 'Tag fehlt. Verwendung: /chat save <Tag>',
772
+ 'Delete a conversation checkpoint. Usage: /chat delete <tag>':
773
+ 'Gesprächsprüfpunkt löschen. Verwendung: /chat delete <Tag>',
774
+ 'Missing tag. Usage: /chat delete <tag>':
775
+ 'Tag fehlt. Verwendung: /chat delete <Tag>',
776
+ "Conversation checkpoint '{{tag}}' has been deleted.":
777
+ "Gesprächsprüfpunkt '{{tag}}' wurde gelöscht.",
778
+ "Error: No checkpoint found with tag '{{tag}}'.":
779
+ "Fehler: Kein Prüfpunkt mit Tag '{{tag}}' gefunden.",
780
+ 'Resume a conversation from a checkpoint. Usage: /chat resume <tag>':
781
+ 'Gespräch von einem Prüfpunkt fortsetzen. Verwendung: /chat resume <Tag>',
782
+ 'Missing tag. Usage: /chat resume <tag>':
783
+ 'Tag fehlt. Verwendung: /chat resume <Tag>',
784
+ 'No saved checkpoint found with tag: {{tag}}.':
785
+ 'Kein gespeicherter Prüfpunkt mit Tag gefunden: {{tag}}.',
786
+ 'A checkpoint with the tag {{tag}} already exists. Do you want to overwrite it?':
787
+ 'Ein Prüfpunkt mit dem Tag {{tag}} existiert bereits. Möchten Sie ihn überschreiben?',
788
+ 'No chat client available to save conversation.':
789
+ 'Kein Chat-Client verfügbar, um Gespräch zu speichern.',
790
+ 'Conversation checkpoint saved with tag: {{tag}}.':
791
+ 'Gesprächsprüfpunkt gespeichert mit Tag: {{tag}}.',
792
+ 'No conversation found to save.': 'Kein Gespräch zum Speichern gefunden.',
793
+ 'No chat client available to share conversation.':
794
+ 'Kein Chat-Client verfügbar, um Gespräch zu teilen.',
795
+ 'Invalid file format. Only .md and .json are supported.':
796
+ 'Ungültiges Dateiformat. Nur .md und .json werden unterstützt.',
797
+ 'Error sharing conversation: {{error}}':
798
+ 'Fehler beim Teilen des Gesprächs: {{error}}',
799
+ 'Conversation shared to {{filePath}}': 'Gespräch geteilt nach {{filePath}}',
800
+ 'No conversation found to share.': 'Kein Gespräch zum Teilen gefunden.',
801
+ 'Share the current conversation to a markdown or json file. Usage: /chat share <file>':
802
+ 'Aktuelles Gespräch in eine Markdown- oder JSON-Datei teilen. Verwendung: /chat share <Datei>',
803
+
804
+ // ============================================================================
805
+ // Commands - Summary
806
+ // ============================================================================
807
+ 'Generate a project summary and save it to .qwen/PROJECT_SUMMARY.md':
808
+ 'Projektzusammenfassung generieren und in .qwen/PROJECT_SUMMARY.md speichern',
809
+ 'No chat client available to generate summary.':
810
+ 'Kein Chat-Client verfügbar, um Zusammenfassung zu generieren.',
811
+ 'Already generating summary, wait for previous request to complete':
812
+ 'Zusammenfassung wird bereits generiert, warten Sie auf Abschluss der vorherigen Anfrage',
813
+ 'No conversation found to summarize.':
814
+ 'Kein Gespräch zum Zusammenfassen gefunden.',
815
+ 'Failed to generate project context summary: {{error}}':
816
+ 'Fehler beim Generieren der Projektkontextzusammenfassung: {{error}}',
817
+ 'Saved project summary to {{filePathForDisplay}}.':
818
+ 'Projektzusammenfassung gespeichert unter {{filePathForDisplay}}.',
819
+ 'Saving project summary...': 'Projektzusammenfassung wird gespeichert...',
820
+ 'Generating project summary...': 'Projektzusammenfassung wird generiert...',
821
+ 'Failed to generate summary - no text content received from LLM response':
822
+ 'Fehler beim Generieren der Zusammenfassung - kein Textinhalt von LLM-Antwort erhalten',
823
+
824
+ // ============================================================================
825
+ // Commands - Model
826
+ // ============================================================================
827
+ 'Switch the model for this session': 'Modell für diese Sitzung wechseln',
828
+ 'Content generator configuration not available.':
829
+ 'Inhaltsgenerator-Konfiguration nicht verfügbar.',
830
+ 'Authentication type not available.':
831
+ 'Authentifizierungstyp nicht verfügbar.',
832
+ 'No models available for the current authentication type ({{authType}}).':
833
+ 'Keine Modelle für den aktuellen Authentifizierungstyp ({{authType}}) verfügbar.',
834
+
835
+ // ============================================================================
836
+ // Commands - Clear
837
+ // ============================================================================
838
+ 'Starting a new session, resetting chat, and clearing terminal.':
839
+ 'Neue Sitzung wird gestartet, Chat wird zurückgesetzt und Terminal wird gelöscht.',
840
+ 'Starting a new session and clearing.':
841
+ 'Neue Sitzung wird gestartet und gelöscht.',
842
+
843
+ // ============================================================================
844
+ // Commands - Compress
845
+ // ============================================================================
846
+ 'Already compressing, wait for previous request to complete':
847
+ 'Komprimierung läuft bereits, warten Sie auf Abschluss der vorherigen Anfrage',
848
+ 'Failed to compress chat history.':
849
+ 'Fehler beim Komprimieren des Chatverlaufs.',
850
+ 'Failed to compress chat history: {{error}}':
851
+ 'Fehler beim Komprimieren des Chatverlaufs: {{error}}',
852
+ 'Compressing chat history': 'Chatverlauf wird komprimiert',
853
+ 'Chat history compressed from {{originalTokens}} to {{newTokens}} tokens.':
854
+ 'Chatverlauf komprimiert von {{originalTokens}} auf {{newTokens}} Token.',
855
+ 'Compression was not beneficial for this history size.':
856
+ 'Komprimierung war für diese Verlaufsgröße nicht vorteilhaft.',
857
+ 'Chat history compression did not reduce size. This may indicate issues with the compression prompt.':
858
+ 'Chatverlauf-Komprimierung hat die Größe nicht reduziert. Dies kann auf Probleme mit dem Komprimierungs-Prompt hindeuten.',
859
+ 'Could not compress chat history due to a token counting error.':
860
+ 'Chatverlauf konnte aufgrund eines Token-Zählfehlers nicht komprimiert werden.',
861
+ 'Chat history is already compressed.': 'Chatverlauf ist bereits komprimiert.',
862
+
863
+ // ============================================================================
864
+ // Commands - Directory
865
+ // ============================================================================
866
+ 'Configuration is not available.': 'Konfiguration ist nicht verfügbar.',
867
+ 'Please provide at least one path to add.':
868
+ 'Bitte geben Sie mindestens einen Pfad zum Hinzufügen an.',
869
+ 'The /directory add command is not supported in restrictive sandbox profiles. Please use --include-directories when starting the session instead.':
870
+ 'Der Befehl /directory add wird in restriktiven Sandbox-Profilen nicht unterstützt. Bitte verwenden Sie --include-directories beim Starten der Sitzung.',
871
+ "Error adding '{{path}}': {{error}}":
872
+ "Fehler beim Hinzufügen von '{{path}}': {{error}}",
873
+ 'Successfully added QWEN.md files from the following directories if there are:\n- {{directories}}':
874
+ 'QWEN.md-Dateien aus folgenden Verzeichnissen erfolgreich hinzugefügt, falls vorhanden:\n- {{directories}}',
875
+ 'Error refreshing memory: {{error}}':
876
+ 'Fehler beim Aktualisieren des Speichers: {{error}}',
877
+ 'Successfully added directories:\n- {{directories}}':
878
+ 'Verzeichnisse erfolgreich hinzugefügt:\n- {{directories}}',
879
+ 'Current workspace directories:\n{{directories}}':
880
+ 'Aktuelle Arbeitsbereichsverzeichnisse:\n{{directories}}',
881
+
882
+ // ============================================================================
883
+ // Commands - Docs
884
+ // ============================================================================
885
+ 'Please open the following URL in your browser to view the documentation:\n{{url}}':
886
+ 'Bitte öffnen Sie folgende URL in Ihrem Browser, um die Dokumentation anzusehen:\n{{url}}',
887
+ 'Opening documentation in your browser: {{url}}':
888
+ 'Dokumentation wird in Ihrem Browser geöffnet: {{url}}',
889
+
890
+ // ============================================================================
891
+ // Dialogs - Tool Confirmation
892
+ // ============================================================================
893
+ 'Do you want to proceed?': 'Möchten Sie fortfahren?',
894
+ 'Yes, allow once': 'Ja, einmal erlauben',
895
+ 'Allow always': 'Immer erlauben',
896
+ Yes: 'Ja',
897
+ No: 'Nein',
898
+ 'No (esc)': 'Nein (Esc)',
899
+ 'Yes, allow always for this session': 'Ja, für diese Sitzung immer erlauben',
900
+
901
+ // MCP Management Dialog (translations for MCP UI components)
902
+ 'Manage MCP servers': 'MCP-Server verwalten',
903
+ 'Server Detail': 'Serverdetails',
904
+ 'Disable Server': 'Server deaktivieren',
905
+ Tools: 'Werkzeuge',
906
+ 'Tool Detail': 'Werkzeugdetails',
907
+ 'MCP Management': 'MCP-Verwaltung',
908
+ 'Loading...': 'Lädt...',
909
+ 'Unknown step': 'Unbekannter Schritt',
910
+ 'Esc to back': 'Esc zurück',
911
+ '↑↓ to navigate · Enter to select · Esc to close':
912
+ '↑↓ navigieren · Enter auswählen · Esc schließen',
913
+ '↑↓ to navigate · Enter to select · Esc to back':
914
+ '↑↓ navigieren · Enter auswählen · Esc zurück',
915
+ '↑↓ to navigate · Enter to confirm · Esc to back':
916
+ '↑↓ navigieren · Enter bestätigen · Esc zurück',
917
+ 'User Settings (global)': 'Benutzereinstellungen (global)',
918
+ 'Workspace Settings (project-specific)':
919
+ 'Arbeitsbereichseinstellungen (projektspezifisch)',
920
+ 'Disable server:': 'Server deaktivieren:',
921
+ 'Select where to add the server to the exclude list:':
922
+ 'Wählen Sie, wo der Server zur Ausschlussliste hinzugefügt werden soll:',
923
+ 'Press Enter to confirm, Esc to cancel':
924
+ 'Enter zum Bestätigen, Esc zum Abbrechen',
925
+ Disable: 'Deaktivieren',
926
+ Enable: 'Aktivieren',
927
+ Authenticate: 'Authentifizieren',
928
+ 'Re-authenticate': 'Erneut authentifizieren',
929
+ 'Clear Authentication': 'Authentifizierung löschen',
930
+ disabled: 'deaktiviert',
931
+ 'Server:': 'Server:',
932
+ Reconnect: 'Neu verbinden',
933
+ 'View tools': 'Werkzeuge anzeigen',
934
+ 'Status:': 'Status:',
935
+ 'Command:': 'Befehl:',
936
+ 'Working Directory:': 'Arbeitsverzeichnis:',
937
+ 'Capabilities:': 'Fähigkeiten:',
938
+ 'No server selected': 'Kein Server ausgewählt',
939
+ '(disabled)': '(deaktiviert)',
940
+ 'Error:': 'Fehler:',
941
+ Extension: 'Erweiterung',
942
+ tool: 'Werkzeug',
943
+ tools: 'Werkzeuge',
944
+ connected: 'verbunden',
945
+ connecting: 'verbindet',
946
+ disconnected: 'getrennt',
947
+ error: 'Fehler',
948
+
949
+ // MCP Server List
950
+ 'User MCPs': 'Benutzer-MCPs',
951
+ 'Project MCPs': 'Projekt-MCPs',
952
+ 'Extension MCPs': 'Erweiterungs-MCPs',
953
+ server: 'Server',
954
+ servers: 'Server',
955
+ 'Add MCP servers to your settings to get started.':
956
+ 'Fügen Sie MCP-Server zu Ihren Einstellungen hinzu, um zu beginnen.',
957
+ 'Run qwen --debug to see error logs':
958
+ 'Führen Sie qwen --debug aus, um Fehlerprotokolle anzuzeigen',
959
+
960
+ // MCP OAuth Authentication
961
+ 'OAuth Authentication': 'OAuth-Authentifizierung',
962
+ 'Press Enter to start authentication, Esc to go back':
963
+ 'Drücken Sie Enter, um die Authentifizierung zu starten, Esc zum Zurückgehen',
964
+ 'Authenticating... Please complete the login in your browser.':
965
+ 'Authentifizierung läuft... Bitte schließen Sie die Anmeldung in Ihrem Browser ab.',
966
+ 'Press Enter or Esc to go back': 'Drücken Sie Enter oder Esc zum Zurückgehen',
967
+
968
+ // MCP Tool List
969
+ 'No tools available for this server.':
970
+ 'Keine Werkzeuge für diesen Server verfügbar.',
971
+ destructive: 'destruktiv',
972
+ 'read-only': 'schreibgeschützt',
973
+ 'open-world': 'offene Welt',
974
+ idempotent: 'idempotent',
975
+ 'Tools for {{name}}': 'Werkzeuge für {{name}}',
976
+ 'Tools for {{serverName}}': 'Werkzeuge für {{serverName}}',
977
+ '{{current}}/{{total}}': '{{current}}/{{total}}',
978
+
979
+ // MCP Tool Detail
980
+ required: 'erforderlich',
981
+ Type: 'Typ',
982
+ Enum: 'Aufzählung',
983
+ Parameters: 'Parameter',
984
+ 'No tool selected': 'Kein Werkzeug ausgewählt',
985
+ Annotations: 'Anmerkungen',
986
+ Title: 'Titel',
987
+ 'Read Only': 'Schreibgeschützt',
988
+ Destructive: 'Destruktiv',
989
+ Idempotent: 'Idempotent',
990
+ 'Open World': 'Offene Welt',
991
+ Server: 'Server',
992
+
993
+ // Invalid tool related translations
994
+ '{{count}} invalid tools': '{{count}} ungültige Werkzeuge',
995
+ invalid: 'ungültig',
996
+ 'invalid: {{reason}}': 'ungültig: {{reason}}',
997
+ 'missing name': 'Name fehlt',
998
+ 'missing description': 'Beschreibung fehlt',
999
+ '(unnamed)': '(unbenannt)',
1000
+ 'Warning: This tool cannot be called by the LLM':
1001
+ 'Warnung: Dieses Werkzeug kann nicht vom LLM aufgerufen werden',
1002
+ Reason: 'Grund',
1003
+ 'Tools must have both name and description to be used by the LLM.':
1004
+ 'Werkzeuge müssen sowohl einen Namen als auch eine Beschreibung haben, um vom LLM verwendet zu werden.',
1005
+ 'Modify in progress:': 'Änderung in Bearbeitung:',
1006
+ 'Save and close external editor to continue':
1007
+ 'Speichern und externen Editor schließen, um fortzufahren',
1008
+ 'Apply this change?': 'Diese Änderung anwenden?',
1009
+ 'Yes, allow always': 'Ja, immer erlauben',
1010
+ 'Modify with external editor': 'Mit externem Editor bearbeiten',
1011
+ 'No, suggest changes (esc)': 'Nein, Änderungen vorschlagen (Esc)',
1012
+ "Allow execution of: '{{command}}'?":
1013
+ "Ausführung erlauben von: '{{command}}'?",
1014
+ 'Yes, allow always ...': 'Ja, immer erlauben ...',
1015
+ 'Yes, and auto-accept edits': 'Ja, und Änderungen automatisch akzeptieren',
1016
+ 'Yes, and manually approve edits': 'Ja, und Änderungen manuell genehmigen',
1017
+ 'No, keep planning (esc)': 'Nein, weiter planen (Esc)',
1018
+ 'URLs to fetch:': 'Abzurufende URLs:',
1019
+ 'MCP Server: {{server}}': 'MCP-Server: {{server}}',
1020
+ 'Tool: {{tool}}': 'Werkzeug: {{tool}}',
1021
+ 'Allow execution of MCP tool "{{tool}}" from server "{{server}}"?':
1022
+ 'Ausführung des MCP-Werkzeugs "{{tool}}" von Server "{{server}}" erlauben?',
1023
+ 'Yes, always allow tool "{{tool}}" from server "{{server}}"':
1024
+ 'Ja, Werkzeug "{{tool}}" von Server "{{server}}" immer erlauben',
1025
+ 'Yes, always allow all tools from server "{{server}}"':
1026
+ 'Ja, alle Werkzeuge von Server "{{server}}" immer erlauben',
1027
+
1028
+ // ============================================================================
1029
+ // Dialogs - Shell Confirmation
1030
+ // ============================================================================
1031
+ 'Shell Command Execution': 'Shell-Befehlsausführung',
1032
+ 'A custom command wants to run the following shell commands:':
1033
+ 'Ein benutzerdefinierter Befehl möchte folgende Shell-Befehle ausführen:',
1034
+
1035
+ // ============================================================================
1036
+ // Dialogs - Pro Quota
1037
+ // ============================================================================
1038
+ 'Pro quota limit reached for {{model}}.':
1039
+ 'Pro-Kontingentlimit für {{model}} erreicht.',
1040
+ 'Change auth (executes the /auth command)':
1041
+ 'Authentifizierung ändern (führt den /auth-Befehl aus)',
1042
+ 'Continue with {{model}}': 'Mit {{model}} fortfahren',
1043
+
1044
+ // ============================================================================
1045
+ // Dialogs - Welcome Back
1046
+ // ============================================================================
1047
+ 'Current Plan:': 'Aktueller Plan:',
1048
+ 'Progress: {{done}}/{{total}} tasks completed':
1049
+ 'Fortschritt: {{done}}/{{total}} Aufgaben abgeschlossen',
1050
+ ', {{inProgress}} in progress': ', {{inProgress}} in Bearbeitung',
1051
+ 'Pending Tasks:': 'Ausstehende Aufgaben:',
1052
+ 'What would you like to do?': 'Was möchten Sie tun?',
1053
+ 'Choose how to proceed with your session:':
1054
+ 'Wählen Sie, wie Sie mit Ihrer Sitzung fortfahren möchten:',
1055
+ 'Start new chat session': 'Neue Chat-Sitzung starten',
1056
+ 'Continue previous conversation': 'Vorheriges Gespräch fortsetzen',
1057
+ '👋 Welcome back! (Last updated: {{timeAgo}})':
1058
+ '👋 Willkommen zurück! (Zuletzt aktualisiert: {{timeAgo}})',
1059
+ '🎯 Overall Goal:': '🎯 Gesamtziel:',
1060
+
1061
+ // ============================================================================
1062
+ // Dialogs - Auth
1063
+ // ============================================================================
1064
+ 'Get started': 'Loslegen',
1065
+ 'Select Authentication Method': 'Authentifizierungsmethode auswählen',
1066
+ 'OpenAI API key is required to use OpenAI authentication.':
1067
+ 'OpenAI API-Schlüssel ist für die OpenAI-Authentifizierung erforderlich.',
1068
+ 'You must select an auth method to proceed. Press Ctrl+C again to exit.':
1069
+ 'Sie müssen eine Authentifizierungsmethode wählen, um fortzufahren. Drücken Sie erneut Strg+C zum Beenden.',
1070
+ 'Terms of Services and Privacy Notice':
1071
+ 'Nutzungsbedingungen und Datenschutzhinweis',
1072
+ 'Qwen OAuth': 'Qwen OAuth',
1073
+ 'Free \u00B7 Up to 1,000 requests/day \u00B7 Qwen latest models':
1074
+ 'Kostenlos \u00B7 Bis zu 1.000 Anfragen/Tag \u00B7 Qwen neueste Modelle',
1075
+ 'Login with QwenChat account to use daily free quota.':
1076
+ 'Melden Sie sich mit Ihrem QwenChat-Konto an, um das tägliche kostenlose Kontingent zu nutzen.',
1077
+ 'Paid \u00B7 Up to 6,000 requests/5 hrs \u00B7 All Alibaba Cloud Coding Plan Models':
1078
+ 'Kostenpflichtig \u00B7 Bis zu 6.000 Anfragen/5 Std. \u00B7 Alle Alibaba Cloud Coding Plan Modelle',
1079
+ 'Alibaba Cloud Coding Plan': 'Alibaba Cloud Coding Plan',
1080
+ 'Bring your own API key': 'Eigenen API-Schlüssel verwenden',
1081
+ 'API-KEY': 'API-KEY',
1082
+ 'Use coding plan credentials or your own api-keys/providers.':
1083
+ 'Verwenden Sie Coding Plan-Anmeldedaten oder Ihre eigenen API-Schlüssel/Anbieter.',
1084
+ OpenAI: 'OpenAI',
1085
+ 'Failed to login. Message: {{message}}':
1086
+ 'Anmeldung fehlgeschlagen. Meldung: {{message}}',
1087
+ 'Authentication is enforced to be {{enforcedType}}, but you are currently using {{currentType}}.':
1088
+ 'Authentifizierung ist auf {{enforcedType}} festgelegt, aber Sie verwenden derzeit {{currentType}}.',
1089
+ 'Qwen OAuth authentication timed out. Please try again.':
1090
+ 'Qwen OAuth-Authentifizierung abgelaufen. Bitte versuchen Sie es erneut.',
1091
+ 'Qwen OAuth authentication cancelled.':
1092
+ 'Qwen OAuth-Authentifizierung abgebrochen.',
1093
+ 'Qwen OAuth Authentication': 'Qwen OAuth-Authentifizierung',
1094
+ 'Please visit this URL to authorize:':
1095
+ 'Bitte besuchen Sie diese URL zur Autorisierung:',
1096
+ 'Or scan the QR code below:': 'Oder scannen Sie den QR-Code unten:',
1097
+ 'Waiting for authorization': 'Warten auf Autorisierung',
1098
+ 'Time remaining:': 'Verbleibende Zeit:',
1099
+ '(Press ESC or CTRL+C to cancel)': '(ESC oder STRG+C zum Abbrechen drücken)',
1100
+ 'Qwen OAuth Authentication Timeout':
1101
+ 'Qwen OAuth-Authentifizierung abgelaufen',
1102
+ 'OAuth token expired (over {{seconds}} seconds). Please select authentication method again.':
1103
+ 'OAuth-Token abgelaufen (über {{seconds}} Sekunden). Bitte wählen Sie erneut eine Authentifizierungsmethode.',
1104
+ 'Press any key to return to authentication type selection.':
1105
+ 'Drücken Sie eine beliebige Taste, um zur Authentifizierungstypauswahl zurückzukehren.',
1106
+ 'Waiting for Qwen OAuth authentication...':
1107
+ 'Warten auf Qwen OAuth-Authentifizierung...',
1108
+ 'Note: Your existing API key in settings.json will not be cleared when using Qwen OAuth. You can switch back to OpenAI authentication later if needed.':
1109
+ 'Hinweis: Ihr bestehender API-Schlüssel in settings.json wird bei Verwendung von Qwen OAuth nicht gelöscht. Sie können später bei Bedarf zur OpenAI-Authentifizierung zurückwechseln.',
1110
+ 'Note: Your existing API key will not be cleared when using Qwen OAuth.':
1111
+ 'Hinweis: Ihr bestehender API-Schlüssel wird bei Verwendung von Qwen OAuth nicht gelöscht.',
1112
+ 'Authentication timed out. Please try again.':
1113
+ 'Authentifizierung abgelaufen. Bitte versuchen Sie es erneut.',
1114
+ 'Waiting for auth... (Press ESC or CTRL+C to cancel)':
1115
+ 'Warten auf Authentifizierung... (ESC oder STRG+C zum Abbrechen drücken)',
1116
+ 'Missing API key for OpenAI-compatible auth. Set settings.security.auth.apiKey, or set the {{envKeyHint}} environment variable.':
1117
+ 'API-Schlüssel für OpenAI-kompatible Authentifizierung fehlt. Setzen Sie settings.security.auth.apiKey oder die Umgebungsvariable {{envKeyHint}}.',
1118
+ '{{envKeyHint}} environment variable not found.':
1119
+ 'Umgebungsvariable {{envKeyHint}} wurde nicht gefunden.',
1120
+ '{{envKeyHint}} environment variable not found. Please set it in your .env file or environment variables.':
1121
+ 'Umgebungsvariable {{envKeyHint}} wurde nicht gefunden. Bitte legen Sie sie in Ihrer .env-Datei oder den Systemumgebungsvariablen fest.',
1122
+ '{{envKeyHint}} environment variable not found (or set settings.security.auth.apiKey). Please set it in your .env file or environment variables.':
1123
+ 'Umgebungsvariable {{envKeyHint}} wurde nicht gefunden (oder setzen Sie settings.security.auth.apiKey). Bitte legen Sie sie in Ihrer .env-Datei oder den Systemumgebungsvariablen fest.',
1124
+ 'Missing API key for OpenAI-compatible auth. Set the {{envKeyHint}} environment variable.':
1125
+ 'API-Schlüssel für OpenAI-kompatible Authentifizierung fehlt. Setzen Sie die Umgebungsvariable {{envKeyHint}}.',
1126
+ 'Anthropic provider missing required baseUrl in modelProviders[].baseUrl.':
1127
+ 'Anthropic-Anbieter fehlt erforderliche baseUrl in modelProviders[].baseUrl.',
1128
+ 'ANTHROPIC_BASE_URL environment variable not found.':
1129
+ 'Umgebungsvariable ANTHROPIC_BASE_URL wurde nicht gefunden.',
1130
+ 'Invalid auth method selected.':
1131
+ 'Ungültige Authentifizierungsmethode ausgewählt.',
1132
+ 'Failed to authenticate. Message: {{message}}':
1133
+ 'Authentifizierung fehlgeschlagen. Meldung: {{message}}',
1134
+ 'Authenticated successfully with {{authType}} credentials.':
1135
+ 'Erfolgreich mit {{authType}}-Anmeldedaten authentifiziert.',
1136
+ 'Invalid QWEN_DEFAULT_AUTH_TYPE value: "{{value}}". Valid values are: {{validValues}}':
1137
+ 'Ungültiger QWEN_DEFAULT_AUTH_TYPE-Wert: "{{value}}". Gültige Werte sind: {{validValues}}',
1138
+ 'OpenAI Configuration Required': 'OpenAI-Konfiguration erforderlich',
1139
+ 'Please enter your OpenAI configuration. You can get an API key from':
1140
+ 'Bitte geben Sie Ihre OpenAI-Konfiguration ein. Sie können einen API-Schlüssel erhalten von',
1141
+ 'API Key:': 'API-Schlüssel:',
1142
+ 'Invalid credentials: {{errorMessage}}':
1143
+ 'Ungültige Anmeldedaten: {{errorMessage}}',
1144
+ 'Failed to validate credentials':
1145
+ 'Anmeldedaten konnten nicht validiert werden',
1146
+ 'Press Enter to continue, Tab/↑↓ to navigate, Esc to cancel':
1147
+ 'Enter zum Fortfahren, Tab/↑↓ zum Navigieren, Esc zum Abbrechen',
1148
+
1149
+ // ============================================================================
1150
+ // Dialogs - Model
1151
+ // ============================================================================
1152
+ 'Select Model': 'Modell auswählen',
1153
+ '(Press Esc to close)': '(Esc zum Schließen drücken)',
1154
+ 'Current (effective) configuration': 'Aktuelle (wirksame) Konfiguration',
1155
+ AuthType: 'Authentifizierungstyp',
1156
+ 'API Key': 'API-Schlüssel',
1157
+ unset: 'nicht gesetzt',
1158
+ '(default)': '(Standard)',
1159
+ '(set)': '(gesetzt)',
1160
+ '(not set)': '(nicht gesetzt)',
1161
+ Modality: 'Modalität',
1162
+ 'Context Window': 'Kontextfenster',
1163
+ text: 'Text',
1164
+ 'text-only': 'nur Text',
1165
+ image: 'Bild',
1166
+ pdf: 'PDF',
1167
+ audio: 'Audio',
1168
+ video: 'Video',
1169
+ 'not set': 'nicht gesetzt',
1170
+ none: 'keine',
1171
+ unknown: 'unbekannt',
1172
+ "Failed to switch model to '{{modelId}}'.\n\n{{error}}":
1173
+ "Modell konnte nicht auf '{{modelId}}' umgestellt werden.\n\n{{error}}",
1174
+ 'Qwen 3.5 Plus — efficient hybrid model with leading coding performance':
1175
+ 'Qwen 3.5 Plus — effizientes Hybridmodell mit führender Programmierleistung',
1176
+ 'The latest Qwen Vision model from Alibaba Cloud ModelStudio (version: qwen3-vl-plus-2025-09-23)':
1177
+ 'Das neueste Qwen Vision Modell von Alibaba Cloud ModelStudio (Version: qwen3-vl-plus-2025-09-23)',
1178
+
1179
+ // ============================================================================
1180
+ // Dialogs - Permissions
1181
+ // ============================================================================
1182
+ 'Manage folder trust settings': 'Ordnervertrauenseinstellungen verwalten',
1183
+
1184
+ // ============================================================================
1185
+ // Status Bar
1186
+ // ============================================================================
1187
+ 'Using:': 'Verwendet:',
1188
+ '{{count}} open file': '{{count}} geöffnete Datei',
1189
+ '{{count}} open files': '{{count}} geöffnete Dateien',
1190
+ '(ctrl+g to view)': '(Strg+G zum Anzeigen)',
1191
+ '{{count}} {{name}} file': '{{count}} {{name}}-Datei',
1192
+ '{{count}} {{name}} files': '{{count}} {{name}}-Dateien',
1193
+ '{{count}} MCP server': '{{count}} MCP-Server',
1194
+ '{{count}} MCP servers': '{{count}} MCP-Server',
1195
+ '{{count}} Blocked': '{{count}} blockiert',
1196
+ '(ctrl+t to view)': '(Strg+T zum Anzeigen)',
1197
+ '(ctrl+t to toggle)': '(Strg+T zum Umschalten)',
1198
+ 'Press Ctrl+C again to exit.': 'Drücken Sie erneut Strg+C zum Beenden.',
1199
+ 'Press Ctrl+D again to exit.': 'Drücken Sie erneut Strg+D zum Beenden.',
1200
+ 'Press Esc again to clear.': 'Drücken Sie erneut Esc zum Löschen.',
1201
+
1202
+ // ============================================================================
1203
+ // MCP Status
1204
+ // ============================================================================
1205
+ 'No MCP servers configured.': 'Keine MCP-Server konfiguriert.',
1206
+ '⏳ MCP servers are starting up ({{count}} initializing)...':
1207
+ '⏳ MCP-Server werden gestartet ({{count}} werden initialisiert)...',
1208
+ 'Note: First startup may take longer. Tool availability will update automatically.':
1209
+ 'Hinweis: Der erste Start kann länger dauern. Werkzeugverfügbarkeit wird automatisch aktualisiert.',
1210
+ 'Configured MCP servers:': 'Konfigurierte MCP-Server:',
1211
+ Ready: 'Bereit',
1212
+ 'Starting... (first startup may take longer)':
1213
+ 'Wird gestartet... (erster Start kann länger dauern)',
1214
+ Disconnected: 'Getrennt',
1215
+ '{{count}} tool': '{{count}} Werkzeug',
1216
+ '{{count}} tools': '{{count}} Werkzeuge',
1217
+ '{{count}} prompt': '{{count}} Prompt',
1218
+ '{{count}} prompts': '{{count}} Prompts',
1219
+ '(from {{extensionName}})': '(von {{extensionName}})',
1220
+ OAuth: 'OAuth',
1221
+ 'OAuth expired': 'OAuth abgelaufen',
1222
+ 'OAuth not authenticated': 'OAuth nicht authentifiziert',
1223
+ 'tools and prompts will appear when ready':
1224
+ 'Werkzeuge und Prompts werden angezeigt, wenn bereit',
1225
+ '{{count}} tools cached': '{{count}} Werkzeuge zwischengespeichert',
1226
+ 'Tools:': 'Werkzeuge:',
1227
+ 'Parameters:': 'Parameter:',
1228
+ 'Prompts:': 'Prompts:',
1229
+ Blocked: 'Blockiert',
1230
+ '💡 Tips:': '💡 Tipps:',
1231
+ Use: 'Verwenden',
1232
+ 'to show server and tool descriptions':
1233
+ 'um Server- und Werkzeugbeschreibungen anzuzeigen',
1234
+ 'to show tool parameter schemas': 'um Werkzeug-Parameter-Schemas anzuzeigen',
1235
+ 'to hide descriptions': 'um Beschreibungen auszublenden',
1236
+ 'to authenticate with OAuth-enabled servers':
1237
+ 'um sich bei OAuth-fähigen Servern zu authentifizieren',
1238
+ Press: 'Drücken Sie',
1239
+ 'to toggle tool descriptions on/off':
1240
+ 'um Werkzeugbeschreibungen ein-/auszuschalten',
1241
+ "Starting OAuth authentication for MCP server '{{name}}'...":
1242
+ "OAuth-Authentifizierung für MCP-Server '{{name}}' wird gestartet...",
1243
+ 'Restarting MCP servers...': 'MCP-Server werden neu gestartet...',
1244
+
1245
+ // ============================================================================
1246
+ // Startup Tips
1247
+ // ============================================================================
1248
+ 'Tips for getting started:': 'Tipps zum Einstieg:',
1249
+ '1. Ask questions, edit files, or run commands.':
1250
+ '1. Stellen Sie Fragen, bearbeiten Sie Dateien oder führen Sie Befehle aus.',
1251
+ '2. Be specific for the best results.':
1252
+ '2. Seien Sie spezifisch für die besten Ergebnisse.',
1253
+ 'files to customize your interactions with Qwen Code.':
1254
+ 'Dateien, um Ihre Interaktionen mit Qwen Code anzupassen.',
1255
+ 'for more information.': 'für weitere Informationen.',
1256
+
1257
+ // ============================================================================
1258
+ // Exit Screen / Stats
1259
+ // ============================================================================
1260
+ 'Agent powering down. Goodbye!':
1261
+ 'Agent wird heruntergefahren. Auf Wiedersehen!',
1262
+ 'To continue this session, run':
1263
+ 'Um diese Sitzung fortzusetzen, führen Sie aus',
1264
+ 'Interaction Summary': 'Interaktionszusammenfassung',
1265
+ 'Session ID:': 'Sitzungs-ID:',
1266
+ 'Tool Calls:': 'Werkzeugaufrufe:',
1267
+ 'Success Rate:': 'Erfolgsrate:',
1268
+ 'User Agreement:': 'Benutzerzustimmung:',
1269
+ reviewed: 'überprüft',
1270
+ 'Code Changes:': 'Codeänderungen:',
1271
+ Performance: 'Leistung',
1272
+ 'Wall Time:': 'Gesamtzeit:',
1273
+ 'Agent Active:': 'Agent aktiv:',
1274
+ 'API Time:': 'API-Zeit:',
1275
+ 'Tool Time:': 'Werkzeugzeit:',
1276
+ 'Session Stats': 'Sitzungsstatistiken',
1277
+ 'Model Usage': 'Modellnutzung',
1278
+ Reqs: 'Anfragen',
1279
+ 'Input Tokens': 'Eingabe-Token',
1280
+ 'Output Tokens': 'Ausgabe-Token',
1281
+ 'Savings Highlight:': 'Einsparungen:',
1282
+ 'of input tokens were served from the cache, reducing costs.':
1283
+ 'der Eingabe-Token wurden aus dem Cache bedient, was die Kosten reduziert.',
1284
+ 'Tip: For a full token breakdown, run `/stats model`.':
1285
+ 'Tipp: Für eine vollständige Token-Aufschlüsselung führen Sie `/stats model` aus.',
1286
+ 'Model Stats For Nerds': 'Modellstatistiken für Nerds',
1287
+ 'Tool Stats For Nerds': 'Werkzeugstatistiken für Nerds',
1288
+ Metric: 'Metrik',
1289
+ API: 'API',
1290
+ Requests: 'Anfragen',
1291
+ Errors: 'Fehler',
1292
+ 'Avg Latency': 'Durchschn. Latenz',
1293
+ Tokens: 'Token',
1294
+ Total: 'Gesamt',
1295
+ Prompt: 'Prompt',
1296
+ Cached: 'Zwischengespeichert',
1297
+ Thoughts: 'Gedanken',
1298
+ Tool: 'Werkzeug',
1299
+ Output: 'Ausgabe',
1300
+ 'No API calls have been made in this session.':
1301
+ 'In dieser Sitzung wurden keine API-Aufrufe gemacht.',
1302
+ 'Tool Name': 'Werkzeugname',
1303
+ Calls: 'Aufrufe',
1304
+ 'Success Rate': 'Erfolgsrate',
1305
+ 'Avg Duration': 'Durchschn. Dauer',
1306
+ 'User Decision Summary': 'Benutzerentscheidungs-Zusammenfassung',
1307
+ 'Total Reviewed Suggestions:': 'Insgesamt überprüfter Vorschläge:',
1308
+ ' » Accepted:': ' » Akzeptiert:',
1309
+ ' » Rejected:': ' » Abgelehnt:',
1310
+ ' » Modified:': ' » Geändert:',
1311
+ ' Overall Agreement Rate:': ' Gesamtzustimmungsrate:',
1312
+ 'No tool calls have been made in this session.':
1313
+ 'In dieser Sitzung wurden keine Werkzeugaufrufe gemacht.',
1314
+ 'Session start time is unavailable, cannot calculate stats.':
1315
+ 'Sitzungsstartzeit nicht verfügbar, Statistiken können nicht berechnet werden.',
1316
+
1317
+ // ============================================================================
1318
+ // Command Format Migration
1319
+ // ============================================================================
1320
+ 'Command Format Migration': 'Befehlsformat-Migration',
1321
+ 'Found {{count}} TOML command file:': '{{count}} TOML-Befehlsdatei gefunden:',
1322
+ 'Found {{count}} TOML command files:':
1323
+ '{{count}} TOML-Befehlsdateien gefunden:',
1324
+ '... and {{count}} more': '... und {{count}} weitere',
1325
+ 'The TOML format is deprecated. Would you like to migrate them to Markdown format?':
1326
+ 'Das TOML-Format ist veraltet. Möchten Sie sie ins Markdown-Format migrieren?',
1327
+ '(Backups will be created and original files will be preserved)':
1328
+ '(Backups werden erstellt und Originaldateien werden beibehalten)',
1329
+
1330
+ // ============================================================================
1331
+ // Loading Phrases
1332
+ // ============================================================================
1333
+ 'Waiting for user confirmation...': 'Warten auf Benutzerbestätigung...',
1334
+ '(esc to cancel, {{time}})': '(Esc zum Abbrechen, {{time}})',
1335
+
1336
+ // ============================================================================
1337
+ // Loading Phrases
1338
+ // ============================================================================
1339
+ WITTY_LOADING_PHRASES: [
1340
+ 'Auf gut Glück!',
1341
+ 'Genialität wird ausgeliefert...',
1342
+ 'Die Serifen werden aufgemalt...',
1343
+ 'Durch den Schleimpilz navigieren...',
1344
+ 'Die digitalen Geister werden befragt...',
1345
+ 'Splines werden retikuliert...',
1346
+ 'Die KI-Hamster werden aufgewärmt...',
1347
+ 'Die Zaubermuschel wird befragt...',
1348
+ 'Witzige Erwiderung wird generiert...',
1349
+ 'Die Algorithmen werden poliert...',
1350
+ 'Perfektion braucht Zeit (mein Code auch)...',
1351
+ 'Frische Bytes werden gebrüht...',
1352
+ 'Elektronen werden gezählt...',
1353
+ 'Kognitive Prozessoren werden aktiviert...',
1354
+ 'Auf Syntaxfehler im Universum wird geprüft...',
1355
+ 'Einen Moment, Humor wird optimiert...',
1356
+ 'Pointen werden gemischt...',
1357
+ 'Neuronale Netze werden entwirrt...',
1358
+ 'Brillanz wird kompiliert...',
1359
+ 'wit.exe wird geladen...',
1360
+ 'Die Wolke der Weisheit wird beschworen...',
1361
+ 'Eine witzige Antwort wird vorbereitet...',
1362
+ 'Einen Moment, ich debugge die Realität...',
1363
+ 'Die Optionen werden verwirrt...',
1364
+ 'Kosmische Frequenzen werden eingestellt...',
1365
+ 'Eine Antwort wird erstellt, die Ihrer Geduld würdig ist...',
1366
+ 'Die Einsen und Nullen werden kompiliert...',
1367
+ 'Abhängigkeiten werden aufgelöst... und existenzielle Krisen...',
1368
+ 'Erinnerungen werden defragmentiert... sowohl RAM als auch persönliche...',
1369
+ 'Das Humor-Modul wird neu gestartet...',
1370
+ 'Das Wesentliche wird zwischengespeichert (hauptsächlich Katzen-Memes)...',
1371
+ 'Für lächerliche Geschwindigkeit wird optimiert',
1372
+ 'Bits werden getauscht... sagen Sie es nicht den Bytes...',
1373
+ 'Garbage Collection läuft... bin gleich zurück...',
1374
+ 'Das Internet wird zusammengebaut...',
1375
+ 'Kaffee wird in Code umgewandelt...',
1376
+ 'Die Syntax der Realität wird aktualisiert...',
1377
+ 'Die Synapsen werden neu verdrahtet...',
1378
+ 'Ein verlegtes Semikolon wird gesucht...',
1379
+ 'Die Zahnräder werden geschmiert...',
1380
+ 'Die Server werden vorgeheizt...',
1381
+ 'Der Fluxkompensator wird kalibriert...',
1382
+ 'Der Unwahrscheinlichkeitsantrieb wird aktiviert...',
1383
+ 'Die Macht wird kanalisiert...',
1384
+ 'Die Sterne werden für optimale Antwort ausgerichtet...',
1385
+ 'So sagen wir alle...',
1386
+ 'Die nächste große Idee wird geladen...',
1387
+ 'Einen Moment, ich bin in der Zone...',
1388
+ 'Bereite mich vor, Sie mit Brillanz zu blenden...',
1389
+ 'Einen Augenblick, ich poliere meinen Witz...',
1390
+ 'Halten Sie durch, ich erschaffe ein Meisterwerk...',
1391
+ 'Einen Moment, ich debugge das Universum...',
1392
+ 'Einen Moment, ich richte die Pixel aus...',
1393
+ 'Einen Moment, ich optimiere den Humor...',
1394
+ 'Einen Moment, ich tune die Algorithmen...',
1395
+ 'Warp-Geschwindigkeit aktiviert...',
1396
+ 'Mehr Dilithium-Kristalle werden gesucht...',
1397
+ 'Keine Panik...',
1398
+ 'Dem weißen Kaninchen wird gefolgt...',
1399
+ 'Die Wahrheit ist hier drin... irgendwo...',
1400
+ 'Auf die Kassette wird gepustet...',
1401
+ 'Ladevorgang... Machen Sie eine Fassrolle!',
1402
+ 'Auf den Respawn wird gewartet...',
1403
+ 'Der Kessel-Flug wird in weniger als 12 Parsec beendet...',
1404
+ 'Der Kuchen ist keine Lüge, er lädt nur noch...',
1405
+ 'Am Charaktererstellungsbildschirm wird herumgefummelt...',
1406
+ 'Einen Moment, ich suche das richtige Meme...',
1407
+ "'A' wird zum Fortfahren gedrückt...",
1408
+ 'Digitale Katzen werden gehütet...',
1409
+ 'Die Pixel werden poliert...',
1410
+ 'Ein passender Ladebildschirm-Witz wird gesucht...',
1411
+ 'Ich lenke Sie mit diesem witzigen Spruch ab...',
1412
+ 'Fast da... wahrscheinlich...',
1413
+ 'Unsere Hamster arbeiten so schnell sie können...',
1414
+ 'Cloudy wird am Kopf gestreichelt...',
1415
+ 'Die Katze wird gestreichelt...',
1416
+ 'Meinen Chef rickrollen...',
1417
+ 'Never gonna give you up, never gonna let you down...',
1418
+ 'Auf den Bass wird geschlagen...',
1419
+ 'Die Schnozbeeren werden probiert...',
1420
+ "I'm going the distance, I'm going for speed...",
1421
+ 'Ist dies das wahre Leben? Ist dies nur Fantasie?...',
1422
+ 'Ich habe ein gutes Gefühl dabei...',
1423
+ 'Den Bären wird gestupst...',
1424
+ 'Recherche zu den neuesten Memes...',
1425
+ 'Überlege, wie ich das witziger machen kann...',
1426
+ 'Hmmm... lassen Sie mich nachdenken...',
1427
+ 'Wie nennt man einen Fisch ohne Augen? Ein Fsh...',
1428
+ 'Warum ging der Computer zur Therapie? Er hatte zu viele Bytes...',
1429
+ 'Warum mögen Programmierer keine Natur? Sie hat zu viele Bugs...',
1430
+ 'Warum bevorzugen Programmierer den Dunkelmodus? Weil Licht Bugs anzieht...',
1431
+ 'Warum ging der Entwickler pleite? Er hat seinen ganzen Cache aufgebraucht...',
1432
+ 'Was kann man mit einem kaputten Bleistift machen? Nichts, er ist sinnlos...',
1433
+ 'Perkussive Wartung wird angewendet...',
1434
+ 'Die richtige USB-Ausrichtung wird gesucht...',
1435
+ 'Es wird sichergestellt, dass der magische Rauch in den Kabeln bleibt...',
1436
+ 'Versuche Vim zu beenden...',
1437
+ 'Das Hamsterrad wird angeworfen...',
1438
+ 'Das ist kein Bug, das ist ein undokumentiertes Feature...',
1439
+ 'Engage.',
1440
+ 'Ich komme wieder... mit einer Antwort.',
1441
+ 'Mein anderer Prozess ist eine TARDIS...',
1442
+ 'Mit dem Maschinengeist wird kommuniziert...',
1443
+ 'Die Gedanken marinieren lassen...',
1444
+ 'Gerade erinnert, wo ich meine Schlüssel hingelegt habe...',
1445
+ 'Über die Kugel wird nachgedacht...',
1446
+ 'Ich habe Dinge gesehen, die Sie nicht glauben würden... wie einen Benutzer, der Lademeldungen liest.',
1447
+ 'Nachdenklicher Blick wird initiiert...',
1448
+ 'Was ist der Lieblingssnack eines Computers? Mikrochips.',
1449
+ 'Warum tragen Java-Entwickler Brillen? Weil sie nicht C#.',
1450
+ 'Der Laser wird aufgeladen... pew pew!',
1451
+ 'Durch Null wird geteilt... nur Spaß!',
1452
+ 'Suche nach einem erwachsenen Aufseh... ich meine, Verarbeitung.',
1453
+ 'Es piept und boopt.',
1454
+ 'Pufferung... weil auch KIs einen Moment brauchen.',
1455
+ 'Quantenteilchen werden für schnellere Antwort verschränkt...',
1456
+ 'Das Chrom wird poliert... an den Algorithmen.',
1457
+ 'Sind Sie nicht unterhalten? (Arbeite daran!)',
1458
+ 'Die Code-Gremlins werden beschworen... zum Helfen, natürlich.',
1459
+ 'Warte nur auf das Einwahlton-Ende...',
1460
+ 'Das Humor-O-Meter wird neu kalibriert.',
1461
+ 'Mein anderer Ladebildschirm ist noch lustiger.',
1462
+ 'Ziemlich sicher, dass irgendwo eine Katze über die Tastatur läuft...',
1463
+ 'Verbessern... Verbessern... Lädt noch.',
1464
+ 'Das ist kein Bug, das ist ein Feature... dieses Ladebildschirms.',
1465
+ 'Haben Sie versucht, es aus- und wieder einzuschalten? (Den Ladebildschirm, nicht mich.)',
1466
+ 'Zusätzliche Pylonen werden gebaut...',
1467
+ ],
1468
+
1469
+ // ============================================================================
1470
+ // Extension Settings Input
1471
+ // ============================================================================
1472
+ 'Enter value...': 'Wert eingeben...',
1473
+ 'Enter sensitive value...': 'Sensiblen Wert eingeben...',
1474
+ 'Press Enter to submit, Escape to cancel':
1475
+ 'Enter zum Absenden, Escape zum Abbrechen drücken',
1476
+
1477
+ // ============================================================================
1478
+ // Command Migration Tool
1479
+ // ============================================================================
1480
+ 'Markdown file already exists: {{filename}}':
1481
+ 'Markdown-Datei existiert bereits: {{filename}}',
1482
+ 'TOML Command Format Deprecation Notice':
1483
+ 'TOML-Befehlsformat Veraltet-Hinweis',
1484
+ 'Found {{count}} command file(s) in TOML format:':
1485
+ '{{count}} Befehlsdatei(en) im TOML-Format gefunden:',
1486
+ 'The TOML format for commands is being deprecated in favor of Markdown format.':
1487
+ 'Das TOML-Format für Befehle wird zugunsten des Markdown-Formats eingestellt.',
1488
+ 'Markdown format is more readable and easier to edit.':
1489
+ 'Das Markdown-Format ist lesbarer und einfacher zu bearbeiten.',
1490
+ 'You can migrate these files automatically using:':
1491
+ 'Sie können diese Dateien automatisch migrieren mit:',
1492
+ 'Or manually convert each file:': 'Oder jede Datei manuell konvertieren:',
1493
+ 'TOML: prompt = "..." / description = "..."':
1494
+ 'TOML: prompt = "..." / description = "..."',
1495
+ 'Markdown: YAML frontmatter + content': 'Markdown: YAML-Frontmatter + Inhalt',
1496
+ 'The migration tool will:': 'Das Migrationstool wird:',
1497
+ 'Convert TOML files to Markdown': 'TOML-Dateien in Markdown konvertieren',
1498
+ 'Create backups of original files':
1499
+ 'Sicherungen der Originaldateien erstellen',
1500
+ 'Preserve all command functionality': 'Alle Befehlsfunktionen beibehalten',
1501
+ 'TOML format will continue to work for now, but migration is recommended.':
1502
+ 'Das TOML-Format funktioniert vorerst weiter, aber eine Migration wird empfohlen.',
1503
+
1504
+ // ============================================================================
1505
+ // Extensions - Explore Command
1506
+ // ============================================================================
1507
+ 'Open extensions page in your browser': 'Erweiterungsseite im Browser öffnen',
1508
+ 'Unknown extensions source: {{source}}.':
1509
+ 'Unbekannte Erweiterungsquelle: {{source}}.',
1510
+ 'Would open extensions page in your browser: {{url}} (skipped in test environment)':
1511
+ 'Würde Erweiterungsseite im Browser öffnen: {{url}} (übersprungen in Testumgebung)',
1512
+ 'View available extensions at {{url}}':
1513
+ 'Verfügbare Erweiterungen ansehen unter {{url}}',
1514
+ 'Opening extensions page in your browser: {{url}}':
1515
+ 'Erweiterungsseite wird im Browser geöffnet: {{url}}',
1516
+ 'Failed to open browser. Check out the extensions gallery at {{url}}':
1517
+ 'Browser konnte nicht geöffnet werden. Besuchen Sie die Erweiterungsgalerie unter {{url}}',
1518
+ 'Use /compress when the conversation gets long to summarize history and free up context.':
1519
+ 'Verwenden Sie /compress, wenn die Unterhaltung lang wird, um den Verlauf zusammenzufassen und Kontext freizugeben.',
1520
+ 'Start a fresh idea with /clear or /new; the previous session stays available in history.':
1521
+ 'Starten Sie eine neue Idee mit /clear oder /new; die vorherige Sitzung bleibt im Verlauf verfügbar.',
1522
+ 'Use /bug to submit issues to the maintainers when something goes off.':
1523
+ 'Verwenden Sie /bug, um Probleme an die Betreuer zu melden, wenn etwas schiefgeht.',
1524
+ 'Switch auth type quickly with /auth.':
1525
+ 'Wechseln Sie den Authentifizierungstyp schnell mit /auth.',
1526
+ 'You can run any shell commands from Qwen Code using ! (e.g. !ls).':
1527
+ 'Sie können beliebige Shell-Befehle in Qwen Code mit ! ausführen (z. B. !ls).',
1528
+ 'Type / to open the command popup; Tab autocompletes slash commands and saved prompts.':
1529
+ 'Geben Sie / ein, um das Befehlsmenü zu öffnen; Tab vervollständigt Slash-Befehle und gespeicherte Prompts.',
1530
+ 'You can resume a previous conversation by running qwen --continue or qwen --resume.':
1531
+ 'Sie können eine frühere Unterhaltung mit qwen --continue oder qwen --resume fortsetzen.',
1532
+ 'You can switch permission mode quickly with Shift+Tab or /approval-mode.':
1533
+ 'Sie können den Berechtigungsmodus schnell mit Shift+Tab oder /approval-mode wechseln.',
1534
+ 'You can switch permission mode quickly with Tab or /approval-mode.':
1535
+ 'Sie können den Berechtigungsmodus schnell mit Tab oder /approval-mode wechseln.',
1536
+ 'Try /insight to generate personalized insights from your chat history.':
1537
+ 'Probieren Sie /insight, um personalisierte Erkenntnisse aus Ihrem Chatverlauf zu erstellen.',
1538
+
1539
+ // ============================================================================
1540
+ // Custom API Key Configuration
1541
+ // ============================================================================
1542
+ 'You can configure your API key and models in settings.json':
1543
+ 'Sie können Ihren API-Schlüssel und Modelle in settings.json konfigurieren',
1544
+ 'Refer to the documentation for setup instructions':
1545
+ 'Einrichtungsanweisungen finden Sie in der Dokumentation',
1546
+
1547
+ // ============================================================================
1548
+ // Coding Plan Authentication
1549
+ // ============================================================================
1550
+ 'API key cannot be empty.': 'API-Schlüssel darf nicht leer sein.',
1551
+ 'You can get your Coding Plan API key here':
1552
+ 'Sie können Ihren Coding-Plan-API-Schlüssel hier erhalten',
1553
+ 'New model configurations are available for Alibaba Cloud Coding Plan. Update now?':
1554
+ 'Neue Modellkonfigurationen sind für Alibaba Cloud Coding Plan verfügbar. Jetzt aktualisieren?',
1555
+ 'Coding Plan configuration updated successfully. New models are now available.':
1556
+ 'Coding Plan-Konfiguration erfolgreich aktualisiert. Neue Modelle sind jetzt verfügbar.',
1557
+ 'Coding Plan API key not found. Please re-authenticate with Coding Plan.':
1558
+ 'Coding Plan API-Schlüssel nicht gefunden. Bitte authentifizieren Sie sich erneut mit Coding Plan.',
1559
+ 'Failed to update Coding Plan configuration: {{message}}':
1560
+ 'Fehler beim Aktualisieren der Coding Plan-Konfiguration: {{message}}',
1561
+
1562
+ // ============================================================================
1563
+ // Auth Dialog - View Titles and Labels
1564
+ // ============================================================================
1565
+ 'Coding Plan': 'Coding Plan',
1566
+ "Paste your api key of Bailian Coding Plan and you're all set!":
1567
+ 'Fügen Sie Ihren Bailian Coding Plan API-Schlüssel ein und Sie sind bereit!',
1568
+ Custom: 'Benutzerdefiniert',
1569
+ 'More instructions about configuring `modelProviders` manually.':
1570
+ 'Weitere Anweisungen zur manuellen Konfiguration von `modelProviders`.',
1571
+ 'Select API-KEY configuration mode:':
1572
+ 'API-KEY-Konfigurationsmodus auswählen:',
1573
+ '(Press Escape to go back)': '(Escape drücken zum Zurückgehen)',
1574
+ '(Press Enter to submit, Escape to cancel)':
1575
+ '(Enter zum Absenden, Escape zum Abbrechen)',
1576
+ 'More instructions please check:': 'Weitere Anweisungen finden Sie unter:',
1577
+ 'Select Region for Coding Plan': 'Region für Coding Plan auswählen',
1578
+ 'Choose based on where your account is registered':
1579
+ 'Wählen Sie basierend auf dem Registrierungsort Ihres Kontos',
1580
+ 'Enter Coding Plan API Key': 'Coding-Plan-API-Schlüssel eingeben',
1581
+
1582
+ // ============================================================================
1583
+ // Coding Plan International Updates
1584
+ // ============================================================================
1585
+ 'New model configurations are available for {{region}}. Update now?':
1586
+ 'Neue Modellkonfigurationen sind für {{region}} verfügbar. Jetzt aktualisieren?',
1587
+ '{{region}} configuration updated successfully. Model switched to "{{model}}".':
1588
+ '{{region}}-Konfiguration erfolgreich aktualisiert. Modell auf "{{model}}" umgeschaltet.',
1589
+ '{{region}} configuration updated successfully.':
1590
+ '{{region}}-Konfiguration erfolgreich aktualisiert.',
1591
+ 'Authenticated successfully with {{region}}. API key and model configs saved to settings.json.':
1592
+ 'Erfolgreich mit {{region}} authentifiziert. API-Schlüssel und Modellkonfigurationen wurden in settings.json gespeichert.',
1593
+ 'Tip: Use /model to switch between available Coding Plan models.':
1594
+ 'Tipp: Verwenden Sie /model, um zwischen verfügbaren Coding Plan-Modellen zu wechseln.',
1595
+
1596
+ // ============================================================================
1597
+ // Ask User Question Tool
1598
+ // ============================================================================
1599
+ 'Please answer the following question(s):':
1600
+ 'Bitte beantworten Sie die folgende(n) Frage(n):',
1601
+ 'Cannot ask user questions in non-interactive mode. Please run in interactive mode to use this tool.':
1602
+ 'Benutzerfragen können im nicht-interaktiven Modus nicht gestellt werden. Bitte führen Sie das Tool im interaktiven Modus aus.',
1603
+ 'User declined to answer the questions.':
1604
+ 'Benutzer hat die Beantwortung der Fragen abgelehnt.',
1605
+ 'User has provided the following answers:':
1606
+ 'Benutzer hat die folgenden Antworten bereitgestellt:',
1607
+ 'Failed to process user answers:':
1608
+ 'Fehler beim Verarbeiten der Benutzerantworten:',
1609
+ 'Type something...': 'Etwas eingeben...',
1610
+ Submit: 'Senden',
1611
+ 'Submit answers': 'Antworten senden',
1612
+ Cancel: 'Abbrechen',
1613
+ 'Your answers:': 'Ihre Antworten:',
1614
+ '(not answered)': '(nicht beantwortet)',
1615
+ 'Ready to submit your answers?': 'Bereit, Ihre Antworten zu senden?',
1616
+ '↑/↓: Navigate | ←/→: Switch tabs | Enter: Select':
1617
+ '↑/↓: Navigieren | ←/→: Tabs wechseln | Enter: Auswählen',
1618
+ '↑/↓: Navigate | ←/→: Switch tabs | Space/Enter: Toggle | Esc: Cancel':
1619
+ '↑/↓: Navigieren | ←/→: Tabs wechseln | Space/Enter: Umschalten | Esc: Abbrechen',
1620
+ '↑/↓: Navigate | Space/Enter: Toggle | Esc: Cancel':
1621
+ '↑/↓: Navigieren | Space/Enter: Umschalten | Esc: Abbrechen',
1622
+ '↑/↓: Navigate | Enter: Select | Esc: Cancel':
1623
+ '↑/↓: Navigieren | Enter: Auswählen | Esc: Abbrechen',
1624
+ };
node_modules/@qwen-code/qwen-code/locales/en.js ADDED
@@ -0,0 +1,1676 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Qwen
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+
7
+ // English translations for Qwen Code CLI
8
+ // The key serves as both the translation key and the default English text
9
+
10
+ export default {
11
+ // ============================================================================
12
+ // Help / UI Components
13
+ // ============================================================================
14
+ // Attachment hints
15
+ '↑ to manage attachments': '↑ to manage attachments',
16
+ '← → select, Delete to remove, ↓ to exit':
17
+ '← → select, Delete to remove, ↓ to exit',
18
+ 'Attachments: ': 'Attachments: ',
19
+
20
+ 'Basics:': 'Basics:',
21
+ 'Add context': 'Add context',
22
+ 'Use {{symbol}} to specify files for context (e.g., {{example}}) to target specific files or folders.':
23
+ 'Use {{symbol}} to specify files for context (e.g., {{example}}) to target specific files or folders.',
24
+ '@': '@',
25
+ '@src/myFile.ts': '@src/myFile.ts',
26
+ 'Shell mode': 'Shell mode',
27
+ 'YOLO mode': 'YOLO mode',
28
+ 'plan mode': 'plan mode',
29
+ 'auto-accept edits': 'auto-accept edits',
30
+ 'Accepting edits': 'Accepting edits',
31
+ '(shift + tab to cycle)': '(shift + tab to cycle)',
32
+ '(tab to cycle)': '(tab to cycle)',
33
+ 'Execute shell commands via {{symbol}} (e.g., {{example1}}) or use natural language (e.g., {{example2}}).':
34
+ 'Execute shell commands via {{symbol}} (e.g., {{example1}}) or use natural language (e.g., {{example2}}).',
35
+ '!': '!',
36
+ '!npm run start': '!npm run start',
37
+ 'start server': 'start server',
38
+ 'Commands:': 'Commands:',
39
+ 'shell command': 'shell command',
40
+ 'Model Context Protocol command (from external servers)':
41
+ 'Model Context Protocol command (from external servers)',
42
+ 'Keyboard Shortcuts:': 'Keyboard Shortcuts:',
43
+ 'Toggle this help display': 'Toggle this help display',
44
+ 'Toggle shell mode': 'Toggle shell mode',
45
+ 'Open command menu': 'Open command menu',
46
+ 'Add file context': 'Add file context',
47
+ 'Accept suggestion / Autocomplete': 'Accept suggestion / Autocomplete',
48
+ 'Reverse search history': 'Reverse search history',
49
+ 'Press ? again to close': 'Press ? again to close',
50
+ // Keyboard shortcuts panel descriptions
51
+ 'for shell mode': 'for shell mode',
52
+ 'for commands': 'for commands',
53
+ 'for file paths': 'for file paths',
54
+ 'to clear input': 'to clear input',
55
+ 'to cycle approvals': 'to cycle approvals',
56
+ 'to quit': 'to quit',
57
+ 'for newline': 'for newline',
58
+ 'to clear screen': 'to clear screen',
59
+ 'to search history': 'to search history',
60
+ 'to paste images': 'to paste images',
61
+ 'for external editor': 'for external editor',
62
+ 'Jump through words in the input': 'Jump through words in the input',
63
+ 'Close dialogs, cancel requests, or quit application':
64
+ 'Close dialogs, cancel requests, or quit application',
65
+ 'New line': 'New line',
66
+ 'New line (Alt+Enter works for certain linux distros)':
67
+ 'New line (Alt+Enter works for certain linux distros)',
68
+ 'Clear the screen': 'Clear the screen',
69
+ 'Open input in external editor': 'Open input in external editor',
70
+ 'Send message': 'Send message',
71
+ 'Initializing...': 'Initializing...',
72
+ 'Connecting to MCP servers... ({{connected}}/{{total}})':
73
+ 'Connecting to MCP servers... ({{connected}}/{{total}})',
74
+ 'Type your message or @path/to/file': 'Type your message or @path/to/file',
75
+ '? for shortcuts': '? for shortcuts',
76
+ "Press 'i' for INSERT mode and 'Esc' for NORMAL mode.":
77
+ "Press 'i' for INSERT mode and 'Esc' for NORMAL mode.",
78
+ 'Cancel operation / Clear input (double press)':
79
+ 'Cancel operation / Clear input (double press)',
80
+ 'Cycle approval modes': 'Cycle approval modes',
81
+ 'Cycle through your prompt history': 'Cycle through your prompt history',
82
+ 'For a full list of shortcuts, see {{docPath}}':
83
+ 'For a full list of shortcuts, see {{docPath}}',
84
+ 'docs/keyboard-shortcuts.md': 'docs/keyboard-shortcuts.md',
85
+ 'for help on Qwen Code': 'for help on Qwen Code',
86
+ 'show version info': 'show version info',
87
+ 'submit a bug report': 'submit a bug report',
88
+ 'About Qwen Code': 'About Qwen Code',
89
+ Status: 'Status',
90
+
91
+ // ============================================================================
92
+ // System Information Fields
93
+ // ============================================================================
94
+ 'Qwen Code': 'Qwen Code',
95
+ Runtime: 'Runtime',
96
+ OS: 'OS',
97
+ Auth: 'Auth',
98
+ 'CLI Version': 'CLI Version',
99
+ 'Git Commit': 'Git Commit',
100
+ Model: 'Model',
101
+ Sandbox: 'Sandbox',
102
+ 'OS Platform': 'OS Platform',
103
+ 'OS Arch': 'OS Arch',
104
+ 'OS Release': 'OS Release',
105
+ 'Node.js Version': 'Node.js Version',
106
+ 'NPM Version': 'NPM Version',
107
+ 'Session ID': 'Session ID',
108
+ 'Auth Method': 'Auth Method',
109
+ 'Base URL': 'Base URL',
110
+ Proxy: 'Proxy',
111
+ 'Memory Usage': 'Memory Usage',
112
+ 'IDE Client': 'IDE Client',
113
+
114
+ // ============================================================================
115
+ // Commands - General
116
+ // ============================================================================
117
+ 'Analyzes the project and creates a tailored QWEN.md file.':
118
+ 'Analyzes the project and creates a tailored QWEN.md file.',
119
+ 'List available Qwen Code tools. Usage: /tools [desc]':
120
+ 'List available Qwen Code tools. Usage: /tools [desc]',
121
+ 'Available Qwen Code CLI tools:': 'Available Qwen Code CLI tools:',
122
+ 'No tools available': 'No tools available',
123
+ 'View or change the approval mode for tool usage':
124
+ 'View or change the approval mode for tool usage',
125
+ 'Invalid approval mode "{{arg}}". Valid modes: {{modes}}':
126
+ 'Invalid approval mode "{{arg}}". Valid modes: {{modes}}',
127
+ 'Approval mode set to "{{mode}}"': 'Approval mode set to "{{mode}}"',
128
+ 'View or change the language setting': 'View or change the language setting',
129
+ 'change the theme': 'change the theme',
130
+ 'Select Theme': 'Select Theme',
131
+ Preview: 'Preview',
132
+ '(Use Enter to select, Tab to configure scope)':
133
+ '(Use Enter to select, Tab to configure scope)',
134
+ '(Use Enter to apply scope, Tab to go back)':
135
+ '(Use Enter to apply scope, Tab to go back)',
136
+ 'Theme configuration unavailable due to NO_COLOR env variable.':
137
+ 'Theme configuration unavailable due to NO_COLOR env variable.',
138
+ 'Theme "{{themeName}}" not found.': 'Theme "{{themeName}}" not found.',
139
+ 'Theme "{{themeName}}" not found in selected scope.':
140
+ 'Theme "{{themeName}}" not found in selected scope.',
141
+ 'Clear conversation history and free up context':
142
+ 'Clear conversation history and free up context',
143
+ 'Compresses the context by replacing it with a summary.':
144
+ 'Compresses the context by replacing it with a summary.',
145
+ 'open full Qwen Code documentation in your browser':
146
+ 'open full Qwen Code documentation in your browser',
147
+ 'Configuration not available.': 'Configuration not available.',
148
+ 'change the auth method': 'change the auth method',
149
+ 'Configure authentication information for login':
150
+ 'Configure authentication information for login',
151
+ 'Copy the last result or code snippet to clipboard':
152
+ 'Copy the last result or code snippet to clipboard',
153
+
154
+ // ============================================================================
155
+ // Commands - Agents
156
+ // ============================================================================
157
+ 'Manage subagents for specialized task delegation.':
158
+ 'Manage subagents for specialized task delegation.',
159
+ 'Manage existing subagents (view, edit, delete).':
160
+ 'Manage existing subagents (view, edit, delete).',
161
+ 'Create a new subagent with guided setup.':
162
+ 'Create a new subagent with guided setup.',
163
+
164
+ // ============================================================================
165
+ // Agents - Management Dialog
166
+ // ============================================================================
167
+ Agents: 'Agents',
168
+ 'Choose Action': 'Choose Action',
169
+ 'Edit {{name}}': 'Edit {{name}}',
170
+ 'Edit Tools: {{name}}': 'Edit Tools: {{name}}',
171
+ 'Edit Color: {{name}}': 'Edit Color: {{name}}',
172
+ 'Delete {{name}}': 'Delete {{name}}',
173
+ 'Unknown Step': 'Unknown Step',
174
+ 'Esc to close': 'Esc to close',
175
+ 'Enter to select, ↑↓ to navigate, Esc to close':
176
+ 'Enter to select, ↑↓ to navigate, Esc to close',
177
+ 'Esc to go back': 'Esc to go back',
178
+ 'Enter to confirm, Esc to cancel': 'Enter to confirm, Esc to cancel',
179
+ 'Enter to select, ↑↓ to navigate, Esc to go back':
180
+ 'Enter to select, ↑↓ to navigate, Esc to go back',
181
+ 'Enter to submit, Esc to go back': 'Enter to submit, Esc to go back',
182
+ 'Invalid step: {{step}}': 'Invalid step: {{step}}',
183
+ 'No subagents found.': 'No subagents found.',
184
+ "Use '/agents create' to create your first subagent.":
185
+ "Use '/agents create' to create your first subagent.",
186
+ '(built-in)': '(built-in)',
187
+ '(overridden by project level agent)': '(overridden by project level agent)',
188
+ 'Project Level ({{path}})': 'Project Level ({{path}})',
189
+ 'User Level ({{path}})': 'User Level ({{path}})',
190
+ 'Built-in Agents': 'Built-in Agents',
191
+ 'Extension Agents': 'Extension Agents',
192
+ 'Using: {{count}} agents': 'Using: {{count}} agents',
193
+ 'View Agent': 'View Agent',
194
+ 'Edit Agent': 'Edit Agent',
195
+ 'Delete Agent': 'Delete Agent',
196
+ Back: 'Back',
197
+ 'No agent selected': 'No agent selected',
198
+ 'File Path: ': 'File Path: ',
199
+ 'Tools: ': 'Tools: ',
200
+ 'Color: ': 'Color: ',
201
+ 'Description:': 'Description:',
202
+ 'System Prompt:': 'System Prompt:',
203
+ 'Open in editor': 'Open in editor',
204
+ 'Edit tools': 'Edit tools',
205
+ 'Edit color': 'Edit color',
206
+ '❌ Error:': '❌ Error:',
207
+ 'Are you sure you want to delete agent "{{name}}"?':
208
+ 'Are you sure you want to delete agent "{{name}}"?',
209
+ // ============================================================================
210
+ // Agents - Creation Wizard
211
+ // ============================================================================
212
+ 'Project Level (.qwen/agents/)': 'Project Level (.qwen/agents/)',
213
+ 'User Level (~/.qwen/agents/)': 'User Level (~/.qwen/agents/)',
214
+ '✅ Subagent Created Successfully!': '✅ Subagent Created Successfully!',
215
+ 'Subagent "{{name}}" has been saved to {{level}} level.':
216
+ 'Subagent "{{name}}" has been saved to {{level}} level.',
217
+ 'Name: ': 'Name: ',
218
+ 'Location: ': 'Location: ',
219
+ '❌ Error saving subagent:': '❌ Error saving subagent:',
220
+ 'Warnings:': 'Warnings:',
221
+ 'Name "{{name}}" already exists at {{level}} level - will overwrite existing subagent':
222
+ 'Name "{{name}}" already exists at {{level}} level - will overwrite existing subagent',
223
+ 'Name "{{name}}" exists at user level - project level will take precedence':
224
+ 'Name "{{name}}" exists at user level - project level will take precedence',
225
+ 'Name "{{name}}" exists at project level - existing subagent will take precedence':
226
+ 'Name "{{name}}" exists at project level - existing subagent will take precedence',
227
+ 'Description is over {{length}} characters':
228
+ 'Description is over {{length}} characters',
229
+ 'System prompt is over {{length}} characters':
230
+ 'System prompt is over {{length}} characters',
231
+ // Agents - Creation Wizard Steps
232
+ 'Step {{n}}: Choose Location': 'Step {{n}}: Choose Location',
233
+ 'Step {{n}}: Choose Generation Method':
234
+ 'Step {{n}}: Choose Generation Method',
235
+ 'Generate with Qwen Code (Recommended)':
236
+ 'Generate with Qwen Code (Recommended)',
237
+ 'Manual Creation': 'Manual Creation',
238
+ 'Describe what this subagent should do and when it should be used. (Be comprehensive for best results)':
239
+ 'Describe what this subagent should do and when it should be used. (Be comprehensive for best results)',
240
+ 'e.g., Expert code reviewer that reviews code based on best practices...':
241
+ 'e.g., Expert code reviewer that reviews code based on best practices...',
242
+ 'Generating subagent configuration...':
243
+ 'Generating subagent configuration...',
244
+ 'Failed to generate subagent: {{error}}':
245
+ 'Failed to generate subagent: {{error}}',
246
+ 'Step {{n}}: Describe Your Subagent': 'Step {{n}}: Describe Your Subagent',
247
+ 'Step {{n}}: Enter Subagent Name': 'Step {{n}}: Enter Subagent Name',
248
+ 'Step {{n}}: Enter System Prompt': 'Step {{n}}: Enter System Prompt',
249
+ 'Step {{n}}: Enter Description': 'Step {{n}}: Enter Description',
250
+ // Agents - Tool Selection
251
+ 'Step {{n}}: Select Tools': 'Step {{n}}: Select Tools',
252
+ 'All Tools (Default)': 'All Tools (Default)',
253
+ 'All Tools': 'All Tools',
254
+ 'Read-only Tools': 'Read-only Tools',
255
+ 'Read & Edit Tools': 'Read & Edit Tools',
256
+ 'Read & Edit & Execution Tools': 'Read & Edit & Execution Tools',
257
+ 'All tools selected, including MCP tools':
258
+ 'All tools selected, including MCP tools',
259
+ 'Selected tools:': 'Selected tools:',
260
+ 'Read-only tools:': 'Read-only tools:',
261
+ 'Edit tools:': 'Edit tools:',
262
+ 'Execution tools:': 'Execution tools:',
263
+ 'Step {{n}}: Choose Background Color': 'Step {{n}}: Choose Background Color',
264
+ 'Step {{n}}: Confirm and Save': 'Step {{n}}: Confirm and Save',
265
+ // Agents - Navigation & Instructions
266
+ 'Esc to cancel': 'Esc to cancel',
267
+ 'Press Enter to save, e to save and edit, Esc to go back':
268
+ 'Press Enter to save, e to save and edit, Esc to go back',
269
+ 'Press Enter to continue, {{navigation}}Esc to {{action}}':
270
+ 'Press Enter to continue, {{navigation}}Esc to {{action}}',
271
+ cancel: 'cancel',
272
+ 'go back': 'go back',
273
+ '↑↓ to navigate, ': '↑↓ to navigate, ',
274
+ 'Enter a clear, unique name for this subagent.':
275
+ 'Enter a clear, unique name for this subagent.',
276
+ 'e.g., Code Reviewer': 'e.g., Code Reviewer',
277
+ 'Name cannot be empty.': 'Name cannot be empty.',
278
+ "Write the system prompt that defines this subagent's behavior. Be comprehensive for best results.":
279
+ "Write the system prompt that defines this subagent's behavior. Be comprehensive for best results.",
280
+ 'e.g., You are an expert code reviewer...':
281
+ 'e.g., You are an expert code reviewer...',
282
+ 'System prompt cannot be empty.': 'System prompt cannot be empty.',
283
+ 'Describe when and how this subagent should be used.':
284
+ 'Describe when and how this subagent should be used.',
285
+ 'e.g., Reviews code for best practices and potential bugs.':
286
+ 'e.g., Reviews code for best practices and potential bugs.',
287
+ 'Description cannot be empty.': 'Description cannot be empty.',
288
+ 'Failed to launch editor: {{error}}': 'Failed to launch editor: {{error}}',
289
+ 'Failed to save and edit subagent: {{error}}':
290
+ 'Failed to save and edit subagent: {{error}}',
291
+
292
+ // ============================================================================
293
+ // Extensions - Management Dialog
294
+ // ============================================================================
295
+ 'Manage Extensions': 'Manage Extensions',
296
+ 'Extension Details': 'Extension Details',
297
+ 'View Extension': 'View Extension',
298
+ 'Update Extension': 'Update Extension',
299
+ 'Disable Extension': 'Disable Extension',
300
+ 'Enable Extension': 'Enable Extension',
301
+ 'Uninstall Extension': 'Uninstall Extension',
302
+ 'Select Scope': 'Select Scope',
303
+ 'User Scope': 'User Scope',
304
+ 'Workspace Scope': 'Workspace Scope',
305
+ 'No extensions found.': 'No extensions found.',
306
+ Active: 'Active',
307
+ Disabled: 'Disabled',
308
+ 'Update available': 'Update available',
309
+ 'Up to date': 'Up to date',
310
+ 'Checking...': 'Checking...',
311
+ 'Updating...': 'Updating...',
312
+ Unknown: 'Unknown',
313
+ Error: 'Error',
314
+ 'Version:': 'Version:',
315
+ 'Status:': 'Status:',
316
+ 'Are you sure you want to uninstall extension "{{name}}"?':
317
+ 'Are you sure you want to uninstall extension "{{name}}"?',
318
+ 'This action cannot be undone.': 'This action cannot be undone.',
319
+ 'Extension "{{name}}" disabled successfully.':
320
+ 'Extension "{{name}}" disabled successfully.',
321
+ 'Extension "{{name}}" enabled successfully.':
322
+ 'Extension "{{name}}" enabled successfully.',
323
+ 'Extension "{{name}}" updated successfully.':
324
+ 'Extension "{{name}}" updated successfully.',
325
+ 'Failed to update extension "{{name}}": {{error}}':
326
+ 'Failed to update extension "{{name}}": {{error}}',
327
+ 'Select the scope for this action:': 'Select the scope for this action:',
328
+ 'User - Applies to all projects': 'User - Applies to all projects',
329
+ 'Workspace - Applies to current project only':
330
+ 'Workspace - Applies to current project only',
331
+ // Extension dialog - missing keys
332
+ 'Name:': 'Name:',
333
+ 'MCP Servers:': 'MCP Servers:',
334
+ 'Settings:': 'Settings:',
335
+ active: 'active',
336
+ disabled: 'disabled',
337
+ 'View Details': 'View Details',
338
+ 'Update failed:': 'Update failed:',
339
+ 'Updating {{name}}...': 'Updating {{name}}...',
340
+ 'Update complete!': 'Update complete!',
341
+ 'User (global)': 'User (global)',
342
+ 'Workspace (project-specific)': 'Workspace (project-specific)',
343
+ 'Disable "{{name}}" - Select Scope': 'Disable "{{name}}" - Select Scope',
344
+ 'Enable "{{name}}" - Select Scope': 'Enable "{{name}}" - Select Scope',
345
+ 'No extension selected': 'No extension selected',
346
+ 'Press Y/Enter to confirm, N/Esc to cancel':
347
+ 'Press Y/Enter to confirm, N/Esc to cancel',
348
+ 'Y/Enter to confirm, N/Esc to cancel': 'Y/Enter to confirm, N/Esc to cancel',
349
+ '{{count}} extensions installed': '{{count}} extensions installed',
350
+ "Use '/extensions install' to install your first extension.":
351
+ "Use '/extensions install' to install your first extension.",
352
+ // Update status values
353
+ 'up to date': 'up to date',
354
+ 'update available': 'update available',
355
+ 'checking...': 'checking...',
356
+ 'not updatable': 'not updatable',
357
+ error: 'error',
358
+
359
+ // ============================================================================
360
+ // Commands - General (continued)
361
+ // ============================================================================
362
+ 'View and edit Qwen Code settings': 'View and edit Qwen Code settings',
363
+ Settings: 'Settings',
364
+ 'To see changes, Qwen Code must be restarted. Press r to exit and apply changes now.':
365
+ 'To see changes, Qwen Code must be restarted. Press r to exit and apply changes now.',
366
+ 'The command "/{{command}}" is not supported in non-interactive mode.':
367
+ 'The command "/{{command}}" is not supported in non-interactive mode.',
368
+ // ============================================================================
369
+ // Settings Labels
370
+ // ============================================================================
371
+ 'Vim Mode': 'Vim Mode',
372
+ 'Disable Auto Update': 'Disable Auto Update',
373
+ 'Attribution: commit': 'Attribution: commit',
374
+ 'Terminal Bell Notification': 'Terminal Bell Notification',
375
+ 'Enable Usage Statistics': 'Enable Usage Statistics',
376
+ Theme: 'Theme',
377
+ 'Preferred Editor': 'Preferred Editor',
378
+ 'Auto-connect to IDE': 'Auto-connect to IDE',
379
+ 'Enable Prompt Completion': 'Enable Prompt Completion',
380
+ 'Debug Keystroke Logging': 'Debug Keystroke Logging',
381
+ 'Language: UI': 'Language: UI',
382
+ 'Language: Model': 'Language: Model',
383
+ 'Output Format': 'Output Format',
384
+ 'Hide Window Title': 'Hide Window Title',
385
+ 'Show Status in Title': 'Show Status in Title',
386
+ 'Hide Tips': 'Hide Tips',
387
+ 'Show Line Numbers in Code': 'Show Line Numbers in Code',
388
+ 'Show Citations': 'Show Citations',
389
+ 'Custom Witty Phrases': 'Custom Witty Phrases',
390
+ 'Show Welcome Back Dialog': 'Show Welcome Back Dialog',
391
+ 'Enable User Feedback': 'Enable User Feedback',
392
+ 'How is Qwen doing this session? (optional)':
393
+ 'How is Qwen doing this session? (optional)',
394
+ Bad: 'Bad',
395
+ Fine: 'Fine',
396
+ Good: 'Good',
397
+ Dismiss: 'Dismiss',
398
+ 'Not Sure Yet': 'Not Sure Yet',
399
+ 'Any other key': 'Any other key',
400
+ 'Disable Loading Phrases': 'Disable Loading Phrases',
401
+ 'Screen Reader Mode': 'Screen Reader Mode',
402
+ 'IDE Mode': 'IDE Mode',
403
+ 'Max Session Turns': 'Max Session Turns',
404
+ 'Skip Next Speaker Check': 'Skip Next Speaker Check',
405
+ 'Skip Loop Detection': 'Skip Loop Detection',
406
+ 'Skip Startup Context': 'Skip Startup Context',
407
+ 'Enable OpenAI Logging': 'Enable OpenAI Logging',
408
+ 'OpenAI Logging Directory': 'OpenAI Logging Directory',
409
+ Timeout: 'Timeout',
410
+ 'Max Retries': 'Max Retries',
411
+ 'Disable Cache Control': 'Disable Cache Control',
412
+ 'Memory Discovery Max Dirs': 'Memory Discovery Max Dirs',
413
+ 'Load Memory From Include Directories':
414
+ 'Load Memory From Include Directories',
415
+ 'Respect .gitignore': 'Respect .gitignore',
416
+ 'Respect .qwenignore': 'Respect .qwenignore',
417
+ 'Enable Recursive File Search': 'Enable Recursive File Search',
418
+ 'Disable Fuzzy Search': 'Disable Fuzzy Search',
419
+ 'Interactive Shell (PTY)': 'Interactive Shell (PTY)',
420
+ 'Show Color': 'Show Color',
421
+ 'Auto Accept': 'Auto Accept',
422
+ 'Use Ripgrep': 'Use Ripgrep',
423
+ 'Use Builtin Ripgrep': 'Use Builtin Ripgrep',
424
+ 'Enable Tool Output Truncation': 'Enable Tool Output Truncation',
425
+ 'Tool Output Truncation Threshold': 'Tool Output Truncation Threshold',
426
+ 'Tool Output Truncation Lines': 'Tool Output Truncation Lines',
427
+ 'Folder Trust': 'Folder Trust',
428
+ 'Vision Model Preview': 'Vision Model Preview',
429
+ 'Tool Schema Compliance': 'Tool Schema Compliance',
430
+ // Settings enum options
431
+ 'Auto (detect from system)': 'Auto (detect from system)',
432
+ Text: 'Text',
433
+ JSON: 'JSON',
434
+ Plan: 'Plan',
435
+ Default: 'Default',
436
+ 'Auto Edit': 'Auto Edit',
437
+ YOLO: 'YOLO',
438
+ 'toggle vim mode on/off': 'toggle vim mode on/off',
439
+ 'check session stats. Usage: /stats [model|tools]':
440
+ 'check session stats. Usage: /stats [model|tools]',
441
+ 'Show model-specific usage statistics.':
442
+ 'Show model-specific usage statistics.',
443
+ 'Show tool-specific usage statistics.':
444
+ 'Show tool-specific usage statistics.',
445
+ 'exit the cli': 'exit the cli',
446
+ 'Open MCP management dialog, or authenticate with OAuth-enabled servers':
447
+ 'Open MCP management dialog, or authenticate with OAuth-enabled servers',
448
+ 'List configured MCP servers and tools, or authenticate with OAuth-enabled servers':
449
+ 'List configured MCP servers and tools, or authenticate with OAuth-enabled servers',
450
+ 'Manage workspace directories': 'Manage workspace directories',
451
+ 'Add directories to the workspace. Use comma to separate multiple paths':
452
+ 'Add directories to the workspace. Use comma to separate multiple paths',
453
+ 'Show all directories in the workspace':
454
+ 'Show all directories in the workspace',
455
+ 'set external editor preference': 'set external editor preference',
456
+ 'Select Editor': 'Select Editor',
457
+ 'Editor Preference': 'Editor Preference',
458
+ 'These editors are currently supported. Please note that some editors cannot be used in sandbox mode.':
459
+ 'These editors are currently supported. Please note that some editors cannot be used in sandbox mode.',
460
+ 'Your preferred editor is:': 'Your preferred editor is:',
461
+ 'Manage extensions': 'Manage extensions',
462
+ 'List active extensions': 'List active extensions',
463
+ 'Update extensions. Usage: update <extension-names>|--all':
464
+ 'Update extensions. Usage: update <extension-names>|--all',
465
+ 'Disable an extension': 'Disable an extension',
466
+ 'Enable an extension': 'Enable an extension',
467
+ 'Install an extension from a git repo or local path':
468
+ 'Install an extension from a git repo or local path',
469
+ 'Uninstall an extension': 'Uninstall an extension',
470
+ 'No extensions installed.': 'No extensions installed.',
471
+ 'Usage: /extensions update <extension-names>|--all':
472
+ 'Usage: /extensions update <extension-names>|--all',
473
+ 'Extension "{{name}}" not found.': 'Extension "{{name}}" not found.',
474
+ 'No extensions to update.': 'No extensions to update.',
475
+ 'Usage: /extensions install <source>': 'Usage: /extensions install <source>',
476
+ 'Installing extension from "{{source}}"...':
477
+ 'Installing extension from "{{source}}"...',
478
+ 'Extension "{{name}}" installed successfully.':
479
+ 'Extension "{{name}}" installed successfully.',
480
+ 'Failed to install extension from "{{source}}": {{error}}':
481
+ 'Failed to install extension from "{{source}}": {{error}}',
482
+ 'Usage: /extensions uninstall <extension-name>':
483
+ 'Usage: /extensions uninstall <extension-name>',
484
+ 'Uninstalling extension "{{name}}"...':
485
+ 'Uninstalling extension "{{name}}"...',
486
+ 'Extension "{{name}}" uninstalled successfully.':
487
+ 'Extension "{{name}}" uninstalled successfully.',
488
+ 'Failed to uninstall extension "{{name}}": {{error}}':
489
+ 'Failed to uninstall extension "{{name}}": {{error}}',
490
+ 'Usage: /extensions {{command}} <extension> [--scope=<user|workspace>]':
491
+ 'Usage: /extensions {{command}} <extension> [--scope=<user|workspace>]',
492
+ 'Unsupported scope "{{scope}}", should be one of "user" or "workspace"':
493
+ 'Unsupported scope "{{scope}}", should be one of "user" or "workspace"',
494
+ 'Extension "{{name}}" disabled for scope "{{scope}}"':
495
+ 'Extension "{{name}}" disabled for scope "{{scope}}"',
496
+ 'Extension "{{name}}" enabled for scope "{{scope}}"':
497
+ 'Extension "{{name}}" enabled for scope "{{scope}}"',
498
+ 'Do you want to continue? [Y/n]: ': 'Do you want to continue? [Y/n]: ',
499
+ 'Do you want to continue?': 'Do you want to continue?',
500
+ 'Installing extension "{{name}}".': 'Installing extension "{{name}}".',
501
+ '**Extensions may introduce unexpected behavior. Ensure you have investigated the extension source and trust the author.**':
502
+ '**Extensions may introduce unexpected behavior. Ensure you have investigated the extension source and trust the author.**',
503
+ 'This extension will run the following MCP servers:':
504
+ 'This extension will run the following MCP servers:',
505
+ local: 'local',
506
+ remote: 'remote',
507
+ 'This extension will add the following commands: {{commands}}.':
508
+ 'This extension will add the following commands: {{commands}}.',
509
+ 'This extension will append info to your QWEN.md context using {{fileName}}':
510
+ 'This extension will append info to your QWEN.md context using {{fileName}}',
511
+ 'This extension will exclude the following core tools: {{tools}}':
512
+ 'This extension will exclude the following core tools: {{tools}}',
513
+ 'This extension will install the following skills:':
514
+ 'This extension will install the following skills:',
515
+ 'This extension will install the following subagents:':
516
+ 'This extension will install the following subagents:',
517
+ 'Installation cancelled for "{{name}}".':
518
+ 'Installation cancelled for "{{name}}".',
519
+ 'You are installing an extension from {{originSource}}. Some features may not work perfectly with Qwen Code.':
520
+ 'You are installing an extension from {{originSource}}. Some features may not work perfectly with Qwen Code.',
521
+ '--ref and --auto-update are not applicable for marketplace extensions.':
522
+ '--ref and --auto-update are not applicable for marketplace extensions.',
523
+ 'Extension "{{name}}" installed successfully and enabled.':
524
+ 'Extension "{{name}}" installed successfully and enabled.',
525
+ 'Installs an extension from a git repository URL, local path, or claude marketplace (marketplace-url:plugin-name).':
526
+ 'Installs an extension from a git repository URL, local path, or claude marketplace (marketplace-url:plugin-name).',
527
+ 'The github URL, local path, or marketplace source (marketplace-url:plugin-name) of the extension to install.':
528
+ 'The github URL, local path, or marketplace source (marketplace-url:plugin-name) of the extension to install.',
529
+ 'The git ref to install from.': 'The git ref to install from.',
530
+ 'Enable auto-update for this extension.':
531
+ 'Enable auto-update for this extension.',
532
+ 'Enable pre-release versions for this extension.':
533
+ 'Enable pre-release versions for this extension.',
534
+ 'Acknowledge the security risks of installing an extension and skip the confirmation prompt.':
535
+ 'Acknowledge the security risks of installing an extension and skip the confirmation prompt.',
536
+ 'The source argument must be provided.':
537
+ 'The source argument must be provided.',
538
+ 'Extension "{{name}}" successfully uninstalled.':
539
+ 'Extension "{{name}}" successfully uninstalled.',
540
+ 'Uninstalls an extension.': 'Uninstalls an extension.',
541
+ 'The name or source path of the extension to uninstall.':
542
+ 'The name or source path of the extension to uninstall.',
543
+ 'Please include the name of the extension to uninstall as a positional argument.':
544
+ 'Please include the name of the extension to uninstall as a positional argument.',
545
+ 'Enables an extension.': 'Enables an extension.',
546
+ 'The name of the extension to enable.':
547
+ 'The name of the extension to enable.',
548
+ 'The scope to enable the extenison in. If not set, will be enabled in all scopes.':
549
+ 'The scope to enable the extenison in. If not set, will be enabled in all scopes.',
550
+ 'Extension "{{name}}" successfully enabled for scope "{{scope}}".':
551
+ 'Extension "{{name}}" successfully enabled for scope "{{scope}}".',
552
+ 'Extension "{{name}}" successfully enabled in all scopes.':
553
+ 'Extension "{{name}}" successfully enabled in all scopes.',
554
+ 'Invalid scope: {{scope}}. Please use one of {{scopes}}.':
555
+ 'Invalid scope: {{scope}}. Please use one of {{scopes}}.',
556
+ 'Disables an extension.': 'Disables an extension.',
557
+ 'The name of the extension to disable.':
558
+ 'The name of the extension to disable.',
559
+ 'The scope to disable the extenison in.':
560
+ 'The scope to disable the extenison in.',
561
+ 'Extension "{{name}}" successfully disabled for scope "{{scope}}".':
562
+ 'Extension "{{name}}" successfully disabled for scope "{{scope}}".',
563
+ 'Extension "{{name}}" successfully updated: {{oldVersion}} → {{newVersion}}.':
564
+ 'Extension "{{name}}" successfully updated: {{oldVersion}} → {{newVersion}}.',
565
+ 'Unable to install extension "{{name}}" due to missing install metadata':
566
+ 'Unable to install extension "{{name}}" due to missing install metadata',
567
+ 'Extension "{{name}}" is already up to date.':
568
+ 'Extension "{{name}}" is already up to date.',
569
+ 'Updates all extensions or a named extension to the latest version.':
570
+ 'Updates all extensions or a named extension to the latest version.',
571
+ 'Update all extensions.': 'Update all extensions.',
572
+ 'Either an extension name or --all must be provided':
573
+ 'Either an extension name or --all must be provided',
574
+ 'Lists installed extensions.': 'Lists installed extensions.',
575
+ 'Path:': 'Path:',
576
+ 'Source:': 'Source:',
577
+ 'Type:': 'Type:',
578
+ 'Ref:': 'Ref:',
579
+ 'Release tag:': 'Release tag:',
580
+ 'Enabled (User):': 'Enabled (User):',
581
+ 'Enabled (Workspace):': 'Enabled (Workspace):',
582
+ 'Context files:': 'Context files:',
583
+ 'Skills:': 'Skills:',
584
+ 'Agents:': 'Agents:',
585
+ 'MCP servers:': 'MCP servers:',
586
+ 'Link extension failed to install.': 'Link extension failed to install.',
587
+ 'Extension "{{name}}" linked successfully and enabled.':
588
+ 'Extension "{{name}}" linked successfully and enabled.',
589
+ 'Links an extension from a local path. Updates made to the local path will always be reflected.':
590
+ 'Links an extension from a local path. Updates made to the local path will always be reflected.',
591
+ 'The name of the extension to link.': 'The name of the extension to link.',
592
+ 'Set a specific setting for an extension.':
593
+ 'Set a specific setting for an extension.',
594
+ 'Name of the extension to configure.': 'Name of the extension to configure.',
595
+ 'The setting to configure (name or env var).':
596
+ 'The setting to configure (name or env var).',
597
+ 'The scope to set the setting in.': 'The scope to set the setting in.',
598
+ 'List all settings for an extension.': 'List all settings for an extension.',
599
+ 'Name of the extension.': 'Name of the extension.',
600
+ 'Extension "{{name}}" has no settings to configure.':
601
+ 'Extension "{{name}}" has no settings to configure.',
602
+ 'Settings for "{{name}}":': 'Settings for "{{name}}":',
603
+ '(workspace)': '(workspace)',
604
+ '(user)': '(user)',
605
+ '[not set]': '[not set]',
606
+ '[value stored in keychain]': '[value stored in keychain]',
607
+ 'Value:': 'Value:',
608
+ 'Manage extension settings.': 'Manage extension settings.',
609
+ 'You need to specify a command (set or list).':
610
+ 'You need to specify a command (set or list).',
611
+ // ============================================================================
612
+ // Plugin Choice / Marketplace
613
+ // ============================================================================
614
+ 'No plugins available in this marketplace.':
615
+ 'No plugins available in this marketplace.',
616
+ 'Select a plugin to install from marketplace "{{name}}":':
617
+ 'Select a plugin to install from marketplace "{{name}}":',
618
+ 'Plugin selection cancelled.': 'Plugin selection cancelled.',
619
+ 'Select a plugin from "{{name}}"': 'Select a plugin from "{{name}}"',
620
+ 'Use ↑↓ or j/k to navigate, Enter to select, Escape to cancel':
621
+ 'Use ↑↓ or j/k to navigate, Enter to select, Escape to cancel',
622
+ '{{count}} more above': '{{count}} more above',
623
+ '{{count}} more below': '{{count}} more below',
624
+ 'manage IDE integration': 'manage IDE integration',
625
+ 'check status of IDE integration': 'check status of IDE integration',
626
+ 'install required IDE companion for {{ideName}}':
627
+ 'install required IDE companion for {{ideName}}',
628
+ 'enable IDE integration': 'enable IDE integration',
629
+ 'disable IDE integration': 'disable IDE integration',
630
+ 'IDE integration is not supported in your current environment. To use this feature, run Qwen Code in one of these supported IDEs: VS Code or VS Code forks.':
631
+ 'IDE integration is not supported in your current environment. To use this feature, run Qwen Code in one of these supported IDEs: VS Code or VS Code forks.',
632
+ 'Set up GitHub Actions': 'Set up GitHub Actions',
633
+ 'Configure terminal keybindings for multiline input (VS Code, Cursor, Windsurf, Trae)':
634
+ 'Configure terminal keybindings for multiline input (VS Code, Cursor, Windsurf, Trae)',
635
+ 'Please restart your terminal for the changes to take effect.':
636
+ 'Please restart your terminal for the changes to take effect.',
637
+ 'Failed to configure terminal: {{error}}':
638
+ 'Failed to configure terminal: {{error}}',
639
+ 'Could not determine {{terminalName}} config path on Windows: APPDATA environment variable is not set.':
640
+ 'Could not determine {{terminalName}} config path on Windows: APPDATA environment variable is not set.',
641
+ '{{terminalName}} keybindings.json exists but is not a valid JSON array. Please fix the file manually or delete it to allow automatic configuration.':
642
+ '{{terminalName}} keybindings.json exists but is not a valid JSON array. Please fix the file manually or delete it to allow automatic configuration.',
643
+ 'File: {{file}}': 'File: {{file}}',
644
+ 'Failed to parse {{terminalName}} keybindings.json. The file contains invalid JSON. Please fix the file manually or delete it to allow automatic configuration.':
645
+ 'Failed to parse {{terminalName}} keybindings.json. The file contains invalid JSON. Please fix the file manually or delete it to allow automatic configuration.',
646
+ 'Error: {{error}}': 'Error: {{error}}',
647
+ 'Shift+Enter binding already exists': 'Shift+Enter binding already exists',
648
+ 'Ctrl+Enter binding already exists': 'Ctrl+Enter binding already exists',
649
+ 'Existing keybindings detected. Will not modify to avoid conflicts.':
650
+ 'Existing keybindings detected. Will not modify to avoid conflicts.',
651
+ 'Please check and modify manually if needed: {{file}}':
652
+ 'Please check and modify manually if needed: {{file}}',
653
+ 'Added Shift+Enter and Ctrl+Enter keybindings to {{terminalName}}.':
654
+ 'Added Shift+Enter and Ctrl+Enter keybindings to {{terminalName}}.',
655
+ 'Modified: {{file}}': 'Modified: {{file}}',
656
+ '{{terminalName}} keybindings already configured.':
657
+ '{{terminalName}} keybindings already configured.',
658
+ 'Failed to configure {{terminalName}}.':
659
+ 'Failed to configure {{terminalName}}.',
660
+ 'Your terminal is already configured for an optimal experience with multiline input (Shift+Enter and Ctrl+Enter).':
661
+ 'Your terminal is already configured for an optimal experience with multiline input (Shift+Enter and Ctrl+Enter).',
662
+ 'Could not detect terminal type. Supported terminals: VS Code, Cursor, Windsurf, and Trae.':
663
+ 'Could not detect terminal type. Supported terminals: VS Code, Cursor, Windsurf, and Trae.',
664
+ 'Terminal "{{terminal}}" is not supported yet.':
665
+ 'Terminal "{{terminal}}" is not supported yet.',
666
+
667
+ // ============================================================================
668
+ // Commands - Language
669
+ // ============================================================================
670
+ 'Invalid language. Available: {{options}}':
671
+ 'Invalid language. Available: {{options}}',
672
+ 'Language subcommands do not accept additional arguments.':
673
+ 'Language subcommands do not accept additional arguments.',
674
+ 'Current UI language: {{lang}}': 'Current UI language: {{lang}}',
675
+ 'Current LLM output language: {{lang}}':
676
+ 'Current LLM output language: {{lang}}',
677
+ 'LLM output language not set': 'LLM output language not set',
678
+ 'Set UI language': 'Set UI language',
679
+ 'Set LLM output language': 'Set LLM output language',
680
+ 'Usage: /language ui [{{options}}]': 'Usage: /language ui [{{options}}]',
681
+ 'Usage: /language output <language>': 'Usage: /language output <language>',
682
+ 'Example: /language output 中文': 'Example: /language output 中文',
683
+ 'Example: /language output English': 'Example: /language output English',
684
+ 'Example: /language output 日本語': 'Example: /language output 日本語',
685
+ 'Example: /language output Português': 'Example: /language output Português',
686
+ 'UI language changed to {{lang}}': 'UI language changed to {{lang}}',
687
+ 'LLM output language set to {{lang}}': 'LLM output language set to {{lang}}',
688
+ 'LLM output language rule file generated at {{path}}':
689
+ 'LLM output language rule file generated at {{path}}',
690
+ 'Please restart the application for the changes to take effect.':
691
+ 'Please restart the application for the changes to take effect.',
692
+ 'Failed to generate LLM output language rule file: {{error}}':
693
+ 'Failed to generate LLM output language rule file: {{error}}',
694
+ 'Invalid command. Available subcommands:':
695
+ 'Invalid command. Available subcommands:',
696
+ 'Available subcommands:': 'Available subcommands:',
697
+ 'To request additional UI language packs, please open an issue on GitHub.':
698
+ 'To request additional UI language packs, please open an issue on GitHub.',
699
+ 'Available options:': 'Available options:',
700
+ 'Set UI language to {{name}}': 'Set UI language to {{name}}',
701
+
702
+ // ============================================================================
703
+ // Commands - Approval Mode
704
+ // ============================================================================
705
+ 'Tool Approval Mode': 'Tool Approval Mode',
706
+ 'Current approval mode: {{mode}}': 'Current approval mode: {{mode}}',
707
+ 'Available approval modes:': 'Available approval modes:',
708
+ 'Approval mode changed to: {{mode}}': 'Approval mode changed to: {{mode}}',
709
+ 'Approval mode changed to: {{mode}} (saved to {{scope}} settings{{location}})':
710
+ 'Approval mode changed to: {{mode}} (saved to {{scope}} settings{{location}})',
711
+ 'Usage: /approval-mode <mode> [--session|--user|--project]':
712
+ 'Usage: /approval-mode <mode> [--session|--user|--project]',
713
+
714
+ 'Scope subcommands do not accept additional arguments.':
715
+ 'Scope subcommands do not accept additional arguments.',
716
+ 'Plan mode - Analyze only, do not modify files or execute commands':
717
+ 'Plan mode - Analyze only, do not modify files or execute commands',
718
+ 'Default mode - Require approval for file edits or shell commands':
719
+ 'Default mode - Require approval for file edits or shell commands',
720
+ 'Auto-edit mode - Automatically approve file edits':
721
+ 'Auto-edit mode - Automatically approve file edits',
722
+ 'YOLO mode - Automatically approve all tools':
723
+ 'YOLO mode - Automatically approve all tools',
724
+ '{{mode}} mode': '{{mode}} mode',
725
+ 'Settings service is not available; unable to persist the approval mode.':
726
+ 'Settings service is not available; unable to persist the approval mode.',
727
+ 'Failed to save approval mode: {{error}}':
728
+ 'Failed to save approval mode: {{error}}',
729
+ 'Failed to change approval mode: {{error}}':
730
+ 'Failed to change approval mode: {{error}}',
731
+ 'Apply to current session only (temporary)':
732
+ 'Apply to current session only (temporary)',
733
+ 'Persist for this project/workspace': 'Persist for this project/workspace',
734
+ 'Persist for this user on this machine':
735
+ 'Persist for this user on this machine',
736
+ 'Analyze only, do not modify files or execute commands':
737
+ 'Analyze only, do not modify files or execute commands',
738
+ 'Require approval for file edits or shell commands':
739
+ 'Require approval for file edits or shell commands',
740
+ 'Automatically approve file edits': 'Automatically approve file edits',
741
+ 'Automatically approve all tools': 'Automatically approve all tools',
742
+ 'Workspace approval mode exists and takes priority. User-level change will have no effect.':
743
+ 'Workspace approval mode exists and takes priority. User-level change will have no effect.',
744
+ 'Apply To': 'Apply To',
745
+ 'User Settings': 'User Settings',
746
+ 'Workspace Settings': 'Workspace Settings',
747
+
748
+ // ============================================================================
749
+ // Commands - Memory
750
+ // ============================================================================
751
+ 'Commands for interacting with memory.':
752
+ 'Commands for interacting with memory.',
753
+ 'Show the current memory contents.': 'Show the current memory contents.',
754
+ 'Show project-level memory contents.': 'Show project-level memory contents.',
755
+ 'Show global memory contents.': 'Show global memory contents.',
756
+ 'Add content to project-level memory.':
757
+ 'Add content to project-level memory.',
758
+ 'Add content to global memory.': 'Add content to global memory.',
759
+ 'Refresh the memory from the source.': 'Refresh the memory from the source.',
760
+ 'Usage: /memory add --project <text to remember>':
761
+ 'Usage: /memory add --project <text to remember>',
762
+ 'Usage: /memory add --global <text to remember>':
763
+ 'Usage: /memory add --global <text to remember>',
764
+ 'Attempting to save to project memory: "{{text}}"':
765
+ 'Attempting to save to project memory: "{{text}}"',
766
+ 'Attempting to save to global memory: "{{text}}"':
767
+ 'Attempting to save to global memory: "{{text}}"',
768
+ 'Current memory content from {{count}} file(s):':
769
+ 'Current memory content from {{count}} file(s):',
770
+ 'Memory is currently empty.': 'Memory is currently empty.',
771
+ 'Project memory file not found or is currently empty.':
772
+ 'Project memory file not found or is currently empty.',
773
+ 'Global memory file not found or is currently empty.':
774
+ 'Global memory file not found or is currently empty.',
775
+ 'Global memory is currently empty.': 'Global memory is currently empty.',
776
+ 'Global memory content:\n\n---\n{{content}}\n---':
777
+ 'Global memory content:\n\n---\n{{content}}\n---',
778
+ 'Project memory content from {{path}}:\n\n---\n{{content}}\n---':
779
+ 'Project memory content from {{path}}:\n\n---\n{{content}}\n---',
780
+ 'Project memory is currently empty.': 'Project memory is currently empty.',
781
+ 'Refreshing memory from source files...':
782
+ 'Refreshing memory from source files...',
783
+ 'Add content to the memory. Use --global for global memory or --project for project memory.':
784
+ 'Add content to the memory. Use --global for global memory or --project for project memory.',
785
+ 'Usage: /memory add [--global|--project] <text to remember>':
786
+ 'Usage: /memory add [--global|--project] <text to remember>',
787
+ 'Attempting to save to memory {{scope}}: "{{fact}}"':
788
+ 'Attempting to save to memory {{scope}}: "{{fact}}"',
789
+
790
+ // ============================================================================
791
+ // Commands - MCP
792
+ // ============================================================================
793
+ 'Authenticate with an OAuth-enabled MCP server':
794
+ 'Authenticate with an OAuth-enabled MCP server',
795
+ 'List configured MCP servers and tools':
796
+ 'List configured MCP servers and tools',
797
+ 'Restarts MCP servers.': 'Restarts MCP servers.',
798
+ 'Open MCP management dialog': 'Open MCP management dialog',
799
+ 'Config not loaded.': 'Config not loaded.',
800
+ 'Could not retrieve tool registry.': 'Could not retrieve tool registry.',
801
+ 'No MCP servers configured with OAuth authentication.':
802
+ 'No MCP servers configured with OAuth authentication.',
803
+ 'MCP servers with OAuth authentication:':
804
+ 'MCP servers with OAuth authentication:',
805
+ 'Use /mcp auth <server-name> to authenticate.':
806
+ 'Use /mcp auth <server-name> to authenticate.',
807
+ "MCP server '{{name}}' not found.": "MCP server '{{name}}' not found.",
808
+ "Successfully authenticated and refreshed tools for '{{name}}'.":
809
+ "Successfully authenticated and refreshed tools for '{{name}}'.",
810
+ "Failed to authenticate with MCP server '{{name}}': {{error}}":
811
+ "Failed to authenticate with MCP server '{{name}}': {{error}}",
812
+ "Re-discovering tools from '{{name}}'...":
813
+ "Re-discovering tools from '{{name}}'...",
814
+ "Discovered {{count}} tool(s) from '{{name}}'.":
815
+ "Discovered {{count}} tool(s) from '{{name}}'.",
816
+ 'Authentication complete. Returning to server details...':
817
+ 'Authentication complete. Returning to server details...',
818
+ 'Authentication successful.': 'Authentication successful.',
819
+ 'If the browser does not open, copy and paste this URL into your browser:':
820
+ 'If the browser does not open, copy and paste this URL into your browser:',
821
+ 'Make sure to copy the COMPLETE URL - it may wrap across multiple lines.':
822
+ 'Make sure to copy the COMPLETE URL - it may wrap across multiple lines.',
823
+
824
+ // ============================================================================
825
+ // MCP Management Dialog
826
+ // ============================================================================
827
+ 'Manage MCP servers': 'Manage MCP servers',
828
+ 'Server Detail': 'Server Detail',
829
+ 'Disable Server': 'Disable Server',
830
+ Tools: 'Tools',
831
+ 'Tool Detail': 'Tool Detail',
832
+ 'MCP Management': 'MCP Management',
833
+ 'Loading...': 'Loading...',
834
+ 'Unknown step': 'Unknown step',
835
+ 'Esc to back': 'Esc to back',
836
+ '↑↓ to navigate · Enter to select · Esc to close':
837
+ '↑↓ to navigate · Enter to select · Esc to close',
838
+ '↑↓ to navigate · Enter to select · Esc to back':
839
+ '↑↓ to navigate · Enter to select · Esc to back',
840
+ '↑↓ to navigate · Enter to confirm · Esc to back':
841
+ '↑↓ to navigate · Enter to confirm · Esc to back',
842
+ 'User Settings (global)': 'User Settings (global)',
843
+ 'Workspace Settings (project-specific)':
844
+ 'Workspace Settings (project-specific)',
845
+ 'Disable server:': 'Disable server:',
846
+ 'Select where to add the server to the exclude list:':
847
+ 'Select where to add the server to the exclude list:',
848
+ 'Press Enter to confirm, Esc to cancel':
849
+ 'Press Enter to confirm, Esc to cancel',
850
+ 'View tools': 'View tools',
851
+ Reconnect: 'Reconnect',
852
+ Enable: 'Enable',
853
+ Disable: 'Disable',
854
+ Authenticate: 'Authenticate',
855
+ 'Re-authenticate': 'Re-authenticate',
856
+ 'Clear Authentication': 'Clear Authentication',
857
+ 'Server:': 'Server:',
858
+ 'Command:': 'Command:',
859
+ 'Working Directory:': 'Working Directory:',
860
+ 'Capabilities:': 'Capabilities:',
861
+ 'No server selected': 'No server selected',
862
+ prompts: 'prompts',
863
+ '(disabled)': '(disabled)',
864
+ 'Error:': 'Error:',
865
+ Extension: 'Extension',
866
+ tool: 'tool',
867
+ tools: 'tools',
868
+ connected: 'connected',
869
+ connecting: 'connecting',
870
+ disconnected: 'disconnected',
871
+
872
+ // MCP Server List
873
+ 'User MCPs': 'User MCPs',
874
+ 'Project MCPs': 'Project MCPs',
875
+ 'Extension MCPs': 'Extension MCPs',
876
+ server: 'server',
877
+ servers: 'servers',
878
+ 'Add MCP servers to your settings to get started.':
879
+ 'Add MCP servers to your settings to get started.',
880
+ 'Run qwen --debug to see error logs': 'Run qwen --debug to see error logs',
881
+
882
+ // MCP OAuth Authentication
883
+ 'OAuth Authentication': 'OAuth Authentication',
884
+ 'Press Enter to start authentication, Esc to go back':
885
+ 'Press Enter to start authentication, Esc to go back',
886
+ 'Authenticating... Please complete the login in your browser.':
887
+ 'Authenticating... Please complete the login in your browser.',
888
+ 'Press Enter or Esc to go back': 'Press Enter or Esc to go back',
889
+
890
+ // MCP Tool List
891
+ 'No tools available for this server.': 'No tools available for this server.',
892
+ destructive: 'destructive',
893
+ 'read-only': 'read-only',
894
+ 'open-world': 'open-world',
895
+ idempotent: 'idempotent',
896
+ 'Tools for {{name}}': 'Tools for {{name}}',
897
+ 'Tools for {{serverName}}': 'Tools for {{serverName}}',
898
+ '{{current}}/{{total}}': '{{current}}/{{total}}',
899
+
900
+ // MCP Tool Detail
901
+ required: 'required',
902
+ Type: 'Type',
903
+ Enum: 'Enum',
904
+ Parameters: 'Parameters',
905
+ 'No tool selected': 'No tool selected',
906
+ Annotations: 'Annotations',
907
+ Title: 'Title',
908
+ 'Read Only': 'Read Only',
909
+ Destructive: 'Destructive',
910
+ Idempotent: 'Idempotent',
911
+ 'Open World': 'Open World',
912
+ Server: 'Server',
913
+
914
+ // Invalid tool related translations
915
+ '{{count}} invalid tools': '{{count}} invalid tools',
916
+ invalid: 'invalid',
917
+ 'invalid: {{reason}}': 'invalid: {{reason}}',
918
+ 'missing name': 'missing name',
919
+ 'missing description': 'missing description',
920
+ '(unnamed)': '(unnamed)',
921
+ 'Warning: This tool cannot be called by the LLM':
922
+ 'Warning: This tool cannot be called by the LLM',
923
+ Reason: 'Reason',
924
+ 'Tools must have both name and description to be used by the LLM.':
925
+ 'Tools must have both name and description to be used by the LLM.',
926
+
927
+ // ============================================================================
928
+ // Commands - Chat
929
+ // ============================================================================
930
+ 'Manage conversation history.': 'Manage conversation history.',
931
+ 'List saved conversation checkpoints': 'List saved conversation checkpoints',
932
+ 'No saved conversation checkpoints found.':
933
+ 'No saved conversation checkpoints found.',
934
+ 'List of saved conversations:': 'List of saved conversations:',
935
+ 'Note: Newest last, oldest first': 'Note: Newest last, oldest first',
936
+ 'Save the current conversation as a checkpoint. Usage: /chat save <tag>':
937
+ 'Save the current conversation as a checkpoint. Usage: /chat save <tag>',
938
+ 'Missing tag. Usage: /chat save <tag>':
939
+ 'Missing tag. Usage: /chat save <tag>',
940
+ 'Delete a conversation checkpoint. Usage: /chat delete <tag>':
941
+ 'Delete a conversation checkpoint. Usage: /chat delete <tag>',
942
+ 'Missing tag. Usage: /chat delete <tag>':
943
+ 'Missing tag. Usage: /chat delete <tag>',
944
+ "Conversation checkpoint '{{tag}}' has been deleted.":
945
+ "Conversation checkpoint '{{tag}}' has been deleted.",
946
+ "Error: No checkpoint found with tag '{{tag}}'.":
947
+ "Error: No checkpoint found with tag '{{tag}}'.",
948
+ 'Resume a conversation from a checkpoint. Usage: /chat resume <tag>':
949
+ 'Resume a conversation from a checkpoint. Usage: /chat resume <tag>',
950
+ 'Missing tag. Usage: /chat resume <tag>':
951
+ 'Missing tag. Usage: /chat resume <tag>',
952
+ 'No saved checkpoint found with tag: {{tag}}.':
953
+ 'No saved checkpoint found with tag: {{tag}}.',
954
+ 'A checkpoint with the tag {{tag}} already exists. Do you want to overwrite it?':
955
+ 'A checkpoint with the tag {{tag}} already exists. Do you want to overwrite it?',
956
+ 'No chat client available to save conversation.':
957
+ 'No chat client available to save conversation.',
958
+ 'Conversation checkpoint saved with tag: {{tag}}.':
959
+ 'Conversation checkpoint saved with tag: {{tag}}.',
960
+ 'No conversation found to save.': 'No conversation found to save.',
961
+ 'No chat client available to share conversation.':
962
+ 'No chat client available to share conversation.',
963
+ 'Invalid file format. Only .md and .json are supported.':
964
+ 'Invalid file format. Only .md and .json are supported.',
965
+ 'Error sharing conversation: {{error}}':
966
+ 'Error sharing conversation: {{error}}',
967
+ 'Conversation shared to {{filePath}}': 'Conversation shared to {{filePath}}',
968
+ 'No conversation found to share.': 'No conversation found to share.',
969
+ 'Share the current conversation to a markdown or json file. Usage: /chat share <file>':
970
+ 'Share the current conversation to a markdown or json file. Usage: /chat share <file>',
971
+
972
+ // ============================================================================
973
+ // Commands - Summary
974
+ // ============================================================================
975
+ 'Generate a project summary and save it to .qwen/PROJECT_SUMMARY.md':
976
+ 'Generate a project summary and save it to .qwen/PROJECT_SUMMARY.md',
977
+ 'No chat client available to generate summary.':
978
+ 'No chat client available to generate summary.',
979
+ 'Already generating summary, wait for previous request to complete':
980
+ 'Already generating summary, wait for previous request to complete',
981
+ 'No conversation found to summarize.': 'No conversation found to summarize.',
982
+ 'Failed to generate project context summary: {{error}}':
983
+ 'Failed to generate project context summary: {{error}}',
984
+ 'Saved project summary to {{filePathForDisplay}}.':
985
+ 'Saved project summary to {{filePathForDisplay}}.',
986
+ 'Saving project summary...': 'Saving project summary...',
987
+ 'Generating project summary...': 'Generating project summary...',
988
+ 'Failed to generate summary - no text content received from LLM response':
989
+ 'Failed to generate summary - no text content received from LLM response',
990
+
991
+ // ============================================================================
992
+ // Commands - Model
993
+ // ============================================================================
994
+ 'Switch the model for this session': 'Switch the model for this session',
995
+ 'Content generator configuration not available.':
996
+ 'Content generator configuration not available.',
997
+ 'Authentication type not available.': 'Authentication type not available.',
998
+ 'No models available for the current authentication type ({{authType}}).':
999
+ 'No models available for the current authentication type ({{authType}}).',
1000
+
1001
+ // ============================================================================
1002
+ // Commands - Clear
1003
+ // ============================================================================
1004
+ 'Starting a new session, resetting chat, and clearing terminal.':
1005
+ 'Starting a new session, resetting chat, and clearing terminal.',
1006
+ 'Starting a new session and clearing.':
1007
+ 'Starting a new session and clearing.',
1008
+
1009
+ // ============================================================================
1010
+ // Commands - Compress
1011
+ // ============================================================================
1012
+ 'Already compressing, wait for previous request to complete':
1013
+ 'Already compressing, wait for previous request to complete',
1014
+ 'Failed to compress chat history.': 'Failed to compress chat history.',
1015
+ 'Failed to compress chat history: {{error}}':
1016
+ 'Failed to compress chat history: {{error}}',
1017
+ 'Compressing chat history': 'Compressing chat history',
1018
+ 'Chat history compressed from {{originalTokens}} to {{newTokens}} tokens.':
1019
+ 'Chat history compressed from {{originalTokens}} to {{newTokens}} tokens.',
1020
+ 'Compression was not beneficial for this history size.':
1021
+ 'Compression was not beneficial for this history size.',
1022
+ 'Chat history compression did not reduce size. This may indicate issues with the compression prompt.':
1023
+ 'Chat history compression did not reduce size. This may indicate issues with the compression prompt.',
1024
+ 'Could not compress chat history due to a token counting error.':
1025
+ 'Could not compress chat history due to a token counting error.',
1026
+ 'Chat history is already compressed.': 'Chat history is already compressed.',
1027
+
1028
+ // ============================================================================
1029
+ // Commands - Directory
1030
+ // ============================================================================
1031
+ 'Configuration is not available.': 'Configuration is not available.',
1032
+ 'Please provide at least one path to add.':
1033
+ 'Please provide at least one path to add.',
1034
+ 'The /directory add command is not supported in restrictive sandbox profiles. Please use --include-directories when starting the session instead.':
1035
+ 'The /directory add command is not supported in restrictive sandbox profiles. Please use --include-directories when starting the session instead.',
1036
+ "Error adding '{{path}}': {{error}}": "Error adding '{{path}}': {{error}}",
1037
+ 'Successfully added QWEN.md files from the following directories if there are:\n- {{directories}}':
1038
+ 'Successfully added QWEN.md files from the following directories if there are:\n- {{directories}}',
1039
+ 'Error refreshing memory: {{error}}': 'Error refreshing memory: {{error}}',
1040
+ 'Successfully added directories:\n- {{directories}}':
1041
+ 'Successfully added directories:\n- {{directories}}',
1042
+ 'Current workspace directories:\n{{directories}}':
1043
+ 'Current workspace directories:\n{{directories}}',
1044
+
1045
+ // ============================================================================
1046
+ // Commands - Docs
1047
+ // ============================================================================
1048
+ 'Please open the following URL in your browser to view the documentation:\n{{url}}':
1049
+ 'Please open the following URL in your browser to view the documentation:\n{{url}}',
1050
+ 'Opening documentation in your browser: {{url}}':
1051
+ 'Opening documentation in your browser: {{url}}',
1052
+
1053
+ // ============================================================================
1054
+ // Dialogs - Tool Confirmation
1055
+ // ============================================================================
1056
+ 'Do you want to proceed?': 'Do you want to proceed?',
1057
+ 'Yes, allow once': 'Yes, allow once',
1058
+ 'Allow always': 'Allow always',
1059
+ Yes: 'Yes',
1060
+ No: 'No',
1061
+ 'No (esc)': 'No (esc)',
1062
+ 'Yes, allow always for this session': 'Yes, allow always for this session',
1063
+ 'Modify in progress:': 'Modify in progress:',
1064
+ 'Save and close external editor to continue':
1065
+ 'Save and close external editor to continue',
1066
+ 'Apply this change?': 'Apply this change?',
1067
+ 'Yes, allow always': 'Yes, allow always',
1068
+ 'Modify with external editor': 'Modify with external editor',
1069
+ 'No, suggest changes (esc)': 'No, suggest changes (esc)',
1070
+ "Allow execution of: '{{command}}'?": "Allow execution of: '{{command}}'?",
1071
+ 'Yes, allow always ...': 'Yes, allow always ...',
1072
+ 'Yes, and auto-accept edits': 'Yes, and auto-accept edits',
1073
+ 'Yes, and manually approve edits': 'Yes, and manually approve edits',
1074
+ 'No, keep planning (esc)': 'No, keep planning (esc)',
1075
+ 'URLs to fetch:': 'URLs to fetch:',
1076
+ 'MCP Server: {{server}}': 'MCP Server: {{server}}',
1077
+ 'Tool: {{tool}}': 'Tool: {{tool}}',
1078
+ 'Allow execution of MCP tool "{{tool}}" from server "{{server}}"?':
1079
+ 'Allow execution of MCP tool "{{tool}}" from server "{{server}}"?',
1080
+ 'Yes, always allow tool "{{tool}}" from server "{{server}}"':
1081
+ 'Yes, always allow tool "{{tool}}" from server "{{server}}"',
1082
+ 'Yes, always allow all tools from server "{{server}}"':
1083
+ 'Yes, always allow all tools from server "{{server}}"',
1084
+
1085
+ // ============================================================================
1086
+ // Dialogs - Shell Confirmation
1087
+ // ============================================================================
1088
+ 'Shell Command Execution': 'Shell Command Execution',
1089
+ 'A custom command wants to run the following shell commands:':
1090
+ 'A custom command wants to run the following shell commands:',
1091
+
1092
+ // ============================================================================
1093
+ // Dialogs - Pro Quota
1094
+ // ============================================================================
1095
+ 'Pro quota limit reached for {{model}}.':
1096
+ 'Pro quota limit reached for {{model}}.',
1097
+ 'Change auth (executes the /auth command)':
1098
+ 'Change auth (executes the /auth command)',
1099
+ 'Continue with {{model}}': 'Continue with {{model}}',
1100
+
1101
+ // ============================================================================
1102
+ // Dialogs - Welcome Back
1103
+ // ============================================================================
1104
+ 'Current Plan:': 'Current Plan:',
1105
+ 'Progress: {{done}}/{{total}} tasks completed':
1106
+ 'Progress: {{done}}/{{total}} tasks completed',
1107
+ ', {{inProgress}} in progress': ', {{inProgress}} in progress',
1108
+ 'Pending Tasks:': 'Pending Tasks:',
1109
+ 'What would you like to do?': 'What would you like to do?',
1110
+ 'Choose how to proceed with your session:':
1111
+ 'Choose how to proceed with your session:',
1112
+ 'Start new chat session': 'Start new chat session',
1113
+ 'Continue previous conversation': 'Continue previous conversation',
1114
+ '👋 Welcome back! (Last updated: {{timeAgo}})':
1115
+ '👋 Welcome back! (Last updated: {{timeAgo}})',
1116
+ '🎯 Overall Goal:': '🎯 Overall Goal:',
1117
+
1118
+ // ============================================================================
1119
+ // Dialogs - Auth
1120
+ // ============================================================================
1121
+ 'Get started': 'Get started',
1122
+ 'Select Authentication Method': 'Select Authentication Method',
1123
+ 'OpenAI API key is required to use OpenAI authentication.':
1124
+ 'OpenAI API key is required to use OpenAI authentication.',
1125
+ 'You must select an auth method to proceed. Press Ctrl+C again to exit.':
1126
+ 'You must select an auth method to proceed. Press Ctrl+C again to exit.',
1127
+ 'Terms of Services and Privacy Notice':
1128
+ 'Terms of Services and Privacy Notice',
1129
+ 'Qwen OAuth': 'Qwen OAuth',
1130
+ 'Free \u00B7 Up to 1,000 requests/day \u00B7 Qwen latest models':
1131
+ 'Free \u00B7 Up to 1,000 requests/day \u00B7 Qwen latest models',
1132
+ 'Login with QwenChat account to use daily free quota.':
1133
+ 'Login with QwenChat account to use daily free quota.',
1134
+ 'Paid \u00B7 Up to 6,000 requests/5 hrs \u00B7 All Alibaba Cloud Coding Plan Models':
1135
+ 'Paid \u00B7 Up to 6,000 requests/5 hrs \u00B7 All Alibaba Cloud Coding Plan Models',
1136
+ 'Alibaba Cloud Coding Plan': 'Alibaba Cloud Coding Plan',
1137
+ 'Bring your own API key': 'Bring your own API key',
1138
+ 'API-KEY': 'API-KEY',
1139
+ 'Use coding plan credentials or your own api-keys/providers.':
1140
+ 'Use coding plan credentials or your own api-keys/providers.',
1141
+ OpenAI: 'OpenAI',
1142
+ 'Failed to login. Message: {{message}}':
1143
+ 'Failed to login. Message: {{message}}',
1144
+ 'Authentication is enforced to be {{enforcedType}}, but you are currently using {{currentType}}.':
1145
+ 'Authentication is enforced to be {{enforcedType}}, but you are currently using {{currentType}}.',
1146
+ 'Qwen OAuth authentication timed out. Please try again.':
1147
+ 'Qwen OAuth authentication timed out. Please try again.',
1148
+ 'Qwen OAuth authentication cancelled.':
1149
+ 'Qwen OAuth authentication cancelled.',
1150
+ 'Qwen OAuth Authentication': 'Qwen OAuth Authentication',
1151
+ 'Please visit this URL to authorize:': 'Please visit this URL to authorize:',
1152
+ 'Or scan the QR code below:': 'Or scan the QR code below:',
1153
+ 'Waiting for authorization': 'Waiting for authorization',
1154
+ 'Time remaining:': 'Time remaining:',
1155
+ '(Press ESC or CTRL+C to cancel)': '(Press ESC or CTRL+C to cancel)',
1156
+ 'Qwen OAuth Authentication Timeout': 'Qwen OAuth Authentication Timeout',
1157
+ 'OAuth token expired (over {{seconds}} seconds). Please select authentication method again.':
1158
+ 'OAuth token expired (over {{seconds}} seconds). Please select authentication method again.',
1159
+ 'Press any key to return to authentication type selection.':
1160
+ 'Press any key to return to authentication type selection.',
1161
+ 'Waiting for Qwen OAuth authentication...':
1162
+ 'Waiting for Qwen OAuth authentication...',
1163
+ 'Note: Your existing API key in settings.json will not be cleared when using Qwen OAuth. You can switch back to OpenAI authentication later if needed.':
1164
+ 'Note: Your existing API key in settings.json will not be cleared when using Qwen OAuth. You can switch back to OpenAI authentication later if needed.',
1165
+ 'Note: Your existing API key will not be cleared when using Qwen OAuth.':
1166
+ 'Note: Your existing API key will not be cleared when using Qwen OAuth.',
1167
+ 'Authentication timed out. Please try again.':
1168
+ 'Authentication timed out. Please try again.',
1169
+ 'Waiting for auth... (Press ESC or CTRL+C to cancel)':
1170
+ 'Waiting for auth... (Press ESC or CTRL+C to cancel)',
1171
+ 'Missing API key for OpenAI-compatible auth. Set settings.security.auth.apiKey, or set the {{envKeyHint}} environment variable.':
1172
+ 'Missing API key for OpenAI-compatible auth. Set settings.security.auth.apiKey, or set the {{envKeyHint}} environment variable.',
1173
+ '{{envKeyHint}} environment variable not found.':
1174
+ '{{envKeyHint}} environment variable not found.',
1175
+ '{{envKeyHint}} environment variable not found. Please set it in your .env file or environment variables.':
1176
+ '{{envKeyHint}} environment variable not found. Please set it in your .env file or environment variables.',
1177
+ '{{envKeyHint}} environment variable not found (or set settings.security.auth.apiKey). Please set it in your .env file or environment variables.':
1178
+ '{{envKeyHint}} environment variable not found (or set settings.security.auth.apiKey). Please set it in your .env file or environment variables.',
1179
+ 'Missing API key for OpenAI-compatible auth. Set the {{envKeyHint}} environment variable.':
1180
+ 'Missing API key for OpenAI-compatible auth. Set the {{envKeyHint}} environment variable.',
1181
+ 'Anthropic provider missing required baseUrl in modelProviders[].baseUrl.':
1182
+ 'Anthropic provider missing required baseUrl in modelProviders[].baseUrl.',
1183
+ 'ANTHROPIC_BASE_URL environment variable not found.':
1184
+ 'ANTHROPIC_BASE_URL environment variable not found.',
1185
+ 'Invalid auth method selected.': 'Invalid auth method selected.',
1186
+ 'Failed to authenticate. Message: {{message}}':
1187
+ 'Failed to authenticate. Message: {{message}}',
1188
+ 'Authenticated successfully with {{authType}} credentials.':
1189
+ 'Authenticated successfully with {{authType}} credentials.',
1190
+ 'Invalid QWEN_DEFAULT_AUTH_TYPE value: "{{value}}". Valid values are: {{validValues}}':
1191
+ 'Invalid QWEN_DEFAULT_AUTH_TYPE value: "{{value}}". Valid values are: {{validValues}}',
1192
+ 'OpenAI Configuration Required': 'OpenAI Configuration Required',
1193
+ 'Please enter your OpenAI configuration. You can get an API key from':
1194
+ 'Please enter your OpenAI configuration. You can get an API key from',
1195
+ 'API Key:': 'API Key:',
1196
+ 'Invalid credentials: {{errorMessage}}':
1197
+ 'Invalid credentials: {{errorMessage}}',
1198
+ 'Failed to validate credentials': 'Failed to validate credentials',
1199
+ 'Press Enter to continue, Tab/↑↓ to navigate, Esc to cancel':
1200
+ 'Press Enter to continue, Tab/↑↓ to navigate, Esc to cancel',
1201
+
1202
+ // ============================================================================
1203
+ // Dialogs - Model
1204
+ // ============================================================================
1205
+ 'Select Model': 'Select Model',
1206
+ '(Press Esc to close)': '(Press Esc to close)',
1207
+ 'Current (effective) configuration': 'Current (effective) configuration',
1208
+ AuthType: 'AuthType',
1209
+ 'API Key': 'API Key',
1210
+ unset: 'unset',
1211
+ '(default)': '(default)',
1212
+ '(set)': '(set)',
1213
+ '(not set)': '(not set)',
1214
+ Modality: 'Modality',
1215
+ 'Context Window': 'Context Window',
1216
+ text: 'text',
1217
+ 'text-only': 'text-only',
1218
+ image: 'image',
1219
+ pdf: 'pdf',
1220
+ audio: 'audio',
1221
+ video: 'video',
1222
+ 'not set': 'not set',
1223
+ none: 'none',
1224
+ unknown: 'unknown',
1225
+ "Failed to switch model to '{{modelId}}'.\n\n{{error}}":
1226
+ "Failed to switch model to '{{modelId}}'.\n\n{{error}}",
1227
+ 'Qwen 3.5 Plus — efficient hybrid model with leading coding performance':
1228
+ 'Qwen 3.5 Plus — efficient hybrid model with leading coding performance',
1229
+ 'The latest Qwen Vision model from Alibaba Cloud ModelStudio (version: qwen3-vl-plus-2025-09-23)':
1230
+ 'The latest Qwen Vision model from Alibaba Cloud ModelStudio (version: qwen3-vl-plus-2025-09-23)',
1231
+
1232
+ // ============================================================================
1233
+ // Dialogs - Permissions
1234
+ // ============================================================================
1235
+ 'Manage folder trust settings': 'Manage folder trust settings',
1236
+
1237
+ // ============================================================================
1238
+ // Status Bar
1239
+ // ============================================================================
1240
+ 'Using:': 'Using:',
1241
+ '{{count}} open file': '{{count}} open file',
1242
+ '{{count}} open files': '{{count}} open files',
1243
+ '(ctrl+g to view)': '(ctrl+g to view)',
1244
+ '{{count}} {{name}} file': '{{count}} {{name}} file',
1245
+ '{{count}} {{name}} files': '{{count}} {{name}} files',
1246
+ '{{count}} MCP server': '{{count}} MCP server',
1247
+ '{{count}} MCP servers': '{{count}} MCP servers',
1248
+ '{{count}} Blocked': '{{count}} Blocked',
1249
+ '(ctrl+t to view)': '(ctrl+t to view)',
1250
+ '(ctrl+t to toggle)': '(ctrl+t to toggle)',
1251
+ 'Press Ctrl+C again to exit.': 'Press Ctrl+C again to exit.',
1252
+ 'Press Ctrl+D again to exit.': 'Press Ctrl+D again to exit.',
1253
+ 'Press Esc again to clear.': 'Press Esc again to clear.',
1254
+
1255
+ // ============================================================================
1256
+ // MCP Status
1257
+ // ============================================================================
1258
+ 'No MCP servers configured.': 'No MCP servers configured.',
1259
+ '⏳ MCP servers are starting up ({{count}} initializing)...':
1260
+ '⏳ MCP servers are starting up ({{count}} initializing)...',
1261
+ 'Note: First startup may take longer. Tool availability will update automatically.':
1262
+ 'Note: First startup may take longer. Tool availability will update automatically.',
1263
+ 'Configured MCP servers:': 'Configured MCP servers:',
1264
+ Ready: 'Ready',
1265
+ 'Starting... (first startup may take longer)':
1266
+ 'Starting... (first startup may take longer)',
1267
+ Disconnected: 'Disconnected',
1268
+ '{{count}} tool': '{{count}} tool',
1269
+ '{{count}} tools': '{{count}} tools',
1270
+ '{{count}} prompt': '{{count}} prompt',
1271
+ '{{count}} prompts': '{{count}} prompts',
1272
+ '(from {{extensionName}})': '(from {{extensionName}})',
1273
+ OAuth: 'OAuth',
1274
+ 'OAuth expired': 'OAuth expired',
1275
+ 'OAuth not authenticated': 'OAuth not authenticated',
1276
+ 'tools and prompts will appear when ready':
1277
+ 'tools and prompts will appear when ready',
1278
+ '{{count}} tools cached': '{{count}} tools cached',
1279
+ 'Tools:': 'Tools:',
1280
+ 'Parameters:': 'Parameters:',
1281
+ 'Prompts:': 'Prompts:',
1282
+ Blocked: 'Blocked',
1283
+ '💡 Tips:': '💡 Tips:',
1284
+ Use: 'Use',
1285
+ 'to show server and tool descriptions':
1286
+ 'to show server and tool descriptions',
1287
+ 'to show tool parameter schemas': 'to show tool parameter schemas',
1288
+ 'to hide descriptions': 'to hide descriptions',
1289
+ 'to authenticate with OAuth-enabled servers':
1290
+ 'to authenticate with OAuth-enabled servers',
1291
+ Press: 'Press',
1292
+ 'to toggle tool descriptions on/off': 'to toggle tool descriptions on/off',
1293
+ "Starting OAuth authentication for MCP server '{{name}}'...":
1294
+ "Starting OAuth authentication for MCP server '{{name}}'...",
1295
+ 'Restarting MCP servers...': 'Restarting MCP servers...',
1296
+
1297
+ // ============================================================================
1298
+ // Startup Tips
1299
+ // ============================================================================
1300
+ 'Tips:': 'Tips:',
1301
+ 'Use /compress when the conversation gets long to summarize history and free up context.':
1302
+ 'Use /compress when the conversation gets long to summarize history and free up context.',
1303
+ 'Start a fresh idea with /clear or /new; the previous session stays available in history.':
1304
+ 'Start a fresh idea with /clear or /new; the previous session stays available in history.',
1305
+ 'Use /bug to submit issues to the maintainers when something goes off.':
1306
+ 'Use /bug to submit issues to the maintainers when something goes off.',
1307
+ 'Switch auth type quickly with /auth.':
1308
+ 'Switch auth type quickly with /auth.',
1309
+ 'You can run any shell commands from Qwen Code using ! (e.g. !ls).':
1310
+ 'You can run any shell commands from Qwen Code using ! (e.g. !ls).',
1311
+ 'Type / to open the command popup; Tab autocompletes slash commands and saved prompts.':
1312
+ 'Type / to open the command popup; Tab autocompletes slash commands and saved prompts.',
1313
+ 'You can resume a previous conversation by running qwen --continue or qwen --resume.':
1314
+ 'You can resume a previous conversation by running qwen --continue or qwen --resume.',
1315
+ 'You can switch permission mode quickly with Shift+Tab or /approval-mode.':
1316
+ 'You can switch permission mode quickly with Shift+Tab or /approval-mode.',
1317
+ 'You can switch permission mode quickly with Tab or /approval-mode.':
1318
+ 'You can switch permission mode quickly with Tab or /approval-mode.',
1319
+ 'Try /insight to generate personalized insights from your chat history.':
1320
+ 'Try /insight to generate personalized insights from your chat history.',
1321
+
1322
+ // ============================================================================
1323
+ // Exit Screen / Stats
1324
+ // ============================================================================
1325
+ 'Agent powering down. Goodbye!': 'Agent powering down. Goodbye!',
1326
+ 'To continue this session, run': 'To continue this session, run',
1327
+ 'Interaction Summary': 'Interaction Summary',
1328
+ 'Session ID:': 'Session ID:',
1329
+ 'Tool Calls:': 'Tool Calls:',
1330
+ 'Success Rate:': 'Success Rate:',
1331
+ 'User Agreement:': 'User Agreement:',
1332
+ reviewed: 'reviewed',
1333
+ 'Code Changes:': 'Code Changes:',
1334
+ Performance: 'Performance',
1335
+ 'Wall Time:': 'Wall Time:',
1336
+ 'Agent Active:': 'Agent Active:',
1337
+ 'API Time:': 'API Time:',
1338
+ 'Tool Time:': 'Tool Time:',
1339
+ 'Session Stats': 'Session Stats',
1340
+ 'Model Usage': 'Model Usage',
1341
+ Reqs: 'Reqs',
1342
+ 'Input Tokens': 'Input Tokens',
1343
+ 'Output Tokens': 'Output Tokens',
1344
+ 'Savings Highlight:': 'Savings Highlight:',
1345
+ 'of input tokens were served from the cache, reducing costs.':
1346
+ 'of input tokens were served from the cache, reducing costs.',
1347
+ 'Tip: For a full token breakdown, run `/stats model`.':
1348
+ 'Tip: For a full token breakdown, run `/stats model`.',
1349
+ 'Model Stats For Nerds': 'Model Stats For Nerds',
1350
+ 'Tool Stats For Nerds': 'Tool Stats For Nerds',
1351
+ Metric: 'Metric',
1352
+ API: 'API',
1353
+ Requests: 'Requests',
1354
+ Errors: 'Errors',
1355
+ 'Avg Latency': 'Avg Latency',
1356
+ Tokens: 'Tokens',
1357
+ Total: 'Total',
1358
+ Prompt: 'Prompt',
1359
+ Cached: 'Cached',
1360
+ Thoughts: 'Thoughts',
1361
+ Tool: 'Tool',
1362
+ Output: 'Output',
1363
+ 'No API calls have been made in this session.':
1364
+ 'No API calls have been made in this session.',
1365
+ 'Tool Name': 'Tool Name',
1366
+ Calls: 'Calls',
1367
+ 'Success Rate': 'Success Rate',
1368
+ 'Avg Duration': 'Avg Duration',
1369
+ 'User Decision Summary': 'User Decision Summary',
1370
+ 'Total Reviewed Suggestions:': 'Total Reviewed Suggestions:',
1371
+ ' » Accepted:': ' » Accepted:',
1372
+ ' » Rejected:': ' » Rejected:',
1373
+ ' » Modified:': ' » Modified:',
1374
+ ' Overall Agreement Rate:': ' Overall Agreement Rate:',
1375
+ 'No tool calls have been made in this session.':
1376
+ 'No tool calls have been made in this session.',
1377
+ 'Session start time is unavailable, cannot calculate stats.':
1378
+ 'Session start time is unavailable, cannot calculate stats.',
1379
+
1380
+ // ============================================================================
1381
+ // Command Format Migration
1382
+ // ============================================================================
1383
+ 'Command Format Migration': 'Command Format Migration',
1384
+ 'Found {{count}} TOML command file:': 'Found {{count}} TOML command file:',
1385
+ 'Found {{count}} TOML command files:': 'Found {{count}} TOML command files:',
1386
+ '... and {{count}} more': '... and {{count}} more',
1387
+ 'The TOML format is deprecated. Would you like to migrate them to Markdown format?':
1388
+ 'The TOML format is deprecated. Would you like to migrate them to Markdown format?',
1389
+ '(Backups will be created and original files will be preserved)':
1390
+ '(Backups will be created and original files will be preserved)',
1391
+
1392
+ // ============================================================================
1393
+ // Loading Phrases
1394
+ // ============================================================================
1395
+ 'Waiting for user confirmation...': 'Waiting for user confirmation...',
1396
+ '(esc to cancel, {{time}})': '(esc to cancel, {{time}})',
1397
+
1398
+ // ============================================================================
1399
+ // Loading Phrases
1400
+ // ============================================================================
1401
+ WITTY_LOADING_PHRASES: [
1402
+ "I'm Feeling Lucky",
1403
+ 'Shipping awesomeness... ',
1404
+ 'Painting the serifs back on...',
1405
+ 'Navigating the slime mold...',
1406
+ 'Consulting the digital spirits...',
1407
+ 'Reticulating splines...',
1408
+ 'Warming up the AI hamsters...',
1409
+ 'Asking the magic conch shell...',
1410
+ 'Generating witty retort...',
1411
+ 'Polishing the algorithms...',
1412
+ "Don't rush perfection (or my code)...",
1413
+ 'Brewing fresh bytes...',
1414
+ 'Counting electrons...',
1415
+ 'Engaging cognitive processors...',
1416
+ 'Checking for syntax errors in the universe...',
1417
+ 'One moment, optimizing humor...',
1418
+ 'Shuffling punchlines...',
1419
+ 'Untangling neural nets...',
1420
+ 'Compiling brilliance...',
1421
+ 'Loading wit.exe...',
1422
+ 'Summoning the cloud of wisdom...',
1423
+ 'Preparing a witty response...',
1424
+ "Just a sec, I'm debugging reality...",
1425
+ 'Confuzzling the options...',
1426
+ 'Tuning the cosmic frequencies...',
1427
+ 'Crafting a response worthy of your patience...',
1428
+ 'Compiling the 1s and 0s...',
1429
+ 'Resolving dependencies... and existential crises...',
1430
+ 'Defragmenting memories... both RAM and personal...',
1431
+ 'Rebooting the humor module...',
1432
+ 'Caching the essentials (mostly cat memes)...',
1433
+ 'Optimizing for ludicrous speed',
1434
+ "Swapping bits... don't tell the bytes...",
1435
+ 'Garbage collecting... be right back...',
1436
+ 'Assembling the interwebs...',
1437
+ 'Converting coffee into code...',
1438
+ 'Updating the syntax for reality...',
1439
+ 'Rewiring the synapses...',
1440
+ 'Looking for a misplaced semicolon...',
1441
+ "Greasin' the cogs of the machine...",
1442
+ 'Pre-heating the servers...',
1443
+ 'Calibrating the flux capacitor...',
1444
+ 'Engaging the improbability drive...',
1445
+ 'Channeling the Force...',
1446
+ 'Aligning the stars for optimal response...',
1447
+ 'So say we all...',
1448
+ 'Loading the next great idea...',
1449
+ "Just a moment, I'm in the zone...",
1450
+ 'Preparing to dazzle you with brilliance...',
1451
+ "Just a tick, I'm polishing my wit...",
1452
+ "Hold tight, I'm crafting a masterpiece...",
1453
+ "Just a jiffy, I'm debugging the universe...",
1454
+ "Just a moment, I'm aligning the pixels...",
1455
+ "Just a sec, I'm optimizing the humor...",
1456
+ "Just a moment, I'm tuning the algorithms...",
1457
+ 'Warp speed engaged...',
1458
+ 'Mining for more Dilithium crystals...',
1459
+ "Don't panic...",
1460
+ 'Following the white rabbit...',
1461
+ 'The truth is in here... somewhere...',
1462
+ 'Blowing on the cartridge...',
1463
+ 'Loading... Do a barrel roll!',
1464
+ 'Waiting for the respawn...',
1465
+ 'Finishing the Kessel Run in less than 12 parsecs...',
1466
+ "The cake is not a lie, it's just still loading...",
1467
+ 'Fiddling with the character creation screen...',
1468
+ "Just a moment, I'm finding the right meme...",
1469
+ "Pressing 'A' to continue...",
1470
+ 'Herding digital cats...',
1471
+ 'Polishing the pixels...',
1472
+ 'Finding a suitable loading screen pun...',
1473
+ 'Distracting you with this witty phrase...',
1474
+ 'Almost there... probably...',
1475
+ 'Our hamsters are working as fast as they can...',
1476
+ 'Giving Cloudy a pat on the head...',
1477
+ 'Petting the cat...',
1478
+ 'Rickrolling my boss...',
1479
+ 'Never gonna give you up, never gonna let you down...',
1480
+ 'Slapping the bass...',
1481
+ 'Tasting the snozberries...',
1482
+ "I'm going the distance, I'm going for speed...",
1483
+ 'Is this the real life? Is this just fantasy?...',
1484
+ "I've got a good feeling about this...",
1485
+ 'Poking the bear...',
1486
+ 'Doing research on the latest memes...',
1487
+ 'Figuring out how to make this more witty...',
1488
+ 'Hmmm... let me think...',
1489
+ 'What do you call a fish with no eyes? A fsh...',
1490
+ 'Why did the computer go to therapy? It had too many bytes...',
1491
+ "Why don't programmers like nature? It has too many bugs...",
1492
+ 'Why do programmers prefer dark mode? Because light attracts bugs...',
1493
+ 'Why did the developer go broke? Because they used up all their cache...',
1494
+ "What can you do with a broken pencil? Nothing, it's pointless...",
1495
+ 'Applying percussive maintenance...',
1496
+ 'Searching for the correct USB orientation...',
1497
+ 'Ensuring the magic smoke stays inside the wires...',
1498
+ 'Trying to exit Vim...',
1499
+ 'Spinning up the hamster wheel...',
1500
+ "That's not a bug, it's an undocumented feature...",
1501
+ 'Engage.',
1502
+ "I'll be back... with an answer.",
1503
+ 'My other process is a TARDIS...',
1504
+ 'Communing with the machine spirit...',
1505
+ 'Letting the thoughts marinate...',
1506
+ 'Just remembered where I put my keys...',
1507
+ 'Pondering the orb...',
1508
+ "I've seen things you people wouldn't believe... like a user who reads loading messages.",
1509
+ 'Initiating thoughtful gaze...',
1510
+ "What's a computer's favorite snack? Microchips.",
1511
+ "Why do Java developers wear glasses? Because they don't C#.",
1512
+ 'Charging the laser... pew pew!',
1513
+ 'Dividing by zero... just kidding!',
1514
+ 'Looking for an adult superviso... I mean, processing.',
1515
+ 'Making it go beep boop.',
1516
+ 'Buffering... because even AIs need a moment.',
1517
+ 'Entangling quantum particles for a faster response...',
1518
+ 'Polishing the chrome... on the algorithms.',
1519
+ 'Are you not entertained? (Working on it!)',
1520
+ 'Summoning the code gremlins... to help, of course.',
1521
+ 'Just waiting for the dial-up tone to finish...',
1522
+ 'Recalibrating the humor-o-meter.',
1523
+ 'My other loading screen is even funnier.',
1524
+ "Pretty sure there's a cat walking on the keyboard somewhere...",
1525
+ 'Enhancing... Enhancing... Still loading.',
1526
+ "It's not a bug, it's a feature... of this loading screen.",
1527
+ 'Have you tried turning it off and on again? (The loading screen, not me.)',
1528
+ 'Constructing additional pylons...',
1529
+ ],
1530
+
1531
+ // ============================================================================
1532
+ // Extension Settings Input
1533
+ // ============================================================================
1534
+ 'Enter value...': 'Enter value...',
1535
+ 'Enter sensitive value...': 'Enter sensitive value...',
1536
+ 'Press Enter to submit, Escape to cancel':
1537
+ 'Press Enter to submit, Escape to cancel',
1538
+
1539
+ // ============================================================================
1540
+ // Command Migration Tool
1541
+ // ============================================================================
1542
+ 'Markdown file already exists: {{filename}}':
1543
+ 'Markdown file already exists: {{filename}}',
1544
+ 'TOML Command Format Deprecation Notice':
1545
+ 'TOML Command Format Deprecation Notice',
1546
+ 'Found {{count}} command file(s) in TOML format:':
1547
+ 'Found {{count}} command file(s) in TOML format:',
1548
+ 'The TOML format for commands is being deprecated in favor of Markdown format.':
1549
+ 'The TOML format for commands is being deprecated in favor of Markdown format.',
1550
+ 'Markdown format is more readable and easier to edit.':
1551
+ 'Markdown format is more readable and easier to edit.',
1552
+ 'You can migrate these files automatically using:':
1553
+ 'You can migrate these files automatically using:',
1554
+ 'Or manually convert each file:': 'Or manually convert each file:',
1555
+ 'TOML: prompt = "..." / description = "..."':
1556
+ 'TOML: prompt = "..." / description = "..."',
1557
+ 'Markdown: YAML frontmatter + content':
1558
+ 'Markdown: YAML frontmatter + content',
1559
+ 'The migration tool will:': 'The migration tool will:',
1560
+ 'Convert TOML files to Markdown': 'Convert TOML files to Markdown',
1561
+ 'Create backups of original files': 'Create backups of original files',
1562
+ 'Preserve all command functionality': 'Preserve all command functionality',
1563
+ 'TOML format will continue to work for now, but migration is recommended.':
1564
+ 'TOML format will continue to work for now, but migration is recommended.',
1565
+
1566
+ // ============================================================================
1567
+ // Extensions - Explore Command
1568
+ // ============================================================================
1569
+ 'Open extensions page in your browser':
1570
+ 'Open extensions page in your browser',
1571
+ 'Unknown extensions source: {{source}}.':
1572
+ 'Unknown extensions source: {{source}}.',
1573
+ 'Would open extensions page in your browser: {{url}} (skipped in test environment)':
1574
+ 'Would open extensions page in your browser: {{url}} (skipped in test environment)',
1575
+ 'View available extensions at {{url}}':
1576
+ 'View available extensions at {{url}}',
1577
+ 'Opening extensions page in your browser: {{url}}':
1578
+ 'Opening extensions page in your browser: {{url}}',
1579
+ 'Failed to open browser. Check out the extensions gallery at {{url}}':
1580
+ 'Failed to open browser. Check out the extensions gallery at {{url}}',
1581
+
1582
+ // ============================================================================
1583
+ // Retry / Rate Limit
1584
+ // ============================================================================
1585
+ 'Rate limit error: {{reason}}': 'Rate limit error: {{reason}}',
1586
+ 'Retrying in {{seconds}} seconds… (attempt {{attempt}}/{{maxRetries}})':
1587
+ 'Retrying in {{seconds}} seconds… (attempt {{attempt}}/{{maxRetries}})',
1588
+ 'Press Ctrl+Y to retry': 'Press Ctrl+Y to retry',
1589
+ 'No failed request to retry.': 'No failed request to retry.',
1590
+ 'to retry last request': 'to retry last request',
1591
+
1592
+ // ============================================================================
1593
+ // Coding Plan Authentication
1594
+ // ============================================================================
1595
+ 'API key cannot be empty.': 'API key cannot be empty.',
1596
+ 'You can get your Coding Plan API key here':
1597
+ 'You can get your Coding Plan API key here',
1598
+ 'API key is stored in settings.env. You can migrate it to a .env file for better security.':
1599
+ 'API key is stored in settings.env. You can migrate it to a .env file for better security.',
1600
+ 'New model configurations are available for Alibaba Cloud Coding Plan. Update now?':
1601
+ 'New model configurations are available for Alibaba Cloud Coding Plan. Update now?',
1602
+ 'Coding Plan configuration updated successfully. New models are now available.':
1603
+ 'Coding Plan configuration updated successfully. New models are now available.',
1604
+ 'Coding Plan API key not found. Please re-authenticate with Coding Plan.':
1605
+ 'Coding Plan API key not found. Please re-authenticate with Coding Plan.',
1606
+ 'Failed to update Coding Plan configuration: {{message}}':
1607
+ 'Failed to update Coding Plan configuration: {{message}}',
1608
+
1609
+ // ============================================================================
1610
+ // Custom API Key Configuration
1611
+ // ============================================================================
1612
+ 'You can configure your API key and models in settings.json':
1613
+ 'You can configure your API key and models in settings.json',
1614
+ 'Refer to the documentation for setup instructions':
1615
+ 'Refer to the documentation for setup instructions',
1616
+
1617
+ // ============================================================================
1618
+ // Auth Dialog - View Titles and Labels
1619
+ // ============================================================================
1620
+ 'Coding Plan': 'Coding Plan',
1621
+ "Paste your api key of Bailian Coding Plan and you're all set!":
1622
+ "Paste your api key of Bailian Coding Plan and you're all set!",
1623
+ Custom: 'Custom',
1624
+ 'More instructions about configuring `modelProviders` manually.':
1625
+ 'More instructions about configuring `modelProviders` manually.',
1626
+ 'Select API-KEY configuration mode:': 'Select API-KEY configuration mode:',
1627
+ '(Press Escape to go back)': '(Press Escape to go back)',
1628
+ '(Press Enter to submit, Escape to cancel)':
1629
+ '(Press Enter to submit, Escape to cancel)',
1630
+ 'Select Region for Coding Plan': 'Select Region for Coding Plan',
1631
+ 'Choose based on where your account is registered':
1632
+ 'Choose based on where your account is registered',
1633
+ 'Enter Coding Plan API Key': 'Enter Coding Plan API Key',
1634
+
1635
+ // ============================================================================
1636
+ // Coding Plan International Updates
1637
+ // ============================================================================
1638
+ 'New model configurations are available for {{region}}. Update now?':
1639
+ 'New model configurations are available for {{region}}. Update now?',
1640
+ '{{region}} configuration updated successfully. Model switched to "{{model}}".':
1641
+ '{{region}} configuration updated successfully. Model switched to "{{model}}".',
1642
+ '{{region}} configuration updated successfully.':
1643
+ '{{region}} configuration updated successfully.',
1644
+ 'Authenticated successfully with {{region}}. API key and model configs saved to settings.json.':
1645
+ 'Authenticated successfully with {{region}}. API key and model configs saved to settings.json.',
1646
+ 'Tip: Use /model to switch between available Coding Plan models.':
1647
+ 'Tip: Use /model to switch between available Coding Plan models.',
1648
+
1649
+ // ============================================================================
1650
+ // Ask User Question Tool
1651
+ // ============================================================================
1652
+ 'Please answer the following question(s):':
1653
+ 'Please answer the following question(s):',
1654
+ 'Cannot ask user questions in non-interactive mode. Please run in interactive mode to use this tool.':
1655
+ 'Cannot ask user questions in non-interactive mode. Please run in interactive mode to use this tool.',
1656
+ 'User declined to answer the questions.':
1657
+ 'User declined to answer the questions.',
1658
+ 'User has provided the following answers:':
1659
+ 'User has provided the following answers:',
1660
+ 'Failed to process user answers:': 'Failed to process user answers:',
1661
+ 'Type something...': 'Type something...',
1662
+ Submit: 'Submit',
1663
+ 'Submit answers': 'Submit answers',
1664
+ Cancel: 'Cancel',
1665
+ 'Your answers:': 'Your answers:',
1666
+ '(not answered)': '(not answered)',
1667
+ 'Ready to submit your answers?': 'Ready to submit your answers?',
1668
+ '↑/↓: Navigate | ←/→: Switch tabs | Enter: Select':
1669
+ '↑/↓: Navigate | ←/→: Switch tabs | Enter: Select',
1670
+ '↑/↓: Navigate | ←/→: Switch tabs | Space/Enter: Toggle | Esc: Cancel':
1671
+ '↑/↓: Navigate | ←/→: Switch tabs | Space/Enter: Toggle | Esc: Cancel',
1672
+ '↑/↓: Navigate | Space/Enter: Toggle | Esc: Cancel':
1673
+ '↑/↓: Navigate | Space/Enter: Toggle | Esc: Cancel',
1674
+ '↑/↓: Navigate | Enter: Select | Esc: Cancel':
1675
+ '↑/↓: Navigate | Enter: Select | Esc: Cancel',
1676
+ };
node_modules/@qwen-code/qwen-code/package.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "@qwen-code/qwen-code",
3
+ "version": "0.12.3",
4
+ "description": "Qwen Code - AI-powered coding assistant",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/QwenLM/qwen-code.git"
8
+ },
9
+ "type": "module",
10
+ "main": "cli.js",
11
+ "bin": {
12
+ "qwen": "cli.js"
13
+ },
14
+ "files": [
15
+ "cli.js",
16
+ "vendor",
17
+ "*.sb",
18
+ "README.md",
19
+ "LICENSE",
20
+ "locales"
21
+ ],
22
+ "config": {
23
+ "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.12.3"
24
+ },
25
+ "dependencies": {},
26
+ "optionalDependencies": {
27
+ "@lydell/node-pty": "1.1.0",
28
+ "@lydell/node-pty-darwin-arm64": "1.1.0",
29
+ "@lydell/node-pty-darwin-x64": "1.1.0",
30
+ "@lydell/node-pty-linux-x64": "1.1.0",
31
+ "@lydell/node-pty-win32-arm64": "1.1.0",
32
+ "@lydell/node-pty-win32-x64": "1.1.0",
33
+ "@teddyzhu/clipboard": "0.0.5",
34
+ "@teddyzhu/clipboard-darwin-arm64": "0.0.5",
35
+ "@teddyzhu/clipboard-darwin-x64": "0.0.5",
36
+ "@teddyzhu/clipboard-linux-x64-gnu": "0.0.5",
37
+ "@teddyzhu/clipboard-linux-arm64-gnu": "0.0.5",
38
+ "@teddyzhu/clipboard-win32-x64-msvc": "0.0.5",
39
+ "@teddyzhu/clipboard-win32-arm64-msvc": "0.0.5"
40
+ },
41
+ "engines": {
42
+ "node": ">=20.0.0"
43
+ }
44
+ }
node_modules/@qwen-code/qwen-code/sandbox-macos-permissive-closed.sb ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (version 1)
2
+
3
+ ;; allow everything by default
4
+ (allow default)
5
+
6
+ ;; deny all writes EXCEPT under specific paths
7
+ (deny file-write*)
8
+ (allow file-write*
9
+ (subpath (param "TARGET_DIR"))
10
+ (subpath (param "TMP_DIR"))
11
+ (subpath (param "CACHE_DIR"))
12
+ (subpath (string-append (param "HOME_DIR") "/.qwen"))
13
+ (subpath (string-append (param "HOME_DIR") "/.npm"))
14
+ (subpath (string-append (param "HOME_DIR") "/.cache"))
15
+ (subpath (string-append (param "HOME_DIR") "/.gitconfig"))
16
+ ;; Allow writes to included directories from --include-directories
17
+ (subpath (param "INCLUDE_DIR_0"))
18
+ (subpath (param "INCLUDE_DIR_1"))
19
+ (subpath (param "INCLUDE_DIR_2"))
20
+ (subpath (param "INCLUDE_DIR_3"))
21
+ (subpath (param "INCLUDE_DIR_4"))
22
+ (literal "/dev/stdout")
23
+ (literal "/dev/stderr")
24
+ (literal "/dev/null")
25
+ )
26
+
27
+ ;; deny all inbound network traffic EXCEPT on debugger port
28
+ (deny network-inbound)
29
+ (allow network-inbound (local ip "localhost:9229"))
30
+
31
+ ;; deny all outbound network traffic
32
+ (deny network-outbound)
node_modules/@qwen-code/qwen-code/sandbox-macos-permissive-proxied.sb ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (version 1)
2
+
3
+ ;; allow everything by default
4
+ (allow default)
5
+
6
+ ;; deny all writes EXCEPT under specific paths
7
+ (deny file-write*)
8
+ (allow file-write*
9
+ (subpath (param "TARGET_DIR"))
10
+ (subpath (param "TMP_DIR"))
11
+ (subpath (param "CACHE_DIR"))
12
+ (subpath (string-append (param "HOME_DIR") "/.qwen"))
13
+ (subpath (string-append (param "HOME_DIR") "/.npm"))
14
+ (subpath (string-append (param "HOME_DIR") "/.cache"))
15
+ (subpath (string-append (param "HOME_DIR") "/.gitconfig"))
16
+ ;; Allow writes to included directories from --include-directories
17
+ (subpath (param "INCLUDE_DIR_0"))
18
+ (subpath (param "INCLUDE_DIR_1"))
19
+ (subpath (param "INCLUDE_DIR_2"))
20
+ (subpath (param "INCLUDE_DIR_3"))
21
+ (subpath (param "INCLUDE_DIR_4"))
22
+ (literal "/dev/stdout")
23
+ (literal "/dev/stderr")
24
+ (literal "/dev/null")
25
+ )
26
+
27
+ ;; deny all inbound network traffic EXCEPT on debugger port
28
+ (deny network-inbound)
29
+ (allow network-inbound (local ip "localhost:9229"))
30
+
31
+ ;; deny all outbound network traffic EXCEPT through proxy on localhost:8877
32
+ ;; set `QWEN_SANDBOX_PROXY_COMMAND=<command>` to run proxy alongside sandbox
33
+ ;; proxy must listen on :::8877 (see docs/examples/proxy-script.md)
34
+ (deny network-outbound)
35
+ (allow network-outbound (remote tcp "localhost:8877"))
36
+
37
+ (allow network-bind (local ip "*:*"))
node_modules/@qwen-code/qwen-code/sandbox-macos-restrictive-closed.sb ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (version 1)
2
+
3
+ ;; deny everything by default
4
+ (deny default)
5
+
6
+ ;; allow reading files from anywhere on host
7
+ (allow file-read*)
8
+
9
+ ;; allow exec/fork (children inherit policy)
10
+ (allow process-exec)
11
+ (allow process-fork)
12
+
13
+ ;; allow signals to self, e.g. SIGPIPE on write to closed pipe
14
+ (allow signal (target self))
15
+
16
+ ;; allow read access to specific information about system
17
+ ;; from https://source.chromium.org/chromium/chromium/src/+/main:sandbox/policy/mac/common.sb;l=273-319;drc=7b3962fe2e5fc9e2ee58000dc8fbf3429d84d3bd
18
+ (allow sysctl-read
19
+ (sysctl-name "hw.activecpu")
20
+ (sysctl-name "hw.busfrequency_compat")
21
+ (sysctl-name "hw.byteorder")
22
+ (sysctl-name "hw.cacheconfig")
23
+ (sysctl-name "hw.cachelinesize_compat")
24
+ (sysctl-name "hw.cpufamily")
25
+ (sysctl-name "hw.cpufrequency_compat")
26
+ (sysctl-name "hw.cputype")
27
+ (sysctl-name "hw.l1dcachesize_compat")
28
+ (sysctl-name "hw.l1icachesize_compat")
29
+ (sysctl-name "hw.l2cachesize_compat")
30
+ (sysctl-name "hw.l3cachesize_compat")
31
+ (sysctl-name "hw.logicalcpu_max")
32
+ (sysctl-name "hw.machine")
33
+ (sysctl-name "hw.ncpu")
34
+ (sysctl-name "hw.nperflevels")
35
+ (sysctl-name "hw.optional.arm.FEAT_BF16")
36
+ (sysctl-name "hw.optional.arm.FEAT_DotProd")
37
+ (sysctl-name "hw.optional.arm.FEAT_FCMA")
38
+ (sysctl-name "hw.optional.arm.FEAT_FHM")
39
+ (sysctl-name "hw.optional.arm.FEAT_FP16")
40
+ (sysctl-name "hw.optional.arm.FEAT_I8MM")
41
+ (sysctl-name "hw.optional.arm.FEAT_JSCVT")
42
+ (sysctl-name "hw.optional.arm.FEAT_LSE")
43
+ (sysctl-name "hw.optional.arm.FEAT_RDM")
44
+ (sysctl-name "hw.optional.arm.FEAT_SHA512")
45
+ (sysctl-name "hw.optional.armv8_2_sha512")
46
+ (sysctl-name "hw.packages")
47
+ (sysctl-name "hw.pagesize_compat")
48
+ (sysctl-name "hw.physicalcpu_max")
49
+ (sysctl-name "hw.tbfrequency_compat")
50
+ (sysctl-name "hw.vectorunit")
51
+ (sysctl-name "kern.hostname")
52
+ (sysctl-name "kern.maxfilesperproc")
53
+ (sysctl-name "kern.osproductversion")
54
+ (sysctl-name "kern.osrelease")
55
+ (sysctl-name "kern.ostype")
56
+ (sysctl-name "kern.osvariant_status")
57
+ (sysctl-name "kern.osversion")
58
+ (sysctl-name "kern.secure_kernel")
59
+ (sysctl-name "kern.usrstack64")
60
+ (sysctl-name "kern.version")
61
+ (sysctl-name "sysctl.proc_cputype")
62
+ (sysctl-name-prefix "hw.perflevel")
63
+ )
64
+
65
+ ;; allow writes to specific paths
66
+ (allow file-write*
67
+ (subpath (param "TARGET_DIR"))
68
+ (subpath (param "TMP_DIR"))
69
+ (subpath (param "CACHE_DIR"))
70
+ (subpath (string-append (param "HOME_DIR") "/.qwen"))
71
+ (subpath (string-append (param "HOME_DIR") "/.npm"))
72
+ (subpath (string-append (param "HOME_DIR") "/.cache"))
73
+ (subpath (string-append (param "HOME_DIR") "/.gitconfig"))
74
+ ;; Allow writes to included directories from --include-directories
75
+ (subpath (param "INCLUDE_DIR_0"))
76
+ (subpath (param "INCLUDE_DIR_1"))
77
+ (subpath (param "INCLUDE_DIR_2"))
78
+ (subpath (param "INCLUDE_DIR_3"))
79
+ (subpath (param "INCLUDE_DIR_4"))
80
+ (literal "/dev/stdout")
81
+ (literal "/dev/stderr")
82
+ (literal "/dev/null")
83
+ )
84
+
85
+ ;; allow communication with sysmond for process listing (e.g. for pgrep)
86
+ (allow mach-lookup (global-name "com.apple.sysmond"))
87
+
88
+ ;; enable terminal access required by ink
89
+ ;; fixes setRawMode EPERM failure (at node:tty:81:24)
90
+ (allow file-ioctl (regex #"^/dev/tty.*"))
91
+
92
+ ;; allow inbound network traffic on debugger port
93
+ (allow network-inbound (local ip "localhost:9229"))
node_modules/@qwen-code/qwen-code/sandbox-macos-restrictive-proxied.sb ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (version 1)
2
+
3
+ ;; deny everything by default
4
+ (deny default)
5
+
6
+ ;; allow reading files from anywhere on host
7
+ (allow file-read*)
8
+
9
+ ;; allow exec/fork (children inherit policy)
10
+ (allow process-exec)
11
+ (allow process-fork)
12
+
13
+ ;; allow signals to self, e.g. SIGPIPE on write to closed pipe
14
+ (allow signal (target self))
15
+
16
+ ;; allow read access to specific information about system
17
+ ;; from https://source.chromium.org/chromium/chromium/src/+/main:sandbox/policy/mac/common.sb;l=273-319;drc=7b3962fe2e5fc9e2ee58000dc8fbf3429d84d3bd
18
+ (allow sysctl-read
19
+ (sysctl-name "hw.activecpu")
20
+ (sysctl-name "hw.busfrequency_compat")
21
+ (sysctl-name "hw.byteorder")
22
+ (sysctl-name "hw.cacheconfig")
23
+ (sysctl-name "hw.cachelinesize_compat")
24
+ (sysctl-name "hw.cpufamily")
25
+ (sysctl-name "hw.cpufrequency_compat")
26
+ (sysctl-name "hw.cputype")
27
+ (sysctl-name "hw.l1dcachesize_compat")
28
+ (sysctl-name "hw.l1icachesize_compat")
29
+ (sysctl-name "hw.l2cachesize_compat")
30
+ (sysctl-name "hw.l3cachesize_compat")
31
+ (sysctl-name "hw.logicalcpu_max")
32
+ (sysctl-name "hw.machine")
33
+ (sysctl-name "hw.ncpu")
34
+ (sysctl-name "hw.nperflevels")
35
+ (sysctl-name "hw.optional.arm.FEAT_BF16")
36
+ (sysctl-name "hw.optional.arm.FEAT_DotProd")
37
+ (sysctl-name "hw.optional.arm.FEAT_FCMA")
38
+ (sysctl-name "hw.optional.arm.FEAT_FHM")
39
+ (sysctl-name "hw.optional.arm.FEAT_FP16")
40
+ (sysctl-name "hw.optional.arm.FEAT_I8MM")
41
+ (sysctl-name "hw.optional.arm.FEAT_JSCVT")
42
+ (sysctl-name "hw.optional.arm.FEAT_LSE")
43
+ (sysctl-name "hw.optional.arm.FEAT_RDM")
44
+ (sysctl-name "hw.optional.arm.FEAT_SHA512")
45
+ (sysctl-name "hw.optional.armv8_2_sha512")
46
+ (sysctl-name "hw.packages")
47
+ (sysctl-name "hw.pagesize_compat")
48
+ (sysctl-name "hw.physicalcpu_max")
49
+ (sysctl-name "hw.tbfrequency_compat")
50
+ (sysctl-name "hw.vectorunit")
51
+ (sysctl-name "kern.hostname")
52
+ (sysctl-name "kern.maxfilesperproc")
53
+ (sysctl-name "kern.osproductversion")
54
+ (sysctl-name "kern.osrelease")
55
+ (sysctl-name "kern.ostype")
56
+ (sysctl-name "kern.osvariant_status")
57
+ (sysctl-name "kern.osversion")
58
+ (sysctl-name "kern.secure_kernel")
59
+ (sysctl-name "kern.usrstack64")
60
+ (sysctl-name "kern.version")
61
+ (sysctl-name "sysctl.proc_cputype")
62
+ (sysctl-name-prefix "hw.perflevel")
63
+ )
64
+
65
+ ;; allow writes to specific paths
66
+ (allow file-write*
67
+ (subpath (param "TARGET_DIR"))
68
+ (subpath (param "TMP_DIR"))
69
+ (subpath (param "CACHE_DIR"))
70
+ (subpath (string-append (param "HOME_DIR") "/.qwen"))
71
+ (subpath (string-append (param "HOME_DIR") "/.npm"))
72
+ (subpath (string-append (param "HOME_DIR") "/.cache"))
73
+ (subpath (string-append (param "HOME_DIR") "/.gitconfig"))
74
+ ;; Allow writes to included directories from --include-directories
75
+ (subpath (param "INCLUDE_DIR_0"))
76
+ (subpath (param "INCLUDE_DIR_1"))
77
+ (subpath (param "INCLUDE_DIR_2"))
78
+ (subpath (param "INCLUDE_DIR_3"))
79
+ (subpath (param "INCLUDE_DIR_4"))
80
+ (literal "/dev/stdout")
81
+ (literal "/dev/stderr")
82
+ (literal "/dev/null")
83
+ )
84
+
85
+ ;; allow communication with sysmond for process listing (e.g. for pgrep)
86
+ (allow mach-lookup (global-name "com.apple.sysmond"))
87
+
88
+ ;; enable terminal access required by ink
89
+ ;; fixes setRawMode EPERM failure (at node:tty:81:24)
90
+ (allow file-ioctl (regex #"^/dev/tty.*"))
91
+
92
+ ;; allow inbound network traffic on debugger port
93
+ (allow network-inbound (local ip "localhost:9229"))
94
+
95
+ ;; allow outbound network traffic through proxy on localhost:8877
96
+ ;; set `QWEN_SANDBOX_PROXY_COMMAND=<command>` to run proxy alongside sandbox
97
+ ;; proxy must listen on :::8877 (see docs/examples/proxy-script.md)
98
+ (allow network-outbound (remote tcp "localhost:8877"))
package-lock.json ADDED
@@ -0,0 +1,245 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "LMDB5",
3
+ "lockfileVersion": 3,
4
+ "requires": true,
5
+ "packages": {
6
+ "": {
7
+ "dependencies": {
8
+ "@qwen-code/qwen-code": "^0.12.3"
9
+ }
10
+ },
11
+ "node_modules/@lydell/node-pty": {
12
+ "version": "1.1.0",
13
+ "resolved": "https://registry.npmjs.org/@lydell/node-pty/-/node-pty-1.1.0.tgz",
14
+ "integrity": "sha512-VDD8LtlMTOrPKWMXUAcB9+LTktzuunqrMwkYR1DMRBkS6LQrCt+0/Ws1o2rMml/n3guePpS7cxhHF7Nm5K4iMw==",
15
+ "license": "MIT",
16
+ "optional": true,
17
+ "optionalDependencies": {
18
+ "@lydell/node-pty-darwin-arm64": "1.1.0",
19
+ "@lydell/node-pty-darwin-x64": "1.1.0",
20
+ "@lydell/node-pty-linux-arm64": "1.1.0",
21
+ "@lydell/node-pty-linux-x64": "1.1.0",
22
+ "@lydell/node-pty-win32-arm64": "1.1.0",
23
+ "@lydell/node-pty-win32-x64": "1.1.0"
24
+ }
25
+ },
26
+ "node_modules/@lydell/node-pty-darwin-arm64": {
27
+ "version": "1.1.0",
28
+ "resolved": "https://registry.npmjs.org/@lydell/node-pty-darwin-arm64/-/node-pty-darwin-arm64-1.1.0.tgz",
29
+ "integrity": "sha512-7kFD+owAA61qmhJCtoMbqj3Uvff3YHDiU+4on5F2vQdcMI3MuwGi7dM6MkFG/yuzpw8LF2xULpL71tOPUfxs0w==",
30
+ "cpu": [
31
+ "arm64"
32
+ ],
33
+ "license": "MIT",
34
+ "optional": true,
35
+ "os": [
36
+ "darwin"
37
+ ]
38
+ },
39
+ "node_modules/@lydell/node-pty-darwin-x64": {
40
+ "version": "1.1.0",
41
+ "resolved": "https://registry.npmjs.org/@lydell/node-pty-darwin-x64/-/node-pty-darwin-x64-1.1.0.tgz",
42
+ "integrity": "sha512-XZdvqj5FjAMjH8bdp0YfaZjur5DrCIDD1VYiE9EkkYVMDQqRUPHYV3U8BVEQVT9hYfjmpr7dNaELF2KyISWSNA==",
43
+ "cpu": [
44
+ "x64"
45
+ ],
46
+ "license": "MIT",
47
+ "optional": true,
48
+ "os": [
49
+ "darwin"
50
+ ]
51
+ },
52
+ "node_modules/@lydell/node-pty-linux-arm64": {
53
+ "version": "1.1.0",
54
+ "resolved": "https://registry.npmjs.org/@lydell/node-pty-linux-arm64/-/node-pty-linux-arm64-1.1.0.tgz",
55
+ "integrity": "sha512-yyDBmalCfHpLiQMT2zyLcqL2Fay4Xy7rIs8GH4dqKLnEviMvPGOK7LADVkKAsbsyXBSISL3Lt1m1MtxhPH6ckg==",
56
+ "cpu": [
57
+ "arm64"
58
+ ],
59
+ "license": "MIT",
60
+ "optional": true,
61
+ "os": [
62
+ "linux"
63
+ ]
64
+ },
65
+ "node_modules/@lydell/node-pty-linux-x64": {
66
+ "version": "1.1.0",
67
+ "resolved": "https://registry.npmjs.org/@lydell/node-pty-linux-x64/-/node-pty-linux-x64-1.1.0.tgz",
68
+ "integrity": "sha512-NcNqRTD14QT+vXcEuqSSvmWY+0+WUBn2uRE8EN0zKtDpIEr9d+YiFj16Uqds6QfcLCHfZmC+Ls7YzwTaqDnanA==",
69
+ "cpu": [
70
+ "x64"
71
+ ],
72
+ "license": "MIT",
73
+ "optional": true,
74
+ "os": [
75
+ "linux"
76
+ ]
77
+ },
78
+ "node_modules/@lydell/node-pty-win32-arm64": {
79
+ "version": "1.1.0",
80
+ "resolved": "https://registry.npmjs.org/@lydell/node-pty-win32-arm64/-/node-pty-win32-arm64-1.1.0.tgz",
81
+ "integrity": "sha512-JOMbCou+0fA7d/m97faIIfIU0jOv8sn2OR7tI45u3AmldKoKoLP8zHY6SAvDDnI3fccO1R2HeR1doVjpS7HM0w==",
82
+ "cpu": [
83
+ "arm64"
84
+ ],
85
+ "license": "MIT",
86
+ "optional": true,
87
+ "os": [
88
+ "win32"
89
+ ]
90
+ },
91
+ "node_modules/@lydell/node-pty-win32-x64": {
92
+ "version": "1.1.0",
93
+ "resolved": "https://registry.npmjs.org/@lydell/node-pty-win32-x64/-/node-pty-win32-x64-1.1.0.tgz",
94
+ "integrity": "sha512-3N56BZ+WDFnUMYRtsrr7Ky2mhWGl9xXcyqR6cexfuCqcz9RNWL+KoXRv/nZylY5dYaXkft4JaR1uVu+roiZDAw==",
95
+ "cpu": [
96
+ "x64"
97
+ ],
98
+ "license": "MIT",
99
+ "optional": true,
100
+ "os": [
101
+ "win32"
102
+ ]
103
+ },
104
+ "node_modules/@qwen-code/qwen-code": {
105
+ "version": "0.12.3",
106
+ "resolved": "https://registry.npmjs.org/@qwen-code/qwen-code/-/qwen-code-0.12.3.tgz",
107
+ "integrity": "sha512-f8HEWHIkPVxKshHx4SP8ZFPd+zlsdsbaKPbXjwzwNo4Fprm1F2T4FK+Ra6X4Ek37WZTjkO3ZHPkSfFgNlQeqew==",
108
+ "bin": {
109
+ "qwen": "cli.js"
110
+ },
111
+ "engines": {
112
+ "node": ">=20.0.0"
113
+ },
114
+ "optionalDependencies": {
115
+ "@lydell/node-pty": "1.1.0",
116
+ "@lydell/node-pty-darwin-arm64": "1.1.0",
117
+ "@lydell/node-pty-darwin-x64": "1.1.0",
118
+ "@lydell/node-pty-linux-x64": "1.1.0",
119
+ "@lydell/node-pty-win32-arm64": "1.1.0",
120
+ "@lydell/node-pty-win32-x64": "1.1.0",
121
+ "@teddyzhu/clipboard": "0.0.5",
122
+ "@teddyzhu/clipboard-darwin-arm64": "0.0.5",
123
+ "@teddyzhu/clipboard-darwin-x64": "0.0.5",
124
+ "@teddyzhu/clipboard-linux-arm64-gnu": "0.0.5",
125
+ "@teddyzhu/clipboard-linux-x64-gnu": "0.0.5",
126
+ "@teddyzhu/clipboard-win32-arm64-msvc": "0.0.5",
127
+ "@teddyzhu/clipboard-win32-x64-msvc": "0.0.5"
128
+ }
129
+ },
130
+ "node_modules/@teddyzhu/clipboard": {
131
+ "version": "0.0.5",
132
+ "resolved": "https://registry.npmjs.org/@teddyzhu/clipboard/-/clipboard-0.0.5.tgz",
133
+ "integrity": "sha512-XA6MG7nLPZzj51agCwDYaVnVVrt0ByJ3G9rl3ar6N4GETAjUKKup6u76SLp2C5yHRWYV9hwMYDn04OGLar0MVg==",
134
+ "license": "MIT",
135
+ "optional": true,
136
+ "engines": {
137
+ "node": ">= 10.16.0 < 11 || >= 11.8.0 < 12 || >= 12.0.0"
138
+ },
139
+ "optionalDependencies": {
140
+ "@teddyzhu/clipboard-darwin-arm64": "0.0.5",
141
+ "@teddyzhu/clipboard-darwin-x64": "0.0.5",
142
+ "@teddyzhu/clipboard-linux-arm64-gnu": "0.0.5",
143
+ "@teddyzhu/clipboard-linux-x64-gnu": "0.0.5",
144
+ "@teddyzhu/clipboard-win32-arm64-msvc": "0.0.5",
145
+ "@teddyzhu/clipboard-win32-x64-msvc": "0.0.5"
146
+ }
147
+ },
148
+ "node_modules/@teddyzhu/clipboard-darwin-arm64": {
149
+ "version": "0.0.5",
150
+ "resolved": "https://registry.npmjs.org/@teddyzhu/clipboard-darwin-arm64/-/clipboard-darwin-arm64-0.0.5.tgz",
151
+ "integrity": "sha512-FB3yykRAcw0VLmSjIGFddgew2t20UnLp80NZvi5e/lbsy/3mruHibMHkxHWqzCncuZsHdRsRXS/FmR/ggepW9A==",
152
+ "cpu": [
153
+ "arm64"
154
+ ],
155
+ "license": "MIT",
156
+ "optional": true,
157
+ "os": [
158
+ "darwin"
159
+ ],
160
+ "engines": {
161
+ "node": ">= 10.16.0 < 11 || >= 11.8.0 < 12 || >= 12.0.0"
162
+ }
163
+ },
164
+ "node_modules/@teddyzhu/clipboard-darwin-x64": {
165
+ "version": "0.0.5",
166
+ "resolved": "https://registry.npmjs.org/@teddyzhu/clipboard-darwin-x64/-/clipboard-darwin-x64-0.0.5.tgz",
167
+ "integrity": "sha512-tiDazMpLf2dS7BZUif3da3DLJima8E/CnexB3CNgjQf12CFJ+D1cPcj/CgfvMYZgFQSsYyACpQNfXn4hmVbymA==",
168
+ "cpu": [
169
+ "x64"
170
+ ],
171
+ "license": "MIT",
172
+ "optional": true,
173
+ "os": [
174
+ "darwin"
175
+ ],
176
+ "engines": {
177
+ "node": ">= 10.16.0 < 11 || >= 11.8.0 < 12 || >= 12.0.0"
178
+ }
179
+ },
180
+ "node_modules/@teddyzhu/clipboard-linux-arm64-gnu": {
181
+ "version": "0.0.5",
182
+ "resolved": "https://registry.npmjs.org/@teddyzhu/clipboard-linux-arm64-gnu/-/clipboard-linux-arm64-gnu-0.0.5.tgz",
183
+ "integrity": "sha512-qcokM+BaXn4iG4o4nYGHdfC04pr54S2F7x2o5osFhG3hMVYHZLR/8NKcYDKELnebpH612nW2bNRoWWy14lM45g==",
184
+ "cpu": [
185
+ "arm64"
186
+ ],
187
+ "license": "MIT",
188
+ "optional": true,
189
+ "os": [
190
+ "linux"
191
+ ],
192
+ "engines": {
193
+ "node": ">= 10.16.0 < 11 || >= 11.8.0 < 12 || >= 12.0.0"
194
+ }
195
+ },
196
+ "node_modules/@teddyzhu/clipboard-linux-x64-gnu": {
197
+ "version": "0.0.5",
198
+ "resolved": "https://registry.npmjs.org/@teddyzhu/clipboard-linux-x64-gnu/-/clipboard-linux-x64-gnu-0.0.5.tgz",
199
+ "integrity": "sha512-Ogh4zYM9s537WJszSvKrPAoKQZ2grnY7Xy6szyJp2+84uQKWNbvZkATODAsRUn48zr9gqL3PZeUqkIBaz8sCpQ==",
200
+ "cpu": [
201
+ "x64"
202
+ ],
203
+ "license": "MIT",
204
+ "optional": true,
205
+ "os": [
206
+ "linux"
207
+ ],
208
+ "engines": {
209
+ "node": ">= 10.16.0 < 11 || >= 11.8.0 < 12 || >= 12.0.0"
210
+ }
211
+ },
212
+ "node_modules/@teddyzhu/clipboard-win32-arm64-msvc": {
213
+ "version": "0.0.5",
214
+ "resolved": "https://registry.npmjs.org/@teddyzhu/clipboard-win32-arm64-msvc/-/clipboard-win32-arm64-msvc-0.0.5.tgz",
215
+ "integrity": "sha512-TuU+7e8qYc0T++sIArHTmqr+nfqiTfJ6gdrb1e8yDJb6MM3EFxCd2VonTqLQL1YpUdfcH+/rdMarG2rvCwvEhQ==",
216
+ "cpu": [
217
+ "arm64"
218
+ ],
219
+ "license": "MIT",
220
+ "optional": true,
221
+ "os": [
222
+ "win32"
223
+ ],
224
+ "engines": {
225
+ "node": ">= 10.16.0 < 11 || >= 11.8.0 < 12 || >= 12.0.0"
226
+ }
227
+ },
228
+ "node_modules/@teddyzhu/clipboard-win32-x64-msvc": {
229
+ "version": "0.0.5",
230
+ "resolved": "https://registry.npmjs.org/@teddyzhu/clipboard-win32-x64-msvc/-/clipboard-win32-x64-msvc-0.0.5.tgz",
231
+ "integrity": "sha512-f1Br5bI+INNDifjkOI1woZsIxsoW0rRej/4kaaJvZcMxxkSG9TMT2LYOjTF2g+DtXw32lsGvWICN6c3JiHeG7Q==",
232
+ "cpu": [
233
+ "x64"
234
+ ],
235
+ "license": "MIT",
236
+ "optional": true,
237
+ "os": [
238
+ "win32"
239
+ ],
240
+ "engines": {
241
+ "node": ">= 10.16.0 < 11 || >= 11.8.0 < 12 || >= 12.0.0"
242
+ }
243
+ }
244
+ }
245
+ }
package.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "dependencies": {
3
+ "@qwen-code/qwen-code": "^0.12.3"
4
+ }
5
+ }