@bike4mind/cli 0.2.36-refactoring-session-bottom.20073 → 0.2.36

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-63ROENM5.js";
4
+ } from "./chunk-EY65E4W4.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;
@@ -19,7 +19,7 @@ import {
19
19
  dayjsConfig_default,
20
20
  extractSnippetMeta,
21
21
  settingsMap
22
- } from "./chunk-63ROENM5.js";
22
+ } from "./chunk-EY65E4W4.js";
23
23
 
24
24
  // ../../b4m-core/packages/utils/dist/src/storage/S3Storage.js
25
25
  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-PM52YZNY.js";
10
+ } from "./chunk-5YLGNW2B.js";
11
11
  import {
12
12
  KnowledgeType,
13
13
  SupportedFabFileMimeTypes
14
- } from "./chunk-63ROENM5.js";
14
+ } from "./chunk-EY65E4W4.js";
15
15
 
16
16
  // ../../b4m-core/packages/services/dist/src/fabFileService/create.js
17
17
  import { z } from "zod";
@@ -9170,7 +9170,17 @@ var atlassianDescriptions = {
9170
9170
  jira_get_current_user: "Get information about the currently authenticated Jira user. Returns user account details.",
9171
9171
  jira_list_watchers: "Get all watchers for a Jira issue. Returns the list of users watching the issue and the total watcher count.",
9172
9172
  jira_add_watcher: "Add a user as a watcher to a Jira issue. Requires the user's Atlassian account ID.",
9173
- jira_remove_watcher: "Remove a watcher from a Jira issue. Requires the user's Atlassian account ID."
9173
+ jira_remove_watcher: "Remove a watcher from a Jira issue. Requires the user's Atlassian account ID.",
9174
+ // Jira Attachment tools
9175
+ jira_list_attachments: "List all attachments on a Jira issue. Returns filenames, sizes, MIME types, authors, and download URLs.",
9176
+ jira_upload_attachment: "Upload a file attachment to a Jira issue. Supports Slack files and base64-encoded content (max 20MB).",
9177
+ jira_download_attachment: "Download a Jira attachment by ID. Returns base64-encoded content.",
9178
+ jira_delete_attachment: "\u26A0\uFE0F DESTRUCTIVE PREVIEW-FIRST TOOL: ALWAYS call TWICE. First call: MUST use confirmed=false (or omit) to show preview. Second call: Use confirmed=true ONLY after user explicitly confirms. Delete an attachment from a Jira issue.",
9179
+ // Confluence Attachment tools
9180
+ confluence_list_attachments: "List all attachments on a Confluence page. Returns filenames, sizes, and MIME types.",
9181
+ confluence_upload_attachment: "Upload a file to a Confluence page. Supports Slack files and base64 (max 25MB). Auto-embeds in page.",
9182
+ confluence_download_attachment: "Download a Confluence attachment by ID. Returns base64-encoded content.",
9183
+ confluence_delete_attachment: "\u26A0\uFE0F DESTRUCTIVE PREVIEW-FIRST TOOL: ALWAYS call TWICE. First call: MUST use confirmed=false (or omit) to show preview. Second call: Use confirmed=true ONLY after user explicitly confirms. Delete an attachment from a Confluence page."
9174
9184
  };
9175
9185
  var MCP_PROVIDER_METADATA = {
9176
9186
  atlassian: {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  ChatModels
4
- } from "./chunk-63ROENM5.js";
4
+ } from "./chunk-EY65E4W4.js";
5
5
  import {
6
6
  DEFAULT_SANDBOX_CONFIG
7
7
  } from "./chunk-4BIBE3J7.js";
@@ -3,7 +3,7 @@
3
3
  // package.json
4
4
  var package_default = {
5
5
  name: "@bike4mind/cli",
6
- version: "0.2.36-refactoring-session-bottom.20073+15c5711af",
6
+ version: "0.2.36",
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.57.1-refactoring-session-bottom.20073+15c5711af",
118
- "@bike4mind/mcp": "1.32.5-refactoring-session-bottom.20073+15c5711af",
119
- "@bike4mind/services": "2.54.1-refactoring-session-bottom.20073+15c5711af",
120
- "@bike4mind/utils": "2.10.1-refactoring-session-bottom.20073+15c5711af",
117
+ "@bike4mind/common": "2.58.0",
118
+ "@bike4mind/mcp": "1.32.5",
119
+ "@bike4mind/services": "2.54.1",
120
+ "@bike4mind/utils": "2.11.0",
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: "15c5711af43eb8ee5b49fed1aa46befc04117681"
141
+ gitHead: "06f1ccd1ed28502c0fd1de725763584658e9c014"
142
142
  };
