@inf-monkeys-tech/monkeys 1.0.21 → 1.0.23

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.
@@ -1461,6 +1461,112 @@
1461
1461
  "payload"
1462
1462
  ],
1463
1463
  "additionalProperties": false
1464
+ },
1465
+ {
1466
+ "type": "object",
1467
+ "properties": {
1468
+ "contract": {
1469
+ "type": "string",
1470
+ "const": "AgentSessionEvent"
1471
+ },
1472
+ "eventId": {
1473
+ "type": "string",
1474
+ "minLength": 1,
1475
+ "maxLength": 256
1476
+ },
1477
+ "sessionId": {
1478
+ "type": "string",
1479
+ "minLength": 1,
1480
+ "maxLength": 256
1481
+ },
1482
+ "runId": {
1483
+ "type": "string",
1484
+ "minLength": 1,
1485
+ "maxLength": 256
1486
+ },
1487
+ "sourceMessageId": {
1488
+ "type": "string",
1489
+ "minLength": 1,
1490
+ "maxLength": 256
1491
+ },
1492
+ "sequence": {
1493
+ "type": "integer",
1494
+ "minimum": 0,
1495
+ "maximum": 9007199254740991
1496
+ },
1497
+ "idempotencyKey": {
1498
+ "type": "string",
1499
+ "minLength": 1,
1500
+ "maxLength": 256
1501
+ },
1502
+ "occurredAt": {
1503
+ "type": "string",
1504
+ "format": "date-time",
1505
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
1506
+ },
1507
+ "eventType": {
1508
+ "type": "string",
1509
+ "const": "summary"
1510
+ },
1511
+ "payload": {
1512
+ "type": "object",
1513
+ "properties": {
1514
+ "summaryId": {
1515
+ "type": "string",
1516
+ "minLength": 1,
1517
+ "maxLength": 256
1518
+ },
1519
+ "runId": {
1520
+ "type": "string",
1521
+ "minLength": 1,
1522
+ "maxLength": 256
1523
+ },
1524
+ "text": {
1525
+ "type": "string"
1526
+ },
1527
+ "highlights": {
1528
+ "type": "array",
1529
+ "items": {
1530
+ "type": "string"
1531
+ }
1532
+ },
1533
+ "pendingItems": {
1534
+ "type": "array",
1535
+ "items": {
1536
+ "type": "string"
1537
+ }
1538
+ },
1539
+ "status": {
1540
+ "type": "string",
1541
+ "enum": [
1542
+ "generating",
1543
+ "completed",
1544
+ "failed"
1545
+ ]
1546
+ }
1547
+ },
1548
+ "required": [
1549
+ "summaryId",
1550
+ "runId",
1551
+ "text",
1552
+ "highlights",
1553
+ "pendingItems",
1554
+ "status"
1555
+ ],
1556
+ "additionalProperties": false
1557
+ }
1558
+ },
1559
+ "required": [
1560
+ "contract",
1561
+ "eventId",
1562
+ "sessionId",
1563
+ "sequence",
1564
+ "idempotencyKey",
1565
+ "occurredAt",
1566
+ "eventType",
1567
+ "payload"
1568
+ ],
1569
+ "additionalProperties": false
1464
1570
  }
1465
1571
  ],
1466
1572
  "$defs": {
@@ -279,6 +279,348 @@
279
279
  "payload"
280
280
  ],
281
281
  "additionalProperties": false
