current-cli 0.1.76__tar.gz → 0.1.78__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.76
3
+ Version: 0.1.78
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
@@ -859,6 +859,33 @@ paths:
859
859
  schema:
860
860
  $ref: '#/components/schemas/FileListResponse'
861
861
  description: ''
862
+ /api/files/complete/:
863
+ post:
864
+ operationId: files_complete
865
+ tags:
866
+ - files
867
+ requestBody:
868
+ content:
869
+ application/json:
870
+ schema:
871
+ $ref: '#/components/schemas/FileCompletionRequestRequest'
872
+ application/x-www-form-urlencoded:
873
+ schema:
874
+ $ref: '#/components/schemas/FileCompletionRequestRequest'
875
+ multipart/form-data:
876
+ schema:
877
+ $ref: '#/components/schemas/FileCompletionRequestRequest'
878
+ required: true
879
+ security:
880
+ - MessagingJobTokenAuth: []
881
+ - tokenAuth: []
882
+ responses:
883
+ '200':
884
+ content:
885
+ application/json:
886
+ schema:
887
+ $ref: '#/components/schemas/FileCompletionResponse'
888
+ description: ''
862
889
  /api/files/delete/:
863
890
  post:
864
891
  operationId: files_delete
@@ -1028,7 +1055,7 @@ paths:
1028
1055
  content:
1029
1056
  application/json:
1030
1057
  schema:
1031
- $ref: '#/components/schemas/FileUrlResponse'
1058
+ $ref: '#/components/schemas/FileUploadResponse'
1032
1059
  description: ''
1033
1060
  /api/inboxes/inboxes/:
1034
1061
  get:
@@ -4960,6 +4987,32 @@ paths:
4960
4987
  schema:
4961
4988
  $ref: '#/components/schemas/WorkflowRun'
4962
4989
  description: ''
4990
+ /api/workflows/runs/{id}/artifact-evidence/:
4991
+ get:
4992
+ operationId: workflows_runs_artifact_evidence_retrieve
4993
+ description: Read generated artifact verification and associated Teams delivery
4994
+ states. Missing historical associations remain unknown.
4995
+ parameters:
4996
+ - in: path
4997
+ name: id
4998
+ schema:
4999
+ type: string
5000
+ format: uuid
5001
+ description: A UUID string identifying this workflow run.
5002
+ required: true
5003
+ tags:
5004
+ - workflows
5005
+ security:
5006
+ - MessagingJobTokenAuth: []
5007
+ - tokenAuth: []
5008
+ responses:
5009
+ '200':
5010
+ content:
5011
+ application/json:
5012
+ schema:
5013
+ type: object
5014
+ additionalProperties: {}
5015
+ description: ''
4963
5016
  /api/workflows/runs/{id}/unarchive/:
4964
5017
  post:
4965
5018
  operationId: workflows_runs_unarchive_create
@@ -5522,6 +5575,41 @@ paths:
5522
5575
  responses:
5523
5576
  '204':
5524
5577
  description: No response body
5578
+ /api/workflows/workflows/{id}/file-evaluations/:
5579
+ get:
5580
+ operationId: workflows_workflows_file_evaluations_retrieve
5581
+ description: |-
5582
+ Workflows (actions) across the caller's workspaces. Any member can
5583
+ read; only admins can create, edit (including enable/disable), or
5584
+ delete a binding.
5585
+ parameters:
5586
+ - in: path
5587
+ name: id
5588
+ schema:
5589
+ type: string
5590
+ format: uuid
5591
+ description: A UUID string identifying this workflow.
5592
+ required: true
5593
+ - in: query
5594
+ name: limit
5595
+ schema:
5596
+ type: integer
5597
+ - in: query
5598
+ name: offset
5599
+ schema:
5600
+ type: integer
5601
+ tags:
5602
+ - workflows
5603
+ security:
5604
+ - MessagingJobTokenAuth: []
5605
+ - tokenAuth: []
5606
+ responses:
5607
+ '200':
5608
+ content:
5609
+ application/json:
5610
+ schema:
5611
+ $ref: '#/components/schemas/FileTriggerEvaluationListResponse'
5612
+ description: ''
5525
5613
  /api/workflows/workflows/compile-condition/:
5526
5614
  post:
5527
5615
  operationId: workflows_workflows_compile_condition_create
@@ -5756,6 +5844,55 @@ paths:
5756
5844
  schema:
5757
5845
  $ref: '#/components/schemas/WorkspaceModelSnapshot'
5758
5846
  description: ''
