[DEBUG] Watching for changes in setting files /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/downloads/.claude/skills [DEBUG] >>>>> getPluginSkills CALLED <<<<< [DEBUG] Creating shell snapshot for bash (/data/data/com.termux/files/usr/bin/bash) [DEBUG] Looking for shell config file: /data/data/com.termux/files/home/.bashrc [DEBUG] Shell config file not found: /data/data/com.termux/files/home/.bashrc, creating snapshot with Claude Code defaults only [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-bash-1761206577653-309668.sh [DEBUG] Shell binary exists: true [DEBUG] Execution timeout: 10000ms [DEBUG] Writing to temp file: /data/data/com.termux/files/home/.claude/todos/f5e23551-475a-4bbc-afb0-eb9e298b2670-agent-f5e23551-475a-4bbc-afb0-eb9e298b2670.json.tmp.22545.1761206577682 [DEBUG] Temp file written successfully, size: 2 bytes [DEBUG] Renaming /data/data/com.termux/files/home/.claude/todos/f5e23551-475a-4bbc-afb0-eb9e298b2670-agent-f5e23551-475a-4bbc-afb0-eb9e298b2670.json.tmp.22545.1761206577682 to /data/data/com.termux/files/home/.claude/todos/f5e23551-475a-4bbc-afb0-eb9e298b2670-agent-f5e23551-475a-4bbc-afb0-eb9e298b2670.json [DEBUG] File /data/data/com.termux/files/home/.claude/todos/f5e23551-475a-4bbc-afb0-eb9e298b2670-agent-f5e23551-475a-4bbc-afb0-eb9e298b2670.json written atomically [DEBUG] Writing to temp file: /data/data/com.termux/files/home/.claude.json.tmp.22545.1761206577707 [DEBUG] Preserving file permissions: 100600 [DEBUG] Temp file written successfully, size: 33656 bytes [DEBUG] Applied original permissions to temp file [DEBUG] Renaming /data/data/com.termux/files/home/.claude.json.tmp.22545.1761206577707 to /data/data/com.termux/files/home/.claude.json [DEBUG] File /data/data/com.termux/files/home/.claude.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 skills total (managed: 0, user: 0, project: 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] Unknown platform detected, using default paths [DEBUG] Writing to temp file: /data/data/com.termux/files/home/.claude.json.tmp.22545.1761206577852 [DEBUG] Preserving file permissions: 100600 [DEBUG] Temp file written successfully, size: 33656 bytes [DEBUG] Applied original permissions to temp file [DEBUG] Renaming /data/data/com.termux/files/home/.claude.json.tmp.22545.1761206577852 to /data/data/com.termux/files/home/.claude.json [DEBUG] File /data/data/com.termux/files/home/.claude.json written atomically [DEBUG] Getting matching hook commands for SessionStart with query: startup [DEBUG] Found 0 hook matchers in settings [DEBUG] Matched 0 unique hooks for query "startup" (0 before deduplication) [DEBUG] Writing to temp file: /data/data/com.termux/files/home/.claude.json.tmp.22545.1761206578118 [DEBUG] Preserving file permissions: 100600 [DEBUG] Temp file written successfully, size: 33656 bytes [DEBUG] Applied original permissions to temp file [DEBUG] Renaming /data/data/com.termux/files/home/.claude.json.tmp.22545.1761206578118 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.22545.1761206578126 [DEBUG] Preserving file permissions: 100600 [DEBUG] Temp file written successfully, size: 33656 bytes [DEBUG] Applied original permissions to temp file [DEBUG] Renaming /data/data/com.termux/files/home/.claude.json.tmp.22545.1761206578126 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] Starting background plugin installations [DEBUG] performBackgroundPluginInstallations called [DEBUG] Setting installation status: 0 marketplaces, 0 installable plugins, 0 uninstallable plugins [DEBUG] Loaded plugins - Enabled: 0, Disabled: 0, Commands: 0, Agents: 0, Errors: 0 [DEBUG] Skills and commands included in Skill tool: [DEBUG] Slash commands included in SlashCommand tool: [DEBUG] Shell snapshot created successfully (409 bytes) [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] Summarizing all 2 messages (~0 tokens) [DEBUG] Writing to temp file: /data/data/com.termux/files/home/.claude.json.tmp.22545.1761206581213 [DEBUG] Preserving file permissions: 100600 [DEBUG] Temp file written successfully, size: 33656 bytes [DEBUG] Applied original permissions to temp file [DEBUG] Renaming /data/data/com.termux/files/home/.claude.json.tmp.22545.1761206581213 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.22545.1761206581221 [DEBUG] Preserving file permissions: 100600 [DEBUG] Temp file written successfully, size: 33656 bytes [DEBUG] Applied original permissions to temp file [DEBUG] Renaming /data/data/com.termux/files/home/.claude.json.tmp.22545.1761206581221 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] Getting matching hook commands for UserPromptSubmit with query: undefined [DEBUG] Found 0 hook matchers in settings [DEBUG] Matched 0 unique hooks for query "no match query" (0 before deduplication) [DEBUG] FileHistory: Added snapshot for 10ccffec-1ba3-4d79-a624-0845f685c9f9, 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"} [DEBUG] npm view failed with code 1 [DEBUG] npm stderr: (empty) [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 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 N4.generate (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:203:83319) at by.makeStatusError (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:357:2117) at by.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 AV1 (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:1311:8784) at async sU1 (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3346:1043) at async h10 (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3346:1252) at async rbQ (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356:531) [ERROR] Error in non-streaming fallback: 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 N4.generate (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:203:83319) at by.makeStatusError (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:357:2117) at by.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 DfQ._t1.model (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356:18883) at async _t1 (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:2692:39781) at async DfQ (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356:19051) at async file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356:12841 at async Yo0 (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356:4513) at async Dd (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356:12812) [ERROR] SyntaxError: SyntaxError: Expected property name or '}' in JSON at position 1 (line 1 column 2) at JSON.parse () at file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:62:719 at Q (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:15093) at os2 (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:1091:20629) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) [ERROR] Error in non-streaming fallback: 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 N4.generate (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:203:83319) at by.makeStatusError (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:357:2117) at by.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 DfQ._t1.model (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356:18883) at async _t1 (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:2692:39781) at async DfQ (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356:19051) at async file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356:13073 at async Yo0 (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356:4513) at async T41 (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356:13043) [DEBUG] Getting matching hook commands for SubagentStop with query: undefined [DEBUG] Found 0 hook matchers in settings [DEBUG] Matched 0 unique hooks for query "no match query" (0 before deduplication) [ERROR] Error in non-streaming fallback: 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 N4.generate (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:203:83319) at by.makeStatusError (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:357:2117) at by.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 DfQ._t1.model (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356:18883) at async _t1 (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:2692:39781) at async DfQ (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356:19051) at async file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356:13073 at async Yo0 (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356:4513) at async T41 (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356:13043) [DEBUG] Getting matching hook commands for Stop with query: undefined [DEBUG] Found 0 hook matchers in settings [DEBUG] Matched 0 unique hooks for query "no match query" (0 before deduplication) [DEBUG] Writing to temp file: /data/data/com.termux/files/home/.claude.json.tmp.22545.1761206811180 [DEBUG] Preserving file permissions: 100600 [DEBUG] Temp file written successfully, size: 33680 bytes [DEBUG] Applied original permissions to temp file [DEBUG] Renaming /data/data/com.termux/files/home/.claude.json.tmp.22545.1761206811180 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.22545.1761206811192 [DEBUG] Preserving file permissions: 100600 [DEBUG] Temp file written successfully, size: 33762 bytes [DEBUG] Applied original permissions to temp file [DEBUG] Renaming /data/data/com.termux/files/home/.claude.json.tmp.22545.1761206811192 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: 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 N4.generate (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:203:83319) at by.makeStatusError (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:357:2117) at by.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 DfQ._t1.model (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356:18883) at async _t1 (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:2692:39781) at async DfQ (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356:19051) at async file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356:12841 at async Yo0 (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356:4513) at async Dd (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356:12812) [DEBUG] Summarizing all 2 messages (~0 tokens) [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] Getting matching hook commands for Notification with query: undefined [DEBUG] Found 0 hook matchers in settings [DEBUG] Matched 0 unique hooks for query "no match query" (0 before deduplication) [DEBUG] Metrics opt-out check failed: No API key available [DEBUG] Metrics check failed, defaulting to disabled [DEBUG] Metrics export disabled by organization setting [ERROR] Error in non-streaming fallback: 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 N4.generate (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:203:83319) at by.makeStatusError (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:357:2117) at by.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 DfQ._t1.model (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356:18883) at async _t1 (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:2692:39781) at async DfQ (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356:19051) at async file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356:12841 at async Yo0 (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356:4513) at async Dd (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356:12812) [DEBUG] npm view failed with code 1 [DEBUG] npm stderr: (empty)