@rosthq/cli 0.7.66 → 0.7.67

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.
@@ -1 +1 @@
1
- {"version":3,"file":"command-manifest.d.ts","sourceRoot":"","sources":["../../src/generated/command-manifest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAE3E,eAAO,MAAM,gBAAgB,EAAE,SAAS,oBAAoB,EAyO3D,CAAC"}
1
+ {"version":3,"file":"command-manifest.d.ts","sourceRoot":"","sources":["../../src/generated/command-manifest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAE3E,eAAO,MAAM,gBAAgB,EAAE,SAAS,oBAAoB,EA0O3D,CAAC"}
package/dist/index.js CHANGED
@@ -40860,7 +40860,11 @@ var goalBindMeasurableOutputSchema = external_exports.object({
40860
40860
  computed_status: goalStatusSchema.nullable(),
40861
40861
  // True when a human status pin currently diverges from what the signal computes
40862
40862
  // ("computed says X / you pinned Y").
40863
- pinned_divergence: external_exports.boolean()
40863
+ pinned_divergence: external_exports.boolean(),
40864
+ // DER-1633: false for a fresh binding; true when this exact (goal, Signal) pair was
40865
+ // already bound — the command is an idempotent no-op (no new event, no duplicate
40866
+ // confirmation). Lets a caller distinguish "just bound" from "already bound".
40867
+ already_bound: external_exports.boolean()
40864
40868
  }).strict();
40865
40869
  var goalUnbindMeasurableInputSchema = external_exports.object({
40866
40870
  goal_id: uuidSchema8,
@@ -40887,6 +40891,27 @@ var goalSetAutoStatusOutputSchema = external_exports.object({
40887
40891
  status_source: goalStatusSourceSchema,
40888
40892
  applied_from_signal: external_exports.boolean()
40889
40893
  }).strict();
40894
+ var goalMeasurableBindingSchema = external_exports.object({
40895
+ measurable_id: uuidSchema8,
40896
+ name: external_exports.string(),
40897
+ unit: external_exports.string(),
40898
+ role: external_exports.literal("drives_status"),
40899
+ auto_status_enabled: external_exports.boolean(),
40900
+ // Current signal indicator + the status it would compute from the latest CONFIRMED
40901
+ // reading (null while awaiting a confirmed reading).
40902
+ signal_state: goalSignalStateSchema,
40903
+ computed_status: goalStatusSchema.nullable(),
40904
+ // The latest confirmed reading's value (null while awaiting one) — enough to render
40905
+ // "measured by <Signal>: <value> <unit>" instead of a bare "Not measured".
40906
+ last_reading_value: external_exports.number().nullable()
40907
+ }).strict();
40908
+ var goalListMeasurablesInputSchema = external_exports.object({
40909
+ goal_id: uuidSchema8
40910
+ }).strict();
40911
+ var goalListMeasurablesOutputSchema = external_exports.object({
40912
+ goal_id: uuidSchema8,
40913
+ bindings: external_exports.array(goalMeasurableBindingSchema)
40914
+ }).strict();
40890
40915
  var issueStatusSchema = external_exports.enum(["open", "diagnosing", "resolved", "dropped"]);
40891
40916
  var frictionListInputSchema = external_exports.object({
40892
40917
  status: external_exports.enum(["open", "diagnosing", "resolved", "dropped", "active", "all"]).optional()
@@ -44426,7 +44451,8 @@ var syncBriefExceptionSchema = external_exports.object({
44426
44451
  latest_value: external_exports.number().nullable(),
44427
44452
  target: external_exports.number(),
44428
44453
  unit: external_exports.string(),
44429
- period_start: dateSchema.nullable()
44454
+ period_start: dateSchema.nullable(),
44455
+ freshness: external_exports.enum(["fresh", "due", "stale", "awaiting_first_reading", "not_expected"]).optional()
44430
44456
  }).strict();
44431
44457
  var syncBriefGoalDeltaSchema = external_exports.object({
44432
44458
  goal_id: uuidSchema15,
@@ -44704,10 +44730,20 @@ var statusRecordOutputSchema = external_exports.object({
44704
44730
  event_id: uuidSchema17,
44705
44731
  type: external_exports.literal("status")
44706
44732
  }).strict();
44733
+ var duplicateFrictionCandidateSchema = external_exports.object({
44734
+ issue_id: uuidSchema17,
44735
+ summary: external_exports.string().min(1),
44736
+ // pg_trgm similarity in [0, 1]; higher is more similar.
44737
+ similarity: external_exports.number().min(0).max(1)
44738
+ }).strict();
44707
44739
  var frictionFileIssueOutputSchema = external_exports.object({
44708
44740
  event_id: uuidSchema17,
44709
44741
  issue_id: uuidSchema17,
44710
- type: external_exports.literal("issue")
44742
+ type: external_exports.literal("issue"),
44743
+ // DER-1522: likely-duplicate candidates detected before creation. Recommend,
44744
+ // never block — filing always proceeds; empty when nothing crossed the
44745
+ // conservative threshold (or the actor is not an agent).
44746
+ duplicate_candidates: external_exports.array(duplicateFrictionCandidateSchema).default([])
44711
44747
  }).strict();
44712
44748
  var workLogInputSchema = external_exports.object({
44713
44749
  note: external_exports.string().min(1)
@@ -46218,7 +46254,7 @@ External connectors are being rolled out provider by provider, conservatively (r
46218
46254
  order: 48,
46219
46255
  title: "CLI and MCP installation guide",
46220
46256
  summary: "Install the public CLI, register remote token-backed MCP clients, and find the full command and tool catalog.",
46221
- version: "2026-07-11.1",
46257
+ version: "2026-07-12.1",
46222
46258
  public: true,
46223
46259
  audiences: ["human", "cli", "mcp", "in_app_agent"],
46224
46260
  stages: ["company_setup", "staffing"],
@@ -46891,6 +46927,7 @@ Several rows here are seat-operating commands (\`task.create\`, the \`signal.*\`
46891
46927
  | \`rost_import_rocks_from_a_ninety_rocks_export\` | \`cascade.import\` | Bulk-import Rocks as Cascade cycle goals under a company objective in the active cycle (from a ninety Rocks export). Owners resolve to seats; idempotent re-import skips a cycle goal already imported for the same objective + seat + title. | Tenant | Call with the parsed \`rocks\` array. |
46892
46928
  | \`rost_import_a_ninety_v_to_into_a_compass_draft\` | \`compass.import\` | AI-draft a Compass from a ninety V/TO (Core Values \u2192 principles, 10/3/1-Year \u2192 horizon goals, Rocks \u2192 cycle objectives), landed as a draft a human confirms by supersession \u2014 never an accepted Compass. Idempotent by document content (a re-upload of the same V/TO short-circuits without re-drafting). | Tenant | Call with the extracted V/TO \`text\` (and optional \`source_name\`). |
46893
46929
  | \`rost_list_cascade_goals\` | \`goal.list\` | List Cascade goals, optionally by cycle or seat. | Seat or tenant-admin | Call with \`{}\` or \`{"cycle_id":"<id>"}\`. |
46930
+ | \`rost_list_a_cascade_goals_signals\` | \`goal.list_measurables\` | List the Signals bound to a goal (drives_status) with each one's current indicator and latest confirmed reading. Read-only. | Seat or tenant-admin | Call with \`{"goal_id":"<id>"}\`. |
46894
46931
  | \`rost_create_cascade_goal\` | \`goal.create\` | Create a cycle goal under an objective. | Tenant | Call with cycle, seat, parent, title, definition of done. |
46895
46932
  | \`rost_update_cascade_goal\` | \`goal.update\` | Update a goal's title or definition of done. | Tenant | Call with \`goal_id\` and the changed fields. |
46896
46933
  | \`rost_set_cascade_goal_status\` | \`goal.set_status\` | Set a goal's status (on/off/done). | Seat or tenant-admin | Seats may set only their own goals. |
@@ -50151,6 +50188,7 @@ var COMMAND_MANIFEST = [
50151
50188
  { "id": "goal.drop", "namespace": "goal", "action": "drop", "title": "Drop Cascade goal", "description": "Drop (retire) a goal by setting status to dropped. Dropping retires the commitment, so it is human-gated. The row is retained for audit (never deleted).", "requiredScope": "tenant_admin", "confirmation": "human_required", "exposeOverMcp": true, "fields": [{ "name": "goal_id", "flag": "goal-id", "type": "string", "required": true }], "hasComplexInput": false, "help": "Drop a goal to retire a commitment; the goal is retained for audit and dropping is human-gated." },
50152
50189
  { "id": "goal.list", "namespace": "goal", "action": "list", "title": "List Cascade goals", "description": "List goals in the tenant, optionally filtered by cycle or seat. Seat-scoped callers see only their own seat's goals.", "requiredScope": "tenant", "confirmation": "none", "exposeOverMcp": true, "fields": [{ "name": "cycle_id", "flag": "cycle-id", "type": "string", "required": false }, { "name": "seat_id", "flag": "seat-id", "type": "string", "required": false }], "hasComplexInput": false, "help": "List Cascade goals to find goal ids, parentage, and seat ownership before mutating the tree." },
50153
50190
  { "id": "goal.list_at_risk", "namespace": "goal", "action": "list_at_risk", "title": "List at-risk Cascade goals", "description": "List goals projected to miss their cycle pace (at-risk or projected-miss), with how many days behind pace. Read-only; status-only goals (no progress) are excluded.", "requiredScope": "tenant", "confirmation": "none", "exposeOverMcp": true, "fields": [], "hasComplexInput": false, "help": "List goals projected off pace (at-risk or projected-miss), with how many days behind pace. Read-only; status-only goals are excluded." },
50191
+ { "id": "goal.list_measurables", "namespace": "goal", "action": "list_measurables", "title": "List a Cascade goal's Signals", "description": "List the Signals bound to a Cascade goal (role drives_status), each with its current signal indicator and latest confirmed reading. Read-only.", "requiredScope": "tenant", "confirmation": "none", "exposeOverMcp": true, "fields": [{ "name": "goal_id", "flag": "goal-id", "type": "string", "required": true }], "hasComplexInput": false, "help": "List the Signals bound to a goal (role drives_status) with each one's current indicator and latest confirmed reading." },
50154
50192
  { "id": "goal.reparent", "namespace": "goal", "action": "reparent", "title": "Reparent Cascade goal", "description": "Move a goal under a different parent. Reparenting changes accountable structure, so it is human-gated. One-root and no-cycle are enforced server-side.", "requiredScope": "tenant_admin", "confirmation": "human_required", "exposeOverMcp": true, "fields": [{ "name": "goal_id", "flag": "goal-id", "type": "string", "required": true }, { "name": "parent_goal_id", "flag": "parent-goal-id", "type": "string", "required": true }], "hasComplexInput": false, "help": "Reparent a goal only when it clarifies accountable structure; reparenting changes authority and is human-gated." },
50155
50193
  { "id": "goal.set_auto_status", "namespace": "goal", "action": "set_auto_status", "title": "Toggle Signal-driven auto-status", "description": "Opt a goal's drives_status binding into (or out of) auto-status. Default OFF. Enabling lets confirmed readings drive the goal's status; a human status pin still wins. Human-gated opt-in.", "requiredScope": "seat", "confirmation": "human_required", "exposeOverMcp": true, "fields": [{ "name": "goal_id", "flag": "goal-id", "type": "string", "required": true }, { "name": "measurable_id", "flag": "measurable-id", "type": "string", "required": true }, { "name": "enabled", "flag": "enabled", "type": "boolean", "required": true }], "hasComplexInput": false, "help": "Opt a goal's Signal binding into (or out of) auto-status. Default OFF. Enabling lets confirmed readings drive the status; a human status pin still wins." },
50156
50194
  { "id": "goal.set_progress", "namespace": "goal", "action": "set_progress", "title": "Set Cascade goal progress", "description": "Set a goal's quantified progress (0\u2013100). Seat-scoped callers may set progress only for their own goals. An agent's progress is a proposal a human approves before it lands.", "requiredScope": "seat", "confirmation": "human_required", "exposeOverMcp": true, "fields": [{ "name": "goal_id", "flag": "goal-id", "type": "string", "required": true }, { "name": "progress_pct", "flag": "progress-pct", "type": "integer", "required": true }], "hasComplexInput": false, "help": "Report a goal's quantified progress (0-100). An agent's progress is a proposal a human approves before the goal moves." },