@pyric/cli 0.1.0-alpha.11 → 0.1.0-alpha.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/serve.js +4 -4
- package/dist/cli/serve.js.map +1 -1
- package/dist/conformance/.generated/can-i-use-browser.d.ts.map +1 -1
- package/dist/conformance/.generated/can-i-use-browser.js +1 -1
- package/dist/conformance/.generated/can-i-use-browser.js.map +1 -1
- package/dist/conformance/.generated/can-i-use.d.ts.map +1 -1
- package/dist/conformance/.generated/can-i-use.js +2 -2
- package/dist/conformance/.generated/can-i-use.js.map +1 -1
- package/dist/serve/bundler.d.ts +13 -8
- package/dist/serve/bundler.d.ts.map +1 -1
- package/dist/serve/bundler.js +31 -36
- package/dist/serve/bundler.js.map +1 -1
- package/dist/serve/docs-ui/docs/_rhythm/index.html +1 -1
- package/dist/serve/docs-ui/docs/agent/set-up-your-agent/index.html +1 -1
- package/dist/serve/docs-ui/docs/agent/watch-and-review/index.html +1 -1
- package/dist/serve/docs-ui/docs/agent/work-with-an-agent/index.html +1 -1
- package/dist/serve/docs-ui/docs/ai-compat/index.html +1 -1
- package/dist/serve/docs-ui/docs/api-reference/index.html +2 -2
- package/dist/serve/docs-ui/docs/api-reference.md +1 -1
- package/dist/serve/docs-ui/docs/app-compat/index.html +1 -1
- package/dist/serve/docs-ui/docs/auth-compat/index.html +1 -1
- package/dist/serve/docs-ui/docs/build/ai-logic/index.html +44 -22
- package/dist/serve/docs-ui/docs/build/ai-logic.md +69 -21
- package/dist/serve/docs-ui/docs/build/authentication/index.html +1 -1
- package/dist/serve/docs-ui/docs/build/cloud-firestore/index.html +1 -1
- package/dist/serve/docs-ui/docs/build/cloud-messaging/index.html +1 -1
- package/dist/serve/docs-ui/docs/build/cloud-storage/index.html +1 -1
- package/dist/serve/docs-ui/docs/build/realtime-database/index.html +1 -1
- package/dist/serve/docs-ui/docs/conformance-scores/index.html +1 -1
- package/dist/serve/docs-ui/docs/create-pyric-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/database-compat/index.html +1 -1
- package/dist/serve/docs-ui/docs/firestore-compat/index.html +1 -1
- package/dist/serve/docs-ui/docs/functions-rtdb-compat/index.html +1 -1
- package/dist/serve/docs-ui/docs/get-started/how-the-swap-works/index.html +2 -1
- package/dist/serve/docs-ui/docs/get-started/how-the-swap-works.md +2 -0
- package/dist/serve/docs-ui/docs/get-started/start-building/index.html +3 -2
- package/dist/serve/docs-ui/docs/get-started/start-building.md +3 -1
- package/dist/serve/docs-ui/docs/index.json +349 -29
- package/dist/serve/docs-ui/docs/messaging-compat/index.html +1 -1
- package/dist/serve/docs-ui/docs/observe/resolve-runtime-status/index.html +28 -0
- package/dist/serve/docs-ui/docs/observe/resolve-runtime-status.md +47 -0
- package/dist/serve/docs-ui/docs/observe/see-whats-happening/index.html +1 -1
- package/dist/serve/docs-ui/docs/observe/shape-your-data/index.html +1 -1
- package/dist/serve/docs-ui/docs/overview/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-admin-app-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-admin-auth-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-admin-database-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-admin-firestore-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-admin-messaging-reference-api/index.html +916 -0
- package/dist/serve/docs-ui/docs/pyric-admin-messaging-reference-api.md +706 -0
- package/dist/serve/docs-ui/docs/pyric-admin-storage-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-ai-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-ai-scripting-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-app-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-auth-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-cli-assurance-browser-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-cli-assurance-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-cli-bridge-client-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-cli-bridge-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-cli-conformance-browser-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-cli-conformance-docs-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-cli-conformance-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-cli-credentials-node-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-cli-discover-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-cli-register-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-cli-remote-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-cli-serve-worker-reference-api/index.html +168 -76
- package/dist/serve/docs-ui/docs/pyric-cli-serve-worker-reference-api.md +156 -73
- package/dist/serve/docs-ui/docs/pyric-cli-verify-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-cli-vite-reference-api/index.html +11 -8
- package/dist/serve/docs-ui/docs/pyric-cli-vite-reference-api.md +17 -4
- package/dist/serve/docs-ui/docs/pyric-database-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-firestore-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-messaging-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-messaging-sw-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-rules-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-sandbox-database-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-sandbox-firestore-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-sandbox-reference-api/index.html +37 -14
- package/dist/serve/docs-ui/docs/pyric-sandbox-reference-api.md +28 -8
- package/dist/serve/docs-ui/docs/pyric-storage-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-ui-agents-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-ui-auth-hooks-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-ui-auth-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-ui-events-hooks-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-ui-events-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-ui-firestore-hooks-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-ui-firestore-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-ui-primitives-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-ui-rtdb-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-ui-rules-hooks-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-ui-rules-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-ui-storage-hooks-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-ui-storage-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-ui-traffic-hooks-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/pyric-ui-traffic-reference-api/index.html +1 -1
- package/dist/serve/docs-ui/docs/rules-compat/index.html +1 -1
- package/dist/serve/docs-ui/docs/secure/audit-your-rules/index.html +1 -1
- package/dist/serve/docs-ui/docs/secure/firestore-rules-limits/index.html +1 -1
- package/dist/serve/docs-ui/docs/secure/read-a-denial/index.html +1 -1
- package/dist/serve/docs-ui/docs/secure/rtdb-rules-in-typescript/index.html +1 -1
- package/dist/serve/docs-ui/docs/secure/rules-standard-library/index.html +1 -1
- package/dist/serve/docs-ui/docs/secure/secure-it-with-rules/index.html +1 -1
- package/dist/serve/docs-ui/docs/secure/simulate-and-lint/index.html +1 -1
- package/dist/serve/docs-ui/docs/secure/write-a-rules-test-suite/index.html +1 -1
- package/dist/serve/docs-ui/docs/ship/ship-to-production/index.html +1 -1
- package/dist/serve/docs-ui/docs/ship/test-in-node/index.html +1 -1
- package/dist/serve/docs-ui/docs/storage-compat/index.html +1 -1
- package/dist/serve/docs-ui/docs/trust/how-we-know-it-matches-firebase/index.html +1 -1
- package/dist/serve/docs-ui/docs/trust/versioning-and-compatibility/index.html +1 -1
- package/dist/serve/docs-ui/docs/tutorial/index.html +429 -0
- package/dist/serve/docs-ui/docs/tutorial.md +701 -0
- package/dist/serve/docs-ui/llms.txt +3 -1
- package/dist/serve/entries/init.d.ts.map +1 -1
- package/dist/serve/entries/init.js +3 -0
- package/dist/serve/entries/init.js.map +1 -1
- package/dist/serve/entries/runtime.d.ts.map +1 -1
- package/dist/serve/entries/runtime.js +20 -5
- package/dist/serve/entries/runtime.js.map +1 -1
- package/dist/serve/entries/worker-runtime.d.ts +2 -2
- package/dist/serve/entries/worker-runtime.d.ts.map +1 -1
- package/dist/serve/entries/worker-runtime.js +45 -10
- package/dist/serve/entries/worker-runtime.js.map +1 -1
- package/dist/serve/runtime/chip-config.d.ts +19 -0
- package/dist/serve/runtime/chip-config.d.ts.map +1 -0
- package/dist/serve/runtime/chip-config.js +19 -0
- package/dist/serve/runtime/chip-config.js.map +1 -0
- package/dist/serve/runtime/chip-install.d.ts +10 -0
- package/dist/serve/runtime/chip-install.d.ts.map +1 -0
- package/dist/serve/runtime/chip-install.js +15 -0
- package/dist/serve/runtime/chip-install.js.map +1 -0
- package/dist/serve/runtime/chip.d.ts +17 -0
- package/dist/serve/runtime/chip.d.ts.map +1 -0
- package/dist/serve/runtime/chip.js +257 -0
- package/dist/serve/runtime/chip.js.map +1 -0
- package/dist/serve/runtime/manifest.d.ts +22 -0
- package/dist/serve/runtime/manifest.d.ts.map +1 -0
- package/dist/serve/runtime/manifest.js +20 -0
- package/dist/serve/runtime/manifest.js.map +1 -0
- package/dist/serve/runtime/status.d.ts +49 -0
- package/dist/serve/runtime/status.d.ts.map +1 -0
- package/dist/serve/runtime/status.js +164 -0
- package/dist/serve/runtime/status.js.map +1 -0
- package/dist/serve/runtime/worker-connection.d.ts +4 -0
- package/dist/serve/runtime/worker-connection.d.ts.map +1 -0
- package/dist/serve/runtime/worker-connection.js +11 -0
- package/dist/serve/runtime/worker-connection.js.map +1 -0
- package/dist/serve/runtime/worker-generation.d.ts +14 -0
- package/dist/serve/runtime/worker-generation.d.ts.map +1 -0
- package/dist/serve/runtime/worker-generation.js +56 -0
- package/dist/serve/runtime/worker-generation.js.map +1 -0
- package/dist/serve/runtime/worker-replacement.d.ts +18 -0
- package/dist/serve/runtime/worker-replacement.d.ts.map +1 -0
- package/dist/serve/runtime/worker-replacement.js +29 -0
- package/dist/serve/runtime/worker-replacement.js.map +1 -0
- package/dist/serve/standalone-assets.d.ts +2 -2
- package/dist/serve/standalone-assets.d.ts.map +1 -1
- package/dist/serve/standalone-assets.js +1 -1
- package/dist/serve/standalone-assets.js.map +1 -1
- package/dist/serve/studio-ui/assets/{RulesCodeEditor-CxVYcZXw.js → RulesCodeEditor-BDlH-5lp.js} +1 -1
- package/dist/serve/studio-ui/assets/{index-cpSfgQ7H.js → index-Bf9SSE8L.js} +5 -5
- package/dist/serve/studio-ui/assets/{seed-DeuFKi4J.js → seed-D_UjxfOU.js} +1 -1
- package/dist/serve/studio-ui/index.html +1 -1
- package/dist/serve/vite-ai-config.d.ts +25 -0
- package/dist/serve/vite-ai-config.d.ts.map +1 -0
- package/dist/serve/vite-ai-config.js +45 -0
- package/dist/serve/vite-ai-config.js.map +1 -0
- package/dist/serve/vite-plugin.d.ts +17 -36
- package/dist/serve/vite-plugin.d.ts.map +1 -1
- package/dist/serve/vite-plugin.js +38 -57
- package/dist/serve/vite-plugin.js.map +1 -1
- package/dist/serve/vite-rules-source.d.ts +8 -0
- package/dist/serve/vite-rules-source.d.ts.map +1 -0
- package/dist/serve/vite-rules-source.js +23 -0
- package/dist/serve/vite-rules-source.js.map +1 -0
- package/dist/serve/vite-worker-runtime.d.ts +20 -0
- package/dist/serve/vite-worker-runtime.d.ts.map +1 -0
- package/dist/serve/vite-worker-runtime.js +25 -0
- package/dist/serve/vite-worker-runtime.js.map +1 -0
- package/dist/serve/worker/client/connection.d.ts +7 -2
- package/dist/serve/worker/client/connection.d.ts.map +1 -1
- package/dist/serve/worker/client/connection.js +13 -16
- package/dist/serve/worker/client/connection.js.map +1 -1
- package/dist/serve/worker/client/core.d.ts +7 -0
- package/dist/serve/worker/client/core.d.ts.map +1 -1
- package/dist/serve/worker/client/core.js +28 -0
- package/dist/serve/worker/client/core.js.map +1 -1
- package/dist/serve/worker/client/runtime-control.d.ts +8 -0
- package/dist/serve/worker/client/runtime-control.d.ts.map +1 -0
- package/dist/serve/worker/client/runtime-control.js +11 -0
- package/dist/serve/worker/client/runtime-control.js.map +1 -0
- package/dist/serve/worker/entry.js +44 -2
- package/dist/serve/worker/entry.js.map +1 -1
- package/dist/serve/worker/host/core.js +1 -1
- package/dist/serve/worker/host/core.js.map +1 -1
- package/dist/serve/worker/host/firestore-writes.d.ts.map +1 -1
- package/dist/serve/worker/host/firestore-writes.js +3 -2
- package/dist/serve/worker/host/firestore-writes.js.map +1 -1
- package/dist/serve/worker/host/studio.js +1 -1
- package/dist/serve/worker/host/studio.js.map +1 -1
- package/dist/serve/worker/host-context.d.ts +1 -1
- package/dist/serve/worker/host-context.d.ts.map +1 -1
- package/dist/serve/worker/index.d.ts +2 -1
- package/dist/serve/worker/index.d.ts.map +1 -1
- package/dist/serve/worker/index.js +2 -1
- package/dist/serve/worker/index.js.map +1 -1
- package/dist/serve/worker/protocol.d.ts +15 -1
- package/dist/serve/worker/protocol.d.ts.map +1 -1
- package/dist/serve/worker/protocol.js +2 -2
- package/dist/serve/worker/protocol.js.map +1 -1
- package/dist/serve/worker/retirement.d.ts +21 -0
- package/dist/serve/worker/retirement.d.ts.map +1 -0
- package/dist/serve/worker/retirement.js +97 -0
- package/dist/serve/worker/retirement.js.map +1 -0
- package/dist/serve/worker/serve-init.d.ts.map +1 -1
- package/dist/serve/worker/serve-init.js +5 -6
- package/dist/serve/worker/serve-init.js.map +1 -1
- package/dist/vite.d.ts +1 -0
- package/dist/vite.d.ts.map +1 -1
- package/dist/vite.js.map +1 -1
- package/package.json +6 -4
- package/src/assurance/.generated/conformance-verdicts.ts +1090 -0
- package/src/assurance/attachment.ts +211 -0
- package/src/assurance/browser.ts +80 -0
- package/src/assurance/campaign.ts +496 -0
- package/src/assurance/capabilities.ts +446 -0
- package/src/assurance/cases.ts +43 -0
- package/src/assurance/index.ts +75 -0
- package/src/assurance/runner.ts +885 -0
- package/src/assurance/tool-names.ts +15 -0
- package/src/assurance/tools.ts +830 -0
- package/src/assurance/types.ts +352 -0
- package/src/assurance/validation.ts +434 -0
- package/src/bridge/client/bridge.ts +550 -0
- package/src/bridge/client/dispatch.ts +137 -0
- package/src/bridge/client.ts +45 -0
- package/src/bridge/protocol.ts +351 -0
- package/src/bridge/server/audit.ts +53 -0
- package/src/bridge/server/bridge.ts +597 -0
- package/src/bridge/server/headless.ts +160 -0
- package/src/bridge/server/json-schema-to-zod.ts +108 -0
- package/src/bridge/server/local-bridge.ts +66 -0
- package/src/bridge/server/logger.ts +50 -0
- package/src/bridge/server/mcp-contract.ts +93 -0
- package/src/bridge/server/mcp.ts +129 -0
- package/src/bridge/server/peer.ts +232 -0
- package/src/bridge/server/standalone.ts +347 -0
- package/src/bridge/server/tool-metadata.ts +99 -0
- package/src/bridge/server.ts +28 -0
- package/src/cli/can-i-use.ts +50 -0
- package/src/cli/cli.test.ts +493 -0
- package/src/cli/database-rules.ts +329 -0
- package/src/cli/dev-runner.ts +282 -0
- package/src/cli/firebase-json.ts +100 -0
- package/src/cli/firestore-indexes.ts +70 -0
- package/src/cli/index.ts +425 -0
- package/src/cli/init.ts +260 -0
- package/src/cli/mcp-proxy.ts +196 -0
- package/src/cli/parse-args.ts +80 -0
- package/src/cli/rules.ts +259 -0
- package/src/cli/scope.ts +67 -0
- package/src/cli/serve.ts +996 -0
- package/src/cli/service-commands.ts +73 -0
- package/src/cli/snapshot.ts +164 -0
- package/src/cli/storage-rules.ts +172 -0
- package/src/cli/verify.ts +416 -0
- package/src/conformance/.generated/can-i-use-browser.ts +113 -0
- package/src/conformance/.generated/can-i-use.ts +117 -0
- package/src/conformance/.generated/conformance-docs.ts +14 -0
- package/src/conformance/browser.ts +24 -0
- package/src/conformance/can-i-use-tool.ts +51 -0
- package/src/conformance/can-i-use.ts +18 -0
- package/src/conformance/docs.ts +8 -0
- package/src/conformance/index.ts +20 -0
- package/src/conformance/tools.ts +16 -0
- package/src/credentials/core/memoize-ttl.ts +142 -0
- package/src/credentials/core/types.ts +10 -0
- package/src/credentials/node/from-adc.ts +96 -0
- package/src/credentials/node/from-service-account.ts +133 -0
- package/src/credentials/node/index.ts +6 -0
- package/src/discover/concurrency.ts +127 -0
- package/src/discover/crawler-adapter.ts +142 -0
- package/src/discover/crawler.ts +1127 -0
- package/src/discover/credential-free.ts +27 -0
- package/src/discover/findCollectionGroup.ts +131 -0
- package/src/discover/firestore-source.ts +59 -0
- package/src/discover/index.ts +5 -0
- package/src/discover/merge.ts +523 -0
- package/src/discover/session.ts +402 -0
- package/src/discover/tools.ts +201 -0
- package/src/discover/types.ts +187 -0
- package/src/discover/wire.ts +324 -0
- package/src/functions-rtdb/child.ts +382 -0
- package/src/functions-rtdb/delivery.ts +7 -0
- package/src/functions-rtdb/discovery.ts +136 -0
- package/src/functions-rtdb/event.ts +64 -0
- package/src/functions-rtdb/execution.ts +111 -0
- package/src/functions-rtdb/in-memory-delivery.ts +40 -0
- package/src/functions-rtdb/project.ts +74 -0
- package/src/functions-rtdb/projection.ts +104 -0
- package/src/functions-rtdb/reference-pattern.ts +20 -0
- package/src/functions-rtdb/remote-delivery.ts +23 -0
- package/src/pkg-version.ts +49 -0
- package/src/register/esm-exports.ts +63 -0
- package/src/register/hooks.ts +30 -0
- package/src/register/index.ts +150 -0
- package/src/register/mapping.ts +33 -0
- package/src/remote/index.ts +1050 -0
- package/src/rtdb/crawl-snapshot.ts +118 -0
- package/src/rtdb/inspection.ts +137 -0
- package/src/rtdb/load-rules-document.ts +56 -0
- package/src/rtdb/rules-generation-tool.ts +38 -0
- package/src/rtdb/rules-json.ts +29 -0
- package/src/serve/activity-guard.ts +29 -0
- package/src/serve/activity-route.ts +164 -0
- package/src/serve/activity-warning.ts +26 -0
- package/src/serve/bridge-mount.ts +200 -0
- package/src/serve/bundler.ts +519 -0
- package/src/serve/capture-store.ts +65 -0
- package/src/serve/discovery.ts +199 -0
- package/src/serve/entries/ai.ts +292 -0
- package/src/serve/entries/app-backend.ts +4 -0
- package/src/serve/entries/app-client.ts +26 -0
- package/src/serve/entries/app-session-store.ts +47 -0
- package/src/serve/entries/app.ts +11 -0
- package/src/serve/entries/auth-helper-core.ts +181 -0
- package/src/serve/entries/auth-helper-dom.ts +134 -0
- package/src/serve/entries/auth-helper-runtime.ts +20 -0
- package/src/serve/entries/auth.ts +255 -0
- package/src/serve/entries/bridge-url.ts +31 -0
- package/src/serve/entries/database.ts +129 -0
- package/src/serve/entries/firestore.ts +232 -0
- package/src/serve/entries/init.ts +49 -0
- package/src/serve/entries/keepalive.ts +46 -0
- package/src/serve/entries/messaging-sw.ts +75 -0
- package/src/serve/entries/messaging.ts +96 -0
- package/src/serve/entries/runtime.ts +556 -0
- package/src/serve/entries/session-store.ts +97 -0
- package/src/serve/entries/storage.ts +92 -0
- package/src/serve/entries/tab-sync-wiring.ts +274 -0
- package/src/serve/entries/worker-runtime.ts +135 -0
- package/src/serve/init-payload.ts +42 -0
- package/src/serve/namespace.ts +675 -0
- package/src/serve/open-browser.ts +68 -0
- package/src/serve/rules.ts +272 -0
- package/src/serve/runtime/chip-config.ts +30 -0
- package/src/serve/runtime/chip-install.ts +27 -0
- package/src/serve/runtime/chip.ts +282 -0
- package/src/serve/runtime/manifest.ts +37 -0
- package/src/serve/runtime/status.ts +216 -0
- package/src/serve/runtime/worker-connection.ts +14 -0
- package/src/serve/runtime/worker-generation.ts +75 -0
- package/src/serve/runtime/worker-replacement.ts +42 -0
- package/src/serve/sandbox-marker.ts +31 -0
- package/src/serve/server.ts +428 -0
- package/src/serve/standalone-assets.ts +180 -0
- package/src/serve/state-store.ts +166 -0
- package/src/serve/studio/disk-project-store.ts +185 -0
- package/src/serve/studio/disk-workspace.ts +162 -0
- package/src/serve/studio/index.ts +20 -0
- package/src/serve/studio/routes.ts +237 -0
- package/src/serve/studio/store-types.ts +48 -0
- package/src/serve/studio/studio-storage.test.ts +289 -0
- package/src/serve/vite-ai-config.ts +77 -0
- package/src/serve/vite-plugin.ts +1075 -0
- package/src/serve/vite-rules-source.ts +28 -0
- package/src/serve/vite-worker-runtime.ts +51 -0
- package/src/serve/worker/activity-bootstrap.ts +24 -0
- package/src/serve/worker/client/admin-firestore.ts +38 -0
- package/src/serve/worker/client/ai.ts +124 -0
- package/src/serve/worker/client/auth.ts +489 -0
- package/src/serve/worker/client/connection.ts +227 -0
- package/src/serve/worker/client/core.ts +384 -0
- package/src/serve/worker/client/disconnect.ts +45 -0
- package/src/serve/worker/client/firestore-reads.ts +181 -0
- package/src/serve/worker/client/firestore-refs.ts +226 -0
- package/src/serve/worker/client/firestore-writes.ts +232 -0
- package/src/serve/worker/client/handles.ts +91 -0
- package/src/serve/worker/client/messaging.ts +119 -0
- package/src/serve/worker/client/presence.ts +174 -0
- package/src/serve/worker/client/rtdb.ts +311 -0
- package/src/serve/worker/client/rules.ts +63 -0
- package/src/serve/worker/client/runtime-control.ts +22 -0
- package/src/serve/worker/client/service-worker-connection.ts +59 -0
- package/src/serve/worker/client/snapshots.ts +86 -0
- package/src/serve/worker/client/storage.ts +195 -0
- package/src/serve/worker/client/studio.ts +88 -0
- package/src/serve/worker/client.ts +57 -0
- package/src/serve/worker/durable-persistence.ts +137 -0
- package/src/serve/worker/entry.ts +223 -0
- package/src/serve/worker/host/admin-firestore.ts +88 -0
- package/src/serve/worker/host/connection.ts +179 -0
- package/src/serve/worker/host/core.ts +387 -0
- package/src/serve/worker/host/dispatch.ts +316 -0
- package/src/serve/worker/host/firestore-reads.ts +117 -0
- package/src/serve/worker/host/firestore-writes.ts +456 -0
- package/src/serve/worker/host/presence.ts +312 -0
- package/src/serve/worker/host/rtdb.ts +136 -0
- package/src/serve/worker/host/rules.ts +128 -0
- package/src/serve/worker/host/storage.ts +312 -0
- package/src/serve/worker/host/studio.ts +75 -0
- package/src/serve/worker/host/subscriptions.ts +238 -0
- package/src/serve/worker/host-ai.ts +165 -0
- package/src/serve/worker/host-auth.ts +469 -0
- package/src/serve/worker/host-context.ts +273 -0
- package/src/serve/worker/host-events.ts +94 -0
- package/src/serve/worker/host-messaging.ts +240 -0
- package/src/serve/worker/host.ts +47 -0
- package/src/serve/worker/index.ts +196 -0
- package/src/serve/worker/presence-timing.ts +15 -0
- package/src/serve/worker/protocol.ts +1124 -0
- package/src/serve/worker/retirement.ts +125 -0
- package/src/serve/worker/serve-init.ts +605 -0
- package/src/serve/worker/service-worker-channel.ts +33 -0
- package/src/serve/worker/service-worker-relay.ts +86 -0
- package/src/serve/writer-lock.ts +53 -0
- package/src/verify/cases.ts +233 -0
- package/src/verify/fixture.ts +258 -0
- package/src/verify/index.ts +519 -0
- package/src/verify/tools.ts +108 -0
- package/src/version/compat-target.ts +17 -0
- package/src/vite.ts +18 -0
- package/dist/serve/docs-ui/docs/pyric-firestore-values-reference-api/index.html +0 -31
- package/dist/serve/docs-ui/docs/pyric-firestore-values-reference-api.md +0 -29
|
@@ -46,7 +46,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
46
46
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
47
47
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
48
48
|
|
|
49
|
-
`client.ts` imports only the value codec
|
|
49
|
+
`client.ts` imports only the value codec
|
|
50
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
50
51
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
51
52
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
52
53
|
|
|
@@ -118,7 +119,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
118
119
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
119
120
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
120
121
|
|
|
121
|
-
`client.ts` imports only the value codec
|
|
122
|
+
`client.ts` imports only the value codec
|
|
123
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
122
124
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
123
125
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
124
126
|
|
|
@@ -150,7 +152,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
150
152
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
151
153
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
152
154
|
|
|
153
|
-
`client.ts` imports only the value codec
|
|
155
|
+
`client.ts` imports only the value codec
|
|
156
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
154
157
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
155
158
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
156
159
|
|
|
@@ -513,7 +516,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
513
516
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
514
517
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
515
518
|
|
|
516
|
-
`client.ts` imports only the value codec
|
|
519
|
+
`client.ts` imports only the value codec
|
|
520
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
517
521
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
518
522
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
519
523
|
|
|
@@ -612,7 +616,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
612
616
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
613
617
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
614
618
|
|
|
615
|
-
`client.ts` imports only the value codec
|
|
619
|
+
`client.ts` imports only the value codec
|
|
620
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
616
621
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
617
622
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
618
623
|
|
|
@@ -760,7 +765,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
760
765
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
761
766
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
762
767
|
|
|
763
|
-
`client.ts` imports only the value codec
|
|
768
|
+
`client.ts` imports only the value codec
|
|
769
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
764
770
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
765
771
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
766
772
|
|
|
@@ -949,7 +955,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
949
955
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
950
956
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
951
957
|
|
|
952
|
-
`client.ts` imports only the value codec
|
|
958
|
+
`client.ts` imports only the value codec
|
|
959
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
953
960
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
954
961
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
955
962
|
|
|
@@ -989,7 +996,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
989
996
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
990
997
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
991
998
|
|
|
992
|
-
`client.ts` imports only the value codec
|
|
999
|
+
`client.ts` imports only the value codec
|
|
1000
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
993
1001
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
994
1002
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
995
1003
|
|
|
@@ -1105,7 +1113,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
1105
1113
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
1106
1114
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
1107
1115
|
|
|
1108
|
-
`client.ts` imports only the value codec
|
|
1116
|
+
`client.ts` imports only the value codec
|
|
1117
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
1109
1118
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
1110
1119
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
1111
1120
|
|
|
@@ -1144,7 +1153,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
1144
1153
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
1145
1154
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
1146
1155
|
|
|
1147
|
-
`client.ts` imports only the value codec
|
|
1156
|
+
`client.ts` imports only the value codec
|
|
1157
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
1148
1158
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
1149
1159
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
1150
1160
|
|
|
@@ -1182,7 +1192,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
1182
1192
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
1183
1193
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
1184
1194
|
|
|
1185
|
-
`client.ts` imports only the value codec
|
|
1195
|
+
`client.ts` imports only the value codec
|
|
1196
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
1186
1197
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
1187
1198
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
1188
1199
|
|
|
@@ -1221,7 +1232,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
1221
1232
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
1222
1233
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
1223
1234
|
|
|
1224
|
-
`client.ts` imports only the value codec
|
|
1235
|
+
`client.ts` imports only the value codec
|
|
1236
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
1225
1237
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
1226
1238
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
1227
1239
|
|
|
@@ -1260,7 +1272,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
1260
1272
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
1261
1273
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
1262
1274
|
|
|
1263
|
-
`client.ts` imports only the value codec
|
|
1275
|
+
`client.ts` imports only the value codec
|
|
1276
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
1264
1277
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
1265
1278
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
1266
1279
|
|
|
@@ -1299,7 +1312,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
1299
1312
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
1300
1313
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
1301
1314
|
|
|
1302
|
-
`client.ts` imports only the value codec
|
|
1315
|
+
`client.ts` imports only the value codec
|
|
1316
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
1303
1317
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
1304
1318
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
1305
1319
|
|
|
@@ -1338,7 +1352,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
1338
1352
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
1339
1353
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
1340
1354
|
|
|
1341
|
-
`client.ts` imports only the value codec
|
|
1355
|
+
`client.ts` imports only the value codec
|
|
1356
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
1342
1357
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
1343
1358
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
1344
1359
|
|
|
@@ -1381,7 +1396,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
1381
1396
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
1382
1397
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
1383
1398
|
|
|
1384
|
-
`client.ts` imports only the value codec
|
|
1399
|
+
`client.ts` imports only the value codec
|
|
1400
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
1385
1401
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
1386
1402
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
1387
1403
|
|
|
@@ -1424,7 +1440,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
1424
1440
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
1425
1441
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
1426
1442
|
|
|
1427
|
-
`client.ts` imports only the value codec
|
|
1443
|
+
`client.ts` imports only the value codec
|
|
1444
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
1428
1445
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
1429
1446
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
1430
1447
|
|
|
@@ -1465,7 +1482,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
1465
1482
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
1466
1483
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
1467
1484
|
|
|
1468
|
-
`client.ts` imports only the value codec
|
|
1485
|
+
`client.ts` imports only the value codec
|
|
1486
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
1469
1487
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
1470
1488
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
1471
1489
|
|
|
@@ -1509,7 +1527,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
1509
1527
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
1510
1528
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
1511
1529
|
|
|
1512
|
-
`client.ts` imports only the value codec
|
|
1530
|
+
`client.ts` imports only the value codec
|
|
1531
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
1513
1532
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
1514
1533
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
1515
1534
|
|
|
@@ -1552,7 +1571,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
1552
1571
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
1553
1572
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
1554
1573
|
|
|
1555
|
-
`client.ts` imports only the value codec
|
|
1574
|
+
`client.ts` imports only the value codec
|
|
1575
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
1556
1576
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
1557
1577
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
1558
1578
|
|
|
@@ -1631,7 +1651,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
1631
1651
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
1632
1652
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
1633
1653
|
|
|
1634
|
-
`client.ts` imports only the value codec
|
|
1654
|
+
`client.ts` imports only the value codec
|
|
1655
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
1635
1656
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
1636
1657
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
1637
1658
|
|
|
@@ -1674,7 +1695,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
1674
1695
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
1675
1696
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
1676
1697
|
|
|
1677
|
-
`client.ts` imports only the value codec
|
|
1698
|
+
`client.ts` imports only the value codec
|
|
1699
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
1678
1700
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
1679
1701
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
1680
1702
|
|
|
@@ -1736,7 +1758,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
1736
1758
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
1737
1759
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
1738
1760
|
|
|
1739
|
-
`client.ts` imports only the value codec
|
|
1761
|
+
`client.ts` imports only the value codec
|
|
1762
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
1740
1763
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
1741
1764
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
1742
1765
|
|
|
@@ -1774,7 +1797,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
1774
1797
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
1775
1798
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
1776
1799
|
|
|
1777
|
-
`client.ts` imports only the value codec
|
|
1800
|
+
`client.ts` imports only the value codec
|
|
1801
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
1778
1802
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
1779
1803
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
1780
1804
|
|
|
@@ -1970,7 +1994,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
1970
1994
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
1971
1995
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
1972
1996
|
|
|
1973
|
-
`client.ts` imports only the value codec
|
|
1997
|
+
`client.ts` imports only the value codec
|
|
1998
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
1974
1999
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
1975
2000
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
1976
2001
|
|
|
@@ -2010,7 +2035,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
2010
2035
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
2011
2036
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
2012
2037
|
|
|
2013
|
-
`client.ts` imports only the value codec
|
|
2038
|
+
`client.ts` imports only the value codec
|
|
2039
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
2014
2040
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
2015
2041
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
2016
2042
|
|
|
@@ -2048,7 +2074,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
2048
2074
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
2049
2075
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
2050
2076
|
|
|
2051
|
-
`client.ts` imports only the value codec
|
|
2077
|
+
`client.ts` imports only the value codec
|
|
2078
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
2052
2079
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
2053
2080
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
2054
2081
|
|
|
@@ -2153,7 +2180,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
2153
2180
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
2154
2181
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
2155
2182
|
|
|
2156
|
-
`client.ts` imports only the value codec
|
|
2183
|
+
`client.ts` imports only the value codec
|
|
2184
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
2157
2185
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
2158
2186
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
2159
2187
|
|
|
@@ -2191,7 +2219,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
2191
2219
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
2192
2220
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
2193
2221
|
|
|
2194
|
-
`client.ts` imports only the value codec
|
|
2222
|
+
`client.ts` imports only the value codec
|
|
2223
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
2195
2224
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
2196
2225
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
2197
2226
|
|
|
@@ -2278,7 +2307,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
2278
2307
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
2279
2308
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
2280
2309
|
|
|
2281
|
-
`client.ts` imports only the value codec
|
|
2310
|
+
`client.ts` imports only the value codec
|
|
2311
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
2282
2312
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
2283
2313
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
2284
2314
|
|
|
@@ -2435,7 +2465,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
2435
2465
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
2436
2466
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
2437
2467
|
|
|
2438
|
-
`client.ts` imports only the value codec
|
|
2468
|
+
`client.ts` imports only the value codec
|
|
2469
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
2439
2470
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
2440
2471
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
2441
2472
|
|
|
@@ -2477,7 +2508,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
2477
2508
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
2478
2509
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
2479
2510
|
|
|
2480
|
-
`client.ts` imports only the value codec
|
|
2511
|
+
`client.ts` imports only the value codec
|
|
2512
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
2481
2513
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
2482
2514
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
2483
2515
|
|
|
@@ -2515,7 +2547,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
2515
2547
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
2516
2548
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
2517
2549
|
|
|
2518
|
-
`client.ts` imports only the value codec
|
|
2550
|
+
`client.ts` imports only the value codec
|
|
2551
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
2519
2552
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
2520
2553
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
2521
2554
|
|
|
@@ -2562,17 +2595,30 @@ Return a page-owned URL for an object read through the SharedWorker.
|
|
|
2562
2595
|
### getFirestore()
|
|
2563
2596
|
|
|
2564
2597
|
```ts
|
|
2565
|
-
function getFirestore(
|
|
2598
|
+
function getFirestore(
|
|
2599
|
+
workerUrl: string | URL,
|
|
2600
|
+
name?: string,
|
|
2601
|
+
options?: SharedWorkerConnectionOptions): ClientDb;
|
|
2566
2602
|
```
|
|
2567
2603
|
|
|
2568
|
-
|
|
2604
|
+
Browser-safe SharedWorker CLIENT surface (Pyric Studio data plane).
|
|
2605
|
+
|
|
2606
|
+
This barrel exports ONLY the leaf client + the wire-protocol types — the
|
|
2607
|
+
pieces a browser app (the served page, or Pyric Studio's Vite app) imports to
|
|
2608
|
+
connect to the `pyric-shared-worker` over its `MessagePort`. It deliberately
|
|
2609
|
+
does NOT re-export `host.ts`/`entry.ts`:
|
|
2610
|
+
- `host.ts` imports the full `pyric/firestore` + `pyric/auth` engine (it IS
|
|
2611
|
+
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
2612
|
+
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
2569
2613
|
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2614
|
+
`client.ts` imports only the value codec
|
|
2615
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
2616
|
+
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
2617
|
+
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
2573
2618
|
|
|
2574
|
-
|
|
2575
|
-
|
|
2619
|
+
Exposed by `@pyric/cli`'s `./serve/worker` package export so Studio can
|
|
2620
|
+
`import { getFirestore, subscribeEvents, setLens } from
|
|
2621
|
+
'@pyric/cli/serve/worker'` and reach the live SharedWorker backend.
|
|
2576
2622
|
|
|
2577
2623
|
#### Parameters
|
|
2578
2624
|
|
|
@@ -2580,6 +2626,7 @@ but returns a `ClientDb` backed by a `MessagePort` instead of a sandbox.
|
|
|
2580
2626
|
| :------ | :------ |
|
|
2581
2627
|
| `workerUrl` | `string` \| `URL` |
|
|
2582
2628
|
| `name?` | `string` |
|
|
2629
|
+
| `options?` | `SharedWorkerConnectionOptions` |
|
|
2583
2630
|
|
|
2584
2631
|
#### Returns
|
|
2585
2632
|
|
|
@@ -2692,7 +2739,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
2692
2739
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
2693
2740
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
2694
2741
|
|
|
2695
|
-
`client.ts` imports only the value codec
|
|
2742
|
+
`client.ts` imports only the value codec
|
|
2743
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
2696
2744
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
2697
2745
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
2698
2746
|
|
|
@@ -2733,7 +2781,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
2733
2781
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
2734
2782
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
2735
2783
|
|
|
2736
|
-
`client.ts` imports only the value codec
|
|
2784
|
+
`client.ts` imports only the value codec
|
|
2785
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
2737
2786
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
2738
2787
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
2739
2788
|
|
|
@@ -2833,7 +2882,9 @@ the two are told apart.
|
|
|
2833
2882
|
### getWorkerVersion()
|
|
2834
2883
|
|
|
2835
2884
|
```ts
|
|
2836
|
-
function getWorkerVersion(db: ClientDb
|
|
2885
|
+
function getWorkerVersion(db: ClientDb, options?: {
|
|
2886
|
+
timeoutMs?: number;
|
|
2887
|
+
}): Promise<string>;
|
|
2837
2888
|
```
|
|
2838
2889
|
|
|
2839
2890
|
Ask the worker for its baked build version (staleness guard). The page
|
|
@@ -2845,6 +2896,8 @@ worker is older than what's served (a SharedWorker can't hot-update).
|
|
|
2845
2896
|
| Parameter | Type |
|
|
2846
2897
|
| :------ | :------ |
|
|
2847
2898
|
| `db` | [`ClientDb`](#clientdb) |
|
|
2899
|
+
| `options?` | \{ `timeoutMs?`: `number`; \} |
|
|
2900
|
+
| `options.timeoutMs?` | `number` |
|
|
2848
2901
|
|
|
2849
2902
|
#### Returns
|
|
2850
2903
|
|
|
@@ -2893,7 +2946,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
2893
2946
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
2894
2947
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
2895
2948
|
|
|
2896
|
-
`client.ts` imports only the value codec
|
|
2949
|
+
`client.ts` imports only the value codec
|
|
2950
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
2897
2951
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
2898
2952
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
2899
2953
|
|
|
@@ -2931,7 +2985,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
2931
2985
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
2932
2986
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
2933
2987
|
|
|
2934
|
-
`client.ts` imports only the value codec
|
|
2988
|
+
`client.ts` imports only the value codec
|
|
2989
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
2935
2990
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
2936
2991
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
2937
2992
|
|
|
@@ -2969,7 +3024,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
2969
3024
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
2970
3025
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
2971
3026
|
|
|
2972
|
-
`client.ts` imports only the value codec
|
|
3027
|
+
`client.ts` imports only the value codec
|
|
3028
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
2973
3029
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
2974
3030
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
2975
3031
|
|
|
@@ -3084,7 +3140,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
3084
3140
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
3085
3141
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
3086
3142
|
|
|
3087
|
-
`client.ts` imports only the value codec
|
|
3143
|
+
`client.ts` imports only the value codec
|
|
3144
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
3088
3145
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
3089
3146
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
3090
3147
|
|
|
@@ -3271,7 +3328,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
3271
3328
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
3272
3329
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
3273
3330
|
|
|
3274
|
-
`client.ts` imports only the value codec
|
|
3331
|
+
`client.ts` imports only the value codec
|
|
3332
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
3275
3333
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
3276
3334
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
3277
3335
|
|
|
@@ -3457,7 +3515,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
3457
3515
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
3458
3516
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
3459
3517
|
|
|
3460
|
-
`client.ts` imports only the value codec
|
|
3518
|
+
`client.ts` imports only the value codec
|
|
3519
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
3461
3520
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
3462
3521
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
3463
3522
|
|
|
@@ -3496,7 +3555,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
3496
3555
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
3497
3556
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
3498
3557
|
|
|
3499
|
-
`client.ts` imports only the value codec
|
|
3558
|
+
`client.ts` imports only the value codec
|
|
3559
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
3500
3560
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
3501
3561
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
3502
3562
|
|
|
@@ -3528,7 +3588,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
3528
3588
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
3529
3589
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
3530
3590
|
|
|
3531
|
-
`client.ts` imports only the value codec
|
|
3591
|
+
`client.ts` imports only the value codec
|
|
3592
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
3532
3593
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
3533
3594
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
3534
3595
|
|
|
@@ -3566,7 +3627,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
3566
3627
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
3567
3628
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
3568
3629
|
|
|
3569
|
-
`client.ts` imports only the value codec
|
|
3630
|
+
`client.ts` imports only the value codec
|
|
3631
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
3570
3632
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
3571
3633
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
3572
3634
|
|
|
@@ -3608,7 +3670,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
3608
3670
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
3609
3671
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
3610
3672
|
|
|
3611
|
-
`client.ts` imports only the value codec
|
|
3673
|
+
`client.ts` imports only the value codec
|
|
3674
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
3612
3675
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
3613
3676
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
3614
3677
|
|
|
@@ -3651,7 +3714,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
3651
3714
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
3652
3715
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
3653
3716
|
|
|
3654
|
-
`client.ts` imports only the value codec
|
|
3717
|
+
`client.ts` imports only the value codec
|
|
3718
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
3655
3719
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
3656
3720
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
3657
3721
|
|
|
@@ -3691,7 +3755,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
3691
3755
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
3692
3756
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
3693
3757
|
|
|
3694
|
-
`client.ts` imports only the value codec
|
|
3758
|
+
`client.ts` imports only the value codec
|
|
3759
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
3695
3760
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
3696
3761
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
3697
3762
|
|
|
@@ -3730,7 +3795,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
3730
3795
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
3731
3796
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
3732
3797
|
|
|
3733
|
-
`client.ts` imports only the value codec
|
|
3798
|
+
`client.ts` imports only the value codec
|
|
3799
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
3734
3800
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
3735
3801
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
3736
3802
|
|
|
@@ -3769,7 +3835,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
3769
3835
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
3770
3836
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
3771
3837
|
|
|
3772
|
-
`client.ts` imports only the value codec
|
|
3838
|
+
`client.ts` imports only the value codec
|
|
3839
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
3773
3840
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
3774
3841
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
3775
3842
|
|
|
@@ -3808,7 +3875,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
3808
3875
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
3809
3876
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
3810
3877
|
|
|
3811
|
-
`client.ts` imports only the value codec
|
|
3878
|
+
`client.ts` imports only the value codec
|
|
3879
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
3812
3880
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
3813
3881
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
3814
3882
|
|
|
@@ -3843,7 +3911,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
3843
3911
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
3844
3912
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
3845
3913
|
|
|
3846
|
-
`client.ts` imports only the value codec
|
|
3914
|
+
`client.ts` imports only the value codec
|
|
3915
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
3847
3916
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
3848
3917
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
3849
3918
|
|
|
@@ -3882,7 +3951,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
3882
3951
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
3883
3952
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
3884
3953
|
|
|
3885
|
-
`client.ts` imports only the value codec
|
|
3954
|
+
`client.ts` imports only the value codec
|
|
3955
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
3886
3956
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
3887
3957
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
3888
3958
|
|
|
@@ -3995,7 +4065,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
3995
4065
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
3996
4066
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
3997
4067
|
|
|
3998
|
-
`client.ts` imports only the value codec
|
|
4068
|
+
`client.ts` imports only the value codec
|
|
4069
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
3999
4070
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
4000
4071
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
4001
4072
|
|
|
@@ -4030,7 +4101,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
4030
4101
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
4031
4102
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
4032
4103
|
|
|
4033
|
-
`client.ts` imports only the value codec
|
|
4104
|
+
`client.ts` imports only the value codec
|
|
4105
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
4034
4106
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
4035
4107
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
4036
4108
|
|
|
@@ -4078,7 +4150,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
4078
4150
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
4079
4151
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
4080
4152
|
|
|
4081
|
-
`client.ts` imports only the value codec
|
|
4153
|
+
`client.ts` imports only the value codec
|
|
4154
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
4082
4155
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
4083
4156
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
4084
4157
|
|
|
@@ -4124,7 +4197,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
4124
4197
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
4125
4198
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
4126
4199
|
|
|
4127
|
-
`client.ts` imports only the value codec
|
|
4200
|
+
`client.ts` imports only the value codec
|
|
4201
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
4128
4202
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
4129
4203
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
4130
4204
|
|
|
@@ -4247,7 +4321,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
4247
4321
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
4248
4322
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
4249
4323
|
|
|
4250
|
-
`client.ts` imports only the value codec
|
|
4324
|
+
`client.ts` imports only the value codec
|
|
4325
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
4251
4326
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
4252
4327
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
4253
4328
|
|
|
@@ -4316,7 +4391,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
4316
4391
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
4317
4392
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
4318
4393
|
|
|
4319
|
-
`client.ts` imports only the value codec
|
|
4394
|
+
`client.ts` imports only the value codec
|
|
4395
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
4320
4396
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
4321
4397
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
4322
4398
|
|
|
@@ -4357,7 +4433,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
4357
4433
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
4358
4434
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
4359
4435
|
|
|
4360
|
-
`client.ts` imports only the value codec
|
|
4436
|
+
`client.ts` imports only the value codec
|
|
4437
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
4361
4438
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
4362
4439
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
4363
4440
|
|
|
@@ -4397,7 +4474,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
4397
4474
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
4398
4475
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
4399
4476
|
|
|
4400
|
-
`client.ts` imports only the value codec
|
|
4477
|
+
`client.ts` imports only the value codec
|
|
4478
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
4401
4479
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
4402
4480
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
4403
4481
|
|
|
@@ -4435,7 +4513,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
4435
4513
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
4436
4514
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
4437
4515
|
|
|
4438
|
-
`client.ts` imports only the value codec
|
|
4516
|
+
`client.ts` imports only the value codec
|
|
4517
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
4439
4518
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
4440
4519
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
4441
4520
|
|
|
@@ -4473,7 +4552,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
4473
4552
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
4474
4553
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
4475
4554
|
|
|
4476
|
-
`client.ts` imports only the value codec
|
|
4555
|
+
`client.ts` imports only the value codec
|
|
4556
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
4477
4557
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
4478
4558
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
4479
4559
|
|
|
@@ -4633,7 +4713,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
4633
4713
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
4634
4714
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
4635
4715
|
|
|
4636
|
-
`client.ts` imports only the value codec
|
|
4716
|
+
`client.ts` imports only the value codec
|
|
4717
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
4637
4718
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
4638
4719
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
4639
4720
|
|
|
@@ -4709,7 +4790,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
4709
4790
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
4710
4791
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
4711
4792
|
|
|
4712
|
-
`client.ts` imports only the value codec
|
|
4793
|
+
`client.ts` imports only the value codec
|
|
4794
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
4713
4795
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
4714
4796
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
4715
4797
|
|
|
@@ -4749,7 +4831,8 @@ does NOT re-export `host.ts`/`entry.ts`:
|
|
|
4749
4831
|
the backend) — node/engine-heavy, never wanted in a page bundle.
|
|
4750
4832
|
- `entry.ts` references `SharedWorkerGlobalScope` and is esbuild-only.
|
|
4751
4833
|
|
|
4752
|
-
`client.ts` imports only the value codec
|
|
4834
|
+
`client.ts` imports only the value codec
|
|
4835
|
+
(`pyric/firestore/internal/value-codec`, a leaf internal seam)
|
|
4753
4836
|
and type-only `pyric/sandbox` (erased at build), so this entry stays free of
|
|
4754
4837
|
the ~10 MB rules/sandbox engine — safe to import from any browser app.
|
|
4755
4838
|
|