current-cli 0.1.66__tar.gz → 0.1.67__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: current-cli
3
- Version: 0.1.66
3
+ Version: 0.1.67
4
4
  Summary: Command line interface for the Current API, generated from its OpenAPI schema at runtime
5
5
  Author-email: Orin <your-email@example.com>
6
6
  License-Expression: MIT
@@ -4736,6 +4736,39 @@ paths:
4736
4736
  schema:
4737
4737
  $ref: '#/components/schemas/WorkflowRun'
4738
4738
  description: ''
4739
+ /api/workflows/runs/{run_id}/checkpoints/:
4740
+ post:
4741
+ operationId: workflows_runs_checkpoints_create
4742
+ parameters:
4743
+ - in: path
4744
+ name: run_id
4745
+ schema:
4746
+ type: string
4747
+ format: uuid
4748
+ required: true
4749
+ tags:
4750
+ - workflows
4751
+ requestBody:
4752
+ content:
4753
+ application/json:
4754
+ schema:
4755
+ $ref: '#/components/schemas/CheckpointRequestRequest'
4756
+ application/x-www-form-urlencoded:
4757
+ schema:
4758
+ $ref: '#/components/schemas/CheckpointRequestRequest'
4759
+ multipart/form-data:
4760
+ schema:
4761
+ $ref: '#/components/schemas/CheckpointRequestRequest'
4762
+ required: true
4763
+ security:
4764
+ - RunTokenAuth: []
4765
+ responses:
4766
+ '200':
4767
+ content:
4768
+ application/json:
4769
+ schema:
4770
+ $ref: '#/components/schemas/CheckpointResponse'
4771
+ description: ''
4739
4772
  /api/workflows/runs/{run_id}/complete/:
4740
4773
  post:
4741
4774
  operationId: workflows_runs_complete_create
@@ -4887,6 +4920,39 @@ paths:
4887
4920
  schema:
4888
4921
  $ref: '#/components/schemas/PromoteResponse'
4889
4922
  description: ''
4923
+ /api/workflows/runs/{run_id}/model-gate/:
4924
+ post:
4925
+ operationId: workflows_runs_model_gate_create
4926
+ parameters:
4927
+ - in: path
4928
+ name: run_id
4929
+ schema:
4930
+ type: string
4931
+ format: uuid
4932
+ required: true
4933
+ tags:
4934
+ - workflows
4935
+ requestBody:
4936
+ content:
4937
+ application/json:
4938
+ schema:
4939
+ $ref: '#/components/schemas/GateRequestRequest'
4940
+ application/x-www-form-urlencoded:
4941
+ schema:
4942
+ $ref: '#/components/schemas/GateRequestRequest'
4943
+ multipart/form-data:
4944
+ schema:
4945
+ $ref: '#/components/schemas/GateRequestRequest'
4946
+ required: true
4947
+ security:
4948
+ - RunTokenAuth: []
4949
+ responses:
4950
+ '200':
4951
+ content:
4952
+ application/json:
4953
+ schema:
4954
+ $ref: '#/components/schemas/GateResponse'
4955
+ description: ''
4890
4956
  /api/workflows/runs/{run_id}/models/snapshots/:
4891
4957
  get:
4892
4958
  operationId: workflows_runs_models_snapshots_retrieve
@@ -5997,6 +6063,28 @@ components:
5997
6063
  minLength: 1
5998
6064
  required:
5999
6065
  - account_id
6066
+ CheckpointRequestRequest:
6067
+ type: object
6068
+ properties:
6069
+ namespace:
6070
+ type: string
6071
+ minLength: 1
6072
+ pattern: ^[a-z0-9][a-z0-9._-]{0,63}$
6073
+ fingerprint:
6074
+ type: string
6075
+ minLength: 1
6076
+ pattern: ^[a-f0-9]{64}$
6077
+ payload: {}
6078
+ required:
6079
+ - fingerprint
6080
+ - namespace
6081
+ CheckpointResponse:
6082
+ type: object
6083
+ properties:
6084
+ payload:
6085
+ nullable: true
6086
+ required:
6087
+ - payload
6000
6088
  ClientCredentialsConnectRequestRequest:
6001
6089
  type: object
6002
6090
  description: |-
@@ -7351,6 +7439,32 @@ components:
7351
7439
  type: string
7352
7440
  required:
7353
7441
  - detail
7442
+ GateRequestRequest:
7443
+ type: object
7444
+ properties:
7445
+ model:
7446
+ type: string
7447
+ minLength: 1
7448
+ maxLength: 200
7449
+ cooldown:
7450
+ type: number
7451
+ format: double
7452
+ maximum: 86400
7453
+ minimum: 0
7454
+ default: 0.0
7455
+ required:
7456
+ - model
7457
+ GateResponse:
7458
+ type: object
7459
+ properties:
7460
+ granted:
7461
+ type: boolean
7462
+ wait_seconds:
7463
+ type: number
7464
+ format: double
7465
+ required:
7466
+ - granted
7467
+ - wait_seconds
7354
7468
  InboxRoleEnum:
7355
7469
  enum:
7356
7470
  - interaction
@@ -1514,6 +1514,13 @@ while dispatch keeps working on it.
1514
1514
 
1515
1515
  POST /api/workflows/runs/{id}/archive/
1516
1516
 
1517
+ ### current workflows runs checkpoints create <run_id>
1518
+
1519
+ POST /api/workflows/runs/{run_id}/checkpoints/
1520
+
1521
+ Options:
1522
+ - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
1523
+
1517
1524
  ### current workflows runs complete create <run_id>
1518
1525
 
1519
1526
  Machine endpoint: the runner reports the run's terminal outcome —
@@ -1586,6 +1593,13 @@ Options:
1586
1593
  - `--workflow` - Filter by workflow UUID
1587
1594
  - `--workspace` - Filter by workspace UUID
1588
1595
 
1596
+ ### current workflows runs model-gate create <run_id>
1597
+
1598
+ POST /api/workflows/runs/{run_id}/model-gate/
1599
+
1600
+ Options:
1601
+ - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
1602
+
1589
1603
  ### current workflows runs models snapshots retrieve <run_id>
1590
1604
 
1591
1605
  GET /api/workflows/runs/{run_id}/models/snapshots/
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "current-cli"
3
- version = "0.1.66"
3
+ version = "0.1.67"
4
4
  description = "Command line interface for the Current API, generated from its OpenAPI schema at runtime"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
File without changes
File without changes