@ai-matrx/agents 0.43.9 → 0.43.11

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.
Files changed (37) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/content-transfer/index.cjs.map +1 -1
  3. package/dist/content-transfer/index.js.map +1 -1
  4. package/dist/content-transfer/react/index.cjs.map +1 -1
  5. package/dist/content-transfer/react/index.js.map +1 -1
  6. package/dist/context/react/index.cjs +41 -23
  7. package/dist/context/react/index.cjs.map +1 -1
  8. package/dist/context/react/index.d.cts +4 -3
  9. package/dist/context/react/index.d.ts +4 -3
  10. package/dist/context/react/index.js +42 -24
  11. package/dist/context/react/index.js.map +1 -1
  12. package/dist/generated/api-types.cjs.map +1 -1
  13. package/dist/generated/api-types.d.cts +117 -7
  14. package/dist/generated/api-types.d.ts +117 -7
  15. package/dist/generated/stream-events.cjs +296 -0
  16. package/dist/generated/stream-events.cjs.map +1 -1
  17. package/dist/generated/stream-events.d.cts +34 -2
  18. package/dist/generated/stream-events.d.ts +34 -2
  19. package/dist/generated/stream-events.js +296 -0
  20. package/dist/generated/stream-events.js.map +1 -1
  21. package/dist/index.d.cts +1 -1
  22. package/dist/index.d.ts +1 -1
  23. package/dist/{keys.generated-Dfy6RITs.d.cts → keys.generated-5CeTgBps.d.cts} +4 -4
  24. package/dist/{keys.generated-Dfy6RITs.d.ts → keys.generated-5CeTgBps.d.ts} +4 -4
  25. package/dist/mandates/index.cjs +2 -2
  26. package/dist/mandates/index.cjs.map +1 -1
  27. package/dist/mandates/index.d.cts +2 -2
  28. package/dist/mandates/index.d.ts +2 -2
  29. package/dist/mandates/index.js +2 -2
  30. package/dist/mandates/index.js.map +1 -1
  31. package/dist/matrx/index.d.cts +1 -1
  32. package/dist/matrx/index.d.ts +1 -1
  33. package/generated/api-types.ts +117 -7
  34. package/generated/stream-events.ts +333 -0
  35. package/mandates/snapshots/keys.0.43.10.json +653 -0
  36. package/mandates/snapshots/keys.0.43.11.json +653 -0
  37. package/package.json +1 -1
@@ -2348,6 +2348,299 @@ var MESSAGE_PART_SCHEMA = {
2348
2348
  "title": "ProjectInputPart",
2349
2349
  "type": "object"
2350
2350
  },
