@sentry/junior 0.234.0 → 0.235.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/dist/{agent-hooks-BcH6E48y.js → agent-hooks-DS7k0ZWY.js} +17 -10
  2. package/dist/{agent-runner-DUkGlK89.js → agent-runner-BlDI1zV2.js} +150 -64
  3. package/dist/api/schema.d.ts +66 -1
  4. package/dist/api/schema.js +3 -3
  5. package/dist/api.js +138 -54
  6. package/dist/{app-xk2-Id1T.d.ts → app-pGsR__aT.d.ts} +1 -1
  7. package/dist/app.d.ts +1 -1
  8. package/dist/app.js +23 -21
  9. package/dist/{briefs-lyAQbDxJ.js → briefs-C3jhszOz.js} +4 -4
  10. package/dist/{catalog-runtime-BSgsPVnr.js → catalog-runtime-B9u_3-GW.js} +1 -1
  11. package/dist/{checkpoint-BNfXlq_1.js → checkpoint-DLcJ5mKL.js} +6 -6
  12. package/dist/cli/chat.js +13 -13
  13. package/dist/cli/check.js +3 -3
  14. package/dist/cli/main.js +1 -1
  15. package/dist/cli/plugins.js +3 -3
  16. package/dist/cli/snapshot-create.js +3 -3
  17. package/dist/cli/upgrade.js +3 -3
  18. package/dist/{client-BX5lJRqW.js → client-BSnNHO0R.js} +2 -2
  19. package/dist/{config-DuCzUoCo.js → config-Bmw4xTPK.js} +2 -2
  20. package/dist/{conversation-CPjHYOV5.js → conversation-C_aYrISI.js} +1 -0
  21. package/dist/{conversation-privacy-CSxvdSoV.js → conversation-privacy-BV2dtba2.js} +1 -1
  22. package/dist/{credential-sync-BO4DfH9a.js → credential-sync-CukzQJ1x.js} +13 -13
  23. package/dist/{executor--jWf-Nnm.js → executor-B9ksWZCv.js} +33 -1
  24. package/dist/{images-BaL19wFC.js → images-CEXcQ0Id.js} +3 -3
  25. package/dist/instrumentation.js +2 -2
  26. package/dist/{job-queue-cwHVOwVZ.js → job-queue-CY1L2YRn.js} +1 -1
  27. package/dist/{logging-Cox1Mgcv.js → logging-F--48Q7Q.js} +1 -1
  28. package/dist/nitro.d.ts +1 -1
  29. package/dist/nitro.js +3 -3
  30. package/dist/{oauth-authorization-CC8a1JKP.js → oauth-authorization-LasSG3Qc.js} +1 -1
  31. package/dist/{oauth-callback-server-Z7QSt416.js → oauth-callback-server-D07ZzVMs.js} +2 -2
  32. package/dist/{pending-auth-DQhC3eSR.js → pending-auth-DrG9Mkje.js} +1 -1
  33. package/dist/{profile-BdApelHS.js → profile-DZ2DUdd1.js} +4 -4
  34. package/dist/{prompt-3D0sSbTC.js → prompt-BM_5mAU3.js} +1 -1
  35. package/dist/{registry-DiY6B8CN.js → registry-_JLY0x7b.js} +1 -1
  36. package/dist/{resolve-VpJoiDpc.js → resolve-Cuoj3MML.js} +2 -2
  37. package/dist/{runner-BIMegnPE.js → runner-BfelmbMv.js} +9 -9
  38. package/dist/{sandbox-egress-signals-Cbtxe492.js → sandbox-egress-signals-D5QUIO7Z.js} +1 -1
  39. package/dist/{schema-CxwnlTDN.js → schema-CrdDxGbx.js} +24 -2
  40. package/dist/{skills-WttpPJUy.js → skills-DAegjk5Y.js} +2 -2
  41. package/dist/{spawn-DhfMKt4y.js → spawn-DCfV7zGK.js} +2 -2
  42. package/dist/{task-queue-CZqUNJD0.js → task-queue-GcuFtzor.js} +3 -3
  43. package/dist/{task-runner-BZaqoUCT.js → task-runner-B0-P_3aq.js} +9 -9
  44. package/dist/{thread-state-8tXZhu0y.js → thread-state-TezcEhuH.js} +5 -5
  45. package/dist/{turn-failure-response-DFJ9L9NQ.js → turn-failure-response-Drhj_-t4.js} +8 -8
  46. package/dist/{turn-lifecycle-WbpTUQ_r.js → turn-lifecycle-BpIW3zOx.js} +1 -1
  47. package/dist/{turn-session-routing--EhI76rH.js → turn-session-routing-Dg8GDgyc.js} +1 -1
  48. package/dist/{validation-0F9IgG3b.js → validation-DAkYeKDT.js} +1 -1
  49. package/dist/{version-A7-RRBOE.js → version-9CB4Z-J4.js} +1 -1
  50. package/dist/version.js +1 -1
  51. package/dist/{web-authorization-BJggXofy.js → web-authorization-Cu33voNg.js} +6 -6
  52. package/dist/{web-input-B-siN5Dr.js → web-input-B3k0J7WB.js} +22 -22
  53. package/dist/{work-CNc0ejGG.js → work-PmkvcY9l.js} +7 -7
  54. package/dist/{worker-BHbqpUAu.js → worker-COcaq2J6.js} +5 -5
  55. package/package.json +5 -5
@@ -1,16 +1,16 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-B4FMCO8f.js";
2
- import { a as embedTexts, r as completeObject } from "./client-BX5lJRqW.js";
3
- import { F as normalizeIdentityEmail, I as isRecord$2, a as extractGenAiUsageSummary, d as logException, f as logInfo, p as logWarn, v as setSpanAttributes, w as withSpan, y as setSpanStatus } from "./logging-Cox1Mgcv.js";
2
+ import { a as embedTexts, r as completeObject } from "./client-BSnNHO0R.js";
3
+ import { F as normalizeIdentityEmail, I as isRecord$2, a as extractGenAiUsageSummary, d as logException, f as logInfo, p as logWarn, v as setSpanAttributes, w as withSpan, y as setSpanStatus } from "./logging-F--48Q7Q.js";
4
4
  import { a as getClient$1 } from "./sentry-CgWZM_kV.js";
5
- import { t as canExposeConversationPayload } from "./conversation-privacy-CSxvdSoV.js";
6
- import { a as getChatConfig, n as botConfig, s as getSlackBotToken } from "./config-DuCzUoCo.js";
5
+ import { t as canExposeConversationPayload } from "./conversation-privacy-BV2dtba2.js";
6
+ import { a as getChatConfig, n as botConfig, s as getSlackBotToken } from "./config-Bmw4xTPK.js";
7
7
  import { r as defaultModelId } from "./model-profile-BwU8mqwD.js";
8
8
  import { b as parseSlackMessageTs, c as isActorUserId, h as parseSlackTeamId, m as parseSlackChannelReferenceId, u as parseActorUserId } from "./context-0Et9iVSB.js";
9
9
  import { n as juniorDestinations } from "./destinations-BeBiJeEM.js";
10
- import { C as juniorCodeRepositories, D as juniorIdentities, E as juniorConversations, O as juniorUsers, S as juniorCodeChanges, T as conversationReadColumns, _ as CONVERSATION_METRICS, g as juniorConversationBriefs, h as juniorConversationBindings, i as juniorWorkspaces, m as juniorConversationParticipants, n as juniorSnapshots, r as juniorWorkspaceRepos, t as createJuniorSqlExecutor, v as juniorConversationMetrics, w as juniorAttachments, x as juniorConversationAnnotations, y as juniorConversationEvents } from "./executor--jWf-Nnm.js";
11
- import { $ as encodeHistoryPayload, C as conversationReportEventSchema, H as readMessageCardRefs, L as conversationBriefSchema, Q as newConversationEventSchema, R as parseBriefInput, X as decodeStoredConversationEvent, Z as historyReplacementSchema, it as usageSchema, j as readMessageAttachments, q as conversationEventDataSchema } from "./conversation-CPjHYOV5.js";
12
- import { C as getDefaultRedisStateAdapterFor, N as SANDBOX_WORKSPACE_ROOT, k as sleep$1, l as isSandboxMissingError, n as hash, v as getVercelSandboxCredentials, w as getStateAdapter, x as runNonInteractiveCommand } from "./profile-BdApelHS.js";
13
- import { n as briefEntriesFromReportEvents, s as generateBrief, t as BRIEF_PROMPT } from "./prompt-3D0sSbTC.js";
10
+ import { C as juniorCodeRepositories, D as juniorIdentities, E as juniorConversations, O as juniorUsers, S as juniorCodeChanges, T as conversationReadColumns, _ as CONVERSATION_METRICS, g as juniorConversationBriefs, h as juniorConversationBindings, i as juniorWorkspaces, m as juniorConversationParticipants, n as juniorSnapshots, r as juniorWorkspaceRepos, t as createJuniorSqlExecutor, v as juniorConversationMetrics, w as juniorAttachments, x as juniorConversationAnnotations, y as juniorConversationEvents } from "./executor-B9ksWZCv.js";
11
+ import { $ as encodeHistoryPayload, C as conversationReportEventSchema, H as readMessageCardRefs, L as conversationBriefSchema, Q as newConversationEventSchema, R as parseBriefInput, X as decodeStoredConversationEvent, Z as historyReplacementSchema, it as usageSchema, j as readMessageAttachments, q as conversationEventDataSchema } from "./conversation-C_aYrISI.js";
12
+ import { C as getDefaultRedisStateAdapterFor, N as SANDBOX_WORKSPACE_ROOT, k as sleep$1, l as isSandboxMissingError, n as hash, v as getVercelSandboxCredentials, w as getStateAdapter, x as runNonInteractiveCommand } from "./profile-DZ2DUdd1.js";
13
+ import { n as briefEntriesFromReportEvents, s as generateBrief, t as BRIEF_PROMPT } from "./prompt-BM_5mAU3.js";
14
14
  import { AsyncLocalStorage } from "node:async_hooks";
