@@ -175,18 +175,21 @@ jobs:
175175 - name : Verify logger.ts after git-crypt unlock
176176 working-directory : console
177177 run : |
178- echo "=== file type ==="
179- file src/utils/logger.ts
180- echo "=== line count ==="
181- wc -l src/utils/logger.ts
182- echo "=== formatTool grep ==="
183- grep -n "formatTool" src/utils/logger.ts || echo "MISSING: formatTool not in logger.ts!"
184- echo "=== first 5 lines ==="
185- head -5 src/utils/logger.ts
186- echo "=== lines 160-165 ==="
187- sed -n '160,165p' src/utils/logger.ts
188- echo "=== bun resolve check ==="
189- bun -e "import { logger } from './src/utils/logger.js'; console.log('formatTool type:', typeof logger.formatTool); console.log('methods:', Object.getOwnPropertyNames(Object.getPrototypeOf(logger)).join(', '))"
178+ echo "=== test file first 5 lines ==="
179+ head -5 tests/utils/logger-format-tool.test.ts
180+ echo "=== test file line count ==="
181+ wc -l tests/utils/logger-format-tool.test.ts
182+ echo "=== test file md5 ==="
183+ md5sum tests/utils/logger-format-tool.test.ts || true
184+ echo "=== inline bun test ==="
185+ bun -e "
186+ import { logger } from './src/utils/logger.js';
187+ const has = typeof logger.formatTool === 'function';
188+ console.log('formatTool exists:', has);
189+ if (has) console.log('result:', logger.formatTool('Bash', '{\"command\": \"ls\"}'));
190+ "
191+ echo "=== single test file run ==="
192+ bun test tests/utils/logger-format-tool.test.ts 2>&1 | head -20 || true
190193
191194 - name : Run console tests
192195 working-directory : console
0 commit comments