@codiac.io/codiac-cli 1.3.253 → 1.3.255

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 (44) hide show
  1. package/README.md +556 -165
  2. package/dist/apis/codiac-relay/gen/client.d.ts +12 -1
  3. package/dist/apis/codiac-relay/gen/client.js +23 -0
  4. package/dist/apis/codiac-relay/gen/client.js.map +1 -1
  5. package/dist/apis/codiac-relay/gen/contracts/types.gen.d.ts +120 -0
  6. package/dist/apis/codiac-relay/gen/contracts/types.gen.js.map +1 -1
  7. package/dist/apis/codiac-relay/i-client.d.ts +11 -0
  8. package/dist/apis/codiac-relay-nats/gen/client.d.ts +15 -0
  9. package/dist/apis/codiac-relay-nats/gen/client.js +27 -0
  10. package/dist/apis/codiac-relay-nats/gen/client.js.map +1 -1
  11. package/dist/apis/codiac-relay-nats/gen/contracts/types.gen.d.ts +49 -0
  12. package/dist/commands/ai/model/attach.d.ts +37 -0
  13. package/dist/commands/ai/model/attach.js +173 -0
  14. package/dist/commands/ai/model/attach.js.map +1 -0
  15. package/dist/commands/ai/model/install.d.ts +105 -0
  16. package/dist/commands/ai/model/install.js +655 -0
  17. package/dist/commands/ai/model/install.js.map +1 -0
  18. package/dist/commands/ai/model/list.d.ts +37 -0
  19. package/dist/commands/ai/model/list.js +160 -0
  20. package/dist/commands/ai/model/list.js.map +1 -0
  21. package/dist/commands/ai/model/uninstall.d.ts +40 -0
  22. package/dist/commands/ai/model/uninstall.js +144 -0
  23. package/dist/commands/ai/model/uninstall.js.map +1 -0
  24. package/dist/commands/ai/model/view.d.ts +35 -0
  25. package/dist/commands/ai/model/view.js +143 -0
  26. package/dist/commands/ai/model/view.js.map +1 -0
  27. package/dist/commands/asset/create.js +5 -4
  28. package/dist/commands/asset/create.js.map +1 -1
  29. package/dist/commands/asset/edit.d.ts +9 -0
  30. package/dist/commands/asset/edit.js +38 -0
  31. package/dist/commands/asset/edit.js.map +1 -1
  32. package/dist/commands/imageRegistry/edit.d.ts +47 -0
  33. package/dist/commands/imageRegistry/edit.js +163 -0
  34. package/dist/commands/imageRegistry/edit.js.map +1 -0
  35. package/dist/uilogic/model-spec.d.ts +40 -0
  36. package/dist/uilogic/model-spec.js +71 -0
  37. package/dist/uilogic/model-spec.js.map +1 -0
  38. package/dist/uilogic/registry-resolver.d.ts +21 -0
  39. package/dist/uilogic/registry-resolver.js +42 -0
  40. package/dist/uilogic/registry-resolver.js.map +1 -0
  41. package/oclif.manifest.json +670 -1
  42. package/package.json +1 -1
  43. package/skill/references/cli-reference.md +1 -1
  44. package/skill/references/concepts.md +26 -3
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.3.253",
2
+ "version": "1.3.255",
3
3
  "commands": {
4
4
  "branch": {
5
5
  "id": "branch",
@@ -2017,6 +2017,10 @@
2017
2017
  {
2018
2018
  "description": "Remove a deploy condition so the asset always deploys.",
2019
2019
  "command": "<%= config.bin %> <%= command.id %> -e myEnterprise -n my-api --remove-deploy-condition --silent"
2020
+ },
2021
+ {
2022
+ "description": "Re-point an asset at a corrected registry (by its Codiac code, not its url).",
2023
+ "command": "<%= config.bin %> <%= command.id %> -e myEnterprise -n my-api --registry devCodiacContainers --silent"
2020
2024
  }
2021
2025
  ],
2022
2026
  "flags": {
@@ -2044,6 +2048,14 @@
2044
2048
  "required": false,
2045
2049
  "multiple": false
2046
2050
  },
2051
+ "registry": {
2052
+ "name": "registry",
2053
+ "type": "option",
2054
+ "char": "r",
2055
+ "description": "Re-point this asset at a different container registry, given by its Codiac registry CODE (run `cod imageRegistry list`; NOT the registry url). Re-resolves the asset's embedded registry reference — use this after correcting a registry url so the asset picks up the fix.",
2056
+ "required": false,
2057
+ "multiple": false
2058
+ },
2047
2059
  "deploy-condition": {
2048
2060
  "name": "deploy-condition",
2049
2061
  "type": "option",
@@ -7445,6 +7457,96 @@
7445
7457
  },
7446
7458
  "args": {}
7447
7459
  },
