@malloy-publisher/sdk 0.9.12 → 0.9.14

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 (69) hide show
  1. package/README.md +5 -7
  2. package/dist/{RenderedResult-CDiXJAh9.es.js → RenderedResult-DnBtf-cI.es.js} +2 -2
  3. package/dist/{RenderedResult-De51QvsZ.cjs.js → RenderedResult-DtQtNV0d.cjs.js} +1 -1
  4. package/dist/ServerProvider-BIFPCzTD.cjs.js +1 -0
  5. package/dist/{ServerProvider-RvKSbvnL.es.js → ServerProvider-BV7IoDMR.es.js} +805 -606
  6. package/dist/builder/index.cjs.js +51 -51
  7. package/dist/builder/index.es.js +3638 -3698
  8. package/dist/builder-entry.d.ts +1 -0
  9. package/dist/client/api.d.ts +178 -0
  10. package/dist/client/index.cjs.js +1 -1
  11. package/dist/client/index.es.js +41 -37
  12. package/dist/components/Report/telemetry.d.ts +0 -5
  13. package/dist/components/ReportBuilder/BuilderBar.d.ts +1 -1
  14. package/dist/components/ReportBuilder/BuilderToolbar.d.ts +14 -10
  15. package/dist/components/ReportBuilder/EditorSurface.d.ts +8 -2
  16. package/dist/components/ReportBuilder/ReportBuilder.d.ts +3 -10
  17. package/dist/components/ReportBuilder/ReportEditor.d.ts +18 -7
  18. package/dist/components/ReportBuilder/SaveStatus.d.ts +16 -0
  19. package/dist/components/ReportBuilder/TileFrame.d.ts +9 -2
  20. package/dist/components/ReportBuilder/builderControls.d.ts +14 -6
  21. package/dist/components/ReportBuilder/useBuilderSession.d.ts +1 -1
  22. package/dist/components/ReportBuilder/useReportDraft.d.ts +6 -2
  23. package/dist/components/given/GivenInput.d.ts +18 -1
  24. package/dist/components/given/GivensPanel.d.ts +12 -1
  25. package/dist/components/given/useOptionSearch.d.ts +30 -0
  26. package/dist/hooks/index.d.ts +1 -1
  27. package/dist/hooks/useDocumentControls.d.ts +5 -0
  28. package/dist/hooks/useGivensState.d.ts +7 -0
  29. package/dist/hooks/useSuggestOptions.d.ts +60 -4
  30. package/dist/index.cjs.js +1 -1
  31. package/dist/index.es.js +5 -5
  32. package/dist/{useCompiledDocument-Bf4RSfB6.es.js → useCompiledDocument-B4QF1mIl.es.js} +6912 -6759
  33. package/dist/useCompiledDocument-D0OAMejE.cjs.js +142 -0
  34. package/package.json +1 -1
  35. package/src/builder-entry.ts +1 -0
  36. package/src/components/Report/ReportPage.tsx +5 -1
  37. package/src/components/Report/telemetry.ts +0 -6
  38. package/src/components/ReportBuilder/AddTileDialog.tsx +2 -2
  39. package/src/components/ReportBuilder/BuilderBar.tsx +5 -256
  40. package/src/components/ReportBuilder/BuilderHeader.tsx +9 -3
  41. package/src/components/ReportBuilder/BuilderToolbar.tsx +15 -38
  42. package/src/components/ReportBuilder/EditorSurface.tsx +16 -11
  43. package/src/components/ReportBuilder/FilterDialog.tsx +1 -1
  44. package/src/components/ReportBuilder/ReportBuilder.controls.spec.tsx +210 -24
  45. package/src/components/ReportBuilder/ReportBuilder.tsx +43 -85
  46. package/src/components/ReportBuilder/ReportEditor.package.spec.tsx +0 -36
  47. package/src/components/ReportBuilder/ReportEditor.queryVersion.spec.tsx +292 -0
  48. package/src/components/ReportBuilder/ReportEditor.tsx +22 -11
  49. package/src/components/ReportBuilder/SaveStatus.tsx +271 -0
  50. package/src/components/ReportBuilder/TileFrame.spec.ts +34 -0
  51. package/src/components/ReportBuilder/TileFrame.tsx +10 -3
  52. package/src/components/ReportBuilder/builderControls.ts +39 -13
  53. package/src/components/ReportBuilder/emptyStart.spec.ts +1 -1
  54. package/src/components/ReportBuilder/useReportDraft.ts +38 -4
  55. package/src/components/given/GivenInput.tsx +219 -104
  56. package/src/components/given/GivensPanel.spec.tsx +19 -0
  57. package/src/components/given/GivensPanel.tsx +31 -1
  58. package/src/components/given/useOptionSearch.spec.tsx +218 -0
  59. package/src/components/given/useOptionSearch.ts +100 -0
  60. package/src/hooks/index.ts +5 -1
  61. package/src/hooks/useDocumentControls.ts +12 -1
  62. package/src/hooks/useGivensState.spec.ts +54 -0
  63. package/src/hooks/useGivensState.ts +21 -1
  64. package/src/hooks/useSuggestOptions.dom.spec.ts +125 -4
  65. package/src/hooks/useSuggestOptions.spec.ts +73 -2
  66. package/src/hooks/useSuggestOptions.ts +234 -62
  67. package/dist/ServerProvider-DKrBcXL7.cjs.js +0 -1
  68. package/dist/useCompiledDocument-XsQz85Ri.cjs.js +0 -141
  69. package/src/components/ReportBuilder/ReportBuilder.layoutSwitch.spec.tsx +0 -145
@@ -1,9 +1,9 @@
1
1
  import { jsx as q } from "react/jsx-runtime";
2
- import { QueryClient as Ve, QueryClientProvider as Se, useQuery as Oe } from "@tanstack/react-query";
2
+ import { QueryClient as Ve, QueryClientProvider as Oe, useQuery as ke } from "@tanstack/react-query";
3
3
  import u from "axios";
