@devness/useai-cli 0.5.45 → 0.5.46
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 +9 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -30,13 +30,13 @@ 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.5.
|
|
33
|
+
var VERSION = "0.5.46";
|
|
34
34
|
|
|
35
35
|
// ../shared/dist/constants/defaults.js
|
|
36
36
|
var DEFAULT_CONFIG = {
|
|
37
37
|
milestone_tracking: true,
|
|
38
38
|
auto_sync: true,
|
|
39
|
-
evaluation_framework: "
|
|
39
|
+
evaluation_framework: "space"
|
|
40
40
|
};
|
|
41
41
|
var DEFAULT_SYNC_INTERVAL_HOURS = 24;
|
|
42
42
|
|
|
@@ -5284,8 +5284,8 @@ var rubrics = [
|
|
|
5284
5284
|
];
|
|
5285
5285
|
var rawFramework = {
|
|
5286
5286
|
id: "raw",
|
|
5287
|
-
name: "
|
|
5288
|
-
description: "
|
|
5287
|
+
name: "Basic",
|
|
5288
|
+
description: "Simple equal-weight average, no detailed rubric. Good for getting started.",
|
|
5289
5289
|
version: "1.0.0",
|
|
5290
5290
|
rubrics,
|
|
5291
5291
|
computeSessionScore(evaluation) {
|
|
@@ -5355,7 +5355,7 @@ var rubrics2 = [
|
|
|
5355
5355
|
var spaceFramework = {
|
|
5356
5356
|
id: "space",
|
|
5357
5357
|
name: "SPACE",
|
|
5358
|
-
description: "SPACE
|
|
5358
|
+
description: "Based on the SPACE developer productivity framework (GitHub/Microsoft Research). Weighted rubrics with explicit per-level criteria.",
|
|
5359
5359
|
version: "1.0.0",
|
|
5360
5360
|
rubrics: rubrics2,
|
|
5361
5361
|
computeSessionScore(evaluation) {
|
|
@@ -5378,14 +5378,14 @@ var spaceFramework = {
|
|
|
5378
5378
|
|
|
5379
5379
|
// ../shared/dist/frameworks/registry.js
|
|
5380
5380
|
var frameworks = {
|
|
5381
|
-
|
|
5382
|
-
|
|
5381
|
+
space: spaceFramework,
|
|
5382
|
+
raw: rawFramework
|
|
5383
5383
|
};
|
|
5384
5384
|
function getFramework(id) {
|
|
5385
5385
|
if (id && id in frameworks) {
|
|
5386
5386
|
return frameworks[id];
|
|
5387
5387
|
}
|
|
5388
|
-
return frameworks.
|
|
5388
|
+
return frameworks.space;
|
|
5389
5389
|
}
|
|
5390
5390
|
function getFrameworkIds() {
|
|
5391
5391
|
return Object.keys(frameworks);
|
|
@@ -6043,7 +6043,7 @@ function reinjectInstructions(frameworkId) {
|
|
|
6043
6043
|
}
|
|
6044
6044
|
|
|
6045
6045
|
// src/commands/config.ts
|
|
6046
|
-
var configCommand = new Command4("config").description("View or update settings").option("--sync", "Enable auto-sync").option("--no-sync", "Disable auto-sync").option("--milestones", "Enable milestone tracking").option("--no-milestones", "Disable milestone tracking").option("--framework <name>", "Set evaluation framework (
|
|
6046
|
+
var configCommand = new Command4("config").description("View or update settings").option("--sync", "Enable auto-sync").option("--no-sync", "Disable auto-sync").option("--milestones", "Enable milestone tracking").option("--no-milestones", "Disable milestone tracking").option("--framework <name>", "Set evaluation framework: space (recommended), raw (basic)").action((opts) => {
|
|
6047
6047
|
let changed = false;
|
|
6048
6048
|
if (process.argv.includes("--no-sync")) {
|
|
6049
6049
|
updateConfig({ auto_sync: false });
|