@krak-stack/registry 0.1.25 → 0.1.27

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 (44) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +5 -0
  3. package/dist/components/ui/data-table.js +212 -207
  4. package/dist/components/ui/effect-form.js +170 -169
  5. package/dist/components/ui/form.js +113 -112
  6. package/dist/components/ui/icon-input.js +43 -40
  7. package/dist/components/ui/pagination.js +2 -2
  8. package/dist/components/ui/sidebar-layout.d.ts +5 -2
  9. package/dist/components/ui/sidebar-layout.js +88 -80
  10. package/dist/components/ui/theme-switcher.js +3 -3
  11. package/dist/components/ui/virtualized-combobox.js +34 -31
  12. package/dist/lib/docs.d.ts +3 -1
  13. package/dist/lib/docs.js +181 -162
  14. package/dist/lib/docs.server.js +62 -36
  15. package/dist/lib/documentation-toolkit.js +63 -37
  16. package/dist/lib/httpapi-cli.js +7 -7
  17. package/dist/lib/httpapi-client.js +3 -3
  18. package/dist/lib/httpapi-helpers.js +11 -11
  19. package/dist/lib/httpapi-mcp.js +2 -2
  20. package/dist/lib/httpapi-toolkit.js +2 -2
  21. package/dist/lib/query.js +7 -7
  22. package/dist/lib/seo.js +2 -2
  23. package/dist/lib/webfetch-toolkit.js +6 -6
  24. package/dist/services/agent/client/index.js +129 -128
  25. package/dist/services/agent/schema.js +5 -5
  26. package/dist/services/file-extraction/index.js +4 -4
  27. package/dist/services/file-extraction/schema.js +2 -2
  28. package/dist/services/health/index.js +9 -9
  29. package/dist/services/notification/channels/ses/index.d.ts +2 -2
  30. package/dist/services/notification/channels/ses/index.js +2 -2
  31. package/dist/services/notification/channels/ses/schema.js +2 -2
  32. package/dist/services/notification/client/index.js +5 -5
  33. package/dist/services/notification/index.js +2 -2
  34. package/dist/services/notification/persistence/drizzle.d.ts +868 -0
  35. package/dist/services/notification/persistence/drizzle.js +2 -2
  36. package/dist/services/notification/persistence/index.d.ts +2 -0
  37. package/dist/services/notification/persistence/index.js +15 -15
  38. package/dist/services/notification/persistence/schema.d.ts +143 -0
  39. package/dist/services/notification/persistence/schema.js +12 -12
  40. package/dist/services/notification/public.js +7 -7
  41. package/dist/services/notification/schema.js +2 -2
  42. package/dist/services/s3/index.js +2 -2
  43. package/dist/services/s3/schema.js +2 -2
  44. package/package.json +2 -2
@@ -3,16 +3,20 @@
3
3
  import { Schema as Schema4 } from "effect";
4
4
 
5
5
  // ../../src/lib/docs.tsx
6
- import { Schema as Schema3 } from "effect";
6
+ import { createIsomorphicFn } from "@tanstack/react-start";
7
+ import { getCookie } from "@tanstack/react-start/server";
8
+ import { Option as Option2, Schema as Schema3 } from "effect";
9
+ import { Cookies as Cookies2 } from "effect/unstable/http";
7
10
  import {
8
11
  forwardRef,
9
12
  useDeferredValue,
10
13
  useEffect as useEffect5,
11
- useState as useState5
14
+ useState as useState6
12
15
  } from "react";
13
16
 
14
17
  // ../../src/components/ui/app-brand.tsx
15
18
  import { Link } from "@tanstack/react-router";
19
+ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
16
20
 
17
21
  // ../../src/components/ui/badge.tsx
18
22
  import { mergeProps } from "@base-ui/react/merge-props";
