current-cli 0.1.86__tar.gz → 0.1.88__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.86
3
+ Version: 0.1.88
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
@@ -4957,7 +4957,13 @@ paths:
4957
4957
  One page of interactions. Each row is compact: sender, the message
4958
4958
  and a reply preview, status, duration, tokens, cost, tool and error
4959
4959
  counts, the workflow runs it started, and review counts (``mine`` is
4960
- the caller's own sentiment). Read the transcript on ``GET {id}/``.
4960
+ the caller's own sentiment). Read a recorded trace on ``GET {id}/``.
4961
+
4962
+ When ``trace_available`` is false, ``id`` is an observation UUID and
4963
+ ``email_evidence`` contains the stored message and matched replies.
4964
+ Trace detail and review endpoints do not accept these observation IDs.
4965
+ Execution metrics are null. Status, tool, error, and review filters
4966
+ include recorded traces only. Intake emails are not interactions.
4961
4967
  parameters:
4962
4968
  - in: query
4963
4969
  name: channel
@@ -7328,6 +7334,21 @@ components:
7328
7334
  BlankEnum:
7329
7335
  enum:
7330
7336
  - ''
7337
+ ChannelReaction:
7338
+ type: object
7339
+ properties:
7340
+ actor_name:
7341
+ type: string
7342
+ reaction:
7343
+ type: string
7344
+ description: The channel's reaction name, e.g. like.
7345
+ occurred_at:
7346
+ type: string
7347
+ format: date-time
7348
+ required:
7349
+ - actor_name
7350
+ - occurred_at
7351
+ - reaction
7331
7352
  CheckpointRequestRequest:
7332
7353
  type: object
7333
7354
  properties:
@@ -8391,6 +8412,16 @@ components:
8391
8412
  required:
8392
8413
  - receive
8393
8414
  - send
8415
+ EmailEvidence:
8416
+ type: object
8417
+ properties:
8418
+ message:
8419
+ type: string
8420
+ reply:
8421
+ type: string
8422
+ required:
8423
+ - message
8424
+ - reply
8394
8425
  EmojiEnum:
8395
8426
  enum:
8396
8427
  - eyes
@@ -9273,114 +9304,13 @@ components:
9273
9304
  * `notion` - Notion
9274
9305
  * `salesforce` - Salesforce
9275
9306
  * `adobe_sign` - Adobe Sign
9276
- Interaction:
9277
- type: object
9278
- description: |-
9279
- One row of the interactions list: what a reviewer scans to pick a
9280
- trace to read. The transcript itself is on the detail route.
9281
- properties:
9282
- id:
9283
- type: string
9284
- format: uuid
9285
- readOnly: true
9286
- kind:
9287
- allOf:
9288
- - $ref: '#/components/schemas/AgentTraceKindEnum'
9289
- readOnly: true
9290
- workspace:
9291
- allOf:
9292
- - $ref: '#/components/schemas/WorkspaceRef'
9293
- readOnly: true
9294
- status:
9295
- allOf:
9296
- - $ref: '#/components/schemas/AgentTraceStatusEnum'
9297
- readOnly: true
9298
- channel:
9299
- type: string
9300
- readOnly: true
9301
- sender:
9302
- type: string
9303
- readOnly: true
9304
- message_preview:
9305
- type: string
9306
- readOnly: true
9307
- reply_preview:
9308
- type: string
9309
- readOnly: true
9310
- started_at:
9311
- type: string
9312
- format: date-time
9313
- readOnly: true
9314
- duration_ms:
9315
- type: integer
9316
- readOnly: true
9317
- nullable: true
9318
- model:
9319
- type: string
9320
- readOnly: true
9321
- input_tokens:
9322
- type: integer
9323
- readOnly: true
9324
- nullable: true
9325
- output_tokens:
9326
- type: integer
9327
- readOnly: true
9328
- nullable: true
9329
- cost_usd:
9330
- type: string
9331
- format: decimal
9332
- pattern: ^-?\d{0,6}(?:\.\d{0,6})?$
9333
- readOnly: true
9334
- nullable: true
9335
- tool_call_count:
9336
- type: integer
9337
- readOnly: true
9338
- nullable: true
9339
- tool_error_count:
9340
- type: integer
9341
- readOnly: true
9342
- nullable: true
9343
- tools_used:
9344
- type: array
9345
- items:
9346
- type: string
9347
- readOnly: true
9348
- spawned_runs:
9349
- type: array
9350
- items:
9351
- $ref: '#/components/schemas/SpawnedRunRef'
9352
- readOnly: true
9353
- review:
9354
- allOf:
9355
- - $ref: '#/components/schemas/ReviewSummary'
9356
- readOnly: true
9357
- required:
9358
- - channel
9359
- - cost_usd
9360
- - duration_ms
9361
- - id
9362
- - input_tokens
9363
- - kind
9364
- - message_preview
9365
- - model
9366
- - output_tokens
9367
- - reply_preview
9368
- - review
9369
- - sender
9370
- - spawned_runs
9371
- - started_at
9372
- - status
9373
- - tool_call_count
9374
- - tool_error_count
9375
- - tools_used
9376
- - workspace
9377
9307
  InteractionListResponse:
9378
9308
  type: object
9379
9309
  properties:
9380
9310
  items:
9381
9311
  type: array
9382
9312
  items:
9383
- $ref: '#/components/schemas/Interaction'
9313
+ $ref: '#/components/schemas/ReviewInteraction'
9384
9314
  total:
9385
9315
  type: integer
9386
9316
  next_offset:
@@ -11034,6 +10964,22 @@ components:
11034
10964
  - user_email
11035
10965
  - user_name
11036
10966
  - workspace
10967
+ ReactionCounts:
10968
+ type: object
10969
+ properties:
10970
+ up:
10971
+ type: integer
10972
+ description: Members' current thumbs-up on the runs it started.
10973
+ down:
10974
+ type: integer
10975
+ description: Members' current thumbs-down on the runs it started.
10976
+ channel:
10977
+ type: integer
10978
+ description: Reactions people left on the agent's reply in the channel (Teams).
10979
+ required:
10980
+ - channel
10981
+ - down
10982
+ - up
11037
10983
  ReactionCreate:
11038
10984
  type: object
11039
10985
  description: |-
@@ -11173,6 +11119,50 @@ components:
11173
11119
  maxLength: 2048
11174
11120
  required:
11175
11121
  - reason
11122
+ Reply:
11123
+ type: object
11124
+ properties:
11125
+ text:
11126
+ type: string
11127
+ description: The reply text the agent drafted.
11128
+ status:
11129
+ allOf:
11130
+ - $ref: '#/components/schemas/ReplyStatusEnum'
11131
+ description: |-
11132
+ sent: delivered to the person. rejected: the reviewer returned it and nothing was sent. failed: sending failed. pending: no result yet.
11133
+
11134
+ * `sent` - sent
11135
+ * `rejected` - rejected
11136
+ * `failed` - failed
11137
+ * `pending` - pending
11138
+ feedback:
11139
+ type: string
11140
+ description: The reviewer's feedback on a rejected draft, or the failure.
11141
+ review_outcome:
11142
+ allOf:
11143
+ - $ref: '#/components/schemas/ReviewOutcomeEnum'
11144
+ description: |-
11145
+ Independent response review result. overridden_with_warning means the author explicitly sent after three rejected drafts. It is not reviewer approval. Absent on older traces or when review did not run.
11146
+
11147
+ * `approved` - approved
11148
+ * `rejected` - rejected
11149
+ * `overridden_with_warning` - overridden_with_warning
11150
+ required:
11151
+ - feedback
11152
+ - status
11153
+ - text
11154
+ ReplyStatusEnum:
11155
+ enum:
11156
+ - sent
11157
+ - rejected
11158
+ - failed
11159
+ - pending
11160
+ type: string
11161
+ description: |-
11162
+ * `sent` - sent
11163
+ * `rejected` - rejected
11164
+ * `failed` - failed
11165
+ * `pending` - pending
11176
11166
  RequestMagicLinkRequest:
11177
11167
  type: object
11178
11168
  properties:
@@ -11241,6 +11231,133 @@ components:
11241
11231
  format: uuid
11242
11232
  required:
11243
11233
  - write_id
11234
+ ReviewInteraction:
11235
+ type: object
11236
+ description: A trace-backed interaction or a read-only email ledger fallback.
11237
+ properties:
11238
+ id:
11239
+ type: string
11240
+ format: uuid
11241
+ readOnly: true
11242
+ kind:
11243
+ allOf:
11244
+ - $ref: '#/components/schemas/AgentTraceKindEnum'
11245
+ readOnly: true
11246
+ workspace:
11247
+ allOf:
11248
+ - $ref: '#/components/schemas/WorkspaceRef'
11249
+ readOnly: true
11250
+ status:
11251
+ readOnly: true
11252
+ nullable: true
11253
+ oneOf:
11254
+ - $ref: '#/components/schemas/AgentTraceStatusEnum'
11255
+ - $ref: '#/components/schemas/NullEnum'
11256
+ channel:
11257
+ type: string
11258
+ readOnly: true
11259
+ sender:
11260
+ type: string
11261
+ readOnly: true
11262
+ message_preview:
11263
+ type: string
11264
+ readOnly: true
11265
+ reply_preview:
11266
+ type: string
11267
+ readOnly: true
11268
+ started_at:
11269
+ type: string
11270
+ format: date-time
11271
+ readOnly: true
11272
+ duration_ms:
11273
+ type: integer
11274
+ readOnly: true
11275
+ nullable: true
11276
+ model:
11277
+ type: string
11278
+ readOnly: true
11279
+ input_tokens:
11280
+ type: integer
11281
+ readOnly: true
11282
+ nullable: true
11283
+ output_tokens:
11284
+ type: integer
11285
+ readOnly: true
11286
+ nullable: true
11287
+ cost_usd:
11288
+ type: string
11289
+ format: decimal
11290
+ pattern: ^-?\d{0,6}(?:\.\d{0,6})?$
11291
+ readOnly: true
11292
+ nullable: true
11293
+ tool_call_count:
11294
+ type: integer
11295
+ readOnly: true
11296
+ nullable: true
11297
+ tool_error_count:
11298
+ type: integer
11299
+ readOnly: true
11300
+ nullable: true
11301
+ tools_used:
11302
+ type: array
11303
+ items:
11304
+ type: string
11305
+ readOnly: true
11306
+ spawned_runs:
11307
+ type: array
11308
+ items:
11309
+ $ref: '#/components/schemas/SpawnedRunRef'
11310
+ readOnly: true
11311
+ review:
11312
+ allOf:
11313
+ - $ref: '#/components/schemas/ReviewSummary'
11314
+ readOnly: true
11315
+ trace_available:
11316
+ type: boolean
11317
+ readOnly: true
11318
+ default: true
11319
+ email_evidence:
11320
+ allOf:
11321
+ - $ref: '#/components/schemas/EmailEvidence'
11322
+ readOnly: true
11323
+ nullable: true
11324
+ reaction_counts:
11325
+ allOf:
11326
+ - $ref: '#/components/schemas/ReactionCounts'
11327
+ readOnly: true
11328
+ required:
11329
+ - channel
11330
+ - cost_usd
11331
+ - duration_ms
11332
+ - email_evidence
11333
+ - id
11334
+ - input_tokens
11335
+ - kind
11336
+ - message_preview
11337
+ - model
11338
+ - output_tokens
11339
+ - reaction_counts
11340
+ - reply_preview
11341
+ - review
11342
+ - sender
11343
+ - spawned_runs
11344
+ - started_at
11345
+ - status
11346
+ - tool_call_count
11347
+ - tool_error_count
11348
+ - tools_used
11349
+ - trace_available
11350
+ - workspace
11351
+ ReviewOutcomeEnum:
11352
+ enum:
11353
+ - approved
11354
+ - rejected
11355
+ - overridden_with_warning
11356
+ type: string
11357
+ description: |-
11358
+ * `approved` - approved
11359
+ * `rejected` - rejected
11360
+ * `overridden_with_warning` - overridden_with_warning
11244
11361
  ReviewSummary:
11245
11362
  type: object
11246
11363
  properties:
@@ -12109,6 +12226,12 @@ components:
12109
12226
  duration_ms:
12110
12227
  type: integer
12111
12228
  nullable: true
12229
+ reply:
12230
+ allOf:
12231
+ - $ref: '#/components/schemas/Reply'
12232
+ nullable: true
12233
+ description: 'Set on the agent''s reply tool: what it tried to send and
12234
+ what happened.'
12112
12235
  required:
12113
12236
  - arguments
12114
12237
  - arguments_truncated
@@ -12303,6 +12426,11 @@ components:
12303
12426
  items:
12304
12427
  $ref: '#/components/schemas/Reaction'
12305
12428
  readOnly: true
12429
+ channel_reactions:
12430
+ type: array
12431
+ items:
12432
+ $ref: '#/components/schemas/ChannelReaction'
12433
+ readOnly: true
12306
12434
  reviews:
12307
12435
  type: array
12308
12436
  items:
@@ -12312,6 +12440,7 @@ components:
12312
12440
  - attempt
12313
12441
  - cached_tokens
12314
12442
  - channel
12443
+ - channel_reactions
12315
12444
  - conversation_key
12316
12445
  - cost_usd
12317
12446
  - document_state
@@ -12450,6 +12579,22 @@ components:
12450
12579
  $ref: '#/components/schemas/TurnRoleEnum'
12451
12580
  text:
12452
12581
  type: string
12582
+ source:
12583
+ allOf:
12584
+ - $ref: '#/components/schemas/TurnSourceEnum'
12585
+ description: |-
12586
+ User turns only. prompt: the opening turn. runtime: a note the runtime added to the conversation, not from the person.
12587
+
12588
+ * `prompt` - prompt
12589
+ * `runtime` - runtime
12590
+ message:
12591
+ type: string
12592
+ description: 'Prompt turns only: the person''s own message, or empty when
12593
+ the prompt has none (a workflow step).'
12594
+ context:
12595
+ type: string
12596
+ description: 'Prompt turns only: the context the platform added around the
12597
+ message.'
12453
12598
  reasoning:
12454
12599
  type: string
12455
12600
  tool_calls:
@@ -12485,6 +12630,14 @@ components:
12485
12630
  description: |-
12486
12631
  * `user` - user
12487
12632
  * `assistant` - assistant
12633
+ TurnSourceEnum:
12634
+ enum:
12635
+ - prompt
12636
+ - runtime
12637
+ type: string
12638
+ description: |-
12639
+ * `prompt` - prompt
12640
+ * `runtime` - runtime
12488
12641
  TypeEnum:
12489
12642
  enum:
12490
12643
  - link
@@ -1430,7 +1430,13 @@ Options:
1430
1430
  One page of interactions. Each row is compact: sender, the message
1431
1431
  and a reply preview, status, duration, tokens, cost, tool and error
1432
1432
  counts, the workflow runs it started, and review counts (``mine`` is
1433
- the caller's own sentiment). Read the transcript on ``GET {id}/``.
1433
+ the caller's own sentiment). Read a recorded trace on ``GET {id}/``.
1434
+
1435
+ When ``trace_available`` is false, ``id`` is an observation UUID and
1436
+ ``email_evidence`` contains the stored message and matched replies.
1437
+ Trace detail and review endpoints do not accept these observation IDs.
1438
+ Execution metrics are null. Status, tool, error, and review filters
1439
+ include recorded traces only. Intake emails are not interactions.
1434
1440
 
1435
1441
  GET /api/traces/interactions/
1436
1442
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "current-cli"
3
- version = "0.1.86"
3
+ version = "0.1.88"
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