@agentdock/wire 0.0.95 → 0.0.96

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.
@@ -0,0 +1 @@
1
+ "use strict";import{z as e}from"zod";import{EnterpriseRangePresetSchema as n}from"./enterpriseRange.js";export const GatewayRequestPriceSnapshotSchema=e.object({currency:e.string().regex(/^[A-Z]{3}$/),inputMicrosPerMillion:e.string().regex(/^\d+$/).nullable(),outputMicrosPerMillion:e.string().regex(/^\d+$/).nullable(),cacheReadMicrosPerMillion:e.string().regex(/^\d+$/).nullable(),cacheWriteMicrosPerMillion:e.string().regex(/^\d+$/).nullable(),reasoningMicrosPerMillion:e.string().regex(/^\d+$/).nullable().optional(),resolvedAt:e.string().datetime()}).strict(),GatewaySkeletonContentKindSchema=e.enum(["text","image","tool_use","tool_result","thinking","other"]),GatewaySkeletonMessageSchema=e.object({index:e.number().int(),role:e.string(),chars:e.number().int(),kinds:e.array(GatewaySkeletonContentKindSchema),toolCalls:e.array(e.object({name:e.string(),inputChars:e.number().int()}).strict()).optional()}).strict(),GatewayRequestSkeletonSchema=e.object({parseable:e.boolean(),system:e.object({present:e.boolean(),chars:e.number().int()}).strict().optional(),tools:e.object({count:e.number().int(),names:e.array(e.string()),namesTruncated:e.boolean().optional()}).strict().optional(),messages:e.array(GatewaySkeletonMessageSchema).optional(),messagesTruncated:e.boolean().optional(),params:e.object({temperature:e.number().nullable(),maxTokens:e.number().nullable(),topP:e.number().nullable()}).strict().optional()}).strict(),GatewaySkeletonResponseBlockSchema=e.object({type:GatewaySkeletonContentKindSchema,chars:e.number().int(),name:e.string().optional(),inputChars:e.number().int().optional()}).strict(),GatewayResponseSkeletonSchema=e.object({mode:e.enum(["stream","json","none"]),complete:e.boolean(),blocks:e.array(GatewaySkeletonResponseBlockSchema).optional(),blocksTruncated:e.boolean().optional(),stopReason:e.string().nullable().optional()}).strict(),GatewaySkeletonHeadersSchema=e.object({request:e.record(e.string(),e.string()).optional(),response:e.record(e.string(),e.string()).optional()}).strict(),GatewaySkeletonEnvelopeSchema=e.object({request:GatewayRequestSkeletonSchema.optional(),response:GatewayResponseSkeletonSchema.optional(),headers:GatewaySkeletonHeadersSchema.optional()}).strict(),GatewayRequestListQuerySchema=e.object({from:e.string().regex(/^\d{4}-\d{2}-\d{2}$/).optional(),to:e.string().regex(/^\d{4}-\d{2}-\d{2}$/).optional(),range:n.optional(),userId:e.string().optional(),machineId:e.string().optional(),connectionId:e.string().optional(),agent:e.string().optional(),model:e.string().optional(),provider:e.string().optional(),outcome:e.string().optional(),limit:e.number().int().min(1).max(200),offset:e.number().int().min(0),cursor:e.string().optional()}).strict(),GatewayRequestRowSchema=e.object({id:e.string(),gatewayRequestId:e.string(),createdAt:e.string(),startedAt:e.string().nullable(),endedAt:e.string().nullable(),enterpriseId:e.string(),connectionId:e.string().nullable(),connectionName:e.string().nullable(),routeId:e.string().nullable(),routeAlias:e.string().nullable(),agent:e.string().nullable(),model:e.string().nullable(),provider:e.string().nullable(),sessionId:e.string().nullable(),callType:e.string().nullable(),userAgent:e.string().nullable(),requestProtocol:e.string().nullable(),upstreamProtocol:e.string().nullable(),stream:e.boolean().nullable(),httpMethod:e.string().nullable(),httpPath:e.string().nullable(),username:e.string().nullable(),userId:e.string().nullable(),machineId:e.string().nullable(),statusCode:e.number().int().nullable(),statusClass:e.string().nullable(),outcome:e.string(),errorCode:e.string().nullable(),durationMs:e.number().int(),requestBytes:e.number().int(),responseBytes:e.number().int(),upstreamRequestId:e.string().nullable(),inputTokens:e.number().int(),outputTokens:e.number().int(),cacheReadTokens:e.number().int(),cacheWriteTokens:e.number().int(),reasoningTokens:e.number().int(),totalTokens:e.number().int(),costMicros:e.number().nullable(),currency:e.string().nullable(),pricingVersion:e.string().nullable(),logicalModelId:e.string().nullable().optional(),logicalModelDisplayName:e.string().nullable().optional(),deploymentId:e.string().nullable().optional(),upstreamModelId:e.string().nullable().optional(),priceSource:e.enum(["default","deployment_override","connection_override","unpriced"]).nullable().optional(),priceRuleId:e.string().nullable().optional(),priceSnapshot:GatewayRequestPriceSnapshotSchema.nullable().optional(),pricedAt:e.string().datetime().nullable().optional(),skeleton:GatewaySkeletonEnvelopeSchema.optional(),requestSample:e.string().nullable().optional(),responseSample:e.string().nullable().optional(),bodyAvailable:e.boolean().optional(),bodyExpiresAt:e.string().datetime().nullable().optional()}).strict(),GatewayRequestPageSchema=e.object({data:e.array(GatewayRequestRowSchema),total:e.number().int().nonnegative(),limit:e.number().int().positive(),offset:e.number().int().nonnegative(),hasMore:e.boolean(),nextCursor:e.string().optional()}).strict(),GatewayRequestListResponseSchema=e.object({ok:e.literal(!0),data:e.array(GatewayRequestRowSchema),total:e.number().int().nonnegative(),limit:e.number().int().positive(),offset:e.number().int().nonnegative(),hasMore:e.boolean(),nextCursor:e.string().optional()}).strict(),GatewayUsageSummarySchema=e.object({currency:e.string().regex(/^[A-Z]{3}$/),requestCount:e.number().int().nonnegative(),inputTokens:e.number().nonnegative(),outputTokens:e.number().nonnegative(),cacheReadTokens:e.number().nonnegative(),cacheWriteTokens:e.number().nonnegative(),reasoningTokens:e.number().nonnegative(),totalTokens:e.number().nonnegative(),costMicros:e.number().nullable(),pricedCount:e.number().int().nonnegative(),unpricedCount:e.number().int().nonnegative(),errorCount:e.number().int().nonnegative(),errorRate:e.number().min(0).max(1),latencyMs:e.object({p50:e.number().nullable(),p95:e.number().nullable()}).strict(),breakdown:e.array(e.object({agent:e.string().nullable(),model:e.string().nullable(),provider:e.string().nullable(),requestCount:e.number().int().nonnegative(),inputTokens:e.number().nonnegative(),outputTokens:e.number().nonnegative(),totalTokens:e.number().nonnegative(),costMicros:e.number().nullable()}).strict())}).strict(),GatewayUsageSummaryResponseSchema=e.object({ok:e.literal(!0),data:GatewayUsageSummarySchema}).strict(),GatewayDailyUsageSchema=e.object({day:e.string().regex(/^\d{4}-\d{2}-\d{2}$/),agent:e.string().nullable(),model:e.string().nullable(),provider:e.string().nullable(),requestCount:e.number().int().nonnegative(),inputTokens:e.number().nonnegative(),outputTokens:e.number().nonnegative(),cacheReadTokens:e.number().nonnegative(),cacheWriteTokens:e.number().nonnegative(),totalTokens:e.number().nonnegative(),costMicros:e.number().nullable(),currency:e.string().regex(/^[A-Z]{3}$/).nullable()}).strict(),GatewayDailyUsageListResponseSchema=e.object({ok:e.literal(!0),data:e.array(GatewayDailyUsageSchema)}).strict();
package/dist/index.d.ts CHANGED
@@ -25,6 +25,7 @@ export { SESSION_HANDOFF_CAPABILITY, HandoffProposalContentSchema, HandoffPropos
25
25
  export type { HandoffProposalContent, HandoffProposalCreate, HandoffProposalRecord, HandoffProposalStatus, HandoffProposalContentEnvelope, InheritedDeliverySummary, SessionHandoffContext, AccountDeliveryRow, AccountDeliveryPage, DeliveryConsumer, } from './workItems.js';
26
26
  export type { RpcCall, RpcResult, SpawnSessionParams, CheckPathParams, GetMessagesParams, GetMessagesResponse, MachineInfoResponse, AgentEnvConfig, AgentSettings, LabsSettings, CustomModel, SkillDefinition, AiHelperConfig, LocalAiHelperConfig, LocalAgentSettings, AiHelperParams, AiHelperCancelParams, } from './rpc.js';
27
27
  export * from './enterprisePolicyExports.js';
28
+ export * from './enterpriseDirectory.js';
28
29
  export { AGENT_CAPABILITIES, getAgentCapability, updateDynamicModes, getDynamicModes, normalizeModelId, NATIVE_MODE_TO_POLICY, resolvePolicyMode, } from './agentCapabilities.js';
29
30
  export type { AgentCapability, AgentPermissionMode, AgentModelOption, ModelSource, } from './agentCapabilities.js';
30
31
  export { ModelUsageEntrySchema, DailyActivitySchema, DailyModelTokensSchema, LongestSessionSchema, ClaudeStatsDataSchema, ProjectSummarySchema, StatsOverviewSchema, AgentTypeUsageSchema, AgentSessionUsageEntrySchema, AgentSessionUsageResponseSchema, ActivityUploadSchema, UsageReportSchema, TokenTrendPointSchema, ModelBreakdownEntrySchema, QuotaConfigSchema, } from './stats.js';
@@ -69,8 +70,10 @@ export type { TelemetryEventType, TelemetryEvent, TelemetryEventStrict, Telemetr
69
70
  export * from './checkpointSchemas.js';
70
71
  export { SourceMetadataSchema } from './sourceMetadata.js';
71
72
  export type { SourceMetadata } from './sourceMetadata.js';
72
- export * from './gateway.js';
73
- export * from './enterpriseRuntime.js';
73
+ export * from './enterpriseGatewayExports.js';
74
+ export * from './enterpriseCurrency.js';
75
+ export * from './enterpriseOverview.js';
76
+ export * from './enterpriseRange.js';
74
77
  export { OpsRpcMessageSchema, OpsMethodSchema, OpsRpcTypeSchema, DockerImageRefSchema, FileEntrySchema, FileStatSchema, StorageUsageSchema, SyncUserSchema, SyncFullPayloadSchema, SyncUserCreatedPayloadSchema, SyncContainerStatusPayloadSchema, SyncUserPairedPayloadSchema, type OpsRpcMessage, type OpsMethod, type OpsRpcType, type DockerImageRef, type OpsTunnelMetrics, type FileEntry, type FileStat, type StorageUsage, type SyncUser, type SyncFullPayload, type SyncUserCreatedPayload, type SyncContainerStatusPayload, type SyncUserPairedPayload, } from './ops.js';
75
78
  export * from './edition.js';
76
79
  export { LicensePayloadSchema, LicenseFileSchema, EnterpriseLicenseSchema, PrivateLicenseSchema, } from './license.js';
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";export{ACCOUNT_LANGUAGES,DEFAULT_ACCOUNT_LANGUAGE,ACCOUNT_LANGUAGE_CAPABILITY,AccountLanguageSchema,AccountLanguageRequestSchema,AccountLanguageResponseSchema,isAccountLanguage}from"./accountLanguage.js";export{parseSessionTitleFromTag,resolveSessionTitle,stripSessionTitleShortId}from"./sessionTitle.js";export{SessionTextEventSchema,SessionServiceEventSchema,SessionToolCallStartEventSchema,SessionToolCallEndEventSchema,SessionFileEventSchema,SessionTurnStartEventSchema,SessionTurnEndEventSchema,SessionTurnEndStatusSchema,TurnUsageSchema,SessionStartEventSchema,SessionStopEventSchema,SessionEventSchema,SessionPermissionResolvedEventSchema,PermissionActionSchema,SessionImageEventSchema,ImageAttachmentSchema,SessionContextUsageEventSchema,SessionCompactBoundaryEventSchema,emptyContextUsageSnapshot}from"./events.js";export{QuestionOptionSchema,SessionQuestionEventSchema,SessionPermissionRequestEventSchema,SessionAnswerEventSchema,AnswerQuestionParamsSchema,ApprovePermissionParamsSchema,DenyPermissionParamsSchema,PermissionModeSchema}from"./interactionEvents.js";export{SessionRoleSchema,SessionEnvelopeSchema,createEnvelope}from"./envelope.js";export{NotificationEventTypeSchema,DispatchNotificationParamsSchema}from"./notification.js";export{AgentTypeSchema,MessageMetaSchema,AGENT_TYPES,SPAWNABLE_AGENTS,CLI_AGENT_TYPES}from"./messageMeta.js";export{AGENT_SUPPORTS_IMAGES,AGENT_DISPLAY_NAMES}from"./messageMeta.js";export{SessionContextBoundaryKindSchema,getSessionContextBoundary,SessionMessageContentSchema,SessionMessageSchema,SessionProtocolMessageSchema,MessageContentSchema}from"./messages.js";export*from"./sessionBtw.js";export{UserMessageSchema,AgentMessageSchema,LegacyMessageContentSchema}from"./legacyProtocol.js";export{VersionedEncryptedValueSchema,VersionedNullableEncryptedValueSchema,VersionedMachineEncryptedValueSchema,UpdateNewMessageBodySchema,UpdateSessionBodySchema,UpdateMachineBodySchema,UpdateSessionResetBodySchema,CoreUpdateBodySchema,CoreUpdateContainerSchema}from"./sync.js";export{RpcMethod,SESSION_RPC_METHODS,MACHINE_RPC_METHODS,DAEMON_REQUIRED_RPC_METHODS,RpcCallSchema,RpcResultSchema,SpawnSessionParamsSchema,GetMessagesParamsSchema,GetMessagesResponseSchema,MachineInfoResponseSchema,CheckPathParamsSchema,AGENT_ENV_NONE,AgentEnvConfigSchema,AgentEnvConfigSetSchema,AgentSettingsSchema,SetAgentSettingsSchema,LabsSettingsSchema,CustomModelSchema,SkillDefinitionSchema,AiHelperConfigSchema,LocalAiHelperConfigSchema,LocalAgentSettingsSchema,AiHelperPayloadSchema,AiHelperDecryptedPayloadSchema,AiHelperParamsSchema,AiHelperCancelParamsSchema}from"./rpc.js";export{HANDOFF_BRIEF_TEMPLATE,HANDOFF_BRIEF_TEMPLATE_ZH,HANDOFF_BRIEF_REQUIREMENTS,HANDOFF_SOURCE_REFERENCE_GUIDANCE,SESSION_DELIVERY_TEMPLATE,SESSION_DELIVERY_TEMPLATE_ZH,sessionDeliveryTemplate,SESSION_DELIVERY_REQUIREMENTS,HandoffBriefSchema,getMissingHandoffBriefSections}from"./handoffBrief.js";export{SESSION_HANDOFF_CAPABILITY,HandoffProposalContentSchema,HandoffProposalCreateSchema,HandoffProposalStatusSchema,HandoffProposalContentEnvelopeSchema,HandoffProposalRecordSchema,InheritedDeliverySummarySchema,SessionHandoffContextSchema,AccountDeliveryRowSchema,AccountDeliveryPageSchema,DeliveryConsumerSchema}from"./workItems.js";export*from"./enterprisePolicyExports.js";export{AGENT_CAPABILITIES,getAgentCapability,updateDynamicModes,getDynamicModes,normalizeModelId,NATIVE_MODE_TO_POLICY,resolvePolicyMode}from"./agentCapabilities.js";export{ModelUsageEntrySchema,DailyActivitySchema,DailyModelTokensSchema,LongestSessionSchema,ClaudeStatsDataSchema,ProjectSummarySchema,StatsOverviewSchema,AgentTypeUsageSchema,AgentSessionUsageEntrySchema,AgentSessionUsageResponseSchema,ActivityUploadSchema,UsageReportSchema,TokenTrendPointSchema,ModelBreakdownEntrySchema,QuotaConfigSchema}from"./stats.js";export{ControlLevel}from"./controlLevel.js";export{TEXT_EXTS,CODE_EXTS,DOC_EXTS,IMG_EXTS,FILE_CATEGORY_MAX_SIZE,BLOCKED_EXTS,ALLOWED_EXTENSIONS,FILE_SIGNATURES,getFileExt,resolveFileCategory,verifyMagicBytes}from"./fileWhitelist.js";export{PairingState,PairingRequestSchema,PairingResponseSchema,PairingExchangeSchema,PairingDeliverSchema,PairingStatusSchema,parseVersionByte,encodeVersionByte,CURRENT_DERIVATION_VERSION}from"./pairing.js";export{PlatformSchema,SessionStatusSchema,MachineSummarySchema,MachineRegisterResultSchema}from"./machine.js";export{SessionCreatePayloadSchema,UpdateMetadataPayloadSchema,UpdateStatePayloadSchema,ContextUsageUpdatePayloadSchema,SessionAlivePayloadSchema,GetSessionRuntimeStatusPayloadSchema,SessionDeletePayloadSchema,SessionEndPayloadSchema,SessionTerminatePayloadSchema,RenameSessionPayloadSchema,SessionContextResetPayloadSchema,ClaimAutoSessionTitlePayloadSchema,MessagePayloadSchema,BatchMessagePayloadSchema,GetMessagesPayloadSchema,SessionStatusPayloadSchema,MachineRegisterPayloadSchema,RegisterHistorySessionsPayloadSchema,HistorySessionEntrySchema,INBOUND_SESSION_STATUSES}from"./inboundEvents.js";export{FEATURE_REGISTRY,isFeatureAvailable,getUnavailableFeatures,isSubFeatureAvailable,getSubFeatureMinVersion,getFeatureMinVersion}from"./features.js";export{SessionResultSchema}from"./sessionResult.js";export{SpawnErrorCodeSchema,SpawnErrorSchema,createSpawnError}from"./spawnError.js";export{AGENT_INSTALL_GUIDE}from"./agentInstallGuide.js";export{AGENT_COMMON_ENV_VARS}from"./agentCommonEnv.js";export{RetryPolicySchema,MissedRunPolicySchema,ScheduledSpawnParamsSchema,TaskExecutionStatusSchema,TaskExecutionTriggerSchema,TaskTriggerTypeSchema,TaskResultSchema,TaskStatsSchema,TaskExecutionBarSchema,TaskCardStatsSchema,CreateScheduledTaskSchema,UpdateScheduledTaskSchema,ScheduledTaskSummarySchema,TaskExecutionSchema,TriggerCallSchema,TriggerExecutionSchema,RegenerateTokenResponseSchema,CRON_RE}from"./scheduledTasks.js";export{TASK_RESULT_PREFIX,serializeTaskResult,parseTaskResultPayload,extractTaskResultFromText}from"./taskResult.js";export{PROTOCOL_VERSION}from"./protocol.js";export{parseSemver,compareVersions,satisfiesMin}from"./semver.js";export{createId}from"./utils.js";export{errorMessage}from"./errorMessage.js";export{BG_TASK_PREFIX,encodeBgTask,parseBgTask,isBgTaskLifecycleLine}from"./bgTask.js";export{BASH_TOOL_NAMES,isBashToolName,extractCommandSubject,MIN_SUBJECT_LENGTH}from"./permissionSubject.js";export{SOCKET_EVENTS}from"./socketEvents.js";export{TelemetryEventTypeSchema,TelemetryEventSchema,TelemetryReportPayloadSchema,sanitizeContext}from"./telemetry.js";export*from"./checkpointSchemas.js";export{SourceMetadataSchema}from"./sourceMetadata.js";export*from"./gateway.js";export*from"./enterpriseRuntime.js";export{OpsRpcMessageSchema,OpsMethodSchema,OpsRpcTypeSchema,DockerImageRefSchema,FileEntrySchema,FileStatSchema,StorageUsageSchema,SyncUserSchema,SyncFullPayloadSchema,SyncUserCreatedPayloadSchema,SyncContainerStatusPayloadSchema,SyncUserPairedPayloadSchema}from"./ops.js";export*from"./edition.js";export{LicensePayloadSchema,LicenseFileSchema,EnterpriseLicenseSchema,PrivateLicenseSchema}from"./license.js";export{FeedbackTypeSchema,FeedbackStatusSchema,DeviceInfoSchema,MachineSnapshotSchema,CreateFeedbackSchema,UpdateFeedbackSchema,RunModeSchema,RunModesSchema,BugFieldsSchema,SettingsSnapshotSchema}from"./feedback.js";
1
+ "use strict";export{ACCOUNT_LANGUAGES,DEFAULT_ACCOUNT_LANGUAGE,ACCOUNT_LANGUAGE_CAPABILITY,AccountLanguageSchema,AccountLanguageRequestSchema,AccountLanguageResponseSchema,isAccountLanguage}from"./accountLanguage.js";export{parseSessionTitleFromTag,resolveSessionTitle,stripSessionTitleShortId}from"./sessionTitle.js";export{SessionTextEventSchema,SessionServiceEventSchema,SessionToolCallStartEventSchema,SessionToolCallEndEventSchema,SessionFileEventSchema,SessionTurnStartEventSchema,SessionTurnEndEventSchema,SessionTurnEndStatusSchema,TurnUsageSchema,SessionStartEventSchema,SessionStopEventSchema,SessionEventSchema,SessionPermissionResolvedEventSchema,PermissionActionSchema,SessionImageEventSchema,ImageAttachmentSchema,SessionContextUsageEventSchema,SessionCompactBoundaryEventSchema,emptyContextUsageSnapshot}from"./events.js";export{QuestionOptionSchema,SessionQuestionEventSchema,SessionPermissionRequestEventSchema,SessionAnswerEventSchema,AnswerQuestionParamsSchema,ApprovePermissionParamsSchema,DenyPermissionParamsSchema,PermissionModeSchema}from"./interactionEvents.js";export{SessionRoleSchema,SessionEnvelopeSchema,createEnvelope}from"./envelope.js";export{NotificationEventTypeSchema,DispatchNotificationParamsSchema}from"./notification.js";export{AgentTypeSchema,MessageMetaSchema,AGENT_TYPES,SPAWNABLE_AGENTS,CLI_AGENT_TYPES}from"./messageMeta.js";export{AGENT_SUPPORTS_IMAGES,AGENT_DISPLAY_NAMES}from"./messageMeta.js";export{SessionContextBoundaryKindSchema,getSessionContextBoundary,SessionMessageContentSchema,SessionMessageSchema,SessionProtocolMessageSchema,MessageContentSchema}from"./messages.js";export*from"./sessionBtw.js";export{UserMessageSchema,AgentMessageSchema,LegacyMessageContentSchema}from"./legacyProtocol.js";export{VersionedEncryptedValueSchema,VersionedNullableEncryptedValueSchema,VersionedMachineEncryptedValueSchema,UpdateNewMessageBodySchema,UpdateSessionBodySchema,UpdateMachineBodySchema,UpdateSessionResetBodySchema,CoreUpdateBodySchema,CoreUpdateContainerSchema}from"./sync.js";export{RpcMethod,SESSION_RPC_METHODS,MACHINE_RPC_METHODS,DAEMON_REQUIRED_RPC_METHODS,RpcCallSchema,RpcResultSchema,SpawnSessionParamsSchema,GetMessagesParamsSchema,GetMessagesResponseSchema,MachineInfoResponseSchema,CheckPathParamsSchema,AGENT_ENV_NONE,AgentEnvConfigSchema,AgentEnvConfigSetSchema,AgentSettingsSchema,SetAgentSettingsSchema,LabsSettingsSchema,CustomModelSchema,SkillDefinitionSchema,AiHelperConfigSchema,LocalAiHelperConfigSchema,LocalAgentSettingsSchema,AiHelperPayloadSchema,AiHelperDecryptedPayloadSchema,AiHelperParamsSchema,AiHelperCancelParamsSchema}from"./rpc.js";export{HANDOFF_BRIEF_TEMPLATE,HANDOFF_BRIEF_TEMPLATE_ZH,HANDOFF_BRIEF_REQUIREMENTS,HANDOFF_SOURCE_REFERENCE_GUIDANCE,SESSION_DELIVERY_TEMPLATE,SESSION_DELIVERY_TEMPLATE_ZH,sessionDeliveryTemplate,SESSION_DELIVERY_REQUIREMENTS,HandoffBriefSchema,getMissingHandoffBriefSections}from"./handoffBrief.js";export{SESSION_HANDOFF_CAPABILITY,HandoffProposalContentSchema,HandoffProposalCreateSchema,HandoffProposalStatusSchema,HandoffProposalContentEnvelopeSchema,HandoffProposalRecordSchema,InheritedDeliverySummarySchema,SessionHandoffContextSchema,AccountDeliveryRowSchema,AccountDeliveryPageSchema,DeliveryConsumerSchema}from"./workItems.js";export*from"./enterprisePolicyExports.js";export*from"./enterpriseDirectory.js";export{AGENT_CAPABILITIES,getAgentCapability,updateDynamicModes,getDynamicModes,normalizeModelId,NATIVE_MODE_TO_POLICY,resolvePolicyMode}from"./agentCapabilities.js";export{ModelUsageEntrySchema,DailyActivitySchema,DailyModelTokensSchema,LongestSessionSchema,ClaudeStatsDataSchema,ProjectSummarySchema,StatsOverviewSchema,AgentTypeUsageSchema,AgentSessionUsageEntrySchema,AgentSessionUsageResponseSchema,ActivityUploadSchema,UsageReportSchema,TokenTrendPointSchema,ModelBreakdownEntrySchema,QuotaConfigSchema}from"./stats.js";export{ControlLevel}from"./controlLevel.js";export{TEXT_EXTS,CODE_EXTS,DOC_EXTS,IMG_EXTS,FILE_CATEGORY_MAX_SIZE,BLOCKED_EXTS,ALLOWED_EXTENSIONS,FILE_SIGNATURES,getFileExt,resolveFileCategory,verifyMagicBytes}from"./fileWhitelist.js";export{PairingState,PairingRequestSchema,PairingResponseSchema,PairingExchangeSchema,PairingDeliverSchema,PairingStatusSchema,parseVersionByte,encodeVersionByte,CURRENT_DERIVATION_VERSION}from"./pairing.js";export{PlatformSchema,SessionStatusSchema,MachineSummarySchema,MachineRegisterResultSchema}from"./machine.js";export{SessionCreatePayloadSchema,UpdateMetadataPayloadSchema,UpdateStatePayloadSchema,ContextUsageUpdatePayloadSchema,SessionAlivePayloadSchema,GetSessionRuntimeStatusPayloadSchema,SessionDeletePayloadSchema,SessionEndPayloadSchema,SessionTerminatePayloadSchema,RenameSessionPayloadSchema,SessionContextResetPayloadSchema,ClaimAutoSessionTitlePayloadSchema,MessagePayloadSchema,BatchMessagePayloadSchema,GetMessagesPayloadSchema,SessionStatusPayloadSchema,MachineRegisterPayloadSchema,RegisterHistorySessionsPayloadSchema,HistorySessionEntrySchema,INBOUND_SESSION_STATUSES}from"./inboundEvents.js";export{FEATURE_REGISTRY,isFeatureAvailable,getUnavailableFeatures,isSubFeatureAvailable,getSubFeatureMinVersion,getFeatureMinVersion}from"./features.js";export{SessionResultSchema}from"./sessionResult.js";export{SpawnErrorCodeSchema,SpawnErrorSchema,createSpawnError}from"./spawnError.js";export{AGENT_INSTALL_GUIDE}from"./agentInstallGuide.js";export{AGENT_COMMON_ENV_VARS}from"./agentCommonEnv.js";export{RetryPolicySchema,MissedRunPolicySchema,ScheduledSpawnParamsSchema,TaskExecutionStatusSchema,TaskExecutionTriggerSchema,TaskTriggerTypeSchema,TaskResultSchema,TaskStatsSchema,TaskExecutionBarSchema,TaskCardStatsSchema,CreateScheduledTaskSchema,UpdateScheduledTaskSchema,ScheduledTaskSummarySchema,TaskExecutionSchema,TriggerCallSchema,TriggerExecutionSchema,RegenerateTokenResponseSchema,CRON_RE}from"./scheduledTasks.js";export{TASK_RESULT_PREFIX,serializeTaskResult,parseTaskResultPayload,extractTaskResultFromText}from"./taskResult.js";export{PROTOCOL_VERSION}from"./protocol.js";export{parseSemver,compareVersions,satisfiesMin}from"./semver.js";export{createId}from"./utils.js";export{errorMessage}from"./errorMessage.js";export{BG_TASK_PREFIX,encodeBgTask,parseBgTask,isBgTaskLifecycleLine}from"./bgTask.js";export{BASH_TOOL_NAMES,isBashToolName,extractCommandSubject,MIN_SUBJECT_LENGTH}from"./permissionSubject.js";export{SOCKET_EVENTS}from"./socketEvents.js";export{TelemetryEventTypeSchema,TelemetryEventSchema,TelemetryReportPayloadSchema,sanitizeContext}from"./telemetry.js";export*from"./checkpointSchemas.js";export{SourceMetadataSchema}from"./sourceMetadata.js";export*from"./enterpriseGatewayExports.js";export*from"./enterpriseCurrency.js";export*from"./enterpriseOverview.js";export*from"./enterpriseRange.js";export{OpsRpcMessageSchema,OpsMethodSchema,OpsRpcTypeSchema,DockerImageRefSchema,FileEntrySchema,FileStatSchema,StorageUsageSchema,SyncUserSchema,SyncFullPayloadSchema,SyncUserCreatedPayloadSchema,SyncContainerStatusPayloadSchema,SyncUserPairedPayloadSchema}from"./ops.js";export*from"./edition.js";export{LicensePayloadSchema,LicenseFileSchema,EnterpriseLicenseSchema,PrivateLicenseSchema}from"./license.js";export{FeedbackTypeSchema,FeedbackStatusSchema,DeviceInfoSchema,MachineSnapshotSchema,CreateFeedbackSchema,UpdateFeedbackSchema,RunModeSchema,RunModesSchema,BugFieldsSchema,SettingsSnapshotSchema}from"./feedback.js";
@@ -12,7 +12,7 @@ export declare const SessionBtwRecordSchema: z.ZodObject<{
12
12
  createdAt: z.ZodString;
13
13
  updatedAt: z.ZodString;
14
14
  }, "strict", z.ZodTypeAny, {
15
- status: "failed" | "pending" | "succeeded";
15
+ status: "failed" | "succeeded" | "pending";
16
16
  sessionId: string;
17
17
  id: string;
18
18
  createdAt: string;
@@ -22,7 +22,7 @@ export declare const SessionBtwRecordSchema: z.ZodObject<{
22
22
  questionCiphertext: string;
23
23
  outcomeCiphertext: string | null;
24
24
  }, {
25
- status: "failed" | "pending" | "succeeded";
25
+ status: "failed" | "succeeded" | "pending";
26
26
  sessionId: string;
27
27
  id: string;
28
28
  createdAt: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentdock/wire",
3
- "version": "0.0.95",
3
+ "version": "0.0.96",
4
4
  "description": "Protocol definitions for AgentDock — Zod schemas, message formats, RPC types",
5
5
  "license": "UNLICENSED",
6
6
  "author": "CCPark",