5847
+ /api/workspaces/models/{id}/update-record/:
5848
+ post:
5849
+ operationId: workspaces_models_update_record_create
5850
+ description: Discover and read models belonging to the caller's workspace.
5851
+ parameters:
5852
+ - in: path
5853
+ name: id
5854
+ schema:
5855
+ type: string
5856
+ format: uuid
5857
+ description: A UUID string identifying this workspace model.
5858
+ required: true
5859
+ - in: query
5860
+ name: rolled_out
5861
+ schema:
5862
+ type: boolean
5863
+ description: Only models with a binding while rollout is enabled. Always enforced
5864
+ for members.
5865
+ - in: query
5866
+ name: workspace
5867
+ schema:
5868
+ type: string
5869
+ format: uuid
5870
+ description: Filter to one readable workspace.
5871
+ tags:
5872
+ - workspaces
5873
+ requestBody:
5874
+ content:
5875
+ application/json:
5876
+ schema:
5877
+ $ref: '#/components/schemas/ModelRecordUpdateRequest'
5878
+ application/x-www-form-urlencoded:
5879
+ schema:
5880
+ $ref: '#/components/schemas/ModelRecordUpdateRequest'
5881
+ multipart/form-data:
5882
+ schema:
5883
+ $ref: '#/components/schemas/ModelRecordUpdateRequest'
5884
+ required: true
5885
+ security:
5886
+ - MessagingJobTokenAuth: []
5887
+ - tokenAuth: []
5888
+ responses:
5889
+ '200':
5890
+ content:
5891
+ application/json:
5892
+ schema:
5893
+ type: object
5894
+ additionalProperties: {}
5895
+ description: ''
5759
5896
  /api/workspaces/workspaces/:
5760
5897
  get:
5761
5898
  operationId: workspaces_workspaces_list
@@ -8006,6 +8143,25 @@ components:
8006
8143
  * `value` - value
8007
8144
  * `empty` - empty
8008
8145
  * `missing` - missing
8146
+ FileCompletionRequestRequest:
8147
+ type: object
8148
+ properties:
8149
+ workspace:
8150
+ type: string
8151
+ format: uuid
8152
+ completion_id:
8153
+ type: string
8154
+ format: uuid
8155
+ required:
8156
+ - completion_id
8157
+ - workspace
8158
+ FileCompletionResponse:
8159
+ type: object
8160
+ properties:
8161
+ recorded:
8162
+ type: boolean
8163
+ required:
8164
+ - recorded
8009
8165
  FileDeleteRequestRequest:
8010
8166
  type: object
8011
8167
  properties:
@@ -8068,6 +8224,89 @@ components:
8068
8224
  required:
8069
8225
  - path
8070
8226
  - workspace
8227
+ FileTriggerEvaluation:
8228
+ type: object
8229
+ properties:
8230
+ id:
8231
+ type: string
8232
+ format: uuid
8233
+ readOnly: true
8234
+ project:
8235
+ type: string
8236
+ format: uuid
8237
+ readOnly: true
8238
+ files:
8239
+ readOnly: true
8240
+ project_fields:
8241
+ readOnly: true
8242
+ condition:
8243
+ type: string
8244
+ readOnly: true
8245
+ outcome:
8246
+ type: string
8247
+ readOnly: true
8248
+ model:
8249
+ type: string
8250
+ readOnly: true
8251
+ probability:
8252
+ type: number
8253
+ format: double
8254
+ readOnly: true
8255
+ nullable: true
8256
+ fallback:
8257
+ type: string
8258
+ readOnly: true
8259
+ created_at:
8260
+ type: string
8261
+ format: date-time
8262
+ readOnly: true
8263
+ run:
8264
+ type: string
8265
+ format: uuid
8266
+ readOnly: true
8267
+ nullable: true
8268
+ required:
8269
+ - condition
8270
+ - created_at
8271
+ - fallback
8272
+ - files
8273
+ - id
8274
+ - model
8275
+ - outcome
8276
+ - probability
8277
+ - project
8278
+ - project_fields
8279
+ - run
8280
+ FileTriggerEvaluationListResponse:
8281
+ type: object
8282
+ properties:
8283
+ items:
8284
+ type: array
8285
+ items:
8286
+ $ref: '#/components/schemas/FileTriggerEvaluation'
8287
+ total:
8288
+ type: integer
8289
+ next_offset:
8290
+ type: integer
8291
+ nullable: true
8292
+ required:
8293
+ - items
8294
+ - next_offset
8295
+ - total
8296
+ FileUploadResponse:
8297
+ type: object
8298
+ properties:
8299
+ url:
8300
+ type: string
8301
+ path:
8302
+ type: string
8303
+ completion_id:
8304
+ type: string
8305
+ format: uuid
8306
+ required:
8307
+ - completion_id
8308
+ - path
8309
+ - url
8071
8310
  FileUrlResponse:
8072
8311
  type: object
8073
8312
  properties:
@@ -9013,6 +9252,35 @@ components:
9013
9252
  required:
9014
9253
  - paths
9015
9254
  - project
