stitchkit 0.136.3 → 0.136.5
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 +14 -0
- package/dist/browser/http-fetch.d.ts +6 -0
- package/dist/browser/http-fetch.d.ts.map +1 -1
- package/dist/browser/http-helpers.d.ts +21 -0
- package/dist/browser/http-helpers.d.ts.map +1 -1
- package/dist/browser/http.d.ts.map +1 -1
- package/dist/entrypoints/agent-executor/acp.js +5 -5
- package/dist/entrypoints/agent-executor/claude-sdk.js +7 -7
- package/dist/entrypoints/agent-executor/claude.js +7 -7
- package/dist/entrypoints/agent-executor/codex.js +9 -9
- package/dist/entrypoints/agent-executor/testing.js +9 -9
- package/dist/entrypoints/agent-executor.js +5 -5
- package/dist/entrypoints/agent-runtime/coding-tools.js +2 -2
- package/dist/entrypoints/agent-runtime/postgres.js +4 -4
- package/dist/entrypoints/agent-runtime/sandbox.js +7 -7
- package/dist/entrypoints/agent-runtime/sqlite/bun.js +5 -5
- package/dist/entrypoints/agent-runtime/sqlite/node.js +5 -5
- package/dist/entrypoints/agent-runtime/testing.js +4 -4
- package/dist/entrypoints/agent-runtime.js +4 -4
- package/dist/entrypoints/application/diagnostic-journal.js +3 -3
- package/dist/entrypoints/application/directory-inbox.js +7 -7
- package/dist/entrypoints/cli/publish.d.ts +14 -6
- package/dist/entrypoints/cli/publish.d.ts.map +1 -1
- package/dist/entrypoints/cli/publish.js +685 -30
- package/dist/entrypoints/cli.js +7 -124
- package/dist/entrypoints/files/packaging.js +2 -2
- package/dist/entrypoints/files.d.ts +1 -0
- package/dist/entrypoints/files.d.ts.map +1 -1
- package/dist/entrypoints/files.js +9 -9
- package/dist/entrypoints/http.js +3 -3
- package/dist/entrypoints/index.js +3 -3
- package/dist/entrypoints/node.js +3 -3
- package/dist/entrypoints/observability.js +1 -1
- package/dist/entrypoints/process.js +3 -3
- package/dist/entrypoints/react.js +1 -1
- package/dist/entrypoints/remote.js +2 -2
- package/dist/entrypoints/server.js +6 -6
- package/dist/entrypoints/service-host/macos.js +7 -7
- package/dist/entrypoints/service-host/work.js +6 -6
- package/dist/entrypoints/service-host.js +9 -9
- package/dist/entrypoints/spend.js +1 -1
- package/dist/entrypoints/telegram.js +3 -3
- package/dist/entrypoints/testing.js +2 -2
- package/dist/entrypoints/tools.js +1 -1
- package/dist/{index-05b65gj4.js → index-0s75mjh7.js} +1 -1
- package/dist/{index-s2e3h616.js → index-150b1qyw.js} +10 -1
- package/dist/{index-tcv71frn.js → index-1fhbe4e4.js} +1 -1
- package/dist/{index-8cek82ar.js → index-1h0dtfz3.js} +1 -1
- package/dist/{index-jwtmw39p.js → index-2qnqvq11.js} +1 -1
- package/dist/index-2rs7ze0q.js +376 -0
- package/dist/{index-2wm9b9vs.js → index-3cwq5byx.js} +2 -2
- package/dist/{index-mtpcax6d.js → index-5md04mwc.js} +3 -3
- package/dist/{index-b0mh2t9x.js → index-67mzzkdv.js} +3 -3
- package/dist/{index-nne3yxew.js → index-6f4fjygr.js} +1 -1
- package/dist/{index-d5mhgx72.js → index-8tn10tp6.js} +1 -1
- package/dist/{index-rw31t8sj.js → index-9fzjgg86.js} +1 -1
- package/dist/{index-0sxj3y45.js → index-afaq0nc4.js} +1 -1
- package/dist/{index-nfm15ej7.js → index-bbpygynk.js} +1 -1
- package/dist/{index-g04hszcm.js → index-chapre0y.js} +1 -1
- package/dist/{index-vh4291qh.js → index-ctaxjpa4.js} +1 -1
- package/dist/{index-mhgkzwxz.js → index-d01akj5n.js} +134 -25
- package/dist/{index-x1r7kxzd.js → index-e4zt2x70.js} +3 -3
- package/dist/{index-s0n0nnz5.js → index-f103md2v.js} +122 -3
- package/dist/{index-2c5w2d1d.js → index-gyfsh29t.js} +1 -1
- package/dist/{index-kgkevngs.js → index-kadgaw1s.js} +4 -4
- package/dist/{index-ca1v40d3.js → index-kd48gk7d.js} +1 -1
- package/dist/{index-ke6jtxkd.js → index-mr3njw67.js} +1 -1
- package/dist/{index-cmqvf0dz.js → index-ppy23bd2.js} +1 -1
- package/dist/{index-43k180c2.js → index-rnhp7je8.js} +2 -2
- package/dist/{index-2tgmggcm.js → index-smvmnz5y.js} +1 -1
- package/dist/{index-9m1m92rg.js → index-tjhhsnjv.js} +1 -1
- package/dist/{index-64t6pheq.js → index-w161azza.js} +1 -1
- package/dist/{index-mttkdm5a.js → index-xqppqn97.js} +1 -1
- package/dist/{index-sjq4akrx.js → index-xsrma0jd.js} +2 -2
- package/dist/{index-zqc64g69.js → index-ypm85xwe.js} +1 -1
- package/dist/{index-zagc12j1.js → index-zcq3dby3.js} +1 -1
- package/dist/{index-29v1p1f4.js → index-zhngww7q.js} +1 -1
- package/dist/internal/atomic-file-owner.d.ts +91 -0
- package/dist/internal/atomic-file-owner.d.ts.map +1 -0
- package/dist/internal/atomic-file.d.ts +29 -7
- package/dist/internal/atomic-file.d.ts.map +1 -1
- package/dist/internal/bounded-file-read.d.ts +6 -2
- package/dist/internal/bounded-file-read.d.ts.map +1 -1
- package/dist/tools/cli/distribution-config.d.ts +56 -0
- package/dist/tools/cli/distribution-config.d.ts.map +1 -0
- package/dist/tools/cli/distribution-routes.d.ts +20 -0
- package/dist/tools/cli/distribution-routes.d.ts.map +1 -0
- package/dist/tools/cli/publication-source.d.ts +77 -0
- package/dist/tools/cli/publication-source.d.ts.map +1 -0
- package/llms/cli-publish.txt +15 -3
- package/llms/cli.2.txt +84 -63
- package/llms/cli.3.txt +67 -1
- package/llms/cli.txt +1 -1
- package/llms/files.txt +1 -1
- package/llms/process.txt +24 -4
- package/llms/stitchkit.txt +11 -3
- package/llms-full.txt +134 -11
- package/llms.txt +5 -5
- package/package.json +1 -1
- package/dist/index-pp97q86a.js +0 -221
- package/dist/{index-5c4m8zdf.js → index-tjakdpf2.js} +45 -45
package/CHANGELOG.md
CHANGED
|
@@ -15,6 +15,20 @@ additive**; the first breaking change landed in 0.10.0. Grep the file for
|
|
|
15
15
|
|
|
16
16
|
## [Unreleased]
|
|
17
17
|
|
|
18
|
+
## [0.136.5] - 2026-12-03
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
|
|
22
|
+
- `stitchkit/cli/publish` — add git-backed shipping-input versioning and source verification (`deriveCliVersionFromShippingInputs`, `cliShippingInputsChanged`, `assertCleanCliSource`, and options types `CliShippingVersionOptions`, `CliShippingInputsChangedOptions`, `CleanCliSourceOptions`) over declared-only `runNativeCommand` git calls (supporting both worktree and bare repository roots for version/diff queries while refusing shallow clones, subdirectories, non-bare `.git` dirs, non-commit SHAs, and git magic pathspecs, and supporting `*` globs in `untrackedPaths`), plus `createCliDistributionRoutes` (`CliDistributionRoutesOptions`, `CliDistributionUnavailableEvent`) returning portable `RawRoute[]` (`GET` only, compatible with `stitchkit/handler`, `stitchkit/server`, and `stitchkit/node`) to serve verified signed channel manifests (`no-store`), immutable versioned manifests and descriptor-streamed binary assets without `Bun.file`, and `install.sh` with uniform `503 No verified CLI build is published` fail-closed responses.
|
|
23
|
+
- `stitchkit/files` — `writeFileAtomic` and `writeFileAtomicSync` accept a POSIX `owner` option (`'preserve'` or `WriteFileAtomicOwner` `{ uid, gid }`, exported from `stitchkit/files`) to preserve an existing regular file's `(uid, gid)` via `lstat` or assign an explicit owner via `fchown` strictly before `fchmod(mode)`, `fsync`, and publication. Ownership is compared against the staged descriptor's real `fstat(fd)` (never inferred from `process.getuid()`/`process.getgid()`), staging files are opened exclusively with `O_NOFOLLOW` and narrowed to `mode & 0o700` until `fchown` completes, failures (including `EPERM`/`EACCES`) remove the staging file and propagate the native system error unchanged while leaving the target untouched, `replace: false` + `idempotent: true` verifies matching `(uid, gid)` for explicit `owner`, and `owner: 'preserve'` + `replace: false`, invalid `mode`/`uid`/`gid` (including the `0xffff_ffff` `(uid_t)-1` no-op sentinel), and Windows ownership requests fail explicitly.
|
|
24
|
+
|
|
25
|
+
## [0.136.4] - 2026-12-03
|
|
26
|
+
|
|
27
|
+
### Fixed
|
|
28
|
+
|
|
29
|
+
- `stitchkit`, `stitchkit/http` — `createHttpClient` retries with a request body (such as an `idempotent: true` `POST`, `PUT`, or `PATCH` with JSON or `FormData`) now buffer the body into concrete `ArrayBuffer` bytes with headers copied beforehand, instead of forwarding `Request.body` (`ReadableStream`) with `duplex: 'half'`. Previously Chromium rejected such retries over HTTP/1.1 with `net::ERR_ALPN_NEGOTIATION_FAILED` before sending the request, causing recoverable network failures to exhaust retries and fail with `ApiError` (`UNKNOWN_ERROR`, `status: 0`) wrapping Ky's `NetworkError`; WebKit/Safari do not support streaming request bodies either, and non-Streams Fetch polyfills (such as React Native's `whatwg-fetch`, where `Request.body` is `undefined`) now forward the `Request` without losing its body. Calls whose method is not retriable now pass `retry: { limit: 0 }` to Ky so Ky skips `Request.prototype.clone()`, keeping the body as direct bytes visible to browser DevTools Protocol and Playwright `request.postData()`, while `createHttpClient` validates `config.retry` upfront and guards `FormData` checks when `FormData` is absent from the global realm.
|
|
30
|
+
**Affects:** `stitchkit` createHttpClient, createClient, createClients, createScopedClients; `stitchkit/http` createHttpClient, createClient, createClients, createScopedClients
|
|
31
|
+
|
|
18
32
|
## [0.136.3] - 2026-12-02
|
|
19
33
|
|
|
20
34
|
### Fixed
|
|
@@ -13,6 +13,12 @@ export type ParamArrayValue = Array<string | number>;
|
|
|
13
13
|
* Its patched fetch merges `init` into Request inputs first, so retries use a
|
|
14
14
|
* URL plus a materialized init while the untouched first attempt keeps the
|
|
15
15
|
* exact Ky Request.
|
|
16
|
+
*
|
|
17
|
+
* When the Request carries a body, buffer it into concrete `ArrayBuffer` bytes
|
|
18
|
+
* instead of forwarding `input.body` (`ReadableStream`) with `duplex: 'half'`:
|
|
19
|
+
* Chromium refuses streaming request bodies over HTTP/1.1
|
|
20
|
+
* (`net::ERR_ALPN_NEGOTIATION_FAILED`), WebKit does not support them, and
|
|
21
|
+
* buffering also works in Node/Undici without `duplex`.
|
|
16
22
|
*/
|
|
17
23
|
export declare function createRetryAwareFetch(transportFetch: ClientFetch, unix?: string): NonNullable<Options['fetch']>;
|
|
18
24
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-fetch.d.ts","sourceRoot":"","sources":["../../src/browser/http-fetch.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"http-fetch.d.ts","sourceRoot":"","sources":["../../src/browser/http-fetch.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,IAAI,CAAC;AAGnD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;AAC/D,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;AAmHrD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,qBAAqB,CACnC,cAAc,EAAE,WAAW,EAC3B,IAAI,CAAC,EAAE,MAAM,GACZ,WAAW,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CA0C/B;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAC5B,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,GAAG,eAAe,CAAC,GACnD,MAAM,GAAG,SAAS,CAgBpB;AAED,oFAAoF;AACpF,wBAAsB,YAAY,CAAC,CAAC,EAClC,OAAO,EAAE,eAAe,EACxB,YAAY,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,GAAG,SAAS,GAC9D,OAAO,CAAC,CAAC,CAAC,CAmBZ"}
|
|
@@ -1,5 +1,26 @@
|
|
|
1
|
+
import { type Options } from 'ky';
|
|
1
2
|
import { ApiError } from './api-error.js';
|
|
2
3
|
import type { ApiEvent, HttpClientConfig } from './http.js';
|
|
4
|
+
/** Validated, immutable retry configuration snapshot for `createHttpClient`. */
|
|
5
|
+
export interface NormalizedClientRetry {
|
|
6
|
+
readonly limit: number;
|
|
7
|
+
readonly methods: readonly string[];
|
|
8
|
+
readonly methodSet: ReadonlySet<string>;
|
|
9
|
+
readonly statusCodes: readonly number[];
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Validate `HttpClientConfig.retry` upfront so non-retriable calls (which pass
|
|
13
|
+
* `retry: { limit: 0 }` to skip Ky's `Request.clone()`) never mask an invalid
|
|
14
|
+
* client retry configuration, and caller array mutations never drift from Ky.
|
|
15
|
+
*/
|
|
16
|
+
export declare function normalizeClientRetryConfig(retry: HttpClientConfig['retry']): NormalizedClientRetry;
|
|
17
|
+
/**
|
|
18
|
+
* Per-call Ky `retry` override: non-retriable calls pass `{ limit: 0 }` so Ky
|
|
19
|
+
* skips `Request.prototype.clone()`, keeping the request body as direct bytes
|
|
20
|
+
* in browsers; `idempotent: true` adds the call's method while keeping the
|
|
21
|
+
* client's limit and status codes.
|
|
22
|
+
*/
|
|
23
|
+
export declare function resolveCallRetry(retry: NormalizedClientRetry, method: string, idempotent: boolean | undefined): Options['retry'] | undefined;
|
|
3
24
|
/** `fetch` and `unix` are two transports; a unix socket needs Bun's own fetch. */
|
|
4
25
|
export declare function assertTransportChoice(config: HttpClientConfig): void;
|
|
5
26
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-helpers.d.ts","sourceRoot":"","sources":["../../src/browser/http-helpers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"http-helpers.d.ts","sourceRoot":"","sources":["../../src/browser/http-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,OAAO,EAAE,MAAM,IAAI,CAAC;AAE/C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,OAAO,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAKzD,gFAAgF;AAChF,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;IACpC,QAAQ,CAAC,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACxC,QAAQ,CAAC,WAAW,EAAE,SAAS,MAAM,EAAE,CAAC;CACzC;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CACxC,KAAK,EAAE,gBAAgB,CAAC,OAAO,CAAC,GAC/B,qBAAqB,CA2BvB;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,qBAAqB,EAC5B,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,OAAO,GAAG,SAAS,GAC9B,OAAO,CAAC,OAAO,CAAC,GAAG,SAAS,CAK9B;AAED,kFAAkF;AAClF,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,gBAAgB,GAAG,IAAI,CAcpE;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,IAAI,GAAG,QAAQ,CAoBxF;AAED,mFAAmF;AACnF,wBAAgB,UAAU,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAEvD;AAED,wFAAwF;AACxF,wBAAgB,WAAW,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAOlD"}
|
|
@@ -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;AAaxD,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,UAAU,EAGhB,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../src/browser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GAAG,oBAAoB,CAmM/E"}
|
|
@@ -24,12 +24,12 @@ import {
|
|
|
24
24
|
reportObserverError,
|
|
25
25
|
invokeObserver,
|
|
26
26
|
emitStartupPhase
|
|
27
|
-
} from "../../index-
|
|
27
|
+
} from "../../index-xsrma0jd.js";
|
|
28
28
|
import"../../index-02kdtrcd.js";
|
|
29
29
|
import {
|
|
30
30
|
NativeCommandError2
|
|
31
31
|
} from "../../index-tgehj4bp.js";
|
|
32
|
-
import"../../index-
|
|
32
|
+
import"../../index-tjakdpf2.js";
|
|
33
33
|
import"../../index-6kec3b14.js";
|
|
34
34
|
import {
|
|
35
35
|
JsonRpcRecordSchema2,
|
|
@@ -53,9 +53,9 @@ import {
|
|
|
53
53
|
leaveEngineRequestUnanswered,
|
|
54
54
|
interruptEngineTurn,
|
|
55
55
|
respondToEngineRequest
|
|
56
|
-
} from "../../index-
|
|
57
|
-
import"../../index-
|
|
58
|
-
import"../../index-
|
|
56
|
+
} from "../../index-1fhbe4e4.js";
|
|
57
|
+
import"../../index-1h0dtfz3.js";
|
|
58
|
+
import"../../index-afaq0nc4.js";
|
|
59
59
|
import {
|
|
60
60
|
assertPositiveSafeInteger
|
|
61
61
|
} from "../../index-gr0kxymw.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
claudeTranscriptHasUuid2,
|
|
11
11
|
claudeTranscriptExists,
|
|
12
12
|
findTranscriptInput2
|
|
13
|
-
} from "../../index-
|
|
13
|
+
} from "../../index-5md04mwc.js";
|
|
14
14
|
import"../../index-jy907kcs.js";
|
|
15
15
|
import"../../index-ks4rhtcc.js";
|
|
16
16
|
import {
|
|
@@ -30,10 +30,10 @@ import {
|
|
|
30
30
|
reportObserverError,
|
|
31
31
|
invokeObserver,
|
|
32
32
|
emitStartupPhase
|
|
33
|
-
} from "../../index-
|
|
33
|
+
} from "../../index-xsrma0jd.js";
|
|
34
34
|
import"../../index-02kdtrcd.js";
|
|
35
35
|
import"../../index-tgehj4bp.js";
|
|
36
|
-
import"../../index-
|
|
36
|
+
import"../../index-tjakdpf2.js";
|
|
37
37
|
import"../../index-6kec3b14.js";
|
|
38
38
|
import {
|
|
39
39
|
validateImageOptions,
|
|
@@ -44,18 +44,18 @@ import {
|
|
|
44
44
|
} from "../../index-1w69rj9f.js";
|
|
45
45
|
import {
|
|
46
46
|
planLimitsReadFailed2
|
|
47
|
-
} from "../../index-
|
|
47
|
+
} from "../../index-tjhhsnjv.js";
|
|
48
48
|
import {
|
|
49
49
|
holdEngineRequest,
|
|
50
50
|
answerEngineRequest,
|
|
51
51
|
loseEngineTurn,
|
|
52
52
|
interruptEngineTurn,
|
|
53
53
|
respondToEngineRequest
|
|
54
|
-
} from "../../index-
|
|
54
|
+
} from "../../index-1fhbe4e4.js";
|
|
55
55
|
import {
|
|
56
56
|
streamNativeCommand2
|
|
57
|
-
} from "../../index-
|
|
58
|
-
import"../../index-
|
|
57
|
+
} from "../../index-1h0dtfz3.js";
|
|
58
|
+
import"../../index-afaq0nc4.js";
|
|
59
59
|
import {
|
|
60
60
|
isPositiveSafeInteger
|
|
61
61
|
} from "../../index-gr0kxymw.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import"../../index-tgehj4bp.js";
|
|
2
|
-
import"../../index-
|
|
2
|
+
import"../../index-tjakdpf2.js";
|
|
3
3
|
import"../../index-6kec3b14.js";
|
|
4
4
|
import {
|
|
5
5
|
CLAUDE_CLI_MAX_LINE_BYTES,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
runEngineCli,
|
|
24
24
|
stopConnection,
|
|
25
25
|
emitStartupPhase
|
|
26
|
-
} from "../../index-
|
|
26
|
+
} from "../../index-xsrma0jd.js";
|
|
27
27
|
import"../../index-02kdtrcd.js";
|
|
28
28
|
import {
|
|
29
29
|
claudeUserContent,
|
|
@@ -40,16 +40,16 @@ import {
|
|
|
40
40
|
claudeTranscriptHasUuid2,
|
|
41
41
|
claudeTranscriptExists,
|
|
42
42
|
findTranscriptInput2
|
|
43
|
-
} from "../../index-
|
|
44
|
-
import"../../index-
|
|
43
|
+
} from "../../index-5md04mwc.js";
|
|
44
|
+
import"../../index-tjhhsnjv.js";
|
|
45
45
|
import {
|
|
46
46
|
holdEngineRequest,
|
|
47
47
|
loseEngineTurn,
|
|
48
48
|
interruptEngineTurn,
|
|
49
49
|
respondToEngineRequest
|
|
50
|
-
} from "../../index-
|
|
51
|
-
import"../../index-
|
|
52
|
-
import"../../index-
|
|
50
|
+
} from "../../index-1fhbe4e4.js";
|
|
51
|
+
import"../../index-1h0dtfz3.js";
|
|
52
|
+
import"../../index-afaq0nc4.js";
|
|
53
53
|
import {
|
|
54
54
|
abortReason
|
|
55
55
|
} from "../../index-rptj3qnc.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import"../../index-02kdtrcd.js";
|
|
2
2
|
import"../../index-tgehj4bp.js";
|
|
3
|
-
import"../../index-
|
|
3
|
+
import"../../index-tjakdpf2.js";
|
|
4
4
|
import"../../index-6kec3b14.js";
|
|
5
5
|
import"../../index-jy907kcs.js";
|
|
6
6
|
import"../../index-ks4rhtcc.js";
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
invokeObserver,
|
|
32
32
|
emitStartupPhase,
|
|
33
33
|
clampUniqueWindowName
|
|
34
|
-
} from "../../index-
|
|
34
|
+
} from "../../index-xsrma0jd.js";
|
|
35
35
|
import {
|
|
36
36
|
JsonRpcValueSchema2,
|
|
37
37
|
JsonRpcError2,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
guardedTurnStarter
|
|
73
73
|
} from "../../index-65p8v81y.js";
|
|
74
74
|
import"../../index-673drwkn.js";
|
|
75
|
-
import"../../index-
|
|
75
|
+
import"../../index-2qnqvq11.js";
|
|
76
76
|
import {
|
|
77
77
|
CodexUnixSocketError2,
|
|
78
78
|
validateCodexUnixSocketPath,
|
|
@@ -81,10 +81,10 @@ import {
|
|
|
81
81
|
maskedWsFrameByteLength,
|
|
82
82
|
encodeMaskedWsFrame,
|
|
83
83
|
createWsFrameDecoder
|
|
84
|
-
} from "../../index-
|
|
84
|
+
} from "../../index-smvmnz5y.js";
|
|
85
85
|
import {
|
|
86
86
|
planLimitsReadFailed2
|
|
87
|
-
} from "../../index-
|
|
87
|
+
} from "../../index-tjhhsnjv.js";
|
|
88
88
|
import {
|
|
89
89
|
holdEngineRequest,
|
|
90
90
|
endEngineTurn,
|
|
@@ -93,12 +93,12 @@ import {
|
|
|
93
93
|
refuseEngineTurnRequests,
|
|
94
94
|
interruptEngineTurn,
|
|
95
95
|
respondToEngineRequest
|
|
96
|
-
} from "../../index-
|
|
97
|
-
import"../../index-
|
|
98
|
-
import"../../index-
|
|
96
|
+
} from "../../index-1fhbe4e4.js";
|
|
97
|
+
import"../../index-1h0dtfz3.js";
|
|
98
|
+
import"../../index-afaq0nc4.js";
|
|
99
99
|
import {
|
|
100
100
|
assertExpectedOwnerUid
|
|
101
|
-
} from "../../index-
|
|
101
|
+
} from "../../index-kd48gk7d.js";
|
|
102
102
|
import {
|
|
103
103
|
errnoOf
|
|
104
104
|
} from "../../index-jj9228tt.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
sessionAbort,
|
|
21
21
|
sessionLiveness,
|
|
22
22
|
emitStartupPhase
|
|
23
|
-
} from "../../index-
|
|
23
|
+
} from "../../index-xsrma0jd.js";
|
|
24
24
|
import {
|
|
25
25
|
JsonRpcValueSchema2,
|
|
26
26
|
JsonRpcError2,
|
|
@@ -29,10 +29,10 @@ import {
|
|
|
29
29
|
import"../../index-c9j8441q.js";
|
|
30
30
|
import"../../index-6kec3b14.js";
|
|
31
31
|
import"../../index-673drwkn.js";
|
|
32
|
-
import"../../index-
|
|
32
|
+
import"../../index-2qnqvq11.js";
|
|
33
33
|
import"../../index-02kdtrcd.js";
|
|
34
34
|
import"../../index-tgehj4bp.js";
|
|
35
|
-
import"../../index-
|
|
35
|
+
import"../../index-tjakdpf2.js";
|
|
36
36
|
import {
|
|
37
37
|
makeExecutorDelta2,
|
|
38
38
|
makeCodexNotificationEvent2,
|
|
@@ -53,24 +53,24 @@ import {
|
|
|
53
53
|
validateCodexUnixSocketPath,
|
|
54
54
|
encodeUnmaskedWsFrame,
|
|
55
55
|
createWsFrameDecoder
|
|
56
|
-
} from "../../index-
|
|
56
|
+
} from "../../index-smvmnz5y.js";
|
|
57
57
|
import {
|
|
58
58
|
mergeRateLimitEvent2
|
|
59
|
-
} from "../../index-
|
|
59
|
+
} from "../../index-tjhhsnjv.js";
|
|
60
60
|
import {
|
|
61
61
|
holdEngineRequest,
|
|
62
62
|
endEngineTurn,
|
|
63
63
|
loseEngineTurn,
|
|
64
64
|
interruptEngineTurn,
|
|
65
65
|
respondToEngineRequest
|
|
66
|
-
} from "../../index-
|
|
67
|
-
import"../../index-
|
|
68
|
-
import"../../index-
|
|
66
|
+
} from "../../index-1fhbe4e4.js";
|
|
67
|
+
import"../../index-1h0dtfz3.js";
|
|
68
|
+
import"../../index-afaq0nc4.js";
|
|
69
69
|
import {
|
|
70
70
|
unlinkUnixSocketIfMatching,
|
|
71
71
|
assertPrivateUnixSocketDirectory,
|
|
72
72
|
bindUnixSocket2
|
|
73
|
-
} from "../../index-
|
|
73
|
+
} from "../../index-kd48gk7d.js";
|
|
74
74
|
import {
|
|
75
75
|
setOwnMember
|
|
76
76
|
} from "../../index-3tb82xr7.js";
|
|
@@ -54,9 +54,9 @@ import {
|
|
|
54
54
|
engineEnvironment2,
|
|
55
55
|
ownCredentials2,
|
|
56
56
|
helloProfile2
|
|
57
|
-
} from "../index-
|
|
57
|
+
} from "../index-xsrma0jd.js";
|
|
58
58
|
import"../index-tgehj4bp.js";
|
|
59
|
-
import"../index-
|
|
59
|
+
import"../index-tjakdpf2.js";
|
|
60
60
|
import"../index-6kec3b14.js";
|
|
61
61
|
import {
|
|
62
62
|
JsonRpcValueSchema2,
|
|
@@ -77,9 +77,9 @@ import {
|
|
|
77
77
|
planLimitsDue2,
|
|
78
78
|
planLimitsReadFailed2,
|
|
79
79
|
mergeRateLimitEvent2
|
|
80
|
-
} from "../index-
|
|
81
|
-
import"../index-
|
|
82
|
-
import"../index-
|
|
80
|
+
} from "../index-tjhhsnjv.js";
|
|
81
|
+
import"../index-1h0dtfz3.js";
|
|
82
|
+
import"../index-afaq0nc4.js";
|
|
83
83
|
import {
|
|
84
84
|
AppError2
|
|
85
85
|
} from "../index-7fjbdga8.js";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
AgentCodingToolAuthorizationSchema2,
|
|
5
5
|
AgentCodingToolPathAuthorizationSchema2,
|
|
6
6
|
createAgentCodingTools2
|
|
7
|
-
} from "../../index-
|
|
7
|
+
} from "../../index-w161azza.js";
|
|
8
8
|
import"../../index-6kec3b14.js";
|
|
9
9
|
import"../../index-tgehj4bp.js";
|
|
10
|
-
import"../../index-
|
|
10
|
+
import"../../index-tjakdpf2.js";
|
|
11
11
|
import"../../index-p9cab61p.js";
|
|
12
12
|
import"../../index-rjs94dny.js";
|
|
13
13
|
import"../../index-xrgn784x.js";
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
setPostgresTransactionIsolation,
|
|
13
13
|
runPostgresTransaction,
|
|
14
14
|
createAgentRuntimeStore2
|
|
15
|
-
} from "../../index-
|
|
15
|
+
} from "../../index-8tn10tp6.js";
|
|
16
16
|
import"../../index-kaq9nb7h.js";
|
|
17
17
|
import"../../index-brhhaygm.js";
|
|
18
|
-
import"../../index-
|
|
18
|
+
import"../../index-w161azza.js";
|
|
19
19
|
import {
|
|
20
20
|
createCompanionHost,
|
|
21
21
|
conversationTables,
|
|
@@ -27,12 +27,12 @@ import {
|
|
|
27
27
|
scanSqlRecoverable,
|
|
28
28
|
listSqlConversations,
|
|
29
29
|
pageSqlConversationMessages
|
|
30
|
-
} from "../../index-
|
|
30
|
+
} from "../../index-zcq3dby3.js";
|
|
31
31
|
import"../../index-v92djygb.js";
|
|
32
32
|
import"../../index-werjqesf.js";
|
|
33
33
|
import"../../index-6kec3b14.js";
|
|
34
34
|
import"../../index-tgehj4bp.js";
|
|
35
|
-
import"../../index-
|
|
35
|
+
import"../../index-tjakdpf2.js";
|
|
36
36
|
import"../../index-snef22zr.js";
|
|
37
37
|
import"../../index-p9cab61p.js";
|
|
38
38
|
import"../../index-rjs94dny.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
missingSandboxRestrictions2,
|
|
9
9
|
recordAgentSandboxProbe2,
|
|
10
10
|
createAgentCodingTools2
|
|
11
|
-
} from "../../index-
|
|
11
|
+
} from "../../index-w161azza.js";
|
|
12
12
|
import {
|
|
13
13
|
COMMAND_CLEANUP_TIMEOUT_MS,
|
|
14
14
|
NativeCommandError2
|
|
@@ -18,18 +18,18 @@ import {
|
|
|
18
18
|
nativeCommandOwner,
|
|
19
19
|
terminateOwnedGroup,
|
|
20
20
|
startNativeCommand
|
|
21
|
-
} from "../../index-
|
|
21
|
+
} from "../../index-tjakdpf2.js";
|
|
22
22
|
import"../../index-673drwkn.js";
|
|
23
|
-
import"../../index-
|
|
24
|
-
import {
|
|
25
|
-
runNativeCommand2
|
|
26
|
-
} from "../../index-0sxj3y45.js";
|
|
23
|
+
import"../../index-2qnqvq11.js";
|
|
27
24
|
import {
|
|
28
25
|
isLoopbackHostname
|
|
29
26
|
} from "../../index-s8af9jqw.js";
|
|
27
|
+
import {
|
|
28
|
+
runNativeCommand2
|
|
29
|
+
} from "../../index-afaq0nc4.js";
|
|
30
30
|
import {
|
|
31
31
|
bindUnixSocket2
|
|
32
|
-
} from "../../index-
|
|
32
|
+
} from "../../index-kd48gk7d.js";
|
|
33
33
|
import"../../index-p9cab61p.js";
|
|
34
34
|
import"../../index-rjs94dny.js";
|
|
35
35
|
import"../../index-xrgn784x.js";
|
|
@@ -3,20 +3,20 @@ import"../../../index-jy907kcs.js";
|
|
|
3
3
|
import"../../../index-ks4rhtcc.js";
|
|
4
4
|
import"../../../index-px9r6wv1.js";
|
|
5
5
|
import"../../../index-gvv7y0s4.js";
|
|
6
|
-
import"../../../index-
|
|
6
|
+
import"../../../index-8tn10tp6.js";
|
|
7
7
|
import"../../../index-kaq9nb7h.js";
|
|
8
8
|
import"../../../index-brhhaygm.js";
|
|
9
|
-
import"../../../index-
|
|
10
|
-
import"../../../index-
|
|
9
|
+
import"../../../index-w161azza.js";
|
|
10
|
+
import"../../../index-zcq3dby3.js";
|
|
11
11
|
import"../../../index-v92djygb.js";
|
|
12
12
|
import {
|
|
13
13
|
initializeAgentRuntimeSqlite2,
|
|
14
14
|
createSqliteAgentRuntimeStore2
|
|
15
|
-
} from "../../../index-
|
|
15
|
+
} from "../../../index-3cwq5byx.js";
|
|
16
16
|
import"../../../index-werjqesf.js";
|
|
17
17
|
import"../../../index-6kec3b14.js";
|
|
18
18
|
import"../../../index-tgehj4bp.js";
|
|
19
|
-
import"../../../index-
|
|
19
|
+
import"../../../index-tjakdpf2.js";
|
|
20
20
|
import"../../../index-snef22zr.js";
|
|
21
21
|
import"../../../index-p9cab61p.js";
|
|
22
22
|
import"../../../index-rjs94dny.js";
|
|
@@ -3,20 +3,20 @@ import"../../../index-jy907kcs.js";
|
|
|
3
3
|
import"../../../index-ks4rhtcc.js";
|
|
4
4
|
import"../../../index-px9r6wv1.js";
|
|
5
5
|
import"../../../index-gvv7y0s4.js";
|
|
6
|
-
import"../../../index-
|
|
6
|
+
import"../../../index-8tn10tp6.js";
|
|
7
7
|
import"../../../index-kaq9nb7h.js";
|
|
8
8
|
import"../../../index-brhhaygm.js";
|
|
9
|
-
import"../../../index-
|
|
10
|
-
import"../../../index-
|
|
9
|
+
import"../../../index-w161azza.js";
|
|
10
|
+
import"../../../index-zcq3dby3.js";
|
|
11
11
|
import"../../../index-v92djygb.js";
|
|
12
12
|
import {
|
|
13
13
|
initializeAgentRuntimeSqlite2,
|
|
14
14
|
createSqliteAgentRuntimeStore2
|
|
15
|
-
} from "../../../index-
|
|
15
|
+
} from "../../../index-3cwq5byx.js";
|
|
16
16
|
import"../../../index-werjqesf.js";
|
|
17
17
|
import"../../../index-6kec3b14.js";
|
|
18
18
|
import"../../../index-tgehj4bp.js";
|
|
19
|
-
import"../../../index-
|
|
19
|
+
import"../../../index-tjakdpf2.js";
|
|
20
20
|
import"../../../index-snef22zr.js";
|
|
21
21
|
import"../../../index-p9cab61p.js";
|
|
22
22
|
import"../../../index-rjs94dny.js";
|
|
@@ -17,16 +17,16 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
AgentConversationBranchRefusedError2,
|
|
19
19
|
AgentStoreUnsupportedCapabilityError2
|
|
20
|
-
} from "../../index-
|
|
21
|
-
import"../../index-
|
|
20
|
+
} from "../../index-8tn10tp6.js";
|
|
21
|
+
import"../../index-w161azza.js";
|
|
22
22
|
import"../../index-werjqesf.js";
|
|
23
23
|
import"../../index-6kec3b14.js";
|
|
24
24
|
import"../../index-tgehj4bp.js";
|
|
25
|
-
import"../../index-
|
|
25
|
+
import"../../index-tjakdpf2.js";
|
|
26
26
|
import"../../index-snef22zr.js";
|
|
27
27
|
import {
|
|
28
28
|
createMemoryAgentRuntimeStore2
|
|
29
|
-
} from "../../index-
|
|
29
|
+
} from "../../index-ypm85xwe.js";
|
|
30
30
|
import {
|
|
31
31
|
createToolChronology,
|
|
32
32
|
advanceToolChronology
|
|
@@ -171,7 +171,7 @@ import {
|
|
|
171
171
|
createAgentEventSearchTools2,
|
|
172
172
|
AgentStoreUnsupportedCapabilityError2,
|
|
173
173
|
createAgentRuntimeStore2
|
|
174
|
-
} from "../index-
|
|
174
|
+
} from "../index-8tn10tp6.js";
|
|
175
175
|
import {
|
|
176
176
|
AgentContextOverflowError2,
|
|
177
177
|
unknownUsage,
|
|
@@ -250,7 +250,7 @@ import {
|
|
|
250
250
|
import {
|
|
251
251
|
AgentCodingToolAuthorizationSchema2,
|
|
252
252
|
refuseUnknownSpillReference
|
|
253
|
-
} from "../index-
|
|
253
|
+
} from "../index-w161azza.js";
|
|
254
254
|
import {
|
|
255
255
|
AgentConversationSummarySchema2,
|
|
256
256
|
AgentConversationPageSchema2,
|
|
@@ -258,10 +258,10 @@ import {
|
|
|
258
258
|
} from "../index-v92djygb.js";
|
|
259
259
|
import"../index-6kec3b14.js";
|
|
260
260
|
import"../index-tgehj4bp.js";
|
|
261
|
-
import"../index-
|
|
261
|
+
import"../index-tjakdpf2.js";
|
|
262
262
|
import {
|
|
263
263
|
createMemoryAgentRuntimeStore2
|
|
264
|
-
} from "../index-
|
|
264
|
+
} from "../index-ypm85xwe.js";
|
|
265
265
|
import {
|
|
266
266
|
AgentRuntimeConflictError2,
|
|
267
267
|
AgentRunUnsettledError2,
|
|
@@ -19,18 +19,18 @@ import {
|
|
|
19
19
|
} from "../../index-02kdtrcd.js";
|
|
20
20
|
import"../../index-6kec3b14.js";
|
|
21
21
|
import"../../index-673drwkn.js";
|
|
22
|
-
import"../../index-
|
|
22
|
+
import"../../index-2qnqvq11.js";
|
|
23
23
|
import {
|
|
24
24
|
projectJson
|
|
25
25
|
} from "../../index-a1rjr381.js";
|
|
26
26
|
import {
|
|
27
27
|
attemptExclusiveLock
|
|
28
|
-
} from "../../index-
|
|
28
|
+
} from "../../index-rnhp7je8.js";
|
|
29
29
|
import {
|
|
30
30
|
closeAfter,
|
|
31
31
|
BoundedFileReadError,
|
|
32
32
|
openRegularFile
|
|
33
|
-
} from "../../index-
|
|
33
|
+
} from "../../index-150b1qyw.js";
|
|
34
34
|
import {
|
|
35
35
|
errnoOf
|
|
36
36
|
} from "../../index-jj9228tt.js";
|
|
@@ -15,30 +15,30 @@ import {
|
|
|
15
15
|
} from "../../index-q46b16xz.js";
|
|
16
16
|
import"../../index-6kec3b14.js";
|
|
17
17
|
import"../../index-673drwkn.js";
|
|
18
|
-
import"../../index-
|
|
18
|
+
import"../../index-2qnqvq11.js";
|
|
19
19
|
import {
|
|
20
20
|
defineManagedResource2
|
|
21
21
|
} from "../../index-50ejfz75.js";
|
|
22
22
|
import {
|
|
23
23
|
createFileStateStore2
|
|
24
|
-
} from "../../index-
|
|
24
|
+
} from "../../index-kadgaw1s.js";
|
|
25
25
|
import {
|
|
26
26
|
isJsonData
|
|
27
27
|
} from "../../index-m6w6jtda.js";
|
|
28
|
-
import"../../index-
|
|
29
|
-
import"../../index-
|
|
28
|
+
import"../../index-zhngww7q.js";
|
|
29
|
+
import"../../index-rnhp7je8.js";
|
|
30
30
|
import {
|
|
31
31
|
writeAtomicFileData
|
|
32
|
-
} from "../../index-
|
|
32
|
+
} from "../../index-2rs7ze0q.js";
|
|
33
33
|
import {
|
|
34
34
|
publishAtomicFile
|
|
35
|
-
} from "../../index-
|
|
35
|
+
} from "../../index-gyfsh29t.js";
|
|
36
36
|
import {
|
|
37
37
|
closeAfter,
|
|
38
38
|
BoundedFileReadError,
|
|
39
39
|
openRegularFile,
|
|
40
40
|
readBoundedFile
|
|
41
|
-
} from "../../index-
|
|
41
|
+
} from "../../index-150b1qyw.js";
|
|
42
42
|
import {
|
|
43
43
|
errnoOf
|
|
44
44
|
} from "../../index-jj9228tt.js";
|
|
@@ -1,16 +1,24 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* `stitchkit/cli/publish` — publishing a CLI distribution. Evolving.
|
|
2
|
+
* `stitchkit/cli/publish` — publishing and serving a CLI distribution. Evolving.
|
|
3
3
|
*
|
|
4
4
|
* `publishCli` writes a complete, verified version of an application's CLI binaries into a
|
|
5
|
-
* local distribution directory and moves the public manifest last.
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
5
|
+
* local distribution directory and moves the public manifest last. `deriveCliVersionFromShippingInputs`,
|
|
6
|
+
* `cliShippingInputsChanged` and `assertCleanCliSource` derive deterministic versions from git
|
|
7
|
+
* shipping-input history and verify clean source roots. `createCliDistributionRoutes` builds
|
|
8
|
+
* portable `RawRoute[]` handlers serving verified channel manifests, immutable assets and the
|
|
9
|
+
* shell installer. This entrypoint is release infrastructure and is not held to the stable
|
|
10
|
+
* promise of `stitchkit/cli` (ADR 0245). The wire contract — the manifest, signatures,
|
|
11
|
+
* installer and updater — stays in `stitchkit/cli`.
|
|
9
12
|
*
|
|
10
13
|
* ```ts
|
|
11
|
-
* import { publishCli } from 'stitchkit/cli/publish';
|
|
14
|
+
* import { createCliDistributionRoutes, deriveCliVersionFromShippingInputs, publishCli } from 'stitchkit/cli/publish';
|
|
15
|
+
* const version = await deriveCliVersionFromShippingInputs({ repository, commit, packageJsonPath: 'packages/cli/package.json', shippingPaths: ['packages/cli', 'bun.lock'] });
|
|
12
16
|
* const result = await publishCli({ storageRoot, name, version, commit, baseUrl, targets, admit, build });
|
|
17
|
+
* const routes = createCliDistributionRoutes({ root, name, trust });
|
|
13
18
|
* ```
|
|
14
19
|
*/
|
|
20
|
+
export type { CliDistributionRoutesOptions, CliDistributionUnavailableEvent, } from '../../tools/cli/distribution-config.js';
|
|
21
|
+
export { createCliDistributionRoutes } from '../../tools/cli/distribution-routes.js';
|
|
15
22
|
export { type CliPublicationOptions, type CliPublicationPhase, type CliPublicationResult, publishCli, } from '../../tools/cli/publication.js';
|
|
23
|
+
export { assertCleanCliSource, type CleanCliSourceOptions, type CliShippingInputsChangedOptions, type CliShippingVersionOptions, cliShippingInputsChanged, deriveCliVersionFromShippingInputs, } from '../../tools/cli/publication-source.js';
|
|
16
24
|
//# sourceMappingURL=publish.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publish.d.ts","sourceRoot":"","sources":["../../../src/entrypoints/cli/publish.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"publish.d.ts","sourceRoot":"","sources":["../../../src/entrypoints/cli/publish.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,YAAY,EACV,4BAA4B,EAC5B,+BAA+B,GAChC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAClF,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,UAAU,GACX,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,oBAAoB,EACpB,KAAK,qBAAqB,EAC1B,KAAK,+BAA+B,EACpC,KAAK,yBAAyB,EAC9B,wBAAwB,EACxB,kCAAkC,GACnC,MAAM,oCAAoC,CAAC"}
|