@dxos/functions 0.8.4-main.dedc0f3 → 0.8.4-main.e098934

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.
@@ -1 +1 @@
1
- {"inputs":{"src/bundler/bundler.ts":{"bytes":33439,"imports":[{"path":"@effect/platform","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"esbuild-wasm","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/bundler/index.ts":{"bytes":457,"imports":[{"path":"src/bundler/bundler.ts","kind":"import-statement","original":"./bundler"}],"format":"esm"},"src/edge/functions.ts":{"bytes":6996,"imports":[{"path":"@dxos/client/edge","kind":"import-statement","external":true},{"path":"@dxos/edge-client","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/edge/index.ts":{"bytes":864,"imports":[{"path":"src/edge/functions.ts","kind":"import-statement","original":"./functions"}],"format":"esm"},"src/errors.ts":{"bytes":2377,"imports":[{"path":"@dxos/errors","kind":"import-statement","external":true}],"format":"esm"},"src/schema.ts":{"bytes":6542,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"format":"esm"},"src/handler.ts":{"bytes":15811,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"src/schema.ts","kind":"import-statement","original":"./schema"}],"format":"esm"},"src/types.ts":{"bytes":20376,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"src/schema.ts","kind":"import-statement","original":"./schema"}],"format":"esm"},"src/trace.ts":{"bytes":16919,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/url.ts":{"bytes":5797,"imports":[],"format":"esm"},"src/services/database.ts":{"bytes":17349,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"src/services/queues.ts":{"bytes":6886,"imports":[{"path":"effect","kind":"import-statement","external":true}],"format":"esm"},"src/services/credentials.ts":{"bytes":15123,"imports":[{"path":"@effect/platform","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"src/services/database.ts","kind":"import-statement","original":"./database"}],"format":"esm"},"src/services/tracing.ts":{"bytes":12645,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"format":"esm"},"src/services/event-logger.ts":{"bytes":12016,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/services/tracing.ts","kind":"import-statement","original":"./tracing"}],"format":"esm"},"src/services/remote-function-execution-service.ts":{"bytes":5591,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"src/url.ts","kind":"import-statement","original":"../url"}],"format":"esm"},"src/services/service-container.ts":{"bytes":12560,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/services/credentials.ts","kind":"import-statement","original":"./credentials"},{"path":"src/services/database.ts","kind":"import-statement","original":"./database"},{"path":"src/services/event-logger.ts","kind":"import-statement","original":"./event-logger"},{"path":"src/services/queues.ts","kind":"import-statement","original":"./queues"},{"path":"src/services/remote-function-execution-service.ts","kind":"import-statement","original":"./remote-function-execution-service"},{"path":"src/services/tracing.ts","kind":"import-statement","original":"./tracing"}],"format":"esm"},"src/services/local-function-execution.ts":{"bytes":13392,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"src/errors.ts","kind":"import-statement","original":"../errors"}],"format":"esm"},"src/services/index.ts":{"bytes":1217,"imports":[{"path":"src/services/database.ts","kind":"import-statement","original":"./database"},{"path":"src/services/queues.ts","kind":"import-statement","original":"./queues"},{"path":"src/services/service-container.ts","kind":"import-statement","original":"./service-container"},{"path":"src/services/credentials.ts","kind":"import-statement","original":"./credentials"},{"path":"src/services/tracing.ts","kind":"import-statement","original":"./tracing"},{"path":"src/services/event-logger.ts","kind":"import-statement","original":"./event-logger"},{"path":"src/services/remote-function-execution-service.ts","kind":"import-statement","original":"./remote-function-execution-service"},{"path":"src/services/local-function-execution.ts","kind":"import-statement","original":"./local-function-execution"}],"format":"esm"},"src/triggers/invocation-tracer.ts":{"bytes":11680,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"src/services/index.ts","kind":"import-statement","original":"../services"},{"path":"src/trace.ts","kind":"import-statement","original":"../trace"}],"format":"esm"},"src/triggers/input-builder.ts":{"bytes":3617,"imports":[],"format":"esm"},"src/triggers/trigger-state-store.ts":{"bytes":7963,"imports":[{"path":"@effect/platform","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"src/errors.ts","kind":"import-statement","original":"../errors"}],"format":"esm"},"src/triggers/trigger-dispatcher.ts":{"bytes":58723,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"src/handler.ts","kind":"import-statement","original":"../handler"},{"path":"src/schema.ts","kind":"import-statement","original":"../schema"},{"path":"src/services/index.ts","kind":"import-statement","original":"../services"},{"path":"src/services/local-function-execution.ts","kind":"import-statement","original":"../services/local-function-execution"},{"path":"src/types.ts","kind":"import-statement","original":"../types"},{"path":"src/triggers/input-builder.ts","kind":"import-statement","original":"./input-builder"},{"path":"src/triggers/invocation-tracer.ts","kind":"import-statement","original":"./invocation-tracer"},{"path":"src/triggers/trigger-state-store.ts","kind":"import-statement","original":"./trigger-state-store"},{"path":"src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/triggers/index.ts":{"bytes":713,"imports":[{"path":"src/triggers/invocation-tracer.ts","kind":"import-statement","original":"./invocation-tracer"},{"path":"src/triggers/trigger-dispatcher.ts","kind":"import-statement","original":"./trigger-dispatcher"},{"path":"src/triggers/trigger-state-store.ts","kind":"import-statement","original":"./trigger-state-store"}],"format":"esm"},"src/executor/executor.ts":{"bytes":5681,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true}],"format":"esm"},"src/executor/index.ts":{"bytes":459,"imports":[{"path":"src/executor/executor.ts","kind":"import-statement","original":"./executor"}],"format":"esm"},"src/examples/fib.ts":{"bytes":3071,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"src/handler.ts","kind":"import-statement","original":"../handler"}],"format":"esm"},"src/examples/reply.ts":{"bytes":1876,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"src/handler.ts","kind":"import-statement","original":"../handler"}],"format":"esm"},"src/examples/sleep.ts":{"bytes":2411,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"src/handler.ts","kind":"import-statement","original":"../handler"}],"format":"esm"},"src/examples/index.ts":{"bytes":847,"imports":[{"path":"src/examples/fib.ts","kind":"import-statement","original":"./fib"},{"path":"src/examples/reply.ts","kind":"import-statement","original":"./reply"},{"path":"src/examples/sleep.ts","kind":"import-statement","original":"./sleep"}],"format":"esm"},"src/index.ts":{"bytes":1302,"imports":[{"path":"src/errors.ts","kind":"import-statement","original":"./errors"},{"path":"src/handler.ts","kind":"import-statement","original":"./handler"},{"path":"src/schema.ts","kind":"import-statement","original":"./schema"},{"path":"src/trace.ts","kind":"import-statement","original":"./trace"},{"path":"src/types.ts","kind":"import-statement","original":"./types"},{"path":"src/url.ts","kind":"import-statement","original":"./url"},{"path":"src/triggers/index.ts","kind":"import-statement","original":"./triggers"},{"path":"src/services/index.ts","kind":"import-statement","original":"./services"},{"path":"src/executor/index.ts","kind":"import-statement","original":"./executor"},{"path":"src/examples/index.ts","kind":"import-statement","original":"./examples"}],"format":"esm"},"src/testing/logger.ts":{"bytes":1635,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/services/index.ts","kind":"import-statement","original":"../services"}],"format":"esm"},"src/testing/services.ts":{"bytes":6645,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"src/services/index.ts","kind":"import-statement","original":"../services"},{"path":"src/testing/logger.ts","kind":"import-statement","original":"./logger"}],"format":"esm"},"src/testing/layer.ts":{"bytes":13682,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo-db/testing","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/kv-store/testing","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/services/index.ts","kind":"import-statement","original":"../services"}],"format":"esm"},"src/testing/index.ts":{"bytes":539,"imports":[{"path":"src/testing/services.ts","kind":"import-statement","original":"./services"},{"path":"src/testing/layer.ts","kind":"import-statement","original":"./layer"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/bundler/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":16006},"dist/lib/node-esm/bundler/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"},{"path":"@effect/platform","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"esbuild-wasm","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"exports":["Bundler","initializeBundler"],"entryPoint":"src/bundler/index.ts","inputs":{"src/bundler/bundler.ts":{"bytesInOutput":8084},"src/bundler/index.ts":{"bytesInOutput":0}},"bytes":8313},"dist/lib/node-esm/edge/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3514},"dist/lib/node-esm/edge/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"},{"path":"@dxos/client/edge","kind":"import-statement","external":true},{"path":"@dxos/edge-client","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"exports":["incrementSemverPatch","publicKeyToDid","uploadWorkerFunction"],"entryPoint":"src/edge/index.ts","inputs":{"src/edge/functions.ts":{"bytesInOutput":1853},"src/edge/index.ts":{"bytesInOutput":0}},"bytes":2115},"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":86253},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-MPKVY7ZR.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@effect/platform","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true}],"exports":["ComputeEvent","ComputeEventLogger","ComputeEventPayload","ConfiguredCredentialsService","ContextQueueService","CredentialsService","DatabaseService","EmailTriggerOutput","FUNCTIONS_META_KEY","FUNCTIONS_PRESET_META_KEY","FUNCTION_TYPES","FunctionDefinition","FunctionError","FunctionExecutor","FunctionImplementationResolver","FunctionManifestSchema","FunctionNotFoundError","FunctionTrigger","FunctionType","InvocationOutcome","InvocationTraceEndEvent","InvocationTraceEventType","InvocationTraceStartEvent","InvocationTracer","LocalFunctionExecutionService","MESSAGE_PROPERTY_TOOL_CALL_ID","QueueService","QueueTriggerOutput","RemoteFunctionExecutionService","SERVICE_TAGS","ScriptType","ServiceContainer","ServiceNotAvailableError","SubscriptionTriggerOutput","TimerTriggerOutput","TraceEvent","TraceEventException","TraceEventLog","TracingService","TriggerDispatcher","TriggerKinds","TriggerSchema","TriggerState","TriggerStateNotFoundError","TriggerStateStore","WebhookTriggerOutput","createDefectLogger","createEventLogger","createInvocationSpans","defineFunction","deserializeFunction","exampleFunctions","getInvocationUrl","getUserFunctionIdInMetadata","logCustomEvent","serializeFunction","setUserFunctionIdInMetadata","withAuthorization"],"entryPoint":"src/index.ts","inputs":{"src/errors.ts":{"bytesInOutput":556},"src/index.ts":{"bytesInOutput":0},"src/handler.ts":{"bytesInOutput":2681},"src/schema.ts":{"bytesInOutput":1634},"src/trace.ts":{"bytesInOutput":4274},"src/types.ts":{"bytesInOutput":4306},"src/triggers/invocation-tracer.ts":{"bytesInOutput":2734},"src/services/local-function-execution.ts":{"bytesInOutput":3053},"src/triggers/trigger-dispatcher.ts":{"bytesInOutput":14045},"src/triggers/input-builder.ts":{"bytesInOutput":770},"src/triggers/trigger-state-store.ts":{"bytesInOutput":2091},"src/executor/executor.ts":{"bytesInOutput":1375},"src/examples/index.ts":{"bytesInOutput":145},"src/examples/fib.ts":{"bytesInOutput":667},"src/examples/reply.ts":{"bytesInOutput":377},"src/examples/sleep.ts":{"bytesInOutput":518}},"bytes":41818},"dist/lib/node-esm/testing/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":11668},"dist/lib/node-esm/testing/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-MPKVY7ZR.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo-db/testing","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/kv-store/testing","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"exports":["TestDatabaseLayer","createTestServices","testStoragePath"],"entryPoint":"src/testing/index.ts","inputs":{"src/testing/services.ts":{"bytesInOutput":904},"src/testing/logger.ts":{"bytesInOutput":201},"src/testing/index.ts":{"bytesInOutput":0},"src/testing/layer.ts":{"bytesInOutput":2861}},"bytes":4453},"dist/lib/node-esm/chunk-MPKVY7ZR.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":45800},"dist/lib/node-esm/chunk-MPKVY7ZR.mjs":{"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@effect/platform","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["ComputeEvent","ComputeEventLogger","ComputeEventPayload","ConfiguredCredentialsService","ContextQueueService","CredentialsService","DatabaseService","FUNCTIONS_META_KEY","FUNCTIONS_PRESET_META_KEY","MESSAGE_PROPERTY_TOOL_CALL_ID","QueueService","RemoteFunctionExecutionService","SERVICE_TAGS","ServiceContainer","TracingService","createDefectLogger","createEventLogger","getInvocationUrl","getUserFunctionIdInMetadata","logCustomEvent","setUserFunctionIdInMetadata","withAuthorization"],"inputs":{"src/url.ts":{"bytesInOutput":1077},"src/services/database.ts":{"bytesInOutput":3641},"src/services/queues.ts":{"bytesInOutput":1543},"src/services/credentials.ts":{"bytesInOutput":3586},"src/services/tracing.ts":{"bytesInOutput":2903},"src/services/event-logger.ts":{"bytesInOutput":3046},"src/services/remote-function-execution-service.ts":{"bytesInOutput":1461},"src/services/service-container.ts":{"bytesInOutput":2779}},"bytes":20949},"dist/lib/node-esm/chunk-HSLMI22Q.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/chunk-HSLMI22Q.mjs":{"imports":[],"exports":["__export"],"inputs":{},"bytes":327}}}
1
+ {"inputs":{"src/bundler/bundler.ts":{"bytes":33439,"imports":[{"path":"@effect/platform","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"esbuild-wasm","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/bundler/index.ts":{"bytes":457,"imports":[{"path":"src/bundler/bundler.ts","kind":"import-statement","original":"./bundler"}],"format":"esm"},"src/edge/functions.ts":{"bytes":6996,"imports":[{"path":"@dxos/client/edge","kind":"import-statement","external":true},{"path":"@dxos/edge-client","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/edge/index.ts":{"bytes":864,"imports":[{"path":"src/edge/functions.ts","kind":"import-statement","original":"./functions"}],"format":"esm"},"src/errors.ts":{"bytes":3093,"imports":[{"path":"@dxos/errors","kind":"import-statement","external":true}],"format":"esm"},"src/schema.ts":{"bytes":6542,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"format":"esm"},"src/handler.ts":{"bytes":15811,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"src/schema.ts","kind":"import-statement","original":"./schema"}],"format":"esm"},"src/types.ts":{"bytes":20376,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"src/schema.ts","kind":"import-statement","original":"./schema"}],"format":"esm"},"src/trace.ts":{"bytes":16919,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/url.ts":{"bytes":5797,"imports":[],"format":"esm"},"src/services/database.ts":{"bytes":16506,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"src/services/queues.ts":{"bytes":6886,"imports":[{"path":"effect","kind":"import-statement","external":true}],"format":"esm"},"src/services/credentials.ts":{"bytes":15123,"imports":[{"path":"@effect/platform","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"src/services/database.ts","kind":"import-statement","original":"./database"}],"format":"esm"},"src/services/tracing.ts":{"bytes":12645,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"format":"esm"},"src/services/event-logger.ts":{"bytes":12016,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/services/tracing.ts","kind":"import-statement","original":"./tracing"}],"format":"esm"},"src/services/remote-function-execution-service.ts":{"bytes":5591,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"src/url.ts","kind":"import-statement","original":"../url"}],"format":"esm"},"src/services/service-container.ts":{"bytes":12560,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/services/credentials.ts","kind":"import-statement","original":"./credentials"},{"path":"src/services/database.ts","kind":"import-statement","original":"./database"},{"path":"src/services/event-logger.ts","kind":"import-statement","original":"./event-logger"},{"path":"src/services/queues.ts","kind":"import-statement","original":"./queues"},{"path":"src/services/remote-function-execution-service.ts","kind":"import-statement","original":"./remote-function-execution-service"},{"path":"src/services/tracing.ts","kind":"import-statement","original":"./tracing"}],"format":"esm"},"src/services/local-function-execution.ts":{"bytes":13322,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"src/errors.ts","kind":"import-statement","original":"../errors"}],"format":"esm"},"src/services/index.ts":{"bytes":1217,"imports":[{"path":"src/services/database.ts","kind":"import-statement","original":"./database"},{"path":"src/services/queues.ts","kind":"import-statement","original":"./queues"},{"path":"src/services/service-container.ts","kind":"import-statement","original":"./service-container"},{"path":"src/services/credentials.ts","kind":"import-statement","original":"./credentials"},{"path":"src/services/tracing.ts","kind":"import-statement","original":"./tracing"},{"path":"src/services/event-logger.ts","kind":"import-statement","original":"./event-logger"},{"path":"src/services/remote-function-execution-service.ts","kind":"import-statement","original":"./remote-function-execution-service"},{"path":"src/services/local-function-execution.ts","kind":"import-statement","original":"./local-function-execution"}],"format":"esm"},"src/triggers/invocation-tracer.ts":{"bytes":11680,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"src/services/index.ts","kind":"import-statement","original":"../services"},{"path":"src/trace.ts","kind":"import-statement","original":"../trace"}],"format":"esm"},"src/triggers/input-builder.ts":{"bytes":3617,"imports":[],"format":"esm"},"src/triggers/trigger-state-store.ts":{"bytes":7894,"imports":[{"path":"@effect/platform","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"src/errors.ts","kind":"import-statement","original":"../errors"}],"format":"esm"},"src/triggers/trigger-dispatcher.ts":{"bytes":58723,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"src/handler.ts","kind":"import-statement","original":"../handler"},{"path":"src/schema.ts","kind":"import-statement","original":"../schema"},{"path":"src/services/index.ts","kind":"import-statement","original":"../services"},{"path":"src/services/local-function-execution.ts","kind":"import-statement","original":"../services/local-function-execution"},{"path":"src/types.ts","kind":"import-statement","original":"../types"},{"path":"src/triggers/input-builder.ts","kind":"import-statement","original":"./input-builder"},{"path":"src/triggers/invocation-tracer.ts","kind":"import-statement","original":"./invocation-tracer"},{"path":"src/triggers/trigger-state-store.ts","kind":"import-statement","original":"./trigger-state-store"},{"path":"src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/triggers/index.ts":{"bytes":713,"imports":[{"path":"src/triggers/invocation-tracer.ts","kind":"import-statement","original":"./invocation-tracer"},{"path":"src/triggers/trigger-dispatcher.ts","kind":"import-statement","original":"./trigger-dispatcher"},{"path":"src/triggers/trigger-state-store.ts","kind":"import-statement","original":"./trigger-state-store"}],"format":"esm"},"src/executor/executor.ts":{"bytes":5681,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true}],"format":"esm"},"src/executor/index.ts":{"bytes":459,"imports":[{"path":"src/executor/executor.ts","kind":"import-statement","original":"./executor"}],"format":"esm"},"src/examples/fib.ts":{"bytes":3071,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"src/handler.ts","kind":"import-statement","original":"../handler"}],"format":"esm"},"src/examples/reply.ts":{"bytes":1876,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"src/handler.ts","kind":"import-statement","original":"../handler"}],"format":"esm"},"src/examples/sleep.ts":{"bytes":2411,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"src/handler.ts","kind":"import-statement","original":"../handler"}],"format":"esm"},"src/examples/index.ts":{"bytes":847,"imports":[{"path":"src/examples/fib.ts","kind":"import-statement","original":"./fib"},{"path":"src/examples/reply.ts","kind":"import-statement","original":"./reply"},{"path":"src/examples/sleep.ts","kind":"import-statement","original":"./sleep"}],"format":"esm"},"src/index.ts":{"bytes":1302,"imports":[{"path":"src/errors.ts","kind":"import-statement","original":"./errors"},{"path":"src/handler.ts","kind":"import-statement","original":"./handler"},{"path":"src/schema.ts","kind":"import-statement","original":"./schema"},{"path":"src/trace.ts","kind":"import-statement","original":"./trace"},{"path":"src/types.ts","kind":"import-statement","original":"./types"},{"path":"src/url.ts","kind":"import-statement","original":"./url"},{"path":"src/triggers/index.ts","kind":"import-statement","original":"./triggers"},{"path":"src/services/index.ts","kind":"import-statement","original":"./services"},{"path":"src/executor/index.ts","kind":"import-statement","original":"./executor"},{"path":"src/examples/index.ts","kind":"import-statement","original":"./examples"}],"format":"esm"},"src/testing/logger.ts":{"bytes":1635,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/services/index.ts","kind":"import-statement","original":"../services"}],"format":"esm"},"src/testing/services.ts":{"bytes":6645,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"src/services/index.ts","kind":"import-statement","original":"../services"},{"path":"src/testing/logger.ts","kind":"import-statement","original":"./logger"}],"format":"esm"},"src/testing/layer.ts":{"bytes":13682,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo-db/testing","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/kv-store/testing","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/services/index.ts","kind":"import-statement","original":"../services"}],"format":"esm"},"src/testing/index.ts":{"bytes":539,"imports":[{"path":"src/testing/services.ts","kind":"import-statement","original":"./services"},{"path":"src/testing/layer.ts","kind":"import-statement","original":"./layer"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/bundler/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":16006},"dist/lib/node-esm/bundler/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"},{"path":"@effect/platform","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"esbuild-wasm","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"exports":["Bundler","initializeBundler"],"entryPoint":"src/bundler/index.ts","inputs":{"src/bundler/bundler.ts":{"bytesInOutput":8084},"src/bundler/index.ts":{"bytesInOutput":0}},"bytes":8313},"dist/lib/node-esm/edge/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3514},"dist/lib/node-esm/edge/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"},{"path":"@dxos/client/edge","kind":"import-statement","external":true},{"path":"@dxos/edge-client","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"exports":["incrementSemverPatch","publicKeyToDid","uploadWorkerFunction"],"entryPoint":"src/edge/index.ts","inputs":{"src/edge/functions.ts":{"bytesInOutput":1853},"src/edge/index.ts":{"bytesInOutput":0}},"bytes":2115},"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":86539},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-Z4CJ62WS.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@effect/platform","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true}],"exports":["ComputeEvent","ComputeEventLogger","ComputeEventPayload","ConfiguredCredentialsService","ContextQueueService","CredentialsService","DatabaseService","EmailTriggerOutput","FUNCTIONS_META_KEY","FUNCTIONS_PRESET_META_KEY","FUNCTION_TYPES","FunctionDefinition","FunctionError","FunctionExecutor","FunctionImplementationResolver","FunctionManifestSchema","FunctionNotFoundError","FunctionTrigger","FunctionType","InvocationOutcome","InvocationTraceEndEvent","InvocationTraceEventType","InvocationTraceStartEvent","InvocationTracer","LocalFunctionExecutionService","MESSAGE_PROPERTY_TOOL_CALL_ID","QueueService","QueueTriggerOutput","RemoteFunctionExecutionService","SERVICE_TAGS","ScriptType","ServiceContainer","ServiceNotAvailableError","SubscriptionTriggerOutput","TimerTriggerOutput","TraceEvent","TraceEventException","TraceEventLog","TracingService","TriggerDispatcher","TriggerKinds","TriggerSchema","TriggerState","TriggerStateNotFoundError","TriggerStateStore","WebhookTriggerOutput","createDefectLogger","createEventLogger","createInvocationSpans","defineFunction","deserializeFunction","exampleFunctions","getInvocationUrl","getUserFunctionIdInMetadata","logCustomEvent","serializeFunction","setUserFunctionIdInMetadata","withAuthorization"],"entryPoint":"src/index.ts","inputs":{"src/errors.ts":{"bytesInOutput":744},"src/index.ts":{"bytesInOutput":0},"src/handler.ts":{"bytesInOutput":2681},"src/schema.ts":{"bytesInOutput":1634},"src/trace.ts":{"bytesInOutput":4274},"src/types.ts":{"bytesInOutput":4306},"src/triggers/invocation-tracer.ts":{"bytesInOutput":2734},"src/services/local-function-execution.ts":{"bytesInOutput":3027},"src/triggers/trigger-dispatcher.ts":{"bytesInOutput":14045},"src/triggers/input-builder.ts":{"bytesInOutput":770},"src/triggers/trigger-state-store.ts":{"bytesInOutput":2066},"src/executor/executor.ts":{"bytesInOutput":1375},"src/examples/index.ts":{"bytesInOutput":145},"src/examples/fib.ts":{"bytesInOutput":667},"src/examples/reply.ts":{"bytesInOutput":377},"src/examples/sleep.ts":{"bytesInOutput":518}},"bytes":41955},"dist/lib/node-esm/testing/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":11668},"dist/lib/node-esm/testing/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-Z4CJ62WS.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-HSLMI22Q.mjs","kind":"import-statement"},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo-db/testing","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/kv-store/testing","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"exports":["TestDatabaseLayer","createTestServices","testStoragePath"],"entryPoint":"src/testing/index.ts","inputs":{"src/testing/services.ts":{"bytesInOutput":904},"src/testing/logger.ts":{"bytesInOutput":201},"src/testing/index.ts":{"bytesInOutput":0},"src/testing/layer.ts":{"bytesInOutput":2861}},"bytes":4453},"dist/lib/node-esm/chunk-Z4CJ62WS.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":45398},"dist/lib/node-esm/chunk-Z4CJ62WS.mjs":{"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@effect/platform","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["ComputeEvent","ComputeEventLogger","ComputeEventPayload","ConfiguredCredentialsService","ContextQueueService","CredentialsService","DatabaseService","FUNCTIONS_META_KEY","FUNCTIONS_PRESET_META_KEY","MESSAGE_PROPERTY_TOOL_CALL_ID","QueueService","RemoteFunctionExecutionService","SERVICE_TAGS","ServiceContainer","TracingService","createDefectLogger","createEventLogger","getInvocationUrl","getUserFunctionIdInMetadata","logCustomEvent","setUserFunctionIdInMetadata","withAuthorization"],"inputs":{"src/url.ts":{"bytesInOutput":1077},"src/services/database.ts":{"bytesInOutput":3422},"src/services/queues.ts":{"bytesInOutput":1543},"src/services/credentials.ts":{"bytesInOutput":3586},"src/services/tracing.ts":{"bytesInOutput":2903},"src/services/event-logger.ts":{"bytesInOutput":3046},"src/services/remote-function-execution-service.ts":{"bytesInOutput":1461},"src/services/service-container.ts":{"bytesInOutput":2779}},"bytes":20730},"dist/lib/node-esm/chunk-HSLMI22Q.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/chunk-HSLMI22Q.mjs":{"imports":[],"exports":["__export"],"inputs":{},"bytes":327}}}
@@ -5,7 +5,7 @@ import {
5
5
  QueueService,
6
6
  ServiceContainer,
7
7
  createEventLogger
8
- } from "../chunk-MPKVY7ZR.mjs";
8
+ } from "../chunk-Z4CJ62WS.mjs";
9
9
  import "../chunk-HSLMI22Q.mjs";
