@lunora/bindings 1.0.0-alpha.94 → 1.0.0-alpha.96
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.
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* aliased from `@cloudflare/workers-types`: `AiSearchNamespace` only ships in
|
|
7
7
|
* workers-types 4.20260331.1+, and an alias resolved against an older (or
|
|
8
8
|
* absent) install would silently degrade to `any` under `skipLibCheck`. The
|
|
9
|
-
* mirror follows workers-types 5.
|
|
9
|
+
* mirror follows workers-types 5.20261002.1; a type test pins that the real
|
|
10
10
|
* binding still satisfies it, so drift fails CI instead of the consumer.
|
|
11
11
|
*/
|
|
12
12
|
/** A single message in a conversation-style search or chat request. */
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* aliased from `@cloudflare/workers-types`: `AiSearchNamespace` only ships in
|
|
7
7
|
* workers-types 4.20260331.1+, and an alias resolved against an older (or
|
|
8
8
|
* absent) install would silently degrade to `any` under `skipLibCheck`. The
|
|
9
|
-
* mirror follows workers-types 5.
|
|
9
|
+
* mirror follows workers-types 5.20261002.1; a type test pins that the real
|
|
10
10
|
* binding still satisfies it, so drift fails CI instead of the consumer.
|
|
11
11
|
*/
|
|
12
12
|
/** A single message in a conversation-style search or chat request. */
|
|
@@ -5,17 +5,19 @@
|
|
|
5
5
|
* and READS commits, trees, blobs and files. It has no write method: every write
|
|
6
6
|
* is a `git push` over HTTPS with one of those tokens.
|
|
7
7
|
*
|
|
8
|
-
* Declared structurally (the `ImagesBindingLike` pattern) rather than
|
|
9
|
-
* the global `Artifacts` type, because
|
|
10
|
-
*
|
|
11
|
-
* `
|
|
12
|
-
*
|
|
13
|
-
* `info()`)
|
|
14
|
-
*
|
|
8
|
+
* Declared structurally (the `ImagesBindingLike` pattern) rather than aliasing
|
|
9
|
+
* the global `Artifacts` type, because an alias resolves against whatever
|
|
10
|
+
* `@cloudflare/workers-types` the app installed, and two lines get it wrong.
|
|
11
|
+
* The v4 line has no `Artifacts` global at all, so the alias is a silent `any`
|
|
12
|
+
* under `skipLibCheck`. v5 releases before 5.20261002.1 have a WRONG shape: no
|
|
13
|
+
* `info()`, `log()` or `read*()` methods, and `ArtifactsRepo` typed as carrying
|
|
14
|
+
* its metadata as properties, which the deployed binding does not do (call
|
|
15
|
+
* `info()`), so the alias is a wrong type.
|
|
15
16
|
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
17
|
+
* The shapes here follow the Workers-binding docs and
|
|
18
|
+
* `@cloudflare/workers-types@5.20261002.1`; `__tests__/artifacts/types.test.ts`
|
|
19
|
+
* pins that the global `Artifacts` / `ArtifactsRepo` still satisfy them, so
|
|
20
|
+
* drift fails CI.
|
|
19
21
|
*/
|
|
20
22
|
/** A repo-scoped Git token's scope: `read` covers clone/fetch/pull, `write` adds push. */
|
|
21
23
|
type ArtifactsTokenScope = "read" | "write";
|
|
@@ -5,17 +5,19 @@
|
|
|
5
5
|
* and READS commits, trees, blobs and files. It has no write method: every write
|
|
6
6
|
* is a `git push` over HTTPS with one of those tokens.
|
|
7
7
|
*
|
|
8
|
-
* Declared structurally (the `ImagesBindingLike` pattern) rather than
|
|
9
|
-
* the global `Artifacts` type, because
|
|
10
|
-
*
|
|
11
|
-
* `
|
|
12
|
-
*
|
|
13
|
-
* `info()`)
|
|
14
|
-
*
|
|
8
|
+
* Declared structurally (the `ImagesBindingLike` pattern) rather than aliasing
|
|
9
|
+
* the global `Artifacts` type, because an alias resolves against whatever
|
|
10
|
+
* `@cloudflare/workers-types` the app installed, and two lines get it wrong.
|
|
11
|
+
* The v4 line has no `Artifacts` global at all, so the alias is a silent `any`
|
|
12
|
+
* under `skipLibCheck`. v5 releases before 5.20261002.1 have a WRONG shape: no
|
|
13
|
+
* `info()`, `log()` or `read*()` methods, and `ArtifactsRepo` typed as carrying
|
|
14
|
+
* its metadata as properties, which the deployed binding does not do (call
|
|
15
|
+
* `info()`), so the alias is a wrong type.
|
|
15
16
|
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
17
|
+
* The shapes here follow the Workers-binding docs and
|
|
18
|
+
* `@cloudflare/workers-types@5.20261002.1`; `__tests__/artifacts/types.test.ts`
|
|
19
|
+
* pins that the global `Artifacts` / `ArtifactsRepo` still satisfy them, so
|
|
20
|
+
* drift fails CI.
|
|
19
21
|
*/
|
|
20
22
|
/** A repo-scoped Git token's scope: `read` covers clone/fetch/pull, `write` adds push. */
|
|
21
23
|
type ArtifactsTokenScope = "read" | "write";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lunora/bindings",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.96",
|
|
4
4
|
"description": "Lightweight Cloudflare binding helpers for Lunora — ctx.kv, ctx.images, ctx.analytics, ctx.pipelines, ctx.vectors, ctx.r2sql, ctx.artifacts, ctx.aiSearch, ctx.analyticsSql — one install, per-binding subpaths",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai-search",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
82
|
"@lunora/errors": "1.0.0-alpha.50",
|
|
83
|
-
"@lunora/platform": "1.0.0-alpha.
|
|
83
|
+
"@lunora/platform": "1.0.0-alpha.55"
|
|
84
84
|
},
|
|
85
85
|
"engines": {
|
|
86
86
|
"node": "^22.15.0 || >=24.11.0"
|