@runtypelabs/sdk 10.2.2 → 10.3.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.mjs CHANGED
@@ -2654,6 +2654,9 @@ function applyGeneratedRuntimeToolProposalToDispatchRequest(request6, proposal,
2654
2654
  function isCatalogClientToolRef(entry) {
2655
2655
  return entry.catalog === "runtype-mcp";
2656
2656
  }
2657
+ function isBuiltinToolExecuteResponse(response) {
2658
+ return "toolName" in response && !("executionId" in response);
2659
+ }
2657
2660
 
2658
2661
  // src/dispatch-request.ts
2659
2662
  function normalizeDispatchMessageContent(content) {
@@ -5908,7 +5911,8 @@ function appendRuntimeToolsToAgentRequest(request6, runtimeTools) {
5908
5911
  description: tool.description,
5909
5912
  toolType: tool.toolType,
5910
5913
  parametersSchema: tool.parametersSchema,
5911
- ...tool.config ? { config: tool.config } : {}
5914
+ ...tool.config ? { config: tool.config } : {},
5915
+ ...tool.hiddenParameterNames ? { hiddenParameterNames: tool.hiddenParameterNames } : {}
5912
5916
  }));
5913
5917
  return {
5914
5918
  ...request6,
@@ -13934,7 +13938,7 @@ function transformQueryParams(params) {
13934
13938
 
13935
13939
  // src/version.ts
13936
13940
  var FALLBACK_VERSION = "0.0.0";
13937
- var SDK_VERSION = "10.2.2".length > 0 ? "10.2.2" : FALLBACK_VERSION;
13941
+ var SDK_VERSION = "10.3.0".length > 0 ? "10.3.0" : FALLBACK_VERSION;
13938
13942
  var RUNTYPE_CLIENT_KIND = "sdk";
13939
13943
  var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
13940
13944
 
@@ -15340,6 +15344,7 @@ export {
15340
15344
  getDefaultPlanPath,
15341
15345
  getLikelySupportingCandidatePaths,
15342
15346
  interpolateWorkflowTemplate,
15347
+ isBuiltinToolExecuteResponse,
15343
15348
  isCatalogClientToolRef,
15344
15349
  isDiscoveryToolName,
15345
15350
  isMarathonArtifactPath,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/sdk",
3
- "version": "10.2.2",
3
+ "version": "10.3.0",
4
4
  "type": "module",
5
5
  "description": "TypeScript SDK for the Runtype API with fluent methods. Use it to quickly realize AI products, agents, and workflows.",
6
6
  "main": "dist/index.cjs",
@@ -24,7 +24,7 @@
24
24
  ],
25
25
  "dependencies": {},
26
26
  "devDependencies": {
27
- "@runtypelabs/shared": "3.59.1",
27
+ "@runtypelabs/shared": "3.61.0",
28
28
  "openapi-typescript": "^7.13.0",
29
29
  "tsup": "^8.0.2",
30
30
  "typescript": "^6.0.3",