@meltstudio/meltctl 5.5.0 → 5.7.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 +24 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7450,7 +7450,7 @@ var CLI_VERSION;
|
|
|
7450
7450
|
var init_version = __esm({
|
|
7451
7451
|
"src/utils/version.ts"() {
|
|
7452
7452
|
"use strict";
|
|
7453
|
-
CLI_VERSION = "5.
|
|
7453
|
+
CLI_VERSION = "5.7.0";
|
|
7454
7454
|
}
|
|
7455
7455
|
});
|
|
7456
7456
|
|
|
@@ -27333,6 +27333,17 @@ function createPmResource(config2) {
|
|
|
27333
27333
|
});
|
|
27334
27334
|
unwrap("delete scenario", res);
|
|
27335
27335
|
},
|
|
27336
|
+
/**
|
|
27337
|
+
* Create a feature scoped to a project, from the portal planner. Client-
|
|
27338
|
+
* accessible (anyone planning a scenario can add one); the path projectId
|
|
27339
|
+
* scopes it so a client can't create elsewhere. Brand-new features start at
|
|
27340
|
+
* `idea` — set a target by adding it to a scenario. Distinct from
|
|
27341
|
+
* createFeature (manager-only, supports phase memberships + migration).
|
|
27342
|
+
*/
|
|
27343
|
+
async createProjectFeature(projectId, input) {
|
|
27344
|
+
const res = await apiFetch(config2, `/pm/projects/${projectId}/features`, { method: "POST", body: JSON.stringify(input) });
|
|
27345
|
+
return unwrap("create project feature", res, 201);
|
|
27346
|
+
},
|
|
27336
27347
|
/** Promote a draft scenario into a real active phase. */
|
|
27337
27348
|
async promoteScenario(id, opts) {
|
|
27338
27349
|
const res = await apiFetch(config2, `/pm/scenarios/${id}/promote`, {
|
|
@@ -53608,6 +53619,17 @@ function createPmResource2(config2) {
|
|
|
53608
53619
|
});
|
|
53609
53620
|
unwrap2("delete scenario", res);
|
|
53610
53621
|
},
|
|
53622
|
+
/**
|
|
53623
|
+
* Create a feature scoped to a project, from the portal planner. Client-
|
|
53624
|
+
* accessible (anyone planning a scenario can add one); the path projectId
|
|
53625
|
+
* scopes it so a client can't create elsewhere. Brand-new features start at
|
|
53626
|
+
* `idea` — set a target by adding it to a scenario. Distinct from
|
|
53627
|
+
* createFeature (manager-only, supports phase memberships + migration).
|
|
53628
|
+
*/
|
|
53629
|
+
async createProjectFeature(projectId, input) {
|
|
53630
|
+
const res = await apiFetch2(config2, `/pm/projects/${projectId}/features`, { method: "POST", body: JSON.stringify(input) });
|
|
53631
|
+
return unwrap2("create project feature", res, 201);
|
|
53632
|
+
},
|
|
53611
53633
|
/** Promote a draft scenario into a real active phase. */
|
|
53612
53634
|
async promoteScenario(id, opts) {
|
|
53613
53635
|
const res = await apiFetch2(config2, `/pm/scenarios/${id}/promote`, {
|
|
@@ -55429,7 +55451,7 @@ function registerEndpointCheckTools(server, getClient2) {
|
|
|
55429
55451
|
"submit_endpoint_check",
|
|
55430
55452
|
{
|
|
55431
55453
|
title: "Submit an endpoint-security self-check",
|
|
55432
|
-
description: "Records the calling person's endpoint-security self-check against Melt's baseline (#507). melt-endpoint
|
|
55454
|
+
description: "Records the calling person's endpoint-security self-check against Melt's baseline (#507). melt-verify-endpoint calls this once it has run the read-only checks and produced the report: pass the 9 control results (5 technical pass/fail/unknown + 3 verbal confirmed/no/unknown), the OS, the one-line summary, what was remediated, and the full secrets-free markdown report. Self-scoped \u2014 the author comes from the JWT, so a caller only ever writes their own posture. Latest-check-wins per person. NEVER pass secrets (passwords, keys, tokens, internal hostnames) in any field.",
|
|
55433
55455
|
inputSchema: submitEndpointCheckShape
|
|
55434
55456
|
},
|
|
55435
55457
|
withClientArgs(getClient2, submitEndpointCheck)
|
package/package.json
CHANGED