[ImgBot] Optimize images#1
Closed
imgbot[bot] wants to merge 5 commits into
Closed
Conversation
Read-only inventory tool that scans Claude Code, Claude Desktop, Codex, and Cursor for installed plugins, skills, MCPs, agents, commands, hooks, extensions, and marketplaces. Renders box tables, JSON, or compact versions-only output. - Scanners for: ~/.claude (plugins, skills, MCPs, agents, commands, hooks, plugin-bundled), ~/Library/Application Support/Claude (desktop MCP + DXT extensions), ~/.codex (plugins, marketplaces, skills, hooks), ~/.cursor (mcp, hooks), $PWD overlays (.mcp.json, CLAUDE.md, AGENTS.md) - Version resolution: manifest -> path segment -> marketplace lock - Plugin cache walk uses installed_plugins.json as source of truth to avoid scanning stale versions - Bun build to a single 47 KB node-compatible CLI - Tests, typecheck, CI
The previous table renderer measured cell width with a regex that did not actually match ANSI escape sequences (missing the ESC prefix), and counted characters instead of terminal columns. With colored output on, the invisible escape bytes inflated the measured length and forced value.slice() into the middle of an escape, leaking styles. CJK descriptions then pushed rows past the terminal width, wrapping the trailing border onto a new line and making rows look like they were missing borders. - New src/util/width.ts: stripAnsi using the actual ESC[...m pattern, charWidth treating CJK + emoji as 2 columns, displayWidth, an ANSI-safe truncate that never produces an orphaned escape, and a display-width-aware pad. - table renderer now delegates pad/truncate to width.ts and adapts column widths down when total exceeds detected terminal width. - cli passes process.stdout.columns through to renderResult.
- package.json: name, bin, homepage, repository, bugs - README.md: title, install/run examples - src/cli.ts: help text, summary header, version + error prefixes - repo renamed on GitHub, origin remote updated to woosal1337/stack
- Add brand logo at assets/logo.jpg (Gemini nano-banana-pro, three glowing isometric stack layers on terminal black, amber/green/cyan) - README: hero with logo, CI/license/node badges, demo table block, non-goals section, links to CONTRIBUTING + SECURITY - Add SECURITY.md describing the read-only threat model and report flow - Add CONTRIBUTING.md with setup, code style, scanner conventions - ci.yml: pin Bun version to 1.3.8 for reproducible builds - .gitignore: also ignore *.tgz from bun pm pack - package.json: normalize author to woosal@pm.me to match the verified email on the woosal1337 GitHub account - GitHub topics set: claude-code, claude, mcp, codex, cursor, cli, developer-tools, inventory, typescript, bun
/assets/logo.jpg -- 457.99kb -> 400.37kb (12.58%) Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Beep boop. Your images are optimized!
Your image file size has been reduced by 13% 🎉
Details
📝 docs |
repo | 🙋🏾 issues | 🏪 marketplace
~Imgbot - Part of Optimole family