282
+ },
283
+ {
284
+ "type": "object",
285
+ "properties": {
286
+ "contract": {
287
+ "type": "string",
288
+ "const": "AgentSessionCommand"
289
+ },
290
+ "commandId": {
291
+ "type": "string",
292
+ "minLength": 1,
293
+ "maxLength": 256
294
+ },
295
+ "sessionId": {
296
+ "type": "string",
297
+ "minLength": 1,
298
+ "maxLength": 256
299
+ },
300
+ "runId": {
301
+ "type": "string",
302
+ "minLength": 1,
303
+ "maxLength": 256
304
+ },
305
+ "idempotencyKey": {
306
+ "type": "string",
307
+ "minLength": 1,
308
+ "maxLength": 256
309
+ },
310
+ "expectedSequence": {
311
+ "type": "integer",
312
+ "minimum": -1,
313
+ "maximum": 9007199254740991
314
+ },
315
+ "issuedAt": {
316
+ "type": "string",
317
+ "format": "date-time",
318
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
319
+ },
320
+ "commandType": {
321
+ "type": "string",
322
+ "const": "fork"
323
+ },
324
+ "payload": {
325
+ "type": "object",
326
+ "properties": {
327
+ "sourceThreadId": {
328
+ "type": "string",
329
+ "minLength": 1,
330
+ "maxLength": 256
331
+ },
332
+ "sourceMessageId": {
333
+ "type": "string",
334
+ "minLength": 1,
335
+ "maxLength": 256
336
+ },
337
+ "sourceRunId": {
338
+ "type": "string",
339
+ "minLength": 1,
340
+ "maxLength": 256
341
+ },
342
+ "inheritance": {
343
+ "type": "object",
344
+ "properties": {
345
+ "messages": {
346
+ "type": "string",
347
+ "enum": [
348
+ "through-source-message",
349
+ "exclude"
350
+ ]
351
+ },
352
+ "attachments": {
353
+ "type": "string",
354
+ "enum": [
355
+ "inherit",
356
+ "exclude"
357
+ ]
358
+ },
359
+ "summaries": {
360
+ "type": "string",
361
+ "enum": [
362
+ "inherit",
363
+ "exclude"
364
+ ]
365
+ },
366
+ "toolResults": {
367
+ "type": "string",
368
+ "enum": [
369
+ "inherit",
370
+ "exclude"
371
+ ]
372
+ },
373
+ "codeChanges": {
374
+ "type": "string",
375
+ "enum": [
376
+ "inherit",
377
+ "exclude"
378
+ ]
379
+ }
380
+ },
381
+ "required": [
382
+ "messages",
383
+ "attachments",
384
+ "summaries",
385
+ "toolResults",
386
+ "codeChanges"
387
+ ],
388
+ "additionalProperties": false
389
+ }
390
+ },
391
+ "required": [
392
+ "sourceThreadId",
393
+ "sourceMessageId",
394
+ "sourceRunId",
395
+ "inheritance"
396
+ ],
397
+ "additionalProperties": false
398
+ }
399
+ },
400
+ "required": [
401
+ "contract",
402
+ "commandId",
403
+ "sessionId",
404
+ "idempotencyKey",
405
+ "expectedSequence",
406
+ "issuedAt",
407
+ "commandType",
408
+ "payload"
409
+ ],
410
+ "additionalProperties": false
411
+ },
412
+ {
413
+ "type": "object",
414
+ "properties": {
415
+ "contract": {
416
+ "type": "string",
417
+ "const": "AgentSessionCommand"
418
+ },
419
+ "commandId": {
420
+ "type": "string",
421
+ "minLength": 1,
422
+ "maxLength": 256
423
+ },
424
+ "sessionId": {
425
+ "type": "string",
426
+ "minLength": 1,
427
+ "maxLength": 256
428
+ },
429
+ "runId": {
430
+ "type": "string",
431
+ "minLength": 1,
432
+ "maxLength": 256
433
+ },
434
+ "idempotencyKey": {
435
+ "type": "string",
436
+ "minLength": 1,
437
+ "maxLength": 256
438
+ },
439
+ "expectedSequence": {
440
+ "type": "integer",
441
+ "minimum": -1,
442
+ "maximum": 9007199254740991
443
+ },
444
+ "issuedAt": {
445
+ "type": "string",
446
+ "format": "date-time",
447
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
448
+ },
449
+ "commandType": {
450
+ "type": "string",
451
+ "const": "edit-and-rerun"
452
+ },
453
+ "payload": {
454
+ "type": "object",
455
+ "properties": {
456
+ "sourceThreadId": {
457
+ "type": "string",
458
+ "minLength": 1,
459
+ "maxLength": 256
460
+ },
461
+ "sourceMessageId": {
462
+ "type": "string",
463
+ "minLength": 1,
464
+ "maxLength": 256
465
+ },
466
+ "sourceRunId": {
467
+ "type": "string",
468
+ "minLength": 1,
469
+ "maxLength": 256
470
+ },
471
+ "replacementParts": {
472
+ "minItems": 1,
473
+ "type": "array",
474
+ "items": {
475
+ "$ref": "#/$defs/__schema0"
476
+ }
477
+ },
478
+ "inheritance": {
479
+ "type": "object",
480
+ "properties": {
481
+ "messages": {
482
+ "type": "string",
483
+ "enum": [
484
+ "through-source-message",
485
+ "exclude"
486
+ ]
487
+ },
488
+ "attachments": {
489
+ "type": "string",
490
+ "enum": [
491
+ "inherit",
492
+ "exclude"
493
+ ]
494
+ },
495
+ "summaries": {
496
+ "type": "string",
497
+ "enum": [
498
+ "inherit",
499
+ "exclude"
500
+ ]
501
+ },
502
+ "toolResults": {
503
+ "type": "string",
504
+ "enum": [
505
+ "inherit",
506
+ "exclude"
507
+ ]
508
+ },
509
+ "codeChanges": {
510
+ "type": "string",
511
+ "enum": [
512
+ "inherit",
513
+ "exclude"
514
+ ]
515
+ }
516
+ },
517
+ "required": [
518
+ "messages",
519
+ "attachments",
520
+ "summaries",
521
+ "toolResults",
522
+ "codeChanges"
523
+ ],
524
+ "additionalProperties": false
525
+ }
526
+ },
527
+ "required": [
528
+ "sourceThreadId",
529
+ "sourceMessageId",
530
+ "sourceRunId",
531
+ "replacementParts",
532
+ "inheritance"
533
+ ],
534
+ "additionalProperties": false
535
+ }
536
+ },
537
+ "required": [
538
+ "contract",
539
+ "commandId",
540
+ "sessionId",
541
+ "idempotencyKey",
542
+ "expectedSequence",
543
+ "issuedAt",
544
+ "commandType",
545
+ "payload"
546
+ ],
547
+ "additionalProperties": false
548
+ },
549
+ {
550
+ "type": "object",
551
+ "properties": {
552
+ "contract": {
553
+ "type": "string",
554
+ "const": "AgentSessionCommand"
555
+ },
556
+ "commandId": {
557
+ "type": "string",
558
+ "minLength": 1,
559
+ "maxLength": 256
560
+ },
561
+ "sessionId": {
562
+ "type": "string",
563
+ "minLength": 1,
564
+ "maxLength": 256
565
+ },
566
+ "runId": {
567
+ "type": "string",
568
+ "minLength": 1,
569
+ "maxLength": 256
570
+ },
571
+ "idempotencyKey": {
572
+ "type": "string",
573
+ "minLength": 1,
574
+ "maxLength": 256
575
+ },
576
+ "expectedSequence": {
577
+ "type": "integer",
578
+ "minimum": -1,
579
+ "maximum": 9007199254740991
580
+ },
581
+ "issuedAt": {
582
+ "type": "string",
583
+ "format": "date-time",
584
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
585
+ },
586
+ "commandType": {
587
+ "type": "string",
588
+ "const": "steer"
589
+ },
590
+ "payload": {
591
+ "type": "object",
592
+ "properties": {
593
+ "targetRunId": {
594
+ "type": "string",
595
+ "minLength": 1,
596
+ "maxLength": 256
597
+ },
598
+ "guidanceParts": {
599
+ "minItems": 1,
600
+ "type": "array",
601
+ "items": {
602
+ "$ref": "#/$defs/__schema0"
603
+ }
604
+ }
605
+ },
606
+ "required": [
607
+ "targetRunId",
608
+ "guidanceParts"
609
+ ],
610
+ "additionalProperties": false
611
+ }
612
+ },
613
+ "required": [
614
+ "contract",
615
+ "commandId",
616
+ "sessionId",
617
+ "idempotencyKey",
618
+ "expectedSequence",
619
+ "issuedAt",
620
+ "commandType",
621
+ "payload"
622
+ ],
623
+ "additionalProperties": false
282
624
  }
283
625
  ]
284
626
  },
@@ -297,6 +639,39 @@
297
639
  "additionalProperties": false
298
640
  }
299
641
  ],
642
+ "$defs": {
643
+ "__schema0": {
644
+ "anyOf": [
645
+ {
646
+ "type": "string"
647
+ },
648
+ {
649
+ "type": "number"
650
+ },
651
+ {
652
+ "type": "boolean"
653
+ },
654
+ {
655
+ "type": "null"
656
+ },
657
+ {
658
+ "type": "array",
659
+ "items": {
660
+ "$ref": "#/$defs/__schema0"
661
+ }
662
+ },
663
+ {
664
+ "type": "object",
665
+ "propertyNames": {
666
+ "type": "string"
667
+ },
668
+ "additionalProperties": {
669
+ "$ref": "#/$defs/__schema0"
670
+ }
671
+ }
672
+ ]
673
+ }
674
+ },
300
675
  "$id": "https://schemas.infmonkeys.com/contracts/agent-session-targeted-command.schema.json",
301
676
  "title": "agent-session-targeted-command"
302
677
  }