15
15
  import { z } from "zod";
16
16
  import { createHash, createHmac, randomUUID, timingSafeEqual } from "node:crypto";
@@ -4585,9 +4585,16 @@ async function listWorkspaces(db) {
4585
4585
  }
4586
4586
  /** Find Workspace names that include one provider repository. */
4587
4587
  async function listWorkspaceNamesByRepository(db, input) {
4588
+ return (await listWorkspacesByRepository(db, input)).map((workspace) => workspace.name);
4589
+ }
4590
+ /** Find the Workspaces, by id and name, that include one provider repository. */
4591
+ async function listWorkspacesByRepository(db, input) {
4588
4592
  const provider = input.provider.trim().toLowerCase();
4589
4593
  const repo = input.repo.trim();
4590
- return (await db.select({ name: juniorWorkspaces.name }).from(juniorWorkspaceRepos).innerJoin(juniorWorkspaces, eq(juniorWorkspaces.id, juniorWorkspaceRepos.workspaceId)).where(and(eq(juniorWorkspaceRepos.provider, provider), sql`lower(${juniorWorkspaceRepos.repo}) = lower(${repo})`)).orderBy(asc(juniorWorkspaces.name))).map((row) => row.name);
4594
+ return await db.select({
4595
+ id: juniorWorkspaces.id,
4596
+ name: juniorWorkspaces.name
4597
+ }).from(juniorWorkspaceRepos).innerJoin(juniorWorkspaces, eq(juniorWorkspaces.id, juniorWorkspaceRepos.workspaceId)).where(and(eq(juniorWorkspaceRepos.provider, provider), sql`lower(${juniorWorkspaceRepos.repo}) = lower(${repo})`)).orderBy(asc(juniorWorkspaces.name));
4591
4598
  }
4592
4599
  /** Resolve one Workspace recipe by name. */
4593
4600
  async function getWorkspaceByName(db, name) {
@@ -5736,4 +5743,4 @@ function createPluginHookRunner(input = {}) {
5736
5743
  };
5737
5744
  }
5738
5745
  //#endregion
5739
- export { resolveViewerUser as $, getConversationStore as $t, tryWorkspaceRepoCheckoutPath as A, conversationNotArchivedForEmail as At, downloadPrivateSlackFile as B, recordSlackAttachment as Bt, invalidateReadySnapshot as C, createPluginLogger as Ct, SANDBOX_RUNTIME as D, conversationArchivedForUser as Dt, setWorkspaceSnapshotBuild as E, conversationArchivedForEmail as Et, bindSlackDirectCredentialSubject as F, readConversationEventPage as Ft, isDmChannel as G, listConversationAnnotationsById as Gt, getHeaderString as H, saveObjectAnnotations as Ht, verifyEventAutomationCredentialSubject as I, buildSentryConversationUrl as It, withSlackRetries as J, authenticationLinkedEvent as Jt, normalizeSlackConversationId as K, JUNIOR_NATIVE_EVENT_NAMESPACE as Kt, verifyScheduledAutomationCredentialSubject as L, getSlackFileId as Lt, resolveChannelCapabilities as M, viewerConversationMembership as Mt, bindEventAutomationCredentialSubject as N, createPluginConversationEvents as Nt, deleteWorkspaceSnapshotBuilders as O, conversationHasParticipantEmail as Ot, bindScheduledAutomationCredentialSubject as P, readLatestConversationBrief as Pt, readActorIdentity as Q, getConversationMessageSearchStore as Qt, verifySlackDirectCredentialSubject as R, matchSlackAttachments as Rt, WorkspaceValidationError as S, createPluginModel as St, setWorkspaceSnapshot as T, conversationArchiveTimes as Tt, getSlackClient as U, createPluginAnnotations as Ut, getFilePermalink as V, resolveRootVisibility as Vt, isConversationScopedChannel as W, listConversationAnnotations as Wt, runWithWorkspaceTeamId as X, db_exports as Xt, getWorkspaceTeamId as Y, authenticationUnlinkedEvent as Yt, findUserByEmail as Z, getConversationEventStore as Zt, deleteWorkspace as _, createSlackDestination as _n, getDashboardObjectIconLink as _t, getPluginRoutes as a, locationFromRow as an, STOP_WATCHING_TOOL_NAME as at, listWorkspaces as b, sameDestination as bn, createPluginState as bt, getPluginTools as c, addAgentTurnUsage as cn, collectEventMatchKeys as ct, setPlugins as d, agentTurnUsageSchema as dn, deliverWatch as dt, getDb as en, updateViewerDisplayName as et, validatePlugins as f, hasAgentTurnUsage as fn, findMatchingWatches as ft, createWorkspace as g, upsertLinkedIdentity as gn, getDashboardConversationLink as gt, setBriefsConfig as h, upsertIdentity as hn, JUNIOR_THREAD_STATE_TTL_MS as ht, getPluginApiRoutes as i, withConversationMutationLock as in, RESOURCE_WATCH_TOOL_SOURCE as it, workspaceRepoCheckoutPath as j, conversationNotArchivedForUser as jt, getWorkspaceSnapshotBuilder as k, conversationHasParticipantUser as kt, getPluginUserPromptContributions as l, agentTurnCostUsd as ln, createTimerWatch as lt, registration_exports as m, deleteProviderIdentityForSlackUser as mn, takeDueTimerWatches as mt, applyPluginFormatMarkdown as n, createSqlConversationEventStore as nn, RESOURCE_SUBSCRIPTION_DEFAULT_TTL_MS as nt, getPluginSlackConversationLink as o, bindProviderConversation as on, cancelSubscriptions as ot, coreTaskRegistrations as p, resolveRootConversationId as pn, listWatches as pt, runWithSlackInstallationToken as q, agentsInstructionsUpdatedEvent as qt, createPluginHookRunner as r, withConversationEventLock as rn, RESOURCE_SUBSCRIPTION_MAX_TTL_MS as rt, getPluginSystemPromptContributions as s, parseSessionSource as sn, cancelWatch as st, agent_hooks_exports as t, getSqlExecutor as tn, getSlackToolContext as tt, getPlugins as u, agentTurnTotalTokens as un, createWatch as ut, getWorkspace as v, parseDestination as vn, getDashboardTaskLink as vt, loadSnapshotsForProfile as w, readConversationAccessFromSql as wt, updateWorkspace as x, createPluginEmbedder as xt, getWorkspaceByName as y, requireSlackDestination as yn, setDashboardConversationLinkOptions as yt, SlackActionError as z, readAttachmentVisionSummary as zt };
5746
+ export { readActorIdentity as $, getConversationMessageSearchStore as $t, getWorkspaceSnapshotBuilder as A, conversationHasParticipantUser as At, SlackActionError as B, readAttachmentVisionSummary as Bt, WorkspaceValidationError as C, createPluginModel as Ct, setWorkspaceSnapshotBuild as D, conversationArchivedForEmail as Dt, setWorkspaceSnapshot as E, conversationArchiveTimes as Et, bindScheduledAutomationCredentialSubject as F, readLatestConversationBrief as Ft, isConversationScopedChannel as G, listConversationAnnotations as Gt, getFilePermalink as H, resolveRootVisibility as Ht, bindSlackDirectCredentialSubject as I, readConversationEventPage as It, runWithSlackInstallationToken as J, agentsInstructionsUpdatedEvent as Jt, isDmChannel as K, listConversationAnnotationsById as Kt, verifyEventAutomationCredentialSubject as L, buildSentryConversationUrl as Lt, workspaceRepoCheckoutPath as M, conversationNotArchivedForUser as Mt, resolveChannelCapabilities as N, viewerConversationMembership as Nt, SANDBOX_RUNTIME as O, conversationArchivedForUser as Ot, bindEventAutomationCredentialSubject as P, createPluginConversationEvents as Pt, findUserByEmail as Q, getConversationEventStore as Qt, verifyScheduledAutomationCredentialSubject as R, getSlackFileId as Rt, updateWorkspace as S, createPluginEmbedder as St, loadSnapshotsForProfile as T, readConversationAccessFromSql as Tt, getHeaderString as U, saveObjectAnnotations as Ut, downloadPrivateSlackFile as V, recordSlackAttachment as Vt, getSlackClient as W, createPluginAnnotations as Wt, getWorkspaceTeamId as X, authenticationUnlinkedEvent as Xt, withSlackRetries as Y, authenticationLinkedEvent as Yt, runWithWorkspaceTeamId as Z, db_exports as Zt, deleteWorkspace as _, upsertLinkedIdentity as _n, getDashboardConversationLink as _t, getPluginRoutes as a, withConversationMutationLock as an, RESOURCE_WATCH_TOOL_SOURCE as at, listWorkspaces as b, requireSlackDestination as bn, setDashboardConversationLinkOptions as bt, getPluginTools as c, parseSessionSource as cn, cancelWatch as ct, setPlugins as d, agentTurnTotalTokens as dn, createWatch as dt, getConversationStore as en, resolveViewerUser as et, validatePlugins as f, agentTurnUsageSchema as fn, deliverWatch as ft, createWorkspace as g, upsertIdentity as gn, JUNIOR_THREAD_STATE_TTL_MS as gt, setBriefsConfig as h, deleteProviderIdentityForSlackUser as hn, takeDueTimerWatches as ht, getPluginApiRoutes as i, withConversationEventLock as in, RESOURCE_SUBSCRIPTION_MAX_TTL_MS as it, tryWorkspaceRepoCheckoutPath as j, conversationNotArchivedForEmail as jt, deleteWorkspaceSnapshotBuilders as k, conversationHasParticipantEmail as kt, getPluginUserPromptContributions as l, addAgentTurnUsage as ln, collectEventMatchKeys as lt, registration_exports as m, resolveRootConversationId as mn, listWatches as mt, applyPluginFormatMarkdown as n, getSqlExecutor as nn, getSlackToolContext as nt, getPluginSlackConversationLink as o, locationFromRow as on, STOP_WATCHING_TOOL_NAME as ot, coreTaskRegistrations as p, hasAgentTurnUsage as pn, findMatchingWatches as pt, normalizeSlackConversationId as q, JUNIOR_NATIVE_EVENT_NAMESPACE as qt, createPluginHookRunner as r, createSqlConversationEventStore as rn, RESOURCE_SUBSCRIPTION_DEFAULT_TTL_MS as rt, getPluginSystemPromptContributions as s, bindProviderConversation as sn, cancelSubscriptions as st, agent_hooks_exports as t, getDb as tn, updateViewerDisplayName as tt, getPlugins as u, agentTurnCostUsd as un, createTimerWatch as ut, getWorkspace as v, createSlackDestination as vn, getDashboardObjectIconLink as vt, invalidateReadySnapshot as w, createPluginLogger as wt, listWorkspacesByRepository as x, sameDestination as xn, createPluginState as xt, getWorkspaceByName as y, parseDestination as yn, getDashboardTaskLink as yt, verifySlackDirectCredentialSubject as z, matchSlackAttachments as zt };
@@ -1,26 +1,26 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-B4FMCO8f.js";
2
- import { b as getGatewayApiKey, c as hasCompactedConversationContext, d as unwrapCurrentInstruction, f as escapeXml, g as getProviderErrorAttributes, h as findProviderError, i as completeText, l as isCompactionSummaryText, m as createProviderError, n as GEN_AI_SERVER_ADDRESS, o as resolveGatewayModel, p as ProviderError, r as completeObject, s as COMPACTION_SUMMARY_PREFIX, t as GEN_AI_PROVIDER_NAME, u as renderCurrentInstruction, v as isProviderRetryError, x as resolveGatewayCredential, y as MISSING_GATEWAY_CREDENTIALS_ERROR } from "./client-BX5lJRqW.js";
3
- import { C as withLogContext, F as normalizeIdentityEmail, I as isRecord$3, L as toOptionalNumber, R as toOptionalString, a as extractGenAiUsageSummary, b as setTags, c as getLogContextAttributesForSpan, d as logException, f as logInfo, g as serializeGenAiAttribute, i as extractGenAiUsageAttributes, l as getTracePropagationHeaders, m as normalizeGenAiFinishReason, p as logWarn, s as getLogContextAttributes, u as logError, v as setSpanAttributes, w as withSpan, x as summarizeMessageText, y as setSpanStatus } from "./logging-Cox1Mgcv.js";
2
+ import { b as getGatewayApiKey, c as hasCompactedConversationContext, d as unwrapCurrentInstruction, f as escapeXml, g as getProviderErrorAttributes, h as findProviderError, i as completeText, l as isCompactionSummaryText, m as createProviderError, n as GEN_AI_SERVER_ADDRESS, o as resolveGatewayModel, p as ProviderError, r as completeObject, s as COMPACTION_SUMMARY_PREFIX, t as GEN_AI_PROVIDER_NAME, u as renderCurrentInstruction, v as isProviderRetryError, x as resolveGatewayCredential, y as MISSING_GATEWAY_CREDENTIALS_ERROR } from "./client-BSnNHO0R.js";
3
+ import { C as withLogContext, F as normalizeIdentityEmail, I as isRecord$3, L as toOptionalNumber, R as toOptionalString, a as extractGenAiUsageSummary, b as setTags, c as getLogContextAttributesForSpan, d as logException, f as logInfo, g as serializeGenAiAttribute, i as extractGenAiUsageAttributes, l as getTracePropagationHeaders, m as normalizeGenAiFinishReason, p as logWarn, s as getLogContextAttributes, u as logError, v as setSpanAttributes, w as withSpan, x as summarizeMessageText, y as setSpanStatus } from "./logging-F--48Q7Q.js";
4
4
  import { m as startInactiveSpan, n as captureMessage, v as withActiveSpan } from "./sentry-CgWZM_kV.js";
