@bike4mind/cli 4.9.0 → 4.10.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-jktM0SmD.mjs → AgentHistoryStore-CjGVgxLR.mjs} +186 -586
- package/dist/{ApiClient-CczpydlW.mjs → ApiClient-SVXSI3HI.mjs} +3 -3
- package/dist/{BubblewrapRuntime-aGfDSJPY.mjs → BubblewrapRuntime-CTc_KPnd.mjs} +2 -2
- package/dist/{ConfigStore-CO6kREaL.mjs → ConfigStore-B2Dy-PT9.mjs} +6 -7
- package/dist/ConfigStore-zlY0PikB.mjs +2 -0
- package/dist/{Logger-CHKCF5hd.mjs → Logger-7MmrU5w6.mjs} +1667 -946
- package/dist/{SandboxOrchestrator-ULWvuUct.mjs → SandboxOrchestrator-CeDwd6Fj.mjs} +1 -1
- package/dist/{SandboxRuntimeAdapter-FpZRkE6D.mjs → SandboxRuntimeAdapter-CFEIywKt.mjs} +1 -1
- package/dist/{SandboxRuntimeAdapter-DpDSET-A.mjs → SandboxRuntimeAdapter-CjNDzYSf.mjs} +2 -2
- package/dist/{SeatbeltRuntime-C0GJ3nnY.mjs → SeatbeltRuntime-CQItj-F1.mjs} +2 -2
- package/dist/{WorkItemsClient-aCxMV_Wm.mjs → WorkItemsClient-C9_pjHCo.mjs} +3 -4
- package/dist/{buildToolSearch-CbLeZ5wP.mjs → buildToolSearch-8xyBwXRx.mjs} +2 -2
- package/dist/commands/acpCommand.mjs +6 -7
- 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 +10 -11
- 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 +3 -3
- package/dist/commands/updateCommand.mjs +2 -2
- package/dist/{dist-BOxr8LQA.mjs → dist-DHgMhdzV.mjs} +5443 -217
- package/dist/{fit-BHDTSpfd.mjs → fit-D8Quui6j.mjs} +3 -3
- package/dist/index.mjs +453 -48
- package/dist/{modelServers-CVufZd1f.mjs → modelServers-JsKBm7Wn.mjs} +1 -1
- package/dist/{package-TACInPbw.mjs → package-r_xumsGY.mjs} +1 -1
- package/dist/{serve-OywSzShu.mjs → serve-BM9PKMLH.mjs} +301 -155
- package/dist/{updateChecker-5v_8LhXy.mjs → updateChecker-BOqaLeZU.mjs} +1 -1
- package/package.json +10 -42
- package/dist/ConfigStore-BAJ4hIHa.mjs +0 -2
|
@@ -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-CjNDzYSf.mjs";
|
|
4
4
|
import path from "path";
|
|
5
5
|
//#region src/sandbox/SandboxOrchestrator.ts
|
|
6
6
|
var SandboxOrchestrator = class {
|
|
@@ -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-CjNDzYSf.mjs";
|
|
@@ -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-CQItj-F1.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-CTc_KPnd.mjs");
|
|
186
186
|
const runtime = new BubblewrapRuntime();
|
|
187
187
|
return runtime.isAvailable() ? runtime : null;
|
|
188
188
|
}
|
|
@@ -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-7MmrU5w6.mjs";
|
|
3
|
+
import { a as getContainerSocketPaths, c as resolveSandboxPath, o as getProtectedWorkspacePaths, s as isBinaryAvailable, t as assertProxyPort } from "./SandboxRuntimeAdapter-CjNDzYSf.mjs";
|
|
4
4
|
import { mkdtempSync, writeFileSync } from "fs";
|
|
5
5
|
import os from "os";
|
|
6
6
|
import path from "path";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { $t as tokenEstimateMultiplier } from "./Logger-
|
|
3
|
-
import { v4 } from "uuid";
|
|
2
|
+
import { $t as tokenEstimateMultiplier } from "./Logger-7MmrU5w6.mjs";
|
|
4
3
|
import { get_encoding } from "tiktoken";
|
|
5
4
|
//#region ../../b4m-core/utils/dist/calibratedTokenizer.mjs
|
|
6
5
|
/**
|
|
@@ -264,7 +263,7 @@ var ConversationContext = class ConversationContext {
|
|
|
264
263
|
}
|
|
265
264
|
buildUserMessage(input) {
|
|
266
265
|
const base = {
|
|
267
|
-
id:
|
|
266
|
+
id: crypto.randomUUID(),
|
|
268
267
|
role: "user",
|
|
269
268
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
270
269
|
};
|
|
@@ -282,7 +281,7 @@ var ConversationContext = class ConversationContext {
|
|
|
282
281
|
buildAssistantMessage(result) {
|
|
283
282
|
const richContent = reconstructTurnBlocks(result.steps, result.finalAnswer);
|
|
284
283
|
return {
|
|
285
|
-
id:
|
|
284
|
+
id: crypto.randomUUID(),
|
|
286
285
|
role: "assistant",
|
|
287
286
|
content: result.finalAnswer,
|
|
288
287
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
import { ht as completionsSupportsToolSearch, t as logger } from "./Logger-
|
|
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-CjGVgxLR.mjs";
|
|
3
|
+
import { ht as completionsSupportsToolSearch, t as logger } from "./Logger-7MmrU5w6.mjs";
|
|
4
4
|
//#region src/llm/NotifyingLlmBackend.ts
|
|
5
5
|
/**
|
|
6
6
|
* LLM backend wrapper that injects background agent notifications
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { A as
|
|
3
|
-
import { c as ToolCatalog, t as ConfigStore, v as requireApiUrl } from "../ConfigStore-
|
|
4
|
-
import { t as logger } from "../Logger-
|
|
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-CjGVgxLR.mjs";
|
|
3
|
+
import { c as ToolCatalog, t as ConfigStore, v as requireApiUrl } from "../ConfigStore-B2Dy-PT9.mjs";
|
|
4
|
+
import { gt as createMutex, t as logger } from "../Logger-7MmrU5w6.mjs";
|
|
5
5
|
import { t as RemoteSkillSource } from "../RemoteSkillSource-D_F99yBR.mjs";
|
|
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-
|
|
6
|
+
import { t as ApiClient } from "../ApiClient-SVXSI3HI.mjs";
|
|
7
|
+
import { a as NotifyingLlmBackend, i as deferredToolRegistry, n as buildAgent, r as buildSupportingStores, t as buildToolSearch } from "../buildToolSearch-8xyBwXRx.mjs";
|
|
8
8
|
import { randomUUID } from "crypto";
|
|
9
9
|
import { existsSync, realpathSync, statSync } from "fs";
|
|
10
10
|
import { isAbsolute } from "path";
|
|
11
11
|
import { Readable } from "node:stream";
|
|
12
12
|
import { PROTOCOL_VERSION, RequestError, agent, methods, ndJsonStream } from "@agentclientprotocol/sdk";
|
|
13
|
-
import { Mutex } from "async-mutex";
|
|
14
13
|
//#region src/acp/protocol.ts
|
|
15
14
|
/**
|
|
16
15
|
* Pure mapping layer between the B4M agent core and the Agent Client Protocol
|
|
@@ -270,7 +269,7 @@ var AcpServer = class {
|
|
|
270
269
|
this.sessionStore = new SessionStore();
|
|
271
270
|
this.customCommandStore = new CustomCommandStore();
|
|
272
271
|
this.sessions = /* @__PURE__ */ new Map();
|
|
273
|
-
this.turnMutex =
|
|
272
|
+
this.turnMutex = createMutex();
|
|
274
273
|
this.stackPromise = null;
|
|
275
274
|
this.stack = null;
|
|
276
275
|
this.activeTurn = null;
|
|
@@ -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-B2Dy-PT9.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-r_xumsGY.mjs";
|
|
3
|
+
import { c as isNpmPrefixWritable, i as fetchLatestVersion, r as compareSemver } from "../updateChecker-BOqaLeZU.mjs";
|
|
4
4
|
import { t as checkRipgrep } from "../ripgrepCheck-BmkyTK2i.mjs";
|
|
5
5
|
import { existsSync } from "fs";
|
|
6
6
|
import { homedir } from "os";
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { A as
|
|
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-
|
|
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-CjGVgxLR.mjs";
|
|
3
|
+
import { D as sanitizeTerminalText, c as ToolCatalog, f as toolCategory, l as commandTextOf, t as ConfigStore, v as requireApiUrl } from "../ConfigStore-B2Dy-PT9.mjs";
|
|
4
|
+
import { l as OllamaBackend, u as OpenAICompatibleBackend } from "../dist-DHgMhdzV.mjs";
|
|
5
|
+
import { t as logger } from "../Logger-7MmrU5w6.mjs";
|
|
6
6
|
import { t as RemoteSkillSource } from "../RemoteSkillSource-D_F99yBR.mjs";
|
|
7
|
-
import { r as reconstructTurnBlocks, t as WorkItemsClient } from "../WorkItemsClient-
|
|
8
|
-
import { t as ApiClient } from "../ApiClient-
|
|
7
|
+
import { r as reconstructTurnBlocks, t as WorkItemsClient } from "../WorkItemsClient-C9_pjHCo.mjs";
|
|
8
|
+
import { t as ApiClient } from "../ApiClient-SVXSI3HI.mjs";
|
|
9
9
|
import { randomBytes } from "crypto";
|
|
10
|
-
import { v4 } from "uuid";
|
|
11
10
|
import { readFile } from "fs/promises";
|
|
12
11
|
//#region src/commands/headlessOllama.ts
|
|
13
12
|
/** Per argument, so one large object (a verbose models list) cannot flood stderr. */
|
|
@@ -364,7 +363,7 @@ async function handleHeadlessCommand(options) {
|
|
|
364
363
|
const configStore = new ConfigStore();
|
|
365
364
|
const sessionStore = new SessionStore();
|
|
366
365
|
const customCommandStore = new CustomCommandStore();
|
|
367
|
-
const runId =
|
|
366
|
+
const runId = crypto.randomUUID();
|
|
368
367
|
try {
|
|
369
368
|
const config = await configStore.load();
|
|
370
369
|
configStore.warnPendingMcpApprovals();
|
|
@@ -436,7 +435,7 @@ async function handleHeadlessCommand(options) {
|
|
|
436
435
|
process.stderr.write(`\u26A0\uFE0F Model "${fromModel}" failed (${sanitizeTerminalText(error.message)}). Falling back to "${toModel}"...\n`);
|
|
437
436
|
}) : llm;
|
|
438
437
|
const session = {
|
|
439
|
-
id:
|
|
438
|
+
id: crypto.randomUUID(),
|
|
440
439
|
name: `Headless ${(/* @__PURE__ */ new Date()).toISOString()}`,
|
|
441
440
|
createdAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
442
441
|
updatedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
@@ -604,12 +603,12 @@ async function handleHeadlessCommand(options) {
|
|
|
604
603
|
const finalSession = {
|
|
605
604
|
...session,
|
|
606
605
|
messages: [{
|
|
607
|
-
id:
|
|
606
|
+
id: crypto.randomUUID(),
|
|
608
607
|
role: "user",
|
|
609
608
|
content: fullPrompt,
|
|
610
609
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
611
610
|
}, {
|
|
612
|
-
id:
|
|
611
|
+
id: crypto.randomUUID(),
|
|
613
612
|
role: "assistant",
|
|
614
613
|
content: result.finalAnswer,
|
|
615
614
|
...richContent ? { richContent } : {},
|
|
@@ -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-B2Dy-PT9.mjs";
|
|
3
|
+
import { t as version } from "../package-r_xumsGY.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-BM9PKMLH.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-B2Dy-PT9.mjs";
|
|
3
|
+
import { t as ApiClient } from "../ApiClient-SVXSI3HI.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-B2Dy-PT9.mjs";
|
|
3
|
+
import "../Logger-7MmrU5w6.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-JsKBm7Wn.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-D8Quui6j.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-B2Dy-PT9.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 { hn as splitSkillMdFrontmatter, mn as readSkillMdSourceUrl } from "../Logger-
|
|
2
|
+
import { t as ConfigStore, v as requireApiUrl } from "../ConfigStore-B2Dy-PT9.mjs";
|
|
3
|
+
import { hn as splitSkillMdFrontmatter, mn as readSkillMdSourceUrl } from "../Logger-7MmrU5w6.mjs";
|
|
4
4
|
import { r as isReservedCommandName, t as RemoteSkillSource } from "../RemoteSkillSource-D_F99yBR.mjs";
|
|
5
|
-
import { t as ApiClient } from "../ApiClient-
|
|
5
|
+
import { t as ApiClient } from "../ApiClient-SVXSI3HI.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-r_xumsGY.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-BOqaLeZU.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";
|