current-cli 0.1.39__tar.gz → 0.1.41__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.39 → current_cli-0.1.41}/PKG-INFO +1 -1
- {current_cli-0.1.39 → current_cli-0.1.41}/current_cli/schema.yml +329 -3
- {current_cli-0.1.39 → current_cli-0.1.41}/llms.txt +66 -0
- {current_cli-0.1.39 → current_cli-0.1.41}/pyproject.toml +1 -1
- {current_cli-0.1.39 → current_cli-0.1.41}/.gitignore +0 -0
- {current_cli-0.1.39 → current_cli-0.1.41}/README.md +0 -0
- {current_cli-0.1.39 → current_cli-0.1.41}/current_cli/__init__.py +0 -0
- {current_cli-0.1.39 → current_cli-0.1.41}/current_cli/build.py +0 -0
- {current_cli-0.1.39 → current_cli-0.1.41}/current_cli/config.py +0 -0
- {current_cli-0.1.39 → current_cli-0.1.41}/current_cli/docs.py +0 -0
- {current_cli-0.1.39 → current_cli-0.1.41}/current_cli/http.py +0 -0
- {current_cli-0.1.39 → current_cli-0.1.41}/current_cli/main.py +0 -0
- {current_cli-0.1.39 → current_cli-0.1.41}/current_cli/schema.py +0 -0
- {current_cli-0.1.39 → current_cli-0.1.41}/scripts/bump_version.py +0 -0
- {current_cli-0.1.39 → current_cli-0.1.41}/tests/__init__.py +0 -0
- {current_cli-0.1.39 → current_cli-0.1.41}/tests/conftest.py +0 -0
- {current_cli-0.1.39 → current_cli-0.1.41}/tests/test_auth.py +0 -0
- {current_cli-0.1.39 → current_cli-0.1.41}/tests/test_bump_version.py +0 -0
- {current_cli-0.1.39 → current_cli-0.1.41}/tests/test_command_tree.py +0 -0
- {current_cli-0.1.39 → current_cli-0.1.41}/tests/test_docs.py +0 -0
- {current_cli-0.1.39 → current_cli-0.1.41}/tests/test_requests.py +0 -0
|
@@ -2036,6 +2036,150 @@ paths:
|
|
|
2036
2036
|
schema:
|
|
2037
2037
|
$ref: '#/components/schemas/ProjectSearchResponse'
|
|
2038
2038
|
description: ''
|
|
2039
|
+
/api/reactions/reactions/:
|
|
2040
|
+
get:
|
|
2041
|
+
operationId: reactions_reactions_list
|
|
2042
|
+
description: |-
|
|
2043
|
+
Thumbs up/down (+ optional reason and comment) on a piece of platform
|
|
2044
|
+
output.
|
|
2045
|
+
|
|
2046
|
+
Reads are author-only: a member sees the reactions they gave, and never
|
|
2047
|
+
anyone else's. Feedback on the platform's own output is candid only when
|
|
2048
|
+
the member knows their colleagues are not reading it, and no surface
|
|
2049
|
+
shows another member's reaction. Aggregate sentiment is a reporting
|
|
2050
|
+
question, answered off the table directly rather than through this
|
|
2051
|
+
endpoint.
|
|
2052
|
+
|
|
2053
|
+
Create for any member of the workspace — every submission is a new row
|
|
2054
|
+
(see ``Reaction``). No update or delete: a changed mind is a new
|
|
2055
|
+
reaction, not an edit to the old one.
|
|
2056
|
+
parameters:
|
|
2057
|
+
- name: limit
|
|
2058
|
+
required: false
|
|
2059
|
+
in: query
|
|
2060
|
+
description: Number of results to return per page.
|
|
2061
|
+
schema:
|
|
2062
|
+
type: integer
|
|
2063
|
+
- name: offset
|
|
2064
|
+
required: false
|
|
2065
|
+
in: query
|
|
2066
|
+
description: The initial index from which to return the results.
|
|
2067
|
+
schema:
|
|
2068
|
+
type: integer
|
|
2069
|
+
- in: query
|
|
2070
|
+
name: project
|
|
2071
|
+
schema:
|
|
2072
|
+
type: string
|
|
2073
|
+
description: Filter by project UUID
|
|
2074
|
+
- in: query
|
|
2075
|
+
name: subject_id
|
|
2076
|
+
schema:
|
|
2077
|
+
type: string
|
|
2078
|
+
description: Filter by subject id
|
|
2079
|
+
- in: query
|
|
2080
|
+
name: subject_type
|
|
2081
|
+
schema:
|
|
2082
|
+
type: string
|
|
2083
|
+
description: Filter by subject type
|
|
2084
|
+
- in: query
|
|
2085
|
+
name: subject_version
|
|
2086
|
+
schema:
|
|
2087
|
+
type: string
|
|
2088
|
+
description: Filter by subject version
|
|
2089
|
+
- in: query
|
|
2090
|
+
name: workspace
|
|
2091
|
+
schema:
|
|
2092
|
+
type: string
|
|
2093
|
+
description: Filter by workspace UUID
|
|
2094
|
+
tags:
|
|
2095
|
+
- reactions
|
|
2096
|
+
security:
|
|
2097
|
+
- MessagingJobTokenAuth: []
|
|
2098
|
+
- tokenAuth: []
|
|
2099
|
+
responses:
|
|
2100
|
+
'200':
|
|
2101
|
+
content:
|
|
2102
|
+
application/json:
|
|
2103
|
+
schema:
|
|
2104
|
+
$ref: '#/components/schemas/PaginatedReactionList'
|
|
2105
|
+
description: ''
|
|
2106
|
+
post:
|
|
2107
|
+
operationId: reactions_reactions_create
|
|
2108
|
+
description: |-
|
|
2109
|
+
Thumbs up/down (+ optional reason and comment) on a piece of platform
|
|
2110
|
+
output.
|
|
2111
|
+
|
|
2112
|
+
Reads are author-only: a member sees the reactions they gave, and never
|
|
2113
|
+
anyone else's. Feedback on the platform's own output is candid only when
|
|
2114
|
+
the member knows their colleagues are not reading it, and no surface
|
|
2115
|
+
shows another member's reaction. Aggregate sentiment is a reporting
|
|
2116
|
+
question, answered off the table directly rather than through this
|
|
2117
|
+
endpoint.
|
|
2118
|
+
|
|
2119
|
+
Create for any member of the workspace — every submission is a new row
|
|
2120
|
+
(see ``Reaction``). No update or delete: a changed mind is a new
|
|
2121
|
+
reaction, not an edit to the old one.
|
|
2122
|
+
tags:
|
|
2123
|
+
- reactions
|
|
2124
|
+
requestBody:
|
|
2125
|
+
content:
|
|
2126
|
+
application/json:
|
|
2127
|
+
schema:
|
|
2128
|
+
$ref: '#/components/schemas/ReactionCreateRequest'
|
|
2129
|
+
application/x-www-form-urlencoded:
|
|
2130
|
+
schema:
|
|
2131
|
+
$ref: '#/components/schemas/ReactionCreateRequest'
|
|
2132
|
+
multipart/form-data:
|
|
2133
|
+
schema:
|
|
2134
|
+
$ref: '#/components/schemas/ReactionCreateRequest'
|
|
2135
|
+
required: true
|
|
2136
|
+
security:
|
|
2137
|
+
- MessagingJobTokenAuth: []
|
|
2138
|
+
- tokenAuth: []
|
|
2139
|
+
responses:
|
|
2140
|
+
'201':
|
|
2141
|
+
content:
|
|
2142
|
+
application/json:
|
|
2143
|
+
schema:
|
|
2144
|
+
$ref: '#/components/schemas/ReactionCreate'
|
|
2145
|
+
description: ''
|
|
2146
|
+
/api/reactions/reactions/{id}/:
|
|
2147
|
+
get:
|
|
2148
|
+
operationId: reactions_reactions_retrieve
|
|
2149
|
+
description: |-
|
|
2150
|
+
Thumbs up/down (+ optional reason and comment) on a piece of platform
|
|
2151
|
+
output.
|
|
2152
|
+
|
|
2153
|
+
Reads are author-only: a member sees the reactions they gave, and never
|
|
2154
|
+
anyone else's. Feedback on the platform's own output is candid only when
|
|
2155
|
+
the member knows their colleagues are not reading it, and no surface
|
|
2156
|
+
shows another member's reaction. Aggregate sentiment is a reporting
|
|
2157
|
+
question, answered off the table directly rather than through this
|
|
2158
|
+
endpoint.
|
|
2159
|
+
|
|
2160
|
+
Create for any member of the workspace — every submission is a new row
|
|
2161
|
+
(see ``Reaction``). No update or delete: a changed mind is a new
|
|
2162
|
+
reaction, not an edit to the old one.
|
|
2163
|
+
parameters:
|
|
2164
|
+
- in: path
|
|
2165
|
+
name: id
|
|
2166
|
+
schema:
|
|
2167
|
+
type: string
|
|
2168
|
+
format: uuid
|
|
2169
|
+
description: A UUID string identifying this reaction.
|
|
2170
|
+
required: true
|
|
2171
|
+
tags:
|
|
2172
|
+
- reactions
|
|
2173
|
+
security:
|
|
2174
|
+
- MessagingJobTokenAuth: []
|
|
2175
|
+
- tokenAuth: []
|
|
2176
|
+
responses:
|
|
2177
|
+
'200':
|
|
2178
|
+
content:
|
|
2179
|
+
application/json:
|
|
2180
|
+
schema:
|
|
2181
|
+
$ref: '#/components/schemas/Reaction'
|
|
2182
|
+
description: ''
|
|
2039
2183
|
/api/tasks/tasks/:
|
|
2040
2184
|
get:
|
|
2041
2185
|
operationId: tasks_tasks_list
|
|
@@ -4666,6 +4810,29 @@ components:
|
|
|
4666
4810
|
type: array
|
|
4667
4811
|
items:
|
|
4668
4812
|
$ref: '#/components/schemas/Observation'
|
|
4813
|
+
PaginatedReactionList:
|
|
4814
|
+
type: object
|
|
4815
|
+
required:
|
|
4816
|
+
- count
|
|
4817
|
+
- results
|
|
4818
|
+
properties:
|
|
4819
|
+
count:
|
|
4820
|
+
type: integer
|
|
4821
|
+
example: 123
|
|
4822
|
+
next:
|
|
4823
|
+
type: string
|
|
4824
|
+
nullable: true
|
|
4825
|
+
format: uri
|
|
4826
|
+
example: http://api.example.org/accounts/?offset=400&limit=100
|
|
4827
|
+
previous:
|
|
4828
|
+
type: string
|
|
4829
|
+
nullable: true
|
|
4830
|
+
format: uri
|
|
4831
|
+
example: http://api.example.org/accounts/?offset=200&limit=100
|
|
4832
|
+
results:
|
|
4833
|
+
type: array
|
|
4834
|
+
items:
|
|
4835
|
+
$ref: '#/components/schemas/Reaction'
|
|
4669
4836
|
PatchedContactRequest:
|
|
4670
4837
|
type: object
|
|
4671
4838
|
properties:
|
|
@@ -5159,6 +5326,144 @@ components:
|
|
|
5159
5326
|
payload: {}
|
|
5160
5327
|
required:
|
|
5161
5328
|
- workspace
|
|
5329
|
+
Reaction:
|
|
5330
|
+
type: object
|
|
5331
|
+
description: |-
|
|
5332
|
+
Read shape for a reaction. Everything is written once at creation and
|
|
5333
|
+
never edited, so every field is read-only here.
|
|
5334
|
+
properties:
|
|
5335
|
+
id:
|
|
5336
|
+
type: string
|
|
5337
|
+
format: uuid
|
|
5338
|
+
readOnly: true
|
|
5339
|
+
workspace:
|
|
5340
|
+
type: string
|
|
5341
|
+
format: uuid
|
|
5342
|
+
readOnly: true
|
|
5343
|
+
project:
|
|
5344
|
+
type: string
|
|
5345
|
+
format: uuid
|
|
5346
|
+
readOnly: true
|
|
5347
|
+
nullable: true
|
|
5348
|
+
subject_type:
|
|
5349
|
+
type: string
|
|
5350
|
+
readOnly: true
|
|
5351
|
+
subject_id:
|
|
5352
|
+
type: string
|
|
5353
|
+
readOnly: true
|
|
5354
|
+
subject_version:
|
|
5355
|
+
type: string
|
|
5356
|
+
readOnly: true
|
|
5357
|
+
sentiment:
|
|
5358
|
+
allOf:
|
|
5359
|
+
- $ref: '#/components/schemas/SentimentEnum'
|
|
5360
|
+
readOnly: true
|
|
5361
|
+
reason:
|
|
5362
|
+
type: string
|
|
5363
|
+
readOnly: true
|
|
5364
|
+
comment:
|
|
5365
|
+
type: string
|
|
5366
|
+
readOnly: true
|
|
5367
|
+
user_email:
|
|
5368
|
+
type: string
|
|
5369
|
+
readOnly: true
|
|
5370
|
+
user_name:
|
|
5371
|
+
type: string
|
|
5372
|
+
readOnly: true
|
|
5373
|
+
created_at:
|
|
5374
|
+
type: string
|
|
5375
|
+
format: date-time
|
|
5376
|
+
readOnly: true
|
|
5377
|
+
required:
|
|
5378
|
+
- comment
|
|
5379
|
+
- created_at
|
|
5380
|
+
- id
|
|
5381
|
+
- project
|
|
5382
|
+
- reason
|
|
5383
|
+
- sentiment
|
|
5384
|
+
- subject_id
|
|
5385
|
+
- subject_type
|
|
5386
|
+
- subject_version
|
|
5387
|
+
- user_email
|
|
5388
|
+
- user_name
|
|
5389
|
+
- workspace
|
|
5390
|
+
ReactionCreate:
|
|
5391
|
+
type: object
|
|
5392
|
+
description: |-
|
|
5393
|
+
Write shape: the member names the workspace, the subject, and their
|
|
5394
|
+
sentiment. ``user`` is never client-settable — the view fills it in from
|
|
5395
|
+
the request.
|
|
5396
|
+
properties:
|
|
5397
|
+
id:
|
|
5398
|
+
type: string
|
|
5399
|
+
format: uuid
|
|
5400
|
+
readOnly: true
|
|
5401
|
+
workspace:
|
|
5402
|
+
type: string
|
|
5403
|
+
format: uuid
|
|
5404
|
+
project:
|
|
5405
|
+
type: string
|
|
5406
|
+
format: uuid
|
|
5407
|
+
nullable: true
|
|
5408
|
+
subject_type:
|
|
5409
|
+
type: string
|
|
5410
|
+
maxLength: 32
|
|
5411
|
+
subject_id:
|
|
5412
|
+
type: string
|
|
5413
|
+
maxLength: 512
|
|
5414
|
+
subject_version:
|
|
5415
|
+
type: string
|
|
5416
|
+
maxLength: 64
|
|
5417
|
+
sentiment:
|
|
5418
|
+
$ref: '#/components/schemas/SentimentEnum'
|
|
5419
|
+
reason:
|
|
5420
|
+
type: string
|
|
5421
|
+
maxLength: 32
|
|
5422
|
+
comment:
|
|
5423
|
+
type: string
|
|
5424
|
+
required:
|
|
5425
|
+
- id
|
|
5426
|
+
- sentiment
|
|
5427
|
+
- subject_id
|
|
5428
|
+
- subject_type
|
|
5429
|
+
- workspace
|
|
5430
|
+
ReactionCreateRequest:
|
|
5431
|
+
type: object
|
|
5432
|
+
description: |-
|
|
5433
|
+
Write shape: the member names the workspace, the subject, and their
|
|
5434
|
+
sentiment. ``user`` is never client-settable — the view fills it in from
|
|
5435
|
+
the request.
|
|
5436
|
+
properties:
|
|
5437
|
+
workspace:
|
|
5438
|
+
type: string
|
|
5439
|
+
format: uuid
|
|
5440
|
+
project:
|
|
5441
|
+
type: string
|
|
5442
|
+
format: uuid
|
|
5443
|
+
nullable: true
|
|
5444
|
+
subject_type:
|
|
5445
|
+
type: string
|
|
5446
|
+
minLength: 1
|
|
5447
|
+
maxLength: 32
|
|
5448
|
+
subject_id:
|
|
5449
|
+
type: string
|
|
5450
|
+
minLength: 1
|
|
5451
|
+
maxLength: 512
|
|
5452
|
+
subject_version:
|
|
5453
|
+
type: string
|
|
5454
|
+
maxLength: 64
|
|
5455
|
+
sentiment:
|
|
5456
|
+
$ref: '#/components/schemas/SentimentEnum'
|
|
5457
|
+
reason:
|
|
5458
|
+
type: string
|
|
5459
|
+
maxLength: 32
|
|
5460
|
+
comment:
|
|
5461
|
+
type: string
|
|
5462
|
+
required:
|
|
5463
|
+
- sentiment
|
|
5464
|
+
- subject_id
|
|
5465
|
+
- subject_type
|
|
5466
|
+
- workspace
|
|
5162
5467
|
RequestMagicLinkRequest:
|
|
5163
5468
|
type: object
|
|
5164
5469
|
properties:
|
|
@@ -5340,6 +5645,14 @@ components:
|
|
|
5340
5645
|
- occurred_at
|
|
5341
5646
|
- sender
|
|
5342
5647
|
- source
|
|
5648
|
+
SentimentEnum:
|
|
5649
|
+
enum:
|
|
5650
|
+
- up
|
|
5651
|
+
- down
|
|
5652
|
+
type: string
|
|
5653
|
+
description: |-
|
|
5654
|
+
* `up` - Thumbs up
|
|
5655
|
+
* `down` - Thumbs down
|
|
5343
5656
|
SlackChannel:
|
|
5344
5657
|
type: object
|
|
5345
5658
|
properties:
|
|
@@ -5965,9 +6278,10 @@ components:
|
|
|
5965
6278
|
WorkflowRunDetail:
|
|
5966
6279
|
type: object
|
|
5967
6280
|
description: |-
|
|
5968
|
-
Run detail shape: the list shape plus the structured trigger
|
|
5969
|
-
|
|
5970
|
-
snapshot stay
|
|
6281
|
+
Run detail shape: the list shape plus the structured trigger and the
|
|
6282
|
+
human-readable project/actor names. Only the retrieve route pays the
|
|
6283
|
+
observation lookup and these joins; lists and the SSE snapshot stay
|
|
6284
|
+
thin.
|
|
5971
6285
|
properties:
|
|
5972
6286
|
id:
|
|
5973
6287
|
type: string
|
|
@@ -6036,6 +6350,15 @@ components:
|
|
|
6036
6350
|
- $ref: '#/components/schemas/RunTrigger'
|
|
6037
6351
|
nullable: true
|
|
6038
6352
|
readOnly: true
|
|
6353
|
+
project_name:
|
|
6354
|
+
type: string
|
|
6355
|
+
readOnly: true
|
|
6356
|
+
triggered_by_name:
|
|
6357
|
+
type: string
|
|
6358
|
+
readOnly: true
|
|
6359
|
+
triggered_by_email:
|
|
6360
|
+
type: string
|
|
6361
|
+
readOnly: true
|
|
6039
6362
|
required:
|
|
6040
6363
|
- archived
|
|
6041
6364
|
- archived_at
|
|
@@ -6045,12 +6368,15 @@ components:
|
|
|
6045
6368
|
- finished_at
|
|
6046
6369
|
- id
|
|
6047
6370
|
- project
|
|
6371
|
+
- project_name
|
|
6048
6372
|
- sandbox_id
|
|
6049
6373
|
- started_at
|
|
6050
6374
|
- status
|
|
6051
6375
|
- summary
|
|
6052
6376
|
- transitions
|
|
6053
6377
|
- trigger
|
|
6378
|
+
- triggered_by_email
|
|
6379
|
+
- triggered_by_name
|
|
6054
6380
|
- workflow
|
|
6055
6381
|
- workflow_name
|
|
6056
6382
|
WorkflowRunStatusEnum:
|
|
@@ -742,6 +742,72 @@ PUT /api/projects/projects/{id}/
|
|
|
742
742
|
Options:
|
|
743
743
|
- `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
|
|
744
744
|
|
|
745
|
+
### current reactions create
|
|
746
|
+
|
|
747
|
+
Thumbs up/down (+ optional reason and comment) on a piece of platform
|
|
748
|
+
output.
|
|
749
|
+
|
|
750
|
+
Reads are author-only: a member sees the reactions they gave, and never
|
|
751
|
+
anyone else's. Feedback on the platform's own output is candid only when
|
|
752
|
+
the member knows their colleagues are not reading it, and no surface
|
|
753
|
+
shows another member's reaction. Aggregate sentiment is a reporting
|
|
754
|
+
question, answered off the table directly rather than through this
|
|
755
|
+
endpoint.
|
|
756
|
+
|
|
757
|
+
Create for any member of the workspace — every submission is a new row
|
|
758
|
+
(see ``Reaction``). No update or delete: a changed mind is a new
|
|
759
|
+
reaction, not an edit to the old one.
|
|
760
|
+
|
|
761
|
+
POST /api/reactions/reactions/
|
|
762
|
+
|
|
763
|
+
Options:
|
|
764
|
+
- `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
|
|
765
|
+
|
|
766
|
+
### current reactions list
|
|
767
|
+
|
|
768
|
+
Thumbs up/down (+ optional reason and comment) on a piece of platform
|
|
769
|
+
output.
|
|
770
|
+
|
|
771
|
+
Reads are author-only: a member sees the reactions they gave, and never
|
|
772
|
+
anyone else's. Feedback on the platform's own output is candid only when
|
|
773
|
+
the member knows their colleagues are not reading it, and no surface
|
|
774
|
+
shows another member's reaction. Aggregate sentiment is a reporting
|
|
775
|
+
question, answered off the table directly rather than through this
|
|
776
|
+
endpoint.
|
|
777
|
+
|
|
778
|
+
Create for any member of the workspace — every submission is a new row
|
|
779
|
+
(see ``Reaction``). No update or delete: a changed mind is a new
|
|
780
|
+
reaction, not an edit to the old one.
|
|
781
|
+
|
|
782
|
+
GET /api/reactions/reactions/
|
|
783
|
+
|
|
784
|
+
Options:
|
|
785
|
+
- `--limit` - Number of results to return per page.
|
|
786
|
+
- `--offset` - The initial index from which to return the results.
|
|
787
|
+
- `--project` - Filter by project UUID
|
|
788
|
+
- `--subject-id` - Filter by subject id
|
|
789
|
+
- `--subject-type` - Filter by subject type
|
|
790
|
+
- `--subject-version` - Filter by subject version
|
|
791
|
+
- `--workspace` - Filter by workspace UUID
|
|
792
|
+
|
|
793
|
+
### current reactions retrieve <id>
|
|
794
|
+
|
|
795
|
+
Thumbs up/down (+ optional reason and comment) on a piece of platform
|
|
796
|
+
output.
|
|
797
|
+
|
|
798
|
+
Reads are author-only: a member sees the reactions they gave, and never
|
|
799
|
+
anyone else's. Feedback on the platform's own output is candid only when
|
|
800
|
+
the member knows their colleagues are not reading it, and no surface
|
|
801
|
+
shows another member's reaction. Aggregate sentiment is a reporting
|
|
802
|
+
question, answered off the table directly rather than through this
|
|
803
|
+
endpoint.
|
|
804
|
+
|
|
805
|
+
Create for any member of the workspace — every submission is a new row
|
|
806
|
+
(see ``Reaction``). No update or delete: a changed mind is a new
|
|
807
|
+
reaction, not an edit to the old one.
|
|
808
|
+
|
|
809
|
+
GET /api/reactions/reactions/{id}/
|
|
810
|
+
|
|
745
811
|
### current tasks create
|
|
746
812
|
|
|
747
813
|
The caller's personal todos. Incomplete tasks sort before completed ones.
|
|
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
|