Skip to content

Commit bc2c6d9

Browse files
Switch agent scaffold to web-agent repo
Update vendored scaffold references and default remote to use firecrawl/web-agent. Adjusted header comments in create.ts, create-flow.ts, credentials.ts, manifest.ts, scaffold.ts, and ui.ts, and changed DEFAULT_REMOTE in manifest.ts from 'firecrawl/firecrawl-agent' to 'firecrawl/web-agent' so the scaffolder clones the web-agent repo for templates.
1 parent e55c2a2 commit bc2c6d9

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/commands/create.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Hidden from --help until the flow is battle-tested in the wild. The
55
* scaffolder is vendored under `src/utils/agent-scaffold/` (mirrored from
6-
* `firecrawl/firecrawl-agent`). At runtime it clones the public agent repo
6+
* `firecrawl/web-agent`). At runtime it clones the public agent repo
77
* to get templates — no separate npm package for the agent CLI.
88
*
99
* Once visible, the command tree will grow to include additional kinds

src/utils/agent-scaffold/create-flow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Vendored from firecrawl/firecrawl-agent:.internal/cli/src/commands/init.ts
2+
* Vendored from firecrawl/web-agent:.internal/cli/src/commands/init.ts
33
*
44
* This is the interactive-to-non-interactive create flow. The original file
55
* also exposed a `createInitCommand` commander builder — we drop that here

src/utils/agent-scaffold/credentials.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Vendored from firecrawl/firecrawl-agent:.internal/cli/src/utils/credentials.ts
2+
* Vendored from firecrawl/web-agent:.internal/cli/src/utils/credentials.ts
33
*
44
* Resolves the Firecrawl API key from env or the shared `firecrawl-cli` config
55
* directory. Same path as the root CLI's own credentials store (that's the

src/utils/agent-scaffold/manifest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Vendored from firecrawl/firecrawl-agent:.internal/cli/src/utils/manifest.ts
2+
* Vendored from firecrawl/web-agent:.internal/cli/src/utils/manifest.ts
33
*
44
* Divergence from upstream: removed the "look for agent-manifest.json next to
55
* the bundled CLI" branch — when this code runs inside the root firecrawl-cli
@@ -50,7 +50,7 @@ export interface Manifest {
5050
let cached: Manifest | null = null;
5151
let cachedSourceRoot: string | null = null;
5252

53-
const DEFAULT_REMOTE = 'firecrawl/firecrawl-agent';
53+
const DEFAULT_REMOTE = 'firecrawl/web-agent';
5454

5555
export function loadManifest(): Manifest {
5656
if (cached) return cached;

src/utils/agent-scaffold/scaffold.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Vendored from firecrawl/firecrawl-agent:.internal/cli/src/utils/scaffold.ts
2+
* Vendored from firecrawl/web-agent:.internal/cli/src/utils/scaffold.ts
33
* Copies templates from the cloned agent repo into the user's project dir,
44
* then merges agent-core deps and writes .env. No divergence from upstream
55
* — keep in sync if upstream changes scaffolding behavior.

src/utils/agent-scaffold/ui.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Vendored from firecrawl/firecrawl-agent:.internal/cli/src/utils/ui.ts
2+
* Vendored from firecrawl/web-agent:.internal/cli/src/utils/ui.ts
33
* Keep in sync if upstream changes — this file intentionally mirrors the
44
* agent repo's CLI output style so scaffold messages match docs verbatim.
55
*/

0 commit comments

Comments
 (0)