@bike4mind/cli 0.2.29-fix-paste-hang-indicator.18877 → 0.2.29-fix-user-stats.18910
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-EE753J4D.js → artifactExtractor-5KWVJRK7.js} +1 -1
- package/dist/{chunk-BCOGDPUB.js → chunk-533OGVA7.js} +2 -2
- package/dist/{chunk-5GSDPBTM.js → chunk-FKJTU7KU.js} +6 -0
- package/dist/{chunk-PKKJ44C5.js → chunk-HXRGW67O.js} +2 -2
- package/dist/{chunk-S7BPPS33.js → chunk-RMXZWMAY.js} +1 -1
- package/dist/{chunk-BYXFQJYT.js → chunk-TVW4ZESU.js} +1 -10
- package/dist/{chunk-ELTTBWAQ.js → chunk-XOTWLDQT.js} +2 -2
- package/dist/{create-O3PVSKFE.js → create-USNFKVB7.js} +3 -3
- package/dist/index.js +481 -354
- package/dist/{llmMarkdownGenerator-IJKJYJ3U.js → llmMarkdownGenerator-UIJD4IKA.js} +1 -1
- package/dist/{markdownGenerator-SJT7AXLT.js → markdownGenerator-UBZZJ3YM.js} +1 -1
- package/dist/{mementoService-PKCNMN4V.js → mementoService-JOHUXPOS.js} +3 -3
- package/dist/{src-GRO5NIC3.js → src-DOG6MRCB.js} +1 -1
- package/dist/{src-C5CZFXVM.js → src-LTGBRZAP.js} +2 -2
- package/dist/{store-K5MB3SE7.js → store-FU6NDC2W.js} +1 -1
- package/dist/{subtractCredits-WZZAP57N.js → subtractCredits-A7LKZDII.js} +3 -3
- package/package.json +11 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
CurationArtifactType
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-FKJTU7KU.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;
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
getSettingsByNames,
|
|
7
7
|
obfuscateApiKey,
|
|
8
8
|
secureParameters
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RMXZWMAY.js";
|
|
10
10
|
import {
|
|
11
11
|
ApiKeyType,
|
|
12
12
|
MementoTier,
|
|
13
13
|
isSupportedEmbeddingModel
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FKJTU7KU.js";
|
|
15
15
|
|
|
16
16
|
// ../../b4m-core/packages/services/dist/src/apiKeyService/get.js
|
|
17
17
|
import { z } from "zod";
|
|
@@ -7781,6 +7781,12 @@ function buildSSEEvent(text, info) {
|
|
|
7781
7781
|
outputTokens: info.outputTokens
|
|
7782
7782
|
};
|
|
7783
7783
|
}
|
|
7784
|
+
if (info?.creditsUsed !== void 0 || info?.usdCost !== void 0) {
|
|
7785
|
+
event.credits = {
|
|
7786
|
+
used: info.creditsUsed,
|
|
7787
|
+
usdCost: info.usdCost
|
|
7788
|
+
};
|
|
7789
|
+
}
|
|
7784
7790
|
if (info?.thinking && info.thinking.length > 0) {
|
|
7785
7791
|
event.thinking = info.thinking;
|
|
7786
7792
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
BadRequestError,
|
|
4
4
|
secureParameters
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-RMXZWMAY.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-FKJTU7KU.js";
|
|
16
16
|
|
|
17
17
|
// ../../b4m-core/packages/services/dist/src/creditService/subtractCredits.js
|
|
18
18
|
import { z } from "zod";
|
|
@@ -49,16 +49,7 @@ var useCliStore = create((set) => ({
|
|
|
49
49
|
// Input state (for Ctrl+C clearing)
|
|
50
50
|
inputValue: "",
|
|
51
51
|
setInputValue: (value) => set({ inputValue: value }),
|
|
52
|
-
clearInput: () => set({ inputValue: ""
|
|
53
|
-
// Paste state
|
|
54
|
-
pastedContent: null,
|
|
55
|
-
pastedLineCount: 0,
|
|
56
|
-
setPastedContent: (content, lineCount) => set({
|
|
57
|
-
pastedContent: content,
|
|
58
|
-
pastedLineCount: lineCount,
|
|
59
|
-
inputValue: content
|
|
60
|
-
}),
|
|
61
|
-
clearPaste: () => set({ pastedContent: null, pastedLineCount: 0, inputValue: "" }),
|
|
52
|
+
clearInput: () => set({ inputValue: "" }),
|
|
62
53
|
// Permission prompt queue
|
|
63
54
|
permissionPrompt: null,
|
|
64
55
|
permissionQueue: [],
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
getSettingsMap,
|
|
8
8
|
getSettingsValue,
|
|
9
9
|
secureParameters
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RMXZWMAY.js";
|
|
11
11
|
import {
|
|
12
12
|
KnowledgeType,
|
|
13
13
|
SupportedFabFileMimeTypes
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FKJTU7KU.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-XOTWLDQT.js";
|
|
6
|
+
import "./chunk-RMXZWMAY.js";
|
|
7
|
+
import "./chunk-FKJTU7KU.js";
|
|
8
8
|
import "./chunk-OCYRD7D6.js";
|
|
9
9
|
export {
|
|
10
10
|
createFabFile,
|