@vemdev/cli 0.1.48 → 0.1.50
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/{chunk-22CM6ZM5.js → chunk-PPAFJ3LP.js} +221 -212
- package/dist/chunk-PPAFJ3LP.js.map +1 -0
- package/dist/{dist-MFRU63ZN.js → dist-2IBAWS6G.js} +2 -2
- package/dist/index.js +54 -7
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-22CM6ZM5.js.map +0 -1
- /package/dist/{dist-MFRU63ZN.js.map → dist-2IBAWS6G.js.map} +0 -0
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
validateEnv,
|
|
59
59
|
validatePasswordStrength,
|
|
60
60
|
validateWebhookUrl
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-PPAFJ3LP.js";
|
|
62
62
|
import {
|
|
63
63
|
computeCopilotSessionStats,
|
|
64
64
|
getCopilotSessionsDir,
|
|
@@ -147,4 +147,4 @@ export {
|
|
|
147
147
|
validatePasswordStrength,
|
|
148
148
|
validateWebhookUrl
|
|
149
149
|
};
|
|
150
|
-
//# sourceMappingURL=dist-
|
|
150
|
+
//# sourceMappingURL=dist-2IBAWS6G.js.map
|
package/dist/index.js
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
isVemInitialized,
|
|
24
24
|
listAllAgentSessions,
|
|
25
25
|
parseVemUpdateBlock
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-PPAFJ3LP.js";
|
|
27
27
|
import {
|
|
28
28
|
readCopilotSessionDetail
|
|
29
29
|
} from "./chunk-PO3WNPAJ.js";
|
|
@@ -1100,6 +1100,23 @@ var updateTaskMetaRemote = async (configService, task, patch) => {
|
|
|
1100
1100
|
if (patch.actor !== void 0) {
|
|
1101
1101
|
payload.actor = patch.actor.trim().length > 0 ? patch.actor.trim() : void 0;
|
|
1102
1102
|
}
|
|
1103
|
+
if (patch.title !== void 0) payload.title = patch.title;
|
|
1104
|
+
if (patch.description !== void 0) payload.description = patch.description;
|
|
1105
|
+
if (patch.priority !== void 0) payload.priority = patch.priority;
|
|
1106
|
+
if (patch.tags !== void 0) payload.tags = patch.tags;
|
|
1107
|
+
if (patch.type !== void 0) payload.type = patch.type;
|
|
1108
|
+
if (patch.estimate_hours !== void 0) payload.estimate_hours = patch.estimate_hours;
|
|
1109
|
+
if (patch.depends_on !== void 0) payload.depends_on = patch.depends_on;
|
|
1110
|
+
if (patch.blocked_by !== void 0) payload.blocked_by = patch.blocked_by;
|
|
1111
|
+
if (patch.recurrence_rule !== void 0) payload.recurrence_rule = patch.recurrence_rule;
|
|
1112
|
+
if (patch.owner_id !== void 0) payload.owner_id = patch.owner_id;
|
|
1113
|
+
if (patch.reviewer_id !== void 0) payload.reviewer_id = patch.reviewer_id;
|
|
1114
|
+
if (patch.validation_steps !== void 0) payload.validation_steps = patch.validation_steps;
|
|
1115
|
+
if (patch.user_notes !== void 0) payload.user_notes = patch.user_notes;
|
|
1116
|
+
if (patch.github_issue_number !== void 0) payload.github_issue_number = patch.github_issue_number;
|
|
1117
|
+
if (patch.parent_id !== void 0) payload.parent_id = patch.parent_id;
|
|
1118
|
+
if (patch.subtask_order !== void 0) payload.subtask_order = patch.subtask_order;
|
|
1119
|
+
if (patch.due_at !== void 0) payload.due_at = patch.due_at;
|
|
1103
1120
|
const response = await fetch(
|
|
1104
1121
|
`${API_URL}/tasks/${encodeURIComponent(dbId)}/meta`,
|
|
1105
1122
|
{
|
|
@@ -1197,7 +1214,25 @@ var syncParsedTaskUpdatesToRemote = async (configService, update, result) => {
|
|
|
1197
1214
|
related_decisions: patch.related_decisions ?? updatedTask.related_decisions,
|
|
1198
1215
|
sessions: Array.isArray(updatedTask.sessions) ? updatedTask.sessions : void 0,
|
|
1199
1216
|
reasoning: patch.reasoning ?? changelogReasoning,
|
|
1200
|
-
actor: patch.actor
|
|
1217
|
+
actor: patch.actor,
|
|
1218
|
+
// Forward all other task fields that may have changed
|
|
1219
|
+
...patch.title !== void 0 ? { title: patch.title } : {},
|
|
1220
|
+
...patch.description !== void 0 ? { description: patch.description } : {},
|
|
1221
|
+
...patch.priority !== void 0 ? { priority: patch.priority } : {},
|
|
1222
|
+
...patch.tags !== void 0 ? { tags: patch.tags } : {},
|
|
1223
|
+
...patch.type !== void 0 ? { type: patch.type } : {},
|
|
1224
|
+
...patch.estimate_hours !== void 0 ? { estimate_hours: patch.estimate_hours } : {},
|
|
1225
|
+
...patch.depends_on !== void 0 ? { depends_on: patch.depends_on } : {},
|
|
1226
|
+
...patch.blocked_by !== void 0 ? { blocked_by: patch.blocked_by } : {},
|
|
1227
|
+
...patch.recurrence_rule !== void 0 ? { recurrence_rule: patch.recurrence_rule } : {},
|
|
1228
|
+
...patch.owner_id !== void 0 ? { owner_id: patch.owner_id } : {},
|
|
1229
|
+
...patch.reviewer_id !== void 0 ? { reviewer_id: patch.reviewer_id } : {},
|
|
1230
|
+
...patch.validation_steps !== void 0 ? { validation_steps: patch.validation_steps } : {},
|
|
1231
|
+
...patch.user_notes !== void 0 ? { user_notes: patch.user_notes } : {},
|
|
1232
|
+
...patch.github_issue_number !== void 0 ? { github_issue_number: patch.github_issue_number } : {},
|
|
1233
|
+
...patch.parent_id !== void 0 ? { parent_id: patch.parent_id } : {},
|
|
1234
|
+
...patch.subtask_order !== void 0 ? { subtask_order: patch.subtask_order } : {},
|
|
1235
|
+
...patch.due_at !== void 0 ? { due_at: patch.due_at } : {}
|
|
1201
1236
|
});
|
|
1202
1237
|
const taskContextPatch = buildRemoteTaskContextPatch(patch, updatedTask);
|
|
1203
1238
|
if (taskContextPatch) {
|
|
@@ -2981,7 +3016,7 @@ function registerMaintenanceCommands(program2) {
|
|
|
2981
3016
|
});
|
|
2982
3017
|
program2.command("diff").description("Show differences between local and cloud state").option("--detailed", "Show detailed content diffs").option("--json", "Output as JSON").action(async (options) => {
|
|
2983
3018
|
try {
|
|
2984
|
-
const { DiffService } = await import("./dist-
|
|
3019
|
+
const { DiffService } = await import("./dist-2IBAWS6G.js");
|
|
2985
3020
|
const diffService = new DiffService();
|
|
2986
3021
|
const result = await diffService.compareWithLastPush();
|
|
2987
3022
|
if (options.json) {
|
|
@@ -3039,7 +3074,7 @@ ${"\u2500".repeat(50)}`));
|
|
|
3039
3074
|
});
|
|
3040
3075
|
program2.command("doctor").description("Run health checks on VEM setup").option("--json", "Output as JSON").action(async (options) => {
|
|
3041
3076
|
try {
|
|
3042
|
-
const { DoctorService } = await import("./dist-
|
|
3077
|
+
const { DoctorService } = await import("./dist-2IBAWS6G.js");
|
|
3043
3078
|
const doctorService = new DoctorService();
|
|
3044
3079
|
const results = await doctorService.runAllChecks();
|
|
3045
3080
|
if (options.json) {
|
|
@@ -6023,6 +6058,13 @@ Snapshot Contents:`));
|
|
|
6023
6058
|
chalk16.gray(`Changelog entries: ${result.changelogLines.length}`)
|
|
6024
6059
|
);
|
|
6025
6060
|
}
|
|
6061
|
+
if (result.newCycles.length > 0) {
|
|
6062
|
+
console.log(
|
|
6063
|
+
chalk16.gray(
|
|
6064
|
+
`New cycles: ${result.newCycles.map((c) => c.name).join(", ")}`
|
|
6065
|
+
)
|
|
6066
|
+
);
|
|
6067
|
+
}
|
|
6026
6068
|
if (result.decisionsAppended) {
|
|
6027
6069
|
console.log(chalk16.gray("Decisions updated."));
|
|
6028
6070
|
}
|
|
@@ -6040,7 +6082,12 @@ Snapshot Contents:`));
|
|
|
6040
6082
|
}
|
|
6041
6083
|
const configService = new ConfigService();
|
|
6042
6084
|
await syncParsedTaskUpdatesToRemote(configService, update, result).catch(
|
|
6043
|
-
() =>
|
|
6085
|
+
(err) => {
|
|
6086
|
+
console.error(
|
|
6087
|
+
chalk16.yellow("[vem finalize] syncParsed failed:"),
|
|
6088
|
+
err instanceof Error ? err.message : String(err)
|
|
6089
|
+
);
|
|
6090
|
+
}
|
|
6044
6091
|
);
|
|
6045
6092
|
const synced = await syncProjectMemoryToRemote().catch(() => false);
|
|
6046
6093
|
if (synced) {
|
|
@@ -8311,11 +8358,11 @@ async function initServerMonitoring(config) {
|
|
|
8311
8358
|
await initServerMonitoring({
|
|
8312
8359
|
dsn: "https://ed007f2c213d0aa07c1be256ca51750c@o4510863861612544.ingest.de.sentry.io/4510863921774672",
|
|
8313
8360
|
environment: process.env.NODE_ENV || "production",
|
|
8314
|
-
release: "0.1.
|
|
8361
|
+
release: "0.1.50",
|
|
8315
8362
|
serviceName: "cli"
|
|
8316
8363
|
});
|
|
8317
8364
|
var program = new Command();
|
|
8318
|
-
program.name("vem").description("vem Project Memory CLI").version("0.1.
|
|
8365
|
+
program.name("vem").description("vem Project Memory CLI").version("0.1.50").addHelpText(
|
|
8319
8366
|
"after",
|
|
8320
8367
|
`
|
|
8321
8368
|
${chalk18.bold("\n\u26A1 Power Workflows:")}
|