Skip to content

[ImgBot] Optimize images#6

Closed
imgbot[bot] wants to merge 1 commit into
mainfrom
imgbot
Closed

[ImgBot] Optimize images#6
imgbot[bot] wants to merge 1 commit into
mainfrom
imgbot

Conversation

@imgbot

@imgbot imgbot Bot commented Jul 6, 2026

Copy link
Copy Markdown

Beep boop. Your images are optimized!

Your image file size has been reduced by 13% 🎉

Details
File Before After Percent reduction
/frontend/public/placeholder.jpg 1.04kb 0.47kb 54.61%
/frontend/public/apple-icon.png 2.56kb 1.29kb 49.73%
/docs/dashboard.png 118.21kb 100.21kb 15.22%
/frontend/public/icon.svg 1.27kb 1.11kb 12.65%
/chrome/extension-src/store-assets/screenshot-1280x800.png 564.86kb 496.85kb 12.04%
/frontend/public/icon-dark-32x32.png 0.57kb 0.54kb 6.15%
/chrome/extension-src/icons/icon-128.png 14.97kb 14.06kb 6.10%
/frontend/public/icon-light-32x32.png 0.55kb 0.54kb 2.47%
/chrome/extension-src/icons/icon-48.png 3.41kb 3.39kb 0.49%
Total : 707.46kb 618.46kb 12.58%

📝 docs | :octocat: repo | 🙋🏾 issues | 🏪 marketplace

~Imgbot - Part of Optimole family

*Total -- 707.46kb -> 618.46kb (12.58%)

/frontend/public/placeholder.jpg -- 1.04kb -> 0.47kb (54.61%)
/frontend/public/apple-icon.png -- 2.56kb -> 1.29kb (49.73%)
/docs/dashboard.png -- 118.21kb -> 100.21kb (15.22%)
/frontend/public/icon.svg -- 1.27kb -> 1.11kb (12.65%)
/chrome/extension-src/store-assets/screenshot-1280x800.png -- 564.86kb -> 496.85kb (12.04%)
/frontend/public/icon-dark-32x32.png -- 0.57kb -> 0.54kb (6.15%)
/chrome/extension-src/icons/icon-128.png -- 14.97kb -> 14.06kb (6.1%)
/frontend/public/icon-light-32x32.png -- 0.55kb -> 0.54kb (2.47%)
/chrome/extension-src/icons/icon-48.png -- 3.41kb -> 3.39kb (0.49%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
@2233admin 2233admin closed this Jul 8, 2026
@2233admin 2233admin deleted the imgbot branch July 8, 2026 06:27
2233admin added a commit that referenced this pull request Jul 8, 2026
New backend/browser_act/ package (distinct from backend/cli.py and
backend/browser_act_packs/). Wraps the external `browser-act` binary:
version(), get_skills(), and a session(name, env) async context manager
yielding navigate/wait/eval/state/click/input.

Subprocess safety mirrors channels/cli_channel.py: create_subprocess_exec +
wait_for(timeout) + TimeoutError -> kill()+wait() (no orphan). Binary via
BROWSER_ACT_BIN env (mirrors OPENCLI_BIN); browser_act_timeout added to
Settings. All argv-only (decision #6): never shell, user values always single
argv elements; BrowserActError text excludes env secrets. session __aexit__ is
a documented no-op (browser lifecycle is PR-C, decision xjh1994#10).

19 tests incl. shell-injection safety (asserts create_subprocess_shell never
called, dangerous strings stay one verbatim argv element) + secret-not-leaked.
1448 -> 1467 passed, zero regression.
2233admin added a commit that referenced this pull request Jul 8, 2026
…PR-C)

New channel_type "browser_act" (registered). Generic interpreter of a pack's
channel.manifest.json (no per-pack code): resolves the pack via PackCatalog,
replays manifest.steps against a browser-act session (PR-B), and for each
eval_script step runs the pack's scripts/*.py to emit JS then evals it in the
browser and JSON-parses the DOM result.

- backend/browser_act/scripts.py: run_pack_script() — the second subprocess
  hop, create_subprocess_exec(sys.executable, ...) argv-only (decision #6),
  timeout+kill, ScriptError.
- backend/channels/browser_act_channel.py: collect/validate_config/health_check.
  Login/anti-bot detection (decision #4): a script's {error:true,message}
  matching an auth keyword -> error_type="needs_human", stops, never retries or
  bypasses. Pagination interprets url_page + "result_count<N" stop_when, else
  falls back to max_pages(5) + empty-page stop (limitations documented).
  Bad-manifest KeyError/JSON/schema errors return a ChannelResult, never crash.
  Env secrets never enter error text or metadata.

Registering the channel legitimately expands list_channel_types(), so the
workflow-capabilities exact-set test gains "browser_act" (+1 line).

17 tests (happy/needs_human/generic-error/validate/health/registry/
secret-not-leaked/script-hop injection-safety/template-mismatch).
1467 -> 1484 passed, zero regression (full suite verified).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants