@bike4mind/cli 4.8.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.
Files changed (39) hide show
  1. package/README.md +21 -0
  2. package/bin/bike4mind-cli.mjs +342 -239
  3. package/dist/{AgentHistoryStore-Bvmcy2kf.mjs → AgentHistoryStore-CjGVgxLR.mjs} +305 -644
  4. package/dist/{ApiClient-Yp2LPlX3.mjs → ApiClient-SVXSI3HI.mjs} +3 -3
  5. package/dist/{BubblewrapRuntime-OI4qFPNB.mjs → BubblewrapRuntime-CTc_KPnd.mjs} +2 -2
  6. package/dist/{ConfigStore-CP1W86Ui.mjs → ConfigStore-B2Dy-PT9.mjs} +7 -8
  7. package/dist/ConfigStore-zlY0PikB.mjs +2 -0
  8. package/dist/{Logger-3RbeTZ9o.mjs → Logger-7MmrU5w6.mjs} +4845 -1126
  9. package/dist/{SandboxOrchestrator-lpxVEFO7.mjs → SandboxOrchestrator-CeDwd6Fj.mjs} +1 -1
  10. package/dist/{SandboxRuntimeAdapter-u6c_IrjP.mjs → SandboxRuntimeAdapter-CFEIywKt.mjs} +1 -1
  11. package/dist/{SandboxRuntimeAdapter-C3xICJtQ.mjs → SandboxRuntimeAdapter-CjNDzYSf.mjs} +2 -2
  12. package/dist/{SeatbeltRuntime-Ccd_QbjX.mjs → SeatbeltRuntime-CQItj-F1.mjs} +2 -2
  13. package/dist/{WorkItemsClient-D4sFGL9X.mjs → WorkItemsClient-C9_pjHCo.mjs} +3 -4
  14. package/dist/{buildToolSearch-CqHKSLtG.mjs → buildToolSearch-8xyBwXRx.mjs} +2 -2
  15. package/dist/commands/acpCommand.mjs +6 -7
  16. package/dist/commands/apiCommand.mjs +1 -1
  17. package/dist/commands/doctorCommand.mjs +2 -2
  18. package/dist/commands/envCommand.mjs +1 -1
  19. package/dist/commands/headlessCommand.mjs +10 -11
  20. package/dist/commands/hostCommand.mjs +1 -1
  21. package/dist/commands/mcpCommand.mjs +3 -3
  22. package/dist/commands/mirrorCommand.mjs +2 -2
  23. package/dist/commands/modelsCommand.mjs +4 -4
  24. package/dist/commands/pluginCommand.mjs +1 -1
  25. package/dist/commands/skillsCommand.mjs +3 -3
  26. package/dist/commands/updateCommand.mjs +2 -2
  27. package/dist/dist-DHgMhdzV.mjs +10138 -0
  28. package/dist/{fit-BOnDsgbk.mjs → fit-D8Quui6j.mjs} +3 -3
  29. package/dist/index.mjs +732 -69
  30. package/dist/{modelServers-B7zI5XnO.mjs → modelServers-JsKBm7Wn.mjs} +1 -1
  31. package/dist/{package-WlxLVpUb.mjs → package-r_xumsGY.mjs} +1 -1
  32. package/dist/{serve-DpsV0mag.mjs → serve-BM9PKMLH.mjs} +873 -60
  33. package/dist/{store-xeJRhBtO.mjs → store-CmOg7JIt.mjs} +2 -0
  34. package/dist/store-OGMXhD4A.mjs +2 -0
  35. package/dist/{updateChecker-Boq0RruU.mjs → updateChecker-BOqaLeZU.mjs} +1 -1
  36. package/package.json +12 -44
  37. package/dist/ConfigStore-Bo4od3Eu.mjs +0 -2
  38. package/dist/dist-BPhZ0dCz.mjs +0 -4776
  39. package/dist/store-Bpdo9Syo.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-C3xICJtQ.mjs";
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-C3xICJtQ.mjs";
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-Ccd_QbjX.mjs");
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-OI4qFPNB.mjs");
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-3RbeTZ9o.mjs";
3
- import { a as getContainerSocketPaths, c as resolveSandboxPath, o as getProtectedWorkspacePaths, s as isBinaryAvailable, t as assertProxyPort } from "./SandboxRuntimeAdapter-C3xICJtQ.mjs";
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 { zt as tokenEstimateMultiplier } from "./Logger-3RbeTZ9o.mjs";
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: v4(),
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: v4(),
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 { U as generateCliTools, a as loadProjectContext, bt as getPlanModeFilePath, ft as DeferredToolRegistry, gt as wrapTools, i as buildProjectAgentStore, mt as createToolSearchTool, n as BackgroundAgentManager, o as McpManager, pt as ReActAgent, r as SubagentOrchestrator, t as AgentHistoryStore, ut as buildSystemPrompt } from "./AgentHistoryStore-Bvmcy2kf.mjs";
3
- import { ot as completionsSupportsToolSearch, t as logger } from "./Logger-3RbeTZ9o.mjs";
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 createTodoStore, D as createGetFileStructureTool, Et as SessionStore, F as createResumeAgentTool, H as buildCliToolList, I as createBackgroundAgentTools, L as createAgentDelegateTool, M as createSkillTool, P as createCoordinateTaskTool, R as FallbackLlmBackend, V as PermissionManager, Z as NoLocalModelsError, at as signInUncheckedHeadlessMessage, c as checkSavedSignIn, f as buildLlmBackend, j as createWriteTodosTool, k as createFindDefinitionTool, l as settleSignInRefresh, s as buildSandbox, tt as SIGN_IN_EXPIRED_HEADLESS, vt as setWebSocketToolExecutor, wt as CheckpointStore, xt as CustomCommandStore } from "../AgentHistoryStore-Bvmcy2kf.mjs";
3
- import { c as ToolCatalog, t as ConfigStore, v as requireApiUrl } from "../ConfigStore-CP1W86Ui.mjs";
4
- import { t as logger } from "../Logger-3RbeTZ9o.mjs";
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-Yp2LPlX3.mjs";
7
- import { a as NotifyingLlmBackend, i as deferredToolRegistry, n as buildAgent, r as buildSupportingStores, t as buildToolSearch } from "../buildToolSearch-CqHKSLtG.mjs";
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 = new Mutex();
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-CP1W86Ui.mjs";
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-WlxLVpUb.mjs";
3
- import { c as isNpmPrefixWritable, i as fetchLatestVersion, r as compareSemver } from "../updateChecker-Boq0RruU.mjs";
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,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as ConfigStore } from "../ConfigStore-CP1W86Ui.mjs";
2
+ import { t as ConfigStore } from "../ConfigStore-B2Dy-PT9.mjs";
3
3
  //#region src/commands/envCommand.ts
