current-cli 0.1.81__tar.gz → 0.1.83__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.81 → current_cli-0.1.83}/PKG-INFO +1 -1
- {current_cli-0.1.81 → current_cli-0.1.83}/current_cli/schema.yml +394 -1
- {current_cli-0.1.81 → current_cli-0.1.83}/llms.txt +24 -0
- {current_cli-0.1.81 → current_cli-0.1.83}/pyproject.toml +1 -1
- {current_cli-0.1.81 → current_cli-0.1.83}/.gitignore +0 -0
- {current_cli-0.1.81 → current_cli-0.1.83}/README.md +0 -0
- {current_cli-0.1.81 → current_cli-0.1.83}/current_cli/__init__.py +0 -0
- {current_cli-0.1.81 → current_cli-0.1.83}/current_cli/build.py +0 -0
- {current_cli-0.1.81 → current_cli-0.1.83}/current_cli/config.py +0 -0
- {current_cli-0.1.81 → current_cli-0.1.83}/current_cli/docs.py +0 -0
- {current_cli-0.1.81 → current_cli-0.1.83}/current_cli/http.py +0 -0
- {current_cli-0.1.81 → current_cli-0.1.83}/current_cli/main.py +0 -0
- {current_cli-0.1.81 → current_cli-0.1.83}/current_cli/schema.py +0 -0
- {current_cli-0.1.81 → current_cli-0.1.83}/scripts/bump_version.py +0 -0
- {current_cli-0.1.81 → current_cli-0.1.83}/tests/__init__.py +0 -0
- {current_cli-0.1.81 → current_cli-0.1.83}/tests/conftest.py +0 -0
- {current_cli-0.1.81 → current_cli-0.1.83}/tests/test_auth.py +0 -0
- {current_cli-0.1.81 → current_cli-0.1.83}/tests/test_bump_version.py +0 -0
- {current_cli-0.1.81 → current_cli-0.1.83}/tests/test_command_tree.py +0 -0
- {current_cli-0.1.81 → current_cli-0.1.83}/tests/test_docs.py +0 -0
- {current_cli-0.1.81 → current_cli-0.1.83}/tests/test_requests.py +0 -0
|
@@ -1592,6 +1592,40 @@ paths:
|
|
|
1592
1592
|
schema:
|
|
1593
1593
|
$ref: '#/components/schemas/PromoteResponse'
|
|
1594
1594
|
description: ''
|
|
1595
|
+
/api/integrations/messaging/flag/:
|
|
1596
|
+
post:
|
|
1597
|
+
operationId: integrations_messaging_flag
|
|
1598
|
+
description: |-
|
|
1599
|
+
File a Linear triage ticket for Orin Labs, because a person asked the
|
|
1600
|
+
agent to flag something for the team that builds Current — see
|
|
1601
|
+
:mod:`integrations.flags`.
|
|
1602
|
+
|
|
1603
|
+
The agent writes the title and the details; the platform adds the
|
|
1604
|
+
workspace, the reporter and its own ids, and masks contact details, so a
|
|
1605
|
+
ticket never depends on the model to keep personal data out.
|
|
1606
|
+
tags:
|
|
1607
|
+
- integrations
|
|
1608
|
+
requestBody:
|
|
1609
|
+
content:
|
|
1610
|
+
application/json:
|
|
1611
|
+
schema:
|
|
1612
|
+
$ref: '#/components/schemas/MessagingFlagRequestRequest'
|
|
1613
|
+
application/x-www-form-urlencoded:
|
|
1614
|
+
schema:
|
|
1615
|
+
$ref: '#/components/schemas/MessagingFlagRequestRequest'
|
|
1616
|
+
multipart/form-data:
|
|
1617
|
+
schema:
|
|
1618
|
+
$ref: '#/components/schemas/MessagingFlagRequestRequest'
|
|
1619
|
+
required: true
|
|
1620
|
+
security:
|
|
1621
|
+
- MessagingJobTokenAuth: []
|
|
1622
|
+
responses:
|
|
1623
|
+
'200':
|
|
1624
|
+
content:
|
|
1625
|
+
application/json:
|
|
1626
|
+
schema:
|
|
1627
|
+
$ref: '#/components/schemas/MessagingFlagResponse'
|
|
1628
|
+
description: ''
|
|
1595
1629
|
/api/integrations/messaging/history/:
|
|
1596
1630
|
post:
|
|
1597
1631
|
operationId: integrations_messaging_history
|
|
@@ -2860,6 +2894,210 @@ paths:
|
|
|
2860
2894
|
schema:
|
|
2861
2895
|
$ref: '#/components/schemas/CloseoutQueueResponse'
|
|
2862
2896
|
description: ''
|
|
2897
|
+
/api/projects/projects/compare-cohorts/:
|
|
2898
|
+
post:
|
|
2899
|
+
operationId: projects_projects_compare_cohorts_create
|
|
2900
|
+
description: Compare complete recorded identity sets at one snapshot without
|
|
2901
|
+
writing state.
|
|
2902
|
+
tags:
|
|
2903
|
+
- projects
|
|
2904
|
+
requestBody:
|
|
2905
|
+
content:
|
|
2906
|
+
application/json:
|
|
2907
|
+
schema:
|
|
2908
|
+
additionalProperties: false
|
|
2909
|
+
properties:
|
|
2910
|
+
as_of:
|
|
2911
|
+
default: request_time
|
|
2912
|
+
title: As Of
|
|
2913
|
+
type: string
|
|
2914
|
+
identity_field:
|
|
2915
|
+
title: Identity Field
|
|
2916
|
+
type: string
|
|
2917
|
+
a:
|
|
2918
|
+
additionalProperties: false
|
|
2919
|
+
properties:
|
|
2920
|
+
name:
|
|
2921
|
+
maxLength: 80
|
|
2922
|
+
minLength: 1
|
|
2923
|
+
title: Name
|
|
2924
|
+
type: string
|
|
2925
|
+
filters:
|
|
2926
|
+
items:
|
|
2927
|
+
additionalProperties: false
|
|
2928
|
+
properties:
|
|
2929
|
+
field:
|
|
2930
|
+
title: Field
|
|
2931
|
+
type: string
|
|
2932
|
+
target:
|
|
2933
|
+
enum:
|
|
2934
|
+
- as_of
|
|
2935
|
+
- compare_to
|
|
2936
|
+
- changed
|
|
2937
|
+
- delta_days
|
|
2938
|
+
- year_changed
|
|
2939
|
+
title: Target
|
|
2940
|
+
type: string
|
|
2941
|
+
op:
|
|
2942
|
+
enum:
|
|
2943
|
+
- eq
|
|
2944
|
+
- ne
|
|
2945
|
+
- in
|
|
2946
|
+
- not_in
|
|
2947
|
+
- lt
|
|
2948
|
+
- lte
|
|
2949
|
+
- gt
|
|
2950
|
+
- gte
|
|
2951
|
+
- is_empty
|
|
2952
|
+
- is_missing
|
|
2953
|
+
- is_set
|
|
2954
|
+
title: Op
|
|
2955
|
+
type: string
|
|
2956
|
+
value:
|
|
2957
|
+
anyOf:
|
|
2958
|
+
- type: string
|
|
2959
|
+
- type: integer
|
|
2960
|
+
- type: number
|
|
2961
|
+
- type: boolean
|
|
2962
|
+
- items:
|
|
2963
|
+
anyOf:
|
|
2964
|
+
- type: string
|
|
2965
|
+
- type: integer
|
|
2966
|
+
- type: number
|
|
2967
|
+
- type: boolean
|
|
2968
|
+
type: array
|
|
2969
|
+
- type: 'null'
|
|
2970
|
+
title: Value
|
|
2971
|
+
required:
|
|
2972
|
+
- field
|
|
2973
|
+
- target
|
|
2974
|
+
- op
|
|
2975
|
+
- value
|
|
2976
|
+
title: FieldPredicate
|
|
2977
|
+
type: object
|
|
2978
|
+
maxItems: 20
|
|
2979
|
+
title: Filters
|
|
2980
|
+
type: array
|
|
2981
|
+
required:
|
|
2982
|
+
- name
|
|
2983
|
+
title: NamedProjectCohort
|
|
2984
|
+
type: object
|
|
2985
|
+
b:
|
|
2986
|
+
additionalProperties: false
|
|
2987
|
+
properties:
|
|
2988
|
+
name:
|
|
2989
|
+
maxLength: 80
|
|
2990
|
+
minLength: 1
|
|
2991
|
+
title: Name
|
|
2992
|
+
type: string
|
|
2993
|
+
filters:
|
|
2994
|
+
items:
|
|
2995
|
+
additionalProperties: false
|
|
2996
|
+
properties:
|
|
2997
|
+
field:
|
|
2998
|
+
title: Field
|
|
2999
|
+
type: string
|
|
3000
|
+
target:
|
|
3001
|
+
enum:
|
|
3002
|
+
- as_of
|
|
3003
|
+
- compare_to
|
|
3004
|
+
- changed
|
|
3005
|
+
- delta_days
|
|
3006
|
+
- year_changed
|
|
3007
|
+
title: Target
|
|
3008
|
+
type: string
|
|
3009
|
+
op:
|
|
3010
|
+
enum:
|
|
3011
|
+
- eq
|
|
3012
|
+
- ne
|
|
3013
|
+
- in
|
|
3014
|
+
- not_in
|
|
3015
|
+
- lt
|
|
3016
|
+
- lte
|
|
3017
|
+
- gt
|
|
3018
|
+
- gte
|
|
3019
|
+
- is_empty
|
|
3020
|
+
- is_missing
|
|
3021
|
+
- is_set
|
|
3022
|
+
title: Op
|
|
3023
|
+
type: string
|
|
3024
|
+
value:
|
|
3025
|
+
anyOf:
|
|
3026
|
+
- type: string
|
|
3027
|
+
- type: integer
|
|
3028
|
+
- type: number
|
|
3029
|
+
- type: boolean
|
|
3030
|
+
- items:
|
|
3031
|
+
anyOf:
|
|
3032
|
+
- type: string
|
|
3033
|
+
- type: integer
|
|
3034
|
+
- type: number
|
|
3035
|
+
- type: boolean
|
|
3036
|
+
type: array
|
|
3037
|
+
- type: 'null'
|
|
3038
|
+
title: Value
|
|
3039
|
+
required:
|
|
3040
|
+
- field
|
|
3041
|
+
- target
|
|
3042
|
+
- op
|
|
3043
|
+
- value
|
|
3044
|
+
title: FieldPredicate
|
|
3045
|
+
type: object
|
|
3046
|
+
maxItems: 20
|
|
3047
|
+
title: Filters
|
|
3048
|
+
type: array
|
|
3049
|
+
required:
|
|
3050
|
+
- name
|
|
3051
|
+
title: NamedProjectCohort
|
|
3052
|
+
type: object
|
|
3053
|
+
region:
|
|
3054
|
+
anyOf:
|
|
3055
|
+
- enum:
|
|
3056
|
+
- a
|
|
3057
|
+
- b
|
|
3058
|
+
- intersection
|
|
3059
|
+
- union
|
|
3060
|
+
- a_only
|
|
3061
|
+
- b_only
|
|
3062
|
+
type: string
|
|
3063
|
+
- type: 'null'
|
|
3064
|
+
default: null
|
|
3065
|
+
title: Region
|
|
3066
|
+
limit:
|
|
3067
|
+
default: 20
|
|
3068
|
+
maximum: 50
|
|
3069
|
+
minimum: 1
|
|
3070
|
+
title: Limit
|
|
3071
|
+
type: integer
|
|
3072
|
+
cursor:
|
|
3073
|
+
anyOf:
|
|
3074
|
+
- maxLength: 24000
|
|
3075
|
+
minLength: 1
|
|
3076
|
+
type: string
|
|
3077
|
+
- type: 'null'
|
|
3078
|
+
default: null
|
|
3079
|
+
title: Cursor
|
|
3080
|
+
workspace:
|
|
3081
|
+
format: uuid
|
|
3082
|
+
title: Workspace
|
|
3083
|
+
type: string
|
|
3084
|
+
required:
|
|
3085
|
+
- identity_field
|
|
3086
|
+
- a
|
|
3087
|
+
- b
|
|
3088
|
+
- workspace
|
|
3089
|
+
title: CohortComparisonRequest
|
|
3090
|
+
type: object
|
|
3091
|
+
security:
|
|
3092
|
+
- MessagingJobTokenAuth: []
|
|
3093
|
+
- tokenAuth: []
|
|
3094
|
+
responses:
|
|
3095
|
+
'200':
|
|
3096
|
+
content:
|
|
3097
|
+
application/json:
|
|
3098
|
+
schema:
|
|
3099
|
+
$ref: '#/components/schemas/CohortComparisonResponse'
|
|
3100
|
+
description: ''
|
|
2863
3101
|
/api/projects/projects/continue-query/:
|
|
2864
3102
|
post:
|
|
2865
3103
|
operationId: projects_projects_continue_query_create
|
|
@@ -2896,7 +3134,7 @@ paths:
|
|
|
2896
3134
|
content:
|
|
2897
3135
|
application/json:
|
|
2898
3136
|
schema:
|
|
2899
|
-
$ref: '#/components/schemas/
|
|
3137
|
+
$ref: '#/components/schemas/QueryContinuationResponse'
|
|
2900
3138
|
description: ''
|
|
2901
3139
|
/api/projects/projects/inventory/:
|
|
2902
3140
|
get:
|
|
@@ -7133,6 +7371,114 @@ components:
|
|
|
7133
7371
|
nullable: true
|
|
7134
7372
|
required:
|
|
7135
7373
|
- outcome
|
|
7374
|
+
CohortComparisonResponse:
|
|
7375
|
+
type: object
|
|
7376
|
+
properties:
|
|
7377
|
+
unit:
|
|
7378
|
+
type: string
|
|
7379
|
+
identity_field:
|
|
7380
|
+
type: string
|
|
7381
|
+
identity_verification:
|
|
7382
|
+
$ref: '#/components/schemas/IdentityVerificationEnum'
|
|
7383
|
+
timezone:
|
|
7384
|
+
type: string
|
|
7385
|
+
time_basis:
|
|
7386
|
+
type: string
|
|
7387
|
+
as_of:
|
|
7388
|
+
type: string
|
|
7389
|
+
format: date-time
|
|
7390
|
+
query_clock:
|
|
7391
|
+
type: string
|
|
7392
|
+
format: date-time
|
|
7393
|
+
cohorts:
|
|
7394
|
+
type: object
|
|
7395
|
+
additionalProperties:
|
|
7396
|
+
$ref: '#/components/schemas/CohortResult'
|
|
7397
|
+
sets:
|
|
7398
|
+
type: object
|
|
7399
|
+
additionalProperties:
|
|
7400
|
+
type: integer
|
|
7401
|
+
calculation:
|
|
7402
|
+
type: string
|
|
7403
|
+
coverage_complete:
|
|
7404
|
+
type: boolean
|
|
7405
|
+
coverage_scope:
|
|
7406
|
+
type: string
|
|
7407
|
+
region:
|
|
7408
|
+
type: string
|
|
7409
|
+
nullable: true
|
|
7410
|
+
roster_count:
|
|
7411
|
+
type: integer
|
|
7412
|
+
nullable: true
|
|
7413
|
+
items:
|
|
7414
|
+
type: array
|
|
7415
|
+
items:
|
|
7416
|
+
type: object
|
|
7417
|
+
additionalProperties:
|
|
7418
|
+
type: string
|
|
7419
|
+
next_cursor:
|
|
7420
|
+
type: string
|
|
7421
|
+
nullable: true
|
|
7422
|
+
next_token:
|
|
7423
|
+
type: string
|
|
7424
|
+
nullable: true
|
|
7425
|
+
required:
|
|
7426
|
+
- as_of
|
|
7427
|
+
- calculation
|
|
7428
|
+
- cohorts
|
|
7429
|
+
- coverage_complete
|
|
7430
|
+
- coverage_scope
|
|
7431
|
+
- identity_field
|
|
7432
|
+
- identity_verification
|
|
7433
|
+
- items
|
|
7434
|
+
- next_cursor
|
|
7435
|
+
- next_token
|
|
7436
|
+
- query_clock
|
|
7437
|
+
- region
|
|
7438
|
+
- roster_count
|
|
7439
|
+
- sets
|
|
7440
|
+
- time_basis
|
|
7441
|
+
- timezone
|
|
7442
|
+
- unit
|
|
7443
|
+
CohortCoverage:
|
|
7444
|
+
type: object
|
|
7445
|
+
properties:
|
|
7446
|
+
candidate_projects:
|
|
7447
|
+
type: integer
|
|
7448
|
+
confirmed_matches:
|
|
7449
|
+
type: integer
|
|
7450
|
+
unevaluable_projects:
|
|
7451
|
+
type: integer
|
|
7452
|
+
matching_projects_without_identity:
|
|
7453
|
+
type: integer
|
|
7454
|
+
complete:
|
|
7455
|
+
type: boolean
|
|
7456
|
+
required:
|
|
7457
|
+
- candidate_projects
|
|
7458
|
+
- complete
|
|
7459
|
+
- confirmed_matches
|
|
7460
|
+
- matching_projects_without_identity
|
|
7461
|
+
- unevaluable_projects
|
|
7462
|
+
CohortResult:
|
|
7463
|
+
type: object
|
|
7464
|
+
properties:
|
|
7465
|
+
name:
|
|
7466
|
+
type: string
|
|
7467
|
+
project_count:
|
|
7468
|
+
type: integer
|
|
7469
|
+
identity_count:
|
|
7470
|
+
type: integer
|
|
7471
|
+
normalized_filters:
|
|
7472
|
+
type: array
|
|
7473
|
+
items: {}
|
|
7474
|
+
coverage:
|
|
7475
|
+
$ref: '#/components/schemas/CohortCoverage'
|
|
7476
|
+
required:
|
|
7477
|
+
- coverage
|
|
7478
|
+
- identity_count
|
|
7479
|
+
- name
|
|
7480
|
+
- normalized_filters
|
|
7481
|
+
- project_count
|
|
7136
7482
|
ColorEnum:
|
|
7137
7483
|
enum:
|
|
7138
7484
|
- neutral
|
|
@@ -8489,6 +8835,16 @@ components:
|
|
|
8489
8835
|
required:
|
|
8490
8836
|
- granted
|
|
8491
8837
|
- wait_seconds
|
|
8838
|
+
IdentityVerificationEnum:
|
|
8839
|
+
enum:
|
|
8840
|
+
- source_identity
|
|
8841
|
+
- unmapped
|
|
8842
|
+
- unavailable
|
|
8843
|
+
type: string
|
|
8844
|
+
description: |-
|
|
8845
|
+
* `source_identity` - source_identity
|
|
8846
|
+
* `unmapped` - unmapped
|
|
8847
|
+
* `unavailable` - unavailable
|
|
8492
8848
|
InboxRoleEnum:
|
|
8493
8849
|
enum:
|
|
8494
8850
|
- interaction
|
|
@@ -9176,6 +9532,39 @@ components:
|
|
|
9176
9532
|
- role
|
|
9177
9533
|
- workspace_id
|
|
9178
9534
|
- workspace_name
|
|
9535
|
+
MessagingFlagRequestRequest:
|
|
9536
|
+
type: object
|
|
9537
|
+
properties:
|
|
9538
|
+
workspace:
|
|
9539
|
+
type: string
|
|
9540
|
+
format: uuid
|
|
9541
|
+
reply_ref: {}
|
|
9542
|
+
title:
|
|
9543
|
+
type: string
|
|
9544
|
+
minLength: 1
|
|
9545
|
+
maxLength: 200
|
|
9546
|
+
details:
|
|
9547
|
+
type: string
|
|
9548
|
+
minLength: 1
|
|
9549
|
+
maxLength: 10000
|
|
9550
|
+
project:
|
|
9551
|
+
type: string
|
|
9552
|
+
format: uuid
|
|
9553
|
+
required:
|
|
9554
|
+
- details
|
|
9555
|
+
- reply_ref
|
|
9556
|
+
- title
|
|
9557
|
+
- workspace
|
|
9558
|
+
MessagingFlagResponse:
|
|
9559
|
+
type: object
|
|
9560
|
+
properties:
|
|
9561
|
+
ok:
|
|
9562
|
+
type: boolean
|
|
9563
|
+
detail:
|
|
9564
|
+
type: string
|
|
9565
|
+
required:
|
|
9566
|
+
- detail
|
|
9567
|
+
- ok
|
|
9179
9568
|
MessagingHistoryRequestRequest:
|
|
9180
9569
|
type: object
|
|
9181
9570
|
properties:
|
|
@@ -10318,6 +10707,10 @@ components:
|
|
|
10318
10707
|
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{0,79}$
|
|
10319
10708
|
required:
|
|
10320
10709
|
- batch_id
|
|
10710
|
+
QueryContinuationResponse:
|
|
10711
|
+
oneOf:
|
|
10712
|
+
- $ref: '#/components/schemas/FieldQueryResponse'
|
|
10713
|
+
- $ref: '#/components/schemas/CohortComparisonResponse'
|
|
10321
10714
|
QueryFieldDescriptor:
|
|
10322
10715
|
type: object
|
|
10323
10716
|
properties:
|
|
@@ -545,6 +545,21 @@ POST /api/integrations/messaging/files/upload-urls/
|
|
|
545
545
|
Options:
|
|
546
546
|
- `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
|
|
547
547
|
|
|
548
|
+
### current integrations messaging flag post
|
|
549
|
+
|
|
550
|
+
File a Linear triage ticket for Orin Labs, because a person asked the
|
|
551
|
+
agent to flag something for the team that builds Current — see
|
|
552
|
+
:mod:`integrations.flags`.
|
|
553
|
+
|
|
554
|
+
The agent writes the title and the details; the platform adds the
|
|
555
|
+
workspace, the reporter and its own ids, and masks contact details, so a
|
|
556
|
+
ticket never depends on the model to keep personal data out.
|
|
557
|
+
|
|
558
|
+
POST /api/integrations/messaging/flag/
|
|
559
|
+
|
|
560
|
+
Options:
|
|
561
|
+
- `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
|
|
562
|
+
|
|
548
563
|
### current integrations messaging history post
|
|
549
564
|
|
|
550
565
|
What was already said in this conversation, oldest last.
|
|
@@ -819,6 +834,15 @@ Options:
|
|
|
819
834
|
- `--status` - Which reviewed projects to keep: 'pending' (default) for the ones asking something of a person, 'clear' for the rest, 'all' for both. A project with no closeout review is absent at every status.
|
|
820
835
|
- `--workspace` - Workspace UUID
|
|
821
836
|
|
|
837
|
+
### current projects compare-cohorts create
|
|
838
|
+
|
|
839
|
+
Compare complete recorded identity sets at one snapshot without writing state.
|
|
840
|
+
|
|
841
|
+
POST /api/projects/projects/compare-cohorts/
|
|
842
|
+
|
|
843
|
+
Options:
|
|
844
|
+
- `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
|
|
845
|
+
|
|
822
846
|
### current projects continue-query create
|
|
823
847
|
|
|
824
848
|
Continue a read-only project query without reconstructing arguments.
|
|
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
|