current-cli 0.1.61__tar.gz → 0.1.62__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.61
3
+ Version: 0.1.62
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
@@ -1432,6 +1432,40 @@ paths:
1432
1432
  schema:
1433
1433
  $ref: '#/components/schemas/MessagingStreamResponse'
1434
1434
  description: ''
1435
+ /api/integrations/messaging/trace/:
1436
+ post:
1437
+ operationId: integrations_messaging_trace
1438
+ description: |-
1439
+ Where the messaging job reports its agent trace.
1440
+
1441
+ Returns the trace's ids and a fresh presigned PUT for the transcript
1442
+ document (see ``traces.storage``); a ``summary``, when sent, is copied
1443
+ onto the trace first, and a terminal ``summary.status`` finishes it. The
1444
+ job calls this at start, at checkpoints, and at the end. The token names
1445
+ the trace, so the body carries no trace id.
1446
+ tags:
1447
+ - integrations
1448
+ requestBody:
1449
+ content:
1450
+ application/json:
1451
+ schema:
1452
+ $ref: '#/components/schemas/MessagingTraceRequestRequest'
1453
+ application/x-www-form-urlencoded:
1454
+ schema:
1455
+ $ref: '#/components/schemas/MessagingTraceRequestRequest'
1456
+ multipart/form-data:
1457
+ schema:
1458
+ $ref: '#/components/schemas/MessagingTraceRequestRequest'
1459
+ required: true
1460
+ security:
1461
+ - MessagingJobTokenAuth: []
1462
+ responses:
1463
+ '200':
1464
+ content:
1465
+ application/json:
1466
+ schema:
1467
+ $ref: '#/components/schemas/AgentTraceUpload'
1468
+ description: ''
1435
1469
  /api/integrations/teams/app-package/:
1436
1470
  get:
1437
1471
  operationId: integrations_teams_app_package
@@ -4450,6 +4484,46 @@ paths:
4450
4484
  schema:
4451
4485
  $ref: '#/components/schemas/ToolInvokeResponse'
4452
4486
  description: ''
4487
+ /api/workflows/runs/{run_id}/traces/:
4488
+ post:
4489
+ operationId: workflows_runs_traces_create
4490
+ description: |-
4491
+ Machine endpoint: the runner reports one agent step attempt's trace.
4492
+
4493
+ Makes the trace on first call for its (step_id, attempt) and returns it
4494
+ after; a ``summary``, when sent, is copied onto it first, and a terminal
4495
+ ``summary.status`` finishes it. The response carries a fresh presigned
4496
+ PUT for the transcript document (see ``traces.storage``).
4497
+ parameters:
4498
+ - in: path
4499
+ name: run_id
4500
+ schema:
4501
+ type: string
4502
+ format: uuid
4503
+ required: true
4504
+ tags:
4505
+ - workflows
4506
+ requestBody:
4507
+ content:
4508
+ application/json:
4509
+ schema:
4510
+ $ref: '#/components/schemas/RunTraceRequestRequest'
4511
+ application/x-www-form-urlencoded:
4512
+ schema:
4513
+ $ref: '#/components/schemas/RunTraceRequestRequest'
4514
+ multipart/form-data:
4515
+ schema:
4516
+ $ref: '#/components/schemas/RunTraceRequestRequest'
4517
+ required: true
4518
+ security:
4519
+ - RunTokenAuth: []
4520
+ responses:
4521
+ '200':
4522
+ content:
4523
+ application/json:
4524
+ schema:
4525
+ $ref: '#/components/schemas/RunTraceUpload'
4526
+ description: ''
4453
4527
  /api/workflows/runs/{run_id}/transitions/:
4454
4528
  post:
4455
4529
  operationId: workflows_runs_transitions_create
@@ -5180,6 +5254,20 @@ components:
5180
5254
  - role
5181
5255
  - workspace_id
5182
5256
  - workspace_name
5257
+ AgentTraceUpload:
5258
+ type: object
5259
+ properties:
5260
+ trace_id:
5261
+ type: string
5262
+ format: uuid
5263
+ traceparent:
5264
+ type: string
5265
+ upload_url:
5266
+ type: string
5267
+ required:
5268
+ - trace_id
5269
+ - traceparent
5270
+ - upload_url
5183
5271
  ApiUserConnectRequestRequest:
