Commit Graph

18 Commits

Author SHA1 Message Date
Simon
768b07e28c feat: disable ScriptExecutionTool for MultiPageAgent 2026-06-11 20:16:09 +08:00
Simon
9ed0a09194 feat(core): make execute_javascript honor AbortSignal
Expose the task AbortSignal as `signal` in the script scope so cooperative
code can cancel promptly, and re-check signal.throwIfAborted() after the
script settles to discard stale results.

Closes #537.
2026-06-09 21:30:27 +08:00
Simon
4f80ec1459 refactor: upgrade ESLint 9→10 and simplify React lint toolchain
- Upgrade eslint and @eslint/js to v10
- Replace eslint-plugin-react-x + eslint-plugin-react-dom + eslint-plugin-react-hooks
  with unified @eslint-react/eslint-plugin
- Raise dev Node.js requirement to ^22.13.0 || >=24 (runtime packages unaffected)
- Add .npmrc with engine-strict=true
- Move all @eslint-react rule overrides to eslint.config.js,
  eliminating plugin-specific inline eslint-disable comments
- Fix real issues caught by new rules: useless assignments,
  leaked setTimeout, ref naming, useState setter naming
2026-04-08 20:31:31 +08:00
Simon
52edd78cd4 chore(ext): improve debug logging 2026-03-30 19:48:52 +08:00
Simon
628c249d45 fix(ext): init without initialTab throws error 2026-03-18 19:36:02 +08:00
Simon
7c87c90258 fix(ext): fix multi-thread logic; extensive logging and error handling 2026-02-11 19:51:19 +08:00
Simon
9d37a452e4 feat(ext): improve tabs sum 2026-01-28 15:38:42 +08:00
Simon
dd593f77e9 chore(ext): refine MultiPageAgent api and clean up 2026-01-28 13:36:46 +08:00
Simon
55ffbb8f08 refactor(ext): improve folder structure 2026-01-28 13:15:34 +08:00
Simon
fdc3cf4e6d feat(ext): handcraft the whole ext from scratch
AI coding doesn't work for MV3 extensions.
Threading was an unfixable mess.
Removed everything and rebuilt by hand.
2026-01-27 17:21:32 +08:00
Simon
8efa8e18c1 refactor(ext): rewrite ext. totally-broken -> still-broken; THIS IS NOT WORKING 2026-01-26 21:03:51 +08:00
Simon
cdecf3cc3d refactor(ext): mv files 2026-01-26 19:33:57 +08:00
Simon
89d6835a99 chore(ext): highlight cleanup with mask 2026-01-26 19:25:00 +08:00
Simon
6141c0f669 feat(ext): update mask controller 2026-01-24 19:37:46 +08:00
Simon
fa5ab9d567 feat: multi tabs control 2026-01-24 19:29:27 +08:00
Simon
3fea74faa9 feat(ext): handling page reload/redirect/close 2026-01-21 18:46:50 +08:00
Simon
1a0c533cb4 fix: lost control of tab when window inactive 2026-01-20 19:03:15 +08:00
Simon
db3b24a5ea feat(ext): draft extension structure (single-page mode) 2026-01-20 17:36:33 +08:00