@m6d/cortex 0.7.0 → 0.9.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.
package/dist/index.d.ts CHANGED
@@ -17,6 +17,15 @@ declare const serverVariableSchema: z.ZodObject<{
17
17
  export type ServerVariable = z.infer<typeof serverVariableSchema>;
18
18
  declare const serverToolSchema: z.ZodObject<{
19
19
  name: z.ZodString;
20
+ displayName: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
21
+ en: "en";
22
+ ar: "ar";
23
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
24
+ [k: string]: string;
25
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
26
+ en: "en";
27
+ ar: "ar";
28
+ }> & z.core.$partial, z.ZodString>>>;
20
29
  description: z.ZodString;
21
30
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
22
31
  outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -26,7 +35,7 @@ declare const serverToolSchema: z.ZodObject<{
26
35
  export type ServerTool = z.infer<typeof serverToolSchema>;
27
36
  declare const approvalRequestedEventSchema: z.ZodObject<{
28
37
  event: z.ZodLiteral<"approval_requested">;
29
- agentSlug: z.ZodString;
38
+ agentName: z.ZodString;
30
39
  agentId: z.ZodUUID;
31
40
  threadId: z.ZodString;
32
41
  runId: z.ZodString;
@@ -44,7 +53,7 @@ export type ApprovalRequestedEvent = z.infer<typeof approvalRequestedEventSchema
44
53
  declare const variablesRequestSchema: z.ZodObject<{
45
54
  agent: z.ZodObject<{
46
55
  id: z.ZodUUID;
47
- slug: z.ZodString;
56
+ name: z.ZodString;
48
57
  }, z.core.$strip>;
49
58
  thread: z.ZodObject<{
50
59
  id: z.ZodString;
@@ -67,7 +76,7 @@ declare const toolRequestSchema: z.ZodObject<{
67
76
  }, z.core.$strip>>;
68
77
  agent: z.ZodObject<{
69
78
  id: z.ZodUUID;
70
- slug: z.ZodString;
79
+ name: z.ZodString;
71
80
  }, z.core.$strip>;
72
81
  thread: z.ZodObject<{
73
82
  id: z.ZodString;
@@ -91,10 +100,11 @@ export type VariableDefinition = {
91
100
  }[ServerVariable["type"]];
92
101
  /**
93
102
  * A tool the agents call; its result is the `output` Cortex hands the model.
94
- * With `requiresApproval`, every call parks until the end user approves it,
95
- * on a card whose title the model writes for that call.
103
+ * `displayName` is what the console shows it as, per locale. With
104
+ * `requiresApproval`, every call parks until the end user approves it, on a
105
+ * card whose title the model writes for that call.
96
106
  */
97
- export type ToolDefinition<TInput extends z.ZodType> = Pick<ServerTool, "description" | "readOnly" | "requiresApproval"> & {
107
+ export type ToolDefinition<TInput extends z.ZodType> = Pick<ServerTool, "displayName" | "description" | "readOnly" | "requiresApproval"> & {
98
108
  input: TInput;
99
109
  output?: z.ZodType;
100
110
  run(input: z.output<TInput>, context: WithToken<ToolRequest["context"]>): Awaitable<unknown>;
@@ -1652,9 +1662,10 @@ export type StoredSchemaFieldRow = {
1652
1662
  };
1653
1663
  /** Each procedure's input, as it is sent, and output, as JSON carries it. */
1654
1664
  export type ManagementProcedures = {
1655
- /** Give an agent an alias: a second slug it answers to wherever a slug is resolved. Refused (slug_taken) when an agent's slug or another alias holds the name; to move an alias, delete it and add it to the other agent. */
1665
+ /** Give an agent an alias: a second name it answers to wherever a name is resolved. Refused (name_taken) when an agent's name or another alias holds the name; to move an alias, delete it and add it to the other agent. */
1656
1666
  "agents.addAlias": {
1657
1667
  input: {
1668
+ /** A name: lowercase letters, digits, and single hyphens. */
1658
1669
  alias: string;
1659
1670
  agentId: string;
1660
1671
  };
@@ -1668,8 +1679,9 @@ export type ManagementProcedures = {
1668
1679
  /** Create an agent on a registered server, or on none (`serverId` null), fixed for good either way. An agent with no server has no native tools, no server variables and no server auth, and publishes only on a chat model of its own. The draft has no prompt yet; save one with agents.savePrompt before publishing. */
1669
1680
  "agents.create": {
1670
1681
  input: {
1671
- slug: string;
1682
+ /** A name: lowercase letters, digits, and single hyphens. */
1672
1683
  name: string;
1684
+ displayName: Partial<Record<"en" | "ar", string>>;
1673
1685
  serverId: string | null;
1674
1686
  };
1675
1687
  output: {
@@ -1678,9 +1690,9 @@ export type ManagementProcedures = {
1678
1690
  sourceId: string | null;
1679
1691
  overridable: Array<string>;
1680
1692
  applied: string | number | boolean | null | Record<string, unknown> | Array<unknown> | null;
1681
- slug: string;
1682
- serverId: string | null;
1683
1693
  name: string;
1694
+ serverId: string | null;
1695
+ displayName: Partial<Record<"en" | "ar", string>>;
1684
1696
  promptDraft: string;
1685
1697
  ragEnabled: boolean;
1686
1698
  toolRegistryEnabled: boolean;
@@ -1723,9 +1735,9 @@ export type ManagementProcedures = {
1723
1735
  sourceId: string | null;
1724
1736
  overridable: Array<string>;
1725
1737
  applied: string | number | boolean | null | Record<string, unknown> | Array<unknown> | null;
1726
- slug: string;
1727
- serverId: string | null;
1728
1738
  name: string;
1739
+ serverId: string | null;
1740
+ displayName: Partial<Record<"en" | "ar", string>>;
1729
1741
  promptDraft: string;
1730
1742
  ragEnabled: boolean;
1731
1743
  toolRegistryEnabled: boolean;
@@ -1759,6 +1771,7 @@ export type ManagementProcedures = {
1759
1771
  /** Remove an alias. */
1760
1772
  "agents.deleteAlias": {
1761
1773
  input: {
1774
+ /** A name: lowercase letters, digits, and single hyphens. */
1762
1775
  alias: string;
1763
1776
  };
1764
1777
  output: {
@@ -1779,9 +1792,9 @@ export type ManagementProcedures = {
1779
1792
  sourceId: string | null;
1780
1793
  overridable: Array<string>;
1781
1794
  applied: string | number | boolean | null | Record<string, unknown> | Array<unknown> | null;
1782
- slug: string;
1783
- serverId: string | null;
1784
1795
  name: string;
1796
+ serverId: string | null;
1797
+ displayName: Partial<Record<"en" | "ar", string>>;
1785
1798
  promptDraft: string;
1786
1799
  ragEnabled: boolean;
1787
1800
  toolRegistryEnabled: boolean;
@@ -1808,7 +1821,10 @@ export type ManagementProcedures = {
1808
1821
  summarizationModel: string | null;
1809
1822
  context: string | number | boolean | null | Record<string, unknown> | Array<unknown>;
1810
1823
  limits: string | number | boolean | null | Record<string, unknown> | Array<unknown>;
1811
- serverName: string | null;
1824
+ server: {
1825
+ name: string;
1826
+ displayName: Partial<Record<"en" | "ar", string>>;
1827
+ } | null;
1812
1828
  serverVerifies: boolean;
1813
1829
  variables: Array<{
1814
1830
  name: string;
@@ -1839,13 +1855,16 @@ export type ManagementProcedures = {
1839
1855
  output: {
1840
1856
  items: Array<{
1841
1857
  id: string;
1842
- slug: string;
1843
1858
  name: string;
1859
+ displayName: Partial<Record<"en" | "ar", string>>;
1844
1860
  updatedAt: string;
1845
1861
  source: "direct" | "manifest" | "server";
1846
1862
  sourceId: string | null;
1847
1863
  overridable: Array<string>;
1848
- serverName: string | null;
1864
+ server: {
1865
+ name: string;
1866
+ displayName: Partial<Record<"en" | "ar", string>>;
1867
+ } | null;
1849
1868
  published: boolean;
1850
1869
  toolCount: number;
1851
1870
  serviceCount: number;
@@ -1858,7 +1877,7 @@ export type ManagementProcedures = {
1858
1877
  filteredCount: number;
1859
1878
  };
1860
1879
  };
1861
- /** List an agent's aliases (second slugs, unique across the deployment beside every agent's own), with pagination. */
1880
+ /** List an agent's aliases (second names, unique across the deployment beside every agent's own), with pagination. */
1862
1881
  "agents.listAliases": {
1863
1882
  input: {
1864
1883
  pageIndex?: number;
@@ -1879,13 +1898,13 @@ export type ManagementProcedures = {
1879
1898
  filteredCount: number;
1880
1899
  };
1881
1900
  };
1882
- /** Agent id, slug, and name pairs for selectors. */
1901
+ /** Agent ids, names and display names for selectors. */
1883
1902
  "agents.options": {
1884
1903
  input: undefined;
1885
1904
  output: Array<{
1886
1905
  id: string;
1887
- slug: string;
1888
1906
  name: string;
1907
+ displayName: Partial<Record<"en" | "ar", string>>;
1889
1908
  serverId: string | null;
1890
1909
  }>;
1891
1910
  };
@@ -1939,9 +1958,9 @@ export type ManagementProcedures = {
1939
1958
  sourceId: string | null;
1940
1959
  overridable: Array<string>;
1941
1960
  applied: string | number | boolean | null | Record<string, unknown> | Array<unknown> | null;
1942
- slug: string;
1943
- serverId: string | null;
1944
1961
  name: string;
1962
+ serverId: string | null;
1963
+ displayName: Partial<Record<"en" | "ar", string>>;
1945
1964
  promptDraft: string;
1946
1965
  ragEnabled: boolean;
1947
1966
  toolRegistryEnabled: boolean;
@@ -2049,9 +2068,9 @@ export type ManagementProcedures = {
2049
2068
  sourceId: string | null;
2050
2069
  overridable: Array<string>;
2051
2070
  applied: string | number | boolean | null | Record<string, unknown> | Array<unknown> | null;
2052
- slug: string;
2053
- serverId: string | null;
2054
2071
  name: string;
2072
+ serverId: string | null;
2073
+ displayName: Partial<Record<"en" | "ar", string>>;
2055
2074
  promptDraft: string;
2056
2075
  ragEnabled: boolean;
2057
2076
  toolRegistryEnabled: boolean;
@@ -2082,11 +2101,11 @@ export type ManagementProcedures = {
2082
2101
  updatedAt: string;
2083
2102
  };
2084
2103
  };
2085
- /** Rename an agent. The name applies at once; it is not part of the published prompt. */
2104
+ /** Set an agent's display name, a text per locale. It applies at once; it is not part of the published prompt. */
2086
2105
  "agents.update": {
2087
2106
  input: {
2088
2107
  id: string;
2089
- name: string;
2108
+ displayName: Partial<Record<"en" | "ar", string>>;
2090
2109
  };
2091
2110
  output: {
2092
2111
  id: string;
@@ -2094,9 +2113,9 @@ export type ManagementProcedures = {
2094
2113
  sourceId: string | null;
2095
2114
  overridable: Array<string>;
2096
2115
  applied: string | number | boolean | null | Record<string, unknown> | Array<unknown> | null;
2097
- slug: string;
2098
- serverId: string | null;
2099
2116
  name: string;
2117
+ serverId: string | null;
2118
+ displayName: Partial<Record<"en" | "ar", string>>;
2100
2119
  promptDraft: string;
2101
2120
  ragEnabled: boolean;
2102
2121
  toolRegistryEnabled: boolean;
@@ -2148,7 +2167,7 @@ export type ManagementProcedures = {
2148
2167
  output: {
2149
2168
  id: string;
2150
2169
  actorId: string;
2151
- credentialKind: "session" | "managementKey" | "operatorToken" | "system";
2170
+ credentialKind: "session" | "managementKey" | "operatorToken" | "oauthToken" | "system";
2152
2171
  credentialId: string | null;
2153
2172
  entityType: string;
2154
2173
  entityId: string;
@@ -2156,9 +2175,16 @@ export type ManagementProcedures = {
2156
2175
  createdAt: string;
2157
2176
  actorName: string;
2158
2177
  actorEmail: string;
2159
- entityName: string | null;
2160
- credentialFingerprint: string | null;
2161
- credentialName: string | null;
2178
+ entity: {
2179
+ name: string;
2180
+ displayName: Partial<Record<"en" | "ar", string>>;
2181
+ } | null;
2182
+ managementKey: {
2183
+ name: string;
2184
+ displayName: Partial<Record<"en" | "ar", string>>;
2185
+ fingerprint: string;
2186
+ } | null;
2187
+ oauthClientName: string | null;
2162
2188
  before: unknown;
2163
2189
  after: unknown;
2164
2190
  };
@@ -2179,7 +2205,7 @@ export type ManagementProcedures = {
2179
2205
  items: Array<{
2180
2206
  id: string;
2181
2207
  actorId: string;
2182
- credentialKind: "session" | "managementKey" | "operatorToken" | "system";
2208
+ credentialKind: "session" | "managementKey" | "operatorToken" | "oauthToken" | "system";
2183
2209
  credentialId: string | null;
2184
2210
  entityType: string;
2185
2211
  entityId: string;
@@ -2187,9 +2213,16 @@ export type ManagementProcedures = {
2187
2213
  createdAt: string;
2188
2214
  actorName: string;
2189
2215
  actorEmail: string;
2190
- entityName: string | null;
2191
- credentialFingerprint: string | null;
2192
- credentialName: string | null;
2216
+ entity: {
2217
+ name: string;
2218
+ displayName: Partial<Record<"en" | "ar", string>>;
2219
+ } | null;
2220
+ managementKey: {
2221
+ name: string;
2222
+ displayName: Partial<Record<"en" | "ar", string>>;
2223
+ fingerprint: string;
2224
+ } | null;
2225
+ oauthClientName: string | null;
2193
2226
  }>;
2194
2227
  /** Every row the caller may see, ignoring the search and filters. */
2195
2228
  count: number;
@@ -2197,10 +2230,12 @@ export type ManagementProcedures = {
2197
2230
  filteredCount: number;
2198
2231
  };
2199
2232
  };
2200
- /** Create a knowledge collection with an audience ({ kind: "all" }, { kind: "server", serverId }, or { kind: "agents", agentIds }). Documents are uploaded into it; a service tag scopes every document to that service. */
2233
+ /** Create a knowledge collection with a display name (a text per locale, `{}` for none) and an audience ({ kind: "all" }, { kind: "server", serverId }, or { kind: "agents", agentIds }). Documents are uploaded into it; a service tag scopes every document to that service. */
2201
2234
  "collections.create": {
2202
2235
  input: {
2236
+ /** A name: lowercase letters, digits, and single hyphens. */
2203
2237
  name: string;
2238
+ displayName: Partial<Record<"en" | "ar", string>>;
2204
2239
  description: string;
2205
2240
  serviceId: string | null;
2206
2241
  citable: boolean;
@@ -2241,6 +2276,7 @@ export type ManagementProcedures = {
2241
2276
  citable: boolean;
2242
2277
  createdAt: string;
2243
2278
  updatedAt: string;
2279
+ displayName: Partial<Record<"en" | "ar", string>>;
2244
2280
  source: "direct" | "manifest" | "server";
2245
2281
  sourceId: string | null;
2246
2282
  overridable: Array<string>;
@@ -2254,9 +2290,10 @@ export type ManagementProcedures = {
2254
2290
  agentIds: Array<string>;
2255
2291
  };
2256
2292
  referrers: Array<{
2293
+ name: string;
2294
+ displayName: Partial<Record<"en" | "ar", string>>;
2257
2295
  kind: "agent_prompt" | "service" | "skill" | "trigger" | "knowledge_collection";
2258
2296
  id: string;
2259
- name: string;
2260
2297
  readers: {
2261
2298
  kind: "all";
2262
2299
  } | {
@@ -2267,7 +2304,10 @@ export type ManagementProcedures = {
2267
2304
  agentIds: Array<string>;
2268
2305
  };
2269
2306
  }>;
2270
- serviceKey: string | null;
2307
+ service: {
2308
+ name: string;
2309
+ displayName: Partial<Record<"en" | "ar", string>>;
2310
+ } | null;
2271
2311
  };
2272
2312
  };
2273
2313
  /** List knowledge collections with pagination and search, optionally the ones an agent sees or the ones reaching a server. */
@@ -2288,6 +2328,7 @@ export type ManagementProcedures = {
2288
2328
  description: string;
2289
2329
  serviceId: string | null;
2290
2330
  updatedAt: string;
2331
+ displayName: Partial<Record<"en" | "ar", string>>;
2291
2332
  source: "direct" | "manifest" | "server";
2292
2333
  sourceId: string | null;
2293
2334
  overridable: Array<string>;
@@ -2300,7 +2341,10 @@ export type ManagementProcedures = {
2300
2341
  kind: "agents";
2301
2342
  agentIds: Array<string>;
2302
2343
  };
2303
- serviceKey: string | null;
2344
+ service: {
2345
+ name: string;
2346
+ displayName: Partial<Record<"en" | "ar", string>>;
2347
+ } | null;
2304
2348
  documentCount: number;
2305
2349
  }>;
2306
2350
  /** Every row the caller may see, ignoring the search and filters. */
@@ -2360,10 +2404,10 @@ export type ManagementProcedures = {
2360
2404
  };
2361
2405
  }>;
2362
2406
  };
2363
- /** Rename, describe or change the service tag of a knowledge collection. A tag change applies to agents at once. */
2407
+ /** Set a knowledge collection's display name, describe it or change its service tag. A tag change applies to agents at once. */
2364
2408
  "collections.update": {
2365
2409
  input: {
2366
- name: string;
2410
+ displayName: Partial<Record<"en" | "ar", string>>;
2367
2411
  description: string;
2368
2412
  serviceId: string | null;
2369
2413
  citable: boolean;
@@ -2374,24 +2418,31 @@ export type ManagementProcedures = {
2374
2418
  name: string;
2375
2419
  };
2376
2420
  };
2377
- /** Create a named credential over a stored secret: `static` presents the secret's value; `oauth2-client-credentials` exchanges it, as the client secret of `clientId`, for a bearer at `tokenUrl` (https, or http on loopback or on a host `EGRESS_ALLOWED_HOSTS` admits). A credential's name and kind never change. Needs `secrets:write` too: whatever presents the credential sends its secret. */
2421
+ /** Create a credential over a stored secret, with a display name (`{}` for none). `static` presents the secret's value; `oauth2-client-credentials` gets a bearer at `tokenUrl` (https) as `clientId`, by `authMethod`: `client_secret_basic` sends the secret; `private_key_jwt` signs with a key Cortex generates into a new secret named `secretName`, which nothing else may compose or rewrite (`signing_key_secret`), and needs `issuer` and an engine public URL to publish its key under (`jwks_unavailable`); `none` is a public app for MCP sign-in at `issuer`, with no secret. `issuer` is the authorization server's exact identifier. Name, kind and auth method never change. Needs `secrets:write`. */
2378
2422
  "credentials.create": {
2379
2423
  input: {
2424
+ displayName: Partial<Record<"en" | "ar", string>>;
2380
2425
  kind: "static" | "oauth2-client-credentials";
2426
+ authMethod: "client_secret_basic" | "private_key_jwt" | "none";
2381
2427
  secretName: string;
2382
2428
  tokenUrl: string;
2383
2429
  clientId: string;
2384
2430
  scope: string;
2431
+ issuer: string;
2432
+ /** A name: lowercase letters, digits, and single hyphens. */
2385
2433
  name: string;
2386
2434
  };
2387
2435
  output: {
2388
2436
  id: string;
2389
2437
  name: string;
2438
+ displayName: Partial<Record<"en" | "ar", string>>;
2390
2439
  kind: "static" | "oauth2-client-credentials";
2391
- secretName: string;
2440
+ authMethod: "client_secret_basic" | "private_key_jwt" | "none" | null;
2441
+ secretName: string | null;
2392
2442
  tokenUrl: string | null;
2393
2443
  clientId: string | null;
2394
2444
  scope: string | null;
2445
+ issuer: string | null;
2395
2446
  createdAt: string;
2396
2447
  updatedAt: string;
2397
2448
  };
@@ -2404,16 +2455,19 @@ export type ManagementProcedures = {
2404
2455
  output: {
2405
2456
  id: string;
2406
2457
  name: string;
2458
+ displayName: Partial<Record<"en" | "ar", string>>;
2407
2459
  kind: "static" | "oauth2-client-credentials";
2408
- secretName: string;
2460
+ authMethod: "client_secret_basic" | "private_key_jwt" | "none" | null;
2461
+ secretName: string | null;
2409
2462
  tokenUrl: string | null;
2410
2463
  clientId: string | null;
2411
2464
  scope: string | null;
2465
+ issuer: string | null;
2412
2466
  createdAt: string;
2413
2467
  updatedAt: string;
2414
2468
  };
2415
2469
  };
2416
- /** List credentials with pagination and search: the name tools, dataset hosts and triggers reference, its kind, the secret it composes, and how many rows name it with the first few (`usedBy`). */
2470
+ /** List credentials with pagination and search: the name tools, dataset hosts and triggers reference, its display name, its kind and auth method, the secret it composes, how many rows name it with the first few (`usedBy`), and, for a `private_key_jwt` one, the URL of its public key set (`jwksUrl`, null without an engine public URL), which its authorization server is registered with, and the `kid` of the key it signs with now (null for any other). */
2417
2471
  "credentials.list": {
2418
2472
  input: {
2419
2473
  pageIndex?: number;
@@ -2424,21 +2478,27 @@ export type ManagementProcedures = {
2424
2478
  items: Array<{
2425
2479
  id: string;
2426
2480
  name: string;
2481
+ displayName: Partial<Record<"en" | "ar", string>>;
2427
2482
  kind: "static" | "oauth2-client-credentials";
2428
- secretName: string;
2483
+ authMethod: "client_secret_basic" | "private_key_jwt" | "none" | null;
2484
+ secretName: string | null;
2429
2485
  tokenUrl: string | null;
2430
2486
  clientId: string | null;
2431
2487
  scope: string | null;
2488
+ issuer: string | null;
2432
2489
  createdAt: string;
2433
2490
  updatedAt: string;
2434
2491
  usedBy: {
2435
2492
  count: number;
2436
2493
  preview: Array<{
2494
+ name: string;
2495
+ displayName: Partial<Record<"en" | "ar", string>>;
2437
2496
  kind: "credential" | "model_provider" | "server" | "agent" | "tool" | "trigger" | "dataset_host" | "webhook" | "mcp_server";
2438
2497
  id: string;
2439
- name: string;
2440
2498
  }>;
2441
2499
  };
2500
+ jwksUrl: string | null;
2501
+ kid: string | null;
2442
2502
  }>;
2443
2503
  /** Every row the caller may see, ignoring the search and filters. */
2444
2504
  count: number;
@@ -2446,31 +2506,60 @@ export type ManagementProcedures = {
2446
2506
  filteredCount: number;
2447
2507
  };
2448
2508
  };
2449
- /** Credential names in order, for a picker. `present`: what a tool, dataset host, webhook or trigger run may present upstream (every credential but a trigger's fire credential). `fire`: what a trigger may be fired with (static credentials). */
2509
+ /** Each credential's name and display name, in name order, for a picker. `present`: what a tool, dataset host, webhook or trigger run may present upstream (every credential but a trigger's fire credential). `fire`: what a trigger may be fired with (static credentials). `signIn`: what an MCP server's sign-in may present as its pre-registered app (OAuth2 client credentials ones naming their `issuer`). */
2450
2510
  "credentials.names": {
2451
2511
  input: {
2452
- use: "present" | "fire";
2512
+ use: "present" | "fire" | "signIn";
2453
2513
  };
2454
- output: Array<string>;
2514
+ output: Array<{
2515
+ name: string;
2516
+ displayName: Partial<Record<"en" | "ar", string>>;
2517
+ }>;
2455
2518
  };
2456
- /** Change the secret a credential composes and, for an OAuth2 one, its token URL, client id and scope. Applies to the next call of every tool, dataset host and trigger naming it. Changing the secret or the token URL needs `secrets:write` too (`secret_binding_forbidden`): either sends a stored secret somewhere new. */
2519
+ /** Replace a `private_key_jwt` credential's signing key with a new one, under a new `kid`, rewriting its secret (`no_signing_key` for any other credential). Its key set serves only the new public key at once, so assertions verify again once the authorization server refetches it. */
2520
+ "credentials.rotateKey": {
2521
+ input: {
2522
+ id: string;
2523
+ };
2524
+ output: {
2525
+ id: string;
2526
+ name: string;
2527
+ displayName: Partial<Record<"en" | "ar", string>>;
2528
+ kind: "static" | "oauth2-client-credentials";
2529
+ authMethod: "client_secret_basic" | "private_key_jwt" | "none" | null;
2530
+ secretName: string | null;
2531
+ tokenUrl: string | null;
2532
+ clientId: string | null;
2533
+ scope: string | null;
2534
+ issuer: string | null;
2535
+ createdAt: string;
2536
+ updatedAt: string;
2537
+ };
2538
+ };
2539
+ /** Change a credential's display name, the secret it composes and, for an OAuth2 one, its token URL, client id, scope and issuer. Applies to the next call of every tool, dataset host and trigger naming it. Changing the secret, the token URL or the issuer needs `secrets:write` too (`secret_binding_forbidden`): each sends a stored secret somewhere new. A `private_key_jwt` one keeps its secret, which holds its key, like its kind and auth method (`kind_locked`). */
2457
2540
  "credentials.update": {
2458
2541
  input: {
2542
+ displayName: Partial<Record<"en" | "ar", string>>;
2459
2543
  kind: "static" | "oauth2-client-credentials";
2544
+ authMethod: "client_secret_basic" | "private_key_jwt" | "none";
2460
2545
  secretName: string;
2461
2546
  tokenUrl: string;
2462
2547
  clientId: string;
2463
2548
  scope: string;
2549
+ issuer: string;
2464
2550
  id: string;
2465
2551
  };
2466
2552
  output: {
2467
2553
  id: string;
2468
2554
  name: string;
2555
+ displayName: Partial<Record<"en" | "ar", string>>;
2469
2556
  kind: "static" | "oauth2-client-credentials";
2470
- secretName: string;
2557
+ authMethod: "client_secret_basic" | "private_key_jwt" | "none" | null;
2558
+ secretName: string | null;
2471
2559
  tokenUrl: string | null;
2472
2560
  clientId: string | null;
2473
2561
  scope: string | null;
2562
+ issuer: string | null;
2474
2563
  createdAt: string;
2475
2564
  updatedAt: string;
2476
2565
  };
@@ -2480,6 +2569,7 @@ export type ManagementProcedures = {
2480
2569
  input: {
2481
2570
  name: string;
2482
2571
  url: string;
2572
+ displayName: Partial<Record<"en" | "ar", string>>;
2483
2573
  audience: {
2484
2574
  kind: "all";
2485
2575
  } | {
@@ -2525,6 +2615,7 @@ export type ManagementProcedures = {
2525
2615
  agentIds: Array<string>;
2526
2616
  };
2527
2617
  name: string;
2618
+ displayName: Partial<Record<"en" | "ar", string>>;
2528
2619
  url: string;
2529
2620
  headers: string | number | boolean | null | Record<string, unknown> | Array<unknown>;
2530
2621
  timeoutMs: number;
@@ -2563,9 +2654,10 @@ export type ManagementProcedures = {
2563
2654
  revision: number;
2564
2655
  updatedAt: string;
2565
2656
  referrers: Array<{
2657
+ name: string;
2658
+ displayName: Partial<Record<"en" | "ar", string>>;
2566
2659
  kind: "agent_prompt" | "service" | "skill" | "trigger" | "knowledge_collection";
2567
2660
  id: string;
2568
- name: string;
2569
2661
  readers: {
2570
2662
  kind: "all";
2571
2663
  } | {
@@ -2576,7 +2668,6 @@ export type ManagementProcedures = {
2576
2668
  agentIds: Array<string>;
2577
2669
  };
2578
2670
  }>;
2579
- nameLocked: boolean;
2580
2671
  variables: Array<{
2581
2672
  name: string;
2582
2673
  description: string;
@@ -2606,6 +2697,7 @@ export type ManagementProcedures = {
2606
2697
  manifestVersion: string | null;
2607
2698
  syncedAt: string | null;
2608
2699
  expose: Array<string>;
2700
+ displayName: Partial<Record<"en" | "ar", string>>;
2609
2701
  source: "direct" | "manifest" | "server";
2610
2702
  sourceId: string | null;
2611
2703
  overridable: Array<string>;
@@ -2741,7 +2833,6 @@ export type ManagementProcedures = {
2741
2833
  /** Update a dataset host's draft: which synced datasets the agent may query (`expose`) and which are listed in every turn (`pinned`). Saved as a draft; call the entity's publish procedure to make it live. The url, headers (each with a prefix and its value from a credential, the run token, a variable or a constant), timeout, and `rateLimits` (queries per minute for all users and per user, null for no limit) apply live without a publish. */
2742
2834
  "datasetHosts.update": {
2743
2835
  input: {
2744
- name: string;
2745
2836
  url: string;
2746
2837
  headers: Array<{
2747
2838
  header: string;
@@ -2771,6 +2862,7 @@ export type ManagementProcedures = {
2771
2862
  expose: Array<string>;
2772
2863
  pinned: Array<string>;
2773
2864
  id: string;
2865
+ displayName: Partial<Record<"en" | "ar", string>>;
2774
2866
  };
2775
2867
  output: {
2776
2868
  id: string;
@@ -2915,7 +3007,7 @@ export type ManagementProcedures = {
2915
3007
  updatedAt: string;
2916
3008
  };
2917
3009
  };
2918
- /** The caller's live management keys with pagination and search: name, fingerprint, scope, and dates. Never the key itself. */
3010
+ /** The caller's live management keys in name order, with pagination and search: name, display name, fingerprint, scope, and dates. Never the key itself. */
2919
3011
  "managementKeys.list": {
2920
3012
  input: {
2921
3013
  pageIndex?: number;
@@ -2926,6 +3018,7 @@ export type ManagementProcedures = {
2926
3018
  items: Array<{
2927
3019
  id: string;
2928
3020
  name: string;
3021
+ displayName: Partial<Record<"en" | "ar", string>>;
2929
3022
  fingerprint: string;
2930
3023
  permissions: Array<string> | null;
2931
3024
  lastUsedAt: string | null;
@@ -2938,12 +3031,13 @@ export type ManagementProcedures = {
2938
3031
  filteredCount: number;
2939
3032
  };
2940
3033
  };
2941
- /** The management key this request authenticated with (name, fingerprint, scope, dates). Refused for a session or an operator token, which are not keys. */
3034
+ /** The management key this request authenticated with (name, display name, fingerprint, scope, dates). Refused for a session or an operator token, which are not keys. */
2942
3035
  "managementKeys.mine": {
2943
3036
  input: undefined;
2944
3037
  output: {
2945
3038
  id: string;
2946
3039
  name: string;
3040
+ displayName: Partial<Record<"en" | "ar", string>>;
2947
3041
  fingerprint: string;
2948
3042
  permissions: Array<string> | null;
2949
3043
  lastUsedAt: string | null;
@@ -2956,8 +3050,8 @@ export type ManagementProcedures = {
2956
3050
  input: {
2957
3051
  id: string;
2958
3052
  agents?: Array<{
2959
- slug: string;
2960
3053
  name: string;
3054
+ displayName?: Partial<Record<"en" | "ar", string>>;
2961
3055
  server?: string;
2962
3056
  prompt: string;
2963
3057
  auth: {
@@ -3034,11 +3128,12 @@ export type ManagementProcedures = {
3034
3128
  prompt: string;
3035
3129
  }>>;
3036
3130
  greeting?: Record<"en" | "ar", string>;
3037
- overridable?: Array<"name" | "prompt" | "models" | "settings" | "rateLimits" | "suggestions" | "greeting">;
3131
+ overridable?: Array<"displayName" | "prompt" | "models" | "settings" | "rateLimits" | "suggestions" | "greeting">;
3038
3132
  }>;
3039
3133
  tools?: Array<{
3040
3134
  name: string;
3041
3135
  description: string;
3136
+ displayName?: Partial<Record<"en" | "ar", string>>;
3042
3137
  inputSchema?: {
3043
3138
  type: "object";
3044
3139
  properties?: Record<string, ManifestsPreviewSchema0>;
@@ -3069,7 +3164,7 @@ export type ManagementProcedures = {
3069
3164
  } | {
3070
3165
  agents: Array<string>;
3071
3166
  };
3072
- overridable?: Array<"description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3167
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3073
3168
  url: string;
3074
3169
  headers?: Array<{
3075
3170
  header: string;
@@ -3097,6 +3192,7 @@ export type ManagementProcedures = {
3097
3192
  } | {
3098
3193
  name: string;
3099
3194
  description: string;
3195
+ displayName?: Partial<Record<"en" | "ar", string>>;
3100
3196
  inputSchema?: {
3101
3197
  type: "object";
3102
3198
  properties?: Record<string, ManifestsPreviewSchema0>;
@@ -3127,7 +3223,7 @@ export type ManagementProcedures = {
3127
3223
  } | {
3128
3224
  agents: Array<string>;
3129
3225
  };
3130
- overridable?: Array<"description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3226
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3131
3227
  url: string;
3132
3228
  headers?: Array<{
3133
3229
  header: string;
@@ -3152,6 +3248,7 @@ export type ManagementProcedures = {
3152
3248
  } | {
3153
3249
  name: string;
3154
3250
  description: string;
3251
+ displayName?: Partial<Record<"en" | "ar", string>>;
3155
3252
  inputSchema?: {
3156
3253
  type: "object";
3157
3254
  properties?: Record<string, ManifestsPreviewSchema0>;
@@ -3182,7 +3279,7 @@ export type ManagementProcedures = {
3182
3279
  } | {
3183
3280
  agents: Array<string>;
3184
3281
  };
3185
- overridable?: Array<"description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3282
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3186
3283
  url: string;
3187
3284
  headers?: Array<{
3188
3285
  header: string;
@@ -3214,6 +3311,7 @@ export type ManagementProcedures = {
3214
3311
  } | {
3215
3312
  name: string;
3216
3313
  description: string;
3314
+ displayName?: Partial<Record<"en" | "ar", string>>;
3217
3315
  inputSchema?: {
3218
3316
  type: "object";
3219
3317
  properties?: Record<string, ManifestsPreviewSchema0>;
@@ -3244,7 +3342,7 @@ export type ManagementProcedures = {
3244
3342
  } | {
3245
3343
  agents: Array<string>;
3246
3344
  };
3247
- overridable?: Array<"description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags">;
3345
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags">;
3248
3346
  type: "client";
3249
3347
  }>;
3250
3348
  openapi?: Array<{
@@ -3277,21 +3375,22 @@ export type ManagementProcedures = {
3277
3375
  } | {
3278
3376
  agents: Array<string>;
3279
3377
  };
3280
- overridable?: Array<"description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3378
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3281
3379
  }>;
3282
3380
  services?: Array<{
3283
- key: string;
3284
- name: Record<"en" | "ar", string>;
3381
+ name: string;
3382
+ displayName?: Partial<Record<"en" | "ar", string>>;
3285
3383
  description: Record<"en" | "ar", string>;
3286
3384
  audience: "all" | {
3287
3385
  server: string;
3288
3386
  } | {
3289
3387
  agents: Array<string>;
3290
3388
  };
3291
- overridable?: Array<"description">;
3389
+ overridable?: Array<"displayName" | "description">;
3292
3390
  }>;
3293
3391
  skills?: Array<{
3294
3392
  name: string;
3393
+ displayName?: Partial<Record<"en" | "ar", string>>;
3295
3394
  description: string;
3296
3395
  body: string;
3297
3396
  service?: string;
@@ -3300,10 +3399,11 @@ export type ManagementProcedures = {
3300
3399
  } | {
3301
3400
  agents: Array<string>;
3302
3401
  };
3303
- overridable?: Array<"description" | "body">;
3402
+ overridable?: Array<"displayName" | "description" | "body">;
3304
3403
  }>;
3305
3404
  triggers?: Array<{
3306
3405
  name: string;
3406
+ displayName?: Partial<Record<"en" | "ar", string>>;
3307
3407
  description: string;
3308
3408
  inputSchema?: {
3309
3409
  type: "object";
@@ -3342,10 +3442,11 @@ export type ManagementProcedures = {
3342
3442
  } | {
3343
3443
  agents: Array<string>;
3344
3444
  };
3345
- overridable?: Array<"description" | "instructions" | "threadPolicy" | "budgetPerDay" | "disableAfterFailures" | "model">;
3445
+ overridable?: Array<"displayName" | "description" | "instructions" | "threadPolicy" | "budgetPerDay" | "disableAfterFailures" | "model">;
3346
3446
  }>;
3347
3447
  datasetHosts?: Array<{
3348
3448
  name: string;
3449
+ displayName?: Partial<Record<"en" | "ar", string>>;
3349
3450
  url: string;
3350
3451
  headers?: Array<{
3351
3452
  header: string;
@@ -3379,10 +3480,11 @@ export type ManagementProcedures = {
3379
3480
  } | {
3380
3481
  agents: Array<string>;
3381
3482
  };
3382
- overridable?: Array<"timeoutMs" | "rateLimits" | "headers">;
3483
+ overridable?: Array<"displayName" | "timeoutMs" | "rateLimits" | "headers">;
3383
3484
  }>;
3384
3485
  mcpServers?: Array<{
3385
3486
  name: string;
3487
+ displayName?: Partial<Record<"en" | "ar", string>>;
3386
3488
  url: string;
3387
3489
  headers?: Array<{
3388
3490
  header: string;
@@ -3400,6 +3502,11 @@ export type ManagementProcedures = {
3400
3502
  value: string;
3401
3503
  };
3402
3504
  }>;
3505
+ signIn?: {
3506
+ connects: "shared" | "endUser";
3507
+ scope?: string;
3508
+ credential?: string;
3509
+ };
3403
3510
  include?: Array<string>;
3404
3511
  exclude?: Array<string>;
3405
3512
  audience: "all" | {
@@ -3407,10 +3514,11 @@ export type ManagementProcedures = {
3407
3514
  } | {
3408
3515
  agents: Array<string>;
3409
3516
  };
3410
- overridable?: Array<"include" | "exclude" | "headers">;
3517
+ overridable?: Array<"displayName" | "include" | "exclude" | "headers" | "signIn">;
3411
3518
  }>;
3412
3519
  webhooks?: Array<{
3413
3520
  name: string;
3521
+ displayName?: Partial<Record<"en" | "ar", string>>;
3414
3522
  description?: string;
3415
3523
  event: "approval_requested";
3416
3524
  url: string;
@@ -3431,10 +3539,11 @@ export type ManagementProcedures = {
3431
3539
  } | {
3432
3540
  agents: Array<string>;
3433
3541
  };
3434
- overridable?: Array<"description" | "timeoutMs" | "headers">;
3542
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "headers">;
3435
3543
  }>;
3436
3544
  collections?: Array<{
3437
3545
  name: string;
3546
+ displayName?: Partial<Record<"en" | "ar", string>>;
3438
3547
  description?: string;
3439
3548
  service?: string;
3440
3549
  citable?: boolean;
@@ -3453,7 +3562,7 @@ export type ManagementProcedures = {
3453
3562
  } | {
3454
3563
  agents: Array<string>;
3455
3564
  };
3456
- overridable?: Array<"description" | "documents">;
3565
+ overridable?: Array<"displayName" | "description" | "documents">;
3457
3566
  }>;
3458
3567
  prefer?: "live" | "manifest";
3459
3568
  resolutions?: Array<{
@@ -3481,8 +3590,8 @@ export type ManagementProcedures = {
3481
3590
  input: {
3482
3591
  id: string;
3483
3592
  agents?: Array<{
3484
- slug: string;
3485
3593
  name: string;
3594
+ displayName?: Partial<Record<"en" | "ar", string>>;
3486
3595
  server?: string;
3487
3596
  prompt: string;
3488
3597
  auth: {
@@ -3559,11 +3668,12 @@ export type ManagementProcedures = {
3559
3668
  prompt: string;
3560
3669
  }>>;
3561
3670
  greeting?: Record<"en" | "ar", string>;
3562
- overridable?: Array<"name" | "prompt" | "models" | "settings" | "rateLimits" | "suggestions" | "greeting">;
3671
+ overridable?: Array<"displayName" | "prompt" | "models" | "settings" | "rateLimits" | "suggestions" | "greeting">;
3563
3672
  }>;
3564
3673
  tools?: Array<{
3565
3674
  name: string;
3566
3675
  description: string;
3676
+ displayName?: Partial<Record<"en" | "ar", string>>;
3567
3677
  inputSchema?: {
3568
3678
  type: "object";
3569
3679
  properties?: Record<string, ManifestsSyncSchema0>;
@@ -3594,7 +3704,7 @@ export type ManagementProcedures = {
3594
3704
  } | {
3595
3705
  agents: Array<string>;
3596
3706
  };
3597
- overridable?: Array<"description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3707
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3598
3708
  url: string;
3599
3709
  headers?: Array<{
3600
3710
  header: string;
@@ -3622,6 +3732,7 @@ export type ManagementProcedures = {
3622
3732
  } | {
3623
3733
  name: string;
3624
3734
  description: string;
3735
+ displayName?: Partial<Record<"en" | "ar", string>>;
3625
3736
  inputSchema?: {
3626
3737
  type: "object";
3627
3738
  properties?: Record<string, ManifestsSyncSchema0>;
@@ -3652,7 +3763,7 @@ export type ManagementProcedures = {
3652
3763
  } | {
3653
3764
  agents: Array<string>;
3654
3765
  };
3655
- overridable?: Array<"description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3766
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3656
3767
  url: string;
3657
3768
  headers?: Array<{
3658
3769
  header: string;
@@ -3677,6 +3788,7 @@ export type ManagementProcedures = {
3677
3788
  } | {
3678
3789
  name: string;
3679
3790
  description: string;
3791
+ displayName?: Partial<Record<"en" | "ar", string>>;
3680
3792
  inputSchema?: {
3681
3793
  type: "object";
3682
3794
  properties?: Record<string, ManifestsSyncSchema0>;
@@ -3707,7 +3819,7 @@ export type ManagementProcedures = {
3707
3819
  } | {
3708
3820
  agents: Array<string>;
3709
3821
  };
3710
- overridable?: Array<"description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3822
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3711
3823
  url: string;
3712
3824
  headers?: Array<{
3713
3825
  header: string;
@@ -3739,6 +3851,7 @@ export type ManagementProcedures = {
3739
3851
  } | {
3740
3852
  name: string;
3741
3853
  description: string;
3854
+ displayName?: Partial<Record<"en" | "ar", string>>;
3742
3855
  inputSchema?: {
3743
3856
  type: "object";
3744
3857
  properties?: Record<string, ManifestsSyncSchema0>;
@@ -3769,7 +3882,7 @@ export type ManagementProcedures = {
3769
3882
  } | {
3770
3883
  agents: Array<string>;
3771
3884
  };
3772
- overridable?: Array<"description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags">;
3885
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags">;
3773
3886
  type: "client";
3774
3887
  }>;
3775
3888
  openapi?: Array<{
@@ -3802,21 +3915,22 @@ export type ManagementProcedures = {
3802
3915
  } | {
3803
3916
  agents: Array<string>;
3804
3917
  };
3805
- overridable?: Array<"description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3918
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3806
3919
  }>;
3807
3920
  services?: Array<{
3808
- key: string;
3809
- name: Record<"en" | "ar", string>;
3921
+ name: string;
3922
+ displayName?: Partial<Record<"en" | "ar", string>>;
3810
3923
  description: Record<"en" | "ar", string>;
3811
3924
  audience: "all" | {
3812
3925
  server: string;
3813
3926
  } | {
3814
3927
  agents: Array<string>;
3815
3928
  };
3816
- overridable?: Array<"description">;
3929
+ overridable?: Array<"displayName" | "description">;
3817
3930
  }>;
3818
3931
  skills?: Array<{
3819
3932
  name: string;
3933
+ displayName?: Partial<Record<"en" | "ar", string>>;
3820
3934
  description: string;
3821
3935
  body: string;
3822
3936
  service?: string;
@@ -3825,10 +3939,11 @@ export type ManagementProcedures = {
3825
3939
  } | {
3826
3940
  agents: Array<string>;
3827
3941
  };
3828
- overridable?: Array<"description" | "body">;
3942
+ overridable?: Array<"displayName" | "description" | "body">;
3829
3943
  }>;
3830
3944
  triggers?: Array<{
3831
3945
  name: string;
3946
+ displayName?: Partial<Record<"en" | "ar", string>>;
3832
3947
  description: string;
3833
3948
  inputSchema?: {
3834
3949
  type: "object";
@@ -3867,10 +3982,11 @@ export type ManagementProcedures = {
3867
3982
  } | {
3868
3983
  agents: Array<string>;
3869
3984
  };
3870
- overridable?: Array<"description" | "instructions" | "threadPolicy" | "budgetPerDay" | "disableAfterFailures" | "model">;
3985
+ overridable?: Array<"displayName" | "description" | "instructions" | "threadPolicy" | "budgetPerDay" | "disableAfterFailures" | "model">;
3871
3986
  }>;
3872
3987
  datasetHosts?: Array<{
3873
3988
  name: string;
3989
+ displayName?: Partial<Record<"en" | "ar", string>>;
3874
3990
  url: string;
3875
3991
  headers?: Array<{
3876
3992
  header: string;
@@ -3904,10 +4020,11 @@ export type ManagementProcedures = {
3904
4020
  } | {
3905
4021
  agents: Array<string>;
3906
4022
  };
3907
- overridable?: Array<"timeoutMs" | "rateLimits" | "headers">;
4023
+ overridable?: Array<"displayName" | "timeoutMs" | "rateLimits" | "headers">;
3908
4024
  }>;
3909
4025
  mcpServers?: Array<{
3910
4026
  name: string;
4027
+ displayName?: Partial<Record<"en" | "ar", string>>;
3911
4028
  url: string;
3912
4029
  headers?: Array<{
3913
4030
  header: string;
@@ -3925,6 +4042,11 @@ export type ManagementProcedures = {
3925
4042
  value: string;
3926
4043
  };
3927
4044
  }>;
4045
+ signIn?: {
4046
+ connects: "shared" | "endUser";
4047
+ scope?: string;
4048
+ credential?: string;
4049
+ };
3928
4050
  include?: Array<string>;
3929
4051
  exclude?: Array<string>;
3930
4052
  audience: "all" | {
@@ -3932,10 +4054,11 @@ export type ManagementProcedures = {
3932
4054
  } | {
3933
4055
  agents: Array<string>;
3934
4056
  };
3935
- overridable?: Array<"include" | "exclude" | "headers">;
4057
+ overridable?: Array<"displayName" | "include" | "exclude" | "headers" | "signIn">;
3936
4058
  }>;
3937
4059
  webhooks?: Array<{
3938
4060
  name: string;
4061
+ displayName?: Partial<Record<"en" | "ar", string>>;
3939
4062
  description?: string;
3940
4063
  event: "approval_requested";
3941
4064
  url: string;
@@ -3956,10 +4079,11 @@ export type ManagementProcedures = {
3956
4079
  } | {
3957
4080
  agents: Array<string>;
3958
4081
  };
3959
- overridable?: Array<"description" | "timeoutMs" | "headers">;
4082
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "headers">;
3960
4083
  }>;
3961
4084
  collections?: Array<{
3962
4085
  name: string;
4086
+ displayName?: Partial<Record<"en" | "ar", string>>;
3963
4087
  description?: string;
3964
4088
  service?: string;
3965
4089
  citable?: boolean;
@@ -3978,7 +4102,7 @@ export type ManagementProcedures = {
3978
4102
  } | {
3979
4103
  agents: Array<string>;
3980
4104
  };
3981
- overridable?: Array<"description" | "documents">;
4105
+ overridable?: Array<"displayName" | "description" | "documents">;
3982
4106
  }>;
3983
4107
  prefer?: "live" | "manifest";
3984
4108
  resolutions?: Array<{
@@ -4001,6 +4125,7 @@ export type ManagementProcedures = {
4001
4125
  input: {
4002
4126
  name: string;
4003
4127
  url: string;
4128
+ displayName: Partial<Record<"en" | "ar", string>>;
4004
4129
  audience: {
4005
4130
  kind: "all";
4006
4131
  } | {
@@ -4025,7 +4150,30 @@ export type ManagementProcedures = {
4025
4150
  id: string;
4026
4151
  };
4027
4152
  };
4028
- /** One MCP server by id with its url, headers, tool filters, and sharing. */
4153
+ /** Find how Cortex would sign in to the MCP server with OAuth, from its metadata: the authorization server's issuer, the method Cortex would use (`preRegistered`, `clientIdDocument`, `dynamicRegistration`, or null for none), the scopes on offer, whether PKCE with S256 is supported, and the resource tokens are for. A pre-registered app for another issuer is refused as `sign_in_issuer_mismatch`. */
4154
+ "mcpServers.detectSignIn": {
4155
+ input: {
4156
+ id: string;
4157
+ };
4158
+ output: {
4159
+ issuer: string;
4160
+ method: "preRegistered" | "clientIdDocument" | "dynamicRegistration" | null;
4161
+ scopes: Array<string>;
4162
+ pkce: boolean;
4163
+ resource: string;
4164
+ };
4165
+ };
4166
+ /** Forget every connection Cortex holds to the MCP server: the shared one, or every end user's. Its turns report it not connected until someone signs in again. The tokens are not revoked at the authorization server. */
4167
+ "mcpServers.disconnect": {
4168
+ input: {
4169
+ id: string;
4170
+ };
4171
+ output: {
4172
+ id: string;
4173
+ name: string;
4174
+ };
4175
+ };
4176
+ /** One MCP server by id with its url, headers, sign-in, tool filters, and sharing; its shared connection, never its tokens, with `stepUp` once its server refused a call for lack of scope (the scopes it lacks, and whether a sign-in may still ask for them); how many end users are connected or must sign in again; and `signInUrl`, where a browser form-posts an operator token and the server's id to connect it (null while the engine or the console has no public URL). */
4029
4177
  "mcpServers.get": {
4030
4178
  input: {
4031
4179
  id: string;
@@ -4046,6 +4194,7 @@ export type ManagementProcedures = {
4046
4194
  agentIds: Array<string>;
4047
4195
  };
4048
4196
  name: string;
4197
+ displayName: Partial<Record<"en" | "ar", string>>;
4049
4198
  url: string;
4050
4199
  headers: Array<{
4051
4200
  header: string;
@@ -4063,14 +4212,20 @@ export type ManagementProcedures = {
4063
4212
  value: string;
4064
4213
  };
4065
4214
  }>;
4215
+ signIn: {
4216
+ connects: "shared" | "endUser";
4217
+ scope?: string;
4218
+ credential?: string;
4219
+ } | null;
4066
4220
  include: Array<string>;
4067
4221
  exclude: Array<string>;
4068
4222
  status: "draft" | "published" | "disabled";
4069
4223
  updatedAt: string;
4070
4224
  referrers: Array<{
4225
+ name: string;
4226
+ displayName: Partial<Record<"en" | "ar", string>>;
4071
4227
  kind: "agent_prompt" | "service" | "skill" | "trigger" | "knowledge_collection";
4072
4228
  id: string;
4073
- name: string;
4074
4229
  readers: {
4075
4230
  kind: "all";
4076
4231
  } | {
@@ -4081,7 +4236,6 @@ export type ManagementProcedures = {
4081
4236
  agentIds: Array<string>;
4082
4237
  };
4083
4238
  }>;
4084
- nameLocked: boolean;
4085
4239
  variables: Array<{
4086
4240
  name: string;
4087
4241
  description: string;
@@ -4089,6 +4243,22 @@ export type ManagementProcedures = {
4089
4243
  type: "string" | "number" | "boolean";
4090
4244
  computed: boolean;
4091
4245
  }>;
4246
+ connection: {
4247
+ status: "connected" | "needs_scope" | "broken";
4248
+ issuer: string;
4249
+ scope: string;
4250
+ expiresAt: string | null;
4251
+ updatedAt: string;
4252
+ stepUp: {
4253
+ missing: string;
4254
+ grantable: boolean;
4255
+ } | null;
4256
+ } | null;
4257
+ endUsers: {
4258
+ connected: number;
4259
+ broken: number;
4260
+ };
4261
+ signInUrl: string | null;
4092
4262
  };
4093
4263
  };
4094
4264
  /** List MCP servers with pagination and search. */
@@ -4107,6 +4277,7 @@ export type ManagementProcedures = {
4107
4277
  name: string;
4108
4278
  url: string;
4109
4279
  status: "draft" | "published" | "disabled";
4280
+ displayName: Partial<Record<"en" | "ar", string>>;
4110
4281
  source: "direct" | "manifest" | "server";
4111
4282
  sourceId: string | null;
4112
4283
  overridable: Array<string>;
@@ -4217,10 +4388,9 @@ export type ManagementProcedures = {
4217
4388
  unchanged: boolean;
4218
4389
  };
4219
4390
  };
4220
- /** Update an MCP server's draft: its name (until first published) and which of its tools agents may call (`include`, empty for every tool, and `exclude`, tool names as the server spells them). Saved as a draft; call publish to make it live. The url and headers (each with a prefix and its value from a credential, the run token, a variable or a constant) apply live without a publish. */
4391
+ /** Update an MCP server's draft: which of its tools agents may call (`include`, empty for every tool, and `exclude`, tool names as the server spells them). Saved as a draft; call publish to make it live. The url, headers (each with a prefix and its value from a credential, the run token, a variable or a constant) and `signIn` apply live without a publish. `signIn` (null for none) has Cortex sign in with OAuth: `connects` is `shared` (an operator connects once for every agent) or `endUser` (each end user connects their own), `scope` what to ask for, and `credential` names the app registered with the authorization server beforehand, an `oauth2-client-credentials` credential naming its `issuer`. A server that signs in declares no Authorization header. */
4221
4392
  "mcpServers.update": {
4222
4393
  input: {
4223
- name: string;
4224
4394
  url: string;
4225
4395
  headers: Array<{
4226
4396
  header: string;
@@ -4238,27 +4408,36 @@ export type ManagementProcedures = {
4238
4408
  value: string;
4239
4409
  };
4240
4410
  }>;
4411
+ signIn: {
4412
+ connects: "shared" | "endUser";
4413
+ scope?: string;
4414
+ credential?: string;
4415
+ } | null;
4241
4416
  include: Array<string>;
4242
4417
  exclude: Array<string>;
4243
4418
  id: string;
4419
+ displayName: Partial<Record<"en" | "ar", string>>;
4244
4420
  };
4245
4421
  output: {
4246
4422
  id: string;
4247
4423
  name: string;
4248
4424
  };
4249
4425
  };
4250
- /** Create a model provider: an OpenAI-compatible `baseUrl` (https, or http on loopback or on a host `EGRESS_ALLOWED_HOSTS` admits), the secret holding its key, the model ids it offers, and the values it accepts as `reasoning_effort`. Its name never changes. Needs `secrets:write` too: every model call sends the key to `baseUrl`. */
4426
+ /** Create a model provider: a display name (a text per locale, `{}` for none), an OpenAI-compatible `baseUrl` (https, or http on loopback or on a host `EGRESS_ALLOWED_HOSTS` admits), the secret holding its key, the model ids it offers, and the values it accepts as `reasoning_effort`. Its name never changes. Needs `secrets:write` too: every model call sends the key to `baseUrl`. */
4251
4427
  "modelProviders.create": {
4252
4428
  input: {
4429
+ displayName: Partial<Record<"en" | "ar", string>>;
4253
4430
  baseUrl: string;
4254
4431
  secretName: string;
4255
4432
  models: Array<string>;
4256
4433
  efforts: Array<string>;
4434
+ /** A name: lowercase letters, digits, and single hyphens. */
4257
4435
  name: string;
4258
4436
  };
4259
4437
  output: {
4260
4438
  id: string;
4261
4439
  name: string;
4440
+ displayName: Partial<Record<"en" | "ar", string>>;
4262
4441
  baseUrl: string;
4263
4442
  secretName: string;
4264
4443
  models: string | number | boolean | null | Record<string, unknown> | Array<unknown>;
@@ -4275,6 +4454,7 @@ export type ManagementProcedures = {
4275
4454
  output: {
4276
4455
  id: string;
4277
4456
  name: string;
4457
+ displayName: Partial<Record<"en" | "ar", string>>;
4278
4458
  baseUrl: string;
4279
4459
  secretName: string;
4280
4460
  models: string | number | boolean | null | Record<string, unknown> | Array<unknown>;
@@ -4305,6 +4485,7 @@ export type ManagementProcedures = {
4305
4485
  items: Array<{
4306
4486
  id: string;
4307
4487
  name: string;
4488
+ displayName: Partial<Record<"en" | "ar", string>>;
4308
4489
  baseUrl: string;
4309
4490
  secretName: string;
4310
4491
  models: string | number | boolean | null | Record<string, unknown> | Array<unknown>;
@@ -4314,9 +4495,10 @@ export type ManagementProcedures = {
4314
4495
  usedBy: {
4315
4496
  count: number;
4316
4497
  preview: Array<{
4498
+ name: string;
4499
+ displayName: Partial<Record<"en" | "ar", string>>;
4317
4500
  kind: "credential" | "model_provider" | "server" | "agent" | "tool" | "trigger" | "dataset_host" | "webhook" | "mcp_server";
4318
4501
  id: string;
4319
- name: string;
4320
4502
  }>;
4321
4503
  };
4322
4504
  }>;
@@ -4326,18 +4508,20 @@ export type ManagementProcedures = {
4326
4508
  filteredCount: number;
4327
4509
  };
4328
4510
  };
4329
- /** Every model provider with its models and efforts, in name order, for a model picker. */
4511
+ /** Every model provider with its display name, models and efforts, in name order, for a model picker. */
4330
4512
  "modelProviders.options": {
4331
4513
  input: undefined;
4332
4514
  output: Array<{
4333
4515
  name: string;
4516
+ displayName: Partial<Record<"en" | "ar", string>>;
4334
4517
  models: string | number | boolean | null | Record<string, unknown> | Array<unknown>;
4335
4518
  efforts: string | number | boolean | null | Record<string, unknown> | Array<unknown>;
4336
4519
  }>;
4337
4520
  };
4338
- /** Change a model provider's URL, key secret, models and efforts. Refused with `in_use` while a server, agent or trigger picks a model or effort it would drop. Changing the URL or the key secret needs `secrets:write` too (`secret_binding_forbidden`): either sends a stored secret somewhere new. Applies from each agent's next turn. */
4521
+ /** Change a model provider's display name, URL, key secret, models and efforts. Refused with `in_use` while a server, agent or trigger picks a model or effort it would drop. Changing the URL or the key secret needs `secrets:write` too (`secret_binding_forbidden`): either sends a stored secret somewhere new. Applies from each agent's next turn. */
4339
4522
  "modelProviders.update": {
4340
4523
  input: {
4524
+ displayName: Partial<Record<"en" | "ar", string>>;
4341
4525
  baseUrl: string;
4342
4526
  secretName: string;
4343
4527
  models: Array<string>;
@@ -4347,6 +4531,7 @@ export type ManagementProcedures = {
4347
4531
  output: {
4348
4532
  id: string;
4349
4533
  name: string;
4534
+ displayName: Partial<Record<"en" | "ar", string>>;
4350
4535
  baseUrl: string;
4351
4536
  secretName: string;
4352
4537
  models: string | number | boolean | null | Record<string, unknown> | Array<unknown>;
@@ -4369,7 +4554,10 @@ export type ManagementProcedures = {
4369
4554
  callerId: string | null;
4370
4555
  toolName: string;
4371
4556
  createdAt: string;
4372
- agentName: string;
4557
+ agent: {
4558
+ name: string;
4559
+ displayName: Partial<Record<"en" | "ar", string>>;
4560
+ };
4373
4561
  triggerName: string | null;
4374
4562
  threadId: string | null;
4375
4563
  threadTitle: string | null;
@@ -4405,7 +4593,8 @@ export type ManagementProcedures = {
4405
4593
  entityType: "knowledge" | "service" | "tool";
4406
4594
  entityId: string;
4407
4595
  collectionId: string | null;
4408
- name: Record<"en" | "ar", string>;
4596
+ name: string;
4597
+ displayName: Partial<Record<"en" | "ar", string>>;
4409
4598
  resolutionCount: number;
4410
4599
  }>;
4411
4600
  broadTools: Array<{
@@ -4417,13 +4606,19 @@ export type ManagementProcedures = {
4417
4606
  missingQueries: Array<{
4418
4607
  queryHash: string;
4419
4608
  agentId: string;
4420
- agentName: string;
4609
+ agent: {
4610
+ name: string;
4611
+ displayName: Partial<Record<"en" | "ar", string>>;
4612
+ };
4421
4613
  searchCount: number;
4422
4614
  lastSearchedAt: string;
4423
4615
  }>;
4424
4616
  hitRates: Array<{
4425
4617
  agentId: string;
4426
- agentName: string;
4618
+ agent: {
4619
+ name: string;
4620
+ displayName: Partial<Record<"en" | "ar", string>>;
4621
+ };
4427
4622
  retrievalCount: number;
4428
4623
  hitCount: number;
4429
4624
  hitRate: number;
@@ -4442,9 +4637,14 @@ export type ManagementProcedures = {
4442
4637
  outcome: "started" | "awaiting_approval" | "completed" | "failed" | "rejected" | "dropped";
4443
4638
  reason: "busy" | "approval_pending" | "budget" | "rate_limited" | "invalid_payload" | "missing_thread_key" | "no_turn" | "no_output" | "invalid_output" | null;
4444
4639
  output: unknown;
4445
- serverName: string | null;
4446
- agentSlug: string;
4447
- agentName: string;
4640
+ server: {
4641
+ name: string;
4642
+ displayName: Partial<Record<"en" | "ar", string>>;
4643
+ } | null;
4644
+ agent: {
4645
+ name: string;
4646
+ displayName: Partial<Record<"en" | "ar", string>>;
4647
+ };
4448
4648
  threadTitle: string | null;
4449
4649
  createdAt: string;
4450
4650
  finishedAt: string | null;
@@ -4479,7 +4679,10 @@ export type ManagementProcedures = {
4479
4679
  };
4480
4680
  perUser: Array<{
4481
4681
  scopeId: string;
4482
- scopeName: string;
4682
+ scope: {
4683
+ name: string;
4684
+ displayName: Partial<Record<"en" | "ar", string>>;
4685
+ };
4483
4686
  userId: string;
4484
4687
  triggerName: string | null;
4485
4688
  threads: number;
@@ -4492,11 +4695,17 @@ export type ManagementProcedures = {
4492
4695
  }>;
4493
4696
  perServer: Array<{
4494
4697
  serverId: string | null;
4495
- serverName: string | null;
4698
+ server: {
4699
+ name: string;
4700
+ displayName: Partial<Record<"en" | "ar", string>>;
4701
+ } | null;
4496
4702
  totalTokens: number;
4497
4703
  }>;
4498
4704
  perAgent: Array<{
4499
- agentSlug: string;
4705
+ agent: {
4706
+ name: string;
4707
+ displayName: Partial<Record<"en" | "ar", string>>;
4708
+ };
4500
4709
  totalTokens: number;
4501
4710
  }>;
4502
4711
  perDay: Array<{
@@ -4530,9 +4739,14 @@ export type ManagementProcedures = {
4530
4739
  detail: string | null;
4531
4740
  threadId: string;
4532
4741
  createdAt: string;
4533
- serverName: string | null;
4534
- agentSlug: string;
4535
- agentName: string;
4742
+ server: {
4743
+ name: string;
4744
+ displayName: Partial<Record<"en" | "ar", string>>;
4745
+ } | null;
4746
+ agent: {
4747
+ name: string;
4748
+ displayName: Partial<Record<"en" | "ar", string>>;
4749
+ };
4536
4750
  threadTitle: string | null;
4537
4751
  }>;
4538
4752
  /** Every row the caller may see, ignoring the search and filters. */
@@ -4565,7 +4779,10 @@ export type ManagementProcedures = {
4565
4779
  callerId: string | null;
4566
4780
  toolName: string;
4567
4781
  createdAt: string;
4568
- agentName: string;
4782
+ agent: {
4783
+ name: string;
4784
+ displayName: Partial<Record<"en" | "ar", string>>;
4785
+ };
4569
4786
  triggerName: string | null;
4570
4787
  }>;
4571
4788
  /** Every row the caller may see, ignoring the search and filters. */
@@ -4635,7 +4852,10 @@ export type ManagementProcedures = {
4635
4852
  output: {
4636
4853
  items: Array<{
4637
4854
  agentId: string;
4638
- agentName: string;
4855
+ agent: {
4856
+ name: string;
4857
+ displayName: Partial<Record<"en" | "ar", string>>;
4858
+ };
4639
4859
  skillName: string;
4640
4860
  misses: number;
4641
4861
  lastSeenAt: string | null;
@@ -4712,9 +4932,14 @@ export type ManagementProcedures = {
4712
4932
  outcome: "started" | "awaiting_approval" | "completed" | "failed" | "rejected" | "dropped";
4713
4933
  reason: "busy" | "approval_pending" | "budget" | "rate_limited" | "invalid_payload" | "missing_thread_key" | "no_turn" | "no_output" | "invalid_output" | null;
4714
4934
  output: unknown;
4715
- serverName: string | null;
4716
- agentSlug: string;
4717
- agentName: string;
4935
+ server: {
4936
+ name: string;
4937
+ displayName: Partial<Record<"en" | "ar", string>>;
4938
+ } | null;
4939
+ agent: {
4940
+ name: string;
4941
+ displayName: Partial<Record<"en" | "ar", string>>;
4942
+ };
4718
4943
  threadTitle: string | null;
4719
4944
  createdAt: string;
4720
4945
  finishedAt: string | null;
@@ -4759,9 +4984,10 @@ export type ManagementProcedures = {
4759
4984
  agentId: string;
4760
4985
  };
4761
4986
  output: Array<{
4987
+ name: string;
4988
+ displayName: Partial<Record<"en" | "ar", string>>;
4762
4989
  kind: "tool" | "service" | "skill" | "trigger" | "dataset_host" | "mcp_server" | "webhook" | "knowledge_collection";
4763
4990
  id: string;
4764
- name: string;
4765
4991
  }>;
4766
4992
  };
4767
4993
  /** Publication history of an entity with pagination. */
@@ -4868,11 +5094,12 @@ export type ManagementProcedures = {
4868
5094
  output: {
4869
5095
  id: string;
4870
5096
  name: string;
5097
+ displayName: Partial<Record<"en" | "ar", string>>;
4871
5098
  createdAt: string;
4872
5099
  updatedAt: string;
4873
5100
  };
4874
5101
  };
4875
- /** List secret names and dates with pagination and search, each with how many rows name it and the first few (`usedBy`); values are never returned. */
5102
+ /** List secrets' names, display names and dates with pagination and search, each with how many rows name it and the first few (`usedBy`); values are never returned. */
4876
5103
  "secrets.list": {
4877
5104
  input: {
4878
5105
  pageIndex?: number;
@@ -4883,14 +5110,16 @@ export type ManagementProcedures = {
4883
5110
  items: Array<{
4884
5111
  id: string;
4885
5112
  name: string;
5113
+ displayName: Partial<Record<"en" | "ar", string>>;
4886
5114
  createdAt: string;
4887
5115
  updatedAt: string;
4888
5116
  usedBy: {
4889
5117
  count: number;
4890
5118
  preview: Array<{
5119
+ name: string;
5120
+ displayName: Partial<Record<"en" | "ar", string>>;
4891
5121
  kind: "credential" | "model_provider" | "server" | "agent" | "tool" | "trigger" | "dataset_host" | "webhook" | "mcp_server";
4892
5122
  id: string;
4893
- name: string;
4894
5123
  }>;
4895
5124
  };
4896
5125
  }>;
@@ -4900,12 +5129,15 @@ export type ManagementProcedures = {
4900
5129
  filteredCount: number;
4901
5130
  };
4902
5131
  };
4903
- /** Every secret name in order, for a picker. */
5132
+ /** Every secret's name and display name, in name order, for a picker. */
4904
5133
  "secrets.names": {
4905
5134
  input: undefined;
4906
- output: Array<string>;
5135
+ output: Array<{
5136
+ name: string;
5137
+ displayName: Partial<Record<"en" | "ar", string>>;
5138
+ }>;
4907
5139
  };
4908
- /** Replace a secret's value in place. */
5140
+ /** Replace a secret's value in place; a `private_key_jwt` credential's generated key is refused (`signing_key_secret`), since only `credentials.rotateKey` rewrites it. */
4909
5141
  "secrets.rotate": {
4910
5142
  input: {
4911
5143
  id: string;
@@ -4914,27 +5146,45 @@ export type ManagementProcedures = {
4914
5146
  output: {
4915
5147
  id: string;
4916
5148
  name: string;
5149
+ displayName: Partial<Record<"en" | "ar", string>>;
4917
5150
  createdAt: string;
4918
5151
  updatedAt: string;
4919
5152
  };
4920
5153
  };
4921
- /** Create a named secret; credentials compose it by name, and a tool input field may read it. */
5154
+ /** Create a named secret with a display name (a text per locale, `{}` for none); credentials compose it by name, and a tool input field may read it. */
4922
5155
  "secrets.set": {
4923
5156
  input: {
5157
+ /** A name: lowercase letters, digits, and single hyphens. */
4924
5158
  name: string;
5159
+ displayName: Partial<Record<"en" | "ar", string>>;
4925
5160
  value: string;
4926
5161
  };
4927
5162
  output: {
4928
5163
  id: string;
4929
5164
  name: string;
5165
+ displayName: Partial<Record<"en" | "ar", string>>;
4930
5166
  createdAt: string;
4931
5167
  updatedAt: string;
4932
5168
  };
4933
5169
  };
4934
- /** Register a server by name, with the URL it serves the server protocol at, the secret holding its key, optionally the model its agents run on by default, and how often Cortex may check callers with it: `signInChecksPerMinute` (new end-user tokens it verifies) and `triggerChecksPerMinute` (trigger secrets). Its manifest is read at once; a failed read is the row's `syncError` and does not fail the registration. */
4935
- "servers.create": {
5170
+ /** Set a secret's display name, a text per locale. Its name and value stay; `secrets.rotate` replaces the value. */
5171
+ "secrets.update": {
4936
5172
  input: {
5173
+ id: string;
5174
+ displayName: Partial<Record<"en" | "ar", string>>;
5175
+ };
5176
+ output: {
5177
+ id: string;
4937
5178
  name: string;
5179
+ displayName: Partial<Record<"en" | "ar", string>>;
5180
+ createdAt: string;
5181
+ updatedAt: string;
5182
+ };
5183
+ };
5184
+ /** Register a server by name, with a display name (a text per locale, `{}` for none), the URL it serves the server protocol at, the secret holding its key, optionally the model its agents run on by default, and how often Cortex may check callers with it: `signInChecksPerMinute` (new end-user tokens it verifies) and `triggerChecksPerMinute` (trigger secrets). Its manifest is read at once; a failed read is the row's `syncError` and does not fail the registration. */
5185
+ "servers.create": {
5186
+ input: {
5187
+ displayName: Partial<Record<"en" | "ar", string>>;
4938
5188
  description: string;
4939
5189
  url: string | "";
4940
5190
  keySecretName: string;
@@ -4943,10 +5193,13 @@ export type ManagementProcedures = {
4943
5193
  modelEffort: string | null;
4944
5194
  signInChecksPerMinute: number;
4945
5195
  triggerChecksPerMinute: number;
5196
+ /** A name: lowercase letters, digits, and single hyphens. */
5197
+ name: string;
4946
5198
  };
4947
5199
  output: {
4948
5200
  id: string;
4949
5201
  name: string;
5202
+ displayName: Partial<Record<"en" | "ar", string>>;
4950
5203
  description: string | null;
4951
5204
  url: string | null;
4952
5205
  keySecretName: string | null;
@@ -4960,6 +5213,7 @@ export type ManagementProcedures = {
4960
5213
  }>;
4961
5214
  tools: Array<{
4962
5215
  name: string;
5216
+ displayName?: Partial<Record<"en" | "ar", string>>;
4963
5217
  description: string;
4964
5218
  inputSchema: Record<string, unknown>;
4965
5219
  outputSchema?: Record<string, unknown>;
@@ -4991,6 +5245,7 @@ export type ManagementProcedures = {
4991
5245
  output: {
4992
5246
  id: string;
4993
5247
  name: string;
5248
+ displayName: Partial<Record<"en" | "ar", string>>;
4994
5249
  description: string | null;
4995
5250
  url: string | null;
4996
5251
  keySecretName: string | null;
@@ -5004,6 +5259,7 @@ export type ManagementProcedures = {
5004
5259
  }>;
5005
5260
  tools: Array<{
5006
5261
  name: string;
5262
+ displayName?: Partial<Record<"en" | "ar", string>>;
5007
5263
  description: string;
5008
5264
  inputSchema: Record<string, unknown>;
5009
5265
  outputSchema?: Record<string, unknown>;
@@ -5035,6 +5291,7 @@ export type ManagementProcedures = {
5035
5291
  output: {
5036
5292
  id: string;
5037
5293
  name: string;
5294
+ displayName: Partial<Record<"en" | "ar", string>>;
5038
5295
  description: string | null;
5039
5296
  url: string | null;
5040
5297
  keySecretName: string | null;
@@ -5056,9 +5313,10 @@ export type ManagementProcedures = {
5056
5313
  computed: boolean;
5057
5314
  }>;
5058
5315
  components: Array<{
5316
+ name: string;
5317
+ displayName: Partial<Record<"en" | "ar", string>>;
5059
5318
  kind: "tool" | "service" | "skill" | "trigger" | "dataset_host" | "mcp_server" | "webhook" | "knowledge_collection";
5060
5319
  id: string;
5061
- name: string;
5062
5320
  }>;
5063
5321
  };
5064
5322
  };
@@ -5074,6 +5332,7 @@ export type ManagementProcedures = {
5074
5332
  items: Array<{
5075
5333
  id: string;
5076
5334
  name: string;
5335
+ displayName: Partial<Record<"en" | "ar", string>>;
5077
5336
  description: string | null;
5078
5337
  url: string | null;
5079
5338
  keySecretName: string | null;
@@ -5089,7 +5348,7 @@ export type ManagementProcedures = {
5089
5348
  filteredCount: number;
5090
5349
  };
5091
5350
  };
5092
- /** Server id and name pairs for selectors. Cortex's own system server is left out unless `includeSystem` asks for it, as a filter over its threads does. */
5351
+ /** Each server's id, name and display name, for selectors. Cortex's own system server is left out unless `includeSystem` asks for it, as a filter over its threads does. */
5093
5352
  "servers.options": {
5094
5353
  input: {
5095
5354
  includeSystem?: boolean;
@@ -5097,6 +5356,7 @@ export type ManagementProcedures = {
5097
5356
  output: Array<{
5098
5357
  id: string;
5099
5358
  name: string;
5359
+ displayName: Partial<Record<"en" | "ar", string>>;
5100
5360
  }>;
5101
5361
  };
5102
5362
  /** Read the server's manifest now and apply its variables and native tools; a refused manifest leaves the previous one in place. */
@@ -5108,10 +5368,10 @@ export type ManagementProcedures = {
5108
5368
  syncedAt: string;
5109
5369
  };
5110
5370
  };
5111
- /** Rename a server, change its URL or key, set how often Cortex may check callers with it (`signInChecksPerMinute`, `triggerChecksPerMinute`; resend the current values to keep them), or pick the model its agents run on by default: `modelProvider` with one of its `modelName`s, and a `modelEffort` that provider lists; all null leaves each agent to pick its own. Refused as `model_not_offered` otherwise, and as `model_in_use` when an agent on the server picks an effort alone the new provider does not list, or is published with no model of its own and would be left without one. Clearing the URL or key drops what its manifest offered, refused as a sync dropping it all would be: `verify_in_use` while an agent's auth is the server's, `variable_in_use` or `still_referenced` while a published component reads a variable or calls a native tool it declared. A rename is refused as `manifest_in_use`, naming the `manifests`, while a manifest names the server by an agent on it or a component reaching it. A new URL or key has its manifest read at once, as on registration. */
5371
+ /** Change a server's display name, URL or key, set how often Cortex may check callers with it (`signInChecksPerMinute`, `triggerChecksPerMinute`; resend the current values to keep them), or pick the model its agents run on by default: `modelProvider` with one of its `modelName`s, and a `modelEffort` that provider lists; all null leaves each agent to pick its own. Refused as `model_not_offered` otherwise, and as `model_in_use` when an agent on the server picks an effort alone the new provider does not list, or is published with no model of its own and would be left without one. Clearing the URL or key drops what its manifest offered, refused as a sync dropping it all would be: `verify_in_use` while an agent's auth is the server's, `variable_in_use` or `still_referenced` while a published component reads a variable or calls a native tool it declared. A new URL or key has its manifest read at once, as on registration. */
5112
5372
  "servers.update": {
5113
5373
  input: {
5114
- name: string;
5374
+ displayName: Partial<Record<"en" | "ar", string>>;
5115
5375
  description: string;
5116
5376
  url: string | "";
5117
5377
  keySecretName: string;
@@ -5125,6 +5385,7 @@ export type ManagementProcedures = {
5125
5385
  output: {
5126
5386
  id: string;
5127
5387
  name: string;
5388
+ displayName: Partial<Record<"en" | "ar", string>>;
5128
5389
  description: string | null;
5129
5390
  url: string | null;
5130
5391
  keySecretName: string | null;
@@ -5138,6 +5399,7 @@ export type ManagementProcedures = {
5138
5399
  }>;
5139
5400
  tools: Array<{
5140
5401
  name: string;
5402
+ displayName?: Partial<Record<"en" | "ar", string>>;
5141
5403
  description: string;
5142
5404
  inputSchema: Record<string, unknown>;
5143
5405
  outputSchema?: Record<string, unknown>;
@@ -5164,9 +5426,9 @@ export type ManagementProcedures = {
5164
5426
  /** Create a service with an audience ({ kind: "all" }, { kind: "server", serverId }, or { kind: "agents", agentIds }). The draft has no tools yet; add them before publishing. */
5165
5427
  "services.create": {
5166
5428
  input: {
5167
- /** A slug: lowercase letters, digits, and single hyphens. */
5168
- key: string;
5169
- name: Record<"en" | "ar", string>;
5429
+ /** A name: lowercase letters, digits, and single hyphens. */
5430
+ name: string;
5431
+ displayName: Partial<Record<"en" | "ar", string>>;
5170
5432
  audience: {
5171
5433
  kind: "all";
5172
5434
  } | {
@@ -5179,7 +5441,7 @@ export type ManagementProcedures = {
5179
5441
  };
5180
5442
  output: {
5181
5443
  id: string;
5182
- name: Record<"en" | "ar", string>;
5444
+ name: string;
5183
5445
  };
5184
5446
  };
5185
5447
  /** Delete a service; fails while tools reference it. */
@@ -5198,11 +5460,11 @@ export type ManagementProcedures = {
5198
5460
  };
5199
5461
  output: {
5200
5462
  id: string;
5201
- key: string;
5202
- name: Record<"en" | "ar", string>;
5463
+ name: string;
5203
5464
  description: Record<"en" | "ar", string>;
5204
5465
  status: "draft" | "published" | "disabled";
5205
5466
  updatedAt: string;
5467
+ displayName: Partial<Record<"en" | "ar", string>>;
5206
5468
  source: "direct" | "manifest" | "server";
5207
5469
  sourceId: string | null;
5208
5470
  overridable: Array<string>;
@@ -5216,9 +5478,10 @@ export type ManagementProcedures = {
5216
5478
  agentIds: Array<string>;
5217
5479
  };
5218
5480
  referrers: Array<{
5481
+ name: string;
5482
+ displayName: Partial<Record<"en" | "ar", string>>;
5219
5483
  kind: "agent_prompt" | "service" | "skill" | "trigger" | "knowledge_collection";
5220
5484
  id: string;
5221
- name: string;
5222
5485
  readers: {
5223
5486
  kind: "all";
5224
5487
  } | {
@@ -5237,7 +5500,6 @@ export type ManagementProcedures = {
5237
5500
  id: string;
5238
5501
  name: string;
5239
5502
  }>;
5240
- nameLocked: boolean;
5241
5503
  };
5242
5504
  };
5243
5505
  /** List services (upstream API groupings for tools) with pagination and search. */
@@ -5253,10 +5515,10 @@ export type ManagementProcedures = {
5253
5515
  output: {
5254
5516
  items: Array<{
5255
5517
  id: string;
5256
- key: string;
5257
- name: Record<"en" | "ar", string>;
5518
+ name: string;
5258
5519
  description: Record<"en" | "ar", string>;
5259
5520
  status: "draft" | "published" | "disabled";
5521
+ displayName: Partial<Record<"en" | "ar", string>>;
5260
5522
  source: "direct" | "manifest" | "server";
5261
5523
  sourceId: string | null;
5262
5524
  overridable: Array<string>;
@@ -5276,7 +5538,7 @@ export type ManagementProcedures = {
5276
5538
  filteredCount: number;
5277
5539
  };
5278
5540
  };
5279
- /** Every service a component with the given audience may be scoped to, as id, key and name, for selectors. */
5541
+ /** Every service a component with the given audience may be scoped to, as id, name and display name, for selectors. */
5280
5542
  "services.options": {
5281
5543
  input: {
5282
5544
  audience: {
@@ -5291,8 +5553,8 @@ export type ManagementProcedures = {
5291
5553
  };
5292
5554
  output: Array<{
5293
5555
  id: string;
5294
- key: string;
5295
- name: Record<"en" | "ar", string>;
5556
+ name: string;
5557
+ displayName: Partial<Record<"en" | "ar", string>>;
5296
5558
  }>;
5297
5559
  };
5298
5560
  /** Publish the service's current draft. */
@@ -5373,15 +5635,13 @@ export type ManagementProcedures = {
5373
5635
  /** Update a service's draft. Saved as a draft; call the entity's publish procedure to make it live. */
5374
5636
  "services.update": {
5375
5637
  input: {
5376
- /** A slug: lowercase letters, digits, and single hyphens. */
5377
- key: string;
5378
- name: Record<"en" | "ar", string>;
5638
+ displayName: Partial<Record<"en" | "ar", string>>;
5379
5639
  description: Record<"en" | "ar", string>;
5380
5640
  id: string;
5381
5641
  };
5382
5642
  output: {
5383
5643
  id: string;
5384
- name: Record<"en" | "ar", string>;
5644
+ name: string;
5385
5645
  };
5386
5646
  };
5387
5647
  /** Deployment settings: log and thread retention. */
@@ -5413,8 +5673,9 @@ export type ManagementProcedures = {
5413
5673
  /** Create a skill with an audience ({ kind: "all" }, { kind: "server", serverId }, or { kind: "agents", agentIds }). The draft has no body yet; fill it with update before publishing. */
5414
5674
  "skills.create": {
5415
5675
  input: {
5416
- /** A slug: lowercase letters, digits, and single hyphens. */
5676
+ /** A name: lowercase letters, digits, and single hyphens. */
5417
5677
  name: string;
5678
+ displayName: Partial<Record<"en" | "ar", string>>;
5418
5679
  audience: {
5419
5680
  kind: "all";
5420
5681
  } | {
@@ -5453,6 +5714,7 @@ export type ManagementProcedures = {
5453
5714
  body: string;
5454
5715
  status: "draft" | "published" | "disabled";
5455
5716
  updatedAt: string;
5717
+ displayName: Partial<Record<"en" | "ar", string>>;
5456
5718
  source: "direct" | "manifest" | "server";
5457
5719
  sourceId: string | null;
5458
5720
  overridable: Array<string>;
@@ -5466,9 +5728,10 @@ export type ManagementProcedures = {
5466
5728
  agentIds: Array<string>;
5467
5729
  };
5468
5730
  referrers: Array<{
5731
+ name: string;
5732
+ displayName: Partial<Record<"en" | "ar", string>>;
5469
5733
  kind: "agent_prompt" | "service" | "skill" | "trigger" | "knowledge_collection";
5470
5734
  id: string;
5471
- name: string;
5472
5735
  readers: {
5473
5736
  kind: "all";
5474
5737
  } | {
@@ -5479,7 +5742,10 @@ export type ManagementProcedures = {
5479
5742
  agentIds: Array<string>;
5480
5743
  };
5481
5744
  }>;
5482
- serviceKey: string | null;
5745
+ service: {
5746
+ name: string;
5747
+ displayName: Partial<Record<"en" | "ar", string>>;
5748
+ } | null;
5483
5749
  variables: Array<{
5484
5750
  name: string;
5485
5751
  description: string;
@@ -5499,7 +5765,6 @@ export type ManagementProcedures = {
5499
5765
  id: string;
5500
5766
  name: string;
5501
5767
  }>;
5502
- nameLocked: boolean;
5503
5768
  };
5504
5769
  };
5505
5770
  /** List skills with pagination and search: every skill of an agent, or only those scoped to no service or to one service. */
@@ -5520,6 +5785,7 @@ export type ManagementProcedures = {
5520
5785
  name: string;
5521
5786
  description: string;
5522
5787
  status: "draft" | "published" | "disabled";
5788
+ displayName: Partial<Record<"en" | "ar", string>>;
5523
5789
  source: "direct" | "manifest" | "server";
5524
5790
  sourceId: string | null;
5525
5791
  overridable: Array<string>;
@@ -5614,14 +5880,13 @@ export type ManagementProcedures = {
5614
5880
  unchanged: boolean;
5615
5881
  };
5616
5882
  };
5617
- /** Update a skill's draft name, description, or body. Saved as a draft; call the entity's publish procedure to make it live. */
5883
+ /** Update a skill's display name, or its draft description or body. The description and body are saved as a draft; call the entity's publish procedure to make them live. The display name applies at once. */
5618
5884
  "skills.update": {
5619
5885
  input: {
5620
- /** A slug: lowercase letters, digits, and single hyphens. */
5621
- name: string;
5622
5886
  description: string;
5623
5887
  body: string;
5624
5888
  id: string;
5889
+ displayName: Partial<Record<"en" | "ar", string>>;
5625
5890
  variables: Array<string>;
5626
5891
  };
5627
5892
  output: {
@@ -5643,10 +5908,15 @@ export type ManagementProcedures = {
5643
5908
  createdAt: string;
5644
5909
  updatedAt: string;
5645
5910
  serverId: string | null;
5646
- serverName: string | null;
5647
- agentSlug: string;
5911
+ server: {
5912
+ name: string;
5913
+ displayName: Partial<Record<"en" | "ar", string>>;
5914
+ } | null;
5915
+ agent: {
5916
+ name: string;
5917
+ displayName: Partial<Record<"en" | "ar", string>>;
5918
+ };
5648
5919
  agentId: string;
5649
- agentName: string;
5650
5920
  agentUrl: string | null;
5651
5921
  messageCount: number;
5652
5922
  totalTokens: number;
@@ -5665,7 +5935,7 @@ export type ManagementProcedures = {
5665
5935
  pageSize?: number;
5666
5936
  q?: string;
5667
5937
  serverId?: string;
5668
- agentSlug?: string;
5938
+ agentName?: string;
5669
5939
  userId?: string;
5670
5940
  dateFrom?: string;
5671
5941
  dateTo?: string;
@@ -5682,8 +5952,14 @@ export type ManagementProcedures = {
5682
5952
  createdAt: string;
5683
5953
  updatedAt: string;
5684
5954
  serverId: string | null;
5685
- serverName: string | null;
5686
- agentSlug: string;
5955
+ server: {
5956
+ name: string;
5957
+ displayName: Partial<Record<"en" | "ar", string>>;
5958
+ } | null;
5959
+ agent: {
5960
+ name: string;
5961
+ displayName: Partial<Record<"en" | "ar", string>>;
5962
+ };
5687
5963
  }>;
5688
5964
  /** Every row the caller may see, ignoring the search and filters. */
5689
5965
  count: number;
@@ -5872,6 +6148,7 @@ export type ManagementProcedures = {
5872
6148
  description: string;
5873
6149
  endpointUrl: string;
5874
6150
  method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
6151
+ displayName: Partial<Record<"en" | "ar", string>>;
5875
6152
  audience: {
5876
6153
  kind: "all";
5877
6154
  } | {
@@ -6103,6 +6380,7 @@ export type ManagementProcedures = {
6103
6380
  agentIds: Array<string>;
6104
6381
  };
6105
6382
  name: string;
6383
+ displayName: Partial<Record<"en" | "ar", string>>;
6106
6384
  description: string;
6107
6385
  type: "http" | "embedded" | "soap" | "native" | "client";
6108
6386
  config: {
@@ -6137,9 +6415,10 @@ export type ManagementProcedures = {
6137
6415
  createdAt: string;
6138
6416
  updatedAt: string;
6139
6417
  referrers: Array<{
6418
+ name: string;
6419
+ displayName: Partial<Record<"en" | "ar", string>>;
6140
6420
  kind: "agent_prompt" | "service" | "skill" | "trigger" | "knowledge_collection";
6141
6421
  id: string;
6142
- name: string;
6143
6422
  readers: {
6144
6423
  kind: "all";
6145
6424
  } | {
@@ -6159,7 +6438,6 @@ export type ManagementProcedures = {
6159
6438
  }>;
6160
6439
  inputFields: Array<StoredSchemaFieldRow>;
6161
6440
  outputFields: Array<StoredSchemaFieldRow>;
6162
- nameLocked: boolean;
6163
6441
  };
6164
6442
  };
6165
6443
  /** List tools with pagination and search. */
@@ -6183,6 +6461,7 @@ export type ManagementProcedures = {
6183
6461
  status: "draft" | "published" | "disabled";
6184
6462
  pinned: boolean;
6185
6463
  importSource: string | null;
6464
+ displayName: Partial<Record<"en" | "ar", string>>;
6186
6465
  source: "direct" | "manifest" | "server";
6187
6466
  sourceId: string | null;
6188
6467
  overridable: Array<string>;
@@ -6202,12 +6481,13 @@ export type ManagementProcedures = {
6202
6481
  filteredCount: number;
6203
6482
  };
6204
6483
  };
6205
- /** Tool id and name pairs for selectors. */
6484
+ /** Each tool's id, name and display name, for selectors. */
6206
6485
  "tools.options": {
6207
6486
  input: undefined;
6208
6487
  output: Array<{
6209
6488
  id: string;
6210
6489
  name: string;
6490
+ displayName: Partial<Record<"en" | "ar", string>>;
6211
6491
  }>;
6212
6492
  };
6213
6493
  /** Parse an OpenAPI document and list the operations it would import as tools, and the tools already importing some of them. */
@@ -6387,8 +6667,6 @@ export type ManagementProcedures = {
6387
6667
  /** Update a tool's draft. Saved as a draft; call the entity's publish procedure to make it live. `headers` (the headers every call carries, each with a prefix and where its value comes from: `{ kind: "credential", name }`, `{ kind: "runToken" }`, `{ kind: "variable", name }` or `{ kind: "constant", value }`) and `rateLimits` (calls per minute for all users and per user, null for no limit) apply live without a publish. A variable must be one every agent the tool reaches is filled with. */
6388
6668
  "tools.update": {
6389
6669
  input: {
6390
- /** An identifier of up to 64 characters: letters, digits, _ or $, not starting with a digit, and not the name of a built-in tool (submitAnswer, loadSkill, executeCode, requestLocation and the like). */
6391
- name: string;
6392
6670
  description: string;
6393
6671
  endpointUrl: string;
6394
6672
  method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
@@ -6423,6 +6701,7 @@ export type ManagementProcedures = {
6423
6701
  projectOutput: boolean;
6424
6702
  tags: Array<string>;
6425
6703
  id: string;
6704
+ displayName: Partial<Record<"en" | "ar", string>>;
6426
6705
  variables: Array<{
6427
6706
  name: string;
6428
6707
  description: string;
@@ -6516,8 +6795,9 @@ export type ManagementProcedures = {
6516
6795
  /** Create a trigger (a named entry point external systems fire on an agent) with an audience ({ kind: "all" }, { kind: "server", serverId }, or { kind: "agents", agentIds }), fired on any agent in it. The draft has no instructions yet; fill them with update before publishing. */
6517
6796
  "triggers.create": {
6518
6797
  input: {
6519
- /** A slug: lowercase letters, digits, and single hyphens. */
6798
+ /** A name: lowercase letters, digits, and single hyphens. */
6520
6799
  name: string;
6800
+ displayName: Partial<Record<"en" | "ar", string>>;
6521
6801
  audience: {
6522
6802
  kind: "all";
6523
6803
  } | {
@@ -6628,6 +6908,7 @@ export type ManagementProcedures = {
6628
6908
  modelEffort: string | null;
6629
6909
  status: "draft" | "published" | "disabled";
6630
6910
  updatedAt: string;
6911
+ displayName: Partial<Record<"en" | "ar", string>>;
6631
6912
  source: "direct" | "manifest" | "server";
6632
6913
  sourceId: string | null;
6633
6914
  overridable: Array<string>;
@@ -6641,9 +6922,10 @@ export type ManagementProcedures = {
6641
6922
  agentIds: Array<string>;
6642
6923
  };
6643
6924
  referrers: Array<{
6925
+ name: string;
6926
+ displayName: Partial<Record<"en" | "ar", string>>;
6644
6927
  kind: "agent_prompt" | "service" | "skill" | "trigger" | "knowledge_collection";
6645
6928
  id: string;
6646
- name: string;
6647
6929
  readers: {
6648
6930
  kind: "all";
6649
6931
  } | {
@@ -6656,8 +6938,8 @@ export type ManagementProcedures = {
6656
6938
  }>;
6657
6939
  agents: Array<{
6658
6940
  id: string;
6659
- slug: string;
6660
6941
  name: string;
6942
+ displayName: Partial<Record<"en" | "ar", string>>;
6661
6943
  }>;
6662
6944
  engineUrl: string | null;
6663
6945
  variables: Array<{
@@ -6681,7 +6963,6 @@ export type ManagementProcedures = {
6681
6963
  id: string;
6682
6964
  name: string;
6683
6965
  }>;
6684
- nameLocked: boolean;
6685
6966
  };
6686
6967
  };
6687
6968
  /** List triggers with pagination and search. */
@@ -6711,6 +6992,7 @@ export type ManagementProcedures = {
6711
6992
  };
6712
6993
  status: "draft" | "published" | "disabled";
6713
6994
  secretPrefix: string;
6995
+ displayName: Partial<Record<"en" | "ar", string>>;
6714
6996
  source: "direct" | "manifest" | "server";
6715
6997
  sourceId: string | null;
6716
6998
  overridable: Array<string>;
@@ -6816,11 +7098,9 @@ export type ManagementProcedures = {
6816
7098
  unchanged: boolean;
6817
7099
  };
6818
7100
  };
6819
- /** Update a trigger's draft. Saved as a draft; call the entity's publish procedure to make it live. `credentialName`, `fireCredentialName` and the model pick are the exceptions: they apply without a publish, the fire credential from the next firing and the others from each agent's next turn. Giving the run a different `credentialName` needs `secrets:write`, since tools forwarding the run token send its value upstream. The model pick (`modelProvider` with one of its `modelName`s and optionally a `modelEffort`, all null to run on each agent's own) is refused as `model_not_offered` when the provider does not list the model or the effort, or an effort is picked without a model. `fireCredentialName` names a static credential whose value callers present to fire, shared by every trigger naming it; that credential and its secret may serve nothing else. Clearing it leaves the trigger shut until `triggers.rotateSecret` mints a secret. */
7101
+ /** Update a trigger's draft. Saved as a draft; call the entity's publish procedure to make it live. `displayName`, `credentialName`, `fireCredentialName` and the model pick are the exceptions: they apply without a publish, the display name at once, the fire credential from the next firing and the others from each agent's next turn. Giving the run a different `credentialName` needs `secrets:write`, since tools forwarding the run token send its value upstream. The model pick (`modelProvider` with one of its `modelName`s and optionally a `modelEffort`, all null to run on each agent's own) is refused as `model_not_offered` when the provider does not list the model or the effort, or an effort is picked without a model. `fireCredentialName` names a static credential whose value callers present to fire, shared by every trigger naming it; that credential and its secret may serve nothing else. Clearing it leaves the trigger shut until `triggers.rotateSecret` mints a secret. */
6820
7102
  "triggers.update": {
6821
7103
  input: {
6822
- /** A slug: lowercase letters, digits, and single hyphens. */
6823
- name: string;
6824
7104
  description: string;
6825
7105
  inputFields: Array<SchemaFieldRow>;
6826
7106
  outputFields: Array<SchemaFieldRow>;
@@ -6838,6 +7118,7 @@ export type ManagementProcedures = {
6838
7118
  budgetPerDay: number | null;
6839
7119
  disableAfterFailures: number;
6840
7120
  id: string;
7121
+ displayName: Partial<Record<"en" | "ar", string>>;
6841
7122
  credentialName: string | null;
6842
7123
  fireCredentialName: string | null;
6843
7124
  modelProvider: string | null;
@@ -6927,9 +7208,10 @@ export type ManagementProcedures = {
6927
7208
  /** Create a webhook (an HTTP endpoint Cortex posts an event to when a run on an agent parks for approval) with an audience ({ kind: "all" }, { kind: "server", serverId }, or { kind: "agents", agentIds }). It starts disabled: set its headers with update, then enable it with toggle. */
6928
7209
  "webhooks.create": {
6929
7210
  input: {
6930
- /** A slug: lowercase letters, digits, and single hyphens. */
7211
+ /** A name: lowercase letters, digits, and single hyphens. */
6931
7212
  name: string;
6932
7213
  url: string;
7214
+ displayName: Partial<Record<"en" | "ar", string>>;
6933
7215
  audience: {
6934
7216
  kind: "all";
6935
7217
  } | {
@@ -6975,6 +7257,7 @@ export type ManagementProcedures = {
6975
7257
  agentIds: Array<string>;
6976
7258
  };
6977
7259
  name: string;
7260
+ displayName: Partial<Record<"en" | "ar", string>>;
6978
7261
  description: string;
6979
7262
  event: "approval_requested";
6980
7263
  url: string;
@@ -6998,9 +7281,10 @@ export type ManagementProcedures = {
6998
7281
  enabled: boolean;
6999
7282
  updatedAt: string;
7000
7283
  referrers: Array<{
7284
+ name: string;
7285
+ displayName: Partial<Record<"en" | "ar", string>>;
7001
7286
  kind: "agent_prompt" | "service" | "skill" | "trigger" | "knowledge_collection";
7002
7287
  id: string;
7003
- name: string;
7004
7288
  readers: {
7005
7289
  kind: "all";
7006
7290
  } | {
@@ -7030,6 +7314,7 @@ export type ManagementProcedures = {
7030
7314
  event: "approval_requested";
7031
7315
  url: string;
7032
7316
  enabled: boolean;
7317
+ displayName: Partial<Record<"en" | "ar", string>>;
7033
7318
  source: "direct" | "manifest" | "server";
7034
7319
  sourceId: string | null;
7035
7320
  overridable: Array<string>;
@@ -7077,7 +7362,10 @@ export type ManagementProcedures = {
7077
7362
  durationMs: number;
7078
7363
  error: "upstream_status" | "upstream_failed" | "egress_blocked" | "timeout" | "response_too_large" | "token_missing" | "unknown_credential" | "credential_unavailable" | "unexpected" | null;
7079
7364
  createdAt: string;
7080
- agentName: string | null;
7365
+ agent: {
7366
+ name: string;
7367
+ displayName: Partial<Record<"en" | "ar", string>>;
7368
+ } | null;
7081
7369
  }>;
7082
7370
  /** Every row the caller may see, ignoring the search and filters. */
7083
7371
  count: number;
@@ -7140,8 +7428,6 @@ export type ManagementProcedures = {
7140
7428
  /** Update a webhook. Every delivery reads it live, so a change applies to the next one at once. A header's value comes from a credential or a constant: a delivery has no run of its own, so no run token or variable. */
7141
7429
  "webhooks.update": {
7142
7430
  input: {
7143
- /** A slug: lowercase letters, digits, and single hyphens. */
7144
- name: string;
7145
7431
  description: string;
7146
7432
  event: "approval_requested";
7147
7433
  url: string;
@@ -7163,6 +7449,7 @@ export type ManagementProcedures = {
7163
7449
  }>;
7164
7450
  timeoutMs: number;
7165
7451
  id: string;
7452
+ displayName: Partial<Record<"en" | "ar", string>>;
7166
7453
  };
7167
7454
  output: {
7168
7455
  id: string;
@@ -7223,6 +7510,15 @@ export type ManagementClient = {
7223
7510
  export declare function createManagementClient(target: ManagementTarget): ManagementClient;
7224
7511
  declare const manifestToolSchema: z.ZodDiscriminatedUnion<[
7225
7512
  z.ZodObject<{
7513
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
7514
+ en: "en";
7515
+ ar: "ar";
7516
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
7517
+ [k: string]: string;
7518
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
7519
+ en: "en";
7520
+ ar: "ar";
7521
+ }> & z.core.$partial, z.ZodString>>>;
7226
7522
  outputSchema: z.ZodDefault<z.ZodObject<{
7227
7523
  type: z.ZodLiteral<"object">;
7228
7524
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -7416,6 +7712,7 @@ declare const manifestToolSchema: z.ZodDiscriminatedUnion<[
7416
7712
  requiresApproval: z.ZodDefault<z.ZodBoolean>;
7417
7713
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
7418
7714
  description: "description";
7715
+ displayName: "displayName";
7419
7716
  headers: "headers";
7420
7717
  rateLimits: "rateLimits";
7421
7718
  timeoutMs: "timeoutMs";
@@ -7561,6 +7858,15 @@ declare const manifestToolSchema: z.ZodDiscriminatedUnion<[
7561
7858
  z.ZodObject<{
7562
7859
  name: z.ZodString;
7563
7860
  description: z.ZodString;
7861
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
7862
+ en: "en";
7863
+ ar: "ar";
7864
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
7865
+ [k: string]: string;
7866
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
7867
+ en: "en";
7868
+ ar: "ar";
7869
+ }> & z.core.$partial, z.ZodString>>>;
7564
7870
  outputSchema: z.ZodDefault<z.ZodObject<{
7565
7871
  type: z.ZodLiteral<"object">;
7566
7872
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -7751,6 +8057,7 @@ declare const manifestToolSchema: z.ZodDiscriminatedUnion<[
7751
8057
  projectOutput: z.ZodDefault<z.ZodBoolean>;
7752
8058
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
7753
8059
  description: "description";
8060
+ displayName: "displayName";
7754
8061
  headers: "headers";
7755
8062
  rateLimits: "rateLimits";
7756
8063
  timeoutMs: "timeoutMs";
@@ -7889,6 +8196,15 @@ declare const manifestToolSchema: z.ZodDiscriminatedUnion<[
7889
8196
  }>;
7890
8197
  }, z.core.$strict>,
7891
8198
  z.ZodObject<{
8199
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
8200
+ en: "en";
8201
+ ar: "ar";
8202
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
8203
+ [k: string]: string;
8204
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
8205
+ en: "en";
8206
+ ar: "ar";
8207
+ }> & z.core.$partial, z.ZodString>>>;
7892
8208
  outputSchema: z.ZodDefault<z.ZodObject<{
7893
8209
  type: z.ZodLiteral<"object">;
7894
8210
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -8082,6 +8398,7 @@ declare const manifestToolSchema: z.ZodDiscriminatedUnion<[
8082
8398
  requiresApproval: z.ZodDefault<z.ZodBoolean>;
8083
8399
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
8084
8400
  description: "description";
8401
+ displayName: "displayName";
8085
8402
  headers: "headers";
8086
8403
  rateLimits: "rateLimits";
8087
8404
  timeoutMs: "timeoutMs";
@@ -8220,6 +8537,15 @@ declare const manifestToolSchema: z.ZodDiscriminatedUnion<[
8220
8537
  readOnly: z.ZodBoolean;
8221
8538
  }, z.core.$strict>,
8222
8539
  z.ZodObject<{
8540
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
8541
+ en: "en";
8542
+ ar: "ar";
8543
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
8544
+ [k: string]: string;
8545
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
8546
+ en: "en";
8547
+ ar: "ar";
8548
+ }> & z.core.$partial, z.ZodString>>>;
8223
8549
  inputSchema: z.ZodDefault<z.ZodObject<{
8224
8550
  type: z.ZodLiteral<"object">;
8225
8551
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -8476,6 +8802,7 @@ declare const manifestToolSchema: z.ZodDiscriminatedUnion<[
8476
8802
  ]>;
8477
8803
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
8478
8804
  description: "description";
8805
+ displayName: "displayName";
8479
8806
  rateLimits: "rateLimits";
8480
8807
  timeoutMs: "timeoutMs";
8481
8808
  maxResponseBytes: "maxResponseBytes";
@@ -8489,11 +8816,16 @@ declare const manifestToolSchema: z.ZodDiscriminatedUnion<[
8489
8816
  ], "type">;
8490
8817
  export type ManifestTool = z.input<typeof manifestToolSchema>;
8491
8818
  declare const manifestServiceSchema: z.ZodObject<{
8492
- key: z.ZodString;
8493
- name: z.ZodRecord<z.ZodEnum<{
8819
+ name: z.ZodString;
8820
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
8494
8821
  en: "en";
8495
8822
  ar: "ar";
8496
- }>, z.ZodString>;
8823
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
8824
+ [k: string]: string;
8825
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
8826
+ en: "en";
8827
+ ar: "ar";
8828
+ }> & z.core.$partial, z.ZodString>>>;
8497
8829
  description: z.ZodRecord<z.ZodEnum<{
8498
8830
  en: "en";
8499
8831
  ar: "ar";
@@ -8509,11 +8841,21 @@ declare const manifestServiceSchema: z.ZodObject<{
8509
8841
  ]>;
8510
8842
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
8511
8843
  description: "description";
8844
+ displayName: "displayName";
8512
8845
  }>>>;
8513
8846
  }, z.core.$strict>;
8514
8847
  export type ManifestService = z.input<typeof manifestServiceSchema>;
8515
8848
  declare const manifestSkillSchema: z.ZodObject<{
8516
8849
  name: z.ZodString;
8850
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
8851
+ en: "en";
8852
+ ar: "ar";
8853
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
8854
+ [k: string]: string;
8855
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
8856
+ en: "en";
8857
+ ar: "ar";
8858
+ }> & z.core.$partial, z.ZodString>>>;
8517
8859
  description: z.ZodString;
8518
8860
  body: z.ZodString;
8519
8861
  service: z.ZodOptional<z.ZodString>;
@@ -8528,12 +8870,22 @@ declare const manifestSkillSchema: z.ZodObject<{
8528
8870
  ]>;
8529
8871
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
8530
8872
  description: "description";
8873
+ displayName: "displayName";
8531
8874
  body: "body";
8532
8875
  }>>>;
8533
8876
  }, z.core.$strict>;
8534
8877
  export type ManifestSkill = z.input<typeof manifestSkillSchema>;
8535
8878
  declare const manifestTriggerSchema: z.ZodObject<{
8536
8879
  name: z.ZodString;
8880
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
8881
+ en: "en";
8882
+ ar: "ar";
8883
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
8884
+ [k: string]: string;
8885
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
8886
+ en: "en";
8887
+ ar: "ar";
8888
+ }> & z.core.$partial, z.ZodString>>>;
8537
8889
  description: z.ZodString;
8538
8890
  inputSchema: z.ZodDefault<z.ZodObject<{
8539
8891
  type: z.ZodLiteral<"object">;
@@ -8803,6 +9155,7 @@ declare const manifestTriggerSchema: z.ZodObject<{
8803
9155
  ]>;
8804
9156
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
8805
9157
  description: "description";
9158
+ displayName: "displayName";
8806
9159
  instructions: "instructions";
8807
9160
  threadPolicy: "threadPolicy";
8808
9161
  budgetPerDay: "budgetPerDay";
@@ -8813,6 +9166,15 @@ declare const manifestTriggerSchema: z.ZodObject<{
8813
9166
  export type ManifestTrigger = z.input<typeof manifestTriggerSchema>;
8814
9167
  declare const manifestDatasetHostSchema: z.ZodObject<{
8815
9168
  name: z.ZodString;
9169
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
9170
+ en: "en";
9171
+ ar: "ar";
9172
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
9173
+ [k: string]: string;
9174
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
9175
+ en: "en";
9176
+ ar: "ar";
9177
+ }> & z.core.$partial, z.ZodString>>>;
8816
9178
  url: z.ZodURL;
8817
9179
  headers: z.ZodDefault<z.ZodArray<z.ZodObject<{
8818
9180
  header: z.ZodString;
@@ -8884,6 +9246,7 @@ declare const manifestDatasetHostSchema: z.ZodObject<{
8884
9246
  }, z.core.$strict>
8885
9247
  ]>;
8886
9248
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
9249
+ displayName: "displayName";
8887
9250
  headers: "headers";
8888
9251
  rateLimits: "rateLimits";
8889
9252
  timeoutMs: "timeoutMs";
@@ -8892,6 +9255,15 @@ declare const manifestDatasetHostSchema: z.ZodObject<{
8892
9255
  export type ManifestDatasetHost = z.input<typeof manifestDatasetHostSchema>;
8893
9256
  declare const manifestMcpServerSchema: z.ZodObject<{
8894
9257
  name: z.ZodString;
9258
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
9259
+ en: "en";
9260
+ ar: "ar";
9261
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
9262
+ [k: string]: string;
9263
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
9264
+ en: "en";
9265
+ ar: "ar";
9266
+ }> & z.core.$partial, z.ZodString>>>;
8895
9267
  url: z.ZodURL;
8896
9268
  headers: z.ZodDefault<z.ZodArray<z.ZodObject<{
8897
9269
  header: z.ZodString;
@@ -8942,6 +9314,14 @@ declare const manifestMcpServerSchema: z.ZodObject<{
8942
9314
  kind: "runToken";
8943
9315
  }>>;
8944
9316
  }, z.core.$strict>>>;
9317
+ signIn: z.ZodOptional<z.ZodObject<{
9318
+ connects: z.ZodEnum<{
9319
+ shared: "shared";
9320
+ endUser: "endUser";
9321
+ }>;
9322
+ scope: z.ZodOptional<z.ZodString>;
9323
+ credential: z.ZodOptional<z.ZodString>;
9324
+ }, z.core.$strict>>;
8945
9325
  include: z.ZodDefault<z.ZodArray<z.ZodString>>;
8946
9326
  exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
8947
9327
  audience: z.ZodUnion<readonly [
@@ -8954,7 +9334,9 @@ declare const manifestMcpServerSchema: z.ZodObject<{
8954
9334
  }, z.core.$strict>
8955
9335
  ]>;
8956
9336
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
9337
+ displayName: "displayName";
8957
9338
  headers: "headers";
9339
+ signIn: "signIn";
8958
9340
  include: "include";
8959
9341
  exclude: "exclude";
8960
9342
  }>>>;
@@ -8962,6 +9344,15 @@ declare const manifestMcpServerSchema: z.ZodObject<{
8962
9344
  export type ManifestMcpServer = z.input<typeof manifestMcpServerSchema>;
8963
9345
  declare const manifestWebhookSchema: z.ZodObject<{
8964
9346
  name: z.ZodString;
9347
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
9348
+ en: "en";
9349
+ ar: "ar";
9350
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
9351
+ [k: string]: string;
9352
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
9353
+ en: "en";
9354
+ ar: "ar";
9355
+ }> & z.core.$partial, z.ZodString>>>;
8965
9356
  description: z.ZodDefault<z.ZodString>;
8966
9357
  event: z.ZodEnum<{
8967
9358
  approval_requested: "approval_requested";
@@ -9008,6 +9399,7 @@ declare const manifestWebhookSchema: z.ZodObject<{
9008
9399
  ]>;
9009
9400
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
9010
9401
  description: "description";
9402
+ displayName: "displayName";
9011
9403
  headers: "headers";
9012
9404
  timeoutMs: "timeoutMs";
9013
9405
  }>>>;
@@ -9030,6 +9422,15 @@ declare const manifestDocumentSchema: z.ZodUnion<readonly [
9030
9422
  export type ManifestDocument = z.input<typeof manifestDocumentSchema>;
9031
9423
  declare const manifestCollectionSchema: z.ZodObject<{
9032
9424
  name: z.ZodString;
9425
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
9426
+ en: "en";
9427
+ ar: "ar";
9428
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
9429
+ [k: string]: string;
9430
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
9431
+ en: "en";
9432
+ ar: "ar";
9433
+ }> & z.core.$partial, z.ZodString>>>;
9033
9434
  description: z.ZodDefault<z.ZodString>;
9034
9435
  service: z.ZodOptional<z.ZodString>;
9035
9436
  citable: z.ZodDefault<z.ZodBoolean>;
@@ -9058,13 +9459,22 @@ declare const manifestCollectionSchema: z.ZodObject<{
9058
9459
  ]>;
9059
9460
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
9060
9461
  description: "description";
9462
+ displayName: "displayName";
9061
9463
  documents: "documents";
9062
9464
  }>>>;
9063
9465
  }, z.core.$strict>;
9064
9466
  export type ManifestCollection = z.input<typeof manifestCollectionSchema>;
9065
9467
  declare const manifestAgentSchema: z.ZodObject<{
9066
- slug: z.ZodString;
9067
9468
  name: z.ZodString;
9469
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
9470
+ en: "en";
9471
+ ar: "ar";
9472
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
9473
+ [k: string]: string;
9474
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
9475
+ en: "en";
9476
+ ar: "ar";
9477
+ }> & z.core.$partial, z.ZodString>>>;
9068
9478
  server: z.ZodOptional<z.ZodString>;
9069
9479
  prompt: z.ZodString;
9070
9480
  auth: z.ZodDiscriminatedUnion<[
@@ -9165,7 +9575,7 @@ declare const manifestAgentSchema: z.ZodObject<{
9165
9575
  ar: "ar";
9166
9576
  }>, z.ZodString>>;
9167
9577
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
9168
- name: "name";
9578
+ displayName: "displayName";
9169
9579
  prompt: "prompt";
9170
9580
  models: "models";
9171
9581
  settings: "settings";
@@ -9178,8 +9588,16 @@ export type ManifestAgent = z.input<typeof manifestAgentSchema>;
9178
9588
  declare const manifestSchema: z.ZodObject<{
9179
9589
  id: z.ZodString;
9180
9590
  agents: z.ZodDefault<z.ZodArray<z.ZodObject<{
9181
- slug: z.ZodString;
9182
9591
  name: z.ZodString;
9592
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
9593
+ en: "en";
9594
+ ar: "ar";
9595
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
9596
+ [k: string]: string;
9597
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
9598
+ en: "en";
9599
+ ar: "ar";
9600
+ }> & z.core.$partial, z.ZodString>>>;
9183
9601
  server: z.ZodOptional<z.ZodString>;
9184
9602
  prompt: z.ZodString;
9185
9603
  auth: z.ZodDiscriminatedUnion<[
@@ -9280,7 +9698,7 @@ declare const manifestSchema: z.ZodObject<{
9280
9698
  ar: "ar";
9281
9699
  }>, z.ZodString>>;
9282
9700
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
9283
- name: "name";
9701
+ displayName: "displayName";
9284
9702
  prompt: "prompt";
9285
9703
  models: "models";
9286
9704
  settings: "settings";
@@ -9291,6 +9709,15 @@ declare const manifestSchema: z.ZodObject<{
9291
9709
  }, z.core.$strict>>>;
9292
9710
  tools: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[
9293
9711
  z.ZodObject<{
9712
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
9713
+ en: "en";
9714
+ ar: "ar";
9715
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
9716
+ [k: string]: string;
9717
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
9718
+ en: "en";
9719
+ ar: "ar";
9720
+ }> & z.core.$partial, z.ZodString>>>;
9294
9721
  outputSchema: z.ZodDefault<z.ZodObject<{
9295
9722
  type: z.ZodLiteral<"object">;
9296
9723
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -9484,6 +9911,7 @@ declare const manifestSchema: z.ZodObject<{
9484
9911
  requiresApproval: z.ZodDefault<z.ZodBoolean>;
9485
9912
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
9486
9913
  description: "description";
9914
+ displayName: "displayName";
9487
9915
  headers: "headers";
9488
9916
  rateLimits: "rateLimits";
9489
9917
  timeoutMs: "timeoutMs";
@@ -9629,6 +10057,15 @@ declare const manifestSchema: z.ZodObject<{
9629
10057
  z.ZodObject<{
9630
10058
  name: z.ZodString;
9631
10059
  description: z.ZodString;
10060
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
10061
+ en: "en";
10062
+ ar: "ar";
10063
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
10064
+ [k: string]: string;
10065
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
10066
+ en: "en";
10067
+ ar: "ar";
10068
+ }> & z.core.$partial, z.ZodString>>>;
9632
10069
  outputSchema: z.ZodDefault<z.ZodObject<{
9633
10070
  type: z.ZodLiteral<"object">;
9634
10071
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -9819,6 +10256,7 @@ declare const manifestSchema: z.ZodObject<{
9819
10256
  projectOutput: z.ZodDefault<z.ZodBoolean>;
9820
10257
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
9821
10258
  description: "description";
10259
+ displayName: "displayName";
9822
10260
  headers: "headers";
9823
10261
  rateLimits: "rateLimits";
9824
10262
  timeoutMs: "timeoutMs";
@@ -9957,6 +10395,15 @@ declare const manifestSchema: z.ZodObject<{
9957
10395
  }>;
9958
10396
  }, z.core.$strict>,
9959
10397
  z.ZodObject<{
10398
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
10399
+ en: "en";
10400
+ ar: "ar";
10401
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
10402
+ [k: string]: string;
10403
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
10404
+ en: "en";
10405
+ ar: "ar";
10406
+ }> & z.core.$partial, z.ZodString>>>;
9960
10407
  outputSchema: z.ZodDefault<z.ZodObject<{
9961
10408
  type: z.ZodLiteral<"object">;
9962
10409
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -10150,6 +10597,7 @@ declare const manifestSchema: z.ZodObject<{
10150
10597
  requiresApproval: z.ZodDefault<z.ZodBoolean>;
10151
10598
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
10152
10599
  description: "description";
10600
+ displayName: "displayName";
10153
10601
  headers: "headers";
10154
10602
  rateLimits: "rateLimits";
10155
10603
  timeoutMs: "timeoutMs";
@@ -10288,6 +10736,15 @@ declare const manifestSchema: z.ZodObject<{
10288
10736
  readOnly: z.ZodBoolean;
10289
10737
  }, z.core.$strict>,
10290
10738
  z.ZodObject<{
10739
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
10740
+ en: "en";
10741
+ ar: "ar";
10742
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
10743
+ [k: string]: string;
10744
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
10745
+ en: "en";
10746
+ ar: "ar";
10747
+ }> & z.core.$partial, z.ZodString>>>;
10291
10748
  inputSchema: z.ZodDefault<z.ZodObject<{
10292
10749
  type: z.ZodLiteral<"object">;
10293
10750
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -10544,6 +11001,7 @@ declare const manifestSchema: z.ZodObject<{
10544
11001
  ]>;
10545
11002
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
10546
11003
  description: "description";
11004
+ displayName: "displayName";
10547
11005
  rateLimits: "rateLimits";
10548
11006
  timeoutMs: "timeoutMs";
10549
11007
  maxResponseBytes: "maxResponseBytes";
@@ -10624,6 +11082,7 @@ declare const manifestSchema: z.ZodObject<{
10624
11082
  ]>;
10625
11083
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
10626
11084
  description: "description";
11085
+ displayName: "displayName";
10627
11086
  headers: "headers";
10628
11087
  rateLimits: "rateLimits";
10629
11088
  timeoutMs: "timeoutMs";
@@ -10633,11 +11092,16 @@ declare const manifestSchema: z.ZodObject<{
10633
11092
  }>>>;
10634
11093
  }, z.core.$strict>>>;
10635
11094
  services: z.ZodDefault<z.ZodArray<z.ZodObject<{
10636
- key: z.ZodString;
10637
- name: z.ZodRecord<z.ZodEnum<{
11095
+ name: z.ZodString;
11096
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
10638
11097
  en: "en";
10639
11098
  ar: "ar";
10640
- }>, z.ZodString>;
11099
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
11100
+ [k: string]: string;
11101
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
11102
+ en: "en";
11103
+ ar: "ar";
11104
+ }> & z.core.$partial, z.ZodString>>>;
10641
11105
  description: z.ZodRecord<z.ZodEnum<{
10642
11106
  en: "en";
10643
11107
  ar: "ar";
@@ -10653,10 +11117,20 @@ declare const manifestSchema: z.ZodObject<{
10653
11117
  ]>;
10654
11118
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
10655
11119
  description: "description";
11120
+ displayName: "displayName";
10656
11121
  }>>>;
10657
11122
  }, z.core.$strict>>>;
10658
11123
  skills: z.ZodDefault<z.ZodArray<z.ZodObject<{
10659
11124
  name: z.ZodString;
11125
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
11126
+ en: "en";
11127
+ ar: "ar";
11128
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
11129
+ [k: string]: string;
11130
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
11131
+ en: "en";
11132
+ ar: "ar";
11133
+ }> & z.core.$partial, z.ZodString>>>;
10660
11134
  description: z.ZodString;
10661
11135
  body: z.ZodString;
10662
11136
  service: z.ZodOptional<z.ZodString>;
@@ -10671,11 +11145,21 @@ declare const manifestSchema: z.ZodObject<{
10671
11145
  ]>;
10672
11146
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
10673
11147
  description: "description";
11148
+ displayName: "displayName";
10674
11149
  body: "body";
10675
11150
  }>>>;
10676
11151
  }, z.core.$strict>>>;
10677
11152
  triggers: z.ZodDefault<z.ZodArray<z.ZodObject<{
10678
11153
  name: z.ZodString;
11154
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
11155
+ en: "en";
11156
+ ar: "ar";
11157
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
11158
+ [k: string]: string;
11159
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
11160
+ en: "en";
11161
+ ar: "ar";
11162
+ }> & z.core.$partial, z.ZodString>>>;
10679
11163
  description: z.ZodString;
10680
11164
  inputSchema: z.ZodDefault<z.ZodObject<{
10681
11165
  type: z.ZodLiteral<"object">;
@@ -10945,6 +11429,7 @@ declare const manifestSchema: z.ZodObject<{
10945
11429
  ]>;
10946
11430
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
10947
11431
  description: "description";
11432
+ displayName: "displayName";
10948
11433
  instructions: "instructions";
10949
11434
  threadPolicy: "threadPolicy";
10950
11435
  budgetPerDay: "budgetPerDay";
@@ -10954,6 +11439,15 @@ declare const manifestSchema: z.ZodObject<{
10954
11439
  }, z.core.$strict>>>;
10955
11440
  datasetHosts: z.ZodDefault<z.ZodArray<z.ZodObject<{
10956
11441
  name: z.ZodString;
11442
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
11443
+ en: "en";
11444
+ ar: "ar";
11445
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
11446
+ [k: string]: string;
11447
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
11448
+ en: "en";
11449
+ ar: "ar";
11450
+ }> & z.core.$partial, z.ZodString>>>;
10957
11451
  url: z.ZodURL;
10958
11452
  headers: z.ZodDefault<z.ZodArray<z.ZodObject<{
10959
11453
  header: z.ZodString;
@@ -11025,6 +11519,7 @@ declare const manifestSchema: z.ZodObject<{
11025
11519
  }, z.core.$strict>
11026
11520
  ]>;
11027
11521
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
11522
+ displayName: "displayName";
11028
11523
  headers: "headers";
11029
11524
  rateLimits: "rateLimits";
11030
11525
  timeoutMs: "timeoutMs";
@@ -11032,6 +11527,15 @@ declare const manifestSchema: z.ZodObject<{
11032
11527
  }, z.core.$strict>>>;
11033
11528
  mcpServers: z.ZodDefault<z.ZodArray<z.ZodObject<{
11034
11529
  name: z.ZodString;
11530
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
11531
+ en: "en";
11532
+ ar: "ar";
11533
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
11534
+ [k: string]: string;
11535
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
11536
+ en: "en";
11537
+ ar: "ar";
11538
+ }> & z.core.$partial, z.ZodString>>>;
11035
11539
  url: z.ZodURL;
11036
11540
  headers: z.ZodDefault<z.ZodArray<z.ZodObject<{
11037
11541
  header: z.ZodString;
@@ -11082,6 +11586,14 @@ declare const manifestSchema: z.ZodObject<{
11082
11586
  kind: "runToken";
11083
11587
  }>>;
11084
11588
  }, z.core.$strict>>>;
11589
+ signIn: z.ZodOptional<z.ZodObject<{
11590
+ connects: z.ZodEnum<{
11591
+ shared: "shared";
11592
+ endUser: "endUser";
11593
+ }>;
11594
+ scope: z.ZodOptional<z.ZodString>;
11595
+ credential: z.ZodOptional<z.ZodString>;
11596
+ }, z.core.$strict>>;
11085
11597
  include: z.ZodDefault<z.ZodArray<z.ZodString>>;
11086
11598
  exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
11087
11599
  audience: z.ZodUnion<readonly [
@@ -11094,13 +11606,24 @@ declare const manifestSchema: z.ZodObject<{
11094
11606
  }, z.core.$strict>
11095
11607
  ]>;
11096
11608
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
11609
+ displayName: "displayName";
11097
11610
  headers: "headers";
11611
+ signIn: "signIn";
11098
11612
  include: "include";
11099
11613
  exclude: "exclude";
11100
11614
  }>>>;
11101
11615
  }, z.core.$strict>>>;
11102
11616
  webhooks: z.ZodDefault<z.ZodArray<z.ZodObject<{
11103
11617
  name: z.ZodString;
11618
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
11619
+ en: "en";
11620
+ ar: "ar";
11621
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
11622
+ [k: string]: string;
11623
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
11624
+ en: "en";
11625
+ ar: "ar";
11626
+ }> & z.core.$partial, z.ZodString>>>;
11104
11627
  description: z.ZodDefault<z.ZodString>;
11105
11628
  event: z.ZodEnum<{
11106
11629
  approval_requested: "approval_requested";
@@ -11147,12 +11670,22 @@ declare const manifestSchema: z.ZodObject<{
11147
11670
  ]>;
11148
11671
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
11149
11672
  description: "description";
11673
+ displayName: "displayName";
11150
11674
  headers: "headers";
11151
11675
  timeoutMs: "timeoutMs";
11152
11676
  }>>>;
11153
11677
  }, z.core.$strict>>>;
11154
11678
  collections: z.ZodDefault<z.ZodArray<z.ZodObject<{
11155
11679
  name: z.ZodString;
11680
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
11681
+ en: "en";
11682
+ ar: "ar";
11683
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
11684
+ [k: string]: string;
11685
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
11686
+ en: "en";
11687
+ ar: "ar";
11688
+ }> & z.core.$partial, z.ZodString>>>;
11156
11689
  description: z.ZodDefault<z.ZodString>;
11157
11690
  service: z.ZodOptional<z.ZodString>;
11158
11691
  citable: z.ZodDefault<z.ZodBoolean>;
@@ -11181,6 +11714,7 @@ declare const manifestSchema: z.ZodObject<{
11181
11714
  ]>;
11182
11715
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
11183
11716
  description: "description";
11717
+ displayName: "displayName";
11184
11718
  documents: "documents";
11185
11719
  }>>>;
11186
11720
  }, z.core.$strict>>>;
@@ -11191,7 +11725,6 @@ export type Manifest = z.input<typeof manifestSchema>;
11191
11725
  export declare function defineManifest(manifest: Manifest): {
11192
11726
  id: string;
11193
11727
  agents?: {
11194
- slug: string;
11195
11728
  name: string;
11196
11729
  prompt: string;
11197
11730
  auth: {
@@ -11216,6 +11749,7 @@ export declare function defineManifest(manifest: Manifest): {
11216
11749
  } | {
11217
11750
  kind: "server";
11218
11751
  };
11752
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
11219
11753
  server?: string | undefined;
11220
11754
  models?: {
11221
11755
  chat?: {
@@ -11269,7 +11803,7 @@ export declare function defineManifest(manifest: Manifest): {
11269
11803
  prompt: string;
11270
11804
  }[]> | undefined;
11271
11805
  greeting?: Record<"en" | "ar", string> | undefined;
11272
- overridable?: ("name" | "prompt" | "models" | "settings" | "rateLimits" | "suggestions" | "greeting")[] | undefined;
11806
+ overridable?: ("displayName" | "prompt" | "models" | "settings" | "rateLimits" | "suggestions" | "greeting")[] | undefined;
11273
11807
  }[] | undefined;
11274
11808
  tools?: ({
11275
11809
  audience: "all" | {
@@ -11283,6 +11817,7 @@ export declare function defineManifest(manifest: Manifest): {
11283
11817
  type: "http";
11284
11818
  method: "DELETE" | "POST" | "GET" | "PUT" | "PATCH";
11285
11819
  readOnly: boolean;
11820
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
11286
11821
  outputSchema?: {
11287
11822
  type: "object";
11288
11823
  properties?: Record<string, {
@@ -11371,7 +11906,7 @@ export declare function defineManifest(manifest: Manifest): {
11371
11906
  prefix?: string | undefined;
11372
11907
  }[] | undefined;
11373
11908
  requiresApproval?: boolean | undefined;
11374
- overridable?: ("description" | "headers" | "rateLimits" | "timeoutMs" | "maxResponseBytes" | "pinned" | "tags")[] | undefined;
11909
+ overridable?: ("description" | "displayName" | "headers" | "rateLimits" | "timeoutMs" | "maxResponseBytes" | "pinned" | "tags")[] | undefined;
11375
11910
  responseWrap?: "value" | "items" | undefined;
11376
11911
  requestMediaType?: "application/x-www-form-urlencoded" | "multipart/form-data" | undefined;
11377
11912
  resultPath?: string | undefined;
@@ -11446,6 +11981,7 @@ export declare function defineManifest(manifest: Manifest): {
11446
11981
  surface: "inline" | "modal";
11447
11982
  type: "embedded";
11448
11983
  method: "DELETE" | "POST" | "GET" | "PUT" | "PATCH";
11984
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
11449
11985
  outputSchema?: {
11450
11986
  type: "object";
11451
11987
  properties?: Record<string, {
@@ -11533,7 +12069,7 @@ export declare function defineManifest(manifest: Manifest): {
11533
12069
  pinned?: boolean | undefined;
11534
12070
  tags?: string[] | undefined;
11535
12071
  projectOutput?: boolean | undefined;
11536
- overridable?: ("description" | "headers" | "rateLimits" | "timeoutMs" | "maxResponseBytes" | "pinned" | "tags")[] | undefined;
12072
+ overridable?: ("description" | "displayName" | "headers" | "rateLimits" | "timeoutMs" | "maxResponseBytes" | "pinned" | "tags")[] | undefined;
11537
12073
  inputSchema?: {
11538
12074
  type: "object";
11539
12075
  properties?: Record<string, {
@@ -11606,6 +12142,7 @@ export declare function defineManifest(manifest: Manifest): {
11606
12142
  envelopeTemplate: string;
11607
12143
  type: "soap";
11608
12144
  readOnly: boolean;
12145
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
11609
12146
  outputSchema?: {
11610
12147
  type: "object";
11611
12148
  properties?: Record<string, {
@@ -11694,7 +12231,7 @@ export declare function defineManifest(manifest: Manifest): {
11694
12231
  prefix?: string | undefined;
11695
12232
  }[] | undefined;
11696
12233
  requiresApproval?: boolean | undefined;
11697
- overridable?: ("description" | "headers" | "rateLimits" | "timeoutMs" | "maxResponseBytes" | "pinned" | "tags")[] | undefined;
12234
+ overridable?: ("description" | "displayName" | "headers" | "rateLimits" | "timeoutMs" | "maxResponseBytes" | "pinned" | "tags")[] | undefined;
11698
12235
  tokenCall?: {
11699
12236
  envelopeTemplate: string;
11700
12237
  soapAction: string;
@@ -11767,6 +12304,7 @@ export declare function defineManifest(manifest: Manifest): {
11767
12304
  name: string;
11768
12305
  description: string;
11769
12306
  type: "client";
12307
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
11770
12308
  inputSchema?: {
11771
12309
  type: "object";
11772
12310
  properties?: Record<string, {
@@ -11896,7 +12434,7 @@ export declare function defineManifest(manifest: Manifest): {
11896
12434
  projectOutput?: boolean | undefined;
11897
12435
  pinned?: boolean | undefined;
11898
12436
  tags?: string[] | undefined;
11899
- overridable?: ("description" | "rateLimits" | "timeoutMs" | "maxResponseBytes" | "pinned" | "tags")[] | undefined;
12437
+ overridable?: ("description" | "displayName" | "rateLimits" | "timeoutMs" | "maxResponseBytes" | "pinned" | "tags")[] | undefined;
11900
12438
  })[] | undefined;
11901
12439
  openapi?: {
11902
12440
  name: string;
@@ -11928,18 +12466,18 @@ export declare function defineManifest(manifest: Manifest): {
11928
12466
  never?: string[] | undefined;
11929
12467
  always?: string[] | undefined;
11930
12468
  } | undefined;
11931
- overridable?: ("description" | "headers" | "rateLimits" | "timeoutMs" | "maxResponseBytes" | "pinned" | "tags")[] | undefined;
12469
+ overridable?: ("description" | "displayName" | "headers" | "rateLimits" | "timeoutMs" | "maxResponseBytes" | "pinned" | "tags")[] | undefined;
11932
12470
  }[] | undefined;
11933
12471
  services?: {
11934
- key: string;
11935
- name: Record<"en" | "ar", string>;
12472
+ name: string;
11936
12473
  description: Record<"en" | "ar", string>;
11937
12474
  audience: "all" | {
11938
12475
  server: string;
11939
12476
  } | {
11940
12477
  agents: string[];
11941
12478
  };
11942
- overridable?: "description"[] | undefined;
12479
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
12480
+ overridable?: ("description" | "displayName")[] | undefined;
11943
12481
  }[] | undefined;
11944
12482
  skills?: {
11945
12483
  name: string;
@@ -11950,8 +12488,9 @@ export declare function defineManifest(manifest: Manifest): {
11950
12488
  } | {
11951
12489
  agents: string[];
11952
12490
  };
12491
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
11953
12492
  service?: string | undefined;
11954
- overridable?: ("description" | "body")[] | undefined;
12493
+ overridable?: ("description" | "displayName" | "body")[] | undefined;
11955
12494
  }[] | undefined;
11956
12495
  triggers?: {
11957
12496
  name: string;
@@ -11962,6 +12501,7 @@ export declare function defineManifest(manifest: Manifest): {
11962
12501
  } | {
11963
12502
  agents: string[];
11964
12503
  };
12504
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
11965
12505
  inputSchema?: {
11966
12506
  type: "object";
11967
12507
  properties?: Record<string, {
@@ -12097,7 +12637,7 @@ export declare function defineManifest(manifest: Manifest): {
12097
12637
  model: string;
12098
12638
  effort?: string | undefined;
12099
12639
  } | undefined;
12100
- overridable?: ("description" | "instructions" | "threadPolicy" | "budgetPerDay" | "disableAfterFailures" | "model")[] | undefined;
12640
+ overridable?: ("description" | "displayName" | "instructions" | "threadPolicy" | "budgetPerDay" | "disableAfterFailures" | "model")[] | undefined;
12101
12641
  }[] | undefined;
12102
12642
  datasetHosts?: {
12103
12643
  name: string;
@@ -12108,6 +12648,7 @@ export declare function defineManifest(manifest: Manifest): {
12108
12648
  } | {
12109
12649
  agents: string[];
12110
12650
  };
12651
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
12111
12652
  headers?: {
12112
12653
  header: string;
12113
12654
  from: {
@@ -12134,7 +12675,7 @@ export declare function defineManifest(manifest: Manifest): {
12134
12675
  } | undefined;
12135
12676
  } | undefined;
12136
12677
  pinned?: string[] | undefined;
12137
- overridable?: ("headers" | "rateLimits" | "timeoutMs")[] | undefined;
12678
+ overridable?: ("displayName" | "headers" | "rateLimits" | "timeoutMs")[] | undefined;
12138
12679
  }[] | undefined;
12139
12680
  mcpServers?: {
12140
12681
  name: string;
@@ -12144,6 +12685,7 @@ export declare function defineManifest(manifest: Manifest): {
12144
12685
  } | {
12145
12686
  agents: string[];
12146
12687
  };
12688
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
12147
12689
  headers?: {
12148
12690
  header: string;
12149
12691
  from: {
@@ -12160,9 +12702,14 @@ export declare function defineManifest(manifest: Manifest): {
12160
12702
  };
12161
12703
  prefix?: string | undefined;
12162
12704
  }[] | undefined;
12705
+ signIn?: {
12706
+ connects: "shared" | "endUser";
12707
+ scope?: string | undefined;
12708
+ credential?: string | undefined;
12709
+ } | undefined;
12163
12710
  include?: string[] | undefined;
12164
12711
  exclude?: string[] | undefined;
12165
- overridable?: ("headers" | "include" | "exclude")[] | undefined;
12712
+ overridable?: ("displayName" | "headers" | "signIn" | "include" | "exclude")[] | undefined;
12166
12713
  }[] | undefined;
12167
12714
  webhooks?: {
12168
12715
  name: string;
@@ -12173,6 +12720,7 @@ export declare function defineManifest(manifest: Manifest): {
12173
12720
  } | {
12174
12721
  agents: string[];
12175
12722
  };
12723
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
12176
12724
  description?: string | undefined;
12177
12725
  headers?: {
12178
12726
  header: string;
@@ -12186,7 +12734,7 @@ export declare function defineManifest(manifest: Manifest): {
12186
12734
  prefix?: string | undefined;
12187
12735
  }[] | undefined;
12188
12736
  timeoutMs?: number | undefined;
12189
- overridable?: ("description" | "headers" | "timeoutMs")[] | undefined;
12737
+ overridable?: ("description" | "displayName" | "headers" | "timeoutMs")[] | undefined;
12190
12738
  }[] | undefined;
12191
12739
  collections?: {
12192
12740
  name: string;
@@ -12195,6 +12743,7 @@ export declare function defineManifest(manifest: Manifest): {
12195
12743
  } | {
12196
12744
  agents: string[];
12197
12745
  };
12746
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
12198
12747
  description?: string | undefined;
12199
12748
  service?: string | undefined;
12200
12749
  citable?: boolean | undefined;
@@ -12208,7 +12757,7 @@ export declare function defineManifest(manifest: Manifest): {
12208
12757
  url: string;
12209
12758
  name?: string | undefined;
12210
12759
  })[] | undefined;
12211
- overridable?: ("description" | "documents")[] | undefined;
12760
+ overridable?: ("description" | "displayName" | "documents")[] | undefined;
12212
12761
  }[] | undefined;
12213
12762
  };
12214
12763