@bike4mind/cli 0.2.29-fix-dall-e-3-legacy-model-fallback.18760 → 0.2.29-fix-edit-image.18761

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-V432FC2W.js";
4
+ } from "./chunk-XJRPAAUS.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;
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  BadRequestError,
4
4
  secureParameters
5
- } from "./chunk-2RR3K566.js";
5
+ } from "./chunk-UNOJBVD2.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-V432FC2W.js";
15
+ } from "./chunk-XJRPAAUS.js";
16
16
 
17
17
  // ../../b4m-core/packages/services/dist/src/creditService/subtractCredits.js
18
18
  import { z } from "zod";
@@ -15,7 +15,7 @@ import {
15
15
  dayjsConfig_default,
16
16
  extractSnippetMeta,
17
17
  settingsMap
18
- } from "./chunk-V432FC2W.js";
18
+ } from "./chunk-XJRPAAUS.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-2RR3K566.js";
9
+ } from "./chunk-UNOJBVD2.js";
10
10
  import {
11
11
  ApiKeyType,
12
12
  MementoTier,
13
13
  isSupportedEmbeddingModel
14
- } from "./chunk-V432FC2W.js";
14
+ } from "./chunk-XJRPAAUS.js";
15
15
 
16
16
  // ../../b4m-core/packages/services/dist/src/apiKeyService/get.js
17
17
  import { z } from "zod";
@@ -1982,13 +1982,9 @@ var OPENAI_IMAGE_QUALITIES = ["standard", "hd", "low", "medium", "high"];
1982
1982
  var OpenAIImageQualitySchema = z16.enum(OPENAI_IMAGE_QUALITIES);
1983
1983
  var OPENAI_IMAGE_STYLES = ["vivid", "natural"];
1984
1984
  var OpenAIImageStyleSchema = z16.enum(OPENAI_IMAGE_STYLES);
1985
- var LEGACY_IMAGE_MODEL_MAP = {
1986
- "dall-e-3": ImageModels.GPT_IMAGE_1,
1987
- "dall-e-2": ImageModels.GPT_IMAGE_1
1988
- };
1989
1985
  var OpenAIImageGenerationInput = z16.object({
1990
1986
  prompt: z16.string(),
1991
- model: z16.preprocess((val) => typeof val === "string" && Object.prototype.hasOwnProperty.call(LEGACY_IMAGE_MODEL_MAP, val) ? LEGACY_IMAGE_MODEL_MAP[val] : val, z16.enum(ALL_IMAGE_MODELS)),
1987
+ model: z16.enum(ALL_IMAGE_MODELS),
1992
1988
  n: z16.number().min(1).max(10).optional(),
1993
1989
  quality: OpenAIImageQualitySchema.optional(),
1994
1990
  response_format: z16.enum(["b64_json", "url"]).optional(),
@@ -7961,7 +7957,6 @@ export {
7961
7957
  OpenAIImageQualitySchema,
7962
7958
  OPENAI_IMAGE_STYLES,
7963
7959
  OpenAIImageStyleSchema,
7964
- LEGACY_IMAGE_MODEL_MAP,
7965
7960
  OpenAIImageGenerationInput,
7966
7961
  PASSWORD_RULES,
7967
7962
  PASSWORD_ERROR_MESSAGES,
@@ -7,11 +7,11 @@ import {
7
7
  getSettingsMap,
8
8
  getSettingsValue,
9
9
  secureParameters
10
- } from "./chunk-2RR3K566.js";
10
+ } from "./chunk-UNOJBVD2.js";
11
11
  import {
12
12
  KnowledgeType,
13
13
  SupportedFabFileMimeTypes
14
- } from "./chunk-V432FC2W.js";
14
+ } from "./chunk-XJRPAAUS.js";
15
15
 
16
16
  // ../../b4m-core/packages/services/dist/src/fabFileService/create.js
17
17
  import { z } from "zod";
@@ -2,9 +2,9 @@
2
2
  import {
3
3
  createFabFile,
4
4
  createFabFileSchema
5
- } from "./chunk-G2NUY7AR.js";
6
- import "./chunk-2RR3K566.js";
7
- import "./chunk-V432FC2W.js";
5
+ } from "./chunk-ZEMWV6IR.js";
6
+ import "./chunk-UNOJBVD2.js";
7
+ import "./chunk-XJRPAAUS.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-QJHHIL6V.js";
8
+ } from "./chunk-VGYTNJXN.js";
9
9
  import {
10
10
  ConfigStore
11
11
  } from "./chunk-23T2XGSZ.js";