5
- import { a as toCanonicalInputMessage, c as toGenAiPayloadMetadata, i as runWithConversationPrivacy, l as toGenAiPayloadTraceAttributes, o as toCanonicalOutputMessage, r as resolveConversationPrivacy, s as toGenAiMessagesTraceAttributes, t as canExposeConversationPayload } from "./conversation-privacy-CSxvdSoV.js";
6
- import { a as getChatConfig, h as normalizeSlackEmojiName, n as botConfig } from "./config-DuCzUoCo.js";
5
+ import { a as toCanonicalInputMessage, c as toGenAiPayloadMetadata, i as runWithConversationPrivacy, l as toGenAiPayloadTraceAttributes, o as toCanonicalOutputMessage, r as resolveConversationPrivacy, s as toGenAiMessagesTraceAttributes, t as canExposeConversationPayload } from "./conversation-privacy-BV2dtba2.js";
6
+ import { a as getChatConfig, h as normalizeSlackEmojiName, n as botConfig } from "./config-Bmw4xTPK.js";
7
7
  import { a as formatModelProfiles, c as profileConfig, i as formatModelProfile, l as TURN_REASONING_LEVELS, n as ModelProfileNotConfiguredError, o as modelIdForProfile, s as modelProfileSchema } from "./model-profile-BwU8mqwD.js";
8
8
  import { b as parseSlackMessageTs, d as parseStoredSlackActor, g as parseSlackUserId, h as parseSlackTeamId, i as credentialUserSubjectId, l as isUserActor, m as parseSlackChannelReferenceId, n as credentialContextSchema, p as parseSlackChannelId, t as credentialContextForActor } from "./context-0Et9iVSB.js";
9
- import { $t as getConversationStore, A as tryWorkspaceRepoCheckoutPath, B as downloadPrivateSlackFile, C as invalidateReadySnapshot, Ct as createPluginLogger, D as SANDBOX_RUNTIME, E as setWorkspaceSnapshotBuild, G as isDmChannel$1, Ht as saveObjectAnnotations, J as withSlackRetries, K as normalizeSlackConversationId, M as resolveChannelCapabilities, O as deleteWorkspaceSnapshotBuilders, Q as readActorIdentity, Qt as getConversationMessageSearchStore, Rt as matchSlackAttachments, S as WorkspaceValidationError, T as setWorkspaceSnapshot, U as getSlackClient, Ut as createPluginAnnotations, V as getFilePermalink, W as isConversationScopedChannel, Zt as getConversationEventStore, _ as deleteWorkspace, at as STOP_WATCHING_TOOL_NAME, b as listWorkspaces, bn as sameDestination$1, c as getPluginTools, cn as addAgentTurnUsage, dt as deliverWatch, en as getDb, fn as hasAgentTurnUsage, ft as findMatchingWatches, g as createWorkspace, gt as getDashboardConversationLink, ht as JUNIOR_THREAD_STATE_TTL_MS, it as RESOURCE_WATCH_TOOL_SOURCE, j as workspaceRepoCheckoutPath, k as getWorkspaceSnapshotBuilder, l as getPluginUserPromptContributions, lt as createTimerWatch, n as applyPluginFormatMarkdown, nt as RESOURCE_SUBSCRIPTION_DEFAULT_TTL_MS, ot as cancelSubscriptions, pt as listWatches, r as createPluginHookRunner, rt as RESOURCE_SUBSCRIPTION_MAX_TTL_MS, s as getPluginSystemPromptContributions, st as cancelWatch, tn as getSqlExecutor, tt as getSlackToolContext, u as getPlugins, ut as createWatch, v as getWorkspace, vn as parseDestination, vt as getDashboardTaskLink, w as loadSnapshotsForProfile, x as updateWorkspace, y as getWorkspaceByName, z as SlackActionError } from "./agent-hooks-BcH6E48y.js";
9
+ import { $ as readActorIdentity, $t as getConversationMessageSearchStore, A as getWorkspaceSnapshotBuilder, B as SlackActionError, C as WorkspaceValidationError, D as setWorkspaceSnapshotBuild, E as setWorkspaceSnapshot, G as isConversationScopedChannel, H as getFilePermalink, K as isDmChannel$1, M as workspaceRepoCheckoutPath, N as resolveChannelCapabilities, O as SANDBOX_RUNTIME, Qt as getConversationEventStore, S as updateWorkspace, T as loadSnapshotsForProfile, Ut as saveObjectAnnotations, V as downloadPrivateSlackFile, W as getSlackClient, Wt as createPluginAnnotations, Y as withSlackRetries, _ as deleteWorkspace, _t as getDashboardConversationLink, at as RESOURCE_WATCH_TOOL_SOURCE, b as listWorkspaces, c as getPluginTools, ct as cancelWatch, dt as createWatch, en as getConversationStore, ft as deliverWatch, g as createWorkspace, gt as JUNIOR_THREAD_STATE_TTL_MS, it as RESOURCE_SUBSCRIPTION_MAX_TTL_MS, j as tryWorkspaceRepoCheckoutPath, k as deleteWorkspaceSnapshotBuilders, l as getPluginUserPromptContributions, ln as addAgentTurnUsage, mt as listWatches, n as applyPluginFormatMarkdown, nn as getSqlExecutor, nt as getSlackToolContext, ot as STOP_WATCHING_TOOL_NAME, pn as hasAgentTurnUsage, pt as findMatchingWatches, q as normalizeSlackConversationId, r as createPluginHookRunner, rt as RESOURCE_SUBSCRIPTION_DEFAULT_TTL_MS, s as getPluginSystemPromptContributions, st as cancelSubscriptions, tn as getDb, u as getPlugins, ut as createTimerWatch, v as getWorkspace, w as invalidateReadySnapshot, wt as createPluginLogger, xn as sameDestination$1, y as getWorkspaceByName, yn as parseDestination, yt as getDashboardTaskLink, zt as matchSlackAttachments } from "./agent-hooks-DS7k0ZWY.js";
10
10
  import { n as juniorDestinations } from "./destinations-BeBiJeEM.js";
