current-cli 0.1.42__tar.gz → 0.1.43__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.43}/PKG-INFO +1 -1
- {current_cli-0.1.42 → current_cli-0.1.43}/current_cli/schema.yml +89 -18
- {current_cli-0.1.42 → current_cli-0.1.43}/llms.txt +73 -18
- {current_cli-0.1.42 → current_cli-0.1.43}/pyproject.toml +1 -1
- {current_cli-0.1.42 → current_cli-0.1.43}/.gitignore +0 -0
- {current_cli-0.1.42 → current_cli-0.1.43}/README.md +0 -0
- {current_cli-0.1.42 → current_cli-0.1.43}/current_cli/__init__.py +0 -0
- {current_cli-0.1.42 → current_cli-0.1.43}/current_cli/build.py +0 -0
- {current_cli-0.1.42 → current_cli-0.1.43}/current_cli/config.py +0 -0
- {current_cli-0.1.42 → current_cli-0.1.43}/current_cli/docs.py +0 -0
- {current_cli-0.1.42 → current_cli-0.1.43}/current_cli/http.py +0 -0
- {current_cli-0.1.42 → current_cli-0.1.43}/current_cli/main.py +0 -0
- {current_cli-0.1.42 → current_cli-0.1.43}/current_cli/schema.py +0 -0
- {current_cli-0.1.42 → current_cli-0.1.43}/scripts/bump_version.py +0 -0
- {current_cli-0.1.42 → current_cli-0.1.43}/tests/__init__.py +0 -0
- {current_cli-0.1.42 → current_cli-0.1.43}/tests/conftest.py +0 -0
- {current_cli-0.1.42 → current_cli-0.1.43}/tests/test_auth.py +0 -0
- {current_cli-0.1.42 → current_cli-0.1.43}/tests/test_bump_version.py +0 -0
- {current_cli-0.1.42 → current_cli-0.1.43}/tests/test_command_tree.py +0 -0
- {current_cli-0.1.42 → current_cli-0.1.43}/tests/test_docs.py +0 -0
- {current_cli-0.1.42 → current_cli-0.1.43}/tests/test_requests.py +0 -0
|
@@ -2093,12 +2093,29 @@ paths:
|
|
|
2093
2093
|
Thumbs up/down (+ optional reason and comment) on a piece of platform
|
|
2094
2094
|
output.
|
|
2095
2095
|
|
|
2096
|
-
Reads
|
|
2097
|
-
|
|
2098
|
-
the
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2096
|
+
Reads have two scopes, chosen by the ``scope`` query parameter:
|
|
2097
|
+
|
|
2098
|
+
- ``mine`` (the default) — the reactions the caller gave, and nobody
|
|
2099
|
+
else's. This is what a plain member gets, whatever they ask for.
|
|
2100
|
+
- ``workspace`` — every member's reactions, restricted to the workspaces
|
|
2101
|
+
the caller is an admin of. A caller who administers no workspace reads
|
|
2102
|
+
nothing under this scope; an admin of one workspace does not thereby
|
|
2103
|
+
read a workspace where they are only a member.
|
|
2104
|
+
|
|
2105
|
+
Author-only is the default rather than the rule because the alternative
|
|
2106
|
+
breaks the caller that exists. The portal reads this endpoint to draw a
|
|
2107
|
+
member's own thumb (``getMyReaction``/``getMyReactions`` in
|
|
2108
|
+
``reactionsLogic.ts``) and takes the first row for a subject as "my
|
|
2109
|
+
current reaction". Widening reads for admins by default would silently
|
|
2110
|
+
make an admin's own widget show whichever teammate reacted last. An
|
|
2111
|
+
explicit ``scope=workspace`` keeps that call path byte-for-byte
|
|
2112
|
+
unchanged and makes reading a colleague's feedback a deliberate act.
|
|
2113
|
+
|
|
2114
|
+
A member is told this: feedback is private from their colleagues, but an
|
|
2115
|
+
admin of their workspace can read it. That is a weaker promise than the
|
|
2116
|
+
one this endpoint shipped with, and it is the honest one — an admin has
|
|
2117
|
+
to be able to see whether the platform's output is any good, and the
|
|
2118
|
+
alternative in practice was reading the production database.
|
|
2102
2119
|
|
|
2103
2120
|
Create for any member of the workspace — every submission is a new row
|
|
2104
2121
|
(see ``Reaction``). No update or delete: a changed mind is a new
|
|
@@ -2121,6 +2138,16 @@ paths:
|
|
|
2121
2138
|
schema:
|
|
2122
2139
|
type: string
|
|
2123
2140
|
description: Filter by project UUID
|
|
2141
|
+
- in: query
|
|
2142
|
+
name: scope
|
|
2143
|
+
schema:
|
|
2144
|
+
type: string
|
|
2145
|
+
enum:
|
|
2146
|
+
- mine
|
|
2147
|
+
- workspace
|
|
2148
|
+
description: Whose reactions to read. 'mine' (the default) reads your own.
|
|
2149
|
+
'workspace' reads every member's, and returns rows only from the workspaces
|
|
2150
|
+
you are an admin of.
|
|
2124
2151
|
- in: query
|
|
2125
2152
|
name: subject_id
|
|
2126
2153
|
schema:
|
|
@@ -2159,12 +2186,29 @@ paths:
|
|
|
2159
2186
|
Thumbs up/down (+ optional reason and comment) on a piece of platform
|
|
2160
2187
|
output.
|
|
2161
2188
|
|
|
2162
|
-
Reads
|
|
2163
|
-
|
|
2164
|
-
the
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2189
|
+
Reads have two scopes, chosen by the ``scope`` query parameter:
|
|
2190
|
+
|
|
2191
|
+
- ``mine`` (the default) — the reactions the caller gave, and nobody
|
|
2192
|
+
else's. This is what a plain member gets, whatever they ask for.
|
|
2193
|
+
- ``workspace`` — every member's reactions, restricted to the workspaces
|
|
2194
|
+
the caller is an admin of. A caller who administers no workspace reads
|
|
2195
|
+
nothing under this scope; an admin of one workspace does not thereby
|
|
2196
|
+
read a workspace where they are only a member.
|
|
2197
|
+
|
|
2198
|
+
Author-only is the default rather than the rule because the alternative
|
|
2199
|
+
breaks the caller that exists. The portal reads this endpoint to draw a
|
|
2200
|
+
member's own thumb (``getMyReaction``/``getMyReactions`` in
|
|
2201
|
+
``reactionsLogic.ts``) and takes the first row for a subject as "my
|
|
2202
|
+
current reaction". Widening reads for admins by default would silently
|
|
2203
|
+
make an admin's own widget show whichever teammate reacted last. An
|
|
2204
|
+
explicit ``scope=workspace`` keeps that call path byte-for-byte
|
|
2205
|
+
unchanged and makes reading a colleague's feedback a deliberate act.
|
|
2206
|
+
|
|
2207
|
+
A member is told this: feedback is private from their colleagues, but an
|
|
2208
|
+
admin of their workspace can read it. That is a weaker promise than the
|
|
2209
|
+
one this endpoint shipped with, and it is the honest one — an admin has
|
|
2210
|
+
to be able to see whether the platform's output is any good, and the
|
|
2211
|
+
alternative in practice was reading the production database.
|
|
2168
2212
|
|
|
2169
2213
|
Create for any member of the workspace — every submission is a new row
|
|
2170
2214
|
(see ``Reaction``). No update or delete: a changed mind is a new
|
|
@@ -2200,12 +2244,29 @@ paths:
|
|
|
2200
2244
|
Thumbs up/down (+ optional reason and comment) on a piece of platform
|
|
2201
2245
|
output.
|
|
2202
2246
|
|
|
2203
|
-
Reads
|
|
2204
|
-
|
|
2205
|
-
the
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2247
|
+
Reads have two scopes, chosen by the ``scope`` query parameter:
|
|
2248
|
+
|
|
2249
|
+
- ``mine`` (the default) — the reactions the caller gave, and nobody
|
|
2250
|
+
else's. This is what a plain member gets, whatever they ask for.
|
|
2251
|
+
- ``workspace`` — every member's reactions, restricted to the workspaces
|
|
2252
|
+
the caller is an admin of. A caller who administers no workspace reads
|
|
2253
|
+
nothing under this scope; an admin of one workspace does not thereby
|
|
2254
|
+
read a workspace where they are only a member.
|
|
2255
|
+
|
|
2256
|
+
Author-only is the default rather than the rule because the alternative
|
|
2257
|
+
breaks the caller that exists. The portal reads this endpoint to draw a
|
|
2258
|
+
member's own thumb (``getMyReaction``/``getMyReactions`` in
|
|
2259
|
+
``reactionsLogic.ts``) and takes the first row for a subject as "my
|
|
2260
|
+
current reaction". Widening reads for admins by default would silently
|
|
2261
|
+
make an admin's own widget show whichever teammate reacted last. An
|
|
2262
|
+
explicit ``scope=workspace`` keeps that call path byte-for-byte
|
|
2263
|
+
unchanged and makes reading a colleague's feedback a deliberate act.
|
|
2264
|
+
|
|
2265
|
+
A member is told this: feedback is private from their colleagues, but an
|
|
2266
|
+
admin of their workspace can read it. That is a weaker promise than the
|
|
2267
|
+
one this endpoint shipped with, and it is the honest one — an admin has
|
|
2268
|
+
to be able to see whether the platform's output is any good, and the
|
|
2269
|
+
alternative in practice was reading the production database.
|
|
2209
2270
|
|
|
2210
2271
|
Create for any member of the workspace — every submission is a new row
|
|
2211
2272
|
(see ``Reaction``). No update or delete: a changed mind is a new
|
|
@@ -2218,6 +2279,16 @@ paths:
|
|
|
2218
2279
|
format: uuid
|
|
2219
2280
|
description: A UUID string identifying this reaction.
|
|
2220
2281
|
required: true
|
|
2282
|
+
- in: query
|
|
2283
|
+
name: scope
|
|
2284
|
+
schema:
|
|
2285
|
+
type: string
|
|
2286
|
+
enum:
|
|
2287
|
+
- mine
|
|
2288
|
+
- workspace
|
|
2289
|
+
description: Whose reactions to read. 'mine' (the default) reads your own.
|
|
2290
|
+
'workspace' reads every member's, and returns rows only from the workspaces
|
|
2291
|
+
you are an admin of.
|
|
2221
2292
|
tags:
|
|
2222
2293
|
- reactions
|
|
2223
2294
|
security:
|
|
@@ -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
|