You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,20 @@ All notable changes to this project are documented in this file.
4
4
5
5
## [Unreleased]
6
6
7
+
### Breaking
8
+
- Removed root-level `--doctor`; diagnostics must now be invoked via `agent-fetch doctor`.
9
+
10
+
### Added
11
+
- Added `--format` for fetch output selection: `markdown` (default) or `jsonl`.
12
+
- Added token-efficient JSONL task payloads with `seq`, `url`, optional `resolved_url`, `resolved_mode`, `content`, optional `meta`, and per-task error rows.
13
+
- Added tests for JSONL batch writing, metadata extraction behavior, and safeguards for unknown front matter fields.
14
+
15
+
### Changed
16
+
- Changed metadata behavior in JSONL mode: `--meta` now emits structured `meta` fields instead of front matter injection in `content`.
17
+
- Changed CLI command routing to use an internal `web` command for fetch flags while preserving shorthand (`agent-fetch <url>`), so `doctor --help` no longer shows fetch options as global flags.
18
+
- Changed root help output to include a dedicated "DEFAULT WEB OPTIONS" section for shorthand discoverability from `agent-fetch -h`.
19
+
- Updated README (EN/ZH) and `skills/agent-fetch/SKILL.md` for `--format jsonl` and the new doctor command shape.
-`resolved_url`: emitted only when different from `url`
185
+
-`resolved_mode`: one of `markdown`, `static`, `browser`, `raw`
186
+
-`meta`: emitted only when `--meta=true` and metadata exists
187
+
168
188
## Agent Integration
169
189
170
190
This project ships a [SKILL.md](./skills/agent-fetch/SKILL.md) that can be used with coding agents that support skill files. Point your skill directory to `skills/agent-fetch` and the agent will be able to invoke `agent-fetch` when its built-in fetch capability is insufficient.
171
191
172
-
`agent-fetch` reads from the command line and writes Markdown to stdout, making it easy to integrate into any agent pipeline or shell-based tool call:
192
+
`agent-fetch` reads from the command line and writes results to stdout (`markdown` or `jsonl`), making it easy to integrate into any agent pipeline or shell-based tool call:
0 commit comments