@lunora/advisor 1.0.0-alpha.4 → 1.0.0-alpha.6
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/README.md +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -86,7 +86,7 @@ import { fromServerSchema, loadAnalyticsRuntimeMetrics, runAdvisor } from "@luno
|
|
|
86
86
|
|
|
87
87
|
import schema from "./lunora/schema";
|
|
88
88
|
|
|
89
|
-
// `client` is an `@lunora/analytics` SQL client (anything with `query(sql)`).
|
|
89
|
+
// `client` is an `@lunora/bindings/analytics` SQL client (anything with `query(sql)`).
|
|
90
90
|
const metrics = await loadAnalyticsRuntimeMetrics(client, { dataset: "ANALYTICS" });
|
|
91
91
|
const findings = runAdvisor({ schema: fromServerSchema(schema), ...metrics }, { source: "runtime" });
|
|
92
92
|
```
|
package/dist/index.d.mts
CHANGED
|
@@ -786,9 +786,9 @@ interface Lint {
|
|
|
786
786
|
title: string;
|
|
787
787
|
}
|
|
788
788
|
/**
|
|
789
|
-
* Minimal structural view of the `@lunora/analytics` SQL client — just its
|
|
789
|
+
* Minimal structural view of the `@lunora/bindings/analytics` SQL client — just its
|
|
790
790
|
* `query(sql)` method. Kept structural (not an `import type` from
|
|
791
|
-
* `@lunora/analytics`) so the advisor needn't depend on the analytics package;
|
|
791
|
+
* `@lunora/bindings/analytics`) so the advisor needn't depend on the analytics package;
|
|
792
792
|
* the real `AnalyticsSqlClient` satisfies it, as does a plain test double.
|
|
793
793
|
*/
|
|
794
794
|
interface AnalyticsMetricsSource {
|
|
@@ -1209,7 +1209,7 @@ declare const publicMutationWithoutRatelimit: Lint;
|
|
|
1209
1209
|
* Flags an R2 SQL `ctx.r2sql` access inside a `query(...)` or `mutation(...)`
|
|
1210
1210
|
* handler body.
|
|
1211
1211
|
*
|
|
1212
|
-
* R2 SQL (`@lunora/r2sql`) queries Apache Iceberg tables over an **external**
|
|
1212
|
+
* R2 SQL (`@lunora/bindings/r2sql`) queries Apache Iceberg tables over an **external**
|
|
1213
1213
|
* REST endpoint Lunora does not own — there is no Workers binding, every query
|
|
1214
1214
|
* is an HTTPS round-trip. A `ctx.r2sql` query is therefore non-deterministic
|
|
1215
1215
|
* (exactly like `fetch`), which breaks the determinism the coordinator relies on
|
package/dist/index.d.ts
CHANGED
|
@@ -786,9 +786,9 @@ interface Lint {
|
|
|
786
786
|
title: string;
|
|
787
787
|
}
|
|
788
788
|
/**
|
|
789
|
-
* Minimal structural view of the `@lunora/analytics` SQL client — just its
|
|
789
|
+
* Minimal structural view of the `@lunora/bindings/analytics` SQL client — just its
|
|
790
790
|
* `query(sql)` method. Kept structural (not an `import type` from
|
|
791
|
-
* `@lunora/analytics`) so the advisor needn't depend on the analytics package;
|
|
791
|
+
* `@lunora/bindings/analytics`) so the advisor needn't depend on the analytics package;
|
|
792
792
|
* the real `AnalyticsSqlClient` satisfies it, as does a plain test double.
|
|
793
793
|
*/
|
|
794
794
|
interface AnalyticsMetricsSource {
|
|
@@ -1209,7 +1209,7 @@ declare const publicMutationWithoutRatelimit: Lint;
|
|
|
1209
1209
|
* Flags an R2 SQL `ctx.r2sql` access inside a `query(...)` or `mutation(...)`
|
|
1210
1210
|
* handler body.
|
|
1211
1211
|
*
|
|
1212
|
-
* R2 SQL (`@lunora/r2sql`) queries Apache Iceberg tables over an **external**
|
|
1212
|
+
* R2 SQL (`@lunora/bindings/r2sql`) queries Apache Iceberg tables over an **external**
|
|
1213
1213
|
* REST endpoint Lunora does not own — there is no Workers binding, every query
|
|
1214
1214
|
* is an HTTPS round-trip. A `ctx.r2sql` query is therefore non-deterministic
|
|
1215
1215
|
* (exactly like `fetch`), which breaks the determinism the coordinator relies on
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lunora/advisor",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.6",
|
|
4
4
|
"description": "Schema & query lints (splinter-style advisors) for Lunora, feeding the Studio Advisors view",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"advisor",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"directory": "packages/advisor"
|
|
26
26
|
},
|
|
27
27
|
"files": [
|
|
28
|
-
"dist",
|
|
28
|
+
"./dist",
|
|
29
29
|
"README.md",
|
|
30
30
|
"LICENSE.md",
|
|
31
31
|
"__assets__"
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@lunora/server": "1.0.0-alpha.
|
|
49
|
+
"@lunora/server": "1.0.0-alpha.5"
|
|
50
50
|
},
|
|
51
51
|
"engines": {
|
|
52
52
|
"node": "^22.15.0 || >=24.11.0"
|