@eum-agent/plugin 0.0.0-stage → 1.0.1
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-6CFlmI1d.d.ts +9430 -0
- package/dist/index-tFmlq6IE.d.ts +37696 -0
- package/dist/index.d.ts +6 -0
- package/dist/platform-files-C4noBDDZ.d.ts +144 -0
- package/dist/platform-files.d.ts +2 -0
- package/dist/platform-resources.d.ts +63 -0
- package/dist/platform.d.ts +2 -0
- package/dist/storage-BfbsmvQp.d.ts +915 -0
- package/dist/storage.d.ts +3 -0
- package/dist/web.d.ts +3 -0
- package/package.json +52 -3
- package/ui-build.md +95 -0
- package/README.md +0 -3
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { $ as ProviderField, $c as HopRequest, $d as ToolDeliveryTicket, $i as HostFileReadHandle, $l as ArtifactRequest, $n as ModelPortSecurity, $r as AgentSessions, $t as ToolResult, $u as GenerationModelSummary, A as ModelOffer, Ac as ClientStream, Ad as LogSpan, Ai as PtyService, Al as AgentRunResultPage, An as ProjectInstructions, Ar as QueryCleanupCause, At as SessionParticipantsService, Au as PathObservation, B as PluginContext, Bc as AttachmentReferences, Bd as ReadableSourceView, Bl as OwnerOperationCleanup, Bn as FailureVerdict, Br as AgentContextControl, Bt as SubprocessStartSpec, Bu as ArtifactReader, C as InboxNotifier, Cc as ClientFileSymlinkStage, Cd as LogBinding, Ci as OwnerStateCommit, Cl as BackgroundByteSource, Cn as SandboxPhysicalHost, Cr as FileAccessInspection, Ct as SessionContext, Cu as SandboxPresetSummary, D as LoginFailure, Dc as ClientIoError, Dd as LogLevel, Di as PtyExit, Dl as AgentRun, Dn as AddressVerdict, Dr as ContextSession, Dt as SessionNotesResult, Du as FailureAuthorizationHandle, E as LoginCredential, Ec as ClientFilesFactory, Ed as LogFields, Ei as PtyCleanupScope, El as BackgroundTaskPort, En as AddressLookup, Er as ContextRuntime, Et as SessionFrameHandle, Eu as DenialSnapshot, F as ModelProviderProbe, Fc as ResourceCall, Fd as AgentExtensionData, Fi as WorkspaceRoots, Fl as AgentRuns, Fn as NetworkProxyHost, Fr as QueryResourceLease, Ft as SubprocessHeld, Fu as SandboxDiagnostics, G as PrepareModelConnectionInput, Gc as CredentialVault, Gd as ToolCatalogEntry, Gl as OwnerOperations, Gn as ModelCapacity, Gr as AgentModelConfiguration, Gt as ToolExecContext, Gu as GenerationConnection, H as PluginStorage, Hc as ModelFailureFactory, Hd as SandboxReadableView, Hl as OwnerOperationKey, Hn as MediaContext, Hr as CapabilityRegistration, Ht as SubprocessStreamWindow, Hu as GeneratedAsset, I as ModelProviderType, Ic as ResourceRangeRequest, Id as PreparedAgentConfiguration, Ii as FileReferenceActions, Il as BulkTransactionParticipant, In as WindowsProxyFacts, Ir as QueryResourcePolicy, It as SubprocessLogs, Iu as SandboxDiagnosticsLease, J as PreparedModelParams, Jc as UnitOfWorkScope, Jd as ToolExposureView, Jl as ActivationBatchResult, Jn as ResolveParamsInput, Jr as SessionContextMaintenance, Jt as ToolGuidanceEntry, Ju as GenerationFailureCode, K as PrepareModelParamsInput, Kc as CredentialVaultRows, Kd as ToolCatalogSnapshot, Kl as NetworkRoute, Kn as ModelSupportService, Kr as DelegatedSessionChange, Kt as ToolFile, Ku as GenerationCurrent, L as Network, Lc as ResourceResult, Ld as ReadableRejection, Li as FileReferenceDescription, Ll as BulkTransactions, Ln as CallWithRetryOptions, Lr as QueryResourceReservation, Lt as SubprocessRead, Lu as ModelCataloguePolicy, M as ModelProviderCall, Mc as ClientStreamContext, Md as AgentConfigurationParticipant, Mi as PtySpawnOptions, Ml as AgentRunRow, Mn as RuleContact, Mr as QueryCleanupRequest, Mt as SubprocessBytes, Mu as PreparedLaunchScope, N as ModelProviderConnection, Nc as ClientStreamHandle, Nd as AgentConfigurationRegistration, Ni as WorkspaceRoot, Nl as AgentRunRows, Nn as RuleFailure, Nr as QueryResourceHeld, Nt as SubprocessEnding, Nu as ProcessFailureInput, O as LoginFailureCode, Oc as ClientResource, Od as LogOutcome, Oi as PtyHandle, Ol as AgentRunCompletion, On as BatchFileVerdict, Or as ContextSessionPolicy, Ot as SessionNotesService, Ou as FailurePathCandidate, P as ModelProviderEndpoint, Pc as ResourceByteMetadata, Pd as AgentConfigurationStore, Pi as WorkspaceRootSnapshot, Pl as AgentRunStatus, Pn as RuleLocation, Pr as QueryResourceItem, Pt as SubprocessHandle, Pu as ProcessFailureSnapshot, Q as ProtocolProcesses, Qc as GatewayPlatform, Qd as ToolDeliveryObserver, Qi as FileReaderCloseResult, Ql as ArtifactIdentity, Qn as ModelSessionPolicy, Qr as SessionModelControls, Qt as ToolRegistrationFields, Qu as GenerationModel, R as ParticipantChange, Rc as AttachmentReader, Rd as ReadableSource, Ri as FileReferenceReader, Rl as ExternalOperationReceipt, Rn as EffortLevel, Rr as QueryResourceSnapshot, Rt as SubprocessRecord, Ru as ModelCatalogueSource, S as InboxNotice, Sc as ClientFileStage, Sd as HostLog, Si as OwnerSessionContext, Sl as Transport, Sn as SandboxHost, Sr as FenceVerdict, St as SessionClientFrame, Su as ResourceValidationLease, T as LoginChallenge, Tc as ClientFilesAvailability, Td as LogFailure, Ti as PtyCleanupResult, Tl as BackgroundTask, Tn as SandboxPathLocator, Tr as ContextRequestObservation, Tt as SessionDeliveryService, Tu as DenialCollector, U as PluginToolContentResult, Uc as ModelFailureInput, Ud as SandboxReadables, Ul as OwnerOperationRow, Un as MediaFate, Ur as CapabilityRegistries, Ut as SubprocessWindow, Uu as GenerationArtifactAuthorization, V as PluginEffectKind, Vc as AgentExecution, Vd as ReadableTarget, Vl as OwnerOperationInput, Vn as InspectionInput, Vr as ContextHistoryPolicy, Vt as SubprocessState, Vu as ChatCapability, W as PluginToolResult, Wc as CredentialClearItem, Wd as ToolCatalog, Wl as OwnerOperationRows, Wn as MediaPlan, Wr as CapabilityRegistry, Wt as ToolCatalogAllowance, Wu as GenerationCapability, X as ProtocolProcess, Xc as FilePublication, Xd as SessionSkillReadables, Xl as AdmissionHistory, Xn as StoredParams, Xr as SessionDelegationObserver, Xt as ToolOutputPolicySnapshot, Xu as GenerationInputSelectors, Y as PreparedShellExecution, Yd as CommittedToolDelivery, Yl as ActivationConstraints, Yn as ResolvedParams, Yr as SessionContextMaintenanceResult, Yt as ToolOutputAllowance, Yu as GenerationInputFile, Z as ProtocolProcessStart, Zc as FoundationIdentity, Zd as ToolDelivery, Zl as AdmissionReceipt, Zn as ModelDispatchPolicy, Zr as SessionModelChoices, Zt as ToolRegistration, Zu as GenerationInputsService, _ as DeliveryWrites, _c as ClientFileDirectoryStage, _d as StyleFacts, _i as ContextRestoreResult, _l as PublicationTarget, _n as SessionRelation, _r as FenceMany, _t as SearchProviderCall, _u as AuthorizationResourceReceipts, a as ApprovalResult, ad as GenerationResultState, af as WidgetRegistry, ai as AgentCreationInput, al as HostFiles, an as TriggerSourceRegistration, ar as McpAgentConfig, at as SandboxAuthorization, au as HostIdentity, b as ExecutionAuthority, bc as ClientFileReader, bd as PerformanceObserver, bi as SessionContextHistory, bl as SqliteStorageResources, bn as ConfigurationTransactions, br as FencePathIdentity, bt as SearchProviderType, bu as ResourceAuthorizationSnapshot, c as BroadcastClientFrame, cd as ProviderCatalogContribution, ci as AgentDefinitionSnapshot, cl as LocalInfrastructure, cn as WebCheck, cr as FileObservation, ct as SandboxPermissions, cu as InstallationBatchRequest, d as ClientFrame, dd as CatalogEntry, di as AgentDataSchemas, dl as PlatformStorage, dn as WebOpenRequest, dr as ReadCoverage, dt as SandboxRefusalReason, du as InstallationPreview, ea as HostFileReader, ed as GenerationOperation, ef as JsonObject, ei as SessionCreateOptions, el as HopResponse, en as TriggerDefinitionInput, er as GenerationRuntime, et as ProviderFieldKind, eu as ArtifactWarning, f as ClientFrameHandle, fc as OwnerContextOrigin, fd as CatalogGeneration, fi as AgentCapabilityHost, fl as PlatformValidation, fn as WebOpenResult, fr as ReadLineRange, ft as SandboxRequest, fu as InstallationRequest, g as CredentialsService, gc as ClientFileDirectory, gd as ReasoningOption, gi as ContextRestoreInput, gl as PublicationResult, gn as SessionAdmission, gr as ImageResourceVariant, gt as SearchHit, gu as PreparedArtifact, h as CredentialStatus, hc as ClientDirectoryListing, hd as ProviderLoginState, hi as ContextHistoryFile, hl as PublicationObservation, hn as SessionWorkingDirectory, hr as ImageResourceInfo, ht as SearchAvailability, hu as PlatformTarget, i as ApprovalRequest, id as GenerationRequest, if as WidgetRegistration, ii as AgentCreation, il as HostEnvironmentPolicy, in as TriggerSourceHost, ir as ModelInputs, it as Sandbox, iu as ExtensionSelection, j as ModelProtocolType, jc as ClientStreamConnection, jd as PluginLog, ji as PtyServiceFactory, jl as AgentRunResultSource, jn as RuleAttachment, jr as QueryCleanupReport, jt as Subprocess, ju as PathObservationLease, k as LoginResult, kc as ClientResourceResponse, kd as LogRecordInput, ki as PtyOutput, kl as AgentRunPlan, kn as ResourceSecurity, kr as PromptCategoryBytes, kt as SessionNotice, ku as PathIdentityToken, l as BroadcastFrameHandle, ld as ProviderCatalogVendor, li as AgentDefinitionSummary, ll as PlatformNetwork, ln as WebFailureReason, lr as FileObservations, lt as SandboxPlan, lu as InstallationObservation, m as ClientUi, mc as FileReferenceFormatter, md as OutputLimitPolicy, mi as ContextHistoryFailure, ml as PublicationIdentity, mn as AgentToolContexts, mr as FileVariantPolicy, mt as Search, mu as PackageContent, n as ApprovalChoice, nd as GenerationPort, nf as MessageTextRenderer, ni as AgentDefinitionManagement, nl as HostCommandInspection, nn as TriggerOutcome, nr as ModelDeclarationViews, nt as ProviderLoginMethod, nu as DependencyNode, o as ApprovalSource, od as GenerationService, of as PluginDependencies, oi as AgentDefinition, ol as HostParsedCommand, on as TriggersService, or as McpSelectionStorage, ot as SandboxAvailability, ou as HostRequirements, p as ClientMethod, pc as OwnerContextReading, pd as ModelCatalogueSnapshot, pi as ContextHistoryEntry, pl as PublicationFailure, pn as WorkLifecycle, pr as FileMediaService, pt as SandboxedPlan, pu as PackageArtifacts, q as PreparedModelConnection, qc as HostUnitOfWork, qd as ToolExposurePolicy, ql as NetworkRouting, qn as PlannedFile, qr as DelegatedSessionTask, qt as ToolGuidance, qu as GenerationFailure, r as ApprovalDecision, rd as GenerationPreparation, rf as WidgetInput, ri as PreparedAgentConfigurationSave, rl as HostCommands, rn as TriggerRunKind, rr as ContextMeasurementService, rt as RoutedToolRegistration, ru as ExtensionInstallation, s as AsyncHumanRequestInput, sd as PreparedGenerationInputs, si as AgentDefinitionPatch, sl as HostPlatform, sn as Web, sr as HostIdentityService, st as SandboxExecution, su as InstallationAttemptContext, t as Approval, td as GenerationOutputKind, ti as SessionCreationReceipt, tl as HostAsyncFiles, tn as TriggerDefinitionView, tr as ModelRuntime, tt as ProviderLogin, tu as ContentEntry, u as ClientCallContext, ud as ToolAvailabilityView, ui as AgentPromptTexts, ul as PlatformOwnerLease, un as WebObservation, ur as FileReadObservation, ut as SandboxPlanResult, uu as InstallationOperation, v as DirectShellPlan, vc as ClientFileEntry, vd as VendorEndpointFacts, vi as ContextSearchInput, vl as RuntimePlatform, vn as AuthorizationResources, vr as FenceManyInput, vt as SearchProviderConnection, vu as ResourceAuthorizationAdmission, w as LocalNetworkPermission, wc as ClientFiles, wd as LogDrainResult, wi as PtyAvailability, wl as BackgroundComputationPort, wn as SettingsParticipant, wr as ContextFramework, wt as SessionDeliveryInput, wu as WorkspaceDirectoryNote, x as HostModelPort, xc as ClientFileScratch, xd as PerformanceTelemetry, xi as OwnerContextPreparation, xl as StdFs, xn as PreparedSettingsWrite, xr as FenceRoots, xt as SearchRequest, xu as ResourceReceiptClaim, y as ExecutableToolRegistration, yc as ClientFileObservation, yd as PerformanceObservation, yi as ContextSearchResult, yl as SandboxBackend, yn as AuthorizationStrategy, yr as FenceManyVerdict, yt as SearchProviderProbe, yu as ResourceAuthorizationScope, z as Plugin, zc as AttachmentReference, zd as ReadableSourceHandle, zi as FileReferenceSource, zl as ExternalOperationRecovery, zn as FailureKind, zr as QueryResources, zt as SubprocessStartFailure, zu as ModelEntryResolution } from "./index-6CFlmI1d.js";
|
|
2
|
+
import { $a as ContextSlot, Aa as ToolContentResult, Ao as ModelRepliedEvent, Ba as HumanRequestKind, Ca as ModelMiddleware, Co as ContextAssembledEvent, Da as ToolNext, Do as EffectFailedEvent, Ea as ToolMiddleware, Fa as HumanOption, Fo as TriggerEvent, Ha as EffectKind, Ho as WidgetIssueCode, Ia as HumanQuestion, Io as TriggerSource, Ja as InterruptedOutcome, Jt as ModelRef, Ko as ContentPart, La as HumanReply, Lo as TurnEndedEvent, Ma as EffectHandler, Mo as NextStepInsertedEvent, Na as ExecContext, No as RecordableEvent, Oo as Event, Pa as HumanAnswer, Po as ToolResultsAddedEvent, Qa as ContextContributor, Qo as Message, Ra as HumanRequest, Ro as JsonValue, So as CancelledEvent, Ta as Stage, Ua as CompletedOutcome, Ui as MediaLimits, Uo as WidgetResultFields, Va as HumanTarget, Vo as WidgetIssue, Wa as CompletedReason, Wo as WidgetSource, Ya as Outcome, Za as AssemblyView, Zo as FinishReason, _o as ModelFailure, ao as SessionAddress, as as VolatileNote, co as ModelDispatchObserver, do as ModelObservation, eo as Contribution, fo as ModelPort, fs as Channel, go as ToolDefinition, gs as Dispose, ho as RetractChunk, hs as Delivery, is as ToolUsePart, jo as ModelUsage, ka as ToolAwaitHumanResult, ko as MessageAppendedEvent, lo as ModelDispatchReceipt, mo as ModelRequestFields, ms as ChannelContext, ns as SavedRequiredContextBlock, oo as OwnerContextEntry, po as ModelRequest, ps as ChannelCapabilities, qa as FailedOutcome, qo as FileRef, so as ModelChunk, ts as RequiredContextBlock, uo as ModelInspection, v as BatchResults, w as CommittedOperation, wa as ModelNext, xo as SessionId, za as HumanRequestInput, zo as WidgetInstance } from "./index-tFmlq6IE.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-C4noBDDZ.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-BfbsmvQp.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 CapabilityRegistration, type CapabilityRegistries, type CapabilityRegistry, 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 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, 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 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 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 ModelCapacity, type ModelCataloguePolicy, type ModelCatalogueSnapshot, type ModelCatalogueSource, type ModelChunk, type ModelDeclarationViews, type ModelDispatchObserver, type ModelDispatchPolicy, type ModelDispatchReceipt, type ModelEntryResolution, type ModelFailure, type ModelFailureFactory, type ModelFailureInput, type ModelInputs, type ModelInspection, type ModelMiddleware, type ModelNext, type ModelObservation, 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 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 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 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 };
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { Bi as ImageMediaType, qo as FileRef } from "./index-tFmlq6IE.js";
|
|
2
|
+
//#region src/storage/files.d.ts
|
|
3
|
+
/** Persistence contracts; physical storage is supplied by an extension. */
|
|
4
|
+
/** The variant a model receives, when it is not the original. */
|
|
5
|
+
interface FileVariantRow {
|
|
6
|
+
readonly fileId: string;
|
|
7
|
+
readonly mediaType: string;
|
|
8
|
+
readonly size: number;
|
|
9
|
+
readonly width?: number;
|
|
10
|
+
readonly height?: number;
|
|
11
|
+
}
|
|
12
|
+
interface FileObjectRow {
|
|
13
|
+
readonly fileId: string;
|
|
14
|
+
readonly mediaType: string;
|
|
15
|
+
readonly size: number;
|
|
16
|
+
readonly width?: number;
|
|
17
|
+
readonly height?: number;
|
|
18
|
+
readonly model?: FileVariantRow;
|
|
19
|
+
readonly createdAt: number;
|
|
20
|
+
}
|
|
21
|
+
interface FileAddress {
|
|
22
|
+
readonly workspaceId: string;
|
|
23
|
+
readonly fileId: string;
|
|
24
|
+
}
|
|
25
|
+
interface FileRows {
|
|
26
|
+
/** Commits a synchronous file batch or restores its object and use rows on failure. */
|
|
27
|
+
transaction(work: () => void): void;
|
|
28
|
+
/** Inserts a file; an existing row for the same id is left as it was. */
|
|
29
|
+
insert(workspaceId: string, row: FileObjectRow): void;
|
|
30
|
+
get(workspaceId: string, fileId: string): FileObjectRow | undefined;
|
|
31
|
+
/** Records that `sessionId` referenced the file; once per session. */
|
|
32
|
+
recordUse(workspaceId: string, fileId: string, sessionId: string, at: number): void;
|
|
33
|
+
/** Whether this exact workspace/file/session reference was recorded. */
|
|
34
|
+
hasUse(workspaceId: string, fileId: string, sessionId: string): boolean;
|
|
35
|
+
/** Files created before `before` that no session ever referenced, ordered
|
|
36
|
+
* by workspace then id. */
|
|
37
|
+
unusedBefore(before: number): FileAddress[];
|
|
38
|
+
remove(workspaceId: string, fileId: string): void;
|
|
39
|
+
/** Every id one workspace's rows keep on disk: originals and variants. */
|
|
40
|
+
kept(workspaceId: string): ReadonlySet<string>;
|
|
41
|
+
}
|
|
42
|
+
//#endregion
|
|
43
|
+
//#region node_modules/.cache/dts/plugin/src/platform-files.d.ts
|
|
44
|
+
interface ImageInfo {
|
|
45
|
+
readonly mediaType: ImageMediaType;
|
|
46
|
+
readonly width: number;
|
|
47
|
+
readonly height: number;
|
|
48
|
+
}
|
|
49
|
+
interface ImageVariant extends ImageInfo {
|
|
50
|
+
readonly bytes: Buffer;
|
|
51
|
+
}
|
|
52
|
+
type ImageProblem = 'unsupported-type' | 'undecodable' | 'too-many-pixels';
|
|
53
|
+
/** Decoded image properties needed by generation tools when preserving transparency. */
|
|
54
|
+
interface DetailedImageInfo extends ImageInfo {
|
|
55
|
+
/** Whether the source format stores an alpha channel. */
|
|
56
|
+
readonly hasAlpha: boolean;
|
|
57
|
+
/** Whether any decoded pixel is less than fully opaque. */
|
|
58
|
+
readonly hasTransparentPixels: boolean;
|
|
59
|
+
}
|
|
60
|
+
type FileRefusalKind = 'too-large' | ImageProblem;
|
|
61
|
+
/** Host-owned roots, persistence and clock used by the workspace file writer. */
|
|
62
|
+
interface FileStoreOptions {
|
|
63
|
+
/** The trusted work root containing workspace directories. */
|
|
64
|
+
/** Optional extension-owned variant policy, read for each write. */
|
|
65
|
+
readonly prepareVariant?: (bytes: Buffer, info: ImageInfo) => Promise<ImageVariant | undefined>;
|
|
66
|
+
readonly workRoot: string;
|
|
67
|
+
/** Caller-owned file catalog; generated writes use its synchronous transaction. */
|
|
68
|
+
readonly rows: FileRows;
|
|
69
|
+
/** UTC millisecond clock; defaults to Date.now. */
|
|
70
|
+
readonly now?: () => number;
|
|
71
|
+
/** Runs all generated-file rows and uses in one synchronous transaction. */
|
|
72
|
+
readonly transaction?: (work: () => void) => void;
|
|
73
|
+
}
|
|
74
|
+
/** A validated, unpublished file; only the store that staged it can commit it. */
|
|
75
|
+
interface StagedFile {
|
|
76
|
+
/** The original byte count, used to bound a result before commit. */
|
|
77
|
+
readonly size: number;
|
|
78
|
+
}
|
|
79
|
+
/** An incoming generated asset, with its claimed type checked against its bytes. */
|
|
80
|
+
interface GeneratedFile {
|
|
81
|
+
/** Declared MIME, which must agree with the validated bytes. */
|
|
82
|
+
readonly mediaType: string;
|
|
83
|
+
/** Display name of 1–200 UTF-16 code units; defaults to generated.<extension>. */
|
|
84
|
+
readonly name?: string;
|
|
85
|
+
/** A single-consumption source; the store closes the iterator on failure. */
|
|
86
|
+
readonly body: AsyncIterable<Uint8Array>;
|
|
87
|
+
}
|
|
88
|
+
/** Limits and cancellation applied while consuming a generated asset. */
|
|
89
|
+
interface StageOptions {
|
|
90
|
+
/** Required asset family, checked against the MIME and validated content. */
|
|
91
|
+
readonly outputKind: 'image' | 'audio' | 'video';
|
|
92
|
+
/** Cancellation interrupts consumption and prevents publishing the stage. */
|
|
93
|
+
readonly signal?: AbortSignal;
|
|
94
|
+
/** An additional byte ceiling, such as a batch's remaining budget. */
|
|
95
|
+
readonly maxBytes?: number;
|
|
96
|
+
}
|
|
97
|
+
/** Identity is checked after obtaining the workspace lock and before any writes. */
|
|
98
|
+
interface CommitOptions {
|
|
99
|
+
/** Cancellation observed before the synchronous commit prevents any references. */
|
|
100
|
+
readonly signal?: AbortSignal;
|
|
101
|
+
/** Throws if the captured owner/session/connection identity is no longer current. */
|
|
102
|
+
readonly assertCurrent?: () => void;
|
|
103
|
+
}
|
|
104
|
+
/** Content-addressed workspace originals, image variants and unpublished generated batches. */
|
|
105
|
+
interface FileStore {
|
|
106
|
+
/** Chooses a stored media file name when the producer supplied none. */
|
|
107
|
+
defaultName(mediaType: string): string;
|
|
108
|
+
/**
|
|
109
|
+
* Streams and validates a generated asset under its image/audio/video byte ceiling.
|
|
110
|
+
* The returned stage is private until committed; failure deletes its temporary files.
|
|
111
|
+
*/
|
|
112
|
+
stageStream(workspaceId: string, file: GeneratedFile, options: StageOptions): Promise<StagedFile>;
|
|
113
|
+
/**
|
|
114
|
+
* Publishes 1–8 same-workspace stages totaling at most 256 MiB in input order.
|
|
115
|
+
* The workspace lock covers identity checks, placement and one row/use transaction.
|
|
116
|
+
* Commit consumes all stages on either success or failure and preserves shared files.
|
|
117
|
+
* Cancellation before the synchronous section wins; cancellation after commit does not undo it.
|
|
118
|
+
*/
|
|
119
|
+
commitBatch(workspaceId: string, sessionId: string, files: readonly StagedFile[], options?: CommitOptions): Promise<readonly FileRef[]>;
|
|
120
|
+
/** Deletes unpublished staged files; committed files are left untouched. */
|
|
121
|
+
discard(files: readonly StagedFile[]): void;
|
|
122
|
+
/** Stores an upload as it arrives; refuses past 20 MiB before it ends. */
|
|
123
|
+
put(workspaceId: string, source: AsyncIterable<Uint8Array>): Promise<FileObjectRow>;
|
|
124
|
+
/** Stores bytes already in memory, such as a tool's. */
|
|
125
|
+
putBytes(workspaceId: string, bytes: Uint8Array): Promise<FileObjectRow>;
|
|
126
|
+
/** A stored original's row, or nothing when the workspace holds no such file. */
|
|
127
|
+
get(workspaceId: string, fileId: string): FileObjectRow | undefined;
|
|
128
|
+
/** A reference to a stored original under `name`. */
|
|
129
|
+
refOf(workspaceId: string, fileId: string, name: string): FileRef | undefined;
|
|
130
|
+
/**
|
|
131
|
+
* The bytes of `id`, checked against it: an original by its row, or a
|
|
132
|
+
* variant when its `mediaType` is given. Nothing when the workspace holds
|
|
133
|
+
* no such file or its bytes no longer match.
|
|
134
|
+
*/
|
|
135
|
+
read(workspaceId: string, id: string, mediaType?: string): Promise<Buffer | undefined>;
|
|
136
|
+
/** Where `id` is on disk, whether or not it is still there. */
|
|
137
|
+
locationOf(workspaceId: string, id: string, mediaType?: string): string | undefined;
|
|
138
|
+
/** Records that `sessionId` referenced a file; before its message is written. */
|
|
139
|
+
recordUse(workspaceId: string, fileId: string, sessionId: string): void;
|
|
140
|
+
/** Collects old unused uploads; startup also removes recent unindexed crash leftovers. */
|
|
141
|
+
sweep(startup?: boolean): Promise<void>;
|
|
142
|
+
}
|
|
143
|
+
//#endregion
|
|
144
|
+
export { FileStoreOptions as a, ImageProblem as c, StagedFile as d, FileStore as i, ImageVariant as l, DetailedImageInfo as n, GeneratedFile as o, FileRefusalKind as r, ImageInfo as s, CommitOptions as t, StageOptions as u };
|
|
@@ -0,0 +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-C4noBDDZ.js";
|
|
2
|
+
export { CommitOptions, DetailedImageInfo, FileRefusalKind, FileStore, FileStoreOptions, GeneratedFile, ImageInfo, ImageProblem, ImageVariant, StageOptions, StagedFile };
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { cs as SubprocessHandle, ds as SubprocessStartSpec, ls as SubprocessRead, os as SubprocessBytes, ss as SubprocessEnding, us as SubprocessRecord } from "./index-tFmlq6IE.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
|
|
63
|
+
export { SecretBox, SecretBoxState, SubprocessManager, SubprocessManagerOptions };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { $c as HopRequest, Qc as GatewayPlatform, Sl as Transport, Xc as FilePublication, Yc as ConfigurationPersistence, Zc as FoundationIdentity, _l as PublicationTarget, al as HostFiles, bl as SqliteStorageResources, cl as LocalInfrastructure, dl as PlatformStorage, el as HopResponse, fl as PlatformValidation, gl as PublicationResult, hl as PublicationObservation, il as HostEnvironmentPolicy, ll as PlatformNetwork, ml as PublicationIdentity, nl as HostCommandInspection, ol as HostParsedCommand, pl as PublicationFailure, rl as HostCommands, sl as HostPlatform, tl as HostAsyncFiles, ul as PlatformOwnerLease, vl as RuntimePlatform, xl as StdFs, yl as SandboxBackend } from "./index-6CFlmI1d.js";
|
|
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 };
|