@bike4mind/cli 0.2.25-cli-file-read-offset.18541 → 0.2.25-feat-parallel-tool-execution.18515
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 +0 -31
- package/dist/{artifactExtractor-YLJA25ZH.js → artifactExtractor-UWINLSHU.js} +1 -1
- package/dist/{chunk-KGERFIL4.js → chunk-6ZSQC2VF.js} +1 -1
- package/dist/{chunk-CRG4F6FD.js → chunk-7L7YVDTP.js} +10 -1
- package/dist/{chunk-ETQCFCFT.js → chunk-AHVXP2NS.js} +2 -2
- package/dist/{chunk-TNLRJZRH.js → chunk-LPM3TSSU.js} +2 -2
- package/dist/{chunk-QDD3PG2I.js → chunk-U4GFPBS7.js} +2 -2
- package/dist/{create-RL7FTI2P.js → create-OUHPA36R.js} +3 -3
- package/dist/index.js +162 -517
- package/dist/{llmMarkdownGenerator-3SUOXGY3.js → llmMarkdownGenerator-H5KBHEND.js} +1 -1
- package/dist/{markdownGenerator-FYG7VXYP.js → markdownGenerator-XVDGKPVZ.js} +1 -1
- package/dist/{mementoService-I6G6GHMI.js → mementoService-NW6AADXH.js} +3 -3
- package/dist/{src-7VD2AB4G.js → src-C6D5BBNC.js} +1 -1
- package/dist/{src-NJXYCMQ4.js → src-YVHC5322.js} +2 -2
- package/dist/{subtractCredits-G43YXKVF.js → subtractCredits-YLWP2W6I.js} +3 -3
- package/package.json +6 -6
- package/dist/chunk-EIDW3VBS.js +0 -68
- package/dist/store-JNTO6SRG.js +0 -7
package/README.md
CHANGED
|
@@ -183,7 +183,6 @@ export SERPER_API_KEY="your-key-here"
|
|
|
183
183
|
- ✅ `current_datetime` - No API key needed
|
|
184
184
|
- ✅ `prompt_enhancement` - No API key needed
|
|
185
185
|
- ✅ `bash_execute` - No API key needed
|
|
186
|
-
- ✅ `recent_changes` - No API key needed (git-based file search by modification time)
|
|
187
186
|
- 🔑 `weather_info` - Requires `toolApiKeys.openweather`
|
|
188
187
|
- 🔑 `web_search` - Requires `toolApiKeys.serper`
|
|
189
188
|
- 🔑 `deep_research` - Requires `toolApiKeys.serper`
|
|
@@ -265,36 +264,6 @@ You can also run any MCP server via npx or custom executables:
|
|
|
265
264
|
|
|
266
265
|
**Note:** Internal MCP servers must be built and available in the `b4m-core/packages/mcp/dist/src/` directory. The CLI will automatically find them if you're running from the monorepo. For Docker-based servers, ensure Docker is installed and the image is accessible.
|
|
267
266
|
|
|
268
|
-
## Git-Aware Code Search
|
|
269
|
-
|
|
270
|
-
The CLI includes a `recent_changes` tool that uses git history to find recently modified files. This significantly speeds up debugging by narrowing the search space to recently changed code.
|
|
271
|
-
|
|
272
|
-
### Use Cases
|
|
273
|
-
|
|
274
|
-
- **Recent bug debugging:** "I just broke something, can you help fix it?"
|
|
275
|
-
- **Understanding feature development:** "What did we change for the new dashboard?"
|
|
276
|
-
- **Finding active development areas:** "What are we actively working on?"
|
|
277
|
-
- **Code review prep:** "What changed since last release?"
|
|
278
|
-
|
|
279
|
-
### Parameters
|
|
280
|
-
|
|
281
|
-
- `since` - Time range to search (default: "7 days ago")
|
|
282
|
-
- Examples: "2 hours ago", "3 days ago", "2025-01-01"
|
|
283
|
-
- `path` - Filter to specific directory (default: entire repo)
|
|
284
|
-
- Examples: "src/components", "apps/client", "**/*.test.ts"
|
|
285
|
-
- `limit` - Maximum files to return (default: 50)
|
|
286
|
-
- `include_stats` - Show lines added/removed (default: false)
|
|
287
|
-
|
|
288
|
-
### How It Works
|
|
289
|
-
|
|
290
|
-
The tool uses `git log` to track file modifications and returns:
|
|
291
|
-
- Files sorted by activity (most commits first)
|
|
292
|
-
- Commit messages for context
|
|
293
|
-
- Optional statistics showing lines changed
|
|
294
|
-
- Filtered results based on time and path
|
|
295
|
-
|
|
296
|
-
**Performance benefit:** Instead of searching 50+ files (5-10 minutes), find the 3 relevant files in ~30 seconds.
|
|
297
|
-
|
|
298
267
|
## Context Files
|
|
299
268
|
|
|
300
269
|
The CLI supports loading project-specific instructions from context files, similar to CLAUDE.md in Claude Code. These files provide persistent instructions that are automatically included in the agent's system prompt.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
CurationArtifactType
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7L7YVDTP.js";
|
|
5
5
|
|
|
6
6
|
// ../../b4m-core/packages/services/dist/src/notebookCurationService/artifactExtractor.js
|
|
7
7
|
var ARTIFACT_TAG_REGEX = /<artifact\s+(.*?)>([\s\S]*?)<\/artifact>/gi;
|
|
@@ -303,8 +303,17 @@ var b4mLLMTools = z5.enum([
|
|
|
303
303
|
"sunrise_sunset",
|
|
304
304
|
"iss_tracker",
|
|
305
305
|
"planet_visibility",
|
|
306
|
+
// File operation tools
|
|
307
|
+
"file_read",
|
|
308
|
+
"create_file",
|
|
309
|
+
"edit_local_file",
|
|
310
|
+
"glob_files",
|
|
311
|
+
"grep_search",
|
|
312
|
+
"delete_file",
|
|
306
313
|
// Knowledge base search
|
|
307
|
-
"search_knowledge_base"
|
|
314
|
+
"search_knowledge_base",
|
|
315
|
+
// Shell execution
|
|
316
|
+
"bash_execute"
|
|
308
317
|
]);
|
|
309
318
|
var B4MLLMToolsList = b4mLLMTools.options.map((tool) => tool);
|
|
310
319
|
var RechartsChartTypeSchema = z5.enum([
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
getSettingsByNames,
|
|
7
7
|
obfuscateApiKey,
|
|
8
8
|
secureParameters
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6ZSQC2VF.js";
|
|
10
10
|
import {
|
|
11
11
|
ApiKeyType,
|
|
12
12
|
MementoTier,
|
|
13
13
|
isSupportedEmbeddingModel
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7L7YVDTP.js";
|
|
15
15
|
|
|
16
16
|
// ../../b4m-core/packages/services/dist/src/apiKeyService/get.js
|
|
17
17
|
import { z } from "zod";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
BadRequestError,
|
|
4
4
|
secureParameters
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-6ZSQC2VF.js";
|
|
6
6
|
import {
|
|
7
7
|
CompletionApiUsageTransaction,
|
|
8
8
|
GenericCreditDeductTransaction,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
TextGenerationUsageTransaction,
|
|
13
13
|
TransferCreditTransaction,
|
|
14
14
|
VideoGenerationUsageTransaction
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7L7YVDTP.js";
|
|
16
16
|
|
|
17
17
|
// ../../b4m-core/packages/services/dist/src/creditService/subtractCredits.js
|
|
18
18
|
import { z } from "zod";
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
getSettingsMap,
|
|
8
8
|
getSettingsValue,
|
|
9
9
|
secureParameters
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6ZSQC2VF.js";
|
|
11
11
|
import {
|
|
12
12
|
KnowledgeType,
|
|
13
13
|
SupportedFabFileMimeTypes
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7L7YVDTP.js";
|
|
15
15
|
|
|
16
16
|
// ../../b4m-core/packages/services/dist/src/fabFileService/create.js
|
|
17
17
|
import { z } from "zod";
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import {
|
|
3
3
|
createFabFile,
|
|
4
4
|
createFabFileSchema
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-U4GFPBS7.js";
|
|
6
|
+
import "./chunk-6ZSQC2VF.js";
|
|
7
|
+
import "./chunk-7L7YVDTP.js";
|
|
8
8
|
import "./chunk-OCYRD7D6.js";
|
|
9
9
|
export {
|
|
10
10
|
createFabFile,
|