current-cli 0.1.36__tar.gz → 0.1.38__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: current-cli
3
- Version: 0.1.36
3
+ Version: 0.1.38
4
4
  Summary: Command line interface for the Current API, generated from its OpenAPI schema at runtime
5
5
  Author-email: Orin <your-email@example.com>
6
6
  License-Expression: MIT
@@ -767,7 +767,7 @@ paths:
767
767
  description: |-
768
768
  Workspace integration connections. Created via the OAuth callback, or
769
769
  via connect-api-user for providers that support credentials; any member
770
- can list, only admins can connect or disconnect.
770
+ can list, only admins can connect, pause a sync, or disconnect.
771
771
  parameters:
772
772
  - in: query
773
773
  name: workspace
@@ -794,7 +794,7 @@ paths:
794
794
  description: |-
795
795
  Workspace integration connections. Created via the OAuth callback, or
796
796
  via connect-api-user for providers that support credentials; any member
797
- can list, only admins can connect or disconnect.
797
+ can list, only admins can connect, pause a sync, or disconnect.
798
798
  parameters:
799
799
  - in: path
800
800
  name: id
@@ -863,6 +863,63 @@ paths:
863
863
  items:
864
864
  $ref: '#/components/schemas/SlackChannel'
865
865
  description: ''
866
+ /api/integrations/connections/{id}/pause-sync/:
867
+ post:
868
+ operationId: integrations_connections_pause_sync_create
869
+ description: |-
870
+ Stop the scheduled sync for this connection.
871
+
872
+ The connection stays active: workflow tools, webhooks, and manual
873
+ reads keep working. Only the recurring job stops. Data already in the
874
+ workspace is left alone.
875
+ parameters:
876
+ - in: path
877
+ name: id
878
+ schema:
879
+ type: string
880
+ format: uuid
881
+ description: A UUID string identifying this integration connection.
882
+ required: true
883
+ tags:
884
+ - integrations
885
+ security:
886
+ - MessagingJobTokenAuth: []
887
+ - tokenAuth: []
888
+ responses:
889
+ '200':
890
+ content:
891
+ application/json:
892
+ schema:
893
+ $ref: '#/components/schemas/IntegrationConnection'
894
+ description: ''
895
+ /api/integrations/connections/{id}/resume-sync/:
896
+ post:
897
+ operationId: integrations_connections_resume_sync_create
898
+ description: |-
899
+ Let the scheduled sync run again.
900
+
901
+ The sync keeps no watermark, so the next run reads the current state
902
+ of the provider and closes whatever gap the pause opened.
903
+ parameters:
904
+ - in: path
905
+ name: id
906
+ schema:
907
+ type: string
908
+ format: uuid
909
+ description: A UUID string identifying this integration connection.
910
+ required: true
911
+ tags:
912
+ - integrations
913
+ security:
914
+ - MessagingJobTokenAuth: []
915
+ - tokenAuth: []
916
+ responses:
917
+ '200':
918
+ content:
919
+ application/json:
920
+ schema:
921
+ $ref: '#/components/schemas/IntegrationConnection'
922
+ description: ''
866
923
  /api/integrations/connections/{id}/select-basecamp-account/:
867
924
  post:
868
925
  operationId: integrations_connections_select_basecamp_account_create
@@ -1053,6 +1110,16 @@ paths:
1053
1110
  definition the agent declares no inputs, so it gets the company tree
1054
1111
  plus every project tree and decides for itself what it needs.
1055
1112
 
1113
+ An index, not a copy: the sandbox fetches a file's bytes only when the
1114
+ model reads that file. That is what lets this stay workspace-wide now
1115
+ that a workspace mirrors its Sitetracker documents — gigabytes of
1116
+ scans that ``read_file`` could only refuse, and that an attachment
1117
+ reads here from object storage rather than from the sandbox.
1118
+
1119
+ ``truncated`` says the workspace holds more than this answer names, so
1120
+ the agent can tell a user "I cannot see all of your files" instead of
1121
+ reporting a file it was never given as one the workspace does not have.
1122
+
1056
1123
  POST, for a read, because the job-token permission class reads the
1057
1124
  workspace id out of the request body — the same contract every other
1058
1125
  messaging-job endpoint uses.
