@rosthq/cli 0.5.23 → 0.5.24
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 +80 -2
- package/dist/index.js.map +2 -2
- package/dist/operations.d.ts +1 -1
- package/dist/operations.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -42384,7 +42384,7 @@ External connectors are being rolled out provider by provider, conservatively (r
|
|
|
42384
42384
|
order: 48,
|
|
42385
42385
|
title: "CLI and MCP installation guide",
|
|
42386
42386
|
summary: "Install the public CLI, register remote token-backed MCP clients, and find the full command and tool catalog.",
|
|
42387
|
-
version: "2026-06-21.
|
|
42387
|
+
version: "2026-06-21.14",
|
|
42388
42388
|
public: true,
|
|
42389
42389
|
audiences: ["human", "cli", "mcp", "in_app_agent"],
|
|
42390
42390
|
stages: ["company_setup", "staffing"],
|
|
@@ -42448,7 +42448,10 @@ External connectors are being rolled out provider by provider, conservatively (r
|
|
|
42448
42448
|
"deliverable.list",
|
|
42449
42449
|
"deliverable.get",
|
|
42450
42450
|
"deliverable.create",
|
|
42451
|
-
"deliverable.attach"
|
|
42451
|
+
"deliverable.attach",
|
|
42452
|
+
"error_log.list",
|
|
42453
|
+
"error_log.resolve",
|
|
42454
|
+
"error_log.supersede"
|
|
42452
42455
|
],
|
|
42453
42456
|
legal: {
|
|
42454
42457
|
publicRisk: "low",
|
|
@@ -42821,6 +42824,7 @@ The signed-in app exposes the same Skill command surface under **Skills** in the
|
|
|
42821
42824
|
| \`{{cli}} goal list|create|update|status|reparent|drop\` | \`goal.list\`, \`goal.create\`, \`goal.update\`, \`goal.set_status\`, \`goal.reparent\`, \`goal.drop\` | Manage Cascade goals. Scope varies by verb: \`status\` is seat-scoped, \`list\`/\`create\` need a tenant token, and \`update\`/\`reparent\`/\`drop\` require tenant-admin. | Seat to tenant-admin | \`{{cli}} goal list --json\` |
|
|
42822
42825
|
| \`{{cli}} friction list|file|resolve|link\` | \`friction.list\`, \`friction.file_issue\`, \`friction.resolve\`, \`friction.link_task\` | File and resolve Friction issues. | Seat | \`{{cli}} friction list --status open --json\` |
|
|
42823
42826
|
| \`{{cli}} escalation list|get|resolve|reject\` | \`escalation.list\`, \`escalation.get\`, \`escalation.resolve\`, \`escalation.reject\` | Work the steward escalation queue. | Steward | \`{{cli}} escalation list --json\` |
|
|
42827
|
+
| \`{{cli}} error list|resolve|supersede\` | \`error_log.list\`, \`error_log.resolve\`, \`error_log.supersede\` | List active, acknowledged, resolved, or superseded product error logs and let a human acknowledge, resolve, or supersede stale errors with evidence links. | Tenant | \`{{cli}} error list --resolved active --json\`; \`{{cli}} error resolve --error-log-id <id> --reason "Fixed in PR #123"\` |
|
|
42824
42828
|
| \`{{cli}} sync brief|compile|complete\` | \`sync.brief.get\`, \`sync.brief.compile\`, \`sync.run.complete\` | Compile, read, and complete a weekly Sync. | Tenant | \`{{cli}} sync brief --json\` |
|
|
42825
42829
|
| \`{{cli}} runner list|status|work-orders|revoke\` | \`runner.list\`, \`runner.status\`, \`work_order.list\`, \`runner.revoke\` | Inspect runners and work orders; revoke a runner. | Tenant | \`{{cli}} runner list --json\` |
|
|
42826
42830
|
| \`{{cli}} notification settings|test|errors\` | \`notification.settings.get\`, \`notification.test\`, \`notification.list_errors\` | Read notification settings, send a test, and list failed deliveries with linked product error source, seat id, and run id when available. | Tenant | \`{{cli}} notification errors --limit 10 --json\` |
|
|
@@ -42983,6 +42987,9 @@ Several rows here are seat-operating commands (\`task.create\`, the \`signal.*\`
|
|
|
42983
42987
|
| \`rost_update_notification_settings\` | \`notification.settings.update\` | Update tenant notification preferences. | Tenant | Call with the fields to change. |
|
|
42984
42988
|
| \`rost_send_test_notification\` | \`notification.test\` | Emit an in-app test notification to the acting human. | Tenant | Call with \`{}\`. |
|
|
42985
42989
|
| \`rost_list_notification_errors\` | \`notification.list_errors\` | List recent failed notification deliveries with linked \`error_log_id\`, source, seat id, and run id when available. | Tenant | Call with optional \`limit\`; \`source=run\` rows can be followed with \`agent.get_run\`. |
|
|
42990
|
+
| \`rost_list_error_logs\` | \`error_log.list\` | List product error logs by seat, source, severity, and active/resolved state. | Tenant | Call with \`{"resolved":"active"}\` before acknowledging stale failures. |
|
|
42991
|
+
| \`rost_resolve_error_log\` | \`error_log.resolve\` | Acknowledge or resolve an error log with a required human reason and optional task, issue, or PR link. | Tenant | Call with \`error_log_id\`, \`reason\`, and \`disposition\` \`acknowledged\` or \`resolved\`. |
|
|
42992
|
+
| \`rost_supersede_error_log\` | \`error_log.supersede\` | Mark an older error log as superseded by a newer in-tenant error log. | Tenant | Call with \`error_log_id\`, \`new_error_log_id\`, and \`reason\`. |
|
|
42986
42993
|
| \`rost_list_integrations\` | \`integration.list\` | List connected integration metadata and latest health state. | Tenant | Call with \`{}\` or \`{"provider":"google"}\`; no secrets or vault refs are returned. |
|
|
42987
42994
|
| \`rost_check_integration_readiness\` | \`integration.readiness\` | Return the connector setup checklist: OAuth env/callback, tenant connection, scopes, latest test state, external verification/CASA, handler availability, and DER-coded next actions. | Tenant | Call with \`{"provider":"google"}\`; metadata only, no secrets or vault refs. |
|
|
42988
42995
|
| \`rost_get_integration_status\` | \`integration.status\` | Read one integration's metadata by provider or integration id. | Tenant | Call with \`{"provider":"google"}\` or \`{"integration_id":"<id>"}\`. |
|
|
@@ -47119,6 +47126,73 @@ function modelUsage(bin) {
|
|
|
47119
47126
|
return `Usage: ${bin} model list [--json]
|
|
47120
47127
|
${bin} model list \u2014 guided model tiers with recommendations, token prices, cost bands, and model ids for --model.`;
|
|
47121
47128
|
}
|
|
47129
|
+
var errorWrapper = (context, args) => dispatch(context, "error", args, {
|
|
47130
|
+
list: (ctx, rest) => {
|
|
47131
|
+
const parsed = parseFlags(rest);
|
|
47132
|
+
const body = withOptional({}, {
|
|
47133
|
+
seat_id: optionalValue(parsed, "seat-id"),
|
|
47134
|
+
source: optionalValue(parsed, "source"),
|
|
47135
|
+
severity: optionalValue(parsed, "severity"),
|
|
47136
|
+
resolved: optionalValue(parsed, "resolved"),
|
|
47137
|
+
limit: optionalNumber(parsed, "limit")
|
|
47138
|
+
});
|
|
47139
|
+
return execute(ctx, parsed, "error_log.list", body, (output) => {
|
|
47140
|
+
const record2 = asRecord(output);
|
|
47141
|
+
const errors = asArray(record2.errors);
|
|
47142
|
+
if (errors.length === 0) {
|
|
47143
|
+
return "No error logs matching the filter.";
|
|
47144
|
+
}
|
|
47145
|
+
return errors.map((entry) => {
|
|
47146
|
+
const r = asRecord(entry);
|
|
47147
|
+
const disposition = field(r, "disposition");
|
|
47148
|
+
const marker = disposition === "active" ? "*" : " ";
|
|
47149
|
+
const severityLabel = field(r, "severity").charAt(0).toUpperCase();
|
|
47150
|
+
return `${marker} ${field(r, "error_log_id")} [${severityLabel}] ${field(r, "source")} ${disposition} ${field(r, "code")} ${field(r, "message")} ${field(r, "created_at")}`;
|
|
47151
|
+
}).join("\n") + (field(record2, "total") !== "" ? `
|
|
47152
|
+
Total: ${field(record2, "total")}` : "");
|
|
47153
|
+
});
|
|
47154
|
+
},
|
|
47155
|
+
resolve: (ctx, rest) => {
|
|
47156
|
+
const parsed = parseFlags(rest);
|
|
47157
|
+
const errorLogId = requireValue2(parsed, "error-log-id");
|
|
47158
|
+
const reason = requireValue2(parsed, "reason");
|
|
47159
|
+
const body = withOptional({
|
|
47160
|
+
error_log_id: errorLogId,
|
|
47161
|
+
reason
|
|
47162
|
+
}, {
|
|
47163
|
+
disposition: optionalValue(parsed, "disposition"),
|
|
47164
|
+
linked_task_id: optionalValue(parsed, "linked-task-id"),
|
|
47165
|
+
linked_issue_id: optionalValue(parsed, "linked-issue-id"),
|
|
47166
|
+
linked_pr_ref: optionalValue(parsed, "linked-pr-ref")
|
|
47167
|
+
});
|
|
47168
|
+
return execute(ctx, parsed, "error_log.resolve", body, (output) => {
|
|
47169
|
+
const record2 = asRecord(output);
|
|
47170
|
+
return `Resolved error ${field(record2, "error_log_id")} as ${field(record2, "disposition")} at ${field(record2, "resolved_at")}.`;
|
|
47171
|
+
});
|
|
47172
|
+
},
|
|
47173
|
+
supersede: (ctx, rest) => {
|
|
47174
|
+
const parsed = parseFlags(rest);
|
|
47175
|
+
const body = withOptional({
|
|
47176
|
+
error_log_id: requireValue2(parsed, "error-log-id"),
|
|
47177
|
+
new_error_log_id: requireValue2(parsed, "new-error-log-id"),
|
|
47178
|
+
reason: requireValue2(parsed, "reason")
|
|
47179
|
+
}, {
|
|
47180
|
+
linked_task_id: optionalValue(parsed, "linked-task-id"),
|
|
47181
|
+
linked_issue_id: optionalValue(parsed, "linked-issue-id"),
|
|
47182
|
+
linked_pr_ref: optionalValue(parsed, "linked-pr-ref")
|
|
47183
|
+
});
|
|
47184
|
+
return execute(ctx, parsed, "error_log.supersede", body, (output) => {
|
|
47185
|
+
const record2 = asRecord(output);
|
|
47186
|
+
return `Superseded error ${field(record2, "error_log_id")} \u2192 ${field(record2, "superseded_by_id")} at ${field(record2, "resolved_at")}.`;
|
|
47187
|
+
});
|
|
47188
|
+
}
|
|
47189
|
+
}, errorUsage(context.binName));
|
|
47190
|
+
function errorUsage(bin) {
|
|
47191
|
+
return `Usage: ${bin} error list|resolve|supersede [--json]
|
|
47192
|
+
${bin} error list [--seat-id <id>] [--source run|llm|tool|mcp|runner|integration|job|web] [--severity warning|error|critical] [--resolved active|acknowledged|resolved|all] [--limit <n>]
|
|
47193
|
+
${bin} error resolve --error-log-id <id> --reason <text> [--disposition acknowledged|resolved] [--linked-task-id <id>] [--linked-issue-id <id>] [--linked-pr-ref <url>]
|
|
47194
|
+
${bin} error supersede --error-log-id <id> --new-error-log-id <id> --reason <text> [--linked-task-id <id>] [--linked-issue-id <id>] [--linked-pr-ref <url>]`;
|
|
47195
|
+
}
|
|
47122
47196
|
var compassWrapper = (context, args) => dispatch(context, "compass", args, {
|
|
47123
47197
|
show: (ctx, rest) => {
|
|
47124
47198
|
const parsed = parseFlags(rest, /* @__PURE__ */ new Set(["markdown"]));
|
|
@@ -47228,6 +47302,7 @@ var OPERATION_GROUPS = [
|
|
|
47228
47302
|
"goal",
|
|
47229
47303
|
"friction",
|
|
47230
47304
|
"escalation",
|
|
47305
|
+
"error",
|
|
47231
47306
|
"sync",
|
|
47232
47307
|
"runner",
|
|
47233
47308
|
"notification",
|
|
@@ -47249,6 +47324,7 @@ var wrappers = {
|
|
|
47249
47324
|
goal: goalWrapper,
|
|
47250
47325
|
friction: frictionWrapper,
|
|
47251
47326
|
escalation: escalationWrapper,
|
|
47327
|
+
error: errorWrapper,
|
|
47252
47328
|
sync: syncWrapper,
|
|
47253
47329
|
runner: runnerWrapper,
|
|
47254
47330
|
notification: notificationWrapper,
|
|
@@ -47273,6 +47349,7 @@ var groupUsageBuilders = {
|
|
|
47273
47349
|
goal: goalUsage,
|
|
47274
47350
|
friction: frictionUsage,
|
|
47275
47351
|
escalation: escalationUsage,
|
|
47352
|
+
error: errorUsage,
|
|
47276
47353
|
sync: syncUsage,
|
|
47277
47354
|
runner: runnerUsage,
|
|
47278
47355
|
notification: notificationUsage,
|
|
@@ -47306,6 +47383,7 @@ function operationUsageLines(bin) {
|
|
|
47306
47383
|
`${bin} goal list|create|update|status|reparent|drop`,
|
|
47307
47384
|
`${bin} friction list|file|resolve|link`,
|
|
47308
47385
|
`${bin} escalation list|get|resolve|reject`,
|
|
47386
|
+
`${bin} error list|resolve|supersede`,
|
|
47309
47387
|
`${bin} sync brief|compile|complete`,
|
|
47310
47388
|
`${bin} runner list|status|work-orders|revoke`,
|
|
47311
47389
|
`${bin} notification settings|test|errors`,
|