current-cli 0.1.46__tar.gz → 0.1.47__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.46
3
+ Version: 0.1.47
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
@@ -1221,6 +1221,41 @@ paths:
1221
1221
  schema:
1222
1222
  $ref: '#/components/schemas/ManifestResponse'
1223
1223
  description: ''
1224
+ /api/integrations/messaging/files/upload-urls/:
1225
+ post:
1226
+ operationId: messaging_files_upload_urls
1227
+ description: |-
1228
+ PUT URLs for the files attached to the message the agent is
1229
+ answering, so a workflow it starts on a project can read them.
1230
+
1231
+ Narrow on purpose: the only writable tree is the named project's
1232
+ ``requests/`` folder. The agent's sandbox holds the attachment bytes
1233
+ but no storage credentials, and the platform no longer holds the bytes
1234
+ by the time the agent decides to start a run (a Teams download URL
1235
+ expires within minutes), so the sandbox uploads them itself.
1236
+ tags:
1237
+ - integrations
1238
+ requestBody:
1239
+ content:
1240
+ application/json:
1241
+ schema:
1242
+ $ref: '#/components/schemas/MessagingUploadUrlsRequestRequest'
1243
+ application/x-www-form-urlencoded:
1244
+ schema:
1245
+ $ref: '#/components/schemas/MessagingUploadUrlsRequestRequest'
1246
+ multipart/form-data:
1247
+ schema:
1248
+ $ref: '#/components/schemas/MessagingUploadUrlsRequestRequest'
1249
+ required: true
1250
+ security:
1251
+ - MessagingJobTokenAuth: []
1252
+ responses:
1253
+ '200':
1254
+ content:
1255
+ application/json:
1256
+ schema:
1257
+ $ref: '#/components/schemas/PromoteResponse'
1258
+ description: ''
1224
1259
  /api/integrations/messaging/history/:
1225
1260
  post:
1226
1261
  operationId: integrations_messaging_history
@@ -4835,6 +4870,11 @@ components:
4835
4870
  observation:
4836
4871
  type: string
4837
4872
  format: uuid
4873
+ files:
4874
+ type: array
4875
+ items:
4876
+ type: string
4877
+ minLength: 1
4838
4878
  required:
4839
4879
  - reply_ref
4840
4880
  - workflow
@@ -4882,6 +4922,22 @@ components:
4882
4922
  required:
4883
4923
  - ok
4884
4924
  - ts
4925
+ MessagingUploadUrlsRequestRequest:
4926
+ type: object
4927
+ properties:
4928
+ project:
4929
+ type: string
4930
+ format: uuid
4931
+ paths:
4932
+ type: array
4933
+ items:
4934
+ type: string
4935
+ minLength: 1
4936
+ maxLength: 1024
4937
+ maxItems: 5
4938
+ required:
4939
+ - paths
4940
+ - project
4885
4941
  Observation:
4886
4942
  type: object
4887
4943
  description: |-
@@ -446,6 +446,22 @@ messaging-job endpoint uses.
446
446
 
447
447
  POST /api/integrations/messaging/files/manifest/
448
448
 
449
+ ### current integrations messaging files upload-urls post
450
+
451
+ PUT URLs for the files attached to the message the agent is
452
+ answering, so a workflow it starts on a project can read them.
453
+
454
+ Narrow on purpose: the only writable tree is the named project's
455
+ ``requests/`` folder. The agent's sandbox holds the attachment bytes
456
+ but no storage credentials, and the platform no longer holds the bytes
457
+ by the time the agent decides to start a run (a Teams download URL
458
+ expires within minutes), so the sandbox uploads them itself.
459
+
460
+ POST /api/integrations/messaging/files/upload-urls/
461
+
462
+ Options:
463
+ - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
464
+
449
465
  ### current integrations messaging history post
450
466
 
451
467
  What was already said in this conversation, oldest last.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "current-cli"
3
- version = "0.1.46"
3
+ version = "0.1.47"
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