clawnify 0.22.3 → 0.22.4
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.
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
resolveOrgContext,
|
|
23
23
|
saveAuth,
|
|
24
24
|
saveProject
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-MEJ2B6IG.js";
|
|
26
26
|
|
|
27
27
|
// src/cli.ts
|
|
28
28
|
import { Command, Option } from "commander";
|
|
@@ -1777,7 +1777,7 @@ function agentByName(name) {
|
|
|
1777
1777
|
var ALL_AGENTS = DETECTORS.map((d) => d.agent);
|
|
1778
1778
|
|
|
1779
1779
|
// src/lib/skills/content.gen.ts
|
|
1780
|
-
var CLI_VERSION = "0.22.
|
|
1780
|
+
var CLI_VERSION = "0.22.4";
|
|
1781
1781
|
var BUNDLED_SKILLS = [
|
|
1782
1782
|
{
|
|
1783
1783
|
name: "build-a-clawnify-app",
|
|
@@ -2205,13 +2205,26 @@ Done \u2014 removed ${removed} item${removed === 1 ? "" : "s"}.`);
|
|
|
2205
2205
|
}
|
|
2206
2206
|
|
|
2207
2207
|
// src/commands/init.ts
|
|
2208
|
+
var EXIT_USAGE2 = 64;
|
|
2208
2209
|
function ask2(question) {
|
|
2209
2210
|
const rl = readline4.createInterface({
|
|
2210
2211
|
input: process.stdin,
|
|
2211
2212
|
output: process.stdout
|
|
2212
2213
|
});
|
|
2213
2214
|
return new Promise((resolve) => {
|
|
2215
|
+
let answered = false;
|
|
2216
|
+
rl.on("close", () => {
|
|
2217
|
+
if (answered) return;
|
|
2218
|
+
console.error(
|
|
2219
|
+
`
|
|
2220
|
+
No answer to "${question.trim()}": there is no terminal to ask in.
|
|
2221
|
+
Pass --yes for the defaults, or the answers as flags (clawnify init --help).
|
|
2222
|
+
`
|
|
2223
|
+
);
|
|
2224
|
+
process.exit(EXIT_USAGE2);
|
|
2225
|
+
});
|
|
2214
2226
|
rl.question(question, (answer) => {
|
|
2227
|
+
answered = true;
|
|
2215
2228
|
rl.close();
|
|
2216
2229
|
resolve(answer.trim());
|
|
2217
2230
|
});
|
package/dist/index.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
// src/index.ts
|
|
4
4
|
if (process.argv.includes("--mcp")) {
|
|
5
|
-
const { startMcpServer } = await import("./mcp-
|
|
5
|
+
const { startMcpServer } = await import("./mcp-OCGWHDUI.js");
|
|
6
6
|
await startMcpServer();
|
|
7
7
|
} else {
|
|
8
|
-
const { runCli } = await import("./cli-
|
|
8
|
+
const { runCli } = await import("./cli-DQP6Q44D.js");
|
|
9
9
|
await runCli();
|
|
10
10
|
}
|