@mmon-co/ncept-default-theory 3.0.18 → 3.0.20

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.
@@ -78,9 +78,128 @@ export declare const implementation: {
78
78
  }[];
79
79
  entry: {
80
80
  required: false;
81
- kinds: ("mission" | "checkpoint" | "target" | "goal")[];
81
+ kinds: ("checkpoint" | "target" | "mission" | "goal")[];
82
82
  };
83
83
  capabilities: readonly import("@mmon-co/ncept-core/theory").HostCapability[];
84
+ graphDraftBatch: {
85
+ properties: {
86
+ nodes: {
87
+ type: "array";
88
+ items: {
89
+ type: "object";
90
+ properties: {
91
+ id: {
92
+ description: string;
93
+ type: "string";
94
+ };
95
+ label: {
96
+ type: "string";
97
+ };
98
+ criterion: {
99
+ type: "string";
100
+ };
101
+ priority: {
102
+ type: "number";
103
+ description: string;
104
+ };
105
+ milestone: {
106
+ type: "boolean";
107
+ };
108
+ elaborate: {
109
+ type: "boolean";
110
+ };
111
+ review: {
112
+ type: "object";
113
+ properties: {
114
+ kind: {
115
+ enum: string[];
116
+ type: "string";
117
+ };
118
+ days: {
119
+ type: "number";
120
+ exclusiveMinimum: number;
121
+ description: string;
122
+ };
123
+ };
124
+ required: ("kind" | "days")[];
125
+ additionalProperties: false;
126
+ };
127
+ };
128
+ required: ("review" | "id" | "label" | "milestone" | "priority" | "criterion" | "elaborate")[];
129
+ additionalProperties: false;
130
+ };
131
+ };
132
+ edges: {
133
+ type: "array";
134
+ items: {
135
+ type: "object";
136
+ properties: {
137
+ from: {
138
+ description: string;
139
+ type: "string";
140
+ };
141
+ to: {
142
+ description: string;
143
+ type: "string";
144
+ };
145
+ id: {
146
+ description: string;
147
+ type: "string";
148
+ };
149
+ because: {
150
+ type: "string";
151
+ };
152
+ };
153
+ required: ("id" | "to" | "from" | "because")[];
154
+ additionalProperties: false;
155
+ };
156
+ };
157
+ tags: {
158
+ type: "array";
159
+ items: {
160
+ type: "object";
161
+ properties: {
162
+ name: {
163
+ description: string;
164
+ type: "string";
165
+ };
166
+ nodes: {
167
+ type: "array";
168
+ items: {
169
+ description: string;
170
+ type: "string";
171
+ };
172
+ };
173
+ edges: {
174
+ type: "array";
175
+ items: {
176
+ description: string;
177
+ type: "string";
178
+ };
179
+ };
180
+ priority: {
181
+ type: "number";
182
+ description: string;
183
+ };
184
+ };
185
+ required: ("nodes" | "name" | "edges" | "priority")[];
186
+ additionalProperties: false;
187
+ };
188
+ };
189
+ targets: {
190
+ description: string;
191
+ type: "array";
192
+ items: {
193
+ description: string;
194
+ type: "string";
195
+ };
196
+ };
197
+ };
198
+ compile(input: Readonly<Record<string, unknown>>, graph: Pick<import("@mmon-co/ncept-core").ResolvedGraph, "nodes" | "edges">, previous: readonly import("@mmon-co/ncept-core").SemanticOperation[]): {
199
+ targets?: `node-${string}`[] | undefined;
200
+ operations: import("@mmon-co/ncept-core").SemanticOperation[];
201
+ };
202
+ };
84
203
  switches: {
85
204
  mode: string;
86
205
  then: "next";
@@ -114,6 +233,125 @@ export declare const implementation: {
114
233
  kinds: ("mission" | "goal")[];
115
234
  };
116
235
  capabilities: readonly import("@mmon-co/ncept-core/theory").HostCapability[];
236
+ graphDraftBatch: {
237
+ properties: {
238
+ nodes: {
239
+ type: "array";
240
+ items: {
241
+ type: "object";
242
+ properties: {
243
+ id: {
244
+ description: string;
245
+ type: "string";
246
+ };
247
+ label: {
248
+ type: "string";
249
+ };
250
+ criterion: {
251
+ type: "string";
252
+ };
253
+ priority: {
254
+ type: "number";
255
+ description: string;
256
+ };
257
+ milestone: {
258
+ type: "boolean";
259
+ };
260
+ elaborate: {
261
+ type: "boolean";
262
+ };
263
+ review: {
264
+ type: "object";
265
+ properties: {
266
+ kind: {
267
+ enum: string[];
268
+ type: "string";
269
+ };
270
+ days: {
271
+ type: "number";
272
+ exclusiveMinimum: number;
273
+ description: string;
274
+ };
275
+ };
276
+ required: ("kind" | "days")[];
277
+ additionalProperties: false;
278
+ };
279
+ };
280
+ required: ("review" | "id" | "label" | "milestone" | "priority" | "criterion" | "elaborate")[];
281
+ additionalProperties: false;
282
+ };
283
+ };
284
+ edges: {
285
+ type: "array";
286
+ items: {
287
+ type: "object";
288
+ properties: {
289
+ from: {
290
+ description: string;
291
+ type: "string";
292
+ };
293
+ to: {
294
+ description: string;
295
+ type: "string";
296
+ };
297
+ id: {
298
+ description: string;
299
+ type: "string";
300
+ };
301
+ because: {
302
+ type: "string";
303
+ };
304
+ };
305
+ required: ("id" | "to" | "from" | "because")[];
306
+ additionalProperties: false;
307
+ };
308
+ };
309
+ tags: {
310
+ type: "array";
311
+ items: {
312
+ type: "object";
313
+ properties: {
314
+ name: {
315
+ description: string;
316
+ type: "string";
317
+ };
318
+ nodes: {
319
+ type: "array";
320
+ items: {
321
+ description: string;
322
+ type: "string";
323
+ };
324
+ };
325
+ edges: {
326
+ type: "array";
327
+ items: {
328
+ description: string;
329
+ type: "string";
330
+ };
331
+ };
332
+ priority: {
333
+ type: "number";
334
+ description: string;
335
+ };
336
+ };
337
+ required: ("nodes" | "name" | "edges" | "priority")[];
338
+ additionalProperties: false;
339
+ };
340
+ };
341
+ targets: {
342
+ description: string;
343
+ type: "array";
344
+ items: {
345
+ description: string;
346
+ type: "string";
347
+ };
348
+ };
349
+ };
350
+ compile(input: Readonly<Record<string, unknown>>, graph: Pick<import("@mmon-co/ncept-core").ResolvedGraph, "nodes" | "edges">, previous: readonly import("@mmon-co/ncept-core").SemanticOperation[]): {
351
+ targets?: `node-${string}`[] | undefined;
352
+ operations: import("@mmon-co/ncept-core").SemanticOperation[];
353
+ };
354
+ };
117
355
  switches: never[];
118
356
  setup: (ctx: import("@mmon-co/ncept-core/theory").ChatContext<import("./state.js").DefaultState>) => import("@mmon-co/ncept-core").Program<Readonly<{
119
357
  prompt: string;
@@ -138,9 +376,128 @@ export declare const implementation: {
138
376
  frontTab: string;
139
377
  entry: {
140
378
  required: true;
141
- kinds: ("lesson" | "review")[];
379
+ kinds: ("review" | "target" | "mission")[];
142
380
  };
143
381
  capabilities: readonly import("@mmon-co/ncept-core/theory").HostCapability[];
382
+ graphDraftBatch: {
383
+ properties: {
384
+ nodes: {
385
+ type: "array";
386
+ items: {
387
+ type: "object";
388
+ properties: {
389
+ id: {
390
+ description: string;
391
+ type: "string";
392
+ };
393
+ label: {
394
+ type: "string";
395
+ };
396
+ criterion: {
397
+ type: "string";
398
+ };
399
+ priority: {
400
+ type: "number";
401
+ description: string;
402
+ };
403
+ milestone: {
404
+ type: "boolean";
405
+ };
406
+ elaborate: {
407
+ type: "boolean";
408
+ };
409
+ review: {
410
+ type: "object";
411
+ properties: {
412
+ kind: {
413
+ enum: string[];
414
+ type: "string";
415
+ };
416
+ days: {
417
+ type: "number";
418
+ exclusiveMinimum: number;
419
+ description: string;
420
+ };
421
+ };
422
+ required: ("kind" | "days")[];
423
+ additionalProperties: false;
424
+ };
425
+ };
426
+ required: ("review" | "id" | "label" | "milestone" | "priority" | "criterion" | "elaborate")[];
427
+ additionalProperties: false;
428
+ };
429
+ };
430
+ edges: {
431
+ type: "array";
432
+ items: {
433
+ type: "object";
434
+ properties: {
435
+ from: {
436
+ description: string;
437
+ type: "string";
438
+ };
439
+ to: {
440
+ description: string;
441
+ type: "string";
442
+ };
443
+ id: {
444
+ description: string;
445
+ type: "string";
446
+ };
447
+ because: {
448
+ type: "string";
449
+ };
450
+ };
451
+ required: ("id" | "to" | "from" | "because")[];
452
+ additionalProperties: false;
453
+ };
454
+ };
455
+ tags: {
456
+ type: "array";
457
+ items: {
458
+ type: "object";
459
+ properties: {
460
+ name: {
461
+ description: string;
462
+ type: "string";
463
+ };
464
+ nodes: {
465
+ type: "array";
466
+ items: {
467
+ description: string;
468
+ type: "string";
469
+ };
470
+ };
471
+ edges: {
472
+ type: "array";
473
+ items: {
474
+ description: string;
475
+ type: "string";
476
+ };
477
+ };
478
+ priority: {
479
+ type: "number";
480
+ description: string;
481
+ };
482
+ };
483
+ required: ("nodes" | "name" | "edges" | "priority")[];
484
+ additionalProperties: false;
485
+ };
486
+ };
487
+ targets: {
488
+ description: string;
489
+ type: "array";
490
+ items: {
491
+ description: string;
492
+ type: "string";
493
+ };
494
+ };
495
+ };
496
+ compile(input: Readonly<Record<string, unknown>>, graph: Pick<import("@mmon-co/ncept-core").ResolvedGraph, "nodes" | "edges">, previous: readonly import("@mmon-co/ncept-core").SemanticOperation[]): {
497
+ targets?: `node-${string}`[] | undefined;
498
+ operations: import("@mmon-co/ncept-core").SemanticOperation[];
499
+ };
500
+ };
144
501
  metadataKeys: readonly string[] | undefined;
145
502
  switches: ({
146
503
  mode: string;