@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.cjs +8 -2
- package/dist/index.d.cts +1388 -214
- package/dist/index.d.ts +1388 -214
- package/dist/index.mjs +7 -2
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -158,6 +158,7 @@ __export(index_exports, {
|
|
|
158
158
|
getDefaultPlanPath: () => getDefaultPlanPath,
|
|
159
159
|
getLikelySupportingCandidatePaths: () => getLikelySupportingCandidatePaths,
|
|
160
160
|
interpolateWorkflowTemplate: () => interpolateWorkflowTemplate,
|
|
161
|
+
isBuiltinToolExecuteResponse: () => isBuiltinToolExecuteResponse,
|
|
161
162
|
isCatalogClientToolRef: () => isCatalogClientToolRef,
|
|
162
163
|
isDiscoveryToolName: () => isDiscoveryToolName,
|
|
163
164
|
isMarathonArtifactPath: () => isMarathonArtifactPath,
|
|
@@ -2869,6 +2870,9 @@ function applyGeneratedRuntimeToolProposalToDispatchRequest(request6, proposal,
|
|
|
2869
2870
|
function isCatalogClientToolRef(entry) {
|
|
2870
2871
|
return entry.catalog === "runtype-mcp";
|
|
2871
2872
|
}
|
|
2873
|
+
function isBuiltinToolExecuteResponse(response) {
|
|
2874
|
+
return "toolName" in response && !("executionId" in response);
|
|
2875
|
+
}
|
|
2872
2876
|
|
|
2873
2877
|
// src/dispatch-request.ts
|
|
2874
2878
|
function normalizeDispatchMessageContent(content) {
|
|
@@ -6123,7 +6127,8 @@ function appendRuntimeToolsToAgentRequest(request6, runtimeTools) {
|
|
|
6123
6127
|
description: tool.description,
|
|
6124
6128
|
toolType: tool.toolType,
|
|
6125
6129
|
parametersSchema: tool.parametersSchema,
|
|
6126
|
-
...tool.config ? { config: tool.config } : {}
|
|
6130
|
+
...tool.config ? { config: tool.config } : {},
|
|
6131
|
+
...tool.hiddenParameterNames ? { hiddenParameterNames: tool.hiddenParameterNames } : {}
|
|
6127
6132
|
}));
|
|
6128
6133
|
return {
|
|
6129
6134
|
...request6,
|
|
@@ -14149,7 +14154,7 @@ function transformQueryParams(params) {
|
|
|
14149
14154
|
|
|
14150
14155
|
// src/version.ts
|
|
14151
14156
|
var FALLBACK_VERSION = "0.0.0";
|
|
14152
|
-
var SDK_VERSION = "10.
|
|
14157
|
+
var SDK_VERSION = "10.3.0".length > 0 ? "10.3.0" : FALLBACK_VERSION;
|
|
14153
14158
|
var RUNTYPE_CLIENT_KIND = "sdk";
|
|
14154
14159
|
var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
|
|
14155
14160
|
|
|
@@ -15556,6 +15561,7 @@ var STEP_TYPE_TO_METHOD = {
|
|
|
15556
15561
|
getDefaultPlanPath,
|
|
15557
15562
|
getLikelySupportingCandidatePaths,
|
|
15558
15563
|
interpolateWorkflowTemplate,
|
|
15564
|
+
isBuiltinToolExecuteResponse,
|
|
15559
15565
|
isCatalogClientToolRef,
|
|
15560
15566
|
isDiscoveryToolName,
|
|
15561
15567
|
isMarathonArtifactPath,
|