@temporalio/ai-sdk 1.15.0 → 1.16.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/lib/mcp.js +1 -1
- package/lib/mcp.js.map +1 -1
- package/package.json +4 -4
- package/src/mcp.ts +1 -1
package/lib/mcp.js
CHANGED
|
@@ -54,7 +54,7 @@ class TemporalMCPClient {
|
|
|
54
54
|
const activities = workflow.proxyActivities({
|
|
55
55
|
summary: toolName,
|
|
56
56
|
startToCloseTimeout: '10 minutes',
|
|
57
|
-
...this.options,
|
|
57
|
+
...this.options.activityOptions,
|
|
58
58
|
});
|
|
59
59
|
const callActivity = activities[this.options.name + '-callTool'];
|
|
60
60
|
return await callActivity({ name: toolName, input, options, clientArgs: this.options.clientArgs });
|
package/lib/mcp.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcp.js","sourceRoot":"","sources":["../src/mcp.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,+DAAiD;AAkBjD;;;;;;;;GAQG;AACH,MAAa,iBAAiB;IACP;IAArB,YAAqB,OAAiC;QAAjC,YAAO,GAAP,OAAO,CAA0B;IAAG,CAAC;IAE1D,KAAK,CAAC,KAAK;QACT,MAAM,UAAU,GAAG,QAAQ,CAAC,eAAe,CAAC;YAC1C,mBAAmB,EAAE,YAAY;YACjC,GAAG,IAAI,CAAC,OAAO,CAAC,eAAe;SAChC,CAAC,CAAC;QAEH,MAAM,YAAY,GAAG,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,GAAG,YAAY,CAAC,CAAC;QAClE,MAAM,KAAK,GAAmC,MAAM,YAAa,CAAC,EAAE,UAAU,EAAE,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC,CAAC;QAE3G,OAAO,MAAM,CAAC,WAAW,CACvB,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,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jB,mBAAmB,EAAE,YAAY;wBACjC,GAAG,IAAI,CAAC,OAAO,CAAC,eAAe;qBAChC,CAAC,CAAC;oBACH,MAAM,YAAY,GAAG,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,GAAG,WAAW,CAAE,CAAC;oBAClE,OAAO,MAAM,YAAY,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC,CAAC;gBACrG,CAAC;gBACD,yHAAyH;gBACzH,WAAW,EAAE;oBACX,GAAG,UAAU,CAAC,WAAW;oBACzB,KAAK,EAAE,SAAS;oBAChB,QAAQ,EAAE,SAAS;oBACnB,CAAC,MAAM,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI;oBACtC,CAAC,MAAM,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC,EAAE,IAAI;iBAC1C;gBACD,IAAI,EAAE,SAAS;aAChB;SACF,CAAC,CACH,CAAC;IACJ,CAAC;CACF;AAvCD,8CAuCC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@temporalio/ai-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.16.0",
|
|
4
4
|
"description": "Temporal AI SDK integration package",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"@ungap/structured-clone": "^1.3.0",
|
|
19
19
|
"headers-polyfill": "^4.0.3",
|
|
20
20
|
"web-streams-polyfill": "^4.2.0",
|
|
21
|
-
"@temporalio/common": "1.
|
|
22
|
-
"@temporalio/
|
|
23
|
-
"@temporalio/
|
|
21
|
+
"@temporalio/common": "1.16.0",
|
|
22
|
+
"@temporalio/workflow": "1.16.0",
|
|
23
|
+
"@temporalio/plugin": "1.16.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"@ai-sdk/mcp": "^1.0.0",
|
package/src/mcp.ts
CHANGED
|
@@ -48,7 +48,7 @@ export class TemporalMCPClient {
|
|
|
48
48
|
const activities = workflow.proxyActivities({
|
|
49
49
|
summary: toolName,
|
|
50
50
|
startToCloseTimeout: '10 minutes',
|
|
51
|
-
...this.options,
|
|
51
|
+
...this.options.activityOptions,
|
|
52
52
|
});
|
|
53
53
|
const callActivity = activities[this.options.name + '-callTool']!;
|
|
54
54
|
return await callActivity({ name: toolName, input, options, clientArgs: this.options.clientArgs });
|