@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/CHANGELOG.md +7 -0
- package/dist/a2a-server.cjs.map +1 -1
- package/dist/a2a-server.d.cts +1 -1
- package/dist/a2a-server.d.ts +1 -1
- package/dist/a2a-server.js +1 -1
- package/dist/{chunk-JRENMLOL.js → chunk-PRUOUTDL.js} +4 -2
- package/dist/chunk-PRUOUTDL.js.map +1 -0
- package/dist/{client-CLT46vp5.d.cts → client-IcPVJ_lf.d.cts} +15 -0
- package/dist/{client-CLT46vp5.d.ts → client-IcPVJ_lf.d.ts} +15 -0
- package/dist/{computer-use-CEiw-nJw.d.cts → computer-use-C037Wspg.d.cts} +1 -1
- package/dist/{computer-use-CRcsRq8T.d.ts → computer-use-vEaAPHfv.d.ts} +1 -1
- package/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/playwright.d.cts +2 -2
- package/dist/playwright.d.ts +2 -2
- package/docs/agent-runs-protocol.md +17 -8
- package/package.json +1 -1
- package/dist/chunk-JRENMLOL.js.map +0 -1
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.
|
|
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,
|