11
- import { D as juniorIdentities, E as juniorConversations, a as juniorSchedulerRuns, c as juniorStats, d as AGENT_INVOCATION_MAILBOX_STATUSES, g as juniorConversationBriefs, k as juniorArtifacts, l as juniorEventAutomations, o as juniorSchedulerTasks, w as juniorAttachments, x as juniorConversationAnnotations } from "./executor--jWf-Nnm.js";
12
- import { F as briefLinkSchema, G as KNOWN_CONVERSATION_EVENT_TYPES, I as briefOutcomeStatusSchema, L as conversationBriefSchema, N as isVisionImageMediaType, U as removedCardSchema, et as contextProvenance, nt as instructionProvenanceFor, rt as sameActorIdentity, tt as instructionActors } from "./conversation-CPjHYOV5.js";
11
+ import { D as juniorIdentities, E as juniorConversations, a as juniorSchedulerRuns, c as juniorStats, d as AGENT_INVOCATION_MAILBOX_STATUSES, g as juniorConversationBriefs, k as juniorArtifacts, l as juniorEventAutomations, o as juniorSchedulerTasks, w as juniorAttachments, x as juniorConversationAnnotations } from "./executor-B9ksWZCv.js";
12
+ import { F as briefLinkSchema, G as KNOWN_CONVERSATION_EVENT_TYPES, I as briefOutcomeStatusSchema, L as conversationBriefSchema, N as isVisionImageMediaType, U as removedCardSchema, et as contextProvenance, nt as instructionProvenanceFor, rt as sameActorIdentity, tt as instructionActors } from "./conversation-C_aYrISI.js";
13
13
  import { a as listReferenceFiles, c as soulPathCandidates, l as worldPathCandidates } from "./package-discovery-7a9YqLhE.js";
14
- import { a as resolveAuthTokenPlaceholder, c as fetchWithBoundedOAuthErrorBodies, d as CredentialUnavailableError, i as resolvePluginHeaderEnvRefs, l as getOAuthProviderErrorAttributes, o as resolvePluginCommandEnv, s as OAuthProviderError } from "./registry-DiY6B8CN.js";
15
- import { n as pluginCatalogRuntime } from "./catalog-runtime-BSgsPVnr.js";
16
- import { a as parseSkillInvocation, n as findSkillByName, r as loadSkillsByName, t as discoverSkills } from "./skills-WttpPJUy.js";
17
- import { $ as fallbackShortTitle, C as isToolResultError, D as stripRuntimeTurnContext, E as retainRuntimeTurnContext, F as loadTurnRoute, G as recordToolExecutionStarted, H as recordGuardianActionReviewed, I as openConversationProjection, K as recordTurnRoute, L as recordAgentsInstructionsUpdated, M as loadConnectedMcpProviders, N as loadConversationProjection, O as trimTrailingAssistantMessages, R as recordAttachmentsDelivered, S as isContinuablePiBoundary, T as normalizeToolNameFromResult, U as recordMcpProviderConnected, V as recordAuthorizationRequested, _ as getTerminalAssistantMessages, d as TurnSliceLimitExceededError, et as resolveTaskTitle, f as assertTurnToolCallLimit, ft as estimateTextTokens, g as getPiMessageRole, gt as piMessageFromHistoryItem, h as extractAssistantText, ht as historyItemFromPiMessage, k as TURN_CONTEXT_TAG, m as isTurnExecutionLimitExceededError, mt as getAgentContextInputLimitTokens, n as loadTurnCheckpoint, pt as getAgentContextCompactionTriggerTokens, r as saveTurnCheckpoint, t as continuableMessages, v as getUserMessageInstructionText, w as isToolResultMessage, x as isAssistantMessage, y as hasRuntimeTurnContext } from "./checkpoint-BNfXlq_1.js";
18
- import { A as SANDBOX_DATA_ROOT, C as getDefaultRedisStateAdapterFor, D as fenceLock, E as acquireActiveLock, F as sandboxSkillFile, I as sandboxSkillPathResolution, M as SANDBOX_SKILLS_ROOT, N as SANDBOX_WORKSPACE_ROOT, O as withLock, P as sandboxSkillDir, _ as workspaceSnapshotNotReadyUserMessage, a as isAbortError, b as buildNonInteractiveShellScript, c as isSandboxCommandStreamInterruptedError, d as isSnapshottingError, f as throwSandboxOperationError, g as isWorkspaceSnapshotNotReadyError, h as getWorkspaceSnapshotNotReadyError, i as ensureDockerDaemon, j as SANDBOX_REPOS_ROOT, k as sleep$2, l as isSandboxMissingError, m as WorkspaceSnapshotNotReadyError, n as hash, o as isAlreadyExistsError, p as wrapSandboxSetupError, r as isStale, s as isSandboxApiTransientError, t as create, u as isSandboxUnavailableError, v as getVercelSandboxCredentials, w as getStateAdapter, x as runNonInteractiveCommand, y as buildCommandScript } from "./profile-BdApelHS.js";
19
- import { n as canReusePendingAuthLink, t as abandonReplacedPendingAuth } from "./pending-auth-DQhC3eSR.js";
20
- import { a as NO_REPLY_MARKER, c as CooperativeTurnYieldError, i as sanitizeAssistantText, l as TurnInputCommitLostError, n as decideReply, o as isNoReplyMarker, p as isTurnInputCommitLostError, r as getAssistantReplyText, t as authorizationId } from "./oauth-authorization-CC8a1JKP.js";
21
- import { r as EVENT_AUTHOR_ID } from "./prompt-3D0sSbTC.js";
22
- import { a as createSandboxSession, c as postinstall, d as getSandboxResources, i as bindSandboxFileSystem, l as setSnapshotSpanAttributes, n as isMissingError, o as stopSession, r as resolve$1, s as dependencies } from "./resolve-VpJoiDpc.js";
23
- import { a as getVercelConversationWorkQueue, f as getTurnRequestDeadline, n as sendNextWorkspaceSnapshotJob, r as sendWorkspaceSnapshotJob } from "./job-queue-cwHVOwVZ.js";
14
+ import { a as resolveAuthTokenPlaceholder, c as fetchWithBoundedOAuthErrorBodies, d as CredentialUnavailableError, i as resolvePluginHeaderEnvRefs, l as getOAuthProviderErrorAttributes, o as resolvePluginCommandEnv, s as OAuthProviderError } from "./registry-_JLY0x7b.js";
15
+ import { n as pluginCatalogRuntime } from "./catalog-runtime-B9u_3-GW.js";
16
+ import { a as parseSkillInvocation, n as findSkillByName, r as loadSkillsByName, t as discoverSkills } from "./skills-DAegjk5Y.js";
17
+ import { $ as fallbackShortTitle, C as isToolResultError, D as stripRuntimeTurnContext, E as retainRuntimeTurnContext, F as loadTurnRoute, G as recordToolExecutionStarted, H as recordGuardianActionReviewed, I as openConversationProjection, K as recordTurnRoute, L as recordAgentsInstructionsUpdated, M as loadConnectedMcpProviders, N as loadConversationProjection, O as trimTrailingAssistantMessages, R as recordAttachmentsDelivered, S as isContinuablePiBoundary, T as normalizeToolNameFromResult, U as recordMcpProviderConnected, V as recordAuthorizationRequested, _ as getTerminalAssistantMessages, d as TurnSliceLimitExceededError, et as resolveTaskTitle, f as assertTurnToolCallLimit, ft as estimateTextTokens, g as getPiMessageRole, gt as piMessageFromHistoryItem, h as extractAssistantText, ht as historyItemFromPiMessage, k as TURN_CONTEXT_TAG, m as isTurnExecutionLimitExceededError, mt as getAgentContextInputLimitTokens, n as loadTurnCheckpoint, pt as getAgentContextCompactionTriggerTokens, r as saveTurnCheckpoint, t as continuableMessages, v as getUserMessageInstructionText, w as isToolResultMessage, x as isAssistantMessage, y as hasRuntimeTurnContext } from "./checkpoint-DLcJ5mKL.js";
18
+ import { A as SANDBOX_DATA_ROOT, C as getDefaultRedisStateAdapterFor, D as fenceLock, E as acquireActiveLock, F as sandboxSkillFile, I as sandboxSkillPathResolution, M as SANDBOX_SKILLS_ROOT, N as SANDBOX_WORKSPACE_ROOT, O as withLock, P as sandboxSkillDir, _ as workspaceSnapshotNotReadyUserMessage, a as isAbortError, b as buildNonInteractiveShellScript, c as isSandboxCommandStreamInterruptedError, d as isSnapshottingError, f as throwSandboxOperationError, g as isWorkspaceSnapshotNotReadyError, h as getWorkspaceSnapshotNotReadyError, i as ensureDockerDaemon, j as SANDBOX_REPOS_ROOT, k as sleep$2, l as isSandboxMissingError, m as WorkspaceSnapshotNotReadyError, n as hash, o as isAlreadyExistsError, p as wrapSandboxSetupError, r as isStale, s as isSandboxApiTransientError, t as create, u as isSandboxUnavailableError, v as getVercelSandboxCredentials, w as getStateAdapter, x as runNonInteractiveCommand, y as buildCommandScript } from "./profile-DZ2DUdd1.js";
19
+ import { n as canReusePendingAuthLink, t as abandonReplacedPendingAuth } from "./pending-auth-DrG9Mkje.js";
20
+ import { a as NO_REPLY_MARKER, c as CooperativeTurnYieldError, i as sanitizeAssistantText, l as TurnInputCommitLostError, n as decideReply, o as isNoReplyMarker, p as isTurnInputCommitLostError, r as getAssistantReplyText, t as authorizationId } from "./oauth-authorization-LasSG3Qc.js";
21
+ import { r as EVENT_AUTHOR_ID } from "./prompt-BM_5mAU3.js";
22
+ import { a as createSandboxSession, c as postinstall, d as getSandboxResources, i as bindSandboxFileSystem, l as setSnapshotSpanAttributes, n as isMissingError, o as stopSession, r as resolve$1, s as dependencies } from "./resolve-Cuoj3MML.js";
23
+ import { a as getVercelConversationWorkQueue, f as getTurnRequestDeadline, n as sendNextWorkspaceSnapshotJob, r as sendWorkspaceSnapshotJob } from "./job-queue-CY1L2YRn.js";
24
24
  import { a as automationTitleSchema, c as ScheduleIntentError, g as taskOutcomeInputSchema, i as automationInstructionSchema, l as compileScheduleIntent, m as eventAutomationSchema, n as scheduledAutomationSchema, p as getZonedDateTimeParts, r as scheduledRunSchema, t as SCHEDULED_AUTOMATION_SYSTEM_ACTOR, u as scheduleIntentSchema } from "./types-Du-HbEun.js";
