Skip to content

Cli implementation#97

Merged
developersdigest merged 2 commits intomainfrom
cli-implementation
Apr 15, 2026
Merged

Cli implementation#97
developersdigest merged 2 commits intomainfrom
cli-implementation

Conversation

@developersdigest
Copy link
Copy Markdown
Member

No description provided.

Replaces the `npx firecrawl-agent-cli` delegator with an in-process
scaffolder vendored from firecrawl/firecrawl-agent. No separate npm
package for the agent CLI — the root firecrawl-cli clones the public
agent repo at runtime to fetch templates + agent-core.

- Vendor under src/utils/agent-scaffold/ (manifest, scaffold,
  credentials, ui, create-flow). Upstream-tracked; keep in sync.
- manifest.ts: strip the "bundled next to CLI" branch (doesn't apply
  here), always clone the public repo. Nested-manifest fallback
  handles the current `.internal/cli/agent-manifest.json` location.
- Extract handleCreate from upstream init.ts; drop the commander
  wrapper since the root CLI owns the command surface.
- create.ts now lazy-imports the scaffolder so non-create paths stay
  snappy.

Smoke-tested end-to-end against a local agent repo via --from: next
template scaffolds correctly with agent-core, .env.local, and
expected file layout.
@developersdigest developersdigest merged commit ffb0e9e into main Apr 15, 2026
4 checks passed
@developersdigest developersdigest deleted the cli-implementation branch April 15, 2026 17:59
@developersdigest developersdigest restored the cli-implementation branch April 15, 2026 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant