@bike4mind/cli 0.2.31-feat-ui-side-effect-protocol.19578 → 0.2.31-feat-ui-side-effect-protocol.19580

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-ESPLGHLK.js";
4
+ } from "./chunk-5DI4ETBR.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;
@@ -1459,7 +1459,12 @@ var StreamedChatCompletionAction = z10.object({
1459
1459
  endTime: z10.number().optional()
1460
1460
  }).optional(),
1461
1461
  // Add fallback info to support backend fallback mechanism
1462
- fallbackInfo: FallbackInfoSchema.optional()
1462
+ fallbackInfo: FallbackInfoSchema.optional(),
1463
+ // UI side-effects dispatched on the client when streaming completes
1464
+ uiSideEffects: z10.array(z10.object({
1465
+ type: z10.string(),
1466
+ payload: z10.unknown()
1467
+ })).optional()
1463
1468
  }).partial().nullable()
1464
1469
  });
1465
1470
  var StreamedRapidReplyAction = z10.object({
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  BadRequestError,
4
4
  secureParameters
5
- } from "./chunk-ILVSGB7R.js";
5
+ } from "./chunk-KVOFAWVA.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-ESPLGHLK.js";
15
+ } from "./chunk-5DI4ETBR.js";
16
16
 
17
17
  // ../../b4m-core/packages/services/dist/src/creditService/subtractCredits.js
18
18
  import { z } from "zod";
@@ -16,7 +16,7 @@ import {
16
16
  dayjsConfig_default,
17
17
  extractSnippetMeta,
18
18
  settingsMap
19
- } from "./chunk-ESPLGHLK.js";
19
+ } from "./chunk-5DI4ETBR.js";
20
20
  import {
21
21
  Logger
22
22
  } from "./chunk-PFBYGCOW.js";
@@ -3,7 +3,7 @@
3
3
  // package.json
4
4
  var package_default = {
5
5
  name: "@bike4mind/cli",
6
- version: "0.2.31-feat-ui-side-effect-protocol.19578+67347cbf6",
6
+ version: "0.2.31-feat-ui-side-effect-protocol.19580+a3842a51b",
7
7
  type: "module",
8
8
  description: "Interactive CLI tool for Bike4Mind with ReAct agents",
9
9
  license: "UNLICENSED",
@@ -114,10 +114,10 @@ var package_default = {
114
114
  },
115
115
  devDependencies: {
116
116
  "@bike4mind/agents": "0.1.0",
117
- "@bike4mind/common": "2.52.1-feat-ui-side-effect-protocol.19578+67347cbf6",
118
- "@bike4mind/mcp": "1.31.1-feat-ui-side-effect-protocol.19578+67347cbf6",
119
- "@bike4mind/services": "2.50.1-feat-ui-side-effect-protocol.19578+67347cbf6",
120
- "@bike4mind/utils": "2.7.1-feat-ui-side-effect-protocol.19578+67347cbf6",
117
+ "@bike4mind/common": "2.52.1-feat-ui-side-effect-protocol.19580+a3842a51b",
118
+ "@bike4mind/mcp": "1.31.1-feat-ui-side-effect-protocol.19580+a3842a51b",
119
+ "@bike4mind/services": "2.50.1-feat-ui-side-effect-protocol.19580+a3842a51b",
120
+ "@bike4mind/utils": "2.7.1-feat-ui-side-effect-protocol.19580+a3842a51b",
121
121
  "@types/better-sqlite3": "^7.6.13",
122
122
  "@types/diff": "^5.0.9",
123
123
  "@types/jsonwebtoken": "^9.0.4",
@@ -138,7 +138,7 @@ var package_default = {
138
138
  optionalDependencies: {
139
139
  "@vscode/ripgrep": "^1.17.0"
140
140
  },
141
- gitHead: "67347cbf61bf48b9dd0f0347f677e84a89d76b7c"
141
+ gitHead: "a3842a51b1a3db364eaa0a3d7a40dd51838596a4"
142
142
  };
143
143
 
144
144
  // src/utils/updateChecker.ts
@@ -7,11 +7,11 @@ import {
7
7
  getSettingsMap,
8
8
  getSettingsValue,
9
9
  secureParameters
10
- } from "./chunk-ILVSGB7R.js";
10
+ } from "./chunk-KVOFAWVA.js";
11
11
  import {
12
12
  KnowledgeType,
13
13
  SupportedFabFileMimeTypes
14
- } from "./chunk-ESPLGHLK.js";
14
+ } from "./chunk-5DI4ETBR.js";
15
15
 
16
16
  // ../../b4m-core/packages/services/dist/src/fabFileService/create.js
17
17
  import { z } from "zod";
@@ -6,12 +6,12 @@ import {
6
6
  getSettingsByNames,
7
7
  obfuscateApiKey,
8
8
  secureParameters
9
- } from "./chunk-ILVSGB7R.js";
9
+ } from "./chunk-KVOFAWVA.js";
10
10
  import {
11
11
  ApiKeyType,
12
12
  MementoTier,
13
13
  isSupportedEmbeddingModel
14
- } from "./chunk-ESPLGHLK.js";
14
+ } from "./chunk-5DI4ETBR.js";
15
15
 
16
16
  // ../../b4m-core/packages/services/dist/src/apiKeyService/get.js
17
17
  import { z } from "zod";
@@ -3,7 +3,7 @@ import {
3
3
  fetchLatestVersion,
4
4
  forceCheckForUpdate,
5
5
  package_default
6
- } from "../chunk-6PST6ZSR.js";
6
+ } from "../chunk-OXCZIC6H.js";
7
7
 
8
8
  // src/commands/doctorCommand.ts
9
9
  import { execSync } from "child_process";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  forceCheckForUpdate,
4
4
  package_default
5
- } from "../chunk-6PST6ZSR.js";
5
+ } from "../chunk-OXCZIC6H.js";
6
6
 
7
7
  // src/commands/updateCommand.ts
8
8
  import { execSync } from "child_process";
@@ -2,9 +2,9 @@
2
2
  import {
3
3
  createFabFile,
4
4
  createFabFileSchema
5
- } from "./chunk-YKRJFQBG.js";
6
- import "./chunk-ILVSGB7R.js";
7
- import "./chunk-ESPLGHLK.js";
5
+ } from "./chunk-SLTFGIMB.js";
6
+ import "./chunk-KVOFAWVA.js";
7
+ import "./chunk-5DI4ETBR.js";
8
8
  import "./chunk-PFBYGCOW.js";
9
9
  export {
10
10
  createFabFile,
package/dist/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import "./chunk-GQGOWACU.js";
3
- import "./chunk-QR45CNCM.js";
4
- import "./chunk-YKRJFQBG.js";
3
+ import "./chunk-7KLKYZFS.js";
4
+ import "./chunk-SLTFGIMB.js";
5
5
  import "./chunk-BPFEGDC7.js";
6
6
  import "./chunk-BDQBOLYG.js";
7
7
  import {
8
8
  getEffectiveApiKey,
9
9
  getOpenWeatherKey,
10
10
  getSerperKey
11
- } from "./chunk-SZDM3SPY.js";
11
+ } from "./chunk-U44WHBF6.js";
12
12
  import {
13
13
  ConfigStore,
14
14
  logger
@@ -16,7 +16,7 @@ import {
16
16
  import {
17
17
  checkForUpdate,
18
18
  package_default
19
- } from "./chunk-6PST6ZSR.js";
19
+ } from "./chunk-OXCZIC6H.js";
20
20
  import {
21
21
  selectActiveBackgroundAgents,
22
22
  useCliStore
@@ -32,7 +32,7 @@ import {
32
32
  OpenAIBackend,
33
33
  OpenAIImageService,
34
34
  XAIImageService
35
- } from "./chunk-ILVSGB7R.js";
35
+ } from "./chunk-KVOFAWVA.js";
36
36
  import {
37
37
  AiEvents,
38
38
  ApiKeyEvents,
@@ -90,7 +90,7 @@ import {
90
90
  getMcpProviderMetadata,
91
91
  getViewById,
92
92
  resolveNavigationIntents
93
- } from "./chunk-ESPLGHLK.js";
93
+ } from "./chunk-5DI4ETBR.js";
94
94
  import {
95
95
  Logger
96
96
  } from "./chunk-PFBYGCOW.js";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  CurationArtifactType
4
- } from "./chunk-ESPLGHLK.js";
4
+ } from "./chunk-5DI4ETBR.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-ESPLGHLK.js";
4
+ } from "./chunk-5DI4ETBR.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-SZDM3SPY.js";
6
- import "./chunk-ILVSGB7R.js";
7
- import "./chunk-ESPLGHLK.js";
5
+ } from "./chunk-U44WHBF6.js";
6
+ import "./chunk-KVOFAWVA.js";
7
+ import "./chunk-5DI4ETBR.js";
8
8
  import "./chunk-PFBYGCOW.js";
9
9
  export {
10
10
  findMostSimilarMemento,
@@ -139,12 +139,12 @@ import {
139
139
  validateUrlForFetch,
140
140
  warmUpSettingsCache,
141
141
  withRetry
142
- } from "./chunk-ILVSGB7R.js";
142
+ } from "./chunk-KVOFAWVA.js";
143
143
  import {
144
144
  buildRateLimitLogEntry,
145
145
  isNearLimit,
146
146
  parseRateLimitHeaders
147
- } from "./chunk-ESPLGHLK.js";
147
+ } from "./chunk-5DI4ETBR.js";
148
148
  import {
149
149
  Logger,
150
150
  NotificationDeduplicator,
@@ -447,7 +447,7 @@ import {
447
447
  validateReactArtifactV2,
448
448
  validateSvgArtifactV2,
449
449
  wikiMarkupToAdf
450
- } from "./chunk-ESPLGHLK.js";
450
+ } from "./chunk-5DI4ETBR.js";
451
451
  export {
452
452
  ALL_IMAGE_MODELS,
453
453
  ALL_IMAGE_SIZES,
@@ -2,9 +2,9 @@
2
2
  import {
3
3
  SubtractCreditsSchema,
4
4
  subtractCredits
5
- } from "./chunk-QR45CNCM.js";
6
- import "./chunk-ILVSGB7R.js";
7
- import "./chunk-ESPLGHLK.js";
5
+ } from "./chunk-7KLKYZFS.js";
6
+ import "./chunk-KVOFAWVA.js";
7
+ import "./chunk-5DI4ETBR.js";
8
8
  import "./chunk-PFBYGCOW.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.31-feat-ui-side-effect-protocol.19578+67347cbf6",
3
+ "version": "0.2.31-feat-ui-side-effect-protocol.19580+a3842a51b",
4
4
  "type": "module",
5
5
  "description": "Interactive CLI tool for Bike4Mind with ReAct agents",
6
6
  "license": "UNLICENSED",
@@ -111,10 +111,10 @@
111
111
  },
112
112
  "devDependencies": {
113
113
  "@bike4mind/agents": "0.1.0",
114
- "@bike4mind/common": "2.52.1-feat-ui-side-effect-protocol.19578+67347cbf6",
115
- "@bike4mind/mcp": "1.31.1-feat-ui-side-effect-protocol.19578+67347cbf6",
116
- "@bike4mind/services": "2.50.1-feat-ui-side-effect-protocol.19578+67347cbf6",
117
- "@bike4mind/utils": "2.7.1-feat-ui-side-effect-protocol.19578+67347cbf6",
114
+ "@bike4mind/common": "2.52.1-feat-ui-side-effect-protocol.19580+a3842a51b",
115
+ "@bike4mind/mcp": "1.31.1-feat-ui-side-effect-protocol.19580+a3842a51b",
116
+ "@bike4mind/services": "2.50.1-feat-ui-side-effect-protocol.19580+a3842a51b",
117
+ "@bike4mind/utils": "2.7.1-feat-ui-side-effect-protocol.19580+a3842a51b",
118
118
  "@types/better-sqlite3": "^7.6.13",
119
119
  "@types/diff": "^5.0.9",
120
120
  "@types/jsonwebtoken": "^9.0.4",
@@ -135,5 +135,5 @@
135
135
  "optionalDependencies": {
136
136
  "@vscode/ripgrep": "^1.17.0"
137
137
  },
138
- "gitHead": "67347cbf61bf48b9dd0f0347f677e84a89d76b7c"
138
+ "gitHead": "a3842a51b1a3db364eaa0a3d7a40dd51838596a4"
139
139
  }