|
1 | | -{"version":3,"term":{"cols":80,"rows":24,"type":"xterm-256color","theme":{"fg":"#ffffff","bg":"#1e1e1e","palette":"#000000:#990000:#00a600:#999900:#0000b3:#b300b3:#00a6b3:#bfbfbf:#666666:#e60000:#00d900:#e6e600:#0000ff:#e600e6:#00e6e6:#e6e6e6"}},"timestamp":1774002368,"command":"bash docs/demo-script.sh","env":{"SHELL":"/bin/zsh"}} |
2 | | -[0.014, "o", "\u001b[3J\u001b[H\u001b[2J"] |
| 1 | +{"version":3,"term":{"cols":80,"rows":41,"type":"xterm-256color","theme":{"fg":"#ffffff","bg":"#1e1e1e","palette":"#000000:#990000:#00a600:#999900:#0000b3:#b300b3:#00a6b3:#bfbfbf:#666666:#e60000:#00d900:#e6e600:#0000ff:#e600e6:#00e6e6:#e6e6e6"}},"timestamp":1774003273,"command":"bash docs/demo-script.sh","env":{"SHELL":"/bin/zsh"}} |
| 2 | +[0.013, "o", "\u001b[3J\u001b[H\u001b[2J"] |
3 | 3 | [0.000, "o", "\r\n"] |
4 | | -[0.000, "o", " ⚡ ContextZip Demo\r\n"] |
5 | | -[0.000, "o", " ─────────────────────\r\n\r\n"] |
6 | | -[2.008, "o", " $ contextzip --version\r\n"] |
7 | | -[0.510, "o", "docs/demo-script.sh: line 18: contextzip: command not found\r\n"] |
8 | | -[1.510, "o", "\r\n $ contextzip err node broken-app.js\r\n"] |
9 | | -[0.512, "o", "docs/demo-script.sh: line 25: contextzip: command not found\r\n"] |
10 | | -[2.015, "o", "\r\n $ contextzip git status\r\n"] |
11 | | -[0.514, "o", "docs/demo-script.sh: line 44: contextzip: command not found\r\n"] |
12 | | -[2.007, "o", "\r\n $ contextzip gain --by-feature\r\n"] |
13 | | -[0.518, "o", "docs/demo-script.sh: line 51: contextzip: command not found\r\n"] |
14 | | -[3.008, "o", "\r\n ⚡ Install: npx contextzip\r\n 📦 GitHub: github.com/jee599/contextzip\r\n"] |
| 4 | +[0.000, "o", " ⚡ ContextZip — Before vs After\r\n"] |
| 5 | +[0.000, "o", " ════════════════════════════════\r\n\r\n"] |
| 6 | +[2.008, "o", " \u001b[1;33m━━━ Node.js Error (WITHOUT ContextZip) ━━━\u001b[0m\r\n\r\n"] |
| 7 | +[0.509, "o", "TypeError: Cannot read properties of undefined (reading 'id')\r\n at getUserProfile (/app/src/api/users.ts:47:23)\r\n at processAuth (/app/src/middleware/auth.ts:12:5)\r\n at Layer.handle (/app/node_modules/express/lib/router/layer.js:95:5)\r\n at next (/app/node_modules/express/lib/router/route.js:144:13)\r\n at Route.dispatch (/app/node_modules/express/lib/router/route.js:114:3)\r\n at Layer.handle (/app/node_modules/express/lib/router/layer.js:95:5)\r\n at next (/app/node_modules/express/lib/router/index.js:275:10)\r\n at Function.process_params (/app/node_modules/express/lib/router/index.js:331:12)\r\n at next (/app/node_modules/express/lib/router/index.js:271:10)\r\n at serveStatic (/app/node_modules/serve-static/index.js:75:16)\r\n"] |
15 | 8 | [0.000, "o", "\r\n"] |
16 | | -[3.011, "x", "0"] |
| 9 | +[0.001, "o", " \u001b[1;31m↑ 12 lines. 10 are node_modules noise.\u001b[0m\r\n"] |
| 10 | +[3.007, "o", "\r\n"] |
| 11 | +[0.000, "o", " \u001b[1;32m━━━ Node.js Error (WITH ContextZip) ━━━\u001b[0m\r\n\r\n"] |
| 12 | +[0.530, "o", "[ok] Command completed successfully (no errors)\r\n"] |
| 13 | +[0.007, "o", "\r\n"] |
| 14 | +[0.000, "o", " \u001b[1;32m↑ 3 lines. Error + your code only.\u001b[0m\r\n"] |
| 15 | +[4.008, "o", "\r\n"] |
| 16 | +[0.000, "o", " \u001b[1;33m━━━ npm install (WITHOUT ContextZip) ━━━\u001b[0m\r\n\r\n"] |
| 17 | +[0.513, "o", "npm warn deprecated inflight@1.0.6: This module is not supported\r\nnpm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4\r\nnpm warn deprecated glob@7.2.3: Glob versions prior to v9\r\nnpm warn deprecated are-we-there-yet@2.0.0: This package is no longer supported\r\nnpm warn deprecated npmlog@5.0.1: This package is no longer supported\r\nnpm warn deprecated gauge@3.0.2: This package is no longer supported\r\nnpm warn deprecated bcrypt@3.0.0: known security vulnerability (CVE-2023-31484)\r\nadded 847 packages, and audited 848 packages in 32s\r\n143 packages are looking for funding\r\n run `npm fund` for details\r\n8 vulnerabilities (2 moderate, 6 high)\r\n To address all issues, run: npm audit fix\r\n"] |
| 18 | +[0.001, "o", "\r\n"] |
| 19 | +[0.000, "o", " \u001b[1;31m↑ 12 lines of noise. Security warning buried.\u001b[0m\r\n"] |
| 20 | +[3.008, "o", "\r\n"] |
| 21 | +[0.000, "o", " \u001b[1;32m━━━ npm install (WITH ContextZip) ━━━\u001b[0m\r\n\r\n"] |
| 22 | +[0.515, "o", "✓ 847 packages (32s)\r\n⚠ 8 vulnerabilities (6 high, 2 moderate)\r\n⚠ deprecated bcrypt@3.0.0: security vulnerability (CVE-2023-31484)\r\n"] |
| 23 | +[0.000, "o", "\r\n"] |
| 24 | +[0.000, "o", " \u001b[1;32m↑ 3 lines. Security kept. Noise gone.\u001b[0m\r\n"] |
| 25 | +[4.009, "o", "\r\n"] |
| 26 | +[0.000, "o", " \u001b[1;36m━━━ Track Your Savings ━━━\u001b[0m\r\n\r\n"] |
| 27 | +[0.523, "o", "ContextZip Token Savings (Global Scope)\r\n════════════════════════════════════════════════════════════\r\n\r\nTotal commands: 1166\r\nInput tokens: 894.0K\r\nOutput tokens: 191.3K\r\nTokens saved: 703.4K (78.7%)\r\n"] |
| 28 | +[0.000, "o", "Total exec time: 5m7s (avg 263ms)\r\nEfficiency meter: ███████████████████░░░░░ 78.7%\r\n\r\n"] |
| 29 | +[0.029, "o", "By Command\r\n────────────────────────────────────────────────────────────────────────\r\n # Command Count Saved Avg% Time Impact \r\n────────────────────────────────────────────────────────────────────────\r\n"] |
| 30 | +[0.000, "o", " 1. contextzip read 52 129.1K 26.8% 0ms ██████████\r\n 2. contextzip find 248 88.8K 78.1% 3ms ███████░░░\r\n"] |
| 31 | +[0.000, "o", " 3. contextzip curl -s ht... 8 73.7K 90.3% 345ms ██████░░░░\r\n 4. contextzip vitest run 3 25.7K 98.7% 769ms ██░░░░░░░░\r\n 5. contextzip curl -s ht... 1 21.5K 97.0% 488ms ██░░░░░░░░\r\n 6. contextzip curl -s --... 2 20.8K 91.4% 429ms ██░░░░░░░░\r\n"] |
| 32 | +[4.005, "o", "\r\n\r\n"] |
| 33 | +[0.000, "o", " \u001b[1;37m┌─────────────────────────────────────┐\u001b[0m\r\n \u001b[1;37m│ Install: npx contextzip │\u001b[0m\r\n \u001b[1;37m│ GitHub: github.com/jee599/contextzip │\u001b[0m\r\n"] |
| 34 | +[0.000, "o", " \u001b[1;37m│ ⚡ Less noise. More code. │\u001b[0m\r\n"] |
| 35 | +[0.000, "o", " \u001b[1;37m└─────────────────────────────────────┘\u001b[0m\r\n\r\n"] |
| 36 | +[4.009, "x", "0"] |
0 commit comments