@eum-agent/plugin 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { $ as ProviderField, $c as GenerationCapability, $n as ImageResourceVariant, $r as FileReferenceDescription, $s as HostCommands, $t as TriggerSourceHost, A as ModelProtocolType, Ac as NetworkRouting, Al as AgentExtensionData, An as MediaContext, Ar as AgentDataSchemas, As as DependencyNode, At as Subprocess, B as PluginEffectKind, Bc as ResourceRangeRequest, Bl as JsonValue, Bn as ModelSessionPolicy, Br as PtyAvailability, Bs as InstallationRequest, Bt as SubprocessState, C as LocalNetworkPermission, Cc as AgentRun, Cl as ProviderLoginState, Cn as NetworkProxyHost, Cr as PreparedAgentConfigurationSave, Cs as ActivationConstraints, Ct as SessionDeliveryInput, D as LoginFailureCode, Dc as AgentRunRows, Dl as AgentConfigurationParticipant, Dn as FailureKind, Dr as AgentDefinitionPatch, Ds as ArtifactRequest, Dt as SessionNotesService, E as LoginFailure, Ec as AgentRunRow, El as VendorEndpointFacts, En as EffortLevel, Er as AgentDefinition, Es as ArtifactIdentity, Et as SessionNotesResult, F as ModelProviderType, Fc as ClientStreamConnection, Fl as ReadableSourceView, Fn as PlannedFile, Fr as ContextRestoreInput, Fs as InstallationAttemptContext, Ft as SubprocessLogs, G as PrepareModelConnectionInput, Gc as AgentExecution, Gl as PluginDependencies, Gn as ContextMeasurementService, Gr as PtyOutput, Gt as ToolGuidance, H as PluginStorage, Hc as AttachmentReader, Hl as WidgetInput, Hn as GenerationRuntime, Hr as PtyCleanupScope, Hs as PackageContent, Ht as SubprocessWindow, I as Network, Ic as ClientStreamContext, Il as ReadableTarget, In as ResolveParamsInput, Ir as ContextRestoreResult, Is as InstallationBatchRequest, It as SubprocessRead, J as PreparedModelParams, Jc as ModelEntryResolution, Jn as McpSelectionStorage, Jr as PtySpawnOptions, Js as GatewayPlatform, Jt as ToolResult, K as PrepareModelParamsInput, Kc as ModelCataloguePolicy, Kn as ModelInputs, Kr as PtyService, Ks as FilePublication, Kt as ToolGuidanceEntry, L as ParticipantChange, Lc as ClientStreamHandle, Ll as SandboxReadableView, Ln as ResolvedParams, Lr as ContextSearchInput, Ls as InstallationObservation, Lt as SubprocessRecord, M as ModelProviderConnection, Mc as ClientResource, Ml as ReadableRejection, Mn as MediaPlan, Mr as ContextHistoryEntry, Ms as ExtensionSelection, Mt as SubprocessEnding, N as ModelProviderEndpoint, Nc as ClientResourceResponse, Nl as ReadableSource, Nn as ModelCapacity, Nr as ContextHistoryFailure, Ns as HostIdentity, Nt as SubprocessHandle, O as LoginResult, Oc as AgentRuns, Ol as AgentConfigurationRegistration, On as FailureVerdict, Or as AgentDefinitionSnapshot, Os as ArtifactWarning, Ot as SessionNotice, P as ModelProviderProbe, Pc as ClientStream, Pl as ReadableSourceHandle, Pn as ModelSupportService, Pr as ContextHistoryFile, Ps as HostRequirements, Pt as SubprocessHeld, Q as ProtocolProcesses, Qc as GenerationArtifactAuthorization, Qn as ImageResourceInfo, Qr as FileReferenceActions, Qs as HostCommandInspection, Qt as TriggerRunKind, R as Plugin, Rc as ResourceByteMetadata, Rl as SandboxReadables, Rn as StoredParams, Rr as ContextSearchResult, Rs as InstallationOperation, Rt as SubprocessStartFailure, S as InboxNotifier, Sc as BackgroundTaskPort, Sl as ModelCatalogueSnapshot, Sn as ResourceSecurity, Sr as AgentDefinitionManagement, Ss as ActivationBatchResult, St as SessionContext, T as LoginCredential, Tc as AgentRunPlan, Tl as StyleFacts, Tn as CallWithRetryOptions, Tr as AgentCreationInput, Ts as AdmissionReceipt, Tt as SessionFrameHandle, U as PluginToolContentResult, Uc as AttachmentReference, Ul as WidgetRegistration, Un as ModelRuntime, Ur as PtyExit, Us as PlatformTarget, Ut as ToolExecContext, V as PluginLog, Vc as ResourceResult, Vl as MessageTextRenderer, Vn as ModelPortSecurity, Vr as PtyCleanupResult, Vs as PackageArtifacts, Vt as SubprocessStreamWindow, W as PluginToolResult, Wc as AttachmentReferences, Wl as WidgetRegistry, Wn as ModelDeclarationViews, Wr as PtyHandle, Ws as PreparedArtifact, Wt as ToolFile, X as ProtocolProcess, Xc as ChatCapability, Xn as FileMediaService, Xr as WorkspaceRootSnapshot, Xs as HopResponse, Xt as TriggerDefinitionView, Y as PreparedShellExecution, Yc as ArtifactReader, Yn as HostIdentityService, Yr as WorkspaceRoot, Ys as HopRequest, Yt as TriggerDefinitionInput, Z as ProtocolProcessStart, Zc as GeneratedAsset, Zn as FileVariantPolicy, Zr as WorkspaceRoots, Zs as HostAsyncFiles, Zt as TriggerOutcome, _ as DeliveryWrites, _c as StdFs, _l as ProviderCatalogContribution, _n as SettingsParticipant, _r as SessionContextMaintenanceResult, _s as ClientFileStage, _t as SearchProviderConnection, a as ApprovalResult, ac as PlatformNetwork, al as GenerationInputSelectors, an as WebOpenRequest, ar as ContextSession, at as SandboxAvailability, b as HostModelPort, bc as BackgroundComputationPort, bl as CatalogEntry, bn as AddressVerdict, br as SessionModelControls, bs as ClientFilesAvailability, bt as SearchRequest, c as BroadcastClientFrame, cc as PlatformValidation, cl as GenerationModelSummary, cn as AgentToolContexts, cr as AgentContextControl, ct as SandboxPlan, d as ClientFrame, dc as PublicationObservation, dl as GenerationPort, dn as AuthorizationResources, dr as CapabilityRegistries, ds as FileReferenceFormatter, dt as SandboxRequest, ec as HostEnvironmentPolicy, ei as FileReferenceReader, el as GenerationConnection, en as TriggerSourceRegistration, er as CredentialVault, et as ProviderFieldKind, f as ClientFrameHandle, fc as PublicationResult, fl as GenerationPreparation, fn as AuthorizationStrategy, fr as CapabilityRegistry, fs as ClientFileDirectory, ft as SandboxedPlan, g as CredentialsService, gc as SqliteStorageResources, gl as PreparedGenerationInputs, gn as SandboxPhysicalHost, gr as SessionContextMaintenance, gs as ClientFileReader, gt as SearchProviderCall, h as CredentialStatus, hc as SandboxBackend, hl as GenerationService, hn as SandboxHost, hr as DelegatedSessionTask, hs as ClientFileObservation, ht as SearchHit, i as ApprovalRequest, ic as LocalInfrastructure, il as GenerationInputFile, in as WebFailureReason, ir as ContextRuntime, it as SandboxAuthorization, j as ModelProviderCall, jc as ClientIoError, jl as PreparedAgentConfiguration, jn as MediaFate, jr as AgentCapabilityHost, js as ExtensionInstallation, jt as SubprocessBytes, k as ModelOffer, kc as NetworkRoute, kl as AgentConfigurationStore, kn as InspectionInput, kr as AgentPromptTexts, ks as ContentEntry, kt as SessionParticipantsService, l as BroadcastFrameHandle, lc as PublicationFailure, ll as GenerationOperation, ln as SessionAdmission, lr as ContextHistoryPolicy, lt as SandboxPlanResult, m as ClientUi, mc as RuntimePlatform, ml as GenerationResultState, mn as PreparedSettingsWrite, mr as DelegatedSessionChange, ms as ClientFileEntry, mt as SearchAvailability, n as ApprovalChoice, nc as HostParsedCommand, nl as GenerationFailure, nn as Web, nr as ContextFramework, nt as ProviderLoginMethod, o as ApprovalSource, oc as PlatformOwnerLease, ol as GenerationInputsService, on as WebOpenResult, or as ContextSessionPolicy, ot as SandboxExecution, p as ClientMethod, pc as PublicationTarget, pl as GenerationRequest, pn as ConfigurationTransactions, pr as AgentModelConfiguration, ps as ClientFileDirectoryStage, pt as Search, q as PreparedModelConnection, qc as ModelCatalogueSource, qn as McpAgentConfig, qr as PtyServiceFactory, qs as FoundationIdentity, qt as ToolRegistration, r as ApprovalDecision, rc as HostPlatform, rl as GenerationFailureCode, rn as WebCheck, rr as ContextRequestObservation, rt as Sandbox, s as AsyncHumanRequestInput, sc as PlatformStorage, sl as GenerationModel, sn as WorkLifecycle, sr as PromptCategoryBytes, st as SandboxPermissions, t as Approval, tc as HostFiles, ti as FileReferenceSource, tl as GenerationCurrent, tn as TriggersService, tr as CredentialVaultRows, tt as ProviderLogin, u as ClientCallContext, uc as PublicationIdentity, ul as GenerationOutputKind, un as SessionRelation, ur as CapabilityRegistration, ut as SandboxRefusalReason, v as DirectShellPlan, vc as Transport, vl as ProviderCatalogVendor, vn as SandboxPathLocator, vr as SessionDelegationObserver, vs as ClientFileSymlinkStage, vt as SearchProviderProbe, w as LoginChallenge, wc as AgentRunCompletion, wl as ReasoningOption, wn as WindowsProxyFacts, wr as AgentCreation, ws as AdmissionHistory, wt as SessionDeliveryService, x as InboxNotice, xc as BackgroundTask, xl as CatalogGeneration, xn as BatchFileVerdict, xr as AgentSessions, xs as ClientFilesFactory, xt as SessionClientFrame, y as ExecutionAuthority, yc as BackgroundByteSource, yl as ToolAvailabilityView, yn as AddressLookup, yr as SessionModelChoices, ys as ClientFiles, yt as SearchProviderType, z as PluginContext, zc as ResourceCall, zl as JsonObject, zn as ModelDispatchPolicy, zr as SessionContextHistory, zs as InstallationPreview, zt as SubprocessStartSpec } from "./index-D_4mmloq.js";
2
- import { $a as RetractChunk, Aa as HumanQuestion, Ba as Contribution, Ca as ToolAwaitHumanResult, Da as ExecContext, Ea as EffectHandler, Fa as HumanTarget, Ga as SessionId, Ia as EffectKind, Ja as ModelChunk, Ka as SessionAddress, La as AssemblyView, Ma as HumanRequest, Mo as ToolUsePart, Na as HumanRequestInput, No as VolatileNote, Oa as HumanAnswer, Pa as HumanRequestKind, Qa as ModelRequestFields, Ra as ContextContributor, So as WidgetSource, To as FileRef, Ut as ModelRef, Xa as ModelPort, Ya as ModelInspection, Za as ModelRequest, _a as Stage, _o as WidgetInstance, aa as CompletedOutcome, bo as WidgetIssueCode, ca as InterruptedOutcome, co as MessageAppendedEvent, do as NextStepInsertedEvent, eo as ToolDefinition, fo as RecordableEvent, ga as ModelNext, go as TurnEndedEvent, ha as ModelMiddleware, ho as TriggerSource, ja as HumanReply, ka as HumanOption, ko as Message, la as Outcome, lo as ModelRepliedEvent, mo as TriggerEvent, no as ContextAssembledEvent, oa as CompletedReason, oo as EffectFailedEvent, po as ToolResultsAddedEvent, qa as FinishReason, sa as FailedOutcome, so as Event, to as CancelledEvent, uo as ModelUsage, va as ToolMiddleware, wa as ToolContentResult, wo as ContentPart, xo as WidgetResultFields, ya as ToolNext, yo as WidgetIssue, za as ContextSlot, zi as MediaLimits } from "./index-Br0Y0fFq.js";
3
- import { $ as ReadingItemQuery, J as ReadingBuildIdentity, K as BoundedItemAction, Q as ReadingItem, X as ReadingCut, Y as ReadingControl, Z as ReadingIdentity, at as ReadingRebasePlan, ct as RewindCaps, dt as RewindPrefixControl, et as ReadingObject, it as ReadingQuery, lt as RewindCommitCredential, nt as ReadingPatch, ot as ReadingStatus, q as BoundedUndoAction, rt as ReadingPublication, st as ReadingStore, tt as ReadingObjectMetadata, ut as RewindInspection } from "./storage-nG0zpW52.js";
4
- import { a as Channel, c as Delivery, i as SubprocessManagerOptions, l as Dispose, n as SecretBoxState, o as ChannelCapabilities, r as SubprocessManager, s as ChannelContext, t as SecretBox } from "./platform-resources-Cyx3HWbC.js";
5
- import { a as FileStoreOptions, c as ImageProblem, d as StagedFile, i as FileStore, l as ImageVariant, n as DetailedImageInfo, o as GeneratedFile, r as FileRefusalKind, s as ImageInfo, t as CommitOptions, u as StageOptions } from "./platform-files-pahy7W9H.js";
6
- export { type ActivationBatchResult, type ActivationConstraints, type AddressLookup, type AddressVerdict, type AdmissionHistory, type AdmissionReceipt, type AgentCapabilityHost, type AgentConfigurationParticipant, type AgentConfigurationRegistration, type AgentConfigurationStore, type AgentContextControl, type AgentCreation, type AgentCreationInput, type AgentDataSchemas, type AgentDefinition, type AgentDefinitionManagement, type AgentDefinitionPatch, type AgentDefinitionSnapshot, type AgentExecution, type AgentExtensionData, type AgentModelConfiguration, type AgentPromptTexts, type AgentRun, type AgentRunCompletion, type AgentRunPlan, type AgentRunRow, type AgentRunRows, type AgentRuns, type AgentSessions, type AgentToolContexts, Approval, ApprovalChoice, ApprovalDecision, ApprovalRequest, ApprovalResult, ApprovalSource, type ArtifactIdentity, type ArtifactReader, type ArtifactRequest, type ArtifactWarning, type AssemblyView, AsyncHumanRequestInput, type AttachmentReader, type AttachmentReference, type AttachmentReferences, type AuthorizationResources, type AuthorizationStrategy, type BackgroundByteSource, type BackgroundComputationPort, type BackgroundTask, type BackgroundTaskPort, type BatchFileVerdict, type BoundedItemAction, type BoundedUndoAction, BroadcastClientFrame, BroadcastFrameHandle, type CallWithRetryOptions, type CancelledEvent, type CapabilityRegistration, type CapabilityRegistries, type CapabilityRegistry, type CatalogEntry, type CatalogGeneration, type Channel, type ChannelCapabilities, type ChannelContext, type ChatCapability, ClientCallContext, type ClientFileDirectory, type ClientFileDirectoryStage, type ClientFileEntry, type ClientFileObservation, type ClientFileReader, type ClientFileStage, type ClientFileSymlinkStage, type ClientFiles, type ClientFilesAvailability, type ClientFilesFactory, ClientFrame, ClientFrameHandle, type ClientIoError, ClientMethod, type ClientResource, type ClientResourceResponse, type ClientStream, type ClientStreamConnection, type ClientStreamContext, type ClientStreamHandle, ClientUi, type CommitOptions, type CompletedOutcome, type CompletedReason, type ConfigurationTransactions, type ContentEntry, type ContentPart, type ContextAssembledEvent, type ContextContributor, type ContextFramework, type ContextHistoryEntry, type ContextHistoryFailure, type ContextHistoryFile, type ContextHistoryPolicy, type ContextMeasurementService, type ContextRequestObservation, type ContextRestoreInput, type ContextRestoreResult, type ContextRuntime, type ContextSearchInput, type ContextSearchResult, type ContextSession, type ContextSessionPolicy, type ContextSlot, type Contribution, CredentialStatus, type CredentialVault, type CredentialVaultRows, CredentialsService, type DelegatedSessionChange, type DelegatedSessionTask, type Delivery, DeliveryWrites, type DependencyNode, type DetailedImageInfo, DirectShellPlan, type Dispose, type EffectFailedEvent, type EffectHandler, type EffectKind, type EffortLevel, type Event, type ExecContext, ExecutionAuthority, type ExtensionInstallation, type ExtensionSelection, type FailedOutcome, type FailureKind, type FailureVerdict, type FileMediaService, type FilePublication, type FileRef, type FileReferenceActions, type FileReferenceDescription, type FileReferenceFormatter, type FileReferenceReader, type FileReferenceSource, type FileRefusalKind, type FileStore, type FileStoreOptions, type FileVariantPolicy, type FinishReason, type FoundationIdentity, type GatewayPlatform, type GeneratedAsset, type GeneratedFile, type GenerationArtifactAuthorization, type GenerationCapability, type GenerationConnection, type GenerationCurrent, type GenerationFailure, type GenerationFailureCode, type GenerationInputFile, type GenerationInputSelectors, type GenerationInputsService, type GenerationModel, type GenerationModelSummary, type GenerationOperation, type GenerationOutputKind, type GenerationPort, type GenerationPreparation, type GenerationRequest, type GenerationResultState, type GenerationRuntime, type GenerationService, type HopRequest, type HopResponse, type HostAsyncFiles, type HostCommandInspection, type HostCommands, type HostEnvironmentPolicy, type HostFiles, type HostIdentity, type HostIdentityService, HostModelPort, type HostParsedCommand, type HostPlatform, type HostRequirements, type HumanAnswer, type HumanOption, type HumanQuestion, type HumanReply, type HumanRequest, type HumanRequestInput, type HumanRequestKind, type HumanTarget, type ImageInfo, type ImageProblem, type ImageResourceInfo, type ImageResourceVariant, type ImageVariant, InboxNotice, InboxNotifier, type InspectionInput, type InstallationAttemptContext, type InstallationBatchRequest, type InstallationObservation, type InstallationOperation, type InstallationPreview, type InstallationRequest, type InterruptedOutcome, type JsonObject, type JsonValue, type LocalInfrastructure, LocalNetworkPermission, LoginChallenge, LoginCredential, LoginFailure, LoginFailureCode, LoginResult, type McpAgentConfig, type McpSelectionStorage, type MediaContext, type MediaFate, type MediaLimits, type MediaPlan, type Message, type MessageAppendedEvent, type MessageTextRenderer, type ModelCapacity, type ModelCataloguePolicy, type ModelCatalogueSnapshot, type ModelCatalogueSource, type ModelChunk, type ModelDeclarationViews, type ModelDispatchPolicy, type ModelEntryResolution, type ModelInputs, type ModelInspection, type ModelMiddleware, type ModelNext, ModelOffer, type ModelPort, type ModelPortSecurity, ModelProtocolType, ModelProviderCall, ModelProviderConnection, ModelProviderEndpoint, ModelProviderProbe, ModelProviderType, type ModelRef, type ModelRepliedEvent, type ModelRequest, type ModelRequestFields, type ModelRuntime, type ModelSessionPolicy, type ModelSupportService, type ModelUsage, Network, type NetworkProxyHost, type NetworkRoute, type NetworkRouting, type NextStepInsertedEvent, type Outcome, type PackageArtifacts, type PackageContent, ParticipantChange, type PlannedFile, type PlatformNetwork, type PlatformOwnerLease, type PlatformStorage, type PlatformTarget, type PlatformValidation, Plugin, PluginContext, type PluginDependencies, PluginEffectKind, PluginLog, PluginStorage, PluginToolContentResult, PluginToolResult, PrepareModelConnectionInput, PrepareModelParamsInput, type PreparedAgentConfiguration, type PreparedAgentConfigurationSave, type PreparedArtifact, type PreparedGenerationInputs, PreparedModelConnection, PreparedModelParams, type PreparedSettingsWrite, PreparedShellExecution, type PromptCategoryBytes, ProtocolProcess, ProtocolProcessStart, ProtocolProcesses, type ProviderCatalogContribution, type ProviderCatalogVendor, ProviderField, ProviderFieldKind, ProviderLogin, ProviderLoginMethod, type ProviderLoginState, type PtyAvailability, type PtyCleanupResult, type PtyCleanupScope, type PtyExit, type PtyHandle, type PtyOutput, type PtyService, type PtyServiceFactory, type PtySpawnOptions, type PublicationFailure, type PublicationIdentity, type PublicationObservation, type PublicationResult, type PublicationTarget, type ReadableRejection, type ReadableSource, type ReadableSourceHandle, type ReadableSourceView, type ReadableTarget, type ReadingBuildIdentity, type ReadingControl, type ReadingCut, type ReadingIdentity, type ReadingItem, type ReadingItemQuery, type ReadingObject, type ReadingObjectMetadata, type ReadingPatch, type ReadingPublication, type ReadingQuery, type ReadingRebasePlan, type ReadingStatus, type ReadingStore, type ReasoningOption, type RecordableEvent, type ResolveParamsInput, type ResolvedParams, type ResourceByteMetadata, type ResourceCall, type ResourceRangeRequest, type ResourceResult, type ResourceSecurity, type RetractChunk, type RewindCaps, type RewindCommitCredential, type RewindInspection, type RewindPrefixControl, type RuntimePlatform, Sandbox, SandboxAuthorization, SandboxAvailability, type SandboxBackend, SandboxExecution, type SandboxHost, type SandboxPathLocator, SandboxPermissions, type SandboxPhysicalHost, SandboxPlan, SandboxPlanResult, type SandboxReadableView, type SandboxReadables, SandboxRefusalReason, SandboxRequest, SandboxedPlan, Search, SearchAvailability, SearchHit, SearchProviderCall, SearchProviderConnection, SearchProviderProbe, SearchProviderType, SearchRequest, type SecretBox, type SecretBoxState, type SessionAddress, type SessionAdmission, SessionClientFrame, SessionContext, type SessionContextHistory, type SessionContextMaintenance, type SessionContextMaintenanceResult, type SessionDelegationObserver, SessionDeliveryInput, SessionDeliveryService, SessionFrameHandle, type SessionId, type SessionModelChoices, type SessionModelControls, SessionNotesResult, SessionNotesService, SessionNotice, SessionParticipantsService, type SessionRelation, type SettingsParticipant, type SqliteStorageResources, type Stage, type StageOptions, type StagedFile, type StdFs, type StoredParams, type StyleFacts, Subprocess, SubprocessBytes, SubprocessEnding, SubprocessHandle, SubprocessHeld, SubprocessLogs, type SubprocessManager, type SubprocessManagerOptions, SubprocessRead, SubprocessRecord, SubprocessStartFailure, SubprocessStartSpec, SubprocessState, SubprocessStreamWindow, SubprocessWindow, type ToolAvailabilityView, type ToolAwaitHumanResult, type ToolContentResult, type ToolDefinition, ToolExecContext, ToolFile, ToolGuidance, ToolGuidanceEntry, type ToolMiddleware, type ToolNext, ToolRegistration, ToolResult, type ToolResultsAddedEvent, type ToolUsePart, type Transport, TriggerDefinitionInput, TriggerDefinitionView, type TriggerEvent, TriggerOutcome, TriggerRunKind, type TriggerSource, TriggerSourceHost, TriggerSourceRegistration, TriggersService, type TurnEndedEvent, type VendorEndpointFacts, type VolatileNote, Web, WebCheck, WebFailureReason, WebOpenRequest, WebOpenResult, type WidgetInput, type WidgetInstance, type WidgetIssue, type WidgetIssueCode, type WidgetRegistration, type WidgetRegistry, type WidgetResultFields, type WidgetSource, type WindowsProxyFacts, WorkLifecycle, type WorkspaceRoot, type WorkspaceRootSnapshot, type WorkspaceRoots };
1
+ import { $ as ProtocolProcesses, $d as ChatCapability, $f as SandboxReadableView, $l as PlatformStorage, $n as ResolveParamsInput, $r as SessionContextMaintenance, $t as ToolRegistrationFields, $u as InstallationPreview, A as ModelOffer, Ad as PerformanceObserver, Af as ModelCatalogueSource, Ai as PtyCleanupResult, Al as ModelFailureFactory, An as ResponsesRequestOptions, Ar as ContextRequestObservation, At as SessionNotice, Au as OwnerOperationKey, B as Plugin, Bd as LogSpan, Bf as ReasoningOption, Bi as WorkspaceRoots, Bl as GatewayPlatform, Bn as NetworkProxyHost, Br as QueryResourceLease, Bt as SubprocessStartFailure, Bu as ArtifactIdentity, C as InboxNotifier, Cd as SandboxDiagnostics, Cf as ModelExecutionValidationInput, Ci as ContextSearchInput, Cl as ResourceCall, Cn as SandboxHost, Cr as FenceManyVerdict, Ct as SessionClientFrame, Cu as AgentRuns, D as LoginFailure, Dd as EffortCachePlan, Df as ProviderCatalogVendor, Di as OwnerSessionContext, Dl as AttachmentReference, Dn as InputItem, Dr as FileAccessInspection, Dt as SessionFrameHandle, Du as ExternalOperationRecovery, E as LoginCredential, Ed as EffortCacheInput, Ef as ProviderCatalogContribution, Ei as OwnerContextPreparation, El as AttachmentReader, En as SandboxPathLocator, Er as FenceVerdict, Et as SessionDeliveryService, Eu as ExternalOperationReceipt, F as ModelProviderEndpoint, Fd as LogFailure, Ff as ModelCapabilities, Fi as PtyService, Fl as HostUnitOfWork, Fn as ProjectInstructions, Fr as QueryCleanupCause, Ft as SubprocessHandle, Fu as NetworkRouting, G as PluginToolResult, Gd as ModelBindingLease, Gf as AgentConfigurationStore, Gl as HostCommands, Gn as FailureVerdict, Gr as AgentContextControl, Gt as ToolCatalogAllowance, Gu as ExtensionInstallation, H as PluginEffectKind, Hd as CapabilityBindingInput, Hf as VendorEndpointFacts, Hi as FileReferenceDescription, Hl as HopResponse, Hn as CallWithRetryOptions, Hr as QueryResourceReservation, Ht as SubprocessState, Hu as ArtifactWarning, I as ModelProviderProbe, Id as LogFields, If as ModelCapabilityKey, Ii as PtyServiceFactory, Il as UnitOfWorkScope, In as RuleAttachment, Ir as QueryCleanupReport, It as SubprocessHeld, Iu as ActivationBatchResult, J as PreparedModelConnection, Jd as ModelCapabilityId, Jf as ReadableRejection, Jl as HostParsedCommand, Jn as MediaFate, Jr as CapabilityRegistries, Jt as ToolGuidance, Ju as HostRequirements, K as PrepareModelConnectionInput, Kd as ModelBindingRef, Kf as AgentExtensionData, Kl as HostEnvironmentPolicy, Kn as InspectionInput, Kr as ContextHistoryPolicy, Kt as ToolExecContext, Ku as ExtensionSelection, L as ModelProviderType, Ld as LogLevel, Lf as ModelCatalogueSnapshot, Li as PtySpawnOptions, Ln as RuleContact, Lr as QueryCleanupRequest, Lt as SubprocessLogs, Lu as ActivationConstraints, M as ModelProviderCall, Md as HostLog, Mf as CapabilitySources, Mi as PtyExit, Ml as CredentialClearItem, Mn as AddressVerdict, Mr as ContextSession, Mt as Subprocess, Mu as OwnerOperationRows, N as ModelProviderCapability, Nd as LogBinding, Nf as CatalogEntry, Ni as PtyHandle, Nl as CredentialVault, Nn as BatchFileVerdict, Nr as ContextSessionPolicy, Nt as SubprocessBytes, Nu as OwnerOperations, O as LoginFailureCode, Od as EffortCacheUpdate, Of as ToolAvailabilityView, Oi as OwnerStateCommit, Ol as AttachmentReferences, On as ResponsesBody, Or as ContextFramework, Ot as SessionNotesResult, Ou as OwnerOperationCleanup, P as ModelProviderConnection, Pd as LogDrainResult, Pf as CatalogGeneration, Pi as PtyOutput, Pl as CredentialVaultRows, Pn as ResourceSecurity, Pr as PromptCategoryBytes, Pt as SubprocessEnding, Pu as NetworkRoute, Q as ProtocolProcessStart, Qd as ArtifactReader, Qf as ReadableTarget, Ql as PlatformOwnerLease, Qn as PlannedFile, Qr as DelegatedSessionTask, Qt as ToolRegistration, Qu as InstallationOperation, R as Network, Rd as LogOutcome, Rf as OutputLimitPolicy, Ri as WorkspaceRoot, Rl as FilePublication, Rn as RuleFailure, Rr as QueryResourceHeld, Rt as SubprocessRead, Ru as AdmissionHistory, S as InboxNotice, Sd as ProcessFailureSnapshot, Sf as ModelExecutionSelection, Si as ContextRestoreResult, Sl as ResourceByteMetadata, Sn as PreparedSettingsWrite, Sr as FenceManyInput, St as SearchRequest, Su as AgentRunStatus, T as LoginChallenge, Td as EffortCacheCapability, Tf as PreparedGenerationInputs, Ti as SessionContextHistory, Tl as ResourceResult, Tn as SettingsParticipant, Tr as FenceRoots, Tt as SessionDeliveryInput, Tu as BulkTransactions, U as PluginStorage, Ud as CapabilityBindingRuntime, Uf as AgentConfigurationParticipant, Ui as FileReferenceReader, Ul as HostAsyncFiles, Un as EffortLevel, Ur as QueryResourceSnapshot, Ut as SubprocessStreamWindow, Uu as ContentEntry, V as PluginContext, Vd as PluginLog, Vf as StyleFacts, Vi as FileReferenceActions, Vl as HopRequest, Vn as WindowsProxyFacts, Vr as QueryResourcePolicy, Vt as SubprocessStartSpec, Vu as ArtifactRequest, W as PluginToolContentResult, Wd as CapabilityChannelInput, Wf as AgentConfigurationRegistration, Wi as FileReferenceSource, Wl as HostCommandInspection, Wn as FailureKind, Wr as QueryResources, Wt as SubprocessWindow, Wu as DependencyNode, X as PreparedShellExecution, Xd as ModelToolPolicy, Xf as ReadableSourceHandle, Xl as LocalInfrastructure, Xn as ModelCapacity, Xr as AgentModelConfiguration, Xt as ToolOutputAllowance, Xu as InstallationBatchRequest, Y as PreparedModelParams, Yd as ModelManagementService, Yf as ReadableSource, Yl as HostPlatform, Yn as MediaPlan, Yr as CapabilityRegistry, Yt as ToolGuidanceEntry, Yu as InstallationAttemptContext, Z as ProtocolProcess, Zd as PublicBindingContext, Zf as ReadableSourceView, Zl as PlatformNetwork, Zn as ModelSupportService, Zr as DelegatedSessionChange, Zt as ToolOutputPolicySnapshot, Zu as InstallationObservation, _ as DeliveryWrites, _d as PathIdentityToken, _f as GenerationRequest, _i as AgentCapabilityHost, _l as ClientResourceResponse, _n as SessionAdmission, _p as PluginDependencies, _r as FileMediaService, _t as SearchHit, _u as AgentRunPlan, a as ApprovalResult, aa as HostFileReader, ad as AuthorizationResourceReceipts, af as GenerationCurrent, ai as SessionCreateOptions, al as ClientFileDirectoryStage, an as TriggerSourceHost, ap as ToolExposureView, ar as GenerationRuntime, at as Sandbox, au as PublicationTarget, b as ExecutionAuthority, bd as PreparedLaunchScope, bf as ModelExecutionCandidate, bi as ContextHistoryFile, bl as ClientStreamContext, bn as AuthorizationStrategy, br as ImageResourceVariant, bt as SearchProviderProbe, bu as AgentRunRow, c as BroadcastClientFrame, cd as ResourceAuthorizationSnapshot, cf as GenerationInputFile, ci as PreparedAgentConfigurationSave, cl as ClientFileReader, cn as Web, cp as ToolDelivery, cr as ModelInputs, ct as SandboxExecution, cu as SqliteStorageResources, d as ClientFrame, dd as SandboxPresetSummary, df as GenerationModel, di as AgentDefinition, dl as ClientFileSymlinkStage, dn as WebObservation, dp as JsonObject, dr as HostIdentityService, dt as SandboxPlanResult, du as BackgroundByteSource, ed as InstallationRequest, ef as ConfiguredModelExecution, ei as SessionContextMaintenanceResult, el as OwnerContextOrigin, en as ToolResult, ep as SandboxReadables, er as ResolvedParams, et as ProviderField, eu as PlatformValidation, f as ClientFrameHandle, fd as WorkspaceDirectoryNote, ff as GenerationModelSummary, fi as AgentDefinitionPatch, fl as ClientFiles, fn as WebOpenRequest, fr as FileObservation, ft as SandboxRefusalReason, fu as BackgroundComputationPort, g as CredentialsService, gd as FailurePathCandidate, gf as GenerationPreparation, gi as AgentDataSchemas, gl as ClientResource, gn as SessionWorkingDirectory, gp as WidgetRegistry, gr as ReadLineRange, gt as SearchAvailability, gu as AgentRunCompletion, h as CredentialStatus, hd as FailureAuthorizationHandle, hf as GenerationPort, hi as AgentPromptTexts, hl as ClientIoError, hn as AgentToolContexts, hp as WidgetRegistration, hr as ReadCoverage, ht as Search, hu as AgentRun, i as ApprovalRequest, ia as HostFileReadHandle, id as PreparedArtifact, if as GenerationConnection, ii as AgentSessions, il as ClientFileDirectory, in as TriggerRunKind, ip as ToolExposurePolicy, ir as ModelPortSecurity, it as RoutedToolRegistration, iu as PublicationResult, j as ModelProtocolType, jd as PerformanceTelemetry, jf as ModelEntryResolution, ji as PtyCleanupScope, jl as ModelFailureInput, jn as AddressLookup, jr as ContextRuntime, jt as SessionParticipantsService, ju as OwnerOperationRow, k as LoginResult, kd as PerformanceObservation, kf as ModelCataloguePolicy, ki as PtyAvailability, kl as AgentExecution, kn as ResponsesCodec, kr as ContextObservationIdentity, kt as SessionNotesService, ku as OwnerOperationInput, l as BroadcastFrameHandle, ld as ResourceReceiptClaim, lf as GenerationInputSelectors, li as AgentCreation, ll as ClientFileScratch, ln as WebCheck, lp as ToolDeliveryObserver, lr as McpAgentConfig, lt as SandboxPermissions, lu as StdFs, m as ClientUi, md as DenialSnapshot, mf as GenerationOutputKind, mi as AgentDefinitionSummary, ml as ClientFilesFactory, mn as WorkLifecycle, mp as WidgetInput, mr as FileReadObservation, mt as SandboxedPlan, mu as BackgroundTaskPort, n as ApprovalChoice, nd as PackageContent, nf as GenerationArtifactAuthorization, ni as SessionModelChoices, nl as FileReferenceFormatter, nn as TriggerDefinitionView, np as ToolCatalogEntry, nr as ModelDispatchPolicy, nt as ProviderLogin, nu as PublicationIdentity, o as ApprovalSource, od as ResourceAuthorizationAdmission, of as GenerationFailure, oi as SessionCreationReceipt, ol as ClientFileEntry, on as TriggerSourceRegistration, op as CommittedToolDelivery, or as ModelRuntime, ot as SandboxAuthorization, ou as RuntimePlatform, p as ClientMethod, pd as DenialCollector, pf as GenerationOperation, pi as AgentDefinitionSnapshot, pl as ClientFilesAvailability, pn as WebOpenResult, pp as MessageTextRenderer, pr as FileObservations, pt as SandboxRequest, pu as BackgroundTask, q as PrepareModelParamsInput, qd as ModelCapabilityDefinition, qf as PreparedAgentConfiguration, ql as HostFiles, qn as MediaContext, qr as CapabilityRegistration, qt as ToolFile, qu as HostIdentity, r as ApprovalDecision, ra as FileReaderCloseResult, rd as PlatformTarget, rf as GenerationCapability, ri as SessionModelControls, rl as ClientDirectoryListing, rn as TriggerOutcome, rp as ToolCatalogSnapshot, rr as ModelSessionPolicy, rt as ProviderLoginMethod, ru as PublicationObservation, s as AsyncHumanRequestInput, sd as ResourceAuthorizationScope, sf as GenerationFailureCode, si as AgentDefinitionManagement, sl as ClientFileObservation, sn as TriggersService, sp as SessionSkillReadables, sr as ContextMeasurementService, st as SandboxAvailability, su as SandboxBackend, t as Approval, td as PackageArtifacts, tf as GeneratedAsset, ti as SessionDelegationObserver, tl as OwnerContextReading, tn as TriggerDefinitionInput, tp as ToolCatalog, tr as StoredParams, tt as ProviderFieldKind, tu as PublicationFailure, u as ClientCallContext, ud as ResourceValidationLease, uf as GenerationInputsService, ui as AgentCreationInput, ul as ClientFileStage, un as WebFailureReason, up as ToolDeliveryTicket, ur as McpSelectionStorage, ut as SandboxPlan, uu as Transport, v as DirectShellPlan, vd as PathObservation, vf as GenerationResultState, vi as ContextHistoryEntry, vl as ClientStream, vn as SessionRelation, vr as FileVariantPolicy, vt as SearchProviderCall, vu as AgentRunResultPage, w as LocalNetworkPermission, wd as SandboxDiagnosticsLease, wf as ModelListingResult, wi as ContextSearchResult, wl as ResourceRangeRequest, wn as SandboxPhysicalHost, wr as FencePathIdentity, wt as SessionContext, wu as BulkTransactionParticipant, x as HostModelPort, xd as ProcessFailureInput, xf as ModelExecutionContext, xi as ContextRestoreInput, xl as ClientStreamHandle, xn as ConfigurationTransactions, xr as FenceMany, xt as SearchProviderType, xu as AgentRunRows, y as ExecutableToolRegistration, yd as PathObservationLease, yf as GenerationService, yi as ContextHistoryFailure, yl as ClientStreamConnection, yn as AuthorizationResources, yr as ImageResourceInfo, yt as SearchProviderConnection, yu as AgentRunResultSource, z as ParticipantChange, zd as LogRecordInput, zf as ProviderLoginState, zi as WorkspaceRootSnapshot, zl as FoundationIdentity, zn as RuleLocation, zr as QueryResourceItem, zt as SubprocessRecord, zu as AdmissionReceipt } from "./index-BfcuiGSv.js";
2
+ import { $a as FailedOutcome, $o as WidgetResultFields, Aa as ModelNext, Ao as SessionId, Ba as HumanAnswer, Bo as ModelUsage, Ci as MediaLimits, Co as RetractChunk, Cs as ChannelCapabilities, Es as Dispose, Fa as ToolAwaitHumanResult, Ga as HumanRequestInput, Go as TriggerEvent, Ha as HumanQuestion, Ia as ToolContentResult, Io as EffectFailedEvent, Ja as EffectKind, Jo as JsonValue, Jt as ModelRef, Ka as HumanRequestKind, Ko as TriggerSource, Lo as Event, Ma as ToolMiddleware, Mo as ContextAssembledEvent, Na as ToolNext, Qo as WidgetIssueCode, Ra as EffectHandler, Ro as MessageAppendedEvent, So as ModelRequestFields, Ss as Channel, To as ModelFailure, Ts as Delivery, Ua as HumanReply, Uo as RecordableEvent, Va as HumanOption, Vo as NextStepInsertedEvent, Wa as HumanRequest, Wo as ToolResultsAddedEvent, Xa as CompletedReason, Ya as CompletedOutcome, Yo as WidgetInstance, Zo as WidgetIssue, _o as ModelObservation, ao as ContextSlot, bo as ModelPort, cs as Message, do as SessionAddress, ds as RequiredContextBlock, eo as InterruptedOutcome, es as WidgetSource, fo as OwnerContextEntry, fs as SavedRequiredContextBlock, go as ModelInspection, ho as ModelDispatchReceipt, hs as VolatileNote, io as ContextContributor, ja as Stage, jo as CancelledEvent, ka as ModelMiddleware, mo as ModelDispatchObserver, ms as ToolUsePart, ns as ContentPart, oo as Contribution, po as ModelChunk, qa as HumanTarget, qo as TurnEndedEvent, ro as AssemblyView, rs as FileRef, ss as FinishReason, to as Outcome, v as BatchResults, vo as ModelOutputAsset, w as CommittedOperation, wo as ToolDefinition, ws as ChannelContext, xo as ModelRequest, yo as ModelOutputSink, za as ExecContext, zo as ModelRepliedEvent } from "./index-q05Kl0E4.js";
3
+ import { a as FileStoreOptions, c as ImageProblem, d as StagedFile, i as FileStore, l as ImageVariant, n as DetailedImageInfo, o as GeneratedFile, r as FileRefusalKind, s as ImageInfo, t as CommitOptions, u as StageOptions } from "./platform-files-CNRvCu92.js";
4
+ import { $ as ReadingQuery, G as ReadingCut, H as BoundedUndoAction, J as ReadingItemQuery, K as ReadingIdentity, Q as ReadingPublication, U as ReadingBuildIdentity, V as BoundedItemAction, W as ReadingControl, X as ReadingObjectMetadata, Y as ReadingObject, Z as ReadingPatch, at as RewindInspection, et as ReadingRebasePlan, it as RewindCommitCredential, nt as ReadingStore, ot as RewindPrefixControl, q as ReadingItem, rt as RewindCaps, tt as ReadingStatus } from "./storage-CAlzxnZK.js";
5
+ import { SecretBox, SecretBoxState, SubprocessManager, SubprocessManagerOptions } from "./platform-resources.js";
6
+ export { type ActivationBatchResult, type ActivationConstraints, type AddressLookup, type AddressVerdict, type AdmissionHistory, type AdmissionReceipt, type AgentCapabilityHost, type AgentConfigurationParticipant, type AgentConfigurationRegistration, type AgentConfigurationStore, type AgentContextControl, type AgentCreation, type AgentCreationInput, type AgentDataSchemas, type AgentDefinition, type AgentDefinitionManagement, type AgentDefinitionPatch, type AgentDefinitionSnapshot, type AgentDefinitionSummary, type AgentExecution, type AgentExtensionData, type AgentModelConfiguration, type AgentPromptTexts, type AgentRun, type AgentRunCompletion, type AgentRunPlan, type AgentRunResultPage, type AgentRunResultSource, type AgentRunRow, type AgentRunRows, type AgentRunStatus, type AgentRuns, type AgentSessions, type AgentToolContexts, Approval, ApprovalChoice, ApprovalDecision, ApprovalRequest, ApprovalResult, ApprovalSource, type ArtifactIdentity, type ArtifactReader, type ArtifactRequest, type ArtifactWarning, type AssemblyView, AsyncHumanRequestInput, type AttachmentReader, type AttachmentReference, type AttachmentReferences, type AuthorizationResourceReceipts, type AuthorizationResources, type AuthorizationStrategy, type BackgroundByteSource, type BackgroundComputationPort, type BackgroundTask, type BackgroundTaskPort, type BatchFileVerdict, type BatchResults, type BoundedItemAction, type BoundedUndoAction, BroadcastClientFrame, BroadcastFrameHandle, type BulkTransactionParticipant, type BulkTransactions, type CallWithRetryOptions, type CancelledEvent, type CapabilityBindingInput, type CapabilityBindingRuntime, type CapabilityChannelInput, type CapabilityRegistration, type CapabilityRegistries, type CapabilityRegistry, type CapabilitySources, type CatalogEntry, type CatalogGeneration, type Channel, type ChannelCapabilities, type ChannelContext, type ChatCapability, ClientCallContext, type ClientDirectoryListing, type ClientFileDirectory, type ClientFileDirectoryStage, type ClientFileEntry, type ClientFileObservation, type ClientFileReader, type ClientFileScratch, type ClientFileStage, type ClientFileSymlinkStage, type ClientFiles, type ClientFilesAvailability, type ClientFilesFactory, ClientFrame, ClientFrameHandle, type ClientIoError, ClientMethod, type ClientResource, type ClientResourceResponse, type ClientStream, type ClientStreamConnection, type ClientStreamContext, type ClientStreamHandle, ClientUi, type CommitOptions, type CommittedOperation, type CommittedToolDelivery, type CompletedOutcome, type CompletedReason, type ConfigurationTransactions, type ConfiguredModelExecution, type ContentEntry, type ContentPart, type ContextAssembledEvent, type ContextContributor, type ContextFramework, type ContextHistoryEntry, type ContextHistoryFailure, type ContextHistoryFile, type ContextHistoryPolicy, type ContextMeasurementService, type ContextObservationIdentity, type ContextRequestObservation, type ContextRestoreInput, type ContextRestoreResult, type ContextRuntime, type ContextSearchInput, type ContextSearchResult, type ContextSession, type ContextSessionPolicy, type ContextSlot, type Contribution, type CredentialClearItem, CredentialStatus, type CredentialVault, type CredentialVaultRows, CredentialsService, type DelegatedSessionChange, type DelegatedSessionTask, type Delivery, DeliveryWrites, type DenialCollector, type DenialSnapshot, type DependencyNode, type DetailedImageInfo, DirectShellPlan, type Dispose, type EffectFailedEvent, type EffectHandler, type EffectKind, type EffortCacheCapability, type EffortCacheInput, type EffortCachePlan, type EffortCacheUpdate, type EffortLevel, type Event, type ExecContext, ExecutableToolRegistration, ExecutionAuthority, type ExtensionInstallation, type ExtensionSelection, type ExternalOperationReceipt, type ExternalOperationRecovery, type FailedOutcome, type FailureAuthorizationHandle, type FailureKind, type FailurePathCandidate, type FailureVerdict, type FenceMany, type FenceManyInput, type FenceManyVerdict, type FencePathIdentity, type FenceRoots, type FenceVerdict, type FileAccessInspection, type FileMediaService, type FileObservation, type FileObservations, type FilePublication, type FileReadObservation, type FileReaderCloseResult, type FileRef, type FileReferenceActions, type FileReferenceDescription, type FileReferenceFormatter, type FileReferenceReader, type FileReferenceSource, type FileRefusalKind, type FileStore, type FileStoreOptions, type FileVariantPolicy, type FinishReason, type FoundationIdentity, type GatewayPlatform, type GeneratedAsset, type GeneratedFile, type GenerationArtifactAuthorization, type GenerationCapability, type GenerationConnection, type GenerationCurrent, type GenerationFailure, type GenerationFailureCode, type GenerationInputFile, type GenerationInputSelectors, type GenerationInputsService, type GenerationModel, type GenerationModelSummary, type GenerationOperation, type GenerationOutputKind, type GenerationPort, type GenerationPreparation, type GenerationRequest, type GenerationResultState, type GenerationRuntime, type GenerationService, type HopRequest, type HopResponse, type HostAsyncFiles, type HostCommandInspection, type HostCommands, type HostEnvironmentPolicy, type HostFileReadHandle, type HostFileReader, type HostFiles, type HostIdentity, type HostIdentityService, type HostLog, HostModelPort, type HostParsedCommand, type HostPlatform, type HostRequirements, type HostUnitOfWork, type HumanAnswer, type HumanOption, type HumanQuestion, type HumanReply, type HumanRequest, type HumanRequestInput, type HumanRequestKind, type HumanTarget, type ImageInfo, type ImageProblem, type ImageResourceInfo, type ImageResourceVariant, type ImageVariant, InboxNotice, InboxNotifier, type InputItem, type InspectionInput, type InstallationAttemptContext, type InstallationBatchRequest, type InstallationObservation, type InstallationOperation, type InstallationPreview, type InstallationRequest, type InterruptedOutcome, type JsonObject, type JsonValue, type LocalInfrastructure, LocalNetworkPermission, type LogBinding, type LogDrainResult, type LogFailure, type LogFields, type LogLevel, type LogOutcome, type LogRecordInput, type LogSpan, LoginChallenge, LoginCredential, LoginFailure, LoginFailureCode, LoginResult, type McpAgentConfig, type McpSelectionStorage, type MediaContext, type MediaFate, type MediaLimits, type MediaPlan, type Message, type MessageAppendedEvent, type MessageTextRenderer, type ModelBindingLease, type ModelBindingRef, type ModelCapabilities, type ModelCapabilityDefinition, type ModelCapabilityId, type ModelCapabilityKey, type ModelCapacity, type ModelCataloguePolicy, type ModelCatalogueSnapshot, type ModelCatalogueSource, type ModelChunk, type ModelDispatchObserver, type ModelDispatchPolicy, type ModelDispatchReceipt, type ModelEntryResolution, type ModelExecutionCandidate, type ModelExecutionContext, type ModelExecutionSelection, type ModelExecutionValidationInput, type ModelFailure, type ModelFailureFactory, type ModelFailureInput, type ModelInputs, type ModelInspection, type ModelListingResult, type ModelManagementService, type ModelMiddleware, type ModelNext, type ModelObservation, ModelOffer, type ModelOutputAsset, type ModelOutputSink, type ModelPort, type ModelPortSecurity, ModelProtocolType, ModelProviderCall, ModelProviderCapability, ModelProviderConnection, ModelProviderEndpoint, ModelProviderProbe, ModelProviderType, type ModelRef, type ModelRepliedEvent, type ModelRequest, type ModelRequestFields, type ModelRuntime, type ModelSessionPolicy, type ModelSupportService, type ModelToolPolicy, type ModelUsage, Network, type NetworkProxyHost, type NetworkRoute, type NetworkRouting, type NextStepInsertedEvent, type Outcome, type OutputLimitPolicy, type OwnerContextEntry, type OwnerContextOrigin, type OwnerContextPreparation, type OwnerContextReading, type OwnerOperationCleanup, type OwnerOperationInput, type OwnerOperationKey, type OwnerOperationRow, type OwnerOperationRows, type OwnerOperations, type OwnerSessionContext, type OwnerStateCommit, type PackageArtifacts, type PackageContent, ParticipantChange, type PathIdentityToken, type PathObservation, type PathObservationLease, type PerformanceObservation, type PerformanceObserver, type PerformanceTelemetry, type PlannedFile, type PlatformNetwork, type PlatformOwnerLease, type PlatformStorage, type PlatformTarget, type PlatformValidation, Plugin, PluginContext, type PluginDependencies, PluginEffectKind, type PluginLog, PluginStorage, PluginToolContentResult, PluginToolResult, PrepareModelConnectionInput, PrepareModelParamsInput, type PreparedAgentConfiguration, type PreparedAgentConfigurationSave, type PreparedArtifact, type PreparedGenerationInputs, type PreparedLaunchScope, PreparedModelConnection, PreparedModelParams, type PreparedSettingsWrite, PreparedShellExecution, type ProcessFailureInput, type ProcessFailureSnapshot, type ProjectInstructions, type PromptCategoryBytes, ProtocolProcess, ProtocolProcessStart, ProtocolProcesses, type ProviderCatalogContribution, type ProviderCatalogVendor, ProviderField, ProviderFieldKind, ProviderLogin, ProviderLoginMethod, type ProviderLoginState, type PtyAvailability, type PtyCleanupResult, type PtyCleanupScope, type PtyExit, type PtyHandle, type PtyOutput, type PtyService, type PtyServiceFactory, type PtySpawnOptions, type PublicBindingContext, type PublicationFailure, type PublicationIdentity, type PublicationObservation, type PublicationResult, type PublicationTarget, type QueryCleanupCause, type QueryCleanupReport, type QueryCleanupRequest, type QueryResourceHeld, type QueryResourceItem, type QueryResourceLease, type QueryResourcePolicy, type QueryResourceReservation, type QueryResourceSnapshot, type QueryResources, type ReadCoverage, type ReadLineRange, type ReadableRejection, type ReadableSource, type ReadableSourceHandle, type ReadableSourceView, type ReadableTarget, type ReadingBuildIdentity, type ReadingControl, type ReadingCut, type ReadingIdentity, type ReadingItem, type ReadingItemQuery, type ReadingObject, type ReadingObjectMetadata, type ReadingPatch, type ReadingPublication, type ReadingQuery, type ReadingRebasePlan, type ReadingStatus, type ReadingStore, type ReasoningOption, type RecordableEvent, type RequiredContextBlock, type ResolveParamsInput, type ResolvedParams, type ResourceAuthorizationAdmission, type ResourceAuthorizationScope, type ResourceAuthorizationSnapshot, type ResourceByteMetadata, type ResourceCall, type ResourceRangeRequest, type ResourceReceiptClaim, type ResourceResult, type ResourceSecurity, type ResourceValidationLease, type ResponsesBody, type ResponsesCodec, type ResponsesRequestOptions, type RetractChunk, type RewindCaps, type RewindCommitCredential, type RewindInspection, type RewindPrefixControl, RoutedToolRegistration, type RuleAttachment, type RuleContact, type RuleFailure, type RuleLocation, type RuntimePlatform, Sandbox, SandboxAuthorization, SandboxAvailability, type SandboxBackend, type SandboxDiagnostics, type SandboxDiagnosticsLease, SandboxExecution, type SandboxHost, type SandboxPathLocator, SandboxPermissions, type SandboxPhysicalHost, SandboxPlan, SandboxPlanResult, type SandboxPresetSummary, type SandboxReadableView, type SandboxReadables, SandboxRefusalReason, SandboxRequest, SandboxedPlan, type SavedRequiredContextBlock, Search, SearchAvailability, SearchHit, SearchProviderCall, SearchProviderConnection, SearchProviderProbe, SearchProviderType, SearchRequest, type SecretBox, type SecretBoxState, type SessionAddress, type SessionAdmission, SessionClientFrame, SessionContext, type SessionContextHistory, type SessionContextMaintenance, type SessionContextMaintenanceResult, type SessionCreateOptions, type SessionCreationReceipt, type SessionDelegationObserver, SessionDeliveryInput, SessionDeliveryService, SessionFrameHandle, type SessionId, type SessionModelChoices, type SessionModelControls, SessionNotesResult, SessionNotesService, SessionNotice, SessionParticipantsService, type SessionRelation, type SessionSkillReadables, type SessionWorkingDirectory, type SettingsParticipant, type SqliteStorageResources, type Stage, type StageOptions, type StagedFile, type StdFs, type StoredParams, type StyleFacts, Subprocess, SubprocessBytes, SubprocessEnding, SubprocessHandle, SubprocessHeld, SubprocessLogs, type SubprocessManager, type SubprocessManagerOptions, SubprocessRead, SubprocessRecord, SubprocessStartFailure, SubprocessStartSpec, SubprocessState, SubprocessStreamWindow, SubprocessWindow, type ToolAvailabilityView, type ToolAwaitHumanResult, type ToolCatalog, ToolCatalogAllowance, type ToolCatalogEntry, type ToolCatalogSnapshot, type ToolContentResult, type ToolDefinition, type ToolDelivery, type ToolDeliveryObserver, type ToolDeliveryTicket, ToolExecContext, type ToolExposurePolicy, type ToolExposureView, ToolFile, ToolGuidance, ToolGuidanceEntry, type ToolMiddleware, type ToolNext, ToolOutputAllowance, ToolOutputPolicySnapshot, ToolRegistration, ToolRegistrationFields, ToolResult, type ToolResultsAddedEvent, type ToolUsePart, type Transport, TriggerDefinitionInput, TriggerDefinitionView, type TriggerEvent, TriggerOutcome, TriggerRunKind, type TriggerSource, TriggerSourceHost, TriggerSourceRegistration, TriggersService, type TurnEndedEvent, type UnitOfWorkScope, type VendorEndpointFacts, type VolatileNote, Web, WebCheck, WebFailureReason, WebObservation, WebOpenRequest, WebOpenResult, type WidgetInput, type WidgetInstance, type WidgetIssue, type WidgetIssueCode, type WidgetRegistration, type WidgetRegistry, type WidgetResultFields, type WidgetSource, type WindowsProxyFacts, WorkLifecycle, type WorkspaceDirectoryNote, type WorkspaceRoot, type WorkspaceRootSnapshot, type WorkspaceRoots };
@@ -1,5 +1,4 @@
1
- import { Ii as ImageMediaType, To as FileRef } from "./index-Br0Y0fFq.js";
2
- import "./storage-CpsDibqp.js";
1
+ import { bi as ImageMediaType, rs as FileRef } from "./index-q05Kl0E4.js";
3
2
  //#region src/storage/files.d.ts