4
4
  /**
5
5
  * Environment switching for the `--dev` / `--prod` launch flags.
@@ -1,13 +1,12 @@
1
1
  #!/usr/bin/env node
2
- import { A as createTodoStore, D as createGetFileStructureTool, Et as SessionStore, F as createResumeAgentTool, H as buildCliToolList, I as createBackgroundAgentTools, L as createAgentDelegateTool, M as createSkillTool, O as createWorkItemTools, P as createCoordinateTaskTool, R as FallbackLlmBackend, U as generateCliTools, V as PermissionManager, _ as createSseBackend, a as loadProjectContext, at as signInUncheckedHeadlessMessage, c as checkSavedSignIn, d as attachLocalModels, g as withSignedOutLocalDefault, gt as wrapTools, h as resolveSignedOutHeadlessModel, i as buildProjectAgentStore, j as createWriteTodosTool, k as createFindDefinitionTool, l as settleSignInRefresh, m as resolveHeadlessModel, n as BackgroundAgentManager, o as McpManager, p as defaultLlmBackendDeps, pt as ReActAgent, r as SubagentOrchestrator, rt as SignedOutCloudBackend, s as buildSandbox, t as AgentHistoryStore, tt as SIGN_IN_EXPIRED_HEADLESS, ut as buildSystemPrompt, vt as setWebSocketToolExecutor, wt as CheckpointStore, xt as CustomCommandStore, yt as classifyCommandRisk } from "../AgentHistoryStore-Bvmcy2kf.mjs";
3
- import { D as sanitizeTerminalText, c as ToolCatalog, f as toolCategory, l as commandTextOf, t as ConfigStore, v as requireApiUrl } from "../ConfigStore-CP1W86Ui.mjs";
4
- import { l as OllamaBackend, u as OpenAICompatibleBackend } from "../dist-BPhZ0dCz.mjs";
5
- import { t as logger } from "../Logger-3RbeTZ9o.mjs";
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-D4sFGL9X.mjs";
8
- import { t as ApiClient } from "../ApiClient-Yp2LPlX3.mjs";
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 = v4();
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: v4(),
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: v4(),
606
+ id: crypto.randomUUID(),
608
607
  role: "user",
609
608
  content: fullPrompt,
610
609
  timestamp: (/* @__PURE__ */ new Date()).toISOString()
