@bike4mind/cli 0.2.25-recent-changes-tool.18517 → 0.2.25-recent-changes-tool.18528
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/dist/{artifactExtractor-HH6SPW2Y.js → artifactExtractor-YLJA25ZH.js} +1 -1
- package/dist/{chunk-37CKEEXO.js → chunk-CRG4F6FD.js} +14 -1
- package/dist/chunk-EIDW3VBS.js +68 -0
- package/dist/{chunk-QCZ7HG2D.js → chunk-ETQCFCFT.js} +2 -2
- package/dist/{chunk-KC235R6G.js → chunk-KGERFIL4.js} +1 -1
- package/dist/{chunk-SWBK52BT.js → chunk-QDD3PG2I.js} +2 -2
- package/dist/{chunk-5ACUY24Z.js → chunk-TNLRJZRH.js} +2 -2
- package/dist/{create-NFJ2IEUS.js → create-RL7FTI2P.js} +3 -3
- package/dist/index.js +1332 -1181
- package/dist/{llmMarkdownGenerator-YHN4RQB6.js → llmMarkdownGenerator-3SUOXGY3.js} +1 -1
- package/dist/{markdownGenerator-ZVU573OI.js → markdownGenerator-FYG7VXYP.js} +1 -1
- package/dist/{mementoService-2FHVYTAF.js → mementoService-I6G6GHMI.js} +3 -3
- package/dist/{src-KVNL3XAU.js → src-7VD2AB4G.js} +1 -1
- package/dist/{src-HB3OM6ZM.js → src-NJXYCMQ4.js} +2 -2
- package/dist/store-JNTO6SRG.js +7 -0
- package/dist/{subtractCredits-UHBYJNNY.js → subtractCredits-G43YXKVF.js} +3 -3
- package/package.json +6 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
CurationArtifactType
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CRG4F6FD.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;
|
|
@@ -2244,6 +2244,8 @@ var SettingKeySchema = z21.enum([
|
|
|
2244
2244
|
"StreamIdleTimeoutSeconds",
|
|
2245
2245
|
"EnableMcpToolFiltering",
|
|
2246
2246
|
"McpToolFilteringMaxTools",
|
|
2247
|
+
// PARALLEL TOOL EXECUTION SETTINGS
|
|
2248
|
+
"EnableParallelToolExecution",
|
|
2247
2249
|
// LIVEOPS TRIAGE AUTOMATION SETTINGS
|
|
2248
2250
|
"liveopsTriageConfig"
|
|
2249
2251
|
]);
|
|
@@ -2663,7 +2665,8 @@ var API_SERVICE_GROUPS = {
|
|
|
2663
2665
|
{ key: "EnableStreamIdleTimeout", order: 12 },
|
|
2664
2666
|
{ key: "StreamIdleTimeoutSeconds", order: 13 },
|
|
2665
2667
|
{ key: "EnableMcpToolFiltering", order: 14 },
|
|
2666
|
-
{ key: "McpToolFilteringMaxTools", order: 15 }
|
|
2668
|
+
{ key: "McpToolFilteringMaxTools", order: 15 },
|
|
2669
|
+
{ key: "EnableParallelToolExecution", order: 16 }
|
|
2667
2670
|
]
|
|
2668
2671
|
},
|
|
2669
2672
|
NOTEBOOK: {
|
|
@@ -3804,6 +3807,16 @@ var settingsMap = {
|
|
|
3804
3807
|
group: API_SERVICE_GROUPS.EXPERIMENTAL.id,
|
|
3805
3808
|
order: 15
|
|
3806
3809
|
}),
|
|
3810
|
+
// Parallel Tool Execution Settings
|
|
3811
|
+
EnableParallelToolExecution: makeBooleanSetting({
|
|
3812
|
+
key: "EnableParallelToolExecution",
|
|
3813
|
+
name: "Enable Parallel Tool Execution",
|
|
3814
|
+
defaultValue: false,
|
|
3815
|
+
description: "Execute read-only tools (file reads, searches) in parallel for 2-3x speed improvement. Write tools still execute sequentially for safety.",
|
|
3816
|
+
category: "Experimental",
|
|
3817
|
+
group: API_SERVICE_GROUPS.EXPERIMENTAL.id,
|
|
3818
|
+
order: 16
|
|
3819
|
+
}),
|
|
3807
3820
|
liveopsTriageConfig: makeObjectSetting({
|
|
3808
3821
|
key: "liveopsTriageConfig",
|
|
3809
3822
|
name: "LiveOps Triage Configuration",
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
// src/store/index.ts
|
|
4
|
+
import { create } from "zustand";
|
|
5
|
+
var useCliStore = create((set) => ({
|
|
6
|
+
// Session state
|
|
7
|
+
session: null,
|
|
8
|
+
setSession: (session) => set({ session }),
|
|
9
|
+
addMessage: (message) => set((state) => {
|
|
10
|
+
if (!state.session) return state;
|
|
11
|
+
return {
|
|
12
|
+
session: {
|
|
13
|
+
...state.session,
|
|
14
|
+
messages: [...state.session.messages, message],
|
|
15
|
+
updatedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
}),
|
|
19
|
+
// Pending messages
|
|
20
|
+
pendingMessages: [],
|
|
21
|
+
addPendingMessage: (message) => set((state) => ({ pendingMessages: [...state.pendingMessages, message] })),
|
|
22
|
+
updatePendingMessage: (index, message) => set((state) => {
|
|
23
|
+
const updated = [...state.pendingMessages];
|
|
24
|
+
updated[index] = message;
|
|
25
|
+
return { pendingMessages: updated };
|
|
26
|
+
}),
|
|
27
|
+
clearPendingMessages: () => set({ pendingMessages: [] }),
|
|
28
|
+
completePendingMessage: (index, finalMessage) => set((state) => {
|
|
29
|
+
const pending = [...state.pendingMessages];
|
|
30
|
+
pending.splice(index, 1);
|
|
31
|
+
const session = state.session;
|
|
32
|
+
if (!session) return { pendingMessages: pending };
|
|
33
|
+
return {
|
|
34
|
+
pendingMessages: pending,
|
|
35
|
+
session: {
|
|
36
|
+
...session,
|
|
37
|
+
messages: [...session.messages, finalMessage],
|
|
38
|
+
updatedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
}),
|
|
42
|
+
// UI state
|
|
43
|
+
isThinking: false,
|
|
44
|
+
setIsThinking: (thinking) => set({ isThinking: thinking }),
|
|
45
|
+
// Input state (for Ctrl+C clearing)
|
|
46
|
+
inputValue: "",
|
|
47
|
+
setInputValue: (value) => set({ inputValue: value }),
|
|
48
|
+
clearInput: () => set({ inputValue: "" }),
|
|
49
|
+
// Permission prompt
|
|
50
|
+
permissionPrompt: null,
|
|
51
|
+
setPermissionPrompt: (prompt) => set({ permissionPrompt: prompt }),
|
|
52
|
+
// Config editor
|
|
53
|
+
showConfigEditor: false,
|
|
54
|
+
setShowConfigEditor: (show) => set({ showConfigEditor: show }),
|
|
55
|
+
// MCP viewer
|
|
56
|
+
showMcpViewer: false,
|
|
57
|
+
setShowMcpViewer: (show) => set({ showMcpViewer: show }),
|
|
58
|
+
// Auto-accept edits toggle (Shift+Tab)
|
|
59
|
+
autoAcceptEdits: false,
|
|
60
|
+
toggleAutoAcceptEdits: () => set((state) => ({ autoAcceptEdits: !state.autoAcceptEdits })),
|
|
61
|
+
// Exit handling
|
|
62
|
+
exitRequested: false,
|
|
63
|
+
setExitRequested: (requested) => set({ exitRequested: requested })
|
|
64
|
+
}));
|
|
65
|
+
|
|
66
|
+
export {
|
|
67
|
+
useCliStore
|
|
68
|
+
};
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
getSettingsByNames,
|
|
7
7
|
obfuscateApiKey,
|
|
8
8
|
secureParameters
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KGERFIL4.js";
|
|
10
10
|
import {
|
|
11
11
|
ApiKeyType,
|
|
12
12
|
MementoTier,
|
|
13
13
|
isSupportedEmbeddingModel
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CRG4F6FD.js";
|
|
15
15
|
|
|
16
16
|
// ../../b4m-core/packages/services/dist/src/apiKeyService/get.js
|
|
17
17
|
import { z } from "zod";
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
getSettingsMap,
|
|
8
8
|
getSettingsValue,
|
|
9
9
|
secureParameters
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KGERFIL4.js";
|
|
11
11
|
import {
|
|
12
12
|
KnowledgeType,
|
|
13
13
|
SupportedFabFileMimeTypes
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CRG4F6FD.js";
|
|
15
15
|
|
|
16
16
|
// ../../b4m-core/packages/services/dist/src/fabFileService/create.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-KGERFIL4.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-CRG4F6FD.js";
|
|
16
16
|
|
|
17
17
|
// ../../b4m-core/packages/services/dist/src/creditService/subtractCredits.js
|
|
18
18
|
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-QDD3PG2I.js";
|
|
6
|
+
import "./chunk-KGERFIL4.js";
|
|
7
|
+
import "./chunk-CRG4F6FD.js";
|
|
8
8
|
import "./chunk-OCYRD7D6.js";
|
|
9
9
|
export {
|
|
10
10
|
createFabFile,
|