4
3
  /** Persistence contracts; physical storage is supplied by an extension. */
5
4
  /** The variant a model receives, when it is not the original. */
@@ -1,2 +1,2 @@
1
- import { a as FileStoreOptions, c as ImageProblem, d as StagedFile, i as FileStore, l as ImageVariant, n as DetailedImageInfo, o as GeneratedFile, r as FileRefusalKind, s as ImageInfo, t as CommitOptions, u as StageOptions } from "./platform-files-pahy7W9H.js";
1
+ import { a as FileStoreOptions, c as ImageProblem, d as StagedFile, i as FileStore, l as ImageVariant, n as DetailedImageInfo, o as GeneratedFile, r as FileRefusalKind, s as ImageInfo, t as CommitOptions, u as StageOptions } from "./platform-files-CNRvCu92.js";
2
2
  export { CommitOptions, DetailedImageInfo, FileRefusalKind, FileStore, FileStoreOptions, GeneratedFile, ImageInfo, ImageProblem, ImageVariant, StageOptions, StagedFile };
@@ -1,2 +1,63 @@
1
- import { i as SubprocessManagerOptions, n as SecretBoxState, r as SubprocessManager, t as SecretBox } from "./platform-resources-Cyx3HWbC.js";
1
+ import { _s as SubprocessEnding, bs as SubprocessRecord, gs as SubprocessBytes, vs as SubprocessHandle, xs as SubprocessStartSpec, ys as SubprocessRead } from "./index-q05Kl0E4.js";
2
+ //#region node_modules/.cache/dts/plugin/src/platform-resources.d.ts
3
+ type SecretBoxState = {
4
+ readonly kind: 'ready';
5
+ } | {
6
+ readonly kind: 'unavailable';
7
+ readonly reason: string;
8
+ };
9
+ interface SecretBox {
10
+ /** Whether stored ciphertext can be opened right now. Read per use: the
11
+ * answer changes when somebody deletes or `chmod`s the key file. */
12
+ state(): SecretBoxState;
13
+ /** Computes a purpose-separated MAC for a managed secret-bearing operation, creating the key only if absent. */
14
+ requestDigest(plaintext: string): string;
15
+ /** Encrypts, creating the master key on first use. Throws when the key
16
+ * exists and cannot be used — a credential that would be written under a
17
+ * key nobody can rely on is worse than a refused write. */
18
+ seal(plaintext: string, aad: string): string;
19
+ /** Decrypts. Throws when the key is unavailable, when `sealed` is not this
20
+ * format, or when authentication fails — which includes a value sealed
21
+ * for another address. */
22
+ open(sealed: string, aad: string): string;
23
+ }
24
+ interface SubprocessManagerOptions {
25
+ /** Host-installed admission callback observes the actual owned process before startup settlement. */
26
+ readonly admitted?: (spec: SubprocessStartSpec, processId: string, launchAttemptId: string) => void;
27
+ /** Other host-owned process groups, counted against the machine-wide budget. */
28
+ readonly otherActive?: () => number;
29
+ /** Where this workspace's own directory is. The manager asks for it per
30
+ * call rather than holding the work root, so the one place that knows the
31
+ * layout stays `roots.ts`. */
32
+ readonly workspaceDirectory: (workspaceId: string) => string;
33
+ /** Announced whenever the table changes, so the gateway can broadcast. */
34
+ readonly onChanged?: () => void;
35
+ /** Told when a process that outlived the call which started it has
36
+ * ended and its starter said so to the session — a background process. */
37
+ readonly onOutlived?: (ended: {
38
+ readonly processId: string;
39
+ readonly sessionId: string;
40
+ readonly command: string;
41
+ readonly ending: SubprocessEnding;
42
+ }) => void;
43
+ /** Per stream, in bytes. Defaults to the product's 64 MB; a test lowers it
44
+ * rather than writing that much. */
45
+ readonly logLimitBytes?: number;
46
+ }
47
+ interface SubprocessManager {
48
+ start(spec: SubprocessStartSpec, onExit: (ending: SubprocessEnding) => boolean | void | Promise<boolean | void>): Promise<SubprocessHandle>;
49
+ /** Iterates metadata references without copying complete command bodies; no ordering is promised. */
50
+ records(sessionId?: string): Iterable<SubprocessRecord>;
51
+ list(sessionId?: string): readonly SubprocessRecord[];
52
+ stop(processId: string): Promise<SubprocessEnding>;
53
+ read(processId: string, read: SubprocessRead): Promise<SubprocessBytes>;
54
+ /** Ends every registered group and settles once each one is empty. The
55
+ * gateway awaits this before the process exits, which is the only reason
56
+ * `yaoguang stop` leaves nothing behind. */
57
+ shutdown(): Promise<void>;
58
+ /** Marks whether the exit message reached the session, for the interface
59
+ * to show. Called by whoever sent it. */
60
+ recordNotified(processId: string, notified: boolean): void;
61
+ }
62
+ //#endregion
2
63
  export { SecretBox, SecretBoxState, SubprocessManager, SubprocessManagerOptions };
