Commit Graph

12 Commits

Author SHA1 Message Date
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
e1fede1194 feat(ext): option to control all tabs 2026-03-27 20:18:13 +08:00
Simon
fe82b11285 feat: AK optional 2026-03-19 19:50:05 +08:00
Simon
a74b7542ba feat: extension use the same version as packages 2026-03-12 00:37:43 +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
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
b767f10a85 feat(ext): extending execute api 2026-01-29 22:26:31 +08:00
Simon
f67ec5a2c2 feat(ext): require llmConfig when calling from main world 2026-01-28 20:28:21 +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