@bike4mind/cli 0.2.29-cli-resume-command.18763 → 0.2.29-feature-b4m-pi.18846
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 +1 -1
- package/dist/HydrationEngine-JFMYWWM6.js +9 -0
- package/dist/{artifactExtractor-36XHJYOZ.js → artifactExtractor-TFGRIG2Y.js} +1 -1
- package/dist/{chunk-ZEMWV6IR.js → chunk-2UFCM2T4.js} +2 -2
- package/dist/{chunk-UNOJBVD2.js → chunk-A3HXNIIZ.js} +4 -2
- package/dist/{chunk-JJBDHUGY.js → chunk-MUWN5G77.js} +2 -2
- package/dist/chunk-NHP3UPYU.js +765 -0
- package/dist/{chunk-VGYTNJXN.js → chunk-SZRU4SFM.js} +2 -2
- package/dist/{chunk-XJRPAAUS.js → chunk-WVQTZODT.js} +853 -197
- package/dist/{create-NGI7IIQ4.js → create-NFJQG4TE.js} +3 -3
- package/dist/index.js +856 -29
- package/dist/{llmMarkdownGenerator-JDYKJUEC.js → llmMarkdownGenerator-JCNIDUGQ.js} +1 -1
- package/dist/{markdownGenerator-QXBC2EW5.js → markdownGenerator-WWVICHFP.js} +1 -1
- package/dist/{mementoService-X35OMHVC.js → mementoService-UEMQTBIG.js} +3 -3
- package/dist/{src-CBU6EAO3.js → src-4V3OBX4H.js} +2 -2
- package/dist/{src-6NIYIWZD.js → src-DEQX27QN.js} +137 -1
- package/dist/{subtractCredits-RL6JVDMI.js → subtractCredits-RLGUIO6U.js} +3 -3
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -101,7 +101,7 @@ While in interactive mode:
|
|
|
101
101
|
|
|
102
102
|
**Session Management:**
|
|
103
103
|
- `/save <name>` - Save current session
|
|
104
|
-
- `/
|
|
104
|
+
- `/sessions` - List saved sessions
|
|
105
105
|
|
|
106
106
|
**API Configuration:**
|
|
107
107
|
- `/set-api <url>` - Connect to self-hosted Bike4Mind instance
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
CurationArtifactType
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WVQTZODT.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;
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
getSettingsMap,
|
|
8
8
|
getSettingsValue,
|
|
9
9
|
secureParameters
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-A3HXNIIZ.js";
|
|
11
11
|
import {
|
|
12
12
|
KnowledgeType,
|
|
13
13
|
SupportedFabFileMimeTypes
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WVQTZODT.js";
|
|
15
15
|
|
|
16
16
|
// ../../b4m-core/packages/services/dist/src/fabFileService/create.js
|
|
17
17
|
import { z } from "zod";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
dayjsConfig_default,
|
|
16
16
|
extractSnippetMeta,
|
|
17
17
|
settingsMap
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-WVQTZODT.js";
|
|
19
19
|
import {
|
|
20
20
|
Logger
|
|
21
21
|
} from "./chunk-OCYRD7D6.js";
|
|
@@ -227,7 +227,7 @@ var ChoiceEndReason;
|
|
|
227
227
|
// ../../b4m-core/packages/utils/dist/src/llm/toolStreamingHelper.js
|
|
228
228
|
async function handleToolResultStreaming(toolName, toolResult, streamCallback) {
|
|
229
229
|
const resultString = toolResult.toString();
|
|
230
|
-
const shouldStream = toolName === "recharts" || resultString.includes("<artifact") || resultString.includes('type="application/vnd.ant.');
|
|
230
|
+
const shouldStream = toolName === "recharts" || resultString.includes("<artifact") || resultString.includes('type="application/vnd.ant.') || resultString.includes('type="application/vnd.b4m.');
|
|
231
231
|
if (shouldStream) {
|
|
232
232
|
await streamCallback([resultString]);
|
|
233
233
|
}
|
|
@@ -11204,6 +11204,8 @@ function mapMimeTypeToArtifactType(mimeType) {
|
|
|
11204
11204
|
case ClaudeArtifactMimeTypes.MARKDOWN:
|
|
11205
11205
|
return "code";
|
|
11206
11206
|
// Treat markdown as code for now
|
|
11207
|
+
case ClaudeArtifactMimeTypes.LATTICE:
|
|
11208
|
+
return "lattice";
|
|
11207
11209
|
default:
|
|
11208
11210
|
if (mimeType.includes("javascript") || mimeType.includes("jsx")) {
|
|
11209
11211
|
return "react";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
BadRequestError,
|
|
4
4
|
secureParameters
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-A3HXNIIZ.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-WVQTZODT.js";
|
|
16
16
|
|
|
17
17
|
// ../../b4m-core/packages/services/dist/src/creditService/subtractCredits.js
|
|
18
18
|
import { z } from "zod";
|