@@ -1,2 +1,2 @@
1
- import { $s as HostCommands, Gs as ConfigurationPersistence, Js as GatewayPlatform, Ks as FilePublication, Qs as HostCommandInspection, Xs as HopResponse, Ys as HopRequest, Zs as HostAsyncFiles, _c as StdFs, ac as PlatformNetwork, cc as PlatformValidation, dc as PublicationObservation, ec as HostEnvironmentPolicy, fc as PublicationResult, gc as SqliteStorageResources, hc as SandboxBackend, ic as LocalInfrastructure, lc as PublicationFailure, mc as RuntimePlatform, nc as HostParsedCommand, oc as PlatformOwnerLease, pc as PublicationTarget, qs as FoundationIdentity, rc as HostPlatform, sc as PlatformStorage, tc as HostFiles, uc as PublicationIdentity, vc as Transport } from "./index-D_4mmloq.js";
1
+ import { $l as PlatformStorage, Bl as GatewayPlatform, Gl as HostCommands, Hl as HopResponse, Jl as HostParsedCommand, Kl as HostEnvironmentPolicy, Ll as ConfigurationPersistence, Ql as PlatformOwnerLease, Rl as FilePublication, Ul as HostAsyncFiles, Vl as HopRequest, Wl as HostCommandInspection, Xl as LocalInfrastructure, Yl as HostPlatform, Zl as PlatformNetwork, au as PublicationTarget, cu as SqliteStorageResources, eu as PlatformValidation, iu as PublicationResult, lu as StdFs, nu as PublicationIdentity, ou as RuntimePlatform, ql as HostFiles, ru as PublicationObservation, su as SandboxBackend, tu as PublicationFailure, uu as Transport, zl as FoundationIdentity } from "./index-BfcuiGSv.js";
2
2
  export { ConfigurationPersistence, FilePublication, FoundationIdentity, GatewayPlatform, HopRequest, HopResponse, HostAsyncFiles, HostCommandInspection, HostCommands, HostEnvironmentPolicy, HostFiles, HostParsedCommand, HostPlatform, LocalInfrastructure, PlatformNetwork, PlatformOwnerLease, PlatformStorage, PlatformValidation, PublicationFailure, PublicationIdentity, PublicationObservation, PublicationResult, PublicationTarget, RuntimePlatform, SandboxBackend, SqliteStorageResources, StdFs, Transport };
