@devness/useai-cli 0.4.29 → 0.4.31

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 (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4712,7 +4712,7 @@ async function ensureDaemon() {
4712
4712
  });
4713
4713
  child.unref();
4714
4714
  const start = Date.now();
4715
- while (Date.now() - start < 3e4) {
4715
+ while (Date.now() - start < 6e4) {
4716
4716
  await new Promise((r) => setTimeout(r, 500));
4717
4717
  if (await checkDaemonHealth())
4718
4718
  return true;
@@ -5094,7 +5094,7 @@ var USEAI_INSTRUCTIONS_TEXT = [
5094
5094
  ].join("\n");
5095
5095
  var MCP_ENTRY = {
5096
5096
  command: "npx",
5097
- args: ["-y", "@devness/useai"]
5097
+ args: ["-y", "@devness/useai@latest"]
5098
5098
  };
5099
5099
  var MCP_HTTP_URL = DAEMON_MCP_URL;
5100
5100
  var MCP_HTTP_ENTRY = { type: "http", url: MCP_HTTP_URL };
@@ -5629,7 +5629,7 @@ async function daemonInstallFlow(tools, explicit) {
5629
5629
  } else {
5630
5630
  useDaemon = false;
5631
5631
  console.log(error("\u2717 Could not start daemon \u2014 falling back to stdio config"));
5632
- console.log(info(`(Run with --foreground to debug: npx @devness/useai daemon --port ${DAEMON_PORT})`));
5632
+ console.log(info(`(Run with --foreground to debug: npx @devness/useai@latest daemon --port ${DAEMON_PORT})`));
5633
5633
  }
5634
5634
  if (useDaemon) {
5635
5635
  const platform = detectPlatform();
@@ -5908,7 +5908,7 @@ var startCommand = new Command8("start").description("Start the UseAI daemon").o
5908
5908
  }
5909
5909
  }
5910
5910
  if (opts.foreground) {
5911
- const child = spawn2("npx", ["-y", "@devness/useai", "daemon", "--port", String(port)], {
5911
+ const child = spawn2("npx", ["-y", "@devness/useai@latest", "daemon", "--port", String(port)], {
5912
5912
  stdio: "inherit"
5913
5913
  });
5914
5914
  child.on("exit", (code) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devness/useai-cli",
3
- "version": "0.4.29",
3
+ "version": "0.4.31",
4
4
  "description": "CLI tool for useai.dev — stats, sync, publish your AI development workflow",
5
5
  "author": "nabeelkausari",
6
6
  "license": "MIT",