licos-dev-cli 0.2.4__tar.gz → 0.2.6__tar.gz

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.
@@ -17,10 +17,10 @@ packages/*/dist/
17
17
  .DS_Store
18
18
  Thumbs.db
19
19
 
20
- # Environment
21
- .env
22
- .env.local
23
- crates/industrial/industrial-stack.env
20
+ # Environment
21
+ .env
22
+ .env.local
23
+ crates/industrial/industrial-stack.env
24
24
 
25
25
  # Workspace
26
26
  /workspace/
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: licos-dev-cli
3
- Version: 0.2.4
3
+ Version: 0.2.6
4
4
  Summary: LICOS Dev CLI - generate files and call model capabilities
5
5
  Requires-Python: >=3.10
6
6
  Requires-Dist: click>=8.1
7
- Requires-Dist: licos-dev-sdk>=0.2.5
7
+ Requires-Dist: licos-dev-sdk>=0.2.7
@@ -4,11 +4,11 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "licos-dev-cli"
7
- version = "0.2.4"
7
+ version = "0.2.6"
8
8
  description = "LICOS Dev CLI - generate files and call model capabilities"
9
9
  requires-python = ">=3.10"
10
10
  dependencies = [
11
- "licos-dev-sdk>=0.2.5",
11
+ "licos-dev-sdk>=0.2.7",
12
12
  "click>=8.1",
13
13
  ]
14
14
 
@@ -300,11 +300,25 @@ def html_cmd(input_path, content, filename, output_dir, content_type):
300
300
 
301
301
  @cli.command("model-catalog")
302
302
  @click.option("--refresh", is_flag=True, help="Bypass local catalog cache")
303
- def model_catalog(refresh):
303
+ @click.option("--workspace-id", default=None, help="Workspace id; defaults to runtime workspace")
304
+ @click.option("--input-capabilities", default=None, help="Optional input capabilities filter, for example text or image")
305
+ @click.option(
306
+ "--category-code",
307
+ default="llm",
308
+ help="Model category code, for example llm, vision_llm, image_generation",
309
+ )
310
+ def model_catalog(refresh, workspace_id, input_capabilities, category_code):
304
311
  """Print platform model capability catalog."""
305
312
  from licos_dev_sdk import fetch_model_catalogs
306
313
 
307
- _echo_json(fetch_model_catalogs(refresh=refresh))
314
+ _echo_json(
315
+ fetch_model_catalogs(
316
+ refresh=refresh,
317
+ workspace_id=workspace_id,
318
+ category_code=category_code,
319
+ input_capabilities=input_capabilities,
320
+ )
321
+ )
308
322
 
309
323
 
310
324
  # ── LLM ──────────────────────────────────────────────────────────────────────
@@ -456,10 +470,11 @@ def video_generation_group():
456
470
  @click.option("-p", "--prompt")
457
471
  @click.option("--image-url", default=None)
458
472
  @click.option("--model", default=None)
473
+ @click.option("--input-capabilities", default=None, help="Override video model input filter: text or image")
459
474
  @click.option("--parameters", default=None, help="Parameters JSON object")
460
475
  @click.option("--raw-request", default=None, help="Raw JSON request body")
461
476
  @click.option("--no-wait", is_flag=True, help="Return submit response without polling async tasks")
462
- def video_generate(prompt, image_url, model, parameters, raw_request, no_wait):
477
+ def video_generate(prompt, image_url, model, input_capabilities, parameters, raw_request, no_wait):
463
478
  """Generate a video from a text prompt and optional first-frame image."""
464
479
  from licos_dev_sdk import VideoGenerationClient
465
480
 
@@ -475,6 +490,7 @@ def video_generate(prompt, image_url, model, parameters, raw_request, no_wait):
475
490
  prompt or "",
476
491
  image_url=image_url,
477
492
  model=model,
493
+ input_capabilities=input_capabilities,
478
494
  parameters=parameter_payload,
479
495
  raw_request=raw_payload,
480
496
  wait=not no_wait,