[DEBUG] Watching for changes in setting files /data/data/com.termux/files/home/.claude/settings.json, /data/data/com.termux/files/home/.claude/settings.json...
[DEBUG] Found 0 plugins (0 enabled, 0 disabled)
[DEBUG] >>>>> getSkillsIfEnabled() CALLED <<<<<
[DEBUG] ENABLE_SKILLS value: true, type: boolean
[DEBUG] ENABLE_SKILLS check passed, loading skills...
[DEBUG] Loading skills from directories: managed=/etc/claude-code/.claude/skills, user=/data/data/com.termux/files/home/.claude/skills, project=/data/data/com.termux/files/home/.claude/skills
[DEBUG] >>>>> getPluginSkills CALLED <<<<<
[DEBUG] Creating shell snapshot for zsh (/data/data/com.termux/files/usr/bin/zsh)
[DEBUG] Looking for shell config file: /data/data/com.termux/files/home/.zshrc
[DEBUG] Snapshots directory: /data/data/com.termux/files/home/.claude/shell-snapshots
[DEBUG] Creating snapshot at: /data/data/com.termux/files/home/.claude/shell-snapshots/snapshot-zsh-1761381649125-octg02.sh
[DEBUG] Shell binary exists: true
[DEBUG] Execution timeout: 10000ms
[DEBUG] Writing to temp file: /data/data/com.termux/files/home/.claude/todos/6e2791b5-68f9-4259-a85c-db4933169f88-agent-6e2791b5-68f9-4259-a85c-db4933169f88.json.tmp.23620.1761381649162
[DEBUG] Temp file written successfully, size: 2 bytes
[DEBUG] Renaming /data/data/com.termux/files/home/.claude/todos/6e2791b5-68f9-4259-a85c-db4933169f88-agent-6e2791b5-68f9-4259-a85c-db4933169f88.json.tmp.23620.1761381649162 to /data/data/com.termux/files/home/.claude/todos/6e2791b5-68f9-4259-a85c-db4933169f88-agent-6e2791b5-68f9-4259-a85c-db4933169f88.json
[DEBUG] File /data/data/com.termux/files/home/.claude/todos/6e2791b5-68f9-4259-a85c-db4933169f88-agent-6e2791b5-68f9-4259-a85c-db4933169f88.json written atomically
[DEBUG] getPluginSkills: Processing 0 enabled plugins
[DEBUG] Total plugin skills loaded: 0
[DEBUG] Total plugin commands loaded: 0
[DEBUG] Registered 0 hooks from 0 plugins
[DEBUG] Loaded 0 unique skills (managed: 0, user: 0, project: 0, duplicates removed: 0)
[DEBUG] getSkillsIfEnabled returning: 0 skill dir commands, 0 plugin skills
[DEBUG] Total plugin agents loaded: 0
[DEBUG] rg error (signal=undefined, code=ENOENT, stderr: ), 0 results
[ERROR] Error: Error: spawn /data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/arm64-android/rg ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:286:19)
at onErrorNT (node:internal/child_process:484:16)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21)
[DEBUG] Ripgrep first use test: FAILED (mode=builtin, path=/data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/arm64-android/rg)
[DEBUG] Unknown platform detected, using default paths
[DEBUG] Shell snapshot created successfully (63357 bytes)
[DEBUG] Writing to temp file: /data/data/com.termux/files/home/.claude.json.tmp.23620.1761381650251
[DEBUG] Preserving file permissions: 100600
[DEBUG] Temp file written successfully, size: 35961 bytes
[DEBUG] Applied original permissions to temp file
[DEBUG] Renaming /data/data/com.termux/files/home/.claude.json.tmp.23620.1761381650251 to /data/data/com.termux/files/home/.claude.json
[DEBUG] File /data/data/com.termux/files/home/.claude.json written atomically
[DEBUG] Writing to temp file: /data/data/com.termux/files/home/.claude.json.tmp.23620.1761381660195
[DEBUG] Preserving file permissions: 100600
[DEBUG] Temp file written successfully, size: 35961 bytes
[DEBUG] Applied original permissions to temp file
[DEBUG] Renaming /data/data/com.termux/files/home/.claude.json.tmp.23620.1761381660195 to /data/data/com.termux/files/home/.claude.json
[DEBUG] File /data/data/com.termux/files/home/.claude.json written atomically
[DEBUG] Writing to temp file: /data/data/com.termux/files/home/.claude.json.tmp.23620.1761381660208
[DEBUG] Preserving file permissions: 100600
[DEBUG] Temp file written successfully, size: 35961 bytes
[DEBUG] Applied original permissions to temp file
[DEBUG] Renaming /data/data/com.termux/files/home/.claude.json.tmp.23620.1761381660208 to /data/data/com.termux/files/home/.claude.json
[DEBUG] File /data/data/com.termux/files/home/.claude.json written atomically
[ERROR] Error streaming, falling back to non-streaming mode: 500 {"error":{"code":400,"type":"server_error","message":"当前模型负载过高,请稍后重试. For more details, please visit https://www.88code.org "},"type":"error"}
[DEBUG] Unknown platform detected, using default paths
[DEBUG] Writing to temp file: /data/data/com.termux/files/home/.claude.json.tmp.23620.1761381663841
[DEBUG] Preserving file permissions: 100600
[DEBUG] Temp file written successfully, size: 35961 bytes
[DEBUG] Applied original permissions to temp file
[DEBUG] Renaming /data/data/com.termux/files/home/.claude.json.tmp.23620.1761381663841 to /data/data/com.termux/files/home/.claude.json
[DEBUG] File /data/data/com.termux/files/home/.claude.json written atomically
[DEBUG] Skipping SessionStart:startup hook execution - workspace trust not accepted
[DEBUG] Writing to temp file: /data/data/com.termux/files/home/.claude.json.tmp.23620.1761381664081
[DEBUG] Preserving file permissions: 100600
[DEBUG] Temp file written successfully, size: 35961 bytes
[DEBUG] Applied original permissions to temp file
[DEBUG] Renaming /data/data/com.termux/files/home/.claude.json.tmp.23620.1761381664081 to /data/data/com.termux/files/home/.claude.json
[DEBUG] File /data/data/com.termux/files/home/.claude.json written atomically
[DEBUG] Writing to temp file: /data/data/com.termux/files/home/.claude.json.tmp.23620.1761381664099
[DEBUG] Preserving file permissions: 100600
[DEBUG] Temp file written successfully, size: 36419 bytes
[DEBUG] Applied original permissions to temp file
[DEBUG] Renaming /data/data/com.termux/files/home/.claude.json.tmp.23620.1761381664099 to /data/data/com.termux/files/home/.claude.json
[DEBUG] File /data/data/com.termux/files/home/.claude.json written atomically
[DEBUG] AutoUpdaterWrapper: Installation type: npm-global, using native: false
[DEBUG] performStartupChecks called
[DEBUG] Trust not accepted for current directory - skipping plugin installations
[DEBUG] Skills and commands included in Skill tool:
[DEBUG] Slash commands included in SlashCommand tool:
[DEBUG] Loaded plugins - Enabled: 0, Disabled: 0, Commands: 0, Agents: 0, Errors: 0
[DEBUG] Writing to temp file: /data/data/com.termux/files/home/.claude.json.tmp.23620.1761381666157
[DEBUG] Preserving file permissions: 100600
[DEBUG] Temp file written successfully, size: 36419 bytes
[DEBUG] Applied original permissions to temp file
[DEBUG] Renaming /data/data/com.termux/files/home/.claude.json.tmp.23620.1761381666157 to /data/data/com.termux/files/home/.claude.json
[DEBUG] File /data/data/com.termux/files/home/.claude.json written atomically
[DEBUG] Hooks: getAsyncHookResponseAttachments called
[DEBUG] Hooks: checkForNewResponses called
[DEBUG] Hooks: Found 0 total hooks in registry
[DEBUG] Hooks: checkForNewResponses returning 0 responses
[DEBUG] Skipping UserPromptSubmit hook execution - workspace trust not accepted
[DEBUG] FileHistory: Added snapshot for 40e85a16-565f-45a8-abca-5b27b318379d, tracking 0 files
[DEBUG] Skills and commands included in Skill tool:
[DEBUG] Slash commands included in SlashCommand tool:
[ERROR] Error streaming, falling back to non-streaming mode: 500 {"error":{"code":400,"type":"server_error","message":"当前模型负载过高,请稍后重试. For more details, please visit https://www.88code.org "},"type":"error"}
[ERROR] Error streaming, falling back to non-streaming mode: 500 {"error":{"code":400,"type":"server_error","message":"当前模型负载过高,请稍后重试. For more details, please visit https://www.88code.org "},"type":"error"}
[ERROR] Error: Error: 500 {"error":{"code":400,"type":"server_error","message":"当前模型负载过高,请稍后重试. For more details, please visit https://www.88code.org "},"type":"error"}
at D4.generate (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:203:83308)
at uy.makeStatusError (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:357:2117)
at uy.makeRequest (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:357:5330)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async XFA (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:1311:8767)
at async XzA (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3346:1031)
at async SA1 (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3346:1240)
at async zb2 (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356:531)
[DEBUG] npm view failed with code 1
[DEBUG] npm stderr: (empty)
[DEBUG] Writing to temp file: /data/data/com.termux/files/home/.claude.json.tmp.23620.1761381678116
[DEBUG] Preserving file permissions: 100600
[DEBUG] Temp file written successfully, size: 36448 bytes
[DEBUG] Applied original permissions to temp file
[DEBUG] Renaming /data/data/com.termux/files/home/.claude.json.tmp.23620.1761381678116 to /data/data/com.termux/files/home/.claude.json
[DEBUG] File /data/data/com.termux/files/home/.claude.json written atomically
[ERROR] Error in non-streaming fallback: Request was aborted.
[ERROR] Error: Error: Request was aborted.
at AbortSignal.Z (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:1818:2891)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)
at AbortSignal.dispatchEvent (node:internal/event_target:762:26)
at runAbort (node:internal/abort_controller:488:10)
at abortSignal (node:internal/abort_controller:459:3)
at AbortController.abort (node:internal/abort_controller:507:5)
at DI (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:2849:61662)
at file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:2840:3290
at file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:194:499
at Q.batchedUpdates (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:75:51068)
[DEBUG] Writing to temp file: /data/data/com.termux/files/home/.claude.json.tmp.23620.1761381678182
[DEBUG] Preserving file permissions: 100600
[DEBUG] Temp file written successfully, size: 36479 bytes
[DEBUG] Applied original permissions to temp file
[DEBUG] Renaming /data/data/com.termux/files/home/.claude.json.tmp.23620.1761381678182 to /data/data/com.termux/files/home/.claude.json
[DEBUG] File /data/data/com.termux/files/home/.claude.json written atomically
[DEBUG] Writing to temp file: /data/data/com.termux/files/home/.claude.json.tmp.23620.1761381678193
[DEBUG] Preserving file permissions: 100600
[DEBUG] Temp file written successfully, size: 36567 bytes
[DEBUG] Applied original permissions to temp file
[DEBUG] Renaming /data/data/com.termux/files/home/.claude.json.tmp.23620.1761381678193 to /data/data/com.termux/files/home/.claude.json
[DEBUG] File /data/data/com.termux/files/home/.claude.json written atomically
[DEBUG] AutoUpdaterWrapper: Installation type: npm-global, using native: false
[DEBUG] Skipping SessionEnd:prompt_input_exit hook execution - workspace trust not accepted
[DEBUG] Cleaned up session snapshot: /data/data/com.termux/files/home/.claude/shell-snapshots/snapshot-zsh-1761381649125-octg02.sh
[DEBUG] FileHistory: Making snapshot for message 40686864-5f56-461c-8bd8-c5a99d6f618d
[DEBUG] FileHistory: Added snapshot for 40686864-5f56-461c-8bd8-c5a99d6f618d, tracking 0 files
[DEBUG] Rendering user message with 1 content blocks
[DEBUG] Block 0: /exit
exit
<...
[DEBUG] UserCommandMessage rendering: "exit" (args: "none")
[DEBUG] isSkillFormat: false, prefix: "/"
[DEBUG] Writing to temp file: /data/data/com.termux/files/home/.claude.json.tmp.23620.1761381685270
[DEBUG] Preserving file permissions: 100600
[DEBUG] Temp file written successfully, size: 36601 bytes
[DEBUG] Applied original permissions to temp file
[DEBUG] Renaming /data/data/com.termux/files/home/.claude.json.tmp.23620.1761381685270 to /data/data/com.termux/files/home/.claude.json
[DEBUG] File /data/data/com.termux/files/home/.claude.json written atomically
[DEBUG] Writing to temp file: /data/data/com.termux/files/home/.claude.json.tmp.23620.1761381685280
[DEBUG] Preserving file permissions: 100600
[DEBUG] Temp file written successfully, size: 36684 bytes
[DEBUG] Applied original permissions to temp file
[DEBUG] Renaming /data/data/com.termux/files/home/.claude.json.tmp.23620.1761381685280 to /data/data/com.termux/files/home/.claude.json
[DEBUG] File /data/data/com.termux/files/home/.claude.json written atomically
[DEBUG] Metrics opt-out check failed: No API key available
[DEBUG] Metrics check failed, defaulting to disabled
[DEBUG] Metrics export disabled by organization setting
[DEBUG] BigQuery metrics exporter flush complete
[DEBUG] BigQuery metrics exporter flush complete
[DEBUG] BigQuery metrics exporter shutdown complete
[DEBUG] Writing to temp file: /data/data/com.termux/files/home/.claude.json.tmp.23620.1761381685305
[DEBUG] Preserving file permissions: 100600
[DEBUG] Temp file written successfully, size: 37104 bytes
[DEBUG] Applied original permissions to temp file
[DEBUG] Renaming /data/data/com.termux/files/home/.claude.json.tmp.23620.1761381685305 to /data/data/com.termux/files/home/.claude.json
[DEBUG] File /data/data/com.termux/files/home/.claude.json written atomically