@@ -13,8 +13,8 @@ import {
13
13
  selectActiveBackgroundAgents,
14
14
  useCliStore
15
15
  } from "./chunk-TVW4ZESU.js";
16
- import "./chunk-OEKPLUG2.js";
17
- import "./chunk-G2NUY7AR.js";
16
+ import "./chunk-JJBDHUGY.js";
17
+ import "./chunk-ZEMWV6IR.js";
18
18
  import {
19
19
  BFLImageService,
20
20
  BaseStorage,
@@ -26,7 +26,7 @@ import {
26
26
  OpenAIBackend,
27
27
  OpenAIImageService,
28
28
  XAIImageService
29
- } from "./chunk-2RR3K566.js";
29
+ } from "./chunk-UNOJBVD2.js";
30
30
  import {
31
31
  AiEvents,
32
32
  ApiKeyEvents,
@@ -82,7 +82,7 @@ import {
82
82
  XAI_IMAGE_MODELS,
83
83
  b4mLLMTools,
84
84
  getMcpProviderMetadata
85
- } from "./chunk-V432FC2W.js";
85
+ } from "./chunk-XJRPAAUS.js";
86
86
  import {
87
87
  Logger
88
88
  } from "./chunk-OCYRD7D6.js";
@@ -13801,7 +13801,7 @@ import { isAxiosError as isAxiosError2 } from "axios";
13801
13801
  // package.json
13802
13802
  var package_default = {
13803
13803
  name: "@bike4mind/cli",
13804
- version: "0.2.29-fix-dall-e-3-legacy-model-fallback.18760+26707f3fb",
13804
+ version: "0.2.29-fix-edit-image.18761+91a22a30d",
13805
13805
  type: "module",
13806
13806
  description: "Interactive CLI tool for Bike4Mind with ReAct agents",
13807
13807
  license: "UNLICENSED",
@@ -13909,10 +13909,10 @@ var package_default = {
13909
13909
  },
13910
13910
  devDependencies: {
13911
13911
  "@bike4mind/agents": "0.1.0",
13912
- "@bike4mind/common": "2.50.1-fix-dall-e-3-legacy-model-fallback.18760+26707f3fb",
13913
- "@bike4mind/mcp": "1.29.1-fix-dall-e-3-legacy-model-fallback.18760+26707f3fb",
13914
- "@bike4mind/services": "2.48.1-fix-dall-e-3-legacy-model-fallback.18760+26707f3fb",
13915
- "@bike4mind/utils": "2.5.1-fix-dall-e-3-legacy-model-fallback.18760+26707f3fb",
13912
+ "@bike4mind/common": "2.50.1-fix-edit-image.18761+91a22a30d",
13913
+ "@bike4mind/mcp": "1.29.1-fix-edit-image.18761+91a22a30d",
13914
+ "@bike4mind/services": "2.48.1-fix-edit-image.18761+91a22a30d",
13915
+ "@bike4mind/utils": "2.5.1-fix-edit-image.18761+91a22a30d",
13916
13916
  "@types/better-sqlite3": "^7.6.13",
13917
13917
  "@types/diff": "^5.0.9",
13918
13918
  "@types/jsonwebtoken": "^9.0.4",
@@ -13929,7 +13929,7 @@ var package_default = {
13929
13929
  optionalDependencies: {
13930
13930
  "@vscode/ripgrep": "^1.17.0"
13931
13931
  },
13932
- gitHead: "26707f3fb10a53beaf276741d494610aea76c9a3"
13932
+ gitHead: "91a22a30dd33d687e77d4634e1b91039a599afb1"
13933
13933
  };
13934
13934
 
13935
13935
  // src/config/constants.ts
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  CurationArtifactType
4
- } from "./chunk-V432FC2W.js";
4
+ } from "./chunk-XJRPAAUS.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-V432FC2W.js";
4
+ } from "./chunk-XJRPAAUS.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-QJHHIL6V.js";
6
- import "./chunk-2RR3K566.js";
7
- import "./chunk-V432FC2W.js";
5
+ } from "./chunk-VGYTNJXN.js";
6
+ import "./chunk-UNOJBVD2.js";
7
+ import "./chunk-XJRPAAUS.js";
8
8
  import "./chunk-OCYRD7D6.js";
