linked-danis
|
8b0acf314d
|
fix: validate URL in fetchLlmsTxt
Prevent crash on invalid URLs.
Changes:
- Wrap URL constructor in try/catch
- Return null for invalid URLs instead of throwing
|
2026-03-12 14:09:23 +01:00 |
|
linked-danis
|
f45f9d020e
|
feat: robust error handling and type safety
Add type-safe error helpers and remove 'as any' casts.
Changes:
- Add isAbortError() helper for checking abort signals
- Add getEventDetail() helper for CustomEvent extraction
- Fix variable naming in isRetryable() (isAborted vs isAbortError)
- Use proper instanceof checks instead of casting
- Add proper interface for normalized response data
- Type-safe tool execution error messages
|
2026-03-12 14:07:45 +01:00 |
|
Simon
|
121104e13d
|
feat: truncate llms.txt results
|
2026-03-05 16:59:08 +08:00 |
|
Simon
|
0dacbda9da
|
chore: improve logging
|
2026-03-05 16:54:41 +08:00 |
|
Simon
|
09bdf9ddaf
|
feat(core): experimental support for llms.txt (#157)
* feat(core): experimental support for llms.txt
* docs: experimentalLlmsTxt
|
2026-03-04 18:53:24 +08:00 |
|
Simon
|
fcb9ec4e57
|
chore: clean up
|
2026-02-11 19:27:14 +08:00 |
|
Simon
|
6f0655478a
|
fix(core): remove trimLines to fix indentation lost
|
2026-02-10 16:30:03 +08:00 |
|
Simon
|
6f0ff1fd33
|
refactor: zod tree-shaking; better error handling in agent steps
|
2026-02-09 17:49:10 +08:00 |
|
Simon
|
c9f049a733
|
refactor: rename page-agent to page-agent-core
|
2026-01-19 16:06:07 +08:00 |
|