@@ -4060,6 +4127,9 @@ components:
4060
4127
  allOf:
4061
4128
  - $ref: '#/components/schemas/IntegrationConnectionStatusEnum'
4062
4129
  readOnly: true
4130
+ sync_paused:
4131
+ type: boolean
4132
+ readOnly: true
4063
4133
  auth_mode:
4064
4134
  allOf:
4065
4135
  - $ref: '#/components/schemas/AuthModeEnum'
@@ -4089,6 +4159,7 @@ components:
4089
4159
  - provider
4090
4160
  - scopes
4091
4161
  - status
4162
+ - sync_paused
4092
4163
  - updated_at
4093
4164
  - workspace
4094
4165
  IntegrationConnectionStatusEnum:
@@ -4241,6 +4312,9 @@ components:
4241
4312
  type: array
4242
4313
  items:
4243
4314
  $ref: '#/components/schemas/ManifestEntry'
4315
+ truncated:
4316
+ type: boolean
4317
+ default: false
4244
4318
  required:
4245
4319
  - files
4246
4320
  Me:
@@ -335,7 +335,7 @@ Options:
335
335
 
336
336
  Workspace integration connections. Created via the OAuth callback, or
337
337
  via connect-api-user for providers that support credentials; any member
338
- can list, only admins can connect or disconnect.
338
+ can list, only admins can connect, pause a sync, or disconnect.
339
339
 
340
340
  DELETE /api/integrations/connections/{id}/
341
341
 
@@ -343,19 +343,38 @@ DELETE /api/integrations/connections/{id}/
343
343
 
344
344
  Workspace integration connections. Created via the OAuth callback, or
345
345
  via connect-api-user for providers that support credentials; any member
346
- can list, only admins can connect or disconnect.
346
+ can list, only admins can connect, pause a sync, or disconnect.
347
347
 
348
348
  GET /api/integrations/connections/
349
349
 
350
350
  Options:
351
351
  - `--workspace` - Filter by workspace UUID
352
352
 
353
+ ### current integrations connections pause-sync create <id>
354
+
355
+ Stop the scheduled sync for this connection.
356
+
357
+ The connection stays active: workflow tools, webhooks, and manual
358
+ reads keep working. Only the recurring job stops. Data already in the
359
+ workspace is left alone.
360
+
361
+ POST /api/integrations/connections/{id}/pause-sync/
362
+
353
363
  ### current integrations connections providers list
354
364
 
355
365
  All known providers and whether OAuth credentials are configured.
356
366
 
357
367
  GET /api/integrations/connections/providers/
358
368
 
369
+ ### current integrations connections resume-sync create <id>
370
+
371
+ Let the scheduled sync run again.
372
+
373
+ The sync keeps no watermark, so the next run reads the current state
374
+ of the provider and closes whatever gap the pause opened.
375
+
376
+ POST /api/integrations/connections/{id}/resume-sync/
377
+
359
378
  ### current integrations connections select-basecamp-account create <id>
360
379
 
361
380
  Choose the one Basecamp account synchronized into this workspace.
@@ -383,6 +402,16 @@ message can turn out to be about any project, and unlike a workflow
383
402
  definition the agent declares no inputs, so it gets the company tree
384
403
  plus every project tree and decides for itself what it needs.
385
404
 
405
+ An index, not a copy: the sandbox fetches a file's bytes only when the
406
+ model reads that file. That is what lets this stay workspace-wide now
407
+ that a workspace mirrors its Sitetracker documents — gigabytes of
408
+ scans that ``read_file`` could only refuse, and that an attachment
409
+ reads here from object storage rather than from the sandbox.
410
+
411
+ ``truncated`` says the workspace holds more than this answer names, so
412
+ the agent can tell a user "I cannot see all of your files" instead of
413
+ reporting a file it was never given as one the workspace does not have.
414
+
386
415
  POST, for a read, because the job-token permission class reads the
387
416
  workspace id out of the request body — the same contract every other
388
417
  messaging-job endpoint uses.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "current-cli"
3
- version = "0.1.36"
3
+ version = "0.1.38"
4
4
  description = "Command line interface for the Current API, generated from its OpenAPI schema at runtime"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
File without changes
File without changes