9
9
  export {
10
10
  findMostSimilarMemento,
@@ -112,7 +112,6 @@ import {
112
112
  JIRA_MAX_ATTACHMENT_SIZE,
113
113
  JiraApi,
114
114
  KnowledgeType,
115
- LEGACY_IMAGE_MODEL_MAP,
116
115
  LIVEOPS_TRIAGE_VALIDATION_LIMITS,
117
116
  LLMApiRequestBodySchema,
118
117
  LLMEvents,
@@ -340,7 +339,7 @@ import {
340
339
  validateReactArtifactV2,
341
340
  validateSvgArtifactV2,
342
341
  wikiMarkupToAdf
343
- } from "./chunk-V432FC2W.js";
342
+ } from "./chunk-XJRPAAUS.js";
344
343
  export {
345
344
  ALL_IMAGE_MODELS,
346
345
  ALL_IMAGE_SIZES,
@@ -455,7 +454,6 @@ export {
455
454
  JIRA_MAX_ATTACHMENT_SIZE,
456
455
  JiraApi,
457
456
  KnowledgeType,
458
- LEGACY_IMAGE_MODEL_MAP,
459
457
  LIVEOPS_TRIAGE_VALIDATION_LIMITS,
460
458
  LLMApiRequestBodySchema,
461
459
  LLMEvents,
@@ -133,8 +133,8 @@ import {
133
133
  validateMermaidSyntax,
134
134
  warmUpSettingsCache,
135
135
  withRetry
136
- } from "./chunk-2RR3K566.js";
137
- import "./chunk-V432FC2W.js";
136
+ } from "./chunk-UNOJBVD2.js";
137
+ import "./chunk-XJRPAAUS.js";
138
138
  import {
139
139
  Logger,
140
140
  NotificationDeduplicator,
@@ -2,9 +2,9 @@
2
2
  import {
3
3
  SubtractCreditsSchema,
4
4
  subtractCredits
5
- } from "./chunk-OEKPLUG2.js";
6
- import "./chunk-2RR3K566.js";
7
- import "./chunk-V432FC2W.js";
5
+ } from "./chunk-JJBDHUGY.js";
6
+ import "./chunk-UNOJBVD2.js";
7
+ import "./chunk-XJRPAAUS.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-fix-dall-e-3-legacy-model-fallback.18760+26707f3fb",
3
+ "version": "0.2.29-fix-edit-image.18761+91a22a30d",
4
4
  "type": "module",
5
5
  "description": "Interactive CLI tool for Bike4Mind with ReAct agents",
6
6
  "license": "UNLICENSED",
@@ -108,10 +108,10 @@
108
108
  },
109
109
  "devDependencies": {
110
110
  "@bike4mind/agents": "0.1.0",
111
- "@bike4mind/common": "2.50.1-fix-dall-e-3-legacy-model-fallback.18760+26707f3fb",
112
- "@bike4mind/mcp": "1.29.1-fix-dall-e-3-legacy-model-fallback.18760+26707f3fb",
113
- "@bike4mind/services": "2.48.1-fix-dall-e-3-legacy-model-fallback.18760+26707f3fb",
114
- "@bike4mind/utils": "2.5.1-fix-dall-e-3-legacy-model-fallback.18760+26707f3fb",
111
+ "@bike4mind/common": "2.50.1-fix-edit-image.18761+91a22a30d",
112
+ "@bike4mind/mcp": "1.29.1-fix-edit-image.18761+91a22a30d",
113
+ "@bike4mind/services": "2.48.1-fix-edit-image.18761+91a22a30d",
114
+ "@bike4mind/utils": "2.5.1-fix-edit-image.18761+91a22a30d",
115
115
  "@types/better-sqlite3": "^7.6.13",
116
116
  "@types/diff": "^5.0.9",
117
117
  "@types/jsonwebtoken": "^9.0.4",
@@ -128,5 +128,5 @@
128
128
  "optionalDependencies": {
129
129
  "@vscode/ripgrep": "^1.17.0"
130
130
  },
131
- "gitHead": "26707f3fb10a53beaf276741d494610aea76c9a3"
131
+ "gitHead": "91a22a30dd33d687e77d4634e1b91039a599afb1"
132
132
  }