Commit Graph

74 Commits

Author SHA1 Message Date
akinshaywai
90e1c297f4 style(ui): improve HistoryList loading/empty states and add button tooltips
- Replace plain 'Loading...' text in HistoryList with animated skeleton
  placeholder rows that match the shape of real history items
- Replace plain 'No history yet' text with a centred History icon +
  label for a more polished empty state
- Add aria-label and title to the Back button in HistoryList header
- Add aria-label and title to History and Settings buttons in main header
- Add aria-label and title to Send and Stop task buttons in footer
2026-04-16 15:56:57 +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
13d952dc9d fix(ext): guard postMessage listeners against iframe sources
Add `e.source !== window` check to both content script and main-world
script message handlers, preventing iframes from injecting or
intercepting extension bridge messages.
2026-04-02 18:53:59 +08:00
Simon
ec08b05da1 feat(ext): add systemInstruction to ExecuteConfig
Expose a serializable `systemInstruction` string field on the
page-facing ExecuteConfig, mapped to `instructions.system` when
creating MultiPageAgent. Functions cannot cross the postMessage
boundary, so this flat string field replaces the object form.

Closes #359
2026-04-02 16:34:57 +08:00
Simon
49b137981c fix(ext): tab events do not work for content scripts 2026-03-30 21:40:16 +08:00
Simon
e1fede1194 feat(ext): option to control all tabs 2026-03-27 20:18:13 +08:00
Simon
c35f367b39 feat(ext): style adjust; rm rerunDisabled 2026-03-20 16:36:23 +08:00
adonis
0bc47a997d feat(ext): rerun tasks from history 2026-03-19 23:54:08 +08:00
Simon
fe82b11285 feat: AK optional 2026-03-19 19:50:05 +08:00
Simon
252f550c04 style(ext): fix ai-motion overflow; wording; launcher info 2026-03-18 20:25:54 +08:00
Simon
61d598142d feat(ext): ask user approval for MCP task 2026-03-18 19:14:44 +08:00
Simon
cef39d5090 feat(mcp): MCP connector 2026-03-18 03:12:20 +08:00
Simon
3063b2a06d feat(ext): hub protocol 2026-03-18 02:59:28 +08:00
Simon
2f5476b76c refactor(ext): mv ui components for later reuse 2026-03-17 19:11:13 +08:00
Simon
67846db28f chore(ext): ui layout 2026-03-12 00:52:19 +08:00
Simon
a74b7542ba feat: extension use the same version as packages 2026-03-12 00:37:43 +08:00
Simon
80e2a93a8c feat: add button to clear saved configuration from the error boundary 2026-03-07 23:16:03 +08:00
Simon
a0c979602e feat: do not throw for webgl2 fail 2026-03-07 03:07:21 +08:00
Simon
7a97de2a37 feat(ext): expose more config 2026-03-05 20:34:55 +08:00
Simon
68d68182e2 feat(website): drop hash-based router 2026-02-27 19:46:44 +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
b89228693d feat(ext): add lang setting 2026-02-14 16:10:46 +08:00
Simon
66cc9e0a3c style: pretty up; fix extension shadcn 2026-02-14 15:12:45 +08:00
Simon
43b7c1b136 style(ext): make over 2026-02-13 19:09: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
c71ffcec1c refactor(ext): tidy up background code 2026-02-10 21:59:58 +08:00
Simon
430be466fc feat(ext): add chat history 2026-02-10 18:43:54 +08:00
Simon
9bd4a47d35 feat(ext): add includeInitialTab option; change main world API 2026-02-04 19:22:06 +08:00
Simon
71ca554108 feat(ext): use PAGE_AGENT_EXT namespace; add viber instructions 2026-02-03 19:09:37 +08:00
Simon
648a0c1bda feat(ext): expose ext meta data to main world 2026-02-03 16:39:24 +08:00
Simon
2b3bb8ab9e chore(ext): rm React.FormEvent 2026-02-03 13:18:03 +08:00
Simon
a834d37f28 fix(ext): inject versions 2026-02-02 21:11:23 +08:00
Simon
0c3be817c9 style(ext): attribution; dark mode 2026-02-02 21:07:31 +08:00
Simon
b8999fdb7c style(ext): improve config panel 2026-02-02 19:51:48 +08:00
Simon
98d3016395 style(ext): remove raw section from ResultCard 2026-02-02 19:16:07 +08:00
Simon
97cdb1e1cd docs: Add Custom UI doc 2026-01-30 14:58:33 +08:00
Simon
b767f10a85 feat(ext): extending execute api 2026-01-29 22:26:31 +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
Simon
b0e07d5180 feat(ext): monitor to tab change 2026-01-28 23:03:03 +08:00
Simon
f67ec5a2c2 feat(ext): require llmConfig when calling from main world 2026-01-28 20:28:21 +08:00
Simon
0f3ae38cb3 fix(ConfigPanel): correct auth token storage key 2026-01-28 20:19:16 +08:00
Simon
d6323f1488 feat(ext): improve token validation and error handling 2026-01-28 19:59:55 +08:00
Simon
ef2d115742 feat(ext): expose extension to main-world and auth with token 2026-01-28 19:47:15 +08:00
Simon
d7b17facb6 feat(ext): UI for debugging 2026-01-28 15:26:11 +08:00
Simon
c80de93d3b fix(ext): sw calling robust 2026-01-28 14:13:28 +08:00
Simon
77a771f0b6 chore(ext): react misc 2026-01-28 14:11:44 +08:00
Simon
55ffbb8f08 refactor(ext): improve folder structure 2026-01-28 13:15:34 +08:00