7460
+ "imageRegistry:edit": {
7461
+ "id": "imageRegistry:edit",
7462
+ "description": "Changes the mutable attributes (url, private/public) of an existing container registry reference. The code, provider, and type are immutable.",
7463
+ "strict": true,
7464
+ "pluginName": "@codiac.io/codiac-cli",
7465
+ "pluginAlias": "@codiac.io/codiac-cli",
7466
+ "pluginType": "core",
7467
+ "aliases": [],
7468
+ "hiddenAliases": [],
7469
+ "examples": [
7470
+ {
7471
+ "description": "Edit a registry interactively (select it, then change its url).",
7472
+ "command": "<%= config.bin %> <%= command.id %>"
7473
+ },
7474
+ {
7475
+ "description": "Correct a registry's url (identified by its Codiac code, not its url).",
7476
+ "command": "<%= config.bin %> <%= command.id %> --registry devCodiacContainers --url newname.azurecr.io --silent"
7477
+ },
7478
+ {
7479
+ "description": "Flip a registry to public (no pull authentication).",
7480
+ "command": "<%= config.bin %> <%= command.id %> --registry 'Other|ghcr' --no-private --silent"
7481
+ },
7482
+ {
7483
+ "description": "Render the equivalent silent command without executing it.",
7484
+ "command": "<%= config.bin %> <%= command.id %> --registry devCodiacContainers --url newname.azurecr.io --to-script"
7485
+ }
7486
+ ],
7487
+ "flags": {
7488
+ "help": {
7489
+ "name": "help",
7490
+ "type": "boolean",
7491
+ "char": "h",
7492
+ "description": "Show CLI help.",
7493
+ "allowNo": false
7494
+ },
7495
+ "registry": {
7496
+ "name": "registry",
7497
+ "type": "option",
7498
+ "char": "r",
7499
+ "description": "The Codiac code identifying the registry to edit (NOT its url). Run `cod imageRegistry list` to see codes.",
7500
+ "required": false,
7501
+ "multiple": false
7502
+ },
7503
+ "url": {
7504
+ "name": "url",
7505
+ "type": "option",
7506
+ "char": "u",
7507
+ "description": "The corrected container registry url.",
7508
+ "required": false,
7509
+ "multiple": false
7510
+ },
7511
+ "private": {
7512
+ "name": "private",
7513
+ "type": "boolean",
7514
+ "description": "Whether pulling from this registry requires authentication. Pass --private or --no-private only to change it; omit to leave it unchanged.",
7515
+ "allowNo": true
7516
+ },
7517
+ "silent": {
7518
+ "name": "silent",
7519
+ "type": "boolean",
7520
+ "description": "Executes without any user interaction; fails on missing or invalid arguments.",
7521
+ "allowNo": false,
7522
+ "exclusive": [
7523
+ "echo",
7524
+ "to-script"
7525
+ ]
7526
+ },
7527
+ "echo": {
7528
+ "name": "echo",
7529
+ "type": "boolean",
7530
+ "description": "Renders the equivalent non-interactive command for future use before executing.",
7531
+ "allowNo": false,
7532
+ "exclusive": [
7533
+ "to-script",
7534
+ "silent"
7535
+ ]
7536
+ },
7537
+ "to-script": {
7538
+ "name": "to-script",
7539
+ "type": "boolean",
7540
+ "description": "Renders the equivalent non-interactive command without executing it.",
7541
+ "allowNo": false,
7542
+ "exclusive": [
7543
+ "echo",
7544
+ "silent"
7545
+ ]
7546
+ }
7547
+ },
7548
+ "args": {}
7549
+ },
7448
7550
  "imageRegistry:forget": {
7449
7551
  "id": "imageRegistry:forget",
7450
7552
  "description": "Removes the reference to the given container registry for the tenant. Does NOT delete the registry itself.",
@@ -9929,6 +10031,573 @@
9929
10031
  },
