Commit Graph

135 Commits

Author SHA1 Message Date
Developers Digest 45e1f058f5 Create init.ts 2026-02-18 11:34:43 -05:00
Developers Digest 708768643f Add printError helper and use across CLI
Introduce a centralized printError() in utils/output to standardize error logging and append an upgrade hint for 402/insufficient-credit errors. Replace console.error usages in command handlers (browser, agent, crawl, credit-usage, map, search, main, and scrape output) to call printError (some via dynamic import to avoid cycles). Export openBrowser from utils/auth and add a new upgrade command (src/commands/upgrade.ts) that opens the Firecrawl pricing page.
2026-02-18 11:28:03 -05:00
Developers Digest b2da808cb8 Merge pull request #37 from firecrawl/security/soften-skill-language
update install instructions
2026-02-18 09:18:07 -05:00
Developers Digest 0037b13a61 update install instructions 2026-02-18 09:17:27 -05:00
Nicolas 445f405bc2 Update install.md 2026-02-17 19:47:55 -08:00
Nicolas be5c2c9c2a Update install.md 2026-02-17 19:44:46 -08:00
Leonardo Grigorio 0a39858edd Update plugin.json 2026-02-18 00:07:45 -03:00
Leonardo Grigorio 639a6b0d4a Bump plugin version and update CLI docs
Bump firecrawl plugin version to 1.0.5 and expand the firecrawl-cli documentation. Clarifies that `search --scrape` already retrieves full page content (so avoid redundant scraping), adds a research-task example, warns against re-scraping URLs or using `--html` to re-extract metadata, and emphasizes reading existing scraped files before fetching more data. Changes in .claude-plugin/plugin.json and skills/firecrawl-cli/SKILL.md.
2026-02-17 22:22:07 -03:00
Leonardo Grigorio 07493d65b1 Update plugin.json 2026-02-17 18:39:27 -03:00
Leonardo Grigorio a16b2ec37b Merge pull request #36 from firecrawl/simplify-sync-workflow
Simplify sync: only trigger on version bump
2026-02-17 18:36:31 -03:00
Leonardo Grigorio 9ee4948272 Simplify sync workflow: only trigger on version bump
Instead of auto-bumping on every skill change, the workflow now only
triggers when plugin.json version is explicitly changed. The CLI repo
is the source of truth for versioning.
2026-02-17 18:35:21 -03:00
Leonardo Grigorio 39c8f0c1d5 Merge pull request #35 from firecrawl/add-plugin-sync-workflow
Add auto-sync workflow for Claude plugin repo
2026-02-17 18:31:18 -03:00
Leonardo Grigorio fc6d6cfa91 Add auto-sync workflow for claude plugin repo
- Add sync-plugin.yml workflow that triggers on changes to skills/ or
  .claude-plugin/ on main, copies files to firecrawl-claude-plugin,
  bumps the patch version, and opens a PR
