current-cli 0.1.75__tar.gz → 0.1.77__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.75
3
+ Version: 0.1.77
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:
@@ -5522,6 +5549,41 @@ paths:
5522
5549
  responses:
5523
5550
  '204':
5524
5551
  description: No response body
5552
+ /api/workflows/workflows/{id}/file-evaluations/:
5553
+ get:
5554
+ operationId: workflows_workflows_file_evaluations_retrieve
5555
+ description: |-
5556
+ Workflows (actions) across the caller's workspaces. Any member can
5557
+ read; only admins can create, edit (including enable/disable), or
5558
+ delete a binding.
5559
+ parameters:
5560
+ - in: path
5561
+ name: id
5562
+ schema:
5563
+ type: string
5564
+ format: uuid
5565
+ description: A UUID string identifying this workflow.
5566
+ required: true
5567
+ - in: query
5568
+ name: limit
5569
+ schema:
5570
+ type: integer
5571
+ - in: query
5572
+ name: offset
5573
+ schema:
5574
+ type: integer
5575
+ tags:
5576
+ - workflows
5577
+ security:
5578
+ - MessagingJobTokenAuth: []
5579
+ - tokenAuth: []
5580
+ responses:
5581
+ '200':
5582
+ content:
5583
+ application/json:
5584
+ schema:
5585
+ $ref: '#/components/schemas/FileTriggerEvaluationListResponse'
5586
+ description: ''
5525
5587
  /api/workflows/workflows/compile-condition/:
5526
5588
  post:
5527
5589
  operationId: workflows_workflows_compile_condition_create
@@ -8006,6 +8068,25 @@ components:
8006
8068
  * `value` - value
8007
8069
  * `empty` - empty
8008
8070
  * `missing` - missing
8071
+ FileCompletionRequestRequest:
8072
+ type: object
8073
+ properties:
8074
+ workspace:
8075
+ type: string
8076
+ format: uuid
8077
+ completion_id:
8078
+ type: string
8079
+ format: uuid
8080
+ required:
8081
+ - completion_id
8082
+ - workspace
8083
+ FileCompletionResponse:
8084
+ type: object
8085
+ properties:
8086
+ recorded:
8087
+ type: boolean
8088
+ required:
8089
+ - recorded
8009
8090
  FileDeleteRequestRequest:
8010
8091
  type: object
8011
8092
  properties:
@@ -8068,6 +8149,89 @@ components:
8068
8149
  required:
8069
8150
  - path
8070
8151
  - workspace
8152
+ FileTriggerEvaluation:
8153
+ type: object
8154
+ properties:
8155
+ id:
8156
+ type: string
8157
+ format: uuid
8158
+ readOnly: true
8159
+ project:
8160
+ type: string
8161
+ format: uuid
8162
+ readOnly: true
8163
+ files:
8164
+ readOnly: true
8165
+ project_fields:
8166
+ readOnly: true
8167
+ condition:
8168
+ type: string
8169
+ readOnly: true
8170
+ outcome:
8171
+ type: string
8172
+ readOnly: true
8173
+ model:
8174
+ type: string
8175
+ readOnly: true
8176
+ probability:
8177
+ type: number
8178
+ format: double
8179
+ readOnly: true
8180
+ nullable: true
8181
+ fallback:
8182
+ type: string
8183
+ readOnly: true
8184
+ created_at:
8185
+ type: string
8186
+ format: date-time
8187
+ readOnly: true
8188
+ run:
8189
+ type: string
8190
+ format: uuid
8191
+ readOnly: true
8192
+ nullable: true
8193
+ required:
8194
+ - condition
8195
+ - created_at
8196
+ - fallback
8197
+ - files
8198
+ - id
8199
+ - model
8200
+ - outcome
8201
+ - probability
8202
+ - project
8203
+ - project_fields
8204
+ - run
8205
+ FileTriggerEvaluationListResponse:
8206
+ type: object
8207
+ properties:
8208
+ items:
8209
+ type: array
8210
+ items:
8211
+ $ref: '#/components/schemas/FileTriggerEvaluation'
8212
+ total:
8213
+ type: integer
8214
+ next_offset:
8215
+ type: integer
8216
+ nullable: true
8217
+ required:
8218
+ - items
8219
+ - next_offset
8220
+ - total
8221
+ FileUploadResponse:
8222
+ type: object
8223
+ properties:
8224
+ url:
8225
+ type: string
8226
+ path:
8227
+ type: string
8228
+ completion_id:
8229
+ type: string
8230
+ format: uuid
8231
+ required:
8232
+ - completion_id
8233
+ - path
8234
+ - url
8071
8235
  FileUrlResponse:
8072
8236
  type: object
8073
8237
  properties:
@@ -10428,6 +10592,15 @@ components:
10428
10592
  type: array
10429
10593
  items:
10430
10594
  type: string
10595
+ file_changes:
10596
+ type: array
10597
+ items:
10598
+ type: object
10599
+ additionalProperties: {}
10600
+ decision:
10601
+ nullable: true
10602
+ condition:
10603
+ type: string
10431
10604
  batch:
10432
10605
  allOf:
10433
10606
  - $ref: '#/components/schemas/RunTriggerBatch'
@@ -10438,7 +10611,10 @@ components:
10438
10611
  $ref: '#/components/schemas/RunTriggerObservation'
10439
10612
  required:
10440
10613
  - batch
10614
+ - condition
10441
10615
  - conversation_key
10616
+ - decision
10617
+ - file_changes
10442
10618
  - files
10443
10619
  - kind
10444
10620
  - note
@@ -11409,6 +11585,7 @@ components:
11409
11585
  - project_created
11410
11586
  - project_status_changed
11411
11587
  - project_field
11588
+ - project_files_changed
11412
11589
  - email_received
11413
11590
  type: string
11414
11591
  description: |-
@@ -11417,6 +11594,7 @@ components:
11417
11594
  * `project_created` - Project created
11418
11595
  * `project_status_changed` - Project status changed
11419
11596
  * `project_field` - Project field
11597
+ * `project_files_changed` - Project files changed
11420
11598
  * `email_received` - Email received
11421
11599
  Turn:
11422
11600
  type: object
@@ -11971,6 +12149,11 @@ components:
11971
12149
  takes_project_input:
11972
12150
  type: boolean
11973
12151
  readOnly: true
12152
+ definition_paused_at:
12153
+ type: string
12154
+ format: date-time
12155
+ readOnly: true
12156
+ nullable: true
11974
12157
  last_run:
11975
12158
  allOf:
11976
12159
  - $ref: '#/components/schemas/WorkflowRun'
@@ -11990,6 +12173,7 @@ components:
11990
12173
  readOnly: true
11991
12174
  required:
11992
12175
  - created_at
12176
+ - definition_paused_at
11993
12177
  - id
11994
12178
  - last_run
11995
12179
  - name
@@ -12038,6 +12222,11 @@ components:
12038
12222
  type: string
12039
12223
  format: date-time
12040
12224
  readOnly: true
12225
+ paused_at:
12226
+ type: string
12227
+ format: date-time
12228
+ readOnly: true
12229
+ nullable: true
12041
12230
  required:
12042
12231
  - applied_at
12043
12232
  - definition
@@ -12045,6 +12234,7 @@ components:
12045
12234
  - display_name
12046
12235
  - id
12047
12236
  - name
12237
+ - paused_at
12048
12238
  - rendered_hash
12049
12239
  - scope
12050
12240
  - workspace
@@ -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
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "current-cli"
3
- version = "0.1.75"
3
+ version = "0.1.77"
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