@skrr-ai/cli 0.1.53 → 0.1.54

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.
@@ -36918,8 +36918,8 @@ var j;
36918
36918
  var B;
36919
36919
  var G;
36920
36920
  var K = t.z.enum(D);
36921
- var V = t.z.enum(U);
36922
- var H = t.z.object({ rating: V, tag: K, text: t.z.string().max(1024).optional() });
36921
+ var H = t.z.enum(U);
36922
+ var V = t.z.object({ rating: H, tag: K, text: t.z.string().max(1024).optional() });
36923
36923
  var q;
36924
36924
  var Y = t.z.string().guid();
36925
36925
  exports.AuthType = void 0, (q = exports.AuthType || (exports.AuthType = {})).OVERRIDE_AUTH = "override_auth", q.USER_PROVIDED = "user_provided", q.SYSTEM_DEFINED = "system_defined";
@@ -36984,7 +36984,7 @@ var Oe = t.z.object({ messageId: t.z.string(), localId: t.z.string().optional(),
36984
36984
  return (/* @__PURE__ */ new Date()).toISOString();
36985
36985
  }), updatedAt: t.z.string().optional().default(function() {
36986
36986
  return (/* @__PURE__ */ new Date()).toISOString();
36987
- }), current: t.z.boolean().optional(), unfinished: t.z.boolean().optional(), searchResult: t.z.boolean().optional(), finish_reason: t.z.string().optional(), thread_id: t.z.string().optional(), iconURL: t.z.string().nullable().optional(), feedback: H.optional() });
36987
+ }), current: t.z.boolean().optional(), unfinished: t.z.boolean().optional(), searchResult: t.z.boolean().optional(), finish_reason: t.z.string().optional(), thread_id: t.z.string().optional(), iconURL: t.z.string().nullable().optional(), feedback: V.optional() });
36988
36988
  var Me = t.z.union([t.z.number(), t.z.string()]).transform(function(e2) {
36989
36989
  return "string" == typeof e2 ? "" === e2.trim() ? void 0 : parseFloat(e2) : e2;
36990
36990
  });
@@ -37008,8 +37008,8 @@ var Ge = Be.transform(function(e2) {
37008
37008
  return {};
37009
37009
  });
37010
37010
  var Ke = t.z.object({ maxOutputTokens: Me.optional(), temperature: Me.optional(), topP: Me.optional(), topK: Me.optional(), presencePenalty: Me.optional(), frequencyPenalty: Me.optional(), stopSequences: t.z.array(t.z.string()).optional(), thinkingConfig: t.z.object({ includeThoughts: t.z.boolean().optional(), thinkingBudget: Me.optional() }).optional(), web_search: t.z.boolean().optional() }).strip().optional();
