@devness/useai-cli 0.6.20 → 0.6.21
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.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import { Command as Command12 } from "commander";
|
|
|
11
11
|
// ../shared/dist/constants/paths.js
|
|
12
12
|
import { join } from "path";
|
|
13
13
|
import { homedir } from "os";
|
|
14
|
-
var USEAI_DIR = join(homedir(), ".useai");
|
|
14
|
+
var USEAI_DIR = process.env["USEAI_HOME"] ?? join(homedir(), ".useai");
|
|
15
15
|
var DATA_DIR = join(USEAI_DIR, "data");
|
|
16
16
|
var ACTIVE_DIR = join(DATA_DIR, "active");
|
|
17
17
|
var SEALED_DIR = join(DATA_DIR, "sealed");
|
|
@@ -30,7 +30,7 @@ var SYSTEMD_SERVICE_PATH = join(homedir(), ".config", "systemd", "user", "useai-
|
|
|
30
30
|
var WINDOWS_STARTUP_SCRIPT_PATH = join(process.env["APPDATA"] ?? join(homedir(), "AppData", "Roaming"), "Microsoft", "Windows", "Start Menu", "Programs", "Startup", "useai-daemon.vbs");
|
|
31
31
|
|
|
32
32
|
// ../shared/dist/constants/version.js
|
|
33
|
-
var VERSION = "0.6.
|
|
33
|
+
var VERSION = "0.6.21";
|
|
34
34
|
|
|
35
35
|
// ../shared/dist/constants/defaults.js
|
|
36
36
|
var DEFAULT_CONFIG = {
|
|
@@ -5463,7 +5463,7 @@ function buildInstructionsText(frameworkId) {
|
|
|
5463
5463
|
const framework = getFramework(frameworkId);
|
|
5464
5464
|
return [
|
|
5465
5465
|
"## UseAI Session Tracking",
|
|
5466
|
-
"- At the START of every response
|
|
5466
|
+
"- At the START of every response to a **user message**, call `useai_start` with the appropriate task_type. Also generate a short session `title` (generic, no project names) and `private_title` (detailed, can include specifics) from the user's prompt.",
|
|
5467
5467
|
"- To group multiple prompts in the same conversation, pass the `conversation_id` from the previous `useai_start` response (returned as `conversation_id=<value>`). Omit it for the first message or a new conversation.",
|
|
5468
5468
|
"- For LONG sessions (15+ min), call `useai_heartbeat` periodically.",
|
|
5469
5469
|
framework.getInstructionText()
|