25
25
  import { n as privateTraceResultAttributes } from "./private-trace-result-BLvBjy_e.js";
26
26
  import { streamSimple } from "@earendil-works/pi-ai/compat";
@@ -14860,6 +14860,135 @@ function getTimeZoneOffsetMinutes(timestampMs, timezone) {
14860
14860
  return Math.round((timestampMs - asUtcMs) / 6e4);
14861
14861
  }
14862
14862
  //#endregion
14863
+ //#region src/chat/experimental.ts
14864
+ var experimental_exports = /* @__PURE__ */ __exportAll({
14865
+ EXPERIMENTAL_FEATURES: () => EXPERIMENTAL_FEATURES,
14866
+ getExperimentalFeatures: () => getExperimentalFeatures,
14867
+ isExperimentalFeatureEnabled: () => isExperimentalFeatureEnabled,
14868
+ setExperimentalFeatures: () => setExperimentalFeatures
14869
+ });
14870
+ /**
14871
+ * Known unstable product features that must be opted into explicitly.
14872
+ * Add new keys here as features graduate from private experiments; remove them
14873
+ * once they become stable defaults.
14874
+ */
14875
+ const EXPERIMENTAL_FEATURES = [
14876
+ "operator-tools",
14877
+ "passive-routing",
14878
+ "subagents"
14879
+ ];
14880
+ const EXPERIMENTAL_FEATURE_SET = new Set(EXPERIMENTAL_FEATURES);
14881
+ let configuredExperimental = {};
14882
+ function isExperimentalFeature(value) {
14883
+ return EXPERIMENTAL_FEATURE_SET.has(value);
14884
+ }
14885
+ /** Replace app-level experimental opt-ins and return the previous setting. */
14886
+ function setExperimentalFeatures(config) {
14887
+ const previous = { ...configuredExperimental };
14888
+ if (config === void 0) {
14889
+ configuredExperimental = {};
14890
+ return previous;
14891
+ }
14892
+ const next = {};
14893
+ for (const [rawName, enabled] of Object.entries(config)) {
14894
+ if (enabled === void 0) continue;
14895
+ if (typeof enabled !== "boolean") throw new Error(`experimental.${rawName} must be a boolean when provided`);
14896
+ if (!isExperimentalFeature(rawName)) throw new Error(`experimental.${rawName} is not a known experimental feature. Known features: ${EXPERIMENTAL_FEATURES.join(", ")}`);
14897
+ next[rawName] = enabled;
14898
+ }
14899
+ configuredExperimental = next;
14900
+ return previous;
14901
+ }
14902
+ /** Return a copy of the app-level experimental opt-ins configured by createApp(). */
14903
+ function getExperimentalFeatures() {
14904
+ return { ...configuredExperimental };
14905
+ }
14906
+ /** Return whether one experimental feature is enabled via createApp({ experimental }). */
14907
+ function isExperimentalFeatureEnabled(feature) {
14908
+ return configuredExperimental[feature] === true;
14909
+ }
14910
+ //#endregion
14911
+ //#region src/chat/tools/operator-sql.ts
14912
+ /** Deferred tool catalog source for operator tools. */
14913
+ const OPERATOR_TOOL_SOURCE = {
14914
+ id: "operator",
14915
+ description: "Run SQL directly against this deployment's database. Enabled only on deployments that opt in, such as Previews."
14916
+ };
14917
+ const DEFAULT_ROW_LIMIT = 50;
14918
+ const MAX_ROW_LIMIT = 200;
14919
+ const MAX_OUTPUT_CHARS = 4e4;
14920
+ const paramSchema = z.union([
14921
+ z.string(),
14922
+ z.number(),
14923
+ z.boolean(),
14924
+ z.null()
14925
+ ]);
14926
+ /** Find the Postgres SQLSTATE code that marks a statement the caller can fix. */
14927
+ function findSqlState(error) {
14928
+ for (let current = error; current instanceof Error; current = current.cause) {
14929
+ const code = current.code;
14930
+ if (typeof code === "string" && /^[0-9A-Z]{5}$/.test(code)) return {
14931
+ code,
14932
+ message: current.message
14933
+ };
14934
+ }
14935
+ }
14936
+ /** Keep the tool result small enough for the model context. */
14937
+ function limitRows(rows, rowLimit) {
14938
+ const limited = rows.slice(0, rowLimit);
14939
+ while (limited.length > 0 && JSON.stringify(limited).length > MAX_OUTPUT_CHARS) limited.pop();
14940
+ return limited;
14941
+ }
14942
+ /**
14943
+ * Build the operator tools when the app enables `operator-tools`.
14944
+ *
14945
+ * These tools bypass every Conversation privacy gate, so they only exist in
14946
+ * non-public Conversations. Their results never reach a public transcript or a
14947
+ * public Brief.
14948
+ */
14949
+ function createOperatorTools(context) {
14950
+ if (!isExperimentalFeatureEnabled("operator-tools")) return {};
14951
+ if (context.conversationPrivacy === "public") return {};
14952
+ return { runOperatorSql: zodTool({
14953
+ exposure: "deferred",
14954
+ source: OPERATOR_TOOL_SOURCE,
14955
+ executionMode: "sequential",
14956
+ annotations: {
14957
+ destructiveHint: true,
14958
+ idempotentHint: false,
14959
+ openWorldHint: false,
14960
+ readOnlyHint: false
14961
+ },
14962
+ description: "Run one SQL statement against this deployment's Postgres database and return its rows. Reads and writes are allowed. Add RETURNING to see rows changed by INSERT, UPDATE, or DELETE. Use $1, $2 placeholders with params for values.",
14963
+ inputSchema: z.object({
14964
+ statement: z.string().trim().min(1).max(2e4),
14965
+ params: z.array(paramSchema).max(100).nullable().optional().describe("Values for $1, $2, ... placeholders."),
14966
+ row_limit: z.number().int().min(1).max(MAX_ROW_LIMIT).nullable().optional().describe(`Maximum rows to return. Default ${DEFAULT_ROW_LIMIT}.`)
14967
+ }).strict(),
14968
+ outputSchema: juniorToolOutputSchema.extend({
14969
+ row_count: z.number().int(),
14970
+ rows: z.array(z.unknown()),
14971
+ truncated: z.boolean()
14972
+ }),
14973
+ async execute(input) {
14974
+ let rows;
14975
+ try {
14976
+ rows = await getSqlExecutor().queryIsolated(input.statement, input.params ?? []);
14977
+ } catch (error) {
14978
+ const sqlState = findSqlState(error);
14979
+ if (!sqlState) throw error;
14980
+ throw new ToolInputError(`SQL error ${sqlState.code}: ${sqlState.message}`, { cause: error });
14981
+ }
14982
+ const returned = limitRows(rows, input.row_limit ?? DEFAULT_ROW_LIMIT);
14983
+ return {
14984
+ row_count: rows.length,
14985
+ rows: returned,
14986
+ truncated: returned.length < rows.length
14987
+ };
14988
+ }
14989
+ }) };
14990
+ }
14991
+ //#endregion
14863
14992
  //#region src/chat/artifacts/store.ts
14864
14993
  const MAX_IMAGE_BYTES = 10485760;
14865
14994
  const IMAGE_TYPES = {
@@ -16545,7 +16674,8 @@ function createTools(availableSkills, hooks = {}, context, options = {}) {
16545
16674
  ...createEventTools(context, eventCatalog),
16546
16675
  ...createEventAutomationTools(context, eventCatalog),
16547
16676
  ...createScheduledAutomationTools(context),
16548
- ...createWorkspaceTools(context)
16677
+ ...createWorkspaceTools(context),
16678
+ ...createOperatorTools(context)
16549
16679
  };
16550
16680
  tools.searchConversationEvents = createSearchConversationEventsTool(context);
16551
16681
  if (context.conversationPrivacy === "public") tools.searchConversationBriefs = createSearchConversationBriefsTool(slackContext ? {
@@ -21322,50 +21452,6 @@ async function executeAgentRunInPrivacyContext(run, conversationPrivacy, runLogC
21322
21452
  }
21323
21453
  }
21324
21454
  //#endregion
21325
- //#region src/chat/experimental.ts
21326
- var experimental_exports = /* @__PURE__ */ __exportAll({
21327
- EXPERIMENTAL_FEATURES: () => EXPERIMENTAL_FEATURES,
21328
- getExperimentalFeatures: () => getExperimentalFeatures,
21329
- isExperimentalFeatureEnabled: () => isExperimentalFeatureEnabled,
21330
- setExperimentalFeatures: () => setExperimentalFeatures
21331
- });
21332
- /**
21333
- * Known unstable product features that must be opted into explicitly.
21334
- * Add new keys here as features graduate from private experiments; remove them
21335
- * once they become stable defaults.
21336
- */
21337
- const EXPERIMENTAL_FEATURES = ["passive-routing", "subagents"];
21338
- const EXPERIMENTAL_FEATURE_SET = new Set(EXPERIMENTAL_FEATURES);
21339
- let configuredExperimental = {};
21340
- function isExperimentalFeature(value) {
21341
- return EXPERIMENTAL_FEATURE_SET.has(value);
21342
- }
21343
- /** Replace app-level experimental opt-ins and return the previous setting. */
21344
- function setExperimentalFeatures(config) {
21345
- const previous = { ...configuredExperimental };
21346
- if (config === void 0) {
21347
- configuredExperimental = {};
21348
- return previous;
21349
- }
21350
- const next = {};
21351
- for (const [rawName, enabled] of Object.entries(config)) {
21352
- if (enabled === void 0) continue;
21353
- if (typeof enabled !== "boolean") throw new Error(`experimental.${rawName} must be a boolean when provided`);
21354
- if (!isExperimentalFeature(rawName)) throw new Error(`experimental.${rawName} is not a known experimental feature. Known features: ${EXPERIMENTAL_FEATURES.join(", ")}`);
21355
- next[rawName] = enabled;
21356
- }
21357
- configuredExperimental = next;
21358
- return previous;
21359
- }
21360
- /** Return a copy of the app-level experimental opt-ins configured by createApp(). */
21361
- function getExperimentalFeatures() {
21362
- return { ...configuredExperimental };
21363
- }
21364
- /** Return whether one experimental feature is enabled via createApp({ experimental }). */
21365
- function isExperimentalFeatureEnabled(feature) {
21366
- return configuredExperimental[feature] === true;
21367
- }
21368
- //#endregion
21369
21455
  //#region src/chat/runtime/agent-runner.ts
21370
21456
  const AGENT_ABORT_SETTLE_GRACE_MS = 5e3;
21371
21457
  /** Compose the agent executor with stable host dependencies. */
@@ -21390,7 +21476,7 @@ function createAgentRunner(execute, options) {
21390
21476
  } } : void 0
21391
21477
  };
