@bike4mind/cli 0.2.25-feat-cli-multi-agentic-workflow.18570 → 0.2.25-fix-anthropic-overloaded-fallback.18512

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-CRG4F6FD.js";
4
+ } from "./chunk-LOIWIBZT.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-CRG4F6FD.js";
4
+ } from "./chunk-LOIWIBZT.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-5FW543EJ.js";
6
- import "./chunk-5VVFGRCL.js";
7
- import "./chunk-CRG4F6FD.js";
5
+ } from "./chunk-AVRSLUKM.js";
6
+ import "./chunk-FPAQG7UF.js";
7
+ import "./chunk-LOIWIBZT.js";
8
8
  import "./chunk-OCYRD7D6.js";
9
9
  export {
10
10
  findMostSimilarMemento,
@@ -333,7 +333,7 @@ import {
333
333
  validateReactArtifactV2,
334
334
  validateSvgArtifactV2,
335
335
  wikiMarkupToAdf
336
- } from "./chunk-CRG4F6FD.js";
336
+ } from "./chunk-LOIWIBZT.js";
337
337
  export {
338
338
  ALL_IMAGE_MODELS,
339
339
  ALL_IMAGE_SIZES,
@@ -132,8 +132,8 @@ import {
132
132
  validateMermaidSyntax,
133
133
  warmUpSettingsCache,
134
134
  withRetry
135
- } from "./chunk-5VVFGRCL.js";
136
- import "./chunk-CRG4F6FD.js";
135
+ } from "./chunk-FPAQG7UF.js";
136
+ import "./chunk-LOIWIBZT.js";
137
137
  import {
138
138
  Logger,
139
139
  NotificationDeduplicator,
@@ -2,9 +2,9 @@
2
2
  import {
3
3
  SubtractCreditsSchema,
4
4
  subtractCredits
5
- } from "./chunk-RAI6IM62.js";
6
- import "./chunk-5VVFGRCL.js";
7
- import "./chunk-CRG4F6FD.js";
5
+ } from "./chunk-TCV7ZDDO.js";
6
+ import "./chunk-FPAQG7UF.js";
7
+ import "./chunk-LOIWIBZT.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.25-feat-cli-multi-agentic-workflow.18570+c1103d88b",
3
+ "version": "0.2.25-fix-anthropic-overloaded-fallback.18512+ac8340d9e",
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.47.2-feat-cli-multi-agentic-workflow.18570+c1103d88b",
112
- "@bike4mind/mcp": "1.28.1-feat-cli-multi-agentic-workflow.18570+c1103d88b",
113
- "@bike4mind/services": "2.45.2-feat-cli-multi-agentic-workflow.18570+c1103d88b",
114
- "@bike4mind/utils": "2.3.4-feat-cli-multi-agentic-workflow.18570+c1103d88b",
111
+ "@bike4mind/common": "2.47.2-fix-anthropic-overloaded-fallback.18512+ac8340d9e",
112
+ "@bike4mind/mcp": "1.28.1-fix-anthropic-overloaded-fallback.18512+ac8340d9e",
113
+ "@bike4mind/services": "2.45.2-fix-anthropic-overloaded-fallback.18512+ac8340d9e",
114
+ "@bike4mind/utils": "2.3.4-fix-anthropic-overloaded-fallback.18512+ac8340d9e",
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": "c1103d88bf83df1346c92cebd3116582d0ef4237"
131
+ "gitHead": "ac8340d9ed58ed34052c89b2e582c45a44271d9a"
132
132
  }
