stitchkit 0.136.6 → 0.136.8

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.
Files changed (34) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/entrypoints/cli/publish.d.ts +4 -4
  3. package/dist/entrypoints/cli/publish.d.ts.map +1 -1
  4. package/dist/entrypoints/cli/publish.js +154 -46
  5. package/dist/entrypoints/cli.d.ts +1 -1
  6. package/dist/entrypoints/cli.d.ts.map +1 -1
  7. package/dist/entrypoints/cli.js +3 -1
  8. package/dist/entrypoints/postgres.d.ts +8 -0
  9. package/dist/entrypoints/postgres.d.ts.map +1 -0
  10. package/dist/entrypoints/postgres.js +380 -0
  11. package/dist/{index-f103md2v.js → index-3zt0r4y0.js} +84 -19
  12. package/dist/postgres/connection-config.d.ts +54 -0
  13. package/dist/postgres/connection-config.d.ts.map +1 -0
  14. package/dist/postgres/serialize-prisma.d.ts +40 -0
  15. package/dist/postgres/serialize-prisma.d.ts.map +1 -0
  16. package/dist/tools/cli/distribution-config.d.ts +39 -1
  17. package/dist/tools/cli/distribution-config.d.ts.map +1 -1
  18. package/dist/tools/cli/distribution-routes.d.ts +4 -2
  19. package/dist/tools/cli/distribution-routes.d.ts.map +1 -1
  20. package/dist/tools/cli/publication-contract.d.ts +9 -2
  21. package/dist/tools/cli/publication-contract.d.ts.map +1 -1
  22. package/dist/tools/cli/publication.d.ts.map +1 -1
  23. package/dist/tools/cli/signature.d.ts +23 -9
  24. package/dist/tools/cli/signature.d.ts.map +1 -1
  25. package/dist/tools/cli/update.d.ts +6 -1
  26. package/dist/tools/cli/update.d.ts.map +1 -1
  27. package/llms/cli-publish.txt +4 -1
  28. package/llms/cli.2.txt +32 -43
  29. package/llms/cli.3.txt +32 -1
  30. package/llms/postgres.txt +47 -0
  31. package/llms/stitchkit.txt +3 -1
  32. package/llms-full.txt +77 -15
  33. package/llms.txt +4 -3
  34. package/package.json +7 -3
package/llms-full.txt CHANGED
@@ -65,7 +65,7 @@ own, recorded as an ADR.
65
65
  | `stitchkit/tools/invoker` | server | stable<br>_redefined in 3 of the 43 minors since 0.94.0, most recently 0.127.0_ | peer-free `createToolInvoker` over the canonical contract tool runner |
66
66
  | `stitchkit/tools/connections` | server (Bun or Node) | evolving<br>_redefined in 3 of the 43 minors since 0.94.0, most recently 0.127.0_ | consume external MCP servers and a bounded OpenAPI subset — typed reauthorization, a per-request host fence and per-call credentials |
67
67
  | `stitchkit/cli` | server | stable<br>_redefined in 12 of the 43 minors since 0.94.0, most recently 0.128.0_ | `createCli` / `createCliInvoker` — runtime and strict NodeNext declarations without MCP SDK / `ai` |