21392
21478
  if (run.instruction.storedAttachments?.length) {
21393
- const { loadInputImages } = await import("./images-BaL19wFC.js").then((n) => n.n);
21479
+ const { loadInputImages } = await import("./images-CEXcQ0Id.js").then((n) => n.n);
21394
21480
  const storage = nextRun.environment?.attachmentStorage;
21395
21481
  if (!storage) throw new Error("Attachment storage is unavailable.");
21396
21482
  nextRun.instruction = {
@@ -21441,4 +21527,4 @@ async function runAgentWithTimeout(agentRunner, run, timeoutMs) {
21441
21527
  }
21442
21528
  }
21443
21529
  //#endregion
21444
- export { deleteEventAutomation as $, isFinalAttempt as $t, requestAttachmentDeletion as A, actorFromRun as An, clearExpiredConversationLease as At, listScheduledAutomations as B, listActiveConversationIds as Bt, readPublicArtifact as C, postSlackMessage as Cn, ackMessages as Ct, renderBlockText as D, createUserTokenStore as Dn, cancelHumanFacingPendingMessages as Dt, renderAttachmentText as E, slackExternalRefIdSchema as En, beginConversationResume as Et, resolveSlackChannelIdFromThreadId as F, setConfigDefaults as Fn, drainConversationMailbox as Ft, saveScheduledAutomationInLock as G, requestAnotherSlice as Gt, parseScheduledAutomationRow as H, recordConversationRetry as Ht, listThreadReplies as I, ensureConversationWake as It, editEventAutomation as J, stopConversationWork as Jt, scheduledRunId as K, requestConversationWork as Kt, editScheduledAutomation as L, getConversation as Lt, parseSlackThreadId as M, AuthorizationFlowDisabledError as Mn, completeConversationWork as Mt, readSlackRawMessageContext as N, shouldEmitDevAgentTrace as Nn, countPendingConversationMessages as Nt, collectAttachmentGarbage as O, buildSteeringPiMessage as On, checkInConversationWork as Ot, resolveSlackChannelIdFromMessage as P, getConfigDefaults as Pn, deadLetterAttempt as Pt, collectEventAutomationMatchKeys as Q, hasRunnableConversationWork$1 as Qt, logScheduledAutomationRunSkipped as R, getConversationWorkState as Rt, publicArtifactHeaders as S, addReactionToMessage as Sn, pluginEventCatalog as St, lookupSlackUserProfile as T, slackEntitySchema as Tn, appendAndEnqueueInboundMessage as Tt, readScheduledAutomation as U, releaseConversationWork as Ut, listScheduledAutomationsForTeam as V, recordAttemptFailure as Vt, saveScheduledAutomation as W, removeActiveConversation as Wt, eventAutomationTriggerAvailable as X, CONVERSATION_WORK_STALE_ENQUEUE_MS as Xt, AutomationEditError as Y, CONVERSATION_WORK_CHECK_IN_INTERVAL_MS as Yt, effectiveTaskOutcomes as Z, hasConversationStop as Zt, putMcpStoredOAuthCredentials as _, escapeSlackMrkdwnText as _n, ingestEvent as _t, isExperimentalFeatureEnabled as a, normalizeSandboxEgressTracePropagationDomains as an, saveEventAutomation as at, readStats as b, normalizeSlackStatusText as bn, getEventCatalog as bt, createContextCompactor as c, clearSandboxEgressSignals as cn, automationRevision as ct, deleteMcpAuthSession as d, parseSandboxEgressCredentialToken as dn, agentInvocationSchema as dt, isInvalidConversationRecordError as en, eventAutomationBelongsToUser as et, deleteMcpAuthSessionsForUserProvider as f, sandboxEgressSignalsResponseSchema as fn, createAgentInvocationSchema as ft, getMcpStoredOAuthCredentials as g, startOAuthFlow as gn, processWorkspaceSnapshotJob as gt, getMcpAuthSession as h, resolveBaseUrl as hn, getMcpProviderErrorAttributes as ht, getExperimentalFeatures as i, resolveSandboxEgressProviderForHost as in, parseEventAutomationRow as it, storeAttachment as j, toolInvocationDestination as jn, completeConversationStop as jt, readLiveAttachment as k, RetryableDeliveryError as kn, clearConsumedConversationWake as kt, executeCredentialedEgressRequest as l, consumeSandboxEgressAuthRequiredSignal as ln, requireAutomationRevision as lt, deleteMcpStoredOAuthCredentials as m, parseOAuthStatePayload as mn, AgentInvocationLimitError as mt, runAgentWithTimeout as n, maybePostAutomatedTurnLimitNotice as nn, getEventAutomation as nt, setExperimentalFeatures as o, shouldPropagateSandboxEgressTrace as on, setEventAutomationStatus as ot, deleteMcpServerSessionId as p, formatProviderLabel as pn, AgentInvocationBusyError as pt, withScheduledAutomationLock as q, startConversationWork as qt, experimental_exports as r, recordFinishedTurnForAutomatedLimit as rn, listDeletedEventAutomationsCreatedBy as rt, executeAgentRun as s, SANDBOX_EGRESS_PROXY_PATH as sn, AutomationConflictError as st, createAgentRunner as t, renderTaskInput as tn, findMatchingEventAutomations as tt, finalizeMcpAuthorization as u, consumeSandboxEgressPermissionDeniedSignal as un, agentBindingSchema as ut, PluginCredentialFailureError as v, formatSlackLink as vn, EVENT_WAIT_MS as vt, unpublishedArtifactHeaders as w, removeReactionFromMessage as wn, appendAndEnqueueExclusiveInboundMessage as wt, resolvePluginOAuthAccount as x, truncateStatusText as xn, eventGuidance as xt, latestProgressStatus as y, normalizeSlackReplyMarkdown as yn, isEventMailboxMetadata as yt, scheduledAutomationRunAttributes as z, hasRunnableConversationWork as zt };
21530
+ export { deleteEventAutomation as $, isFinalAttempt as $t, requestAttachmentDeletion as A, actorFromRun as An, clearExpiredConversationLease as At, listScheduledAutomations as B, listActiveConversationIds as Bt, isExperimentalFeatureEnabled as C, postSlackMessage as Cn, ackMessages as Ct, renderBlockText as D, createUserTokenStore as Dn, cancelHumanFacingPendingMessages as Dt, renderAttachmentText as E, slackExternalRefIdSchema as En, beginConversationResume as Et, resolveSlackChannelIdFromThreadId as F, setConfigDefaults as Fn, drainConversationMailbox as Ft, saveScheduledAutomationInLock as G, requestAnotherSlice as Gt, parseScheduledAutomationRow as H, recordConversationRetry as Ht, listThreadReplies as I, ensureConversationWake as It, editEventAutomation as J, stopConversationWork as Jt, scheduledRunId as K, requestConversationWork as Kt, editScheduledAutomation as L, getConversation as Lt, parseSlackThreadId as M, AuthorizationFlowDisabledError as Mn, completeConversationWork as Mt, readSlackRawMessageContext as N, shouldEmitDevAgentTrace as Nn, countPendingConversationMessages as Nt, collectAttachmentGarbage as O, buildSteeringPiMessage as On, checkInConversationWork as Ot, resolveSlackChannelIdFromMessage as P, getConfigDefaults as Pn, deadLetterAttempt as Pt, collectEventAutomationMatchKeys as Q, hasRunnableConversationWork$1 as Qt, logScheduledAutomationRunSkipped as R, getConversationWorkState as Rt, getExperimentalFeatures as S, addReactionToMessage as Sn, pluginEventCatalog as St, lookupSlackUserProfile as T, slackEntitySchema as Tn, appendAndEnqueueInboundMessage as Tt, readScheduledAutomation as U, releaseConversationWork as Ut, listScheduledAutomationsForTeam as V, recordAttemptFailure as Vt, saveScheduledAutomation as W, removeActiveConversation as Wt, eventAutomationTriggerAvailable as X, CONVERSATION_WORK_STALE_ENQUEUE_MS as Xt, AutomationEditError as Y, CONVERSATION_WORK_CHECK_IN_INTERVAL_MS as Yt, effectiveTaskOutcomes as Z, hasConversationStop as Zt, resolvePluginOAuthAccount as _, escapeSlackMrkdwnText as _n, ingestEvent as _t, executeCredentialedEgressRequest as a, normalizeSandboxEgressTracePropagationDomains as an, saveEventAutomation as at, unpublishedArtifactHeaders as b, normalizeSlackStatusText as bn, getEventCatalog as bt, deleteMcpAuthSessionsForUserProvider as c, clearSandboxEgressSignals as cn, automationRevision as ct, getMcpAuthSession as d, parseSandboxEgressCredentialToken as dn, agentInvocationSchema as dt, isInvalidConversationRecordError as en, eventAutomationBelongsToUser as et, getMcpStoredOAuthCredentials as f, sandboxEgressSignalsResponseSchema as fn, createAgentInvocationSchema as ft, readStats as g, startOAuthFlow as gn, processWorkspaceSnapshotJob as gt, latestProgressStatus as h, resolveBaseUrl as hn, getMcpProviderErrorAttributes as ht, createContextCompactor as i, resolveSandboxEgressProviderForHost as in, parseEventAutomationRow as it, storeAttachment as j, toolInvocationDestination as jn, completeConversationStop as jt, readLiveAttachment as k, RetryableDeliveryError as kn, clearConsumedConversationWake as kt, deleteMcpServerSessionId as l, consumeSandboxEgressAuthRequiredSignal as ln, requireAutomationRevision as lt, PluginCredentialFailureError as m, parseOAuthStatePayload as mn, AgentInvocationLimitError as mt, runAgentWithTimeout as n, maybePostAutomatedTurnLimitNotice as nn, getEventAutomation as nt, finalizeMcpAuthorization as o, shouldPropagateSandboxEgressTrace as on, setEventAutomationStatus as ot, putMcpStoredOAuthCredentials as p, formatProviderLabel as pn, AgentInvocationBusyError as pt, withScheduledAutomationLock as q, startConversationWork as qt, executeAgentRun as r, recordFinishedTurnForAutomatedLimit as rn, listDeletedEventAutomationsCreatedBy as rt, deleteMcpAuthSession as s, SANDBOX_EGRESS_PROXY_PATH as sn, AutomationConflictError as st, createAgentRunner as t, renderTaskInput as tn, findMatchingEventAutomations as tt, deleteMcpStoredOAuthCredentials as u, consumeSandboxEgressPermissionDeniedSignal as un, agentBindingSchema as ut, publicArtifactHeaders as v, formatSlackLink as vn, EVENT_WAIT_MS as vt, setExperimentalFeatures as w, removeReactionFromMessage as wn, appendAndEnqueueExclusiveInboundMessage as wt, experimental_exports as x, truncateStatusText as xn, eventGuidance as xt, readPublicArtifact as y, normalizeSlackReplyMarkdown as yn, isEventMailboxMetadata as yt, scheduledAutomationRunAttributes as z, hasRunnableConversationWork as zt };
@@ -131,6 +131,69 @@ export declare const codeOverviewReportSchema: z.ZodObject<{
131
131
  windowEnd: z.ZodString;
132
132
  windowStart: z.ZodString;
133
133
  }, z.core.$strict>;
134
+ export declare const codeRepositoryParamsSchema: z.ZodObject<{
135
+ repositoryId: z.ZodString;
136
+ }, z.core.$strict>;
137
+ /** Code activity, recent changes, and Workspaces for one repository. */
138
+ export declare const codeRepositoryReportSchema: z.ZodObject<{
139
+ activityDays: z.ZodArray<z.ZodObject<{
140
+ closed: z.ZodNumber;
141
+ created: z.ZodNumber;
142
+ date: z.ZodString;
143
+ merged: z.ZodNumber;
144
+ }, z.core.$strict>>;
145
+ activityHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
146
+ closed: z.ZodNumber;
147
+ created: z.ZodNumber;
148
+ date: z.ZodString;
149
+ merged: z.ZodNumber;
150
+ }, z.core.$strict>>>;
151
+ activitySixHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
152
+ closed: z.ZodNumber;
153
+ created: z.ZodNumber;
154
+ date: z.ZodString;
155
+ merged: z.ZodNumber;
156
+ }, z.core.$strict>>>;
157
+ changes: z.ZodArray<z.ZodObject<{
158
+ closedAt: z.ZodOptional<z.ZodString>;
159
+ id: z.ZodString;
160
+ mergedAt: z.ZodOptional<z.ZodString>;
161
+ number: z.ZodNumber;
162
+ openedAt: z.ZodString;
163
+ provider: z.ZodString;
164
+ repository: z.ZodString;
165
+ state: z.ZodEnum<{
166
+ closed: "closed";
167
+ merged: "merged";
168
+ open: "open";
169
+ }>;
170
+ title: z.ZodOptional<z.ZodString>;
171
+ url: z.ZodOptional<z.ZodString>;
172
+ }, z.core.$strict>>;
173
+ generatedAt: z.ZodString;
174
+ repository: z.ZodObject<{
175
+ id: z.ZodString;
176
+ name: z.ZodString;
177
+ provider: z.ZodString;
178
+ url: z.ZodOptional<z.ZodString>;
179
+ }, z.core.$strict>;
180
+ summary: z.ZodObject<{
181
+ closed: z.ZodNumber;
182
+ costUsd: z.ZodOptional<z.ZodNumber>;
183
+ created: z.ZodNumber;
184
+ medianCostUsd: z.ZodOptional<z.ZodNumber>;
185
+ medianMergeTimeMs: z.ZodOptional<z.ZodNumber>;
186
+ merged: z.ZodNumber;
187
+ mergeRate: z.ZodOptional<z.ZodNumber>;
188
+ open: z.ZodNumber;
189
+ }, z.core.$strict>;
190
+ windowEnd: z.ZodString;
191
+ windowStart: z.ZodString;
192
+ workspaces: z.ZodArray<z.ZodObject<{
193
+ id: z.ZodString;
194
+ name: z.ZodString;
195
+ }, z.core.$strict>>;
196
+ }, z.core.$strict>;
134
197
  /** Person-scoped code activity for one People profile. */
