@skrr-ai/cli 0.1.177 → 0.1.179

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.
Files changed (27) hide show
  1. package/dist/commands/harnesses/evaluations/evidence.d.ts +20 -0
  2. package/dist/commands/harnesses/evaluations/evidence.js +72 -0
  3. package/dist/commands/harnesses/evaluations/grant.d.ts +30 -0
  4. package/dist/commands/harnesses/evaluations/grant.js +109 -0
  5. package/dist/commands/harnesses/evaluations/list.d.ts +18 -0
  6. package/dist/commands/harnesses/evaluations/list.js +73 -0
  7. package/dist/commands/harnesses/evaluations/revoke.d.ts +19 -0
  8. package/dist/commands/harnesses/evaluations/revoke.js +45 -0
  9. package/dist/commands/harnesses/evaluations/show.d.ts +14 -0
  10. package/dist/commands/harnesses/evaluations/show.js +46 -0
  11. package/dist/commands/harnesses/list.d.ts +1 -0
  12. package/dist/commands/harnesses/list.js +11 -2
  13. package/dist/commands/harnesses/show.js +5 -0
  14. package/dist/lib/harness-evaluations.d.ts +166 -0
  15. package/dist/lib/harness-evaluations.js +58 -0
  16. package/dist/lib/harness-labels.d.ts +10 -0
  17. package/dist/lib/harness-labels.js +23 -0
  18. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/inferenceBrokerHarnesses.d.ts +12 -2
  19. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/inferenceBrokerHarnesses.js +12 -5
  20. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/inferenceBrokerHarnesses.d.ts +12 -2
  21. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/inferenceBrokerHarnesses.js +21 -7
  22. package/dist/node_modules/@skrr-ai/inference-broker/dist/cjs/managed-inference-broker.d.ts +9 -9
  23. package/dist/node_modules/@skrr-ai/inference-broker/dist/cjs/managed-inference-broker.js +58 -5
  24. package/dist/node_modules/@skrr-ai/inference-broker/dist/esm/managed-inference-broker.d.ts +9 -9
  25. package/dist/node_modules/@skrr-ai/inference-broker/dist/esm/managed-inference-broker.js +78 -9
  26. package/oclif.manifest.json +477 -1
  27. package/package.json +5 -2
@@ -1189,11 +1189,63 @@ function isPlainObject(value) {
1189
1189
  return Boolean(value && typeof value === 'object' && !Array.isArray(value));
1190
1190
  }
1191
1191
  const MAX_OPENAI_CACHE_BREAKPOINTS = 50;
