create-bk-agent 0.23.5 → 0.23.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,7 +1,5 @@
1
1
  # create-bk-agent
2
2
 
3
- > **Status: `stable`** — Maintained and production-ready. No new features during the pilot phase.
4
-
5
3
  CLI scaffolding tool for the BackendKit Labs agent framework. Generates a fully configured TypeScript agent project in seconds — choose your architecture, deployment mode, and LLM provider, and get a working project with all dependencies wired.
6
4
 
7
5
  ## Usage
@@ -154,7 +154,7 @@ function addNewVault(engineFile, vaultPath) {
154
154
  // ── Non-enterprise setup ──────────────────────────────────────────────────────
155
155
  function setupRagFromScratch(info, vaultPath) {
156
156
  console.log('\n📦 Installing @backendkit-labs/agent-enterprise ...');
157
- const added = (0, patcher_1.addPackageDependency)(info.pkgFile, '@backendkit-labs/agent-enterprise', '^0.1.0');
157
+ const added = (0, patcher_1.addPackageDependency)(info.pkgFile, '@backendkit-labs/agent-enterprise', '^0.8.8');
158
158
  if (added) {
159
159
  (0, child_process_1.execSync)('npm install', { cwd: info.cwd, stdio: 'inherit' });
160
160
  }
@@ -195,26 +195,26 @@ function setupRagFromScratch(info, vaultPath) {
195
195
  }
196
196
  function printManualInstructions(vaultPath) {
197
197
  const normalized = vaultPath.replace(/\\/g, '/');
198
- console.log(`
199
- 1. Import in engine.ts:
200
- import { ObsidianRAGProvider } from '@backendkit-labs/agent-enterprise';
201
-
202
- 2. Create RAG instance:
203
- const rag = new ObsidianRAGProvider({ vaultPath: '${normalized}' });
204
-
205
- 3. Register tool:
206
- tools.register(rag.createTool());
198
+ console.log(`
199
+ 1. Import in engine.ts:
200
+ import { ObsidianRAGProvider } from '@backendkit-labs/agent-enterprise';
201
+
202
+ 2. Create RAG instance:
203
+ const rag = new ObsidianRAGProvider({ vaultPath: '${normalized}' });
204
+
205
+ 3. Register tool:
206
+ tools.register(rag.createTool());
207
207
  `);
208
208
  }
209
209
  // ── Main export ───────────────────────────────────────────────────────────────
210
- const USAGE = `
211
- Usage: npx create-bk-agent add knowledge <folder-path>
212
- npx create-bk-agent add knowledge --vault <vault-path>
213
-
214
- Examples:
215
- npx create-bk-agent add knowledge ./docs
216
- npx create-bk-agent add knowledge "04-Recursos/Backend"
217
- npx create-bk-agent add knowledge --vault "C:/Company/HR-Vault"
210
+ const USAGE = `
211
+ Usage: npx create-bk-agent add knowledge <folder-path>
212
+ npx create-bk-agent add knowledge --vault <vault-path>
213
+
214
+ Examples:
215
+ npx create-bk-agent add knowledge ./docs
216
+ npx create-bk-agent add knowledge "04-Recursos/Backend"
217
+ npx create-bk-agent add knowledge --vault "C:/Company/HR-Vault"
218
218
  `;
219
219
  function addKnowledge(info, args) {
220
220
  const parsed = parseArgs(args);
@@ -85,7 +85,7 @@ function addServer(info, args) {
85
85
  }
86
86
  fs.writeFileSync(info.serverFile, generateServerTs(info, opts));
87
87
  console.log(`\n✓ Created src/server.ts (HTTP MCP on port ${opts.port})`);
88
- const added = (0, patcher_1.addPackageDependency)(info.pkgFile, '@backendkit-labs/mcp-server', '^0.15.0');
88
+ const added = (0, patcher_1.addPackageDependency)(info.pkgFile, '@backendkit-labs/mcp-server', '^0.19.0');
89
89
  (0, patcher_1.addPackageDependency)(info.pkgFile, 'zod', '^4.6.6');
90
90
  (0, patcher_1.addPackageScript)(info.pkgFile, 'server', 'ts-node src/server.ts');
91
91
  if (added) {
@@ -79,7 +79,7 @@ function copyDir(src, dst) {
79
79
  * minor, so these must follow the workspace versions (guarded by a test).
80
80
  */
81
81
  exports.GENERATED_DEP_RANGES = {
82
- '@backendkit-labs/mcp-server': '^0.18.0',
82
+ '@backendkit-labs/mcp-server': '^0.19.0',
83
83
  '@backendkit-labs/agent-web': '^0.6.0',
84
84
  '@backendkit-labs/agent-testkit': '^0.1.0',
85
85
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-bk-agent",
3
- "version": "0.23.5",
3
+ "version": "0.23.6",
4
4
  "description": "Create a new BackendKit agent project",
5
5
  "main": "dist/src/index.js",
6
6
  "bin": {
@@ -28,7 +28,7 @@
28
28
  "test": "jest"
29
29
  },
30
30
  "peerDependencies": {
31
- "@backendkit-labs/agent-core": ">=0.24.0 <0.38.0"
31
+ "@backendkit-labs/agent-core": ">=0.24.0 <0.40.0"
32
32
  },
33
33
  "peerDependenciesMeta": {
34
34
  "@backendkit-labs/agent-core": {
@@ -0,0 +1,26 @@
1
+ # Project templates
2
+
3
+ Source of the projects that [`create-bk-agent`](../create-bk-agent) generates. This directory is not published on its own: `create-bk-agent` copies it into its package when it is packed (`scripts/copy-templates.js`).
4
+
5
+ A generated project is one **architecture** from `base/` plus one **deploy mode** from `deploy/`:
6
+
7
+ | `base/` | What it is |
8
+ |---|---|
9
+ | `coding` | Coding assistant: 10 agents and the file, git and command tools |
10
+ | `multi-agent` | Orchestrator and specialists, no tools: you define the domain |
11
+ | `single` | One agent with tools |
12
+ | `autonomous` | Cron, webhook and event triggers |
13
+ | `enterprise` | Local LLM and an Obsidian knowledge base (RAG) |
14
+ | `orchestrator` | Multi-step workflows with approval gates |
15
+ | `minimal` | The bare engine |
16
+
17
+ | `deploy/` | How it runs |
18
+ |---|---|
19
+ | `repl` | Interactive terminal |
20
+ | `mcp-stdio` | MCP server over stdio (for Claude Desktop, IDEs, other agents) |
21
+ | `mcp-http` | MCP server over HTTP |
22
+ | `hybrid` | Terminal and MCP HTTP together |
23
+
24
+ `coding/AGENT.md` is the default project description the coding architecture starts with.
25
+
26
+ When you change a framework version range here, keep it in step with the workspace version: the scaffolder's tests (`create-bk-agent/src/__tests__/scaffold.test.ts`) fail if a template asks for a version the repository does not have.
@@ -11,7 +11,7 @@
11
11
  "typecheck": "tsc --noEmit"
12
12
  },
13
13
  "dependencies": {
14
- "@backendkit-labs/agent-core": "^0.37.0",
14
+ "@backendkit-labs/agent-core": "^0.38.0",
15
15
  "dotenv": "^16.0.0"
16
16
  },
17
17
  "devDependencies": {
@@ -12,7 +12,7 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "@backendkit-labs/agent-coding": "^0.28.0",
15
- "@backendkit-labs/agent-core": "^0.37.0",
15
+ "@backendkit-labs/agent-core": "^0.38.0",
16
16
  "dotenv": "^16.0.0"
17
17
  },
18
18
  "devDependencies": {
@@ -12,7 +12,7 @@
12
12
  "typecheck": "tsc --noEmit"
13
13
  },
14
14
  "dependencies": {
15
- "@backendkit-labs/agent-core": "^0.37.0",
15
+ "@backendkit-labs/agent-core": "^0.38.0",
16
16
  "@backendkit-labs/agent-coding": "^0.28.0",
17
17
  "@backendkit-labs/agent-enterprise": "^0.8.0",
18
18
  "dotenv": "^16.0.0",
@@ -11,7 +11,7 @@
11
11
  "typecheck": "tsc --noEmit"
12
12
  },
13
13
  "dependencies": {
14
- "@backendkit-labs/agent-core": "^0.37.0",
14
+ "@backendkit-labs/agent-core": "^0.38.0",
15
15
  "dotenv": "^16.0.0"
16
16
  },
17
17
  "devDependencies": {
@@ -12,7 +12,7 @@
12
12
  "typecheck": "tsc --noEmit"
13
13
  },
14
14
  "dependencies": {
15
- "@backendkit-labs/agent-core": "^0.37.0",
15
+ "@backendkit-labs/agent-core": "^0.38.0",
16
16
  "@backendkit-labs/agent-providers": "^0.3.3",
17
17
  "dotenv": "^16.0.0",
18
18
  "zod": "^4.6.6"
@@ -12,7 +12,7 @@
12
12
  "typecheck": "tsc --noEmit"
13
13
  },
14
14
  "dependencies": {
15
- "@backendkit-labs/agent-core": "^0.37.0",
15
+ "@backendkit-labs/agent-core": "^0.38.0",
16
16
  "@backendkit-labs/agent-providers": "^0.3.3",
17
17
  "dotenv": "^16.0.0",
18
18
  "zod": "^4.6.6"