@@ -43,6 +47,7 @@ var badgeVariants = cva("group/badge inline-flex h-5 w-fit shrink-0 items-center
43
47
  // ../../src/components/ui/button.tsx
44
48
  import { Button as ButtonPrimitive } from "@base-ui/react/button";
45
49
  import { cva as cva2 } from "class-variance-authority";
50
+ import { jsx as jsx2 } from "react/jsx-runtime";
46
51
  var buttonVariants = cva2("group/button inline-flex shrink-0 items-center justify-center rounded-md border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
47
52
  variants: {
48
53
  variant: {
@@ -73,12 +78,14 @@ var buttonVariants = cva2("group/button inline-flex shrink-0 items-center justif
73
78
  // ../../src/components/ui/copy-button.tsx
74
79
  import { Check, Copy, TriangleAlert } from "lucide-react";
75
80
  import { useEffect, useRef, useState } from "react";
81
+ import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
76
82
 
77
83
  // ../../src/components/ui/code-block.tsx
78
84
  import { highlight } from "@tanstack/highlight";
79
85
  import { createThemeCss } from "@tanstack/highlight/theme";
80
86
  import { githubDarkTheme } from "@tanstack/highlight/themes/github-dark";
81
87
  import { githubLightTheme } from "@tanstack/highlight/themes/github-light";
88
+ import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
82
89
  var themeCss = `${createThemeCss({
83
90
  light: githubLightTheme,
84
91
  dark: githubDarkTheme,
@@ -96,8 +103,12 @@ var themeCss = `${createThemeCss({
96
103
  }
97
104
  [data-code-theme] pre.th-code code { font: inherit; }`;
98
105
 
106
+ // ../../src/lib/markdown/content.tsx
107
+ import { jsx as jsx5 } from "react/jsx-runtime";
108
+
99
109
  // ../../src/components/ui/collapsible.tsx
100
110
  import { Collapsible as CollapsiblePrimitive } from "@base-ui/react/collapsible";
111
+ import { jsx as jsx6 } from "react/jsx-runtime";
101
112
 
102
113
  // ../../src/components/ui/search-menu.tsx
103
114
  import { SearchIcon as SearchIcon2 } from "lucide-react";
@@ -110,6 +121,10 @@ import { SearchIcon } from "lucide-react";
110
121
  // ../../src/components/ui/dialog.tsx
111
122
  import { Dialog as DialogPrimitive } from "@base-ui/react/dialog";
112
123
  import { XIcon } from "lucide-react";
124
+ import { jsx as jsx7, jsxs as jsxs4 } from "react/jsx-runtime";
125
+
126
+ // ../../src/components/ui/command.tsx
127
+ import { jsx as jsx8, jsxs as jsxs5 } from "react/jsx-runtime";
113
128
 
114
129
  // ../../src/paraglide/runtime.js
115
130
  import"@inlang/paraglide-js/urlpattern-polyfill";
@@ -132,12 +147,14 @@ var rtlLanguages = new Set([
132
147
  var customServerStrategies = new Map;
133
148
  var customClientStrategies = new Map;
134
149
 
150
+ // ../../src/components/ui/search-menu.tsx
151
+ import { jsx as jsx9, jsxs as jsxs6, Fragment as Fragment2 } from "react/jsx-runtime";
152
+
135
153
  // ../../src/components/ui/sidebar-layout.tsx
136
- import { useAtom } from "@effect/atom-react";
137
- import { BrowserKeyValueStore } from "@effect/platform-browser";
138
154
  import { Link as Link2, Outlet, useRouterState } from "@tanstack/react-router";
139
- import { Schema as Schema2 } from "effect";
140
- import { Atom } from "effect/unstable/reactivity";
155
+ import { Option, Schema as Schema2 } from "effect";
156
+ import { Cookies } from "effect/unstable/http";
157
+ import { useState as useState5 } from "react";
141
158
 
142
159
  // ../../src/components/ui/sidebar.tsx
143
160
  import * as React2 from "react";
@@ -150,22 +167,30 @@ import * as React from "react";
150
167
 
151
168
  // ../../src/components/ui/input.tsx
152
169
  import { Input as InputPrimitive } from "@base-ui/react/input";
170
+ import { jsx as jsx10 } from "react/jsx-runtime";
153
171
 
154
172
  // ../../src/components/ui/separator.tsx
155
173
  import { Separator as SeparatorPrimitive } from "@base-ui/react/separator";
174
+ import { jsx as jsx11 } from "react/jsx-runtime";
156
175
 
157
176
  // ../../src/components/ui/sheet.tsx
158
177
  import { Dialog as SheetPrimitive } from "@base-ui/react/dialog";
159
178
  import { XIcon as XIcon2 } from "lucide-react";
179
+ import { jsx as jsx12, jsxs as jsxs7 } from "react/jsx-runtime";
160
180
  "use client";
161
181
 
182
+ // ../../src/components/ui/skeleton.tsx
183
+ import { jsx as jsx13 } from "react/jsx-runtime";
184
+
162
185
  // ../../src/components/ui/tooltip.tsx
163
186
  import { Tooltip as TooltipPrimitive } from "@base-ui/react/tooltip";
187
+ import { jsx as jsx14, jsxs as jsxs8 } from "react/jsx-runtime";
164
188
  "use client";
165
189
 
166
190
  // ../../src/components/ui/sidebar.tsx
167
191
  import { PanelLeftIcon } from "lucide-react";
168
192
  import { Schema } from "effect";
193
+ import { jsx as jsx15, jsxs as jsxs9 } from "react/jsx-runtime";
169
194
  var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
170
195
  var SidebarContext = React2.createContext(null);
171
196
  var sidebarMenuButtonVariants = cva3("peer/menu-button group/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm ring-sidebar-ring outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:font-medium data-active:text-sidebar-accent-foreground [&_svg]:size-4 [&_svg]:shrink-0 [&>span:last-child]:truncate", {
@@ -187,18 +212,20 @@ var sidebarMenuButtonVariants = cva3("peer/menu-button group/menu-button flex w-
187
212
  });
188
213
 
189
214
  // ../../src/components/ui/sidebar-layout.tsx
190
- var sidebarStorageRuntime = Atom.runtime(BrowserKeyValueStore.layerLocalStorage);
191
- var sidebarOpenAtom = Atom.kvs({
192
- runtime: sidebarStorageRuntime,
193
- key: "sidebar:open",
194
- schema: Schema2.Boolean,
195
- defaultValue: () => true
215
+ import { jsx as jsx16, jsxs as jsxs10 } from "react/jsx-runtime";
216
+ var SidebarOpenCookie = Schema2.Literals(["true", "false"]).annotate({
217
+ identifier: "SidebarOpenCookie"
196
218
  });
197
219
 
198
220
  // ../../src/lib/docs.tsx
199
- import { jsx, jsxs, Fragment } from "react/jsx-runtime";
221
+ import { jsx as jsx17, jsxs as jsxs11, Fragment as Fragment3 } from "react/jsx-runtime";
222
+ var SIDEBAR_COOKIE_NAME = "sidebar_state";
223
+ var SidebarOpenCookie2 = Schema3.Literals(["true", "false"]).annotate({
224
+ identifier: "SidebarOpenCookie"
225
+ });
226
+ var getSidebarOpenCookie = createIsomorphicFn().server(() => getCookie(SIDEBAR_COOKIE_NAME)).client(() => Cookies2.parseHeader(globalThis.document?.cookie ?? "")[SIDEBAR_COOKIE_NAME]);
200
227
  var makeIcon = (name, paths) => {
201
- const Icon = forwardRef(({ absoluteStrokeWidth: _absoluteStrokeWidth, size = 24, ...props }, ref) => /* @__PURE__ */ jsx("svg", {
228
+ const Icon = forwardRef(({ absoluteStrokeWidth: _absoluteStrokeWidth, size = 24, ...props }, ref) => /* @__PURE__ */ jsx17("svg", {
202
229
  "aria-hidden": "true",
203
230
  fill: "none",
204
231
  height: size,
@@ -215,73 +242,73 @@ var makeIcon = (name, paths) => {
215
242
  Icon.displayName = name;
216
243
  return Icon;
217
244
  };
218
- var ArrowLeft = makeIcon("ArrowLeft", /* @__PURE__ */ jsxs(Fragment, {
245
+ var ArrowLeft = makeIcon("ArrowLeft", /* @__PURE__ */ jsxs11(Fragment3, {
219
246
  children: [
220
- /* @__PURE__ */ jsx("path", {
247
+ /* @__PURE__ */ jsx17("path", {
221
248
  d: "m12 19-7-7 7-7"
222
249
  }),
223
- /* @__PURE__ */ jsx("path", {
250
+ /* @__PURE__ */ jsx17("path", {
224
251
  d: "M19 12H5"
225
252
  })
226
253
  ]
227
254
  }));
228
- var ArrowRight = makeIcon("ArrowRight", /* @__PURE__ */ jsxs(Fragment, {
255
+ var ArrowRight = makeIcon("ArrowRight", /* @__PURE__ */ jsxs11(Fragment3, {
229
256
  children: [
230
- /* @__PURE__ */ jsx("path", {
257
+ /* @__PURE__ */ jsx17("path", {
231
258
  d: "M5 12h14"
232
259
  }),
233
- /* @__PURE__ */ jsx("path", {
260
+ /* @__PURE__ */ jsx17("path", {
234
261
  d: "m12 5 7 7-7 7"
235
262
  })
236
263
  ]
237
264
  }));
238
- var BookOpen = makeIcon("BookOpen", /* @__PURE__ */ jsxs(Fragment, {
265
+ var BookOpen = makeIcon("BookOpen", /* @__PURE__ */ jsxs11(Fragment3, {
239
266
  children: [
240
- /* @__PURE__ */ jsx("path", {
267
+ /* @__PURE__ */ jsx17("path", {
241
268
  d: "M12 7v14"
242
269
  }),
243
- /* @__PURE__ */ jsx("path", {
270
+ /* @__PURE__ */ jsx17("path", {
244
271
  d: "M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-5a4 4 0 0 0-4 4 4 4 0 0 0-4-4Z"
245
272
  })
246
273
  ]
247
274
  }));
248
- var ChevronDown = makeIcon("ChevronDown", /* @__PURE__ */ jsx("path", {
275
+ var ChevronDown = makeIcon("ChevronDown", /* @__PURE__ */ jsx17("path", {
249
276
  d: "m6 9 6 6 6-6"
250
277
  }));
251
- var ExternalLink = makeIcon("ExternalLink", /* @__PURE__ */ jsxs(Fragment, {
278
+ var ExternalLink = makeIcon("ExternalLink", /* @__PURE__ */ jsxs11(Fragment3, {
252
279
  children: [
253
- /* @__PURE__ */ jsx("path", {
280
+ /* @__PURE__ */ jsx17("path", {
254
281
  d: "M15 3h6v6"
255
282
  }),
256
- /* @__PURE__ */ jsx("path", {
283
+ /* @__PURE__ */ jsx17("path", {
257
284
  d: "M10 14 21 3"
258
285
  }),
259
- /* @__PURE__ */ jsx("path", {
286
+ /* @__PURE__ */ jsx17("path", {
260
287
  d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"
261
288
  })
262
289
  ]
263
290
  }));
264
- var Hash = makeIcon("Hash", /* @__PURE__ */ jsxs(Fragment, {
291
+ var Hash = makeIcon("Hash", /* @__PURE__ */ jsxs11(Fragment3, {
265
292
  children: [
266
- /* @__PURE__ */ jsx("line", {
293
+ /* @__PURE__ */ jsx17("line", {
267
294
  x1: "4",
268
295
  x2: "20",
269
296
  y1: "9",
270
297
  y2: "9"
271
298
  }),
272
- /* @__PURE__ */ jsx("line", {
299
+ /* @__PURE__ */ jsx17("line", {
273
300
  x1: "4",
274
301
  x2: "20",
275
302
  y1: "15",
276
303
  y2: "15"
277
304
  }),
278
- /* @__PURE__ */ jsx("line", {
305
+ /* @__PURE__ */ jsx17("line", {
279
306
  x1: "10",
280
307
  x2: "8",
281
308
  y1: "3",
282
309
  y2: "21"
283
310
  }),
284
- /* @__PURE__ */ jsx("line", {
311
+ /* @__PURE__ */ jsx17("line", {
285
312
  x1: "16",
286
313
  x2: "14",
287
314
  y1: "3",
@@ -333,7 +360,6 @@ var DocsPageSchema = Schema3.Struct({
333
360
  sourceFile: Schema3.String,
334
361
  source: Schema3.String
335
362
  }).annotate({ identifier: "DocsPage" });
336
- var EmptyIcon = forwardRef(() => null);
337
363
 
338
364
  // ../../src/lib/markdown/server.ts
339
365
  var escapeHtml = (value) => value.replaceAll("&", "&amp;").replaceAll('"', "&quot;").replaceAll("'", "&#39;").replaceAll("<", "&lt;").replaceAll(">", "&gt;");
@@ -467,7 +493,7 @@ var loadMdxDocsDirectory = async (root) => {
467
493
  return pages;
468
494
  };
469
495
  export {
470
- compileDocsMarkdown,
496
+ loadMdxDocsDirectory,
471
497
  compileMdxDocsPage,
472
- loadMdxDocsDirectory
498
+ compileDocsMarkdown
473
499
  };
@@ -3,16 +3,20 @@ import { Effect, Schema as Schema4 } from "effect";
3
3
  import { Tool, Toolkit } from "effect/unstable/ai";
4
4
 
5
5
  // ../../src/lib/docs.tsx
6
- import { Schema as Schema3 } from "effect";
6
+ import { createIsomorphicFn } from "@tanstack/react-start";
7
+ import { getCookie } from "@tanstack/react-start/server";
8
+ import { Option as Option2, Schema as Schema3 } from "effect";
9
+ import { Cookies as Cookies2 } from "effect/unstable/http";
7
10
  import {
8
11
  forwardRef,
9
12
  useDeferredValue,
10
13
  useEffect as useEffect5,
11
- useState as useState5
14
+ useState as useState6
12
15
  } from "react";
13
16
 
14
17
  // ../../src/components/ui/app-brand.tsx
15
18
  import { Link } from "@tanstack/react-router";
19
+ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
16
20
 
17
21
  // ../../src/components/ui/badge.tsx
18
22
  import { mergeProps } from "@base-ui/react/merge-props";
@@ -43,6 +47,7 @@ var badgeVariants = cva("group/badge inline-flex h-5 w-fit shrink-0 items-center
43
47
  // ../../src/components/ui/button.tsx
44
48
  import { Button as ButtonPrimitive } from "@base-ui/react/button";
45
49
  import { cva as cva2 } from "class-variance-authority";
50
+ import { jsx as jsx2 } from "react/jsx-runtime";
46
51
  var buttonVariants = cva2("group/button inline-flex shrink-0 items-center justify-center rounded-md border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
47
52
  variants: {
48
53
  variant: {
@@ -73,12 +78,14 @@ var buttonVariants = cva2("group/button inline-flex shrink-0 items-center justif
73
78
  // ../../src/components/ui/copy-button.tsx
74
79
  import { Check, Copy, TriangleAlert } from "lucide-react";
75
80
  import { useEffect, useRef, useState } from "react";
81
+ import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
76
82
 
77
83
  // ../../src/components/ui/code-block.tsx
78
84
  import { highlight } from "@tanstack/highlight";
79
85
  import { createThemeCss } from "@tanstack/highlight/theme";
80
86
  import { githubDarkTheme } from "@tanstack/highlight/themes/github-dark";
81
87
  import { githubLightTheme } from "@tanstack/highlight/themes/github-light";
88
+ import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
82
89
  var themeCss = `${createThemeCss({
83
90
  light: githubLightTheme,
84
91
  dark: githubDarkTheme,
@@ -96,8 +103,12 @@ var themeCss = `${createThemeCss({
96
103
  }
97
104
  [data-code-theme] pre.th-code code { font: inherit; }`;
98
105
 
106
+ // ../../src/lib/markdown/content.tsx
107
+ import { jsx as jsx5 } from "react/jsx-runtime";
108
+
99
109
  // ../../src/components/ui/collapsible.tsx
100
110
  import { Collapsible as CollapsiblePrimitive } from "@base-ui/react/collapsible";
111
+ import { jsx as jsx6 } from "react/jsx-runtime";
101
112
 
102
113
  // ../../src/components/ui/search-menu.tsx
103
114
  import { SearchIcon as SearchIcon2 } from "lucide-react";
@@ -110,6 +121,10 @@ import { SearchIcon } from "lucide-react";
110
121
  // ../../src/components/ui/dialog.tsx
111
122
  import { Dialog as DialogPrimitive } from "@base-ui/react/dialog";
112
123
  import { XIcon } from "lucide-react";
124
+ import { jsx as jsx7, jsxs as jsxs4 } from "react/jsx-runtime";
125
+
126
+ // ../../src/components/ui/command.tsx
127
+ import { jsx as jsx8, jsxs as jsxs5 } from "react/jsx-runtime";
113
128
 
114
129
  // ../../src/paraglide/runtime.js
115
130
  import"@inlang/paraglide-js/urlpattern-polyfill";
@@ -132,12 +147,14 @@ var rtlLanguages = new Set([
132
147
  var customServerStrategies = new Map;
133
148
  var customClientStrategies = new Map;
134
149
 
150
+ // ../../src/components/ui/search-menu.tsx
151
+ import { jsx as jsx9, jsxs as jsxs6, Fragment as Fragment2 } from "react/jsx-runtime";
152
+
135
153
  // ../../src/components/ui/sidebar-layout.tsx
136
- import { useAtom } from "@effect/atom-react";
137
- import { BrowserKeyValueStore } from "@effect/platform-browser";
138
154
  import { Link as Link2, Outlet, useRouterState } from "@tanstack/react-router";
139
- import { Schema as Schema2 } from "effect";
140
- import { Atom } from "effect/unstable/reactivity";
155
+ import { Option, Schema as Schema2 } from "effect";
156
+ import { Cookies } from "effect/unstable/http";
157
+ import { useState as useState5 } from "react";
141
158
 
142
159
  // ../../src/components/ui/sidebar.tsx
143
160
  import * as React2 from "react";
@@ -150,22 +167,30 @@ import * as React from "react";
150
167
 
151
168
  // ../../src/components/ui/input.tsx
152
169
  import { Input as InputPrimitive } from "@base-ui/react/input";
170
+ import { jsx as jsx10 } from "react/jsx-runtime";
153
171
 
154
172
  // ../../src/components/ui/separator.tsx
155
173
  import { Separator as SeparatorPrimitive } from "@base-ui/react/separator";
174
+ import { jsx as jsx11 } from "react/jsx-runtime";
156
175
 
157
176
  // ../../src/components/ui/sheet.tsx
158
177
  import { Dialog as SheetPrimitive } from "@base-ui/react/dialog";
159
178
  import { XIcon as XIcon2 } from "lucide-react";
179
+ import { jsx as jsx12, jsxs as jsxs7 } from "react/jsx-runtime";
160
180
  "use client";
161
181
 
182
+ // ../../src/components/ui/skeleton.tsx
183
+ import { jsx as jsx13 } from "react/jsx-runtime";
184
+
162
185
  // ../../src/components/ui/tooltip.tsx
163
186
  import { Tooltip as TooltipPrimitive } from "@base-ui/react/tooltip";
187
+ import { jsx as jsx14, jsxs as jsxs8 } from "react/jsx-runtime";
164
188
  "use client";
165
189
 
166
190
  // ../../src/components/ui/sidebar.tsx
167
191
  import { PanelLeftIcon } from "lucide-react";
168
192
  import { Schema } from "effect";
193
+ import { jsx as jsx15, jsxs as jsxs9 } from "react/jsx-runtime";
169
194
  var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
170
195
  var SidebarContext = React2.createContext(null);
171
196
  var sidebarMenuButtonVariants = cva3("peer/menu-button group/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm ring-sidebar-ring outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:font-medium data-active:text-sidebar-accent-foreground [&_svg]:size-4 [&_svg]:shrink-0 [&>span:last-child]:truncate", {
@@ -187,18 +212,20 @@ var sidebarMenuButtonVariants = cva3("peer/menu-button group/menu-button flex w-
187
212
  });
188
213
 
189
214
  // ../../src/components/ui/sidebar-layout.tsx
190
- var sidebarStorageRuntime = Atom.runtime(BrowserKeyValueStore.layerLocalStorage);
191
- var sidebarOpenAtom = Atom.kvs({
192
- runtime: sidebarStorageRuntime,
193
- key: "sidebar:open",
194
- schema: Schema2.Boolean,
195
- defaultValue: () => true
215
+ import { jsx as jsx16, jsxs as jsxs10 } from "react/jsx-runtime";
216
+ var SidebarOpenCookie = Schema2.Literals(["true", "false"]).annotate({
217
+ identifier: "SidebarOpenCookie"
196
218
  });
197
219
 
198
220
  // ../../src/lib/docs.tsx
199
- import { jsx, jsxs, Fragment } from "react/jsx-runtime";
221
+ import { jsx as jsx17, jsxs as jsxs11, Fragment as Fragment3 } from "react/jsx-runtime";
222
+ var SIDEBAR_COOKIE_NAME = "sidebar_state";
223
+ var SidebarOpenCookie2 = Schema3.Literals(["true", "false"]).annotate({
224
+ identifier: "SidebarOpenCookie"
225
+ });
226
+ var getSidebarOpenCookie = createIsomorphicFn().server(() => getCookie(SIDEBAR_COOKIE_NAME)).client(() => Cookies2.parseHeader(globalThis.document?.cookie ?? "")[SIDEBAR_COOKIE_NAME]);
200
227
  var makeIcon = (name, paths) => {
201
- const Icon = forwardRef(({ absoluteStrokeWidth: _absoluteStrokeWidth, size = 24, ...props }, ref) => /* @__PURE__ */ jsx("svg", {
228
+ const Icon = forwardRef(({ absoluteStrokeWidth: _absoluteStrokeWidth, size = 24, ...props }, ref) => /* @__PURE__ */ jsx17("svg", {
202
229
  "aria-hidden": "true",
203
230
  fill: "none",
204
231
  height: size,
@@ -215,73 +242,73 @@ var makeIcon = (name, paths) => {
215
242
  Icon.displayName = name;
216
243
  return Icon;
217
244
  };
218
- var ArrowLeft = makeIcon("ArrowLeft", /* @__PURE__ */ jsxs(Fragment, {
245
+ var ArrowLeft = makeIcon("ArrowLeft", /* @__PURE__ */ jsxs11(Fragment3, {
219
246
  children: [
220
- /* @__PURE__ */ jsx("path", {
247
+ /* @__PURE__ */ jsx17("path", {
221
248
  d: "m12 19-7-7 7-7"
222
249
  }),
223
- /* @__PURE__ */ jsx("path", {
250
+ /* @__PURE__ */ jsx17("path", {
224
251
  d: "M19 12H5"
225
252
  })
226
253
  ]
227
254
  }));
228
- var ArrowRight = makeIcon("ArrowRight", /* @__PURE__ */ jsxs(Fragment, {
255
+ var ArrowRight = makeIcon("ArrowRight", /* @__PURE__ */ jsxs11(Fragment3, {
229
256
  children: [
230
- /* @__PURE__ */ jsx("path", {
257
+ /* @__PURE__ */ jsx17("path", {
231
258
  d: "M5 12h14"
232
259
  }),
233
- /* @__PURE__ */ jsx("path", {
260
+ /* @__PURE__ */ jsx17("path", {
234
261
  d: "m12 5 7 7-7 7"
235
262
  })
236
263
  ]
237
264
  }));
238
- var BookOpen = makeIcon("BookOpen", /* @__PURE__ */ jsxs(Fragment, {
265
+ var BookOpen = makeIcon("BookOpen", /* @__PURE__ */ jsxs11(Fragment3, {
239
266
  children: [
240
- /* @__PURE__ */ jsx("path", {
267
+ /* @__PURE__ */ jsx17("path", {
241
268
  d: "M12 7v14"
242
269
  }),
243
- /* @__PURE__ */ jsx("path", {
270
+ /* @__PURE__ */ jsx17("path", {
244
271
  d: "M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-5a4 4 0 0 0-4 4 4 4 0 0 0-4-4Z"
245
272
  })
246
273
  ]
247
274
  }));
248
- var ChevronDown = makeIcon("ChevronDown", /* @__PURE__ */ jsx("path", {
275
+ var ChevronDown = makeIcon("ChevronDown", /* @__PURE__ */ jsx17("path", {
249
276
  d: "m6 9 6 6 6-6"
250
277
  }));
251
- var ExternalLink = makeIcon("ExternalLink", /* @__PURE__ */ jsxs(Fragment, {
278
+ var ExternalLink = makeIcon("ExternalLink", /* @__PURE__ */ jsxs11(Fragment3, {
252
279
  children: [
253
- /* @__PURE__ */ jsx("path", {
280
+ /* @__PURE__ */ jsx17("path", {
254
281
  d: "M15 3h6v6"
255
282
  }),
256
- /* @__PURE__ */ jsx("path", {
283
+ /* @__PURE__ */ jsx17("path", {
257
284
  d: "M10 14 21 3"
258
285
  }),
259
- /* @__PURE__ */ jsx("path", {
286
+ /* @__PURE__ */ jsx17("path", {
260
287
  d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"
261
288
  })
262
289
  ]
263
290
  }));
264
- var Hash = makeIcon("Hash", /* @__PURE__ */ jsxs(Fragment, {
291
+ var Hash = makeIcon("Hash", /* @__PURE__ */ jsxs11(Fragment3, {
265
292
  children: [
266
- /* @__PURE__ */ jsx("line", {
293
+ /* @__PURE__ */ jsx17("line", {
267
294
  x1: "4",
268
295
  x2: "20",
269
296
  y1: "9",
270
297
  y2: "9"
271
298
  }),
272
- /* @__PURE__ */ jsx("line", {
299
+ /* @__PURE__ */ jsx17("line", {
273
300
  x1: "4",
274
301
  x2: "20",
275
302
  y1: "15",
276
303
  y2: "15"
277
304
  }),
278
- /* @__PURE__ */ jsx("line", {
305
+ /* @__PURE__ */ jsx17("line", {
279
306
  x1: "10",
280
307
  x2: "8",
281
308
  y1: "3",
282
309
  y2: "21"
283
310
  }),
284
- /* @__PURE__ */ jsx("line", {
311
+ /* @__PURE__ */ jsx17("line", {
285
312
  x1: "16",
286
313
  x2: "14",
287
314
  y1: "3",
@@ -333,7 +360,6 @@ var DocsPageSchema = Schema3.Struct({
333
360
  sourceFile: Schema3.String,
334
361
  source: Schema3.String
335
362
  }).annotate({ identifier: "DocsPage" });
336
- var EmptyIcon = forwardRef(() => null);
337
363
 
338
364
  // ../../src/lib/documentation-toolkit.ts
339
365
  var SearchDocumentation = Tool.make("searchDocumentation", {
@@ -396,8 +422,8 @@ var DocumentationToolkitLayer = ({
396
422
  readDocumentation: ({ paths }) => readDocumentation({ docs, locale, paths })
397
423
  });
398
424
  export {
399
- DocumentationToolkit,
400
- DocumentationToolkitLayer,
425
+ searchDocumentation,
401
426
  readDocumentation,
402
- searchDocumentation
427
+ DocumentationToolkitLayer,
428
+ DocumentationToolkit
403
429
  };
@@ -754,12 +754,12 @@ var runHttpApiCli = (layer, args = process.argv.slice(2)) => {
754
754
  }));
755
755
  };
756
756
  export {
757
- HttpApiCli,
758
- formatHttpApiCliCause,
759
- httpApiCli,
760
- httpApiCliEnvironmentLayer,
761
- makeHttpApiCliCommand,
762
- printHttpApiCliResult,
757
+ toHttpApiCliName,
763
758
  runHttpApiCli,
764
- toHttpApiCliName
759
+ printHttpApiCliResult,
760
+ makeHttpApiCliCommand,
761
+ httpApiCliEnvironmentLayer,
762
+ httpApiCli,
763
+ formatHttpApiCliCause,
764
+ HttpApiCli
765
765
  };
@@ -105,8 +105,8 @@ class ApiClient extends Context.Service()("ApiClient") {
105
105
  }));
106
106
  }
107
107
  export {
108
- ApiClient,
109
- HttpApiOperationResult,
108
+ makeHttpApiOperationResultEncoder,
110
109
  encodeHttpApiOperationResult,
111
- makeHttpApiOperationResultEncoder
110
+ HttpApiOperationResult,
111
+ ApiClient
112
112
  };
@@ -271,16 +271,16 @@ class HttpApiSpec extends Context.Service()("HttpApiSpec", {
271
271
  static layer = (config) => Layer.effect(this, this.make(config));
272
272
  }
273
273
  export {
274
- HttpApiMethods,
275
- HttpApiSpec,
276
- JsonObjectSchema,
277
- decodeHttpApiOperationInput,
278
- httpApiOperationInputSchema,
279
- httpApiOperations,
280
- httpApiToolEntries,
281
- httpApiToolName,
282
- parseJsonObject,
283
- parseJsonValue,
274
+ toHttpError,
284
275
  sanitizeHttpName,
285
- toHttpError
276
+ parseJsonValue,
277
+ parseJsonObject,
278
+ httpApiToolName,
279
+ httpApiToolEntries,
280
+ httpApiOperations,
281
+ httpApiOperationInputSchema,
282
+ decodeHttpApiOperationInput,
283
+ JsonObjectSchema,
284
+ HttpApiSpec,
285
+ HttpApiMethods
286
286
  };
@@ -471,7 +471,7 @@ var httpApiMcpServerLayer = (path) => Layer3.unwrap(Effect3.gen(function* () {
471
471
  });
472
472
  }));
473
473
  export {
474
- HttpApiMcp,
474
+ httpApiMcpToolsLayer,
475
475
  httpApiMcpServerLayer,
476
- httpApiMcpToolsLayer
476
+ HttpApiMcp
477
477
  };
@@ -434,6 +434,6 @@ var HttpApiToolkitLayer = (config) => Layer3.unwrap(buildHttpApiToolkit(config).
434
434
  }).pipe(Effect3.mapError((error) => error instanceof Error ? error.message : String(error)))
435
435
  ])))))));
436
436
  export {
437
- HttpApiToolkit,
438
- HttpApiToolkitLayer
437
+ HttpApiToolkitLayer,
438
+ HttpApiToolkit
439
439
  };
package/dist/lib/query.js CHANGED
@@ -103,12 +103,12 @@ var PaginatedResponse = (items) => Schema.Struct({
103
103
  meta: PaginationMeta
104
104
  });
105
105
  export {
106
- PaginatedResponse,
107
- PaginationMeta,
108
- Query,
109
- QueryStandard,
110
- SortDirection,
111
- SortParam,
106
+ SortParamsFromString,
112
107
  SortParamFromString,
113
- SortParamsFromString
108
+ SortParam,
109
+ SortDirection,
110
+ QueryStandard,
111
+ Query,
112
+ PaginationMeta,
113
+ PaginatedResponse
114
114
  };
package/dist/lib/seo.js CHANGED
@@ -111,6 +111,6 @@ var createSeo = (defaults) => (options) => seo({
111
111
  ...options
112
112
  });
113
113
  export {
114
- createSeo,
115
- seo
114
+ seo,
115
+ createSeo
116
116
  };
@@ -268,11 +268,11 @@ var WebFetchToolkitLayer = (options = {}) => {
268
268
  }));
269
269
  };
270
270
  export {
271
- WebFetchFailure,
272
- WebFetchRequest,
273
- WebFetchResponse,
274
- WebFetchToolkit,
275
- WebFetchToolkitLayer,
271
+ defaultWebFetchToolkitOptions,
276
272
  WebFetchToolkitOptions,
277
- defaultWebFetchToolkitOptions
273
+ WebFetchToolkitLayer,
274
+ WebFetchToolkit,
275
+ WebFetchResponse,
276
+ WebFetchRequest,
277
+ WebFetchFailure
278
278
  };