@moltzap/client 2026.801.3 → 2026.803.0
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/bounded-map.d.ts +3 -3
- package/dist/bounded-map.js +3 -3
- package/dist/channel-base/index.d.ts +3 -7
- package/dist/channel-base/index.d.ts.map +1 -1
- package/dist/channel-base/index.js +2 -6
- package/dist/channel-base/index.js.map +1 -1
- package/dist/channel-base/reply-guard.d.ts +52 -0
- package/dist/channel-base/reply-guard.d.ts.map +1 -0
- package/dist/channel-base/reply-guard.js +78 -0
- package/dist/channel-base/reply-guard.js.map +1 -0
- package/dist/channel-core-test-support.d.ts +5 -29
- package/dist/channel-core-test-support.d.ts.map +1 -1
- package/dist/channel-core-test-support.js +2 -92
- package/dist/channel-core-test-support.js.map +1 -1
- package/dist/channel-core.d.ts +130 -244
- package/dist/channel-core.d.ts.map +1 -1
- package/dist/channel-core.js +181 -505
- package/dist/channel-core.js.map +1 -1
- package/dist/cli/commands/start.d.ts +1 -5
- package/dist/cli/commands/start.d.ts.map +1 -1
- package/dist/cli/commands/start.js +0 -3
- package/dist/cli/commands/start.js.map +1 -1
- package/dist/harness-mcp-server.d.ts +19 -0
- package/dist/harness-mcp-server.d.ts.map +1 -0
- package/dist/harness-mcp-server.js +105 -0
- package/dist/harness-mcp-server.js.map +1 -0
- package/dist/harness-mcp-wire.d.ts +21 -0
- package/dist/harness-mcp-wire.d.ts.map +1 -0
- package/dist/harness-mcp-wire.js +48 -0
- package/dist/harness-mcp-wire.js.map +1 -0
- package/dist/index.d.ts +1 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -3
- package/dist/index.js.map +1 -1
- package/dist/local-daemon-rpc.d.ts +99 -178
- package/dist/local-daemon-rpc.d.ts.map +1 -1
- package/dist/local-daemon-rpc.js +8 -10
- package/dist/local-daemon-rpc.js.map +1 -1
- package/dist/moltzapd.d.ts +37 -0
- package/dist/moltzapd.d.ts.map +1 -0
- package/dist/moltzapd.js +64 -0
- package/dist/moltzapd.js.map +1 -0
- package/dist/notification/__tests__/subscribe-signatures.types-check.d.ts +14 -14
- package/dist/notification/__tests__/subscribe-signatures.types-check.d.ts.map +1 -1
- package/dist/notification/__tests__/subscribe-signatures.types-check.js +5 -5
- package/dist/notification/__tests__/subscribe-signatures.types-check.js.map +1 -1
- package/dist/service-local-daemon.d.ts +1 -1
- package/dist/service-local-daemon.d.ts.map +1 -1
- package/dist/service-local-daemon.js +2 -4
- package/dist/service-local-daemon.js.map +1 -1
- package/dist/service.d.ts +16 -29
- package/dist/service.d.ts.map +1 -1
- package/dist/service.js +41 -52
- package/dist/service.js.map +1 -1
- package/dist/test-utils/channel-service-fixture.d.ts +1 -3
- package/dist/test-utils/channel-service-fixture.d.ts.map +1 -1
- package/dist/test-utils/channel-service-fixture.js +2 -22
- package/dist/test-utils/channel-service-fixture.js.map +1 -1
- package/dist/test-utils/ids.d.ts +0 -13
- package/dist/test-utils/ids.d.ts.map +1 -1
- package/dist/test-utils/ids.js +1 -16
- package/dist/test-utils/ids.js.map +1 -1
- package/dist/test-utils/index.d.ts +1 -1
- package/dist/test-utils/index.d.ts.map +1 -1
- package/dist/test-utils/index.js +1 -1
- package/dist/test-utils/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -3
- package/dist/app-client.d.ts +0 -5
- package/dist/app-client.d.ts.map +0 -1
- package/dist/app-client.js +0 -3
- package/dist/app-client.js.map +0 -1
- package/dist/channel-base/lease-guard.d.ts +0 -31
- package/dist/channel-base/lease-guard.d.ts.map +0 -1
- package/dist/channel-base/lease-guard.js +0 -44
- package/dist/channel-base/lease-guard.js.map +0 -1
- package/dist/channel-base/lease-store.d.ts +0 -48
- package/dist/channel-base/lease-store.d.ts.map +0 -1
- package/dist/channel-base/lease-store.js +0 -77
- package/dist/channel-base/lease-store.js.map +0 -1
- package/dist/channel-base/lease.d.ts +0 -96
- package/dist/channel-base/lease.d.ts.map +0 -1
- package/dist/channel-base/lease.js +0 -106
- package/dist/channel-base/lease.js.map +0 -1
|
@@ -2,10 +2,6 @@ import { Rpc, RpcGroup } from "@effect/rpc";
|
|
|
2
2
|
import { Schema } from "effect";
|
|
3
3
|
import type * as SchemaAST from "effect/SchemaAST";
|
|
4
4
|
import { NotConnectedError, RpcTimeoutError } from "@moltzap/protocol/rpc";
|
|
5
|
-
/** Validates and decodes app id v4 values. */
|
|
6
|
-
declare const appIdV4: Schema.filter<Schema.Schema<import("@moltzap/protocol/identity").AppId, string, never>>;
|
|
7
|
-
/** Represents app id v4 values. */
|
|
8
|
-
export type AppIdV4 = Schema.Schema.Type<typeof appIdV4>;
|
|
9
5
|
/** A conversation is the whole address. */
|
|
10
6
|
export declare const sendTarget: Schema.transformOrFail<typeof Schema.String, Schema.Struct<{
|
|
11
7
|
conversationId: Schema.Schema<import("@moltzap/protocol/conversation").ConversationId, string, never>;
|
|
@@ -52,7 +48,6 @@ declare const startCommandPayload: Schema.Struct<{
|
|
|
52
48
|
name: Schema.filter<Schema.filter<typeof Schema.String>>;
|
|
53
49
|
}>]>, never>>;
|
|
54
50
|
message: Schema.optional<typeof Schema.String>;
|
|
55
|
-
appId: Schema.optional<Schema.filter<Schema.Schema<import("@moltzap/protocol/identity").AppId, string, never>>>;
|
|
56
51
|
}>;
|
|
57
52
|
declare const startCommandResult: Schema.Struct<{
|
|
58
53
|
conversationId: Schema.Schema<import("@moltzap/protocol/conversation").ConversationId, string, never>;
|
|
@@ -125,14 +120,6 @@ declare const localDaemonErrorSchema: Schema.Union<[typeof LocalDaemonInputError
|
|
|
125
120
|
readonly _tag: "Forbidden";
|
|
126
121
|
readonly data?: unknown;
|
|
127
122
|
readonly message?: string | undefined;
|
|
128
|
-
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
129
|
-
readonly _tag: "Unauthorized";
|
|
130
|
-
readonly data?: unknown;
|
|
131
|
-
readonly message?: string | undefined;
|
|
132
|
-
} | {
|
|
133
|
-
readonly _tag: "Forbidden";
|
|
134
|
-
readonly data?: unknown;
|
|
135
|
-
readonly message?: string | undefined;
|
|
136
123
|
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").InvalidParamsError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
137
124
|
readonly _tag: "Unauthorized";
|
|
138
125
|
readonly data?: unknown;
|
|
@@ -177,7 +164,7 @@ declare const localDaemonErrorSchema: Schema.Union<[typeof LocalDaemonInputError
|
|
|
177
164
|
readonly _tag: "ConversationFull";
|
|
178
165
|
readonly data?: unknown;
|
|
179
166
|
readonly message?: string | undefined;
|
|
180
|
-
}, never> | Schema.Schema<import("@moltzap/protocol/
|
|
167
|
+
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
181
168
|
readonly _tag: "Unauthorized";
|
|
182
169
|
readonly data?: unknown;
|
|
183
170
|
readonly message?: string | undefined;
|
|
@@ -185,25 +172,105 @@ declare const localDaemonErrorSchema: Schema.Union<[typeof LocalDaemonInputError
|
|
|
185
172
|
readonly _tag: "Forbidden";
|
|
186
173
|
readonly data?: unknown;
|
|
187
174
|
readonly message?: string | undefined;
|
|
188
|
-
} | {
|
|
189
|
-
readonly _tag: "HookBlocked";
|
|
190
|
-
readonly data?: unknown;
|
|
191
|
-
readonly message?: string | undefined;
|
|
192
|
-
} | {
|
|
193
|
-
readonly _tag: "DispatchNotFound";
|
|
194
|
-
readonly data?: unknown;
|
|
195
|
-
readonly message?: string | undefined;
|
|
196
175
|
}, never>)[]]>;
|
|
197
176
|
/** Represents local daemon error conditions. */
|
|
198
177
|
export type LocalDaemonError = Schema.Schema.Type<typeof localDaemonErrorSchema>;
|
|
199
178
|
/** Validates and decodes is local daemon error values. */
|
|
200
|
-
export declare const isLocalDaemonError: (u: unknown, overrideOptions?: SchemaAST.ParseOptions | number) => u is import("@moltzap/protocol/identity").AgentNotFoundError | import("@moltzap/protocol/rpc").AlreadyConnected | import("@moltzap/protocol/conversation").ConversationFullError | import("@moltzap/protocol/conversation").ConversationNotFoundError | import("@moltzap/protocol/
|
|
179
|
+
export declare const isLocalDaemonError: (u: unknown, overrideOptions?: SchemaAST.ParseOptions | number) => u is import("@moltzap/protocol/identity").AgentNotFoundError | import("@moltzap/protocol/rpc").AlreadyConnected | import("@moltzap/protocol/conversation").ConversationFullError | import("@moltzap/protocol/conversation").ConversationNotFoundError | import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").InvalidParamsError | LocalDaemonInputError | NotConnectedError | import("@moltzap/protocol/network").ProtocolMismatchError | RpcTimeoutError | ServiceInputError | StartPartialFailure | StartUsageError | import("@moltzap/protocol/rpc").UnauthorizedError;
|
|
201
180
|
/**
|
|
202
181
|
* Provides the to local daemon error runtime value.
|
|
203
182
|
* @param error Error to inspect.
|
|
204
183
|
* @returns The to local daemon error result.
|
|
205
184
|
*/
|
|
206
185
|
export declare const toLocalDaemonError: (error: unknown) => LocalDaemonError;
|
|
186
|
+
/** Provides the status command rpc runtime value. */
|
|
187
|
+
export declare const statusCommandRpc: Rpc.Rpc<"daemon/status", Schema.Struct<{}>, Schema.Struct<{
|
|
188
|
+
agentId: Schema.optional<Schema.Schema<import("@moltzap/protocol/identity").AgentId, string, never>>;
|
|
189
|
+
connected: typeof Schema.Boolean;
|
|
190
|
+
conversations: Schema.filter<Schema.filter<typeof Schema.Number>>;
|
|
191
|
+
}>, Schema.Union<[typeof LocalDaemonInputError, typeof StartUsageError, typeof StartPartialFailure, typeof ServiceInputError, typeof NotConnectedError, typeof RpcTimeoutError, ...(Schema.Schema<import("@moltzap/protocol/rpc").AlreadyConnected | import("@moltzap/protocol/rpc").InvalidParamsError | import("@moltzap/protocol/network").ProtocolMismatchError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
192
|
+
readonly _tag: "Unauthorized";
|
|
193
|
+
readonly data?: unknown;
|
|
194
|
+
readonly message?: string | undefined;
|
|
195
|
+
} | {
|
|
196
|
+
readonly _tag: "InvalidParamsError";
|
|
197
|
+
readonly data?: unknown;
|
|
198
|
+
readonly message?: string | undefined;
|
|
199
|
+
} | {
|
|
200
|
+
readonly _tag: "ProtocolMismatchError";
|
|
201
|
+
readonly data: {
|
|
202
|
+
readonly clientMaxProtocol: string;
|
|
203
|
+
readonly clientMinProtocol: string;
|
|
204
|
+
readonly reason: "server-above-client-max" | "server-below-client-min";
|
|
205
|
+
readonly serverVersion: string;
|
|
206
|
+
};
|
|
207
|
+
readonly message?: string | undefined;
|
|
208
|
+
} | {
|
|
209
|
+
readonly _tag: "AlreadyConnected";
|
|
210
|
+
readonly data?: unknown;
|
|
211
|
+
readonly message?: string | undefined;
|
|
212
|
+
readonly principal: "agent" | "app";
|
|
213
|
+
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
214
|
+
readonly _tag: "Unauthorized";
|
|
215
|
+
readonly data?: unknown;
|
|
216
|
+
readonly message?: string | undefined;
|
|
217
|
+
} | {
|
|
218
|
+
readonly _tag: "Forbidden";
|
|
219
|
+
readonly data?: unknown;
|
|
220
|
+
readonly message?: string | undefined;
|
|
221
|
+
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").InvalidParamsError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
222
|
+
readonly _tag: "Unauthorized";
|
|
223
|
+
readonly data?: unknown;
|
|
224
|
+
readonly message?: string | undefined;
|
|
225
|
+
} | {
|
|
226
|
+
readonly _tag: "Forbidden";
|
|
227
|
+
readonly data?: unknown;
|
|
228
|
+
readonly message?: string | undefined;
|
|
229
|
+
} | {
|
|
230
|
+
readonly _tag: "InvalidParamsError";
|
|
231
|
+
readonly data?: unknown;
|
|
232
|
+
readonly message?: string | undefined;
|
|
233
|
+
}, never> | Schema.Schema<import("@moltzap/protocol/conversation").ConversationNotFoundError | import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").InvalidParamsError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
234
|
+
readonly _tag: "Unauthorized";
|
|
235
|
+
readonly data?: unknown;
|
|
236
|
+
readonly message?: string | undefined;
|
|
237
|
+
} | {
|
|
238
|
+
readonly _tag: "Forbidden";
|
|
239
|
+
readonly data?: unknown;
|
|
240
|
+
readonly message?: string | undefined;
|
|
241
|
+
} | {
|
|
242
|
+
readonly _tag: "InvalidParamsError";
|
|
243
|
+
readonly data?: unknown;
|
|
244
|
+
readonly message?: string | undefined;
|
|
245
|
+
} | {
|
|
246
|
+
readonly _tag: "ConversationNotFound";
|
|
247
|
+
readonly data?: unknown;
|
|
248
|
+
readonly message?: string | undefined;
|
|
249
|
+
}, never> | Schema.Schema<import("@moltzap/protocol/identity").AgentNotFoundError | import("@moltzap/protocol/conversation").ConversationFullError | import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
250
|
+
readonly _tag: "Unauthorized";
|
|
251
|
+
readonly data?: unknown;
|
|
252
|
+
readonly message?: string | undefined;
|
|
253
|
+
} | {
|
|
254
|
+
readonly _tag: "Forbidden";
|
|
255
|
+
readonly data?: unknown;
|
|
256
|
+
readonly message?: string | undefined;
|
|
257
|
+
} | {
|
|
258
|
+
readonly _tag: "AgentNotFound";
|
|
259
|
+
readonly data?: unknown;
|
|
260
|
+
readonly message?: string | undefined;
|
|
261
|
+
} | {
|
|
262
|
+
readonly _tag: "ConversationFull";
|
|
263
|
+
readonly data?: unknown;
|
|
264
|
+
readonly message?: string | undefined;
|
|
265
|
+
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
266
|
+
readonly _tag: "Unauthorized";
|
|
267
|
+
readonly data?: unknown;
|
|
268
|
+
readonly message?: string | undefined;
|
|
269
|
+
} | {
|
|
270
|
+
readonly _tag: "Forbidden";
|
|
271
|
+
readonly data?: unknown;
|
|
272
|
+
readonly message?: string | undefined;
|
|
273
|
+
}, never>)[]]>, never>;
|
|
207
274
|
/** Provides the messages list command rpc runtime value. */
|
|
208
275
|
export declare const messagesListCommandRpc: Rpc.Rpc<"cli/messages/list", Schema.Struct<{
|
|
209
276
|
conversationId: Schema.Schema<import("@moltzap/protocol/conversation").ConversationId, string, never>;
|
|
@@ -259,14 +326,6 @@ export declare const messagesListCommandRpc: Rpc.Rpc<"cli/messages/list", Schema
|
|
|
259
326
|
readonly _tag: "Forbidden";
|
|
260
327
|
readonly data?: unknown;
|
|
261
328
|
readonly message?: string | undefined;
|
|
262
|
-
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
263
|
-
readonly _tag: "Unauthorized";
|
|
264
|
-
readonly data?: unknown;
|
|
265
|
-
readonly message?: string | undefined;
|
|
266
|
-
} | {
|
|
267
|
-
readonly _tag: "Forbidden";
|
|
268
|
-
readonly data?: unknown;
|
|
269
|
-
readonly message?: string | undefined;
|
|
270
329
|
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").InvalidParamsError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
271
330
|
readonly _tag: "Unauthorized";
|
|
272
331
|
readonly data?: unknown;
|
|
@@ -311,7 +370,7 @@ export declare const messagesListCommandRpc: Rpc.Rpc<"cli/messages/list", Schema
|
|
|
311
370
|
readonly _tag: "ConversationFull";
|
|
312
371
|
readonly data?: unknown;
|
|
313
372
|
readonly message?: string | undefined;
|
|
314
|
-
}, never> | Schema.Schema<import("@moltzap/protocol/
|
|
373
|
+
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
315
374
|
readonly _tag: "Unauthorized";
|
|
316
375
|
readonly data?: unknown;
|
|
317
376
|
readonly message?: string | undefined;
|
|
@@ -319,14 +378,6 @@ export declare const messagesListCommandRpc: Rpc.Rpc<"cli/messages/list", Schema
|
|
|
319
378
|
readonly _tag: "Forbidden";
|
|
320
379
|
readonly data?: unknown;
|
|
321
380
|
readonly message?: string | undefined;
|
|
322
|
-
} | {
|
|
323
|
-
readonly _tag: "HookBlocked";
|
|
324
|
-
readonly data?: unknown;
|
|
325
|
-
readonly message?: string | undefined;
|
|
326
|
-
} | {
|
|
327
|
-
readonly _tag: "DispatchNotFound";
|
|
328
|
-
readonly data?: unknown;
|
|
329
|
-
readonly message?: string | undefined;
|
|
330
381
|
}, never>)[]]>, never>;
|
|
331
382
|
/** Provides the start command rpc runtime value. */
|
|
332
383
|
export declare const startCommandRpc: Rpc.Rpc<"cli/start", Schema.Struct<{
|
|
@@ -340,7 +391,6 @@ export declare const startCommandRpc: Rpc.Rpc<"cli/start", Schema.Struct<{
|
|
|
340
391
|
name: Schema.filter<Schema.filter<typeof Schema.String>>;
|
|
341
392
|
}>]>, never>>;
|
|
342
393
|
message: Schema.optional<typeof Schema.String>;
|
|
343
|
-
appId: Schema.optional<Schema.filter<Schema.Schema<import("@moltzap/protocol/identity").AppId, string, never>>>;
|
|
344
394
|
}>, Schema.Struct<{
|
|
345
395
|
conversationId: Schema.Schema<import("@moltzap/protocol/conversation").ConversationId, string, never>;
|
|
346
396
|
sentMessageId: Schema.optional<Schema.Schema<import("@moltzap/protocol/conversation").MessageId, string, never>>;
|
|
@@ -374,14 +424,6 @@ export declare const startCommandRpc: Rpc.Rpc<"cli/start", Schema.Struct<{
|
|
|
374
424
|
readonly _tag: "Forbidden";
|
|
375
425
|
readonly data?: unknown;
|
|
376
426
|
readonly message?: string | undefined;
|
|
377
|
-
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
378
|
-
readonly _tag: "Unauthorized";
|
|
379
|
-
readonly data?: unknown;
|
|
380
|
-
readonly message?: string | undefined;
|
|
381
|
-
} | {
|
|
382
|
-
readonly _tag: "Forbidden";
|
|
383
|
-
readonly data?: unknown;
|
|
384
|
-
readonly message?: string | undefined;
|
|
385
427
|
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").InvalidParamsError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
386
428
|
readonly _tag: "Unauthorized";
|
|
387
429
|
readonly data?: unknown;
|
|
@@ -426,7 +468,7 @@ export declare const startCommandRpc: Rpc.Rpc<"cli/start", Schema.Struct<{
|
|
|
426
468
|
readonly _tag: "ConversationFull";
|
|
427
469
|
readonly data?: unknown;
|
|
428
470
|
readonly message?: string | undefined;
|
|
429
|
-
}, never> | Schema.Schema<import("@moltzap/protocol/
|
|
471
|
+
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
430
472
|
readonly _tag: "Unauthorized";
|
|
431
473
|
readonly data?: unknown;
|
|
432
474
|
readonly message?: string | undefined;
|
|
@@ -434,14 +476,6 @@ export declare const startCommandRpc: Rpc.Rpc<"cli/start", Schema.Struct<{
|
|
|
434
476
|
readonly _tag: "Forbidden";
|
|
435
477
|
readonly data?: unknown;
|
|
436
478
|
readonly message?: string | undefined;
|
|
437
|
-
} | {
|
|
438
|
-
readonly _tag: "HookBlocked";
|
|
439
|
-
readonly data?: unknown;
|
|
440
|
-
readonly message?: string | undefined;
|
|
441
|
-
} | {
|
|
442
|
-
readonly _tag: "DispatchNotFound";
|
|
443
|
-
readonly data?: unknown;
|
|
444
|
-
readonly message?: string | undefined;
|
|
445
479
|
}, never>)[]]>, never>;
|
|
446
480
|
declare const LocalDaemonRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"cli/agents/list", Schema.Struct<{
|
|
447
481
|
limit: Schema.optional<Schema.filter<Schema.filter<Schema.filter<typeof Schema.Number>>>>;
|
|
@@ -491,14 +525,6 @@ declare const LocalDaemonRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"cli/agents/list",
|
|
|
491
525
|
readonly _tag: "Forbidden";
|
|
492
526
|
readonly data?: unknown;
|
|
493
527
|
readonly message?: string | undefined;
|
|
494
|
-
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
495
|
-
readonly _tag: "Unauthorized";
|
|
496
|
-
readonly data?: unknown;
|
|
497
|
-
readonly message?: string | undefined;
|
|
498
|
-
} | {
|
|
499
|
-
readonly _tag: "Forbidden";
|
|
500
|
-
readonly data?: unknown;
|
|
501
|
-
readonly message?: string | undefined;
|
|
502
528
|
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").InvalidParamsError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
503
529
|
readonly _tag: "Unauthorized";
|
|
504
530
|
readonly data?: unknown;
|
|
@@ -543,7 +569,7 @@ declare const LocalDaemonRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"cli/agents/list",
|
|
|
543
569
|
readonly _tag: "ConversationFull";
|
|
544
570
|
readonly data?: unknown;
|
|
545
571
|
readonly message?: string | undefined;
|
|
546
|
-
}, never> | Schema.Schema<import("@moltzap/protocol/
|
|
572
|
+
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
547
573
|
readonly _tag: "Unauthorized";
|
|
548
574
|
readonly data?: unknown;
|
|
549
575
|
readonly message?: string | undefined;
|
|
@@ -551,14 +577,6 @@ declare const LocalDaemonRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"cli/agents/list",
|
|
|
551
577
|
readonly _tag: "Forbidden";
|
|
552
578
|
readonly data?: unknown;
|
|
553
579
|
readonly message?: string | undefined;
|
|
554
|
-
} | {
|
|
555
|
-
readonly _tag: "HookBlocked";
|
|
556
|
-
readonly data?: unknown;
|
|
557
|
-
readonly message?: string | undefined;
|
|
558
|
-
} | {
|
|
559
|
-
readonly _tag: "DispatchNotFound";
|
|
560
|
-
readonly data?: unknown;
|
|
561
|
-
readonly message?: string | undefined;
|
|
562
580
|
}, never>)[]]>, never> | Rpc.Rpc<"cli/agents/search", Schema.Struct<{
|
|
563
581
|
names: Schema.filter<Schema.filter<Schema.Array$<Schema.filter<Schema.filter<typeof Schema.String>>>>>;
|
|
564
582
|
}>, Schema.Struct<{
|
|
@@ -607,14 +625,6 @@ declare const LocalDaemonRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"cli/agents/list",
|
|
|
607
625
|
readonly _tag: "Forbidden";
|
|
608
626
|
readonly data?: unknown;
|
|
609
627
|
readonly message?: string | undefined;
|
|
610
|
-
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
611
|
-
readonly _tag: "Unauthorized";
|
|
612
|
-
readonly data?: unknown;
|
|
613
|
-
readonly message?: string | undefined;
|
|
614
|
-
} | {
|
|
615
|
-
readonly _tag: "Forbidden";
|
|
616
|
-
readonly data?: unknown;
|
|
617
|
-
readonly message?: string | undefined;
|
|
618
628
|
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").InvalidParamsError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
619
629
|
readonly _tag: "Unauthorized";
|
|
620
630
|
readonly data?: unknown;
|
|
@@ -659,7 +669,7 @@ declare const LocalDaemonRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"cli/agents/list",
|
|
|
659
669
|
readonly _tag: "ConversationFull";
|
|
660
670
|
readonly data?: unknown;
|
|
661
671
|
readonly message?: string | undefined;
|
|
662
|
-
}, never> | Schema.Schema<import("@moltzap/protocol/
|
|
672
|
+
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
663
673
|
readonly _tag: "Unauthorized";
|
|
664
674
|
readonly data?: unknown;
|
|
665
675
|
readonly message?: string | undefined;
|
|
@@ -667,14 +677,6 @@ declare const LocalDaemonRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"cli/agents/list",
|
|
|
667
677
|
readonly _tag: "Forbidden";
|
|
668
678
|
readonly data?: unknown;
|
|
669
679
|
readonly message?: string | undefined;
|
|
670
|
-
} | {
|
|
671
|
-
readonly _tag: "HookBlocked";
|
|
672
|
-
readonly data?: unknown;
|
|
673
|
-
readonly message?: string | undefined;
|
|
674
|
-
} | {
|
|
675
|
-
readonly _tag: "DispatchNotFound";
|
|
676
|
-
readonly data?: unknown;
|
|
677
|
-
readonly message?: string | undefined;
|
|
678
680
|
}, never>)[]]>, never> | Rpc.Rpc<"cli/messages/list", Schema.Struct<{
|
|
679
681
|
conversationId: Schema.Schema<import("@moltzap/protocol/conversation").ConversationId, string, never>;
|
|
680
682
|
limit: Schema.optional<Schema.filter<Schema.filter<Schema.filter<typeof Schema.Number>>>>;
|
|
@@ -729,14 +731,6 @@ declare const LocalDaemonRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"cli/agents/list",
|
|
|
729
731
|
readonly _tag: "Forbidden";
|
|
730
732
|
readonly data?: unknown;
|
|
731
733
|
readonly message?: string | undefined;
|
|
732
|
-
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
733
|
-
readonly _tag: "Unauthorized";
|
|
734
|
-
readonly data?: unknown;
|
|
735
|
-
readonly message?: string | undefined;
|
|
736
|
-
} | {
|
|
737
|
-
readonly _tag: "Forbidden";
|
|
738
|
-
readonly data?: unknown;
|
|
739
|
-
readonly message?: string | undefined;
|
|
740
734
|
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").InvalidParamsError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
741
735
|
readonly _tag: "Unauthorized";
|
|
742
736
|
readonly data?: unknown;
|
|
@@ -781,7 +775,7 @@ declare const LocalDaemonRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"cli/agents/list",
|
|
|
781
775
|
readonly _tag: "ConversationFull";
|
|
782
776
|
readonly data?: unknown;
|
|
783
777
|
readonly message?: string | undefined;
|
|
784
|
-
}, never> | Schema.Schema<import("@moltzap/protocol/
|
|
778
|
+
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
785
779
|
readonly _tag: "Unauthorized";
|
|
786
780
|
readonly data?: unknown;
|
|
787
781
|
readonly message?: string | undefined;
|
|
@@ -789,14 +783,6 @@ declare const LocalDaemonRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"cli/agents/list",
|
|
|
789
783
|
readonly _tag: "Forbidden";
|
|
790
784
|
readonly data?: unknown;
|
|
791
785
|
readonly message?: string | undefined;
|
|
792
|
-
} | {
|
|
793
|
-
readonly _tag: "HookBlocked";
|
|
794
|
-
readonly data?: unknown;
|
|
795
|
-
readonly message?: string | undefined;
|
|
796
|
-
} | {
|
|
797
|
-
readonly _tag: "DispatchNotFound";
|
|
798
|
-
readonly data?: unknown;
|
|
799
|
-
readonly message?: string | undefined;
|
|
800
786
|
}, never>)[]]>, never> | Rpc.Rpc<"cli/send", Schema.Struct<{
|
|
801
787
|
target: Schema.transformOrFail<typeof Schema.String, Schema.Struct<{
|
|
802
788
|
conversationId: Schema.Schema<import("@moltzap/protocol/conversation").ConversationId, string, never>;
|
|
@@ -834,14 +820,6 @@ declare const LocalDaemonRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"cli/agents/list",
|
|
|
834
820
|
readonly _tag: "Forbidden";
|
|
835
821
|
readonly data?: unknown;
|
|
836
822
|
readonly message?: string | undefined;
|
|
837
|
-
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
838
|
-
readonly _tag: "Unauthorized";
|
|
839
|
-
readonly data?: unknown;
|
|
840
|
-
readonly message?: string | undefined;
|
|
841
|
-
} | {
|
|
842
|
-
readonly _tag: "Forbidden";
|
|
843
|
-
readonly data?: unknown;
|
|
844
|
-
readonly message?: string | undefined;
|
|
845
823
|
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").InvalidParamsError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
846
824
|
readonly _tag: "Unauthorized";
|
|
847
825
|
readonly data?: unknown;
|
|
@@ -886,7 +864,7 @@ declare const LocalDaemonRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"cli/agents/list",
|
|
|
886
864
|
readonly _tag: "ConversationFull";
|
|
887
865
|
readonly data?: unknown;
|
|
888
866
|
readonly message?: string | undefined;
|
|
889
|
-
}, never> | Schema.Schema<import("@moltzap/protocol/
|
|
867
|
+
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
890
868
|
readonly _tag: "Unauthorized";
|
|
891
869
|
readonly data?: unknown;
|
|
892
870
|
readonly message?: string | undefined;
|
|
@@ -894,14 +872,6 @@ declare const LocalDaemonRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"cli/agents/list",
|
|
|
894
872
|
readonly _tag: "Forbidden";
|
|
895
873
|
readonly data?: unknown;
|
|
896
874
|
readonly message?: string | undefined;
|
|
897
|
-
} | {
|
|
898
|
-
readonly _tag: "HookBlocked";
|
|
899
|
-
readonly data?: unknown;
|
|
900
|
-
readonly message?: string | undefined;
|
|
901
|
-
} | {
|
|
902
|
-
readonly _tag: "DispatchNotFound";
|
|
903
|
-
readonly data?: unknown;
|
|
904
|
-
readonly message?: string | undefined;
|
|
905
875
|
}, never>)[]]>, never> | Rpc.Rpc<"cli/start", Schema.Struct<{
|
|
906
876
|
name: Schema.filter<Schema.filter<typeof Schema.String>>;
|
|
907
877
|
participants: Schema.Array$<Schema.transformOrFail<typeof Schema.String, Schema.Union<[Schema.Struct<{
|
|
@@ -913,7 +883,6 @@ declare const LocalDaemonRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"cli/agents/list",
|
|
|
913
883
|
name: Schema.filter<Schema.filter<typeof Schema.String>>;
|
|
914
884
|
}>]>, never>>;
|
|
915
885
|
message: Schema.optional<typeof Schema.String>;
|
|
916
|
-
appId: Schema.optional<Schema.filter<Schema.Schema<import("@moltzap/protocol/identity").AppId, string, never>>>;
|
|
917
886
|
}>, Schema.Struct<{
|
|
918
887
|
conversationId: Schema.Schema<import("@moltzap/protocol/conversation").ConversationId, string, never>;
|
|
919
888
|
sentMessageId: Schema.optional<Schema.Schema<import("@moltzap/protocol/conversation").MessageId, string, never>>;
|
|
@@ -947,14 +916,6 @@ declare const LocalDaemonRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"cli/agents/list",
|
|
|
947
916
|
readonly _tag: "Forbidden";
|
|
948
917
|
readonly data?: unknown;
|
|
949
918
|
readonly message?: string | undefined;
|
|
950
|
-
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
951
|
-
readonly _tag: "Unauthorized";
|
|
952
|
-
readonly data?: unknown;
|
|
953
|
-
readonly message?: string | undefined;
|
|
954
|
-
} | {
|
|
955
|
-
readonly _tag: "Forbidden";
|
|
956
|
-
readonly data?: unknown;
|
|
957
|
-
readonly message?: string | undefined;
|
|
958
919
|
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").InvalidParamsError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
959
920
|
readonly _tag: "Unauthorized";
|
|
960
921
|
readonly data?: unknown;
|
|
@@ -999,7 +960,7 @@ declare const LocalDaemonRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"cli/agents/list",
|
|
|
999
960
|
readonly _tag: "ConversationFull";
|
|
1000
961
|
readonly data?: unknown;
|
|
1001
962
|
readonly message?: string | undefined;
|
|
1002
|
-
}, never> | Schema.Schema<import("@moltzap/protocol/
|
|
963
|
+
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
1003
964
|
readonly _tag: "Unauthorized";
|
|
1004
965
|
readonly data?: unknown;
|
|
1005
966
|
readonly message?: string | undefined;
|
|
@@ -1007,14 +968,6 @@ declare const LocalDaemonRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"cli/agents/list",
|
|
|
1007
968
|
readonly _tag: "Forbidden";
|
|
1008
969
|
readonly data?: unknown;
|
|
1009
970
|
readonly message?: string | undefined;
|
|
1010
|
-
} | {
|
|
1011
|
-
readonly _tag: "HookBlocked";
|
|
1012
|
-
readonly data?: unknown;
|
|
1013
|
-
readonly message?: string | undefined;
|
|
1014
|
-
} | {
|
|
1015
|
-
readonly _tag: "DispatchNotFound";
|
|
1016
|
-
readonly data?: unknown;
|
|
1017
|
-
readonly message?: string | undefined;
|
|
1018
971
|
}, never>)[]]>, never> | Rpc.Rpc<"daemon/history", Schema.Struct<{
|
|
1019
972
|
conversationId: Schema.Schema<import("@moltzap/protocol/conversation").ConversationId, string, never>;
|
|
1020
973
|
limit: Schema.optionalWith<Schema.filter<Schema.filter<typeof Schema.Number>>, {
|
|
@@ -1069,14 +1022,6 @@ declare const LocalDaemonRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"cli/agents/list",
|
|
|
1069
1022
|
readonly _tag: "Forbidden";
|
|
1070
1023
|
readonly data?: unknown;
|
|
1071
1024
|
readonly message?: string | undefined;
|
|
1072
|
-
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
1073
|
-
readonly _tag: "Unauthorized";
|
|
1074
|
-
readonly data?: unknown;
|
|
1075
|
-
readonly message?: string | undefined;
|
|
1076
|
-
} | {
|
|
1077
|
-
readonly _tag: "Forbidden";
|
|
1078
|
-
readonly data?: unknown;
|
|
1079
|
-
readonly message?: string | undefined;
|
|
1080
1025
|
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").InvalidParamsError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
1081
1026
|
readonly _tag: "Unauthorized";
|
|
1082
1027
|
readonly data?: unknown;
|
|
@@ -1121,7 +1066,7 @@ declare const LocalDaemonRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"cli/agents/list",
|
|
|
1121
1066
|
readonly _tag: "ConversationFull";
|
|
1122
1067
|
readonly data?: unknown;
|
|
1123
1068
|
readonly message?: string | undefined;
|
|
1124
|
-
}, never> | Schema.Schema<import("@moltzap/protocol/
|
|
1069
|
+
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
1125
1070
|
readonly _tag: "Unauthorized";
|
|
1126
1071
|
readonly data?: unknown;
|
|
1127
1072
|
readonly message?: string | undefined;
|
|
@@ -1129,14 +1074,6 @@ declare const LocalDaemonRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"cli/agents/list",
|
|
|
1129
1074
|
readonly _tag: "Forbidden";
|
|
1130
1075
|
readonly data?: unknown;
|
|
1131
1076
|
readonly message?: string | undefined;
|
|
1132
|
-
} | {
|
|
1133
|
-
readonly _tag: "HookBlocked";
|
|
1134
|
-
readonly data?: unknown;
|
|
1135
|
-
readonly message?: string | undefined;
|
|
1136
|
-
} | {
|
|
1137
|
-
readonly _tag: "DispatchNotFound";
|
|
1138
|
-
readonly data?: unknown;
|
|
1139
|
-
readonly message?: string | undefined;
|
|
1140
1077
|
}, never>)[]]>, never> | Rpc.Rpc<"daemon/status", Schema.Struct<{}>, Schema.Struct<{
|
|
1141
1078
|
agentId: Schema.optional<Schema.Schema<import("@moltzap/protocol/identity").AgentId, string, never>>;
|
|
1142
1079
|
connected: typeof Schema.Boolean;
|
|
@@ -1171,14 +1108,6 @@ declare const LocalDaemonRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"cli/agents/list",
|
|
|
1171
1108
|
readonly _tag: "Forbidden";
|
|
1172
1109
|
readonly data?: unknown;
|
|
1173
1110
|
readonly message?: string | undefined;
|
|
1174
|
-
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
1175
|
-
readonly _tag: "Unauthorized";
|
|
1176
|
-
readonly data?: unknown;
|
|
1177
|
-
readonly message?: string | undefined;
|
|
1178
|
-
} | {
|
|
1179
|
-
readonly _tag: "Forbidden";
|
|
1180
|
-
readonly data?: unknown;
|
|
1181
|
-
readonly message?: string | undefined;
|
|
1182
1111
|
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").InvalidParamsError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
1183
1112
|
readonly _tag: "Unauthorized";
|
|
1184
1113
|
readonly data?: unknown;
|
|
@@ -1223,7 +1152,7 @@ declare const LocalDaemonRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"cli/agents/list",
|
|
|
1223
1152
|
readonly _tag: "ConversationFull";
|
|
1224
1153
|
readonly data?: unknown;
|
|
1225
1154
|
readonly message?: string | undefined;
|
|
1226
|
-
}, never> | Schema.Schema<import("@moltzap/protocol/
|
|
1155
|
+
}, never> | Schema.Schema<import("@moltzap/protocol/rpc").ForbiddenError | import("@moltzap/protocol/rpc").UnauthorizedError, {
|
|
1227
1156
|
readonly _tag: "Unauthorized";
|
|
1228
1157
|
readonly data?: unknown;
|
|
1229
1158
|
readonly message?: string | undefined;
|
|
@@ -1231,14 +1160,6 @@ declare const LocalDaemonRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"cli/agents/list",
|
|
|
1231
1160
|
readonly _tag: "Forbidden";
|
|
1232
1161
|
readonly data?: unknown;
|
|
1233
1162
|
readonly message?: string | undefined;
|
|
1234
|
-
} | {
|
|
1235
|
-
readonly _tag: "HookBlocked";
|
|
1236
|
-
readonly data?: unknown;
|
|
1237
|
-
readonly message?: string | undefined;
|
|
1238
|
-
} | {
|
|
1239
|
-
readonly _tag: "DispatchNotFound";
|
|
1240
|
-
readonly data?: unknown;
|
|
1241
|
-
readonly message?: string | undefined;
|
|
1242
1163
|
}, never>)[]]>, never>>;
|
|
1243
1164
|
/** Implements local daemon rpcs. */
|
|
1244
1165
|
export declare class LocalDaemonRpcs extends LocalDaemonRpcs_base {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-daemon-rpc.d.ts","sourceRoot":"","sources":["../src/local-daemon-rpc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAuB,MAAM,EAAE,MAAM,QAAQ,CAAC;AACrD,OAAO,KAAK,KAAK,SAAS,MAAM,kBAAkB,CAAC;AAKnD,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"local-daemon-rpc.d.ts","sourceRoot":"","sources":["../src/local-daemon-rpc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAuB,MAAM,EAAE,MAAM,QAAQ,CAAC;AACrD,OAAO,KAAK,KAAK,SAAS,MAAM,kBAAkB,CAAC;AAKnD,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAsC3E,2CAA2C;AAC3C,eAAO,MAAM,UAAU;;UAiBtB,CAAC;AACF,qCAAqC;AACrC,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,UAAU,CAAC,CAAC;AAkB/D,sDAAsD;AACtD,eAAO,MAAM,gBAAgB;;;;;;;YAoC5B,CAAC;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,oCAAoC;AACpC,qBAAa,eAAgB,SAAQ,oBAoBpC;CAAG;AAEJ,+CAA+C;AAC/C,MAAM,MAAM,mBAAmB,GAAG,QAAQ,CAAC,YAAY,CACrD,QAAQ,CAAC,IAAI,CAAC,OAAO,eAAe,CAAC,CACtC,CAAC"}
|
package/dist/local-daemon-rpc.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Rpc, RpcGroup } from "@effect/rpc";
|
|
2
2
|
import { Effect, ParseResult, Schema } from "effect";
|
|
3
|
-
import { agentId, agentsList
|
|
3
|
+
import { agentId, agentsList } from "@moltzap/protocol/identity";
|
|
4
4
|
import { agentCallableMethods } from "@moltzap/protocol/socket/catalog";
|
|
5
5
|
import { conversationId, messageId } from "@moltzap/protocol/conversation";
|
|
6
6
|
import { messagesList } from "@moltzap/protocol/message";
|
|
@@ -18,9 +18,6 @@ const localDaemonStatusResultSchema = Schema.Struct({
|
|
|
18
18
|
conversations: Schema.Number.pipe(Schema.int(), Schema.nonNegative()),
|
|
19
19
|
});
|
|
20
20
|
const pageLimit = Schema.Number.pipe(Schema.int(), Schema.greaterThanOrEqualTo(1), Schema.lessThanOrEqualTo(MAX_PAGE_LIMIT));
|
|
21
|
-
/** Validates and decodes app id v4 values. */
|
|
22
|
-
const appIdV4 = appId.pipe(Schema.filter((value) => (typeof value === "string" && UUID_V4_RE.test(value)) ||
|
|
23
|
-
"must be a UUID v4"));
|
|
24
21
|
const parseStringIssue = (ast, actual, message) => Effect.fail(new ParseResult.Type(ast, actual, message));
|
|
25
22
|
const sendTargetParts = Schema.Struct({
|
|
26
23
|
conversationId: conversationId,
|
|
@@ -107,7 +104,6 @@ const startCommandPayload = Schema.Struct({
|
|
|
107
104
|
name: Schema.String.pipe(Schema.minLength(1), Schema.maxLength(100)),
|
|
108
105
|
participants: Schema.Array(startParticipant),
|
|
109
106
|
message: Schema.optional(Schema.String),
|
|
110
|
-
appId: Schema.optional(appIdV4),
|
|
111
107
|
});
|
|
112
108
|
const startCommandResult = Schema.Struct({
|
|
113
109
|
conversationId: conversationId,
|
|
@@ -140,6 +136,12 @@ const errorMessage = (error) => error instanceof Error ? error.message : String(
|
|
|
140
136
|
export const toLocalDaemonError = (error) => isLocalDaemonError(error)
|
|
141
137
|
? error
|
|
142
138
|
: new LocalDaemonInputError({ message: errorMessage(error) });
|
|
139
|
+
/** Provides the status command rpc runtime value. */
|
|
140
|
+
export const statusCommandRpc = Rpc.make(localDaemonCommands.status, {
|
|
141
|
+
payload: emptyPayload,
|
|
142
|
+
success: localDaemonStatusResultSchema,
|
|
143
|
+
error: localDaemonErrorSchema,
|
|
144
|
+
});
|
|
143
145
|
/** Provides the messages list command rpc runtime value. */
|
|
144
146
|
export const messagesListCommandRpc = Rpc.make(localDaemonCommands.messagesList, {
|
|
145
147
|
payload: messagesListCommandPayload,
|
|
@@ -159,11 +161,7 @@ export const startCommandRpc = Rpc.make(localDaemonCommands.start, {
|
|
|
159
161
|
error: localDaemonErrorSchema,
|
|
160
162
|
});
|
|
161
163
|
/** Implements local daemon rpcs. */
|
|
162
|
-
export class LocalDaemonRpcs extends RpcGroup.make(Rpc.make(localDaemonCommands.
|
|
163
|
-
payload: emptyPayload,
|
|
164
|
-
success: localDaemonStatusResultSchema,
|
|
165
|
-
error: localDaemonErrorSchema,
|
|
166
|
-
}), Rpc.make(localDaemonCommands.history, {
|
|
164
|
+
export class LocalDaemonRpcs extends RpcGroup.make(statusCommandRpc, Rpc.make(localDaemonCommands.history, {
|
|
167
165
|
payload: historyRequestSchema(),
|
|
168
166
|
success: historyResponseSchema(),
|
|
169
167
|
error: localDaemonErrorSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-daemon-rpc.js","sourceRoot":"","sources":["../src/local-daemon-rpc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAErD,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"local-daemon-rpc.js","sourceRoot":"","sources":["../src/local-daemon-rpc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAErD,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC3E,OAAO,EACL,oBAAoB,EACpB,qBAAqB,GACtB,MAAM,oBAAoB,CAAC;AAE5B,MAAM,cAAc,GAAG,GAAG,CAAC;AAC3B,MAAM,qBAAqB,GAAG,GAAG,CAAC;AAClC,MAAM,UAAU,GACd,wEAAwE,CAAC;AAC3E,MAAM,0BAA0B,GAAG,OAAO,CAAC;AAC3C,MAAM,kBAAkB,GAAG,QAAQ,CAAC;AAEpC,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,C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