611
610
  }, {
612
- id: v4(),
611
+ id: crypto.randomUUID(),
613
612
  role: "assistant",
614
613
  content: result.finalAnswer,
615
614
  ...richContent ? { richContent } : {},
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import { f as PULL_JOB_ACTIVE_STATES, g as PullJobSchema, h as PullJobRequestSchema, m as PullJobActionSchema, o as MODEL_HOST_ROLES, p as PULL_JOB_FINAL_STATES, s as ModelHostHelloSchema } from "../modelHub-BSB6qRFP.mjs";
3
3
  import { A as curatedLibrary, B as isCuratedListable, E as HuggingFaceHub, F as curatedRunner, G as ollamaLibraryLayers, J as ollamaRefAliases, K as ollamaModelKey, P as curatedPins, U as loadCuratedManifest, W as lockFile, X as ModelFileBusyError, Z as ModelNotFoundError, a as checkApproval, f as licensesChanged, g as probeModelHost, i as OllamaRuntime, o as checkInstalledBlob, q as ollamaPullRef, r as DEFAULT_OLLAMA_URL, s as checkInstalledDigest, v as sameRepo } from "../dist-K7a9yOUb.mjs";
4
+ import { parseArgs } from "node:util";
4
5
  import { join } from "node:path";
5
6
  import { constants } from "node:fs";
6
7
  import { z as z$1 } from "zod";
7
8
  import { randomBytes, randomUUID } from "node:crypto";
8
- import { parseArgs } from "node:util";
9
9
  import { homedir, hostname, userInfo } from "node:os";
10
10
  import { appendFile, chmod, chown, lstat, mkdir, open, readFile, readdir, rename, rm, stat, statfs } from "node:fs/promises";
11
11
  import { connect, createConnection, createServer } from "node:net";
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import { n as McpToggleRefusedError, t as ConfigStore } from "../ConfigStore-CP1W86Ui.mjs";
3
- import { t as version } from "../package-WlxLVpUb.mjs";
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-DpsV0mag.mjs");
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-CP1W86Ui.mjs";
3
- import { t as ApiClient } from "../ApiClient-Yp2LPlX3.mjs";
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-CP1W86Ui.mjs";
3
- import "../Logger-3RbeTZ9o.mjs";
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-B7zI5XnO.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-BOnDsgbk.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-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-CP1W86Ui.mjs";
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-CP1W86Ui.mjs";
3
- import { en as readSkillMdSourceUrl, tn as splitSkillMdFrontmatter } from "../Logger-3RbeTZ9o.mjs";
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-Yp2LPlX3.mjs";
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-WlxLVpUb.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-Boq0RruU.mjs";
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";