current-cli 0.1.42__tar.gz → 0.1.44__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.42 → current_cli-0.1.44}/PKG-INFO +1 -1
- {current_cli-0.1.42 → current_cli-0.1.44}/current_cli/schema.yml +93 -20
- {current_cli-0.1.42 → current_cli-0.1.44}/llms.txt +74 -19
- {current_cli-0.1.42 → current_cli-0.1.44}/pyproject.toml +1 -1
- {current_cli-0.1.42 → current_cli-0.1.44}/.gitignore +0 -0
- {current_cli-0.1.42 → current_cli-0.1.44}/README.md +0 -0
- {current_cli-0.1.42 → current_cli-0.1.44}/current_cli/__init__.py +0 -0
- {current_cli-0.1.42 → current_cli-0.1.44}/current_cli/build.py +0 -0
- {current_cli-0.1.42 → current_cli-0.1.44}/current_cli/config.py +0 -0
- {current_cli-0.1.42 → current_cli-0.1.44}/current_cli/docs.py +0 -0
- {current_cli-0.1.42 → current_cli-0.1.44}/current_cli/http.py +0 -0
- {current_cli-0.1.42 → current_cli-0.1.44}/current_cli/main.py +0 -0
- {current_cli-0.1.42 → current_cli-0.1.44}/current_cli/schema.py +0 -0
- {current_cli-0.1.42 → current_cli-0.1.44}/scripts/bump_version.py +0 -0
- {current_cli-0.1.42 → current_cli-0.1.44}/tests/__init__.py +0 -0
- {current_cli-0.1.42 → current_cli-0.1.44}/tests/conftest.py +0 -0
- {current_cli-0.1.42 → current_cli-0.1.44}/tests/test_auth.py +0 -0
- {current_cli-0.1.42 → current_cli-0.1.44}/tests/test_bump_version.py +0 -0
- {current_cli-0.1.42 → current_cli-0.1.44}/tests/test_command_tree.py +0 -0
- {current_cli-0.1.42 → current_cli-0.1.44}/tests/test_docs.py +0 -0
- {current_cli-0.1.42 → current_cli-0.1.44}/tests/test_requests.py +0 -0
|
@@ -2013,8 +2013,10 @@ paths:
|
|
|
2013
2013
|
type: string
|
|
2014
2014
|
description: Keep only projects whose current value matches, as 'key:value'
|
|
2015
2015
|
(for example 'status:Active'). Repeat for more fields; repeating one key
|
|
2016
|
-
accepts any of its values. An option matches by label, value, or ID.
|
|
2017
|
-
|
|
2016
|
+
accepts any of its values. An option matches by label, value, or ID. Use
|
|
2017
|
+
'key:*' for any value (is not blank) and 'key:!' for no value (is blank).
|
|
2018
|
+
A number or date value may lead with '<', '<=', '>', or '>='; two bounds
|
|
2019
|
+
on one key are a range. 'total' counts the matching projects.
|
|
2018
2020
|
- in: query
|
|
2019
2021
|
name: limit
|
|
2020
2022
|
schema:
|
|
@@ -2093,12 +2095,29 @@ paths:
|
|
|
2093
2095
|
Thumbs up/down (+ optional reason and comment) on a piece of platform
|
|
2094
2096
|
output.
|
|
2095
2097
|
|
|
2096
|
-
Reads
|
|
2097
|
-
|
|
2098
|
-
the
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2098
|
+
Reads have two scopes, chosen by the ``scope`` query parameter:
|
|
2099
|
+
|
|
2100
|
+
- ``mine`` (the default) — the reactions the caller gave, and nobody
|
|
2101
|
+
else's. This is what a plain member gets, whatever they ask for.
|
|
2102
|
+
- ``workspace`` — every member's reactions, restricted to the workspaces
|
|
2103
|
+
the caller is an admin of. A caller who administers no workspace reads
|
|
2104
|
+
nothing under this scope; an admin of one workspace does not thereby
|
|
2105
|
+
read a workspace where they are only a member.
|
|
2106
|
+
|
|
2107
|
+
Author-only is the default rather than the rule because the alternative
|
|
2108
|
+
breaks the caller that exists. The portal reads this endpoint to draw a
|
|
2109
|
+
member's own thumb (``getMyReaction``/``getMyReactions`` in
|
|
2110
|
+
``reactionsLogic.ts``) and takes the first row for a subject as "my
|
|
2111
|
+
current reaction". Widening reads for admins by default would silently
|
|
2112
|
+
make an admin's own widget show whichever teammate reacted last. An
|
|
2113
|
+
explicit ``scope=workspace`` keeps that call path byte-for-byte
|
|
2114
|
+
unchanged and makes reading a colleague's feedback a deliberate act.
|
|
2115
|
+
|
|
2116
|
+
A member is told this: feedback is private from their colleagues, but an
|
|
2117
|
+
admin of their workspace can read it. That is a weaker promise than the
|
|
2118
|
+
one this endpoint shipped with, and it is the honest one — an admin has
|
|
2119
|
+
to be able to see whether the platform's output is any good, and the
|
|
2120
|
+
alternative in practice was reading the production database.
|
|
2102
2121
|
|
|
2103
2122
|
Create for any member of the workspace — every submission is a new row
|
|
2104
2123
|
(see ``Reaction``). No update or delete: a changed mind is a new
|
|
@@ -2121,6 +2140,16 @@ paths:
|
|
|
2121
2140
|
schema:
|
|
2122
2141
|
type: string
|
|
2123
2142
|
description: Filter by project UUID
|
|
2143
|
+
- in: query
|
|
2144
|
+
name: scope
|
|
2145
|
+
schema:
|
|
2146
|
+
type: string
|
|
2147
|
+
enum:
|
|
2148
|
+
- mine
|
|
2149
|
+
- workspace
|
|
2150
|
+
description: Whose reactions to read. 'mine' (the default) reads your own.
|
|
2151
|
+
'workspace' reads every member's, and returns rows only from the workspaces
|
|
2152
|
+
you are an admin of.
|
|
2124
2153
|
- in: query
|
|
2125
2154
|
name: subject_id
|
|
2126
2155
|
schema:
|
|
@@ -2159,12 +2188,29 @@ paths:
|
|
|
2159
2188
|
Thumbs up/down (+ optional reason and comment) on a piece of platform
|
|
2160
2189
|
output.
|
|
2161
2190
|
|
|
2162
|
-
Reads
|
|
2163
|
-
|
|
2164
|
-
the
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2191
|
+
Reads have two scopes, chosen by the ``scope`` query parameter:
|
|
2192
|
+
|
|
2193
|
+
- ``mine`` (the default) — the reactions the caller gave, and nobody
|
|
2194
|
+
else's. This is what a plain member gets, whatever they ask for.
|
|
2195
|
+
- ``workspace`` — every member's reactions, restricted to the workspaces
|
|
2196
|
+
the caller is an admin of. A caller who administers no workspace reads
|
|
2197
|
+
nothing under this scope; an admin of one workspace does not thereby
|
|
2198
|
+
read a workspace where they are only a member.
|
|
2199
|
+
|
|
2200
|
+
Author-only is the default rather than the rule because the alternative
|
|
2201
|
+
breaks the caller that exists. The portal reads this endpoint to draw a
|
|
2202
|
+
member's own thumb (``getMyReaction``/``getMyReactions`` in
|
|
2203
|
+
``reactionsLogic.ts``) and takes the first row for a subject as "my
|
|
2204
|
+
current reaction". Widening reads for admins by default would silently
|
|
2205
|
+
make an admin's own widget show whichever teammate reacted last. An
|
|
2206
|
+
explicit ``scope=workspace`` keeps that call path byte-for-byte
|
|
2207
|
+
unchanged and makes reading a colleague's feedback a deliberate act.
|
|
2208
|
+
|
|
2209
|
+
A member is told this: feedback is private from their colleagues, but an
|
|
2210
|
+
admin of their workspace can read it. That is a weaker promise than the
|
|
2211
|
+
one this endpoint shipped with, and it is the honest one — an admin has
|
|
2212
|
+
to be able to see whether the platform's output is any good, and the
|
|
2213
|
+
alternative in practice was reading the production database.
|
|
2168
2214
|
|
|
2169
2215
|
Create for any member of the workspace — every submission is a new row
|
|
2170
2216
|
(see ``Reaction``). No update or delete: a changed mind is a new
|
|
@@ -2200,12 +2246,29 @@ paths:
|
|
|
2200
2246
|
Thumbs up/down (+ optional reason and comment) on a piece of platform
|
|
2201
2247
|
output.
|
|
2202
2248
|
|
|
2203
|
-
Reads
|
|
2204
|
-
|
|
2205
|
-
the
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2249
|
+
Reads have two scopes, chosen by the ``scope`` query parameter:
|
|
2250
|
+
|
|
2251
|
+
- ``mine`` (the default) — the reactions the caller gave, and nobody
|
|
2252
|
+
else's. This is what a plain member gets, whatever they ask for.
|
|
2253
|
+
- ``workspace`` — every member's reactions, restricted to the workspaces
|
|
2254
|
+
the caller is an admin of. A caller who administers no workspace reads
|
|
2255
|
+
nothing under this scope; an admin of one workspace does not thereby
|
|
2256
|
+
read a workspace where they are only a member.
|
|
2257
|
+
|
|
2258
|
+
Author-only is the default rather than the rule because the alternative
|
|
2259
|
+
breaks the caller that exists. The portal reads this endpoint to draw a
|
|
2260
|
+
member's own thumb (``getMyReaction``/``getMyReactions`` in
|
|
2261
|
+
``reactionsLogic.ts``) and takes the first row for a subject as "my
|
|
2262
|
+
current reaction". Widening reads for admins by default would silently
|
|
2263
|
+
make an admin's own widget show whichever teammate reacted last. An
|
|
2264
|
+
explicit ``scope=workspace`` keeps that call path byte-for-byte
|
|
2265
|
+
unchanged and makes reading a colleague's feedback a deliberate act.
|
|
2266
|
+
|
|
2267
|
+
A member is told this: feedback is private from their colleagues, but an
|
|
2268
|
+
admin of their workspace can read it. That is a weaker promise than the
|
|
2269
|
+
one this endpoint shipped with, and it is the honest one — an admin has
|
|
2270
|
+
to be able to see whether the platform's output is any good, and the
|
|
2271
|
+
alternative in practice was reading the production database.
|
|
2209
2272
|
|
|
2210
2273
|
Create for any member of the workspace — every submission is a new row
|
|
2211
2274
|
(see ``Reaction``). No update or delete: a changed mind is a new
|
|
@@ -2218,6 +2281,16 @@ paths:
|
|
|
2218
2281
|
format: uuid
|
|
2219
2282
|
description: A UUID string identifying this reaction.
|
|
2220
2283
|
required: true
|
|
2284
|
+
- in: query
|
|
2285
|
+
name: scope
|
|
2286
|
+
schema:
|
|
2287
|
+
type: string
|
|
2288
|
+
enum:
|
|
2289
|
+
- mine
|
|
2290
|
+
- workspace
|
|
2291
|
+
description: Whose reactions to read. 'mine' (the default) reads your own.
|
|
2292
|
+
'workspace' reads every member's, and returns rows only from the workspaces
|
|
2293
|
+
you are an admin of.
|
|
2221
2294
|
tags:
|
|
2222
2295
|
- reactions
|
|
2223
2296
|
security:
|
|
@@ -682,7 +682,7 @@ GET /api/projects/projects/inventory/
|
|
|
682
682
|
|
|
683
683
|
Options:
|
|
684
684
|
- `--fields` - Field keys to keep; omit to return every current value
|
|
685
|
-
- `--filter` - Keep only projects whose current value matches, as 'key:value' (for example 'status:Active'). Repeat for more fields; repeating one key accepts any of its values. An option matches by label, value, or ID. 'total' counts the matching projects.
|
|
685
|
+
- `--filter` - Keep only projects whose current value matches, as 'key:value' (for example 'status:Active'). Repeat for more fields; repeating one key accepts any of its values. An option matches by label, value, or ID. Use 'key:*' for any value (is not blank) and 'key:!' for no value (is blank). A number or date value may lead with '<', '<=', '>', or '>='; two bounds on one key are a range. 'total' counts the matching projects.
|
|
686
686
|
- `--limit` - Max projects per page (default 100, max 200)
|
|
687
687
|
- `--offset` - Number of projects to skip (default 0)
|
|
688
688
|
- `--values` - Read option values as labels (default) or as option IDs
|
|
@@ -758,12 +758,29 @@ Options:
|
|
|
758
758
|
Thumbs up/down (+ optional reason and comment) on a piece of platform
|
|
759
759
|
output.
|
|
760
760
|
|
|
761
|
-
Reads
|
|
762
|
-
|
|
763
|
-
the
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
761
|
+
Reads have two scopes, chosen by the ``scope`` query parameter:
|
|
762
|
+
|
|
763
|
+
- ``mine`` (the default) — the reactions the caller gave, and nobody
|
|
764
|
+
else's. This is what a plain member gets, whatever they ask for.
|
|
765
|
+
- ``workspace`` — every member's reactions, restricted to the workspaces
|
|
766
|
+
the caller is an admin of. A caller who administers no workspace reads
|
|
767
|
+
nothing under this scope; an admin of one workspace does not thereby
|
|
768
|
+
read a workspace where they are only a member.
|
|
769
|
+
|
|
770
|
+
Author-only is the default rather than the rule because the alternative
|
|
771
|
+
breaks the caller that exists. The portal reads this endpoint to draw a
|
|
772
|
+
member's own thumb (``getMyReaction``/``getMyReactions`` in
|
|
773
|
+
``reactionsLogic.ts``) and takes the first row for a subject as "my
|
|
774
|
+
current reaction". Widening reads for admins by default would silently
|
|
775
|
+
make an admin's own widget show whichever teammate reacted last. An
|
|
776
|
+
explicit ``scope=workspace`` keeps that call path byte-for-byte
|
|
777
|
+
unchanged and makes reading a colleague's feedback a deliberate act.
|
|
778
|
+
|
|
779
|
+
A member is told this: feedback is private from their colleagues, but an
|
|
780
|
+
admin of their workspace can read it. That is a weaker promise than the
|
|
781
|
+
one this endpoint shipped with, and it is the honest one — an admin has
|
|
782
|
+
to be able to see whether the platform's output is any good, and the
|
|
783
|
+
alternative in practice was reading the production database.
|
|
767
784
|
|
|
768
785
|
Create for any member of the workspace — every submission is a new row
|
|
769
786
|
(see ``Reaction``). No update or delete: a changed mind is a new
|
|
@@ -779,12 +796,29 @@ Options:
|
|
|
779
796
|
Thumbs up/down (+ optional reason and comment) on a piece of platform
|
|
780
797
|
output.
|
|
781
798
|
|
|
782
|
-
Reads
|
|
783
|
-
|
|
784
|
-
the
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
799
|
+
Reads have two scopes, chosen by the ``scope`` query parameter:
|
|
800
|
+
|
|
801
|
+
- ``mine`` (the default) — the reactions the caller gave, and nobody
|
|
802
|
+
else's. This is what a plain member gets, whatever they ask for.
|
|
803
|
+
- ``workspace`` — every member's reactions, restricted to the workspaces
|
|
804
|
+
the caller is an admin of. A caller who administers no workspace reads
|
|
805
|
+
nothing under this scope; an admin of one workspace does not thereby
|
|
806
|
+
read a workspace where they are only a member.
|
|
807
|
+
|
|
808
|
+
Author-only is the default rather than the rule because the alternative
|
|
809
|
+
breaks the caller that exists. The portal reads this endpoint to draw a
|
|
810
|
+
member's own thumb (``getMyReaction``/``getMyReactions`` in
|
|
811
|
+
``reactionsLogic.ts``) and takes the first row for a subject as "my
|
|
812
|
+
current reaction". Widening reads for admins by default would silently
|
|
813
|
+
make an admin's own widget show whichever teammate reacted last. An
|
|
814
|
+
explicit ``scope=workspace`` keeps that call path byte-for-byte
|
|
815
|
+
unchanged and makes reading a colleague's feedback a deliberate act.
|
|
816
|
+
|
|
817
|
+
A member is told this: feedback is private from their colleagues, but an
|
|
818
|
+
admin of their workspace can read it. That is a weaker promise than the
|
|
819
|
+
one this endpoint shipped with, and it is the honest one — an admin has
|
|
820
|
+
to be able to see whether the platform's output is any good, and the
|
|
821
|
+
alternative in practice was reading the production database.
|
|
788
822
|
|
|
789
823
|
Create for any member of the workspace — every submission is a new row
|
|
790
824
|
(see ``Reaction``). No update or delete: a changed mind is a new
|
|
@@ -796,6 +830,7 @@ Options:
|
|
|
796
830
|
- `--limit` - Number of results to return per page.
|
|
797
831
|
- `--offset` - The initial index from which to return the results.
|
|
798
832
|
- `--project` - Filter by project UUID
|
|
833
|
+
- `--scope` - Whose reactions to read. 'mine' (the default) reads your own. 'workspace' reads every member's, and returns rows only from the workspaces you are an admin of.
|
|
799
834
|
- `--subject-id` - Filter by subject id
|
|
800
835
|
- `--subject-type` - Filter by subject type
|
|
801
836
|
- `--subject-version` - Filter by subject version
|
|
@@ -806,12 +841,29 @@ Options:
|
|
|
806
841
|
Thumbs up/down (+ optional reason and comment) on a piece of platform
|
|
807
842
|
output.
|
|
808
843
|
|
|
809
|
-
Reads
|
|
810
|
-
|
|
811
|
-
the
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
844
|
+
Reads have two scopes, chosen by the ``scope`` query parameter:
|
|
845
|
+
|
|
846
|
+
- ``mine`` (the default) — the reactions the caller gave, and nobody
|
|
847
|
+
else's. This is what a plain member gets, whatever they ask for.
|
|
848
|
+
- ``workspace`` — every member's reactions, restricted to the workspaces
|
|
849
|
+
the caller is an admin of. A caller who administers no workspace reads
|
|
850
|
+
nothing under this scope; an admin of one workspace does not thereby
|
|
851
|
+
read a workspace where they are only a member.
|
|
852
|
+
|
|
853
|
+
Author-only is the default rather than the rule because the alternative
|
|
854
|
+
breaks the caller that exists. The portal reads this endpoint to draw a
|
|
855
|
+
member's own thumb (``getMyReaction``/``getMyReactions`` in
|
|
856
|
+
``reactionsLogic.ts``) and takes the first row for a subject as "my
|
|
857
|
+
current reaction". Widening reads for admins by default would silently
|
|
858
|
+
make an admin's own widget show whichever teammate reacted last. An
|
|
859
|
+
explicit ``scope=workspace`` keeps that call path byte-for-byte
|
|
860
|
+
unchanged and makes reading a colleague's feedback a deliberate act.
|
|
861
|
+
|
|
862
|
+
A member is told this: feedback is private from their colleagues, but an
|
|
863
|
+
admin of their workspace can read it. That is a weaker promise than the
|
|
864
|
+
one this endpoint shipped with, and it is the honest one — an admin has
|
|
865
|
+
to be able to see whether the platform's output is any good, and the
|
|
866
|
+
alternative in practice was reading the production database.
|
|
815
867
|
|
|
816
868
|
Create for any member of the workspace — every submission is a new row
|
|
817
869
|
(see ``Reaction``). No update or delete: a changed mind is a new
|
|
@@ -819,6 +871,9 @@ reaction, not an edit to the old one.
|
|
|
819
871
|
|
|
820
872
|
GET /api/reactions/reactions/{id}/
|
|
821
873
|
|
|
874
|
+
Options:
|
|
875
|
+
- `--scope` - Whose reactions to read. 'mine' (the default) reads your own. 'workspace' reads every member's, and returns rows only from the workspaces you are an admin of.
|
|
876
|
+
|
|
822
877
|
### current tasks create
|
|
823
878
|
|
|
824
879
|
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
|