@meltstudio/meltctl 4.51.0 → 4.53.0
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 +17 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var CLI_VERSION;
|
|
|
14
14
|
var init_version = __esm({
|
|
15
15
|
"src/utils/version.ts"() {
|
|
16
16
|
"use strict";
|
|
17
|
-
CLI_VERSION = "4.
|
|
17
|
+
CLI_VERSION = "4.53.0";
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
|
|
@@ -14504,7 +14504,8 @@ var extractionResultSchema = external_exports.object({
|
|
|
14504
14504
|
auditId: external_exports.string(),
|
|
14505
14505
|
findingsExtracted: external_exports.number(),
|
|
14506
14506
|
created: external_exports.number(),
|
|
14507
|
-
updated: external_exports.number()
|
|
14507
|
+
updated: external_exports.number(),
|
|
14508
|
+
autoResolved: external_exports.number()
|
|
14508
14509
|
});
|
|
14509
14510
|
|
|
14510
14511
|
// src/utils/api.ts
|
|
@@ -16010,6 +16011,16 @@ async function trackCommand(command, success2, errorMessage) {
|
|
|
16010
16011
|
}
|
|
16011
16012
|
}
|
|
16012
16013
|
|
|
16014
|
+
// src/commands/event.ts
|
|
16015
|
+
async function eventTrackCommand(options) {
|
|
16016
|
+
const skill = options.skill;
|
|
16017
|
+
if (!skill) {
|
|
16018
|
+
console.error("--skill is required");
|
|
16019
|
+
process.exit(1);
|
|
16020
|
+
}
|
|
16021
|
+
await trackCommand(`skill:${skill}`, true);
|
|
16022
|
+
}
|
|
16023
|
+
|
|
16013
16024
|
// src/index.ts
|
|
16014
16025
|
init_version();
|
|
16015
16026
|
var program = new Command();
|
|
@@ -16117,6 +16128,10 @@ plan.command("submit").description("submit or update a plan from a markdown file
|
|
|
16117
16128
|
plan.command("list").description("list submitted plans (Team Managers only)").option("--repository <repo>", "filter by repository (owner/repo)").option("--author <email>", "filter by author email").option("--limit <n>", "max results (default 50, max 200)").action(async (options) => {
|
|
16118
16129
|
await planListCommand(options);
|
|
16119
16130
|
});
|
|
16131
|
+
var event = program.command("event").description("manage analytics events");
|
|
16132
|
+
event.command("track").description("track a skill usage event").requiredOption("--skill <name>", "skill name (e.g. plan, audit, review)").action(async (options) => {
|
|
16133
|
+
await eventTrackCommand(options);
|
|
16134
|
+
});
|
|
16120
16135
|
program.command("update").description("update meltctl to the latest version").action(async () => {
|
|
16121
16136
|
await updateCommand();
|
|
16122
16137
|
});
|
package/package.json
CHANGED