- Update plugin.json version to 1.0.3 to match the plugin repo
2026-02-17 18:22:54 -03:00
Leonardo Grigorio 48fdadf1d0 Merge pull request #34 from firecrawl/leo/skill-update-browser
Update SKILL.md
2026-02-17 18:18:50 -03:00
Leonardo Grigorio c5567fd603 Update SKILL.md 2026-02-17 18:18:35 -03:00
Developers Digest 498b5a0dc3 Merge pull request #33 from firecrawl/browser-updates
Update browser.ts
2026-02-17 13:31:50 -05:00
Developers Digest c1e0f007a2 update package 2026-02-17 13:31:39 -05:00
Developers Digest 68ec055d40 Update browser.ts 2026-02-17 13:29:11 -05:00
Developers Digest e3e7b473fe Merge pull request #32 from firecrawl/browser-updates
Update SKILL.md
2026-02-17 10:16:53 -05:00
Developers Digest fc73df06e4 Update SKILL.md 2026-02-17 10:16:33 -05:00
Developers Digest de10003a85 Merge pull request #31 from firecrawl/browser-updates
update skill with shorthand
2026-02-17 09:40:28 -05:00
Developers Digest 225a471db6 update skill with shorthand 2026-02-17 08:45:45 -05:00
Nicolas 05f28c18c3 Update README.md 2026-02-16 19:26:09 -08:00
Nicolas 03d66babe7 Merge pull request #30 from firecrawl/browser
b
2026-02-16 19:17:11 -08:00
Nicolas 123fd6ed80 Nick: 2026-02-16 19:16:05 -08:00
Developers Digest 8607afccf7 Merge branch 'browser' of https://github.com/firecrawl/cli into browser 2026-02-16 21:06:29 -05:00
Developers Digest dc07be1be8 Add browser quick-execute and CLI shorthand
Introduce handleBrowserQuickExecute to auto-launch a browser session if none exists, save the session, print session info to stderr, auto-prefix commands with "agent-browser", and delegate execution to the existing execute handler. Wire a positional [code] argument and options into the browser CLI to support the one-step shorthand (launch+execute), and rename the existing "launch" subcommand to "launch-session" while updating help/examples. Tests were added to cover quick-execute behavior (skips launch when a session exists; auto-launches and saves when not).
2026-02-16 21:06:20 -05:00
Nicolas 4299b5da1a Update SKILL.md 2026-02-16 17:30:00 -08:00
Developers Digest ab49da2c21 docs: update CLI docs for v1.4.0 2026-02-16 20:20:51 -05: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 fe33c8a731 Add agent-browser bash mode docs
Add documentation and CLI help updates to document the new bash/agent-browser workflow. skills/firecrawl-cli/SKILL.md: introduce a Bash Mode section with recommended agent-browser usage, example commands, and a core command table; clarify that agent-browser is pre-installed in sandboxes. src/index.ts: update the browser command help text and examples to highlight agent-browser usage, streamline examples, and update the --bash option description to indicate agent-browser and CDP_URL injection. These changes make it easier for AI agents and users to run browser interactions via pre-installed agent-browser tooling.
2026-02-16 12:09:50 -05:00
Developers Digest 07a69957ae Support positional status for browser list
Make the browser list command accept an optional positional status argument (active|destroyed) instead of the --status option. Validate the status value and exit with an error for invalid inputs, and pass the status through to handleBrowserList. Update help text/examples to show `firecrawl browser list active` and `firecrawl browser list destroyed`. Also update SKILL.md to clarify listing all sessions and add a separate example for listing active sessions.
2026-02-16 11:58:29 -05:00
Developers Digest 1a4144abd0 Remove --pretty flag and add list --status
Remove the deprecated --pretty CLI flag and related handling throughout browser commands. When --json is used, output is now always pretty-printed (JSON.stringify(..., 2)). Add a --status option to the browser list command and pass it into listBrowsers to filter sessions by status. Clean up minor checks (e.g. liveViewUrl access) and update help examples to reflect the removed --pretty flag.
2026-02-16 11:44:02 -05:00
Developers Digest a634cc3a2c Shorten CLI descriptions and reformat help 2026-02-16 09:22:51 -05:00
Developers Digest 4c0ac338c4 improve --help 2026-02-13 15:49:49 -05:00
Developers Digest 0f1e6545ec browser init 2026-02-13 13:01:08 -05:00
Abimael Martell f2f2789625 feat(scrape): Implement location settings for scrapes (#29) 2026-02-12 15:15:31 -08:00
Abimael Martell 23276161b9 feat(scrape) Add summary format shortcut (#28) 2026-02-11 13:25:03 -08:00
Leonardo Grigorio 8106372df4 Update install.md 2026-02-10 18:05:32 -03:00
Abimael Martell e0e0a7efdc Bump version to 1.3.1 2026-02-06 23:09:52 -08:00
Abimael Martell 60aa8f6154 feat(scrape): Add --max-age option to Scrape (#26)
* feat(scrape): Add --max-age option to Scrape

* update comment

* update doc

* update doc
2026-02-06 23:09:23 -08:00
Abimael Martell 5a84508a9a Bump version from 1.2.2 to 1.3.0
- Add agent support to cli
- Add agent documentation
2026-02-03 16:41:04 -08:00
Abimael Martell 5948945fd1 add agent docs 2026-02-03 16:39:47 -08: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
Developers Digest 009d6cda6a bump version 2026-02-03 13:59:44 -05:00
Developers Digest cd012d38c6 Add gitignore status checks 2026-02-03 13:52:33 -05:00
Developers Digest 37e2e6ae11 Merge pull request #21 from firecrawl/add-claude-plugin
add claude plugin
2026-01-30 18:06:05 -08:00
Developers Digest 0e71700b0d add claude plugin 2026-01-30 18:05:30 -08:00
Abimael Martell 5d17618ffa update repo on package.json 2026-01-30 17:31:50 -08:00
Abimael Martell 0d6c186cc0 update publish.yml 2026-01-30 17:27:33 -08:00