@bike4mind/cli 0.2.29-feat-quantum-optimize-architecture.18871 → 0.2.29-feat-quantum-optimize-architecture.18874

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.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  CurationArtifactType
4
- } from "./chunk-GH7WML2Y.js";
4
+ } from "./chunk-KISWANWA.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;
@@ -15,7 +15,7 @@ import {
15
15
  dayjsConfig_default,
16
16
  extractSnippetMeta,
17
17
  settingsMap
18
- } from "./chunk-GH7WML2Y.js";
18
+ } from "./chunk-KISWANWA.js";
19
19
  import {
20
20
  Logger
21
21
  } from "./chunk-OCYRD7D6.js";
@@ -7,11 +7,11 @@ import {
7
7
  getSettingsMap,
8
8
  getSettingsValue,
9
9
  secureParameters
10
- } from "./chunk-547RJT7E.js";
10
+ } from "./chunk-H66G775W.js";
11
11
  import {
12
12
  KnowledgeType,
13
13
  SupportedFabFileMimeTypes
14
- } from "./chunk-GH7WML2Y.js";
14
+ } from "./chunk-KISWANWA.js";
15
15
 
16
16
  // ../../b4m-core/packages/services/dist/src/fabFileService/create.js
17
17
  import { z } from "zod";
@@ -8384,12 +8384,21 @@ function getViewSummaryForLLM(options) {
8384
8384
  const sections = Object.entries(grouped).map(([section, lines]) => `[${section}]
8385
8385
  ${lines.join("\n")}`).join("\n\n");
8386
8386
  return [
8387
- "You have a navigate_view tool that renders inline navigation buttons in your response.",
8388
- "ALWAYS call navigate_view when your answer relates to a topic that has a dedicated view below.",
8389
- "For example: if the user asks about scheduling, call navigate_view with opti.scheduling.",
8390
- "If the user asks about user management, call navigate_view with admin.users.",
8391
- "The user sees clickable buttons \u2014 they choose whether to navigate. You are suggesting, not forcing.",
8392
- "Call navigate_view IN ADDITION TO your normal text answer \u2014 answer the question AND suggest navigation.",
8387
+ "# MANDATORY: navigate_view Tool Usage",
8388
+ "",
8389
+ "You have a navigate_view tool that renders clickable navigation buttons in your response.",
8390
+ "",
8391
+ "RULE: If your response mentions or relates to ANY view listed below, you MUST call the navigate_view tool.",
8392
+ "Do NOT just mention a view in text \u2014 you MUST also call the tool so the user sees a clickable button.",
8393
+ "Call navigate_view AND write your text answer. Both. Every time.",
8394
+ "",
8395
+ "Example \u2014 if the user asks about scheduling:",
8396
+ '1. Call navigate_view with suggestions: [{viewId: "opti.scheduling", reason: "Try scheduling algorithms here"}]',
8397
+ "2. AND write your text answer about scheduling",
8398
+ "",
8399
+ "Example \u2014 if the user asks about user management:",
8400
+ '1. Call navigate_view with suggestions: [{viewId: "admin.users", reason: "Manage user accounts"}]',
8401
+ "2. AND write your text answer about user management",
8393
8402
  "",
8394
8403
  sections
8395
8404
  ].join("\n");
@@ -6,12 +6,12 @@ import {
6
6
  getSettingsByNames,
7
7
  obfuscateApiKey,
8
8
  secureParameters
9
- } from "./chunk-547RJT7E.js";
9
+ } from "./chunk-H66G775W.js";
10
10
  import {
11
11
  ApiKeyType,
12
12
  MementoTier,
13
13
  isSupportedEmbeddingModel
14
- } from "./chunk-GH7WML2Y.js";
14
+ } from "./chunk-KISWANWA.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-547RJT7E.js";
5
+ } from "./chunk-H66G775W.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-GH7WML2Y.js";
15
+ } from "./chunk-KISWANWA.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-FEFLQUYE.js";
6
- import "./chunk-547RJT7E.js";
7
- import "./chunk-GH7WML2Y.js";
5
+ } from "./chunk-KFGSOQ6A.js";
6
+ import "./chunk-H66G775W.js";
7
+ import "./chunk-KISWANWA.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-EOI7PPLF.js";
8
+ } from "./chunk-MHDNMNRT.js";
9
9
  import {
10
10
  ConfigStore,
11
11
  logger
@@ -14,8 +14,8 @@ import {
14
14
  selectActiveBackgroundAgents,
15
15
  useCliStore
16
16
  } from "./chunk-TVW4ZESU.js";
17
- import "./chunk-NHJWP54K.js";
18
- import "./chunk-FEFLQUYE.js";
17
+ import "./chunk-Z7V2ITXT.js";
18
+ import "./chunk-KFGSOQ6A.js";
19
19
  import {
20
20
  BFLImageService,
21
21
  BaseStorage,
@@ -27,7 +27,7 @@ import {
27
27
  OpenAIBackend,
28
28
  OpenAIImageService,
29
29
  XAIImageService
30
- } from "./chunk-547RJT7E.js";
30
+ } from "./chunk-H66G775W.js";
31
31
  import {
32
32
  AiEvents,
33
33
  ApiKeyEvents,
@@ -85,7 +85,7 @@ import {
85
85
  getMcpProviderMetadata,
86
86
  getViewById,
87
87
  resolveNavigationIntents
88
- } from "./chunk-GH7WML2Y.js";
88
+ } from "./chunk-KISWANWA.js";
89
89
  import {
90
90
  Logger
91
91
  } from "./chunk-OCYRD7D6.js";
@@ -14800,7 +14800,7 @@ import { isAxiosError as isAxiosError2 } from "axios";
14800
14800
  // package.json
14801
14801
  var package_default = {
14802
14802
  name: "@bike4mind/cli",
14803
- version: "0.2.29-feat-quantum-optimize-architecture.18871+3669c40b5",
14803
+ version: "0.2.29-feat-quantum-optimize-architecture.18874+82a8467e8",
14804
14804
  type: "module",
14805
14805
  description: "Interactive CLI tool for Bike4Mind with ReAct agents",
14806
14806
  license: "UNLICENSED",
@@ -14910,10 +14910,10 @@ var package_default = {
14910
14910
  },
14911
14911
  devDependencies: {
14912
14912
  "@bike4mind/agents": "0.1.0",
14913
- "@bike4mind/common": "2.50.1-feat-quantum-optimize-architecture.18871+3669c40b5",
14914
- "@bike4mind/mcp": "1.29.1-feat-quantum-optimize-architecture.18871+3669c40b5",
14915
- "@bike4mind/services": "2.48.1-feat-quantum-optimize-architecture.18871+3669c40b5",
14916
- "@bike4mind/utils": "2.5.1-feat-quantum-optimize-architecture.18871+3669c40b5",
14913
+ "@bike4mind/common": "2.50.1-feat-quantum-optimize-architecture.18874+82a8467e8",
14914
+ "@bike4mind/mcp": "1.29.1-feat-quantum-optimize-architecture.18874+82a8467e8",
14915
+ "@bike4mind/services": "2.48.1-feat-quantum-optimize-architecture.18874+82a8467e8",
14916
+ "@bike4mind/utils": "2.5.1-feat-quantum-optimize-architecture.18874+82a8467e8",
14917
14917
  "@types/better-sqlite3": "^7.6.13",
14918
14918
  "@types/diff": "^5.0.9",
14919
14919
  "@types/jsonwebtoken": "^9.0.4",
@@ -14930,7 +14930,7 @@ var package_default = {
14930
14930
  optionalDependencies: {
14931
14931
  "@vscode/ripgrep": "^1.17.0"
14932
14932
  },
14933
- gitHead: "3669c40b5167f563b4c4207045320159f2316981"
14933
+ gitHead: "82a8467e84278bfa5936caca6151ec288d4c769b"
14934
14934
  };
14935
14935
 
14936
14936
  // src/config/constants.ts
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  CurationArtifactType
4
- } from "./chunk-GH7WML2Y.js";
4
+ } from "./chunk-KISWANWA.js";
5
5
 
6
6
  // ../../b4m-core/packages/services/dist/src/notebookCurationService/llmMarkdownGenerator.js
7
7
  var DEFAULT_OPTIONS = {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  CurationArtifactType
4
- } from "./chunk-GH7WML2Y.js";
4
+ } from "./chunk-KISWANWA.js";
5
5
 
