Simon
76fea5b285
feat: remove instructions about nav back
2026-06-15 16:41:02 +08:00
Simon
67b1874836
Merge pull request #551 from alibaba/fix/stale-current-tab-id-mask-flash
...
fix(extension): clear currentTabId in storage on TabsController.init
2026-06-11 21:13:31 +08:00
Simon
e65c7c9601
Merge pull request #545 from alibaba/feat/execute-js-abort-signal
...
feat(core): make execute_javascript honor AbortSignal
2026-06-11 20:45:53 +08:00
Simon
d3797109bf
fix(extension): clear currentTabId in storage on TabsController.init
...
Reset currentTabId via updateCurrentTabId(null) so the storage projection
stays consistent with isAgentRunning. Prevents the previous run's tab from
briefly flashing the mask when a new run starts within the heartbeat window.
Closes #550
2026-06-11 20:37:19 +08:00
Simon
768b07e28c
feat: disable ScriptExecutionTool for MultiPageAgent
2026-06-11 20:16:09 +08:00
Simon
edb769b826
fix(ext): handle stopped lifecycle state
2026-06-11 19:53:30 +08:00
Simon
e270ba15b5
fix(ext): clear stale activity on any non-running status
...
The side panel kept showing the last activity card when a run settled as
`stopped`; clear it for every terminal status instead of an allowlist.
2026-06-11 19:15:58 +08:00
Simon
c19891926b
refactor(ext): drive heartbeat and running flag from statuschange
...
Project agent status into chrome.storage via a statuschange listener
instead of pairing setup/teardown across lifecycle hooks. A throwing hook
can no longer leak the heartbeat or strand isAgentRunning, and rejected
concurrent execute() calls never touch the active run's state.
2026-06-11 19:15:48 +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
akinshaywai
f55c1b984b
chore: remove debug console.log statements from production code
...
Three debug logs left in production paths:
- useAgent.ts: logs task string on every agent execution
- HeroSection.tsx: logs getPageInstructions url/hint on every page visit
- HeroSection.tsx: logs the full execute() result to the console
None of these are error-level events and they leak internal details
to the browser console in production builds.
2026-04-24 01:49:22 +01:00
Simon
5809fe3249
refactor(setup): consolidate prettier config and streamline CI
...
- Replace scattered .prettierignore files with a single root config
- Add scripts/ci.js to orchestrate lint, format, typecheck, commitlint, and build
- Simplify ci.yml to use ci.js and npm ci
- Apply prettier formatting to docs, locales, and HTML files
2026-04-16 17:04:23 +08:00
Simon
4d27d49752
refactor(setup): upgrade to TypeScript 6 with source-first monorepo resolution
2026-04-12 02:04:21 +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
7e9027167d
feat(controller): add keepSemanticTags config to keep the semantic structure of the page
2026-04-03 19:01:54 +08:00
Simon
0402a6be03
fix(tabs): error message typo
2026-03-31 21:04:53 +08:00
Simon
1eef785a61
fix(ext): tabs deduplication
2026-03-30 22:18:55 +08:00
Simon
49b137981c
fix(ext): tab events do not work for content scripts
2026-03-30 21:40:16 +08:00
Simon
cad033d63b
feat(ext): add experimentalIncludeAllTabs UI
2026-03-30 20:25:04 +08:00
Simon
312952ec41
fix(ext): multi window errors
2026-03-30 20:24:24 +08:00
Simon
52edd78cd4
chore(ext): improve debug logging
2026-03-30 19:48:52 +08:00
Simon
e1fede1194
feat(ext): option to control all tabs
2026-03-27 20:18:13 +08:00
Simon
66a85c0dd3
feat: option to disable named tool choice
2026-03-20 17:40:16 +08:00
Simon
fe82b11285
feat: AK optional
2026-03-19 19:50:05 +08:00
Simon
628c249d45
fix(ext): init without initialTab throws error
2026-03-18 19:36:02 +08:00
Simon
aae6c93f11
fix(ext): useAgent execute return result
2026-03-18 01:55:09 +08:00
Simon
48fede38fd
feat(ext): initialTab should be in controlled group; rm windowId; rm gray color
2026-03-16 20:51:32 +08:00
Wen
11d3ca3d6e
fix: typos and grammar in system prompts and source code
2026-03-13 01:32:34 +00:00
Simon
3dc9edb8b5
fix(ext): ts types
2026-03-06 17:39:09 +08:00
Simon
7a97de2a37
feat(ext): expose more config
2026-03-05 20:34:55 +08:00
Simon
53db2069ce
feat: zod support v3/4
2026-03-05 19:13:18 +08:00
Simon
07b4dc32f7
feat: add legacy endpoint migration and testing endpoint notice
2026-02-27 17:50:10 +08:00
Simon
89c83f454d
feat: update terms and default llm endpoint
2026-02-27 17:09:54 +08:00
Simon
7f67463a24
Merge branch 'main' into feat/free-qwen-by-default
2026-02-27 15:51:19 +08:00
Simon
22fe448d95
refactor: unify zod imports
2026-02-25 16:18:56 +08:00
Simon
2b99620de3
feat: add qwen3.5-plus for testing and make it default
2026-02-24 00:59:42 +08:00
Simon
b89228693d
feat(ext): add lang setting
2026-02-14 16:10:46 +08:00
Simon
dffcb53db9
feat!: Refine lifecycle hooks; fix abortSignal
...
- add `stop` method. agent can be reused after stopped
- agent can not be reused after disposed
- extension DO NOT exposes `dispose` anymore. only `stop`.
- update panel for new `stop` method
- fix MultiPageAgent dispose event
- better handling abortSignal
2026-02-13 17:57:12 +08:00
Simon
7c87c90258
fix(ext): fix multi-thread logic; extensive logging and error handling
2026-02-11 19:51:19 +08:00
Simon
fcb9ec4e57
chore: clean up
2026-02-11 19:27:14 +08:00
Simon
c71ffcec1c
refactor(ext): tidy up background code
2026-02-10 21:59:58 +08:00
Simon
1517bc4868
feat: prune prompts
2026-02-09 21:04:39 +08:00
Simon
6f0ff1fd33
refactor: zod tree-shaking; better error handling in agent steps
2026-02-09 17:49:10 +08:00
Simon
d00a8dcc21
feat: improve prompt; update model list
2026-02-09 15:50:20 +08:00
Simon
9bd4a47d35
feat(ext): add includeInitialTab option; change main world API
2026-02-04 19:22:06 +08:00
Simon
9ba95e96b6
feat(ext): detect user lang
2026-02-02 19:29:30 +08:00
Simon
4459026297
feat: set default lang to english; fix ext lang setting
2026-02-02 19:17:15 +08:00
Simon
15ea488719
fix(ext): save config to storage
2026-02-02 18:48:16 +08:00
Simon
d8ec4cf1ab
feat: better action key in prompt example
2026-02-02 13:39:04 +08:00
Simon
5cfaa292d3
feat(ext): add agent heart beat check
2026-01-29 19:21:57 +08:00
Simon
4e87940127
fix(ext): update message handlers
...
> If multiple listeners are registered for onMessage,
> only the first listener to respond, reject, or throw
> an error will affect the sender; all other listeners
> will run, but their results will be ignored.
2026-01-29 18:37:42 +08:00