68
- | `stitchkit/cli/publish` | build, release and server tooling (Bun or Node, POSIX) | evolving<br>_redefined in 0 of the 43 minors since 0.94.0_ | `publishCli`, shipping-input versioning (`deriveCliVersionFromShippingInputs`, `cliShippingInputsChanged`, `assertCleanCliSource`), and `createCliDistributionRoutes` (`RawRoute[]` channel manifest, asset and installer routes); see [CLI guide](cli.md#publishing-a-complete-version) |
68
+ | `stitchkit/cli/publish` | artifact publication and HTTP serving tooling (Bun or Node, POSIX) | evolving<br>_redefined in 0 of the 43 minors since 0.94.0_ | `publishCli`, shipping-input versioning (`deriveCliVersionFromShippingInputs`, `cliShippingInputsChanged`, `assertCleanCliSource`), `createCliDistributionRoutes`, and the unpublished-channel response contract (`CLI_DISTRIBUTION_UNPUBLISHED_RESPONSE`, `isCliDistributionUnpublishedResponse`); see [CLI guide](cli.md#publishing-a-complete-version) |
69
69
  | `stitchkit/remote` | browser **and** server | stable<br>_redefined in 1 of the 43 minors since 0.94.0, most recently 0.104.0_ | peer-free `implementRemote` for thin HTTP proxy processes |
70
70
  | `stitchkit/process` | server (Bun or Node, POSIX) | evolving<br>_redefined in 4 of the 43 minors since 0.94.0, most recently 0.133.0_ | finite native commands, byte sinks, bounded capture, process-group cancellation and opt-in Linux/Darwin owner-loss cleanup; contract operations executed in one-call child processes |
71
71
  | `stitchkit/process/bootstrap` | bundled server entry (Bun, POSIX) | evolving<br>_redefined in 0 of the 4 minors since 0.133.0_ | narrow bootstrap that keeps the process runner lazy while carrying the package's own invocations — the owner-loss guard and the process root of launched work — in a single-file bundle |
@@ -89,6 +89,7 @@ own, recorded as an ADR.
89
89
  | `stitchkit/voice` | browser **and** server | evolving<br>_redefined in 0 of the 43 minors since 0.94.0_ | the mechanics of a live voice reply — `SentenceCutter`, `speakableText`, a `SpeechQueue` that synthesises ahead and stops on interruption, the conversation phases |
90
90
  | `stitchkit/sync` | browser **and** server | evolving<br>_redefined in 1 of the 10 minors since 0.127.0, most recently 0.132.0_ | the client half of an offline-first sync — which outbox rows leave next, pending edits on top of remote rows, deletes that win until acknowledged, the cursor session, the push and page wire with an open outcome vocabulary; no driver, runs in Hermes |
91
91
  | `stitchkit/sync/postgres` | server (Bun or Node) | evolving<br>_redefined in 0 of the 10 minors since 0.127.0_ | the server half — versions that commit in order, a ledger that runs each change once, a feed of what changed, inside the app's own transaction; a memory store and `checkSyncStore` |
92
+ | `stitchkit/postgres` | server (Bun or Node) | evolving<br>_redefined in 0 of the 1 minor since 0.136.7_ | peer-free PostgreSQL helpers — `postgresConnectionConfig` safely merges URL `?options=` with enforced `TimeZone=UTC`, `search_path` and custom parameters for `PrismaPg`/`pg.Pool`, and `withSerializedPrismaTransactions` queues interactive transaction statements one at a time on a Prisma SQL driver adapter while keeping pool queries parallel |
92
93
  | `stitchkit/geo` | server (Bun or Node) | evolving<br>_redefined in 2 of the 43 minors since 0.94.0, most recently 0.127.0_ | managed GeoIP reader generations, last-known-good reload and the optional MaxMind adapter |
93
94
  | `stitchkit/geo/contract` | browser **and** server | evolving<br>_redefined in 0 of the 43 minors since 0.94.0_ | the place snapshot schema, for a shared contract that stores or sends `GeoAttribution`; brings `zod` |
94
95
  | `stitchkit/xlsx` | browser **and** server | evolving<br>_redefined in 0 of the 43 minors since 0.94.0_ | a workbook from rows and typed columns, with no dependency; text never runs as a formula |
@@ -250,6 +251,7 @@ map — feature → packages:
250
251
  | Anthropic native provider (`stitchkit/agent-runtime/anthropic`) | — (peer-free) |
251
252
  | AI SDK runtime adapter (`stitchkit/agent-runtime/ai-sdk`) | `ai` |
252
253
  | Postgres agent store (`stitchkit/agent-runtime/postgres`) | — (the application's own Postgres client) |
254
+ | Postgres connection options and Prisma transaction serializer (`stitchkit/postgres`) | — (peer-free; composes with `pg.Pool` and Prisma SQL driver adapters) |
253
255
  | SQLite agent store (`stitchkit/agent-runtime/sqlite/bun` or `/node`) | — (runtime built-in) |
254
256
  | Agent executor — Claude Agent SDK leaf (`stitchkit/agent-executor/claude-sdk`) | `@anthropic-ai/claude-agent-sdk` |
255
257
  | Agent executor — consumer testing kit (`stitchkit/agent-executor/testing`) | — |
@@ -13582,7 +13584,7 @@ exists to distrust.
13582
13584
  `publishCli` is an opt-in publisher for a local application-owned distribution
13583
13585
  directory. It commits every target and its version manifest before atomically
13584
13586
  replacing the public `manifest.json`. It ships from its own evolving entrypoint,
13585
- `stitchkit/cli/publish`: release infrastructure follows how distributions are
13587
+ `stitchkit/cli/publish`: artifact publication and HTTP serving infrastructure follows how distributions are
13586
13588
  published, so it is not held to the stable promise of `stitchkit/cli`
13587
13589
  ([ADR 0245](../decisions/0245-cli-publication-is-an-evolving-leaf.md)). The
13588
13590
  manifest, signatures, installer and updater it writes for stay in
@@ -13660,9 +13662,11 @@ be checked. A failure after public-pointer rename may already have published;
13660
13662
  `AtomicFilePublicationError.published` remains available when the atomic writer
13661
13663
  reports that boundary. Read the durable manifest and retry the admitted same
13662
13664
  identity to recover; an error does not promise rollback. Optional `signing` and
13663
- `trust` reuse the Ed25519 contract below. The generated shell installer checks
13664
- raw digest and size; the updater checks manifest authorship when given a trust
13665
- root.
13665
+ `trust` reuse the Ed25519 contract below; when `trust` is passed, `publishCli`
13666
+ validates it eagerly with `CliTrustRootSchema` (requiring at least one valid Ed25519
13667
+ public key) and requires a `'valid'` manifest signature fail-closed. The generated shell
13668
+ installer checks raw digest and size; the updater checks manifest authorship when given a
13669
+ trust root.
13666
13670
 
13667
13671
  ### Versioning from shipping inputs and verifying clean source
13668
13672
 
@@ -13738,14 +13742,32 @@ Each configured channel mounts `${basePath}/channels/<channel>/manifest.json`
13738
13742
  descriptor-streamed binary listed in the signed manifest with `Content-Length`
13739
13743
  and `Content-Disposition`). `${basePath}/install.sh` renders `renderCliInstaller`
13740
13744
  from the verified `installerChannel` manifest (`no-store`). Every read checks
13741
- canonical directory containment (`realpath` + `isWithinDir`), opens regular files
13742
- with `O_NOFOLLOW`, parses strict UTF-8 JSON without `__proto__`, verifies
13743
- `manifest.name` and Ed25519 signature strictly (`verifyCliManifest === 'valid'`),
13744
- and streams full asset bodies portably on both Bun and Node without `Bun.file`.
13745
- When `root` is `undefined`, `trust.keys` is empty, or the manifest is missing,
13746
- unsigned, tampered, oversized or has no assets, channel manifest and installer
13747
- routes fail closed with `503 No verified CLI build is published` (`no-store`),
13748
- and exceptions thrown by `onUnavailable` are isolated.
13745
+ each directory segment with `lstat` plus canonical containment (`realpath` +
13746
+ `isWithinDir`), opens regular files with `O_NOFOLLOW`, parses strict UTF-8 JSON
13747
+ without `__proto__`, verifies `manifest.name` and Ed25519 signature strictly
13748
+ (`verifyCliManifest === 'valid'`), and streams full asset bodies portably on both
13749
+ Bun and Node without `Bun.file`.
13750
+
13751
+ Channel manifest and installer routes deliberately separate a genuinely empty
13752
+ (not yet published) channel from configuration, path, integrity and signature
13753
+ faults:
13754
+
13755
+ - When `reason` is `'missing'` (an existing `root` whose channel directory or
13756
+ `manifest.json` has not been published yet), the route responds with the
13757
+ exported contract `CLI_DISTRIBUTION_UNPUBLISHED_RESPONSE` (`503`,
13758
+ `Cache-Control: no-store`, header
13759
+ `x-stitchkit-cli-distribution-state: unpublished`, body
13760
+ `No verified CLI build is published`). External probes and gates identify this
13761
+ state with the synchronous, body-free `isCliDistributionUnpublishedResponse(res)`
13762
+ helper instead of matching prose strings.
13763
+ - For every other failure (`unconfigured-root`, missing or non-directory `root`,
13764
+ `empty-trust-root`, `unsafe-path` including dangling or escaping symlinks,
13765
+ `too-large`, `invalid-manifest` including empty `assets` on `install.sh`,
13766
+ `identity-mismatch`, `untrusted-signature`, or `io-error`), the route fails
13767
+ closed with a distinct `503` carrying
13768
+ `x-stitchkit-cli-distribution-state: unavailable` (`CLI distribution is
13769
+ unavailable`), for which `isCliDistributionUnpublishedResponse(res)` always
13770
+ returns `false`. Exceptions thrown by `onUnavailable` are isolated.
13749
13771
 
13750
13772
  ### Proving who built it — signing the manifest
13751
13773
 
@@ -31849,6 +31871,43 @@ The server half, inside the application's own transaction. See the [sync guide](
31849
31871
 
31850
31872
  ---
31851
31873
 
31874
+ ## `stitchkit/postgres`
31875
+
31876
+ Server-only, peer-free PostgreSQL application helpers. `postgresConnectionConfig`
31877
+ surgically strips `?options=` from `DATABASE_URL` and merges URL options, config options,
31878
+ custom parameters, `searchPath`, and `timeZone` (default `'UTC'`) in startup-packet order
31879
+ for `PrismaPg` and `pg.Pool` without rewriting unrelated parameters or importing `pg`.
31880
+ `withSerializedPrismaTransactions` wraps any Prisma SQL driver adapter factory
31881
+ (such as `new PrismaPg(...)`) without importing `@prisma/adapter-pg` or `pg`, so statements inside
31882
+ each interactive transaction reach its single PostgreSQL connection one at a time while queries
31883
+ outside transactions and separate transactions stay parallel across the pool. See
31884
+ [ADR 0344](../decisions/0344-peer-free-prisma-transaction-serialization.md).
31885
+
31886
+ ```ts
31887
+ import { PrismaPg } from '@prisma/adapter-pg';
31888
+ import {
31889
+ postgresConnectionConfig,
31890
+ withSerializedPrismaTransactions,
31891
+ } from 'stitchkit/postgres';
31892
+
31893
+ const adapter = withSerializedPrismaTransactions(
31894
+ new PrismaPg(postgresConnectionConfig(env.DATABASE_URL)),
31895
+ );
31896
+ const prisma = new PrismaClient({ adapter });
31897
+ ```
31898
+
31899
+ | Export | Kind | Summary |
31900
+ |--------|------|---------|
31901
+ | `postgresConnectionConfig` | function | build a `pg.PoolConfig` / `PrismaPg`-compatible config from a connection string or plain config object, stripping `?options=` surgically from the URL, validating raw fragments against `pg_split_opts` boundaries, and appending `parameters`, `searchPath` and `timeZone` (default `'UTC'`; `null` omits) so later startup flags win |
31902
+ | `PostgresConnectionConfig` | _type_ | minimal `{ connectionString, options? }` shape accepted and returned by `postgresConnectionConfig`, structurally compatible with `pg.PoolConfig` without importing `pg` |
31903
+ | `PostgresConnectionOptions` | _type_ | structured session options for `postgresConnectionConfig` (`timeZone`, `searchPath`, `parameters`) |
31904
+ | `withSerializedPrismaTransactions` | function | wraps a Prisma SQL driver adapter factory (`connect` and optional `connectToShadowDb`) so `queryRaw`, `executeRaw`, `commit`, `rollback` and savepoints inside each interactive transaction execute in strict FIFO order without overlapping on one connection; idempotent and fails fast with `TypeError` on non-factory inputs (such as a raw `pg.Pool`) |
31905
+ | `PrismaDriverAdapterFactory` | _type_ | minimal structural Prisma SQL driver adapter factory (`provider`, `adapterName`, `connect`, optional `connectToShadowDb`) accepted by `withSerializedPrismaTransactions` |
31906
+ | `PrismaDriverAdapter` | _type_ | minimal structural connected Prisma SQL driver adapter (`startTransaction`) |
31907
+ | `PrismaDriverTransaction` | _type_ | minimal structural interactive transaction handle (`queryRaw`, `executeRaw`, `commit`, `rollback` and optional savepoints) |
31908
+
31909
+ ---
31910
+
31852
31911
  ## `stitchkit/geo`
31853
31912
 
31854
31913
  Server-only managed GeoIP generations. Applications own database acquisition,
@@ -32030,7 +32089,7 @@ SDK nor the `ai` peer.
32030
32089
  | `rollbackCliUpdate` / `CliRollbackConfig` / `RolledBackCliUpdate` | function / _types_ | put the kept previous build back, digest-checked first and written by the same atomic rename the update uses |
32031
32090
  | `signCliManifest` / `verifyCliManifest` / `cliManifestSigningPayload` | function | Ed25519 over `{name, version, commit, builtAt, assets[]}` — every asset's digest included, so the chain closes on the file that executes |
32032
32091
  | `cliSignatureAccepted` / `CliSignatureVerdict` | function / _type_ | `valid` \| `unenforced` \| `missing` \| `unknown-key` \| `invalid`; `unenforced` keeps an unpinned build updating while making the absence of a check visible |
32033
- | `CliTrustRoot` / `CliSigningKey` / `CliBuildSignature` / `CliBuildSignatureSchema` | _types_ / schema | the keys a build trusts, by id, and the detached signature a manifest carries |
32092
+ | `CliTrustRoot` / `CliTrustRootSchema` / `CliSigningKey` / `CliBuildSignature` / `CliBuildSignatureSchema` | _types_ / schemas | the keys a build trusts, by id (validated non-empty Ed25519 SPKI PEM or canonical 32-byte base64 via `CliTrustRootSchema`), and the detached signature a manifest carries |
32034
32093
  | `selectCliBuildAsset` | function | the asset for one target, or `undefined` |
32035
32094
  | `currentCliBuildTarget` | function | `{ platform, arch }` of the running process |
32036
32095
  | `formatCliBuildStamp` | function | one line saying what the running build is |
@@ -32102,9 +32161,12 @@ in `stitchkit/cli` — [guide](../guide/cli.md#publishing-a-complete-version),
32102
32161
  | `CliShippingInputsChangedOptions` | _type_ | options for `cliShippingInputsChanged` (`repository`, `previousCommit`, `nextCommit`, `shippingPaths`, `timeoutMs`, `signal`) |
32103
32162
  | `assertCleanCliSource` | function | verify a clean git root matching optional `expectedCommit`, optional `untrackedPaths` globs and optional `servingSource` realpath; returns verified 40-hex `HEAD` |
32104
32163
  | `CleanCliSourceOptions` | _type_ | options for `assertCleanCliSource` (`repository`, `expectedCommit`, `untrackedPaths`, `servingSource`, `timeoutMs`, `signal`) |
32105
- | `createCliDistributionRoutes` | function | portable `RawRoute[]` (`GET` only) serving verified signed channel manifests (`no-store`), immutable versioned manifests and descriptor-streamed binary assets, and `install.sh`, failing closed with `503 No verified CLI build is published` |
32164
+ | `createCliDistributionRoutes` | function | portable `RawRoute[]` (`GET` only) serving verified signed channel manifests (`no-store`), immutable versioned manifests and descriptor-streamed binary assets, and `install.sh`; returns `CLI_DISTRIBUTION_UNPUBLISHED_RESPONSE` (`503`, `x-stitchkit-cli-distribution-state: unpublished`) only for a missing channel manifest and fails closed with `503` (`x-stitchkit-cli-distribution-state: unavailable`) on all configuration, path, integrity and signature faults |
32106
32165
  | `CliDistributionRoutesOptions` | _type_ | options for `createCliDistributionRoutes` (`root`, `name`, `trust`, `channels`, `installerChannel`, `basePath`, `binaryName`, `installDir`, `maxManifestBytes`, `serviceName`, `onUnavailable`) |
32107
32166
  | `CliDistributionUnavailableEvent` | _type_ | diagnostic event passed to `onUnavailable` with `route`, `channel`, optional `version`/`asset`, inline `reason`, optional `verdict` and `error` |
32167
+ | `CLI_DISTRIBUTION_UNPUBLISHED_RESPONSE` | constant | frozen canonical HTTP response contract (`status: 503`, `header: 'x-stitchkit-cli-distribution-state'`, `headerValue: 'unpublished'`, `body: 'No verified CLI build is published'`) emitted only when a channel has no published manifest yet (`reason: 'missing'`) |
32168
+ | `CliDistributionUnpublishedResponse` | _type_ | readonly wire-contract type of `CLI_DISTRIBUTION_UNPUBLISHED_RESPONSE` |
32169
+ | `isCliDistributionUnpublishedResponse` | function | synchronous, body-free predicate matching the exact `503` + `x-stitchkit-cli-distribution-state: unpublished` contract without consuming `response.body`, returning `false` for all fault and generic `503` responses |
32108
32170
 
32109
32171
  ---
32110
32172
 
package/llms.txt CHANGED
@@ -9,7 +9,7 @@ Build with stitchkit: define a contract once, then `implement` it and serve it (
9
9
  Load the slice for each entrypoint your code imports — `import … from 'stitchkit/server'` → `llms/server.txt`; the root `stitchkit` import → `llms/stitchkit.txt`. A slice holds that entrypoint's API reference section and the guide pages whose home it is; every guide lives in exactly one slice, and a slice that needs another's guide names it under "Also read". Each file is at most 50.0 KB; a longer one continues in numbered parts, each naming the next at its top. Moving across versions: load `llms/upgrading.txt` and the range slices it lists between your version and the target. `llms-full.txt` inlines everything; it is far larger than a context window, so do not read it whole.
10
10
 
11
11
  ## Entrypoint slices
12
- - **stitchkit**: [llms/stitchkit.txt](llms/stitchkit.txt) 44.6 KB → [llms/stitchkit.2.txt](llms/stitchkit.2.txt) 47.2 KB → [llms/stitchkit.3.txt](llms/stitchkit.3.txt) 29.4 KB
12
+ - **stitchkit**: [llms/stitchkit.txt](llms/stitchkit.txt) 45.3 KB → [llms/stitchkit.2.txt](llms/stitchkit.2.txt) 47.2 KB → [llms/stitchkit.3.txt](llms/stitchkit.3.txt) 29.4 KB
13
13
  - **stitchkit/live**: [llms/live.txt](llms/live.txt) 22.9 KB
14
14
  - **stitchkit/react**: [llms/react.txt](llms/react.txt) 8.7 KB
15
15
  - **stitchkit/react/keyboard**: [llms/react-keyboard.txt](llms/react-keyboard.txt) 22.7 KB
@@ -21,8 +21,8 @@ Load the slice for each entrypoint your code imports — `import … from 'stitc
21
21
  - **stitchkit/tools/contract**: [llms/tools-contract.txt](llms/tools-contract.txt) 0.2 KB
22
22
  - **stitchkit/tools/invoker**: [llms/tools-invoker.txt](llms/tools-invoker.txt) 0.2 KB
23
23
  - **stitchkit/tools/connections**: [llms/tools-connections.txt](llms/tools-connections.txt) 4.9 KB
24
- - **stitchkit/cli**: [llms/cli.txt](llms/cli.txt) 42.0 KB → [llms/cli.2.txt](llms/cli.2.txt) 47.0 KB → [llms/cli.3.txt](llms/cli.3.txt) 16.2 KB
25
- - **stitchkit/cli/publish**: [llms/cli-publish.txt](llms/cli-publish.txt) 3.6 KB
24
+ - **stitchkit/cli**: [llms/cli.txt](llms/cli.txt) 42.0 KB → [llms/cli.2.txt](llms/cli.2.txt) 46.9 KB → [llms/cli.3.txt](llms/cli.3.txt) 17.7 KB
25
+ - **stitchkit/cli/publish**: [llms/cli-publish.txt](llms/cli-publish.txt) 4.5 KB
26
26
  - **stitchkit/remote**: [llms/remote.txt](llms/remote.txt) 1.0 KB
27
27
  - **stitchkit/contract**: [llms/contract.txt](llms/contract.txt) 36.5 KB
28
28
  - **stitchkit/primitives**: [llms/primitives.txt](llms/primitives.txt) 15.2 KB
@@ -76,6 +76,7 @@ Load the slice for each entrypoint your code imports — `import … from 'stitc
76
76
  - **stitchkit/voice**: [llms/voice.txt](llms/voice.txt) 5.2 KB
77
77
  - **stitchkit/sync**: [llms/sync.txt](llms/sync.txt) 25.3 KB
78
78
  - **stitchkit/sync/postgres**: [llms/sync-postgres.txt](llms/sync-postgres.txt) 2.3 KB
79
+ - **stitchkit/postgres**: [llms/postgres.txt](llms/postgres.txt) 3.2 KB
79
80
  - **stitchkit/oauth**: [llms/oauth.txt](llms/oauth.txt) 6.7 KB
80
81
  - **stitchkit/google**: [llms/google.txt](llms/google.txt) 1.4 KB
81
82
  - **stitchkit/declaration**: [llms/declaration.txt](llms/declaration.txt) 15.9 KB
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stitchkit",
3
- "version": "0.136.6",
3
+ "version": "0.136.8",
4
4
  "description": "Contract-first backend framework — one defineContract() into an HTTP API, MCP tools, AI-agent tools and a typed client. Bun and Node.",
5
5
  "keywords": [
6
6
  "bun",
@@ -325,6 +325,10 @@
325
325
  "types": "./dist/entrypoints/sync/postgres.d.ts",
326
326
  "import": "./dist/entrypoints/sync/postgres.js"
327
327
  },
328
+ "./postgres": {
329
+ "types": "./dist/entrypoints/postgres.d.ts",
330
+ "import": "./dist/entrypoints/postgres.js"
331
+ },
328
332
  "./oauth": {
329
333
  "types": "./dist/entrypoints/oauth.d.ts",
330
334
  "import": "./dist/entrypoints/oauth.js"
@@ -479,7 +483,7 @@
479
483
  "ky": "^2.2.0"
480
484
  },
481
485
  "devDependencies": {
482
- "@anthropic-ai/claude-agent-sdk": "0.3.332",
486
+ "@anthropic-ai/claude-agent-sdk": "0.3.336",
483
487
  "@happy-dom/global-registrator": "^21.0.4",
484
488
  "@modelcontextprotocol/client": "^2.4.0",
485
489
  "@modelcontextprotocol/ext-apps": "^2.0.4",
@@ -494,7 +498,7 @@
494
498
  "@types/react": "^19.3.3",
495
499
  "@types/react-dom": "^19.3.0",
496
500
  "@typescript/typescript6": "^6.0.2",
497
- "ai": "^7.0.185",
501
+ "ai": "^7.1.0",
498
502
  "ajv": "^8.20.0",
499
503
  "exceljs": "^4.4.0",
500
504
  "fake-indexeddb": "^6.2.8",