6
6
  // ../../b4m-core/packages/services/dist/src/notebookCurationService/markdownGenerator.js
7
7
  var DEFAULT_OPTIONS = {
@@ -2,9 +2,9 @@
2
2
  import {
3
3
  findMostSimilarMemento,
4
4
  getRelevantMementos
5
- } from "./chunk-EOI7PPLF.js";
6
- import "./chunk-547RJT7E.js";
7
- import "./chunk-GH7WML2Y.js";
5
+ } from "./chunk-MHDNMNRT.js";
6
+ import "./chunk-H66G775W.js";
7
+ import "./chunk-KISWANWA.js";
8
8
  import "./chunk-OCYRD7D6.js";
9
9
  export {
10
10
  findMostSimilarMemento,
@@ -345,7 +345,7 @@ import {
345
345
  validateReactArtifactV2,
346
346
  validateSvgArtifactV2,
347
347
  wikiMarkupToAdf
348
- } from "./chunk-GH7WML2Y.js";
348
+ } from "./chunk-KISWANWA.js";
349
349
  export {
350
350
  ALL_IMAGE_MODELS,
351
351
  ALL_IMAGE_SIZES,
@@ -134,8 +134,8 @@ import {
134
134
  validateMermaidSyntax,
135
135
  warmUpSettingsCache,
136
136
  withRetry
137
- } from "./chunk-547RJT7E.js";
138
- import "./chunk-GH7WML2Y.js";
137
+ } from "./chunk-H66G775W.js";
138
+ import "./chunk-KISWANWA.js";
139
139
  import {
140
140
  Logger,
141
141
  NotificationDeduplicator,
@@ -2,9 +2,9 @@
2
2
  import {
3
3
  SubtractCreditsSchema,
4
4
  subtractCredits
5
- } from "./chunk-NHJWP54K.js";
6
- import "./chunk-547RJT7E.js";
7
- import "./chunk-GH7WML2Y.js";
5
+ } from "./chunk-Z7V2ITXT.js";
6
+ import "./chunk-H66G775W.js";
7
+ import "./chunk-KISWANWA.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.29-feat-quantum-optimize-architecture.18871+3669c40b5",
3
+ "version": "0.2.29-feat-quantum-optimize-architecture.18874+82a8467e8",
4
4
  "type": "module",
