@krak-stack/registry 0.1.26 → 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.
- package/LICENSE +21 -0
- package/README.md +5 -0
- package/dist/components/ui/data-table.js +212 -207
- package/dist/components/ui/effect-form.js +170 -169
- package/dist/components/ui/form.js +113 -112
- package/dist/components/ui/icon-input.js +43 -40
- package/dist/components/ui/pagination.js +2 -2
- package/dist/components/ui/sidebar-layout.js +71 -66
- package/dist/components/ui/theme-switcher.js +3 -3
- package/dist/components/ui/virtualized-combobox.js +34 -31
- package/dist/lib/docs.js +138 -133
- package/dist/lib/docs.server.js +47 -23
- package/dist/lib/documentation-toolkit.js +48 -24
- package/dist/lib/httpapi-cli.js +7 -7
- package/dist/lib/httpapi-client.js +3 -3
- package/dist/lib/httpapi-helpers.js +11 -11
- package/dist/lib/httpapi-mcp.js +2 -2
- package/dist/lib/httpapi-toolkit.js +2 -2
- package/dist/lib/query.js +7 -7
- package/dist/lib/seo.js +2 -2
- package/dist/lib/webfetch-toolkit.js +6 -6
- package/dist/services/agent/client/index.js +128 -127
- package/dist/services/agent/schema.js +5 -5
- package/dist/services/file-extraction/index.js +4 -4
- package/dist/services/file-extraction/schema.js +2 -2
- package/dist/services/health/index.js +9 -9
- package/dist/services/notification/channels/ses/index.d.ts +2 -2
- package/dist/services/notification/channels/ses/index.js +2 -2
- package/dist/services/notification/channels/ses/schema.js +2 -2
- package/dist/services/notification/client/index.js +5 -5
- package/dist/services/notification/index.js +2 -2
- package/dist/services/notification/persistence/drizzle.d.ts +868 -0
- package/dist/services/notification/persistence/drizzle.js +2 -2
- package/dist/services/notification/persistence/index.d.ts +2 -0
- package/dist/services/notification/persistence/index.js +15 -15
- package/dist/services/notification/persistence/schema.d.ts +143 -0
- package/dist/services/notification/persistence/schema.js +12 -12
- package/dist/services/notification/public.js +7 -7
- package/dist/services/notification/schema.js +2 -2
- package/dist/services/s3/index.js +2 -2
- package/dist/services/s3/schema.js +2 -2
- package/package.json +2 -2
package/dist/lib/docs.server.js
CHANGED
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
|
|
17
17
|
// ../../src/components/ui/app-brand.tsx
|
|
18
18
|
import { Link } from "@tanstack/react-router";
|
|
19
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
19
20
|
|
|
20
21
|
// ../../src/components/ui/badge.tsx
|
|
21
22
|
import { mergeProps } from "@base-ui/react/merge-props";
|
|
@@ -46,6 +47,7 @@ var badgeVariants = cva("group/badge inline-flex h-5 w-fit shrink-0 items-center
|
|
|
46
47
|
// ../../src/components/ui/button.tsx
|
|
47
48
|
import { Button as ButtonPrimitive } from "@base-ui/react/button";
|
|
48
49
|
import { cva as cva2 } from "class-variance-authority";
|
|
50
|
+
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
49
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", {
|
|
50
52
|
variants: {
|
|
51
53
|
variant: {
|
|
@@ -76,12 +78,14 @@ var buttonVariants = cva2("group/button inline-flex shrink-0 items-center justif
|
|
|
76
78
|
// ../../src/components/ui/copy-button.tsx
|
|
77
79
|
import { Check, Copy, TriangleAlert } from "lucide-react";
|
|
78
80
|
import { useEffect, useRef, useState } from "react";
|
|
81
|
+
import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
79
82
|
|
|
80
83
|
// ../../src/components/ui/code-block.tsx
|
|
81
84
|
import { highlight } from "@tanstack/highlight";
|
|
82
85
|
import { createThemeCss } from "@tanstack/highlight/theme";
|
|
83
86
|
import { githubDarkTheme } from "@tanstack/highlight/themes/github-dark";
|
|
84
87
|
import { githubLightTheme } from "@tanstack/highlight/themes/github-light";
|
|
88
|
+
import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
85
89
|
var themeCss = `${createThemeCss({
|
|
86
90
|
light: githubLightTheme,
|
|
87
91
|
dark: githubDarkTheme,
|
|
@@ -99,8 +103,12 @@ var themeCss = `${createThemeCss({
|
|
|
99
103
|
}
|
|
100
104
|
[data-code-theme] pre.th-code code { font: inherit; }`;
|
|
101
105
|
|
|
106
|
+
// ../../src/lib/markdown/content.tsx
|
|
107
|
+
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
108
|
+
|
|
102
109
|
// ../../src/components/ui/collapsible.tsx
|
|
103
110
|
import { Collapsible as CollapsiblePrimitive } from "@base-ui/react/collapsible";
|
|
111
|
+
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
104
112
|
|
|
105
113
|
// ../../src/components/ui/search-menu.tsx
|
|
106
114
|
import { SearchIcon as SearchIcon2 } from "lucide-react";
|
|
@@ -113,6 +121,10 @@ import { SearchIcon } from "lucide-react";
|
|
|
113
121
|
// ../../src/components/ui/dialog.tsx
|
|
114
122
|
import { Dialog as DialogPrimitive } from "@base-ui/react/dialog";
|
|
115
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";
|
|
116
128
|
|
|
117
129
|
// ../../src/paraglide/runtime.js
|
|
118
130
|
import"@inlang/paraglide-js/urlpattern-polyfill";
|
|
@@ -135,6 +147,9 @@ var rtlLanguages = new Set([
|
|
|
135
147
|
var customServerStrategies = new Map;
|
|
136
148
|
var customClientStrategies = new Map;
|
|
137
149
|
|
|
150
|
+
// ../../src/components/ui/search-menu.tsx
|
|
151
|
+
import { jsx as jsx9, jsxs as jsxs6, Fragment as Fragment2 } from "react/jsx-runtime";
|
|
152
|
+
|
|
138
153
|
// ../../src/components/ui/sidebar-layout.tsx
|
|
139
154
|
import { Link as Link2, Outlet, useRouterState } from "@tanstack/react-router";
|
|
140
155
|
import { Option, Schema as Schema2 } from "effect";
|
|
@@ -152,22 +167,30 @@ import * as React from "react";
|
|
|
152
167
|
|
|
153
168
|
// ../../src/components/ui/input.tsx
|
|
154
169
|
import { Input as InputPrimitive } from "@base-ui/react/input";
|
|
170
|
+
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
155
171
|
|
|
156
172
|
// ../../src/components/ui/separator.tsx
|
|
157
173
|
import { Separator as SeparatorPrimitive } from "@base-ui/react/separator";
|
|
174
|
+
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
158
175
|
|
|
159
176
|
// ../../src/components/ui/sheet.tsx
|
|
160
177
|
import { Dialog as SheetPrimitive } from "@base-ui/react/dialog";
|
|
161
178
|
import { XIcon as XIcon2 } from "lucide-react";
|
|
179
|
+
import { jsx as jsx12, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
162
180
|
"use client";
|
|
163
181
|
|
|
182
|
+
// ../../src/components/ui/skeleton.tsx
|
|
183
|
+
import { jsx as jsx13 } from "react/jsx-runtime";
|
|
184
|
+
|
|
164
185
|
// ../../src/components/ui/tooltip.tsx
|
|
165
186
|
import { Tooltip as TooltipPrimitive } from "@base-ui/react/tooltip";
|
|
187
|
+
import { jsx as jsx14, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
166
188
|
"use client";
|
|
167
189
|
|
|
168
190
|
// ../../src/components/ui/sidebar.tsx
|
|
169
191
|
import { PanelLeftIcon } from "lucide-react";
|
|
170
192
|
import { Schema } from "effect";
|
|
193
|
+
import { jsx as jsx15, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
171
194
|
var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
|
|
172
195
|
var SidebarContext = React2.createContext(null);
|
|
173
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", {
|
|
@@ -189,19 +212,20 @@ var sidebarMenuButtonVariants = cva3("peer/menu-button group/menu-button flex w-
|
|
|
189
212
|
});
|
|
190
213
|
|
|
191
214
|
// ../../src/components/ui/sidebar-layout.tsx
|
|
215
|
+
import { jsx as jsx16, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
192
216
|
var SidebarOpenCookie = Schema2.Literals(["true", "false"]).annotate({
|
|
193
217
|
identifier: "SidebarOpenCookie"
|
|
194
218
|
});
|
|
195
219
|
|
|
196
220
|
// ../../src/lib/docs.tsx
|
|
197
|
-
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
221
|
+
import { jsx as jsx17, jsxs as jsxs11, Fragment as Fragment3 } from "react/jsx-runtime";
|
|
198
222
|
var SIDEBAR_COOKIE_NAME = "sidebar_state";
|
|
199
223
|
var SidebarOpenCookie2 = Schema3.Literals(["true", "false"]).annotate({
|
|
200
224
|
identifier: "SidebarOpenCookie"
|
|
201
225
|
});
|
|
202
226
|
var getSidebarOpenCookie = createIsomorphicFn().server(() => getCookie(SIDEBAR_COOKIE_NAME)).client(() => Cookies2.parseHeader(globalThis.document?.cookie ?? "")[SIDEBAR_COOKIE_NAME]);
|
|
203
227
|
var makeIcon = (name, paths) => {
|
|
204
|
-
const Icon = forwardRef(({ absoluteStrokeWidth: _absoluteStrokeWidth, size = 24, ...props }, ref) => /* @__PURE__ */
|
|
228
|
+
const Icon = forwardRef(({ absoluteStrokeWidth: _absoluteStrokeWidth, size = 24, ...props }, ref) => /* @__PURE__ */ jsx17("svg", {
|
|
205
229
|
"aria-hidden": "true",
|
|
206
230
|
fill: "none",
|
|
207
231
|
height: size,
|
|
@@ -218,73 +242,73 @@ var makeIcon = (name, paths) => {
|
|
|
218
242
|
Icon.displayName = name;
|
|
219
243
|
return Icon;
|
|
220
244
|
};
|
|
221
|
-
var ArrowLeft = makeIcon("ArrowLeft", /* @__PURE__ */
|
|
245
|
+
var ArrowLeft = makeIcon("ArrowLeft", /* @__PURE__ */ jsxs11(Fragment3, {
|
|
222
246
|
children: [
|
|
223
|
-
/* @__PURE__ */
|
|
247
|
+
/* @__PURE__ */ jsx17("path", {
|
|
224
248
|
d: "m12 19-7-7 7-7"
|
|
225
249
|
}),
|
|
226
|
-
/* @__PURE__ */
|
|
250
|
+
/* @__PURE__ */ jsx17("path", {
|
|
227
251
|
d: "M19 12H5"
|
|
228
252
|
})
|
|
229
253
|
]
|
|
230
254
|
}));
|
|
231
|
-
var ArrowRight = makeIcon("ArrowRight", /* @__PURE__ */
|
|
255
|
+
var ArrowRight = makeIcon("ArrowRight", /* @__PURE__ */ jsxs11(Fragment3, {
|
|
232
256
|
children: [
|
|
233
|
-
/* @__PURE__ */
|
|
257
|
+
/* @__PURE__ */ jsx17("path", {
|
|
234
258
|
d: "M5 12h14"
|
|
235
259
|
}),
|
|
236
|
-
/* @__PURE__ */
|
|
260
|
+
/* @__PURE__ */ jsx17("path", {
|
|
237
261
|
d: "m12 5 7 7-7 7"
|
|
238
262
|
})
|
|
239
263
|
]
|
|
240
264
|
}));
|
|
241
|
-
var BookOpen = makeIcon("BookOpen", /* @__PURE__ */
|
|
265
|
+
var BookOpen = makeIcon("BookOpen", /* @__PURE__ */ jsxs11(Fragment3, {
|
|
242
266
|
children: [
|
|
243
|
-
/* @__PURE__ */
|
|
267
|
+
/* @__PURE__ */ jsx17("path", {
|
|
244
268
|
d: "M12 7v14"
|
|
245
269
|
}),
|
|
246
|
-
/* @__PURE__ */
|
|
270
|
+
/* @__PURE__ */ jsx17("path", {
|
|
247
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"
|
|
248
272
|
})
|
|
249
273
|
]
|
|
250
274
|
}));
|
|
251
|
-
var ChevronDown = makeIcon("ChevronDown", /* @__PURE__ */
|
|
275
|
+
var ChevronDown = makeIcon("ChevronDown", /* @__PURE__ */ jsx17("path", {
|
|
252
276
|
d: "m6 9 6 6 6-6"
|
|
253
277
|
}));
|
|
254
|
-
var ExternalLink = makeIcon("ExternalLink", /* @__PURE__ */
|
|
278
|
+
var ExternalLink = makeIcon("ExternalLink", /* @__PURE__ */ jsxs11(Fragment3, {
|
|
255
279
|
children: [
|
|
256
|
-
/* @__PURE__ */
|
|
280
|
+
/* @__PURE__ */ jsx17("path", {
|
|
257
281
|
d: "M15 3h6v6"
|
|
258
282
|
}),
|
|
259
|
-
/* @__PURE__ */
|
|
283
|
+
/* @__PURE__ */ jsx17("path", {
|
|
260
284
|
d: "M10 14 21 3"
|
|
261
285
|
}),
|
|
262
|
-
/* @__PURE__ */
|
|
286
|
+
/* @__PURE__ */ jsx17("path", {
|
|
263
287
|
d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"
|
|
264
288
|
})
|
|
265
289
|
]
|
|
266
290
|
}));
|
|
267
|
-
var Hash = makeIcon("Hash", /* @__PURE__ */
|
|
291
|
+
var Hash = makeIcon("Hash", /* @__PURE__ */ jsxs11(Fragment3, {
|
|
268
292
|
children: [
|
|
269
|
-
/* @__PURE__ */
|
|
293
|
+
/* @__PURE__ */ jsx17("line", {
|
|
270
294
|
x1: "4",
|
|
271
295
|
x2: "20",
|
|
272
296
|
y1: "9",
|
|
273
297
|
y2: "9"
|
|
274
298
|
}),
|
|
275
|
-
/* @__PURE__ */
|
|
299
|
+
/* @__PURE__ */ jsx17("line", {
|
|
276
300
|
x1: "4",
|
|
277
301
|
x2: "20",
|
|
278
302
|
y1: "15",
|
|
279
303
|
y2: "15"
|
|
280
304
|
}),
|
|
281
|
-
/* @__PURE__ */
|
|
305
|
+
/* @__PURE__ */ jsx17("line", {
|
|
282
306
|
x1: "10",
|
|
283
307
|
x2: "8",
|
|
284
308
|
y1: "3",
|
|
285
309
|
y2: "21"
|
|
286
310
|
}),
|
|
287
|
-
/* @__PURE__ */
|
|
311
|
+
/* @__PURE__ */ jsx17("line", {
|
|
288
312
|
x1: "16",
|
|
289
313
|
x2: "14",
|
|
290
314
|
y1: "3",
|
|
@@ -469,7 +493,7 @@ var loadMdxDocsDirectory = async (root) => {
|
|
|
469
493
|
return pages;
|
|
470
494
|
};
|
|
471
495
|
export {
|
|
472
|
-
|
|
496
|
+
loadMdxDocsDirectory,
|
|
473
497
|
compileMdxDocsPage,
|
|
474
|
-
|
|
498
|
+
compileDocsMarkdown
|
|
475
499
|
};
|
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
|
|
17
17
|
// ../../src/components/ui/app-brand.tsx
|
|
18
18
|
import { Link } from "@tanstack/react-router";
|
|
19
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
19
20
|
|
|
20
21
|
// ../../src/components/ui/badge.tsx
|
|
21
22
|
import { mergeProps } from "@base-ui/react/merge-props";
|
|
@@ -46,6 +47,7 @@ var badgeVariants = cva("group/badge inline-flex h-5 w-fit shrink-0 items-center
|
|
|
46
47
|
// ../../src/components/ui/button.tsx
|
|
47
48
|
import { Button as ButtonPrimitive } from "@base-ui/react/button";
|
|
48
49
|
import { cva as cva2 } from "class-variance-authority";
|
|
50
|
+
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
49
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", {
|
|
50
52
|
variants: {
|
|
51
53
|
variant: {
|
|
@@ -76,12 +78,14 @@ var buttonVariants = cva2("group/button inline-flex shrink-0 items-center justif
|
|
|
76
78
|
// ../../src/components/ui/copy-button.tsx
|
|
77
79
|
import { Check, Copy, TriangleAlert } from "lucide-react";
|
|
78
80
|
import { useEffect, useRef, useState } from "react";
|
|
81
|
+
import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
79
82
|
|
|
80
83
|
// ../../src/components/ui/code-block.tsx
|
|
81
84
|
import { highlight } from "@tanstack/highlight";
|
|
82
85
|
import { createThemeCss } from "@tanstack/highlight/theme";
|
|
83
86
|
import { githubDarkTheme } from "@tanstack/highlight/themes/github-dark";
|
|
84
87
|
import { githubLightTheme } from "@tanstack/highlight/themes/github-light";
|
|
88
|
+
import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
85
89
|
var themeCss = `${createThemeCss({
|
|
86
90
|
light: githubLightTheme,
|
|
87
91
|
dark: githubDarkTheme,
|
|
@@ -99,8 +103,12 @@ var themeCss = `${createThemeCss({
|
|
|
99
103
|
}
|
|
100
104
|
[data-code-theme] pre.th-code code { font: inherit; }`;
|
|
101
105
|
|
|
106
|
+
// ../../src/lib/markdown/content.tsx
|
|
107
|
+
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
108
|
+
|
|
102
109
|
// ../../src/components/ui/collapsible.tsx
|
|
103
110
|
import { Collapsible as CollapsiblePrimitive } from "@base-ui/react/collapsible";
|
|
111
|
+
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
104
112
|
|
|
105
113
|
// ../../src/components/ui/search-menu.tsx
|
|
106
114
|
import { SearchIcon as SearchIcon2 } from "lucide-react";
|
|
@@ -113,6 +121,10 @@ import { SearchIcon } from "lucide-react";
|
|
|
113
121
|
// ../../src/components/ui/dialog.tsx
|
|
114
122
|
import { Dialog as DialogPrimitive } from "@base-ui/react/dialog";
|
|
115
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";
|
|
116
128
|
|
|
117
129
|
// ../../src/paraglide/runtime.js
|
|
118
130
|
import"@inlang/paraglide-js/urlpattern-polyfill";
|
|
@@ -135,6 +147,9 @@ var rtlLanguages = new Set([
|
|
|
135
147
|
var customServerStrategies = new Map;
|
|
136
148
|
var customClientStrategies = new Map;
|
|
137
149
|
|
|
150
|
+
// ../../src/components/ui/search-menu.tsx
|
|
151
|
+
import { jsx as jsx9, jsxs as jsxs6, Fragment as Fragment2 } from "react/jsx-runtime";
|
|
152
|
+
|
|
138
153
|
// ../../src/components/ui/sidebar-layout.tsx
|
|
139
154
|
import { Link as Link2, Outlet, useRouterState } from "@tanstack/react-router";
|
|
140
155
|
import { Option, Schema as Schema2 } from "effect";
|
|
@@ -152,22 +167,30 @@ import * as React from "react";
|
|
|
152
167
|
|
|
153
168
|
// ../../src/components/ui/input.tsx
|
|
154
169
|
import { Input as InputPrimitive } from "@base-ui/react/input";
|
|
170
|
+
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
155
171
|
|
|
156
172
|
// ../../src/components/ui/separator.tsx
|
|
157
173
|
import { Separator as SeparatorPrimitive } from "@base-ui/react/separator";
|
|
174
|
+
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
158
175
|
|
|
159
176
|
// ../../src/components/ui/sheet.tsx
|
|
160
177
|
import { Dialog as SheetPrimitive } from "@base-ui/react/dialog";
|
|
161
178
|
import { XIcon as XIcon2 } from "lucide-react";
|
|
179
|
+
import { jsx as jsx12, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
162
180
|
"use client";
|
|
163
181
|
|
|
182
|
+
// ../../src/components/ui/skeleton.tsx
|
|
183
|
+
import { jsx as jsx13 } from "react/jsx-runtime";
|
|
184
|
+
|
|
164
185
|
// ../../src/components/ui/tooltip.tsx
|
|
165
186
|
import { Tooltip as TooltipPrimitive } from "@base-ui/react/tooltip";
|
|
187
|
+
import { jsx as jsx14, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
166
188
|
"use client";
|
|
167
189
|
|
|
168
190
|
// ../../src/components/ui/sidebar.tsx
|
|
169
191
|
import { PanelLeftIcon } from "lucide-react";
|
|
170
192
|
import { Schema } from "effect";
|
|
193
|
+
import { jsx as jsx15, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
171
194
|
var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
|
|
172
195
|
var SidebarContext = React2.createContext(null);
|
|
173
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", {
|
|
@@ -189,19 +212,20 @@ var sidebarMenuButtonVariants = cva3("peer/menu-button group/menu-button flex w-
|
|
|
189
212
|
});
|
|
190
213
|
|
|
191
214
|
// ../../src/components/ui/sidebar-layout.tsx
|
|
215
|
+
import { jsx as jsx16, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
192
216
|
var SidebarOpenCookie = Schema2.Literals(["true", "false"]).annotate({
|
|
193
217
|
identifier: "SidebarOpenCookie"
|
|
194
218
|
});
|
|
195
219
|
|
|
196
220
|
// ../../src/lib/docs.tsx
|
|
197
|
-
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
221
|
+
import { jsx as jsx17, jsxs as jsxs11, Fragment as Fragment3 } from "react/jsx-runtime";
|
|
198
222
|
var SIDEBAR_COOKIE_NAME = "sidebar_state";
|
|
199
223
|
var SidebarOpenCookie2 = Schema3.Literals(["true", "false"]).annotate({
|
|
200
224
|
identifier: "SidebarOpenCookie"
|
|
201
225
|
});
|
|
202
226
|
var getSidebarOpenCookie = createIsomorphicFn().server(() => getCookie(SIDEBAR_COOKIE_NAME)).client(() => Cookies2.parseHeader(globalThis.document?.cookie ?? "")[SIDEBAR_COOKIE_NAME]);
|
|
203
227
|
var makeIcon = (name, paths) => {
|
|
204
|
-
const Icon = forwardRef(({ absoluteStrokeWidth: _absoluteStrokeWidth, size = 24, ...props }, ref) => /* @__PURE__ */
|
|
228
|
+
const Icon = forwardRef(({ absoluteStrokeWidth: _absoluteStrokeWidth, size = 24, ...props }, ref) => /* @__PURE__ */ jsx17("svg", {
|
|
205
229
|
"aria-hidden": "true",
|
|
206
230
|
fill: "none",
|
|
207
231
|
height: size,
|
|
@@ -218,73 +242,73 @@ var makeIcon = (name, paths) => {
|
|
|
218
242
|
Icon.displayName = name;
|
|
219
243
|
return Icon;
|
|
220
244
|
};
|
|
221
|
-
var ArrowLeft = makeIcon("ArrowLeft", /* @__PURE__ */
|
|
245
|
+
var ArrowLeft = makeIcon("ArrowLeft", /* @__PURE__ */ jsxs11(Fragment3, {
|
|
222
246
|
children: [
|
|
223
|
-
/* @__PURE__ */
|
|
247
|
+
/* @__PURE__ */ jsx17("path", {
|
|
224
248
|
d: "m12 19-7-7 7-7"
|
|
225
249
|
}),
|
|
226
|
-
/* @__PURE__ */
|
|
250
|
+
/* @__PURE__ */ jsx17("path", {
|
|
227
251
|
d: "M19 12H5"
|
|
228
252
|
})
|
|
229
253
|
]
|
|
230
254
|
}));
|
|
231
|
-
var ArrowRight = makeIcon("ArrowRight", /* @__PURE__ */
|
|
255
|
+
var ArrowRight = makeIcon("ArrowRight", /* @__PURE__ */ jsxs11(Fragment3, {
|
|
232
256
|
children: [
|
|
233
|
-
/* @__PURE__ */
|
|
257
|
+
/* @__PURE__ */ jsx17("path", {
|
|
234
258
|
d: "M5 12h14"
|
|
235
259
|
}),
|
|
236
|
-
/* @__PURE__ */
|
|
260
|
+
/* @__PURE__ */ jsx17("path", {
|
|
237
261
|
d: "m12 5 7 7-7 7"
|
|
238
262
|
})
|
|
239
263
|
]
|
|
240
264
|
}));
|
|
241
|
-
var BookOpen = makeIcon("BookOpen", /* @__PURE__ */
|
|
265
|
+
var BookOpen = makeIcon("BookOpen", /* @__PURE__ */ jsxs11(Fragment3, {
|
|
242
266
|
children: [
|
|
243
|
-
/* @__PURE__ */
|
|
267
|
+
/* @__PURE__ */ jsx17("path", {
|
|
244
268
|
d: "M12 7v14"
|
|
245
269
|
}),
|
|
246
|
-
/* @__PURE__ */
|
|
270
|
+
/* @__PURE__ */ jsx17("path", {
|
|
247
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"
|
|
248
272
|
})
|
|
249
273
|
]
|
|
250
274
|
}));
|
|
251
|
-
var ChevronDown = makeIcon("ChevronDown", /* @__PURE__ */
|
|
275
|
+
var ChevronDown = makeIcon("ChevronDown", /* @__PURE__ */ jsx17("path", {
|
|
252
276
|
d: "m6 9 6 6 6-6"
|
|
253
277
|
}));
|
|
254
|
-
var ExternalLink = makeIcon("ExternalLink", /* @__PURE__ */
|
|
278
|
+
var ExternalLink = makeIcon("ExternalLink", /* @__PURE__ */ jsxs11(Fragment3, {
|
|
255
279
|
children: [
|
|
256
|
-
/* @__PURE__ */
|
|
280
|
+
/* @__PURE__ */ jsx17("path", {
|
|
257
281
|
d: "M15 3h6v6"
|
|
258
282
|
}),
|
|
259
|
-
/* @__PURE__ */
|
|
283
|
+
/* @__PURE__ */ jsx17("path", {
|
|
260
284
|
d: "M10 14 21 3"
|
|
261
285
|
}),
|
|
262
|
-
/* @__PURE__ */
|
|
286
|
+
/* @__PURE__ */ jsx17("path", {
|
|
263
287
|
d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"
|
|
264
288
|
})
|
|
265
289
|
]
|
|
266
290
|
}));
|
|
267
|
-
var Hash = makeIcon("Hash", /* @__PURE__ */
|
|
291
|
+
var Hash = makeIcon("Hash", /* @__PURE__ */ jsxs11(Fragment3, {
|
|
268
292
|
children: [
|
|
269
|
-
/* @__PURE__ */
|
|
293
|
+
/* @__PURE__ */ jsx17("line", {
|
|
270
294
|
x1: "4",
|
|
271
295
|
x2: "20",
|
|
272
296
|
y1: "9",
|
|
273
297
|
y2: "9"
|
|
274
298
|
}),
|
|
275
|
-
/* @__PURE__ */
|
|
299
|
+
/* @__PURE__ */ jsx17("line", {
|
|
276
300
|
x1: "4",
|
|
277
301
|
x2: "20",
|
|
278
302
|
y1: "15",
|
|
279
303
|
y2: "15"
|
|
280
304
|
}),
|
|
281
|
-
/* @__PURE__ */
|
|
305
|
+
/* @__PURE__ */ jsx17("line", {
|
|
282
306
|
x1: "10",
|
|
283
307
|
x2: "8",
|
|
284
308
|
y1: "3",
|
|
285
309
|
y2: "21"
|
|
286
310
|
}),
|
|
287
|
-
/* @__PURE__ */
|
|
311
|
+
/* @__PURE__ */ jsx17("line", {
|
|
288
312
|
x1: "16",
|
|
289
313
|
x2: "14",
|
|
290
314
|
y1: "3",
|
|
@@ -398,8 +422,8 @@ var DocumentationToolkitLayer = ({
|
|
|
398
422
|
readDocumentation: ({ paths }) => readDocumentation({ docs, locale, paths })
|
|
399
423
|
});
|
|
400
424
|
export {
|
|
401
|
-
|
|
402
|
-
DocumentationToolkitLayer,
|
|
425
|
+
searchDocumentation,
|
|
403
426
|
readDocumentation,
|
|
404
|
-
|
|
427
|
+
DocumentationToolkitLayer,
|
|
428
|
+
DocumentationToolkit
|
|
405
429
|
};
|
package/dist/lib/httpapi-cli.js
CHANGED
|
@@ -754,12 +754,12 @@ var runHttpApiCli = (layer, args = process.argv.slice(2)) => {
|
|
|
754
754
|
}));
|
|
755
755
|
};
|
|
756
756
|
export {
|
|
757
|
-
|
|
758
|
-
formatHttpApiCliCause,
|
|
759
|
-
httpApiCli,
|
|
760
|
-
httpApiCliEnvironmentLayer,
|
|
761
|
-
makeHttpApiCliCommand,
|
|
762
|
-
printHttpApiCliResult,
|
|
757
|
+
toHttpApiCliName,
|
|
763
758
|
runHttpApiCli,
|
|
764
|
-
|
|
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
|
-
|
|
109
|
-
HttpApiOperationResult,
|
|
108
|
+
makeHttpApiOperationResultEncoder,
|
|
110
109
|
encodeHttpApiOperationResult,
|
|
111
|
-
|
|
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
|
-
|
|
275
|
-
HttpApiSpec,
|
|
276
|
-
JsonObjectSchema,
|
|
277
|
-
decodeHttpApiOperationInput,
|
|
278
|
-
httpApiOperationInputSchema,
|
|
279
|
-
httpApiOperations,
|
|
280
|
-
httpApiToolEntries,
|
|
281
|
-
httpApiToolName,
|
|
282
|
-
parseJsonObject,
|
|
283
|
-
parseJsonValue,
|
|
274
|
+
toHttpError,
|
|
284
275
|
sanitizeHttpName,
|
|
285
|
-
|
|
276
|
+
parseJsonValue,
|
|
277
|
+
parseJsonObject,
|
|
278
|
+
httpApiToolName,
|
|
279
|
+
httpApiToolEntries,
|
|
280
|
+
httpApiOperations,
|
|
281
|
+
httpApiOperationInputSchema,
|
|
282
|
+
decodeHttpApiOperationInput,
|
|
283
|
+
JsonObjectSchema,
|
|
284
|
+
HttpApiSpec,
|
|
285
|
+
HttpApiMethods
|
|
286
286
|
};
|
package/dist/lib/httpapi-mcp.js
CHANGED
|
@@ -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
|
-
|
|
438
|
-
|
|
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
|
-
|
|
107
|
-
PaginationMeta,
|
|
108
|
-
Query,
|
|
109
|
-
QueryStandard,
|
|
110
|
-
SortDirection,
|
|
111
|
-
SortParam,
|
|
106
|
+
SortParamsFromString,
|
|
112
107
|
SortParamFromString,
|
|
113
|
-
|
|
108
|
+
SortParam,
|
|
109
|
+
SortDirection,
|
|
110
|
+
QueryStandard,
|
|
111
|
+
Query,
|
|
112
|
+
PaginationMeta,
|
|
113
|
+
PaginatedResponse
|
|
114
114
|
};
|
package/dist/lib/seo.js
CHANGED
|
@@ -268,11 +268,11 @@ var WebFetchToolkitLayer = (options = {}) => {
|
|
|
268
268
|
}));
|
|
269
269
|
};
|
|
270
270
|
export {
|
|
271
|
-
|
|
272
|
-
WebFetchRequest,
|
|
273
|
-
WebFetchResponse,
|
|
274
|
-
WebFetchToolkit,
|
|
275
|
-
WebFetchToolkitLayer,
|
|
271
|
+
defaultWebFetchToolkitOptions,
|
|
276
272
|
WebFetchToolkitOptions,
|
|
277
|
-
|
|
273
|
+
WebFetchToolkitLayer,
|
|
274
|
+
WebFetchToolkit,
|
|
275
|
+
WebFetchResponse,
|
|
276
|
+
WebFetchRequest,
|
|
277
|
+
WebFetchFailure
|
|
278
278
|
};
|