@bitcobblers/wod-wiki-engine 0.59.2236 → 0.59.2240

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/agent.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { IStorage, StoreName } from '@bitcobblers/wod-wiki-storage';
3
- import { F as FeedTree, P as PortableFileEntry, R as ResolvedUpstreamProvenance, S as StatementNode } from './ir-CKImc4T0.cjs';
3
+ import { F as FeedTree, P as PortableFileEntry, a as FeedSubscriptionEntry, R as ResolvedUpstreamProvenance, S as StatementNode } from './ir-CQnh_Tid.cjs';
4
4
  import * as _bitcobblers_wod_wiki_core from '@bitcobblers/wod-wiki-core';
5
5
  import { Note, Session, EventRecord } from '@bitcobblers/wod-wiki-core';
6
6
  import * as _bitcobblers_wod_wiki_wql from '@bitcobblers/wod-wiki-wql';
@@ -27,12 +27,36 @@ declare class AgentConfirmationRequiredError extends Error {
27
27
  readonly action: string;
28
28
  constructor(req: AgentConfirmationRequest, detail?: string);
29
29
  }
30
+ interface AgentFeedLifecycleAdapter {
31
+ subscribe?: (sourceId: string, options?: {
32
+ notebookIds?: string[];
33
+ url?: string;
34
+ name?: string;
35
+ }) => Promise<{
36
+ sourceId: string;
37
+ subscribed: boolean;
38
+ notebookIds?: string[] | null;
39
+ synced?: boolean;
40
+ }>;
41
+ unsubscribe?: (sourceId: string) => Promise<{
42
+ sourceId: string;
43
+ unsubscribed: boolean;
44
+ deletedNotes: number;
45
+ }>;
46
+ delete?: (sourceId: string) => Promise<{
47
+ sourceId: string;
48
+ deleted: boolean;
49
+ deletedNotes: number;
50
+ }>;
51
+ }
30
52
  interface AgentDomainContext {
31
53
  storage: IStorage;
32
54
  /** Base origin for canonical deep links (e.g. https://wod.wiki or http://127.0.0.1:3000). */
33
55
  baseUrl?: string;
34
56
  /** Optional feed tree for `wod_feed_manage` (`publish` / `status` on server or CLI). */
35
57
  feedTree?: FeedTree;
58
+ /** Optional runtime-specific feed subscription/source adapter (e.g. Playground WebMCP). */
59
+ feedLifecycle?: AgentFeedLifecycleAdapter;
36
60
  /** Surface-specific Tier 2 gate (Radix modal in WebMCP, elicitation in MCP, --yes in CLI). */
37
61
  confirmDestructive?: (req: AgentConfirmationRequest) => Promise<boolean>;
38
62
  /** Optional hook run after writes (e.g. cache invalidation in Playground, domain refresh in SQL). */
@@ -94,7 +118,7 @@ declare const wodCatalogLookupTool: AgentToolSpec<z.ZodObject<{
94
118
  slug: z.ZodOptional<z.ZodString>;
95
119
  notebookId: z.ZodOptional<z.ZodString>;
96
120
  limit: z.ZodOptional<z.ZodNumber>;
97
- }, z.core.$strip>, {
121
+ }, z.core.$strict>, {
98
122
  kind: "effort";
99
123
  totalCount: number;
100
124
  items: {
@@ -145,7 +169,7 @@ declare const wodCatalogUpsertTool: AgentToolSpec<z.ZodObject<{
145
169
  aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
146
170
  category: z.ZodOptional<z.ZodString>;
147
171
  color: z.ZodOptional<z.ZodString>;
148
- }, z.core.$strip>, {
172
+ }, z.core.$strict>, {
149
173
  id: string;
150
174
  kind: _bitcobblers_wod_wiki_core.OverridePropertyKind;
151
175
  slug: string;
@@ -160,15 +184,22 @@ declare const wodFeedManageTool: AgentToolSpec<z.ZodObject<{
160
184
  list: "list";
161
185
  publish: "publish";
162
186
  "import-bundle": "import-bundle";
187
+ subscribe: "subscribe";
188
+ unsubscribe: "unsubscribe";
189
+ delete: "delete";
163
190
  }>;
191
+ sourceId: z.ZodOptional<z.ZodString>;
192
+ notebookIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
193
+ url: z.ZodOptional<z.ZodString>;
194
+ confirmId: z.ZodOptional<z.ZodString>;
164
195
  notebookSlug: z.ZodOptional<z.ZodString>;
165
196
  name: z.ZodOptional<z.ZodString>;
166
197
  description: z.ZodOptional<z.ZodString>;
167
198
  files: z.ZodOptional<z.ZodArray<z.ZodObject<{
168
199
  path: z.ZodString;
169
200
  content: z.ZodString;
170
- }, z.core.$strip>>>;
171
- }, z.core.$strip>, {
201
+ }, z.core.$strict>>>;
202
+ }, z.core.$strict>, {
172
203
  action: "list";
173
204
  installedCount: number;
174
205
  feeds: {
@@ -177,7 +208,49 @@ declare const wodFeedManageTool: AgentToolSpec<z.ZodObject<{
177
208
  builtAt?: string;
178
209
  importedAt?: number;
179
210
  chunkCount: number;
211
+ subscribed?: boolean;
180
212
  }[];
213
+ subscriptions: Record<string, FeedSubscriptionEntry>;
214
+ notebooks?: undefined;
215
+ totalNotes?: undefined;
216
+ totalPublicSessions?: undefined;
217
+ manifestVersion?: undefined;
218
+ manifestSha256?: undefined;
219
+ } | {
220
+ sourceId: string;
221
+ subscribed: boolean;
222
+ notebookIds?: string[] | null;
223
+ synced?: boolean;
224
+ action: "subscribe";
225
+ installedCount?: undefined;
226
+ feeds?: undefined;
227
+ subscriptions?: undefined;
228
+ notebooks?: undefined;
229
+ totalNotes?: undefined;
230
+ totalPublicSessions?: undefined;
231
+ manifestVersion?: undefined;
232
+ manifestSha256?: undefined;
233
+ } | {
234
+ sourceId: string;
235
+ unsubscribed: boolean;
236
+ deletedNotes: number;
237
+ action: "unsubscribe";
238
+ installedCount?: undefined;
239
+ feeds?: undefined;
240
+ subscriptions?: undefined;
241
+ notebooks?: undefined;
242
+ totalNotes?: undefined;
243
+ totalPublicSessions?: undefined;
244
+ manifestVersion?: undefined;
245
+ manifestSha256?: undefined;
246
+ } | {
247
+ sourceId: string;
248
+ deleted: boolean;
249
+ deletedNotes: number;
250
+ action: "delete";
251
+ installedCount?: undefined;
252
+ feeds?: undefined;
253
+ subscriptions?: undefined;
181
254
  notebooks?: undefined;
182
255
  totalNotes?: undefined;
183
256
  totalPublicSessions?: undefined;
@@ -198,6 +271,7 @@ declare const wodFeedManageTool: AgentToolSpec<z.ZodObject<{
198
271
  action: "status";
199
272
  installedCount?: undefined;
200
273
  feeds?: undefined;
274
+ subscriptions?: undefined;
201
275
  notebooks?: undefined;
202
276
  totalNotes?: undefined;
203
277
  totalPublicSessions?: undefined;
@@ -212,6 +286,7 @@ declare const wodFeedManageTool: AgentToolSpec<z.ZodObject<{
212
286
  manifestSha256: string;
213
287
  installedCount?: undefined;
214
288
  feeds?: undefined;
289
+ subscriptions?: undefined;
215
290
  } | {
216
291
  notesImported: number;
217
292
  revisionsImported: number;
@@ -221,6 +296,7 @@ declare const wodFeedManageTool: AgentToolSpec<z.ZodObject<{
221
296
  action: "import-bundle";
222
297
  installedCount?: undefined;
223
298
  feeds?: undefined;
299
+ subscriptions?: undefined;
224
300
  notebooks?: undefined;
225
301
  totalNotes?: undefined;
226
302
  totalPublicSessions?: undefined;
@@ -234,19 +310,19 @@ declare const wodExportBundleTool: AgentToolSpec<z.ZodObject<{
234
310
  csv: "csv";
235
311
  both: "both";
236
312
  }>>;
237
- }, z.core.$strip>, {
313
+ }, z.core.$strict>, {
238
314
  fileCount: number;
239
315
  files: PortableFileEntry[];
240
316
  }>;
241
317
  declare const wodResetStorageTool: AgentToolSpec<z.ZodObject<{
242
318
  confirmToken: z.ZodOptional<z.ZodString>;
243
- }, z.core.$strip>, {
319
+ }, z.core.$strict>, {
244
320
  wiped: boolean;
245
321
  }>;
246
322
 
247
323
  declare const wodJournalDayTool: AgentToolSpec<z.ZodObject<{
248
324
  date: z.ZodOptional<z.ZodString>;
249
- }, z.core.$strip>, {
325
+ }, z.core.$strict>, {
250
326
  date: string;
251
327
  url: string;
252
328
  pageId: string;
@@ -277,7 +353,7 @@ declare const wodJournalAddTool: AgentToolSpec<z.ZodObject<{
277
353
  content: z.ZodString;
278
354
  sport: z.ZodOptional<z.ZodString>;
279
355
  notebookId: z.ZodOptional<z.ZodString>;
280
- }, z.core.$strip>, {
356
+ }, z.core.$strict>, {
281
357
  date: string;
282
358
  noteId: string;
283
359
  journalUrl: string;
@@ -298,7 +374,7 @@ declare const wodNotebookListTool: AgentToolSpec<z.ZodObject<{
298
374
  user: "user";
299
375
  all: "all";
300
376
  }>>;
301
- }, z.core.$strip>, {
377
+ }, z.core.$strict>, {
302
378
  totalCount: number;
303
379
  notebooks: {
304
380
  url: string;
@@ -329,7 +405,7 @@ declare const wodNotebookSaveTool: AgentToolSpec<z.ZodObject<{
329
405
  noteId: z.ZodOptional<z.ZodString>;
330
406
  sessionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
331
407
  public: z.ZodOptional<z.ZodBoolean>;
332
- }, z.core.$strip>, {
408
+ }, z.core.$strict>, {
333
409
  action: "create";
334
410
  notebookId: `notebook/${string}`;
335
411
  slug: string;
@@ -378,7 +454,7 @@ declare const wodNotebookSaveTool: AgentToolSpec<z.ZodObject<{
378
454
  declare const wodNotebookDeleteTool: AgentToolSpec<z.ZodObject<{
379
455
  notebookId: z.ZodString;
380
456
  confirmId: z.ZodOptional<z.ZodString>;
381
- }, z.core.$strip>, {
457
+ }, z.core.$strict>, {
382
458
  deleted: boolean;
383
459
  notebookId: `notebook/${string}`;
384
460
  slug: string;
@@ -390,7 +466,7 @@ declare const wodNoteListTool: AgentToolSpec<z.ZodObject<{
390
466
  tag: z.ZodOptional<z.ZodString>;
391
467
  includeSeed: z.ZodOptional<z.ZodBoolean>;
392
468
  limit: z.ZodOptional<z.ZodNumber>;
393
- }, z.core.$strip>, {
469
+ }, z.core.$strict>, {
394
470
  totalCount: number;
395
471
  notes: {
396
472
  id: string;
@@ -407,7 +483,7 @@ declare const wodNoteListTool: AgentToolSpec<z.ZodObject<{
407
483
  }>;
408
484
  declare const wodNoteGetTool: AgentToolSpec<z.ZodObject<{
409
485
  noteId: z.ZodString;
410
- }, z.core.$strip>, {
486
+ }, z.core.$strict>, {
411
487
  visibility: _bitcobblers_wod_wiki_core.PublicationVisibilitySummary;
412
488
  url: string;
413
489
  provenance?: ResolvedUpstreamProvenance | undefined;
@@ -448,7 +524,7 @@ declare const wodNoteUpsertTool: AgentToolSpec<z.ZodObject<{
448
524
  expectedSourceRevision: z.ZodOptional<z.ZodNumber>;
449
525
  notebookId: z.ZodOptional<z.ZodString>;
450
526
  journalDate: z.ZodOptional<z.ZodString>;
451
- }, z.core.$strip>, {
527
+ }, z.core.$strict>, {
452
528
  id: string;
453
529
  noteId: string;
454
530
  title: string;
@@ -465,7 +541,7 @@ declare const wodNoteCloneTool: AgentToolSpec<z.ZodObject<{
465
541
  targetNotebookId: z.ZodOptional<z.ZodString>;
466
542
  title: z.ZodOptional<z.ZodString>;
467
543
  journalDate: z.ZodOptional<z.ZodString>;
468
- }, z.core.$strip>, {
544
+ }, z.core.$strict>, {
469
545
  id: string;
470
546
  noteId: string;
471
547
  title: string;
@@ -477,7 +553,7 @@ declare const wodNoteCloneTool: AgentToolSpec<z.ZodObject<{
477
553
  declare const wodNoteDeleteTool: AgentToolSpec<z.ZodObject<{
478
554
  noteId: z.ZodString;
479
555
  confirmId: z.ZodOptional<z.ZodString>;
480
- }, z.core.$strip>, {
556
+ }, z.core.$strict>, {
481
557
  deleted: boolean;
482
558
  noteId: string;
483
559
  reason: string;
@@ -496,7 +572,7 @@ declare const wodParseScriptTool: AgentToolSpec<z.ZodObject<{
496
572
  noteId: z.ZodOptional<z.ZodString>;
497
573
  title: z.ZodOptional<z.ZodString>;
498
574
  notebookId: z.ZodOptional<z.ZodString>;
499
- }, z.core.$strip>, {
575
+ }, z.core.$strict>, {
500
576
  savedNote?: {
501
577
  noteId: string;
502
578
  title: string;
@@ -537,7 +613,7 @@ declare const wodSessionRunHeadlessTool: AgentToolSpec<z.ZodObject<{
537
613
  stepAdvanceMs: z.ZodOptional<z.ZodNumber>;
538
614
  maxSteps: z.ZodOptional<z.ZodNumber>;
539
615
  public: z.ZodOptional<z.ZodBoolean>;
540
- }, z.core.$strip>, {
616
+ }, z.core.$strict>, {
541
617
  completed: boolean;
542
618
  stepsExecuted: number;
543
619
  durationMs: number;
@@ -554,7 +630,7 @@ declare const wodSessionListTool: AgentToolSpec<z.ZodObject<{
554
630
  noteId: z.ZodOptional<z.ZodString>;
555
631
  completedOnly: z.ZodOptional<z.ZodBoolean>;
556
632
  limit: z.ZodOptional<z.ZodNumber>;
557
- }, z.core.$strip>, {
633
+ }, z.core.$strict>, {
558
634
  totalCount: number;
559
635
  sessions: {
560
636
  id: string;
@@ -572,7 +648,7 @@ declare const wodSessionListTool: AgentToolSpec<z.ZodObject<{
572
648
  }>;
573
649
  declare const wodSessionGetTool: AgentToolSpec<z.ZodObject<{
574
650
  sessionId: z.ZodString;
575
- }, z.core.$strip>, {
651
+ }, z.core.$strict>, {
576
652
  session: Session;
577
653
  noteTitle: string | undefined;
578
654
  pinnedRevision: _bitcobblers_wod_wiki_core.BlockRevision | null;
@@ -583,7 +659,7 @@ declare const wodSessionGetTool: AgentToolSpec<z.ZodObject<{
583
659
  declare const wodSessionDeleteTool: AgentToolSpec<z.ZodObject<{
584
660
  sessionId: z.ZodString;
585
661
  confirmId: z.ZodOptional<z.ZodString>;
586
- }, z.core.$strip>, {
662
+ }, z.core.$strict>, {
587
663
  deleted: boolean;
588
664
  sessionId: string;
589
665
  reason: string;
@@ -596,7 +672,7 @@ declare const wodSessionDeleteTool: AgentToolSpec<z.ZodObject<{
596
672
  declare const wodValidateWqlTool: AgentToolSpec<z.ZodObject<{
597
673
  query: z.ZodString;
598
674
  targetHint: z.ZodOptional<z.ZodString>;
599
- }, z.core.$strip>, {
675
+ }, z.core.$strict>, {
600
676
  family: "find" | "aggregate" | "pipeline";
601
677
  target: string;
602
678
  normalized: string | {
@@ -615,7 +691,7 @@ declare const wodQueryWqlTool: AgentToolSpec<z.ZodObject<{
615
691
  query: z.ZodString;
616
692
  preferredUnit: z.ZodOptional<z.ZodString>;
617
693
  limit: z.ZodOptional<z.ZodNumber>;
618
- }, z.core.$strip>, {
694
+ }, z.core.$strict>, {
619
695
  kind: "pipeline-result";
620
696
  query: string;
621
697
  result: _bitcobblers_wod_wiki_wql.PipelineResult;
@@ -729,9 +805,10 @@ interface AgentCapabilitiesManifest {
729
805
  library: '@mcp-b/react-webmcp';
730
806
  };
731
807
  mcp: {
732
- httpEndpoint: string;
808
+ httpEndpoint: string | null;
733
809
  stdioCommand: string;
734
810
  sdk: '@modelcontextprotocol/sdk';
811
+ deploymentNote?: string;
735
812
  };
736
813
  cli: {
737
814
  binary: string;
@@ -846,6 +923,7 @@ declare function renderAgentPrompt(name: string, args?: Record<string, string |
846
923
  declare function zodSchemaToJsonSchema(schema: z.ZodType): Record<string, unknown>;
847
924
  declare function exportAgentCapabilitiesManifest(options?: {
848
925
  uiTools?: AgentUiToolManifestEntry[];
926
+ deploymentTarget?: 'static' | 'server';
849
927
  }): AgentCapabilitiesManifest;
850
928
 
851
929
  export { AGENT_PROMPTS, AGENT_RESOURCE_TEMPLATES, AGENT_STATIC_RESOURCES, type AgentCapabilitiesManifest, type AgentConfirmationRequest, AgentConfirmationRequiredError, type AgentDomainContext, type AgentDomainName, type AgentRiskTier, type AgentToolAnnotations, type AgentToolManifestEntry, type AgentToolSpec, type AgentUiToolManifestEntry, type AnyAgentToolSpec, DOMAIN_AGENT_TOOLS, DOMAIN_AGENT_TOOLS_BY_NAME, type UpsertNoteInStorageInput, type UpsertNoteInStorageResult, WHITEBOARD_SCRIPT_REFERENCE_MARKDOWN, buildWqlReferenceObject, civilDateKey, createQueryServiceForStorage, defineAgentTool, deleteNoteFromStorage, deleteSessionFromStorage, exportAgentCapabilitiesManifest, normalizeMarkdownOrBareScript, noteDeepLink, readAgentResource, renderAgentPrompt, requireDestructiveConfirmation, upsertNoteInStorage, wodCatalogLookupTool, wodCatalogUpsertTool, wodExportBundleTool, wodFeedManageTool, wodJournalAddTool, wodJournalDayTool, wodNoteCloneTool, wodNoteDeleteTool, wodNoteGetTool, wodNoteListTool, wodNoteUpsertTool, wodNotebookDeleteTool, wodNotebookListTool, wodNotebookSaveTool, wodParseScriptTool, wodQueryWqlTool, wodResetStorageTool, wodSessionDeleteTool, wodSessionGetTool, wodSessionListTool, wodSessionRunHeadlessTool, wodValidateWqlTool, zodSchemaToJsonSchema };
package/dist/agent.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { IStorage, StoreName } from '@bitcobblers/wod-wiki-storage';
3
- import { F as FeedTree, P as PortableFileEntry, R as ResolvedUpstreamProvenance, S as StatementNode } from './ir-CKImc4T0.js';
3
+ import { F as FeedTree, P as PortableFileEntry, a as FeedSubscriptionEntry, R as ResolvedUpstreamProvenance, S as StatementNode } from './ir-CQnh_Tid.js';
4
4
  import * as _bitcobblers_wod_wiki_core from '@bitcobblers/wod-wiki-core';
5
5
  import { Note, Session, EventRecord } from '@bitcobblers/wod-wiki-core';
6
6
  import * as _bitcobblers_wod_wiki_wql from '@bitcobblers/wod-wiki-wql';
@@ -27,12 +27,36 @@ declare class AgentConfirmationRequiredError extends Error {
27
27
  readonly action: string;
28
28
  constructor(req: AgentConfirmationRequest, detail?: string);
29
29
  }
30
+ interface AgentFeedLifecycleAdapter {
31
+ subscribe?: (sourceId: string, options?: {
32
+ notebookIds?: string[];
33
+ url?: string;
34
+ name?: string;
35
+ }) => Promise<{
36
+ sourceId: string;
37
+ subscribed: boolean;
38
+ notebookIds?: string[] | null;
39
+ synced?: boolean;
40
+ }>;
41
+ unsubscribe?: (sourceId: string) => Promise<{
42
+ sourceId: string;
43
+ unsubscribed: boolean;
44
+ deletedNotes: number;
45
+ }>;
46
+ delete?: (sourceId: string) => Promise<{
47
+ sourceId: string;
48
+ deleted: boolean;
49
+ deletedNotes: number;
50
+ }>;
51
+ }
30
52
  interface AgentDomainContext {
31
53
  storage: IStorage;
32
54
  /** Base origin for canonical deep links (e.g. https://wod.wiki or http://127.0.0.1:3000). */
33
55
  baseUrl?: string;
34
56
  /** Optional feed tree for `wod_feed_manage` (`publish` / `status` on server or CLI). */
35
57
  feedTree?: FeedTree;
58
+ /** Optional runtime-specific feed subscription/source adapter (e.g. Playground WebMCP). */
59
+ feedLifecycle?: AgentFeedLifecycleAdapter;
36
60
  /** Surface-specific Tier 2 gate (Radix modal in WebMCP, elicitation in MCP, --yes in CLI). */
37
61
  confirmDestructive?: (req: AgentConfirmationRequest) => Promise<boolean>;
38
62
  /** Optional hook run after writes (e.g. cache invalidation in Playground, domain refresh in SQL). */
@@ -94,7 +118,7 @@ declare const wodCatalogLookupTool: AgentToolSpec<z.ZodObject<{
94
118
  slug: z.ZodOptional<z.ZodString>;
95
119
  notebookId: z.ZodOptional<z.ZodString>;
96
120
  limit: z.ZodOptional<z.ZodNumber>;
97
- }, z.core.$strip>, {
121
+ }, z.core.$strict>, {
98
122
  kind: "effort";
99
123
  totalCount: number;
100
124
  items: {
@@ -145,7 +169,7 @@ declare const wodCatalogUpsertTool: AgentToolSpec<z.ZodObject<{
145
169
  aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
146
170
  category: z.ZodOptional<z.ZodString>;
147
171
  color: z.ZodOptional<z.ZodString>;
148
- }, z.core.$strip>, {
172
+ }, z.core.$strict>, {
149
173
  id: string;
150
174
  kind: _bitcobblers_wod_wiki_core.OverridePropertyKind;
151
175
  slug: string;
@@ -160,15 +184,22 @@ declare const wodFeedManageTool: AgentToolSpec<z.ZodObject<{
160
184
  list: "list";
161
185
  publish: "publish";
162
186
  "import-bundle": "import-bundle";
187
+ subscribe: "subscribe";
188
+ unsubscribe: "unsubscribe";
189
+ delete: "delete";
163
190
  }>;
191
+ sourceId: z.ZodOptional<z.ZodString>;
192
+ notebookIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
193
+ url: z.ZodOptional<z.ZodString>;
194
+ confirmId: z.ZodOptional<z.ZodString>;
164
195
  notebookSlug: z.ZodOptional<z.ZodString>;
165
196
  name: z.ZodOptional<z.ZodString>;
166
197
  description: z.ZodOptional<z.ZodString>;
167
198
  files: z.ZodOptional<z.ZodArray<z.ZodObject<{
168
199
  path: z.ZodString;
169
200
  content: z.ZodString;
170
- }, z.core.$strip>>>;
171
- }, z.core.$strip>, {
201
+ }, z.core.$strict>>>;
202
+ }, z.core.$strict>, {
172
203
  action: "list";
173
204
  installedCount: number;
174
205
  feeds: {
@@ -177,7 +208,49 @@ declare const wodFeedManageTool: AgentToolSpec<z.ZodObject<{
177
208
  builtAt?: string;
178
209
  importedAt?: number;
179
210
  chunkCount: number;
211
+ subscribed?: boolean;
180
212
  }[];
213
+ subscriptions: Record<string, FeedSubscriptionEntry>;
214
+ notebooks?: undefined;
215
+ totalNotes?: undefined;
216
+ totalPublicSessions?: undefined;
217
+ manifestVersion?: undefined;
218
+ manifestSha256?: undefined;
219
+ } | {
220
+ sourceId: string;
221
+ subscribed: boolean;
222
+ notebookIds?: string[] | null;
223
+ synced?: boolean;
224
+ action: "subscribe";
225
+ installedCount?: undefined;
226
+ feeds?: undefined;
227
+ subscriptions?: undefined;
228
+ notebooks?: undefined;
229
+ totalNotes?: undefined;
230
+ totalPublicSessions?: undefined;
231
+ manifestVersion?: undefined;
232
+ manifestSha256?: undefined;
233
+ } | {
234
+ sourceId: string;
235
+ unsubscribed: boolean;
236
+ deletedNotes: number;
237
+ action: "unsubscribe";
238
+ installedCount?: undefined;
239
+ feeds?: undefined;
240
+ subscriptions?: undefined;
241
+ notebooks?: undefined;
242
+ totalNotes?: undefined;
243
+ totalPublicSessions?: undefined;
244
+ manifestVersion?: undefined;
245
+ manifestSha256?: undefined;
246
+ } | {
247
+ sourceId: string;
248
+ deleted: boolean;
249
+ deletedNotes: number;
250
+ action: "delete";
251
+ installedCount?: undefined;
252
+ feeds?: undefined;
253
+ subscriptions?: undefined;
181
254
  notebooks?: undefined;
182
255
  totalNotes?: undefined;
183
256
  totalPublicSessions?: undefined;
@@ -198,6 +271,7 @@ declare const wodFeedManageTool: AgentToolSpec<z.ZodObject<{
198
271
  action: "status";
199
272
  installedCount?: undefined;
200
273
  feeds?: undefined;
274
+ subscriptions?: undefined;
201
275
  notebooks?: undefined;
202
276
  totalNotes?: undefined;
203
277
  totalPublicSessions?: undefined;
@@ -212,6 +286,7 @@ declare const wodFeedManageTool: AgentToolSpec<z.ZodObject<{
212
286
  manifestSha256: string;
213
287
  installedCount?: undefined;
214
288
  feeds?: undefined;
289
+ subscriptions?: undefined;
215
290
  } | {
216
291
  notesImported: number;
217
292
  revisionsImported: number;
@@ -221,6 +296,7 @@ declare const wodFeedManageTool: AgentToolSpec<z.ZodObject<{
221
296
  action: "import-bundle";
222
297
  installedCount?: undefined;
223
298
  feeds?: undefined;
299
+ subscriptions?: undefined;
224
300
  notebooks?: undefined;
225
301
  totalNotes?: undefined;
226
302
  totalPublicSessions?: undefined;
@@ -234,19 +310,19 @@ declare const wodExportBundleTool: AgentToolSpec<z.ZodObject<{
234
310
  csv: "csv";
235
311
  both: "both";
236
312
  }>>;
237
- }, z.core.$strip>, {
313
+ }, z.core.$strict>, {
238
314
  fileCount: number;
239
315
  files: PortableFileEntry[];
240
316
  }>;
241
317
  declare const wodResetStorageTool: AgentToolSpec<z.ZodObject<{
242
318
  confirmToken: z.ZodOptional<z.ZodString>;
243
- }, z.core.$strip>, {
319
+ }, z.core.$strict>, {
244
320
  wiped: boolean;
245
321
  }>;
246
322
 
247
323
  declare const wodJournalDayTool: AgentToolSpec<z.ZodObject<{
248
324
  date: z.ZodOptional<z.ZodString>;
249
- }, z.core.$strip>, {
325
+ }, z.core.$strict>, {
250
326
  date: string;
251
327
  url: string;
252
328
  pageId: string;
@@ -277,7 +353,7 @@ declare const wodJournalAddTool: AgentToolSpec<z.ZodObject<{
277
353
  content: z.ZodString;
278
354
  sport: z.ZodOptional<z.ZodString>;
279
355
  notebookId: z.ZodOptional<z.ZodString>;
280
- }, z.core.$strip>, {
356
+ }, z.core.$strict>, {
281
357
  date: string;
282
358
  noteId: string;
283
359
  journalUrl: string;
@@ -298,7 +374,7 @@ declare const wodNotebookListTool: AgentToolSpec<z.ZodObject<{
298
374
  user: "user";
299
375
  all: "all";
300
376
  }>>;
301
- }, z.core.$strip>, {
377
+ }, z.core.$strict>, {
302
378
  totalCount: number;
303
379
  notebooks: {
304
380
  url: string;
@@ -329,7 +405,7 @@ declare const wodNotebookSaveTool: AgentToolSpec<z.ZodObject<{
329
405
  noteId: z.ZodOptional<z.ZodString>;
330
406
  sessionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
331
407
  public: z.ZodOptional<z.ZodBoolean>;
332
- }, z.core.$strip>, {
408
+ }, z.core.$strict>, {
333
409
  action: "create";
334
410
  notebookId: `notebook/${string}`;
335
411
  slug: string;
@@ -378,7 +454,7 @@ declare const wodNotebookSaveTool: AgentToolSpec<z.ZodObject<{
378
454
  declare const wodNotebookDeleteTool: AgentToolSpec<z.ZodObject<{
379
455
  notebookId: z.ZodString;
380
456
  confirmId: z.ZodOptional<z.ZodString>;
381
- }, z.core.$strip>, {
457
+ }, z.core.$strict>, {
382
458
  deleted: boolean;
383
459
  notebookId: `notebook/${string}`;
384
460
  slug: string;
@@ -390,7 +466,7 @@ declare const wodNoteListTool: AgentToolSpec<z.ZodObject<{
390
466
  tag: z.ZodOptional<z.ZodString>;
391
467
  includeSeed: z.ZodOptional<z.ZodBoolean>;
392
468
  limit: z.ZodOptional<z.ZodNumber>;
393
- }, z.core.$strip>, {
469
+ }, z.core.$strict>, {
394
470
  totalCount: number;
395
471
  notes: {
396
472
  id: string;
@@ -407,7 +483,7 @@ declare const wodNoteListTool: AgentToolSpec<z.ZodObject<{
407
483
  }>;
408
484
  declare const wodNoteGetTool: AgentToolSpec<z.ZodObject<{
409
485
  noteId: z.ZodString;
410
- }, z.core.$strip>, {
486
+ }, z.core.$strict>, {
411
487
  visibility: _bitcobblers_wod_wiki_core.PublicationVisibilitySummary;
412
488
  url: string;
413
489
  provenance?: ResolvedUpstreamProvenance | undefined;
@@ -448,7 +524,7 @@ declare const wodNoteUpsertTool: AgentToolSpec<z.ZodObject<{
448
524
  expectedSourceRevision: z.ZodOptional<z.ZodNumber>;
449
525
  notebookId: z.ZodOptional<z.ZodString>;
450
526
  journalDate: z.ZodOptional<z.ZodString>;
451
- }, z.core.$strip>, {
527
+ }, z.core.$strict>, {
452
528
  id: string;
453
529
  noteId: string;
454
530
  title: string;
@@ -465,7 +541,7 @@ declare const wodNoteCloneTool: AgentToolSpec<z.ZodObject<{
465
541
  targetNotebookId: z.ZodOptional<z.ZodString>;
466
542
  title: z.ZodOptional<z.ZodString>;
467
543
  journalDate: z.ZodOptional<z.ZodString>;
468
- }, z.core.$strip>, {
544
+ }, z.core.$strict>, {
469
545
  id: string;
470
546
  noteId: string;
471
547
  title: string;
@@ -477,7 +553,7 @@ declare const wodNoteCloneTool: AgentToolSpec<z.ZodObject<{
477
553
  declare const wodNoteDeleteTool: AgentToolSpec<z.ZodObject<{
478
554
  noteId: z.ZodString;
479
555
  confirmId: z.ZodOptional<z.ZodString>;
480
- }, z.core.$strip>, {
556
+ }, z.core.$strict>, {
481
557
  deleted: boolean;
482
558
  noteId: string;
483
559
  reason: string;
@@ -496,7 +572,7 @@ declare const wodParseScriptTool: AgentToolSpec<z.ZodObject<{
496
572
  noteId: z.ZodOptional<z.ZodString>;
497
573
  title: z.ZodOptional<z.ZodString>;
498
574
  notebookId: z.ZodOptional<z.ZodString>;
499
- }, z.core.$strip>, {
575
+ }, z.core.$strict>, {
500
576
  savedNote?: {
501
577
  noteId: string;
502
578
  title: string;
@@ -537,7 +613,7 @@ declare const wodSessionRunHeadlessTool: AgentToolSpec<z.ZodObject<{
537
613
  stepAdvanceMs: z.ZodOptional<z.ZodNumber>;
538
614
  maxSteps: z.ZodOptional<z.ZodNumber>;
539
615
  public: z.ZodOptional<z.ZodBoolean>;
540
- }, z.core.$strip>, {
616
+ }, z.core.$strict>, {
541
617
  completed: boolean;
542
618
  stepsExecuted: number;
543
619
  durationMs: number;
@@ -554,7 +630,7 @@ declare const wodSessionListTool: AgentToolSpec<z.ZodObject<{
554
630
  noteId: z.ZodOptional<z.ZodString>;
555
631
  completedOnly: z.ZodOptional<z.ZodBoolean>;
556
632
  limit: z.ZodOptional<z.ZodNumber>;
557
- }, z.core.$strip>, {
633
+ }, z.core.$strict>, {
558
634
  totalCount: number;
559
635
  sessions: {
560
636
  id: string;
@@ -572,7 +648,7 @@ declare const wodSessionListTool: AgentToolSpec<z.ZodObject<{
572
648
  }>;
573
649
  declare const wodSessionGetTool: AgentToolSpec<z.ZodObject<{
574
650
  sessionId: z.ZodString;
575
- }, z.core.$strip>, {
651
+ }, z.core.$strict>, {
576
652
  session: Session;
577
653
  noteTitle: string | undefined;
578
654
  pinnedRevision: _bitcobblers_wod_wiki_core.BlockRevision | null;
@@ -583,7 +659,7 @@ declare const wodSessionGetTool: AgentToolSpec<z.ZodObject<{
583
659
  declare const wodSessionDeleteTool: AgentToolSpec<z.ZodObject<{
584
660
  sessionId: z.ZodString;
585
661
  confirmId: z.ZodOptional<z.ZodString>;
586
- }, z.core.$strip>, {
662
+ }, z.core.$strict>, {
587
663
  deleted: boolean;
588
664
  sessionId: string;
589
665
  reason: string;
@@ -596,7 +672,7 @@ declare const wodSessionDeleteTool: AgentToolSpec<z.ZodObject<{
596
672
  declare const wodValidateWqlTool: AgentToolSpec<z.ZodObject<{
597
673
  query: z.ZodString;
598
674
  targetHint: z.ZodOptional<z.ZodString>;
599
- }, z.core.$strip>, {
675
+ }, z.core.$strict>, {
600
676
  family: "find" | "aggregate" | "pipeline";
601
677
  target: string;
602
678
  normalized: string | {
@@ -615,7 +691,7 @@ declare const wodQueryWqlTool: AgentToolSpec<z.ZodObject<{
615
691
  query: z.ZodString;
616
692
  preferredUnit: z.ZodOptional<z.ZodString>;
617
693
  limit: z.ZodOptional<z.ZodNumber>;
618
- }, z.core.$strip>, {
694
+ }, z.core.$strict>, {
619
695
  kind: "pipeline-result";
620
696
  query: string;
621
697
  result: _bitcobblers_wod_wiki_wql.PipelineResult;
@@ -729,9 +805,10 @@ interface AgentCapabilitiesManifest {
729
805
  library: '@mcp-b/react-webmcp';
730
806
  };
731
807
  mcp: {
732
- httpEndpoint: string;
808
+ httpEndpoint: string | null;
733
809
  stdioCommand: string;
734
810
  sdk: '@modelcontextprotocol/sdk';
811
+ deploymentNote?: string;
735
812
  };
736
813
  cli: {
737
814
  binary: string;
@@ -846,6 +923,7 @@ declare function renderAgentPrompt(name: string, args?: Record<string, string |
846
923
  declare function zodSchemaToJsonSchema(schema: z.ZodType): Record<string, unknown>;
847
924
  declare function exportAgentCapabilitiesManifest(options?: {
848
925
  uiTools?: AgentUiToolManifestEntry[];
926
+ deploymentTarget?: 'static' | 'server';
849
927
  }): AgentCapabilitiesManifest;
850
928
 
851
929
  export { AGENT_PROMPTS, AGENT_RESOURCE_TEMPLATES, AGENT_STATIC_RESOURCES, type AgentCapabilitiesManifest, type AgentConfirmationRequest, AgentConfirmationRequiredError, type AgentDomainContext, type AgentDomainName, type AgentRiskTier, type AgentToolAnnotations, type AgentToolManifestEntry, type AgentToolSpec, type AgentUiToolManifestEntry, type AnyAgentToolSpec, DOMAIN_AGENT_TOOLS, DOMAIN_AGENT_TOOLS_BY_NAME, type UpsertNoteInStorageInput, type UpsertNoteInStorageResult, WHITEBOARD_SCRIPT_REFERENCE_MARKDOWN, buildWqlReferenceObject, civilDateKey, createQueryServiceForStorage, defineAgentTool, deleteNoteFromStorage, deleteSessionFromStorage, exportAgentCapabilitiesManifest, normalizeMarkdownOrBareScript, noteDeepLink, readAgentResource, renderAgentPrompt, requireDestructiveConfirmation, upsertNoteInStorage, wodCatalogLookupTool, wodCatalogUpsertTool, wodExportBundleTool, wodFeedManageTool, wodJournalAddTool, wodJournalDayTool, wodNoteCloneTool, wodNoteDeleteTool, wodNoteGetTool, wodNoteListTool, wodNoteUpsertTool, wodNotebookDeleteTool, wodNotebookListTool, wodNotebookSaveTool, wodParseScriptTool, wodQueryWqlTool, wodResetStorageTool, wodSessionDeleteTool, wodSessionGetTool, wodSessionListTool, wodSessionRunHeadlessTool, wodValidateWqlTool, zodSchemaToJsonSchema };