@bike4mind/cli 0.2.11 → 0.2.12-ctrl-c-clear-input.17412

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.
package/README.md CHANGED
@@ -9,8 +9,10 @@ Interactive command-line interface for Bike4Mind with ReAct agents.
9
9
  - 💾 Session persistence
10
10
  - 🛠️ B4M tools + MCP integration
11
11
  - 🎨 Rich terminal UI with Ink
12
+ - 🖼️ Image paste and drag-and-drop support (iTerm2, Kitty)
12
13
  - 🐛 Debug logging with `--verbose` flag
13
14
  - 📄 Context file loading (CLAUDE.md, AGENTS.md, AI.md)
15
+ - 📁 File references with `@` autocomplete
14
16
 
15
17
  ## Installation
16
18
 
@@ -36,6 +38,25 @@ From the project root:
36
38
  pnpm install
37
39
  ```
38
40
 
41
+ #### Build Requirements
42
+
43
+ The CLI uses native dependencies (`better-sqlite3` for image caching, `sharp` for image processing) that require compilation. These should build automatically during installation, but if you encounter errors:
44
+
45
+ **Prerequisites:**
46
+ - Python 3 (required by node-gyp)
47
+ - C++ compiler (Xcode Command Line Tools on macOS, build-essential on Linux, Visual Studio on Windows)
48
+
49
+ **Manual rebuild if needed:**
50
+ ```bash
51
+ # If you see "Could not locate the bindings file" errors
52
+ pnpm rebuild better-sqlite3
53
+
54
+ # Or rebuild all native modules
55
+ pnpm rebuild
56
+ ```
57
+
58
+ **Note:** The postinstall script will automatically rebuild `better-sqlite3` if the native bindings are missing, so manual intervention is rarely needed.
59
+
39
60
  ## Usage
40
61
 
41
62
  ### Start Interactive Session
@@ -1,5 +1,4 @@
1
1
  #!/usr/bin/env node
2
- import "./chunk-PDX44BCA.js";
3
2
 
4
3
  // src/storage/ImageStore.ts
5
4
  import { createHash } from "crypto";
@@ -2,7 +2,6 @@
2
2
  import {
3
3
  CurationArtifactType
4
4
  } from "./chunk-OHR7UCTC.js";
5
- import "./chunk-PDX44BCA.js";
6
5
 
7
6
  // ../../b4m-core/packages/services/dist/src/notebookCurationService/artifactExtractor.js
8
7
  var ARTIFACT_TAG_REGEX = /<artifact\s+(.*?)>([\s\S]*?)<\/artifact>/gi;
@@ -7,7 +7,7 @@ import {
7
7
  getSettingsMap,
8
8
  getSettingsValue,
9
9
  secureParameters
10
- } from "./chunk-BU5TP3BH.js";
10
+ } from "./chunk-INYINU6X.js";
11
11
  import {
12
12
  KnowledgeType,
13
13
  SupportedFabFileMimeTypes
File without changes
File without changes
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  Logger
4
- } from "./chunk-AMDXHL6S.js";
4
+ } from "./chunk-OCYRD7D6.js";
5
5
  import {
6
6
  BedrockEmbeddingModel,
7
7
  ChatModels,
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  BadRequestError,
4
4
  secureParameters
5
- } from "./chunk-BU5TP3BH.js";
5
+ } from "./chunk-INYINU6X.js";
6
6
  import {
7
7
  GenericCreditDeductTransaction,
8
8
  ImageEditUsageTransaction,
@@ -160,7 +160,7 @@ var notifyEventLogsToSlack = async ({ event, stage, slackUrl, throttlingSlackUrl
160
160
  if (!allowedStages.includes(stage))
161
161
  return;
162
162
  const logEvents = logData.logEvents;
163
- const { notificationDeduplicator: notificationDeduplicator2 } = await import("./notificationDeduplicator-UW7D75QS.js");
163
+ const { notificationDeduplicator: notificationDeduplicator2 } = await import("./notificationDeduplicator-UTHJHMSZ.js");
164
164
  for (const logEvent of logEvents) {
165
165
  try {
166
166
  let message;
File without changes
@@ -6,7 +6,7 @@ import {
6
6
  getSettingsByNames,
7
7
  obfuscateApiKey,
8
8
  secureParameters
9
- } from "./chunk-BU5TP3BH.js";
9
+ } from "./chunk-INYINU6X.js";
10
10
  import {
11
11
  ApiKeyType,
12
12
  MementoTier,
@@ -2,11 +2,10 @@
2
2
  import {
3
3
  createFabFile,
4
4
  createFabFileSchema
5
- } from "./chunk-RJFNIMVH.js";
6
- import "./chunk-BU5TP3BH.js";
7
- import "./chunk-AMDXHL6S.js";
5
+ } from "./chunk-7N7AZPLK.js";
6
+ import "./chunk-INYINU6X.js";
7
+ import "./chunk-OCYRD7D6.js";
8
8
  import "./chunk-OHR7UCTC.js";
9
- import "./chunk-PDX44BCA.js";
10
9
  export {
11
10
  createFabFile,
12
11
  createFabFileSchema
@@ -2,7 +2,6 @@
2
2
  import {
3
3
  FormatConverter
4
4
  } from "./chunk-BPFEGDC7.js";
5
- import "./chunk-PDX44BCA.js";
6
5
  export {
7
6
  FormatConverter
8
7
  };