@m6d/cortex 0.6.0 → 0.8.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,12 +1662,27 @@ 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
- /** Create an agent on a registered server. The draft has no prompt yet; save one with agents.savePrompt before publishing. */
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. */
1666
+ "agents.addAlias": {
1667
+ input: {
1668
+ /** A name: lowercase letters, digits, and single hyphens. */
1669
+ alias: string;
1670
+ agentId: string;
1671
+ };
1672
+ output: {
1673
+ alias: string;
1674
+ agentId: string;
1675
+ createdAt: string;
1676
+ updatedAt: string;
1677
+ };
1678
+ };
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. */
1656
1680
  "agents.create": {
1657
1681
  input: {
1658
- slug: string;
1682
+ /** A name: lowercase letters, digits, and single hyphens. */
1659
1683
  name: string;
1660
- serverId: string;
1684
+ displayName: Partial<Record<"en" | "ar", string>>;
1685
+ serverId: string | null;
1661
1686
  };
1662
1687
  output: {
1663
1688
  id: string;
@@ -1665,9 +1690,9 @@ export type ManagementProcedures = {
1665
1690
  sourceId: string | null;
1666
1691
  overridable: Array<string>;
1667
1692
  applied: string | number | boolean | null | Record<string, unknown> | Array<unknown> | null;
1668
- slug: string;
1669
- serverId: string;
1670
1693
  name: string;
1694
+ serverId: string | null;
1695
+ displayName: Partial<Record<"en" | "ar", string>>;
1671
1696
  promptDraft: string;
1672
1697
  ragEnabled: boolean;
1673
1698
  toolRegistryEnabled: boolean;
@@ -1710,9 +1735,9 @@ export type ManagementProcedures = {
1710
1735
  sourceId: string | null;
1711
1736
  overridable: Array<string>;
1712
1737
  applied: string | number | boolean | null | Record<string, unknown> | Array<unknown> | null;
1713
- slug: string;
1714
- serverId: string;
1715
1738
  name: string;
1739
+ serverId: string | null;
1740
+ displayName: Partial<Record<"en" | "ar", string>>;
1716
1741
  promptDraft: string;
1717
1742
  ragEnabled: boolean;
1718
1743
  toolRegistryEnabled: boolean;
@@ -1743,6 +1768,19 @@ export type ManagementProcedures = {
1743
1768
  updatedAt: string;
1744
1769
  };
1745
1770
  };
1771
+ /** Remove an alias. */
1772
+ "agents.deleteAlias": {
1773
+ input: {
1774
+ /** A name: lowercase letters, digits, and single hyphens. */
1775
+ alias: string;
1776
+ };
1777
+ output: {
1778
+ alias: string;
1779
+ agentId: string;
1780
+ createdAt: string;
1781
+ updatedAt: string;
1782
+ };
1783
+ };
1746
1784
  /** One agent by id, including its draft prompt and settings. */
1747
1785
  "agents.get": {
1748
1786
  input: {
@@ -1754,9 +1792,9 @@ export type ManagementProcedures = {
1754
1792
  sourceId: string | null;
1755
1793
  overridable: Array<string>;
1756
1794
  applied: string | number | boolean | null | Record<string, unknown> | Array<unknown> | null;
1757
- slug: string;
1758
- serverId: string;
1759
1795
  name: string;
1796
+ serverId: string | null;
1797
+ displayName: Partial<Record<"en" | "ar", string>>;
1760
1798
  promptDraft: string;
1761
1799
  ragEnabled: boolean;
1762
1800
  toolRegistryEnabled: boolean;
@@ -1783,7 +1821,10 @@ export type ManagementProcedures = {
1783
1821
  summarizationModel: string | null;
1784
1822
  context: string | number | boolean | null | Record<string, unknown> | Array<unknown>;
1785
1823
  limits: string | number | boolean | null | Record<string, unknown> | Array<unknown>;
1786
- serverName: string;
1824
+ server: {
1825
+ name: string;
1826
+ displayName: Partial<Record<"en" | "ar", string>>;
1827
+ } | null;
1787
1828
  serverVerifies: boolean;
1788
1829
  variables: Array<{
1789
1830
  name: string;
@@ -1814,13 +1855,16 @@ export type ManagementProcedures = {
1814
1855
  output: {
1815
1856
  items: Array<{
1816
1857
  id: string;
1817
- slug: string;
1818
1858
  name: string;
1859
+ displayName: Partial<Record<"en" | "ar", string>>;
1819
1860
  updatedAt: string;
1820
1861
  source: "direct" | "manifest" | "server";
1821
1862
  sourceId: string | null;
1822
1863
  overridable: Array<string>;
1823
- serverName: string;
1864
+ server: {
1865
+ name: string;
1866
+ displayName: Partial<Record<"en" | "ar", string>>;
1867
+ } | null;
1824
1868
  published: boolean;
1825
1869
  toolCount: number;
1826
1870
  serviceCount: number;
@@ -1833,14 +1877,35 @@ export type ManagementProcedures = {
1833
1877
  filteredCount: number;
1834
1878
  };
1835
1879
  };
1836
- /** Agent id, slug, and name pairs for selectors. */
1880
+ /** List an agent's aliases (second names, unique across the deployment beside every agent's own), with pagination. */
1881
+ "agents.listAliases": {
1882
+ input: {
1883
+ pageIndex?: number;
1884
+ pageSize?: number;
1885
+ q?: string;
1886
+ agentId: string;
1887
+ };
1888
+ output: {
1889
+ items: Array<{
1890
+ alias: string;
1891
+ agentId: string;
1892
+ createdAt: string;
1893
+ updatedAt: string;
1894
+ }>;
1895
+ /** Every row the caller may see, ignoring the search and filters. */
1896
+ count: number;
1897
+ /** The rows matching the search and filters, over all pages: the total to report. */
1898
+ filteredCount: number;
1899
+ };
1900
+ };
1901
+ /** Agent ids, names and display names for selectors. */
1837
1902
  "agents.options": {
1838
1903
  input: undefined;
1839
1904
  output: Array<{
1840
1905
  id: string;
1841
- slug: string;
1842
1906
  name: string;
1843
- serverId: string;
1907
+ displayName: Partial<Record<"en" | "ar", string>>;
1908
+ serverId: string | null;
1844
1909
  }>;
1845
1910
  };
1846
1911
  /** Publish the agent's current draft prompt and settings so Cortex serves them. Refused as `auth_required` while the agent's end-user authentication is unchosen, and as `chat_model_required` when neither the agent nor its server picks a chat model. `warnings` says what the publish went ahead despite: published tools the prompt names without an @-mention (neither pinned nor mentioned by a skill it mentions), which the agent usually cannot see. */
@@ -1893,9 +1958,9 @@ export type ManagementProcedures = {
1893
1958
  sourceId: string | null;
1894
1959
  overridable: Array<string>;
1895
1960
  applied: string | number | boolean | null | Record<string, unknown> | Array<unknown> | null;
1896
- slug: string;
1897
- serverId: string;
1898
1961
  name: string;
1962
+ serverId: string | null;
1963
+ displayName: Partial<Record<"en" | "ar", string>>;
1899
1964
  promptDraft: string;
1900
1965
  ragEnabled: boolean;
1901
1966
  toolRegistryEnabled: boolean;
@@ -2003,9 +2068,9 @@ export type ManagementProcedures = {
2003
2068
  sourceId: string | null;
2004
2069
  overridable: Array<string>;
2005
2070
  applied: string | number | boolean | null | Record<string, unknown> | Array<unknown> | null;
2006
- slug: string;
2007
- serverId: string;
2008
2071
  name: string;
2072
+ serverId: string | null;
2073
+ displayName: Partial<Record<"en" | "ar", string>>;
2009
2074
  promptDraft: string;
2010
2075
  ragEnabled: boolean;
2011
2076
  toolRegistryEnabled: boolean;
@@ -2036,11 +2101,11 @@ export type ManagementProcedures = {
2036
2101
  updatedAt: string;
2037
2102
  };
2038
2103
  };
2039
- /** 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. */
2040
2105
  "agents.update": {
2041
2106
  input: {
2042
2107
  id: string;
2043
- name: string;
2108
+ displayName: Partial<Record<"en" | "ar", string>>;
2044
2109
  };
2045
2110
  output: {
2046
2111
  id: string;
@@ -2048,9 +2113,9 @@ export type ManagementProcedures = {
2048
2113
  sourceId: string | null;
2049
2114
  overridable: Array<string>;
2050
2115
  applied: string | number | boolean | null | Record<string, unknown> | Array<unknown> | null;
2051
- slug: string;
2052
- serverId: string;
2053
2116
  name: string;
2117
+ serverId: string | null;
2118
+ displayName: Partial<Record<"en" | "ar", string>>;
2054
2119
  promptDraft: string;
2055
2120
  ragEnabled: boolean;
2056
2121
  toolRegistryEnabled: boolean;
@@ -2110,9 +2175,15 @@ export type ManagementProcedures = {
2110
2175
  createdAt: string;
2111
2176
  actorName: string;
2112
2177
  actorEmail: string;
2113
- entityName: string | null;
2114
- credentialFingerprint: string | null;
2115
- 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;
2116
2187
  before: unknown;
2117
2188
  after: unknown;
2118
2189
  };
@@ -2141,9 +2212,15 @@ export type ManagementProcedures = {
2141
2212
  createdAt: string;
2142
2213
  actorName: string;
2143
2214
  actorEmail: string;
2144
- entityName: string | null;
2145
- credentialFingerprint: string | null;
2146
- credentialName: string | null;
2215
+ entity: {
2216
+ name: string;
2217
+ displayName: Partial<Record<"en" | "ar", string>>;
2218
+ } | null;
2219
+ managementKey: {
2220
+ name: string;
2221
+ displayName: Partial<Record<"en" | "ar", string>>;
2222
+ fingerprint: string;
2223
+ } | null;
2147
2224
  }>;
2148
2225
  /** Every row the caller may see, ignoring the search and filters. */
2149
2226
  count: number;
@@ -2151,10 +2228,12 @@ export type ManagementProcedures = {
2151
2228
  filteredCount: number;
2152
2229
  };
2153
2230
  };
2154
- /** 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. */
2231
+ /** 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. */
2155
2232
  "collections.create": {
2156
2233
  input: {
2234
+ /** A name: lowercase letters, digits, and single hyphens. */
2157
2235
  name: string;
2236
+ displayName: Partial<Record<"en" | "ar", string>>;
2158
2237
  description: string;
2159
2238
  serviceId: string | null;
2160
2239
  citable: boolean;
@@ -2195,6 +2274,7 @@ export type ManagementProcedures = {
2195
2274
  citable: boolean;
2196
2275
  createdAt: string;
2197
2276
  updatedAt: string;
2277
+ displayName: Partial<Record<"en" | "ar", string>>;
2198
2278
  source: "direct" | "manifest" | "server";
2199
2279
  sourceId: string | null;
2200
2280
  overridable: Array<string>;
@@ -2208,9 +2288,10 @@ export type ManagementProcedures = {
2208
2288
  agentIds: Array<string>;
2209
2289
  };
2210
2290
  referrers: Array<{
2291
+ name: string;
2292
+ displayName: Partial<Record<"en" | "ar", string>>;
2211
2293
  kind: "agent_prompt" | "service" | "skill" | "trigger" | "knowledge_collection";
2212
2294
  id: string;
2213
- name: string;
2214
2295
  readers: {
2215
2296
  kind: "all";
2216
2297
  } | {
@@ -2221,7 +2302,10 @@ export type ManagementProcedures = {
2221
2302
  agentIds: Array<string>;
2222
2303
  };
2223
2304
  }>;
2224
- serviceKey: string | null;
2305
+ service: {
2306
+ name: string;
2307
+ displayName: Partial<Record<"en" | "ar", string>>;
2308
+ } | null;
2225
2309
  };
2226
2310
  };
2227
2311
  /** List knowledge collections with pagination and search, optionally the ones an agent sees or the ones reaching a server. */
@@ -2242,6 +2326,7 @@ export type ManagementProcedures = {
2242
2326
  description: string;
2243
2327
  serviceId: string | null;
2244
2328
  updatedAt: string;
2329
+ displayName: Partial<Record<"en" | "ar", string>>;
2245
2330
  source: "direct" | "manifest" | "server";
2246
2331
  sourceId: string | null;
2247
2332
  overridable: Array<string>;
@@ -2254,7 +2339,10 @@ export type ManagementProcedures = {
2254
2339
  kind: "agents";
2255
2340
  agentIds: Array<string>;
2256
2341
  };
2257
- serviceKey: string | null;
2342
+ service: {
2343
+ name: string;
2344
+ displayName: Partial<Record<"en" | "ar", string>>;
2345
+ } | null;
2258
2346
  documentCount: number;
2259
2347
  }>;
2260
2348
  /** Every row the caller may see, ignoring the search and filters. */
@@ -2314,10 +2402,10 @@ export type ManagementProcedures = {
2314
2402
  };
2315
2403
  }>;
2316
2404
  };
2317
- /** Rename, describe or change the service tag of a knowledge collection. A tag change applies to agents at once. */
2405
+ /** Set a knowledge collection's display name, describe it or change its service tag. A tag change applies to agents at once. */
2318
2406
  "collections.update": {
2319
2407
  input: {
2320
- name: string;
2408
+ displayName: Partial<Record<"en" | "ar", string>>;
2321
2409
  description: string;
2322
2410
  serviceId: string | null;
2323
2411
  citable: boolean;
@@ -2328,19 +2416,22 @@ export type ManagementProcedures = {
2328
2416
  name: string;
2329
2417
  };
2330
2418
  };
2331
- /** 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. */
2419
+ /** Create a named credential, with a display name (a text per locale, `{}` for none), 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. */
2332
2420
  "credentials.create": {
2333
2421
  input: {
2422
+ displayName: Partial<Record<"en" | "ar", string>>;
2334
2423
  kind: "static" | "oauth2-client-credentials";
2335
2424
  secretName: string;
2336
2425
  tokenUrl: string;
2337
2426
  clientId: string;
2338
2427
  scope: string;
2428
+ /** A name: lowercase letters, digits, and single hyphens. */
2339
2429
  name: string;
2340
2430
  };
2341
2431
  output: {
2342
2432
  id: string;
2343
2433
  name: string;
2434
+ displayName: Partial<Record<"en" | "ar", string>>;
2344
2435
  kind: "static" | "oauth2-client-credentials";
2345
2436
  secretName: string;
2346
2437
  tokenUrl: string | null;
@@ -2358,6 +2449,7 @@ export type ManagementProcedures = {
2358
2449
  output: {
2359
2450
  id: string;
2360
2451
  name: string;
2452
+ displayName: Partial<Record<"en" | "ar", string>>;
2361
2453
  kind: "static" | "oauth2-client-credentials";
2362
2454
  secretName: string;
2363
2455
  tokenUrl: string | null;
@@ -2367,7 +2459,7 @@ export type ManagementProcedures = {
2367
2459
  updatedAt: string;
2368
2460
  };
2369
2461
  };
2370
- /** 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`). */
2462
+ /** List credentials with pagination and search: the name tools, dataset hosts and triggers reference, its display name, its kind, the secret it composes, and how many rows name it with the first few (`usedBy`). */
2371
2463
  "credentials.list": {
2372
2464
  input: {
2373
2465
  pageIndex?: number;
@@ -2378,6 +2470,7 @@ export type ManagementProcedures = {
2378
2470
  items: Array<{
2379
2471
  id: string;
2380
2472
  name: string;
2473
+ displayName: Partial<Record<"en" | "ar", string>>;
2381
2474
  kind: "static" | "oauth2-client-credentials";
2382
2475
  secretName: string;
2383
2476
  tokenUrl: string | null;
@@ -2388,9 +2481,10 @@ export type ManagementProcedures = {
2388
2481
  usedBy: {
2389
2482
  count: number;
2390
2483
  preview: Array<{
2484
+ name: string;
2485
+ displayName: Partial<Record<"en" | "ar", string>>;
2391
2486
  kind: "credential" | "model_provider" | "server" | "agent" | "tool" | "trigger" | "dataset_host" | "webhook" | "mcp_server";
2392
2487
  id: string;
2393
- name: string;
2394
2488
  }>;
2395
2489
  };
2396
2490
  }>;
@@ -2400,16 +2494,20 @@ export type ManagementProcedures = {
2400
2494
  filteredCount: number;
2401
2495
  };
2402
2496
  };
2403
- /** 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). */
2497
+ /** 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). */
2404
2498
  "credentials.names": {
2405
2499
  input: {
2406
2500
  use: "present" | "fire";
2407
2501
  };
2408
- output: Array<string>;
2502
+ output: Array<{
2503
+ name: string;
2504
+ displayName: Partial<Record<"en" | "ar", string>>;
2505
+ }>;
2409
2506
  };
2410
- /** 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. */
2507
+ /** Change a credential's display name, the secret it 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. */
2411
2508
  "credentials.update": {
2412
2509
  input: {
2510
+ displayName: Partial<Record<"en" | "ar", string>>;
2413
2511
  kind: "static" | "oauth2-client-credentials";
2414
2512
  secretName: string;
2415
2513
  tokenUrl: string;
@@ -2420,6 +2518,7 @@ export type ManagementProcedures = {
2420
2518
  output: {
2421
2519
  id: string;
2422
2520
  name: string;
2521
+ displayName: Partial<Record<"en" | "ar", string>>;
2423
2522
  kind: "static" | "oauth2-client-credentials";
2424
2523
  secretName: string;
2425
2524
  tokenUrl: string | null;
@@ -2434,6 +2533,7 @@ export type ManagementProcedures = {
2434
2533
  input: {
2435
2534
  name: string;
2436
2535
  url: string;
2536
+ displayName: Partial<Record<"en" | "ar", string>>;
2437
2537
  audience: {
2438
2538
  kind: "all";
2439
2539
  } | {
@@ -2479,6 +2579,7 @@ export type ManagementProcedures = {
2479
2579
  agentIds: Array<string>;
2480
2580
  };
2481
2581
  name: string;
2582
+ displayName: Partial<Record<"en" | "ar", string>>;
2482
2583
  url: string;
2483
2584
  headers: string | number | boolean | null | Record<string, unknown> | Array<unknown>;
2484
2585
  timeoutMs: number;
@@ -2517,9 +2618,10 @@ export type ManagementProcedures = {
2517
2618
  revision: number;
2518
2619
  updatedAt: string;
2519
2620
  referrers: Array<{
2621
+ name: string;
2622
+ displayName: Partial<Record<"en" | "ar", string>>;
2520
2623
  kind: "agent_prompt" | "service" | "skill" | "trigger" | "knowledge_collection";
2521
2624
  id: string;
2522
- name: string;
2523
2625
  readers: {
2524
2626
  kind: "all";
2525
2627
  } | {
@@ -2530,7 +2632,6 @@ export type ManagementProcedures = {
2530
2632
  agentIds: Array<string>;
2531
2633
  };
2532
2634
  }>;
2533
- nameLocked: boolean;
2534
2635
  variables: Array<{
2535
2636
  name: string;
2536
2637
  description: string;
@@ -2560,6 +2661,7 @@ export type ManagementProcedures = {
2560
2661
  manifestVersion: string | null;
2561
2662
  syncedAt: string | null;
2562
2663
  expose: Array<string>;
2664
+ displayName: Partial<Record<"en" | "ar", string>>;
2563
2665
  source: "direct" | "manifest" | "server";
2564
2666
  sourceId: string | null;
2565
2667
  overridable: Array<string>;
@@ -2695,7 +2797,6 @@ export type ManagementProcedures = {
2695
2797
  /** 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. */
2696
2798
  "datasetHosts.update": {
2697
2799
  input: {
2698
- name: string;
2699
2800
  url: string;
2700
2801
  headers: Array<{
2701
2802
  header: string;
@@ -2725,6 +2826,7 @@ export type ManagementProcedures = {
2725
2826
  expose: Array<string>;
2726
2827
  pinned: Array<string>;
2727
2828
  id: string;
2829
+ displayName: Partial<Record<"en" | "ar", string>>;
2728
2830
  };
2729
2831
  output: {
2730
2832
  id: string;
@@ -2869,7 +2971,7 @@ export type ManagementProcedures = {
2869
2971
  updatedAt: string;
2870
2972
  };
2871
2973
  };
2872
- /** The caller's live management keys with pagination and search: name, fingerprint, scope, and dates. Never the key itself. */
2974
+ /** The caller's live management keys in name order, with pagination and search: name, display name, fingerprint, scope, and dates. Never the key itself. */
2873
2975
  "managementKeys.list": {
2874
2976
  input: {
2875
2977
  pageIndex?: number;
@@ -2880,6 +2982,7 @@ export type ManagementProcedures = {
2880
2982
  items: Array<{
2881
2983
  id: string;
2882
2984
  name: string;
2985
+ displayName: Partial<Record<"en" | "ar", string>>;
2883
2986
  fingerprint: string;
2884
2987
  permissions: Array<string> | null;
2885
2988
  lastUsedAt: string | null;
@@ -2892,12 +2995,13 @@ export type ManagementProcedures = {
2892
2995
  filteredCount: number;
2893
2996
  };
2894
2997
  };
2895
- /** The management key this request authenticated with (name, fingerprint, scope, dates). Refused for a session or an operator token, which are not keys. */
2998
+ /** 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. */
2896
2999
  "managementKeys.mine": {
2897
3000
  input: undefined;
2898
3001
  output: {
2899
3002
  id: string;
2900
3003
  name: string;
3004
+ displayName: Partial<Record<"en" | "ar", string>>;
2901
3005
  fingerprint: string;
2902
3006
  permissions: Array<string> | null;
2903
3007
  lastUsedAt: string | null;
@@ -2910,9 +3014,9 @@ export type ManagementProcedures = {
2910
3014
  input: {
2911
3015
  id: string;
2912
3016
  agents?: Array<{
2913
- slug: string;
2914
3017
  name: string;
2915
- server: string;
3018
+ displayName?: Partial<Record<"en" | "ar", string>>;
3019
+ server?: string;
2916
3020
  prompt: string;
2917
3021
  auth: {
2918
3022
  kind: "jwks";
@@ -2988,11 +3092,12 @@ export type ManagementProcedures = {
2988
3092
  prompt: string;
2989
3093
  }>>;
2990
3094
  greeting?: Record<"en" | "ar", string>;
2991
- overridable?: Array<"name" | "prompt" | "models" | "settings" | "rateLimits" | "suggestions" | "greeting">;
3095
+ overridable?: Array<"displayName" | "prompt" | "models" | "settings" | "rateLimits" | "suggestions" | "greeting">;
2992
3096
  }>;
2993
3097
  tools?: Array<{
2994
3098
  name: string;
2995
3099
  description: string;
3100
+ displayName?: Partial<Record<"en" | "ar", string>>;
2996
3101
  inputSchema?: {
2997
3102
  type: "object";
2998
3103
  properties?: Record<string, ManifestsPreviewSchema0>;
@@ -3023,7 +3128,7 @@ export type ManagementProcedures = {
3023
3128
  } | {
3024
3129
  agents: Array<string>;
3025
3130
  };
3026
- overridable?: Array<"description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3131
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3027
3132
  url: string;
3028
3133
  headers?: Array<{
3029
3134
  header: string;
@@ -3051,6 +3156,7 @@ export type ManagementProcedures = {
3051
3156
  } | {
3052
3157
  name: string;
3053
3158
  description: string;
3159
+ displayName?: Partial<Record<"en" | "ar", string>>;
3054
3160
  inputSchema?: {
3055
3161
  type: "object";
3056
3162
  properties?: Record<string, ManifestsPreviewSchema0>;
@@ -3081,7 +3187,7 @@ export type ManagementProcedures = {
3081
3187
  } | {
3082
3188
  agents: Array<string>;
3083
3189
  };
3084
- overridable?: Array<"description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3190
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3085
3191
  url: string;
3086
3192
  headers?: Array<{
3087
3193
  header: string;
@@ -3106,6 +3212,7 @@ export type ManagementProcedures = {
3106
3212
  } | {
3107
3213
  name: string;
3108
3214
  description: string;
3215
+ displayName?: Partial<Record<"en" | "ar", string>>;
3109
3216
  inputSchema?: {
3110
3217
  type: "object";
3111
3218
  properties?: Record<string, ManifestsPreviewSchema0>;
@@ -3136,7 +3243,7 @@ export type ManagementProcedures = {
3136
3243
  } | {
3137
3244
  agents: Array<string>;
3138
3245
  };
3139
- overridable?: Array<"description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3246
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3140
3247
  url: string;
3141
3248
  headers?: Array<{
3142
3249
  header: string;
@@ -3168,6 +3275,7 @@ export type ManagementProcedures = {
3168
3275
  } | {
3169
3276
  name: string;
3170
3277
  description: string;
3278
+ displayName?: Partial<Record<"en" | "ar", string>>;
3171
3279
  inputSchema?: {
3172
3280
  type: "object";
3173
3281
  properties?: Record<string, ManifestsPreviewSchema0>;
@@ -3198,7 +3306,7 @@ export type ManagementProcedures = {
3198
3306
  } | {
3199
3307
  agents: Array<string>;
3200
3308
  };
3201
- overridable?: Array<"description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags">;
3309
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags">;
3202
3310
  type: "client";
3203
3311
  }>;
3204
3312
  openapi?: Array<{
@@ -3231,21 +3339,22 @@ export type ManagementProcedures = {
3231
3339
  } | {
3232
3340
  agents: Array<string>;
3233
3341
  };
3234
- overridable?: Array<"description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3342
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3235
3343
  }>;
3236
3344
  services?: Array<{
3237
- key: string;
3238
- name: Record<"en" | "ar", string>;
3345
+ name: string;
3346
+ displayName?: Partial<Record<"en" | "ar", string>>;
3239
3347
  description: Record<"en" | "ar", string>;
3240
3348
  audience: "all" | {
3241
3349
  server: string;
3242
3350
  } | {
3243
3351
  agents: Array<string>;
3244
3352
  };
3245
- overridable?: Array<"description">;
3353
+ overridable?: Array<"displayName" | "description">;
3246
3354
  }>;
3247
3355
  skills?: Array<{
3248
3356
  name: string;
3357
+ displayName?: Partial<Record<"en" | "ar", string>>;
3249
3358
  description: string;
3250
3359
  body: string;
3251
3360
  service?: string;
@@ -3254,10 +3363,11 @@ export type ManagementProcedures = {
3254
3363
  } | {
3255
3364
  agents: Array<string>;
3256
3365
  };
3257
- overridable?: Array<"description" | "body">;
3366
+ overridable?: Array<"displayName" | "description" | "body">;
3258
3367
  }>;
3259
3368
  triggers?: Array<{
3260
3369
  name: string;
3370
+ displayName?: Partial<Record<"en" | "ar", string>>;
3261
3371
  description: string;
3262
3372
  inputSchema?: {
3263
3373
  type: "object";
@@ -3296,10 +3406,11 @@ export type ManagementProcedures = {
3296
3406
  } | {
3297
3407
  agents: Array<string>;
3298
3408
  };
3299
- overridable?: Array<"description" | "instructions" | "threadPolicy" | "budgetPerDay" | "disableAfterFailures" | "model">;
3409
+ overridable?: Array<"displayName" | "description" | "instructions" | "threadPolicy" | "budgetPerDay" | "disableAfterFailures" | "model">;
3300
3410
  }>;
3301
3411
  datasetHosts?: Array<{
3302
3412
  name: string;
3413
+ displayName?: Partial<Record<"en" | "ar", string>>;
3303
3414
  url: string;
3304
3415
  headers?: Array<{
3305
3416
  header: string;
@@ -3333,10 +3444,11 @@ export type ManagementProcedures = {
3333
3444
  } | {
3334
3445
  agents: Array<string>;
3335
3446
  };
3336
- overridable?: Array<"timeoutMs" | "rateLimits" | "headers">;
3447
+ overridable?: Array<"displayName" | "timeoutMs" | "rateLimits" | "headers">;
3337
3448
  }>;
3338
3449
  mcpServers?: Array<{
3339
3450
  name: string;
3451
+ displayName?: Partial<Record<"en" | "ar", string>>;
3340
3452
  url: string;
3341
3453
  headers?: Array<{
3342
3454
  header: string;
@@ -3361,10 +3473,11 @@ export type ManagementProcedures = {
3361
3473
  } | {
3362
3474
  agents: Array<string>;
3363
3475
  };
3364
- overridable?: Array<"include" | "exclude" | "headers">;
3476
+ overridable?: Array<"displayName" | "include" | "exclude" | "headers">;
3365
3477
  }>;
3366
3478
  webhooks?: Array<{
3367
3479
  name: string;
3480
+ displayName?: Partial<Record<"en" | "ar", string>>;
3368
3481
  description?: string;
3369
3482
  event: "approval_requested";
3370
3483
  url: string;
@@ -3385,10 +3498,11 @@ export type ManagementProcedures = {
3385
3498
  } | {
3386
3499
  agents: Array<string>;
3387
3500
  };
3388
- overridable?: Array<"description" | "timeoutMs" | "headers">;
3501
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "headers">;
3389
3502
  }>;
3390
3503
  collections?: Array<{
3391
3504
  name: string;
3505
+ displayName?: Partial<Record<"en" | "ar", string>>;
3392
3506
  description?: string;
3393
3507
  service?: string;
3394
3508
  citable?: boolean;
@@ -3407,7 +3521,7 @@ export type ManagementProcedures = {
3407
3521
  } | {
3408
3522
  agents: Array<string>;
3409
3523
  };
3410
- overridable?: Array<"description" | "documents">;
3524
+ overridable?: Array<"displayName" | "description" | "documents">;
3411
3525
  }>;
3412
3526
  prefer?: "live" | "manifest";
3413
3527
  resolutions?: Array<{
@@ -3435,9 +3549,9 @@ export type ManagementProcedures = {
3435
3549
  input: {
3436
3550
  id: string;
3437
3551
  agents?: Array<{
3438
- slug: string;
3439
3552
  name: string;
3440
- server: string;
3553
+ displayName?: Partial<Record<"en" | "ar", string>>;
3554
+ server?: string;
3441
3555
  prompt: string;
3442
3556
  auth: {
3443
3557
  kind: "jwks";
@@ -3513,11 +3627,12 @@ export type ManagementProcedures = {
3513
3627
  prompt: string;
3514
3628
  }>>;
3515
3629
  greeting?: Record<"en" | "ar", string>;
3516
- overridable?: Array<"name" | "prompt" | "models" | "settings" | "rateLimits" | "suggestions" | "greeting">;
3630
+ overridable?: Array<"displayName" | "prompt" | "models" | "settings" | "rateLimits" | "suggestions" | "greeting">;
3517
3631
  }>;
3518
3632
  tools?: Array<{
3519
3633
  name: string;
3520
3634
  description: string;
3635
+ displayName?: Partial<Record<"en" | "ar", string>>;
3521
3636
  inputSchema?: {
3522
3637
  type: "object";
3523
3638
  properties?: Record<string, ManifestsSyncSchema0>;
@@ -3548,7 +3663,7 @@ export type ManagementProcedures = {
3548
3663
  } | {
3549
3664
  agents: Array<string>;
3550
3665
  };
3551
- overridable?: Array<"description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3666
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3552
3667
  url: string;
3553
3668
  headers?: Array<{
3554
3669
  header: string;
@@ -3576,6 +3691,7 @@ export type ManagementProcedures = {
3576
3691
  } | {
3577
3692
  name: string;
3578
3693
  description: string;
3694
+ displayName?: Partial<Record<"en" | "ar", string>>;
3579
3695
  inputSchema?: {
3580
3696
  type: "object";
3581
3697
  properties?: Record<string, ManifestsSyncSchema0>;
@@ -3606,7 +3722,7 @@ export type ManagementProcedures = {
3606
3722
  } | {
3607
3723
  agents: Array<string>;
3608
3724
  };
3609
- overridable?: Array<"description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3725
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3610
3726
  url: string;
3611
3727
  headers?: Array<{
3612
3728
  header: string;
@@ -3631,6 +3747,7 @@ export type ManagementProcedures = {
3631
3747
  } | {
3632
3748
  name: string;
3633
3749
  description: string;
3750
+ displayName?: Partial<Record<"en" | "ar", string>>;
3634
3751
  inputSchema?: {
3635
3752
  type: "object";
3636
3753
  properties?: Record<string, ManifestsSyncSchema0>;
@@ -3661,7 +3778,7 @@ export type ManagementProcedures = {
3661
3778
  } | {
3662
3779
  agents: Array<string>;
3663
3780
  };
3664
- overridable?: Array<"description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3781
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3665
3782
  url: string;
3666
3783
  headers?: Array<{
3667
3784
  header: string;
@@ -3693,6 +3810,7 @@ export type ManagementProcedures = {
3693
3810
  } | {
3694
3811
  name: string;
3695
3812
  description: string;
3813
+ displayName?: Partial<Record<"en" | "ar", string>>;
3696
3814
  inputSchema?: {
3697
3815
  type: "object";
3698
3816
  properties?: Record<string, ManifestsSyncSchema0>;
@@ -3723,7 +3841,7 @@ export type ManagementProcedures = {
3723
3841
  } | {
3724
3842
  agents: Array<string>;
3725
3843
  };
3726
- overridable?: Array<"description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags">;
3844
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags">;
3727
3845
  type: "client";
3728
3846
  }>;
3729
3847
  openapi?: Array<{
@@ -3756,21 +3874,22 @@ export type ManagementProcedures = {
3756
3874
  } | {
3757
3875
  agents: Array<string>;
3758
3876
  };
3759
- overridable?: Array<"description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3877
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3760
3878
  }>;
3761
3879
  services?: Array<{
3762
- key: string;
3763
- name: Record<"en" | "ar", string>;
3880
+ name: string;
3881
+ displayName?: Partial<Record<"en" | "ar", string>>;
3764
3882
  description: Record<"en" | "ar", string>;
3765
3883
  audience: "all" | {
3766
3884
  server: string;
3767
3885
  } | {
3768
3886
  agents: Array<string>;
3769
3887
  };
3770
- overridable?: Array<"description">;
3888
+ overridable?: Array<"displayName" | "description">;
3771
3889
  }>;
3772
3890
  skills?: Array<{
3773
3891
  name: string;
3892
+ displayName?: Partial<Record<"en" | "ar", string>>;
3774
3893
  description: string;
3775
3894
  body: string;
3776
3895
  service?: string;
@@ -3779,10 +3898,11 @@ export type ManagementProcedures = {
3779
3898
  } | {
3780
3899
  agents: Array<string>;
3781
3900
  };
3782
- overridable?: Array<"description" | "body">;
3901
+ overridable?: Array<"displayName" | "description" | "body">;
3783
3902
  }>;
3784
3903
  triggers?: Array<{
3785
3904
  name: string;
3905
+ displayName?: Partial<Record<"en" | "ar", string>>;
3786
3906
  description: string;
3787
3907
  inputSchema?: {
3788
3908
  type: "object";
@@ -3821,10 +3941,11 @@ export type ManagementProcedures = {
3821
3941
  } | {
3822
3942
  agents: Array<string>;
3823
3943
  };
3824
- overridable?: Array<"description" | "instructions" | "threadPolicy" | "budgetPerDay" | "disableAfterFailures" | "model">;
3944
+ overridable?: Array<"displayName" | "description" | "instructions" | "threadPolicy" | "budgetPerDay" | "disableAfterFailures" | "model">;
3825
3945
  }>;
3826
3946
  datasetHosts?: Array<{
3827
3947
  name: string;
3948
+ displayName?: Partial<Record<"en" | "ar", string>>;
3828
3949
  url: string;
3829
3950
  headers?: Array<{
3830
3951
  header: string;
@@ -3858,10 +3979,11 @@ export type ManagementProcedures = {
3858
3979
  } | {
3859
3980
  agents: Array<string>;
3860
3981
  };
3861
- overridable?: Array<"timeoutMs" | "rateLimits" | "headers">;
3982
+ overridable?: Array<"displayName" | "timeoutMs" | "rateLimits" | "headers">;
3862
3983
  }>;
3863
3984
  mcpServers?: Array<{
3864
3985
  name: string;
3986
+ displayName?: Partial<Record<"en" | "ar", string>>;
3865
3987
  url: string;
3866
3988
  headers?: Array<{
3867
3989
  header: string;
@@ -3886,10 +4008,11 @@ export type ManagementProcedures = {
3886
4008
  } | {
3887
4009
  agents: Array<string>;
3888
4010
  };
3889
- overridable?: Array<"include" | "exclude" | "headers">;
4011
+ overridable?: Array<"displayName" | "include" | "exclude" | "headers">;
3890
4012
  }>;
3891
4013
  webhooks?: Array<{
3892
4014
  name: string;
4015
+ displayName?: Partial<Record<"en" | "ar", string>>;
3893
4016
  description?: string;
3894
4017
  event: "approval_requested";
3895
4018
  url: string;
@@ -3910,10 +4033,11 @@ export type ManagementProcedures = {
3910
4033
  } | {
3911
4034
  agents: Array<string>;
3912
4035
  };
3913
- overridable?: Array<"description" | "timeoutMs" | "headers">;
4036
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "headers">;
3914
4037
  }>;
3915
4038
  collections?: Array<{
3916
4039
  name: string;
4040
+ displayName?: Partial<Record<"en" | "ar", string>>;
3917
4041
  description?: string;
3918
4042
  service?: string;
3919
4043
  citable?: boolean;
@@ -3932,7 +4056,7 @@ export type ManagementProcedures = {
3932
4056
  } | {
3933
4057
  agents: Array<string>;
3934
4058
  };
3935
- overridable?: Array<"description" | "documents">;
4059
+ overridable?: Array<"displayName" | "description" | "documents">;
3936
4060
  }>;
3937
4061
  prefer?: "live" | "manifest";
3938
4062
  resolutions?: Array<{
@@ -3955,6 +4079,7 @@ export type ManagementProcedures = {
3955
4079
  input: {
3956
4080
  name: string;
3957
4081
  url: string;
4082
+ displayName: Partial<Record<"en" | "ar", string>>;
3958
4083
  audience: {
3959
4084
  kind: "all";
3960
4085
  } | {
@@ -4000,6 +4125,7 @@ export type ManagementProcedures = {
4000
4125
  agentIds: Array<string>;
4001
4126
  };
4002
4127
  name: string;
4128
+ displayName: Partial<Record<"en" | "ar", string>>;
4003
4129
  url: string;
4004
4130
  headers: Array<{
4005
4131
  header: string;
@@ -4022,9 +4148,10 @@ export type ManagementProcedures = {
4022
4148
  status: "draft" | "published" | "disabled";
4023
4149
  updatedAt: string;
4024
4150
  referrers: Array<{
4151
+ name: string;
4152
+ displayName: Partial<Record<"en" | "ar", string>>;
4025
4153
  kind: "agent_prompt" | "service" | "skill" | "trigger" | "knowledge_collection";
4026
4154
  id: string;
4027
- name: string;
4028
4155
  readers: {
4029
4156
  kind: "all";
4030
4157
  } | {
@@ -4035,7 +4162,6 @@ export type ManagementProcedures = {
4035
4162
  agentIds: Array<string>;
4036
4163
  };
4037
4164
  }>;
4038
- nameLocked: boolean;
4039
4165
  variables: Array<{
4040
4166
  name: string;
4041
4167
  description: string;
@@ -4061,6 +4187,7 @@ export type ManagementProcedures = {
4061
4187
  name: string;
4062
4188
  url: string;
4063
4189
  status: "draft" | "published" | "disabled";
4190
+ displayName: Partial<Record<"en" | "ar", string>>;
4064
4191
  source: "direct" | "manifest" | "server";
4065
4192
  sourceId: string | null;
4066
4193
  overridable: Array<string>;
@@ -4171,10 +4298,9 @@ export type ManagementProcedures = {
4171
4298
  unchanged: boolean;
4172
4299
  };
4173
4300
  };
4174
- /** 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. */
4301
+ /** 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 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. */
4175
4302
  "mcpServers.update": {
4176
4303
  input: {
4177
- name: string;
4178
4304
  url: string;
4179
4305
  headers: Array<{
4180
4306
  header: string;
@@ -4195,24 +4321,28 @@ export type ManagementProcedures = {
4195
4321
  include: Array<string>;
4196
4322
  exclude: Array<string>;
4197
4323
  id: string;
4324
+ displayName: Partial<Record<"en" | "ar", string>>;
4198
4325
  };
4199
4326
  output: {
4200
4327
  id: string;
4201
4328
  name: string;
4202
4329
  };
4203
4330
  };
4204
- /** 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`. */
4331
+ /** 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`. */
4205
4332
  "modelProviders.create": {
4206
4333
  input: {
4334
+ displayName: Partial<Record<"en" | "ar", string>>;
4207
4335
  baseUrl: string;
4208
4336
  secretName: string;
4209
4337
  models: Array<string>;
4210
4338
  efforts: Array<string>;
4339
+ /** A name: lowercase letters, digits, and single hyphens. */
4211
4340
  name: string;
4212
4341
  };
4213
4342
  output: {
4214
4343
  id: string;
4215
4344
  name: string;
4345
+ displayName: Partial<Record<"en" | "ar", string>>;
4216
4346
  baseUrl: string;
4217
4347
  secretName: string;
4218
4348
  models: string | number | boolean | null | Record<string, unknown> | Array<unknown>;
@@ -4229,6 +4359,7 @@ export type ManagementProcedures = {
4229
4359
  output: {
4230
4360
  id: string;
4231
4361
  name: string;
4362
+ displayName: Partial<Record<"en" | "ar", string>>;
4232
4363
  baseUrl: string;
4233
4364
  secretName: string;
4234
4365
  models: string | number | boolean | null | Record<string, unknown> | Array<unknown>;
@@ -4259,6 +4390,7 @@ export type ManagementProcedures = {
4259
4390
  items: Array<{
4260
4391
  id: string;
4261
4392
  name: string;
4393
+ displayName: Partial<Record<"en" | "ar", string>>;
4262
4394
  baseUrl: string;
4263
4395
  secretName: string;
4264
4396
  models: string | number | boolean | null | Record<string, unknown> | Array<unknown>;
@@ -4268,9 +4400,10 @@ export type ManagementProcedures = {
4268
4400
  usedBy: {
4269
4401
  count: number;
4270
4402
  preview: Array<{
4403
+ name: string;
4404
+ displayName: Partial<Record<"en" | "ar", string>>;
4271
4405
  kind: "credential" | "model_provider" | "server" | "agent" | "tool" | "trigger" | "dataset_host" | "webhook" | "mcp_server";
4272
4406
  id: string;
4273
- name: string;
4274
4407
  }>;
4275
4408
  };
4276
4409
  }>;
@@ -4280,18 +4413,20 @@ export type ManagementProcedures = {
4280
4413
  filteredCount: number;
4281
4414
  };
4282
4415
  };
4283
- /** Every model provider with its models and efforts, in name order, for a model picker. */
4416
+ /** Every model provider with its display name, models and efforts, in name order, for a model picker. */
4284
4417
  "modelProviders.options": {
4285
4418
  input: undefined;
4286
4419
  output: Array<{
4287
4420
  name: string;
4421
+ displayName: Partial<Record<"en" | "ar", string>>;
4288
4422
  models: string | number | boolean | null | Record<string, unknown> | Array<unknown>;
4289
4423
  efforts: string | number | boolean | null | Record<string, unknown> | Array<unknown>;
4290
4424
  }>;
4291
4425
  };
4292
- /** 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. */
4426
+ /** 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. */
4293
4427
  "modelProviders.update": {
4294
4428
  input: {
4429
+ displayName: Partial<Record<"en" | "ar", string>>;
4295
4430
  baseUrl: string;
4296
4431
  secretName: string;
4297
4432
  models: Array<string>;
@@ -4301,6 +4436,7 @@ export type ManagementProcedures = {
4301
4436
  output: {
4302
4437
  id: string;
4303
4438
  name: string;
4439
+ displayName: Partial<Record<"en" | "ar", string>>;
4304
4440
  baseUrl: string;
4305
4441
  secretName: string;
4306
4442
  models: string | number | boolean | null | Record<string, unknown> | Array<unknown>;
@@ -4323,7 +4459,10 @@ export type ManagementProcedures = {
4323
4459
  callerId: string | null;
4324
4460
  toolName: string;
4325
4461
  createdAt: string;
4326
- agentName: string;
4462
+ agent: {
4463
+ name: string;
4464
+ displayName: Partial<Record<"en" | "ar", string>>;
4465
+ };
4327
4466
  triggerName: string | null;
4328
4467
  threadId: string | null;
4329
4468
  threadTitle: string | null;
@@ -4359,7 +4498,8 @@ export type ManagementProcedures = {
4359
4498
  entityType: "knowledge" | "service" | "tool";
4360
4499
  entityId: string;
4361
4500
  collectionId: string | null;
4362
- name: Record<"en" | "ar", string>;
4501
+ name: string;
4502
+ displayName: Partial<Record<"en" | "ar", string>>;
4363
4503
  resolutionCount: number;
4364
4504
  }>;
4365
4505
  broadTools: Array<{
@@ -4371,13 +4511,19 @@ export type ManagementProcedures = {
4371
4511
  missingQueries: Array<{
4372
4512
  queryHash: string;
4373
4513
  agentId: string;
4374
- agentName: string;
4514
+ agent: {
4515
+ name: string;
4516
+ displayName: Partial<Record<"en" | "ar", string>>;
4517
+ };
4375
4518
  searchCount: number;
4376
4519
  lastSearchedAt: string;
4377
4520
  }>;
4378
4521
  hitRates: Array<{
4379
4522
  agentId: string;
4380
- agentName: string;
4523
+ agent: {
4524
+ name: string;
4525
+ displayName: Partial<Record<"en" | "ar", string>>;
4526
+ };
4381
4527
  retrievalCount: number;
4382
4528
  hitCount: number;
4383
4529
  hitRate: number;
@@ -4396,9 +4542,14 @@ export type ManagementProcedures = {
4396
4542
  outcome: "started" | "awaiting_approval" | "completed" | "failed" | "rejected" | "dropped";
4397
4543
  reason: "busy" | "approval_pending" | "budget" | "rate_limited" | "invalid_payload" | "missing_thread_key" | "no_turn" | "no_output" | "invalid_output" | null;
4398
4544
  output: unknown;
4399
- serverName: string;
4400
- agentSlug: string;
4401
- agentName: string;
4545
+ server: {
4546
+ name: string;
4547
+ displayName: Partial<Record<"en" | "ar", string>>;
4548
+ } | null;
4549
+ agent: {
4550
+ name: string;
4551
+ displayName: Partial<Record<"en" | "ar", string>>;
4552
+ };
4402
4553
  threadTitle: string | null;
4403
4554
  createdAt: string;
4404
4555
  finishedAt: string | null;
@@ -4432,8 +4583,11 @@ export type ManagementProcedures = {
4432
4583
  activeUsers: number;
4433
4584
  };
4434
4585
  perUser: Array<{
4435
- serverId: string;
4436
- serverName: string;
4586
+ scopeId: string;
4587
+ scope: {
4588
+ name: string;
4589
+ displayName: Partial<Record<"en" | "ar", string>>;
4590
+ };
4437
4591
  userId: string;
4438
4592
  triggerName: string | null;
4439
4593
  threads: number;
@@ -4445,12 +4599,18 @@ export type ManagementProcedures = {
4445
4599
  messages: number;
4446
4600
  }>;
4447
4601
  perServer: Array<{
4448
- serverId: string;
4449
- serverName: string;
4602
+ serverId: string | null;
4603
+ server: {
4604
+ name: string;
4605
+ displayName: Partial<Record<"en" | "ar", string>>;
4606
+ } | null;
4450
4607
  totalTokens: number;
4451
4608
  }>;
4452
4609
  perAgent: Array<{
4453
- agentSlug: string;
4610
+ agent: {
4611
+ name: string;
4612
+ displayName: Partial<Record<"en" | "ar", string>>;
4613
+ };
4454
4614
  totalTokens: number;
4455
4615
  }>;
4456
4616
  perDay: Array<{
@@ -4484,9 +4644,14 @@ export type ManagementProcedures = {
4484
4644
  detail: string | null;
4485
4645
  threadId: string;
4486
4646
  createdAt: string;
4487
- serverName: string;
4488
- agentSlug: string;
4489
- agentName: string;
4647
+ server: {
4648
+ name: string;
4649
+ displayName: Partial<Record<"en" | "ar", string>>;
4650
+ } | null;
4651
+ agent: {
4652
+ name: string;
4653
+ displayName: Partial<Record<"en" | "ar", string>>;
4654
+ };
4490
4655
  threadTitle: string | null;
4491
4656
  }>;
4492
4657
  /** Every row the caller may see, ignoring the search and filters. */
@@ -4519,7 +4684,10 @@ export type ManagementProcedures = {
4519
4684
  callerId: string | null;
4520
4685
  toolName: string;
4521
4686
  createdAt: string;
4522
- agentName: string;
4687
+ agent: {
4688
+ name: string;
4689
+ displayName: Partial<Record<"en" | "ar", string>>;
4690
+ };
4523
4691
  triggerName: string | null;
4524
4692
  }>;
4525
4693
  /** Every row the caller may see, ignoring the search and filters. */
@@ -4589,7 +4757,10 @@ export type ManagementProcedures = {
4589
4757
  output: {
4590
4758
  items: Array<{
4591
4759
  agentId: string;
4592
- agentName: string;
4760
+ agent: {
4761
+ name: string;
4762
+ displayName: Partial<Record<"en" | "ar", string>>;
4763
+ };
4593
4764
  skillName: string;
4594
4765
  misses: number;
4595
4766
  lastSeenAt: string | null;
@@ -4666,9 +4837,14 @@ export type ManagementProcedures = {
4666
4837
  outcome: "started" | "awaiting_approval" | "completed" | "failed" | "rejected" | "dropped";
4667
4838
  reason: "busy" | "approval_pending" | "budget" | "rate_limited" | "invalid_payload" | "missing_thread_key" | "no_turn" | "no_output" | "invalid_output" | null;
4668
4839
  output: unknown;
4669
- serverName: string;
4670
- agentSlug: string;
4671
- agentName: string;
4840
+ server: {
4841
+ name: string;
4842
+ displayName: Partial<Record<"en" | "ar", string>>;
4843
+ } | null;
4844
+ agent: {
4845
+ name: string;
4846
+ displayName: Partial<Record<"en" | "ar", string>>;
4847
+ };
4672
4848
  threadTitle: string | null;
4673
4849
  createdAt: string;
4674
4850
  finishedAt: string | null;
@@ -4713,9 +4889,10 @@ export type ManagementProcedures = {
4713
4889
  agentId: string;
4714
4890
  };
4715
4891
  output: Array<{
4892
+ name: string;
4893
+ displayName: Partial<Record<"en" | "ar", string>>;
4716
4894
  kind: "tool" | "service" | "skill" | "trigger" | "dataset_host" | "mcp_server" | "webhook" | "knowledge_collection";
4717
4895
  id: string;
4718
- name: string;
4719
4896
  }>;
4720
4897
  };
4721
4898
  /** Publication history of an entity with pagination. */
@@ -4822,11 +4999,12 @@ export type ManagementProcedures = {
4822
4999
  output: {
4823
5000
  id: string;
4824
5001
  name: string;
5002
+ displayName: Partial<Record<"en" | "ar", string>>;
4825
5003
  createdAt: string;
4826
5004
  updatedAt: string;
4827
5005
  };
4828
5006
  };
4829
- /** 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. */
5007
+ /** 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. */
4830
5008
  "secrets.list": {
4831
5009
  input: {
4832
5010
  pageIndex?: number;
@@ -4837,14 +5015,16 @@ export type ManagementProcedures = {
4837
5015
  items: Array<{
4838
5016
  id: string;
4839
5017
  name: string;
5018
+ displayName: Partial<Record<"en" | "ar", string>>;
4840
5019
  createdAt: string;
4841
5020
  updatedAt: string;
4842
5021
  usedBy: {
4843
5022
  count: number;
4844
5023
  preview: Array<{
5024
+ name: string;
5025
+ displayName: Partial<Record<"en" | "ar", string>>;
4845
5026
  kind: "credential" | "model_provider" | "server" | "agent" | "tool" | "trigger" | "dataset_host" | "webhook" | "mcp_server";
4846
5027
  id: string;
4847
- name: string;
4848
5028
  }>;
4849
5029
  };
4850
5030
  }>;
@@ -4854,10 +5034,13 @@ export type ManagementProcedures = {
4854
5034
  filteredCount: number;
4855
5035
  };
4856
5036
  };
4857
- /** Every secret name in order, for a picker. */
5037
+ /** Every secret's name and display name, in name order, for a picker. */
4858
5038
  "secrets.names": {
4859
5039
  input: undefined;
4860
- output: Array<string>;
5040
+ output: Array<{
5041
+ name: string;
5042
+ displayName: Partial<Record<"en" | "ar", string>>;
5043
+ }>;
4861
5044
  };
4862
5045
  /** Replace a secret's value in place. */
4863
5046
  "secrets.rotate": {
@@ -4868,27 +5051,45 @@ export type ManagementProcedures = {
4868
5051
  output: {
4869
5052
  id: string;
4870
5053
  name: string;
5054
+ displayName: Partial<Record<"en" | "ar", string>>;
4871
5055
  createdAt: string;
4872
5056
  updatedAt: string;
4873
5057
  };
4874
5058
  };
4875
- /** Create a named secret; credentials compose it by name, and a tool input field may read it. */
5059
+ /** 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. */
4876
5060
  "secrets.set": {
4877
5061
  input: {
5062
+ /** A name: lowercase letters, digits, and single hyphens. */
4878
5063
  name: string;
5064
+ displayName: Partial<Record<"en" | "ar", string>>;
4879
5065
  value: string;
4880
5066
  };
4881
5067
  output: {
4882
5068
  id: string;
4883
5069
  name: string;
5070
+ displayName: Partial<Record<"en" | "ar", string>>;
4884
5071
  createdAt: string;
4885
5072
  updatedAt: string;
4886
5073
  };
4887
5074
  };
4888
- /** 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. */
4889
- "servers.create": {
5075
+ /** Set a secret's display name, a text per locale. Its name and value stay; `secrets.rotate` replaces the value. */
5076
+ "secrets.update": {
4890
5077
  input: {
5078
+ id: string;
5079
+ displayName: Partial<Record<"en" | "ar", string>>;
5080
+ };
5081
+ output: {
5082
+ id: string;
4891
5083
  name: string;
5084
+ displayName: Partial<Record<"en" | "ar", string>>;
5085
+ createdAt: string;
5086
+ updatedAt: string;
5087
+ };
5088
+ };
5089
+ /** 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. */
5090
+ "servers.create": {
5091
+ input: {
5092
+ displayName: Partial<Record<"en" | "ar", string>>;
4892
5093
  description: string;
4893
5094
  url: string | "";
4894
5095
  keySecretName: string;
@@ -4897,10 +5098,13 @@ export type ManagementProcedures = {
4897
5098
  modelEffort: string | null;
4898
5099
  signInChecksPerMinute: number;
4899
5100
  triggerChecksPerMinute: number;
5101
+ /** A name: lowercase letters, digits, and single hyphens. */
5102
+ name: string;
4900
5103
  };
4901
5104
  output: {
4902
5105
  id: string;
4903
5106
  name: string;
5107
+ displayName: Partial<Record<"en" | "ar", string>>;
4904
5108
  description: string | null;
4905
5109
  url: string | null;
4906
5110
  keySecretName: string | null;
@@ -4914,6 +5118,7 @@ export type ManagementProcedures = {
4914
5118
  }>;
4915
5119
  tools: Array<{
4916
5120
  name: string;
5121
+ displayName?: Partial<Record<"en" | "ar", string>>;
4917
5122
  description: string;
4918
5123
  inputSchema: Record<string, unknown>;
4919
5124
  outputSchema?: Record<string, unknown>;
@@ -4945,6 +5150,7 @@ export type ManagementProcedures = {
4945
5150
  output: {
4946
5151
  id: string;
4947
5152
  name: string;
5153
+ displayName: Partial<Record<"en" | "ar", string>>;
4948
5154
  description: string | null;
4949
5155
  url: string | null;
4950
5156
  keySecretName: string | null;
@@ -4958,6 +5164,7 @@ export type ManagementProcedures = {
4958
5164
  }>;
4959
5165
  tools: Array<{
4960
5166
  name: string;
5167
+ displayName?: Partial<Record<"en" | "ar", string>>;
4961
5168
  description: string;
4962
5169
  inputSchema: Record<string, unknown>;
4963
5170
  outputSchema?: Record<string, unknown>;
@@ -4981,18 +5188,6 @@ export type ManagementProcedures = {
4981
5188
  updatedAt: string;
4982
5189
  };
4983
5190
  };
4984
- /** Remove an alias. */
4985
- "servers.deleteAlias": {
4986
- input: {
4987
- alias: string;
4988
- };
4989
- output: {
4990
- alias: string;
4991
- agentId: string;
4992
- createdAt: string;
4993
- updatedAt: string;
4994
- };
4995
- };
4996
5191
  /** One server by id with its declared variables and the components whose audience is the server. */
4997
5192
  "servers.get": {
4998
5193
  input: {
@@ -5001,6 +5196,7 @@ export type ManagementProcedures = {
5001
5196
  output: {
5002
5197
  id: string;
5003
5198
  name: string;
5199
+ displayName: Partial<Record<"en" | "ar", string>>;
5004
5200
  description: string | null;
5005
5201
  url: string | null;
5006
5202
  keySecretName: string | null;
@@ -5022,9 +5218,10 @@ export type ManagementProcedures = {
5022
5218
  computed: boolean;
5023
5219
  }>;
5024
5220
  components: Array<{
5221
+ name: string;
5222
+ displayName: Partial<Record<"en" | "ar", string>>;
5025
5223
  kind: "tool" | "service" | "skill" | "trigger" | "dataset_host" | "mcp_server" | "webhook" | "knowledge_collection";
5026
5224
  id: string;
5027
- name: string;
5028
5225
  }>;
5029
5226
  };
5030
5227
  };
@@ -5040,6 +5237,7 @@ export type ManagementProcedures = {
5040
5237
  items: Array<{
5041
5238
  id: string;
5042
5239
  name: string;
5240
+ displayName: Partial<Record<"en" | "ar", string>>;
5043
5241
  description: string | null;
5044
5242
  url: string | null;
5045
5243
  keySecretName: string | null;
@@ -5055,28 +5253,7 @@ export type ManagementProcedures = {
5055
5253
  filteredCount: number;
5056
5254
  };
5057
5255
  };
5058
- /** List the aliases (second slugs, unique across the deployment beside every agent's own) of a server's agents, with pagination. */
5059
- "servers.listAliases": {
5060
- input: {
5061
- pageIndex?: number;
5062
- pageSize?: number;
5063
- q?: string;
5064
- serverId: string;
5065
- };
5066
- output: {
5067
- items: Array<{
5068
- alias: string;
5069
- agentId: string;
5070
- agentName: string;
5071
- agentSlug: string;
5072
- }>;
5073
- /** Every row the caller may see, ignoring the search and filters. */
5074
- count: number;
5075
- /** The rows matching the search and filters, over all pages: the total to report. */
5076
- filteredCount: number;
5077
- };
5078
- };
5079
- /** 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. */
5256
+ /** 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. */
5080
5257
  "servers.options": {
5081
5258
  input: {
5082
5259
  includeSystem?: boolean;
@@ -5084,19 +5261,9 @@ export type ManagementProcedures = {
5084
5261
  output: Array<{
5085
5262
  id: string;
5086
5263
  name: string;
5264
+ displayName: Partial<Record<"en" | "ar", string>>;
5087
5265
  }>;
5088
5266
  };
5089
- /** Point an alias at an agent, creating it or moving it among the agents of one server. Refused (slug_taken) when an agent goes by the name or it is an alias of another server's agent. */
5090
- "servers.setAlias": {
5091
- input: {
5092
- alias: string;
5093
- agentId: string;
5094
- };
5095
- output: {
5096
- alias: string;
5097
- agentId: string;
5098
- };
5099
- };
5100
5267
  /** Read the server's manifest now and apply its variables and native tools; a refused manifest leaves the previous one in place. */
5101
5268
  "servers.sync": {
5102
5269
  input: {
@@ -5106,10 +5273,10 @@ export type ManagementProcedures = {
5106
5273
  syncedAt: string;
5107
5274
  };
5108
5275
  };
5109
- /** 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. */
5276
+ /** 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. */
5110
5277
  "servers.update": {
5111
5278
  input: {
5112
- name: string;
5279
+ displayName: Partial<Record<"en" | "ar", string>>;
5113
5280
  description: string;
5114
5281
  url: string | "";
5115
5282
  keySecretName: string;
@@ -5123,6 +5290,7 @@ export type ManagementProcedures = {
5123
5290
  output: {
5124
5291
  id: string;
5125
5292
  name: string;
5293
+ displayName: Partial<Record<"en" | "ar", string>>;
5126
5294
  description: string | null;
5127
5295
  url: string | null;
5128
5296
  keySecretName: string | null;
@@ -5136,6 +5304,7 @@ export type ManagementProcedures = {
5136
5304
  }>;
5137
5305
  tools: Array<{
5138
5306
  name: string;
5307
+ displayName?: Partial<Record<"en" | "ar", string>>;
5139
5308
  description: string;
5140
5309
  inputSchema: Record<string, unknown>;
5141
5310
  outputSchema?: Record<string, unknown>;
@@ -5162,9 +5331,9 @@ export type ManagementProcedures = {
5162
5331
  /** 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. */
5163
5332
  "services.create": {
5164
5333
  input: {
5165
- /** A slug: lowercase letters, digits, and single hyphens. */
5166
- key: string;
5167
- name: Record<"en" | "ar", string>;
5334
+ /** A name: lowercase letters, digits, and single hyphens. */
5335
+ name: string;
5336
+ displayName: Partial<Record<"en" | "ar", string>>;
5168
5337
  audience: {
5169
5338
  kind: "all";
5170
5339
  } | {
@@ -5177,7 +5346,7 @@ export type ManagementProcedures = {
5177
5346
  };
5178
5347
  output: {
5179
5348
  id: string;
5180
- name: Record<"en" | "ar", string>;
5349
+ name: string;
5181
5350
  };
5182
5351
  };
5183
5352
  /** Delete a service; fails while tools reference it. */
@@ -5196,11 +5365,11 @@ export type ManagementProcedures = {
5196
5365
  };
5197
5366
  output: {
5198
5367
  id: string;
5199
- key: string;
5200
- name: Record<"en" | "ar", string>;
5368
+ name: string;
5201
5369
  description: Record<"en" | "ar", string>;
5202
5370
  status: "draft" | "published" | "disabled";
5203
5371
  updatedAt: string;
5372
+ displayName: Partial<Record<"en" | "ar", string>>;
5204
5373
  source: "direct" | "manifest" | "server";
5205
5374
  sourceId: string | null;
5206
5375
  overridable: Array<string>;
@@ -5214,9 +5383,10 @@ export type ManagementProcedures = {
5214
5383
  agentIds: Array<string>;
5215
5384
  };
5216
5385
  referrers: Array<{
5386
+ name: string;
5387
+ displayName: Partial<Record<"en" | "ar", string>>;
5217
5388
  kind: "agent_prompt" | "service" | "skill" | "trigger" | "knowledge_collection";
5218
5389
  id: string;
5219
- name: string;
5220
5390
  readers: {
5221
5391
  kind: "all";
5222
5392
  } | {
@@ -5235,7 +5405,6 @@ export type ManagementProcedures = {
5235
5405
  id: string;
5236
5406
  name: string;
5237
5407
  }>;
5238
- nameLocked: boolean;
5239
5408
  };
5240
5409
  };
5241
5410
  /** List services (upstream API groupings for tools) with pagination and search. */
@@ -5251,10 +5420,10 @@ export type ManagementProcedures = {
5251
5420
  output: {
5252
5421
  items: Array<{
5253
5422
  id: string;
5254
- key: string;
5255
- name: Record<"en" | "ar", string>;
5423
+ name: string;
5256
5424
  description: Record<"en" | "ar", string>;
5257
5425
  status: "draft" | "published" | "disabled";
5426
+ displayName: Partial<Record<"en" | "ar", string>>;
5258
5427
  source: "direct" | "manifest" | "server";
5259
5428
  sourceId: string | null;
5260
5429
  overridable: Array<string>;
@@ -5274,7 +5443,7 @@ export type ManagementProcedures = {
5274
5443
  filteredCount: number;
5275
5444
  };
5276
5445
  };
5277
- /** Every service a component with the given audience may be scoped to, as id, key and name, for selectors. */
5446
+ /** Every service a component with the given audience may be scoped to, as id, name and display name, for selectors. */
5278
5447
  "services.options": {
5279
5448
  input: {
5280
5449
  audience: {
@@ -5289,8 +5458,8 @@ export type ManagementProcedures = {
5289
5458
  };
5290
5459
  output: Array<{
5291
5460
  id: string;
5292
- key: string;
5293
- name: Record<"en" | "ar", string>;
5461
+ name: string;
5462
+ displayName: Partial<Record<"en" | "ar", string>>;
5294
5463
  }>;
5295
5464
  };
5296
5465
  /** Publish the service's current draft. */
@@ -5371,15 +5540,13 @@ export type ManagementProcedures = {
5371
5540
  /** Update a service's draft. Saved as a draft; call the entity's publish procedure to make it live. */
5372
5541
  "services.update": {
5373
5542
  input: {
5374
- /** A slug: lowercase letters, digits, and single hyphens. */
5375
- key: string;
5376
- name: Record<"en" | "ar", string>;
5543
+ displayName: Partial<Record<"en" | "ar", string>>;
5377
5544
  description: Record<"en" | "ar", string>;
5378
5545
  id: string;
5379
5546
  };
5380
5547
  output: {
5381
5548
  id: string;
5382
- name: Record<"en" | "ar", string>;
5549
+ name: string;
5383
5550
  };
5384
5551
  };
5385
5552
  /** Deployment settings: log and thread retention. */
@@ -5411,8 +5578,9 @@ export type ManagementProcedures = {
5411
5578
  /** 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. */
5412
5579
  "skills.create": {
5413
5580
  input: {
5414
- /** A slug: lowercase letters, digits, and single hyphens. */
5581
+ /** A name: lowercase letters, digits, and single hyphens. */
5415
5582
  name: string;
5583
+ displayName: Partial<Record<"en" | "ar", string>>;
5416
5584
  audience: {
5417
5585
  kind: "all";
5418
5586
  } | {
@@ -5451,6 +5619,7 @@ export type ManagementProcedures = {
5451
5619
  body: string;
5452
5620
  status: "draft" | "published" | "disabled";
5453
5621
  updatedAt: string;
5622
+ displayName: Partial<Record<"en" | "ar", string>>;
5454
5623
  source: "direct" | "manifest" | "server";
5455
5624
  sourceId: string | null;
5456
5625
  overridable: Array<string>;
@@ -5464,9 +5633,10 @@ export type ManagementProcedures = {
5464
5633
  agentIds: Array<string>;
5465
5634
  };
5466
5635
  referrers: Array<{
5636
+ name: string;
5637
+ displayName: Partial<Record<"en" | "ar", string>>;
5467
5638
  kind: "agent_prompt" | "service" | "skill" | "trigger" | "knowledge_collection";
5468
5639
  id: string;
5469
- name: string;
5470
5640
  readers: {
5471
5641
  kind: "all";
5472
5642
  } | {
@@ -5477,7 +5647,10 @@ export type ManagementProcedures = {
5477
5647
  agentIds: Array<string>;
5478
5648
  };
5479
5649
  }>;
5480
- serviceKey: string | null;
5650
+ service: {
5651
+ name: string;
5652
+ displayName: Partial<Record<"en" | "ar", string>>;
5653
+ } | null;
5481
5654
  variables: Array<{
5482
5655
  name: string;
5483
5656
  description: string;
@@ -5497,7 +5670,6 @@ export type ManagementProcedures = {
5497
5670
  id: string;
5498
5671
  name: string;
5499
5672
  }>;
5500
- nameLocked: boolean;
5501
5673
  };
5502
5674
  };
5503
5675
  /** List skills with pagination and search: every skill of an agent, or only those scoped to no service or to one service. */
@@ -5518,6 +5690,7 @@ export type ManagementProcedures = {
5518
5690
  name: string;
5519
5691
  description: string;
5520
5692
  status: "draft" | "published" | "disabled";
5693
+ displayName: Partial<Record<"en" | "ar", string>>;
5521
5694
  source: "direct" | "manifest" | "server";
5522
5695
  sourceId: string | null;
5523
5696
  overridable: Array<string>;
@@ -5612,14 +5785,13 @@ export type ManagementProcedures = {
5612
5785
  unchanged: boolean;
5613
5786
  };
5614
5787
  };
5615
- /** Update a skill's draft name, description, or body. Saved as a draft; call the entity's publish procedure to make it live. */
5788
+ /** 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. */
5616
5789
  "skills.update": {
5617
5790
  input: {
5618
- /** A slug: lowercase letters, digits, and single hyphens. */
5619
- name: string;
5620
5791
  description: string;
5621
5792
  body: string;
5622
5793
  id: string;
5794
+ displayName: Partial<Record<"en" | "ar", string>>;
5623
5795
  variables: Array<string>;
5624
5796
  };
5625
5797
  output: {
@@ -5640,11 +5812,16 @@ export type ManagementProcedures = {
5640
5812
  triggerName: string | null;
5641
5813
  createdAt: string;
5642
5814
  updatedAt: string;
5643
- serverId: string;
5644
- serverName: string;
5645
- agentSlug: string;
5815
+ serverId: string | null;
5816
+ server: {
5817
+ name: string;
5818
+ displayName: Partial<Record<"en" | "ar", string>>;
5819
+ } | null;
5820
+ agent: {
5821
+ name: string;
5822
+ displayName: Partial<Record<"en" | "ar", string>>;
5823
+ };
5646
5824
  agentId: string;
5647
- agentName: string;
5648
5825
  agentUrl: string | null;
5649
5826
  messageCount: number;
5650
5827
  totalTokens: number;
@@ -5663,7 +5840,7 @@ export type ManagementProcedures = {
5663
5840
  pageSize?: number;
5664
5841
  q?: string;
5665
5842
  serverId?: string;
5666
- agentSlug?: string;
5843
+ agentName?: string;
5667
5844
  userId?: string;
5668
5845
  dateFrom?: string;
5669
5846
  dateTo?: string;
@@ -5679,9 +5856,15 @@ export type ManagementProcedures = {
5679
5856
  triggerName: string | null;
5680
5857
  createdAt: string;
5681
5858
  updatedAt: string;
5682
- serverId: string;
5683
- serverName: string;
5684
- agentSlug: string;
5859
+ serverId: string | null;
5860
+ server: {
5861
+ name: string;
5862
+ displayName: Partial<Record<"en" | "ar", string>>;
5863
+ } | null;
5864
+ agent: {
5865
+ name: string;
5866
+ displayName: Partial<Record<"en" | "ar", string>>;
5867
+ };
5685
5868
  }>;
5686
5869
  /** Every row the caller may see, ignoring the search and filters. */
5687
5870
  count: number;
@@ -5870,6 +6053,7 @@ export type ManagementProcedures = {
5870
6053
  description: string;
5871
6054
  endpointUrl: string;
5872
6055
  method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
6056
+ displayName: Partial<Record<"en" | "ar", string>>;
5873
6057
  audience: {
5874
6058
  kind: "all";
5875
6059
  } | {
@@ -6101,6 +6285,7 @@ export type ManagementProcedures = {
6101
6285
  agentIds: Array<string>;
6102
6286
  };
6103
6287
  name: string;
6288
+ displayName: Partial<Record<"en" | "ar", string>>;
6104
6289
  description: string;
6105
6290
  type: "http" | "embedded" | "soap" | "native" | "client";
6106
6291
  config: {
@@ -6135,9 +6320,10 @@ export type ManagementProcedures = {
6135
6320
  createdAt: string;
6136
6321
  updatedAt: string;
6137
6322
  referrers: Array<{
6323
+ name: string;
6324
+ displayName: Partial<Record<"en" | "ar", string>>;
6138
6325
  kind: "agent_prompt" | "service" | "skill" | "trigger" | "knowledge_collection";
6139
6326
  id: string;
6140
- name: string;
6141
6327
  readers: {
6142
6328
  kind: "all";
6143
6329
  } | {
@@ -6157,7 +6343,6 @@ export type ManagementProcedures = {
6157
6343
  }>;
6158
6344
  inputFields: Array<StoredSchemaFieldRow>;
6159
6345
  outputFields: Array<StoredSchemaFieldRow>;
6160
- nameLocked: boolean;
6161
6346
  };
6162
6347
  };
6163
6348
  /** List tools with pagination and search. */
@@ -6181,6 +6366,7 @@ export type ManagementProcedures = {
6181
6366
  status: "draft" | "published" | "disabled";
6182
6367
  pinned: boolean;
6183
6368
  importSource: string | null;
6369
+ displayName: Partial<Record<"en" | "ar", string>>;
6184
6370
  source: "direct" | "manifest" | "server";
6185
6371
  sourceId: string | null;
6186
6372
  overridable: Array<string>;
@@ -6200,12 +6386,13 @@ export type ManagementProcedures = {
6200
6386
  filteredCount: number;
6201
6387
  };
6202
6388
  };
6203
- /** Tool id and name pairs for selectors. */
6389
+ /** Each tool's id, name and display name, for selectors. */
6204
6390
  "tools.options": {
6205
6391
  input: undefined;
6206
6392
  output: Array<{
6207
6393
  id: string;
6208
6394
  name: string;
6395
+ displayName: Partial<Record<"en" | "ar", string>>;
6209
6396
  }>;
6210
6397
  };
6211
6398
  /** Parse an OpenAPI document and list the operations it would import as tools, and the tools already importing some of them. */
@@ -6385,8 +6572,6 @@ export type ManagementProcedures = {
6385
6572
  /** 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. */
6386
6573
  "tools.update": {
6387
6574
  input: {
6388
- /** 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). */
6389
- name: string;
6390
6575
  description: string;
6391
6576
  endpointUrl: string;
6392
6577
  method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
@@ -6421,6 +6606,7 @@ export type ManagementProcedures = {
6421
6606
  projectOutput: boolean;
6422
6607
  tags: Array<string>;
6423
6608
  id: string;
6609
+ displayName: Partial<Record<"en" | "ar", string>>;
6424
6610
  variables: Array<{
6425
6611
  name: string;
6426
6612
  description: string;
@@ -6514,8 +6700,9 @@ export type ManagementProcedures = {
6514
6700
  /** 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. */
6515
6701
  "triggers.create": {
6516
6702
  input: {
6517
- /** A slug: lowercase letters, digits, and single hyphens. */
6703
+ /** A name: lowercase letters, digits, and single hyphens. */
6518
6704
  name: string;
6705
+ displayName: Partial<Record<"en" | "ar", string>>;
6519
6706
  audience: {
6520
6707
  kind: "all";
6521
6708
  } | {
@@ -6626,6 +6813,7 @@ export type ManagementProcedures = {
6626
6813
  modelEffort: string | null;
6627
6814
  status: "draft" | "published" | "disabled";
6628
6815
  updatedAt: string;
6816
+ displayName: Partial<Record<"en" | "ar", string>>;
6629
6817
  source: "direct" | "manifest" | "server";
6630
6818
  sourceId: string | null;
6631
6819
  overridable: Array<string>;
@@ -6639,9 +6827,10 @@ export type ManagementProcedures = {
6639
6827
  agentIds: Array<string>;
6640
6828
  };
6641
6829
  referrers: Array<{
6830
+ name: string;
6831
+ displayName: Partial<Record<"en" | "ar", string>>;
6642
6832
  kind: "agent_prompt" | "service" | "skill" | "trigger" | "knowledge_collection";
6643
6833
  id: string;
6644
- name: string;
6645
6834
  readers: {
6646
6835
  kind: "all";
6647
6836
  } | {
@@ -6654,8 +6843,8 @@ export type ManagementProcedures = {
6654
6843
  }>;
6655
6844
  agents: Array<{
6656
6845
  id: string;
6657
- slug: string;
6658
6846
  name: string;
6847
+ displayName: Partial<Record<"en" | "ar", string>>;
6659
6848
  }>;
6660
6849
  engineUrl: string | null;
6661
6850
  variables: Array<{
@@ -6679,7 +6868,6 @@ export type ManagementProcedures = {
6679
6868
  id: string;
6680
6869
  name: string;
6681
6870
  }>;
6682
- nameLocked: boolean;
6683
6871
  };
6684
6872
  };
6685
6873
  /** List triggers with pagination and search. */
@@ -6709,6 +6897,7 @@ export type ManagementProcedures = {
6709
6897
  };
6710
6898
  status: "draft" | "published" | "disabled";
6711
6899
  secretPrefix: string;
6900
+ displayName: Partial<Record<"en" | "ar", string>>;
6712
6901
  source: "direct" | "manifest" | "server";
6713
6902
  sourceId: string | null;
6714
6903
  overridable: Array<string>;
@@ -6814,11 +7003,9 @@ export type ManagementProcedures = {
6814
7003
  unchanged: boolean;
6815
7004
  };
6816
7005
  };
6817
- /** 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. */
7006
+ /** 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. */
6818
7007
  "triggers.update": {
6819
7008
  input: {
6820
- /** A slug: lowercase letters, digits, and single hyphens. */
6821
- name: string;
6822
7009
  description: string;
6823
7010
  inputFields: Array<SchemaFieldRow>;
6824
7011
  outputFields: Array<SchemaFieldRow>;
@@ -6836,6 +7023,7 @@ export type ManagementProcedures = {
6836
7023
  budgetPerDay: number | null;
6837
7024
  disableAfterFailures: number;
6838
7025
  id: string;
7026
+ displayName: Partial<Record<"en" | "ar", string>>;
6839
7027
  credentialName: string | null;
6840
7028
  fireCredentialName: string | null;
6841
7029
  modelProvider: string | null;
@@ -6925,9 +7113,10 @@ export type ManagementProcedures = {
6925
7113
  /** 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. */
6926
7114
  "webhooks.create": {
6927
7115
  input: {
6928
- /** A slug: lowercase letters, digits, and single hyphens. */
7116
+ /** A name: lowercase letters, digits, and single hyphens. */
6929
7117
  name: string;
6930
7118
  url: string;
7119
+ displayName: Partial<Record<"en" | "ar", string>>;
6931
7120
  audience: {
6932
7121
  kind: "all";
6933
7122
  } | {
@@ -6973,6 +7162,7 @@ export type ManagementProcedures = {
6973
7162
  agentIds: Array<string>;
6974
7163
  };
6975
7164
  name: string;
7165
+ displayName: Partial<Record<"en" | "ar", string>>;
6976
7166
  description: string;
6977
7167
  event: "approval_requested";
6978
7168
  url: string;
@@ -6996,9 +7186,10 @@ export type ManagementProcedures = {
6996
7186
  enabled: boolean;
6997
7187
  updatedAt: string;
6998
7188
  referrers: Array<{
7189
+ name: string;
7190
+ displayName: Partial<Record<"en" | "ar", string>>;
6999
7191
  kind: "agent_prompt" | "service" | "skill" | "trigger" | "knowledge_collection";
7000
7192
  id: string;
7001
- name: string;
7002
7193
  readers: {
7003
7194
  kind: "all";
7004
7195
  } | {
@@ -7028,6 +7219,7 @@ export type ManagementProcedures = {
7028
7219
  event: "approval_requested";
7029
7220
  url: string;
7030
7221
  enabled: boolean;
7222
+ displayName: Partial<Record<"en" | "ar", string>>;
7031
7223
  source: "direct" | "manifest" | "server";
7032
7224
  sourceId: string | null;
7033
7225
  overridable: Array<string>;
@@ -7075,7 +7267,10 @@ export type ManagementProcedures = {
7075
7267
  durationMs: number;
7076
7268
  error: "upstream_status" | "upstream_failed" | "egress_blocked" | "timeout" | "response_too_large" | "token_missing" | "unknown_credential" | "credential_unavailable" | "unexpected" | null;
7077
7269
  createdAt: string;
7078
- agentName: string | null;
7270
+ agent: {
7271
+ name: string;
7272
+ displayName: Partial<Record<"en" | "ar", string>>;
7273
+ } | null;
7079
7274
  }>;
7080
7275
  /** Every row the caller may see, ignoring the search and filters. */
7081
7276
  count: number;
@@ -7138,8 +7333,6 @@ export type ManagementProcedures = {
7138
7333
  /** 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. */
7139
7334
  "webhooks.update": {
7140
7335
  input: {
7141
- /** A slug: lowercase letters, digits, and single hyphens. */
7142
- name: string;
7143
7336
  description: string;
7144
7337
  event: "approval_requested";
7145
7338
  url: string;
@@ -7161,6 +7354,7 @@ export type ManagementProcedures = {
7161
7354
  }>;
7162
7355
  timeoutMs: number;
7163
7356
  id: string;
7357
+ displayName: Partial<Record<"en" | "ar", string>>;
7164
7358
  };
7165
7359
  output: {
7166
7360
  id: string;
@@ -7182,10 +7376,19 @@ export declare class ManagementClientError extends Error {
7182
7376
  readonly refusal?: string | undefined;
7183
7377
  constructor(status: number, code: string, message: string, detail?: Record<string, unknown> | undefined, refusal?: string | undefined);
7184
7378
  }
7185
- /** Where management calls go: a console's origin and a management key (`cortex_mgmt_…`); a test hands in its own `fetch`. */
7379
+ /**
7380
+ * Where management calls go: a console's origin and a management key
7381
+ * (`cortex_mgmt_…`); a test hands in its own `fetch`. `locale` (`ar`) and
7382
+ * `timeZone` (an IANA zone, `Asia/Dubai`) are the caller's, sent as
7383
+ * `Accept-Language` and `X-Cortex-Timezone`: Cortex words its refusals in
7384
+ * the one and reads a day range in the other, else English and UTC days. A
7385
+ * host acting for many users builds a client per request.
7386
+ */
7186
7387
  export type ManagementTarget = {
7187
7388
  url: string;
7188
7389
  key: string;
7390
+ locale?: string;
7391
+ timeZone?: string;
7189
7392
  fetch?: (url: string, init: RequestInit) => Promise<Response>;
7190
7393
  };
7191
7394
  export type ManagementProcedure = keyof ManagementProcedures;
@@ -7212,6 +7415,15 @@ export type ManagementClient = {
7212
7415
  export declare function createManagementClient(target: ManagementTarget): ManagementClient;
7213
7416
  declare const manifestToolSchema: z.ZodDiscriminatedUnion<[
7214
7417
  z.ZodObject<{
7418
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
7419
+ en: "en";
7420
+ ar: "ar";
7421
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
7422
+ [k: string]: string;
7423
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
7424
+ en: "en";
7425
+ ar: "ar";
7426
+ }> & z.core.$partial, z.ZodString>>>;
7215
7427
  outputSchema: z.ZodDefault<z.ZodObject<{
7216
7428
  type: z.ZodLiteral<"object">;
7217
7429
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -7405,6 +7617,7 @@ declare const manifestToolSchema: z.ZodDiscriminatedUnion<[
7405
7617
  requiresApproval: z.ZodDefault<z.ZodBoolean>;
7406
7618
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
7407
7619
  description: "description";
7620
+ displayName: "displayName";
7408
7621
  headers: "headers";
7409
7622
  rateLimits: "rateLimits";
7410
7623
  timeoutMs: "timeoutMs";
@@ -7550,6 +7763,15 @@ declare const manifestToolSchema: z.ZodDiscriminatedUnion<[
7550
7763
  z.ZodObject<{
7551
7764
  name: z.ZodString;
7552
7765
  description: z.ZodString;
7766
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
7767
+ en: "en";
7768
+ ar: "ar";
7769
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
7770
+ [k: string]: string;
7771
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
7772
+ en: "en";
7773
+ ar: "ar";
7774
+ }> & z.core.$partial, z.ZodString>>>;
7553
7775
  outputSchema: z.ZodDefault<z.ZodObject<{
7554
7776
  type: z.ZodLiteral<"object">;
7555
7777
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -7666,6 +7888,7 @@ declare const manifestToolSchema: z.ZodDiscriminatedUnion<[
7666
7888
  required: z.ZodOptional<z.ZodArray<z.ZodString>>;
7667
7889
  "x-order": z.ZodOptional<z.ZodArray<z.ZodString>>;
7668
7890
  }, z.core.$strict>>;
7891
+ url: z.ZodURL;
7669
7892
  headers: z.ZodDefault<z.ZodArray<z.ZodObject<{
7670
7893
  header: z.ZodString;
7671
7894
  prefix: z.ZodDefault<z.ZodString>;
@@ -7727,7 +7950,6 @@ declare const manifestToolSchema: z.ZodDiscriminatedUnion<[
7727
7950
  maxResponseBytes: z.ZodDefault<z.ZodNumber>;
7728
7951
  pinned: z.ZodDefault<z.ZodBoolean>;
7729
7952
  tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
7730
- url: z.ZodURL;
7731
7953
  audience: z.ZodUnion<readonly [
7732
7954
  z.ZodLiteral<"all">,
7733
7955
  z.ZodObject<{
@@ -7740,6 +7962,7 @@ declare const manifestToolSchema: z.ZodDiscriminatedUnion<[
7740
7962
  projectOutput: z.ZodDefault<z.ZodBoolean>;
7741
7963
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
7742
7964
  description: "description";
7965
+ displayName: "displayName";
7743
7966
  headers: "headers";
7744
7967
  rateLimits: "rateLimits";
7745
7968
  timeoutMs: "timeoutMs";
@@ -7878,6 +8101,15 @@ declare const manifestToolSchema: z.ZodDiscriminatedUnion<[
7878
8101
  }>;
7879
8102
  }, z.core.$strict>,
7880
8103
  z.ZodObject<{
8104
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
8105
+ en: "en";
8106
+ ar: "ar";
8107
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
8108
+ [k: string]: string;
8109
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
8110
+ en: "en";
8111
+ ar: "ar";
8112
+ }> & z.core.$partial, z.ZodString>>>;
7881
8113
  outputSchema: z.ZodDefault<z.ZodObject<{
7882
8114
  type: z.ZodLiteral<"object">;
7883
8115
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -8071,6 +8303,7 @@ declare const manifestToolSchema: z.ZodDiscriminatedUnion<[
8071
8303
  requiresApproval: z.ZodDefault<z.ZodBoolean>;
8072
8304
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
8073
8305
  description: "description";
8306
+ displayName: "displayName";
8074
8307
  headers: "headers";
8075
8308
  rateLimits: "rateLimits";
8076
8309
  timeoutMs: "timeoutMs";
@@ -8209,6 +8442,15 @@ declare const manifestToolSchema: z.ZodDiscriminatedUnion<[
8209
8442
  readOnly: z.ZodBoolean;
8210
8443
  }, z.core.$strict>,
8211
8444
  z.ZodObject<{
8445
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
8446
+ en: "en";
8447
+ ar: "ar";
8448
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
8449
+ [k: string]: string;
8450
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
8451
+ en: "en";
8452
+ ar: "ar";
8453
+ }> & z.core.$partial, z.ZodString>>>;
8212
8454
  inputSchema: z.ZodDefault<z.ZodObject<{
8213
8455
  type: z.ZodLiteral<"object">;
8214
8456
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -8465,6 +8707,7 @@ declare const manifestToolSchema: z.ZodDiscriminatedUnion<[
8465
8707
  ]>;
8466
8708
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
8467
8709
  description: "description";
8710
+ displayName: "displayName";
8468
8711
  rateLimits: "rateLimits";
8469
8712
  timeoutMs: "timeoutMs";
8470
8713
  maxResponseBytes: "maxResponseBytes";
@@ -8478,11 +8721,16 @@ declare const manifestToolSchema: z.ZodDiscriminatedUnion<[
8478
8721
  ], "type">;
8479
8722
  export type ManifestTool = z.input<typeof manifestToolSchema>;
8480
8723
  declare const manifestServiceSchema: z.ZodObject<{
8481
- key: z.ZodString;
8482
- name: z.ZodRecord<z.ZodEnum<{
8724
+ name: z.ZodString;
8725
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
8483
8726
  en: "en";
8484
8727
  ar: "ar";
8485
- }>, z.ZodString>;
8728
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
8729
+ [k: string]: string;
8730
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
8731
+ en: "en";
8732
+ ar: "ar";
8733
+ }> & z.core.$partial, z.ZodString>>>;
8486
8734
  description: z.ZodRecord<z.ZodEnum<{
8487
8735
  en: "en";
8488
8736
  ar: "ar";
@@ -8498,11 +8746,21 @@ declare const manifestServiceSchema: z.ZodObject<{
8498
8746
  ]>;
8499
8747
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
8500
8748
  description: "description";
8749
+ displayName: "displayName";
8501
8750
  }>>>;
8502
8751
  }, z.core.$strict>;
8503
8752
  export type ManifestService = z.input<typeof manifestServiceSchema>;
8504
8753
  declare const manifestSkillSchema: z.ZodObject<{
8505
8754
  name: z.ZodString;
8755
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
8756
+ en: "en";
8757
+ ar: "ar";
8758
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
8759
+ [k: string]: string;
8760
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
8761
+ en: "en";
8762
+ ar: "ar";
8763
+ }> & z.core.$partial, z.ZodString>>>;
8506
8764
  description: z.ZodString;
8507
8765
  body: z.ZodString;
8508
8766
  service: z.ZodOptional<z.ZodString>;
@@ -8517,12 +8775,22 @@ declare const manifestSkillSchema: z.ZodObject<{
8517
8775
  ]>;
8518
8776
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
8519
8777
  description: "description";
8778
+ displayName: "displayName";
8520
8779
  body: "body";
8521
8780
  }>>>;
8522
8781
  }, z.core.$strict>;
8523
8782
  export type ManifestSkill = z.input<typeof manifestSkillSchema>;
8524
8783
  declare const manifestTriggerSchema: z.ZodObject<{
8525
8784
  name: z.ZodString;
8785
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
8786
+ en: "en";
8787
+ ar: "ar";
8788
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
8789
+ [k: string]: string;
8790
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
8791
+ en: "en";
8792
+ ar: "ar";
8793
+ }> & z.core.$partial, z.ZodString>>>;
8526
8794
  description: z.ZodString;
8527
8795
  inputSchema: z.ZodDefault<z.ZodObject<{
8528
8796
  type: z.ZodLiteral<"object">;
@@ -8792,6 +9060,7 @@ declare const manifestTriggerSchema: z.ZodObject<{
8792
9060
  ]>;
8793
9061
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
8794
9062
  description: "description";
9063
+ displayName: "displayName";
8795
9064
  instructions: "instructions";
8796
9065
  threadPolicy: "threadPolicy";
8797
9066
  budgetPerDay: "budgetPerDay";
@@ -8802,6 +9071,15 @@ declare const manifestTriggerSchema: z.ZodObject<{
8802
9071
  export type ManifestTrigger = z.input<typeof manifestTriggerSchema>;
8803
9072
  declare const manifestDatasetHostSchema: z.ZodObject<{
8804
9073
  name: z.ZodString;
9074
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
9075
+ en: "en";
9076
+ ar: "ar";
9077
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
9078
+ [k: string]: string;
9079
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
9080
+ en: "en";
9081
+ ar: "ar";
9082
+ }> & z.core.$partial, z.ZodString>>>;
8805
9083
  url: z.ZodURL;
8806
9084
  headers: z.ZodDefault<z.ZodArray<z.ZodObject<{
8807
9085
  header: z.ZodString;
@@ -8873,6 +9151,7 @@ declare const manifestDatasetHostSchema: z.ZodObject<{
8873
9151
  }, z.core.$strict>
8874
9152
  ]>;
8875
9153
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
9154
+ displayName: "displayName";
8876
9155
  headers: "headers";
8877
9156
  rateLimits: "rateLimits";
8878
9157
  timeoutMs: "timeoutMs";
@@ -8881,6 +9160,15 @@ declare const manifestDatasetHostSchema: z.ZodObject<{
8881
9160
  export type ManifestDatasetHost = z.input<typeof manifestDatasetHostSchema>;
8882
9161
  declare const manifestMcpServerSchema: z.ZodObject<{
8883
9162
  name: z.ZodString;
9163
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
9164
+ en: "en";
9165
+ ar: "ar";
9166
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
9167
+ [k: string]: string;
9168
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
9169
+ en: "en";
9170
+ ar: "ar";
9171
+ }> & z.core.$partial, z.ZodString>>>;
8884
9172
  url: z.ZodURL;
8885
9173
  headers: z.ZodDefault<z.ZodArray<z.ZodObject<{
8886
9174
  header: z.ZodString;
@@ -8943,6 +9231,7 @@ declare const manifestMcpServerSchema: z.ZodObject<{
8943
9231
  }, z.core.$strict>
8944
9232
  ]>;
8945
9233
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
9234
+ displayName: "displayName";
8946
9235
  headers: "headers";
8947
9236
  include: "include";
8948
9237
  exclude: "exclude";
@@ -8951,6 +9240,15 @@ declare const manifestMcpServerSchema: z.ZodObject<{
8951
9240
  export type ManifestMcpServer = z.input<typeof manifestMcpServerSchema>;
8952
9241
  declare const manifestWebhookSchema: z.ZodObject<{
8953
9242
  name: z.ZodString;
9243
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
9244
+ en: "en";
9245
+ ar: "ar";
9246
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
9247
+ [k: string]: string;
9248
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
9249
+ en: "en";
9250
+ ar: "ar";
9251
+ }> & z.core.$partial, z.ZodString>>>;
8954
9252
  description: z.ZodDefault<z.ZodString>;
8955
9253
  event: z.ZodEnum<{
8956
9254
  approval_requested: "approval_requested";
@@ -8997,6 +9295,7 @@ declare const manifestWebhookSchema: z.ZodObject<{
8997
9295
  ]>;
8998
9296
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
8999
9297
  description: "description";
9298
+ displayName: "displayName";
9000
9299
  headers: "headers";
9001
9300
  timeoutMs: "timeoutMs";
9002
9301
  }>>>;
@@ -9019,6 +9318,15 @@ declare const manifestDocumentSchema: z.ZodUnion<readonly [
9019
9318
  export type ManifestDocument = z.input<typeof manifestDocumentSchema>;
9020
9319
  declare const manifestCollectionSchema: z.ZodObject<{
9021
9320
  name: z.ZodString;
9321
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
9322
+ en: "en";
9323
+ ar: "ar";
9324
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
9325
+ [k: string]: string;
9326
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
9327
+ en: "en";
9328
+ ar: "ar";
9329
+ }> & z.core.$partial, z.ZodString>>>;
9022
9330
  description: z.ZodDefault<z.ZodString>;
9023
9331
  service: z.ZodOptional<z.ZodString>;
9024
9332
  citable: z.ZodDefault<z.ZodBoolean>;
@@ -9047,14 +9355,23 @@ declare const manifestCollectionSchema: z.ZodObject<{
9047
9355
  ]>;
9048
9356
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
9049
9357
  description: "description";
9358
+ displayName: "displayName";
9050
9359
  documents: "documents";
9051
9360
  }>>>;
9052
9361
  }, z.core.$strict>;
9053
9362
  export type ManifestCollection = z.input<typeof manifestCollectionSchema>;
9054
9363
  declare const manifestAgentSchema: z.ZodObject<{
9055
- slug: z.ZodString;
9056
9364
  name: z.ZodString;
9057
- server: z.ZodString;
9365
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
9366
+ en: "en";
9367
+ ar: "ar";
9368
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
9369
+ [k: string]: string;
9370
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
9371
+ en: "en";
9372
+ ar: "ar";
9373
+ }> & z.core.$partial, z.ZodString>>>;
9374
+ server: z.ZodOptional<z.ZodString>;
9058
9375
  prompt: z.ZodString;
9059
9376
  auth: z.ZodDiscriminatedUnion<[
9060
9377
  z.ZodObject<{
@@ -9154,7 +9471,7 @@ declare const manifestAgentSchema: z.ZodObject<{
9154
9471
  ar: "ar";
9155
9472
  }>, z.ZodString>>;
9156
9473
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
9157
- name: "name";
9474
+ displayName: "displayName";
9158
9475
  prompt: "prompt";
9159
9476
  models: "models";
9160
9477
  settings: "settings";
@@ -9167,9 +9484,17 @@ export type ManifestAgent = z.input<typeof manifestAgentSchema>;
9167
9484
  declare const manifestSchema: z.ZodObject<{
9168
9485
  id: z.ZodString;
9169
9486
  agents: z.ZodDefault<z.ZodArray<z.ZodObject<{
9170
- slug: z.ZodString;
9171
9487
  name: z.ZodString;
9172
- server: z.ZodString;
9488
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
9489
+ en: "en";
9490
+ ar: "ar";
9491
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
9492
+ [k: string]: string;
9493
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
9494
+ en: "en";
9495
+ ar: "ar";
9496
+ }> & z.core.$partial, z.ZodString>>>;
9497
+ server: z.ZodOptional<z.ZodString>;
9173
9498
  prompt: z.ZodString;
9174
9499
  auth: z.ZodDiscriminatedUnion<[
9175
9500
  z.ZodObject<{
@@ -9269,7 +9594,7 @@ declare const manifestSchema: z.ZodObject<{
9269
9594
  ar: "ar";
9270
9595
  }>, z.ZodString>>;
9271
9596
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
9272
- name: "name";
9597
+ displayName: "displayName";
9273
9598
  prompt: "prompt";
9274
9599
  models: "models";
9275
9600
  settings: "settings";
@@ -9280,6 +9605,15 @@ declare const manifestSchema: z.ZodObject<{
9280
9605
  }, z.core.$strict>>>;
9281
9606
  tools: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[
9282
9607
  z.ZodObject<{
9608
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
9609
+ en: "en";
9610
+ ar: "ar";
9611
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
9612
+ [k: string]: string;
9613
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
9614
+ en: "en";
9615
+ ar: "ar";
9616
+ }> & z.core.$partial, z.ZodString>>>;
9283
9617
  outputSchema: z.ZodDefault<z.ZodObject<{
9284
9618
  type: z.ZodLiteral<"object">;
9285
9619
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -9473,6 +9807,7 @@ declare const manifestSchema: z.ZodObject<{
9473
9807
  requiresApproval: z.ZodDefault<z.ZodBoolean>;
9474
9808
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
9475
9809
  description: "description";
9810
+ displayName: "displayName";
9476
9811
  headers: "headers";
9477
9812
  rateLimits: "rateLimits";
9478
9813
  timeoutMs: "timeoutMs";
@@ -9618,6 +9953,15 @@ declare const manifestSchema: z.ZodObject<{
9618
9953
  z.ZodObject<{
9619
9954
  name: z.ZodString;
9620
9955
  description: z.ZodString;
9956
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
9957
+ en: "en";
9958
+ ar: "ar";
9959
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
9960
+ [k: string]: string;
9961
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
9962
+ en: "en";
9963
+ ar: "ar";
9964
+ }> & z.core.$partial, z.ZodString>>>;
9621
9965
  outputSchema: z.ZodDefault<z.ZodObject<{
9622
9966
  type: z.ZodLiteral<"object">;
9623
9967
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -9734,6 +10078,7 @@ declare const manifestSchema: z.ZodObject<{
9734
10078
  required: z.ZodOptional<z.ZodArray<z.ZodString>>;
9735
10079
  "x-order": z.ZodOptional<z.ZodArray<z.ZodString>>;
9736
10080
  }, z.core.$strict>>;
10081
+ url: z.ZodURL;
9737
10082
  headers: z.ZodDefault<z.ZodArray<z.ZodObject<{
9738
10083
  header: z.ZodString;
9739
10084
  prefix: z.ZodDefault<z.ZodString>;
@@ -9795,7 +10140,6 @@ declare const manifestSchema: z.ZodObject<{
9795
10140
  maxResponseBytes: z.ZodDefault<z.ZodNumber>;
9796
10141
  pinned: z.ZodDefault<z.ZodBoolean>;
9797
10142
  tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
9798
- url: z.ZodURL;
9799
10143
  audience: z.ZodUnion<readonly [
9800
10144
  z.ZodLiteral<"all">,
9801
10145
  z.ZodObject<{
@@ -9808,6 +10152,7 @@ declare const manifestSchema: z.ZodObject<{
9808
10152
  projectOutput: z.ZodDefault<z.ZodBoolean>;
9809
10153
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
9810
10154
  description: "description";
10155
+ displayName: "displayName";
9811
10156
  headers: "headers";
9812
10157
  rateLimits: "rateLimits";
9813
10158
  timeoutMs: "timeoutMs";
@@ -9946,6 +10291,15 @@ declare const manifestSchema: z.ZodObject<{
9946
10291
  }>;
9947
10292
  }, z.core.$strict>,
9948
10293
  z.ZodObject<{
10294
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
10295
+ en: "en";
10296
+ ar: "ar";
10297
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
10298
+ [k: string]: string;
10299
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
10300
+ en: "en";
10301
+ ar: "ar";
10302
+ }> & z.core.$partial, z.ZodString>>>;
9949
10303
  outputSchema: z.ZodDefault<z.ZodObject<{
9950
10304
  type: z.ZodLiteral<"object">;
9951
10305
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -10139,6 +10493,7 @@ declare const manifestSchema: z.ZodObject<{
10139
10493
  requiresApproval: z.ZodDefault<z.ZodBoolean>;
10140
10494
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
10141
10495
  description: "description";
10496
+ displayName: "displayName";
10142
10497
  headers: "headers";
10143
10498
  rateLimits: "rateLimits";
10144
10499
  timeoutMs: "timeoutMs";
@@ -10277,6 +10632,15 @@ declare const manifestSchema: z.ZodObject<{
10277
10632
  readOnly: z.ZodBoolean;
10278
10633
  }, z.core.$strict>,
10279
10634
  z.ZodObject<{
10635
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
10636
+ en: "en";
10637
+ ar: "ar";
10638
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
10639
+ [k: string]: string;
10640
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
10641
+ en: "en";
10642
+ ar: "ar";
10643
+ }> & z.core.$partial, z.ZodString>>>;
10280
10644
  inputSchema: z.ZodDefault<z.ZodObject<{
10281
10645
  type: z.ZodLiteral<"object">;
10282
10646
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -10533,6 +10897,7 @@ declare const manifestSchema: z.ZodObject<{
10533
10897
  ]>;
10534
10898
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
10535
10899
  description: "description";
10900
+ displayName: "displayName";
10536
10901
  rateLimits: "rateLimits";
10537
10902
  timeoutMs: "timeoutMs";
10538
10903
  maxResponseBytes: "maxResponseBytes";
@@ -10613,6 +10978,7 @@ declare const manifestSchema: z.ZodObject<{
10613
10978
  ]>;
10614
10979
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
10615
10980
  description: "description";
10981
+ displayName: "displayName";
10616
10982
  headers: "headers";
10617
10983
  rateLimits: "rateLimits";
10618
10984
  timeoutMs: "timeoutMs";
@@ -10622,11 +10988,16 @@ declare const manifestSchema: z.ZodObject<{
10622
10988
  }>>>;
10623
10989
  }, z.core.$strict>>>;
10624
10990
  services: z.ZodDefault<z.ZodArray<z.ZodObject<{
10625
- key: z.ZodString;
10626
- name: z.ZodRecord<z.ZodEnum<{
10991
+ name: z.ZodString;
10992
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
10627
10993
  en: "en";
10628
10994
  ar: "ar";
10629
- }>, z.ZodString>;
10995
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
10996
+ [k: string]: string;
10997
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
10998
+ en: "en";
10999
+ ar: "ar";
11000
+ }> & z.core.$partial, z.ZodString>>>;
10630
11001
  description: z.ZodRecord<z.ZodEnum<{
10631
11002
  en: "en";
10632
11003
  ar: "ar";
@@ -10642,10 +11013,20 @@ declare const manifestSchema: z.ZodObject<{
10642
11013
  ]>;
10643
11014
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
10644
11015
  description: "description";
11016
+ displayName: "displayName";
10645
11017
  }>>>;
10646
11018
  }, z.core.$strict>>>;
10647
11019
  skills: z.ZodDefault<z.ZodArray<z.ZodObject<{
10648
11020
  name: z.ZodString;
11021
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
11022
+ en: "en";
11023
+ ar: "ar";
11024
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
11025
+ [k: string]: string;
11026
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
11027
+ en: "en";
11028
+ ar: "ar";
11029
+ }> & z.core.$partial, z.ZodString>>>;
10649
11030
  description: z.ZodString;
10650
11031
  body: z.ZodString;
10651
11032
  service: z.ZodOptional<z.ZodString>;
@@ -10660,11 +11041,21 @@ declare const manifestSchema: z.ZodObject<{
10660
11041
  ]>;
10661
11042
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
10662
11043
  description: "description";
11044
+ displayName: "displayName";
10663
11045
  body: "body";
10664
11046
  }>>>;
10665
11047
  }, z.core.$strict>>>;
10666
11048
  triggers: z.ZodDefault<z.ZodArray<z.ZodObject<{
10667
11049
  name: z.ZodString;
11050
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
11051
+ en: "en";
11052
+ ar: "ar";
11053
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
11054
+ [k: string]: string;
11055
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
11056
+ en: "en";
11057
+ ar: "ar";
11058
+ }> & z.core.$partial, z.ZodString>>>;
10668
11059
  description: z.ZodString;
10669
11060
  inputSchema: z.ZodDefault<z.ZodObject<{
10670
11061
  type: z.ZodLiteral<"object">;
@@ -10934,6 +11325,7 @@ declare const manifestSchema: z.ZodObject<{
10934
11325
  ]>;
10935
11326
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
10936
11327
  description: "description";
11328
+ displayName: "displayName";
10937
11329
  instructions: "instructions";
10938
11330
  threadPolicy: "threadPolicy";
10939
11331
  budgetPerDay: "budgetPerDay";
@@ -10943,6 +11335,15 @@ declare const manifestSchema: z.ZodObject<{
10943
11335
  }, z.core.$strict>>>;
10944
11336
  datasetHosts: z.ZodDefault<z.ZodArray<z.ZodObject<{
10945
11337
  name: z.ZodString;
11338
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
11339
+ en: "en";
11340
+ ar: "ar";
11341
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
11342
+ [k: string]: string;
11343
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
11344
+ en: "en";
11345
+ ar: "ar";
11346
+ }> & z.core.$partial, z.ZodString>>>;
10946
11347
  url: z.ZodURL;
10947
11348
  headers: z.ZodDefault<z.ZodArray<z.ZodObject<{
10948
11349
  header: z.ZodString;
@@ -11014,6 +11415,7 @@ declare const manifestSchema: z.ZodObject<{
11014
11415
  }, z.core.$strict>
11015
11416
  ]>;
11016
11417
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
11418
+ displayName: "displayName";
11017
11419
  headers: "headers";
11018
11420
  rateLimits: "rateLimits";
11019
11421
  timeoutMs: "timeoutMs";
@@ -11021,6 +11423,15 @@ declare const manifestSchema: z.ZodObject<{
11021
11423
  }, z.core.$strict>>>;
11022
11424
  mcpServers: z.ZodDefault<z.ZodArray<z.ZodObject<{
11023
11425
  name: z.ZodString;
11426
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
11427
+ en: "en";
11428
+ ar: "ar";
11429
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
11430
+ [k: string]: string;
11431
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
11432
+ en: "en";
11433
+ ar: "ar";
11434
+ }> & z.core.$partial, z.ZodString>>>;
11024
11435
  url: z.ZodURL;
11025
11436
  headers: z.ZodDefault<z.ZodArray<z.ZodObject<{
11026
11437
  header: z.ZodString;
@@ -11083,6 +11494,7 @@ declare const manifestSchema: z.ZodObject<{
11083
11494
  }, z.core.$strict>
11084
11495
  ]>;
11085
11496
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
11497
+ displayName: "displayName";
11086
11498
  headers: "headers";
11087
11499
  include: "include";
11088
11500
  exclude: "exclude";
@@ -11090,6 +11502,15 @@ declare const manifestSchema: z.ZodObject<{
11090
11502
  }, z.core.$strict>>>;
11091
11503
  webhooks: z.ZodDefault<z.ZodArray<z.ZodObject<{
11092
11504
  name: z.ZodString;
11505
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
11506
+ en: "en";
11507
+ ar: "ar";
11508
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
11509
+ [k: string]: string;
11510
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
11511
+ en: "en";
11512
+ ar: "ar";
11513
+ }> & z.core.$partial, z.ZodString>>>;
11093
11514
  description: z.ZodDefault<z.ZodString>;
11094
11515
  event: z.ZodEnum<{
11095
11516
  approval_requested: "approval_requested";
@@ -11136,12 +11557,22 @@ declare const manifestSchema: z.ZodObject<{
11136
11557
  ]>;
11137
11558
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
11138
11559
  description: "description";
11560
+ displayName: "displayName";
11139
11561
  headers: "headers";
11140
11562
  timeoutMs: "timeoutMs";
11141
11563
  }>>>;
11142
11564
  }, z.core.$strict>>>;
11143
11565
  collections: z.ZodDefault<z.ZodArray<z.ZodObject<{
11144
11566
  name: z.ZodString;
11567
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
11568
+ en: "en";
11569
+ ar: "ar";
11570
+ }> & z.core.$partial, z.ZodString>, z.ZodTransform<{
11571
+ [k: string]: string;
11572
+ }, Partial<Record<"en" | "ar", string>>>>, z.ZodRecord<z.ZodEnum<{
11573
+ en: "en";
11574
+ ar: "ar";
11575
+ }> & z.core.$partial, z.ZodString>>>;
11145
11576
  description: z.ZodDefault<z.ZodString>;
11146
11577
  service: z.ZodOptional<z.ZodString>;
11147
11578
  citable: z.ZodDefault<z.ZodBoolean>;
@@ -11170,6 +11601,7 @@ declare const manifestSchema: z.ZodObject<{
11170
11601
  ]>;
11171
11602
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
11172
11603
  description: "description";
11604
+ displayName: "displayName";
11173
11605
  documents: "documents";
11174
11606
  }>>>;
11175
11607
  }, z.core.$strict>>>;
@@ -11180,9 +11612,7 @@ export type Manifest = z.input<typeof manifestSchema>;
11180
11612
  export declare function defineManifest(manifest: Manifest): {
11181
11613
  id: string;
11182
11614
  agents?: {
11183
- slug: string;
11184
11615
  name: string;
11185
- server: string;
11186
11616
  prompt: string;
11187
11617
  auth: {
11188
11618
  kind: "jwks";
@@ -11206,6 +11636,8 @@ export declare function defineManifest(manifest: Manifest): {
11206
11636
  } | {
11207
11637
  kind: "server";
11208
11638
  };
11639
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
11640
+ server?: string | undefined;
11209
11641
  models?: {
11210
11642
  chat?: {
11211
11643
  provider: string;
@@ -11258,7 +11690,7 @@ export declare function defineManifest(manifest: Manifest): {
11258
11690
  prompt: string;
11259
11691
  }[]> | undefined;
11260
11692
  greeting?: Record<"en" | "ar", string> | undefined;
11261
- overridable?: ("name" | "prompt" | "models" | "settings" | "rateLimits" | "suggestions" | "greeting")[] | undefined;
11693
+ overridable?: ("displayName" | "prompt" | "models" | "settings" | "rateLimits" | "suggestions" | "greeting")[] | undefined;
11262
11694
  }[] | undefined;
11263
11695
  tools?: ({
11264
11696
  audience: "all" | {
@@ -11272,6 +11704,7 @@ export declare function defineManifest(manifest: Manifest): {
11272
11704
  type: "http";
11273
11705
  method: "DELETE" | "POST" | "GET" | "PUT" | "PATCH";
11274
11706
  readOnly: boolean;
11707
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
11275
11708
  outputSchema?: {
11276
11709
  type: "object";
11277
11710
  properties?: Record<string, {
@@ -11360,7 +11793,7 @@ export declare function defineManifest(manifest: Manifest): {
11360
11793
  prefix?: string | undefined;
11361
11794
  }[] | undefined;
11362
11795
  requiresApproval?: boolean | undefined;
11363
- overridable?: ("description" | "headers" | "rateLimits" | "timeoutMs" | "maxResponseBytes" | "pinned" | "tags")[] | undefined;
11796
+ overridable?: ("description" | "displayName" | "headers" | "rateLimits" | "timeoutMs" | "maxResponseBytes" | "pinned" | "tags")[] | undefined;
11364
11797
  responseWrap?: "value" | "items" | undefined;
11365
11798
  requestMediaType?: "application/x-www-form-urlencoded" | "multipart/form-data" | undefined;
11366
11799
  resultPath?: string | undefined;
@@ -11435,6 +11868,7 @@ export declare function defineManifest(manifest: Manifest): {
11435
11868
  surface: "inline" | "modal";
11436
11869
  type: "embedded";
11437
11870
  method: "DELETE" | "POST" | "GET" | "PUT" | "PATCH";
11871
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
11438
11872
  outputSchema?: {
11439
11873
  type: "object";
11440
11874
  properties?: Record<string, {
@@ -11522,7 +11956,7 @@ export declare function defineManifest(manifest: Manifest): {
11522
11956
  pinned?: boolean | undefined;
11523
11957
  tags?: string[] | undefined;
11524
11958
  projectOutput?: boolean | undefined;
11525
- overridable?: ("description" | "headers" | "rateLimits" | "timeoutMs" | "maxResponseBytes" | "pinned" | "tags")[] | undefined;
11959
+ overridable?: ("description" | "displayName" | "headers" | "rateLimits" | "timeoutMs" | "maxResponseBytes" | "pinned" | "tags")[] | undefined;
11526
11960
  inputSchema?: {
11527
11961
  type: "object";
11528
11962
  properties?: Record<string, {
@@ -11595,6 +12029,7 @@ export declare function defineManifest(manifest: Manifest): {
11595
12029
  envelopeTemplate: string;
11596
12030
  type: "soap";
11597
12031
  readOnly: boolean;
12032
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
11598
12033
  outputSchema?: {
11599
12034
  type: "object";
11600
12035
  properties?: Record<string, {
@@ -11683,7 +12118,7 @@ export declare function defineManifest(manifest: Manifest): {
11683
12118
  prefix?: string | undefined;
11684
12119
  }[] | undefined;
11685
12120
  requiresApproval?: boolean | undefined;
11686
- overridable?: ("description" | "headers" | "rateLimits" | "timeoutMs" | "maxResponseBytes" | "pinned" | "tags")[] | undefined;
12121
+ overridable?: ("description" | "displayName" | "headers" | "rateLimits" | "timeoutMs" | "maxResponseBytes" | "pinned" | "tags")[] | undefined;
11687
12122
  tokenCall?: {
11688
12123
  envelopeTemplate: string;
11689
12124
  soapAction: string;
@@ -11756,6 +12191,7 @@ export declare function defineManifest(manifest: Manifest): {
11756
12191
  name: string;
11757
12192
  description: string;
11758
12193
  type: "client";
12194
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
11759
12195
  inputSchema?: {
11760
12196
  type: "object";
11761
12197
  properties?: Record<string, {
@@ -11885,7 +12321,7 @@ export declare function defineManifest(manifest: Manifest): {
11885
12321
  projectOutput?: boolean | undefined;
11886
12322
  pinned?: boolean | undefined;
11887
12323
  tags?: string[] | undefined;
11888
- overridable?: ("description" | "rateLimits" | "timeoutMs" | "maxResponseBytes" | "pinned" | "tags")[] | undefined;
12324
+ overridable?: ("description" | "displayName" | "rateLimits" | "timeoutMs" | "maxResponseBytes" | "pinned" | "tags")[] | undefined;
11889
12325
  })[] | undefined;
11890
12326
  openapi?: {
11891
12327
  name: string;
@@ -11917,18 +12353,18 @@ export declare function defineManifest(manifest: Manifest): {
11917
12353
  never?: string[] | undefined;
11918
12354
  always?: string[] | undefined;
11919
12355
  } | undefined;
11920
- overridable?: ("description" | "headers" | "rateLimits" | "timeoutMs" | "maxResponseBytes" | "pinned" | "tags")[] | undefined;
12356
+ overridable?: ("description" | "displayName" | "headers" | "rateLimits" | "timeoutMs" | "maxResponseBytes" | "pinned" | "tags")[] | undefined;
11921
12357
  }[] | undefined;
11922
12358
  services?: {
11923
- key: string;
11924
- name: Record<"en" | "ar", string>;
12359
+ name: string;
11925
12360
  description: Record<"en" | "ar", string>;
11926
12361
  audience: "all" | {
11927
12362
  server: string;
11928
12363
  } | {
11929
12364
  agents: string[];
11930
12365
  };
11931
- overridable?: "description"[] | undefined;
12366
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
12367
+ overridable?: ("description" | "displayName")[] | undefined;
11932
12368
  }[] | undefined;
11933
12369
  skills?: {
11934
12370
  name: string;
@@ -11939,8 +12375,9 @@ export declare function defineManifest(manifest: Manifest): {
11939
12375
  } | {
11940
12376
  agents: string[];
11941
12377
  };
12378
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
11942
12379
  service?: string | undefined;
11943
- overridable?: ("description" | "body")[] | undefined;
12380
+ overridable?: ("description" | "displayName" | "body")[] | undefined;
11944
12381
  }[] | undefined;
11945
12382
  triggers?: {
11946
12383
  name: string;
@@ -11951,6 +12388,7 @@ export declare function defineManifest(manifest: Manifest): {
11951
12388
  } | {
11952
12389
  agents: string[];
11953
12390
  };
12391
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
11954
12392
  inputSchema?: {
11955
12393
  type: "object";
11956
12394
  properties?: Record<string, {
@@ -12086,7 +12524,7 @@ export declare function defineManifest(manifest: Manifest): {
12086
12524
  model: string;
12087
12525
  effort?: string | undefined;
12088
12526
  } | undefined;
12089
- overridable?: ("description" | "instructions" | "threadPolicy" | "budgetPerDay" | "disableAfterFailures" | "model")[] | undefined;
12527
+ overridable?: ("description" | "displayName" | "instructions" | "threadPolicy" | "budgetPerDay" | "disableAfterFailures" | "model")[] | undefined;
12090
12528
  }[] | undefined;
12091
12529
  datasetHosts?: {
12092
12530
  name: string;
@@ -12097,6 +12535,7 @@ export declare function defineManifest(manifest: Manifest): {
12097
12535
  } | {
12098
12536
  agents: string[];
12099
12537
  };
12538
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
12100
12539
  headers?: {
12101
12540
  header: string;
12102
12541
  from: {
@@ -12123,7 +12562,7 @@ export declare function defineManifest(manifest: Manifest): {
12123
12562
  } | undefined;
12124
12563
  } | undefined;
12125
12564
  pinned?: string[] | undefined;
12126
- overridable?: ("headers" | "rateLimits" | "timeoutMs")[] | undefined;
12565
+ overridable?: ("displayName" | "headers" | "rateLimits" | "timeoutMs")[] | undefined;
12127
12566
  }[] | undefined;
12128
12567
  mcpServers?: {
12129
12568
  name: string;
@@ -12133,6 +12572,7 @@ export declare function defineManifest(manifest: Manifest): {
12133
12572
  } | {
12134
12573
  agents: string[];
12135
12574
  };
12575
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
12136
12576
  headers?: {
12137
12577
  header: string;
12138
12578
  from: {
@@ -12151,7 +12591,7 @@ export declare function defineManifest(manifest: Manifest): {
12151
12591
  }[] | undefined;
12152
12592
  include?: string[] | undefined;
12153
12593
  exclude?: string[] | undefined;
12154
- overridable?: ("headers" | "include" | "exclude")[] | undefined;
12594
+ overridable?: ("displayName" | "headers" | "include" | "exclude")[] | undefined;
12155
12595
  }[] | undefined;
12156
12596
  webhooks?: {
12157
12597
  name: string;
@@ -12162,6 +12602,7 @@ export declare function defineManifest(manifest: Manifest): {
12162
12602
  } | {
12163
12603
  agents: string[];
12164
12604
  };
12605
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
12165
12606
  description?: string | undefined;
12166
12607
  headers?: {
12167
12608
  header: string;
@@ -12175,7 +12616,7 @@ export declare function defineManifest(manifest: Manifest): {
12175
12616
  prefix?: string | undefined;
12176
12617
  }[] | undefined;
12177
12618
  timeoutMs?: number | undefined;
12178
- overridable?: ("description" | "headers" | "timeoutMs")[] | undefined;
12619
+ overridable?: ("description" | "displayName" | "headers" | "timeoutMs")[] | undefined;
12179
12620
  }[] | undefined;
12180
12621
  collections?: {
12181
12622
  name: string;
@@ -12184,6 +12625,7 @@ export declare function defineManifest(manifest: Manifest): {
12184
12625
  } | {
12185
12626
  agents: string[];
12186
12627
  };
12628
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
12187
12629
  description?: string | undefined;
12188
12630
  service?: string | undefined;
12189
12631
  citable?: boolean | undefined;
@@ -12197,7 +12639,7 @@ export declare function defineManifest(manifest: Manifest): {
12197
12639
  url: string;
12198
12640
  name?: string | undefined;
12199
12641
  })[] | undefined;
12200
- overridable?: ("description" | "documents")[] | undefined;
12642
+ overridable?: ("description" | "displayName" | "documents")[] | undefined;
12201
12643
  }[] | undefined;
12202
12644
  };
12203
12645