Commit Graph

15 Commits

Author SHA1 Message Date
Nicolas c05b34af06 Nick: version 2026-03-23 17:03:34 -03:00
Nicolas 9befd6029a Nick: more workflows + interactive live view 2026-03-06 18:56:11 -08:00
Developers Digest f8613d89ae Bump SDK, update docs & fix live view URL
Upgrade @mendable/firecrawl-js to v4.15.3 and remove the local workspace override. Revise README examples to use the unified firecrawl CLI commands and expand workflow examples. Update browser launch handling to use .liveViewUrl (and adjust jq examples) instead of the previous interactiveLiveViewUrl fallback.
2026-03-06 20:29:23 -05:00
Developers Digest f2121bfe8c agent-workflow-poc 2026-03-01 12:06:40 -05:00
Developers Digest 67e4918d07 bump versions 2026-02-26 16:32:43 -05:00
Developers Digest 33f41bc022 Add dl command to map + scrape with options with app router style download organization 2026-02-19 17:58:08 -05:00
Nicolas 123fd6ed80 Nick: 2026-02-16 19:16:05 -08:00
Developers Digest cffb3104b0 Bump firecrawl-js; update browser execute behavior
Upgrade @mendable/firecrawl-js to 4.13.0-beta.3 and update CLI browser behavior. Change language handling to use 'node' (instead of 'js') and add automatic agent-browser prefixing for default commands; --python/--js now explicitly select Playwright modes. Improve session handling for bash execution by allowing a session ID to be resolved via the API if not stored locally, and rename TTL args mapping (ttlTotal -> ttl, ttlWithoutActivity -> activityTtl). Update help text and examples to reflect the new defaults.
2026-02-16 19:00:48 -05:00
Developers Digest 0f1e6545ec browser init 2026-02-13 13:01:08 -05:00
Abimael Martell 41927d7bd4 Implement agent command (#22)
* Add agent command for AI-powered web data extraction

Implement the agent endpoint that allows users to extract data from the web
using natural language prompts. Supports structured output via JSON schemas,
URL targeting, credit limits, and async job handling with polling.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Add --model option to agent command

Support selecting between fire-1 (default) and fire-1-mini (faster, cheaper)
models for agent extraction tasks.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Update firecrawl-js SDK to 4.12.0 with model support

- Upgrade @mendable/firecrawl-js from 4.10.0 to 4.12.0
- Update model types to match SDK: spark-1-mini and spark-1-pro

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Add spinner animation for agent command

- Add spinner utility for CLI feedback
- Show animated spinner while agent is starting and processing
- Display success/fail indicators when complete
- Remove --progress flag (spinner now always shown)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Handle Ctrl+C gracefully in agent command

When user interrupts with Ctrl+C while waiting for agent completion,
show helpful message with the command to check job status later.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Allow --wait when checking agent job status

Now you can use `firecrawl agent <job-id> --wait` to continuously
poll an existing job until it completes, with the same spinner
animation and Ctrl+C handling.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Improve error handling in agent command

- Stop spinner before showing error messages
- Extract detailed error messages from API responses
- Show full error details to help debug issues

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Extract error details from Firecrawl SDK errors

Show helpful error messages like "Invalid option: expected one of
spark-1-pro|spark-1-mini" instead of just "Bad Request".

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Validate model option before API call

Show clear error message for invalid models instead of waiting
for API rejection.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* add agent to skill

* only command for now

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 16:36:14 -08:00
Abimael Martell f9a73515e6 update vitest 2026-01-08 12:22:11 -08:00
Abimael Martell 2cde0aceb0 Add tests (#2)
* Add tests

* fix readme
2026-01-08 11:52:06 -08:00
Abimael Martell 283404c2dc Add CI Workflow and Code Formatting (#1)
* Add CI Workflow and Code Formatting

* update lockfile

* deprecation notice

* update formatting rule
2026-01-08 11:35:00 -08:00
Abimael Martell 30ec5fe79e add implementation 2026-01-02 11:20:40 -08:00
Abimael Martell e504174474 initial commit 2026-01-02 11:03:49 -08:00