@mastra/server 1.35.0-alpha.3 → 1.36.0-alpha.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 +82 -0
- package/dist/{api-schema-manifest-HTSK7CWD.js → api-schema-manifest-AUYKZJAA.js} +3 -3
- package/dist/{api-schema-manifest-HTSK7CWD.js.map → api-schema-manifest-AUYKZJAA.js.map} +1 -1
- package/dist/{api-schema-manifest-WVM7QABS.cjs → api-schema-manifest-FWK7OIXL.cjs} +4 -4
- package/dist/{api-schema-manifest-WVM7QABS.cjs.map → api-schema-manifest-FWK7OIXL.cjs.map} +1 -1
- package/dist/{chunk-4UPPXNWW.js → chunk-2M7CLYTM.js} +3 -3
- package/dist/{chunk-4UPPXNWW.js.map → chunk-2M7CLYTM.js.map} +1 -1
- package/dist/{chunk-N63KDS6D.js → chunk-2OEEHCXR.js} +3 -3
- package/dist/{chunk-N63KDS6D.js.map → chunk-2OEEHCXR.js.map} +1 -1
- package/dist/{chunk-FLVMO2FZ.js → chunk-3Y7SOTAS.js} +3 -3
- package/dist/chunk-3Y7SOTAS.js.map +1 -0
- package/dist/{chunk-CUMEATMZ.cjs → chunk-5JX72ECO.cjs} +7 -7
- package/dist/{chunk-CUMEATMZ.cjs.map → chunk-5JX72ECO.cjs.map} +1 -1
- package/dist/{chunk-35DMDUVM.js → chunk-72Q6PR4Q.js} +3 -3
- package/dist/{chunk-35DMDUVM.js.map → chunk-72Q6PR4Q.js.map} +1 -1
- package/dist/{chunk-DBG7BFWZ.cjs → chunk-7GX35QLL.cjs} +4 -4
- package/dist/{chunk-DBG7BFWZ.cjs.map → chunk-7GX35QLL.cjs.map} +1 -1
- package/dist/{chunk-2GEO7VUJ.cjs → chunk-AFVKVAJZ.cjs} +3 -3
- package/dist/{chunk-2GEO7VUJ.cjs.map → chunk-AFVKVAJZ.cjs.map} +1 -1
- package/dist/{chunk-3T7LIPHA.cjs → chunk-CXI6IIFZ.cjs} +4 -4
- package/dist/{chunk-3T7LIPHA.cjs.map → chunk-CXI6IIFZ.cjs.map} +1 -1
- package/dist/{chunk-5THYUHCG.cjs → chunk-FIWR56T7.cjs} +24 -24
- package/dist/{chunk-5THYUHCG.cjs.map → chunk-FIWR56T7.cjs.map} +1 -1
- package/dist/{chunk-TXKPEOUP.js → chunk-HDBLTBJ4.js} +4 -4
- package/dist/{chunk-TXKPEOUP.js.map → chunk-HDBLTBJ4.js.map} +1 -1
- package/dist/{chunk-KDZIZ3LV.cjs → chunk-JMFAOQYF.cjs} +4 -4
- package/dist/{chunk-KDZIZ3LV.cjs.map → chunk-JMFAOQYF.cjs.map} +1 -1
- package/dist/{chunk-TTGG4FBC.js → chunk-KD46CAJV.js} +3 -3
- package/dist/{chunk-TTGG4FBC.js.map → chunk-KD46CAJV.js.map} +1 -1
- package/dist/{chunk-WUXXEGDS.js → chunk-KWJC4MNT.js} +3 -3
- package/dist/{chunk-WUXXEGDS.js.map → chunk-KWJC4MNT.js.map} +1 -1
- package/dist/{chunk-HPSSFPDP.js → chunk-KWREVMMS.js} +22 -105
- package/dist/chunk-KWREVMMS.js.map +1 -0
- package/dist/{chunk-U7A3FCF3.js → chunk-M5H6F2QB.js} +4 -4
- package/dist/{chunk-U7A3FCF3.js.map → chunk-M5H6F2QB.js.map} +1 -1
- package/dist/{chunk-YSC2EP5G.cjs → chunk-MFBQYZP2.cjs} +3 -3
- package/dist/chunk-MFBQYZP2.cjs.map +1 -0
- package/dist/{chunk-2SYGQRXY.cjs → chunk-NIX5VQJ6.cjs} +90 -90
- package/dist/{chunk-2SYGQRXY.cjs.map → chunk-NIX5VQJ6.cjs.map} +1 -1
- package/dist/{chunk-H5FPSS2N.js → chunk-NONHI6TJ.js} +12 -12
- package/dist/{chunk-H5FPSS2N.js.map → chunk-NONHI6TJ.js.map} +1 -1
- package/dist/{chunk-W3FAEXOQ.cjs → chunk-PCOJOGO5.cjs} +25 -25
- package/dist/{chunk-W3FAEXOQ.cjs.map → chunk-PCOJOGO5.cjs.map} +1 -1
- package/dist/{chunk-TMLOBNMN.js → chunk-SBGAKEDX.js} +3 -3
- package/dist/{chunk-TMLOBNMN.js.map → chunk-SBGAKEDX.js.map} +1 -1
- package/dist/{chunk-BE7IP4ZJ.js → chunk-TINX42C4.js} +4 -4
- package/dist/{chunk-BE7IP4ZJ.js.map → chunk-TINX42C4.js.map} +1 -1
- package/dist/{chunk-MFBVMCPB.cjs → chunk-ULDCHPOZ.cjs} +17 -17
- package/dist/{chunk-MFBVMCPB.cjs.map → chunk-ULDCHPOZ.cjs.map} +1 -1
- package/dist/{chunk-HOTUR6VH.js → chunk-XAHATWVE.js} +4 -4
- package/dist/{chunk-HOTUR6VH.js.map → chunk-XAHATWVE.js.map} +1 -1
- package/dist/{chunk-3SPUSGBT.cjs → chunk-XL55VCXM.cjs} +7 -7
- package/dist/{chunk-3SPUSGBT.cjs.map → chunk-XL55VCXM.cjs.map} +1 -1
- package/dist/{chunk-7BDWHV3B.cjs → chunk-Y344MAUV.cjs} +93 -93
- package/dist/{chunk-7BDWHV3B.cjs.map → chunk-Y344MAUV.cjs.map} +1 -1
- package/dist/{chunk-QZFOSTJU.cjs → chunk-ZRU7KWNW.cjs} +22 -105
- package/dist/chunk-ZRU7KWNW.cjs.map +1 -0
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/server/handlers/a2a.cjs +14 -14
- package/dist/server/handlers/a2a.js +1 -1
- package/dist/server/handlers/agent-builder.cjs +16 -16
- package/dist/server/handlers/agent-builder.js +1 -1
- package/dist/server/handlers/agents.cjs +41 -41
- package/dist/server/handlers/agents.d.ts +28 -28
- package/dist/server/handlers/agents.js +1 -1
- package/dist/server/handlers/auth.cjs +11 -11
- package/dist/server/handlers/auth.js +1 -1
- package/dist/server/handlers/conversations.cjs +5 -5
- package/dist/server/handlers/conversations.js +1 -1
- package/dist/server/handlers/observability-new-endpoints.d.ts +6 -6
- package/dist/server/handlers/processors.d.ts +6 -6
- package/dist/server/handlers/responses.cjs +4 -4
- package/dist/server/handlers/responses.js +1 -1
- package/dist/server/handlers/scores.cjs +7 -7
- package/dist/server/handlers/scores.js +1 -1
- package/dist/server/handlers/system.cjs +3 -3
- package/dist/server/handlers/system.js +1 -1
- package/dist/server/handlers/tools.cjs +6 -6
- package/dist/server/handlers/tools.js +1 -1
- package/dist/server/handlers/voice.cjs +8 -8
- package/dist/server/handlers/voice.js +1 -1
- package/dist/server/handlers/workflows.cjs +26 -26
- package/dist/server/handlers/workflows.js +1 -1
- package/dist/server/handlers.cjs +18 -18
- package/dist/server/handlers.js +9 -9
- package/dist/server/schemas/agents.d.ts +47 -1191
- package/dist/server/schemas/agents.d.ts.map +1 -1
- package/dist/server/schemas/index.cjs +48 -48
- package/dist/server/schemas/index.js +1 -1
- package/dist/server/schemas/processors.d.ts +3 -3
- package/dist/server/server-adapter/index.cjs +13 -13
- package/dist/server/server-adapter/index.js +2 -2
- package/dist/server/server-adapter/routes/observability.d.ts +3 -3
- package/dist/server/server-adapter/routes/processors.d.ts +6 -6
- package/package.json +7 -7
- package/dist/chunk-FLVMO2FZ.js.map +0 -1
- package/dist/chunk-HPSSFPDP.js.map +0 -1
- package/dist/chunk-QZFOSTJU.cjs.map +0 -1
- package/dist/chunk-YSC2EP5G.cjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../../src/server/schemas/agents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,KAAK,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,SAAS,EAAE,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../../src/server/schemas/agents.ts"],"names":[],"mappings":"AAAA,OAAO,EA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EAOI56Z_cjs = require('../../chunk-SEAOI56Z.cjs');
|
|
26
26
|
var chunkTF7NSMHW_cjs = require('../../chunk-TF7NSMHW.cjs');
|
|
27
|
-
var
|
|
27
|
+
var chunkZRU7KWNW_cjs = require('../../chunk-ZRU7KWNW.cjs');
|
|
28
28
|
var chunk73MISLDN_cjs = require('../../chunk-73MISLDN.cjs');
|
|
29
29
|
var chunkGFP7IMFR_cjs = require('../../chunk-GFP7IMFR.cjs');
|
|
30
30
|
var chunkWYLVJSGR_cjs = require('../../chunk-WYLVJSGR.cjs');
|
|
@@ -1417,191 +1417,191 @@ Object.defineProperty(exports, "workflowRunsResponseSchema", {
|
|
|
1417
1417
|
});
|
|
1418
1418
|
Object.defineProperty(exports, "agentExecutionBodySchema", {
|
|
1419
1419
|
enumerable: true,
|
|
1420
|
-
get: function () { return
|
|
1420
|
+
get: function () { return chunkZRU7KWNW_cjs.agentExecutionBodySchema; }
|
|
1421
1421
|
});
|
|
1422
1422
|
Object.defineProperty(exports, "agentExecutionLegacyBodySchema", {
|
|
1423
1423
|
enumerable: true,
|
|
1424
|
-
get: function () { return
|
|
1424
|
+
get: function () { return chunkZRU7KWNW_cjs.agentExecutionLegacyBodySchema; }
|
|
1425
1425
|
});
|
|
1426
1426
|
Object.defineProperty(exports, "agentIdPathParams", {
|
|
1427
1427
|
enumerable: true,
|
|
1428
|
-
get: function () { return
|
|
1428
|
+
get: function () { return chunkZRU7KWNW_cjs.agentIdPathParams; }
|
|
1429
1429
|
});
|
|
1430
1430
|
Object.defineProperty(exports, "agentSkillPathParams", {
|
|
1431
1431
|
enumerable: true,
|
|
1432
|
-
get: function () { return
|
|
1432
|
+
get: function () { return chunkZRU7KWNW_cjs.agentSkillPathParams; }
|
|
1433
1433
|
});
|
|
1434
1434
|
Object.defineProperty(exports, "agentToolPathParams", {
|
|
1435
1435
|
enumerable: true,
|
|
1436
|
-
get: function () { return
|
|
1436
|
+
get: function () { return chunkZRU7KWNW_cjs.agentToolPathParams; }
|
|
1437
1437
|
});
|
|
1438
1438
|
Object.defineProperty(exports, "agentVersionQuerySchema", {
|
|
1439
1439
|
enumerable: true,
|
|
1440
|
-
get: function () { return
|
|
1440
|
+
get: function () { return chunkZRU7KWNW_cjs.agentVersionQuerySchema; }
|
|
1441
1441
|
});
|
|
1442
1442
|
Object.defineProperty(exports, "approveNetworkToolCallBodySchema", {
|
|
1443
1443
|
enumerable: true,
|
|
1444
|
-
get: function () { return
|
|
1444
|
+
get: function () { return chunkZRU7KWNW_cjs.approveNetworkToolCallBodySchema; }
|
|
1445
1445
|
});
|
|
1446
1446
|
Object.defineProperty(exports, "approveToolCallBodySchema", {
|
|
1447
1447
|
enumerable: true,
|
|
1448
|
-
get: function () { return
|
|
1448
|
+
get: function () { return chunkZRU7KWNW_cjs.approveToolCallBodySchema; }
|
|
1449
1449
|
});
|
|
1450
1450
|
Object.defineProperty(exports, "declineNetworkToolCallBodySchema", {
|
|
1451
1451
|
enumerable: true,
|
|
1452
|
-
get: function () { return
|
|
1452
|
+
get: function () { return chunkZRU7KWNW_cjs.declineNetworkToolCallBodySchema; }
|
|
1453
1453
|
});
|
|
1454
1454
|
Object.defineProperty(exports, "declineToolCallBodySchema", {
|
|
1455
1455
|
enumerable: true,
|
|
1456
|
-
get: function () { return
|
|
1456
|
+
get: function () { return chunkZRU7KWNW_cjs.declineToolCallBodySchema; }
|
|
1457
1457
|
});
|
|
1458
1458
|
Object.defineProperty(exports, "enhanceInstructionsBodySchema", {
|
|
1459
1459
|
enumerable: true,
|
|
1460
|
-
get: function () { return
|
|
1460
|
+
get: function () { return chunkZRU7KWNW_cjs.enhanceInstructionsBodySchema; }
|
|
1461
1461
|
});
|
|
1462
1462
|
Object.defineProperty(exports, "enhanceInstructionsResponseSchema", {
|
|
1463
1463
|
enumerable: true,
|
|
1464
|
-
get: function () { return
|
|
1464
|
+
get: function () { return chunkZRU7KWNW_cjs.enhanceInstructionsResponseSchema; }
|
|
1465
1465
|
});
|
|
1466
1466
|
Object.defineProperty(exports, "executeToolBodySchema", {
|
|
1467
1467
|
enumerable: true,
|
|
1468
|
-
get: function () { return
|
|
1468
|
+
get: function () { return chunkZRU7KWNW_cjs.executeToolBodySchema; }
|
|
1469
1469
|
});
|
|
1470
1470
|
Object.defineProperty(exports, "executeToolContextBodySchema", {
|
|
1471
1471
|
enumerable: true,
|
|
1472
|
-
get: function () { return
|
|
1472
|
+
get: function () { return chunkZRU7KWNW_cjs.executeToolContextBodySchema; }
|
|
1473
1473
|
});
|
|
1474
1474
|
Object.defineProperty(exports, "executeToolResponseSchema", {
|
|
1475
1475
|
enumerable: true,
|
|
1476
|
-
get: function () { return
|
|
1476
|
+
get: function () { return chunkZRU7KWNW_cjs.executeToolResponseSchema; }
|
|
1477
1477
|
});
|
|
1478
1478
|
Object.defineProperty(exports, "generateResponseSchema", {
|
|
1479
1479
|
enumerable: true,
|
|
1480
|
-
get: function () { return
|
|
1480
|
+
get: function () { return chunkZRU7KWNW_cjs.generateResponseSchema; }
|
|
1481
1481
|
});
|
|
1482
1482
|
Object.defineProperty(exports, "generateSpeechBodySchema", {
|
|
1483
1483
|
enumerable: true,
|
|
1484
|
-
get: function () { return
|
|
1484
|
+
get: function () { return chunkZRU7KWNW_cjs.generateSpeechBodySchema; }
|
|
1485
1485
|
});
|
|
1486
1486
|
Object.defineProperty(exports, "getListenerResponseSchema", {
|
|
1487
1487
|
enumerable: true,
|
|
1488
|
-
get: function () { return
|
|
1488
|
+
get: function () { return chunkZRU7KWNW_cjs.getListenerResponseSchema; }
|
|
1489
1489
|
});
|
|
1490
1490
|
Object.defineProperty(exports, "listAgentsResponseSchema", {
|
|
1491
1491
|
enumerable: true,
|
|
1492
|
-
get: function () { return
|
|
1492
|
+
get: function () { return chunkZRU7KWNW_cjs.listAgentsResponseSchema; }
|
|
1493
1493
|
});
|
|
1494
1494
|
Object.defineProperty(exports, "listToolsResponseSchema", {
|
|
1495
1495
|
enumerable: true,
|
|
1496
|
-
get: function () { return
|
|
1496
|
+
get: function () { return chunkZRU7KWNW_cjs.listToolsResponseSchema; }
|
|
1497
1497
|
});
|
|
1498
1498
|
Object.defineProperty(exports, "modelConfigIdPathParams", {
|
|
1499
1499
|
enumerable: true,
|
|
1500
|
-
get: function () { return
|
|
1500
|
+
get: function () { return chunkZRU7KWNW_cjs.modelConfigIdPathParams; }
|
|
1501
1501
|
});
|
|
1502
1502
|
Object.defineProperty(exports, "modelManagementResponseSchema", {
|
|
1503
1503
|
enumerable: true,
|
|
1504
|
-
get: function () { return
|
|
1504
|
+
get: function () { return chunkZRU7KWNW_cjs.modelManagementResponseSchema; }
|
|
1505
1505
|
});
|
|
1506
1506
|
Object.defineProperty(exports, "observeAgentBodySchema", {
|
|
1507
1507
|
enumerable: true,
|
|
1508
|
-
get: function () { return
|
|
1508
|
+
get: function () { return chunkZRU7KWNW_cjs.observeAgentBodySchema; }
|
|
1509
1509
|
});
|
|
1510
1510
|
Object.defineProperty(exports, "observeAgentResponseSchema", {
|
|
1511
1511
|
enumerable: true,
|
|
1512
|
-
get: function () { return
|
|
1512
|
+
get: function () { return chunkZRU7KWNW_cjs.observeAgentResponseSchema; }
|
|
1513
1513
|
});
|
|
1514
1514
|
Object.defineProperty(exports, "providerSchema", {
|
|
1515
1515
|
enumerable: true,
|
|
1516
|
-
get: function () { return
|
|
1516
|
+
get: function () { return chunkZRU7KWNW_cjs.providerSchema; }
|
|
1517
1517
|
});
|
|
1518
1518
|
Object.defineProperty(exports, "providersResponseSchema", {
|
|
1519
1519
|
enumerable: true,
|
|
1520
|
-
get: function () { return
|
|
1520
|
+
get: function () { return chunkZRU7KWNW_cjs.providersResponseSchema; }
|
|
1521
1521
|
});
|
|
1522
1522
|
Object.defineProperty(exports, "reorderAgentModelListBodySchema", {
|
|
1523
1523
|
enumerable: true,
|
|
1524
|
-
get: function () { return
|
|
1524
|
+
get: function () { return chunkZRU7KWNW_cjs.reorderAgentModelListBodySchema; }
|
|
1525
1525
|
});
|
|
1526
1526
|
Object.defineProperty(exports, "resumeStreamBodySchema", {
|
|
1527
1527
|
enumerable: true,
|
|
1528
|
-
get: function () { return
|
|
1528
|
+
get: function () { return chunkZRU7KWNW_cjs.resumeStreamBodySchema; }
|
|
1529
1529
|
});
|
|
1530
1530
|
Object.defineProperty(exports, "resumeStreamUntilIdleBodySchema", {
|
|
1531
1531
|
enumerable: true,
|
|
1532
|
-
get: function () { return
|
|
1532
|
+
get: function () { return chunkZRU7KWNW_cjs.resumeStreamUntilIdleBodySchema; }
|
|
1533
1533
|
});
|
|
1534
1534
|
Object.defineProperty(exports, "sendAgentSignalBodySchema", {
|
|
1535
1535
|
enumerable: true,
|
|
1536
|
-
get: function () { return
|
|
1536
|
+
get: function () { return chunkZRU7KWNW_cjs.sendAgentSignalBodySchema; }
|
|
1537
1537
|
});
|
|
1538
1538
|
Object.defineProperty(exports, "serializedAgentDefinitionSchema", {
|
|
1539
1539
|
enumerable: true,
|
|
1540
|
-
get: function () { return
|
|
1540
|
+
get: function () { return chunkZRU7KWNW_cjs.serializedAgentDefinitionSchema; }
|
|
1541
1541
|
});
|
|
1542
1542
|
Object.defineProperty(exports, "serializedAgentSchema", {
|
|
1543
1543
|
enumerable: true,
|
|
1544
|
-
get: function () { return
|
|
1544
|
+
get: function () { return chunkZRU7KWNW_cjs.serializedAgentSchema; }
|
|
1545
1545
|
});
|
|
1546
1546
|
Object.defineProperty(exports, "serializedAgentWithIdSchema", {
|
|
1547
1547
|
enumerable: true,
|
|
1548
|
-
get: function () { return
|
|
1548
|
+
get: function () { return chunkZRU7KWNW_cjs.serializedAgentWithIdSchema; }
|
|
1549
1549
|
});
|
|
1550
1550
|
Object.defineProperty(exports, "serializedProcessorSchema", {
|
|
1551
1551
|
enumerable: true,
|
|
1552
|
-
get: function () { return
|
|
1552
|
+
get: function () { return chunkZRU7KWNW_cjs.serializedProcessorSchema; }
|
|
1553
1553
|
});
|
|
1554
1554
|
Object.defineProperty(exports, "serializedToolSchema", {
|
|
1555
1555
|
enumerable: true,
|
|
1556
|
-
get: function () { return
|
|
1556
|
+
get: function () { return chunkZRU7KWNW_cjs.serializedToolSchema; }
|
|
1557
1557
|
});
|
|
1558
1558
|
Object.defineProperty(exports, "serializedWorkflowSchema", {
|
|
1559
1559
|
enumerable: true,
|
|
1560
|
-
get: function () { return
|
|
1560
|
+
get: function () { return chunkZRU7KWNW_cjs.serializedWorkflowSchema; }
|
|
1561
1561
|
});
|
|
1562
1562
|
Object.defineProperty(exports, "speakResponseSchema", {
|
|
1563
1563
|
enumerable: true,
|
|
1564
|
-
get: function () { return
|
|
1564
|
+
get: function () { return chunkZRU7KWNW_cjs.speakResponseSchema; }
|
|
1565
1565
|
});
|
|
1566
1566
|
Object.defineProperty(exports, "streamResponseSchema", {
|
|
1567
1567
|
enumerable: true,
|
|
1568
|
-
get: function () { return
|
|
1568
|
+
get: function () { return chunkZRU7KWNW_cjs.streamResponseSchema; }
|
|
1569
1569
|
});
|
|
1570
1570
|
Object.defineProperty(exports, "streamUntilIdleBodySchema", {
|
|
1571
1571
|
enumerable: true,
|
|
1572
|
-
get: function () { return
|
|
1572
|
+
get: function () { return chunkZRU7KWNW_cjs.streamUntilIdleBodySchema; }
|
|
1573
1573
|
});
|
|
1574
1574
|
Object.defineProperty(exports, "subscribeAgentThreadBodySchema", {
|
|
1575
1575
|
enumerable: true,
|
|
1576
|
-
get: function () { return
|
|
1576
|
+
get: function () { return chunkZRU7KWNW_cjs.subscribeAgentThreadBodySchema; }
|
|
1577
1577
|
});
|
|
1578
1578
|
Object.defineProperty(exports, "toolCallResponseSchema", {
|
|
1579
1579
|
enumerable: true,
|
|
1580
|
-
get: function () { return
|
|
1580
|
+
get: function () { return chunkZRU7KWNW_cjs.toolCallResponseSchema; }
|
|
1581
1581
|
});
|
|
1582
1582
|
Object.defineProperty(exports, "toolIdPathParams", {
|
|
1583
1583
|
enumerable: true,
|
|
1584
|
-
get: function () { return
|
|
1584
|
+
get: function () { return chunkZRU7KWNW_cjs.toolIdPathParams; }
|
|
1585
1585
|
});
|
|
1586
1586
|
Object.defineProperty(exports, "transcribeSpeechBodySchema", {
|
|
1587
1587
|
enumerable: true,
|
|
1588
|
-
get: function () { return
|
|
1588
|
+
get: function () { return chunkZRU7KWNW_cjs.transcribeSpeechBodySchema; }
|
|
1589
1589
|
});
|
|
1590
1590
|
Object.defineProperty(exports, "transcribeSpeechResponseSchema", {
|
|
1591
1591
|
enumerable: true,
|
|
1592
|
-
get: function () { return
|
|
1592
|
+
get: function () { return chunkZRU7KWNW_cjs.transcribeSpeechResponseSchema; }
|
|
1593
1593
|
});
|
|
1594
1594
|
Object.defineProperty(exports, "updateAgentModelBodySchema", {
|
|
1595
1595
|
enumerable: true,
|
|
1596
|
-
get: function () { return
|
|
1596
|
+
get: function () { return chunkZRU7KWNW_cjs.updateAgentModelBodySchema; }
|
|
1597
1597
|
});
|
|
1598
1598
|
Object.defineProperty(exports, "updateAgentModelInModelListBodySchema", {
|
|
1599
1599
|
enumerable: true,
|
|
1600
|
-
get: function () { return
|
|
1600
|
+
get: function () { return chunkZRU7KWNW_cjs.updateAgentModelInModelListBodySchema; }
|
|
1601
1601
|
});
|
|
1602
1602
|
Object.defineProperty(exports, "voiceSpeakersResponseSchema", {
|
|
1603
1603
|
enumerable: true,
|
|
1604
|
-
get: function () { return
|
|
1604
|
+
get: function () { return chunkZRU7KWNW_cjs.voiceSpeakersResponseSchema; }
|
|
1605
1605
|
});
|
|
1606
1606
|
Object.defineProperty(exports, "agentVersionPathParams", {
|
|
1607
1607
|
enumerable: true,
|
|
@@ -22,7 +22,7 @@ export { authenticatedCapabilitiesSchema, authenticatedUserSchema, capabilitiesR
|
|
|
22
22
|
export { fileEntrySchema, fsDeleteQuerySchema, fsDeleteResponseSchema, fsListQuerySchema, fsListResponseSchema, fsMkdirBodySchema, fsMkdirResponseSchema, fsPathParams, fsReadQuerySchema, fsReadResponseSchema, fsStatQuerySchema, fsStatResponseSchema, fsWriteBodySchema, fsWriteResponseSchema, getAgentSkillResponseSchema, getSkillResponseSchema, indexBodySchema, indexResponseSchema, listReferencesResponseSchema, listSkillsResponseSchema, listWorkspacesResponseSchema, mountInfoSchema, searchQuerySchema, searchResponseSchema, searchResultSchema, searchSkillsQuerySchema, searchSkillsResponseSchema, skillDisambiguationQuerySchema, skillMetadataSchema, skillMetadataWithPathSchema, skillNamePathParams, skillReferencePathParams, skillReferenceResponseSchema, skillSchema, skillSearchResultSchema, skillSourceSchema, skillsShInstallBodySchema, skillsShInstallResponseSchema, skillsShListResponseSchema, skillsShPopularQuerySchema, skillsShPreviewQuerySchema, skillsShPreviewResponseSchema, skillsShRemoveBodySchema, skillsShRemoveResponseSchema, skillsShSearchQuerySchema, skillsShSearchResponseSchema, skillsShSkillSchema, skillsShSourceSchema, skillsShUpdateBodySchema, skillsShUpdateResponseSchema, workspaceIdPathParams, workspaceInfoResponseSchema } from '../../chunk-ZHULRNJG.js';
|
|
23
23
|
export { actionIdPathParams, actionRunPathParams, resumeAgentBuilderBodySchema, startAsyncAgentBuilderBodySchema, streamAgentBuilderBodySchema, streamLegacyAgentBuilderBodySchema } from '../../chunk-GEXJ4LPZ.js';
|
|
24
24
|
export { createWorkflowRunResponseSchema, listWorkflowRunsQuerySchema, listWorkflowsResponseSchema, sendWorkflowRunEventBodySchema, workflowControlResponseSchema, workflowExecutionResultSchema, workflowInfoSchema, workflowRunResultQuerySchema, workflowRunResultSchema, workflowRunsResponseSchema } from '../../chunk-5OOYXBPG.js';
|
|
25
|
-
export { agentExecutionBodySchema, agentExecutionLegacyBodySchema, agentIdPathParams, agentSkillPathParams, agentToolPathParams, agentVersionQuerySchema, approveNetworkToolCallBodySchema, approveToolCallBodySchema, declineNetworkToolCallBodySchema, declineToolCallBodySchema, enhanceInstructionsBodySchema, enhanceInstructionsResponseSchema, executeToolBodySchema, executeToolContextBodySchema, executeToolResponseSchema, generateResponseSchema, generateSpeechBodySchema, getListenerResponseSchema, listAgentsResponseSchema, listToolsResponseSchema, modelConfigIdPathParams, modelManagementResponseSchema, observeAgentBodySchema, observeAgentResponseSchema, providerSchema, providersResponseSchema, reorderAgentModelListBodySchema, resumeStreamBodySchema, resumeStreamUntilIdleBodySchema, sendAgentSignalBodySchema, serializedAgentDefinitionSchema, serializedAgentSchema, serializedAgentWithIdSchema, serializedProcessorSchema, serializedToolSchema, serializedWorkflowSchema, speakResponseSchema, streamResponseSchema, streamUntilIdleBodySchema, subscribeAgentThreadBodySchema, toolCallResponseSchema, toolIdPathParams, transcribeSpeechBodySchema, transcribeSpeechResponseSchema, updateAgentModelBodySchema, updateAgentModelInModelListBodySchema, voiceSpeakersResponseSchema } from '../../chunk-
|
|
25
|
+
export { agentExecutionBodySchema, agentExecutionLegacyBodySchema, agentIdPathParams, agentSkillPathParams, agentToolPathParams, agentVersionQuerySchema, approveNetworkToolCallBodySchema, approveToolCallBodySchema, declineNetworkToolCallBodySchema, declineToolCallBodySchema, enhanceInstructionsBodySchema, enhanceInstructionsResponseSchema, executeToolBodySchema, executeToolContextBodySchema, executeToolResponseSchema, generateResponseSchema, generateSpeechBodySchema, getListenerResponseSchema, listAgentsResponseSchema, listToolsResponseSchema, modelConfigIdPathParams, modelManagementResponseSchema, observeAgentBodySchema, observeAgentResponseSchema, providerSchema, providersResponseSchema, reorderAgentModelListBodySchema, resumeStreamBodySchema, resumeStreamUntilIdleBodySchema, sendAgentSignalBodySchema, serializedAgentDefinitionSchema, serializedAgentSchema, serializedAgentWithIdSchema, serializedProcessorSchema, serializedToolSchema, serializedWorkflowSchema, speakResponseSchema, streamResponseSchema, streamUntilIdleBodySchema, subscribeAgentThreadBodySchema, toolCallResponseSchema, toolIdPathParams, transcribeSpeechBodySchema, transcribeSpeechResponseSchema, updateAgentModelBodySchema, updateAgentModelInModelListBodySchema, voiceSpeakersResponseSchema } from '../../chunk-KWREVMMS.js';
|
|
26
26
|
export { agentVersionPathParams, agentVersionSchema, compareVersionsResponseSchema, createVersionResponseSchema, getVersionResponseSchema, listVersionsResponseSchema, restoreVersionResponseSchema, versionIdPathParams } from '../../chunk-7LBBDT4S.js';
|
|
27
27
|
export { activateVersionResponseSchema, compareVersionsQuerySchema, createCompareVersionsResponseSchema, createListVersionsResponseSchema, createVersionBodySchema, deleteVersionResponseSchema, listVersionsQuerySchema, versionDiffEntrySchema, versionOrderBySchema } from '../../chunk-3OQMTFIV.js';
|
|
28
28
|
export { conditionalFieldSchema, createStoredAgentBodySchema, createStoredAgentResponseSchema, deleteStoredAgentResponseSchema, getStoredAgentResponseSchema, instructionsSchema, listStoredAgentsQuerySchema, listStoredAgentsResponseSchema, modelConfigSchema, previewInstructionsBodySchema, previewInstructionsResponseSchema, processorGraphEntrySchema, processorGraphStepSchema, processorPhaseSchema, scorerConfigSchema, semanticRecallSchema, serializedMemoryConfigSchema, serializedObservationConfigSchema, serializedObservationalMemoryConfigObjectSchema, serializedObservationalMemoryConfigSchema, serializedReflectionConfigSchema, snapshotConfigSchema, storedAgentIdPathParams, storedAgentSchema, storedProcessorGraphSchema, titleGenerationSchema, toolConfigSchema, toolsConfigSchema, updateStoredAgentBodySchema, updateStoredAgentResponseSchema } from '../../chunk-AIRSK4QU.js';
|
|
@@ -101,9 +101,9 @@ export declare const executeProcessorBodySchema: z.ZodObject<{
|
|
|
101
101
|
role: z.ZodEnum<{
|
|
102
102
|
tool: "tool";
|
|
103
103
|
system: "system";
|
|
104
|
+
signal: "signal";
|
|
104
105
|
user: "user";
|
|
105
106
|
assistant: "assistant";
|
|
106
|
-
signal: "signal";
|
|
107
107
|
}>;
|
|
108
108
|
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
109
109
|
content: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -126,9 +126,9 @@ export declare const executeProcessorResponseSchema: z.ZodObject<{
|
|
|
126
126
|
role: z.ZodEnum<{
|
|
127
127
|
tool: "tool";
|
|
128
128
|
system: "system";
|
|
129
|
+
signal: "signal";
|
|
129
130
|
user: "user";
|
|
130
131
|
assistant: "assistant";
|
|
131
|
-
signal: "signal";
|
|
132
132
|
}>;
|
|
133
133
|
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
134
134
|
content: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -143,9 +143,9 @@ export declare const executeProcessorResponseSchema: z.ZodObject<{
|
|
|
143
143
|
role: z.ZodEnum<{
|
|
144
144
|
tool: "tool";
|
|
145
145
|
system: "system";
|
|
146
|
+
signal: "signal";
|
|
146
147
|
user: "user";
|
|
147
148
|
assistant: "assistant";
|
|
148
|
-
signal: "signal";
|
|
149
149
|
}>;
|
|
150
150
|
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
151
151
|
content: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkY344MAUV_cjs = require('../../chunk-Y344MAUV.cjs');
|
|
4
4
|
var chunkY5LNMKEY_cjs = require('../../chunk-Y5LNMKEY.cjs');
|
|
5
5
|
var chunkLTYRUL3Q_cjs = require('../../chunk-LTYRUL3Q.cjs');
|
|
6
6
|
var chunk5XW4MKE6_cjs = require('../../chunk-5XW4MKE6.cjs');
|
|
@@ -122,7 +122,7 @@ function getFGARouteInfo(route) {
|
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
124
|
function getRoutePermissions(route) {
|
|
125
|
-
return [
|
|
125
|
+
return [chunkY344MAUV_cjs.getEffectivePermission(route), route.fga?.permission].filter(
|
|
126
126
|
(permission) => Boolean(permission)
|
|
127
127
|
);
|
|
128
128
|
}
|
|
@@ -133,7 +133,7 @@ function getBuiltInRouteFGAConfig(route) {
|
|
|
133
133
|
if (!isProtectedFGARoute(route) || !route.path || !route.method) {
|
|
134
134
|
return null;
|
|
135
135
|
}
|
|
136
|
-
const permission =
|
|
136
|
+
const permission = chunkY344MAUV_cjs.getEffectivePermission(route);
|
|
137
137
|
if (!permission) {
|
|
138
138
|
return null;
|
|
139
139
|
}
|
|
@@ -453,7 +453,7 @@ var MastraServer = class _MastraServer extends server.MastraServerBase {
|
|
|
453
453
|
if (!rbacProvider) {
|
|
454
454
|
return null;
|
|
455
455
|
}
|
|
456
|
-
const requiredPermission =
|
|
456
|
+
const requiredPermission = chunkY344MAUV_cjs.getEffectivePermission(route);
|
|
457
457
|
if (!requiredPermission) {
|
|
458
458
|
return null;
|
|
459
459
|
}
|
|
@@ -517,7 +517,7 @@ Ensure @mastra/core is updated to a version that includes EE support.`
|
|
|
517
517
|
const customRoutes = (this.customApiRoutes ?? serverConfig?.apiRoutes ?? []).filter(
|
|
518
518
|
(route) => !route._mastraInternal
|
|
519
519
|
);
|
|
520
|
-
const routes = [...
|
|
520
|
+
const routes = [...chunkY344MAUV_cjs.SERVER_ROUTES, ...customRoutes];
|
|
521
521
|
if (fgaProvider.validatePermissions) {
|
|
522
522
|
const permissions = [...new Set(routes.flatMap((route) => getRoutePermissions(route)))];
|
|
523
523
|
await fgaProvider.validatePermissions(permissions);
|
|
@@ -672,7 +672,7 @@ Ensure @mastra/core is updated to a version that includes EE support.`
|
|
|
672
672
|
* Builds the OpenAPI spec object with servers field and custom route paths.
|
|
673
673
|
*/
|
|
674
674
|
buildOpenAPISpec(config, prefix) {
|
|
675
|
-
const openApiSpec = chunkAZORAK4H_cjs.generateOpenAPIDocument(
|
|
675
|
+
const openApiSpec = chunkAZORAK4H_cjs.generateOpenAPIDocument(chunkY344MAUV_cjs.SERVER_ROUTES, config);
|
|
676
676
|
if (prefix) {
|
|
677
677
|
openApiSpec.servers = [{ url: prefix }];
|
|
678
678
|
}
|
|
@@ -707,7 +707,7 @@ Ensure @mastra/core is updated to a version that includes EE support.`
|
|
|
707
707
|
await this.registerRoute(app, openApiRoute, { prefix });
|
|
708
708
|
}
|
|
709
709
|
async registerRoutes() {
|
|
710
|
-
for (const route of
|
|
710
|
+
for (const route of chunkY344MAUV_cjs.SERVER_ROUTES) {
|
|
711
711
|
await this.registerRoute(this.app, route, { prefix: this.prefix });
|
|
712
712
|
}
|
|
713
713
|
if (this.openapiPath) {
|
|
@@ -796,7 +796,7 @@ async function checkRouteFGA(mastra, route, requestContext, params) {
|
|
|
796
796
|
message: "FGA authorization denied: route FGA metadata is incomplete"
|
|
797
797
|
};
|
|
798
798
|
}
|
|
799
|
-
const permission = fgaConfig.permission || (route.path ?
|
|
799
|
+
const permission = fgaConfig.permission || (route.path ? chunkY344MAUV_cjs.getEffectivePermission(route) : null) || `${getFGAResourcePermissionSlug(fgaConfig.resourceType)}:${deriveFGAAction(route.method)}`;
|
|
800
800
|
const authorized = await fgaProvider.check(user, {
|
|
801
801
|
resource: { type: fgaConfig.resourceType, id: resourceId },
|
|
802
802
|
permission,
|
|
@@ -837,23 +837,23 @@ function getFGAResourcePermissionSlug(resourceType) {
|
|
|
837
837
|
|
|
838
838
|
Object.defineProperty(exports, "SERVER_ROUTES", {
|
|
839
839
|
enumerable: true,
|
|
840
|
-
get: function () { return
|
|
840
|
+
get: function () { return chunkY344MAUV_cjs.SERVER_ROUTES; }
|
|
841
841
|
});
|
|
842
842
|
Object.defineProperty(exports, "deriveAction", {
|
|
843
843
|
enumerable: true,
|
|
844
|
-
get: function () { return
|
|
844
|
+
get: function () { return chunkY344MAUV_cjs.deriveAction; }
|
|
845
845
|
});
|
|
846
846
|
Object.defineProperty(exports, "derivePermission", {
|
|
847
847
|
enumerable: true,
|
|
848
|
-
get: function () { return
|
|
848
|
+
get: function () { return chunkY344MAUV_cjs.derivePermission; }
|
|
849
849
|
});
|
|
850
850
|
Object.defineProperty(exports, "extractResource", {
|
|
851
851
|
enumerable: true,
|
|
852
|
-
get: function () { return
|
|
852
|
+
get: function () { return chunkY344MAUV_cjs.extractResource; }
|
|
853
853
|
});
|
|
854
854
|
Object.defineProperty(exports, "getEffectivePermission", {
|
|
855
855
|
enumerable: true,
|
|
856
|
-
get: function () { return
|
|
856
|
+
get: function () { return chunkY344MAUV_cjs.getEffectivePermission; }
|
|
857
857
|
});
|
|
858
858
|
Object.defineProperty(exports, "WorkflowRegistry", {
|
|
859
859
|
enumerable: true,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getEffectivePermission, SERVER_ROUTES } from '../../chunk-
|
|
2
|
-
export { SERVER_ROUTES, deriveAction, derivePermission, extractResource, getEffectivePermission } from '../../chunk-
|
|
1
|
+
import { getEffectivePermission, SERVER_ROUTES } from '../../chunk-NONHI6TJ.js';
|
|
2
|
+
export { SERVER_ROUTES, deriveAction, derivePermission, extractResource, getEffectivePermission } from '../../chunk-NONHI6TJ.js';
|
|
3
3
|
import { coreAuthMiddleware } from '../../chunk-M7DF3D2M.js';
|
|
4
4
|
import { normalizeRoutePath } from '../../chunk-YHRGDSTK.js';
|
|
5
5
|
export { WorkflowRegistry, normalizeRoutePath } from '../../chunk-YHRGDSTK.js';
|
|
@@ -1826,7 +1826,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute<Rec
|
|
|
1826
1826
|
}, import("zod/v4/core").$strip>>, string, `/${string}`>, import(".").ServerRoute<{
|
|
1827
1827
|
name: string[];
|
|
1828
1828
|
aggregation: "count" | "max" | "min" | "sum" | "avg" | "count_distinct" | "last";
|
|
1829
|
-
distinctColumn?: "name" | "resourceId" | "
|
|
1829
|
+
distinctColumn?: "name" | "resourceId" | "model" | "provider" | "threadId" | "entityType" | "entityName" | "parentEntityType" | "parentEntityName" | "rootEntityType" | "rootEntityName" | "environment" | "serviceName" | "executionSource" | undefined;
|
|
1830
1830
|
filters?: {
|
|
1831
1831
|
name?: string[] | undefined;
|
|
1832
1832
|
source?: string | undefined;
|
|
@@ -1954,7 +1954,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute<Rec
|
|
|
1954
1954
|
name: string[];
|
|
1955
1955
|
groupBy: string[];
|
|
1956
1956
|
aggregation: "count" | "max" | "min" | "sum" | "avg" | "count_distinct" | "last";
|
|
1957
|
-
distinctColumn?: "name" | "resourceId" | "
|
|
1957
|
+
distinctColumn?: "name" | "resourceId" | "model" | "provider" | "threadId" | "entityType" | "entityName" | "parentEntityType" | "parentEntityName" | "rootEntityType" | "rootEntityName" | "environment" | "serviceName" | "executionSource" | undefined;
|
|
1958
1958
|
filters?: {
|
|
1959
1959
|
name?: string[] | undefined;
|
|
1960
1960
|
source?: string | undefined;
|
|
@@ -2082,7 +2082,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute<Rec
|
|
|
2082
2082
|
name: string[];
|
|
2083
2083
|
interval: "5m" | "1h" | "1m" | "15m" | "1d";
|
|
2084
2084
|
aggregation: "count" | "max" | "min" | "sum" | "avg" | "count_distinct" | "last";
|
|
2085
|
-
distinctColumn?: "name" | "resourceId" | "
|
|
2085
|
+
distinctColumn?: "name" | "resourceId" | "model" | "provider" | "threadId" | "entityType" | "entityName" | "parentEntityType" | "parentEntityName" | "rootEntityType" | "rootEntityName" | "environment" | "serviceName" | "executionSource" | undefined;
|
|
2086
2086
|
filters?: {
|
|
2087
2087
|
name?: string[] | undefined;
|
|
2088
2088
|
source?: string | undefined;
|
|
@@ -79,9 +79,9 @@ export declare const PROCESSORS_ROUTES: readonly [import(".").ServerRoute<{}, Re
|
|
|
79
79
|
role: import("zod").ZodEnum<{
|
|
80
80
|
tool: "tool";
|
|
81
81
|
system: "system";
|
|
82
|
+
signal: "signal";
|
|
82
83
|
user: "user";
|
|
83
84
|
assistant: "assistant";
|
|
84
|
-
signal: "signal";
|
|
85
85
|
}>;
|
|
86
86
|
createdAt: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
87
87
|
content: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
@@ -98,7 +98,7 @@ export declare const PROCESSORS_ROUTES: readonly [import(".").ServerRoute<{}, Re
|
|
|
98
98
|
messages?: {
|
|
99
99
|
[x: string]: unknown;
|
|
100
100
|
id: string;
|
|
101
|
-
role: "tool" | "system" | "
|
|
101
|
+
role: "tool" | "system" | "signal" | "user" | "assistant";
|
|
102
102
|
content: string | {
|
|
103
103
|
[x: string]: unknown;
|
|
104
104
|
format?: 2 | undefined;
|
|
@@ -111,7 +111,7 @@ export declare const PROCESSORS_ROUTES: readonly [import(".").ServerRoute<{}, Re
|
|
|
111
111
|
messages: {
|
|
112
112
|
[x: string]: unknown;
|
|
113
113
|
id: string;
|
|
114
|
-
role: "tool" | "system" | "
|
|
114
|
+
role: "tool" | "system" | "signal" | "user" | "assistant";
|
|
115
115
|
content: string | {
|
|
116
116
|
[x: string]: unknown;
|
|
117
117
|
format?: 2 | undefined;
|
|
@@ -142,9 +142,9 @@ export declare const PROCESSORS_ROUTES: readonly [import(".").ServerRoute<{}, Re
|
|
|
142
142
|
role: import("zod").ZodEnum<{
|
|
143
143
|
tool: "tool";
|
|
144
144
|
system: "system";
|
|
145
|
+
signal: "signal";
|
|
145
146
|
user: "user";
|
|
146
147
|
assistant: "assistant";
|
|
147
|
-
signal: "signal";
|
|
148
148
|
}>;
|
|
149
149
|
createdAt: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
150
150
|
content: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
@@ -163,9 +163,9 @@ export declare const PROCESSORS_ROUTES: readonly [import(".").ServerRoute<{}, Re
|
|
|
163
163
|
role: import("zod").ZodEnum<{
|
|
164
164
|
tool: "tool";
|
|
165
165
|
system: "system";
|
|
166
|
+
signal: "signal";
|
|
166
167
|
user: "user";
|
|
167
168
|
assistant: "assistant";
|
|
168
|
-
signal: "signal";
|
|
169
169
|
}>;
|
|
170
170
|
createdAt: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
171
171
|
content: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
@@ -180,9 +180,9 @@ export declare const PROCESSORS_ROUTES: readonly [import(".").ServerRoute<{}, Re
|
|
|
180
180
|
role: import("zod").ZodEnum<{
|
|
181
181
|
tool: "tool";
|
|
182
182
|
system: "system";
|
|
183
|
+
signal: "signal";
|
|
183
184
|
user: "user";
|
|
184
185
|
assistant: "assistant";
|
|
185
|
-
signal: "signal";
|
|
186
186
|
}>;
|
|
187
187
|
createdAt: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
188
188
|
content: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/server",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.36.0-alpha.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -115,12 +115,12 @@
|
|
|
115
115
|
"zod": "^4.3.6",
|
|
116
116
|
"zod-to-ts": "^2.0.0",
|
|
117
117
|
"@internal/core": "0.0.0",
|
|
118
|
-
"@internal/
|
|
119
|
-
"@internal/
|
|
120
|
-
"@internal/
|
|
121
|
-
"@internal/
|
|
122
|
-
"@mastra/agent-builder": "1.0.36
|
|
123
|
-
"@mastra/core": "1.
|
|
118
|
+
"@internal/storage-test-utils": "0.0.92",
|
|
119
|
+
"@internal/types-builder": "0.0.71",
|
|
120
|
+
"@internal/test-utils": "0.0.32",
|
|
121
|
+
"@internal/lint": "0.0.96",
|
|
122
|
+
"@mastra/agent-builder": "1.0.36",
|
|
123
|
+
"@mastra/core": "1.36.0-alpha.0",
|
|
124
124
|
"@mastra/schema-compat": "1.2.10"
|
|
125
125
|
},
|
|
126
126
|
"homepage": "https://mastra.ai",
|