@getmodus/sdk 0.12.0 → 0.13.0

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.
@@ -75,28 +75,6 @@ interface paths {
75
75
  patch?: never;
76
76
  trace?: never;
77
77
  };
78
- "/api/v1/connections/{connectionId}/selections": {
79
- parameters: {
80
- query?: never;
81
- header?: never;
82
- path?: never;
83
- cookie?: never;
84
- };
85
- /**
86
- * List selectable units of a connection
87
- * @description Returns a page of selectable units on a connection you can use. An unknown or inaccessible connection returns 404. Pass `nextPageToken` as `pageToken` for the next page.
88
- *
89
- * **Requires:** `context:read`
90
- */
91
- get: operations["ConnectionsController_listSelections"];
92
- put?: never;
93
- post?: never;
94
- delete?: never;
95
- options?: never;
96
- head?: never;
97
- patch?: never;
98
- trace?: never;
99
- };
100
78
  "/api/v1/context/custom-items": {
101
79
  parameters: {
102
80
  query?: never;
@@ -1752,7 +1730,7 @@ interface paths {
1752
1730
  };
1753
1731
  /**
1754
1732
  * List LLM usage
1755
- * @description Returns time-bucketed LLM call counts and input/output tokens by model over the `[since, until)` window. `rollup` selects hour or day buckets. Scoped to your organization.
1733
+ * @description Returns time-bucketed LLM call counts and input/output tokens by model over the `[since, until)` window. `rollup` selects hour or day buckets. When grouping by scope or workflow, `entities` says whether you can access each one. Scoped to your organization.
1756
1734
  *
1757
1735
  * **Requires:** `usage:read`
1758
1736
  */
@@ -3056,25 +3034,6 @@ interface components {
3056
3034
  /** @description How a scope selects units on this connection. Omitted when the connection has none. */
3057
3035
  selectionModel?: components["schemas"]["SelectionModelDto"];
3058
3036
  };
3059
- ConnectionSelectionDto: {
3060
- /**
3061
- * @description Path of the unit, from the connection down to the unit itself.
3062
- * @example [
3063
- * "acme/widgets"
3064
- * ]
3065
- */
3066
- path: string[];
3067
- /**
3068
- * @description Kind of unit, such as repository or schema.
3069
- * @example repository
3070
- */
3071
- objectType: string;
3072
- /**
3073
- * @description Human-readable name, when the connection has one.
3074
- * @example widgets
3075
- */
3076
- displayName: string | null;
3077
- };
3078
3037
  ConnectionSetItemDto: {
3079
3038
  /**
3080
3039
  * @description Id of the connection.
@@ -3301,6 +3260,11 @@ interface components {
3301
3260
  lastUpdateMetadata?: {
3302
3261
  [key: string]: unknown;
3303
3262
  } | null;
3263
+ /**
3264
+ * @description How far answers may rely on the item, from 0 to 1. `0` means the item is not used to answer questions unless `userFeedback` is `positive`; `null` means it has no score and is used.
3265
+ * @example null
3266
+ */
3267
+ qualityScore?: number | null;
3304
3268
  /** @description Present for notes, saved queries, links and uploaded files. */
3305
3269
  access?: components["schemas"]["ContextItemAccessDto"];
3306
3270
  /** @description Present for notes, saved queries, links and uploaded files. */
@@ -3546,7 +3510,7 @@ interface components {
3546
3510
  */
3547
3511
  entityType?: string;
3548
3512
  /**
3549
- * @description Human-readable description.
3513
+ * @description Human-readable description. A non-blank description is kept, trimmed of surrounding whitespace; omit it or send a blank one and Modus generates one.
3550
3514
  * @example Enterprise contract renewal metadata from the internal billing system.
3551
3515
  */
3552
3516
  description?: string;
@@ -3605,7 +3569,7 @@ interface components {
3605
3569
  */
3606
3570
  toUid: string;
3607
3571
  /**
3608
- * @description Snake_case relation type describing how the source relates to the target. Reserved system types cannot be used: contains, reads, joins_with, has_context, has_feedback, filters_by, context_relation. Dotted names are also reserved.
3572
+ * @description Snake_case relation type describing how the source relates to the target. Reserved system types cannot be used: contains, reads, joins_with, has_context, has_feedback, filters_by, context_relation, mentions, defines. Dotted names are also reserved.
3609
3573
  * @example depends_on
3610
3574
  */
3611
3575
  relationType: string;
@@ -4704,12 +4668,6 @@ interface components {
4704
4668
  [key: string]: number;
4705
4669
  };
4706
4670
  };
4707
- ListConnectionSelectionsResponseDto: {
4708
- /** @description Page of selectable units on this connection. */
4709
- selections: components["schemas"]["ConnectionSelectionDto"][];
4710
- /** @description Opaque token for the next page; `null` when this was the last page. Pass as `pageToken` on the next request. */
4711
- nextPageToken: string | null;
4712
- };
4713
4671
  ListConnectionsResponseDto: {
4714
4672
  /** @description Page of integration connections the caller can `use`. Connections the caller cannot access are filtered out (not enumerated). */
4715
4673
  connections: components["schemas"]["ConnectionDto"][];
@@ -4850,6 +4808,8 @@ interface components {
4850
4808
  group_by: "all" | "skill" | "agent" | "interface" | "model" | "attribution";
4851
4809
  buckets: components["schemas"]["UsageBucketDto"][];
4852
4810
  totals: components["schemas"]["UsageTotalsDto"];
4811
+ /** @description Present when grouping by scope or workflow. One entry per scope or workflow id in `buckets`, saying whether you can access it. Unattributed usage (`group_value` `""`) and the Super scope (`0`) are not scopes or workflows and have no entry. A restricted or deleted entry exposes only its id and owner. */
4812
+ entities?: components["schemas"]["UsageEntityDto"][];
4853
4813
  };
4854
4814
  ListUsageUsersResponseDto: {
4855
4815
  /** @description Distinct acting-user emails in the window. */
@@ -5488,7 +5448,7 @@ interface components {
5488
5448
  };
5489
5449
  SelectionOpDto: {
5490
5450
  /**
5491
- * @description Which selection edit this op makes. setConnectionPreferences sets a connection's whole data selection; removeConnection removes the connection from the scope.
5451
+ * @description Which selection edit this op makes. setConnectionPreferences sets a connection's whole data selection; removeConnection removes the connection from the scope with every tool granted on it; when the same request sends a toolset, that toolset is stored instead.
5492
5452
  * @enum {string}
5493
5453
  */
5494
5454
  op: "setConnectionPreferences" | "removeConnection" | "pinItem" | "unpinItem" | "clearPinnedItems" | "setAdditionalContextRules";
@@ -6246,6 +6206,21 @@ interface components {
6246
6206
  /** @description Credits consumed in this bucket. */
6247
6207
  credits: number;
6248
6208
  };
6209
+ UsageEntityDto: {
6210
+ /** @description Scope or workflow id, as it appears in `group_value`. */
6211
+ id: string;
6212
+ /** @description `accessible`: you can use it. `restricted`: it exists but you are not allowed to use it. `deleted`: it was deleted or no longer exists. */
6213
+ status: components["schemas"]["UsageEntityStatus"];
6214
+ /** @description User id of the owner of the scope or workflow, when it has one. */
6215
+ owner_user_id: string | null;
6216
+ /** @description Email of the owner of the scope or workflow, when it has one. */
6217
+ owner_email: string | null;
6218
+ };
6219
+ /**
6220
+ * @description `accessible`: you can use it. `restricted`: it exists but you are not allowed to use it. `deleted`: it was deleted or no longer exists.
6221
+ * @enum {string}
6222
+ */
6223
+ UsageEntityStatus: "accessible" | "restricted" | "deleted";
6249
6224
  UsageTotalsDto: {
6250
6225
  call_count: number;
6251
6226
  input_tokens: number;
@@ -6798,7 +6773,7 @@ interface components {
6798
6773
  status: string;
6799
6774
  };
6800
6775
  RunConfigDto: {
6801
- /** @description Model id, e.g. claude-sonnet-4.6. API tokens must send one of: default, claude-sonnet-5, claude-sonnet-5.5, claude-sonnet-4.6, claude-opus-4.8, claude-opus-5.5, claude-haiku-5.5, gpt-5.2, gpt-5.5, gpt-5-mini, gpt-5.6-luna, gpt-6-luna, gpt-oss-120b, gpt-oss-20b, qwen3-235b-a22b-2507, qwen3-coder, qwen3-32b, deepseek-chat-v3.1, deepseek-v4-pro, deepseek-v4-flash-latest, deepseek-v4.1-flash-1017, minimax-m2.7, llama-4-maverick, llama-4-scout, llama-3.3-70b-instruct, gemini-3.1-pro-preview, gemini-3-flash-preview, gemini-3.8-flash, grok-4.3-fast, grok-4.3, grok-4.7, kimi-k3. */
6776
+ /** @description Model id, e.g. claude-sonnet-4.6. API tokens must send one of: default, claude-sonnet-5, claude-sonnet-5.5, claude-sonnet-4.6, claude-opus-4.8, claude-opus-5.5, claude-haiku-5.5, gpt-5.2, gpt-5.5, gpt-5-mini, gpt-5.6-luna, gpt-6-luna, gpt-oss-120b, gpt-oss-20b, qwen3-235b-a22b-2507, qwen3-coder, qwen3-32b, deepseek-chat-v3.1, deepseek-v4-pro, deepseek-v4-flash-latest, deepseek-v4.1-flash-1017, minimax-m2.7, llama-4-maverick, llama-4-scout, llama-3.3-70b-instruct, gemini-3.1-pro-preview, gemini-3-flash-preview, gemini-3.8-flash, gemini-4-neon, grok-4.3-fast, grok-4.3, grok-4.7, kimi-k3. */
6802
6777
  model?: string;
6803
6778
  /** @description Model-specific runtime controls. */
6804
6779
  modelSettings?: components["schemas"]["RunModelSettingsDto"];
@@ -7079,152 +7054,6 @@ interface operations {
7079
7054
  };
7080
7055
  };
7081
7056
  };
7082
- ConnectionsController_listSelections: {
7083
- parameters: {
7084
- query?: {
7085
- /** @description Opaque page token from a previous response's `nextPageToken`. Omit for the first page. */
7086
- pageToken?: string;
7087
- /** @description Max items per page. Defaults to 25. Values outside 1..100 are clamped to that range. */
7088
- pageSize?: number;
7089
- };
7090
- header?: never;
7091
- path: {
7092
- /** @description Integration connection UUID. */
7093
- connectionId: string;
7094
- };
7095
- cookie?: never;
7096
- };
7097
- requestBody?: never;
7098
- responses: {
7099
- 200: {
7100
- headers: {
7101
- [name: string]: unknown;
7102
- };
7103
- content: {
7104
- "application/json": components["schemas"]["ListConnectionSelectionsResponseDto"];
7105
- };
7106
- };
7107
- /** @description Malformed request — invalid query parameters or request body (`code: BAD_REQUEST`). */
7108
- 400: {
7109
- headers: {
7110
- [name: string]: unknown;
7111
- };
7112
- content: {
7113
- /**
7114
- * @example {
7115
- * "error": {
7116
- * "code": "BAD_REQUEST",
7117
- * "status": "INVALID_ARGUMENT",
7118
- * "message": "Invalid value for query parameter `pageSize`.",
7119
- * "requestId": "req_01HQ7K8ABCDEFGHIJKLMNOPQRS"
7120
- * }
7121
- * }
7122
- */
7123
- "application/json": components["schemas"]["ErrorResponseDto"];
7124
- };
7125
- };
7126
- /** @description Missing, invalid, or expired access token (`code: UNAUTHORIZED`). */
7127
- 401: {
7128
- headers: {
7129
- [name: string]: unknown;
7130
- };
7131
- content: {
7132
- /**
7133
- * @example {
7134
- * "error": {
7135
- * "code": "UNAUTHORIZED",
7136
- * "status": "UNAUTHENTICATED",
7137
- * "message": "Missing or invalid access token.",
7138
- * "requestId": "req_01HQ7K8ABCDEFGHIJKLMNOPQRS"
7139
- * }
7140
- * }
7141
- */
7142
- "application/json": components["schemas"]["ErrorResponseDto"];
7143
- };
7144
- };
7145
- /** @description Authenticated, but the token lacks a required scope (`code: FORBIDDEN`). The missing scopes are listed in `info`. */
7146
- 403: {
7147
- headers: {
7148
- [name: string]: unknown;
7149
- };
7150
- content: {
7151
- /**
7152
- * @example {
7153
- * "error": {
7154
- * "code": "FORBIDDEN",
7155
- * "status": "PERMISSION_DENIED",
7156
- * "message": "Missing required scope(s) for this operation.",
7157
- * "requestId": "req_01HQ7K8ABCDEFGHIJKLMNOPQRS",
7158
- * "info": {
7159
- * "missing": [
7160
- * "<required-scope>"
7161
- * ]
7162
- * }
7163
- * }
7164
- * }
7165
- */
7166
- "application/json": components["schemas"]["ErrorResponseDto"];
7167
- };
7168
- };
7169
- /** @description The resource does not exist, or you do not have access to it (`code: NOT_FOUND`). */
7170
- 404: {
7171
- headers: {
7172
- [name: string]: unknown;
7173
- };
7174
- content: {
7175
- /**
7176
- * @example {
7177
- * "error": {
7178
- * "code": "NOT_FOUND",
7179
- * "status": "NOT_FOUND",
7180
- * "message": "Resource not found.",
7181
- * "requestId": "req_01HQ7K8ABCDEFGHIJKLMNOPQRS"
7182
- * }
7183
- * }
7184
- */
7185
- "application/json": components["schemas"]["ErrorResponseDto"];
7186
- };
7187
- };
7188
- /** @description Too many requests. Wait and retry later (`code: RATE_LIMITED`). */
7189
- 429: {
7190
- headers: {
7191
- [name: string]: unknown;
7192
- };
7193
- content: {
7194
- /**
7195
- * @example {
7196
- * "error": {
7197
- * "code": "RATE_LIMITED",
7198
- * "status": "RESOURCE_EXHAUSTED",
7199
- * "message": "Too many requests. Please retry after a short delay.",
7200
- * "requestId": "req_01HQ7K8ABCDEFGHIJKLMNOPQRS"
7201
- * }
7202
- * }
7203
- */
7204
- "application/json": components["schemas"]["ErrorResponseDto"];
7205
- };
7206
- };
7207
- /** @description An unexpected server error occurred (`code: INTERNAL_ERROR`). */
7208
- 500: {
7209
- headers: {
7210
- [name: string]: unknown;
7211
- };
7212
- content: {
7213
- /**
7214
- * @example {
7215
- * "error": {
7216
- * "code": "INTERNAL_ERROR",
7217
- * "status": "INTERNAL",
7218
- * "message": "An unexpected error occurred.",
7219
- * "requestId": "req_01HQ7K8ABCDEFGHIJKLMNOPQRS"
7220
- * }
7221
- * }
7222
- */
7223
- "application/json": components["schemas"]["ErrorResponseDto"];
7224
- };
7225
- };
7226
- };
7227
- };
7228
7057
  CustomContextItemsController_list: {
7229
7058
  parameters: {
7230
7059
  query?: {
@@ -7441,11 +7270,7 @@ interface operations {
7441
7270
  "application/json": components["schemas"]["ErrorResponseDto"];
7442
7271
  };
7443
7272
  };
7444
- /**
7445
- * @description Authenticated, but the token lacks a required scope (`code: FORBIDDEN`). The missing scopes are listed in `info`.
7446
- *
7447
- * Also returned, with the message `Custom context item writes are not enabled`, when custom context item writes are not enabled for your organization. They are off by default; ask Modus to enable them.
7448
- */
7273
+ /** @description Authenticated, but the token lacks a required scope (`code: FORBIDDEN`). The missing scopes are listed in `info`. */
7449
7274
  403: {
7450
7275
  headers: {
7451
7276
  [name: string]: unknown;
@@ -7456,8 +7281,13 @@ interface operations {
7456
7281
  * "error": {
7457
7282
  * "code": "FORBIDDEN",
7458
7283
  * "status": "PERMISSION_DENIED",
7459
- * "message": "Custom context item writes are not enabled",
7460
- * "requestId": "req_01HQ7K8ABCDEFGHIJKLMNOPQRS"
7284
+ * "message": "Missing required scope(s) for this operation.",
7285
+ * "requestId": "req_01HQ7K8ABCDEFGHIJKLMNOPQRS",
7286
+ * "info": {
7287
+ * "missing": [
7288
+ * "<required-scope>"
7289
+ * ]
7290
+ * }
7461
7291
  * }
7462
7292
  * }
7463
7293
  */
@@ -7639,11 +7469,7 @@ interface operations {
7639
7469
  "application/json": components["schemas"]["ErrorResponseDto"];
7640
7470
  };
7641
7471
  };
7642
- /**
7643
- * @description Authenticated, but the token lacks a required scope (`code: FORBIDDEN`). The missing scopes are listed in `info`.
7644
- *
7645
- * Also returned, with the message `Custom context item writes are not enabled`, when custom context item writes are not enabled for your organization. They are off by default; ask Modus to enable them.
7646
- */
7472
+ /** @description Authenticated, but the token lacks a required scope (`code: FORBIDDEN`). The missing scopes are listed in `info`. */
7647
7473
  403: {
7648
7474
  headers: {
7649
7475
  [name: string]: unknown;
@@ -7654,8 +7480,13 @@ interface operations {
7654
7480
  * "error": {
7655
7481
  * "code": "FORBIDDEN",
7656
7482
  * "status": "PERMISSION_DENIED",
7657
- * "message": "Custom context item writes are not enabled",
7658
- * "requestId": "req_01HQ7K8ABCDEFGHIJKLMNOPQRS"
7483
+ * "message": "Missing required scope(s) for this operation.",
7484
+ * "requestId": "req_01HQ7K8ABCDEFGHIJKLMNOPQRS",
7485
+ * "info": {
7486
+ * "missing": [
7487
+ * "<required-scope>"
7488
+ * ]
7489
+ * }
7659
7490
  * }
7660
7491
  * }
7661
7492
  */
@@ -7837,11 +7668,7 @@ interface operations {
7837
7668
  "application/json": components["schemas"]["ErrorResponseDto"];
7838
7669
  };
7839
7670
  };
7840
- /**
7841
- * @description Authenticated, but the token lacks a required scope (`code: FORBIDDEN`). The missing scopes are listed in `info`.
7842
- *
7843
- * Also returned, with the message `Custom context item writes are not enabled`, when custom context item writes are not enabled for your organization. They are off by default; ask Modus to enable them.
7844
- */
7671
+ /** @description Authenticated, but the token lacks a required scope (`code: FORBIDDEN`). The missing scopes are listed in `info`. */
7845
7672
  403: {
7846
7673
  headers: {
7847
7674
  [name: string]: unknown;
@@ -7852,8 +7679,13 @@ interface operations {
7852
7679
  * "error": {
7853
7680
  * "code": "FORBIDDEN",
7854
7681
  * "status": "PERMISSION_DENIED",
7855
- * "message": "Custom context item writes are not enabled",
7856
- * "requestId": "req_01HQ7K8ABCDEFGHIJKLMNOPQRS"
7682
+ * "message": "Missing required scope(s) for this operation.",
7683
+ * "requestId": "req_01HQ7K8ABCDEFGHIJKLMNOPQRS",
7684
+ * "info": {
7685
+ * "missing": [
7686
+ * "<required-scope>"
7687
+ * ]
7688
+ * }
7857
7689
  * }
7858
7690
  * }
7859
7691
  */
@@ -8035,11 +7867,7 @@ interface operations {
8035
7867
  "application/json": components["schemas"]["ErrorResponseDto"];
8036
7868
  };
8037
7869
  };
8038
- /**
8039
- * @description Authenticated, but the token lacks a required scope (`code: FORBIDDEN`). The missing scopes are listed in `info`.
8040
- *
8041
- * Also returned, with the message `Custom context item writes are not enabled`, when custom context item writes are not enabled for your organization. They are off by default; ask Modus to enable them.
8042
- */
7870
+ /** @description Authenticated, but the token lacks a required scope (`code: FORBIDDEN`). The missing scopes are listed in `info`. */
8043
7871
  403: {
8044
7872
  headers: {
8045
7873
  [name: string]: unknown;
@@ -8050,8 +7878,13 @@ interface operations {
8050
7878
  * "error": {
8051
7879
  * "code": "FORBIDDEN",
8052
7880
  * "status": "PERMISSION_DENIED",
8053
- * "message": "Custom context item writes are not enabled",
8054
- * "requestId": "req_01HQ7K8ABCDEFGHIJKLMNOPQRS"
7881
+ * "message": "Missing required scope(s) for this operation.",
7882
+ * "requestId": "req_01HQ7K8ABCDEFGHIJKLMNOPQRS",
7883
+ * "info": {
7884
+ * "missing": [
7885
+ * "<required-scope>"
7886
+ * ]
7887
+ * }
8055
7888
  * }
8056
7889
  * }
8057
7890
  */
@@ -8373,11 +8206,7 @@ interface operations {
8373
8206
  "application/json": components["schemas"]["ErrorResponseDto"];
8374
8207
  };
8375
8208
  };
8376
- /**
8377
- * @description Authenticated, but the token lacks a required scope (`code: FORBIDDEN`). The missing scopes are listed in `info`.
8378
- *
8379
- * Also returned, with the message `Custom context item writes are not enabled`, when custom context item writes are not enabled for your organization. They are off by default; ask Modus to enable them.
8380
- */
8209
+ /** @description Authenticated, but the token lacks a required scope (`code: FORBIDDEN`). The missing scopes are listed in `info`. */
8381
8210
  403: {
8382
8211
  headers: {
8383
8212
  [name: string]: unknown;
@@ -8388,8 +8217,13 @@ interface operations {
8388
8217
  * "error": {
8389
8218
  * "code": "FORBIDDEN",
8390
8219
  * "status": "PERMISSION_DENIED",
8391
- * "message": "Custom context item writes are not enabled",
8392
- * "requestId": "req_01HQ7K8ABCDEFGHIJKLMNOPQRS"
8220
+ * "message": "Missing required scope(s) for this operation.",
8221
+ * "requestId": "req_01HQ7K8ABCDEFGHIJKLMNOPQRS",
8222
+ * "info": {
8223
+ * "missing": [
8224
+ * "<required-scope>"
8225
+ * ]
8226
+ * }
8393
8227
  * }
8394
8228
  * }
8395
8229
  */
@@ -8558,11 +8392,7 @@ interface operations {
8558
8392
  "application/json": components["schemas"]["ErrorResponseDto"];
8559
8393
  };
8560
8394
  };
8561
- /**
8562
- * @description Authenticated, but the token lacks a required scope (`code: FORBIDDEN`). The missing scopes are listed in `info`.
8563
- *
8564
- * Also returned, with the message `Custom context item writes are not enabled`, when custom context item writes are not enabled for your organization. They are off by default; ask Modus to enable them.
8565
- */
8395
+ /** @description Authenticated, but the token lacks a required scope (`code: FORBIDDEN`). The missing scopes are listed in `info`. */
8566
8396
  403: {
8567
8397
  headers: {
8568
8398
  [name: string]: unknown;
@@ -8573,8 +8403,13 @@ interface operations {
8573
8403
  * "error": {
8574
8404
  * "code": "FORBIDDEN",
8575
8405
  * "status": "PERMISSION_DENIED",
8576
- * "message": "Custom context item writes are not enabled",
8577
- * "requestId": "req_01HQ7K8ABCDEFGHIJKLMNOPQRS"
8406
+ * "message": "Missing required scope(s) for this operation.",
8407
+ * "requestId": "req_01HQ7K8ABCDEFGHIJKLMNOPQRS",
8408
+ * "info": {
8409
+ * "missing": [
8410
+ * "<required-scope>"
8411
+ * ]
8412
+ * }
8578
8413
  * }
8579
8414
  * }
8580
8415
  */
@@ -28393,17 +28228,6 @@ declare const OPERATIONS: {
28393
28228
  readonly responseSchema: "ListConnectionsResponseDto";
28394
28229
  readonly idempotent: false;
28395
28230
  };
28396
- readonly ConnectionsController_listSelections: {
28397
- readonly method: "GET";
28398
- readonly path: "/api/v1/connections/{connectionId}/selections";
28399
- readonly service: "modus-api";
28400
- readonly serverUrl: "https://api.getmodus.com";
28401
- readonly pathParams: readonly ["connectionId"];
28402
- readonly queryParams: readonly ["pageToken", "pageSize"];
28403
- readonly requestSchema: null;
28404
- readonly responseSchema: "ListConnectionSelectionsResponseDto";
28405
- readonly idempotent: false;
28406
- };
28407
28231
  readonly ContextCreatorsController_createLink: {
28408
28232
  readonly method: "POST";
28409
28233
  readonly path: "/api/v1/context/links";
@@ -30036,11 +29860,6 @@ interface BatchDeleteCustomContextItemsResult {
30036
29860
  * traversable, create the `source`, then the `collection`, then the `entity`, and
30037
29861
  * finally any `field` or `entity_samples` rows, repeating the same parent IDs at
30038
29862
  * every level.
30039
- *
30040
- * Writes (`create`, `batchCreate`, `createRelations`, `update`, `delete`) are off
30041
- * by default for each organization: until Modus enables them, they reject with a
30042
- * `PermissionDeniedError` whose message is `Custom context item writes are not
30043
- * enabled`. Reads (`list`, `get`) always work.
30044
29863
  */
30045
29864
  declare class CustomContextItemsResource {
30046
29865
  private readonly http;
@@ -11,17 +11,6 @@ var OPERATIONS = {
11
11
  responseSchema: "ListConnectionsResponseDto",
12
12
  idempotent: false
13
13
  },
14
- "ConnectionsController_listSelections": {
15
- method: "GET",
16
- path: "/api/v1/connections/{connectionId}/selections",
17
- service: "modus-api",
18
- serverUrl: "https://api.getmodus.com",
19
- pathParams: ["connectionId"],
20
- queryParams: ["pageToken", "pageSize"],
21
- requestSchema: null,
22
- responseSchema: "ListConnectionSelectionsResponseDto",
23
- idempotent: false
24
- },
25
14
  "ContextCreatorsController_createLink": {
26
15
  method: "POST",
27
16
  path: "/api/v1/context/links",
@@ -1785,7 +1774,7 @@ function headerValue(headers, name) {
1785
1774
  }
1786
1775
 
1787
1776
  // src/_http.ts
1788
- var USER_AGENT = `modus-typescript/${"0.12.0"} (node/${process.version}; ${process.platform})`;
1777
+ var USER_AGENT = `modus-typescript/${"0.13.0"} (node/${process.version}; ${process.platform})`;
1789
1778
  function buildUrl(baseUrl, path, params) {
1790
1779
  const url = new URL(path.startsWith("/") ? path : `/${path}`, baseUrl);
1791
1780
  if (params) {
@@ -2219,6 +2208,7 @@ var CHAT_MODELS = [
2219
2208
  "gemini-3.1-pro-preview",
2220
2209
  "gemini-3-flash-preview",
2221
2210
  "gemini-3.8-flash",
2211
+ "gemini-4-neon",
2222
2212
  "grok-4.3-fast",
2223
2213
  "grok-4.3",
2224
2214
  "grok-4.7",
@@ -2726,4 +2716,4 @@ export {
2726
2716
  CustomContextItemsResource,
2727
2717
  ScopeConversationsResource
2728
2718
  };
2729
- //# sourceMappingURL=chunk-3CKUUDEJ.js.map
2719
+ //# sourceMappingURL=chunk-KX2P3TAH.js.map