@bike4mind/cli 0.2.29 → 0.2.30-feat-user-selectable-reasoning-effort.19153
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-4SBIE5OK.js → artifactExtractor-FPTQA6QK.js} +1 -1
- package/dist/{chunk-22VR7SKO.js → chunk-CPAGTKIM.js} +2 -2
- package/dist/{chunk-UYN4HMRF.js → chunk-FQ7YLXEB.js} +2 -2
- package/dist/{chunk-TNFZP7FG.js → chunk-LQRI6AKT.js} +20 -0
- package/dist/{chunk-YQWFK5O2.js → chunk-RZE53KST.js} +2 -2
- package/dist/{chunk-5J4RL57F.js → chunk-TYGSWGIE.js} +11 -3
- package/dist/{create-DCHG36CP.js → create-Y3277THY.js} +3 -3
- package/dist/index.js +12 -11
- package/dist/{llmMarkdownGenerator-6MQKVOWW.js → llmMarkdownGenerator-L4FJDAYW.js} +1 -1
- package/dist/{markdownGenerator-4GDO3PTY.js → markdownGenerator-TWB6RRAR.js} +1 -1
- package/dist/{mementoService-WDQFLLRV.js → mementoService-HPMBTWYN.js} +3 -3
- package/dist/{src-ZAT7QMNA.js → src-3EWLI2XV.js} +5 -1
- package/dist/{src-DVEE3PS5.js → src-BJ2CPVXD.js} +2 -2
- package/dist/{subtractCredits-LE54FRKC.js → subtractCredits-L7R54SVJ.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-LQRI6AKT.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-TYGSWGIE.js";
|
|
10
10
|
import {
|
|
11
11
|
ApiKeyType,
|
|
12
12
|
MementoTier,
|
|
13
13
|
isSupportedEmbeddingModel
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-LQRI6AKT.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-TYGSWGIE.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-LQRI6AKT.js";
|
|
16
16
|
|
|
17
17
|
// ../../b4m-core/packages/services/dist/src/creditService/subtractCredits.js
|
|
18
18
|
import { z } from "zod";
|
|
@@ -1105,6 +1105,24 @@ var SupportedFabFileMimeTypes;
|
|
|
1105
1105
|
SupportedFabFileMimeTypes2["INI"] = "text/plain";
|
|
1106
1106
|
SupportedFabFileMimeTypes2["CONF"] = "text/plain";
|
|
1107
1107
|
})(SupportedFabFileMimeTypes || (SupportedFabFileMimeTypes = {}));
|
|
1108
|
+
var REASONING_EFFORT_LABELS = {
|
|
1109
|
+
auto: "Auto (recommended)",
|
|
1110
|
+
none: "None - Fastest",
|
|
1111
|
+
minimal: "Minimal",
|
|
1112
|
+
low: "Low",
|
|
1113
|
+
medium: "Medium",
|
|
1114
|
+
high: "High",
|
|
1115
|
+
xhigh: "Extra High - Best Quality"
|
|
1116
|
+
};
|
|
1117
|
+
var REASONING_EFFORT_DESCRIPTIONS = {
|
|
1118
|
+
auto: "Automatically adjusts reasoning effort based on query complexity",
|
|
1119
|
+
none: "No extended reasoning, fastest responses",
|
|
1120
|
+
minimal: "Very light reasoning for simple queries",
|
|
1121
|
+
low: "Light reasoning for straightforward tasks",
|
|
1122
|
+
medium: "Balanced reasoning for most tasks",
|
|
1123
|
+
high: "Deep reasoning for complex problems",
|
|
1124
|
+
xhigh: "Maximum reasoning depth for highest quality (GPT-5.2 Pro/Thinking only)"
|
|
1125
|
+
};
|
|
1108
1126
|
var CODE_FILE_MIME_TYPES = [
|
|
1109
1127
|
SupportedFabFileMimeTypes.TS,
|
|
1110
1128
|
SupportedFabFileMimeTypes.JS,
|
|
@@ -8684,6 +8702,8 @@ export {
|
|
|
8684
8702
|
SecretAuditEvents,
|
|
8685
8703
|
WebhookDeliveryStatus,
|
|
8686
8704
|
SupportedFabFileMimeTypes,
|
|
8705
|
+
REASONING_EFFORT_LABELS,
|
|
8706
|
+
REASONING_EFFORT_DESCRIPTIONS,
|
|
8687
8707
|
CODE_FILE_MIME_TYPES,
|
|
8688
8708
|
DataSubscribeRequestAction,
|
|
8689
8709
|
DataUnsubscribeRequestAction,
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
getSettingsMap,
|
|
8
8
|
getSettingsValue,
|
|
9
9
|
secureParameters
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TYGSWGIE.js";
|
|
11
11
|
import {
|
|
12
12
|
KnowledgeType,
|
|
13
13
|
SupportedFabFileMimeTypes
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-LQRI6AKT.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-LQRI6AKT.js";
|
|
19
19
|
import {
|
|
20
20
|
Logger
|
|
21
21
|
} from "./chunk-OCYRD7D6.js";
|
|
@@ -6567,10 +6567,18 @@ var OpenAIBackend = class {
|
|
|
6567
6567
|
stream: true,
|
|
6568
6568
|
...options.maxTokens && { max_completion_tokens: options.maxTokens }
|
|
6569
6569
|
});
|
|
6570
|
-
|
|
6570
|
+
let reasoningEffort;
|
|
6571
|
+
if (options.reasoningEffort) {
|
|
6572
|
+
reasoningEffort = options.reasoningEffort;
|
|
6573
|
+
this.logger.debug(`Using explicit reasoning effort: ${reasoningEffort}`);
|
|
6574
|
+
} else if (options.complexity && effortMap[options.complexity]) {
|
|
6575
|
+
reasoningEffort = isGPT5_1Model || isGPT5_2Model ? effortMap_GPT5_1_2[options.complexity] : effortMap[options.complexity];
|
|
6576
|
+
this.logger.debug(`Auto-classified reasoning effort from complexity '${options.complexity}': ${reasoningEffort}`);
|
|
6577
|
+
}
|
|
6578
|
+
if (reasoningEffort) {
|
|
6571
6579
|
Object.assign(parameters, {
|
|
6572
6580
|
reasoning: {
|
|
6573
|
-
effort:
|
|
6581
|
+
effort: reasoningEffort
|
|
6574
6582
|
}
|
|
6575
6583
|
});
|
|
6576
6584
|
}
|
|
@@ -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-RZE53KST.js";
|
|
6
|
+
import "./chunk-TYGSWGIE.js";
|
|
7
|
+
import "./chunk-LQRI6AKT.js";
|
|
8
8
|
import "./chunk-OCYRD7D6.js";
|
|
9
9
|
export {
|
|
10
10
|
createFabFile,
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getEffectiveApiKey,
|
|
6
6
|
getOpenWeatherKey,
|
|
7
7
|
getSerperKey
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CPAGTKIM.js";
|
|
9
9
|
import "./chunk-RUI6HNLO.js";
|
|
10
10
|
import {
|
|
11
11
|
ConfigStore,
|
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
selectActiveBackgroundAgents,
|
|
16
16
|
useCliStore
|
|
17
17
|
} from "./chunk-TVW4ZESU.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-FQ7YLXEB.js";
|
|
19
|
+
import "./chunk-RZE53KST.js";
|
|
20
20
|
import {
|
|
21
21
|
BFLImageService,
|
|
22
22
|
BaseStorage,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
OpenAIBackend,
|
|
29
29
|
OpenAIImageService,
|
|
30
30
|
XAIImageService
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-TYGSWGIE.js";
|
|
32
32
|
import {
|
|
33
33
|
AiEvents,
|
|
34
34
|
ApiKeyEvents,
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
XAI_IMAGE_MODELS,
|
|
85
85
|
b4mLLMTools,
|
|
86
86
|
getMcpProviderMetadata
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-LQRI6AKT.js";
|
|
88
88
|
import {
|
|
89
89
|
Logger
|
|
90
90
|
} from "./chunk-OCYRD7D6.js";
|
|
@@ -3964,6 +3964,7 @@ var updateUserSchema = z7.object({
|
|
|
3964
3964
|
preferredLanguage: z7.string().nullable().optional(),
|
|
3965
3965
|
preferredContact: z7.string().nullable().optional(),
|
|
3966
3966
|
preferredVoice: z7.string().nullable().optional(),
|
|
3967
|
+
preferredReasoningEffort: z7.enum(["auto", "none", "minimal", "low", "medium", "high", "xhigh"]).nullable().optional(),
|
|
3967
3968
|
tshirtSize: z7.string().nullable().optional(),
|
|
3968
3969
|
geoLocation: z7.string().nullable().optional(),
|
|
3969
3970
|
lastNotebookId: z7.string().nullable().optional(),
|
|
@@ -14635,7 +14636,7 @@ import { isAxiosError as isAxiosError2 } from "axios";
|
|
|
14635
14636
|
// package.json
|
|
14636
14637
|
var package_default = {
|
|
14637
14638
|
name: "@bike4mind/cli",
|
|
14638
|
-
version: "0.2.
|
|
14639
|
+
version: "0.2.30-feat-user-selectable-reasoning-effort.19153+674ebb2ce",
|
|
14639
14640
|
type: "module",
|
|
14640
14641
|
description: "Interactive CLI tool for Bike4Mind with ReAct agents",
|
|
14641
14642
|
license: "UNLICENSED",
|
|
@@ -14749,10 +14750,10 @@ var package_default = {
|
|
|
14749
14750
|
},
|
|
14750
14751
|
devDependencies: {
|
|
14751
14752
|
"@bike4mind/agents": "0.1.0",
|
|
14752
|
-
"@bike4mind/common": "2.51.
|
|
14753
|
-
"@bike4mind/mcp": "1.30.
|
|
14754
|
-
"@bike4mind/services": "2.49.
|
|
14755
|
-
"@bike4mind/utils": "2.6.
|
|
14753
|
+
"@bike4mind/common": "2.51.1-feat-user-selectable-reasoning-effort.19153+674ebb2ce",
|
|
14754
|
+
"@bike4mind/mcp": "1.30.1-feat-user-selectable-reasoning-effort.19153+674ebb2ce",
|
|
14755
|
+
"@bike4mind/services": "2.49.1-feat-user-selectable-reasoning-effort.19153+674ebb2ce",
|
|
14756
|
+
"@bike4mind/utils": "2.6.1-feat-user-selectable-reasoning-effort.19153+674ebb2ce",
|
|
14756
14757
|
"@types/better-sqlite3": "^7.6.13",
|
|
14757
14758
|
"@types/diff": "^5.0.9",
|
|
14758
14759
|
"@types/jsonwebtoken": "^9.0.4",
|
|
@@ -14770,7 +14771,7 @@ var package_default = {
|
|
|
14770
14771
|
optionalDependencies: {
|
|
14771
14772
|
"@vscode/ripgrep": "^1.17.0"
|
|
14772
14773
|
},
|
|
14773
|
-
gitHead: "
|
|
14774
|
+
gitHead: "674ebb2ce7bf2c5dea91833a7f6aba676b8312a0"
|
|
14774
14775
|
};
|
|
14775
14776
|
|
|
14776
14777
|
// src/config/constants.ts
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import {
|
|
3
3
|
findMostSimilarMemento,
|
|
4
4
|
getRelevantMementos
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-CPAGTKIM.js";
|
|
6
|
+
import "./chunk-TYGSWGIE.js";
|
|
7
|
+
import "./chunk-LQRI6AKT.js";
|
|
8
8
|
import "./chunk-OCYRD7D6.js";
|
|
9
9
|
export {
|
|
10
10
|
findMostSimilarMemento,
|
|
@@ -230,6 +230,8 @@ import {
|
|
|
230
230
|
QuestResourceSchema,
|
|
231
231
|
QuestSchema,
|
|
232
232
|
QuestStatusSchema,
|
|
233
|
+
REASONING_EFFORT_DESCRIPTIONS,
|
|
234
|
+
REASONING_EFFORT_LABELS,
|
|
233
235
|
RESTRICTION_OPERATIONS,
|
|
234
236
|
RESTRICTION_SUBJECT_TYPES,
|
|
235
237
|
RapidReplyFallbackBehaviors,
|
|
@@ -416,7 +418,7 @@ import {
|
|
|
416
418
|
validateReactArtifactV2,
|
|
417
419
|
validateSvgArtifactV2,
|
|
418
420
|
wikiMarkupToAdf
|
|
419
|
-
} from "./chunk-
|
|
421
|
+
} from "./chunk-LQRI6AKT.js";
|
|
420
422
|
export {
|
|
421
423
|
ALL_IMAGE_MODELS,
|
|
422
424
|
ALL_IMAGE_SIZES,
|
|
@@ -649,6 +651,8 @@ export {
|
|
|
649
651
|
QuestResourceSchema,
|
|
650
652
|
QuestSchema,
|
|
651
653
|
QuestStatusSchema,
|
|
654
|
+
REASONING_EFFORT_DESCRIPTIONS,
|
|
655
|
+
REASONING_EFFORT_LABELS,
|
|
652
656
|
RESTRICTION_OPERATIONS,
|
|
653
657
|
RESTRICTION_SUBJECT_TYPES,
|
|
654
658
|
RapidReplyFallbackBehaviors,
|
|
@@ -134,12 +134,12 @@ import {
|
|
|
134
134
|
validateMermaidSyntax,
|
|
135
135
|
warmUpSettingsCache,
|
|
136
136
|
withRetry
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-TYGSWGIE.js";
|
|
138
138
|
import {
|
|
139
139
|
buildRateLimitLogEntry,
|
|
140
140
|
isNearLimit,
|
|
141
141
|
parseRateLimitHeaders
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-LQRI6AKT.js";
|
|
143
143
|
import {
|
|
144
144
|
Logger,
|
|
145
145
|
NotificationDeduplicator,
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import {
|
|
3
3
|
SubtractCreditsSchema,
|
|
4
4
|
subtractCredits
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-FQ7YLXEB.js";
|
|
6
|
+
import "./chunk-TYGSWGIE.js";
|
|
7
|
+
import "./chunk-LQRI6AKT.js";
|
|
8
8
|
import "./chunk-OCYRD7D6.js";
|
|
9
9
|
export {
|
|
10
10
|
SubtractCreditsSchema,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bike4mind/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.30-feat-user-selectable-reasoning-effort.19153+674ebb2ce",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Interactive CLI tool for Bike4Mind with ReAct agents",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -114,10 +114,10 @@
|
|
|
114
114
|
},
|
|
115
115
|
"devDependencies": {
|
|
116
116
|
"@bike4mind/agents": "0.1.0",
|
|
117
|
-
"@bike4mind/common": "2.51.
|
|
118
|
-
"@bike4mind/mcp": "1.30.
|
|
119
|
-
"@bike4mind/services": "2.49.
|
|
120
|
-
"@bike4mind/utils": "2.6.
|
|
117
|
+
"@bike4mind/common": "2.51.1-feat-user-selectable-reasoning-effort.19153+674ebb2ce",
|
|
118
|
+
"@bike4mind/mcp": "1.30.1-feat-user-selectable-reasoning-effort.19153+674ebb2ce",
|
|
119
|
+
"@bike4mind/services": "2.49.1-feat-user-selectable-reasoning-effort.19153+674ebb2ce",
|
|
120
|
+
"@bike4mind/utils": "2.6.1-feat-user-selectable-reasoning-effort.19153+674ebb2ce",
|
|
121
121
|
"@types/better-sqlite3": "^7.6.13",
|
|
122
122
|
"@types/diff": "^5.0.9",
|
|
123
123
|
"@types/jsonwebtoken": "^9.0.4",
|
|
@@ -135,5 +135,5 @@
|
|
|
135
135
|
"optionalDependencies": {
|
|
136
136
|
"@vscode/ripgrep": "^1.17.0"
|
|
137
137
|
},
|
|
138
|
-
"gitHead": "
|
|
138
|
+
"gitHead": "674ebb2ce7bf2c5dea91833a7f6aba676b8312a0"
|
|
139
139
|
}
|