9255
+ ModelRecordUpdateRequest:
9256
+ type: object
9257
+ properties:
9258
+ model_id:
9259
+ type: string
9260
+ format: uuid
9261
+ record_key:
9262
+ type: string
9263
+ minLength: 1
9264
+ maxLength: 255
9265
+ values:
9266
+ type: object
9267
+ additionalProperties: {}
9268
+ expected_revision:
9269
+ type: string
9270
+ format: uuid
9271
+ idempotency_key:
9272
+ type: string
9273
+ minLength: 1
9274
+ maxLength: 128
9275
+ create_if_missing:
9276
+ type: boolean
9277
+ default: false
9278
+ required:
9279
+ - expected_revision
9280
+ - idempotency_key
9281
+ - model_id
9282
+ - record_key
9283
+ - values
9016
9284
  ModelSnapshotsResponse:
9017
9285
  type: object
9018
9286
  properties:
@@ -10370,6 +10638,7 @@ components:
10370
10638
  type: array
10371
10639
  items:
10372
10640
  $ref: '#/components/schemas/StepState'
10641
+ prior_artifacts: {}
10373
10642
  trigger:
10374
10643
  nullable: true
10375
10644
  clock:
@@ -10428,6 +10697,15 @@ components:
10428
10697
  type: array
10429
10698
  items:
10430
10699
  type: string
10700
+ file_changes:
10701
+ type: array
10702
+ items:
10703
+ type: object
10704
+ additionalProperties: {}
10705
+ decision:
10706
+ nullable: true
10707
+ condition:
10708
+ type: string
10431
10709
  batch:
10432
10710
  allOf:
10433
10711
  - $ref: '#/components/schemas/RunTriggerBatch'
@@ -10438,7 +10716,10 @@ components:
10438
10716
  $ref: '#/components/schemas/RunTriggerObservation'
10439
10717
  required:
10440
10718
  - batch
10719
+ - condition
10441
10720
  - conversation_key
10721
+ - decision
10722
+ - file_changes
10442
10723
  - files
10443
10724
  - kind
10444
10725
  - note
@@ -11409,6 +11690,7 @@ components:
11409
11690
  - project_created
11410
11691
  - project_status_changed
11411
11692
  - project_field
11693
+ - project_files_changed
11412
11694
  - email_received
11413
11695
  type: string
11414
11696
  description: |-
@@ -11417,6 +11699,7 @@ components:
11417
11699
  * `project_created` - Project created
11418
11700
  * `project_status_changed` - Project status changed
11419
11701
  * `project_field` - Project field
11702
+ * `project_files_changed` - Project files changed
11420
11703
  * `email_received` - Email received
11421
11704
  Turn:
11422
11705
  type: object
@@ -283,6 +283,13 @@ Options:
283
283
 
284
284
  Print a markdown reference of every command, for LLMs and humans.
285
285
 
286
+ ### current files complete post
287
+
288
+ POST /api/files/complete/
289
+
290
+ Options:
291
+ - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
292
+
286
293
  ### current files delete post
287
294
 
288
295
  Delete workspace files. The bucket is versioned, so this writes
@@ -1535,6 +1542,18 @@ delete a binding.
1535
1542
 
1536
1543
  DELETE /api/workflows/workflows/{id}/
1537
1544
 
1545
+ ### current workflows file-evaluations retrieve <id>
1546
+
1547
+ Workflows (actions) across the caller's workspaces. Any member can
1548
+ read; only admins can create, edit (including enable/disable), or
1549
+ delete a binding.
1550
+
1551
+ GET /api/workflows/workflows/{id}/file-evaluations/
1552
+
1553
+ Options:
1554
+ - `--limit`
1555
+ - `--offset`
1556
+
1538
1557
  ### current workflows list
1539
1558
 
1540
1559
  Workflows (actions) across the caller's workspaces. Any member can
@@ -1573,6 +1592,12 @@ while dispatch keeps working on it.
1573
1592
 
1574
1593
  POST /api/workflows/runs/{id}/archive/
1575
1594
 
1595
+ ### current workflows runs artifact-evidence retrieve <id>
1596
+
1597
+ Read generated artifact verification and associated Teams delivery states. Missing historical associations remain unknown.
1598
+
1599
+ GET /api/workflows/runs/{id}/artifact-evidence/
1600
+
1576
1601
  ### current workflows runs checkpoints create <run_id>
1577
1602
 
1578
1603
  POST /api/workflows/runs/{run_id}/checkpoints/
@@ -1854,6 +1879,17 @@ Options:
1854
1879
  - `--rolled-out` - Only models with a binding while rollout is enabled. Always enforced for members.
1855
1880
  - `--workspace` - Filter to one readable workspace.
1856
1881
 
1882
+ ### current workspaces models update-record create <id>
1883
+
1884
+ Discover and read models belonging to the caller's workspace.
1885
+
1886
+ POST /api/workspaces/models/{id}/update-record/
1887
+
1888
+ Options:
1889
+ - `--rolled-out` - Only models with a binding while rollout is enabled. Always enforced for members.
1890
+ - `--workspace` - Filter to one readable workspace.
1891
+ - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
1892
+
1857
1893
  ### current workspaces partial-update <id>
1858
1894
 
1859
1895
  Workspaces the current user belongs to. Creating one makes you its admin.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "current-cli"
3
- version = "0.1.76"
3
+ version = "0.1.78"
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