@bike4mind/cli 0.2.3 → 0.2.4-feat-questmaster-external-integrations.17091

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-WR6YZRQV.js";
4
+ } from "./chunk-PVLFZFW3.js";
5
5
  import "./chunk-PDX44BCA.js";
6
6
 
7
7
  // ../../b4m-core/packages/services/dist/src/notebookCurationService/artifactExtractor.js
@@ -16,7 +16,7 @@ import {
16
16
  dayjsConfig_default,
17
17
  extractSnippetMeta,
18
18
  settingsMap
19
- } from "./chunk-WR6YZRQV.js";
19
+ } from "./chunk-PVLFZFW3.js";
20
20
 
21
21
  // ../../b4m-core/packages/utils/dist/src/storage/S3Storage.js
22
22
  import { S3Client, PutObjectCommand, DeleteObjectCommand, GetObjectCommand, HeadObjectCommand } from "@aws-sdk/client-s3";
@@ -7,11 +7,11 @@ import {
7
7
  getSettingsMap,
8
8
  getSettingsValue,
9
9
  secureParameters
10
- } from "./chunk-LYNNVNEC.js";
10
+ } from "./chunk-2IW5ZJXR.js";
11
11
  import {
12
12
  KnowledgeType,
13
13
  SupportedFabFileMimeTypes
14
- } from "./chunk-WR6YZRQV.js";
14
+ } from "./chunk-PVLFZFW3.js";
15
15
 
16
16
  // ../../b4m-core/packages/services/dist/src/fabFileService/create.js
17
17
  import { z } from "zod";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  BadRequestError,
4
4
  secureParameters
5
- } from "./chunk-LYNNVNEC.js";
5
+ } from "./chunk-2IW5ZJXR.js";
6
6
  import {
7
7
  GenericCreditDeductTransaction,
8
8
  ImageEditUsageTransaction,
@@ -10,7 +10,7 @@ import {
10
10
  RealtimeVoiceUsageTransaction,
11
11
  TextGenerationUsageTransaction,
12
12
  TransferCreditTransaction
13
- } from "./chunk-WR6YZRQV.js";
13
+ } from "./chunk-PVLFZFW3.js";
14
14
 
15
15
  // ../../b4m-core/packages/services/dist/src/creditService/subtractCredits.js
16
16
  import { z } from "zod";
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -6,12 +6,12 @@ import {
6
6
  getSettingsByNames,
7
7
  obfuscateApiKey,
8
8
  secureParameters
9
- } from "./chunk-LYNNVNEC.js";
9
+ } from "./chunk-2IW5ZJXR.js";
10
10
  import {
11
11
  ApiKeyType,
12
12
  MementoTier,
13
13
  isSupportedEmbeddingModel
14
- } from "./chunk-WR6YZRQV.js";
14
+ } from "./chunk-PVLFZFW3.js";
15
15
 
16
16
  // ../../b4m-core/packages/services/dist/src/apiKeyService/get.js
17
17
  import { z } from "zod";
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  createFabFile,
4
4
  createFabFileSchema
5
- } from "./chunk-6AJODFPC.js";
6
- import "./chunk-LYNNVNEC.js";
5
+ } from "./chunk-3BPXGCV5.js";
6
+ import "./chunk-2IW5ZJXR.js";
7
7
  import "./chunk-AMDXHL6S.js";
8
- import "./chunk-WR6YZRQV.js";
8
+ import "./chunk-PVLFZFW3.js";
9
9
  import "./chunk-PDX44BCA.js";
10
10
  export {
11
11
  createFabFile,
File without changes
package/dist/index.js CHANGED
@@ -4,9 +4,9 @@ import {
4
4
  getEffectiveApiKey,
5
5
  getOpenWeatherKey,
6
6
  getSerperKey
7
- } from "./chunk-WNBKV4FX.js";
8
- import "./chunk-LEG2UM5Q.js";
9
- import "./chunk-6AJODFPC.js";
7
+ } from "./chunk-UHTQGQB4.js";
8
+ import "./chunk-7OJVF5WR.js";
9
+ import "./chunk-3BPXGCV5.js";
10
10
  import {
11
11
  BFLImageService,
12
12
  BaseStorage,
@@ -15,7 +15,7 @@ import {
15
15
  OpenAIBackend,
16
16
  OpenAIImageService,
17
17
  XAIImageService
18
- } from "./chunk-LYNNVNEC.js";
18
+ } from "./chunk-2IW5ZJXR.js";
19
19
  import {
20
20
  Logger
21
21
  } from "./chunk-AMDXHL6S.js";
@@ -73,7 +73,7 @@ import {
73
73
  XAI_IMAGE_MODELS,
74
74
  b4mLLMTools,
75
75
  getMcpProviderMetadata
76
- } from "./chunk-WR6YZRQV.js";
76
+ } from "./chunk-PVLFZFW3.js";
77
77
  import {
78
78
  __require
79
79
  } from "./chunk-PDX44BCA.js";
@@ -4094,6 +4094,16 @@ var updateQuestStatusSchema = z134.object({
4094
4094
  completionNote: z134.string().max(500).optional()
4095
4095
  });
4096
4096
 
4097
+ // ../../b4m-core/packages/services/dist/src/questMasterService/syncToGitHub.js
4098
+ import { z as z135 } from "zod";
4099
+ var syncToGitHubSchema = z135.object({
4100
+ repository: z135.string().regex(/^[^/]+\/[^/]+$/, "Repository must be in owner/repo format"),
4101
+ questId: z135.string().optional(),
4102
+ // Optional: sync specific quest, otherwise sync entire plan
4103
+ labels: z135.array(z135.string()).optional(),
4104
+ assignees: z135.array(z135.string()).optional()
4105
+ });
4106
+
4097
4107
  // ../../b4m-core/packages/services/dist/src/dataLakeService/opensearchClient.js
4098
4108
  import { Client } from "@opensearch-project/opensearch";
4099
4109
  import { defaultProvider } from "@aws-sdk/credential-provider-node";
@@ -4111,63 +4121,63 @@ import { v4 as uuidv44 } from "uuid";
4111
4121
  import { randomUUID as randomUUID5 } from "crypto";
4112
4122
 
4113
4123
  // ../../b4m-core/packages/services/dist/src/emailIngestionService/types.js
4114
- import { z as z135 } from "zod";
4115
- var processIngestedEmailOptionsSchema = z135.object({
4116
- platformDomain: z135.string().optional(),
4117
- isNewsletter: z135.boolean().optional()
4124
+ import { z as z136 } from "zod";
4125
+ var processIngestedEmailOptionsSchema = z136.object({
4126
+ platformDomain: z136.string().optional(),
4127
+ isNewsletter: z136.boolean().optional()
4118
4128
  }).optional();
4119
- var emailAttachmentSchema = z135.object({
4120
- filename: z135.string().optional(),
4121
- contentType: z135.string().optional(),
4122
- contentDisposition: z135.string().optional(),
4123
- size: z135.number().min(0),
4124
- content: z135.instanceof(Buffer),
4125
- related: z135.boolean().optional()
4126
- });
4127
- var parsedEmailObjectSchema = z135.object({
4128
- messageId: z135.string().optional(),
4129
- inReplyTo: z135.string().optional(),
4130
- references: z135.union([z135.string(), z135.array(z135.string())]).optional(),
4131
- from: z135.any().optional(),
4129
+ var emailAttachmentSchema = z136.object({
4130
+ filename: z136.string().optional(),
4131
+ contentType: z136.string().optional(),
4132
+ contentDisposition: z136.string().optional(),
4133
+ size: z136.number().min(0),
4134
+ content: z136.instanceof(Buffer),
4135
+ related: z136.boolean().optional()
4136
+ });
4137
+ var parsedEmailObjectSchema = z136.object({
4138
+ messageId: z136.string().optional(),
4139
+ inReplyTo: z136.string().optional(),
4140
+ references: z136.union([z136.string(), z136.array(z136.string())]).optional(),
4141
+ from: z136.any().optional(),
4132
4142
  // Complex email address object
4133
- to: z135.any().optional(),
4134
- cc: z135.any().optional(),
4135
- bcc: z135.any().optional(),
4136
- subject: z135.string().optional(),
4137
- date: z135.date().optional(),
4138
- text: z135.string().optional(),
4139
- html: z135.string().optional(),
4140
- attachments: z135.array(emailAttachmentSchema).optional()
4141
- });
4142
- var processIngestedEmailSchema = z135.object({
4143
+ to: z136.any().optional(),
4144
+ cc: z136.any().optional(),
4145
+ bcc: z136.any().optional(),
4146
+ subject: z136.string().optional(),
4147
+ date: z136.date().optional(),
4148
+ text: z136.string().optional(),
4149
+ html: z136.string().optional(),
4150
+ attachments: z136.array(emailAttachmentSchema).optional()
4151
+ });
4152
+ var processIngestedEmailSchema = z136.object({
4143
4153
  parsedEmail: parsedEmailObjectSchema,
4144
- rawEmailS3Key: z135.string().min(1, "rawEmailS3Key cannot be empty"),
4154
+ rawEmailS3Key: z136.string().min(1, "rawEmailS3Key cannot be empty"),
4145
4155
  options: processIngestedEmailOptionsSchema
4146
4156
  });
4147
4157
 
4148
4158
  // ../../b4m-core/packages/services/dist/src/emailAnalysisService/types.js
4149
- import { z as z136 } from "zod";
4150
- var llmAnalysisResponseSchema = z136.object({
4151
- summary: z136.string().min(1, "Summary cannot be empty"),
4152
- entities: z136.object({
4153
- companies: z136.array(z136.string()).default([]),
4154
- people: z136.array(z136.string()).default([]),
4155
- products: z136.array(z136.string()).default([]),
4156
- technologies: z136.array(z136.string()).default([])
4159
+ import { z as z137 } from "zod";
4160
+ var llmAnalysisResponseSchema = z137.object({
4161
+ summary: z137.string().min(1, "Summary cannot be empty"),
4162
+ entities: z137.object({
4163
+ companies: z137.array(z137.string()).default([]),
4164
+ people: z137.array(z137.string()).default([]),
4165
+ products: z137.array(z137.string()).default([]),
4166
+ technologies: z137.array(z137.string()).default([])
4157
4167
  }),
4158
- sentiment: z136.enum(["positive", "neutral", "negative", "urgent"]),
4159
- actionItems: z136.array(z136.object({
4160
- description: z136.string(),
4161
- deadline: z136.string().optional()
4168
+ sentiment: z137.enum(["positive", "neutral", "negative", "urgent"]),
4169
+ actionItems: z137.array(z137.object({
4170
+ description: z137.string(),
4171
+ deadline: z137.string().optional()
4162
4172
  // ISO date string from LLM
4163
4173
  })).default([]),
4164
- privacyRecommendation: z136.enum(["public", "team", "private"]),
4165
- embargoDetected: z136.boolean().default(false),
4166
- suggestedTags: z136.array(z136.string()).default([])
4174
+ privacyRecommendation: z137.enum(["public", "team", "private"]),
4175
+ embargoDetected: z137.boolean().default(false),
4176
+ suggestedTags: z137.array(z137.string()).default([])
4167
4177
  });
4168
4178
 
4169
4179
  // ../../b4m-core/packages/services/dist/src/llm/ChatCompletion.js
4170
- import { z as z138 } from "zod";
4180
+ import { z as z139 } from "zod";
4171
4181
 
4172
4182
  // ../../b4m-core/packages/services/dist/src/llm/ChatCompletionInvoke.js
4173
4183
  import { fromZodError } from "zod-validation-error";
@@ -5227,17 +5237,17 @@ var rechartsTool = {
5227
5237
  };
5228
5238
 
5229
5239
  // ../../b4m-core/packages/services/dist/src/llm/tools/implementation/editFile/index.js
5230
- import { z as z137 } from "zod";
5240
+ import { z as z138 } from "zod";
5231
5241
  import { diffLines as diffLines2 } from "diff";
5232
- var editFileSchema = z137.object({
5233
- fileId: z137.string().describe("The ID of the file to edit"),
5234
- instruction: z137.string().describe("Natural language instruction describing the changes to make"),
5235
- selection: z137.object({
5236
- start: z137.number().describe("Starting character position of the selection"),
5237
- end: z137.number().describe("Ending character position of the selection")
5242
+ var editFileSchema = z138.object({
5243
+ fileId: z138.string().describe("The ID of the file to edit"),
5244
+ instruction: z138.string().describe("Natural language instruction describing the changes to make"),
5245
+ selection: z138.object({
5246
+ start: z138.number().describe("Starting character position of the selection"),
5247
+ end: z138.number().describe("Ending character position of the selection")
5238
5248
  }).optional().describe("Optional selection range to edit within the file"),
5239
- preserveFormatting: z137.boolean().optional().default(true).describe("Whether to preserve the original formatting style"),
5240
- returnDiff: z137.boolean().optional().default(true).describe("Whether to return a diff of the changes")
5249
+ preserveFormatting: z138.boolean().optional().default(true).describe("Whether to preserve the original formatting style"),
5250
+ returnDiff: z138.boolean().optional().default(true).describe("Whether to return a diff of the changes")
5241
5251
  });
5242
5252
  function generateSimpleDiff(original, modified) {
5243
5253
  const differences = diffLines2(original, modified);
@@ -6996,8 +7006,8 @@ var getHeliocentricCoords = (planet, T) => {
6996
7006
  const sinNode = Math.sin(longNode);
6997
7007
  const x = r * (cosNode * cosOmega - sinNode * sinOmega * cosI);
6998
7008
  const y = r * (sinNode * cosOmega + cosNode * sinOmega * cosI);
6999
- const z144 = r * sinOmega * sinI;
7000
- return { x, y, z: z144, r };
7009
+ const z145 = r * sinOmega * sinI;
7010
+ return { x, y, z: z145, r };
7001
7011
  };
7002
7012
  var getGeocentricEcliptic = (planet, earth) => {
7003
7013
  const dx = planet.x - earth.x;
@@ -8022,42 +8032,42 @@ var DISABLE_SERVER_THROTTLING = process.env.DISABLE_SERVER_THROTTLING === "true"
8022
8032
  var questSaveMutex = new Mutex();
8023
8033
 
8024
8034
  // ../../b4m-core/packages/services/dist/src/llm/ChatCompletion.js
8025
- var QuestStartBodySchema = z138.object({
8026
- userId: z138.string(),
8027
- sessionId: z138.string(),
8028
- questId: z138.string(),
8029
- message: z138.string(),
8030
- messageFileIds: z138.array(z138.string()),
8031
- historyCount: z138.number(),
8032
- fabFileIds: z138.array(z138.string()),
8035
+ var QuestStartBodySchema = z139.object({
8036
+ userId: z139.string(),
8037
+ sessionId: z139.string(),
8038
+ questId: z139.string(),
8039
+ message: z139.string(),
8040
+ messageFileIds: z139.array(z139.string()),
8041
+ historyCount: z139.number(),
8042
+ fabFileIds: z139.array(z139.string()),
8033
8043
  params: ChatCompletionCreateInputSchema,
8034
8044
  dashboardParams: DashboardParamsSchema.optional(),
8035
- enableQuestMaster: z138.boolean().optional(),
8036
- enableMementos: z138.boolean().optional(),
8037
- enableArtifacts: z138.boolean().optional(),
8038
- enableAgents: z138.boolean().optional(),
8045
+ enableQuestMaster: z139.boolean().optional(),
8046
+ enableMementos: z139.boolean().optional(),
8047
+ enableArtifacts: z139.boolean().optional(),
8048
+ enableAgents: z139.boolean().optional(),
8039
8049
  promptMeta: PromptMetaZodSchema,
8040
- tools: z138.array(z138.union([b4mLLMTools, z138.string()])).optional(),
8041
- mcpServers: z138.array(z138.string()).optional(),
8042
- projectId: z138.string().optional(),
8043
- organizationId: z138.string().nullable().optional(),
8050
+ tools: z139.array(z139.union([b4mLLMTools, z139.string()])).optional(),
8051
+ mcpServers: z139.array(z139.string()).optional(),
8052
+ projectId: z139.string().optional(),
8053
+ organizationId: z139.string().nullable().optional(),
8044
8054
  questMaster: QuestMasterParamsSchema.optional(),
8045
- toolPromptId: z138.string().optional(),
8055
+ toolPromptId: z139.string().optional(),
8046
8056
  researchMode: ResearchModeParamsSchema.optional(),
8047
- fallbackModel: z138.string().optional(),
8048
- embeddingModel: z138.string().optional(),
8049
- queryComplexity: z138.string(),
8057
+ fallbackModel: z139.string().optional(),
8058
+ embeddingModel: z139.string().optional(),
8059
+ queryComplexity: z139.string(),
8050
8060
  imageConfig: GenerateImageToolCallSchema.optional(),
8051
- deepResearchConfig: z138.object({
8052
- maxDepth: z138.number().optional(),
8053
- duration: z138.number().optional(),
8061
+ deepResearchConfig: z139.object({
8062
+ maxDepth: z139.number().optional(),
8063
+ duration: z139.number().optional(),
8054
8064
  // Note: searchers are passed via ToolContext and not through this API schema
8055
- searchers: z138.array(z138.any()).optional()
8065
+ searchers: z139.array(z139.any()).optional()
8056
8066
  }).optional(),
8057
- extraContextMessages: z138.array(z138.object({
8058
- role: z138.enum(["user", "assistant", "system", "function", "tool"]),
8059
- content: z138.union([z138.string(), z138.array(z138.any())]),
8060
- fabFileIds: z138.array(z138.string()).optional()
8067
+ extraContextMessages: z139.array(z139.object({
8068
+ role: z139.enum(["user", "assistant", "system", "function", "tool"]),
8069
+ content: z139.union([z139.string(), z139.array(z139.any())]),
8070
+ fabFileIds: z139.array(z139.string()).optional()
8061
8071
  })).optional()
8062
8072
  });
8063
8073
 
@@ -8065,30 +8075,9 @@ var QuestStartBodySchema = z138.object({
8065
8075
  import axios8 from "axios";
8066
8076
  import { fileTypeFromBuffer as fileTypeFromBuffer4 } from "file-type";
8067
8077
  import { v4 as uuidv47 } from "uuid";
8068
- import { z as z139 } from "zod";
8078
+ import { z as z140 } from "zod";
8069
8079
  import { fromZodError as fromZodError2 } from "zod-validation-error";
8070
8080
  var ImageGenerationBodySchema = OpenAIImageGenerationInput.extend({
8071
- sessionId: z139.string(),
8072
- questId: z139.string(),
8073
- userId: z139.string(),
8074
- prompt: z139.string(),
8075
- safety_tolerance: z139.number().min(BFL_SAFETY_TOLERANCE.MIN).max(BFL_SAFETY_TOLERANCE.MAX).optional().default(BFL_SAFETY_TOLERANCE.DEFAULT),
8076
- prompt_upsampling: z139.boolean().optional().default(false),
8077
- seed: z139.number().nullable().optional(),
8078
- output_format: z139.enum(["jpeg", "png"]).nullable().optional().default("png"),
8079
- width: z139.number().optional(),
8080
- height: z139.number().optional(),
8081
- aspect_ratio: z139.string().optional(),
8082
- fabFileIds: z139.array(z139.string()).optional()
8083
- });
8084
-
8085
- // ../../b4m-core/packages/services/dist/src/llm/ImageEdit.js
8086
- import axios9 from "axios";
8087
- import { fileTypeFromBuffer as fileTypeFromBuffer5 } from "file-type";
8088
- import { v4 as uuidv48 } from "uuid";
8089
- import { z as z140 } from "zod";
8090
- import { fromZodError as fromZodError3 } from "zod-validation-error";
8091
- var ImageEditBodySchema = OpenAIImageGenerationInput.extend({
8092
8081
  sessionId: z140.string(),
8093
8082
  questId: z140.string(),
8094
8083
  userId: z140.string(),
@@ -8096,35 +8085,56 @@ var ImageEditBodySchema = OpenAIImageGenerationInput.extend({
8096
8085
  safety_tolerance: z140.number().min(BFL_SAFETY_TOLERANCE.MIN).max(BFL_SAFETY_TOLERANCE.MAX).optional().default(BFL_SAFETY_TOLERANCE.DEFAULT),
8097
8086
  prompt_upsampling: z140.boolean().optional().default(false),
8098
8087
  seed: z140.number().nullable().optional(),
8099
- output_format: z140.enum(["jpeg", "png"]).optional().default("png"),
8088
+ output_format: z140.enum(["jpeg", "png"]).nullable().optional().default("png"),
8100
8089
  width: z140.number().optional(),
8101
8090
  height: z140.number().optional(),
8102
8091
  aspect_ratio: z140.string().optional(),
8103
- size: z140.string().optional(),
8104
- fabFileIds: z140.array(z140.string()).optional(),
8105
- image: z140.string()
8092
+ fabFileIds: z140.array(z140.string()).optional()
8106
8093
  });
8107
8094
 
8108
- // ../../b4m-core/packages/services/dist/src/llm/refineText.js
8095
+ // ../../b4m-core/packages/services/dist/src/llm/ImageEdit.js
8096
+ import axios9 from "axios";
8097
+ import { fileTypeFromBuffer as fileTypeFromBuffer5 } from "file-type";
8098
+ import { v4 as uuidv48 } from "uuid";
8109
8099
  import { z as z141 } from "zod";
8110
- var refineTextLLMSchema = z141.object({
8111
- text: z141.string(),
8112
- context: z141.string().optional()
8100
+ import { fromZodError as fromZodError3 } from "zod-validation-error";
8101
+ var ImageEditBodySchema = OpenAIImageGenerationInput.extend({
8102
+ sessionId: z141.string(),
8103
+ questId: z141.string(),
8104
+ userId: z141.string(),
8105
+ prompt: z141.string(),
8106
+ safety_tolerance: z141.number().min(BFL_SAFETY_TOLERANCE.MIN).max(BFL_SAFETY_TOLERANCE.MAX).optional().default(BFL_SAFETY_TOLERANCE.DEFAULT),
8107
+ prompt_upsampling: z141.boolean().optional().default(false),
8108
+ seed: z141.number().nullable().optional(),
8109
+ output_format: z141.enum(["jpeg", "png"]).optional().default("png"),
8110
+ width: z141.number().optional(),
8111
+ height: z141.number().optional(),
8112
+ aspect_ratio: z141.string().optional(),
8113
+ size: z141.string().optional(),
8114
+ fabFileIds: z141.array(z141.string()).optional(),
8115
+ image: z141.string()
8116
+ });
8117
+
8118
+ // ../../b4m-core/packages/services/dist/src/llm/refineText.js
8119
+ import { z as z142 } from "zod";
8120
+ var refineTextLLMSchema = z142.object({
8121
+ text: z142.string(),
8122
+ context: z142.string().optional()
8113
8123
  // tone: z.enum(['formal', 'informal', 'neutral']).optional(),
8114
8124
  // style: z.enum(['technical', 'creative', 'academic', 'business', 'narrative']).optional(),
8115
8125
  });
8116
8126
 
8117
8127
  // ../../b4m-core/packages/services/dist/src/llm/MementoEvaluationService.js
8118
- import { z as z142 } from "zod";
8119
- var SingleMementoEvalSchema = z142.object({
8120
- importance: z142.number().min(1).max(10),
8128
+ import { z as z143 } from "zod";
8129
+ var SingleMementoEvalSchema = z143.object({
8130
+ importance: z143.number().min(1).max(10),
8121
8131
  // 1-10 scale for personal info importance
8122
- summary: z142.string(),
8123
- tags: z142.array(z142.string()).optional()
8132
+ summary: z143.string(),
8133
+ tags: z143.array(z143.string()).optional()
8124
8134
  });
8125
- var MementoEvalResponseSchema = z142.object({
8126
- isPersonal: z142.boolean(),
8127
- mementos: z142.array(SingleMementoEvalSchema).optional()
8135
+ var MementoEvalResponseSchema = z143.object({
8136
+ isPersonal: z143.boolean(),
8137
+ mementos: z143.array(SingleMementoEvalSchema).optional()
8128
8138
  // Array of distinct personal information
8129
8139
  });
8130
8140
 
@@ -8361,8 +8371,8 @@ function generateCliTools(userId, llm, model, permissionManager, showPermissionP
8361
8371
  }
8362
8372
 
8363
8373
  // src/config/toolSafety.ts
8364
- import { z as z143 } from "zod";
8365
- var ToolCategorySchema = z143.enum([
8374
+ import { z as z144 } from "zod";
8375
+ var ToolCategorySchema = z144.enum([
8366
8376
  "auto_approve",
8367
8377
  // Safe tools that run automatically without permission
8368
8378
  "prompt_always",
@@ -8370,9 +8380,9 @@ var ToolCategorySchema = z143.enum([
8370
8380
  "prompt_default"
8371
8381
  // Tools that prompt by default but can be trusted
8372
8382
  ]);
8373
- var ToolSafetyConfigSchema = z143.object({
8374
- categories: z143.record(z143.string(), ToolCategorySchema),
8375
- trustedTools: z143.array(z143.string())
8383
+ var ToolSafetyConfigSchema = z144.object({
8384
+ categories: z144.record(z144.string(), ToolCategorySchema),
8385
+ trustedTools: z144.array(z144.string())
8376
8386
  });
8377
8387
  var DEFAULT_TOOL_CATEGORIES = {
8378
8388
  // ===== AUTO APPROVE (Safe tools) =====
@@ -9402,7 +9412,7 @@ import { isAxiosError as isAxiosError2 } from "axios";
9402
9412
  // package.json
9403
9413
  var package_default = {
9404
9414
  name: "@bike4mind/cli",
9405
- version: "0.2.3",
9415
+ version: "0.2.4-feat-questmaster-external-integrations.17091+24971cf66",
9406
9416
  type: "module",
9407
9417
  description: "Interactive CLI tool for Bike4Mind with ReAct agents",
9408
9418
  license: "UNLICENSED",
@@ -9503,11 +9513,11 @@ var package_default = {
9503
9513
  zustand: "^4.5.4"
9504
9514
  },
9505
9515
  devDependencies: {
9506
- "@bike4mind/agents": "workspace:*",
9507
- "@bike4mind/common": "workspace:*",
9508
- "@bike4mind/mcp": "workspace:*",
9509
- "@bike4mind/services": "workspace:*",
9510
- "@bike4mind/utils": "workspace:*",
9516
+ "@bike4mind/agents": "0.1.0",
9517
+ "@bike4mind/common": "2.37.1-feat-questmaster-external-integrations.17091+24971cf66",
9518
+ "@bike4mind/mcp": "1.19.5-feat-questmaster-external-integrations.17091+24971cf66",
9519
+ "@bike4mind/services": "2.32.1-feat-questmaster-external-integrations.17091+24971cf66",
9520
+ "@bike4mind/utils": "2.1.1-feat-questmaster-external-integrations.17091+24971cf66",
9511
9521
  "@types/diff": "^5.0.9",
9512
9522
  "@types/jsonwebtoken": "^9.0.4",
9513
9523
  "@types/node": "^22.9.0",
@@ -9518,7 +9528,8 @@ var package_default = {
9518
9528
  tsx: "^4.21.0",
9519
9529
  typescript: "^5.9.3",
9520
9530
  vitest: "^3.2.4"
9521
- }
9531
+ },
9532
+ gitHead: "24971cf669cd36bdfb4f1ebe54b1d002b01defd3"
9522
9533
  };
9523
9534
 
9524
9535
  // src/config/constants.ts
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  CurationArtifactType
4
- } from "./chunk-WR6YZRQV.js";
4
+ } from "./chunk-PVLFZFW3.js";
5
5
  import "./chunk-PDX44BCA.js";
6
6
 
7
7
  // ../../b4m-core/packages/services/dist/src/notebookCurationService/llmMarkdownGenerator.js
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  CurationArtifactType
4
- } from "./chunk-WR6YZRQV.js";
4
+ } from "./chunk-PVLFZFW3.js";
5
5
  import "./chunk-PDX44BCA.js";
6
6
 
7
7
  // ../../b4m-core/packages/services/dist/src/notebookCurationService/markdownGenerator.js
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  findMostSimilarMemento,
4
4
  getRelevantMementos
5
- } from "./chunk-WNBKV4FX.js";
6
- import "./chunk-LYNNVNEC.js";
5
+ } from "./chunk-UHTQGQB4.js";
6
+ import "./chunk-2IW5ZJXR.js";
7
7
  import "./chunk-AMDXHL6S.js";
8
- import "./chunk-WR6YZRQV.js";
8
+ import "./chunk-PVLFZFW3.js";
9
9
  import "./chunk-PDX44BCA.js";
10
10
  export {
11
11
  findMostSimilarMemento,
File without changes
@@ -291,7 +291,7 @@ import {
291
291
  validateQuestMasterArtifactV2,
292
292
  validateReactArtifactV2,
293
293
  validateSvgArtifactV2
294
- } from "./chunk-WR6YZRQV.js";
294
+ } from "./chunk-PVLFZFW3.js";
295
295
  import "./chunk-PDX44BCA.js";
296
296
  export {
297
297
  ALL_IMAGE_MODELS,
@@ -120,7 +120,7 @@ import {
120
120
  validateMermaidSyntax,
121
121
  warmUpSettingsCache,
122
122
  withRetry
123
- } from "./chunk-LYNNVNEC.js";
123
+ } from "./chunk-2IW5ZJXR.js";
124
124
  import {
125
125
  Logger,
126
126
  NotificationDeduplicator,
@@ -129,7 +129,7 @@ import {
129
129
  postLowCreditsNotificationToSlack,
130
130
  postMessageToSlack
131
131
  } from "./chunk-AMDXHL6S.js";
132
- import "./chunk-WR6YZRQV.js";
132
+ import "./chunk-PVLFZFW3.js";
133
133
  import "./chunk-PDX44BCA.js";
134
134
  export {
135
135
  AWSBackend,
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  SubtractCreditsSchema,
4
4
  subtractCredits
5
- } from "./chunk-LEG2UM5Q.js";
6
- import "./chunk-LYNNVNEC.js";
5
+ } from "./chunk-7OJVF5WR.js";
6
+ import "./chunk-2IW5ZJXR.js";
7
7
  import "./chunk-AMDXHL6S.js";
8
- import "./chunk-WR6YZRQV.js";
8
+ import "./chunk-PVLFZFW3.js";
9
9
  import "./chunk-PDX44BCA.js";
10
10
  export {
11
11
  SubtractCreditsSchema,
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bike4mind/cli",
3
- "version": "0.2.3",
3
+ "version": "0.2.4-feat-questmaster-external-integrations.17091+24971cf66",
4
4
  "type": "module",
5
5
  "description": "Interactive CLI tool for Bike4Mind with ReAct agents",
6
6
  "license": "UNLICENSED",
@@ -30,6 +30,15 @@
30
30
  "dist",
31
31
  "bin"
32
32
  ],
33
+ "scripts": {
34
+ "dev": "tsx src/index.tsx",
35
+ "build": "tsup",
36
+ "typecheck": "tsc --noEmit",
37
+ "test": "vitest run",
38
+ "test:watch": "vitest",
39
+ "start": "node dist/index.js",
40
+ "prepublishOnly": "pnpm build"
41
+ },
33
42
  "dependencies": {
34
43
  "@anthropic-ai/sdk": "^0.22.0",
35
44
  "@aws-sdk/client-apigatewaymanagementapi": "3.654.0",
@@ -92,6 +101,11 @@
92
101
  "zustand": "^4.5.4"
93
102
  },
94
103
  "devDependencies": {
104
+ "@bike4mind/agents": "0.1.0",
105
+ "@bike4mind/common": "2.37.1-feat-questmaster-external-integrations.17091+24971cf66",
106
+ "@bike4mind/mcp": "1.19.5-feat-questmaster-external-integrations.17091+24971cf66",
107
+ "@bike4mind/services": "2.32.1-feat-questmaster-external-integrations.17091+24971cf66",
108
+ "@bike4mind/utils": "2.1.1-feat-questmaster-external-integrations.17091+24971cf66",
95
109
  "@types/diff": "^5.0.9",
96
110
  "@types/jsonwebtoken": "^9.0.4",
97
111
  "@types/node": "^22.9.0",
@@ -101,19 +115,7 @@
101
115
  "tsup": "^8.5.1",
102
116
  "tsx": "^4.21.0",
103
117
  "typescript": "^5.9.3",
104
- "vitest": "^3.2.4",
105
- "@bike4mind/agents": "0.1.0",
106
- "@bike4mind/common": "2.37.0",
107
- "@bike4mind/mcp": "1.19.4",
108
- "@bike4mind/services": "2.32.0",
109
- "@bike4mind/utils": "2.1.0"
118
+ "vitest": "^3.2.4"
110
119
  },
111
- "scripts": {
112
- "dev": "tsx src/index.tsx",
113
- "build": "tsup",
114
- "typecheck": "tsc --noEmit",
115
- "test": "vitest run",
116
- "test:watch": "vitest",
117
- "start": "node dist/index.js"
118
- }
119
- }
120
+ "gitHead": "24971cf669cd36bdfb4f1ebe54b1d002b01defd3"
121
+ }