5
5
  "description": "Interactive CLI tool for Bike4Mind with ReAct agents",
6
6
  "license": "UNLICENSED",
@@ -110,10 +110,10 @@
110
110
  },
111
111
  "devDependencies": {
112
112
  "@bike4mind/agents": "0.1.0",
113
- "@bike4mind/common": "2.50.1-feat-quantum-optimize-architecture.18871+3669c40b5",
114
- "@bike4mind/mcp": "1.29.1-feat-quantum-optimize-architecture.18871+3669c40b5",
115
- "@bike4mind/services": "2.48.1-feat-quantum-optimize-architecture.18871+3669c40b5",
116
- "@bike4mind/utils": "2.5.1-feat-quantum-optimize-architecture.18871+3669c40b5",
113
+ "@bike4mind/common": "2.50.1-feat-quantum-optimize-architecture.18874+82a8467e8",
114
+ "@bike4mind/mcp": "1.29.1-feat-quantum-optimize-architecture.18874+82a8467e8",
115
+ "@bike4mind/services": "2.48.1-feat-quantum-optimize-architecture.18874+82a8467e8",
116
+ "@bike4mind/utils": "2.5.1-feat-quantum-optimize-architecture.18874+82a8467e8",
117
117
  "@types/better-sqlite3": "^7.6.13",
118
118
  "@types/diff": "^5.0.9",
119
119
  "@types/jsonwebtoken": "^9.0.4",
@@ -130,5 +130,5 @@
130
130
  "optionalDependencies": {
131
131
  "@vscode/ripgrep": "^1.17.0"
132
132
  },
133
- "gitHead": "3669c40b5167f563b4c4207045320159f2316981"
133
+ "gitHead": "82a8467e84278bfa5936caca6151ec288d4c769b"
134
134
  }