9930
10032
  "args": {}
9931
10033
  },
10034
+ "ai:model:attach": {
10035
+ "id": "ai:model:attach",
10036
+ "description": "Wires an already-provisioned model into an already-installed agent (writes the model endpoint onto the agent and redeploys it so it uses the private model).",
10037
+ "strict": true,
10038
+ "pluginName": "@codiac.io/codiac-cli",
10039
+ "pluginAlias": "@codiac.io/codiac-cli",
10040
+ "pluginType": "core",
10041
+ "aliases": [],
10042
+ "hiddenAliases": [],
10043
+ "examples": [
10044
+ {
10045
+ "description": "Wire the qwen3-dev model into the hermes-agent in the dev cabinet.",
10046
+ "command": "<%= config.bin %> <%= command.id %> -e ben -m qwen3-dev --agent hermes-agent -c dev"
10047
+ },
10048
+ {
10049
+ "description": "Non-interactive (scripted) invocation.",
10050
+ "command": "<%= config.bin %> <%= command.id %> -e ben -m qwen3-dev --agent hermes-agent -c dev --silent"
10051
+ }
10052
+ ],
10053
+ "flags": {
10054
+ "help": {
10055
+ "name": "help",
10056
+ "type": "boolean",
10057
+ "char": "h",
10058
+ "description": "Show CLI help.",
10059
+ "allowNo": false
10060
+ },
10061
+ "enterpriseCode": {
10062
+ "name": "enterpriseCode",
10063
+ "type": "option",
10064
+ "char": "e",
10065
+ "description": "Code name identifying the target enterprise.",
10066
+ "required": false,
10067
+ "multiple": false
10068
+ },
10069
+ "model": {
10070
+ "name": "model",
10071
+ "type": "option",
10072
+ "char": "m",
10073
+ "description": "Handle of the provisioned model to wire in.",
10074
+ "multiple": false
10075
+ },
10076
+ "agent": {
10077
+ "name": "agent",
10078
+ "type": "option",
10079
+ "description": "Name of the already-installed agent to wire the model into.",
10080
+ "multiple": false
10081
+ },
10082
+ "cabinet": {
10083
+ "name": "cabinet",
10084
+ "type": "option",
10085
+ "char": "c",
10086
+ "description": "Cabinet the model and agent are deployed in.",
10087
+ "multiple": false
10088
+ },
10089
+ "silent": {
10090
+ "name": "silent",
10091
+ "type": "boolean",
10092
+ "description": "Executes without any user interaction; fails on missing or invalid arguments.",
10093
+ "allowNo": false,
10094
+ "exclusive": [
10095
+ "echo",
10096
+ "to-script"
10097
+ ]
10098
+ },
10099
+ "echo": {
10100
+ "name": "echo",
10101
+ "type": "boolean",
10102
+ "description": "Renders the equivalent non-interactive command for future use before executing.",
10103
+ "allowNo": false,
10104
+ "exclusive": [
10105
+ "to-script",
10106
+ "silent"
10107
+ ]
10108
+ },
10109
+ "to-script": {
10110
+ "name": "to-script",
10111
+ "type": "boolean",
10112
+ "description": "Renders the equivalent non-interactive command without executing it.",
10113
+ "allowNo": false,
10114
+ "exclusive": [
10115
+ "echo",
10116
+ "silent"
10117
+ ]
10118
+ }
10119
+ },
10120
+ "args": {}
10121
+ },
10122
+ "ai:model:install": {
10123
+ "id": "ai:model:install",
10124
+ "description": "Provisions a private LLM into an enterprise cabinet — either an in-cluster (ClusterIP-only) catalog model served via Ollama, or a registered bring-your-own OpenAI-compatible endpoint.",
10125
+ "strict": true,
10126
+ "pluginName": "@codiac.io/codiac-cli",
10127
+ "pluginAlias": "@codiac.io/codiac-cli",
10128
+ "pluginType": "core",
10129
+ "aliases": [],
10130
+ "hiddenAliases": [],
10131
+ "examples": [
10132
+ {
10133
+ "description": "Serve the Qwen3 catalog model (CPU) into the dev cabinet of the ben enterprise.",
10134
+ "command": "<%= config.bin %> <%= command.id %> -e ben --source served -m qwen3 --runtime cpu -c dev"
10135
+ },
10136
+ {
10137
+ "description": "Non-interactive (scripted) served install; a served model needs both --model and --runtime.",
10138
+ "command": "<%= config.bin %> <%= command.id %> -e ben --source served -m qwen3 --runtime cpu -c dev --attach none --silent"
10139
+ },
10140
+ {
10141
+ "description": "Register a BYO OpenAI-compatible endpoint and attach it to an existing agent.",
10142
+ "command": "<%= config.bin %> <%= command.id %> -e ben --source byo --base-url https://host/v1 --key sk-... -c dev --attach existing --agent hermes-agent --silent"
10143
+ },
10144
+ {
10145
+ "description": "Renders the equivalent silent command and then executes.",
10146
+ "command": "<%= config.bin %> <%= command.id %> -e ben --source served -m qwen3 --runtime cpu -c dev --echo"
10147
+ },
10148
+ {
10149
+ "description": "Renders the equivalent silent command without executing.",
10150
+ "command": "<%= config.bin %> <%= command.id %> -e ben --source served -m qwen3 --runtime cpu -c dev --to-script"
10151
+ }
10152
+ ],
10153
+ "flags": {
10154
+ "help": {
10155
+ "name": "help",
10156
+ "type": "boolean",
10157
+ "char": "h",
10158
+ "description": "Show CLI help.",
10159
+ "allowNo": false
10160
+ },
10161
+ "enterpriseCode": {
10162
+ "name": "enterpriseCode",
10163
+ "type": "option",
10164
+ "char": "e",
10165
+ "description": "Code name identifying the target enterprise.",
10166
+ "required": false,
10167
+ "multiple": false
10168
+ },
10169
+ "source": {
10170
+ "name": "source",
10171
+ "type": "option",
10172
+ "description": "Serve a license-clean catalog model in-cluster (served) or register an external OpenAI-compatible endpoint (byo).",
10173
+ "multiple": false,
10174
+ "options": [
10175
+ "served",
10176
+ "byo"
10177
+ ]
10178
+ },
10179
+ "model": {
10180
+ "name": "model",
10181
+ "type": "option",
10182
+ "char": "m",
10183
+ "description": "Catalog model kind to serve when --source served (one of: qwen3, gpt-oss, glm, deepseek-r1).",
10184
+ "multiple": false
10185
+ },
10186
+ "runtime": {
10187
+ "name": "runtime",
10188
+ "type": "option",
10189
+ "description": "Compute tier for a served model: cpu-only, or scheduled onto a GPU node pool.",
10190
+ "multiple": false,
10191
+ "options": [
10192
+ "cpu",
10193
+ "gpu"
10194
+ ]
10195
+ },
10196
+ "base-url": {
10197
+ "name": "base-url",
10198
+ "type": "option",
10199
+ "description": "OpenAI-compatible base URL of the endpoint to register when --source byo (e.g. https://host/v1).",
10200
+ "multiple": false
10201
+ },
10202
+ "key": {
10203
+ "name": "key",
10204
+ "type": "option",
10205
+ "description": "API key for the BYO endpoint (prompted as a secret during install when omitted; stored server-side as a secret).",
10206
+ "multiple": false
10207
+ },
10208
+ "cabinet": {
10209
+ "name": "cabinet",
10210
+ "type": "option",
10211
+ "char": "c",
10212
+ "description": "Cabinet (environment) the model is deployed into (served) or registered against (byo).",
10213
+ "multiple": false
10214
+ },
10215
+ "name": {
10216
+ "name": "name",
10217
+ "type": "option",
10218
+ "char": "n",
10219
+ "description": "Handle for the model workload (server-assigns a default when omitted).",
10220
+ "multiple": false
10221
+ },
10222
+ "attach": {
10223
+ "name": "attach",
10224
+ "type": "option",
10225
+ "description": "Wire the model to an agent once ready: attach to an existing agent, install a new one, or neither (defaults to none).",
10226
+ "multiple": false,
10227
+ "options": [
10228
+ "existing",
10229
+ "new",
10230
+ "none"
10231
+ ]
10232
+ },
10233
+ "agent": {
10234
+ "name": "agent",
10235
+ "type": "option",
10236
+ "description": "Name of the already-installed agent to wire the model into (required with --attach existing).",
10237
+ "multiple": false
10238
+ },
10239
+ "framework": {
10240
+ "name": "framework",
10241
+ "type": "option",
10242
+ "description": "Agent framework to install and wire to the model (required with --attach new).",
10243
+ "multiple": false
10244
+ },
10245
+ "input": {
10246
+ "name": "input",
10247
+ "type": "option",
10248
+ "description": "Pre-supply a needs_action input as key=value (repeatable), e.g. --input skipReachabilityCheck=true . Lets --silent/headless runs resolve secret/decision prompts without interaction.",
10249
+ "multiple": true
10250
+ },
10251
+ "take-defaults": {
10252
+ "name": "take-defaults",
10253
+ "type": "boolean",
10254
+ "description": "Prevents prompting for confirmation on parameters that were passed in or were automatically set to default values (Irrelevant in --silent mode). This behavior does NOT apply to scenarios where the command needs to override invalid user input; such cases will always prompt for confirmation.",
10255
+ "allowNo": false,
10256
+ "exclusive": [
10257
+ "silent"
10258
+ ]
10259
+ },
10260
+ "silent": {
10261
+ "name": "silent",
10262
+ "type": "boolean",
10263
+ "description": "Executes without any user interaction; fails on missing or invalid arguments.",
10264
+ "allowNo": false,
10265
+ "exclusive": [
10266
+ "echo",
10267
+ "to-script"
10268
+ ]
10269
+ },
10270
+ "echo": {
10271
+ "name": "echo",
10272
+ "type": "boolean",
10273
+ "description": "Renders the equivalent non-interactive command for future use before executing.",
10274
+ "allowNo": false,
10275
+ "exclusive": [
10276
+ "to-script",
10277
+ "silent"
10278
+ ]
10279
+ },
10280
+ "to-script": {
10281
+ "name": "to-script",
10282
+ "type": "boolean",
10283
+ "description": "Renders the equivalent non-interactive command without executing it.",
10284
+ "allowNo": false,
10285
+ "exclusive": [
10286
+ "echo",
10287
+ "silent"
10288
+ ]
10289
+ }
10290
+ },
10291
+ "args": {}
10292
+ },
10293
+ "ai:model:list": {
10294
+ "id": "ai:model:list",
10295
+ "description": "Lists the private models provisioned for an enterprise — both in-cluster (served) catalog models and registered bring-your-own (BYO) OpenAI-compatible endpoints.",
10296
+ "strict": true,
10297
+ "pluginName": "@codiac.io/codiac-cli",
10298
+ "pluginAlias": "@codiac.io/codiac-cli",
10299
+ "pluginType": "core",
10300
+ "aliases": [
10301
+ "ai:model:ls"
10302
+ ],
10303
+ "hiddenAliases": [],
10304
+ "examples": [
10305
+ {
10306
+ "description": "Simple listing for an enterprise.",
10307
+ "command": "<%= config.bin %> <%= command.id %> -e ben"
10308
+ },
10309
+ {
10310
+ "description": "Only the models in one cabinet.",
10311
+ "command": "<%= config.bin %> <%= command.id %> -e ben -c dev"
10312
+ },
10313
+ {
10314
+ "description": "Handles only.",
10315
+ "command": "<%= config.bin %> <%= command.id %> -e ben -q '[].handle'"
10316
+ },
10317
+ {
10318
+ "description": "Filter to served models.",
10319
+ "command": "<%= config.bin %> <%= command.id %> -e ben -q \"[?mode == 'served']\""
10320
+ },
10321
+ {
10322
+ "description": "Export as YAML.",
10323
+ "command": "<%= config.bin %> <%= command.id %> -e ben -o yaml"
10324
+ },
10325
+ {
10326
+ "description": "Non-interactive invocation.",
10327
+ "command": "<%= config.bin %> <%= command.id %> -e ben --silent"
10328
+ }
10329
+ ],
10330
+ "flags": {
10331
+ "help": {
10332
+ "name": "help",
10333
+ "type": "boolean",
10334
+ "char": "h",
10335
+ "description": "Show CLI help.",
10336
+ "allowNo": false
10337
+ },
10338
+ "enterpriseCode": {
10339
+ "name": "enterpriseCode",
10340
+ "type": "option",
10341
+ "char": "e",
10342
+ "description": "Code name identifying the target enterprise.",
10343
+ "required": false,
10344
+ "multiple": false
10345
+ },
10346
+ "cabinet": {
10347
+ "name": "cabinet",
10348
+ "type": "option",
10349
+ "char": "c",
10350
+ "description": "Restrict the listing to one cabinet (also resolves served endpoints to that cabinet's in-cluster service DNS).",
10351
+ "multiple": false
10352
+ },
10353
+ "output": {
10354
+ "name": "output",
10355
+ "type": "option",
10356
+ "char": "o",
10357
+ "description": "Format in which to render the results.",
10358
+ "multiple": false,
10359
+ "options": [
10360
+ "text",
10361
+ "tree",
10362
+ "json",
10363
+ "yaml",
10364
+ "tsv",
10365
+ "csv"
10366
+ ]
10367
+ },
10368
+ "query": {
10369
+ "name": "query",
10370
+ "type": "option",
10371
+ "char": "q",
10372
+ "description": "JMESPath expression to filter or reshape the results (see jmespath.org).",
10373
+ "multiple": false
10374
+ },
10375
+ "silent": {
10376
+ "name": "silent",
10377
+ "type": "boolean",
10378
+ "description": "Executes without any user interaction; fails on missing or invalid arguments.",
10379
+ "allowNo": false,
10380
+ "exclusive": [
10381
+ "echo",
10382
+ "to-script"
10383
+ ]
10384
+ },
10385
+ "echo": {
10386
+ "name": "echo",
10387
+ "type": "boolean",
10388
+ "description": "Renders the equivalent non-interactive command for future use before executing.",
10389
+ "allowNo": false,
10390
+ "exclusive": [
10391
+ "to-script",
10392
+ "silent"
10393
+ ]
10394
+ },
10395
+ "to-script": {
10396
+ "name": "to-script",
10397
+ "type": "boolean",
10398
+ "description": "Renders the equivalent non-interactive command without executing it.",
10399
+ "allowNo": false,
10400
+ "exclusive": [
10401
+ "echo",
10402
+ "silent"
10403
+ ]
10404
+ }
10405
+ },
10406
+ "args": {}
10407
+ },
10408
+ "ai:model:uninstall": {
10409
+ "id": "ai:model:uninstall",
10410
+ "description": "Removes a provisioned model. A served (in-cluster) model is undeployed from its cabinet (its asset is destroyed); BYO endpoints are not yet removable here.",
10411
+ "strict": true,
10412
+ "pluginName": "@codiac.io/codiac-cli",
10413
+ "pluginAlias": "@codiac.io/codiac-cli",
10414
+ "pluginType": "core",
10415
+ "aliases": [
10416
+ "ai:model:remove"
10417
+ ],
10418
+ "hiddenAliases": [],
10419
+ "examples": [
10420
+ {
10421
+ "description": "Undeploy the served qwen3-dev model from the dev cabinet.",
10422
+ "command": "<%= config.bin %> <%= command.id %> -e ben -m qwen3-dev -c dev"
10423
+ },
10424
+ {
10425
+ "description": "Non-interactive (scripted) invocation.",
10426
+ "command": "<%= config.bin %> <%= command.id %> -e ben -m qwen3-dev -c dev --silent"
10427
+ }
10428
+ ],
10429
+ "flags": {
10430
+ "help": {
10431
+ "name": "help",
10432
+ "type": "boolean",
10433
+ "char": "h",
10434
+ "description": "Show CLI help.",
10435
+ "allowNo": false
10436
+ },
10437
+ "enterpriseCode": {
10438
+ "name": "enterpriseCode",
10439
+ "type": "option",
10440
+ "char": "e",
10441
+ "description": "Code name identifying the target enterprise.",
10442
+ "required": false,
10443
+ "multiple": false
10444
+ },
10445
+ "model": {
10446
+ "name": "model",
10447
+ "type": "option",
10448
+ "char": "m",
10449
+ "description": "Handle of the model to remove.",
10450
+ "multiple": false
10451
+ },
10452
+ "cabinet": {
10453
+ "name": "cabinet",
10454
+ "type": "option",
10455
+ "char": "c",
10456
+ "description": "Cabinet the model was deployed into (served) or registered against (byo).",
10457
+ "multiple": false
10458
+ },
10459
+ "silent": {
10460
+ "name": "silent",
10461
+ "type": "boolean",
10462
+ "description": "Executes without any user interaction; fails on missing or invalid arguments.",
10463
+ "allowNo": false,
10464
+ "exclusive": [
10465
+ "echo",
10466
+ "to-script"
10467
+ ]
10468
+ },
10469
+ "echo": {
10470
+ "name": "echo",
10471
+ "type": "boolean",
10472
+ "description": "Renders the equivalent non-interactive command for future use before executing.",
10473
+ "allowNo": false,
10474
+ "exclusive": [
10475
+ "to-script",
10476
+ "silent"
10477
+ ]
10478
+ },
10479
+ "to-script": {
10480
+ "name": "to-script",
10481
+ "type": "boolean",
10482
+ "description": "Renders the equivalent non-interactive command without executing it.",
10483
+ "allowNo": false,
10484
+ "exclusive": [
10485
+ "echo",
10486
+ "silent"
10487
+ ]
10488
+ }
10489
+ },
10490
+ "args": {}
10491
+ },
10492
+ "ai:model:view": {
10493
+ "id": "ai:model:view",
10494
+ "description": "Shows the details of a single provisioned model (served or BYO) by its handle.",
10495
+ "strict": true,
10496
+ "pluginName": "@codiac.io/codiac-cli",
10497
+ "pluginAlias": "@codiac.io/codiac-cli",
10498
+ "pluginType": "core",
10499
+ "aliases": [],
10500
+ "hiddenAliases": [],
10501
+ "examples": [
10502
+ {
10503
+ "description": "View a model by handle.",
10504
+ "command": "<%= config.bin %> <%= command.id %> -e ben -m qwen3-dev"
10505
+ },
10506
+ {
10507
+ "description": "View as JSON.",
10508
+ "command": "<%= config.bin %> <%= command.id %> -e ben -m qwen3-dev -o json"
10509
+ },
10510
+ {
10511
+ "description": "Just the endpoint.",
10512
+ "command": "<%= config.bin %> <%= command.id %> -e ben -m qwen3-dev -q endpoint"
10513
+ },
10514
+ {
10515
+ "description": "Non-interactive invocation.",
10516
+ "command": "<%= config.bin %> <%= command.id %> -e ben -m qwen3-dev --silent"
10517
+ }
10518
+ ],
10519
+ "flags": {
10520
+ "help": {
10521
+ "name": "help",
10522
+ "type": "boolean",
10523
+ "char": "h",
10524
+ "description": "Show CLI help.",
10525
+ "allowNo": false
10526
+ },
10527
+ "enterpriseCode": {
10528
+ "name": "enterpriseCode",
10529
+ "type": "option",
10530
+ "char": "e",
10531
+ "description": "Code name identifying the target enterprise.",
10532
+ "required": false,
10533
+ "multiple": false
10534
+ },
10535
+ "model": {
10536
+ "name": "model",
10537
+ "type": "option",
10538
+ "char": "m",
10539
+ "description": "Handle of the model to view.",
10540
+ "multiple": false
10541
+ },
10542
+ "cabinet": {
10543
+ "name": "cabinet",
10544
+ "type": "option",
10545
+ "char": "c",
10546
+ "description": "Cabinet the model lives in (resolves a served endpoint to that cabinet's in-cluster service DNS).",
10547
+ "multiple": false
10548
+ },
10549
+ "output": {
10550
+ "name": "output",
10551
+ "type": "option",
10552
+ "char": "o",
10553
+ "description": "Format in which to render the result.",
10554
+ "multiple": false,
10555
+ "options": [
10556
+ "text",
10557
+ "json",
10558
+ "yaml"
10559
+ ]
10560
+ },
10561
+ "query": {
10562
+ "name": "query",
10563
+ "type": "option",
10564
+ "char": "q",
10565
+ "description": "JMESPath expression to reshape the result (see jmespath.org).",
10566
+ "multiple": false
10567
+ },
10568
+ "silent": {
10569
+ "name": "silent",
10570
+ "type": "boolean",
10571
+ "description": "Executes without any user interaction; fails on missing or invalid arguments.",
10572
+ "allowNo": false,
10573
+ "exclusive": [
10574
+ "echo",
10575
+ "to-script"
10576
+ ]
10577
+ },
10578
+ "echo": {
10579
+ "name": "echo",
10580
+ "type": "boolean",
10581
+ "description": "Renders the equivalent non-interactive command for future use before executing.",
10582
+ "allowNo": false,
10583
+ "exclusive": [
10584
+ "to-script",
10585
+ "silent"
10586
+ ]
10587
+ },
10588
+ "to-script": {
10589
+ "name": "to-script",
10590
+ "type": "boolean",
10591
+ "description": "Renders the equivalent non-interactive command without executing it.",
10592
+ "allowNo": false,
10593
+ "exclusive": [
10594
+ "echo",
10595
+ "silent"
10596
+ ]
10597
+ }
10598
+ },
10599
+ "args": {}
10600
+ },
9932
10601
  "asset:entrypoint:delete": {
9933
10602
  "id": "asset:entrypoint:delete",
9934
10603
  "description": "Removes an existing override of the image startup command for this asset (restores the original ENTRYPOINT set in the image itself, as well as any image elements specified using CMD)).",