@bike4mind/cli 4.10.0 → 5.0.0
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/{AgentHistoryStore-CjGVgxLR.mjs → AgentHistoryStore-C3hJOgpM.mjs} +188 -90
- package/dist/{ApiClient-SVXSI3HI.mjs → ApiClient-CeuIcSY8.mjs} +3 -3
- package/dist/{BubblewrapRuntime-CTc_KPnd.mjs → BubblewrapRuntime-BF5wXaNS.mjs} +2 -2
- package/dist/ConfigStore--dPqdX3O.mjs +2 -0
- package/dist/{ConfigStore-B2Dy-PT9.mjs → ConfigStore-nr0ebq4v.mjs} +1 -1
- package/dist/{Logger-7MmrU5w6.mjs → Logger-CovZt7LL.mjs} +509 -103
- package/dist/{RemoteSkillSource-D_F99yBR.mjs → RemoteSkillSource-HqoLRV56.mjs} +2 -6
- package/dist/{SandboxOrchestrator-CeDwd6Fj.mjs → SandboxOrchestrator-DTz_5Zub.mjs} +1 -1
- package/dist/{SandboxRuntimeAdapter-CjNDzYSf.mjs → SandboxRuntimeAdapter-CC5KlbZ8.mjs} +2 -2
- package/dist/{SandboxRuntimeAdapter-CFEIywKt.mjs → SandboxRuntimeAdapter-X0HAkbpW.mjs} +1 -1
- package/dist/{SeatbeltRuntime-CQItj-F1.mjs → SeatbeltRuntime-zdxVqGZ3.mjs} +2 -2
- package/dist/{WorkItemsClient-C9_pjHCo.mjs → WorkItemsClient-lKJCPP0j.mjs} +1 -1
- package/dist/{buildToolSearch-8xyBwXRx.mjs → buildToolSearch-BlOSK4m3.mjs} +2 -2
- package/dist/commands/acpCommand.mjs +6 -6
- package/dist/commands/apiCommand.mjs +1 -1
- package/dist/commands/doctorCommand.mjs +2 -2
- package/dist/commands/envCommand.mjs +1 -1
- package/dist/commands/headlessCommand.mjs +7 -7
- package/dist/commands/mcpCommand.mjs +3 -3
- package/dist/commands/mirrorCommand.mjs +2 -2
- package/dist/commands/modelsCommand.mjs +4 -4
- package/dist/commands/pluginCommand.mjs +1 -1
- package/dist/commands/skillsCommand.mjs +4 -4
- package/dist/commands/updateCommand.mjs +2 -2
- package/dist/{dist-DHgMhdzV.mjs → dist-BrBjZ6Cv.mjs} +33 -3
- package/dist/{fit-D8Quui6j.mjs → fit-vnmP4Dfc.mjs} +3 -3
- package/dist/index.mjs +12 -417
- package/dist/{modelServers-JsKBm7Wn.mjs → modelServers-CjSlPFsg.mjs} +1 -1
- package/dist/{package-r_xumsGY.mjs → package-BTvxFRbB.mjs} +1 -1
- package/dist/{serve-BM9PKMLH.mjs → serve-BLBhPkyw.mjs} +6 -6
- package/dist/{updateChecker-BOqaLeZU.mjs → updateChecker-uDIZuEZg.mjs} +1 -1
- package/package.json +10 -11
- package/dist/ConfigStore-zlY0PikB.mjs +0 -2
|
@@ -261,11 +261,7 @@ function isBuiltInCommand(name) {
|
|
|
261
261
|
* hearth); a drift guard in commands.test.ts derives the names from those modules
|
|
262
262
|
* and fails if this list drifts.
|
|
263
263
|
*/
|
|
264
|
-
const RESERVED_FEATURE_COMMANDS = [
|
|
265
|
-
"tavern",
|
|
266
|
-
"quest",
|
|
267
|
-
"hearth"
|
|
268
|
-
];
|
|
264
|
+
const RESERVED_FEATURE_COMMANDS = ["tavern", "hearth"];
|
|
269
265
|
/**
|
|
270
266
|
* Checks if a command name is reserved (a built-in OR a first-party feature command).
|
|
271
267
|
* Use this, not isBuiltInCommand, when deciding whether an external skill may register.
|
|
@@ -380,7 +376,7 @@ var RemoteSkillSource = class {
|
|
|
380
376
|
/**
|
|
381
377
|
* Map server skills to `CustomCommand`, dropping any that must not register:
|
|
382
378
|
* - a name that shadows a built-in OR a first-party feature slash command
|
|
383
|
-
* (tavern/
|
|
379
|
+
* (tavern/hearth), which would otherwise hijack the command, and
|
|
384
380
|
* - a foreign-owned skill (a `userId` other than the current user's), which is
|
|
385
381
|
* only visible cross-account via `isGlobalRead`, and
|
|
386
382
|
* - a Skill Market import: the user owns the copy but someone else wrote it, and local commands run
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { t as DEFAULT_SANDBOX_CONFIG } from "./types-CxrzVXel.mjs";
|
|
3
|
-
import { c as resolveSandboxPath } from "./SandboxRuntimeAdapter-
|
|
3
|
+
import { c as resolveSandboxPath } from "./SandboxRuntimeAdapter-CC5KlbZ8.mjs";
|
|
4
4
|
import path from "path";
|
|
5
5
|
//#region src/sandbox/SandboxOrchestrator.ts
|
|
6
6
|
var SandboxOrchestrator = class {
|
|
@@ -178,11 +178,11 @@ async function createSandboxRuntime() {
|
|
|
178
178
|
const platform = detectPlatform();
|
|
179
179
|
if (!platform) return null;
|
|
180
180
|
if (platform === "darwin") {
|
|
181
|
-
const { SeatbeltRuntime } = await import("./SeatbeltRuntime-
|
|
181
|
+
const { SeatbeltRuntime } = await import("./SeatbeltRuntime-zdxVqGZ3.mjs");
|
|
182
182
|
const runtime = new SeatbeltRuntime();
|
|
183
183
|
return runtime.isAvailable() ? runtime : null;
|
|
184
184
|
}
|
|
185
|
-
const { BubblewrapRuntime } = await import("./BubblewrapRuntime-
|
|
185
|
+
const { BubblewrapRuntime } = await import("./BubblewrapRuntime-BF5wXaNS.mjs");
|
|
186
186
|
const runtime = new BubblewrapRuntime();
|
|
187
187
|
return runtime.isAvailable() ? runtime : null;
|
|
188
188
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
export { t as assertProxyPort, n as createSandboxRuntime, r as detectPlatform, i as expandPath, a as getContainerSocketPaths, o as getProtectedWorkspacePaths, s as isBinaryAvailable, c as resolveSandboxPath } from "./SandboxRuntimeAdapter-
|
|
2
|
+
export { t as assertProxyPort, n as createSandboxRuntime, r as detectPlatform, i as expandPath, a as getContainerSocketPaths, o as getProtectedWorkspacePaths, s as isBinaryAvailable, c as resolveSandboxPath } from "./SandboxRuntimeAdapter-CC5KlbZ8.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { t as logger } from "./Logger-
|
|
3
|
-
import { a as getContainerSocketPaths, c as resolveSandboxPath, o as getProtectedWorkspacePaths, s as isBinaryAvailable, t as assertProxyPort } from "./SandboxRuntimeAdapter-
|
|
2
|
+
import { t as logger } from "./Logger-CovZt7LL.mjs";
|
|
3
|
+
import { a as getContainerSocketPaths, c as resolveSandboxPath, o as getProtectedWorkspacePaths, s as isBinaryAvailable, t as assertProxyPort } from "./SandboxRuntimeAdapter-CC5KlbZ8.mjs";
|
|
4
4
|
import { mkdtempSync, writeFileSync } from "fs";
|
|
5
5
|
import os from "os";
|
|
6
6
|
import path from "path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
2
|
+
import { Zt as tokenEstimateMultiplier } from "./Logger-CovZt7LL.mjs";
|
|
3
3
|
import { get_encoding } from "tiktoken";
|
|
4
4
|
//#region ../../b4m-core/utils/dist/calibratedTokenizer.mjs
|
|
5
5
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { F as generateCliTools, a as loadProjectContext, at as ReActAgent, ct as wrapTools, ft as getPlanModeFilePath, i as buildProjectAgentStore, it as DeferredToolRegistry, n as BackgroundAgentManager, nt as buildSystemPrompt, o as McpManager, ot as createToolSearchTool, r as SubagentOrchestrator, t as AgentHistoryStore } from "./AgentHistoryStore-
|
|
3
|
-
import {
|
|
2
|
+
import { F as generateCliTools, a as loadProjectContext, at as ReActAgent, ct as wrapTools, ft as getPlanModeFilePath, i as buildProjectAgentStore, it as DeferredToolRegistry, n as BackgroundAgentManager, nt as buildSystemPrompt, o as McpManager, ot as createToolSearchTool, r as SubagentOrchestrator, t as AgentHistoryStore } from "./AgentHistoryStore-C3hJOgpM.mjs";
|
|
3
|
+
import { pt as completionsSupportsToolSearch, t as logger } from "./Logger-CovZt7LL.mjs";
|
|
4
4
|
//#region src/llm/NotifyingLlmBackend.ts
|
|
5
5
|
/**
|
|
6
6
|
* LLM backend wrapper that injects background agent notifications
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { A as FallbackLlmBackend, D as createResumeAgentTool, E as createCoordinateTaskTool, N as PermissionManager, O as createBackgroundAgentTools, P as buildCliToolList, S as createWriteTodosTool, U as NoLocalModelsError, Z as signInUncheckedHeadlessMessage, b as createFindDefinitionTool, c as checkSavedSignIn, f as buildLlmBackend, gt as CheckpointStore, k as createAgentDelegateTool, l as settleSignInRefresh, pt as CustomCommandStore, q as SIGN_IN_EXPIRED_HEADLESS, s as buildSandbox, ut as setWebSocketToolExecutor, v as createGetFileStructureTool, vt as SessionStore, w as createSkillTool, x as createTodoStore } from "../AgentHistoryStore-
|
|
3
|
-
import { c as ToolCatalog, t as ConfigStore, v as requireApiUrl } from "../ConfigStore-
|
|
4
|
-
import {
|
|
5
|
-
import { t as RemoteSkillSource } from "../RemoteSkillSource-
|
|
6
|
-
import { t as ApiClient } from "../ApiClient-
|
|
7
|
-
import { a as NotifyingLlmBackend, i as deferredToolRegistry, n as buildAgent, r as buildSupportingStores, t as buildToolSearch } from "../buildToolSearch-
|
|
2
|
+
import { A as FallbackLlmBackend, D as createResumeAgentTool, E as createCoordinateTaskTool, N as PermissionManager, O as createBackgroundAgentTools, P as buildCliToolList, S as createWriteTodosTool, U as NoLocalModelsError, Z as signInUncheckedHeadlessMessage, b as createFindDefinitionTool, c as checkSavedSignIn, f as buildLlmBackend, gt as CheckpointStore, k as createAgentDelegateTool, l as settleSignInRefresh, pt as CustomCommandStore, q as SIGN_IN_EXPIRED_HEADLESS, s as buildSandbox, ut as setWebSocketToolExecutor, v as createGetFileStructureTool, vt as SessionStore, w as createSkillTool, x as createTodoStore } from "../AgentHistoryStore-C3hJOgpM.mjs";
|
|
3
|
+
import { c as ToolCatalog, t as ConfigStore, v as requireApiUrl } from "../ConfigStore-nr0ebq4v.mjs";
|
|
4
|
+
import { mt as createMutex, t as logger } from "../Logger-CovZt7LL.mjs";
|
|
5
|
+
import { t as RemoteSkillSource } from "../RemoteSkillSource-HqoLRV56.mjs";
|
|
6
|
+
import { t as ApiClient } from "../ApiClient-CeuIcSY8.mjs";
|
|
7
|
+
import { a as NotifyingLlmBackend, i as deferredToolRegistry, n as buildAgent, r as buildSupportingStores, t as buildToolSearch } from "../buildToolSearch-BlOSK4m3.mjs";
|
|
8
8
|
import { randomUUID } from "crypto";
|
|
9
9
|
import { existsSync, realpathSync, statSync } from "fs";
|
|
10
10
|
import { isAbsolute } from "path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { T as parseApiUrl, t as ConfigStore, y as resolveApiEndpoint } from "../ConfigStore-
|
|
2
|
+
import { T as parseApiUrl, t as ConfigStore, y as resolveApiEndpoint } from "../ConfigStore-nr0ebq4v.mjs";
|
|
3
3
|
//#region src/commands/apiCommand.ts
|
|
4
4
|
/**
|
|
5
5
|
* External API config command (--api-url / --reset-api)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { t as version } from "../package-
|
|
3
|
-
import { c as isNpmPrefixWritable, i as fetchLatestVersion, r as compareSemver } from "../updateChecker-
|
|
2
|
+
import { t as version } from "../package-BTvxFRbB.mjs";
|
|
3
|
+
import { c as isNpmPrefixWritable, i as fetchLatestVersion, r as compareSemver } from "../updateChecker-uDIZuEZg.mjs";
|
|
4
4
|
import { t as checkRipgrep } from "../ripgrepCheck-BmkyTK2i.mjs";
|
|
5
5
|
import { existsSync } from "fs";
|
|
6
6
|
import { homedir } from "os";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { A as FallbackLlmBackend, D as createResumeAgentTool, E as createCoordinateTaskTool, F as generateCliTools, N as PermissionManager, O as createBackgroundAgentTools, P as buildCliToolList, S as createWriteTodosTool, Y as SignedOutCloudBackend, Z as signInUncheckedHeadlessMessage, _ as createSseBackend, a as loadProjectContext, at as ReActAgent, b as createFindDefinitionTool, c as checkSavedSignIn, ct as wrapTools, d as attachLocalModels, dt as classifyCommandRisk, g as withSignedOutLocalDefault, gt as CheckpointStore, h as resolveSignedOutHeadlessModel, i as buildProjectAgentStore, k as createAgentDelegateTool, l as settleSignInRefresh, m as resolveHeadlessModel, n as BackgroundAgentManager, nt as buildSystemPrompt, o as McpManager, p as defaultLlmBackendDeps, pt as CustomCommandStore, q as SIGN_IN_EXPIRED_HEADLESS, r as SubagentOrchestrator, s as buildSandbox, t as AgentHistoryStore, ut as setWebSocketToolExecutor, v as createGetFileStructureTool, vt as SessionStore, w as createSkillTool, x as createTodoStore, y as createWorkItemTools } from "../AgentHistoryStore-
|
|
3
|
-
import { D as sanitizeTerminalText, c as ToolCatalog, f as toolCategory, l as commandTextOf, t as ConfigStore, v as requireApiUrl } from "../ConfigStore-
|
|
4
|
-
import { l as OllamaBackend, u as OpenAICompatibleBackend } from "../dist-
|
|
5
|
-
import { t as logger } from "../Logger-
|
|
6
|
-
import { t as RemoteSkillSource } from "../RemoteSkillSource-
|
|
7
|
-
import { r as reconstructTurnBlocks, t as WorkItemsClient } from "../WorkItemsClient-
|
|
8
|
-
import { t as ApiClient } from "../ApiClient-
|
|
2
|
+
import { A as FallbackLlmBackend, D as createResumeAgentTool, E as createCoordinateTaskTool, F as generateCliTools, N as PermissionManager, O as createBackgroundAgentTools, P as buildCliToolList, S as createWriteTodosTool, Y as SignedOutCloudBackend, Z as signInUncheckedHeadlessMessage, _ as createSseBackend, a as loadProjectContext, at as ReActAgent, b as createFindDefinitionTool, c as checkSavedSignIn, ct as wrapTools, d as attachLocalModels, dt as classifyCommandRisk, g as withSignedOutLocalDefault, gt as CheckpointStore, h as resolveSignedOutHeadlessModel, i as buildProjectAgentStore, k as createAgentDelegateTool, l as settleSignInRefresh, m as resolveHeadlessModel, n as BackgroundAgentManager, nt as buildSystemPrompt, o as McpManager, p as defaultLlmBackendDeps, pt as CustomCommandStore, q as SIGN_IN_EXPIRED_HEADLESS, r as SubagentOrchestrator, s as buildSandbox, t as AgentHistoryStore, ut as setWebSocketToolExecutor, v as createGetFileStructureTool, vt as SessionStore, w as createSkillTool, x as createTodoStore, y as createWorkItemTools } from "../AgentHistoryStore-C3hJOgpM.mjs";
|
|
3
|
+
import { D as sanitizeTerminalText, c as ToolCatalog, f as toolCategory, l as commandTextOf, t as ConfigStore, v as requireApiUrl } from "../ConfigStore-nr0ebq4v.mjs";
|
|
4
|
+
import { l as OllamaBackend, u as OpenAICompatibleBackend } from "../dist-BrBjZ6Cv.mjs";
|
|
5
|
+
import { t as logger } from "../Logger-CovZt7LL.mjs";
|
|
6
|
+
import { t as RemoteSkillSource } from "../RemoteSkillSource-HqoLRV56.mjs";
|
|
7
|
+
import { r as reconstructTurnBlocks, t as WorkItemsClient } from "../WorkItemsClient-lKJCPP0j.mjs";
|
|
8
|
+
import { t as ApiClient } from "../ApiClient-CeuIcSY8.mjs";
|
|
9
9
|
import { randomBytes } from "crypto";
|
|
10
10
|
import { readFile } from "fs/promises";
|
|
11
11
|
//#region src/commands/headlessOllama.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { n as McpToggleRefusedError, t as ConfigStore } from "../ConfigStore-
|
|
3
|
-
import { t as version } from "../package-
|
|
2
|
+
import { n as McpToggleRefusedError, t as ConfigStore } from "../ConfigStore-nr0ebq4v.mjs";
|
|
3
|
+
import { t as version } from "../package-BTvxFRbB.mjs";
|
|
4
4
|
//#region src/commands/mcpCommand.ts
|
|
5
5
|
/**
|
|
6
6
|
* External MCP commands (b4m mcp list, b4m mcp add, etc.)
|
|
@@ -70,7 +70,7 @@ async function handleMcpCommand(subcommand, argv) {
|
|
|
70
70
|
await handleDisable(argv.name, configStore);
|
|
71
71
|
break;
|
|
72
72
|
case "serve": {
|
|
73
|
-
const { handleMcpServeCommand } = await import("../serve-
|
|
73
|
+
const { handleMcpServeCommand } = await import("../serve-BLBhPkyw.mjs");
|
|
74
74
|
await handleMcpServeCommand({
|
|
75
75
|
http: Boolean(argv.http),
|
|
76
76
|
local: Boolean(argv.local),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { t as ConfigStore, v as requireApiUrl } from "../ConfigStore-
|
|
3
|
-
import { t as ApiClient } from "../ApiClient-
|
|
2
|
+
import { t as ConfigStore, v as requireApiUrl } from "../ConfigStore-nr0ebq4v.mjs";
|
|
3
|
+
import { t as ApiClient } from "../ApiClient-CeuIcSY8.mjs";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { z as z$1 } from "zod";
|
|
6
6
|
import { createHash } from "node:crypto";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { t as ConfigStore } from "../ConfigStore-
|
|
3
|
-
import "../Logger-
|
|
2
|
+
import { t as ConfigStore } from "../ConfigStore-nr0ebq4v.mjs";
|
|
3
|
+
import "../Logger-CovZt7LL.mjs";
|
|
4
4
|
import { S as vramNeedsLlamaServer, l as OLLAMA_SKIPS_INTEL_IGPU } from "../modelHub-BSB6qRFP.mjs";
|
|
5
5
|
import { $ as RuntimeHttpError, E as HuggingFaceHub, F as curatedRunner, G as ollamaLibraryLayers, H as isPermissiveEntry, I as curatedSource, M as curatedParamsLabel, N as curatedPicks, T as HUGGING_FACE_SSH_KEYS_URL, V as isHubRepoId, h as probeHardware, j as curatedListing, z as isAbliteratedModel } from "../dist-K7a9yOUb.mjs";
|
|
6
|
-
import { $ as gatedMessage, A as serverRuntimeId, C as discoverSshServers, Ct as withDefaultOllamaPort, D as probeServer, E as parseSshPort, J as abortable, K as REF_ISSUES, M as toolsOffHint, N as transportVerdict, O as probeToolSupport, P as usualPorts, Q as formatBytes, T as parseServerAddress, U as CancelledError, W as NOT_RECOMMENDED_LABEL, X as clean, Y as buildTag, Z as findInstalledModel, _t as resolveRuntimeTarget, a as needsCredential, at as licenseFor, b as answersWithoutCredentials, bt as shortDigest, c as requireManageable, ct as pickBuild, d as serverBaseUrl, dt as removeInstalled, et as hadTagBefore, f as serverFetch, ft as requireInstalledReviewed, g as withSignal, gt as requireUnchangedManifest, h as validateSecret, ht as requireUnchangedLicenses, i as loginHint, j as sshDestinationProblem, k as scopeOfIp, l as resolveServerTarget, lt as planPull, m as unusableStatus, mt as requireReviewedLayers, n as findModelServer, nt as hubAccessMessage, o as noSuchServer, ot as licenseName, p as serverRedactor, pt as requireRemovable, q as UNPULLABLE, r as loadModelServers, rt as installedUncheckedMessage, s as productLabel, st as listInstalled, t as defaultOn, tt as hiddenAbliteratedMessage, u as serverAddressLabel, ut as rankSearchHits, v as SSH_PORT_PROBLEM, vt as runtimeLabel, w as leastTrusted, x as createSshFetch, xt as readOllamaManifest, y as SSH_PROBE_TIMEOUT_MS, yt as sameModelName, z as localModelId } from "../modelServers-
|
|
7
|
-
import { a as machineLabel, i as fitForPlan, n as LLAMA_SERVER_VRAM_HELP, o as machineReader, r as fitForHubBuild, s as createCliCuratedList, t as FIT_LABELS } from "../fit-
|
|
6
|
+
import { $ as gatedMessage, A as serverRuntimeId, C as discoverSshServers, Ct as withDefaultOllamaPort, D as probeServer, E as parseSshPort, J as abortable, K as REF_ISSUES, M as toolsOffHint, N as transportVerdict, O as probeToolSupport, P as usualPorts, Q as formatBytes, T as parseServerAddress, U as CancelledError, W as NOT_RECOMMENDED_LABEL, X as clean, Y as buildTag, Z as findInstalledModel, _t as resolveRuntimeTarget, a as needsCredential, at as licenseFor, b as answersWithoutCredentials, bt as shortDigest, c as requireManageable, ct as pickBuild, d as serverBaseUrl, dt as removeInstalled, et as hadTagBefore, f as serverFetch, ft as requireInstalledReviewed, g as withSignal, gt as requireUnchangedManifest, h as validateSecret, ht as requireUnchangedLicenses, i as loginHint, j as sshDestinationProblem, k as scopeOfIp, l as resolveServerTarget, lt as planPull, m as unusableStatus, mt as requireReviewedLayers, n as findModelServer, nt as hubAccessMessage, o as noSuchServer, ot as licenseName, p as serverRedactor, pt as requireRemovable, q as UNPULLABLE, r as loadModelServers, rt as installedUncheckedMessage, s as productLabel, st as listInstalled, t as defaultOn, tt as hiddenAbliteratedMessage, u as serverAddressLabel, ut as rankSearchHits, v as SSH_PORT_PROBLEM, vt as runtimeLabel, w as leastTrusted, x as createSshFetch, xt as readOllamaManifest, y as SSH_PROBE_TIMEOUT_MS, yt as sameModelName, z as localModelId } from "../modelServers-CjSlPFsg.mjs";
|
|
7
|
+
import { a as machineLabel, i as fitForPlan, n as LLAMA_SERVER_VRAM_HELP, o as machineReader, r as fitForHubBuild, s as createCliCuratedList, t as FIT_LABELS } from "../fit-vnmP4Dfc.mjs";
|
|
8
8
|
import { createInterface } from "readline";
|
|
9
9
|
import { lookup } from "dns/promises";
|
|
10
10
|
import { Writable } from "stream";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { D as sanitizeTerminalText, t as ConfigStore } from "../ConfigStore-
|
|
2
|
+
import { D as sanitizeTerminalText, t as ConfigStore } from "../ConfigStore-nr0ebq4v.mjs";
|
|
3
3
|
import { n as getDefaultPluginsDir, r as isFeatureEnabled, t as PluginStore } from "../PluginStore-DwvOJ-G3.mjs";
|
|
4
4
|
import { promises } from "fs";
|
|
5
5
|
import path from "path";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { t as ConfigStore, v as requireApiUrl } from "../ConfigStore-
|
|
3
|
-
import {
|
|
4
|
-
import { r as isReservedCommandName, t as RemoteSkillSource } from "../RemoteSkillSource-
|
|
5
|
-
import { t as ApiClient } from "../ApiClient-
|
|
2
|
+
import { t as ConfigStore, v as requireApiUrl } from "../ConfigStore-nr0ebq4v.mjs";
|
|
3
|
+
import { fn as readSkillMdSourceUrl, pn as splitSkillMdFrontmatter } from "../Logger-CovZt7LL.mjs";
|
|
4
|
+
import { r as isReservedCommandName, t as RemoteSkillSource } from "../RemoteSkillSource-HqoLRV56.mjs";
|
|
5
|
+
import { t as ApiClient } from "../ApiClient-CeuIcSY8.mjs";
|
|
6
6
|
import { promises } from "fs";
|
|
7
7
|
import os from "os";
|
|
8
8
|
import path from "path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { t as version } from "../package-
|
|
3
|
-
import { a as forceCheckForUpdate, c as isNpmPrefixWritable, d as shouldAttemptAutoUpdate, l as readCachedUpdate, n as REEXEC_GUARD_ENV, o as getAutoUpdatePreference, t as INSTALL_CMD, u as setAutoUpdatePreference } from "../updateChecker-
|
|
2
|
+
import { t as version } from "../package-BTvxFRbB.mjs";
|
|
3
|
+
import { a as forceCheckForUpdate, c as isNpmPrefixWritable, d as shouldAttemptAutoUpdate, l as readCachedUpdate, n as REEXEC_GUARD_ENV, o as getAutoUpdatePreference, t as INSTALL_CMD, u as setAutoUpdatePreference } from "../updateChecker-uDIZuEZg.mjs";
|
|
4
4
|
import { t as checkRipgrep } from "../ripgrepCheck-BmkyTK2i.mjs";
|
|
5
5
|
import { execSync, spawnSync } from "child_process";
|
|
6
6
|
import { createInterface } from "readline";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
2
|
+
import { Ct as getQuestErrorCode, Dt as isEnforceCreditsLocked, E as CompletionReasoningEffortSchema, F as EMBEDDING_MODEL_IDS, Gt as servableEmbeddingDimensions, H as MODEL_INFO_FIELD_GROUP_OF, Jt as stripDeliveredArtifactBlocks, K as OllamaEmbeddingModel, Mt as isSupportedEmbeddingModel, Nt as isSupportedFabFileMimeType, Ot as isExpectedToolError, P as EMBEDDING_MODEL_CATALOG, Pt as isUserInitiatedAbort, S as CONTEXT_WINDOW_SAFETY_BUFFER_TOKENS, T as ChatModels, Tt as hasDeliverablePinnedArtifact, Ut as resolveSettingDefinition, W as ModelBackend, Y as PermissionDeniedError, Yt as stripToolArtifactMarkup, _ as AudioMimeType, _t as escapeThinkMarkers, d as ARTIFACT_REMOVED_PLACEHOLDER, f as AdminAiStoredConfigSchema, gt as createThinkMarkerEscaper, hn as WEBSITE_URL, lt as VoyageAIEmbeddingModel, mn as APP_NAME, ot as SupportedFabFileMimeTypes, p as AiAccessRefusedError, q as OpenAIEmbeddingModel, tn as visibleReplyText, u as ARTIFACT_DELIVERED_PLACEHOLDER, vt as filterToolArtifactMarkup, xt as getEmbeddingModelCapabilities, y as BedrockEmbeddingModel } from "./Logger-CovZt7LL.mjs";
|
|
3
3
|
import { b as ollamaNumCtx } from "./modelHub-BSB6qRFP.mjs";
|
|
4
4
|
import "crypto";
|
|
5
5
|
import path from "path";
|
|
@@ -160,6 +160,13 @@ function redactLogValue(value, seen = /* @__PURE__ */ new WeakSet()) {
|
|
|
160
160
|
nodes: 0
|
|
161
161
|
}, 0);
|
|
162
162
|
}
|
|
163
|
+
/**
|
|
164
|
+
* Scrub a log line that never went through the Logger (raw `console.*` output read back from
|
|
165
|
+
* CloudWatch) before it is forwarded anywhere. Only value patterns apply: there are no field names.
|
|
166
|
+
*/
|
|
167
|
+
function redactLogText(value) {
|
|
168
|
+
return redactString(value);
|
|
169
|
+
}
|
|
163
170
|
var Logger = class Logger {
|
|
164
171
|
static _globalInstance;
|
|
165
172
|
static contextProvider;
|
|
@@ -9066,7 +9073,6 @@ new RegExp(`(?<![\\w.])(?:${OCTET}\\.){3}${OCTET}(?!\\.?\\w)`, "g");
|
|
|
9066
9073
|
const HEX_GROUP = "[0-9a-f]{1,4}";
|
|
9067
9074
|
const HEX_RUN = `${HEX_GROUP}(?::${HEX_GROUP}){0,6}`;
|
|
9068
9075
|
new RegExp(`(?:(?<![\\w:])|(?<=(?<![\\w:])[0-9a-f]*[g-z_]\\w*:))(?:(?:${HEX_GROUP}:){7}${HEX_GROUP}|${HEX_RUN}::(?:${HEX_RUN})?|::${HEX_RUN})(?::\\[IP\\])?(?![\\w:])`, "gi");
|
|
9069
|
-
ChatModels.GPT5, ChatModels.GPT5_MINI, ChatModels.GPT5_NANO, ChatModels.GPT5_1, ChatModels.GPT5_2, ChatModels.GPT5_4, ChatModels.GPT5_4_MINI, ChatModels.GPT5_4_NANO, ChatModels.GPT5_5, ChatModels.GPT5_6_SOL, ChatModels.GPT5_6_LUNA, ChatModels.GPT5_6_TERRA;
|
|
9070
9076
|
//#endregion
|
|
9071
9077
|
//#region ../sdk/dist/index.mjs
|
|
9072
9078
|
/**
|
|
@@ -9406,6 +9412,10 @@ const operations = {
|
|
|
9406
9412
|
method: "GET",
|
|
9407
9413
|
path: "/api/v1/briefs/schedule"
|
|
9408
9414
|
},
|
|
9415
|
+
getBusyBlocks: {
|
|
9416
|
+
method: "GET",
|
|
9417
|
+
path: "/api/v1/briefs/busy-blocks"
|
|
9418
|
+
},
|
|
9409
9419
|
getClaudeBundleZip: {
|
|
9410
9420
|
method: "GET",
|
|
9411
9421
|
path: "/api/v1/skills/market/bundles/{id}/claude-plugin.zip"
|
|
@@ -9494,6 +9504,10 @@ const operations = {
|
|
|
9494
9504
|
method: "GET",
|
|
9495
9505
|
path: "/api/v1/music-generations/{id}"
|
|
9496
9506
|
},
|
|
9507
|
+
getObligation: {
|
|
9508
|
+
method: "GET",
|
|
9509
|
+
path: "/api/v1/obligations/{id}"
|
|
9510
|
+
},
|
|
9497
9511
|
getPendingDecisionCount: {
|
|
9498
9512
|
method: "GET",
|
|
9499
9513
|
path: "/api/v1/pending-decisions"
|
|
@@ -9542,6 +9556,10 @@ const operations = {
|
|
|
9542
9556
|
method: "GET",
|
|
9543
9557
|
path: "/api/v1/whats-new/media/{id}/{asset}"
|
|
9544
9558
|
},
|
|
9559
|
+
handOffObligation: {
|
|
9560
|
+
method: "POST",
|
|
9561
|
+
path: "/api/v1/obligations"
|
|
9562
|
+
},
|
|
9545
9563
|
importSkillMarketListing: {
|
|
9546
9564
|
method: "POST",
|
|
9547
9565
|
path: "/api/v1/skills/market/listings/{id}/import"
|
|
@@ -9642,6 +9660,10 @@ const operations = {
|
|
|
9642
9660
|
method: "GET",
|
|
9643
9661
|
path: "/api/v1/skills/mine"
|
|
9644
9662
|
},
|
|
9663
|
+
listObligations: {
|
|
9664
|
+
method: "GET",
|
|
9665
|
+
path: "/api/v1/obligations"
|
|
9666
|
+
},
|
|
9645
9667
|
listProjectFiles: {
|
|
9646
9668
|
method: "GET",
|
|
9647
9669
|
path: "/api/v1/projects/{id}/files"
|
|
@@ -9722,6 +9744,10 @@ const operations = {
|
|
|
9722
9744
|
method: "PUT",
|
|
9723
9745
|
path: "/api/v1/briefs/schedule"
|
|
9724
9746
|
},
|
|
9747
|
+
putBusyBlocks: {
|
|
9748
|
+
method: "PUT",
|
|
9749
|
+
path: "/api/v1/briefs/busy-blocks"
|
|
9750
|
+
},
|
|
9725
9751
|
raiseCompletionRunBudget: {
|
|
9726
9752
|
method: "POST",
|
|
9727
9753
|
path: "/api/v1/completion-runs/{runId}/budget"
|
|
@@ -9842,6 +9868,10 @@ const operations = {
|
|
|
9842
9868
|
method: "PATCH",
|
|
9843
9869
|
path: "/api/v1/files/{id}"
|
|
9844
9870
|
},
|
|
9871
|
+
updateObligation: {
|
|
9872
|
+
method: "PATCH",
|
|
9873
|
+
path: "/api/v1/obligations/{id}"
|
|
9874
|
+
},
|
|
9845
9875
|
updateProject: {
|
|
9846
9876
|
method: "PATCH",
|
|
9847
9877
|
path: "/api/v1/projects/{id}"
|
|
@@ -10135,4 +10165,4 @@ function toBase64(bytes) {
|
|
|
10135
10165
|
return btoa(binary);
|
|
10136
10166
|
}
|
|
10137
10167
|
//#endregion
|
|
10138
|
-
export { extractErrorMessage as a, resolveSupportedMimeType as c, BaseStorage as d, isPrivateIP as f, parseRetryAfterSeconds as i, OllamaBackend as l, B4mStreamEndedError as n, getSettingsMap as o, Logger as p, createClient as r, getSettingsValue as s, B4mApiError as t, OpenAICompatibleBackend as u };
|
|
10168
|
+
export { extractErrorMessage as a, resolveSupportedMimeType as c, BaseStorage as d, isPrivateIP as f, redactLogValue as h, parseRetryAfterSeconds as i, OllamaBackend as l, redactLogText as m, B4mStreamEndedError as n, getSettingsMap as o, Logger as p, createClient as r, getSettingsValue as s, B4mApiError as t, OpenAICompatibleBackend as u };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import "./Logger-
|
|
2
|
+
import "./Logger-CovZt7LL.mjs";
|
|
3
3
|
import { S as vramNeedsLlamaServer, b as ollamaNumCtx, v as estimateFitFromSize } from "./modelHub-BSB6qRFP.mjs";
|
|
4
|
-
import { t as version } from "./package-
|
|
4
|
+
import { t as version } from "./package-BTvxFRbB.mjs";
|
|
5
5
|
import { D as PRODUCTION_CURATED_KEYS, U as loadCuratedManifest, _ as resolveCuratedUrl, h as probeHardware, n as CuratedStore, t as CuratedListSource, u as curatedStoreRoot, w as BUNDLED_CURATED_JSON_TEXT } from "./dist-K7a9yOUb.mjs";
|
|
6
|
-
import { Q as formatBytes, it as largestProjectorBytes } from "./modelServers-
|
|
6
|
+
import { Q as formatBytes, it as largestProjectorBytes } from "./modelServers-CjSlPFsg.mjs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import { homedir } from "node:os";
|
|
9
9
|
//#region src/models/curatedList.ts
|