2351
+ "RemarkAnswer": {
2352
+ "additionalProperties": false,
2353
+ "description": "One answered question. ``name``/``type`` reuse the decision_questions\nquestion vocabulary (snake_case output name; noul/choice/score) so a\nquestionnaire built from decision questions maps 1:1; ``text`` covers the\nfree-text questions a decision batch does not have.",
2354
+ "properties": {
2355
+ "question": {
2356
+ "minLength": 1,
2357
+ "title": "Question",
2358
+ "type": "string"
2359
+ },
2360
+ "answer": {
2361
+ "anyOf": [
2362
+ {
2363
+ "type": "string"
2364
+ },
2365
+ {
2366
+ "type": "boolean"
2367
+ },
2368
+ {
2369
+ "type": "number"
2370
+ },
2371
+ {
2372
+ "items": {
2373
+ "type": "string"
2374
+ },
2375
+ "type": "array"
2376
+ }
2377
+ ],
2378
+ "title": "Answer"
2379
+ },
2380
+ "name": {
2381
+ "anyOf": [
2382
+ {
2383
+ "type": "string"
2384
+ },
2385
+ {
2386
+ "type": "null"
2387
+ }
2388
+ ],
2389
+ "default": null,
2390
+ "title": "Name"
2391
+ },
2392
+ "type": {
2393
+ "anyOf": [
2394
+ {
2395
+ "enum": [
2396
+ "noul",
2397
+ "choice",
2398
+ "score",
2399
+ "text"
2400
+ ],
2401
+ "type": "string"
2402
+ },
2403
+ {
2404
+ "type": "null"
2405
+ }
2406
+ ],
2407
+ "default": null,
2408
+ "title": "Type"
2409
+ }
2410
+ },
2411
+ "required": [
2412
+ "question",
2413
+ "answer"
2414
+ ],
2415
+ "title": "RemarkAnswer",
2416
+ "type": "object"
2417
+ },
2418
+ "RemarkItem": {
2419
+ "additionalProperties": false,
2420
+ "description": "One staged remark. Structured on the wire and in storage; only the\nmodel-facing projection (``render_remark``) is text.",
2421
+ "properties": {
2422
+ "kind": {
2423
+ "enum": [
2424
+ "comment",
2425
+ "choice",
2426
+ "edit",
2427
+ "answers",
2428
+ "interaction"
2429
+ ],
2430
+ "title": "Kind",
2431
+ "type": "string"
2432
+ },
2433
+ "target": {
2434
+ "anyOf": [
2435
+ {
2436
+ "$ref": "#/$defs/RemarkTarget"
2437
+ },
2438
+ {
2439
+ "type": "null"
2440
+ }
2441
+ ],
2442
+ "default": null
2443
+ },
2444
+ "quote": {
2445
+ "anyOf": [
2446
+ {
2447
+ "type": "string"
2448
+ },
2449
+ {
2450
+ "type": "null"
2451
+ }
2452
+ ],
2453
+ "default": null,
2454
+ "title": "Quote"
2455
+ },
2456
+ "body": {
2457
+ "anyOf": [
2458
+ {
2459
+ "type": "string"
2460
+ },
2461
+ {
2462
+ "type": "null"
2463
+ }
2464
+ ],
2465
+ "default": null,
2466
+ "title": "Body"
2467
+ },
2468
+ "diff": {
2469
+ "anyOf": [
2470
+ {
2471
+ "type": "string"
2472
+ },
2473
+ {
2474
+ "type": "null"
2475
+ }
2476
+ ],
2477
+ "default": null,
2478
+ "title": "Diff"
2479
+ },
2480
+ "answers": {
2481
+ "anyOf": [
2482
+ {
2483
+ "items": {
2484
+ "$ref": "#/$defs/RemarkAnswer"
2485
+ },
2486
+ "type": "array"
2487
+ },
2488
+ {
2489
+ "type": "null"
2490
+ }
2491
+ ],
2492
+ "default": null,
2493
+ "title": "Answers"
2494
+ },
2495
+ "title": {
2496
+ "anyOf": [
2497
+ {
2498
+ "type": "string"
2499
+ },
2500
+ {
2501
+ "type": "null"
2502
+ }
2503
+ ],
2504
+ "default": null,
2505
+ "title": "Title"
2506
+ },
2507
+ "comment_id": {
2508
+ "anyOf": [
2509
+ {
2510
+ "type": "string"
2511
+ },
2512
+ {
2513
+ "type": "null"
2514
+ }
2515
+ ],
2516
+ "default": null,
2517
+ "title": "Comment Id"
2518
+ },
2519
+ "metadata": {
2520
+ "additionalProperties": true,
2521
+ "title": "Metadata",
2522
+ "type": "object"
2523
+ }
2524
+ },
2525
+ "required": [
2526
+ "kind"
2527
+ ],
2528
+ "title": "RemarkItem",
2529
+ "type": "object"
2530
+ },
2531
+ "RemarkTarget": {
2532
+ "additionalProperties": false,
2533
+ "description": "What the remark is about. A chat reply (``message_id``) or any other\nplatform record (``record_token`` + ``record_id`` + ``record_title``).",
2534
+ "properties": {
2535
+ "message_id": {
2536
+ "anyOf": [
2537
+ {
2538
+ "type": "string"
2539
+ },
2540
+ {
2541
+ "type": "null"
2542
+ }
2543
+ ],
2544
+ "default": null,
2545
+ "title": "Message Id"
2546
+ },
2547
+ "record_token": {
2548
+ "anyOf": [
2549
+ {
2550
+ "type": "string"
2551
+ },
2552
+ {
2553
+ "type": "null"
2554
+ }
2555
+ ],
2556
+ "default": null,
2557
+ "title": "Record Token"
2558
+ },
2559
+ "record_id": {
2560
+ "anyOf": [
2561
+ {
2562
+ "type": "string"
2563
+ },
2564
+ {
2565
+ "type": "null"
2566
+ }
2567
+ ],
2568
+ "default": null,
2569
+ "title": "Record Id"
2570
+ },
2571
+ "record_title": {
2572
+ "anyOf": [
2573
+ {
2574
+ "type": "string"
2575
+ },
2576
+ {
2577
+ "type": "null"
2578
+ }
2579
+ ],
2580
+ "default": null,
2581
+ "title": "Record Title"
2582
+ }
2583
+ },
2584
+ "title": "RemarkTarget",
2585
+ "type": "object"
2586
+ },
2587
+ "RemarksInputPart": {
2588
+ "additionalProperties": false,
2589
+ "properties": {
2590
+ "metadata": {
2591
+ "additionalProperties": true,
2592
+ "title": "Metadata",
2593
+ "type": "object"
2594
+ },
2595
+ "type": {
2596
+ "const": "input_remarks",
2597
+ "default": "input_remarks",
2598
+ "title": "Type",
2599
+ "type": "string"
2600
+ },
2601
+ "items": {
2602
+ "items": {
2603
+ "$ref": "#/$defs/RemarkItem"
2604
+ },
2605
+ "minItems": 1,
2606
+ "title": "Items",
2607
+ "type": "array"
2608
+ },
2609
+ "convert_to_text": {
2610
+ "default": true,
2611
+ "title": "Convert To Text",
2612
+ "type": "boolean"
2613
+ },
2614
+ "optional_context": {
2615
+ "default": false,
2616
+ "title": "Optional Context",
2617
+ "type": "boolean"
2618
+ },
2619
+ "keep_fresh": {
2620
+ "default": false,
2621
+ "title": "Keep Fresh",
2622
+ "type": "boolean"
2623
+ },
2624
+ "editable": {
2625
+ "anyOf": [
2626
+ {
2627
+ "type": "boolean"
2628
+ },
2629
+ {
2630
+ "type": "null"
2631
+ }
2632
+ ],
2633
+ "default": null,
2634
+ "title": "Editable"
2635
+ }
2636
+ },
2637
+ "required": [
2638
+ "items",
2639
+ "type"
2640
+ ],
2641
+ "title": "RemarksInputPart",
2642
+ "type": "object"
2643
+ },
2351
2644
  "ResourceRefInput": {
2352
2645
  "anyOf": [
2353
2646
  {
@@ -3830,6 +4123,9 @@ var MESSAGE_PART_SCHEMA = {
3830
4123
  {
3831
4124
  "$ref": "#/$defs/ContextInputPart"
3832
4125
  },
4126
+ {
4127
+ "$ref": "#/$defs/RemarksInputPart"
4128
+ },
3833
4129
  {
3834
4130
  "$ref": "#/$defs/DecisionQuestionsPart"
3835
4131
  },