@bike4mind/cli 0.2.32 → 0.2.33-feat-liveops-triage-schedule.19796
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/dist/{artifactExtractor-RYUIMC5D.js → artifactExtractor-6HLRSHSX.js} +1 -1
- package/dist/{chunk-ORRROOHQ.js → chunk-6HW3OAKZ.js} +2 -2
- package/dist/{chunk-QHCGCQ72.js → chunk-7KE3Z7AQ.js} +22 -1
- package/dist/{chunk-2EHXPCA7.js → chunk-7MTO5TCR.js} +2 -2
- package/dist/{chunk-74UKS7VY.js → chunk-IH6JJOIK.js} +6 -6
- package/dist/{chunk-ZOM2E3PC.js → chunk-ZFMLVPSR.js} +1 -1
- package/dist/{chunk-RPIEKKLZ.js → chunk-ZJH6ONUB.js} +2 -2
- package/dist/commands/doctorCommand.js +1 -1
- package/dist/commands/updateCommand.js +1 -1
- package/dist/{create-BT3CXRUU.js → create-QJL3ZXIQ.js} +3 -3
- package/dist/index.js +9 -9
- package/dist/{llmMarkdownGenerator-6OOBQEVD.js → llmMarkdownGenerator-DUCYLWJZ.js} +1 -1
- package/dist/{markdownGenerator-GQVNEMMH.js → markdownGenerator-ZC75Z73G.js} +1 -1
- package/dist/{mementoService-WTBF5FL5.js → mementoService-C4A55SAI.js} +3 -3
- package/dist/{src-GIZDQW3O.js → src-CMKYG5AW.js} +2 -2
- package/dist/{src-4VYAJBH3.js → src-DN7UNU5U.js} +1 -1
- package/dist/{subtractCredits-4V4LSJD4.js → subtractCredits-NJ5JHJMB.js} +3 -3
- package/package.json +6 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
CurationArtifactType
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7KE3Z7AQ.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;
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
getSettingsByNames,
|
|
7
7
|
obfuscateApiKey,
|
|
8
8
|
secureParameters
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZFMLVPSR.js";
|
|
10
10
|
import {
|
|
11
11
|
ApiKeyType,
|
|
12
12
|
MementoTier,
|
|
13
13
|
isSupportedEmbeddingModel
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7KE3Z7AQ.js";
|
|
15
15
|
|
|
16
16
|
// ../../b4m-core/packages/services/dist/src/apiKeyService/get.js
|
|
17
17
|
import { z } from "zod";
|
|
@@ -2826,7 +2826,11 @@ var LIVEOPS_TRIAGE_VALIDATION_LIMITS = {
|
|
|
2826
2826
|
maxTokens: { min: 100, max: 1e4, default: 1e3 },
|
|
2827
2827
|
// Max 180000ms (3 min) to leave 2-minute buffer for post-LLM operations within 5-min Lambda timeout
|
|
2828
2828
|
timeoutMs: { min: 3e4, max: 18e4, default: 6e4 },
|
|
2829
|
+
// Schedule configuration
|
|
2830
|
+
runIntervalHours: { options: [6, 12, 24], default: 12 },
|
|
2829
2831
|
// Processing limits
|
|
2832
|
+
// Note: lookbackHours is derived from runIntervalHours for scheduled runs,
|
|
2833
|
+
// but can be overridden for manual "Run Now" invocations
|
|
2830
2834
|
lookbackHours: { min: 1, max: 168, default: 24 },
|
|
2831
2835
|
maxErrorsPerRun: { min: 1, max: 100, default: 50 },
|
|
2832
2836
|
regressionLookbackDays: { min: 7, max: 180, default: 30 },
|
|
@@ -2845,12 +2849,20 @@ var LiveopsTriageConfigSchema = z21.object({
|
|
|
2845
2849
|
// Output channel - where summaries are posted (defaults to slackChannelId if not set)
|
|
2846
2850
|
githubOwner: z21.string(),
|
|
2847
2851
|
githubRepo: z21.string(),
|
|
2852
|
+
// Schedule configuration
|
|
2853
|
+
runIntervalHours: z21.number().refine((v) => LT.runIntervalHours.options.includes(v), {
|
|
2854
|
+
message: `Run interval must be one of: ${LT.runIntervalHours.options.join(", ")} hours`
|
|
2855
|
+
}).default(LT.runIntervalHours.default),
|
|
2856
|
+
postWhenNoErrors: z21.boolean().default(true),
|
|
2857
|
+
// Post "all clear" message when no errors found
|
|
2848
2858
|
// Model configuration
|
|
2849
2859
|
modelId: z21.string(),
|
|
2850
2860
|
temperature: z21.number().min(LT.temperature.min).max(LT.temperature.max).default(LT.temperature.default),
|
|
2851
2861
|
maxTokens: z21.number().min(LT.maxTokens.min).max(LT.maxTokens.max).default(LT.maxTokens.default),
|
|
2852
2862
|
timeoutMs: z21.number().min(LT.timeoutMs.min).max(LT.timeoutMs.max).default(LT.timeoutMs.default),
|
|
2853
2863
|
// Processing configuration
|
|
2864
|
+
// Note: lookbackHours is derived from runIntervalHours for scheduled/dry runs,
|
|
2865
|
+
// but can be overridden for manual "Run Now" invocations via the dialog
|
|
2854
2866
|
lookbackHours: z21.number().min(LT.lookbackHours.min).max(LT.lookbackHours.max).default(LT.lookbackHours.default),
|
|
2855
2867
|
maxErrorsPerRun: z21.number().min(LT.maxErrorsPerRun.min).max(LT.maxErrorsPerRun.max).default(LT.maxErrorsPerRun.default),
|
|
2856
2868
|
regressionLookbackDays: z21.number().min(LT.regressionLookbackDays.min).max(LT.regressionLookbackDays.max).default(LT.regressionLookbackDays.default),
|
|
@@ -2897,7 +2909,14 @@ var TriageResultSchema = z21.object({
|
|
|
2897
2909
|
}).nullable().default(null),
|
|
2898
2910
|
isRecurring: z21.boolean(),
|
|
2899
2911
|
occurrenceCount: z21.number().int().min(TRL.occurrenceCount.min).max(TRL.occurrenceCount.max),
|
|
2900
|
-
isRegression: z21.boolean().default(false)
|
|
2912
|
+
isRegression: z21.boolean().default(false),
|
|
2913
|
+
// Details of the closed issue this error is regressing from (only when isRegression=true)
|
|
2914
|
+
matchedClosedIssue: z21.object({
|
|
2915
|
+
issueNumber: z21.number().int().min(1),
|
|
2916
|
+
title: z21.string().min(1).max(TRL.matchesExisting.title.max),
|
|
2917
|
+
closedAt: z21.string()
|
|
2918
|
+
// ISO date string
|
|
2919
|
+
}).nullable().optional()
|
|
2901
2920
|
});
|
|
2902
2921
|
var TriageSummarySchema = z21.object({
|
|
2903
2922
|
totalAlerts: z21.number().int().min(0),
|
|
@@ -4264,6 +4283,8 @@ var settingsMap = {
|
|
|
4264
4283
|
slackChannelId: "",
|
|
4265
4284
|
githubOwner: "",
|
|
4266
4285
|
githubRepo: "",
|
|
4286
|
+
runIntervalHours: 12,
|
|
4287
|
+
postWhenNoErrors: true,
|
|
4267
4288
|
modelId: "",
|
|
4268
4289
|
temperature: 0.3,
|
|
4269
4290
|
maxTokens: 1e3,
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
getSettingsMap,
|
|
8
8
|
getSettingsValue,
|
|
9
9
|
secureParameters
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZFMLVPSR.js";
|
|
11
11
|
import {
|
|
12
12
|
KnowledgeType,
|
|
13
13
|
SupportedFabFileMimeTypes
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7KE3Z7AQ.js";
|
|
15
15
|
|
|
16
16
|
// ../../b4m-core/packages/services/dist/src/fabFileService/create.js
|
|
17
17
|
import { z } from "zod";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// package.json
|
|
4
4
|
var package_default = {
|
|
5
5
|
name: "@bike4mind/cli",
|
|
6
|
-
version: "0.2.
|
|
6
|
+
version: "0.2.33-feat-liveops-triage-schedule.19796+278dc785b",
|
|
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.54.
|
|
118
|
-
"@bike4mind/mcp": "1.32.
|
|
119
|
-
"@bike4mind/services": "2.51.
|
|
120
|
-
"@bike4mind/utils": "2.8.
|
|
117
|
+
"@bike4mind/common": "2.54.1-feat-liveops-triage-schedule.19796+278dc785b",
|
|
118
|
+
"@bike4mind/mcp": "1.32.2-feat-liveops-triage-schedule.19796+278dc785b",
|
|
119
|
+
"@bike4mind/services": "2.51.2-feat-liveops-triage-schedule.19796+278dc785b",
|
|
120
|
+
"@bike4mind/utils": "2.8.2-feat-liveops-triage-schedule.19796+278dc785b",
|
|
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: "
|
|
141
|
+
gitHead: "278dc785bb9f18787b2f847fe564555a3af3b054"
|
|
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-
|
|
5
|
+
} from "./chunk-ZFMLVPSR.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-
|
|
15
|
+
} from "./chunk-7KE3Z7AQ.js";
|
|
16
16
|
|
|
17
17
|
// ../../b4m-core/packages/services/dist/src/creditService/subtractCredits.js
|
|
18
18
|
import { z } from "zod";
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import {
|
|
3
3
|
createFabFile,
|
|
4
4
|
createFabFileSchema
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-7MTO5TCR.js";
|
|
6
|
+
import "./chunk-ZFMLVPSR.js";
|
|
7
|
+
import "./chunk-7KE3Z7AQ.js";
|
|
8
8
|
import "./chunk-PFBYGCOW.js";
|
|
9
9
|
export {
|
|
10
10
|
createFabFile,
|
package/dist/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import "./chunk-GQGOWACU.js";
|
|
3
|
-
import "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
import "./chunk-ZJH6ONUB.js";
|
|
4
|
+
import "./chunk-7MTO5TCR.js";
|
|
5
5
|
import "./chunk-BPFEGDC7.js";
|
|
6
6
|
import "./chunk-BDQBOLYG.js";
|
|
7
7
|
import {
|
|
8
8
|
getEffectiveApiKey,
|
|
9
9
|
getOpenWeatherKey,
|
|
10
10
|
getSerperKey
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6HW3OAKZ.js";
|
|
12
12
|
import {
|
|
13
13
|
ConfigStore,
|
|
14
14
|
logger
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
checkForUpdate,
|
|
18
18
|
package_default
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-IH6JJOIK.js";
|
|
20
20
|
import {
|
|
21
21
|
selectActiveBackgroundAgents,
|
|
22
22
|
useCliStore
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
OpenAIBackend,
|
|
33
33
|
OpenAIImageService,
|
|
34
34
|
XAIImageService
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-ZFMLVPSR.js";
|
|
36
36
|
import {
|
|
37
37
|
AiEvents,
|
|
38
38
|
ApiKeyEvents,
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
getMcpProviderMetadata,
|
|
91
91
|
getViewById,
|
|
92
92
|
resolveNavigationIntents
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-7KE3Z7AQ.js";
|
|
94
94
|
import {
|
|
95
95
|
Logger
|
|
96
96
|
} from "./chunk-PFBYGCOW.js";
|
|
@@ -19253,9 +19253,9 @@ ${agentDescriptions}
|
|
|
19253
19253
|
type: "string",
|
|
19254
19254
|
enum: ["quick", "medium", "very_thorough"],
|
|
19255
19255
|
description: `How thoroughly to execute:
|
|
19256
|
-
- quick: Fast lookup,
|
|
19257
|
-
- medium: Balanced exploration
|
|
19258
|
-
- very_thorough: Comprehensive analysis,
|
|
19256
|
+
- quick: Fast lookup, fewest iterations
|
|
19257
|
+
- medium: Balanced exploration (default)
|
|
19258
|
+
- very_thorough: Comprehensive analysis, maximum iterations`
|
|
19259
19259
|
},
|
|
19260
19260
|
variables: {
|
|
19261
19261
|
type: "object",
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import {
|
|
3
3
|
findMostSimilarMemento,
|
|
4
4
|
getRelevantMementos
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-6HW3OAKZ.js";
|
|
6
|
+
import "./chunk-ZFMLVPSR.js";
|
|
7
|
+
import "./chunk-7KE3Z7AQ.js";
|
|
8
8
|
import "./chunk-PFBYGCOW.js";
|
|
9
9
|
export {
|
|
10
10
|
findMostSimilarMemento,
|
|
@@ -139,12 +139,12 @@ import {
|
|
|
139
139
|
validateUrlForFetch,
|
|
140
140
|
warmUpSettingsCache,
|
|
141
141
|
withRetry
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-ZFMLVPSR.js";
|
|
143
143
|
import {
|
|
144
144
|
buildRateLimitLogEntry,
|
|
145
145
|
isNearLimit,
|
|
146
146
|
parseRateLimitHeaders
|
|
147
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-7KE3Z7AQ.js";
|
|
148
148
|
import {
|
|
149
149
|
Logger,
|
|
150
150
|
NotificationDeduplicator,
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import {
|
|
3
3
|
SubtractCreditsSchema,
|
|
4
4
|
subtractCredits
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-ZJH6ONUB.js";
|
|
6
|
+
import "./chunk-ZFMLVPSR.js";
|
|
7
|
+
import "./chunk-7KE3Z7AQ.js";
|
|
8
8
|
import "./chunk-PFBYGCOW.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.
|
|
3
|
+
"version": "0.2.33-feat-liveops-triage-schedule.19796+278dc785b",
|
|
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.54.
|
|
115
|
-
"@bike4mind/mcp": "1.32.
|
|
116
|
-
"@bike4mind/services": "2.51.
|
|
117
|
-
"@bike4mind/utils": "2.8.
|
|
114
|
+
"@bike4mind/common": "2.54.1-feat-liveops-triage-schedule.19796+278dc785b",
|
|
115
|
+
"@bike4mind/mcp": "1.32.2-feat-liveops-triage-schedule.19796+278dc785b",
|
|
116
|
+
"@bike4mind/services": "2.51.2-feat-liveops-triage-schedule.19796+278dc785b",
|
|
117
|
+
"@bike4mind/utils": "2.8.2-feat-liveops-triage-schedule.19796+278dc785b",
|
|
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": "
|
|
138
|
+
"gitHead": "278dc785bb9f18787b2f847fe564555a3af3b054"
|
|
139
139
|
}
|