Simon
cbe223dac5
fix(core): auto-wrap primitive action input in normalizeResponse
...
Small models sometimes output single-field tool args as primitives
(e.g. {"click_element_by_index": 2} instead of {"index": 2}).
normalizeResponse now accepts an optional tools map and wraps
such values using the tool schema. Renamed invoke tools to macroTool.
2026-02-25 17:01:45 +08:00
Simon
22fe448d95
refactor: unify zod imports
2026-02-25 16:18:56 +08:00
Simon
b89228693d
feat(ext): add lang setting
2026-02-14 16:10:46 +08:00
Simon
3e7851849f
chore(version): bump version to 1.3.0
2026-02-13 18:50:32 +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
20e947a1c1
chore(version): bump version to 1.2.0
2026-02-11 20:09:23 +08:00
Simon
fcb9ec4e57
chore: clean up
2026-02-11 19:27:14 +08:00
Simon
1fcf931685
feat(core): add a observe phase in a step; improve abortSignal
2026-02-10 22:20:42 +08:00
Simon
6f0655478a
fix(core): remove trimLines to fix indentation lost
2026-02-10 16:30:03 +08:00
Simon
7d5449967b
feat(core): improve observation logic; mark states as private
2026-02-10 16:28:25 +08:00
Simon
fd47888d1b
chore(core): tidy up PageAgentCore members
2026-02-10 15:45:04 +08:00
Simon
10f470ce7d
chore: improve package.json
2026-02-10 15:28:50 +08:00
Simon
840162df8c
feat: change observation timing
2026-02-09 21:05:29 +08:00
Simon
1517bc4868
feat: prune prompts
2026-02-09 21:04:39 +08:00
Simon
67f6a56a87
chore(version): bump version to 1.1.2
2026-02-09 17:50:34 +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
4459026297
feat: set default lang to english; fix ext lang setting
2026-02-02 19:17:15 +08:00
Simon
5b2a11c0b2
chore(version): bump version to 1.1.0
2026-02-02 17:28:40 +08:00
Simon
d8ec4cf1ab
feat: better action key in prompt example
2026-02-02 13:39:04 +08:00
Simon
da440f63c3
chore(version): bump version to 1.0.1
2026-01-30 16:59:11 +08:00
Simon
8a03391c95
fix(core): change emitActivity to #emitActivity
2026-01-29 21:15:24 +08:00
Simon
ff75aebc20
feat(core): remove unused .disposed
2026-01-28 19:17:23 +08:00
Simon
94ae80ff6a
chore: move title line from Agent to PageController
2026-01-28 15:38:05 +08:00
Simon
501411b254
feat: improve date format and error message for llm
2026-01-28 15:24:08 +08:00
Simon
f6394a04b1
feat(core): add rawRequest in history for debug
2026-01-28 14:30:04 +08:00
Simon
60b401d86c
Merge branch 'main' into feat/ext
2026-01-22 20:22:01 +08:00
Simon
dad837e173
fix: don't retry or show AbortError; remove reason from dispose; don't clean history in dispose
2026-01-22 20:19:51 +08:00
Simon
efe1f33144
feat: add custom system prompt configuration
2026-01-22 17:21:10 +08:00
Simon
299a5b2075
chore(version): bump version to 1.0.0
2026-01-22 15:38:21 +08:00
Simon
785a2d194e
chore(version): bump version to 1.0.0-beta.5
2026-01-22 15:17:19 +08:00
Simon
391e70dca4
feat: update historical event types
2026-01-22 15:16:15 +08:00
Simon
3ffcd6482d
refactor: rename AgentStep to AgentStepEvent, ErrorEvent to AgentErrorEvent
2026-01-22 14:59:35 +08:00
Simon
6cbb4e99c4
chore(version): bump version to 1.0.0-beta.4
2026-01-21 18:55:07 +08:00
Simon
23ec4602c2
feat: export types from './types' in PageAgentCore
2026-01-21 17:26:31 +08:00
Simon
536e5076da
chore(version): bump version to 1.0.0-beta.3
2026-01-21 17:00:08 +08:00
Simon
81807e17ca
feat: add stepIndex to history events
2026-01-21 16:59:22 +08:00
Simon
897b919044
chore(version): bump version to 1.0.0-beta.2
2026-01-21 01:23:42 +08:00
Simon
22516dec74
feat: unify InvokeError; add rawResponse to historical ErrorEvent
2026-01-20 20:16:34 +08:00
Simon
1f8953c450
feat: add llm rawResponse to history
2026-01-20 19:56:40 +08:00
Simon
5c80f2b002
chore: prettier json indentation
2026-01-20 14:08:42 +08:00
Simon
28c128645e
chore(version): bump version to 1.0.0-beta.1
2026-01-19 20:51:37 +08:00
Simon
250cb47e44
fix: wait time second not ms
2026-01-19 20:50:50 +08:00
Simon
f83a4174cc
chore(version): bump version to 1.0.0-beta.0
2026-01-19 20:39:57 +08:00
Simon
334512210d
feat: improve lifecycle hooks API; wait a little after url change
2026-01-19 20:39:03 +08:00
Simon
80c93bd668
feat: expose maxSteps config
2026-01-19 20:11:53 +08:00
Simon
6d53f4cb44
chore(version): bump version to 0.3.0
2026-01-19 19:47:21 +08:00
Simon
b35489d6a5
chore(version): bump version to 0.3.0-beta.2
2026-01-19 19:41:57 +08:00
Simon
4b69a7ee00
chore(version): bump version to 0.3.0-beta.1
2026-01-19 19:35:27 +08:00
Simon
6a381dede1
chore(version): bump version to 0.3.0-beta
2026-01-19 19:31:45 +08:00