37011
- var Ve = ze.pick({ model: true, modelLabel: true, chatGptLabel: true, promptPrefix: true, temperature: true, artifacts: true, top_p: true, presence_penalty: true, frequency_penalty: true, tools: true, agentOptions: true, iconURL: true, greeting: true, spec: true, maxContextTokens: true });
37012
- var He = Ve.transform(function(e2) {
37011
+ var He = ze.pick({ model: true, modelLabel: true, chatGptLabel: true, promptPrefix: true, temperature: true, artifacts: true, top_p: true, presence_penalty: true, frequency_penalty: true, tools: true, agentOptions: true, iconURL: true, greeting: true, spec: true, maxContextTokens: true });
37012
+ var Ve = He.transform(function(e2) {
37013
37013
  var t2, n2, o2, r2, a2, i2, s2, c2, l2, u2, d2, p2, m2, f2, g2 = _(_({}, e2), { model: null !== (t2 = e2.model) && void 0 !== t2 ? t2 : "gpt-3.5-turbo", chatGptLabel: null !== (o2 = null !== (n2 = e2.chatGptLabel) && void 0 !== n2 ? n2 : e2.modelLabel) && void 0 !== o2 ? o2 : null, promptPrefix: null !== (r2 = e2.promptPrefix) && void 0 !== r2 ? r2 : null, temperature: null !== (a2 = e2.temperature) && void 0 !== a2 ? a2 : 0.8, top_p: null !== (i2 = e2.top_p) && void 0 !== i2 ? i2 : 1, presence_penalty: null !== (s2 = e2.presence_penalty) && void 0 !== s2 ? s2 : 0, frequency_penalty: null !== (c2 = e2.frequency_penalty) && void 0 !== c2 ? c2 : 0, tools: null !== (l2 = e2.tools) && void 0 !== l2 ? l2 : [], agentOptions: null !== (u2 = e2.agentOptions) && void 0 !== u2 ? u2 : { agent: exports.EAgent.functions, skipCompletion: true, model: "gpt-3.5-turbo", temperature: 0 }, iconURL: null !== (d2 = e2.iconURL) && void 0 !== d2 ? d2 : void 0, greeting: null !== (p2 = e2.greeting) && void 0 !== p2 ? p2 : void 0, spec: null !== (m2 = e2.spec) && void 0 !== m2 ? m2 : void 0, maxContextTokens: null !== (f2 = e2.maxContextTokens) && void 0 !== f2 ? f2 : void 0 });
37014
37014
  return null != e2.modelLabel && "" !== e2.modelLabel && (g2.modelLabel = null), g2;
37015
37015
  }).catch(function() {
@@ -37061,7 +37061,7 @@ var at = rt.transform(function(e2) {
37061
37061
  }).catch(function() {
37062
37062
  return {};
37063
37063
  });
37064
- var it = Ve.transform(function(e2) {
37064
+ var it = He.transform(function(e2) {
37065
37065
  var t2, n2 = _({}, e2);
37066
37066
  return null === n2.modelLabel && delete n2.modelLabel, null === n2.chatGptLabel && delete n2.chatGptLabel, null === n2.promptPrefix && delete n2.promptPrefix, 0.8 === n2.temperature && delete n2.temperature, 1 === n2.top_p && delete n2.top_p, 0 === n2.presence_penalty && delete n2.presence_penalty, 0 === n2.frequency_penalty && delete n2.frequency_penalty, 0 === (null === (t2 = n2.tools) || void 0 === t2 ? void 0 : t2.length) && delete n2.tools, n2.agentOptions && n2.agentOptions.agent === exports.EAgent.functions && true === n2.agentOptions.skipCompletion && "gpt-3.5-turbo" === n2.agentOptions.model && 0 === n2.agentOptions.temperature && delete n2.agentOptions, qe(n2);
37067
37067
  }).catch(function() {
@@ -37131,8 +37131,8 @@ var Bt;
37131
37131
  var Gt;
37132
37132
  var Kt;
37133
37133
  exports.FileContext = void 0, (jt = exports.FileContext || (exports.FileContext = {})).avatar = "avatar", jt.unknown = "unknown", jt.agents = "agents", jt.assistants = "assistants", jt.execute_code = "execute_code", jt.image_generation = "image_generation", jt.assistants_output = "assistants_output", jt.message_attachment = "message_attachment", jt.groupchat = "groupchat", jt.filename = "filename", jt.updatedAt = "updatedAt", jt.source = "source", jt.filterSource = "filterSource", jt.context = "context", jt.bytes = "bytes", exports.AuthTypeEnum = void 0, (Bt = exports.AuthTypeEnum || (exports.AuthTypeEnum = {})).ServiceHttp = "service_http", Bt.OAuth = "oauth", Bt.None = "none", exports.AuthorizationTypeEnum = void 0, (Gt = exports.AuthorizationTypeEnum || (exports.AuthorizationTypeEnum = {})).Bearer = "bearer", Gt.Basic = "basic", Gt.Custom = "custom", exports.TokenExchangeMethodEnum = void 0, (Kt = exports.TokenExchangeMethodEnum || (exports.TokenExchangeMethodEnum = {})).DefaultPost = "default_post", Kt.BasicAuthHeader = "basic_auth_header";
37134
- var Vt = t.z.object({ startup: t.z.boolean().optional(), iconPath: t.z.string().optional(), timeout: t.z.number().optional(), initTimeout: t.z.number().optional(), chatMenu: t.z.boolean().optional(), serverInstructions: t.z.union([t.z.boolean(), t.z.string()]).optional(), requiresOAuth: t.z.boolean().optional(), oauth: t.z.object({ authorization_url: t.z.string().url().optional(), token_url: t.z.string().url().optional(), client_id: t.z.string().optional(), client_secret: t.z.string().optional(), scope: t.z.string().optional(), redirect_uri: t.z.string().url().optional(), token_exchange_method: t.z.enum(exports.TokenExchangeMethodEnum).optional(), grant_types_supported: t.z.array(t.z.string()).optional(), token_endpoint_auth_methods_supported: t.z.array(t.z.string()).optional(), response_types_supported: t.z.array(t.z.string()).optional(), code_challenge_methods_supported: t.z.array(t.z.string()).optional(), revocation_endpoint: t.z.string().url().optional(), revocation_endpoint_auth_methods_supported: t.z.array(t.z.string()).optional() }).optional(), oauth_headers: t.z.record(t.z.string(), t.z.string()).optional(), customUserVars: t.z.record(t.z.string(), t.z.object({ title: t.z.string(), description: t.z.string() })).optional() });
37135
- var Ht = Vt.extend({ type: t.z.literal("stdio").optional(), command: t.z.string(), args: t.z.array(t.z.string()), env: t.z.record(t.z.string(), t.z.string()).optional().transform(function(e2) {
37134
+ var Ht = t.z.object({ startup: t.z.boolean().optional(), iconPath: t.z.string().optional(), timeout: t.z.number().optional(), initTimeout: t.z.number().optional(), chatMenu: t.z.boolean().optional(), serverInstructions: t.z.union([t.z.boolean(), t.z.string()]).optional(), requiresOAuth: t.z.boolean().optional(), oauth: t.z.object({ authorization_url: t.z.string().url().optional(), token_url: t.z.string().url().optional(), client_id: t.z.string().optional(), client_secret: t.z.string().optional(), scope: t.z.string().optional(), redirect_uri: t.z.string().url().optional(), token_exchange_method: t.z.enum(exports.TokenExchangeMethodEnum).optional(), grant_types_supported: t.z.array(t.z.string()).optional(), token_endpoint_auth_methods_supported: t.z.array(t.z.string()).optional(), response_types_supported: t.z.array(t.z.string()).optional(), code_challenge_methods_supported: t.z.array(t.z.string()).optional(), revocation_endpoint: t.z.string().url().optional(), revocation_endpoint_auth_methods_supported: t.z.array(t.z.string()).optional() }).optional(), oauth_headers: t.z.record(t.z.string(), t.z.string()).optional(), customUserVars: t.z.record(t.z.string(), t.z.object({ title: t.z.string(), description: t.z.string() })).optional() });
37135
+ var Vt = Ht.extend({ type: t.z.literal("stdio").optional(), command: t.z.string(), args: t.z.array(t.z.string()), env: t.z.record(t.z.string(), t.z.string()).optional().transform(function(e2) {
37136
37136
  if (!e2) return e2;
37137
37137
  for (var t2 = {}, n2 = 0, o2 = Object.entries(e2); n2 < o2.length; n2++) {
37138
37138
  var r2 = o2[n2], a2 = r2[0], i2 = r2[1];
@@ -37140,25 +37140,25 @@ var Ht = Vt.extend({ type: t.z.literal("stdio").optional(), command: t.z.string(
37140
37140
  }
37141
37141
  return t2;
37142
37142
  }), stderr: t.z.any().optional() });
37143
- var qt = Vt.extend({ type: t.z.literal("websocket").optional(), url: t.z.string().transform(function(e2) {
37143
+ var qt = Ht.extend({ type: t.z.literal("websocket").optional(), url: t.z.string().transform(function(e2) {
37144
37144
  return C(e2);
37145
37145
  }).pipe(t.z.string().url()).refine(function(e2) {
37146
37146
  var t2 = new URL(e2).protocol;
37147
37147
  return "ws:" === t2 || "wss:" === t2;
37148
37148
  }, { message: "WebSocket URL must start with ws:// or wss://" }) });
37149
- var Yt = Vt.extend({ type: t.z.literal("sse").optional(), headers: t.z.record(t.z.string(), t.z.string()).optional(), url: t.z.string().transform(function(e2) {
37149
+ var Yt = Ht.extend({ type: t.z.literal("sse").optional(), headers: t.z.record(t.z.string(), t.z.string()).optional(), url: t.z.string().transform(function(e2) {
37150
37150
  return C(e2);
37151
37151
  }).pipe(t.z.string().url()).refine(function(e2) {
37152
37152
  var t2 = new URL(e2).protocol;
37153
37153
  return "ws:" !== t2 && "wss:" !== t2;
37154
37154
  }, { message: "SSE URL must not start with ws:// or wss://" }) });
37155
- var Xt = Vt.extend({ type: t.z.union([t.z.literal("streamable-http"), t.z.literal("http")]), headers: t.z.record(t.z.string(), t.z.string()).optional(), url: t.z.string().transform(function(e2) {
37155
+ var Xt = Ht.extend({ type: t.z.union([t.z.literal("streamable-http"), t.z.literal("http")]), headers: t.z.record(t.z.string(), t.z.string()).optional(), url: t.z.string().transform(function(e2) {
37156
37156
  return C(e2);
37157
37157
  }).pipe(t.z.string().url()).refine(function(e2) {
37158
37158
  var t2 = new URL(e2).protocol;
37159
37159
  return "ws:" !== t2 && "wss:" !== t2;
37160
37160
  }, { message: "Streamable HTTP URL must not start with ws:// or wss://" }) });
37161
- var Qt = t.z.union([Ht, qt, Yt, Xt]);
37161
+ var Qt = t.z.union([Vt, qt, Yt, Xt]);
37162
37162
  var Zt = t.z.record(t.z.string(), Qt);
37163
37163
  var Jt = "";
37164
37164
  if ("undefined" != typeof document) try {
@@ -37291,10 +37291,10 @@ var Gn = function() {
37291
37291
  var Kn = function() {
37292
37292
  return "".concat(zn(), "/actions");
37293
37293
  };
37294
- var Vn = function(e2) {
37294
+ var Hn = function(e2) {
37295
37295
  return "".concat(Kn(), "/").concat(encodeURIComponent(e2));
37296
37296
  };
37297
- var Hn = function() {
37297
+ var Vn = function() {
37298
37298
  return "".concat(zn(), "/avatar-library");
37299
37299
  };
37300
37300
  var qn = function() {
@@ -37448,20 +37448,20 @@ var Go = function() {
37448
37448
  var Ko = function() {
37449
37449
  return "".concat(Jt, "/api/memories");
37450
37450
  };
37451
- var Vo = function() {
37451
+ var Ho = function() {
37452
37452
  return "".concat(Ko(), "/daily-logs");
37453
37453
  };
37454
- var Ho = function(e2) {
37454
+ var Vo = function(e2) {
37455
37455
  return "".concat(Jt, "/api/agents/").concat(encodeURIComponent(e2), "/memories");
37456
37456
  };
37457
37457
  var qo = function(e2) {
37458
- return "".concat(Ho(e2), "/governance");
37458
+ return "".concat(Vo(e2), "/governance");
37459
37459
  };
37460
37460
  var Yo = function(e2) {
37461
- return "".concat(Ho(e2), "/daily-logs");
37461
+ return "".concat(Vo(e2), "/daily-logs");
37462
37462
  };
37463
37463
  var Xo = function(e2) {
37464
- return "".concat(Ho(e2), "/workspace");
37464
+ return "".concat(Vo(e2), "/workspace");
37465
37465
  };
37466
37466
  var Qo = function(e2) {
37467
37467
  return "".concat(Xo(e2), "/proposals");
@@ -37616,10 +37616,10 @@ var Gr = function(e2, t2) {
37616
37616
  var Kr = function(e2, t2) {
37617
37617
  return "".concat(Gr(e2, t2), "/versions");
37618
37618
  };
37619
- var Vr = function(e2) {
37619
+ var Hr = function(e2) {
37620
37620
  return "".concat(hr(), "/").concat(encodeURIComponent(e2), "/start-all");
37621
37621
  };
37622
- var Hr = function(e2) {
37622
+ var Vr = function(e2) {
37623
37623
  return "".concat(hr(), "/").concat(encodeURIComponent(e2), "/comments");
37624
37624
  };
37625
37625
  var qr = function(e2) {
@@ -37784,11 +37784,11 @@ var Ga = function(e2) {
37784
37784
  var Ka = function(e2) {
37785
37785
  return "".concat(Ba(), "/").concat(encodeURIComponent(e2));
37786
37786
  };
37787
- var Va = function() {
37787
+ var Ha = function() {
37788
37788
  return "".concat(Jt, "/api/space-directory-views");
37789
37789
  };
37790
- var Ha = function(e2) {
37791
- return "".concat(Va(), "/").concat(encodeURIComponent(e2));
37790
+ var Va = function(e2) {
37791
+ return "".concat(Ha(), "/").concat(encodeURIComponent(e2));
37792
37792
  };
37793
37793
  var qa = function() {
37794
37794
  return "".concat(Jt, "/api/work-views");
@@ -37952,10 +37952,10 @@ var Gi = function(e2) {
37952
37952
  var Ki = function(e2) {
37953
37953
  return "".concat(Fi(e2), "/channels");
37954
37954
  };
37955
- var Vi = function(e2, t2) {
37955
+ var Hi = function(e2, t2) {
37956
37956
  return "".concat(Ki(e2), "/").concat(encodeURIComponent(t2));
37957
37957
  };
37958
- var Hi = function(e2) {
37958
+ var Vi = function(e2) {
37959
37959
  return "".concat(Fi(e2), "/tools");
37960
37960
  };
37961
37961
  var qi = function(e2) {
@@ -38121,11 +38121,11 @@ var Gs = function() {
38121
38121
  var Ks = function() {
38122
38122
  return "".concat(Jt, "/api/integrations");
38123
38123
  };
38124
- var Vs = function(e2, t2) {
38124
+ var Hs = function(e2, t2) {
38125
38125
  var n2 = "".concat(Ks(), "/agents/").concat(encodeURIComponent(e2), "/connections");
38126
38126
  return t2 ? "".concat(n2, "?provider=").concat(encodeURIComponent(t2)) : n2;
38127
38127
  };
38128
- var Hs = function(e2, t2, n2) {
38128
+ var Vs = function(e2, t2, n2) {
38129
38129
  var o2 = "".concat(Ks(), "/agents/").concat(encodeURIComponent(e2), "/connections/").concat(encodeURIComponent(t2), "/tools");
38130
38130
  return n2 ? "".concat(o2, "?provider=").concat(encodeURIComponent(n2)) : o2;
38131
38131
  };
@@ -38223,13 +38223,13 @@ var jc;
38223
38223
  var Bc;
38224
38224
  var Gc;
38225
38225
  var Kc;
38226
- var Vc;
38227
- var Hc = t.z.object({ externalUrl: t.z.string().optional(), openNewTab: t.z.boolean().optional(), modalAcceptance: t.z.boolean().optional(), modalTitle: t.z.string().optional(), modalContent: t.z.string().or(t.z.array(t.z.string())).optional() });
38226
+ var Hc;
38227
+ var Vc = t.z.object({ externalUrl: t.z.string().optional(), openNewTab: t.z.boolean().optional(), modalAcceptance: t.z.boolean().optional(), modalTitle: t.z.string().optional(), modalContent: t.z.string().or(t.z.array(t.z.string())).optional() });
38228
38228
  var qc = t.z.object({ placeholder: t.z.string().optional() });
38229
- var Yc = t.z.object({ privacyPolicy: t.z.object({ externalUrl: t.z.string().optional(), openNewTab: t.z.boolean().optional() }).optional(), termsOfService: Hc.optional(), customWelcome: t.z.string().optional(), mcpServers: qc.optional(), endpointsMenu: t.z.boolean().optional(), modelSelect: t.z.boolean().optional(), parameters: t.z.boolean().optional(), sidePanel: t.z.boolean().optional(), multiConvo: t.z.boolean().optional(), bookmarks: t.z.boolean().optional(), memories: t.z.boolean().optional(), presets: t.z.boolean().optional(), prompts: t.z.boolean().optional(), agents: t.z.boolean().optional(), temporaryChat: t.z.boolean().optional(), temporaryChatRetention: t.z.number().min(1).max(8760).optional(), runCode: t.z.boolean().optional(), webSearch: t.z.boolean().optional(), peoplePicker: t.z.object({ users: t.z.boolean().optional(), groups: t.z.boolean().optional(), roles: t.z.boolean().optional() }).optional(), marketplace: t.z.object({ use: t.z.boolean().optional() }).optional(), fileSearch: t.z.boolean().optional(), fileCitations: t.z.boolean().optional() }).default({ endpointsMenu: true, modelSelect: true, parameters: true, sidePanel: true, presets: true, multiConvo: true, bookmarks: true, memories: true, prompts: true, agents: true, temporaryChat: true, runCode: false, webSearch: true, peoplePicker: { users: true, groups: true, roles: true }, marketplace: { use: false }, fileSearch: true, fileCitations: true });
38229
+ var Yc = t.z.object({ privacyPolicy: t.z.object({ externalUrl: t.z.string().optional(), openNewTab: t.z.boolean().optional() }).optional(), termsOfService: Vc.optional(), customWelcome: t.z.string().optional(), mcpServers: qc.optional(), endpointsMenu: t.z.boolean().optional(), modelSelect: t.z.boolean().optional(), parameters: t.z.boolean().optional(), sidePanel: t.z.boolean().optional(), multiConvo: t.z.boolean().optional(), bookmarks: t.z.boolean().optional(), memories: t.z.boolean().optional(), presets: t.z.boolean().optional(), prompts: t.z.boolean().optional(), agents: t.z.boolean().optional(), temporaryChat: t.z.boolean().optional(), temporaryChatRetention: t.z.number().min(1).max(8760).optional(), runCode: t.z.boolean().optional(), webSearch: t.z.boolean().optional(), peoplePicker: t.z.object({ users: t.z.boolean().optional(), groups: t.z.boolean().optional(), roles: t.z.boolean().optional() }).optional(), marketplace: t.z.object({ use: t.z.boolean().optional() }).optional(), fileSearch: t.z.boolean().optional(), fileCitations: t.z.boolean().optional() }).default({ endpointsMenu: true, modelSelect: true, parameters: true, sidePanel: true, presets: true, multiConvo: true, bookmarks: true, memories: true, prompts: true, agents: true, temporaryChat: true, runCode: false, webSearch: true, peoplePicker: { users: true, groups: true, roles: true }, marketplace: { use: false }, fileSearch: true, fileCitations: true });
38230
38230
  var Xc = t.z.object({ language: t.z.string().default("auto"), size: t.z.enum(["normal", "compact", "flexible", "invisible"]).default("normal") }).default({ language: "auto", size: "normal" });
38231
38231
  var Qc = t.z.object({ siteKey: t.z.string(), options: Xc.optional() });
38232
- exports.OCRStrategy = void 0, (Wc = exports.OCRStrategy || (exports.OCRStrategy = {})).MISTRAL_OCR = "mistral_ocr", Wc.CUSTOM_OCR = "custom_ocr", Wc.AZURE_MISTRAL_OCR = "azure_mistral_ocr", Wc.VERTEXAI_MISTRAL_OCR = "vertexai_mistral_ocr", exports.SearchCategories = void 0, (jc = exports.SearchCategories || (exports.SearchCategories = {})).PROVIDERS = "providers", jc.SCRAPERS = "scrapers", jc.RERANKERS = "rerankers", exports.SearchProviders = void 0, (Bc = exports.SearchProviders || (exports.SearchProviders = {})).SERPER = "serper", Bc.SEARXNG = "searxng", exports.ScraperProviders = void 0, (Gc = exports.ScraperProviders || (exports.ScraperProviders = {})).FIRECRAWL = "firecrawl", Gc.SERPER = "serper", exports.RerankerTypes = void 0, (Kc = exports.RerankerTypes || (exports.RerankerTypes = {})).JINA = "jina", Kc.COHERE = "cohere", exports.SafeSearchTypes = void 0, (Vc = exports.SafeSearchTypes || (exports.SafeSearchTypes = {}))[Vc.OFF = 0] = "OFF", Vc[Vc.MODERATE = 1] = "MODERATE", Vc[Vc.STRICT = 2] = "STRICT";
38232
+ exports.OCRStrategy = void 0, (Wc = exports.OCRStrategy || (exports.OCRStrategy = {})).MISTRAL_OCR = "mistral_ocr", Wc.CUSTOM_OCR = "custom_ocr", Wc.AZURE_MISTRAL_OCR = "azure_mistral_ocr", Wc.VERTEXAI_MISTRAL_OCR = "vertexai_mistral_ocr", exports.SearchCategories = void 0, (jc = exports.SearchCategories || (exports.SearchCategories = {})).PROVIDERS = "providers", jc.SCRAPERS = "scrapers", jc.RERANKERS = "rerankers", exports.SearchProviders = void 0, (Bc = exports.SearchProviders || (exports.SearchProviders = {})).SERPER = "serper", Bc.SEARXNG = "searxng", exports.ScraperProviders = void 0, (Gc = exports.ScraperProviders || (exports.ScraperProviders = {})).FIRECRAWL = "firecrawl", Gc.SERPER = "serper", exports.RerankerTypes = void 0, (Kc = exports.RerankerTypes || (exports.RerankerTypes = {})).JINA = "jina", Kc.COHERE = "cohere", exports.SafeSearchTypes = void 0, (Hc = exports.SafeSearchTypes || (exports.SafeSearchTypes = {}))[Hc.OFF = 0] = "OFF", Hc[Hc.MODERATE = 1] = "MODERATE", Hc[Hc.STRICT = 2] = "STRICT";
38233
38233
  var Zc;
38234
38234
  var Jc = t.z.object({ serperApiKey: t.z.string().optional().default("${SERPER_API_KEY}"), searxngInstanceUrl: t.z.string().optional().default("${SEARXNG_INSTANCE_URL}"), searxngApiKey: t.z.string().optional().default("${SEARXNG_API_KEY}"), firecrawlApiKey: t.z.string().optional().default("${FIRECRAWL_API_KEY}"), firecrawlApiUrl: t.z.string().optional().default("${FIRECRAWL_API_URL}"), firecrawlVersion: t.z.string().optional().default("${FIRECRAWL_VERSION}"), jinaApiKey: t.z.string().optional().default("${JINA_API_KEY}"), jinaApiUrl: t.z.string().optional().default("${JINA_API_URL}"), cohereApiKey: t.z.string().optional().default("${COHERE_API_KEY}"), searchProvider: t.z.enum(exports.SearchProviders).optional(), scraperProvider: t.z.enum(exports.ScraperProviders).optional(), rerankerType: t.z.enum(exports.RerankerTypes).optional(), scraperTimeout: t.z.number().optional(), safeSearch: t.z.enum(exports.SafeSearchTypes).default(exports.SafeSearchTypes.MODERATE), firecrawlOptions: t.z.object({ formats: t.z.array(t.z.string()).optional(), includeTags: t.z.array(t.z.string()).optional(), excludeTags: t.z.array(t.z.string()).optional(), headers: t.z.record(t.z.string(), t.z.string()).optional(), waitFor: t.z.number().optional(), timeout: t.z.number().optional(), maxAge: t.z.number().optional(), mobile: t.z.boolean().optional(), skipTlsVerification: t.z.boolean().optional(), blockAds: t.z.boolean().optional(), removeBase64Images: t.z.boolean().optional(), parsePDF: t.z.boolean().optional(), storeInCache: t.z.boolean().optional(), zeroDataRetention: t.z.boolean().optional(), location: t.z.object({ country: t.z.string().optional(), languages: t.z.array(t.z.string()).optional() }).optional(), onlyMainContent: t.z.boolean().optional(), changeTrackingOptions: t.z.object({ modes: t.z.array(t.z.string()).optional(), schema: t.z.record(t.z.string(), t.z.unknown()).optional(), prompt: t.z.string().optional(), tag: t.z.string().nullable().optional() }).optional() }).optional() });
38235
38235
  var $c = t.z.object({ mistralModel: t.z.string().optional(), apiKey: t.z.string().optional().default("${OCR_API_KEY}"), baseURL: t.z.string().optional().default("${OCR_BASEURL}"), strategy: t.z.enum(exports.OCRStrategy).default(exports.OCRStrategy.MISTRAL_OCR) });
@@ -38300,8 +38300,8 @@ var jl = ze.pick({ modelLabel: true, promptPrefix: true, resendFiles: true, icon
38300
38300
  });
38301
38301
  var Bl;
38302
38302
  var Gl;
38303
- var Kl = ((Bl = {})[exports.EModelEndpoint.openAI] = nt, Bl[exports.EModelEndpoint.azureOpenAI] = nt, Bl[exports.EModelEndpoint.custom] = nt, Bl[exports.EModelEndpoint.google] = Ge, Bl[exports.EModelEndpoint.anthropic] = at, Bl[exports.EModelEndpoint.gptPlugins] = He, Bl[exports.EModelEndpoint.agents] = lt, Bl[exports.EModelEndpoint.agentic] = lt, Bl[exports.EModelEndpoint.bedrock] = Wl, Bl);
38304
- function Vl() {
38303
+ var Kl = ((Bl = {})[exports.EModelEndpoint.openAI] = nt, Bl[exports.EModelEndpoint.azureOpenAI] = nt, Bl[exports.EModelEndpoint.custom] = nt, Bl[exports.EModelEndpoint.google] = Ge, Bl[exports.EModelEndpoint.anthropic] = at, Bl[exports.EModelEndpoint.gptPlugins] = Ve, Bl[exports.EModelEndpoint.agents] = lt, Bl[exports.EModelEndpoint.agentic] = lt, Bl[exports.EModelEndpoint.bedrock] = Wl, Bl);
38304
+ function Hl() {
38305
38305
  var e2, t2 = [exports.EModelEndpoint.openAI, exports.EModelEndpoint.agents, exports.EModelEndpoint.agentic, exports.EModelEndpoint.azureOpenAI, exports.EModelEndpoint.google, exports.EModelEndpoint.chatGPTBrowser, exports.EModelEndpoint.gptPlugins, exports.EModelEndpoint.anthropic, exports.EModelEndpoint.bedrock], n2 = null !== (e2 = process.env.ENDPOINTS) && void 0 !== e2 ? e2 : "", o2 = t2;
38306
38306
  return n2 && (o2 = n2.split(",").filter(function(e3) {
38307
38307
  return e3.trim();
@@ -38309,7 +38309,7 @@ function Vl() {
38309
38309
  return e3.trim();
38310
38310
  })), o2;
38311
38311
  }
38312
- function Hl(e2) {
38312
+ function Vl(e2) {
38313
38313
  return e2.map(function(e3) {
38314
38314
  var t2 = e3.path.join("."), n2 = e3.message;
38315
38315
  return "".concat(t2, ": ").concat(n2);
@@ -38540,7 +38540,7 @@ Button.displayName = "Button"
38540
38540
  export { Button, buttonVariants }
38541
38541
  `;
38542
38542
  var Ku = 'import * as React from "react"\nimport { ChevronLeft, ChevronRight } from "lucide-react"\nimport { DayPicker } from "react-day-picker"\n\nimport { cn } from "../../lib/utils"\nimport { buttonVariants } from "./button"\n\nexport type CalendarProps = React.ComponentProps<typeof DayPicker>\n\nfunction Calendar({\n className,\n classNames,\n showOutsideDays = true,\n ...props\n}: CalendarProps) {\n return (\n <DayPicker\n showOutsideDays={showOutsideDays}\n className={cn("p-3", className)}\n classNames={{\n months: "flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",\n month: "space-y-4",\n caption: "flex justify-center pt-1 relative items-center",\n caption_label: "text-sm font-medium",\n nav: "space-x-1 flex items-center",\n nav_button: cn(\n buttonVariants({ variant: "outline" }),\n "h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"\n ),\n nav_button_previous: "absolute left-1",\n nav_button_next: "absolute right-1",\n table: "w-full border-collapse space-y-1",\n head_row: "flex",\n head_cell:\n "text-gray-500 rounded-md w-9 font-normal text-[0.8rem] dark:text-gray-400",\n row: "flex w-full mt-2",\n cell: "h-9 w-9 text-center text-sm p-0 relative [&:has([aria-selected].day-range-end)]:rounded-r-md [&:has([aria-selected].day-outside)]:bg-gray-100/50 [&:has([aria-selected])]:bg-gray-100 first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20 dark:[&:has([aria-selected].day-outside)]:bg-gray-800/50 dark:[&:has([aria-selected])]:bg-gray-800",\n day: cn(\n buttonVariants({ variant: "ghost" }),\n "h-9 w-9 p-0 font-normal aria-selected:opacity-100"\n ),\n day_range_end: "day-range-end",\n day_selected:\n "bg-gray-900 text-gray-50 hover:bg-gray-900 hover:text-gray-50 focus:bg-gray-900 focus:text-gray-50 dark:bg-gray-50 dark:text-gray-900 dark:hover:bg-gray-50 dark:hover:text-gray-900 dark:focus:bg-gray-50 dark:focus:text-gray-900",\n day_today: "bg-gray-100 text-gray-900 dark:bg-gray-800 dark:text-gray-50",\n day_outside:\n "day-outside text-gray-500 opacity-50 aria-selected:bg-gray-100/50 aria-selected:text-gray-500 aria-selected:opacity-30 dark:text-gray-400 dark:aria-selected:bg-gray-800/50 dark:aria-selected:text-gray-400",\n day_disabled: "text-gray-500 opacity-50 dark:text-gray-400",\n day_range_middle:\n "aria-selected:bg-gray-100 aria-selected:text-gray-900 dark:aria-selected:bg-gray-800 dark:aria-selected:text-gray-50",\n day_hidden: "invisible",\n ...classNames,\n }}\n components={{\n IconLeft: ({ ...props }) => <ChevronLeft className="h-4 w-4" />,\n IconRight: ({ ...props }) => <ChevronRight className="h-4 w-4" />,\n }}\n {...props}\n />\n )\n}\nCalendar.displayName = "Calendar"\n\nexport { Calendar }\n\n';
38543
- var Vu = `import * as React from 'react';
38543
+ var Hu = `import * as React from 'react';
38544
38544
 
38545
38545
  import { cn } from '../../lib/utils';
38546
38546
 
@@ -38620,7 +38620,7 @@ CardFooter.displayName = "CardFooter"
38620
38620
 
38621
38621
  export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent }
38622
38622
  `;
38623
- var Hu = 'import * as React from "react"\nimport useEmblaCarousel, {\n type UseEmblaCarouselType,\n} from "embla-carousel-react"\nimport { ArrowLeft, ArrowRight } from "lucide-react"\n\nimport { cn } from "../../lib/utils"\nimport { Button } from "./button"\n\ntype CarouselApi = UseEmblaCarouselType[1]\ntype UseCarouselParameters = Parameters<typeof useEmblaCarousel>\ntype CarouselOptions = UseCarouselParameters[0]\ntype CarouselPlugin = UseCarouselParameters[1]\n\ntype CarouselProps = {\n opts?: CarouselOptions\n plugins?: CarouselPlugin\n orientation?: "horizontal" | "vertical"\n setApi?: (api: CarouselApi) => void\n}\n\ntype CarouselContextProps = {\n carouselRef: ReturnType<typeof useEmblaCarousel>[0]\n api: ReturnType<typeof useEmblaCarousel>[1]\n scrollPrev: () => void\n scrollNext: () => void\n canScrollPrev: boolean\n canScrollNext: boolean\n} & CarouselProps\n\nconst CarouselContext = React.createContext<CarouselContextProps | null>(null)\n\nfunction useCarousel() {\n const context = React.useContext(CarouselContext)\n\n if (!context) {\n throw new Error("useCarousel must be used within a <Carousel />")\n }\n\n return context\n}\n\nconst Carousel = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement> & CarouselProps\n>(\n (\n {\n orientation = "horizontal",\n opts,\n setApi,\n plugins,\n className,\n children,\n ...props\n },\n ref\n ) => {\n const [carouselRef, api] = useEmblaCarousel(\n {\n ...opts,\n axis: orientation === "horizontal" ? "x" : "y",\n },\n plugins\n )\n const [canScrollPrev, setCanScrollPrev] = React.useState(false)\n const [canScrollNext, setCanScrollNext] = React.useState(false)\n\n const onSelect = React.useCallback((api: CarouselApi) => {\n if (!api) {\n return\n }\n\n setCanScrollPrev(api.canScrollPrev())\n setCanScrollNext(api.canScrollNext())\n }, [])\n\n const scrollPrev = React.useCallback(() => {\n api?.scrollPrev()\n }, [api])\n\n const scrollNext = React.useCallback(() => {\n api?.scrollNext()\n }, [api])\n\n const handleKeyDown = React.useCallback(\n (event: React.KeyboardEvent<HTMLDivElement>) => {\n if (event.key === "ArrowLeft") {\n event.preventDefault()\n scrollPrev()\n } else if (event.key === "ArrowRight") {\n event.preventDefault()\n scrollNext()\n }\n },\n [scrollPrev, scrollNext]\n )\n\n React.useEffect(() => {\n if (!api || !setApi) {\n return\n }\n\n setApi(api)\n }, [api, setApi])\n\n React.useEffect(() => {\n if (!api) {\n return\n }\n\n onSelect(api)\n api.on("reInit", onSelect)\n api.on("select", onSelect)\n\n return () => {\n api?.off("select", onSelect)\n }\n }, [api, onSelect])\n\n return (\n <CarouselContext.Provider\n value={{\n carouselRef,\n api: api,\n opts,\n orientation:\n orientation || (opts?.axis === "y" ? "vertical" : "horizontal"),\n scrollPrev,\n scrollNext,\n canScrollPrev,\n canScrollNext,\n }}\n >\n <div\n ref={ref}\n onKeyDownCapture={handleKeyDown}\n className={cn("relative", className)}\n role="region"\n aria-roledescription="carousel"\n {...props}\n >\n {children}\n </div>\n </CarouselContext.Provider>\n )\n }\n)\nCarousel.displayName = "Carousel"\n\nconst CarouselContent = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => {\n const { carouselRef, orientation } = useCarousel()\n\n return (\n <div ref={carouselRef} className="overflow-hidden">\n <div\n ref={ref}\n className={cn(\n "flex",\n orientation === "horizontal" ? "-ml-4" : "-mt-4 flex-col",\n className\n )}\n {...props}\n />\n </div>\n )\n})\nCarouselContent.displayName = "CarouselContent"\n\nconst CarouselItem = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => {\n const { orientation } = useCarousel()\n\n return (\n <div\n ref={ref}\n role="group"\n aria-roledescription="slide"\n className={cn(\n "min-w-0 shrink-0 grow-0 basis-full",\n orientation === "horizontal" ? "pl-4" : "pt-4",\n className\n )}\n {...props}\n />\n )\n})\nCarouselItem.displayName = "CarouselItem"\n\nconst CarouselPrevious = React.forwardRef<\n HTMLButtonElement,\n React.ComponentProps<typeof Button>\n>(({ className, variant = "outline", size = "icon", ...props }, ref) => {\n const { orientation, scrollPrev, canScrollPrev } = useCarousel()\n\n return (\n <Button\n ref={ref}\n variant={variant}\n size={size}\n className={cn(\n "absolute h-8 w-8 rounded-full",\n orientation === "horizontal"\n ? "-left-12 top-1/2 -translate-y-1/2"\n : "-top-12 left-1/2 -translate-x-1/2 rotate-90",\n className\n )}\n disabled={!canScrollPrev}\n onClick={scrollPrev}\n {...props}\n >\n <ArrowLeft className="h-4 w-4" />\n <span className="sr-only">Previous slide</span>\n </Button>\n )\n})\nCarouselPrevious.displayName = "CarouselPrevious"\n\nconst CarouselNext = React.forwardRef<\n HTMLButtonElement,\n React.ComponentProps<typeof Button>\n>(({ className, variant = "outline", size = "icon", ...props }, ref) => {\n const { orientation, scrollNext, canScrollNext } = useCarousel()\n\n return (\n <Button\n ref={ref}\n variant={variant}\n size={size}\n className={cn(\n "absolute h-8 w-8 rounded-full",\n orientation === "horizontal"\n ? "-right-12 top-1/2 -translate-y-1/2"\n : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",\n className\n )}\n disabled={!canScrollNext}\n onClick={scrollNext}\n {...props}\n >\n <ArrowRight className="h-4 w-4" />\n <span className="sr-only">Next slide</span>\n </Button>\n )\n})\nCarouselNext.displayName = "CarouselNext"\n\nexport {\n type CarouselApi,\n Carousel,\n CarouselContent,\n CarouselItem,\n CarouselPrevious,\n CarouselNext,\n}\n\n';
38623
+ var Vu = 'import * as React from "react"\nimport useEmblaCarousel, {\n type UseEmblaCarouselType,\n} from "embla-carousel-react"\nimport { ArrowLeft, ArrowRight } from "lucide-react"\n\nimport { cn } from "../../lib/utils"\nimport { Button } from "./button"\n\ntype CarouselApi = UseEmblaCarouselType[1]\ntype UseCarouselParameters = Parameters<typeof useEmblaCarousel>\ntype CarouselOptions = UseCarouselParameters[0]\ntype CarouselPlugin = UseCarouselParameters[1]\n\ntype CarouselProps = {\n opts?: CarouselOptions\n plugins?: CarouselPlugin\n orientation?: "horizontal" | "vertical"\n setApi?: (api: CarouselApi) => void\n}\n\ntype CarouselContextProps = {\n carouselRef: ReturnType<typeof useEmblaCarousel>[0]\n api: ReturnType<typeof useEmblaCarousel>[1]\n scrollPrev: () => void\n scrollNext: () => void\n canScrollPrev: boolean\n canScrollNext: boolean\n} & CarouselProps\n\nconst CarouselContext = React.createContext<CarouselContextProps | null>(null)\n\nfunction useCarousel() {\n const context = React.useContext(CarouselContext)\n\n if (!context) {\n throw new Error("useCarousel must be used within a <Carousel />")\n }\n\n return context\n}\n\nconst Carousel = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement> & CarouselProps\n>(\n (\n {\n orientation = "horizontal",\n opts,\n setApi,\n plugins,\n className,\n children,\n ...props\n },\n ref\n ) => {\n const [carouselRef, api] = useEmblaCarousel(\n {\n ...opts,\n axis: orientation === "horizontal" ? "x" : "y",\n },\n plugins\n )\n const [canScrollPrev, setCanScrollPrev] = React.useState(false)\n const [canScrollNext, setCanScrollNext] = React.useState(false)\n\n const onSelect = React.useCallback((api: CarouselApi) => {\n if (!api) {\n return\n }\n\n setCanScrollPrev(api.canScrollPrev())\n setCanScrollNext(api.canScrollNext())\n }, [])\n\n const scrollPrev = React.useCallback(() => {\n api?.scrollPrev()\n }, [api])\n\n const scrollNext = React.useCallback(() => {\n api?.scrollNext()\n }, [api])\n\n const handleKeyDown = React.useCallback(\n (event: React.KeyboardEvent<HTMLDivElement>) => {\n if (event.key === "ArrowLeft") {\n event.preventDefault()\n scrollPrev()\n } else if (event.key === "ArrowRight") {\n event.preventDefault()\n scrollNext()\n }\n },\n [scrollPrev, scrollNext]\n )\n\n React.useEffect(() => {\n if (!api || !setApi) {\n return\n }\n\n setApi(api)\n }, [api, setApi])\n\n React.useEffect(() => {\n if (!api) {\n return\n }\n\n onSelect(api)\n api.on("reInit", onSelect)\n api.on("select", onSelect)\n\n return () => {\n api?.off("select", onSelect)\n }\n }, [api, onSelect])\n\n return (\n <CarouselContext.Provider\n value={{\n carouselRef,\n api: api,\n opts,\n orientation:\n orientation || (opts?.axis === "y" ? "vertical" : "horizontal"),\n scrollPrev,\n scrollNext,\n canScrollPrev,\n canScrollNext,\n }}\n >\n <div\n ref={ref}\n onKeyDownCapture={handleKeyDown}\n className={cn("relative", className)}\n role="region"\n aria-roledescription="carousel"\n {...props}\n >\n {children}\n </div>\n </CarouselContext.Provider>\n )\n }\n)\nCarousel.displayName = "Carousel"\n\nconst CarouselContent = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => {\n const { carouselRef, orientation } = useCarousel()\n\n return (\n <div ref={carouselRef} className="overflow-hidden">\n <div\n ref={ref}\n className={cn(\n "flex",\n orientation === "horizontal" ? "-ml-4" : "-mt-4 flex-col",\n className\n )}\n {...props}\n />\n </div>\n )\n})\nCarouselContent.displayName = "CarouselContent"\n\nconst CarouselItem = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => {\n const { orientation } = useCarousel()\n\n return (\n <div\n ref={ref}\n role="group"\n aria-roledescription="slide"\n className={cn(\n "min-w-0 shrink-0 grow-0 basis-full",\n orientation === "horizontal" ? "pl-4" : "pt-4",\n className\n )}\n {...props}\n />\n )\n})\nCarouselItem.displayName = "CarouselItem"\n\nconst CarouselPrevious = React.forwardRef<\n HTMLButtonElement,\n React.ComponentProps<typeof Button>\n>(({ className, variant = "outline", size = "icon", ...props }, ref) => {\n const { orientation, scrollPrev, canScrollPrev } = useCarousel()\n\n return (\n <Button\n ref={ref}\n variant={variant}\n size={size}\n className={cn(\n "absolute h-8 w-8 rounded-full",\n orientation === "horizontal"\n ? "-left-12 top-1/2 -translate-y-1/2"\n : "-top-12 left-1/2 -translate-x-1/2 rotate-90",\n className\n )}\n disabled={!canScrollPrev}\n onClick={scrollPrev}\n {...props}\n >\n <ArrowLeft className="h-4 w-4" />\n <span className="sr-only">Previous slide</span>\n </Button>\n )\n})\nCarouselPrevious.displayName = "CarouselPrevious"\n\nconst CarouselNext = React.forwardRef<\n HTMLButtonElement,\n React.ComponentProps<typeof Button>\n>(({ className, variant = "outline", size = "icon", ...props }, ref) => {\n const { orientation, scrollNext, canScrollNext } = useCarousel()\n\n return (\n <Button\n ref={ref}\n variant={variant}\n size={size}\n className={cn(\n "absolute h-8 w-8 rounded-full",\n orientation === "horizontal"\n ? "-right-12 top-1/2 -translate-y-1/2"\n : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",\n className\n )}\n disabled={!canScrollNext}\n onClick={scrollNext}\n {...props}\n >\n <ArrowRight className="h-4 w-4" />\n <span className="sr-only">Next slide</span>\n </Button>\n )\n})\nCarouselNext.displayName = "CarouselNext"\n\nexport {\n type CarouselApi,\n Carousel,\n CarouselContent,\n CarouselItem,\n CarouselPrevious,\n CarouselNext,\n}\n\n';
38624
38624
  var qu = 'import * as React from "react"\nimport * as CheckboxPrimitive from "@radix-ui/react-checkbox"\nimport { Check } from "lucide-react"\n\nimport { cn } from "../../lib/utils"\n\nconst Checkbox = React.forwardRef<\n React.ElementRef<typeof CheckboxPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>\n>(({ className, ...props }, ref) => (\n <CheckboxPrimitive.Root\n ref={ref}\n className={cn(\n "peer h-4 w-4 shrink-0 rounded-sm border border-gray-200 dark:border-gray-900 ring-offset-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-gray-950 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-gray-900 data-[state=checked]:text-gray-50 dark:ring-offset-gray-950 dark:focus-visible:ring-gray-300 dark:data-[state=checked]:bg-gray-50 dark:data-[state=checked]:text-gray-900",\n className\n )}\n {...props}\n >\n <CheckboxPrimitive.Indicator\n className={cn("flex items-center justify-center text-current")}\n >\n <Check className="h-4 w-4" />\n </CheckboxPrimitive.Indicator>\n </CheckboxPrimitive.Root>\n))\nCheckbox.displayName = CheckboxPrimitive.Root.displayName\n\nexport { Checkbox }\n\n';
38625
38625
  var Yu = 'import * as CollapsiblePrimitive from "@radix-ui/react-collapsible"\n\nconst Collapsible = CollapsiblePrimitive.Root\n\nconst CollapsibleTrigger = CollapsiblePrimitive.CollapsibleTrigger\n\nconst CollapsibleContent = CollapsiblePrimitive.CollapsibleContent\n\nexport { Collapsible, CollapsibleTrigger, CollapsibleContent }\n\n';
38626
38626
  var Xu = 'import * as React from "react"\nimport * as DialogPrimitive from "@radix-ui/react-dialog"\nimport { X } from "lucide-react"\n\nimport { cn } from "../../lib/utils"\n\nconst Dialog = DialogPrimitive.Root\n\nconst DialogTrigger = DialogPrimitive.Trigger\n\nconst DialogPortal = DialogPrimitive.Portal\n\nconst DialogClose = DialogPrimitive.Close\n\nconst DialogOverlay = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Overlay\n ref={ref}\n className={cn(\n "fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",\n className\n )}\n {...props}\n />\n))\nDialogOverlay.displayName = DialogPrimitive.Overlay.displayName\n\nconst DialogContent = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>\n>(({ className, children, ...props }, ref) => (\n <DialogPortal>\n <DialogOverlay />\n <DialogPrimitive.Content\n ref={ref}\n className={cn(\n "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border border-gray-200 bg-white p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg dark:border-gray-800 dark:bg-gray-950",\n className\n )}\n {...props}\n >\n {children}\n <DialogPrimitive.Close className="absolute right-4 top-4 rounded-sm opacity-70 ring-offset-white transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-gray-950 focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-gray-100 data-[state=open]:text-gray-500 dark:ring-offset-gray-950 dark:focus:ring-gray-300 dark:data-[state=open]:bg-gray-800 dark:data-[state=open]:text-gray-400">\n <X className="h-4 w-4" />\n <span className="sr-only">Close</span>\n </DialogPrimitive.Close>\n </DialogPrimitive.Content>\n </DialogPortal>\n))\nDialogContent.displayName = DialogPrimitive.Content.displayName\n\nconst DialogHeader = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\n "flex flex-col space-y-1.5 text-center sm:text-left",\n className\n )}\n {...props}\n />\n)\nDialogHeader.displayName = "DialogHeader"\n\nconst DialogFooter = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\n "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",\n className\n )}\n {...props}\n />\n)\nDialogFooter.displayName = "DialogFooter"\n\nconst DialogTitle = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Title\n ref={ref}\n className={cn(\n "text-lg font-semibold leading-none tracking-tight",\n className\n )}\n {...props}\n />\n))\nDialogTitle.displayName = DialogPrimitive.Title.displayName\n\nconst DialogDescription = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Description\n ref={ref}\n className={cn("text-sm text-gray-500 dark:text-gray-400", className)}\n {...props}\n />\n))\nDialogDescription.displayName = DialogPrimitive.Description.displayName\n\nexport {\n Dialog,\n DialogPortal,\n DialogOverlay,\n DialogClose,\n DialogTrigger,\n DialogContent,\n DialogHeader,\n DialogFooter,\n DialogTitle,\n DialogDescription,\n}\n\n';
@@ -38864,8 +38864,8 @@ function useToast() {
38864
38864
 
38865
38865
  export { useToast, toast }
38866
38866
  `;
38867
- var kd = { utils: zu, accordian: Uu, alertDialog: Du, alert: Fu, avatar: Wu, badge: ju, breadcrumb: Bu, button: Gu, calendar: Ku, card: Vu, carousel: Hu, checkbox: qu, collapsible: Yu, dialog: Xu, drawer: Qu, dropdownMenu: Zu, hoverCard: Ju, input: $u, label: ed, menuBar: td, navigationMenu: nd, pagination: od, popover: rd, progress: ad, radioGroup: id, select: sd, separator: cd, skeleton: ld, slider: ud, switchComponent: dd, table: pd, tabs: md, textarea: fd, toast: gd, toaster: vd, toggleGroup: hd, toggle: yd, tooltip: bd, useToast: xd };
38868
- var _d = { utils: zu, avatar: Wu, button: Gu, card: Vu, checkbox: qu, input: $u, label: ed, radioGroup: id, select: sd, textarea: fd };
38867
+ var kd = { utils: zu, accordian: Uu, alertDialog: Du, alert: Fu, avatar: Wu, badge: ju, breadcrumb: Bu, button: Gu, calendar: Ku, card: Hu, carousel: Vu, checkbox: qu, collapsible: Yu, dialog: Xu, drawer: Qu, dropdownMenu: Zu, hoverCard: Ju, input: $u, label: ed, menuBar: td, navigationMenu: nd, pagination: od, popover: rd, progress: ad, radioGroup: id, select: sd, separator: cd, skeleton: ld, slider: ud, switchComponent: dd, table: pd, tabs: md, textarea: fd, toast: gd, toaster: vd, toggleGroup: hd, toggle: yd, tooltip: bd, useToast: xd };
38868
+ var _d = { utils: zu, avatar: Wu, button: Gu, card: Hu, checkbox: qu, input: $u, label: ed, radioGroup: id, select: sd, textarea: fd };
38869
38869
  exports.ComponentTypes = void 0, (Ou = exports.ComponentTypes || (exports.ComponentTypes = {})).Input = "input", Ou.Textarea = "textarea", Ou.Slider = "slider", Ou.Checkbox = "checkbox", Ou.Switch = "switch", Ou.Dropdown = "dropdown", Ou.Combobox = "combobox", Ou.Tags = "tags", exports.SettingTypes = void 0, (Mu = exports.SettingTypes || (exports.SettingTypes = {})).Number = "number", Mu.Boolean = "boolean", Mu.String = "string", Mu.Enum = "enum", Mu.Array = "array", exports.OptionTypes = void 0, (Lu = exports.OptionTypes || (exports.OptionTypes = {})).Conversation = "conversation", Lu.Model = "model", Lu.Custom = "custom";
38870
38870
  var Id = ["key", "type", "component"];
38871
38871
  var Sd = { string: "string", number: "number", boolean: "boolean" };
@@ -38916,12 +38916,12 @@ var jd = Object.freeze(["default", "plan", "acceptEdits", "bypassPermissions"]);
38916
38916
  var Bd = Object.freeze({ permissionModes: jd, modelSelection: true, liveModelCatalog: true });
38917
38917
  var Gd = Object.freeze({ permissionModes: Object.freeze(["bypassPermissions"]), modelSelection: true, liveModelCatalog: false });
38918
38918
  var Kd = Object.freeze(((Nd = { claude: Object.freeze({ permissionModes: jd, modelSelection: true, liveModelCatalog: false }), codex: Bd })[e.FIRST_PARTY_HARNESS_PROVIDER] = Bd, Nd.devin = Bd, Nd.kimi = Bd, Nd.hermes = Object.freeze(_(_({}, Gd), { liveModelCatalog: true })), Nd["gemini-acp"] = Bd, Nd["opencode-acp"] = Bd, Nd.cursor = Gd, Nd.copilot = Gd, Nd.gemini = Gd, Nd.opencode = Gd, Nd.openclaw = Gd, Nd.goose = Gd, Nd.pi = Gd, Nd));
38919
- function Vd(t2) {
38919
+ function Hd(t2) {
38920
38920
  if (t2) return Kd[String(e.canonicalHarnessProvider(t2))];
38921
38921
  }
38922
- function Hd(e2) {
38922
+ function Vd(e2) {
38923
38923
  var t2, n2;
38924
- return null !== (n2 = null === (t2 = Vd(e2)) || void 0 === t2 ? void 0 : t2.permissionModes) && void 0 !== n2 ? n2 : jd;
38924
+ return null !== (n2 = null === (t2 = Hd(e2)) || void 0 === t2 ? void 0 : t2.permissionModes) && void 0 !== n2 ? n2 : jd;
38925
38925
  }
38926
38926
  var qd = Object.freeze(["default", "plan", "acceptEdits", "bypassPermissions"]);
38927
38927
  var Yd = Object.freeze({ default: "ask", plan: "plan", acceptEdits: "auto-edit", bypassPermissions: "bypass" });
@@ -39028,8 +39028,8 @@ var jp = ["requested", "guest_checkpointed", "checkpoint_timeout", "skipped_unre
39028
39028
  var Bp = "requested";
39029
39029
  var Gp = "Files already written to the workspace are kept; work a program had not finished writing is not.";
39030
39030
  var Kp = "It holds files already written to the workspace, not work a program had not finished writing.";
39031
- var Vp = { stop: { after: "before it stopped", wentAhead: "the stop went ahead", keeps: Gp }, restart: { after: "before it restarted", wentAhead: "the restart went ahead", keeps: Gp }, "update-image": { after: "before its system image was replaced", wentAhead: "the image update went ahead", keeps: Gp }, snapshot: { after: "before the recovery point was taken", wentAhead: "the recovery point was taken anyway", keeps: Kp }, destroy: { after: "before its final recovery point was taken", wentAhead: "the final recovery point was taken anyway", keeps: Kp } };
39032
- var Hp = { after: "first", wentAhead: "this went ahead", keeps: Gp };
39031
+ var Hp = { stop: { after: "before it stopped", wentAhead: "the stop went ahead", keeps: Gp }, restart: { after: "before it restarted", wentAhead: "the restart went ahead", keeps: Gp }, "update-image": { after: "before its system image was replaced", wentAhead: "the image update went ahead", keeps: Gp }, snapshot: { after: "before the recovery point was taken", wentAhead: "the recovery point was taken anyway", keeps: Kp }, destroy: { after: "before its final recovery point was taken", wentAhead: "the final recovery point was taken anyway", keeps: Kp } };
39032
+ var Vp = { after: "first", wentAhead: "this went ahead", keeps: Gp };
39033
39033
  var qp = "The machine recorded something else about saving its workspace for this.";
39034
39034
  function Yp(e2) {
39035
39035
  return "string" == typeof e2 ? e2.trim() : "";
@@ -39271,12 +39271,12 @@ function Km(e2) {
39271
39271
  var t2, n2, o2, r2 = e2.config || {}, a2 = null !== (o2 = null !== (n2 = null !== (t2 = r2.title) && void 0 !== t2 ? t2 : r2.label) && void 0 !== n2 ? n2 : r2.eventKey) && void 0 !== o2 ? o2 : r2.taskId;
39272
39272
  return "string" == typeof a2 && a2.trim() ? a2 : e2.key;
39273
39273
  }
39274
- function Vm(e2) {
39274
+ function Hm(e2) {
39275
39275
  return Object.values(e2.config || {}).filter(function(e3) {
39276
39276
  return "string" == typeof e3;
39277
39277
  }).join(" ");
39278
39278
  }
39279
- function Hm(e2, t2, n2) {
39279
+ function Vm(e2, t2, n2) {
39280
39280
  var o2 = e2.toLowerCase();
39281
39281
  return o2 ? o2 === t2 ? 4 * n2 : o2.startsWith(t2) ? 3 * n2 : o2.includes(" ".concat(t2)) ? 2 * n2 : o2.includes(t2) ? n2 : 0 : 0;
39282
39282
  }
@@ -39505,14 +39505,14 @@ function Gf(e2, t2) {
39505
39505
  });
39506
39506
  }
39507
39507
  var Kf = "__ghost_";
39508
- function Vf(e2, t2) {
39508
+ function Hf(e2, t2) {
39509
39509
  var n2, o2;
39510
39510
  return e2.from === t2.from && e2.to === t2.to && (null !== (n2 = e2.on) && void 0 !== n2 ? n2 : "success") === (null !== (o2 = t2.on) && void 0 !== o2 ? o2 : "success");
39511
39511
  }
39512
- var Hf = function(e2) {
39512
+ var Vf = function(e2) {
39513
39513
  return { nodes: e2, viewport: { x: 0, y: 0, zoom: 1 } };
39514
39514
  };
39515
- var qf = Object.freeze([{ id: "wftp_task_review", presetVersion: 1, title: "Task with review", description: "Create work, then pause for an approval decision.", tags: ["approval", "basics"], body: { semantic: { nodes: [{ key: "start", type: "noop", config: {} }, { key: "deliver", type: "task_template", config: { title: "Deliver the work", description: "", assigneeAgentIds: [] } }, { key: "review", type: "approval", config: { label: "Review the result" } }], edges: [{ from: "start", to: "deliver", on: "success" }, { from: "deliver", to: "review", on: "success" }] }, presentation: Hf({ start: { x: 80, y: 180 }, deliver: { x: 380, y: 180 }, review: { x: 680, y: 180 } }) } }, { id: "wftp_parallel_review", presetVersion: 1, title: "Parallel execution and review", description: "Dispatch two independent tasks and join them at approval.", tags: ["parallel", "approval", "basics"], body: { semantic: { nodes: [{ key: "start", type: "noop", config: {} }, { key: "build", type: "task_template", config: { title: "Build the deliverable", description: "", assigneeAgentIds: [] } }, { key: "review", type: "task_template", config: { title: "Review the deliverable", description: "", assigneeAgentIds: [] } }, { key: "approve", type: "approval", config: { label: "Approve combined result" } }], edges: [{ from: "start", to: "build", on: "success" }, { from: "start", to: "review", on: "success" }, { from: "build", to: "approve", on: "success" }, { from: "review", to: "approve", on: "success" }] }, presentation: Hf({ start: { x: 80, y: 260 }, build: { x: 360, y: 120 }, review: { x: 360, y: 360 }, approve: { x: 680, y: 240 } }) } }, { id: "wftp_event_to_task", presetVersion: 1, title: "Event-triggered task", description: "Wait for a named event, then create and run a task.", tags: ["events", "basics"], body: { semantic: { nodes: [{ key: "event", type: "wait_event", config: { eventKey: "event.name" } }, { key: "respond", type: "task_template", config: { title: "Respond to the event", description: "", assigneeAgentIds: [] } }], edges: [{ from: "event", to: "respond", on: "success" }] }, presentation: Hf({ event: { x: 120, y: 180 }, respond: { x: 440, y: 180 } }) } }, { id: "wftp_conditional_branch", presetVersion: 1, title: "Conditional branch", description: "Read one field from the run input and take one of two paths.", tags: ["condition", "branching"], body: { semantic: { nodes: [{ key: "check", type: "condition", config: { field: "priority", equals: "high" } }, { key: "escalate", type: "task_template", config: { title: "Handle as urgent", description: "", assigneeAgentIds: [] } }, { key: "queue", type: "task_template", config: { title: "Handle normally", description: "", assigneeAgentIds: [] } }], edges: [{ from: "check", to: "escalate", on: "true" }, { from: "check", to: "queue", on: "false" }] }, presentation: Hf({ check: { x: 120, y: 240 }, escalate: { x: 460, y: 120 }, queue: { x: 460, y: 360 } }) } }, { id: "wftp_retry_on_failure", presetVersion: 1, title: "Retry on failure", description: "Attempt the work, and run a fallback task when it fails.", tags: ["resilience", "branching"], body: { semantic: { nodes: [{ key: "attempt", type: "task_template", config: { title: "Attempt the work", description: "", assigneeAgentIds: [] } }, { key: "fallback", type: "task_template", config: { title: "Recover from the failure", description: "", assigneeAgentIds: [] } }, { key: "done", type: "noop", config: {}, join: "any" }], edges: [{ from: "attempt", to: "done", on: "success" }, { from: "attempt", to: "fallback", on: "failure" }, { from: "fallback", to: "done", on: "success" }] }, presentation: Hf({ attempt: { x: 120, y: 200 }, fallback: { x: 440, y: 360 }, done: { x: 760, y: 200 } }) } }, { id: "wftp_approval_escalation", presetVersion: 1, title: "Approval with escalation", description: "Ask for approval, and escalate to a second reviewer if it is rejected.", tags: ["approval", "escalation"], body: { semantic: { nodes: [{ key: "draft_work", type: "task_template", config: { title: "Prepare the proposal", description: "", assigneeAgentIds: [] } }, { key: "first_review", type: "approval", config: { label: "First reviewer" } }, { key: "escalation", type: "approval", config: { label: "Escalated reviewer" } }, { key: "publish_work", type: "task_template", config: { title: "Publish the approved result", description: "", assigneeAgentIds: [] }, join: "any" }], edges: [{ from: "draft_work", to: "first_review", on: "success" }, { from: "first_review", to: "publish_work", on: "success" }, { from: "first_review", to: "escalation", on: "failure" }, { from: "escalation", to: "publish_work", on: "success" }] }, presentation: Hf({ draft_work: { x: 80, y: 220 }, first_review: { x: 400, y: 220 }, escalation: { x: 400, y: 400 }, publish_work: { x: 740, y: 300 } }) } }, { id: "wftp_fanout_join_any", presetVersion: 1, title: "Race two approaches", description: "Run two tasks in parallel and continue as soon as either finishes.", tags: ["parallel", "join"], body: { semantic: { nodes: [{ key: "kickoff", type: "noop", config: {} }, { key: "approach_a", type: "task_template", config: { title: "Approach A", description: "", assigneeAgentIds: [] } }, { key: "approach_b", type: "task_template", config: { title: "Approach B", description: "", assigneeAgentIds: [] } }, { key: "first_result", type: "noop", config: {}, join: "any" }], edges: [{ from: "kickoff", to: "approach_a", on: "success" }, { from: "kickoff", to: "approach_b", on: "success" }, { from: "approach_a", to: "first_result", on: "success" }, { from: "approach_b", to: "first_result", on: "success" }] }, presentation: Hf({ kickoff: { x: 80, y: 240 }, approach_a: { x: 380, y: 120 }, approach_b: { x: 380, y: 360 }, first_result: { x: 700, y: 240 } }) } }, { id: "wftp_subworkflow_step", presetVersion: 1, title: "Call a subworkflow", description: "Run another published workflow as one step and wait for its result.", tags: ["composition"], body: { semantic: { nodes: [{ key: "prepare", type: "task_template", config: { title: "Prepare the handoff", description: "", assigneeAgentIds: [] } }, { key: "delegate", type: "workflow_call", config: { definitionId: "", versionId: "" } }, { key: "wrap_up", type: "task_template", config: { title: "Act on the result", description: "", assigneeAgentIds: [] } }], edges: [{ from: "prepare", to: "delegate", on: "success" }, { from: "delegate", to: "wrap_up", on: "success" }] }, presentation: Hf({ prepare: { x: 100, y: 200 }, delegate: { x: 420, y: 200 }, wrap_up: { x: 740, y: 200 } }) } }, { id: "wftp_event_wait_approval", presetVersion: 1, title: "Wait for a signal, then approve", description: "Pause until an external event arrives, then ask a human to sign off.", tags: ["events", "approval"], body: { semantic: { nodes: [{ key: "await_signal", type: "wait_event", config: { eventKey: "vendor.responded" } }, { key: "sign_off", type: "approval", config: { label: "Confirm the response is acceptable" } }], edges: [{ from: "await_signal", to: "sign_off", on: "success" }] }, presentation: Hf({ await_signal: { x: 120, y: 200 }, sign_off: { x: 440, y: 200 } }) } }, { id: "wftp_existing_task_gate", presetVersion: 1, title: "Run an existing task first", description: "Run a task that already lives in this Space, then continue.", tags: ["tasks", "composition"], body: { semantic: { nodes: [{ key: "existing_task_1", type: "task_ref", config: { taskId: "" } }, { key: "follow_up", type: "task_template", config: { title: "Follow up on the outcome", description: "", assigneeAgentIds: [] } }], edges: [{ from: "existing_task_1", to: "follow_up", on: "success" }] }, presentation: Hf({ existing_task_1: { x: 120, y: 200 }, follow_up: { x: 440, y: 200 } }) } }]);
39515
+ var qf = Object.freeze([{ id: "wftp_task_review", presetVersion: 1, title: "Task with review", description: "Create work, then pause for an approval decision.", tags: ["approval", "basics"], body: { semantic: { nodes: [{ key: "start", type: "noop", config: {} }, { key: "deliver", type: "task_template", config: { title: "Deliver the work", description: "", assigneeAgentIds: [] } }, { key: "review", type: "approval", config: { label: "Review the result" } }], edges: [{ from: "start", to: "deliver", on: "success" }, { from: "deliver", to: "review", on: "success" }] }, presentation: Vf({ start: { x: 80, y: 180 }, deliver: { x: 380, y: 180 }, review: { x: 680, y: 180 } }) } }, { id: "wftp_parallel_review", presetVersion: 1, title: "Parallel execution and review", description: "Dispatch two independent tasks and join them at approval.", tags: ["parallel", "approval", "basics"], body: { semantic: { nodes: [{ key: "start", type: "noop", config: {} }, { key: "build", type: "task_template", config: { title: "Build the deliverable", description: "", assigneeAgentIds: [] } }, { key: "review", type: "task_template", config: { title: "Review the deliverable", description: "", assigneeAgentIds: [] } }, { key: "approve", type: "approval", config: { label: "Approve combined result" } }], edges: [{ from: "start", to: "build", on: "success" }, { from: "start", to: "review", on: "success" }, { from: "build", to: "approve", on: "success" }, { from: "review", to: "approve", on: "success" }] }, presentation: Vf({ start: { x: 80, y: 260 }, build: { x: 360, y: 120 }, review: { x: 360, y: 360 }, approve: { x: 680, y: 240 } }) } }, { id: "wftp_event_to_task", presetVersion: 1, title: "Event-triggered task", description: "Wait for a named event, then create and run a task.", tags: ["events", "basics"], body: { semantic: { nodes: [{ key: "event", type: "wait_event", config: { eventKey: "event.name" } }, { key: "respond", type: "task_template", config: { title: "Respond to the event", description: "", assigneeAgentIds: [] } }], edges: [{ from: "event", to: "respond", on: "success" }] }, presentation: Vf({ event: { x: 120, y: 180 }, respond: { x: 440, y: 180 } }) } }, { id: "wftp_conditional_branch", presetVersion: 1, title: "Conditional branch", description: "Read one field from the run input and take one of two paths.", tags: ["condition", "branching"], body: { semantic: { nodes: [{ key: "check", type: "condition", config: { field: "priority", equals: "high" } }, { key: "escalate", type: "task_template", config: { title: "Handle as urgent", description: "", assigneeAgentIds: [] } }, { key: "queue", type: "task_template", config: { title: "Handle normally", description: "", assigneeAgentIds: [] } }], edges: [{ from: "check", to: "escalate", on: "true" }, { from: "check", to: "queue", on: "false" }] }, presentation: Vf({ check: { x: 120, y: 240 }, escalate: { x: 460, y: 120 }, queue: { x: 460, y: 360 } }) } }, { id: "wftp_retry_on_failure", presetVersion: 1, title: "Retry on failure", description: "Attempt the work, and run a fallback task when it fails.", tags: ["resilience", "branching"], body: { semantic: { nodes: [{ key: "attempt", type: "task_template", config: { title: "Attempt the work", description: "", assigneeAgentIds: [] } }, { key: "fallback", type: "task_template", config: { title: "Recover from the failure", description: "", assigneeAgentIds: [] } }, { key: "done", type: "noop", config: {}, join: "any" }], edges: [{ from: "attempt", to: "done", on: "success" }, { from: "attempt", to: "fallback", on: "failure" }, { from: "fallback", to: "done", on: "success" }] }, presentation: Vf({ attempt: { x: 120, y: 200 }, fallback: { x: 440, y: 360 }, done: { x: 760, y: 200 } }) } }, { id: "wftp_approval_escalation", presetVersion: 1, title: "Approval with escalation", description: "Ask for approval, and escalate to a second reviewer if it is rejected.", tags: ["approval", "escalation"], body: { semantic: { nodes: [{ key: "draft_work", type: "task_template", config: { title: "Prepare the proposal", description: "", assigneeAgentIds: [] } }, { key: "first_review", type: "approval", config: { label: "First reviewer" } }, { key: "escalation", type: "approval", config: { label: "Escalated reviewer" } }, { key: "publish_work", type: "task_template", config: { title: "Publish the approved result", description: "", assigneeAgentIds: [] }, join: "any" }], edges: [{ from: "draft_work", to: "first_review", on: "success" }, { from: "first_review", to: "publish_work", on: "success" }, { from: "first_review", to: "escalation", on: "failure" }, { from: "escalation", to: "publish_work", on: "success" }] }, presentation: Vf({ draft_work: { x: 80, y: 220 }, first_review: { x: 400, y: 220 }, escalation: { x: 400, y: 400 }, publish_work: { x: 740, y: 300 } }) } }, { id: "wftp_fanout_join_any", presetVersion: 1, title: "Race two approaches", description: "Run two tasks in parallel and continue as soon as either finishes.", tags: ["parallel", "join"], body: { semantic: { nodes: [{ key: "kickoff", type: "noop", config: {} }, { key: "approach_a", type: "task_template", config: { title: "Approach A", description: "", assigneeAgentIds: [] } }, { key: "approach_b", type: "task_template", config: { title: "Approach B", description: "", assigneeAgentIds: [] } }, { key: "first_result", type: "noop", config: {}, join: "any" }], edges: [{ from: "kickoff", to: "approach_a", on: "success" }, { from: "kickoff", to: "approach_b", on: "success" }, { from: "approach_a", to: "first_result", on: "success" }, { from: "approach_b", to: "first_result", on: "success" }] }, presentation: Vf({ kickoff: { x: 80, y: 240 }, approach_a: { x: 380, y: 120 }, approach_b: { x: 380, y: 360 }, first_result: { x: 700, y: 240 } }) } }, { id: "wftp_subworkflow_step", presetVersion: 1, title: "Call a subworkflow", description: "Run another published workflow as one step and wait for its result.", tags: ["composition"], body: { semantic: { nodes: [{ key: "prepare", type: "task_template", config: { title: "Prepare the handoff", description: "", assigneeAgentIds: [] } }, { key: "delegate", type: "workflow_call", config: { definitionId: "", versionId: "" } }, { key: "wrap_up", type: "task_template", config: { title: "Act on the result", description: "", assigneeAgentIds: [] } }], edges: [{ from: "prepare", to: "delegate", on: "success" }, { from: "delegate", to: "wrap_up", on: "success" }] }, presentation: Vf({ prepare: { x: 100, y: 200 }, delegate: { x: 420, y: 200 }, wrap_up: { x: 740, y: 200 } }) } }, { id: "wftp_event_wait_approval", presetVersion: 1, title: "Wait for a signal, then approve", description: "Pause until an external event arrives, then ask a human to sign off.", tags: ["events", "approval"], body: { semantic: { nodes: [{ key: "await_signal", type: "wait_event", config: { eventKey: "vendor.responded" } }, { key: "sign_off", type: "approval", config: { label: "Confirm the response is acceptable" } }], edges: [{ from: "await_signal", to: "sign_off", on: "success" }] }, presentation: Vf({ await_signal: { x: 120, y: 200 }, sign_off: { x: 440, y: 200 } }) } }, { id: "wftp_existing_task_gate", presetVersion: 1, title: "Run an existing task first", description: "Run a task that already lives in this Space, then continue.", tags: ["tasks", "composition"], body: { semantic: { nodes: [{ key: "existing_task_1", type: "task_ref", config: { taskId: "" } }, { key: "follow_up", type: "task_template", config: { title: "Follow up on the outcome", description: "", assigneeAgentIds: [] } }], edges: [{ from: "existing_task_1", to: "follow_up", on: "success" }] }, presentation: Vf({ existing_task_1: { x: 120, y: 200 }, follow_up: { x: 440, y: 200 } }) } }]);
39516
39516
  function Yf(e2) {
39517
39517
  return "".concat(e2.id, ":v").concat(e2.presetVersion);
39518
39518
  }
@@ -39670,8 +39670,8 @@ function pg(e2) {
39670
39670
  }
39671
39671
  for (var j2 = 0, B2 = Array.from(l2.values()); j2 < B2.length; j2++) {
39672
39672
  var G2;
39673
- if ((null == (G2 = B2[j2]) ? void 0 : G2.bindings) && "object" == typeof G2.bindings) for (var K2 = 0, V2 = Object.entries(G2.bindings); K2 < V2.length; K2++) {
39674
- var H2 = V2[K2], q2 = H2[0], Y2 = cf(H2[1]);
39673
+ if ((null == (G2 = B2[j2]) ? void 0 : G2.bindings) && "object" == typeof G2.bindings) for (var K2 = 0, H2 = Object.entries(G2.bindings); K2 < H2.length; K2++) {
39674
+ var V2 = H2[K2], q2 = V2[0], Y2 = cf(V2[1]);
39675
39675
  Y2 ? "node" === Y2.scope && (l2.has(Y2.nodeKey) ? z2 || uf(Y2.nodeKey, G2.key, s2) || r2.push(ug("binding.not_upstream", "error", '"'.concat(G2.key, '" reads from "').concat(Y2.nodeKey, '", but that step does not run before it.'), { nodeKey: G2.key, path: "bindings.".concat(q2) })) : r2.push(ug("binding.unknown_node", "error", '"'.concat(G2.key, '" reads from "').concat(Y2.nodeKey, '", which has been deleted.'), { nodeKey: G2.key, path: "bindings.".concat(q2) }))) : r2.push(ug("binding.unparseable", "error", '"'.concat(G2.key, '" has an input (').concat(q2, ") that is not a valid reference."), { nodeKey: G2.key, path: "bindings.".concat(q2) }));
39676
39676
  }
39677
39677
  }
@@ -39756,10 +39756,10 @@ var Gg = ["payment_incomplete", "entitlement_expired", "chargeback", "abuse", "p
39756
39756
  function Kg(e2) {
39757
39757
  return e2 * zg;
39758
39758
  }
39759
- function Vg(e2) {
39759
+ function Hg(e2) {
39760
39760
  return Object.freeze(e2);
39761
39761
  }
39762
- var Hg = Object.freeze({ free: Vg({ key: "free", productFamily: Ng, catalogVersion: Og, allowancePoolKey: Mg, usageUnit: Lg, displayName: "Free", monthlyPriceUsd: 0, annualPriceUsd: 0, includedUsageMicros: Kg(2e3), fiveHourUsageMicros: Kg(400), weeklyUsageMicros: Kg(1e3), premiumWeeklyUsageMicros: 0, requestsPerMinute: 30, concurrentSessions: 1, queuePriority: "standard", allowanceServices: Fg, overageMultiplierBps: null, newCheckoutCycles: [], modelPolicy: "economy", degradedUsageMicros: Kg(500) }), lite: Vg({ key: "lite", productFamily: Ng, catalogVersion: Og, allowancePoolKey: Mg, usageUnit: Lg, displayName: "".concat(e.FIRST_PARTY_HARNESS.displayName, " Lite"), monthlyPriceUsd: 20, annualPriceUsd: 200, includedUsageMicros: Kg(8e3), fiveHourUsageMicros: Kg(2e3), weeklyUsageMicros: Kg(5e3), premiumWeeklyUsageMicros: Kg(3e3), requestsPerMinute: 60, concurrentSessions: 2, queuePriority: "standard", allowanceServices: Fg, overageMultiplierBps: 1e4, newCheckoutCycles: ["monthly", "annual"], modelPolicy: "paid-catalog", degradedUsageMicros: Kg(2e3) }), pro: Vg({ key: "pro", productFamily: Ng, catalogVersion: Og, allowancePoolKey: Mg, usageUnit: Lg, displayName: "".concat(e.FIRST_PARTY_HARNESS.displayName, " Standard"), monthlyPriceUsd: 30, annualPriceUsd: 300, includedUsageMicros: Kg(15e3), fiveHourUsageMicros: Kg(3e3), weeklyUsageMicros: Kg(7500), premiumWeeklyUsageMicros: Kg(4500), requestsPerMinute: 60, concurrentSessions: 2, queuePriority: "standard", allowanceServices: Fg, overageMultiplierBps: 1e4, newCheckoutCycles: ["monthly", "annual"], modelPolicy: "paid-catalog", degradedUsageMicros: Kg(2e3) }), max: Vg({ key: "max", productFamily: Ng, catalogVersion: Og, allowancePoolKey: Mg, usageUnit: Lg, displayName: "".concat(e.FIRST_PARTY_HARNESS.displayName, " Pro"), monthlyPriceUsd: 100, annualPriceUsd: 1e3, includedUsageMicros: Kg(5e4), fiveHourUsageMicros: Kg(1e4), weeklyUsageMicros: Kg(25e3), premiumWeeklyUsageMicros: Kg(15e3), requestsPerMinute: 150, concurrentSessions: 4, queuePriority: "high", allowanceServices: Fg, overageMultiplierBps: 9e3, newCheckoutCycles: ["monthly", "annual"], modelPolicy: "paid-catalog", degradedUsageMicros: Kg(2e3) }), maxPlus: Vg({ key: "maxPlus", productFamily: Ng, catalogVersion: Og, allowancePoolKey: Mg, usageUnit: Lg, displayName: "".concat(e.FIRST_PARTY_HARNESS.displayName, " Max"), monthlyPriceUsd: 200, annualPriceUsd: 2e3, includedUsageMicros: Kg(15e4), fiveHourUsageMicros: Kg(3e4), weeklyUsageMicros: Kg(75e3), premiumWeeklyUsageMicros: Kg(45e3), requestsPerMinute: 300, concurrentSessions: 8, queuePriority: "highest", allowanceServices: Fg, overageMultiplierBps: 8e3, newCheckoutCycles: ["monthly", "annual"], modelPolicy: "paid-catalog", degradedUsageMicros: Kg(2e3) }) });
39762
+ var Vg = Object.freeze({ free: Hg({ key: "free", productFamily: Ng, catalogVersion: Og, allowancePoolKey: Mg, usageUnit: Lg, displayName: "Free", monthlyPriceUsd: 0, annualPriceUsd: 0, includedUsageMicros: Kg(2e3), fiveHourUsageMicros: Kg(400), weeklyUsageMicros: Kg(1e3), premiumWeeklyUsageMicros: 0, requestsPerMinute: 30, concurrentSessions: 1, queuePriority: "standard", allowanceServices: Fg, overageMultiplierBps: null, newCheckoutCycles: [], modelPolicy: "economy", degradedUsageMicros: Kg(500) }), lite: Hg({ key: "lite", productFamily: Ng, catalogVersion: Og, allowancePoolKey: Mg, usageUnit: Lg, displayName: "".concat(e.FIRST_PARTY_HARNESS.displayName, " Lite"), monthlyPriceUsd: 20, annualPriceUsd: 200, includedUsageMicros: Kg(8e3), fiveHourUsageMicros: Kg(2e3), weeklyUsageMicros: Kg(5e3), premiumWeeklyUsageMicros: Kg(3e3), requestsPerMinute: 60, concurrentSessions: 2, queuePriority: "standard", allowanceServices: Fg, overageMultiplierBps: 1e4, newCheckoutCycles: ["monthly", "annual"], modelPolicy: "paid-catalog", degradedUsageMicros: Kg(2e3) }), pro: Hg({ key: "pro", productFamily: Ng, catalogVersion: Og, allowancePoolKey: Mg, usageUnit: Lg, displayName: "".concat(e.FIRST_PARTY_HARNESS.displayName, " Standard"), monthlyPriceUsd: 30, annualPriceUsd: 300, includedUsageMicros: Kg(15e3), fiveHourUsageMicros: Kg(3e3), weeklyUsageMicros: Kg(7500), premiumWeeklyUsageMicros: Kg(4500), requestsPerMinute: 60, concurrentSessions: 2, queuePriority: "standard", allowanceServices: Fg, overageMultiplierBps: 1e4, newCheckoutCycles: ["monthly", "annual"], modelPolicy: "paid-catalog", degradedUsageMicros: Kg(2e3) }), max: Hg({ key: "max", productFamily: Ng, catalogVersion: Og, allowancePoolKey: Mg, usageUnit: Lg, displayName: "".concat(e.FIRST_PARTY_HARNESS.displayName, " Pro"), monthlyPriceUsd: 100, annualPriceUsd: 1e3, includedUsageMicros: Kg(5e4), fiveHourUsageMicros: Kg(1e4), weeklyUsageMicros: Kg(25e3), premiumWeeklyUsageMicros: Kg(15e3), requestsPerMinute: 150, concurrentSessions: 4, queuePriority: "high", allowanceServices: Fg, overageMultiplierBps: 9e3, newCheckoutCycles: ["monthly", "annual"], modelPolicy: "paid-catalog", degradedUsageMicros: Kg(2e3) }), maxPlus: Hg({ key: "maxPlus", productFamily: Ng, catalogVersion: Og, allowancePoolKey: Mg, usageUnit: Lg, displayName: "".concat(e.FIRST_PARTY_HARNESS.displayName, " Max"), monthlyPriceUsd: 200, annualPriceUsd: 2e3, includedUsageMicros: Kg(15e4), fiveHourUsageMicros: Kg(3e4), weeklyUsageMicros: Kg(75e3), premiumWeeklyUsageMicros: Kg(45e3), requestsPerMinute: 300, concurrentSessions: 8, queuePriority: "highest", allowanceServices: Fg, overageMultiplierBps: 8e3, newCheckoutCycles: ["monthly", "annual"], modelPolicy: "paid-catalog", degradedUsageMicros: Kg(2e3) }) });
39763
39763
  function qg(e2) {
39764
39764
  return "string" == typeof e2 && Dg.includes(e2);
39765
39765
  }
@@ -40059,20 +40059,20 @@ function Gv(e2, t2) {
40059
40059
  return r2;
40060
40060
  }
40061
40061
  var Kv = ["code", "file", "page", "url", "message", "dataset"];
40062
- var Vv = ["task_attachment"];
40063
- var Hv = { TASK_RESULT_REQUIRED: "no Result submitted", TASK_CURRENT_RESULT_MISSING: "the current Result does not resolve", TASK_RESULT_SPEC_VERSION_MISMATCH: "the Result answers an older specification", TASK_RESULT_CHANGES_REQUESTED: "a reviewer requested changes", TASK_RESULT_REVIEW_REQUIRED: "an independent accepted Review is required", TASK_EXPECTATIONS_NOT_MET: "Expectations still unmet" };
40062
+ var Hv = ["task_attachment"];
40063
+ var Vv = { TASK_RESULT_REQUIRED: "no Result submitted", TASK_CURRENT_RESULT_MISSING: "the current Result does not resolve", TASK_RESULT_SPEC_VERSION_MISMATCH: "the Result answers an older specification", TASK_RESULT_CHANGES_REQUESTED: "a reviewer requested changes", TASK_RESULT_REVIEW_REQUIRED: "an independent accepted Review is required", TASK_EXPECTATIONS_NOT_MET: "Expectations still unmet" };
40064
40064
  function qv(e2) {
40065
40065
  var t2, n2, o2, r2, a2, i2;
40066
40066
  if (!e2) return [];
40067
40067
  for (var s2 = [], c2 = e2.overrode || [], l2 = e2.blockers || [], u2 = 0, d2 = c2; u2 < d2.length; u2++) {
40068
40068
  var p2 = d2[u2];
40069
- s2.push("TASK_RESULT_REVIEW_REQUIRED" === p2 ? "Closed past the owner-declared required Review by explicit force \u2014 the override is recorded." : "Closed past ".concat(Hv[p2] || p2, " by explicit force \u2014 the override is recorded."));
40069
+ s2.push("TASK_RESULT_REVIEW_REQUIRED" === p2 ? "Closed past the owner-declared required Review by explicit force \u2014 the override is recorded." : "Closed past ".concat(Vv[p2] || p2, " by explicit force \u2014 the override is recorded."));
40070
40070
  }
40071
40071
  var m2 = null !== (o2 = null === (n2 = null === (t2 = e2.expectations) || void 0 === t2 ? void 0 : t2.unmet) || void 0 === n2 ? void 0 : n2.length) && void 0 !== o2 ? o2 : 0, f2 = [];
40072
40072
  m2 > 0 && f2.push("".concat(m2, " Expectation").concat(1 === m2 ? "" : "s", " still unmet"));
40073
40073
  for (var g2 = 0, v2 = l2; g2 < v2.length; g2++) {
40074
40074
  p2 = v2[g2];
40075
- c2.includes(p2) || "TASK_EXPECTATIONS_NOT_MET" !== p2 && f2.push(Hv[p2] || p2);
40075
+ c2.includes(p2) || "TASK_EXPECTATIONS_NOT_MET" !== p2 && f2.push(Vv[p2] || p2);
40076
40076
  }
40077
40077
  f2.length > 0 && s2.push("Outstanding at close: ".concat(f2.join("; "), "."));
40078
40078
  var h2 = null !== (i2 = null === (a2 = null === (r2 = e2.expectations) || void 0 === r2 ? void 0 : r2.belowEvidenceBar) || void 0 === a2 ? void 0 : a2.length) && void 0 !== i2 ? i2 : 0;
@@ -40226,12 +40226,12 @@ var jh = 2592e3;
40226
40226
  var Bh = 86400;
40227
40227
  var Gh = 14400;
40228
40228
  var Kh = /^[A-Za-z0-9_\-.:/#@+~]{1,400}$/;
40229
- var Vh = "an ISO-8601 instant, or a duration such as 45m, 2h, 3d or 1w";
40230
- var Hh = /^(\d+(?:\.\d+)?)\s*(s|sec|secs|m|min|mins|h|hr|hrs|d|day|days|w|wk|weeks?)$/i;
40229
+ var Hh = "an ISO-8601 instant, or a duration such as 45m, 2h, 3d or 1w";
40230
+ var Vh = /^(\d+(?:\.\d+)?)\s*(s|sec|secs|m|min|mins|h|hr|hrs|d|day|days|w|wk|weeks?)$/i;
40231
40231
  function qh(e2) {
40232
40232
  if ("number" == typeof e2 && Number.isFinite(e2)) return Math.round(e2);
40233
40233
  if ("string" != typeof e2) return null;
40234
- var t2 = Hh.exec(e2.trim());
40234
+ var t2 = Vh.exec(e2.trim());
40235
40235
  if (!t2) return null;
40236
40236
  var n2 = Number(t2[1]), o2 = t2[2].toLowerCase();
40237
40237
  return o2.startsWith("s") ? Math.round(n2) : o2.startsWith("m") ? Math.round(60 * n2) : o2.startsWith("h") ? Math.round(3600 * n2) : o2.startsWith("d") ? Math.round(86400 * n2) : Math.round(604800 * n2);
@@ -40254,11 +40254,11 @@ function $h(e2, t2) {
40254
40254
  var n2 = Number(e2.offsetSeconds);
40255
40255
  return !Number.isInteger(n2) || n2 < 60 || n2 > jh ? Yh("FOLLOWUP_INVALID_FIELD", "".concat(t2, ".offsetSeconds must be between ").concat(60, " and ").concat(jh), t2) : null;
40256
40256
  }
40257
- if ("string" != typeof e2) return Yh("FOLLOWUP_INVALID_FIELD", "".concat(t2, " must be ").concat(Vh), t2);
40257
+ if ("string" != typeof e2) return Yh("FOLLOWUP_INVALID_FIELD", "".concat(t2, " must be ").concat(Hh), t2);
40258
40258
  var o2 = qh(e2);
40259
40259
  if (null !== o2) return o2 < 60 || o2 > jh ? Yh("FOLLOWUP_INVALID_FIELD", "".concat(t2, " must be between ").concat(60, "s and ").concat(jh, "s"), t2) : null;
40260
40260
  var r2 = new Date(e2);
40261
- return Number.isNaN(r2.getTime()) ? Yh("FOLLOWUP_INVALID_FIELD", "".concat(t2, " must be ").concat(Vh), t2) : null;
40261
+ return Number.isNaN(r2.getTime()) ? Yh("FOLLOWUP_INVALID_FIELD", "".concat(t2, " must be ").concat(Hh), t2) : null;
40262
40262
  }
40263
40263
  var ey = Object.freeze([{ key: "list", label: "List", renderedBy: ["space", "task"] }, { key: "board", label: "Board", renderedBy: ["space", "task"] }, { key: "tree", label: "Tree", renderedBy: ["space", "task"] }, { key: "canvas", label: "Canvas", renderedBy: ["space", "task"] }, { key: "timeline", label: "Timeline", renderedBy: ["space"] }, { key: "calendar", label: "Calendar", renderedBy: ["space"] }, { key: "entry", label: "List", renderedBy: ["space"], legacy: true }]);
40264
40264
  var ty = Object.freeze(ey.map(function(e2) {
@@ -40400,10 +40400,10 @@ var Gy = Object.freeze([{ key: "none", label: "None", needs: "none", relativeToT
40400
40400
  var Ky = Object.freeze(Gy.map(function(e2) {
40401
40401
  return e2.key;
40402
40402
  }));
40403
- var Vy = function(e2) {
40403
+ var Hy = function(e2) {
40404
40404
  return "string" == typeof e2 && Ky.includes(e2);
40405
40405
  };
40406
- var Hy = t.z.string().refine(Vy, { message: "Unknown space grouping" });
40406
+ var Vy = t.z.string().refine(Hy, { message: "Unknown space grouping" });
40407
40407
  var qy = Object.freeze({ dri: "leadAgent", leadagent: "leadAgent", lead_agent: "leadAgent", created: "createdAt", updated: "updatedAt", target: "targetDate" });
40408
40408
  var Yy = "__untagged__";
40409
40409
  var Xy = "__unassigned__";
@@ -40538,8 +40538,8 @@ var jb;
40538
40538
  var Bb;
40539
40539
  var Gb;
40540
40540
  var Kb;
40541
- var Vb;
40542
40541
  var Hb;
40542
+ var Vb;
40543
40543
  var qb;
40544
40544
  var Yb;
40545
40545
  var Xb;
@@ -40567,7 +40567,7 @@ var vx = t.z.object(((kb = {})[exports.Permissions.USE] = t.z.boolean().default(
40567
40567
  var hx = t.z.object(((_b = {})[exports.PermissionTypes.PROMPTS] = ax, _b[exports.PermissionTypes.BOOKMARKS] = ix, _b[exports.PermissionTypes.MEMORIES] = sx, _b[exports.PermissionTypes.AGENTS] = cx, _b[exports.PermissionTypes.MULTI_CONVO] = lx, _b[exports.PermissionTypes.TEMPORARY_CHAT] = ux, _b[exports.PermissionTypes.RUN_CODE] = dx, _b[exports.PermissionTypes.WEB_SEARCH] = px, _b[exports.PermissionTypes.PEOPLE_PICKER] = mx, _b[exports.PermissionTypes.MARKETPLACE] = fx, _b[exports.PermissionTypes.FILE_SEARCH] = gx, _b[exports.PermissionTypes.FILE_CITATIONS] = vx, _b));
40568
40568
  exports.SystemRoles = void 0, (rx = exports.SystemRoles || (exports.SystemRoles = {})).ADMIN = "ADMIN", rx.USER = "USER";
40569
40569
  var yx = t.z.object({ name: t.z.string(), permissions: hx });
40570
- var bx = t.z.object(((Eb = {})[exports.SystemRoles.ADMIN] = yx.extend({ name: t.z.literal(exports.SystemRoles.ADMIN), permissions: hx.extend((wb = {}, wb[exports.PermissionTypes.PROMPTS] = ax.extend((Rb = {}, Rb[exports.Permissions.SHARED_GLOBAL] = t.z.boolean().default(true), Rb[exports.Permissions.USE] = t.z.boolean().default(true), Rb[exports.Permissions.CREATE] = t.z.boolean().default(true), Rb)), wb[exports.PermissionTypes.BOOKMARKS] = ix.extend((Cb = {}, Cb[exports.Permissions.USE] = t.z.boolean().default(true), Cb)), wb[exports.PermissionTypes.MEMORIES] = sx.extend((Pb = {}, Pb[exports.Permissions.USE] = t.z.boolean().default(true), Pb[exports.Permissions.CREATE] = t.z.boolean().default(true), Pb[exports.Permissions.UPDATE] = t.z.boolean().default(true), Pb[exports.Permissions.READ] = t.z.boolean().default(true), Pb[exports.Permissions.OPT_OUT] = t.z.boolean().default(true), Pb)), wb[exports.PermissionTypes.AGENTS] = cx.extend((Nb = {}, Nb[exports.Permissions.SHARED_GLOBAL] = t.z.boolean().default(true), Nb[exports.Permissions.USE] = t.z.boolean().default(true), Nb[exports.Permissions.CREATE] = t.z.boolean().default(true), Nb)), wb[exports.PermissionTypes.MULTI_CONVO] = lx.extend((Ob = {}, Ob[exports.Permissions.USE] = t.z.boolean().default(true), Ob)), wb[exports.PermissionTypes.TEMPORARY_CHAT] = ux.extend((Mb = {}, Mb[exports.Permissions.USE] = t.z.boolean().default(true), Mb)), wb[exports.PermissionTypes.RUN_CODE] = dx.extend((Lb = {}, Lb[exports.Permissions.USE] = t.z.boolean().default(true), Lb)), wb[exports.PermissionTypes.WEB_SEARCH] = px.extend((zb = {}, zb[exports.Permissions.USE] = t.z.boolean().default(true), zb)), wb[exports.PermissionTypes.PEOPLE_PICKER] = mx.extend((Ub = {}, Ub[exports.Permissions.VIEW_USERS] = t.z.boolean().default(true), Ub[exports.Permissions.VIEW_GROUPS] = t.z.boolean().default(true), Ub[exports.Permissions.VIEW_ROLES] = t.z.boolean().default(true), Ub)), wb[exports.PermissionTypes.MARKETPLACE] = t.z.object((Db = {}, Db[exports.Permissions.USE] = t.z.boolean().default(false), Db)), wb[exports.PermissionTypes.FILE_SEARCH] = gx.extend((Fb = {}, Fb[exports.Permissions.USE] = t.z.boolean().default(true), Fb)), wb[exports.PermissionTypes.FILE_CITATIONS] = vx.extend((Wb = {}, Wb[exports.Permissions.USE] = t.z.boolean().default(true), Wb)), wb)) }), Eb[exports.SystemRoles.USER] = yx.extend({ name: t.z.literal(exports.SystemRoles.USER), permissions: hx }), Eb)).parse(((jb = {})[exports.SystemRoles.ADMIN] = { name: exports.SystemRoles.ADMIN, permissions: (Bb = {}, Bb[exports.PermissionTypes.PROMPTS] = (Gb = {}, Gb[exports.Permissions.SHARED_GLOBAL] = true, Gb[exports.Permissions.USE] = true, Gb[exports.Permissions.CREATE] = true, Gb), Bb[exports.PermissionTypes.BOOKMARKS] = (Kb = {}, Kb[exports.Permissions.USE] = true, Kb), Bb[exports.PermissionTypes.MEMORIES] = (Vb = {}, Vb[exports.Permissions.USE] = true, Vb[exports.Permissions.CREATE] = true, Vb[exports.Permissions.UPDATE] = true, Vb[exports.Permissions.READ] = true, Vb[exports.Permissions.OPT_OUT] = true, Vb), Bb[exports.PermissionTypes.AGENTS] = (Hb = {}, Hb[exports.Permissions.SHARED_GLOBAL] = true, Hb[exports.Permissions.USE] = true, Hb[exports.Permissions.CREATE] = true, Hb), Bb[exports.PermissionTypes.MULTI_CONVO] = (qb = {}, qb[exports.Permissions.USE] = true, qb), Bb[exports.PermissionTypes.TEMPORARY_CHAT] = (Yb = {}, Yb[exports.Permissions.USE] = true, Yb), Bb[exports.PermissionTypes.RUN_CODE] = (Xb = {}, Xb[exports.Permissions.USE] = false, Xb), Bb[exports.PermissionTypes.WEB_SEARCH] = (Qb = {}, Qb[exports.Permissions.USE] = true, Qb), Bb[exports.PermissionTypes.PEOPLE_PICKER] = (Zb = {}, Zb[exports.Permissions.VIEW_USERS] = true, Zb[exports.Permissions.VIEW_GROUPS] = true, Zb[exports.Permissions.VIEW_ROLES] = true, Zb), Bb[exports.PermissionTypes.MARKETPLACE] = (Jb = {}, Jb[exports.Permissions.USE] = true, Jb), Bb[exports.PermissionTypes.FILE_SEARCH] = ($b = {}, $b[exports.Permissions.USE] = true, $b), Bb[exports.PermissionTypes.FILE_CITATIONS] = (ex = {}, ex[exports.Permissions.USE] = true, ex), Bb) }, jb[exports.SystemRoles.USER] = { name: exports.SystemRoles.USER, permissions: (tx = {}, tx[exports.PermissionTypes.PROMPTS] = {}, tx[exports.PermissionTypes.BOOKMARKS] = {}, tx[exports.PermissionTypes.MEMORIES] = {}, tx[exports.PermissionTypes.AGENTS] = {}, tx[exports.PermissionTypes.MULTI_CONVO] = {}, tx[exports.PermissionTypes.TEMPORARY_CHAT] = {}, tx[exports.PermissionTypes.RUN_CODE] = {}, tx[exports.PermissionTypes.WEB_SEARCH] = {}, tx[exports.PermissionTypes.PEOPLE_PICKER] = (nx = {}, nx[exports.Permissions.VIEW_USERS] = false, nx[exports.Permissions.VIEW_GROUPS] = false, nx[exports.Permissions.VIEW_ROLES] = false, nx), tx[exports.PermissionTypes.MARKETPLACE] = (ox = {}, ox[exports.Permissions.USE] = false, ox), tx[exports.PermissionTypes.FILE_SEARCH] = {}, tx[exports.PermissionTypes.FILE_CITATIONS] = {}, tx) }, jb));
40570
+ var bx = t.z.object(((Eb = {})[exports.SystemRoles.ADMIN] = yx.extend({ name: t.z.literal(exports.SystemRoles.ADMIN), permissions: hx.extend((wb = {}, wb[exports.PermissionTypes.PROMPTS] = ax.extend((Rb = {}, Rb[exports.Permissions.SHARED_GLOBAL] = t.z.boolean().default(true), Rb[exports.Permissions.USE] = t.z.boolean().default(true), Rb[exports.Permissions.CREATE] = t.z.boolean().default(true), Rb)), wb[exports.PermissionTypes.BOOKMARKS] = ix.extend((Cb = {}, Cb[exports.Permissions.USE] = t.z.boolean().default(true), Cb)), wb[exports.PermissionTypes.MEMORIES] = sx.extend((Pb = {}, Pb[exports.Permissions.USE] = t.z.boolean().default(true), Pb[exports.Permissions.CREATE] = t.z.boolean().default(true), Pb[exports.Permissions.UPDATE] = t.z.boolean().default(true), Pb[exports.Permissions.READ] = t.z.boolean().default(true), Pb[exports.Permissions.OPT_OUT] = t.z.boolean().default(true), Pb)), wb[exports.PermissionTypes.AGENTS] = cx.extend((Nb = {}, Nb[exports.Permissions.SHARED_GLOBAL] = t.z.boolean().default(true), Nb[exports.Permissions.USE] = t.z.boolean().default(true), Nb[exports.Permissions.CREATE] = t.z.boolean().default(true), Nb)), wb[exports.PermissionTypes.MULTI_CONVO] = lx.extend((Ob = {}, Ob[exports.Permissions.USE] = t.z.boolean().default(true), Ob)), wb[exports.PermissionTypes.TEMPORARY_CHAT] = ux.extend((Mb = {}, Mb[exports.Permissions.USE] = t.z.boolean().default(true), Mb)), wb[exports.PermissionTypes.RUN_CODE] = dx.extend((Lb = {}, Lb[exports.Permissions.USE] = t.z.boolean().default(true), Lb)), wb[exports.PermissionTypes.WEB_SEARCH] = px.extend((zb = {}, zb[exports.Permissions.USE] = t.z.boolean().default(true), zb)), wb[exports.PermissionTypes.PEOPLE_PICKER] = mx.extend((Ub = {}, Ub[exports.Permissions.VIEW_USERS] = t.z.boolean().default(true), Ub[exports.Permissions.VIEW_GROUPS] = t.z.boolean().default(true), Ub[exports.Permissions.VIEW_ROLES] = t.z.boolean().default(true), Ub)), wb[exports.PermissionTypes.MARKETPLACE] = t.z.object((Db = {}, Db[exports.Permissions.USE] = t.z.boolean().default(false), Db)), wb[exports.PermissionTypes.FILE_SEARCH] = gx.extend((Fb = {}, Fb[exports.Permissions.USE] = t.z.boolean().default(true), Fb)), wb[exports.PermissionTypes.FILE_CITATIONS] = vx.extend((Wb = {}, Wb[exports.Permissions.USE] = t.z.boolean().default(true), Wb)), wb)) }), Eb[exports.SystemRoles.USER] = yx.extend({ name: t.z.literal(exports.SystemRoles.USER), permissions: hx }), Eb)).parse(((jb = {})[exports.SystemRoles.ADMIN] = { name: exports.SystemRoles.ADMIN, permissions: (Bb = {}, Bb[exports.PermissionTypes.PROMPTS] = (Gb = {}, Gb[exports.Permissions.SHARED_GLOBAL] = true, Gb[exports.Permissions.USE] = true, Gb[exports.Permissions.CREATE] = true, Gb), Bb[exports.PermissionTypes.BOOKMARKS] = (Kb = {}, Kb[exports.Permissions.USE] = true, Kb), Bb[exports.PermissionTypes.MEMORIES] = (Hb = {}, Hb[exports.Permissions.USE] = true, Hb[exports.Permissions.CREATE] = true, Hb[exports.Permissions.UPDATE] = true, Hb[exports.Permissions.READ] = true, Hb[exports.Permissions.OPT_OUT] = true, Hb), Bb[exports.PermissionTypes.AGENTS] = (Vb = {}, Vb[exports.Permissions.SHARED_GLOBAL] = true, Vb[exports.Permissions.USE] = true, Vb[exports.Permissions.CREATE] = true, Vb), Bb[exports.PermissionTypes.MULTI_CONVO] = (qb = {}, qb[exports.Permissions.USE] = true, qb), Bb[exports.PermissionTypes.TEMPORARY_CHAT] = (Yb = {}, Yb[exports.Permissions.USE] = true, Yb), Bb[exports.PermissionTypes.RUN_CODE] = (Xb = {}, Xb[exports.Permissions.USE] = false, Xb), Bb[exports.PermissionTypes.WEB_SEARCH] = (Qb = {}, Qb[exports.Permissions.USE] = true, Qb), Bb[exports.PermissionTypes.PEOPLE_PICKER] = (Zb = {}, Zb[exports.Permissions.VIEW_USERS] = true, Zb[exports.Permissions.VIEW_GROUPS] = true, Zb[exports.Permissions.VIEW_ROLES] = true, Zb), Bb[exports.PermissionTypes.MARKETPLACE] = (Jb = {}, Jb[exports.Permissions.USE] = true, Jb), Bb[exports.PermissionTypes.FILE_SEARCH] = ($b = {}, $b[exports.Permissions.USE] = true, $b), Bb[exports.PermissionTypes.FILE_CITATIONS] = (ex = {}, ex[exports.Permissions.USE] = true, ex), Bb) }, jb[exports.SystemRoles.USER] = { name: exports.SystemRoles.USER, permissions: (tx = {}, tx[exports.PermissionTypes.PROMPTS] = {}, tx[exports.PermissionTypes.BOOKMARKS] = {}, tx[exports.PermissionTypes.MEMORIES] = {}, tx[exports.PermissionTypes.AGENTS] = {}, tx[exports.PermissionTypes.MULTI_CONVO] = {}, tx[exports.PermissionTypes.TEMPORARY_CHAT] = {}, tx[exports.PermissionTypes.RUN_CODE] = {}, tx[exports.PermissionTypes.WEB_SEARCH] = {}, tx[exports.PermissionTypes.PEOPLE_PICKER] = (nx = {}, nx[exports.Permissions.VIEW_USERS] = false, nx[exports.Permissions.VIEW_GROUPS] = false, nx[exports.Permissions.VIEW_ROLES] = false, nx), tx[exports.PermissionTypes.MARKETPLACE] = (ox = {}, ox[exports.Permissions.USE] = false, ox), tx[exports.PermissionTypes.FILE_SEARCH] = {}, tx[exports.PermissionTypes.FILE_CITATIONS] = {}, tx) }, jb));
40571
40571
  var xx = ["promoted", "all"];
40572
40572
  var kx;
40573
40573
  exports.DATE_RANGE = void 0, (kx = exports.DATE_RANGE || (exports.DATE_RANGE = {})).PAST_HOUR = "h", kx.PAST_24_HOURS = "d", kx.PAST_WEEK = "w", kx.PAST_MONTH = "m", kx.PAST_YEAR = "y";
@@ -40620,8 +40620,8 @@ var Gx = ["user", "agent", "system"];
40620
40620
  function Kx(e2) {
40621
40621
  return Gx.includes(e2);
40622
40622
  }
40623
- var Vx = Object.freeze({ MAINTAIN: "maintain", ACHIEVE: "achieve" });
40624
- var Hx = [Vx.ACHIEVE, Vx.MAINTAIN];
40623
+ var Hx = Object.freeze({ MAINTAIN: "maintain", ACHIEVE: "achieve" });
40624
+ var Vx = [Hx.ACHIEVE, Hx.MAINTAIN];
40625
40625
  var qx = ["monitor", "prepare", "execute"];
40626
40626
  var Yx = ["off", "suggestions_only", "ask_first", "auto_run_limited", "auto_run"];
40627
40627
  function Xx(e2) {
@@ -40813,8 +40813,8 @@ var jk = "permission_blocked";
40813
40813
  var Bk = /* @__PURE__ */ new Set(["auth_failed", "auth_expired", "daemon_auth_failed", "infra", "MCP_CONNECTION_UNHEALTHY", "AGENT_RUNTIME_UNAVAILABLE", "wait_timeout", "required_mcp_unavailable", "runtime_offline", "runtime_unavailable", "DAEMON_INFRA_ERROR", "DAEMON_PRESENCE_LOST", "DAEMON_OFFLINE", "DAEMON_SESSION_ERROR", "runtime_connection_changed", "runtime_process_changed", "EXECUTION_ISOLATION_UNAVAILABLE", "DAEMON_GRANT_AUTHORITY_INVALID", "COMMITMENT_EXECUTION_CONTRACT_RUNTIME_UNSUPPORTED", "COMMITMENT_AGENT_PERMISSIONS_RUNTIME_UNSUPPORTED", jk, "capability_missing", "absolute_expiry", "silent_claim_hold", "session_start_no_ack", "session_progress_stall", "provider_crash", "dispatch_unreachable", "presence_lost", "runtime_restarted", "session_slots_saturated", "dedicated_runtime_quiesced"]);
40814
40814
  var Gk = /* @__PURE__ */ new Set(["empty_agent_result", "agent_result_not_json", "agent_result_summary_missing", "agent_result_observations_invalid", "agent_result_hypotheses_invalid", "agent_result_action_intents_invalid", "agent_result_report_invalid", "agent_result_blocker_invalid", "agent_result_state_hints_invalid", "agent_result_wake_intent_invalid", "agent_result_schema_invalid", "commitment_result_decision_required", "commitment_no_action_evidence_required", "commitment_action_warranted_work_required", "commitment_result_apply_failed"]);
40815
40815
  var Kk = /* @__PURE__ */ new Set(["scheduled_agent_chat_threw", "daemon_session_response_error", "execution_failed", "no_progress", "agent_execution_failed"]);
40816
- var Vk = /* @__PURE__ */ new Set(["stale_recovery", "exhausted", "session_review_required", "commitment_not_found"]);
40817
- var Hk = Object.freeze(((Fk = { EXECUTION_ISOLATION_UNAVAILABLE: "Give the Run a workspace it can isolate \u2014 a git repository as its working directory \u2014 or set the isolation to shared, then retry", auth_failed: "Sign the harness in again on the runtime, then retry", auth_expired: "Sign the harness in again on the runtime, then retry", daemon_auth_failed: "Log the daemon in again (skrrd login), then retry", runtime_offline: "Bring the runtime back online, then retry", DAEMON_OFFLINE: "Bring the runtime back online, then retry", COMMITMENT_EXECUTION_CONTRACT_RUNTIME_UNSUPPORTED: "Upgrade the daemon on the runtime, then retry", COMMITMENT_AGENT_PERMISSIONS_RUNTIME_UNSUPPORTED: "Upgrade the daemon on the runtime, then retry" })[jk] = "Change the agent's permission mode so its tools can run unattended, then retry", Fk));
40816
+ var Hk = /* @__PURE__ */ new Set(["stale_recovery", "exhausted", "session_review_required", "commitment_not_found"]);
40817
+ var Vk = Object.freeze(((Fk = { EXECUTION_ISOLATION_UNAVAILABLE: "Give the Run a workspace it can isolate \u2014 a git repository as its working directory \u2014 or set the isolation to shared, then retry", auth_failed: "Sign the harness in again on the runtime, then retry", auth_expired: "Sign the harness in again on the runtime, then retry", daemon_auth_failed: "Log the daemon in again (skrrd login), then retry", runtime_offline: "Bring the runtime back online, then retry", DAEMON_OFFLINE: "Bring the runtime back online, then retry", COMMITMENT_EXECUTION_CONTRACT_RUNTIME_UNSUPPORTED: "Upgrade the daemon on the runtime, then retry", COMMITMENT_AGENT_PERMISSIONS_RUNTIME_UNSUPPORTED: "Upgrade the daemon on the runtime, then retry" })[jk] = "Change the agent's permission mode so its tools can run unattended, then retry", Fk));
40818
40818
  var qk = { machine: "machine", contract: "model", work: "work", neutral: null, none: null };
40819
40819
  var Yk = /* @__PURE__ */ new Set(["failed", "cancelled", "result_invalid"]);
40820
40820
  function Xk(e2) {
@@ -40834,7 +40834,7 @@ function Zk(e2, t2) {
40834
40834
  i2 = c2[s2];
40835
40835
  if (Gk.has(i2)) return Qk("contract", i2);
40836
40836
  if (Kk.has(i2)) return Qk("work", i2);
40837
- if (Vk.has(i2)) return Qk("neutral", i2);
40837
+ if (Hk.has(i2)) return Qk("neutral", i2);
40838
40838
  }
40839
40839
  return Qk("neutral", null !== (o2 = null !== (n2 = t2[0]) && void 0 !== n2 ? n2 : e2[0]) && void 0 !== o2 ? o2 : null);
40840
40840
  }
@@ -40928,14 +40928,14 @@ function G_(e2) {
40928
40928
  return "string" == typeof e2 && B_.includes(e2);
40929
40929
  }
40930
40930
  var K_ = [{ id: "studio-halo", name: "Halo", category: "studio", src: "/assets/agent-avatars/studio-halo.webp" }, { id: "studio-moss", name: "Moss", category: "studio", src: "/assets/agent-avatars/studio-moss.webp" }, { id: "studio-pixel", name: "Pixel", category: "studio", src: "/assets/agent-avatars/studio-pixel.webp" }, { id: "studio-sage", name: "Sage", category: "studio", src: "/assets/agent-avatars/studio-sage.webp" }, { id: "studio-juniper", name: "Juniper", category: "studio", src: "/assets/agent-avatars/studio-juniper.webp" }, { id: "studio-nova", name: "Nova", category: "studio", src: "/assets/agent-avatars/studio-nova.webp" }, { id: "studio-plush-sol", name: "Sol", category: "studio", src: "/assets/agent-avatars/studio-plush-sol.webp" }, { id: "studio-plush-tide", name: "Tide", category: "studio", src: "/assets/agent-avatars/studio-plush-tide.webp" }, { id: "studio-plush-mallow", name: "Mallow", category: "studio", src: "/assets/agent-avatars/studio-plush-mallow.webp" }, { id: "studio-plush-clover", name: "Clover", category: "studio", src: "/assets/agent-avatars/studio-plush-clover.webp" }, { id: "studio-plush-pip", name: "Pip", category: "studio", src: "/assets/agent-avatars/studio-plush-pip.webp" }, { id: "studio-plush-orbit", name: "Orbit", category: "studio", src: "/assets/agent-avatars/studio-plush-orbit.webp" }, { id: "portrait-aria", name: "Aria", category: "portraits", src: "/assets/agent-avatars/portrait-aria.webp" }, { id: "portrait-koa", name: "Koa", category: "portraits", src: "/assets/agent-avatars/portrait-koa.webp" }, { id: "portrait-mina", name: "Mina", category: "portraits", src: "/assets/agent-avatars/portrait-mina.webp" }, { id: "portrait-elio", name: "Elio", category: "portraits", src: "/assets/agent-avatars/portrait-elio.webp" }, { id: "portrait-sana", name: "Sana", category: "portraits", src: "/assets/agent-avatars/portrait-sana.webp" }, { id: "portrait-ren", name: "Ren", category: "portraits", src: "/assets/agent-avatars/portrait-ren.webp" }, { id: "illustration-aster", name: "Aster", category: "illustrations", src: "/assets/agent-avatars/illustration-aster.webp" }, { id: "illustration-miro", name: "Miro", category: "illustrations", src: "/assets/agent-avatars/illustration-miro.webp" }, { id: "illustration-lumen", name: "Lumen", category: "illustrations", src: "/assets/agent-avatars/illustration-lumen.webp" }, { id: "illustration-cleo", name: "Cleo", category: "illustrations", src: "/assets/agent-avatars/illustration-cleo.webp" }, { id: "illustration-rowan", name: "Rowan", category: "illustrations", src: "/assets/agent-avatars/illustration-rowan.webp" }, { id: "illustration-suki", name: "Suki", category: "illustrations", src: "/assets/agent-avatars/illustration-suki.webp" }, { id: "illustration-avery", name: "Avery", category: "illustrations", src: "/assets/agent-avatars/illustration-avery.webp" }, { id: "illustration-jun", name: "Jun", category: "illustrations", src: "/assets/agent-avatars/illustration-jun.webp" }, { id: "illustration-noor", name: "Noor", category: "illustrations", src: "/assets/agent-avatars/illustration-noor.webp" }, { id: "illustration-beck", name: "Beck", category: "illustrations", src: "/assets/agent-avatars/illustration-beck.webp" }, { id: "illustration-iris", name: "Iris", category: "illustrations", src: "/assets/agent-avatars/illustration-iris.webp" }, { id: "illustration-vale", name: "Vale", category: "illustrations", src: "/assets/agent-avatars/illustration-vale.webp" }, { id: "character-coda", name: "Coda", category: "characters", src: "/assets/agent-avatars/character-coda.webp" }, { id: "character-lio", name: "Lio", category: "characters", src: "/assets/agent-avatars/character-lio.webp" }, { id: "character-mica", name: "Mica", category: "characters", src: "/assets/agent-avatars/character-mica.webp" }, { id: "character-nori", name: "Nori", category: "characters", src: "/assets/agent-avatars/character-nori.webp" }, { id: "character-tavi", name: "Tavi", category: "characters", src: "/assets/agent-avatars/character-tavi.webp" }, { id: "character-bibi", name: "Bibi", category: "characters", src: "/assets/agent-avatars/character-bibi.webp" }, { id: "scout", name: "Scout", category: "mascots", src: "/assets/agent-avatars/scout.webp" }, { id: "analyst", name: "Analyst", category: "mascots", src: "/assets/agent-avatars/analyst.webp" }, { id: "builder", name: "Builder", category: "mascots", src: "/assets/agent-avatars/builder.webp" }, { id: "researcher", name: "Researcher", category: "mascots", src: "/assets/agent-avatars/researcher.webp" }, { id: "support", name: "Support", category: "mascots", src: "/assets/agent-avatars/support.webp" }, { id: "operator-cartoon", name: "Operator mascot", category: "mascots", src: "/assets/agent-avatars/operator-cartoon.webp" }, { id: "claude", name: "Claude", category: "ai", src: "/assets/agent-avatars/claude.svg", rasterSrc: "/assets/agent-avatars/claude.webp" }, { id: "claude-code", name: "Claude Code", category: "ai", src: "/assets/agent-avatars/claude-code.svg", rasterSrc: "/assets/agent-avatars/claude-code.webp" }, { id: "codex", name: "Codex", category: "ai", src: "/assets/agent-avatars/codex.svg", rasterSrc: "/assets/agent-avatars/codex.webp" }, { id: "chatgpt", name: "ChatGPT", category: "ai", src: "/assets/agent-avatars/chatgpt.webp" }, { id: "gemini", name: "Gemini", category: "ai", src: "/assets/agent-avatars/gemini.webp" }, { id: "deepseek", name: "DeepSeek", category: "ai", src: "/assets/agent-avatars/deepseek.webp" }, { id: "qwen", name: "Qwen", category: "ai", src: "/assets/agent-avatars/qwen.webp" }, { id: "perplexity", name: "Perplexity", category: "ai", src: "/assets/agent-avatars/perplexity.webp" }, { id: "explorer", name: "Explorer", category: "space", src: "/assets/landing/agent-icon-product.webp" }, { id: "operator", name: "Operator", category: "space", src: "/assets/landing/agent-icon-gtm.webp" }, { id: "navigator", name: "Navigator", category: "space", src: "/assets/landing/agent-icon-success.webp" }];
40931
- var V_ = new Map(K_.map(function(e2) {
40931
+ var H_ = new Map(K_.map(function(e2) {
40932
40932
  return [e2.id, e2];
40933
40933
  }));
40934
- function H_(e2) {
40935
- return "string" == typeof e2 && V_.has(e2);
40934
+ function V_(e2) {
40935
+ return "string" == typeof e2 && H_.has(e2);
40936
40936
  }
40937
40937
  function q_(e2) {
40938
- return e2 ? V_.get(e2) : void 0;
40938
+ return e2 ? H_.get(e2) : void 0;
40939
40939
  }
40940
40940
  function Y_(e2) {
40941
40941
  return K_.filter(function(t2) {
@@ -41072,9 +41072,9 @@ var jI = t.z.object({ t: t.z.literal("permission-resolved"), requestId: t.z.stri
41072
41072
  var BI = t.z.object({ t: t.z.literal("question-ask"), requestId: t.z.string().min(1), questionId: t.z.string().min(1).optional(), prompt: t.z.string().optional(), options: t.z.array(t.z.string()).optional(), allowFreeText: t.z.boolean().optional() });
41073
41073
  var GI = t.z.object({ t: t.z.literal("question-resolved"), requestId: t.z.string().min(1), localId: t.z.string().min(1).optional(), answer: t.z.string(), by: t.z.enum(["cockpit", "avatar", "timeout"]) });
41074
41074
  var KI = t.z.object({ machineUuid: t.z.string().min(1), generation: t.z.number().int().nonnegative() });
41075
- var VI = t.z.object({ t: t.z.literal("session-handoff"), from: KI.optional(), to: KI, reason: t.z.string().optional() });
41076
- var HI = t.z.discriminatedUnion("t", [AI, EI, wI, RI, CI, PI, NI, OI, MI, LI, zI, DI, FI, WI, jI, BI, GI, VI]);
41077
- var qI = { v: t.z.literal(1).default(1), id: t.z.string().min(1), time: t.z.number(), role: bI, turn: t.z.string().optional(), subagent: t.z.string().optional(), correlationId: t.z.string().min(1).optional(), localId: t.z.string().min(1).optional(), agentId: t.z.string().min(1).optional(), origin: t.z.object({ provider: t.z.string(), requestId: t.z.string(), actorId: t.z.string(), agentId: t.z.string().min(1).optional(), childPid: t.z.number().int().positive().optional() }).optional(), seq: t.z.number().int().nonnegative().optional(), ev: HI };
41075
+ var HI = t.z.object({ t: t.z.literal("session-handoff"), from: KI.optional(), to: KI, reason: t.z.string().optional() });
41076
+ var VI = t.z.discriminatedUnion("t", [AI, EI, wI, RI, CI, PI, NI, OI, MI, LI, zI, DI, FI, WI, jI, BI, GI, HI]);
41077
+ var qI = { v: t.z.literal(1).default(1), id: t.z.string().min(1), time: t.z.number(), role: bI, turn: t.z.string().optional(), subagent: t.z.string().optional(), correlationId: t.z.string().min(1).optional(), localId: t.z.string().min(1).optional(), agentId: t.z.string().min(1).optional(), origin: t.z.object({ provider: t.z.string(), requestId: t.z.string(), actorId: t.z.string(), agentId: t.z.string().min(1).optional(), childPid: t.z.number().int().positive().optional() }).optional(), seq: t.z.number().int().nonnegative().optional(), ev: VI };
41078
41078
  var YI = t.z.object(_(_({}, qI), { __seq: t.z.number().int().optional(), userSeq: t.z.number().int().nonnegative().optional(), __degraded: t.z.literal(true).optional(), messageId: t.z.string().min(1).optional() }));
41079
41079
  var XI = t.z.strictObject(_(_({}, qI), { __seq: t.z.undefined().optional(), userSeq: t.z.undefined().optional(), __degraded: t.z.undefined().optional(), messageId: t.z.undefined().optional() })).superRefine(function(e2, t2) {
41080
41080
  "subagent-ref" === e2.ev.t && t2.addIssue({ code: "custom", path: ["ev", "t"], message: "subagent-ref is a server-generated retention projection event" });
@@ -41408,7 +41408,7 @@ function DS(e2, t2, n2, o2, r2) {
41408
41408
  return "tool" === e4.kind && e4.callId === t3.call;
41409
41409
  }), l2 = { id: o3(), kind: "tool", callId: t3.call, name: t3.name, state: "running", input: t3.args, startedAt: r3, executionTarget: YS(n3) };
41410
41410
  if (c2 >= 0) {
41411
- var u2 = s2[c2], d2 = _(_({}, u2), { input: t3.args, name: t3.name, startedAt: r3, executionTarget: null !== (a2 = u2.executionTarget) && void 0 !== a2 ? a2 : l2.executionTarget, state: HS(u2.state) ? u2.state : "running", permission: "pending" === (null === (i2 = u2.permission) || void 0 === i2 ? void 0 : i2.status) ? _(_({}, u2.permission), { status: "approved", decidedAt: r3 }) : u2.permission });
41411
+ var u2 = s2[c2], d2 = _(_({}, u2), { input: t3.args, name: t3.name, startedAt: r3, executionTarget: null !== (a2 = u2.executionTarget) && void 0 !== a2 ? a2 : l2.executionTarget, state: VS(u2.state) ? u2.state : "running", permission: "pending" === (null === (i2 = u2.permission) || void 0 === i2 ? void 0 : i2.status) ? _(_({}, u2.permission), { status: "approved", decidedAt: r3 }) : u2.permission });
41412
41412
  return _(_({}, e3), { parts: XS(s2, c2, d2), updatedAt: r3 });
41413
41413
  }
41414
41414
  return _(_({}, e3), { parts: A(A([], s2, true), [l2], false), pending: true, updatedAt: r3 });
@@ -41432,7 +41432,7 @@ function DS(e2, t2, n2, o2, r2) {
41432
41432
  return null !== (t4 = e4.toolUseId) && void 0 !== t4 ? t4 : e4.requestId;
41433
41433
  })(t3), u2 = GS(c2, l2, t3.requestId), d2 = _(_(_({ status: "pending", requestId: t3.requestId }, t3.toolUseId ? { toolUseId: t3.toolUseId } : {}), { requestedAt: r3 }), t3.inputPreview ? { reason: t3.inputPreview } : {});
41434
41434
  if (u2 >= 0) {
41435
- var p2 = c2[u2], m2 = XS(c2, u2, _(_({}, p2), { name: null !== (a2 = t3.toolName) && void 0 !== a2 ? a2 : p2.name, input: VS(p2.input) ? p2.input : BS(t3), executionTarget: null !== (i2 = p2.executionTarget) && void 0 !== i2 ? i2 : YS(n3), permission: d2, state: KS(p2.state) }));
41435
+ var p2 = c2[u2], m2 = XS(c2, u2, _(_({}, p2), { name: null !== (a2 = t3.toolName) && void 0 !== a2 ? a2 : p2.name, input: HS(p2.input) ? p2.input : BS(t3), executionTarget: null !== (i2 = p2.executionTarget) && void 0 !== i2 ? i2 : YS(n3), permission: d2, state: KS(p2.state) }));
41436
41436
  return _(_({}, e3), { parts: m2, pending: jS(m2), updatedAt: r3 });
41437
41437
  }
41438
41438
  var f2 = { id: o3(), kind: "tool", callId: l2, name: null !== (s2 = t3.toolName) && void 0 !== s2 ? s2 : "tool", state: "pending", input: BS(t3), permission: d2, executionTarget: YS(n3) }, g2 = A(A([], c2, true), [f2], false);
@@ -41445,7 +41445,7 @@ function DS(e2, t2, n2, o2, r2) {
41445
41445
  var u2 = _({ id: n3(), kind: "tool", callId: t3.requestId, name: "tool", state: "approved" === l2 ? "pending" : "cancelled", input: {}, permission: _({ status: l2, requestId: t3.requestId, requestedAt: o3, decidedAt: o3, decidedBy: t3.by }, FS(t3)) }, "denied" === l2 ? { completedAt: o3, errorMessage: "Permission denied." } : {}), d2 = A(A([], e3.parts, true), [u2], false);
41446
41446
  return _(_({}, e3), { parts: d2, pending: jS(d2), updatedAt: o3 });
41447
41447
  }
41448
- var p2 = e3.parts[c2], m2 = "denied" === l2 && !HS(p2.state), f2 = _(_(_({}, p2), { state: m2 ? "cancelled" : p2.state, permission: _(_(_({}, p2.permission), { status: l2, requestId: null !== (a2 = null === (r3 = p2.permission) || void 0 === r3 ? void 0 : r3.requestId) && void 0 !== a2 ? a2 : t3.requestId, requestedAt: null !== (s2 = null === (i2 = p2.permission) || void 0 === i2 ? void 0 : i2.requestedAt) && void 0 !== s2 ? s2 : o3, decidedAt: o3, decidedBy: t3.by }), FS(t3)) }), m2 ? { completedAt: o3, errorMessage: "Permission denied." } : {}), g2 = XS(e3.parts, c2, f2);
41448
+ var p2 = e3.parts[c2], m2 = "denied" === l2 && !VS(p2.state), f2 = _(_(_({}, p2), { state: m2 ? "cancelled" : p2.state, permission: _(_(_({}, p2.permission), { status: l2, requestId: null !== (a2 = null === (r3 = p2.permission) || void 0 === r3 ? void 0 : r3.requestId) && void 0 !== a2 ? a2 : t3.requestId, requestedAt: null !== (s2 = null === (i2 = p2.permission) || void 0 === i2 ? void 0 : i2.requestedAt) && void 0 !== s2 ? s2 : o3, decidedAt: o3, decidedBy: t3.by }), FS(t3)) }), m2 ? { completedAt: o3, errorMessage: "Permission denied." } : {}), g2 = XS(e3.parts, c2, f2);
41449
41449
  return _(_({}, e3), { parts: g2, pending: jS(g2), updatedAt: o3 });
41450
41450
  })(e2, t2, o2, r2);
41451
41451
  case "turn-start":
@@ -41507,12 +41507,12 @@ function GS(e2, t2, n2) {
41507
41507
  });
41508
41508
  }
41509
41509
  function KS(e2) {
41510
- return HS(e2) ? e2 : "running" === e2 ? "running" : "pending";
41510
+ return VS(e2) ? e2 : "running" === e2 ? "running" : "pending";
41511
41511
  }
41512
- function VS(e2) {
41512
+ function HS(e2) {
41513
41513
  return null != e2 && ("object" != typeof e2 || Object.keys(e2).length > 0);
41514
41514
  }
41515
- function HS(e2) {
41515
+ function VS(e2) {
41516
41516
  return "completed" === e2 || "error" === e2 || "cancelled" === e2;
41517
41517
  }
41518
41518
  function qS(e2) {
@@ -41783,7 +41783,7 @@ function KT() {
41783
41783
  return null;
41784
41784
  }
41785
41785
  }
41786
- function VT(e2) {
41786
+ function HT(e2) {
41787
41787
  BT = e2;
41788
41788
  try {
41789
41789
  var t2 = KT();
@@ -41792,7 +41792,7 @@ function VT(e2) {
41792
41792
  } catch (e3) {
41793
41793
  }
41794
41794
  }
41795
- var HT = function() {
41795
+ var VT = function() {
41796
41796
  return true;
41797
41797
  };
41798
41798
  function qT(e2) {
@@ -41808,10 +41808,10 @@ function qT(e2) {
41808
41808
  }
41809
41809
  return null;
41810
41810
  })(), n2 = t2 && e2 - t2.lastAt <= 3e5 ? t2.count + 1 : 1;
41811
- return n2 >= 3 ? (VT(null), true) : (VT({ count: n2, lastAt: e2 }), false);
41811
+ return n2 >= 3 ? (HT(null), true) : (HT({ count: n2, lastAt: e2 }), false);
41812
41812
  }
41813
41813
  function YT() {
41814
- VT(null);
41814
+ HT(null);
41815
41815
  }
41816
41816
  function XT(e2, t2) {
41817
41817
  if (401 === e2 && "REFRESH_MISSING" === (null == t2 ? void 0 : t2.code)) return "permanent";
@@ -41819,7 +41819,7 @@ function XT(e2, t2) {
41819
41819
  if ("success" === n2.kind) return "transient";
41820
41820
  if (n2.failure instanceof r.PermanentAuthFailure) {
41821
41821
  if ("UNKNOWN_401" === n2.failure.code) {
41822
- if (!HT()) return "permanent";
41822
+ if (!VT()) return "permanent";
41823
41823
  if (!qT(Date.now())) return "transient";
41824
41824
  }
41825
41825
  return "permanent";
@@ -42065,7 +42065,7 @@ function rA(e2) {
42065
42065
  if (!e2.workspaceId) throw new Error("workspaceId is required for the workspace memory tier.");
42066
42066
  return Rs(e2.workspaceId);
42067
42067
  }
42068
- return e2.agentId ? Ho(e2.agentId) : Ko();
42068
+ return e2.agentId ? Vo(e2.agentId) : Ko();
42069
42069
  }
42070
42070
  function aA(e2, t2) {
42071
42071
  if ("user" === e2.tier) return Jo(t2);
@@ -42074,7 +42074,7 @@ function aA(e2, t2) {
42074
42074
  return Cs(e2.workspaceId, t2);
42075
42075
  }
42076
42076
  return e2.agentId ? (function(e3, t3) {
42077
- return "".concat(Ho(e3), "/").concat(encodeURIComponent(t3));
42077
+ return "".concat(Vo(e3), "/").concat(encodeURIComponent(t3));
42078
42078
  })(e2.agentId, t2) : (function(e3) {
42079
42079
  return "".concat(Ko(), "/").concat(encodeURIComponent(e3));
42080
42080
  })(t2);
@@ -42086,14 +42086,14 @@ function iA(e2) {
42086
42086
  return t2 = e2.workspaceId, "".concat(Rs(t2), "/search");
42087
42087
  }
42088
42088
  var t2, n2;
42089
- return e2.agentId ? (n2 = e2.agentId, "".concat(Ho(n2), "/search")) : "".concat(Ko(), "/search");
42089
+ return e2.agentId ? (n2 = e2.agentId, "".concat(Vo(n2), "/search")) : "".concat(Ko(), "/search");
42090
42090
  }
42091
42091
  function sA(e2, t2) {
42092
42092
  if ("user" === e2.tier || "workspace" === e2.tier) throw new Error("Daily logs exist only at owner or agent scope.");
42093
42093
  return e2.agentId ? (function(e3, t3) {
42094
42094
  return "".concat(Yo(e3), "/").concat(encodeURIComponent(t3));
42095
42095
  })(e2.agentId, t2) : (function(e3) {
42096
- return "".concat(Vo(), "/").concat(encodeURIComponent(e3));
42096
+ return "".concat(Ho(), "/").concat(encodeURIComponent(e3));
42097
42097
  })(t2);
42098
42098
  }
42099
42099
  function cA(e2) {
@@ -42209,7 +42209,7 @@ var uA = Object.freeze({ __proto__: null, acceptAgentIntuition: function(e2, t2,
42209
42209
  })(e2), t2);
42210
42210
  }, addTaskComment: function(e2) {
42211
42211
  var t2 = e2.taskId, n2 = e2.data;
42212
- return nA.post(Hr(t2), n2);
42212
+ return nA.post(Vr(t2), n2);
42213
42213
  }, addTaskDeliverable: function(e2, t2) {
42214
42214
  return nA.post(Pr(e2), t2);
42215
42215
  }, addTaskImplementationWorkflowSubtask: function(e2) {
@@ -42601,7 +42601,7 @@ var uA = Object.freeze({ __proto__: null, acceptAgentIntuition: function(e2, t2,
42601
42601
  }, createSpaceCycle: function(e2, t2) {
42602
42602
  return nA.post(Xa(e2), t2);
42603
42603
  }, createSpaceDirectoryView: function(e2) {
42604
- return nA.post(Va(), e2);
42604
+ return nA.post(Ha(), e2);
42605
42605
  }, createSpaceFolder: function(e2) {
42606
42606
  var t2 = e2.spaceId, n2 = e2.data;
42607
42607
  return nA.post(bo(t2), n2);
@@ -42752,7 +42752,7 @@ var uA = Object.freeze({ __proto__: null, acceptAgentIntuition: function(e2, t2,
42752
42752
  return S(void 0, [e2], void 0, function(e3) {
42753
42753
  var t2 = e3.agent_id, n2 = e3.action_id;
42754
42754
  return T(this, function(e4) {
42755
- return [2, nA.delete((o2 = t2, r2 = n2, "".concat(Vn(o2), "/").concat(encodeURIComponent(r2))))];
42755
+ return [2, nA.delete((o2 = t2, r2 = n2, "".concat(Hn(o2), "/").concat(encodeURIComponent(r2))))];
42756
42756
  var o2, r2;
42757
42757
  });
42758
42758
  });
@@ -42770,7 +42770,7 @@ var uA = Object.freeze({ __proto__: null, acceptAgentIntuition: function(e2, t2,
42770
42770
  }, deleteAgentNotepad: function(e2) {
42771
42771
  return nA.delete(bn(e2));
42772
42772
  }, deleteAgentSlackChannel: function(e2, t2) {
42773
- return nA.delete(Vi(e2, t2));
42773
+ return nA.delete(Hi(e2, t2));
42774
42774
  }, deleteAgentSlackManagerToken: function(e2) {
42775
42775
  return nA.delete(Gi(e2));
42776
42776
  }, deleteAgentSlackSharedApp: function(e2) {
@@ -42786,7 +42786,7 @@ var uA = Object.freeze({ __proto__: null, acceptAgentIntuition: function(e2, t2,
42786
42786
  return nA.delete(Co());
42787
42787
  }, deleteAvatarLibraryAsset: function(e2) {
42788
42788
  return nA.delete((function(e3) {
42789
- return "".concat(Hn(), "/").concat(encodeURIComponent(e3));
42789
+ return "".concat(Vn(), "/").concat(encodeURIComponent(e3));
42790
42790
  })(e2));
42791
42791
  }, deleteBookmark: function(e2, t2) {
42792
42792
  return nA.delete((function(e3, t3) {
@@ -42885,7 +42885,7 @@ var uA = Object.freeze({ __proto__: null, acceptAgentIntuition: function(e2, t2,
42885
42885
  }, deleteSpaceBrief: function(e2, t2, n2) {
42886
42886
  return nA.delete(vi(e2, t2, n2));
42887
42887
  }, deleteSpaceDirectoryView: function(e2, t2) {
42888
- return nA.delete("".concat(Ha(e2), "?expectedVersion=").concat(encodeURIComponent(t2)));
42888
+ return nA.delete("".concat(Va(e2), "?expectedVersion=").concat(encodeURIComponent(t2)));
42889
42889
  }, deleteSpaceFile: function(e2) {
42890
42890
  var t2 = e2.spaceId, n2 = e2.file_id;
42891
42891
  return nA.delete((function(e3, t3) {
@@ -43247,7 +43247,7 @@ var uA = Object.freeze({ __proto__: null, acceptAgentIntuition: function(e2, t2,
43247
43247
  return nA.get(qo(e2));
43248
43248
  }, getAgentMemoryProvenance: function(e2, t2) {
43249
43249
  return nA.get((function(e3, t3) {
43250
- return "".concat(Ho(e3), "/provenance").concat(un(null != t3 ? t3 : {}));
43250
+ return "".concat(Vo(e3), "/provenance").concat(un(null != t3 ? t3 : {}));
43251
43251
  })(e2, t2));
43252
43252
  }, getAgentMemoryWorkspaceNode: function(e2, t2, n2) {
43253
43253
  var o2 = new URLSearchParams();
@@ -43648,7 +43648,7 @@ var uA = Object.freeze({ __proto__: null, acceptAgentIntuition: function(e2, t2,
43648
43648
  }, getMemoryDailyLogs: function(e2) {
43649
43649
  return nA.get((function(e3) {
43650
43650
  if ("user" === e3.tier || "workspace" === e3.tier) throw new Error("Daily logs exist only at owner or agent scope.");
43651
- return e3.agentId ? Yo(e3.agentId) : Vo();
43651
+ return e3.agentId ? Yo(e3.agentId) : Ho();
43652
43652
  })(oA(e2)));
43653
43653
  }, getMemoryPreferences: function() {
43654
43654
  return nA.get($o());
@@ -43874,7 +43874,7 @@ var uA = Object.freeze({ __proto__: null, acceptAgentIntuition: function(e2, t2,
43874
43874
  }, getSpaceCycleSettings: function(e2) {
43875
43875
  return nA.get(Za(e2));
43876
43876
  }, getSpaceDirectoryView: function(e2) {
43877
- return nA.get(Ha(e2));
43877
+ return nA.get(Va(e2));
43878
43878
  }, getSpaceEstimateAccuracy: function(e2, t2) {
43879
43879
  return nA.get((function(e3, t3) {
43880
43880
  var n2 = "".concat(Ba(), "/").concat(encodeURIComponent(e3), "/insights/estimate-accuracy");
@@ -44443,7 +44443,7 @@ var uA = Object.freeze({ __proto__: null, acceptAgentIntuition: function(e2, t2,
44443
44443
  return "".concat(Ei(e3), "/instantiate");
44444
44444
  })(e2), t2);
44445
44445
  }, integrationsConnect: function(e2, t2) {
44446
- return nA.post(Vs(e2, t2.provider), t2);
44446
+ return nA.post(Hs(e2, t2.provider), t2);
44447
44447
  }, integrationsDisconnect: function(e2, t2, n2) {
44448
44448
  return nA.delete((function(e3, t3, n3) {
44449
44449
  var o2 = "".concat(Ks(), "/agents/").concat(encodeURIComponent(e3), "/connections/").concat(encodeURIComponent(t3));
@@ -44460,7 +44460,7 @@ var uA = Object.freeze({ __proto__: null, acceptAgentIntuition: function(e2, t2,
44460
44460
  return n3 ? "".concat(o3, "?provider=").concat(encodeURIComponent(n3)) : o3;
44461
44461
  })(e2, t2, o2), null != n2 ? { timeoutMs: n2 } : {});
44462
44462
  }, integrationsListConnections: function(e2, t2) {
44463
- return nA.get(Vs(e2, t2));
44463
+ return nA.get(Hs(e2, t2));
44464
44464
  }, integrationsListToolkits: function(e2) {
44465
44465
  return nA.get((function(e3) {
44466
44466
  var t2 = "".concat(Ks(), "/toolkits");
@@ -44472,7 +44472,7 @@ var uA = Object.freeze({ __proto__: null, acceptAgentIntuition: function(e2, t2,
44472
44472
  return t3 ? "".concat(n3).concat(un(t3)) : n3;
44473
44473
  })(e2, { cached: t2, provider: n2 }));
44474
44474
  }, integrationsListToolsForConnection: function(e2, t2, n2) {
44475
- return nA.get(Hs(e2, t2, n2));
44475
+ return nA.get(Vs(e2, t2, n2));
44476
44476
  }, integrationsReconnect: function(e2, t2, n2) {
44477
44477
  return nA.post((function(e3, t3, n3) {
44478
44478
  var o2 = "".concat(Ks(), "/agents/").concat(encodeURIComponent(e3), "/connections/").concat(encodeURIComponent(t3), "/reconnect");
@@ -44483,7 +44483,7 @@ var uA = Object.freeze({ __proto__: null, acceptAgentIntuition: function(e2, t2,
44483
44483
  return "".concat(Ks(), "/agents/").concat(encodeURIComponent(e3), "/tools/search").concat(un(t3));
44484
44484
  })(e2, { q: t2, limit: n2, provider: o2 }));
44485
44485
  }, integrationsSetAllowedTools: function(e2, t2, n2, o2) {
44486
- return nA.put(Hs(e2, t2, o2), { allowedTools: n2 });
44486
+ return nA.put(Vs(e2, t2, o2), { allowedTools: n2 });
44487
44487
  }, interruptTaskExchange: function(e2, t2, n2) {
44488
44488
  return nA.post((function(e3, t3) {
44489
44489
  return "".concat(hr(), "/").concat(encodeURIComponent(e3), "/exchanges/").concat(encodeURIComponent(t3), "/interrupt");
@@ -44494,7 +44494,7 @@ var uA = Object.freeze({ __proto__: null, acceptAgentIntuition: function(e2, t2,
44494
44494
  }, invokeAgentSlackTool: function(e2) {
44495
44495
  var t2 = e2.agentId, n2 = e2.toolName, o2 = e2.input, r2 = void 0 === o2 ? {} : o2;
44496
44496
  return nA.post((function(e3, t3) {
44497
- return "".concat(Hi(e3), "/").concat(encodeURIComponent(t3), "/invoke");
44497
+ return "".concat(Vi(e3), "/").concat(encodeURIComponent(t3), "/invoke");
44498
44498
  })(t2, n2), r2);
44499
44499
  }, joinGroupChat: function(e2) {
44500
44500
  return nA.post((function(e3) {
@@ -44549,16 +44549,16 @@ var uA = Object.freeze({ __proto__: null, acceptAgentIntuition: function(e2, t2,
44549
44549
  }, listAgentSlackToolChannels: function(e2) {
44550
44550
  var t2 = e2.agentId, n2 = I(e2, ["agentId"]);
44551
44551
  return nA.get((function(e3, t3) {
44552
- return void 0 === t3 && (t3 = {}), "".concat(Hi(e3), "/channels").concat(un(t3));
44552
+ return void 0 === t3 && (t3 = {}), "".concat(Vi(e3), "/channels").concat(un(t3));
44553
44553
  })(t2, n2));
44554
44554
  }, listAgentSlackToolDefinitions: function(e2) {
44555
44555
  return nA.get((function(e3) {
44556
- return Hi(e3);
44556
+ return Vi(e3);
44557
44557
  })(e2));
44558
44558
  }, listAgentSlackToolUsers: function(e2) {
44559
44559
  var t2 = e2.agentId, n2 = I(e2, ["agentId"]);
44560
44560
  return nA.get((function(e3, t3) {
44561
- return void 0 === t3 && (t3 = {}), "".concat(Hi(e3), "/users").concat(un(t3));
44561
+ return void 0 === t3 && (t3 = {}), "".concat(Vi(e3), "/users").concat(un(t3));
44562
44562
  })(t2, n2));
44563
44563
  }, listAgentSpaces: function(e2) {
44564
44564
  return nA.get((function(e3) {
@@ -44585,7 +44585,7 @@ var uA = Object.freeze({ __proto__: null, acceptAgentIntuition: function(e2, t2,
44585
44585
  return t3 ? "".concat(n2).concat(un(t3)) : n2;
44586
44586
  })(e2, t2));
44587
44587
  }, listAvatarLibrary: function() {
44588
- return nA.get(Hn());
44588
+ return nA.get(Vn());
44589
44589
  }, listBookmarks: function(e2) {
44590
44590
  return nA.get((function(e3) {
44591
44591
  return e3 ? "".concat(Fs(), "/bookmarks").concat(un(e3)) : "".concat(Fs(), "/bookmarks");
@@ -44810,7 +44810,7 @@ var uA = Object.freeze({ __proto__: null, acceptAgentIntuition: function(e2, t2,
44810
44810
  }, listSpaceCycles: function(e2, t2) {
44811
44811
  return nA.get(Xa(e2, t2));
44812
44812
  }, listSpaceDirectoryViews: function() {
44813
- return nA.get(Va());
44813
+ return nA.get(Ha());
44814
44814
  }, listSpaceFiles: function(e2, t2, n2) {
44815
44815
  var o2 = new URLSearchParams();
44816
44816
  void 0 !== (null == t2 ? void 0 : t2.limit) && o2.set("limit", String(t2.limit)), (null == t2 ? void 0 : t2.cursor) && o2.set("cursor", t2.cursor);
@@ -44935,7 +44935,7 @@ var uA = Object.freeze({ __proto__: null, acceptAgentIntuition: function(e2, t2,
44935
44935
  return void 0 === t3 && (t3 = false), "".concat(hr(), "/").concat(encodeURIComponent(e3), "/children").concat(t3 ? "?includeActionability=true" : "");
44936
44936
  })(e2, t2));
44937
44937
  }, listTaskComments: function(e2, t2) {
44938
- var n2 = Hr(e2), o2 = new URLSearchParams();
44938
+ var n2 = Vr(e2), o2 = new URLSearchParams();
44939
44939
  null != (null == t2 ? void 0 : t2.limit) && o2.set("limit", String(t2.limit)), (null == t2 ? void 0 : t2.cursor) && o2.set("cursor", t2.cursor);
44940
44940
  var r2 = o2.toString();
44941
44941
  return nA.get(r2 ? "".concat(n2, "?").concat(r2) : n2);
@@ -45240,12 +45240,12 @@ var uA = Object.freeze({ __proto__: null, acceptAgentIntuition: function(e2, t2,
45240
45240
  }, readAgentSlackToolMessages: function(e2) {
45241
45241
  var t2 = e2.agentId, n2 = I(e2, ["agentId"]);
45242
45242
  return nA.get((function(e3, t3) {
45243
- return void 0 === t3 && (t3 = {}), "".concat(Hi(e3), "/messages").concat(un(t3));
45243
+ return void 0 === t3 && (t3 = {}), "".concat(Vi(e3), "/messages").concat(un(t3));
45244
45244
  })(t2, n2));
45245
45245
  }, readAgentSlackToolThread: function(e2) {
45246
45246
  var t2 = e2.agentId, n2 = I(e2, ["agentId"]);
45247
45247
  return nA.get((function(e3, t3) {
45248
- return void 0 === t3 && (t3 = {}), "".concat(Hi(e3), "/thread").concat(un(t3));
45248
+ return void 0 === t3 && (t3 = {}), "".concat(Vi(e3), "/thread").concat(un(t3));
45249
45249
  })(t2, n2));
45250
45250
  }, reanchorDocCommentThread: function(e2) {
45251
45251
  var t2 = e2.docType, n2 = e2.docId, o2 = e2.threadId, r2 = e2.anchorSnapshot;
@@ -45848,13 +45848,13 @@ var uA = Object.freeze({ __proto__: null, acceptAgentIntuition: function(e2, t2,
45848
45848
  var t2, n2, o2 = { endpoint: "agents", endpointType: "agents", agent_id: e2.agentId, conversationId: null !== (t2 = e2.conversationId) && void 0 !== t2 ? t2 : "new", text: e2.text, endpointOption: { endpoint: "agents", agent_id: e2.agentId } };
45849
45849
  return e2.context && (o2.context = e2.context), e2.workspaceId && (o2.workspaceId = e2.workspaceId), (null === (n2 = e2.skillRefs) || void 0 === n2 ? void 0 : n2.length) && (o2.skillRefs = e2.skillRefs), e2.executionEnvironment && (o2.executionEnvironment = e2.executionEnvironment), e2.preferredDaemonId && (o2.preferredDaemonId = e2.preferredDaemonId), e2.permissionMode && (o2.permissionMode = e2.permissionMode), nA.post(Gs(), o2);
45850
45850
  }, startAllTasks: function(e2) {
45851
- return nA.post(Vr(e2));
45851
+ return nA.post(Hr(e2));
45852
45852
  }, startConnectOnboarding: function() {
45853
45853
  return nA.post("".concat(fr(), "/onboard"));
45854
45854
  }, startDRIAgent: function(e2) {
45855
- return nA.post(Vr(e2), { mode: "dri" });
45855
+ return nA.post(Hr(e2), { mode: "dri" });
45856
45856
  }, startDRIPlan: function(e2) {
45857
- return nA.post(Vr(e2), { mode: "dri-plan" });
45857
+ return nA.post(Hr(e2), { mode: "dri-plan" });
45858
45858
  }, startDocCommentAgentReply: function(e2) {
45859
45859
  var t2 = e2.docType, n2 = e2.docId, o2 = e2.data;
45860
45860
  return nA.post((function(e3, t3) {
@@ -46079,7 +46079,7 @@ var uA = Object.freeze({ __proto__: null, acceptAgentIntuition: function(e2, t2,
46079
46079
  return nA.patch(Un(t2), n2);
46080
46080
  }, updateAgentAction: function(e2) {
46081
46081
  var t2 = e2.agent_id, n2 = I(e2, ["agent_id"]);
46082
- return nA.post(Vn(t2), n2);
46082
+ return nA.post(Hn(t2), n2);
46083
46083
  }, updateAgentDmThreadSubscription: function(e2, t2, n2) {
46084
46084
  return nA.patch((function(e3, t3) {
46085
46085
  return "".concat(ps(e3, t3), "/subscription");
@@ -46103,7 +46103,7 @@ var uA = Object.freeze({ __proto__: null, acceptAgentIntuition: function(e2, t2,
46103
46103
  }, updateAgentPreferences: function(e2, t2) {
46104
46104
  return nA.patch(yn(e2), t2);
46105
46105
  }, updateAgentSlackChannel: function(e2, t2, n2) {
46106
- return nA.put(Vi(e2, t2), n2);
46106
+ return nA.put(Hi(e2, t2), n2);
46107
46107
  }, updateAgentSlackConfig: function(e2, t2) {
46108
46108
  return nA.put(Fi(e2), t2);
46109
46109
  }, updateAgentSlackManagerToken: function(e2, t2) {
@@ -46293,7 +46293,7 @@ var uA = Object.freeze({ __proto__: null, acceptAgentIntuition: function(e2, t2,
46293
46293
  return "".concat(Jt, "/api/user/space-preferences/").concat(encodeURIComponent(e3), "/default-tab");
46294
46294
  })(e2), { defaultTab: t2 });
46295
46295
  }, updateSpaceDirectoryView: function(e2, t2) {
46296
- return nA.patch(Ha(e2), t2);
46296
+ return nA.patch(Va(e2), t2);
46297
46297
  }, updateSpaceFolder: function(e2) {
46298
46298
  var t2 = e2.spaceId, n2 = e2.folder_id, o2 = e2.data;
46299
46299
  return nA.patch(xo(t2, n2), o2);
@@ -46828,8 +46828,8 @@ var jA = [PA.maxContextTokens, DA.maxOutputTokens, DA.temperature, DA.topP, DA.t
46828
46828
  var BA = [PA.modelLabel, PA.promptPrefix, PA.maxContextTokens, NA.max_tokens, NA.temperature, NA.top_p, NA.frequency_penalty, NA.presence_penalty, RA.stop, PA.resendFiles, RA.imageDetail, NA.web_search, NA.reasoning_effort, NA.useResponsesApi, NA.reasoning_summary, NA.verbosity, NA.disableStreaming, PA.fileTokenLimit];
46829
46829
  var GA = [RA.model, PA.modelLabel, PA.promptPrefix];
46830
46830
  var KA = [PA.maxContextTokens, NA.max_tokens, NA.temperature, NA.top_p, NA.frequency_penalty, NA.presence_penalty, RA.stop, PA.resendFiles, RA.imageDetail, NA.reasoning_effort, NA.reasoning_summary, NA.verbosity, NA.useResponsesApi, NA.web_search, NA.disableStreaming, PA.fileTokenLimit];
46831
- var VA = [PA.modelLabel, PA.promptPrefix, PA.maxContextTokens, OA.maxOutputTokens, OA.temperature, OA.topP, OA.topK, PA.resendFiles, OA.promptCache, OA.thinking, OA.thinkingBudget, OA.web_search, PA.fileTokenLimit];
46832
- var HA = [RA.model, PA.modelLabel, PA.promptPrefix];
46831
+ var HA = [PA.modelLabel, PA.promptPrefix, PA.maxContextTokens, OA.maxOutputTokens, OA.temperature, OA.topP, OA.topK, PA.resendFiles, OA.promptCache, OA.thinking, OA.thinkingBudget, OA.web_search, PA.fileTokenLimit];
46832
+ var VA = [RA.model, PA.modelLabel, PA.promptPrefix];
46833
46833
  var qA = [PA.maxContextTokens, OA.maxOutputTokens, OA.temperature, OA.topP, OA.topK, PA.resendFiles, OA.promptCache, OA.thinking, OA.thinkingBudget, OA.web_search, PA.fileTokenLimit];
46834
46834
  var YA = [PA.modelLabel, MA.system, PA.maxContextTokens, MA.maxTokens, MA.temperature, MA.topP, MA.topK, RA.stop, PA.resendFiles, MA.region, OA.thinking, OA.thinkingBudget, PA.fileTokenLimit];
46835
46835
  var XA = [PA.modelLabel, PA.promptPrefix, PA.maxContextTokens, MA.maxTokens, LA.temperature, LA.topP, PA.resendFiles, MA.region, PA.fileTokenLimit];
@@ -46843,15 +46843,15 @@ var nE = [RA.model, PA.modelLabel, PA.promptPrefix];
46843
46843
  var oE = [PA.maxContextTokens, MA.maxTokens, zA.temperature, zA.topP, PA.resendFiles, MA.region, PA.fileTokenLimit];
46844
46844
  var rE = [RA.model, PA.modelLabel, PA.promptPrefix];
46845
46845
  var aE = [PA.maxContextTokens, UA.temperature, UA.topP, PA.resendFiles, MA.region, PA.fileTokenLimit];
46846
- var iE = ((kA = {})[exports.EModelEndpoint.openAI] = BA, kA[exports.EModelEndpoint.azureOpenAI] = BA, kA[exports.EModelEndpoint.custom] = BA, kA[exports.EModelEndpoint.anthropic] = VA, kA["".concat(exports.EModelEndpoint.bedrock, "-").concat(exports.BedrockProviders.Anthropic)] = YA, kA["".concat(exports.EModelEndpoint.bedrock, "-").concat(exports.BedrockProviders.MistralAI)] = XA, kA["".concat(exports.EModelEndpoint.bedrock, "-").concat(exports.BedrockProviders.Cohere)] = QA, kA["".concat(exports.EModelEndpoint.bedrock, "-").concat(exports.BedrockProviders.Meta)] = ZA, kA["".concat(exports.EModelEndpoint.bedrock, "-").concat(exports.BedrockProviders.AI21)] = ZA, kA["".concat(exports.EModelEndpoint.bedrock, "-").concat(exports.BedrockProviders.Amazon)] = ZA, kA["".concat(exports.EModelEndpoint.bedrock, "-").concat(exports.BedrockProviders.DeepSeek)] = ZA, kA[exports.EModelEndpoint.google] = FA, kA);
46846
+ var iE = ((kA = {})[exports.EModelEndpoint.openAI] = BA, kA[exports.EModelEndpoint.azureOpenAI] = BA, kA[exports.EModelEndpoint.custom] = BA, kA[exports.EModelEndpoint.anthropic] = HA, kA["".concat(exports.EModelEndpoint.bedrock, "-").concat(exports.BedrockProviders.Anthropic)] = YA, kA["".concat(exports.EModelEndpoint.bedrock, "-").concat(exports.BedrockProviders.MistralAI)] = XA, kA["".concat(exports.EModelEndpoint.bedrock, "-").concat(exports.BedrockProviders.Cohere)] = QA, kA["".concat(exports.EModelEndpoint.bedrock, "-").concat(exports.BedrockProviders.Meta)] = ZA, kA["".concat(exports.EModelEndpoint.bedrock, "-").concat(exports.BedrockProviders.AI21)] = ZA, kA["".concat(exports.EModelEndpoint.bedrock, "-").concat(exports.BedrockProviders.Amazon)] = ZA, kA["".concat(exports.EModelEndpoint.bedrock, "-").concat(exports.BedrockProviders.DeepSeek)] = ZA, kA[exports.EModelEndpoint.google] = FA, kA);
46847
46847
  var sE = { col1: GA, col2: KA };
46848
46848
  var cE = { col1: rE, col2: aE };
46849
- var lE = ((_A = {})[exports.EModelEndpoint.openAI] = sE, _A[exports.EModelEndpoint.azureOpenAI] = sE, _A[exports.EModelEndpoint.custom] = sE, _A[exports.EModelEndpoint.anthropic] = { col1: HA, col2: qA }, _A["".concat(exports.EModelEndpoint.bedrock, "-").concat(exports.BedrockProviders.Anthropic)] = { col1: JA, col2: $A }, _A["".concat(exports.EModelEndpoint.bedrock, "-").concat(exports.BedrockProviders.MistralAI)] = { col1: eE, col2: tE }, _A["".concat(exports.EModelEndpoint.bedrock, "-").concat(exports.BedrockProviders.Cohere)] = { col1: nE, col2: oE }, _A["".concat(exports.EModelEndpoint.bedrock, "-").concat(exports.BedrockProviders.Meta)] = cE, _A["".concat(exports.EModelEndpoint.bedrock, "-").concat(exports.BedrockProviders.AI21)] = cE, _A["".concat(exports.EModelEndpoint.bedrock, "-").concat(exports.BedrockProviders.Amazon)] = cE, _A["".concat(exports.EModelEndpoint.bedrock, "-").concat(exports.BedrockProviders.DeepSeek)] = cE, _A[exports.EModelEndpoint.google] = { col1: WA, col2: jA }, _A);
46849
+ var lE = ((_A = {})[exports.EModelEndpoint.openAI] = sE, _A[exports.EModelEndpoint.azureOpenAI] = sE, _A[exports.EModelEndpoint.custom] = sE, _A[exports.EModelEndpoint.anthropic] = { col1: VA, col2: qA }, _A["".concat(exports.EModelEndpoint.bedrock, "-").concat(exports.BedrockProviders.Anthropic)] = { col1: JA, col2: $A }, _A["".concat(exports.EModelEndpoint.bedrock, "-").concat(exports.BedrockProviders.MistralAI)] = { col1: eE, col2: tE }, _A["".concat(exports.EModelEndpoint.bedrock, "-").concat(exports.BedrockProviders.Cohere)] = { col1: nE, col2: oE }, _A["".concat(exports.EModelEndpoint.bedrock, "-").concat(exports.BedrockProviders.Meta)] = cE, _A["".concat(exports.EModelEndpoint.bedrock, "-").concat(exports.BedrockProviders.AI21)] = cE, _A["".concat(exports.EModelEndpoint.bedrock, "-").concat(exports.BedrockProviders.Amazon)] = cE, _A["".concat(exports.EModelEndpoint.bedrock, "-").concat(exports.BedrockProviders.DeepSeek)] = cE, _A[exports.EModelEndpoint.google] = { col1: WA, col2: jA }, _A);
46850
46850
  var uE = Object.entries(lE).reduce(function(e2, t2) {
46851
46851
  var n2 = t2[0], o2 = t2[1];
46852
46852
  return o2 && (e2[n2] = o2.col2), e2;
46853
46853
  }, {});
46854
- exports.ACCEPTED_AGENT_TRIGGER_FIRE_OUTCOMES = ["succeeded", "in_progress", "awaiting_runtime"], exports.ACCEPTED_LOCAL_HARNESS_PROVIDER_ENVIRONMENTS = op, exports.ACTIVE_WITHIN_DAYS = 7, exports.ACTIVE_WORKFLOW_RUN_STATUSES = aI, exports.AGENT_ACTION_OUTCOMES = ["ephemeral", "durable"], exports.AGENT_ACTION_SCOPE_KINDS = ["general", "space", "label"], exports.AGENT_ATTRIBUTION_MODES = nk, exports.AGENT_AVATAR_CATEGORY_LABELS = { studio: "Studio", portraits: "Portraits", illustrations: "Illustrations", characters: "Characters", mascots: "Mascots", ai: "AI", space: "Space" }, exports.AGENT_AVATAR_PRESETS = K_, exports.AGENT_AVATAR_PRESET_CATEGORIES = B_, exports.AGENT_CATEGORY_BROWSE_FILTERS = xx, exports.AGENT_CONTROL_FIELDS = dk, exports.AGENT_FIELD_CLASSIFICATIONS = fk, exports.AGENT_INITIATIVE_POLICY_MODES = ["off", "suggestions_only", "ask_first", "auto_run_limited", "auto_run"], exports.AGENT_INSTALLATION_LOCAL_FIELDS = uk, exports.AGENT_INSTANCE_FIELDS = pk, exports.AGENT_MAX_CONCURRENT_TASK_EXECUTIONS = { min: 0, max: 1e5, default: 0 }, exports.AGENT_MESSAGE_GROUP_WINDOW_MS = yu, exports.AGENT_NOTEPAD_MAX_CONTENT_LENGTH = 8e3, exports.AGENT_PORTABLE_FIELDS = mk, exports.AGENT_SCENE_BACKGROUND_PRESETS = F_, exports.AGENT_SNAPSHOT_FIELDS = lk, exports.AGENT_TONE_MODES = ["inherit", "none", "explicit"], exports.AGENT_TRAILER_KEYS = ak, exports.ALIGNMENT_SNAP_TOLERANCE = 6, exports.ATTENTION_INTERRUPTION_LEVELS = ["all", "important", "urgent"], exports.ATTENTION_SEVERITY_RANK = Ck, exports.ATTENTION_SPAWN_REASONS = Df, exports.ATTENTION_SUPPRESSION_REASONS = ["policy_nudge_muted", "user_paused_daily_planning", "policy_quiet_hours", "policy_min_nudge_interval", "policy_no_reply_backoff", "policy_daily_nudge_cap", "policy_severity_budget", "policy_interruption_level", "policy_nudge_budget_unavailable"], exports.AVATAR_PALETTE = cu, exports.AVATAR_PERSONALITIES = { default: { id: "default", displayLabel: "Default", description: "Calm, neutral presence.", avatarKind: "lottie", avatarRef: "lottie://default" }, helpful: { id: "helpful", displayLabel: "Helpful", description: "Warm, attentive, leans forward.", avatarKind: "lottie", avatarRef: "lottie://helpful" }, focused: { id: "focused", displayLabel: "Focused", description: "Quiet, minimal motion.", avatarKind: "lottie", avatarRef: "lottie://focused" }, classic: { id: "classic", displayLabel: "Classic image", description: "Uses the agent's existing avatar image.", avatarKind: "image", avatarRef: "" } }, exports.ActionRequest = AA, exports.BAND_LABELS = { needs_attention: "Needs attention", active: "Active", dormant: "Dormant", empty: "Empty", complete: "Complete", archived: "Archived" }, exports.BAND_ORDER = Ry, exports.BINDING_REFERENCE_MAX = 500, exports.BINDING_TARGET = /^[A-Za-z_][A-Za-z0-9_-]{0,159}$/, exports.BPS_DENOMINATOR = Ug, exports.BRANCH_ID_PATTERN = ym, exports.BRAND = l, exports.BRAND_NAME = s, exports.BROWSER_LIVE_VIEW_EVENTS = { start: "browser:liveview:start", startAck: "browser:liveview:start:ack", frame: "browser:liveview:frame", state: "browser:liveview:state", input: "browser:liveview:input", stop: "browser:liveview:stop", complete: "browser:liveview:complete" }, exports.BROWSER_LIVE_VIEW_REFUSAL_CODES = { cap: "live_view_cap" }, exports.BROWSER_SESSIONS_EVENTS = { list: "browser:sessions", refresh: "browser:sessions:list" }, exports.BUILTIN_ACTION_LABELS = Sm, exports.BUILTIN_ACTION_OPTIONS = Tm, exports.BUILTIN_ACTION_TYPES = Qp, exports.CANCELLED = fm, exports.CANVAS_LAYERS = Gm, exports.CHARACTER_3D_GENERATION_STAGE_LABELS = { preview: "Sculpting", refine: "Texturing", rig: "Rigging", animate: "Animating" }, exports.CHARACTER_3D_GENERATION_STAGE_ORDER = P_, exports.CHARACTER_3D_GENERATION_STAGE_WEIGHTS = N_, exports.CHAT_BACKGROUND_DEFAULT_DIM = 0.28, exports.CHAT_BACKGROUND_PRESETS = lu, exports.CHAT_BACKGROUND_TYPES = ["default", "preset", "solid", "gradient", "image"], exports.CLOSURE_BLOCKER_PHRASE = Hv, exports.COLLAPSED_BANDS = ["complete", "archived"], exports.COMMITMENT_ACTOR_KINDS = Gx, exports.COMMITMENT_AUTHORABLE_AUTONOMY_MODES = qx, exports.COMMITMENT_AUTHORABLE_CADENCE_MODES = ["manual", "interval", "daily", "event_plus_interval"], exports.COMMITMENT_AUTHORABLE_REPORT_DESTINATIONS = ["main", "pinned", "slack_channel", "slack_owner_dm", "app_owner_dm"], exports.COMMITMENT_AUTONOMY_MODES = Yx, exports.COMMITMENT_AUTONOMY_TIERS = ["observe", "propose", "act"], exports.COMMITMENT_CADENCE_DEFAULT_JITTER_RATIO = 0.35, exports.COMMITMENT_CADENCE_MAX_JITTER_RATIO = 0.9, exports.COMMITMENT_CADENCE_MAX_TIMES = 6, exports.COMMITMENT_CADENCE_MIN_JITTER_RATIO = 0.1, exports.COMMITMENT_CADENCE_MODES = ["manual", "interval", "daily", "sampled", "event_plus_interval"], exports.COMMITMENT_CADENCE_TIME_PATTERN = "^([01][0-9]|2[0-3]):[0-5][0-9]$", exports.COMMITMENT_CREATED_VIA = ["manual_form", "cli", "agent_cli", "nl_setup", "template", "northstar_recommendation", "api", "system"], exports.COMMITMENT_CYCLE_OUTCOMES = ["advanced", "quiet", "stopped", "in_flight"], exports.COMMITMENT_DELIVERY_MODES = ["report_only", "local_patch", "draft_pr", "push_branch", "direct_branch"], exports.COMMITMENT_EXECUTION_ISOLATION_MODES = ["shared", "ephemeral"], exports.COMMITMENT_EXPLAIN_QUESTIONS = ["wake", "fresh", "turn", "think", "act", "reach"], exports.COMMITMENT_KINDS = Vx, exports.COMMITMENT_KIND_VALUES = Hx, exports.COMMITMENT_PRODUCT_MODES = $x, exports.COMMITMENT_PUBLIC_ACTION_BUNDLE_ACTION_TYPES = ["create_task", "update_task", "send_user_message", "send_status_update", "triage_task", "update_relationship_context", "enqueue_agent_turn"], exports.COMMITMENT_REPORT_DESTINATIONS = ["main", "pinned", "slack_channel", "slack_owner_dm", "app_owner_dm", "email"], exports.COMMITMENT_REPORT_TRIGGERS = ["material_change", "every_check", "escalation", "completion"], exports.COMMITMENT_SELF_WAKING_CADENCE_MODES = ["interval", "daily", "event_plus_interval"], exports.COMMITMENT_STATUSES = Wx, exports.COMMITMENT_STATUS_TRANSITIONS = jx, exports.COMMITMENT_STOP_QUESTIONS = ["wake", "fresh", "turn", "think", "act", "reach", "none", "error"], exports.COMMITMENT_SUBJECT_EXTERNAL_KEY_MAX = 400, exports.COMMITMENT_SUBJECT_EXTERNAL_KEY_PATTERN = "^[A-Za-z0-9_\\-.:/#@+~]+$", exports.COMMITMENT_SUBJECT_TYPES = ["github_pr", "github_repo", "github_workflow", "github_issue", "slack_channel", "slack_thread", "email_thread", "calendar_event", "cloud_account", "cloud_resource", "metric", "url", "task", "goal", "commitment", "conversation", "agent", "space", "document", "custom"], exports.COMMITMENT_TEMPLATE_IDS = ["hiring_follow_through", "content_cadence", "daily_goal"], exports.COMMITMENT_TERMS = ek, exports.COMMITMENT_TERM_KEYS = tk, exports.COMMITMENT_WATCHED_SOURCES = ["tasks", "goal", "space", "conversations", "agent_initiatives", "messages", "files", "docs", "documents", "slack", "github", "calendar", "email", "daemon", "memory", "metrics", "product_metrics", "business_metrics", "local", "browser", "state_monitor", "agent_run", "monitor"], exports.COMMON_FORMATS = ["pdf", "docx", "xlsx", "csv", "md", "markdown", "html", "json", "png", "svg", "pptx", "txt", "parquet"], exports.CONDITION_DEFAULT_BRANCHES = hm, exports.CONTAINER_HEADER_HEIGHT = 28, exports.CONTAINER_ID_PATTERN = Ym, exports.CONTAINER_PADDING = 32, exports.CONTRACT_FAILURE_CODES = Gk, exports.CYCLE_STATUSES = ["upcoming", "active", "completed"], exports.DEDICATED_RUNTIME_IMAGE_ENGINE_MESSAGE = g, exports.DEDICATED_RUNTIME_IMAGE_PROVIDERS = f, exports.DEDICATED_RUNTIME_SIGN_IN_PRESETS = [{ tool: "github", label: "GitHub CLI", command: "gh auth login --hostname github.com --git-protocol https --web" }, { tool: "claude", label: "Claude Code", command: "claude auth login" }, { tool: "codex", label: "Codex", command: "codex login --device-auth" }], exports.DEDICATED_RUNTIME_SIGN_IN_PROBE = hp, exports.DEDICATED_RUNTIME_SIGN_IN_PROBE_TIMEOUT_MS = 2e4, exports.DEFAULT_AGENT_ACTION_OUTCOME = hk, exports.DEFAULT_AGENT_AVATAR = X_, exports.DEFAULT_AGENT_EMAIL_DOMAIN = rk, exports.DEFAULT_AGENT_SCENE_BACKGROUND = W_, exports.DEFAULT_ATTRIBUTION_MODE = ok, exports.DEFAULT_CHAT_BACKGROUND = uu, exports.DEFAULT_FOLLOW_UP_POLICY = bm, exports.DEFAULT_INTERRUPTION_LEVEL = Rk, exports.DEFAULT_LIVE_SCENE = { version: 1, theme: { mode: "light", accent: "#3478f6", surface: "#f4f8ff", tone: "apple" }, scene: { environment: "office", motion: 0.78, orbitRadius: 2.05, tilt: 0.08, camera: [0, 2.35, 6.2] } }, exports.DEFAULT_OUTCOMES = gm, exports.DEFAULT_SEVERITY_BUDGETS = Mk, exports.DEFAULT_SPACE_3D_CARDS = [{ kind: "spacetasks", title: "Tasks", slot: "top", scene: { shape: "tree", scale: 0.98, height: 1.9, spin: 0.14 } }, { kind: "spacegoals", title: "Goals", slot: "top", scene: { shape: "towers", scale: 1.02, height: 2, spin: 0.14 } }, { kind: "blocked", title: "Blocked", slot: "right", scene: { shape: "blocks", scale: 1, height: 0.9, spin: 0.22 } }, { kind: "duetoday", title: "Due today", slot: "bottom", scene: { shape: "beam", scale: 0.95, height: 1.1, spin: 0.16 } }], exports.DEFAULT_SPACE_CHARACTER_ID = w_, exports.DEFAULT_SPACE_ESTIMATE_SETTINGS = { scale: "none", useDefaultEstimateForUnestimated: false }, exports.DEFAULT_SPACE_WORKFLOW_STATES = Mf, exports.DEFAULT_STATUS_PRESETS = [{ emoji: "\u{1F4AC}", text: "In a meeting", duration: "1hr" }, { emoji: "\u{1F3A7}", text: "Focusing", duration: "4hr" }, { emoji: "\u{1F912}", text: "Out sick", duration: "today" }, { emoji: "\u{1F3D6}\uFE0F", text: "On vacation", duration: "thisWeek" }, { emoji: "\u{1F682}", text: "Commuting", duration: "1hr" }, { emoji: "\u{1F37D}\uFE0F", text: "Out for lunch", duration: "1hr" }, { emoji: "\u{1F4F5}", text: "Do not disturb", duration: "4hr" }, { emoji: "\u{1F3E0}", text: "Working remotely", duration: "today" }], exports.DEFAULT_TASK_REVIEW_POLICY = "none", exports.DEFAULT_TONE_DIALS = { brevity: 50, warmth: 50, formality: 50, humor: 30, directness: 60 }, exports.DELIVERABLE_ASSERTERS = ["executor", "receipt", "human", "system"], exports.DELIVERABLE_AUTHORITIES = Qv, exports.DELIVERABLE_LIFECYCLES = ["local", "in_review", "available", "unavailable", "superseded"], exports.DERIVED_PROJECT_HEALTH_VALUES = Ab, exports.DIRTINESS_COPY = $m, exports.DOC_COMMENT_PRESET_REACTIONS = ["\u{1F44D}", "\u2764\uFE0F", "\u{1F389}", "\u{1F680}", "\u{1F440}", "\u{1F914}", "\u{1F44E}"], exports.DORMANT_AFTER_DAYS = 21, exports.DRI_SOURCES = ["task", "goal", "space", "author"], exports.DUPLICATE_OFFSET = 32, exports.DynamicQueryKeys = hT, exports.DynamicWidgetKeys = { agentWidgets: function(e2) {
46854
+ exports.ACCEPTED_AGENT_TRIGGER_FIRE_OUTCOMES = ["succeeded", "in_progress", "awaiting_runtime"], exports.ACCEPTED_LOCAL_HARNESS_PROVIDER_ENVIRONMENTS = op, exports.ACTIVE_WITHIN_DAYS = 7, exports.ACTIVE_WORKFLOW_RUN_STATUSES = aI, exports.AGENT_ACTION_OUTCOMES = ["ephemeral", "durable"], exports.AGENT_ACTION_SCOPE_KINDS = ["general", "space", "label"], exports.AGENT_ATTRIBUTION_MODES = nk, exports.AGENT_AVATAR_CATEGORY_LABELS = { studio: "Studio", portraits: "Portraits", illustrations: "Illustrations", characters: "Characters", mascots: "Mascots", ai: "AI", space: "Space" }, exports.AGENT_AVATAR_PRESETS = K_, exports.AGENT_AVATAR_PRESET_CATEGORIES = B_, exports.AGENT_CATEGORY_BROWSE_FILTERS = xx, exports.AGENT_CONTROL_FIELDS = dk, exports.AGENT_FIELD_CLASSIFICATIONS = fk, exports.AGENT_INITIATIVE_POLICY_MODES = ["off", "suggestions_only", "ask_first", "auto_run_limited", "auto_run"], exports.AGENT_INSTALLATION_LOCAL_FIELDS = uk, exports.AGENT_INSTANCE_FIELDS = pk, exports.AGENT_MAX_CONCURRENT_TASK_EXECUTIONS = { min: 0, max: 1e5, default: 0 }, exports.AGENT_MESSAGE_GROUP_WINDOW_MS = yu, exports.AGENT_NOTEPAD_MAX_CONTENT_LENGTH = 8e3, exports.AGENT_PORTABLE_FIELDS = mk, exports.AGENT_SCENE_BACKGROUND_PRESETS = F_, exports.AGENT_SNAPSHOT_FIELDS = lk, exports.AGENT_TONE_MODES = ["inherit", "none", "explicit"], exports.AGENT_TRAILER_KEYS = ak, exports.ALIGNMENT_SNAP_TOLERANCE = 6, exports.ATTENTION_INTERRUPTION_LEVELS = ["all", "important", "urgent"], exports.ATTENTION_SEVERITY_RANK = Ck, exports.ATTENTION_SPAWN_REASONS = Df, exports.ATTENTION_SUPPRESSION_REASONS = ["policy_nudge_muted", "user_paused_daily_planning", "policy_quiet_hours", "policy_min_nudge_interval", "policy_no_reply_backoff", "policy_daily_nudge_cap", "policy_severity_budget", "policy_interruption_level", "policy_nudge_budget_unavailable"], exports.AVATAR_PALETTE = cu, exports.AVATAR_PERSONALITIES = { default: { id: "default", displayLabel: "Default", description: "Calm, neutral presence.", avatarKind: "lottie", avatarRef: "lottie://default" }, helpful: { id: "helpful", displayLabel: "Helpful", description: "Warm, attentive, leans forward.", avatarKind: "lottie", avatarRef: "lottie://helpful" }, focused: { id: "focused", displayLabel: "Focused", description: "Quiet, minimal motion.", avatarKind: "lottie", avatarRef: "lottie://focused" }, classic: { id: "classic", displayLabel: "Classic image", description: "Uses the agent's existing avatar image.", avatarKind: "image", avatarRef: "" } }, exports.ActionRequest = AA, exports.BAND_LABELS = { needs_attention: "Needs attention", active: "Active", dormant: "Dormant", empty: "Empty", complete: "Complete", archived: "Archived" }, exports.BAND_ORDER = Ry, exports.BINDING_REFERENCE_MAX = 500, exports.BINDING_TARGET = /^[A-Za-z_][A-Za-z0-9_-]{0,159}$/, exports.BPS_DENOMINATOR = Ug, exports.BRANCH_ID_PATTERN = ym, exports.BRAND = l, exports.BRAND_NAME = s, exports.BROWSER_LIVE_VIEW_EVENTS = { start: "browser:liveview:start", startAck: "browser:liveview:start:ack", frame: "browser:liveview:frame", state: "browser:liveview:state", input: "browser:liveview:input", stop: "browser:liveview:stop", complete: "browser:liveview:complete" }, exports.BROWSER_LIVE_VIEW_REFUSAL_CODES = { cap: "live_view_cap" }, exports.BROWSER_SESSIONS_EVENTS = { list: "browser:sessions", refresh: "browser:sessions:list" }, exports.BUILTIN_ACTION_LABELS = Sm, exports.BUILTIN_ACTION_OPTIONS = Tm, exports.BUILTIN_ACTION_TYPES = Qp, exports.CANCELLED = fm, exports.CANVAS_LAYERS = Gm, exports.CHARACTER_3D_GENERATION_STAGE_LABELS = { preview: "Sculpting", refine: "Texturing", rig: "Rigging", animate: "Animating" }, exports.CHARACTER_3D_GENERATION_STAGE_ORDER = P_, exports.CHARACTER_3D_GENERATION_STAGE_WEIGHTS = N_, exports.CHAT_BACKGROUND_DEFAULT_DIM = 0.28, exports.CHAT_BACKGROUND_PRESETS = lu, exports.CHAT_BACKGROUND_TYPES = ["default", "preset", "solid", "gradient", "image"], exports.CLOSURE_BLOCKER_PHRASE = Vv, exports.COLLAPSED_BANDS = ["complete", "archived"], exports.COMMITMENT_ACTOR_KINDS = Gx, exports.COMMITMENT_AUTHORABLE_AUTONOMY_MODES = qx, exports.COMMITMENT_AUTHORABLE_CADENCE_MODES = ["manual", "interval", "daily", "event_plus_interval"], exports.COMMITMENT_AUTHORABLE_REPORT_DESTINATIONS = ["main", "pinned", "slack_channel", "slack_owner_dm", "app_owner_dm"], exports.COMMITMENT_AUTONOMY_MODES = Yx, exports.COMMITMENT_AUTONOMY_TIERS = ["observe", "propose", "act"], exports.COMMITMENT_CADENCE_DEFAULT_JITTER_RATIO = 0.35, exports.COMMITMENT_CADENCE_MAX_JITTER_RATIO = 0.9, exports.COMMITMENT_CADENCE_MAX_TIMES = 6, exports.COMMITMENT_CADENCE_MIN_JITTER_RATIO = 0.1, exports.COMMITMENT_CADENCE_MODES = ["manual", "interval", "daily", "sampled", "event_plus_interval"], exports.COMMITMENT_CADENCE_TIME_PATTERN = "^([01][0-9]|2[0-3]):[0-5][0-9]$", exports.COMMITMENT_CREATED_VIA = ["manual_form", "cli", "agent_cli", "nl_setup", "template", "northstar_recommendation", "api", "system"], exports.COMMITMENT_CYCLE_OUTCOMES = ["advanced", "quiet", "stopped", "in_flight"], exports.COMMITMENT_DELIVERY_MODES = ["report_only", "local_patch", "draft_pr", "push_branch", "direct_branch"], exports.COMMITMENT_EXECUTION_ISOLATION_MODES = ["shared", "ephemeral"], exports.COMMITMENT_EXPLAIN_QUESTIONS = ["wake", "fresh", "turn", "think", "act", "reach"], exports.COMMITMENT_KINDS = Hx, exports.COMMITMENT_KIND_VALUES = Vx, exports.COMMITMENT_PRODUCT_MODES = $x, exports.COMMITMENT_PUBLIC_ACTION_BUNDLE_ACTION_TYPES = ["create_task", "update_task", "send_user_message", "send_status_update", "triage_task", "update_relationship_context", "enqueue_agent_turn"], exports.COMMITMENT_REPORT_DESTINATIONS = ["main", "pinned", "slack_channel", "slack_owner_dm", "app_owner_dm", "email"], exports.COMMITMENT_REPORT_TRIGGERS = ["material_change", "every_check", "escalation", "completion"], exports.COMMITMENT_SELF_WAKING_CADENCE_MODES = ["interval", "daily", "event_plus_interval"], exports.COMMITMENT_STATUSES = Wx, exports.COMMITMENT_STATUS_TRANSITIONS = jx, exports.COMMITMENT_STOP_QUESTIONS = ["wake", "fresh", "turn", "think", "act", "reach", "none", "error"], exports.COMMITMENT_SUBJECT_EXTERNAL_KEY_MAX = 400, exports.COMMITMENT_SUBJECT_EXTERNAL_KEY_PATTERN = "^[A-Za-z0-9_\\-.:/#@+~]+$", exports.COMMITMENT_SUBJECT_TYPES = ["github_pr", "github_repo", "github_workflow", "github_issue", "slack_channel", "slack_thread", "email_thread", "calendar_event", "cloud_account", "cloud_resource", "metric", "url", "task", "goal", "commitment", "conversation", "agent", "space", "document", "custom"], exports.COMMITMENT_TEMPLATE_IDS = ["hiring_follow_through", "content_cadence", "daily_goal"], exports.COMMITMENT_TERMS = ek, exports.COMMITMENT_TERM_KEYS = tk, exports.COMMITMENT_WATCHED_SOURCES = ["tasks", "goal", "space", "conversations", "agent_initiatives", "messages", "files", "docs", "documents", "slack", "github", "calendar", "email", "daemon", "memory", "metrics", "product_metrics", "business_metrics", "local", "browser", "state_monitor", "agent_run", "monitor"], exports.COMMON_FORMATS = ["pdf", "docx", "xlsx", "csv", "md", "markdown", "html", "json", "png", "svg", "pptx", "txt", "parquet"], exports.CONDITION_DEFAULT_BRANCHES = hm, exports.CONTAINER_HEADER_HEIGHT = 28, exports.CONTAINER_ID_PATTERN = Ym, exports.CONTAINER_PADDING = 32, exports.CONTRACT_FAILURE_CODES = Gk, exports.CYCLE_STATUSES = ["upcoming", "active", "completed"], exports.DEDICATED_RUNTIME_IMAGE_ENGINE_MESSAGE = g, exports.DEDICATED_RUNTIME_IMAGE_PROVIDERS = f, exports.DEDICATED_RUNTIME_SIGN_IN_PRESETS = [{ tool: "github", label: "GitHub CLI", command: "gh auth login --hostname github.com --git-protocol https --web" }, { tool: "claude", label: "Claude Code", command: "claude auth login" }, { tool: "codex", label: "Codex", command: "codex login --device-auth" }], exports.DEDICATED_RUNTIME_SIGN_IN_PROBE = hp, exports.DEDICATED_RUNTIME_SIGN_IN_PROBE_TIMEOUT_MS = 2e4, exports.DEFAULT_AGENT_ACTION_OUTCOME = hk, exports.DEFAULT_AGENT_AVATAR = X_, exports.DEFAULT_AGENT_EMAIL_DOMAIN = rk, exports.DEFAULT_AGENT_SCENE_BACKGROUND = W_, exports.DEFAULT_ATTRIBUTION_MODE = ok, exports.DEFAULT_CHAT_BACKGROUND = uu, exports.DEFAULT_FOLLOW_UP_POLICY = bm, exports.DEFAULT_INTERRUPTION_LEVEL = Rk, exports.DEFAULT_LIVE_SCENE = { version: 1, theme: { mode: "light", accent: "#3478f6", surface: "#f4f8ff", tone: "apple" }, scene: { environment: "office", motion: 0.78, orbitRadius: 2.05, tilt: 0.08, camera: [0, 2.35, 6.2] } }, exports.DEFAULT_OUTCOMES = gm, exports.DEFAULT_SEVERITY_BUDGETS = Mk, exports.DEFAULT_SPACE_3D_CARDS = [{ kind: "spacetasks", title: "Tasks", slot: "top", scene: { shape: "tree", scale: 0.98, height: 1.9, spin: 0.14 } }, { kind: "spacegoals", title: "Goals", slot: "top", scene: { shape: "towers", scale: 1.02, height: 2, spin: 0.14 } }, { kind: "blocked", title: "Blocked", slot: "right", scene: { shape: "blocks", scale: 1, height: 0.9, spin: 0.22 } }, { kind: "duetoday", title: "Due today", slot: "bottom", scene: { shape: "beam", scale: 0.95, height: 1.1, spin: 0.16 } }], exports.DEFAULT_SPACE_CHARACTER_ID = w_, exports.DEFAULT_SPACE_ESTIMATE_SETTINGS = { scale: "none", useDefaultEstimateForUnestimated: false }, exports.DEFAULT_SPACE_WORKFLOW_STATES = Mf, exports.DEFAULT_STATUS_PRESETS = [{ emoji: "\u{1F4AC}", text: "In a meeting", duration: "1hr" }, { emoji: "\u{1F3A7}", text: "Focusing", duration: "4hr" }, { emoji: "\u{1F912}", text: "Out sick", duration: "today" }, { emoji: "\u{1F3D6}\uFE0F", text: "On vacation", duration: "thisWeek" }, { emoji: "\u{1F682}", text: "Commuting", duration: "1hr" }, { emoji: "\u{1F37D}\uFE0F", text: "Out for lunch", duration: "1hr" }, { emoji: "\u{1F4F5}", text: "Do not disturb", duration: "4hr" }, { emoji: "\u{1F3E0}", text: "Working remotely", duration: "today" }], exports.DEFAULT_TASK_REVIEW_POLICY = "none", exports.DEFAULT_TONE_DIALS = { brevity: 50, warmth: 50, formality: 50, humor: 30, directness: 60 }, exports.DELIVERABLE_ASSERTERS = ["executor", "receipt", "human", "system"], exports.DELIVERABLE_AUTHORITIES = Qv, exports.DELIVERABLE_LIFECYCLES = ["local", "in_review", "available", "unavailable", "superseded"], exports.DERIVED_PROJECT_HEALTH_VALUES = Ab, exports.DIRTINESS_COPY = $m, exports.DOC_COMMENT_PRESET_REACTIONS = ["\u{1F44D}", "\u2764\uFE0F", "\u{1F389}", "\u{1F680}", "\u{1F440}", "\u{1F914}", "\u{1F44E}"], exports.DORMANT_AFTER_DAYS = 21, exports.DRI_SOURCES = ["task", "goal", "space", "author"], exports.DUPLICATE_OFFSET = 32, exports.DynamicQueryKeys = hT, exports.DynamicWidgetKeys = { agentWidgets: function(e2) {
46855
46855
  return ["agentWidgets", e2];
46856
46856
  }, agentWidget: function(e2, t2) {
46857
46857
  return ["agentWidget", e2, t2];
@@ -46861,7 +46861,7 @@ exports.ACCEPTED_AGENT_TRIGGER_FIRE_OUTCOMES = ["succeeded", "in_progress", "awa
46861
46861
  return ["groupChatWidgets", e2];
46862
46862
  }, groupChatWidget: function(e2) {
46863
46863
  return ["groupChatWidget", e2];
46864
- } }, exports.EMBEDDED_ACTION_REF_ID_RE = $p, exports.EMBED_HYDRATORS = dv, exports.EMBED_KINDS = ev, exports.EMBED_KIND_SPECS = rv, exports.EMBED_KIND_SPEC_LIST = av, exports.EMBED_VARIANTS = ["card", "inline"], exports.ENVELOPE_RETENTION_REGISTRY = vI, exports.ESTIMATE_SCALES = ["none", "points", "tshirt", "fibonacci", "linear"], exports.ESTIMATE_SCALE_MIGRATION_MODES = ["clear", "migrate"], exports.ESTIMATE_SCALE_VALUES = Rx, exports.EVALUATED_CHECK_METHODS = Zv, exports.EXACT_TOOL_POLICY_SUPPORT = Ep, exports.EXPECTATION_CHECK_METHODS = ["manual", "deliverable", "task_state", "goal_state", "metric", "llm_review"], exports.EXPECTATION_PRESETS = vh, exports.EXPECTATION_STATE_HINT = { owed: "nobody has produced it", unassessed: "nobody has judged it", unmet: "somebody judged it and it does not pass" }, exports.EXPECTATION_STATE_LABEL = { met: "met", waived: "waived", unmet: "unmet", unverified: "needs confirmation", underway: "on its way", owed: "not produced yet", unassessed: "needs assessment", blocked: "blocked" }, exports.EmbedRefParseError = Sv, exports.EndpointURLs = vl, exports.EnvelopeRoleSchema = bI, exports.FAILURE = mm, exports.FALLBACK_GIT_ACTOR = ik, exports.FEEDBACK_RATINGS = U, exports.FEEDBACK_REASON_KEYS = D, exports.FEEDBACK_TAGS = F, exports.FINAL_TEXT_SANITIZATION_PATTERNS = lS, exports.FOLLOWUP_BUDGET_POOLS = ["watch", "checkin", "act"], exports.FOLLOWUP_DEFAULT_FORM = Wh, exports.FOLLOWUP_DEFAULT_POLL_INTERVAL_SECONDS = Gh, exports.FOLLOWUP_DEFAULT_POLL_MAX_ATTEMPTS = 6, exports.FOLLOWUP_DEFAULT_PREDICATE_CHECK_EVERY_SECONDS = 300, exports.FOLLOWUP_DEFAULT_PREDICATE_MAX_CHECKS = 60, exports.FOLLOWUP_ERROR_CODES = ["FOLLOWUP_AGENT_REQUIRED", "FOLLOWUP_SUBJECT_REQUIRED", "FOLLOWUP_KIND_FIELD_MISSING", "FOLLOWUP_INVALID_FIELD", "FOLLOWUP_BUDGET_EXCEEDED", "FOLLOWUP_NOT_EXECUTABLE", "FOLLOWUP_NOT_FOUND", "FOLLOWUP_INVALID_ENDPOINT", "FOLLOWUP_INVALID_KIND", "FOLLOWUP_INVALID_FORM", "FOLLOWUP_INVALID_TERMINAL"], exports.FOLLOWUP_FORMS = ["passive", "active", "predicate", "recipe", "once", "recurring"], exports.FOLLOWUP_FORMS_BY_KIND = Ph, exports.FOLLOWUP_INITIATIVE_PRODUCING_TERMINAL = "escalated", exports.FOLLOWUP_KINDS = Ch, exports.FOLLOWUP_MAX_OFFSET_SECONDS = jh, exports.FOLLOWUP_MAX_POLL_INTERVAL_SECONDS = Bh, exports.FOLLOWUP_MAX_POLL_MAX_ATTEMPTS = 96, exports.FOLLOWUP_MAX_PREDICATE_DEADLINE_SECONDS = 86400, exports.FOLLOWUP_MAX_PREDICATE_MAX_CHECKS = 500, exports.FOLLOWUP_MAX_TEXT_LEN = 4e3, exports.FOLLOWUP_MAX_WHY_LEN = 1e3, exports.FOLLOWUP_MIN_OFFSET_SECONDS = 60, exports.FOLLOWUP_MIN_POLL_INTERVAL_SECONDS = 60, exports.FOLLOWUP_MIN_PREDICATE_CHECK_EVERY_SECONDS = 60, exports.FOLLOWUP_OVER_BUDGET_BEHAVIORS = ["refuse", "silent_drop"], exports.FOLLOWUP_PRODUCERS = Nh, exports.FOLLOWUP_PROPOSAL_ONLY_PRODUCERS = Oh, exports.FOLLOWUP_RESOLVE_OUTCOMES = Lh, exports.FOLLOWUP_STATES = ["proposed", "armed", "paused", "settling", "settled"], exports.FOLLOWUP_SUBJECT_TYPES = ["conversation", "task", "commitment", "space", "self"], exports.FOLLOWUP_TERMINALS = Mh, exports.FOLLOWUP_TERMINALS_BY_KIND = zh, exports.FOLLOW_UP_POLICIES = ["observe", "gate", "divert"], exports.FOLLOW_UP_POLICY_OPTIONS = xm, exports.FORMERLY = d, exports.FORM_FIELD_TYPES = ["text", "textarea", "number", "email", "url", "password", "select", "multiselect", "checkbox", "radio", "date", "time", "datetime", "file", "hidden"], exports.FileEventSchema = CI, exports.FunctionSignature = IA, exports.GHOST_KEY_PREFIX = Kf, exports.GPT_56_MANAGED_REASONING_EFFORTS = Ad, exports.HANDOVER_REASON_MAX_LENGTH = 500, exports.HARNESS_TERMINAL_EVENTS = fp, exports.HARNESS_TERMINAL_VOCABULARIES = vp, exports.IDEMPOTENCY_HEADER = ST, exports.INITIAL_TYPE_VERSION = 1, exports.INSERT_REJECTION_MESSAGES = If, exports.ImageVisionTool = he, exports.IntegrationConnectRequestSchema = sI, exports.IntegrationExecuteRequestSchema = iI, exports.IntegrationSetAllowedToolsSchema = cI, exports.KEY_RESULT_PROGRESS_MODES = ["manual", "auto"], exports.KEY_RESULT_STATUS_VALUES = ["on_track", "at_risk", "off_track", "done"], exports.KOSMO_OFFICE_BACKGROUND_ASSET = D_, exports.LABEL_APPLICABLE = ["task", "space", "goal", "routine"], exports.LABEL_PALETTE = ["6B7280", "EF4444", "F97316", "F59E0B", "EAB308", "84CC16", "22C55E", "10B981", "14B8A6", "06B6D4", "0EA5E9", "3B82F6", "6366F1", "8B5CF6", "A855F7", "D946EF", "EC4899", "F43F5E"], exports.LABEL_SCOPES = ["user", "workspace"], exports.LEGACY_BRAND = u, exports.LEGACY_ENGINE_TERMINAL_EVENTS = gp, exports.LEGACY_KOSMO_PLACEHOLDER_DATA_URL = "data:image/webp;base64,UklGRq4GAABXRUJQVlA4WAoAAAAQAAAAPwAAeQAAQUxQSJECAAARf6CgbRQ4hYF7gYiI6foRpk03AF3b2pbHzStmr782/rVBHqhMknvUHWh8BVJphzRtKk0bzh1IuQJmlussh6GKceinU/zwvW+4jOj/BMi/zNufX7BZi6Bhcg+YmATAdyUDLwaoGayRbpg1DbYyzhm8kzE2WGbcMphm9A38ONUykHvA22K5A8xM1hI4aeLFcMJkBMxMtoG3TX4DuGTwAekHF7X8j8h9rqzi/U7BF1TepHBdY7fYCY2w2ExhjeJfK0wdHlTclg7U3VYubbcnLj23PZehW+AycYtc5k5e7PK1k5+4PCi7bMN3cd59jSUsgrzXgabC+CDvZgRdlxWMd/MGMbQUhvt5RwLouTyGQZR3MoCOyzvQL9CNoOmyhGGQdyyBissIXkjy5gkLcfUTviL/Oxg7yS6zOO9VqLm9yaTAt7whiuF3FG1oPKXoQjRXhfoqo0INFYkKPCjrBAWomNXM6jphkaZZy6xtcN/suYyOwTWzo0mqa9CMreqBQZCqHliVd1M9ve9KP6VO6H0tq9RJnUNgIctUX+8N2TGayzQ11DkAJjIy2AfGsmawCwzFS4C+zlPgvEgEnDA5BE7q7AEnRPaBgc4B0BHZBW7ptUWeAhO9jsmhWZD1BJiZPAbmOiHQFvnRpiXyA/CGTpT1jU1T5B2busjSpirypl4MVES21bxUWWQKzFX8JGsLmOhVREZAX8WLgWpWW0UCoCayA3R0QqAqsgJuqawBVER+AOYqfgLflUTeASYqXgxvi8g2MFDxY5iJyFWgqzICxiLiJXBcZQeY5AxUdoE3RGQNmGv4MbAQkS3gQVlhCjw4LSJ+BDQVlkBf0m89IOkovPlHQifjHaCnIN7GpmSuvfTinarG/7YAVlA4IPYDAABQFQCdASpAAHoAPsFWoE0npKKiKxXc8PAYCUAaGAR5ciBHoh27POw6aBvNv+8wCXbrr+CJZdGnLZq9ATpB/t17HKEdZtmJXGSceEttv8FISQnIPN8O5Bbyl6tJ6KJp0t6jh7XdcIX6P1ol1DDr7uxodxepAn3hRMwUlmesHeYgrIPYGEclnrNkkEBWePP6B67KIhrrIg0Eih6TDAbXYwxQbG/r7kVXIJCNsFgx/wpgKxc+QAD+5+AaCx5rCJ8k9LEkrdDiumoc50/DQKpNcT60eP6ei2zLfEsR1IVqVqaR5tFTNNC0QORQ/vAODiroQmEbbK/3bWEbtVieHzUQBzMLut3RYdNp9d3A3A+Ta4sL0sN/1qjl1o8SIw83oRCe4MFufhs+IjcjoxyWRQ4nzsp/lbOPF9/z414HNrOCQw8otz8zQb1LX2UcFhU45NYkMfUdkYGW9dryP/0YPWuVlDx/j/Actmcf9vqKT9h4yeKceewrNVD7lQxr5opbyBLgk7HfX3fcaMHCYYiWBIEjaaYhOw2yo3TdzdO6aCpi8TDxdBai6l42/EdehJrwuuGiZK1NBjOFVNcn6BXjxS6KoUmBm9oTEwRNfZvO0fDj63Ikh8ckAs6WX7rM6MTzRUGxwQroUQ0221kMUDQitrLW7rRbIk9w2AEXqNW6fLPYaq9UZ8ZlwrOBCPUsMujiXsdOoW2qnJ1CCOI2N0LTXLAfy6CpV3eMQ23Uifk/S76+7nUE32PMhPHEUnhfoYR/+z9RI+SD7pDloK6TNQ/9gYp0tEzS51AG21aNxP/VhO5j+5G6cPZVcNNFlXsfIG0PkHBew37SBPuSzL21C/EYIU/0DEgUr0KovXk/QIUoV24NU3CBTae0uZCVoEPG3lp+s9HaecGzAoQTdGUYWby6VlCys40/RNCYSwIATbHMdpgvOigLTjTZy0d7EchU/DFCB6fhbGAu2g9XGj7gEBKpXSWYsmUDBKDFfzGfPNzfb94b14/e22klfO1laKv/Rd8UbJJ0ZPCdd7DqPEaVhziKzfPc+GS0DitQLlUYwwdM2A6kTTqj1xMsneW61UaNzpO5YrV35OYZZv7eGdphQDWPtwX4vNHGMsKTL7ol6zpG2kZOSBOMRSpcw4dD2QztLo4rHS1sVGBWlsFuKe/UzhRZPriN/F88wRULwbYSQMU/Qd9mUXb6GN7eDkRM+WZbsB5X1MSj0FU+r6ND3mB0wweDEt5HvvvQVButQ7BkgLf8rEEXB2lx0bepvjBPdayfaAyYNqfRtiqPCJ9HRUU6PexbRNuZCvSMmHQlxbDnH+ZOj5W22dPOI0eMvdb4xAseHiksYbcKRMCKfIAAAAA=", exports.LEGACY_STATUS_TYPE_BY_ID = Lf, exports.LOCAL_CLI_EFFORT_CATALOG = Rd, exports.LOCAL_CLI_MODEL_CATALOG = Od, exports.LOCAL_EXECUTION_ENVIRONMENTS = rp, exports.LOCAL_HARNESSES = pp, exports.LOCAL_HARNESS_CAPABILITIES = Kd, exports.LOCAL_HARNESS_PERMISSION_MODES = jd, exports.LOCAL_HARNESS_PROVIDERS = $d, exports.LOCAL_HARNESS_PROVIDER_ENVIRONMENTS = np, exports.LOCAL_RUNTIMES = cp, exports.LOCAL_RUNTIME_ENVIRONMENTS = lp, exports.MACHINE_CHECKPOINT_OUTCOMES = jp, exports.MACHINE_CHECKPOINT_OUTCOME_FALLBACK = qp, exports.MACHINE_CHECKPOINT_PENDING_OUTCOME = Bp, exports.MACHINE_FAILURE_CODES = Bk, exports.MACHINE_HEALTH_CONSEQUENTIAL_REASONS = zp, exports.MACHINE_HEALTH_REASON_COPY = Mp, exports.MACHINE_HEALTH_REASON_FALLBACK = Lp, exports.MACHINE_LEASE_ASSIGNABLE_STATES = ["ready", "active", "idle"], exports.MACHINE_LEASE_AT_REST_STATES = Rp, exports.MACHINE_LEASE_TRANSITION_STATES = Cp, exports.MANAGED_CLI_PROVIDER_IDS = p, exports.MANAGED_CONTENT_KINDS = Vv, exports.MANAGED_PRODUCT_FALLBACK_PROVIDERS = h, exports.MANAGED_PRODUCT_FALLBACK_PROVIDER_IDS = y, exports.MAX_AGENT_MESSAGE_SEQUENCE_PARTS = 20, exports.MAX_EMBEDDED_ACTIONS = 10, exports.MAX_EMBEDDED_ACTION_LABEL_CHARS = 200, exports.MAX_EMBEDDED_ACTION_REF_ID_CHARS = 120, exports.MAX_KEY_RESULTS_PER_TASK = 50, exports.MAX_LOCAL_CLI_MODEL_LENGTH = Ld, exports.MAX_MESSAGE_EMBEDS = 10, exports.MCPOptionsSchema = Qt, exports.MCPServersSchema = Zt, exports.MINIMUM_AUTHORITY_BY_KIND = lh, exports.NEUTRAL_FAILURE_CODES = Vk, exports.NODE_DIRTINESS = Qm, exports.NODE_KEY_MAX = 160, exports.NODE_KEY_RE = pf, exports.NORTHSTAR_ANALYSIS_MODES = ["deterministic", "agent_assisted"], exports.NORTHSTAR_APPROVAL_TRIGGERS = ["resume", "complete", "cancel", "archive", "create", "reassign", "critical_commitment", "compute_increase"], exports.NORTHSTAR_EXECUTION_MODES = ["advisory", "approval", "bounded_auto"], exports.NORTHSTAR_INTENT_VERDICTS = ["advisory", "awaiting_approval", "approved", "applying", "applied", "rejected", "invalidated"], exports.NORTHSTAR_MANAGEMENT_INTENT_KINDS = ["pause_commitment", "resume_commitment", "reprioritize_commitment", "request_commitment_check", "set_execution_bounds", "create_commitment_proposal", "reassign_commitment_proposal"], exports.NORTHSTAR_REVIEW_STATUSES = ["running", "awaiting_agent", "succeeded", "failed"], exports.OFFLINE_MESSAGE_TERMINAL_DECLARATION_VERSION = 1, exports.OFFLINE_MESSAGE_TERMINAL_MAX_PENDING_GRANTS = 8, exports.OfflineMessageTerminalDeclarationSchema = TI, exports.OfflineMessageTerminalFenceSchema = _I, exports.OfflineMessageTerminalReleaseSchema = II, exports.PERMANENT_TRANSCRIPT_CLASS_KEYS = yI, exports.PERMISSION_BLOCKED_FAILURE_CODE = jk, exports.PERMISSION_MODE_DISPLAY_ORDER = qd, exports.PERMISSION_MODE_SLUGS = Yd, exports.PERSONALITY_ORDER = ["default", "helpful", "focused", "classic"], exports.PLATFORM_AGENT_AVATAR_POLICY = Q_, exports.PLATFORM_TOOL_NAMES = _x, exports.PORTABLE_CONFIG_POLICY = gf, exports.PROJECT_HEALTH_LABELS = { on_track: "On track", at_risk: "At risk", off_track: "Off track", no_update: "No update" }, exports.PROJECT_HEALTH_VALUES = Tb, exports.PROVENANCE_MAX_INSERTIONS = 64, exports.PermissionAskEventSchema = FI, exports.PermissionModeChangeEventSchema = WI, exports.PermissionResolvedEventSchema = jI, exports.QuestionAskEventSchema = BI, exports.QuestionResolvedEventSchema = GI, exports.REASONING_EFFORT_VALUES = Ed, exports.RESERVED_LOCAL_CLI_MODEL_SENTINELS = zd, exports.RESET_MATCH_TOLERANCE_MS = _g, exports.RESOURCE_OBSERVATION_STATUSES = ["unknown", "local", "in_review", "available", "unavailable", "superseded"], exports.RPC_EVENTS = { REQUEST: "rpc:request", RESPONSE: "rpc:response", CANCEL: "rpc:cancel" }, exports.RUN_FAILURE_CLASSES = ["machine", "contract", "work", "neutral", "none"], exports.SATISFYING_LIFECYCLE = "available", exports.SEPARATORS = Zl, exports.SESSION_SERIES = Sg, exports.SESSION_WINDOW_MS = gg, exports.SESSION_WINDOW_SECONDS = mg, exports.SHELL_PROMPT_HINT_AFTER_MS = 3e3, exports.SHELL_READING_LINE_SEQUENCE = kp, exports.SHIPPED_AGENT_AVATAR_POLICY = { mode: "random", scope: "all" }, exports.SKILL_LIMITS = { NAME_MAX_LENGTH: 50, DISPLAY_NAME_MAX_LENGTH: 100, DESCRIPTION_MAX_LENGTH: 500, CONTENT_MAX_LENGTH: 102400, TRIGGER_HINT_MAX_LENGTH: 200 }, exports.SKY_CODE_ALLOWANCE_POOL_KEY = Mg, exports.SKY_CODE_ALLOWANCE_SERVICES = Fg, exports.SKY_CODE_API_ALLOWANCE_POOL_KEY = "payg-inference", exports.SKY_CODE_API_PRODUCT_FAMILY = "sky-code-api", exports.SKY_CODE_COMMERCIAL_POLICY_VERSION = "sky-code-commercial-policy-2026-09-13.v1", exports.SKY_CODE_DATA_POLICY = Bg, exports.SKY_CODE_LAUNCH_SURFACES = jg, exports.SKY_CODE_PLAN_CATALOG = Hg, exports.SKY_CODE_PLAN_KEYS = Dg, exports.SKY_CODE_SUBSCRIPTION_CATALOG_VERSION = Og, exports.SKY_CODE_SUBSCRIPTION_PRODUCT_FAMILY = Ng, exports.SKY_CODE_SUSPENSION_REASONS = Gg, exports.SKY_CODE_UPSTREAM_ROUTES = Wg, exports.SKY_CODE_USAGE_UNIT = Lg, exports.SPACE_ACTIVITY_BAND_LABELS = My, exports.SPACE_ACTIVITY_BAND_ORDER = Oy, exports.SPACE_ACTIVITY_BAND_TONES = Ly, exports.SPACE_AUTO_EXECUTION_LIMITS = { maxStartsPerRun: { min: 0, max: 1e3, default: 0 }, maxActiveTasks: { min: 0, max: 1e5, default: 0 }, intervalMs: { min: 6e4, max: 864e5, default: 12e4 } }, exports.SPACE_AUTO_EXECUTION_MODES = ["continuous", "cadenced"], exports.SPACE_CHARACTER_CATALOG = E_, exports.SPACE_CHARACTER_IDS = R_, exports.SPACE_CUSTOM_ACTION_ID_PREFIX = Sk, exports.SPACE_DECLARED_TERMINAL_STATUSES = Uy, exports.SPACE_DEFAULT_TAB_VALUES = ["dashboard", "tasks", "cycles", "projects", "room", "live", "schedule", "actions", "workflows", "wiki", "memory", "files", "widgets"], exports.SPACE_FILE_RESOLVE_MAX_IDS = 100, exports.SPACE_FILE_URI_SCHEME = ru, exports.SPACE_GROUP_BY_REGISTRY = Gy, exports.SPACE_GROUP_BY_VALUES = Ky, exports.SPACE_GROUP_NO_DATE = Zy, exports.SPACE_GROUP_NO_LEAD_AGENT = Xy, exports.SPACE_GROUP_ROOT_PARENT = Qy, exports.SPACE_GROUP_UNLABELED = Yy, exports.SPACE_NOT_STARTED_STATUSES = zy, exports.SPACE_RENDERABLE_VIEW_TYPES = oy, exports.SPACE_ROOM_TAG = lm, exports.SPACE_ROOM_TAG_PREFIX = um, exports.SPACE_STATUSES = ["backlog", "planned", "in_progress", "completed", "cancelled"], exports.SPACE_TOOL_NAMES = $_, exports.SPACE_UNLIMITED = 0, exports.SPAWNED_OUTCOME = km, exports.SSEOptionsSchema = Yt, exports.STANDSTILL_LAYERS = ["authority", "capability", "attention"], exports.STANDSTILL_REASONS = ["autonomy_off", "autonomy_capped_by_initiative_policy", "autonomy_capped_by_compass", "autonomy_capped_by_workspace", "autonomy_hard_stop", "no_runtime_bound", "runtime_offline", "dispatch_failing", "attention_suppressed"], exports.STATUS_DURATION_OPTIONS = [{ value: "30min", label: "30 minutes" }, { value: "1hr", label: "1 hour" }, { value: "4hr", label: "4 hours" }, { value: "today", label: "Today (until midnight)" }, { value: "thisWeek", label: "This week" }, { value: "custom", label: "Custom..." }, { value: null, label: "Don't clear" }], exports.STRICT_LOCAL_CLI_MODEL_PROVIDERS = Md, exports.SUCCESS = pm, exports.ServiceEventSchema = EI, exports.SessionEnvelopeBatchSchema = $I, exports.SessionEnvelopeDaemonSchema = XI, exports.SessionEnvelopeDegradedSchema = ZI, exports.SessionEnvelopeSchema = YI, exports.SessionEnvelopeServerStampedSchema = QI, exports.SessionEventBodySchema = HI, exports.SessionHandoffEndpointSchema = KI, exports.SessionHandoffEventSchema = VI, exports.SessionOutputEventSchema = JI, exports.SlashCommandDescriptorSchema = UI, exports.SlashCommandsAvailableEventSchema = DI, exports.StdioOptionsSchema = Ht, exports.StreamableHTTPOptionsSchema = Xt, exports.SubagentRefEventSchema = zI, exports.SubagentStartEventSchema = MI, exports.SubagentStopEventSchema = LI, exports.TASK_ASSERTION_LEVELS = ["actor_reported", "human_confirmed", "system_observed", "external_receipt"], exports.TASK_ASSET_RESOLVE_MAX_IDS = 50, exports.TASK_ASSET_URI_SCHEME = Jl, exports.TASK_ATTACHMENT_MAX_BYTES = 26214400, exports.TASK_BRANCH_PREFIX = Lv, exports.TASK_CARD_CLOSURE_STATES = ["none", "unrecorded", "clean", "open_items", "overridden"], exports.TASK_CARD_PAGE_LIMIT = 100, exports.TASK_CARD_VIEW_FIELDS = ["id", "title", "description", "identifier", "taskNumber", "status", "statusType", "priority", "tags", "dueDate", "spaceId", "assigneeAgentIds", "assigneeUserIds", "delivery", "sessionId", "checkoutRunId", "updatedAt"], exports.TASK_COMMENT_PRESET_REACTIONS = ["\u{1F44D}", "\u2764\uFE0F", "\u{1F389}", "\u{1F680}", "\u{1F440}", "\u{1F914}", "\u{1F44E}"], exports.TASK_COMPLETION_LABEL = kh, exports.TASK_COMPLETION_STATES = ["done_and_checked", "done_needs_your_eyes", "not_done"], exports.TASK_DAILY_METRIC_SCOPE_KINDS = d_, exports.TASK_DAILY_METRIC_STATUS_TYPES = p_, exports.TASK_DIRECT_UPLOAD_MAX_BYTES = 262144e3, exports.TASK_ESTIMATE_PROPOSAL_STATUSES = Px, exports.TASK_EVIDENCE_LEVELS = Xv, exports.TASK_EXECUTION_MODES = ["agent", "human"], exports.TASK_EXECUTION_PURPOSES = ["work", "verification", "revision", "review"], exports.TASK_EXECUTION_STATUSES = ["active", "waiting", "succeeded", "failed", "cancelled"], exports.TASK_INSIGHT_EXECUTION_MEASURES = n_, exports.TASK_INSIGHT_GROUP_BY = o_, exports.TASK_INSIGHT_MEASURES = t_, exports.TASK_INSIGHT_STATUS_TYPES = e_, exports.TASK_LIFECYCLE_DEFINITION_KIND = "task_lifecycle", exports.TASK_LIFECYCLE_EFFECT_KINDS = tg, exports.TASK_LIFECYCLE_EXECUTION_MODE = "task_lifecycle", exports.TASK_LIFECYCLE_NEXT_ACTORS = eg, exports.TASK_LIFECYCLE_NODE_TYPES = ng, exports.TASK_LIFECYCLE_TRANSITION_STATUSES = ["applied", "pending_repair", "rejected", "superseded", "gated"], exports.TASK_OUTCOME_KINDS = Yv, exports.TASK_OUTPUT_ARTIFACTS_MAX_ENTRIES = 50, exports.TASK_OUTPUT_BODY_MAX = Yg, exports.TASK_OUTPUT_FIELD_MAX = Xg, exports.TASK_PREFIX_DEFAULT = "OSK", exports.TASK_PREFIX_MAX_LENGTH = 10, exports.TASK_PREFIX_PATTERN = Cv, exports.TASK_PRINCIPAL_KINDS = ["human", "agent", "system", "integration"], exports.TASK_RENDERABLE_VIEW_TYPES = ry, exports.TASK_RESOURCE_ROLES = ["input", "reference", "evidence", "attachment", "deliverable"], exports.TASK_REVIEW_DECISIONS = ["accepted", "changes_requested"], exports.TASK_REVIEW_POLICIES = ["none", "required"], exports.TASK_SPAWN_REASONS = ["follow_up", "review_finding", "blocker", "decomposition"], exports.TASK_STAGE_WAITING_KIND = "task_lifecycle_stage", exports.TASK_STATUSES = ["backlog", "todo", "in_progress", "in_review", "done", "failed", "blocked", "cancelled", "hidden"], exports.TASK_STATUS_BANDS = Uf, exports.TASK_UPDATE_TYPES = ["progress", "finding", "decision", "blocker", "verification", "ready_for_review"], exports.TASK_VIEW_DEFAULT_GROUP_BY = "none", exports.TASK_VIEW_DEFAULT_TYPE = "tree", exports.TASK_VIEW_PRESET_KEYS = xy, exports.TASK_WEBHOOK_EVENTS = h_, exports.TASK_WEBHOOK_PAYLOAD_VERSION = v_, exports.TASK_WORKFLOW_STATE_TYPES = Of, exports.TASK_WORKFLOW_TYPE_BANDS = zf, exports.TEMPLATE_PORTS_MAX = 20, exports.TONE_CUSTOM_PREFIX = "ctone_", exports.TONE_DIAL_KEYS = ["brevity", "warmth", "formality", "humor", "directness"], exports.TONE_FAMILIES = [{ key: "concise", label: "Few words", blurb: "Says less, means it." }, { key: "thinking", label: "Thinking out loud", blurb: "Reasons in the open." }, { key: "caring", label: "With care", blurb: "Attends to the person, not just the task." }, { key: "edge", label: "With an edge", blurb: "Friction, wit, or heat \u2014 on purpose." }, { key: "craft", label: "Composed", blurb: "Measured, and built to land." }], exports.TONE_LIMITS = { NAME_MAX: 60, TAGLINE_MAX: 120, EMOJI_MAX: 8, PERSONA_MAX: 120, SAMPLE_MAX: 400, PROMPT_MAX: 4e3, NOTES_MAX: 600, MAX_TONES_PER_USER: 100 }, exports.TONE_PRESETS = z_, exports.TONE_PRESETS_BY_ID = U_, exports.TONE_PRESET_PREFIX = O_, exports.TOOL_FAILURE_MARKERS = tS, exports.TRIGGER_TYPE_OPTIONS = Em, exports.TSHIRT_ESTIMATE_LABELS = Cx, exports.TextEventSchema = AI, exports.ToolCallEndEventSchema = RI, exports.ToolCallStartEventSchema = wI, exports.TurnEndEventSchema = NI, exports.TurnFinalizedEventSchema = OI, exports.TurnStartEventSchema = PI, exports.TurnStatusSchema = xI, exports.UNLIMITED_BUDGET = Ek, exports.UNLIMITED_LABEL = $k, exports.UNPHRASED_REASON = _h, exports.USAGE_MICROS_PER_DISPLAY_CREDIT = zg, exports.VIEW_CYCLE_REFERENCE_VALUES = Ty, exports.VIEW_GROUP_BY_REGISTRY = sy, exports.VIEW_GROUP_BY_VALUES = cy, exports.VIEW_PRIORITY_VALUES = by, exports.VIEW_QUICK_FILTERS = yy, exports.VIEW_QUICK_FILTER_REGISTRY = hy, exports.VIEW_SORT_DIRECTIONS = my, exports.VIEW_SORT_KEYS = py, exports.VIEW_SORT_KEY_REGISTRY = dy, exports.VIEW_TYPES = ty, exports.VIEW_TYPE_REGISTRY = ey, exports.WEB_ORIGIN = c, exports.WEEKLY_WINDOW_MS = vg, exports.WEEKLY_WINDOW_SECONDS = fg, exports.WIDGET_TYPES = Tx, exports.WORKFLOW_ANNOTATION_COLORS = Dm, exports.WORKFLOW_ANNOTATION_DEFAULT_SIZE = Wm, exports.WORKFLOW_ANNOTATION_MAX = 100, exports.WORKFLOW_ANNOTATION_MAX_TEXT = 4e3, exports.WORKFLOW_ANNOTATION_MIN_SIZE = Fm, exports.WORKFLOW_CLIPBOARD_ENVELOPE_VERSION = 1, exports.WORKFLOW_CLIPBOARD_GRAPH_VERSION = 1, exports.WORKFLOW_CLIPBOARD_KIND = Af, exports.WORKFLOW_CLIPBOARD_MAX_BYTES = Ef, exports.WORKFLOW_CLIPBOARD_REASON = { empty: "There is nothing on the clipboard.", "too-large": "That fragment is too large to paste into a workflow.", "not-json": "The clipboard does not contain workflow steps.", "not-ours": "The clipboard does not contain workflow steps.", unsupported: "That fragment was copied from a newer version of skrr.", malformed: "That fragment is damaged and cannot be pasted." }, exports.WORKFLOW_CONTAINER_MAX = 40, exports.WORKFLOW_GRID = 16, exports.WORKFLOW_LOOP_MAX = 200, exports.WORKFLOW_MAX_NODES = _f, exports.WORKFLOW_NODE_GUTTER = 24, exports.WORKFLOW_NODE_HEIGHT = 112, exports.WORKFLOW_NODE_MIGRATIONS = Rf, exports.WORKFLOW_NODE_TYPES = wm, exports.WORKFLOW_NODE_TYPE_IDS = Cm, exports.WORKFLOW_NODE_TYPE_LIST = Rm, exports.WORKFLOW_NODE_WIDTH = 244, exports.WORKFLOW_OUTCOME_ROW_HEIGHT = 22, exports.WORKFLOW_TEMPLATE_PRESETS = qf, exports.WORK_EDGE_DASH = Bf, exports.WORK_FAILURE_CODES = Kk, exports.WORK_OUTCOMES = vm, exports.WORK_RESOURCE_KINDS = Kv, exports.WORK_RESOURCE_STORAGE_MODES = ["external", "managed"], exports.WebSocketOptionsSchema = qt, exports.__resetClientIdentityForTests = function() {
46864
+ } }, exports.EMBEDDED_ACTION_REF_ID_RE = $p, exports.EMBED_HYDRATORS = dv, exports.EMBED_KINDS = ev, exports.EMBED_KIND_SPECS = rv, exports.EMBED_KIND_SPEC_LIST = av, exports.EMBED_VARIANTS = ["card", "inline"], exports.ENVELOPE_RETENTION_REGISTRY = vI, exports.ESTIMATE_SCALES = ["none", "points", "tshirt", "fibonacci", "linear"], exports.ESTIMATE_SCALE_MIGRATION_MODES = ["clear", "migrate"], exports.ESTIMATE_SCALE_VALUES = Rx, exports.EVALUATED_CHECK_METHODS = Zv, exports.EXACT_TOOL_POLICY_SUPPORT = Ep, exports.EXPECTATION_CHECK_METHODS = ["manual", "deliverable", "task_state", "goal_state", "metric", "llm_review"], exports.EXPECTATION_PRESETS = vh, exports.EXPECTATION_STATE_HINT = { owed: "nobody has produced it", unassessed: "nobody has judged it", unmet: "somebody judged it and it does not pass" }, exports.EXPECTATION_STATE_LABEL = { met: "met", waived: "waived", unmet: "unmet", unverified: "needs confirmation", underway: "on its way", owed: "not produced yet", unassessed: "needs assessment", blocked: "blocked" }, exports.EmbedRefParseError = Sv, exports.EndpointURLs = vl, exports.EnvelopeRoleSchema = bI, exports.FAILURE = mm, exports.FALLBACK_GIT_ACTOR = ik, exports.FEEDBACK_RATINGS = U, exports.FEEDBACK_REASON_KEYS = D, exports.FEEDBACK_TAGS = F, exports.FINAL_TEXT_SANITIZATION_PATTERNS = lS, exports.FOLLOWUP_BUDGET_POOLS = ["watch", "checkin", "act"], exports.FOLLOWUP_DEFAULT_FORM = Wh, exports.FOLLOWUP_DEFAULT_POLL_INTERVAL_SECONDS = Gh, exports.FOLLOWUP_DEFAULT_POLL_MAX_ATTEMPTS = 6, exports.FOLLOWUP_DEFAULT_PREDICATE_CHECK_EVERY_SECONDS = 300, exports.FOLLOWUP_DEFAULT_PREDICATE_MAX_CHECKS = 60, exports.FOLLOWUP_ERROR_CODES = ["FOLLOWUP_AGENT_REQUIRED", "FOLLOWUP_SUBJECT_REQUIRED", "FOLLOWUP_KIND_FIELD_MISSING", "FOLLOWUP_INVALID_FIELD", "FOLLOWUP_BUDGET_EXCEEDED", "FOLLOWUP_NOT_EXECUTABLE", "FOLLOWUP_NOT_FOUND", "FOLLOWUP_INVALID_ENDPOINT", "FOLLOWUP_INVALID_KIND", "FOLLOWUP_INVALID_FORM", "FOLLOWUP_INVALID_TERMINAL"], exports.FOLLOWUP_FORMS = ["passive", "active", "predicate", "recipe", "once", "recurring"], exports.FOLLOWUP_FORMS_BY_KIND = Ph, exports.FOLLOWUP_INITIATIVE_PRODUCING_TERMINAL = "escalated", exports.FOLLOWUP_KINDS = Ch, exports.FOLLOWUP_MAX_OFFSET_SECONDS = jh, exports.FOLLOWUP_MAX_POLL_INTERVAL_SECONDS = Bh, exports.FOLLOWUP_MAX_POLL_MAX_ATTEMPTS = 96, exports.FOLLOWUP_MAX_PREDICATE_DEADLINE_SECONDS = 86400, exports.FOLLOWUP_MAX_PREDICATE_MAX_CHECKS = 500, exports.FOLLOWUP_MAX_TEXT_LEN = 4e3, exports.FOLLOWUP_MAX_WHY_LEN = 1e3, exports.FOLLOWUP_MIN_OFFSET_SECONDS = 60, exports.FOLLOWUP_MIN_POLL_INTERVAL_SECONDS = 60, exports.FOLLOWUP_MIN_PREDICATE_CHECK_EVERY_SECONDS = 60, exports.FOLLOWUP_OVER_BUDGET_BEHAVIORS = ["refuse", "silent_drop"], exports.FOLLOWUP_PRODUCERS = Nh, exports.FOLLOWUP_PROPOSAL_ONLY_PRODUCERS = Oh, exports.FOLLOWUP_RESOLVE_OUTCOMES = Lh, exports.FOLLOWUP_STATES = ["proposed", "armed", "paused", "settling", "settled"], exports.FOLLOWUP_SUBJECT_TYPES = ["conversation", "task", "commitment", "space", "self"], exports.FOLLOWUP_TERMINALS = Mh, exports.FOLLOWUP_TERMINALS_BY_KIND = zh, exports.FOLLOW_UP_POLICIES = ["observe", "gate", "divert"], exports.FOLLOW_UP_POLICY_OPTIONS = xm, exports.FORMERLY = d, exports.FORM_FIELD_TYPES = ["text", "textarea", "number", "email", "url", "password", "select", "multiselect", "checkbox", "radio", "date", "time", "datetime", "file", "hidden"], exports.FileEventSchema = CI, exports.FunctionSignature = IA, exports.GHOST_KEY_PREFIX = Kf, exports.GPT_56_MANAGED_REASONING_EFFORTS = Ad, exports.HANDOVER_REASON_MAX_LENGTH = 500, exports.HARNESS_TERMINAL_EVENTS = fp, exports.HARNESS_TERMINAL_VOCABULARIES = vp, exports.IDEMPOTENCY_HEADER = ST, exports.INITIAL_TYPE_VERSION = 1, exports.INSERT_REJECTION_MESSAGES = If, exports.ImageVisionTool = he, exports.IntegrationConnectRequestSchema = sI, exports.IntegrationExecuteRequestSchema = iI, exports.IntegrationSetAllowedToolsSchema = cI, exports.KEY_RESULT_PROGRESS_MODES = ["manual", "auto"], exports.KEY_RESULT_STATUS_VALUES = ["on_track", "at_risk", "off_track", "done"], exports.KOSMO_OFFICE_BACKGROUND_ASSET = D_, exports.LABEL_APPLICABLE = ["task", "space", "goal", "routine"], exports.LABEL_PALETTE = ["6B7280", "EF4444", "F97316", "F59E0B", "EAB308", "84CC16", "22C55E", "10B981", "14B8A6", "06B6D4", "0EA5E9", "3B82F6", "6366F1", "8B5CF6", "A855F7", "D946EF", "EC4899", "F43F5E"], exports.LABEL_SCOPES = ["user", "workspace"], exports.LEGACY_BRAND = u, exports.LEGACY_ENGINE_TERMINAL_EVENTS = gp, exports.LEGACY_KOSMO_PLACEHOLDER_DATA_URL = "data:image/webp;base64,UklGRq4GAABXRUJQVlA4WAoAAAAQAAAAPwAAeQAAQUxQSJECAAARf6CgbRQ4hYF7gYiI6foRpk03AF3b2pbHzStmr782/rVBHqhMknvUHWh8BVJphzRtKk0bzh1IuQJmlussh6GKceinU/zwvW+4jOj/BMi/zNufX7BZi6Bhcg+YmATAdyUDLwaoGayRbpg1DbYyzhm8kzE2WGbcMphm9A38ONUykHvA22K5A8xM1hI4aeLFcMJkBMxMtoG3TX4DuGTwAekHF7X8j8h9rqzi/U7BF1TepHBdY7fYCY2w2ExhjeJfK0wdHlTclg7U3VYubbcnLj23PZehW+AycYtc5k5e7PK1k5+4PCi7bMN3cd59jSUsgrzXgabC+CDvZgRdlxWMd/MGMbQUhvt5RwLouTyGQZR3MoCOyzvQL9CNoOmyhGGQdyyBissIXkjy5gkLcfUTviL/Oxg7yS6zOO9VqLm9yaTAt7whiuF3FG1oPKXoQjRXhfoqo0INFYkKPCjrBAWomNXM6jphkaZZy6xtcN/suYyOwTWzo0mqa9CMreqBQZCqHliVd1M9ve9KP6VO6H0tq9RJnUNgIctUX+8N2TGayzQ11DkAJjIy2AfGsmawCwzFS4C+zlPgvEgEnDA5BE7q7AEnRPaBgc4B0BHZBW7ptUWeAhO9jsmhWZD1BJiZPAbmOiHQFvnRpiXyA/CGTpT1jU1T5B2busjSpirypl4MVES21bxUWWQKzFX8JGsLmOhVREZAX8WLgWpWW0UCoCayA3R0QqAqsgJuqawBVER+AOYqfgLflUTeASYqXgxvi8g2MFDxY5iJyFWgqzICxiLiJXBcZQeY5AxUdoE3RGQNmGv4MbAQkS3gQVlhCjw4LSJ+BDQVlkBf0m89IOkovPlHQifjHaCnIN7GpmSuvfTinarG/7YAVlA4IPYDAABQFQCdASpAAHoAPsFWoE0npKKiKxXc8PAYCUAaGAR5ciBHoh27POw6aBvNv+8wCXbrr+CJZdGnLZq9ATpB/t17HKEdZtmJXGSceEttv8FISQnIPN8O5Bbyl6tJ6KJp0t6jh7XdcIX6P1ol1DDr7uxodxepAn3hRMwUlmesHeYgrIPYGEclnrNkkEBWePP6B67KIhrrIg0Eih6TDAbXYwxQbG/r7kVXIJCNsFgx/wpgKxc+QAD+5+AaCx5rCJ8k9LEkrdDiumoc50/DQKpNcT60eP6ei2zLfEsR1IVqVqaR5tFTNNC0QORQ/vAODiroQmEbbK/3bWEbtVieHzUQBzMLut3RYdNp9d3A3A+Ta4sL0sN/1qjl1o8SIw83oRCe4MFufhs+IjcjoxyWRQ4nzsp/lbOPF9/z414HNrOCQw8otz8zQb1LX2UcFhU45NYkMfUdkYGW9dryP/0YPWuVlDx/j/Actmcf9vqKT9h4yeKceewrNVD7lQxr5opbyBLgk7HfX3fcaMHCYYiWBIEjaaYhOw2yo3TdzdO6aCpi8TDxdBai6l42/EdehJrwuuGiZK1NBjOFVNcn6BXjxS6KoUmBm9oTEwRNfZvO0fDj63Ikh8ckAs6WX7rM6MTzRUGxwQroUQ0221kMUDQitrLW7rRbIk9w2AEXqNW6fLPYaq9UZ8ZlwrOBCPUsMujiXsdOoW2qnJ1CCOI2N0LTXLAfy6CpV3eMQ23Uifk/S76+7nUE32PMhPHEUnhfoYR/+z9RI+SD7pDloK6TNQ/9gYp0tEzS51AG21aNxP/VhO5j+5G6cPZVcNNFlXsfIG0PkHBew37SBPuSzL21C/EYIU/0DEgUr0KovXk/QIUoV24NU3CBTae0uZCVoEPG3lp+s9HaecGzAoQTdGUYWby6VlCys40/RNCYSwIATbHMdpgvOigLTjTZy0d7EchU/DFCB6fhbGAu2g9XGj7gEBKpXSWYsmUDBKDFfzGfPNzfb94b14/e22klfO1laKv/Rd8UbJJ0ZPCdd7DqPEaVhziKzfPc+GS0DitQLlUYwwdM2A6kTTqj1xMsneW61UaNzpO5YrV35OYZZv7eGdphQDWPtwX4vNHGMsKTL7ol6zpG2kZOSBOMRSpcw4dD2QztLo4rHS1sVGBWlsFuKe/UzhRZPriN/F88wRULwbYSQMU/Qd9mUXb6GN7eDkRM+WZbsB5X1MSj0FU+r6ND3mB0wweDEt5HvvvQVButQ7BkgLf8rEEXB2lx0bepvjBPdayfaAyYNqfRtiqPCJ9HRUU6PexbRNuZCvSMmHQlxbDnH+ZOj5W22dPOI0eMvdb4xAseHiksYbcKRMCKfIAAAAA=", exports.LEGACY_STATUS_TYPE_BY_ID = Lf, exports.LOCAL_CLI_EFFORT_CATALOG = Rd, exports.LOCAL_CLI_MODEL_CATALOG = Od, exports.LOCAL_EXECUTION_ENVIRONMENTS = rp, exports.LOCAL_HARNESSES = pp, exports.LOCAL_HARNESS_CAPABILITIES = Kd, exports.LOCAL_HARNESS_PERMISSION_MODES = jd, exports.LOCAL_HARNESS_PROVIDERS = $d, exports.LOCAL_HARNESS_PROVIDER_ENVIRONMENTS = np, exports.LOCAL_RUNTIMES = cp, exports.LOCAL_RUNTIME_ENVIRONMENTS = lp, exports.MACHINE_CHECKPOINT_OUTCOMES = jp, exports.MACHINE_CHECKPOINT_OUTCOME_FALLBACK = qp, exports.MACHINE_CHECKPOINT_PENDING_OUTCOME = Bp, exports.MACHINE_FAILURE_CODES = Bk, exports.MACHINE_HEALTH_CONSEQUENTIAL_REASONS = zp, exports.MACHINE_HEALTH_REASON_COPY = Mp, exports.MACHINE_HEALTH_REASON_FALLBACK = Lp, exports.MACHINE_LEASE_ASSIGNABLE_STATES = ["ready", "active", "idle"], exports.MACHINE_LEASE_AT_REST_STATES = Rp, exports.MACHINE_LEASE_TRANSITION_STATES = Cp, exports.MANAGED_CLI_PROVIDER_IDS = p, exports.MANAGED_CONTENT_KINDS = Hv, exports.MANAGED_PRODUCT_FALLBACK_PROVIDERS = h, exports.MANAGED_PRODUCT_FALLBACK_PROVIDER_IDS = y, exports.MAX_AGENT_MESSAGE_SEQUENCE_PARTS = 20, exports.MAX_EMBEDDED_ACTIONS = 10, exports.MAX_EMBEDDED_ACTION_LABEL_CHARS = 200, exports.MAX_EMBEDDED_ACTION_REF_ID_CHARS = 120, exports.MAX_KEY_RESULTS_PER_TASK = 50, exports.MAX_LOCAL_CLI_MODEL_LENGTH = Ld, exports.MAX_MESSAGE_EMBEDS = 10, exports.MCPOptionsSchema = Qt, exports.MCPServersSchema = Zt, exports.MINIMUM_AUTHORITY_BY_KIND = lh, exports.NEUTRAL_FAILURE_CODES = Hk, exports.NODE_DIRTINESS = Qm, exports.NODE_KEY_MAX = 160, exports.NODE_KEY_RE = pf, exports.NORTHSTAR_ANALYSIS_MODES = ["deterministic", "agent_assisted"], exports.NORTHSTAR_APPROVAL_TRIGGERS = ["resume", "complete", "cancel", "archive", "create", "reassign", "critical_commitment", "compute_increase"], exports.NORTHSTAR_EXECUTION_MODES = ["advisory", "approval", "bounded_auto"], exports.NORTHSTAR_INTENT_VERDICTS = ["advisory", "awaiting_approval", "approved", "applying", "applied", "rejected", "invalidated"], exports.NORTHSTAR_MANAGEMENT_INTENT_KINDS = ["pause_commitment", "resume_commitment", "reprioritize_commitment", "request_commitment_check", "set_execution_bounds", "create_commitment_proposal", "reassign_commitment_proposal"], exports.NORTHSTAR_REVIEW_STATUSES = ["running", "awaiting_agent", "succeeded", "failed"], exports.OFFLINE_MESSAGE_TERMINAL_DECLARATION_VERSION = 1, exports.OFFLINE_MESSAGE_TERMINAL_MAX_PENDING_GRANTS = 8, exports.OfflineMessageTerminalDeclarationSchema = TI, exports.OfflineMessageTerminalFenceSchema = _I, exports.OfflineMessageTerminalReleaseSchema = II, exports.PERMANENT_TRANSCRIPT_CLASS_KEYS = yI, exports.PERMISSION_BLOCKED_FAILURE_CODE = jk, exports.PERMISSION_MODE_DISPLAY_ORDER = qd, exports.PERMISSION_MODE_SLUGS = Yd, exports.PERSONALITY_ORDER = ["default", "helpful", "focused", "classic"], exports.PLATFORM_AGENT_AVATAR_POLICY = Q_, exports.PLATFORM_TOOL_NAMES = _x, exports.PORTABLE_CONFIG_POLICY = gf, exports.PROJECT_HEALTH_LABELS = { on_track: "On track", at_risk: "At risk", off_track: "Off track", no_update: "No update" }, exports.PROJECT_HEALTH_VALUES = Tb, exports.PROVENANCE_MAX_INSERTIONS = 64, exports.PermissionAskEventSchema = FI, exports.PermissionModeChangeEventSchema = WI, exports.PermissionResolvedEventSchema = jI, exports.QuestionAskEventSchema = BI, exports.QuestionResolvedEventSchema = GI, exports.REASONING_EFFORT_VALUES = Ed, exports.RESERVED_LOCAL_CLI_MODEL_SENTINELS = zd, exports.RESET_MATCH_TOLERANCE_MS = _g, exports.RESOURCE_OBSERVATION_STATUSES = ["unknown", "local", "in_review", "available", "unavailable", "superseded"], exports.RPC_EVENTS = { REQUEST: "rpc:request", RESPONSE: "rpc:response", CANCEL: "rpc:cancel" }, exports.RUN_FAILURE_CLASSES = ["machine", "contract", "work", "neutral", "none"], exports.SATISFYING_LIFECYCLE = "available", exports.SEPARATORS = Zl, exports.SESSION_SERIES = Sg, exports.SESSION_WINDOW_MS = gg, exports.SESSION_WINDOW_SECONDS = mg, exports.SHELL_PROMPT_HINT_AFTER_MS = 3e3, exports.SHELL_READING_LINE_SEQUENCE = kp, exports.SHIPPED_AGENT_AVATAR_POLICY = { mode: "random", scope: "all" }, exports.SKILL_LIMITS = { NAME_MAX_LENGTH: 50, DISPLAY_NAME_MAX_LENGTH: 100, DESCRIPTION_MAX_LENGTH: 500, CONTENT_MAX_LENGTH: 102400, TRIGGER_HINT_MAX_LENGTH: 200 }, exports.SKY_CODE_ALLOWANCE_POOL_KEY = Mg, exports.SKY_CODE_ALLOWANCE_SERVICES = Fg, exports.SKY_CODE_API_ALLOWANCE_POOL_KEY = "payg-inference", exports.SKY_CODE_API_PRODUCT_FAMILY = "sky-code-api", exports.SKY_CODE_COMMERCIAL_POLICY_VERSION = "sky-code-commercial-policy-2026-09-13.v1", exports.SKY_CODE_DATA_POLICY = Bg, exports.SKY_CODE_LAUNCH_SURFACES = jg, exports.SKY_CODE_PLAN_CATALOG = Vg, exports.SKY_CODE_PLAN_KEYS = Dg, exports.SKY_CODE_SUBSCRIPTION_CATALOG_VERSION = Og, exports.SKY_CODE_SUBSCRIPTION_PRODUCT_FAMILY = Ng, exports.SKY_CODE_SUSPENSION_REASONS = Gg, exports.SKY_CODE_UPSTREAM_ROUTES = Wg, exports.SKY_CODE_USAGE_UNIT = Lg, exports.SPACE_ACTIVITY_BAND_LABELS = My, exports.SPACE_ACTIVITY_BAND_ORDER = Oy, exports.SPACE_ACTIVITY_BAND_TONES = Ly, exports.SPACE_AUTO_EXECUTION_LIMITS = { maxStartsPerRun: { min: 0, max: 1e3, default: 0 }, maxActiveTasks: { min: 0, max: 1e5, default: 0 }, intervalMs: { min: 6e4, max: 864e5, default: 12e4 } }, exports.SPACE_AUTO_EXECUTION_MODES = ["continuous", "cadenced"], exports.SPACE_CHARACTER_CATALOG = E_, exports.SPACE_CHARACTER_IDS = R_, exports.SPACE_CUSTOM_ACTION_ID_PREFIX = Sk, exports.SPACE_DECLARED_TERMINAL_STATUSES = Uy, exports.SPACE_DEFAULT_TAB_VALUES = ["dashboard", "tasks", "cycles", "projects", "room", "live", "schedule", "actions", "workflows", "wiki", "memory", "files", "widgets"], exports.SPACE_FILE_RESOLVE_MAX_IDS = 100, exports.SPACE_FILE_URI_SCHEME = ru, exports.SPACE_GROUP_BY_REGISTRY = Gy, exports.SPACE_GROUP_BY_VALUES = Ky, exports.SPACE_GROUP_NO_DATE = Zy, exports.SPACE_GROUP_NO_LEAD_AGENT = Xy, exports.SPACE_GROUP_ROOT_PARENT = Qy, exports.SPACE_GROUP_UNLABELED = Yy, exports.SPACE_NOT_STARTED_STATUSES = zy, exports.SPACE_RENDERABLE_VIEW_TYPES = oy, exports.SPACE_ROOM_TAG = lm, exports.SPACE_ROOM_TAG_PREFIX = um, exports.SPACE_STATUSES = ["backlog", "planned", "in_progress", "completed", "cancelled"], exports.SPACE_TOOL_NAMES = $_, exports.SPACE_UNLIMITED = 0, exports.SPAWNED_OUTCOME = km, exports.SSEOptionsSchema = Yt, exports.STANDSTILL_LAYERS = ["authority", "capability", "attention"], exports.STANDSTILL_REASONS = ["autonomy_off", "autonomy_capped_by_initiative_policy", "autonomy_capped_by_compass", "autonomy_capped_by_workspace", "autonomy_hard_stop", "no_runtime_bound", "runtime_offline", "dispatch_failing", "attention_suppressed"], exports.STATUS_DURATION_OPTIONS = [{ value: "30min", label: "30 minutes" }, { value: "1hr", label: "1 hour" }, { value: "4hr", label: "4 hours" }, { value: "today", label: "Today (until midnight)" }, { value: "thisWeek", label: "This week" }, { value: "custom", label: "Custom..." }, { value: null, label: "Don't clear" }], exports.STRICT_LOCAL_CLI_MODEL_PROVIDERS = Md, exports.SUCCESS = pm, exports.ServiceEventSchema = EI, exports.SessionEnvelopeBatchSchema = $I, exports.SessionEnvelopeDaemonSchema = XI, exports.SessionEnvelopeDegradedSchema = ZI, exports.SessionEnvelopeSchema = YI, exports.SessionEnvelopeServerStampedSchema = QI, exports.SessionEventBodySchema = VI, exports.SessionHandoffEndpointSchema = KI, exports.SessionHandoffEventSchema = HI, exports.SessionOutputEventSchema = JI, exports.SlashCommandDescriptorSchema = UI, exports.SlashCommandsAvailableEventSchema = DI, exports.StdioOptionsSchema = Vt, exports.StreamableHTTPOptionsSchema = Xt, exports.SubagentRefEventSchema = zI, exports.SubagentStartEventSchema = MI, exports.SubagentStopEventSchema = LI, exports.TASK_ASSERTION_LEVELS = ["actor_reported", "human_confirmed", "system_observed", "external_receipt"], exports.TASK_ASSET_RESOLVE_MAX_IDS = 50, exports.TASK_ASSET_URI_SCHEME = Jl, exports.TASK_ATTACHMENT_MAX_BYTES = 26214400, exports.TASK_BRANCH_PREFIX = Lv, exports.TASK_CARD_CLOSURE_STATES = ["none", "unrecorded", "clean", "open_items", "overridden"], exports.TASK_CARD_PAGE_LIMIT = 100, exports.TASK_CARD_VIEW_FIELDS = ["id", "title", "description", "identifier", "taskNumber", "status", "statusType", "priority", "tags", "dueDate", "spaceId", "assigneeAgentIds", "assigneeUserIds", "delivery", "sessionId", "checkoutRunId", "updatedAt"], exports.TASK_COMMENT_PRESET_REACTIONS = ["\u{1F44D}", "\u2764\uFE0F", "\u{1F389}", "\u{1F680}", "\u{1F440}", "\u{1F914}", "\u{1F44E}"], exports.TASK_COMPLETION_LABEL = kh, exports.TASK_COMPLETION_STATES = ["done_and_checked", "done_needs_your_eyes", "not_done"], exports.TASK_DAILY_METRIC_SCOPE_KINDS = d_, exports.TASK_DAILY_METRIC_STATUS_TYPES = p_, exports.TASK_DIRECT_UPLOAD_MAX_BYTES = 262144e3, exports.TASK_ESTIMATE_PROPOSAL_STATUSES = Px, exports.TASK_EVIDENCE_LEVELS = Xv, exports.TASK_EXECUTION_MODES = ["agent", "human"], exports.TASK_EXECUTION_PURPOSES = ["work", "verification", "revision", "review"], exports.TASK_EXECUTION_STATUSES = ["active", "waiting", "succeeded", "failed", "cancelled"], exports.TASK_INSIGHT_EXECUTION_MEASURES = n_, exports.TASK_INSIGHT_GROUP_BY = o_, exports.TASK_INSIGHT_MEASURES = t_, exports.TASK_INSIGHT_STATUS_TYPES = e_, exports.TASK_LIFECYCLE_DEFINITION_KIND = "task_lifecycle", exports.TASK_LIFECYCLE_EFFECT_KINDS = tg, exports.TASK_LIFECYCLE_EXECUTION_MODE = "task_lifecycle", exports.TASK_LIFECYCLE_NEXT_ACTORS = eg, exports.TASK_LIFECYCLE_NODE_TYPES = ng, exports.TASK_LIFECYCLE_TRANSITION_STATUSES = ["applied", "pending_repair", "rejected", "superseded", "gated"], exports.TASK_OUTCOME_KINDS = Yv, exports.TASK_OUTPUT_ARTIFACTS_MAX_ENTRIES = 50, exports.TASK_OUTPUT_BODY_MAX = Yg, exports.TASK_OUTPUT_FIELD_MAX = Xg, exports.TASK_PREFIX_DEFAULT = "OSK", exports.TASK_PREFIX_MAX_LENGTH = 10, exports.TASK_PREFIX_PATTERN = Cv, exports.TASK_PRINCIPAL_KINDS = ["human", "agent", "system", "integration"], exports.TASK_RENDERABLE_VIEW_TYPES = ry, exports.TASK_RESOURCE_ROLES = ["input", "reference", "evidence", "attachment", "deliverable"], exports.TASK_REVIEW_DECISIONS = ["accepted", "changes_requested"], exports.TASK_REVIEW_POLICIES = ["none", "required"], exports.TASK_SPAWN_REASONS = ["follow_up", "review_finding", "blocker", "decomposition"], exports.TASK_STAGE_WAITING_KIND = "task_lifecycle_stage", exports.TASK_STATUSES = ["backlog", "todo", "in_progress", "in_review", "done", "failed", "blocked", "cancelled", "hidden"], exports.TASK_STATUS_BANDS = Uf, exports.TASK_UPDATE_TYPES = ["progress", "finding", "decision", "blocker", "verification", "ready_for_review"], exports.TASK_VIEW_DEFAULT_GROUP_BY = "none", exports.TASK_VIEW_DEFAULT_TYPE = "tree", exports.TASK_VIEW_PRESET_KEYS = xy, exports.TASK_WEBHOOK_EVENTS = h_, exports.TASK_WEBHOOK_PAYLOAD_VERSION = v_, exports.TASK_WORKFLOW_STATE_TYPES = Of, exports.TASK_WORKFLOW_TYPE_BANDS = zf, exports.TEMPLATE_PORTS_MAX = 20, exports.TONE_CUSTOM_PREFIX = "ctone_", exports.TONE_DIAL_KEYS = ["brevity", "warmth", "formality", "humor", "directness"], exports.TONE_FAMILIES = [{ key: "concise", label: "Few words", blurb: "Says less, means it." }, { key: "thinking", label: "Thinking out loud", blurb: "Reasons in the open." }, { key: "caring", label: "With care", blurb: "Attends to the person, not just the task." }, { key: "edge", label: "With an edge", blurb: "Friction, wit, or heat \u2014 on purpose." }, { key: "craft", label: "Composed", blurb: "Measured, and built to land." }], exports.TONE_LIMITS = { NAME_MAX: 60, TAGLINE_MAX: 120, EMOJI_MAX: 8, PERSONA_MAX: 120, SAMPLE_MAX: 400, PROMPT_MAX: 4e3, NOTES_MAX: 600, MAX_TONES_PER_USER: 100 }, exports.TONE_PRESETS = z_, exports.TONE_PRESETS_BY_ID = U_, exports.TONE_PRESET_PREFIX = O_, exports.TOOL_FAILURE_MARKERS = tS, exports.TRIGGER_TYPE_OPTIONS = Em, exports.TSHIRT_ESTIMATE_LABELS = Cx, exports.TextEventSchema = AI, exports.ToolCallEndEventSchema = RI, exports.ToolCallStartEventSchema = wI, exports.TurnEndEventSchema = NI, exports.TurnFinalizedEventSchema = OI, exports.TurnStartEventSchema = PI, exports.TurnStatusSchema = xI, exports.UNLIMITED_BUDGET = Ek, exports.UNLIMITED_LABEL = $k, exports.UNPHRASED_REASON = _h, exports.USAGE_MICROS_PER_DISPLAY_CREDIT = zg, exports.VIEW_CYCLE_REFERENCE_VALUES = Ty, exports.VIEW_GROUP_BY_REGISTRY = sy, exports.VIEW_GROUP_BY_VALUES = cy, exports.VIEW_PRIORITY_VALUES = by, exports.VIEW_QUICK_FILTERS = yy, exports.VIEW_QUICK_FILTER_REGISTRY = hy, exports.VIEW_SORT_DIRECTIONS = my, exports.VIEW_SORT_KEYS = py, exports.VIEW_SORT_KEY_REGISTRY = dy, exports.VIEW_TYPES = ty, exports.VIEW_TYPE_REGISTRY = ey, exports.WEB_ORIGIN = c, exports.WEEKLY_WINDOW_MS = vg, exports.WEEKLY_WINDOW_SECONDS = fg, exports.WIDGET_TYPES = Tx, exports.WORKFLOW_ANNOTATION_COLORS = Dm, exports.WORKFLOW_ANNOTATION_DEFAULT_SIZE = Wm, exports.WORKFLOW_ANNOTATION_MAX = 100, exports.WORKFLOW_ANNOTATION_MAX_TEXT = 4e3, exports.WORKFLOW_ANNOTATION_MIN_SIZE = Fm, exports.WORKFLOW_CLIPBOARD_ENVELOPE_VERSION = 1, exports.WORKFLOW_CLIPBOARD_GRAPH_VERSION = 1, exports.WORKFLOW_CLIPBOARD_KIND = Af, exports.WORKFLOW_CLIPBOARD_MAX_BYTES = Ef, exports.WORKFLOW_CLIPBOARD_REASON = { empty: "There is nothing on the clipboard.", "too-large": "That fragment is too large to paste into a workflow.", "not-json": "The clipboard does not contain workflow steps.", "not-ours": "The clipboard does not contain workflow steps.", unsupported: "That fragment was copied from a newer version of skrr.", malformed: "That fragment is damaged and cannot be pasted." }, exports.WORKFLOW_CONTAINER_MAX = 40, exports.WORKFLOW_GRID = 16, exports.WORKFLOW_LOOP_MAX = 200, exports.WORKFLOW_MAX_NODES = _f, exports.WORKFLOW_NODE_GUTTER = 24, exports.WORKFLOW_NODE_HEIGHT = 112, exports.WORKFLOW_NODE_MIGRATIONS = Rf, exports.WORKFLOW_NODE_TYPES = wm, exports.WORKFLOW_NODE_TYPE_IDS = Cm, exports.WORKFLOW_NODE_TYPE_LIST = Rm, exports.WORKFLOW_NODE_WIDTH = 244, exports.WORKFLOW_OUTCOME_ROW_HEIGHT = 22, exports.WORKFLOW_TEMPLATE_PRESETS = qf, exports.WORK_EDGE_DASH = Bf, exports.WORK_FAILURE_CODES = Kk, exports.WORK_OUTCOMES = vm, exports.WORK_RESOURCE_KINDS = Kv, exports.WORK_RESOURCE_STORAGE_MODES = ["external", "managed"], exports.WebSocketOptionsSchema = qt, exports.__resetClientIdentityForTests = function() {
46865
46865
  xT = null, delete o.defaults.headers.common["X-Client-Platform"], delete o.defaults.headers.common["X-Client-Version"], delete o.defaults.headers.common["X-Client-OS"];
46866
46866
  }, exports.accessRoleSchema = sT, exports.accessRoleToPermBits = function(e2) {
46867
46867
  var t2;
@@ -47176,7 +47176,7 @@ exports.ACCEPTED_AGENT_TRIGGER_FIRE_OUTCOMES = ["succeeded", "in_progress", "awa
47176
47176
  })(e3, n2, o2);
47177
47177
  });
47178
47178
  }, exports.button = Gu, exports.calendar = Ku, exports.canStartSkyCodeCheckout = function(e2, t2) {
47179
- return !(!qg(e2) || "monthly" !== t2 && "annual" !== t2) && Hg[e2].newCheckoutCycles.includes(t2);
47179
+ return !(!qg(e2) || "monthly" !== t2 && "annual" !== t2) && Vg[e2].newCheckoutCycles.includes(t2);
47180
47180
  }, exports.canTransitionCommitmentStatus = function(e2, t2) {
47181
47181
  return !t2 || t2 === e2 || (!Bx(e2) || !!Bx(t2) && jx[e2].includes(t2));
47182
47182
  }, exports.canonicalizeHarnessLabel = function(t2) {
@@ -47186,7 +47186,7 @@ exports.ACCEPTED_AGENT_TRIGGER_FIRE_OUTCOMES = ["succeeded", "in_progress", "awa
47186
47186
  if (b(r2)) return "No coding agent installed";
47187
47187
  var a2 = String(null !== (n2 = e.canonicalArtifactHarnessProvider(r2)) && void 0 !== n2 ? n2 : r2);
47188
47188
  return a2 === r2 ? t2 : a2 + t2.slice(r2.length);
47189
- }, exports.canonicalizeWindowResetAt = kg, exports.card = Vu, exports.carousel = Hu, exports.changeNodeType = function(e2, t2, n2) {
47189
+ }, exports.canonicalizeWindowResetAt = kg, exports.card = Hu, exports.carousel = Vu, exports.changeNodeType = function(e2, t2, n2) {
47190
47190
  var o2, r2 = e2.semantic.nodes.find(function(e3) {
47191
47191
  return e3.key === t2;
47192
47192
  });
@@ -47248,7 +47248,7 @@ exports.ACCEPTED_AGENT_TRIGGER_FIRE_OUTCOMES = ["succeeded", "in_progress", "awa
47248
47248
  }
47249
47249
  if (!a2 || !Yk.has(a2)) return Qk("none", null);
47250
47250
  var m2 = Zk(Jk([s2, c2, i2, d2]), Jk([i2, d2, s2, c2]));
47251
- return "result_invalid" !== a2 || "neutral" !== m2.class || m2.code && Vk.has(m2.code) ? m2 : Qk("contract", null !== (r2 = m2.code) && void 0 !== r2 ? r2 : "result_invalid");
47251
+ return "result_invalid" !== a2 || "neutral" !== m2.class || m2.code && Hk.has(m2.code) ? m2 : Qk("contract", null !== (r2 = m2.code) && void 0 !== r2 ? r2 : "result_invalid");
47252
47252
  }, exports.classifySkyCodeChargeability = function(e2) {
47253
47253
  if (!jg.includes(e2.surface)) throw new RangeError("Unknown Sky Code launch surface: ".concat(String(e2.surface)));
47254
47254
  if (!["model-inference", "hosted-compute"].includes(e2.service)) throw new RangeError("Unknown Sky Code service: ".concat(String(e2.service)));
@@ -47261,7 +47261,7 @@ exports.ACCEPTED_AGENT_TRIGGER_FIRE_OUTCOMES = ["succeeded", "in_progress", "awa
47261
47261
  var n2 = "platform" === e2.credentialSource && "hosted" === e2.executionLocation;
47262
47262
  return Object.freeze(_(_({}, e2), { billingMode: n2 ? "sky-code-entitlement" : "external-credential", credentialCustody: t2, consumesSkyCodeAllowance: n2, chargesSkyCodeOverage: n2, chargesHostedCompute: false }));
47263
47263
  }, exports.classifyTextLane = pS, exports.codeInterpreterMimeTypes = Pt, exports.codeInterpreterMimeTypesList = xt, exports.codeTypeMapping = { c: "text/x-c", cs: "text/x-csharp", cpp: "text/x-c++", h: "text/x-h", md: "text/markdown", php: "text/x-php", py: "text/x-python", rb: "text/x-ruby", tex: "text/x-tex", js: "text/javascript", sh: "application/x-sh", ts: "application/typescript", tar: "application/x-tar", zip: "application/zip", yml: "application/x-yaml", yaml: "application/x-yaml", log: "text/plain", tsv: "text/tab-separated-values" }, exports.coerceNumber = Me, exports.coercePermissionModeForHarness = function(e2, t2) {
47264
- var n2 = Hd(e2);
47264
+ var n2 = Vd(e2);
47265
47265
  if ("string" == typeof t2 && n2.includes(t2)) return { mode: t2, coerced: false };
47266
47266
  var o2 = n2.includes("default") ? "default" : n2[0];
47267
47267
  return { mode: null != o2 ? o2 : "default", coerced: "string" == typeof t2 && t2 !== o2 };
@@ -47411,7 +47411,14 @@ exports.ACCEPTED_AGENT_TRIGGER_FIRE_OUTCOMES = ["succeeded", "in_progress", "awa
47411
47411
  var n2 = Ug - t2, o2 = Math.ceil(e2 * Ug / n2);
47412
47412
  if (!Number.isSafeInteger(o2)) throw new RangeError("Customer usage exceeds the supported range");
47413
47413
  return o2;
47414
- }, exports.dataService = uA, exports.dayKeyOf = Ig, exports.declaresUnevaluatedCheck = function(e2) {
47414
+ }, exports.dataService = uA, exports.dayKeyOf = Ig, exports.declaredPermissionModesForHarness = function(e2, t2) {
47415
+ var n2, o2 = Array.isArray(t2) ? jd.filter(function(e3) {
47416
+ return t2.includes(e3);
47417
+ }) : [];
47418
+ if (o2.length > 0) return o2;
47419
+ var r2 = null === (n2 = Hd(e2)) || void 0 === n2 ? void 0 : n2.permissionModes;
47420
+ return r2 && r2.length > 0 ? A([], r2, true) : null;
47421
+ }, exports.declaresUnevaluatedCheck = function(e2) {
47415
47422
  var t2, n2 = null === (t2 = null == e2 ? void 0 : e2.check) || void 0 === t2 ? void 0 : t2.method;
47416
47423
  return Boolean(n2) && !Jv(n2);
47417
47424
  }, exports.dedicatedRuntimeUninstalledReason = function(e2) {
@@ -47562,7 +47569,7 @@ exports.ACCEPTED_AGENT_TRIGGER_FIRE_OUTCOMES = ["succeeded", "in_progress", "awa
47562
47569
  if ("" === n2) return null;
47563
47570
  var o2 = (function(e3) {
47564
47571
  var t3 = Yp(e3);
47565
- return t3 && Vp[t3] || Hp;
47572
+ return t3 && Hp[t3] || Vp;
47566
47573
  })(null == t2 ? void 0 : t2.action), r2 = Xp(n2), a2 = qp;
47567
47574
  return "requested" === n2 ? a2 = "Waiting for the machine to pause its work and save the workspace." : "guest_checkpointed" === n2 ? a2 = "The machine paused its work and saved the workspace ".concat(o2.after, ".") : "skipped_unreachable" === n2 || "checkpoint_timeout" === n2 ? a2 = "The machine did not confirm it had paused its work, so ".concat(o2.wentAhead, " without it. ").concat(o2.keeps) : "skipped_not_running" === n2 && (a2 = "The machine was not running, so there was nothing to pause or save."), { sentence: a2, outcome: n2, pending: n2 === Bp, known: r2 };
47568
47575
  }, exports.describeMachineHealthReasons = function(e2, t2) {
@@ -47587,8 +47594,8 @@ exports.ACCEPTED_AGENT_TRIGGER_FIRE_OUTCOMES = ["succeeded", "in_progress", "awa
47587
47594
  }, exports.describeRunFailureRemedy = function(e2, t2) {
47588
47595
  var n2;
47589
47596
  return "string" != typeof e2 ? null : "EXECUTION_ISOLATION_UNAVAILABLE" === e2 ? (function(e3) {
47590
- return /not a git repository|no worktree can be created/i.test(e3) ? "Point the Run's working directory at a git repository \u2014 isolation needs a worktree \u2014 or set the isolation to shared, then retry" : /did not advertise|Upgrade the daemon/i.test(e3) ? "Upgrade the daemon on the runtime so it can isolate the run, then retry" : /whole-session|Hosted Machine/i.test(e3) ? "Bind the agent to a local harness or a Hosted Machine target, or set the isolation to shared, then retry" : Hk.EXECUTION_ISOLATION_UNAVAILABLE;
47591
- })("string" == typeof t2 ? t2 : "") : null !== (n2 = Hk[e2]) && void 0 !== n2 ? n2 : null;
47597
+ return /not a git repository|no worktree can be created/i.test(e3) ? "Point the Run's working directory at a git repository \u2014 isolation needs a worktree \u2014 or set the isolation to shared, then retry" : /did not advertise|Upgrade the daemon/i.test(e3) ? "Upgrade the daemon on the runtime so it can isolate the run, then retry" : /whole-session|Hosted Machine/i.test(e3) ? "Bind the agent to a local harness or a Hosted Machine target, or set the isolation to shared, then retry" : Vk.EXECUTION_ISOLATION_UNAVAILABLE;
47598
+ })("string" == typeof t2 ? t2 : "") : null !== (n2 = Vk[e2]) && void 0 !== n2 ? n2 : null;
47592
47599
  }, exports.describeScrubbableFields = function(e2) {
47593
47600
  for (var t2, n2, o2 = [], r2 = 0, a2 = e2.semantic.nodes; r2 < a2.length; r2++) for (var i2 = a2[r2], s2 = null !== (t2 = gf[i2.type]) && void 0 !== t2 ? t2 : {}, c2 = 0, l2 = Object.entries(s2); c2 < l2.length; c2++) {
47594
47601
  var u2 = l2[c2], d2 = u2[0], p2 = u2[1];
@@ -47682,7 +47689,7 @@ exports.ACCEPTED_AGENT_TRIGGER_FIRE_OUTCOMES = ["succeeded", "in_progress", "awa
47682
47689
  }).filter(function(e3) {
47683
47690
  return Boolean(e3);
47684
47691
  }).join("\n") : "";
47685
- }, exports.emptyChatState = { messageIds: [], messagesById: {}, messageFirstSeqs: {}, pendingSubagentEnvelopes: {}, lastSeqBySession: {}, seenEnvelopeIds: {}, degradedEnvelopeIds: {}, degradedCorrelationIds: {}, durableCorrelationIds: {}, supersededDegradedEnvelopeIds: {}, seenUserLocalIdsBySession: {}, messageIdByTurn: {} }, exports.emptySpend = xg, exports.endpointFileConfigSchema = Dt, exports.endpointSchema = Ec, exports.endpointSettings = Ie, exports.entryNodeKeys = ef, exports.envVarRegex = R, exports.errorsToString = Hl, exports.essentialShadcnComponents = _d, exports.estimateAccuracyPercentilesSchema = zx, exports.estimateAccuracyPointSchema = Lx, exports.estimateAccuracyRequestSchema = Dx, exports.estimateAccuracyResponseSchema = Fx, exports.estimateAccuracySliceSchema = Ux, exports.estimateValuesForScale = function(e2) {
47692
+ }, exports.emptyChatState = { messageIds: [], messagesById: {}, messageFirstSeqs: {}, pendingSubagentEnvelopes: {}, lastSeqBySession: {}, seenEnvelopeIds: {}, degradedEnvelopeIds: {}, degradedCorrelationIds: {}, durableCorrelationIds: {}, supersededDegradedEnvelopeIds: {}, seenUserLocalIdsBySession: {}, messageIdByTurn: {} }, exports.emptySpend = xg, exports.endpointFileConfigSchema = Dt, exports.endpointSchema = Ec, exports.endpointSettings = Ie, exports.entryNodeKeys = ef, exports.envVarRegex = R, exports.errorsToString = Vl, exports.essentialShadcnComponents = _d, exports.estimateAccuracyPercentilesSchema = zx, exports.estimateAccuracyPointSchema = Lx, exports.estimateAccuracyRequestSchema = Dx, exports.estimateAccuracyResponseSchema = Fx, exports.estimateAccuracySliceSchema = Ux, exports.estimateValuesForScale = function(e2) {
47686
47693
  return Rx[e2];
47687
47694
  }, exports.evidenceLabel = mh, exports.evidenceLevelOf = ih, exports.evidenceRank = rh, exports.excelFileTypes = yt, exports.excelMimeTypes = kt, exports.excludedKeys = uc, exports.expandEmbeddedActionTokens = function(e2, t2) {
47688
47695
  if (!e2) return null != e2 ? e2 : "";
@@ -47756,7 +47763,7 @@ exports.ACCEPTED_AGENT_TRIGGER_FIRE_OUTCOMES = ["succeeded", "in_progress", "awa
47756
47763
  if (!e2) return null;
47757
47764
  var t2 = e2.trim().match(R);
47758
47765
  return t2 ? t2[1] : null;
47759
- }, exports.feedbackRatingSchema = V, exports.feedbackSchema = H, exports.feedbackTagKeySchema = K, exports.fileCitationsPermissionsSchema = vx, exports.fileConfig = zt, exports.fileConfigSchema = Ft, exports.fileSearchPermissionsSchema = gx, exports.fileSourceSchema = dc, exports.fileStrategiesSchema = pc, exports.filterValidEnvelopes = function(e2) {
47766
+ }, exports.feedbackRatingSchema = H, exports.feedbackSchema = V, exports.feedbackTagKeySchema = K, exports.fileCitationsPermissionsSchema = vx, exports.fileConfig = zt, exports.fileConfigSchema = Ft, exports.fileSearchPermissionsSchema = gx, exports.fileSourceSchema = dc, exports.fileStrategiesSchema = pc, exports.filterValidEnvelopes = function(e2) {
47760
47767
  for (var t2 = [], n2 = 0, o2 = e2; n2 < o2.length; n2++) {
47761
47768
  var r2 = o2[n2];
47762
47769
  eS(r2) && t2.push(r2);
@@ -47907,7 +47914,7 @@ exports.ACCEPTED_AGENT_TRIGGER_FIRE_OUTCOMES = ["succeeded", "in_progress", "awa
47907
47914
  return xT ? { clientPlatform: xT.platform, clientVersion: xT.version, clientOs: xT.os } : {};
47908
47915
  }, exports.getClientIdentityHeaders = kT, exports.getConfigDefaults = function() {
47909
47916
  return mc(sl);
47910
- }, exports.getEnabledEndpoints = Vl, exports.getFirstDefinedValue = ql, exports.getIdempotencyScope = function() {
47917
+ }, exports.getEnabledEndpoints = Hl, exports.getFirstDefinedValue = ql, exports.getIdempotencyScope = function() {
47911
47918
  return AT;
47912
47919
  }, exports.getModelById = function(e2) {
47913
47920
  return mA.getModelById(e2);
@@ -47943,7 +47950,7 @@ exports.ACCEPTED_AGENT_TRIGGER_FIRE_OUTCOMES = ["succeeded", "in_progress", "awa
47943
47950
  return ["-c", "user.name=".concat(e2.author.name), "-c", "user.email=".concat(e2.author.email), "-c", "committer.name=".concat(e2.committer.name), "-c", "committer.email=".concat(e2.committer.email)];
47944
47951
  }, exports.gitIdentityEnv = function(e2) {
47945
47952
  return { GIT_AUTHOR_NAME: e2.author.name, GIT_AUTHOR_EMAIL: e2.author.email, GIT_COMMITTER_NAME: e2.committer.name, GIT_COMMITTER_EMAIL: e2.committer.email };
47946
- }, exports.googleBaseSchema = Be, exports.googleGenConfigSchema = Ke, exports.googleSchema = Ge, exports.googleSettings = be, exports.gptPluginsSchema = He, exports.graphHasTaskStage = function(e2) {
47953
+ }, exports.googleBaseSchema = Be, exports.googleGenConfigSchema = Ke, exports.googleSchema = Ge, exports.googleSettings = be, exports.gptPluginsSchema = Ve, exports.graphHasTaskStage = function(e2) {
47947
47954
  return (e2 || []).some(function(e3) {
47948
47955
  return "task_stage" === (null == e3 ? void 0 : e3.type);
47949
47956
  });
@@ -47971,7 +47978,7 @@ exports.ACCEPTED_AGENT_TRIGGER_FIRE_OUTCOMES = ["succeeded", "in_progress", "awa
47971
47978
  return e3.order - t3.order || e3.label.localeCompare(t3.label, void 0, { sensitivity: "base" });
47972
47979
  });
47973
47980
  }, exports.harnessSupportsPermissionMode = function(e2, t2) {
47974
- return "string" == typeof t2 && Hd(e2).includes(t2);
47981
+ return "string" == typeof t2 && Vd(e2).includes(t2);
47975
47982
  }, exports.harnessTerminalOutputRoom = function(e2, t2) {
47976
47983
  return "user:".concat(e2, ":terminal:").concat(t2);
47977
47984
  }, exports.hasAuthTokenHeader = function() {
@@ -47992,7 +47999,8 @@ exports.ACCEPTED_AGENT_TRIGGER_FIRE_OUTCOMES = ["succeeded", "in_progress", "awa
47992
47999
  return n2 && null != t2 ? n2(t2) : null;
47993
48000
  }, exports.idempotencyKeyForWrite = PT, exports.imageDetailNumeric = le, exports.imageDetailValue = ue, exports.imageExtRegex = /\.(jpg|jpeg|png|gif|webp|heic|heif)$/i, exports.imageGenTools = Ll, exports.imageMimeTypes = St, exports.implicitAgentAssignmentAllowed = function(e2) {
47994
48001
  return "human" !== e2;
47995
- }, exports.induceFragment = function(e2, t2) {
48002
+ };
48003
+ exports.induceFragment = function(e2, t2) {
47996
48004
  for (var n2, o2, r2, a2 = new Set(t2), i2 = e2.semantic.nodes.filter(function(e3) {
47997
48005
  return a2.has(e3.key);
47998
48006
  }), s2 = new Set(i2.map(function(e3) {
@@ -48007,8 +48015,7 @@ exports.ACCEPTED_AGENT_TRIGGER_FIRE_OUTCOMES = ["succeeded", "in_progress", "awa
48007
48015
  m2 && (l2[p2.key] = { x: m2.x, y: m2.y });
48008
48016
  }
48009
48017
  return { semantic: { nodes: JSON.parse(JSON.stringify(i2)), edges: c2 }, presentation: { nodes: l2 } };
48010
- };
48011
- exports.initialModelsConfig = gl, exports.input = $u, exports.insertTemplateIntoDraft = function(e2, t2) {
48018
+ }, exports.initialModelsConfig = gl, exports.input = $u, exports.insertTemplateIntoDraft = function(e2, t2) {
48012
48019
  var n2, o2, r2, a2, i2, s2, c2, l2, u2, d2, p2, m2, f2, g2, v2, h2, y2, b2, x2, k2, I2, S2, T2 = [], E2 = null !== (n2 = t2.connect) && void 0 !== n2 ? n2 : { mode: "free" }, w2 = null !== (o2 = t2.anchorMode) && void 0 !== o2 ? o2 : "center", R2 = null !== (r2 = t2.slots) && void 0 !== r2 ? r2 : [], C2 = null !== (a2 = e2.semantic.nodes) && void 0 !== a2 ? a2 : [], P2 = (null !== (i2 = e2.semantic.edges) && void 0 !== i2 ? i2 : []).map(function(e3) {
48013
48020
  var t3;
48014
48021
  return { from: e3.from, to: e3.to, on: null !== (t3 = e3.on) && void 0 !== t3 ? t3 : "success" };
@@ -48050,10 +48057,10 @@ exports.initialModelsConfig = gl, exports.input = $u, exports.insertTemplateInto
48050
48057
  for (var j2 = new Set(C2.map(function(e3) {
48051
48058
  return e3.key;
48052
48059
  })), B2 = {}, G2 = 0, K2 = N2; G2 < K2.length; G2++) {
48053
- var V2 = K2[G2];
48054
- B2[V2.key] = ff(V2.key, j2);
48060
+ var H2 = K2[G2];
48061
+ B2[H2.key] = ff(H2.key, j2);
48055
48062
  }
48056
- for (var H2 = N2.map(function(e3) {
48063
+ for (var V2 = N2.map(function(e3) {
48057
48064
  var n3, o3 = bf(JSON.parse(JSON.stringify(null !== (n3 = e3.config) && void 0 !== n3 ? n3 : {})), e3.key, R2, t2.slotBindings), r3 = { key: B2[e3.key], type: e3.type, config: o3 };
48058
48065
  if (e3.join && (r3.join = e3.join), e3.bindings && Object.keys(e3.bindings).length) {
48059
48066
  for (var a3 = {}, i3 = 0, s3 = Object.entries(e3.bindings); i3 < s3.length; i3++) {
@@ -48150,7 +48157,7 @@ exports.initialModelsConfig = gl, exports.input = $u, exports.insertTemplateInto
48150
48157
  })(e3);
48151
48158
  return !Te2.has(t3) && (Te2.add(t3), true);
48152
48159
  });
48153
- var Ae2 = A(A([], C2, true), H2, true);
48160
+ var Ae2 = A(A([], C2, true), V2, true);
48154
48161
  if (df(Ae2.map(function(e3) {
48155
48162
  return e3.key;
48156
48163
  }), fe2)) return Sf("WORKFLOW_TEMPLATE_INSERT_CYCLE");
@@ -48169,7 +48176,7 @@ exports.initialModelsConfig = gl, exports.input = $u, exports.insertTemplateInto
48169
48176
  return aI.includes(e2);
48170
48177
  }, exports.isAgentActionAvailableInSpace = function(e2, t2) {
48171
48178
  return Ik(e2) && _k(e2, t2);
48172
- }, exports.isAgentActionRunnable = Ik, exports.isAgentAvatarPresetId = H_, exports.isAgentCategoryBrowseFilter = function(e2) {
48179
+ }, exports.isAgentActionRunnable = Ik, exports.isAgentAvatarPresetId = V_, exports.isAgentCategoryBrowseFilter = function(e2) {
48173
48180
  return xx.includes(String(e2));
48174
48181
  }, exports.isAgentFieldPortable = function(e2) {
48175
48182
  return "portable" === vk(e2);
@@ -48188,7 +48195,7 @@ exports.initialModelsConfig = gl, exports.input = $u, exports.insertTemplateInto
48188
48195
  }, exports.isCheckable = function(e2) {
48189
48196
  return Boolean((null == e2 ? void 0 : e2.check) && "manual" !== e2.check.method);
48190
48197
  }, exports.isClassifiedRunFailureCode = function(e2) {
48191
- return "string" == typeof e2 && (Bk.has(e2) || Gk.has(e2) || Kk.has(e2) || Vk.has(e2));
48198
+ return "string" == typeof e2 && (Bk.has(e2) || Gk.has(e2) || Kk.has(e2) || Hk.has(e2));
48192
48199
  }, exports.isCommitmentActorKind = Kx, exports.isCommitmentStatus = Bx, exports.isContainerId = Xm, exports.isDarkChatBackground = function(e2) {
48193
48200
  var t2, n2;
48194
48201
  if (!e2 || "default" === e2.type) return null;
@@ -48272,7 +48279,7 @@ exports.initialModelsConfig = gl, exports.input = $u, exports.insertTemplateInto
48272
48279
  return "string" == typeof e2 && Gg.includes(e2);
48273
48280
  }, exports.isSkyCodeUpstreamRoute = function(e2) {
48274
48281
  return "string" == typeof e2 && Wg.includes(e2);
48275
- }, exports.isSpaceCustomActionId = Ak, exports.isSpaceFileUri = su, exports.isSpaceGroupBy = Vy, exports.isSpaceGroupRegroupable = function(e2) {
48282
+ }, exports.isSpaceCustomActionId = Ak, exports.isSpaceFileUri = su, exports.isSpaceGroupBy = Hy, exports.isSpaceGroupRegroupable = function(e2) {
48276
48283
  var t2, n2;
48277
48284
  return null !== (n2 = null === (t2 = Gy.find(function(t3) {
48278
48285
  return t3.key === e2;
@@ -48338,7 +48345,7 @@ exports.initialModelsConfig = gl, exports.input = $u, exports.insertTemplateInto
48338
48345
  if (!t2) return [];
48339
48346
  var n2 = Od[String(e.canonicalHarnessProvider(t2))];
48340
48347
  return n2 ? A([], n2, true) : [];
48341
- }, exports.localHarnessByProvider = mp, exports.localHarnessCapabilities = Vd, exports.localHarnessProviderByEnvironment = ap, exports.localHarnessProviderBySlug = ip, exports.localRuntimeByEnvironment = up, exports.localRuntimeByProvider = dp, exports.machineHealthReasonSentence = Wp, exports.managedCliReadinessUnknownMessage = function() {
48348
+ }, exports.localHarnessByProvider = mp, exports.localHarnessCapabilities = Hd, exports.localHarnessProviderByEnvironment = ap, exports.localHarnessProviderBySlug = ip, exports.localRuntimeByEnvironment = up, exports.localRuntimeByProvider = dp, exports.machineHealthReasonSentence = Wp, exports.managedCliReadinessUnknownMessage = function() {
48342
48349
  return "Installed. This daemon cannot read this provider\u2019s credential state.";
48343
48350
  }, exports.managedProductFallbackLabel = x, exports.managedReasoningEffortsForLocalModel = Wd, exports.mapGroupToAzureConfig = function(e2) {
48344
48351
  var t2, n2, o2, r2, a2, i2, s2 = e2.groupName, c2 = e2.groupMap[s2];
@@ -48548,7 +48555,7 @@ exports.initialModelsConfig = gl, exports.input = $u, exports.insertTemplateInto
48548
48555
  var t2 = YI.safeParse(e2);
48549
48556
  return t2.success ? t2.data : null;
48550
48557
  }, exports.normalizeSeverity = Ok, exports.normalizeSpaceGroupBy = function(e2) {
48551
- return Vy(e2) ? e2 : "string" == typeof e2 && qy[e2] ? qy[e2] : "none";
48558
+ return Hy(e2) ? e2 : "string" == typeof e2 && qy[e2] ? qy[e2] : "none";
48552
48559
  }, exports.normalizeTaskOutputDeliverables = function(e2) {
48553
48560
  return null == e2 ? "" : (Array.isArray(e2) ? e2 : [e2]).slice(0, 50).map(function(e3) {
48554
48561
  return String(e3).trim();
@@ -48585,7 +48592,7 @@ exports.initialModelsConfig = gl, exports.input = $u, exports.insertTemplateInto
48585
48592
  return { functionSignatures: u2, requestBuilders: d2, zodSchemas: p2 };
48586
48593
  }, exports.orderEndpointsConfig = function(e2) {
48587
48594
  if (!e2) return {};
48588
- var t2 = Vl(), n2 = Object.keys(e2), o2 = t2.indexOf(exports.EModelEndpoint.custom);
48595
+ var t2 = Hl(), n2 = Object.keys(e2), o2 = t2.indexOf(exports.EModelEndpoint.custom);
48589
48596
  return n2.reduce(function(n3, r2) {
48590
48597
  var a2 = !(r2 in exports.EModelEndpoint);
48591
48598
  if (!t2.includes(r2) && !a2) return n3;
@@ -48823,16 +48830,16 @@ exports.initialModelsConfig = gl, exports.input = $u, exports.insertTemplateInto
48823
48830
  }
48824
48831
  var K2 = Array.isArray(w2) ? w2 : null !== (p2 = null == w2 ? void 0 : w2.data) && void 0 !== p2 ? p2 : [];
48825
48832
  if (!Array.isArray(K2)) return [];
48826
- var V2 = /* @__PURE__ */ new Map(), H2 = null !== (h2 = null !== (f2 = null === (m2 = null == T2 ? void 0 : T2.includes) || void 0 === m2 ? void 0 : m2.users) && void 0 !== f2 ? f2 : null === (v2 = null === (g2 = null == T2 ? void 0 : T2.response_data) || void 0 === g2 ? void 0 : g2.includes) || void 0 === v2 ? void 0 : v2.users) && void 0 !== h2 ? h2 : [];
48827
- if (Array.isArray(H2)) for (var q2 = 0, Y2 = H2; q2 < Y2.length; q2++) {
48833
+ var H2 = /* @__PURE__ */ new Map(), V2 = null !== (h2 = null !== (f2 = null === (m2 = null == T2 ? void 0 : T2.includes) || void 0 === m2 ? void 0 : m2.users) && void 0 !== f2 ? f2 : null === (v2 = null === (g2 = null == T2 ? void 0 : T2.response_data) || void 0 === g2 ? void 0 : g2.includes) || void 0 === v2 ? void 0 : v2.users) && void 0 !== h2 ? h2 : [];
48834
+ if (Array.isArray(V2)) for (var q2 = 0, Y2 = V2; q2 < Y2.length; q2++) {
48828
48835
  var X2;
48829
- (X2 = Y2[q2]).id && X2.username && V2.set(X2.id, X2.username);
48836
+ (X2 = Y2[q2]).id && X2.username && H2.set(X2.id, X2.username);
48830
48837
  }
48831
48838
  for (var Q2 = [], Z2 = /* @__PURE__ */ new Set(), J2 = 0, $2 = K2; J2 < $2.length; J2++) {
48832
48839
  var ee2, te2;
48833
48840
  if ((te2 = null === (y2 = (ee2 = $2[J2]).id) || void 0 === y2 ? void 0 : y2.toString()) && !Z2.has(te2)) {
48834
48841
  Z2.add(te2);
48835
- G2 = null !== (k2 = null !== (x2 = null !== (b2 = ee2.username) && void 0 !== b2 ? b2 : ee2.author_username) && void 0 !== x2 ? x2 : V2.get(ee2.author_id)) && void 0 !== k2 ? k2 : null === (_2 = ee2.user) || void 0 === _2 ? void 0 : _2.screen_name;
48842
+ G2 = null !== (k2 = null !== (x2 = null !== (b2 = ee2.username) && void 0 !== b2 ? b2 : ee2.author_username) && void 0 !== x2 ? x2 : H2.get(ee2.author_id)) && void 0 !== k2 ? k2 : null === (_2 = ee2.user) || void 0 === _2 ? void 0 : _2.screen_name;
48836
48843
  Q2.push({ tweetId: te2, authorHandle: G2, url: G2 ? "https://x.com/".concat(G2, "/status/").concat(te2) : "https://x.com/i/status/".concat(te2), previewText: null !== (I2 = ee2.text) && void 0 !== I2 ? I2 : ee2.full_text });
48837
48844
  }
48838
48845
  }
@@ -48883,9 +48890,9 @@ exports.initialModelsConfig = gl, exports.input = $u, exports.insertTemplateInto
48883
48890
  var n2 = String(e.canonicalHarnessProvider(t2)).toLowerCase();
48884
48891
  if (Xd.has(n2)) return "claude";
48885
48892
  if ("codex" === n2) return "codex";
48886
- var o2 = Vd(n2);
48893
+ var o2 = Hd(n2);
48887
48894
  return o2 ? o2.permissionModes.includes("default") ? "interactive" : "one_shot" : "generic";
48888
- }, exports.permissionModesForHarness = Hd, exports.permissionsSchema = hx, exports.phraseNotDoneReason = wh, exports.planInsertion = function(e2, t2) {
48895
+ }, exports.permissionModesForHarness = Vd, exports.permissionsSchema = hx, exports.phraseNotDoneReason = wh, exports.planInsertion = function(e2, t2) {
48889
48896
  var n2, o2, r2, a2, i2, s2, c2, l2, u2, d2, p2, m2, f2 = null !== (n2 = t2.connect) && void 0 !== n2 ? n2 : { mode: "free" }, g2 = null !== (o2 = t2.anchorMode) && void 0 !== o2 ? o2 : "center", v2 = null !== (i2 = null === (a2 = null === (r2 = t2.body) || void 0 === r2 ? void 0 : r2.semantic) || void 0 === a2 ? void 0 : a2.nodes) && void 0 !== i2 ? i2 : [], h2 = (null !== (l2 = null === (c2 = null === (s2 = t2.body) || void 0 === s2 ? void 0 : s2.semantic) || void 0 === c2 ? void 0 : c2.edges) && void 0 !== l2 ? l2 : []).map(function(e3) {
48890
48897
  var t3;
48891
48898
  return { from: e3.from, to: e3.to, on: null !== (t3 = e3.on) && void 0 !== t3 ? t3 : "success" };
@@ -48901,7 +48908,7 @@ exports.initialModelsConfig = gl, exports.input = $u, exports.insertTemplateInto
48901
48908
  if ("splice" === f2.mode) {
48902
48909
  if (!kf(t2.ports)) return b2("WORKFLOW_TEMPLATE_NOT_SPLICE_ELIGIBLE");
48903
48910
  if (!k2.some(function(e3) {
48904
- return Vf(e3, f2.edge);
48911
+ return Hf(e3, f2.edge);
48905
48912
  })) return b2("WORKFLOW_TEMPLATE_SPLICE_EDGE_MISSING");
48906
48913
  }
48907
48914
  if ("after" === f2.mode && !x2.some(function(e3) {
@@ -48947,12 +48954,12 @@ exports.initialModelsConfig = gl, exports.input = $u, exports.insertTemplateInto
48947
48954
  return I2.get(e3);
48948
48955
  }).filter(Boolean), j2 = t2.ports.exit.map(function(e3) {
48949
48956
  return I2.get(e3);
48950
- }).filter(Boolean), B2 = [], G2 = 0, K2 = A([], k2, true), V2 = A(A([], x2.map(function(e3) {
48957
+ }).filter(Boolean), B2 = [], G2 = 0, K2 = A([], k2, true), H2 = A(A([], x2.map(function(e3) {
48951
48958
  return e3.key;
48952
48959
  }), true), D2.map(function(e3) {
48953
48960
  return e3.ghostKey;
48954
- }), true), H2 = 0, q2 = F2; H2 < q2.length; H2++) {
48955
- var Y2 = q2[H2];
48961
+ }), true), V2 = 0, q2 = F2; V2 < q2.length; V2++) {
48962
+ var Y2 = q2[V2];
48956
48963
  K2.push(Y2);
48957
48964
  }
48958
48965
  if ("after" === f2.mode) for (var X2 = 0, Q2 = W2; X2 < Q2.length; X2++) {
@@ -48964,7 +48971,7 @@ exports.initialModelsConfig = gl, exports.input = $u, exports.insertTemplateInto
48964
48971
  var J2 = j2[0];
48965
48972
  if (!Z2 || !J2) return b2("WORKFLOW_TEMPLATE_NOT_SPLICE_ELIGIBLE");
48966
48973
  var $2 = K2.findIndex(function(e3) {
48967
- return Vf(e3, f2.edge);
48974
+ return Hf(e3, f2.edge);
48968
48975
  });
48969
48976
  $2 >= 0 && K2.splice($2, 1), K2.push({ from: f2.edge.from, to: Z2, on: f2.edge.on }), K2.push({ from: J2, to: f2.edge.to, on: "success" }), G2 = P2 + 60, B2 = Array.from((function(e3, t3) {
48970
48977
  for (var n3 = /* @__PURE__ */ new Map(), o3 = 0, r3 = t3; o3 < r3.length; o3++) {
@@ -48984,7 +48991,7 @@ exports.initialModelsConfig = gl, exports.input = $u, exports.insertTemplateInto
48984
48991
  return !e3.startsWith(Kf);
48985
48992
  });
48986
48993
  }
48987
- return df(V2, K2) ? b2("WORKFLOW_TEMPLATE_INSERT_CYCLE") : { ghostNodes: D2, ghostEdges: F2, entryGhostKeys: W2, exitGhostKeys: j2, shiftedNodeKeys: B2, shiftBy: G2, rejection: null };
48994
+ return df(H2, K2) ? b2("WORKFLOW_TEMPLATE_INSERT_CYCLE") : { ghostNodes: D2, ghostEdges: F2, entryGhostKeys: W2, exitGhostKeys: j2, shiftedNodeKeys: B2, shiftBy: G2, rejection: null };
48988
48995
  }, exports.planSupportsAllowanceService = function(e2, t2) {
48989
48996
  return e2.allowanceServices.includes(t2);
48990
48997
  }, exports.popover = rd, exports.portfolioTotals = function(e2, t2) {
@@ -49141,13 +49148,13 @@ exports.initialModelsConfig = gl, exports.input = $u, exports.insertTemplateInto
49141
49148
  return r2 = r2.replace(/{{iso_datetime}}/gi, l2), o2 && o2.name && (r2 = r2.replace(/{{current_user}}/gi, o2.name)), r2;
49142
49149
  }, exports.request = nA, exports.requestFingerprint = RT, exports.requireSkyCodePlan = function(e2) {
49143
49150
  if (!qg(e2)) throw new RangeError("Unknown Sky Code plan: ".concat(String(e2)));
49144
- return Hg[e2];
49151
+ return Vg[e2];
49145
49152
  }, exports.requiredAuthorityFor = dh, exports.requiredEvidenceFor = uh, exports.resolveAgentAvatarDefaultPolicy = function(e2) {
49146
49153
  if (!e2 || "object" != typeof e2) return Q_;
49147
49154
  var t2 = e2;
49148
49155
  if ("fixed" === t2.mode) {
49149
49156
  var n2 = t2.ref;
49150
- return n2 && "object" == typeof n2 && (("preset" !== n2.type || H_(n2.id)) && ("preset" === n2.type || "asset" === n2.type || "image" === n2.type)) ? { mode: "fixed", ref: n2 } : Q_;
49157
+ return n2 && "object" == typeof n2 && (("preset" !== n2.type || V_(n2.id)) && ("preset" === n2.type || "asset" === n2.type || "image" === n2.type)) ? { mode: "fixed", ref: n2 } : Q_;
49151
49158
  }
49152
49159
  return "random" === t2.mode ? "all" === t2.scope || "mine" === t2.scope ? { mode: "random", scope: t2.scope } : "category" === t2.scope && G_(t2.category) ? { mode: "random", scope: "category", category: t2.category } : Q_ : Q_;
49153
49160
  }, exports.resolveAgentAvatarRef = function(e2) {
@@ -49159,7 +49166,7 @@ exports.initialModelsConfig = gl, exports.input = $u, exports.insertTemplateInto
49159
49166
  case "default":
49160
49167
  return X_;
49161
49168
  case "preset":
49162
- return H_(t2.id) ? { type: "preset", id: t2.id } : X_;
49169
+ return V_(t2.id) ? { type: "preset", id: t2.id } : X_;
49163
49170
  case "asset":
49164
49171
  return "string" == typeof t2.id && t2.id.trim() ? { type: "asset", id: t2.id } : X_;
49165
49172
  case "image":
@@ -49224,7 +49231,7 @@ exports.initialModelsConfig = gl, exports.input = $u, exports.insertTemplateInto
49224
49231
  }, exports.resolveLocalCliModel = function(t2, n2) {
49225
49232
  return t2 && n2 ? e.canonicalHarnessProvider(t2.provider) !== e.canonicalHarnessProvider(n2) ? null : Fd(n2, t2.model) : null;
49226
49233
  }, exports.resolveManagedContent = function(e2) {
49227
- return (null == e2 ? void 0 : e2.kind) && e2.id ? Vv.includes(e2.kind) ? { state: "available", kind: e2.kind, id: e2.id } : { state: "unsupported", kind: e2.kind } : { state: "none" };
49234
+ return (null == e2 ? void 0 : e2.kind) && e2.id ? Hv.includes(e2.kind) ? { state: "available", kind: e2.kind, id: e2.id } : { state: "unsupported", kind: e2.kind } : { state: "none" };
49228
49235
  }, exports.resolveMessageFailure = function(e2) {
49229
49236
  if (!e2) return null;
49230
49237
  if (true !== e2.error && "error" !== e2.finish_reason) return null;
@@ -49269,8 +49276,8 @@ exports.initialModelsConfig = gl, exports.input = $u, exports.insertTemplateInto
49269
49276
  for (var i2 = [], s2 = 0, c2 = e2; s2 < c2.length; s2++) {
49270
49277
  var l2 = c2[s2];
49271
49278
  if (null == l2 ? void 0 : l2.key) {
49272
- for (var u2 = Km(l2), d2 = null !== (r2 = null === (o2 = wm[l2.type]) || void 0 === o2 ? void 0 : o2.label) && void 0 !== r2 ? r2 : l2.type, p2 = null, m2 = 0, f2 = [["title", u2, 100], ["key", l2.key, 60], ["type", d2, 30], ["config", Vm(l2), 10]]; m2 < f2.length; m2++) {
49273
- var g2 = f2[m2], v2 = g2[0], h2 = g2[1], y2 = Hm(h2, a2, g2[2]);
49279
+ for (var u2 = Km(l2), d2 = null !== (r2 = null === (o2 = wm[l2.type]) || void 0 === o2 ? void 0 : o2.label) && void 0 !== r2 ? r2 : l2.type, p2 = null, m2 = 0, f2 = [["title", u2, 100], ["key", l2.key, 60], ["type", d2, 30], ["config", Hm(l2), 10]]; m2 < f2.length; m2++) {
49280
+ var g2 = f2[m2], v2 = g2[0], h2 = g2[1], y2 = Vm(h2, a2, g2[2]);
49274
49281
  y2 && (!p2 || y2 > p2.score) && (p2 = { nodeKey: l2.key, score: y2, field: v2, text: h2 });
49275
49282
  }
49276
49283
  p2 && i2.push(p2);
@@ -49309,7 +49316,7 @@ exports.initialModelsConfig = gl, exports.input = $u, exports.insertTemplateInto
49309
49316
  return e3.id === t2 ? _(_({}, e3), { collapsed: n2 }) : e3;
49310
49317
  }) }) });
49311
49318
  }, exports.setEstablishedSessionProbe = function(e2) {
49312
- HT = e2;
49319
+ VT = e2;
49313
49320
  }, exports.setHttpAdapter = function(e2) {
49314
49321
  OT = e2;
49315
49322
  }, exports.setIdempotencyScope = function(e2) {
@@ -49338,7 +49345,7 @@ exports.initialModelsConfig = gl, exports.input = $u, exports.insertTemplateInto
49338
49345
  }, exports.skeleton = ld, exports.skyCodeAccessDisposition = function(e2) {
49339
49346
  return e2.hasActiveEntitlement ? { allowed: true, reason: "active" === e2.status || "trialing" === e2.status ? "active_entitlement" : "paid_through_entitlement" } : "incomplete" === e2.status ? { allowed: false, reason: "payment_incomplete" } : "active" === e2.status || "trialing" === e2.status || "past_due" === e2.status || "canceled" === e2.status ? { allowed: false, reason: "missing_entitlement" } : { allowed: false, reason: "subscription_unknown" };
49340
49347
  }, exports.skyCodePlanForRead = function(e2) {
49341
- return Hg[qg(e2) ? e2 : "free"];
49348
+ return Vg[qg(e2) ? e2 : "free"];
49342
49349
  }, exports.slider = ud, exports.snapToGrid = zm, exports.spaceActivityBand = Wy, exports.spaceAttentionScore = function(e2, t2, n2) {
49343
49350
  var o2, r2;
49344
49351
  if (void 0 === n2 && (n2 = Date.now()), e2.archivedAt || "cancelled" === e2.status || !t2) return 0;
@@ -49358,7 +49365,7 @@ exports.initialModelsConfig = gl, exports.input = $u, exports.insertTemplateInto
49358
49365
  return null !== (n2 = null === (t2 = Gy.find(function(t3) {
49359
49366
  return t3.key === e2;
49360
49367
  })) || void 0 === t2 ? void 0 : t2.needs) && void 0 !== n2 ? n2 : "none";
49361
- }, exports.spaceGroupBySchema = Hy, exports.spaceIdFromGroupChatTags = function(e2) {
49368
+ }, exports.spaceGroupBySchema = Vy, exports.spaceIdFromGroupChatTags = function(e2) {
49362
49369
  if (!dm(e2)) return null;
49363
49370
  for (var t2 = 0, n2 = e2; t2 < n2.length; t2++) {
49364
49371
  var o2 = n2[t2];
@@ -49623,7 +49630,7 @@ exports.initialModelsConfig = gl, exports.input = $u, exports.insertTemplateInto
49623
49630
  }
49624
49631
  }
49625
49632
  }
49626
- else a2 = false, l2.push(Hl(u2.error.issues));
49633
+ else a2 = false, l2.push(Vl(u2.error.issues));
49627
49634
  return { isValid: a2, modelNames: i2, modelGroupMap: s2, groupMap: c2, errors: l2 };
49628
49635
  }, exports.validateEmbedInput = function(e2) {
49629
49636
  if (null == e2) return { embeds: [], rejections: [] };