5184
5272
  type: object
5185
5273
  description: |-
@@ -6813,6 +6901,8 @@ components:
6813
6901
  items:
6814
6902
  type: string
6815
6903
  minLength: 1
6904
+ traceparent:
6905
+ type: string
6816
6906
  required:
6817
6907
  - reply_ref
6818
6908
  - workflow
@@ -6870,6 +6960,15 @@ components:
6870
6960
  required:
6871
6961
  - ok
6872
6962
  - ts
6963
+ MessagingTraceRequestRequest:
6964
+ type: object
6965
+ properties:
6966
+ workspace:
6967
+ type: string
6968
+ format: uuid
6969
+ summary: {}
6970
+ required:
6971
+ - workspace
6873
6972
  MessagingUploadUrlsRequestRequest:
6874
6973
  type: object
6875
6974
  properties:
@@ -8158,6 +8257,9 @@ components:
8158
8257
  clock:
8159
8258
  $ref: '#/components/schemas/RunClock'
8160
8259
  workflow_config: {}
8260
+ traceparent:
8261
+ type: string
8262
+ default: ''
8161
8263
  required:
8162
8264
  - clock
8163
8265
  - definition
@@ -8166,6 +8268,34 @@ components:
8166
8268
  - steps_state
8167
8269
  - trigger
8168
8270
  - workspace
8271
+ RunTraceRequestRequest:
8272
+ type: object
8273
+ properties:
8274
+ step_id:
8275
+ type: string
8276
+ minLength: 1
8277
+ maxLength: 128
8278
+ attempt:
8279
+ type: integer
8280
+ minimum: 1
8281
+ summary: {}
8282
+ required:
8283
+ - attempt
8284
+ - step_id
8285
+ RunTraceUpload:
8286
+ type: object
8287
+ properties:
8288
+ trace_id:
8289
+ type: string
8290
+ format: uuid
8291
+ traceparent:
8292
+ type: string
8293
+ upload_url:
8294
+ type: string
8295
+ required:
8296
+ - trace_id
8297
+ - traceparent
8298
+ - upload_url
8169
8299
  RunTrigger:
8170
8300
  type: object
8171
8301
  description: 'Why a run exists: trigger kind plus the triggering messages.'
@@ -548,6 +548,21 @@ POST /api/integrations/messaging/stream/
548
548
  Options:
549
549
  - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
550
550
 
551
+ ### current integrations messaging trace post
552
+
553
+ Where the messaging job reports its agent trace.
554
+
555
+ Returns the trace's ids and a fresh presigned PUT for the transcript
556
+ document (see ``traces.storage``); a ``summary``, when sent, is copied
557
+ onto the trace first, and a terminal ``summary.status`` finishes it. The
558
+ job calls this at start, at checkpoints, and at the end. The token names
559
+ the trace, so the body carries no trace id.
560
+
561
+ POST /api/integrations/messaging/trace/
562
+
563
+ Options:
564
+ - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
565
+
551
566
  ### current integrations teams app-package get
552
567
 
553
568
  Download the Teams app package (manifest + icons) as a zip.
@@ -1461,6 +1476,20 @@ POST /api/workflows/runs/{run_id}/tools/{tool_name}/invoke/
1461
1476
  Options:
1462
1477
  - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
1463
1478
 
1479
+ ### current workflows runs traces create <run_id>
1480
+
1481
+ Machine endpoint: the runner reports one agent step attempt's trace.
1482
+
1483
+ Makes the trace on first call for its (step_id, attempt) and returns it
1484
+ after; a ``summary``, when sent, is copied onto it first, and a terminal
1485
+ ``summary.status`` finishes it. The response carries a fresh presigned
1486
+ PUT for the transcript document (see ``traces.storage``).
1487
+
1488
+ POST /api/workflows/runs/{run_id}/traces/
1489
+
1490
+ Options:
1491
+ - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
1492
+
1464
1493
  ### current workflows runs transitions create <run_id>
1465
1494
 
1466
1495
  Machine endpoint: the runner journals step state changes. Idempotent —
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "current-cli"
3
- version = "0.1.61"
3
+ version = "0.1.62"
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