143
143
 
144
144
  // src/utils/updateChecker.ts
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  BadRequestError,
4
4
  secureParameters
5
- } from "./chunk-PM52YZNY.js";
5
+ } from "./chunk-5YLGNW2B.js";
6
6
  import {
7
7
  CompletionApiUsageTransaction,
8
8
  GenericCreditDeductTransaction,
@@ -13,7 +13,7 @@ import {
13
13
  ToolUsageTransaction,
14
14
  TransferCreditTransaction,
15
15
  VideoGenerationUsageTransaction
16
- } from "./chunk-63ROENM5.js";
16
+ } from "./chunk-EY65E4W4.js";
17
17
 
18
18
  // ../../b4m-core/packages/services/dist/src/creditService/subtractCredits.js
19
19
  import { z } from "zod";
@@ -6,12 +6,12 @@ import {
6
6
  getSettingsByNames,
7
7
  obfuscateApiKey,
8
8
  secureParameters
9
- } from "./chunk-PM52YZNY.js";
9
+ } from "./chunk-5YLGNW2B.js";
10
10
  import {
11
11
  ApiKeyType,
12
12
  MementoTier,
13
13
  isSupportedEmbeddingModel
14
- } from "./chunk-63ROENM5.js";
14
+ } from "./chunk-EY65E4W4.js";
15
15
 
16
16
  // ../../b4m-core/packages/services/dist/src/apiKeyService/get.js
17
17
  import { z } from "zod";
@@ -4,7 +4,7 @@ import {
4
4
  getOpenWeatherKey,
5
5
  getSerperKey,
6
6
  getWolframAlphaKey
7
- } from "./chunk-CWQT33O7.js";
7
+ } from "./chunk-NJQYWIDJ.js";
8
8
  import {
9
9
  BFLImageService,
10
10
  BaseStorage,
@@ -16,14 +16,14 @@ import {
16
16
  OpenAIBackend,
17
17
  OpenAIImageService,
18
18
  XAIImageService
19
- } from "./chunk-PM52YZNY.js";
19
+ } from "./chunk-5YLGNW2B.js";
20
20
  import {
21
21
  Logger
22
22
  } from "./chunk-PFBYGCOW.js";
23
23
  import {
24
24
  ConfigStore,
25
25
  logger
26
- } from "./chunk-WVER5CH6.js";
26
+ } from "./chunk-H7RVLAQD.js";
27
27
  import {
28
28
  AiEvents,
29
29
  ApiKeyEvents,
@@ -80,7 +80,7 @@ import {
80
80
  getMcpProviderMetadata,
81
81
  getViewById,
82
82
  resolveNavigationIntents
83
- } from "./chunk-63ROENM5.js";
83
+ } from "./chunk-EY65E4W4.js";
84
84
 
85
85
  // src/utils/fileSearch.ts
86
86
  import * as fs from "fs";
@@ -13328,7 +13328,7 @@ Focus on actionable, specific feedback referencing exact code locations. Your re
13328
13328
  // ../../b4m-core/packages/services/dist/src/llm/agents/ProjectManagerAgent.js
