@m6d/cortex 0.15.0 → 0.17.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.js CHANGED
@@ -18,7 +18,7 @@ import {
18
18
  datasetCatalogOf,
19
19
  checkDatasetQuery,
20
20
  boundDatasetResult
21
- } from "./index-ycr8n8r9.js";
21
+ } from "./index-bgxwpnj1.js";
22
22
  import { createRequire } from "node:module";
23
23
  var __create = Object.create;
24
24
  var __getProtoOf = Object.getPrototypeOf;
@@ -13427,7 +13427,8 @@ var RUN_REASONS = [
13427
13427
  "parent_cancelled",
13428
13428
  "lost",
13429
13429
  "timeout",
13430
- "output_limit"
13430
+ "output_limit",
13431
+ "usage_unavailable"
13431
13432
  ];
13432
13433
  var INPUT_DELIVERIES = ["prompt", "steer", "followUp", "answer", "note"];
13433
13434
  var INPUT_REFUSALS = [
@@ -13537,6 +13538,10 @@ var DEFAULT_MEDIA_FORMS = [
13537
13538
  "map"
13538
13539
  ];
13539
13540
  var WHILE_BUSY = ["refuse", "queue", "steer"];
13541
+ var CHANNELS = ["text", "voice"];
13542
+ var VOICE_MODES = ["off", "realtime", "live", "cascade"];
13543
+ var END_CALL_TOOL = "endCall";
13544
+ var SHOW_ON_SCREEN_TOOL = "showOnScreen";
13540
13545
  var ATTACHMENT_MAX_BYTES = 10 * 1024 * 1024;
13541
13546
  var CLIENT_PLATFORMS = ["web", "ios", "android"];
13542
13547
  var APPROVAL_TITLE_FIELD = "approvalTitle";
@@ -13618,7 +13623,9 @@ var BUILT_IN_TOOL_NAMES = [
13618
13623
  SCHEDULE_WAKE_TOOL,
13619
13624
  REQUEST_LOCATION_TOOL,
13620
13625
  CONNECT_ACCOUNT_TOOL,
13621
- TRIGGER_ANSWER_TOOL_NAME
13626
+ TRIGGER_ANSWER_TOOL_NAME,
13627
+ END_CALL_TOOL,
13628
+ SHOW_ON_SCREEN_TOOL
13622
13629
  ];
13623
13630
  function isBuiltInToolName(name) {
13624
13631
  return BUILT_IN_TOOL_NAMES.some((builtIn) => builtIn === name);
@@ -14013,12 +14020,17 @@ function isEgressAllowedHost(hostname, allowed = egressAllowedHosts()) {
14013
14020
  const wanted = normalizeHost(hostname);
14014
14021
  return allowed.some((host) => host === "*" || normalizeHost(host) === wanted);
14015
14022
  }
14016
- function canCarrySecret(url, allowed = egressAllowedHosts()) {
14023
+ var TRANSPORTS = {
14024
+ http: { secure: "https:", plain: "http:" },
14025
+ socket: { secure: "wss:", plain: "ws:" }
14026
+ };
14027
+ function canCarrySecret(url, allowed = egressAllowedHosts(), transport = "http") {
14028
+ const { secure, plain } = TRANSPORTS[transport];
14017
14029
  try {
14018
14030
  const { protocol, hostname } = new URL(url);
14019
- if (protocol === "https:")
14031
+ if (protocol === secure)
14020
14032
  return true;
14021
- if (protocol !== "http:")
14033
+ if (protocol !== plain)
14022
14034
  return false;
14023
14035
  return isLoopback(normalizeHost(hostname)) || isEgressAllowedHost(hostname, allowed);
14024
14036
  } catch {
@@ -14057,7 +14069,8 @@ var SETTING_BOUNDS = {
14057
14069
  var RATE_LIMITS = {
14058
14070
  agent: {
14059
14071
  messagesPerMinute: { max: 1e4, allUsers: 600, perUser: 20 },
14060
- tokensPerDay: { max: 1000000000000, allUsers: null, perUser: 1e6 }
14072
+ tokensPerDay: { max: 1000000000000, allUsers: null, perUser: 1e6 },
14073
+ voiceMinutesPerDay: { max: 1e6, allUsers: null, perUser: 60 }
14061
14074
  },
14062
14075
  tool: { callsPerMinute: { max: 1e4, allUsers: 60, perUser: 20 } },
14063
14076
  datasetHost: { queriesPerMinute: { max: 1e4, allUsers: 60, perUser: 20 } }
@@ -14109,6 +14122,7 @@ var TRIGGER_LIMITS = { descriptionLength: 500, instructionsLength: 20000 };
14109
14122
  var COLLECTION_LIMITS = { descriptionLength: 2000, documents: 100 };
14110
14123
  var DOCUMENT_LIMITS = { nameLength: 255, bytes: 10 * 1024 * 1024 };
14111
14124
  var DOCX_MIME_TYPE = "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
14125
+ var ICON_LIMITS = { bytes: 512 * 1024, side: 1024 };
14112
14126
  var AUTH_JWT_SECRET_ALGORITHMS = ["HS256", "HS384", "HS512"];
14113
14127
  var MANIFEST_KINDS = [
14114
14128
  "agents",
@@ -14130,11 +14144,44 @@ function setting({ min, max, default: fallback }) {
14130
14144
  function rateLimit(bound, users) {
14131
14145
  return z5.number().int().min(1).max(bound.max).nullable().default(bound[users]);
14132
14146
  }
14133
- function overridable(fields) {
14134
- return z5.array(z5.enum(fields)).refine((listed) => new Set(listed).size === listed.length, "a field repeats").default([]);
14147
+ var ANY_PART = "any";
14148
+ var DISPLAY_NAME_PARTS = { displayName: LOCALES };
14149
+ function overridable(fields, parts) {
14150
+ const entries = Object.entries(parts);
14151
+ const named = entries.flatMap(([field, keys]) => Array.isArray(keys) ? keys.map((key) => `${field}.${key}`) : []);
14152
+ const open = entries.filter(([, keys]) => keys === ANY_PART).map(([field]) => z5.string().startsWith(`${field}.`).min(field.length + 2));
14153
+ const [first, ...rest] = named;
14154
+ const name = z5.union([
14155
+ z5.enum(fields),
14156
+ ...first === undefined ? [] : [z5.enum([first, ...rest])],
14157
+ ...open
14158
+ ]);
14159
+ return z5.array(name).superRefine((listed, ctx) => {
14160
+ if (new Set(listed).size !== listed.length)
14161
+ ctx.addIssue({ code: "custom", message: "a field repeats" });
14162
+ for (const entry of listed) {
14163
+ const field = entry.split(".", 1)[0];
14164
+ if (field !== entry && listed.some((other) => other === field)) {
14165
+ ctx.addIssue({ code: "custom", message: `${entry} repeats ${field}` });
14166
+ }
14167
+ }
14168
+ }).default([]);
14135
14169
  }
14136
14170
  var tlsUrlSchema = z5.url().refine((url) => canCarrySecret(url, []));
14137
14171
  var upstreamUrlSchema = z5.url({ protocol: /^https?$/ });
14172
+ function base64Bytes(data) {
14173
+ const padding = data.endsWith("==") ? 2 : data.endsWith("=") ? 1 : 0;
14174
+ return data.length / 4 * 3 - padding;
14175
+ }
14176
+ function fileSources(maxBytes) {
14177
+ return {
14178
+ path: z5.strictObject({ path: z5.string().trim().min(1) }),
14179
+ url: z5.strictObject({ url: upstreamUrlSchema }),
14180
+ data: z5.strictObject({
14181
+ data: z5.base64().refine((data) => base64Bytes(data) <= maxBytes, `larger than ${maxBytes} bytes`)
14182
+ })
14183
+ };
14184
+ }
14138
14185
  var audienceSchema = z5.union([
14139
14186
  z5.literal("all"),
14140
14187
  z5.strictObject({ server: nameSchema }),
@@ -14228,57 +14275,84 @@ var agentSettingsSchema = z6.strictObject({
14228
14275
  subagentsAtOnce: setting(agentLimits.subagentsAtOnce)
14229
14276
  }).prefault({})
14230
14277
  });
14231
- var manifestAgentSchema = z6.strictObject({
14232
- name: nameSchema,
14233
- displayName: displayNameSchema.default({}),
14234
- server: nameSchema.optional(),
14235
- prompt: z6.string().trim().min(1),
14236
- auth: agentAuthSchema,
14237
- models: z6.strictObject({
14238
- chat: modelSchema.optional(),
14239
- vision: modelSchema.omit({ effort: true }).optional(),
14240
- summarization: modelSchema.omit({ effort: true }).optional()
14241
- }).default({}),
14242
- settings: agentSettingsSchema.prefault({}),
14243
- rateLimits: z6.strictObject({
14244
- allUsers: z6.strictObject({
14245
- messagesPerMinute: rateLimit(agentRateLimits.messagesPerMinute, "allUsers"),
14246
- tokensPerDay: rateLimit(agentRateLimits.tokensPerDay, "allUsers")
14247
- }).prefault({}),
14248
- perUser: z6.strictObject({
14249
- messagesPerMinute: rateLimit(agentRateLimits.messagesPerMinute, "perUser"),
14250
- tokensPerDay: rateLimit(agentRateLimits.tokensPerDay, "perUser")
14251
- }).prefault({})
14252
- }).prefault({}),
14253
- suggestions: suggestionsSchema.default(() => byLocale(() => [])),
14254
- greeting: greetingSchema.default(() => byLocale(() => "")),
14255
- overridable: overridable([
14256
- "displayName",
14257
- "prompt",
14258
- "models",
14259
- "settings",
14260
- "rateLimits",
14261
- "suggestions",
14262
- "greeting"
14263
- ])
14264
- }).superRefine((agent, context) => {
14265
- if (agent.server !== undefined)
14266
- return;
14267
- if (agent.auth.kind === "server") {
14268
- context.addIssue({
14269
- code: "custom",
14270
- path: ["auth"],
14271
- message: "server auth needs a server"
14272
- });
14273
- }
14274
- if (agent.models.chat === undefined) {
14275
- context.addIssue({
14276
- code: "custom",
14277
- path: ["models", "chat"],
14278
- message: "an agent with no server names its own chat model"
14279
- });
14280
- }
14278
+ var pickSchema = modelSchema.omit({ effort: true });
14279
+ var agentVoiceSchema = z6.strictObject({
14280
+ mode: z6.enum(VOICE_MODES).default("off"),
14281
+ name: z6.string().trim().max(100).default(""),
14282
+ instructions: z6.string().trim().default(""),
14283
+ model: pickSchema.optional(),
14284
+ transcription: pickSchema.optional(),
14285
+ speech: pickSchema.optional()
14281
14286
  });
14287
+ var AGENT_PARTS = {
14288
+ ...DISPLAY_NAME_PARTS,
14289
+ settings: agentSettingsSchema.keyof().options,
14290
+ voice: agentVoiceSchema.keyof().options,
14291
+ suggestions: LOCALES,
14292
+ greeting: LOCALES
14293
+ };
14294
+ function agentSchema2(icon) {
14295
+ return z6.strictObject({
14296
+ name: nameSchema,
14297
+ displayName: displayNameSchema.default({}),
14298
+ server: nameSchema.optional(),
14299
+ prompt: z6.string().trim().min(1),
14300
+ auth: agentAuthSchema,
14301
+ models: z6.strictObject({
14302
+ chat: modelSchema.optional(),
14303
+ vision: pickSchema.optional(),
14304
+ summarization: pickSchema.optional()
14305
+ }).default({}),
14306
+ voice: agentVoiceSchema.prefault({}),
14307
+ settings: agentSettingsSchema.prefault({}),
14308
+ rateLimits: z6.strictObject({
14309
+ allUsers: z6.strictObject({
14310
+ messagesPerMinute: rateLimit(agentRateLimits.messagesPerMinute, "allUsers"),
14311
+ tokensPerDay: rateLimit(agentRateLimits.tokensPerDay, "allUsers"),
14312
+ voiceMinutesPerDay: rateLimit(agentRateLimits.voiceMinutesPerDay, "allUsers")
14313
+ }).prefault({}),
14314
+ perUser: z6.strictObject({
14315
+ messagesPerMinute: rateLimit(agentRateLimits.messagesPerMinute, "perUser"),
14316
+ tokensPerDay: rateLimit(agentRateLimits.tokensPerDay, "perUser"),
14317
+ voiceMinutesPerDay: rateLimit(agentRateLimits.voiceMinutesPerDay, "perUser")
14318
+ }).prefault({})
14319
+ }).prefault({}),
14320
+ suggestions: suggestionsSchema.default(() => byLocale(() => [])),
14321
+ greeting: greetingSchema.default(() => byLocale(() => "")),
14322
+ icon: icon.optional(),
14323
+ overridable: overridable([
14324
+ "displayName",
14325
+ "prompt",
14326
+ "models",
14327
+ "voice",
14328
+ "settings",
14329
+ "rateLimits",
14330
+ "suggestions",
14331
+ "greeting",
14332
+ "icon"
14333
+ ], AGENT_PARTS)
14334
+ }).superRefine((agent, context) => {
14335
+ if (agent.server !== undefined)
14336
+ return;
14337
+ if (agent.auth.kind === "server") {
14338
+ context.addIssue({
14339
+ code: "custom",
14340
+ path: ["auth"],
14341
+ message: "server auth needs a server"
14342
+ });
14343
+ }
14344
+ if (agent.models.chat === undefined) {
14345
+ context.addIssue({
14346
+ code: "custom",
14347
+ path: ["models", "chat"],
14348
+ message: "an agent with no server names its own chat model"
14349
+ });
14350
+ }
14351
+ });
14352
+ }
14353
+ var iconSources = fileSources(ICON_LIMITS.bytes);
14354
+ var manifestAgentSchema = agentSchema2(z6.union([iconSources.path, iconSources.url, iconSources.data]));
14355
+ var resolvedAgentSchema = agentSchema2(z6.union([iconSources.data, iconSources.url]));
14282
14356
 
14283
14357
  // ../../internal/contracts/src/manifest/datasets.ts
14284
14358
  import { z as z8 } from "zod";
@@ -14361,7 +14435,7 @@ var manifestDatasetHostSchema = z8.strictObject({
14361
14435
  expose: z8.array(datasetIdentifierSchema).min(1).max(500),
14362
14436
  pinned: z8.array(datasetIdentifierSchema).max(50).default([]),
14363
14437
  audience: audienceSchema,
14364
- overridable: overridable(["displayName", "timeoutMs", "rateLimits", "headers"])
14438
+ overridable: overridable(["displayName", "timeoutMs", "rateLimits", "headers"], DISPLAY_NAME_PARTS)
14365
14439
  }).superRefine((host, context) => {
14366
14440
  const unexposed = unexposedPins(host);
14367
14441
  if (unexposed.length > 0) {
@@ -14387,27 +14461,15 @@ function documentType(name) {
14387
14461
  const dot = name.lastIndexOf(".");
14388
14462
  return dot === -1 ? undefined : mimeTypeByExtension.get(name.slice(dot + 1).toLowerCase());
14389
14463
  }
14390
- function base64Bytes(data) {
14391
- const padding = data.endsWith("==") ? 2 : data.endsWith("=") ? 1 : 0;
14392
- return data.length / 4 * 3 - padding;
14393
- }
14394
14464
  var documentNameSchema = z9.string().trim().min(1).max(DOCUMENT_LIMITS.nameLength);
14395
14465
  var textDocumentSchema = z9.strictObject({
14396
14466
  name: documentNameSchema,
14397
14467
  text: z9.string().min(1).refine((text) => new TextEncoder().encode(text).byteLength <= DOCUMENT_LIMITS.bytes, `larger than ${DOCUMENT_LIMITS.bytes} bytes`)
14398
14468
  });
14399
- var pathDocumentSchema = z9.strictObject({
14400
- path: z9.string().trim().min(1),
14401
- name: documentNameSchema.optional()
14402
- });
14403
- var urlDocumentSchema = z9.strictObject({
14404
- url: upstreamUrlSchema,
14405
- name: documentNameSchema.optional()
14406
- });
14407
- var dataDocumentSchema = z9.strictObject({
14408
- name: documentNameSchema,
14409
- data: z9.base64().refine((data) => base64Bytes(data) <= DOCUMENT_LIMITS.bytes, `larger than ${DOCUMENT_LIMITS.bytes} bytes`)
14410
- });
14469
+ var documentSources = fileSources(DOCUMENT_LIMITS.bytes);
14470
+ var pathDocumentSchema = documentSources.path.extend({ name: documentNameSchema.optional() });
14471
+ var urlDocumentSchema = documentSources.url.extend({ name: documentNameSchema.optional() });
14472
+ var dataDocumentSchema = documentSources.data.extend({ name: documentNameSchema });
14411
14473
  function documentName(document) {
14412
14474
  if (document.name !== undefined)
14413
14475
  return document.name;
@@ -14440,6 +14502,10 @@ function documentsSchema(document) {
14440
14502
  });
14441
14503
  }).default([]);
14442
14504
  }
14505
+ var COLLECTION_PARTS = {
14506
+ ...DISPLAY_NAME_PARTS,
14507
+ documents: ANY_PART
14508
+ };
14443
14509
  function collectionSchema(document) {
14444
14510
  return z9.strictObject({
14445
14511
  name: nameSchema,
@@ -14449,7 +14515,7 @@ function collectionSchema(document) {
14449
14515
  citable: z9.boolean().default(true),
14450
14516
  documents: documentsSchema(document),
14451
14517
  audience: audienceSchema,
14452
- overridable: overridable(["displayName", "description", "documents"])
14518
+ overridable: overridable(["displayName", "description", "documents"], COLLECTION_PARTS)
14453
14519
  });
14454
14520
  }
14455
14521
  var manifestDocumentSchema = z9.union([textDocumentSchema, pathDocumentSchema, urlDocumentSchema]);
@@ -14505,7 +14571,7 @@ var manifestMcpServerSchema = z10.strictObject({
14505
14571
  include: mcpToolNamesSchema.default([]),
14506
14572
  exclude: mcpToolNamesSchema.default([]),
14507
14573
  audience: audienceSchema,
14508
- overridable: overridable(["displayName", "include", "exclude", "headers", "signIn"])
14574
+ overridable: overridable(["displayName", "include", "exclude", "headers", "signIn"], DISPLAY_NAME_PARTS)
14509
14575
  }).superRefine((server, context) => {
14510
14576
  const index = authorizationBesideSignIn(server);
14511
14577
  if (index >= 0) {
@@ -14533,7 +14599,7 @@ var manifestServiceSchema = z11.strictObject({
14533
14599
  displayName: displayNameSchema.default({}),
14534
14600
  description: localizedTextSchema,
14535
14601
  audience: audienceSchema,
14536
- overridable: overridable(["displayName", "description"])
14602
+ overridable: overridable(["displayName", "description"], DISPLAY_NAME_PARTS)
14537
14603
  });
14538
14604
 
14539
14605
  // ../../internal/contracts/src/manifest/skills.ts
@@ -14545,7 +14611,7 @@ var manifestSkillSchema = z12.strictObject({
14545
14611
  body: z12.string().trim().min(1),
14546
14612
  service: nameSchema.optional(),
14547
14613
  audience: audienceSchema,
14548
- overridable: overridable(["displayName", "description", "body"])
14614
+ overridable: overridable(["displayName", "description", "body"], DISPLAY_NAME_PARTS)
14549
14615
  });
14550
14616
 
14551
14617
  // ../../internal/contracts/src/manifest/tools.ts
@@ -14721,7 +14787,6 @@ var schemaPropertySchema = z13.lazy(() => z13.strictObject({
14721
14787
  "x-order": propertyOrderSchema,
14722
14788
  items: itemsSchema.optional(),
14723
14789
  "x-sensitive": z13.boolean().optional(),
14724
- "x-displayName": displayNameSchema.optional(),
14725
14790
  "x-source": fieldSourceSchema.optional(),
14726
14791
  "x-target": fieldTargetSchema.optional(),
14727
14792
  ...valueKeywordsSchema.shape,
@@ -14855,6 +14920,7 @@ var EMPTY_OBJECT = { type: "object" };
14855
14920
 
14856
14921
  // ../../internal/contracts/src/manifest/tools.ts
14857
14922
  var toolTagsSchema = z14.array(z14.string().trim().min(1).max(60).regex(/^[^,]*$/, "a tag holds no comma")).max(20);
14923
+ var toolChannelsSchema = z14.array(z14.enum(CHANNELS)).min(1);
14858
14924
  var embedOriginSchema = tlsUrlSchema.overwrite((value) => new URL(value).origin);
14859
14925
  var soapActionSchema = z14.string().regex(/^[^"\\\u0000-\u001f\u007f]*$/);
14860
14926
  var envelopeTemplateSchema = z14.string().refine((template) => template.trim().length > 0);
@@ -14948,6 +15014,7 @@ var TOOL_OVERRIDABLES = [
14948
15014
  "maxResponseBytes",
14949
15015
  "rateLimits",
14950
15016
  "pinned",
15017
+ "channels",
14951
15018
  "tags"
14952
15019
  ];
14953
15020
  var CALLED_TOOL_OVERRIDABLES = [...TOOL_OVERRIDABLES, "headers"];
@@ -14970,15 +15037,16 @@ var toolBaseSchema = z14.strictObject({
14970
15037
  }).prefault({}),
14971
15038
  projectOutput: z14.boolean().default(false),
14972
15039
  pinned: z14.boolean().default(false),
15040
+ channels: toolChannelsSchema.default([...CHANNELS]),
14973
15041
  tags: toolTagsSchema.default([]),
14974
15042
  audience: audienceSchema,
14975
- overridable: overridable(TOOL_OVERRIDABLES)
15043
+ overridable: overridable(TOOL_OVERRIDABLES, DISPLAY_NAME_PARTS)
14976
15044
  });
14977
15045
  var calledToolSchema = toolBaseSchema.extend({
14978
15046
  url: upstreamUrlSchema.refine(confinesEndpointParams, "a {parameter} outside the path or query"),
14979
15047
  headers: headersSchema,
14980
15048
  requiresApproval: z14.boolean().default(false),
14981
- overridable: overridable(CALLED_TOOL_OVERRIDABLES)
15049
+ overridable: overridable(CALLED_TOOL_OVERRIDABLES, DISPLAY_NAME_PARTS)
14982
15050
  });
14983
15051
  var manifestToolSchema = z14.discriminatedUnion("type", [
14984
15052
  calledToolSchema.extend({
@@ -15011,7 +15079,7 @@ var manifestOpenApiSchema = z14.strictObject({
15011
15079
  pinned: toolNamesSchema,
15012
15080
  approval: z14.strictObject({ never: toolNamesSchema, always: toolNamesSchema }).prefault({}).refine(({ never, always }) => !never.some((name) => always.includes(name)), "a tool both never and always needs approval"),
15013
15081
  audience: audienceSchema,
15014
- overridable: overridable(CALLED_TOOL_OVERRIDABLES)
15082
+ overridable: overridable(CALLED_TOOL_OVERRIDABLES, DISPLAY_NAME_PARTS)
15015
15083
  });
15016
15084
 
15017
15085
  // ../../internal/contracts/src/manifest/triggers.ts
@@ -15099,7 +15167,7 @@ var manifestTriggerSchema = z16.strictObject({
15099
15167
  "disableAfterFailures",
15100
15168
  "model",
15101
15169
  "schedule"
15102
- ])
15170
+ ], DISPLAY_NAME_PARTS)
15103
15171
  }).superRefine((trigger, context) => {
15104
15172
  const issues = {
15105
15173
  input: [
@@ -15134,7 +15202,7 @@ var manifestWebhookSchema = z17.strictObject({
15134
15202
  headers: declaredHeadersSchema(presentedHeaderSchema.refine((name) => name.toLowerCase() !== EVENT_HEADER.toLowerCase(), "the header that names the event"), runlessHeaderSourceSchema),
15135
15203
  timeoutMs: setting(SETTING_BOUNDS.webhook.timeoutMs),
15136
15204
  audience: audienceSchema,
15137
- overridable: overridable(["displayName", "description", "timeoutMs", "headers"])
15205
+ overridable: overridable(["displayName", "description", "timeoutMs", "headers"], DISPLAY_NAME_PARTS)
15138
15206
  });
15139
15207
 
15140
15208
  // ../../internal/contracts/src/manifest/manifest.ts
@@ -15155,6 +15223,7 @@ var manifestSchema = z18.strictObject({
15155
15223
  collections: listOf(manifestCollectionSchema)
15156
15224
  });
15157
15225
  var resolvedManifestSchema = manifestSchema.extend({
15226
+ agents: listOf(resolvedAgentSchema),
15158
15227
  collections: listOf(resolvedCollectionSchema)
15159
15228
  });
15160
15229
  var manifestKindSchema = z18.enum(MANIFEST_KINDS);
@@ -15295,6 +15364,7 @@ var managementProcedureKinds = {
15295
15364
  "agents.rollbackPrompt": "mutation",
15296
15365
  "agents.savePrompt": "mutation",
15297
15366
  "agents.saveSettings": "mutation",
15367
+ "agents.setIcon": "mutation",
15298
15368
  "agents.subagentOptions": "query",
15299
15369
  "agents.update": "mutation",
15300
15370
  "audit.filters": "query",
@@ -15350,6 +15420,7 @@ var managementProcedureKinds = {
15350
15420
  "modelProviders.inherited": "query",
15351
15421
  "modelProviders.list": "query",
15352
15422
  "modelProviders.options": "query",
15423
+ "modelProviders.test": "mutation",
15353
15424
  "modelProviders.update": "mutation",
15354
15425
  "observability.getExecution": "query",
15355
15426
  "observability.getExecutionSummary": "query",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m6d/cortex",
3
- "version": "0.15.0",
3
+ "version": "0.17.0",
4
4
  "description": "Cortex for TypeScript backends: serve the server protocol and dataset hosts, fire triggers, and call the management API",
5
5
  "license": "MIT",
6
6
  "type": "module",