@skrr-ai/cli 0.1.100 → 0.1.101

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.
@@ -3,9 +3,8 @@ import { BaseCommand } from '../../../base-command';
3
3
  * `skrr commitments analytics detail <id>` — per-commitment analytics.
4
4
  *
5
5
  * Distinct from `skrr commitments show` (the contract) and from
6
- * `skrr commitments ledger` (the raw durable runs): this is the JOINED
7
- * projection — checks correlated with their outcomes, runs and deliveries over a
8
- * window.
6
+ * `skrr commitments ledger` (the raw durable runs): the default rolls up daily
7
+ * Check/outcome metrics. Only --ledger joins checks, native Runs and deliveries.
9
8
  */
10
9
  export default class CommitmentsAnalyticsDetail extends BaseCommand {
11
10
  static description: string;
@@ -7,12 +7,11 @@ const commitment_analytics_1 = require("../../../lib/commitment-analytics");
7
7
  * `skrr commitments analytics detail <id>` — per-commitment analytics.
8
8
  *
9
9
  * Distinct from `skrr commitments show` (the contract) and from
10
- * `skrr commitments ledger` (the raw durable runs): this is the JOINED
11
- * projection — checks correlated with their outcomes, runs and deliveries over a
12
- * window.
10
+ * `skrr commitments ledger` (the raw durable runs): the default rolls up daily
11
+ * Check/outcome metrics. Only --ledger joins checks, native Runs and deliveries.
13
12
  */
14
13
  class CommitmentsAnalyticsDetail extends base_command_1.BaseCommand {
15
- static description = 'Per-commitment analytics (joined checks, outcomes, runs)';
14
+ static description = 'Daily Check/outcome analytics; use --ledger for joined native Runs. Legacy totals.autoRuns is not a native Run count';
16
15
  static examples = [
17
16
  '<%= config.bin %> commitments analytics detail obj_abc123',
18
17
  '<%= config.bin %> commitments analytics detail obj_abc123 --days 30',
@@ -24,7 +23,7 @@ class CommitmentsAnalyticsDetail extends base_command_1.BaseCommand {
24
23
  static flags = {
25
24
  json: core_1.Flags.boolean({ description: 'Output as JSON' }),
26
25
  days: core_1.Flags.integer({ description: 'Lookback window in days', min: 1, max: 365 }),
27
- ledger: core_1.Flags.boolean({ description: 'Show the joined ledger projection instead' }),
26
+ ledger: core_1.Flags.boolean({ description: 'Show joined checks, native Runs and deliveries instead of daily Check/outcome metrics' }),
28
27
  limit: core_1.Flags.integer({ description: 'Max rows (ledger)', min: 1, max: 200 }),
29
28
  'check-limit': core_1.Flags.integer({ description: 'Max checks (ledger)', min: 1, max: 200 }),
30
29
  'run-limit': core_1.Flags.integer({ description: 'Max runs (ledger)', min: 1, max: 200 }),
@@ -5,7 +5,7 @@ const signal_command_1 = require("../../../signal-command");
5
5
  const signals_1 = require("../../../lib/signals");
6
6
  const prompt_1 = require("../../../lib/prompt");
7
7
  class MonitorsValidate extends signal_command_1.SignalCommand {
8
- static description = 'Compile-only check of a Monitor definition; nothing is persisted';
8
+ static description = 'Compile-only check of a Monitor definition; nothing is persisted. Requires active Signal Sources owned by you in the selected workspace. Inspect each source with signals sources show before validating.';
9
9
  static flags = {
10
10
  json: core_1.Flags.boolean({ description: 'Output as JSON' }),
11
11
  'from-json': core_1.Flags.string({
@@ -61,7 +61,7 @@ class SpacesWorkflowsUpdate extends base_command_1.BaseCommand {
61
61
  description: 'Expected semantic revision; pass with --presentation-revision. For graph/draft writes, omit both to fetch the latest server revisions',
62
62
  }),
63
63
  'max-duration': core_1.Flags.string({
64
- description: 'Run duration limit, e.g. 90m, 4h or 2d. A run still open past it is cancelled with WORKFLOW_RUN_DEADLINE. Applies from the next publish; runs already started keep their deadline',
64
+ description: 'Run duration limit from 5m to 90d inclusive, e.g. 90m, 4h or 2d. A run still open past it is cancelled with WORKFLOW_RUN_DEADLINE. Applies from the next publish; runs already started keep their deadline',
65
65
  }),
66
66
  'clear-max-duration': core_1.Flags.boolean({ description: 'Remove the run duration limit' }),
67
67
  'presentation-revision': core_1.Flags.integer({
@@ -27199,7 +27199,7 @@
27199
27199
  "required": true
27200
27200
  }
27201
27201
  },
27202
- "description": "Per-commitment analytics (joined checks, outcomes, runs)",
27202
+ "description": "Daily Check/outcome analytics; use --ledger for joined native Runs. Legacy totals.autoRuns is not a native Run count",
27203
27203
  "examples": [
27204
27204
  "<%= config.bin %> commitments analytics detail obj_abc123",
27205
27205
  "<%= config.bin %> commitments analytics detail obj_abc123 --days 30",
@@ -27253,7 +27253,7 @@
27253
27253
  "type": "option"
27254
27254
  },
27255
27255
  "ledger": {
27256
- "description": "Show the joined ledger projection instead",
27256
+ "description": "Show joined checks, native Runs and deliveries instead of daily Check/outcome metrics",
27257
27257
  "name": "ledger",
27258
27258
  "allowNo": false,
27259
27259
  "type": "boolean"
@@ -78431,7 +78431,7 @@
78431
78431
  "signals:monitors:validate": {
78432
78432
  "aliases": [],
78433
78433
  "args": {},
78434
- "description": "Compile-only check of a Monitor definition; nothing is persisted",
78434
+ "description": "Compile-only check of a Monitor definition; nothing is persisted. Requires active Signal Sources owned by you in the selected workspace. Inspect each source with signals sources show before validating.",
78435
78435
  "flags": {
78436
78436
  "bare": {
78437
78437
  "description": "Bare mode — ignore keychain/file credential sources. Token must come from env or --token.",
@@ -96987,7 +96987,7 @@
96987
96987
  "type": "option"
96988
96988
  },
96989
96989
  "max-duration": {
96990
- "description": "Run duration limit, e.g. 90m, 4h or 2d. A run still open past it is cancelled with WORKFLOW_RUN_DEADLINE. Applies from the next publish; runs already started keep their deadline",
96990
+ "description": "Run duration limit from 5m to 90d inclusive, e.g. 90m, 4h or 2d. A run still open past it is cancelled with WORKFLOW_RUN_DEADLINE. Applies from the next publish; runs already started keep their deadline",
96991
96991
  "name": "max-duration",
96992
96992
  "hasDynamicHelp": false,
96993
96993
  "multiple": false,
@@ -131362,5 +131362,5 @@
131362
131362
  ]
131363
131363
  }
131364
131364
  },
131365
- "version": "0.1.100"
131365
+ "version": "0.1.101"
131366
131366
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skrr-ai/cli",
3
- "version": "0.1.100",
3
+ "version": "0.1.101",
4
4
  "description": "Command-line interface for skrr",
5
5
  "license": "ISC",
6
6
  "author": "skrr",