4
- import { useContext as oe, useMemo as F, createContext as se, useState as ae, useEffect as ke, useCallback as Ae } from "react";
5
- import { styled as B, Card as ye, CardContent as Ce, CardMedia as Ie } from "@mui/material";
6
- const te = "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace", N = {
4
+ import { useContext as se, useMemo as F, createContext as le, useState as te, useEffect as Ae, useCallback as ye } from "react";
5
+ import { styled as D, Card as Ce, CardContent as Ie, CardMedia as xe } from "@mui/material";
6
+ const ne = "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace", N = {
7
7
  radius: { control: "6px", tile: "8px", menu: "10px", dialog: "12px" },
8
8
  size: { control: 32, chip: 24 },
9
9
  type: {
@@ -13,12 +13,12 @@ const te = "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace", N = {
13
13
  control: { fontSize: 13, fontWeight: 500 },
14
14
  caption: { fontSize: 12, lineHeight: 1.4 },
15
15
  label: { fontSize: 12, fontWeight: 600, lineHeight: 1.4 },
16
- code: { fontSize: 11.5, fontFamily: te }
16
+ code: { fontSize: 11.5, fontFamily: ne }
17
17
  },
18
- font: { mono: te },
18
+ font: { mono: ne },
19
19
  shadow: { menu: "0 8px 24px rgba(16, 24, 40, 0.12)" }
20
20
  };
21
- function xe(c) {
21
+ function Re(c) {
22
22
  if (!c) return N;
23
23
  const n = { ...N.font, ...c.font }, e = { ...N.type };
24
24
  e.code = { ...e.code, fontFamily: n.mono };
@@ -35,7 +35,7 @@ function xe(c) {
35
35
  shadow: { ...N.shadow, ...c.shadow }
36
36
  };
37
37
  }
38
- const I = {
38
+ const x = {
39
39
  blue: "#2563eb",
40
40
  indigo: "#4f46e5",
41
41
  violet: "#7c3aed",
@@ -48,25 +48,25 @@ const I = {
48
48
  teal: "#0f766e",
49
49
  cyan: "#0e7490",
50
50
  slate: "#475569"
51
- }, ya = {
52
- environment: I.emerald,
53
- package: I.teal,
54
- connection: I.orange
55
- }, Ca = '"JetBrains Mono", "ui-monospace", "SFMono-Regular", "Menlo", monospace', Ia = B(ye)({
51
+ }, Ia = {
52
+ environment: x.emerald,
53
+ package: x.teal,
54
+ connection: x.orange
55
+ }, xa = '"JetBrains Mono", "ui-monospace", "SFMono-Regular", "Menlo", monospace', Ra = D(Ce)({
56
56
  display: "flex",
57
57
  flexDirection: "column",
58
58
  height: "100%",
59
59
  boxShadow: "none",
60
60
  border: "none",
61
61
  backgroundColor: "transparent"
62
- }), xa = B(Ce)({
62
+ }), Na = D(Ie)({
63
63
  display: "flex",
64
64
  flexDirection: "column",
65
65
  padding: "0",
66
66
  flexGrow: 1
67
- }), Ra = B(Ie)({
67
+ }), Ua = D(xe)({
68
68
  padding: "0"
69
- }), Na = B("div")({
69
+ }), Ta = D("div")({
70
70
  backgroundColor: "transparent",
71
71
  paddingTop: "12px",
72
72
  paddingBottom: "2px",
@@ -74,15 +74,15 @@ const I = {
74
74
  border: "none",
75
75
  boxShadow: "none",
76
76
  marginBottom: "0"
77
- }), Ua = B("div")({
77
+ }), wa = D("div")({
78
78
  height: "100%"
79
- }), Ta = B("div")({
79
+ }), fa = D("div")({
80
80
  height: "75vh",
81
81
  width: "100%",
82
82
  overflowY: "auto"
83
- }), Re = {
83
+ }), Ne = {
84
84
  light: {
85
- accent: I.blue,
85
+ accent: x.blue,
86
86
  accentHover: "#1d4ed8",
87
87
  accentContrast: "#ffffff"
88
88
  },
@@ -91,45 +91,45 @@ const I = {
91
91
  accentHover: "#93c5fd",
92
92
  accentContrast: "#0f172a"
93
93
  }
94
- }, Ne = {
94
+ }, Ue = {
95
95
  light: "#ffffff",
96
96
  dark: "#0f172a"
97
- }, Ue = 3, U = (c) => {
97
+ }, Te = 3, U = (c) => {
98
98
  const n = /^#?([0-9a-f]{3}|[0-9a-f]{6})$/i.exec(c.trim());
99
99
  if (!n) return;
100
100
  const e = n[1].length === 3 ? [...n[1]].map((t) => t + t).join("") : n[1];
101
101
  return [0, 2, 4].map((t) => parseInt(e.slice(t, t + 2), 16));
102
- }, ce = (c) => `#${c.map((n) => Math.round(n).toString(16).padStart(2, "0")).join("")}`, _ = (c, n, e) => ce(c.map((t) => t + (n - t) * e)), G = (c) => {
102
+ }, ce = (c) => `#${c.map((n) => Math.round(n).toString(16).padStart(2, "0")).join("")}`, G = (c, n, e) => ce(c.map((t) => t + (n - t) * e)), W = (c) => {
103
103
  const [n, e, t] = c.map((a) => {
104
104
  const r = a / 255;
105
105
  return r <= 0.03928 ? r / 12.92 : ((r + 0.055) / 1.055) ** 2.4;
106
106
  });
107
107
  return 0.2126 * n + 0.7152 * e + 0.0722 * t;
108
108
  }, Q = (c, n) => {
109
- const [e, t] = [G(c), G(n)].sort((a, r) => r - a);
109
+ const [e, t] = [W(c), W(n)].sort((a, r) => r - a);
110
110
  return (e + 0.05) / (t + 0.05);
111
111
  };
112
- function fa(c, n) {
112
+ function Ea(c, n) {
113
113
  const e = U(c), t = U(n);
114
114
  return e && t ? Q(e, t) : void 0;
115
115
  }
116
- const Te = [15, 23, 42];
117
- function W(c, n, e = Ue) {
116
+ const we = [15, 23, 42];
117
+ function $(c, n, e = Te) {
118
118
  const t = U(c), a = U(n);
119
119
  if (!t || !a || Q(t, a) >= e) return c;
120
- const r = G(a) < 0.5 ? 255 : 0;
120
+ const r = W(a) < 0.5 ? 255 : 0;
121
121
  for (let o = 0.05; o < 1; o += 0.05) {
122
- const s = U(_(t, r, o));
122
+ const s = U(G(t, r, o));
123
123
  if (s && Q(s, a) >= e) return ce(s);
124
124
  }
125
125
  return r === 255 ? "#ffffff" : "#000000";
126
126
  }
127
- function ne(c, n, e = Ne[n]) {
128
- const t = Re[n];
129
- if (!c || c.toLowerCase() === I.blue) return t;
127
+ function re(c, n, e = Ue[n]) {
128
+ const t = Ne[n];
129
+ if (!c || c.toLowerCase() === x.blue) return t;
130
130
  if (!U(c))
131
131
  return n === "light" ? { ...t, accent: c, accentHover: c } : t;
132
- const a = W(c, e), r = U(a), o = n === "dark" ? _(r, 255, 0.25) : _(r, 0, 0.2), s = Q(r, [255, 255, 255]), l = Q(r, Te);
132
+ const a = $(c, e), r = U(a), o = n === "dark" ? G(r, 255, 0.25) : G(r, 0, 0.2), s = Q(r, [255, 255, 255]), l = Q(r, we);
133
133
  return {
134
134
  accent: a,
135
135
  accentHover: o,
@@ -137,15 +137,15 @@ function ne(c, n, e = Ne[n]) {
137
137
  };
138
138
  }
139
139
  const fe = [
140
- I.blue,
141
- I.orange,
142
- I.emerald,
143
- I.pink,
144
- I.violet,
145
- I.amber,
146
- I.cyan,
147
- I.lime
148
- ], we = "Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif", re = {
140
+ x.blue,
141
+ x.orange,
142
+ x.emerald,
143
+ x.pink,
144
+ x.violet,
145
+ x.amber,
146
+ x.cyan,
147
+ x.lime
148
+ ], Ee = "Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif", oe = {
149
149
  defaultMode: "light",
150
150
  allowUserToggle: !0,
151
151
  palette: {
@@ -196,8 +196,8 @@ const fe = [
196
196
  // pairs this with a near-neutral low end. Matches the first series
197
197
  // colour, so a map and a chart on one page ramp to the same hue.
198
198
  mapColor: {
199
- light: I.blue,
200
- dark: I.blue
199
+ light: x.blue,
200
+ dark: x.blue
201
201
  },
202
202
  // Table gridlines and row rules: a hairline, because a table has dozens
203
203
  // of them and they only have to separate rows.
@@ -235,10 +235,10 @@ const fe = [
235
235
  }
236
236
  },
237
237
  font: {
238
- family: we,
238
+ family: Ee,
239
239
  size: 12
240
240
  }
241
- }, Ee = [
241
+ }, Me = [
242
242
  "background",
243
243
  "tableHeader",
244
244
  "tableHeaderBackground",
@@ -253,8 +253,8 @@ const fe = [
253
253
  "chartText",
254
254
  "value"
255
255
  ];
256
- function le(c, n) {
257
- const e = re.palette ?? {}, t = re.font ?? {
256
+ function ie(c, n) {
257
+ const e = oe.palette ?? {}, t = oe.font ?? {
258
258
  family: "sans-serif",
259
259
  size: 12
260
260
  };
@@ -282,13 +282,13 @@ function le(c, n) {
282
282
  for (const k of c)
283
283
  if (k) {
284
284
  Array.isArray(k.palette?.series) && (a = [...k.palette.series], r = !0);
285
- for (const C of Ee) {
286
- const R = k.palette?.[C];
287
- R && (l[C] = { ...l[C], ...R }, R.light !== void 0 && i.light.add(C), R.dark !== void 0 && i.dark.add(C));
285
+ for (const I of Me) {
286
+ const R = k.palette?.[I];
287
+ R && (l[I] = { ...l[I], ...R }, R.light !== void 0 && i.light.add(I), R.dark !== void 0 && i.dark.add(I));
288
288
  }
289
289
  typeof k.font?.family == "string" && (o = k.font.family), typeof k.font?.size == "number" && (s = k.font.size);
290
290
  }
291
- const p = n === "dark", d = (k) => l[k][n] ?? e[k]?.[n], h = d("background"), O = p && i.light.has("mapColor") && !i.dark.has("mapColor") ? W(l.mapColor.light, h) : d("mapColor");
291
+ const p = n === "dark", d = (k) => l[k][n] ?? e[k]?.[n], h = d("background"), O = p && i.light.has("mapColor") && !i.dark.has("mapColor") ? $(l.mapColor.light, h) : d("mapColor");
292
292
  return {
293
293
  mode: n,
294
294
  // The host's chrome tokens are laid over this by `ThemeProvider`.
@@ -296,8 +296,8 @@ function le(c, n) {
296
296
  // One series list for both modes, picked against a light page: in dark,
297
297
  // an operator's colour too dark to see on the canvas is lifted until it
298
298
  // reads. The defaults are drawn as they always were.
299
- series: p && r ? a.map((k) => W(k, h)) : a,
300
- ...ne(a[0], n, h),
299
+ series: p && r ? a.map((k) => $(k, h)) : a,
300
+ ...re(a[0], n, h),
301
301
  font: { family: o, size: s },
302
302
  background: h,
303
303
  tableHeader: d("tableHeader"),
@@ -345,15 +345,15 @@ function le(c, n) {
345
345
  // contrast on the slate panel.
346
346
  // The Console's default accent, not the palette's: a drill reads as a
347
347
  // link whatever the operator picked for the data.
348
- drillLink: ne(void 0, n).accent
348
+ drillLink: re(void 0, n).accent
349
349
  };
350
350
  }
351
- function Me(c, n, e) {
351
+ function Fe(c, n, e) {
352
352
  const t = n ?? c ?? "light";
353
353
  return t === "auto" ? e ? "dark" : "light" : t;
354
354
  }
355
- const ie = se(void 0);
356
- function Fe({
355
+ const pe = le(void 0);
356
+ function De({
357
357
  layers: c,
358
358
  mode: n,
359
359
  userChoice: e,
@@ -363,22 +363,22 @@ function Fe({
363
363
  children: o
364
364
  }) {
365
365
  const s = JSON.stringify(r ?? null), l = F(
366
- () => xe(r),
366
+ () => Re(r),
367
367
  // eslint-disable-next-line react-hooks/exhaustive-deps
368
368
  [s]
369
369
  ), i = F(
370
- () => ({ ...le(c, n), ui: l }),
370
+ () => ({ ...ie(c, n), ui: l }),
371
371
  [c, n, l]
372
372
  ), p = F(
373
373
  () => ({ theme: i, layers: c, mode: n, userChoice: e, setMode: t, allowUserToggle: a }),
374
374
  [i, c, n, e, t, a]
375
375
  );
376
- return /* @__PURE__ */ q(ie.Provider, { value: p, children: o });
376
+ return /* @__PURE__ */ q(pe.Provider, { value: p, children: o });
377
377
  }
378
- function wa() {
379
- const c = oe(ie);
378
+ function Ma() {
379
+ const c = se(pe);
380
380
  return c || {
381
- theme: le([], "light"),
381
+ theme: ie([], "light"),
382
382
  layers: [],
383
383
  mode: "light",
384
384
  userChoice: void 0,
@@ -388,7 +388,7 @@ function wa() {
388
388
  };
389
389
  }
390
390
  const g = "http://localhost/api/v0".replace(/\/+$/, "");
391
- class x {
391
+ class C {
392
392
  constructor(n, e = g, t = u) {
393
393
  this.basePath = e, this.axios = t, n && (this.configuration = n, this.basePath = n.basePath ?? e);
394
394
  }
@@ -399,58 +399,58 @@ class Be extends Error {
399
399
  super(e), this.field = n, this.name = "RequiredError";
400
400
  }
401
401
  }
402
- const b = {}, P = "https://example.com", m = function(c, n, e) {
402
+ const b = {}, S = "https://example.com", m = function(c, n, e) {
403
403
  if (e == null)
404
404
  throw new Be(n, `Required parameter ${n} was null or undefined when calling ${c}.`);
405
405
  };
406
- function $(c, n, e = "") {
407
- n != null && (typeof n == "object" ? Array.isArray(n) || n instanceof Set ? n.forEach((t) => $(c, t, e)) : Object.keys(n).forEach(
408
- (t) => $(c, n[t], `${e}${e !== "" ? "." : ""}${t}`)
406
+ function K(c, n, e = "") {
407
+ n != null && (typeof n == "object" ? Array.isArray(n) || n instanceof Set ? n.forEach((t) => K(c, t, e)) : Object.keys(n).forEach(
408
+ (t) => K(c, n[t], `${e}${e !== "" ? "." : ""}${t}`)
409
409
  ) : c.has(e) ? c.append(e, n) : c.set(e, n));
410
410
  }
411
411
  const v = function(c, ...n) {
412
412
  const e = new URLSearchParams(c.search);
413
- $(e, n), c.search = e.toString();
413
+ K(e, n), c.search = e.toString();
414
414
  }, je = function(c, n) {
415
415
  return n instanceof Set ? Array.from(n) : n;
416
416
  }, A = function(c, n, e) {
417
417
  const t = typeof c != "string";
418
418
  return (t && e && e.isJsonMime ? e.isJsonMime(n.headers["Content-Type"]) : t) ? JSON.stringify(c !== void 0 ? c : {}, je) : c || "";
419
- }, V = function(c) {
419
+ }, P = function(c) {
420
420
  return c.pathname + c.search + c.hash;
421
- }, S = function(c, n, e, t) {
421
+ }, V = function(c, n, e, t) {
422
422
  return (a = n, r = e) => {
423
423
  const o = { ...c.options, url: (a.defaults.baseURL ? "" : t?.basePath ?? r) + c.url };
424
424
  return a.request(o);
425
425
  };
426
- }, Ea = {
426
+ }, Fa = {
427
427
  Bigquery: "bigquery",
428
428
  Snowflake: "snowflake",
429
429
  Postgres: "postgres",
430
430
  Gcs: "gcs",
431
431
  S3: "s3",
432
432
  Azure: "azure"
433
- }, Ma = {
433
+ }, Da = {
434
434
  ServicePrincipal: "service_principal",
435
435
  SasToken: "sas_token"
436
- }, Fa = {
436
+ }, Ba = {
437
437
  Error: "error",
438
438
  Warn: "warn",
439
439
  Debug: "debug"
440
- }, Ba = {
440
+ }, ja = {
441
441
  Append: "append",
442
442
  File: "file",
443
443
  Package: "package"
444
- }, ja = {
444
+ }, qa = {
445
445
  Success: "success",
446
446
  Error: "error"
447
- }, Da = {
447
+ }, Qa = {
448
448
  Grid: "grid",
449
449
  Linear: "linear"
450
- }, qa = {
450
+ }, La = {
451
451
  Dashboard: "dashboard",
452
452
  Notebook: "notebook"
453
- }, Qa = {
453
+ }, za = {
454
454
  Postgres: "postgres",
455
455
  Bigquery: "bigquery",
456
456
  Snowflake: "snowflake",
@@ -462,139 +462,139 @@ const v = function(c, ...n) {
462
462
  Motherduck: "motherduck",
463
463
  Ducklake: "ducklake",
464
464
  Publisher: "publisher"
465
- }, za = {
465
+ }, Ha = {
466
466
  Ssh: "ssh"
467
- }, La = {
467
+ }, _a = {
468
468
  Ok: "ok",
469
469
  Failed: "failed"
470
- }, Ha = {
470
+ }, Ga = {
471
471
  Grid: "grid",
472
472
  Linear: "linear"
473
- }, _a = {
473
+ }, Wa = {
474
474
  Dashboard: "dashboard",
475
475
  Notebook: "notebook"
476
- }, Ga = {
476
+ }, $a = {
477
477
  Query: "query",
478
478
  Text: "text"
479
- }, Wa = {
479
+ }, Ka = {
480
480
  Viewport: "viewport"
481
- }, $a = {
481
+ }, Ya = {
482
482
  Embedded: "embedded",
483
483
  Materialized: "materialized"
484
- }, Ka = {
484
+ }, Ja = {
485
485
  Equal: "equal",
486
486
  In: "in",
487
487
  Like: "like",
488
488
  GreaterThan: "greater_than",
489
489
  LessThan: "less_than"
490
- }, Ya = {
490
+ }, Xa = {
491
491
  Live: "live",
492
492
  StaleOk: "stale_ok",
493
493
  Fail: "fail"
494
- }, Ja = {
494
+ }, Za = {
495
495
  Select: "select",
496
496
  Multiselect: "multiselect"
497
- }, Xa = {
497
+ }, et = {
498
498
  Merge: "merge",
499
499
  RangeReplace: "range_replace"
500
- }, Za = {
500
+ }, at = {
501
501
  Debug: "debug",
502
502
  Info: "info",
503
503
  Warn: "warn",
504
504
  Error: "error"
505
- }, et = {
505
+ }, tt = {
506
506
  Persist: "persist",
507
507
  Preaggregate: "preaggregate"
508
- }, at = {
508
+ }, nt = {
509
509
  Reused: "reused",
510
510
  Recomputed: "recomputed"
511
- }, tt = {
511
+ }, rt = {
512
512
  Live: "live",
513
513
  StaleOk: "stale_ok",
514
514
  Fail: "fail"
515
- }, nt = {
515
+ }, ot = {
516
516
  Delta: "delta",
517
517
  Full: "full",
518
518
  None: "none"
519
- }, rt = {
519
+ }, st = {
520
520
  Pending: "PENDING",
521
521
  ManifestRowsReady: "MANIFEST_ROWS_READY",
522
522
  ManifestFileReady: "MANIFEST_FILE_READY",
523
523
  Failed: "FAILED",
524
524
  Cancelled: "CANCELLED"
525
- }, ot = {
525
+ }, lt = {
526
526
  Markdown: "markdown",
527
527
  Code: "code"
528
- }, st = {
528
+ }, ct = {
529
529
  Markdown: "markdown",
530
530
  Query: "query",
531
531
  Definition: "definition"
532
- }, ct = {
532
+ }, it = {
533
533
  Markdown: "markdown",
534
534
  Code: "code"
535
- }, lt = {
535
+ }, pt = {
536
536
  Markdown: "markdown",
537
537
  Query: "query",
538
538
  Definition: "definition"
539
- }, it = {
539
+ }, dt = {
540
540
  Version: "version",
541
541
  Package: "package"
542
- }, pt = {
542
+ }, mt = {
543
543
  Declared: "declared",
544
544
  All: "all"
545
- }, dt = {
545
+ }, ht = {
546
546
  Unbound: "unbound",
547
547
  Bound: "bound",
548
548
  LiveFallback: "live_fallback"
549
- }, mt = {
549
+ }, ut = {
550
550
  Lexical: "lexical",
551
551
  Indexing: "indexing",
552
552
  Ready: "ready",
553
553
  Error: "error",
554
554
  Cooldown: "cooldown",
555
555
  TooManyEntities: "too-many-entities"
556
- }, ht = {
556
+ }, gt = {
557
557
  Cooldown: "cooldown",
558
558
  TooManyEntities: "too-many-entities"
559
- }, ut = {
559
+ }, bt = {
560
560
  Keyphrase: "keyphrase",
561
561
  SourceSummary: "source_summary"
562
- }, gt = {
562
+ }, St = {
563
563
  Persist: "persist",
564
564
  Preaggregate: "preaggregate"
565
- }, bt = {
565
+ }, vt = {
566
566
  Error: "error",
567
567
  Warn: "warn"
568
568
  }, Pt = {
569
569
  Persist: "persist",
570
570
  Preaggregate: "preaggregate"
571
- }, vt = {
571
+ }, Vt = {
572
572
  Disable: "disable",
573
573
  NoVerify: "no-verify",
574
574
  VerifyCa: "verify-ca",
575
575
  VerifyFull: "verify-full"
576
- }, Vt = {
576
+ }, Ot = {
577
577
  Interactive: "interactive",
578
578
  Materialize: "materialize",
579
579
  Index: "index",
580
580
  Ops: "ops"
581
- }, St = {
581
+ }, kt = {
582
582
  Query: "query",
583
583
  ServerDefault: "server_default"
584
- }, Ot = {
584
+ }, At = {
585
585
  Storage: "storage",
586
586
  LiveFallback: "live_fallback"
587
- }, kt = {
587
+ }, yt = {
588
588
  Malloynb: "malloynb",
589
589
  Malloy: "malloy"
590
- }, At = {
590
+ }, Ct = {
591
591
  Snapshot: "SNAPSHOT",
592
592
  Copy: "COPY"
593
- }, yt = {
593
+ }, It = {
594
594
  Storage: "storage",
595
595
  Colocated: "colocated",
596
596
  Preaggregate: "preaggregate"
597
- }, Ct = {
597
+ }, xt = {
598
598
  FreeParameter: "free_parameter",
599
599
  Given: "given",
600
600
  GivenInPersistedQuery: "given_in_persisted_query",
@@ -610,41 +610,41 @@ const v = function(c, ...n) {
610
610
  NotDuckdbPortable: "not_duckdb_portable",
611
611
  PublicSurfaceUnknown: "public_surface_unknown",
612
612
  ReadOnlyDialect: "read_only_dialect"
613
- }, It = {
613
+ }, Rt = {
614
614
  Grid: "grid",
615
615
  Linear: "linear"
616
- }, xt = {
616
+ }, Nt = {
617
617
  Malloynb: "malloynb",
618
618
  Malloy: "malloy"
619
- }, Rt = {
619
+ }, Ut = {
620
620
  Grid: "grid",
621
621
  Linear: "linear"
622
- }, Nt = {
622
+ }, Tt = {
623
623
  Query: "query",
624
624
  Text: "text"
625
- }, Ut = {
625
+ }, wt = {
626
626
  Publish: "publish",
627
627
  OnDemand: "on_demand",
628
628
  Scheduler: "scheduler"
629
- }, Tt = {
629
+ }, ft = {
630
630
  Config: "config",
631
631
  CredentialChain: "credential_chain"
632
- }, ft = {
632
+ }, Et = {
633
633
  Initializing: "initializing",
634
634
  Serving: "serving",
635
635
  Draining: "draining",
636
636
  Throttled: "throttled"
637
- }, wt = {
637
+ }, Mt = {
638
638
  Bundled: "bundled",
639
639
  Package: "package"
640
- }, Et = {
640
+ }, Ft = {
641
641
  Bundled: "bundled",
642
642
  Package: "package"
643
- }, Mt = {
643
+ }, Dt = {
644
644
  Light: "light",
645
645
  Dark: "dark",
646
646
  Auto: "auto"
647
- }, De = function(c) {
647
+ }, qe = function(c) {
648
648
  return {
649
649
  /**
650
650
  * Returns one agent with its instructions, its own skill files and each schedule\'s task text, plus `source`, which pins the package load and the agent\'s own content so a runner can prove which bytes ran. Publisher serves the definition and runs nothing: the caller\'s own harness executes it, and schedules are never fired by the server. 404 when no agent of that name is served.
@@ -658,14 +658,14 @@ const v = function(c, ...n) {
658
658
  */
659
659
  getAgent: async (n, e, t, a, r = {}) => {
660
660
  m("getAgent", "environmentName", n), m("getAgent", "packageName", e), m("getAgent", "agentName", t);
661
- const o = "/environments/{environmentName}/packages/{packageName}/agents/{agentName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{agentName}", encodeURIComponent(String(t))), s = new URL(o, P);
661
+ const o = "/environments/{environmentName}/packages/{packageName}/agents/{agentName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{agentName}", encodeURIComponent(String(t))), s = new URL(o, S);
662
662
  let l;
663
663
  c && (l = c.baseOptions);
664
664
  const i = { method: "GET", ...l, ...r }, p = {}, d = {};
665
665
  a !== void 0 && (d.skills = a), p.Accept = "application/json", v(s, d);
666
666
  let h = l && l.headers ? l.headers : {};
667
667
  return i.headers = { ...p, ...h, ...r.headers }, {
668
- url: V(s),
668
+ url: P(s),
669
669
  options: i
670
670
  };
671
671
  },
@@ -681,14 +681,14 @@ const v = function(c, ...n) {
681
681
  */
682
682
  getAgentSkillFile: async (n, e, t, a, r = {}) => {
683
683
  m("getAgentSkillFile", "environmentName", n), m("getAgentSkillFile", "packageName", e), m("getAgentSkillFile", "agentName", t), m("getAgentSkillFile", "relativeFilepath", a);
684
- const o = "/environments/{environmentName}/packages/{packageName}/agents/{agentName}/skills/{relativeFilepath}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{agentName}", encodeURIComponent(String(t))).replace("{relativeFilepath}", encodeURIComponent(String(a))), s = new URL(o, P);
684
+ const o = "/environments/{environmentName}/packages/{packageName}/agents/{agentName}/skills/{relativeFilepath}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{agentName}", encodeURIComponent(String(t))).replace("{relativeFilepath}", encodeURIComponent(String(a))), s = new URL(o, S);
685
685
  let l;
686
686
  c && (l = c.baseOptions);
687
687
  const i = { method: "GET", ...l, ...r }, p = {}, d = {};
688
688
  p.Accept = "application/json", v(s, d);
689
689
  let h = l && l.headers ? l.headers : {};
690
690
  return i.headers = { ...p, ...h, ...r.headers }, {
691
- url: V(s),
691
+ url: P(s),
692
692
  options: i
693
693
  };
694
694
  },
@@ -702,20 +702,20 @@ const v = function(c, ...n) {
702
702
  */
703
703
  listAgents: async (n, e, t = {}) => {
704
704
  m("listAgents", "environmentName", n), m("listAgents", "packageName", e);
705
- const a = "/environments/{environmentName}/packages/{packageName}/agents".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), r = new URL(a, P);
705
+ const a = "/environments/{environmentName}/packages/{packageName}/agents".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), r = new URL(a, S);
706
706
  let o;
707
707
  c && (o = c.baseOptions);
708
708
  const s = { method: "GET", ...o, ...t }, l = {}, i = {};
709
709
  l.Accept = "application/json", v(r, i);
710
710
  let p = o && o.headers ? o.headers : {};
711
711
  return s.headers = { ...l, ...p, ...t.headers }, {
712
- url: V(r),
712
+ url: P(r),
713
713
  options: s
714
714
  };
715
715
  }
716
716
  };
717
- }, z = function(c) {
718
- const n = De(c);
717
+ }, L = function(c) {
718
+ const n = qe(c);
719
719
  return {
720
720
  /**
721
721
  * Returns one agent with its instructions, its own skill files and each schedule\'s task text, plus `source`, which pins the package load and the agent\'s own content so a runner can prove which bytes ran. Publisher serves the definition and runs nothing: the caller\'s own harness executes it, and schedules are never fired by the server. 404 when no agent of that name is served.
@@ -729,7 +729,7 @@ const v = function(c, ...n) {
729
729
  */
730
730
  async getAgent(e, t, a, r, o) {
731
731
  const s = await n.getAgent(e, t, a, r, o), l = c?.serverIndex ?? 0, i = b["AgentsApi.getAgent"]?.[l]?.url;
732
- return (p, d) => S(s, u, g, c)(p, i || d);
732
+ return (p, d) => V(s, u, g, c)(p, i || d);
733
733
  },
734
734
  /**
735
735
  * Returns one file from the agent\'s resolved skill set, named by a `relative_filepath` from `GET .../agents/{agentName}?skills=summary` (for example `analyst-conventions/SKILL.md`), with the same `source` pin as the full definition. The path is looked up in the resolved set, never joined onto the filesystem. 404 when the agent or the file is not served.
@@ -743,7 +743,7 @@ const v = function(c, ...n) {
743
743
  */
744
744
  async getAgentSkillFile(e, t, a, r, o) {
745
745
  const s = await n.getAgentSkillFile(e, t, a, r, o), l = c?.serverIndex ?? 0, i = b["AgentsApi.getAgentSkillFile"]?.[l]?.url;
746
- return (p, d) => S(s, u, g, c)(p, i || d);
746
+ return (p, d) => V(s, u, g, c)(p, i || d);
747
747
  },
748
748
  /**
749
749
  * Lists the agents declared under `agents` in the package\'s `publisher.json` that passed validation, without instructions or skills. An agent that failed validation is not listed; the package\'s `warnings` say why. Empty when the manifest declares none. The REST half of the `get_agent` MCP tool.
@@ -755,11 +755,11 @@ const v = function(c, ...n) {
755
755
  */
756
756
  async listAgents(e, t, a) {
757
757
  const r = await n.listAgents(e, t, a), o = c?.serverIndex ?? 0, s = b["AgentsApi.listAgents"]?.[o]?.url;
758
- return (l, i) => S(r, u, g, c)(l, s || i);
758
+ return (l, i) => V(r, u, g, c)(l, s || i);
759
759
  }
760
760
  };
761
- }, Ft = function(c, n, e) {
762
- const t = z(c);
761
+ }, Bt = function(c, n, e) {
762
+ const t = L(c);
763
763
  return {
764
764
  /**
765
765
  * Returns one agent with its instructions, its own skill files and each schedule\'s task text, plus `source`, which pins the package load and the agent\'s own content so a runner can prove which bytes ran. Publisher serves the definition and runs nothing: the caller\'s own harness executes it, and schedules are never fired by the server. 404 when no agent of that name is served.
@@ -800,7 +800,7 @@ const v = function(c, ...n) {
800
800
  }
801
801
  };
802
802
  };
803
- class Bt extends x {
803
+ class jt extends C {
804
804
  /**
805
805
  * Returns one agent with its instructions, its own skill files and each schedule\'s task text, plus `source`, which pins the package load and the agent\'s own content so a runner can prove which bytes ran. Publisher serves the definition and runs nothing: the caller\'s own harness executes it, and schedules are never fired by the server. 404 when no agent of that name is served.
806
806
  * @summary Get one agent, resolved
@@ -812,7 +812,7 @@ class Bt extends x {
812
812
  * @throws {RequiredError}
813
813
  */
814
814
  getAgent(n, e, t, a, r) {
815
- return z(this.configuration).getAgent(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
815
+ return L(this.configuration).getAgent(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
816
816
  }
817
817
  /**
818
818
  * Returns one file from the agent\'s resolved skill set, named by a `relative_filepath` from `GET .../agents/{agentName}?skills=summary` (for example `analyst-conventions/SKILL.md`), with the same `source` pin as the full definition. The path is looked up in the resolved set, never joined onto the filesystem. 404 when the agent or the file is not served.
@@ -825,7 +825,7 @@ class Bt extends x {
825
825
  * @throws {RequiredError}
826
826
  */
827
827
  getAgentSkillFile(n, e, t, a, r) {
828
- return z(this.configuration).getAgentSkillFile(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
828
+ return L(this.configuration).getAgentSkillFile(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
829
829
  }
830
830
  /**
831
831
  * Lists the agents declared under `agents` in the package\'s `publisher.json` that passed validation, without instructions or skills. An agent that failed validation is not listed; the package\'s `warnings` say why. Empty when the manifest declares none. The REST half of the `get_agent` MCP tool.
@@ -836,13 +836,13 @@ class Bt extends x {
836
836
  * @throws {RequiredError}
837
837
  */
838
838
  listAgents(n, e, t) {
839
- return z(this.configuration).listAgents(n, e, t).then((a) => a(this.axios, this.basePath));
839
+ return L(this.configuration).listAgents(n, e, t).then((a) => a(this.axios, this.basePath));
840
840
  }
841
841
  }
842
- const jt = {
842
+ const qt = {
843
843
  Full: "full",
844
844
  Summary: "summary"
845
- }, qe = function(c) {
845
+ }, Qe = function(c) {
846
846
  return {
847
847
  /**
848
848
  * Creates a new database connection in the specified environment.
@@ -855,14 +855,14 @@ const jt = {
855
855
  */
856
856
  createConnection: async (n, e, t, a = {}) => {
857
857
  m("createConnection", "environmentName", n), m("createConnection", "connectionName", e), m("createConnection", "connection", t);
858
- const r = "/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(r, P);
858
+ const r = "/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(r, S);
859
859
  let s;
860
860
  c && (s = c.baseOptions);
861
861
  const l = { method: "POST", ...s, ...a }, i = {}, p = {};
862
862
  i["Content-Type"] = "application/json", i.Accept = "application/json", v(o, p);
863
863
  let d = s && s.headers ? s.headers : {};
864
864
  return l.headers = { ...i, ...d, ...a.headers }, l.data = A(t, l, c), {
865
- url: V(o),
865
+ url: P(o),
866
866
  options: l
867
867
  };
868
868
  },
@@ -876,14 +876,14 @@ const jt = {
876
876
  */
877
877
  deleteConnection: async (n, e, t = {}) => {
878
878
  m("deleteConnection", "environmentName", n), m("deleteConnection", "connectionName", e);
879
- const a = "/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), r = new URL(a, P);
879
+ const a = "/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), r = new URL(a, S);
880
880
  let o;
881
881
  c && (o = c.baseOptions);
882
882
  const s = { method: "DELETE", ...o, ...t }, l = {}, i = {};
883
883
  l.Accept = "application/json", v(r, i);
884
884
  let p = o && o.headers ? o.headers : {};
885
885
  return s.headers = { ...l, ...p, ...t.headers }, {
886
- url: V(r),
886
+ url: P(r),
887
887
  options: s
888
888
  };
889
889
  },
@@ -897,14 +897,14 @@ const jt = {
897
897
  */
898
898
  getConnection: async (n, e, t = {}) => {
899
899
  m("getConnection", "environmentName", n), m("getConnection", "connectionName", e);
900
- const a = "/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), r = new URL(a, P);
900
+ const a = "/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), r = new URL(a, S);
901
901
  let o;
902
902
  c && (o = c.baseOptions);
903
903
  const s = { method: "GET", ...o, ...t }, l = {}, i = {};
904
904
  l.Accept = "application/json", v(r, i);
905
905
  let p = o && o.headers ? o.headers : {};
906
906
  return s.headers = { ...l, ...p, ...t.headers }, {
907
- url: V(r),
907
+ url: P(r),
908
908
  options: s
909
909
  };
910
910
  },
@@ -920,14 +920,14 @@ const jt = {
920
920
  */
921
921
  getTable: async (n, e, t, a, r = {}) => {
922
922
  m("getTable", "environmentName", n), m("getTable", "connectionName", e), m("getTable", "schemaName", t), m("getTable", "tablePath", a);
923
- const o = "/environments/{environmentName}/connections/{connectionName}/schemas/{schemaName}/tables/{tablePath}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))).replace("{schemaName}", encodeURIComponent(String(t))).replace("{tablePath}", encodeURIComponent(String(a))), s = new URL(o, P);
923
+ const o = "/environments/{environmentName}/connections/{connectionName}/schemas/{schemaName}/tables/{tablePath}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))).replace("{schemaName}", encodeURIComponent(String(t))).replace("{tablePath}", encodeURIComponent(String(a))), s = new URL(o, S);
924
924
  let l;
925
925
  c && (l = c.baseOptions);
926
926
  const i = { method: "GET", ...l, ...r }, p = {}, d = {};
927
927
  p.Accept = "application/json", v(s, d);
928
928
  let h = l && l.headers ? l.headers : {};
929
929
  return i.headers = { ...p, ...h, ...r.headers }, {
930
- url: V(s),
930
+ url: P(s),
931
931
  options: i
932
932
  };
933
933
  },
@@ -944,14 +944,14 @@ const jt = {
944
944
  */
945
945
  getTableInPackage: async (n, e, t, a, r, o = {}) => {
946
946
  m("getTableInPackage", "environmentName", n), m("getTableInPackage", "packageName", e), m("getTableInPackage", "connectionName", t), m("getTableInPackage", "schemaName", a), m("getTableInPackage", "tablePath", r);
947
- const s = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/schemas/{schemaName}/tables/{tablePath}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{connectionName}", encodeURIComponent(String(t))).replace("{schemaName}", encodeURIComponent(String(a))).replace("{tablePath}", encodeURIComponent(String(r))), l = new URL(s, P);
947
+ const s = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/schemas/{schemaName}/tables/{tablePath}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{connectionName}", encodeURIComponent(String(t))).replace("{schemaName}", encodeURIComponent(String(a))).replace("{tablePath}", encodeURIComponent(String(r))), l = new URL(s, S);
948
948
  let i;
949
949
  c && (i = c.baseOptions);
950
950
  const p = { method: "GET", ...i, ...o }, d = {}, h = {};
951
951
  d.Accept = "application/json", v(l, h);
952
952
  let O = i && i.headers ? i.headers : {};
953
953
  return p.headers = { ...d, ...O, ...o.headers }, {
954
- url: V(l),
954
+ url: P(l),
955
955
  options: p
956
956
  };
957
957
  },
@@ -964,14 +964,14 @@ const jt = {
964
964
  */
965
965
  listConnections: async (n, e = {}) => {
966
966
  m("listConnections", "environmentName", n);
967
- const t = "/environments/{environmentName}/connections".replace("{environmentName}", encodeURIComponent(String(n))), a = new URL(t, P);
967
+ const t = "/environments/{environmentName}/connections".replace("{environmentName}", encodeURIComponent(String(n))), a = new URL(t, S);
968
968
  let r;
969
969
  c && (r = c.baseOptions);
970
970
  const o = { method: "GET", ...r, ...e }, s = {}, l = {};
971
971
  s.Accept = "application/json", v(a, l);
972
972
  let i = r && r.headers ? r.headers : {};
973
973
  return o.headers = { ...s, ...i, ...e.headers }, {
974
- url: V(a),
974
+ url: P(a),
975
975
  options: o
976
976
  };
977
977
  },
@@ -985,14 +985,14 @@ const jt = {
985
985
  */
986
986
  listSchemas: async (n, e, t = {}) => {
987
987
  m("listSchemas", "environmentName", n), m("listSchemas", "connectionName", e);
988
- const a = "/environments/{environmentName}/connections/{connectionName}/schemas".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), r = new URL(a, P);
988
+ const a = "/environments/{environmentName}/connections/{connectionName}/schemas".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), r = new URL(a, S);
989
989
  let o;
990
990
  c && (o = c.baseOptions);
991
991
  const s = { method: "GET", ...o, ...t }, l = {}, i = {};
992
992
  l.Accept = "application/json", v(r, i);
993
993
  let p = o && o.headers ? o.headers : {};
994
994
  return s.headers = { ...l, ...p, ...t.headers }, {
995
- url: V(r),
995
+ url: P(r),
996
996
  options: s
997
997
  };
998
998
  },
@@ -1007,14 +1007,14 @@ const jt = {
1007
1007
  */
1008
1008
  listSchemasInPackage: async (n, e, t, a = {}) => {
1009
1009
  m("listSchemasInPackage", "environmentName", n), m("listSchemasInPackage", "packageName", e), m("listSchemasInPackage", "connectionName", t);
1010
- const r = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/schemas".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{connectionName}", encodeURIComponent(String(t))), o = new URL(r, P);
1010
+ const r = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/schemas".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{connectionName}", encodeURIComponent(String(t))), o = new URL(r, S);
1011
1011
  let s;
1012
1012
  c && (s = c.baseOptions);
1013
1013
  const l = { method: "GET", ...s, ...a }, i = {}, p = {};
1014
1014
  i.Accept = "application/json", v(o, p);
1015
1015
  let d = s && s.headers ? s.headers : {};
1016
1016
  return l.headers = { ...i, ...d, ...a.headers }, {
1017
- url: V(o),
1017
+ url: P(o),
1018
1018
  options: l
1019
1019
  };
1020
1020
  },
@@ -1030,14 +1030,14 @@ const jt = {
1030
1030
  */
1031
1031
  listTables: async (n, e, t, a, r = {}) => {
1032
1032
  m("listTables", "environmentName", n), m("listTables", "connectionName", e), m("listTables", "schemaName", t);
1033
- const o = "/environments/{environmentName}/connections/{connectionName}/schemas/{schemaName}/tables".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))).replace("{schemaName}", encodeURIComponent(String(t))), s = new URL(o, P);
1033
+ const o = "/environments/{environmentName}/connections/{connectionName}/schemas/{schemaName}/tables".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))).replace("{schemaName}", encodeURIComponent(String(t))), s = new URL(o, S);
1034
1034
  let l;
1035
1035
  c && (l = c.baseOptions);
1036
1036
  const i = { method: "GET", ...l, ...r }, p = {}, d = {};
1037
1037
  a && (d.tableNames = a), p.Accept = "application/json", v(s, d);
1038
1038
  let h = l && l.headers ? l.headers : {};
1039
1039
  return i.headers = { ...p, ...h, ...r.headers }, {
1040
- url: V(s),
1040
+ url: P(s),
1041
1041
  options: i
1042
1042
  };
1043
1043
  },
@@ -1054,14 +1054,14 @@ const jt = {
1054
1054
  */
1055
1055
  listTablesInPackage: async (n, e, t, a, r, o = {}) => {
1056
1056
  m("listTablesInPackage", "environmentName", n), m("listTablesInPackage", "packageName", e), m("listTablesInPackage", "connectionName", t), m("listTablesInPackage", "schemaName", a);
1057
- const s = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/schemas/{schemaName}/tables".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{connectionName}", encodeURIComponent(String(t))).replace("{schemaName}", encodeURIComponent(String(a))), l = new URL(s, P);
1057
+ const s = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/schemas/{schemaName}/tables".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{connectionName}", encodeURIComponent(String(t))).replace("{schemaName}", encodeURIComponent(String(a))), l = new URL(s, S);
1058
1058
  let i;
1059
1059
  c && (i = c.baseOptions);
1060
1060
  const p = { method: "GET", ...i, ...o }, d = {}, h = {};
1061
1061
  r && (h.tableNames = r), d.Accept = "application/json", v(l, h);
1062
1062
  let O = i && i.headers ? i.headers : {};
1063
1063
  return p.headers = { ...d, ...O, ...o.headers }, {
1064
- url: V(l),
1064
+ url: P(l),
1065
1065
  options: p
1066
1066
  };
1067
1067
  },
@@ -1076,14 +1076,14 @@ const jt = {
1076
1076
  */
1077
1077
  postQuerydata: async (n, e, t, a = {}) => {
1078
1078
  m("postQuerydata", "environmentName", n), m("postQuerydata", "connectionName", e), m("postQuerydata", "postQuerydataRequest", t);
1079
- const r = "/environments/{environmentName}/connections/{connectionName}/sqlQuery".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(r, P);
1079
+ const r = "/environments/{environmentName}/connections/{connectionName}/sqlQuery".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(r, S);
1080
1080
  let s;
1081
1081
  c && (s = c.baseOptions);
1082
1082
  const l = { method: "POST", ...s, ...a }, i = {}, p = {};
1083
1083
  i["Content-Type"] = "application/json", i.Accept = "application/json", v(o, p);
1084
1084
  let d = s && s.headers ? s.headers : {};
1085
1085
  return l.headers = { ...i, ...d, ...a.headers }, l.data = A(t, l, c), {
1086
- url: V(o),
1086
+ url: P(o),
1087
1087
  options: l
1088
1088
  };
1089
1089
  },
@@ -1099,14 +1099,14 @@ const jt = {
1099
1099
  */
1100
1100
  postQuerydataInPackage: async (n, e, t, a, r = {}) => {
1101
1101
  m("postQuerydataInPackage", "environmentName", n), m("postQuerydataInPackage", "packageName", e), m("postQuerydataInPackage", "connectionName", t), m("postQuerydataInPackage", "postQuerydataRequest", a);
1102
- const o = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/sqlQuery".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{connectionName}", encodeURIComponent(String(t))), s = new URL(o, P);
1102
+ const o = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/sqlQuery".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{connectionName}", encodeURIComponent(String(t))), s = new URL(o, S);
1103
1103
  let l;
1104
1104
  c && (l = c.baseOptions);
1105
1105
  const i = { method: "POST", ...l, ...r }, p = {}, d = {};
1106
1106
  p["Content-Type"] = "application/json", p.Accept = "application/json", v(s, d);
1107
1107
  let h = l && l.headers ? l.headers : {};
1108
1108
  return i.headers = { ...p, ...h, ...r.headers }, i.data = A(a, i, c), {
1109
- url: V(s),
1109
+ url: P(s),
1110
1110
  options: i
1111
1111
  };
1112
1112
  },
@@ -1121,14 +1121,14 @@ const jt = {
1121
1121
  */
1122
1122
  postSqlsource: async (n, e, t, a = {}) => {
1123
1123
  m("postSqlsource", "environmentName", n), m("postSqlsource", "connectionName", e), m("postSqlsource", "postSqlsourceRequest", t);
1124
- const r = "/environments/{environmentName}/connections/{connectionName}/sqlSource".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(r, P);
1124
+ const r = "/environments/{environmentName}/connections/{connectionName}/sqlSource".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(r, S);
1125
1125
  let s;
1126
1126
  c && (s = c.baseOptions);
1127
1127
  const l = { method: "POST", ...s, ...a }, i = {}, p = {};
1128
1128
  i["Content-Type"] = "application/json", i.Accept = "application/json", v(o, p);
1129
1129
  let d = s && s.headers ? s.headers : {};
1130
1130
  return l.headers = { ...i, ...d, ...a.headers }, l.data = A(t, l, c), {
1131
- url: V(o),
1131
+ url: P(o),
1132
1132
  options: l
1133
1133
  };
1134
1134
  },
@@ -1144,14 +1144,14 @@ const jt = {
1144
1144
  */
1145
1145
  postSqlsourceInPackage: async (n, e, t, a, r = {}) => {
1146
1146
  m("postSqlsourceInPackage", "environmentName", n), m("postSqlsourceInPackage", "packageName", e), m("postSqlsourceInPackage", "connectionName", t), m("postSqlsourceInPackage", "postSqlsourceRequest", a);
1147
- const o = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/sqlSource".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{connectionName}", encodeURIComponent(String(t))), s = new URL(o, P);
1147
+ const o = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/sqlSource".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{connectionName}", encodeURIComponent(String(t))), s = new URL(o, S);
1148
1148
  let l;
1149
1149
  c && (l = c.baseOptions);
1150
1150
  const i = { method: "POST", ...l, ...r }, p = {}, d = {};
1151
1151
  p["Content-Type"] = "application/json", p.Accept = "application/json", v(s, d);
1152
1152
  let h = l && l.headers ? l.headers : {};
1153
1153
  return i.headers = { ...p, ...h, ...r.headers }, i.data = A(a, i, c), {
1154
- url: V(s),
1154
+ url: P(s),
1155
1155
  options: i
1156
1156
  };
1157
1157
  },
@@ -1166,14 +1166,14 @@ const jt = {
1166
1166
  */
1167
1167
  postTemporarytable: async (n, e, t, a = {}) => {
1168
1168
  m("postTemporarytable", "environmentName", n), m("postTemporarytable", "connectionName", e), m("postTemporarytable", "postSqlsourceRequest", t);
1169
- const r = "/environments/{environmentName}/connections/{connectionName}/sqlTemporaryTable".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(r, P);
1169
+ const r = "/environments/{environmentName}/connections/{connectionName}/sqlTemporaryTable".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(r, S);
1170
1170
  let s;
1171
1171
  c && (s = c.baseOptions);
1172
1172
  const l = { method: "POST", ...s, ...a }, i = {}, p = {};
1173
1173
  i["Content-Type"] = "application/json", i.Accept = "application/json", v(o, p);
1174
1174
  let d = s && s.headers ? s.headers : {};
1175
1175
  return l.headers = { ...i, ...d, ...a.headers }, l.data = A(t, l, c), {
1176
- url: V(o),
1176
+ url: P(o),
1177
1177
  options: l
1178
1178
  };
1179
1179
  },
@@ -1189,14 +1189,14 @@ const jt = {
1189
1189
  */
1190
1190
  postTemporarytableInPackage: async (n, e, t, a, r = {}) => {
1191
1191
  m("postTemporarytableInPackage", "environmentName", n), m("postTemporarytableInPackage", "packageName", e), m("postTemporarytableInPackage", "connectionName", t), m("postTemporarytableInPackage", "postSqlsourceRequest", a);
1192
- const o = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/sqlTemporaryTable".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{connectionName}", encodeURIComponent(String(t))), s = new URL(o, P);
1192
+ const o = "/environments/{environmentName}/packages/{packageName}/connections/{connectionName}/sqlTemporaryTable".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{connectionName}", encodeURIComponent(String(t))), s = new URL(o, S);
1193
1193
  let l;
1194
1194
  c && (l = c.baseOptions);
1195
1195
  const i = { method: "POST", ...l, ...r }, p = {}, d = {};
1196
1196
  p["Content-Type"] = "application/json", p.Accept = "application/json", v(s, d);
1197
1197
  let h = l && l.headers ? l.headers : {};
1198
1198
  return i.headers = { ...p, ...h, ...r.headers }, i.data = A(a, i, c), {
1199
- url: V(s),
1199
+ url: P(s),
1200
1200
  options: i
1201
1201
  };
1202
1202
  },
@@ -1211,20 +1211,20 @@ const jt = {
1211
1211
  */
1212
1212
  updateConnection: async (n, e, t, a = {}) => {
1213
1213
  m("updateConnection", "environmentName", n), m("updateConnection", "connectionName", e), m("updateConnection", "updateConnectionRequest", t);
1214
- const r = "/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(r, P);
1214
+ const r = "/environments/{environmentName}/connections/{connectionName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{connectionName}", encodeURIComponent(String(e))), o = new URL(r, S);
1215
1215
  let s;
1216
1216
  c && (s = c.baseOptions);
1217
1217
  const l = { method: "PATCH", ...s, ...a }, i = {}, p = {};
1218
1218
  i["Content-Type"] = "application/json", i.Accept = "application/json", v(o, p);
1219
1219
  let d = s && s.headers ? s.headers : {};
1220
1220
  return l.headers = { ...i, ...d, ...a.headers }, l.data = A(t, l, c), {
1221
- url: V(o),
1221
+ url: P(o),
1222
1222
  options: l
1223
1223
  };
1224
1224
  }
1225
1225
  };
1226
1226
  }, y = function(c) {
1227
- const n = qe(c);
1227
+ const n = Qe(c);
1228
1228
  return {
1229
1229
  /**
1230
1230
  * Creates a new database connection in the specified environment.
@@ -1237,7 +1237,7 @@ const jt = {
1237
1237
  */
1238
1238
  async createConnection(e, t, a, r) {
1239
1239
  const o = await n.createConnection(e, t, a, r), s = c?.serverIndex ?? 0, l = b["ConnectionsApi.createConnection"]?.[s]?.url;
1240
- return (i, p) => S(o, u, g, c)(i, l || p);
1240
+ return (i, p) => V(o, u, g, c)(i, l || p);
1241
1241
  },
1242
1242
  /**
1243
1243
  * Permanently deletes a database connection from the environment.
@@ -1249,7 +1249,7 @@ const jt = {
1249
1249
  */
1250
1250
  async deleteConnection(e, t, a) {
1251
1251
  const r = await n.deleteConnection(e, t, a), o = c?.serverIndex ?? 0, s = b["ConnectionsApi.deleteConnection"]?.[o]?.url;
1252
- return (l, i) => S(r, u, g, c)(l, s || i);
1252
+ return (l, i) => V(r, u, g, c)(l, s || i);
1253
1253
  },
1254
1254
  /**
1255
1255
  * Retrieves detailed information about a specific database connection within an environment. This includes connection configuration, credentials (if accessible), and metadata. Useful for inspecting connection settings and troubleshooting connectivity issues.
@@ -1261,7 +1261,7 @@ const jt = {
1261
1261
  */
1262
1262
  async getConnection(e, t, a) {
1263
1263
  const r = await n.getConnection(e, t, a), o = c?.serverIndex ?? 0, s = b["ConnectionsApi.getConnection"]?.[o]?.url;
1264
- return (l, i) => S(r, u, g, c)(l, s || i);
1264
+ return (l, i) => V(r, u, g, c)(l, s || i);
1265
1265
  },
1266
1266
  /**
1267
1267
  * Retrieves a table from the specified database schema. This endpoint is useful for discovering available data sources and exploring the database structure. The schema must exist in the connection for this operation to succeed. The tablePath is the full path to the table, including the schema name.
@@ -1275,7 +1275,7 @@ const jt = {
1275
1275
  */
1276
1276
  async getTable(e, t, a, r, o) {
1277
1277
  const s = await n.getTable(e, t, a, r, o), l = c?.serverIndex ?? 0, i = b["ConnectionsApi.getTable"]?.[l]?.url;
1278
- return (p, d) => S(s, u, g, c)(p, i || d);
1278
+ return (p, d) => V(s, u, g, c)(p, i || d);
1279
1279
  },
1280
1280
  /**
1281
1281
  * Retrieves a table from the specified database schema, resolved in the context of the named package.
@@ -1290,7 +1290,7 @@ const jt = {
1290
1290
  */
1291
1291
  async getTableInPackage(e, t, a, r, o, s) {
1292
1292
  const l = await n.getTableInPackage(e, t, a, r, o, s), i = c?.serverIndex ?? 0, p = b["ConnectionsApi.getTableInPackage"]?.[i]?.url;
1293
- return (d, h) => S(l, u, g, c)(d, p || h);
1293
+ return (d, h) => V(l, u, g, c)(d, p || h);
1294
1294
  },
1295
1295
  /**
1296
1296
  * Retrieves a list of all database connections configured for the specified environment. Each connection includes its configuration, type, and status information. This endpoint is useful for discovering available data sources within an environment.
@@ -1301,7 +1301,7 @@ const jt = {
1301
1301
  */
1302
1302
  async listConnections(e, t) {
1303
1303
  const a = await n.listConnections(e, t), r = c?.serverIndex ?? 0, o = b["ConnectionsApi.listConnections"]?.[r]?.url;
1304
- return (s, l) => S(a, u, g, c)(s, o || l);
1304
+ return (s, l) => V(a, u, g, c)(s, o || l);
1305
1305
  },
1306
1306
  /**
1307
1307
  * Retrieves a list of all schemas (databases) available in the specified connection. Each schema includes metadata such as name, description, and whether it\'s the default schema. This endpoint is useful for exploring the database structure and discovering available data sources.
@@ -1313,7 +1313,7 @@ const jt = {
1313
1313
  */
1314
1314
  async listSchemas(e, t, a) {
1315
1315
  const r = await n.listSchemas(e, t, a), o = c?.serverIndex ?? 0, s = b["ConnectionsApi.listSchemas"]?.[o]?.url;
1316
- return (l, i) => S(r, u, g, c)(l, s || i);
1316
+ return (l, i) => V(r, u, g, c)(l, s || i);
1317
1317
  },
1318
1318
  /**
1319
1319
  * Retrieves a list of all schemas (databases) available in the specified connection, resolved in the context of the named package. Required for `connectionName=\"duckdb\"`, which is per-package; works for any other connection name as well (resolution falls through to the environment).
@@ -1326,7 +1326,7 @@ const jt = {
1326
1326
  */
1327
1327
  async listSchemasInPackage(e, t, a, r) {
1328
1328
  const o = await n.listSchemasInPackage(e, t, a, r), s = c?.serverIndex ?? 0, l = b["ConnectionsApi.listSchemasInPackage"]?.[s]?.url;
1329
- return (i, p) => S(o, u, g, c)(i, l || p);
1329
+ return (i, p) => V(o, u, g, c)(i, l || p);
1330
1330
  },
1331
1331
  /**
1332
1332
  * Retrieves a list of all tables and views available in the specified database schema. This endpoint is useful for discovering available data sources and exploring the database structure. The schema must exist in the connection for this operation to succeed.
@@ -1340,7 +1340,7 @@ const jt = {
1340
1340
  */
1341
1341
  async listTables(e, t, a, r, o) {
1342
1342
  const s = await n.listTables(e, t, a, r, o), l = c?.serverIndex ?? 0, i = b["ConnectionsApi.listTables"]?.[l]?.url;
1343
- return (p, d) => S(s, u, g, c)(p, i || d);
1343
+ return (p, d) => V(s, u, g, c)(p, i || d);
1344
1344
  },
1345
1345
  /**
1346
1346
  * Retrieves a list of all tables and views available in the specified database schema, resolved in the context of the named package.
@@ -1355,7 +1355,7 @@ const jt = {
1355
1355
  */
1356
1356
  async listTablesInPackage(e, t, a, r, o, s) {
1357
1357
  const l = await n.listTablesInPackage(e, t, a, r, o, s), i = c?.serverIndex ?? 0, p = b["ConnectionsApi.listTablesInPackage"]?.[i]?.url;
1358
- return (d, h) => S(l, u, g, c)(d, p || h);
1358
+ return (d, h) => V(l, u, g, c)(d, p || h);
1359
1359
  },
1360
1360
  /**
1361
1361
  * Executes a SQL statement against the specified database connection and returns the results. The results include data, metadata, and execution information. Rows returned are capped at PUBLISHER_MAX_QUERY_ROWS (default 100,000). The cap is forwarded to the connector as a rowLimit on RunSQLOptions; queries that return more rows than the cap fail with HTTP 413 rather than serializing the response. Set PUBLISHER_MAX_QUERY_ROWS=0 to disable the cap. A caller-supplied rowLimit smaller than the cap is preserved; larger values are clamped down to cap+1.
@@ -1368,7 +1368,7 @@ const jt = {
1368
1368
  */
1369
1369
  async postQuerydata(e, t, a, r) {
1370
1370
  const o = await n.postQuerydata(e, t, a, r), s = c?.serverIndex ?? 0, l = b["ConnectionsApi.postQuerydata"]?.[s]?.url;
1371
- return (i, p) => S(o, u, g, c)(i, l || p);
1371
+ return (i, p) => V(o, u, g, c)(i, l || p);
1372
1372
  },
1373
1373
  /**
1374
1374
  * Executes a SQL statement against the specified database connection, resolved in the context of the named package, and returns the results. Subject to the same PUBLISHER_MAX_QUERY_ROWS row cap as the environment-level sqlQuery endpoint.
@@ -1382,7 +1382,7 @@ const jt = {
1382
1382
  */
1383
1383
  async postQuerydataInPackage(e, t, a, r, o) {
1384
1384
  const s = await n.postQuerydataInPackage(e, t, a, r, o), l = c?.serverIndex ?? 0, i = b["ConnectionsApi.postQuerydataInPackage"]?.[l]?.url;
1385
- return (p, d) => S(s, u, g, c)(p, i || d);
1385
+ return (p, d) => V(s, u, g, c)(p, i || d);
1386
1386
  },
1387
1387
  /**
1388
1388
  * Creates a Malloy source from a SQL statement using the specified database connection. The SQL statement is executed to generate a source definition that can be used in Malloy models.
@@ -1395,7 +1395,7 @@ const jt = {
1395
1395
  */
1396
1396
  async postSqlsource(e, t, a, r) {
1397
1397
  const o = await n.postSqlsource(e, t, a, r), s = c?.serverIndex ?? 0, l = b["ConnectionsApi.postSqlsource"]?.[s]?.url;
1398
- return (i, p) => S(o, u, g, c)(i, l || p);
1398
+ return (i, p) => V(o, u, g, c)(i, l || p);
1399
1399
  },
1400
1400
  /**
1401
1401
  * Creates a Malloy source from a SQL statement using the specified connection, resolved in the context of the named package.
@@ -1409,7 +1409,7 @@ const jt = {
1409
1409
  */
1410
1410
  async postSqlsourceInPackage(e, t, a, r, o) {
1411
1411
  const s = await n.postSqlsourceInPackage(e, t, a, r, o), l = c?.serverIndex ?? 0, i = b["ConnectionsApi.postSqlsourceInPackage"]?.[l]?.url;
1412
- return (p, d) => S(s, u, g, c)(p, i || d);
1412
+ return (p, d) => V(s, u, g, c)(p, i || d);
1413
1413
  },
1414
1414
  /**
1415
1415
  * Creates a temporary table from a SQL statement using the specified database connection. Temporary tables are useful for storing intermediate results during complex queries and data processing workflows.
@@ -1422,7 +1422,7 @@ const jt = {
1422
1422
  */
1423
1423
  async postTemporarytable(e, t, a, r) {
1424
1424
  const o = await n.postTemporarytable(e, t, a, r), s = c?.serverIndex ?? 0, l = b["ConnectionsApi.postTemporarytable"]?.[s]?.url;
1425
- return (i, p) => S(o, u, g, c)(i, l || p);
1425
+ return (i, p) => V(o, u, g, c)(i, l || p);
1426
1426
  },
1427
1427
  /**
1428
1428
  * Creates a temporary table from a SQL statement using the specified database connection, resolved in the context of the named package.
@@ -1436,7 +1436,7 @@ const jt = {
1436
1436
  */
1437
1437
  async postTemporarytableInPackage(e, t, a, r, o) {
1438
1438
  const s = await n.postTemporarytableInPackage(e, t, a, r, o), l = c?.serverIndex ?? 0, i = b["ConnectionsApi.postTemporarytableInPackage"]?.[l]?.url;
1439
- return (p, d) => S(s, u, g, c)(p, i || d);
1439
+ return (p, d) => V(s, u, g, c)(p, i || d);
1440
1440
  },
1441
1441
  /**
1442
1442
  * Updates the configuration of an existing database connection.
@@ -1449,10 +1449,10 @@ const jt = {
1449
1449
  */
1450
1450
  async updateConnection(e, t, a, r) {
1451
1451
  const o = await n.updateConnection(e, t, a, r), s = c?.serverIndex ?? 0, l = b["ConnectionsApi.updateConnection"]?.[s]?.url;
1452
- return (i, p) => S(o, u, g, c)(i, l || p);
1452
+ return (i, p) => V(o, u, g, c)(i, l || p);
1453
1453
  }
1454
1454
  };
1455
- }, Dt = function(c, n, e) {
1455
+ }, Qt = function(c, n, e) {
1456
1456
  const t = y(c);
1457
1457
  return {
1458
1458
  /**
@@ -1665,7 +1665,7 @@ const jt = {
1665
1665
  }
1666
1666
  };
1667
1667
  };
1668
- class Qe extends x {
1668
+ class Le extends C {
1669
1669
  /**
1670
1670
  * Creates a new database connection in the specified environment.
1671
1671
  * @summary Create a new database connection
@@ -1886,19 +1886,19 @@ const ze = function(c) {
1886
1886
  */
1887
1887
  testConnectionConfiguration: async (n, e = {}) => {
1888
1888
  m("testConnectionConfiguration", "connection", n);
1889
- const t = "/connections/test", a = new URL(t, P);
1889
+ const t = "/connections/test", a = new URL(t, S);
1890
1890
  let r;
1891
1891
  c && (r = c.baseOptions);
1892
1892
  const o = { method: "POST", ...r, ...e }, s = {}, l = {};
1893
1893
  s["Content-Type"] = "application/json", s.Accept = "application/json", v(a, l);
1894
1894
  let i = r && r.headers ? r.headers : {};
1895
1895
  return o.headers = { ...s, ...i, ...e.headers }, o.data = A(n, o, c), {
1896
- url: V(a),
1896
+ url: P(a),
1897
1897
  options: o
1898
1898
  };
1899
1899
  }
1900
1900
  };
1901
- }, pe = function(c) {
1901
+ }, de = function(c) {
1902
1902
  const n = ze(c);
1903
1903
  return {
1904
1904
  /**
@@ -1910,11 +1910,11 @@ const ze = function(c) {
1910
1910
  */
1911
1911
  async testConnectionConfiguration(e, t) {
1912
1912
  const a = await n.testConnectionConfiguration(e, t), r = c?.serverIndex ?? 0, o = b["ConnectionsTestApi.testConnectionConfiguration"]?.[r]?.url;
1913
- return (s, l) => S(a, u, g, c)(s, o || l);
1913
+ return (s, l) => V(a, u, g, c)(s, o || l);
1914
1914
  }
1915
1915
  };
1916
- }, qt = function(c, n, e) {
1917
- const t = pe(c);
1916
+ }, Lt = function(c, n, e) {
1917
+ const t = de(c);
1918
1918
  return {
1919
1919
  /**
1920
1920
  * Validates a database connection configuration without adding it to any environment. This endpoint allows you to test connection parameters, credentials, and network connectivity before committing the connection to an environment. Useful for troubleshooting connection issues and validating configurations during setup.
@@ -1928,7 +1928,7 @@ const ze = function(c) {
1928
1928
  }
1929
1929
  };
1930
1930
  };
1931
- class Qt extends x {
1931
+ class zt extends C {
1932
1932
  /**
1933
1933
  * Validates a database connection configuration without adding it to any environment. This endpoint allows you to test connection parameters, credentials, and network connectivity before committing the connection to an environment. Useful for troubleshooting connection issues and validating configurations during setup.
1934
1934
  * @summary Test database connection configuration
@@ -1937,10 +1937,10 @@ class Qt extends x {
1937
1937
  * @throws {RequiredError}
1938
1938
  */
1939
1939
  testConnectionConfiguration(n, e) {
1940
- return pe(this.configuration).testConnectionConfiguration(n, e).then((t) => t(this.axios, this.basePath));
1940
+ return de(this.configuration).testConnectionConfiguration(n, e).then((t) => t(this.axios, this.basePath));
1941
1941
  }
1942
1942
  }
1943
- const Le = function(c) {
1943
+ const He = function(c) {
1944
1944
  return {
1945
1945
  /**
1946
1946
  * **DEPRECATED**: use get-report, which addresses a report by its path. Retrieves everything a viewer needs to render one grid report: the artifact tag\'s declarations plus the control contract derived from the givens its query references. Running it needs no further endpoint — its query, each tile, and each control\'s suggest query all run through the model query endpoint with `givens`, using the manifest\'s `path` as the model. `dashboardName` is a basename, which is not an identity: it resolves only when exactly one grid report in the package has it. When several do, the answer is 409 naming every matching path; address the report by path with get-report instead. **Contract change since reports.** This route never answered 409 before: a dashboard lived directly under `dashboards/`, so its name was unique. A grid report may now live anywhere, two may share a basename, and a client of this route must handle 409. The match also covers grid reports outside `dashboards/`.
@@ -1955,14 +1955,14 @@ const Le = function(c) {
1955
1955
  */
1956
1956
  getDashboard: async (n, e, t, a, r = {}) => {
1957
1957
  m("getDashboard", "environmentName", n), m("getDashboard", "packageName", e), m("getDashboard", "dashboardName", t);
1958
- const o = "/environments/{environmentName}/packages/{packageName}/dashboards/{dashboardName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{dashboardName}", encodeURIComponent(String(t))), s = new URL(o, P);
1958
+ const o = "/environments/{environmentName}/packages/{packageName}/dashboards/{dashboardName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{dashboardName}", encodeURIComponent(String(t))), s = new URL(o, S);
1959
1959
  let l;
1960
1960
  c && (l = c.baseOptions);
1961
1961
  const i = { method: "GET", ...l, ...r }, p = {}, d = {};
1962
1962
  a !== void 0 && (d.versionId = a), p.Accept = "application/json", v(s, d);
1963
1963
  let h = l && l.headers ? l.headers : {};
1964
1964
  return i.headers = { ...p, ...h, ...r.headers }, {
1965
- url: V(s),
1965
+ url: P(s),
1966
1966
  options: i
1967
1967
  };
1968
1968
  },
@@ -1978,20 +1978,20 @@ const Le = function(c) {
1978
1978
  */
1979
1979
  listDashboards: async (n, e, t, a = {}) => {
1980
1980
  m("listDashboards", "environmentName", n), m("listDashboards", "packageName", e);
1981
- const r = "/environments/{environmentName}/packages/{packageName}/dashboards".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(r, P);
1981
+ const r = "/environments/{environmentName}/packages/{packageName}/dashboards".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(r, S);
1982
1982
  let s;
1983
1983
  c && (s = c.baseOptions);
1984
1984
  const l = { method: "GET", ...s, ...a }, i = {}, p = {};
1985
1985
  t !== void 0 && (p.versionId = t), i.Accept = "application/json", v(o, p);
1986
1986
  let d = s && s.headers ? s.headers : {};
1987
1987
  return l.headers = { ...i, ...d, ...a.headers }, {
1988
- url: V(o),
1988
+ url: P(o),
1989
1989
  options: l
1990
1990
  };
1991
1991
  }
1992
1992
  };
1993
- }, K = function(c) {
1994
- const n = Le(c);
1993
+ }, Y = function(c) {
1994
+ const n = He(c);
1995
1995
  return {
1996
1996
  /**
1997
1997
  * **DEPRECATED**: use get-report, which addresses a report by its path. Retrieves everything a viewer needs to render one grid report: the artifact tag\'s declarations plus the control contract derived from the givens its query references. Running it needs no further endpoint — its query, each tile, and each control\'s suggest query all run through the model query endpoint with `givens`, using the manifest\'s `path` as the model. `dashboardName` is a basename, which is not an identity: it resolves only when exactly one grid report in the package has it. When several do, the answer is 409 naming every matching path; address the report by path with get-report instead. **Contract change since reports.** This route never answered 409 before: a dashboard lived directly under `dashboards/`, so its name was unique. A grid report may now live anywhere, two may share a basename, and a client of this route must handle 409. The match also covers grid reports outside `dashboards/`.
@@ -2006,7 +2006,7 @@ const Le = function(c) {
2006
2006
  */
2007
2007
  async getDashboard(e, t, a, r, o) {
2008
2008
  const s = await n.getDashboard(e, t, a, r, o), l = c?.serverIndex ?? 0, i = b["DashboardsApi.getDashboard"]?.[l]?.url;
2009
- return (p, d) => S(s, u, g, c)(p, i || d);
2009
+ return (p, d) => V(s, u, g, c)(p, i || d);
2010
2010
  },
2011
2011
  /**
2012
2012
  * **DEPRECATED**: use list-reports, which lists every report of either layout by path. This route lists the package\'s grid reports (see list-reports for what makes a file a report and which layout it has), wherever they live in the package. Two may share a `name`; their `path` tells them apart. A file with no artifact tag is an ordinary model and is not listed, whether or not it compiles. **Contract change since reports.** This route used to list only `.malloy` files directly under `dashboards/`, so every `name` was unique and every `path` was `dashboards/<name>.malloy`. It now lists grid reports from anywhere in the package (`sales/q3.malloy`, `notebooks/x.malloy`, `a/b/c.malloy`), so `path` may have any depth and `name` may repeat. Key on `path`. A tagged dashboard that failed to compile is listed carrying its `error` where that state can arise at all, so a broken dashboard is visibly broken rather than silently absent. In practice it rarely does: a package whose model fails to compile is not loaded, and a reload that would break one is refused and leaves the previously loaded package serving, so `error` is only reachable on the paths that keep per-model placeholders. Treat it as present-but-uncommon rather than the normal way a broken dashboard surfaces. Every tagged dashboard is listed, whatever the package\'s surface. To hide one, remove its `# artifact` tag. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a dashboard\'s tiles, its single query and its filter `suggest` queries may read only sources the surface exports. A source the dashboard declares on top of a surface source may be read; one over a hidden source may not. The dashboard file\'s own `export {}` and named queries add nothing to the surface. A tile over a hidden source answers 404 when it runs, and the package\'s `warnings` report each such tile, single query and suggest, with severity `error`, as of the last load, naming the source and the fix. Under `\"all\"` nothing is refused, so the situation does not arise.
@@ -2020,11 +2020,11 @@ const Le = function(c) {
2020
2020
  */
2021
2021
  async listDashboards(e, t, a, r) {
2022
2022
  const o = await n.listDashboards(e, t, a, r), s = c?.serverIndex ?? 0, l = b["DashboardsApi.listDashboards"]?.[s]?.url;
2023
- return (i, p) => S(o, u, g, c)(i, l || p);
2023
+ return (i, p) => V(o, u, g, c)(i, l || p);
2024
2024
  }
2025
2025
  };
2026
- }, zt = function(c, n, e) {
2027
- const t = K(c);
2026
+ }, Ht = function(c, n, e) {
2027
+ const t = Y(c);
2028
2028
  return {
2029
2029
  /**
2030
2030
  * **DEPRECATED**: use get-report, which addresses a report by its path. Retrieves everything a viewer needs to render one grid report: the artifact tag\'s declarations plus the control contract derived from the givens its query references. Running it needs no further endpoint — its query, each tile, and each control\'s suggest query all run through the model query endpoint with `givens`, using the manifest\'s `path` as the model. `dashboardName` is a basename, which is not an identity: it resolves only when exactly one grid report in the package has it. When several do, the answer is 409 naming every matching path; address the report by path with get-report instead. **Contract change since reports.** This route never answered 409 before: a dashboard lived directly under `dashboards/`, so its name was unique. A grid report may now live anywhere, two may share a basename, and a client of this route must handle 409. The match also covers grid reports outside `dashboards/`.
@@ -2055,7 +2055,7 @@ const Le = function(c) {
2055
2055
  }
2056
2056
  };
2057
2057
  };
2058
- class He extends x {
2058
+ class _e extends C {
2059
2059
  /**
2060
2060
  * **DEPRECATED**: use get-report, which addresses a report by its path. Retrieves everything a viewer needs to render one grid report: the artifact tag\'s declarations plus the control contract derived from the givens its query references. Running it needs no further endpoint — its query, each tile, and each control\'s suggest query all run through the model query endpoint with `givens`, using the manifest\'s `path` as the model. `dashboardName` is a basename, which is not an identity: it resolves only when exactly one grid report in the package has it. When several do, the answer is 409 naming every matching path; address the report by path with get-report instead. **Contract change since reports.** This route never answered 409 before: a dashboard lived directly under `dashboards/`, so its name was unique. A grid report may now live anywhere, two may share a basename, and a client of this route must handle 409. The match also covers grid reports outside `dashboards/`.
2061
2061
  * @summary Get a dashboard manifest (deprecated; use get-report)
@@ -2068,7 +2068,7 @@ class He extends x {
2068
2068
  * @throws {RequiredError}
2069
2069
  */
2070
2070
  getDashboard(n, e, t, a, r) {
2071
- return K(this.configuration).getDashboard(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
2071
+ return Y(this.configuration).getDashboard(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
2072
2072
  }
2073
2073
  /**
2074
2074
  * **DEPRECATED**: use list-reports, which lists every report of either layout by path. This route lists the package\'s grid reports (see list-reports for what makes a file a report and which layout it has), wherever they live in the package. Two may share a `name`; their `path` tells them apart. A file with no artifact tag is an ordinary model and is not listed, whether or not it compiles. **Contract change since reports.** This route used to list only `.malloy` files directly under `dashboards/`, so every `name` was unique and every `path` was `dashboards/<name>.malloy`. It now lists grid reports from anywhere in the package (`sales/q3.malloy`, `notebooks/x.malloy`, `a/b/c.malloy`), so `path` may have any depth and `name` may repeat. Key on `path`. A tagged dashboard that failed to compile is listed carrying its `error` where that state can arise at all, so a broken dashboard is visibly broken rather than silently absent. In practice it rarely does: a package whose model fails to compile is not loaded, and a reload that would break one is refused and leaves the previously loaded package serving, so `error` is only reachable on the paths that keep per-model placeholders. Treat it as present-but-uncommon rather than the normal way a broken dashboard surfaces. Every tagged dashboard is listed, whatever the package\'s surface. To hide one, remove its `# artifact` tag. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a dashboard\'s tiles, its single query and its filter `suggest` queries may read only sources the surface exports. A source the dashboard declares on top of a surface source may be read; one over a hidden source may not. The dashboard file\'s own `export {}` and named queries add nothing to the surface. A tile over a hidden source answers 404 when it runs, and the package\'s `warnings` report each such tile, single query and suggest, with severity `error`, as of the last load, naming the source and the fix. Under `\"all\"` nothing is refused, so the situation does not arise.
@@ -2081,10 +2081,10 @@ class He extends x {
2081
2081
  * @throws {RequiredError}
2082
2082
  */
2083
2083
  listDashboards(n, e, t, a) {
2084
- return K(this.configuration).listDashboards(n, e, t, a).then((r) => r(this.axios, this.basePath));
2084
+ return Y(this.configuration).listDashboards(n, e, t, a).then((r) => r(this.axios, this.basePath));
2085
2085
  }
2086
2086
  }
2087
- const _e = function(c) {
2087
+ const Ge = function(c) {
2088
2088
  return {
2089
2089
  /**
2090
2090
  * Retrieves a list of all in-package HTML data apps (static pages served from the package\'s public/ directory) within the specified package. Each entry includes the relative path, the package name, a canonical resource URL, and the title (extracted from the file\'s <title> tag, falling back to the path). Used by the Publisher SPA to surface a clickable \"Data Apps\" section on the package detail view, and by anyone who wants to discover a package\'s data apps programmatically without scraping the directory. Recursive depth is capped server-side to keep this cheap on large packages.
@@ -2096,20 +2096,20 @@ const _e = function(c) {
2096
2096
  */
2097
2097
  listDataApps: async (n, e, t = {}) => {
2098
2098
  m("listDataApps", "environmentName", n), m("listDataApps", "packageName", e);
2099
- const a = "/environments/{environmentName}/packages/{packageName}/data-apps".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), r = new URL(a, P);
2099
+ const a = "/environments/{environmentName}/packages/{packageName}/data-apps".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), r = new URL(a, S);
2100
2100
  let o;
2101
2101
  c && (o = c.baseOptions);
2102
2102
  const s = { method: "GET", ...o, ...t }, l = {}, i = {};
2103
2103
  l.Accept = "application/json", v(r, i);
2104
2104
  let p = o && o.headers ? o.headers : {};
2105
2105
  return s.headers = { ...l, ...p, ...t.headers }, {
2106
- url: V(r),
2106
+ url: P(r),
2107
2107
  options: s
2108
2108
  };
2109
2109
  }
2110
2110
  };
2111
- }, de = function(c) {
2112
- const n = _e(c);
2111
+ }, me = function(c) {
2112
+ const n = Ge(c);
2113
2113
  return {
2114
2114
  /**
2115
2115
  * Retrieves a list of all in-package HTML data apps (static pages served from the package\'s public/ directory) within the specified package. Each entry includes the relative path, the package name, a canonical resource URL, and the title (extracted from the file\'s <title> tag, falling back to the path). Used by the Publisher SPA to surface a clickable \"Data Apps\" section on the package detail view, and by anyone who wants to discover a package\'s data apps programmatically without scraping the directory. Recursive depth is capped server-side to keep this cheap on large packages.
@@ -2121,11 +2121,11 @@ const _e = function(c) {
2121
2121
  */
2122
2122
  async listDataApps(e, t, a) {
2123
2123
  const r = await n.listDataApps(e, t, a), o = c?.serverIndex ?? 0, s = b["DataAppsApi.listDataApps"]?.[o]?.url;
2124
- return (l, i) => S(r, u, g, c)(l, s || i);
2124
+ return (l, i) => V(r, u, g, c)(l, s || i);
2125
2125
  }
2126
2126
  };
2127
- }, Lt = function(c, n, e) {
2128
- const t = de(c);
2127
+ }, _t = function(c, n, e) {
2128
+ const t = me(c);
2129
2129
  return {
2130
2130
  /**
2131
2131
  * Retrieves a list of all in-package HTML data apps (static pages served from the package\'s public/ directory) within the specified package. Each entry includes the relative path, the package name, a canonical resource URL, and the title (extracted from the file\'s <title> tag, falling back to the path). Used by the Publisher SPA to surface a clickable \"Data Apps\" section on the package detail view, and by anyone who wants to discover a package\'s data apps programmatically without scraping the directory. Recursive depth is capped server-side to keep this cheap on large packages.
@@ -2140,7 +2140,7 @@ const _e = function(c) {
2140
2140
  }
2141
2141
  };
2142
2142
  };
2143
- class Ge extends x {
2143
+ class We extends C {
2144
2144
  /**
2145
2145
  * Retrieves a list of all in-package HTML data apps (static pages served from the package\'s public/ directory) within the specified package. Each entry includes the relative path, the package name, a canonical resource URL, and the title (extracted from the file\'s <title> tag, falling back to the path). Used by the Publisher SPA to surface a clickable \"Data Apps\" section on the package detail view, and by anyone who wants to discover a package\'s data apps programmatically without scraping the directory. Recursive depth is capped server-side to keep this cheap on large packages.
2146
2146
  * @summary List package data apps
@@ -2150,10 +2150,10 @@ class Ge extends x {
2150
2150
  * @throws {RequiredError}
2151
2151
  */
2152
2152
  listDataApps(n, e, t) {
2153
- return de(this.configuration).listDataApps(n, e, t).then((a) => a(this.axios, this.basePath));
2153
+ return me(this.configuration).listDataApps(n, e, t).then((a) => a(this.axios, this.basePath));
2154
2154
  }
2155
2155
  }
2156
- const We = function(c) {
2156
+ const $e = function(c) {
2157
2157
  return {
2158
2158
  /**
2159
2159
  * Retrieves a list of all embedded databases within the specified package. These are typically local data files read by DuckDB in place (.parquet, .csv, and .xlsx) that provide local data storage for the package. Each database entry includes metadata about the database structure and content.
@@ -2166,20 +2166,20 @@ const We = function(c) {
2166
2166
  */
2167
2167
  listDatabases: async (n, e, t, a = {}) => {
2168
2168
  m("listDatabases", "environmentName", n), m("listDatabases", "packageName", e);
2169
- const r = "/environments/{environmentName}/packages/{packageName}/databases".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(r, P);
2169
+ const r = "/environments/{environmentName}/packages/{packageName}/databases".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(r, S);
2170
2170
  let s;
2171
2171
  c && (s = c.baseOptions);
2172
2172
  const l = { method: "GET", ...s, ...a }, i = {}, p = {};
2173
2173
  t !== void 0 && (p.versionId = t), i.Accept = "application/json", v(o, p);
2174
2174
  let d = s && s.headers ? s.headers : {};
2175
2175
  return l.headers = { ...i, ...d, ...a.headers }, {
2176
- url: V(o),
2176
+ url: P(o),
2177
2177
  options: l
2178
2178
  };
2179
2179
  }
2180
2180
  };
2181
- }, me = function(c) {
2182
- const n = We(c);
2181
+ }, he = function(c) {
2182
+ const n = $e(c);
2183
2183
  return {
2184
2184
  /**
2185
2185
  * Retrieves a list of all embedded databases within the specified package. These are typically local data files read by DuckDB in place (.parquet, .csv, and .xlsx) that provide local data storage for the package. Each database entry includes metadata about the database structure and content.
@@ -2192,11 +2192,11 @@ const We = function(c) {
2192
2192
  */
2193
2193
  async listDatabases(e, t, a, r) {
2194
2194
  const o = await n.listDatabases(e, t, a, r), s = c?.serverIndex ?? 0, l = b["DatabasesApi.listDatabases"]?.[s]?.url;
2195
- return (i, p) => S(o, u, g, c)(i, l || p);
2195
+ return (i, p) => V(o, u, g, c)(i, l || p);
2196
2196
  }
2197
2197
  };
2198
- }, Ht = function(c, n, e) {
2199
- const t = me(c);
2198
+ }, Gt = function(c, n, e) {
2199
+ const t = he(c);
2200
2200
  return {
2201
2201
  /**
2202
2202
  * Retrieves a list of all embedded databases within the specified package. These are typically local data files read by DuckDB in place (.parquet, .csv, and .xlsx) that provide local data storage for the package. Each database entry includes metadata about the database structure and content.
@@ -2212,7 +2212,7 @@ const We = function(c) {
2212
2212
  }
2213
2213
  };
2214
2214
  };
2215
- class $e extends x {
2215
+ class Ke extends C {
2216
2216
  /**
2217
2217
  * Retrieves a list of all embedded databases within the specified package. These are typically local data files read by DuckDB in place (.parquet, .csv, and .xlsx) that provide local data storage for the package. Each database entry includes metadata about the database structure and content.
2218
2218
  * @summary List embedded databases
@@ -2223,10 +2223,10 @@ class $e extends x {
2223
2223
  * @throws {RequiredError}
2224
2224
  */
2225
2225
  listDatabases(n, e, t, a) {
2226
- return me(this.configuration).listDatabases(n, e, t, a).then((r) => r(this.axios, this.basePath));
2226
+ return he(this.configuration).listDatabases(n, e, t, a).then((r) => r(this.axios, this.basePath));
2227
2227
  }
2228
2228
  }
2229
- const Ke = function(c) {
2229
+ const Ye = function(c) {
2230
2230
  return {
2231
2231
  /**
2232
2232
  * Creates a new Malloy environment with the specified configuration. An environment serves as a container for packages, connections, and other resources. The environment will be initialized with the provided metadata and can immediately accept packages and connections.
@@ -2237,14 +2237,14 @@ const Ke = function(c) {
2237
2237
  */
2238
2238
  createEnvironment: async (n, e = {}) => {
2239
2239
  m("createEnvironment", "environment", n);
2240
- const t = "/environments", a = new URL(t, P);
2240
+ const t = "/environments", a = new URL(t, S);
2241
2241
  let r;
2242
2242
  c && (r = c.baseOptions);
2243
2243
  const o = { method: "POST", ...r, ...e }, s = {}, l = {};
2244
2244
  s["Content-Type"] = "application/json", s.Accept = "application/json", v(a, l);
2245
2245
  let i = r && r.headers ? r.headers : {};
2246
2246
  return o.headers = { ...s, ...i, ...e.headers }, o.data = A(n, o, c), {
2247
- url: V(a),
2247
+ url: P(a),
2248
2248
  options: o
2249
2249
  };
2250
2250
  },
@@ -2257,14 +2257,14 @@ const Ke = function(c) {
2257
2257
  */
2258
2258
  deleteEnvironment: async (n, e = {}) => {
2259
2259
  m("deleteEnvironment", "environmentName", n);
2260
- const t = "/environments/{environmentName}".replace("{environmentName}", encodeURIComponent(String(n))), a = new URL(t, P);
2260
+ const t = "/environments/{environmentName}".replace("{environmentName}", encodeURIComponent(String(n))), a = new URL(t, S);
2261
2261
  let r;
2262
2262
  c && (r = c.baseOptions);
2263
2263
  const o = { method: "DELETE", ...r, ...e }, s = {}, l = {};
2264
2264
  s.Accept = "application/json", v(a, l);
2265
2265
  let i = r && r.headers ? r.headers : {};
2266
2266
  return o.headers = { ...s, ...i, ...e.headers }, {
2267
- url: V(a),
2267
+ url: P(a),
2268
2268
  options: o
2269
2269
  };
2270
2270
  },
@@ -2278,14 +2278,14 @@ const Ke = function(c) {
2278
2278
  */
2279
2279
  getEnvironment: async (n, e, t = {}) => {
2280
2280
  m("getEnvironment", "environmentName", n);
2281
- const a = "/environments/{environmentName}".replace("{environmentName}", encodeURIComponent(String(n))), r = new URL(a, P);
2281
+ const a = "/environments/{environmentName}".replace("{environmentName}", encodeURIComponent(String(n))), r = new URL(a, S);
2282
2282
  let o;
2283
2283
  c && (o = c.baseOptions);
2284
2284
  const s = { method: "GET", ...o, ...t }, l = {}, i = {};
2285
2285
  e !== void 0 && (i.reload = e), l.Accept = "application/json", v(r, i);
2286
2286
  let p = o && o.headers ? o.headers : {};
2287
2287
  return s.headers = { ...l, ...p, ...t.headers }, {
2288
- url: V(r),
2288
+ url: P(r),
2289
2289
  options: s
2290
2290
  };
2291
2291
  },
@@ -2296,14 +2296,14 @@ const Ke = function(c) {
2296
2296
  * @throws {RequiredError}
2297
2297
  */
2298
2298
  listEnvironments: async (n = {}) => {
2299
- const e = "/environments", t = new URL(e, P);
2299
+ const e = "/environments", t = new URL(e, S);
2300
2300
  let a;
2301
2301
  c && (a = c.baseOptions);
2302
2302
  const r = { method: "GET", ...a, ...n }, o = {}, s = {};
2303
2303
  o.Accept = "application/json", v(t, s);
2304
2304
  let l = a && a.headers ? a.headers : {};
2305
2305
  return r.headers = { ...o, ...l, ...n.headers }, {
2306
- url: V(t),
2306
+ url: P(t),
2307
2307
  options: r
2308
2308
  };
2309
2309
  },
@@ -2317,20 +2317,20 @@ const Ke = function(c) {
2317
2317
  */
2318
2318
  updateEnvironment: async (n, e, t = {}) => {
2319
2319
  m("updateEnvironment", "environmentName", n), m("updateEnvironment", "environment", e);
2320
- const a = "/environments/{environmentName}".replace("{environmentName}", encodeURIComponent(String(n))), r = new URL(a, P);
2320
+ const a = "/environments/{environmentName}".replace("{environmentName}", encodeURIComponent(String(n))), r = new URL(a, S);
2321
2321
  let o;
2322
2322
  c && (o = c.baseOptions);
2323
2323
  const s = { method: "PATCH", ...o, ...t }, l = {}, i = {};
2324
2324
  l["Content-Type"] = "application/json", l.Accept = "application/json", v(r, i);
2325
2325
  let p = o && o.headers ? o.headers : {};
2326
2326
  return s.headers = { ...l, ...p, ...t.headers }, s.data = A(e, s, c), {
2327
- url: V(r),
2327
+ url: P(r),
2328
2328
  options: s
2329
2329
  };
2330
2330
  }
2331
2331
  };
2332
- }, f = function(c) {
2333
- const n = Ke(c);
2332
+ }, w = function(c) {
2333
+ const n = Ye(c);
2334
2334
  return {
2335
2335
  /**
2336
2336
  * Creates a new Malloy environment with the specified configuration. An environment serves as a container for packages, connections, and other resources. The environment will be initialized with the provided metadata and can immediately accept packages and connections.
@@ -2341,7 +2341,7 @@ const Ke = function(c) {
2341
2341
  */
2342
2342
  async createEnvironment(e, t) {
2343
2343
  const a = await n.createEnvironment(e, t), r = c?.serverIndex ?? 0, o = b["EnvironmentsApi.createEnvironment"]?.[r]?.url;
2344
- return (s, l) => S(a, u, g, c)(s, o || l);
2344
+ return (s, l) => V(a, u, g, c)(s, o || l);
2345
2345
  },
2346
2346
  /**
2347
2347
  * Permanently deletes an environment and all its associated resources including packages, connections, and metadata. This operation cannot be undone, so use with caution. The environment must exist and be accessible for deletion.
@@ -2352,7 +2352,7 @@ const Ke = function(c) {
2352
2352
  */
2353
2353
  async deleteEnvironment(e, t) {
2354
2354
  const a = await n.deleteEnvironment(e, t), r = c?.serverIndex ?? 0, o = b["EnvironmentsApi.deleteEnvironment"]?.[r]?.url;
2355
- return (s, l) => S(a, u, g, c)(s, o || l);
2355
+ return (s, l) => V(a, u, g, c)(s, o || l);
2356
2356
  },
2357
2357
  /**
2358
2358
  * Retrieves detailed information about a specific environment, including its packages, connections, configuration, and metadata. The reload parameter can be used to refresh the environment state from disk before returning the information.
@@ -2364,7 +2364,7 @@ const Ke = function(c) {
2364
2364
  */
2365
2365
  async getEnvironment(e, t, a) {
2366
2366
  const r = await n.getEnvironment(e, t, a), o = c?.serverIndex ?? 0, s = b["EnvironmentsApi.getEnvironment"]?.[o]?.url;
2367
- return (l, i) => S(r, u, g, c)(l, s || i);
2367
+ return (l, i) => V(r, u, g, c)(l, s || i);
2368
2368
  },
2369
2369
  /**
2370
2370
  * Retrieves a list of all environments currently hosted on this Malloy Publisher server. Each environment contains metadata about its packages, connections, and configuration. This endpoint is typically used to discover available environments and their basic information. This endpoint does not reload. A `reload` query parameter is rejected with 400 rather than ignored, because answering 200 here reads as a reload that worked. Reload is per-environment: use `GET /environments/{environmentName}?reload=true`.
@@ -2374,7 +2374,7 @@ const Ke = function(c) {
2374
2374
  */
2375
2375
  async listEnvironments(e) {
2376
2376
  const t = await n.listEnvironments(e), a = c?.serverIndex ?? 0, r = b["EnvironmentsApi.listEnvironments"]?.[a]?.url;
2377
- return (o, s) => S(t, u, g, c)(o, r || s);
2377
+ return (o, s) => V(t, u, g, c)(o, r || s);
2378
2378
  },
2379
2379
  /**
2380
2380
  * Updates the configuration and metadata of an existing environment. This allows you to modify environment settings, update the README, change the location, or update other environment-level properties. The environment must exist and be accessible.
@@ -2386,11 +2386,11 @@ const Ke = function(c) {
2386
2386
  */
2387
2387
  async updateEnvironment(e, t, a) {
2388
2388
  const r = await n.updateEnvironment(e, t, a), o = c?.serverIndex ?? 0, s = b["EnvironmentsApi.updateEnvironment"]?.[o]?.url;
2389
- return (l, i) => S(r, u, g, c)(l, s || i);
2389
+ return (l, i) => V(r, u, g, c)(l, s || i);
2390
2390
  }
2391
2391
  };
2392
- }, _t = function(c, n, e) {
2393
- const t = f(c);
2392
+ }, Wt = function(c, n, e) {
2393
+ const t = w(c);
2394
2394
  return {
2395
2395
  /**
2396
2396
  * Creates a new Malloy environment with the specified configuration. An environment serves as a container for packages, connections, and other resources. The environment will be initialized with the provided metadata and can immediately accept packages and connections.
@@ -2445,7 +2445,7 @@ const Ke = function(c) {
2445
2445
  }
2446
2446
  };
2447
2447
  };
2448
- class Ye extends x {
2448
+ class Je extends C {
2449
2449
  /**
2450
2450
  * Creates a new Malloy environment with the specified configuration. An environment serves as a container for packages, connections, and other resources. The environment will be initialized with the provided metadata and can immediately accept packages and connections.
2451
2451
  * @summary Create a new environment
@@ -2454,7 +2454,7 @@ class Ye extends x {
2454
2454
  * @throws {RequiredError}
2455
2455
  */
2456
2456
  createEnvironment(n, e) {
2457
- return f(this.configuration).createEnvironment(n, e).then((t) => t(this.axios, this.basePath));
2457
+ return w(this.configuration).createEnvironment(n, e).then((t) => t(this.axios, this.basePath));
2458
2458
  }
2459
2459
  /**
2460
2460
  * Permanently deletes an environment and all its associated resources including packages, connections, and metadata. This operation cannot be undone, so use with caution. The environment must exist and be accessible for deletion.
@@ -2464,7 +2464,7 @@ class Ye extends x {
2464
2464
  * @throws {RequiredError}
2465
2465
  */
2466
2466
  deleteEnvironment(n, e) {
2467
- return f(this.configuration).deleteEnvironment(n, e).then((t) => t(this.axios, this.basePath));
2467
+ return w(this.configuration).deleteEnvironment(n, e).then((t) => t(this.axios, this.basePath));
2468
2468
  }
2469
2469
  /**
2470
2470
  * Retrieves detailed information about a specific environment, including its packages, connections, configuration, and metadata. The reload parameter can be used to refresh the environment state from disk before returning the information.
@@ -2475,7 +2475,7 @@ class Ye extends x {
2475
2475
  * @throws {RequiredError}
2476
2476
  */
2477
2477
  getEnvironment(n, e, t) {
2478
- return f(this.configuration).getEnvironment(n, e, t).then((a) => a(this.axios, this.basePath));
2478
+ return w(this.configuration).getEnvironment(n, e, t).then((a) => a(this.axios, this.basePath));
2479
2479
  }
2480
2480
  /**
2481
2481
  * Retrieves a list of all environments currently hosted on this Malloy Publisher server. Each environment contains metadata about its packages, connections, and configuration. This endpoint is typically used to discover available environments and their basic information. This endpoint does not reload. A `reload` query parameter is rejected with 400 rather than ignored, because answering 200 here reads as a reload that worked. Reload is per-environment: use `GET /environments/{environmentName}?reload=true`.
@@ -2484,7 +2484,7 @@ class Ye extends x {
2484
2484
  * @throws {RequiredError}
2485
2485
  */
2486
2486
  listEnvironments(n) {
2487
- return f(this.configuration).listEnvironments(n).then((e) => e(this.axios, this.basePath));
2487
+ return w(this.configuration).listEnvironments(n).then((e) => e(this.axios, this.basePath));
2488
2488
  }
2489
2489
  /**
2490
2490
  * Updates the configuration and metadata of an existing environment. This allows you to modify environment settings, update the README, change the location, or update other environment-level properties. The environment must exist and be accessible.
@@ -2495,10 +2495,10 @@ class Ye extends x {
2495
2495
  * @throws {RequiredError}
2496
2496
  */
2497
2497
  updateEnvironment(n, e, t) {
2498
- return f(this.configuration).updateEnvironment(n, e, t).then((a) => a(this.axios, this.basePath));
2498
+ return w(this.configuration).updateEnvironment(n, e, t).then((a) => a(this.axios, this.basePath));
2499
2499
  }
2500
2500
  }
2501
- const Je = function(c) {
2501
+ const Xe = function(c) {
2502
2502
  return {
2503
2503
  /**
2504
2504
  * Creates a materialization and starts building. Behavior depends on the request body (see CreateMaterializationRequest): * Orchestrated build — supply `buildInstructions`. The publisher builds directly into the caller-assigned names derived from the package\'s already-compiled build plan (read off `Package.buildPlan`). Returns the materialization already building. * Auto-run (standalone, default) — omit `buildInstructions`; the publisher self-assigns names and runs all phases in one pass.
@@ -2511,14 +2511,14 @@ const Je = function(c) {
2511
2511
  */
2512
2512
  createMaterialization: async (n, e, t, a = {}) => {
2513
2513
  m("createMaterialization", "environmentName", n), m("createMaterialization", "packageName", e);
2514
- const r = "/environments/{environmentName}/packages/{packageName}/materializations".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(r, P);
2514
+ const r = "/environments/{environmentName}/packages/{packageName}/materializations".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(r, S);
2515
2515
  let s;
2516
2516
  c && (s = c.baseOptions);
2517
2517
  const l = { method: "POST", ...s, ...a }, i = {}, p = {};
2518
2518
  i["Content-Type"] = "application/json", i.Accept = "application/json", v(o, p);
2519
2519
  let d = s && s.headers ? s.headers : {};
2520
2520
  return l.headers = { ...i, ...d, ...a.headers }, l.data = A(t, l, c), {
2521
- url: V(o),
2521
+ url: P(o),
2522
2522
  options: l
2523
2523
  };
2524
2524
  },
@@ -2534,14 +2534,14 @@ const Je = function(c) {
2534
2534
  */
2535
2535
  deleteMaterialization: async (n, e, t, a, r = {}) => {
2536
2536
  m("deleteMaterialization", "environmentName", n), m("deleteMaterialization", "packageName", e), m("deleteMaterialization", "materializationId", t);
2537
- const o = "/environments/{environmentName}/packages/{packageName}/materializations/{materializationId}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{materializationId}", encodeURIComponent(String(t))), s = new URL(o, P);
2537
+ const o = "/environments/{environmentName}/packages/{packageName}/materializations/{materializationId}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{materializationId}", encodeURIComponent(String(t))), s = new URL(o, S);
2538
2538
  let l;
2539
2539
  c && (l = c.baseOptions);
2540
2540
  const i = { method: "DELETE", ...l, ...r }, p = {}, d = {};
2541
2541
  a !== void 0 && (d.dropTables = a), p.Accept = "application/json", v(s, d);
2542
2542
  let h = l && l.headers ? l.headers : {};
2543
2543
  return i.headers = { ...p, ...h, ...r.headers }, {
2544
- url: V(s),
2544
+ url: P(s),
2545
2545
  options: i
2546
2546
  };
2547
2547
  },
@@ -2556,14 +2556,14 @@ const Je = function(c) {
2556
2556
  */
2557
2557
  getMaterialization: async (n, e, t, a = {}) => {
2558
2558
  m("getMaterialization", "environmentName", n), m("getMaterialization", "packageName", e), m("getMaterialization", "materializationId", t);
2559
- const r = "/environments/{environmentName}/packages/{packageName}/materializations/{materializationId}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{materializationId}", encodeURIComponent(String(t))), o = new URL(r, P);
2559
+ const r = "/environments/{environmentName}/packages/{packageName}/materializations/{materializationId}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{materializationId}", encodeURIComponent(String(t))), o = new URL(r, S);
2560
2560
  let s;
2561
2561
  c && (s = c.baseOptions);
2562
2562
  const l = { method: "GET", ...s, ...a }, i = {}, p = {};
2563
2563
  i.Accept = "application/json", v(o, p);
2564
2564
  let d = s && s.headers ? s.headers : {};
2565
2565
  return l.headers = { ...i, ...d, ...a.headers }, {
2566
- url: V(o),
2566
+ url: P(o),
2567
2567
  options: l
2568
2568
  };
2569
2569
  },
@@ -2579,14 +2579,14 @@ const Je = function(c) {
2579
2579
  */
2580
2580
  listMaterializations: async (n, e, t, a, r = {}) => {
2581
2581
  m("listMaterializations", "environmentName", n), m("listMaterializations", "packageName", e);
2582
- const o = "/environments/{environmentName}/packages/{packageName}/materializations".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), s = new URL(o, P);
2582
+ const o = "/environments/{environmentName}/packages/{packageName}/materializations".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), s = new URL(o, S);
2583
2583
  let l;
2584
2584
  c && (l = c.baseOptions);
2585
2585
  const i = { method: "GET", ...l, ...r }, p = {}, d = {};
2586
2586
  t !== void 0 && (d.limit = t), a !== void 0 && (d.offset = a), p.Accept = "application/json", v(s, d);
2587
2587
  let h = l && l.headers ? l.headers : {};
2588
2588
  return i.headers = { ...p, ...h, ...r.headers }, {
2589
- url: V(s),
2589
+ url: P(s),
2590
2590
  options: i
2591
2591
  };
2592
2592
  },
@@ -2602,20 +2602,20 @@ const Je = function(c) {
2602
2602
  */
2603
2603
  materializationAction: async (n, e, t, a, r = {}) => {
2604
2604
  m("materializationAction", "environmentName", n), m("materializationAction", "packageName", e), m("materializationAction", "materializationId", t), m("materializationAction", "action", a);
2605
- const o = "/environments/{environmentName}/packages/{packageName}/materializations/{materializationId}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{materializationId}", encodeURIComponent(String(t))), s = new URL(o, P);
2605
+ const o = "/environments/{environmentName}/packages/{packageName}/materializations/{materializationId}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{materializationId}", encodeURIComponent(String(t))), s = new URL(o, S);
2606
2606
  let l;
2607
2607
  c && (l = c.baseOptions);
2608
2608
  const i = { method: "POST", ...l, ...r }, p = {}, d = {};
2609
2609
  a !== void 0 && (d.action = a), p.Accept = "application/json", v(s, d);
2610
2610
  let h = l && l.headers ? l.headers : {};
2611
2611
  return i.headers = { ...p, ...h, ...r.headers }, {
2612
- url: V(s),
2612
+ url: P(s),
2613
2613
  options: i
2614
2614
  };
2615
2615
  }
2616
2616
  };
2617
- }, w = function(c) {
2618
- const n = Je(c);
2617
+ }, f = function(c) {
2618
+ const n = Xe(c);
2619
2619
  return {
2620
2620
  /**
2621
2621
  * Creates a materialization and starts building. Behavior depends on the request body (see CreateMaterializationRequest): * Orchestrated build — supply `buildInstructions`. The publisher builds directly into the caller-assigned names derived from the package\'s already-compiled build plan (read off `Package.buildPlan`). Returns the materialization already building. * Auto-run (standalone, default) — omit `buildInstructions`; the publisher self-assigns names and runs all phases in one pass.
@@ -2628,7 +2628,7 @@ const Je = function(c) {
2628
2628
  */
2629
2629
  async createMaterialization(e, t, a, r) {
2630
2630
  const o = await n.createMaterialization(e, t, a, r), s = c?.serverIndex ?? 0, l = b["MaterializationsApi.createMaterialization"]?.[s]?.url;
2631
- return (i, p) => S(o, u, g, c)(i, l || p);
2631
+ return (i, p) => V(o, u, g, c)(i, l || p);
2632
2632
  },
2633
2633
  /**
2634
2634
  * Deletes a terminal (MANIFEST_FILE_READY, FAILED, or CANCELLED) materialization record. By default this removes the publisher\'s record only; the caller owns table GC. Set dropTables=true to also drop the physical tables this run produced (from the materialization\'s manifest) as a best-effort cleanup.
@@ -2642,7 +2642,7 @@ const Je = function(c) {
2642
2642
  */
2643
2643
  async deleteMaterialization(e, t, a, r, o) {
2644
2644
  const s = await n.deleteMaterialization(e, t, a, r, o), l = c?.serverIndex ?? 0, i = b["MaterializationsApi.deleteMaterialization"]?.[l]?.url;
2645
- return (p, d) => S(s, u, g, c)(p, i || d);
2645
+ return (p, d) => V(s, u, g, c)(p, i || d);
2646
2646
  },
2647
2647
  /**
2648
2648
  *
@@ -2655,7 +2655,7 @@ const Je = function(c) {
2655
2655
  */
2656
2656
  async getMaterialization(e, t, a, r) {
2657
2657
  const o = await n.getMaterialization(e, t, a, r), s = c?.serverIndex ?? 0, l = b["MaterializationsApi.getMaterialization"]?.[s]?.url;
2658
- return (i, p) => S(o, u, g, c)(i, l || p);
2658
+ return (i, p) => V(o, u, g, c)(i, l || p);
2659
2659
  },
2660
2660
  /**
2661
2661
  * Returns the materialization history for the package, ordered by most recent first.
@@ -2669,7 +2669,7 @@ const Je = function(c) {
2669
2669
  */
2670
2670
  async listMaterializations(e, t, a, r, o) {
2671
2671
  const s = await n.listMaterializations(e, t, a, r, o), l = c?.serverIndex ?? 0, i = b["MaterializationsApi.listMaterializations"]?.[l]?.url;
2672
- return (p, d) => S(s, u, g, c)(p, i || d);
2672
+ return (p, d) => V(s, u, g, c)(p, i || d);
2673
2673
  },
2674
2674
  /**
2675
2675
  * Performs an action on a materialization. The action is specified via the `action` query parameter: * `stop` - Cancels a PENDING or building materialization. Returns 200.
@@ -2683,11 +2683,11 @@ const Je = function(c) {
2683
2683
  */
2684
2684
  async materializationAction(e, t, a, r, o) {
2685
2685
  const s = await n.materializationAction(e, t, a, r, o), l = c?.serverIndex ?? 0, i = b["MaterializationsApi.materializationAction"]?.[l]?.url;
2686
- return (p, d) => S(s, u, g, c)(p, i || d);
2686
+ return (p, d) => V(s, u, g, c)(p, i || d);
2687
2687
  }
2688
2688
  };
2689
- }, Gt = function(c, n, e) {
2690
- const t = w(c);
2689
+ }, $t = function(c, n, e) {
2690
+ const t = f(c);
2691
2691
  return {
2692
2692
  /**
2693
2693
  * Creates a materialization and starts building. Behavior depends on the request body (see CreateMaterializationRequest): * Orchestrated build — supply `buildInstructions`. The publisher builds directly into the caller-assigned names derived from the package\'s already-compiled build plan (read off `Package.buildPlan`). Returns the materialization already building. * Auto-run (standalone, default) — omit `buildInstructions`; the publisher self-assigns names and runs all phases in one pass.
@@ -2754,7 +2754,7 @@ const Je = function(c) {
2754
2754
  }
2755
2755
  };
2756
2756
  };
2757
- class Xe extends x {
2757
+ class Ze extends C {
2758
2758
  /**
2759
2759
  * Creates a materialization and starts building. Behavior depends on the request body (see CreateMaterializationRequest): * Orchestrated build — supply `buildInstructions`. The publisher builds directly into the caller-assigned names derived from the package\'s already-compiled build plan (read off `Package.buildPlan`). Returns the materialization already building. * Auto-run (standalone, default) — omit `buildInstructions`; the publisher self-assigns names and runs all phases in one pass.
2760
2760
  * @summary Create a materialization
@@ -2765,7 +2765,7 @@ class Xe extends x {
2765
2765
  * @throws {RequiredError}
2766
2766
  */
2767
2767
  createMaterialization(n, e, t, a) {
2768
- return w(this.configuration).createMaterialization(n, e, t, a).then((r) => r(this.axios, this.basePath));
2768
+ return f(this.configuration).createMaterialization(n, e, t, a).then((r) => r(this.axios, this.basePath));
2769
2769
  }
2770
2770
  /**
2771
2771
  * Deletes a terminal (MANIFEST_FILE_READY, FAILED, or CANCELLED) materialization record. By default this removes the publisher\'s record only; the caller owns table GC. Set dropTables=true to also drop the physical tables this run produced (from the materialization\'s manifest) as a best-effort cleanup.
@@ -2778,7 +2778,7 @@ class Xe extends x {
2778
2778
  * @throws {RequiredError}
2779
2779
  */
2780
2780
  deleteMaterialization(n, e, t, a, r) {
2781
- return w(this.configuration).deleteMaterialization(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
2781
+ return f(this.configuration).deleteMaterialization(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
2782
2782
  }
2783
2783
  /**
2784
2784
  *
@@ -2790,7 +2790,7 @@ class Xe extends x {
2790
2790
  * @throws {RequiredError}
2791
2791
  */
2792
2792
  getMaterialization(n, e, t, a) {
2793
- return w(this.configuration).getMaterialization(n, e, t, a).then((r) => r(this.axios, this.basePath));
2793
+ return f(this.configuration).getMaterialization(n, e, t, a).then((r) => r(this.axios, this.basePath));
2794
2794
  }
2795
2795
  /**
2796
2796
  * Returns the materialization history for the package, ordered by most recent first.
@@ -2803,7 +2803,7 @@ class Xe extends x {
2803
2803
  * @throws {RequiredError}
2804
2804
  */
2805
2805
  listMaterializations(n, e, t, a, r) {
2806
- return w(this.configuration).listMaterializations(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
2806
+ return f(this.configuration).listMaterializations(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
2807
2807
  }
2808
2808
  /**
2809
2809
  * Performs an action on a materialization. The action is specified via the `action` query parameter: * `stop` - Cancels a PENDING or building materialization. Returns 200.
@@ -2816,12 +2816,12 @@ class Xe extends x {
2816
2816
  * @throws {RequiredError}
2817
2817
  */
2818
2818
  materializationAction(n, e, t, a, r) {
2819
- return w(this.configuration).materializationAction(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
2819
+ return f(this.configuration).materializationAction(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
2820
2820
  }
2821
2821
  }
2822
- const Wt = {
2822
+ const Kt = {
2823
2823
  Stop: "stop"
2824
- }, Ze = function(c) {
2824
+ }, ea = function(c) {
2825
2825
  return {
2826
2826
  /**
2827
2827
  * Compiles Malloy source code in the context of a specific model file. The submitted source is appended to the full model content, giving it access to all sources, imports, and queries defined in the model. Relative imports resolve correctly against sibling model files. Returns compilation status and any problems (errors or warnings) found. When the submitted source (scope `append`) carries a model-level `## artifact` tag, it is read as a document and the response gains a `document`: the cells and manifest the same text would serve once saved, read from the submitted text alone so the model\'s own `run:` statements and `##` notes never mix in. The compile runs nothing, including a control\'s `suggest` query. A cell or tile whose source the caller may not read is not compiled at all and comes back `restricted` with no diagnostic; the rest of the document compiles. A tile expression that uses a construct `append` refuses (a data root of its own, such as `duckdb.table(...)`) is refused with 400, and a tile that does not parse is reported as a `tile-does-not-compile` problem. Submitted text that is a document (it carries the tag, at scope `append`) and writes a render tag turning a value into a URL (`# image`, `# link`), or HTML in a `# label`, is refused with 400 before anything compiles, for a field, view or query alike, because other viewers run it; plain `append` text without the tag, and a model file, keep the tags they define themselves. The same refusal covers an annotation that reads `@env.` (in a `##` note too), one the tag parser rejects or that exceeds 8,192 characters, text that frees a column (`except:`, `rename:`) and declares one of the same name in the same extend chain, and one with over 1,000 annotations or 64 KB of them. This removes the author-written paths only: the renderer\'s other value-to-HTML sinks are not covered by it. A cell that names a source that is both gated and hidden from the caller answers 404 for the whole request, as it does without a document. In a document, problem positions are lines of the submitted text, problems carry no `model` tag, and `includeSql` returns no `sql`. The document\'s `layout` follows the one rule every report follows (see list-reports): the tag\'s `layout=`, else its deprecated `kind=` (`dashboard` is grid, `notebook` is linear), else grid when the tag lists `tiles` or carries a `dashboard { … }` grid tag, else linear. Where a file lives never decides it.
@@ -2835,14 +2835,14 @@ const Wt = {
2835
2835
  */
2836
2836
  compileModelSource: async (n, e, t, a, r = {}) => {
2837
2837
  m("compileModelSource", "environmentName", n), m("compileModelSource", "packageName", e), m("compileModelSource", "path", t), m("compileModelSource", "compileRequest", a);
2838
- const o = "/environments/{environmentName}/packages/{packageName}/models/{path}/compile".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(t))), s = new URL(o, P);
2838
+ const o = "/environments/{environmentName}/packages/{packageName}/models/{path}/compile".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(t))), s = new URL(o, S);
2839
2839
  let l;
2840
2840
  c && (l = c.baseOptions);
2841
2841
  const i = { method: "POST", ...l, ...r }, p = {}, d = {};
2842
2842
  p["Content-Type"] = "application/json", p.Accept = "application/json", v(s, d);
2843
2843
  let h = l && l.headers ? l.headers : {};
2844
2844
  return i.headers = { ...p, ...h, ...r.headers }, i.data = A(a, i, c), {
2845
- url: V(s),
2845
+ url: P(s),
2846
2846
  options: i
2847
2847
  };
2848
2848
  },
@@ -2859,14 +2859,14 @@ const Wt = {
2859
2859
  */
2860
2860
  executeQueryModel: async (n, e, t, a, r, o = {}) => {
2861
2861
  m("executeQueryModel", "environmentName", n), m("executeQueryModel", "packageName", e), m("executeQueryModel", "path", t), m("executeQueryModel", "queryRequest", a);
2862
- const s = "/environments/{environmentName}/packages/{packageName}/models/{path}/query".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(t))), l = new URL(s, P);
2862
+ const s = "/environments/{environmentName}/packages/{packageName}/models/{path}/query".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(t))), l = new URL(s, S);
2863
2863
  let i;
2864
2864
  c && (i = c.baseOptions);
2865
2865
  const p = { method: "POST", ...i, ...o }, d = {}, h = {};
2866
2866
  r !== void 0 && (h.includeHiddenFilesAndSources = r), d["Content-Type"] = "application/json", d.Accept = "application/json", v(l, h);
2867
2867
  let O = i && i.headers ? i.headers : {};
2868
2868
  return p.headers = { ...d, ...O, ...o.headers }, p.data = A(a, p, c), {
2869
- url: V(l),
2869
+ url: P(l),
2870
2870
  options: p
2871
2871
  };
2872
2872
  },
@@ -2883,14 +2883,14 @@ const Wt = {
2883
2883
  */
2884
2884
  getModel: async (n, e, t, a, r, o = {}) => {
2885
2885
  m("getModel", "environmentName", n), m("getModel", "packageName", e), m("getModel", "path", t);
2886
- const s = "/environments/{environmentName}/packages/{packageName}/models/{path}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(t))), l = new URL(s, P);
2886
+ const s = "/environments/{environmentName}/packages/{packageName}/models/{path}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(t))), l = new URL(s, S);
2887
2887
  let i;
2888
2888
  c && (i = c.baseOptions);
2889
2889
  const p = { method: "GET", ...i, ...o }, d = {}, h = {};
2890
2890
  a !== void 0 && (h.versionId = a), r !== void 0 && (h.includeHiddenFilesAndSources = r), d.Accept = "application/json", v(l, h);
2891
2891
  let O = i && i.headers ? i.headers : {};
2892
2892
  return p.headers = { ...d, ...O, ...o.headers }, {
2893
- url: V(l),
2893
+ url: P(l),
2894
2894
  options: p
2895
2895
  };
2896
2896
  },
@@ -2906,14 +2906,14 @@ const Wt = {
2906
2906
  */
2907
2907
  listModels: async (n, e, t, a, r = {}) => {
2908
2908
  m("listModels", "environmentName", n), m("listModels", "packageName", e);
2909
- const o = "/environments/{environmentName}/packages/{packageName}/models".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), s = new URL(o, P);
2909
+ const o = "/environments/{environmentName}/packages/{packageName}/models".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), s = new URL(o, S);
2910
2910
  let l;
2911
2911
  c && (l = c.baseOptions);
2912
2912
  const i = { method: "GET", ...l, ...r }, p = {}, d = {};
2913
2913
  t !== void 0 && (d.versionId = t), a !== void 0 && (d.includeHiddenFilesAndSources = a), p.Accept = "application/json", v(s, d);
2914
2914
  let h = l && l.headers ? l.headers : {};
2915
2915
  return i.headers = { ...p, ...h, ...r.headers }, {
2916
- url: V(s),
2916
+ url: P(s),
2917
2917
  options: i
2918
2918
  };
2919
2919
  },
@@ -2930,20 +2930,20 @@ const Wt = {
2930
2930
  */
2931
2931
  updateModelSource: async (n, e, t, a, r, o = {}) => {
2932
2932
  m("updateModelSource", "environmentName", n), m("updateModelSource", "packageName", e), m("updateModelSource", "path", t), m("updateModelSource", "modelSourceWriteRequest", a);
2933
- const s = "/environments/{environmentName}/packages/{packageName}/models/{path}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(t))), l = new URL(s, P);
2933
+ const s = "/environments/{environmentName}/packages/{packageName}/models/{path}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(t))), l = new URL(s, S);
2934
2934
  let i;
2935
2935
  c && (i = c.baseOptions);
2936
2936
  const p = { method: "PUT", ...i, ...o }, d = {}, h = {};
2937
2937
  r !== void 0 && (h.versionId = r), d["Content-Type"] = "application/json", d.Accept = "application/json", v(l, h);
2938
2938
  let O = i && i.headers ? i.headers : {};
2939
2939
  return p.headers = { ...d, ...O, ...o.headers }, p.data = A(a, p, c), {
2940
- url: V(l),
2940
+ url: P(l),
2941
2941
  options: p
2942
2942
  };
2943
2943
  }
2944
2944
  };
2945
2945
  }, E = function(c) {
2946
- const n = Ze(c);
2946
+ const n = ea(c);
2947
2947
  return {
2948
2948
  /**
2949
2949
  * Compiles Malloy source code in the context of a specific model file. The submitted source is appended to the full model content, giving it access to all sources, imports, and queries defined in the model. Relative imports resolve correctly against sibling model files. Returns compilation status and any problems (errors or warnings) found. When the submitted source (scope `append`) carries a model-level `## artifact` tag, it is read as a document and the response gains a `document`: the cells and manifest the same text would serve once saved, read from the submitted text alone so the model\'s own `run:` statements and `##` notes never mix in. The compile runs nothing, including a control\'s `suggest` query. A cell or tile whose source the caller may not read is not compiled at all and comes back `restricted` with no diagnostic; the rest of the document compiles. A tile expression that uses a construct `append` refuses (a data root of its own, such as `duckdb.table(...)`) is refused with 400, and a tile that does not parse is reported as a `tile-does-not-compile` problem. Submitted text that is a document (it carries the tag, at scope `append`) and writes a render tag turning a value into a URL (`# image`, `# link`), or HTML in a `# label`, is refused with 400 before anything compiles, for a field, view or query alike, because other viewers run it; plain `append` text without the tag, and a model file, keep the tags they define themselves. The same refusal covers an annotation that reads `@env.` (in a `##` note too), one the tag parser rejects or that exceeds 8,192 characters, text that frees a column (`except:`, `rename:`) and declares one of the same name in the same extend chain, and one with over 1,000 annotations or 64 KB of them. This removes the author-written paths only: the renderer\'s other value-to-HTML sinks are not covered by it. A cell that names a source that is both gated and hidden from the caller answers 404 for the whole request, as it does without a document. In a document, problem positions are lines of the submitted text, problems carry no `model` tag, and `includeSql` returns no `sql`. The document\'s `layout` follows the one rule every report follows (see list-reports): the tag\'s `layout=`, else its deprecated `kind=` (`dashboard` is grid, `notebook` is linear), else grid when the tag lists `tiles` or carries a `dashboard { … }` grid tag, else linear. Where a file lives never decides it.
@@ -2957,7 +2957,7 @@ const Wt = {
2957
2957
  */
2958
2958
  async compileModelSource(e, t, a, r, o) {
2959
2959
  const s = await n.compileModelSource(e, t, a, r, o), l = c?.serverIndex ?? 0, i = b["ModelsApi.compileModelSource"]?.[l]?.url;
2960
- return (p, d) => S(s, u, g, c)(p, i || d);
2960
+ return (p, d) => V(s, u, g, c)(p, i || d);
2961
2961
  },
2962
2962
  /**
2963
2963
  * Executes a Malloy query against a model and returns the results. The query can be specified as a raw Malloy query string or by referencing a named query within the model. This endpoint supports both ad-hoc queries and predefined model queries, making it flexible for various use cases including data exploration, reporting, and application integration. Ad-hoc query text that does not compile is a 400 whose `problems` locate each error in the submitted text. On a package with a discovery surface this holds when every `run:` in the text targets a source on the surface, or one the text derives only from such sources; text reaching any other source is answered with the 404 a hidden or missing source gets. Text that fails only at the grammar and names no source to run (for example `run` with no colon) is also a 400, because a grammar error says nothing about the model, unless the model carries any `#(authorize)` or `#(access_filter)`, or the text joins a source off the surface.
@@ -2972,7 +2972,7 @@ const Wt = {
2972
2972
  */
2973
2973
  async executeQueryModel(e, t, a, r, o, s) {
2974
2974
  const l = await n.executeQueryModel(e, t, a, r, o, s), i = c?.serverIndex ?? 0, p = b["ModelsApi.executeQueryModel"]?.[i]?.url;
2975
- return (d, h) => S(l, u, g, c)(d, p || h);
2975
+ return (d, h) => V(l, u, g, c)(d, p || h);
2976
2976
  },
2977
2977
  /**
2978
2978
  * Retrieves a compiled Malloy model with its source information, queries, and metadata. The model is compiled using the specified version of the Malloy compiler. This endpoint provides access to the model\'s structure, sources, and named queries for use in applications. On a package with a surface (a root `index.malloy`, or a legacy `explores`), a file off that surface answers 404 with the same message a query to it gets, unless `includeHiddenFilesAndSources` is true. With it, the file is returned with its `sourceText`, whatever sources the text names. Reports (see list-reports), wherever they live in the package, are always returned. A package with no surface, or with `queryableSources: \"all\"`, returns every file. For a file it returns, `modelDef.contents` and `modelDef.exports`, `modelInfo`, `sources` and `sourceInfos` are limited to the names the file publishes, so the surface file does not carry the hidden sources it imports. A join to a hidden source keeps only its name and the names and types of its fields. `sourceText` is left out when the text names a source the file does not publish, unless `includeHiddenFilesAndSources` is true; the text of a report is always returned.
@@ -2987,7 +2987,7 @@ const Wt = {
2987
2987
  */
2988
2988
  async getModel(e, t, a, r, o, s) {
2989
2989
  const l = await n.getModel(e, t, a, r, o, s), i = c?.serverIndex ?? 0, p = b["ModelsApi.getModel"]?.[i]?.url;
2990
- return (d, h) => S(l, u, g, c)(d, p || h);
2990
+ return (d, h) => V(l, u, g, c)(d, p || h);
2991
2991
  },
2992
2992
  /**
2993
2993
  * Retrieves the Malloy models within the specified package. Each model entry includes the relative path, package name, whether the package hides the file, and any compilation errors. On a package with a surface (a root `index.malloy`, or a legacy `explores`), only the files on that surface are listed, unless `includeHiddenFilesAndSources` is true. With it, every model file is listed, and `isHidden` marks the ones the package hides. Reports (any `.malloy` outside `public/` carrying an artifact tag, other than the root `index.malloy`; see list-reports) are listed by list-reports. A grid report is not a model here on a package with a surface; a linear report is not a model here with or without one.
@@ -3001,7 +3001,7 @@ const Wt = {
3001
3001
  */
3002
3002
  async listModels(e, t, a, r, o) {
3003
3003
  const s = await n.listModels(e, t, a, r, o), l = c?.serverIndex ?? 0, i = b["ModelsApi.listModels"]?.[l]?.url;
3004
- return (p, d) => S(s, u, g, c)(p, i || d);
3004
+ return (p, d) => V(s, u, g, c)(p, i || d);
3005
3005
  },
3006
3006
  /**
3007
3007
  * Writes the Malloy text of a report into the package, and reloads the package in place so it is served from the new text. This is the report builder\'s save. A report is any `.malloy` file carrying an artifact tag (see list-reports), of either layout, wherever it lives in the package. What it accepts: - CREATE (no `expectedHash`): any `.malloy` path in the package that does not exist yet, outside `public/`, and never the root `index.malloy`. Missing directories are created, inside the package root only. The text must carry an artifact tag (`## artifact`, or the deprecated query-level `# artifact`): an `artifact` property anywhere on a tag line, outside a string. Text without one is refused with 400. - REPLACE (with `expectedHash`): only a file the package currently reads as an editable report: a tagged `.malloy` report of either layout, including a tagged grid report that has no tiles yet, and a file whose tag makes no report (a `kind=` tag, or the retired `run:` cell format), so it can be rewritten as tiles. A model, an untagged file, a `.malloynb`, the root `index.malloy` and anything in `public/` cannot be overwritten, wherever they live, and answer 400. Two reports may share a basename in different directories; a report is identified by its path, so a taken basename is not refused. The text is compiled first, as the file, and refused with its problems when it does not compile, or when its tag makes no report (for example a linear tag with no `tiles`, `report-cells-removed`); nothing is written. The write is atomic (a sibling temporary file renamed over the target). If the reload that follows fails to compile the package, the previous text is restored (or a new file removed) and the package reloaded again, so a save never leaves the package serving less than it did. `expectedHash` is the SHA-256 (hex) of the file\'s text as the caller opened it, as `GET …/models/{path}` returned it in `sourceText`. On a package with a surface, that GET withholds `sourceText` only when the text names a source the file does not publish, and returns it anyway with `includeHiddenFilesAndSources=true`. When the file on disk no longer hashes to it, the write is refused with 409 and nothing is merged: the caller re-opens and reapplies its change. Omit it to CREATE the file: a file that already exists is then refused with 409 too, so an unconditional overwrite is not something a caller can ask for by leaving a field out. A path over an existing file the package does not read as a report answers 400 instead, with or without a hash, because that check comes before the hash. The check, the write, the reload and the restore all happen under one hold of the package lock, so two saves racing on one file cannot both pass the check, and a rollback cannot revert the other writer\'s text instead of its own. A tag only inside a block comment passes the tag check but the compiled model carries none, so it is rolled back and answers 500. A tagged grid report with no tiles saves but is not served until it has one. A create answers 201 and an update 200; `created` in the body says the same thing. Refused with 403 when `publisher.config.json` has `frozenConfig: true`. Like every write on this server, it is unauthenticated and meant to sit behind an authenticating gateway; see docs/security-posture.md.
@@ -3016,10 +3016,10 @@ const Wt = {
3016
3016
  */
3017
3017
  async updateModelSource(e, t, a, r, o, s) {
3018
3018
  const l = await n.updateModelSource(e, t, a, r, o, s), i = c?.serverIndex ?? 0, p = b["ModelsApi.updateModelSource"]?.[i]?.url;
3019
- return (d, h) => S(l, u, g, c)(d, p || h);
3019
+ return (d, h) => V(l, u, g, c)(d, p || h);
3020
3020
  }
3021
3021
  };
3022
- }, $t = function(c, n, e) {
3022
+ }, Yt = function(c, n, e) {
3023
3023
  const t = E(c);
3024
3024
  return {
3025
3025
  /**
@@ -3092,7 +3092,7 @@ const Wt = {
3092
3092
  }
3093
3093
  };
3094
3094
  };
3095
- class ea extends x {
3095
+ class aa extends C {
3096
3096
  /**
3097
3097
  * Compiles Malloy source code in the context of a specific model file. The submitted source is appended to the full model content, giving it access to all sources, imports, and queries defined in the model. Relative imports resolve correctly against sibling model files. Returns compilation status and any problems (errors or warnings) found. When the submitted source (scope `append`) carries a model-level `## artifact` tag, it is read as a document and the response gains a `document`: the cells and manifest the same text would serve once saved, read from the submitted text alone so the model\'s own `run:` statements and `##` notes never mix in. The compile runs nothing, including a control\'s `suggest` query. A cell or tile whose source the caller may not read is not compiled at all and comes back `restricted` with no diagnostic; the rest of the document compiles. A tile expression that uses a construct `append` refuses (a data root of its own, such as `duckdb.table(...)`) is refused with 400, and a tile that does not parse is reported as a `tile-does-not-compile` problem. Submitted text that is a document (it carries the tag, at scope `append`) and writes a render tag turning a value into a URL (`# image`, `# link`), or HTML in a `# label`, is refused with 400 before anything compiles, for a field, view or query alike, because other viewers run it; plain `append` text without the tag, and a model file, keep the tags they define themselves. The same refusal covers an annotation that reads `@env.` (in a `##` note too), one the tag parser rejects or that exceeds 8,192 characters, text that frees a column (`except:`, `rename:`) and declares one of the same name in the same extend chain, and one with over 1,000 annotations or 64 KB of them. This removes the author-written paths only: the renderer\'s other value-to-HTML sinks are not covered by it. A cell that names a source that is both gated and hidden from the caller answers 404 for the whole request, as it does without a document. In a document, problem positions are lines of the submitted text, problems carry no `model` tag, and `includeSql` returns no `sql`. The document\'s `layout` follows the one rule every report follows (see list-reports): the tag\'s `layout=`, else its deprecated `kind=` (`dashboard` is grid, `notebook` is linear), else grid when the tag lists `tiles` or carries a `dashboard { … }` grid tag, else linear. Where a file lives never decides it.
3098
3098
  * @summary Compile Malloy source code
@@ -3162,7 +3162,7 @@ class ea extends x {
3162
3162
  return E(this.configuration).updateModelSource(n, e, t, a, r, o).then((s) => s(this.axios, this.basePath));
3163
3163
  }
3164
3164
  }
3165
- const aa = function(c) {
3165
+ const ta = function(c) {
3166
3166
  return {
3167
3167
  /**
3168
3168
  * **DEPRECATED**: removed with the other notebook routes. For a `.malloy` report, run a cell through the model query endpoint instead: the report\'s path as the model, the cell\'s `text` (from get-report) as `query`, and `givens` in the body, which applies the same surface, `#(authorize)` and row-level gates. A `.malloynb` has no other route. Executes a specific cell in a linear report by index. For code cells, this compiles and runs the Malloy code, returning query results and any new sources defined. For markdown cells, this simply returns the cell content. A linear `.malloy` report, wherever it lives, answers here as well as a `.malloynb`. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a code cell may read only sources the surface exports. A cell over a hidden source answers 404, and 404 rather than 403 even when the source is also `#(authorize)`-gated. A source an earlier cell declares on top of a published source still works. A cell\'s own source over a raw table (`duckdb.table(...)` or `.sql(...)`) has no published source under it, so it is refused. The response shows only the sources the notebook may read.
@@ -3181,14 +3181,14 @@ const aa = function(c) {
3181
3181
  */
3182
3182
  executeNotebookCell: async (n, e, t, a, r, o, s, l, i = {}) => {
3183
3183
  m("executeNotebookCell", "environmentName", n), m("executeNotebookCell", "packageName", e), m("executeNotebookCell", "path", t), m("executeNotebookCell", "cellIndex", a);
3184
- const p = "/environments/{environmentName}/packages/{packageName}/notebooks/{path}/cells/{cellIndex}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(t))).replace("{cellIndex}", encodeURIComponent(String(a))), d = new URL(p, P);
3184
+ const p = "/environments/{environmentName}/packages/{packageName}/notebooks/{path}/cells/{cellIndex}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(t))).replace("{cellIndex}", encodeURIComponent(String(a))), d = new URL(p, S);
3185
3185
  let h;
3186
3186
  c && (h = c.baseOptions);
3187
- const O = { method: "GET", ...h, ...i }, k = {}, C = {};
3188
- r !== void 0 && (C.versionId = r), o !== void 0 && (C.filter_params = o), s !== void 0 && (C.bypass_filters = s), l !== void 0 && (C.givens = l), k.Accept = "application/json", v(d, C);
3187
+ const O = { method: "GET", ...h, ...i }, k = {}, I = {};
3188
+ r !== void 0 && (I.versionId = r), o !== void 0 && (I.filter_params = o), s !== void 0 && (I.bypass_filters = s), l !== void 0 && (I.givens = l), k.Accept = "application/json", v(d, I);
3189
3189
  let R = h && h.headers ? h.headers : {};
3190
3190
  return O.headers = { ...k, ...R, ...i.headers }, {
3191
- url: V(d),
3191
+ url: P(d),
3192
3192
  options: O
3193
3193
  };
3194
3194
  },
@@ -3205,14 +3205,14 @@ const aa = function(c) {
3205
3205
  */
3206
3206
  getNotebook: async (n, e, t, a, r = {}) => {
3207
3207
  m("getNotebook", "environmentName", n), m("getNotebook", "packageName", e), m("getNotebook", "path", t);
3208
- const o = "/environments/{environmentName}/packages/{packageName}/notebooks/{path}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(t))), s = new URL(o, P);
3208
+ const o = "/environments/{environmentName}/packages/{packageName}/notebooks/{path}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(t))), s = new URL(o, S);
3209
3209
  let l;
3210
3210
  c && (l = c.baseOptions);
3211
3211
  const i = { method: "GET", ...l, ...r }, p = {}, d = {};
3212
3212
  a !== void 0 && (d.versionId = a), p.Accept = "application/json", v(s, d);
3213
3213
  let h = l && l.headers ? l.headers : {};
3214
3214
  return i.headers = { ...p, ...h, ...r.headers }, {
3215
- url: V(s),
3215
+ url: P(s),
3216
3216
  options: i
3217
3217
  };
3218
3218
  },
@@ -3228,20 +3228,20 @@ const aa = function(c) {
3228
3228
  */
3229
3229
  listNotebooks: async (n, e, t, a = {}) => {
3230
3230
  m("listNotebooks", "environmentName", n), m("listNotebooks", "packageName", e);
3231
- const r = "/environments/{environmentName}/packages/{packageName}/notebooks".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(r, P);
3231
+ const r = "/environments/{environmentName}/packages/{packageName}/notebooks".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(r, S);
3232
3232
  let s;
3233
3233
  c && (s = c.baseOptions);
3234
3234
  const l = { method: "GET", ...s, ...a }, i = {}, p = {};
3235
3235
  t !== void 0 && (p.versionId = t), i.Accept = "application/json", v(o, p);
3236
3236
  let d = s && s.headers ? s.headers : {};
3237
3237
  return l.headers = { ...i, ...d, ...a.headers }, {
3238
- url: V(o),
3238
+ url: P(o),
3239
3239
  options: l
3240
3240
  };
3241
3241
  }
3242
3242
  };
3243
- }, L = function(c) {
3244
- const n = aa(c);
3243
+ }, z = function(c) {
3244
+ const n = ta(c);
3245
3245
  return {
3246
3246
  /**
3247
3247
  * **DEPRECATED**: removed with the other notebook routes. For a `.malloy` report, run a cell through the model query endpoint instead: the report\'s path as the model, the cell\'s `text` (from get-report) as `query`, and `givens` in the body, which applies the same surface, `#(authorize)` and row-level gates. A `.malloynb` has no other route. Executes a specific cell in a linear report by index. For code cells, this compiles and runs the Malloy code, returning query results and any new sources defined. For markdown cells, this simply returns the cell content. A linear `.malloy` report, wherever it lives, answers here as well as a `.malloynb`. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a code cell may read only sources the surface exports. A cell over a hidden source answers 404, and 404 rather than 403 even when the source is also `#(authorize)`-gated. A source an earlier cell declares on top of a published source still works. A cell\'s own source over a raw table (`duckdb.table(...)` or `.sql(...)`) has no published source under it, so it is refused. The response shows only the sources the notebook may read.
@@ -3260,7 +3260,7 @@ const aa = function(c) {
3260
3260
  */
3261
3261
  async executeNotebookCell(e, t, a, r, o, s, l, i, p) {
3262
3262
  const d = await n.executeNotebookCell(e, t, a, r, o, s, l, i, p), h = c?.serverIndex ?? 0, O = b["NotebooksApi.executeNotebookCell"]?.[h]?.url;
3263
- return (k, C) => S(d, u, g, c)(k, O || C);
3263
+ return (k, I) => V(d, u, g, c)(k, O || I);
3264
3264
  },
3265
3265
  /**
3266
3266
  * **DEPRECATED**: use get-report. Retrieves a linear report with its raw cell contents (markdown and code). A `.malloy` report\'s cells run through the model query endpoint (each cell\'s `text` as the query); a `.malloynb`\'s through execute-notebook-cell. A linear `.malloy` report, wherever it lives, answers here as well as a `.malloynb`. On a package with a surface, the response shows only the sources the notebook may read.
@@ -3275,7 +3275,7 @@ const aa = function(c) {
3275
3275
  */
3276
3276
  async getNotebook(e, t, a, r, o) {
3277
3277
  const s = await n.getNotebook(e, t, a, r, o), l = c?.serverIndex ?? 0, i = b["NotebooksApi.getNotebook"]?.[l]?.url;
3278
- return (p, d) => S(s, u, g, c)(p, i || d);
3278
+ return (p, d) => V(s, u, g, c)(p, i || d);
3279
3279
  },
3280
3280
  /**
3281
3281
  * **DEPRECATED**: use list-reports. Lists the package\'s linear reports (see list-reports): every `.malloynb` file outside `public/`, and every tagged `.malloy` report whose layout is linear, wherever it lives. Each entry includes the relative path, package name, title, description, and any compilation or reading error. **Contract change since reports.** This route used to list `.malloy` notebooks only directly under `notebooks/`. It now lists linear reports from anywhere in the package, including `dashboards/` and nested directories, and no longer lists a kindless tiled file in `notebooks/`, which is now grid.
@@ -3289,11 +3289,11 @@ const aa = function(c) {
3289
3289
  */
3290
3290
  async listNotebooks(e, t, a, r) {
3291
3291
  const o = await n.listNotebooks(e, t, a, r), s = c?.serverIndex ?? 0, l = b["NotebooksApi.listNotebooks"]?.[s]?.url;
3292
- return (i, p) => S(o, u, g, c)(i, l || p);
3292
+ return (i, p) => V(o, u, g, c)(i, l || p);
3293
3293
  }
3294
3294
  };
3295
- }, Kt = function(c, n, e) {
3296
- const t = L(c);
3295
+ }, Jt = function(c, n, e) {
3296
+ const t = z(c);
3297
3297
  return {
3298
3298
  /**
3299
3299
  * **DEPRECATED**: removed with the other notebook routes. For a `.malloy` report, run a cell through the model query endpoint instead: the report\'s path as the model, the cell\'s `text` (from get-report) as `query`, and `givens` in the body, which applies the same surface, `#(authorize)` and row-level gates. A `.malloynb` has no other route. Executes a specific cell in a linear report by index. For code cells, this compiles and runs the Malloy code, returning query results and any new sources defined. For markdown cells, this simply returns the cell content. A linear `.malloy` report, wherever it lives, answers here as well as a `.malloynb`. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a code cell may read only sources the surface exports. A cell over a hidden source answers 404, and 404 rather than 403 even when the source is also `#(authorize)`-gated. A source an earlier cell declares on top of a published source still works. A cell\'s own source over a raw table (`duckdb.table(...)` or `.sql(...)`) has no published source under it, so it is refused. The response shows only the sources the notebook may read.
@@ -3342,7 +3342,7 @@ const aa = function(c) {
3342
3342
  }
3343
3343
  };
3344
3344
  };
3345
- class ta extends x {
3345
+ class na extends C {
3346
3346
  /**
3347
3347
  * **DEPRECATED**: removed with the other notebook routes. For a `.malloy` report, run a cell through the model query endpoint instead: the report\'s path as the model, the cell\'s `text` (from get-report) as `query`, and `givens` in the body, which applies the same surface, `#(authorize)` and row-level gates. A `.malloynb` has no other route. Executes a specific cell in a linear report by index. For code cells, this compiles and runs the Malloy code, returning query results and any new sources defined. For markdown cells, this simply returns the cell content. A linear `.malloy` report, wherever it lives, answers here as well as a `.malloynb`. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a code cell may read only sources the surface exports. A cell over a hidden source answers 404, and 404 rather than 403 even when the source is also `#(authorize)`-gated. A source an earlier cell declares on top of a published source still works. A cell\'s own source over a raw table (`duckdb.table(...)` or `.sql(...)`) has no published source under it, so it is refused. The response shows only the sources the notebook may read.
3348
3348
  * @summary Execute a specific notebook cell (deprecated)
@@ -3359,7 +3359,7 @@ class ta extends x {
3359
3359
  * @throws {RequiredError}
3360
3360
  */
3361
3361
  executeNotebookCell(n, e, t, a, r, o, s, l, i) {
3362
- return L(this.configuration).executeNotebookCell(n, e, t, a, r, o, s, l, i).then((p) => p(this.axios, this.basePath));
3362
+ return z(this.configuration).executeNotebookCell(n, e, t, a, r, o, s, l, i).then((p) => p(this.axios, this.basePath));
3363
3363
  }
3364
3364
  /**
3365
3365
  * **DEPRECATED**: use get-report. Retrieves a linear report with its raw cell contents (markdown and code). A `.malloy` report\'s cells run through the model query endpoint (each cell\'s `text` as the query); a `.malloynb`\'s through execute-notebook-cell. A linear `.malloy` report, wherever it lives, answers here as well as a `.malloynb`. On a package with a surface, the response shows only the sources the notebook may read.
@@ -3373,7 +3373,7 @@ class ta extends x {
3373
3373
  * @throws {RequiredError}
3374
3374
  */
3375
3375
  getNotebook(n, e, t, a, r) {
3376
- return L(this.configuration).getNotebook(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
3376
+ return z(this.configuration).getNotebook(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
3377
3377
  }
3378
3378
  /**
3379
3379
  * **DEPRECATED**: use list-reports. Lists the package\'s linear reports (see list-reports): every `.malloynb` file outside `public/`, and every tagged `.malloy` report whose layout is linear, wherever it lives. Each entry includes the relative path, package name, title, description, and any compilation or reading error. **Contract change since reports.** This route used to list `.malloy` notebooks only directly under `notebooks/`. It now lists linear reports from anywhere in the package, including `dashboards/` and nested directories, and no longer lists a kindless tiled file in `notebooks/`, which is now grid.
@@ -3386,13 +3386,13 @@ class ta extends x {
3386
3386
  * @throws {RequiredError}
3387
3387
  */
3388
3388
  listNotebooks(n, e, t, a) {
3389
- return L(this.configuration).listNotebooks(n, e, t, a).then((r) => r(this.axios, this.basePath));
3389
+ return z(this.configuration).listNotebooks(n, e, t, a).then((r) => r(this.axios, this.basePath));
3390
3390
  }
3391
3391
  }
3392
- const Yt = {
3392
+ const Xt = {
3393
3393
  True: "true",
3394
3394
  False: "false"
3395
- }, na = function(c) {
3395
+ }, ra = function(c) {
3396
3396
  return {
3397
3397
  /**
3398
3398
  * Creates a new Malloy package within the specified environment. A package serves as a container for models, notebooks, embedded databases, and other resources. The package will be initialized with the provided metadata and can immediately accept content.
@@ -3404,14 +3404,14 @@ const Yt = {
3404
3404
  */
3405
3405
  createPackage: async (n, e, t = {}) => {
3406
3406
  m("createPackage", "environmentName", n), m("createPackage", "_package", e);
3407
- const a = "/environments/{environmentName}/packages".replace("{environmentName}", encodeURIComponent(String(n))), r = new URL(a, P);
3407
+ const a = "/environments/{environmentName}/packages".replace("{environmentName}", encodeURIComponent(String(n))), r = new URL(a, S);
3408
3408
  let o;
3409
3409
  c && (o = c.baseOptions);
3410
3410
  const s = { method: "POST", ...o, ...t }, l = {}, i = {};
3411
3411
  l["Content-Type"] = "application/json", l.Accept = "application/json", v(r, i);
3412
3412
  let p = o && o.headers ? o.headers : {};
3413
3413
  return s.headers = { ...l, ...p, ...t.headers }, s.data = A(e, s, c), {
3414
- url: V(r),
3414
+ url: P(r),
3415
3415
  options: s
3416
3416
  };
3417
3417
  },
@@ -3425,14 +3425,14 @@ const Yt = {
3425
3425
  */
3426
3426
  deletePackage: async (n, e, t = {}) => {
3427
3427
  m("deletePackage", "environmentName", n), m("deletePackage", "packageName", e);
3428
- const a = "/environments/{environmentName}/packages/{packageName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), r = new URL(a, P);
3428
+ const a = "/environments/{environmentName}/packages/{packageName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), r = new URL(a, S);
3429
3429
  let o;
3430
3430
  c && (o = c.baseOptions);
3431
3431
  const s = { method: "DELETE", ...o, ...t }, l = {}, i = {};
3432
3432
  l.Accept = "application/json", v(r, i);
3433
3433
  let p = o && o.headers ? o.headers : {};
3434
3434
  return s.headers = { ...l, ...p, ...t.headers }, {
3435
- url: V(r),
3435
+ url: P(r),
3436
3436
  options: s
3437
3437
  };
3438
3438
  },
@@ -3448,14 +3448,14 @@ const Yt = {
3448
3448
  */
3449
3449
  getPackage: async (n, e, t, a, r = {}) => {
3450
3450
  m("getPackage", "environmentName", n), m("getPackage", "packageName", e);
3451
- const o = "/environments/{environmentName}/packages/{packageName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), s = new URL(o, P);
3451
+ const o = "/environments/{environmentName}/packages/{packageName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), s = new URL(o, S);
3452
3452
  let l;
3453
3453
  c && (l = c.baseOptions);
3454
3454
  const i = { method: "GET", ...l, ...r }, p = {}, d = {};
3455
3455
  t !== void 0 && (d.versionId = t), a !== void 0 && (d.reload = a), p.Accept = "application/json", v(s, d);
3456
3456
  let h = l && l.headers ? l.headers : {};
3457
3457
  return i.headers = { ...p, ...h, ...r.headers }, {
3458
- url: V(s),
3458
+ url: P(s),
3459
3459
  options: i
3460
3460
  };
3461
3461
  },
@@ -3468,14 +3468,14 @@ const Yt = {
3468
3468
  */
3469
3469
  listPackages: async (n, e = {}) => {
3470
3470
  m("listPackages", "environmentName", n);
3471
- const t = "/environments/{environmentName}/packages".replace("{environmentName}", encodeURIComponent(String(n))), a = new URL(t, P);
3471
+ const t = "/environments/{environmentName}/packages".replace("{environmentName}", encodeURIComponent(String(n))), a = new URL(t, S);
3472
3472
  let r;
3473
3473
  c && (r = c.baseOptions);
3474
3474
  const o = { method: "GET", ...r, ...e }, s = {}, l = {};
3475
3475
  s.Accept = "application/json", v(a, l);
3476
3476
  let i = r && r.headers ? r.headers : {};
3477
3477
  return o.headers = { ...s, ...i, ...e.headers }, {
3478
- url: V(a),
3478
+ url: P(a),
3479
3479
  options: o
3480
3480
  };
3481
3481
  },
@@ -3490,20 +3490,20 @@ const Yt = {
3490
3490
  */
3491
3491
  updatePackage: async (n, e, t, a = {}) => {
3492
3492
  m("updatePackage", "environmentName", n), m("updatePackage", "packageName", e), m("updatePackage", "_package", t);
3493
- const r = "/environments/{environmentName}/packages/{packageName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(r, P);
3493
+ const r = "/environments/{environmentName}/packages/{packageName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(r, S);
3494
3494
  let s;
3495
3495
  c && (s = c.baseOptions);
3496
3496
  const l = { method: "PATCH", ...s, ...a }, i = {}, p = {};
3497
3497
  i["Content-Type"] = "application/json", i.Accept = "application/json", v(o, p);
3498
3498
  let d = s && s.headers ? s.headers : {};
3499
3499
  return l.headers = { ...i, ...d, ...a.headers }, l.data = A(t, l, c), {
3500
- url: V(o),
3500
+ url: P(o),
3501
3501
  options: l
3502
3502
  };
3503
3503
  }
3504
3504
  };
3505
3505
  }, M = function(c) {
3506
- const n = na(c);
3506
+ const n = ra(c);
3507
3507
  return {
3508
3508
  /**
3509
3509
  * Creates a new Malloy package within the specified environment. A package serves as a container for models, notebooks, embedded databases, and other resources. The package will be initialized with the provided metadata and can immediately accept content.
@@ -3515,7 +3515,7 @@ const Yt = {
3515
3515
  */
3516
3516
  async createPackage(e, t, a) {
3517
3517
  const r = await n.createPackage(e, t, a), o = c?.serverIndex ?? 0, s = b["PackagesApi.createPackage"]?.[o]?.url;
3518
- return (l, i) => S(r, u, g, c)(l, s || i);
3518
+ return (l, i) => V(r, u, g, c)(l, s || i);
3519
3519
  },
3520
3520
  /**
3521
3521
  * Permanently deletes a package and all its associated resources including models, notebooks, databases, and metadata. This operation cannot be undone, so use with caution. The package must exist and be accessible for deletion.
@@ -3527,7 +3527,7 @@ const Yt = {
3527
3527
  */
3528
3528
  async deletePackage(e, t, a) {
3529
3529
  const r = await n.deletePackage(e, t, a), o = c?.serverIndex ?? 0, s = b["PackagesApi.deletePackage"]?.[o]?.url;
3530
- return (l, i) => S(r, u, g, c)(l, s || i);
3530
+ return (l, i) => V(r, u, g, c)(l, s || i);
3531
3531
  },
3532
3532
  /**
3533
3533
  * Retrieves detailed information about a specific package, including its models, notebooks, databases, and metadata. The reload parameter can be used to refresh the package state from disk before returning the information. The versionId parameter allows access to specific package versions.
@@ -3541,7 +3541,7 @@ const Yt = {
3541
3541
  */
3542
3542
  async getPackage(e, t, a, r, o) {
3543
3543
  const s = await n.getPackage(e, t, a, r, o), l = c?.serverIndex ?? 0, i = b["PackagesApi.getPackage"]?.[l]?.url;
3544
- return (p, d) => S(s, u, g, c)(p, i || d);
3544
+ return (p, d) => V(s, u, g, c)(p, i || d);
3545
3545
  },
3546
3546
  /**
3547
3547
  * Retrieves a list of all Malloy packages within the specified environment. Each package contains models, notebooks, databases, and other resources. This endpoint is useful for discovering available packages and their basic metadata. This endpoint does not reload. A `reload` query parameter is rejected with 400 rather than ignored, because answering 200 here reads as a reload that worked. Reload is per-package: use `GET /environments/{environmentName}/packages/{packageName}?reload=true`.
@@ -3552,7 +3552,7 @@ const Yt = {
3552
3552
  */
3553
3553
  async listPackages(e, t) {
3554
3554
  const a = await n.listPackages(e, t), r = c?.serverIndex ?? 0, o = b["PackagesApi.listPackages"]?.[r]?.url;
3555
- return (s, l) => S(a, u, g, c)(s, o || l);
3555
+ return (s, l) => V(a, u, g, c)(s, o || l);
3556
3556
  },
3557
3557
  /**
3558
3558
  * Updates the configuration and metadata of an existing package. This allows you to modify package settings, update the description, change the location, or update other package-level properties. The package must exist and be accessible. A supplied `materialization` block REPLACES the one on disk, so re-send every field of it you want to keep. Two exceptions are preserved when omitted: `scope`, which is a top-level field and not expressible in the block at all, and `queryMetadata`, which is orthogonal to the schedule and freshness policy this call usually carries — a client setting a schedule has no reason to re-send the package\'s tags, and dropping them silently untags every statement the package issues. `queryMetadata` has two homes: the top-level field, which is canonical, and `materialization.queryMetadata`, which is DEPRECATED and still accepted. The canonical field wins if a request sends both, and both are populated on read. At EITHER home, omitting it preserves the package\'s tags and so does sending null — a client that serializes unset fields as null must not untag a package by accident. Send an empty object to clear.
@@ -3565,10 +3565,10 @@ const Yt = {
3565
3565
  */
3566
3566
  async updatePackage(e, t, a, r) {
3567
3567
  const o = await n.updatePackage(e, t, a, r), s = c?.serverIndex ?? 0, l = b["PackagesApi.updatePackage"]?.[s]?.url;
3568
- return (i, p) => S(o, u, g, c)(i, l || p);
3568
+ return (i, p) => V(o, u, g, c)(i, l || p);
3569
3569
  }
3570
3570
  };
3571
- }, Jt = function(c, n, e) {
3571
+ }, Zt = function(c, n, e) {
3572
3572
  const t = M(c);
3573
3573
  return {
3574
3574
  /**
@@ -3630,7 +3630,7 @@ const Yt = {
3630
3630
  }
3631
3631
  };
3632
3632
  };
3633
- class ra extends x {
3633
+ class oa extends C {
3634
3634
  /**
3635
3635
  * Creates a new Malloy package within the specified environment. A package serves as a container for models, notebooks, embedded databases, and other resources. The package will be initialized with the provided metadata and can immediately accept content.
3636
3636
  * @summary Create a new package
@@ -3689,7 +3689,7 @@ class ra extends x {
3689
3689
  return M(this.configuration).updatePackage(n, e, t, a).then((r) => r(this.axios, this.basePath));
3690
3690
  }
3691
3691
  }
3692
- const oa = function(c) {
3692
+ const sa = function(c) {
3693
3693
  return {
3694
3694
  /**
3695
3695
  * Drops the saved theme from the server. The next GET returns either the publisher.config.json boot seed (if present) or an empty object. Rejected with 403 when publisher.config.json has frozenConfig=true.
@@ -3698,14 +3698,14 @@ const oa = function(c) {
3698
3698
  * @throws {RequiredError}
3699
3699
  */
3700
3700
  deleteTheme: async (n = {}) => {
3701
- const e = "/theme", t = new URL(e, P);
3701
+ const e = "/theme", t = new URL(e, S);
3702
3702
  let a;
3703
3703
  c && (a = c.baseOptions);
3704
3704
  const r = { method: "DELETE", ...a, ...n }, o = {}, s = {};
3705
3705
  o.Accept = "application/json", v(t, s);
3706
3706
  let l = a && a.headers ? a.headers : {};
3707
3707
  return r.headers = { ...o, ...l, ...n.headers }, {
3708
- url: V(t),
3708
+ url: P(t),
3709
3709
  options: r
3710
3710
  };
3711
3711
  },
@@ -3717,14 +3717,14 @@ const oa = function(c) {
3717
3717
  * @throws {RequiredError}
3718
3718
  */
3719
3719
  getStatus: async (n, e = {}) => {
3720
- const t = "/status", a = new URL(t, P);
3720
+ const t = "/status", a = new URL(t, S);
3721
3721
  let r;
3722
3722
  c && (r = c.baseOptions);
3723
3723
  const o = { method: "GET", ...r, ...e }, s = {}, l = {};
3724
3724
  n !== void 0 && (l.includeLoading = n), s.Accept = "application/json", v(a, l);
3725
3725
  let i = r && r.headers ? r.headers : {};
3726
3726
  return o.headers = { ...s, ...i, ...e.headers }, {
3727
- url: V(a),
3727
+ url: P(a),
3728
3728
  options: o
3729
3729
  };
3730
3730
  },
@@ -3735,14 +3735,14 @@ const oa = function(c) {
3735
3735
  * @throws {RequiredError}
3736
3736
  */
3737
3737
  getTheme: async (n = {}) => {
3738
- const e = "/theme", t = new URL(e, P);
3738
+ const e = "/theme", t = new URL(e, S);
3739
3739
  let a;
3740
3740
  c && (a = c.baseOptions);
3741
3741
  const r = { method: "GET", ...a, ...n }, o = {}, s = {};
3742
3742
  o.Accept = "application/json", v(t, s);
3743
3743
  let l = a && a.headers ? a.headers : {};
3744
3744
  return r.headers = { ...o, ...l, ...n.headers }, {
3745
- url: V(t),
3745
+ url: P(t),
3746
3746
  options: r
3747
3747
  };
3748
3748
  },
@@ -3755,20 +3755,20 @@ const oa = function(c) {
3755
3755
  */
3756
3756
  updateTheme: async (n, e = {}) => {
3757
3757
  m("updateTheme", "theme", n);
3758
- const t = "/theme", a = new URL(t, P);
3758
+ const t = "/theme", a = new URL(t, S);
3759
3759
  let r;
3760
3760
  c && (r = c.baseOptions);
3761
3761
  const o = { method: "PUT", ...r, ...e }, s = {}, l = {};
3762
3762
  s["Content-Type"] = "application/json", s.Accept = "application/json", v(a, l);
3763
3763
  let i = r && r.headers ? r.headers : {};
3764
3764
  return o.headers = { ...s, ...i, ...e.headers }, o.data = A(n, o, c), {
3765
- url: V(a),
3765
+ url: P(a),
3766
3766
  options: o
3767
3767
  };
3768
3768
  }
3769
3769
  };
3770
- }, j = function(c) {
3771
- const n = oa(c);
3770
+ }, B = function(c) {
3771
+ const n = sa(c);
3772
3772
  return {
3773
3773
  /**
3774
3774
  * Drops the saved theme from the server. The next GET returns either the publisher.config.json boot seed (if present) or an empty object. Rejected with 403 when publisher.config.json has frozenConfig=true.
@@ -3778,7 +3778,7 @@ const oa = function(c) {
3778
3778
  */
3779
3779
  async deleteTheme(e) {
3780
3780
  const t = await n.deleteTheme(e), a = c?.serverIndex ?? 0, r = b["PublisherApi.deleteTheme"]?.[a]?.url;
3781
- return (o, s) => S(t, u, g, c)(o, r || s);
3781
+ return (o, s) => V(t, u, g, c)(o, r || s);
3782
3782
  },
3783
3783
  /**
3784
3784
  * Returns the current status of the Malloy Publisher server, including initialization state, available environments, and server timestamp. This endpoint is useful for health checks and monitoring server availability.
@@ -3789,7 +3789,7 @@ const oa = function(c) {
3789
3789
  */
3790
3790
  async getStatus(e, t) {
3791
3791
  const a = await n.getStatus(e, t), r = c?.serverIndex ?? 0, o = b["PublisherApi.getStatus"]?.[r]?.url;
3792
- return (s, l) => S(a, u, g, c)(s, o || l);
3792
+ return (s, l) => V(a, u, g, c)(s, o || l);
3793
3793
  },
3794
3794
  /**
3795
3795
  * Returns the theme used by the Malloy renderer for charts/tables/dashboards. Reflects edits made via the in-app Theme Editor (persisted to the server\'s internal DuckDB metadata store via the shared StorageManager). Empty object when no theme has been configured.
@@ -3799,7 +3799,7 @@ const oa = function(c) {
3799
3799
  */
3800
3800
  async getTheme(e) {
3801
3801
  const t = await n.getTheme(e), a = c?.serverIndex ?? 0, r = b["PublisherApi.getTheme"]?.[a]?.url;
3802
- return (o, s) => S(t, u, g, c)(o, r || s);
3802
+ return (o, s) => V(t, u, g, c)(o, r || s);
3803
3803
  },
3804
3804
  /**
3805
3805
  * Persists the supplied theme as the new instance theme. Returns the saved theme. Rejected with 403 when publisher.config.json has frozenConfig=true.
@@ -3810,11 +3810,11 @@ const oa = function(c) {
3810
3810
  */
3811
3811
  async updateTheme(e, t) {
3812
3812
  const a = await n.updateTheme(e, t), r = c?.serverIndex ?? 0, o = b["PublisherApi.updateTheme"]?.[r]?.url;
3813
- return (s, l) => S(a, u, g, c)(s, o || l);
3813
+ return (s, l) => V(a, u, g, c)(s, o || l);
3814
3814
  }
3815
3815
  };
3816
- }, Xt = function(c, n, e) {
3817
- const t = j(c);
3816
+ }, en = function(c, n, e) {
3817
+ const t = B(c);
3818
3818
  return {
3819
3819
  /**
3820
3820
  * Drops the saved theme from the server. The next GET returns either the publisher.config.json boot seed (if present) or an empty object. Rejected with 403 when publisher.config.json has frozenConfig=true.
@@ -3856,7 +3856,7 @@ const oa = function(c) {
3856
3856
  }
3857
3857
  };
3858
3858
  };
3859
- class sa extends x {
3859
+ class la extends C {
3860
3860
  /**
3861
3861
  * Drops the saved theme from the server. The next GET returns either the publisher.config.json boot seed (if present) or an empty object. Rejected with 403 when publisher.config.json has frozenConfig=true.
3862
3862
  * @summary Reset the instance theme to the boot seed or default
@@ -3864,7 +3864,7 @@ class sa extends x {
3864
3864
  * @throws {RequiredError}
3865
3865
  */
3866
3866
  deleteTheme(n) {
3867
- return j(this.configuration).deleteTheme(n).then((e) => e(this.axios, this.basePath));
3867
+ return B(this.configuration).deleteTheme(n).then((e) => e(this.axios, this.basePath));
3868
3868
  }
3869
3869
  /**
3870
3870
  * Returns the current status of the Malloy Publisher server, including initialization state, available environments, and server timestamp. This endpoint is useful for health checks and monitoring server availability.
@@ -3874,7 +3874,7 @@ class sa extends x {
3874
3874
  * @throws {RequiredError}
3875
3875
  */
3876
3876
  getStatus(n, e) {
3877
- return j(this.configuration).getStatus(n, e).then((t) => t(this.axios, this.basePath));
3877
+ return B(this.configuration).getStatus(n, e).then((t) => t(this.axios, this.basePath));
3878
3878
  }
3879
3879
  /**
3880
3880
  * Returns the theme used by the Malloy renderer for charts/tables/dashboards. Reflects edits made via the in-app Theme Editor (persisted to the server\'s internal DuckDB metadata store via the shared StorageManager). Empty object when no theme has been configured.
@@ -3883,7 +3883,7 @@ class sa extends x {
3883
3883
  * @throws {RequiredError}
3884
3884
  */
3885
3885
  getTheme(n) {
3886
- return j(this.configuration).getTheme(n).then((e) => e(this.axios, this.basePath));
3886
+ return B(this.configuration).getTheme(n).then((e) => e(this.axios, this.basePath));
3887
3887
  }
3888
3888
  /**
3889
3889
  * Persists the supplied theme as the new instance theme. Returns the saved theme. Rejected with 403 when publisher.config.json has frozenConfig=true.
@@ -3893,7 +3893,7 @@ class sa extends x {
3893
3893
  * @throws {RequiredError}
3894
3894
  */
3895
3895
  updateTheme(n, e) {
3896
- return j(this.configuration).updateTheme(n, e).then((t) => t(this.axios, this.basePath));
3896
+ return B(this.configuration).updateTheme(n, e).then((t) => t(this.axios, this.basePath));
3897
3897
  }
3898
3898
  }
3899
3899
  const ca = function(c) {
@@ -3910,14 +3910,14 @@ const ca = function(c) {
3910
3910
  */
3911
3911
  getReport: async (n, e, t, a, r = {}) => {
3912
3912
  m("getReport", "environmentName", n), m("getReport", "packageName", e), m("getReport", "path", t);
3913
- const o = "/environments/{environmentName}/packages/{packageName}/reports/{path}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(t))), s = new URL(o, P);
3913
+ const o = "/environments/{environmentName}/packages/{packageName}/reports/{path}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(t))), s = new URL(o, S);
3914
3914
  let l;
3915
3915
  c && (l = c.baseOptions);
3916
3916
  const i = { method: "GET", ...l, ...r }, p = {}, d = {};
3917
3917
  a !== void 0 && (d.versionId = a), p.Accept = "application/json", v(s, d);
3918
3918
  let h = l && l.headers ? l.headers : {};
3919
3919
  return i.headers = { ...p, ...h, ...r.headers }, {
3920
- url: V(s),
3920
+ url: P(s),
3921
3921
  options: i
3922
3922
  };
3923
3923
  },
@@ -3932,19 +3932,19 @@ const ca = function(c) {
3932
3932
  */
3933
3933
  listReports: async (n, e, t, a = {}) => {
3934
3934
  m("listReports", "environmentName", n), m("listReports", "packageName", e);
3935
- const r = "/environments/{environmentName}/packages/{packageName}/reports".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(r, P);
3935
+ const r = "/environments/{environmentName}/packages/{packageName}/reports".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), o = new URL(r, S);
3936
3936
  let s;
3937
3937
  c && (s = c.baseOptions);
3938
3938
  const l = { method: "GET", ...s, ...a }, i = {}, p = {};
3939
3939
  t !== void 0 && (p.versionId = t), i.Accept = "application/json", v(o, p);
3940
3940
  let d = s && s.headers ? s.headers : {};
3941
3941
  return l.headers = { ...i, ...d, ...a.headers }, {
3942
- url: V(o),
3942
+ url: P(o),
3943
3943
  options: l
3944
3944
  };
3945
3945
  }
3946
3946
  };
3947
- }, Y = function(c) {
3947
+ }, J = function(c) {
3948
3948
  const n = ca(c);
3949
3949
  return {
3950
3950
  /**
@@ -3959,7 +3959,7 @@ const ca = function(c) {
3959
3959
  */
3960
3960
  async getReport(e, t, a, r, o) {
3961
3961
  const s = await n.getReport(e, t, a, r, o), l = c?.serverIndex ?? 0, i = b["ReportsApi.getReport"]?.[l]?.url;
3962
- return (p, d) => S(s, u, g, c)(p, i || d);
3962
+ return (p, d) => V(s, u, g, c)(p, i || d);
3963
3963
  },
3964
3964
  /**
3965
3965
  * Lists every report in the package, in path order. A report is a `.malloy` file anywhere in the package, outside `public/`, that carries an artifact tag: a model-level `## artifact`, or the deprecated query-level `# artifact` on a `query:`. The package\'s root `index.malloy` is never a report (it is the surface). A legacy `.malloynb` is also a report, linear and read-only. Where a file lives carries no meaning: `dashboards/` and `notebooks/` are ordinary directory names. Everything else is an ordinary model, which a report may import. A report\'s `layout` is decided by its tags, first match wins: the tag\'s `layout=` (`grid` or `linear`); else grid for a query-level `# artifact`; else grid for a model-level tag that lists `tiles` or carries a `dashboard { … }` grid tag; else linear. A tag that sets `kind=` is no report (`report-kind-removed`), and neither is a linear tag that lists no `tiles`: that is the retired `run:` cell format (`report-cells-removed`). An empty `tiles=[]` is a linear report with no tiles yet. A report is identified by its `path`. `name`, its basename, is a display label only: two reports may share one. Every report is listed whatever the package\'s surface; the surface limits what its tiles and cells may read, not whether it is listed. A report that failed to compile is listed with its `error`. A tagged grid report with no tiles yet is not served and not listed.
@@ -3972,11 +3972,11 @@ const ca = function(c) {
3972
3972
  */
3973
3973
  async listReports(e, t, a, r) {
3974
3974
  const o = await n.listReports(e, t, a, r), s = c?.serverIndex ?? 0, l = b["ReportsApi.listReports"]?.[s]?.url;
3975
- return (i, p) => S(o, u, g, c)(i, l || p);
3975
+ return (i, p) => V(o, u, g, c)(i, l || p);
3976
3976
  }
3977
3977
  };
3978
- }, Zt = function(c, n, e) {
3979
- const t = Y(c);
3978
+ }, an = function(c, n, e) {
3979
+ const t = J(c);
3980
3980
  return {
3981
3981
  /**
3982
3982
  * Everything a viewer needs to render one report, addressed by its path in the package, including its extension, exactly as list-reports gives it (`sales/q3.malloy`). A `.malloy` report, of either layout, carries the manifest fields (`tiles` or `query`, `dashboardColumns`, `startingGivens`, `autorun`, `givens`): its tiles run through the model query endpoint with `givens`, using `path` as the model. A `.malloynb`, the one cell format left, carries `notebook` instead: its cells as get-notebook returned them, run through the deprecated execute-notebook-cell.
@@ -4005,7 +4005,7 @@ const ca = function(c) {
4005
4005
  }
4006
4006
  };
4007
4007
  };
4008
- class la extends x {
4008
+ class ia extends C {
4009
4009
  /**
4010
4010
  * Everything a viewer needs to render one report, addressed by its path in the package, including its extension, exactly as list-reports gives it (`sales/q3.malloy`). A `.malloy` report, of either layout, carries the manifest fields (`tiles` or `query`, `dashboardColumns`, `startingGivens`, `autorun`, `givens`): its tiles run through the model query endpoint with `givens`, using `path` as the model. A `.malloynb`, the one cell format left, carries `notebook` instead: its cells as get-notebook returned them, run through the deprecated execute-notebook-cell.
4011
4011
  * @summary Get a report manifest
@@ -4017,7 +4017,7 @@ class la extends x {
4017
4017
  * @throws {RequiredError}
4018
4018
  */
4019
4019
  getReport(n, e, t, a, r) {
4020
- return Y(this.configuration).getReport(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
4020
+ return J(this.configuration).getReport(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
4021
4021
  }
4022
4022
  /**
4023
4023
  * Lists every report in the package, in path order. A report is a `.malloy` file anywhere in the package, outside `public/`, that carries an artifact tag: a model-level `## artifact`, or the deprecated query-level `# artifact` on a `query:`. The package\'s root `index.malloy` is never a report (it is the surface). A legacy `.malloynb` is also a report, linear and read-only. Where a file lives carries no meaning: `dashboards/` and `notebooks/` are ordinary directory names. Everything else is an ordinary model, which a report may import. A report\'s `layout` is decided by its tags, first match wins: the tag\'s `layout=` (`grid` or `linear`); else grid for a query-level `# artifact`; else grid for a model-level tag that lists `tiles` or carries a `dashboard { … }` grid tag; else linear. A tag that sets `kind=` is no report (`report-kind-removed`), and neither is a linear tag that lists no `tiles`: that is the retired `run:` cell format (`report-cells-removed`). An empty `tiles=[]` is a linear report with no tiles yet. A report is identified by its `path`. `name`, its basename, is a display label only: two reports may share one. Every report is listed whatever the package\'s surface; the surface limits what its tiles and cells may read, not whether it is listed. A report that failed to compile is listed with its `error`. A tagged grid report with no tiles yet is not served and not listed.
@@ -4029,10 +4029,10 @@ class la extends x {
4029
4029
  * @throws {RequiredError}
4030
4030
  */
4031
4031
  listReports(n, e, t, a) {
4032
- return Y(this.configuration).listReports(n, e, t, a).then((r) => r(this.axios, this.basePath));
4032
+ return J(this.configuration).listReports(n, e, t, a).then((r) => r(this.axios, this.basePath));
4033
4033
  }
4034
4034
  }
4035
- const ia = function(c) {
4035
+ const pa = function(c) {
4036
4036
  return {
4037
4037
  /**
4038
4038
  * Returns one skill in force for this package, including its full Markdown. `skillName` is a name from the listing, exactly as spelled there; a reference file is addressed as `<skill>/<stem>`. The slash may be sent literally or as `%2F`; a literal `%` in a name must be sent as `%25`. 404 when no skill of that name is in force.
@@ -4045,14 +4045,14 @@ const ia = function(c) {
4045
4045
  */
4046
4046
  getSkill: async (n, e, t, a = {}) => {
4047
4047
  m("getSkill", "environmentName", n), m("getSkill", "packageName", e), m("getSkill", "skillName", t);
4048
- const r = "/environments/{environmentName}/packages/{packageName}/skills/{skillName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{skillName}", encodeURIComponent(String(t))), o = new URL(r, P);
4048
+ const r = "/environments/{environmentName}/packages/{packageName}/skills/{skillName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))).replace("{skillName}", encodeURIComponent(String(t))), o = new URL(r, S);
4049
4049
  let s;
4050
4050
  c && (s = c.baseOptions);
4051
4051
  const l = { method: "GET", ...s, ...a }, i = {}, p = {};
4052
4052
  i.Accept = "application/json", v(o, p);
4053
4053
  let d = s && s.headers ? s.headers : {};
4054
4054
  return l.headers = { ...i, ...d, ...a.headers }, {
4055
- url: V(o),
4055
+ url: P(o),
4056
4056
  options: l
4057
4057
  };
4058
4058
  },
@@ -4066,20 +4066,20 @@ const ia = function(c) {
4066
4066
  */
4067
4067
  listSkills: async (n, e, t = {}) => {
4068
4068
  m("listSkills", "environmentName", n), m("listSkills", "packageName", e);
4069
- const a = "/environments/{environmentName}/packages/{packageName}/skills".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), r = new URL(a, P);
4069
+ const a = "/environments/{environmentName}/packages/{packageName}/skills".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), r = new URL(a, S);
4070
4070
  let o;
4071
4071
  c && (o = c.baseOptions);
4072
4072
  const s = { method: "GET", ...o, ...t }, l = {}, i = {};
4073
4073
  l.Accept = "application/json", v(r, i);
4074
4074
  let p = o && o.headers ? o.headers : {};
4075
4075
  return s.headers = { ...l, ...p, ...t.headers }, {
4076
- url: V(r),
4076
+ url: P(r),
4077
4077
  options: s
4078
4078
  };
4079
4079
  }
4080
4080
  };
4081
- }, J = function(c) {
4082
- const n = ia(c);
4081
+ }, X = function(c) {
4082
+ const n = pa(c);
4083
4083
  return {
4084
4084
  /**
4085
4085
  * Returns one skill in force for this package, including its full Markdown. `skillName` is a name from the listing, exactly as spelled there; a reference file is addressed as `<skill>/<stem>`. The slash may be sent literally or as `%2F`; a literal `%` in a name must be sent as `%25`. 404 when no skill of that name is in force.
@@ -4092,7 +4092,7 @@ const ia = function(c) {
4092
4092
  */
4093
4093
  async getSkill(e, t, a, r) {
4094
4094
  const o = await n.getSkill(e, t, a, r), s = c?.serverIndex ?? 0, l = b["SkillsApi.getSkill"]?.[s]?.url;
4095
- return (i, p) => S(o, u, g, c)(i, l || p);
4095
+ return (i, p) => V(o, u, g, c)(i, l || p);
4096
4096
  },
4097
4097
  /**
4098
4098
  * Lists the agent skills that apply to this package: the guides bundled with this server, plus any the package ships under `skills/`. Resolution is name shadowing. A package skill whose `name` matches a bundled skill REPLACES it for this package; one with a new name is added. Nothing is merged, because the server does not know which guides the calling agent already holds and so cannot patch one. Read `origin` on each entry to tell a replaced skill from the original. Bodies are not returned here. Fetch one with `GET .../skills/{skillName}`. An entry whose `name` contains a slash (`<skill>/<stem>`) is a skill\'s on-demand reference file, addressed by the pointer at the end of its parent\'s body. The REST half of the `get_skill` MCP tool, for callers running unattended.
@@ -4104,11 +4104,11 @@ const ia = function(c) {
4104
4104
  */
4105
4105
  async listSkills(e, t, a) {
4106
4106
  const r = await n.listSkills(e, t, a), o = c?.serverIndex ?? 0, s = b["SkillsApi.listSkills"]?.[o]?.url;
4107
- return (l, i) => S(r, u, g, c)(l, s || i);
4107
+ return (l, i) => V(r, u, g, c)(l, s || i);
4108
4108
  }
4109
4109
  };
4110
- }, en = function(c, n, e) {
4111
- const t = J(c);
4110
+ }, tn = function(c, n, e) {
4111
+ const t = X(c);
4112
4112
  return {
4113
4113
  /**
4114
4114
  * Returns one skill in force for this package, including its full Markdown. `skillName` is a name from the listing, exactly as spelled there; a reference file is addressed as `<skill>/<stem>`. The slash may be sent literally or as `%2F`; a literal `%` in a name must be sent as `%25`. 404 when no skill of that name is in force.
@@ -4135,7 +4135,7 @@ const ia = function(c) {
4135
4135
  }
4136
4136
  };
4137
4137
  };
4138
- class an extends x {
4138
+ class nn extends C {
4139
4139
  /**
4140
4140
  * Returns one skill in force for this package, including its full Markdown. `skillName` is a name from the listing, exactly as spelled there; a reference file is addressed as `<skill>/<stem>`. The slash may be sent literally or as `%2F`; a literal `%` in a name must be sent as `%25`. 404 when no skill of that name is in force.
4141
4141
  * @summary Get one agent skill, with its body
@@ -4146,7 +4146,7 @@ class an extends x {
4146
4146
  * @throws {RequiredError}
4147
4147
  */
4148
4148
  getSkill(n, e, t, a) {
4149
- return J(this.configuration).getSkill(n, e, t, a).then((r) => r(this.axios, this.basePath));
4149
+ return X(this.configuration).getSkill(n, e, t, a).then((r) => r(this.axios, this.basePath));
4150
4150
  }
4151
4151
  /**
4152
4152
  * Lists the agent skills that apply to this package: the guides bundled with this server, plus any the package ships under `skills/`. Resolution is name shadowing. A package skill whose `name` matches a bundled skill REPLACES it for this package; one with a new name is added. Nothing is merged, because the server does not know which guides the calling agent already holds and so cannot patch one. Read `origin` on each entry to tell a replaced skill from the original. Bodies are not returned here. Fetch one with `GET .../skills/{skillName}`. An entry whose `name` contains a slash (`<skill>/<stem>`) is a skill\'s on-demand reference file, addressed by the pointer at the end of its parent\'s body. The REST half of the `get_skill` MCP tool, for callers running unattended.
@@ -4157,10 +4157,205 @@ class an extends x {
4157
4157
  * @throws {RequiredError}
4158
4158
  */
4159
4159
  listSkills(n, e, t) {
4160
- return J(this.configuration).listSkills(n, e, t).then((a) => a(this.axios, this.basePath));
4160
+ return X(this.configuration).listSkills(n, e, t).then((a) => a(this.axios, this.basePath));
4161
4161
  }
4162
4162
  }
4163
- const pa = function(c) {
4163
+ const da = function(c) {
4164
+ return {
4165
+ /**
4166
+ * Reclaims the object-storage bytes that dropped and rewritten tables leave behind in a DuckLake destination. Runs, in order: 1. `ducklake_expire_snapshots(older_than => snapshotsOlderThan)` — forgets snapshots older than the cutoff (never the latest) and schedules for deletion the files only they referenced. Snapshots that remain are what time travel can still read, so this cutoff is the recovery window for a dropped table. 2. `ducklake_cleanup_old_files(older_than => filesOlderThan)` — deletes the files scheduled for deletion before the cutoff. The age counts from when step 1 scheduled the file, so this protects readers still scanning a file from a snapshot that was just expired. Only files the catalog itself recorded and then retired are deleted. It does not run `CHECKPOINT` or `ducklake_delete_orphaned_files`, which also delete untracked files — another catalog\'s, when two share a data path, or a concurrent build\'s not-yet-committed output. Synchronous. Refused with 400 for a destination that is not DuckLake.
4167
+ * @summary Reclaim storage behind dropped tables in a DuckLake destination
4168
+ * @param {string} environmentName Name of the environment
4169
+ * @param {string} destinationName Name of a storage destination configured on the environment
4170
+ * @param {StorageFileCleanupRequest} storageFileCleanupRequest
4171
+ * @param {*} [options] Override http request option.
4172
+ * @throws {RequiredError}
4173
+ */
4174
+ createStorageDestinationFileCleanup: async (n, e, t, a = {}) => {
4175
+ m("createStorageDestinationFileCleanup", "environmentName", n), m("createStorageDestinationFileCleanup", "destinationName", e), m("createStorageDestinationFileCleanup", "storageFileCleanupRequest", t);
4176
+ const r = "/environments/{environmentName}/storageDestinations/{destinationName}/fileCleanups".replace("{environmentName}", encodeURIComponent(String(n))).replace("{destinationName}", encodeURIComponent(String(e))), o = new URL(r, S);
4177
+ let s;
4178
+ c && (s = c.baseOptions);
4179
+ const l = { method: "POST", ...s, ...a }, i = {}, p = {};
4180
+ i["Content-Type"] = "application/json", i.Accept = "application/json", v(o, p);
4181
+ let d = s && s.headers ? s.headers : {};
4182
+ return l.headers = { ...i, ...d, ...a.headers }, l.data = A(t, l, c), {
4183
+ url: P(o),
4184
+ options: l
4185
+ };
4186
+ },
4187
+ /**
4188
+ * Drops one named table from a storage destination. Idempotent: a table that does not exist answers 204 as well, so a retried drop is free. For a DuckLake destination this retires the table in the catalog; its data files stay in storage until a file cleanup reclaims them (see `create-storage-destination-file-cleanup`), which is also the window in which the table can still be read at an earlier snapshot.
4189
+ * @summary Drop a table from a storage destination
4190
+ * @param {string} environmentName Name of the environment
4191
+ * @param {string} destinationName Name of a storage destination configured on the environment
4192
+ * @param {string} schemaName Schema within the storage destination. A table built from a bare physical name lives in &#x60;main&#x60;.
4193
+ * @param {string} tableName Name of the table
4194
+ * @param {*} [options] Override http request option.
4195
+ * @throws {RequiredError}
4196
+ */
4197
+ deleteStorageDestinationTable: async (n, e, t, a, r = {}) => {
4198
+ m("deleteStorageDestinationTable", "environmentName", n), m("deleteStorageDestinationTable", "destinationName", e), m("deleteStorageDestinationTable", "schemaName", t), m("deleteStorageDestinationTable", "tableName", a);
4199
+ const o = "/environments/{environmentName}/storageDestinations/{destinationName}/schemas/{schemaName}/tables/{tableName}".replace("{environmentName}", encodeURIComponent(String(n))).replace("{destinationName}", encodeURIComponent(String(e))).replace("{schemaName}", encodeURIComponent(String(t))).replace("{tableName}", encodeURIComponent(String(a))), s = new URL(o, S);
4200
+ let l;
4201
+ c && (l = c.baseOptions);
4202
+ const i = { method: "DELETE", ...l, ...r }, p = {}, d = {};
4203
+ p.Accept = "application/json", v(s, d);
4204
+ let h = l && l.headers ? l.headers : {};
4205
+ return i.headers = { ...p, ...h, ...r.headers }, {
4206
+ url: P(s),
4207
+ options: i
4208
+ };
4209
+ },
4210
+ /**
4211
+ * Lists the tables in one schema of a storage destination, in name order. Storage destinations are never reachable through the connection routes, so this is how an orchestrator finds tables it has lost track of. A DuckLake destination is attached read-only for the listing.
4212
+ * @summary List tables in a storage destination
4213
+ * @param {string} environmentName Name of the environment
4214
+ * @param {string} destinationName Name of a storage destination configured on the environment
4215
+ * @param {string} schemaName Schema within the storage destination. A table built from a bare physical name lives in &#x60;main&#x60;.
4216
+ * @param {*} [options] Override http request option.
4217
+ * @throws {RequiredError}
4218
+ */
4219
+ listStorageDestinationTables: async (n, e, t, a = {}) => {
4220
+ m("listStorageDestinationTables", "environmentName", n), m("listStorageDestinationTables", "destinationName", e), m("listStorageDestinationTables", "schemaName", t);
4221
+ const r = "/environments/{environmentName}/storageDestinations/{destinationName}/schemas/{schemaName}/tables".replace("{environmentName}", encodeURIComponent(String(n))).replace("{destinationName}", encodeURIComponent(String(e))).replace("{schemaName}", encodeURIComponent(String(t))), o = new URL(r, S);
4222
+ let s;
4223
+ c && (s = c.baseOptions);
4224
+ const l = { method: "GET", ...s, ...a }, i = {}, p = {};
4225
+ i.Accept = "application/json", v(o, p);
4226
+ let d = s && s.headers ? s.headers : {};
4227
+ return l.headers = { ...i, ...d, ...a.headers }, {
4228
+ url: P(o),
4229
+ options: l
4230
+ };
4231
+ }
4232
+ };
4233
+ }, H = function(c) {
4234
+ const n = da(c);
4235
+ return {
4236
+ /**
4237
+ * Reclaims the object-storage bytes that dropped and rewritten tables leave behind in a DuckLake destination. Runs, in order: 1. `ducklake_expire_snapshots(older_than => snapshotsOlderThan)` — forgets snapshots older than the cutoff (never the latest) and schedules for deletion the files only they referenced. Snapshots that remain are what time travel can still read, so this cutoff is the recovery window for a dropped table. 2. `ducklake_cleanup_old_files(older_than => filesOlderThan)` — deletes the files scheduled for deletion before the cutoff. The age counts from when step 1 scheduled the file, so this protects readers still scanning a file from a snapshot that was just expired. Only files the catalog itself recorded and then retired are deleted. It does not run `CHECKPOINT` or `ducklake_delete_orphaned_files`, which also delete untracked files — another catalog\'s, when two share a data path, or a concurrent build\'s not-yet-committed output. Synchronous. Refused with 400 for a destination that is not DuckLake.
4238
+ * @summary Reclaim storage behind dropped tables in a DuckLake destination
4239
+ * @param {string} environmentName Name of the environment
4240
+ * @param {string} destinationName Name of a storage destination configured on the environment
4241
+ * @param {StorageFileCleanupRequest} storageFileCleanupRequest
4242
+ * @param {*} [options] Override http request option.
4243
+ * @throws {RequiredError}
4244
+ */
4245
+ async createStorageDestinationFileCleanup(e, t, a, r) {
4246
+ const o = await n.createStorageDestinationFileCleanup(e, t, a, r), s = c?.serverIndex ?? 0, l = b["StorageDestinationsApi.createStorageDestinationFileCleanup"]?.[s]?.url;
4247
+ return (i, p) => V(o, u, g, c)(i, l || p);
4248
+ },
4249
+ /**
4250
+ * Drops one named table from a storage destination. Idempotent: a table that does not exist answers 204 as well, so a retried drop is free. For a DuckLake destination this retires the table in the catalog; its data files stay in storage until a file cleanup reclaims them (see `create-storage-destination-file-cleanup`), which is also the window in which the table can still be read at an earlier snapshot.
4251
+ * @summary Drop a table from a storage destination
4252
+ * @param {string} environmentName Name of the environment
4253
+ * @param {string} destinationName Name of a storage destination configured on the environment
4254
+ * @param {string} schemaName Schema within the storage destination. A table built from a bare physical name lives in &#x60;main&#x60;.
4255
+ * @param {string} tableName Name of the table
4256
+ * @param {*} [options] Override http request option.
4257
+ * @throws {RequiredError}
4258
+ */
4259
+ async deleteStorageDestinationTable(e, t, a, r, o) {
4260
+ const s = await n.deleteStorageDestinationTable(e, t, a, r, o), l = c?.serverIndex ?? 0, i = b["StorageDestinationsApi.deleteStorageDestinationTable"]?.[l]?.url;
4261
+ return (p, d) => V(s, u, g, c)(p, i || d);
4262
+ },
4263
+ /**
4264
+ * Lists the tables in one schema of a storage destination, in name order. Storage destinations are never reachable through the connection routes, so this is how an orchestrator finds tables it has lost track of. A DuckLake destination is attached read-only for the listing.
4265
+ * @summary List tables in a storage destination
4266
+ * @param {string} environmentName Name of the environment
4267
+ * @param {string} destinationName Name of a storage destination configured on the environment
4268
+ * @param {string} schemaName Schema within the storage destination. A table built from a bare physical name lives in &#x60;main&#x60;.
4269
+ * @param {*} [options] Override http request option.
4270
+ * @throws {RequiredError}
4271
+ */
4272
+ async listStorageDestinationTables(e, t, a, r) {
4273
+ const o = await n.listStorageDestinationTables(e, t, a, r), s = c?.serverIndex ?? 0, l = b["StorageDestinationsApi.listStorageDestinationTables"]?.[s]?.url;
4274
+ return (i, p) => V(o, u, g, c)(i, l || p);
4275
+ }
4276
+ };
4277
+ }, rn = function(c, n, e) {
4278
+ const t = H(c);
4279
+ return {
4280
+ /**
4281
+ * Reclaims the object-storage bytes that dropped and rewritten tables leave behind in a DuckLake destination. Runs, in order: 1. `ducklake_expire_snapshots(older_than => snapshotsOlderThan)` — forgets snapshots older than the cutoff (never the latest) and schedules for deletion the files only they referenced. Snapshots that remain are what time travel can still read, so this cutoff is the recovery window for a dropped table. 2. `ducklake_cleanup_old_files(older_than => filesOlderThan)` — deletes the files scheduled for deletion before the cutoff. The age counts from when step 1 scheduled the file, so this protects readers still scanning a file from a snapshot that was just expired. Only files the catalog itself recorded and then retired are deleted. It does not run `CHECKPOINT` or `ducklake_delete_orphaned_files`, which also delete untracked files — another catalog\'s, when two share a data path, or a concurrent build\'s not-yet-committed output. Synchronous. Refused with 400 for a destination that is not DuckLake.
4282
+ * @summary Reclaim storage behind dropped tables in a DuckLake destination
4283
+ * @param {string} environmentName Name of the environment
4284
+ * @param {string} destinationName Name of a storage destination configured on the environment
4285
+ * @param {StorageFileCleanupRequest} storageFileCleanupRequest
4286
+ * @param {*} [options] Override http request option.
4287
+ * @throws {RequiredError}
4288
+ */
4289
+ createStorageDestinationFileCleanup(a, r, o, s) {
4290
+ return t.createStorageDestinationFileCleanup(a, r, o, s).then((l) => l(e, n));
4291
+ },
4292
+ /**
4293
+ * Drops one named table from a storage destination. Idempotent: a table that does not exist answers 204 as well, so a retried drop is free. For a DuckLake destination this retires the table in the catalog; its data files stay in storage until a file cleanup reclaims them (see `create-storage-destination-file-cleanup`), which is also the window in which the table can still be read at an earlier snapshot.
4294
+ * @summary Drop a table from a storage destination
4295
+ * @param {string} environmentName Name of the environment
4296
+ * @param {string} destinationName Name of a storage destination configured on the environment
4297
+ * @param {string} schemaName Schema within the storage destination. A table built from a bare physical name lives in &#x60;main&#x60;.
4298
+ * @param {string} tableName Name of the table
4299
+ * @param {*} [options] Override http request option.
4300
+ * @throws {RequiredError}
4301
+ */
4302
+ deleteStorageDestinationTable(a, r, o, s, l) {
4303
+ return t.deleteStorageDestinationTable(a, r, o, s, l).then((i) => i(e, n));
4304
+ },
4305
+ /**
4306
+ * Lists the tables in one schema of a storage destination, in name order. Storage destinations are never reachable through the connection routes, so this is how an orchestrator finds tables it has lost track of. A DuckLake destination is attached read-only for the listing.
4307
+ * @summary List tables in a storage destination
4308
+ * @param {string} environmentName Name of the environment
4309
+ * @param {string} destinationName Name of a storage destination configured on the environment
4310
+ * @param {string} schemaName Schema within the storage destination. A table built from a bare physical name lives in &#x60;main&#x60;.
4311
+ * @param {*} [options] Override http request option.
4312
+ * @throws {RequiredError}
4313
+ */
4314
+ listStorageDestinationTables(a, r, o, s) {
4315
+ return t.listStorageDestinationTables(a, r, o, s).then((l) => l(e, n));
4316
+ }
4317
+ };
4318
+ };
4319
+ class on extends C {
4320
+ /**
4321
+ * Reclaims the object-storage bytes that dropped and rewritten tables leave behind in a DuckLake destination. Runs, in order: 1. `ducklake_expire_snapshots(older_than => snapshotsOlderThan)` — forgets snapshots older than the cutoff (never the latest) and schedules for deletion the files only they referenced. Snapshots that remain are what time travel can still read, so this cutoff is the recovery window for a dropped table. 2. `ducklake_cleanup_old_files(older_than => filesOlderThan)` — deletes the files scheduled for deletion before the cutoff. The age counts from when step 1 scheduled the file, so this protects readers still scanning a file from a snapshot that was just expired. Only files the catalog itself recorded and then retired are deleted. It does not run `CHECKPOINT` or `ducklake_delete_orphaned_files`, which also delete untracked files — another catalog\'s, when two share a data path, or a concurrent build\'s not-yet-committed output. Synchronous. Refused with 400 for a destination that is not DuckLake.
4322
+ * @summary Reclaim storage behind dropped tables in a DuckLake destination
4323
+ * @param {string} environmentName Name of the environment
4324
+ * @param {string} destinationName Name of a storage destination configured on the environment
4325
+ * @param {StorageFileCleanupRequest} storageFileCleanupRequest
4326
+ * @param {*} [options] Override http request option.
4327
+ * @throws {RequiredError}
4328
+ */
4329
+ createStorageDestinationFileCleanup(n, e, t, a) {
4330
+ return H(this.configuration).createStorageDestinationFileCleanup(n, e, t, a).then((r) => r(this.axios, this.basePath));
4331
+ }
4332
+ /**
4333
+ * Drops one named table from a storage destination. Idempotent: a table that does not exist answers 204 as well, so a retried drop is free. For a DuckLake destination this retires the table in the catalog; its data files stay in storage until a file cleanup reclaims them (see `create-storage-destination-file-cleanup`), which is also the window in which the table can still be read at an earlier snapshot.
4334
+ * @summary Drop a table from a storage destination
4335
+ * @param {string} environmentName Name of the environment
4336
+ * @param {string} destinationName Name of a storage destination configured on the environment
4337
+ * @param {string} schemaName Schema within the storage destination. A table built from a bare physical name lives in &#x60;main&#x60;.
4338
+ * @param {string} tableName Name of the table
4339
+ * @param {*} [options] Override http request option.
4340
+ * @throws {RequiredError}
4341
+ */
4342
+ deleteStorageDestinationTable(n, e, t, a, r) {
4343
+ return H(this.configuration).deleteStorageDestinationTable(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
4344
+ }
4345
+ /**
4346
+ * Lists the tables in one schema of a storage destination, in name order. Storage destinations are never reachable through the connection routes, so this is how an orchestrator finds tables it has lost track of. A DuckLake destination is attached read-only for the listing.
4347
+ * @summary List tables in a storage destination
4348
+ * @param {string} environmentName Name of the environment
4349
+ * @param {string} destinationName Name of a storage destination configured on the environment
4350
+ * @param {string} schemaName Schema within the storage destination. A table built from a bare physical name lives in &#x60;main&#x60;.
4351
+ * @param {*} [options] Override http request option.
4352
+ * @throws {RequiredError}
4353
+ */
4354
+ listStorageDestinationTables(n, e, t, a) {
4355
+ return H(this.configuration).listStorageDestinationTables(n, e, t, a).then((r) => r(this.axios, this.basePath));
4356
+ }
4357
+ }
4358
+ const ma = function(c) {
4164
4359
  return {
4165
4360
  /**
4166
4361
  * Retrieves the current status of the file watching system. This includes whether watch mode is enabled, which environment is being watched, and the path being monitored. Useful for monitoring the development workflow and ensuring file changes are being detected.
@@ -4169,14 +4364,14 @@ const pa = function(c) {
4169
4364
  * @throws {RequiredError}
4170
4365
  */
4171
4366
  getWatchStatus: async (n = {}) => {
4172
- const e = "/watch-mode/status", t = new URL(e, P);
4367
+ const e = "/watch-mode/status", t = new URL(e, S);
4173
4368
  let a;
4174
4369
  c && (a = c.baseOptions);
4175
4370
  const r = { method: "GET", ...a, ...n }, o = {}, s = {};
4176
4371
  o.Accept = "application/json", v(t, s);
4177
4372
  let l = a && a.headers ? a.headers : {};
4178
4373
  return r.headers = { ...o, ...l, ...n.headers }, {
4179
- url: V(t),
4374
+ url: P(t),
4180
4375
  options: r
4181
4376
  };
4182
4377
  },
@@ -4189,14 +4384,14 @@ const pa = function(c) {
4189
4384
  */
4190
4385
  startWatching: async (n, e = {}) => {
4191
4386
  m("startWatching", "startWatchRequest", n);
4192
- const t = "/watch-mode/start", a = new URL(t, P);
4387
+ const t = "/watch-mode/start", a = new URL(t, S);
4193
4388
  let r;
4194
4389
  c && (r = c.baseOptions);
4195
4390
  const o = { method: "POST", ...r, ...e }, s = {}, l = {};
4196
4391
  s["Content-Type"] = "application/json", s.Accept = "application/json", v(a, l);
4197
4392
  let i = r && r.headers ? r.headers : {};
4198
4393
  return o.headers = { ...s, ...i, ...e.headers }, o.data = A(n, o, c), {
4199
- url: V(a),
4394
+ url: P(a),
4200
4395
  options: o
4201
4396
  };
4202
4397
  },
@@ -4207,14 +4402,14 @@ const pa = function(c) {
4207
4402
  * @throws {RequiredError}
4208
4403
  */
4209
4404
  stopWatching: async (n = {}) => {
4210
- const e = "/watch-mode/stop", t = new URL(e, P);
4405
+ const e = "/watch-mode/stop", t = new URL(e, S);
4211
4406
  let a;
4212
4407
  c && (a = c.baseOptions);
4213
4408
  const r = { method: "POST", ...a, ...n }, o = {}, s = {};
4214
4409
  o.Accept = "application/json", v(t, s);
4215
4410
  let l = a && a.headers ? a.headers : {};
4216
4411
  return r.headers = { ...o, ...l, ...n.headers }, {
4217
- url: V(t),
4412
+ url: P(t),
4218
4413
  options: r
4219
4414
  };
4220
4415
  },
@@ -4228,20 +4423,20 @@ const pa = function(c) {
4228
4423
  */
4229
4424
  streamPackageEvents: async (n, e, t = {}) => {
4230
4425
  m("streamPackageEvents", "environmentName", n), m("streamPackageEvents", "packageName", e);
4231
- const a = "/environments/{environmentName}/packages/{packageName}/events".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), r = new URL(a, P);
4426
+ const a = "/environments/{environmentName}/packages/{packageName}/events".replace("{environmentName}", encodeURIComponent(String(n))).replace("{packageName}", encodeURIComponent(String(e))), r = new URL(a, S);
4232
4427
  let o;
4233
4428
  c && (o = c.baseOptions);
4234
4429
  const s = { method: "GET", ...o, ...t }, l = {}, i = {};
4235
4430
  l.Accept = "text/event-stream,application/json", v(r, i);
4236
4431
  let p = o && o.headers ? o.headers : {};
4237
4432
  return s.headers = { ...l, ...p, ...t.headers }, {
4238
- url: V(r),
4433
+ url: P(r),
4239
4434
  options: s
4240
4435
  };
4241
4436
  }
4242
4437
  };
4243
- }, D = function(c) {
4244
- const n = pa(c);
4438
+ }, j = function(c) {
4439
+ const n = ma(c);
4245
4440
  return {
4246
4441
  /**
4247
4442
  * Retrieves the current status of the file watching system. This includes whether watch mode is enabled, which environment is being watched, and the path being monitored. Useful for monitoring the development workflow and ensuring file changes are being detected.
@@ -4251,7 +4446,7 @@ const pa = function(c) {
4251
4446
  */
4252
4447
  async getWatchStatus(e) {
4253
4448
  const t = await n.getWatchStatus(e), a = c?.serverIndex ?? 0, r = b["WatchModeApi.getWatchStatus"]?.[a]?.url;
4254
- return (o, s) => S(t, u, g, c)(o, r || s);
4449
+ return (o, s) => V(t, u, g, c)(o, r || s);
4255
4450
  },
4256
4451
  /**
4257
4452
  * Initiates file watching for the specified environment. This enables real-time monitoring of file changes within the environment directory, allowing for automatic reloading and updates during development. Only one environment can be watched at a time.
@@ -4262,7 +4457,7 @@ const pa = function(c) {
4262
4457
  */
4263
4458
  async startWatching(e, t) {
4264
4459
  const a = await n.startWatching(e, t), r = c?.serverIndex ?? 0, o = b["WatchModeApi.startWatching"]?.[r]?.url;
4265
- return (s, l) => S(a, u, g, c)(s, o || l);
4460
+ return (s, l) => V(a, u, g, c)(s, o || l);
4266
4461
  },
4267
4462
  /**
4268
4463
  * Stops the current file watching session. This disables real-time monitoring of file changes and releases system resources. Use this when development is complete or when switching to a different environment.
@@ -4272,7 +4467,7 @@ const pa = function(c) {
4272
4467
  */
4273
4468
  async stopWatching(e) {
4274
4469
  const t = await n.stopWatching(e), a = c?.serverIndex ?? 0, r = b["WatchModeApi.stopWatching"]?.[a]?.url;
4275
- return (o, s) => S(t, u, g, c)(o, r || s);
4470
+ return (o, s) => V(t, u, g, c)(o, r || s);
4276
4471
  },
4277
4472
  /**
4278
4473
  * Opens a Server-Sent Events (SSE) stream of file-change events for the package, used by in-package HTML data apps (via the publisher.js runtime) to live-reload when their sources are edited. This is a long-lived `text/event-stream` connection, not a JSON endpoint, and is therefore not surfaced through the generated API clients — consume it with an `EventSource`. The stream emits: - `event: hello` (`data: connected`) once on connect. - `event: mode` (`data: enabled|disabled`) reporting whether watch mode is currently active for the environment. When `disabled`, no `changed` events will follow until watch mode is started. - `event: changed` (`data: changed`) each time a watched file in the package changes. - periodic `: heartbeat` comments to keep idle proxies from closing the connection.
@@ -4284,11 +4479,11 @@ const pa = function(c) {
4284
4479
  */
4285
4480
  async streamPackageEvents(e, t, a) {
4286
4481
  const r = await n.streamPackageEvents(e, t, a), o = c?.serverIndex ?? 0, s = b["WatchModeApi.streamPackageEvents"]?.[o]?.url;
4287
- return (l, i) => S(r, u, g, c)(l, s || i);
4482
+ return (l, i) => V(r, u, g, c)(l, s || i);
4288
4483
  }
4289
4484
  };
4290
- }, tn = function(c, n, e) {
4291
- const t = D(c);
4485
+ }, sn = function(c, n, e) {
4486
+ const t = j(c);
4292
4487
  return {
4293
4488
  /**
4294
4489
  * Retrieves the current status of the file watching system. This includes whether watch mode is enabled, which environment is being watched, and the path being monitored. Useful for monitoring the development workflow and ensuring file changes are being detected.
@@ -4331,7 +4526,7 @@ const pa = function(c) {
4331
4526
  }
4332
4527
  };
4333
4528
  };
4334
- class da extends x {
4529
+ class ha extends C {
4335
4530
  /**
4336
4531
  * Retrieves the current status of the file watching system. This includes whether watch mode is enabled, which environment is being watched, and the path being monitored. Useful for monitoring the development workflow and ensuring file changes are being detected.
4337
4532
  * @summary Get watch mode status
@@ -4339,7 +4534,7 @@ class da extends x {
4339
4534
  * @throws {RequiredError}
4340
4535
  */
4341
4536
  getWatchStatus(n) {
4342
- return D(this.configuration).getWatchStatus(n).then((e) => e(this.axios, this.basePath));
4537
+ return j(this.configuration).getWatchStatus(n).then((e) => e(this.axios, this.basePath));
4343
4538
  }
4344
4539
  /**
4345
4540
  * Initiates file watching for the specified environment. This enables real-time monitoring of file changes within the environment directory, allowing for automatic reloading and updates during development. Only one environment can be watched at a time.
@@ -4349,7 +4544,7 @@ class da extends x {
4349
4544
  * @throws {RequiredError}
4350
4545
  */
4351
4546
  startWatching(n, e) {
4352
- return D(this.configuration).startWatching(n, e).then((t) => t(this.axios, this.basePath));
4547
+ return j(this.configuration).startWatching(n, e).then((t) => t(this.axios, this.basePath));
4353
4548
  }
4354
4549
  /**
4355
4550
  * Stops the current file watching session. This disables real-time monitoring of file changes and releases system resources. Use this when development is complete or when switching to a different environment.
@@ -4358,7 +4553,7 @@ class da extends x {
4358
4553
  * @throws {RequiredError}
4359
4554
  */
4360
4555
  stopWatching(n) {
4361
- return D(this.configuration).stopWatching(n).then((e) => e(this.axios, this.basePath));
4556
+ return j(this.configuration).stopWatching(n).then((e) => e(this.axios, this.basePath));
4362
4557
  }
4363
4558
  /**
4364
4559
  * Opens a Server-Sent Events (SSE) stream of file-change events for the package, used by in-package HTML data apps (via the publisher.js runtime) to live-reload when their sources are edited. This is a long-lived `text/event-stream` connection, not a JSON endpoint, and is therefore not surfaced through the generated API clients — consume it with an `EventSource`. The stream emits: - `event: hello` (`data: connected`) once on connect. - `event: mode` (`data: enabled|disabled`) reporting whether watch mode is currently active for the environment. When `disabled`, no `changed` events will follow until watch mode is started. - `event: changed` (`data: changed`) each time a watched file in the package changes. - periodic `: heartbeat` comments to keep idle proxies from closing the connection.
@@ -4369,10 +4564,10 @@ class da extends x {
4369
4564
  * @throws {RequiredError}
4370
4565
  */
4371
4566
  streamPackageEvents(n, e, t) {
4372
- return D(this.configuration).streamPackageEvents(n, e, t).then((a) => a(this.axios, this.basePath));
4567
+ return j(this.configuration).streamPackageEvents(n, e, t).then((a) => a(this.axios, this.basePath));
4373
4568
  }
4374
4569
  }
4375
- class ma {
4570
+ class ua {
4376
4571
  /**
4377
4572
  * parameter for apiKey security
4378
4573
  * @param name security name
@@ -4445,7 +4640,7 @@ class ma {
4445
4640
  return n !== null && /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i.test(n);
4446
4641
  }
4447
4642
  }
4448
- const ha = new Ve({
4643
+ const ga = new Ve({
4449
4644
  defaultOptions: {
4450
4645
  queries: {
4451
4646
  // Not retried: `useQueryWithApiError` surfaces a failure the moment it
@@ -4464,31 +4659,31 @@ const ha = new Ve({
4464
4659
  throwOnError: !1
4465
4660
  }
4466
4661
  }
4467
- }), nn = {
4662
+ }), ln = {
4468
4663
  staleTime: 300 * 1e3,
4469
4664
  refetchOnWindowFocus: !1,
4470
4665
  refetchOnReconnect: !1
4471
- }, X = "publisher:themeMode";
4472
- function ua() {
4666
+ }, Z = "publisher:themeMode";
4667
+ function ba() {
4473
4668
  if (!(typeof window > "u"))
4474
4669
  try {
4475
- const c = window.localStorage.getItem(X);
4670
+ const c = window.localStorage.getItem(Z);
4476
4671
  if (c === "light" || c === "dark" || c === "auto") return c;
4477
4672
  } catch {
4478
4673
  }
4479
4674
  }
4480
- function ga(c) {
4675
+ function Sa(c) {
4481
4676
  if (!(typeof window > "u"))
4482
4677
  try {
4483
- c === void 0 ? window.localStorage.removeItem(X) : window.localStorage.setItem(X, c);
4678
+ c === void 0 ? window.localStorage.removeItem(Z) : window.localStorage.setItem(Z, c);
4484
4679
  } catch {
4485
4680
  }
4486
4681
  }
4487
- function ba() {
4682
+ function va() {
4488
4683
  return typeof window > "u" || !window.matchMedia ? !1 : window.matchMedia("(prefers-color-scheme: dark)").matches;
4489
4684
  }
4490
4685
  u.defaults.baseURL || (u.defaults.baseURL = "IfYouAreSeeingThis_baseURL_IsNotSet");
4491
- const he = se(void 0), Pa = (c, n) => {
4686
+ const ue = le(void 0), Pa = (c, n) => {
4492
4687
  const e = `${window.location.protocol}//${window.location.host}/api/v0`, t = u.create({
4493
4688
  baseURL: c || e,
4494
4689
  withCredentials: !0,
@@ -4498,26 +4693,26 @@ const he = se(void 0), Pa = (c, n) => {
4498
4693
  const o = await n?.();
4499
4694
  return r.headers.Authorization = o || "", r;
4500
4695
  });
4501
- const a = new ma({ basePath: e });
4696
+ const a = new ua({ basePath: e });
4502
4697
  return {
4503
- models: new ea(a, e, t),
4504
- publisher: new sa(a, e, t),
4505
- environments: new Ye(a, e, t),
4506
- packages: new ra(a, e, t),
4507
- dashboards: new He(a, e, t),
4508
- dataApps: new Ge(a, e, t),
4509
- notebooks: new ta(a, e, t),
4510
- reports: new la(a, e, t),
4511
- connections: new Qe(a, e, t),
4512
- databases: new $e(a, e, t),
4513
- materializations: new Xe(
4698
+ models: new aa(a, e, t),
4699
+ publisher: new la(a, e, t),
4700
+ environments: new Je(a, e, t),
4701
+ packages: new oa(a, e, t),
4702
+ dashboards: new _e(a, e, t),
4703
+ dataApps: new We(a, e, t),
4704
+ notebooks: new na(a, e, t),
4705
+ reports: new ia(a, e, t),
4706
+ connections: new Le(a, e, t),
4707
+ databases: new Ke(a, e, t),
4708
+ materializations: new Ze(
4514
4709
  a,
4515
4710
  e,
4516
4711
  t
4517
4712
  ),
4518
- watchMode: new da(a, e, t)
4713
+ watchMode: new ha(a, e, t)
4519
4714
  };
4520
- }, rn = (c) => /* @__PURE__ */ q(Se, { client: ha, children: /* @__PURE__ */ q(va, { ...c }) }), va = ({
4715
+ }, cn = (c) => /* @__PURE__ */ q(Oe, { client: ga, children: /* @__PURE__ */ q(Va, { ...c }) }), Va = ({
4521
4716
  children: c,
4522
4717
  getAccessToken: n,
4523
4718
  baseURL: e,
@@ -4528,7 +4723,7 @@ const he = se(void 0), Pa = (c, n) => {
4528
4723
  const o = F(
4529
4724
  () => Pa(e, n),
4530
4725
  [e, n]
4531
- ), s = e || `${window.location.protocol}//${window.location.host}/api/v0`, l = Oe({
4726
+ ), s = e || `${window.location.protocol}//${window.location.host}/api/v0`, l = ke({
4532
4727
  queryKey: ["status"],
4533
4728
  queryFn: async () => (await o.publisher.getStatus()).data
4534
4729
  });
@@ -4539,24 +4734,24 @@ const he = se(void 0), Pa = (c, n) => {
4539
4734
  const O = F(
4540
4735
  () => [p, a],
4541
4736
  [p, a]
4542
- ), [k, C] = ae(
4543
- ua
4544
- ), [R, ue] = ae(ba);
4545
- ke(() => {
4737
+ ), [k, I] = te(
4738
+ ba
4739
+ ), [R, ge] = te(va);
4740
+ Ae(() => {
4546
4741
  if (typeof window > "u" || !window.matchMedia) return;
4547
- const T = window.matchMedia("(prefers-color-scheme: dark)"), ee = (ve) => ue(ve.matches);
4548
- return T.addEventListener("change", ee), () => T.removeEventListener("change", ee);
4742
+ const T = window.matchMedia("(prefers-color-scheme: dark)"), ae = (Pe) => ge(Pe.matches);
4743
+ return T.addEventListener("change", ae), () => T.removeEventListener("change", ae);
4549
4744
  }, []);
4550
- const ge = Ae((T) => {
4551
- C(T), ga(T);
4552
- }, []), Z = p?.allowUserToggle ?? !0, H = Z ? k : void 0, be = F(
4553
- () => Me(
4745
+ const be = ye((T) => {
4746
+ I(T), Sa(T);
4747
+ }, []), ee = p?.allowUserToggle ?? !0, _ = ee ? k : void 0, Se = F(
4748
+ () => Fe(
4554
4749
  p?.defaultMode,
4555
- H,
4750
+ _,
4556
4751
  R
4557
4752
  ),
4558
- [p?.defaultMode, H, R]
4559
- ), Pe = {
4753
+ [p?.defaultMode, _, R]
4754
+ ), ve = {
4560
4755
  server: s,
4561
4756
  getAccessToken: n,
4562
4757
  apiClients: o,
@@ -4564,166 +4759,170 @@ const he = se(void 0), Pa = (c, n) => {
4564
4759
  isLoadingStatus: d,
4565
4760
  instanceTheme: p
4566
4761
  };
4567
- return /* @__PURE__ */ q(he.Provider, { value: Pe, children: /* @__PURE__ */ q(
4568
- Fe,
4762
+ return /* @__PURE__ */ q(ue.Provider, { value: ve, children: /* @__PURE__ */ q(
4763
+ De,
4569
4764
  {
4570
4765
  layers: O,
4571
- mode: be,
4572
- userChoice: H,
4573
- setMode: ge,
4574
- allowUserToggle: Z,
4766
+ mode: Se,
4767
+ userChoice: _,
4768
+ setMode: be,
4769
+ allowUserToggle: ee,
4575
4770
  ...r ? { ui: r } : {},
4576
4771
  children: c
4577
4772
  }
4578
4773
  ) });
4579
- }, on = () => {
4580
- const c = oe(he);
4774
+ }, pn = () => {
4775
+ const c = se(ue);
4581
4776
  if (c === void 0)
4582
4777
  throw new Error("useServer must be used within a ServerProvider");
4583
4778
  return c;
4584
4779
  };
4585
4780
  export {
4586
- nt as $,
4587
- Bt as A,
4588
- K as B,
4589
- Fa as C,
4590
- _a as D,
4591
- Wa as E,
4592
- Ge as F,
4593
- _e as G,
4594
- Lt as H,
4595
- de as I,
4596
- $a as J,
4597
- $e as K,
4598
- We as L,
4599
- Ht as M,
4600
- me as N,
4601
- Ye as O,
4602
- Ke as P,
4603
- _t as Q,
4604
- f as R,
4605
- Yt as S,
4606
- Ka as T,
4607
- Ya as U,
4608
- jt as V,
4609
- Ja as W,
4610
- Xa as X,
4611
- Za as Y,
4612
- tt as Z,
4613
- et as _,
4614
- De as a,
4781
+ ot as $,
4782
+ jt as A,
4783
+ Y as B,
4784
+ Ba as C,
4785
+ Wa as D,
4786
+ Ka as E,
4787
+ We as F,
4788
+ Ge as G,
4789
+ _t as H,
4790
+ me as I,
4791
+ Ya as J,
4792
+ Ke as K,
4793
+ $e as L,
4794
+ Gt as M,
4795
+ he as N,
4796
+ Je as O,
4797
+ Ye as P,
4798
+ Wt as Q,
4799
+ w as R,
4800
+ Xt as S,
4801
+ Ja as T,
4802
+ Xa as U,
4803
+ qt as V,
4804
+ Za as W,
4805
+ et as X,
4806
+ at as Y,
4807
+ rt as Z,
4808
+ tt as _,
4809
+ qe as a,
4615
4810
  da as a$,
4616
- at as a0,
4617
- Wt as a1,
4618
- rt as a2,
4619
- Xe as a3,
4620
- Je as a4,
4621
- Gt as a5,
4622
- w as a6,
4623
- ea as a7,
4624
- Ze as a8,
4625
- $t as a9,
4626
- j as aA,
4627
- Vt as aB,
4628
- St as aC,
4629
- Ot as aD,
4630
- kt as aE,
4631
- At as aF,
4632
- Ct as aG,
4633
- yt as aH,
4634
- xt as aI,
4635
- It as aJ,
4636
- Rt as aK,
4637
- Nt as aL,
4638
- la as aM,
4811
+ nt as a0,
4812
+ Kt as a1,
4813
+ st as a2,
4814
+ Ze as a3,
4815
+ Xe as a4,
4816
+ $t as a5,
4817
+ f as a6,
4818
+ aa as a7,
4819
+ ea as a8,
4820
+ Yt as a9,
4821
+ B as aA,
4822
+ Ot as aB,
4823
+ kt as aC,
4824
+ At as aD,
4825
+ yt as aE,
4826
+ Ct as aF,
4827
+ xt as aG,
4828
+ It as aH,
4829
+ Nt as aI,
4830
+ Rt as aJ,
4831
+ Ut as aK,
4832
+ Tt as aL,
4833
+ ia as aM,
4639
4834
  ca as aN,
4640
- Zt as aO,
4641
- Y as aP,
4642
- Ut as aQ,
4643
- Tt as aR,
4644
- rn as aS,
4645
- ft as aT,
4646
- wt as aU,
4647
- Et as aV,
4648
- an as aW,
4649
- ia as aX,
4650
- en as aY,
4651
- J as aZ,
4652
- Mt as a_,
4835
+ an as aO,
4836
+ J as aP,
4837
+ wt as aQ,
4838
+ ft as aR,
4839
+ cn as aS,
4840
+ Et as aT,
4841
+ Mt as aU,
4842
+ Ft as aV,
4843
+ nn as aW,
4844
+ pa as aX,
4845
+ tn as aY,
4846
+ X as aZ,
4847
+ on as a_,
4653
4848
  E as aa,
4654
- st as ab,
4655
- lt as ac,
4656
- ct as ad,
4657
- ot as ae,
4658
- ta as af,
4659
- aa as ag,
4660
- Kt as ah,
4661
- L as ai,
4662
- ht as aj,
4663
- ut as ak,
4664
- mt as al,
4665
- dt as am,
4666
- pt as an,
4667
- it as ao,
4668
- gt as ap,
4669
- bt as aq,
4670
- ra as ar,
4671
- na as as,
4672
- Jt as at,
4849
+ ct as ab,
4850
+ pt as ac,
4851
+ it as ad,
4852
+ lt as ae,
4853
+ na as af,
4854
+ ta as ag,
4855
+ Jt as ah,
4856
+ z as ai,
4857
+ gt as aj,
4858
+ bt as ak,
4859
+ ut as al,
4860
+ ht as am,
4861
+ mt as an,
4862
+ dt as ao,
4863
+ St as ap,
4864
+ vt as aq,
4865
+ oa as ar,
4866
+ ra as as,
4867
+ Zt as at,
4673
4868
  M as au,
4674
4869
  Pt as av,
4675
- vt as aw,
4676
- sa as ax,
4677
- oa as ay,
4678
- Xt as az,
4679
- Ft as b,
4680
- pa as b0,
4681
- tn as b1,
4682
- D as b2,
4870
+ Vt as aw,
4871
+ la as ax,
4872
+ sa as ay,
4873
+ en as az,
4874
+ Bt as b,
4875
+ rn as b0,
4876
+ H as b1,
4877
+ Dt as b2,
4683
4878
  ha as b3,
4684
- wa as b4,
4685
- on as b5,
4686
- Ee as b6,
4687
- le as b7,
4688
- N as b8,
4689
- Ca as b9,
4690
- ya as ba,
4691
- Na as bb,
4692
- Ra as bc,
4693
- Ua as bd,
4694
- Ta as be,
4695
- Ia as bf,
4696
- xa as bg,
4697
- I as bh,
4698
- re as bi,
4699
- Fe as bj,
4700
- ne as bk,
4701
- fa as bl,
4702
- xe as bm,
4703
- Me as bn,
4704
- nn as bo,
4705
- z as c,
4706
- Ea as d,
4707
- Ma as e,
4708
- Ba as f,
4709
- ja as g,
4710
- qa as h,
4711
- Da as i,
4712
- ma as j,
4713
- za as k,
4714
- La as l,
4715
- Qa as m,
4716
- Qe as n,
4717
- qe as o,
4718
- Dt as p,
4879
+ ma as b4,
4880
+ sn as b5,
4881
+ j as b6,
4882
+ ga as b7,
4883
+ Ma as b8,
4884
+ pn as b9,
4885
+ Me as ba,
4886
+ ie as bb,
4887
+ N as bc,
4888
+ xa as bd,
4889
+ Ia as be,
4890
+ Ta as bf,
4891
+ Ua as bg,
4892
+ wa as bh,
4893
+ fa as bi,
4894
+ Ra as bj,
4895
+ Na as bk,
4896
+ x as bl,
4897
+ oe as bm,
4898
+ De as bn,
4899
+ re as bo,
4900
+ Ea as bp,
4901
+ Re as bq,
4902
+ Fe as br,
4903
+ ln as bs,
4904
+ L as c,
4905
+ Fa as d,
4906
+ Da as e,
4907
+ ja as f,
4908
+ qa as g,
4909
+ La as h,
4910
+ Qa as i,
4911
+ ua as j,
4912
+ Ha as k,
4913
+ _a as l,
4914
+ za as m,
4915
+ Le as n,
4916
+ Qe as o,
4917
+ Qt as p,
4719
4918
  y as q,
4720
- Qt as r,
4919
+ zt as r,
4721
4920
  ze as s,
4722
- qt as t,
4723
- pe as u,
4724
- Ha as v,
4725
- Ga as w,
4726
- He as x,
4727
- Le as y,
4728
- zt as z
4921
+ Lt as t,
4922
+ de as u,
4923
+ Ga as v,
4924
+ $a as w,
4925
+ _e as x,
4926
+ He as y,
4927
+ Ht as z
4729
4928
  };