@meltstudio/meltctl 4.52.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 +15 -1
- 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
|
|
|
@@ -16011,6 +16011,16 @@ async function trackCommand(command, success2, errorMessage) {
|
|
|
16011
16011
|
}
|
|
16012
16012
|
}
|
|
16013
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
|
+
|
|
16014
16024
|
// src/index.ts
|
|
16015
16025
|
init_version();
|
|
16016
16026
|
var program = new Command();
|
|
@@ -16118,6 +16128,10 @@ plan.command("submit").description("submit or update a plan from a markdown file
|
|
|
16118
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) => {
|
|
16119
16129
|
await planListCommand(options);
|
|
16120
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
|
+
});
|
|
16121
16135
|
program.command("update").description("update meltctl to the latest version").action(async () => {
|
|
16122
16136
|
await updateCommand();
|
|
16123
16137
|
});
|
package/package.json
CHANGED