@krak-stack/registry 0.1.22 → 0.1.24
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/data-table.d.ts +1 -9
- package/dist/components/ui/data-table.js +132 -39
- package/dist/lib/docs.d.ts +153 -153
- package/dist/lib/documentation-toolkit.d.ts +9 -9
- package/dist/lib/httpapi-cli.js +1 -1
- package/dist/lib/httpapi-helpers.js +1 -1
- package/dist/lib/httpapi-mcp.d.ts +1 -1
- package/dist/lib/httpapi-mcp.js +4 -3
- package/dist/lib/httpapi-toolkit.js +1 -1
- package/dist/lib/query.d.ts +2 -2
- package/dist/lib/query.js +4 -14
- package/dist/lib/webfetch-toolkit.js +4 -2
- package/dist/services/agent/index.d.ts +88 -88
- package/dist/services/agent/schema.d.ts +44 -44
- package/dist/services/file-extraction/index.js +1 -1
- package/dist/services/file-extraction/schema.js +1 -1
- package/dist/services/notification/channels/ses/index.js +1 -1
- package/dist/services/notification/index.js +1 -1
- package/dist/services/notification/public.js +1 -1
- package/dist/services/notification/schema.js +1 -1
- package/dist/services/s3/index.js +1 -1
- package/dist/services/s3/schema.js +1 -1
- package/package.json +4 -4
|
@@ -13,50 +13,50 @@ declare const AgentHistoryError_base: new <A extends Record<string, any> = {}>(a
|
|
|
13
13
|
declare class AgentHistoryError extends AgentHistoryError_base {
|
|
14
14
|
}
|
|
15
15
|
declare const AgentService_base: Context.ServiceClass<AgentService, "AgentService", {
|
|
16
|
-
stream: <Tools extends Record<string, Tool.Any>>(args_0: AgentStreamOptions<Tools>) => Effect.Effect<Stream.Stream<
|
|
17
|
-
readonly type:
|
|
18
|
-
readonly messageId:
|
|
19
|
-
}
|
|
20
|
-
readonly type:
|
|
21
|
-
readonly messageId:
|
|
22
|
-
readonly delta:
|
|
23
|
-
}
|
|
24
|
-
readonly type:
|
|
25
|
-
readonly messageId:
|
|
26
|
-
readonly html:
|
|
27
|
-
readonly codeBlocks:
|
|
28
|
-
readonly code:
|
|
29
|
-
readonly language:
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
readonly type:
|
|
33
|
-
readonly messageId:
|
|
34
|
-
readonly toolCallId:
|
|
35
|
-
readonly name:
|
|
36
|
-
readonly input:
|
|
37
|
-
readonly metadata:
|
|
38
|
-
readonly title
|
|
39
|
-
readonly description
|
|
40
|
-
readonly destructive:
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
readonly type:
|
|
44
|
-
readonly toolCallId:
|
|
45
|
-
readonly name:
|
|
46
|
-
readonly isFailure:
|
|
47
|
-
}
|
|
48
|
-
readonly type:
|
|
49
|
-
readonly approvalId:
|
|
50
|
-
readonly toolCallId:
|
|
51
|
-
}
|
|
52
|
-
readonly type:
|
|
53
|
-
readonly value:
|
|
54
|
-
}
|
|
55
|
-
readonly type:
|
|
56
|
-
}
|
|
57
|
-
readonly type:
|
|
58
|
-
readonly code:
|
|
59
|
-
}
|
|
16
|
+
stream: <Tools extends Record<string, Tool.Any>>(args_0: AgentStreamOptions<Tools>) => Effect.Effect<Stream.Stream<{
|
|
17
|
+
readonly type: "message-start";
|
|
18
|
+
readonly messageId: string;
|
|
19
|
+
} | {
|
|
20
|
+
readonly type: "text-delta";
|
|
21
|
+
readonly messageId: string;
|
|
22
|
+
readonly delta: string;
|
|
23
|
+
} | {
|
|
24
|
+
readonly type: "markdown-snapshot";
|
|
25
|
+
readonly messageId: string;
|
|
26
|
+
readonly html: string;
|
|
27
|
+
readonly codeBlocks: readonly {
|
|
28
|
+
readonly code: string;
|
|
29
|
+
readonly language: string;
|
|
30
|
+
}[];
|
|
31
|
+
} | {
|
|
32
|
+
readonly type: "tool-call";
|
|
33
|
+
readonly messageId: string;
|
|
34
|
+
readonly toolCallId: string;
|
|
35
|
+
readonly name: string;
|
|
36
|
+
readonly input: unknown;
|
|
37
|
+
readonly metadata: {
|
|
38
|
+
readonly title?: string | undefined;
|
|
39
|
+
readonly description?: string | undefined;
|
|
40
|
+
readonly destructive: boolean;
|
|
41
|
+
};
|
|
42
|
+
} | {
|
|
43
|
+
readonly type: "tool-result";
|
|
44
|
+
readonly toolCallId: string;
|
|
45
|
+
readonly name: string;
|
|
46
|
+
readonly isFailure: boolean;
|
|
47
|
+
} | {
|
|
48
|
+
readonly type: "approval-required";
|
|
49
|
+
readonly approvalId: string;
|
|
50
|
+
readonly toolCallId: string;
|
|
51
|
+
} | {
|
|
52
|
+
readonly type: "history";
|
|
53
|
+
readonly value: string;
|
|
54
|
+
} | {
|
|
55
|
+
readonly type: "finish";
|
|
56
|
+
} | {
|
|
57
|
+
readonly type: "error";
|
|
58
|
+
readonly code: "invalid-request" | "stream-failed" | "unavailable";
|
|
59
|
+
} | {
|
|
60
60
|
type: "history";
|
|
61
61
|
value: string;
|
|
62
62
|
} | {
|
|
@@ -67,50 +67,50 @@ declare const AgentService_base: Context.ServiceClass<AgentService, "AgentServic
|
|
|
67
67
|
}, never, Exclude<Tool.HandlerServices<Tools[keyof Tools]>, LanguageModel.LanguageModel> | Exclude<Tool.ResultDecodingServices<Tools[keyof Tools]>, LanguageModel.LanguageModel>>, AgentHistoryError | Schema.SchemaError, LanguageModel.LanguageModel>;
|
|
68
68
|
}> & {
|
|
69
69
|
readonly make: Effect.Effect<{
|
|
70
|
-
stream: <Tools extends Record<string, Tool.Any>>(args_0: AgentStreamOptions<Tools>) => Effect.Effect<Stream.Stream<
|
|
71
|
-
readonly type:
|
|
72
|
-
readonly messageId:
|
|
73
|
-
}
|
|
74
|
-
readonly type:
|
|
75
|
-
readonly messageId:
|
|
76
|
-
readonly delta:
|
|
77
|
-
}
|
|
78
|
-
readonly type:
|
|
79
|
-
readonly messageId:
|
|
80
|
-
readonly html:
|
|
81
|
-
readonly codeBlocks:
|
|
82
|
-
readonly code:
|
|
83
|
-
readonly language:
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
readonly type:
|
|
87
|
-
readonly messageId:
|
|
88
|
-
readonly toolCallId:
|
|
89
|
-
readonly name:
|
|
90
|
-
readonly input:
|
|
91
|
-
readonly metadata:
|
|
92
|
-
readonly title
|
|
93
|
-
readonly description
|
|
94
|
-
readonly destructive:
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
readonly type:
|
|
98
|
-
readonly toolCallId:
|
|
99
|
-
readonly name:
|
|
100
|
-
readonly isFailure:
|
|
101
|
-
}
|
|
102
|
-
readonly type:
|
|
103
|
-
readonly approvalId:
|
|
104
|
-
readonly toolCallId:
|
|
105
|
-
}
|
|
106
|
-
readonly type:
|
|
107
|
-
readonly value:
|
|
108
|
-
}
|
|
109
|
-
readonly type:
|
|
110
|
-
}
|
|
111
|
-
readonly type:
|
|
112
|
-
readonly code:
|
|
113
|
-
}
|
|
70
|
+
stream: <Tools extends Record<string, Tool.Any>>(args_0: AgentStreamOptions<Tools>) => Effect.Effect<Stream.Stream<{
|
|
71
|
+
readonly type: "message-start";
|
|
72
|
+
readonly messageId: string;
|
|
73
|
+
} | {
|
|
74
|
+
readonly type: "text-delta";
|
|
75
|
+
readonly messageId: string;
|
|
76
|
+
readonly delta: string;
|
|
77
|
+
} | {
|
|
78
|
+
readonly type: "markdown-snapshot";
|
|
79
|
+
readonly messageId: string;
|
|
80
|
+
readonly html: string;
|
|
81
|
+
readonly codeBlocks: readonly {
|
|
82
|
+
readonly code: string;
|
|
83
|
+
readonly language: string;
|
|
84
|
+
}[];
|
|
85
|
+
} | {
|
|
86
|
+
readonly type: "tool-call";
|
|
87
|
+
readonly messageId: string;
|
|
88
|
+
readonly toolCallId: string;
|
|
89
|
+
readonly name: string;
|
|
90
|
+
readonly input: unknown;
|
|
91
|
+
readonly metadata: {
|
|
92
|
+
readonly title?: string | undefined;
|
|
93
|
+
readonly description?: string | undefined;
|
|
94
|
+
readonly destructive: boolean;
|
|
95
|
+
};
|
|
96
|
+
} | {
|
|
97
|
+
readonly type: "tool-result";
|
|
98
|
+
readonly toolCallId: string;
|
|
99
|
+
readonly name: string;
|
|
100
|
+
readonly isFailure: boolean;
|
|
101
|
+
} | {
|
|
102
|
+
readonly type: "approval-required";
|
|
103
|
+
readonly approvalId: string;
|
|
104
|
+
readonly toolCallId: string;
|
|
105
|
+
} | {
|
|
106
|
+
readonly type: "history";
|
|
107
|
+
readonly value: string;
|
|
108
|
+
} | {
|
|
109
|
+
readonly type: "finish";
|
|
110
|
+
} | {
|
|
111
|
+
readonly type: "error";
|
|
112
|
+
readonly code: "invalid-request" | "stream-failed" | "unavailable";
|
|
113
|
+
} | {
|
|
114
114
|
type: "history";
|
|
115
115
|
value: string;
|
|
116
116
|
} | {
|
|
@@ -143,47 +143,47 @@ export declare const makeAgentApiGroup: <const Resource extends Schema.Top>(reso
|
|
|
143
143
|
readonly code: Schema.Literals<readonly ["unavailable", "invalid-request", "stream-failed"]>;
|
|
144
144
|
}>]>>, Schema.Struct<{
|
|
145
145
|
readonly code: Schema.Literals<readonly ["unavailable", "stream-failed"]>;
|
|
146
|
-
}>,
|
|
147
|
-
readonly type:
|
|
148
|
-
readonly messageId:
|
|
149
|
-
}
|
|
150
|
-
readonly type:
|
|
151
|
-
readonly messageId:
|
|
152
|
-
readonly delta:
|
|
153
|
-
}
|
|
154
|
-
readonly type:
|
|
155
|
-
readonly messageId:
|
|
156
|
-
readonly html:
|
|
157
|
-
readonly codeBlocks:
|
|
158
|
-
readonly code:
|
|
159
|
-
readonly language:
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
readonly type:
|
|
163
|
-
readonly messageId:
|
|
164
|
-
readonly toolCallId:
|
|
165
|
-
readonly name:
|
|
166
|
-
readonly input:
|
|
167
|
-
readonly metadata:
|
|
168
|
-
readonly title
|
|
169
|
-
readonly description
|
|
170
|
-
readonly destructive:
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
readonly type:
|
|
174
|
-
readonly toolCallId:
|
|
175
|
-
readonly name:
|
|
176
|
-
readonly isFailure:
|
|
177
|
-
}
|
|
178
|
-
readonly type:
|
|
179
|
-
readonly approvalId:
|
|
180
|
-
readonly toolCallId:
|
|
181
|
-
}
|
|
182
|
-
readonly type:
|
|
183
|
-
readonly value:
|
|
184
|
-
}
|
|
185
|
-
readonly type:
|
|
186
|
-
}
|
|
187
|
-
readonly type:
|
|
188
|
-
readonly code:
|
|
189
|
-
}
|
|
146
|
+
}>, {
|
|
147
|
+
readonly type: "message-start";
|
|
148
|
+
readonly messageId: string;
|
|
149
|
+
} | {
|
|
150
|
+
readonly type: "text-delta";
|
|
151
|
+
readonly messageId: string;
|
|
152
|
+
readonly delta: string;
|
|
153
|
+
} | {
|
|
154
|
+
readonly type: "markdown-snapshot";
|
|
155
|
+
readonly messageId: string;
|
|
156
|
+
readonly html: string;
|
|
157
|
+
readonly codeBlocks: readonly {
|
|
158
|
+
readonly code: string;
|
|
159
|
+
readonly language: string;
|
|
160
|
+
}[];
|
|
161
|
+
} | {
|
|
162
|
+
readonly type: "tool-call";
|
|
163
|
+
readonly messageId: string;
|
|
164
|
+
readonly toolCallId: string;
|
|
165
|
+
readonly name: string;
|
|
166
|
+
readonly input: unknown;
|
|
167
|
+
readonly metadata: {
|
|
168
|
+
readonly title?: string | undefined;
|
|
169
|
+
readonly description?: string | undefined;
|
|
170
|
+
readonly destructive: boolean;
|
|
171
|
+
};
|
|
172
|
+
} | {
|
|
173
|
+
readonly type: "tool-result";
|
|
174
|
+
readonly toolCallId: string;
|
|
175
|
+
readonly name: string;
|
|
176
|
+
readonly isFailure: boolean;
|
|
177
|
+
} | {
|
|
178
|
+
readonly type: "approval-required";
|
|
179
|
+
readonly approvalId: string;
|
|
180
|
+
readonly toolCallId: string;
|
|
181
|
+
} | {
|
|
182
|
+
readonly type: "history";
|
|
183
|
+
readonly value: string;
|
|
184
|
+
} | {
|
|
185
|
+
readonly type: "finish";
|
|
186
|
+
} | {
|
|
187
|
+
readonly type: "error";
|
|
188
|
+
readonly code: "invalid-request" | "stream-failed" | "unavailable";
|
|
189
|
+
}>, Schema.toCodecJson<typeof HttpApiError.BadRequest | typeof HttpApiError.Unauthorized | typeof HttpApiError.Forbidden | typeof HttpApiError.InternalServerError>, never, never>, false>;
|
|
@@ -10,7 +10,7 @@ var FileExtractedTextSchema = Schema.Struct({
|
|
|
10
10
|
truncated: Schema.Boolean
|
|
11
11
|
}).annotate({ identifier: "FileExtractedText" });
|
|
12
12
|
|
|
13
|
-
class FileExtractionFailed extends Schema.
|
|
13
|
+
class FileExtractionFailed extends Schema.TaggedError()("FileExtractionFailed", { message: Schema.String }) {
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
// ../../src/services/file-extraction/index.ts
|
|
@@ -6,7 +6,7 @@ var FileExtractedTextSchema = Schema.Struct({
|
|
|
6
6
|
truncated: Schema.Boolean
|
|
7
7
|
}).annotate({ identifier: "FileExtractedText" });
|
|
8
8
|
|
|
9
|
-
class FileExtractionFailed extends Schema.
|
|
9
|
+
class FileExtractionFailed extends Schema.TaggedError()("FileExtractionFailed", { message: Schema.String }) {
|
|
10
10
|
}
|
|
11
11
|
export {
|
|
12
12
|
FileExtractedTextSchema,
|
|
@@ -25,7 +25,7 @@ var NotificationMessageSchema = Schema.Record(Schema.String, Schema.Unknown).ann
|
|
|
25
25
|
]
|
|
26
26
|
});
|
|
27
27
|
|
|
28
|
-
class NotificationSendError extends Schema.
|
|
28
|
+
class NotificationSendError extends Schema.TaggedError()("NotificationSendError", {
|
|
29
29
|
message: Schema.String,
|
|
30
30
|
channel: Schema.optional(Schema.String),
|
|
31
31
|
error: Schema.optional(Schema.Defect())
|
|
@@ -30,7 +30,7 @@ var NotificationMessageSchema = Schema.Record(Schema.String, Schema.Unknown).ann
|
|
|
30
30
|
]
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
class NotificationSendError extends Schema.
|
|
33
|
+
class NotificationSendError extends Schema.TaggedError()("NotificationSendError", {
|
|
34
34
|
message: Schema.String,
|
|
35
35
|
channel: Schema.optional(Schema.String),
|
|
36
36
|
error: Schema.optional(Schema.Defect())
|
|
@@ -30,7 +30,7 @@ var NotificationMessageSchema = Schema.Record(Schema.String, Schema.Unknown).ann
|
|
|
30
30
|
]
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
class NotificationSendError extends Schema.
|
|
33
|
+
class NotificationSendError extends Schema.TaggedError()("NotificationSendError", {
|
|
34
34
|
message: Schema.String,
|
|
35
35
|
channel: Schema.optional(Schema.String),
|
|
36
36
|
error: Schema.optional(Schema.Defect())
|
|
@@ -18,7 +18,7 @@ var NotificationMessageSchema = Schema.Record(Schema.String, Schema.Unknown).ann
|
|
|
18
18
|
]
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
class NotificationSendError extends Schema.
|
|
21
|
+
class NotificationSendError extends Schema.TaggedError()("NotificationSendError", {
|
|
22
22
|
message: Schema.String,
|
|
23
23
|
channel: Schema.optional(Schema.String),
|
|
24
24
|
error: Schema.optional(Schema.Defect())
|
|
@@ -27,7 +27,7 @@ var PresignedUpload = Schema.Struct({
|
|
|
27
27
|
]
|
|
28
28
|
});
|
|
29
29
|
|
|
30
|
-
class S3ServiceError extends Schema.
|
|
30
|
+
class S3ServiceError extends Schema.TaggedError()("S3ServiceError", {
|
|
31
31
|
message: Schema.String,
|
|
32
32
|
path: Schema.optional(Schema.String),
|
|
33
33
|
error: Schema.optional(Schema.Defect())
|
|
@@ -24,7 +24,7 @@ var PresignedUpload = Schema.Struct({
|
|
|
24
24
|
]
|
|
25
25
|
});
|
|
26
26
|
|
|
27
|
-
class S3ServiceError extends Schema.
|
|
27
|
+
class S3ServiceError extends Schema.TaggedError()("S3ServiceError", {
|
|
28
28
|
message: Schema.String,
|
|
29
29
|
path: Schema.optional(Schema.String),
|
|
30
30
|
error: Schema.optional(Schema.Defect())
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@krak-stack/registry",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.24",
|
|
4
4
|
"description": "Tree-shakable KrakStack components and Effect services.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -219,8 +219,8 @@
|
|
|
219
219
|
"peerDependencies": {
|
|
220
220
|
"@aws-sdk/client-sesv2": "^3.1068.0",
|
|
221
221
|
"@base-ui/react": "^1.5.0",
|
|
222
|
-
"@effect/atom-react": "4.0.0-
|
|
223
|
-
"@effect/platform-browser": "4.0.0-
|
|
222
|
+
"@effect/atom-react": "4.0.0-rc.112",
|
|
223
|
+
"@effect/platform-browser": "4.0.0-rc.112",
|
|
224
224
|
"@iconify/react": "^6.0.2",
|
|
225
225
|
"@inlang/paraglide-js": "^2.19.0",
|
|
226
226
|
"@lucas-barake/effect-form": "0.25.0-beta.6",
|
|
@@ -234,7 +234,7 @@
|
|
|
234
234
|
"clsx": "^2.1.1",
|
|
235
235
|
"cmdk": "^1.1.1",
|
|
236
236
|
"drizzle-orm": "^1.0.0-rc.4-5d5b77c",
|
|
237
|
-
"effect": "4.0.0-
|
|
237
|
+
"effect": "4.0.0-rc.112",
|
|
238
238
|
"lucide-react": "^1.18.0",
|
|
239
239
|
"react": "^19.2.0",
|
|
240
240
|
"react-dom": "^19.2.0",
|