@shivaedev/work-board 0.16.0 → 0.17.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/CHANGELOG.md +18 -0
- package/README.md +4 -4
- package/assets/react.js +52 -39
- package/dist/browser/views/remaining.d.ts +0 -240
- package/dist/browser/views/remaining.d.ts.map +1 -1
- package/dist/browser/views/remaining.js +0 -2
- package/dist/browser/views/remaining.js.map +1 -1
- package/dist/client/react/DocumentAttention.d.ts.map +1 -1
- package/dist/client/react/DocumentAttention.js +2 -3
- package/dist/client/react/DocumentAttention.js.map +1 -1
- package/dist/client/react/ProjectionFrame.js +1 -1
- package/dist/client/react/ProjectionFrame.js.map +1 -1
- package/dist/client/react/RemainingMain.d.ts.map +1 -1
- package/dist/client/react/RemainingMain.js +0 -3
- package/dist/client/react/RemainingMain.js.map +1 -1
- package/dist/client/react/ResultPage.d.ts.map +1 -1
- package/dist/client/react/ResultPage.js +2 -1
- package/dist/client/react/ResultPage.js.map +1 -1
- package/dist/client/react/ShellApi.d.ts +0 -1
- package/dist/client/react/ShellApi.d.ts.map +1 -1
- package/dist/client/react/TodayOptions.d.ts.map +1 -1
- package/dist/client/react/TodayOptions.js +2 -2
- package/dist/client/react/TodayOptions.js.map +1 -1
- package/dist/client/react/entry.js +1 -1
- package/dist/client/react/entry.js.map +1 -1
- package/dist/client/react/loadBoardPage.d.ts.map +1 -1
- package/dist/client/react/loadBoardPage.js +5 -13
- package/dist/client/react/loadBoardPage.js.map +1 -1
- package/dist/client/react/loadRemaining.d.ts +109 -349
- package/dist/client/react/loadRemaining.d.ts.map +1 -1
- package/dist/client/react/loadRemaining.js +0 -2
- package/dist/client/react/loadRemaining.js.map +1 -1
- package/dist/client/react/pageQueries.d.ts.map +1 -1
- package/dist/client/react/pageQueries.js +0 -3
- package/dist/client/react/pageQueries.js.map +1 -1
- package/dist/client/react/readerLink.js +1 -1
- package/dist/client/react/readerLink.js.map +1 -1
- package/dist/client/react/remainingRoute.d.ts +1 -1
- package/dist/client/react/remainingRoute.d.ts.map +1 -1
- package/dist/client/react/remainingRoute.js +0 -2
- package/dist/client/react/remainingRoute.js.map +1 -1
- package/dist/responses/url.js +1 -1
- package/dist/responses/url.js.map +1 -1
- package/dist/rpc/PageUrl.d.ts.map +1 -1
- package/dist/rpc/PageUrl.js +0 -1
- package/dist/rpc/PageUrl.js.map +1 -1
- package/dist/rpc/contract.d.ts +2203 -2926
- package/dist/rpc/contract.d.ts.map +1 -1
- package/dist/rpc/contract.js +6 -9
- package/dist/rpc/contract.js.map +1 -1
- package/dist/rpc/responseContract.d.ts +56 -56
- package/dist/server/{responses/service.d.ts → Responses.d.ts} +9 -21
- package/dist/server/Responses.d.ts.map +1 -0
- package/dist/server/{responses/service.js → Responses.js} +22 -22
- package/dist/server/Responses.js.map +1 -0
- package/dist/server/attention/inbox.d.ts +2 -0
- package/dist/server/attention/inbox.d.ts.map +1 -1
- package/dist/server/attention/inbox.js +1 -0
- package/dist/server/attention/inbox.js.map +1 -1
- package/dist/server/attention/projection.js +1 -1
- package/dist/server/attention/projection.js.map +1 -1
- package/dist/server/attention/requestInbox.d.ts +3 -0
- package/dist/server/attention/requestInbox.d.ts.map +1 -1
- package/dist/server/attention/requestInbox.js +1 -0
- package/dist/server/attention/requestInbox.js.map +1 -1
- package/dist/server/boardRuntime.d.ts +2 -2
- package/dist/server/boardRuntime.d.ts.map +1 -1
- package/dist/server/boardRuntime.js +12 -16
- package/dist/server/boardRuntime.js.map +1 -1
- package/dist/server/boardServices.d.ts +3 -4
- package/dist/server/boardServices.d.ts.map +1 -1
- package/dist/server/boardServices.js +5 -4
- package/dist/server/boardServices.js.map +1 -1
- package/dist/server/boardSocket.d.ts +1 -1
- package/dist/server/boardSocket.d.ts.map +1 -1
- package/dist/server/document/read.d.ts +4 -10
- package/dist/server/document/read.d.ts.map +1 -1
- package/dist/server/document/read.js +5 -5
- package/dist/server/document/read.js.map +1 -1
- package/dist/server/document/requests.d.ts.map +1 -1
- package/dist/server/document/requests.js +1 -2
- package/dist/server/document/requests.js.map +1 -1
- package/dist/server/handoffs/Service.d.ts +1 -2
- package/dist/server/handoffs/Service.d.ts.map +1 -1
- package/dist/server/handoffs/Service.js +14 -13
- package/dist/server/handoffs/Service.js.map +1 -1
- package/dist/server/http/assets.d.ts +0 -3
- package/dist/server/http/assets.d.ts.map +1 -1
- package/dist/server/http/assets.js +1 -7
- package/dist/server/http/assets.js.map +1 -1
- package/dist/server/http/boardRoutes.d.ts.map +1 -1
- package/dist/server/http/boardRoutes.js +3 -3
- package/dist/server/http/boardRoutes.js.map +1 -1
- package/dist/server/integration/responses.d.ts +207 -4
- package/dist/server/integration/responses.d.ts.map +1 -1
- package/dist/server/integration/responses.js +4 -2
- package/dist/server/integration/responses.js.map +1 -1
- package/dist/server/mcp/client.d.ts +2 -242
- package/dist/server/mcp/client.d.ts.map +1 -1
- package/dist/server/mcp/queries.d.ts +24 -744
- package/dist/server/mcp/queries.d.ts.map +1 -1
- package/dist/server/mcp/queries.js +3 -3
- package/dist/server/mcp/queries.js.map +1 -1
- package/dist/server/packageInfo.d.ts +1 -1
- package/dist/server/packageInfo.js +1 -1
- package/dist/server/responses/readingActions.d.ts +10 -1
- package/dist/server/responses/readingActions.d.ts.map +1 -1
- package/dist/server/responses/readingActions.js +2 -4
- package/dist/server/responses/readingActions.js.map +1 -1
- package/dist/server/responses/registerQuestion.d.ts +2 -2
- package/dist/server/responses/registerQuestion.d.ts.map +1 -1
- package/dist/server/responses/registerQuestion.js +3 -3
- package/dist/server/responses/registerQuestion.js.map +1 -1
- package/dist/server/responses/retry.d.ts +2 -2
- package/dist/server/responses/retry.d.ts.map +1 -1
- package/dist/server/responses/retry.js +1 -1
- package/dist/server/responses/retry.js.map +1 -1
- package/dist/server/rpc/HandlerOptions.d.ts +0 -8
- package/dist/server/rpc/HandlerOptions.d.ts.map +1 -1
- package/dist/server/rpc/handlers.d.ts +1 -1
- package/dist/server/rpc/handlers.d.ts.map +1 -1
- package/dist/server/rpc/handlers.js +14 -13
- package/dist/server/rpc/handlers.js.map +1 -1
- package/dist/server/rpc/hints.d.ts +3 -5
- package/dist/server/rpc/hints.d.ts.map +1 -1
- package/dist/server/rpc/hints.js +5 -1
- package/dist/server/rpc/hints.js.map +1 -1
- package/dist/server/views/fleetItems.d.ts +2 -2
- package/dist/server/views/fleetItems.d.ts.map +1 -1
- package/dist/server/views/fleetItems.js +8 -3
- package/dist/server/views/fleetItems.js.map +1 -1
- package/dist/server/views/projectionQueries.d.ts +5 -9
- package/dist/server/views/projectionQueries.d.ts.map +1 -1
- package/dist/server/views/projectionQueries.js +6 -6
- package/dist/server/views/projectionQueries.js.map +1 -1
- package/dist/server/views/remainingQueries.d.ts +4 -252
- package/dist/server/views/remainingQueries.d.ts.map +1 -1
- package/dist/server/views/remainingQueries.js +11 -19
- package/dist/server/views/remainingQueries.js.map +1 -1
- package/dist/server/workspace.d.ts +222 -0
- package/dist/server/workspace.d.ts.map +1 -0
- package/dist/server/workspace.js +25 -0
- package/dist/server/workspace.js.map +1 -0
- package/package.json +3 -3
- package/src/browser/views/remaining.ts +0 -3
- package/src/client/react/DocumentAttention.tsx +2 -3
- package/src/client/react/ProjectionFrame.tsx +1 -1
- package/src/client/react/RemainingMain.tsx +0 -10
- package/src/client/react/ResultPage.tsx +2 -2
- package/src/client/react/ShellApi.ts +0 -1
- package/src/client/react/TodayOptions.tsx +2 -2
- package/src/client/react/entry.tsx +1 -1
- package/src/client/react/loadBoardPage.ts +5 -14
- package/src/client/react/loadRemaining.ts +0 -2
- package/src/client/react/pageQueries.ts +0 -3
- package/src/client/react/readerLink.ts +1 -1
- package/src/client/react/remainingRoute.ts +0 -2
- package/src/responses/url.ts +1 -1
- package/src/rpc/PageUrl.ts +0 -1
- package/src/rpc/contract.ts +6 -9
- package/src/server/{responses/service.ts → Responses.ts} +21 -29
- package/src/server/attention/inbox.ts +1 -0
- package/src/server/attention/projection.ts +1 -1
- package/src/server/attention/requestInbox.ts +1 -0
- package/src/server/boardRuntime.ts +20 -25
- package/src/server/boardServices.ts +7 -7
- package/src/server/document/read.ts +6 -14
- package/src/server/document/requests.ts +1 -2
- package/src/server/handoffs/Service.ts +16 -19
- package/src/server/http/assets.ts +1 -7
- package/src/server/http/boardRoutes.ts +3 -3
- package/src/server/integration/responses.ts +5 -3
- package/src/server/mcp/queries.ts +3 -3
- package/src/server/packageInfo.ts +1 -1
- package/src/server/responses/readingActions.ts +3 -3
- package/src/server/responses/registerQuestion.ts +5 -5
- package/src/server/responses/retry.ts +3 -3
- package/src/server/rpc/HandlerOptions.ts +0 -8
- package/src/server/rpc/handlers.ts +17 -15
- package/src/server/rpc/hints.ts +6 -3
- package/src/server/views/fleetItems.ts +8 -4
- package/src/server/views/projectionQueries.ts +6 -7
- package/src/server/views/remainingQueries.ts +11 -31
- package/src/server/workspace.ts +41 -0
- package/assets/native.js +0 -37
- package/dist/client/entry.d.ts +0 -3
- package/dist/client/entry.d.ts.map +0 -1
- package/dist/client/entry.js +0 -3
- package/dist/client/entry.js.map +0 -1
- package/dist/client/react/RespondPage.d.ts +0 -5
- package/dist/client/react/RespondPage.d.ts.map +0 -1
- package/dist/client/react/RespondPage.js +0 -5
- package/dist/client/react/RespondPage.js.map +0 -1
- package/dist/server/responses/service.d.ts.map +0 -1
- package/dist/server/responses/service.js.map +0 -1
- package/src/client/entry.ts +0 -3
- package/src/client/react/RespondPage.tsx +0 -8
|
@@ -4,8 +4,8 @@ import { makeResponse } from "#server/responses/make.ts";
|
|
|
4
4
|
import { publish } from "#server/responses/publish.ts";
|
|
5
5
|
import { readResponses } from "#server/responses/read.ts";
|
|
6
6
|
import { questionFrom, questionId, questionMarkdown, responseMarkdown, revisionOf } from "#server/responses/records.ts";
|
|
7
|
-
import { type
|
|
8
|
-
export type
|
|
7
|
+
import { type WorkspaceOptions as InternalWorkspaceOptions, WorkspaceConfig } from "#server/workspace.ts";
|
|
8
|
+
export type WorkspaceOptions = InternalWorkspaceOptions;
|
|
9
9
|
export type DraftInput = typeof DraftInputSchema.Type;
|
|
10
10
|
export type Question = typeof QuestionSchema.Type;
|
|
11
11
|
export type Reading = typeof ReadingSchema.Type;
|
|
@@ -92,7 +92,6 @@ export declare const responses: {
|
|
|
92
92
|
readonly type: import("effect/Schema").Literals<readonly ["answer", "clarify", "not_now"]>;
|
|
93
93
|
}>;
|
|
94
94
|
}>;
|
|
95
|
-
readonly ResponseConfig: typeof ResponseConfig;
|
|
96
95
|
readonly Responses: import("effect/Context").Service<"WorkBoard/Responses", Readonly<{
|
|
97
96
|
readonly awaitResponse: (input: {
|
|
98
97
|
readonly question: string;
|
|
@@ -243,10 +242,214 @@ export declare const responses: {
|
|
|
243
242
|
};
|
|
244
243
|
}, import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | import("@shivaedev/platform/errors/taxonomy.ts").Conflict | import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | import("@shivaedev/platform/errors/taxonomy.ts").InternalServerError | import("@shivaedev/platform/errors/taxonomy.ts").NotFound | import("@shivaedev/platform/errors/taxonomy.ts").PreconditionFailed | import("../../rpc/rejections").PublicationUncertain | import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable | import("../../rpc/rejections").Unanswered, never>;
|
|
245
244
|
}>> & {
|
|
246
|
-
readonly layer: import("effect/Layer").Layer<"WorkBoard/Responses", never, import("effect/FileSystem").FileSystem | import("effect/Path").Path
|
|
245
|
+
readonly layer: import("effect/Layer").Layer<"WorkBoard/Responses", never, "WorkBoard/Workspace" | import("effect/FileSystem").FileSystem | import("effect/Path").Path>;
|
|
247
246
|
};
|
|
248
247
|
readonly readResponses: typeof readResponses;
|
|
249
248
|
readonly responseMarkdown: typeof responseMarkdown;
|
|
250
249
|
readonly revisionOf: typeof revisionOf;
|
|
250
|
+
readonly Workspace: import("effect/Context").Service<"WorkBoard/Workspace", Readonly<{
|
|
251
|
+
readonly document: (url: string) => import("effect/Effect").Effect<{
|
|
252
|
+
readonly diagnostics: readonly {
|
|
253
|
+
readonly field?: string | undefined;
|
|
254
|
+
readonly line: number;
|
|
255
|
+
readonly message: string;
|
|
256
|
+
}[];
|
|
257
|
+
readonly file: string;
|
|
258
|
+
readonly identity?: string | undefined;
|
|
259
|
+
readonly links: {
|
|
260
|
+
readonly [x: string]: string;
|
|
261
|
+
};
|
|
262
|
+
readonly metadata: {
|
|
263
|
+
readonly areas?: readonly string[] | undefined;
|
|
264
|
+
readonly attention?: readonly {
|
|
265
|
+
readonly id: string;
|
|
266
|
+
readonly kind: "blocker" | "decision" | "review";
|
|
267
|
+
readonly managed?: boolean | undefined;
|
|
268
|
+
readonly reason: string;
|
|
269
|
+
readonly responseFrom: readonly string[];
|
|
270
|
+
readonly state: "closed" | "open";
|
|
271
|
+
readonly unblocks: readonly string[];
|
|
272
|
+
}[] | undefined;
|
|
273
|
+
readonly criteria?: readonly {
|
|
274
|
+
readonly id: string;
|
|
275
|
+
readonly text: string;
|
|
276
|
+
}[] | undefined;
|
|
277
|
+
readonly evidence?: readonly {
|
|
278
|
+
readonly checkedRevision?: string | undefined;
|
|
279
|
+
readonly criterion?: string | undefined;
|
|
280
|
+
readonly method?: string | undefined;
|
|
281
|
+
readonly observedAt?: string | undefined;
|
|
282
|
+
readonly outcome?: string | undefined;
|
|
283
|
+
readonly source: string;
|
|
284
|
+
}[] | undefined;
|
|
285
|
+
readonly handoff?: {
|
|
286
|
+
readonly by?: string | undefined;
|
|
287
|
+
readonly constraints: string;
|
|
288
|
+
readonly goal: string;
|
|
289
|
+
readonly item: string;
|
|
290
|
+
readonly nextAction: string;
|
|
291
|
+
readonly note?: string | undefined;
|
|
292
|
+
readonly preparedAt: number;
|
|
293
|
+
readonly recipient: string;
|
|
294
|
+
readonly reviewedRevision: string;
|
|
295
|
+
readonly source: string;
|
|
296
|
+
readonly state: "acknowledged" | "rejected" | "requested" | "unavailable";
|
|
297
|
+
} | undefined;
|
|
298
|
+
readonly id?: string | undefined;
|
|
299
|
+
readonly items?: readonly string[] | undefined;
|
|
300
|
+
readonly kind?: "board" | "decision" | "goal" | "handoff" | "investigation" | "project" | "question" | "report" | "response" | "result" | "task" | undefined;
|
|
301
|
+
readonly nextAction?: string | undefined;
|
|
302
|
+
readonly options?: readonly {
|
|
303
|
+
readonly description: string;
|
|
304
|
+
readonly label: string;
|
|
305
|
+
}[] | undefined;
|
|
306
|
+
readonly owner?: string | undefined;
|
|
307
|
+
readonly question?: {
|
|
308
|
+
readonly deadline: number;
|
|
309
|
+
readonly item: string;
|
|
310
|
+
readonly reason: string;
|
|
311
|
+
readonly registeredAt: number;
|
|
312
|
+
readonly request: string;
|
|
313
|
+
readonly reviewedRevision: string;
|
|
314
|
+
readonly source: string;
|
|
315
|
+
} | undefined;
|
|
316
|
+
readonly recommended?: string | undefined;
|
|
317
|
+
readonly relationships?: readonly {
|
|
318
|
+
readonly kind: "depends_on" | "implements" | "informs" | "relates_to";
|
|
319
|
+
readonly target: string;
|
|
320
|
+
}[] | undefined;
|
|
321
|
+
readonly requestReceipt?: {
|
|
322
|
+
readonly disposition: "applied" | "superseded";
|
|
323
|
+
readonly question: string;
|
|
324
|
+
readonly recordedAt: number;
|
|
325
|
+
readonly response?: string | undefined;
|
|
326
|
+
readonly reviewedRevision: string;
|
|
327
|
+
} | undefined;
|
|
328
|
+
readonly response?: {
|
|
329
|
+
readonly answers?: readonly {
|
|
330
|
+
readonly prompt: string;
|
|
331
|
+
readonly selected: readonly string[];
|
|
332
|
+
readonly text: string;
|
|
333
|
+
}[] | undefined;
|
|
334
|
+
readonly author: string;
|
|
335
|
+
readonly question: string;
|
|
336
|
+
readonly recordedAt: number;
|
|
337
|
+
readonly reviewedRevision: string;
|
|
338
|
+
readonly supersedes?: string | undefined;
|
|
339
|
+
readonly type: "answer" | "clarify" | "not_now";
|
|
340
|
+
} | undefined;
|
|
341
|
+
readonly status?: string | undefined;
|
|
342
|
+
};
|
|
343
|
+
readonly modified: number;
|
|
344
|
+
readonly questionActions: {
|
|
345
|
+
readonly [x: string]: string;
|
|
346
|
+
};
|
|
347
|
+
readonly reading?: {
|
|
348
|
+
readonly backlinks: readonly {
|
|
349
|
+
readonly href: string;
|
|
350
|
+
readonly kind: string;
|
|
351
|
+
readonly label: string;
|
|
352
|
+
readonly status?: string | undefined;
|
|
353
|
+
readonly title?: string | undefined;
|
|
354
|
+
}[];
|
|
355
|
+
readonly board: boolean;
|
|
356
|
+
readonly claims: {
|
|
357
|
+
readonly [x: string]: readonly {
|
|
358
|
+
readonly href?: string | undefined;
|
|
359
|
+
readonly label: string;
|
|
360
|
+
}[];
|
|
361
|
+
};
|
|
362
|
+
readonly evidenceSources: readonly {
|
|
363
|
+
readonly href?: string | undefined;
|
|
364
|
+
readonly problem: string;
|
|
365
|
+
}[];
|
|
366
|
+
readonly lines: {
|
|
367
|
+
readonly [x: string]: number;
|
|
368
|
+
};
|
|
369
|
+
readonly proseLine: number;
|
|
370
|
+
readonly raw?: string | undefined;
|
|
371
|
+
readonly receipts: {
|
|
372
|
+
readonly [x: string]: {
|
|
373
|
+
readonly disposition: "applied" | "superseded";
|
|
374
|
+
readonly question: string;
|
|
375
|
+
readonly recordedAt: number;
|
|
376
|
+
readonly response?: string | undefined;
|
|
377
|
+
readonly reviewedRevision: string;
|
|
378
|
+
};
|
|
379
|
+
};
|
|
380
|
+
} | undefined;
|
|
381
|
+
readonly referenceDetails?: {
|
|
382
|
+
readonly [x: string]: {
|
|
383
|
+
readonly status?: string | undefined;
|
|
384
|
+
readonly title: string;
|
|
385
|
+
};
|
|
386
|
+
} | undefined;
|
|
387
|
+
readonly references: {
|
|
388
|
+
readonly [x: string]: string;
|
|
389
|
+
};
|
|
390
|
+
readonly requests: readonly {
|
|
391
|
+
readonly id: string;
|
|
392
|
+
readonly open: boolean;
|
|
393
|
+
readonly options?: readonly {
|
|
394
|
+
readonly description: string;
|
|
395
|
+
readonly label: string;
|
|
396
|
+
}[] | undefined;
|
|
397
|
+
readonly preview?: {
|
|
398
|
+
readonly context: string;
|
|
399
|
+
readonly id: string;
|
|
400
|
+
readonly item: string;
|
|
401
|
+
readonly reason: string;
|
|
402
|
+
readonly request: string;
|
|
403
|
+
readonly reviewedRevision: string;
|
|
404
|
+
readonly source: string;
|
|
405
|
+
} | undefined;
|
|
406
|
+
readonly prompts?: readonly {
|
|
407
|
+
readonly id: string;
|
|
408
|
+
readonly mode: "many" | "one" | "text";
|
|
409
|
+
readonly options: readonly {
|
|
410
|
+
readonly id: string;
|
|
411
|
+
readonly source: string;
|
|
412
|
+
}[];
|
|
413
|
+
readonly source: string;
|
|
414
|
+
}[] | undefined;
|
|
415
|
+
readonly promptUnavailable?: string | undefined;
|
|
416
|
+
readonly recommended?: string | undefined;
|
|
417
|
+
readonly responses?: readonly {
|
|
418
|
+
readonly body: string;
|
|
419
|
+
readonly id: string;
|
|
420
|
+
readonly response: {
|
|
421
|
+
readonly answers?: readonly {
|
|
422
|
+
readonly prompt: string;
|
|
423
|
+
readonly selected: readonly string[];
|
|
424
|
+
readonly text: string;
|
|
425
|
+
}[] | undefined;
|
|
426
|
+
readonly author: string;
|
|
427
|
+
readonly question: string;
|
|
428
|
+
readonly recordedAt: number;
|
|
429
|
+
readonly reviewedRevision: string;
|
|
430
|
+
readonly supersedes?: string | undefined;
|
|
431
|
+
readonly type: "answer" | "clarify" | "not_now";
|
|
432
|
+
};
|
|
433
|
+
}[] | undefined;
|
|
434
|
+
readonly sourceOpen?: boolean | undefined;
|
|
435
|
+
readonly title?: string | undefined;
|
|
436
|
+
readonly unavailable?: string | undefined;
|
|
437
|
+
}[];
|
|
438
|
+
readonly source: string;
|
|
439
|
+
readonly unavailable: readonly string[];
|
|
440
|
+
readonly writable: boolean;
|
|
441
|
+
}, import("@shivaedev/platform/errors/taxonomy.ts").Conflict | import("@shivaedev/platform/errors/taxonomy.ts").NotFound | import("effect/PlatformError").PlatformError | import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable, never>;
|
|
442
|
+
readonly index: () => import("effect/Effect").Effect<import("../search/snapshot").Snapshot, import("effect/PlatformError").PlatformError, never>;
|
|
443
|
+
readonly settings: () => import("effect/Effect").Effect<{
|
|
444
|
+
changes: import("../files/changes").Changes;
|
|
445
|
+
home?: string | undefined;
|
|
446
|
+
root: string;
|
|
447
|
+
writable: boolean;
|
|
448
|
+
realRoot: string;
|
|
449
|
+
}, never, never>;
|
|
450
|
+
}>> & {
|
|
451
|
+
readonly layer: import("effect/Layer").Layer<"WorkBoard/Workspace", never, import("effect/FileSystem").FileSystem | import("effect/Path").Path | WorkspaceConfig>;
|
|
452
|
+
};
|
|
453
|
+
readonly WorkspaceConfig: typeof WorkspaceConfig;
|
|
251
454
|
};
|
|
252
455
|
//# sourceMappingURL=responses.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../src/server/integration/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,UAAU,IAAI,gBAAgB,EAC9B,QAAQ,IAAI,cAAc,EAC1B,OAAO,IAAI,aAAa,EACxB,gBAAgB,IAAI,sBAAsB,EAC1C,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../src/server/integration/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,UAAU,IAAI,gBAAgB,EAC9B,QAAQ,IAAI,cAAc,EAC1B,OAAO,IAAI,aAAa,EACxB,gBAAgB,IAAI,sBAAsB,EAC1C,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AACxH,OAAO,EAAE,KAAK,gBAAgB,IAAI,wBAAwB,EAAa,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAErH,MAAM,MAAM,gBAAgB,GAAG,wBAAwB,CAAC;AACxD,MAAM,MAAM,UAAU,GAAG,OAAO,gBAAgB,CAAC,IAAI,CAAC;AACtD,MAAM,MAAM,QAAQ,GAAG,OAAO,cAAc,CAAC,IAAI,CAAC;AAClD,MAAM,MAAM,OAAO,GAAG,OAAO,aAAa,CAAC,IAAI,CAAC;AAChD,MAAM,MAAM,gBAAgB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAElE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiBZ,CAAC"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { DraftInput as DraftInputSchema, Question as QuestionSchema, Reading as ReadingSchema, RecordedResponse as RecordedResponseSchema, } from "#browser/responses/schema.ts";
|
|
2
2
|
import { currentResponses } from "#responses/current.ts";
|
|
3
|
+
import { Responses } from "#server/Responses.ts";
|
|
3
4
|
import { makeResponse } from "#server/responses/make.ts";
|
|
4
5
|
import { publish } from "#server/responses/publish.ts";
|
|
5
6
|
import { readResponses } from "#server/responses/read.ts";
|
|
6
7
|
import { questionFrom, questionId, questionMarkdown, responseMarkdown, revisionOf } from "#server/responses/records.ts";
|
|
7
|
-
import {
|
|
8
|
+
import { Workspace, WorkspaceConfig } from "#server/workspace.ts";
|
|
8
9
|
export const responses = {
|
|
9
10
|
currentResponses,
|
|
10
11
|
DraftInput: DraftInputSchema,
|
|
@@ -16,10 +17,11 @@ export const responses = {
|
|
|
16
17
|
questionMarkdown,
|
|
17
18
|
Reading: ReadingSchema,
|
|
18
19
|
RecordedResponse: RecordedResponseSchema,
|
|
19
|
-
ResponseConfig,
|
|
20
20
|
Responses,
|
|
21
21
|
readResponses,
|
|
22
22
|
responseMarkdown,
|
|
23
23
|
revisionOf,
|
|
24
|
+
Workspace,
|
|
25
|
+
WorkspaceConfig,
|
|
24
26
|
};
|
|
25
27
|
//# sourceMappingURL=responses.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../src/server/integration/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,UAAU,IAAI,gBAAgB,EAC9B,QAAQ,IAAI,cAAc,EAC1B,OAAO,IAAI,aAAa,EACxB,gBAAgB,IAAI,sBAAsB,GAC1C,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AACxH,OAAO,
|
|
1
|
+
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../src/server/integration/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,UAAU,IAAI,gBAAgB,EAC9B,QAAQ,IAAI,cAAc,EAC1B,OAAO,IAAI,aAAa,EACxB,gBAAgB,IAAI,sBAAsB,GAC1C,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AACxH,OAAO,EAAqD,SAAS,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAQrH,MAAM,CAAC,MAAM,SAAS,GAAG;IACxB,gBAAgB;IAChB,UAAU,EAAE,gBAAgB;IAC5B,YAAY;IACZ,OAAO;IACP,QAAQ,EAAE,cAAc;IACxB,YAAY;IACZ,UAAU;IACV,gBAAgB;IAChB,OAAO,EAAE,aAAa;IACtB,gBAAgB,EAAE,sBAAsB;IACxC,SAAS;IACT,aAAa;IACb,gBAAgB;IAChB,UAAU;IACV,SAAS;IACT,eAAe;CACN,CAAC"}
|
|
@@ -686,7 +686,7 @@ declare function makeClient(): Effect.Effect<RpcClient.RpcClient.Flat<import("ef
|
|
|
686
686
|
}>, Schema.Struct<{
|
|
687
687
|
readonly reason: Schema.String;
|
|
688
688
|
readonly state: Schema.Literal<"unavailable">;
|
|
689
|
-
}>]>, Schema.
|
|
689
|
+
}>]>, Schema.Union<readonly typeof import("@shivaedev/platform/errors/taxonomy.ts").InternalServerError[]>, typeof import("@shivaedev/platform/rpc/middleware.ts").RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"work-board.goals", Schema.Void, Schema.Struct<{
|
|
690
690
|
readonly closedGoals: Schema.$Array<Schema.Struct<{
|
|
691
691
|
readonly counts: Schema.Struct<{
|
|
692
692
|
readonly done: Schema.Number;
|
|
@@ -980,247 +980,7 @@ declare function makeClient(): Effect.Effect<RpcClient.RpcClient.Flat<import("ef
|
|
|
980
980
|
readonly identity: Schema.optional<Schema.String>;
|
|
981
981
|
}>>;
|
|
982
982
|
readonly inboxCount: Schema.NullOr<Schema.Number>;
|
|
983
|
-
}>, Schema.Union<readonly typeof import("@shivaedev/platform/errors/taxonomy.ts").InternalServerError[]>, typeof import("@shivaedev/platform/rpc/middleware.ts").RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"work-board.
|
|
984
|
-
url: Schema.String;
|
|
985
|
-
}>, Schema.Struct<{
|
|
986
|
-
readonly document: Schema.Struct<{
|
|
987
|
-
readonly diagnostics: Schema.$Array<Schema.Struct<{
|
|
988
|
-
readonly field: Schema.optional<Schema.String>;
|
|
989
|
-
readonly line: Schema.Number;
|
|
990
|
-
readonly message: Schema.String;
|
|
991
|
-
}>>;
|
|
992
|
-
readonly file: Schema.String;
|
|
993
|
-
readonly identity: Schema.optional<Schema.String>;
|
|
994
|
-
readonly links: Schema.$Record<Schema.String, Schema.String>;
|
|
995
|
-
readonly metadata: Schema.encodeKeys<Schema.Struct<{
|
|
996
|
-
readonly areas: Schema.optional<Schema.$Array<Schema.String>>;
|
|
997
|
-
readonly attention: Schema.optional<Schema.$Array<Schema.encodeKeys<Schema.Struct<{
|
|
998
|
-
readonly id: Schema.String;
|
|
999
|
-
readonly kind: Schema.Literals<readonly ["decision", "review", "blocker"]>;
|
|
1000
|
-
readonly managed: Schema.optional<Schema.Boolean>;
|
|
1001
|
-
readonly reason: Schema.String;
|
|
1002
|
-
readonly responseFrom: Schema.$Array<Schema.String>;
|
|
1003
|
-
readonly state: Schema.Literals<readonly ["open", "closed"]>;
|
|
1004
|
-
readonly unblocks: Schema.$Array<Schema.String>;
|
|
1005
|
-
}>, {
|
|
1006
|
-
readonly responseFrom: "response_from";
|
|
1007
|
-
}>>>;
|
|
1008
|
-
readonly criteria: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1009
|
-
readonly id: Schema.String;
|
|
1010
|
-
readonly text: Schema.String;
|
|
1011
|
-
}>>>;
|
|
1012
|
-
readonly evidence: Schema.optional<Schema.$Array<Schema.encodeKeys<Schema.Struct<{
|
|
1013
|
-
readonly checkedRevision: Schema.optional<Schema.String>;
|
|
1014
|
-
readonly criterion: Schema.optional<Schema.String>;
|
|
1015
|
-
readonly method: Schema.optional<Schema.String>;
|
|
1016
|
-
readonly observedAt: Schema.optional<Schema.String>;
|
|
1017
|
-
readonly outcome: Schema.optional<Schema.String>;
|
|
1018
|
-
readonly source: Schema.String;
|
|
1019
|
-
}>, {
|
|
1020
|
-
readonly checkedRevision: "checked_revision";
|
|
1021
|
-
readonly observedAt: "observed_at";
|
|
1022
|
-
}>>>;
|
|
1023
|
-
readonly handoff: Schema.optional<Schema.encodeKeys<Schema.Struct<{
|
|
1024
|
-
readonly by: Schema.optional<Schema.String>;
|
|
1025
|
-
readonly constraints: Schema.String;
|
|
1026
|
-
readonly goal: Schema.String;
|
|
1027
|
-
readonly item: Schema.String;
|
|
1028
|
-
readonly nextAction: Schema.String;
|
|
1029
|
-
readonly note: Schema.optional<Schema.String>;
|
|
1030
|
-
readonly preparedAt: Schema.Number;
|
|
1031
|
-
readonly recipient: Schema.String;
|
|
1032
|
-
readonly reviewedRevision: Schema.String;
|
|
1033
|
-
readonly source: Schema.String;
|
|
1034
|
-
readonly state: Schema.Literals<readonly ["requested", "acknowledged", "rejected", "unavailable"]>;
|
|
1035
|
-
}>, {
|
|
1036
|
-
readonly nextAction: "next_action";
|
|
1037
|
-
readonly preparedAt: "prepared_at";
|
|
1038
|
-
readonly reviewedRevision: "reviewed_revision";
|
|
1039
|
-
}>>;
|
|
1040
|
-
readonly id: Schema.optional<Schema.String>;
|
|
1041
|
-
readonly items: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1042
|
-
readonly kind: Schema.optional<Schema.Literals<readonly ["task", "investigation", "decision", "result", "project", "board", "question", "response", "handoff", "goal", "report"]>>;
|
|
1043
|
-
readonly nextAction: Schema.optional<Schema.String>;
|
|
1044
|
-
readonly options: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1045
|
-
readonly description: Schema.String;
|
|
1046
|
-
readonly label: Schema.String;
|
|
1047
|
-
}>>>;
|
|
1048
|
-
readonly owner: Schema.optional<Schema.String>;
|
|
1049
|
-
readonly question: Schema.optional<Schema.Struct<{
|
|
1050
|
-
readonly deadline: Schema.Number;
|
|
1051
|
-
readonly item: Schema.String;
|
|
1052
|
-
readonly reason: Schema.String;
|
|
1053
|
-
readonly registeredAt: Schema.Number;
|
|
1054
|
-
readonly request: Schema.String;
|
|
1055
|
-
readonly reviewedRevision: Schema.String;
|
|
1056
|
-
readonly source: Schema.String;
|
|
1057
|
-
}>>;
|
|
1058
|
-
readonly recommended: Schema.optional<Schema.String>;
|
|
1059
|
-
readonly relationships: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1060
|
-
readonly kind: Schema.Literals<readonly ["implements", "informs", "depends_on", "relates_to"]>;
|
|
1061
|
-
readonly target: Schema.String;
|
|
1062
|
-
}>>>;
|
|
1063
|
-
readonly requestReceipt: Schema.optional<Schema.Struct<{
|
|
1064
|
-
readonly disposition: Schema.Literals<readonly ["applied", "superseded"]>;
|
|
1065
|
-
readonly question: Schema.String;
|
|
1066
|
-
readonly recordedAt: Schema.Number;
|
|
1067
|
-
readonly response: Schema.optional<Schema.String>;
|
|
1068
|
-
readonly reviewedRevision: Schema.String;
|
|
1069
|
-
}>>;
|
|
1070
|
-
readonly response: Schema.optional<Schema.Struct<{
|
|
1071
|
-
readonly answers: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1072
|
-
readonly prompt: Schema.String;
|
|
1073
|
-
readonly selected: Schema.$Array<Schema.String>;
|
|
1074
|
-
readonly text: Schema.String;
|
|
1075
|
-
}>>>;
|
|
1076
|
-
readonly author: Schema.String;
|
|
1077
|
-
readonly question: Schema.String;
|
|
1078
|
-
readonly recordedAt: Schema.Number;
|
|
1079
|
-
readonly reviewedRevision: Schema.String;
|
|
1080
|
-
readonly supersedes: Schema.optional<Schema.String>;
|
|
1081
|
-
readonly type: Schema.Literals<readonly ["answer", "clarify", "not_now"]>;
|
|
1082
|
-
}>>;
|
|
1083
|
-
readonly status: Schema.optional<Schema.String>;
|
|
1084
|
-
}>, {
|
|
1085
|
-
readonly nextAction: "next_action";
|
|
1086
|
-
readonly requestReceipt: "request_receipt";
|
|
1087
|
-
}>;
|
|
1088
|
-
readonly modified: Schema.Number;
|
|
1089
|
-
readonly questionActions: Schema.$Record<Schema.String, Schema.String>;
|
|
1090
|
-
readonly reading: Schema.optional<Schema.Struct<{
|
|
1091
|
-
readonly backlinks: Schema.$Array<Schema.Struct<{
|
|
1092
|
-
readonly href: Schema.String;
|
|
1093
|
-
readonly kind: Schema.String;
|
|
1094
|
-
readonly label: Schema.String;
|
|
1095
|
-
readonly status: Schema.optional<Schema.String>;
|
|
1096
|
-
readonly title: Schema.optional<Schema.String>;
|
|
1097
|
-
}>>;
|
|
1098
|
-
readonly board: Schema.Boolean;
|
|
1099
|
-
readonly claims: Schema.$Record<Schema.String, Schema.$Array<Schema.Struct<{
|
|
1100
|
-
readonly href: Schema.optional<Schema.String>;
|
|
1101
|
-
readonly label: Schema.String;
|
|
1102
|
-
}>>>;
|
|
1103
|
-
readonly evidenceSources: Schema.$Array<Schema.Struct<{
|
|
1104
|
-
readonly href: Schema.optional<Schema.String>;
|
|
1105
|
-
readonly problem: Schema.String;
|
|
1106
|
-
}>>;
|
|
1107
|
-
readonly lines: Schema.$Record<Schema.String, Schema.Number>;
|
|
1108
|
-
readonly proseLine: Schema.Number;
|
|
1109
|
-
readonly raw: Schema.optional<Schema.String>;
|
|
1110
|
-
readonly receipts: Schema.$Record<Schema.String, Schema.Struct<{
|
|
1111
|
-
readonly disposition: Schema.Literals<readonly ["applied", "superseded"]>;
|
|
1112
|
-
readonly question: Schema.String;
|
|
1113
|
-
readonly recordedAt: Schema.Number;
|
|
1114
|
-
readonly response: Schema.optional<Schema.String>;
|
|
1115
|
-
readonly reviewedRevision: Schema.String;
|
|
1116
|
-
}>>;
|
|
1117
|
-
}>>;
|
|
1118
|
-
readonly referenceDetails: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
|
|
1119
|
-
readonly status: Schema.optional<Schema.String>;
|
|
1120
|
-
readonly title: Schema.String;
|
|
1121
|
-
}>>>;
|
|
1122
|
-
readonly references: Schema.$Record<Schema.String, Schema.String>;
|
|
1123
|
-
readonly requests: Schema.$Array<Schema.Struct<{
|
|
1124
|
-
readonly id: Schema.String;
|
|
1125
|
-
readonly open: Schema.Boolean;
|
|
1126
|
-
readonly options: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1127
|
-
readonly description: Schema.String;
|
|
1128
|
-
readonly label: Schema.String;
|
|
1129
|
-
}>>>;
|
|
1130
|
-
readonly preview: Schema.optional<Schema.Struct<{
|
|
1131
|
-
readonly context: Schema.String;
|
|
1132
|
-
readonly id: Schema.String;
|
|
1133
|
-
readonly item: Schema.String;
|
|
1134
|
-
readonly reason: Schema.String;
|
|
1135
|
-
readonly request: Schema.String;
|
|
1136
|
-
readonly reviewedRevision: Schema.String;
|
|
1137
|
-
readonly source: Schema.String;
|
|
1138
|
-
}>>;
|
|
1139
|
-
readonly prompts: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1140
|
-
readonly id: Schema.String;
|
|
1141
|
-
readonly mode: Schema.Literals<readonly ["one", "many", "text"]>;
|
|
1142
|
-
readonly options: Schema.$Array<Schema.Struct<{
|
|
1143
|
-
readonly id: Schema.String;
|
|
1144
|
-
readonly source: Schema.String;
|
|
1145
|
-
}>>;
|
|
1146
|
-
readonly source: Schema.String;
|
|
1147
|
-
}>>>;
|
|
1148
|
-
readonly promptUnavailable: Schema.optional<Schema.String>;
|
|
1149
|
-
readonly recommended: Schema.optional<Schema.String>;
|
|
1150
|
-
readonly responses: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1151
|
-
readonly body: Schema.String;
|
|
1152
|
-
readonly id: Schema.String;
|
|
1153
|
-
readonly response: Schema.Struct<{
|
|
1154
|
-
readonly answers: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1155
|
-
readonly prompt: Schema.String;
|
|
1156
|
-
readonly selected: Schema.$Array<Schema.String>;
|
|
1157
|
-
readonly text: Schema.String;
|
|
1158
|
-
}>>>;
|
|
1159
|
-
readonly author: Schema.String;
|
|
1160
|
-
readonly question: Schema.String;
|
|
1161
|
-
readonly recordedAt: Schema.Number;
|
|
1162
|
-
readonly reviewedRevision: Schema.String;
|
|
1163
|
-
readonly supersedes: Schema.optional<Schema.String>;
|
|
1164
|
-
readonly type: Schema.Literals<readonly ["answer", "clarify", "not_now"]>;
|
|
1165
|
-
}>;
|
|
1166
|
-
}>>>;
|
|
1167
|
-
readonly sourceOpen: Schema.optional<Schema.Boolean>;
|
|
1168
|
-
readonly title: Schema.optional<Schema.String>;
|
|
1169
|
-
readonly unavailable: Schema.optional<Schema.String>;
|
|
1170
|
-
}>>;
|
|
1171
|
-
readonly source: Schema.String;
|
|
1172
|
-
readonly unavailable: Schema.$Array<Schema.String>;
|
|
1173
|
-
readonly writable: Schema.Boolean;
|
|
1174
|
-
}>;
|
|
1175
|
-
readonly request: Schema.Struct<{
|
|
1176
|
-
readonly id: Schema.String;
|
|
1177
|
-
readonly open: Schema.Boolean;
|
|
1178
|
-
readonly options: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1179
|
-
readonly description: Schema.String;
|
|
1180
|
-
readonly label: Schema.String;
|
|
1181
|
-
}>>>;
|
|
1182
|
-
readonly preview: Schema.optional<Schema.Struct<{
|
|
1183
|
-
readonly context: Schema.String;
|
|
1184
|
-
readonly id: Schema.String;
|
|
1185
|
-
readonly item: Schema.String;
|
|
1186
|
-
readonly reason: Schema.String;
|
|
1187
|
-
readonly request: Schema.String;
|
|
1188
|
-
readonly reviewedRevision: Schema.String;
|
|
1189
|
-
readonly source: Schema.String;
|
|
1190
|
-
}>>;
|
|
1191
|
-
readonly prompts: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1192
|
-
readonly id: Schema.String;
|
|
1193
|
-
readonly mode: Schema.Literals<readonly ["one", "many", "text"]>;
|
|
1194
|
-
readonly options: Schema.$Array<Schema.Struct<{
|
|
1195
|
-
readonly id: Schema.String;
|
|
1196
|
-
readonly source: Schema.String;
|
|
1197
|
-
}>>;
|
|
1198
|
-
readonly source: Schema.String;
|
|
1199
|
-
}>>>;
|
|
1200
|
-
readonly promptUnavailable: Schema.optional<Schema.String>;
|
|
1201
|
-
readonly recommended: Schema.optional<Schema.String>;
|
|
1202
|
-
readonly responses: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1203
|
-
readonly body: Schema.String;
|
|
1204
|
-
readonly id: Schema.String;
|
|
1205
|
-
readonly response: Schema.Struct<{
|
|
1206
|
-
readonly answers: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1207
|
-
readonly prompt: Schema.String;
|
|
1208
|
-
readonly selected: Schema.$Array<Schema.String>;
|
|
1209
|
-
readonly text: Schema.String;
|
|
1210
|
-
}>>>;
|
|
1211
|
-
readonly author: Schema.String;
|
|
1212
|
-
readonly question: Schema.String;
|
|
1213
|
-
readonly recordedAt: Schema.Number;
|
|
1214
|
-
readonly reviewedRevision: Schema.String;
|
|
1215
|
-
readonly supersedes: Schema.optional<Schema.String>;
|
|
1216
|
-
readonly type: Schema.Literals<readonly ["answer", "clarify", "not_now"]>;
|
|
1217
|
-
}>;
|
|
1218
|
-
}>>>;
|
|
1219
|
-
readonly sourceOpen: Schema.optional<Schema.Boolean>;
|
|
1220
|
-
readonly title: Schema.optional<Schema.String>;
|
|
1221
|
-
readonly unavailable: Schema.optional<Schema.String>;
|
|
1222
|
-
}>;
|
|
1223
|
-
}>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").InternalServerError | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable)[]>, typeof import("@shivaedev/platform/rpc/middleware.ts").RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"work-board.result", Schema.Struct<{
|
|
983
|
+
}>, Schema.Union<readonly typeof import("@shivaedev/platform/errors/taxonomy.ts").InternalServerError[]>, typeof import("@shivaedev/platform/rpc/middleware.ts").RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"work-board.result", Schema.Struct<{
|
|
1224
984
|
url: Schema.String;
|
|
1225
985
|
}>, Schema.Struct<{
|
|
1226
986
|
readonly document: Schema.Struct<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/server/mcp/client.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAS,MAAM,EAAE,MAAM,QAAQ,CAAC;AAE/C,OAAO,EAAE,SAAS,EAAoB,MAAM,YAAY,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;;;;AAI3D,qBAAa,cAAe,SAAQ,mBAAkF;CAAG;AAEzH,iBAAS,UAAU
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/server/mcp/client.ts"],"names":[],"mappings":"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"}
|