@earendil-works/chord 1.5.0 → 1.5.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/CHANGELOG.md +51 -0
- package/README.md +50 -90
- package/dist/contracts/accepts.d.ts +81 -0
- package/dist/contracts/accepts.d.ts.map +1 -0
- package/dist/contracts/accepts.js.map +1 -0
- package/dist/contracts/contract.d.ts +121 -0
- package/dist/contracts/contract.d.ts.map +1 -0
- package/dist/contracts/contract.js.map +1 -0
- package/dist/contracts/declare.d.ts.map +1 -0
- package/dist/contracts/declare.js.map +1 -0
- package/dist/contracts/evolve.d.ts.map +1 -0
- package/dist/contracts/evolve.js.map +1 -0
- package/dist/contracts/fingerprint.d.ts +16 -0
- package/dist/contracts/fingerprint.d.ts.map +1 -0
- package/dist/contracts/fingerprint.js.map +1 -0
- package/dist/contracts/history.d.ts.map +1 -0
- package/dist/contracts/history.js.map +1 -0
- package/dist/contracts/host-kind.d.ts.map +1 -0
- package/dist/contracts/host-kind.js.map +1 -0
- package/dist/contracts/index.d.ts.map +1 -0
- package/dist/contracts/index.js.map +1 -0
- package/dist/contracts/internal.d.ts.map +1 -0
- package/dist/contracts/internal.js.map +1 -0
- package/dist/contracts/names.d.ts.map +1 -0
- package/dist/contracts/names.js.map +1 -0
- package/dist/contracts/params.d.ts +28 -0
- package/dist/contracts/params.d.ts.map +1 -0
- package/dist/contracts/params.js.map +1 -0
- package/dist/contracts/schema.d.ts.map +1 -0
- package/dist/contracts/schema.js.map +1 -0
- package/dist/contracts/snapshot.d.ts +16 -0
- package/dist/contracts/snapshot.d.ts.map +1 -0
- package/dist/contracts/snapshot.js +167 -0
- package/dist/contracts/snapshot.js.map +1 -0
- package/dist/data/args.d.ts +50 -0
- package/dist/data/args.d.ts.map +1 -0
- package/dist/data/args.js.map +1 -0
- package/dist/data/errors.d.ts +80 -0
- package/dist/data/errors.d.ts.map +1 -0
- package/dist/data/errors.js +116 -0
- package/dist/data/errors.js.map +1 -0
- package/dist/data/failure.d.ts.map +1 -0
- package/dist/data/failure.js +77 -0
- package/dist/data/failure.js.map +1 -0
- package/dist/data/index.d.ts +4 -0
- package/dist/data/index.d.ts.map +1 -0
- package/dist/data/index.js +5 -0
- package/dist/data/index.js.map +1 -0
- package/dist/data/internal.d.ts +7 -0
- package/dist/data/internal.d.ts.map +1 -0
- package/dist/data/internal.js +8 -0
- package/dist/data/internal.js.map +1 -0
- package/dist/data/params.d.ts +20 -0
- package/dist/data/params.d.ts.map +1 -0
- package/dist/data/params.js.map +1 -0
- package/dist/data/principal.d.ts +22 -0
- package/dist/data/principal.d.ts.map +1 -0
- package/dist/data/principal.js +49 -0
- package/dist/data/principal.js.map +1 -0
- package/dist/data/validator.d.ts +12 -0
- package/dist/data/validator.d.ts.map +1 -0
- package/dist/data/validator.js +35 -0
- package/dist/data/validator.js.map +1 -0
- package/dist/documents/address-source.d.ts +20 -0
- package/dist/documents/address-source.d.ts.map +1 -0
- package/dist/documents/address-source.js.map +1 -0
- package/dist/documents/definition.d.ts +84 -0
- package/dist/documents/definition.d.ts.map +1 -0
- package/dist/documents/definition.js +74 -0
- package/dist/documents/definition.js.map +1 -0
- package/dist/documents/documents.d.ts +126 -0
- package/dist/documents/documents.d.ts.map +1 -0
- package/dist/documents/documents.js +248 -0
- package/dist/documents/documents.js.map +1 -0
- package/dist/documents/fence.d.ts.map +1 -0
- package/dist/documents/fence.js.map +1 -0
- package/dist/documents/handles.d.ts +76 -0
- package/dist/documents/handles.d.ts.map +1 -0
- package/dist/documents/handles.js.map +1 -0
- package/dist/documents/index.d.ts.map +1 -0
- package/dist/documents/index.js.map +1 -0
- package/dist/documents/internal.d.ts +9 -0
- package/dist/documents/internal.d.ts.map +1 -0
- package/dist/documents/internal.js.map +1 -0
- package/dist/documents/keyed-slot.d.ts +103 -0
- package/dist/documents/keyed-slot.d.ts.map +1 -0
- package/dist/documents/keyed-slot.js +395 -0
- package/dist/documents/keyed-slot.js.map +1 -0
- package/dist/documents/line.d.ts.map +1 -0
- package/dist/documents/line.js.map +1 -0
- package/dist/documents/persistence.d.ts +104 -0
- package/dist/documents/persistence.d.ts.map +1 -0
- package/dist/documents/persistence.js +129 -0
- package/dist/documents/persistence.js.map +1 -0
- package/dist/documents/residency.d.ts +31 -0
- package/dist/documents/residency.d.ts.map +1 -0
- package/dist/documents/residency.js.map +1 -0
- package/dist/documents/slot.d.ts +109 -0
- package/dist/documents/slot.d.ts.map +1 -0
- package/dist/documents/slot.js +181 -0
- package/dist/documents/slot.js.map +1 -0
- package/dist/documents/transaction.d.ts +143 -0
- package/dist/documents/transaction.d.ts.map +1 -0
- package/dist/documents/transaction.js +442 -0
- package/dist/documents/transaction.js.map +1 -0
- package/dist/host/activity.d.ts +31 -0
- package/dist/host/activity.d.ts.map +1 -0
- package/dist/host/activity.js +40 -0
- package/dist/host/activity.js.map +1 -0
- package/dist/host/adapted.d.ts +49 -0
- package/dist/host/adapted.d.ts.map +1 -0
- package/dist/host/adapted.js.map +1 -0
- package/dist/host/attempt.d.ts +308 -0
- package/dist/host/attempt.d.ts.map +1 -0
- package/dist/host/attempt.js +1199 -0
- package/dist/host/attempt.js.map +1 -0
- package/dist/host/backoff.d.ts.map +1 -0
- package/dist/host/backoff.js.map +1 -0
- package/dist/host/ctx.d.ts +94 -0
- package/dist/host/ctx.d.ts.map +1 -0
- package/dist/host/ctx.js +200 -0
- package/dist/host/ctx.js.map +1 -0
- package/dist/host/deadline.d.ts.map +1 -0
- package/dist/host/deadline.js.map +1 -0
- package/dist/host/dependencies.d.ts.map +1 -0
- package/dist/host/dependencies.js.map +1 -0
- package/dist/host/destination.d.ts +48 -0
- package/dist/host/destination.d.ts.map +1 -0
- package/dist/host/destination.js.map +1 -0
- package/dist/host/facet.d.ts +84 -0
- package/dist/host/facet.d.ts.map +1 -0
- package/dist/host/facet.js.map +1 -0
- package/dist/host/follow.d.ts +52 -0
- package/dist/host/follow.d.ts.map +1 -0
- package/dist/host/follow.js.map +1 -0
- package/dist/host/host.d.ts +571 -0
- package/dist/host/host.d.ts.map +1 -0
- package/dist/host/host.js +1318 -0
- package/dist/host/host.js.map +1 -0
- package/dist/host/index.d.ts +17 -0
- package/dist/host/index.d.ts.map +1 -0
- package/dist/host/index.js.map +1 -0
- package/dist/host/internal.d.ts +11 -0
- package/dist/host/internal.d.ts.map +1 -0
- package/dist/host/internal.js +9 -0
- package/dist/host/internal.js.map +1 -0
- package/dist/host/members.d.ts +50 -0
- package/dist/host/members.d.ts.map +1 -0
- package/dist/host/members.js.map +1 -0
- package/dist/host/native.d.ts +64 -0
- package/dist/host/native.d.ts.map +1 -0
- package/dist/host/native.js +126 -0
- package/dist/host/native.js.map +1 -0
- package/dist/host/object.d.ts +331 -0
- package/dist/host/object.d.ts.map +1 -0
- package/dist/host/object.js +1296 -0
- package/dist/host/object.js.map +1 -0
- package/dist/host/old-work.d.ts +34 -0
- package/dist/host/old-work.d.ts.map +1 -0
- package/dist/host/old-work.js +52 -0
- package/dist/host/old-work.js.map +1 -0
- package/dist/host/parked.d.ts +23 -0
- package/dist/host/parked.d.ts.map +1 -0
- package/dist/host/parked.js.map +1 -0
- package/dist/host/presence.d.ts +34 -0
- package/dist/host/presence.d.ts.map +1 -0
- package/dist/host/presence.js.map +1 -0
- package/dist/host/readiness.d.ts +27 -0
- package/dist/host/readiness.d.ts.map +1 -0
- package/dist/host/readiness.js +134 -0
- package/dist/host/readiness.js.map +1 -0
- package/dist/host/ref-state.d.ts +53 -0
- package/dist/host/ref-state.d.ts.map +1 -0
- package/dist/host/ref-state.js +83 -0
- package/dist/host/ref-state.js.map +1 -0
- package/dist/host/reference-keys.d.ts +36 -0
- package/dist/host/reference-keys.d.ts.map +1 -0
- package/dist/host/reference-keys.js +168 -0
- package/dist/host/reference-keys.js.map +1 -0
- package/dist/host/reference-source.d.ts +65 -0
- package/dist/host/reference-source.d.ts.map +1 -0
- package/dist/host/reference-source.js +285 -0
- package/dist/host/reference-source.js.map +1 -0
- package/dist/host/reference.d.ts +321 -0
- package/dist/host/reference.d.ts.map +1 -0
- package/dist/host/reference.js +797 -0
- package/dist/host/reference.js.map +1 -0
- package/dist/host/reload-cycle.d.ts +16 -0
- package/dist/host/reload-cycle.d.ts.map +1 -0
- package/dist/host/reload-cycle.js +81 -0
- package/dist/host/reload-cycle.js.map +1 -0
- package/dist/host/retry-on.d.ts.map +1 -0
- package/dist/host/retry-on.js.map +1 -0
- package/dist/host/revocation.d.ts +16 -0
- package/dist/host/revocation.d.ts.map +1 -0
- package/dist/host/revocation.js.map +1 -0
- package/dist/host/root.d.ts +37 -0
- package/dist/host/root.d.ts.map +1 -0
- package/dist/host/root.js +68 -0
- package/dist/host/root.js.map +1 -0
- package/dist/host/route.d.ts +64 -0
- package/dist/host/route.d.ts.map +1 -0
- package/dist/host/route.js +227 -0
- package/dist/host/route.js.map +1 -0
- package/dist/host/routines.d.ts +78 -0
- package/dist/host/routines.d.ts.map +1 -0
- package/dist/host/routines.js +398 -0
- package/dist/host/routines.js.map +1 -0
- package/dist/host/sleep.d.ts +9 -0
- package/dist/host/sleep.d.ts.map +1 -0
- package/dist/host/sleep.js.map +1 -0
- package/dist/host/staging.d.ts +94 -0
- package/dist/host/staging.d.ts.map +1 -0
- package/dist/host/staging.js +304 -0
- package/dist/host/staging.js.map +1 -0
- package/dist/host/unbound-clock.d.ts +23 -0
- package/dist/host/unbound-clock.d.ts.map +1 -0
- package/dist/host/unbound-clock.js +58 -0
- package/dist/host/unbound-clock.js.map +1 -0
- package/dist/host/unbound.d.ts +37 -0
- package/dist/host/unbound.d.ts.map +1 -0
- package/dist/host/unbound.js +88 -0
- package/dist/host/unbound.js.map +1 -0
- package/dist/host/uuid.d.ts.map +1 -0
- package/dist/host/uuid.js.map +1 -0
- package/dist/index.d.ts +29 -19
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +20 -10
- package/dist/index.js.map +1 -1
- package/dist/jobs/definition.d.ts.map +1 -0
- package/dist/jobs/definition.js.map +1 -0
- package/dist/jobs/index.d.ts.map +1 -0
- package/dist/jobs/index.js.map +1 -0
- package/dist/jobs/internal.d.ts.map +1 -0
- package/dist/jobs/internal.js.map +1 -0
- package/dist/jobs/job.d.ts +149 -0
- package/dist/jobs/job.d.ts.map +1 -0
- package/dist/jobs/job.js +387 -0
- package/dist/jobs/job.js.map +1 -0
- package/dist/jobs/persisted.d.ts +38 -0
- package/dist/jobs/persisted.d.ts.map +1 -0
- package/dist/jobs/persisted.js.map +1 -0
- package/dist/jobs/records.d.ts +231 -0
- package/dist/jobs/records.d.ts.map +1 -0
- package/dist/jobs/records.js +871 -0
- package/dist/jobs/records.js.map +1 -0
- package/dist/jobs/run-states.d.ts +69 -0
- package/dist/jobs/run-states.d.ts.map +1 -0
- package/dist/jobs/run-states.js +228 -0
- package/dist/jobs/run-states.js.map +1 -0
- package/dist/jobs/run.d.ts +117 -0
- package/dist/jobs/run.d.ts.map +1 -0
- package/dist/jobs/run.js +204 -0
- package/dist/jobs/run.js.map +1 -0
- package/dist/jobs/running.d.ts +44 -0
- package/dist/jobs/running.d.ts.map +1 -0
- package/dist/jobs/running.js.map +1 -0
- package/dist/jobs/stored.d.ts +63 -0
- package/dist/jobs/stored.d.ts.map +1 -0
- package/dist/jobs/stored.js.map +1 -0
- package/dist/link/binary.d.ts.map +1 -0
- package/dist/link/binary.js +544 -0
- package/dist/link/binary.js.map +1 -0
- package/dist/link/channel.d.ts +68 -0
- package/dist/link/channel.d.ts.map +1 -0
- package/dist/link/channel.js +215 -0
- package/dist/link/channel.js.map +1 -0
- package/dist/link/errors.d.ts.map +1 -0
- package/dist/link/errors.js.map +1 -0
- package/dist/link/index.d.ts.map +1 -0
- package/dist/link/index.js.map +1 -0
- package/dist/link/internal.d.ts.map +1 -0
- package/dist/link/internal.js.map +1 -0
- package/dist/link/ipc.d.ts.map +1 -0
- package/dist/link/ipc.js.map +1 -0
- package/dist/link/link.d.ts.map +1 -0
- package/dist/link/link.js.map +1 -0
- package/dist/link/message.d.ts +262 -0
- package/dist/link/message.d.ts.map +1 -0
- package/dist/link/message.js +156 -0
- package/dist/link/message.js.map +1 -0
- package/dist/link/part.d.ts +80 -0
- package/dist/link/part.d.ts.map +1 -0
- package/dist/link/part.js +165 -0
- package/dist/link/part.js.map +1 -0
- package/dist/link/text.d.ts.map +1 -0
- package/dist/link/text.js +355 -0
- package/dist/link/text.js.map +1 -0
- package/dist/link/values.d.ts.map +1 -0
- package/dist/link/values.js +121 -0
- package/dist/link/values.js.map +1 -0
- package/dist/link/websocket.d.ts.map +1 -0
- package/dist/link/websocket.js.map +1 -0
- package/dist/node/app/app.d.ts +269 -0
- package/dist/node/app/app.d.ts.map +1 -0
- package/dist/node/app/app.js +513 -0
- package/dist/node/app/app.js.map +1 -0
- package/dist/node/app/archive.d.ts +37 -0
- package/dist/node/app/archive.d.ts.map +1 -0
- package/dist/node/app/archive.js +204 -0
- package/dist/node/app/archive.js.map +1 -0
- package/dist/node/app/blobs.d.ts +23 -0
- package/dist/node/app/blobs.d.ts.map +1 -0
- package/dist/node/app/blobs.js +64 -0
- package/dist/node/app/blobs.js.map +1 -0
- package/dist/node/app/data.d.ts +35 -0
- package/dist/node/app/data.d.ts.map +1 -0
- package/dist/node/app/data.js +44 -0
- package/dist/node/app/data.js.map +1 -0
- package/dist/node/app/ephemeral-sessions.d.ts +20 -0
- package/dist/node/app/ephemeral-sessions.d.ts.map +1 -0
- package/dist/node/app/ephemeral-sessions.js +69 -0
- package/dist/node/app/ephemeral-sessions.js.map +1 -0
- package/dist/node/app/ephemeral.d.ts +11 -0
- package/dist/node/app/ephemeral.d.ts.map +1 -0
- package/dist/node/app/ephemeral.js +34 -0
- package/dist/node/app/ephemeral.js.map +1 -0
- package/dist/node/app/files-copy.d.ts +13 -0
- package/dist/node/app/files-copy.d.ts.map +1 -0
- package/dist/node/app/files-copy.js +86 -0
- package/dist/node/app/files-copy.js.map +1 -0
- package/dist/node/app/files-entry.d.ts +4 -0
- package/dist/node/app/files-entry.d.ts.map +1 -0
- package/dist/node/app/files-entry.js +7 -0
- package/dist/node/app/files-entry.js.map +1 -0
- package/dist/node/app/files-index.d.ts +180 -0
- package/dist/node/app/files-index.d.ts.map +1 -0
- package/dist/node/app/files-index.js +535 -0
- package/dist/node/app/files-index.js.map +1 -0
- package/dist/node/app/files.d.ts +363 -0
- package/dist/node/app/files.d.ts.map +1 -0
- package/dist/node/app/files.js +368 -0
- package/dist/node/app/files.js.map +1 -0
- package/dist/node/app/folder-views.d.ts +21 -0
- package/dist/node/app/folder-views.d.ts.map +1 -0
- package/dist/node/app/folder-views.js +55 -0
- package/dist/node/app/folder-views.js.map +1 -0
- package/dist/node/app/index.d.ts +12 -0
- package/dist/node/app/index.d.ts.map +1 -0
- package/dist/node/app/index.js +15 -0
- package/dist/node/app/index.js.map +1 -0
- package/dist/node/app/info.d.ts +66 -0
- package/dist/node/app/info.d.ts.map +1 -0
- package/dist/node/app/info.js +37 -0
- package/dist/node/app/info.js.map +1 -0
- package/dist/node/app/invite.d.ts +5 -0
- package/dist/node/app/invite.d.ts.map +1 -0
- package/dist/node/app/invite.js +64 -0
- package/dist/node/app/invite.js.map +1 -0
- package/dist/node/app/layout.d.ts +36 -0
- package/dist/node/app/layout.d.ts.map +1 -0
- package/dist/node/app/layout.js +87 -0
- package/dist/node/app/layout.js.map +1 -0
- package/dist/node/app/owner.d.ts +31 -0
- package/dist/node/app/owner.d.ts.map +1 -0
- package/dist/node/app/owner.js +104 -0
- package/dist/node/app/owner.js.map +1 -0
- package/dist/node/app/pairing.d.ts +55 -0
- package/dist/node/app/pairing.d.ts.map +1 -0
- package/dist/node/app/pairing.js +183 -0
- package/dist/node/app/pairing.js.map +1 -0
- package/dist/node/app/secrets.d.ts +16 -0
- package/dist/node/app/secrets.d.ts.map +1 -0
- package/dist/node/app/secrets.js +72 -0
- package/dist/node/app/secrets.js.map +1 -0
- package/dist/node/app/sessions.d.ts +72 -0
- package/dist/node/app/sessions.d.ts.map +1 -0
- package/dist/node/app/sessions.js +222 -0
- package/dist/node/app/sessions.js.map +1 -0
- package/dist/node/app/tar.d.ts +24 -0
- package/dist/node/app/tar.d.ts.map +1 -0
- package/dist/node/app/tar.js +167 -0
- package/dist/node/app/tar.js.map +1 -0
- package/dist/node/app/uploads.d.ts +37 -0
- package/dist/node/app/uploads.d.ts.map +1 -0
- package/dist/node/app/uploads.js +157 -0
- package/dist/node/app/uploads.js.map +1 -0
- package/dist/node/app/users.d.ts +37 -0
- package/dist/node/app/users.d.ts.map +1 -0
- package/dist/node/app/users.js +62 -0
- package/dist/node/app/users.js.map +1 -0
- package/dist/node/app/worker.d.ts +18 -0
- package/dist/node/app/worker.d.ts.map +1 -0
- package/dist/node/app/worker.js +84 -0
- package/dist/node/app/worker.js.map +1 -0
- package/dist/node/compression.d.ts +7 -0
- package/dist/node/compression.d.ts.map +1 -0
- package/dist/node/compression.js +25 -0
- package/dist/node/compression.js.map +1 -0
- package/dist/node/http/admission.d.ts.map +1 -0
- package/dist/node/http/admission.js.map +1 -0
- package/dist/node/http/authenticate.d.ts +21 -0
- package/dist/node/http/authenticate.d.ts.map +1 -0
- package/dist/node/http/authenticate.js +34 -0
- package/dist/node/http/authenticate.js.map +1 -0
- package/dist/node/http/cookies.d.ts +32 -0
- package/dist/node/http/cookies.d.ts.map +1 -0
- package/dist/node/http/cookies.js +70 -0
- package/dist/node/http/cookies.js.map +1 -0
- package/dist/node/http/file.d.ts.map +1 -0
- package/dist/node/http/file.js.map +1 -0
- package/dist/node/http/headers.d.ts.map +1 -0
- package/dist/node/http/headers.js +136 -0
- package/dist/node/http/headers.js.map +1 -0
- package/dist/node/http/http.d.ts +111 -0
- package/dist/node/http/http.d.ts.map +1 -0
- package/dist/node/http/http.js +524 -0
- package/dist/node/http/http.js.map +1 -0
- package/dist/node/http/incoming.d.ts.map +1 -0
- package/dist/node/http/incoming.js.map +1 -0
- package/dist/node/http/index.d.ts +11 -0
- package/dist/node/http/index.d.ts.map +1 -0
- package/dist/node/http/index.js +12 -0
- package/dist/node/http/index.js.map +1 -0
- package/dist/node/http/node.d.ts.map +1 -0
- package/dist/node/http/node.js.map +1 -0
- package/dist/node/http/request.d.ts +60 -0
- package/dist/node/http/request.d.ts.map +1 -0
- package/dist/node/http/request.js +118 -0
- package/dist/node/http/request.js.map +1 -0
- package/dist/node/http/response.d.ts +63 -0
- package/dist/node/http/response.d.ts.map +1 -0
- package/dist/node/http/response.js.map +1 -0
- package/dist/node/http/router.d.ts +132 -0
- package/dist/node/http/router.d.ts.map +1 -0
- package/dist/node/http/router.js +267 -0
- package/dist/node/http/router.js.map +1 -0
- package/dist/node/http/upgrades.d.ts +61 -0
- package/dist/node/http/upgrades.d.ts.map +1 -0
- package/dist/node/http/upgrades.js +192 -0
- package/dist/node/http/upgrades.js.map +1 -0
- package/dist/node/plugins/base-inputs.d.ts +14 -0
- package/dist/node/plugins/base-inputs.d.ts.map +1 -0
- package/dist/node/plugins/base-inputs.js +33 -0
- package/dist/node/plugins/base-inputs.js.map +1 -0
- package/dist/node/plugins/build.d.ts +77 -0
- package/dist/node/plugins/build.d.ts.map +1 -0
- package/dist/node/plugins/build.js +576 -0
- package/dist/node/plugins/build.js.map +1 -0
- package/dist/node/plugins/css-modules.d.ts +13 -0
- package/dist/node/plugins/css-modules.d.ts.map +1 -0
- package/dist/node/plugins/css-modules.js +58 -0
- package/dist/node/plugins/css-modules.js.map +1 -0
- package/dist/node/plugins/discover.d.ts +67 -0
- package/dist/node/plugins/discover.d.ts.map +1 -0
- package/dist/node/plugins/discover.js +369 -0
- package/dist/node/plugins/discover.js.map +1 -0
- package/dist/node/plugins/evaluate.d.ts +33 -0
- package/dist/node/plugins/evaluate.d.ts.map +1 -0
- package/dist/node/plugins/evaluate.js +121 -0
- package/dist/node/plugins/evaluate.js.map +1 -0
- package/dist/node/plugins/index.d.ts +11 -0
- package/dist/node/plugins/index.d.ts.map +1 -0
- package/dist/node/plugins/index.js +13 -0
- package/dist/node/plugins/index.js.map +1 -0
- package/dist/node/plugins/install.d.ts +38 -0
- package/dist/node/plugins/install.d.ts.map +1 -0
- package/dist/node/plugins/install.js +213 -0
- package/dist/node/plugins/install.js.map +1 -0
- package/dist/node/plugins/plugins.d.ts +162 -0
- package/dist/node/plugins/plugins.d.ts.map +1 -0
- package/dist/node/plugins/plugins.js +244 -0
- package/dist/node/plugins/plugins.js.map +1 -0
- package/dist/node/plugins/runtime.d.ts +57 -0
- package/dist/node/plugins/runtime.d.ts.map +1 -0
- package/dist/node/plugins/runtime.js +92 -0
- package/dist/node/plugins/runtime.js.map +1 -0
- package/dist/node/plugins/stack.d.ts.map +1 -0
- package/dist/node/plugins/stack.js.map +1 -0
- package/dist/node/plugins/testing.d.ts +58 -0
- package/dist/node/plugins/testing.d.ts.map +1 -0
- package/dist/node/plugins/testing.js +210 -0
- package/dist/node/plugins/testing.js.map +1 -0
- package/dist/node/plugins/watcher.d.ts +69 -0
- package/dist/node/plugins/watcher.d.ts.map +1 -0
- package/dist/node/plugins/watcher.js +622 -0
- package/dist/node/plugins/watcher.js.map +1 -0
- package/dist/node/surfaces/bundle.d.ts +31 -0
- package/dist/node/surfaces/bundle.d.ts.map +1 -0
- package/dist/node/surfaces/bundle.js +118 -0
- package/dist/node/surfaces/bundle.js.map +1 -0
- package/dist/node/surfaces/current.d.ts +17 -0
- package/dist/node/surfaces/current.d.ts.map +1 -0
- package/dist/node/surfaces/current.js +54 -0
- package/dist/node/surfaces/current.js.map +1 -0
- package/dist/node/surfaces/index.d.ts +6 -0
- package/dist/node/surfaces/index.d.ts.map +1 -0
- package/dist/node/surfaces/index.js +6 -0
- package/dist/node/surfaces/index.js.map +1 -0
- package/dist/node/surfaces/published.d.ts +27 -0
- package/dist/node/surfaces/published.d.ts.map +1 -0
- package/dist/node/surfaces/published.js +142 -0
- package/dist/node/surfaces/published.js.map +1 -0
- package/dist/node/surfaces/served.d.ts +15 -0
- package/dist/node/surfaces/served.d.ts.map +1 -0
- package/dist/node/surfaces/served.js +42 -0
- package/dist/node/surfaces/served.js.map +1 -0
- package/dist/node/surfaces/surface-build.d.ts +53 -0
- package/dist/node/surfaces/surface-build.d.ts.map +1 -0
- package/dist/node/surfaces/surface-build.js +105 -0
- package/dist/node/surfaces/surface-build.js.map +1 -0
- package/dist/node/surfaces/tui.d.ts +40 -0
- package/dist/node/surfaces/tui.d.ts.map +1 -0
- package/dist/node/surfaces/tui.js +55 -0
- package/dist/node/surfaces/tui.js.map +1 -0
- package/dist/node/surfaces/web.d.ts +56 -0
- package/dist/node/surfaces/web.d.ts.map +1 -0
- package/dist/node/surfaces/web.js +108 -0
- package/dist/node/surfaces/web.js.map +1 -0
- package/dist/node/tui/actions.d.ts +49 -0
- package/dist/node/tui/actions.d.ts.map +1 -0
- package/dist/node/tui/actions.js +195 -0
- package/dist/node/tui/actions.js.map +1 -0
- package/dist/node/tui/credentials.d.ts +17 -0
- package/dist/node/tui/credentials.d.ts.map +1 -0
- package/dist/node/tui/credentials.js +54 -0
- package/dist/node/tui/credentials.js.map +1 -0
- package/dist/node/tui/filter.d.ts +5 -0
- package/dist/node/tui/filter.d.ts.map +1 -0
- package/dist/node/tui/filter.js +79 -0
- package/dist/node/tui/filter.js.map +1 -0
- package/dist/node/tui/index.d.ts +6 -0
- package/dist/node/tui/index.d.ts.map +1 -0
- package/dist/node/tui/index.js +6 -0
- package/dist/node/tui/index.js.map +1 -0
- package/dist/node/tui/launcher.d.ts +40 -0
- package/dist/node/tui/launcher.d.ts.map +1 -0
- package/dist/node/tui/launcher.js +439 -0
- package/dist/node/tui/launcher.js.map +1 -0
- package/dist/node/tui/pipe.d.ts +18 -0
- package/dist/node/tui/pipe.d.ts.map +1 -0
- package/dist/node/tui/pipe.js +134 -0
- package/dist/node/tui/pipe.js.map +1 -0
- package/dist/node/tui/sandbox.d.ts +54 -0
- package/dist/node/tui/sandbox.d.ts.map +1 -0
- package/dist/node/tui/sandbox.js +431 -0
- package/dist/node/tui/sandbox.js.map +1 -0
- package/dist/node/workers/base.d.ts +30 -0
- package/dist/node/workers/base.d.ts.map +1 -0
- package/dist/node/workers/base.js +255 -0
- package/dist/node/workers/base.js.map +1 -0
- package/dist/node/workers/child.d.ts +4 -0
- package/dist/node/workers/child.d.ts.map +1 -0
- package/dist/node/workers/child.js +6 -0
- package/dist/node/workers/child.js.map +1 -0
- package/dist/node/workers/control.d.ts +83 -0
- package/dist/node/workers/control.d.ts.map +1 -0
- package/dist/node/workers/control.js +77 -0
- package/dist/node/workers/control.js.map +1 -0
- package/dist/node/workers/index.d.ts +4 -0
- package/dist/node/workers/index.d.ts.map +1 -0
- package/dist/node/workers/index.js +7 -0
- package/dist/node/workers/index.js.map +1 -0
- package/dist/node/workers/lock.d.ts +30 -0
- package/dist/node/workers/lock.d.ts.map +1 -0
- package/dist/node/workers/lock.js +180 -0
- package/dist/node/workers/lock.js.map +1 -0
- package/dist/node/workers/main.d.ts +46 -0
- package/dist/node/workers/main.d.ts.map +1 -0
- package/dist/node/workers/main.js +230 -0
- package/dist/node/workers/main.js.map +1 -0
- package/dist/node/workers/process.d.ts +42 -0
- package/dist/node/workers/process.d.ts.map +1 -0
- package/dist/node/workers/process.js +125 -0
- package/dist/node/workers/process.js.map +1 -0
- package/dist/node/workers/workers.d.ts +122 -0
- package/dist/node/workers/workers.d.ts.map +1 -0
- package/dist/node/workers/workers.js +677 -0
- package/dist/node/workers/workers.js.map +1 -0
- package/dist/react/hooks.d.ts +43 -0
- package/dist/react/hooks.d.ts.map +1 -0
- package/dist/react/hooks.js +82 -0
- package/dist/react/hooks.js.map +1 -0
- package/dist/react/index.d.ts +3 -0
- package/dist/react/index.d.ts.map +1 -0
- package/dist/react/index.js +4 -0
- package/dist/react/index.js.map +1 -0
- package/dist/react/stores.d.ts +9 -0
- package/dist/react/stores.d.ts.map +1 -0
- package/dist/react/stores.js +37 -0
- package/dist/react/stores.js.map +1 -0
- package/dist/registries/contribution.d.ts.map +1 -0
- package/dist/registries/contribution.js.map +1 -0
- package/dist/registries/entries.d.ts.map +1 -0
- package/dist/registries/entries.js.map +1 -0
- package/dist/registries/index.d.ts.map +1 -0
- package/dist/registries/index.js.map +1 -0
- package/dist/registries/internal.d.ts.map +1 -0
- package/dist/registries/internal.js.map +1 -0
- package/dist/registries/record.d.ts +115 -0
- package/dist/registries/record.d.ts.map +1 -0
- package/dist/registries/record.js +283 -0
- package/dist/registries/record.js.map +1 -0
- package/dist/registries/registry.d.ts +74 -0
- package/dist/registries/registry.d.ts.map +1 -0
- package/dist/registries/registry.js.map +1 -0
- package/dist/registries/value.d.ts.map +1 -0
- package/dist/registries/value.js +224 -0
- package/dist/registries/value.js.map +1 -0
- package/dist/remote/calls.d.ts.map +1 -0
- package/dist/remote/calls.js.map +1 -0
- package/dist/remote/consumer.d.ts +43 -0
- package/dist/remote/consumer.d.ts.map +1 -0
- package/dist/remote/consumer.js +350 -0
- package/dist/remote/consumer.js.map +1 -0
- package/dist/remote/hold.d.ts +141 -0
- package/dist/remote/hold.d.ts.map +1 -0
- package/dist/remote/hold.js +579 -0
- package/dist/remote/hold.js.map +1 -0
- package/dist/remote/host-link.d.ts +77 -0
- package/dist/remote/host-link.d.ts.map +1 -0
- package/dist/remote/host-link.js +184 -0
- package/dist/remote/host-link.js.map +1 -0
- package/dist/remote/internal.d.ts.map +1 -0
- package/dist/remote/internal.js.map +1 -0
- package/dist/remote/path.d.ts.map +1 -0
- package/dist/remote/path.js.map +1 -0
- package/dist/remote/provider.d.ts +89 -0
- package/dist/remote/provider.d.ts.map +1 -0
- package/dist/remote/provider.js +597 -0
- package/dist/remote/provider.js.map +1 -0
- package/dist/remote/relay.d.ts +69 -0
- package/dist/remote/relay.d.ts.map +1 -0
- package/dist/remote/relay.js +219 -0
- package/dist/remote/relay.js.map +1 -0
- package/dist/remote/remote-object.d.ts +138 -0
- package/dist/remote/remote-object.d.ts.map +1 -0
- package/dist/remote/remote-object.js +492 -0
- package/dist/remote/remote-object.js.map +1 -0
- package/dist/remote/replica.d.ts +59 -0
- package/dist/remote/replica.d.ts.map +1 -0
- package/dist/remote/replica.js +125 -0
- package/dist/remote/replica.js.map +1 -0
- package/dist/sqlite/node.d.ts +9 -1
- package/dist/sqlite/node.d.ts.map +1 -1
- package/dist/sqlite/node.js +9 -3
- package/dist/sqlite/node.js.map +1 -1
- package/dist/state/batch.d.ts +64 -0
- package/dist/state/batch.d.ts.map +1 -0
- package/dist/state/batch.js +164 -0
- package/dist/state/batch.js.map +1 -0
- package/dist/state/derive.d.ts +52 -0
- package/dist/state/derive.d.ts.map +1 -0
- package/dist/state/derive.js +182 -0
- package/dist/state/derive.js.map +1 -0
- package/dist/state/index.d.ts +6 -0
- package/dist/state/index.d.ts.map +1 -0
- package/dist/state/index.js.map +1 -0
- package/dist/state/internal.d.ts.map +1 -0
- package/dist/state/internal.js.map +1 -0
- package/dist/state/native-source.d.ts +106 -0
- package/dist/state/native-source.d.ts.map +1 -0
- package/dist/state/native-source.js +240 -0
- package/dist/state/native-source.js.map +1 -0
- package/dist/state/watchable.d.ts +114 -0
- package/dist/state/watchable.d.ts.map +1 -0
- package/dist/state/watchable.js +156 -0
- package/dist/state/watchable.js.map +1 -0
- package/dist/state/writable.d.ts +32 -0
- package/dist/state/writable.d.ts.map +1 -0
- package/dist/state/writable.js.map +1 -0
- package/dist/store/adapter.d.ts +67 -0
- package/dist/store/adapter.d.ts.map +1 -0
- package/dist/store/adapter.js.map +1 -0
- package/dist/store/allocator.d.ts.map +1 -0
- package/dist/store/allocator.js.map +1 -0
- package/dist/store/applier.d.ts.map +1 -0
- package/dist/store/applier.js.map +1 -0
- package/dist/store/apply-batch.d.ts +12 -0
- package/dist/store/apply-batch.d.ts.map +1 -0
- package/dist/store/apply-batch.js.map +1 -0
- package/dist/store/archive.d.ts +32 -0
- package/dist/store/archive.d.ts.map +1 -0
- package/dist/store/archive.js +130 -0
- package/dist/store/archive.js.map +1 -0
- package/dist/store/backend.d.ts +10 -0
- package/dist/store/backend.d.ts.map +1 -0
- package/dist/store/backend.js.map +1 -0
- package/dist/store/catalog.d.ts +24 -0
- package/dist/store/catalog.d.ts.map +1 -0
- package/dist/store/catalog.js.map +1 -0
- package/dist/store/claims.d.ts.map +1 -0
- package/dist/store/claims.js.map +1 -0
- package/dist/store/columns.d.ts.map +1 -0
- package/dist/store/columns.js.map +1 -0
- package/dist/store/engine.d.ts +176 -0
- package/dist/store/engine.d.ts.map +1 -0
- package/dist/store/engine.js +283 -0
- package/dist/store/engine.js.map +1 -0
- package/dist/store/evaluate.d.ts +17 -0
- package/dist/store/evaluate.d.ts.map +1 -0
- package/dist/store/evaluate.js.map +1 -0
- package/dist/store/export.d.ts +17 -0
- package/dist/store/export.d.ts.map +1 -0
- package/dist/store/export.js +200 -0
- package/dist/store/export.js.map +1 -0
- package/dist/store/expression.d.ts +150 -0
- package/dist/store/expression.d.ts.map +1 -0
- package/dist/store/expression.js.map +1 -0
- package/dist/store/import.d.ts +10 -0
- package/dist/store/import.d.ts.map +1 -0
- package/dist/store/import.js +276 -0
- package/dist/store/import.js.map +1 -0
- package/dist/store/index.d.ts.map +1 -0
- package/dist/store/index.js.map +1 -0
- package/dist/store/json-column.d.ts +33 -0
- package/dist/store/json-column.d.ts.map +1 -0
- package/dist/store/json-column.js +62 -0
- package/dist/store/json-column.js.map +1 -0
- package/dist/store/jsonl.d.ts.map +1 -0
- package/dist/store/jsonl.js.map +1 -0
- package/dist/store/live-query.d.ts +108 -0
- package/dist/store/live-query.d.ts.map +1 -0
- package/dist/store/live-query.js +254 -0
- package/dist/store/live-query.js.map +1 -0
- package/dist/store/outbox.d.ts +26 -0
- package/dist/store/outbox.d.ts.map +1 -0
- package/dist/store/outbox.js.map +1 -0
- package/dist/store/query.d.ts +39 -0
- package/dist/store/query.d.ts.map +1 -0
- package/dist/store/query.js.map +1 -0
- package/dist/store/refusal.d.ts.map +1 -0
- package/dist/store/refusal.js.map +1 -0
- package/dist/store/rows.d.ts +80 -0
- package/dist/store/rows.d.ts.map +1 -0
- package/dist/store/rows.js.map +1 -0
- package/dist/store/schema.d.ts +25 -0
- package/dist/store/schema.d.ts.map +1 -0
- package/dist/store/schema.js +115 -0
- package/dist/store/schema.js.map +1 -0
- package/dist/store/sql.d.ts +73 -0
- package/dist/store/sql.d.ts.map +1 -0
- package/dist/store/sql.js.map +1 -0
- package/dist/store/step.d.ts +50 -0
- package/dist/store/step.d.ts.map +1 -0
- package/dist/store/step.js +52 -0
- package/dist/store/step.js.map +1 -0
- package/dist/store/store.d.ts +171 -0
- package/dist/store/store.d.ts.map +1 -0
- package/dist/store/store.js +818 -0
- package/dist/store/store.js.map +1 -0
- package/dist/store/table-changes.d.ts +29 -0
- package/dist/store/table-changes.d.ts.map +1 -0
- package/dist/store/table-changes.js.map +1 -0
- package/dist/store/table-evolve.d.ts.map +1 -0
- package/dist/store/table-evolve.js.map +1 -0
- package/dist/store/table-handle.d.ts +73 -0
- package/dist/store/table-handle.d.ts.map +1 -0
- package/dist/store/table-handle.js +101 -0
- package/dist/store/table-handle.js.map +1 -0
- package/dist/store/table-history.d.ts.map +1 -0
- package/dist/store/table-history.js.map +1 -0
- package/dist/store/table-migration.d.ts +16 -0
- package/dist/store/table-migration.d.ts.map +1 -0
- package/dist/store/table-migration.js +202 -0
- package/dist/store/table-migration.js.map +1 -0
- package/dist/store/table-writes.d.ts.map +1 -0
- package/dist/store/table-writes.js +170 -0
- package/dist/store/table-writes.js.map +1 -0
- package/dist/store/table.d.ts +80 -0
- package/dist/store/table.d.ts.map +1 -0
- package/dist/store/table.js.map +1 -0
- package/dist/store/text.d.ts.map +1 -0
- package/dist/store/text.js.map +1 -0
- package/dist/store/writes.d.ts.map +1 -0
- package/dist/store/writes.js.map +1 -0
- package/dist/surfaces/active-language.d.ts +20 -0
- package/dist/surfaces/active-language.d.ts.map +1 -0
- package/dist/surfaces/active-language.js +78 -0
- package/dist/surfaces/active-language.js.map +1 -0
- package/dist/surfaces/active-theme.d.ts +16 -0
- package/dist/surfaces/active-theme.d.ts.map +1 -0
- package/dist/surfaces/active-theme.js +47 -0
- package/dist/surfaces/active-theme.js.map +1 -0
- package/dist/surfaces/client.d.ts +96 -0
- package/dist/surfaces/client.d.ts.map +1 -0
- package/dist/surfaces/client.js +264 -0
- package/dist/surfaces/client.js.map +1 -0
- package/dist/surfaces/connection.d.ts +49 -0
- package/dist/surfaces/connection.d.ts.map +1 -0
- package/dist/surfaces/connection.js +142 -0
- package/dist/surfaces/connection.js.map +1 -0
- package/dist/surfaces/format.d.ts +5 -0
- package/dist/surfaces/format.d.ts.map +1 -0
- package/dist/surfaces/format.js +37 -0
- package/dist/surfaces/format.js.map +1 -0
- package/dist/surfaces/index.d.ts +15 -0
- package/dist/surfaces/index.d.ts.map +1 -0
- package/dist/surfaces/index.js +18 -0
- package/dist/surfaces/index.js.map +1 -0
- package/dist/surfaces/language.d.ts +53 -0
- package/dist/surfaces/language.d.ts.map +1 -0
- package/dist/surfaces/language.js +74 -0
- package/dist/surfaces/language.js.map +1 -0
- package/dist/surfaces/loaded.d.ts +42 -0
- package/dist/surfaces/loaded.d.ts.map +1 -0
- package/dist/surfaces/loaded.js +116 -0
- package/dist/surfaces/loaded.js.map +1 -0
- package/dist/surfaces/locale-choice.d.ts +25 -0
- package/dist/surfaces/locale-choice.d.ts.map +1 -0
- package/dist/surfaces/locale-choice.js +14 -0
- package/dist/surfaces/locale-choice.js.map +1 -0
- package/dist/surfaces/messages.d.ts +67 -0
- package/dist/surfaces/messages.d.ts.map +1 -0
- package/dist/surfaces/messages.js +112 -0
- package/dist/surfaces/messages.js.map +1 -0
- package/dist/surfaces/page-state.d.ts +14 -0
- package/dist/surfaces/page-state.d.ts.map +1 -0
- package/dist/surfaces/page-state.js +43 -0
- package/dist/surfaces/page-state.js.map +1 -0
- package/dist/surfaces/preference.d.ts +32 -0
- package/dist/surfaces/preference.d.ts.map +1 -0
- package/dist/surfaces/preference.js +72 -0
- package/dist/surfaces/preference.js.map +1 -0
- package/dist/surfaces/registered.d.ts +33 -0
- package/dist/surfaces/registered.d.ts.map +1 -0
- package/dist/surfaces/registered.js +51 -0
- package/dist/surfaces/registered.js.map +1 -0
- package/dist/surfaces/scripts.d.ts +84 -0
- package/dist/surfaces/scripts.d.ts.map +1 -0
- package/dist/surfaces/scripts.js +28 -0
- package/dist/surfaces/scripts.js.map +1 -0
- package/dist/surfaces/theme-choice.d.ts +31 -0
- package/dist/surfaces/theme-choice.d.ts.map +1 -0
- package/dist/surfaces/theme-choice.js +18 -0
- package/dist/surfaces/theme-choice.js.map +1 -0
- package/dist/surfaces/themes.d.ts +43 -0
- package/dist/surfaces/themes.d.ts.map +1 -0
- package/dist/surfaces/themes.js +110 -0
- package/dist/surfaces/themes.js.map +1 -0
- package/dist/surfaces/translations.d.ts +29 -0
- package/dist/surfaces/translations.d.ts.map +1 -0
- package/dist/surfaces/translations.js +57 -0
- package/dist/surfaces/translations.js.map +1 -0
- package/dist/sync/batch.d.ts +18 -0
- package/dist/sync/batch.d.ts.map +1 -0
- package/dist/sync/batch.js +125 -0
- package/dist/sync/batch.js.map +1 -0
- package/dist/sync/client.d.ts +166 -0
- package/dist/sync/client.d.ts.map +1 -0
- package/dist/sync/client.js +438 -0
- package/dist/sync/client.js.map +1 -0
- package/dist/sync/files.d.ts +46 -0
- package/dist/sync/files.d.ts.map +1 -0
- package/dist/sync/files.js +13 -0
- package/dist/sync/files.js.map +1 -0
- package/dist/sync/filesystem.d.ts +37 -0
- package/dist/sync/filesystem.d.ts.map +1 -0
- package/dist/sync/filesystem.js +185 -0
- package/dist/sync/filesystem.js.map +1 -0
- package/dist/sync/index.d.ts +8 -0
- package/dist/sync/index.d.ts.map +1 -0
- package/dist/sync/index.js +9 -0
- package/dist/sync/index.js.map +1 -0
- package/dist/sync/lines.d.ts +18 -0
- package/dist/sync/lines.d.ts.map +1 -0
- package/dist/sync/lines.js +46 -0
- package/dist/sync/lines.js.map +1 -0
- package/dist/sync/remote.d.ts +130 -0
- package/dist/sync/remote.d.ts.map +1 -0
- package/dist/sync/remote.js +46 -0
- package/dist/sync/remote.js.map +1 -0
- package/dist/sync/state.d.ts +17 -0
- package/dist/sync/state.d.ts.map +1 -0
- package/dist/sync/state.js +40 -0
- package/dist/sync/state.js.map +1 -0
- package/dist/telemetry-ingest/batch.d.ts +70 -0
- package/dist/telemetry-ingest/batch.d.ts.map +1 -0
- package/dist/telemetry-ingest/batch.js +110 -0
- package/dist/telemetry-ingest/batch.js.map +1 -0
- package/dist/telemetry-ingest/facet.d.ts +21 -0
- package/dist/telemetry-ingest/facet.d.ts.map +1 -0
- package/dist/telemetry-ingest/facet.js +96 -0
- package/dist/telemetry-ingest/facet.js.map +1 -0
- package/dist/telemetry-ingest/index.d.ts +5 -0
- package/dist/telemetry-ingest/index.d.ts.map +1 -0
- package/dist/telemetry-ingest/index.js +8 -0
- package/dist/telemetry-ingest/index.js.map +1 -0
- package/dist/telemetry-ingest/recorder.d.ts +50 -0
- package/dist/telemetry-ingest/recorder.d.ts.map +1 -0
- package/dist/telemetry-ingest/recorder.js +298 -0
- package/dist/telemetry-ingest/recorder.js.map +1 -0
- package/dist/telemetry-ingest/sender.d.ts +14 -0
- package/dist/telemetry-ingest/sender.d.ts.map +1 -0
- package/dist/telemetry-ingest/sender.js +64 -0
- package/dist/telemetry-ingest/sender.js.map +1 -0
- package/dist/telemetry-sqlite/index.d.ts +13 -4
- package/dist/telemetry-sqlite/index.d.ts.map +1 -1
- package/dist/telemetry-sqlite/index.js +81 -241
- package/dist/telemetry-sqlite/index.js.map +1 -1
- package/dist/telemetry-sqlite/node.d.ts +13 -0
- package/dist/telemetry-sqlite/node.d.ts.map +1 -0
- package/dist/telemetry-sqlite/node.js +27 -0
- package/dist/telemetry-sqlite/node.js.map +1 -0
- package/dist/telemetry-sqlite/schema.d.ts +9 -0
- package/dist/telemetry-sqlite/schema.d.ts.map +1 -0
- package/dist/telemetry-sqlite/schema.js +61 -0
- package/dist/telemetry-sqlite/schema.js.map +1 -0
- package/dist/telemetry-sqlite/store.d.ts +3 -0
- package/dist/telemetry-sqlite/store.d.ts.map +1 -1
- package/dist/telemetry-sqlite/store.js +24 -13
- package/dist/telemetry-sqlite/store.js.map +1 -1
- package/dist/telemetry.d.ts +937 -0
- package/dist/telemetry.d.ts.map +1 -0
- package/dist/telemetry.js +470 -0
- package/dist/telemetry.js.map +1 -0
- package/dist/tui/bridge.d.ts +112 -0
- package/dist/tui/bridge.d.ts.map +1 -0
- package/dist/tui/bridge.js +9 -0
- package/dist/tui/bridge.js.map +1 -0
- package/dist/tui/channel.d.ts +44 -0
- package/dist/tui/channel.d.ts.map +1 -0
- package/dist/tui/channel.js +150 -0
- package/dist/tui/channel.js.map +1 -0
- package/dist/tui/frames.d.ts +5 -0
- package/dist/tui/frames.d.ts.map +1 -0
- package/dist/tui/frames.js +52 -0
- package/dist/tui/frames.js.map +1 -0
- package/dist/tui/index.d.ts +7 -0
- package/dist/tui/index.d.ts.map +1 -0
- package/dist/tui/index.js +8 -0
- package/dist/tui/index.js.map +1 -0
- package/dist/tui/runtime.d.ts +46 -0
- package/dist/tui/runtime.d.ts.map +1 -0
- package/dist/tui/runtime.js +101 -0
- package/dist/tui/runtime.js.map +1 -0
- package/dist/tui/scope.d.ts +46 -0
- package/dist/tui/scope.d.ts.map +1 -0
- package/dist/tui/scope.js +141 -0
- package/dist/tui/scope.js.map +1 -0
- package/dist/tui/terminal.d.ts +15 -0
- package/dist/tui/terminal.d.ts.map +1 -0
- package/dist/tui/terminal.js +37 -0
- package/dist/tui/terminal.js.map +1 -0
- package/dist/tui/theme.d.ts +17 -0
- package/dist/tui/theme.d.ts.map +1 -0
- package/dist/tui/theme.js +38 -0
- package/dist/tui/theme.js.map +1 -0
- package/dist/web/environment.d.ts +4 -0
- package/dist/web/environment.d.ts.map +1 -0
- package/dist/web/environment.js +37 -0
- package/dist/web/environment.js.map +1 -0
- package/dist/web/index.d.ts +5 -0
- package/dist/web/index.d.ts.map +1 -0
- package/dist/web/index.js +7 -0
- package/dist/web/index.js.map +1 -0
- package/dist/web/language.d.ts +7 -0
- package/dist/web/language.d.ts.map +1 -0
- package/dist/web/language.js +21 -0
- package/dist/web/language.js.map +1 -0
- package/dist/web/page.d.ts +29 -0
- package/dist/web/page.d.ts.map +1 -0
- package/dist/web/page.js +92 -0
- package/dist/web/page.js.map +1 -0
- package/dist/web/scripts.d.ts +23 -0
- package/dist/web/scripts.d.ts.map +1 -0
- package/dist/web/scripts.js +50 -0
- package/dist/web/scripts.js.map +1 -0
- package/dist/web/styles.d.ts +17 -0
- package/dist/web/styles.d.ts.map +1 -0
- package/dist/web/styles.js +218 -0
- package/dist/web/styles.js.map +1 -0
- package/dist/web/themes.d.ts +6 -0
- package/dist/web/themes.d.ts.map +1 -0
- package/dist/web/themes.js +31 -0
- package/dist/web/themes.js.map +1 -0
- package/docs/benchmarks.md +1036 -0
- package/docs/decisions.md +3436 -0
- package/docs/dependencies/book.md +1671 -0
- package/docs/dependencies/index.html +2641 -0
- package/docs/design.md +3065 -0
- package/docs/durable-observers/book.md +432 -0
- package/docs/durable-observers/index.html +517 -0
- package/docs/guide-plugins-hosts/book.md +957 -0
- package/docs/guide-plugins-hosts/index.html +952 -0
- package/docs/http-workers/book.md +378 -0
- package/docs/http-workers/index.html +515 -0
- package/docs/i18n/book.md +217 -0
- package/docs/i18n/index.html +344 -0
- package/docs/layer-1.md +311 -0
- package/docs/layer-2.md +216 -0
- package/docs/p3-features/README.md +6 -0
- package/docs/p3-features/book.md +478 -0
- package/docs/plugin-authoring.md +276 -0
- package/docs/plugin-model/book.md +186 -0
- package/docs/plugin-model/index.html +310 -0
- package/docs/plugin-primer/book.md +273 -0
- package/docs/plugin-primer/index.html +430 -0
- package/docs/slice-1.md +236 -0
- package/docs/slice-10.md +288 -0
- package/docs/slice-11.md +114 -0
- package/docs/slice-12.md +132 -0
- package/docs/slice-13.md +121 -0
- package/docs/slice-2.md +174 -0
- package/docs/slice-3a.md +296 -0
- package/docs/slice-3b.md +197 -0
- package/docs/slice-4a.md +418 -0
- package/docs/slice-4b.md +208 -0
- package/docs/slice-6a.md +676 -0
- package/docs/slice-6b.md +332 -0
- package/docs/slice-7b/book.md +608 -0
- package/docs/slice-7b/index.html +842 -0
- package/docs/slice-7b.md +255 -0
- package/docs/slice-7c.md +165 -0
- package/docs/slice-9.md +110 -0
- package/docs/slices.md +241 -0
- package/docs/store/book.md +670 -0
- package/docs/store/index.html +861 -0
- package/docs/store/walkthrough.md +193 -0
- package/docs/theming/book.md +223 -0
- package/docs/theming/index.html +371 -0
- package/docs/tutorial/book.md +2169 -0
- package/docs/tutorial/index.html +2112 -0
- package/docs/tutorial/screens/click-after.png +0 -0
- package/docs/tutorial/screens/click-before.png +0 -0
- package/docs/tutorial/screens/edited.png +0 -0
- package/docs/tutorial/screens/french.png +0 -0
- package/docs/tutorial/screens/harbor.png +0 -0
- package/docs/tutorial/screens/page.png +0 -0
- package/docs/tutorial/screens/traces-ada.png +0 -0
- package/docs/tutorial/screens/traces.png +0 -0
- package/package.json +99 -21
- package/dist/cell.d.ts +0 -122
- package/dist/cell.d.ts.map +0 -1
- package/dist/cell.js +0 -356
- package/dist/cell.js.map +0 -1
- package/dist/cluster.d.ts +0 -27
- package/dist/cluster.d.ts.map +0 -1
- package/dist/cluster.js +0 -230
- package/dist/cluster.js.map +0 -1
- package/dist/connection.d.ts +0 -270
- package/dist/connection.d.ts.map +0 -1
- package/dist/connection.js +0 -1216
- package/dist/connection.js.map +0 -1
- package/dist/contract.d.ts +0 -207
- package/dist/contract.d.ts.map +0 -1
- package/dist/contract.js +0 -241
- package/dist/contract.js.map +0 -1
- package/dist/declare.d.ts +0 -33
- package/dist/declare.d.ts.map +0 -1
- package/dist/declare.js +0 -2
- package/dist/declare.js.map +0 -1
- package/dist/errors.d.ts +0 -28
- package/dist/errors.d.ts.map +0 -1
- package/dist/errors.js +0 -59
- package/dist/errors.js.map +0 -1
- package/dist/host.d.ts +0 -348
- package/dist/host.d.ts.map +0 -1
- package/dist/host.js +0 -1002
- package/dist/host.js.map +0 -1
- package/dist/link.d.ts +0 -107
- package/dist/link.d.ts.map +0 -1
- package/dist/link.js +0 -355
- package/dist/link.js.map +0 -1
- package/dist/loader.d.ts +0 -4
- package/dist/loader.d.ts.map +0 -1
- package/dist/loader.js +0 -73
- package/dist/loader.js.map +0 -1
- package/dist/manager.d.ts +0 -115
- package/dist/manager.d.ts.map +0 -1
- package/dist/manager.js +0 -345
- package/dist/manager.js.map +0 -1
- package/dist/next/contracts/accepts.d.ts +0 -81
- package/dist/next/contracts/accepts.d.ts.map +0 -1
- package/dist/next/contracts/accepts.js.map +0 -1
- package/dist/next/contracts/contract.d.ts +0 -121
- package/dist/next/contracts/contract.d.ts.map +0 -1
- package/dist/next/contracts/contract.js.map +0 -1
- package/dist/next/contracts/declare.d.ts.map +0 -1
- package/dist/next/contracts/declare.js.map +0 -1
- package/dist/next/contracts/evolve.d.ts.map +0 -1
- package/dist/next/contracts/evolve.js.map +0 -1
- package/dist/next/contracts/fingerprint.d.ts +0 -16
- package/dist/next/contracts/fingerprint.d.ts.map +0 -1
- package/dist/next/contracts/fingerprint.js.map +0 -1
- package/dist/next/contracts/history.d.ts.map +0 -1
- package/dist/next/contracts/history.js.map +0 -1
- package/dist/next/contracts/host-kind.d.ts.map +0 -1
- package/dist/next/contracts/host-kind.js.map +0 -1
- package/dist/next/contracts/index.d.ts.map +0 -1
- package/dist/next/contracts/index.js.map +0 -1
- package/dist/next/contracts/internal.d.ts.map +0 -1
- package/dist/next/contracts/internal.js.map +0 -1
- package/dist/next/contracts/names.d.ts.map +0 -1
- package/dist/next/contracts/names.js.map +0 -1
- package/dist/next/contracts/params.d.ts +0 -28
- package/dist/next/contracts/params.d.ts.map +0 -1
- package/dist/next/contracts/params.js.map +0 -1
- package/dist/next/contracts/schema.d.ts.map +0 -1
- package/dist/next/contracts/schema.js.map +0 -1
- package/dist/next/contracts/snapshot.d.ts +0 -16
- package/dist/next/contracts/snapshot.d.ts.map +0 -1
- package/dist/next/contracts/snapshot.js +0 -167
- package/dist/next/contracts/snapshot.js.map +0 -1
- package/dist/next/data/args.d.ts +0 -50
- package/dist/next/data/args.d.ts.map +0 -1
- package/dist/next/data/args.js.map +0 -1
- package/dist/next/data/errors.d.ts +0 -73
- package/dist/next/data/errors.d.ts.map +0 -1
- package/dist/next/data/errors.js +0 -107
- package/dist/next/data/errors.js.map +0 -1
- package/dist/next/data/failure.d.ts.map +0 -1
- package/dist/next/data/failure.js +0 -72
- package/dist/next/data/failure.js.map +0 -1
- package/dist/next/data/index.d.ts +0 -4
- package/dist/next/data/index.d.ts.map +0 -1
- package/dist/next/data/index.js +0 -4
- package/dist/next/data/index.js.map +0 -1
- package/dist/next/data/internal.d.ts +0 -7
- package/dist/next/data/internal.d.ts.map +0 -1
- package/dist/next/data/internal.js +0 -8
- package/dist/next/data/internal.js.map +0 -1
- package/dist/next/data/params.d.ts +0 -20
- package/dist/next/data/params.d.ts.map +0 -1
- package/dist/next/data/params.js.map +0 -1
- package/dist/next/data/principal.d.ts +0 -17
- package/dist/next/data/principal.d.ts.map +0 -1
- package/dist/next/data/principal.js +0 -41
- package/dist/next/data/principal.js.map +0 -1
- package/dist/next/data/validator.d.ts +0 -12
- package/dist/next/data/validator.d.ts.map +0 -1
- package/dist/next/data/validator.js +0 -34
- package/dist/next/data/validator.js.map +0 -1
- package/dist/next/documents/address-source.d.ts +0 -20
- package/dist/next/documents/address-source.d.ts.map +0 -1
- package/dist/next/documents/address-source.js.map +0 -1
- package/dist/next/documents/definition.d.ts +0 -84
- package/dist/next/documents/definition.d.ts.map +0 -1
- package/dist/next/documents/definition.js +0 -73
- package/dist/next/documents/definition.js.map +0 -1
- package/dist/next/documents/documents.d.ts +0 -106
- package/dist/next/documents/documents.d.ts.map +0 -1
- package/dist/next/documents/documents.js +0 -224
- package/dist/next/documents/documents.js.map +0 -1
- package/dist/next/documents/fence.d.ts.map +0 -1
- package/dist/next/documents/fence.js.map +0 -1
- package/dist/next/documents/handles.d.ts +0 -76
- package/dist/next/documents/handles.d.ts.map +0 -1
- package/dist/next/documents/handles.js.map +0 -1
- package/dist/next/documents/index.d.ts.map +0 -1
- package/dist/next/documents/index.js.map +0 -1
- package/dist/next/documents/internal.d.ts +0 -9
- package/dist/next/documents/internal.d.ts.map +0 -1
- package/dist/next/documents/internal.js.map +0 -1
- package/dist/next/documents/keyed-slot.d.ts +0 -103
- package/dist/next/documents/keyed-slot.d.ts.map +0 -1
- package/dist/next/documents/keyed-slot.js +0 -395
- package/dist/next/documents/keyed-slot.js.map +0 -1
- package/dist/next/documents/line.d.ts.map +0 -1
- package/dist/next/documents/line.js.map +0 -1
- package/dist/next/documents/persistence.d.ts +0 -104
- package/dist/next/documents/persistence.d.ts.map +0 -1
- package/dist/next/documents/persistence.js +0 -128
- package/dist/next/documents/persistence.js.map +0 -1
- package/dist/next/documents/residency.d.ts +0 -31
- package/dist/next/documents/residency.d.ts.map +0 -1
- package/dist/next/documents/residency.js.map +0 -1
- package/dist/next/documents/slot.d.ts +0 -109
- package/dist/next/documents/slot.d.ts.map +0 -1
- package/dist/next/documents/slot.js +0 -181
- package/dist/next/documents/slot.js.map +0 -1
- package/dist/next/documents/transaction.d.ts +0 -133
- package/dist/next/documents/transaction.d.ts.map +0 -1
- package/dist/next/documents/transaction.js +0 -409
- package/dist/next/documents/transaction.js.map +0 -1
- package/dist/next/host/activity.d.ts +0 -31
- package/dist/next/host/activity.d.ts.map +0 -1
- package/dist/next/host/activity.js +0 -40
- package/dist/next/host/activity.js.map +0 -1
- package/dist/next/host/adapted.d.ts +0 -49
- package/dist/next/host/adapted.d.ts.map +0 -1
- package/dist/next/host/adapted.js.map +0 -1
- package/dist/next/host/attempt.d.ts +0 -278
- package/dist/next/host/attempt.d.ts.map +0 -1
- package/dist/next/host/attempt.js +0 -1072
- package/dist/next/host/attempt.js.map +0 -1
- package/dist/next/host/backoff.d.ts.map +0 -1
- package/dist/next/host/backoff.js.map +0 -1
- package/dist/next/host/ctx.d.ts +0 -47
- package/dist/next/host/ctx.d.ts.map +0 -1
- package/dist/next/host/ctx.js +0 -108
- package/dist/next/host/ctx.js.map +0 -1
- package/dist/next/host/deadline.d.ts.map +0 -1
- package/dist/next/host/deadline.js.map +0 -1
- package/dist/next/host/dependencies.d.ts.map +0 -1
- package/dist/next/host/dependencies.js.map +0 -1
- package/dist/next/host/destination.d.ts +0 -48
- package/dist/next/host/destination.d.ts.map +0 -1
- package/dist/next/host/destination.js.map +0 -1
- package/dist/next/host/facet.d.ts +0 -79
- package/dist/next/host/facet.d.ts.map +0 -1
- package/dist/next/host/facet.js.map +0 -1
- package/dist/next/host/follow.d.ts +0 -52
- package/dist/next/host/follow.d.ts.map +0 -1
- package/dist/next/host/follow.js.map +0 -1
- package/dist/next/host/host.d.ts +0 -495
- package/dist/next/host/host.d.ts.map +0 -1
- package/dist/next/host/host.js +0 -1075
- package/dist/next/host/host.js.map +0 -1
- package/dist/next/host/index.d.ts +0 -17
- package/dist/next/host/index.d.ts.map +0 -1
- package/dist/next/host/index.js.map +0 -1
- package/dist/next/host/internal.d.ts +0 -10
- package/dist/next/host/internal.d.ts.map +0 -1
- package/dist/next/host/internal.js +0 -8
- package/dist/next/host/internal.js.map +0 -1
- package/dist/next/host/members.d.ts +0 -50
- package/dist/next/host/members.d.ts.map +0 -1
- package/dist/next/host/members.js.map +0 -1
- package/dist/next/host/native.d.ts +0 -55
- package/dist/next/host/native.d.ts.map +0 -1
- package/dist/next/host/native.js +0 -92
- package/dist/next/host/native.js.map +0 -1
- package/dist/next/host/object.d.ts +0 -290
- package/dist/next/host/object.d.ts.map +0 -1
- package/dist/next/host/object.js +0 -1127
- package/dist/next/host/object.js.map +0 -1
- package/dist/next/host/parked.d.ts +0 -23
- package/dist/next/host/parked.d.ts.map +0 -1
- package/dist/next/host/parked.js.map +0 -1
- package/dist/next/host/presence.d.ts +0 -34
- package/dist/next/host/presence.d.ts.map +0 -1
- package/dist/next/host/presence.js.map +0 -1
- package/dist/next/host/ref-state.d.ts +0 -53
- package/dist/next/host/ref-state.d.ts.map +0 -1
- package/dist/next/host/ref-state.js +0 -83
- package/dist/next/host/ref-state.js.map +0 -1
- package/dist/next/host/reference-keys.d.ts +0 -36
- package/dist/next/host/reference-keys.d.ts.map +0 -1
- package/dist/next/host/reference-keys.js +0 -168
- package/dist/next/host/reference-keys.js.map +0 -1
- package/dist/next/host/reference-source.d.ts +0 -65
- package/dist/next/host/reference-source.d.ts.map +0 -1
- package/dist/next/host/reference-source.js +0 -285
- package/dist/next/host/reference-source.js.map +0 -1
- package/dist/next/host/reference.d.ts +0 -308
- package/dist/next/host/reference.d.ts.map +0 -1
- package/dist/next/host/reference.js +0 -775
- package/dist/next/host/reference.js.map +0 -1
- package/dist/next/host/retry-on.d.ts.map +0 -1
- package/dist/next/host/retry-on.js.map +0 -1
- package/dist/next/host/revocation.d.ts +0 -16
- package/dist/next/host/revocation.d.ts.map +0 -1
- package/dist/next/host/revocation.js.map +0 -1
- package/dist/next/host/root.d.ts +0 -27
- package/dist/next/host/root.d.ts.map +0 -1
- package/dist/next/host/root.js +0 -68
- package/dist/next/host/root.js.map +0 -1
- package/dist/next/host/route.d.ts +0 -64
- package/dist/next/host/route.d.ts.map +0 -1
- package/dist/next/host/route.js +0 -190
- package/dist/next/host/route.js.map +0 -1
- package/dist/next/host/routines.d.ts +0 -76
- package/dist/next/host/routines.d.ts.map +0 -1
- package/dist/next/host/routines.js +0 -350
- package/dist/next/host/routines.js.map +0 -1
- package/dist/next/host/sleep.d.ts +0 -9
- package/dist/next/host/sleep.d.ts.map +0 -1
- package/dist/next/host/sleep.js.map +0 -1
- package/dist/next/host/staging.d.ts +0 -94
- package/dist/next/host/staging.d.ts.map +0 -1
- package/dist/next/host/staging.js +0 -302
- package/dist/next/host/staging.js.map +0 -1
- package/dist/next/host/unbound.d.ts +0 -30
- package/dist/next/host/unbound.d.ts.map +0 -1
- package/dist/next/host/unbound.js +0 -67
- package/dist/next/host/unbound.js.map +0 -1
- package/dist/next/host/uuid.d.ts.map +0 -1
- package/dist/next/host/uuid.js.map +0 -1
- package/dist/next/index.d.ts +0 -28
- package/dist/next/index.d.ts.map +0 -1
- package/dist/next/index.js +0 -18
- package/dist/next/index.js.map +0 -1
- package/dist/next/jobs/definition.d.ts.map +0 -1
- package/dist/next/jobs/definition.js.map +0 -1
- package/dist/next/jobs/index.d.ts.map +0 -1
- package/dist/next/jobs/index.js.map +0 -1
- package/dist/next/jobs/internal.d.ts.map +0 -1
- package/dist/next/jobs/internal.js.map +0 -1
- package/dist/next/jobs/job.d.ts +0 -152
- package/dist/next/jobs/job.d.ts.map +0 -1
- package/dist/next/jobs/job.js +0 -320
- package/dist/next/jobs/job.js.map +0 -1
- package/dist/next/jobs/persisted.d.ts +0 -38
- package/dist/next/jobs/persisted.d.ts.map +0 -1
- package/dist/next/jobs/persisted.js.map +0 -1
- package/dist/next/jobs/records.d.ts +0 -231
- package/dist/next/jobs/records.d.ts.map +0 -1
- package/dist/next/jobs/records.js +0 -869
- package/dist/next/jobs/records.js.map +0 -1
- package/dist/next/jobs/run-states.d.ts +0 -69
- package/dist/next/jobs/run-states.d.ts.map +0 -1
- package/dist/next/jobs/run-states.js +0 -228
- package/dist/next/jobs/run-states.js.map +0 -1
- package/dist/next/jobs/run.d.ts +0 -113
- package/dist/next/jobs/run.d.ts.map +0 -1
- package/dist/next/jobs/run.js +0 -200
- package/dist/next/jobs/run.js.map +0 -1
- package/dist/next/jobs/running.d.ts +0 -44
- package/dist/next/jobs/running.d.ts.map +0 -1
- package/dist/next/jobs/running.js.map +0 -1
- package/dist/next/jobs/stored.d.ts +0 -63
- package/dist/next/jobs/stored.d.ts.map +0 -1
- package/dist/next/jobs/stored.js.map +0 -1
- package/dist/next/link/binary.d.ts.map +0 -1
- package/dist/next/link/binary.js +0 -534
- package/dist/next/link/binary.js.map +0 -1
- package/dist/next/link/channel.d.ts +0 -63
- package/dist/next/link/channel.d.ts.map +0 -1
- package/dist/next/link/channel.js +0 -202
- package/dist/next/link/channel.js.map +0 -1
- package/dist/next/link/errors.d.ts.map +0 -1
- package/dist/next/link/errors.js.map +0 -1
- package/dist/next/link/index.d.ts.map +0 -1
- package/dist/next/link/index.js.map +0 -1
- package/dist/next/link/internal.d.ts.map +0 -1
- package/dist/next/link/internal.js.map +0 -1
- package/dist/next/link/ipc.d.ts.map +0 -1
- package/dist/next/link/ipc.js.map +0 -1
- package/dist/next/link/link.d.ts.map +0 -1
- package/dist/next/link/link.js.map +0 -1
- package/dist/next/link/message.d.ts +0 -249
- package/dist/next/link/message.d.ts.map +0 -1
- package/dist/next/link/message.js +0 -123
- package/dist/next/link/message.js.map +0 -1
- package/dist/next/link/part.d.ts +0 -80
- package/dist/next/link/part.d.ts.map +0 -1
- package/dist/next/link/part.js +0 -164
- package/dist/next/link/part.js.map +0 -1
- package/dist/next/link/text.d.ts.map +0 -1
- package/dist/next/link/text.js +0 -335
- package/dist/next/link/text.js.map +0 -1
- package/dist/next/link/values.d.ts.map +0 -1
- package/dist/next/link/values.js +0 -117
- package/dist/next/link/values.js.map +0 -1
- package/dist/next/link/websocket.d.ts.map +0 -1
- package/dist/next/link/websocket.js.map +0 -1
- package/dist/next/registries/contribution.d.ts.map +0 -1
- package/dist/next/registries/contribution.js.map +0 -1
- package/dist/next/registries/entries.d.ts.map +0 -1
- package/dist/next/registries/entries.js.map +0 -1
- package/dist/next/registries/index.d.ts.map +0 -1
- package/dist/next/registries/index.js.map +0 -1
- package/dist/next/registries/internal.d.ts.map +0 -1
- package/dist/next/registries/internal.js.map +0 -1
- package/dist/next/registries/record.d.ts +0 -94
- package/dist/next/registries/record.d.ts.map +0 -1
- package/dist/next/registries/record.js +0 -253
- package/dist/next/registries/record.js.map +0 -1
- package/dist/next/registries/registry.d.ts +0 -74
- package/dist/next/registries/registry.d.ts.map +0 -1
- package/dist/next/registries/registry.js.map +0 -1
- package/dist/next/registries/value.d.ts.map +0 -1
- package/dist/next/registries/value.js +0 -199
- package/dist/next/registries/value.js.map +0 -1
- package/dist/next/remote/calls.d.ts.map +0 -1
- package/dist/next/remote/calls.js.map +0 -1
- package/dist/next/remote/consumer.d.ts +0 -42
- package/dist/next/remote/consumer.d.ts.map +0 -1
- package/dist/next/remote/consumer.js +0 -343
- package/dist/next/remote/consumer.js.map +0 -1
- package/dist/next/remote/hold.d.ts +0 -130
- package/dist/next/remote/hold.d.ts.map +0 -1
- package/dist/next/remote/hold.js +0 -537
- package/dist/next/remote/hold.js.map +0 -1
- package/dist/next/remote/host-link.d.ts +0 -77
- package/dist/next/remote/host-link.d.ts.map +0 -1
- package/dist/next/remote/host-link.js +0 -182
- package/dist/next/remote/host-link.js.map +0 -1
- package/dist/next/remote/internal.d.ts.map +0 -1
- package/dist/next/remote/internal.js.map +0 -1
- package/dist/next/remote/path.d.ts.map +0 -1
- package/dist/next/remote/path.js.map +0 -1
- package/dist/next/remote/provider.d.ts +0 -76
- package/dist/next/remote/provider.d.ts.map +0 -1
- package/dist/next/remote/provider.js +0 -506
- package/dist/next/remote/provider.js.map +0 -1
- package/dist/next/remote/relay.d.ts +0 -58
- package/dist/next/remote/relay.d.ts.map +0 -1
- package/dist/next/remote/relay.js +0 -117
- package/dist/next/remote/relay.js.map +0 -1
- package/dist/next/remote/remote-object.d.ts +0 -133
- package/dist/next/remote/remote-object.d.ts.map +0 -1
- package/dist/next/remote/remote-object.js +0 -411
- package/dist/next/remote/remote-object.js.map +0 -1
- package/dist/next/remote/replica.d.ts +0 -59
- package/dist/next/remote/replica.d.ts.map +0 -1
- package/dist/next/remote/replica.js +0 -125
- package/dist/next/remote/replica.js.map +0 -1
- package/dist/next/state/batch.d.ts +0 -64
- package/dist/next/state/batch.d.ts.map +0 -1
- package/dist/next/state/batch.js +0 -163
- package/dist/next/state/batch.js.map +0 -1
- package/dist/next/state/derive.d.ts +0 -52
- package/dist/next/state/derive.d.ts.map +0 -1
- package/dist/next/state/derive.js +0 -182
- package/dist/next/state/derive.js.map +0 -1
- package/dist/next/state/index.d.ts +0 -6
- package/dist/next/state/index.d.ts.map +0 -1
- package/dist/next/state/index.js.map +0 -1
- package/dist/next/state/internal.d.ts.map +0 -1
- package/dist/next/state/internal.js.map +0 -1
- package/dist/next/state/native-source.d.ts +0 -106
- package/dist/next/state/native-source.d.ts.map +0 -1
- package/dist/next/state/native-source.js +0 -240
- package/dist/next/state/native-source.js.map +0 -1
- package/dist/next/state/watchable.d.ts +0 -114
- package/dist/next/state/watchable.d.ts.map +0 -1
- package/dist/next/state/watchable.js +0 -156
- package/dist/next/state/watchable.js.map +0 -1
- package/dist/next/state/writable.d.ts +0 -32
- package/dist/next/state/writable.d.ts.map +0 -1
- package/dist/next/state/writable.js.map +0 -1
- package/dist/next/store/adapter.d.ts +0 -67
- package/dist/next/store/adapter.d.ts.map +0 -1
- package/dist/next/store/adapter.js.map +0 -1
- package/dist/next/store/allocator.d.ts.map +0 -1
- package/dist/next/store/allocator.js.map +0 -1
- package/dist/next/store/applier.d.ts.map +0 -1
- package/dist/next/store/applier.js.map +0 -1
- package/dist/next/store/apply-batch.d.ts +0 -12
- package/dist/next/store/apply-batch.d.ts.map +0 -1
- package/dist/next/store/apply-batch.js.map +0 -1
- package/dist/next/store/archive.d.ts +0 -32
- package/dist/next/store/archive.d.ts.map +0 -1
- package/dist/next/store/archive.js +0 -129
- package/dist/next/store/archive.js.map +0 -1
- package/dist/next/store/backend.d.ts +0 -10
- package/dist/next/store/backend.d.ts.map +0 -1
- package/dist/next/store/backend.js.map +0 -1
- package/dist/next/store/catalog.d.ts +0 -24
- package/dist/next/store/catalog.d.ts.map +0 -1
- package/dist/next/store/catalog.js.map +0 -1
- package/dist/next/store/claims.d.ts.map +0 -1
- package/dist/next/store/claims.js.map +0 -1
- package/dist/next/store/columns.d.ts.map +0 -1
- package/dist/next/store/columns.js.map +0 -1
- package/dist/next/store/engine.d.ts +0 -176
- package/dist/next/store/engine.d.ts.map +0 -1
- package/dist/next/store/engine.js +0 -283
- package/dist/next/store/engine.js.map +0 -1
- package/dist/next/store/evaluate.d.ts +0 -17
- package/dist/next/store/evaluate.d.ts.map +0 -1
- package/dist/next/store/evaluate.js.map +0 -1
- package/dist/next/store/export.d.ts +0 -17
- package/dist/next/store/export.d.ts.map +0 -1
- package/dist/next/store/export.js +0 -200
- package/dist/next/store/export.js.map +0 -1
- package/dist/next/store/expression.d.ts +0 -150
- package/dist/next/store/expression.d.ts.map +0 -1
- package/dist/next/store/expression.js.map +0 -1
- package/dist/next/store/import.d.ts +0 -10
- package/dist/next/store/import.d.ts.map +0 -1
- package/dist/next/store/import.js +0 -276
- package/dist/next/store/import.js.map +0 -1
- package/dist/next/store/index.d.ts.map +0 -1
- package/dist/next/store/index.js.map +0 -1
- package/dist/next/store/json-column.d.ts +0 -33
- package/dist/next/store/json-column.d.ts.map +0 -1
- package/dist/next/store/json-column.js +0 -61
- package/dist/next/store/json-column.js.map +0 -1
- package/dist/next/store/jsonl.d.ts.map +0 -1
- package/dist/next/store/jsonl.js.map +0 -1
- package/dist/next/store/outbox.d.ts +0 -26
- package/dist/next/store/outbox.d.ts.map +0 -1
- package/dist/next/store/outbox.js.map +0 -1
- package/dist/next/store/query.d.ts +0 -39
- package/dist/next/store/query.d.ts.map +0 -1
- package/dist/next/store/query.js.map +0 -1
- package/dist/next/store/refusal.d.ts.map +0 -1
- package/dist/next/store/refusal.js.map +0 -1
- package/dist/next/store/rows.d.ts +0 -80
- package/dist/next/store/rows.d.ts.map +0 -1
- package/dist/next/store/rows.js.map +0 -1
- package/dist/next/store/schema.d.ts +0 -25
- package/dist/next/store/schema.d.ts.map +0 -1
- package/dist/next/store/schema.js +0 -115
- package/dist/next/store/schema.js.map +0 -1
- package/dist/next/store/sql.d.ts +0 -73
- package/dist/next/store/sql.d.ts.map +0 -1
- package/dist/next/store/sql.js.map +0 -1
- package/dist/next/store/step.d.ts +0 -48
- package/dist/next/store/step.d.ts.map +0 -1
- package/dist/next/store/step.js +0 -50
- package/dist/next/store/step.js.map +0 -1
- package/dist/next/store/store.d.ts +0 -161
- package/dist/next/store/store.d.ts.map +0 -1
- package/dist/next/store/store.js +0 -627
- package/dist/next/store/store.js.map +0 -1
- package/dist/next/store/table-changes.d.ts +0 -29
- package/dist/next/store/table-changes.d.ts.map +0 -1
- package/dist/next/store/table-changes.js.map +0 -1
- package/dist/next/store/table-evolve.d.ts.map +0 -1
- package/dist/next/store/table-evolve.js.map +0 -1
- package/dist/next/store/table-handle.d.ts +0 -67
- package/dist/next/store/table-handle.d.ts.map +0 -1
- package/dist/next/store/table-handle.js +0 -101
- package/dist/next/store/table-handle.js.map +0 -1
- package/dist/next/store/table-history.d.ts.map +0 -1
- package/dist/next/store/table-history.js.map +0 -1
- package/dist/next/store/table-migration.d.ts +0 -16
- package/dist/next/store/table-migration.d.ts.map +0 -1
- package/dist/next/store/table-migration.js +0 -202
- package/dist/next/store/table-migration.js.map +0 -1
- package/dist/next/store/table-writes.d.ts.map +0 -1
- package/dist/next/store/table-writes.js +0 -165
- package/dist/next/store/table-writes.js.map +0 -1
- package/dist/next/store/table.d.ts +0 -80
- package/dist/next/store/table.d.ts.map +0 -1
- package/dist/next/store/table.js.map +0 -1
- package/dist/next/store/text.d.ts.map +0 -1
- package/dist/next/store/text.js.map +0 -1
- package/dist/next/store/writes.d.ts.map +0 -1
- package/dist/next/store/writes.js.map +0 -1
- package/dist/next-node/compression.d.ts +0 -7
- package/dist/next-node/compression.d.ts.map +0 -1
- package/dist/next-node/compression.js +0 -24
- package/dist/next-node/compression.js.map +0 -1
- package/dist/next-node/http/admission.d.ts.map +0 -1
- package/dist/next-node/http/admission.js.map +0 -1
- package/dist/next-node/http/authenticate.d.ts +0 -21
- package/dist/next-node/http/authenticate.d.ts.map +0 -1
- package/dist/next-node/http/authenticate.js +0 -34
- package/dist/next-node/http/authenticate.js.map +0 -1
- package/dist/next-node/http/cookies.d.ts +0 -24
- package/dist/next-node/http/cookies.d.ts.map +0 -1
- package/dist/next-node/http/cookies.js +0 -62
- package/dist/next-node/http/cookies.js.map +0 -1
- package/dist/next-node/http/file.d.ts.map +0 -1
- package/dist/next-node/http/file.js.map +0 -1
- package/dist/next-node/http/headers.d.ts.map +0 -1
- package/dist/next-node/http/headers.js +0 -129
- package/dist/next-node/http/headers.js.map +0 -1
- package/dist/next-node/http/http.d.ts +0 -100
- package/dist/next-node/http/http.d.ts.map +0 -1
- package/dist/next-node/http/http.js +0 -462
- package/dist/next-node/http/http.js.map +0 -1
- package/dist/next-node/http/incoming.d.ts.map +0 -1
- package/dist/next-node/http/incoming.js.map +0 -1
- package/dist/next-node/http/index.d.ts +0 -11
- package/dist/next-node/http/index.d.ts.map +0 -1
- package/dist/next-node/http/index.js +0 -12
- package/dist/next-node/http/index.js.map +0 -1
- package/dist/next-node/http/node.d.ts.map +0 -1
- package/dist/next-node/http/node.js.map +0 -1
- package/dist/next-node/http/request.d.ts +0 -54
- package/dist/next-node/http/request.d.ts.map +0 -1
- package/dist/next-node/http/request.js +0 -116
- package/dist/next-node/http/request.js.map +0 -1
- package/dist/next-node/http/response.d.ts +0 -63
- package/dist/next-node/http/response.d.ts.map +0 -1
- package/dist/next-node/http/response.js.map +0 -1
- package/dist/next-node/http/router.d.ts +0 -114
- package/dist/next-node/http/router.d.ts.map +0 -1
- package/dist/next-node/http/router.js +0 -261
- package/dist/next-node/http/router.js.map +0 -1
- package/dist/next-node/http/upgrades.d.ts +0 -58
- package/dist/next-node/http/upgrades.d.ts.map +0 -1
- package/dist/next-node/http/upgrades.js +0 -184
- package/dist/next-node/http/upgrades.js.map +0 -1
- package/dist/next-node/plugins/build.d.ts +0 -57
- package/dist/next-node/plugins/build.d.ts.map +0 -1
- package/dist/next-node/plugins/build.js +0 -334
- package/dist/next-node/plugins/build.js.map +0 -1
- package/dist/next-node/plugins/discover.d.ts +0 -36
- package/dist/next-node/plugins/discover.d.ts.map +0 -1
- package/dist/next-node/plugins/discover.js +0 -91
- package/dist/next-node/plugins/discover.js.map +0 -1
- package/dist/next-node/plugins/evaluate.d.ts +0 -33
- package/dist/next-node/plugins/evaluate.d.ts.map +0 -1
- package/dist/next-node/plugins/evaluate.js +0 -98
- package/dist/next-node/plugins/evaluate.js.map +0 -1
- package/dist/next-node/plugins/index.d.ts +0 -9
- package/dist/next-node/plugins/index.d.ts.map +0 -1
- package/dist/next-node/plugins/index.js +0 -11
- package/dist/next-node/plugins/index.js.map +0 -1
- package/dist/next-node/plugins/install.d.ts +0 -13
- package/dist/next-node/plugins/install.d.ts.map +0 -1
- package/dist/next-node/plugins/install.js +0 -37
- package/dist/next-node/plugins/install.js.map +0 -1
- package/dist/next-node/plugins/plugins.d.ts +0 -135
- package/dist/next-node/plugins/plugins.d.ts.map +0 -1
- package/dist/next-node/plugins/plugins.js +0 -206
- package/dist/next-node/plugins/plugins.js.map +0 -1
- package/dist/next-node/plugins/runtime.d.ts +0 -41
- package/dist/next-node/plugins/runtime.d.ts.map +0 -1
- package/dist/next-node/plugins/runtime.js +0 -136
- package/dist/next-node/plugins/runtime.js.map +0 -1
- package/dist/next-node/plugins/stack.d.ts.map +0 -1
- package/dist/next-node/plugins/stack.js.map +0 -1
- package/dist/next-node/plugins/watcher.d.ts +0 -58
- package/dist/next-node/plugins/watcher.d.ts.map +0 -1
- package/dist/next-node/plugins/watcher.js +0 -281
- package/dist/next-node/plugins/watcher.js.map +0 -1
- package/dist/next-node/workers/control.d.ts +0 -83
- package/dist/next-node/workers/control.d.ts.map +0 -1
- package/dist/next-node/workers/control.js +0 -77
- package/dist/next-node/workers/control.js.map +0 -1
- package/dist/next-node/workers/index.d.ts +0 -5
- package/dist/next-node/workers/index.d.ts.map +0 -1
- package/dist/next-node/workers/index.js +0 -7
- package/dist/next-node/workers/index.js.map +0 -1
- package/dist/next-node/workers/lock.d.ts +0 -21
- package/dist/next-node/workers/lock.d.ts.map +0 -1
- package/dist/next-node/workers/lock.js +0 -137
- package/dist/next-node/workers/lock.js.map +0 -1
- package/dist/next-node/workers/main.d.ts +0 -46
- package/dist/next-node/workers/main.d.ts.map +0 -1
- package/dist/next-node/workers/main.js +0 -230
- package/dist/next-node/workers/main.js.map +0 -1
- package/dist/next-node/workers/process.d.ts +0 -42
- package/dist/next-node/workers/process.d.ts.map +0 -1
- package/dist/next-node/workers/process.js +0 -125
- package/dist/next-node/workers/process.js.map +0 -1
- package/dist/next-node/workers/workers.d.ts +0 -80
- package/dist/next-node/workers/workers.d.ts.map +0 -1
- package/dist/next-node/workers/workers.js +0 -572
- package/dist/next-node/workers/workers.js.map +0 -1
- package/dist/node.d.ts +0 -4
- package/dist/node.d.ts.map +0 -1
- package/dist/node.js +0 -4
- package/dist/node.js.map +0 -1
- package/dist/object.d.ts +0 -438
- package/dist/object.d.ts.map +0 -1
- package/dist/object.js +0 -1570
- package/dist/object.js.map +0 -1
- package/dist/publish.d.ts +0 -5
- package/dist/publish.d.ts.map +0 -1
- package/dist/publish.js +0 -40
- package/dist/publish.js.map +0 -1
- package/dist/registry.d.ts +0 -25
- package/dist/registry.d.ts.map +0 -1
- package/dist/registry.js +0 -6
- package/dist/registry.js.map +0 -1
- package/dist/reload.d.ts +0 -126
- package/dist/reload.d.ts.map +0 -1
- package/dist/reload.js +0 -653
- package/dist/reload.js.map +0 -1
- package/dist/remote.d.ts +0 -165
- package/dist/remote.d.ts.map +0 -1
- package/dist/remote.js +0 -612
- package/dist/remote.js.map +0 -1
- package/dist/schema.d.ts +0 -25
- package/dist/schema.d.ts.map +0 -1
- package/dist/schema.js +0 -403
- package/dist/schema.js.map +0 -1
- package/dist/state.d.ts +0 -92
- package/dist/state.d.ts.map +0 -1
- package/dist/state.js +0 -287
- package/dist/state.js.map +0 -1
- package/dist/types.d.ts +0 -88
- package/dist/types.d.ts.map +0 -1
- package/dist/types.js +0 -2
- package/dist/types.js.map +0 -1
- package/dist/websocket.d.ts +0 -15
- package/dist/websocket.d.ts.map +0 -1
- package/dist/websocket.js +0 -16
- package/dist/websocket.js.map +0 -1
- package/dist/wire.d.ts +0 -197
- package/dist/wire.d.ts.map +0 -1
- package/dist/wire.js +0 -166
- package/dist/wire.js.map +0 -1
- package/docs/guide.md +0 -814
- package/docs/next/benchmarks.md +0 -959
- package/docs/next/decisions.md +0 -2957
- package/docs/next/dependencies/book.md +0 -1671
- package/docs/next/dependencies/index.html +0 -2641
- package/docs/next/design.md +0 -2554
- package/docs/next/durable-observers/book.md +0 -432
- package/docs/next/durable-observers/index.html +0 -517
- package/docs/next/guide-plugins-hosts/book.md +0 -607
- package/docs/next/guide-plugins-hosts/index.html +0 -652
- package/docs/next/http-workers/book.md +0 -378
- package/docs/next/http-workers/index.html +0 -515
- package/docs/next/layer-1.md +0 -311
- package/docs/next/layer-2.md +0 -216
- package/docs/next/plugin-model/book.md +0 -186
- package/docs/next/plugin-model/index.html +0 -310
- package/docs/next/plugin-primer/book.md +0 -273
- package/docs/next/plugin-primer/index.html +0 -430
- package/docs/next/slice-1.md +0 -236
- package/docs/next/slice-10.md +0 -285
- package/docs/next/slice-11.md +0 -93
- package/docs/next/slice-2.md +0 -174
- package/docs/next/slice-3a.md +0 -296
- package/docs/next/slice-3b.md +0 -197
- package/docs/next/slice-4a.md +0 -418
- package/docs/next/slice-4b.md +0 -208
- package/docs/next/slice-6a.md +0 -676
- package/docs/next/slice-6b.md +0 -332
- package/docs/next/slice-7b/book.md +0 -608
- package/docs/next/slice-7b/index.html +0 -842
- package/docs/next/slice-7b.md +0 -255
- package/docs/next/slice-7c.md +0 -165
- package/docs/next/slices.md +0 -230
- package/docs/next/store/book.md +0 -665
- package/docs/next/store/index.html +0 -861
- package/docs/next/store/walkthrough.md +0 -193
- package/docs/spec.md +0 -288
- package/docs/tutorial.md +0 -932
- /package/dist/{next/contracts → contracts}/accepts.js +0 -0
- /package/dist/{next/contracts → contracts}/contract.js +0 -0
- /package/dist/{next/contracts → contracts}/declare.d.ts +0 -0
- /package/dist/{next/contracts → contracts}/declare.js +0 -0
- /package/dist/{next/contracts → contracts}/evolve.d.ts +0 -0
- /package/dist/{next/contracts → contracts}/evolve.js +0 -0
- /package/dist/{next/contracts → contracts}/fingerprint.js +0 -0
- /package/dist/{next/contracts → contracts}/history.d.ts +0 -0
- /package/dist/{next/contracts → contracts}/history.js +0 -0
- /package/dist/{next/contracts → contracts}/host-kind.d.ts +0 -0
- /package/dist/{next/contracts → contracts}/host-kind.js +0 -0
- /package/dist/{next/contracts → contracts}/index.d.ts +0 -0
- /package/dist/{next/contracts → contracts}/index.js +0 -0
- /package/dist/{next/contracts → contracts}/internal.d.ts +0 -0
- /package/dist/{next/contracts → contracts}/internal.js +0 -0
- /package/dist/{next/contracts → contracts}/names.d.ts +0 -0
- /package/dist/{next/contracts → contracts}/names.js +0 -0
- /package/dist/{next/contracts → contracts}/params.js +0 -0
- /package/dist/{next/contracts → contracts}/schema.d.ts +0 -0
- /package/dist/{next/contracts → contracts}/schema.js +0 -0
- /package/dist/{next/data → data}/args.js +0 -0
- /package/dist/{next/data → data}/failure.d.ts +0 -0
- /package/dist/{next/data → data}/params.js +0 -0
- /package/dist/{next/documents → documents}/address-source.js +0 -0
- /package/dist/{next/documents → documents}/fence.d.ts +0 -0
- /package/dist/{next/documents → documents}/fence.js +0 -0
- /package/dist/{next/documents → documents}/handles.js +0 -0
- /package/dist/{next/documents → documents}/index.d.ts +0 -0
- /package/dist/{next/documents → documents}/index.js +0 -0
- /package/dist/{next/documents → documents}/internal.js +0 -0
- /package/dist/{next/documents → documents}/line.d.ts +0 -0
- /package/dist/{next/documents → documents}/line.js +0 -0
- /package/dist/{next/documents → documents}/residency.js +0 -0
- /package/dist/{next/host → host}/adapted.js +0 -0
- /package/dist/{next/host → host}/backoff.d.ts +0 -0
- /package/dist/{next/host → host}/backoff.js +0 -0
- /package/dist/{next/host → host}/deadline.d.ts +0 -0
- /package/dist/{next/host → host}/deadline.js +0 -0
- /package/dist/{next/host → host}/dependencies.d.ts +0 -0
- /package/dist/{next/host → host}/dependencies.js +0 -0
- /package/dist/{next/host → host}/destination.js +0 -0
- /package/dist/{next/host → host}/facet.js +0 -0
- /package/dist/{next/host → host}/follow.js +0 -0
- /package/dist/{next/host → host}/index.js +0 -0
- /package/dist/{next/host → host}/members.js +0 -0
- /package/dist/{next/host → host}/parked.js +0 -0
- /package/dist/{next/host → host}/presence.js +0 -0
- /package/dist/{next/host → host}/retry-on.d.ts +0 -0
- /package/dist/{next/host → host}/retry-on.js +0 -0
- /package/dist/{next/host → host}/revocation.js +0 -0
- /package/dist/{next/host → host}/sleep.js +0 -0
- /package/dist/{next/host → host}/uuid.d.ts +0 -0
- /package/dist/{next/host → host}/uuid.js +0 -0
- /package/dist/{next/jobs → jobs}/definition.d.ts +0 -0
- /package/dist/{next/jobs → jobs}/definition.js +0 -0
- /package/dist/{next/jobs → jobs}/index.d.ts +0 -0
- /package/dist/{next/jobs → jobs}/index.js +0 -0
- /package/dist/{next/jobs → jobs}/internal.d.ts +0 -0
- /package/dist/{next/jobs → jobs}/internal.js +0 -0
- /package/dist/{next/jobs → jobs}/persisted.js +0 -0
- /package/dist/{next/jobs → jobs}/running.js +0 -0
- /package/dist/{next/jobs → jobs}/stored.js +0 -0
- /package/dist/{next/link → link}/binary.d.ts +0 -0
- /package/dist/{next/link → link}/errors.d.ts +0 -0
- /package/dist/{next/link → link}/errors.js +0 -0
- /package/dist/{next/link → link}/index.d.ts +0 -0
- /package/dist/{next/link → link}/index.js +0 -0
- /package/dist/{next/link → link}/internal.d.ts +0 -0
- /package/dist/{next/link → link}/internal.js +0 -0
- /package/dist/{next/link → link}/ipc.d.ts +0 -0
- /package/dist/{next/link → link}/ipc.js +0 -0
- /package/dist/{next/link → link}/link.d.ts +0 -0
- /package/dist/{next/link → link}/link.js +0 -0
- /package/dist/{next/link → link}/text.d.ts +0 -0
- /package/dist/{next/link → link}/values.d.ts +0 -0
- /package/dist/{next/link → link}/websocket.d.ts +0 -0
- /package/dist/{next/link → link}/websocket.js +0 -0
- /package/dist/{next-node → node}/http/admission.d.ts +0 -0
- /package/dist/{next-node → node}/http/admission.js +0 -0
- /package/dist/{next-node → node}/http/file.d.ts +0 -0
- /package/dist/{next-node → node}/http/file.js +0 -0
- /package/dist/{next-node → node}/http/headers.d.ts +0 -0
- /package/dist/{next-node → node}/http/incoming.d.ts +0 -0
- /package/dist/{next-node → node}/http/incoming.js +0 -0
- /package/dist/{next-node → node}/http/node.d.ts +0 -0
- /package/dist/{next-node → node}/http/node.js +0 -0
- /package/dist/{next-node → node}/http/response.js +0 -0
- /package/dist/{next-node → node}/plugins/stack.d.ts +0 -0
- /package/dist/{next-node → node}/plugins/stack.js +0 -0
- /package/dist/{next/registries → registries}/contribution.d.ts +0 -0
- /package/dist/{next/registries → registries}/contribution.js +0 -0
- /package/dist/{next/registries → registries}/entries.d.ts +0 -0
- /package/dist/{next/registries → registries}/entries.js +0 -0
- /package/dist/{next/registries → registries}/index.d.ts +0 -0
- /package/dist/{next/registries → registries}/index.js +0 -0
- /package/dist/{next/registries → registries}/internal.d.ts +0 -0
- /package/dist/{next/registries → registries}/internal.js +0 -0
- /package/dist/{next/registries → registries}/registry.js +0 -0
- /package/dist/{next/registries → registries}/value.d.ts +0 -0
- /package/dist/{next/remote → remote}/calls.d.ts +0 -0
- /package/dist/{next/remote → remote}/calls.js +0 -0
- /package/dist/{next/remote → remote}/internal.d.ts +0 -0
- /package/dist/{next/remote → remote}/internal.js +0 -0
- /package/dist/{next/remote → remote}/path.d.ts +0 -0
- /package/dist/{next/remote → remote}/path.js +0 -0
- /package/dist/{next/state → state}/index.js +0 -0
- /package/dist/{next/state → state}/internal.d.ts +0 -0
- /package/dist/{next/state → state}/internal.js +0 -0
- /package/dist/{next/state → state}/writable.js +0 -0
- /package/dist/{next/store → store}/adapter.js +0 -0
- /package/dist/{next/store → store}/allocator.d.ts +0 -0
- /package/dist/{next/store → store}/allocator.js +0 -0
- /package/dist/{next/store → store}/applier.d.ts +0 -0
- /package/dist/{next/store → store}/applier.js +0 -0
- /package/dist/{next/store → store}/apply-batch.js +0 -0
- /package/dist/{next/store → store}/backend.js +0 -0
- /package/dist/{next/store → store}/catalog.js +0 -0
- /package/dist/{next/store → store}/claims.d.ts +0 -0
- /package/dist/{next/store → store}/claims.js +0 -0
- /package/dist/{next/store → store}/columns.d.ts +0 -0
- /package/dist/{next/store → store}/columns.js +0 -0
- /package/dist/{next/store → store}/evaluate.js +0 -0
- /package/dist/{next/store → store}/expression.js +0 -0
- /package/dist/{next/store → store}/index.d.ts +0 -0
- /package/dist/{next/store → store}/index.js +0 -0
- /package/dist/{next/store → store}/jsonl.d.ts +0 -0
- /package/dist/{next/store → store}/jsonl.js +0 -0
- /package/dist/{next/store → store}/outbox.js +0 -0
- /package/dist/{next/store → store}/query.js +0 -0
- /package/dist/{next/store → store}/refusal.d.ts +0 -0
- /package/dist/{next/store → store}/refusal.js +0 -0
- /package/dist/{next/store → store}/rows.js +0 -0
- /package/dist/{next/store → store}/sql.js +0 -0
- /package/dist/{next/store → store}/table-changes.js +0 -0
- /package/dist/{next/store → store}/table-evolve.d.ts +0 -0
- /package/dist/{next/store → store}/table-evolve.js +0 -0
- /package/dist/{next/store → store}/table-history.d.ts +0 -0
- /package/dist/{next/store → store}/table-history.js +0 -0
- /package/dist/{next/store → store}/table-writes.d.ts +0 -0
- /package/dist/{next/store → store}/table.js +0 -0
- /package/dist/{next/store → store}/text.d.ts +0 -0
- /package/dist/{next/store → store}/text.js +0 -0
- /package/dist/{next/store → store}/writes.d.ts +0 -0
- /package/dist/{next/store → store}/writes.js +0 -0
- /package/docs/{next/dependencies → dependencies}/model.md +0 -0
- /package/docs/{next/flow-control → flow-control}/book.md +0 -0
- /package/docs/{next/flow-control → flow-control}/fold/index.html +0 -0
- /package/docs/{next/flow-control → flow-control}/index.html +0 -0
- /package/docs/{next/flow-control → flow-control}/window/index.html +0 -0
- /package/docs/{next/slice-4.md → slice-4.md} +0 -0
- /package/docs/{next/slice-5.md → slice-5.md} +0 -0
- /package/docs/{next/slice-7a.md → slice-7a.md} +0 -0
- /package/docs/{next/slice-8.md → slice-8.md} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workers.js","sourceRoot":"","sources":["../../../src/next-node/workers/workers.ts"],"names":[],"mappings":"AAAA,oHAAoH;AACpH,mHAAmH;AACn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EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,IAAI,SAAS,EAAE,CAAC;QACnD,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;YAC3B,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,OAAO,EAAE,CAAC;QAC/C,CAAC;aAAM,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YAChC,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC,OAAO,CAAC;YACzC,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC;QACvD,CAAC;IACF,CAAC;IACD,OAAO,KAAK,CAAC;AACd,CAAC","sourcesContent":["// The workers component (slice 10 §3, §4; decision \"Slice 10's points\"): a forked worker process per address of one\n// host kind, started on demand by the route it owns, stopped when idle, never restarted by itself (R2): a crash, a\n// `fatal`, a link lost while its child lives or a failed start leaves the address failed until `retry` or a rollout.\n// Per address, a child's events are recorded on that child as they happen; starts and stops run one after another.\n\nimport type { Context } from \"../../context/index.ts\";\nimport { awaitWithContext, BACKGROUND_CONTEXT, withAbortSignal } from \"../../context/index.ts\";\nimport type { JsonValue } from \"../../json.ts\";\nimport type { Address, HostKind, KindShape } from \"../../next/contracts/index.ts\";\nimport type { Params } from \"../../next/contracts/internal.ts\";\nimport { ChordError, type Principal } from \"../../next/data/index.ts\";\nimport type { Host, RouteHandle } from \"../../next/host/index.ts\";\nimport { Batch, type BatchError, Source } from \"../../next/state/internal.ts\";\nimport type { Watchable } from \"../../watch.ts\";\nimport type { Plugins, RolloutHost, RolloutStep } from \"../plugins/plugins.ts\";\nimport type { PluginScript } from \"../plugins/runtime.ts\";\nimport { type CrossedError, type CrossedReport, type FromWorker, uncrossed, uncrossedReport } from \"./control.ts\";\nimport { type Exit, WorkerProcess } from \"./process.ts\";\n\n/** What `createWorkers` takes. `kind`, `entry`, `execArgv` and `env` are bootstrap; the functions are called per use. */\nexport type WorkersOptions<P extends Principal, K extends KindShape> = {\n\t/** The facet kind its workers load (`\"worker\"`), shipped by the plugins component. */\n\treadonly kind: string;\n\t/** The worker's entry module (it calls `workerMain`), its Node flags and its environment. */\n\treadonly entry: string;\n\treadonly execArgv?: readonly string[];\n\treadonly env?: Readonly<Record<string, string>>;\n\t/** The route's `authorize`: whether `principal` may reach `address` (synchronous). */\n\treadonly authorize: (principal: P, address: Address<K>) => boolean;\n\t/** Who the worker at `address` is (stamped on its link). */\n\treadonly principal: (address: Address<K>) => P;\n\t/** The worker's start data (JSON), before each start; abortable (`close`), a throw fails the start. */\n\treadonly start: (address: Address<K>, context: Context) => Promise<JsonValue> | JsonValue;\n\t/** The lock one live worker of `address` holds (across processes). */\n\treadonly lock: (address: Address<K>) => string;\n\t/** How long a worker idles before it is stopped: 5 minutes by default. */\n\treadonly idleMs?: () => number;\n\treadonly plugins: Plugins;\n\t/** A worker's output; without it, mirrored to this process's own. */\n\treadonly onOutput?: (address: Address<K>, stream: \"stdout\" | \"stderr\", chunk: Uint8Array) => void;\n\treadonly onError: (error: WorkersError) => void;\n};\n\n/**\n * One address's worker (R5): running or on its way, or failed (until `retry` or a rollout) with a public error: a fixed\n * message (`worker failed to start`, `worker exited (SIGSEGV)`) or the child's redacted `fatal`.\n */\nexport type WorkerState =\n\t| { readonly status: \"starting\" | \"running\" | \"stopping\"; readonly pid: number; readonly startedAt: number }\n\t| { readonly status: \"failed\"; readonly error: CrossedError; readonly at: number };\n\n/** What the component reports (and the state's watch listeners that threw). */\nexport type WorkersError =\n\t| {\n\t\t\treadonly kind: \"worker_failed\";\n\t\t\treadonly address: string;\n\t\t\t/** The full error (a start's throw, a crash, the child's `fatal`): for the app's logs, never public. */\n\t\t\treadonly error: unknown;\n\t\t\treadonly stderrTail?: string;\n\t }\n\t| {\n\t\t\t/** The app's `authorize` threw: the hold is refused (`forbidden`), the error stays private. */\n\t\t\treadonly kind: \"authorize_failed\";\n\t\t\treadonly address: string;\n\t\t\treadonly error: unknown;\n\t }\n\t| {\n\t\t\treadonly kind: \"worker_exited\";\n\t\t\treadonly address: string;\n\t\t\treadonly code: number | null;\n\t\t\treadonly signal: string | null;\n\t }\n\t| BatchError;\n\n/** The workers component. */\nexport interface Workers<K extends KindShape> {\n\t/** Per address key its `WorkerState`; no entry when stopped or never started. A JSON watchable. */\n\treadonly state: Watchable<Readonly<Record<string, WorkerState>>>;\n\t/** Suspends `address` while it has holders (`RouteHandle.suspend`), then stops its worker. */\n\tstop(address: Address<K>, context: Context): Promise<void>;\n\t/** Clears `address`'s failure and suspension: it starts again now if held (`RouteHandle.retry`). */\n\tretry(address: Address<K>, context: Context): Promise<void>;\n\t/** A rollout step shipping the kind's current set to every worker, one result per worker (§4). */\n\tstep(name: string): RolloutStep;\n\t/** Cancels starts, stops every worker; new starts reject `released/closed`. */\n\tclose(context: Context): Promise<void>;\n}\n\n/** Creates the workers component on `host`: it routes `Kind` itself (`host.route`, before `load`). */\nexport function createWorkers<P extends Principal, N extends string, Q extends Params>(\n\thost: Host<P>,\n\tKind: HostKind<N, Q>,\n\toptions: WorkersOptions<P, HostKind<N, Q>>,\n\tcontext: Context,\n): Workers<HostKind<N, Q>> {\n\t// Its addresses are `Address<HostKind<N, Q>>`, as the route hands them over.\n\tconst component = new WorkersComponent(options as unknown as WorkersOptions<Principal, HostKind>, context);\n\tconst route = host.route(\n\t\tKind,\n\t\t{\n\t\t\tauthorize: (principal, address) => {\n\t\t\t\t// A throw would reach the holder as the hold's failure: the app's error stays private.\n\t\t\t\ttry {\n\t\t\t\t\treturn options.authorize(principal, address);\n\t\t\t\t} catch (error) {\n\t\t\t\t\toptions.onError({ kind: \"authorize_failed\", address: address.key, error });\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t},\n\t\t\t// The principal is `options.principal`'s, a `P`.\n\t\t\tresolve: (address, routing) =>\n\t\t\t\tcomponent.resolve(address, routing) as Promise<{ link: Link; principal: P; trusted: true }>,\n\t\t},\n\t\tcontext,\n\t);\n\tcomponent.route = route as unknown as RouteHandle<HostKind>;\n\treturn component as unknown as Workers<HostKind<N, Q>>;\n}\n\n/**\n * A failure an address keeps until `retry` or a rollout: what the public sees (a fixed message, or the child's redacted\n * `fatal`; decision \"Slice 10 fix round, worker errors in public\") and when.\n */\ntype Failure = { readonly error: CrossedError; readonly at: number };\n\n/**\n * Why a child fails when it exits, recorded as it happens: a start that failed, a `fatal`, a lost link. `error` is the\n * full error (`onError` only); `public` what holders and `state` get (a fixed one from the exit when absent).\n */\ntype Cause = {\n\treadonly error: unknown;\n\treadonly public?: CrossedError;\n\t/** The component ended the child itself (a failed start): its exit is no `worker_exited`. */\n\treadonly killed?: true;\n};\n\n/** How a child's reloads end once it is gone: stopped cleanly (a stop's exit) or with an error. */\ntype Ended = { readonly kind: \"stopped\" } | { readonly kind: \"failed\"; readonly error: unknown };\n\n/** One worker process of an address, with what its events recorded. */\ntype Child = {\n\treadonly process: WorkerProcess;\n\tstatus: \"starting\" | \"running\" | \"stopping\";\n\t/** A stop was asked for: its exit is no crash. */\n\tstopping: boolean;\n\tcause: Cause | undefined;\n\t/** `started`: the app's host listens on its link. */\n\treadonly started: PromiseWithResolvers<void>;\n\t/** `ready`: its load report; rejected when it exits before. */\n\treadonly ready: PromiseWithResolvers<CrossedReport>;\n\t/** Since when it is idle (from `ready`); `undefined` while busy or before `ready`. */\n\tidleSince: number | undefined;\n\t/** An idle stop is queued (checked again when it runs). */\n\tidleStop: boolean;\n\t/** The set its start message or its last reload that applied without failures carried. */\n\tshipped: string;\n\t/** Its reloads, one outstanding at a time; settles to nothing (a report kept as its value would stay alive). */\n\treloading: Promise<void>;\n\t/** The waiter of its outstanding reload. */\n\treloaded: ((reply: Extract<FromWorker, { readonly kind: \"reloaded\" }>) => void) | undefined;\n\t/** Set once its link is gone or it exited: every reload queued behind settles with it. */\n\tended: Ended | undefined;\n\t/** The grace timer of a stop or of a lost link. */\n\tgrace: ReturnType<typeof setTimeout> | undefined;\n};\n\n/** One address: its operations in a queue, its child, its failure. Kept while it has any of them. */\ntype Routed = {\n\treadonly address: Address<HostKind>;\n\tqueue: Promise<void>;\n\tpending: number;\n\tchild: Child | undefined;\n\tfailure: Failure | undefined;\n\t/** A start was queued and has not settled. */\n\tstarting: Promise<unknown> | undefined;\n};\n\n/** Starts a worker may take until `started` (fork, lock, connect): 60 s. */\nconst START_TIMEOUT = 60_000;\n\n/** How long a stopping worker (or one whose link is gone) gets before its tree is killed: 5 s. */\nconst GRACE = 5_000;\n\n/** How often idle workers are looked for: every second. */\nconst IDLE_CHECK = 1_000;\n\n/** How long a worker idles before it is stopped unless `idleMs` says otherwise: 5 minutes. */\nconst IDLE_MS = 5 * 60_000;\n\n/** The public error of a start that failed. */\nconst START_FAILED: CrossedError = { message: \"worker failed to start\", code: \"unavailable\" };\n\n/** The link type a route's `resolve` returns. */\ntype Link = WorkerProcess[\"link\"];\n\nclass WorkersComponent implements Workers<HostKind> {\n\t/** Set by `createWorkers` once the route exists. */\n\troute!: RouteHandle<HostKind>;\n\treadonly state: Watchable<Readonly<Record<string, WorkerState>>>;\n\treadonly #state: WorkersState;\n\treadonly #options: WorkersOptions<Principal, HostKind>;\n\treadonly #addresses = new Map<string, Routed>();\n\t/** Aborted at `close`: starts waiting in the app's `start` or for `started` end. */\n\treadonly #closing = new AbortController();\n\t/** `#closing`'s signal as a context: what a start's waits are bounded by. */\n\treadonly #closingContext = withAbortSignal(this.#closing.signal, BACKGROUND_CONTEXT);\n\t/** Whether the route's context closes it already (its first `resolve` attached that). */\n\t#routing = false;\n\t#idleTimer: ReturnType<typeof setInterval> | undefined;\n\n\tconstructor(options: WorkersOptions<Principal, HostKind>, context: Context) {\n\t\tthis.#options = options;\n\t\tthis.#state = new WorkersState(this.#addresses, new Batch((error) => options.onError(error), undefined));\n\t\t// Its value is a `Record<string, WorkerState>`.\n\t\tthis.state = this.#state as unknown as Watchable<Readonly<Record<string, WorkerState>>>;\n\t\tthis.#closeWith(context);\n\t}\n\n\t/**\n\t * The route's `resolve`: a failed address rejects at once with its (public) failure, nothing forks; otherwise a\n\t * start, after the previous child's exit.\n\t */\n\tresolve(address: Address<HostKind>, routing: Context): Promise<{ link: Link; principal: Principal; trusted: true }> {\n\t\tif (!this.#routing) {\n\t\t\tthis.#routing = true;\n\t\t\tthis.#closeWith(routing);\n\t\t}\n\t\tconst routed = this.#routed(address);\n\t\tif (routed.failure !== undefined) return Promise.reject(uncrossed(routed.failure.error));\n\t\tif (this.#closing.signal.aborted) return Promise.reject(closed());\n\t\tconst started = this.#enqueue(routed, () => this.#start(routed, routing));\n\t\trouted.starting = started;\n\t\tvoid started.then(\n\t\t\t() => this.#settled(routed, started),\n\t\t\t() => this.#settled(routed, started),\n\t\t);\n\t\treturn started;\n\t}\n\n\tasync stop(address: Address<HostKind>, context: Context): Promise<void> {\n\t\tthis.route.suspend(address);\n\t\tconst routed = this.#addresses.get(address.key);\n\t\tif (routed === undefined) return;\n\t\tawait awaitWithContext(\n\t\t\tthis.#enqueue(routed, () => this.#stop(routed)),\n\t\t\tcontext,\n\t\t);\n\t}\n\n\tasync retry(address: Address<HostKind>, _context: Context): Promise<void> {\n\t\tconst routed = this.#addresses.get(address.key);\n\t\tif (routed !== undefined) {\n\t\t\trouted.failure = undefined;\n\t\t\tthis.#state.refresh();\n\t\t\tthis.#forget(routed);\n\t\t}\n\t\tthis.route.retry(address);\n\t}\n\n\tstep(name: string): RolloutStep {\n\t\treturn { name, kinds: [this.#options.kind], reload: (_built, context) => this.#rollout(context) };\n\t}\n\n\tasync close(context: Context): Promise<void> {\n\t\tif (!this.#closing.signal.aborted) this.#closing.abort(closed());\n\t\tclearInterval(this.#idleTimer);\n\t\tthis.#idleTimer = undefined;\n\t\tconst stops = [...this.#addresses.values()].map((routed) => this.#enqueue(routed, () => this.#stop(routed)));\n\t\tawait awaitWithContext(Promise.all(stops), context);\n\t}\n\n\t/** `context`'s abort closes the component (the route's is aborted when the host closes). */\n\t#closeWith(context: Context): void {\n\t\tconst signal = context.abortSignal;\n\t\tif (signal === undefined || signal.aborted) return;\n\t\tsignal.addEventListener(\"abort\", () => void this.close(BACKGROUND_CONTEXT).catch(() => {}), { once: true });\n\t}\n\n\t/** The record of `address`, made by its first use. */\n\t#routed(address: Address<HostKind>): Routed {\n\t\tlet routed = this.#addresses.get(address.key);\n\t\tif (routed === undefined) {\n\t\t\trouted = {\n\t\t\t\taddress,\n\t\t\t\tqueue: Promise.resolve(),\n\t\t\t\tpending: 0,\n\t\t\t\tchild: undefined,\n\t\t\t\tfailure: undefined,\n\t\t\t\tstarting: undefined,\n\t\t\t};\n\t\t\tthis.#addresses.set(address.key, routed);\n\t\t}\n\t\treturn routed;\n\t}\n\n\t/** Runs `operation` after the address's earlier ones. */\n\t#enqueue<T>(routed: Routed, operation: () => Promise<T>): Promise<T> {\n\t\trouted.pending++;\n\t\tconst run = routed.queue.then(operation);\n\t\trouted.queue = run.then(\n\t\t\t() => this.#done(routed),\n\t\t\t() => this.#done(routed),\n\t\t);\n\t\treturn run;\n\t}\n\n\t/** An operation ended. */\n\t#done(routed: Routed): void {\n\t\trouted.pending--;\n\t\tthis.#forget(routed);\n\t}\n\n\t/** A start settled: no longer starting. */\n\t#settled(routed: Routed, started: Promise<unknown>): void {\n\t\tif (routed.starting === started) routed.starting = undefined;\n\t}\n\n\t/** Forgets an address with no operation, no child and no failure. */\n\t#forget(routed: Routed): void {\n\t\tif (routed.pending === 0 && routed.child === undefined && routed.failure === undefined) {\n\t\t\tthis.#addresses.delete(routed.address.key);\n\t\t}\n\t}\n\n\t/**\n\t * A start: the app's start data, the fork, the start message with the kind's current set, then `started` within the\n\t * start timer (fork, lock and connect only). Its failure fails the address; `close` ends it at any of its waits (an\n\t * app's `start` that ignores its signal too), a forked child is stopped.\n\t */\n\tasync #start(routed: Routed, routing: Context): Promise<{ link: Link; principal: Principal; trusted: true }> {\n\t\tconst { address } = routed;\n\t\t// After the previous child's exit (its link may close first): a crash recorded meanwhile rejects this start.\n\t\tawait routed.child?.process.exited;\n\t\tconst crashed = routed.failure;\n\t\tif (crashed !== undefined) throw uncrossed(crashed.error);\n\t\tif (this.#closing.signal.aborted) throw closed();\n\t\tconst context = withAbortSignal(this.#closing.signal, routing);\n\t\tlet data: JsonValue;\n\t\ttry {\n\t\t\tdata = await awaitWithContext(Promise.resolve(this.#options.start(address, context)), this.#closingContext);\n\t\t} catch (error) {\n\t\t\tif (this.#closing.signal.aborted) throw closed();\n\t\t\tthrow this.#fail(routed, { error, public: START_FAILED }, undefined);\n\t\t}\n\t\tif (this.#closing.signal.aborted) throw closed();\n\t\tlet child: Child;\n\t\ttry {\n\t\t\tchild = this.#fork(routed);\n\t\t} catch (error) {\n\t\t\tthrow this.#fail(routed, { error, public: START_FAILED }, undefined);\n\t\t}\n\t\tconst timer = setTimeout(() => {\n\t\t\tconst error = new Error(`worker ${address.key}: did not start within ${START_TIMEOUT / 1000} s`);\n\t\t\tchild.cause ??= { error, killed: true };\n\t\t\tchild.process.kill();\n\t\t}, START_TIMEOUT);\n\t\t// Every app hook of the start runs in here: what one throws stays private (`worker_failed`), its holders and\n\t\t// `state` get the fixed public message (Astra's recheck R3: `principal` threw through to a guest).\n\t\ttry {\n\t\t\tconst scripts = await this.#options.plugins.scripts(this.#options.kind, context);\n\t\t\tchild.shipped = keyOf(scripts);\n\t\t\tconst lock = this.#options.lock(address);\n\t\t\tchild.process.send({ kind: \"start\", address, start: data, scripts, lock });\n\t\t\tawait awaitWithContext(child.started.promise, this.#closingContext);\n\t\t\treturn { link: child.process.link, principal: this.#options.principal(address), trusted: true };\n\t\t} catch (error) {\n\t\t\t// Closing is a stop (no failure); anything else fails the start.\n\t\t\tif (this.#closing.signal.aborted) child.stopping = true;\n\t\t\telse child.cause ??= { error, public: START_FAILED, killed: true };\n\t\t\tchild.process.kill();\n\t\t\tawait child.process.exited;\n\t\t\tif (this.#closing.signal.aborted) throw closed();\n\t\t\tthrow uncrossed(routed.failure?.error ?? START_FAILED);\n\t\t} finally {\n\t\t\tclearTimeout(timer);\n\t\t}\n\t}\n\n\t/** Forks the address's worker and records its events on it as they happen. */\n\t#fork(routed: Routed): Child {\n\t\tconst { address } = routed;\n\t\tconst onOutput = this.#options.onOutput;\n\t\tlet child!: Child;\n\t\tconst process = new WorkerProcess(\n\t\t\t{\n\t\t\t\tentry: this.#options.entry,\n\t\t\t\t...(this.#options.execArgv === undefined ? {} : { execArgv: this.#options.execArgv }),\n\t\t\t\t...(this.#options.env === undefined ? {} : { env: this.#options.env }),\n\t\t\t\t...(onOutput === undefined ? {} : { onOutput: (stream, chunk) => onOutput(address, stream, chunk) }),\n\t\t\t},\n\t\t\t{\n\t\t\t\tcontrol: (message) => this.#control(routed, child, message),\n\t\t\t\tlinkLost: () => this.#linkLost(child),\n\t\t\t\tlinkClosed: () => this.#linkClosed(child),\n\t\t\t\texited: (exit) => this.#exited(routed, child, exit),\n\t\t\t},\n\t\t);\n\t\tchild = {\n\t\t\tprocess,\n\t\t\tstatus: \"starting\",\n\t\t\tstopping: false,\n\t\t\tcause: undefined,\n\t\t\tstarted: Promise.withResolvers(),\n\t\t\tready: Promise.withResolvers(),\n\t\t\tidleSince: undefined,\n\t\t\tidleStop: false,\n\t\t\tshipped: \"\",\n\t\t\treloading: Promise.resolve(),\n\t\t\treloaded: undefined,\n\t\t\tended: undefined,\n\t\t\tgrace: undefined,\n\t\t};\n\t\t// Nobody may wait for them.\n\t\tchild.started.promise.catch(() => {});\n\t\tchild.ready.promise.catch(() => {});\n\t\trouted.child = child;\n\t\tthis.#state.refresh();\n\t\tthis.#watchIdle();\n\t\treturn child;\n\t}\n\n\t/** A control message of `child`. */\n\t#control(routed: Routed, child: Child, message: FromWorker): void {\n\t\tswitch (message.kind) {\n\t\t\tcase \"started\":\n\t\t\t\tchild.started.resolve();\n\t\t\t\treturn;\n\t\t\tcase \"ready\":\n\t\t\t\tchild.status = \"running\";\n\t\t\t\tchild.idleSince = message.idle ? Date.now() : undefined;\n\t\t\t\tchild.ready.resolve(message.report);\n\t\t\t\tif (routed.child === child) this.#state.refresh();\n\t\t\t\treturn;\n\t\t\tcase \"idle\":\n\t\t\t\tchild.idleSince = message.idle ? (child.idleSince ?? Date.now()) : undefined;\n\t\t\t\treturn;\n\t\t\tcase \"fatal\":\n\t\t\t\t// Redacted by the child's `redact`: public as it is.\n\t\t\t\tchild.cause ??= { error: uncrossed(message.error), public: message.error };\n\t\t\t\tchild.started.reject(uncrossed(message.error));\n\t\t\t\tchild.process.kill();\n\t\t\t\treturn;\n\t\t\tcase \"reloaded\":\n\t\t\t\tchild.reloaded?.(message);\n\t\t}\n\t}\n\n\t/** This side closed `child`'s link (the heartbeat, a protocol error): its child is stopped, its exit a crash. */\n\t#linkLost(child: Child): void {\n\t\tthis.#ended(child);\n\t\tif (child.stopping) return;\n\t\tchild.cause ??= { error: new Error(\"worker: link lost\") };\n\t\tthis.#shutdown(child);\n\t\tthis.#state.refresh();\n\t}\n\n\t/**\n\t * The child's side closed its link (it is exiting, or it closed its IPC and lives on): its reloads end; one that does\n\t * not exit within the grace is killed, its exit a crash (link lost).\n\t */\n\t#linkClosed(child: Child): void {\n\t\tthis.#ended(child);\n\t\tif (child.stopping || child.grace !== undefined) return;\n\t\tchild.grace = setTimeout(() => {\n\t\t\tchild.cause ??= { error: new Error(\"worker: link lost\") };\n\t\t\tchild.process.kill();\n\t\t}, GRACE);\n\t}\n\n\t/**\n\t * `child` exited: a stop's exit forgets it; any other is a crash that fails the address (`worker_exited` and\n\t * `worker_failed` once, the full error and stderr tail for the app's logs only), except once the component closes.\n\t */\n\t#exited(routed: Routed, child: Child, exit: Exit): void {\n\t\tclearTimeout(child.grace);\n\t\tconst clean = child.stopping && child.cause === undefined;\n\t\tconst cause: Cause = child.cause ?? { error: exitError(routed.address, exit, child) };\n\t\tconst error = cause.public ?? publicExit(exit, child);\n\t\tchild.started.reject(uncrossed(error));\n\t\tchild.ready.reject(uncrossed(error));\n\t\tthis.#ended(child);\n\t\tif (routed.child !== child) return;\n\t\trouted.child = undefined;\n\t\tif (!clean && !this.#closing.signal.aborted) {\n\t\t\tconst { code, signal } = exit;\n\t\t\t// A failed start's kill is the component's own act (Opus's second recheck): only `worker_failed`.\n\t\t\tif (cause.killed !== true) {\n\t\t\t\tthis.#options.onError({ kind: \"worker_exited\", address: routed.address.key, code, signal });\n\t\t\t}\n\t\t\tthis.#fail(routed, { ...cause, public: error }, child.process.stderrTail);\n\t\t}\n\t\tthis.#state.refresh();\n\t\tthis.#forget(routed);\n\t}\n\n\t/**\n\t * `child`'s link is gone or it exited (the first of these): its outstanding reload and every one queued behind it\n\t * settle, `stopped` when a stop asked for it, else failed.\n\t */\n\t#ended(child: Child): void {\n\t\tif (child.ended !== undefined) return;\n\t\tchild.ended =\n\t\t\tchild.stopping && child.cause === undefined\n\t\t\t\t? { kind: \"stopped\" }\n\t\t\t\t: { kind: \"failed\", error: new ChordError({ code: \"unavailable\", message: \"worker: its link is gone\" }) };\n\t\tchild.reloaded?.({ kind: \"reloaded\", error: { message: \"worker: its link is gone\" } });\n\t}\n\n\t/**\n\t * Fails `routed` with `cause` (`worker_failed` once, with the full error and `stderrTail`); returns the public error\n\t * a start rejects with.\n\t */\n\t#fail(routed: Routed, cause: Cause & { readonly public: CrossedError }, stderrTail: string | undefined): Error {\n\t\trouted.failure = { error: cause.public, at: Date.now() };\n\t\tthis.#options.onError({\n\t\t\tkind: \"worker_failed\",\n\t\t\taddress: routed.address.key,\n\t\t\terror: cause.error,\n\t\t\t...(stderrTail === undefined ? {} : { stderrTail }),\n\t\t});\n\t\tthis.#state.refresh();\n\t\treturn uncrossed(cause.public);\n\t}\n\n\t/** A stop: `shutdown`, the grace, then the tree killed; resolves at its exit. */\n\tasync #stop(routed: Routed): Promise<void> {\n\t\tconst child = routed.child;\n\t\tif (child === undefined) return;\n\t\tchild.stopping = true;\n\t\tthis.#shutdown(child);\n\t\tthis.#state.refresh();\n\t\tawait child.process.exited;\n\t}\n\n\t/** Asks `child` to shut down and kills its tree after the grace. */\n\t#shutdown(child: Child): void {\n\t\tchild.status = \"stopping\";\n\t\tchild.process.send({ kind: \"shutdown\" });\n\t\tclearTimeout(child.grace);\n\t\tchild.grace = setTimeout(() => child.process.kill(), GRACE);\n\t}\n\n\t/** Starts the idle check (every second) while any worker exists. */\n\t#watchIdle(): void {\n\t\tif (this.#idleTimer !== undefined) return;\n\t\tthis.#idleTimer = setInterval(() => this.#checkIdle(), IDLE_CHECK);\n\t\tthis.#idleTimer.unref();\n\t}\n\n\t/** Queues a stop for every worker idle since `idleMs()`; stops checking once no worker is left. */\n\t#checkIdle(): void {\n\t\tconst idleMs = this.#idleMs();\n\t\tconst now = Date.now();\n\t\tlet workers = 0;\n\t\tfor (const routed of this.#addresses.values()) {\n\t\t\tconst child = routed.child;\n\t\t\tif (child === undefined) continue;\n\t\t\tworkers++;\n\t\t\tif (child.idleStop || child.status !== \"running\") continue;\n\t\t\tif (child.idleSince === undefined || now - child.idleSince < idleMs) continue;\n\t\t\tchild.idleStop = true;\n\t\t\tvoid this.#enqueue(routed, () => this.#idleStop(routed, child));\n\t\t}\n\t\tif (workers === 0) {\n\t\t\tclearInterval(this.#idleTimer);\n\t\t\tthis.#idleTimer = undefined;\n\t\t}\n\t}\n\n\t/** An idle stop when it runs: only if `child` is still the address's and still idle (a hold may have come since). */\n\tasync #idleStop(routed: Routed, child: Child): Promise<void> {\n\t\tchild.idleStop = false;\n\t\tif (routed.child !== child || child.idleSince === undefined) return;\n\t\tif (Date.now() - child.idleSince < this.#idleMs()) return;\n\t\tawait this.#stop(routed);\n\t}\n\n\t/** How long a worker idles before it is stopped. */\n\t#idleMs(): number {\n\t\treturn this.#options.idleMs?.() ?? IDLE_MS;\n\t}\n\n\t/**\n\t * The rollout step (§4): the set as this rollout applied it, read now (before another rollout changes it); the\n\t * failures recorded before it cleared and the held ones retried (listed once ready or failed); the set shipped to\n\t * every worker whose last applied set differs, in parallel. `context`'s abort ends only this wait: the entries\n\t * still waiting are listed with its error.\n\t */\n\tasync #rollout(context: Context): Promise<{ readonly hosts: readonly RolloutHost[] }> {\n\t\tconst { kind, plugins } = this.#options;\n\t\tconst scripts = plugins.current(kind) ?? (await plugins.scripts(kind, context));\n\t\tconst key = keyOf(scripts);\n\t\tconst entries: { readonly host: string; readonly entry: Promise<RolloutHost> }[] = [];\n\t\tfor (const routed of [...this.#addresses.values()]) {\n\t\t\tif (routed.failure === undefined) continue;\n\t\t\trouted.failure = undefined;\n\t\t\tthis.#state.refresh();\n\t\t\tthis.route.retry(routed.address);\n\t\t\tconst started = routed.starting;\n\t\t\tif (started === undefined) this.#forget(routed);\n\t\t\telse entries.push({ host: routed.address.key, entry: this.#retried(routed, started) });\n\t\t}\n\t\tfor (const routed of this.#addresses.values()) {\n\t\t\tconst child = routed.child;\n\t\t\tif (child === undefined || child.status === \"stopping\" || child.shipped === key) continue;\n\t\t\tentries.push({ host: routed.address.key, entry: this.#reload(routed.address.key, child, scripts, key) });\n\t\t}\n\t\treturn { hosts: await Promise.all(entries.map(({ host, entry }) => bounded(host, entry, context))) };\n\t}\n\n\t/** A retried address's entry: its start's load report once ready, or its error. */\n\tasync #retried(routed: Routed, started: Promise<unknown>): Promise<RolloutHost> {\n\t\tconst host = routed.address.key;\n\t\ttry {\n\t\t\tawait started;\n\t\t\tconst child = routed.child;\n\t\t\tif (child === undefined) throw new Error(\"worker: exited\");\n\t\t\treturn { host, report: uncrossedReport(await child.ready.promise) };\n\t\t} catch (error) {\n\t\t\treturn { host, error };\n\t\t}\n\t}\n\n\t/**\n\t * Ships `scripts` to `child` after its outstanding reload; settles on `reloaded`, its link's loss or its exit. Only a\n\t * reload that applied without failures marks the set shipped (a failed plugin is shipped again next time).\n\t */\n\t#reload(host: string, child: Child, scripts: readonly PluginScript[], key: string): Promise<RolloutHost> {\n\t\tconst reload = child.reloading.then(\n\t\t\t() =>\n\t\t\t\tnew Promise<RolloutHost>((resolve) => {\n\t\t\t\t\tconst settle = (ended: Ended): void => {\n\t\t\t\t\t\tresolve(ended.kind === \"stopped\" ? { host, stopped: true } : { host, error: ended.error });\n\t\t\t\t\t};\n\t\t\t\t\tif (child.ended !== undefined) {\n\t\t\t\t\t\tsettle(child.ended);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tchild.reloaded = (reply) => {\n\t\t\t\t\t\tchild.reloaded = undefined;\n\t\t\t\t\t\tif (\"report\" in reply) {\n\t\t\t\t\t\t\tif (reply.report.failed.length === 0) child.shipped = key;\n\t\t\t\t\t\t\tresolve({ host, report: uncrossedReport(reply.report) });\n\t\t\t\t\t\t} else if (child.ended !== undefined) {\n\t\t\t\t\t\t\tsettle(child.ended);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tresolve({ host, error: uncrossed(reply.error) });\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\tchild.process.send({ kind: \"reload\", scripts });\n\t\t\t\t}),\n\t\t);\n\t\tchild.reloading = reload.then(\n\t\t\t() => {},\n\t\t\t() => {},\n\t\t);\n\t\treturn reload;\n\t}\n}\n\n/** What new starts reject with once the component closes. */\nfunction closed(): ChordError {\n\treturn new ChordError({ code: \"released\", reason: \"closed\", message: \"workers: closed\" });\n}\n\n/** The full error of an exit nobody asked for (the app's logs). */\nfunction exitError(address: Address, { code, signal }: Exit, child: Child): Error {\n\tconst how = signal === null ? `code ${code}` : `signal ${signal}`;\n\tconst when = child.status === \"starting\" ? \"exited before it was ready\" : \"exited\";\n\treturn new ChordError({ code: \"unavailable\", message: `worker ${address.key}: ${when} (${how})` });\n}\n\n/** The public error of an exit: a start that failed, or the exit's code or signal. */\nfunction publicExit({ code, signal }: Exit, child: Child): CrossedError {\n\tif (child.status === \"starting\") return START_FAILED;\n\treturn { message: `worker exited (${signal ?? `code ${code}`})`, code: \"unavailable\" };\n}\n\n/** A set's identity: its plugins and digests. */\nfunction keyOf(scripts: readonly PluginScript[]): string {\n\treturn scripts\n\t\t.map(({ plugin, built }) => `${plugin.name}@${built.kind === \"script\" ? built.digest : \"failed\"}`)\n\t\t.sort()\n\t\t.join(\"\\n\");\n}\n\n/** `entry`, or `host` listed with the abort's error once `context` aborts first (the entry goes on). */\nasync function bounded(host: string, entry: Promise<RolloutHost>, context: Context): Promise<RolloutHost> {\n\ttry {\n\t\treturn await awaitWithContext(entry, context);\n\t} catch (error) {\n\t\treturn { host, error };\n\t}\n}\n\n/** The workers' state: a JSON watchable of every address's `WorkerState`, published once per microtask turn. */\nclass WorkersState extends Source {\n\treadonly #addresses: ReadonlyMap<string, Routed>;\n\t#value: Readonly<Record<string, WorkerState>> | undefined;\n\t#scheduled = false;\n\n\tconstructor(addresses: ReadonlyMap<string, Routed>, batch: Batch) {\n\t\tsuper(batch);\n\t\tthis.#addresses = addresses;\n\t}\n\n\tget value(): JsonValue {\n\t\tthis.#value ??= stateOf(this.#addresses);\n\t\t// Plain JSON: statuses, numbers and crossed errors.\n\t\treturn this.#value as unknown as JsonValue;\n\t}\n\n\tdeliver(context: Context): void {\n\t\tconst value = this.value;\n\t\tthis.publish(value, [[\"r\", value]], false, context);\n\t}\n\n\t/** Something changed: published with the turn's other changes while someone watches or derives from it. */\n\trefresh(): void {\n\t\tthis.#value = undefined;\n\t\tif (this.#scheduled || (!this.watched && this.dependents.size === 0)) return;\n\t\tthis.#scheduled = true;\n\t\tqueueMicrotask(() => {\n\t\t\tthis.#scheduled = false;\n\t\t\tthis.batch.within(() => this.changed(), BACKGROUND_CONTEXT);\n\t\t});\n\t}\n}\n\n/** Every address's state: its child's, or its failure; none for an address with neither. */\nfunction stateOf(addresses: ReadonlyMap<string, Routed>): Record<string, WorkerState> {\n\tconst state: Record<string, WorkerState> = {};\n\tfor (const [key, { child, failure }] of addresses) {\n\t\tif (failure !== undefined) {\n\t\t\tstate[key] = { status: \"failed\", ...failure };\n\t\t} else if (child !== undefined) {\n\t\t\tconst { pid, startedAt } = child.process;\n\t\t\tstate[key] = { status: child.status, pid, startedAt };\n\t\t}\n\t}\n\treturn state;\n}\n"]}
|
package/dist/node.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/** Node-only parts of Chord: child host processes, their manager, and the facet module loader. */
|
|
2
|
-
export { nodeLoader } from "./loader.ts";
|
|
3
|
-
export { type ControlMessage, childControl, createHostManager, type Driver, type Exit, type ForkDriverOptions, forkDriver, type HostManager, type HostManagerOptions, type Instance, type Liveness, processLock, } from "./manager.ts";
|
|
4
|
-
//# sourceMappingURL=node.d.ts.map
|
package/dist/node.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EACN,KAAK,cAAc,EACnB,YAAY,EACZ,iBAAiB,EACjB,KAAK,MAAM,EACX,KAAK,IAAI,EACT,KAAK,iBAAiB,EACtB,UAAU,EACV,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,KAAK,QAAQ,EACb,KAAK,QAAQ,EACb,WAAW,GACX,MAAM,cAAc,CAAC"}
|
package/dist/node.js
DELETED
package/dist/node.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"node.js","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAEN,YAAY,EACZ,iBAAiB,EAIjB,UAAU,EAKV,WAAW,GACX,MAAM,cAAc,CAAC","sourcesContent":["/** Node-only parts of Chord: child host processes, their manager, and the facet module loader. */\nexport { nodeLoader } from \"./loader.ts\";\nexport {\n\ttype ControlMessage,\n\tchildControl,\n\tcreateHostManager,\n\ttype Driver,\n\ttype Exit,\n\ttype ForkDriverOptions,\n\tforkDriver,\n\ttype HostManager,\n\ttype HostManagerOptions,\n\ttype Instance,\n\ttype Liveness,\n\tprocessLock,\n} from \"./manager.ts\";\n"]}
|
package/dist/object.d.ts
DELETED
|
@@ -1,438 +0,0 @@
|
|
|
1
|
-
import type { Schema, Static } from "@earendil-works/pi-schema";
|
|
2
|
-
import { Cell, Derived, HYDRATION, type Hydration, type Sources, type SourceValues } from "./cell.ts";
|
|
3
|
-
import { type Accepts, type Adapter, type AnyContract, type ImplementationOf, type InputOf, type LocalContract, type MemberDescription, type Ref } from "./contract.ts";
|
|
4
|
-
import type { EventOf, ListenerDecl, Resource, ResourceDeclaration, Subscribable, ValueOf } from "./declare.ts";
|
|
5
|
-
import type { Registration, Registry } from "./registry.ts";
|
|
6
|
-
import type { RemoteHost } from "./remote.ts";
|
|
7
|
-
import type { Ctx, Exposed, GetOptions, Readable, RefStatus, Shape, StateEvent } from "./types.ts";
|
|
8
|
-
/**
|
|
9
|
-
* `serve` options. `lifetime` says how long objects of the type live. `"referenced"` (default): created at the first
|
|
10
|
-
* `get` of an address, disposed after the last reference is released (plus `linger`). `"host"`: one object, created when
|
|
11
|
-
* its facet loads (loading waits until it is live) and kept until the host closes or a reload removes its facet. Only
|
|
12
|
-
* local types whose input accepts `{}` may have it (`ServeOptionsFor` checks that at compile time, `serve` again at
|
|
13
|
-
* runtime); every `get` reaches that one object, created for the host principal. Only such objects may register into
|
|
14
|
-
* registries.
|
|
15
|
-
*/
|
|
16
|
-
export type ServeOptions = ReferencedServeOptions | HostServeOptions;
|
|
17
|
-
export interface ReferencedServeOptions {
|
|
18
|
-
readonly lifetime?: "referenced";
|
|
19
|
-
/** Milliseconds an object stays alive after its last reference is released. */
|
|
20
|
-
readonly linger?: number;
|
|
21
|
-
/** Adapters for consumers built against older contract versions. */
|
|
22
|
-
readonly accepts?: Accepts;
|
|
23
|
-
}
|
|
24
|
-
export interface HostServeOptions {
|
|
25
|
-
readonly lifetime: "host";
|
|
26
|
-
/** An object of lifetime `"host"` lives as long as the host: it does not linger. */
|
|
27
|
-
readonly linger?: undefined;
|
|
28
|
-
/** Adapters for consumers built against older contract versions. */
|
|
29
|
-
readonly accepts?: Accepts;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* The options `serve` accepts for `C`: `lifetime: "host"` only for a local type whose input has no required fields
|
|
33
|
-
* (the type's one object has the empty input).
|
|
34
|
-
*/
|
|
35
|
-
export type ServeOptionsFor<C extends AnyContract> = C extends LocalContract ? Record<never, never> extends InputOf<C> ? ServeOptions : ReferencedServeOptions : ReferencedServeOptions;
|
|
36
|
-
export type Lifetime = "referenced" | "host";
|
|
37
|
-
/** A type's factory. `P` is the app's principal type: `principal` is the caller the object is created for. */
|
|
38
|
-
export type Factory<C extends AnyContract, P = unknown> = (input: InputOf<C>, principal: P, self: Self<P>) => ImplementationOf<C, P>;
|
|
39
|
-
type AnyFactory = (input: unknown, principal: unknown, self: Self) => unknown;
|
|
40
|
-
export interface Service {
|
|
41
|
-
readonly contract: AnyContract;
|
|
42
|
-
readonly factory: AnyFactory;
|
|
43
|
-
readonly options: ServeOptions;
|
|
44
|
-
readonly facet: string;
|
|
45
|
-
}
|
|
46
|
-
export declare const makeService: <C extends AnyContract>(contract: C, factory: Factory<C>, options: ServeOptions, facet: string) => Service;
|
|
47
|
-
/** Whether objects of `service` have `lifetime: "host"`. */
|
|
48
|
-
export declare const hostLifetime: (service: Service) => boolean;
|
|
49
|
-
/** Options of `self.state`. */
|
|
50
|
-
export interface StateOptions<T> {
|
|
51
|
-
/** The meaning of the cell's value (default 1). A reload that raises it runs `migrate`. */
|
|
52
|
-
readonly version?: number;
|
|
53
|
-
/**
|
|
54
|
-
* Maps the value of an older version (`from`) to this version's, at the reload that raised the version. The cell
|
|
55
|
-
* may be several versions behind. Without it, the value is kept and must fit the new schema.
|
|
56
|
-
*/
|
|
57
|
-
readonly migrate?: (old: unknown, from: number) => T;
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* A cell's first value from its source: `init` runs after the object's resources are open and its references are live,
|
|
61
|
-
* before the object goes live, so no call, listener or subscriber sees a value that is not from the source. It runs in
|
|
62
|
-
* a root of its own (acting as the host principal) and may be async; the inits of one object run in parallel. Its
|
|
63
|
-
* value is validated against the schema; a throw or an invalid value fails the activation.
|
|
64
|
-
*/
|
|
65
|
-
export interface StateInit<T, P = unknown> {
|
|
66
|
-
readonly init: (ctx: Ctx<P>) => T | Promise<T>;
|
|
67
|
-
}
|
|
68
|
-
/** What a factory declares through. `P` is the app's principal type (`ctx.principal` of its listeners and tasks). */
|
|
69
|
-
export interface Self<P = unknown> {
|
|
70
|
-
/**
|
|
71
|
-
* A state cell named `name`: its schema (required: there is no TypeScript at runtime) and its initial value
|
|
72
|
-
* (validated), or `{ init }` to read the first value from its source before the object goes live. The name identifies
|
|
73
|
-
* the cell across reloads: a reload keeps the cell and its value (`initial` is ignored, `init` does not run), migrates
|
|
74
|
-
* it when its version rises, and refuses a schema change without a version bump. A cell a reload adds runs its `init`
|
|
75
|
-
* while the reload prepares.
|
|
76
|
-
*/
|
|
77
|
-
state<S extends Schema>(name: string, schema: S, initial: Static<S> | StateInit<Static<S>, P>, options?: StateOptions<Static<S>>): Cell<Static<S>>;
|
|
78
|
-
/** An object-owned reference, identified by its address. */
|
|
79
|
-
get<C extends AnyContract>(type: C, input: InputOf<C>, options?: GetOptions<P>): Ref<C>;
|
|
80
|
-
/**
|
|
81
|
-
* A resource named `name`: opened before the object goes live, closed after it is disposed. A reload keeps it unless
|
|
82
|
-
* its `version`, `deps` or `exclusive` changed.
|
|
83
|
-
*/
|
|
84
|
-
resource<T>(name: string, declaration: ResourceDeclaration<T>): Resource<T>;
|
|
85
|
-
/**
|
|
86
|
-
* Reacts to `source` once the object is live: a readable (cell, derivation, reference state member) delivers its
|
|
87
|
-
* current value, then every new value; an event source (or a resource whose value is one) delivers its events.
|
|
88
|
-
* With `select`, subscribes to `select(value)` instead (the opened value for a resource). Each event runs `handler`
|
|
89
|
-
* in a fresh root. The name keeps the subscription across reloads while its source and `select` are unchanged; a
|
|
90
|
-
* listener on state whose source the reload replaced (a derivation is new at every reload) subscribes again and
|
|
91
|
-
* gets the current value again, so a handler of state must reconcile, not count.
|
|
92
|
-
*/
|
|
93
|
-
on<S>(name: string, source: S, handler: (event: EventOf<S>, ctx: Ctx<P>) => void | Promise<void>): void;
|
|
94
|
-
on<S, E>(name: string, source: S, select: (value: ValueOf<S>) => Subscribable<E>, handler: (event: E, ctx: Ctx<P>) => void | Promise<void>): void;
|
|
95
|
-
/** Long-running work of the live object (a code holder: its calls start fresh roots), restarted at every reload. */
|
|
96
|
-
task(fn: (ctx: Ctx<P>) => Promise<void>): void;
|
|
97
|
-
/** A synchronous projection of readables, recomputed when they change; a new one at every reload. */
|
|
98
|
-
derive<const S extends Sources, T>(sources: S, fn: (...values: SourceValues<S>) => T): Readable<T>;
|
|
99
|
-
/** Objects of lifetime `"host"` only. Keys are the registry's own keys. */
|
|
100
|
-
register<V>(registry: Registry<V>, entries: Readonly<Record<string, V>>): void;
|
|
101
|
-
/**
|
|
102
|
-
* A member backed by one of this object's resources, for local contracts: references read the resource's value once
|
|
103
|
-
* the object is live (`undefined` before). Typically an `opaque` member: `{ harness: self.expose(durable) }`.
|
|
104
|
-
*/
|
|
105
|
-
expose<T>(resource: Resource<T>): Exposed<T>;
|
|
106
|
-
}
|
|
107
|
-
export declare class ResourceImpl<T = unknown> implements Resource<T> {
|
|
108
|
-
#private;
|
|
109
|
-
readonly key: string;
|
|
110
|
-
/** The declaration of the factory run whose code is current: a kept resource adopts the new one at commit. */
|
|
111
|
-
spec: ResourceDeclaration<T>;
|
|
112
|
-
readonly deps: readonly (RefCore | ResourceImpl)[];
|
|
113
|
-
/** `unavailable`: a close/reopen failed during a reload rollback; the value is gone for good. */
|
|
114
|
-
state: "closed" | "opening" | "open" | "unavailable";
|
|
115
|
-
constructor(key: string, spec: ResourceDeclaration<T>, deps: readonly (RefCore | ResourceImpl)[]);
|
|
116
|
-
get value(): T;
|
|
117
|
-
get exclusive(): boolean;
|
|
118
|
-
/**
|
|
119
|
-
* Opens the resource. An open that completes after `signal` aborted (rollback, abandonment) closes the value it
|
|
120
|
-
* produced at once: nobody owns it any more.
|
|
121
|
-
*/
|
|
122
|
-
open(signal: AbortSignal, order: ResourceImpl[]): Promise<void>;
|
|
123
|
-
close(order: ResourceImpl[]): Promise<void>;
|
|
124
|
-
markUnavailable(): void;
|
|
125
|
-
/**
|
|
126
|
-
* A reload kept this resource (same version, deps and exclusivity): its later `close` is the new declaration's, and
|
|
127
|
-
* the old declaration (with the old code it closes over) is no longer referenced.
|
|
128
|
-
*/
|
|
129
|
-
adopt(spec: ResourceDeclaration<T>): void;
|
|
130
|
-
}
|
|
131
|
-
type TaskFn = (ctx: Ctx) => Promise<void>;
|
|
132
|
-
/** Everything one factory run declared, by kind and key. */
|
|
133
|
-
export declare class Decls {
|
|
134
|
-
readonly cells: Map<string, Cell<unknown>>;
|
|
135
|
-
readonly cellSchemas: Map<string, Schema>;
|
|
136
|
-
readonly cellVersions: Map<string, number>;
|
|
137
|
-
readonly cellMigrations: Map<string, (old: unknown, from: number) => unknown>;
|
|
138
|
-
readonly refs: Map<string, RefCore>;
|
|
139
|
-
readonly resources: Map<string, ResourceImpl<unknown>>;
|
|
140
|
-
/** Resources this run kept from the previous one, with this run's declarations (adopted at commit). */
|
|
141
|
-
readonly adopted: Map<ResourceImpl<unknown>, ResourceDeclaration<unknown>>;
|
|
142
|
-
readonly listeners: Map<string, ListenerDecl>;
|
|
143
|
-
/** By position (`#0`, `#1`, …): tasks have no names. */
|
|
144
|
-
readonly tasks: Map<string, TaskFn>;
|
|
145
|
-
/** By position: derivations have no names and are new at every run. */
|
|
146
|
-
readonly derives: Map<string, Derived<unknown>>;
|
|
147
|
-
readonly registrations: Map<string, Registration>;
|
|
148
|
-
}
|
|
149
|
-
type InitFn = (ctx: Ctx) => unknown;
|
|
150
|
-
/** One factory run: its implementation, declarations and the objects it created (not reused from the previous run). */
|
|
151
|
-
export interface Run {
|
|
152
|
-
readonly implementation: Record<string, unknown>;
|
|
153
|
-
readonly decls: Decls;
|
|
154
|
-
readonly created: {
|
|
155
|
-
readonly refs: RefCore[];
|
|
156
|
-
readonly resources: ResourceImpl[];
|
|
157
|
-
readonly derives: Derived<unknown>[];
|
|
158
|
-
/** Cells this run created with `init`, which fills them before they are used. */
|
|
159
|
-
readonly inits: (readonly [Cell<unknown>, InitFn])[];
|
|
160
|
-
};
|
|
161
|
-
}
|
|
162
|
-
export interface Installed {
|
|
163
|
-
readonly codeVersion: number;
|
|
164
|
-
readonly service: Service;
|
|
165
|
-
readonly implementation: Record<string, unknown>;
|
|
166
|
-
readonly decls: Decls;
|
|
167
|
-
}
|
|
168
|
-
export interface HostCore {
|
|
169
|
-
readonly name: string;
|
|
170
|
-
readonly dev: boolean;
|
|
171
|
-
readonly principal: unknown;
|
|
172
|
-
inFactory: number;
|
|
173
|
-
/** Set when a commit failed midway: the host admits no more work (terminal). */
|
|
174
|
-
readonly failed: unknown;
|
|
175
|
-
report(error: unknown): void;
|
|
176
|
-
currentCodeVersion(): number;
|
|
177
|
-
hasCodeVersion(codeVersion: number): boolean;
|
|
178
|
-
retainedCodeVersions(): Iterable<readonly [number, ReadonlyMap<string, Service>]>;
|
|
179
|
-
pendingCodeVersion(): number | undefined;
|
|
180
|
-
service(typeName: string): Service | undefined;
|
|
181
|
-
acquire(type: AnyContract, input: unknown, options: GetOptions | undefined, owner: RefOwner, from?: ObjectImpl, candidate?: boolean): RefCore;
|
|
182
|
-
addressOf(type: AnyContract, input: unknown, principal: unknown, candidate?: boolean): string;
|
|
183
|
-
root<T>(fn: (ctx: Ctx) => T | Promise<T>, options?: {
|
|
184
|
-
codeVersion?: number;
|
|
185
|
-
signal?: AbortSignal;
|
|
186
|
-
}): Promise<T>;
|
|
187
|
-
touch(rootId: string, object: ObjectImpl): void;
|
|
188
|
-
forget(object: ObjectImpl): void;
|
|
189
|
-
/** The object finished its disposal. */
|
|
190
|
-
disposed(object: ObjectImpl): void;
|
|
191
|
-
/** Milliseconds a reload waits for aborted tasks to finish before starting their replacements. */
|
|
192
|
-
readonly taskStopDeadline: number;
|
|
193
|
-
/**
|
|
194
|
-
* Milliseconds an activation or a reload's prepare waits for its references to be ready and hydrated before it fails
|
|
195
|
-
* (`unavailable/ready_timeout`; a reference cycle across hosts never resolves).
|
|
196
|
-
*/
|
|
197
|
-
readonly readyTimeout: number;
|
|
198
|
-
checkRegistrations(object: ObjectImpl, decls: Decls): void;
|
|
199
|
-
/** Rebuilds the current registry tables from live objects (plus `including`, which is finishing activation). */
|
|
200
|
-
registriesChanged(including?: ObjectImpl): void;
|
|
201
|
-
}
|
|
202
|
-
export declare class CtxImpl implements Ctx {
|
|
203
|
-
#private;
|
|
204
|
-
readonly host: HostCore;
|
|
205
|
-
readonly signal: AbortSignal;
|
|
206
|
-
readonly rootId: string;
|
|
207
|
-
readonly codeVersion: number;
|
|
208
|
-
readonly principal: unknown;
|
|
209
|
-
/** Code holders (tasks): every call they make starts a fresh root. */
|
|
210
|
-
readonly holder: boolean;
|
|
211
|
-
/** True after the call or root that received this ctx settled: it may no longer start work. */
|
|
212
|
-
get closed(): boolean;
|
|
213
|
-
/** Throws unless this ctx may start work on `host` (the called reference's host) now: not expired, aborted or foreign. */
|
|
214
|
-
check(host: HostCore | RemoteHost): void;
|
|
215
|
-
/** `signals`: the ctx is aborted with the first of them; it stops following them when it closes. */
|
|
216
|
-
constructor(host: HostCore, fields: {
|
|
217
|
-
signals: readonly AbortSignal[];
|
|
218
|
-
rootId: string;
|
|
219
|
-
codeVersion: number;
|
|
220
|
-
principal: unknown;
|
|
221
|
-
holder?: boolean;
|
|
222
|
-
});
|
|
223
|
-
get<C extends AnyContract>(type: C, input: InputOf<C>, options?: GetOptions): Promise<Ref<C>>;
|
|
224
|
-
/**
|
|
225
|
-
* A context for a call into `object`: same root and code version, its own call-owned references, aborted on forced
|
|
226
|
-
* disposal. Code inside an object acts as the host principal.
|
|
227
|
-
*/
|
|
228
|
-
child(object: ObjectImpl): CtxImpl;
|
|
229
|
-
close(): void;
|
|
230
|
-
}
|
|
231
|
-
/**
|
|
232
|
-
* A signal aborted with the first of `sources` to abort, until `release()`. Not `AbortSignal.any`: Node keeps a
|
|
233
|
-
* dependant of a long-lived source (an object's or a code version's) reachable while it has abort listeners, so every
|
|
234
|
-
* call or task context would keep its listeners, and the code they close over, alive as long as the source.
|
|
235
|
-
*/
|
|
236
|
-
export declare function linkedSignal(sources: readonly AbortSignal[]): {
|
|
237
|
-
readonly signal: AbortSignal;
|
|
238
|
-
release(): void;
|
|
239
|
-
};
|
|
240
|
-
/**
|
|
241
|
-
* Waits until `ref` is ready, at most `ms` and until a signal aborts; on failure the reference is released (only it: a
|
|
242
|
-
* binding other references share stays) and the error is rethrown: the activation error, `aborted`, or
|
|
243
|
-
* `unavailable/ready_timeout`.
|
|
244
|
-
*/
|
|
245
|
-
export declare function awaitReady(ref: RefCore, signals: readonly AbortSignal[], ms: number): Promise<void>;
|
|
246
|
-
export declare function raceSignal<T>(promise: Promise<T>, signal: AbortSignal): Promise<T>;
|
|
247
|
-
/** Who a reference belongs to. `connection`: a peer host over a link; `client`: a browser (not a reload participant). */
|
|
248
|
-
export type RefOwner = "object" | "call" | "host" | "external" | "connection" | "client";
|
|
249
|
-
/** A claim on an object: a local `RefImpl`, or a `RemoteRef` on another host (no object here). */
|
|
250
|
-
export interface RefCore {
|
|
251
|
-
readonly address: string;
|
|
252
|
-
readonly contract: AnyContract;
|
|
253
|
-
readonly status: RefStatus;
|
|
254
|
-
readonly ready: Promise<void>;
|
|
255
|
-
readonly proxy: object;
|
|
256
|
-
readonly object: ObjectImpl | undefined;
|
|
257
|
-
release(): void;
|
|
258
|
-
}
|
|
259
|
-
export declare const REF_BASE: ReadonlySet<PropertyKey>;
|
|
260
|
-
export type StatusListener = (status: RefStatus, error: unknown) => void;
|
|
261
|
-
/** Queues a status notification (after the change that caused it is complete, like every publication). */
|
|
262
|
-
export declare function notifyStatus(listeners: ReadonlySet<StatusListener>, status: RefStatus, error: unknown, report: (error: unknown) => void): void;
|
|
263
|
-
/** Proxy → reference, for `deps: [ref]` and links. */
|
|
264
|
-
export declare const refsByProxy: WeakMap<object, RefCore>;
|
|
265
|
-
export declare const refOf: (value: unknown) => RefCore | undefined;
|
|
266
|
-
/**
|
|
267
|
-
* A reference's state member: a stable readable that follows whatever source the current implementation exposes under
|
|
268
|
-
* that name. Reading throws `not_ready` until the reference is live, `not_in_variant` while the variant lacks the
|
|
269
|
-
* member. A listener added before the member is readable gets its snapshot then. Rebinding (reload, variant) delivers a
|
|
270
|
-
* reset. Upstream is subscribed only while someone listens.
|
|
271
|
-
*/
|
|
272
|
-
declare class MemberReadable implements Readable<unknown> {
|
|
273
|
-
#private;
|
|
274
|
-
constructor(ref: RefImpl, name: string);
|
|
275
|
-
get value(): unknown;
|
|
276
|
-
/** Not hydrated while the reference is not live, or while its source (a forwarded remote member) is not. */
|
|
277
|
-
get [HYDRATION](): Hydration | undefined;
|
|
278
|
-
subscribe(listener: (value: unknown) => void): () => void;
|
|
279
|
-
events(listener: (event: StateEvent<unknown>) => void): () => void;
|
|
280
|
-
/** (Re)subscribes upstream to the current source; a changed source is announced as a reset. */
|
|
281
|
-
bind(): void;
|
|
282
|
-
stop(): void;
|
|
283
|
-
}
|
|
284
|
-
/** One reference on an object. Exposed through a Proxy so members bind late to the current implementation. */
|
|
285
|
-
export declare class RefImpl {
|
|
286
|
-
#private;
|
|
287
|
-
readonly object: ObjectImpl;
|
|
288
|
-
readonly contract: AnyContract;
|
|
289
|
-
readonly owner: RefOwner;
|
|
290
|
-
readonly address: string;
|
|
291
|
-
readonly proxy: object;
|
|
292
|
-
readonly ready: Promise<void>;
|
|
293
|
-
status: RefStatus;
|
|
294
|
-
error: unknown;
|
|
295
|
-
readonly shapeListeners: Set<(shape: Shape) => void>;
|
|
296
|
-
/** Internal: notified when the reference becomes gone (links forward it). */
|
|
297
|
-
readonly goneListeners: Set<(error: unknown) => void>;
|
|
298
|
-
readonly readables: Map<string, MemberReadable>;
|
|
299
|
-
/** Weak: a retired code version's service (and the factory code it holds) must not be kept alive by its consumers. */
|
|
300
|
-
readonly bindings: WeakMap<Service, Adapter | undefined>;
|
|
301
|
-
readonly views: WeakMap<Record<string, unknown>, Record<string, unknown>>;
|
|
302
|
-
readonly callers: Map<string, (...given: unknown[]) => Promise<unknown>>;
|
|
303
|
-
constructor(object: ObjectImpl, contract: AnyContract, owner: RefOwner);
|
|
304
|
-
get variant(): string | undefined;
|
|
305
|
-
get shape(): Shape | undefined;
|
|
306
|
-
onShape(listener: (shape: Shape) => void): () => void;
|
|
307
|
-
onStatus(listener: StatusListener): () => void;
|
|
308
|
-
release(): void;
|
|
309
|
-
live(): void;
|
|
310
|
-
gone(error: unknown): void;
|
|
311
|
-
shapeChanged(): void;
|
|
312
|
-
terminalError(): unknown;
|
|
313
|
-
/** The implementation as this consumer sees it (through an accepts adapter when bound to another version). */
|
|
314
|
-
viewOf(installed: Installed): Record<string, unknown>;
|
|
315
|
-
currentView(): Record<string, unknown> | undefined;
|
|
316
|
-
describe(variant: string | undefined, member: string): MemberDescription | undefined;
|
|
317
|
-
/** Remote consumers see only the members their contract lists for the current variant. */
|
|
318
|
-
inVariant(view: Record<string, unknown>, name: string): boolean;
|
|
319
|
-
member(name: string): unknown;
|
|
320
|
-
caller(name: string): (...given: unknown[]) => Promise<unknown>;
|
|
321
|
-
}
|
|
322
|
-
export declare const variantOf: (implementation: Record<string, unknown>) => string | undefined;
|
|
323
|
-
export type ObjectStatus = "activating" | "live" | "failed" | "disposing" | "disposed";
|
|
324
|
-
interface Gate {
|
|
325
|
-
readonly grandfathered: Set<string>;
|
|
326
|
-
readonly queue: {
|
|
327
|
-
readonly key: string;
|
|
328
|
-
readonly event: unknown;
|
|
329
|
-
}[];
|
|
330
|
-
drained: () => void;
|
|
331
|
-
}
|
|
332
|
-
/** Listener subscriptions made ahead of a commit: `activate` switches over, `discard` drops them. */
|
|
333
|
-
export interface StagedListeners {
|
|
334
|
-
activate(): void;
|
|
335
|
-
discard(): void;
|
|
336
|
-
}
|
|
337
|
-
export interface ObjectIdentity {
|
|
338
|
-
readonly address: string;
|
|
339
|
-
readonly typeName: string;
|
|
340
|
-
readonly input: unknown;
|
|
341
|
-
readonly principal: unknown;
|
|
342
|
-
/** The one object of a `lifetime: "host"` type. */
|
|
343
|
-
readonly hostLifetime: boolean;
|
|
344
|
-
}
|
|
345
|
-
export declare class ObjectImpl {
|
|
346
|
-
#private;
|
|
347
|
-
readonly host: HostCore;
|
|
348
|
-
readonly address: string;
|
|
349
|
-
readonly typeName: string;
|
|
350
|
-
readonly input: unknown;
|
|
351
|
-
readonly principal: unknown;
|
|
352
|
-
/** The one object of a `lifetime: "host"` type: only such objects may register. */
|
|
353
|
-
readonly hostLifetime: boolean;
|
|
354
|
-
status: ObjectStatus;
|
|
355
|
-
ready: Promise<void>;
|
|
356
|
-
service: Service | undefined;
|
|
357
|
-
/** Calls carrying an older code version are rejected upgrade_conflict (state bump or exclusive resource replaced). */
|
|
358
|
-
minCodeVersion: number;
|
|
359
|
-
decls: Decls;
|
|
360
|
-
/** Declarations of a factory run that has not been installed yet (activation or reload candidate). */
|
|
361
|
-
readonly pending: Set<Decls>;
|
|
362
|
-
readonly implementations: Map<number, Installed>;
|
|
363
|
-
readonly refs: Set<RefImpl>;
|
|
364
|
-
readonly leases: Map<string, number>;
|
|
365
|
-
readonly openOrder: ResourceImpl[];
|
|
366
|
-
readonly callAbort: AbortController;
|
|
367
|
-
readonly activationAbort: AbortController;
|
|
368
|
-
gate: Gate | undefined;
|
|
369
|
-
/** Served only by a running reload's pending code version: listeners, tasks and registrations start at its commit. */
|
|
370
|
-
deferredRuntime: boolean;
|
|
371
|
-
constructor(host: HostCore, identity: ObjectIdentity);
|
|
372
|
-
start(after: Promise<void> | undefined): void;
|
|
373
|
-
/**
|
|
374
|
-
* Runs the factory synchronously. With `previous`, runs in recording mode for a reload prepare. The run's
|
|
375
|
-
* declarations stay in `pending` (visible to the cycle check) until the caller installs or discards them.
|
|
376
|
-
*/
|
|
377
|
-
run(service: Service, previous: Decls | undefined): Run;
|
|
378
|
-
/** Opens resources (dependencies first) and waits for references; settles all before failing. */
|
|
379
|
-
open(resources: readonly ResourceImpl[], refs: readonly RefCore[], signal: AbortSignal): Promise<void>;
|
|
380
|
-
/**
|
|
381
|
-
* Waits until the state sources a run exposes or derives from have their values: a local object goes live only with
|
|
382
|
-
* its state, also where it forwards or derives from a remote reference's member.
|
|
383
|
-
*/
|
|
384
|
-
waitHydrated(run: Run): Promise<void>;
|
|
385
|
-
/** `work` within the host's `readyTimeout`; a timeout names what is still awaited. */
|
|
386
|
-
withinReadyTimeout<T>(work: Promise<T>, waiting: () => readonly string[]): Promise<T>;
|
|
387
|
-
/**
|
|
388
|
-
* Fills the cells `run` created with `init`, each in a root of its own, in parallel; settles all before failing. Runs
|
|
389
|
-
* after the run's resources are open and its references live, before anything reads the cells.
|
|
390
|
-
*/
|
|
391
|
-
initCells(run: Run, signal: AbortSignal): Promise<void>;
|
|
392
|
-
/** Undoes the objects a run created: closes its resources (reverse order) and releases its references. */
|
|
393
|
-
unwind(run: Run): Promise<void>;
|
|
394
|
-
currentInstalled(): Installed | undefined;
|
|
395
|
-
/** Every state source exposed as a remote state member gets that member's schema (checked per write in dev mode). */
|
|
396
|
-
refreshSchemas(): void;
|
|
397
|
-
allDecls(): Set<Decls>;
|
|
398
|
-
/**
|
|
399
|
-
* Subscribes the listeners of `decls` without delivering: events are buffered until `activate`. A listener declared
|
|
400
|
-
* on the same resource (or source) with the same `select` keeps its subscription without calling `select` again
|
|
401
|
-
* (only its function is swapped, by name), so sources that accept a single subscriber survive reloads. Throws, with
|
|
402
|
-
* nothing left subscribed, if any source fails.
|
|
403
|
-
*/
|
|
404
|
-
stageListeners(decls: Decls): StagedListeners;
|
|
405
|
-
startRuntime(): void;
|
|
406
|
-
/**
|
|
407
|
-
* Starts the tasks of the current declarations. Runs aborted by `stopTasks` (a reload, a gate) may still be finishing:
|
|
408
|
-
* their replacements start once they all finished, or after `taskStopDeadline` (reported), so the old and the new run
|
|
409
|
-
* of a task never work side by side. A later start or stop, or the object leaving `live`, cancels a delayed start.
|
|
410
|
-
*/
|
|
411
|
-
startTasks(): void;
|
|
412
|
-
stopListeners(): void;
|
|
413
|
-
/**
|
|
414
|
-
* Aborts running tasks (and cancels a delayed start). Their completion is awaited by the next `startTasks` and at
|
|
415
|
-
* disposal; each leaves `#stopped` when it finishes.
|
|
416
|
-
*/
|
|
417
|
-
stopTasks(): void;
|
|
418
|
-
/** Opens the object's gate and replays queued listener events through the current listeners. */
|
|
419
|
-
openGate(): void;
|
|
420
|
-
/** Admission for a call or write carrying `ctx`. */
|
|
421
|
-
admit(ctx: Ctx): void;
|
|
422
|
-
/** Records that the root of `ctx` touched this object (a reload gate grandfathers it). */
|
|
423
|
-
lease(ctx: Ctx): void;
|
|
424
|
-
guard: (ctx: Ctx) => void;
|
|
425
|
-
call(ref: RefImpl, name: string, args: unknown, ctx: CtxImpl): Promise<unknown>;
|
|
426
|
-
rootEnded(rootId: string): void;
|
|
427
|
-
addRef(ref: RefImpl): void;
|
|
428
|
-
release(ref: RefImpl): void;
|
|
429
|
-
/**
|
|
430
|
-
* Disposes the object. Forced: references become gone at once (new calls are rejected) and running invocations are
|
|
431
|
-
* cancelled. Either way, resources close only after every invocation settled.
|
|
432
|
-
*/
|
|
433
|
-
dispose(forced: boolean, reason?: unknown): Promise<void>;
|
|
434
|
-
}
|
|
435
|
-
/** The remote state-member schemas an implementation exposes, by source. */
|
|
436
|
-
export declare function memberSchemas(service: Service, implementation: Record<string, unknown>): Map<Readable<unknown>, Schema[]>;
|
|
437
|
-
export {};
|
|
438
|
-
//# sourceMappingURL=object.d.ts.map
|
package/dist/object.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"object.d.ts","sourceRoot":"","sources":["../src/object.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO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