1192
- function supportsManagedPromptCaching(modelScope) {
1192
+ /**
1193
+ * The Claude prompt-cache contract (OSK-24595), the same one the API relay
1194
+ * enforces (`managedPromptCacheAuthority.js`): `cache_control` of type
1195
+ * `ephemeral`, a 5-minute TTL (the only write the reservation floor prices),
1196
+ * at most four breakpoints (Anthropic's limit, automatic caching included).
1197
+ */
1198
+ const CLAUDE_PROMPT_CACHE_TTL = '5m';
1199
+ const CLAUDE_MAX_CACHE_BREAKPOINTS = 4;
1200
+ /**
1201
+ * The upstreams a Claude caching lease is honoured on. OpenRouter is absent on
1202
+ * purpose: it picks the serving endpoint per request, so its cache price and
1203
+ * retention are not reviewed, and the server never issues such a lease.
1204
+ */
1205
+ const CLAUDE_PROMPT_CACHE_UPSTREAMS = ['anthropic', 'bedrock'];
1206
+ /** Which reviewed cache contract a lease's model speaks, or null when none. */
1207
+ function managedPromptCacheContract(modelScope) {
1193
1208
  const model = nonEmpty(modelScope.wireModel)
1194
1209
  ?.replace(SUPPORTS_MANAGED_PROMPT_CACHING_RE, '')
1195
1210
  .toLowerCase();
1196
- return modelScope.upstreamProvider === 'openai' && Boolean(model?.startsWith('gpt-5.6'));
1211
+ if (modelScope.upstreamProvider === 'openai' && model?.startsWith('gpt-5.6'))
1212
+ return 'openai';
1213
+ if (CLAUDE_PROMPT_CACHE_UPSTREAMS.includes(modelScope.upstreamProvider) &&
1214
+ model?.includes('claude')) {
1215
+ return 'claude';
1216
+ }
1217
+ return null;
1218
+ }
1219
+ function supportsManagedPromptCaching(modelScope) {
1220
+ return managedPromptCacheContract(modelScope) !== null;
1221
+ }
1222
+ /** Why a request's `cache_control` markers fall outside the Claude contract, or null. */
1223
+ function claudeCacheControlViolation(payload) {
1224
+ const controls = objectKeyValues(payload, 'cache_control');
1225
+ if (controls.length > CLAUDE_MAX_CACHE_BREAKPOINTS) {
1226
+ return `at most ${CLAUDE_MAX_CACHE_BREAKPOINTS} cache_control breakpoints are allowed`;
1227
+ }
1228
+ for (const control of controls) {
1229
+ if (!isPlainObject(control))
1230
+ return 'cache_control must be an object';
1231
+ if (Object.keys(control).some((key) => key !== 'type' && key !== 'ttl')) {
1232
+ return 'cache_control accepts only type and ttl';
1233
+ }
1234
+ if (control.type !== 'ephemeral')
1235
+ return 'cache_control type must be ephemeral';
1236
+ if (control.ttl != null && control.ttl !== CLAUDE_PROMPT_CACHE_TTL) {
1237
+ return `cache_control ttl must be ${CLAUDE_PROMPT_CACHE_TTL}`;
1238
+ }
1239
+ }
1240
+ return null;
1241
+ }
1242
+ /** Drop every `ttl` that is not the priced one, so the write falls back to 5 minutes. */
1243
+ function normalizeClaudeCacheTtl(payload) {
1244
+ for (const control of objectKeyValues(payload, 'cache_control')) {
1245
+ if (isPlainObject(control) && control.ttl != null && control.ttl !== CLAUDE_PROMPT_CACHE_TTL) {
1246
+ delete control.ttl;
1247
+ }
1248
+ }
1197
1249
  }
1198
1250
  /**
1199
1251
  * OpenAI GPT-5.6 caching is implicit by default; removing the SDK's routing
@@ -1210,21 +1262,38 @@ function enforcePromptCacheEnvelope(payload, envelope, modelScope, promptCacheCo
1210
1262
  const claudeCacheControlFamily = ['anthropic', 'openrouter', 'bedrock'].includes(modelScope.upstreamProvider) &&
1211
1263
  model?.includes('claude');
1212
1264
  if (claudeCacheControlFamily) {
1265
+ const openAICacheFields = containsObjectKey(payload, 'prompt_cache_breakpoint') ||
1266
+ payload.prompt_cache_key != null ||
1267
+ payload.prompt_cache_options != null ||
1268
+ payload.prompt_cache_retention != null;
1213
1269
  if (envelope.allowPromptCaching) {
1214
- rejectManagedRequest('managed inference broker has no prompt cache policy for the leased model');
1270
+ // OSK-24595: a Claude lease that allows caching admits `cache_control`
1271
+ // within the reviewed contract. The relay checks the same contract again.
1272
+ if (managedPromptCacheContract(modelScope) !== 'claude') {
1273
+ rejectManagedRequest('managed inference broker has no prompt cache policy for the leased model');
1274
+ }
1275
+ if (openAICacheFields) {
1276
+ rejectManagedRequest('managed inference broker denied a prompt cache field Claude caching does not use');
1277
+ }
1278
+ if (promptCacheControl === 'strip') {
1279
+ normalizeClaudeCacheTtl(payload);
1280
+ if (claudeCacheControlViolation(payload))
1281
+ deleteObjectKey(payload, 'cache_control');
1282
+ }
1283
+ const violation = claudeCacheControlViolation(payload);
1284
+ if (violation) {
1285
+ rejectManagedRequest(`managed inference broker denied prompt caching: ${violation}`);
1286
+ }
1287
+ return;
1215
1288
  }
1216
1289
  if (promptCacheControl === 'strip')
1217
1290
  deleteObjectKey(payload, 'cache_control');
1218
- if (containsObjectKey(payload, 'cache_control') ||
1219
- containsObjectKey(payload, 'prompt_cache_breakpoint') ||
1220
- payload.prompt_cache_key != null ||
1221
- payload.prompt_cache_options != null ||
1222
- payload.prompt_cache_retention != null) {
1291
+ if (containsObjectKey(payload, 'cache_control') || openAICacheFields) {
1223
1292
  rejectManagedRequest('managed inference broker denied prompt caching outside the lease envelope');
1224
1293
  }
1225
1294
  return;
1226
1295
  }
1227
- if (!supportsManagedPromptCaching(modelScope)) {
1296
+ if (managedPromptCacheContract(modelScope) !== 'openai') {
1228
1297
  rejectManagedRequest('managed inference broker has no prompt cache policy for the leased model');
1229
1298
  }
1230
1299
  const breakpoints = objectKeyValues(payload, 'prompt_cache_breakpoint');
@@ -58414,6 +58414,482 @@
58414
58414
  "alias.js"
58415
58415
  ]
58416
58416
  },
58417
+ "harnesses:evaluations:evidence": {
58418
+ "aliases": [
58419
+ "harnesses:evaluations:evidence"
58420
+ ],
58421
+ "args": {
58422
+ "grantId": {
58423
+ "description": "Grant id (hevg_...)",
58424
+ "name": "grantId",
58425
+ "required": true
58426
+ }
58427
+ },
58428
+ "description": "Show the reservations, relay calls and gateway rows of a harness evaluation (platform admins)",
58429
+ "examples": [
58430
+ "<%= config.bin %> harnesses evaluations evidence hevg_<id> --gateway --json"
58431
+ ],
58432
+ "flags": {
58433
+ "bare": {
58434
+ "description": "Bare mode — ignore keychain/file credential sources. Token must come from env or --token.",
58435
+ "name": "bare",
58436
+ "allowNo": false,
58437
+ "type": "boolean"
58438
+ },
58439
+ "token": {
58440
+ "description": "Bearer token for this invocation (debugging/impersonation). Overrides env and stored creds.",
58441
+ "name": "token",
58442
+ "hasDynamicHelp": false,
58443
+ "multiple": false,
58444
+ "type": "option"
58445
+ },
58446
+ "workspace": {
58447
+ "description": "Workspace ID for workspace-scoped requests (also sets X-Workspace-Id).",
58448
+ "name": "workspace",
58449
+ "hasDynamicHelp": false,
58450
+ "multiple": false,
58451
+ "type": "option"
58452
+ },
58453
+ "profile": {
58454
+ "description": "Which stored session to use. Each profile keeps its own credential and deployment, so signing into one does not sign you out of another. Also OVERSKY_PROFILE. List them with `profiles list`.",
58455
+ "name": "profile",
58456
+ "hasDynamicHelp": false,
58457
+ "multiple": false,
58458
+ "type": "option"
58459
+ },
58460
+ "raw": {
58461
+ "description": "With --json, keep the Mongo storage fields (_id next to id, __v) that the CLI otherwise strips. Also OVERSKY_CLI_RAW=1.",
58462
+ "name": "raw",
58463
+ "allowNo": false,
58464
+ "type": "boolean"
58465
+ },
58466
+ "json": {
58467
+ "description": "Output as JSON",
58468
+ "name": "json",
58469
+ "allowNo": false,
58470
+ "type": "boolean"
58471
+ },
58472
+ "gateway": {
58473
+ "description": "Also read each call's gateway spend row",
58474
+ "name": "gateway",
58475
+ "allowNo": false,
58476
+ "type": "boolean"
58477
+ },
58478
+ "conversation": {
58479
+ "description": "Also read prompt-free persisted pointers for one of your own conversations",
58480
+ "name": "conversation",
58481
+ "hasDynamicHelp": false,
58482
+ "multiple": false,
58483
+ "type": "option"
58484
+ }
58485
+ },
58486
+ "hasDynamicHelp": false,
58487
+ "hiddenAliases": [],
58488
+ "id": "harnesses:evaluations:evidence",
58489
+ "pluginAlias": "@skrr-ai/cli",
58490
+ "pluginName": "@skrr-ai/cli",
58491
+ "pluginType": "core",
58492
+ "strict": true,
58493
+ "enableJsonFlag": false,
58494
+ "autonomousCredentialPolicy": "delegated",
58495
+ "autonomousCredentialFallback": "none",
58496
+ "resolveSpaceFlag": true,
58497
+ "isESM": false,
58498
+ "relativePath": [
58499
+ "dist",
58500
+ "commands",
58501
+ "harnesses",
58502
+ "evaluations",
58503
+ "evidence.js"
58504
+ ]
58505
+ },
58506
+ "harnesses:evaluations:grant": {
58507
+ "aliases": [
58508
+ "harnesses:evaluations:grant"
58509
+ ],
58510
+ "args": {
58511
+ "harness": {
58512
+ "description": "Registry harness id evaluating at platform-machine (for example pi, copilot-sdk)",
58513
+ "name": "harness",
58514
+ "required": true
58515
+ }
58516
+ },
58517
+ "description": "Let a harness evaluating on platform machines run on one of your own (platform admins)",
58518
+ "examples": [
58519
+ "<%= config.bin %> harnesses evaluations grant pi --version 1.5.2 --model claude-sonnet-5 --daemon <daemon-id> --reason \"H9 for pi on a Hosted Machine (OSK-24468)\"",
58520
+ "<%= config.bin %> harnesses evaluations grant copilot-sdk --version 1.0.112 --model claude-sonnet-5 --model gpt-5.6-terra --daemon <daemon-id> --ttl-minutes 90 --max-spend-usd 3 --reason \"H9 for copilot-sdk (OSK-24469)\" --json"
58521
+ ],
58522
+ "flags": {
58523
+ "bare": {
58524
+ "description": "Bare mode — ignore keychain/file credential sources. Token must come from env or --token.",
58525
+ "name": "bare",
58526
+ "allowNo": false,
58527
+ "type": "boolean"
58528
+ },
58529
+ "token": {
58530
+ "description": "Bearer token for this invocation (debugging/impersonation). Overrides env and stored creds.",
58531
+ "name": "token",
58532
+ "hasDynamicHelp": false,
58533
+ "multiple": false,
58534
+ "type": "option"
58535
+ },
58536
+ "workspace": {
58537
+ "description": "Workspace ID for workspace-scoped requests (also sets X-Workspace-Id).",
58538
+ "name": "workspace",
58539
+ "hasDynamicHelp": false,
58540
+ "multiple": false,
58541
+ "type": "option"
58542
+ },
58543
+ "profile": {
58544
+ "description": "Which stored session to use. Each profile keeps its own credential and deployment, so signing into one does not sign you out of another. Also OVERSKY_PROFILE. List them with `profiles list`.",
58545
+ "name": "profile",
58546
+ "hasDynamicHelp": false,
58547
+ "multiple": false,
58548
+ "type": "option"
58549
+ },
58550
+ "raw": {
58551
+ "description": "With --json, keep the Mongo storage fields (_id next to id, __v) that the CLI otherwise strips. Also OVERSKY_CLI_RAW=1.",
58552
+ "name": "raw",
58553
+ "allowNo": false,
58554
+ "type": "boolean"
58555
+ },
58556
+ "json": {
58557
+ "description": "Output as JSON",
58558
+ "name": "json",
58559
+ "allowNo": false,
58560
+ "type": "boolean"
58561
+ },
58562
+ "version": {
58563
+ "description": "The exact harness version the machine image reports (its Harness row cliVersion)",
58564
+ "name": "version",
58565
+ "required": true,
58566
+ "hasDynamicHelp": false,
58567
+ "multiple": false,
58568
+ "type": "option"
58569
+ },
58570
+ "model": {
58571
+ "description": "A catalog model alias the evaluation may run (1-4; repeat the flag)",
58572
+ "name": "model",
58573
+ "required": true,
58574
+ "hasDynamicHelp": false,
58575
+ "multiple": true,
58576
+ "type": "option"
58577
+ },
58578
+ "daemon": {
58579
+ "description": "Daemon id of your Hosted Machine or Dedicated Runtime (from `skrr harnesses list`)",
58580
+ "name": "daemon",
58581
+ "required": true,
58582
+ "hasDynamicHelp": false,
58583
+ "multiple": false,
58584
+ "type": "option"
58585
+ },
58586
+ "ttl-minutes": {
58587
+ "description": "How long it lasts (5-360, default 120)",
58588
+ "name": "ttl-minutes",
58589
+ "hasDynamicHelp": false,
58590
+ "multiple": false,
58591
+ "type": "option"
58592
+ },
58593
+ "max-spend-usd": {
58594
+ "description": "Cap on what its turns may commit, in USD (0.5-10, default 4): settled turns count what they settled, unsettled ones their worst case",
58595
+ "name": "max-spend-usd",
58596
+ "hasDynamicHelp": false,
58597
+ "multiple": false,
58598
+ "type": "option"
58599
+ },
58600
+ "reason": {
58601
+ "description": "Why (8-512 characters). Recorded on the grant with your account.",
58602
+ "name": "reason",
58603
+ "required": true,
58604
+ "hasDynamicHelp": false,
58605
+ "multiple": false,
58606
+ "type": "option"
58607
+ },
58608
+ "no-rescan": {
58609
+ "description": "Do not ask the daemon to re-register now",
58610
+ "name": "no-rescan",
58611
+ "allowNo": false,
58612
+ "type": "boolean"
58613
+ }
58614
+ },
58615
+ "hasDynamicHelp": false,
58616
+ "hiddenAliases": [],
58617
+ "id": "harnesses:evaluations:grant",
58618
+ "pluginAlias": "@skrr-ai/cli",
58619
+ "pluginName": "@skrr-ai/cli",
58620
+ "pluginType": "core",
58621
+ "strict": true,
58622
+ "enableJsonFlag": false,
58623
+ "autonomousCredentialPolicy": "delegated",
58624
+ "autonomousCredentialFallback": "none",
58625
+ "resolveSpaceFlag": true,
58626
+ "isESM": false,
58627
+ "relativePath": [
58628
+ "dist",
58629
+ "commands",
58630
+ "harnesses",
58631
+ "evaluations",
58632
+ "grant.js"
58633
+ ]
58634
+ },
58635
+ "harnesses:evaluations:list": {
58636
+ "aliases": [
58637
+ "harnesses:evaluations:list"
58638
+ ],
58639
+ "args": {},
58640
+ "description": "List your harness evaluations on platform machines (platform admins)",
58641
+ "examples": [
58642
+ "<%= config.bin %> harnesses evaluations list",
58643
+ "<%= config.bin %> harnesses evaluations list --harness pi --include-ended --json"
58644
+ ],
58645
+ "flags": {
58646
+ "bare": {
58647
+ "description": "Bare mode — ignore keychain/file credential sources. Token must come from env or --token.",
58648
+ "name": "bare",
58649
+ "allowNo": false,
58650
+ "type": "boolean"
58651
+ },
58652
+ "token": {
58653
+ "description": "Bearer token for this invocation (debugging/impersonation). Overrides env and stored creds.",
58654
+ "name": "token",
58655
+ "hasDynamicHelp": false,
58656
+ "multiple": false,
58657
+ "type": "option"
58658
+ },
58659
+ "workspace": {
58660
+ "description": "Workspace ID for workspace-scoped requests (also sets X-Workspace-Id).",
58661
+ "name": "workspace",
58662
+ "hasDynamicHelp": false,
58663
+ "multiple": false,
58664
+ "type": "option"
58665
+ },
58666
+ "profile": {
58667
+ "description": "Which stored session to use. Each profile keeps its own credential and deployment, so signing into one does not sign you out of another. Also OVERSKY_PROFILE. List them with `profiles list`.",
58668
+ "name": "profile",
58669
+ "hasDynamicHelp": false,
58670
+ "multiple": false,
58671
+ "type": "option"
58672
+ },
58673
+ "raw": {
58674
+ "description": "With --json, keep the Mongo storage fields (_id next to id, __v) that the CLI otherwise strips. Also OVERSKY_CLI_RAW=1.",
58675
+ "name": "raw",
58676
+ "allowNo": false,
58677
+ "type": "boolean"
58678
+ },
58679
+ "json": {
58680
+ "description": "Output as JSON",
58681
+ "name": "json",
58682
+ "allowNo": false,
58683
+ "type": "boolean"
58684
+ },
58685
+ "harness": {
58686
+ "description": "Only this harness (for example pi)",
58687
+ "name": "harness",
58688
+ "hasDynamicHelp": false,
58689
+ "multiple": false,
58690
+ "type": "option"
58691
+ },
58692
+ "daemon": {
58693
+ "description": "Only this daemon id",
58694
+ "name": "daemon",
58695
+ "hasDynamicHelp": false,
58696
+ "multiple": false,
58697
+ "type": "option"
58698
+ },
58699
+ "include-ended": {
58700
+ "description": "Include expired and withdrawn grants",
58701
+ "name": "include-ended",
58702
+ "allowNo": false,
58703
+ "type": "boolean"
58704
+ },
58705
+ "limit": {
58706
+ "description": "At most this many grants (default 50, up to 200)",
58707
+ "name": "limit",
58708
+ "hasDynamicHelp": false,
58709
+ "multiple": false,
58710
+ "type": "option"
58711
+ }
58712
+ },
58713
+ "hasDynamicHelp": false,
58714
+ "hiddenAliases": [],
58715
+ "id": "harnesses:evaluations:list",
58716
+ "pluginAlias": "@skrr-ai/cli",
58717
+ "pluginName": "@skrr-ai/cli",
58718
+ "pluginType": "core",
58719
+ "strict": true,
58720
+ "enableJsonFlag": false,
58721
+ "autonomousCredentialPolicy": "delegated",
58722
+ "autonomousCredentialFallback": "none",
58723
+ "resolveSpaceFlag": true,
58724
+ "isESM": false,
58725
+ "relativePath": [
58726
+ "dist",
58727
+ "commands",
58728
+ "harnesses",
58729
+ "evaluations",
58730
+ "list.js"
58731
+ ]
58732
+ },
58733
+ "harnesses:evaluations:revoke": {
58734
+ "aliases": [
58735
+ "harnesses:evaluations:revoke"
58736
+ ],
58737
+ "args": {
58738
+ "grantId": {
58739
+ "description": "Grant id (hevg_...)",
58740
+ "name": "grantId",
58741
+ "required": true
58742
+ }
58743
+ },
58744
+ "description": "Withdraw a harness evaluation (platform admins)",
58745
+ "examples": [
58746
+ "<%= config.bin %> harnesses evaluations revoke hevg_<id> --reason \"H9 cells recorded\""
58747
+ ],
58748
+ "flags": {
58749
+ "bare": {
58750
+ "description": "Bare mode — ignore keychain/file credential sources. Token must come from env or --token.",
58751
+ "name": "bare",
58752
+ "allowNo": false,
58753
+ "type": "boolean"
58754
+ },
58755
+ "token": {
58756
+ "description": "Bearer token for this invocation (debugging/impersonation). Overrides env and stored creds.",
58757
+ "name": "token",
58758
+ "hasDynamicHelp": false,
58759
+ "multiple": false,
58760
+ "type": "option"
58761
+ },
58762
+ "workspace": {
58763
+ "description": "Workspace ID for workspace-scoped requests (also sets X-Workspace-Id).",
58764
+ "name": "workspace",
58765
+ "hasDynamicHelp": false,
58766
+ "multiple": false,
58767
+ "type": "option"
58768
+ },
58769
+ "profile": {
58770
+ "description": "Which stored session to use. Each profile keeps its own credential and deployment, so signing into one does not sign you out of another. Also OVERSKY_PROFILE. List them with `profiles list`.",
58771
+ "name": "profile",
58772
+ "hasDynamicHelp": false,
58773
+ "multiple": false,
58774
+ "type": "option"
58775
+ },
58776
+ "raw": {
58777
+ "description": "With --json, keep the Mongo storage fields (_id next to id, __v) that the CLI otherwise strips. Also OVERSKY_CLI_RAW=1.",
58778
+ "name": "raw",
58779
+ "allowNo": false,
58780
+ "type": "boolean"
58781
+ },
58782
+ "json": {
58783
+ "description": "Output as JSON",
58784
+ "name": "json",
58785
+ "allowNo": false,
58786
+ "type": "boolean"
58787
+ },
58788
+ "reason": {
58789
+ "description": "Why (8-512 characters). Recorded on the grant with your account.",
58790
+ "name": "reason",
58791
+ "required": true,
58792
+ "hasDynamicHelp": false,
58793
+ "multiple": false,
58794
+ "type": "option"
58795
+ }
58796
+ },
58797
+ "hasDynamicHelp": false,
58798
+ "hiddenAliases": [],
58799
+ "id": "harnesses:evaluations:revoke",
58800
+ "pluginAlias": "@skrr-ai/cli",
58801
+ "pluginName": "@skrr-ai/cli",
58802
+ "pluginType": "core",
58803
+ "strict": true,
58804
+ "enableJsonFlag": false,
58805
+ "autonomousCredentialPolicy": "delegated",
58806
+ "autonomousCredentialFallback": "none",
58807
+ "resolveSpaceFlag": true,
58808
+ "isESM": false,
58809
+ "relativePath": [
58810
+ "dist",
58811
+ "commands",
58812
+ "harnesses",
58813
+ "evaluations",
58814
+ "revoke.js"
58815
+ ]
58816
+ },
58817
+ "harnesses:evaluations:show": {
58818
+ "aliases": [
58819
+ "harnesses:evaluations:show"
58820
+ ],
58821
+ "args": {
58822
+ "grantId": {
58823
+ "description": "Grant id (hevg_...)",
58824
+ "name": "grantId",
58825
+ "required": true
58826
+ }
58827
+ },
58828
+ "description": "Show one of your harness evaluations (platform admins)",
58829
+ "examples": [
58830
+ "<%= config.bin %> harnesses evaluations show hevg_<id>"
58831
+ ],
58832
+ "flags": {
58833
+ "bare": {
58834
+ "description": "Bare mode — ignore keychain/file credential sources. Token must come from env or --token.",
58835
+ "name": "bare",
58836
+ "allowNo": false,
58837
+ "type": "boolean"
58838
+ },
58839
+ "token": {
58840
+ "description": "Bearer token for this invocation (debugging/impersonation). Overrides env and stored creds.",
58841
+ "name": "token",
58842
+ "hasDynamicHelp": false,
58843
+ "multiple": false,
58844
+ "type": "option"
58845
+ },
58846
+ "workspace": {
58847
+ "description": "Workspace ID for workspace-scoped requests (also sets X-Workspace-Id).",
58848
+ "name": "workspace",
58849
+ "hasDynamicHelp": false,
58850
+ "multiple": false,
58851
+ "type": "option"
58852
+ },
58853
+ "profile": {
58854
+ "description": "Which stored session to use. Each profile keeps its own credential and deployment, so signing into one does not sign you out of another. Also OVERSKY_PROFILE. List them with `profiles list`.",
58855
+ "name": "profile",
58856
+ "hasDynamicHelp": false,
58857
+ "multiple": false,
58858
+ "type": "option"
58859
+ },
58860
+ "raw": {
58861
+ "description": "With --json, keep the Mongo storage fields (_id next to id, __v) that the CLI otherwise strips. Also OVERSKY_CLI_RAW=1.",
58862
+ "name": "raw",
58863
+ "allowNo": false,
58864
+ "type": "boolean"
58865
+ },
58866
+ "json": {
58867
+ "description": "Output as JSON",
58868
+ "name": "json",
58869
+ "allowNo": false,
58870
+ "type": "boolean"
58871
+ }
58872
+ },
58873
+ "hasDynamicHelp": false,
58874
+ "hiddenAliases": [],
58875
+ "id": "harnesses:evaluations:show",
58876
+ "pluginAlias": "@skrr-ai/cli",
58877
+ "pluginName": "@skrr-ai/cli",
58878
+ "pluginType": "core",
58879
+ "strict": true,
58880
+ "enableJsonFlag": false,
58881
+ "autonomousCredentialPolicy": "delegated",
58882
+ "autonomousCredentialFallback": "none",
58883
+ "resolveSpaceFlag": true,
58884
+ "isESM": false,
58885
+ "relativePath": [
58886
+ "dist",
58887
+ "commands",
58888
+ "harnesses",
58889
+ "evaluations",
58890
+ "show.js"
58891
+ ]
58892
+ },
58417
58893
  "harnesses:forget": {
58418
58894
  "aliases": [],
58419
58895
  "args": {
@@ -150534,5 +151010,5 @@
150534
151010
  ]
150535
151011
  }
150536
151012
  },
150537
- "version": "0.1.177"
151013
+ "version": "0.1.179"
150538
151014
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skrr-ai/cli",
3
- "version": "0.1.177",
3
+ "version": "0.1.179",
4
4
  "description": "Command-line interface for skrr",
5
5
  "license": "ISC",
6
6
  "author": "skrr",
@@ -548,6 +548,9 @@
548
548
  "harnesses:leases": {
549
549
  "description": "Run a lifecycle action on a harness lease"
550
550
  },
551
+ "harnesses:evaluations": {
552
+ "description": "Let a harness evaluating on platform machines run on one of your own (platform admins)"
553
+ },
551
554
  "harnesses:rollouts": {
552
555
  "description": "Release a managed inference provider to one account, or withdraw it (platform admins)"
553
556
  },
@@ -704,5 +707,5 @@
704
707
  "engines": {
705
708
  "node": ">=20.0.0"
706
709
  },
707
- "gitHead": "79ec2041ae075c6e9da2b6533b9cb7c4d97c1b01"
710
+ "gitHead": "7c752497b9f1d0b94c7b1162628953a3658dfd08"
708
711
  }