@mastra/deployer 0.2.9-alpha.4 → 0.2.9-alpha.5

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.
@@ -1374,12 +1374,14 @@ function executeToolHandler(tools$1) {
1374
1374
  return async (c2) => {
1375
1375
  try {
1376
1376
  const mastra = c2.get("mastra");
1377
+ const container = c2.get("container");
1377
1378
  const toolId = decodeURIComponent(c2.req.param("toolId"));
1378
1379
  const { data } = await c2.req.json();
1379
1380
  const result = await tools.executeToolHandler(tools$1)({
1380
1381
  mastra,
1381
1382
  toolId,
1382
- data
1383
+ data,
1384
+ container
1383
1385
  });
1384
1386
  return c2.json(result);
1385
1387
  } catch (error) {
@@ -1390,6 +1392,7 @@ function executeToolHandler(tools$1) {
1390
1392
  async function executeAgentToolHandler(c2) {
1391
1393
  try {
1392
1394
  const mastra = c2.get("mastra");
1395
+ const container = c2.get("container");
1393
1396
  const agentId = c2.req.param("agentId");
1394
1397
  const toolId = c2.req.param("toolId");
1395
1398
  const { data } = await c2.req.json();
@@ -1397,7 +1400,8 @@ async function executeAgentToolHandler(c2) {
1397
1400
  mastra,
1398
1401
  agentId,
1399
1402
  toolId,
1400
- data
1403
+ data,
1404
+ container
1401
1405
  });
1402
1406
  return c2.json(result);
1403
1407
  } catch (error) {
@@ -1368,12 +1368,14 @@ function executeToolHandler(tools) {
1368
1368
  return async (c2) => {
1369
1369
  try {
1370
1370
  const mastra = c2.get("mastra");
1371
+ const container = c2.get("container");
1371
1372
  const toolId = decodeURIComponent(c2.req.param("toolId"));
1372
1373
  const { data } = await c2.req.json();
1373
1374
  const result = await executeToolHandler$1(tools)({
1374
1375
  mastra,
1375
1376
  toolId,
1376
- data
1377
+ data,
1378
+ container
1377
1379
  });
1378
1380
  return c2.json(result);
1379
1381
  } catch (error) {
@@ -1384,6 +1386,7 @@ function executeToolHandler(tools) {
1384
1386
  async function executeAgentToolHandler(c2) {
1385
1387
  try {
1386
1388
  const mastra = c2.get("mastra");
1389
+ const container = c2.get("container");
1387
1390
  const agentId = c2.req.param("agentId");
1388
1391
  const toolId = c2.req.param("toolId");
1389
1392
  const { data } = await c2.req.json();
@@ -1391,7 +1394,8 @@ async function executeAgentToolHandler(c2) {
1391
1394
  mastra,
1392
1395
  agentId,
1393
1396
  toolId,
1394
- data
1397
+ data,
1398
+ container
1395
1399
  });
1396
1400
  return c2.json(result);
1397
1401
  } catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/deployer",
3
- "version": "0.2.9-alpha.4",
3
+ "version": "0.2.9-alpha.5",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [
@@ -105,8 +105,8 @@
105
105
  "rollup-plugin-node-externals": "^8.0.0",
106
106
  "typescript-paths": "^1.5.1",
107
107
  "zod": "^3.24.2",
108
- "@mastra/core": "^0.8.3-alpha.4",
109
- "@mastra/server": "^1.0.3-alpha.4"
108
+ "@mastra/server": "^1.0.3-alpha.5",
109
+ "@mastra/core": "^0.8.3-alpha.4"
110
110
  },
111
111
  "devDependencies": {
112
112
  "@hono/node-server": "^1.13.8",