@m6d/cortex 0.7.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,9 +1662,10 @@ export type StoredSchemaFieldRow = {
1652
1662
  };
1653
1663
  /** Each procedure's input, as it is sent, and output, as JSON carries it. */
1654
1664
  export type ManagementProcedures = {
1655
- /** Give an agent an alias: a second slug it answers to wherever a slug is resolved. Refused (slug_taken) when an agent's slug or another alias holds the name; to move an alias, delete it and add it to the other agent. */
1665
+ /** Give an agent an alias: a second name it answers to wherever a name is resolved. Refused (name_taken) when an agent's name or another alias holds the name; to move an alias, delete it and add it to the other agent. */
1656
1666
  "agents.addAlias": {
1657
1667
  input: {
1668
+ /** A name: lowercase letters, digits, and single hyphens. */
1658
1669
  alias: string;
1659
1670
  agentId: string;
1660
1671
  };
@@ -1668,8 +1679,9 @@ export type ManagementProcedures = {
1668
1679
  /** Create an agent on a registered server, or on none (`serverId` null), fixed for good either way. An agent with no server has no native tools, no server variables and no server auth, and publishes only on a chat model of its own. The draft has no prompt yet; save one with agents.savePrompt before publishing. */
1669
1680
  "agents.create": {
1670
1681
  input: {
1671
- slug: string;
1682
+ /** A name: lowercase letters, digits, and single hyphens. */
1672
1683
  name: string;
1684
+ displayName: Partial<Record<"en" | "ar", string>>;
1673
1685
  serverId: string | null;
1674
1686
  };
1675
1687
  output: {
@@ -1678,9 +1690,9 @@ export type ManagementProcedures = {
1678
1690
  sourceId: string | null;
1679
1691
  overridable: Array<string>;
1680
1692
  applied: string | number | boolean | null | Record<string, unknown> | Array<unknown> | null;
1681
- slug: string;
1682
- serverId: string | null;
1683
1693
  name: string;
1694
+ serverId: string | null;
1695
+ displayName: Partial<Record<"en" | "ar", string>>;
1684
1696
  promptDraft: string;
1685
1697
  ragEnabled: boolean;
1686
1698
  toolRegistryEnabled: boolean;
@@ -1723,9 +1735,9 @@ export type ManagementProcedures = {
1723
1735
  sourceId: string | null;
1724
1736
  overridable: Array<string>;
1725
1737
  applied: string | number | boolean | null | Record<string, unknown> | Array<unknown> | null;
1726
- slug: string;
1727
- serverId: string | null;
1728
1738
  name: string;
1739
+ serverId: string | null;
1740
+ displayName: Partial<Record<"en" | "ar", string>>;
1729
1741
  promptDraft: string;
1730
1742
  ragEnabled: boolean;
1731
1743
  toolRegistryEnabled: boolean;
@@ -1759,6 +1771,7 @@ export type ManagementProcedures = {
1759
1771
  /** Remove an alias. */
1760
1772
  "agents.deleteAlias": {
1761
1773
  input: {
1774
+ /** A name: lowercase letters, digits, and single hyphens. */
1762
1775
  alias: string;
1763
1776
  };
1764
1777
  output: {
@@ -1779,9 +1792,9 @@ export type ManagementProcedures = {
1779
1792
  sourceId: string | null;
1780
1793
  overridable: Array<string>;
1781
1794
  applied: string | number | boolean | null | Record<string, unknown> | Array<unknown> | null;
1782
- slug: string;
1783
- serverId: string | null;
1784
1795
  name: string;
1796
+ serverId: string | null;
1797
+ displayName: Partial<Record<"en" | "ar", string>>;
1785
1798
  promptDraft: string;
1786
1799
  ragEnabled: boolean;
1787
1800
  toolRegistryEnabled: boolean;
@@ -1808,7 +1821,10 @@ export type ManagementProcedures = {
1808
1821
  summarizationModel: string | null;
1809
1822
  context: string | number | boolean | null | Record<string, unknown> | Array<unknown>;
1810
1823
  limits: string | number | boolean | null | Record<string, unknown> | Array<unknown>;
1811
- serverName: string | null;
1824
+ server: {
1825
+ name: string;
1826
+ displayName: Partial<Record<"en" | "ar", string>>;
1827
+ } | null;
1812
1828
  serverVerifies: boolean;
1813
1829
  variables: Array<{
1814
1830
  name: string;
@@ -1839,13 +1855,16 @@ export type ManagementProcedures = {
1839
1855
  output: {
1840
1856
  items: Array<{
1841
1857
  id: string;
1842
- slug: string;
1843
1858
  name: string;
1859
+ displayName: Partial<Record<"en" | "ar", string>>;
1844
1860
  updatedAt: string;
1845
1861
  source: "direct" | "manifest" | "server";
1846
1862
  sourceId: string | null;
1847
1863
  overridable: Array<string>;
1848
- serverName: string | null;
1864
+ server: {
1865
+ name: string;
1866
+ displayName: Partial<Record<"en" | "ar", string>>;
1867
+ } | null;
1849
1868
  published: boolean;
1850
1869
  toolCount: number;
1851
1870
  serviceCount: number;
@@ -1858,7 +1877,7 @@ export type ManagementProcedures = {
1858
1877
  filteredCount: number;
1859
1878
  };
1860
1879
  };
1861
- /** List an agent's aliases (second slugs, unique across the deployment beside every agent's own), with pagination. */
1880
+ /** List an agent's aliases (second names, unique across the deployment beside every agent's own), with pagination. */
1862
1881
  "agents.listAliases": {
1863
1882
  input: {
1864
1883
  pageIndex?: number;
@@ -1879,13 +1898,13 @@ export type ManagementProcedures = {
1879
1898
  filteredCount: number;
1880
1899
  };
1881
1900
  };
1882
- /** Agent id, slug, and name pairs for selectors. */
1901
+ /** Agent ids, names and display names for selectors. */
1883
1902
  "agents.options": {
1884
1903
  input: undefined;
1885
1904
  output: Array<{
1886
1905
  id: string;
1887
- slug: string;
1888
1906
  name: string;
1907
+ displayName: Partial<Record<"en" | "ar", string>>;
1889
1908
  serverId: string | null;
1890
1909
  }>;
1891
1910
  };
@@ -1939,9 +1958,9 @@ export type ManagementProcedures = {
1939
1958
  sourceId: string | null;
1940
1959
  overridable: Array<string>;
1941
1960
  applied: string | number | boolean | null | Record<string, unknown> | Array<unknown> | null;
1942
- slug: string;
1943
- serverId: string | null;
1944
1961
  name: string;
1962
+ serverId: string | null;
1963
+ displayName: Partial<Record<"en" | "ar", string>>;
1945
1964
  promptDraft: string;
1946
1965
  ragEnabled: boolean;
1947
1966
  toolRegistryEnabled: boolean;
@@ -2049,9 +2068,9 @@ export type ManagementProcedures = {
2049
2068
  sourceId: string | null;
2050
2069
  overridable: Array<string>;
2051
2070
  applied: string | number | boolean | null | Record<string, unknown> | Array<unknown> | null;
2052
- slug: string;
2053
- serverId: string | null;
2054
2071
  name: string;
2072
+ serverId: string | null;
2073
+ displayName: Partial<Record<"en" | "ar", string>>;
2055
2074
  promptDraft: string;
2056
2075
  ragEnabled: boolean;
2057
2076
  toolRegistryEnabled: boolean;
@@ -2082,11 +2101,11 @@ export type ManagementProcedures = {
2082
2101
  updatedAt: string;
2083
2102
  };
2084
2103
  };
2085
- /** Rename an agent. The name applies at once; it is not part of the published prompt. */
2104
+ /** Set an agent's display name, a text per locale. It applies at once; it is not part of the published prompt. */
2086
2105
  "agents.update": {
2087
2106
  input: {
2088
2107
  id: string;
2089
- name: string;
2108
+ displayName: Partial<Record<"en" | "ar", string>>;
2090
2109
  };
2091
2110
  output: {
2092
2111
  id: string;
@@ -2094,9 +2113,9 @@ export type ManagementProcedures = {
2094
2113
  sourceId: string | null;
2095
2114
  overridable: Array<string>;
2096
2115
  applied: string | number | boolean | null | Record<string, unknown> | Array<unknown> | null;
2097
- slug: string;
2098
- serverId: string | null;
2099
2116
  name: string;
2117
+ serverId: string | null;
2118
+ displayName: Partial<Record<"en" | "ar", string>>;
2100
2119
  promptDraft: string;
2101
2120
  ragEnabled: boolean;
2102
2121
  toolRegistryEnabled: boolean;
@@ -2156,9 +2175,15 @@ export type ManagementProcedures = {
2156
2175
  createdAt: string;
2157
2176
  actorName: string;
2158
2177
  actorEmail: string;
2159
- entityName: string | null;
2160
- credentialFingerprint: string | null;
2161
- credentialName: string | null;
2178
+ entity: {
2179
+ name: string;
2180
+ displayName: Partial<Record<"en" | "ar", string>>;
2181
+ } | null;
2182
+ managementKey: {
2183
+ name: string;
2184
+ displayName: Partial<Record<"en" | "ar", string>>;
2185
+ fingerprint: string;
2186
+ } | null;
2162
2187
  before: unknown;
2163
2188
  after: unknown;
2164
2189
  };
@@ -2187,9 +2212,15 @@ export type ManagementProcedures = {
2187
2212
  createdAt: string;
2188
2213
  actorName: string;
2189
2214
  actorEmail: string;
2190
- entityName: string | null;
2191
- credentialFingerprint: string | null;
2192
- 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;
2193
2224
  }>;
2194
2225
  /** Every row the caller may see, ignoring the search and filters. */
2195
2226
  count: number;
@@ -2197,10 +2228,12 @@ export type ManagementProcedures = {
2197
2228
  filteredCount: number;
2198
2229
  };
2199
2230
  };
2200
- /** Create a knowledge collection with an audience ({ kind: "all" }, { kind: "server", serverId }, or { kind: "agents", agentIds }). Documents are uploaded into it; a service tag scopes every document to that service. */
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. */
2201
2232
  "collections.create": {
2202
2233
  input: {
2234
+ /** A name: lowercase letters, digits, and single hyphens. */
2203
2235
  name: string;
2236
+ displayName: Partial<Record<"en" | "ar", string>>;
2204
2237
  description: string;
2205
2238
  serviceId: string | null;
2206
2239
  citable: boolean;
@@ -2241,6 +2274,7 @@ export type ManagementProcedures = {
2241
2274
  citable: boolean;
2242
2275
  createdAt: string;
2243
2276
  updatedAt: string;
2277
+ displayName: Partial<Record<"en" | "ar", string>>;
2244
2278
  source: "direct" | "manifest" | "server";
2245
2279
  sourceId: string | null;
2246
2280
  overridable: Array<string>;
@@ -2254,9 +2288,10 @@ export type ManagementProcedures = {
2254
2288
  agentIds: Array<string>;
2255
2289
  };
2256
2290
  referrers: Array<{
2291
+ name: string;
2292
+ displayName: Partial<Record<"en" | "ar", string>>;
2257
2293
  kind: "agent_prompt" | "service" | "skill" | "trigger" | "knowledge_collection";
2258
2294
  id: string;
2259
- name: string;
2260
2295
  readers: {
2261
2296
  kind: "all";
2262
2297
  } | {
@@ -2267,7 +2302,10 @@ export type ManagementProcedures = {
2267
2302
  agentIds: Array<string>;
2268
2303
  };
2269
2304
  }>;
2270
- serviceKey: string | null;
2305
+ service: {
2306
+ name: string;
2307
+ displayName: Partial<Record<"en" | "ar", string>>;
2308
+ } | null;
2271
2309
  };
2272
2310
  };
2273
2311
  /** List knowledge collections with pagination and search, optionally the ones an agent sees or the ones reaching a server. */
@@ -2288,6 +2326,7 @@ export type ManagementProcedures = {
2288
2326
  description: string;
2289
2327
  serviceId: string | null;
2290
2328
  updatedAt: string;
2329
+ displayName: Partial<Record<"en" | "ar", string>>;
2291
2330
  source: "direct" | "manifest" | "server";
2292
2331
  sourceId: string | null;
2293
2332
  overridable: Array<string>;
@@ -2300,7 +2339,10 @@ export type ManagementProcedures = {
2300
2339
  kind: "agents";
2301
2340
  agentIds: Array<string>;
2302
2341
  };
2303
- serviceKey: string | null;
2342
+ service: {
2343
+ name: string;
2344
+ displayName: Partial<Record<"en" | "ar", string>>;
2345
+ } | null;
2304
2346
  documentCount: number;
2305
2347
  }>;
2306
2348
  /** Every row the caller may see, ignoring the search and filters. */
@@ -2360,10 +2402,10 @@ export type ManagementProcedures = {
2360
2402
  };
2361
2403
  }>;
2362
2404
  };
2363
- /** 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. */
2364
2406
  "collections.update": {
2365
2407
  input: {
2366
- name: string;
2408
+ displayName: Partial<Record<"en" | "ar", string>>;
2367
2409
  description: string;
2368
2410
  serviceId: string | null;
2369
2411
  citable: boolean;
@@ -2374,19 +2416,22 @@ export type ManagementProcedures = {
2374
2416
  name: string;
2375
2417
  };
2376
2418
  };
2377
- /** Create a named credential over a stored secret: `static` presents the secret's value; `oauth2-client-credentials` exchanges it, as the client secret of `clientId`, for a bearer at `tokenUrl` (https, or http on loopback or on a host `EGRESS_ALLOWED_HOSTS` admits). A credential's name and kind never change. Needs `secrets:write` too: whatever presents the credential sends its secret. */
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. */
2378
2420
  "credentials.create": {
2379
2421
  input: {
2422
+ displayName: Partial<Record<"en" | "ar", string>>;
2380
2423
  kind: "static" | "oauth2-client-credentials";
2381
2424
  secretName: string;
2382
2425
  tokenUrl: string;
2383
2426
  clientId: string;
2384
2427
  scope: string;
2428
+ /** A name: lowercase letters, digits, and single hyphens. */
2385
2429
  name: string;
2386
2430
  };
2387
2431
  output: {
2388
2432
  id: string;
2389
2433
  name: string;
2434
+ displayName: Partial<Record<"en" | "ar", string>>;
2390
2435
  kind: "static" | "oauth2-client-credentials";
2391
2436
  secretName: string;
2392
2437
  tokenUrl: string | null;
@@ -2404,6 +2449,7 @@ export type ManagementProcedures = {
2404
2449
  output: {
2405
2450
  id: string;
2406
2451
  name: string;
2452
+ displayName: Partial<Record<"en" | "ar", string>>;
2407
2453
  kind: "static" | "oauth2-client-credentials";
2408
2454
  secretName: string;
2409
2455
  tokenUrl: string | null;
@@ -2413,7 +2459,7 @@ export type ManagementProcedures = {
2413
2459
  updatedAt: string;
2414
2460
  };
2415
2461
  };
2416
- /** List credentials with pagination and search: the name tools, dataset hosts and triggers reference, its kind, the secret it composes, and how many rows name it with the first few (`usedBy`). */
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`). */
2417
2463
  "credentials.list": {
2418
2464
  input: {
2419
2465
  pageIndex?: number;
@@ -2424,6 +2470,7 @@ export type ManagementProcedures = {
2424
2470
  items: Array<{
2425
2471
  id: string;
2426
2472
  name: string;
2473
+ displayName: Partial<Record<"en" | "ar", string>>;
2427
2474
  kind: "static" | "oauth2-client-credentials";
2428
2475
  secretName: string;
2429
2476
  tokenUrl: string | null;
@@ -2434,9 +2481,10 @@ export type ManagementProcedures = {
2434
2481
  usedBy: {
2435
2482
  count: number;
2436
2483
  preview: Array<{
2484
+ name: string;
2485
+ displayName: Partial<Record<"en" | "ar", string>>;
2437
2486
  kind: "credential" | "model_provider" | "server" | "agent" | "tool" | "trigger" | "dataset_host" | "webhook" | "mcp_server";
2438
2487
  id: string;
2439
- name: string;
2440
2488
  }>;
2441
2489
  };
2442
2490
  }>;
@@ -2446,16 +2494,20 @@ export type ManagementProcedures = {
2446
2494
  filteredCount: number;
2447
2495
  };
2448
2496
  };
2449
- /** Credential names in order, for a picker. `present`: what a tool, dataset host, webhook or trigger run may present upstream (every credential but a trigger's fire credential). `fire`: what a trigger may be fired with (static credentials). */
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). */
2450
2498
  "credentials.names": {
2451
2499
  input: {
2452
2500
  use: "present" | "fire";
2453
2501
  };
2454
- output: Array<string>;
2502
+ output: Array<{
2503
+ name: string;
2504
+ displayName: Partial<Record<"en" | "ar", string>>;
2505
+ }>;
2455
2506
  };
2456
- /** Change the secret a credential composes and, for an OAuth2 one, its token URL, client id and scope. Applies to the next call of every tool, dataset host and trigger naming it. Changing the secret or the token URL needs `secrets:write` too (`secret_binding_forbidden`): either sends a stored secret somewhere new. */
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. */
2457
2508
  "credentials.update": {
2458
2509
  input: {
2510
+ displayName: Partial<Record<"en" | "ar", string>>;
2459
2511
  kind: "static" | "oauth2-client-credentials";
2460
2512
  secretName: string;
2461
2513
  tokenUrl: string;
@@ -2466,6 +2518,7 @@ export type ManagementProcedures = {
2466
2518
  output: {
2467
2519
  id: string;
2468
2520
  name: string;
2521
+ displayName: Partial<Record<"en" | "ar", string>>;
2469
2522
  kind: "static" | "oauth2-client-credentials";
2470
2523
  secretName: string;
2471
2524
  tokenUrl: string | null;
@@ -2480,6 +2533,7 @@ export type ManagementProcedures = {
2480
2533
  input: {
2481
2534
  name: string;
2482
2535
  url: string;
2536
+ displayName: Partial<Record<"en" | "ar", string>>;
2483
2537
  audience: {
2484
2538
  kind: "all";
2485
2539
  } | {
@@ -2525,6 +2579,7 @@ export type ManagementProcedures = {
2525
2579
  agentIds: Array<string>;
2526
2580
  };
2527
2581
  name: string;
2582
+ displayName: Partial<Record<"en" | "ar", string>>;
2528
2583
  url: string;
2529
2584
  headers: string | number | boolean | null | Record<string, unknown> | Array<unknown>;
2530
2585
  timeoutMs: number;
@@ -2563,9 +2618,10 @@ export type ManagementProcedures = {
2563
2618
  revision: number;
2564
2619
  updatedAt: string;
2565
2620
  referrers: Array<{
2621
+ name: string;
2622
+ displayName: Partial<Record<"en" | "ar", string>>;
2566
2623
  kind: "agent_prompt" | "service" | "skill" | "trigger" | "knowledge_collection";
2567
2624
  id: string;
2568
- name: string;
2569
2625
  readers: {
2570
2626
  kind: "all";
2571
2627
  } | {
@@ -2576,7 +2632,6 @@ export type ManagementProcedures = {
2576
2632
  agentIds: Array<string>;
2577
2633
  };
2578
2634
  }>;
2579
- nameLocked: boolean;
2580
2635
  variables: Array<{
2581
2636
  name: string;
2582
2637
  description: string;
@@ -2606,6 +2661,7 @@ export type ManagementProcedures = {
2606
2661
  manifestVersion: string | null;
2607
2662
  syncedAt: string | null;
2608
2663
  expose: Array<string>;
2664
+ displayName: Partial<Record<"en" | "ar", string>>;
2609
2665
  source: "direct" | "manifest" | "server";
2610
2666
  sourceId: string | null;
2611
2667
  overridable: Array<string>;
@@ -2741,7 +2797,6 @@ export type ManagementProcedures = {
2741
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. */
2742
2798
  "datasetHosts.update": {
2743
2799
  input: {
2744
- name: string;
2745
2800
  url: string;
2746
2801
  headers: Array<{
2747
2802
  header: string;
@@ -2771,6 +2826,7 @@ export type ManagementProcedures = {
2771
2826
  expose: Array<string>;
2772
2827
  pinned: Array<string>;
2773
2828
  id: string;
2829
+ displayName: Partial<Record<"en" | "ar", string>>;
2774
2830
  };
2775
2831
  output: {
2776
2832
  id: string;
@@ -2915,7 +2971,7 @@ export type ManagementProcedures = {
2915
2971
  updatedAt: string;
2916
2972
  };
2917
2973
  };
2918
- /** 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. */
2919
2975
  "managementKeys.list": {
2920
2976
  input: {
2921
2977
  pageIndex?: number;
@@ -2926,6 +2982,7 @@ export type ManagementProcedures = {
2926
2982
  items: Array<{
2927
2983
  id: string;
2928
2984
  name: string;
2985
+ displayName: Partial<Record<"en" | "ar", string>>;
2929
2986
  fingerprint: string;
2930
2987
  permissions: Array<string> | null;
2931
2988
  lastUsedAt: string | null;
@@ -2938,12 +2995,13 @@ export type ManagementProcedures = {
2938
2995
  filteredCount: number;
2939
2996
  };
2940
2997
  };
2941
- /** 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. */
2942
2999
  "managementKeys.mine": {
2943
3000
  input: undefined;
2944
3001
  output: {
2945
3002
  id: string;
2946
3003
  name: string;
3004
+ displayName: Partial<Record<"en" | "ar", string>>;
2947
3005
  fingerprint: string;
2948
3006
  permissions: Array<string> | null;
2949
3007
  lastUsedAt: string | null;
@@ -2956,8 +3014,8 @@ export type ManagementProcedures = {
2956
3014
  input: {
2957
3015
  id: string;
2958
3016
  agents?: Array<{
2959
- slug: string;
2960
3017
  name: string;
3018
+ displayName?: Partial<Record<"en" | "ar", string>>;
2961
3019
  server?: string;
2962
3020
  prompt: string;
2963
3021
  auth: {
@@ -3034,11 +3092,12 @@ export type ManagementProcedures = {
3034
3092
  prompt: string;
3035
3093
  }>>;
3036
3094
  greeting?: Record<"en" | "ar", string>;
3037
- overridable?: Array<"name" | "prompt" | "models" | "settings" | "rateLimits" | "suggestions" | "greeting">;
3095
+ overridable?: Array<"displayName" | "prompt" | "models" | "settings" | "rateLimits" | "suggestions" | "greeting">;
3038
3096
  }>;
3039
3097
  tools?: Array<{
3040
3098
  name: string;
3041
3099
  description: string;
3100
+ displayName?: Partial<Record<"en" | "ar", string>>;
3042
3101
  inputSchema?: {
3043
3102
  type: "object";
3044
3103
  properties?: Record<string, ManifestsPreviewSchema0>;
@@ -3069,7 +3128,7 @@ export type ManagementProcedures = {
3069
3128
  } | {
3070
3129
  agents: Array<string>;
3071
3130
  };
3072
- overridable?: Array<"description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3131
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3073
3132
  url: string;
3074
3133
  headers?: Array<{
3075
3134
  header: string;
@@ -3097,6 +3156,7 @@ export type ManagementProcedures = {
3097
3156
  } | {
3098
3157
  name: string;
3099
3158
  description: string;
3159
+ displayName?: Partial<Record<"en" | "ar", string>>;
3100
3160
  inputSchema?: {
3101
3161
  type: "object";
3102
3162
  properties?: Record<string, ManifestsPreviewSchema0>;
@@ -3127,7 +3187,7 @@ export type ManagementProcedures = {
3127
3187
  } | {
3128
3188
  agents: Array<string>;
3129
3189
  };
3130
- overridable?: Array<"description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3190
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3131
3191
  url: string;
3132
3192
  headers?: Array<{
3133
3193
  header: string;
@@ -3152,6 +3212,7 @@ export type ManagementProcedures = {
3152
3212
  } | {
3153
3213
  name: string;
3154
3214
  description: string;
3215
+ displayName?: Partial<Record<"en" | "ar", string>>;
3155
3216
  inputSchema?: {
3156
3217
  type: "object";
3157
3218
  properties?: Record<string, ManifestsPreviewSchema0>;
@@ -3182,7 +3243,7 @@ export type ManagementProcedures = {
3182
3243
  } | {
3183
3244
  agents: Array<string>;
3184
3245
  };
3185
- overridable?: Array<"description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3246
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3186
3247
  url: string;
3187
3248
  headers?: Array<{
3188
3249
  header: string;
@@ -3214,6 +3275,7 @@ export type ManagementProcedures = {
3214
3275
  } | {
3215
3276
  name: string;
3216
3277
  description: string;
3278
+ displayName?: Partial<Record<"en" | "ar", string>>;
3217
3279
  inputSchema?: {
3218
3280
  type: "object";
3219
3281
  properties?: Record<string, ManifestsPreviewSchema0>;
@@ -3244,7 +3306,7 @@ export type ManagementProcedures = {
3244
3306
  } | {
3245
3307
  agents: Array<string>;
3246
3308
  };
3247
- overridable?: Array<"description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags">;
3309
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags">;
3248
3310
  type: "client";
3249
3311
  }>;
3250
3312
  openapi?: Array<{
@@ -3277,21 +3339,22 @@ export type ManagementProcedures = {
3277
3339
  } | {
3278
3340
  agents: Array<string>;
3279
3341
  };
3280
- overridable?: Array<"description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3342
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3281
3343
  }>;
3282
3344
  services?: Array<{
3283
- key: string;
3284
- name: Record<"en" | "ar", string>;
3345
+ name: string;
3346
+ displayName?: Partial<Record<"en" | "ar", string>>;
3285
3347
  description: Record<"en" | "ar", string>;
3286
3348
  audience: "all" | {
3287
3349
  server: string;
3288
3350
  } | {
3289
3351
  agents: Array<string>;
3290
3352
  };
3291
- overridable?: Array<"description">;
3353
+ overridable?: Array<"displayName" | "description">;
3292
3354
  }>;
3293
3355
  skills?: Array<{
3294
3356
  name: string;
3357
+ displayName?: Partial<Record<"en" | "ar", string>>;
3295
3358
  description: string;
3296
3359
  body: string;
3297
3360
  service?: string;
@@ -3300,10 +3363,11 @@ export type ManagementProcedures = {
3300
3363
  } | {
3301
3364
  agents: Array<string>;
3302
3365
  };
3303
- overridable?: Array<"description" | "body">;
3366
+ overridable?: Array<"displayName" | "description" | "body">;
3304
3367
  }>;
3305
3368
  triggers?: Array<{
3306
3369
  name: string;
3370
+ displayName?: Partial<Record<"en" | "ar", string>>;
3307
3371
  description: string;
3308
3372
  inputSchema?: {
3309
3373
  type: "object";
@@ -3342,10 +3406,11 @@ export type ManagementProcedures = {
3342
3406
  } | {
3343
3407
  agents: Array<string>;
3344
3408
  };
3345
- overridable?: Array<"description" | "instructions" | "threadPolicy" | "budgetPerDay" | "disableAfterFailures" | "model">;
3409
+ overridable?: Array<"displayName" | "description" | "instructions" | "threadPolicy" | "budgetPerDay" | "disableAfterFailures" | "model">;
3346
3410
  }>;
3347
3411
  datasetHosts?: Array<{
3348
3412
  name: string;
3413
+ displayName?: Partial<Record<"en" | "ar", string>>;
3349
3414
  url: string;
3350
3415
  headers?: Array<{
3351
3416
  header: string;
@@ -3379,10 +3444,11 @@ export type ManagementProcedures = {
3379
3444
  } | {
3380
3445
  agents: Array<string>;
3381
3446
  };
3382
- overridable?: Array<"timeoutMs" | "rateLimits" | "headers">;
3447
+ overridable?: Array<"displayName" | "timeoutMs" | "rateLimits" | "headers">;
3383
3448
  }>;
3384
3449
  mcpServers?: Array<{
3385
3450
  name: string;
3451
+ displayName?: Partial<Record<"en" | "ar", string>>;
3386
3452
  url: string;
3387
3453
  headers?: Array<{
3388
3454
  header: string;
@@ -3407,10 +3473,11 @@ export type ManagementProcedures = {
3407
3473
  } | {
3408
3474
  agents: Array<string>;
3409
3475
  };
3410
- overridable?: Array<"include" | "exclude" | "headers">;
3476
+ overridable?: Array<"displayName" | "include" | "exclude" | "headers">;
3411
3477
  }>;
3412
3478
  webhooks?: Array<{
3413
3479
  name: string;
3480
+ displayName?: Partial<Record<"en" | "ar", string>>;
3414
3481
  description?: string;
3415
3482
  event: "approval_requested";
3416
3483
  url: string;
@@ -3431,10 +3498,11 @@ export type ManagementProcedures = {
3431
3498
  } | {
3432
3499
  agents: Array<string>;
3433
3500
  };
3434
- overridable?: Array<"description" | "timeoutMs" | "headers">;
3501
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "headers">;
3435
3502
  }>;
3436
3503
  collections?: Array<{
3437
3504
  name: string;
3505
+ displayName?: Partial<Record<"en" | "ar", string>>;
3438
3506
  description?: string;
3439
3507
  service?: string;
3440
3508
  citable?: boolean;
@@ -3453,7 +3521,7 @@ export type ManagementProcedures = {
3453
3521
  } | {
3454
3522
  agents: Array<string>;
3455
3523
  };
3456
- overridable?: Array<"description" | "documents">;
3524
+ overridable?: Array<"displayName" | "description" | "documents">;
3457
3525
  }>;
3458
3526
  prefer?: "live" | "manifest";
3459
3527
  resolutions?: Array<{
@@ -3481,8 +3549,8 @@ export type ManagementProcedures = {
3481
3549
  input: {
3482
3550
  id: string;
3483
3551
  agents?: Array<{
3484
- slug: string;
3485
3552
  name: string;
3553
+ displayName?: Partial<Record<"en" | "ar", string>>;
3486
3554
  server?: string;
3487
3555
  prompt: string;
3488
3556
  auth: {
@@ -3559,11 +3627,12 @@ export type ManagementProcedures = {
3559
3627
  prompt: string;
3560
3628
  }>>;
3561
3629
  greeting?: Record<"en" | "ar", string>;
3562
- overridable?: Array<"name" | "prompt" | "models" | "settings" | "rateLimits" | "suggestions" | "greeting">;
3630
+ overridable?: Array<"displayName" | "prompt" | "models" | "settings" | "rateLimits" | "suggestions" | "greeting">;
3563
3631
  }>;
3564
3632
  tools?: Array<{
3565
3633
  name: string;
3566
3634
  description: string;
3635
+ displayName?: Partial<Record<"en" | "ar", string>>;
3567
3636
  inputSchema?: {
3568
3637
  type: "object";
3569
3638
  properties?: Record<string, ManifestsSyncSchema0>;
@@ -3594,7 +3663,7 @@ export type ManagementProcedures = {
3594
3663
  } | {
3595
3664
  agents: Array<string>;
3596
3665
  };
3597
- overridable?: Array<"description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3666
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3598
3667
  url: string;
3599
3668
  headers?: Array<{
3600
3669
  header: string;
@@ -3622,6 +3691,7 @@ export type ManagementProcedures = {
3622
3691
  } | {
3623
3692
  name: string;
3624
3693
  description: string;
3694
+ displayName?: Partial<Record<"en" | "ar", string>>;
3625
3695
  inputSchema?: {
3626
3696
  type: "object";
3627
3697
  properties?: Record<string, ManifestsSyncSchema0>;
@@ -3652,7 +3722,7 @@ export type ManagementProcedures = {
3652
3722
  } | {
3653
3723
  agents: Array<string>;
3654
3724
  };
3655
- overridable?: Array<"description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3725
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3656
3726
  url: string;
3657
3727
  headers?: Array<{
3658
3728
  header: string;
@@ -3677,6 +3747,7 @@ export type ManagementProcedures = {
3677
3747
  } | {
3678
3748
  name: string;
3679
3749
  description: string;
3750
+ displayName?: Partial<Record<"en" | "ar", string>>;
3680
3751
  inputSchema?: {
3681
3752
  type: "object";
3682
3753
  properties?: Record<string, ManifestsSyncSchema0>;
@@ -3707,7 +3778,7 @@ export type ManagementProcedures = {
3707
3778
  } | {
3708
3779
  agents: Array<string>;
3709
3780
  };
3710
- overridable?: Array<"description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3781
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3711
3782
  url: string;
3712
3783
  headers?: Array<{
3713
3784
  header: string;
@@ -3739,6 +3810,7 @@ export type ManagementProcedures = {
3739
3810
  } | {
3740
3811
  name: string;
3741
3812
  description: string;
3813
+ displayName?: Partial<Record<"en" | "ar", string>>;
3742
3814
  inputSchema?: {
3743
3815
  type: "object";
3744
3816
  properties?: Record<string, ManifestsSyncSchema0>;
@@ -3769,7 +3841,7 @@ export type ManagementProcedures = {
3769
3841
  } | {
3770
3842
  agents: Array<string>;
3771
3843
  };
3772
- overridable?: Array<"description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags">;
3844
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags">;
3773
3845
  type: "client";
3774
3846
  }>;
3775
3847
  openapi?: Array<{
@@ -3802,21 +3874,22 @@ export type ManagementProcedures = {
3802
3874
  } | {
3803
3875
  agents: Array<string>;
3804
3876
  };
3805
- overridable?: Array<"description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3877
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "maxResponseBytes" | "rateLimits" | "pinned" | "tags" | "headers">;
3806
3878
  }>;
3807
3879
  services?: Array<{
3808
- key: string;
3809
- name: Record<"en" | "ar", string>;
3880
+ name: string;
3881
+ displayName?: Partial<Record<"en" | "ar", string>>;
3810
3882
  description: Record<"en" | "ar", string>;
3811
3883
  audience: "all" | {
3812
3884
  server: string;
3813
3885
  } | {
3814
3886
  agents: Array<string>;
3815
3887
  };
3816
- overridable?: Array<"description">;
3888
+ overridable?: Array<"displayName" | "description">;
3817
3889
  }>;
3818
3890
  skills?: Array<{
3819
3891
  name: string;
3892
+ displayName?: Partial<Record<"en" | "ar", string>>;
3820
3893
  description: string;
3821
3894
  body: string;
3822
3895
  service?: string;
@@ -3825,10 +3898,11 @@ export type ManagementProcedures = {
3825
3898
  } | {
3826
3899
  agents: Array<string>;
3827
3900
  };
3828
- overridable?: Array<"description" | "body">;
3901
+ overridable?: Array<"displayName" | "description" | "body">;
3829
3902
  }>;
3830
3903
  triggers?: Array<{
3831
3904
  name: string;
3905
+ displayName?: Partial<Record<"en" | "ar", string>>;
3832
3906
  description: string;
3833
3907
  inputSchema?: {
3834
3908
  type: "object";
@@ -3867,10 +3941,11 @@ export type ManagementProcedures = {
3867
3941
  } | {
3868
3942
  agents: Array<string>;
3869
3943
  };
3870
- overridable?: Array<"description" | "instructions" | "threadPolicy" | "budgetPerDay" | "disableAfterFailures" | "model">;
3944
+ overridable?: Array<"displayName" | "description" | "instructions" | "threadPolicy" | "budgetPerDay" | "disableAfterFailures" | "model">;
3871
3945
  }>;
3872
3946
  datasetHosts?: Array<{
3873
3947
  name: string;
3948
+ displayName?: Partial<Record<"en" | "ar", string>>;
3874
3949
  url: string;
3875
3950
  headers?: Array<{
3876
3951
  header: string;
@@ -3904,10 +3979,11 @@ export type ManagementProcedures = {
3904
3979
  } | {
3905
3980
  agents: Array<string>;
3906
3981
  };
3907
- overridable?: Array<"timeoutMs" | "rateLimits" | "headers">;
3982
+ overridable?: Array<"displayName" | "timeoutMs" | "rateLimits" | "headers">;
3908
3983
  }>;
3909
3984
  mcpServers?: Array<{
3910
3985
  name: string;
3986
+ displayName?: Partial<Record<"en" | "ar", string>>;
3911
3987
  url: string;
3912
3988
  headers?: Array<{
3913
3989
  header: string;
@@ -3932,10 +4008,11 @@ export type ManagementProcedures = {
3932
4008
  } | {
3933
4009
  agents: Array<string>;
3934
4010
  };
3935
- overridable?: Array<"include" | "exclude" | "headers">;
4011
+ overridable?: Array<"displayName" | "include" | "exclude" | "headers">;
3936
4012
  }>;
3937
4013
  webhooks?: Array<{
3938
4014
  name: string;
4015
+ displayName?: Partial<Record<"en" | "ar", string>>;
3939
4016
  description?: string;
3940
4017
  event: "approval_requested";
3941
4018
  url: string;
@@ -3956,10 +4033,11 @@ export type ManagementProcedures = {
3956
4033
  } | {
3957
4034
  agents: Array<string>;
3958
4035
  };
3959
- overridable?: Array<"description" | "timeoutMs" | "headers">;
4036
+ overridable?: Array<"displayName" | "description" | "timeoutMs" | "headers">;
3960
4037
  }>;
3961
4038
  collections?: Array<{
3962
4039
  name: string;
4040
+ displayName?: Partial<Record<"en" | "ar", string>>;
3963
4041
  description?: string;
3964
4042
  service?: string;
3965
4043
  citable?: boolean;
@@ -3978,7 +4056,7 @@ export type ManagementProcedures = {
3978
4056
  } | {
3979
4057
  agents: Array<string>;
3980
4058
  };
3981
- overridable?: Array<"description" | "documents">;
4059
+ overridable?: Array<"displayName" | "description" | "documents">;
3982
4060
  }>;
3983
4061
  prefer?: "live" | "manifest";
3984
4062
  resolutions?: Array<{
@@ -4001,6 +4079,7 @@ export type ManagementProcedures = {
4001
4079
  input: {
4002
4080
  name: string;
4003
4081
  url: string;
4082
+ displayName: Partial<Record<"en" | "ar", string>>;
4004
4083
  audience: {
4005
4084
  kind: "all";
4006
4085
  } | {
@@ -4046,6 +4125,7 @@ export type ManagementProcedures = {
4046
4125
  agentIds: Array<string>;
4047
4126
  };
4048
4127
  name: string;
4128
+ displayName: Partial<Record<"en" | "ar", string>>;
4049
4129
  url: string;
4050
4130
  headers: Array<{
4051
4131
  header: string;
@@ -4068,9 +4148,10 @@ export type ManagementProcedures = {
4068
4148
  status: "draft" | "published" | "disabled";
4069
4149
  updatedAt: string;
4070
4150
  referrers: Array<{
4151
+ name: string;
4152
+ displayName: Partial<Record<"en" | "ar", string>>;
4071
4153
  kind: "agent_prompt" | "service" | "skill" | "trigger" | "knowledge_collection";
4072
4154
  id: string;
4073
- name: string;
4074
4155
  readers: {
4075
4156
  kind: "all";
4076
4157
  } | {
@@ -4081,7 +4162,6 @@ export type ManagementProcedures = {
4081
4162
  agentIds: Array<string>;
4082
4163
  };
4083
4164
  }>;
4084
- nameLocked: boolean;
4085
4165
  variables: Array<{
4086
4166
  name: string;
4087
4167
  description: string;
@@ -4107,6 +4187,7 @@ export type ManagementProcedures = {
4107
4187
  name: string;
4108
4188
  url: string;
4109
4189
  status: "draft" | "published" | "disabled";
4190
+ displayName: Partial<Record<"en" | "ar", string>>;
4110
4191
  source: "direct" | "manifest" | "server";
4111
4192
  sourceId: string | null;
4112
4193
  overridable: Array<string>;
@@ -4217,10 +4298,9 @@ export type ManagementProcedures = {
4217
4298
  unchanged: boolean;
4218
4299
  };
4219
4300
  };
4220
- /** Update an MCP server's draft: its name (until first published) and which of its tools agents may call (`include`, empty for every tool, and `exclude`, tool names as the server spells them). Saved as a draft; call publish to make it live. The url and headers (each with a prefix and its value from a credential, the run token, a variable or a constant) apply live without a publish. */
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. */
4221
4302
  "mcpServers.update": {
4222
4303
  input: {
4223
- name: string;
4224
4304
  url: string;
4225
4305
  headers: Array<{
4226
4306
  header: string;
@@ -4241,24 +4321,28 @@ export type ManagementProcedures = {
4241
4321
  include: Array<string>;
4242
4322
  exclude: Array<string>;
4243
4323
  id: string;
4324
+ displayName: Partial<Record<"en" | "ar", string>>;
4244
4325
  };
4245
4326
  output: {
4246
4327
  id: string;
4247
4328
  name: string;
4248
4329
  };
4249
4330
  };
4250
- /** Create a model provider: an OpenAI-compatible `baseUrl` (https, or http on loopback or on a host `EGRESS_ALLOWED_HOSTS` admits), the secret holding its key, the model ids it offers, and the values it accepts as `reasoning_effort`. Its name never changes. Needs `secrets:write` too: every model call sends the key to `baseUrl`. */
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`. */
4251
4332
  "modelProviders.create": {
4252
4333
  input: {
4334
+ displayName: Partial<Record<"en" | "ar", string>>;
4253
4335
  baseUrl: string;
4254
4336
  secretName: string;
4255
4337
  models: Array<string>;
4256
4338
  efforts: Array<string>;
4339
+ /** A name: lowercase letters, digits, and single hyphens. */
4257
4340
  name: string;
4258
4341
  };
4259
4342
  output: {
4260
4343
  id: string;
4261
4344
  name: string;
4345
+ displayName: Partial<Record<"en" | "ar", string>>;
4262
4346
  baseUrl: string;
4263
4347
  secretName: string;
4264
4348
  models: string | number | boolean | null | Record<string, unknown> | Array<unknown>;
@@ -4275,6 +4359,7 @@ export type ManagementProcedures = {
4275
4359
  output: {
4276
4360
  id: string;
4277
4361
  name: string;
4362
+ displayName: Partial<Record<"en" | "ar", string>>;
4278
4363
  baseUrl: string;
4279
4364
  secretName: string;
4280
4365
  models: string | number | boolean | null | Record<string, unknown> | Array<unknown>;
@@ -4305,6 +4390,7 @@ export type ManagementProcedures = {
4305
4390
  items: Array<{
4306
4391
  id: string;
4307
4392
  name: string;
4393
+ displayName: Partial<Record<"en" | "ar", string>>;
4308
4394
  baseUrl: string;
4309
4395
  secretName: string;
4310
4396
  models: string | number | boolean | null | Record<string, unknown> | Array<unknown>;
@@ -4314,9 +4400,10 @@ export type ManagementProcedures = {
4314
4400
  usedBy: {
4315
4401
  count: number;
4316
4402
  preview: Array<{
4403
+ name: string;
4404
+ displayName: Partial<Record<"en" | "ar", string>>;
4317
4405
  kind: "credential" | "model_provider" | "server" | "agent" | "tool" | "trigger" | "dataset_host" | "webhook" | "mcp_server";
4318
4406
  id: string;
4319
- name: string;
4320
4407
  }>;
4321
4408
  };
4322
4409
  }>;
@@ -4326,18 +4413,20 @@ export type ManagementProcedures = {
4326
4413
  filteredCount: number;
4327
4414
  };
4328
4415
  };
4329
- /** 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. */
4330
4417
  "modelProviders.options": {
4331
4418
  input: undefined;
4332
4419
  output: Array<{
4333
4420
  name: string;
4421
+ displayName: Partial<Record<"en" | "ar", string>>;
4334
4422
  models: string | number | boolean | null | Record<string, unknown> | Array<unknown>;
4335
4423
  efforts: string | number | boolean | null | Record<string, unknown> | Array<unknown>;
4336
4424
  }>;
4337
4425
  };
4338
- /** Change a model provider's URL, key secret, models and efforts. Refused with `in_use` while a server, agent or trigger picks a model or effort it would drop. Changing the URL or the key secret needs `secrets:write` too (`secret_binding_forbidden`): either sends a stored secret somewhere new. Applies from each agent's next turn. */
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. */
4339
4427
  "modelProviders.update": {
4340
4428
  input: {
4429
+ displayName: Partial<Record<"en" | "ar", string>>;
4341
4430
  baseUrl: string;
4342
4431
  secretName: string;
4343
4432
  models: Array<string>;
@@ -4347,6 +4436,7 @@ export type ManagementProcedures = {
4347
4436
  output: {
4348
4437
  id: string;
4349
4438
  name: string;
4439
+ displayName: Partial<Record<"en" | "ar", string>>;
4350
4440
  baseUrl: string;
4351
4441
  secretName: string;
4352
4442
  models: string | number | boolean | null | Record<string, unknown> | Array<unknown>;
@@ -4369,7 +4459,10 @@ export type ManagementProcedures = {
4369
4459
  callerId: string | null;
4370
4460
  toolName: string;
4371
4461
  createdAt: string;
4372
- agentName: string;
4462
+ agent: {
4463
+ name: string;
4464
+ displayName: Partial<Record<"en" | "ar", string>>;
4465
+ };
4373
4466
  triggerName: string | null;
4374
4467
  threadId: string | null;
4375
4468
  threadTitle: string | null;
@@ -4405,7 +4498,8 @@ export type ManagementProcedures = {
4405
4498
  entityType: "knowledge" | "service" | "tool";
4406
4499
  entityId: string;
4407
4500
  collectionId: string | null;
4408
- name: Record<"en" | "ar", string>;
4501
+ name: string;
4502
+ displayName: Partial<Record<"en" | "ar", string>>;
4409
4503
  resolutionCount: number;
4410
4504
  }>;
4411
4505
  broadTools: Array<{
@@ -4417,13 +4511,19 @@ export type ManagementProcedures = {
4417
4511
  missingQueries: Array<{
4418
4512
  queryHash: string;
4419
4513
  agentId: string;
4420
- agentName: string;
4514
+ agent: {
4515
+ name: string;
4516
+ displayName: Partial<Record<"en" | "ar", string>>;
4517
+ };
4421
4518
  searchCount: number;
4422
4519
  lastSearchedAt: string;
4423
4520
  }>;
4424
4521
  hitRates: Array<{
4425
4522
  agentId: string;
4426
- agentName: string;
4523
+ agent: {
4524
+ name: string;
4525
+ displayName: Partial<Record<"en" | "ar", string>>;
4526
+ };
4427
4527
  retrievalCount: number;
4428
4528
  hitCount: number;
4429
4529
  hitRate: number;
@@ -4442,9 +4542,14 @@ export type ManagementProcedures = {
4442
4542
  outcome: "started" | "awaiting_approval" | "completed" | "failed" | "rejected" | "dropped";
4443
4543
  reason: "busy" | "approval_pending" | "budget" | "rate_limited" | "invalid_payload" | "missing_thread_key" | "no_turn" | "no_output" | "invalid_output" | null;
4444
4544
  output: unknown;
4445
- serverName: string | null;
4446
- agentSlug: string;
4447
- 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
+ };
4448
4553
  threadTitle: string | null;
4449
4554
  createdAt: string;
4450
4555
  finishedAt: string | null;
@@ -4479,7 +4584,10 @@ export type ManagementProcedures = {
4479
4584
  };
4480
4585
  perUser: Array<{
4481
4586
  scopeId: string;
4482
- scopeName: string;
4587
+ scope: {
4588
+ name: string;
4589
+ displayName: Partial<Record<"en" | "ar", string>>;
4590
+ };
4483
4591
  userId: string;
4484
4592
  triggerName: string | null;
4485
4593
  threads: number;
@@ -4492,11 +4600,17 @@ export type ManagementProcedures = {
4492
4600
  }>;
4493
4601
  perServer: Array<{
4494
4602
  serverId: string | null;
4495
- serverName: string | null;
4603
+ server: {
4604
+ name: string;
4605
+ displayName: Partial<Record<"en" | "ar", string>>;
4606
+ } | null;
4496
4607
  totalTokens: number;
4497
4608
  }>;
4498
4609
  perAgent: Array<{
4499
- agentSlug: string;
4610
+ agent: {
4611
+ name: string;
4612
+ displayName: Partial<Record<"en" | "ar", string>>;
4613
+ };
4500
4614
  totalTokens: number;
4501
4615
  }>;
4502
4616
  perDay: Array<{
@@ -4530,9 +4644,14 @@ export type ManagementProcedures = {
4530
4644
  detail: string | null;
4531
4645
  threadId: string;
4532
4646
  createdAt: string;
4533
- serverName: string | null;
4534
- agentSlug: string;
4535
- 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
+ };
4536
4655
  threadTitle: string | null;
4537
4656
  }>;
4538
4657
  /** Every row the caller may see, ignoring the search and filters. */
@@ -4565,7 +4684,10 @@ export type ManagementProcedures = {
4565
4684
  callerId: string | null;
4566
4685
  toolName: string;
4567
4686
  createdAt: string;
4568
- agentName: string;
4687
+ agent: {
4688
+ name: string;
4689
+ displayName: Partial<Record<"en" | "ar", string>>;
4690
+ };
4569
4691
  triggerName: string | null;
4570
4692
  }>;
4571
4693
  /** Every row the caller may see, ignoring the search and filters. */
@@ -4635,7 +4757,10 @@ export type ManagementProcedures = {
4635
4757
  output: {
4636
4758
  items: Array<{
4637
4759
  agentId: string;
4638
- agentName: string;
4760
+ agent: {
4761
+ name: string;
4762
+ displayName: Partial<Record<"en" | "ar", string>>;
4763
+ };
4639
4764
  skillName: string;
4640
4765
  misses: number;
4641
4766
  lastSeenAt: string | null;
@@ -4712,9 +4837,14 @@ export type ManagementProcedures = {
4712
4837
  outcome: "started" | "awaiting_approval" | "completed" | "failed" | "rejected" | "dropped";
4713
4838
  reason: "busy" | "approval_pending" | "budget" | "rate_limited" | "invalid_payload" | "missing_thread_key" | "no_turn" | "no_output" | "invalid_output" | null;
4714
4839
  output: unknown;
4715
- serverName: string | null;
4716
- agentSlug: string;
4717
- 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
+ };
4718
4848
  threadTitle: string | null;
4719
4849
  createdAt: string;
4720
4850
  finishedAt: string | null;
@@ -4759,9 +4889,10 @@ export type ManagementProcedures = {
4759
4889
  agentId: string;
4760
4890
  };
4761
4891
  output: Array<{
4892
+ name: string;
4893
+ displayName: Partial<Record<"en" | "ar", string>>;
4762
4894
  kind: "tool" | "service" | "skill" | "trigger" | "dataset_host" | "mcp_server" | "webhook" | "knowledge_collection";
4763
4895
  id: string;
4764
- name: string;
4765
4896
  }>;
4766
4897
  };
4767
4898
  /** Publication history of an entity with pagination. */
@@ -4868,11 +4999,12 @@ export type ManagementProcedures = {
4868
4999
  output: {
4869
5000
  id: string;
4870
5001
  name: string;
5002
+ displayName: Partial<Record<"en" | "ar", string>>;
4871
5003
  createdAt: string;
4872
5004
  updatedAt: string;
4873
5005
  };
4874
5006
  };
4875
- /** List secret names and dates with pagination and search, each with how many rows name it and the first few (`usedBy`); values are never returned. */
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. */
4876
5008
  "secrets.list": {
4877
5009
  input: {
4878
5010
  pageIndex?: number;
@@ -4883,14 +5015,16 @@ export type ManagementProcedures = {
4883
5015
  items: Array<{
4884
5016
  id: string;
4885
5017
  name: string;
5018
+ displayName: Partial<Record<"en" | "ar", string>>;
4886
5019
  createdAt: string;
4887
5020
  updatedAt: string;
4888
5021
  usedBy: {
4889
5022
  count: number;
4890
5023
  preview: Array<{
5024
+ name: string;
5025
+ displayName: Partial<Record<"en" | "ar", string>>;
4891
5026
  kind: "credential" | "model_provider" | "server" | "agent" | "tool" | "trigger" | "dataset_host" | "webhook" | "mcp_server";
4892
5027
  id: string;
4893
- name: string;
4894
5028
  }>;
4895
5029
  };
4896
5030
  }>;
@@ -4900,10 +5034,13 @@ export type ManagementProcedures = {
4900
5034
  filteredCount: number;
4901
5035
  };
4902
5036
  };
4903
- /** Every secret name in order, for a picker. */
5037
+ /** Every secret's name and display name, in name order, for a picker. */
4904
5038
  "secrets.names": {
4905
5039
  input: undefined;
4906
- output: Array<string>;
5040
+ output: Array<{
5041
+ name: string;
5042
+ displayName: Partial<Record<"en" | "ar", string>>;
5043
+ }>;
4907
5044
  };
4908
5045
  /** Replace a secret's value in place. */
4909
5046
  "secrets.rotate": {
@@ -4914,27 +5051,45 @@ export type ManagementProcedures = {
4914
5051
  output: {
4915
5052
  id: string;
4916
5053
  name: string;
5054
+ displayName: Partial<Record<"en" | "ar", string>>;
4917
5055
  createdAt: string;
4918
5056
  updatedAt: string;
4919
5057
  };
4920
5058
  };
4921
- /** 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. */
4922
5060
  "secrets.set": {
4923
5061
  input: {
5062
+ /** A name: lowercase letters, digits, and single hyphens. */
4924
5063
  name: string;
5064
+ displayName: Partial<Record<"en" | "ar", string>>;
4925
5065
  value: string;
4926
5066
  };
4927
5067
  output: {
4928
5068
  id: string;
4929
5069
  name: string;
5070
+ displayName: Partial<Record<"en" | "ar", string>>;
4930
5071
  createdAt: string;
4931
5072
  updatedAt: string;
4932
5073
  };
4933
5074
  };
4934
- /** Register a server by name, with the URL it serves the server protocol at, the secret holding its key, optionally the model its agents run on by default, and how often Cortex may check callers with it: `signInChecksPerMinute` (new end-user tokens it verifies) and `triggerChecksPerMinute` (trigger secrets). Its manifest is read at once; a failed read is the row's `syncError` and does not fail the registration. */
4935
- "servers.create": {
5075
+ /** Set a secret's display name, a text per locale. Its name and value stay; `secrets.rotate` replaces the value. */
5076
+ "secrets.update": {
4936
5077
  input: {
5078
+ id: string;
5079
+ displayName: Partial<Record<"en" | "ar", string>>;
5080
+ };
5081
+ output: {
5082
+ id: string;
4937
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>>;
4938
5093
  description: string;
4939
5094
  url: string | "";
4940
5095
  keySecretName: string;
@@ -4943,10 +5098,13 @@ export type ManagementProcedures = {
4943
5098
  modelEffort: string | null;
4944
5099
  signInChecksPerMinute: number;
4945
5100
  triggerChecksPerMinute: number;
5101
+ /** A name: lowercase letters, digits, and single hyphens. */
5102
+ name: string;
4946
5103
  };
4947
5104
  output: {
4948
5105
  id: string;
4949
5106
  name: string;
5107
+ displayName: Partial<Record<"en" | "ar", string>>;
4950
5108
  description: string | null;
4951
5109
  url: string | null;
4952
5110
  keySecretName: string | null;
@@ -4960,6 +5118,7 @@ export type ManagementProcedures = {
4960
5118
  }>;
4961
5119
  tools: Array<{
4962
5120
  name: string;
5121
+ displayName?: Partial<Record<"en" | "ar", string>>;
4963
5122
  description: string;
4964
5123
  inputSchema: Record<string, unknown>;
4965
5124
  outputSchema?: Record<string, unknown>;
@@ -4991,6 +5150,7 @@ export type ManagementProcedures = {
4991
5150
  output: {
4992
5151
  id: string;
4993
5152
  name: string;
5153
+ displayName: Partial<Record<"en" | "ar", string>>;
4994
5154
  description: string | null;
4995
5155
  url: string | null;
4996
5156
  keySecretName: string | null;
@@ -5004,6 +5164,7 @@ export type ManagementProcedures = {
5004
5164
  }>;
5005
5165
  tools: Array<{
5006
5166
  name: string;
5167
+ displayName?: Partial<Record<"en" | "ar", string>>;
5007
5168
  description: string;
5008
5169
  inputSchema: Record<string, unknown>;
5009
5170
  outputSchema?: Record<string, unknown>;
@@ -5035,6 +5196,7 @@ export type ManagementProcedures = {
5035
5196
  output: {
5036
5197
  id: string;
5037
5198
  name: string;
5199
+ displayName: Partial<Record<"en" | "ar", string>>;
5038
5200
  description: string | null;
5039
5201
  url: string | null;
5040
5202
  keySecretName: string | null;
@@ -5056,9 +5218,10 @@ export type ManagementProcedures = {
5056
5218
  computed: boolean;
5057
5219
  }>;
5058
5220
  components: Array<{
5221
+ name: string;
5222
+ displayName: Partial<Record<"en" | "ar", string>>;
5059
5223
  kind: "tool" | "service" | "skill" | "trigger" | "dataset_host" | "mcp_server" | "webhook" | "knowledge_collection";
5060
5224
  id: string;
5061
- name: string;
5062
5225
  }>;
5063
5226
  };
5064
5227
  };
@@ -5074,6 +5237,7 @@ export type ManagementProcedures = {
5074
5237
  items: Array<{
5075
5238
  id: string;
5076
5239
  name: string;
5240
+ displayName: Partial<Record<"en" | "ar", string>>;
5077
5241
  description: string | null;
5078
5242
  url: string | null;
5079
5243
  keySecretName: string | null;
@@ -5089,7 +5253,7 @@ export type ManagementProcedures = {
5089
5253
  filteredCount: number;
5090
5254
  };
5091
5255
  };
5092
- /** Server id and name pairs for selectors. Cortex's own system server is left out unless `includeSystem` asks for it, as a filter over its threads does. */
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. */
5093
5257
  "servers.options": {
5094
5258
  input: {
5095
5259
  includeSystem?: boolean;
@@ -5097,6 +5261,7 @@ export type ManagementProcedures = {
5097
5261
  output: Array<{
5098
5262
  id: string;
5099
5263
  name: string;
5264
+ displayName: Partial<Record<"en" | "ar", string>>;
5100
5265
  }>;
5101
5266
  };
5102
5267
  /** Read the server's manifest now and apply its variables and native tools; a refused manifest leaves the previous one in place. */
@@ -5108,10 +5273,10 @@ export type ManagementProcedures = {
5108
5273
  syncedAt: string;
5109
5274
  };
5110
5275
  };
5111
- /** Rename a server, change its URL or key, set how often Cortex may check callers with it (`signInChecksPerMinute`, `triggerChecksPerMinute`; resend the current values to keep them), or pick the model its agents run on by default: `modelProvider` with one of its `modelName`s, and a `modelEffort` that provider lists; all null leaves each agent to pick its own. Refused as `model_not_offered` otherwise, and as `model_in_use` when an agent on the server picks an effort alone the new provider does not list, or is published with no model of its own and would be left without one. Clearing the URL or key drops what its manifest offered, refused as a sync dropping it all would be: `verify_in_use` while an agent's auth is the server's, `variable_in_use` or `still_referenced` while a published component reads a variable or calls a native tool it declared. A rename is refused as `manifest_in_use`, naming the `manifests`, while a manifest names the server by an agent on it or a component reaching it. A new URL or key has its manifest read at once, as on registration. */
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. */
5112
5277
  "servers.update": {
5113
5278
  input: {
5114
- name: string;
5279
+ displayName: Partial<Record<"en" | "ar", string>>;
5115
5280
  description: string;
5116
5281
  url: string | "";
5117
5282
  keySecretName: string;
@@ -5125,6 +5290,7 @@ export type ManagementProcedures = {
5125
5290
  output: {
5126
5291
  id: string;
5127
5292
  name: string;
5293
+ displayName: Partial<Record<"en" | "ar", string>>;
5128
5294
  description: string | null;
5129
5295
  url: string | null;
5130
5296
  keySecretName: string | null;
@@ -5138,6 +5304,7 @@ export type ManagementProcedures = {
5138
5304
  }>;
5139
5305
  tools: Array<{
5140
5306
  name: string;
5307
+ displayName?: Partial<Record<"en" | "ar", string>>;
5141
5308
  description: string;
5142
5309
  inputSchema: Record<string, unknown>;
5143
5310
  outputSchema?: Record<string, unknown>;
@@ -5164,9 +5331,9 @@ export type ManagementProcedures = {
5164
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. */
5165
5332
  "services.create": {
5166
5333
  input: {
5167
- /** A slug: lowercase letters, digits, and single hyphens. */
5168
- key: string;
5169
- name: Record<"en" | "ar", string>;
5334
+ /** A name: lowercase letters, digits, and single hyphens. */
5335
+ name: string;
5336
+ displayName: Partial<Record<"en" | "ar", string>>;
5170
5337
  audience: {
5171
5338
  kind: "all";
5172
5339
  } | {
@@ -5179,7 +5346,7 @@ export type ManagementProcedures = {
5179
5346
  };
5180
5347
  output: {
5181
5348
  id: string;
5182
- name: Record<"en" | "ar", string>;
5349
+ name: string;
5183
5350
  };
5184
5351
  };
5185
5352
  /** Delete a service; fails while tools reference it. */
@@ -5198,11 +5365,11 @@ export type ManagementProcedures = {
5198
5365
  };
5199
5366
  output: {
5200
5367
  id: string;
5201
- key: string;
5202
- name: Record<"en" | "ar", string>;
5368
+ name: string;
5203
5369
  description: Record<"en" | "ar", string>;
5204
5370
  status: "draft" | "published" | "disabled";
5205
5371
  updatedAt: string;
5372
+ displayName: Partial<Record<"en" | "ar", string>>;
5206
5373
  source: "direct" | "manifest" | "server";
5207
5374
  sourceId: string | null;
5208
5375
  overridable: Array<string>;
@@ -5216,9 +5383,10 @@ export type ManagementProcedures = {
5216
5383
  agentIds: Array<string>;
5217
5384
  };
5218
5385
  referrers: Array<{
5386
+ name: string;
5387
+ displayName: Partial<Record<"en" | "ar", string>>;
5219
5388
  kind: "agent_prompt" | "service" | "skill" | "trigger" | "knowledge_collection";
5220
5389
  id: string;
5221
- name: string;
5222
5390
  readers: {
5223
5391
  kind: "all";
5224
5392
  } | {
@@ -5237,7 +5405,6 @@ export type ManagementProcedures = {
5237
5405
  id: string;
5238
5406
  name: string;
5239
5407
  }>;
5240
- nameLocked: boolean;
5241
5408
  };
5242
5409
  };
5243
5410
  /** List services (upstream API groupings for tools) with pagination and search. */
@@ -5253,10 +5420,10 @@ export type ManagementProcedures = {
5253
5420
  output: {
5254
5421
  items: Array<{
5255
5422
  id: string;
5256
- key: string;
5257
- name: Record<"en" | "ar", string>;
5423
+ name: string;
5258
5424
  description: Record<"en" | "ar", string>;
5259
5425
  status: "draft" | "published" | "disabled";
5426
+ displayName: Partial<Record<"en" | "ar", string>>;
5260
5427
  source: "direct" | "manifest" | "server";
5261
5428
  sourceId: string | null;
5262
5429
  overridable: Array<string>;
@@ -5276,7 +5443,7 @@ export type ManagementProcedures = {
5276
5443
  filteredCount: number;
5277
5444
  };
5278
5445
  };
5279
- /** 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. */
5280
5447
  "services.options": {
5281
5448
  input: {
5282
5449
  audience: {
@@ -5291,8 +5458,8 @@ export type ManagementProcedures = {
5291
5458
  };
5292
5459
  output: Array<{
5293
5460
  id: string;
5294
- key: string;
5295
- name: Record<"en" | "ar", string>;
5461
+ name: string;
5462
+ displayName: Partial<Record<"en" | "ar", string>>;
5296
5463
  }>;
5297
5464
  };
5298
5465
  /** Publish the service's current draft. */
@@ -5373,15 +5540,13 @@ export type ManagementProcedures = {
5373
5540
  /** Update a service's draft. Saved as a draft; call the entity's publish procedure to make it live. */
5374
5541
  "services.update": {
5375
5542
  input: {
5376
- /** A slug: lowercase letters, digits, and single hyphens. */
5377
- key: string;
5378
- name: Record<"en" | "ar", string>;
5543
+ displayName: Partial<Record<"en" | "ar", string>>;
5379
5544
  description: Record<"en" | "ar", string>;
5380
5545
  id: string;
5381
5546
  };
5382
5547
  output: {
5383
5548
  id: string;
5384
- name: Record<"en" | "ar", string>;
5549
+ name: string;
5385
5550
  };
5386
5551
  };
5387
5552
  /** Deployment settings: log and thread retention. */
@@ -5413,8 +5578,9 @@ export type ManagementProcedures = {
5413
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. */
5414
5579
  "skills.create": {
5415
5580
  input: {
5416
- /** A slug: lowercase letters, digits, and single hyphens. */
5581
+ /** A name: lowercase letters, digits, and single hyphens. */
5417
5582
  name: string;
5583
+ displayName: Partial<Record<"en" | "ar", string>>;
5418
5584
  audience: {
5419
5585
  kind: "all";
5420
5586
  } | {
@@ -5453,6 +5619,7 @@ export type ManagementProcedures = {
5453
5619
  body: string;
5454
5620
  status: "draft" | "published" | "disabled";
5455
5621
  updatedAt: string;
5622
+ displayName: Partial<Record<"en" | "ar", string>>;
5456
5623
  source: "direct" | "manifest" | "server";
5457
5624
  sourceId: string | null;
5458
5625
  overridable: Array<string>;
@@ -5466,9 +5633,10 @@ export type ManagementProcedures = {
5466
5633
  agentIds: Array<string>;
5467
5634
  };
5468
5635
  referrers: Array<{
5636
+ name: string;
5637
+ displayName: Partial<Record<"en" | "ar", string>>;
5469
5638
  kind: "agent_prompt" | "service" | "skill" | "trigger" | "knowledge_collection";
5470
5639
  id: string;
5471
- name: string;
5472
5640
  readers: {
5473
5641
  kind: "all";
5474
5642
  } | {
@@ -5479,7 +5647,10 @@ export type ManagementProcedures = {
5479
5647
  agentIds: Array<string>;
5480
5648
  };
5481
5649
  }>;
5482
- serviceKey: string | null;
5650
+ service: {
5651
+ name: string;
5652
+ displayName: Partial<Record<"en" | "ar", string>>;
5653
+ } | null;
5483
5654
  variables: Array<{
5484
5655
  name: string;
5485
5656
  description: string;
@@ -5499,7 +5670,6 @@ export type ManagementProcedures = {
5499
5670
  id: string;
5500
5671
  name: string;
5501
5672
  }>;
5502
- nameLocked: boolean;
5503
5673
  };
5504
5674
  };
5505
5675
  /** List skills with pagination and search: every skill of an agent, or only those scoped to no service or to one service. */
@@ -5520,6 +5690,7 @@ export type ManagementProcedures = {
5520
5690
  name: string;
5521
5691
  description: string;
5522
5692
  status: "draft" | "published" | "disabled";
5693
+ displayName: Partial<Record<"en" | "ar", string>>;
5523
5694
  source: "direct" | "manifest" | "server";
5524
5695
  sourceId: string | null;
5525
5696
  overridable: Array<string>;
@@ -5614,14 +5785,13 @@ export type ManagementProcedures = {
5614
5785
  unchanged: boolean;
5615
5786
  };
5616
5787
  };
5617
- /** 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. */
5618
5789
  "skills.update": {
5619
5790
  input: {
5620
- /** A slug: lowercase letters, digits, and single hyphens. */
5621
- name: string;
5622
5791
  description: string;
5623
5792
  body: string;
5624
5793
  id: string;
5794
+ displayName: Partial<Record<"en" | "ar", string>>;
5625
5795
  variables: Array<string>;
5626
5796
  };
5627
5797
  output: {
@@ -5643,10 +5813,15 @@ export type ManagementProcedures = {
5643
5813
  createdAt: string;
5644
5814
  updatedAt: string;
5645
5815
  serverId: string | null;
5646
- serverName: string | null;
5647
- agentSlug: string;
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
+ };
5648
5824
  agentId: string;
5649
- agentName: string;
5650
5825
  agentUrl: string | null;
5651
5826
  messageCount: number;
5652
5827
  totalTokens: number;
@@ -5665,7 +5840,7 @@ export type ManagementProcedures = {
5665
5840
  pageSize?: number;
5666
5841
  q?: string;
5667
5842
  serverId?: string;
5668
- agentSlug?: string;
5843
+ agentName?: string;
5669
5844
  userId?: string;
5670
5845
  dateFrom?: string;
5671
5846
  dateTo?: string;
@@ -5682,8 +5857,14 @@ export type ManagementProcedures = {
5682
5857
  createdAt: string;
5683
5858
  updatedAt: string;
5684
5859
  serverId: string | null;
5685
- serverName: string | null;
5686
- agentSlug: string;
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
+ };
5687
5868
  }>;
5688
5869
  /** Every row the caller may see, ignoring the search and filters. */
5689
5870
  count: number;
@@ -5872,6 +6053,7 @@ export type ManagementProcedures = {
5872
6053
  description: string;
5873
6054
  endpointUrl: string;
5874
6055
  method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
6056
+ displayName: Partial<Record<"en" | "ar", string>>;
5875
6057
  audience: {
5876
6058
  kind: "all";
5877
6059
  } | {
@@ -6103,6 +6285,7 @@ export type ManagementProcedures = {
6103
6285
  agentIds: Array<string>;
6104
6286
  };
6105
6287
  name: string;
6288
+ displayName: Partial<Record<"en" | "ar", string>>;
6106
6289
  description: string;
6107
6290
  type: "http" | "embedded" | "soap" | "native" | "client";
6108
6291
  config: {
@@ -6137,9 +6320,10 @@ export type ManagementProcedures = {
6137
6320
  createdAt: string;
6138
6321
  updatedAt: string;
6139
6322
  referrers: Array<{
6323
+ name: string;
6324
+ displayName: Partial<Record<"en" | "ar", string>>;
6140
6325
  kind: "agent_prompt" | "service" | "skill" | "trigger" | "knowledge_collection";
6141
6326
  id: string;
6142
- name: string;
6143
6327
  readers: {
6144
6328
  kind: "all";
6145
6329
  } | {
@@ -6159,7 +6343,6 @@ export type ManagementProcedures = {
6159
6343
  }>;
6160
6344
  inputFields: Array<StoredSchemaFieldRow>;
6161
6345
  outputFields: Array<StoredSchemaFieldRow>;
6162
- nameLocked: boolean;
6163
6346
  };
6164
6347
  };
6165
6348
  /** List tools with pagination and search. */
@@ -6183,6 +6366,7 @@ export type ManagementProcedures = {
6183
6366
  status: "draft" | "published" | "disabled";
6184
6367
  pinned: boolean;
6185
6368
  importSource: string | null;
6369
+ displayName: Partial<Record<"en" | "ar", string>>;
6186
6370
  source: "direct" | "manifest" | "server";
6187
6371
  sourceId: string | null;
6188
6372
  overridable: Array<string>;
@@ -6202,12 +6386,13 @@ export type ManagementProcedures = {
6202
6386
  filteredCount: number;
6203
6387
  };
6204
6388
  };
6205
- /** Tool id and name pairs for selectors. */
6389
+ /** Each tool's id, name and display name, for selectors. */
6206
6390
  "tools.options": {
6207
6391
  input: undefined;
6208
6392
  output: Array<{
6209
6393
  id: string;
6210
6394
  name: string;
6395
+ displayName: Partial<Record<"en" | "ar", string>>;
6211
6396
  }>;
6212
6397
  };
6213
6398
  /** Parse an OpenAPI document and list the operations it would import as tools, and the tools already importing some of them. */
@@ -6387,8 +6572,6 @@ export type ManagementProcedures = {
6387
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. */
6388
6573
  "tools.update": {
6389
6574
  input: {
6390
- /** An identifier of up to 64 characters: letters, digits, _ or $, not starting with a digit, and not the name of a built-in tool (submitAnswer, loadSkill, executeCode, requestLocation and the like). */
6391
- name: string;
6392
6575
  description: string;
6393
6576
  endpointUrl: string;
6394
6577
  method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
@@ -6423,6 +6606,7 @@ export type ManagementProcedures = {
6423
6606
  projectOutput: boolean;
6424
6607
  tags: Array<string>;
6425
6608
  id: string;
6609
+ displayName: Partial<Record<"en" | "ar", string>>;
6426
6610
  variables: Array<{
6427
6611
  name: string;
6428
6612
  description: string;
@@ -6516,8 +6700,9 @@ export type ManagementProcedures = {
6516
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. */
6517
6701
  "triggers.create": {
6518
6702
  input: {
6519
- /** A slug: lowercase letters, digits, and single hyphens. */
6703
+ /** A name: lowercase letters, digits, and single hyphens. */
6520
6704
  name: string;
6705
+ displayName: Partial<Record<"en" | "ar", string>>;
6521
6706
  audience: {
6522
6707
  kind: "all";
6523
6708
  } | {
@@ -6628,6 +6813,7 @@ export type ManagementProcedures = {
6628
6813
  modelEffort: string | null;
6629
6814
  status: "draft" | "published" | "disabled";
6630
6815
  updatedAt: string;
6816
+ displayName: Partial<Record<"en" | "ar", string>>;
6631
6817
  source: "direct" | "manifest" | "server";
6632
6818
  sourceId: string | null;
6633
6819
  overridable: Array<string>;
@@ -6641,9 +6827,10 @@ export type ManagementProcedures = {
6641
6827
  agentIds: Array<string>;
6642
6828
  };
6643
6829
  referrers: Array<{
6830
+ name: string;
6831
+ displayName: Partial<Record<"en" | "ar", string>>;
6644
6832
  kind: "agent_prompt" | "service" | "skill" | "trigger" | "knowledge_collection";
6645
6833
  id: string;
6646
- name: string;
6647
6834
  readers: {
6648
6835
  kind: "all";
6649
6836
  } | {
@@ -6656,8 +6843,8 @@ export type ManagementProcedures = {
6656
6843
  }>;
6657
6844
  agents: Array<{
6658
6845
  id: string;
6659
- slug: string;
6660
6846
  name: string;
6847
+ displayName: Partial<Record<"en" | "ar", string>>;
6661
6848
  }>;
6662
6849
  engineUrl: string | null;
6663
6850
  variables: Array<{
@@ -6681,7 +6868,6 @@ export type ManagementProcedures = {
6681
6868
  id: string;
6682
6869
  name: string;
6683
6870
  }>;
6684
- nameLocked: boolean;
6685
6871
  };
6686
6872
  };
6687
6873
  /** List triggers with pagination and search. */
@@ -6711,6 +6897,7 @@ export type ManagementProcedures = {
6711
6897
  };
6712
6898
  status: "draft" | "published" | "disabled";
6713
6899
  secretPrefix: string;
6900
+ displayName: Partial<Record<"en" | "ar", string>>;
6714
6901
  source: "direct" | "manifest" | "server";
6715
6902
  sourceId: string | null;
6716
6903
  overridable: Array<string>;
@@ -6816,11 +7003,9 @@ export type ManagementProcedures = {
6816
7003
  unchanged: boolean;
6817
7004
  };
6818
7005
  };
6819
- /** Update a trigger's draft. Saved as a draft; call the entity's publish procedure to make it live. `credentialName`, `fireCredentialName` and the model pick are the exceptions: they apply without a publish, the fire credential from the next firing and the others from each agent's next turn. Giving the run a different `credentialName` needs `secrets:write`, since tools forwarding the run token send its value upstream. The model pick (`modelProvider` with one of its `modelName`s and optionally a `modelEffort`, all null to run on each agent's own) is refused as `model_not_offered` when the provider does not list the model or the effort, or an effort is picked without a model. `fireCredentialName` names a static credential whose value callers present to fire, shared by every trigger naming it; that credential and its secret may serve nothing else. Clearing it leaves the trigger shut until `triggers.rotateSecret` mints a secret. */
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. */
6820
7007
  "triggers.update": {
6821
7008
  input: {
6822
- /** A slug: lowercase letters, digits, and single hyphens. */
6823
- name: string;
6824
7009
  description: string;
6825
7010
  inputFields: Array<SchemaFieldRow>;
6826
7011
  outputFields: Array<SchemaFieldRow>;
@@ -6838,6 +7023,7 @@ export type ManagementProcedures = {
6838
7023
  budgetPerDay: number | null;
6839
7024
  disableAfterFailures: number;
6840
7025
  id: string;
7026
+ displayName: Partial<Record<"en" | "ar", string>>;
6841
7027
  credentialName: string | null;
6842
7028
  fireCredentialName: string | null;
6843
7029
  modelProvider: string | null;
@@ -6927,9 +7113,10 @@ export type ManagementProcedures = {
6927
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. */
6928
7114
  "webhooks.create": {
6929
7115
  input: {
6930
- /** A slug: lowercase letters, digits, and single hyphens. */
7116
+ /** A name: lowercase letters, digits, and single hyphens. */
6931
7117
  name: string;
6932
7118
  url: string;
7119
+ displayName: Partial<Record<"en" | "ar", string>>;
6933
7120
  audience: {
6934
7121
  kind: "all";
6935
7122
  } | {
@@ -6975,6 +7162,7 @@ export type ManagementProcedures = {
6975
7162
  agentIds: Array<string>;
6976
7163
  };
6977
7164
  name: string;
7165
+ displayName: Partial<Record<"en" | "ar", string>>;
6978
7166
  description: string;
6979
7167
  event: "approval_requested";
6980
7168
  url: string;
@@ -6998,9 +7186,10 @@ export type ManagementProcedures = {
6998
7186
  enabled: boolean;
6999
7187
  updatedAt: string;
7000
7188
  referrers: Array<{
7189
+ name: string;
7190
+ displayName: Partial<Record<"en" | "ar", string>>;
7001
7191
  kind: "agent_prompt" | "service" | "skill" | "trigger" | "knowledge_collection";
7002
7192
  id: string;
7003
- name: string;
7004
7193
  readers: {
7005
7194
  kind: "all";
7006
7195
  } | {
@@ -7030,6 +7219,7 @@ export type ManagementProcedures = {
7030
7219
  event: "approval_requested";
7031
7220
  url: string;
7032
7221
  enabled: boolean;
7222
+ displayName: Partial<Record<"en" | "ar", string>>;
7033
7223
  source: "direct" | "manifest" | "server";
7034
7224
  sourceId: string | null;
7035
7225
  overridable: Array<string>;
@@ -7077,7 +7267,10 @@ export type ManagementProcedures = {
7077
7267
  durationMs: number;
7078
7268
  error: "upstream_status" | "upstream_failed" | "egress_blocked" | "timeout" | "response_too_large" | "token_missing" | "unknown_credential" | "credential_unavailable" | "unexpected" | null;
7079
7269
  createdAt: string;
7080
- agentName: string | null;
7270
+ agent: {
7271
+ name: string;
7272
+ displayName: Partial<Record<"en" | "ar", string>>;
7273
+ } | null;
7081
7274
  }>;
7082
7275
  /** Every row the caller may see, ignoring the search and filters. */
7083
7276
  count: number;
@@ -7140,8 +7333,6 @@ export type ManagementProcedures = {
7140
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. */
7141
7334
  "webhooks.update": {
7142
7335
  input: {
7143
- /** A slug: lowercase letters, digits, and single hyphens. */
7144
- name: string;
7145
7336
  description: string;
7146
7337
  event: "approval_requested";
7147
7338
  url: string;
@@ -7163,6 +7354,7 @@ export type ManagementProcedures = {
7163
7354
  }>;
7164
7355
  timeoutMs: number;
7165
7356
  id: string;
7357
+ displayName: Partial<Record<"en" | "ar", string>>;
7166
7358
  };
7167
7359
  output: {
7168
7360
  id: string;
@@ -7223,6 +7415,15 @@ export type ManagementClient = {
7223
7415
  export declare function createManagementClient(target: ManagementTarget): ManagementClient;
7224
7416
  declare const manifestToolSchema: z.ZodDiscriminatedUnion<[
7225
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>>>;
7226
7427
  outputSchema: z.ZodDefault<z.ZodObject<{
7227
7428
  type: z.ZodLiteral<"object">;
7228
7429
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -7416,6 +7617,7 @@ declare const manifestToolSchema: z.ZodDiscriminatedUnion<[
7416
7617
  requiresApproval: z.ZodDefault<z.ZodBoolean>;
7417
7618
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
7418
7619
  description: "description";
7620
+ displayName: "displayName";
7419
7621
  headers: "headers";
7420
7622
  rateLimits: "rateLimits";
7421
7623
  timeoutMs: "timeoutMs";
@@ -7561,6 +7763,15 @@ declare const manifestToolSchema: z.ZodDiscriminatedUnion<[
7561
7763
  z.ZodObject<{
7562
7764
  name: z.ZodString;
7563
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>>>;
7564
7775
  outputSchema: z.ZodDefault<z.ZodObject<{
7565
7776
  type: z.ZodLiteral<"object">;
7566
7777
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -7751,6 +7962,7 @@ declare const manifestToolSchema: z.ZodDiscriminatedUnion<[
7751
7962
  projectOutput: z.ZodDefault<z.ZodBoolean>;
7752
7963
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
7753
7964
  description: "description";
7965
+ displayName: "displayName";
7754
7966
  headers: "headers";
7755
7967
  rateLimits: "rateLimits";
7756
7968
  timeoutMs: "timeoutMs";
@@ -7889,6 +8101,15 @@ declare const manifestToolSchema: z.ZodDiscriminatedUnion<[
7889
8101
  }>;
7890
8102
  }, z.core.$strict>,
7891
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>>>;
7892
8113
  outputSchema: z.ZodDefault<z.ZodObject<{
7893
8114
  type: z.ZodLiteral<"object">;
7894
8115
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -8082,6 +8303,7 @@ declare const manifestToolSchema: z.ZodDiscriminatedUnion<[
8082
8303
  requiresApproval: z.ZodDefault<z.ZodBoolean>;
8083
8304
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
8084
8305
  description: "description";
8306
+ displayName: "displayName";
8085
8307
  headers: "headers";
8086
8308
  rateLimits: "rateLimits";
8087
8309
  timeoutMs: "timeoutMs";
@@ -8220,6 +8442,15 @@ declare const manifestToolSchema: z.ZodDiscriminatedUnion<[
8220
8442
  readOnly: z.ZodBoolean;
8221
8443
  }, z.core.$strict>,
8222
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>>>;
8223
8454
  inputSchema: z.ZodDefault<z.ZodObject<{
8224
8455
  type: z.ZodLiteral<"object">;
8225
8456
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -8476,6 +8707,7 @@ declare const manifestToolSchema: z.ZodDiscriminatedUnion<[
8476
8707
  ]>;
8477
8708
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
8478
8709
  description: "description";
8710
+ displayName: "displayName";
8479
8711
  rateLimits: "rateLimits";
8480
8712
  timeoutMs: "timeoutMs";
8481
8713
  maxResponseBytes: "maxResponseBytes";
@@ -8489,11 +8721,16 @@ declare const manifestToolSchema: z.ZodDiscriminatedUnion<[
8489
8721
  ], "type">;
8490
8722
  export type ManifestTool = z.input<typeof manifestToolSchema>;
8491
8723
  declare const manifestServiceSchema: z.ZodObject<{
8492
- key: z.ZodString;
8493
- name: z.ZodRecord<z.ZodEnum<{
8724
+ name: z.ZodString;
8725
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
8494
8726
  en: "en";
8495
8727
  ar: "ar";
8496
- }>, 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>>>;
8497
8734
  description: z.ZodRecord<z.ZodEnum<{
8498
8735
  en: "en";
8499
8736
  ar: "ar";
@@ -8509,11 +8746,21 @@ declare const manifestServiceSchema: z.ZodObject<{
8509
8746
  ]>;
8510
8747
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
8511
8748
  description: "description";
8749
+ displayName: "displayName";
8512
8750
  }>>>;
8513
8751
  }, z.core.$strict>;
8514
8752
  export type ManifestService = z.input<typeof manifestServiceSchema>;
8515
8753
  declare const manifestSkillSchema: z.ZodObject<{
8516
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>>>;
8517
8764
  description: z.ZodString;
8518
8765
  body: z.ZodString;
8519
8766
  service: z.ZodOptional<z.ZodString>;
@@ -8528,12 +8775,22 @@ declare const manifestSkillSchema: z.ZodObject<{
8528
8775
  ]>;
8529
8776
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
8530
8777
  description: "description";
8778
+ displayName: "displayName";
8531
8779
  body: "body";
8532
8780
  }>>>;
8533
8781
  }, z.core.$strict>;
8534
8782
  export type ManifestSkill = z.input<typeof manifestSkillSchema>;
8535
8783
  declare const manifestTriggerSchema: z.ZodObject<{
8536
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>>>;
8537
8794
  description: z.ZodString;
8538
8795
  inputSchema: z.ZodDefault<z.ZodObject<{
8539
8796
  type: z.ZodLiteral<"object">;
@@ -8803,6 +9060,7 @@ declare const manifestTriggerSchema: z.ZodObject<{
8803
9060
  ]>;
8804
9061
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
8805
9062
  description: "description";
9063
+ displayName: "displayName";
8806
9064
  instructions: "instructions";
8807
9065
  threadPolicy: "threadPolicy";
8808
9066
  budgetPerDay: "budgetPerDay";
@@ -8813,6 +9071,15 @@ declare const manifestTriggerSchema: z.ZodObject<{
8813
9071
  export type ManifestTrigger = z.input<typeof manifestTriggerSchema>;
8814
9072
  declare const manifestDatasetHostSchema: z.ZodObject<{
8815
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>>>;
8816
9083
  url: z.ZodURL;
8817
9084
  headers: z.ZodDefault<z.ZodArray<z.ZodObject<{
8818
9085
  header: z.ZodString;
@@ -8884,6 +9151,7 @@ declare const manifestDatasetHostSchema: z.ZodObject<{
8884
9151
  }, z.core.$strict>
8885
9152
  ]>;
8886
9153
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
9154
+ displayName: "displayName";
8887
9155
  headers: "headers";
8888
9156
  rateLimits: "rateLimits";
8889
9157
  timeoutMs: "timeoutMs";
@@ -8892,6 +9160,15 @@ declare const manifestDatasetHostSchema: z.ZodObject<{
8892
9160
  export type ManifestDatasetHost = z.input<typeof manifestDatasetHostSchema>;
8893
9161
  declare const manifestMcpServerSchema: z.ZodObject<{
8894
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>>>;
8895
9172
  url: z.ZodURL;
8896
9173
  headers: z.ZodDefault<z.ZodArray<z.ZodObject<{
8897
9174
  header: z.ZodString;
@@ -8954,6 +9231,7 @@ declare const manifestMcpServerSchema: z.ZodObject<{
8954
9231
  }, z.core.$strict>
8955
9232
  ]>;
8956
9233
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
9234
+ displayName: "displayName";
8957
9235
  headers: "headers";
8958
9236
  include: "include";
8959
9237
  exclude: "exclude";
@@ -8962,6 +9240,15 @@ declare const manifestMcpServerSchema: z.ZodObject<{
8962
9240
  export type ManifestMcpServer = z.input<typeof manifestMcpServerSchema>;
8963
9241
  declare const manifestWebhookSchema: z.ZodObject<{
8964
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>>>;
8965
9252
  description: z.ZodDefault<z.ZodString>;
8966
9253
  event: z.ZodEnum<{
8967
9254
  approval_requested: "approval_requested";
@@ -9008,6 +9295,7 @@ declare const manifestWebhookSchema: z.ZodObject<{
9008
9295
  ]>;
9009
9296
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
9010
9297
  description: "description";
9298
+ displayName: "displayName";
9011
9299
  headers: "headers";
9012
9300
  timeoutMs: "timeoutMs";
9013
9301
  }>>>;
@@ -9030,6 +9318,15 @@ declare const manifestDocumentSchema: z.ZodUnion<readonly [
9030
9318
  export type ManifestDocument = z.input<typeof manifestDocumentSchema>;
9031
9319
  declare const manifestCollectionSchema: z.ZodObject<{
9032
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>>>;
9033
9330
  description: z.ZodDefault<z.ZodString>;
9034
9331
  service: z.ZodOptional<z.ZodString>;
9035
9332
  citable: z.ZodDefault<z.ZodBoolean>;
@@ -9058,13 +9355,22 @@ declare const manifestCollectionSchema: z.ZodObject<{
9058
9355
  ]>;
9059
9356
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
9060
9357
  description: "description";
9358
+ displayName: "displayName";
9061
9359
  documents: "documents";
9062
9360
  }>>>;
9063
9361
  }, z.core.$strict>;
9064
9362
  export type ManifestCollection = z.input<typeof manifestCollectionSchema>;
9065
9363
  declare const manifestAgentSchema: z.ZodObject<{
9066
- slug: z.ZodString;
9067
9364
  name: 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>>>;
9068
9374
  server: z.ZodOptional<z.ZodString>;
9069
9375
  prompt: z.ZodString;
9070
9376
  auth: z.ZodDiscriminatedUnion<[
@@ -9165,7 +9471,7 @@ declare const manifestAgentSchema: z.ZodObject<{
9165
9471
  ar: "ar";
9166
9472
  }>, z.ZodString>>;
9167
9473
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
9168
- name: "name";
9474
+ displayName: "displayName";
9169
9475
  prompt: "prompt";
9170
9476
  models: "models";
9171
9477
  settings: "settings";
@@ -9178,8 +9484,16 @@ export type ManifestAgent = z.input<typeof manifestAgentSchema>;
9178
9484
  declare const manifestSchema: z.ZodObject<{
9179
9485
  id: z.ZodString;
9180
9486
  agents: z.ZodDefault<z.ZodArray<z.ZodObject<{
9181
- slug: z.ZodString;
9182
9487
  name: 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>>>;
9183
9497
  server: z.ZodOptional<z.ZodString>;
9184
9498
  prompt: z.ZodString;
9185
9499
  auth: z.ZodDiscriminatedUnion<[
@@ -9280,7 +9594,7 @@ declare const manifestSchema: z.ZodObject<{
9280
9594
  ar: "ar";
9281
9595
  }>, z.ZodString>>;
9282
9596
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
9283
- name: "name";
9597
+ displayName: "displayName";
9284
9598
  prompt: "prompt";
9285
9599
  models: "models";
9286
9600
  settings: "settings";
@@ -9291,6 +9605,15 @@ declare const manifestSchema: z.ZodObject<{
9291
9605
  }, z.core.$strict>>>;
9292
9606
  tools: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[
9293
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>>>;
9294
9617
  outputSchema: z.ZodDefault<z.ZodObject<{
9295
9618
  type: z.ZodLiteral<"object">;
9296
9619
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -9484,6 +9807,7 @@ declare const manifestSchema: z.ZodObject<{
9484
9807
  requiresApproval: z.ZodDefault<z.ZodBoolean>;
9485
9808
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
9486
9809
  description: "description";
9810
+ displayName: "displayName";
9487
9811
  headers: "headers";
9488
9812
  rateLimits: "rateLimits";
9489
9813
  timeoutMs: "timeoutMs";
@@ -9629,6 +9953,15 @@ declare const manifestSchema: z.ZodObject<{
9629
9953
  z.ZodObject<{
9630
9954
  name: z.ZodString;
9631
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>>>;
9632
9965
  outputSchema: z.ZodDefault<z.ZodObject<{
9633
9966
  type: z.ZodLiteral<"object">;
9634
9967
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -9819,6 +10152,7 @@ declare const manifestSchema: z.ZodObject<{
9819
10152
  projectOutput: z.ZodDefault<z.ZodBoolean>;
9820
10153
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
9821
10154
  description: "description";
10155
+ displayName: "displayName";
9822
10156
  headers: "headers";
9823
10157
  rateLimits: "rateLimits";
9824
10158
  timeoutMs: "timeoutMs";
@@ -9957,6 +10291,15 @@ declare const manifestSchema: z.ZodObject<{
9957
10291
  }>;
9958
10292
  }, z.core.$strict>,
9959
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>>>;
9960
10303
  outputSchema: z.ZodDefault<z.ZodObject<{
9961
10304
  type: z.ZodLiteral<"object">;
9962
10305
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -10150,6 +10493,7 @@ declare const manifestSchema: z.ZodObject<{
10150
10493
  requiresApproval: z.ZodDefault<z.ZodBoolean>;
10151
10494
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
10152
10495
  description: "description";
10496
+ displayName: "displayName";
10153
10497
  headers: "headers";
10154
10498
  rateLimits: "rateLimits";
10155
10499
  timeoutMs: "timeoutMs";
@@ -10288,6 +10632,15 @@ declare const manifestSchema: z.ZodObject<{
10288
10632
  readOnly: z.ZodBoolean;
10289
10633
  }, z.core.$strict>,
10290
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>>>;
10291
10644
  inputSchema: z.ZodDefault<z.ZodObject<{
10292
10645
  type: z.ZodLiteral<"object">;
10293
10646
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -10544,6 +10897,7 @@ declare const manifestSchema: z.ZodObject<{
10544
10897
  ]>;
10545
10898
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
10546
10899
  description: "description";
10900
+ displayName: "displayName";
10547
10901
  rateLimits: "rateLimits";
10548
10902
  timeoutMs: "timeoutMs";
10549
10903
  maxResponseBytes: "maxResponseBytes";
@@ -10624,6 +10978,7 @@ declare const manifestSchema: z.ZodObject<{
10624
10978
  ]>;
10625
10979
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
10626
10980
  description: "description";
10981
+ displayName: "displayName";
10627
10982
  headers: "headers";
10628
10983
  rateLimits: "rateLimits";
10629
10984
  timeoutMs: "timeoutMs";
@@ -10633,11 +10988,16 @@ declare const manifestSchema: z.ZodObject<{
10633
10988
  }>>>;
10634
10989
  }, z.core.$strict>>>;
10635
10990
  services: z.ZodDefault<z.ZodArray<z.ZodObject<{
10636
- key: z.ZodString;
10637
- name: z.ZodRecord<z.ZodEnum<{
10991
+ name: z.ZodString;
10992
+ displayName: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
10638
10993
  en: "en";
10639
10994
  ar: "ar";
10640
- }>, 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>>>;
10641
11001
  description: z.ZodRecord<z.ZodEnum<{
10642
11002
  en: "en";
10643
11003
  ar: "ar";
@@ -10653,10 +11013,20 @@ declare const manifestSchema: z.ZodObject<{
10653
11013
  ]>;
10654
11014
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
10655
11015
  description: "description";
11016
+ displayName: "displayName";
10656
11017
  }>>>;
10657
11018
  }, z.core.$strict>>>;
10658
11019
  skills: z.ZodDefault<z.ZodArray<z.ZodObject<{
10659
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>>>;
10660
11030
  description: z.ZodString;
10661
11031
  body: z.ZodString;
10662
11032
  service: z.ZodOptional<z.ZodString>;
@@ -10671,11 +11041,21 @@ declare const manifestSchema: z.ZodObject<{
10671
11041
  ]>;
10672
11042
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
10673
11043
  description: "description";
11044
+ displayName: "displayName";
10674
11045
  body: "body";
10675
11046
  }>>>;
10676
11047
  }, z.core.$strict>>>;
10677
11048
  triggers: z.ZodDefault<z.ZodArray<z.ZodObject<{
10678
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>>>;
10679
11059
  description: z.ZodString;
10680
11060
  inputSchema: z.ZodDefault<z.ZodObject<{
10681
11061
  type: z.ZodLiteral<"object">;
@@ -10945,6 +11325,7 @@ declare const manifestSchema: z.ZodObject<{
10945
11325
  ]>;
10946
11326
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
10947
11327
  description: "description";
11328
+ displayName: "displayName";
10948
11329
  instructions: "instructions";
10949
11330
  threadPolicy: "threadPolicy";
10950
11331
  budgetPerDay: "budgetPerDay";
@@ -10954,6 +11335,15 @@ declare const manifestSchema: z.ZodObject<{
10954
11335
  }, z.core.$strict>>>;
10955
11336
  datasetHosts: z.ZodDefault<z.ZodArray<z.ZodObject<{
10956
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>>>;
10957
11347
  url: z.ZodURL;
10958
11348
  headers: z.ZodDefault<z.ZodArray<z.ZodObject<{
10959
11349
  header: z.ZodString;
@@ -11025,6 +11415,7 @@ declare const manifestSchema: z.ZodObject<{
11025
11415
  }, z.core.$strict>
11026
11416
  ]>;
11027
11417
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
11418
+ displayName: "displayName";
11028
11419
  headers: "headers";
11029
11420
  rateLimits: "rateLimits";
11030
11421
  timeoutMs: "timeoutMs";
@@ -11032,6 +11423,15 @@ declare const manifestSchema: z.ZodObject<{
11032
11423
  }, z.core.$strict>>>;
11033
11424
  mcpServers: z.ZodDefault<z.ZodArray<z.ZodObject<{
11034
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>>>;
11035
11435
  url: z.ZodURL;
11036
11436
  headers: z.ZodDefault<z.ZodArray<z.ZodObject<{
11037
11437
  header: z.ZodString;
@@ -11094,6 +11494,7 @@ declare const manifestSchema: z.ZodObject<{
11094
11494
  }, z.core.$strict>
11095
11495
  ]>;
11096
11496
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
11497
+ displayName: "displayName";
11097
11498
  headers: "headers";
11098
11499
  include: "include";
11099
11500
  exclude: "exclude";
@@ -11101,6 +11502,15 @@ declare const manifestSchema: z.ZodObject<{
11101
11502
  }, z.core.$strict>>>;
11102
11503
  webhooks: z.ZodDefault<z.ZodArray<z.ZodObject<{
11103
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>>>;
11104
11514
  description: z.ZodDefault<z.ZodString>;
11105
11515
  event: z.ZodEnum<{
11106
11516
  approval_requested: "approval_requested";
@@ -11147,12 +11557,22 @@ declare const manifestSchema: z.ZodObject<{
11147
11557
  ]>;
11148
11558
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
11149
11559
  description: "description";
11560
+ displayName: "displayName";
11150
11561
  headers: "headers";
11151
11562
  timeoutMs: "timeoutMs";
11152
11563
  }>>>;
11153
11564
  }, z.core.$strict>>>;
11154
11565
  collections: z.ZodDefault<z.ZodArray<z.ZodObject<{
11155
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>>>;
11156
11576
  description: z.ZodDefault<z.ZodString>;
11157
11577
  service: z.ZodOptional<z.ZodString>;
11158
11578
  citable: z.ZodDefault<z.ZodBoolean>;
@@ -11181,6 +11601,7 @@ declare const manifestSchema: z.ZodObject<{
11181
11601
  ]>;
11182
11602
  overridable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
11183
11603
  description: "description";
11604
+ displayName: "displayName";
11184
11605
  documents: "documents";
11185
11606
  }>>>;
11186
11607
  }, z.core.$strict>>>;
@@ -11191,7 +11612,6 @@ export type Manifest = z.input<typeof manifestSchema>;
11191
11612
  export declare function defineManifest(manifest: Manifest): {
11192
11613
  id: string;
11193
11614
  agents?: {
11194
- slug: string;
11195
11615
  name: string;
11196
11616
  prompt: string;
11197
11617
  auth: {
@@ -11216,6 +11636,7 @@ export declare function defineManifest(manifest: Manifest): {
11216
11636
  } | {
11217
11637
  kind: "server";
11218
11638
  };
11639
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
11219
11640
  server?: string | undefined;
11220
11641
  models?: {
11221
11642
  chat?: {
@@ -11269,7 +11690,7 @@ export declare function defineManifest(manifest: Manifest): {
11269
11690
  prompt: string;
11270
11691
  }[]> | undefined;
11271
11692
  greeting?: Record<"en" | "ar", string> | undefined;
11272
- overridable?: ("name" | "prompt" | "models" | "settings" | "rateLimits" | "suggestions" | "greeting")[] | undefined;
11693
+ overridable?: ("displayName" | "prompt" | "models" | "settings" | "rateLimits" | "suggestions" | "greeting")[] | undefined;
11273
11694
  }[] | undefined;
11274
11695
  tools?: ({
11275
11696
  audience: "all" | {
@@ -11283,6 +11704,7 @@ export declare function defineManifest(manifest: Manifest): {
11283
11704
  type: "http";
11284
11705
  method: "DELETE" | "POST" | "GET" | "PUT" | "PATCH";
11285
11706
  readOnly: boolean;
11707
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
11286
11708
  outputSchema?: {
11287
11709
  type: "object";
11288
11710
  properties?: Record<string, {
@@ -11371,7 +11793,7 @@ export declare function defineManifest(manifest: Manifest): {
11371
11793
  prefix?: string | undefined;
11372
11794
  }[] | undefined;
11373
11795
  requiresApproval?: boolean | undefined;
11374
- overridable?: ("description" | "headers" | "rateLimits" | "timeoutMs" | "maxResponseBytes" | "pinned" | "tags")[] | undefined;
11796
+ overridable?: ("description" | "displayName" | "headers" | "rateLimits" | "timeoutMs" | "maxResponseBytes" | "pinned" | "tags")[] | undefined;
11375
11797
  responseWrap?: "value" | "items" | undefined;
11376
11798
  requestMediaType?: "application/x-www-form-urlencoded" | "multipart/form-data" | undefined;
11377
11799
  resultPath?: string | undefined;
@@ -11446,6 +11868,7 @@ export declare function defineManifest(manifest: Manifest): {
11446
11868
  surface: "inline" | "modal";
11447
11869
  type: "embedded";
11448
11870
  method: "DELETE" | "POST" | "GET" | "PUT" | "PATCH";
11871
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
11449
11872
  outputSchema?: {
11450
11873
  type: "object";
11451
11874
  properties?: Record<string, {
@@ -11533,7 +11956,7 @@ export declare function defineManifest(manifest: Manifest): {
11533
11956
  pinned?: boolean | undefined;
11534
11957
  tags?: string[] | undefined;
11535
11958
  projectOutput?: boolean | undefined;
11536
- overridable?: ("description" | "headers" | "rateLimits" | "timeoutMs" | "maxResponseBytes" | "pinned" | "tags")[] | undefined;
11959
+ overridable?: ("description" | "displayName" | "headers" | "rateLimits" | "timeoutMs" | "maxResponseBytes" | "pinned" | "tags")[] | undefined;
11537
11960
  inputSchema?: {
11538
11961
  type: "object";
11539
11962
  properties?: Record<string, {
@@ -11606,6 +12029,7 @@ export declare function defineManifest(manifest: Manifest): {
11606
12029
  envelopeTemplate: string;
11607
12030
  type: "soap";
11608
12031
  readOnly: boolean;
12032
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
11609
12033
  outputSchema?: {
11610
12034
  type: "object";
11611
12035
  properties?: Record<string, {
@@ -11694,7 +12118,7 @@ export declare function defineManifest(manifest: Manifest): {
11694
12118
  prefix?: string | undefined;
11695
12119
  }[] | undefined;
11696
12120
  requiresApproval?: boolean | undefined;
11697
- overridable?: ("description" | "headers" | "rateLimits" | "timeoutMs" | "maxResponseBytes" | "pinned" | "tags")[] | undefined;
12121
+ overridable?: ("description" | "displayName" | "headers" | "rateLimits" | "timeoutMs" | "maxResponseBytes" | "pinned" | "tags")[] | undefined;
11698
12122
  tokenCall?: {
11699
12123
  envelopeTemplate: string;
11700
12124
  soapAction: string;
@@ -11767,6 +12191,7 @@ export declare function defineManifest(manifest: Manifest): {
11767
12191
  name: string;
11768
12192
  description: string;
11769
12193
  type: "client";
12194
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
11770
12195
  inputSchema?: {
11771
12196
  type: "object";
11772
12197
  properties?: Record<string, {
@@ -11896,7 +12321,7 @@ export declare function defineManifest(manifest: Manifest): {
11896
12321
  projectOutput?: boolean | undefined;
11897
12322
  pinned?: boolean | undefined;
11898
12323
  tags?: string[] | undefined;
11899
- overridable?: ("description" | "rateLimits" | "timeoutMs" | "maxResponseBytes" | "pinned" | "tags")[] | undefined;
12324
+ overridable?: ("description" | "displayName" | "rateLimits" | "timeoutMs" | "maxResponseBytes" | "pinned" | "tags")[] | undefined;
11900
12325
  })[] | undefined;
11901
12326
  openapi?: {
11902
12327
  name: string;
@@ -11928,18 +12353,18 @@ export declare function defineManifest(manifest: Manifest): {
11928
12353
  never?: string[] | undefined;
11929
12354
  always?: string[] | undefined;
11930
12355
  } | undefined;
11931
- overridable?: ("description" | "headers" | "rateLimits" | "timeoutMs" | "maxResponseBytes" | "pinned" | "tags")[] | undefined;
12356
+ overridable?: ("description" | "displayName" | "headers" | "rateLimits" | "timeoutMs" | "maxResponseBytes" | "pinned" | "tags")[] | undefined;
11932
12357
  }[] | undefined;
11933
12358
  services?: {
11934
- key: string;
11935
- name: Record<"en" | "ar", string>;
12359
+ name: string;
11936
12360
  description: Record<"en" | "ar", string>;
11937
12361
  audience: "all" | {
11938
12362
  server: string;
11939
12363
  } | {
11940
12364
  agents: string[];
11941
12365
  };
11942
- overridable?: "description"[] | undefined;
12366
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
12367
+ overridable?: ("description" | "displayName")[] | undefined;
11943
12368
  }[] | undefined;
11944
12369
  skills?: {
11945
12370
  name: string;
@@ -11950,8 +12375,9 @@ export declare function defineManifest(manifest: Manifest): {
11950
12375
  } | {
11951
12376
  agents: string[];
11952
12377
  };
12378
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
11953
12379
  service?: string | undefined;
11954
- overridable?: ("description" | "body")[] | undefined;
12380
+ overridable?: ("description" | "displayName" | "body")[] | undefined;
11955
12381
  }[] | undefined;
11956
12382
  triggers?: {
11957
12383
  name: string;
@@ -11962,6 +12388,7 @@ export declare function defineManifest(manifest: Manifest): {
11962
12388
  } | {
11963
12389
  agents: string[];
11964
12390
  };
12391
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
11965
12392
  inputSchema?: {
11966
12393
  type: "object";
11967
12394
  properties?: Record<string, {
@@ -12097,7 +12524,7 @@ export declare function defineManifest(manifest: Manifest): {
12097
12524
  model: string;
12098
12525
  effort?: string | undefined;
12099
12526
  } | undefined;
12100
- overridable?: ("description" | "instructions" | "threadPolicy" | "budgetPerDay" | "disableAfterFailures" | "model")[] | undefined;
12527
+ overridable?: ("description" | "displayName" | "instructions" | "threadPolicy" | "budgetPerDay" | "disableAfterFailures" | "model")[] | undefined;
12101
12528
  }[] | undefined;
12102
12529
  datasetHosts?: {
12103
12530
  name: string;
@@ -12108,6 +12535,7 @@ export declare function defineManifest(manifest: Manifest): {
12108
12535
  } | {
12109
12536
  agents: string[];
12110
12537
  };
12538
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
12111
12539
  headers?: {
12112
12540
  header: string;
12113
12541
  from: {
@@ -12134,7 +12562,7 @@ export declare function defineManifest(manifest: Manifest): {
12134
12562
  } | undefined;
12135
12563
  } | undefined;
12136
12564
  pinned?: string[] | undefined;
12137
- overridable?: ("headers" | "rateLimits" | "timeoutMs")[] | undefined;
12565
+ overridable?: ("displayName" | "headers" | "rateLimits" | "timeoutMs")[] | undefined;
12138
12566
  }[] | undefined;
12139
12567
  mcpServers?: {
12140
12568
  name: string;
@@ -12144,6 +12572,7 @@ export declare function defineManifest(manifest: Manifest): {
12144
12572
  } | {
12145
12573
  agents: string[];
12146
12574
  };
12575
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
12147
12576
  headers?: {
12148
12577
  header: string;
12149
12578
  from: {
@@ -12162,7 +12591,7 @@ export declare function defineManifest(manifest: Manifest): {
12162
12591
  }[] | undefined;
12163
12592
  include?: string[] | undefined;
12164
12593
  exclude?: string[] | undefined;
12165
- overridable?: ("headers" | "include" | "exclude")[] | undefined;
12594
+ overridable?: ("displayName" | "headers" | "include" | "exclude")[] | undefined;
12166
12595
  }[] | undefined;
12167
12596
  webhooks?: {
12168
12597
  name: string;
@@ -12173,6 +12602,7 @@ export declare function defineManifest(manifest: Manifest): {
12173
12602
  } | {
12174
12603
  agents: string[];
12175
12604
  };
12605
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
12176
12606
  description?: string | undefined;
12177
12607
  headers?: {
12178
12608
  header: string;
@@ -12186,7 +12616,7 @@ export declare function defineManifest(manifest: Manifest): {
12186
12616
  prefix?: string | undefined;
12187
12617
  }[] | undefined;
12188
12618
  timeoutMs?: number | undefined;
12189
- overridable?: ("description" | "headers" | "timeoutMs")[] | undefined;
12619
+ overridable?: ("description" | "displayName" | "headers" | "timeoutMs")[] | undefined;
12190
12620
  }[] | undefined;
12191
12621
  collections?: {
12192
12622
  name: string;
@@ -12195,6 +12625,7 @@ export declare function defineManifest(manifest: Manifest): {
12195
12625
  } | {
12196
12626
  agents: string[];
12197
12627
  };
12628
+ displayName?: Partial<Record<"en" | "ar", string>> | undefined;
12198
12629
  description?: string | undefined;
12199
12630
  service?: string | undefined;
12200
12631
  citable?: boolean | undefined;
@@ -12208,7 +12639,7 @@ export declare function defineManifest(manifest: Manifest): {
12208
12639
  url: string;
12209
12640
  name?: string | undefined;
12210
12641
  })[] | undefined;
12211
- overridable?: ("description" | "documents")[] | undefined;
12642
+ overridable?: ("description" | "displayName" | "documents")[] | undefined;
12212
12643
  }[] | undefined;
12213
12644
  };
12214
12645