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.
@@ -658,7 +658,7 @@ async function pollUntilReady(resourceId, options = {}) {
658
658
  }
659
659
 
660
660
  // src/version.ts
661
- var VERSION = "0.22.3";
661
+ var VERSION = "0.22.4";
662
662
 
663
663
  export {
664
664
  OAUTH_CLIENT_ID,
@@ -22,7 +22,7 @@ import {
22
22
  resolveOrgContext,
23
23
  saveAuth,
24
24
  saveProject
25
- } from "./chunk-XNVXQ7A5.js";
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.3";
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-SD3GOBCK.js");
5
+ const { startMcpServer } = await import("./mcp-OCGWHDUI.js");
6
6
  await startMcpServer();
7
7
  } else {
8
- const { runCli } = await import("./cli-EEW6EVW4.js");
8
+ const { runCli } = await import("./cli-DQP6Q44D.js");
9
9
  await runCli();
10
10
  }
@@ -7,7 +7,7 @@ import {
7
7
  pollUntilReady,
8
8
  readManifest,
9
9
  saveProject
10
- } from "./chunk-XNVXQ7A5.js";
10
+ } from "./chunk-MEJ2B6IG.js";
11
11
 
12
12
  // src/mcp.ts
13
13
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawnify",
3
- "version": "0.22.3",
3
+ "version": "0.22.4",
4
4
  "description": "Deploy your apps and website to Clawnify from the terminal with Claude Code, Codex, and Cursor",
5
5
  "type": "module",
6
6
  "bin": {