183 Commits

Author SHA1 Message Date
Karan Lokchandani c0560791de chore(developer): call /v2/search/developer and correct the result default
The developer command called /v2/developer/search. That mount rejects a
keyless caller, so keyless developer search never reached the index. It
is also the path that may be withdrawn. Call /v2/search/developer, the
public path, which accepts a keyless caller.

The API returns 10 results by default, not 20. Correct the help text and
the README.
2026-08-05 02:13:16 +05:30
Karan Lokchandani 80708e4e62 feat(cli): add --skills-only to the developer command
The gateway accepts a `skills` query param on GET /v2/developer/search
(firecrawl/firecrawl#4194): `skills=only` limits the search to
agent-skill files. `--skills-only` maps to that value. The param is
absent from the request when the flag is omitted.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01C4vZ6XH65bUJDkLthyfmvC
2026-08-04 02:29:48 +05:30
Karan Lokchandani c5eaa68de3 feat(cli): add the developer command
The developer index now has two surfaces, the same as research: the
`developer` category on `firecrawl search`, and a dedicated command.

The command mirrors the research commands. It calls GET
/v2/developer/search, keeps the keyless free-tier path, and renders the
ranked hits as markdown blocks with the passages clipped at 1200
characters; `--json` keeps the full envelope. It takes a query and
`--limit` only; the endpoint accepts no filters, and that narrow
surface is deliberate.

New tests cover the request URL, the readable and JSON output, and the
error path. Two argv tests prove the command appears in the root help
and parses, so a wrapper cannot drop it the way `executeSearch` once
dropped the category group.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01C4vZ6XH65bUJDkLthyfmvC
2026-07-31 21:23:15 +05:30
Karan Lokchandani 850f41c260 feat(cli): add the developer category to search
`firecrawl search <query> --categories developer` searches an index built
for coding agents: GitHub issues, merged pull requests, repository
READMEs, and curated documentation sites.

The API already served the category. The CLI rejected the value, and
`executeSearch` copied only `web`, `images`, and `news` out of the
payload. A developer group therefore never reached the caller.

The category is an extra arm, not a filter on the web results, so the API
returns its hits in `data.developer`. The command copies that group
through, prints it under its own heading, and labels the web group when
both are present.

A matched passage runs to several KB. The readable output clips it at 500
characters and names `--json`, which keeps the full text. Without the
clip, three hits flood a terminal.
2026-07-31 19:12:43 +05:30
Himadri Mishra b737ae7c02 fix(cli): harden init MCP installer
* fix(cli): harden init MCP installer

* fix(cli): keep init MCP setup usable without exposing keys
2026-07-28 00:50:44 +05:30
hmishra2250 a28bb1b71f refactor(cli): remove raw MCP header fallback 2026-07-21 19:38:06 +05:30
hmishra2250 768570f1a6 fix(cli): keep Hermes credentials indirect 2026-07-21 18:38:18 +05:30
hmishra2250 b2b9efaa9a fix(cli): keep hosted MCP credentials indirect across clients 2026-07-21 17:23:35 +05:30
hmishra2250 c7c6714ee5 Merge remote-tracking branch 'origin/main' into review/pr155-minimal 2026-07-21 17:22:36 +05:30
mogery c1994d143f feat(cli): add search highlights option 2026-07-20 13:03:41 +02:00
hmishra2250 9e0de16062 fix: secure hosted MCP credential setup 2026-07-12 05:09:07 +05:30
Himadri Mishra 5cf5c926d3 revert: remove managed MCP router cards (#153) 2026-07-12 02:28:13 +05:30
Himadri Mishra f7ce029608 feat: deliver managed MCP router cards (#152) 2026-07-12 02:17:50 +05:30
Developers Digest f5a25adb03 Update init.ts 2026-07-07 11:04:51 -04:00
Developers Digest b6ea510299 Scope setup/install to a single harness
Add support for scoping init/setup to a single agent/harness. README documents one-shot usage. scripts/install.sh forwards installer args to `firecrawl init` (non-interactive) and runs `init --yes` when piped. init.ts: add interactive harness picker, detectInstalledAgentNames, and installRepoAcrossAgents to allow routing skills/workflows to a subset of detected agents or a single --agent. skills-native.ts: canonicalize per-agent global skills dirs (fixes several agent paths), add detectInstalledAgentNames helper. This enables one-shot, non-interactive, and interactive per-harness installs.
2026-07-06 19:10:19 -04:00
mogery 7662479fe9 fix(research): send integration=cli on research endpoints
Research commands bypassed the SDK's typed methods and never set
integration, so requests were logged with integration=NULL. Append
integration=cli as a query param in getResearch, covering all five
subcommands in both keyed and keyless modes. Bump to 1.19.24.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BJ3prpziToFecBhLGRiX6t
2026-07-03 18:47:53 +02:00
Developers Digest ac90d047aa Support conditional implicit stdin for monitor command
Allow monitor create/update to only read piped stdin when flags can't build a payload. Added allowImplicitStdin option to readJsonPayload and exported helpers hasCreateFlagPayload / hasUpdateFlagPayload to detect when flags are sufficient. Updated command actions to pass the allowImplicitStdin flag and extended tests to cover the stdin payload policy. Also bumped package version to 1.19.23.
2026-06-30 22:05:40 -04:00
Developers Digest c34da18f6c Clarify monitor target modes + link to dashboard on create
- monitor create --help: a 'Target modes' section distinguishing single page,
  URL batch, whole-site crawl, and web-search targets.
- On create, print the Cloud dashboard link + a run-now hint (interactive only,
  so pipes/--output stay clean).
- SKILL.md: a target-mode table so agents pick the right flags.
- Bump version to 1.19.21.
2026-06-26 17:00:19 -04:00
Developers Digest 4438803789 Merge remote-tracking branch 'origin/main' into search-monitor
# Conflicts:
#	package.json
2026-06-26 16:39:51 -04:00
Developers Digest a350605ffe Use 'web monitors' in error and test
Clarify messaging by changing references from 'search monitors' to 'web monitors'. Update the thrown error in buildCreateBody to "--goal is required for web monitors (--queries)" and adjust the corresponding unit test to expect the new wording. This makes it clearer that a goal is required when creating web monitors with queries (the API auto-enables the AI judge). Files modified: src/commands/monitor.ts, src/__tests__/commands/monitor.test.ts.
2026-06-26 15:50:32 -04:00
mogery 9232719018 fix(crawl): keep wait polling in seconds 2026-06-25 01:45:42 +02:00
Developers Digest ea9d0180ab feat(monitor): add search-target support to monitor create
Search monitors (type:"search") are implemented in the API but undocumented.
Add --queries/--search-window/--max-results/--include-domains/--exclude-domains
flags, build the search target in buildCreateBody, and require --goal for search
monitors (the API mandates a non-empty goal). Includes tests.
2026-06-24 14:30:37 -04:00
Developers Digest c984ea5ad3 Merge remote-tracking branch 'origin/main' into launch-commands
# Conflicts:
#	package.json
#	src/__tests__/commands/setup.test.ts
2026-06-19 16:01:21 -04:00
Developers Digest 14cac37c99 Support native skills install and setup mode
Add native skills installation support and an interactive setup picker for launch flow. Introduces nativeSkills and quiet options, colorized/condensed output, and status summaries from the native installer (skills-native.ts). The launch command can now prompt to install MCP, skills, or both, and passes ALL_SKILL_REPOS to the skills installer; MCP/skills installs now run with quiet/native flags by default when appropriate (launch.ts, setup.ts). Tests updated to mock inquirer select, handle TTY changes, and assert the new behavior. Also remove the implicit default for the --yes launch option in the CLI (index.ts).
2026-06-19 15:55:53 -04:00
Developers Digest dd3c9a5ad0 Update init.ts 2026-06-19 13:31:42 -04:00
Developers Digest d239d22b60 fix update-notice test for colorized output
The notice wraps "Update available!" in ANSI codes on a TTY, so the
contiguous substring assertion failed in CI. Assert on the version
portion that survives colorization instead.

Claude-Session: https://claude.ai/code/session_016Szz5ZgWNULKbvNGqt8sdm
2026-06-19 12:05:23 -04:00
Developers Digest 792e637330 Merge remote-tracking branch 'origin/main' into check-for-updates 2026-06-19 11:59:52 -04:00
Developers Digest 911070a543 add make default web setup 2026-06-19 11:55:08 -04:00
Developers Digest 9d087b938a Add skillsAgent field and update launch tests
Add a skillsAgent property to several LaunchTarget entries (claude-code, codex, codex-app, opencode) so the launcher can associate skill installation with the correct agent. Update unit tests to assert installSkillsForAgent is called (or not called) where appropriate and add a test to verify skipping skills for opencode. Adjusted expectations/counts in existing tests to reflect the new behavior.
2026-06-19 11:39:56 -04:00
Developers Digest a449a16a32 Add Hermes/OpenClaw MCP & skills support
Bump CLI version and add YAML dependency; implement native MCP installers for Hermes and OpenClaw and a hosted Firecrawl MCP URL. Normalize agent aliases and extend setup/installMcp to handle special launchers (hermes, openclaw, and --agent all) and to invoke add-mcp with the hosted MCP URL and transport option. Add functions to write Hermes config and configure OpenClaw via its CLI, and add installSkillsForAgent helper. Extend launch command to recognize hermes/openclaw targets, run their MCP installers, optionally install skills (new --skip-skills flag), and launch with correct args. Update command help text and expand tests to cover these new behaviors.
2026-06-19 11:27:57 -04:00
Developers Digest ed51107e5d Add Codex App target and extra-args validation
Introduce a separate "Codex App" launch target (aliases: codex-app, codex-desktop, codex-gui) that uses the system "open" command with a macOS fallback (-a Codex). Add a supportsExtraArgs flag and make resolveLaunchCommand throw when extra arguments are passed to targets that don't accept them. Update CLI help to mention codex-app and add tests to verify MCP configuration, app launch behavior, and the error when extra args are provided.
2026-06-19 11:08:41 -04:00
Developers Digest b4da10dfc4 Make setup command optional with bundle installer
Allow `firecrawl setup` to be run without a subcommand and provide an interactive or non-interactive bundle installer. Added handleSetupBundle and pickSetupIntegrations to prompt for or auto-select integrations (defaults to skills + MCP with --yes), and route each selection back through handleSetupCommand. In non-interactive mode without --yes, the command now errors asking for a subcommand. Updated CLI to accept an optional [subcommand] and adjusted help text. Tests updated to cover the --yes bundle install and the non-interactive requirement. Also introduced a SetupIntegration type alias and ensure bundle installs default to global when not specified.
2026-06-19 11:05:56 -04:00
Developers Digest c0606d0eff Add interactive target picker for launch command
Introduce an interactive picker for the `launch` command when no agent argument is provided, and require an explicit target in non-interactive mode. Adds helper functions (promptInput, pickLaunchTarget, supportedTargets), makes targetName optional in handleLaunchCommand, and validates that extraArgs cannot be provided without an explicit target. Also adds a `launcher` alias for the command and updates error messages. Tests updated to cover the non-interactive error case.
2026-06-19 10:46:31 -04:00
Developers Digest 297ab1c5a7 Add launch command and improve MCP installer
Introduce a new launch command to configure Firecrawl MCP and start common AI agents/editors (src/commands/launch.ts) with support for aliases, fallbacks, extra args, and a skipMcp option. Wire the command into the CLI (src/index.ts) and add unit tests for launch behavior (src/__tests__/commands/launch.test.ts).

Export and enhance installMcp in setup: add shell quoting, include -y for nested npx, honor the --yes flag, read API URL from config and pass FIRECRAWL_API_URL as an env when present, and export installMcp for reuse (src/commands/setup.ts). Update setup tests to mock and verify config/apiKey behavior (src/__tests__/commands/setup.test.ts).
2026-06-19 10:32:40 -04:00
mogery 928fbbff7d feat: add research CLI commands 2026-06-16 08:47:37 -07:00
mogery d276001a45 Support keyless parse 2026-06-16 08:44:08 -07:00
mogery 2fdc873af6 chore: updates 2026-06-15 15:07:38 -07:00
Abimael Martell cb009428ab feat(cli): add generic feedback command (#135)
* feat(cli): add generic feedback command

* chore: bump version to 1.19.7

* chore: bump version to 1.19.8

* feat(cli): add endpoint feedback opt-out

* chore: bump version to 1.19.9

* chore: bump version to 1.19.10
2026-06-15 14:33:07 -07:00
mogery dbac54238a chore: updates 2026-06-15 14:25:03 -07:00
mogery fb478ad145 fix: allow interact without an API key 2026-06-15 14:14:41 -07:00
mogery d2da1c874e chore: updates 2026-06-15 09:34:38 -07:00
Developers Digest 961047a950 hide default web hint on final screen when already handled interactively 2026-06-09 13:02:59 -04:00
Developers Digest 8dc2521d49 move default web provider to a dedicated init step before final screen 2026-06-09 13:02:00 -04:00
Developers Digest 7a000c9a4b add default web provider step to init wizard with per-harness picker 2026-06-09 12:59:22 -04:00
Developers Digest cd68791898 Merge remote-tracking branch 'origin/main' into disable-config
# Conflicts:
#	package.json
2026-06-09 12:53:17 -04:00
Developers Digest df37ecc62d wire up setup defaults and add interactive per-harness control 2026-06-09 12:41:48 -04:00
Abimael Martell db25ace348 fix(cli): handle wrapper argv parsing (#129)
* fix(cli): handle wrapper argv parsing

* repro(cli): remove argv parsing fix

* Revert "repro(cli): remove argv parsing fix"

This reverts commit 4000f947e7.

* ci: matrix npm package smoke test

* ci: use portable npm package smoke command

* chore: bump version to 1.19.2
2026-06-08 10:31:21 -07:00
Developers Digest 8e5ac9a55c Update setup.ts 2026-06-05 18:25:23 -04:00
Developers Digest 875f721dd6 harden web defaults config edits 2026-06-04 11:09:57 -04:00
Developers Digest eb12c048d5 add firecrawl web defaults setup 2026-06-04 11:00:21 -04:00