10
10
 
11
11
  // src/testing/services.ts
@@ -1,98 +1,98 @@
1
- import { BaseError } from '@dxos/errors';
1
+ import { BaseError, type BaseErrorOptions } from '@dxos/errors';
2
2
  declare const ServiceNotAvailableError_base: {
3
- new (message: string, options?: import("@dxos/errors").BaseErrorOptions): {
3
+ new (options?: BaseErrorOptions): {
4
4
  #code: "SERVICE_NOT_AVAILABLE";
5
5
  #context: Record<string, unknown>;
6
6
  readonly name: "SERVICE_NOT_AVAILABLE";
7
+ readonly message: string;
7
8
  readonly code: "SERVICE_NOT_AVAILABLE";
8
9
  readonly _tag: "SERVICE_NOT_AVAILABLE";
9
10
  readonly context: Record<string, unknown>;
10
- message: string;
11
11
  stack?: string;
12
12
  cause?: unknown;
13
13
  };
14
14
  code: "SERVICE_NOT_AVAILABLE";
15
15
  is(error: unknown): error is BaseError;
16
- wrap(message: string, options?: Omit<import("@dxos/errors").BaseErrorOptions, "cause">): (error: unknown) => {
16
+ wrap(options?: Omit<BaseErrorOptions, "cause">): (error: unknown) => {
17
17
  #code: "SERVICE_NOT_AVAILABLE";
18
18
  #context: Record<string, unknown>;
19
19
  readonly name: "SERVICE_NOT_AVAILABLE";
20
+ readonly message: string;
20
21
  readonly code: "SERVICE_NOT_AVAILABLE";
21
22
  readonly _tag: "SERVICE_NOT_AVAILABLE";
22
23
  readonly context: Record<string, unknown>;
23
- message: string;
24
24
  stack?: string;
25
25
  cause?: unknown;
26
26
  };
27
- extend<Code extends string>(code: Code): any;
27
+ extend<Code extends string = string>(code: Code, message?: string): any;
28
28
  isError(error: unknown): error is Error;
29
29
  captureStackTrace(targetObject: object, constructorOpt?: Function): void;
30
30
  prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
31
31
  stackTraceLimit: number;
32
32
  };
33
33
  export declare class ServiceNotAvailableError extends ServiceNotAvailableError_base {
34
- constructor(serviceName: string);
34
+ constructor(service: string, options?: Omit<BaseErrorOptions, 'context'>);
35
35
  }
36
36
  declare const FunctionNotFoundError_base: {
37
- new (message: string, options?: import("@dxos/errors").BaseErrorOptions): {
37
+ new (options?: BaseErrorOptions): {
38
38
  #code: "FUNCTION_NOT_FOUND";
39
39
  #context: Record<string, unknown>;
40
40
  readonly name: "FUNCTION_NOT_FOUND";
41
+ readonly message: string;
41
42
  readonly code: "FUNCTION_NOT_FOUND";
42
43
  readonly _tag: "FUNCTION_NOT_FOUND";
43
44
  readonly context: Record<string, unknown>;
44
- message: string;
45
45
  stack?: string;
46
46
  cause?: unknown;
47
47
  };
48
48
  code: "FUNCTION_NOT_FOUND";
49
49
  is(error: unknown): error is BaseError;
50
- wrap(message: string, options?: Omit<import("@dxos/errors").BaseErrorOptions, "cause">): (error: unknown) => {
50
+ wrap(options?: Omit<BaseErrorOptions, "cause">): (error: unknown) => {
51
51
  #code: "FUNCTION_NOT_FOUND";
52
52
  #context: Record<string, unknown>;
53
53
  readonly name: "FUNCTION_NOT_FOUND";
54
+ readonly message: string;
54
55
  readonly code: "FUNCTION_NOT_FOUND";
55
56
  readonly _tag: "FUNCTION_NOT_FOUND";
56
57
  readonly context: Record<string, unknown>;
57
- message: string;
58
58
  stack?: string;
59
59
  cause?: unknown;
60
60
  };
61
- extend<Code extends string>(code: Code): any;
61
+ extend<Code extends string = string>(code: Code, message?: string): any;
62
62
  isError(error: unknown): error is Error;
63
63
  captureStackTrace(targetObject: object, constructorOpt?: Function): void;
64
64
  prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
65
65
  stackTraceLimit: number;
66
66
  };
67
67
  export declare class FunctionNotFoundError extends FunctionNotFoundError_base {
68
- constructor(functionKey: string);
68
+ constructor(functionKey: string, options?: Omit<BaseErrorOptions, 'context'>);
69
69
  }
70
70
  declare const FunctionError_base: {
71
- new (message: string, options?: import("@dxos/errors").BaseErrorOptions): {
71
+ new (options?: BaseErrorOptions): {
72
72
  #code: "FUNCTION_ERROR";
73
73
  #context: Record<string, unknown>;
74
74
  readonly name: "FUNCTION_ERROR";
75
+ readonly message: string;
75
76
  readonly code: "FUNCTION_ERROR";
76
77
  readonly _tag: "FUNCTION_ERROR";
77
78
  readonly context: Record<string, unknown>;
78
- message: string;
79
79
  stack?: string;
80
80
  cause?: unknown;
81
81
  };
82
82
  code: "FUNCTION_ERROR";
83
83
  is(error: unknown): error is BaseError;
84
- wrap(message: string, options?: Omit<import("@dxos/errors").BaseErrorOptions, "cause">): (error: unknown) => {
84
+ wrap(options?: Omit<BaseErrorOptions, "cause">): (error: unknown) => {
85
85
  #code: "FUNCTION_ERROR";
86
86
  #context: Record<string, unknown>;
87
87
  readonly name: "FUNCTION_ERROR";
88
+ readonly message: string;
88
89
  readonly code: "FUNCTION_ERROR";
89
90
  readonly _tag: "FUNCTION_ERROR";
90
91
  readonly context: Record<string, unknown>;
91
- message: string;
92
92
  stack?: string;
93
93
  cause?: unknown;
94
94
  };
95
- extend<Code extends string>(code: Code): any;
95
+ extend<Code extends string = string>(code: Code, message?: string): any;
96
96
  isError(error: unknown): error is Error;
97
97
  captureStackTrace(targetObject: object, constructorOpt?: Function): void;
98
98
  prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
@@ -101,31 +101,31 @@ declare const FunctionError_base: {
101
101
  export declare class FunctionError extends FunctionError_base {
102
102
  }
103
103
  declare const TriggerStateNotFoundError_base: {
104
- new (message: string, options?: import("@dxos/errors").BaseErrorOptions): {
104
+ new (options?: BaseErrorOptions): {
105
105
  #code: "TRIGGER_STATE_NOT_FOUND";
106
106
  #context: Record<string, unknown>;
107
107
  readonly name: "TRIGGER_STATE_NOT_FOUND";
108
+ readonly message: string;
108
109
  readonly code: "TRIGGER_STATE_NOT_FOUND";
109
110
  readonly _tag: "TRIGGER_STATE_NOT_FOUND";
110
111
  readonly context: Record<string, unknown>;
111
- message: string;
112
112
  stack?: string;
113
113
  cause?: unknown;
114
114
  };
115
115
  code: "TRIGGER_STATE_NOT_FOUND";
116
116
  is(error: unknown): error is BaseError;
117
- wrap(message: string, options?: Omit<import("@dxos/errors").BaseErrorOptions, "cause">): (error: unknown) => {
117
+ wrap(options?: Omit<BaseErrorOptions, "cause">): (error: unknown) => {
118
118
  #code: "TRIGGER_STATE_NOT_FOUND";
119
119
  #context: Record<string, unknown>;
120
120
  readonly name: "TRIGGER_STATE_NOT_FOUND";
121
+ readonly message: string;
121
122
  readonly code: "TRIGGER_STATE_NOT_FOUND";
122
123
  readonly _tag: "TRIGGER_STATE_NOT_FOUND";
123
124
  readonly context: Record<string, unknown>;
124
- message: string;
125
125
  stack?: string;
126
126
  cause?: unknown;
127
127
  };
128
- extend<Code extends string>(code: Code): any;
128
+ extend<Code extends string = string>(code: Code, message?: string): any;
129
129
  isError(error: unknown): error is Error;
130
130
  captureStackTrace(targetObject: object, constructorOpt?: Function): void;
131
131
  prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/errors.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEzC,qBAAa,wBAAyB,SAAQ,6BAAyC;gBACzE,WAAW,EAAE,MAAM;CAGhC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAED,qBAAa,qBAAsB,SAAQ,0BAAsC;gBACnE,WAAW,EAAE,MAAM;CAGhC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAED,qBAAa,aAAc,SAAQ,kBAAkC;CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAExE,qBAAa,yBAA0B,SAAQ,8BAA2C;CAAG"}
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/errors.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,KAAK,gBAAgB,EAAE,MAAM,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEhE,qBAAa,wBAAyB,SAAQ,6BAAkE;gBAClG,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,gBAAgB,EAAE,SAAS,CAAC;CAGzE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAED,qBAAa,qBAAsB,SAAQ,0BAA4D;gBACzF,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,gBAAgB,EAAE,SAAS,CAAC;CAG7E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAED,qBAAa,aAAc,SAAQ,kBAA+D;CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAErG,qBAAa,yBAA0B,SAAQ,8BAAsE;CAAG"}
@@ -1,9 +1,8 @@
1
1
  import { Context, Effect, Layer, Option, type Schema } from 'effect';
2
- import { type Filter, type Live, Obj, type Query, type Ref, type Relation, type Type } from '@dxos/echo';
2
+ import { type Filter, type Live, Obj, ObjectNotFoundError, type Query, type Ref, type Relation, type Type } from '@dxos/echo';
3
3
  import type { EchoDatabase, FlushOptions, OneShotQueryResult, QueryResult, SchemaRegistryQuery } from '@dxos/echo-db';
4
4
  import type { SchemaRegistryPreparedQuery } from '@dxos/echo-db';
5
5
  import type { EchoSchema } from '@dxos/echo-schema';
6
- import { BaseError } from '@dxos/errors';
7
6
  import type { DXN } from '@dxos/keys';
8
7
  declare const DatabaseService_base: Context.TagClass<DatabaseService, "@dxos/functions/DatabaseService", {
9
8
  readonly db: EchoDatabase;
@@ -60,39 +59,5 @@ export declare class DatabaseService extends DatabaseService_base {
60
59
  static schemaQuery: <Q extends SchemaRegistryQuery>(query: Q) => Effect.Effect<SchemaRegistryPreparedQuery<EchoSchema>, never, DatabaseService>;
61
60
  static runSchemaQuery: <Q extends SchemaRegistryQuery>(query: Q) => Effect.Effect<EchoSchema[], never, DatabaseService>;
62
61
  }
63
- declare const ObjectNotFoundError_base: {
64
- new (message: string, options?: import("@dxos/errors").BaseErrorOptions): {
65
- #code: "OBJECT_NOT_FOUND";
66
- #context: Record<string, unknown>;
67
- readonly name: "OBJECT_NOT_FOUND";
68
- readonly code: "OBJECT_NOT_FOUND";
69
- readonly _tag: "OBJECT_NOT_FOUND";
70
- readonly context: Record<string, unknown>;
71
- message: string;
72
- stack?: string;
73
- cause?: unknown;
74
- };
75
- code: "OBJECT_NOT_FOUND";
76
- is(error: unknown): error is BaseError;
77
- wrap(message: string, options?: Omit<import("@dxos/errors").BaseErrorOptions, "cause">): (error: unknown) => {
78
- #code: "OBJECT_NOT_FOUND";
79
- #context: Record<string, unknown>;
80
- readonly name: "OBJECT_NOT_FOUND";
81
- readonly code: "OBJECT_NOT_FOUND";
82
- readonly _tag: "OBJECT_NOT_FOUND";
83
- readonly context: Record<string, unknown>;
84
- message: string;
85
- stack?: string;
86
- cause?: unknown;
87
- };
88
- extend<Code extends string>(code: Code): any;
89
- isError(error: unknown): error is Error;
90
- captureStackTrace(targetObject: object, constructorOpt?: Function): void;
91
- prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
92
- stackTraceLimit: number;
93
- };
94
- declare class ObjectNotFoundError extends ObjectNotFoundError_base {
95
- constructor(context?: Record<string, unknown>);
96
- }
97
62
  export {};
98
63
  //# sourceMappingURL=database.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"database.d.ts","sourceRoot":"","sources":["../../../../src/services/database.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,MAAM,EAAE,MAAM,QAAQ,CAAC;AAErE,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,IAAI,EAAE,GAAG,EAAE,KAAK,KAAK,EAAE,KAAK,GAAG,EAAE,KAAK,QAAQ,EAAE,KAAK,IAAI,EAAE,MAAM,YAAY,CAAC;AACzG,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,kBAAkB,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACtH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,eAAe,CAAC;AACjE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;;iBAKrB,YAAY;;AAH7B,qBAAa,eAAgB,SAAQ,oBAKlC;IACD,MAAM,CAAC,YAAY,6CAIhB;IAEH,MAAM,CAAC,IAAI,GAAI,IAAI,YAAY,KAAG,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,eAA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