@econ-v1/domain 6.6.0 → 6.10.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/errors/index.d.ts +96 -25
- package/dist/errors/index.d.ts.map +1 -1
- package/dist/events/index.d.ts +127 -20
- package/dist/events/index.d.ts.map +1 -1
- package/dist/index.d.ts +250 -47
- package/dist/index.d.ts.map +1 -1
- package/dist/models/agent.d.ts +25 -4
- package/dist/models/agent.d.ts.map +1 -1
- package/dist/models/app-data.d.ts +84 -0
- package/dist/models/app-data.d.ts.map +1 -0
- package/dist/models/conversation.d.ts +12 -2
- package/dist/models/conversation.d.ts.map +1 -1
- package/dist/models/delegation.d.ts +12 -3
- package/dist/models/delegation.d.ts.map +1 -1
- package/dist/models/device-boot-state.d.ts +12 -0
- package/dist/models/device-boot-state.d.ts.map +1 -0
- package/dist/models/device-identity.d.ts +11 -3
- package/dist/models/device-identity.d.ts.map +1 -1
- package/dist/models/graph.d.ts +26 -3
- package/dist/models/graph.d.ts.map +1 -1
- package/dist/models/index.d.ts +82 -14
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/json.d.ts +5 -5
- package/dist/models/json.d.ts.map +1 -1
- package/dist/models/l402.d.ts +4 -5
- package/dist/models/l402.d.ts.map +1 -1
- package/dist/models/live-query-definition.d.ts +15 -16
- package/dist/models/live-query-definition.d.ts.map +1 -1
- package/dist/models/node-app-memory.d.ts +107 -0
- package/dist/models/node-app-memory.d.ts.map +1 -0
- package/dist/models/outbox-intent.d.ts +3 -3
- package/dist/models/outbox-intent.d.ts.map +1 -1
- package/dist/models/outbox.d.ts +67 -15
- package/dist/models/outbox.d.ts.map +1 -1
- package/dist/models/owner-views.d.ts +28 -28
- package/dist/models/owner-views.d.ts.map +1 -1
- package/dist/models/payment.d.ts +28 -9
- package/dist/models/payment.d.ts.map +1 -1
- package/dist/models/query-diff.d.ts +2 -2
- package/dist/models/query-diff.d.ts.map +1 -1
- package/dist/models/release-manifest.d.ts +32 -47
- package/dist/models/release-manifest.d.ts.map +1 -1
- package/dist/models/repository-write.d.ts +3 -3
- package/dist/models/repository-write.d.ts.map +1 -1
- package/dist/models/revisioned-commands.d.ts +66 -13
- package/dist/models/revisioned-commands.d.ts.map +1 -1
- package/dist/models/revisioned.d.ts +50 -10
- package/dist/models/revisioned.d.ts.map +1 -1
- package/dist/models/settings.d.ts +2 -2
- package/dist/models/settings.d.ts.map +1 -1
- package/dist/models/sync.d.ts +18 -18
- package/dist/models/sync.d.ts.map +1 -1
- package/dist/models/wallet.d.ts +16 -16
- package/dist/models/wallet.d.ts.map +1 -1
- package/dist/queries/certificate-trust.d.ts +13 -0
- package/dist/queries/certificate-trust.d.ts.map +1 -0
- package/dist/queries/conversations.d.ts +38 -7
- package/dist/queries/conversations.d.ts.map +1 -1
- package/dist/queries/discovery.d.ts +10 -10
- package/dist/queries/discovery.d.ts.map +1 -1
- package/dist/queries/notifications.d.ts +24 -4
- package/dist/queries/notifications.d.ts.map +1 -1
- package/dist/queries/onboarding-flow.d.ts +25 -0
- package/dist/queries/onboarding-flow.d.ts.map +1 -0
- package/dist/queries/onboarding-lcd-screen.d.ts +56 -0
- package/dist/queries/onboarding-lcd-screen.d.ts.map +1 -0
- package/dist/queries/onboarding-status.d.ts +10 -10
- package/dist/queries/onboarding-status.d.ts.map +1 -1
- package/dist/queries/revisioned.d.ts +47 -13
- package/dist/queries/revisioned.d.ts.map +1 -1
- package/dist/queries/wallet.d.ts +40 -10
- package/dist/queries/wallet.d.ts.map +1 -1
- package/dist/services/abort-signal.d.ts +54 -0
- package/dist/services/abort-signal.d.ts.map +1 -0
- package/dist/services/certificate-trust-service.d.ts +42 -0
- package/dist/services/certificate-trust-service.d.ts.map +1 -0
- package/dist/services/conversation-service.d.ts +103 -15
- package/dist/services/conversation-service.d.ts.map +1 -1
- package/dist/services/conversation-sync.d.ts +9 -5
- package/dist/services/conversation-sync.d.ts.map +1 -1
- package/dist/services/device-boot-state-service.d.ts +17 -0
- package/dist/services/device-boot-state-service.d.ts.map +1 -0
- package/dist/services/device-cleanup-service.d.ts +47 -0
- package/dist/services/device-cleanup-service.d.ts.map +1 -0
- package/dist/services/discovery-probe-service.d.ts +37 -46
- package/dist/services/discovery-probe-service.d.ts.map +1 -1
- package/dist/services/gossip-service.d.ts +28 -13
- package/dist/services/gossip-service.d.ts.map +1 -1
- package/dist/services/invite-redemption-service.d.ts +43 -0
- package/dist/services/invite-redemption-service.d.ts.map +1 -0
- package/dist/services/lan-candidate-refresh-service.d.ts +22 -7
- package/dist/services/lan-candidate-refresh-service.d.ts.map +1 -1
- package/dist/services/lcd-decision-service.d.ts +58 -0
- package/dist/services/lcd-decision-service.d.ts.map +1 -0
- package/dist/services/onboarding-checkpoint-store.d.ts +54 -0
- package/dist/services/onboarding-checkpoint-store.d.ts.map +1 -0
- package/dist/services/onboarding-flow-service.d.ts +180 -0
- package/dist/services/onboarding-flow-service.d.ts.map +1 -0
- package/dist/services/onboarding-status-service.d.ts +21 -38
- package/dist/services/onboarding-status-service.d.ts.map +1 -1
- package/dist/services/outbox-service.d.ts +105 -29
- package/dist/services/outbox-service.d.ts.map +1 -1
- package/dist/services/owner-claim-service.d.ts +187 -0
- package/dist/services/owner-claim-service.d.ts.map +1 -0
- package/dist/services/owner-view-refresh-service.d.ts +40 -0
- package/dist/services/owner-view-refresh-service.d.ts.map +1 -0
- package/dist/services/owner-view-service.d.ts +49 -4
- package/dist/services/owner-view-service.d.ts.map +1 -1
- package/dist/services/peer-directory-service.d.ts +53 -17
- package/dist/services/peer-directory-service.d.ts.map +1 -1
- package/dist/services/release-manifest-verifier.d.ts +18 -20
- package/dist/services/release-manifest-verifier.d.ts.map +1 -1
- package/dist/services/revisioned-domain-service.d.ts +50 -17
- package/dist/services/revisioned-domain-service.d.ts.map +1 -1
- package/dist/services/runtime-globals.d.ts +39 -0
- package/dist/services/runtime-globals.d.ts.map +1 -0
- package/dist/services/session-service.d.ts +23 -3
- package/dist/services/session-service.d.ts.map +1 -1
- package/dist/services/sync/authoritative-mirror.d.ts +88 -15
- package/dist/services/sync/authoritative-mirror.d.ts.map +1 -1
- package/dist/services/sync/index.d.ts +17 -5
- package/dist/services/sync/index.d.ts.map +1 -1
- package/dist/services/sync/log-sync.d.ts +42 -8
- package/dist/services/sync/log-sync.d.ts.map +1 -1
- package/dist/services/sync/revision-merge.d.ts +80 -13
- package/dist/services/sync/revision-merge.d.ts.map +1 -1
- package/dist/services/sync/strategy.d.ts +11 -1
- package/dist/services/sync/strategy.d.ts.map +1 -1
- package/dist/services/transport-manager.d.ts +84 -29
- package/dist/services/transport-manager.d.ts.map +1 -1
- package/dist/services/wallet-mirror-service.d.ts +81 -18
- package/dist/services/wallet-mirror-service.d.ts.map +1 -1
- package/dist/services/wifi-provisioning-service.d.ts +146 -0
- package/dist/services/wifi-provisioning-service.d.ts.map +1 -0
- package/package.json +18 -12
- package/src/errors/index.js +126 -0
- package/src/events/index.js +124 -0
- package/src/index.js +566 -0
- package/src/models/agent.js +43 -0
- package/src/models/app-data.js +122 -0
- package/src/models/conversation.js +36 -0
- package/{dist → src}/models/delegation.js +18 -1
- package/src/models/device-boot-state.js +3 -0
- package/{dist → src}/models/device-identity.js +18 -2
- package/{dist → src}/models/graph.js +30 -3
- package/src/models/index.js +175 -0
- package/src/models/json.js +18 -0
- package/src/models/l402.js +9 -0
- package/src/models/live-query-definition.js +30 -0
- package/src/models/node-app-memory.js +130 -0
- package/src/models/outbox-intent.js +12 -0
- package/{dist → src}/models/outbox.js +102 -3
- package/src/models/owner-views.js +59 -0
- package/src/models/payment.js +24 -0
- package/src/models/query-diff.js +7 -0
- package/src/models/release-manifest.js +160 -0
- package/src/models/repository-write.js +10 -0
- package/src/models/revisioned-commands.js +92 -0
- package/src/models/revisioned.js +41 -0
- package/src/models/settings.js +16 -0
- package/src/models/sync.js +44 -0
- package/src/models/wallet.js +40 -0
- package/src/queries/certificate-trust.js +31 -0
- package/{dist → src}/queries/conversations.js +54 -3
- package/src/queries/discovery.js +34 -0
- package/{dist → src}/queries/notifications.js +25 -2
- package/src/queries/onboarding-flow.js +48 -0
- package/src/queries/onboarding-lcd-screen.js +100 -0
- package/src/queries/onboarding-status.js +34 -0
- package/src/queries/revisioned.js +128 -0
- package/{dist → src}/queries/wallet.js +35 -1
- package/src/services/abort-signal.js +69 -0
- package/src/services/certificate-trust-service.js +119 -0
- package/{dist → src}/services/conversation-service.js +108 -1
- package/src/services/conversation-sync.js +28 -0
- package/src/services/device-boot-state-service.js +45 -0
- package/src/services/device-cleanup-service.js +112 -0
- package/src/services/discovery-probe-service.js +196 -0
- package/{dist → src}/services/gossip-service.js +54 -4
- package/src/services/invite-redemption-service.js +64 -0
- package/src/services/lan-candidate-refresh-service.js +164 -0
- package/src/services/lcd-decision-service.js +93 -0
- package/src/services/onboarding-checkpoint-store.js +155 -0
- package/src/services/onboarding-flow-service.js +1096 -0
- package/src/services/onboarding-status-service.js +64 -0
- package/{dist → src}/services/outbox-service.js +132 -1
- package/src/services/owner-claim-service.js +347 -0
- package/src/services/owner-view-refresh-service.js +208 -0
- package/src/services/owner-view-service.js +87 -0
- package/{dist → src}/services/peer-directory-service.js +72 -3
- package/src/services/release-manifest-verifier.js +108 -0
- package/{dist → src}/services/revisioned-domain-service.js +189 -9
- package/src/services/runtime-globals.js +174 -0
- package/src/services/session-service.js +50 -0
- package/{dist → src}/services/sync/authoritative-mirror.js +90 -1
- package/src/services/sync/index.js +67 -0
- package/src/services/sync/log-sync.js +60 -0
- package/src/services/sync/revision-merge.js +119 -0
- package/src/services/sync/strategy.js +44 -0
- package/src/services/transport-manager.js +478 -0
- package/{dist → src}/services/wallet-mirror-service.js +226 -6
- package/src/services/wifi-provisioning-service.js +278 -0
- package/dist/errors/index.js +0 -45
- package/dist/errors/index.js.map +0 -1
- package/dist/events/index.js +0 -17
- package/dist/events/index.js.map +0 -1
- package/dist/index.js +0 -31
- package/dist/index.js.map +0 -1
- package/dist/models/agent.js +0 -17
- package/dist/models/agent.js.map +0 -1
- package/dist/models/conversation.js +0 -2
- package/dist/models/conversation.js.map +0 -1
- package/dist/models/delegation.js.map +0 -1
- package/dist/models/device-identity.js.map +0 -1
- package/dist/models/graph.js.map +0 -1
- package/dist/models/index.js +0 -8
- package/dist/models/index.js.map +0 -1
- package/dist/models/json.js +0 -2
- package/dist/models/json.js.map +0 -1
- package/dist/models/l402.js +0 -2
- package/dist/models/l402.js.map +0 -1
- package/dist/models/live-query-definition.js +0 -2
- package/dist/models/live-query-definition.js.map +0 -1
- package/dist/models/outbox-intent.js +0 -2
- package/dist/models/outbox-intent.js.map +0 -1
- package/dist/models/outbox.js.map +0 -1
- package/dist/models/owner-views.js +0 -7
- package/dist/models/owner-views.js.map +0 -1
- package/dist/models/payment.js +0 -3
- package/dist/models/payment.js.map +0 -1
- package/dist/models/query-diff.js +0 -2
- package/dist/models/query-diff.js.map +0 -1
- package/dist/models/release-manifest.js +0 -147
- package/dist/models/release-manifest.js.map +0 -1
- package/dist/models/repository-write.js +0 -2
- package/dist/models/repository-write.js.map +0 -1
- package/dist/models/revisioned-commands.js +0 -35
- package/dist/models/revisioned-commands.js.map +0 -1
- package/dist/models/revisioned.js +0 -2
- package/dist/models/revisioned.js.map +0 -1
- package/dist/models/settings.js +0 -2
- package/dist/models/settings.js.map +0 -1
- package/dist/models/sync.js +0 -2
- package/dist/models/sync.js.map +0 -1
- package/dist/models/wallet.js +0 -2
- package/dist/models/wallet.js.map +0 -1
- package/dist/queries/conversations.js.map +0 -1
- package/dist/queries/discovery.js +0 -27
- package/dist/queries/discovery.js.map +0 -1
- package/dist/queries/notifications.js.map +0 -1
- package/dist/queries/onboarding-status.js +0 -27
- package/dist/queries/onboarding-status.js.map +0 -1
- package/dist/queries/revisioned.js +0 -58
- package/dist/queries/revisioned.js.map +0 -1
- package/dist/queries/wallet.js.map +0 -1
- package/dist/services/conversation-service.js.map +0 -1
- package/dist/services/conversation-sync.js +0 -9
- package/dist/services/conversation-sync.js.map +0 -1
- package/dist/services/discovery-probe-service.js +0 -129
- package/dist/services/discovery-probe-service.js.map +0 -1
- package/dist/services/gossip-service.js.map +0 -1
- package/dist/services/lan-candidate-refresh-service.js +0 -79
- package/dist/services/lan-candidate-refresh-service.js.map +0 -1
- package/dist/services/onboarding-status-service.js +0 -32
- package/dist/services/onboarding-status-service.js.map +0 -1
- package/dist/services/outbox-service.js.map +0 -1
- package/dist/services/owner-view-service.js +0 -21
- package/dist/services/owner-view-service.js.map +0 -1
- package/dist/services/peer-directory-service.js.map +0 -1
- package/dist/services/release-manifest-verifier.js +0 -84
- package/dist/services/release-manifest-verifier.js.map +0 -1
- package/dist/services/revisioned-domain-service.js.map +0 -1
- package/dist/services/session-service.js +0 -20
- package/dist/services/session-service.js.map +0 -1
- package/dist/services/sync/authoritative-mirror.js.map +0 -1
- package/dist/services/sync/index.js +0 -4
- package/dist/services/sync/index.js.map +0 -1
- package/dist/services/sync/log-sync.js +0 -20
- package/dist/services/sync/log-sync.js.map +0 -1
- package/dist/services/sync/revision-merge.js +0 -46
- package/dist/services/sync/revision-merge.js.map +0 -1
- package/dist/services/sync/strategy.js +0 -2
- package/dist/services/sync/strategy.js.map +0 -1
- package/dist/services/transport-manager.js +0 -234
- package/dist/services/transport-manager.js.map +0 -1
- package/dist/services/wallet-mirror-service.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,58 +1,261 @@
|
|
|
1
|
-
export { DOMAIN_ERROR_CODES, DomainError, SYNC_ERROR_CODES, SyncError, TRANSPORT_ERROR_CODES, TransportError, } from "./errors/index.js";
|
|
2
|
-
export type { ClientError, DomainErrorCode, ErrorOptions, SerializableClientError, SerializableError, SyncErrorCode, TransportErrorCode, } from "./errors/index.js";
|
|
3
|
-
export { isKernelEventType, isQueryName, KERNEL_EVENT_TYPES, } from "./events/index.js";
|
|
4
|
-
export type { DomainEvent, KernelEventByType, KernelEventPayload, KernelEventPayloads, KernelEventType, QueryName, } from "./events/index.js";
|
|
5
|
-
export { REVISIONED_DOMAINS } from "./models/index.js";
|
|
6
|
-
export type { Agent, AgentStatus, AgentValue, Graph, GraphEdge, GraphNode, GraphValue, RevisionCommand, RevisionConflictPayload, RevisionConflictRecord, RevisionResolution, RevisionedDomain, RevisionedSetting, SettingValue, } from "./models/index.js";
|
|
7
|
-
export { AGENT_STATUSES, parseAgentValue, parseGraphValue } from "./models/index.js";
|
|
8
|
-
export { REVISIONED_COMMAND_NAMES, createAgentUpdateCommand, createGraphUpdateCommand, createResolveRevisionConflictCommand, createRevisionedUpdateCommand, } from "./models/index.js";
|
|
9
|
-
export type { ResolveRevisionConflictCommand, RevisionUpdateCommand, RevisionUpdateCommandName, RevisionedCommandName, } from "./models/index.js";
|
|
10
|
-
export { createAgentDetailQuery, createAgentListQuery, createGraphDetailQuery, createGraphListQuery, createSettingDetailQuery, createSettingsRevisionedListQuery, parseRevisionDetailParams, } from "./queries/revisioned.js";
|
|
11
|
-
export type { RevisionedListRepository } from "./queries/revisioned.js";
|
|
12
|
-
export type { Conversation, ConversationListParams, ConversationLogDelta, ConversationMessage, ConversationMessageState, MessageListParams, Notification, NotificationListParams, } from "./models/conversation.js";
|
|
13
|
-
export { createConversationListQuery, createConversationMessagesQuery, parseConversationListParams, parseConversationMessagesParams, } from "./queries/conversations.js";
|
|
14
|
-
export { createNotificationsQuery, parseNotificationListParams } from "./queries/notifications.js";
|
|
15
|
-
export type { CreateInvoiceInput, PayInvoiceInput, PaymentHistoryView, WalletAuthoritativeSnapshot, WalletBalanceView, WalletCommand, WalletMirrorRepository, WalletSnapshotPayload, } from "./models/wallet.js";
|
|
16
|
-
export type { WalletCommandResult } from "./models/payment.js";
|
|
17
|
-
export type { L402HistoryView, L402Receipt } from "./models/l402.js";
|
|
18
|
-
export type { PaymentRecord, PaymentStatus } from "./models/payment.js";
|
|
19
|
-
export { createL402HistoryQuery, createPaymentHistoryQuery, createWalletBalanceQuery, L402_HISTORY_QUERY, PAYMENT_HISTORY_QUERY, WALLET_BALANCE_QUERY, } from "./queries/wallet.js";
|
|
20
1
|
export { ConversationService } from "./services/conversation-service.js";
|
|
21
|
-
export
|
|
2
|
+
export { CertificateTrustService } from "./services/certificate-trust-service.js";
|
|
22
3
|
export { createConversationLogSync } from "./services/conversation-sync.js";
|
|
23
|
-
export type { ConversationSyncContext } from "./services/conversation-sync.js";
|
|
24
|
-
export type { JsonObject, JsonPrimitive, JsonValue, LiveQueryDefinition, OutboxIntent, OutboxIntentState, QueryDiff, RepositoryWrite, } from "./models/index.js";
|
|
25
|
-
export { canonicalOutboxPayload } from "./models/index.js";
|
|
26
|
-
export { AuthoritativeMirror, AuthoritativeRevalidationRequiredError, LogSync, RevisionMerge, } from "./services/sync/index.js";
|
|
27
|
-
export type { AuthoritativeCommand, AuthoritativeCommandOptions, AuthoritativeMirrorOptions, AuthoritativeSnapshot, LogSyncOptions, RevisionCommandResult, RevisionConflict, RevisionEntity, RevisionIntent, RevisionMergeOptions, RevisionWriteInput, SyncApplyResult, SyncDelta, SyncDeltaContext, SyncStrategy, SyncStrategyKind, } from "./services/sync/index.js";
|
|
28
|
-
export { RevisionedDomainService, parseRevisionConflictRecord, } from "./services/revisioned-domain-service.js";
|
|
29
|
-
export type { RevisionedDomainRepository, RevisionedDomainServiceOptions, RevisionResolutionResult, RevisionedWriteInput, RevisionedWriteResult, } from "./services/revisioned-domain-service.js";
|
|
30
|
-
export { isDelegationActive, isDevicePublicIdentity, normalizeDelegation, publicIdentityDiagnostic, } from "./models/index.js";
|
|
31
|
-
export type { TransportState } from "@econ-v1/ports";
|
|
32
|
-
export { OutboxIdempotencyConflictError, OutboxRevalidationRequiredError, OutboxService, OutboxTransitionError, } from "./services/outbox-service.js";
|
|
33
|
-
export type { ClaimOptions, FailureOptions, OutboxPersistence, OutboxServiceOptions, } from "./services/outbox-service.js";
|
|
34
4
|
export { SessionService } from "./services/session-service.js";
|
|
35
|
-
export { ExpiredInvoiceError, InsufficientWalletBalanceError, OfflineWalletCommandError, WalletCommandRejectedError, WalletFreshStateRequiredError, WalletMirrorService, } from "./services/wallet-mirror-service.js";
|
|
36
|
-
export type { WalletMirrorServiceOptions } from "./services/wallet-mirror-service.js";
|
|
37
|
-
export { canonicalHttpCandidateOrigin, TransportManager } from "./services/transport-manager.js";
|
|
38
|
-
export type { TransportManagerOptions } from "./services/transport-manager.js";
|
|
39
|
-
export { normalizeAdvertisement, nodeMetadataCandidates, PeerDirectoryService, uniqueAddresses, } from "./services/peer-directory-service.js";
|
|
40
|
-
export type { NodeMetadataWire, PeerAdvertisement } from "./services/peer-directory-service.js";
|
|
41
5
|
export { GossipService } from "./services/gossip-service.js";
|
|
42
|
-
export type { GossipAdvertisement, GossipServiceOptions } from "./services/gossip-service.js";
|
|
43
6
|
export { OwnerViewService } from "./services/owner-view-service.js";
|
|
44
|
-
export
|
|
7
|
+
export { OwnerViewRefreshService } from "./services/owner-view-refresh-service.js";
|
|
45
8
|
export { OWNER_VIEW_SYNC_STRATEGIES } from "./models/owner-views.js";
|
|
46
9
|
export { LanCandidateRefreshService } from "./services/lan-candidate-refresh-service.js";
|
|
47
|
-
export
|
|
10
|
+
export { DeviceBootStateService } from "./services/device-boot-state-service.js";
|
|
11
|
+
export { OnboardingStatusService } from "./services/onboarding-status-service.js";
|
|
12
|
+
export { InviteRedemptionService } from "./services/invite-redemption-service.js";
|
|
13
|
+
export { WifiProvisioningService } from "./services/wifi-provisioning-service.js";
|
|
14
|
+
export { DeviceCleanupService } from "./services/device-cleanup-service.js";
|
|
15
|
+
export { LcdDecisionService } from "./services/lcd-decision-service.js";
|
|
16
|
+
export { OwnerClaimService } from "./services/owner-claim-service.js";
|
|
17
|
+
export type ClientError = import("./errors/index.js").ClientError;
|
|
18
|
+
export type DomainErrorCode = import("./errors/index.js").DomainErrorCode;
|
|
19
|
+
export type ErrorOptions<TCode extends string> = import("./errors/index.js").ErrorOptions<TCode>;
|
|
20
|
+
export type SerializableClientError = import("./errors/index.js").SerializableClientError;
|
|
21
|
+
export type SerializableError<TKind extends string, TCode extends string> = import("./errors/index.js").SerializableError<TKind, TCode>;
|
|
22
|
+
export type SyncErrorCode = import("./errors/index.js").SyncErrorCode;
|
|
23
|
+
export type TransportErrorCode = import("./errors/index.js").TransportErrorCode;
|
|
24
|
+
export type DomainEvent = import("./events/index.js").DomainEvent;
|
|
25
|
+
export type AppDomainEvent = import("./events/index.js").AppDomainEvent;
|
|
26
|
+
export type AppEventPayload = import("./events/index.js").AppEventPayload;
|
|
27
|
+
export type AppEventType = import("./events/index.js").AppEventType;
|
|
28
|
+
export type CoreKernelEventType = import("./events/index.js").CoreKernelEventType;
|
|
29
|
+
export type KernelEventByType<T extends KernelEventType> = import("./events/index.js").KernelEventByType<T>;
|
|
30
|
+
export type KernelEventPayload<T extends KernelEventType> = import("./events/index.js").KernelEventPayload<T>;
|
|
31
|
+
export type KernelEventPayloads = import("./events/index.js").KernelEventPayloads;
|
|
32
|
+
export type KernelEventType = import("./events/index.js").KernelEventType;
|
|
33
|
+
export type QueryName = import("./events/index.js").QueryName;
|
|
34
|
+
export type Agent = import("./models/index.js").Agent;
|
|
35
|
+
export type AgentStatus = import("./models/index.js").AgentStatus;
|
|
36
|
+
export type AgentValue = import("./models/index.js").AgentValue;
|
|
37
|
+
export type NodeAppBudgetState = import("./models/index.js").NodeAppBudgetState;
|
|
38
|
+
export type NodeAppBudgetVerdict = import("./models/index.js").NodeAppBudgetVerdict;
|
|
39
|
+
export type NodeAppDeviceMemory = import("./models/index.js").NodeAppDeviceMemory;
|
|
40
|
+
export type NodeAppGovernorRow = import("./models/index.js").NodeAppGovernorRow;
|
|
41
|
+
export type NodeAppHeapObjectTypeCount = import("./models/index.js").NodeAppHeapObjectTypeCount;
|
|
42
|
+
export type NodeAppHeapSnapshot = import("./models/index.js").NodeAppHeapSnapshot;
|
|
43
|
+
export type NodeAppHeapSnapshotState = import("./models/index.js").NodeAppHeapSnapshotState;
|
|
44
|
+
export type NodeAppHeapSnapshotSummary = import("./models/index.js").NodeAppHeapSnapshotSummary;
|
|
45
|
+
export type NodeAppLaneKind = import("./models/index.js").NodeAppLaneKind;
|
|
46
|
+
export type NodeAppLifecycleMemoryObservation = import("./models/index.js").NodeAppLifecycleMemoryObservation;
|
|
47
|
+
export type NodeAppMemoryActivityRollup = import("./models/index.js").NodeAppMemoryActivityRollup;
|
|
48
|
+
export type NodeAppMemoryApp = import("./models/index.js").NodeAppMemoryApp;
|
|
49
|
+
export type NodeAppMemoryAttribution = import("./models/index.js").NodeAppMemoryAttribution;
|
|
50
|
+
export type NodeAppMemoryAvailability = import("./models/index.js").NodeAppMemoryAvailability;
|
|
51
|
+
export type NodeAppMemoryBudgetBasis = import("./models/index.js").NodeAppMemoryBudgetBasis;
|
|
52
|
+
export type NodeAppMemoryCapabilityCallCount = import("./models/index.js").NodeAppMemoryCapabilityCallCount;
|
|
53
|
+
export type NodeAppMemoryDownload = import("./models/index.js").NodeAppMemoryDownload;
|
|
54
|
+
export type NodeAppMemoryOverview = import("./models/index.js").NodeAppMemoryOverview;
|
|
55
|
+
export type NodeAppMemoryOverviewApp = import("./models/index.js").NodeAppMemoryOverviewApp;
|
|
56
|
+
export type NodeAppMemoryReading = import("./models/index.js").NodeAppMemoryReading;
|
|
57
|
+
export type NodeAppMemoryRepository = import("./models/index.js").NodeAppMemoryRepository;
|
|
58
|
+
export type NodeAppMemorySnapshot = import("./models/index.js").NodeAppMemorySnapshot;
|
|
59
|
+
export type NodeAppMemorySource = import("./models/index.js").NodeAppMemorySource;
|
|
60
|
+
export type NodeAppMemoryTrend = import("./models/index.js").NodeAppMemoryTrend;
|
|
61
|
+
export type NodeAppMemoryTrendVerdict = import("./models/index.js").NodeAppMemoryTrendVerdict;
|
|
62
|
+
export type NodeAppMemoryUnavailableReason = import("./models/index.js").NodeAppMemoryUnavailableReason;
|
|
63
|
+
export type NodeAppPressureState = import("./models/index.js").NodeAppPressureState;
|
|
64
|
+
export type NodeAppRuntimeMode = import("./models/index.js").NodeAppRuntimeMode;
|
|
65
|
+
export type NodeAppTerminationReason = import("./models/index.js").NodeAppTerminationReason;
|
|
66
|
+
export type Graph = import("./models/index.js").Graph;
|
|
67
|
+
export type GraphEdge = import("./models/index.js").GraphEdge;
|
|
68
|
+
export type GraphNode = import("./models/index.js").GraphNode;
|
|
69
|
+
export type GraphValue = import("./models/index.js").GraphValue;
|
|
70
|
+
export type RevisionCommand<TValue extends JsonValue> = import("./models/index.js").RevisionCommand<TValue>;
|
|
71
|
+
export type RevisionConflictPayload<TValue extends JsonValue> = import("./models/index.js").RevisionConflictPayload<TValue>;
|
|
72
|
+
export type RevisionConflictRecord<TValue extends JsonValue> = import("./models/index.js").RevisionConflictRecord<TValue>;
|
|
73
|
+
export type RevisionResolution = import("./models/index.js").RevisionResolution;
|
|
74
|
+
export type RevisionedDomain = import("./models/index.js").RevisionedDomain;
|
|
75
|
+
export type RevisionedSetting = import("./models/index.js").RevisionedSetting;
|
|
76
|
+
export type SettingValue = import("./models/index.js").SettingValue;
|
|
77
|
+
export type ResolveRevisionConflictCommand = import("./models/index.js").ResolveRevisionConflictCommand;
|
|
78
|
+
export type RevisionUpdateCommand<TValue extends JsonValue = import("./models/json.js").JsonValue> = import("./models/index.js").RevisionUpdateCommand<TValue>;
|
|
79
|
+
export type RevisionUpdateCommandName = import("./models/index.js").RevisionUpdateCommandName;
|
|
80
|
+
export type RevisionedCommandName = import("./models/index.js").RevisionedCommandName;
|
|
81
|
+
export type RevisionedListRepository<TValue extends JsonValue = import("./models/json.js").JsonValue> = import("./queries/revisioned.js").RevisionedListRepository<TValue>;
|
|
82
|
+
export type Conversation = import("./models/conversation.js").Conversation;
|
|
83
|
+
export type ConversationListParams = import("./models/conversation.js").ConversationListParams;
|
|
84
|
+
export type ConversationLogDelta = import("./models/conversation.js").ConversationLogDelta;
|
|
85
|
+
export type ConversationMessage = import("./models/conversation.js").ConversationMessage;
|
|
86
|
+
export type ConversationMessageState = import("./models/conversation.js").ConversationMessageState;
|
|
87
|
+
export type MessageListParams = import("./models/conversation.js").MessageListParams;
|
|
88
|
+
export type Notification = import("./models/conversation.js").Notification;
|
|
89
|
+
export type NotificationListParams = import("./models/conversation.js").NotificationListParams;
|
|
90
|
+
export type CreateInvoiceInput = import("./models/wallet.js").CreateInvoiceInput;
|
|
91
|
+
export type PayInvoiceInput = import("./models/wallet.js").PayInvoiceInput;
|
|
92
|
+
export type PaymentHistoryView = import("./models/wallet.js").PaymentHistoryView;
|
|
93
|
+
export type WalletAuthoritativeSnapshot = import("./models/wallet.js").WalletAuthoritativeSnapshot;
|
|
94
|
+
export type WalletBalanceView = import("./models/wallet.js").WalletBalanceView;
|
|
95
|
+
export type WalletCommand = import("./models/wallet.js").WalletCommand;
|
|
96
|
+
export type WalletMirrorRepository = import("./models/wallet.js").WalletMirrorRepository;
|
|
97
|
+
export type WalletSnapshotPayload = import("./models/wallet.js").WalletSnapshotPayload;
|
|
98
|
+
export type WalletCommandResult = import("./models/payment.js").WalletCommandResult;
|
|
99
|
+
export type L402HistoryView = import("./models/l402.js").L402HistoryView;
|
|
100
|
+
export type L402Receipt = import("./models/l402.js").L402Receipt;
|
|
101
|
+
export type PaymentRecord = import("./models/payment.js").PaymentRecord;
|
|
102
|
+
export type PaymentStatus = import("./models/payment.js").PaymentStatus;
|
|
103
|
+
export type ConversationServiceOptions = import("./services/conversation-service.js").ConversationServiceOptions;
|
|
104
|
+
export type CertificateTrustServiceOptions = import("./services/certificate-trust-service.js").CertificateTrustServiceOptions;
|
|
105
|
+
export type CertificateTrustSnapshot = import("./services/certificate-trust-service.js").CertificateTrustSnapshot;
|
|
106
|
+
export type CertificateTrustStatus = import("./services/certificate-trust-service.js").CertificateTrustStatus;
|
|
107
|
+
export type SendMessageInput = import("./services/conversation-service.js").SendMessageInput;
|
|
108
|
+
export type ConversationSyncContext = import("./services/conversation-sync.js").ConversationSyncContext;
|
|
109
|
+
export type JsonObject = import("./models/index.js").JsonObject;
|
|
110
|
+
export type AppDataChangedEvent = import("./models/index.js").AppDataChangedEvent;
|
|
111
|
+
export type AppDataFreshness = import("./models/index.js").AppDataFreshness;
|
|
112
|
+
export type AppDataManifestRegistration = import("./models/index.js").AppDataManifestRegistration;
|
|
113
|
+
export type AppDataQueryDefinition = import("./models/index.js").AppDataQueryDefinition;
|
|
114
|
+
export type AppDataStreamDefinition = import("./models/index.js").AppDataStreamDefinition;
|
|
115
|
+
export type AppDataSyncResponse = import("./models/index.js").AppDataSyncResponse;
|
|
116
|
+
export type AppDataSyncResult = import("./models/index.js").AppDataSyncResult;
|
|
117
|
+
export type AppDataTransport = import("./models/index.js").AppDataTransport;
|
|
118
|
+
export type CachedAppData = import("./models/index.js").CachedAppData;
|
|
119
|
+
export type AppDataManifest = import("@econ-v1/ports").AppDataManifest;
|
|
120
|
+
export type AppDataOfflinePolicy = import("@econ-v1/ports").AppDataOfflinePolicy;
|
|
121
|
+
export type AppDataQueryDeclaration = import("@econ-v1/ports").AppDataQueryDeclaration;
|
|
122
|
+
export type AppDataQueryKind = import("@econ-v1/ports").AppDataQueryKind;
|
|
123
|
+
export type AppDataStreamDeclaration = import("@econ-v1/ports").AppDataStreamDeclaration;
|
|
124
|
+
export type AppDataStreamKind = import("@econ-v1/ports").AppDataStreamKind;
|
|
125
|
+
export type AppDataSyncKind = import("@econ-v1/ports").AppDataSyncKind;
|
|
126
|
+
export type AppDataSyncPolicy = import("@econ-v1/ports").AppDataSyncPolicy;
|
|
127
|
+
export type JsonPrimitive = import("./models/index.js").JsonPrimitive;
|
|
128
|
+
export type JsonValue = import("./models/index.js").JsonValue;
|
|
129
|
+
export type LiveQueryDefinition<TParams, TRow> = import("./models/index.js").LiveQueryDefinition<TParams, TRow>;
|
|
130
|
+
export type OutboxIntent = import("./models/index.js").OutboxIntent;
|
|
131
|
+
export type OutboxIntentState = import("./models/index.js").OutboxIntentState;
|
|
132
|
+
export type QueryDiff<TRow> = import("./models/index.js").QueryDiff<TRow>;
|
|
133
|
+
export type RepositoryWrite<TEvent extends DomainEvent> = import("./models/index.js").RepositoryWrite<TEvent>;
|
|
134
|
+
export type AuthoritativeCommand<TPayload> = import("./services/sync/index.js").AuthoritativeCommand<TPayload>;
|
|
135
|
+
export type AuthoritativeCommandOptions = import("./services/sync/index.js").AuthoritativeCommandOptions;
|
|
136
|
+
export type AuthoritativeMirrorOptions<TValue, TCommand, TResult> = import("./services/sync/index.js").AuthoritativeMirrorOptions<TValue, TCommand, TResult>;
|
|
137
|
+
export type AuthoritativeSnapshot<TValue> = import("./services/sync/index.js").AuthoritativeSnapshot<TValue>;
|
|
138
|
+
export type LogSyncOptions<TPayload> = import("./services/sync/index.js").LogSyncOptions<TPayload>;
|
|
139
|
+
export type RevisionCommandResult<TValue> = import("./services/sync/index.js").RevisionCommandResult<TValue>;
|
|
140
|
+
export type RevisionConflict<TValue> = import("./services/sync/index.js").RevisionConflict<TValue>;
|
|
141
|
+
export type RevisionEntity<TValue> = import("./services/sync/index.js").RevisionEntity<TValue>;
|
|
142
|
+
export type RevisionIntent<TValue> = import("./services/sync/index.js").RevisionIntent<TValue>;
|
|
143
|
+
export type RevisionMergeOptions<TValue> = import("./services/sync/index.js").RevisionMergeOptions<TValue>;
|
|
144
|
+
export type RevisionWriteInput<TValue> = import("./services/sync/index.js").RevisionWriteInput<TValue>;
|
|
145
|
+
export type SyncApplyResult = import("./services/sync/index.js").SyncApplyResult;
|
|
146
|
+
export type SyncDelta<TPayload> = import("./services/sync/index.js").SyncDelta<TPayload>;
|
|
147
|
+
export type SyncDeltaContext = import("./services/sync/index.js").SyncDeltaContext;
|
|
148
|
+
export type SyncStrategy<TPayload> = import("./services/sync/index.js").SyncStrategy<TPayload>;
|
|
149
|
+
export type SyncStrategyKind = import("./services/sync/index.js").SyncStrategyKind;
|
|
150
|
+
export type RevisionedDomainRepository<TValue extends JsonValue> = import("./services/revisioned-domain-service.js").RevisionedDomainRepository<TValue>;
|
|
151
|
+
export type RevisionedDomainServiceOptions<TValue extends JsonValue> = import("./services/revisioned-domain-service.js").RevisionedDomainServiceOptions<TValue>;
|
|
152
|
+
export type RevisionResolutionResult<TValue extends JsonValue> = import("./services/revisioned-domain-service.js").RevisionResolutionResult<TValue>;
|
|
153
|
+
export type RevisionedWriteInput<TValue extends JsonValue> = import("./services/revisioned-domain-service.js").RevisionedWriteInput<TValue>;
|
|
154
|
+
export type RevisionedWriteResult<TValue extends JsonValue> = import("./services/revisioned-domain-service.js").RevisionedWriteResult<TValue>;
|
|
155
|
+
export type TransportState = import("@econ-v1/ports").TransportState;
|
|
156
|
+
export type TransportOfflineReason = import("@econ-v1/ports").TransportOfflineReason;
|
|
157
|
+
export type ClaimOptions = import("./services/outbox-service.js").ClaimOptions;
|
|
158
|
+
export type FailureOptions = import("./services/outbox-service.js").FailureOptions;
|
|
159
|
+
export type OutboxPersistence = import("./services/outbox-service.js").OutboxPersistence;
|
|
160
|
+
export type OutboxServiceOptions = import("./services/outbox-service.js").OutboxServiceOptions;
|
|
161
|
+
export type WalletMirrorServiceOptions = import("./services/wallet-mirror-service.js").WalletMirrorServiceOptions;
|
|
162
|
+
export type TransportManagerOptions = import("./services/transport-manager.js").TransportManagerOptions;
|
|
163
|
+
export type NodeMetadataWire = import("./services/peer-directory-service.js").NodeMetadataWire;
|
|
164
|
+
export type PeerAdvertisement = import("./services/peer-directory-service.js").PeerAdvertisement;
|
|
165
|
+
export type GossipAdvertisement = import("./services/gossip-service.js").GossipAdvertisement;
|
|
166
|
+
export type GossipServiceOptions = import("./services/gossip-service.js").GossipServiceOptions;
|
|
167
|
+
export type FeedItem = import("./models/owner-views.js").FeedItem;
|
|
168
|
+
export type FeedItemKind = import("./models/owner-views.js").FeedItemKind;
|
|
169
|
+
export type FeedQuery = import("./models/owner-views.js").FeedQuery;
|
|
170
|
+
export type HomeStatus = import("./models/owner-views.js").HomeStatus;
|
|
171
|
+
export type HomeSummary = import("./models/owner-views.js").HomeSummary;
|
|
172
|
+
export type OperationalSummary = import("./models/owner-views.js").OperationalSummary;
|
|
173
|
+
export type OperationalTransport = import("./models/owner-views.js").OperationalTransport;
|
|
174
|
+
export type OwnerViewRepository = import("./models/owner-views.js").OwnerViewRepository;
|
|
175
|
+
export type OwnerViewSyncStrategy = import("./models/owner-views.js").OwnerViewSyncStrategy;
|
|
176
|
+
export type PeerDirectoryEntry = import("./models/owner-views.js").PeerDirectoryEntry;
|
|
177
|
+
export type PeerDirectoryQuery = import("./models/owner-views.js").PeerDirectoryQuery;
|
|
178
|
+
export type PeerStatus = import("./models/owner-views.js").PeerStatus;
|
|
179
|
+
export type StorageStatus = import("./models/owner-views.js").StorageStatus;
|
|
180
|
+
export type SyncStatus = import("./models/owner-views.js").SyncStatus;
|
|
181
|
+
export type LanCandidateRefreshServiceOptions = import("./services/lan-candidate-refresh-service.js").LanCandidateRefreshServiceOptions;
|
|
182
|
+
export type DiscoveryCandidateRow = import("./services/discovery-probe-service.js").DiscoveryCandidateRow;
|
|
183
|
+
export type DiscoveryCandidateStatus = import("./services/discovery-probe-service.js").DiscoveryCandidateStatus;
|
|
184
|
+
export type DiscoveryFoundNode = import("./services/discovery-probe-service.js").DiscoveryFoundNode;
|
|
185
|
+
export type DiscoveryNodeIdentityWire = import("./services/discovery-probe-service.js").DiscoveryNodeIdentityWire;
|
|
186
|
+
export type DiscoveryProbeServiceOptions = import("./services/discovery-probe-service.js").DiscoveryProbeServiceOptions;
|
|
187
|
+
export type DeviceBootState = import("./models/device-boot-state.js").DeviceBootState;
|
|
188
|
+
export type DeviceBootStateServiceOptions = import("./services/device-boot-state-service.js").DeviceBootStateServiceOptions;
|
|
189
|
+
export type OnboardingLifecycleState = import("./services/onboarding-status-service.js").OnboardingLifecycleState;
|
|
190
|
+
export type OnboardingLifecycleStatusRow = import("./services/onboarding-status-service.js").OnboardingLifecycleStatusRow;
|
|
191
|
+
export type OnboardingStatusServiceOptions = import("./services/onboarding-status-service.js").OnboardingStatusServiceOptions;
|
|
192
|
+
export type OnboardingStatusWire = import("./services/onboarding-status-service.js").OnboardingStatusWire;
|
|
193
|
+
export type InviteRedemptionOutcome = import("./services/invite-redemption-service.js").InviteRedemptionOutcome;
|
|
194
|
+
export type InviteRedemptionServiceOptions = import("./services/invite-redemption-service.js").InviteRedemptionServiceOptions;
|
|
195
|
+
export type OnboardingCheckpoint = import("./services/onboarding-checkpoint-store.js").OnboardingCheckpoint;
|
|
196
|
+
export type OnboardingCheckpointStoreOptions = import("./services/onboarding-checkpoint-store.js").OnboardingCheckpointStoreOptions;
|
|
197
|
+
export type OnboardingFlowApprovalState = import("./services/onboarding-flow-service.js").OnboardingFlowApprovalState;
|
|
198
|
+
export type OnboardingFlowClaimPort = import("./services/onboarding-flow-service.js").OnboardingFlowClaimPort;
|
|
199
|
+
export type OnboardingFlowInvitePort = import("./services/onboarding-flow-service.js").OnboardingFlowInvitePort;
|
|
200
|
+
export type OnboardingFlowLcdPort = import("./services/onboarding-flow-service.js").OnboardingFlowLcdPort;
|
|
201
|
+
export type OnboardingFlowLcdScreen = import("./services/onboarding-flow-service.js").OnboardingFlowLcdScreen;
|
|
202
|
+
export type OnboardingFlowLcdScreenId = import("./services/onboarding-flow-service.js").OnboardingFlowLcdScreenId;
|
|
203
|
+
export type OnboardingFlowNetwork = import("./services/onboarding-flow-service.js").OnboardingFlowNetwork;
|
|
204
|
+
export type OnboardingFlowPhase = import("./services/onboarding-flow-service.js").OnboardingFlowPhase;
|
|
205
|
+
export type OnboardingFlowReasonCode = import("./services/onboarding-flow-service.js").OnboardingFlowReasonCode;
|
|
206
|
+
export type OnboardingFlowRow = import("./services/onboarding-flow-service.js").OnboardingFlowRow;
|
|
207
|
+
export type OnboardingFlowRowBase = import("./services/onboarding-flow-service.js").OnboardingFlowRowBase;
|
|
208
|
+
export type OnboardingFlowServiceOptions = import("./services/onboarding-flow-service.js").OnboardingFlowServiceOptions;
|
|
209
|
+
export type OnboardingFlowStepId = import("./services/onboarding-flow-service.js").OnboardingFlowStepId;
|
|
210
|
+
export type OnboardingFlowWifiPort = import("./services/onboarding-flow-service.js").OnboardingFlowWifiPort;
|
|
211
|
+
export type OnboardingFlowWifiSecurity = import("./services/onboarding-flow-service.js").OnboardingFlowWifiSecurity;
|
|
212
|
+
export type OnboardingLcdScreenRow = import("./queries/onboarding-lcd-screen.js").OnboardingLcdScreenRow;
|
|
213
|
+
export type OnboardingLcdScreenRowBase = import("./queries/onboarding-lcd-screen.js").OnboardingLcdScreenRowBase;
|
|
214
|
+
export type WifiConfigureOutcome = import("./services/wifi-provisioning-service.js").WifiConfigureOutcome;
|
|
215
|
+
export type WifiHandoffOutcome = import("./services/wifi-provisioning-service.js").WifiHandoffOutcome;
|
|
216
|
+
export type WifiProvisioningNetwork = import("./services/wifi-provisioning-service.js").WifiProvisioningNetwork;
|
|
217
|
+
export type WifiProvisioningSecurity = import("./services/wifi-provisioning-service.js").WifiProvisioningSecurity;
|
|
218
|
+
export type WifiProvisioningServiceOptions = import("./services/wifi-provisioning-service.js").WifiProvisioningServiceOptions;
|
|
219
|
+
export type WifiScanOutcome = import("./services/wifi-provisioning-service.js").WifiScanOutcome;
|
|
220
|
+
export type LcdDecisionOutcome = import("./services/lcd-decision-service.js").LcdDecisionOutcome;
|
|
221
|
+
export type LcdDecisionServiceOptions = import("./services/lcd-decision-service.js").LcdDecisionServiceOptions;
|
|
222
|
+
export type OwnerClaimConfirmation = import("./services/owner-claim-service.js").OwnerClaimConfirmation;
|
|
223
|
+
export type OwnerClaimIdentity = import("./services/owner-claim-service.js").OwnerClaimIdentity;
|
|
224
|
+
export type OwnerClaimOutcome = import("./services/owner-claim-service.js").OwnerClaimOutcome;
|
|
225
|
+
export type OwnerClaimPrepareOutcome = import("./services/owner-claim-service.js").OwnerClaimPrepareOutcome;
|
|
226
|
+
export type OwnerClaimServiceOptions = import("./services/owner-claim-service.js").OwnerClaimServiceOptions;
|
|
227
|
+
export type ReleaseManifestAsset = import("./models/release-manifest.js").ReleaseManifestAsset;
|
|
228
|
+
export type ReleaseManifestVersionRange = import("./models/release-manifest.js").ReleaseManifestVersionRange;
|
|
229
|
+
export type SignedReleaseManifest = import("./models/release-manifest.js").SignedReleaseManifest;
|
|
230
|
+
export type UnsignedReleaseManifest = import("./models/release-manifest.js").UnsignedReleaseManifest;
|
|
231
|
+
export type ReleaseManifestRejectionReason = import("./services/release-manifest-verifier.js").ReleaseManifestRejectionReason;
|
|
232
|
+
export type ReleaseManifestTrustedKey = import("./services/release-manifest-verifier.js").ReleaseManifestTrustedKey;
|
|
233
|
+
export type ReleaseManifestVerification = import("./services/release-manifest-verifier.js").ReleaseManifestVerification;
|
|
234
|
+
export type ReleaseManifestVerifyOptions = import("./services/release-manifest-verifier.js").ReleaseManifestVerifyOptions;
|
|
235
|
+
export type DeviceCleanupPort = import("./services/device-cleanup-service.js").DeviceCleanupPort;
|
|
236
|
+
export type DeviceCleanupServiceOptions = import("./services/device-cleanup-service.js").DeviceCleanupServiceOptions;
|
|
237
|
+
export type DeviceCleanupState = import("./services/device-cleanup-service.js").DeviceCleanupState;
|
|
238
|
+
export { DOMAIN_ERROR_CODES, DomainError, SYNC_ERROR_CODES, SyncError, TRANSPORT_ERROR_CODES, TransportError } from "./errors/index.js";
|
|
239
|
+
export { appEventInstance, appEventResource, appEventScope, appEventType, isAppEventType, isCoreKernelEvent, isCoreKernelEventType, isKernelEventType, isQueryName, KERNEL_EVENT_TYPES } from "./events/index.js";
|
|
240
|
+
export { REVISIONED_DOMAINS, AGENT_STATUSES, parseAgentValue, parseGraphValue, APP_DATA_MAX_PAYLOAD_BYTES, assertAppDataPayload, compareAppDataRevision, isAppDataSyncResponse, isNodeAppBudgetState, isNodeAppLaneKind, isNodeAppMemoryAttribution, isNodeAppMemoryAvailability, isNodeAppMemoryBudgetBasis, isNodeAppMemorySource, isNodeAppMemoryTrendVerdict, isNodeAppMemoryUnavailableReason, isNodeAppPressureState, isNodeAppRuntimeMode, isNodeAppTerminationReason, NODE_APP_BUDGET_STATES, NODE_APP_LANE_KINDS, NODE_APP_MEMORY_ATTRIBUTIONS, NODE_APP_MEMORY_AVAILABILITIES, NODE_APP_MEMORY_BUDGET_BASES, NODE_APP_MEMORY_SOURCES, NODE_APP_MEMORY_TREND_VERDICTS, NODE_APP_MEMORY_UNAVAILABLE_REASONS, NODE_APP_PRESSURE_STATES, NODE_APP_RUNTIME_MODES, NODE_APP_TERMINATION_REASONS, REVISIONED_COMMAND_NAMES, createAgentUpdateCommand, createGraphUpdateCommand, createResolveRevisionConflictCommand, createRevisionedUpdateCommand, canonicalOutboxPayload, isDelegationActive, isDevicePublicIdentity, normalizeDelegation, publicIdentityDiagnostic } from "./models/index.js";
|
|
241
|
+
export { createAgentDetailQuery, createAgentListQuery, createGraphDetailQuery, createGraphListQuery, createSettingDetailQuery, createSettingsRevisionedListQuery, parseRevisionDetailParams } from "./queries/revisioned.js";
|
|
242
|
+
export { createConversationListQuery, createConversationMessagesQuery, parseConversationListParams, parseConversationMessagesParams } from "./queries/conversations.js";
|
|
243
|
+
export { createNotificationsQuery, parseNotificationListParams } from "./queries/notifications.js";
|
|
244
|
+
export { createL402HistoryQuery, createPaymentHistoryQuery, createWalletBalanceQuery, L402_HISTORY_QUERY, PAYMENT_HISTORY_QUERY, WALLET_BALANCE_QUERY } from "./queries/wallet.js";
|
|
245
|
+
export { createCertificateTrustQuery, CERTIFICATE_TRUST_QUERY } from "./queries/certificate-trust.js";
|
|
246
|
+
export { AuthoritativeMirror, AuthoritativeRevalidationRequiredError, LogSync, RevisionMerge } from "./services/sync/index.js";
|
|
247
|
+
export { RevisionedDomainService, parseRevisionConflictRecord } from "./services/revisioned-domain-service.js";
|
|
248
|
+
export { OutboxIdempotencyConflictError, OutboxRevalidationRequiredError, OutboxService, OutboxTransitionError } from "./services/outbox-service.js";
|
|
249
|
+
export { ExpiredInvoiceError, InsufficientWalletBalanceError, OfflineWalletCommandError, WalletCommandRejectedError, WalletFreshStateRequiredError, WalletMirrorService } from "./services/wallet-mirror-service.js";
|
|
250
|
+
export { canonicalHttpCandidateOrigin, isPotentiallyTrustworthyOrigin, transportStateChanged, TransportManager } from "./services/transport-manager.js";
|
|
251
|
+
export { normalizeAdvertisement, nodeMetadataCandidates, PeerDirectoryService, uniqueAddresses } from "./services/peer-directory-service.js";
|
|
48
252
|
export { DiscoveryProbeService, secureLanOrigin } from "./services/discovery-probe-service.js";
|
|
49
|
-
export type { DiscoveryCandidateRow, DiscoveryCandidateStatus, DiscoveryFoundNode, DiscoveryNodeIdentityWire, DiscoveryProbeServiceOptions, } from "./services/discovery-probe-service.js";
|
|
50
253
|
export { createDiscoveryCandidatesQuery, DISCOVERY_CANDIDATES_QUERY } from "./queries/discovery.js";
|
|
51
|
-
export { OnboardingStatusService } from "./services/onboarding-status-service.js";
|
|
52
|
-
export type { OnboardingLifecycleState, OnboardingLifecycleStatusRow, OnboardingStatusServiceOptions, OnboardingStatusWire, } from "./services/onboarding-status-service.js";
|
|
53
254
|
export { createOnboardingStatusQuery, ONBOARDING_STATUS_QUERY } from "./queries/onboarding-status.js";
|
|
54
|
-
export {
|
|
55
|
-
export
|
|
56
|
-
export {
|
|
57
|
-
export
|
|
255
|
+
export { createInMemoryOnboardingCheckpointStorage, OnboardingCheckpointStore } from "./services/onboarding-checkpoint-store.js";
|
|
256
|
+
export { ONBOARDING_FLOW_STEP_IDS, OnboardingFlowService } from "./services/onboarding-flow-service.js";
|
|
257
|
+
export { createOnboardingFlowQuery, ONBOARDING_FLOW_QUERY_NAME } from "./queries/onboarding-flow.js";
|
|
258
|
+
export { createOnboardingLcdScreenQuery, ONBOARDING_LCD_SCREEN_QUERY_NAME } from "./queries/onboarding-lcd-screen.js";
|
|
259
|
+
export { RELEASE_MANIFEST_LIMITS, RELEASE_MANIFEST_VERSION, parseSignedReleaseManifest, unsignedReleaseManifestToJson } from "./models/release-manifest.js";
|
|
260
|
+
export { RELEASE_MANIFEST_REJECTION_REASONS, verifyReleaseManifest } from "./services/release-manifest-verifier.js";
|
|
58
261
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources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E,eAAe;iCACjE,OAAO,oCAAoC,EAAE,kBAAkB;wCAC/D,OAAO,oCAAoC,EAAE,yBAAyB;qCACtE,OAAO,mCAAmC,EAAE,sBAAsB;iCAClE,OAAO,mCAAmC,EAAE,kBAAkB;gCAC9D,OAAO,mCAAmC,EAAE,iBAAiB;uCAC7D,OAAO,mCAAmC,EAAE,wBAAwB;uCACpE,OAAO,mCAAmC,EAAE,wBAAwB;mCAErE,OAAO,8BAA8B,EAAE,oBAAoB;0CAG3D,OAAO,8BAA8B,EAAE,2BAA2B;oCAGlE,OAAO,8BAA8B,EAAE,qBAAqB;sCAG5D,OAAO,8BAA8B,EAAE,uBAAuB;6CAG9D,OAAO,yCAAyC,EAAE,8BAA8B;wCAGhF,OAAO,yCAAyC,EAAE,yBAAyB;0CAG3E,OAAO,yCAAyC,EAAE,2BAA2B;2CAG7E,OAAO,yCAAyC,EAAE,4BAA4B;gCA0C7E,OAAO,sCAAsC,EAAE,iBAAiB;0CAChE,OAAO,sCAAsC,EAAE,2BAA2B;iCAC1E,OAAO,sCAAsC,EAAE,kBAAkB"}
|
package/dist/models/agent.d.ts
CHANGED
|
@@ -1,6 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @param {unknown} value
|
|
3
|
+
* @returns {AgentValue}
|
|
4
|
+
*/
|
|
5
|
+
export function parseAgentValue(value: unknown): AgentValue;
|
|
6
|
+
/**
|
|
7
|
+
* @typedef {import("./json.js").JsonObject} JsonObject
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @template TValue
|
|
11
|
+
* @typedef {import("./sync.js").RevisionEntity<TValue>} RevisionEntity
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* @typedef {(typeof AGENT_STATUSES)[number]} AgentStatus
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* @typedef {JsonObject & { readonly description?: string; readonly name: string; readonly status?: AgentStatus; }} AgentValue
|
|
18
|
+
*/
|
|
19
|
+
/**
|
|
20
|
+
* @typedef {RevisionEntity<AgentValue>} Agent
|
|
21
|
+
*/
|
|
22
|
+
/** @type {readonly ["active", "idle", "paused", "stopped"]} */
|
|
23
|
+
export const AGENT_STATUSES: readonly ["active", "idle", "paused", "stopped"];
|
|
24
|
+
export type JsonObject = import("./json.js").JsonObject;
|
|
25
|
+
export type RevisionEntity<TValue> = import("./sync.js").RevisionEntity<TValue>;
|
|
4
26
|
export type AgentStatus = (typeof AGENT_STATUSES)[number];
|
|
5
27
|
export type AgentValue = JsonObject & {
|
|
6
28
|
readonly description?: string;
|
|
@@ -8,5 +30,4 @@ export type AgentValue = JsonObject & {
|
|
|
8
30
|
readonly status?: AgentStatus;
|
|
9
31
|
};
|
|
10
32
|
export type Agent = RevisionEntity<AgentValue>;
|
|
11
|
-
export declare function parseAgentValue(value: unknown): AgentValue;
|
|
12
33
|
//# sourceMappingURL=agent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../src/models/agent.
|
|
1
|
+
{"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../src/models/agent.js"],"names":[],"mappings":"AAoBA;;;GAGG;AACH,uCAHW,OAAO,GACL,UAAU,CActB;AAlCD;;GAEG;AACH;;;GAGG;AACH;;GAEG;AACH;;GAEG;AACH;;GAEG;AACH,+DAA+D;AAC/D,6BADW,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,CAAC,CACW;yBAhBzD,OAAO,WAAW,EAAE,UAAU;2BAG9B,MAAM,IACN,OAAO,WAAW,EAAE,cAAc,CAAC,MAAM,CAAC;0BAG1C,CAAC,OAAO,cAAc,EAAE,MAAM,CAAC;yBAG/B,UAAU,GAAG;IAAE,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC;CAAE;oBAGrG,cAAc,CAAC,UAAU,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @param {JsonValue} value
|
|
3
|
+
* @returns {void}
|
|
4
|
+
*/
|
|
5
|
+
export function assertAppDataPayload(value: JsonValue): void;
|
|
6
|
+
/**
|
|
7
|
+
* @param {string} left
|
|
8
|
+
* @param {string} right
|
|
9
|
+
* @returns {number}
|
|
10
|
+
*/
|
|
11
|
+
export function compareAppDataRevision(left: string, right: string): number;
|
|
12
|
+
/**
|
|
13
|
+
* @param {unknown} value
|
|
14
|
+
* @returns {value is AppDataSyncResponse}
|
|
15
|
+
*/
|
|
16
|
+
export function isAppDataSyncResponse(value: unknown): value is AppDataSyncResponse;
|
|
17
|
+
/** @typedef {import('@econ-v1/ports').AppDataManifest} AppDataManifest */
|
|
18
|
+
/** @typedef {import('@econ-v1/ports').AppDataQueryDeclaration} AppDataQueryDeclaration */
|
|
19
|
+
/** @typedef {import('@econ-v1/ports').AppDataStreamDeclaration} AppDataStreamDeclaration */
|
|
20
|
+
/** @typedef {import('./json.js').JsonValue} JsonValue */
|
|
21
|
+
export const APP_DATA_MAX_PAYLOAD_BYTES: number;
|
|
22
|
+
export type AppDataManifest = import("@econ-v1/ports").AppDataManifest;
|
|
23
|
+
export type AppDataQueryDeclaration = import("@econ-v1/ports").AppDataQueryDeclaration;
|
|
24
|
+
export type AppDataStreamDeclaration = import("@econ-v1/ports").AppDataStreamDeclaration;
|
|
25
|
+
export type JsonValue = import("./json.js").JsonValue;
|
|
26
|
+
export type AppDataFreshness = "fresh" | "stale" | "offline" | "unavailable";
|
|
27
|
+
export type AppDataTransport = "online" | "offline";
|
|
28
|
+
export type AppDataSyncResponse = {
|
|
29
|
+
readonly cursor: string;
|
|
30
|
+
readonly kind: "cursor-expired";
|
|
31
|
+
readonly revision: string;
|
|
32
|
+
} | {
|
|
33
|
+
readonly cursor: string;
|
|
34
|
+
readonly kind: "delta";
|
|
35
|
+
readonly revision: string;
|
|
36
|
+
readonly value: JsonValue;
|
|
37
|
+
} | {
|
|
38
|
+
readonly cursor: string;
|
|
39
|
+
readonly kind: "snapshot";
|
|
40
|
+
readonly revision: string;
|
|
41
|
+
readonly value: JsonValue;
|
|
42
|
+
};
|
|
43
|
+
export type AppDataSyncResult = {
|
|
44
|
+
readonly appName: string;
|
|
45
|
+
readonly cursor?: string;
|
|
46
|
+
readonly recovered?: boolean;
|
|
47
|
+
readonly status: "synced";
|
|
48
|
+
readonly streams: readonly string[];
|
|
49
|
+
} | {
|
|
50
|
+
readonly appName: string;
|
|
51
|
+
readonly cursor?: string;
|
|
52
|
+
readonly error?: string;
|
|
53
|
+
readonly status: "offline" | "stale";
|
|
54
|
+
readonly streams: readonly string[];
|
|
55
|
+
};
|
|
56
|
+
export type CachedAppData = {
|
|
57
|
+
cachedAt: string;
|
|
58
|
+
cursor?: string;
|
|
59
|
+
freshness: AppDataFreshness;
|
|
60
|
+
key: string;
|
|
61
|
+
namespace: string;
|
|
62
|
+
revision: string;
|
|
63
|
+
transport: AppDataTransport;
|
|
64
|
+
value: JsonValue;
|
|
65
|
+
};
|
|
66
|
+
export type AppDataManifestRegistration = {
|
|
67
|
+
appName: string;
|
|
68
|
+
data: AppDataManifest;
|
|
69
|
+
};
|
|
70
|
+
export type AppDataQueryDefinition = AppDataQueryDeclaration & {
|
|
71
|
+
readonly appName: string;
|
|
72
|
+
readonly namespace: string;
|
|
73
|
+
};
|
|
74
|
+
export type AppDataStreamDefinition = AppDataStreamDeclaration & {
|
|
75
|
+
readonly appName: string;
|
|
76
|
+
readonly namespace: string;
|
|
77
|
+
};
|
|
78
|
+
export type AppDataChangedEvent = {
|
|
79
|
+
appName: string;
|
|
80
|
+
cursor: string;
|
|
81
|
+
revision: string;
|
|
82
|
+
stream: string;
|
|
83
|
+
};
|
|
84
|
+
//# sourceMappingURL=app-data.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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C,MAAM,EAAE,QAAQ,CAAC;IAChC,QAAc,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;CACrC,GACC;IACN,QAAc,CAAC,OAAO,EAAE,MAAM,CAAC;IAC/B,QAAc,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAC/B,QAAc,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAc,CAAC,MAAM,EAAE,SAAS,GAAG,OAAO,CAAC;IAC3C,QAAc,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;CACrC;;cAIQ,MAAM;aACN,MAAM;eACN,gBAAgB;SAChB,MAAM;eACN,MAAM;cACN,MAAM;eACN,gBAAgB;WAChB,SAAS;;;aAIT,MAAM;UACN,eAAe;;qCAGhB,uBAAuB,GAAG;IAAE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;CAAE;sCAGlF,wBAAwB,GAAG;IAAE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;CAAE;;aAIlF,MAAM;YACN,MAAM;cACN,MAAM;YACN,MAAM"}
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
-
export { CONVERSATION_MESSAGE_STATES
|
|
2
|
-
export type
|
|
1
|
+
export { CONVERSATION_MESSAGE_STATES } from "@econ-v1/ports";
|
|
2
|
+
export type Conversation = import("@econ-v1/ports").Conversation;
|
|
3
|
+
export type ConversationListParams = import("@econ-v1/ports").ConversationListParams;
|
|
4
|
+
export type ConversationLogDelta = import("@econ-v1/ports").ConversationLogDelta;
|
|
5
|
+
export type ConversationMessage = import("@econ-v1/ports").ConversationMessage;
|
|
6
|
+
export type ConversationMessageState = import("@econ-v1/ports").ConversationMessageState;
|
|
7
|
+
export type ConversationRepositoryEvent = import("@econ-v1/ports").ConversationRepositoryEvent;
|
|
8
|
+
export type MessageListParams = import("@econ-v1/ports").MessageListParams;
|
|
9
|
+
export type Notification = import("@econ-v1/ports").Notification;
|
|
10
|
+
export type NotificationListParams = import("@econ-v1/ports").NotificationListParams;
|
|
11
|
+
export type NotificationRepositoryEvent = import("@econ-v1/ports").NotificationRepositoryEvent;
|
|
12
|
+
export type RepositoryEvent = import("@econ-v1/ports").RepositoryEvent;
|
|
3
13
|
//# sourceMappingURL=conversation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation.d.ts","sourceRoot":"","sources":["../../src/models/conversation.
|
|
1
|
+
{"version":3,"file":"conversation.d.ts","sourceRoot":"","sources":["../../src/models/conversation.js"],"names":[],"mappings":";2BAGa,OAAO,gBAAgB,EAAE,YAAY;qCAGrC,OAAO,gBAAgB,EAAE,sBAAsB;mCAG/C,OAAO,gBAAgB,EAAE,oBAAoB;kCAG7C,OAAO,gBAAgB,EAAE,mBAAmB;uCAG5C,OAAO,gBAAgB,EAAE,wBAAwB;0CAGjD,OAAO,gBAAgB,EAAE,2BAA2B;gCAGpD,OAAO,gBAAgB,EAAE,iBAAiB;2BAG1C,OAAO,gBAAgB,EAAE,YAAY;qCAGrC,OAAO,gBAAgB,EAAE,sBAAsB;0CAG/C,OAAO,gBAAgB,EAAE,2BAA2B;8BAGpD,OAAO,gBAAgB,EAAE,eAAe"}
|
|
@@ -1,4 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @param {DeviceDelegation} delegation
|
|
3
|
+
* @returns {DeviceDelegation}
|
|
4
|
+
*/
|
|
5
|
+
export function normalizeDelegation(delegation: DeviceDelegation): DeviceDelegation;
|
|
6
|
+
/**
|
|
7
|
+
* @param {DeviceDelegation} delegation
|
|
8
|
+
* @param {Date} now
|
|
9
|
+
* @returns {boolean}
|
|
10
|
+
*/
|
|
11
|
+
export function isDelegationActive(delegation: DeviceDelegation, now: Date): boolean;
|
|
12
|
+
export type DeviceDelegation = import("@econ-v1/ports").DeviceDelegation;
|
|
4
13
|
//# sourceMappingURL=delegation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delegation.d.ts","sourceRoot":"","sources":["../../src/models/delegation.
|
|
1
|
+
{"version":3,"file":"delegation.d.ts","sourceRoot":"","sources":["../../src/models/delegation.js"],"names":[],"mappings":"AAMA;;;GAGG;AACH,gDAHW,gBAAgB,GACd,gBAAgB,CAc5B;AACD;;;;GAIG;AACH,+CAJW,gBAAgB,OAChB,IAAI,GACF,OAAO,CAKnB;+BA5BY,OAAO,gBAAgB,EAAE,gBAAgB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type DeviceBootState = {
|
|
2
|
+
readonly kind: "unpaired";
|
|
3
|
+
} | {
|
|
4
|
+
readonly kind: "paired";
|
|
5
|
+
readonly delegationExpiresAt: string;
|
|
6
|
+
} | {
|
|
7
|
+
readonly kind: "paired-expired";
|
|
8
|
+
readonly delegationExpiresAt: string;
|
|
9
|
+
} | {
|
|
10
|
+
readonly kind: "revoked";
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=device-boot-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"device-boot-state.d.ts","sourceRoot":"","sources":["../../src/models/device-boot-state.js"],"names":[],"mappings":"8BACiB;IAAE,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAA;CAAE,GAAG;IAAE,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC;IAAC,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,QAAQ,CAAC,IAAI,EAAE,gBAAgB,CAAC;IAAC,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAA;CAAE"}
|