@@ -1,56 +0,0 @@
1
- ---
2
- description: Run and analyze test suites, identify failures, suggest fixes
3
- model: claude-3-5-haiku-20241022
4
- allowed-tools:
5
- - bash_execute
6
- - file_read
7
- - grep_search
8
- - glob_files
9
- - current_datetime
10
- denied-tools:
11
- - create_file
12
- - edit_file
13
- - delete_file
14
- - web_search
15
- - weather_info
16
- - blog_publish
17
- - blog_edit
18
- - blog_draft
19
- max-iterations:
20
- quick: 2
21
- medium: 5
22
- very_thorough: 8
23
- default-thoroughness: medium
24
- ---
25
-
26
- You are a test execution and analysis specialist. Your job is to run tests, analyze results, and identify failures.
27
-
28
- ## Focus Areas
29
- - Running test suites and individual test files
30
- - Analyzing test output for failures and errors
31
- - Identifying root causes of test failures
32
- - Suggesting targeted fixes
33
-
34
- ## Tool Usage
35
- You have read-only file access plus bash for running tests:
36
- - `bash_execute` - Run test commands (npm test, pnpm test, jest, pytest, etc.)
37
- - `file_read` - Read test files and source files to understand failures
38
- - `grep_search` - Search for related test patterns or error messages
39
- - `glob_files` - Find test files by pattern
40
-
41
- ## Strategy
42
- 1. Identify the test framework in use (check package.json, config files)
43
- 2. Run the requested tests using `bash_execute`
44
- 3. Parse output for failures, errors, and warnings
45
- 4. Read failing test files to understand what's being tested
46
- 5. Read source files referenced in stack traces
47
- 6. Provide clear diagnosis and fix suggestions
48
-
49
- ## Output Format
50
- Provide a structured summary:
51
- 1. **Test Results**: Pass/fail counts, which tests failed
52
- 2. **Failure Analysis**: For each failure - what failed, why, stack trace highlights
53
- 3. **Root Cause**: Likely cause of each failure
54
- 4. **Suggested Fixes**: Concrete code changes to fix failures
55
-
56
- Be precise with file:line references. Your summary will be used by the main agent.
@@ -1,92 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- // src/store/index.ts
4
- import { create } from "zustand";
5
- var useCliStore = create((set) => ({
6
- // Session state
7
- session: null,
8
- setSession: (session) => set({ session }),
9
- addMessage: (message) => set((state) => {
10
- if (!state.session) return state;
11
- return {
12
- session: {
13
- ...state.session,
14
- messages: [...state.session.messages, message],
15
- updatedAt: (/* @__PURE__ */ new Date()).toISOString()
16
- }
17
- };
18
- }),
19
- // Pending messages
20
- pendingMessages: [],
21
- addPendingMessage: (message) => set((state) => ({ pendingMessages: [...state.pendingMessages, message] })),
22
- updatePendingMessage: (index, message) => set((state) => {
23
- const updated = [...state.pendingMessages];
24
- updated[index] = message;
25
- return { pendingMessages: updated };
26
- }),
27
- clearPendingMessages: () => set({ pendingMessages: [] }),
28
- completePendingMessage: (index, finalMessage) => set((state) => {
29
- const pending = [...state.pendingMessages];
30
- pending.splice(index, 1);
31
- const session = state.session;
32
- if (!session) return { pendingMessages: pending };
33
- return {
34
- pendingMessages: pending,
35
- session: {
36
- ...session,
37
- messages: [...session.messages, finalMessage],
38
- updatedAt: (/* @__PURE__ */ new Date()).toISOString()
39
- }
40
- };
41
- }),
42
- // UI state
43
- isThinking: false,
44
- setIsThinking: (thinking) => set({ isThinking: thinking }),
45
- // Input state (for Ctrl+C clearing)
46
- inputValue: "",
47
- setInputValue: (value) => set({ inputValue: value }),
48
- clearInput: () => set({ inputValue: "" }),
49
- // Permission prompt queue
50
- permissionPrompt: null,
51
- permissionQueue: [],
52
- enqueuePermissionPrompt: (prompt) => set((state) => {
53
- if (!state.permissionPrompt) {
54
- return { permissionPrompt: prompt };
55
- }
56
- return { permissionQueue: [...state.permissionQueue, prompt] };
57
- }),
58
- dequeuePermissionPrompt: () => set((state) => {
59
- const [next, ...rest] = state.permissionQueue;
60
- return {
61
- permissionPrompt: next ?? null,
62
- permissionQueue: rest
63
- };
64
- }),
65
- // Config editor
66
- showConfigEditor: false,
67
- setShowConfigEditor: (show) => set({ showConfigEditor: show }),
68
- // MCP viewer
69
- showMcpViewer: false,
70
- setShowMcpViewer: (show) => set({ showMcpViewer: show }),
71
- // Auto-accept edits toggle (Shift+Tab)
72
- autoAcceptEdits: false,
73
- toggleAutoAcceptEdits: () => set((state) => ({ autoAcceptEdits: !state.autoAcceptEdits })),
74
- // Exit handling
75
- exitRequested: false,
76
- setExitRequested: (requested) => set({ exitRequested: requested }),
77
- // Background agents
78
- backgroundAgents: [],
79
- upsertBackgroundAgent: (job) => set((state) => {
80
- const existing = state.backgroundAgents.findIndex((j) => j.id === job.id);
81
- if (existing >= 0) {
82
- const updated = [...state.backgroundAgents];
83
- updated[existing] = job;
84
- return { backgroundAgents: updated };
85
- }
86
- return { backgroundAgents: [...state.backgroundAgents, job] };
87
- })
88
- }));
89
-
90
- export {
91
- useCliStore
92
- };
@@ -1,7 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- useCliStore
4
- } from "./chunk-BR4TEYYT.js";
5
- export {
6
- useCliStore
7
- };