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

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-KWFQVBM5.js";
4
+ } from "./chunk-GH7WML2Y.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-KWFQVBM5.js";
18
+ } from "./chunk-GH7WML2Y.js";
19
19
  import {
20
20
  Logger
21
21
  } from "./chunk-OCYRD7D6.js";
@@ -6,12 +6,12 @@ import {
6
6
  getSettingsByNames,
7
7
  obfuscateApiKey,
8
8
  secureParameters
9
- } from "./chunk-LNXAJTXS.js";
9
+ } from "./chunk-547RJT7E.js";
10
10
  import {
11
11
  ApiKeyType,
12
12
  MementoTier,
13
13
  isSupportedEmbeddingModel
14
- } from "./chunk-KWFQVBM5.js";
14
+ } from "./chunk-GH7WML2Y.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-LNXAJTXS.js";
10
+ } from "./chunk-547RJT7E.js";
11
11
  import {
12
12
  KnowledgeType,
13
13
  SupportedFabFileMimeTypes
14
- } from "./chunk-KWFQVBM5.js";
14
+ } from "./chunk-GH7WML2Y.js";
15
15
 
16
16
  // ../../b4m-core/packages/services/dist/src/fabFileService/create.js
17
17
  import { z } from "zod";
@@ -8383,9 +8383,16 @@ function getViewSummaryForLLM(options) {
8383
8383
  }
8384
8384
  const sections = Object.entries(grouped).map(([section, lines]) => `[${section}]
8385
8385
  ${lines.join("\n")}`).join("\n\n");
8386
- return `Available navigation views (use navigate_view tool to suggest these):
8387
-
8388
- ${sections}`;
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.",
8393
+ "",
8394
+ sections
8395
+ ].join("\n");
8389
8396
  }
8390
8397
  function resolveNavigationIntents(suggestions, isAdmin) {
8391
8398
  return suggestions.map((s) => {
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  BadRequestError,
4
4
  secureParameters
5
- } from "./chunk-LNXAJTXS.js";
5
+ } from "./chunk-547RJT7E.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-KWFQVBM5.js";
15
+ } from "./chunk-GH7WML2Y.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-PY7XRQ25.js";
6
- import "./chunk-LNXAJTXS.js";
7
- import "./chunk-KWFQVBM5.js";
5
+ } from "./chunk-FEFLQUYE.js";
6
+ import "./chunk-547RJT7E.js";
7
+ import "./chunk-GH7WML2Y.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-TAEL5CAS.js";
8
+ } from "./chunk-EOI7PPLF.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-SZ243CHW.js";
18
- import "./chunk-PY7XRQ25.js";
17
+ import "./chunk-NHJWP54K.js";
18
+ import "./chunk-FEFLQUYE.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-LNXAJTXS.js";
30
+ } from "./chunk-547RJT7E.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-KWFQVBM5.js";
88
+ } from "./chunk-GH7WML2Y.js";
89
89
  import {
90
90
  Logger
91
91
  } from "./chunk-OCYRD7D6.js";
@@ -10944,7 +10944,7 @@ var navigateViewTool = {
10944
10944
  },
10945
10945
  toolSchema: {
10946
10946
  name: "navigate_view",
10947
- description: "Suggest navigation to relevant app views based on the conversation context. Returns inline action buttons the user can click to navigate. Use when the user asks about a topic that has a dedicated view, or when showing them where to go would be helpful. Do NOT use for every response \u2014 only when navigation adds value.",
10947
+ description: "Suggest navigation to relevant app views. Returns inline action buttons the user can click. ALWAYS use this tool when your response discusses a topic that has a matching view (e.g., scheduling \u2192 opti.scheduling, user management \u2192 admin.users). Call this tool alongside your text answer \u2014 answer the question AND suggest where to go.",
10948
10948
  parameters: {
10949
10949
  type: "object",
10950
10950
  properties: {
@@ -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.18870+b55c38ee4",
14803
+ version: "0.2.29-feat-quantum-optimize-architecture.18871+3669c40b5",
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.18870+b55c38ee4",
14914
- "@bike4mind/mcp": "1.29.1-feat-quantum-optimize-architecture.18870+b55c38ee4",
14915
- "@bike4mind/services": "2.48.1-feat-quantum-optimize-architecture.18870+b55c38ee4",
14916
- "@bike4mind/utils": "2.5.1-feat-quantum-optimize-architecture.18870+b55c38ee4",
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",
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: "b55c38ee4eeb208483b2c6dec5a6a78cdf2cda37"
14933
+ gitHead: "3669c40b5167f563b4c4207045320159f2316981"
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-KWFQVBM5.js";
4
+ } from "./chunk-GH7WML2Y.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-KWFQVBM5.js";
4
+ } from "./chunk-GH7WML2Y.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-TAEL5CAS.js";
6
- import "./chunk-LNXAJTXS.js";
7
- import "./chunk-KWFQVBM5.js";
5
+ } from "./chunk-EOI7PPLF.js";
6
+ import "./chunk-547RJT7E.js";
7
+ import "./chunk-GH7WML2Y.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-KWFQVBM5.js";
348
+ } from "./chunk-GH7WML2Y.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-LNXAJTXS.js";
138
- import "./chunk-KWFQVBM5.js";
137
+ } from "./chunk-547RJT7E.js";
138
+ import "./chunk-GH7WML2Y.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-SZ243CHW.js";
6
- import "./chunk-LNXAJTXS.js";
7
- import "./chunk-KWFQVBM5.js";
5
+ } from "./chunk-NHJWP54K.js";
6
+ import "./chunk-547RJT7E.js";
7
+ import "./chunk-GH7WML2Y.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.18870+b55c38ee4",
3
+ "version": "0.2.29-feat-quantum-optimize-architecture.18871+3669c40b5",
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.18870+b55c38ee4",
114
- "@bike4mind/mcp": "1.29.1-feat-quantum-optimize-architecture.18870+b55c38ee4",
115
- "@bike4mind/services": "2.48.1-feat-quantum-optimize-architecture.18870+b55c38ee4",
116
- "@bike4mind/utils": "2.5.1-feat-quantum-optimize-architecture.18870+b55c38ee4",
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",
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": "b55c38ee4eeb208483b2c6dec5a6a78cdf2cda37"
133
+ "gitHead": "3669c40b5167f563b4c4207045320159f2316981"
134
134
  }