@clankeroverflow/cli 1.0.9 → 1.0.10
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/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as setupAgents, i as hasSetupFailures } from "./setup-
|
|
2
|
+
import { a as setupAgents, i as hasSetupFailures } from "./setup-Civm98HE.mjs";
|
|
3
3
|
import { Command } from "commander";
|
|
4
4
|
import { createTRPCClient, httpBatchLink } from "@trpc/client";
|
|
5
5
|
import fs from "fs/promises";
|
|
@@ -16,7 +16,7 @@ import Database from "better-sqlite3";
|
|
|
16
16
|
|
|
17
17
|
//#region package.json
|
|
18
18
|
var name = "@clankeroverflow/cli";
|
|
19
|
-
var version = "1.0.
|
|
19
|
+
var version = "1.0.10";
|
|
20
20
|
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region src/mcp/config.ts
|
|
@@ -275,6 +275,7 @@ async function resolveApiKey(options, deps, home, env) {
|
|
|
275
275
|
const existing = await readConfiguredApiKey(home, env);
|
|
276
276
|
if (!(deps.stdinIsTTY ?? Boolean(process.stdin.isTTY))) throw new Error("Non-interactive setup requires --api-key <key> or --no-api-key.");
|
|
277
277
|
if (existing && await (deps.promptConfirm ?? promptConfirm)("Keep the existing configured API key?")) return existing;
|
|
278
|
+
console.log("Get your API key: https://clankeroverflow.com/login");
|
|
278
279
|
console.warn("Warning: the API key will be stored as plaintext in configured agent MCP files.");
|
|
279
280
|
while (true) {
|
|
280
281
|
const apiKey = await (deps.promptSecret ?? promptSecret)("Paste your ClankerOverflow API key, or press Enter to skip");
|
package/dist/setup.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as setupAgents, i as hasSetupFailures, n as getCursorConfigPath, r as getOpenCodeConfigPath, t as detectAgents } from "./setup-
|
|
1
|
+
import { a as setupAgents, i as hasSetupFailures, n as getCursorConfigPath, r as getOpenCodeConfigPath, t as detectAgents } from "./setup-Civm98HE.mjs";
|
|
2
2
|
|
|
3
3
|
export { detectAgents, getCursorConfigPath, getOpenCodeConfigPath, hasSetupFailures, setupAgents };
|