135
198
  export declare const codePersonReportSchema: z.ZodObject<{
136
199
  activityDays: z.ZodArray<z.ZodObject<{
@@ -169,6 +232,7 @@ type CodeActivityDay = z.infer<typeof codeActivityDaySchema>;
169
232
  type CodeChangeSummaryReport = z.infer<typeof codeChangeSummaryReportSchema>;
170
233
  type CodeOverviewReport = z.infer<typeof codeOverviewReportSchema>;
171
234
  type CodePersonReport = z.infer<typeof codePersonReportSchema>;
235
+ type CodeRepositoryReport = z.infer<typeof codeRepositoryReportSchema>;
172
236
  type CodeRepositorySummary = z.infer<typeof codeRepositorySummarySchema>;
173
237
  //#endregion
174
238
  //#region src/api/schema/conversation.d.ts
@@ -217,6 +281,7 @@ export declare const conversationEventsQuerySchema: z.ZodObject<{
217
281
  }, z.core.$strict>;
218
282
  export declare const conversationFeedQuerySchema: z.ZodObject<{
219
283
  actorEmail: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
284
+ codeRepositoryId: z.ZodOptional<z.ZodString>;
220
285
  q: z.ZodOptional<z.ZodString>;
221
286
  status: z.ZodDefault<z.ZodEnum<{
222
287
  active: "active";
@@ -4362,4 +4427,4 @@ type PluginPackageContentReport = z.infer<typeof pluginPackageContentReportSchem
4362
4427
  type PluginOperationalReport = z.infer<typeof pluginOperationalReportSchema>;
4363
4428
  type PluginOperationalReportFeed = z.infer<typeof pluginOperationalReportFeedSchema>;
4364
4429
  //#endregion
4365
- export { type AcceptedConversationMessage, type ActorActivityDayReport, type ActorDirectoryReport, type ActorDirectoryWindows, type ActorIdentity, type ActorProfileReport, type ActorSummaryReport, type ActorTotalsReport, type ActorWindowMetrics, type ApiError, type ArchiveConversationBody, type ArchiveConversationResponse, type AutomationCard, type AutomationEdit, type AutomationExecution, type AutomationExecutionDay, type AutomationExecutionList, type AutomationExecutionStatusDay, type AutomationList, type AutomationListQuery, type AutomationRun, type AutomationRunList, type AutomationRunWindows, type AutomationScheduleIntent, type AutomationSummary, type AutomationUpdate, type BaselineSnapshotReport, type CancelConversationPendingMessagesBody, type CancelConversationPendingMessagesResponse, type CodeActivityDay, type CodeChangeSummaryReport, type CodeOverviewReport, type CodePersonReport, type CodeRepositorySummary, type ConversationActivityPreview, type ConversationAuxiliaryCosts, type ConversationCost, type ConversationDetailReport, type ConversationEventHistory, type ConversationEventPage, type ConversationFeed, type ConversationMetricDay, type ConversationModelUsage, type ConversationParams, type ConversationPendingMessage, type ConversationPendingMessageDelivery, type ConversationPendingMessagesReport, type ConversationReportEvent, type ConversationReportEventData, type ConversationReportStatus, type ConversationSourceTask, type ConversationStatsItem, type ConversationStatsReport, type ConversationSummaryReport, type ConversationSurface, type ConversationTurnFailureCode, type ConversationTurnFailureReason, type ConversationUsage, type CreateConversationBody, type CreateConversationMessageBody, type DailyConversationActivity, type GuardianMetricDay, type GuardianStats, type HealthReport, type InputImage, type LocationActivityDayReport, type LocationActorSummaryReport, type LocationDetailReport, type LocationDirectoryReport, type LocationParams, type LocationSummaryReport, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, type MessageAttachment, type MessageCard, type OwnedObjectAnnotation, type PeopleActivityDayReport, type PersonParams, type PersonalSpendReport, type PersonalTokenMetadata, type Plugin, type PluginOperationalReport, type PluginOperationalReportFeed, type PluginPackageContentItemReport, type PluginPackageContentReport, type Plugins, type RuntimeInfoReport, type SkillReport, type SkillReports, type StatReport, type StatsReport, type WorkspaceReport, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, messageCardText, resolveMessageCards };
4430
+ export { type AcceptedConversationMessage, type ActorActivityDayReport, type ActorDirectoryReport, type ActorDirectoryWindows, type ActorIdentity, type ActorProfileReport, type ActorSummaryReport, type ActorTotalsReport, type ActorWindowMetrics, type ApiError, type ArchiveConversationBody, type ArchiveConversationResponse, type AutomationCard, type AutomationEdit, type AutomationExecution, type AutomationExecutionDay, type AutomationExecutionList, type AutomationExecutionStatusDay, type AutomationList, type AutomationListQuery, type AutomationRun, type AutomationRunList, type AutomationRunWindows, type AutomationScheduleIntent, type AutomationSummary, type AutomationUpdate, type BaselineSnapshotReport, type CancelConversationPendingMessagesBody, type CancelConversationPendingMessagesResponse, type CodeActivityDay, type CodeChangeSummaryReport, type CodeOverviewReport, type CodePersonReport, type CodeRepositoryReport, type CodeRepositorySummary, type ConversationActivityPreview, type ConversationAuxiliaryCosts, type ConversationCost, type ConversationDetailReport, type ConversationEventHistory, type ConversationEventPage, type ConversationFeed, type ConversationMetricDay, type ConversationModelUsage, type ConversationParams, type ConversationPendingMessage, type ConversationPendingMessageDelivery, type ConversationPendingMessagesReport, type ConversationReportEvent, type ConversationReportEventData, type ConversationReportStatus, type ConversationSourceTask, type ConversationStatsItem, type ConversationStatsReport, type ConversationSummaryReport, type ConversationSurface, type ConversationTurnFailureCode, type ConversationTurnFailureReason, type ConversationUsage, type CreateConversationBody, type CreateConversationMessageBody, type DailyConversationActivity, type GuardianMetricDay, type GuardianStats, type HealthReport, type InputImage, type LocationActivityDayReport, type LocationActorSummaryReport, type LocationDetailReport, type LocationDirectoryReport, type LocationParams, type LocationSummaryReport, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, type MessageAttachment, type MessageCard, type OwnedObjectAnnotation, type PeopleActivityDayReport, type PersonParams, type PersonalSpendReport, type PersonalTokenMetadata, type Plugin, type PluginOperationalReport, type PluginOperationalReportFeed, type PluginPackageContentItemReport, type PluginPackageContentReport, type Plugins, type RuntimeInfoReport, type SkillReport, type SkillReports, type StatReport, type StatsReport, type WorkspaceReport, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, messageCardText, resolveMessageCards };
@@ -1,4 +1,4 @@
1
- import { A as MAX_INPUT_IMAGE_BYTES, C as conversationReportEventSchema, D as createConversationBodySchema, E as conversationSummaryReportSchema, J as conversationTurnFailureCodeSchema, M as INPUT_IMAGE_TYPES, O as createConversationMessageBodySchema, S as conversationReportEventDataSchema, T as conversationStatsReportSchema, V as messageCardText, W as resolveMessageCards, Y as conversationTurnFailureReasonSchema, _ as conversationParamsSchema, a as cancelConversationPendingMessagesBodySchema, b as conversationPendingMessageSchema, d as conversationDetailReportSchema, f as conversationEventHistorySchema, g as conversationFeedSchema, h as conversationFeedQuerySchema, i as archiveConversationResponseSchema, k as MAX_INPUT_IMAGES, l as conversationAuxiliaryCostsSchema, m as conversationEventsQuerySchema, o as cancelConversationPendingMessagesResponseSchema, p as conversationEventPageSchema, r as archiveConversationBodySchema, s as conversationActivityPreviewSchema, t as acceptedConversationMessageSchema, u as conversationDetailQuerySchema, v as conversationPendingAuthorizationSchema, x as conversationPendingMessagesReportSchema, y as conversationPendingMessageDeliverySchema } from "../conversation-CPjHYOV5.js";
1
+ import { A as MAX_INPUT_IMAGE_BYTES, C as conversationReportEventSchema, D as createConversationBodySchema, E as conversationSummaryReportSchema, J as conversationTurnFailureCodeSchema, M as INPUT_IMAGE_TYPES, O as createConversationMessageBodySchema, S as conversationReportEventDataSchema, T as conversationStatsReportSchema, V as messageCardText, W as resolveMessageCards, Y as conversationTurnFailureReasonSchema, _ as conversationParamsSchema, a as cancelConversationPendingMessagesBodySchema, b as conversationPendingMessageSchema, d as conversationDetailReportSchema, f as conversationEventHistorySchema, g as conversationFeedSchema, h as conversationFeedQuerySchema, i as archiveConversationResponseSchema, k as MAX_INPUT_IMAGES, l as conversationAuxiliaryCostsSchema, m as conversationEventsQuerySchema, o as cancelConversationPendingMessagesResponseSchema, p as conversationEventPageSchema, r as archiveConversationBodySchema, s as conversationActivityPreviewSchema, t as acceptedConversationMessageSchema, u as conversationDetailQuerySchema, v as conversationPendingAuthorizationSchema, x as conversationPendingMessagesReportSchema, y as conversationPendingMessageDeliverySchema } from "../conversation-C_aYrISI.js";
2
2
  import { A as automationSummarySchema, B as pluginsSchema, C as automationListSchema, D as automationRunWindowsSchema, E as automationRunSchema, F as pluginOperationalReportFeedSchema, H as skillReportSchema, I as pluginOperationalReportSchema, L as pluginPackageContentItemReportSchema, M as eventAutomationSummarySchema, N as scheduledAutomationSummarySchema, O as automationScheduleIntentSchema, P as healthReportSchema, R as pluginPackageContentReportSchema, S as automationListQuerySchema, T as automationRunListSchema, U as skillReportsSchema, V as runtimeInfoReportSchema, _ as automationExecutionListSchema, b as automationExecutionStatusSchema, g as automationEventCatalogSchema, h as automationEditSchema, j as automationUpdateSchema, k as automationSchedulePreviewSchema, m as automationEditErrorSchema, t as webMessageId, v as automationExecutionSchema, w as automationParamsSchema, y as automationExecutionStatusDaySchema, z as pluginSchema } from "../web-message-id-CVVCTWUb.js";
3
- import { A as codeChangeSummarySchema, C as locationParamsSchema, D as dailyConversationActivitySchema, M as codePersonReportSchema, N as codeRepositorySummarySchema, O as codeActivityDaySchema, P as apiErrorSchema, S as locationDirectoryReportSchema, _ as actorProfileReportSchema, a as workspaceBodySchema, b as locationActivityDayReportSchema, c as workspaceRepoSchema, d as createdPersonalTokenSchema, f as personalTokenListSchema, g as actorDirectoryReportSchema, h as revokePersonalTokenResponseSchema, i as deleteWorkspaceResponseSchema, j as codeOverviewReportSchema, k as codeChangeSummaryReportSchema, l as workspaceSchema, m as personalTokenParamsSchema, n as statsReportSchema, o as workspaceListSchema, p as personalTokenMetadataSchema, r as baselineSnapshotSchema, s as workspaceParamsSchema, t as statSchema, u as createPersonalTokenBodySchema, v as personParamsSchema, x as locationDetailReportSchema, y as personalSpendReportSchema } from "../schema-CxwnlTDN.js";
4
- export { INPUT_IMAGE_TYPES, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, automationEditErrorSchema, automationEditSchema, automationEventCatalogSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationScheduleIntentSchema, automationSchedulePreviewSchema, automationSummarySchema, automationUpdateSchema, baselineSnapshotSchema, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, codeActivityDaySchema, codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codePersonReportSchema, codeRepositorySummarySchema, conversationActivityPreviewSchema, conversationAuxiliaryCostsSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationEventHistorySchema, conversationEventPageSchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSummaryReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, createConversationBodySchema, createConversationMessageBodySchema, createPersonalTokenBodySchema, createdPersonalTokenSchema, dailyConversationActivitySchema, deleteWorkspaceResponseSchema, eventAutomationSummarySchema, healthReportSchema, locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, messageCardText, personParamsSchema, personalSpendReportSchema, personalTokenListSchema, personalTokenMetadataSchema, personalTokenParamsSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, resolveMessageCards, revokePersonalTokenResponseSchema, runtimeInfoReportSchema, scheduledAutomationSummarySchema, skillReportSchema, skillReportsSchema, statSchema, statsReportSchema, webMessageId, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };
3
+ import { A as codeChangeSummarySchema, C as locationParamsSchema, D as dailyConversationActivitySchema, F as codeRepositorySummarySchema, I as apiErrorSchema, M as codePersonReportSchema, N as codeRepositoryParamsSchema, O as codeActivityDaySchema, P as codeRepositoryReportSchema, S as locationDirectoryReportSchema, _ as actorProfileReportSchema, a as workspaceBodySchema, b as locationActivityDayReportSchema, c as workspaceRepoSchema, d as createdPersonalTokenSchema, f as personalTokenListSchema, g as actorDirectoryReportSchema, h as revokePersonalTokenResponseSchema, i as deleteWorkspaceResponseSchema, j as codeOverviewReportSchema, k as codeChangeSummaryReportSchema, l as workspaceSchema, m as personalTokenParamsSchema, n as statsReportSchema, o as workspaceListSchema, p as personalTokenMetadataSchema, r as baselineSnapshotSchema, s as workspaceParamsSchema, t as statSchema, u as createPersonalTokenBodySchema, v as personParamsSchema, x as locationDetailReportSchema, y as personalSpendReportSchema } from "../schema-CrdDxGbx.js";
4
+ export { INPUT_IMAGE_TYPES, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, automationEditErrorSchema, automationEditSchema, automationEventCatalogSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationScheduleIntentSchema, automationSchedulePreviewSchema, automationSummarySchema, automationUpdateSchema, baselineSnapshotSchema, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, codeActivityDaySchema, codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codePersonReportSchema, codeRepositoryParamsSchema, codeRepositoryReportSchema, codeRepositorySummarySchema, conversationActivityPreviewSchema, conversationAuxiliaryCostsSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationEventHistorySchema, conversationEventPageSchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSummaryReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, createConversationBodySchema, createConversationMessageBodySchema, createPersonalTokenBodySchema, createdPersonalTokenSchema, dailyConversationActivitySchema, deleteWorkspaceResponseSchema, eventAutomationSummarySchema, healthReportSchema, locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, messageCardText, personParamsSchema, personalSpendReportSchema, personalTokenListSchema, personalTokenMetadataSchema, personalTokenParamsSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, resolveMessageCards, revokePersonalTokenResponseSchema, runtimeInfoReportSchema, scheduledAutomationSummarySchema, skillReportSchema, skillReportsSchema, statSchema, statsReportSchema, webMessageId, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };