stitchkit 0.103.13 → 0.104.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +120 -0
- package/darwin-native.cjs +1 -3
- package/dist/agent-runtime/store-conformance-lifecycle.d.ts +10 -10
- package/dist/agent-runtime/store-conformance-support.d.ts +5 -5
- package/dist/application/directory-inbox-accept.d.ts +13 -0
- package/dist/application/directory-inbox-accept.d.ts.map +1 -0
- package/dist/application/directory-inbox-contract.d.ts +42 -5
- package/dist/application/directory-inbox-contract.d.ts.map +1 -1
- package/dist/application/directory-inbox-delivery.d.ts +14 -0
- package/dist/application/directory-inbox-delivery.d.ts.map +1 -0
- package/dist/application/directory-inbox-files.d.ts +28 -0
- package/dist/application/directory-inbox-files.d.ts.map +1 -0
- package/dist/application/directory-inbox-state.d.ts +14 -0
- package/dist/application/directory-inbox-state.d.ts.map +1 -0
- package/dist/application/directory-inbox.d.ts +2 -1
- package/dist/application/directory-inbox.d.ts.map +1 -1
- package/dist/application/file-state-store.d.ts +2 -8
- package/dist/application/file-state-store.d.ts.map +1 -1
- package/dist/application/state-store.d.ts +6 -1
- package/dist/application/state-store.d.ts.map +1 -1
- package/dist/browser/client-arguments.d.ts +4 -0
- package/dist/browser/client-arguments.d.ts.map +1 -0
- package/dist/browser/client-executors.d.ts.map +1 -1
- package/dist/browser/client.d.ts.map +1 -1
- package/dist/browser/contract-stream.d.ts.map +1 -1
- package/dist/browser/http.d.ts +2 -1
- package/dist/browser/http.d.ts.map +1 -1
- package/dist/browser/native-fetch.d.ts +8 -0
- package/dist/browser/native-fetch.d.ts.map +1 -0
- package/dist/contract/errors.d.ts +16 -12
- package/dist/contract/errors.d.ts.map +1 -1
- package/dist/contract/normalize.d.ts +5 -1
- package/dist/contract/normalize.d.ts.map +1 -1
- package/dist/contract/stream.d.ts +1 -0
- package/dist/contract/stream.d.ts.map +1 -1
- package/dist/entrypoints/agent-runtime/browser.js +3 -3
- package/dist/entrypoints/agent-runtime/coding-tools.js +6 -6
- package/dist/entrypoints/agent-runtime/harness-tools.js +8 -8
- package/dist/entrypoints/agent-runtime/harness.js +11 -11
- package/dist/entrypoints/agent-runtime/realtime.js +3 -3
- package/dist/entrypoints/agent-runtime/sandbox.js +6 -6
- package/dist/entrypoints/agent-runtime.js +13 -13
- package/dist/entrypoints/application/diagnostic-journal.js +1 -1
- package/dist/entrypoints/application/directory-inbox.js +424 -119
- package/dist/entrypoints/application/grammy.js +1 -1
- package/dist/entrypoints/application.d.ts +2 -2
- package/dist/entrypoints/application.d.ts.map +1 -1
- package/dist/entrypoints/application.js +7 -3
- package/dist/entrypoints/cli.d.ts +2 -0
- package/dist/entrypoints/cli.d.ts.map +1 -1
- package/dist/entrypoints/cli.js +757 -136
- package/dist/entrypoints/contract.js +3 -3
- package/dist/entrypoints/files/packaging.d.ts +3 -0
- package/dist/entrypoints/files/packaging.d.ts.map +1 -0
- package/dist/entrypoints/files/packaging.js +133 -0
- package/dist/entrypoints/files.js +10 -107
- package/dist/entrypoints/index.js +7 -7
- package/dist/entrypoints/node.js +8 -8
- package/dist/entrypoints/observability.js +2 -2
- package/dist/entrypoints/react.js +1 -1
- package/dist/entrypoints/remote.js +19 -6
- package/dist/entrypoints/server.d.ts +1 -1
- package/dist/entrypoints/server.d.ts.map +1 -1
- package/dist/entrypoints/server.js +23 -17
- package/dist/entrypoints/telegram.d.ts +1 -0
- package/dist/entrypoints/telegram.d.ts.map +1 -1
- package/dist/entrypoints/telegram.js +214 -98
- package/dist/entrypoints/testing.js +7 -7
- package/dist/entrypoints/tools/connections.d.ts +2 -2
- package/dist/entrypoints/tools/connections.d.ts.map +1 -1
- package/dist/entrypoints/tools/connections.js +427 -294
- package/dist/entrypoints/tools/invoker.js +6 -6
- package/dist/entrypoints/tools/mcp.d.ts +12 -0
- package/dist/entrypoints/tools/mcp.d.ts.map +1 -0
- package/dist/entrypoints/tools/mcp.js +45 -0
- package/dist/entrypoints/tools.d.ts +1 -0
- package/dist/entrypoints/tools.d.ts.map +1 -1
- package/dist/entrypoints/tools.js +82 -1147
- package/dist/entrypoints/tracking.js +1 -1
- package/dist/files/boundary.d.ts +2 -8
- package/dist/files/boundary.d.ts.map +1 -1
- package/dist/files/file-io.d.ts +0 -5
- package/dist/files/file-io.d.ts.map +1 -1
- package/dist/files/native-packaging-layout.d.ts +12 -0
- package/dist/files/native-packaging-layout.d.ts.map +1 -0
- package/dist/files/native-packaging.d.ts +72 -0
- package/dist/files/native-packaging.d.ts.map +1 -0
- package/dist/files/read.d.ts +2 -2
- package/dist/files/read.d.ts.map +1 -1
- package/dist/index-1a6jtnd9.js +88 -0
- package/dist/index-269zqj8m.js +77 -0
- package/dist/{index-r34mvse1.js → index-27a2pj09.js} +1 -1
- package/dist/{index-r956rndn.js → index-2hyavjjj.js} +3 -3
- package/dist/{index-m2xqkv55.js → index-2vnh05w4.js} +83 -14
- package/dist/{index-pw99k9h5.js → index-43p08g7t.js} +1 -1
- package/dist/{index-xwq9j1sf.js → index-4e0ah203.js} +9 -7
- package/dist/{index-qapzv4p5.js → index-5z6jn897.js} +1 -1
- package/dist/{index-ahvsksw5.js → index-6d9xaxw1.js} +1 -1
- package/dist/{index-8zfsgar0.js → index-6drst9sg.js} +11 -5
- package/dist/{index-x87j7csh.js → index-77nxk6ay.js} +2 -2
- package/dist/{index-dnn9z96q.js → index-a0zzh8ak.js} +3 -3
- package/dist/{index-kmpzj1cq.js → index-a3wma1hk.js} +1 -1
- package/dist/{index-j8aw2c0e.js → index-bakgedh8.js} +35 -7
- package/dist/index-bhb950qs.js +1145 -0
- package/dist/{index-tgzhq07n.js → index-cvda079a.js} +1 -1
- package/dist/{index-n2gre124.js → index-fa4wg312.js} +4 -4
- package/dist/{index-zp4jpkp0.js → index-fk18k56k.js} +2 -2
- package/dist/{index-afjvjyck.js → index-g2j7pnak.js} +2 -134
- package/dist/index-g95fk660.js +116 -0
- package/dist/{index-r5c4fedv.js → index-h2fhjqy7.js} +2 -1
- package/dist/{index-sybedc8b.js → index-hbd32c6a.js} +23 -94
- package/dist/{index-fyphpknh.js → index-hp9d77wk.js} +1 -1
- package/dist/index-jd470k6q.js +109 -0
- package/dist/{index-b2bz0kdm.js → index-kb8styz3.js} +4 -3
- package/dist/{index-0c419yx7.js → index-kemm0ej5.js} +12 -9
- package/dist/{index-db2spkv1.js → index-ptn0g0gj.js} +3 -3
- package/dist/{index-w575evhq.js → index-r4r70zmh.js} +1 -1
- package/dist/{index-12m2v2a9.js → index-s4evrmp5.js} +1 -1
- package/dist/{index-1khy8y7n.js → index-t1sr4aks.js} +3 -3
- package/dist/{index-45tdvqa3.js → index-wh0ecvyk.js} +1 -1
- package/dist/{index-n53mswt3.js → index-x928baz2.js} +8 -1
- package/dist/index-yk4g8805.js +133 -0
- package/dist/{index-ygkka6zn.js → index-ywppsaby.js} +28 -5
- package/dist/{index-9853ymwb.js → index-za6j7nwy.js} +18 -4
- package/dist/internal/bounded-file-read.d.ts +41 -0
- package/dist/internal/bounded-file-read.d.ts.map +1 -0
- package/dist/internal/exclusive-lock.d.ts +2 -0
- package/dist/internal/exclusive-lock.d.ts.map +1 -1
- package/dist/internal/with-exclusive-lock.d.ts +4 -2
- package/dist/internal/with-exclusive-lock.d.ts.map +1 -1
- package/dist/telegram/broadcast-delivery.d.ts +23 -0
- package/dist/telegram/broadcast-delivery.d.ts.map +1 -0
- package/dist/telegram/broadcast-failure.d.ts +22 -0
- package/dist/telegram/broadcast-failure.d.ts.map +1 -0
- package/dist/telegram/broadcast-state.d.ts +6 -3
- package/dist/telegram/broadcast-state.d.ts.map +1 -1
- package/dist/telegram/broadcast.d.ts +10 -5
- package/dist/telegram/broadcast.d.ts.map +1 -1
- package/dist/tools/cli/format.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/publication-assets.d.ts +10 -0
- package/dist/tools/cli/publication-assets.d.ts.map +1 -0
- package/dist/tools/cli/publication-contract.d.ts +75 -0
- package/dist/tools/cli/publication-contract.d.ts.map +1 -0
- package/dist/tools/cli/publication-control.d.ts +4 -0
- package/dist/tools/cli/publication-control.d.ts.map +1 -0
- package/dist/tools/cli/publication-storage.d.ts +32 -0
- package/dist/tools/cli/publication-storage.d.ts.map +1 -0
- package/dist/tools/cli/publication.d.ts +35 -0
- package/dist/tools/cli/publication.d.ts.map +1 -0
- package/dist/tools/cli/update.d.ts.map +1 -1
- package/dist/tools/connections/define.d.ts.map +1 -1
- package/dist/tools/connections/error-projection.d.ts +4 -0
- package/dist/tools/connections/error-projection.d.ts.map +1 -0
- package/dist/tools/connections/errors.d.ts +24 -8
- package/dist/tools/connections/errors.d.ts.map +1 -1
- package/dist/tools/connections/limits.d.ts +11 -31
- package/dist/tools/connections/limits.d.ts.map +1 -1
- package/dist/tools/connections/mcp-client.d.ts +6 -4
- package/dist/tools/connections/mcp-client.d.ts.map +1 -1
- package/dist/tools/connections/mcp.d.ts.map +1 -1
- package/dist/tools/connections/openapi.d.ts.map +1 -1
- package/dist/tools/connections/operation-limits.d.ts +25 -0
- package/dist/tools/connections/operation-limits.d.ts.map +1 -0
- package/dist/tools/connections/sse-frames.d.ts +11 -2
- package/dist/tools/connections/sse-frames.d.ts.map +1 -1
- package/dist/tools/connections/sse-session.d.ts +15 -2
- package/dist/tools/connections/sse-session.d.ts.map +1 -1
- package/dist/tools/connections/types.d.ts +19 -1
- package/dist/tools/connections/types.d.ts.map +1 -1
- package/dist/tools/execute-result.d.ts.map +1 -1
- package/dist/tools/execute.d.ts.map +1 -1
- package/dist/tools/internal/observe-hook.d.ts +3 -0
- package/dist/tools/internal/observe-hook.d.ts.map +1 -0
- package/dist/tools/internal/surface-projector.d.ts +2 -1
- package/dist/tools/internal/surface-projector.d.ts.map +1 -1
- package/dist/tools/mcp/mount.d.ts +2 -2
- package/dist/tools/mcp/mount.d.ts.map +1 -1
- package/dist/tools/mcp/prepare.d.ts +4 -5
- package/dist/tools/mcp/prepare.d.ts.map +1 -1
- package/dist/tools/mcp/register.d.ts +4 -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/remote.d.ts.map +1 -1
- package/dist/tools/runtime-tool-execution.d.ts +65 -0
- package/dist/tools/runtime-tool-execution.d.ts.map +1 -0
- package/dist/tools/runtime-tool-mcp.d.ts +27 -0
- package/dist/tools/runtime-tool-mcp.d.ts.map +1 -0
- package/dist/tools/runtime-tool.d.ts +9 -60
- package/dist/tools/runtime-tool.d.ts.map +1 -1
- package/dist/tools/surface.d.ts +12 -14
- package/dist/tools/surface.d.ts.map +1 -1
- package/llms/application.2.txt +221 -44
- package/llms/application.3.txt +3 -1
- package/llms/application.txt +1 -1
- package/llms/cli.2.txt +144 -1
- package/llms/cli.txt +123 -104
- package/llms/contract.txt +1 -1
- package/llms/files-packaging.txt +27 -0
- package/llms/process.txt +63 -1
- package/llms/server.4.txt +4 -1
- package/llms/server.5.txt +1 -0
- package/llms/stitchkit.2.txt +14 -0
- package/llms/stitchkit.txt +6 -4
- package/llms/telegram.txt +64 -2
- package/llms/tools-connections.txt +3 -0
- package/llms/tools-mcp.txt +29 -0
- package/llms/tools.2.txt +59 -0
- package/llms/tools.3.txt +1 -0
- package/llms/tools.txt +11 -52
- package/llms/upgrading-0.37.0-0.44.0.txt +444 -0
- package/llms/{upgrading-0.44.0-0.60.0.txt → upgrading-0.44.0-0.61.0.txt} +140 -271
- package/llms/{upgrading-0.61.0-0.74.0.txt → upgrading-0.62.0-0.80.0.txt} +217 -140
- package/llms/{upgrading-0.75.0-0.103.0.txt → upgrading-0.81.0-0.104.0.txt} +154 -217
- package/llms/upgrading.txt +4 -4
- package/llms-full.txt +745 -60
- package/llms.txt +14 -12
- package/native-assets.json +8 -0
- package/package.json +12 -3
- package/dist/index-wykebpn9.js +0 -221
- package/llms/upgrading-0.37.0.txt +0 -176
- package/dist/{index-69nvze1q.js → index-pptyv13k.js} +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -15,8 +15,128 @@ additive**; the first breaking change landed in 0.10.0. Grep the file for
|
|
|
15
15
|
|
|
16
16
|
## [Unreleased]
|
|
17
17
|
|
|
18
|
+
## [0.104.1] - 2026-10-04
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
|
|
22
|
+
- `stitchkit/files/packaging` — evolving build-only `createNativePackaging` resolves the
|
|
23
|
+
installed target addon, original SHA256 and a Bun-compatible plugin for custom companion
|
|
24
|
+
placement or embedded standalone delivery. Runtime leaves keep the same native owner;
|
|
25
|
+
archives, signing and installation policy remain application-owned. → ADR 0233
|
|
26
|
+
|
|
27
|
+
### Documentation
|
|
28
|
+
|
|
29
|
+
- The JS native-asset delivery migration first affected in 0.103.13 is explicit in the
|
|
30
|
+
[upgrade guide](docs/guide/upgrading.md#released-migration-010313), including single-file
|
|
31
|
+
packaging, complete output graphs and the distinct npm/JS/compiled delivery paths.
|
|
32
|
+
|
|
33
|
+
## [0.104.0] - 2026-10-04
|
|
34
|
+
|
|
35
|
+
### ⚠️ Breaking changes
|
|
36
|
+
|
|
37
|
+
**Who must act:** consumers constructing schema-dependent CLI/MCP tools inline,
|
|
38
|
+
custom state-store adapters, callers using retired file-lock options or broadcast
|
|
39
|
+
halt fields, consumers validating closed HTTP error schemas, and applications
|
|
40
|
+
collecting raw tool causes from protocol stderr. Follow the 0.104.0 migration guide;
|
|
41
|
+
native CLI commands and ordinary one-argument state transitions remain valid.
|
|
42
|
+
|
|
43
|
+
- `stitchkit/cli` — **construct schema-aware managed runtime tools before registration.**
|
|
44
|
+
The CLI registry no longer contextually types raw inline handlers or SDK-specific `present`.
|
|
45
|
+
This keeps strict NodeNext declarations independent of optional MCP/AI peers while preserving
|
|
46
|
+
the canonical schema-validating runner and strictly typed construction.
|
|
47
|
+
`// before: runtimeTools: [{ input, output, handler: ({ input }) => …, present }]` →
|
|
48
|
+
`// after: const tool = { … } satisfies RuntimeToolExecutionWithOutput<typeof input, typeof output>; runtimeTools: [tool]`
|
|
49
|
+
Keep SDK presenters on a definition constructed with `defineRuntimeTool` instead.
|
|
50
|
+
**Who must act:** callers constructing schema-dependent handlers or transport presenters inline
|
|
51
|
+
in `CliConfig.runtimeTools` / `CliInvokerConfig.runtimeTools`. Existing typed definitions and
|
|
52
|
+
native `commands` need no change. See [migration](docs/guide/upgrading.md#released-migration-01040).
|
|
53
|
+
→ ADR 0227
|
|
54
|
+
- `stitchkit/application` — custom state adapters must supply an active, fenced
|
|
55
|
+
`StateStoreUpdateContext`: `transition(current)` → `transition(current, context)` inside
|
|
56
|
+
their protected transaction. Remove file-store `staleLockMs` / `retryMs`:
|
|
57
|
+
`{ staleLockMs, retryMs, lockTimeoutMs }` → `{ lockTimeoutMs }`. Live and unknown owners
|
|
58
|
+
cannot be reclaimed by age; legacy lock recovery requires proof that the owner stopped.
|
|
59
|
+
Ordinary one-argument transition callbacks still work. → ADR 0228
|
|
60
|
+
- `stitchkit/telegram` — broadcast halt uses `TelegramBroadcastFailure`:
|
|
61
|
+
`report.halt.reason` → `report.halt.kind`. An unknown send outcome becomes durable
|
|
62
|
+
`uncertain` and halts without replay; explicit retry classifiers certify that the failed
|
|
63
|
+
attempt did not apply its effect. → ADR 0228
|
|
64
|
+
- `stitchkit/tools`, `stitchkit/tools/mcp` — construct schema-dependent MCP tools before
|
|
65
|
+
heterogeneous registration: `runtimeTools: [{ input, output, handler, present }]` →
|
|
66
|
+
`const tool = { … } satisfies RuntimeMcpToolDefinitionWithOutput<typeof input, typeof output>; runtimeTools: [tool]`.
|
|
67
|
+
Existing valid `defineRuntimeTool` values remain accepted. MCP presenters now retain the
|
|
68
|
+
official SDK's required content and metadata types: `present: { mcp: () => ({}) }` →
|
|
69
|
+
`present: { mcp: () => ({ content: [] }) }`. **Who must act:** inline MCP constructors
|
|
70
|
+
and presenters returning malformed content or metadata. → ADR 0231
|
|
71
|
+
- `stitchkit/contract`, `stitchkit/remote` — error envelopes and framed errors admit an
|
|
72
|
+
optional boolean `retryable`. A closed error schema must add
|
|
73
|
+
`retryable: z.boolean().optional()` before upgrading producers that declare it; envelopes
|
|
74
|
+
without a declaration remain unchanged. See [migrations](docs/guide/upgrading.md).
|
|
75
|
+
These migrations require a minor release. → ADR 0232
|
|
76
|
+
- `stitchkit/tools`, `stitchkit/cli` — raw unexpected tool errors are observed through
|
|
77
|
+
`hooks.onToolError` / `hooks.afterToolCall` instead of being printed on protocol stderr.
|
|
78
|
+
**Who must act:** applications collecting raw tool causes from `console.error`; configure
|
|
79
|
+
an internal hook sink instead. MCP resolver failures reach the same observing hooks without
|
|
80
|
+
rerunning the handler or its lifecycle. → ADR 0229
|
|
81
|
+
|
|
82
|
+
### Fixed
|
|
83
|
+
|
|
84
|
+
- `stitchkit/cli` runtime and declarations require no optional MCP/AI peers. Packed installed
|
|
85
|
+
proofs check strict NodeNext with `skipLibCheck: false` and execute native/managed commands
|
|
86
|
+
in Bun and Node. Post-publication proofs install neutral and SDK consumers as siblings so
|
|
87
|
+
transport peers cannot hide a declaration leak. Three CLI type exports name the neutral
|
|
88
|
+
construction and registration contracts; the shared void definition retains one owner.
|
|
89
|
+
|
|
90
|
+
- `implementRemote` forwards caller cancellation through the typed HTTP client for endpoints
|
|
91
|
+
with and without arguments. Aborts are safe `REQUEST_ABORTED` failures (CLI exit 130),
|
|
92
|
+
with no automatic replay. Cooperative origins receive request cancellation; applications
|
|
93
|
+
still own cancellation of external work. Explicit error `retryable: false` / `true`
|
|
94
|
+
survives HTTP, CLI, MCP, AI tools and framed contract streams; an omitted field keeps
|
|
95
|
+
the existing defaults and transport retry policy.
|
|
96
|
+
- Connection failures expose safe codes and phase/operation budgets through the existing
|
|
97
|
+
CLI/MCP/AI error boundary. Raw URLs, credentials, bodies and unknown exceptions remain
|
|
98
|
+
available to local observers while tool output and stderr contain safe errors.
|
|
99
|
+
- State stores and broadcasts verify the actual exclusive lock generation before committing.
|
|
100
|
+
A readable legacy or live owner is never reclaimed merely because its lock is old.
|
|
101
|
+
- Numeric SemVer prereleases retain their ordering during CLI updates and publication:
|
|
102
|
+
`1.0.0-rc.10` follows `1.0.0-rc.2`.
|
|
103
|
+
- Native Bun HTTP requests keep the framework request deadline and caller cancellation
|
|
104
|
+
as their timeout policy, disabling only Bun's independent socket idle timer. Both HTTP
|
|
105
|
+
client paths share one native adapter; explicit/custom fetch, Node/browser/Next request
|
|
106
|
+
identity, retry policy and existing raw/stream lifetime semantics stay compatible.
|
|
107
|
+
|
|
108
|
+
### Added
|
|
109
|
+
|
|
110
|
+
- `DirectoryInbox.accept({ source, key, entry })` durably admits programmatic work to the
|
|
111
|
+
existing directory inbox. The first payload wins; capacity, encoded bytes and completed
|
|
112
|
+
receipt retention are finite. Renewable claims fence stale completion and cleanup.
|
|
113
|
+
- An injected Telegram broadcast classifier supports known retry waits, transient failures,
|
|
114
|
+
permanent refusals and ambiguous send outcomes. Provider waits are never shortened.
|
|
115
|
+
- `publishCli` builds a bounded target set with one immutable stamp, verifies source admission,
|
|
116
|
+
commits assets before the public manifest, recovers completed versions and retains verified
|
|
117
|
+
history. Existing signatures, installer and updater keep one implementation.
|
|
118
|
+
- `stitchkit/tools/mcp` serves the existing HTTP/stdin-stdout MCP implementation with Zod
|
|
119
|
+
and the MCP SDK as its feature peers. Installing the AI SDK is unnecessary for this leaf.
|
|
120
|
+
- MCP discovery and calls have independent `limits.discovery` / `limits.call` deadlines and
|
|
121
|
+
raw byte ceilings; omitted fields inherit the existing shared limits.
|
|
122
|
+
- A managed stateful-client recipe covers startup, dependent resources, partial failure,
|
|
123
|
+
forced shutdown and restart with the existing application lifecycle.
|
|
124
|
+
- Reviewed surface growth: application +6 intake/context names, Telegram +2 classifier
|
|
125
|
+
names, CLI +4 publisher names; connection diagnostics and policy gain named public types.
|
|
126
|
+
The MCP leaf shares existing owners and gives strict MCP construction its own contracts.
|
|
127
|
+
|
|
18
128
|
## [0.103.13] - 2026-10-04
|
|
19
129
|
|
|
130
|
+
### ⚠️ Delivery migration
|
|
131
|
+
|
|
132
|
+
- `stitchkit/process`, `stitchkit/files` and contained-file tools in Bun JS distributions:
|
|
133
|
+
the static Darwin addon graph adds companion assets. This delivery change was published
|
|
134
|
+
as a patch, although packagers assuming one output must migrate:
|
|
135
|
+
`--outfile=dist/native.js` → `--outdir=dist --entry-naming=native.js` and retain all outputs.
|
|
136
|
+
Ordinary npm imports keep their package assets; Bun compiled executables embed them.
|
|
137
|
+
**Who must act:** custom JS packagers and installers, including single-archive delivery.
|
|
138
|
+
[Migration](docs/guide/upgrading.md#released-migration-010313).
|
|
139
|
+
|
|
20
140
|
### Fixed
|
|
21
141
|
|
|
22
142
|
- Darwin native process and contained-file backends retain a static addon dependency through
|
package/darwin-native.cjs
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/** Generated from the owning native asset graph. Loading remains lazy. */
|
|
2
2
|
module.exports = function loadDarwinAddon() {
|
|
3
|
-
// The catch also keeps non-Darwin builds independent of unavailable slices.
|
|
4
|
-
// Bun compile selects its target architecture and embeds that literal addon.
|
|
5
3
|
try {
|
|
6
4
|
if (process.arch === 'arm64') return require('./native/darwin-arm64.node');
|
|
7
5
|
if (process.arch === 'x64') return require('./native/darwin-x64.node');
|
|
@@ -133,6 +133,11 @@ export declare function fencingPhase(store: AgentRuntimeStore, conversationId: s
|
|
|
133
133
|
parts: ({
|
|
134
134
|
type: "text";
|
|
135
135
|
text: string;
|
|
136
|
+
} | {
|
|
137
|
+
type: "file";
|
|
138
|
+
mediaType: string;
|
|
139
|
+
reference: string;
|
|
140
|
+
filename?: string | undefined;
|
|
136
141
|
} | {
|
|
137
142
|
type: "reasoning";
|
|
138
143
|
text: string;
|
|
@@ -141,11 +146,6 @@ export declare function fencingPhase(store: AgentRuntimeStore, conversationId: s
|
|
|
141
146
|
provider: string;
|
|
142
147
|
data: Record<string, import("zod").JSONType>;
|
|
143
148
|
} | undefined;
|
|
144
|
-
} | {
|
|
145
|
-
type: "file";
|
|
146
|
-
mediaType: string;
|
|
147
|
-
reference: string;
|
|
148
|
-
filename?: string | undefined;
|
|
149
149
|
} | {
|
|
150
150
|
type: "source";
|
|
151
151
|
sourceId: string;
|
|
@@ -313,6 +313,11 @@ export declare function fencingPhase(store: AgentRuntimeStore, conversationId: s
|
|
|
313
313
|
parts: ({
|
|
314
314
|
type: "text";
|
|
315
315
|
text: string;
|
|
316
|
+
} | {
|
|
317
|
+
type: "file";
|
|
318
|
+
mediaType: string;
|
|
319
|
+
reference: string;
|
|
320
|
+
filename?: string | undefined;
|
|
316
321
|
} | {
|
|
317
322
|
type: "reasoning";
|
|
318
323
|
text: string;
|
|
@@ -321,11 +326,6 @@ export declare function fencingPhase(store: AgentRuntimeStore, conversationId: s
|
|
|
321
326
|
provider: string;
|
|
322
327
|
data: Record<string, import("zod").JSONType>;
|
|
323
328
|
} | undefined;
|
|
324
|
-
} | {
|
|
325
|
-
type: "file";
|
|
326
|
-
mediaType: string;
|
|
327
|
-
reference: string;
|
|
328
|
-
filename?: string | undefined;
|
|
329
329
|
} | {
|
|
330
330
|
type: "source";
|
|
331
331
|
sourceId: string;
|
|
@@ -8,11 +8,6 @@ export declare function userMessage(conversationId: string, id: string): {
|
|
|
8
8
|
parts: ({
|
|
9
9
|
type: "text";
|
|
10
10
|
text: string;
|
|
11
|
-
} | {
|
|
12
|
-
type: "file";
|
|
13
|
-
mediaType: string;
|
|
14
|
-
reference: string;
|
|
15
|
-
filename?: string | undefined;
|
|
16
11
|
} | {
|
|
17
12
|
type: "reasoning";
|
|
18
13
|
text: string;
|
|
@@ -21,6 +16,11 @@ export declare function userMessage(conversationId: string, id: string): {
|
|
|
21
16
|
provider: string;
|
|
22
17
|
data: Record<string, import("zod").JSONType>;
|
|
23
18
|
} | undefined;
|
|
19
|
+
} | {
|
|
20
|
+
type: "file";
|
|
21
|
+
mediaType: string;
|
|
22
|
+
reference: string;
|
|
23
|
+
filename?: string | undefined;
|
|
24
24
|
} | {
|
|
25
25
|
type: "source";
|
|
26
26
|
sourceId: string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { z } from 'zod';
|
|
2
|
+
import { type DirectoryInboxAccept, type DirectoryInboxAcceptResult } from './directory-inbox-contract.js';
|
|
3
|
+
import { type InboxFiles } from './directory-inbox-files.js';
|
|
4
|
+
import type { InboxStateAccess } from './directory-inbox-state.js';
|
|
5
|
+
export declare function createInboxAccept<TEntry>(options: {
|
|
6
|
+
access: InboxStateAccess;
|
|
7
|
+
files: () => InboxFiles;
|
|
8
|
+
accepting: () => boolean;
|
|
9
|
+
schema: z.ZodType<TEntry>;
|
|
10
|
+
maxEntryBytes: number;
|
|
11
|
+
maxPendingEntries: number;
|
|
12
|
+
}): (input: DirectoryInboxAccept<TEntry>) => Promise<DirectoryInboxAcceptResult>;
|
|
13
|
+
//# sourceMappingURL=directory-inbox-accept.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"directory-inbox-accept.d.ts","sourceRoot":"","sources":["../../src/application/directory-inbox-accept.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,0BAA0B,EAEhC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEL,KAAK,UAAU,EAGhB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,OAAO,EAAE;IACjD,MAAM,EAAE,gBAAgB,CAAC;IACzB,KAAK,EAAE,MAAM,UAAU,CAAC;IACxB,SAAS,EAAE,MAAM,OAAO,CAAC;IACzB,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;IAC1B,aAAa,EAAE,MAAM,CAAC;IACtB,iBAAiB,EAAE,MAAM,CAAC;CAC3B,WACsB,oBAAoB,CAAC,MAAM,CAAC,KAAG,OAAO,CAAC,0BAA0B,CAAC,CAkCxF"}
|
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import type { ManagedResource, ManagedResourceDependency } from './resource.js';
|
|
3
3
|
import type { StateStore } from './state-store.js';
|
|
4
|
+
export declare const DirectoryInboxIdentitySchema: z.ZodObject<{
|
|
5
|
+
source: z.ZodString;
|
|
6
|
+
key: z.ZodString;
|
|
7
|
+
}, z.core.$strict>;
|
|
8
|
+
export type DirectoryInboxIdentity = z.infer<typeof DirectoryInboxIdentitySchema>;
|
|
9
|
+
export declare const DirectoryInboxAcceptResultSchema: z.ZodObject<{
|
|
10
|
+
status: z.ZodEnum<{
|
|
11
|
+
accepted: "accepted";
|
|
12
|
+
duplicate: "duplicate";
|
|
13
|
+
}>;
|
|
14
|
+
filename: z.ZodString;
|
|
15
|
+
}, z.core.$strict>;
|
|
16
|
+
export type DirectoryInboxAcceptResult = z.infer<typeof DirectoryInboxAcceptResultSchema>;
|
|
17
|
+
export interface DirectoryInboxAccept<TEntry> extends DirectoryInboxIdentity {
|
|
18
|
+
readonly entry: TEntry;
|
|
19
|
+
}
|
|
4
20
|
export declare const DirectoryInboxRejectionReasonSchema: z.ZodEnum<{
|
|
5
21
|
"attempt-limit": "attempt-limit";
|
|
6
22
|
invalid: "invalid";
|
|
@@ -11,6 +27,10 @@ export declare const DirectoryInboxStateSchema: z.ZodObject<{
|
|
|
11
27
|
schemaVersion: z.ZodLiteral<1>;
|
|
12
28
|
claims: z.ZodArray<z.ZodObject<{
|
|
13
29
|
key: z.ZodString;
|
|
30
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
31
|
+
source: z.ZodString;
|
|
32
|
+
key: z.ZodString;
|
|
33
|
+
}, z.core.$strict>>;
|
|
14
34
|
attempts: z.ZodNumber;
|
|
15
35
|
nextAttemptAt: z.ZodString;
|
|
16
36
|
leaseId: z.ZodNullable<z.ZodString>;
|
|
@@ -18,10 +38,18 @@ export declare const DirectoryInboxStateSchema: z.ZodObject<{
|
|
|
18
38
|
}, z.core.$strict>>;
|
|
19
39
|
receipts: z.ZodArray<z.ZodObject<{
|
|
20
40
|
key: z.ZodString;
|
|
41
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
42
|
+
source: z.ZodString;
|
|
43
|
+
key: z.ZodString;
|
|
44
|
+
}, z.core.$strict>>;
|
|
21
45
|
completedAt: z.ZodString;
|
|
22
46
|
}, z.core.$strict>>;
|
|
23
47
|
rejected: z.ZodArray<z.ZodObject<{
|
|
24
48
|
key: z.ZodString;
|
|
49
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
50
|
+
source: z.ZodString;
|
|
51
|
+
key: z.ZodString;
|
|
52
|
+
}, z.core.$strict>>;
|
|
25
53
|
reason: z.ZodEnum<{
|
|
26
54
|
"attempt-limit": "attempt-limit";
|
|
27
55
|
invalid: "invalid";
|
|
@@ -44,6 +72,8 @@ export declare const emptyDirectoryInboxState: () => DirectoryInboxState;
|
|
|
44
72
|
export interface DirectoryInboxDelivery<TEntry> {
|
|
45
73
|
/** The entry's file name — stable across retries and restarts. */
|
|
46
74
|
readonly key: string;
|
|
75
|
+
/** Explicit producer identity for programmatic entries; filename remains the legacy key. */
|
|
76
|
+
readonly identity?: DirectoryInboxIdentity;
|
|
47
77
|
readonly entry: TEntry;
|
|
48
78
|
/** 1 on the first delivery of this entry. */
|
|
49
79
|
readonly attempt: number;
|
|
@@ -68,6 +98,8 @@ export interface DirectoryInboxConfig<TEntry> {
|
|
|
68
98
|
readonly maxAttempts?: number;
|
|
69
99
|
/** Larger entries are set aside unread. Default 1 MiB. */
|
|
70
100
|
readonly maxEntryBytes?: number;
|
|
101
|
+
/** Programmatic acceptance refuses a full inbox without creating a file. Default 1 000. */
|
|
102
|
+
readonly maxPendingEntries?: number;
|
|
71
103
|
/** Receipts and rejections kept. Default 1 000. */
|
|
72
104
|
readonly retain?: number;
|
|
73
105
|
/** An entry was set aside into `<directory>/rejected/`, with the reason. */
|
|
@@ -78,14 +110,16 @@ export interface DirectoryInboxConfig<TEntry> {
|
|
|
78
110
|
*/
|
|
79
111
|
readonly onError?: (error: unknown) => void | Promise<void>;
|
|
80
112
|
}
|
|
81
|
-
export interface DirectoryInbox {
|
|
113
|
+
export interface DirectoryInbox<TEntry = unknown> {
|
|
114
|
+
/** Durably buffer an entry before activation; duplicates never replace the first payload. */
|
|
115
|
+
accept(input: DirectoryInboxAccept<TEntry>): Promise<DirectoryInboxAcceptResult>;
|
|
82
116
|
/** Deliver every entry due now; resolves with how many were handled. */
|
|
83
117
|
flush(): Promise<number>;
|
|
84
118
|
state(): Promise<DirectoryInboxState>;
|
|
85
119
|
}
|
|
86
|
-
export interface DirectoryInboxResource extends ManagedResource {
|
|
120
|
+
export interface DirectoryInboxResource<TEntry = unknown> extends ManagedResource {
|
|
87
121
|
start(): Promise<{
|
|
88
|
-
readonly value: DirectoryInbox
|
|
122
|
+
readonly value: DirectoryInbox<TEntry>;
|
|
89
123
|
}>;
|
|
90
124
|
}
|
|
91
125
|
/** What the next step does with one entry of the directory. */
|
|
@@ -120,9 +154,12 @@ export declare function claimEntry(state: DirectoryInboxState, input: StepInput)
|
|
|
120
154
|
readonly step: InboxStep;
|
|
121
155
|
};
|
|
122
156
|
/** The entry was handled: its receipt replaces its claim. */
|
|
123
|
-
export declare function completeEntry(state: DirectoryInboxState,
|
|
157
|
+
export declare function completeEntry(state: DirectoryInboxState, claim: DirectoryInboxClaim, now: Date, retain: number): DirectoryInboxState;
|
|
124
158
|
/** The handler refused: wait, then take it again — unless it is no longer ours. */
|
|
125
|
-
export declare function releaseEntry(state: DirectoryInboxState, claim: DirectoryInboxClaim, retryAt: Date): DirectoryInboxState;
|
|
159
|
+
export declare function releaseEntry(state: DirectoryInboxState, claim: DirectoryInboxClaim, now: Date, retryAt: Date): DirectoryInboxState;
|
|
160
|
+
/** A expired or replaced owner cannot complete, reject, renew or release an entry. */
|
|
161
|
+
export declare function ownsClaim(state: DirectoryInboxState, claim: DirectoryInboxClaim, now: Date): boolean;
|
|
162
|
+
export declare function renewEntry(state: DirectoryInboxState, claim: DirectoryInboxClaim, now: Date, leaseMs: number): DirectoryInboxState;
|
|
126
163
|
/** Records about entries that are gone from the directory, except a live lease. */
|
|
127
164
|
export declare function forgetMissing(state: DirectoryInboxState, present: ReadonlySet<string>, now: Date): DirectoryInboxState;
|
|
128
165
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"directory-inbox-contract.d.ts","sourceRoot":"","sources":["../../src/application/directory-inbox-contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,eAAe,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAC7E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAchD,eAAO,MAAM,mCAAmC;;;;EAI9C,CAAC;AACH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CACjD,OAAO,mCAAmC,CAC3C,CAAC;AAEF,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"directory-inbox-contract.d.ts","sourceRoot":"","sources":["../../src/application/directory-inbox-contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,eAAe,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAC7E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAchD,eAAO,MAAM,4BAA4B;;;kBAE9B,CAAC;AACZ,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAElF,eAAO,MAAM,gCAAgC;;;;;;kBAElC,CAAC;AACZ,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAE1F,MAAM,WAAW,oBAAoB,CAA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AAE,MAAM,GACb,mBAAmB,CAcrB;AAED,mFAAmF;AACnF,wBAAgB,YAAY,CAC1B,KAAK,EAAE,mBAAmB,EAC1B,KAAK,EAAE,mBAAmB,EAC1B,GAAG,EAAE,IAAI,EACT,OAAO,EAAE,IAAI,GACZ,mBAAmB,CAerB;AAED,sFAAsF;AACtF,wBAAgB,SAAS,CACvB,KAAK,EAAE,mBAAmB,EAC1B,KAAK,EAAE,mBAAmB,EAC1B,GAAG,EAAE,IAAI,GACR,OAAO,CAWT;AAED,wBAAgB,UAAU,CACxB,KAAK,EAAE,mBAAmB,EAC1B,KAAK,EAAE,mBAAmB,EAC1B,GAAG,EAAE,IAAI,EACT,OAAO,EAAE,MAAM,GACd,mBAAmB,CAUrB;AAED,mFAAmF;AACnF,wBAAgB,aAAa,CAC3B,KAAK,EAAE,mBAAmB,EAC1B,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,EAC5B,GAAG,EAAE,IAAI,GACR,mBAAmB,CAOrB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type DirectoryInboxClaim, type DirectoryInboxConfig } from './directory-inbox-contract.js';
|
|
2
|
+
import type { InboxFiles } from './directory-inbox-files.js';
|
|
3
|
+
import { type InboxStateAccess } from './directory-inbox-state.js';
|
|
4
|
+
export declare function createInboxDelivery<TEntry>(options: {
|
|
5
|
+
config: DirectoryInboxConfig<TEntry>;
|
|
6
|
+
access: InboxStateAccess;
|
|
7
|
+
files: () => InboxFiles;
|
|
8
|
+
clock: () => Date;
|
|
9
|
+
forced: () => AbortSignal;
|
|
10
|
+
leaseMs: number;
|
|
11
|
+
retain: number;
|
|
12
|
+
report: (error: unknown) => Promise<void>;
|
|
13
|
+
}): (taken: DirectoryInboxClaim) => Promise<boolean>;
|
|
14
|
+
//# sourceMappingURL=directory-inbox-delivery.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"directory-inbox-delivery.d.ts","sourceRoot":"","sources":["../../src/application/directory-inbox-delivery.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EAM1B,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAqB,KAAK,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAInF,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,OAAO,EAAE;IACnD,MAAM,EAAE,oBAAoB,CAAC,MAAM,CAAC,CAAC;IACrC,MAAM,EAAE,gBAAgB,CAAC;IACzB,KAAK,EAAE,MAAM,UAAU,CAAC;IACxB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,MAAM,EAAE,MAAM,WAAW,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC3C,WAEsB,mBAAmB,KAAG,OAAO,CAAC,OAAO,CAAC,CAmH5D"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { type FileObservation } from '../internal/bounded-file-read.js';
|
|
3
|
+
import { type DirectoryInboxIdentity } from './directory-inbox-contract.js';
|
|
4
|
+
import type { StateStoreUpdateContext } from './state-store.js';
|
|
5
|
+
export type InboxRead<TEntry> = {
|
|
6
|
+
entry: TEntry;
|
|
7
|
+
identity?: DirectoryInboxIdentity;
|
|
8
|
+
observation: FileObservation;
|
|
9
|
+
} | {
|
|
10
|
+
reason: 'invalid' | 'too-large';
|
|
11
|
+
detail: string;
|
|
12
|
+
identity?: DirectoryInboxIdentity;
|
|
13
|
+
observation?: FileObservation;
|
|
14
|
+
} | null;
|
|
15
|
+
export declare const missingInboxFile: (error: unknown) => boolean;
|
|
16
|
+
export declare function inboxFilename(identity: DirectoryInboxIdentity): string;
|
|
17
|
+
export declare function sameInboxIdentity(a: DirectoryInboxIdentity | undefined, b: DirectoryInboxIdentity): boolean;
|
|
18
|
+
export declare function encodeInboxEntry<TEntry>(identity: DirectoryInboxIdentity, entry: TEntry, schema: z.ZodType<TEntry>, maxBytes: number): string;
|
|
19
|
+
export declare function createInboxFiles(directory: string, maxBytes: number): Promise<{
|
|
20
|
+
names(limit?: number): Promise<string[]>;
|
|
21
|
+
read<TEntry>(key: string, schema: z.ZodType<TEntry>): Promise<InboxRead<TEntry>>;
|
|
22
|
+
existingIdentity(key: string): Promise<DirectoryInboxIdentity | undefined>;
|
|
23
|
+
publish(key: string, bytes: string, context: StateStoreUpdateContext): Promise<void>;
|
|
24
|
+
remove(key: string, context: StateStoreUpdateContext, observation?: FileObservation): Promise<void>;
|
|
25
|
+
setAside(key: string, context: StateStoreUpdateContext, observation?: FileObservation): Promise<void>;
|
|
26
|
+
}>;
|
|
27
|
+
export type InboxFiles = Awaited<ReturnType<typeof createInboxFiles>>;
|
|
28
|
+
//# sourceMappingURL=directory-inbox-files.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"directory-inbox-files.d.ts","sourceRoot":"","sources":["../../src/application/directory-inbox-files.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAEL,KAAK,eAAe,EAErB,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EACL,KAAK,sBAAsB,EAE5B,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAY7D,MAAM,MAAM,SAAS,CAAC,MAAM,IACxB;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,sBAAsB,CAAC;IAAC,WAAW,EAAE,eAAe,CAAA;CAAE,GAClF;IACE,MAAM,EAAE,SAAS,GAAG,WAAW,CAAC;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,sBAAsB,CAAC;IAClC,WAAW,CAAC,EAAE,eAAe,CAAC;CAC/B,GACD,IAAI,CAAC;AAET,eAAO,MAAM,gBAAgB,UAAW,OAAO,KAAG,OACoB,CAAC;AAEvE,wBAAgB,aAAa,CAAC,QAAQ,EAAE,sBAAsB,GAAG,MAAM,CAQtE;AAED,wBAAgB,iBAAiB,CAC/B,CAAC,EAAE,sBAAsB,GAAG,SAAS,EACrC,CAAC,EAAE,sBAAsB,GACxB,OAAO,CAET;AAED,wBAAgB,gBAAgB,CAAC,MAAM,EACrC,QAAQ,EAAE,sBAAsB,EAChC,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,EACzB,QAAQ,EAAE,MAAM,GACf,MAAM,CAeR;AAED,wBAAsB,gBAAgB,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;kBA0BlD,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;SASnC,MAAM,OAAO,MAAM,UAAU,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;0BAuD1D,MAAM,GAAG,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC;iBAezE,MAAM,SACJ,MAAM,WACJ,uBAAuB,GAC/B,OAAO,CAAC,IAAI,CAAC;gBAgBT,MAAM,WACF,uBAAuB,gBAClB,eAAe,GAC5B,OAAO,CAAC,IAAI,CAAC;kBAUT,MAAM,WACF,uBAAuB,gBAClB,eAAe,GAC5B,OAAO,CAAC,IAAI,CAAC;GAgBnB;AAED,MAAM,MAAM,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { FileObservation } from '../internal/bounded-file-read.js';
|
|
2
|
+
import { type DirectoryInboxRejection, type DirectoryInboxState } from './directory-inbox-contract.js';
|
|
3
|
+
import type { InboxFiles } from './directory-inbox-files.js';
|
|
4
|
+
import type { StateStore, StateStoreUpdate, StateStoreUpdateContext } from './state-store.js';
|
|
5
|
+
export interface InboxStateAccess {
|
|
6
|
+
update<TResult>(transition: (state: DirectoryInboxState, context: StateStoreUpdateContext) => StateStoreUpdate<DirectoryInboxState, TResult> | Promise<StateStoreUpdate<DirectoryInboxState, TResult>>): Promise<TResult>;
|
|
7
|
+
read(): Promise<DirectoryInboxState>;
|
|
8
|
+
}
|
|
9
|
+
export declare function inboxStateAccess(store: StateStore<DirectoryInboxState>): InboxStateAccess;
|
|
10
|
+
/** Durable settlement precedes cleanup; cleanup rechecks its fact and exact file generation. */
|
|
11
|
+
export declare function cleanupInboxEntry(access: InboxStateAccess, files: InboxFiles, key: string, settlement: {
|
|
12
|
+
completedAt: string;
|
|
13
|
+
} | DirectoryInboxRejection, observation?: FileObservation): Promise<void>;
|
|
14
|
+
//# sourceMappingURL=directory-inbox-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"directory-inbox-state.d.ts","sourceRoot":"","sources":["../../src/application/directory-inbox-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EAGzB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAE3F,MAAM,WAAW,gBAAgB;IAC/B,MAAM,CAAC,OAAO,EACZ,UAAU,EAAE,CACV,KAAK,EAAE,mBAAmB,EAC1B,OAAO,EAAE,uBAAuB,KAE9B,gBAAgB,CAAC,mBAAmB,EAAE,OAAO,CAAC,GAC9C,OAAO,CAAC,gBAAgB,CAAC,mBAAmB,EAAE,OAAO,CAAC,CAAC,GAC1D,OAAO,CAAC,OAAO,CAAC,CAAC;IACpB,IAAI,IAAI,OAAO,CAAC,mBAAmB,CAAC,CAAC;CACtC;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,UAAU,CAAC,mBAAmB,CAAC,GAAG,gBAAgB,CAQzF;AAED,gGAAgG;AAChG,wBAAsB,iBAAiB,CACrC,MAAM,EAAE,gBAAgB,EACxB,KAAK,EAAE,UAAU,EACjB,GAAG,EAAE,MAAM,EACX,UAAU,EAAE;IAAE,WAAW,EAAE,MAAM,CAAA;CAAE,GAAG,uBAAuB,EAC7D,WAAW,CAAC,EAAE,eAAe,GAC5B,OAAO,CAAC,IAAI,CAAC,CAsBf"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { type DirectoryInboxConfig, type DirectoryInboxResource } from './directory-inbox-contract.js';
|
|
2
|
-
|
|
2
|
+
/** One file-backed intake engine for atomically dropped and programmatically accepted entries. */
|
|
3
|
+
export declare function createDirectoryInbox<TEntry>(config: DirectoryInboxConfig<TEntry>): DirectoryInboxResource<TEntry>;
|
|
3
4
|
//# sourceMappingURL=directory-inbox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"directory-inbox.d.ts","sourceRoot":"","sources":["../../src/application/directory-inbox.ts"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"directory-inbox.d.ts","sourceRoot":"","sources":["../../src/application/directory-inbox.ts"],"names":[],"mappings":"AAIA,OAAO,EAGL,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAG5B,MAAM,4BAA4B,CAAC;AAkCpC,kGAAkG;AAClG,wBAAgB,oBAAoB,CAAC,MAAM,EACzC,MAAM,EAAE,oBAAoB,CAAC,MAAM,CAAC,GACnC,sBAAsB,CAAC,MAAM,CAAC,CAuJhC"}
|
|
@@ -9,15 +9,9 @@ export interface FileStateStoreOptions<TState> {
|
|
|
9
9
|
/** `throw` is the safe default. `empty` is appropriate for reconstructable ledgers. */
|
|
10
10
|
readonly corrupt?: 'throw' | 'empty';
|
|
11
11
|
readonly onCorrupt?: (failure: FileStateStoreCorruption) => void | Promise<void>;
|
|
12
|
+
/** Maximum wait to acquire the lock; never revokes a live transition. Default 10 s. */
|
|
12
13
|
readonly lockTimeoutMs?: number;
|
|
13
|
-
readonly staleLockMs?: number;
|
|
14
|
-
readonly retryMs?: number;
|
|
15
14
|
}
|
|
16
|
-
/**
|
|
17
|
-
* A versioned JSON state store with one cross-process atomic update boundary.
|
|
18
|
-
*
|
|
19
|
-
* The lock is an exclusive file, not an in-memory mutex. Writes use a unique
|
|
20
|
-
* temporary file in the destination directory followed by an atomic rename.
|
|
21
|
-
*/
|
|
15
|
+
/** One durable atomic state transition under the canonical process-instance lock. */
|
|
22
16
|
export declare function createFileStateStore<TState>(path: string, options: FileStateStoreOptions<TState>): StateStore<TState>;
|
|
23
17
|
//# sourceMappingURL=file-state-store.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-state-store.d.ts","sourceRoot":"","sources":["../../src/application/file-state-store.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"file-state-store.d.ts","sourceRoot":"","sources":["../../src/application/file-state-store.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAI7B,OAAO,KAAK,EAAE,UAAU,EAA2B,MAAM,eAAe,CAAC;AAEzE,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,qBAAqB,CAAC,MAAM;IAC3C,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;IACnC,uFAAuF;IACvF,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACrC,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,wBAAwB,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACjF,uFAAuF;IACvF,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;CACjC;AAKD,qFAAqF;AACrF,wBAAgB,oBAAoB,CAAC,MAAM,EACzC,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,qBAAqB,CAAC,MAAM,CAAC,GACrC,UAAU,CAAC,MAAM,CAAC,CAmEpB"}
|
|
@@ -3,6 +3,11 @@ export interface StateStoreUpdate<TState, TResult> {
|
|
|
3
3
|
readonly state: TState;
|
|
4
4
|
readonly result: TResult;
|
|
5
5
|
}
|
|
6
|
+
/** The still-active protected transaction that owns a state transition. */
|
|
7
|
+
export interface StateStoreUpdateContext {
|
|
8
|
+
/** Refuse when the transaction ended or its exclusive generation was lost. */
|
|
9
|
+
assertHeld(): Promise<void>;
|
|
10
|
+
}
|
|
6
11
|
/**
|
|
7
12
|
* Persistence boundary for small application state machines.
|
|
8
13
|
*
|
|
@@ -13,6 +18,6 @@ export interface StateStoreUpdate<TState, TResult> {
|
|
|
13
18
|
*/
|
|
14
19
|
export interface StateStore<TState> {
|
|
15
20
|
read(): Promise<TState | null>;
|
|
16
|
-
update<TResult>(transition: (current: TState | null) => StateStoreUpdate<TState, TResult> | Promise<StateStoreUpdate<TState, TResult>>): Promise<TResult>;
|
|
21
|
+
update<TResult>(transition: (current: TState | null, context: StateStoreUpdateContext) => StateStoreUpdate<TState, TResult> | Promise<StateStoreUpdate<TState, TResult>>): Promise<TResult>;
|
|
17
22
|
}
|
|
18
23
|
//# sourceMappingURL=state-store.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state-store.d.ts","sourceRoot":"","sources":["../../src/application/state-store.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,MAAM,WAAW,gBAAgB,CAAC,MAAM,EAAE,OAAO;IAC/C,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;CAC1B;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,UAAU,CAAC,MAAM;IAChC,IAAI,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC/B,MAAM,CAAC,OAAO,EACZ,UAAU,EAAE,CACV,OAAO,EAAE,MAAM,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"state-store.d.ts","sourceRoot":"","sources":["../../src/application/state-store.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,MAAM,WAAW,gBAAgB,CAAC,MAAM,EAAE,OAAO;IAC/C,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;CAC1B;AAED,2EAA2E;AAC3E,MAAM,WAAW,uBAAuB;IACtC,8EAA8E;IAC9E,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAC7B;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,UAAU,CAAC,MAAM;IAChC,IAAI,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC/B,MAAM,CAAC,OAAO,EACZ,UAAU,EAAE,CACV,OAAO,EAAE,MAAM,GAAG,IAAI,EACtB,OAAO,EAAE,uBAAuB,KAC7B,gBAAgB,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAClF,OAAO,CAAC,OAAO,CAAC,CAAC;CACrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client-arguments.d.ts","sourceRoot":"","sources":["../../src/browser/client-arguments.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,oFAAoF;AACpF,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,WAAW,GAAG,OAAO,CAEnE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-executors.d.ts","sourceRoot":"","sources":["../../src/browser/client-executors.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,KAAK,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAInE,OAAO,EAEL,KAAK,UAAU,IAAI,WAAW,EAG/B,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"client-executors.d.ts","sourceRoot":"","sources":["../../src/browser/client-executors.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,KAAK,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAInE,OAAO,EAEL,KAAK,UAAU,IAAI,WAAW,EAG/B,MAAM,QAAQ,CAAC;AAmEhB,MAAM,MAAM,qBAAqB,GAAG,CAClC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACpC,OAAO,CAAC,EAAE,oBAAoB,KAC3B,OAAO,CAAC,OAAO,CAAC,CAAC;AAEtB,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,MAAM,EACjD,QAAQ,EAAE,WAAW,EACrB,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,WAAW,EACnB,MAAM,CAAC,EAAE,oBAAoB,CAAC,CAAC,CAAC,GAC/B,qBAAqB,CA+DvB;AAED,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,MAAM,EAClD,QAAQ,EAAE,WAAW,EACrB,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,YAAY,EACpB,cAAc,CAAC,EAAE,oBAAoB,CAAC,CAAC,CAAC,GACvC,qBAAqB,CAyHvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/browser/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,gBAAgB,EAChB,gBAAgB,EAGjB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/browser/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,gBAAgB,EAChB,gBAAgB,EAGjB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AASnE,OAAO,KAAK,EAAE,UAAU,IAAI,WAAW,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,YAAY,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,iFAAiF;IACjF,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,CAAC,MAAM,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAClE,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CACnD;AAED;;;GAGG;AACH,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,MAAM,IAAI,CAAC,CAAC,CAAC,S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CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC;CAAE,CAOxE;AAED,mFAAmF;AACnF,wBAAgB,uBAAuB,CACrC,KAAK,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,EACnD,KAAK,CAAC,OAAO,SAAS,kBAAkB,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAEnE,SAAS,EAAE,CAAC,EACZ,MAAM,EAAE,gBAAgB,EACxB,YAAY,EAAE,OAAO,GACpB,wBAAwB,CAAC,CAAC,EAAE,OAAO,CAAC,CAOtC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract-stream.d.ts","sourceRoot":"","sources":["../../src/browser/contract-stream.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AACnC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"contract-stream.d.ts","sourceRoot":"","sources":["../../src/browser/contract-stream.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AACnC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAiJnE,iFAAiF;AACjF,wBAAgB,mBAAmB,CAAC,CAAC,EACnC,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,wBAAwB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAChD,KAAK,EAAE,MAAM,IAAI,GAChB,qBAAqB,CAAC,CAAC,CAAC,CAE1B"}
|
package/dist/browser/http.d.ts
CHANGED
|
@@ -18,7 +18,8 @@ export declare class ApiError extends Error {
|
|
|
18
18
|
readonly details?: unknown;
|
|
19
19
|
readonly hint?: string | undefined;
|
|
20
20
|
readonly traceId?: string | undefined;
|
|
21
|
-
|
|
21
|
+
readonly retryable?: boolean | undefined;
|
|
22
|
+
constructor(code: string, status?: number, details?: unknown, message?: string, hint?: string | undefined, traceId?: string | undefined, options?: ErrorOptions, retryable?: boolean | undefined);
|
|
22
23
|
static is(error: unknown): error is ApiError;
|
|
23
24
|
}
|
|
24
25
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../src/browser/http.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAIxD,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,UAAU,EAGhB,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../src/browser/http.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAIxD,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,UAAU,EAGhB,MAAM,cAAc,CAAC;AAGtB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAG/C,MAAM,MAAM,QAAQ,GAChB;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE,GACxB;IAAE,IAAI,EAAE,eAAe,CAAA;CAAE,GACzB;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,CAAC;AAEvB,MAAM,MAAM,gBAAgB,GAAG,CAAC,KAAK,EAAE,QAAQ,KAAK,IAAI,CAAC;AAEzD,sEAAsE;AACtE,MAAM,MAAM,mBAAmB,GAAG,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC;AAsChE,qBAAa,QAAS,SAAQ,KAAK;aAEf,IAAI,EAAE,MAAM;aACZ,MAAM,EAAE,MAAM;aACd,OAAO,CAAC,EAAE,OAAO;aAEjB,IAAI,CAAC,EAAE,MAAM;aAC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AAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IAC3E,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IAC1E,KAAK,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IAC5E,MAAM,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IAC7D,gBAAgB,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,SAAS,CAAC,QAAQ,EAAE,gBAAgB,GAAG,MAAM,IAAI,CAAC;IAClD,gFAAgF;IAChF,MAAM,IAAI,IAAI,CAAC;IACf,oEAAoE;IACpE,gBAAgB,IAAI,IAAI,CAAC;CAC1B;AAED,gFAAgF;AAChF,MAAM,WAAW,oBAAqB,SAAQ,UAAU;IACtD,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAsED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,gBAAgB,GAAG,oBAAoB,CA6K/E"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ClientFetch } from './transport.js';
|
|
2
|
+
/**
|
|
3
|
+
* The client owns its whole-request/open deadline through AbortSignal. Bun's
|
|
4
|
+
* independent idle timer must not end a native request before that deadline.
|
|
5
|
+
* Explicit transports and patched global fetch keep their own delivery policy.
|
|
6
|
+
*/
|
|
7
|
+
export declare function resolveClientFetch(explicitFetch?: ClientFetch): ClientFetch;
|
|
8
|
+
//# sourceMappingURL=native-fetch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"native-fetch.d.ts","sourceRoot":"","sources":["../../src/browser/native-fetch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAc/C;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,aAAa,CAAC,EAAE,WAAW,GAAG,WAAW,CAU3E"}
|