@orq-ai/node 3.13.9 → 3.13.11
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/README.md +107 -93
- package/bin/mcp-server.js +43652 -40649
- package/bin/mcp-server.js.map +117 -98
- package/docs/sdks/agents/README.md +566 -0
- package/examples/package-lock.json +1 -1
- package/funcs/agentsCreate.d.ts +18 -0
- package/funcs/agentsCreate.d.ts.map +1 -0
- package/funcs/agentsCreate.js +120 -0
- package/funcs/agentsCreate.js.map +1 -0
- package/funcs/agentsDelete.d.ts +18 -0
- package/funcs/agentsDelete.d.ts.map +1 -0
- package/funcs/agentsDelete.js +124 -0
- package/funcs/agentsDelete.js.map +1 -0
- package/funcs/agentsInvoke.d.ts +17 -0
- package/funcs/agentsInvoke.d.ts.map +1 -0
- package/funcs/agentsInvoke.js +120 -0
- package/funcs/agentsInvoke.js.map +1 -0
- package/funcs/agentsStream.d.ts +19 -0
- package/funcs/agentsStream.d.ts.map +1 -0
- package/funcs/agentsStream.js +134 -0
- package/funcs/agentsStream.js.map +1 -0
- package/funcs/agentsUpdate.d.ts +18 -0
- package/funcs/agentsUpdate.d.ts.map +1 -0
- package/funcs/agentsUpdate.js +124 -0
- package/funcs/agentsUpdate.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/mcp-server.js.map +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +11 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/agentsCreate.d.ts +8 -0
- package/mcp-server/tools/agentsCreate.d.ts.map +1 -0
- package/mcp-server/tools/agentsCreate.js +64 -0
- package/mcp-server/tools/agentsCreate.js.map +1 -0
- package/mcp-server/tools/agentsDelete.d.ts +8 -0
- package/mcp-server/tools/agentsDelete.d.ts.map +1 -0
- package/mcp-server/tools/agentsDelete.js +63 -0
- package/mcp-server/tools/agentsDelete.js.map +1 -0
- package/mcp-server/tools/agentsInvoke.d.ts +8 -0
- package/mcp-server/tools/agentsInvoke.d.ts.map +1 -0
- package/mcp-server/tools/agentsInvoke.js +64 -0
- package/mcp-server/tools/agentsInvoke.js.map +1 -0
- package/mcp-server/tools/agentsStream.d.ts +8 -0
- package/mcp-server/tools/agentsStream.d.ts.map +1 -0
- package/mcp-server/tools/agentsStream.js +64 -0
- package/mcp-server/tools/agentsStream.js.map +1 -0
- package/mcp-server/tools/agentsUpdate.d.ts +8 -0
- package/mcp-server/tools/agentsUpdate.d.ts.map +1 -0
- package/mcp-server/tools/agentsUpdate.js +64 -0
- package/mcp-server/tools/agentsUpdate.js.map +1 -0
- package/models/errors/createagent.d.ts +41 -0
- package/models/errors/createagent.d.ts.map +1 -0
- package/models/errors/createagent.js +85 -0
- package/models/errors/createagent.js.map +1 -0
- package/models/errors/deleteagent.d.ts +41 -0
- package/models/errors/deleteagent.d.ts.map +1 -0
- package/models/errors/deleteagent.js +85 -0
- package/models/errors/deleteagent.js.map +1 -0
- package/models/errors/index.d.ts +4 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +4 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/streamagent.d.ts +41 -0
- package/models/errors/streamagent.d.ts.map +1 -0
- package/models/errors/streamagent.js +85 -0
- package/models/errors/streamagent.js.map +1 -0
- package/models/errors/updateagent.d.ts +41 -0
- package/models/errors/updateagent.d.ts.map +1 -0
- package/models/errors/updateagent.js +85 -0
- package/models/errors/updateagent.js.map +1 -0
- package/models/operations/createagent.d.ts +1504 -0
- package/models/operations/createagent.d.ts.map +1 -0
- package/models/operations/createagent.js +1530 -0
- package/models/operations/createagent.js.map +1 -0
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createtool.d.ts +20 -20
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +34 -34
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/deleteagent.d.ts +32 -0
- package/models/operations/deleteagent.d.ts.map +1 -0
- package/models/operations/deleteagent.js +78 -0
- package/models/operations/deleteagent.js.map +1 -0
- package/models/operations/duplicatetool.d.ts +10 -10
- package/models/operations/duplicatetool.d.ts.map +1 -1
- package/models/operations/duplicatetool.js +20 -20
- package/models/operations/duplicatetool.js.map +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getagent.d.ts +44 -175
- package/models/operations/getagent.d.ts.map +1 -1
- package/models/operations/getagent.js +51 -184
- package/models/operations/getagent.js.map +1 -1
- package/models/operations/getalltools.d.ts +10 -10
- package/models/operations/getalltools.d.ts.map +1 -1
- package/models/operations/getalltools.js +20 -20
- package/models/operations/getalltools.js.map +1 -1
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/index.d.ts +5 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +5 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/invokeagent.d.ts +912 -0
- package/models/operations/invokeagent.d.ts.map +1 -0
- package/models/operations/invokeagent.js +824 -0
- package/models/operations/invokeagent.js.map +1 -0
- package/models/operations/listagents.d.ts +6 -137
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +3 -139
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listagenttasks.d.ts +5 -0
- package/models/operations/listagenttasks.d.ts.map +1 -1
- package/models/operations/listagenttasks.js +2 -0
- package/models/operations/listagenttasks.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.d.ts +10 -10
- package/models/operations/retrievetool.d.ts.map +1 -1
- package/models/operations/retrievetool.js +20 -20
- package/models/operations/retrievetool.js.map +1 -1
- package/models/operations/runagent.d.ts +640 -721
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +817 -928
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamagent.d.ts +676 -0
- package/models/operations/streamagent.d.ts.map +1 -0
- package/models/operations/streamagent.js +670 -0
- package/models/operations/streamagent.js.map +1 -0
- package/models/operations/streamrunagent.d.ts +567 -648
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +721 -835
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +1515 -0
- package/models/operations/updateagent.d.ts.map +1 -0
- package/models/operations/updateagent.js +1576 -0
- package/models/operations/updateagent.js.map +1 -0
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatetool.d.ts +18 -18
- package/models/operations/updatetool.d.ts.map +1 -1
- package/models/operations/updatetool.js +36 -36
- package/models/operations/updatetool.js.map +1 -1
- package/package.json +1 -1
- package/packages/orq-rc/README.md +103 -94
- package/packages/orq-rc/docs/sdks/agents/README.md +297 -0
- package/packages/orq-rc/examples/package-lock.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/funcs/agentsCreate.ts +172 -0
- package/packages/orq-rc/src/funcs/agentsDelete.ts +176 -0
- package/packages/orq-rc/src/funcs/agentsUpdate.ts +176 -0
- package/packages/orq-rc/src/lib/config.ts +2 -2
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +7 -1
- package/packages/orq-rc/src/mcp-server/tools/agentsCreate.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/agentsDelete.ts +35 -0
- package/packages/orq-rc/src/mcp-server/tools/agentsUpdate.ts +37 -0
- package/packages/orq-rc/src/models/errors/createagent.ts +80 -0
- package/packages/orq-rc/src/models/errors/deleteagent.ts +80 -0
- package/packages/orq-rc/src/models/errors/index.ts +3 -0
- package/packages/orq-rc/src/models/errors/updateagent.ts +80 -0
- package/packages/orq-rc/src/models/operations/createagent.ts +3027 -0
- package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +8 -8
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/createtool.ts +50 -50
- package/packages/orq-rc/src/models/operations/deleteagent.ts +78 -0
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +30 -30
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getagent.ts +87 -387
- package/packages/orq-rc/src/models/operations/getalltools.ts +33 -33
- package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/index.ts +3 -0
- package/packages/orq-rc/src/models/operations/invokeagent.ts +12 -4
- package/packages/orq-rc/src/models/operations/listagents.ts +8 -321
- package/packages/orq-rc/src/models/operations/listagenttasks.ts +7 -0
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +8 -8
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievetool.ts +30 -30
- package/packages/orq-rc/src/models/operations/runagent.ts +1003 -1113
- package/packages/orq-rc/src/models/operations/streamagent.ts +4 -2
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +1276 -1427
- package/packages/orq-rc/src/models/operations/updateagent.ts +3239 -0
- package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +8 -8
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/updatetool.ts +56 -56
- package/packages/orq-rc/src/sdk/agents.ts +54 -0
- package/sdk/agents.d.ts +35 -0
- package/sdk/agents.d.ts.map +1 -1
- package/sdk/agents.js +50 -0
- package/sdk/agents.js.map +1 -1
- package/src/funcs/agentsCreate.ts +172 -0
- package/src/funcs/agentsDelete.ts +176 -0
- package/src/funcs/agentsInvoke.ts +167 -0
- package/src/funcs/agentsStream.ts +191 -0
- package/src/funcs/agentsUpdate.ts +176 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +11 -1
- package/src/mcp-server/tools/agentsCreate.ts +37 -0
- package/src/mcp-server/tools/agentsDelete.ts +35 -0
- package/src/mcp-server/tools/agentsInvoke.ts +37 -0
- package/src/mcp-server/tools/agentsStream.ts +37 -0
- package/src/mcp-server/tools/agentsUpdate.ts +37 -0
- package/src/models/errors/createagent.ts +80 -0
- package/src/models/errors/deleteagent.ts +80 -0
- package/src/models/errors/index.ts +4 -0
- package/src/models/errors/streamagent.ts +80 -0
- package/src/models/errors/updateagent.ts +80 -0
- package/src/models/operations/createagent.ts +3021 -0
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createtool.ts +54 -54
- package/src/models/operations/deleteagent.ts +78 -0
- package/src/models/operations/duplicatetool.ts +30 -30
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getagent.ts +87 -387
- package/src/models/operations/getalltools.ts +30 -30
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/index.ts +5 -0
- package/src/models/operations/invokeagent.ts +1569 -0
- package/src/models/operations/listagents.ts +8 -321
- package/src/models/operations/listagenttasks.ts +7 -0
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +30 -30
- package/src/models/operations/runagent.ts +1441 -1488
- package/src/models/operations/streamagent.ts +1367 -0
- package/src/models/operations/streamrunagent.ts +1542 -1657
- package/src/models/operations/updateagent.ts +3227 -0
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatetool.ts +60 -60
- package/src/sdk/agents.ts +90 -0
|
@@ -36,25 +36,25 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.StreamRunAgentPublicMessagePartFile$inboundSchema = exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.
|
|
42
|
-
exports.
|
|
43
|
-
exports.StreamRunAgentResponseBody$ = exports.StreamRunAgentResponseBody$outboundSchema = exports.StreamRunAgentResponseBody$inboundSchema = exports.StreamRunAgentRequestBody$ = exports.StreamRunAgentRequestBody$outboundSchema = exports.StreamRunAgentRequestBody$inboundSchema =
|
|
39
|
+
exports.StreamRunAgentPublicMessagePartFile$ = exports.StreamRunAgentPublicMessagePartFile$outboundSchema = exports.StreamRunAgentPublicMessagePartFile$inboundSchema = exports.StreamRunAgentFileBinaryFormat$ = exports.StreamRunAgentFileBinaryFormat$outboundSchema = exports.StreamRunAgentFileBinaryFormat$inboundSchema = exports.StreamRunAgentFileFileInURIFormat$ = exports.StreamRunAgentFileFileInURIFormat$outboundSchema = exports.StreamRunAgentFileFileInURIFormat$inboundSchema = exports.StreamRunAgentPublicMessagePartAgentsKind$ = exports.StreamRunAgentPublicMessagePartAgentsKind$outboundSchema = exports.StreamRunAgentPublicMessagePartAgentsKind$inboundSchema = exports.StreamRunAgentPublicMessagePartToolResultPart$ = exports.StreamRunAgentPublicMessagePartToolResultPart$outboundSchema = exports.StreamRunAgentPublicMessagePartToolResultPart$inboundSchema = exports.StreamRunAgentPublicMessagePartAgentsRequestKind$ = exports.StreamRunAgentPublicMessagePartAgentsRequestKind$outboundSchema = exports.StreamRunAgentPublicMessagePartAgentsRequestKind$inboundSchema = exports.StreamRunAgentRole$ = exports.StreamRunAgentRole$outboundSchema = exports.StreamRunAgentRole$inboundSchema = exports.StreamRunAgentRoleUserMessage$ = exports.StreamRunAgentRoleUserMessage$outboundSchema = exports.StreamRunAgentRoleUserMessage$inboundSchema = exports.StreamRunAgentRoleToolMessage$ = exports.StreamRunAgentRoleToolMessage$outboundSchema = exports.StreamRunAgentRoleToolMessage$inboundSchema = exports.StreamRunAgentToolApprovalRequired = exports.StreamRunAgentAgentToolInputRunType = exports.StreamRunAgentAgentToolInputRunAgentsType = exports.StreamRunAgentAgentToolInputRunAgentsRequestType = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType = exports.AgentToolInputRunMethod = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type = exports.AgentToolInputRunLanguage = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type = exports.StreamRunAgentPublicMessagePartKind = exports.StreamRunAgentPublicMessagePartAgentsKind = exports.StreamRunAgentPublicMessagePartAgentsRequestKind = exports.StreamRunAgentRoleUserMessage = exports.StreamRunAgentRoleToolMessage = void 0;
|
|
40
|
+
exports.AgentToolInputRunCodeToolRun$outboundSchema = exports.AgentToolInputRunCodeToolRun$inboundSchema = exports.AgentToolInputRunCodeTool$ = exports.AgentToolInputRunCodeTool$outboundSchema = exports.AgentToolInputRunCodeTool$inboundSchema = exports.AgentToolInputRunLanguage$ = exports.AgentToolInputRunLanguage$outboundSchema = exports.AgentToolInputRunLanguage$inboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$ = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$inboundSchema = exports.AgentToolInputRunFunctionToolRun$ = exports.AgentToolInputRunFunctionToolRun$outboundSchema = exports.AgentToolInputRunFunctionToolRun$inboundSchema = exports.StreamRunAgentAgentToolInputRunFunction$ = exports.StreamRunAgentAgentToolInputRunFunction$outboundSchema = exports.StreamRunAgentAgentToolInputRunFunction$inboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$ = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$inboundSchema = exports.StreamRunAgentTeamOfAgents$ = exports.StreamRunAgentTeamOfAgents$outboundSchema = exports.StreamRunAgentTeamOfAgents$inboundSchema = exports.StreamRunAgentKnowledgeBases$ = exports.StreamRunAgentKnowledgeBases$outboundSchema = exports.StreamRunAgentKnowledgeBases$inboundSchema = exports.StreamRunAgentMemory$ = exports.StreamRunAgentMemory$outboundSchema = exports.StreamRunAgentMemory$inboundSchema = exports.StreamRunAgentThread$ = exports.StreamRunAgentThread$outboundSchema = exports.StreamRunAgentThread$inboundSchema = exports.StreamRunAgentContact$ = exports.StreamRunAgentContact$outboundSchema = exports.StreamRunAgentContact$inboundSchema = exports.StreamRunAgentMessage$ = exports.StreamRunAgentMessage$outboundSchema = exports.StreamRunAgentMessage$inboundSchema = exports.StreamRunAgentPublicMessagePart$ = exports.StreamRunAgentPublicMessagePart$outboundSchema = exports.StreamRunAgentPublicMessagePart$inboundSchema = exports.StreamRunAgentPublicMessagePartTextPart$ = exports.StreamRunAgentPublicMessagePartTextPart$outboundSchema = exports.StreamRunAgentPublicMessagePartTextPart$inboundSchema = exports.StreamRunAgentPublicMessagePartKind$ = exports.StreamRunAgentPublicMessagePartKind$outboundSchema = exports.StreamRunAgentPublicMessagePartKind$inboundSchema = exports.StreamRunAgentPublicMessagePartFilePart$ = exports.StreamRunAgentPublicMessagePartFilePart$outboundSchema = exports.StreamRunAgentPublicMessagePartFilePart$inboundSchema = void 0;
|
|
41
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type$inboundSchema = exports.StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$ = exports.StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$outboundSchema = exports.StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$inboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$ = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$inboundSchema = exports.StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$ = exports.StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$outboundSchema = exports.StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$inboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$ = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$inboundSchema = exports.StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$ = exports.StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$outboundSchema = exports.StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$inboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$ = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$inboundSchema = exports.StreamRunAgentAgentToolInputRunCurrentDateTool$ = exports.StreamRunAgentAgentToolInputRunCurrentDateTool$outboundSchema = exports.StreamRunAgentAgentToolInputRunCurrentDateTool$inboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$ = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$inboundSchema = exports.AgentToolInputRunHTTPToolRun$ = exports.AgentToolInputRunHTTPToolRun$outboundSchema = exports.AgentToolInputRunHTTPToolRun$inboundSchema = exports.AgentToolInputRunHttp$ = exports.AgentToolInputRunHttp$outboundSchema = exports.AgentToolInputRunHttp$inboundSchema = exports.AgentToolInputRunArguments$ = exports.AgentToolInputRunArguments$outboundSchema = exports.AgentToolInputRunArguments$inboundSchema = exports.AgentToolInputRunDefaultValue$ = exports.AgentToolInputRunDefaultValue$outboundSchema = exports.AgentToolInputRunDefaultValue$inboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$ = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$inboundSchema = exports.AgentToolInputRunBlueprint$ = exports.AgentToolInputRunBlueprint$outboundSchema = exports.AgentToolInputRunBlueprint$inboundSchema = exports.AgentToolInputRunMethod$ = exports.AgentToolInputRunMethod$outboundSchema = exports.AgentToolInputRunMethod$inboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$ = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$inboundSchema = exports.AgentToolInputRunCodeToolRun$ = void 0;
|
|
42
|
+
exports.StreamRunAgentSettings$ = exports.StreamRunAgentSettings$outboundSchema = exports.StreamRunAgentSettings$inboundSchema = exports.StreamRunAgentToolApprovalRequired$ = exports.StreamRunAgentToolApprovalRequired$outboundSchema = exports.StreamRunAgentToolApprovalRequired$inboundSchema = exports.StreamRunAgentAgentToolInputRun$ = exports.StreamRunAgentAgentToolInputRun$outboundSchema = exports.StreamRunAgentAgentToolInputRun$inboundSchema = exports.StreamRunAgentAgentToolInputRunGoogleSearchTool$ = exports.StreamRunAgentAgentToolInputRunGoogleSearchTool$outboundSchema = exports.StreamRunAgentAgentToolInputRunGoogleSearchTool$inboundSchema = exports.StreamRunAgentAgentToolInputRunType$ = exports.StreamRunAgentAgentToolInputRunType$outboundSchema = exports.StreamRunAgentAgentToolInputRunType$inboundSchema = exports.StreamRunAgentAgentToolInputRunWebScraperTool$ = exports.StreamRunAgentAgentToolInputRunWebScraperTool$outboundSchema = exports.StreamRunAgentAgentToolInputRunWebScraperTool$inboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsType$ = exports.StreamRunAgentAgentToolInputRunAgentsType$outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsType$inboundSchema = exports.StreamRunAgentAgentToolInputRunCallSubAgentTool$ = exports.StreamRunAgentAgentToolInputRunCallSubAgentTool$outboundSchema = exports.StreamRunAgentAgentToolInputRunCallSubAgentTool$inboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestType$ = exports.StreamRunAgentAgentToolInputRunAgentsRequestType$outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestType$inboundSchema = exports.StreamRunAgentAgentToolInputRunRetrieveAgentsTool$ = exports.StreamRunAgentAgentToolInputRunRetrieveAgentsTool$outboundSchema = exports.StreamRunAgentAgentToolInputRunRetrieveAgentsTool$inboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType$ = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType$outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType$inboundSchema = exports.StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$ = exports.StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$outboundSchema = exports.StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$inboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$ = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$inboundSchema = exports.StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$ = exports.StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$outboundSchema = exports.StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$inboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$ = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$inboundSchema = exports.StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$ = exports.StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$outboundSchema = exports.StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$inboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type$ = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type$outboundSchema = void 0;
|
|
43
|
+
exports.StreamRunAgentResponseBody$ = exports.StreamRunAgentResponseBody$outboundSchema = exports.StreamRunAgentResponseBody$inboundSchema = exports.StreamRunAgentRequestBody$ = exports.StreamRunAgentRequestBody$outboundSchema = exports.StreamRunAgentRequestBody$inboundSchema = void 0;
|
|
44
44
|
exports.streamRunAgentRoleToJSON = streamRunAgentRoleToJSON;
|
|
45
45
|
exports.streamRunAgentRoleFromJSON = streamRunAgentRoleFromJSON;
|
|
46
|
-
exports.
|
|
47
|
-
exports.
|
|
48
|
-
exports.
|
|
49
|
-
exports.
|
|
50
|
-
exports.
|
|
51
|
-
exports.
|
|
46
|
+
exports.streamRunAgentPublicMessagePartToolResultPartToJSON = streamRunAgentPublicMessagePartToolResultPartToJSON;
|
|
47
|
+
exports.streamRunAgentPublicMessagePartToolResultPartFromJSON = streamRunAgentPublicMessagePartToolResultPartFromJSON;
|
|
48
|
+
exports.streamRunAgentFileFileInURIFormatToJSON = streamRunAgentFileFileInURIFormatToJSON;
|
|
49
|
+
exports.streamRunAgentFileFileInURIFormatFromJSON = streamRunAgentFileFileInURIFormatFromJSON;
|
|
50
|
+
exports.streamRunAgentFileBinaryFormatToJSON = streamRunAgentFileBinaryFormatToJSON;
|
|
51
|
+
exports.streamRunAgentFileBinaryFormatFromJSON = streamRunAgentFileBinaryFormatFromJSON;
|
|
52
52
|
exports.streamRunAgentPublicMessagePartFileToJSON = streamRunAgentPublicMessagePartFileToJSON;
|
|
53
53
|
exports.streamRunAgentPublicMessagePartFileFromJSON = streamRunAgentPublicMessagePartFileFromJSON;
|
|
54
|
-
exports.
|
|
55
|
-
exports.
|
|
56
|
-
exports.
|
|
57
|
-
exports.
|
|
54
|
+
exports.streamRunAgentPublicMessagePartFilePartToJSON = streamRunAgentPublicMessagePartFilePartToJSON;
|
|
55
|
+
exports.streamRunAgentPublicMessagePartFilePartFromJSON = streamRunAgentPublicMessagePartFilePartFromJSON;
|
|
56
|
+
exports.streamRunAgentPublicMessagePartTextPartToJSON = streamRunAgentPublicMessagePartTextPartToJSON;
|
|
57
|
+
exports.streamRunAgentPublicMessagePartTextPartFromJSON = streamRunAgentPublicMessagePartTextPartFromJSON;
|
|
58
58
|
exports.streamRunAgentPublicMessagePartToJSON = streamRunAgentPublicMessagePartToJSON;
|
|
59
59
|
exports.streamRunAgentPublicMessagePartFromJSON = streamRunAgentPublicMessagePartFromJSON;
|
|
60
60
|
exports.streamRunAgentMessageToJSON = streamRunAgentMessageToJSON;
|
|
@@ -65,58 +65,52 @@ exports.streamRunAgentThreadToJSON = streamRunAgentThreadToJSON;
|
|
|
65
65
|
exports.streamRunAgentThreadFromJSON = streamRunAgentThreadFromJSON;
|
|
66
66
|
exports.streamRunAgentMemoryToJSON = streamRunAgentMemoryToJSON;
|
|
67
67
|
exports.streamRunAgentMemoryFromJSON = streamRunAgentMemoryFromJSON;
|
|
68
|
-
exports.knowledgeBaseConfigurationKnowledgeBaseStaticQueryToJSON = knowledgeBaseConfigurationKnowledgeBaseStaticQueryToJSON;
|
|
69
|
-
exports.knowledgeBaseConfigurationKnowledgeBaseStaticQueryFromJSON = knowledgeBaseConfigurationKnowledgeBaseStaticQueryFromJSON;
|
|
70
|
-
exports.knowledgeBaseConfigurationKnowledgeBaseLastUserMessageToJSON = knowledgeBaseConfigurationKnowledgeBaseLastUserMessageToJSON;
|
|
71
|
-
exports.knowledgeBaseConfigurationKnowledgeBaseLastUserMessageFromJSON = knowledgeBaseConfigurationKnowledgeBaseLastUserMessageFromJSON;
|
|
72
|
-
exports.streamRunAgentKnowledgeBaseConfigurationToJSON = streamRunAgentKnowledgeBaseConfigurationToJSON;
|
|
73
|
-
exports.streamRunAgentKnowledgeBaseConfigurationFromJSON = streamRunAgentKnowledgeBaseConfigurationFromJSON;
|
|
74
68
|
exports.streamRunAgentKnowledgeBasesToJSON = streamRunAgentKnowledgeBasesToJSON;
|
|
75
69
|
exports.streamRunAgentKnowledgeBasesFromJSON = streamRunAgentKnowledgeBasesFromJSON;
|
|
76
70
|
exports.streamRunAgentTeamOfAgentsToJSON = streamRunAgentTeamOfAgentsToJSON;
|
|
77
71
|
exports.streamRunAgentTeamOfAgentsFromJSON = streamRunAgentTeamOfAgentsFromJSON;
|
|
78
|
-
exports.
|
|
79
|
-
exports.
|
|
80
|
-
exports.
|
|
81
|
-
exports.
|
|
82
|
-
exports.
|
|
83
|
-
exports.
|
|
84
|
-
exports.
|
|
85
|
-
exports.
|
|
86
|
-
exports.
|
|
87
|
-
exports.
|
|
88
|
-
exports.
|
|
89
|
-
exports.
|
|
90
|
-
exports.
|
|
91
|
-
exports.
|
|
92
|
-
exports.
|
|
93
|
-
exports.
|
|
94
|
-
exports.
|
|
95
|
-
exports.
|
|
96
|
-
exports.
|
|
97
|
-
exports.
|
|
98
|
-
exports.
|
|
99
|
-
exports.
|
|
100
|
-
exports.
|
|
101
|
-
exports.
|
|
102
|
-
exports.
|
|
103
|
-
exports.
|
|
104
|
-
exports.
|
|
105
|
-
exports.
|
|
106
|
-
exports.
|
|
107
|
-
exports.
|
|
108
|
-
exports.
|
|
109
|
-
exports.
|
|
110
|
-
exports.
|
|
111
|
-
exports.
|
|
112
|
-
exports.
|
|
113
|
-
exports.
|
|
114
|
-
exports.
|
|
115
|
-
exports.
|
|
116
|
-
exports.
|
|
117
|
-
exports.
|
|
118
|
-
exports.
|
|
119
|
-
exports.
|
|
72
|
+
exports.streamRunAgentAgentToolInputRunFunctionToJSON = streamRunAgentAgentToolInputRunFunctionToJSON;
|
|
73
|
+
exports.streamRunAgentAgentToolInputRunFunctionFromJSON = streamRunAgentAgentToolInputRunFunctionFromJSON;
|
|
74
|
+
exports.agentToolInputRunFunctionToolRunToJSON = agentToolInputRunFunctionToolRunToJSON;
|
|
75
|
+
exports.agentToolInputRunFunctionToolRunFromJSON = agentToolInputRunFunctionToolRunFromJSON;
|
|
76
|
+
exports.agentToolInputRunCodeToolToJSON = agentToolInputRunCodeToolToJSON;
|
|
77
|
+
exports.agentToolInputRunCodeToolFromJSON = agentToolInputRunCodeToolFromJSON;
|
|
78
|
+
exports.agentToolInputRunCodeToolRunToJSON = agentToolInputRunCodeToolRunToJSON;
|
|
79
|
+
exports.agentToolInputRunCodeToolRunFromJSON = agentToolInputRunCodeToolRunFromJSON;
|
|
80
|
+
exports.agentToolInputRunBlueprintToJSON = agentToolInputRunBlueprintToJSON;
|
|
81
|
+
exports.agentToolInputRunBlueprintFromJSON = agentToolInputRunBlueprintFromJSON;
|
|
82
|
+
exports.agentToolInputRunDefaultValueToJSON = agentToolInputRunDefaultValueToJSON;
|
|
83
|
+
exports.agentToolInputRunDefaultValueFromJSON = agentToolInputRunDefaultValueFromJSON;
|
|
84
|
+
exports.agentToolInputRunArgumentsToJSON = agentToolInputRunArgumentsToJSON;
|
|
85
|
+
exports.agentToolInputRunArgumentsFromJSON = agentToolInputRunArgumentsFromJSON;
|
|
86
|
+
exports.agentToolInputRunHttpToJSON = agentToolInputRunHttpToJSON;
|
|
87
|
+
exports.agentToolInputRunHttpFromJSON = agentToolInputRunHttpFromJSON;
|
|
88
|
+
exports.agentToolInputRunHTTPToolRunToJSON = agentToolInputRunHTTPToolRunToJSON;
|
|
89
|
+
exports.agentToolInputRunHTTPToolRunFromJSON = agentToolInputRunHTTPToolRunFromJSON;
|
|
90
|
+
exports.streamRunAgentAgentToolInputRunCurrentDateToolToJSON = streamRunAgentAgentToolInputRunCurrentDateToolToJSON;
|
|
91
|
+
exports.streamRunAgentAgentToolInputRunCurrentDateToolFromJSON = streamRunAgentAgentToolInputRunCurrentDateToolFromJSON;
|
|
92
|
+
exports.streamRunAgentAgentToolInputRunQueryKnowledgeBaseToolToJSON = streamRunAgentAgentToolInputRunQueryKnowledgeBaseToolToJSON;
|
|
93
|
+
exports.streamRunAgentAgentToolInputRunQueryKnowledgeBaseToolFromJSON = streamRunAgentAgentToolInputRunQueryKnowledgeBaseToolFromJSON;
|
|
94
|
+
exports.streamRunAgentAgentToolInputRunRetrieveKnowledgeBasesToolToJSON = streamRunAgentAgentToolInputRunRetrieveKnowledgeBasesToolToJSON;
|
|
95
|
+
exports.streamRunAgentAgentToolInputRunRetrieveKnowledgeBasesToolFromJSON = streamRunAgentAgentToolInputRunRetrieveKnowledgeBasesToolFromJSON;
|
|
96
|
+
exports.streamRunAgentAgentToolInputRunDeleteMemoryDocumentToolToJSON = streamRunAgentAgentToolInputRunDeleteMemoryDocumentToolToJSON;
|
|
97
|
+
exports.streamRunAgentAgentToolInputRunDeleteMemoryDocumentToolFromJSON = streamRunAgentAgentToolInputRunDeleteMemoryDocumentToolFromJSON;
|
|
98
|
+
exports.streamRunAgentAgentToolInputRunRetrieveMemoryStoresToolToJSON = streamRunAgentAgentToolInputRunRetrieveMemoryStoresToolToJSON;
|
|
99
|
+
exports.streamRunAgentAgentToolInputRunRetrieveMemoryStoresToolFromJSON = streamRunAgentAgentToolInputRunRetrieveMemoryStoresToolFromJSON;
|
|
100
|
+
exports.streamRunAgentAgentToolInputRunWriteMemoryStoreToolToJSON = streamRunAgentAgentToolInputRunWriteMemoryStoreToolToJSON;
|
|
101
|
+
exports.streamRunAgentAgentToolInputRunWriteMemoryStoreToolFromJSON = streamRunAgentAgentToolInputRunWriteMemoryStoreToolFromJSON;
|
|
102
|
+
exports.streamRunAgentAgentToolInputRunQueryMemoryStoreToolToJSON = streamRunAgentAgentToolInputRunQueryMemoryStoreToolToJSON;
|
|
103
|
+
exports.streamRunAgentAgentToolInputRunQueryMemoryStoreToolFromJSON = streamRunAgentAgentToolInputRunQueryMemoryStoreToolFromJSON;
|
|
104
|
+
exports.streamRunAgentAgentToolInputRunRetrieveAgentsToolToJSON = streamRunAgentAgentToolInputRunRetrieveAgentsToolToJSON;
|
|
105
|
+
exports.streamRunAgentAgentToolInputRunRetrieveAgentsToolFromJSON = streamRunAgentAgentToolInputRunRetrieveAgentsToolFromJSON;
|
|
106
|
+
exports.streamRunAgentAgentToolInputRunCallSubAgentToolToJSON = streamRunAgentAgentToolInputRunCallSubAgentToolToJSON;
|
|
107
|
+
exports.streamRunAgentAgentToolInputRunCallSubAgentToolFromJSON = streamRunAgentAgentToolInputRunCallSubAgentToolFromJSON;
|
|
108
|
+
exports.streamRunAgentAgentToolInputRunWebScraperToolToJSON = streamRunAgentAgentToolInputRunWebScraperToolToJSON;
|
|
109
|
+
exports.streamRunAgentAgentToolInputRunWebScraperToolFromJSON = streamRunAgentAgentToolInputRunWebScraperToolFromJSON;
|
|
110
|
+
exports.streamRunAgentAgentToolInputRunGoogleSearchToolToJSON = streamRunAgentAgentToolInputRunGoogleSearchToolToJSON;
|
|
111
|
+
exports.streamRunAgentAgentToolInputRunGoogleSearchToolFromJSON = streamRunAgentAgentToolInputRunGoogleSearchToolFromJSON;
|
|
112
|
+
exports.streamRunAgentAgentToolInputRunToJSON = streamRunAgentAgentToolInputRunToJSON;
|
|
113
|
+
exports.streamRunAgentAgentToolInputRunFromJSON = streamRunAgentAgentToolInputRunFromJSON;
|
|
120
114
|
exports.streamRunAgentSettingsToJSON = streamRunAgentSettingsToJSON;
|
|
121
115
|
exports.streamRunAgentSettingsFromJSON = streamRunAgentSettingsFromJSON;
|
|
122
116
|
exports.streamRunAgentRequestBodyToJSON = streamRunAgentRequestBodyToJSON;
|
|
@@ -147,28 +141,22 @@ exports.StreamRunAgentPublicMessagePartAgentsKind = {
|
|
|
147
141
|
exports.StreamRunAgentPublicMessagePartKind = {
|
|
148
142
|
Text: "text",
|
|
149
143
|
};
|
|
150
|
-
exports.
|
|
151
|
-
Query: "query",
|
|
152
|
-
};
|
|
153
|
-
exports.StreamRunAgentKnowledgeBaseConfigurationType = {
|
|
154
|
-
LastUserMessage: "last_user_message",
|
|
155
|
-
};
|
|
156
|
-
exports.StreamRunAgentRunAgentRequestToolAgentsRequestRequestBodySettingsTools14Type = {
|
|
144
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type = {
|
|
157
145
|
Function: "function",
|
|
158
146
|
};
|
|
159
|
-
exports.
|
|
147
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type = {
|
|
160
148
|
Code: "code",
|
|
161
149
|
};
|
|
162
|
-
exports.
|
|
150
|
+
exports.AgentToolInputRunLanguage = {
|
|
163
151
|
Python: "python",
|
|
164
152
|
};
|
|
165
|
-
exports.
|
|
153
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type = {
|
|
166
154
|
Http: "http",
|
|
167
155
|
};
|
|
168
156
|
/**
|
|
169
157
|
* The HTTP method to use.
|
|
170
158
|
*/
|
|
171
|
-
exports.
|
|
159
|
+
exports.AgentToolInputRunMethod = {
|
|
172
160
|
Get: "GET",
|
|
173
161
|
Post: "POST",
|
|
174
162
|
Put: "PUT",
|
|
@@ -177,42 +165,42 @@ exports.RunAgentRequestToolMethod = {
|
|
|
177
165
|
/**
|
|
178
166
|
* The type of the argument.
|
|
179
167
|
*/
|
|
180
|
-
exports.
|
|
168
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType = {
|
|
181
169
|
String: "string",
|
|
182
170
|
Number: "number",
|
|
183
171
|
Boolean: "boolean",
|
|
184
172
|
};
|
|
185
|
-
exports.
|
|
173
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type = {
|
|
186
174
|
CurrentDate: "current_date",
|
|
187
175
|
};
|
|
188
|
-
exports.
|
|
176
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type = {
|
|
189
177
|
QueryKnowledgeBase: "query_knowledge_base",
|
|
190
178
|
};
|
|
191
|
-
exports.
|
|
179
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type = {
|
|
192
180
|
RetrieveKnowledgeBases: "retrieve_knowledge_bases",
|
|
193
181
|
};
|
|
194
|
-
exports.
|
|
182
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type = {
|
|
195
183
|
DeleteMemoryDocument: "delete_memory_document",
|
|
196
184
|
};
|
|
197
|
-
exports.
|
|
185
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type = {
|
|
198
186
|
RetrieveMemoryStores: "retrieve_memory_stores",
|
|
199
187
|
};
|
|
200
|
-
exports.
|
|
188
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType = {
|
|
201
189
|
WriteMemoryStore: "write_memory_store",
|
|
202
190
|
};
|
|
203
|
-
exports.
|
|
191
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType = {
|
|
204
192
|
QueryMemoryStore: "query_memory_store",
|
|
205
193
|
};
|
|
206
|
-
exports.
|
|
194
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType = {
|
|
207
195
|
RetrieveAgents: "retrieve_agents",
|
|
208
196
|
};
|
|
209
|
-
exports.
|
|
197
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestType = {
|
|
210
198
|
CallSubAgent: "call_sub_agent",
|
|
211
199
|
};
|
|
212
|
-
exports.
|
|
200
|
+
exports.StreamRunAgentAgentToolInputRunAgentsType = {
|
|
213
201
|
WebScraper: "web_scraper",
|
|
214
202
|
};
|
|
215
|
-
exports.
|
|
203
|
+
exports.StreamRunAgentAgentToolInputRunType = {
|
|
216
204
|
GoogleSearch: "google_search",
|
|
217
205
|
};
|
|
218
206
|
/**
|
|
@@ -297,7 +285,7 @@ var StreamRunAgentPublicMessagePartAgentsRequestKind$;
|
|
|
297
285
|
StreamRunAgentPublicMessagePartAgentsRequestKind$.outboundSchema = exports.StreamRunAgentPublicMessagePartAgentsRequestKind$outboundSchema;
|
|
298
286
|
})(StreamRunAgentPublicMessagePartAgentsRequestKind$ || (exports.StreamRunAgentPublicMessagePartAgentsRequestKind$ = StreamRunAgentPublicMessagePartAgentsRequestKind$ = {}));
|
|
299
287
|
/** @internal */
|
|
300
|
-
exports.
|
|
288
|
+
exports.StreamRunAgentPublicMessagePartToolResultPart$inboundSchema = z.object({
|
|
301
289
|
kind: exports.StreamRunAgentPublicMessagePartAgentsRequestKind$inboundSchema,
|
|
302
290
|
tool_call_id: z.string(),
|
|
303
291
|
result: z.any().optional(),
|
|
@@ -308,7 +296,7 @@ exports.PublicMessagePartToolResultPart$inboundSchema = z.object({
|
|
|
308
296
|
});
|
|
309
297
|
});
|
|
310
298
|
/** @internal */
|
|
311
|
-
exports.
|
|
299
|
+
exports.StreamRunAgentPublicMessagePartToolResultPart$outboundSchema = z.object({
|
|
312
300
|
kind: exports.StreamRunAgentPublicMessagePartAgentsRequestKind$outboundSchema,
|
|
313
301
|
toolCallId: z.string(),
|
|
314
302
|
result: z.any().optional(),
|
|
@@ -322,18 +310,18 @@ exports.PublicMessagePartToolResultPart$outboundSchema = z.object({
|
|
|
322
310
|
* @internal
|
|
323
311
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
324
312
|
*/
|
|
325
|
-
var
|
|
326
|
-
(function (
|
|
327
|
-
/** @deprecated use `
|
|
328
|
-
|
|
329
|
-
/** @deprecated use `
|
|
330
|
-
|
|
331
|
-
})(
|
|
332
|
-
function
|
|
333
|
-
return JSON.stringify(exports.
|
|
313
|
+
var StreamRunAgentPublicMessagePartToolResultPart$;
|
|
314
|
+
(function (StreamRunAgentPublicMessagePartToolResultPart$) {
|
|
315
|
+
/** @deprecated use `StreamRunAgentPublicMessagePartToolResultPart$inboundSchema` instead. */
|
|
316
|
+
StreamRunAgentPublicMessagePartToolResultPart$.inboundSchema = exports.StreamRunAgentPublicMessagePartToolResultPart$inboundSchema;
|
|
317
|
+
/** @deprecated use `StreamRunAgentPublicMessagePartToolResultPart$outboundSchema` instead. */
|
|
318
|
+
StreamRunAgentPublicMessagePartToolResultPart$.outboundSchema = exports.StreamRunAgentPublicMessagePartToolResultPart$outboundSchema;
|
|
319
|
+
})(StreamRunAgentPublicMessagePartToolResultPart$ || (exports.StreamRunAgentPublicMessagePartToolResultPart$ = StreamRunAgentPublicMessagePartToolResultPart$ = {}));
|
|
320
|
+
function streamRunAgentPublicMessagePartToolResultPartToJSON(streamRunAgentPublicMessagePartToolResultPart) {
|
|
321
|
+
return JSON.stringify(exports.StreamRunAgentPublicMessagePartToolResultPart$outboundSchema.parse(streamRunAgentPublicMessagePartToolResultPart));
|
|
334
322
|
}
|
|
335
|
-
function
|
|
336
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
323
|
+
function streamRunAgentPublicMessagePartToolResultPartFromJSON(jsonString) {
|
|
324
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.StreamRunAgentPublicMessagePartToolResultPart$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'StreamRunAgentPublicMessagePartToolResultPart' from JSON`);
|
|
337
325
|
}
|
|
338
326
|
/** @internal */
|
|
339
327
|
exports.StreamRunAgentPublicMessagePartAgentsKind$inboundSchema = z
|
|
@@ -352,13 +340,13 @@ var StreamRunAgentPublicMessagePartAgentsKind$;
|
|
|
352
340
|
StreamRunAgentPublicMessagePartAgentsKind$.outboundSchema = exports.StreamRunAgentPublicMessagePartAgentsKind$outboundSchema;
|
|
353
341
|
})(StreamRunAgentPublicMessagePartAgentsKind$ || (exports.StreamRunAgentPublicMessagePartAgentsKind$ = StreamRunAgentPublicMessagePartAgentsKind$ = {}));
|
|
354
342
|
/** @internal */
|
|
355
|
-
exports.
|
|
343
|
+
exports.StreamRunAgentFileFileInURIFormat$inboundSchema = z.object({
|
|
356
344
|
uri: z.string(),
|
|
357
345
|
mimeType: z.string().optional(),
|
|
358
346
|
name: z.string().optional(),
|
|
359
347
|
});
|
|
360
348
|
/** @internal */
|
|
361
|
-
exports.
|
|
349
|
+
exports.StreamRunAgentFileFileInURIFormat$outboundSchema = z.object({
|
|
362
350
|
uri: z.string(),
|
|
363
351
|
mimeType: z.string().optional(),
|
|
364
352
|
name: z.string().optional(),
|
|
@@ -367,27 +355,27 @@ exports.FileFileInURIFormat$outboundSchema = z.object({
|
|
|
367
355
|
* @internal
|
|
368
356
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
369
357
|
*/
|
|
370
|
-
var
|
|
371
|
-
(function (
|
|
372
|
-
/** @deprecated use `
|
|
373
|
-
|
|
374
|
-
/** @deprecated use `
|
|
375
|
-
|
|
376
|
-
})(
|
|
377
|
-
function
|
|
378
|
-
return JSON.stringify(exports.
|
|
358
|
+
var StreamRunAgentFileFileInURIFormat$;
|
|
359
|
+
(function (StreamRunAgentFileFileInURIFormat$) {
|
|
360
|
+
/** @deprecated use `StreamRunAgentFileFileInURIFormat$inboundSchema` instead. */
|
|
361
|
+
StreamRunAgentFileFileInURIFormat$.inboundSchema = exports.StreamRunAgentFileFileInURIFormat$inboundSchema;
|
|
362
|
+
/** @deprecated use `StreamRunAgentFileFileInURIFormat$outboundSchema` instead. */
|
|
363
|
+
StreamRunAgentFileFileInURIFormat$.outboundSchema = exports.StreamRunAgentFileFileInURIFormat$outboundSchema;
|
|
364
|
+
})(StreamRunAgentFileFileInURIFormat$ || (exports.StreamRunAgentFileFileInURIFormat$ = StreamRunAgentFileFileInURIFormat$ = {}));
|
|
365
|
+
function streamRunAgentFileFileInURIFormatToJSON(streamRunAgentFileFileInURIFormat) {
|
|
366
|
+
return JSON.stringify(exports.StreamRunAgentFileFileInURIFormat$outboundSchema.parse(streamRunAgentFileFileInURIFormat));
|
|
379
367
|
}
|
|
380
|
-
function
|
|
381
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
368
|
+
function streamRunAgentFileFileInURIFormatFromJSON(jsonString) {
|
|
369
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.StreamRunAgentFileFileInURIFormat$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'StreamRunAgentFileFileInURIFormat' from JSON`);
|
|
382
370
|
}
|
|
383
371
|
/** @internal */
|
|
384
|
-
exports.
|
|
372
|
+
exports.StreamRunAgentFileBinaryFormat$inboundSchema = z.object({
|
|
385
373
|
bytes: z.string(),
|
|
386
374
|
mimeType: z.string().optional(),
|
|
387
375
|
name: z.string().optional(),
|
|
388
376
|
});
|
|
389
377
|
/** @internal */
|
|
390
|
-
exports.
|
|
378
|
+
exports.StreamRunAgentFileBinaryFormat$outboundSchema = z.object({
|
|
391
379
|
bytes: z.string(),
|
|
392
380
|
mimeType: z.string().optional(),
|
|
393
381
|
name: z.string().optional(),
|
|
@@ -396,28 +384,28 @@ exports.FileBinaryFormat$outboundSchema = z.object({
|
|
|
396
384
|
* @internal
|
|
397
385
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
398
386
|
*/
|
|
399
|
-
var
|
|
400
|
-
(function (
|
|
401
|
-
/** @deprecated use `
|
|
402
|
-
|
|
403
|
-
/** @deprecated use `
|
|
404
|
-
|
|
405
|
-
})(
|
|
406
|
-
function
|
|
407
|
-
return JSON.stringify(exports.
|
|
387
|
+
var StreamRunAgentFileBinaryFormat$;
|
|
388
|
+
(function (StreamRunAgentFileBinaryFormat$) {
|
|
389
|
+
/** @deprecated use `StreamRunAgentFileBinaryFormat$inboundSchema` instead. */
|
|
390
|
+
StreamRunAgentFileBinaryFormat$.inboundSchema = exports.StreamRunAgentFileBinaryFormat$inboundSchema;
|
|
391
|
+
/** @deprecated use `StreamRunAgentFileBinaryFormat$outboundSchema` instead. */
|
|
392
|
+
StreamRunAgentFileBinaryFormat$.outboundSchema = exports.StreamRunAgentFileBinaryFormat$outboundSchema;
|
|
393
|
+
})(StreamRunAgentFileBinaryFormat$ || (exports.StreamRunAgentFileBinaryFormat$ = StreamRunAgentFileBinaryFormat$ = {}));
|
|
394
|
+
function streamRunAgentFileBinaryFormatToJSON(streamRunAgentFileBinaryFormat) {
|
|
395
|
+
return JSON.stringify(exports.StreamRunAgentFileBinaryFormat$outboundSchema.parse(streamRunAgentFileBinaryFormat));
|
|
408
396
|
}
|
|
409
|
-
function
|
|
410
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
397
|
+
function streamRunAgentFileBinaryFormatFromJSON(jsonString) {
|
|
398
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.StreamRunAgentFileBinaryFormat$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'StreamRunAgentFileBinaryFormat' from JSON`);
|
|
411
399
|
}
|
|
412
400
|
/** @internal */
|
|
413
401
|
exports.StreamRunAgentPublicMessagePartFile$inboundSchema = z.union([
|
|
414
|
-
z.lazy(() => exports.
|
|
415
|
-
z.lazy(() => exports.
|
|
402
|
+
z.lazy(() => exports.StreamRunAgentFileBinaryFormat$inboundSchema),
|
|
403
|
+
z.lazy(() => exports.StreamRunAgentFileFileInURIFormat$inboundSchema),
|
|
416
404
|
]);
|
|
417
405
|
/** @internal */
|
|
418
406
|
exports.StreamRunAgentPublicMessagePartFile$outboundSchema = z.union([
|
|
419
|
-
z.lazy(() => exports.
|
|
420
|
-
z.lazy(() => exports.
|
|
407
|
+
z.lazy(() => exports.StreamRunAgentFileBinaryFormat$outboundSchema),
|
|
408
|
+
z.lazy(() => exports.StreamRunAgentFileFileInURIFormat$outboundSchema),
|
|
421
409
|
]);
|
|
422
410
|
/**
|
|
423
411
|
* @internal
|
|
@@ -437,20 +425,20 @@ function streamRunAgentPublicMessagePartFileFromJSON(jsonString) {
|
|
|
437
425
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.StreamRunAgentPublicMessagePartFile$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'StreamRunAgentPublicMessagePartFile' from JSON`);
|
|
438
426
|
}
|
|
439
427
|
/** @internal */
|
|
440
|
-
exports.
|
|
428
|
+
exports.StreamRunAgentPublicMessagePartFilePart$inboundSchema = z.object({
|
|
441
429
|
kind: exports.StreamRunAgentPublicMessagePartAgentsKind$inboundSchema,
|
|
442
430
|
file: z.union([
|
|
443
|
-
z.lazy(() => exports.
|
|
444
|
-
z.lazy(() => exports.
|
|
431
|
+
z.lazy(() => exports.StreamRunAgentFileBinaryFormat$inboundSchema),
|
|
432
|
+
z.lazy(() => exports.StreamRunAgentFileFileInURIFormat$inboundSchema),
|
|
445
433
|
]),
|
|
446
434
|
metadata: z.record(z.any()).optional(),
|
|
447
435
|
});
|
|
448
436
|
/** @internal */
|
|
449
|
-
exports.
|
|
437
|
+
exports.StreamRunAgentPublicMessagePartFilePart$outboundSchema = z.object({
|
|
450
438
|
kind: exports.StreamRunAgentPublicMessagePartAgentsKind$outboundSchema,
|
|
451
439
|
file: z.union([
|
|
452
|
-
z.lazy(() => exports.
|
|
453
|
-
z.lazy(() => exports.
|
|
440
|
+
z.lazy(() => exports.StreamRunAgentFileBinaryFormat$outboundSchema),
|
|
441
|
+
z.lazy(() => exports.StreamRunAgentFileFileInURIFormat$outboundSchema),
|
|
454
442
|
]),
|
|
455
443
|
metadata: z.record(z.any()).optional(),
|
|
456
444
|
});
|
|
@@ -458,18 +446,18 @@ exports.PublicMessagePartFilePart$outboundSchema = z.object({
|
|
|
458
446
|
* @internal
|
|
459
447
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
460
448
|
*/
|
|
461
|
-
var
|
|
462
|
-
(function (
|
|
463
|
-
/** @deprecated use `
|
|
464
|
-
|
|
465
|
-
/** @deprecated use `
|
|
466
|
-
|
|
467
|
-
})(
|
|
468
|
-
function
|
|
469
|
-
return JSON.stringify(exports.
|
|
449
|
+
var StreamRunAgentPublicMessagePartFilePart$;
|
|
450
|
+
(function (StreamRunAgentPublicMessagePartFilePart$) {
|
|
451
|
+
/** @deprecated use `StreamRunAgentPublicMessagePartFilePart$inboundSchema` instead. */
|
|
452
|
+
StreamRunAgentPublicMessagePartFilePart$.inboundSchema = exports.StreamRunAgentPublicMessagePartFilePart$inboundSchema;
|
|
453
|
+
/** @deprecated use `StreamRunAgentPublicMessagePartFilePart$outboundSchema` instead. */
|
|
454
|
+
StreamRunAgentPublicMessagePartFilePart$.outboundSchema = exports.StreamRunAgentPublicMessagePartFilePart$outboundSchema;
|
|
455
|
+
})(StreamRunAgentPublicMessagePartFilePart$ || (exports.StreamRunAgentPublicMessagePartFilePart$ = StreamRunAgentPublicMessagePartFilePart$ = {}));
|
|
456
|
+
function streamRunAgentPublicMessagePartFilePartToJSON(streamRunAgentPublicMessagePartFilePart) {
|
|
457
|
+
return JSON.stringify(exports.StreamRunAgentPublicMessagePartFilePart$outboundSchema.parse(streamRunAgentPublicMessagePartFilePart));
|
|
470
458
|
}
|
|
471
|
-
function
|
|
472
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
459
|
+
function streamRunAgentPublicMessagePartFilePartFromJSON(jsonString) {
|
|
460
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.StreamRunAgentPublicMessagePartFilePart$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'StreamRunAgentPublicMessagePartFilePart' from JSON`);
|
|
473
461
|
}
|
|
474
462
|
/** @internal */
|
|
475
463
|
exports.StreamRunAgentPublicMessagePartKind$inboundSchema = z.nativeEnum(exports.StreamRunAgentPublicMessagePartKind);
|
|
@@ -487,12 +475,12 @@ var StreamRunAgentPublicMessagePartKind$;
|
|
|
487
475
|
StreamRunAgentPublicMessagePartKind$.outboundSchema = exports.StreamRunAgentPublicMessagePartKind$outboundSchema;
|
|
488
476
|
})(StreamRunAgentPublicMessagePartKind$ || (exports.StreamRunAgentPublicMessagePartKind$ = StreamRunAgentPublicMessagePartKind$ = {}));
|
|
489
477
|
/** @internal */
|
|
490
|
-
exports.
|
|
478
|
+
exports.StreamRunAgentPublicMessagePartTextPart$inboundSchema = z.object({
|
|
491
479
|
kind: exports.StreamRunAgentPublicMessagePartKind$inboundSchema,
|
|
492
480
|
text: z.string(),
|
|
493
481
|
});
|
|
494
482
|
/** @internal */
|
|
495
|
-
exports.
|
|
483
|
+
exports.StreamRunAgentPublicMessagePartTextPart$outboundSchema = z.object({
|
|
496
484
|
kind: exports.StreamRunAgentPublicMessagePartKind$outboundSchema,
|
|
497
485
|
text: z.string(),
|
|
498
486
|
});
|
|
@@ -500,30 +488,30 @@ exports.PublicMessagePartTextPart$outboundSchema = z.object({
|
|
|
500
488
|
* @internal
|
|
501
489
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
502
490
|
*/
|
|
503
|
-
var
|
|
504
|
-
(function (
|
|
505
|
-
/** @deprecated use `
|
|
506
|
-
|
|
507
|
-
/** @deprecated use `
|
|
508
|
-
|
|
509
|
-
})(
|
|
510
|
-
function
|
|
511
|
-
return JSON.stringify(exports.
|
|
491
|
+
var StreamRunAgentPublicMessagePartTextPart$;
|
|
492
|
+
(function (StreamRunAgentPublicMessagePartTextPart$) {
|
|
493
|
+
/** @deprecated use `StreamRunAgentPublicMessagePartTextPart$inboundSchema` instead. */
|
|
494
|
+
StreamRunAgentPublicMessagePartTextPart$.inboundSchema = exports.StreamRunAgentPublicMessagePartTextPart$inboundSchema;
|
|
495
|
+
/** @deprecated use `StreamRunAgentPublicMessagePartTextPart$outboundSchema` instead. */
|
|
496
|
+
StreamRunAgentPublicMessagePartTextPart$.outboundSchema = exports.StreamRunAgentPublicMessagePartTextPart$outboundSchema;
|
|
497
|
+
})(StreamRunAgentPublicMessagePartTextPart$ || (exports.StreamRunAgentPublicMessagePartTextPart$ = StreamRunAgentPublicMessagePartTextPart$ = {}));
|
|
498
|
+
function streamRunAgentPublicMessagePartTextPartToJSON(streamRunAgentPublicMessagePartTextPart) {
|
|
499
|
+
return JSON.stringify(exports.StreamRunAgentPublicMessagePartTextPart$outboundSchema.parse(streamRunAgentPublicMessagePartTextPart));
|
|
512
500
|
}
|
|
513
|
-
function
|
|
514
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
501
|
+
function streamRunAgentPublicMessagePartTextPartFromJSON(jsonString) {
|
|
502
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.StreamRunAgentPublicMessagePartTextPart$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'StreamRunAgentPublicMessagePartTextPart' from JSON`);
|
|
515
503
|
}
|
|
516
504
|
/** @internal */
|
|
517
505
|
exports.StreamRunAgentPublicMessagePart$inboundSchema = z.union([
|
|
518
|
-
z.lazy(() => exports.
|
|
519
|
-
z.lazy(() => exports.
|
|
520
|
-
z.lazy(() => exports.
|
|
506
|
+
z.lazy(() => exports.StreamRunAgentPublicMessagePartTextPart$inboundSchema),
|
|
507
|
+
z.lazy(() => exports.StreamRunAgentPublicMessagePartFilePart$inboundSchema),
|
|
508
|
+
z.lazy(() => exports.StreamRunAgentPublicMessagePartToolResultPart$inboundSchema),
|
|
521
509
|
]);
|
|
522
510
|
/** @internal */
|
|
523
511
|
exports.StreamRunAgentPublicMessagePart$outboundSchema = z.union([
|
|
524
|
-
z.lazy(() => exports.
|
|
525
|
-
z.lazy(() => exports.
|
|
526
|
-
z.lazy(() => exports.
|
|
512
|
+
z.lazy(() => exports.StreamRunAgentPublicMessagePartTextPart$outboundSchema),
|
|
513
|
+
z.lazy(() => exports.StreamRunAgentPublicMessagePartFilePart$outboundSchema),
|
|
514
|
+
z.lazy(() => exports.StreamRunAgentPublicMessagePartToolResultPart$outboundSchema),
|
|
527
515
|
]);
|
|
528
516
|
/**
|
|
529
517
|
* @internal
|
|
@@ -550,9 +538,9 @@ exports.StreamRunAgentMessage$inboundSchema = z.object({
|
|
|
550
538
|
exports.StreamRunAgentRoleToolMessage$inboundSchema,
|
|
551
539
|
]),
|
|
552
540
|
parts: z.array(z.union([
|
|
553
|
-
z.lazy(() => exports.
|
|
554
|
-
z.lazy(() => exports.
|
|
555
|
-
z.lazy(() => exports.
|
|
541
|
+
z.lazy(() => exports.StreamRunAgentPublicMessagePartTextPart$inboundSchema),
|
|
542
|
+
z.lazy(() => exports.StreamRunAgentPublicMessagePartFilePart$inboundSchema),
|
|
543
|
+
z.lazy(() => exports.StreamRunAgentPublicMessagePartToolResultPart$inboundSchema),
|
|
556
544
|
])),
|
|
557
545
|
});
|
|
558
546
|
/** @internal */
|
|
@@ -563,9 +551,9 @@ exports.StreamRunAgentMessage$outboundSchema = z.object({
|
|
|
563
551
|
exports.StreamRunAgentRoleToolMessage$outboundSchema,
|
|
564
552
|
]),
|
|
565
553
|
parts: z.array(z.union([
|
|
566
|
-
z.lazy(() => exports.
|
|
567
|
-
z.lazy(() => exports.
|
|
568
|
-
z.lazy(() => exports.
|
|
554
|
+
z.lazy(() => exports.StreamRunAgentPublicMessagePartTextPart$outboundSchema),
|
|
555
|
+
z.lazy(() => exports.StreamRunAgentPublicMessagePartFilePart$outboundSchema),
|
|
556
|
+
z.lazy(() => exports.StreamRunAgentPublicMessagePartToolResultPart$outboundSchema),
|
|
569
557
|
])),
|
|
570
558
|
});
|
|
571
559
|
/**
|
|
@@ -691,130 +679,20 @@ function streamRunAgentMemoryFromJSON(jsonString) {
|
|
|
691
679
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.StreamRunAgentMemory$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'StreamRunAgentMemory' from JSON`);
|
|
692
680
|
}
|
|
693
681
|
/** @internal */
|
|
694
|
-
exports.StreamRunAgentKnowledgeBaseConfigurationAgentsType$inboundSchema = z
|
|
695
|
-
.nativeEnum(exports.StreamRunAgentKnowledgeBaseConfigurationAgentsType);
|
|
696
|
-
/** @internal */
|
|
697
|
-
exports.StreamRunAgentKnowledgeBaseConfigurationAgentsType$outboundSchema = exports.StreamRunAgentKnowledgeBaseConfigurationAgentsType$inboundSchema;
|
|
698
|
-
/**
|
|
699
|
-
* @internal
|
|
700
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
701
|
-
*/
|
|
702
|
-
var StreamRunAgentKnowledgeBaseConfigurationAgentsType$;
|
|
703
|
-
(function (StreamRunAgentKnowledgeBaseConfigurationAgentsType$) {
|
|
704
|
-
/** @deprecated use `StreamRunAgentKnowledgeBaseConfigurationAgentsType$inboundSchema` instead. */
|
|
705
|
-
StreamRunAgentKnowledgeBaseConfigurationAgentsType$.inboundSchema = exports.StreamRunAgentKnowledgeBaseConfigurationAgentsType$inboundSchema;
|
|
706
|
-
/** @deprecated use `StreamRunAgentKnowledgeBaseConfigurationAgentsType$outboundSchema` instead. */
|
|
707
|
-
StreamRunAgentKnowledgeBaseConfigurationAgentsType$.outboundSchema = exports.StreamRunAgentKnowledgeBaseConfigurationAgentsType$outboundSchema;
|
|
708
|
-
})(StreamRunAgentKnowledgeBaseConfigurationAgentsType$ || (exports.StreamRunAgentKnowledgeBaseConfigurationAgentsType$ = StreamRunAgentKnowledgeBaseConfigurationAgentsType$ = {}));
|
|
709
|
-
/** @internal */
|
|
710
|
-
exports.KnowledgeBaseConfigurationKnowledgeBaseStaticQuery$inboundSchema = z.object({
|
|
711
|
-
type: exports.StreamRunAgentKnowledgeBaseConfigurationAgentsType$inboundSchema,
|
|
712
|
-
query: z.string(),
|
|
713
|
-
});
|
|
714
|
-
/** @internal */
|
|
715
|
-
exports.KnowledgeBaseConfigurationKnowledgeBaseStaticQuery$outboundSchema = z.object({
|
|
716
|
-
type: exports.StreamRunAgentKnowledgeBaseConfigurationAgentsType$outboundSchema,
|
|
717
|
-
query: z.string(),
|
|
718
|
-
});
|
|
719
|
-
/**
|
|
720
|
-
* @internal
|
|
721
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
722
|
-
*/
|
|
723
|
-
var KnowledgeBaseConfigurationKnowledgeBaseStaticQuery$;
|
|
724
|
-
(function (KnowledgeBaseConfigurationKnowledgeBaseStaticQuery$) {
|
|
725
|
-
/** @deprecated use `KnowledgeBaseConfigurationKnowledgeBaseStaticQuery$inboundSchema` instead. */
|
|
726
|
-
KnowledgeBaseConfigurationKnowledgeBaseStaticQuery$.inboundSchema = exports.KnowledgeBaseConfigurationKnowledgeBaseStaticQuery$inboundSchema;
|
|
727
|
-
/** @deprecated use `KnowledgeBaseConfigurationKnowledgeBaseStaticQuery$outboundSchema` instead. */
|
|
728
|
-
KnowledgeBaseConfigurationKnowledgeBaseStaticQuery$.outboundSchema = exports.KnowledgeBaseConfigurationKnowledgeBaseStaticQuery$outboundSchema;
|
|
729
|
-
})(KnowledgeBaseConfigurationKnowledgeBaseStaticQuery$ || (exports.KnowledgeBaseConfigurationKnowledgeBaseStaticQuery$ = KnowledgeBaseConfigurationKnowledgeBaseStaticQuery$ = {}));
|
|
730
|
-
function knowledgeBaseConfigurationKnowledgeBaseStaticQueryToJSON(knowledgeBaseConfigurationKnowledgeBaseStaticQuery) {
|
|
731
|
-
return JSON.stringify(exports.KnowledgeBaseConfigurationKnowledgeBaseStaticQuery$outboundSchema.parse(knowledgeBaseConfigurationKnowledgeBaseStaticQuery));
|
|
732
|
-
}
|
|
733
|
-
function knowledgeBaseConfigurationKnowledgeBaseStaticQueryFromJSON(jsonString) {
|
|
734
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.KnowledgeBaseConfigurationKnowledgeBaseStaticQuery$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'KnowledgeBaseConfigurationKnowledgeBaseStaticQuery' from JSON`);
|
|
735
|
-
}
|
|
736
|
-
/** @internal */
|
|
737
|
-
exports.StreamRunAgentKnowledgeBaseConfigurationType$inboundSchema = z
|
|
738
|
-
.nativeEnum(exports.StreamRunAgentKnowledgeBaseConfigurationType);
|
|
739
|
-
/** @internal */
|
|
740
|
-
exports.StreamRunAgentKnowledgeBaseConfigurationType$outboundSchema = exports.StreamRunAgentKnowledgeBaseConfigurationType$inboundSchema;
|
|
741
|
-
/**
|
|
742
|
-
* @internal
|
|
743
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
744
|
-
*/
|
|
745
|
-
var StreamRunAgentKnowledgeBaseConfigurationType$;
|
|
746
|
-
(function (StreamRunAgentKnowledgeBaseConfigurationType$) {
|
|
747
|
-
/** @deprecated use `StreamRunAgentKnowledgeBaseConfigurationType$inboundSchema` instead. */
|
|
748
|
-
StreamRunAgentKnowledgeBaseConfigurationType$.inboundSchema = exports.StreamRunAgentKnowledgeBaseConfigurationType$inboundSchema;
|
|
749
|
-
/** @deprecated use `StreamRunAgentKnowledgeBaseConfigurationType$outboundSchema` instead. */
|
|
750
|
-
StreamRunAgentKnowledgeBaseConfigurationType$.outboundSchema = exports.StreamRunAgentKnowledgeBaseConfigurationType$outboundSchema;
|
|
751
|
-
})(StreamRunAgentKnowledgeBaseConfigurationType$ || (exports.StreamRunAgentKnowledgeBaseConfigurationType$ = StreamRunAgentKnowledgeBaseConfigurationType$ = {}));
|
|
752
|
-
/** @internal */
|
|
753
|
-
exports.KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$inboundSchema = z.object({
|
|
754
|
-
type: exports.StreamRunAgentKnowledgeBaseConfigurationType$inboundSchema,
|
|
755
|
-
});
|
|
756
|
-
/** @internal */
|
|
757
|
-
exports.KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$outboundSchema = z.object({
|
|
758
|
-
type: exports.StreamRunAgentKnowledgeBaseConfigurationType$outboundSchema,
|
|
759
|
-
});
|
|
760
|
-
/**
|
|
761
|
-
* @internal
|
|
762
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
763
|
-
*/
|
|
764
|
-
var KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$;
|
|
765
|
-
(function (KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$) {
|
|
766
|
-
/** @deprecated use `KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$inboundSchema` instead. */
|
|
767
|
-
KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$.inboundSchema = exports.KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$inboundSchema;
|
|
768
|
-
/** @deprecated use `KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$outboundSchema` instead. */
|
|
769
|
-
KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$.outboundSchema = exports.KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$outboundSchema;
|
|
770
|
-
})(KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$ || (exports.KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$ = KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$ = {}));
|
|
771
|
-
function knowledgeBaseConfigurationKnowledgeBaseLastUserMessageToJSON(knowledgeBaseConfigurationKnowledgeBaseLastUserMessage) {
|
|
772
|
-
return JSON.stringify(exports.KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$outboundSchema.parse(knowledgeBaseConfigurationKnowledgeBaseLastUserMessage));
|
|
773
|
-
}
|
|
774
|
-
function knowledgeBaseConfigurationKnowledgeBaseLastUserMessageFromJSON(jsonString) {
|
|
775
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$inboundSchema
|
|
776
|
-
.parse(JSON.parse(x)), `Failed to parse 'KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage' from JSON`);
|
|
777
|
-
}
|
|
778
|
-
/** @internal */
|
|
779
|
-
exports.StreamRunAgentKnowledgeBaseConfiguration$inboundSchema = z.union([
|
|
780
|
-
z.lazy(() => exports.KnowledgeBaseConfigurationKnowledgeBaseStaticQuery$inboundSchema),
|
|
781
|
-
z.lazy(() => exports.KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$inboundSchema),
|
|
782
|
-
]);
|
|
783
|
-
/** @internal */
|
|
784
|
-
exports.StreamRunAgentKnowledgeBaseConfiguration$outboundSchema = z.union([
|
|
785
|
-
z.lazy(() => exports.KnowledgeBaseConfigurationKnowledgeBaseStaticQuery$outboundSchema),
|
|
786
|
-
z.lazy(() => exports.KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$outboundSchema),
|
|
787
|
-
]);
|
|
788
|
-
/**
|
|
789
|
-
* @internal
|
|
790
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
791
|
-
*/
|
|
792
|
-
var StreamRunAgentKnowledgeBaseConfiguration$;
|
|
793
|
-
(function (StreamRunAgentKnowledgeBaseConfiguration$) {
|
|
794
|
-
/** @deprecated use `StreamRunAgentKnowledgeBaseConfiguration$inboundSchema` instead. */
|
|
795
|
-
StreamRunAgentKnowledgeBaseConfiguration$.inboundSchema = exports.StreamRunAgentKnowledgeBaseConfiguration$inboundSchema;
|
|
796
|
-
/** @deprecated use `StreamRunAgentKnowledgeBaseConfiguration$outboundSchema` instead. */
|
|
797
|
-
StreamRunAgentKnowledgeBaseConfiguration$.outboundSchema = exports.StreamRunAgentKnowledgeBaseConfiguration$outboundSchema;
|
|
798
|
-
})(StreamRunAgentKnowledgeBaseConfiguration$ || (exports.StreamRunAgentKnowledgeBaseConfiguration$ = StreamRunAgentKnowledgeBaseConfiguration$ = {}));
|
|
799
|
-
function streamRunAgentKnowledgeBaseConfigurationToJSON(streamRunAgentKnowledgeBaseConfiguration) {
|
|
800
|
-
return JSON.stringify(exports.StreamRunAgentKnowledgeBaseConfiguration$outboundSchema.parse(streamRunAgentKnowledgeBaseConfiguration));
|
|
801
|
-
}
|
|
802
|
-
function streamRunAgentKnowledgeBaseConfigurationFromJSON(jsonString) {
|
|
803
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.StreamRunAgentKnowledgeBaseConfiguration$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'StreamRunAgentKnowledgeBaseConfiguration' from JSON`);
|
|
804
|
-
}
|
|
805
|
-
/** @internal */
|
|
806
682
|
exports.StreamRunAgentKnowledgeBases$inboundSchema = z.object({
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
683
|
+
knowledge_id: z.string(),
|
|
684
|
+
}).transform((v) => {
|
|
685
|
+
return (0, primitives_js_1.remap)(v, {
|
|
686
|
+
"knowledge_id": "knowledgeId",
|
|
687
|
+
});
|
|
811
688
|
});
|
|
812
689
|
/** @internal */
|
|
813
690
|
exports.StreamRunAgentKnowledgeBases$outboundSchema = z.object({
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
691
|
+
knowledgeId: z.string(),
|
|
692
|
+
}).transform((v) => {
|
|
693
|
+
return (0, primitives_js_1.remap)(v, {
|
|
694
|
+
knowledgeId: "knowledge_id",
|
|
695
|
+
});
|
|
818
696
|
});
|
|
819
697
|
/**
|
|
820
698
|
* @internal
|
|
@@ -861,29 +739,29 @@ function streamRunAgentTeamOfAgentsFromJSON(jsonString) {
|
|
|
861
739
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.StreamRunAgentTeamOfAgents$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'StreamRunAgentTeamOfAgents' from JSON`);
|
|
862
740
|
}
|
|
863
741
|
/** @internal */
|
|
864
|
-
exports.
|
|
742
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$inboundSchema = z.nativeEnum(exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type);
|
|
865
743
|
/** @internal */
|
|
866
|
-
exports.
|
|
744
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$inboundSchema;
|
|
867
745
|
/**
|
|
868
746
|
* @internal
|
|
869
747
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
870
748
|
*/
|
|
871
|
-
var
|
|
872
|
-
(function (
|
|
873
|
-
/** @deprecated use `
|
|
874
|
-
|
|
875
|
-
/** @deprecated use `
|
|
876
|
-
|
|
877
|
-
})(
|
|
749
|
+
var StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$;
|
|
750
|
+
(function (StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$) {
|
|
751
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$inboundSchema` instead. */
|
|
752
|
+
StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$.inboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$inboundSchema;
|
|
753
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$outboundSchema` instead. */
|
|
754
|
+
StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$.outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$outboundSchema;
|
|
755
|
+
})(StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$ || (exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$ = StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$ = {}));
|
|
878
756
|
/** @internal */
|
|
879
|
-
exports.
|
|
757
|
+
exports.StreamRunAgentAgentToolInputRunFunction$inboundSchema = z.object({
|
|
880
758
|
name: z.string(),
|
|
881
759
|
description: z.string().optional(),
|
|
882
760
|
strict: z.boolean().optional(),
|
|
883
761
|
parameters: z.record(z.any()).optional(),
|
|
884
762
|
});
|
|
885
763
|
/** @internal */
|
|
886
|
-
exports.
|
|
764
|
+
exports.StreamRunAgentAgentToolInputRunFunction$outboundSchema = z.object({
|
|
887
765
|
name: z.string(),
|
|
888
766
|
description: z.string().optional(),
|
|
889
767
|
strict: z.boolean().optional(),
|
|
@@ -893,28 +771,28 @@ exports.StreamRunAgentRunAgentRequestToolFunction$outboundSchema = z.object({
|
|
|
893
771
|
* @internal
|
|
894
772
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
895
773
|
*/
|
|
896
|
-
var
|
|
897
|
-
(function (
|
|
898
|
-
/** @deprecated use `
|
|
899
|
-
|
|
900
|
-
/** @deprecated use `
|
|
901
|
-
|
|
902
|
-
})(
|
|
903
|
-
function
|
|
904
|
-
return JSON.stringify(exports.
|
|
774
|
+
var StreamRunAgentAgentToolInputRunFunction$;
|
|
775
|
+
(function (StreamRunAgentAgentToolInputRunFunction$) {
|
|
776
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunFunction$inboundSchema` instead. */
|
|
777
|
+
StreamRunAgentAgentToolInputRunFunction$.inboundSchema = exports.StreamRunAgentAgentToolInputRunFunction$inboundSchema;
|
|
778
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunFunction$outboundSchema` instead. */
|
|
779
|
+
StreamRunAgentAgentToolInputRunFunction$.outboundSchema = exports.StreamRunAgentAgentToolInputRunFunction$outboundSchema;
|
|
780
|
+
})(StreamRunAgentAgentToolInputRunFunction$ || (exports.StreamRunAgentAgentToolInputRunFunction$ = StreamRunAgentAgentToolInputRunFunction$ = {}));
|
|
781
|
+
function streamRunAgentAgentToolInputRunFunctionToJSON(streamRunAgentAgentToolInputRunFunction) {
|
|
782
|
+
return JSON.stringify(exports.StreamRunAgentAgentToolInputRunFunction$outboundSchema.parse(streamRunAgentAgentToolInputRunFunction));
|
|
905
783
|
}
|
|
906
|
-
function
|
|
907
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
784
|
+
function streamRunAgentAgentToolInputRunFunctionFromJSON(jsonString) {
|
|
785
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.StreamRunAgentAgentToolInputRunFunction$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'StreamRunAgentAgentToolInputRunFunction' from JSON`);
|
|
908
786
|
}
|
|
909
787
|
/** @internal */
|
|
910
|
-
exports.
|
|
911
|
-
type: exports.
|
|
912
|
-
_id: z.string().optional(),
|
|
788
|
+
exports.AgentToolInputRunFunctionToolRun$inboundSchema = z.object({
|
|
789
|
+
type: exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$inboundSchema,
|
|
913
790
|
key: z.string(),
|
|
791
|
+
_id: z.string().optional(),
|
|
914
792
|
display_name: z.string().optional(),
|
|
915
793
|
description: z.string().optional(),
|
|
794
|
+
function: z.lazy(() => exports.StreamRunAgentAgentToolInputRunFunction$inboundSchema),
|
|
916
795
|
requires_approval: z.boolean().default(false),
|
|
917
|
-
function: z.lazy(() => exports.StreamRunAgentRunAgentRequestToolFunction$inboundSchema),
|
|
918
796
|
}).transform((v) => {
|
|
919
797
|
return (0, primitives_js_1.remap)(v, {
|
|
920
798
|
"_id": "id",
|
|
@@ -923,14 +801,14 @@ exports.RunAgentRequestToolFunctionTool$inboundSchema = z.object({
|
|
|
923
801
|
});
|
|
924
802
|
});
|
|
925
803
|
/** @internal */
|
|
926
|
-
exports.
|
|
927
|
-
type: exports.
|
|
928
|
-
id: z.string().optional(),
|
|
804
|
+
exports.AgentToolInputRunFunctionToolRun$outboundSchema = z.object({
|
|
805
|
+
type: exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$outboundSchema,
|
|
929
806
|
key: z.string(),
|
|
807
|
+
id: z.string().optional(),
|
|
930
808
|
displayName: z.string().optional(),
|
|
931
809
|
description: z.string().optional(),
|
|
810
|
+
function: z.lazy(() => exports.StreamRunAgentAgentToolInputRunFunction$outboundSchema),
|
|
932
811
|
requiresApproval: z.boolean().default(false),
|
|
933
|
-
function: z.lazy(() => exports.StreamRunAgentRunAgentRequestToolFunction$outboundSchema),
|
|
934
812
|
}).transform((v) => {
|
|
935
813
|
return (0, primitives_js_1.remap)(v, {
|
|
936
814
|
id: "_id",
|
|
@@ -942,109 +820,109 @@ exports.RunAgentRequestToolFunctionTool$outboundSchema = z.object({
|
|
|
942
820
|
* @internal
|
|
943
821
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
944
822
|
*/
|
|
945
|
-
var
|
|
946
|
-
(function (
|
|
947
|
-
/** @deprecated use `
|
|
948
|
-
|
|
949
|
-
/** @deprecated use `
|
|
950
|
-
|
|
951
|
-
})(
|
|
952
|
-
function
|
|
953
|
-
return JSON.stringify(exports.
|
|
823
|
+
var AgentToolInputRunFunctionToolRun$;
|
|
824
|
+
(function (AgentToolInputRunFunctionToolRun$) {
|
|
825
|
+
/** @deprecated use `AgentToolInputRunFunctionToolRun$inboundSchema` instead. */
|
|
826
|
+
AgentToolInputRunFunctionToolRun$.inboundSchema = exports.AgentToolInputRunFunctionToolRun$inboundSchema;
|
|
827
|
+
/** @deprecated use `AgentToolInputRunFunctionToolRun$outboundSchema` instead. */
|
|
828
|
+
AgentToolInputRunFunctionToolRun$.outboundSchema = exports.AgentToolInputRunFunctionToolRun$outboundSchema;
|
|
829
|
+
})(AgentToolInputRunFunctionToolRun$ || (exports.AgentToolInputRunFunctionToolRun$ = AgentToolInputRunFunctionToolRun$ = {}));
|
|
830
|
+
function agentToolInputRunFunctionToolRunToJSON(agentToolInputRunFunctionToolRun) {
|
|
831
|
+
return JSON.stringify(exports.AgentToolInputRunFunctionToolRun$outboundSchema.parse(agentToolInputRunFunctionToolRun));
|
|
954
832
|
}
|
|
955
|
-
function
|
|
956
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
833
|
+
function agentToolInputRunFunctionToolRunFromJSON(jsonString) {
|
|
834
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputRunFunctionToolRun$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputRunFunctionToolRun' from JSON`);
|
|
957
835
|
}
|
|
958
836
|
/** @internal */
|
|
959
|
-
exports.
|
|
837
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$inboundSchema = z.nativeEnum(exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type);
|
|
960
838
|
/** @internal */
|
|
961
|
-
exports.
|
|
839
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$inboundSchema;
|
|
962
840
|
/**
|
|
963
841
|
* @internal
|
|
964
842
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
965
843
|
*/
|
|
966
|
-
var
|
|
967
|
-
(function (
|
|
968
|
-
/** @deprecated use `
|
|
969
|
-
|
|
970
|
-
/** @deprecated use `
|
|
971
|
-
|
|
972
|
-
})(
|
|
844
|
+
var StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$;
|
|
845
|
+
(function (StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$) {
|
|
846
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$inboundSchema` instead. */
|
|
847
|
+
StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$.inboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$inboundSchema;
|
|
848
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$outboundSchema` instead. */
|
|
849
|
+
StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$.outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$outboundSchema;
|
|
850
|
+
})(StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$ || (exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$ = StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$ = {}));
|
|
973
851
|
/** @internal */
|
|
974
|
-
exports.
|
|
852
|
+
exports.AgentToolInputRunLanguage$inboundSchema = z.nativeEnum(exports.AgentToolInputRunLanguage);
|
|
975
853
|
/** @internal */
|
|
976
|
-
exports.
|
|
854
|
+
exports.AgentToolInputRunLanguage$outboundSchema = exports.AgentToolInputRunLanguage$inboundSchema;
|
|
977
855
|
/**
|
|
978
856
|
* @internal
|
|
979
857
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
980
858
|
*/
|
|
981
|
-
var
|
|
982
|
-
(function (
|
|
983
|
-
/** @deprecated use `
|
|
984
|
-
|
|
985
|
-
/** @deprecated use `
|
|
986
|
-
|
|
987
|
-
})(
|
|
859
|
+
var AgentToolInputRunLanguage$;
|
|
860
|
+
(function (AgentToolInputRunLanguage$) {
|
|
861
|
+
/** @deprecated use `AgentToolInputRunLanguage$inboundSchema` instead. */
|
|
862
|
+
AgentToolInputRunLanguage$.inboundSchema = exports.AgentToolInputRunLanguage$inboundSchema;
|
|
863
|
+
/** @deprecated use `AgentToolInputRunLanguage$outboundSchema` instead. */
|
|
864
|
+
AgentToolInputRunLanguage$.outboundSchema = exports.AgentToolInputRunLanguage$outboundSchema;
|
|
865
|
+
})(AgentToolInputRunLanguage$ || (exports.AgentToolInputRunLanguage$ = AgentToolInputRunLanguage$ = {}));
|
|
988
866
|
/** @internal */
|
|
989
|
-
exports.
|
|
867
|
+
exports.AgentToolInputRunCodeTool$inboundSchema = z.object({
|
|
990
868
|
parameters: z.record(z.any()).optional(),
|
|
991
|
-
language: exports.
|
|
869
|
+
language: exports.AgentToolInputRunLanguage$inboundSchema,
|
|
992
870
|
code: z.string(),
|
|
993
871
|
});
|
|
994
872
|
/** @internal */
|
|
995
|
-
exports.
|
|
873
|
+
exports.AgentToolInputRunCodeTool$outboundSchema = z.object({
|
|
996
874
|
parameters: z.record(z.any()).optional(),
|
|
997
|
-
language: exports.
|
|
875
|
+
language: exports.AgentToolInputRunLanguage$outboundSchema,
|
|
998
876
|
code: z.string(),
|
|
999
877
|
});
|
|
1000
878
|
/**
|
|
1001
879
|
* @internal
|
|
1002
880
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1003
881
|
*/
|
|
1004
|
-
var
|
|
1005
|
-
(function (
|
|
1006
|
-
/** @deprecated use `
|
|
1007
|
-
|
|
1008
|
-
/** @deprecated use `
|
|
1009
|
-
|
|
1010
|
-
})(
|
|
1011
|
-
function
|
|
1012
|
-
return JSON.stringify(exports.
|
|
882
|
+
var AgentToolInputRunCodeTool$;
|
|
883
|
+
(function (AgentToolInputRunCodeTool$) {
|
|
884
|
+
/** @deprecated use `AgentToolInputRunCodeTool$inboundSchema` instead. */
|
|
885
|
+
AgentToolInputRunCodeTool$.inboundSchema = exports.AgentToolInputRunCodeTool$inboundSchema;
|
|
886
|
+
/** @deprecated use `AgentToolInputRunCodeTool$outboundSchema` instead. */
|
|
887
|
+
AgentToolInputRunCodeTool$.outboundSchema = exports.AgentToolInputRunCodeTool$outboundSchema;
|
|
888
|
+
})(AgentToolInputRunCodeTool$ || (exports.AgentToolInputRunCodeTool$ = AgentToolInputRunCodeTool$ = {}));
|
|
889
|
+
function agentToolInputRunCodeToolToJSON(agentToolInputRunCodeTool) {
|
|
890
|
+
return JSON.stringify(exports.AgentToolInputRunCodeTool$outboundSchema.parse(agentToolInputRunCodeTool));
|
|
1013
891
|
}
|
|
1014
|
-
function
|
|
1015
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
892
|
+
function agentToolInputRunCodeToolFromJSON(jsonString) {
|
|
893
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputRunCodeTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputRunCodeTool' from JSON`);
|
|
1016
894
|
}
|
|
1017
895
|
/** @internal */
|
|
1018
|
-
exports.
|
|
896
|
+
exports.AgentToolInputRunCodeToolRun$inboundSchema = z.object({
|
|
897
|
+
type: exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$inboundSchema,
|
|
1019
898
|
key: z.string(),
|
|
1020
|
-
display_name: z.string(),
|
|
1021
|
-
description: z.string(),
|
|
1022
|
-
type: exports.StreamRunAgentRunAgentRequestToolAgentsRequestRequestBodySettingsTools13Type$inboundSchema,
|
|
1023
|
-
code_tool: z.lazy(() => exports.RunAgentRequestToolCodeTool$inboundSchema),
|
|
1024
899
|
_id: z.string().optional(),
|
|
900
|
+
display_name: z.string().optional(),
|
|
901
|
+
description: z.string(),
|
|
902
|
+
code_tool: z.lazy(() => exports.AgentToolInputRunCodeTool$inboundSchema),
|
|
1025
903
|
requires_approval: z.boolean().default(false),
|
|
1026
904
|
}).transform((v) => {
|
|
1027
905
|
return (0, primitives_js_1.remap)(v, {
|
|
906
|
+
"_id": "id",
|
|
1028
907
|
"display_name": "displayName",
|
|
1029
908
|
"code_tool": "codeTool",
|
|
1030
|
-
"_id": "id",
|
|
1031
909
|
"requires_approval": "requiresApproval",
|
|
1032
910
|
});
|
|
1033
911
|
});
|
|
1034
912
|
/** @internal */
|
|
1035
|
-
exports.
|
|
913
|
+
exports.AgentToolInputRunCodeToolRun$outboundSchema = z.object({
|
|
914
|
+
type: exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$outboundSchema,
|
|
1036
915
|
key: z.string(),
|
|
1037
|
-
displayName: z.string(),
|
|
1038
|
-
description: z.string(),
|
|
1039
|
-
type: exports.StreamRunAgentRunAgentRequestToolAgentsRequestRequestBodySettingsTools13Type$outboundSchema,
|
|
1040
|
-
codeTool: z.lazy(() => exports.RunAgentRequestToolCodeTool$outboundSchema),
|
|
1041
916
|
id: z.string().optional(),
|
|
917
|
+
displayName: z.string().optional(),
|
|
918
|
+
description: z.string(),
|
|
919
|
+
codeTool: z.lazy(() => exports.AgentToolInputRunCodeTool$outboundSchema),
|
|
1042
920
|
requiresApproval: z.boolean().default(false),
|
|
1043
921
|
}).transform((v) => {
|
|
1044
922
|
return (0, primitives_js_1.remap)(v, {
|
|
923
|
+
id: "_id",
|
|
1045
924
|
displayName: "display_name",
|
|
1046
925
|
codeTool: "code_tool",
|
|
1047
|
-
id: "_id",
|
|
1048
926
|
requiresApproval: "requires_approval",
|
|
1049
927
|
});
|
|
1050
928
|
});
|
|
@@ -1052,60 +930,60 @@ exports.RunAgentRequestToolCodeExecutionTool$outboundSchema = z.object({
|
|
|
1052
930
|
* @internal
|
|
1053
931
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1054
932
|
*/
|
|
1055
|
-
var
|
|
1056
|
-
(function (
|
|
1057
|
-
/** @deprecated use `
|
|
1058
|
-
|
|
1059
|
-
/** @deprecated use `
|
|
1060
|
-
|
|
1061
|
-
})(
|
|
1062
|
-
function
|
|
1063
|
-
return JSON.stringify(exports.
|
|
933
|
+
var AgentToolInputRunCodeToolRun$;
|
|
934
|
+
(function (AgentToolInputRunCodeToolRun$) {
|
|
935
|
+
/** @deprecated use `AgentToolInputRunCodeToolRun$inboundSchema` instead. */
|
|
936
|
+
AgentToolInputRunCodeToolRun$.inboundSchema = exports.AgentToolInputRunCodeToolRun$inboundSchema;
|
|
937
|
+
/** @deprecated use `AgentToolInputRunCodeToolRun$outboundSchema` instead. */
|
|
938
|
+
AgentToolInputRunCodeToolRun$.outboundSchema = exports.AgentToolInputRunCodeToolRun$outboundSchema;
|
|
939
|
+
})(AgentToolInputRunCodeToolRun$ || (exports.AgentToolInputRunCodeToolRun$ = AgentToolInputRunCodeToolRun$ = {}));
|
|
940
|
+
function agentToolInputRunCodeToolRunToJSON(agentToolInputRunCodeToolRun) {
|
|
941
|
+
return JSON.stringify(exports.AgentToolInputRunCodeToolRun$outboundSchema.parse(agentToolInputRunCodeToolRun));
|
|
1064
942
|
}
|
|
1065
|
-
function
|
|
1066
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
943
|
+
function agentToolInputRunCodeToolRunFromJSON(jsonString) {
|
|
944
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputRunCodeToolRun$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputRunCodeToolRun' from JSON`);
|
|
1067
945
|
}
|
|
1068
946
|
/** @internal */
|
|
1069
|
-
exports.
|
|
947
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$inboundSchema = z.nativeEnum(exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type);
|
|
1070
948
|
/** @internal */
|
|
1071
|
-
exports.
|
|
949
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$inboundSchema;
|
|
1072
950
|
/**
|
|
1073
951
|
* @internal
|
|
1074
952
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1075
953
|
*/
|
|
1076
|
-
var
|
|
1077
|
-
(function (
|
|
1078
|
-
/** @deprecated use `
|
|
1079
|
-
|
|
1080
|
-
/** @deprecated use `
|
|
1081
|
-
|
|
1082
|
-
})(
|
|
954
|
+
var StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$;
|
|
955
|
+
(function (StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$) {
|
|
956
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$inboundSchema` instead. */
|
|
957
|
+
StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$.inboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$inboundSchema;
|
|
958
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$outboundSchema` instead. */
|
|
959
|
+
StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$.outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$outboundSchema;
|
|
960
|
+
})(StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$ || (exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$ = StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$ = {}));
|
|
1083
961
|
/** @internal */
|
|
1084
|
-
exports.
|
|
962
|
+
exports.AgentToolInputRunMethod$inboundSchema = z.nativeEnum(exports.AgentToolInputRunMethod);
|
|
1085
963
|
/** @internal */
|
|
1086
|
-
exports.
|
|
964
|
+
exports.AgentToolInputRunMethod$outboundSchema = exports.AgentToolInputRunMethod$inboundSchema;
|
|
1087
965
|
/**
|
|
1088
966
|
* @internal
|
|
1089
967
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1090
968
|
*/
|
|
1091
|
-
var
|
|
1092
|
-
(function (
|
|
1093
|
-
/** @deprecated use `
|
|
1094
|
-
|
|
1095
|
-
/** @deprecated use `
|
|
1096
|
-
|
|
1097
|
-
})(
|
|
969
|
+
var AgentToolInputRunMethod$;
|
|
970
|
+
(function (AgentToolInputRunMethod$) {
|
|
971
|
+
/** @deprecated use `AgentToolInputRunMethod$inboundSchema` instead. */
|
|
972
|
+
AgentToolInputRunMethod$.inboundSchema = exports.AgentToolInputRunMethod$inboundSchema;
|
|
973
|
+
/** @deprecated use `AgentToolInputRunMethod$outboundSchema` instead. */
|
|
974
|
+
AgentToolInputRunMethod$.outboundSchema = exports.AgentToolInputRunMethod$outboundSchema;
|
|
975
|
+
})(AgentToolInputRunMethod$ || (exports.AgentToolInputRunMethod$ = AgentToolInputRunMethod$ = {}));
|
|
1098
976
|
/** @internal */
|
|
1099
|
-
exports.
|
|
977
|
+
exports.AgentToolInputRunBlueprint$inboundSchema = z.object({
|
|
1100
978
|
url: z.string(),
|
|
1101
|
-
method: exports.
|
|
979
|
+
method: exports.AgentToolInputRunMethod$inboundSchema,
|
|
1102
980
|
headers: z.record(z.string()).optional(),
|
|
1103
981
|
body: z.record(z.any()).optional(),
|
|
1104
982
|
});
|
|
1105
983
|
/** @internal */
|
|
1106
|
-
exports.
|
|
984
|
+
exports.AgentToolInputRunBlueprint$outboundSchema = z.object({
|
|
1107
985
|
url: z.string(),
|
|
1108
|
-
method: exports.
|
|
986
|
+
method: exports.AgentToolInputRunMethod$outboundSchema,
|
|
1109
987
|
headers: z.record(z.string()).optional(),
|
|
1110
988
|
body: z.record(z.any()).optional(),
|
|
1111
989
|
});
|
|
@@ -1113,58 +991,58 @@ exports.RunAgentRequestToolBlueprint$outboundSchema = z.object({
|
|
|
1113
991
|
* @internal
|
|
1114
992
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1115
993
|
*/
|
|
1116
|
-
var
|
|
1117
|
-
(function (
|
|
1118
|
-
/** @deprecated use `
|
|
1119
|
-
|
|
1120
|
-
/** @deprecated use `
|
|
1121
|
-
|
|
1122
|
-
})(
|
|
1123
|
-
function
|
|
1124
|
-
return JSON.stringify(exports.
|
|
994
|
+
var AgentToolInputRunBlueprint$;
|
|
995
|
+
(function (AgentToolInputRunBlueprint$) {
|
|
996
|
+
/** @deprecated use `AgentToolInputRunBlueprint$inboundSchema` instead. */
|
|
997
|
+
AgentToolInputRunBlueprint$.inboundSchema = exports.AgentToolInputRunBlueprint$inboundSchema;
|
|
998
|
+
/** @deprecated use `AgentToolInputRunBlueprint$outboundSchema` instead. */
|
|
999
|
+
AgentToolInputRunBlueprint$.outboundSchema = exports.AgentToolInputRunBlueprint$outboundSchema;
|
|
1000
|
+
})(AgentToolInputRunBlueprint$ || (exports.AgentToolInputRunBlueprint$ = AgentToolInputRunBlueprint$ = {}));
|
|
1001
|
+
function agentToolInputRunBlueprintToJSON(agentToolInputRunBlueprint) {
|
|
1002
|
+
return JSON.stringify(exports.AgentToolInputRunBlueprint$outboundSchema.parse(agentToolInputRunBlueprint));
|
|
1125
1003
|
}
|
|
1126
|
-
function
|
|
1127
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
1004
|
+
function agentToolInputRunBlueprintFromJSON(jsonString) {
|
|
1005
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputRunBlueprint$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputRunBlueprint' from JSON`);
|
|
1128
1006
|
}
|
|
1129
1007
|
/** @internal */
|
|
1130
|
-
exports.
|
|
1008
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$inboundSchema = z.nativeEnum(exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType);
|
|
1131
1009
|
/** @internal */
|
|
1132
|
-
exports.
|
|
1010
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$inboundSchema;
|
|
1133
1011
|
/**
|
|
1134
1012
|
* @internal
|
|
1135
1013
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1136
1014
|
*/
|
|
1137
|
-
var
|
|
1138
|
-
(function (
|
|
1139
|
-
/** @deprecated use `
|
|
1140
|
-
|
|
1141
|
-
/** @deprecated use `
|
|
1142
|
-
|
|
1143
|
-
})(
|
|
1015
|
+
var StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$;
|
|
1016
|
+
(function (StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$) {
|
|
1017
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$inboundSchema` instead. */
|
|
1018
|
+
StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$.inboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$inboundSchema;
|
|
1019
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$outboundSchema` instead. */
|
|
1020
|
+
StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$.outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$outboundSchema;
|
|
1021
|
+
})(StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$ || (exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$ = StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$ = {}));
|
|
1144
1022
|
/** @internal */
|
|
1145
|
-
exports.
|
|
1023
|
+
exports.AgentToolInputRunDefaultValue$inboundSchema = z.union([z.string(), z.number(), z.boolean()]);
|
|
1146
1024
|
/** @internal */
|
|
1147
|
-
exports.
|
|
1025
|
+
exports.AgentToolInputRunDefaultValue$outboundSchema = z.union([z.string(), z.number(), z.boolean()]);
|
|
1148
1026
|
/**
|
|
1149
1027
|
* @internal
|
|
1150
1028
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1151
1029
|
*/
|
|
1152
|
-
var
|
|
1153
|
-
(function (
|
|
1154
|
-
/** @deprecated use `
|
|
1155
|
-
|
|
1156
|
-
/** @deprecated use `
|
|
1157
|
-
|
|
1158
|
-
})(
|
|
1159
|
-
function
|
|
1160
|
-
return JSON.stringify(exports.
|
|
1030
|
+
var AgentToolInputRunDefaultValue$;
|
|
1031
|
+
(function (AgentToolInputRunDefaultValue$) {
|
|
1032
|
+
/** @deprecated use `AgentToolInputRunDefaultValue$inboundSchema` instead. */
|
|
1033
|
+
AgentToolInputRunDefaultValue$.inboundSchema = exports.AgentToolInputRunDefaultValue$inboundSchema;
|
|
1034
|
+
/** @deprecated use `AgentToolInputRunDefaultValue$outboundSchema` instead. */
|
|
1035
|
+
AgentToolInputRunDefaultValue$.outboundSchema = exports.AgentToolInputRunDefaultValue$outboundSchema;
|
|
1036
|
+
})(AgentToolInputRunDefaultValue$ || (exports.AgentToolInputRunDefaultValue$ = AgentToolInputRunDefaultValue$ = {}));
|
|
1037
|
+
function agentToolInputRunDefaultValueToJSON(agentToolInputRunDefaultValue) {
|
|
1038
|
+
return JSON.stringify(exports.AgentToolInputRunDefaultValue$outboundSchema.parse(agentToolInputRunDefaultValue));
|
|
1161
1039
|
}
|
|
1162
|
-
function
|
|
1163
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
1040
|
+
function agentToolInputRunDefaultValueFromJSON(jsonString) {
|
|
1041
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputRunDefaultValue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputRunDefaultValue' from JSON`);
|
|
1164
1042
|
}
|
|
1165
1043
|
/** @internal */
|
|
1166
|
-
exports.
|
|
1167
|
-
type: exports.
|
|
1044
|
+
exports.AgentToolInputRunArguments$inboundSchema = z.object({
|
|
1045
|
+
type: exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$inboundSchema,
|
|
1168
1046
|
description: z.string(),
|
|
1169
1047
|
send_to_model: z.boolean().default(true),
|
|
1170
1048
|
default_value: z.union([z.string(), z.number(), z.boolean()]).optional(),
|
|
@@ -1175,8 +1053,8 @@ exports.RunAgentRequestToolArguments$inboundSchema = z.object({
|
|
|
1175
1053
|
});
|
|
1176
1054
|
});
|
|
1177
1055
|
/** @internal */
|
|
1178
|
-
exports.
|
|
1179
|
-
type: exports.
|
|
1056
|
+
exports.AgentToolInputRunArguments$outboundSchema = z.object({
|
|
1057
|
+
type: exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$outboundSchema,
|
|
1180
1058
|
description: z.string(),
|
|
1181
1059
|
sendToModel: z.boolean().default(true),
|
|
1182
1060
|
defaultValue: z.union([z.string(), z.number(), z.boolean()]).optional(),
|
|
@@ -1190,56 +1068,56 @@ exports.RunAgentRequestToolArguments$outboundSchema = z.object({
|
|
|
1190
1068
|
* @internal
|
|
1191
1069
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1192
1070
|
*/
|
|
1193
|
-
var
|
|
1194
|
-
(function (
|
|
1195
|
-
/** @deprecated use `
|
|
1196
|
-
|
|
1197
|
-
/** @deprecated use `
|
|
1198
|
-
|
|
1199
|
-
})(
|
|
1200
|
-
function
|
|
1201
|
-
return JSON.stringify(exports.
|
|
1071
|
+
var AgentToolInputRunArguments$;
|
|
1072
|
+
(function (AgentToolInputRunArguments$) {
|
|
1073
|
+
/** @deprecated use `AgentToolInputRunArguments$inboundSchema` instead. */
|
|
1074
|
+
AgentToolInputRunArguments$.inboundSchema = exports.AgentToolInputRunArguments$inboundSchema;
|
|
1075
|
+
/** @deprecated use `AgentToolInputRunArguments$outboundSchema` instead. */
|
|
1076
|
+
AgentToolInputRunArguments$.outboundSchema = exports.AgentToolInputRunArguments$outboundSchema;
|
|
1077
|
+
})(AgentToolInputRunArguments$ || (exports.AgentToolInputRunArguments$ = AgentToolInputRunArguments$ = {}));
|
|
1078
|
+
function agentToolInputRunArgumentsToJSON(agentToolInputRunArguments) {
|
|
1079
|
+
return JSON.stringify(exports.AgentToolInputRunArguments$outboundSchema.parse(agentToolInputRunArguments));
|
|
1202
1080
|
}
|
|
1203
|
-
function
|
|
1204
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
1081
|
+
function agentToolInputRunArgumentsFromJSON(jsonString) {
|
|
1082
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputRunArguments$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputRunArguments' from JSON`);
|
|
1205
1083
|
}
|
|
1206
1084
|
/** @internal */
|
|
1207
|
-
exports.
|
|
1208
|
-
blueprint: z.lazy(() => exports.
|
|
1209
|
-
arguments: z.record(z.lazy(() => exports.
|
|
1085
|
+
exports.AgentToolInputRunHttp$inboundSchema = z.object({
|
|
1086
|
+
blueprint: z.lazy(() => exports.AgentToolInputRunBlueprint$inboundSchema),
|
|
1087
|
+
arguments: z.record(z.lazy(() => exports.AgentToolInputRunArguments$inboundSchema))
|
|
1210
1088
|
.optional(),
|
|
1211
1089
|
});
|
|
1212
1090
|
/** @internal */
|
|
1213
|
-
exports.
|
|
1214
|
-
blueprint: z.lazy(() => exports.
|
|
1215
|
-
arguments: z.record(z.lazy(() => exports.
|
|
1091
|
+
exports.AgentToolInputRunHttp$outboundSchema = z.object({
|
|
1092
|
+
blueprint: z.lazy(() => exports.AgentToolInputRunBlueprint$outboundSchema),
|
|
1093
|
+
arguments: z.record(z.lazy(() => exports.AgentToolInputRunArguments$outboundSchema))
|
|
1216
1094
|
.optional(),
|
|
1217
1095
|
});
|
|
1218
1096
|
/**
|
|
1219
1097
|
* @internal
|
|
1220
1098
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1221
1099
|
*/
|
|
1222
|
-
var
|
|
1223
|
-
(function (
|
|
1224
|
-
/** @deprecated use `
|
|
1225
|
-
|
|
1226
|
-
/** @deprecated use `
|
|
1227
|
-
|
|
1228
|
-
})(
|
|
1229
|
-
function
|
|
1230
|
-
return JSON.stringify(exports.
|
|
1100
|
+
var AgentToolInputRunHttp$;
|
|
1101
|
+
(function (AgentToolInputRunHttp$) {
|
|
1102
|
+
/** @deprecated use `AgentToolInputRunHttp$inboundSchema` instead. */
|
|
1103
|
+
AgentToolInputRunHttp$.inboundSchema = exports.AgentToolInputRunHttp$inboundSchema;
|
|
1104
|
+
/** @deprecated use `AgentToolInputRunHttp$outboundSchema` instead. */
|
|
1105
|
+
AgentToolInputRunHttp$.outboundSchema = exports.AgentToolInputRunHttp$outboundSchema;
|
|
1106
|
+
})(AgentToolInputRunHttp$ || (exports.AgentToolInputRunHttp$ = AgentToolInputRunHttp$ = {}));
|
|
1107
|
+
function agentToolInputRunHttpToJSON(agentToolInputRunHttp) {
|
|
1108
|
+
return JSON.stringify(exports.AgentToolInputRunHttp$outboundSchema.parse(agentToolInputRunHttp));
|
|
1231
1109
|
}
|
|
1232
|
-
function
|
|
1233
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
1110
|
+
function agentToolInputRunHttpFromJSON(jsonString) {
|
|
1111
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputRunHttp$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputRunHttp' from JSON`);
|
|
1234
1112
|
}
|
|
1235
1113
|
/** @internal */
|
|
1236
|
-
exports.
|
|
1237
|
-
|
|
1114
|
+
exports.AgentToolInputRunHTTPToolRun$inboundSchema = z.object({
|
|
1115
|
+
type: exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$inboundSchema,
|
|
1238
1116
|
key: z.string(),
|
|
1239
|
-
|
|
1117
|
+
_id: z.string().optional(),
|
|
1118
|
+
display_name: z.string().optional(),
|
|
1240
1119
|
description: z.string(),
|
|
1241
|
-
|
|
1242
|
-
http: z.lazy(() => exports.RunAgentRequestToolHttp$inboundSchema),
|
|
1120
|
+
http: z.lazy(() => exports.AgentToolInputRunHttp$inboundSchema),
|
|
1243
1121
|
requires_approval: z.boolean().default(false),
|
|
1244
1122
|
}).transform((v) => {
|
|
1245
1123
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1249,13 +1127,13 @@ exports.RunAgentRequestToolHTTPTool$inboundSchema = z.object({
|
|
|
1249
1127
|
});
|
|
1250
1128
|
});
|
|
1251
1129
|
/** @internal */
|
|
1252
|
-
exports.
|
|
1253
|
-
|
|
1130
|
+
exports.AgentToolInputRunHTTPToolRun$outboundSchema = z.object({
|
|
1131
|
+
type: exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$outboundSchema,
|
|
1254
1132
|
key: z.string(),
|
|
1255
|
-
|
|
1133
|
+
id: z.string().optional(),
|
|
1134
|
+
displayName: z.string().optional(),
|
|
1256
1135
|
description: z.string(),
|
|
1257
|
-
|
|
1258
|
-
http: z.lazy(() => exports.RunAgentRequestToolHttp$outboundSchema),
|
|
1136
|
+
http: z.lazy(() => exports.AgentToolInputRunHttp$outboundSchema),
|
|
1259
1137
|
requiresApproval: z.boolean().default(false),
|
|
1260
1138
|
}).transform((v) => {
|
|
1261
1139
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1268,37 +1146,37 @@ exports.RunAgentRequestToolHTTPTool$outboundSchema = z.object({
|
|
|
1268
1146
|
* @internal
|
|
1269
1147
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1270
1148
|
*/
|
|
1271
|
-
var
|
|
1272
|
-
(function (
|
|
1273
|
-
/** @deprecated use `
|
|
1274
|
-
|
|
1275
|
-
/** @deprecated use `
|
|
1276
|
-
|
|
1277
|
-
})(
|
|
1278
|
-
function
|
|
1279
|
-
return JSON.stringify(exports.
|
|
1149
|
+
var AgentToolInputRunHTTPToolRun$;
|
|
1150
|
+
(function (AgentToolInputRunHTTPToolRun$) {
|
|
1151
|
+
/** @deprecated use `AgentToolInputRunHTTPToolRun$inboundSchema` instead. */
|
|
1152
|
+
AgentToolInputRunHTTPToolRun$.inboundSchema = exports.AgentToolInputRunHTTPToolRun$inboundSchema;
|
|
1153
|
+
/** @deprecated use `AgentToolInputRunHTTPToolRun$outboundSchema` instead. */
|
|
1154
|
+
AgentToolInputRunHTTPToolRun$.outboundSchema = exports.AgentToolInputRunHTTPToolRun$outboundSchema;
|
|
1155
|
+
})(AgentToolInputRunHTTPToolRun$ || (exports.AgentToolInputRunHTTPToolRun$ = AgentToolInputRunHTTPToolRun$ = {}));
|
|
1156
|
+
function agentToolInputRunHTTPToolRunToJSON(agentToolInputRunHTTPToolRun) {
|
|
1157
|
+
return JSON.stringify(exports.AgentToolInputRunHTTPToolRun$outboundSchema.parse(agentToolInputRunHTTPToolRun));
|
|
1280
1158
|
}
|
|
1281
|
-
function
|
|
1282
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
1159
|
+
function agentToolInputRunHTTPToolRunFromJSON(jsonString) {
|
|
1160
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputRunHTTPToolRun$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputRunHTTPToolRun' from JSON`);
|
|
1283
1161
|
}
|
|
1284
1162
|
/** @internal */
|
|
1285
|
-
exports.
|
|
1163
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$inboundSchema = z.nativeEnum(exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type);
|
|
1286
1164
|
/** @internal */
|
|
1287
|
-
exports.
|
|
1165
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$inboundSchema;
|
|
1288
1166
|
/**
|
|
1289
1167
|
* @internal
|
|
1290
1168
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1291
1169
|
*/
|
|
1292
|
-
var
|
|
1293
|
-
(function (
|
|
1294
|
-
/** @deprecated use `
|
|
1295
|
-
|
|
1296
|
-
/** @deprecated use `
|
|
1297
|
-
|
|
1298
|
-
})(
|
|
1170
|
+
var StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$;
|
|
1171
|
+
(function (StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$) {
|
|
1172
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$inboundSchema` instead. */
|
|
1173
|
+
StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$.inboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$inboundSchema;
|
|
1174
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$outboundSchema` instead. */
|
|
1175
|
+
StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$.outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$outboundSchema;
|
|
1176
|
+
})(StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$ || (exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$ = StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$ = {}));
|
|
1299
1177
|
/** @internal */
|
|
1300
|
-
exports.
|
|
1301
|
-
type: exports.
|
|
1178
|
+
exports.StreamRunAgentAgentToolInputRunCurrentDateTool$inboundSchema = z.object({
|
|
1179
|
+
type: exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$inboundSchema,
|
|
1302
1180
|
requires_approval: z.boolean().default(false),
|
|
1303
1181
|
}).transform((v) => {
|
|
1304
1182
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1306,8 +1184,8 @@ exports.RunAgentRequestToolCurrentDateTool$inboundSchema = z.object({
|
|
|
1306
1184
|
});
|
|
1307
1185
|
});
|
|
1308
1186
|
/** @internal */
|
|
1309
|
-
exports.
|
|
1310
|
-
type: exports.
|
|
1187
|
+
exports.StreamRunAgentAgentToolInputRunCurrentDateTool$outboundSchema = z.object({
|
|
1188
|
+
type: exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$outboundSchema,
|
|
1311
1189
|
requiresApproval: z.boolean().default(false),
|
|
1312
1190
|
}).transform((v) => {
|
|
1313
1191
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1318,37 +1196,37 @@ exports.RunAgentRequestToolCurrentDateTool$outboundSchema = z.object({
|
|
|
1318
1196
|
* @internal
|
|
1319
1197
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1320
1198
|
*/
|
|
1321
|
-
var
|
|
1322
|
-
(function (
|
|
1323
|
-
/** @deprecated use `
|
|
1324
|
-
|
|
1325
|
-
/** @deprecated use `
|
|
1326
|
-
|
|
1327
|
-
})(
|
|
1328
|
-
function
|
|
1329
|
-
return JSON.stringify(exports.
|
|
1199
|
+
var StreamRunAgentAgentToolInputRunCurrentDateTool$;
|
|
1200
|
+
(function (StreamRunAgentAgentToolInputRunCurrentDateTool$) {
|
|
1201
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunCurrentDateTool$inboundSchema` instead. */
|
|
1202
|
+
StreamRunAgentAgentToolInputRunCurrentDateTool$.inboundSchema = exports.StreamRunAgentAgentToolInputRunCurrentDateTool$inboundSchema;
|
|
1203
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunCurrentDateTool$outboundSchema` instead. */
|
|
1204
|
+
StreamRunAgentAgentToolInputRunCurrentDateTool$.outboundSchema = exports.StreamRunAgentAgentToolInputRunCurrentDateTool$outboundSchema;
|
|
1205
|
+
})(StreamRunAgentAgentToolInputRunCurrentDateTool$ || (exports.StreamRunAgentAgentToolInputRunCurrentDateTool$ = StreamRunAgentAgentToolInputRunCurrentDateTool$ = {}));
|
|
1206
|
+
function streamRunAgentAgentToolInputRunCurrentDateToolToJSON(streamRunAgentAgentToolInputRunCurrentDateTool) {
|
|
1207
|
+
return JSON.stringify(exports.StreamRunAgentAgentToolInputRunCurrentDateTool$outboundSchema.parse(streamRunAgentAgentToolInputRunCurrentDateTool));
|
|
1330
1208
|
}
|
|
1331
|
-
function
|
|
1332
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
1209
|
+
function streamRunAgentAgentToolInputRunCurrentDateToolFromJSON(jsonString) {
|
|
1210
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.StreamRunAgentAgentToolInputRunCurrentDateTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'StreamRunAgentAgentToolInputRunCurrentDateTool' from JSON`);
|
|
1333
1211
|
}
|
|
1334
1212
|
/** @internal */
|
|
1335
|
-
exports.
|
|
1213
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$inboundSchema = z.nativeEnum(exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type);
|
|
1336
1214
|
/** @internal */
|
|
1337
|
-
exports.
|
|
1215
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$inboundSchema;
|
|
1338
1216
|
/**
|
|
1339
1217
|
* @internal
|
|
1340
1218
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1341
1219
|
*/
|
|
1342
|
-
var
|
|
1343
|
-
(function (
|
|
1344
|
-
/** @deprecated use `
|
|
1345
|
-
|
|
1346
|
-
/** @deprecated use `
|
|
1347
|
-
|
|
1348
|
-
})(
|
|
1220
|
+
var StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$;
|
|
1221
|
+
(function (StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$) {
|
|
1222
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$inboundSchema` instead. */
|
|
1223
|
+
StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$.inboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$inboundSchema;
|
|
1224
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$outboundSchema` instead. */
|
|
1225
|
+
StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$.outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$outboundSchema;
|
|
1226
|
+
})(StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$ || (exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$ = StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$ = {}));
|
|
1349
1227
|
/** @internal */
|
|
1350
|
-
exports.
|
|
1351
|
-
type: exports.
|
|
1228
|
+
exports.StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$inboundSchema = z.object({
|
|
1229
|
+
type: exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$inboundSchema,
|
|
1352
1230
|
requires_approval: z.boolean().default(false),
|
|
1353
1231
|
}).transform((v) => {
|
|
1354
1232
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1356,8 +1234,8 @@ exports.RunAgentRequestToolQueryKnowledgeBaseTool$inboundSchema = z.object({
|
|
|
1356
1234
|
});
|
|
1357
1235
|
});
|
|
1358
1236
|
/** @internal */
|
|
1359
|
-
exports.
|
|
1360
|
-
type: exports.
|
|
1237
|
+
exports.StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$outboundSchema = z.object({
|
|
1238
|
+
type: exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$outboundSchema,
|
|
1361
1239
|
requiresApproval: z.boolean().default(false),
|
|
1362
1240
|
}).transform((v) => {
|
|
1363
1241
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1368,37 +1246,37 @@ exports.RunAgentRequestToolQueryKnowledgeBaseTool$outboundSchema = z.object({
|
|
|
1368
1246
|
* @internal
|
|
1369
1247
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1370
1248
|
*/
|
|
1371
|
-
var
|
|
1372
|
-
(function (
|
|
1373
|
-
/** @deprecated use `
|
|
1374
|
-
|
|
1375
|
-
/** @deprecated use `
|
|
1376
|
-
|
|
1377
|
-
})(
|
|
1378
|
-
function
|
|
1379
|
-
return JSON.stringify(exports.
|
|
1249
|
+
var StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$;
|
|
1250
|
+
(function (StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$) {
|
|
1251
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$inboundSchema` instead. */
|
|
1252
|
+
StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$.inboundSchema = exports.StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$inboundSchema;
|
|
1253
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$outboundSchema` instead. */
|
|
1254
|
+
StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$.outboundSchema = exports.StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$outboundSchema;
|
|
1255
|
+
})(StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$ || (exports.StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$ = StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$ = {}));
|
|
1256
|
+
function streamRunAgentAgentToolInputRunQueryKnowledgeBaseToolToJSON(streamRunAgentAgentToolInputRunQueryKnowledgeBaseTool) {
|
|
1257
|
+
return JSON.stringify(exports.StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$outboundSchema.parse(streamRunAgentAgentToolInputRunQueryKnowledgeBaseTool));
|
|
1380
1258
|
}
|
|
1381
|
-
function
|
|
1382
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
1259
|
+
function streamRunAgentAgentToolInputRunQueryKnowledgeBaseToolFromJSON(jsonString) {
|
|
1260
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool' from JSON`);
|
|
1383
1261
|
}
|
|
1384
1262
|
/** @internal */
|
|
1385
|
-
exports.
|
|
1263
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$inboundSchema = z.nativeEnum(exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type);
|
|
1386
1264
|
/** @internal */
|
|
1387
|
-
exports.
|
|
1265
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$inboundSchema;
|
|
1388
1266
|
/**
|
|
1389
1267
|
* @internal
|
|
1390
1268
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1391
1269
|
*/
|
|
1392
|
-
var
|
|
1393
|
-
(function (
|
|
1394
|
-
/** @deprecated use `
|
|
1395
|
-
|
|
1396
|
-
/** @deprecated use `
|
|
1397
|
-
|
|
1398
|
-
})(
|
|
1270
|
+
var StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$;
|
|
1271
|
+
(function (StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$) {
|
|
1272
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$inboundSchema` instead. */
|
|
1273
|
+
StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$.inboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$inboundSchema;
|
|
1274
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$outboundSchema` instead. */
|
|
1275
|
+
StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$.outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$outboundSchema;
|
|
1276
|
+
})(StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$ || (exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$ = StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$ = {}));
|
|
1399
1277
|
/** @internal */
|
|
1400
|
-
exports.
|
|
1401
|
-
type: exports.
|
|
1278
|
+
exports.StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$inboundSchema = z.object({
|
|
1279
|
+
type: exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$inboundSchema,
|
|
1402
1280
|
requires_approval: z.boolean().default(false),
|
|
1403
1281
|
}).transform((v) => {
|
|
1404
1282
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1406,8 +1284,8 @@ exports.RunAgentRequestToolRetrieveKnowledgeBasesTool$inboundSchema = z.object({
|
|
|
1406
1284
|
});
|
|
1407
1285
|
});
|
|
1408
1286
|
/** @internal */
|
|
1409
|
-
exports.
|
|
1410
|
-
type: exports.
|
|
1287
|
+
exports.StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$outboundSchema = z.object({
|
|
1288
|
+
type: exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$outboundSchema,
|
|
1411
1289
|
requiresApproval: z.boolean().default(false),
|
|
1412
1290
|
}).transform((v) => {
|
|
1413
1291
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1418,37 +1296,39 @@ exports.RunAgentRequestToolRetrieveKnowledgeBasesTool$outboundSchema = z.object(
|
|
|
1418
1296
|
* @internal
|
|
1419
1297
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1420
1298
|
*/
|
|
1421
|
-
var
|
|
1422
|
-
(function (
|
|
1423
|
-
/** @deprecated use `
|
|
1424
|
-
|
|
1425
|
-
/** @deprecated use `
|
|
1426
|
-
|
|
1427
|
-
})(
|
|
1428
|
-
function
|
|
1429
|
-
return JSON.stringify(exports.
|
|
1299
|
+
var StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$;
|
|
1300
|
+
(function (StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$) {
|
|
1301
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$inboundSchema` instead. */
|
|
1302
|
+
StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$.inboundSchema = exports.StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$inboundSchema;
|
|
1303
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$outboundSchema` instead. */
|
|
1304
|
+
StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$.outboundSchema = exports.StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$outboundSchema;
|
|
1305
|
+
})(StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$ || (exports.StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$ = StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$ = {}));
|
|
1306
|
+
function streamRunAgentAgentToolInputRunRetrieveKnowledgeBasesToolToJSON(streamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool) {
|
|
1307
|
+
return JSON.stringify(exports.StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$outboundSchema
|
|
1308
|
+
.parse(streamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool));
|
|
1430
1309
|
}
|
|
1431
|
-
function
|
|
1432
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
1310
|
+
function streamRunAgentAgentToolInputRunRetrieveKnowledgeBasesToolFromJSON(jsonString) {
|
|
1311
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$inboundSchema
|
|
1312
|
+
.parse(JSON.parse(x)), `Failed to parse 'StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool' from JSON`);
|
|
1433
1313
|
}
|
|
1434
1314
|
/** @internal */
|
|
1435
|
-
exports.
|
|
1315
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$inboundSchema = z.nativeEnum(exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type);
|
|
1436
1316
|
/** @internal */
|
|
1437
|
-
exports.
|
|
1317
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$inboundSchema;
|
|
1438
1318
|
/**
|
|
1439
1319
|
* @internal
|
|
1440
1320
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1441
1321
|
*/
|
|
1442
|
-
var
|
|
1443
|
-
(function (
|
|
1444
|
-
/** @deprecated use `
|
|
1445
|
-
|
|
1446
|
-
/** @deprecated use `
|
|
1447
|
-
|
|
1448
|
-
})(
|
|
1322
|
+
var StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$;
|
|
1323
|
+
(function (StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$) {
|
|
1324
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$inboundSchema` instead. */
|
|
1325
|
+
StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$.inboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$inboundSchema;
|
|
1326
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$outboundSchema` instead. */
|
|
1327
|
+
StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$.outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$outboundSchema;
|
|
1328
|
+
})(StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$ || (exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$ = StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$ = {}));
|
|
1449
1329
|
/** @internal */
|
|
1450
|
-
exports.
|
|
1451
|
-
type: exports.
|
|
1330
|
+
exports.StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$inboundSchema = z.object({
|
|
1331
|
+
type: exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$inboundSchema,
|
|
1452
1332
|
requires_approval: z.boolean().default(false),
|
|
1453
1333
|
}).transform((v) => {
|
|
1454
1334
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1456,8 +1336,8 @@ exports.RunAgentRequestToolDeleteMemoryStoreTool$inboundSchema = z.object({
|
|
|
1456
1336
|
});
|
|
1457
1337
|
});
|
|
1458
1338
|
/** @internal */
|
|
1459
|
-
exports.
|
|
1460
|
-
type: exports.
|
|
1339
|
+
exports.StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$outboundSchema = z.object({
|
|
1340
|
+
type: exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$outboundSchema,
|
|
1461
1341
|
requiresApproval: z.boolean().default(false),
|
|
1462
1342
|
}).transform((v) => {
|
|
1463
1343
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1468,37 +1348,39 @@ exports.RunAgentRequestToolDeleteMemoryStoreTool$outboundSchema = z.object({
|
|
|
1468
1348
|
* @internal
|
|
1469
1349
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1470
1350
|
*/
|
|
1471
|
-
var
|
|
1472
|
-
(function (
|
|
1473
|
-
/** @deprecated use `
|
|
1474
|
-
|
|
1475
|
-
/** @deprecated use `
|
|
1476
|
-
|
|
1477
|
-
})(
|
|
1478
|
-
function
|
|
1479
|
-
return JSON.stringify(exports.
|
|
1351
|
+
var StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$;
|
|
1352
|
+
(function (StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$) {
|
|
1353
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$inboundSchema` instead. */
|
|
1354
|
+
StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$.inboundSchema = exports.StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$inboundSchema;
|
|
1355
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$outboundSchema` instead. */
|
|
1356
|
+
StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$.outboundSchema = exports.StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$outboundSchema;
|
|
1357
|
+
})(StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$ || (exports.StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$ = StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$ = {}));
|
|
1358
|
+
function streamRunAgentAgentToolInputRunDeleteMemoryDocumentToolToJSON(streamRunAgentAgentToolInputRunDeleteMemoryDocumentTool) {
|
|
1359
|
+
return JSON.stringify(exports.StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$outboundSchema
|
|
1360
|
+
.parse(streamRunAgentAgentToolInputRunDeleteMemoryDocumentTool));
|
|
1480
1361
|
}
|
|
1481
|
-
function
|
|
1482
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
1362
|
+
function streamRunAgentAgentToolInputRunDeleteMemoryDocumentToolFromJSON(jsonString) {
|
|
1363
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$inboundSchema
|
|
1364
|
+
.parse(JSON.parse(x)), `Failed to parse 'StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool' from JSON`);
|
|
1483
1365
|
}
|
|
1484
1366
|
/** @internal */
|
|
1485
|
-
exports.
|
|
1367
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type$inboundSchema = z.nativeEnum(exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type);
|
|
1486
1368
|
/** @internal */
|
|
1487
|
-
exports.
|
|
1369
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type$outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type$inboundSchema;
|
|
1488
1370
|
/**
|
|
1489
1371
|
* @internal
|
|
1490
1372
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1491
1373
|
*/
|
|
1492
|
-
var
|
|
1493
|
-
(function (
|
|
1494
|
-
/** @deprecated use `
|
|
1495
|
-
|
|
1496
|
-
/** @deprecated use `
|
|
1497
|
-
|
|
1498
|
-
})(
|
|
1374
|
+
var StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type$;
|
|
1375
|
+
(function (StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type$) {
|
|
1376
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type$inboundSchema` instead. */
|
|
1377
|
+
StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type$.inboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type$inboundSchema;
|
|
1378
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type$outboundSchema` instead. */
|
|
1379
|
+
StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type$.outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type$outboundSchema;
|
|
1380
|
+
})(StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type$ || (exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type$ = StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type$ = {}));
|
|
1499
1381
|
/** @internal */
|
|
1500
|
-
exports.
|
|
1501
|
-
type: exports.
|
|
1382
|
+
exports.StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$inboundSchema = z.object({
|
|
1383
|
+
type: exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type$inboundSchema,
|
|
1502
1384
|
requires_approval: z.boolean().default(false),
|
|
1503
1385
|
}).transform((v) => {
|
|
1504
1386
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1506,8 +1388,8 @@ exports.RunAgentRequestToolRetrieveMemoryStoresTool$inboundSchema = z.object({
|
|
|
1506
1388
|
});
|
|
1507
1389
|
});
|
|
1508
1390
|
/** @internal */
|
|
1509
|
-
exports.
|
|
1510
|
-
type: exports.
|
|
1391
|
+
exports.StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$outboundSchema = z.object({
|
|
1392
|
+
type: exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type$outboundSchema,
|
|
1511
1393
|
requiresApproval: z.boolean().default(false),
|
|
1512
1394
|
}).transform((v) => {
|
|
1513
1395
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1518,37 +1400,39 @@ exports.RunAgentRequestToolRetrieveMemoryStoresTool$outboundSchema = z.object({
|
|
|
1518
1400
|
* @internal
|
|
1519
1401
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1520
1402
|
*/
|
|
1521
|
-
var
|
|
1522
|
-
(function (
|
|
1523
|
-
/** @deprecated use `
|
|
1524
|
-
|
|
1525
|
-
/** @deprecated use `
|
|
1526
|
-
|
|
1527
|
-
})(
|
|
1528
|
-
function
|
|
1529
|
-
return JSON.stringify(exports.
|
|
1403
|
+
var StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$;
|
|
1404
|
+
(function (StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$) {
|
|
1405
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$inboundSchema` instead. */
|
|
1406
|
+
StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$.inboundSchema = exports.StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$inboundSchema;
|
|
1407
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$outboundSchema` instead. */
|
|
1408
|
+
StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$.outboundSchema = exports.StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$outboundSchema;
|
|
1409
|
+
})(StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$ || (exports.StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$ = StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$ = {}));
|
|
1410
|
+
function streamRunAgentAgentToolInputRunRetrieveMemoryStoresToolToJSON(streamRunAgentAgentToolInputRunRetrieveMemoryStoresTool) {
|
|
1411
|
+
return JSON.stringify(exports.StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$outboundSchema
|
|
1412
|
+
.parse(streamRunAgentAgentToolInputRunRetrieveMemoryStoresTool));
|
|
1530
1413
|
}
|
|
1531
|
-
function
|
|
1532
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
1414
|
+
function streamRunAgentAgentToolInputRunRetrieveMemoryStoresToolFromJSON(jsonString) {
|
|
1415
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$inboundSchema
|
|
1416
|
+
.parse(JSON.parse(x)), `Failed to parse 'StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool' from JSON`);
|
|
1533
1417
|
}
|
|
1534
1418
|
/** @internal */
|
|
1535
|
-
exports.
|
|
1419
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$inboundSchema = z.nativeEnum(exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType);
|
|
1536
1420
|
/** @internal */
|
|
1537
|
-
exports.
|
|
1421
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$inboundSchema;
|
|
1538
1422
|
/**
|
|
1539
1423
|
* @internal
|
|
1540
1424
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1541
1425
|
*/
|
|
1542
|
-
var
|
|
1543
|
-
(function (
|
|
1544
|
-
/** @deprecated use `
|
|
1545
|
-
|
|
1546
|
-
/** @deprecated use `
|
|
1547
|
-
|
|
1548
|
-
})(
|
|
1426
|
+
var StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$;
|
|
1427
|
+
(function (StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$) {
|
|
1428
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$inboundSchema` instead. */
|
|
1429
|
+
StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$.inboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$inboundSchema;
|
|
1430
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$outboundSchema` instead. */
|
|
1431
|
+
StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$.outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$outboundSchema;
|
|
1432
|
+
})(StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$ || (exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$ = StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$ = {}));
|
|
1549
1433
|
/** @internal */
|
|
1550
|
-
exports.
|
|
1551
|
-
type: exports.
|
|
1434
|
+
exports.StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$inboundSchema = z.object({
|
|
1435
|
+
type: exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$inboundSchema,
|
|
1552
1436
|
requires_approval: z.boolean().default(false),
|
|
1553
1437
|
}).transform((v) => {
|
|
1554
1438
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1556,8 +1440,8 @@ exports.RunAgentRequestToolWriteMemoryStoreTool$inboundSchema = z.object({
|
|
|
1556
1440
|
});
|
|
1557
1441
|
});
|
|
1558
1442
|
/** @internal */
|
|
1559
|
-
exports.
|
|
1560
|
-
type: exports.
|
|
1443
|
+
exports.StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$outboundSchema = z.object({
|
|
1444
|
+
type: exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$outboundSchema,
|
|
1561
1445
|
requiresApproval: z.boolean().default(false),
|
|
1562
1446
|
}).transform((v) => {
|
|
1563
1447
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1568,37 +1452,37 @@ exports.RunAgentRequestToolWriteMemoryStoreTool$outboundSchema = z.object({
|
|
|
1568
1452
|
* @internal
|
|
1569
1453
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1570
1454
|
*/
|
|
1571
|
-
var
|
|
1572
|
-
(function (
|
|
1573
|
-
/** @deprecated use `
|
|
1574
|
-
|
|
1575
|
-
/** @deprecated use `
|
|
1576
|
-
|
|
1577
|
-
})(
|
|
1578
|
-
function
|
|
1579
|
-
return JSON.stringify(exports.
|
|
1455
|
+
var StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$;
|
|
1456
|
+
(function (StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$) {
|
|
1457
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$inboundSchema` instead. */
|
|
1458
|
+
StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$.inboundSchema = exports.StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$inboundSchema;
|
|
1459
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$outboundSchema` instead. */
|
|
1460
|
+
StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$.outboundSchema = exports.StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$outboundSchema;
|
|
1461
|
+
})(StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$ || (exports.StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$ = StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$ = {}));
|
|
1462
|
+
function streamRunAgentAgentToolInputRunWriteMemoryStoreToolToJSON(streamRunAgentAgentToolInputRunWriteMemoryStoreTool) {
|
|
1463
|
+
return JSON.stringify(exports.StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$outboundSchema.parse(streamRunAgentAgentToolInputRunWriteMemoryStoreTool));
|
|
1580
1464
|
}
|
|
1581
|
-
function
|
|
1582
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
1465
|
+
function streamRunAgentAgentToolInputRunWriteMemoryStoreToolFromJSON(jsonString) {
|
|
1466
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'StreamRunAgentAgentToolInputRunWriteMemoryStoreTool' from JSON`);
|
|
1583
1467
|
}
|
|
1584
1468
|
/** @internal */
|
|
1585
|
-
exports.
|
|
1469
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$inboundSchema = z.nativeEnum(exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType);
|
|
1586
1470
|
/** @internal */
|
|
1587
|
-
exports.
|
|
1471
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$inboundSchema;
|
|
1588
1472
|
/**
|
|
1589
1473
|
* @internal
|
|
1590
1474
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1591
1475
|
*/
|
|
1592
|
-
var
|
|
1593
|
-
(function (
|
|
1594
|
-
/** @deprecated use `
|
|
1595
|
-
|
|
1596
|
-
/** @deprecated use `
|
|
1597
|
-
|
|
1598
|
-
})(
|
|
1476
|
+
var StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$;
|
|
1477
|
+
(function (StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$) {
|
|
1478
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$inboundSchema` instead. */
|
|
1479
|
+
StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$.inboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$inboundSchema;
|
|
1480
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$outboundSchema` instead. */
|
|
1481
|
+
StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$.outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$outboundSchema;
|
|
1482
|
+
})(StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$ || (exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$ = StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$ = {}));
|
|
1599
1483
|
/** @internal */
|
|
1600
|
-
exports.
|
|
1601
|
-
type: exports.
|
|
1484
|
+
exports.StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$inboundSchema = z.object({
|
|
1485
|
+
type: exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$inboundSchema,
|
|
1602
1486
|
requires_approval: z.boolean().default(false),
|
|
1603
1487
|
}).transform((v) => {
|
|
1604
1488
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1606,8 +1490,8 @@ exports.RunAgentRequestToolQueryMemoryStoreTool$inboundSchema = z.object({
|
|
|
1606
1490
|
});
|
|
1607
1491
|
});
|
|
1608
1492
|
/** @internal */
|
|
1609
|
-
exports.
|
|
1610
|
-
type: exports.
|
|
1493
|
+
exports.StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$outboundSchema = z.object({
|
|
1494
|
+
type: exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$outboundSchema,
|
|
1611
1495
|
requiresApproval: z.boolean().default(false),
|
|
1612
1496
|
}).transform((v) => {
|
|
1613
1497
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1618,37 +1502,37 @@ exports.RunAgentRequestToolQueryMemoryStoreTool$outboundSchema = z.object({
|
|
|
1618
1502
|
* @internal
|
|
1619
1503
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1620
1504
|
*/
|
|
1621
|
-
var
|
|
1622
|
-
(function (
|
|
1623
|
-
/** @deprecated use `
|
|
1624
|
-
|
|
1625
|
-
/** @deprecated use `
|
|
1626
|
-
|
|
1627
|
-
})(
|
|
1628
|
-
function
|
|
1629
|
-
return JSON.stringify(exports.
|
|
1505
|
+
var StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$;
|
|
1506
|
+
(function (StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$) {
|
|
1507
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$inboundSchema` instead. */
|
|
1508
|
+
StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$.inboundSchema = exports.StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$inboundSchema;
|
|
1509
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$outboundSchema` instead. */
|
|
1510
|
+
StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$.outboundSchema = exports.StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$outboundSchema;
|
|
1511
|
+
})(StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$ || (exports.StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$ = StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$ = {}));
|
|
1512
|
+
function streamRunAgentAgentToolInputRunQueryMemoryStoreToolToJSON(streamRunAgentAgentToolInputRunQueryMemoryStoreTool) {
|
|
1513
|
+
return JSON.stringify(exports.StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$outboundSchema.parse(streamRunAgentAgentToolInputRunQueryMemoryStoreTool));
|
|
1630
1514
|
}
|
|
1631
|
-
function
|
|
1632
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
1515
|
+
function streamRunAgentAgentToolInputRunQueryMemoryStoreToolFromJSON(jsonString) {
|
|
1516
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'StreamRunAgentAgentToolInputRunQueryMemoryStoreTool' from JSON`);
|
|
1633
1517
|
}
|
|
1634
1518
|
/** @internal */
|
|
1635
|
-
exports.
|
|
1519
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType$inboundSchema = z.nativeEnum(exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType);
|
|
1636
1520
|
/** @internal */
|
|
1637
|
-
exports.
|
|
1521
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType$outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType$inboundSchema;
|
|
1638
1522
|
/**
|
|
1639
1523
|
* @internal
|
|
1640
1524
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1641
1525
|
*/
|
|
1642
|
-
var
|
|
1643
|
-
(function (
|
|
1644
|
-
/** @deprecated use `
|
|
1645
|
-
|
|
1646
|
-
/** @deprecated use `
|
|
1647
|
-
|
|
1648
|
-
})(
|
|
1526
|
+
var StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType$;
|
|
1527
|
+
(function (StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType$) {
|
|
1528
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType$inboundSchema` instead. */
|
|
1529
|
+
StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType$.inboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType$inboundSchema;
|
|
1530
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType$outboundSchema` instead. */
|
|
1531
|
+
StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType$.outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType$outboundSchema;
|
|
1532
|
+
})(StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType$ || (exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType$ = StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType$ = {}));
|
|
1649
1533
|
/** @internal */
|
|
1650
|
-
exports.
|
|
1651
|
-
type: exports.
|
|
1534
|
+
exports.StreamRunAgentAgentToolInputRunRetrieveAgentsTool$inboundSchema = z.object({
|
|
1535
|
+
type: exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType$inboundSchema,
|
|
1652
1536
|
requires_approval: z.boolean().default(false),
|
|
1653
1537
|
}).transform((v) => {
|
|
1654
1538
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1656,8 +1540,8 @@ exports.RunAgentRequestToolRetrieveAgentsTool$inboundSchema = z.object({
|
|
|
1656
1540
|
});
|
|
1657
1541
|
});
|
|
1658
1542
|
/** @internal */
|
|
1659
|
-
exports.
|
|
1660
|
-
type: exports.
|
|
1543
|
+
exports.StreamRunAgentAgentToolInputRunRetrieveAgentsTool$outboundSchema = z.object({
|
|
1544
|
+
type: exports.StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType$outboundSchema,
|
|
1661
1545
|
requiresApproval: z.boolean().default(false),
|
|
1662
1546
|
}).transform((v) => {
|
|
1663
1547
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1668,38 +1552,38 @@ exports.RunAgentRequestToolRetrieveAgentsTool$outboundSchema = z.object({
|
|
|
1668
1552
|
* @internal
|
|
1669
1553
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1670
1554
|
*/
|
|
1671
|
-
var
|
|
1672
|
-
(function (
|
|
1673
|
-
/** @deprecated use `
|
|
1674
|
-
|
|
1675
|
-
/** @deprecated use `
|
|
1676
|
-
|
|
1677
|
-
})(
|
|
1678
|
-
function
|
|
1679
|
-
return JSON.stringify(exports.
|
|
1555
|
+
var StreamRunAgentAgentToolInputRunRetrieveAgentsTool$;
|
|
1556
|
+
(function (StreamRunAgentAgentToolInputRunRetrieveAgentsTool$) {
|
|
1557
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunRetrieveAgentsTool$inboundSchema` instead. */
|
|
1558
|
+
StreamRunAgentAgentToolInputRunRetrieveAgentsTool$.inboundSchema = exports.StreamRunAgentAgentToolInputRunRetrieveAgentsTool$inboundSchema;
|
|
1559
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunRetrieveAgentsTool$outboundSchema` instead. */
|
|
1560
|
+
StreamRunAgentAgentToolInputRunRetrieveAgentsTool$.outboundSchema = exports.StreamRunAgentAgentToolInputRunRetrieveAgentsTool$outboundSchema;
|
|
1561
|
+
})(StreamRunAgentAgentToolInputRunRetrieveAgentsTool$ || (exports.StreamRunAgentAgentToolInputRunRetrieveAgentsTool$ = StreamRunAgentAgentToolInputRunRetrieveAgentsTool$ = {}));
|
|
1562
|
+
function streamRunAgentAgentToolInputRunRetrieveAgentsToolToJSON(streamRunAgentAgentToolInputRunRetrieveAgentsTool) {
|
|
1563
|
+
return JSON.stringify(exports.StreamRunAgentAgentToolInputRunRetrieveAgentsTool$outboundSchema.parse(streamRunAgentAgentToolInputRunRetrieveAgentsTool));
|
|
1680
1564
|
}
|
|
1681
|
-
function
|
|
1682
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
1565
|
+
function streamRunAgentAgentToolInputRunRetrieveAgentsToolFromJSON(jsonString) {
|
|
1566
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.StreamRunAgentAgentToolInputRunRetrieveAgentsTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'StreamRunAgentAgentToolInputRunRetrieveAgentsTool' from JSON`);
|
|
1683
1567
|
}
|
|
1684
1568
|
/** @internal */
|
|
1685
|
-
exports.
|
|
1686
|
-
.nativeEnum(exports.
|
|
1569
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestType$inboundSchema = z
|
|
1570
|
+
.nativeEnum(exports.StreamRunAgentAgentToolInputRunAgentsRequestType);
|
|
1687
1571
|
/** @internal */
|
|
1688
|
-
exports.
|
|
1572
|
+
exports.StreamRunAgentAgentToolInputRunAgentsRequestType$outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestType$inboundSchema;
|
|
1689
1573
|
/**
|
|
1690
1574
|
* @internal
|
|
1691
1575
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1692
1576
|
*/
|
|
1693
|
-
var
|
|
1694
|
-
(function (
|
|
1695
|
-
/** @deprecated use `
|
|
1696
|
-
|
|
1697
|
-
/** @deprecated use `
|
|
1698
|
-
|
|
1699
|
-
})(
|
|
1577
|
+
var StreamRunAgentAgentToolInputRunAgentsRequestType$;
|
|
1578
|
+
(function (StreamRunAgentAgentToolInputRunAgentsRequestType$) {
|
|
1579
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestType$inboundSchema` instead. */
|
|
1580
|
+
StreamRunAgentAgentToolInputRunAgentsRequestType$.inboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestType$inboundSchema;
|
|
1581
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestType$outboundSchema` instead. */
|
|
1582
|
+
StreamRunAgentAgentToolInputRunAgentsRequestType$.outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsRequestType$outboundSchema;
|
|
1583
|
+
})(StreamRunAgentAgentToolInputRunAgentsRequestType$ || (exports.StreamRunAgentAgentToolInputRunAgentsRequestType$ = StreamRunAgentAgentToolInputRunAgentsRequestType$ = {}));
|
|
1700
1584
|
/** @internal */
|
|
1701
|
-
exports.
|
|
1702
|
-
type: exports.
|
|
1585
|
+
exports.StreamRunAgentAgentToolInputRunCallSubAgentTool$inboundSchema = z.object({
|
|
1586
|
+
type: exports.StreamRunAgentAgentToolInputRunAgentsRequestType$inboundSchema,
|
|
1703
1587
|
requires_approval: z.boolean().default(false),
|
|
1704
1588
|
}).transform((v) => {
|
|
1705
1589
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1707,8 +1591,8 @@ exports.RunAgentRequestToolCallSubAgentTool$inboundSchema = z.object({
|
|
|
1707
1591
|
});
|
|
1708
1592
|
});
|
|
1709
1593
|
/** @internal */
|
|
1710
|
-
exports.
|
|
1711
|
-
type: exports.
|
|
1594
|
+
exports.StreamRunAgentAgentToolInputRunCallSubAgentTool$outboundSchema = z.object({
|
|
1595
|
+
type: exports.StreamRunAgentAgentToolInputRunAgentsRequestType$outboundSchema,
|
|
1712
1596
|
requiresApproval: z.boolean().default(false),
|
|
1713
1597
|
}).transform((v) => {
|
|
1714
1598
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1719,38 +1603,38 @@ exports.RunAgentRequestToolCallSubAgentTool$outboundSchema = z.object({
|
|
|
1719
1603
|
* @internal
|
|
1720
1604
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1721
1605
|
*/
|
|
1722
|
-
var
|
|
1723
|
-
(function (
|
|
1724
|
-
/** @deprecated use `
|
|
1725
|
-
|
|
1726
|
-
/** @deprecated use `
|
|
1727
|
-
|
|
1728
|
-
})(
|
|
1729
|
-
function
|
|
1730
|
-
return JSON.stringify(exports.
|
|
1606
|
+
var StreamRunAgentAgentToolInputRunCallSubAgentTool$;
|
|
1607
|
+
(function (StreamRunAgentAgentToolInputRunCallSubAgentTool$) {
|
|
1608
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunCallSubAgentTool$inboundSchema` instead. */
|
|
1609
|
+
StreamRunAgentAgentToolInputRunCallSubAgentTool$.inboundSchema = exports.StreamRunAgentAgentToolInputRunCallSubAgentTool$inboundSchema;
|
|
1610
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunCallSubAgentTool$outboundSchema` instead. */
|
|
1611
|
+
StreamRunAgentAgentToolInputRunCallSubAgentTool$.outboundSchema = exports.StreamRunAgentAgentToolInputRunCallSubAgentTool$outboundSchema;
|
|
1612
|
+
})(StreamRunAgentAgentToolInputRunCallSubAgentTool$ || (exports.StreamRunAgentAgentToolInputRunCallSubAgentTool$ = StreamRunAgentAgentToolInputRunCallSubAgentTool$ = {}));
|
|
1613
|
+
function streamRunAgentAgentToolInputRunCallSubAgentToolToJSON(streamRunAgentAgentToolInputRunCallSubAgentTool) {
|
|
1614
|
+
return JSON.stringify(exports.StreamRunAgentAgentToolInputRunCallSubAgentTool$outboundSchema.parse(streamRunAgentAgentToolInputRunCallSubAgentTool));
|
|
1731
1615
|
}
|
|
1732
|
-
function
|
|
1733
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
1616
|
+
function streamRunAgentAgentToolInputRunCallSubAgentToolFromJSON(jsonString) {
|
|
1617
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.StreamRunAgentAgentToolInputRunCallSubAgentTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'StreamRunAgentAgentToolInputRunCallSubAgentTool' from JSON`);
|
|
1734
1618
|
}
|
|
1735
1619
|
/** @internal */
|
|
1736
|
-
exports.
|
|
1737
|
-
.nativeEnum(exports.
|
|
1620
|
+
exports.StreamRunAgentAgentToolInputRunAgentsType$inboundSchema = z
|
|
1621
|
+
.nativeEnum(exports.StreamRunAgentAgentToolInputRunAgentsType);
|
|
1738
1622
|
/** @internal */
|
|
1739
|
-
exports.
|
|
1623
|
+
exports.StreamRunAgentAgentToolInputRunAgentsType$outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsType$inboundSchema;
|
|
1740
1624
|
/**
|
|
1741
1625
|
* @internal
|
|
1742
1626
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1743
1627
|
*/
|
|
1744
|
-
var
|
|
1745
|
-
(function (
|
|
1746
|
-
/** @deprecated use `
|
|
1747
|
-
|
|
1748
|
-
/** @deprecated use `
|
|
1749
|
-
|
|
1750
|
-
})(
|
|
1628
|
+
var StreamRunAgentAgentToolInputRunAgentsType$;
|
|
1629
|
+
(function (StreamRunAgentAgentToolInputRunAgentsType$) {
|
|
1630
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsType$inboundSchema` instead. */
|
|
1631
|
+
StreamRunAgentAgentToolInputRunAgentsType$.inboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsType$inboundSchema;
|
|
1632
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsType$outboundSchema` instead. */
|
|
1633
|
+
StreamRunAgentAgentToolInputRunAgentsType$.outboundSchema = exports.StreamRunAgentAgentToolInputRunAgentsType$outboundSchema;
|
|
1634
|
+
})(StreamRunAgentAgentToolInputRunAgentsType$ || (exports.StreamRunAgentAgentToolInputRunAgentsType$ = StreamRunAgentAgentToolInputRunAgentsType$ = {}));
|
|
1751
1635
|
/** @internal */
|
|
1752
|
-
exports.
|
|
1753
|
-
type: exports.
|
|
1636
|
+
exports.StreamRunAgentAgentToolInputRunWebScraperTool$inboundSchema = z.object({
|
|
1637
|
+
type: exports.StreamRunAgentAgentToolInputRunAgentsType$inboundSchema,
|
|
1754
1638
|
requires_approval: z.boolean().default(false),
|
|
1755
1639
|
}).transform((v) => {
|
|
1756
1640
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1758,8 +1642,8 @@ exports.RunAgentRequestToolWebScraperTool$inboundSchema = z.object({
|
|
|
1758
1642
|
});
|
|
1759
1643
|
});
|
|
1760
1644
|
/** @internal */
|
|
1761
|
-
exports.
|
|
1762
|
-
type: exports.
|
|
1645
|
+
exports.StreamRunAgentAgentToolInputRunWebScraperTool$outboundSchema = z.object({
|
|
1646
|
+
type: exports.StreamRunAgentAgentToolInputRunAgentsType$outboundSchema,
|
|
1763
1647
|
requiresApproval: z.boolean().default(false),
|
|
1764
1648
|
}).transform((v) => {
|
|
1765
1649
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1770,37 +1654,37 @@ exports.RunAgentRequestToolWebScraperTool$outboundSchema = z.object({
|
|
|
1770
1654
|
* @internal
|
|
1771
1655
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1772
1656
|
*/
|
|
1773
|
-
var
|
|
1774
|
-
(function (
|
|
1775
|
-
/** @deprecated use `
|
|
1776
|
-
|
|
1777
|
-
/** @deprecated use `
|
|
1778
|
-
|
|
1779
|
-
})(
|
|
1780
|
-
function
|
|
1781
|
-
return JSON.stringify(exports.
|
|
1657
|
+
var StreamRunAgentAgentToolInputRunWebScraperTool$;
|
|
1658
|
+
(function (StreamRunAgentAgentToolInputRunWebScraperTool$) {
|
|
1659
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunWebScraperTool$inboundSchema` instead. */
|
|
1660
|
+
StreamRunAgentAgentToolInputRunWebScraperTool$.inboundSchema = exports.StreamRunAgentAgentToolInputRunWebScraperTool$inboundSchema;
|
|
1661
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunWebScraperTool$outboundSchema` instead. */
|
|
1662
|
+
StreamRunAgentAgentToolInputRunWebScraperTool$.outboundSchema = exports.StreamRunAgentAgentToolInputRunWebScraperTool$outboundSchema;
|
|
1663
|
+
})(StreamRunAgentAgentToolInputRunWebScraperTool$ || (exports.StreamRunAgentAgentToolInputRunWebScraperTool$ = StreamRunAgentAgentToolInputRunWebScraperTool$ = {}));
|
|
1664
|
+
function streamRunAgentAgentToolInputRunWebScraperToolToJSON(streamRunAgentAgentToolInputRunWebScraperTool) {
|
|
1665
|
+
return JSON.stringify(exports.StreamRunAgentAgentToolInputRunWebScraperTool$outboundSchema.parse(streamRunAgentAgentToolInputRunWebScraperTool));
|
|
1782
1666
|
}
|
|
1783
|
-
function
|
|
1784
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
1667
|
+
function streamRunAgentAgentToolInputRunWebScraperToolFromJSON(jsonString) {
|
|
1668
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.StreamRunAgentAgentToolInputRunWebScraperTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'StreamRunAgentAgentToolInputRunWebScraperTool' from JSON`);
|
|
1785
1669
|
}
|
|
1786
1670
|
/** @internal */
|
|
1787
|
-
exports.
|
|
1671
|
+
exports.StreamRunAgentAgentToolInputRunType$inboundSchema = z.nativeEnum(exports.StreamRunAgentAgentToolInputRunType);
|
|
1788
1672
|
/** @internal */
|
|
1789
|
-
exports.
|
|
1673
|
+
exports.StreamRunAgentAgentToolInputRunType$outboundSchema = exports.StreamRunAgentAgentToolInputRunType$inboundSchema;
|
|
1790
1674
|
/**
|
|
1791
1675
|
* @internal
|
|
1792
1676
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1793
1677
|
*/
|
|
1794
|
-
var
|
|
1795
|
-
(function (
|
|
1796
|
-
/** @deprecated use `
|
|
1797
|
-
|
|
1798
|
-
/** @deprecated use `
|
|
1799
|
-
|
|
1800
|
-
})(
|
|
1678
|
+
var StreamRunAgentAgentToolInputRunType$;
|
|
1679
|
+
(function (StreamRunAgentAgentToolInputRunType$) {
|
|
1680
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunType$inboundSchema` instead. */
|
|
1681
|
+
StreamRunAgentAgentToolInputRunType$.inboundSchema = exports.StreamRunAgentAgentToolInputRunType$inboundSchema;
|
|
1682
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunType$outboundSchema` instead. */
|
|
1683
|
+
StreamRunAgentAgentToolInputRunType$.outboundSchema = exports.StreamRunAgentAgentToolInputRunType$outboundSchema;
|
|
1684
|
+
})(StreamRunAgentAgentToolInputRunType$ || (exports.StreamRunAgentAgentToolInputRunType$ = StreamRunAgentAgentToolInputRunType$ = {}));
|
|
1801
1685
|
/** @internal */
|
|
1802
|
-
exports.
|
|
1803
|
-
type: exports.
|
|
1686
|
+
exports.StreamRunAgentAgentToolInputRunGoogleSearchTool$inboundSchema = z.object({
|
|
1687
|
+
type: exports.StreamRunAgentAgentToolInputRunType$inboundSchema,
|
|
1804
1688
|
requires_approval: z.boolean().default(false),
|
|
1805
1689
|
}).transform((v) => {
|
|
1806
1690
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1808,8 +1692,8 @@ exports.RunAgentRequestToolGoogleSearchTool$inboundSchema = z.object({
|
|
|
1808
1692
|
});
|
|
1809
1693
|
});
|
|
1810
1694
|
/** @internal */
|
|
1811
|
-
exports.
|
|
1812
|
-
type: exports.
|
|
1695
|
+
exports.StreamRunAgentAgentToolInputRunGoogleSearchTool$outboundSchema = z.object({
|
|
1696
|
+
type: exports.StreamRunAgentAgentToolInputRunType$outboundSchema,
|
|
1813
1697
|
requiresApproval: z.boolean().default(false),
|
|
1814
1698
|
}).transform((v) => {
|
|
1815
1699
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1820,69 +1704,69 @@ exports.RunAgentRequestToolGoogleSearchTool$outboundSchema = z.object({
|
|
|
1820
1704
|
* @internal
|
|
1821
1705
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1822
1706
|
*/
|
|
1823
|
-
var
|
|
1824
|
-
(function (
|
|
1825
|
-
/** @deprecated use `
|
|
1826
|
-
|
|
1827
|
-
/** @deprecated use `
|
|
1828
|
-
|
|
1829
|
-
})(
|
|
1830
|
-
function
|
|
1831
|
-
return JSON.stringify(exports.
|
|
1832
|
-
}
|
|
1833
|
-
function
|
|
1834
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
1835
|
-
}
|
|
1836
|
-
/** @internal */
|
|
1837
|
-
exports.
|
|
1838
|
-
z.lazy(() => exports.
|
|
1839
|
-
z.lazy(() => exports.
|
|
1840
|
-
z.lazy(() => exports.
|
|
1841
|
-
z.lazy(() => exports.
|
|
1842
|
-
z.lazy(() => exports.
|
|
1843
|
-
z.lazy(() => exports.
|
|
1844
|
-
z.lazy(() => exports.
|
|
1845
|
-
z.lazy(() => exports.
|
|
1846
|
-
z.lazy(() => exports.
|
|
1847
|
-
z.lazy(() => exports.
|
|
1848
|
-
z.lazy(() => exports.
|
|
1849
|
-
z.lazy(() => exports.
|
|
1850
|
-
z.lazy(() => exports.
|
|
1851
|
-
z.lazy(() => exports.
|
|
1707
|
+
var StreamRunAgentAgentToolInputRunGoogleSearchTool$;
|
|
1708
|
+
(function (StreamRunAgentAgentToolInputRunGoogleSearchTool$) {
|
|
1709
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunGoogleSearchTool$inboundSchema` instead. */
|
|
1710
|
+
StreamRunAgentAgentToolInputRunGoogleSearchTool$.inboundSchema = exports.StreamRunAgentAgentToolInputRunGoogleSearchTool$inboundSchema;
|
|
1711
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunGoogleSearchTool$outboundSchema` instead. */
|
|
1712
|
+
StreamRunAgentAgentToolInputRunGoogleSearchTool$.outboundSchema = exports.StreamRunAgentAgentToolInputRunGoogleSearchTool$outboundSchema;
|
|
1713
|
+
})(StreamRunAgentAgentToolInputRunGoogleSearchTool$ || (exports.StreamRunAgentAgentToolInputRunGoogleSearchTool$ = StreamRunAgentAgentToolInputRunGoogleSearchTool$ = {}));
|
|
1714
|
+
function streamRunAgentAgentToolInputRunGoogleSearchToolToJSON(streamRunAgentAgentToolInputRunGoogleSearchTool) {
|
|
1715
|
+
return JSON.stringify(exports.StreamRunAgentAgentToolInputRunGoogleSearchTool$outboundSchema.parse(streamRunAgentAgentToolInputRunGoogleSearchTool));
|
|
1716
|
+
}
|
|
1717
|
+
function streamRunAgentAgentToolInputRunGoogleSearchToolFromJSON(jsonString) {
|
|
1718
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.StreamRunAgentAgentToolInputRunGoogleSearchTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'StreamRunAgentAgentToolInputRunGoogleSearchTool' from JSON`);
|
|
1719
|
+
}
|
|
1720
|
+
/** @internal */
|
|
1721
|
+
exports.StreamRunAgentAgentToolInputRun$inboundSchema = z.union([
|
|
1722
|
+
z.lazy(() => exports.AgentToolInputRunHTTPToolRun$inboundSchema),
|
|
1723
|
+
z.lazy(() => exports.AgentToolInputRunCodeToolRun$inboundSchema),
|
|
1724
|
+
z.lazy(() => exports.AgentToolInputRunFunctionToolRun$inboundSchema),
|
|
1725
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunGoogleSearchTool$inboundSchema),
|
|
1726
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunWebScraperTool$inboundSchema),
|
|
1727
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunCallSubAgentTool$inboundSchema),
|
|
1728
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunRetrieveAgentsTool$inboundSchema),
|
|
1729
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$inboundSchema),
|
|
1730
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$inboundSchema),
|
|
1731
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$inboundSchema),
|
|
1732
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$inboundSchema),
|
|
1733
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$inboundSchema),
|
|
1734
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$inboundSchema),
|
|
1735
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunCurrentDateTool$inboundSchema),
|
|
1852
1736
|
]);
|
|
1853
1737
|
/** @internal */
|
|
1854
|
-
exports.
|
|
1855
|
-
z.lazy(() => exports.
|
|
1856
|
-
z.lazy(() => exports.
|
|
1857
|
-
z.lazy(() => exports.
|
|
1858
|
-
z.lazy(() => exports.
|
|
1859
|
-
z.lazy(() => exports.
|
|
1860
|
-
z.lazy(() => exports.
|
|
1861
|
-
z.lazy(() => exports.
|
|
1862
|
-
z.lazy(() => exports.
|
|
1863
|
-
z.lazy(() => exports.
|
|
1864
|
-
z.lazy(() => exports.
|
|
1865
|
-
z.lazy(() => exports.
|
|
1866
|
-
z.lazy(() => exports.
|
|
1867
|
-
z.lazy(() => exports.
|
|
1868
|
-
z.lazy(() => exports.
|
|
1738
|
+
exports.StreamRunAgentAgentToolInputRun$outboundSchema = z.union([
|
|
1739
|
+
z.lazy(() => exports.AgentToolInputRunHTTPToolRun$outboundSchema),
|
|
1740
|
+
z.lazy(() => exports.AgentToolInputRunCodeToolRun$outboundSchema),
|
|
1741
|
+
z.lazy(() => exports.AgentToolInputRunFunctionToolRun$outboundSchema),
|
|
1742
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunGoogleSearchTool$outboundSchema),
|
|
1743
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunWebScraperTool$outboundSchema),
|
|
1744
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunCallSubAgentTool$outboundSchema),
|
|
1745
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunRetrieveAgentsTool$outboundSchema),
|
|
1746
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$outboundSchema),
|
|
1747
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$outboundSchema),
|
|
1748
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$outboundSchema),
|
|
1749
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$outboundSchema),
|
|
1750
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$outboundSchema),
|
|
1751
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$outboundSchema),
|
|
1752
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunCurrentDateTool$outboundSchema),
|
|
1869
1753
|
]);
|
|
1870
1754
|
/**
|
|
1871
1755
|
* @internal
|
|
1872
1756
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1873
1757
|
*/
|
|
1874
|
-
var
|
|
1875
|
-
(function (
|
|
1876
|
-
/** @deprecated use `
|
|
1877
|
-
|
|
1878
|
-
/** @deprecated use `
|
|
1879
|
-
|
|
1880
|
-
})(
|
|
1881
|
-
function
|
|
1882
|
-
return JSON.stringify(exports.
|
|
1758
|
+
var StreamRunAgentAgentToolInputRun$;
|
|
1759
|
+
(function (StreamRunAgentAgentToolInputRun$) {
|
|
1760
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRun$inboundSchema` instead. */
|
|
1761
|
+
StreamRunAgentAgentToolInputRun$.inboundSchema = exports.StreamRunAgentAgentToolInputRun$inboundSchema;
|
|
1762
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRun$outboundSchema` instead. */
|
|
1763
|
+
StreamRunAgentAgentToolInputRun$.outboundSchema = exports.StreamRunAgentAgentToolInputRun$outboundSchema;
|
|
1764
|
+
})(StreamRunAgentAgentToolInputRun$ || (exports.StreamRunAgentAgentToolInputRun$ = StreamRunAgentAgentToolInputRun$ = {}));
|
|
1765
|
+
function streamRunAgentAgentToolInputRunToJSON(streamRunAgentAgentToolInputRun) {
|
|
1766
|
+
return JSON.stringify(exports.StreamRunAgentAgentToolInputRun$outboundSchema.parse(streamRunAgentAgentToolInputRun));
|
|
1883
1767
|
}
|
|
1884
|
-
function
|
|
1885
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
1768
|
+
function streamRunAgentAgentToolInputRunFromJSON(jsonString) {
|
|
1769
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.StreamRunAgentAgentToolInputRun$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'StreamRunAgentAgentToolInputRun' from JSON`);
|
|
1886
1770
|
}
|
|
1887
1771
|
/** @internal */
|
|
1888
1772
|
exports.StreamRunAgentToolApprovalRequired$inboundSchema = z.nativeEnum(exports.StreamRunAgentToolApprovalRequired);
|
|
@@ -1902,20 +1786,20 @@ var StreamRunAgentToolApprovalRequired$;
|
|
|
1902
1786
|
/** @internal */
|
|
1903
1787
|
exports.StreamRunAgentSettings$inboundSchema = z.object({
|
|
1904
1788
|
tools: z.array(z.union([
|
|
1905
|
-
z.lazy(() => exports.
|
|
1906
|
-
z.lazy(() => exports.
|
|
1907
|
-
z.lazy(() => exports.
|
|
1908
|
-
z.lazy(() => exports.
|
|
1909
|
-
z.lazy(() => exports.
|
|
1910
|
-
z.lazy(() => exports.
|
|
1911
|
-
z.lazy(() => exports.
|
|
1912
|
-
z.lazy(() => exports.
|
|
1913
|
-
z.lazy(() => exports.
|
|
1914
|
-
z.lazy(() => exports.
|
|
1915
|
-
z.lazy(() => exports.
|
|
1916
|
-
z.lazy(() => exports.
|
|
1917
|
-
z.lazy(() => exports.
|
|
1918
|
-
z.lazy(() => exports.
|
|
1789
|
+
z.lazy(() => exports.AgentToolInputRunHTTPToolRun$inboundSchema),
|
|
1790
|
+
z.lazy(() => exports.AgentToolInputRunCodeToolRun$inboundSchema),
|
|
1791
|
+
z.lazy(() => exports.AgentToolInputRunFunctionToolRun$inboundSchema),
|
|
1792
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunGoogleSearchTool$inboundSchema),
|
|
1793
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunWebScraperTool$inboundSchema),
|
|
1794
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunCallSubAgentTool$inboundSchema),
|
|
1795
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunRetrieveAgentsTool$inboundSchema),
|
|
1796
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$inboundSchema),
|
|
1797
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$inboundSchema),
|
|
1798
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$inboundSchema),
|
|
1799
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$inboundSchema),
|
|
1800
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$inboundSchema),
|
|
1801
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$inboundSchema),
|
|
1802
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunCurrentDateTool$inboundSchema),
|
|
1919
1803
|
])),
|
|
1920
1804
|
tool_approval_required: exports.StreamRunAgentToolApprovalRequired$inboundSchema
|
|
1921
1805
|
.default("none"),
|
|
@@ -1931,20 +1815,20 @@ exports.StreamRunAgentSettings$inboundSchema = z.object({
|
|
|
1931
1815
|
/** @internal */
|
|
1932
1816
|
exports.StreamRunAgentSettings$outboundSchema = z.object({
|
|
1933
1817
|
tools: z.array(z.union([
|
|
1934
|
-
z.lazy(() => exports.
|
|
1935
|
-
z.lazy(() => exports.
|
|
1936
|
-
z.lazy(() => exports.
|
|
1937
|
-
z.lazy(() => exports.
|
|
1938
|
-
z.lazy(() => exports.
|
|
1939
|
-
z.lazy(() => exports.
|
|
1940
|
-
z.lazy(() => exports.
|
|
1941
|
-
z.lazy(() => exports.
|
|
1942
|
-
z.lazy(() => exports.
|
|
1943
|
-
z.lazy(() => exports.
|
|
1944
|
-
z.lazy(() => exports.
|
|
1945
|
-
z.lazy(() => exports.
|
|
1946
|
-
z.lazy(() => exports.
|
|
1947
|
-
z.lazy(() => exports.
|
|
1818
|
+
z.lazy(() => exports.AgentToolInputRunHTTPToolRun$outboundSchema),
|
|
1819
|
+
z.lazy(() => exports.AgentToolInputRunCodeToolRun$outboundSchema),
|
|
1820
|
+
z.lazy(() => exports.AgentToolInputRunFunctionToolRun$outboundSchema),
|
|
1821
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunGoogleSearchTool$outboundSchema),
|
|
1822
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunWebScraperTool$outboundSchema),
|
|
1823
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunCallSubAgentTool$outboundSchema),
|
|
1824
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunRetrieveAgentsTool$outboundSchema),
|
|
1825
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$outboundSchema),
|
|
1826
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$outboundSchema),
|
|
1827
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$outboundSchema),
|
|
1828
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$outboundSchema),
|
|
1829
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$outboundSchema),
|
|
1830
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$outboundSchema),
|
|
1831
|
+
z.lazy(() => exports.StreamRunAgentAgentToolInputRunCurrentDateTool$outboundSchema),
|
|
1948
1832
|
])),
|
|
1949
1833
|
toolApprovalRequired: exports.StreamRunAgentToolApprovalRequired$outboundSchema
|
|
1950
1834
|
.default("none"),
|
|
@@ -1977,7 +1861,7 @@ function streamRunAgentSettingsFromJSON(jsonString) {
|
|
|
1977
1861
|
/** @internal */
|
|
1978
1862
|
exports.StreamRunAgentRequestBody$inboundSchema = z.object({
|
|
1979
1863
|
key: z.string(),
|
|
1980
|
-
|
|
1864
|
+
task_id: z.string().optional(),
|
|
1981
1865
|
model: z.string(),
|
|
1982
1866
|
fallback_models: z.array(z.string()).optional(),
|
|
1983
1867
|
role: z.string(),
|
|
@@ -1998,6 +1882,7 @@ exports.StreamRunAgentRequestBody$inboundSchema = z.object({
|
|
|
1998
1882
|
stream_timeout_seconds: z.number().optional(),
|
|
1999
1883
|
}).transform((v) => {
|
|
2000
1884
|
return (0, primitives_js_1.remap)(v, {
|
|
1885
|
+
"task_id": "taskId",
|
|
2001
1886
|
"fallback_models": "fallbackModels",
|
|
2002
1887
|
"system_prompt": "systemPrompt",
|
|
2003
1888
|
"memory_stores": "memoryStores",
|
|
@@ -2031,6 +1916,7 @@ exports.StreamRunAgentRequestBody$outboundSchema = z.object({
|
|
|
2031
1916
|
streamTimeoutSeconds: z.number().optional(),
|
|
2032
1917
|
}).transform((v) => {
|
|
2033
1918
|
return (0, primitives_js_1.remap)(v, {
|
|
1919
|
+
taskId: "task_id",
|
|
2034
1920
|
fallbackModels: "fallback_models",
|
|
2035
1921
|
systemPrompt: "system_prompt",
|
|
2036
1922
|
memoryStores: "memory_stores",
|