@@ -1,4 +1,79 @@
1
- import { At as InboxDetail, Ci as ReadingItemHeader, Di as ReadingTurnHeader, Ei as ReadingPartHeader, Ft as InboxSettleReason, Ga as SessionId, Ka as SessionAddress, Sa as StoredEvent, Ti as ReadingMessageHeader, Ui as AuthorizationRecord, Ur as TriggerScopeItem, Ut as ModelRef, Va as Phase, ei as WatchSessionSummary, fo as RecordableEvent, gi as HistoryWindow, hi as HistoryView, jt as InboxItem, ko as Message, kt as InboxDelivery, la as Outcome, mi as ContentScope, pi as ContentRef, xa as EventStore } from "./index-Br0Y0fFq.js";
1
+ import { $i as ContentRef, Ao as SessionId, Bo as ModelUsage, Ca as TurnTranscriptEntry, Di as AuthorizationRecord, Jt as ModelRef, Lt as InboxSettleReason, Mt as InboxDetail, Nt as InboxItem, Oo as EventStore, Uo as RecordableEvent, Wr as TriggerScopeItem, cs as Message, da as ReadingItemHeader, do as SessionAddress, ea as ContentScope, ha as ReadingTurnHeader, jt as InboxDelivery, ko as StoredEvent, ma as ReadingPartHeader, na as HistoryWindow, pa as ReadingMessageHeader, so as Phase, ta as HistoryView, ti as WatchSessionSummary, to as Outcome } from "./index-q05Kl0E4.js";
2
+ //#region node_modules/.cache/dts/plugin/src/storage/triggers.d.ts
3
+ interface TriggerRow {
4
+ readonly id: string;
5
+ readonly source: string;
6
+ readonly name: string;
7
+ readonly agentId: string;
8
+ readonly workspaceId: string;
9
+ readonly target: unknown;
10
+ /** Resource preauthorizations held only by sessions created by this definition. */
11
+ readonly scope: readonly TriggerScopeItem[];
12
+ readonly instruction: string;
13
+ readonly config: unknown;
14
+ readonly enabled: boolean;
15
+ readonly createdBy: unknown;
16
+ readonly createdAt: number;
17
+ readonly updatedAt: number;
18
+ }
19
+ type TriggerRunKind = 'scheduled' | 'catch-up' | 'fired';
20
+ type TriggerRunState = 'running' | 'waiting' | 'completed' | 'failed' | 'skipped';
21
+ interface TriggerRunRow {
22
+ readonly id: string;
23
+ readonly triggerId: string;
24
+ readonly kind: TriggerRunKind;
25
+ readonly scheduledAt: number | null;
26
+ readonly startedAt: number;
27
+ readonly state: TriggerRunState;
28
+ readonly reason: string | null;
29
+ readonly sessionId: string | null;
30
+ readonly endedAt: number | null;
31
+ }
32
+ /** Metadata-only directory item; configuration and instruction require explicit get. */
33
+ type TriggerHeader = Pick<TriggerRow, 'id' | 'source' | 'name' | 'enabled' | 'updatedAt'>;
34
+ /** Bound keyset query; physical implementations fetch at most limit plus one headers. */
35
+ interface TriggerPageQuery {
36
+ readonly agentId: string;
37
+ readonly workspaceId: string;
38
+ /** Literal owner prefix; never interpreted as a SQL wildcard. */
39
+ readonly sourcePrefix: string;
40
+ /** Exclusive last identity in binary lexical order. */
41
+ readonly after?: string;
42
+ /** Maximum headers, an integer in 1..100. */
43
+ readonly limit: number;
44
+ }
45
+ interface TriggerHeaderPage {
46
+ /** Only selected headers, never configuration or instruction bodies. */
47
+ readonly items: readonly TriggerHeader[];
48
+ /** Last returned identity, or null at the end. */
49
+ readonly after: string | null;
50
+ /** Whether the filtered collection ends with this page. */
51
+ readonly complete: boolean;
52
+ }
53
+ interface TriggerRows {
54
+ /** Counts matching agent-created definitions without loading their bodies. */
55
+ countCreated(query: Omit<TriggerPageQuery, 'after' | 'limit'>): number;
56
+ /** Stable identity order, filtered before reading any capability body. */
57
+ page(query: TriggerPageQuery): TriggerHeaderPage;
58
+ list(): TriggerRow[];
59
+ get(id: string): TriggerRow | undefined;
60
+ insert(row: TriggerRow): void;
61
+ /** Replaces every column but `id`, `source`, `created_by` and `created_at`. */
62
+ update(row: TriggerRow): void;
63
+ setEnabled(id: string, enabled: boolean, at: number): void;
64
+ /** Removes the definition and its runs; `true` when it existed. */
65
+ remove(id: string): boolean;
66
+ /** Writes a run and keeps the trigger's newest `keep`. */
67
+ addRun(run: TriggerRunRow, keep?: number): void;
68
+ updateRun(id: string, changes: Partial<Pick<TriggerRunRow, 'state' | 'reason' | 'sessionId' | 'endedAt'>>): TriggerRunRow | undefined;
69
+ runs(triggerId: string, limit?: number): TriggerRunRow[];
70
+ lastRun(triggerId: string): TriggerRunRow | undefined;
71
+ /** The newest run that went to `sessionId` and has not ended. */
72
+ openRunForSession(sessionId: string): TriggerRunRow | undefined;
73
+ /** Every run still `running` or `waiting`. */
74
+ openRuns(): TriggerRunRow[];
75
+ }
76
+ //#endregion
2
77
  //#region node_modules/.cache/dts/plugin/src/storage/reading-store.d.ts
3
78
  /** An indexed source namespace; history, summary and receipts have separate lifetimes. */
4
79
  interface ReadingIdentity {
@@ -30,6 +105,8 @@ interface ReadingControl {
30
105
  /** Latest committed context revision and auxiliary usage, without original source text. */
31
106
  readonly contextRevision: number;
32
107
  readonly contextAuxiliaryTokens: number;
108
+ /** Physical model usage, including auxiliary calls and excluding inherited history. */
109
+ readonly usage?: ModelUsage;
33
110
  /** Effective tool pairing facts; immutable tool IDs stay in indexed descriptors. */
34
111
  readonly historyToolsValid?: boolean;
35
112
  /** Number of unmatched calls on the effective path, defaulting to zero. */
@@ -103,7 +180,7 @@ interface ReadingPatch {
103
180
  };
104
181
  }
105
182
  /** Effective control at a user boundary; actual lifetime consumption never rewinds. */
106
- type RewindPrefixControl = Omit<ReadingControl, 'tokensUsed' | 'contextAuxiliaryTokens'>;
183
+ type RewindPrefixControl = Omit<ReadingControl, 'tokensUsed' | 'contextAuxiliaryTokens' | 'usage'>;
107
184
  /** A bounded, authenticated user boundary on the physical source timeline. */
108
185
  interface ReadingCut {
109
186
  /** Selected user message's stable identity. */
@@ -231,6 +308,8 @@ interface ReadingRebasePlan {
231
308
  }
232
309
  /** Exclusive indexed page query. Cursor validation belongs to the framework. */
233
310
  interface ReadingQuery {
311
+ /** Restricts the window and its boundaries to one authoritative turn. */
312
+ readonly turnId?: string;
234
313
  readonly before?: number;
235
314
  readonly after?: number;
236
315
  readonly aroundMessageId?: string;
@@ -283,6 +362,24 @@ interface ReadingStore {
283
362
  invalidateInTransaction(sessionId: string, kind?: ReadingIdentity['kind'], scopeId?: string): void;
284
363
  /** Returns bounded ordered headers using exclusive keyset queries. */
285
364
  window(sessionId: string, query: ReadingQuery): HistoryWindow;
365
+ /** Selects Turn descriptors by exclusive ordinal boundaries; defaults to the newest page. */
366
+ turnWindow(sessionId: string, query: {
367
+ readonly before?: number;
368
+ readonly after?: number;
369
+ readonly around?: number;
370
+ readonly limit: number;
371
+ }): {
372
+ readonly items: readonly ReadingItem[];
373
+ readonly hasOlder: boolean;
374
+ readonly hasNewer: boolean;
375
+ };
376
+ /** Returns at most limit + 1 message/part descriptors ordered within one Turn. */
377
+ turnTranscript(sessionId: string, query: {
378
+ readonly turnId: string;
379
+ readonly afterMessageOrdinal: number;
380
+ readonly afterPartIndex: number;
381
+ readonly limit: number;
382
+ }): readonly TurnTranscriptEntry[];
286
383
  /** Reads one stable header by its indexed message identity. */
287
384
  message(sessionId: string, messageId: string): ReadingMessageHeader | undefined;
288
385
  /** Point-reads one descriptor by its complete indexed identity. */
@@ -556,13 +653,11 @@ interface WorkspaceRow {
556
653
  interface WorkspaceChanges {
557
654
  readonly name?: string;
558
655
  }
559
- /** One work directory: a tree this workspace can see and read. It carries no
560
- * mode — what may be *changed* is a grant in `access_grant`, answered by a
561
- * person at the moment a tool asked, not a flag set when the tree was
562
- * added. */
656
+ /** A canonical authorized directory; explicit read-write permits writes outside sealed roots. */
563
657
  interface WorkspaceDirectoryRow {
564
658
  readonly workspaceId: string;
565
659
  readonly path: string;
660
+ readonly access: 'read' | 'read-write';
566
661
  readonly addedAt: number;
567
662
  }
568
663
  interface ScopeCatalog {
@@ -618,7 +713,9 @@ interface ScopeCatalog {
618
713
  * `path` is stored exactly as given; resolving it to a real absolute path
619
714
  * is the caller's job (packages/core/runtime/src/scope.ts),
620
715
  * not this table's. */
621
- addDirectory(workspaceId: string, path: string): void;
716
+ addDirectory(workspaceId: string, path: string, access?: 'read' | 'read-write'): void;
717
+ /** Runs catalog and same-connection participant writes in one rollback boundary. */
718
+ transaction<T>(write: () => T): T;
622
719
  removeDirectory(workspaceId: string, path: string): void;
623
720
  /** Empty for a workspace with no authorized directories — the normal
624
721
  * state for a freshly created workspace. */
@@ -643,6 +740,12 @@ interface SessionParameterProjection {
643
740
  }, params: Readonly<Record<string, unknown>>): void;
644
741
  }
645
742
  interface SessionRow {
743
+ /** Immutable ancestry persisted at the initial insert, independent of capability owners. */
744
+ readonly ancestry?: {
745
+ readonly parentSessionId: string;
746
+ readonly rootSessionId: string;
747
+ readonly depth: number;
748
+ };
646
749
  readonly sessionId: SessionId;
647
750
  readonly address: SessionAddress;
648
751
  /** The topic title: what the agent, or the first message before it, says
@@ -699,13 +802,19 @@ interface SessionDigest {
699
802
  readonly updatedAt: number;
700
803
  }
701
804
  interface SessionCatalog {
805
+ /** Reads ordered existence/address/ancestry facts without opaque metadata or event bodies. */
806
+ identities(sessionIds: readonly string[]): readonly ({
807
+ readonly sessionId: string;
808
+ readonly address: SessionAddress;
809
+ readonly ancestry?: SessionRow['ancestry'];
810
+ } | undefined)[];
702
811
  /** Lists identities without decoding opaque session metadata. */
703
812
  listIds?(): readonly string[];
704
813
  /** Reads one session without scanning the entire catalogue. */
705
814
  get?(sessionId: string): SessionRow | undefined;
706
815
  /** `INSERT OR IGNORE` — creating the same session id a second time
707
816
  * changes nothing, including its `title` and timestamps. */
708
- create(sessionId: SessionId, address: SessionAddress): void;
817
+ create(sessionId: SessionId, address: SessionAddress, ancestry?: SessionRow['ancestry']): void;
709
818
  /** Every known session, most recently updated first — the one query
710
819
  * `session_by_recent` exists to serve. */
711
820
  list(): SessionRow[];
@@ -825,54 +934,4 @@ interface SessionOrigins {
825
934
  leave(sessionId: string): boolean;
826
935
  }
827
936
  //#endregion
828
- //#region node_modules/.cache/dts/plugin/src/storage/triggers.d.ts
829
- interface TriggerRow {
830
- readonly id: string;
831
- readonly source: string;
832
- readonly name: string;
833
- readonly agentId: string;
834
- readonly workspaceId: string;
835
- readonly target: unknown;
836
- /** Resource preauthorizations held only by sessions created by this definition. */
837
- readonly scope: readonly TriggerScopeItem[];
838
- readonly instruction: string;
839
- readonly config: unknown;
840
- readonly enabled: boolean;
841
- readonly createdBy: unknown;
842
- readonly createdAt: number;
843
- readonly updatedAt: number;
844
- }
845
- type TriggerRunKind = 'scheduled' | 'catch-up' | 'fired';
846
- type TriggerRunState = 'running' | 'waiting' | 'completed' | 'failed' | 'skipped';
847
- interface TriggerRunRow {
848
- readonly id: string;
849
- readonly triggerId: string;
850
- readonly kind: TriggerRunKind;
851
- readonly scheduledAt: number | null;
852
- readonly startedAt: number;
853
- readonly state: TriggerRunState;
854
- readonly reason: string | null;
855
- readonly sessionId: string | null;
856
- readonly endedAt: number | null;
857
- }
858
- interface TriggerRows {
859
- list(): TriggerRow[];
860
- get(id: string): TriggerRow | undefined;
861
- insert(row: TriggerRow): void;
862
- /** Replaces every column but `id`, `source`, `created_by` and `created_at`. */
863
- update(row: TriggerRow): void;
864
- setEnabled(id: string, enabled: boolean, at: number): void;
865
- /** Removes the definition and its runs; `true` when it existed. */
866
- remove(id: string): boolean;
867
- /** Writes a run and keeps the trigger's newest `keep`. */
868
- addRun(run: TriggerRunRow, keep?: number): void;
869
- updateRun(id: string, changes: Partial<Pick<TriggerRunRow, 'state' | 'reason' | 'sessionId' | 'endedAt'>>): TriggerRunRow | undefined;
870
- runs(triggerId: string, limit?: number): TriggerRunRow[];
871
- lastRun(triggerId: string): TriggerRunRow | undefined;
872
- /** The newest run that went to `sessionId` and has not ended. */
873
- openRunForSession(sessionId: string): TriggerRunRow | undefined;
874
- /** Every run still `running` or `waiting`. */
875
- openRuns(): TriggerRunRow[];
876
- }
877
- //#endregion
878
- export { ReadingItemQuery as $, FileObjectRow as A, ApprovalGrantKey as B, OwnedScopeCatalog as C, WorkspaceRow as D, WorkspaceDirectoryRow as E, CredentialHintRow as F, AgentRevisionRows as G, ApprovalGrantRow as H, CredentialRowInput as I, ReadingBuildIdentity as J, BoundedItemAction as K, CredentialRows as L, FileVariantRow as M, OwnedEventStore as N, InboxRows as O, TransactionalEventStore as P, ReadingItem as Q, AuthorizationCatalog as R, AvatarRow as S, WorkspaceChanges as T, ApprovalGrants as U, ApprovalGrantKind as V, AgentRevisionRow as W, ReadingCut as X, ReadingControl as Y, ReadingIdentity as Z, SessionDigest as _, TriggerRunState as a, ReadingRebasePlan as at, AgentChanges as b, SessionOrigins as c, RewindCaps as ct, SessionOperationRow as d, RewindPrefixControl as dt, ReadingObject as et, DeliveryKind as f, SessionCatalog as g, OwnedSessionCatalog as h, TriggerRunRow as i, ReadingQuery as it, FileRows as j, FileAddress as k, SessionForkRow as l, RewindCommitCredential as lt, DigestAuthor as m, TriggerRows as n, ReadingPatch as nt, ParticipantBy as o, ReadingStatus as ot, SessionDelivery as p, BoundedUndoAction as q, TriggerRunKind as r, ReadingPublication as rt, SessionCreatorRow as s, ReadingStore as st, TriggerRow as t, ReadingObjectMetadata as tt, SessionHistoryRows as u, RewindInspection as ut, SessionParameterProjection as v, ScopeCatalog as w, AgentRow as x, SessionRow as y, ResourceGrant as z };
937
+ export { ReadingQuery as $, CredentialHintRow as A, AgentRevisionRows as B, InboxRows as C, FileVariantRow as D, FileRows as E, ApprovalGrantKey as F, ReadingCut as G, BoundedUndoAction as H, ApprovalGrantKind as I, ReadingItemQuery as J, ReadingIdentity as K, ApprovalGrantRow as L, CredentialRows as M, AuthorizationCatalog as N, OwnedEventStore as O, ResourceGrant as P, ReadingPublication as Q, ApprovalGrants as R, WorkspaceRow as S, FileObjectRow as T, ReadingBuildIdentity as U, BoundedItemAction as V, ReadingControl as W, ReadingObjectMetadata as X, ReadingObject as Y, ReadingPatch as Z, AvatarRow as _, SessionHistoryRows as a, RewindInspection as at, WorkspaceChanges as b, SessionDelivery as c, TriggerHeaderPage as ct, SessionCatalog as d, TriggerRows as dt, ReadingRebasePlan as et, SessionDigest as f, TriggerRunKind as ft, AgentRow as g, AgentChanges as h, SessionForkRow as i, RewindCommitCredential as it, CredentialRowInput as j, TransactionalEventStore as k, DigestAuthor as l, TriggerPageQuery as lt, SessionRow as m, TriggerRunState as mt, SessionCreatorRow as n, ReadingStore as nt, SessionOperationRow as o, RewindPrefixControl as ot, SessionParameterProjection as p, TriggerRunRow as pt, ReadingItem as q, SessionOrigins as r, RewindCaps as rt, DeliveryKind as s, TriggerHeader as st, ParticipantBy as t, ReadingStatus as tt, OwnedSessionCatalog as u, TriggerRow as ut, OwnedScopeCatalog as v, FileAddress as w, WorkspaceDirectoryRow as x, ScopeCatalog as y, AgentRevisionRow as z };
package/dist/storage.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { dt as GrantAccess } from "./index-Br0Y0fFq.js";
2
- import { $ as ReadingItemQuery, A as FileObjectRow, B as ApprovalGrantKey, C as OwnedScopeCatalog, D as WorkspaceRow, E as WorkspaceDirectoryRow, F as CredentialHintRow, G as AgentRevisionRows, H as ApprovalGrantRow, I as CredentialRowInput, J as ReadingBuildIdentity, K as BoundedItemAction, L as CredentialRows, M as FileVariantRow, N as OwnedEventStore, O as InboxRows, P as TransactionalEventStore, Q as ReadingItem, R as AuthorizationCatalog, S as AvatarRow, T as WorkspaceChanges, U as ApprovalGrants, V as ApprovalGrantKind, W as AgentRevisionRow, X as ReadingCut, Y as ReadingControl, Z as ReadingIdentity, _ as SessionDigest, a as TriggerRunState, at as ReadingRebasePlan, b as AgentChanges, c as SessionOrigins, ct as RewindCaps, d as SessionOperationRow, dt as RewindPrefixControl, et as ReadingObject, f as DeliveryKind, g as SessionCatalog, h as OwnedSessionCatalog, i as TriggerRunRow, it as ReadingQuery, j as FileRows, k as FileAddress, l as SessionForkRow, lt as RewindCommitCredential, m as DigestAuthor, n as TriggerRows, nt as ReadingPatch, o as ParticipantBy, ot as ReadingStatus, p as SessionDelivery, q as BoundedUndoAction, r as TriggerRunKind, rt as ReadingPublication, s as SessionCreatorRow, st as ReadingStore, t as TriggerRow, tt as ReadingObjectMetadata, u as SessionHistoryRows, ut as RewindInspection, v as SessionParameterProjection, w as ScopeCatalog, x as AgentRow, y as SessionRow, z as ResourceGrant } from "./storage-nG0zpW52.js";
3
- export type { AgentChanges, AgentRevisionRow, AgentRevisionRows, AgentRow, ApprovalGrantKey, ApprovalGrantKind, ApprovalGrantRow, ApprovalGrants, AuthorizationCatalog, AvatarRow, BoundedItemAction, BoundedUndoAction, CredentialHintRow, CredentialRowInput, CredentialRows, DeliveryKind, DigestAuthor, FileAddress, FileObjectRow, FileRows, FileVariantRow, GrantAccess, InboxRows, OwnedEventStore, OwnedScopeCatalog, OwnedSessionCatalog, ParticipantBy, ReadingBuildIdentity, ReadingControl, ReadingCut, ReadingIdentity, ReadingItem, ReadingItemQuery, ReadingObject, ReadingObjectMetadata, ReadingPatch, ReadingPublication, ReadingQuery, ReadingRebasePlan, ReadingStatus, ReadingStore, ResourceGrant, RewindCaps, RewindCommitCredential, RewindInspection, RewindPrefixControl, ScopeCatalog, SessionCatalog, SessionCreatorRow, SessionDelivery, SessionDigest, SessionForkRow, SessionHistoryRows, SessionOperationRow, SessionOrigins, SessionParameterProjection, SessionRow, TransactionalEventStore, TriggerRow, TriggerRows, TriggerRunKind, TriggerRunRow, TriggerRunState, WorkspaceChanges, WorkspaceDirectoryRow, WorkspaceRow };
1
+ import { pt as GrantAccess } from "./index-q05Kl0E4.js";
2
+ import { $ as ReadingQuery, A as CredentialHintRow, B as AgentRevisionRows, C as InboxRows, D as FileVariantRow, E as FileRows, F as ApprovalGrantKey, G as ReadingCut, H as BoundedUndoAction, I as ApprovalGrantKind, J as ReadingItemQuery, K as ReadingIdentity, L as ApprovalGrantRow, M as CredentialRows, N as AuthorizationCatalog, O as OwnedEventStore, P as ResourceGrant, Q as ReadingPublication, R as ApprovalGrants, S as WorkspaceRow, T as FileObjectRow, U as ReadingBuildIdentity, V as BoundedItemAction, W as ReadingControl, X as ReadingObjectMetadata, Y as ReadingObject, Z as ReadingPatch, _ as AvatarRow, a as SessionHistoryRows, at as RewindInspection, b as WorkspaceChanges, c as SessionDelivery, ct as TriggerHeaderPage, d as SessionCatalog, dt as TriggerRows, et as ReadingRebasePlan, f as SessionDigest, ft as TriggerRunKind, g as AgentRow, h as AgentChanges, i as SessionForkRow, it as RewindCommitCredential, j as CredentialRowInput, k as TransactionalEventStore, l as DigestAuthor, lt as TriggerPageQuery, m as SessionRow, mt as TriggerRunState, n as SessionCreatorRow, nt as ReadingStore, o as SessionOperationRow, ot as RewindPrefixControl, p as SessionParameterProjection, pt as TriggerRunRow, q as ReadingItem, r as SessionOrigins, rt as RewindCaps, s as DeliveryKind, st as TriggerHeader, t as ParticipantBy, tt as ReadingStatus, u as OwnedSessionCatalog, ut as TriggerRow, v as OwnedScopeCatalog, w as FileAddress, x as WorkspaceDirectoryRow, y as ScopeCatalog, z as AgentRevisionRow } from "./storage-CAlzxnZK.js";
3
+ export type { AgentChanges, AgentRevisionRow, AgentRevisionRows, AgentRow, ApprovalGrantKey, ApprovalGrantKind, ApprovalGrantRow, ApprovalGrants, AuthorizationCatalog, AvatarRow, BoundedItemAction, BoundedUndoAction, CredentialHintRow, CredentialRowInput, CredentialRows, DeliveryKind, DigestAuthor, FileAddress, FileObjectRow, FileRows, FileVariantRow, GrantAccess, InboxRows, OwnedEventStore, OwnedScopeCatalog, OwnedSessionCatalog, ParticipantBy, ReadingBuildIdentity, ReadingControl, ReadingCut, ReadingIdentity, ReadingItem, ReadingItemQuery, ReadingObject, ReadingObjectMetadata, ReadingPatch, ReadingPublication, ReadingQuery, ReadingRebasePlan, ReadingStatus, ReadingStore, ResourceGrant, RewindCaps, RewindCommitCredential, RewindInspection, RewindPrefixControl, ScopeCatalog, SessionCatalog, SessionCreatorRow, SessionDelivery, SessionDigest, SessionForkRow, SessionHistoryRows, SessionOperationRow, SessionOrigins, SessionParameterProjection, SessionRow, TransactionalEventStore, TriggerHeader, TriggerHeaderPage, TriggerPageQuery, TriggerRow, TriggerRows, TriggerRunKind, TriggerRunRow, TriggerRunState, WorkspaceChanges, WorkspaceDirectoryRow, WorkspaceRow };