13329
13329
  var ProjectManagerAgent = (config) => ({
13330
13330
  name: "project_manager",
13331
- description: "Project management via Jira and Confluence (create issues, search, update status, write docs). ALWAYS delegate Jira/Confluence requests to this agent \u2014 you do not have direct access to these tools",
13331
+ description: "Project management via Jira and Confluence (create issues, search, update status, manage attachments, write docs). ALWAYS delegate Jira/Confluence requests to this agent \u2014 you do not have direct access to these tools",
13332
13332
  model: config?.model ?? ChatModels.CLAUDE_4_6_SONNET_BEDROCK,
13333
13333
  fallbackModels: [ChatModels.GPT4_1, ChatModels.GPT4_1_MINI],
13334
13334
  defaultThoroughness: config?.defaultThoroughness ?? "medium",
@@ -13345,11 +13345,13 @@ var ProjectManagerAgent = (config) => ({
13345
13345
  - Create, update, and transition issues
13346
13346
  - Add comments and manage watchers
13347
13347
  - List projects and issue types
13348
+ - List, upload, download, and delete attachments on issues
13348
13349
 
13349
13350
  ### Confluence
13350
13351
  - Search for documentation
13351
13352
  - Create and update pages
13352
13353
  - Browse spaces and page hierarchies
13354
+ - List, upload, download, and delete attachments on pages
13353
13355
 
13354
13356
  ### Account & Identity
13355
13357
  - Check connected Jira account using \`atlassian__jira_get_current_user\`
@@ -13364,6 +13366,7 @@ var ProjectManagerAgent = (config) => ({
13364
13366
  5. Always confirm destructive operations (delete) with the user before proceeding
13365
13367
  6. When asked about the connected Atlassian account call BOTH \`atlassian__jira_get_current_user\` and \`atlassian__confluence_get_current_user\` to show the full picture. Present results clearly labeled by product, and note if either service is not connected. NEVER say you don't have access to account information \u2014 you DO have these tools.
13366
13368
  7. When asked specifically about "Jira account" or "Confluence account" only, use the respective tool alone.
13369
+ 8. When asked about attachments, ALWAYS use the attachment tools \u2014 never guess or fabricate attachment details. For uploading files shared in Slack, pass the \`fabFileId\` from the message context to \`atlassian__jira_upload_attachment\` or \`atlassian__confluence_upload_attachment\`.
13367
13370
 
13368
13371
  ## Output Format
13369
13372
  Provide a clear summary of actions taken:
@@ -3,7 +3,7 @@ import {
3
3
  fetchLatestVersion,
4
4
  forceCheckForUpdate,
5
5
  package_default
6
- } from "../chunk-YZHI4OMS.js";
6
+ } from "../chunk-HEUKY54H.js";
7
7
 
8
8
  // src/commands/doctorCommand.ts
9
9
  import { execSync } from "child_process";
@@ -36,20 +36,20 @@ import {
36
36
  isReadOnlyTool,
37
37
  loadContextFiles,
38
38
  setWebSocketToolExecutor
39
- } from "../chunk-JK3Q5D7C.js";
39
+ } from "../chunk-XIB66EG7.js";
40
40
  import "../chunk-BDQBOLYG.js";
41
- import "../chunk-CWQT33O7.js";
41
+ import "../chunk-NJQYWIDJ.js";
42
42
  import "../chunk-GQGOWACU.js";
43
- import "../chunk-GZG3IO24.js";
44
- import "../chunk-TNQWQTD7.js";
45
- import "../chunk-PM52YZNY.js";
43
+ import "../chunk-LJG44UT3.js";
44
+ import "../chunk-AOP6RYDY.js";
45
+ import "../chunk-5YLGNW2B.js";
46
46
  import "../chunk-PFBYGCOW.js";
47
47
  import "../chunk-BPFEGDC7.js";
48
48
  import {
49
49
  ConfigStore,
50
50
  logger
51
- } from "../chunk-WVER5CH6.js";
52
- import "../chunk-63ROENM5.js";
51
+ } from "../chunk-H7RVLAQD.js";
52
+ import "../chunk-EY65E4W4.js";
53
53
  import {
54
54
  DEFAULT_SANDBOX_CONFIG
55
55
  } from "../chunk-4BIBE3J7.js";
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  ConfigStore
4
- } from "../chunk-WVER5CH6.js";
5
- import "../chunk-63ROENM5.js";
4
+ } from "../chunk-H7RVLAQD.js";
5
+ import "../chunk-EY65E4W4.js";
6
6
  import "../chunk-4BIBE3J7.js";
7
7
 
8
8
  // src/commands/mcpCommand.ts
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  forceCheckForUpdate,
4
4
  package_default
5
- } from "../chunk-YZHI4OMS.js";
5
+ } from "../chunk-HEUKY54H.js";
6
6
 
7
7
  // src/commands/updateCommand.ts
8
8
  import { execSync } from "child_process";
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  createFabFile,
4
4
  createFabFileSchema
5
- } from "./chunk-TNQWQTD7.js";
6
- import "./chunk-PM52YZNY.js";
5
+ } from "./chunk-AOP6RYDY.js";
6
+ import "./chunk-5YLGNW2B.js";
7
7
  import "./chunk-PFBYGCOW.js";
8
- import "./chunk-63ROENM5.js";
8
+ import "./chunk-EY65E4W4.js";
9
9
  export {
10
10
  createFabFile,
11
11
  createFabFileSchema
package/dist/index.js CHANGED
@@ -46,23 +46,23 @@ import {
46
46
  setWebSocketToolExecutor,
47
47
  substituteArguments,
48
48
  warmFileCache
49
- } from "./chunk-JK3Q5D7C.js";
49
+ } from "./chunk-XIB66EG7.js";
50
50
  import "./chunk-BDQBOLYG.js";
51
- import "./chunk-CWQT33O7.js";
51
+ import "./chunk-NJQYWIDJ.js";
52
52
  import "./chunk-GQGOWACU.js";
53
- import "./chunk-GZG3IO24.js";
54
- import "./chunk-TNQWQTD7.js";
55
- import "./chunk-PM52YZNY.js";
53
+ import "./chunk-LJG44UT3.js";
54
+ import "./chunk-AOP6RYDY.js";
55
+ import "./chunk-5YLGNW2B.js";
56
56
  import "./chunk-PFBYGCOW.js";
57
57
  import "./chunk-BPFEGDC7.js";
58
58
  import {
59
59
  ConfigStore,
60
60
  logger
61
- } from "./chunk-WVER5CH6.js";
61
+ } from "./chunk-H7RVLAQD.js";
62
62
  import {
63
63
  checkForUpdate,
64
64
  package_default
65
- } from "./chunk-YZHI4OMS.js";
65
+ } from "./chunk-HEUKY54H.js";
66
66
  import {
67
67
  selectActiveBackgroundAgents,
68
68
  useCliStore
@@ -70,7 +70,7 @@ import {
70
70
  import {
71
71
  CREDIT_DEDUCT_TRANSACTION_TYPES,
72
72
  ChatModels
73
- } from "./chunk-63ROENM5.js";
73
+ } from "./chunk-EY65E4W4.js";
74
74
  import "./chunk-4BIBE3J7.js";
75
75
 
76
76
  // src/index.tsx
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  CurationArtifactType
4
- } from "./chunk-63ROENM5.js";
4
+ } from "./chunk-EY65E4W4.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-63ROENM5.js";
4
+ } from "./chunk-EY65E4W4.js";
5
5
 
6
6
  // ../../b4m-core/packages/services/dist/src/notebookCurationService/markdownGenerator.js
7
7
  var DEFAULT_OPTIONS = {
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  findMostSimilarMemento,
4
4
  getRelevantMementos
5
- } from "./chunk-CWQT33O7.js";
6
- import "./chunk-PM52YZNY.js";
5
+ } from "./chunk-NJQYWIDJ.js";
6
+ import "./chunk-5YLGNW2B.js";
7
7
  import "./chunk-PFBYGCOW.js";
8
- import "./chunk-63ROENM5.js";
8
+ import "./chunk-EY65E4W4.js";
9
9
  export {
10
10
  findMostSimilarMemento,
11
11
  getRelevantMementos
@@ -139,7 +139,7 @@ import {
139
139
  validateUrlForFetch,
140
140
  warmUpSettingsCache,
141
141
  withRetry
142
- } from "./chunk-PM52YZNY.js";
142
+ } from "./chunk-5YLGNW2B.js";
143
143
  import {
144
144
  Logger,
145
145
  NotificationDeduplicator,
@@ -152,7 +152,7 @@ import {
152
152
  buildRateLimitLogEntry,
153
153
  isNearLimit,
154
154
  parseRateLimitHeaders
155
- } from "./chunk-63ROENM5.js";
155
+ } from "./chunk-EY65E4W4.js";
156
156
  export {
157
157
  AIVideoService,
158
158
  AWSBackend,
@@ -457,7 +457,7 @@ import {
457
457
  validateReactArtifactV2,
458
458
  validateSvgArtifactV2,
459
459
  wikiMarkupToAdf
460
- } from "./chunk-63ROENM5.js";
460
+ } from "./chunk-EY65E4W4.js";
461
461
  export {
462
462
  ALL_IMAGE_MODELS,
463
463
  ALL_IMAGE_SIZES,
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  SubtractCreditsSchema,
4
4
  subtractCredits
5
- } from "./chunk-GZG3IO24.js";
6
- import "./chunk-PM52YZNY.js";
5
+ } from "./chunk-LJG44UT3.js";
6
+ import "./chunk-5YLGNW2B.js";
7
7
  import "./chunk-PFBYGCOW.js";
8
- import "./chunk-63ROENM5.js";
8
+ import "./chunk-EY65E4W4.js";
9
9
  export {
10
10
  SubtractCreditsSchema,
11
11
  subtractCredits
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bike4mind/cli",
3
- "version": "0.2.36-refactoring-session-bottom.20073+15c5711af",
3
+ "version": "0.2.36",
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.57.1-refactoring-session-bottom.20073+15c5711af",
115
- "@bike4mind/mcp": "1.32.5-refactoring-session-bottom.20073+15c5711af",
116
- "@bike4mind/services": "2.54.1-refactoring-session-bottom.20073+15c5711af",
117
- "@bike4mind/utils": "2.10.1-refactoring-session-bottom.20073+15c5711af",
114
+ "@bike4mind/common": "2.58.0",
115
+ "@bike4mind/mcp": "1.32.5",
116
+ "@bike4mind/services": "2.54.1",
117
+ "@bike4mind/utils": "2.11.0",
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": "15c5711af43eb8ee5b49fed1aa46befc04117681"
138
+ "gitHead": "06f1ccd1ed28502c0fd1de725763584658e9c014"
139
139
  }