@mantyx/sdk 0.18.0 → 0.19.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/dist/index.cjs CHANGED
@@ -175,6 +175,7 @@ function defineLocalTool(opts) {
175
175
  outputSchema: opts.outputSchema,
176
176
  longRunning: opts.longRunning ?? false,
177
177
  readOnly: opts.readOnly ?? false,
178
+ retain: opts.retain ?? false,
178
179
  execute: opts.execute
179
180
  };
180
181
  }
@@ -1408,7 +1409,8 @@ function serializeToolRefs(tools) {
1408
1409
  parameters: toToolParametersWire(t.parameters),
1409
1410
  ...t.outputSchema !== void 0 ? { outputSchema: toToolParametersWire(t.outputSchema) } : {},
1410
1411
  ...t.longRunning ? { longRunning: true } : {},
1411
- ...t.readOnly ? { readOnly: true } : {}
1412
+ ...t.readOnly ? { readOnly: true } : {},
1413
+ ...t.retain ? { retain: true } : {}
1412
1414
  };
1413
1415
  case "a2a":
1414
1416
  return {
@@ -2399,7 +2401,7 @@ async function runComputerUse(opts) {
2399
2401
  }
2400
2402
 
2401
2403
  // src/version.ts
2402
- var SDK_VERSION = "0.18.0";
2404
+ var SDK_VERSION = "0.19.0";
2403
2405
  // Annotate the CommonJS export names for ESM import in node:
2404
2406
  0 && (module.exports = {
2405
2407
  AgentSession,