@krak-stack/registry 0.1.19 → 0.1.21
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/dist/components/ui/code-block.d.ts +1 -3
- package/dist/components/ui/code-block.js +32 -60
- package/dist/components/ui/data-table.d.ts +211 -273
- package/dist/components/ui/data-table.js +1894 -2012
- package/dist/components/ui/effect-form.js +169 -170
- package/dist/components/ui/form.js +112 -113
- package/dist/components/ui/icon-input.js +40 -43
- package/dist/components/ui/menubar.d.ts +29 -0
- package/dist/components/ui/pagination.js +2 -2
- package/dist/components/ui/sidebar-layout.js +67 -72
- package/dist/components/ui/theme-switcher.js +3 -3
- package/dist/components/ui/virtualized-combobox.js +31 -34
- package/dist/lib/{docs-core.d.ts → docs.d.ts} +135 -144
- package/dist/lib/{docs-core.js → docs.js} +597 -440
- package/dist/lib/documentation-toolkit.d.ts +19 -1
- package/dist/lib/documentation-toolkit.js +164 -66
- package/dist/lib/httpapi-cli.d.ts +5 -4
- package/dist/lib/httpapi-cli.js +256 -34
- package/dist/lib/httpapi-client.js +3 -3
- package/dist/lib/httpapi-helpers.d.ts +8 -6
- package/dist/lib/httpapi-helpers.js +12 -12
- package/dist/lib/httpapi-mcp.js +3 -3
- package/dist/lib/httpapi-toolkit.js +3 -3
- package/dist/lib/markdown/content.d.ts +13 -0
- package/dist/lib/markdown/server.d.ts +19 -0
- package/dist/lib/query.d.ts +3 -2
- package/dist/lib/query.js +10 -8
- package/dist/lib/seo.js +2 -2
- package/dist/lib/webfetch-toolkit.js +6 -6
- package/dist/services/agent/client/atom.d.ts +7 -0
- package/dist/services/agent/client/index.js +481 -304
- package/dist/services/agent/index.d.ts +16 -0
- package/dist/services/agent/index.js +102 -1
- package/dist/services/agent/schema.d.ts +28 -0
- package/dist/services/agent/schema.js +15 -4
- 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.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.js +2 -2
- package/dist/services/notification/persistence/index.js +15 -15
- 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 +6 -38
|
@@ -20,6 +20,14 @@ declare const AgentService_base: Context.ServiceClass<AgentService, "AgentServic
|
|
|
20
20
|
readonly type: Schema.Literal<"text-delta">;
|
|
21
21
|
readonly messageId: Schema.String;
|
|
22
22
|
readonly delta: Schema.String;
|
|
23
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
24
|
+
readonly type: Schema.Literal<"markdown-snapshot">;
|
|
25
|
+
readonly messageId: Schema.String;
|
|
26
|
+
readonly html: Schema.String;
|
|
27
|
+
readonly codeBlocks: Schema.$Array<Schema.Struct<{
|
|
28
|
+
readonly code: Schema.String;
|
|
29
|
+
readonly language: Schema.String;
|
|
30
|
+
}>>;
|
|
23
31
|
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
24
32
|
readonly type: Schema.Literal<"tool-call">;
|
|
25
33
|
readonly messageId: Schema.String;
|
|
@@ -66,6 +74,14 @@ declare const AgentService_base: Context.ServiceClass<AgentService, "AgentServic
|
|
|
66
74
|
readonly type: Schema.Literal<"text-delta">;
|
|
67
75
|
readonly messageId: Schema.String;
|
|
68
76
|
readonly delta: Schema.String;
|
|
77
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
78
|
+
readonly type: Schema.Literal<"markdown-snapshot">;
|
|
79
|
+
readonly messageId: Schema.String;
|
|
80
|
+
readonly html: Schema.String;
|
|
81
|
+
readonly codeBlocks: Schema.$Array<Schema.Struct<{
|
|
82
|
+
readonly code: Schema.String;
|
|
83
|
+
readonly language: Schema.String;
|
|
84
|
+
}>>;
|
|
69
85
|
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
70
86
|
readonly type: Schema.Literal<"tool-call">;
|
|
71
87
|
readonly messageId: Schema.String;
|
|
@@ -16,6 +16,76 @@ import {
|
|
|
16
16
|
Tool
|
|
17
17
|
} from "effect/unstable/ai";
|
|
18
18
|
|
|
19
|
+
// ../../src/lib/markdown/server.ts
|
|
20
|
+
var escapeHtml = (value) => value.replaceAll("&", "&").replaceAll('"', """).replaceAll("'", "'").replaceAll("<", "<").replaceAll(">", ">");
|
|
21
|
+
var decodeMarkdownCode = (value) => value.replaceAll(""", '"').replaceAll("'", "'").replaceAll("<", "<").replaceAll(">", ">").replaceAll("&", "&");
|
|
22
|
+
var safeUrl = (value, image = false) => {
|
|
23
|
+
if (value.startsWith("/") || value.startsWith("#") || value.startsWith("https://") || value.startsWith("http://") || !image && value.startsWith("mailto:")) {
|
|
24
|
+
return value;
|
|
25
|
+
}
|
|
26
|
+
return image ? "" : "#";
|
|
27
|
+
};
|
|
28
|
+
var markdownOptions = {
|
|
29
|
+
autolinks: true,
|
|
30
|
+
headings: { ids: true },
|
|
31
|
+
noHtmlBlocks: true,
|
|
32
|
+
noHtmlSpans: true,
|
|
33
|
+
tagFilter: true
|
|
34
|
+
};
|
|
35
|
+
var compileMarkdown = (source) => {
|
|
36
|
+
const codeBlocks = [];
|
|
37
|
+
const html = Bun.markdown.render(source, {
|
|
38
|
+
blockquote: (children) => `<blockquote>${children}</blockquote>`,
|
|
39
|
+
code: (children, meta) => {
|
|
40
|
+
const index = codeBlocks.length;
|
|
41
|
+
const code = decodeMarkdownCode(children.replace(/\n$/, ""));
|
|
42
|
+
const language = meta?.language ?? "text";
|
|
43
|
+
codeBlocks.push({ code, language });
|
|
44
|
+
return `<markdown-code-block data-index="${index}"></markdown-code-block>`;
|
|
45
|
+
},
|
|
46
|
+
codespan: (children) => `<code data-inline-code>${escapeHtml(children)}</code>`,
|
|
47
|
+
emphasis: (children) => `<em>${children}</em>`,
|
|
48
|
+
heading: (children, { id, level }) => {
|
|
49
|
+
const headingId = escapeHtml(id ?? "");
|
|
50
|
+
const anchor = level === 2 || level === 3 ? `<a href="#${headingId}" aria-hidden="true">#</a>` : "";
|
|
51
|
+
return `<h${level} id="${headingId}">${children}${anchor}</h${level}>`;
|
|
52
|
+
},
|
|
53
|
+
hr: () => "<hr>",
|
|
54
|
+
html: (children) => escapeHtml(children),
|
|
55
|
+
image: (children, { src, title }) => {
|
|
56
|
+
const resolvedSrc = safeUrl(src, true);
|
|
57
|
+
if (!resolvedSrc)
|
|
58
|
+
return children;
|
|
59
|
+
const titleAttribute = title ? ` title="${escapeHtml(title)}"` : "";
|
|
60
|
+
return `<img src="${escapeHtml(resolvedSrc)}" alt="${escapeHtml(children)}"${titleAttribute}>`;
|
|
61
|
+
},
|
|
62
|
+
link: (children, { href, title }) => {
|
|
63
|
+
const resolvedHref = safeUrl(href);
|
|
64
|
+
const external = /^https?:\/\//.test(resolvedHref);
|
|
65
|
+
const titleAttribute = title ? ` title="${escapeHtml(title)}"` : "";
|
|
66
|
+
const externalAttributes = external ? ' target="_blank" rel="noreferrer"' : "";
|
|
67
|
+
return `<a href="${escapeHtml(resolvedHref)}"${titleAttribute}${externalAttributes}>${children}</a>`;
|
|
68
|
+
},
|
|
69
|
+
list: (children, { ordered, start }) => ordered ? `<ol${start && start !== 1 ? ` start="${start}"` : ""}>${children}</ol>` : `<ul>${children}</ul>`,
|
|
70
|
+
listItem: (children, { checked }) => {
|
|
71
|
+
const checkbox = checked === undefined ? "" : `<input type="checkbox" disabled${checked ? " checked" : ""}>`;
|
|
72
|
+
return `<li>${checkbox}${children}</li>`;
|
|
73
|
+
},
|
|
74
|
+
paragraph: (children) => `<p>${children}</p>`,
|
|
75
|
+
strikethrough: (children) => `<del>${children}</del>`,
|
|
76
|
+
strong: (children) => `<strong>${children}</strong>`,
|
|
77
|
+
table: (children) => `<div data-markdown-table><table>${children}</table></div>`,
|
|
78
|
+
tbody: (children) => `<tbody>${children}</tbody>`,
|
|
79
|
+
td: (children, meta) => `<td${meta?.align ? ` align="${meta.align}"` : ""}>${children}</td>`,
|
|
80
|
+
text: escapeHtml,
|
|
81
|
+
th: (children, meta) => `<th${meta?.align ? ` align="${meta.align}"` : ""}>${children}</th>`,
|
|
82
|
+
thead: (children) => `<thead>${children}</thead>`,
|
|
83
|
+
tr: (children) => `<tr>${children}</tr>`
|
|
84
|
+
}, markdownOptions);
|
|
85
|
+
return { codeBlocks, html, source };
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
// ../../src/services/agent/index.ts
|
|
19
89
|
class AgentHistoryError extends Data.TaggedError("AgentHistoryError") {
|
|
20
90
|
}
|
|
21
91
|
var AgentStreamErrorDetails = Schema.Struct({
|
|
@@ -180,11 +250,42 @@ class AgentService extends Context.Service()("AgentService", {
|
|
|
180
250
|
prompt: action.type === "message" ? action.text : [],
|
|
181
251
|
toolkit
|
|
182
252
|
});
|
|
253
|
+
const renderedRounds = Stream.suspend(() => {
|
|
254
|
+
let source = "";
|
|
255
|
+
return rounds.pipe(Stream.groupedWithin(32, "50 millis"), Stream.flatMap((events) => {
|
|
256
|
+
const output = [];
|
|
257
|
+
let textChanged = false;
|
|
258
|
+
const appendSnapshot = () => {
|
|
259
|
+
if (!textChanged)
|
|
260
|
+
return;
|
|
261
|
+
const compiled = compileMarkdown(source);
|
|
262
|
+
output.push({
|
|
263
|
+
type: "markdown-snapshot",
|
|
264
|
+
messageId,
|
|
265
|
+
html: compiled.html,
|
|
266
|
+
codeBlocks: compiled.codeBlocks
|
|
267
|
+
});
|
|
268
|
+
textChanged = false;
|
|
269
|
+
};
|
|
270
|
+
for (const event of events) {
|
|
271
|
+
if (event.type === "text-delta") {
|
|
272
|
+
source += event.delta;
|
|
273
|
+
textChanged = true;
|
|
274
|
+
output.push(event);
|
|
275
|
+
continue;
|
|
276
|
+
}
|
|
277
|
+
appendSnapshot();
|
|
278
|
+
output.push(event);
|
|
279
|
+
}
|
|
280
|
+
appendSnapshot();
|
|
281
|
+
return Stream.fromIterable(output);
|
|
282
|
+
}));
|
|
283
|
+
});
|
|
183
284
|
const complete = Stream.fromEffect(Effect.gen(function* () {
|
|
184
285
|
const history2 = yield* conversation.exportJson;
|
|
185
286
|
return { type: "history", value: history2 };
|
|
186
287
|
})).pipe(Stream.concat(Stream.succeed({ type: "finish" })));
|
|
187
|
-
const response = Stream.concat(
|
|
288
|
+
const response = Stream.concat(renderedRounds, complete).pipe(Stream.provideService(LanguageModel.LanguageModel, model), Stream.catch((error) => Stream.fromEffect(Effect.logError("Agent stream failed", streamErrorDetails(error))).pipe(Stream.drain, Stream.concat(Stream.make({
|
|
188
289
|
type: "error",
|
|
189
290
|
code: "stream-failed"
|
|
190
291
|
}, { type: "finish" })))));
|
|
@@ -23,6 +23,10 @@ export declare const AgentToolMetadata: Schema.Struct<{
|
|
|
23
23
|
readonly description: Schema.optional<Schema.String>;
|
|
24
24
|
readonly destructive: Schema.Boolean;
|
|
25
25
|
}>;
|
|
26
|
+
export declare const AgentMarkdownCodeBlock: Schema.Struct<{
|
|
27
|
+
readonly code: Schema.String;
|
|
28
|
+
readonly language: Schema.String;
|
|
29
|
+
}>;
|
|
26
30
|
export declare const AgentEvent: Schema.Union<readonly [Schema.Struct<{
|
|
27
31
|
readonly type: Schema.Literal<"message-start">;
|
|
28
32
|
readonly messageId: Schema.String;
|
|
@@ -30,6 +34,14 @@ export declare const AgentEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
30
34
|
readonly type: Schema.Literal<"text-delta">;
|
|
31
35
|
readonly messageId: Schema.String;
|
|
32
36
|
readonly delta: Schema.String;
|
|
37
|
+
}>, Schema.Struct<{
|
|
38
|
+
readonly type: Schema.Literal<"markdown-snapshot">;
|
|
39
|
+
readonly messageId: Schema.String;
|
|
40
|
+
readonly html: Schema.String;
|
|
41
|
+
readonly codeBlocks: Schema.$Array<Schema.Struct<{
|
|
42
|
+
readonly code: Schema.String;
|
|
43
|
+
readonly language: Schema.String;
|
|
44
|
+
}>>;
|
|
33
45
|
}>, Schema.Struct<{
|
|
34
46
|
readonly type: Schema.Literal<"tool-call">;
|
|
35
47
|
readonly messageId: Schema.String;
|
|
@@ -93,6 +105,14 @@ export declare const makeAgentApiGroup: <const Resource extends Schema.Top>(reso
|
|
|
93
105
|
readonly type: Schema.Literal<"text-delta">;
|
|
94
106
|
readonly messageId: Schema.String;
|
|
95
107
|
readonly delta: Schema.String;
|
|
108
|
+
}>, Schema.Struct<{
|
|
109
|
+
readonly type: Schema.Literal<"markdown-snapshot">;
|
|
110
|
+
readonly messageId: Schema.String;
|
|
111
|
+
readonly html: Schema.String;
|
|
112
|
+
readonly codeBlocks: Schema.$Array<Schema.Struct<{
|
|
113
|
+
readonly code: Schema.String;
|
|
114
|
+
readonly language: Schema.String;
|
|
115
|
+
}>>;
|
|
96
116
|
}>, Schema.Struct<{
|
|
97
117
|
readonly type: Schema.Literal<"tool-call">;
|
|
98
118
|
readonly messageId: Schema.String;
|
|
@@ -130,6 +150,14 @@ export declare const makeAgentApiGroup: <const Resource extends Schema.Top>(reso
|
|
|
130
150
|
readonly type: Schema.Literal<"text-delta">;
|
|
131
151
|
readonly messageId: Schema.String;
|
|
132
152
|
readonly delta: Schema.String;
|
|
153
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
154
|
+
readonly type: Schema.Literal<"markdown-snapshot">;
|
|
155
|
+
readonly messageId: Schema.String;
|
|
156
|
+
readonly html: Schema.String;
|
|
157
|
+
readonly codeBlocks: Schema.$Array<Schema.Struct<{
|
|
158
|
+
readonly code: Schema.String;
|
|
159
|
+
readonly language: Schema.String;
|
|
160
|
+
}>>;
|
|
133
161
|
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
134
162
|
readonly type: Schema.Literal<"tool-call">;
|
|
135
163
|
readonly messageId: Schema.String;
|
|
@@ -43,6 +43,10 @@ var AgentToolMetadata = Schema.Struct({
|
|
|
43
43
|
description: Schema.optional(Schema.String),
|
|
44
44
|
destructive: Schema.Boolean
|
|
45
45
|
}).annotate({ identifier: "AgentToolMetadata" });
|
|
46
|
+
var AgentMarkdownCodeBlock = Schema.Struct({
|
|
47
|
+
code: Schema.String,
|
|
48
|
+
language: Schema.String
|
|
49
|
+
}).annotate({ identifier: "AgentMarkdownCodeBlock" });
|
|
46
50
|
var AgentEvent = Schema.Union([
|
|
47
51
|
Schema.Struct({
|
|
48
52
|
type: Schema.Literal("message-start"),
|
|
@@ -53,6 +57,12 @@ var AgentEvent = Schema.Union([
|
|
|
53
57
|
messageId: Schema.String,
|
|
54
58
|
delta: Schema.String
|
|
55
59
|
}),
|
|
60
|
+
Schema.Struct({
|
|
61
|
+
type: Schema.Literal("markdown-snapshot"),
|
|
62
|
+
messageId: Schema.String,
|
|
63
|
+
html: Schema.String,
|
|
64
|
+
codeBlocks: Schema.Array(AgentMarkdownCodeBlock)
|
|
65
|
+
}),
|
|
56
66
|
Schema.Struct({
|
|
57
67
|
type: Schema.Literal("tool-call"),
|
|
58
68
|
messageId: Schema.String,
|
|
@@ -122,9 +132,10 @@ var makeAgentApiGroup = (resource) => {
|
|
|
122
132
|
})));
|
|
123
133
|
};
|
|
124
134
|
export {
|
|
125
|
-
|
|
126
|
-
makeAgentApiGroup,
|
|
127
|
-
AgentToolMetadata,
|
|
135
|
+
AGENT_REFERENCE_LIMIT,
|
|
128
136
|
AgentEvent,
|
|
129
|
-
|
|
137
|
+
AgentMarkdownCodeBlock,
|
|
138
|
+
AgentToolMetadata,
|
|
139
|
+
makeAgentApiGroup,
|
|
140
|
+
makeAgentReference
|
|
130
141
|
};
|
|
@@ -111,9 +111,9 @@ class FileExtractionService extends Context.Service()("FileExtractionService", {
|
|
|
111
111
|
static testLayer = (service) => Layer.succeed(this, service);
|
|
112
112
|
}
|
|
113
113
|
export {
|
|
114
|
-
|
|
115
|
-
OutputFormat2 as OutputFormat,
|
|
116
|
-
FileExtractionService,
|
|
114
|
+
FileExtractedTextSchema,
|
|
117
115
|
FileExtractionFailed,
|
|
118
|
-
|
|
116
|
+
FileExtractionService,
|
|
117
|
+
OutputFormat2 as OutputFormat,
|
|
118
|
+
defaultFileExtractionOptions
|
|
119
119
|
};
|
|
@@ -9,6 +9,6 @@ var FileExtractedTextSchema = Schema.Struct({
|
|
|
9
9
|
class FileExtractionFailed extends Schema.TaggedErrorClass()("FileExtractionFailed", { message: Schema.String }) {
|
|
10
10
|
}
|
|
11
11
|
export {
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
FileExtractedTextSchema,
|
|
13
|
+
FileExtractionFailed
|
|
14
14
|
};
|
|
@@ -173,14 +173,14 @@ class HealthService extends Context.Service()("@krak-stack/registry/HealthServic
|
|
|
173
173
|
static layerWith = (options) => Layer.effect(this, this.make).pipe(Layer.provide(HealthServiceConfig.layerWith(options)));
|
|
174
174
|
}
|
|
175
175
|
export {
|
|
176
|
-
|
|
177
|
-
HealthUpResponse,
|
|
178
|
-
HealthStatus,
|
|
179
|
-
HealthService,
|
|
180
|
-
HealthResponse,
|
|
181
|
-
HealthDownResponse,
|
|
182
|
-
HealthCheckResult,
|
|
183
|
-
HealthCheckOutcome,
|
|
176
|
+
HealthApiGroup,
|
|
184
177
|
HealthCheckData,
|
|
185
|
-
|
|
178
|
+
HealthCheckOutcome,
|
|
179
|
+
HealthCheckResult,
|
|
180
|
+
HealthDownResponse,
|
|
181
|
+
HealthResponse,
|
|
182
|
+
HealthService,
|
|
183
|
+
HealthStatus,
|
|
184
|
+
HealthUpResponse,
|
|
185
|
+
healthHandler
|
|
186
186
|
};
|
|
@@ -1115,10 +1115,10 @@ var formatNotificationDate = (value, locale) => {
|
|
|
1115
1115
|
};
|
|
1116
1116
|
var notificationTitle = (notification) => Schema.is(Schema.String)(notification.title) ? notification.title : defaultMessages.en.notifications;
|
|
1117
1117
|
export {
|
|
1118
|
-
|
|
1119
|
-
NotificationMenuTrigger,
|
|
1120
|
-
NotificationMenu,
|
|
1121
|
-
NotificationListItem,
|
|
1118
|
+
NotificationEmpty,
|
|
1122
1119
|
NotificationList,
|
|
1123
|
-
|
|
1120
|
+
NotificationListItem,
|
|
1121
|
+
NotificationMenu,
|
|
1122
|
+
NotificationMenuTrigger,
|
|
1123
|
+
notificationMenuMessages
|
|
1124
1124
|
};
|
|
@@ -208,7 +208,7 @@ var notificationDeliveries = pgTable("notification_deliveries", {
|
|
|
208
208
|
check("notification_deliveries_lease_check", sql`(${table.claimedBy} is null and ${table.leaseExpiresAt} is null) or (${table.claimedBy} is not null and ${table.leaseExpiresAt} is not null)`)
|
|
209
209
|
]);
|
|
210
210
|
export {
|
|
211
|
-
|
|
211
|
+
notificationDeliveries,
|
|
212
212
|
notificationSettings,
|
|
213
|
-
|
|
213
|
+
notifications
|
|
214
214
|
};
|
|
@@ -208,20 +208,20 @@ var notificationDeliveries = pgTable("notification_deliveries", {
|
|
|
208
208
|
check("notification_deliveries_lease_check", sql`(${table.claimedBy} is null and ${table.leaseExpiresAt} is null) or (${table.claimedBy} is not null and ${table.leaseExpiresAt} is not null)`)
|
|
209
209
|
]);
|
|
210
210
|
export {
|
|
211
|
-
|
|
212
|
-
notificationSettings,
|
|
213
|
-
notificationDeliveries,
|
|
214
|
-
decodeNotificationDeliveryPayload,
|
|
215
|
-
PersistedNotificationDeliveryPayload,
|
|
216
|
-
NotificationSettingSchema,
|
|
217
|
-
NotificationSettingId,
|
|
218
|
-
NotificationId,
|
|
219
|
-
NotificationDeliveryStatus,
|
|
220
|
-
NotificationDeliverySchema,
|
|
221
|
-
NotificationDeliveryPurpose,
|
|
222
|
-
NotificationDeliveryId,
|
|
223
|
-
NOTIFICATION_DELIVERY_STATUSES,
|
|
224
|
-
NOTIFICATION_DELIVERY_PURPOSES,
|
|
211
|
+
EmailDeliveryPayloadV1,
|
|
225
212
|
InboxNotificationSchema,
|
|
226
|
-
|
|
213
|
+
NOTIFICATION_DELIVERY_PURPOSES,
|
|
214
|
+
NOTIFICATION_DELIVERY_STATUSES,
|
|
215
|
+
NotificationDeliveryId,
|
|
216
|
+
NotificationDeliveryPurpose,
|
|
217
|
+
NotificationDeliverySchema,
|
|
218
|
+
NotificationDeliveryStatus,
|
|
219
|
+
NotificationId,
|
|
220
|
+
NotificationSettingId,
|
|
221
|
+
NotificationSettingSchema,
|
|
222
|
+
PersistedNotificationDeliveryPayload,
|
|
223
|
+
decodeNotificationDeliveryPayload,
|
|
224
|
+
notificationDeliveries,
|
|
225
|
+
notificationSettings,
|
|
226
|
+
notifications
|
|
227
227
|
};
|
|
@@ -102,17 +102,17 @@ var PersistedNotificationDeliveryPayload = Schema.Union([
|
|
|
102
102
|
]).annotate({ identifier: "PersistedNotificationDeliveryPayload" });
|
|
103
103
|
var decodeNotificationDeliveryPayload = Schema.decodeUnknownEffect(PersistedNotificationDeliveryPayload);
|
|
104
104
|
export {
|
|
105
|
-
|
|
106
|
-
PersistedNotificationDeliveryPayload,
|
|
107
|
-
NotificationSettingSchema,
|
|
108
|
-
NotificationSettingId,
|
|
109
|
-
NotificationId,
|
|
110
|
-
NotificationDeliveryStatus,
|
|
111
|
-
NotificationDeliverySchema,
|
|
112
|
-
NotificationDeliveryPurpose,
|
|
113
|
-
NotificationDeliveryId,
|
|
114
|
-
NOTIFICATION_DELIVERY_STATUSES,
|
|
115
|
-
NOTIFICATION_DELIVERY_PURPOSES,
|
|
105
|
+
EmailDeliveryPayloadV1,
|
|
116
106
|
InboxNotificationSchema,
|
|
117
|
-
|
|
107
|
+
NOTIFICATION_DELIVERY_PURPOSES,
|
|
108
|
+
NOTIFICATION_DELIVERY_STATUSES,
|
|
109
|
+
NotificationDeliveryId,
|
|
110
|
+
NotificationDeliveryPurpose,
|
|
111
|
+
NotificationDeliverySchema,
|
|
112
|
+
NotificationDeliveryStatus,
|
|
113
|
+
NotificationId,
|
|
114
|
+
NotificationSettingId,
|
|
115
|
+
NotificationSettingSchema,
|
|
116
|
+
PersistedNotificationDeliveryPayload,
|
|
117
|
+
decodeNotificationDeliveryPayload
|
|
118
118
|
};
|
|
@@ -1208,12 +1208,12 @@ var formatNotificationDate = (value, locale) => {
|
|
|
1208
1208
|
};
|
|
1209
1209
|
var notificationTitle = (notification) => Schema2.is(Schema2.String)(notification.title) ? notification.title : defaultMessages.en.notifications;
|
|
1210
1210
|
export {
|
|
1211
|
-
|
|
1212
|
-
NotificationService,
|
|
1213
|
-
NotificationPersistenceStore,
|
|
1214
|
-
NotificationMenuTrigger,
|
|
1215
|
-
NotificationMenu,
|
|
1216
|
-
NotificationListItem,
|
|
1211
|
+
NotificationEmpty,
|
|
1217
1212
|
NotificationList,
|
|
1218
|
-
|
|
1213
|
+
NotificationListItem,
|
|
1214
|
+
NotificationMenu,
|
|
1215
|
+
NotificationMenuTrigger,
|
|
1216
|
+
NotificationPersistenceStore,
|
|
1217
|
+
NotificationService,
|
|
1218
|
+
notificationMenuMessages
|
|
1219
1219
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@krak-stack/registry",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.21",
|
|
4
4
|
"description": "Tree-shakable KrakStack components and Effect services.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"import": "./dist/lib/httpapi-mcp.js"
|
|
50
50
|
},
|
|
51
51
|
"./docs": {
|
|
52
|
-
"types": "./dist/lib/docs
|
|
53
|
-
"import": "./dist/lib/docs
|
|
52
|
+
"types": "./dist/lib/docs.d.ts",
|
|
53
|
+
"import": "./dist/lib/docs.js"
|
|
54
54
|
},
|
|
55
55
|
"./documentation-toolkit": {
|
|
56
56
|
"types": "./dist/lib/documentation-toolkit.d.ts",
|
|
@@ -219,20 +219,15 @@
|
|
|
219
219
|
"peerDependencies": {
|
|
220
220
|
"@aws-sdk/client-sesv2": "^3.1068.0",
|
|
221
221
|
"@base-ui/react": "^1.5.0",
|
|
222
|
-
"@dnd-kit/core": "^6.3.1",
|
|
223
|
-
"@dnd-kit/sortable": "^10.0.0",
|
|
224
|
-
"@dnd-kit/utilities": "^3.2.2",
|
|
225
222
|
"@effect/atom-react": "4.0.0-beta.85",
|
|
226
223
|
"@effect/platform-browser": "4.0.0-beta.85",
|
|
227
|
-
"@iconify-json/lucide": "^1.2.83",
|
|
228
224
|
"@iconify/react": "^6.0.2",
|
|
229
225
|
"@inlang/paraglide-js": "^2.19.0",
|
|
230
226
|
"@lucas-barake/effect-form": "0.25.0-beta.6",
|
|
231
227
|
"@lucas-barake/effect-form-react": "0.26.0-beta.5",
|
|
232
|
-
"@
|
|
228
|
+
"@tanstack/highlight": "^0.0.10",
|
|
233
229
|
"@tanstack/react-form": "^1.33.0",
|
|
234
230
|
"@tanstack/react-router": "^1.170.15",
|
|
235
|
-
"@tanstack/react-table": "^9.1.2",
|
|
236
231
|
"@tanstack/react-virtual": "^3.14.5",
|
|
237
232
|
"@xberg-io/xberg": "1.0.14",
|
|
238
233
|
"class-variance-authority": "^0.7.1",
|
|
@@ -243,33 +238,18 @@
|
|
|
243
238
|
"lucide-react": "^1.18.0",
|
|
244
239
|
"react": "^19.2.0",
|
|
245
240
|
"react-dom": "^19.2.0",
|
|
246
|
-
"
|
|
247
|
-
"streamdown": "^2.5.0",
|
|
248
|
-
"tailwind-merge": "^3.6.0",
|
|
249
|
-
"yaml": "^2.8.2"
|
|
241
|
+
"tailwind-merge": "^3.6.0"
|
|
250
242
|
},
|
|
251
243
|
"peerDependenciesMeta": {
|
|
252
244
|
"@aws-sdk/client-sesv2": {
|
|
253
245
|
"optional": true
|
|
254
246
|
},
|
|
255
|
-
"@dnd-kit/core": {
|
|
256
|
-
"optional": true
|
|
257
|
-
},
|
|
258
|
-
"@dnd-kit/sortable": {
|
|
259
|
-
"optional": true
|
|
260
|
-
},
|
|
261
|
-
"@dnd-kit/utilities": {
|
|
262
|
-
"optional": true
|
|
263
|
-
},
|
|
264
247
|
"@effect/atom-react": {
|
|
265
248
|
"optional": true
|
|
266
249
|
},
|
|
267
250
|
"@effect/platform-browser": {
|
|
268
251
|
"optional": true
|
|
269
252
|
},
|
|
270
|
-
"@iconify-json/lucide": {
|
|
271
|
-
"optional": true
|
|
272
|
-
},
|
|
273
253
|
"@iconify/react": {
|
|
274
254
|
"optional": true
|
|
275
255
|
},
|
|
@@ -285,7 +265,7 @@
|
|
|
285
265
|
"@lucas-barake/effect-form-react": {
|
|
286
266
|
"optional": true
|
|
287
267
|
},
|
|
288
|
-
"@
|
|
268
|
+
"@tanstack/highlight": {
|
|
289
269
|
"optional": true
|
|
290
270
|
},
|
|
291
271
|
"@tanstack/react-form": {
|
|
@@ -294,23 +274,11 @@
|
|
|
294
274
|
"@tanstack/react-router": {
|
|
295
275
|
"optional": true
|
|
296
276
|
},
|
|
297
|
-
"@tanstack/react-table": {
|
|
298
|
-
"optional": true
|
|
299
|
-
},
|
|
300
277
|
"@tanstack/react-virtual": {
|
|
301
278
|
"optional": true
|
|
302
279
|
},
|
|
303
280
|
"@xberg-io/xberg": {
|
|
304
281
|
"optional": true
|
|
305
|
-
},
|
|
306
|
-
"shiki": {
|
|
307
|
-
"optional": true
|
|
308
|
-
},
|
|
309
|
-
"streamdown": {
|
|
310
|
-
"optional": true
|
|
311
|
-
},
|
|
312
|
-
"yaml": {
|
|
313
|
-
"optional": true
|
|
314
282
|
}
|
|
315
283
|
}
|
|
316
284
|
}
|