current-cli 0.1.86__tar.gz → 0.1.87__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.
- {current_cli-0.1.86 → current_cli-0.1.87}/PKG-INFO +1 -1
- {current_cli-0.1.86 → current_cli-0.1.87}/current_cli/schema.yml +237 -103
- {current_cli-0.1.86 → current_cli-0.1.87}/llms.txt +7 -1
- {current_cli-0.1.86 → current_cli-0.1.87}/pyproject.toml +1 -1
- {current_cli-0.1.86 → current_cli-0.1.87}/.gitignore +0 -0
- {current_cli-0.1.86 → current_cli-0.1.87}/README.md +0 -0
- {current_cli-0.1.86 → current_cli-0.1.87}/current_cli/__init__.py +0 -0
- {current_cli-0.1.86 → current_cli-0.1.87}/current_cli/build.py +0 -0
- {current_cli-0.1.86 → current_cli-0.1.87}/current_cli/config.py +0 -0
- {current_cli-0.1.86 → current_cli-0.1.87}/current_cli/docs.py +0 -0
- {current_cli-0.1.86 → current_cli-0.1.87}/current_cli/http.py +0 -0
- {current_cli-0.1.86 → current_cli-0.1.87}/current_cli/main.py +0 -0
- {current_cli-0.1.86 → current_cli-0.1.87}/current_cli/schema.py +0 -0
- {current_cli-0.1.86 → current_cli-0.1.87}/scripts/bump_version.py +0 -0
- {current_cli-0.1.86 → current_cli-0.1.87}/tests/__init__.py +0 -0
- {current_cli-0.1.86 → current_cli-0.1.87}/tests/conftest.py +0 -0
- {current_cli-0.1.86 → current_cli-0.1.87}/tests/test_auth.py +0 -0
- {current_cli-0.1.86 → current_cli-0.1.87}/tests/test_bump_version.py +0 -0
- {current_cli-0.1.86 → current_cli-0.1.87}/tests/test_command_tree.py +0 -0
- {current_cli-0.1.86 → current_cli-0.1.87}/tests/test_docs.py +0 -0
- {current_cli-0.1.86 → current_cli-0.1.87}/tests/test_requests.py +0 -0
|
@@ -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
|
|
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/
|
|
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,41 @@ 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
|
+
required:
|
|
11142
|
+
- feedback
|
|
11143
|
+
- status
|
|
11144
|
+
- text
|
|
11145
|
+
ReplyStatusEnum:
|
|
11146
|
+
enum:
|
|
11147
|
+
- sent
|
|
11148
|
+
- rejected
|
|
11149
|
+
- failed
|
|
11150
|
+
- pending
|
|
11151
|
+
type: string
|
|
11152
|
+
description: |-
|
|
11153
|
+
* `sent` - sent
|
|
11154
|
+
* `rejected` - rejected
|
|
11155
|
+
* `failed` - failed
|
|
11156
|
+
* `pending` - pending
|
|
11176
11157
|
RequestMagicLinkRequest:
|
|
11177
11158
|
type: object
|
|
11178
11159
|
properties:
|
|
@@ -11241,6 +11222,123 @@ components:
|
|
|
11241
11222
|
format: uuid
|
|
11242
11223
|
required:
|
|
11243
11224
|
- write_id
|
|
11225
|
+
ReviewInteraction:
|
|
11226
|
+
type: object
|
|
11227
|
+
description: A trace-backed interaction or a read-only email ledger fallback.
|
|
11228
|
+
properties:
|
|
11229
|
+
id:
|
|
11230
|
+
type: string
|
|
11231
|
+
format: uuid
|
|
11232
|
+
readOnly: true
|
|
11233
|
+
kind:
|
|
11234
|
+
allOf:
|
|
11235
|
+
- $ref: '#/components/schemas/AgentTraceKindEnum'
|
|
11236
|
+
readOnly: true
|
|
11237
|
+
workspace:
|
|
11238
|
+
allOf:
|
|
11239
|
+
- $ref: '#/components/schemas/WorkspaceRef'
|
|
11240
|
+
readOnly: true
|
|
11241
|
+
status:
|
|
11242
|
+
readOnly: true
|
|
11243
|
+
nullable: true
|
|
11244
|
+
oneOf:
|
|
11245
|
+
- $ref: '#/components/schemas/AgentTraceStatusEnum'
|
|
11246
|
+
- $ref: '#/components/schemas/NullEnum'
|
|
11247
|
+
channel:
|
|
11248
|
+
type: string
|
|
11249
|
+
readOnly: true
|
|
11250
|
+
sender:
|
|
11251
|
+
type: string
|
|
11252
|
+
readOnly: true
|
|
11253
|
+
message_preview:
|
|
11254
|
+
type: string
|
|
11255
|
+
readOnly: true
|
|
11256
|
+
reply_preview:
|
|
11257
|
+
type: string
|
|
11258
|
+
readOnly: true
|
|
11259
|
+
started_at:
|
|
11260
|
+
type: string
|
|
11261
|
+
format: date-time
|
|
11262
|
+
readOnly: true
|
|
11263
|
+
duration_ms:
|
|
11264
|
+
type: integer
|
|
11265
|
+
readOnly: true
|
|
11266
|
+
nullable: true
|
|
11267
|
+
model:
|
|
11268
|
+
type: string
|
|
11269
|
+
readOnly: true
|
|
11270
|
+
input_tokens:
|
|
11271
|
+
type: integer
|
|
11272
|
+
readOnly: true
|
|
11273
|
+
nullable: true
|
|
11274
|
+
output_tokens:
|
|
11275
|
+
type: integer
|
|
11276
|
+
readOnly: true
|
|
11277
|
+
nullable: true
|
|
11278
|
+
cost_usd:
|
|
11279
|
+
type: string
|
|
11280
|
+
format: decimal
|
|
11281
|
+
pattern: ^-?\d{0,6}(?:\.\d{0,6})?$
|
|
11282
|
+
readOnly: true
|
|
11283
|
+
nullable: true
|
|
11284
|
+
tool_call_count:
|
|
11285
|
+
type: integer
|
|
11286
|
+
readOnly: true
|
|
11287
|
+
nullable: true
|
|
11288
|
+
tool_error_count:
|
|
11289
|
+
type: integer
|
|
11290
|
+
readOnly: true
|
|
11291
|
+
nullable: true
|
|
11292
|
+
tools_used:
|
|
11293
|
+
type: array
|
|
11294
|
+
items:
|
|
11295
|
+
type: string
|
|
11296
|
+
readOnly: true
|
|
11297
|
+
spawned_runs:
|
|
11298
|
+
type: array
|
|
11299
|
+
items:
|
|
11300
|
+
$ref: '#/components/schemas/SpawnedRunRef'
|
|
11301
|
+
readOnly: true
|
|
11302
|
+
review:
|
|
11303
|
+
allOf:
|
|
11304
|
+
- $ref: '#/components/schemas/ReviewSummary'
|
|
11305
|
+
readOnly: true
|
|
11306
|
+
trace_available:
|
|
11307
|
+
type: boolean
|
|
11308
|
+
readOnly: true
|
|
11309
|
+
default: true
|
|
11310
|
+
email_evidence:
|
|
11311
|
+
allOf:
|
|
11312
|
+
- $ref: '#/components/schemas/EmailEvidence'
|
|
11313
|
+
readOnly: true
|
|
11314
|
+
nullable: true
|
|
11315
|
+
reaction_counts:
|
|
11316
|
+
allOf:
|
|
11317
|
+
- $ref: '#/components/schemas/ReactionCounts'
|
|
11318
|
+
readOnly: true
|
|
11319
|
+
required:
|
|
11320
|
+
- channel
|
|
11321
|
+
- cost_usd
|
|
11322
|
+
- duration_ms
|
|
11323
|
+
- email_evidence
|
|
11324
|
+
- id
|
|
11325
|
+
- input_tokens
|
|
11326
|
+
- kind
|
|
11327
|
+
- message_preview
|
|
11328
|
+
- model
|
|
11329
|
+
- output_tokens
|
|
11330
|
+
- reaction_counts
|
|
11331
|
+
- reply_preview
|
|
11332
|
+
- review
|
|
11333
|
+
- sender
|
|
11334
|
+
- spawned_runs
|
|
11335
|
+
- started_at
|
|
11336
|
+
- status
|
|
11337
|
+
- tool_call_count
|
|
11338
|
+
- tool_error_count
|
|
11339
|
+
- tools_used
|
|
11340
|
+
- trace_available
|
|
11341
|
+
- workspace
|
|
11244
11342
|
ReviewSummary:
|
|
11245
11343
|
type: object
|
|
11246
11344
|
properties:
|
|
@@ -12109,6 +12207,12 @@ components:
|
|
|
12109
12207
|
duration_ms:
|
|
12110
12208
|
type: integer
|
|
12111
12209
|
nullable: true
|
|
12210
|
+
reply:
|
|
12211
|
+
allOf:
|
|
12212
|
+
- $ref: '#/components/schemas/Reply'
|
|
12213
|
+
nullable: true
|
|
12214
|
+
description: 'Set on the agent''s reply tool: what it tried to send and
|
|
12215
|
+
what happened.'
|
|
12112
12216
|
required:
|
|
12113
12217
|
- arguments
|
|
12114
12218
|
- arguments_truncated
|
|
@@ -12303,6 +12407,11 @@ components:
|
|
|
12303
12407
|
items:
|
|
12304
12408
|
$ref: '#/components/schemas/Reaction'
|
|
12305
12409
|
readOnly: true
|
|
12410
|
+
channel_reactions:
|
|
12411
|
+
type: array
|
|
12412
|
+
items:
|
|
12413
|
+
$ref: '#/components/schemas/ChannelReaction'
|
|
12414
|
+
readOnly: true
|
|
12306
12415
|
reviews:
|
|
12307
12416
|
type: array
|
|
12308
12417
|
items:
|
|
@@ -12312,6 +12421,7 @@ components:
|
|
|
12312
12421
|
- attempt
|
|
12313
12422
|
- cached_tokens
|
|
12314
12423
|
- channel
|
|
12424
|
+
- channel_reactions
|
|
12315
12425
|
- conversation_key
|
|
12316
12426
|
- cost_usd
|
|
12317
12427
|
- document_state
|
|
@@ -12450,6 +12560,22 @@ components:
|
|
|
12450
12560
|
$ref: '#/components/schemas/TurnRoleEnum'
|
|
12451
12561
|
text:
|
|
12452
12562
|
type: string
|
|
12563
|
+
source:
|
|
12564
|
+
allOf:
|
|
12565
|
+
- $ref: '#/components/schemas/TurnSourceEnum'
|
|
12566
|
+
description: |-
|
|
12567
|
+
User turns only. prompt: the opening turn. runtime: a note the runtime added to the conversation, not from the person.
|
|
12568
|
+
|
|
12569
|
+
* `prompt` - prompt
|
|
12570
|
+
* `runtime` - runtime
|
|
12571
|
+
message:
|
|
12572
|
+
type: string
|
|
12573
|
+
description: 'Prompt turns only: the person''s own message, or empty when
|
|
12574
|
+
the prompt has none (a workflow step).'
|
|
12575
|
+
context:
|
|
12576
|
+
type: string
|
|
12577
|
+
description: 'Prompt turns only: the context the platform added around the
|
|
12578
|
+
message.'
|
|
12453
12579
|
reasoning:
|
|
12454
12580
|
type: string
|
|
12455
12581
|
tool_calls:
|
|
@@ -12485,6 +12611,14 @@ components:
|
|
|
12485
12611
|
description: |-
|
|
12486
12612
|
* `user` - user
|
|
12487
12613
|
* `assistant` - assistant
|
|
12614
|
+
TurnSourceEnum:
|
|
12615
|
+
enum:
|
|
12616
|
+
- prompt
|
|
12617
|
+
- runtime
|
|
12618
|
+
type: string
|
|
12619
|
+
description: |-
|
|
12620
|
+
* `prompt` - prompt
|
|
12621
|
+
* `runtime` - runtime
|
|
12488
12622
|
TypeEnum:
|
|
12489
12623
|
enum:
|
|
12490
12624
|
- 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
|
|
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
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|