stitchkit 0.104.1 → 0.105.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +381 -12
- package/darwin-native.cjs +4 -2
- package/dist/agent-runtime/browser-control-contract.d.ts +32 -2
- package/dist/agent-runtime/browser-control-contract.d.ts.map +1 -1
- package/dist/agent-runtime/browser-controller.d.ts +21 -3
- package/dist/agent-runtime/browser-controller.d.ts.map +1 -1
- package/dist/agent-runtime/coding-shell-process.d.ts.map +1 -1
- package/dist/agent-runtime/coding-tool-refusals.d.ts +1 -0
- package/dist/agent-runtime/coding-tool-refusals.d.ts.map +1 -1
- package/dist/agent-runtime/coding-tool-shell.d.ts.map +1 -1
- package/dist/agent-runtime/compaction.d.ts.map +1 -1
- package/dist/agent-runtime/contained-write.d.ts.map +1 -1
- package/dist/agent-runtime/control-schema.d.ts +48 -1
- package/dist/agent-runtime/control-schema.d.ts.map +1 -1
- package/dist/agent-runtime/deferred-tool-search.d.ts +3 -2
- package/dist/agent-runtime/deferred-tool-search.d.ts.map +1 -1
- package/dist/agent-runtime/harness-control.d.ts.map +1 -1
- package/dist/agent-runtime/harness-realtime.d.ts +34 -4
- package/dist/agent-runtime/harness-realtime.d.ts.map +1 -1
- package/dist/agent-runtime/runtime-recovery.d.ts.map +1 -1
- package/dist/agent-runtime/runtime-state.d.ts.map +1 -1
- package/dist/agent-runtime/sandbox-contract.d.ts.map +1 -1
- package/dist/agent-runtime/sandbox-process-owner.d.ts +9 -1
- package/dist/agent-runtime/sandbox-process-owner.d.ts.map +1 -1
- package/dist/agent-runtime/sandbox.d.ts +32 -1
- package/dist/agent-runtime/sandbox.d.ts.map +1 -1
- package/dist/agent-runtime/schedule-records.d.ts.map +1 -1
- package/dist/agent-runtime/schedules.d.ts.map +1 -1
- package/dist/agent-runtime/store-events.d.ts +9 -4
- package/dist/agent-runtime/store-events.d.ts.map +1 -1
- package/dist/agent-runtime/testing.d.ts.map +1 -1
- package/dist/application/diagnostic-journal-contract.d.ts +50 -0
- package/dist/application/diagnostic-journal-contract.d.ts.map +1 -1
- package/dist/application/diagnostic-journal-generations.d.ts +24 -0
- package/dist/application/diagnostic-journal-generations.d.ts.map +1 -0
- package/dist/application/diagnostic-journal-manager.d.ts.map +1 -1
- package/dist/application/diagnostic-journal-open.d.ts +10 -0
- package/dist/application/diagnostic-journal-open.d.ts.map +1 -0
- package/dist/application/diagnostic-journal-quarantine.d.ts +28 -0
- package/dist/application/diagnostic-journal-quarantine.d.ts.map +1 -0
- package/dist/application/diagnostic-journal-read-contract.d.ts +73 -3
- package/dist/application/diagnostic-journal-read-contract.d.ts.map +1 -1
- package/dist/application/diagnostic-journal-reader.d.ts +17 -2
- package/dist/application/diagnostic-journal-reader.d.ts.map +1 -1
- package/dist/application/diagnostic-journal-recovery.d.ts +18 -2
- package/dist/application/diagnostic-journal-recovery.d.ts.map +1 -1
- package/dist/application/diagnostic-journal-storage.d.ts +6 -2
- package/dist/application/diagnostic-journal-storage.d.ts.map +1 -1
- package/dist/application/diagnostic-journal-tail.d.ts +12 -0
- package/dist/application/diagnostic-journal-tail.d.ts.map +1 -0
- package/dist/application/diagnostic-journal.d.ts +3 -0
- package/dist/application/diagnostic-journal.d.ts.map +1 -1
- package/dist/application/directory-inbox-accept.d.ts +3 -3
- package/dist/application/directory-inbox-accept.d.ts.map +1 -1
- package/dist/application/directory-inbox-contract.d.ts +38 -10
- package/dist/application/directory-inbox-contract.d.ts.map +1 -1
- package/dist/application/directory-inbox-delivery.d.ts +3 -3
- package/dist/application/directory-inbox-delivery.d.ts.map +1 -1
- package/dist/application/directory-inbox-files.d.ts +17 -2
- package/dist/application/directory-inbox-files.d.ts.map +1 -1
- package/dist/application/directory-inbox-state.d.ts +1 -1
- package/dist/application/directory-inbox-state.d.ts.map +1 -1
- package/dist/application/directory-inbox.d.ts +1 -1
- package/dist/application/directory-inbox.d.ts.map +1 -1
- package/dist/application/file-state-store.d.ts +21 -1
- package/dist/application/file-state-store.d.ts.map +1 -1
- package/dist/application/grammy.d.ts.map +1 -1
- package/dist/application/kernel-contract.d.ts.map +1 -1
- package/dist/application/revision-signal.d.ts.map +1 -1
- package/dist/application/state-store.d.ts +3 -0
- package/dist/application/state-store.d.ts.map +1 -1
- package/dist/browser/api-error.d.ts +38 -0
- package/dist/browser/api-error.d.ts.map +1 -0
- package/dist/browser/chunked-upload.d.ts.map +1 -1
- package/dist/browser/client-executors.d.ts.map +1 -1
- package/dist/browser/client-url.d.ts.map +1 -1
- package/dist/browser/contract-stream.d.ts.map +1 -1
- package/dist/browser/http.d.ts +0 -25
- package/dist/browser/http.d.ts.map +1 -1
- package/dist/browser/resumable.d.ts.map +1 -1
- package/dist/contract/define-validation.d.ts +0 -1
- package/dist/contract/define-validation.d.ts.map +1 -1
- package/dist/contract/define.d.ts.map +1 -1
- package/dist/contract/errors-factory.d.ts.map +1 -1
- package/dist/contract/errors.d.ts +15 -18
- package/dist/contract/errors.d.ts.map +1 -1
- package/dist/contract/normalize.d.ts.map +1 -1
- package/dist/durability/effect.d.ts.map +1 -1
- package/dist/durability/scheduler.d.ts.map +1 -1
- package/dist/entrypoints/agent-runtime/browser.js +29 -18
- package/dist/entrypoints/agent-runtime/coding-tools.js +8 -7
- package/dist/entrypoints/agent-runtime/harness.js +15 -14
- package/dist/entrypoints/agent-runtime/realtime.d.ts +1 -1
- package/dist/entrypoints/agent-runtime/realtime.d.ts.map +1 -1
- package/dist/entrypoints/agent-runtime/realtime.js +119 -54
- package/dist/entrypoints/agent-runtime/sandbox.js +23 -17
- package/dist/entrypoints/agent-runtime/sqlite/bun.js +4 -3
- package/dist/entrypoints/agent-runtime/sqlite/node.js +4 -3
- package/dist/entrypoints/agent-runtime/testing.js +8 -6
- package/dist/entrypoints/agent-runtime.js +37 -38
- package/dist/entrypoints/application/diagnostic-journal.js +305 -111
- package/dist/entrypoints/application/directory-inbox.js +174 -77
- package/dist/entrypoints/application/grammy.js +5 -2
- package/dist/entrypoints/application/opentelemetry.js +2 -2
- package/dist/entrypoints/application.d.ts +2 -2
- package/dist/entrypoints/application.d.ts.map +1 -1
- package/dist/entrypoints/application.js +17 -8
- package/dist/entrypoints/cli/publish.d.ts +16 -0
- package/dist/entrypoints/cli/publish.d.ts.map +1 -0
- package/dist/entrypoints/cli/publish.js +527 -0
- package/dist/entrypoints/cli.d.ts +1 -2
- package/dist/entrypoints/cli.d.ts.map +1 -1
- package/dist/entrypoints/cli.js +59 -966
- package/dist/entrypoints/contract.js +3 -3
- package/dist/entrypoints/files/packaging.js +196 -56
- package/dist/entrypoints/files.d.ts +1 -0
- package/dist/entrypoints/files.d.ts.map +1 -1
- package/dist/entrypoints/files.js +17 -10
- package/dist/entrypoints/index.d.ts +2 -1
- package/dist/entrypoints/index.d.ts.map +1 -1
- package/dist/entrypoints/index.js +31 -60
- package/dist/entrypoints/node.js +8 -8
- package/dist/entrypoints/observability.js +3 -3
- package/dist/entrypoints/primitives.js +67 -83
- package/dist/entrypoints/process.d.ts +1 -1
- package/dist/entrypoints/process.d.ts.map +1 -1
- package/dist/entrypoints/process.js +2 -2
- package/dist/entrypoints/react.js +4 -2
- package/dist/entrypoints/remote.js +37 -13
- package/dist/entrypoints/server.js +18 -16
- package/dist/entrypoints/telegram/screens.js +5 -3
- package/dist/entrypoints/telegram.js +31 -46
- package/dist/entrypoints/testing.d.ts +1 -1
- package/dist/entrypoints/testing.d.ts.map +1 -1
- package/dist/entrypoints/testing.js +444 -448
- package/dist/entrypoints/tools/connections.js +268 -105
- package/dist/entrypoints/tools/contract.js +2 -2
- package/dist/entrypoints/tools/invoker.js +8 -7
- package/dist/entrypoints/tools/mcp.d.ts +2 -2
- package/dist/entrypoints/tools/mcp.d.ts.map +1 -1
- package/dist/entrypoints/tools/mcp.js +10 -9
- package/dist/entrypoints/tools.d.ts +0 -1
- package/dist/entrypoints/tools.d.ts.map +1 -1
- package/dist/entrypoints/tools.js +118 -53
- package/dist/entrypoints/tracking.js +2 -3
- package/dist/files/boundary.d.ts +2 -2
- package/dist/files/boundary.d.ts.map +1 -1
- package/dist/files/chunk-spool.d.ts.map +1 -1
- package/dist/files/file-io.d.ts +2 -2
- package/dist/files/file-io.d.ts.map +1 -1
- package/dist/files/native-packaging-layout.d.ts +50 -4
- package/dist/files/native-packaging-layout.d.ts.map +1 -1
- package/dist/files/native-packaging.d.ts +104 -21
- package/dist/files/native-packaging.d.ts.map +1 -1
- package/dist/{index-r5hsgkz5.js → index-0gs4ymfj.js} +6 -3
- package/dist/{index-zax7resm.js → index-0gxvns6s.js} +1 -13
- package/dist/index-0s4xebbg.js +8 -0
- package/dist/{index-r4r70zmh.js → index-12zsej7b.js} +5 -2
- package/dist/{index-kemm0ej5.js → index-1pwwan01.js} +65 -22
- package/dist/{index-vgkbcnkc.js → index-299sm5tr.js} +1 -1
- package/dist/{index-2vnh05w4.js → index-2k91mewf.js} +31 -74
- package/dist/{index-269zqj8m.js → index-2rc6jd9n.js} +28 -12
- package/dist/{index-wh0ecvyk.js → index-37asdw3a.js} +1 -1
- package/dist/index-3h0ztg0z.js +285 -0
- package/dist/{index-g95fk660.js → index-4vsby8n8.js} +8 -15
- package/dist/index-556g5hsh.js +17 -0
- package/dist/{index-adhgd4pe.js → index-5p55xreg.js} +2 -2
- package/dist/index-5w6t91ze.js +47 -0
- package/dist/{index-9pw0a51a.js → index-6yxhe58g.js} +40 -7
- package/dist/{index-6d9xaxw1.js → index-8ks9b85e.js} +33 -5
- package/dist/{index-bhb950qs.js → index-916yh4e2.js} +25 -12
- package/dist/index-9tqbxv5p.js +44 -0
- package/dist/{index-5csmzesf.js → index-azx12jgv.js} +4 -3
- package/dist/{index-mbnnw3f2.js → index-b0kddvzw.js} +15 -5
- package/dist/{index-n5yqxd3d.js → index-b0w7rbpt.js} +23 -2
- package/dist/index-b56nnscm.js +132 -0
- package/dist/{index-0ndk4555.js → index-c0hffcmj.js} +2 -2
- package/dist/{index-pptyv13k.js → index-c17xcx4k.js} +42 -6
- package/dist/{index-g2j7pnak.js → index-cmzvhhtd.js} +5 -2
- package/dist/index-cq59agna.js +51 -0
- package/dist/{index-ssmd41kh.js → index-d2h99n7d.js} +1 -1
- package/dist/{index-z94wht4y.js → index-dky0dcmf.js} +34 -5
- package/dist/{index-za6j7nwy.js → index-dsnjzb62.js} +104 -51
- package/dist/index-eemvahkc.js +21 -0
- package/dist/index-ef8gdaq0.js +105 -0
- package/dist/{index-fa4wg312.js → index-f199nfq5.js} +10 -6
- package/dist/{index-ck71tbcf.js → index-fsw1ybf3.js} +11 -15
- package/dist/{index-f330qqyg.js → index-g2vfg7ak.js} +217 -63
- package/dist/{index-fk18k56k.js → index-gr5g3xfw.js} +11 -18
- package/dist/{index-jn9g8xdt.js → index-hjvje0pf.js} +6 -4
- package/dist/{index-x928baz2.js → index-j9gxbztg.js} +18 -14
- package/dist/index-kfjkb396.js +37 -0
- package/dist/{index-6drst9sg.js → index-ksfagmyz.js} +45 -345
- package/dist/index-m616f0yz.js +120 -0
- package/dist/{index-fm1c1a08.js → index-m6w6jtda.js} +40 -21
- package/dist/{index-ptn0g0gj.js → index-ma963wz7.js} +21 -20
- package/dist/{index-bakgedh8.js → index-msfpyy2f.js} +2 -4
- package/dist/{index-ywppsaby.js → index-n1nszyk0.js} +23 -34
- package/dist/{index-v14qqmys.js → index-n4689krb.js} +1 -1
- package/dist/{index-a0zzh8ak.js → index-pz3y6b6g.js} +3 -3
- package/dist/{index-43p08g7t.js → index-pzb63z66.js} +12 -8
- package/dist/{index-h97tqqp1.js → index-qaet40b2.js} +5 -3
- package/dist/{index-t1sr4aks.js → index-qaqbdm7s.js} +52 -6
- package/dist/{index-77nxk6ay.js → index-r393tnfp.js} +16 -10
- package/dist/{index-kb8styz3.js → index-rpzewktb.js} +15 -5
- package/dist/{index-27a2pj09.js → index-sj28htvf.js} +1 -1
- package/dist/index-szybbezc.js +455 -0
- package/dist/{index-2hyavjjj.js → index-wbhdzxar.js} +3 -3
- package/dist/{index-4e0ah203.js → index-wdy68sh6.js} +47 -24
- package/dist/{index-hbd32c6a.js → index-wqmvtnkp.js} +38 -89
- package/dist/{index-hp9d77wk.js → index-x7w1z6pf.js} +15 -4
- package/dist/{index-20yvtn9a.js → index-yt7gyg5x.js} +1 -1
- package/dist/{index-cvda079a.js → index-yvfk3y36.js} +12 -2
- package/dist/{index-5z6jn897.js → index-z23rfxhj.js} +1 -1
- package/dist/internal/abort-race.d.ts +8 -2
- package/dist/internal/abort-race.d.ts.map +1 -1
- package/dist/internal/atomic-file.d.ts +55 -9
- package/dist/internal/atomic-file.d.ts.map +1 -1
- package/dist/internal/atomic-publication.d.ts +39 -4
- package/dist/internal/atomic-publication.d.ts.map +1 -1
- package/dist/internal/atomic-staging.d.ts +46 -0
- package/dist/internal/atomic-staging.d.ts.map +1 -0
- package/dist/internal/bounded-file-read.d.ts +19 -11
- package/dist/internal/bounded-file-read.d.ts.map +1 -1
- package/dist/internal/bounded-lines.d.ts.map +1 -1
- package/dist/internal/close-after.d.ts +11 -0
- package/dist/internal/close-after.d.ts.map +1 -0
- package/dist/internal/deadline.d.ts +10 -0
- package/dist/internal/deadline.d.ts.map +1 -1
- package/dist/internal/exclusive-lock-read.d.ts +10 -12
- package/dist/internal/exclusive-lock-read.d.ts.map +1 -1
- package/dist/internal/exclusive-lock.d.ts +2 -2
- package/dist/internal/exclusive-lock.d.ts.map +1 -1
- package/dist/internal/file-observation.d.ts +14 -0
- package/dist/internal/file-observation.d.ts.map +1 -0
- package/dist/internal/json-data.d.ts +22 -5
- package/dist/internal/json-data.d.ts.map +1 -1
- package/dist/internal/positive-integer.d.ts +9 -0
- package/dist/internal/positive-integer.d.ts.map +1 -0
- package/dist/internal/process-instance.d.ts +35 -5
- package/dist/internal/process-instance.d.ts.map +1 -1
- package/dist/internal/secure-fetch.d.ts.map +1 -1
- package/dist/internal/timers.d.ts +11 -0
- package/dist/internal/timers.d.ts.map +1 -0
- package/dist/internal/with-exclusive-lock.d.ts +5 -4
- package/dist/internal/with-exclusive-lock.d.ts.map +1 -1
- package/dist/observability/bounded-sink.d.ts.map +1 -1
- package/dist/primitives/canonical-json.d.ts +23 -2
- package/dist/primitives/canonical-json.d.ts.map +1 -1
- package/dist/primitives/delivery.d.ts.map +1 -1
- package/dist/primitives/index.d.ts +1 -1
- package/dist/primitives/index.d.ts.map +1 -1
- package/dist/primitives/money.d.ts.map +1 -1
- package/dist/process/cleanup.d.ts +6 -1
- package/dist/process/cleanup.d.ts.map +1 -1
- package/dist/process/command-lifetime.d.ts +4 -0
- package/dist/process/command-lifetime.d.ts.map +1 -1
- package/dist/process/command-owner.d.ts.map +1 -1
- package/dist/process/command.d.ts +4 -0
- package/dist/process/command.d.ts.map +1 -1
- package/dist/process/contract.d.ts +67 -2
- package/dist/process/contract.d.ts.map +1 -1
- package/dist/process/group.d.ts +40 -3
- package/dist/process/group.d.ts.map +1 -1
- package/dist/process/launch.d.ts +12 -1
- package/dist/process/launch.d.ts.map +1 -1
- package/dist/process/terminate.d.ts +39 -0
- package/dist/process/terminate.d.ts.map +1 -0
- package/dist/react/query-client.d.ts.map +1 -1
- package/dist/realtime/rejection.d.ts.map +1 -1
- package/dist/server/contract-stream.d.ts.map +1 -1
- package/dist/server/handler-state.d.ts.map +1 -1
- package/dist/server/implement.d.ts.map +1 -1
- package/dist/server/request-body.d.ts +0 -1
- package/dist/server/request-body.d.ts.map +1 -1
- package/dist/server/unix-client.d.ts.map +1 -1
- package/dist/telegram/broadcast-delivery.d.ts.map +1 -1
- package/dist/telegram/broadcast-failure.d.ts +10 -2
- package/dist/telegram/broadcast-failure.d.ts.map +1 -1
- package/dist/telegram/operator-channel.d.ts.map +1 -1
- package/dist/telegram/screens/outcome.d.ts.map +1 -1
- package/dist/testing/surface-conformance.d.ts +1 -1
- package/dist/testing/surface-conformance.d.ts.map +1 -1
- package/dist/testing/surface-manifest.d.ts +0 -6
- package/dist/testing/surface-manifest.d.ts.map +1 -1
- package/dist/tools/agent.d.ts +1 -1
- package/dist/tools/agent.d.ts.map +1 -1
- package/dist/tools/cli/args.d.ts +1 -1
- package/dist/tools/cli/args.d.ts.map +1 -1
- package/dist/tools/cli/help.d.ts.map +1 -1
- package/dist/tools/cli/invoke.d.ts +2 -2
- package/dist/tools/cli/invoke.d.ts.map +1 -1
- package/dist/tools/cli/profile.d.ts.map +1 -1
- package/dist/tools/cli/publication-assets.d.ts.map +1 -1
- package/dist/tools/cli/publication-contract.d.ts +8 -0
- package/dist/tools/cli/publication-contract.d.ts.map +1 -1
- package/dist/tools/cli/publication-control.d.ts.map +1 -1
- package/dist/tools/cli/publication-storage.d.ts +23 -2
- package/dist/tools/cli/publication-storage.d.ts.map +1 -1
- package/dist/tools/cli/publication.d.ts +8 -1
- package/dist/tools/cli/publication.d.ts.map +1 -1
- package/dist/tools/connections/errors.d.ts +18 -6
- package/dist/tools/connections/errors.d.ts.map +1 -1
- package/dist/tools/connections/limits.d.ts +8 -2
- package/dist/tools/connections/limits.d.ts.map +1 -1
- package/dist/tools/connections/mcp-client.d.ts.map +1 -1
- package/dist/tools/connections/mcp-envelope.d.ts.map +1 -1
- package/dist/tools/connections/openapi.d.ts.map +1 -1
- package/dist/tools/connections/schema-budget.d.ts +1 -1
- package/dist/tools/connections/schema-budget.d.ts.map +1 -1
- package/dist/tools/connections/sse-session.d.ts.map +1 -1
- package/dist/tools/execute-args.d.ts.map +1 -1
- package/dist/tools/execute-result.d.ts.map +1 -1
- package/dist/tools/internal/surface-projector.d.ts +17 -3
- package/dist/tools/internal/surface-projector.d.ts.map +1 -1
- package/dist/tools/internal/tool-error-projection.d.ts +16 -0
- package/dist/tools/internal/tool-error-projection.d.ts.map +1 -0
- package/dist/tools/internal/tool-view.d.ts.map +1 -1
- package/dist/tools/invoker.d.ts.map +1 -1
- package/dist/tools/list-names.d.ts +3 -2
- package/dist/tools/list-names.d.ts.map +1 -1
- package/dist/tools/manifest.d.ts +3 -2
- package/dist/tools/manifest.d.ts.map +1 -1
- package/dist/tools/mcp/handler.d.ts +7 -0
- package/dist/tools/mcp/handler.d.ts.map +1 -1
- package/dist/tools/mcp/mount.d.ts +18 -2
- package/dist/tools/mcp/mount.d.ts.map +1 -1
- package/dist/tools/mcp/prepare.d.ts +3 -3
- package/dist/tools/mcp/prepare.d.ts.map +1 -1
- package/dist/tools/mcp/register.d.ts.map +1 -1
- package/dist/tools/mcp/runtime-tools.d.ts.map +1 -1
- package/dist/tools/mcp/stdio-signals.d.ts +14 -0
- package/dist/tools/mcp/stdio-signals.d.ts.map +1 -1
- package/dist/tools/mcp/stdio.d.ts +7 -0
- package/dist/tools/mcp/stdio.d.ts.map +1 -1
- package/dist/tools/operations/async-operation-runtime-tools.d.ts.map +1 -1
- package/dist/tools/operations/async-operation-runtime-types.d.ts +3 -3
- package/dist/tools/operations/async-operation-runtime-types.d.ts.map +1 -1
- package/dist/tools/operations/define-wait-tool.d.ts +1 -1
- package/dist/tools/operations/define-wait-tool.d.ts.map +1 -1
- package/dist/tools/operations/wait-core.d.ts +0 -6
- package/dist/tools/operations/wait-core.d.ts.map +1 -1
- package/dist/tools/registry.d.ts +1 -1
- package/dist/tools/registry.d.ts.map +1 -1
- package/dist/tools/remote.d.ts +1 -1
- package/dist/tools/remote.d.ts.map +1 -1
- package/dist/tools/{runtime-tool-execution.d.ts → runtime-tool-declaration.d.ts} +32 -9
- package/dist/tools/runtime-tool-declaration.d.ts.map +1 -0
- package/dist/tools/runtime-tool-mcp.d.ts +6 -15
- package/dist/tools/runtime-tool-mcp.d.ts.map +1 -1
- package/dist/tools/runtime-tool.d.ts +14 -12
- package/dist/tools/runtime-tool.d.ts.map +1 -1
- package/dist/tools/schema/coerce.d.ts +4 -0
- package/dist/tools/schema/coerce.d.ts.map +1 -1
- package/dist/tools/schema/flatten-join.d.ts.map +1 -1
- package/dist/tools/surface.d.ts +7 -11
- package/dist/tools/surface.d.ts.map +1 -1
- package/dist/tools/transfer/define-download-tool.d.ts +1 -1
- package/dist/tools/transfer/define-download-tool.d.ts.map +1 -1
- package/dist/tools/transfer/define-upload-tool.d.ts +1 -1
- package/dist/tools/transfer/define-upload-tool.d.ts.map +1 -1
- package/dist/tools/transfer/define-view-file-tool.d.ts +1 -1
- package/dist/tools/transfer/define-view-file-tool.d.ts.map +1 -1
- package/dist/tools/transfer/managed-file-error.d.ts.map +1 -1
- package/dist/tools/transfer/view-file-contract.d.ts.map +1 -1
- package/dist/tools/transfer/view-file.d.ts +1 -1
- package/dist/tools/transfer/view-file.d.ts.map +1 -1
- package/dist/tools/transports.d.ts +3 -2
- package/dist/tools/transports.d.ts.map +1 -1
- package/llms/agent-runtime-browser.txt +10 -4
- package/llms/agent-runtime-harness.txt +32 -31
- package/llms/agent-runtime-react.txt +1 -1
- package/llms/agent-runtime-realtime.txt +14 -5
- package/llms/agent-runtime-sandbox.txt +3 -11
- package/llms/agent-runtime.3.txt +2 -2
- package/llms/agent-runtime.txt +0 -9
- package/llms/application.2.txt +3 -12
- package/llms/application.3.txt +7 -4
- package/llms/application.txt +44 -15
- package/llms/cli-publish.txt +29 -0
- package/llms/cli.2.txt +9 -11
- package/llms/cli.txt +26 -14
- package/llms/declaration.txt +0 -9
- package/llms/files-packaging.txt +22 -7
- package/llms/files.txt +4 -2
- package/llms/geo.txt +0 -9
- package/llms/live.txt +4 -13
- package/llms/observability.txt +31 -5
- package/llms/primitives.txt +38 -20
- package/llms/process.txt +305 -154
- package/llms/react-keyboard.txt +0 -9
- package/llms/react.txt +0 -18
- package/llms/server.4.txt +1 -1
- package/llms/server.5.txt +1 -1
- package/llms/server.txt +1 -1
- package/llms/stitchkit.txt +6 -7
- package/llms/telegram-screens.txt +2 -2
- package/llms/testing.txt +0 -1
- package/llms/tools-mcp.txt +2 -3
- package/llms/tools.2.txt +12 -0
- package/llms/tools.3.txt +5 -6
- package/llms/tools.txt +6 -4
- package/llms/upgrading-0.37.0-0.50.0.txt +947 -0
- package/llms/{upgrading-0.44.0-0.61.0.txt → upgrading-0.53.0-0.67.0.txt} +576 -506
- package/llms/{upgrading-0.62.0-0.80.0.txt → upgrading-0.68.0-0.94.0.txt} +562 -576
- package/llms/{upgrading-0.81.0-0.104.0.txt → upgrading-0.95.0-0.105.0.txt} +452 -567
- package/llms/upgrading.txt +4 -4
- package/llms-full.txt +1053 -405
- package/llms.txt +24 -24
- package/native-assets.json +11 -3
- package/package.json +6 -6
- package/dist/agent-runtime/harness-tools.d.ts +0 -11
- package/dist/agent-runtime/harness-tools.d.ts.map +0 -1
- package/dist/entrypoints/agent-runtime/harness-tools.d.ts +0 -2
- package/dist/entrypoints/agent-runtime/harness-tools.d.ts.map +0 -1
- package/dist/entrypoints/agent-runtime/harness-tools.js +0 -32
- package/dist/index-1a6jtnd9.js +0 -88
- package/dist/index-8a9ksm91.js +0 -95
- package/dist/index-a3wma1hk.js +0 -48
- package/dist/index-jd470k6q.js +0 -109
- package/dist/index-n1dqr7gf.js +0 -20
- package/dist/index-nggfa2yn.js +0 -34
- package/dist/index-s4evrmp5.js +0 -98
- package/dist/index-ze1eph1k.js +0 -20
- package/dist/tools/connections/error-projection.d.ts +0 -4
- package/dist/tools/connections/error-projection.d.ts.map +0 -1
- package/dist/tools/runtime-tool-execution.d.ts.map +0 -1
- package/llms/agent-runtime-harness-tools.txt +0 -25
- package/llms/upgrading-0.37.0-0.44.0.txt +0 -444
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
paginatedSchema2,
|
|
5
5
|
encodeCursor2,
|
|
6
6
|
decodeCursor2
|
|
7
|
-
} from "../index-
|
|
7
|
+
} from "../index-x7w1z6pf.js";
|
|
8
8
|
import {
|
|
9
9
|
DEFAULT_CONTRACT_STREAM_FRAME_BYTES2,
|
|
10
10
|
ContractStreamFrameSchema2
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
ALL_TRANSPORTS2,
|
|
15
15
|
TOOL_TRANSPORTS2,
|
|
16
16
|
defineContract2
|
|
17
|
-
} from "../index-
|
|
17
|
+
} from "../index-fsw1ybf3.js";
|
|
18
18
|
import"../index-m38ej7e5.js";
|
|
19
19
|
import {
|
|
20
20
|
ManagedFilePathSchema2,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
isRetryableStatus2,
|
|
33
33
|
isStitchErrorCode2,
|
|
34
34
|
appError2
|
|
35
|
-
} from "../index-
|
|
35
|
+
} from "../index-j9gxbztg.js";
|
|
36
36
|
export {
|
|
37
37
|
ALL_TRANSPORTS2 as ALL_TRANSPORTS,
|
|
38
38
|
AppError2 as AppError,
|
|
@@ -1,23 +1,46 @@
|
|
|
1
1
|
// src/files/native-packaging.ts
|
|
2
|
-
import { createHash } from "node:crypto";
|
|
3
2
|
import { existsSync, readFileSync } from "node:fs";
|
|
4
3
|
import { dirname, relative, resolve } from "node:path";
|
|
5
4
|
import { fileURLToPath } from "node:url";
|
|
6
5
|
import { z as z2 } from "zod";
|
|
7
6
|
|
|
8
7
|
// src/files/native-packaging-layout.ts
|
|
8
|
+
import { createHash } from "node:crypto";
|
|
9
9
|
import { z } from "zod";
|
|
10
|
-
var
|
|
11
|
-
var NativeLayoutSchema = z.
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
var RelativePathSchema = z.string().min(1).refine((value) => !value.startsWith("/") && !/^[a-z]:/i.test(value) && !value.includes("\\") && value.split("/").every((part) => part !== ".." && part !== "." && part.length > 0), "Expected a relative path without traversal");
|
|
11
|
+
var NativeLayoutSchema = z.strictObject({
|
|
12
|
+
loader: RelativePathSchema,
|
|
13
|
+
assets: z.strictObject({ arm64: RelativePathSchema, x64: RelativePathSchema })
|
|
14
|
+
});
|
|
15
|
+
var NativeAssetEntrySchema = z.strictObject({
|
|
16
|
+
path: RelativePathSchema,
|
|
17
|
+
size: z.int().nonnegative(),
|
|
18
|
+
sha256: z.string().regex(/^[a-f0-9]{64}$/)
|
|
15
19
|
});
|
|
16
|
-
|
|
20
|
+
var NativeAssetManifestSchema = z.strictObject({
|
|
21
|
+
formatVersion: z.literal(2, {
|
|
22
|
+
error: "Native asset manifest formatVersion must be 2 for this Stitchkit"
|
|
23
|
+
}),
|
|
24
|
+
loader: RelativePathSchema,
|
|
25
|
+
assets: z.strictObject({
|
|
26
|
+
arm64: NativeAssetEntrySchema.optional(),
|
|
27
|
+
x64: NativeAssetEntrySchema.optional()
|
|
28
|
+
})
|
|
29
|
+
});
|
|
30
|
+
function nativeAssetDigest(bytes) {
|
|
31
|
+
return { size: bytes.byteLength, sha256: createHash("sha256").update(bytes).digest("hex") };
|
|
32
|
+
}
|
|
33
|
+
var templateText = (value) => value.replaceAll("\\", "\\\\").replaceAll("`", "\\`").replaceAll("${", "\\${");
|
|
34
|
+
function nativeLoaderSource(assets, resolution) {
|
|
17
35
|
const quote = (value) => `'${JSON.stringify(value).slice(1, -1).replaceAll("'", "\\'")}'`;
|
|
18
|
-
const
|
|
36
|
+
const target = (asset) => resolution === "static" ? quote(asset) : `\`\${__dirname}/${templateText(asset.replace(/^\.\//, ""))}\``;
|
|
37
|
+
const branches = Object.entries(assets).map(([architecture, asset]) => ` if (process.arch === ${quote(architecture)}) return require(${target(asset)});`);
|
|
19
38
|
return [
|
|
20
39
|
"/** Generated from the owning native asset graph. Loading remains lazy. */",
|
|
40
|
+
...resolution === "static" ? [] : [
|
|
41
|
+
"// The addon path is computed, so a bundler never follows or embeds it. A packaging",
|
|
42
|
+
"// plugin replaces this file with a static loader when an artifact must carry the addon."
|
|
43
|
+
],
|
|
21
44
|
"module.exports = function loadDarwinAddon() {",
|
|
22
45
|
" try {",
|
|
23
46
|
...branches,
|
|
@@ -32,25 +55,115 @@ function nativeLoaderSource(assets) {
|
|
|
32
55
|
}
|
|
33
56
|
|
|
34
57
|
// src/files/native-packaging.ts
|
|
35
|
-
var
|
|
36
|
-
|
|
37
|
-
|
|
58
|
+
var PackageManifestSchema = z2.object({
|
|
59
|
+
name: z2.literal("stitchkit"),
|
|
60
|
+
version: z2.string().min(1)
|
|
61
|
+
});
|
|
62
|
+
var ArchitectureSchema = z2.enum(["arm64", "x64"]);
|
|
63
|
+
var PlatformSchema = z2.enum(["darwin"]);
|
|
64
|
+
var CommonOptions = {
|
|
65
|
+
platform: PlatformSchema,
|
|
66
|
+
entryPath: RelativePathSchema.refine((value) => !value.includes("[") && !value.includes("]"), "Expected a fixed entry path without Bun naming templates")
|
|
67
|
+
};
|
|
68
|
+
var SingleOptionsSchema = z2.object({
|
|
69
|
+
...CommonOptions,
|
|
38
70
|
architecture: z2.string().min(1),
|
|
39
71
|
delivery: z2.enum(["companion", "embedded"]),
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
72
|
+
assetPath: RelativePathSchema
|
|
73
|
+
});
|
|
74
|
+
var MultipleOptionsSchema = z2.object({
|
|
75
|
+
...CommonOptions,
|
|
76
|
+
architecture: z2.array(z2.string().min(1)).refine((targets) => targets.length > 0),
|
|
77
|
+
delivery: z2.literal("companion"),
|
|
78
|
+
assetPath: z2.record(z2.string().min(1), RelativePathSchema)
|
|
79
|
+
});
|
|
80
|
+
var OptionsSchema = z2.union([SingleOptionsSchema, MultipleOptionsSchema]).check((ctx) => {
|
|
81
|
+
const input = ctx.value;
|
|
82
|
+
const targets = typeof input.architecture === "string" ? [input.architecture] : input.architecture;
|
|
83
|
+
if (new Set(targets).size !== targets.length)
|
|
84
|
+
ctx.issues.push({
|
|
85
|
+
code: "custom",
|
|
86
|
+
input: ctx.value,
|
|
87
|
+
message: "Architecture targets must be unique"
|
|
88
|
+
});
|
|
89
|
+
const assetPaths = typeof input.assetPath === "string" ? [input.assetPath] : Object.values(input.assetPath);
|
|
90
|
+
const assetMap = input.assetPath;
|
|
91
|
+
if (typeof assetMap !== "string" && (Object.keys(assetMap).length !== targets.length || targets.some((target) => !Object.hasOwn(assetMap, target))))
|
|
92
|
+
ctx.issues.push({
|
|
93
|
+
code: "custom",
|
|
94
|
+
input: ctx.value,
|
|
95
|
+
message: "Asset paths must name exactly the declared architectures"
|
|
96
|
+
});
|
|
97
|
+
const paths = [input.entryPath, ...assetPaths];
|
|
98
|
+
for (let at = 0;at < paths.length; at++) {
|
|
99
|
+
const left = paths[at];
|
|
100
|
+
if (!left)
|
|
101
|
+
continue;
|
|
102
|
+
for (const right of paths.slice(at + 1)) {
|
|
103
|
+
if (left === right || left.startsWith(`${right}/`) || right.startsWith(`${left}/`))
|
|
104
|
+
ctx.issues.push({
|
|
105
|
+
code: "custom",
|
|
106
|
+
input: ctx.value,
|
|
107
|
+
message: "Entry and addons must have non-overlapping paths"
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
});
|
|
43
112
|
var AssetSchema = z2.object({
|
|
44
|
-
sourcePath: z2.string(),
|
|
45
113
|
outputPath: z2.string(),
|
|
46
|
-
|
|
114
|
+
size: z2.int().nonnegative(),
|
|
115
|
+
sha256: z2.string().regex(/^[a-f0-9]{64}$/),
|
|
116
|
+
bytes: z2.custom((value) => value instanceof Uint8Array)
|
|
47
117
|
});
|
|
48
|
-
var
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
code: z2.enum(["NATIVE_TARGET_UNSUPPORTED", "NATIVE_ASSET_MISSING"])
|
|
118
|
+
var TargetAssetSchema = AssetSchema.extend({ architecture: ArchitectureSchema });
|
|
119
|
+
var DigestSchema = z2.object({
|
|
120
|
+
size: z2.int().nonnegative(),
|
|
121
|
+
sha256: z2.string().regex(/^[a-f0-9]{64}$/)
|
|
53
122
|
});
|
|
123
|
+
var RefusalSchema = z2.discriminatedUnion("state", [
|
|
124
|
+
z2.object({
|
|
125
|
+
state: z2.literal("unsupported"),
|
|
126
|
+
platform: PlatformSchema,
|
|
127
|
+
architecture: z2.string(),
|
|
128
|
+
code: z2.literal("NATIVE_TARGET_UNSUPPORTED")
|
|
129
|
+
}),
|
|
130
|
+
z2.object({
|
|
131
|
+
state: z2.literal("missing"),
|
|
132
|
+
platform: PlatformSchema,
|
|
133
|
+
architecture: ArchitectureSchema,
|
|
134
|
+
code: z2.literal("NATIVE_ASSET_MISSING")
|
|
135
|
+
}),
|
|
136
|
+
z2.object({
|
|
137
|
+
state: z2.literal("mismatch"),
|
|
138
|
+
platform: PlatformSchema,
|
|
139
|
+
architecture: ArchitectureSchema,
|
|
140
|
+
code: z2.literal("NATIVE_ASSET_DIGEST_MISMATCH"),
|
|
141
|
+
expected: DigestSchema,
|
|
142
|
+
actual: DigestSchema
|
|
143
|
+
})
|
|
144
|
+
]);
|
|
145
|
+
function resolveTargets(platform, declared) {
|
|
146
|
+
const refusal = (architecture) => ({
|
|
147
|
+
refusal: {
|
|
148
|
+
state: "unsupported",
|
|
149
|
+
platform,
|
|
150
|
+
architecture,
|
|
151
|
+
code: "NATIVE_TARGET_UNSUPPORTED"
|
|
152
|
+
}
|
|
153
|
+
});
|
|
154
|
+
const [head, ...tail] = declared;
|
|
155
|
+
const first = ArchitectureSchema.safeParse(head);
|
|
156
|
+
if (!first.success)
|
|
157
|
+
return refusal(head);
|
|
158
|
+
const targets = [first.data];
|
|
159
|
+
for (const architecture of tail) {
|
|
160
|
+
const target = ArchitectureSchema.safeParse(architecture);
|
|
161
|
+
if (!target.success)
|
|
162
|
+
return refusal(architecture);
|
|
163
|
+
targets.push(target.data);
|
|
164
|
+
}
|
|
165
|
+
return { targets };
|
|
166
|
+
}
|
|
54
167
|
function installedPackageRoot() {
|
|
55
168
|
let directory = dirname(fileURLToPath(import.meta.url));
|
|
56
169
|
for (let depth = 0;depth < 64; depth++) {
|
|
@@ -63,50 +176,72 @@ function installedPackageRoot() {
|
|
|
63
176
|
}
|
|
64
177
|
throw new Error("Native packaging must run from its installed Stitchkit package");
|
|
65
178
|
}
|
|
66
|
-
function
|
|
67
|
-
const
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
code: "NATIVE_TARGET_UNSUPPORTED"
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
const root = installedPackageRoot();
|
|
77
|
-
const layout = NativeLayoutSchema.parse(JSON.parse(readFileSync(resolve(root, "native-assets.json"), "utf8")));
|
|
78
|
-
const manifest = z2.object({ name: z2.literal("stitchkit"), version: z2.string().min(1) }).parse(JSON.parse(readFileSync(resolve(root, "package.json"), "utf8")));
|
|
79
|
-
const loaderPath = resolve(root, layout.loader);
|
|
80
|
-
const sourcePath = resolve(root, layout.assets[input.architecture]);
|
|
179
|
+
function readVerifiedAsset(root, published, platform, architecture) {
|
|
180
|
+
const missing = {
|
|
181
|
+
refusal: { state: "missing", platform, architecture, code: "NATIVE_ASSET_MISSING" }
|
|
182
|
+
};
|
|
183
|
+
if (!published)
|
|
184
|
+
return missing;
|
|
185
|
+
const sourcePath = resolve(root, published.path);
|
|
81
186
|
let bytes;
|
|
82
187
|
try {
|
|
83
188
|
bytes = readFileSync(sourcePath);
|
|
84
189
|
} catch (cause) {
|
|
85
|
-
if (cause instanceof Error && "code" in cause && cause.code === "ENOENT")
|
|
86
|
-
return
|
|
87
|
-
state: "missing",
|
|
88
|
-
platform: input.platform,
|
|
89
|
-
architecture: input.architecture,
|
|
90
|
-
code: "NATIVE_ASSET_MISSING"
|
|
91
|
-
};
|
|
92
|
-
}
|
|
190
|
+
if (cause instanceof Error && "code" in cause && cause.code === "ENOENT")
|
|
191
|
+
return missing;
|
|
93
192
|
throw cause;
|
|
94
193
|
}
|
|
95
|
-
const
|
|
96
|
-
|
|
97
|
-
|
|
194
|
+
const actual = nativeAssetDigest(bytes);
|
|
195
|
+
if (actual.size !== published.size || actual.sha256 !== published.sha256)
|
|
196
|
+
return {
|
|
197
|
+
refusal: {
|
|
198
|
+
state: "mismatch",
|
|
199
|
+
platform,
|
|
200
|
+
architecture,
|
|
201
|
+
code: "NATIVE_ASSET_DIGEST_MISMATCH",
|
|
202
|
+
expected: { size: published.size, sha256: published.sha256 },
|
|
203
|
+
actual
|
|
204
|
+
}
|
|
205
|
+
};
|
|
206
|
+
return { sourcePath, bytes, size: published.size, sha256: published.sha256 };
|
|
207
|
+
}
|
|
208
|
+
function createNativePackaging(options) {
|
|
209
|
+
const input = OptionsSchema.parse(options);
|
|
210
|
+
const declared = typeof input.architecture === "string" ? [input.architecture] : input.architecture;
|
|
211
|
+
const resolved = resolveTargets(input.platform, declared);
|
|
212
|
+
if ("refusal" in resolved)
|
|
213
|
+
return resolved.refusal;
|
|
214
|
+
const architectures = resolved.targets;
|
|
215
|
+
const root = installedPackageRoot();
|
|
216
|
+
const published = NativeAssetManifestSchema.parse(JSON.parse(readFileSync(resolve(root, "native-assets.json"), "utf8")));
|
|
217
|
+
const manifest = PackageManifestSchema.parse(JSON.parse(readFileSync(resolve(root, "package.json"), "utf8")));
|
|
218
|
+
const loaderPath = resolve(root, published.loader);
|
|
219
|
+
const assets = [];
|
|
220
|
+
const specifiers = {};
|
|
221
|
+
const embedded = new Map;
|
|
222
|
+
for (const architecture of architectures) {
|
|
223
|
+
const outputPath = typeof input.assetPath === "string" ? input.assetPath : input.assetPath[architecture];
|
|
224
|
+
if (!outputPath)
|
|
225
|
+
throw new Error("Declared architecture has no output path");
|
|
226
|
+
const verified = readVerifiedAsset(root, published.assets[architecture], input.platform, architecture);
|
|
227
|
+
if ("refusal" in verified)
|
|
228
|
+
return verified.refusal;
|
|
229
|
+
const { sourcePath, bytes, size, sha256 } = verified;
|
|
230
|
+
if (input.delivery === "embedded")
|
|
231
|
+
embedded.set(sourcePath, new Uint8Array(bytes));
|
|
232
|
+
const outputSpecifier = relative(dirname(input.entryPath), outputPath).split("\\").join("/");
|
|
233
|
+
specifiers[architecture] = input.delivery === "embedded" ? sourcePath : outputSpecifier.startsWith(".") ? outputSpecifier : `./${outputSpecifier}`;
|
|
234
|
+
const asset = { outputPath, size, sha256, bytes };
|
|
235
|
+
assets.push(typeof input.architecture === "string" ? asset : { ...asset, architecture });
|
|
236
|
+
}
|
|
237
|
+
const contents = nativeLoaderSource(specifiers, "static");
|
|
238
|
+
const external = new Set(Object.values(specifiers));
|
|
98
239
|
return {
|
|
99
240
|
state: "ready",
|
|
100
241
|
platform: "darwin",
|
|
101
|
-
architecture: input.architecture,
|
|
242
|
+
architecture: typeof input.architecture === "string" ? architectures[0] : architectures,
|
|
102
243
|
packageVersion: manifest.version,
|
|
103
|
-
assets
|
|
104
|
-
{
|
|
105
|
-
sourcePath,
|
|
106
|
-
outputPath: input.assetPath,
|
|
107
|
-
sha256: createHash("sha256").update(bytes).digest("hex")
|
|
108
|
-
}
|
|
109
|
-
],
|
|
244
|
+
assets,
|
|
110
245
|
plugin: {
|
|
111
246
|
name: "stitchkit-native-packaging",
|
|
112
247
|
setup(build) {
|
|
@@ -121,8 +256,13 @@ function createNativePackaging(options) {
|
|
|
121
256
|
throw new Error("Native companion packaging naming.entry must match entryPath");
|
|
122
257
|
}
|
|
123
258
|
build.onLoad({ filter: /\.[cm]?js$/ }, (args) => args.path === loaderPath ? { contents, loader: "js" } : undefined);
|
|
259
|
+
if (embedded.size > 0)
|
|
260
|
+
build.onLoad({ filter: /\.node$/ }, (args) => {
|
|
261
|
+
const bytes = embedded.get(args.path);
|
|
262
|
+
return bytes ? { contents: bytes, loader: "napi" } : undefined;
|
|
263
|
+
});
|
|
124
264
|
if (input.delivery === "companion") {
|
|
125
|
-
build.onResolve({ filter: /./ }, (args) => args.importer === loaderPath && args.path
|
|
265
|
+
build.onResolve({ filter: /./ }, (args) => args.importer === loaderPath && external.has(args.path) ? { path: args.path, external: true } : undefined);
|
|
126
266
|
}
|
|
127
267
|
}
|
|
128
268
|
}
|
|
@@ -4,5 +4,6 @@ export { createManagedFileBoundary, type ManagedFileBoundary, type ManagedFileBo
|
|
|
4
4
|
export { CHUNK_SPOOL_ERROR_CODES, type ChunkSpool, type ChunkSpoolAssembly, type ChunkSpoolConfig, type ChunkSpoolErrorCode, type ChunkSpoolKey, type ChunkSpoolOpen, type ChunkSpoolPart, createChunkSpool, isChunkSpoolErrorCode, } from '../files/chunk-spool.js';
|
|
5
5
|
export { type WriteFileAtomicOptions, writeFileAtomic, writeFileAtomicSync, } from '../internal/atomic-file.js';
|
|
6
6
|
export { AtomicFilePublicationError } from '../internal/atomic-publication.js';
|
|
7
|
+
export { isAtomicStagingName, type SweepAtomicStagingOptions, sweepAtomicStaging, } from '../internal/atomic-staging.js';
|
|
7
8
|
export { type ExclusiveLock, ExclusiveLockError, type ExclusiveLockOptions, type ExclusiveLockOwner, withExclusiveLock, } from '../internal/with-exclusive-lock.js';
|
|
8
9
|
//# sourceMappingURL=files.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/entrypoints/files.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,eAAe,EACpB,qBAAqB,EACrB,KAAK,cAAc,EACnB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EACL,yBAAyB,EACzB,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAC9B,gBAAgB,EAChB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,KAAK,uBAAuB,GAC7B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,uBAAuB,EACvB,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,gBAAgB,EAChB,qBAAqB,GACtB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,KAAK,sBAAsB,EAC3B,eAAe,EACf,mBAAmB,GACpB,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/entrypoints/files.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,eAAe,EACpB,qBAAqB,EACrB,KAAK,cAAc,EACnB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EACL,yBAAyB,EACzB,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAC9B,gBAAgB,EAChB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,KAAK,uBAAuB,GAC7B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,uBAAuB,EACvB,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,gBAAgB,EAChB,qBAAqB,GACtB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,KAAK,sBAAsB,EAC3B,eAAe,EACf,mBAAmB,GACpB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EACL,mBAAmB,EACnB,KAAK,yBAAyB,EAC9B,kBAAkB,GACnB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,KAAK,aAAa,EAClB,kBAAkB,EAClB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,iBAAiB,GAClB,MAAM,iCAAiC,CAAC"}
|
|
@@ -2,29 +2,34 @@ import {
|
|
|
2
2
|
ManagedFilePathSchema2,
|
|
3
3
|
ManagedFileRefSchema2
|
|
4
4
|
} from "../index-xqhede6x.js";
|
|
5
|
+
import {
|
|
6
|
+
stagingPath,
|
|
7
|
+
isAtomicStagingName2,
|
|
8
|
+
sweepAtomicStaging2
|
|
9
|
+
} from "../index-cq59agna.js";
|
|
5
10
|
import {
|
|
6
11
|
ManagedFileError2,
|
|
7
12
|
createManagedFileBoundary2
|
|
8
|
-
} from "../index-
|
|
13
|
+
} from "../index-wqmvtnkp.js";
|
|
9
14
|
import {
|
|
10
15
|
AppError2
|
|
11
|
-
} from "../index-
|
|
12
|
-
import"../index-
|
|
13
|
-
import"../index-
|
|
16
|
+
} from "../index-j9gxbztg.js";
|
|
17
|
+
import"../index-dsnjzb62.js";
|
|
18
|
+
import"../index-azx12jgv.js";
|
|
14
19
|
import"../index-v5ee8ath.js";
|
|
15
20
|
import {
|
|
16
21
|
ExclusiveLockError2,
|
|
17
22
|
withExclusiveLock2
|
|
18
|
-
} from "../index-
|
|
23
|
+
} from "../index-4vsby8n8.js";
|
|
19
24
|
import {
|
|
20
25
|
writeFileAtomic2,
|
|
21
26
|
writeFileAtomicSync2
|
|
22
|
-
} from "../index-
|
|
27
|
+
} from "../index-ef8gdaq0.js";
|
|
23
28
|
import {
|
|
24
29
|
AtomicFilePublicationError2
|
|
25
|
-
} from "../index-
|
|
30
|
+
} from "../index-b56nnscm.js";
|
|
26
31
|
// src/files/chunk-spool.ts
|
|
27
|
-
import { createHash
|
|
32
|
+
import { createHash } from "node:crypto";
|
|
28
33
|
import {
|
|
29
34
|
link,
|
|
30
35
|
mkdir,
|
|
@@ -52,7 +57,7 @@ function isChunkSpoolErrorCode(code) {
|
|
|
52
57
|
}
|
|
53
58
|
var CHUNK_SPOOL_ERROR_CODES = Object.freeze(Object.keys(STATUS).filter(isChunkSpoolErrorCode));
|
|
54
59
|
function refuse(code, message, details) {
|
|
55
|
-
return new AppError2(code, message, STATUS[code], details);
|
|
60
|
+
return new AppError2(code, { message, status: STATUS[code], details });
|
|
56
61
|
}
|
|
57
62
|
var UPLOAD_ID = /^[A-Za-z0-9_-]{1,128}$/;
|
|
58
63
|
var Receipt = z.object({
|
|
@@ -69,7 +74,7 @@ function isErrorCode(error, code) {
|
|
|
69
74
|
return error instanceof Error && "code" in error && error.code === code;
|
|
70
75
|
}
|
|
71
76
|
async function publishOnce(path, bytes) {
|
|
72
|
-
const staging =
|
|
77
|
+
const staging = stagingPath(path);
|
|
73
78
|
await writeFile(staging, bytes, { flag: "wx" });
|
|
74
79
|
try {
|
|
75
80
|
await link(staging, path);
|
|
@@ -262,7 +267,9 @@ export {
|
|
|
262
267
|
ManagedFileRefSchema2 as ManagedFileRefSchema,
|
|
263
268
|
createChunkSpool,
|
|
264
269
|
createManagedFileBoundary2 as createManagedFileBoundary,
|
|
270
|
+
isAtomicStagingName2 as isAtomicStagingName,
|
|
265
271
|
isChunkSpoolErrorCode,
|
|
272
|
+
sweepAtomicStaging2 as sweepAtomicStaging,
|
|
266
273
|
withExclusiveLock2 as withExclusiveLock,
|
|
267
274
|
writeFileAtomic2 as writeFileAtomic,
|
|
268
275
|
writeFileAtomicSync2 as writeFileAtomicSync
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
export { ApiError } from '../browser/api-error.js';
|
|
1
2
|
export { type ChunkedUploadConfig, type ChunkedUploadPart, type ChunkedUploadProgress, type ChunkedUploadStart, type ChunkSource, uploadInChunks, } from '../browser/chunked-upload.js';
|
|
2
3
|
export { type ClientConfig, type ClientContract, type ClientFetch, type ClientRegistryValue, type ContractClientConfig, contractEndpointMatchers, createClient, createClients, createScopedClients, createScopedUrlBuilders, createUrlBuilder, createUrlBuilders, type PathPrefixArgs, type RegistryScope, type ScopeClientConfigs, type ScopedClientRegistry, type ScopedUrlBuilderRegistry, type UrlBuilderConfig, } from '../browser/client.js';
|
|
3
|
-
export {
|
|
4
|
+
export { type ApiEvent, type ApiEventListener, type ConfiguredHttpClient, createHttpClient, type HeaderProvider, type HttpClient, type HttpClientConfig, type RequestOptions, type UnauthorizedMatcher, } from '../browser/http.js';
|
|
4
5
|
export { createLiveStateController, type LiveStateController, type LiveStateControllerConfig, type LiveStateControllerError, type LiveStateControllerSnapshot, type LiveStateControllerStatus, LiveStateControllerStatusSchema, type LiveStateEventDecision, type LiveStatePhase, LiveStatePhaseSchema, type LiveStateSource, type LiveStateSourceOpenInput, type LiveStateSourceOpenResult, type LiveStateStopReason, LiveStateStopReasonSchema, type LiveStateSubscriberError, } from '../browser/live-state.js';
|
|
5
6
|
export type { BindRealtimeClientOptions, BoundRealtimeClient, RealtimeClientTransport, } from '../browser/realtime-client.js';
|
|
6
7
|
export { bindRealtimeClient } from '../browser/realtime-client.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/entrypoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,WAAW,EAChB,cAAc,GACf,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,wBAAwB,EACxB,YAAY,EACZ,aAAa,EACb,mBAAmB,EACnB,uBAAuB,EACvB,gBAAgB,EAChB,iBAAiB,EACjB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,gBAAgB,GACtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/entrypoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,WAAW,EAChB,cAAc,GACf,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,wBAAwB,EACxB,YAAY,EACZ,aAAa,EACb,mBAAmB,EACnB,uBAAuB,EACvB,gBAAgB,EAChB,iBAAiB,EACjB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,gBAAgB,GACtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,gBAAgB,EAChB,KAAK,cAAc,EACnB,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,mBAAmB,GACzB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,yBAAyB,EACzB,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,+BAA+B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,cAAc,EACnB,oBAAoB,EACpB,KAAK,eAAe,EACpB,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,mBAAmB,EACxB,yBAAyB,EACzB,KAAK,wBAAwB,GAC9B,MAAM,uBAAuB,CAAC;AAC/B,YAAY,EACV,yBAAyB,EACzB,mBAAmB,EACnB,uBAAuB,GACxB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,EAC5B,iBAAiB,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,oBAAoB,EAAE,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,KAAK,gBAAgB,EACrB,KAAK,YAAY,GAClB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,wBAAwB,EACxB,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,GAC9B,MAAM,gCAAgC,CAAC;AACxC,YAAY,EACV,cAAc,EACd,qBAAqB,EACrB,cAAc,EACd,cAAc,EACd,oBAAoB,EACpB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAClF,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,WAAW,EACX,QAAQ,GACT,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,aAAa,EAClB,mBAAmB,EACnB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAKvD,OAAO,EAAE,cAAc,EAAE,KAAK,eAAe,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGzF,OAAO,EACL,SAAS,EACT,kBAAkB,EAClB,iBAAiB,EACjB,gBAAgB,EAChB,KAAK,YAAY,GAClB,MAAM,wBAAwB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC"}
|
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
formatTraceparent2,
|
|
5
|
-
childSpan2
|
|
6
|
-
} from "../index-yex7eg1v.js";
|
|
7
|
-
import {
|
|
8
|
-
ApiError2,
|
|
9
|
-
createHttpClient2
|
|
10
|
-
} from "../index-ywppsaby.js";
|
|
2
|
+
ApiError2
|
|
3
|
+
} from "../index-kfjkb396.js";
|
|
11
4
|
import"../index-m38ej7e5.js";
|
|
12
5
|
import {
|
|
13
6
|
DEFAULT_CONTRACT_STREAM_FRAME_BYTES2,
|
|
@@ -23,7 +16,16 @@ import {
|
|
|
23
16
|
createUrlBuilder2,
|
|
24
17
|
createUrlBuilders2,
|
|
25
18
|
createScopedUrlBuilders2
|
|
26
|
-
} from "../index-
|
|
19
|
+
} from "../index-1pwwan01.js";
|
|
20
|
+
import {
|
|
21
|
+
createTraceContext2,
|
|
22
|
+
parseTraceparent2,
|
|
23
|
+
formatTraceparent2,
|
|
24
|
+
childSpan2
|
|
25
|
+
} from "../index-yex7eg1v.js";
|
|
26
|
+
import {
|
|
27
|
+
createHttpClient2
|
|
28
|
+
} from "../index-n1nszyk0.js";
|
|
27
29
|
import"../index-w0eqdhyd.js";
|
|
28
30
|
import {
|
|
29
31
|
LiveStatePhaseSchema2,
|
|
@@ -43,11 +45,11 @@ import {
|
|
|
43
45
|
isRetryableStatus2,
|
|
44
46
|
isStitchErrorCode2,
|
|
45
47
|
appError2
|
|
46
|
-
} from "../index-
|
|
48
|
+
} from "../index-j9gxbztg.js";
|
|
47
49
|
import {
|
|
48
50
|
REALTIME_REJECTION_KEY2,
|
|
49
51
|
asRealtimeRejection2
|
|
50
|
-
} from "../index-
|
|
52
|
+
} from "../index-pzb63z66.js";
|
|
51
53
|
import {
|
|
52
54
|
RealtimeRequestPhaseSchema2,
|
|
53
55
|
RealtimeRequestPhaseEventSchema2,
|
|
@@ -60,7 +62,7 @@ import {
|
|
|
60
62
|
realtimeRequestTraces,
|
|
61
63
|
createRequestTracer,
|
|
62
64
|
bindRealtimeClient2
|
|
63
|
-
} from "../index-
|
|
65
|
+
} from "../index-sj28htvf.js";
|
|
64
66
|
import {
|
|
65
67
|
BackoffPolicySchema2,
|
|
66
68
|
createBackoff2
|
|
@@ -73,32 +75,34 @@ import {
|
|
|
73
75
|
ALL_TRANSPORTS2,
|
|
74
76
|
TOOL_TRANSPORTS2,
|
|
75
77
|
defineContract2
|
|
76
|
-
} from "../index-
|
|
78
|
+
} from "../index-fsw1ybf3.js";
|
|
77
79
|
import {
|
|
78
80
|
defineErrors2,
|
|
79
81
|
createContractFactory2,
|
|
80
82
|
paginatedSchema2,
|
|
81
83
|
encodeCursor2,
|
|
82
84
|
decodeCursor2
|
|
83
|
-
} from "../index-
|
|
85
|
+
} from "../index-x7w1z6pf.js";
|
|
84
86
|
import {
|
|
85
87
|
ManagedFilePathSchema2,
|
|
86
88
|
ManagedFileRefSchema2
|
|
87
89
|
} from "../index-xqhede6x.js";
|
|
90
|
+
import {
|
|
91
|
+
createMutationQueue
|
|
92
|
+
} from "../index-sykb5ag7.js";
|
|
88
93
|
import {
|
|
89
94
|
isModuleNotFound
|
|
90
95
|
} from "../index-srs8hj9c.js";
|
|
91
96
|
import {
|
|
92
97
|
withDeadline
|
|
93
|
-
} from "../index-
|
|
98
|
+
} from "../index-9tqbxv5p.js";
|
|
94
99
|
import {
|
|
95
|
-
|
|
96
|
-
} from "../index-
|
|
100
|
+
sleep
|
|
101
|
+
} from "../index-eemvahkc.js";
|
|
97
102
|
import {
|
|
98
103
|
zodIssues2,
|
|
99
104
|
formatZodError2
|
|
100
105
|
} from "../index-1eeqpadm.js";
|
|
101
|
-
|
|
102
106
|
// src/browser/chunked-upload.ts
|
|
103
107
|
function isRetryableUploadFailure(error) {
|
|
104
108
|
if (ApiError2.is(error)) {
|
|
@@ -168,55 +172,22 @@ async function repeating(call, {
|
|
|
168
172
|
} catch (error) {
|
|
169
173
|
if (signal?.aborted || attempt > retries || !isRetryableUploadFailure(error))
|
|
170
174
|
throw error;
|
|
171
|
-
|
|
175
|
+
try {
|
|
176
|
+
await sleep(retryDelayMs * 2 ** (attempt - 1), signal);
|
|
177
|
+
} catch (aborted) {
|
|
178
|
+
throwIfAborted(signal);
|
|
179
|
+
throw aborted;
|
|
180
|
+
}
|
|
172
181
|
}
|
|
173
182
|
}
|
|
174
183
|
}
|
|
175
184
|
function throwIfAborted(signal) {
|
|
176
185
|
if (signal?.aborted) {
|
|
177
|
-
throw new ApiError2("REQUEST_ABORTED", 0,
|
|
186
|
+
throw new ApiError2("REQUEST_ABORTED", { status: 0, message: "Request was aborted" });
|
|
178
187
|
}
|
|
179
188
|
}
|
|
180
|
-
function pause(ms, signal) {
|
|
181
|
-
return new Promise((resolve, reject) => {
|
|
182
|
-
const abort = () => {
|
|
183
|
-
clearTimeout(timer);
|
|
184
|
-
reject(new ApiError2("REQUEST_ABORTED", 0, undefined, "Request was aborted"));
|
|
185
|
-
};
|
|
186
|
-
const timer = setTimeout(() => {
|
|
187
|
-
signal?.removeEventListener("abort", abort);
|
|
188
|
-
resolve();
|
|
189
|
-
}, ms);
|
|
190
|
-
signal?.addEventListener("abort", abort, { once: true });
|
|
191
|
-
});
|
|
192
|
-
}
|
|
193
189
|
// src/browser/resumable.ts
|
|
194
190
|
var DEFAULT_RETRY = { minDelayMs: 100, maxDelayMs: 30000, jitter: 0.5 };
|
|
195
|
-
|
|
196
|
-
class ResumableAbortError extends Error {
|
|
197
|
-
constructor() {
|
|
198
|
-
super("Resumable iterator was aborted");
|
|
199
|
-
this.name = "ResumableAbortError";
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
function sleep(ms, signal) {
|
|
203
|
-
return new Promise((resolve, reject) => {
|
|
204
|
-
const timer = setTimeout(() => {
|
|
205
|
-
signal?.removeEventListener("abort", onAbort);
|
|
206
|
-
resolve();
|
|
207
|
-
}, ms);
|
|
208
|
-
function onAbort() {
|
|
209
|
-
clearTimeout(timer);
|
|
210
|
-
reject(new ResumableAbortError);
|
|
211
|
-
}
|
|
212
|
-
if (signal?.aborted) {
|
|
213
|
-
clearTimeout(timer);
|
|
214
|
-
reject(new ResumableAbortError);
|
|
215
|
-
return;
|
|
216
|
-
}
|
|
217
|
-
signal?.addEventListener("abort", onAbort, { once: true });
|
|
218
|
-
});
|
|
219
|
-
}
|
|
220
191
|
async function* resumableIterator(config) {
|
|
221
192
|
const backoff = createBackoff2(config.retry ?? DEFAULT_RETRY, config.random);
|
|
222
193
|
let cursor;
|
|
@@ -238,7 +209,7 @@ async function* resumableIterator(config) {
|
|
|
238
209
|
}
|
|
239
210
|
throw new Error("Resumable source ended without a terminal item");
|
|
240
211
|
} catch (error) {
|
|
241
|
-
if (config.signal?.aborted
|
|
212
|
+
if (config.signal?.aborted)
|
|
242
213
|
return;
|
|
243
214
|
attempt += 1;
|
|
244
215
|
const delayMs = backoff.next();
|
package/dist/entrypoints/node.js
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
conflict2,
|
|
8
8
|
rateLimited2,
|
|
9
9
|
appError2
|
|
10
|
-
} from "../index-
|
|
10
|
+
} from "../index-j9gxbztg.js";
|
|
11
11
|
import"../index-yex7eg1v.js";
|
|
12
12
|
import {
|
|
13
13
|
createHandler2,
|
|
@@ -18,8 +18,8 @@ import {
|
|
|
18
18
|
createSocketIOServer2,
|
|
19
19
|
UnixClientTransportError2,
|
|
20
20
|
createUnixClientTransport2
|
|
21
|
-
} from "../index-
|
|
22
|
-
import"../index-
|
|
21
|
+
} from "../index-wdy68sh6.js";
|
|
22
|
+
import"../index-rpzewktb.js";
|
|
23
23
|
import"../index-h2fhjqy7.js";
|
|
24
24
|
import {
|
|
25
25
|
ShutdownStateSchema2,
|
|
@@ -30,20 +30,20 @@ import {
|
|
|
30
30
|
} from "../index-q0th8q0z.js";
|
|
31
31
|
import"../index-m38ej7e5.js";
|
|
32
32
|
import"../index-1bx1xv1k.js";
|
|
33
|
-
import"../index-
|
|
33
|
+
import"../index-pzb63z66.js";
|
|
34
34
|
import"../index-4s0fep5q.js";
|
|
35
|
-
import"../index-
|
|
36
|
-
import"../index-
|
|
35
|
+
import"../index-fsw1ybf3.js";
|
|
36
|
+
import"../index-x7w1z6pf.js";
|
|
37
37
|
import"../index-xqhede6x.js";
|
|
38
38
|
import {
|
|
39
39
|
bindRealtimeServer2
|
|
40
|
-
} from "../index-
|
|
40
|
+
} from "../index-z23rfxhj.js";
|
|
41
41
|
import {
|
|
42
42
|
createMultipartStream2,
|
|
43
43
|
implement2,
|
|
44
44
|
createImplement2,
|
|
45
45
|
createScopedImplement2
|
|
46
|
-
} from "../index-
|
|
46
|
+
} from "../index-cmzvhhtd.js";
|
|
47
47
|
import"../index-7n68nmc6.js";
|
|
48
48
|
// src/server/node.ts
|
|
49
49
|
import { serve } from "srvx/node";
|