current-cli 0.1.25__tar.gz → 0.1.26__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.4
2
2
  Name: current-cli
3
- Version: 0.1.25
3
+ Version: 0.1.26
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
@@ -660,6 +660,40 @@ paths:
660
660
  schema:
661
661
  $ref: '#/components/schemas/MessagingOk'
662
662
  description: ''
663
+ /api/integrations/messaging/start-workflow/:
664
+ post:
665
+ operationId: integrations_messaging_start_workflow
666
+ description: |-
667
+ Run one of the workspace's workflows on demand, because a person asked
668
+ for it in chat.
669
+
670
+ This is not a trigger: no binding fires, and nothing here decides on its
671
+ own that a message deserves a workflow — the messaging agent does, the
672
+ same way a person clicks "run now" in the portal. The conversation rides
673
+ onto the run, so the workflow reports back into the thread that asked.
674
+ tags:
675
+ - integrations
676
+ requestBody:
677
+ content:
678
+ application/json:
679
+ schema:
680
+ $ref: '#/components/schemas/MessagingStartWorkflowRequestRequest'
681
+ application/x-www-form-urlencoded:
682
+ schema:
683
+ $ref: '#/components/schemas/MessagingStartWorkflowRequestRequest'
684
+ multipart/form-data:
685
+ schema:
686
+ $ref: '#/components/schemas/MessagingStartWorkflowRequestRequest'
687
+ required: true
688
+ security:
689
+ - MessagingJobTokenAuth: []
690
+ responses:
691
+ '200':
692
+ content:
693
+ application/json:
694
+ schema:
695
+ $ref: '#/components/schemas/MessagingStartWorkflowResponse'
696
+ description: ''
663
697
  /api/integrations/messaging/stream/:
664
698
  post:
665
699
  operationId: integrations_messaging_stream
@@ -3451,6 +3485,42 @@ components:
3451
3485
  - reply_ref
3452
3486
  - text
3453
3487
  - workspace
3488
+ MessagingStartWorkflowRequestRequest:
3489
+ type: object
3490
+ properties:
3491
+ workspace:
3492
+ type: string
3493
+ format: uuid
3494
+ reply_ref: {}
3495
+ workflow:
3496
+ type: string
3497
+ minLength: 1
3498
+ project:
3499
+ type: string
3500
+ format: uuid
3501
+ note:
3502
+ type: string
3503
+ required:
3504
+ - reply_ref
3505
+ - workflow
3506
+ - workspace
3507
+ MessagingStartWorkflowResponse:
3508
+ type: object
3509
+ properties:
3510
+ ok:
3511
+ type: boolean
3512
+ run:
3513
+ type: string
3514
+ format: uuid
3515
+ workflow:
3516
+ type: string
3517
+ status:
3518
+ type: string
3519
+ required:
3520
+ - ok
3521
+ - run
3522
+ - status
3523
+ - workflow
3454
3524
  MessagingStreamRequestRequest:
3455
3525
  type: object
3456
3526
  properties:
@@ -251,6 +251,21 @@ POST /api/integrations/messaging/respond/
251
251
  Options:
252
252
  - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
253
253
 
254
+ ### current integrations messaging start-workflow post
255
+
256
+ Run one of the workspace's workflows on demand, because a person asked
257
+ for it in chat.
258
+
259
+ This is not a trigger: no binding fires, and nothing here decides on its
260
+ own that a message deserves a workflow — the messaging agent does, the
261
+ same way a person clicks "run now" in the portal. The conversation rides
262
+ onto the run, so the workflow reports back into the thread that asked.
263
+
264
+ POST /api/integrations/messaging/start-workflow/
265
+
266
+ Options:
267
+ - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
268
+
254
269
  ### current integrations messaging stream post
255
270
 
256
271
  Live progress UI for a sandbox agent run; the final reply is NOT part
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "current-cli"
3
- version = "0.1.25"
3
+ version = "0.1.26"
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