@devness/useai-cli 0.4.0 → 0.4.1

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 +6 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -29,7 +29,7 @@ var SYSTEMD_SERVICE_PATH = join(homedir(), ".config", "systemd", "user", "useai-
29
29
  var WINDOWS_STARTUP_SCRIPT_PATH = join(process.env["APPDATA"] ?? join(homedir(), "AppData", "Roaming"), "Microsoft", "Windows", "Start Menu", "Programs", "Startup", "useai-daemon.vbs");
30
30
 
31
31
  // ../shared/dist/constants/version.js
32
- var VERSION = "0.3.0";
32
+ var VERSION = "0.4.1";
33
33
 
34
34
  // ../shared/dist/constants/defaults.js
35
35
  var DEFAULT_CONFIG = {
@@ -4674,7 +4674,7 @@ async function ensureDaemon() {
4674
4674
  } catch {
4675
4675
  npxPath = "npx";
4676
4676
  }
4677
- const child = spawn(npxPath, ["-y", "@devness/useai", "daemon", "--port", String(DAEMON_PORT)], {
4677
+ const child = spawn(npxPath, ["-y", "@devness/useai@latest", "daemon", "--port", String(DAEMON_PORT)], {
4678
4678
  detached: true,
4679
4679
  stdio: "ignore"
4680
4680
  });
@@ -4886,7 +4886,8 @@ var USEAI_INSTRUCTIONS_TEXT = [
4886
4886
  "## UseAI Session Tracking",
4887
4887
  "- At the START of every conversation, call `useai_session_start` with the appropriate task_type.",
4888
4888
  "- For LONG sessions (15+ min), call `useai_heartbeat` periodically.",
4889
- "- At the END of every conversation, call `useai_session_end` with languages used, files_touched_count, and milestones (generic descriptions only \u2014 no project names, file paths, or company names)."
4889
+ "- At the END of every conversation, call `useai_session_end` with languages used, files_touched_count, and milestones.",
4890
+ '- MILESTONES PRIVACY: Milestone titles must be COMPLETELY GENERIC. NEVER mention project names, repository names, product names, file names, file paths, class names, or company names. Write as if describing the work to a stranger who knows nothing about the codebase. GOOD: "Fixed race condition in background worker". BAD: "Fixed bug in ProjectX worker service".'
4890
4891
  ].join("\n");
4891
4892
  var MCP_ENTRY = {
4892
4893
  command: "npx",
@@ -5101,7 +5102,8 @@ var USEAI_INSTRUCTIONS = [
5101
5102
  "## UseAI Session Tracking",
5102
5103
  "- At the START of every conversation, call `useai_session_start` with the appropriate task_type.",
5103
5104
  "- For LONG sessions (15+ min), call `useai_heartbeat` periodically.",
5104
- "- At the END of every conversation, call `useai_session_end` with languages used, files_touched_count, and milestones (generic descriptions only \u2014 no project names, file paths, or company names)."
5105
+ "- At the END of every conversation, call `useai_session_end` with languages used, files_touched_count, and milestones.",
5106
+ '- MILESTONES PRIVACY: Milestone titles must be COMPLETELY GENERIC. NEVER mention project names, repository names, product names, file names, file paths, class names, or company names. Write as if describing the work to a stranger who knows nothing about the codebase. GOOD: "Fixed race condition in background worker". BAD: "Fixed bug in ProjectX worker service".'
5105
5107
  ].join("\n");
5106
5108
  var USEAI_INSTRUCTIONS_BLOCK = `${INSTRUCTIONS_START}
5107
5109
  ${USEAI_INSTRUCTIONS}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devness/useai-cli",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "CLI tool for useai.dev — stats, sync, publish your AI development workflow",
5
5
  "author": "nabeelkausari",
6
6
  "license": "MIT",