@grepr/cli 1.14.7-9b4ce28 → 1.14.7-b3c713a

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.
@@ -688,6 +688,50 @@ export interface paths {
688
688
  patch?: never;
689
689
  trace?: never;
690
690
  };
691
+ "/v1/chat-preferences/action-categories": {
692
+ parameters: {
693
+ query?: never;
694
+ header?: never;
695
+ path?: never;
696
+ cookie?: never;
697
+ };
698
+ /**
699
+ * Get the caller's chat action grants
700
+ * @description Returns the kinds of change the caller's chats make without asking. A chat asks about every other change before making it, and never asks about reads.
701
+ */
702
+ get: operations["getActionGrants"];
703
+ put?: never;
704
+ post?: never;
705
+ delete?: never;
706
+ options?: never;
707
+ head?: never;
708
+ patch?: never;
709
+ trace?: never;
710
+ };
711
+ "/v1/chat-preferences/action-categories/{category}": {
712
+ parameters: {
713
+ query?: never;
714
+ header?: never;
715
+ path?: never;
716
+ cookie?: never;
717
+ };
718
+ get?: never;
719
+ /**
720
+ * Grant a chat action category
721
+ * @description Lets the caller's chats make this kind of change without asking, from their next one on. Granting a category already granted changes nothing.
722
+ */
723
+ put: operations["grantActionCategory"];
724
+ post?: never;
725
+ /**
726
+ * Revoke a chat action category
727
+ * @description Makes the caller's chats ask before this kind of change again. Revoking a category not granted changes nothing.
728
+ */
729
+ delete: operations["revokeActionCategory"];
730
+ options?: never;
731
+ head?: never;
732
+ patch?: never;
733
+ trace?: never;
734
+ };
691
735
  "/v1/chats": {
692
736
  parameters: {
693
737
  query?: never;
@@ -740,26 +784,6 @@ export interface paths {
740
784
  patch?: never;
741
785
  trace?: never;
742
786
  };
743
- "/v1/chats/{chatId}/auto-approve": {
744
- parameters: {
745
- query?: never;
746
- header?: never;
747
- path?: never;
748
- cookie?: never;
749
- };
750
- get?: never;
751
- /**
752
- * Switch a chat's auto-approval mode
753
- * @description Turns auto-approval on or off for the chat. While on, gated actions run without prompting, and a turn already parked on an approval is released. The setting is persisted and survives a restart of the chat. Returns 202 immediately.
754
- */
755
- put: operations["setAutoApprove"];
756
- post?: never;
757
- delete?: never;
758
- options?: never;
759
- head?: never;
760
- patch?: never;
761
- trace?: never;
762
- };
763
787
  "/v1/chats/{chatId}/cancel": {
764
788
  parameters: {
765
789
  query?: never;
@@ -791,7 +815,7 @@ export interface paths {
791
815
  put?: never;
792
816
  /**
793
817
  * Reply to a chat's pending approval
794
- * @description Signals the chat's workflow with the user's approve/reject decision for the gated action it is waiting on, resuming the turn. Returns 202 immediately.
818
+ * @description Signals the chat's workflow with the user's decision on the write it is waiting on, resuming the turn. Returns 202 immediately. To stop being asked about such writes, grant their categories under /v1/chat-preferences/action-categories.
795
819
  */
796
820
  post: operations["respondToPermission"];
797
821
  delete?: never;
@@ -6088,9 +6112,6 @@ export interface components {
6088
6112
  provider: string;
6089
6113
  signupClientId?: string;
6090
6114
  };
6091
- AutoApproveRequest: {
6092
- autoApprove?: boolean;
6093
- };
6094
6115
  AvailablePermission: {
6095
6116
  /** @description Action being permitted (e.g., view, edit) */
6096
6117
  action: string;
@@ -6299,6 +6320,11 @@ export interface components {
6299
6320
  message?: string;
6300
6321
  sampleId?: string;
6301
6322
  };
6323
+ /** @enum {string} */
6324
+ ChatActionCategory: ChatActionCategory;
6325
+ ChatActionGrants: {
6326
+ grantedActionCategories?: components["schemas"]["ChatActionCategory"][];
6327
+ };
6302
6328
  ChatList: {
6303
6329
  chats?: components["schemas"]["ChatSummary"][];
6304
6330
  nextCursor?: string;
@@ -6307,7 +6333,6 @@ export interface components {
6307
6333
  enabledSkills?: string[];
6308
6334
  };
6309
6335
  ChatStatusResponse: {
6310
- autoApprove?: boolean;
6311
6336
  model?: components["schemas"]["ModelConfiguration"];
6312
6337
  pendingApproval?: components["schemas"]["PendingApproval"];
6313
6338
  processing?: boolean;
@@ -6638,7 +6663,6 @@ export interface components {
6638
6663
  teamIds?: string[];
6639
6664
  } & (components["schemas"]["CreateLogsBackfillJob"] | components["schemas"]["CreateSpansBackfillJob"]);
6640
6665
  CreateChatRequest: {
6641
- autoApprove?: boolean;
6642
6666
  enabledSkills?: string[];
6643
6667
  model: components["schemas"]["ModelConfiguration"];
6644
6668
  text: string;
@@ -11568,7 +11592,8 @@ export interface components {
11568
11592
  };
11569
11593
  PendingApproval: {
11570
11594
  approvalNonce?: string;
11571
- command?: string;
11595
+ categories?: components["schemas"]["ChatActionCategory"][];
11596
+ description?: string;
11572
11597
  permissionId?: string;
11573
11598
  };
11574
11599
  /** @description One reporting period — dropdown entry plus bounds for display. */
@@ -16666,7 +16691,6 @@ export type SchemaAttributeWithComparatorNode = components["schemas"]["Attribute
16666
16691
  export type SchemaAttributesMergeStrategy = components["schemas"]["AttributesMergeStrategy"];
16667
16692
  export type SchemaAttributesMergeStrategyEntry = components["schemas"]["AttributesMergeStrategyEntry"];
16668
16693
  export type SchemaAuthConfig = components["schemas"]["AuthConfig"];
16669
- export type SchemaAutoApproveRequest = components["schemas"]["AutoApproveRequest"];
16670
16694
  export type SchemaAvailablePermission = components["schemas"]["AvailablePermission"];
16671
16695
  export type SchemaAverageAttributesMergeStrategy = components["schemas"]["AverageAttributesMergeStrategy"];
16672
16696
  export type SchemaBackfillJobAction = components["schemas"]["BackfillJobAction"];
@@ -16684,6 +16708,7 @@ export type SchemaCancellableInvestigationCounts = components["schemas"]["Cancel
16684
16708
  export type SchemaCancellableInvestigationsResponse = components["schemas"]["CancellableInvestigationsResponse"];
16685
16709
  export type SchemaChainNode = components["schemas"]["ChainNode"];
16686
16710
  export type SchemaChangeFinding = components["schemas"]["ChangeFinding"];
16711
+ export type SchemaChatActionGrants = components["schemas"]["ChatActionGrants"];
16687
16712
  export type SchemaChatList = components["schemas"]["ChatList"];
16688
16713
  export type SchemaChatPreferences = components["schemas"]["ChatPreferences"];
16689
16714
  export type SchemaChatStatusResponse = components["schemas"]["ChatStatusResponse"];
@@ -18770,6 +18795,87 @@ export interface operations {
18770
18795
  };
18771
18796
  };
18772
18797
  };
18798
+ getActionGrants: {
18799
+ parameters: {
18800
+ query?: never;
18801
+ header?: never;
18802
+ path?: never;
18803
+ cookie?: never;
18804
+ };
18805
+ requestBody?: never;
18806
+ responses: {
18807
+ /** @description Grants retrieved */
18808
+ 200: {
18809
+ headers: {
18810
+ [name: string]: unknown;
18811
+ };
18812
+ content: {
18813
+ "application/json": components["schemas"]["ChatActionGrants"];
18814
+ };
18815
+ };
18816
+ /** @description Unauthorized */
18817
+ 401: {
18818
+ headers: {
18819
+ [name: string]: unknown;
18820
+ };
18821
+ content?: never;
18822
+ };
18823
+ };
18824
+ };
18825
+ grantActionCategory: {
18826
+ parameters: {
18827
+ query?: never;
18828
+ header?: never;
18829
+ path: {
18830
+ category: components["schemas"]["ChatActionCategory"];
18831
+ };
18832
+ cookie?: never;
18833
+ };
18834
+ requestBody?: never;
18835
+ responses: {
18836
+ /** @description Category granted */
18837
+ 204: {
18838
+ headers: {
18839
+ [name: string]: unknown;
18840
+ };
18841
+ content?: never;
18842
+ };
18843
+ /** @description Unauthorized */
18844
+ 401: {
18845
+ headers: {
18846
+ [name: string]: unknown;
18847
+ };
18848
+ content?: never;
18849
+ };
18850
+ };
18851
+ };
18852
+ revokeActionCategory: {
18853
+ parameters: {
18854
+ query?: never;
18855
+ header?: never;
18856
+ path: {
18857
+ category: components["schemas"]["ChatActionCategory"];
18858
+ };
18859
+ cookie?: never;
18860
+ };
18861
+ requestBody?: never;
18862
+ responses: {
18863
+ /** @description Category revoked */
18864
+ 204: {
18865
+ headers: {
18866
+ [name: string]: unknown;
18867
+ };
18868
+ content?: never;
18869
+ };
18870
+ /** @description Unauthorized */
18871
+ 401: {
18872
+ headers: {
18873
+ [name: string]: unknown;
18874
+ };
18875
+ content?: never;
18876
+ };
18877
+ };
18878
+ };
18773
18879
  list_1: {
18774
18880
  parameters: {
18775
18881
  query?: {
@@ -18948,44 +19054,6 @@ export interface operations {
18948
19054
  };
18949
19055
  };
18950
19056
  };
18951
- setAutoApprove: {
18952
- parameters: {
18953
- query?: never;
18954
- header?: never;
18955
- path: {
18956
- chatId: string;
18957
- };
18958
- cookie?: never;
18959
- };
18960
- requestBody?: {
18961
- content: {
18962
- "application/json": components["schemas"]["AutoApproveRequest"];
18963
- };
18964
- };
18965
- responses: {
18966
- /** @description Auto-approval mode updated */
18967
- 202: {
18968
- headers: {
18969
- [name: string]: unknown;
18970
- };
18971
- content?: never;
18972
- };
18973
- /** @description Unauthorized */
18974
- 401: {
18975
- headers: {
18976
- [name: string]: unknown;
18977
- };
18978
- content?: never;
18979
- };
18980
- /** @description Chat not found */
18981
- 404: {
18982
- headers: {
18983
- [name: string]: unknown;
18984
- };
18985
- content?: never;
18986
- };
18987
- };
18988
- };
18989
19057
  cancel: {
18990
19058
  parameters: {
18991
19059
  query?: never;
@@ -30066,6 +30134,13 @@ export declare enum ChangeFindingCode {
30066
30134
  UNVERIFIABLE_CHANGE = "UNVERIFIABLE_CHANGE",
30067
30135
  NO_EFFECTIVE_CHANGE = "NO_EFFECTIVE_CHANGE"
30068
30136
  }
30137
+ export declare enum ChatActionCategory {
30138
+ CHANGE_PIPELINES = "CHANGE_PIPELINES",
30139
+ RUN_BACKFILLS = "RUN_BACKFILLS",
30140
+ CHANGE_DATASETS = "CHANGE_DATASETS",
30141
+ CHANGE_ISSUES = "CHANGE_ISSUES",
30142
+ ACT_IN_CONNECTED_TOOLS = "ACT_IN_CONNECTED_TOOLS"
30143
+ }
30069
30144
  export declare enum CloudTrailLogsFileSourceRegions {
30070
30145
  US_EAST_1 = "US_EAST_1",
30071
30146
  US_EAST_2 = "US_EAST_2",