orcaq 1.0.26 → 1.0.28
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/.output/nitro.json +1 -1
- package/.output/public/_nuxt/-lZvfnzr.js +1 -0
- package/.output/public/_nuxt/ACi_yrrw.js +1 -0
- package/.output/public/_nuxt/AgentWorkspace.67IpTcyl.css +1 -0
- package/.output/public/_nuxt/B-E3EDXq.js +21 -0
- package/.output/public/_nuxt/B-o1cyu1.js +1 -0
- package/.output/public/_nuxt/B-rj9QI0.js +1 -0
- package/.output/public/_nuxt/B0pvfm-W.js +1 -0
- package/.output/public/_nuxt/B3XOCDJg.js +1 -0
- package/.output/public/_nuxt/B7iORLht.js +8 -0
- package/.output/public/_nuxt/B9xm8XSJ.js +1 -0
- package/.output/public/_nuxt/BDPGejuO.js +2 -0
- package/.output/public/_nuxt/BHFnD9yO.js +1 -0
- package/.output/public/_nuxt/BHp-OX9z.js +1 -0
- package/.output/public/_nuxt/BIW9Rd2L.js +1 -0
- package/.output/public/_nuxt/BJdgR-zN.js +1 -0
- package/.output/public/_nuxt/BKltSiU0.js +1 -0
- package/.output/public/_nuxt/BQAF7cM_.js +53 -0
- package/.output/public/_nuxt/BRpeq4XL.js +1 -0
- package/.output/public/_nuxt/BSs5g8DH.js +1 -0
- package/.output/public/_nuxt/BUuSKT2f.js +152 -0
- package/.output/public/_nuxt/BV4_2PzU.js +1 -0
- package/.output/public/_nuxt/BVmBXPoG.js +1 -0
- package/.output/public/_nuxt/BZEKLHO-.js +1 -0
- package/.output/public/_nuxt/BaseCodeEditor.SAr2eD8R.css +1 -0
- package/.output/public/_nuxt/BiOIaWuc.js +1 -0
- package/.output/public/_nuxt/BlWNlw-C.js +15 -0
- package/.output/public/_nuxt/BranJUWp.js +1 -0
- package/.output/public/_nuxt/BsnN2mQb.js +3 -0
- package/.output/public/_nuxt/BwddCgOY.js +1 -0
- package/.output/public/_nuxt/C26aAkUg.js +39 -0
- package/.output/public/_nuxt/CAcIcjka.js +9 -0
- package/.output/public/_nuxt/CO-m0olR.js +2 -0
- package/.output/public/_nuxt/CQNFvXDN.js +1 -0
- package/.output/public/_nuxt/CQQKPHb8.js +225 -0
- package/.output/public/_nuxt/CQr87mff.js +1 -0
- package/.output/public/_nuxt/C__Jz_zH.js +40 -0
- package/.output/public/_nuxt/CbjqLbgu.js +1 -0
- package/.output/public/_nuxt/CfblXyCF.js +1 -0
- package/.output/public/_nuxt/Cqe10li5.js +1 -0
- package/.output/public/_nuxt/CwtNS48a.js +1 -0
- package/.output/public/_nuxt/D4jtSPyP.js +3 -0
- package/.output/public/_nuxt/D8s-WG7x.js +1 -0
- package/.output/public/_nuxt/D9SCXF1G.js +1 -0
- package/.output/public/_nuxt/DAsY4LnG.js +1 -0
- package/.output/public/_nuxt/DM73sEXg.js +1 -0
- package/.output/public/_nuxt/DNmOzKte.js +1 -0
- package/.output/public/_nuxt/DdMwxl0I.js +1 -0
- package/.output/public/_nuxt/DfL_wWxk.js +1 -0
- package/.output/public/_nuxt/DftZZFKd.js +732 -0
- package/.output/public/_nuxt/DgPgl0Vt.js +39 -0
- package/.output/public/_nuxt/DpyvTVPg.js +8 -0
- package/.output/public/_nuxt/Ds4ET3BG.js +72 -0
- package/.output/public/_nuxt/Dwm3kp4S.js +3867 -0
- package/.output/public/_nuxt/DynamicTable.BW0D7NXb.css +1 -0
- package/.output/public/_nuxt/GqcI3eLm.js +67 -0
- package/.output/public/_nuxt/QuickQuery.CJ7tNjo4.css +1 -0
- package/.output/public/_nuxt/S6q6IfIg.js +6 -0
- package/.output/public/_nuxt/SzZsnvJ-.js +2 -0
- package/.output/public/_nuxt/T2yrk5P8.js +1 -0
- package/.output/public/_nuxt/UrLgZoyE.js +9 -0
- package/.output/public/_nuxt/W0T58tNs.js +1 -0
- package/.output/public/_nuxt/WrapperErdDiagram.DsE2QNGr.css +1 -0
- package/.output/public/_nuxt/Yzrsuije.js +1 -0
- package/.output/public/_nuxt/_fileId_.B3PtfMYN.css +1 -0
- package/.output/public/_nuxt/aKVabwds.js +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/1e32d709-950d-49a3-8d61-1b3385318747.json +1 -0
- package/.output/public/_nuxt/default.DC7ec2JI.css +1 -0
- package/.output/public/_nuxt/entry.Kia9TCip.css +1 -0
- package/.output/public/_nuxt/fuZLfV_i.js +1 -0
- package/.output/public/_nuxt/iDT-eQ46.js +1 -0
- package/.output/public/_nuxt/index.P0q-dO_S.css +1 -0
- package/.output/public/_nuxt/lN7hePE6.js +1 -0
- package/.output/public/_nuxt/logo.BsJ2Dfin.png +0 -0
- package/.output/public/_nuxt/mW-nBTJP.js +1 -0
- package/.output/public/_nuxt/rdXrKZa8.js +68 -0
- package/.output/public/_nuxt/vU5dtBjy.js +1 -0
- package/.output/public/logo-8-bits.svg +4 -0
- package/.output/server/chunks/_/create-adapter.mjs +68 -0
- package/.output/server/chunks/_/create-adapter.mjs.map +1 -0
- package/.output/server/chunks/_/database-error.mjs +53 -0
- package/.output/server/chunks/_/database-error.mjs.map +1 -0
- package/.output/server/chunks/_/database-roles.factory.mjs +737 -0
- package/.output/server/chunks/_/database-roles.factory.mjs.map +1 -0
- package/.output/server/chunks/_/db-connection.mjs +352 -0
- package/.output/server/chunks/_/db-connection.mjs.map +1 -0
- package/.output/server/chunks/_/error.mjs +25 -0
- package/.output/server/chunks/_/error.mjs.map +1 -0
- package/.output/server/chunks/_/functions.factory.mjs +174 -0
- package/.output/server/chunks/_/functions.factory.mjs.map +1 -0
- package/.output/server/chunks/_/instance-insights.factory.mjs +643 -0
- package/.output/server/chunks/_/instance-insights.factory.mjs.map +1 -0
- package/.output/server/chunks/_/metadata.factory.mjs +583 -0
- package/.output/server/chunks/_/metadata.factory.mjs.map +1 -0
- package/.output/server/chunks/_/query.factory.mjs +163 -0
- package/.output/server/chunks/_/query.factory.mjs.map +1 -0
- package/.output/server/chunks/_/tables.factory.mjs +788 -0
- package/.output/server/chunks/_/tables.factory.mjs.map +1 -0
- package/.output/server/chunks/_/views.factory.mjs +227 -0
- package/.output/server/chunks/_/views.factory.mjs.map +1 -0
- package/.output/server/chunks/build/client.manifest.mjs +565 -319
- package/.output/server/chunks/build/client.manifest.mjs.map +1 -1
- package/.output/server/chunks/nitro/nitro.mjs +717 -804
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
- package/.output/server/chunks/routes/api/ai/agent.mjs +1626 -0
- package/.output/server/chunks/routes/api/ai/agent.mjs.map +1 -0
- package/.output/server/chunks/routes/api/ai/chat.mjs +2 -2
- package/.output/server/chunks/routes/api/database-export/export-database.mjs +16 -5
- package/.output/server/chunks/routes/api/database-export/export-database.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-import/import-database.mjs +31 -5
- package/.output/server/chunks/routes/api/database-import/import-database.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/create-role.mjs +13 -7
- package/.output/server/chunks/routes/api/database-roles/create-role.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/delete-role.mjs +13 -7
- package/.output/server/chunks/routes/api/database-roles/delete-role.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-databases-with-permissions.mjs +13 -7
- package/.output/server/chunks/routes/api/database-roles/get-databases-with-permissions.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-databases.mjs +20 -9
- package/.output/server/chunks/routes/api/database-roles/get-databases.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-permissions.mjs +13 -7
- package/.output/server/chunks/routes/api/database-roles/get-permissions.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-role-inheritance.mjs +13 -7
- package/.output/server/chunks/routes/api/database-roles/get-role-inheritance.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-role.mjs +13 -7
- package/.output/server/chunks/routes/api/database-roles/get-role.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-roles.mjs +13 -7
- package/.output/server/chunks/routes/api/database-roles/get-roles.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-schema-objects.mjs +13 -7
- package/.output/server/chunks/routes/api/database-roles/get-schema-objects.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-schemas.mjs +13 -7
- package/.output/server/chunks/routes/api/database-roles/get-schemas.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/grant-bulk-permissions.mjs +13 -7
- package/.output/server/chunks/routes/api/database-roles/grant-bulk-permissions.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/grant-permission.mjs +13 -7
- package/.output/server/chunks/routes/api/database-roles/grant-permission.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/revoke-permission.mjs +13 -7
- package/.output/server/chunks/routes/api/database-roles/revoke-permission.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/definition.post.mjs +35 -0
- package/.output/server/chunks/routes/api/functions/definition.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/functions/delete.post.mjs +41 -0
- package/.output/server/chunks/routes/api/functions/delete.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/functions/overview.post.mjs +42 -0
- package/.output/server/chunks/routes/api/functions/overview.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/functions/rename.post.mjs +48 -0
- package/.output/server/chunks/routes/api/functions/rename.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/functions/signature.post.mjs +35 -0
- package/.output/server/chunks/routes/api/functions/signature.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/functions/update.post.mjs +45 -0
- package/.output/server/chunks/routes/api/functions/update.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/instance-insights/cancel-query.post.mjs +55 -0
- package/.output/server/chunks/routes/api/instance-insights/cancel-query.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/instance-insights/configuration.post.mjs +58 -0
- package/.output/server/chunks/routes/api/instance-insights/configuration.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/instance-insights/dashboard.post.mjs +55 -0
- package/.output/server/chunks/routes/api/instance-insights/dashboard.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/instance-insights/drop-slot.post.mjs +55 -0
- package/.output/server/chunks/routes/api/instance-insights/drop-slot.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/instance-insights/replication.post.mjs +55 -0
- package/.output/server/chunks/routes/api/instance-insights/replication.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/instance-insights/state.post.mjs +55 -0
- package/.output/server/chunks/routes/api/instance-insights/state.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/instance-insights/terminate-connection.post.mjs +55 -0
- package/.output/server/chunks/routes/api/instance-insights/terminate-connection.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/instance-insights/toggle-slot-status.post.mjs +60 -0
- package/.output/server/chunks/routes/api/instance-insights/toggle-slot-status.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/managment-connection/health-check.mjs +15 -4
- package/.output/server/chunks/routes/api/managment-connection/health-check.mjs.map +1 -1
- package/.output/server/chunks/routes/api/metadata/erd.post.mjs +34 -0
- package/.output/server/chunks/routes/api/metadata/erd.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/metadata/meta-data.post.mjs +36 -0
- package/.output/server/chunks/routes/api/metadata/meta-data.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/metadata/reverse-schemas.post.mjs +35 -0
- package/.output/server/chunks/routes/api/metadata/reverse-schemas.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/metrics/monitor.post.mjs +103 -0
- package/.output/server/chunks/routes/api/metrics/monitor.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/query/execute.post.mjs +46 -0
- package/.output/server/chunks/routes/api/query/execute.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/query/raw-execute-stream.post.mjs +44 -0
- package/.output/server/chunks/routes/api/query/raw-execute-stream.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/query/raw-execute.post.mjs +48 -0
- package/.output/server/chunks/routes/api/query/raw-execute.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/tables/bulk-delete.post.mjs +49 -0
- package/.output/server/chunks/routes/api/tables/bulk-delete.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/tables/bulk-update.post.mjs +50 -0
- package/.output/server/chunks/routes/api/tables/bulk-update.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/tables/ddl.post.mjs +32 -0
- package/.output/server/chunks/routes/api/tables/ddl.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/tables/export.post.mjs +47 -0
- package/.output/server/chunks/routes/api/tables/export.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/tables/indexes.post.mjs +32 -0
- package/.output/server/chunks/routes/api/tables/indexes.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/tables/meta.post.mjs +39 -0
- package/.output/server/chunks/routes/api/tables/meta.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/tables/overview.post.mjs +32 -0
- package/.output/server/chunks/routes/api/tables/overview.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/tables/rls.post.mjs +36 -0
- package/.output/server/chunks/routes/api/tables/rls.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/tables/rules.post.mjs +32 -0
- package/.output/server/chunks/routes/api/tables/rules.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/tables/size.post.mjs +32 -0
- package/.output/server/chunks/routes/api/tables/size.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/tables/structure.post.mjs +32 -0
- package/.output/server/chunks/routes/api/tables/structure.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/tables/triggers.post.mjs +32 -0
- package/.output/server/chunks/routes/api/tables/triggers.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/views/definition.post.mjs +27 -0
- package/.output/server/chunks/routes/api/views/definition.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/views/dependencies.post.mjs +27 -0
- package/.output/server/chunks/routes/api/views/dependencies.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/views/explain.post.mjs +29 -0
- package/.output/server/chunks/routes/api/views/explain.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/views/indexes.post.mjs +27 -0
- package/.output/server/chunks/routes/api/views/indexes.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/views/meta.post.mjs +27 -0
- package/.output/server/chunks/routes/api/views/meta.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/views/overview.post.mjs +27 -0
- package/.output/server/chunks/routes/api/views/overview.post.mjs.map +1 -0
- package/.output/server/chunks/routes/renderer.mjs +4 -4
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs +1 -1
- package/.output/server/index.mjs +3 -3
- package/.output/server/node_modules/.nitro/@ai-sdk/provider-utils@4.0.19/dist/index.mjs +2756 -0
- package/.output/server/node_modules/.nitro/@ai-sdk/provider-utils@4.0.19/node_modules/@ai-sdk/provider/dist/index.mjs +404 -0
- package/.output/server/node_modules/.nitro/@ai-sdk/provider-utils@4.0.19/node_modules/@ai-sdk/provider/package.json +63 -0
- package/.output/server/node_modules/.nitro/@ai-sdk/provider-utils@4.0.19/package.json +81 -0
- package/.output/server/node_modules/.nitro/@ai-sdk/provider-utils@4.0.4/dist/index.mjs +2549 -0
- package/.output/server/node_modules/.nitro/@ai-sdk/provider-utils@4.0.4/node_modules/@ai-sdk/provider/dist/index.mjs +377 -0
- package/.output/server/node_modules/.nitro/@ai-sdk/provider-utils@4.0.4/node_modules/@ai-sdk/provider/package.json +57 -0
- package/.output/server/node_modules/.nitro/@ai-sdk/provider-utils@4.0.4/package.json +75 -0
- package/.output/server/node_modules/.nitro/@ai-sdk/provider@3.0.2/dist/index.mjs +377 -0
- package/.output/server/node_modules/.nitro/@ai-sdk/provider@3.0.2/package.json +57 -0
- package/.output/server/node_modules/.nitro/@ai-sdk/provider@3.0.8/dist/index.mjs +404 -0
- package/.output/server/node_modules/.nitro/@ai-sdk/provider@3.0.8/package.json +63 -0
- package/.output/server/node_modules/.nitro/debug@4.3.4/node_modules/ms/index.js +162 -0
- package/.output/server/node_modules/.nitro/debug@4.3.4/node_modules/ms/package.json +37 -0
- package/.output/server/node_modules/.nitro/debug@4.3.4/package.json +59 -0
- package/.output/server/node_modules/.nitro/debug@4.3.4/src/browser.js +269 -0
- package/.output/server/node_modules/.nitro/debug@4.3.4/src/common.js +274 -0
- package/.output/server/node_modules/.nitro/debug@4.3.4/src/index.js +10 -0
- package/.output/server/node_modules/.nitro/debug@4.3.4/src/node.js +263 -0
- package/.output/server/node_modules/.nitro/debug@4.4.0/node_modules/ms/index.js +162 -0
- package/.output/server/node_modules/.nitro/debug@4.4.0/node_modules/ms/package.json +38 -0
- package/.output/server/node_modules/.nitro/debug@4.4.0/package.json +65 -0
- package/.output/server/node_modules/.nitro/debug@4.4.0/src/browser.js +272 -0
- package/.output/server/node_modules/.nitro/debug@4.4.0/src/common.js +292 -0
- package/.output/server/node_modules/.nitro/debug@4.4.0/src/index.js +10 -0
- package/.output/server/node_modules/.nitro/debug@4.4.0/src/node.js +263 -0
- package/.output/server/node_modules/.nitro/ms@2.1.2/index.js +162 -0
- package/.output/server/node_modules/.nitro/ms@2.1.2/package.json +37 -0
- package/.output/server/node_modules/.nitro/ms@2.1.3/index.js +162 -0
- package/.output/server/node_modules/.nitro/ms@2.1.3/package.json +38 -0
- package/.output/server/node_modules/.nitro/pg-connection-string@2.6.2/index.js +112 -0
- package/.output/server/node_modules/.nitro/pg-connection-string@2.6.2/package.json +40 -0
- package/.output/server/node_modules/.nitro/pg-connection-string@2.7.0/index.js +112 -0
- package/.output/server/node_modules/.nitro/pg-connection-string@2.7.0/package.json +40 -0
- package/.output/server/node_modules/@ai-sdk/anthropic/node_modules/@ai-sdk/provider/dist/index.mjs +377 -0
- package/.output/server/node_modules/@ai-sdk/anthropic/node_modules/@ai-sdk/provider/package.json +57 -0
- package/.output/server/node_modules/@ai-sdk/anthropic/node_modules/@ai-sdk/provider-utils/dist/index.mjs +2549 -0
- package/.output/server/node_modules/@ai-sdk/anthropic/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/dist/index.mjs +377 -0
- package/.output/server/node_modules/@ai-sdk/anthropic/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/package.json +57 -0
- package/.output/server/node_modules/@ai-sdk/anthropic/node_modules/@ai-sdk/provider-utils/package.json +75 -0
- package/.output/server/node_modules/@ai-sdk/gateway/dist/index.mjs +539 -82
- package/.output/server/node_modules/@ai-sdk/gateway/node_modules/@ai-sdk/provider/dist/index.mjs +404 -0
- package/.output/server/node_modules/@ai-sdk/gateway/node_modules/@ai-sdk/provider/package.json +63 -0
- package/.output/server/node_modules/@ai-sdk/gateway/node_modules/@ai-sdk/provider-utils/dist/index.mjs +2756 -0
- package/.output/server/node_modules/@ai-sdk/gateway/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/dist/index.mjs +404 -0
- package/.output/server/node_modules/@ai-sdk/gateway/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/package.json +63 -0
- package/.output/server/node_modules/@ai-sdk/gateway/node_modules/@ai-sdk/provider-utils/package.json +81 -0
- package/.output/server/node_modules/@ai-sdk/gateway/package.json +16 -5
- package/.output/server/node_modules/@ai-sdk/google/node_modules/@ai-sdk/provider/dist/index.mjs +377 -0
- package/.output/server/node_modules/@ai-sdk/google/node_modules/@ai-sdk/provider/package.json +57 -0
- package/.output/server/node_modules/@ai-sdk/google/node_modules/@ai-sdk/provider-utils/dist/index.mjs +2549 -0
- package/.output/server/node_modules/@ai-sdk/google/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/dist/index.mjs +377 -0
- package/.output/server/node_modules/@ai-sdk/google/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/package.json +57 -0
- package/.output/server/node_modules/@ai-sdk/google/node_modules/@ai-sdk/provider-utils/package.json +75 -0
- package/.output/server/node_modules/@ai-sdk/openai/dist/index.mjs +1498 -961
- package/.output/server/node_modules/@ai-sdk/openai/node_modules/@ai-sdk/provider/dist/index.mjs +404 -0
- package/.output/server/node_modules/@ai-sdk/openai/node_modules/@ai-sdk/provider/package.json +63 -0
- package/.output/server/node_modules/@ai-sdk/openai/node_modules/@ai-sdk/provider-utils/dist/index.mjs +2756 -0
- package/.output/server/node_modules/@ai-sdk/openai/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/dist/index.mjs +404 -0
- package/.output/server/node_modules/@ai-sdk/openai/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/package.json +63 -0
- package/.output/server/node_modules/@ai-sdk/openai/node_modules/@ai-sdk/provider-utils/package.json +81 -0
- package/.output/server/node_modules/@ai-sdk/openai/package.json +14 -5
- package/.output/server/node_modules/@ai-sdk/openai-compatible/node_modules/@ai-sdk/provider/dist/index.mjs +377 -0
- package/.output/server/node_modules/@ai-sdk/openai-compatible/node_modules/@ai-sdk/provider/package.json +57 -0
- package/.output/server/node_modules/@ai-sdk/openai-compatible/node_modules/@ai-sdk/provider-utils/dist/index.mjs +2549 -0
- package/.output/server/node_modules/@ai-sdk/openai-compatible/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/dist/index.mjs +377 -0
- package/.output/server/node_modules/@ai-sdk/openai-compatible/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/package.json +57 -0
- package/.output/server/node_modules/@ai-sdk/openai-compatible/node_modules/@ai-sdk/provider-utils/package.json +75 -0
- package/.output/server/node_modules/@ai-sdk/provider/dist/index.mjs +32 -5
- package/.output/server/node_modules/@ai-sdk/provider/package.json +7 -1
- package/.output/server/node_modules/@ai-sdk/provider-utils/dist/index.mjs +231 -24
- package/.output/server/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/dist/index.mjs +404 -0
- package/.output/server/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/package.json +63 -0
- package/.output/server/node_modules/@ai-sdk/provider-utils/package.json +8 -2
- package/.output/server/node_modules/@ai-sdk/xai/node_modules/@ai-sdk/provider/dist/index.mjs +377 -0
- package/.output/server/node_modules/@ai-sdk/xai/node_modules/@ai-sdk/provider/package.json +57 -0
- package/.output/server/node_modules/@ai-sdk/xai/node_modules/@ai-sdk/provider-utils/dist/index.mjs +2549 -0
- package/.output/server/node_modules/@ai-sdk/xai/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/dist/index.mjs +377 -0
- package/.output/server/node_modules/@ai-sdk/xai/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/package.json +57 -0
- package/.output/server/node_modules/@ai-sdk/xai/node_modules/@ai-sdk/provider-utils/package.json +75 -0
- package/.output/server/node_modules/@iconify/utils/node_modules/debug/node_modules/ms/index.js +162 -0
- package/.output/server/node_modules/@iconify/utils/node_modules/debug/node_modules/ms/package.json +38 -0
- package/.output/server/node_modules/@iconify/utils/node_modules/debug/package.json +65 -0
- package/.output/server/node_modules/@iconify/utils/node_modules/debug/src/browser.js +272 -0
- package/.output/server/node_modules/@iconify/utils/node_modules/debug/src/common.js +292 -0
- package/.output/server/node_modules/@iconify/utils/node_modules/debug/src/index.js +10 -0
- package/.output/server/node_modules/@iconify/utils/node_modules/debug/src/node.js +263 -0
- package/.output/server/node_modules/@openrouter/ai-sdk-provider/dist/index.mjs +4656 -0
- package/.output/server/node_modules/@openrouter/ai-sdk-provider/package.json +82 -0
- package/.output/server/node_modules/ag-grid-community/dist/package/main.esm.mjs +50065 -0
- package/.output/server/node_modules/ag-grid-community/package.json +113 -0
- package/.output/server/node_modules/ai/dist/index.mjs +2069 -918
- package/.output/server/node_modules/ai/node_modules/@ai-sdk/provider/dist/index.mjs +404 -0
- package/.output/server/node_modules/ai/node_modules/@ai-sdk/provider/package.json +63 -0
- package/.output/server/node_modules/ai/node_modules/@ai-sdk/provider-utils/dist/index.mjs +2756 -0
- package/.output/server/node_modules/ai/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/dist/index.mjs +404 -0
- package/.output/server/node_modules/ai/node_modules/@ai-sdk/provider-utils/node_modules/@ai-sdk/provider/package.json +63 -0
- package/.output/server/node_modules/ai/node_modules/@ai-sdk/provider-utils/package.json +81 -0
- package/.output/server/node_modules/ai/package.json +15 -6
- package/.output/server/node_modules/asn1/lib/ber/errors.js +13 -0
- package/.output/server/node_modules/asn1/lib/ber/index.js +27 -0
- package/.output/server/node_modules/asn1/lib/ber/reader.js +262 -0
- package/.output/server/node_modules/asn1/lib/ber/types.js +36 -0
- package/.output/server/node_modules/asn1/lib/ber/writer.js +317 -0
- package/.output/server/node_modules/asn1/lib/index.js +20 -0
- package/.output/server/node_modules/asn1/package.json +31 -0
- package/.output/server/node_modules/bcrypt-pbkdf/index.js +556 -0
- package/.output/server/node_modules/bcrypt-pbkdf/package.json +15 -0
- package/.output/server/node_modules/colorette/index.cjs +218 -0
- package/.output/server/node_modules/colorette/package.json +39 -0
- package/.output/server/node_modules/debug/node_modules/ms/index.js +162 -0
- package/.output/server/node_modules/debug/node_modules/ms/package.json +38 -0
- package/.output/server/node_modules/file-saver/dist/FileSaver.min.js +3 -0
- package/.output/server/node_modules/file-saver/package.json +40 -0
- package/.output/server/node_modules/get-package-type/async.cjs +52 -0
- package/.output/server/node_modules/get-package-type/cache.cjs +3 -0
- package/.output/server/node_modules/get-package-type/index.cjs +7 -0
- package/.output/server/node_modules/get-package-type/is-node-modules.cjs +15 -0
- package/.output/server/node_modules/get-package-type/package.json +35 -0
- package/.output/server/node_modules/get-package-type/sync.cjs +42 -0
- package/.output/server/node_modules/knex/knex.js +23 -0
- package/.output/server/node_modules/knex/knex.mjs +11 -0
- package/.output/server/node_modules/knex/lib/builder-interface-augmenter.js +120 -0
- package/.output/server/node_modules/knex/lib/client.js +495 -0
- package/.output/server/node_modules/knex/lib/constants.js +61 -0
- package/.output/server/node_modules/knex/lib/dialects/better-sqlite3/index.js +77 -0
- package/.output/server/node_modules/knex/lib/dialects/cockroachdb/crdb-columncompiler.js +14 -0
- package/.output/server/node_modules/knex/lib/dialects/cockroachdb/crdb-querybuilder.js +11 -0
- package/.output/server/node_modules/knex/lib/dialects/cockroachdb/crdb-querycompiler.js +122 -0
- package/.output/server/node_modules/knex/lib/dialects/cockroachdb/crdb-tablecompiler.js +37 -0
- package/.output/server/node_modules/knex/lib/dialects/cockroachdb/crdb-viewcompiler.js +15 -0
- package/.output/server/node_modules/knex/lib/dialects/cockroachdb/index.js +86 -0
- package/.output/server/node_modules/knex/lib/dialects/index.js +34 -0
- package/.output/server/node_modules/knex/lib/dialects/mssql/index.js +500 -0
- package/.output/server/node_modules/knex/lib/dialects/mssql/mssql-formatter.js +34 -0
- package/.output/server/node_modules/knex/lib/dialects/mssql/query/mssql-querycompiler.js +601 -0
- package/.output/server/node_modules/knex/lib/dialects/mssql/schema/mssql-columncompiler.js +185 -0
- package/.output/server/node_modules/knex/lib/dialects/mssql/schema/mssql-compiler.js +91 -0
- package/.output/server/node_modules/knex/lib/dialects/mssql/schema/mssql-tablecompiler.js +378 -0
- package/.output/server/node_modules/knex/lib/dialects/mssql/schema/mssql-viewcompiler.js +55 -0
- package/.output/server/node_modules/knex/lib/dialects/mssql/transaction.js +176 -0
- package/.output/server/node_modules/knex/lib/dialects/mysql/index.js +206 -0
- package/.output/server/node_modules/knex/lib/dialects/mysql/query/mysql-querybuilder.js +14 -0
- package/.output/server/node_modules/knex/lib/dialects/mysql/query/mysql-querycompiler.js +292 -0
- package/.output/server/node_modules/knex/lib/dialects/mysql/schema/mysql-columncompiler.js +193 -0
- package/.output/server/node_modules/knex/lib/dialects/mysql/schema/mysql-compiler.js +60 -0
- package/.output/server/node_modules/knex/lib/dialects/mysql/schema/mysql-tablecompiler.js +405 -0
- package/.output/server/node_modules/knex/lib/dialects/mysql/schema/mysql-viewbuilder.js +21 -0
- package/.output/server/node_modules/knex/lib/dialects/mysql/schema/mysql-viewcompiler.js +15 -0
- package/.output/server/node_modules/knex/lib/dialects/mysql/transaction.js +46 -0
- package/.output/server/node_modules/knex/lib/dialects/mysql2/index.js +53 -0
- package/.output/server/node_modules/knex/lib/dialects/mysql2/transaction.js +44 -0
- package/.output/server/node_modules/knex/lib/dialects/oracle/index.js +92 -0
- package/.output/server/node_modules/knex/lib/dialects/oracle/query/oracle-querycompiler.js +343 -0
- package/.output/server/node_modules/knex/lib/dialects/oracle/schema/internal/incrementUtils.js +22 -0
- package/.output/server/node_modules/knex/lib/dialects/oracle/schema/internal/trigger.js +155 -0
- package/.output/server/node_modules/knex/lib/dialects/oracle/schema/oracle-columnbuilder.js +17 -0
- package/.output/server/node_modules/knex/lib/dialects/oracle/schema/oracle-columncompiler.js +126 -0
- package/.output/server/node_modules/knex/lib/dialects/oracle/schema/oracle-compiler.js +124 -0
- package/.output/server/node_modules/knex/lib/dialects/oracle/schema/oracle-tablecompiler.js +197 -0
- package/.output/server/node_modules/knex/lib/dialects/oracle/utils.js +106 -0
- package/.output/server/node_modules/knex/lib/dialects/oracledb/index.js +381 -0
- package/.output/server/node_modules/knex/lib/dialects/oracledb/query/oracledb-querycompiler.js +481 -0
- package/.output/server/node_modules/knex/lib/dialects/oracledb/schema/oracledb-columncompiler.js +61 -0
- package/.output/server/node_modules/knex/lib/dialects/oracledb/schema/oracledb-tablecompiler.js +19 -0
- package/.output/server/node_modules/knex/lib/dialects/oracledb/schema/oracledb-viewbuilder.js +13 -0
- package/.output/server/node_modules/knex/lib/dialects/oracledb/schema/oracledb-viewcompiler.js +19 -0
- package/.output/server/node_modules/knex/lib/dialects/oracledb/transaction.js +98 -0
- package/.output/server/node_modules/knex/lib/dialects/oracledb/utils.js +208 -0
- package/.output/server/node_modules/knex/lib/dialects/pgnative/index.js +60 -0
- package/.output/server/node_modules/knex/lib/dialects/postgres/execution/pg-transaction.js +19 -0
- package/.output/server/node_modules/knex/lib/dialects/postgres/index.js +361 -0
- package/.output/server/node_modules/knex/lib/dialects/postgres/query/pg-querybuilder.js +43 -0
- package/.output/server/node_modules/knex/lib/dialects/postgres/query/pg-querycompiler.js +400 -0
- package/.output/server/node_modules/knex/lib/dialects/postgres/schema/pg-columncompiler.js +156 -0
- package/.output/server/node_modules/knex/lib/dialects/postgres/schema/pg-compiler.js +138 -0
- package/.output/server/node_modules/knex/lib/dialects/postgres/schema/pg-tablecompiler.js +304 -0
- package/.output/server/node_modules/knex/lib/dialects/postgres/schema/pg-viewbuilder.js +21 -0
- package/.output/server/node_modules/knex/lib/dialects/postgres/schema/pg-viewcompiler.js +35 -0
- package/.output/server/node_modules/knex/lib/dialects/redshift/index.js +86 -0
- package/.output/server/node_modules/knex/lib/dialects/redshift/query/redshift-querycompiler.js +163 -0
- package/.output/server/node_modules/knex/lib/dialects/redshift/schema/redshift-columnbuilder.js +22 -0
- package/.output/server/node_modules/knex/lib/dialects/redshift/schema/redshift-columncompiler.js +67 -0
- package/.output/server/node_modules/knex/lib/dialects/redshift/schema/redshift-compiler.js +14 -0
- package/.output/server/node_modules/knex/lib/dialects/redshift/schema/redshift-tablecompiler.js +122 -0
- package/.output/server/node_modules/knex/lib/dialects/redshift/schema/redshift-viewcompiler.js +11 -0
- package/.output/server/node_modules/knex/lib/dialects/redshift/transaction.js +32 -0
- package/.output/server/node_modules/knex/lib/dialects/sqlite3/execution/sqlite-transaction.js +25 -0
- package/.output/server/node_modules/knex/lib/dialects/sqlite3/index.js +250 -0
- package/.output/server/node_modules/knex/lib/dialects/sqlite3/query/sqlite-querybuilder.js +33 -0
- package/.output/server/node_modules/knex/lib/dialects/sqlite3/query/sqlite-querycompiler.js +334 -0
- package/.output/server/node_modules/knex/lib/dialects/sqlite3/schema/ddl.js +400 -0
- package/.output/server/node_modules/knex/lib/dialects/sqlite3/schema/internal/compiler.js +327 -0
- package/.output/server/node_modules/knex/lib/dialects/sqlite3/schema/internal/parser-combinator.js +161 -0
- package/.output/server/node_modules/knex/lib/dialects/sqlite3/schema/internal/parser.js +638 -0
- package/.output/server/node_modules/knex/lib/dialects/sqlite3/schema/internal/sqlite-ddl-operations.js +41 -0
- package/.output/server/node_modules/knex/lib/dialects/sqlite3/schema/internal/tokenizer.js +38 -0
- package/.output/server/node_modules/knex/lib/dialects/sqlite3/schema/internal/utils.js +12 -0
- package/.output/server/node_modules/knex/lib/dialects/sqlite3/schema/sqlite-columncompiler.js +50 -0
- package/.output/server/node_modules/knex/lib/dialects/sqlite3/schema/sqlite-compiler.js +80 -0
- package/.output/server/node_modules/knex/lib/dialects/sqlite3/schema/sqlite-tablecompiler.js +347 -0
- package/.output/server/node_modules/knex/lib/dialects/sqlite3/schema/sqlite-viewcompiler.js +40 -0
- package/.output/server/node_modules/knex/lib/execution/batch-insert.js +51 -0
- package/.output/server/node_modules/knex/lib/execution/internal/delay.js +6 -0
- package/.output/server/node_modules/knex/lib/execution/internal/ensure-connection-callback.js +41 -0
- package/.output/server/node_modules/knex/lib/execution/internal/query-executioner.js +62 -0
- package/.output/server/node_modules/knex/lib/execution/runner.js +325 -0
- package/.output/server/node_modules/knex/lib/execution/transaction.js +413 -0
- package/.output/server/node_modules/knex/lib/formatter/formatterUtils.js +42 -0
- package/.output/server/node_modules/knex/lib/formatter/rawFormatter.js +84 -0
- package/.output/server/node_modules/knex/lib/formatter/wrappingFormatter.js +250 -0
- package/.output/server/node_modules/knex/lib/formatter.js +25 -0
- package/.output/server/node_modules/knex/lib/index.js +3 -0
- package/.output/server/node_modules/knex/lib/knex-builder/FunctionHelper.js +80 -0
- package/.output/server/node_modules/knex/lib/knex-builder/Knex.js +59 -0
- package/.output/server/node_modules/knex/lib/knex-builder/internal/config-resolver.js +57 -0
- package/.output/server/node_modules/knex/lib/knex-builder/internal/parse-connection.js +87 -0
- package/.output/server/node_modules/knex/lib/knex-builder/make-knex.js +345 -0
- package/.output/server/node_modules/knex/lib/logger.js +76 -0
- package/.output/server/node_modules/knex/lib/migrations/common/MigrationsLoader.js +36 -0
- package/.output/server/node_modules/knex/lib/migrations/migrate/MigrationGenerator.js +84 -0
- package/.output/server/node_modules/knex/lib/migrations/migrate/Migrator.js +599 -0
- package/.output/server/node_modules/knex/lib/migrations/migrate/migration-list-resolver.js +33 -0
- package/.output/server/node_modules/knex/lib/migrations/migrate/migrator-configuration-merger.js +58 -0
- package/.output/server/node_modules/knex/lib/migrations/migrate/sources/fs-migrations.js +74 -0
- package/.output/server/node_modules/knex/lib/migrations/migrate/stub/cjs.stub +15 -0
- package/.output/server/node_modules/knex/lib/migrations/migrate/stub/coffee.stub +13 -0
- package/.output/server/node_modules/knex/lib/migrations/migrate/stub/eg.stub +14 -0
- package/.output/server/node_modules/knex/lib/migrations/migrate/stub/js-schema.stub +22 -0
- package/.output/server/node_modules/knex/lib/migrations/migrate/stub/js.stub +22 -0
- package/.output/server/node_modules/knex/lib/migrations/migrate/stub/knexfile-coffee.stub +34 -0
- package/.output/server/node_modules/knex/lib/migrations/migrate/stub/knexfile-eg.stub +43 -0
- package/.output/server/node_modules/knex/lib/migrations/migrate/stub/knexfile-js.stub +47 -0
- package/.output/server/node_modules/knex/lib/migrations/migrate/stub/knexfile-ls.stub +35 -0
- package/.output/server/node_modules/knex/lib/migrations/migrate/stub/knexfile-ts.stub +47 -0
- package/.output/server/node_modules/knex/lib/migrations/migrate/stub/ls.stub +14 -0
- package/.output/server/node_modules/knex/lib/migrations/migrate/stub/mjs.stub +23 -0
- package/.output/server/node_modules/knex/lib/migrations/migrate/stub/ts-schema.stub +21 -0
- package/.output/server/node_modules/knex/lib/migrations/migrate/stub/ts.stub +21 -0
- package/.output/server/node_modules/knex/lib/migrations/migrate/table-creator.js +77 -0
- package/.output/server/node_modules/knex/lib/migrations/migrate/table-resolver.js +27 -0
- package/.output/server/node_modules/knex/lib/migrations/seed/Seeder.js +137 -0
- package/.output/server/node_modules/knex/lib/migrations/seed/seeder-configuration-merger.js +60 -0
- package/.output/server/node_modules/knex/lib/migrations/seed/sources/fs-seeds.js +65 -0
- package/.output/server/node_modules/knex/lib/migrations/seed/stub/coffee.stub +9 -0
- package/.output/server/node_modules/knex/lib/migrations/seed/stub/eg.stub +11 -0
- package/.output/server/node_modules/knex/lib/migrations/seed/stub/js.stub +13 -0
- package/.output/server/node_modules/knex/lib/migrations/seed/stub/ls.stub +11 -0
- package/.output/server/node_modules/knex/lib/migrations/seed/stub/mjs.stub +12 -0
- package/.output/server/node_modules/knex/lib/migrations/seed/stub/ts.stub +13 -0
- package/.output/server/node_modules/knex/lib/migrations/util/fs.js +86 -0
- package/.output/server/node_modules/knex/lib/migrations/util/import-file.js +12 -0
- package/.output/server/node_modules/knex/lib/migrations/util/is-module-type.js +9 -0
- package/.output/server/node_modules/knex/lib/migrations/util/template.js +52 -0
- package/.output/server/node_modules/knex/lib/migrations/util/timestamp.js +14 -0
- package/.output/server/node_modules/knex/lib/query/analytic.js +52 -0
- package/.output/server/node_modules/knex/lib/query/constants.js +15 -0
- package/.output/server/node_modules/knex/lib/query/joinclause.js +270 -0
- package/.output/server/node_modules/knex/lib/query/method-constants.js +136 -0
- package/.output/server/node_modules/knex/lib/query/querybuilder.js +1793 -0
- package/.output/server/node_modules/knex/lib/query/querycompiler.js +1591 -0
- package/.output/server/node_modules/knex/lib/raw.js +139 -0
- package/.output/server/node_modules/knex/lib/ref.js +39 -0
- package/.output/server/node_modules/knex/lib/schema/builder.js +115 -0
- package/.output/server/node_modules/knex/lib/schema/columnbuilder.js +146 -0
- package/.output/server/node_modules/knex/lib/schema/columncompiler.js +307 -0
- package/.output/server/node_modules/knex/lib/schema/compiler.js +187 -0
- package/.output/server/node_modules/knex/lib/schema/internal/helpers.js +55 -0
- package/.output/server/node_modules/knex/lib/schema/tablebuilder.js +376 -0
- package/.output/server/node_modules/knex/lib/schema/tablecompiler.js +439 -0
- package/.output/server/node_modules/knex/lib/schema/viewbuilder.js +92 -0
- package/.output/server/node_modules/knex/lib/schema/viewcompiler.js +138 -0
- package/.output/server/node_modules/knex/lib/util/finally-mixin.js +13 -0
- package/.output/server/node_modules/knex/lib/util/helpers.js +95 -0
- package/.output/server/node_modules/knex/lib/util/is.js +32 -0
- package/.output/server/node_modules/knex/lib/util/nanoid.js +40 -0
- package/.output/server/node_modules/knex/lib/util/noop.js +1 -0
- package/.output/server/node_modules/knex/lib/util/save-async-stack.js +14 -0
- package/.output/server/node_modules/knex/lib/util/security.js +26 -0
- package/.output/server/node_modules/knex/lib/util/string.js +190 -0
- package/.output/server/node_modules/knex/lib/util/timeout.js +29 -0
- package/.output/server/node_modules/knex/node_modules/debug/node_modules/ms/index.js +162 -0
- package/.output/server/node_modules/knex/node_modules/debug/node_modules/ms/package.json +37 -0
- package/.output/server/node_modules/knex/node_modules/debug/package.json +59 -0
- package/.output/server/node_modules/knex/node_modules/debug/src/browser.js +269 -0
- package/.output/server/node_modules/knex/node_modules/debug/src/common.js +274 -0
- package/.output/server/node_modules/knex/node_modules/debug/src/index.js +10 -0
- package/.output/server/node_modules/knex/node_modules/debug/src/node.js +263 -0
- package/.output/server/node_modules/knex/node_modules/pg-connection-string/index.js +112 -0
- package/.output/server/node_modules/knex/node_modules/pg-connection-string/package.json +40 -0
- package/.output/server/node_modules/knex/package.json +267 -0
- package/.output/server/node_modules/lodash/_DataView.js +7 -0
- package/.output/server/node_modules/lodash/_Hash.js +32 -0
- package/.output/server/node_modules/lodash/_ListCache.js +32 -0
- package/.output/server/node_modules/lodash/_Map.js +7 -0
- package/.output/server/node_modules/lodash/_MapCache.js +32 -0
- package/.output/server/node_modules/lodash/_Promise.js +7 -0
- package/.output/server/node_modules/lodash/_Set.js +7 -0
- package/.output/server/node_modules/lodash/_SetCache.js +27 -0
- package/.output/server/node_modules/lodash/_Stack.js +27 -0
- package/.output/server/node_modules/lodash/_Symbol.js +6 -0
- package/.output/server/node_modules/lodash/_Uint8Array.js +6 -0
- package/.output/server/node_modules/lodash/_WeakMap.js +7 -0
- package/.output/server/node_modules/lodash/_apply.js +21 -0
- package/.output/server/node_modules/lodash/_arrayAggregator.js +22 -0
- package/.output/server/node_modules/lodash/_arrayEach.js +22 -0
- package/.output/server/node_modules/lodash/_arrayFilter.js +25 -0
- package/.output/server/node_modules/lodash/_arrayIncludes.js +17 -0
- package/.output/server/node_modules/lodash/_arrayIncludesWith.js +22 -0
- package/.output/server/node_modules/lodash/_arrayLikeKeys.js +49 -0
- package/.output/server/node_modules/lodash/_arrayMap.js +21 -0
- package/.output/server/node_modules/lodash/_arrayPush.js +20 -0
- package/.output/server/node_modules/lodash/_arrayReduce.js +26 -0
- package/.output/server/node_modules/lodash/_arraySome.js +23 -0
- package/.output/server/node_modules/lodash/_asciiToArray.js +12 -0
- package/.output/server/node_modules/lodash/_assignMergeValue.js +20 -0
- package/.output/server/node_modules/lodash/_assignValue.js +28 -0
- package/.output/server/node_modules/lodash/_assocIndexOf.js +21 -0
- package/.output/server/node_modules/lodash/_baseAggregator.js +21 -0
- package/.output/server/node_modules/lodash/_baseAssign.js +17 -0
- package/.output/server/node_modules/lodash/_baseAssignIn.js +17 -0
- package/.output/server/node_modules/lodash/_baseAssignValue.js +25 -0
- package/.output/server/node_modules/lodash/_baseClone.js +166 -0
- package/.output/server/node_modules/lodash/_baseCreate.js +30 -0
- package/.output/server/node_modules/lodash/_baseDelay.js +21 -0
- package/.output/server/node_modules/lodash/_baseDifference.js +67 -0
- package/.output/server/node_modules/lodash/_baseEach.js +14 -0
- package/.output/server/node_modules/lodash/_baseExtremum.js +32 -0
- package/.output/server/node_modules/lodash/_baseFilter.js +21 -0
- package/.output/server/node_modules/lodash/_baseFindIndex.js +24 -0
- package/.output/server/node_modules/lodash/_baseFlatten.js +38 -0
- package/.output/server/node_modules/lodash/_baseFor.js +16 -0
- package/.output/server/node_modules/lodash/_baseForOwn.js +16 -0
- package/.output/server/node_modules/lodash/_baseGet.js +24 -0
- package/.output/server/node_modules/lodash/_baseGetAllKeys.js +20 -0
- package/.output/server/node_modules/lodash/_baseGetTag.js +28 -0
- package/.output/server/node_modules/lodash/_baseGt.js +14 -0
- package/.output/server/node_modules/lodash/_baseHas.js +19 -0
- package/.output/server/node_modules/lodash/_baseHasIn.js +13 -0
- package/.output/server/node_modules/lodash/_baseIndexOf.js +20 -0
- package/.output/server/node_modules/lodash/_baseIsArguments.js +18 -0
- package/.output/server/node_modules/lodash/_baseIsEqual.js +28 -0
- package/.output/server/node_modules/lodash/_baseIsEqualDeep.js +83 -0
- package/.output/server/node_modules/lodash/_baseIsMap.js +18 -0
- package/.output/server/node_modules/lodash/_baseIsMatch.js +62 -0
- package/.output/server/node_modules/lodash/_baseIsNaN.js +12 -0
- package/.output/server/node_modules/lodash/_baseIsNative.js +47 -0
- package/.output/server/node_modules/lodash/_baseIsSet.js +18 -0
- package/.output/server/node_modules/lodash/_baseIsTypedArray.js +60 -0
- package/.output/server/node_modules/lodash/_baseIteratee.js +31 -0
- package/.output/server/node_modules/lodash/_baseKeys.js +30 -0
- package/.output/server/node_modules/lodash/_baseKeysIn.js +33 -0
- package/.output/server/node_modules/lodash/_baseMap.js +22 -0
- package/.output/server/node_modules/lodash/_baseMatches.js +22 -0
- package/.output/server/node_modules/lodash/_baseMatchesProperty.js +33 -0
- package/.output/server/node_modules/lodash/_baseMerge.js +42 -0
- package/.output/server/node_modules/lodash/_baseMergeDeep.js +94 -0
- package/.output/server/node_modules/lodash/_baseOrderBy.js +49 -0
- package/.output/server/node_modules/lodash/_basePickBy.js +30 -0
- package/.output/server/node_modules/lodash/_baseProperty.js +14 -0
- package/.output/server/node_modules/lodash/_basePropertyDeep.js +16 -0
- package/.output/server/node_modules/lodash/_basePropertyOf.js +14 -0
- package/.output/server/node_modules/lodash/_baseReduce.js +23 -0
- package/.output/server/node_modules/lodash/_baseRest.js +17 -0
- package/.output/server/node_modules/lodash/_baseSet.js +51 -0
- package/.output/server/node_modules/lodash/_baseSetToString.js +22 -0
- package/.output/server/node_modules/lodash/_baseSlice.js +31 -0
- package/.output/server/node_modules/lodash/_baseSome.js +22 -0
- package/.output/server/node_modules/lodash/_baseSortBy.js +21 -0
- package/.output/server/node_modules/lodash/_baseTimes.js +20 -0
- package/.output/server/node_modules/lodash/_baseToString.js +37 -0
- package/.output/server/node_modules/lodash/_baseTrim.js +19 -0
- package/.output/server/node_modules/lodash/_baseUnary.js +14 -0
- package/.output/server/node_modules/lodash/_baseUniq.js +72 -0
- package/.output/server/node_modules/lodash/_baseValues.js +19 -0
- package/.output/server/node_modules/lodash/_cacheHas.js +13 -0
- package/.output/server/node_modules/lodash/_castFunction.js +14 -0
- package/.output/server/node_modules/lodash/_castPath.js +21 -0
- package/.output/server/node_modules/lodash/_cloneArrayBuffer.js +16 -0
- package/.output/server/node_modules/lodash/_cloneBuffer.js +35 -0
- package/.output/server/node_modules/lodash/_cloneDataView.js +16 -0
- package/.output/server/node_modules/lodash/_cloneRegExp.js +17 -0
- package/.output/server/node_modules/lodash/_cloneSymbol.js +18 -0
- package/.output/server/node_modules/lodash/_cloneTypedArray.js +16 -0
- package/.output/server/node_modules/lodash/_compareAscending.js +41 -0
- package/.output/server/node_modules/lodash/_compareMultiple.js +44 -0
- package/.output/server/node_modules/lodash/_copyArray.js +20 -0
- package/.output/server/node_modules/lodash/_copyObject.js +40 -0
- package/.output/server/node_modules/lodash/_copySymbols.js +16 -0
- package/.output/server/node_modules/lodash/_copySymbolsIn.js +16 -0
- package/.output/server/node_modules/lodash/_coreJsData.js +6 -0
- package/.output/server/node_modules/lodash/_createAggregator.js +23 -0
- package/.output/server/node_modules/lodash/_createAssigner.js +37 -0
- package/.output/server/node_modules/lodash/_createBaseEach.js +32 -0
- package/.output/server/node_modules/lodash/_createBaseFor.js +25 -0
- package/.output/server/node_modules/lodash/_createSet.js +19 -0
- package/.output/server/node_modules/lodash/_customDefaultsAssignIn.js +29 -0
- package/.output/server/node_modules/lodash/_defineProperty.js +11 -0
- package/.output/server/node_modules/lodash/_equalArrays.js +84 -0
- package/.output/server/node_modules/lodash/_equalByTag.js +112 -0
- package/.output/server/node_modules/lodash/_equalObjects.js +90 -0
- package/.output/server/node_modules/lodash/_escapeHtmlChar.js +21 -0
- package/.output/server/node_modules/lodash/_escapeStringChar.js +22 -0
- package/.output/server/node_modules/lodash/_freeGlobal.js +4 -0
- package/.output/server/node_modules/lodash/_getAllKeys.js +16 -0
- package/.output/server/node_modules/lodash/_getAllKeysIn.js +17 -0
- package/.output/server/node_modules/lodash/_getMapData.js +18 -0
- package/.output/server/node_modules/lodash/_getMatchData.js +24 -0
- package/.output/server/node_modules/lodash/_getNative.js +17 -0
- package/.output/server/node_modules/lodash/_getPrototype.js +6 -0
- package/.output/server/node_modules/lodash/_getRawTag.js +46 -0
- package/.output/server/node_modules/lodash/_getSymbols.js +30 -0
- package/.output/server/node_modules/lodash/_getSymbolsIn.js +25 -0
- package/.output/server/node_modules/lodash/_getTag.js +58 -0
- package/.output/server/node_modules/lodash/_getValue.js +13 -0
- package/.output/server/node_modules/lodash/_hasPath.js +39 -0
- package/.output/server/node_modules/lodash/_hasUnicode.js +26 -0
- package/.output/server/node_modules/lodash/_hashClear.js +15 -0
- package/.output/server/node_modules/lodash/_hashDelete.js +17 -0
- package/.output/server/node_modules/lodash/_hashGet.js +30 -0
- package/.output/server/node_modules/lodash/_hashHas.js +23 -0
- package/.output/server/node_modules/lodash/_hashSet.js +23 -0
- package/.output/server/node_modules/lodash/_initCloneArray.js +26 -0
- package/.output/server/node_modules/lodash/_initCloneByTag.js +77 -0
- package/.output/server/node_modules/lodash/_initCloneObject.js +18 -0
- package/.output/server/node_modules/lodash/_isFlattenable.js +20 -0
- package/.output/server/node_modules/lodash/_isIndex.js +25 -0
- package/.output/server/node_modules/lodash/_isIterateeCall.js +30 -0
- package/.output/server/node_modules/lodash/_isKey.js +29 -0
- package/.output/server/node_modules/lodash/_isKeyable.js +15 -0
- package/.output/server/node_modules/lodash/_isMasked.js +20 -0
- package/.output/server/node_modules/lodash/_isPrototype.js +18 -0
- package/.output/server/node_modules/lodash/_isStrictComparable.js +15 -0
- package/.output/server/node_modules/lodash/_iteratorToArray.js +18 -0
- package/.output/server/node_modules/lodash/_listCacheClear.js +13 -0
- package/.output/server/node_modules/lodash/_listCacheDelete.js +35 -0
- package/.output/server/node_modules/lodash/_listCacheGet.js +19 -0
- package/.output/server/node_modules/lodash/_listCacheHas.js +16 -0
- package/.output/server/node_modules/lodash/_listCacheSet.js +26 -0
- package/.output/server/node_modules/lodash/_mapCacheClear.js +21 -0
- package/.output/server/node_modules/lodash/_mapCacheDelete.js +18 -0
- package/.output/server/node_modules/lodash/_mapCacheGet.js +16 -0
- package/.output/server/node_modules/lodash/_mapCacheHas.js +16 -0
- package/.output/server/node_modules/lodash/_mapCacheSet.js +22 -0
- package/.output/server/node_modules/lodash/_mapToArray.js +18 -0
- package/.output/server/node_modules/lodash/_matchesStrictComparable.js +20 -0
- package/.output/server/node_modules/lodash/_memoizeCapped.js +26 -0
- package/.output/server/node_modules/lodash/_nativeCreate.js +6 -0
- package/.output/server/node_modules/lodash/_nativeKeys.js +6 -0
- package/.output/server/node_modules/lodash/_nativeKeysIn.js +20 -0
- package/.output/server/node_modules/lodash/_nodeUtil.js +30 -0
- package/.output/server/node_modules/lodash/_objectToString.js +22 -0
- package/.output/server/node_modules/lodash/_overArg.js +15 -0
- package/.output/server/node_modules/lodash/_overRest.js +36 -0
- package/.output/server/node_modules/lodash/_reEscape.js +4 -0
- package/.output/server/node_modules/lodash/_reEvaluate.js +4 -0
- package/.output/server/node_modules/lodash/_reInterpolate.js +4 -0
- package/.output/server/node_modules/lodash/_root.js +9 -0
- package/.output/server/node_modules/lodash/_safeGet.js +21 -0
- package/.output/server/node_modules/lodash/_setCacheAdd.js +19 -0
- package/.output/server/node_modules/lodash/_setCacheHas.js +14 -0
- package/.output/server/node_modules/lodash/_setToArray.js +18 -0
- package/.output/server/node_modules/lodash/_setToString.js +14 -0
- package/.output/server/node_modules/lodash/_shortOut.js +37 -0
- package/.output/server/node_modules/lodash/_stackClear.js +15 -0
- package/.output/server/node_modules/lodash/_stackDelete.js +18 -0
- package/.output/server/node_modules/lodash/_stackGet.js +14 -0
- package/.output/server/node_modules/lodash/_stackHas.js +14 -0
- package/.output/server/node_modules/lodash/_stackSet.js +34 -0
- package/.output/server/node_modules/lodash/_strictIndexOf.js +23 -0
- package/.output/server/node_modules/lodash/_stringToArray.js +18 -0
- package/.output/server/node_modules/lodash/_stringToPath.js +27 -0
- package/.output/server/node_modules/lodash/_toKey.js +21 -0
- package/.output/server/node_modules/lodash/_toSource.js +26 -0
- package/.output/server/node_modules/lodash/_trimmedEndIndex.js +19 -0
- package/.output/server/node_modules/lodash/_unicodeToArray.js +40 -0
- package/.output/server/node_modules/lodash/assign.js +58 -0
- package/.output/server/node_modules/lodash/assignIn.js +40 -0
- package/.output/server/node_modules/lodash/assignInWith.js +38 -0
- package/.output/server/node_modules/lodash/attempt.js +35 -0
- package/.output/server/node_modules/lodash/chunk.js +50 -0
- package/.output/server/node_modules/lodash/clone.js +36 -0
- package/.output/server/node_modules/lodash/cloneDeep.js +29 -0
- package/.output/server/node_modules/lodash/compact.js +31 -0
- package/.output/server/node_modules/lodash/constant.js +26 -0
- package/.output/server/node_modules/lodash/defaults.js +64 -0
- package/.output/server/node_modules/lodash/defer.js +26 -0
- package/.output/server/node_modules/lodash/differenceWith.js +40 -0
- package/.output/server/node_modules/lodash/each.js +1 -0
- package/.output/server/node_modules/lodash/eq.js +37 -0
- package/.output/server/node_modules/lodash/escape.js +43 -0
- package/.output/server/node_modules/lodash/extend.js +1 -0
- package/.output/server/node_modules/lodash/filter.js +52 -0
- package/.output/server/node_modules/lodash/first.js +1 -0
- package/.output/server/node_modules/lodash/flatten.js +22 -0
- package/.output/server/node_modules/lodash/forEach.js +41 -0
- package/.output/server/node_modules/lodash/get.js +33 -0
- package/.output/server/node_modules/lodash/groupBy.js +41 -0
- package/.output/server/node_modules/lodash/has.js +35 -0
- package/.output/server/node_modules/lodash/hasIn.js +34 -0
- package/.output/server/node_modules/lodash/head.js +23 -0
- package/.output/server/node_modules/lodash/identity.js +21 -0
- package/.output/server/node_modules/lodash/includes.js +53 -0
- package/.output/server/node_modules/lodash/indexOf.js +42 -0
- package/.output/server/node_modules/lodash/isArguments.js +36 -0
- package/.output/server/node_modules/lodash/isArray.js +26 -0
- package/.output/server/node_modules/lodash/isArrayLike.js +33 -0
- package/.output/server/node_modules/lodash/isArrayLikeObject.js +33 -0
- package/.output/server/node_modules/lodash/isBuffer.js +38 -0
- package/.output/server/node_modules/lodash/isEmpty.js +77 -0
- package/.output/server/node_modules/lodash/isError.js +36 -0
- package/.output/server/node_modules/lodash/isFunction.js +37 -0
- package/.output/server/node_modules/lodash/isLength.js +35 -0
- package/.output/server/node_modules/lodash/isMap.js +27 -0
- package/.output/server/node_modules/lodash/isNil.js +25 -0
- package/.output/server/node_modules/lodash/isObject.js +31 -0
- package/.output/server/node_modules/lodash/isObjectLike.js +29 -0
- package/.output/server/node_modules/lodash/isPlainObject.js +62 -0
- package/.output/server/node_modules/lodash/isSet.js +27 -0
- package/.output/server/node_modules/lodash/isString.js +30 -0
- package/.output/server/node_modules/lodash/isSymbol.js +29 -0
- package/.output/server/node_modules/lodash/isTypedArray.js +27 -0
- package/.output/server/node_modules/lodash/keys.js +37 -0
- package/.output/server/node_modules/lodash/keysIn.js +32 -0
- package/.output/server/node_modules/lodash/last.js +20 -0
- package/.output/server/node_modules/lodash/map.js +53 -0
- package/.output/server/node_modules/lodash/max.js +29 -0
- package/.output/server/node_modules/lodash/memoize.js +73 -0
- package/.output/server/node_modules/lodash/merge.js +39 -0
- package/.output/server/node_modules/lodash/negate.js +40 -0
- package/.output/server/node_modules/lodash/noop.js +17 -0
- package/.output/server/node_modules/lodash/omitBy.js +29 -0
- package/.output/server/node_modules/lodash/package.json +19 -0
- package/.output/server/node_modules/lodash/pickBy.js +37 -0
- package/.output/server/node_modules/lodash/property.js +32 -0
- package/.output/server/node_modules/lodash/reduce.js +51 -0
- package/.output/server/node_modules/lodash/reject.js +46 -0
- package/.output/server/node_modules/lodash/some.js +51 -0
- package/.output/server/node_modules/lodash/sortBy.js +48 -0
- package/.output/server/node_modules/lodash/stubArray.js +23 -0
- package/.output/server/node_modules/lodash/stubFalse.js +18 -0
- package/.output/server/node_modules/lodash/tail.js +22 -0
- package/.output/server/node_modules/lodash/template.js +272 -0
- package/.output/server/node_modules/lodash/templateSettings.js +67 -0
- package/.output/server/node_modules/lodash/toArray.js +58 -0
- package/.output/server/node_modules/lodash/toFinite.js +42 -0
- package/.output/server/node_modules/lodash/toInteger.js +36 -0
- package/.output/server/node_modules/lodash/toNumber.js +64 -0
- package/.output/server/node_modules/lodash/toPlainObject.js +32 -0
- package/.output/server/node_modules/lodash/toString.js +28 -0
- package/.output/server/node_modules/lodash/transform.js +65 -0
- package/.output/server/node_modules/lodash/uniq.js +25 -0
- package/.output/server/node_modules/lodash/uniqueId.js +28 -0
- package/.output/server/node_modules/lodash/values.js +34 -0
- package/.output/server/node_modules/papaparse/package.json +58 -0
- package/.output/server/node_modules/papaparse/papaparse.js +1945 -0
- package/.output/server/node_modules/pg/node_modules/pg-connection-string/index.js +112 -0
- package/.output/server/node_modules/pg/node_modules/pg-connection-string/package.json +40 -0
- package/.output/server/node_modules/safer-buffer/package.json +34 -0
- package/.output/server/node_modules/safer-buffer/safer.js +77 -0
- package/.output/server/node_modules/ssh2/lib/Channel.js +295 -0
- package/.output/server/node_modules/ssh2/lib/agent.js +1123 -0
- package/.output/server/node_modules/ssh2/lib/client.js +2176 -0
- package/.output/server/node_modules/ssh2/lib/http-agents.js +84 -0
- package/.output/server/node_modules/ssh2/lib/index.js +44 -0
- package/.output/server/node_modules/ssh2/lib/keygen.js +582 -0
- package/.output/server/node_modules/ssh2/lib/protocol/Protocol.js +2136 -0
- package/.output/server/node_modules/ssh2/lib/protocol/SFTP.js +4052 -0
- package/.output/server/node_modules/ssh2/lib/protocol/constants.js +356 -0
- package/.output/server/node_modules/ssh2/lib/protocol/crypto/poly1305.js +43 -0
- package/.output/server/node_modules/ssh2/lib/protocol/crypto.js +1602 -0
- package/.output/server/node_modules/ssh2/lib/protocol/handlers.js +16 -0
- package/.output/server/node_modules/ssh2/lib/protocol/handlers.misc.js +1285 -0
- package/.output/server/node_modules/ssh2/lib/protocol/kex.js +1908 -0
- package/.output/server/node_modules/ssh2/lib/protocol/keyParser.js +1484 -0
- package/.output/server/node_modules/ssh2/lib/protocol/node-fs-compat.js +115 -0
- package/.output/server/node_modules/ssh2/lib/protocol/utils.js +356 -0
- package/.output/server/node_modules/ssh2/lib/protocol/zlib.js +255 -0
- package/.output/server/node_modules/ssh2/lib/server.js +1380 -0
- package/.output/server/node_modules/ssh2/lib/utils.js +336 -0
- package/.output/server/node_modules/ssh2/package.json +49 -0
- package/.output/server/node_modules/ssh2/util/pagent.exe +0 -0
- package/.output/server/node_modules/tarn/dist/PendingOperation.js +48 -0
- package/.output/server/node_modules/tarn/dist/Pool.js +516 -0
- package/.output/server/node_modules/tarn/dist/PromiseInspection.js +21 -0
- package/.output/server/node_modules/tarn/dist/Resource.js +19 -0
- package/.output/server/node_modules/tarn/dist/TimeoutError.js +5 -0
- package/.output/server/node_modules/tarn/dist/tarn.js +10 -0
- package/.output/server/node_modules/tarn/dist/utils.js +60 -0
- package/.output/server/node_modules/tarn/package.json +66 -0
- package/.output/server/node_modules/tweetnacl/nacl-fast.js +2388 -0
- package/.output/server/node_modules/tweetnacl/package.json +58 -0
- package/.output/server/package.json +20 -35
- package/package.json +1 -1
- package/.output/public/_nuxt/AKIL8y6B.js +0 -1
- package/.output/public/_nuxt/B5vWsFeq.js +0 -160
- package/.output/public/_nuxt/B7OaQ1wH.js +0 -8
- package/.output/public/_nuxt/BG-9_o0s.js +0 -3
- package/.output/public/_nuxt/BHnp06h8.js +0 -1
- package/.output/public/_nuxt/BKxFOGv6.js +0 -1
- package/.output/public/_nuxt/BNIRlgC1.js +0 -1
- package/.output/public/_nuxt/BNdHe5KI.js +0 -1
- package/.output/public/_nuxt/BQANhp-y.js +0 -1
- package/.output/public/_nuxt/BUYy1lWT.js +0 -215
- package/.output/public/_nuxt/Ber6tLDb.js +0 -1
- package/.output/public/_nuxt/BgEovngA.js +0 -1
- package/.output/public/_nuxt/BhgYrVrc.js +0 -6
- package/.output/public/_nuxt/BmnOz39b.js +0 -2
- package/.output/public/_nuxt/BuKJVBv4.js +0 -1
- package/.output/public/_nuxt/BxMjn94S.js +0 -4
- package/.output/public/_nuxt/C1dxTB9p.js +0 -39
- package/.output/public/_nuxt/C4mc67xO.js +0 -31
- package/.output/public/_nuxt/CAOPafml.js +0 -1
- package/.output/public/_nuxt/CPxn9ATh.js +0 -1
- package/.output/public/_nuxt/CQ_P7x7z.js +0 -3
- package/.output/public/_nuxt/CS9PCQVw.js +0 -6
- package/.output/public/_nuxt/CdEjcJco.js +0 -1
- package/.output/public/_nuxt/CeQk_zaG.js +0 -3867
- package/.output/public/_nuxt/CijEBUIh.js +0 -9
- package/.output/public/_nuxt/Cn-07UHL.js +0 -1
- package/.output/public/_nuxt/D4_A4fm4.js +0 -1
- package/.output/public/_nuxt/DAs4584G.js +0 -72
- package/.output/public/_nuxt/DBO1CAN4.js +0 -1
- package/.output/public/_nuxt/DF7Phtj8.js +0 -39
- package/.output/public/_nuxt/DMMO4O3Y.js +0 -1
- package/.output/public/_nuxt/DP-hoxaC.js +0 -1
- package/.output/public/_nuxt/DREcM-oC.js +0 -20
- package/.output/public/_nuxt/DX-rdvVh.js +0 -28
- package/.output/public/_nuxt/DXei3mDv.js +0 -1
- package/.output/public/_nuxt/DZcRPyDc.js +0 -26
- package/.output/public/_nuxt/D_QjJZ_n.js +0 -1
- package/.output/public/_nuxt/Dj2IVxO7.js +0 -1
- package/.output/public/_nuxt/DmMeuvwr.js +0 -1
- package/.output/public/_nuxt/DqlhGxxN.js +0 -32
- package/.output/public/_nuxt/DynamicTable.DJeANwbG.css +0 -1
- package/.output/public/_nuxt/GmXmO94-.js +0 -1
- package/.output/public/_nuxt/HPyUOgdi.js +0 -1
- package/.output/public/_nuxt/MdxV8r4v.js +0 -1
- package/.output/public/_nuxt/Mp6jDt1I.js +0 -1
- package/.output/public/_nuxt/QuickQuery.h4epNPla.css +0 -1
- package/.output/public/_nuxt/WrapperErdDiagram.DeMTjOwN.css +0 -1
- package/.output/public/_nuxt/Zvfofmwe.js +0 -1
- package/.output/public/_nuxt/_fileId_.BHiWIaF7.css +0 -1
- package/.output/public/_nuxt/builds/meta/db42d692-1628-4dd8-9442-d7621bdd9ac6.json +0 -1
- package/.output/public/_nuxt/cQYBDqKG.js +0 -1
- package/.output/public/_nuxt/default.BfdyU-m9.css +0 -1
- package/.output/public/_nuxt/entry.0UG0MnUy.css +0 -1
- package/.output/public/_nuxt/fIC3FurW.js +0 -1
- package/.output/public/_nuxt/index.BHg08rtV.css +0 -1
- package/.output/public/_nuxt/n9bD6NrC.js +0 -2
- package/.output/public/_nuxt/ykQL1ia3.js +0 -271
- package/.output/public/_nuxt/zD3bTrJp.js +0 -1
- package/.output/server/chunks/routes/api/database-roles/adapters/postgres.adapter.mjs +0 -700
- package/.output/server/chunks/routes/api/database-roles/adapters/postgres.adapter.mjs.map +0 -1
- package/.output/server/chunks/routes/api/database-roles/adapters/types.mjs +0 -2
- package/.output/server/chunks/routes/api/database-roles/adapters/types.mjs.map +0 -1
- package/.output/server/chunks/routes/api/database-roles/index.mjs +0 -39
- package/.output/server/chunks/routes/api/database-roles/index.mjs.map +0 -1
- package/.output/server/chunks/routes/api/delete-function.mjs +0 -65
- package/.output/server/chunks/routes/api/delete-function.mjs.map +0 -1
- package/.output/server/chunks/routes/api/execute-bulk-delete.mjs +0 -100
- package/.output/server/chunks/routes/api/execute-bulk-delete.mjs.map +0 -1
- package/.output/server/chunks/routes/api/execute-bulk-update.mjs +0 -105
- package/.output/server/chunks/routes/api/execute-bulk-update.mjs.map +0 -1
- package/.output/server/chunks/routes/api/execute.mjs +0 -47
- package/.output/server/chunks/routes/api/execute.mjs.map +0 -1
- package/.output/server/chunks/routes/api/export-table-data.mjs +0 -229
- package/.output/server/chunks/routes/api/export-table-data.mjs.map +0 -1
- package/.output/server/chunks/routes/api/get-function-signature.mjs +0 -96
- package/.output/server/chunks/routes/api/get-function-signature.mjs.map +0 -1
- package/.output/server/chunks/routes/api/get-one-function.mjs +0 -34
- package/.output/server/chunks/routes/api/get-one-function.mjs.map +0 -1
- package/.output/server/chunks/routes/api/get-one-table.mjs +0 -180
- package/.output/server/chunks/routes/api/get-one-table.mjs.map +0 -1
- package/.output/server/chunks/routes/api/get-over-view-function.mjs +0 -41
- package/.output/server/chunks/routes/api/get-over-view-function.mjs.map +0 -1
- package/.output/server/chunks/routes/api/get-over-view-tables.mjs +0 -53
- package/.output/server/chunks/routes/api/get-over-view-tables.mjs.map +0 -1
- package/.output/server/chunks/routes/api/get-over-view-views.mjs +0 -44
- package/.output/server/chunks/routes/api/get-over-view-views.mjs.map +0 -1
- package/.output/server/chunks/routes/api/get-reverse-table-schemas.mjs +0 -123
- package/.output/server/chunks/routes/api/get-reverse-table-schemas.mjs.map +0 -1
- package/.output/server/chunks/routes/api/get-schema-meta-data.mjs +0 -220
- package/.output/server/chunks/routes/api/get-schema-meta-data.mjs.map +0 -1
- package/.output/server/chunks/routes/api/get-table-ddl.mjs +0 -185
- package/.output/server/chunks/routes/api/get-table-ddl.mjs.map +0 -1
- package/.output/server/chunks/routes/api/get-table-size.mjs +0 -49
- package/.output/server/chunks/routes/api/get-table-size.mjs.map +0 -1
- package/.output/server/chunks/routes/api/get-table-structure.mjs +0 -111
- package/.output/server/chunks/routes/api/get-table-structure.mjs.map +0 -1
- package/.output/server/chunks/routes/api/get-tables.mjs +0 -287
- package/.output/server/chunks/routes/api/get-tables.mjs.map +0 -1
- package/.output/server/chunks/routes/api/get-view-definition.mjs +0 -57
- package/.output/server/chunks/routes/api/get-view-definition.mjs.map +0 -1
- package/.output/server/chunks/routes/api/getMetricMonitor.mjs +0 -46
- package/.output/server/chunks/routes/api/getMetricMonitor.mjs.map +0 -1
- package/.output/server/chunks/routes/api/raw-execute.mjs +0 -47
- package/.output/server/chunks/routes/api/raw-execute.mjs.map +0 -1
- package/.output/server/chunks/routes/api/rename-function.mjs +0 -77
- package/.output/server/chunks/routes/api/rename-function.mjs.map +0 -1
- package/.output/server/chunks/routes/api/update-function.mjs +0 -65
- package/.output/server/chunks/routes/api/update-function.mjs.map +0 -1
- package/.output/server/node_modules/@ioredis/commands/built/commands.json +0 -2447
- package/.output/server/node_modules/@ioredis/commands/built/index.js +0 -208
- package/.output/server/node_modules/@ioredis/commands/package.json +0 -52
- package/.output/server/node_modules/@sqltools/formatter/lib/core/Formatter.js +0 -234
- package/.output/server/node_modules/@sqltools/formatter/lib/core/Indentation.js +0 -42
- package/.output/server/node_modules/@sqltools/formatter/lib/core/InlineBlock.js +0 -60
- package/.output/server/node_modules/@sqltools/formatter/lib/core/Params.js +0 -21
- package/.output/server/node_modules/@sqltools/formatter/lib/core/Tokenizer.js +0 -272
- package/.output/server/node_modules/@sqltools/formatter/lib/core/escapeRegExp.js +0 -10
- package/.output/server/node_modules/@sqltools/formatter/lib/core/last.js +0 -7
- package/.output/server/node_modules/@sqltools/formatter/lib/core/types.js +0 -22
- package/.output/server/node_modules/@sqltools/formatter/lib/languages/Db2Formatter.js +0 -585
- package/.output/server/node_modules/@sqltools/formatter/lib/languages/N1qlFormatter.js +0 -257
- package/.output/server/node_modules/@sqltools/formatter/lib/languages/PlSqlFormatter.js +0 -459
- package/.output/server/node_modules/@sqltools/formatter/lib/languages/StandardSqlFormatter.js +0 -369
- package/.output/server/node_modules/@sqltools/formatter/lib/languages/utils/abstract.js +0 -23
- package/.output/server/node_modules/@sqltools/formatter/lib/sqlFormatter.js +0 -34
- package/.output/server/node_modules/@sqltools/formatter/package.json +0 -59
- package/.output/server/node_modules/ansis/index.js +0 -1
- package/.output/server/node_modules/ansis/package.json +0 -28
- package/.output/server/node_modules/app-root-path/index.js +0 -4
- package/.output/server/node_modules/app-root-path/lib/app-root-path.js +0 -30
- package/.output/server/node_modules/app-root-path/lib/resolve.js +0 -128
- package/.output/server/node_modules/app-root-path/package.json +0 -66
- package/.output/server/node_modules/balanced-match/index.js +0 -62
- package/.output/server/node_modules/balanced-match/package.json +0 -48
- package/.output/server/node_modules/brace-expansion/index.js +0 -203
- package/.output/server/node_modules/brace-expansion/package.json +0 -46
- package/.output/server/node_modules/cluster-key-slot/lib/index.js +0 -166
- package/.output/server/node_modules/cluster-key-slot/package.json +0 -56
- package/.output/server/node_modules/dedent/dist/dedent.js +0 -73
- package/.output/server/node_modules/dedent/package.json +0 -119
- package/.output/server/node_modules/denque/index.js +0 -481
- package/.output/server/node_modules/denque/package.json +0 -58
- package/.output/server/node_modules/dotenv/lib/main.js +0 -361
- package/.output/server/node_modules/dotenv/package.json +0 -61
- package/.output/server/node_modules/glob/dist/commonjs/glob.js +0 -247
- package/.output/server/node_modules/glob/dist/commonjs/has-magic.js +0 -27
- package/.output/server/node_modules/glob/dist/commonjs/ignore.js +0 -119
- package/.output/server/node_modules/glob/dist/commonjs/index.js +0 -68
- package/.output/server/node_modules/glob/dist/commonjs/package.json +0 -3
- package/.output/server/node_modules/glob/dist/commonjs/pattern.js +0 -219
- package/.output/server/node_modules/glob/dist/commonjs/processor.js +0 -301
- package/.output/server/node_modules/glob/dist/commonjs/walker.js +0 -387
- package/.output/server/node_modules/glob/package.json +0 -99
- package/.output/server/node_modules/inherits/inherits.js +0 -9
- package/.output/server/node_modules/inherits/inherits_browser.js +0 -27
- package/.output/server/node_modules/inherits/package.json +0 -29
- package/.output/server/node_modules/ioredis/built/Command.js +0 -349
- package/.output/server/node_modules/ioredis/built/DataHandler.js +0 -220
- package/.output/server/node_modules/ioredis/built/Pipeline.js +0 -334
- package/.output/server/node_modules/ioredis/built/Redis.js +0 -697
- package/.output/server/node_modules/ioredis/built/ScanStream.js +0 -51
- package/.output/server/node_modules/ioredis/built/Script.js +0 -62
- package/.output/server/node_modules/ioredis/built/SubscriptionSet.js +0 -41
- package/.output/server/node_modules/ioredis/built/autoPipelining.js +0 -159
- package/.output/server/node_modules/ioredis/built/cluster/ClusterOptions.js +0 -22
- package/.output/server/node_modules/ioredis/built/cluster/ClusterSubscriber.js +0 -202
- package/.output/server/node_modules/ioredis/built/cluster/ClusterSubscriberGroup.js +0 -224
- package/.output/server/node_modules/ioredis/built/cluster/ConnectionPool.js +0 -154
- package/.output/server/node_modules/ioredis/built/cluster/DelayQueue.js +0 -53
- package/.output/server/node_modules/ioredis/built/cluster/index.js +0 -862
- package/.output/server/node_modules/ioredis/built/cluster/util.js +0 -100
- package/.output/server/node_modules/ioredis/built/connectors/AbstractConnector.js +0 -26
- package/.output/server/node_modules/ioredis/built/connectors/SentinelConnector/FailoverDetector.js +0 -45
- package/.output/server/node_modules/ioredis/built/connectors/SentinelConnector/SentinelIterator.js +0 -37
- package/.output/server/node_modules/ioredis/built/connectors/SentinelConnector/index.js +0 -305
- package/.output/server/node_modules/ioredis/built/connectors/StandaloneConnector.js +0 -69
- package/.output/server/node_modules/ioredis/built/connectors/index.js +0 -7
- package/.output/server/node_modules/ioredis/built/constants/TLSProfiles.js +0 -149
- package/.output/server/node_modules/ioredis/built/errors/ClusterAllFailedError.js +0 -15
- package/.output/server/node_modules/ioredis/built/errors/MaxRetriesPerRequestError.js +0 -14
- package/.output/server/node_modules/ioredis/built/errors/index.js +0 -5
- package/.output/server/node_modules/ioredis/built/index.js +0 -62
- package/.output/server/node_modules/ioredis/built/redis/RedisOptions.js +0 -55
- package/.output/server/node_modules/ioredis/built/redis/event_handler.js +0 -292
- package/.output/server/node_modules/ioredis/built/transaction.js +0 -93
- package/.output/server/node_modules/ioredis/built/utils/Commander.js +0 -117
- package/.output/server/node_modules/ioredis/built/utils/applyMixin.js +0 -8
- package/.output/server/node_modules/ioredis/built/utils/debug.js +0 -95
- package/.output/server/node_modules/ioredis/built/utils/index.js +0 -297
- package/.output/server/node_modules/ioredis/built/utils/lodash.js +0 -9
- package/.output/server/node_modules/ioredis/package.json +0 -100
- package/.output/server/node_modules/lodash.defaults/index.js +0 -668
- package/.output/server/node_modules/lodash.defaults/package.json +0 -19
- package/.output/server/node_modules/lodash.isarguments/index.js +0 -229
- package/.output/server/node_modules/lodash.isarguments/package.json +0 -19
- package/.output/server/node_modules/lru-cache/dist/commonjs/index.js +0 -1546
- package/.output/server/node_modules/lru-cache/dist/commonjs/package.json +0 -3
- package/.output/server/node_modules/lru-cache/package.json +0 -116
- package/.output/server/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +0 -14
- package/.output/server/node_modules/minimatch/dist/commonjs/ast.js +0 -592
- package/.output/server/node_modules/minimatch/dist/commonjs/brace-expressions.js +0 -152
- package/.output/server/node_modules/minimatch/dist/commonjs/escape.js +0 -22
- package/.output/server/node_modules/minimatch/dist/commonjs/index.js +0 -1017
- package/.output/server/node_modules/minimatch/dist/commonjs/package.json +0 -3
- package/.output/server/node_modules/minimatch/dist/commonjs/unescape.js +0 -24
- package/.output/server/node_modules/minimatch/package.json +0 -82
- package/.output/server/node_modules/minipass/dist/commonjs/index.js +0 -1028
- package/.output/server/node_modules/minipass/dist/commonjs/package.json +0 -3
- package/.output/server/node_modules/minipass/package.json +0 -82
- package/.output/server/node_modules/path-scurry/dist/commonjs/index.js +0 -2014
- package/.output/server/node_modules/path-scurry/dist/commonjs/package.json +0 -3
- package/.output/server/node_modules/path-scurry/package.json +0 -89
- package/.output/server/node_modules/redis-errors/index.js +0 -7
- package/.output/server/node_modules/redis-errors/lib/modern.js +0 -59
- package/.output/server/node_modules/redis-errors/lib/old.js +0 -119
- package/.output/server/node_modules/redis-errors/package.json +0 -41
- package/.output/server/node_modules/redis-parser/index.js +0 -3
- package/.output/server/node_modules/redis-parser/lib/parser.js +0 -552
- package/.output/server/node_modules/redis-parser/package.json +0 -53
- package/.output/server/node_modules/reflect-metadata/Reflect.js +0 -1415
- package/.output/server/node_modules/reflect-metadata/package.json +0 -68
- package/.output/server/node_modules/safe-buffer/index.js +0 -65
- package/.output/server/node_modules/safe-buffer/package.json +0 -51
- package/.output/server/node_modules/sha.js/hash.js +0 -81
- package/.output/server/node_modules/sha.js/index.js +0 -15
- package/.output/server/node_modules/sha.js/package.json +0 -30
- package/.output/server/node_modules/sha.js/sha.js +0 -94
- package/.output/server/node_modules/sha.js/sha1.js +0 -99
- package/.output/server/node_modules/sha.js/sha224.js +0 -53
- package/.output/server/node_modules/sha.js/sha256.js +0 -135
- package/.output/server/node_modules/sha.js/sha384.js +0 -57
- package/.output/server/node_modules/sha.js/sha512.js +0 -260
- package/.output/server/node_modules/sql-highlight/lib/escapeHtml.js +0 -59
- package/.output/server/node_modules/sql-highlight/lib/index.js +0 -85
- package/.output/server/node_modules/sql-highlight/lib/keywords.js +0 -145
- package/.output/server/node_modules/sql-highlight/package.json +0 -49
- package/.output/server/node_modules/standard-as-callback/built/index.js +0 -41
- package/.output/server/node_modules/standard-as-callback/built/utils.js +0 -23
- package/.output/server/node_modules/standard-as-callback/package.json +0 -40
- package/.output/server/node_modules/tslib/package.json +0 -47
- package/.output/server/node_modules/tslib/tslib.js +0 -484
- package/.output/server/node_modules/typeorm/cache/DbQueryResultCache.js +0 -264
- package/.output/server/node_modules/typeorm/cache/QueryResultCacheFactory.js +0 -42
- package/.output/server/node_modules/typeorm/cache/RedisQueryResultCache.js +0 -197
- package/.output/server/node_modules/typeorm/common/DeepPartial.js +0 -4
- package/.output/server/node_modules/typeorm/common/EntityTarget.js +0 -4
- package/.output/server/node_modules/typeorm/common/MixedList.js +0 -4
- package/.output/server/node_modules/typeorm/common/ObjectLiteral.js +0 -4
- package/.output/server/node_modules/typeorm/common/ObjectType.js +0 -4
- package/.output/server/node_modules/typeorm/common/RelationType.js +0 -4
- package/.output/server/node_modules/typeorm/connection/Connection.js +0 -16
- package/.output/server/node_modules/typeorm/connection/ConnectionManager.js +0 -66
- package/.output/server/node_modules/typeorm/connection/ConnectionMetadataBuilder.js +0 -74
- package/.output/server/node_modules/typeorm/connection/ConnectionOptionsReader.js +0 -198
- package/.output/server/node_modules/typeorm/connection/options-reader/ConnectionOptionsEnvReader.js +0 -111
- package/.output/server/node_modules/typeorm/container.js +0 -60
- package/.output/server/node_modules/typeorm/data-source/DataSource.js +0 -517
- package/.output/server/node_modules/typeorm/decorator/Check.js +0 -27
- package/.output/server/node_modules/typeorm/decorator/EntityRepository.js +0 -21
- package/.output/server/node_modules/typeorm/decorator/Exclusion.js +0 -27
- package/.output/server/node_modules/typeorm/decorator/ForeignKey.js +0 -44
- package/.output/server/node_modules/typeorm/decorator/Generated.js +0 -24
- package/.output/server/node_modules/typeorm/decorator/Index.js +0 -56
- package/.output/server/node_modules/typeorm/decorator/Unique.js +0 -50
- package/.output/server/node_modules/typeorm/decorator/columns/Column.js +0 -78
- package/.output/server/node_modules/typeorm/decorator/columns/CreateDateColumn.js +0 -21
- package/.output/server/node_modules/typeorm/decorator/columns/DeleteDateColumn.js +0 -20
- package/.output/server/node_modules/typeorm/decorator/columns/ObjectIdColumn.js +0 -27
- package/.output/server/node_modules/typeorm/decorator/columns/PrimaryColumn.js +0 -63
- package/.output/server/node_modules/typeorm/decorator/columns/PrimaryGeneratedColumn.js +0 -59
- package/.output/server/node_modules/typeorm/decorator/columns/UpdateDateColumn.js +0 -20
- package/.output/server/node_modules/typeorm/decorator/columns/VersionColumn.js +0 -21
- package/.output/server/node_modules/typeorm/decorator/columns/ViewColumn.js +0 -19
- package/.output/server/node_modules/typeorm/decorator/columns/VirtualColumn.js +0 -49
- package/.output/server/node_modules/typeorm/decorator/entity/ChildEntity.js +0 -25
- package/.output/server/node_modules/typeorm/decorator/entity/Entity.js +0 -31
- package/.output/server/node_modules/typeorm/decorator/entity/TableInheritance.js +0 -22
- package/.output/server/node_modules/typeorm/decorator/entity-view/ViewEntity.js +0 -32
- package/.output/server/node_modules/typeorm/decorator/listeners/AfterInsert.js +0 -19
- package/.output/server/node_modules/typeorm/decorator/listeners/AfterLoad.js +0 -19
- package/.output/server/node_modules/typeorm/decorator/listeners/AfterRecover.js +0 -19
- package/.output/server/node_modules/typeorm/decorator/listeners/AfterRemove.js +0 -19
- package/.output/server/node_modules/typeorm/decorator/listeners/AfterSoftRemove.js +0 -19
- package/.output/server/node_modules/typeorm/decorator/listeners/AfterUpdate.js +0 -19
- package/.output/server/node_modules/typeorm/decorator/listeners/BeforeInsert.js +0 -19
- package/.output/server/node_modules/typeorm/decorator/listeners/BeforeRecover.js +0 -19
- package/.output/server/node_modules/typeorm/decorator/listeners/BeforeRemove.js +0 -19
- package/.output/server/node_modules/typeorm/decorator/listeners/BeforeSoftRemove.js +0 -19
- package/.output/server/node_modules/typeorm/decorator/listeners/BeforeUpdate.js +0 -19
- package/.output/server/node_modules/typeorm/decorator/listeners/EventSubscriber.js +0 -17
- package/.output/server/node_modules/typeorm/decorator/options/ColumnOptions.js +0 -4
- package/.output/server/node_modules/typeorm/decorator/options/EntityOptions.js +0 -4
- package/.output/server/node_modules/typeorm/decorator/options/IndexOptions.js +0 -4
- package/.output/server/node_modules/typeorm/decorator/options/JoinColumnOptions.js +0 -4
- package/.output/server/node_modules/typeorm/decorator/options/JoinTableOptions.js +0 -4
- package/.output/server/node_modules/typeorm/decorator/options/RelationOptions.js +0 -4
- package/.output/server/node_modules/typeorm/decorator/options/ValueTransformer.js +0 -4
- package/.output/server/node_modules/typeorm/decorator/relations/JoinColumn.js +0 -27
- package/.output/server/node_modules/typeorm/decorator/relations/JoinTable.js +0 -34
- package/.output/server/node_modules/typeorm/decorator/relations/ManyToMany.js +0 -46
- package/.output/server/node_modules/typeorm/decorator/relations/ManyToOne.js +0 -46
- package/.output/server/node_modules/typeorm/decorator/relations/OneToMany.js +0 -37
- package/.output/server/node_modules/typeorm/decorator/relations/OneToOne.js +0 -45
- package/.output/server/node_modules/typeorm/decorator/relations/RelationCount.js +0 -23
- package/.output/server/node_modules/typeorm/decorator/relations/RelationId.js +0 -22
- package/.output/server/node_modules/typeorm/decorator/tree/Tree.js +0 -21
- package/.output/server/node_modules/typeorm/decorator/tree/TreeChildren.js +0 -34
- package/.output/server/node_modules/typeorm/decorator/tree/TreeLevelColumn.js +0 -19
- package/.output/server/node_modules/typeorm/decorator/tree/TreeParent.js +0 -33
- package/.output/server/node_modules/typeorm/driver/DriverFactory.js +0 -98
- package/.output/server/node_modules/typeorm/driver/DriverUtils.js +0 -228
- package/.output/server/node_modules/typeorm/driver/Query.js +0 -16
- package/.output/server/node_modules/typeorm/driver/SqlInMemory.js +0 -15
- package/.output/server/node_modules/typeorm/driver/aurora-mysql/AuroraMysqlDriver.js +0 -847
- package/.output/server/node_modules/typeorm/driver/aurora-mysql/AuroraMysqlQueryRunner.js +0 -1709
- package/.output/server/node_modules/typeorm/driver/aurora-postgres/AuroraPostgresDriver.js +0 -103
- package/.output/server/node_modules/typeorm/driver/aurora-postgres/AuroraPostgresQueryRunner.js +0 -146
- package/.output/server/node_modules/typeorm/driver/better-sqlite3/BetterSqlite3Driver.js +0 -153
- package/.output/server/node_modules/typeorm/driver/better-sqlite3/BetterSqlite3QueryRunner.js +0 -126
- package/.output/server/node_modules/typeorm/driver/capacitor/CapacitorDriver.js +0 -78
- package/.output/server/node_modules/typeorm/driver/capacitor/CapacitorQueryRunner.js +0 -98
- package/.output/server/node_modules/typeorm/driver/cockroachdb/CockroachDriver.js +0 -885
- package/.output/server/node_modules/typeorm/driver/cockroachdb/CockroachQueryRunner.js +0 -2453
- package/.output/server/node_modules/typeorm/driver/cordova/CordovaDriver.js +0 -76
- package/.output/server/node_modules/typeorm/driver/cordova/CordovaQueryRunner.js +0 -170
- package/.output/server/node_modules/typeorm/driver/expo/ExpoDriver.js +0 -29
- package/.output/server/node_modules/typeorm/driver/expo/ExpoDriverFactory.js +0 -22
- package/.output/server/node_modules/typeorm/driver/expo/ExpoQueryRunner.js +0 -65
- package/.output/server/node_modules/typeorm/driver/expo/legacy/ExpoLegacyDriver.js +0 -75
- package/.output/server/node_modules/typeorm/driver/expo/legacy/ExpoLegacyQueryRunner.js +0 -169
- package/.output/server/node_modules/typeorm/driver/mongodb/MongoDriver.js +0 -404
- package/.output/server/node_modules/typeorm/driver/mongodb/MongoQueryRunner.js +0 -701
- package/.output/server/node_modules/typeorm/driver/mongodb/bson.typings.js +0 -5
- package/.output/server/node_modules/typeorm/driver/mongodb/typings.js +0 -23
- package/.output/server/node_modules/typeorm/driver/mysql/MysqlDriver.js +0 -1105
- package/.output/server/node_modules/typeorm/driver/mysql/MysqlQueryRunner.js +0 -2139
- package/.output/server/node_modules/typeorm/driver/nativescript/NativescriptDriver.js +0 -94
- package/.output/server/node_modules/typeorm/driver/nativescript/NativescriptQueryRunner.js +0 -92
- package/.output/server/node_modules/typeorm/driver/oracle/OracleDriver.js +0 -869
- package/.output/server/node_modules/typeorm/driver/oracle/OracleQueryRunner.js +0 -1884
- package/.output/server/node_modules/typeorm/driver/postgres/PostgresDriver.js +0 -1259
- package/.output/server/node_modules/typeorm/driver/postgres/PostgresQueryRunner.js +0 -2729
- package/.output/server/node_modules/typeorm/driver/react-native/ReactNativeDriver.js +0 -728
- package/.output/server/node_modules/typeorm/driver/react-native/ReactNativeQueryRunner.js +0 -107
- package/.output/server/node_modules/typeorm/driver/sap/SapDriver.js +0 -681
- package/.output/server/node_modules/typeorm/driver/sap/SapQueryRunner.js +0 -2054
- package/.output/server/node_modules/typeorm/driver/spanner/SpannerDriver.js +0 -613
- package/.output/server/node_modules/typeorm/driver/spanner/SpannerQueryRunner.js +0 -1464
- package/.output/server/node_modules/typeorm/driver/sqlite/SqliteDriver.js +0 -174
- package/.output/server/node_modules/typeorm/driver/sqlite/SqliteQueryRunner.js +0 -124
- package/.output/server/node_modules/typeorm/driver/sqlite-abstract/AbstractSqliteDriver.js +0 -695
- package/.output/server/node_modules/typeorm/driver/sqlite-abstract/AbstractSqliteQueryRunner.js +0 -1511
- package/.output/server/node_modules/typeorm/driver/sqljs/SqljsDriver.js +0 -250
- package/.output/server/node_modules/typeorm/driver/sqljs/SqljsQueryRunner.js +0 -123
- package/.output/server/node_modules/typeorm/driver/sqlserver/MssqlParameter.js +0 -23
- package/.output/server/node_modules/typeorm/driver/sqlserver/SqlServerDriver.js +0 -922
- package/.output/server/node_modules/typeorm/driver/sqlserver/SqlServerQueryRunner.js +0 -2484
- package/.output/server/node_modules/typeorm/driver/types/DatabaseType.js +0 -4
- package/.output/server/node_modules/typeorm/driver/types/GeoJsonTypes.js +0 -4
- package/.output/server/node_modules/typeorm/driver/types/MetadataTableType.js +0 -11
- package/.output/server/node_modules/typeorm/driver/types/ReplicationMode.js +0 -4
- package/.output/server/node_modules/typeorm/entity-manager/EntityManager.js +0 -853
- package/.output/server/node_modules/typeorm/entity-manager/EntityManagerFactory.js +0 -24
- package/.output/server/node_modules/typeorm/entity-manager/MongoEntityManager.js +0 -668
- package/.output/server/node_modules/typeorm/entity-manager/SqljsEntityManager.js +0 -44
- package/.output/server/node_modules/typeorm/entity-schema/EntitySchema.js +0 -15
- package/.output/server/node_modules/typeorm/entity-schema/EntitySchemaEmbeddedColumnOptions.js +0 -8
- package/.output/server/node_modules/typeorm/entity-schema/EntitySchemaEmbeddedError.js +0 -18
- package/.output/server/node_modules/typeorm/entity-schema/EntitySchemaOptions.js +0 -11
- package/.output/server/node_modules/typeorm/entity-schema/EntitySchemaTransformer.js +0 -333
- package/.output/server/node_modules/typeorm/error/AlreadyHasActiveConnectionError.js +0 -16
- package/.output/server/node_modules/typeorm/error/CannotAttachTreeChildrenEntityError.js +0 -16
- package/.output/server/node_modules/typeorm/error/CannotConnectAlreadyConnectedError.js +0 -15
- package/.output/server/node_modules/typeorm/error/CannotCreateEntityIdMapError.js +0 -21
- package/.output/server/node_modules/typeorm/error/CannotDetermineEntityError.js +0 -16
- package/.output/server/node_modules/typeorm/error/CannotExecuteNotConnectedError.js +0 -15
- package/.output/server/node_modules/typeorm/error/CannotGetEntityManagerNotConnectedError.js +0 -15
- package/.output/server/node_modules/typeorm/error/CannotReflectMethodParameterTypeError.js +0 -18
- package/.output/server/node_modules/typeorm/error/CircularRelationsError.js +0 -16
- package/.output/server/node_modules/typeorm/error/ColumnTypeUndefinedError.js +0 -19
- package/.output/server/node_modules/typeorm/error/ConnectionIsNotSetError.js +0 -15
- package/.output/server/node_modules/typeorm/error/ConnectionNotFoundError.js +0 -15
- package/.output/server/node_modules/typeorm/error/CustomRepositoryCannotInheritRepositoryError.js +0 -18
- package/.output/server/node_modules/typeorm/error/CustomRepositoryDoesNotHaveEntityError.js +0 -18
- package/.output/server/node_modules/typeorm/error/CustomRepositoryNotFoundError.js +0 -18
- package/.output/server/node_modules/typeorm/error/DataTypeNotSupportedError.js +0 -14
- package/.output/server/node_modules/typeorm/error/DriverOptionNotSetError.js +0 -16
- package/.output/server/node_modules/typeorm/error/DriverPackageNotInstalledError.js +0 -16
- package/.output/server/node_modules/typeorm/error/EntityMetadataNotFoundError.js +0 -29
- package/.output/server/node_modules/typeorm/error/EntityNotFoundError.js +0 -42
- package/.output/server/node_modules/typeorm/error/EntityPropertyNotFoundError.js +0 -17
- package/.output/server/node_modules/typeorm/error/FindRelationsNotFoundError.js +0 -23
- package/.output/server/node_modules/typeorm/error/ForbiddenTransactionModeOverrideError.js +0 -16
- package/.output/server/node_modules/typeorm/error/InitializedRelationError.js +0 -20
- package/.output/server/node_modules/typeorm/error/InsertValuesMissingError.js +0 -16
- package/.output/server/node_modules/typeorm/error/LimitOnUpdateNotSupportedError.js +0 -15
- package/.output/server/node_modules/typeorm/error/LockNotSupportedOnGivenDriverError.js +0 -15
- package/.output/server/node_modules/typeorm/error/MetadataAlreadyExistsError.js +0 -18
- package/.output/server/node_modules/typeorm/error/MetadataWithSuchNameAlreadyExistsError.js +0 -16
- package/.output/server/node_modules/typeorm/error/MissingDeleteDateColumnError.js +0 -12
- package/.output/server/node_modules/typeorm/error/MissingDriverError.js +0 -16
- package/.output/server/node_modules/typeorm/error/MissingJoinColumnError.js +0 -23
- package/.output/server/node_modules/typeorm/error/MissingJoinTableError.js +0 -23
- package/.output/server/node_modules/typeorm/error/MissingPrimaryColumnError.js +0 -13
- package/.output/server/node_modules/typeorm/error/MustBeEntityError.js +0 -15
- package/.output/server/node_modules/typeorm/error/NestedSetMultipleRootError.js +0 -12
- package/.output/server/node_modules/typeorm/error/NoConnectionForRepositoryError.js +0 -16
- package/.output/server/node_modules/typeorm/error/NoConnectionOptionError.js +0 -16
- package/.output/server/node_modules/typeorm/error/NoNeedToReleaseEntityManagerError.js +0 -17
- package/.output/server/node_modules/typeorm/error/NoVersionOrUpdateDateColumnError.js +0 -15
- package/.output/server/node_modules/typeorm/error/OffsetWithoutLimitNotSupportedError.js +0 -17
- package/.output/server/node_modules/typeorm/error/OptimisticLockCanNotBeUsedError.js +0 -15
- package/.output/server/node_modules/typeorm/error/OptimisticLockVersionMismatchError.js +0 -15
- package/.output/server/node_modules/typeorm/error/PersistedEntityNotFoundError.js +0 -15
- package/.output/server/node_modules/typeorm/error/PessimisticLockTransactionRequiredError.js +0 -15
- package/.output/server/node_modules/typeorm/error/PrimaryColumnCannotBeNullableError.js +0 -13
- package/.output/server/node_modules/typeorm/error/QueryFailedError.js +0 -30
- package/.output/server/node_modules/typeorm/error/QueryRunnerAlreadyReleasedError.js +0 -12
- package/.output/server/node_modules/typeorm/error/QueryRunnerProviderAlreadyReleasedError.js +0 -16
- package/.output/server/node_modules/typeorm/error/RepositoryNotTreeError.js +0 -32
- package/.output/server/node_modules/typeorm/error/ReturningStatementNotSupportedError.js +0 -16
- package/.output/server/node_modules/typeorm/error/SubjectRemovedAndUpdatedError.js +0 -16
- package/.output/server/node_modules/typeorm/error/SubjectWithoutIdentifierError.js +0 -17
- package/.output/server/node_modules/typeorm/error/TransactionAlreadyStartedError.js +0 -15
- package/.output/server/node_modules/typeorm/error/TransactionNotStartedError.js +0 -15
- package/.output/server/node_modules/typeorm/error/TreeRepositoryNotSupportedError.js +0 -12
- package/.output/server/node_modules/typeorm/error/TypeORMError.js +0 -23
- package/.output/server/node_modules/typeorm/error/UpdateValuesMissingError.js +0 -12
- package/.output/server/node_modules/typeorm/error/UsingJoinColumnIsNotAllowedError.js +0 -13
- package/.output/server/node_modules/typeorm/error/UsingJoinColumnOnlyOnOneSideAllowedError.js +0 -14
- package/.output/server/node_modules/typeorm/error/UsingJoinTableIsNotAllowedError.js +0 -14
- package/.output/server/node_modules/typeorm/error/UsingJoinTableOnlyOnOneSideAllowedError.js +0 -14
- package/.output/server/node_modules/typeorm/error/index.js +0 -66
- package/.output/server/node_modules/typeorm/find-options/EqualOperator.js +0 -13
- package/.output/server/node_modules/typeorm/find-options/FindManyOptions.js +0 -4
- package/.output/server/node_modules/typeorm/find-options/FindOneOptions.js +0 -4
- package/.output/server/node_modules/typeorm/find-options/FindOperator.js +0 -96
- package/.output/server/node_modules/typeorm/find-options/FindOperatorType.js +0 -4
- package/.output/server/node_modules/typeorm/find-options/FindOptionsOrder.js +0 -4
- package/.output/server/node_modules/typeorm/find-options/FindOptionsRelations.js +0 -4
- package/.output/server/node_modules/typeorm/find-options/FindOptionsSelect.js +0 -4
- package/.output/server/node_modules/typeorm/find-options/FindOptionsUtils.js +0 -350
- package/.output/server/node_modules/typeorm/find-options/FindOptionsWhere.js +0 -4
- package/.output/server/node_modules/typeorm/find-options/FindTreeOptions.js +0 -4
- package/.output/server/node_modules/typeorm/find-options/JoinOptions.js +0 -4
- package/.output/server/node_modules/typeorm/find-options/OrderByCondition.js +0 -4
- package/.output/server/node_modules/typeorm/find-options/operator/And.js +0 -9
- package/.output/server/node_modules/typeorm/find-options/operator/Any.js +0 -13
- package/.output/server/node_modules/typeorm/find-options/operator/ArrayContainedBy.js +0 -13
- package/.output/server/node_modules/typeorm/find-options/operator/ArrayContains.js +0 -13
- package/.output/server/node_modules/typeorm/find-options/operator/ArrayOverlap.js +0 -13
- package/.output/server/node_modules/typeorm/find-options/operator/Between.js +0 -13
- package/.output/server/node_modules/typeorm/find-options/operator/Equal.js +0 -17
- package/.output/server/node_modules/typeorm/find-options/operator/ILike.js +0 -13
- package/.output/server/node_modules/typeorm/find-options/operator/In.js +0 -13
- package/.output/server/node_modules/typeorm/find-options/operator/IsNull.js +0 -13
- package/.output/server/node_modules/typeorm/find-options/operator/JsonContains.js +0 -13
- package/.output/server/node_modules/typeorm/find-options/operator/LessThan.js +0 -13
- package/.output/server/node_modules/typeorm/find-options/operator/LessThanOrEqual.js +0 -13
- package/.output/server/node_modules/typeorm/find-options/operator/Like.js +0 -13
- package/.output/server/node_modules/typeorm/find-options/operator/MoreThan.js +0 -13
- package/.output/server/node_modules/typeorm/find-options/operator/MoreThanOrEqual.js +0 -13
- package/.output/server/node_modules/typeorm/find-options/operator/Not.js +0 -14
- package/.output/server/node_modules/typeorm/find-options/operator/Or.js +0 -9
- package/.output/server/node_modules/typeorm/find-options/operator/Raw.js +0 -12
- package/.output/server/node_modules/typeorm/globals.js +0 -182
- package/.output/server/node_modules/typeorm/index.js +0 -196
- package/.output/server/node_modules/typeorm/index.mjs +0 -422
- package/.output/server/node_modules/typeorm/logger/AbstractLogger.js +0 -238
- package/.output/server/node_modules/typeorm/logger/AdvancedConsoleLogger.js +0 -56
- package/.output/server/node_modules/typeorm/logger/DebugLogger.js +0 -78
- package/.output/server/node_modules/typeorm/logger/FileLogger.js +0 -88
- package/.output/server/node_modules/typeorm/logger/FormattedConsoleLogger.js +0 -59
- package/.output/server/node_modules/typeorm/logger/Logger.js +0 -4
- package/.output/server/node_modules/typeorm/logger/LoggerFactory.js +0 -39
- package/.output/server/node_modules/typeorm/logger/LoggerOptions.js +0 -4
- package/.output/server/node_modules/typeorm/logger/SimpleConsoleLogger.js +0 -57
- package/.output/server/node_modules/typeorm/metadata/CheckMetadata.js +0 -35
- package/.output/server/node_modules/typeorm/metadata/ColumnMetadata.js +0 -618
- package/.output/server/node_modules/typeorm/metadata/EmbeddedMetadata.js +0 -224
- package/.output/server/node_modules/typeorm/metadata/EntityListenerMetadata.js +0 -77
- package/.output/server/node_modules/typeorm/metadata/EntityMetadata.js +0 -692
- package/.output/server/node_modules/typeorm/metadata/ExclusionMetadata.js +0 -35
- package/.output/server/node_modules/typeorm/metadata/ForeignKeyMetadata.js +0 -57
- package/.output/server/node_modules/typeorm/metadata/IndexMetadata.js +0 -144
- package/.output/server/node_modules/typeorm/metadata/RelationCountMetadata.js +0 -39
- package/.output/server/node_modules/typeorm/metadata/RelationIdMetadata.js +0 -62
- package/.output/server/node_modules/typeorm/metadata/RelationMetadata.js +0 -440
- package/.output/server/node_modules/typeorm/metadata/UniqueMetadata.js +0 -101
- package/.output/server/node_modules/typeorm/metadata/types/EventListenerTypes.js +0 -22
- package/.output/server/node_modules/typeorm/metadata-args/MetadataArgsStorage.js +0 -236
- package/.output/server/node_modules/typeorm/metadata-builder/ClosureJunctionEntityMetadataBuilder.js +0 -145
- package/.output/server/node_modules/typeorm/metadata-builder/EntityMetadataBuilder.js +0 -838
- package/.output/server/node_modules/typeorm/metadata-builder/EntityMetadataValidator.js +0 -258
- package/.output/server/node_modules/typeorm/metadata-builder/JunctionEntityMetadataBuilder.js +0 -287
- package/.output/server/node_modules/typeorm/metadata-builder/MetadataUtils.js +0 -44
- package/.output/server/node_modules/typeorm/metadata-builder/RelationJoinColumnBuilder.js +0 -185
- package/.output/server/node_modules/typeorm/migration/Migration.js +0 -21
- package/.output/server/node_modules/typeorm/migration/MigrationExecutor.js +0 -534
- package/.output/server/node_modules/typeorm/naming-strategy/DefaultNamingStrategy.js +0 -145
- package/.output/server/node_modules/typeorm/naming-strategy/LegacyOracleNamingStrategy.js +0 -50
- package/.output/server/node_modules/typeorm/package.json +0 -268
- package/.output/server/node_modules/typeorm/persistence/EntityPersistExecutor.js +0 -170
- package/.output/server/node_modules/typeorm/persistence/Subject.js +0 -239
- package/.output/server/node_modules/typeorm/persistence/SubjectChangedColumnsComputer.js +0 -216
- package/.output/server/node_modules/typeorm/persistence/SubjectDatabaseEntityLoader.js +0 -135
- package/.output/server/node_modules/typeorm/persistence/SubjectExecutor.js +0 -760
- package/.output/server/node_modules/typeorm/persistence/SubjectTopologicalSorter.js +0 -174
- package/.output/server/node_modules/typeorm/persistence/subject-builder/CascadesSubjectBuilder.js +0 -107
- package/.output/server/node_modules/typeorm/persistence/subject-builder/ManyToManySubjectBuilder.js +0 -218
- package/.output/server/node_modules/typeorm/persistence/subject-builder/OneToManySubjectBuilder.js +0 -181
- package/.output/server/node_modules/typeorm/persistence/subject-builder/OneToOneInverseSideSubjectBuilder.js +0 -155
- package/.output/server/node_modules/typeorm/persistence/tree/ClosureSubjectExecutor.js +0 -241
- package/.output/server/node_modules/typeorm/persistence/tree/MaterializedPathSubjectExecutor.js +0 -125
- package/.output/server/node_modules/typeorm/persistence/tree/NestedSetSubjectExecutor.js +0 -271
- package/.output/server/node_modules/typeorm/platform/PlatformTools.js +0 -243
- package/.output/server/node_modules/typeorm/query-builder/Alias.js +0 -29
- package/.output/server/node_modules/typeorm/query-builder/Brackets.js +0 -19
- package/.output/server/node_modules/typeorm/query-builder/DeleteQueryBuilder.js +0 -200
- package/.output/server/node_modules/typeorm/query-builder/InsertQueryBuilder.js +0 -745
- package/.output/server/node_modules/typeorm/query-builder/JoinAttribute.js +0 -175
- package/.output/server/node_modules/typeorm/query-builder/NotBrackets.js +0 -17
- package/.output/server/node_modules/typeorm/query-builder/QueryBuilder.js +0 -1139
- package/.output/server/node_modules/typeorm/query-builder/QueryBuilderUtils.js +0 -32
- package/.output/server/node_modules/typeorm/query-builder/QueryExpressionMap.js +0 -328
- package/.output/server/node_modules/typeorm/query-builder/RelationIdLoader.js +0 -503
- package/.output/server/node_modules/typeorm/query-builder/RelationLoader.js +0 -283
- package/.output/server/node_modules/typeorm/query-builder/RelationQueryBuilder.js +0 -155
- package/.output/server/node_modules/typeorm/query-builder/RelationRemover.js +0 -143
- package/.output/server/node_modules/typeorm/query-builder/RelationUpdater.js +0 -152
- package/.output/server/node_modules/typeorm/query-builder/ReturningResultsEntityUpdator.js +0 -176
- package/.output/server/node_modules/typeorm/query-builder/SelectQueryBuilder.js +0 -2656
- package/.output/server/node_modules/typeorm/query-builder/SoftDeleteQueryBuilder.js +0 -368
- package/.output/server/node_modules/typeorm/query-builder/UpdateQueryBuilder.js +0 -498
- package/.output/server/node_modules/typeorm/query-builder/index.js +0 -20
- package/.output/server/node_modules/typeorm/query-builder/relation-count/RelationCountAttribute.js +0 -80
- package/.output/server/node_modules/typeorm/query-builder/relation-count/RelationCountLoader.js +0 -168
- package/.output/server/node_modules/typeorm/query-builder/relation-count/RelationCountMetadataToAttributeTransformer.js +0 -55
- package/.output/server/node_modules/typeorm/query-builder/relation-id/RelationIdAttribute.js +0 -88
- package/.output/server/node_modules/typeorm/query-builder/relation-id/RelationIdLoader.js +0 -275
- package/.output/server/node_modules/typeorm/query-builder/relation-id/RelationIdMetadataToAttributeTransformer.js +0 -55
- package/.output/server/node_modules/typeorm/query-builder/result/DeleteResult.js +0 -17
- package/.output/server/node_modules/typeorm/query-builder/result/InsertResult.js +0 -28
- package/.output/server/node_modules/typeorm/query-builder/result/UpdateResult.js +0 -29
- package/.output/server/node_modules/typeorm/query-builder/transformer/DocumentToEntityTransformer.js +0 -196
- package/.output/server/node_modules/typeorm/query-builder/transformer/PlainObjectToDatabaseEntityTransformer.js +0 -112
- package/.output/server/node_modules/typeorm/query-builder/transformer/PlainObjectToNewEntityTransformer.js +0 -92
- package/.output/server/node_modules/typeorm/query-builder/transformer/RawSqlResultsToEntityTransformer.js +0 -447
- package/.output/server/node_modules/typeorm/query-runner/BaseQueryRunner.js +0 -454
- package/.output/server/node_modules/typeorm/query-runner/QueryLock.js +0 -28
- package/.output/server/node_modules/typeorm/query-runner/QueryResult.js +0 -17
- package/.output/server/node_modules/typeorm/repository/AbstractRepository.js +0 -92
- package/.output/server/node_modules/typeorm/repository/BaseEntity.js +0 -328
- package/.output/server/node_modules/typeorm/repository/MongoRepository.js +0 -305
- package/.output/server/node_modules/typeorm/repository/RemoveOptions.js +0 -4
- package/.output/server/node_modules/typeorm/repository/Repository.js +0 -379
- package/.output/server/node_modules/typeorm/repository/SaveOptions.js +0 -4
- package/.output/server/node_modules/typeorm/repository/TreeRepository.js +0 -255
- package/.output/server/node_modules/typeorm/schema-builder/MongoSchemaBuilder.js +0 -66
- package/.output/server/node_modules/typeorm/schema-builder/RdbmsSchemaBuilder.js +0 -929
- package/.output/server/node_modules/typeorm/schema-builder/options/TableCheckOptions.js +0 -4
- package/.output/server/node_modules/typeorm/schema-builder/options/TableColumnOptions.js +0 -4
- package/.output/server/node_modules/typeorm/schema-builder/options/TableExclusionOptions.js +0 -4
- package/.output/server/node_modules/typeorm/schema-builder/options/TableForeignKeyOptions.js +0 -4
- package/.output/server/node_modules/typeorm/schema-builder/options/TableIndexOptions.js +0 -4
- package/.output/server/node_modules/typeorm/schema-builder/options/TableOptions.js +0 -4
- package/.output/server/node_modules/typeorm/schema-builder/options/TableUniqueOptions.js +0 -4
- package/.output/server/node_modules/typeorm/schema-builder/options/ViewOptions.js +0 -4
- package/.output/server/node_modules/typeorm/schema-builder/table/Table.js +0 -296
- package/.output/server/node_modules/typeorm/schema-builder/table/TableCheck.js +0 -49
- package/.output/server/node_modules/typeorm/schema-builder/table/TableColumn.js +0 -117
- package/.output/server/node_modules/typeorm/schema-builder/table/TableExclusion.js +0 -43
- package/.output/server/node_modules/typeorm/schema-builder/table/TableForeignKey.js +0 -72
- package/.output/server/node_modules/typeorm/schema-builder/table/TableIndex.js +0 -68
- package/.output/server/node_modules/typeorm/schema-builder/table/TableUnique.js +0 -50
- package/.output/server/node_modules/typeorm/schema-builder/util/TableUtils.js +0 -41
- package/.output/server/node_modules/typeorm/schema-builder/util/ViewUtils.js +0 -27
- package/.output/server/node_modules/typeorm/schema-builder/view/View.js +0 -71
- package/.output/server/node_modules/typeorm/subscriber/Broadcaster.js +0 -660
- package/.output/server/node_modules/typeorm/subscriber/BroadcasterResult.js +0 -30
- package/.output/server/node_modules/typeorm/subscriber/event/QueryEvent.js +0 -4
- package/.output/server/node_modules/typeorm/util/ApplyValueTransformers.js +0 -25
- package/.output/server/node_modules/typeorm/util/DateUtils.js +0 -229
- package/.output/server/node_modules/typeorm/util/DepGraph.js +0 -230
- package/.output/server/node_modules/typeorm/util/DirectoryExportedClassesLoader.js +0 -65
- package/.output/server/node_modules/typeorm/util/ImportUtils.js +0 -66
- package/.output/server/node_modules/typeorm/util/InstanceChecker.js +0 -104
- package/.output/server/node_modules/typeorm/util/ObjectUtils.js +0 -49
- package/.output/server/node_modules/typeorm/util/OrmUtils.js +0 -443
- package/.output/server/node_modules/typeorm/util/PathUtils.js +0 -33
- package/.output/server/node_modules/typeorm/util/RandomGenerator.js +0 -154
- package/.output/server/node_modules/typeorm/util/SqlTagUtils.js +0 -43
- package/.output/server/node_modules/typeorm/util/StringUtils.js +0 -113
- package/.output/server/node_modules/typeorm/util/TreeRepositoryUtils.js +0 -67
- package/.output/server/node_modules/typeorm/util/VersionUtils.js +0 -27
- package/.output/server/node_modules/typeorm/util/escapeRegExp.js +0 -10
- package/.output/server/node_modules/uuid/dist/cjs/index.js +0 -31
- package/.output/server/node_modules/uuid/dist/cjs/max.js +0 -3
- package/.output/server/node_modules/uuid/dist/cjs/md5.js +0 -13
- package/.output/server/node_modules/uuid/dist/cjs/native.js +0 -4
- package/.output/server/node_modules/uuid/dist/cjs/nil.js +0 -3
- package/.output/server/node_modules/uuid/dist/cjs/package.json +0 -1
- package/.output/server/node_modules/uuid/dist/cjs/parse.js +0 -11
- package/.output/server/node_modules/uuid/dist/cjs/regex.js +0 -3
- package/.output/server/node_modules/uuid/dist/cjs/rng.js +0 -13
- package/.output/server/node_modules/uuid/dist/cjs/sha1.js +0 -13
- package/.output/server/node_modules/uuid/dist/cjs/stringify.js +0 -39
- package/.output/server/node_modules/uuid/dist/cjs/v1.js +0 -87
- package/.output/server/node_modules/uuid/dist/cjs/v1ToV6.js +0 -13
- package/.output/server/node_modules/uuid/dist/cjs/v3.js +0 -14
- package/.output/server/node_modules/uuid/dist/cjs/v35.js +0 -41
- package/.output/server/node_modules/uuid/dist/cjs/v4.js +0 -29
- package/.output/server/node_modules/uuid/dist/cjs/v5.js +0 -14
- package/.output/server/node_modules/uuid/dist/cjs/v6.js +0 -19
- package/.output/server/node_modules/uuid/dist/cjs/v6ToV1.js +0 -13
- package/.output/server/node_modules/uuid/dist/cjs/v7.js +0 -69
- package/.output/server/node_modules/uuid/dist/cjs/validate.js +0 -7
- package/.output/server/node_modules/uuid/dist/cjs/version.js +0 -10
- package/.output/server/node_modules/uuid/package.json +0 -132
|
@@ -43,7 +43,7 @@ var openaiFailedResponseHandler = createJsonErrorResponseHandler({
|
|
|
43
43
|
function getOpenAILanguageModelCapabilities(modelId) {
|
|
44
44
|
const supportsFlexProcessing = modelId.startsWith("o3") || modelId.startsWith("o4-mini") || modelId.startsWith("gpt-5") && !modelId.startsWith("gpt-5-chat");
|
|
45
45
|
const supportsPriorityProcessing = modelId.startsWith("gpt-4") || modelId.startsWith("gpt-5-mini") || modelId.startsWith("gpt-5") && !modelId.startsWith("gpt-5-nano") && !modelId.startsWith("gpt-5-chat") || modelId.startsWith("o3") || modelId.startsWith("o4-mini");
|
|
46
|
-
const isReasoningModel = modelId.startsWith("o1") || modelId.startsWith("o3") || modelId.startsWith("o4-mini") || modelId.startsWith("
|
|
46
|
+
const isReasoningModel = modelId.startsWith("o1") || modelId.startsWith("o3") || modelId.startsWith("o4-mini") || modelId.startsWith("gpt-5") && !modelId.startsWith("gpt-5-chat");
|
|
47
47
|
const supportsNonReasoningParameters = modelId.startsWith("gpt-5.1") || modelId.startsWith("gpt-5.2");
|
|
48
48
|
const systemMessageMode = isReasoningModel ? "developer" : "system";
|
|
49
49
|
return {
|
|
@@ -456,7 +456,7 @@ var openaiChatChunkSchema = lazySchema(
|
|
|
456
456
|
// src/chat/openai-chat-options.ts
|
|
457
457
|
import { lazySchema as lazySchema2, zodSchema as zodSchema2 } from "@ai-sdk/provider-utils";
|
|
458
458
|
import { z as z3 } from "zod/v4";
|
|
459
|
-
var
|
|
459
|
+
var openaiLanguageModelChatOptions = lazySchema2(
|
|
460
460
|
() => zodSchema2(
|
|
461
461
|
z3.object({
|
|
462
462
|
/**
|
|
@@ -669,7 +669,7 @@ var OpenAIChatLanguageModel = class {
|
|
|
669
669
|
const openaiOptions = (_a = await parseProviderOptions({
|
|
670
670
|
provider: "openai",
|
|
671
671
|
providerOptions,
|
|
672
|
-
schema:
|
|
672
|
+
schema: openaiLanguageModelChatOptions
|
|
673
673
|
})) != null ? _a : {};
|
|
674
674
|
const modelCapabilities = getOpenAILanguageModelCapabilities(this.modelId);
|
|
675
675
|
const isReasoningModel = (_b = openaiOptions.forceReasoning) != null ? _b : modelCapabilities.isReasoningModel;
|
|
@@ -1005,7 +1005,7 @@ var OpenAIChatLanguageModel = class {
|
|
|
1005
1005
|
for (const toolCallDelta of delta.tool_calls) {
|
|
1006
1006
|
const index = toolCallDelta.index;
|
|
1007
1007
|
if (toolCalls[index] == null) {
|
|
1008
|
-
if (toolCallDelta.type !== "function") {
|
|
1008
|
+
if (toolCallDelta.type != null && toolCallDelta.type !== "function") {
|
|
1009
1009
|
throw new InvalidResponseDataError({
|
|
1010
1010
|
data: toolCallDelta,
|
|
1011
1011
|
message: `Expected 'function' type.`
|
|
@@ -1335,46 +1335,46 @@ var openaiCompletionChunkSchema = lazySchema3(
|
|
|
1335
1335
|
// src/completion/openai-completion-options.ts
|
|
1336
1336
|
import { lazySchema as lazySchema4, zodSchema as zodSchema4 } from "@ai-sdk/provider-utils";
|
|
1337
1337
|
import { z as z5 } from "zod/v4";
|
|
1338
|
-
var
|
|
1338
|
+
var openaiLanguageModelCompletionOptions = lazySchema4(
|
|
1339
1339
|
() => zodSchema4(
|
|
1340
1340
|
z5.object({
|
|
1341
1341
|
/**
|
|
1342
|
-
|
|
1343
|
-
|
|
1342
|
+
* Echo back the prompt in addition to the completion.
|
|
1343
|
+
*/
|
|
1344
1344
|
echo: z5.boolean().optional(),
|
|
1345
1345
|
/**
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1346
|
+
* Modify the likelihood of specified tokens appearing in the completion.
|
|
1347
|
+
*
|
|
1348
|
+
* Accepts a JSON object that maps tokens (specified by their token ID in
|
|
1349
|
+
* the GPT tokenizer) to an associated bias value from -100 to 100. You
|
|
1350
|
+
* can use this tokenizer tool to convert text to token IDs. Mathematically,
|
|
1351
|
+
* the bias is added to the logits generated by the model prior to sampling.
|
|
1352
|
+
* The exact effect will vary per model, but values between -1 and 1 should
|
|
1353
|
+
* decrease or increase likelihood of selection; values like -100 or 100
|
|
1354
|
+
* should result in a ban or exclusive selection of the relevant token.
|
|
1355
|
+
*
|
|
1356
|
+
* As an example, you can pass {"50256": -100} to prevent the <|endoftext|>
|
|
1357
|
+
* token from being generated.
|
|
1358
1358
|
*/
|
|
1359
1359
|
logitBias: z5.record(z5.string(), z5.number()).optional(),
|
|
1360
1360
|
/**
|
|
1361
|
-
|
|
1361
|
+
* The suffix that comes after a completion of inserted text.
|
|
1362
1362
|
*/
|
|
1363
1363
|
suffix: z5.string().optional(),
|
|
1364
1364
|
/**
|
|
1365
|
-
|
|
1366
|
-
|
|
1365
|
+
* A unique identifier representing your end-user, which can help OpenAI to
|
|
1366
|
+
* monitor and detect abuse. Learn more.
|
|
1367
1367
|
*/
|
|
1368
1368
|
user: z5.string().optional(),
|
|
1369
1369
|
/**
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1370
|
+
* Return the log probabilities of the tokens. Including logprobs will increase
|
|
1371
|
+
* the response size and can slow down response times. However, it can
|
|
1372
|
+
* be useful to better understand how the model is behaving.
|
|
1373
|
+
* Setting to true will return the log probabilities of the tokens that
|
|
1374
|
+
* were generated.
|
|
1375
|
+
* Setting to a number will return the log probabilities of the top n
|
|
1376
|
+
* tokens that were generated.
|
|
1377
|
+
*/
|
|
1378
1378
|
logprobs: z5.union([z5.boolean(), z5.number()]).optional()
|
|
1379
1379
|
})
|
|
1380
1380
|
)
|
|
@@ -1416,12 +1416,12 @@ var OpenAICompletionLanguageModel = class {
|
|
|
1416
1416
|
...await parseProviderOptions2({
|
|
1417
1417
|
provider: "openai",
|
|
1418
1418
|
providerOptions,
|
|
1419
|
-
schema:
|
|
1419
|
+
schema: openaiLanguageModelCompletionOptions
|
|
1420
1420
|
}),
|
|
1421
1421
|
...await parseProviderOptions2({
|
|
1422
1422
|
provider: this.providerOptionsName,
|
|
1423
1423
|
providerOptions,
|
|
1424
|
-
schema:
|
|
1424
|
+
schema: openaiLanguageModelCompletionOptions
|
|
1425
1425
|
})
|
|
1426
1426
|
};
|
|
1427
1427
|
if (topK != null) {
|
|
@@ -1623,18 +1623,18 @@ import {
|
|
|
1623
1623
|
// src/embedding/openai-embedding-options.ts
|
|
1624
1624
|
import { lazySchema as lazySchema5, zodSchema as zodSchema5 } from "@ai-sdk/provider-utils";
|
|
1625
1625
|
import { z as z6 } from "zod/v4";
|
|
1626
|
-
var
|
|
1626
|
+
var openaiEmbeddingModelOptions = lazySchema5(
|
|
1627
1627
|
() => zodSchema5(
|
|
1628
1628
|
z6.object({
|
|
1629
1629
|
/**
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1630
|
+
* The number of dimensions the resulting output embeddings should have.
|
|
1631
|
+
* Only supported in text-embedding-3 and later models.
|
|
1632
|
+
*/
|
|
1633
1633
|
dimensions: z6.number().optional(),
|
|
1634
1634
|
/**
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1635
|
+
* A unique identifier representing your end-user, which can help OpenAI to
|
|
1636
|
+
* monitor and detect abuse. Learn more.
|
|
1637
|
+
*/
|
|
1638
1638
|
user: z6.string().optional()
|
|
1639
1639
|
})
|
|
1640
1640
|
)
|
|
@@ -1682,7 +1682,7 @@ var OpenAIEmbeddingModel = class {
|
|
|
1682
1682
|
const openaiOptions = (_a = await parseProviderOptions3({
|
|
1683
1683
|
provider: "openai",
|
|
1684
1684
|
providerOptions,
|
|
1685
|
-
schema:
|
|
1685
|
+
schema: openaiEmbeddingModelOptions
|
|
1686
1686
|
})) != null ? _a : {};
|
|
1687
1687
|
const {
|
|
1688
1688
|
responseHeaders,
|
|
@@ -1764,9 +1764,11 @@ var modelMaxImagesPerCall = {
|
|
|
1764
1764
|
"dall-e-2": 10,
|
|
1765
1765
|
"gpt-image-1": 10,
|
|
1766
1766
|
"gpt-image-1-mini": 10,
|
|
1767
|
-
"gpt-image-1.5": 10
|
|
1767
|
+
"gpt-image-1.5": 10,
|
|
1768
|
+
"chatgpt-image-latest": 10
|
|
1768
1769
|
};
|
|
1769
1770
|
var defaultResponseFormatPrefixes = [
|
|
1771
|
+
"chatgpt-image-",
|
|
1770
1772
|
"gpt-image-1-mini",
|
|
1771
1773
|
"gpt-image-1.5",
|
|
1772
1774
|
"gpt-image-1"
|
|
@@ -1867,15 +1869,20 @@ var OpenAIImageModel = class {
|
|
|
1867
1869
|
},
|
|
1868
1870
|
providerMetadata: {
|
|
1869
1871
|
openai: {
|
|
1870
|
-
images: response2.data.map((item) => {
|
|
1871
|
-
var _a2, _b2, _c2, _d2, _e2;
|
|
1872
|
+
images: response2.data.map((item, index) => {
|
|
1873
|
+
var _a2, _b2, _c2, _d2, _e2, _f2;
|
|
1872
1874
|
return {
|
|
1873
1875
|
...item.revised_prompt ? { revisedPrompt: item.revised_prompt } : {},
|
|
1874
1876
|
created: (_a2 = response2.created) != null ? _a2 : void 0,
|
|
1875
1877
|
size: (_b2 = response2.size) != null ? _b2 : void 0,
|
|
1876
1878
|
quality: (_c2 = response2.quality) != null ? _c2 : void 0,
|
|
1877
1879
|
background: (_d2 = response2.background) != null ? _d2 : void 0,
|
|
1878
|
-
outputFormat: (_e2 = response2.output_format) != null ? _e2 : void 0
|
|
1880
|
+
outputFormat: (_e2 = response2.output_format) != null ? _e2 : void 0,
|
|
1881
|
+
...distributeTokenDetails(
|
|
1882
|
+
(_f2 = response2.usage) == null ? void 0 : _f2.input_tokens_details,
|
|
1883
|
+
index,
|
|
1884
|
+
response2.data.length
|
|
1885
|
+
)
|
|
1879
1886
|
};
|
|
1880
1887
|
})
|
|
1881
1888
|
}
|
|
@@ -1918,15 +1925,20 @@ var OpenAIImageModel = class {
|
|
|
1918
1925
|
},
|
|
1919
1926
|
providerMetadata: {
|
|
1920
1927
|
openai: {
|
|
1921
|
-
images: response.data.map((item) => {
|
|
1922
|
-
var _a2, _b2, _c2, _d2, _e2;
|
|
1928
|
+
images: response.data.map((item, index) => {
|
|
1929
|
+
var _a2, _b2, _c2, _d2, _e2, _f2;
|
|
1923
1930
|
return {
|
|
1924
1931
|
...item.revised_prompt ? { revisedPrompt: item.revised_prompt } : {},
|
|
1925
1932
|
created: (_a2 = response.created) != null ? _a2 : void 0,
|
|
1926
1933
|
size: (_b2 = response.size) != null ? _b2 : void 0,
|
|
1927
1934
|
quality: (_c2 = response.quality) != null ? _c2 : void 0,
|
|
1928
1935
|
background: (_d2 = response.background) != null ? _d2 : void 0,
|
|
1929
|
-
outputFormat: (_e2 = response.output_format) != null ? _e2 : void 0
|
|
1936
|
+
outputFormat: (_e2 = response.output_format) != null ? _e2 : void 0,
|
|
1937
|
+
...distributeTokenDetails(
|
|
1938
|
+
(_f2 = response.usage) == null ? void 0 : _f2.input_tokens_details,
|
|
1939
|
+
index,
|
|
1940
|
+
response.data.length
|
|
1941
|
+
)
|
|
1930
1942
|
};
|
|
1931
1943
|
})
|
|
1932
1944
|
}
|
|
@@ -1934,6 +1946,23 @@ var OpenAIImageModel = class {
|
|
|
1934
1946
|
};
|
|
1935
1947
|
}
|
|
1936
1948
|
};
|
|
1949
|
+
function distributeTokenDetails(details, index, total) {
|
|
1950
|
+
if (details == null) {
|
|
1951
|
+
return {};
|
|
1952
|
+
}
|
|
1953
|
+
const result = {};
|
|
1954
|
+
if (details.image_tokens != null) {
|
|
1955
|
+
const base = Math.floor(details.image_tokens / total);
|
|
1956
|
+
const remainder = details.image_tokens - base * (total - 1);
|
|
1957
|
+
result.imageTokens = index === total - 1 ? remainder : base;
|
|
1958
|
+
}
|
|
1959
|
+
if (details.text_tokens != null) {
|
|
1960
|
+
const base = Math.floor(details.text_tokens / total);
|
|
1961
|
+
const remainder = details.text_tokens - base * (total - 1);
|
|
1962
|
+
result.textTokens = index === total - 1 ? remainder : base;
|
|
1963
|
+
}
|
|
1964
|
+
return result;
|
|
1965
|
+
}
|
|
1937
1966
|
async function fileToBlob(file) {
|
|
1938
1967
|
if (!file) return void 0;
|
|
1939
1968
|
if (file.type === "url") {
|
|
@@ -2037,48 +2066,80 @@ var codeInterpreter = (args = {}) => {
|
|
|
2037
2066
|
return codeInterpreterToolFactory(args);
|
|
2038
2067
|
};
|
|
2039
2068
|
|
|
2040
|
-
// src/tool/
|
|
2069
|
+
// src/tool/custom.ts
|
|
2041
2070
|
import {
|
|
2042
|
-
|
|
2071
|
+
createProviderToolFactory,
|
|
2043
2072
|
lazySchema as lazySchema10,
|
|
2044
2073
|
zodSchema as zodSchema10
|
|
2045
2074
|
} from "@ai-sdk/provider-utils";
|
|
2046
2075
|
import { z as z11 } from "zod/v4";
|
|
2047
|
-
var
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2076
|
+
var customArgsSchema = lazySchema10(
|
|
2077
|
+
() => zodSchema10(
|
|
2078
|
+
z11.object({
|
|
2079
|
+
name: z11.string(),
|
|
2080
|
+
description: z11.string().optional(),
|
|
2081
|
+
format: z11.union([
|
|
2082
|
+
z11.object({
|
|
2083
|
+
type: z11.literal("grammar"),
|
|
2084
|
+
syntax: z11.enum(["regex", "lark"]),
|
|
2085
|
+
definition: z11.string()
|
|
2086
|
+
}),
|
|
2087
|
+
z11.object({
|
|
2088
|
+
type: z11.literal("text")
|
|
2089
|
+
})
|
|
2090
|
+
]).optional()
|
|
2091
|
+
})
|
|
2092
|
+
)
|
|
2093
|
+
);
|
|
2094
|
+
var customInputSchema = lazySchema10(() => zodSchema10(z11.string()));
|
|
2095
|
+
var customToolFactory = createProviderToolFactory({
|
|
2096
|
+
id: "openai.custom",
|
|
2097
|
+
inputSchema: customInputSchema
|
|
2098
|
+
});
|
|
2099
|
+
var customTool = (args) => customToolFactory(args);
|
|
2100
|
+
|
|
2101
|
+
// src/tool/file-search.ts
|
|
2102
|
+
import {
|
|
2103
|
+
createProviderToolFactoryWithOutputSchema as createProviderToolFactoryWithOutputSchema3,
|
|
2104
|
+
lazySchema as lazySchema11,
|
|
2105
|
+
zodSchema as zodSchema11
|
|
2106
|
+
} from "@ai-sdk/provider-utils";
|
|
2107
|
+
import { z as z12 } from "zod/v4";
|
|
2108
|
+
var comparisonFilterSchema = z12.object({
|
|
2109
|
+
key: z12.string(),
|
|
2110
|
+
type: z12.enum(["eq", "ne", "gt", "gte", "lt", "lte", "in", "nin"]),
|
|
2111
|
+
value: z12.union([z12.string(), z12.number(), z12.boolean(), z12.array(z12.string())])
|
|
2051
2112
|
});
|
|
2052
|
-
var compoundFilterSchema =
|
|
2053
|
-
type:
|
|
2054
|
-
filters:
|
|
2055
|
-
|
|
2113
|
+
var compoundFilterSchema = z12.object({
|
|
2114
|
+
type: z12.enum(["and", "or"]),
|
|
2115
|
+
filters: z12.array(
|
|
2116
|
+
z12.union([comparisonFilterSchema, z12.lazy(() => compoundFilterSchema)])
|
|
2056
2117
|
)
|
|
2057
2118
|
});
|
|
2058
|
-
var fileSearchArgsSchema =
|
|
2059
|
-
() =>
|
|
2060
|
-
|
|
2061
|
-
vectorStoreIds:
|
|
2062
|
-
maxNumResults:
|
|
2063
|
-
ranking:
|
|
2064
|
-
ranker:
|
|
2065
|
-
scoreThreshold:
|
|
2119
|
+
var fileSearchArgsSchema = lazySchema11(
|
|
2120
|
+
() => zodSchema11(
|
|
2121
|
+
z12.object({
|
|
2122
|
+
vectorStoreIds: z12.array(z12.string()),
|
|
2123
|
+
maxNumResults: z12.number().optional(),
|
|
2124
|
+
ranking: z12.object({
|
|
2125
|
+
ranker: z12.string().optional(),
|
|
2126
|
+
scoreThreshold: z12.number().optional()
|
|
2066
2127
|
}).optional(),
|
|
2067
|
-
filters:
|
|
2128
|
+
filters: z12.union([comparisonFilterSchema, compoundFilterSchema]).optional()
|
|
2068
2129
|
})
|
|
2069
2130
|
)
|
|
2070
2131
|
);
|
|
2071
|
-
var fileSearchOutputSchema =
|
|
2072
|
-
() =>
|
|
2073
|
-
|
|
2074
|
-
queries:
|
|
2075
|
-
results:
|
|
2076
|
-
|
|
2077
|
-
attributes:
|
|
2078
|
-
fileId:
|
|
2079
|
-
filename:
|
|
2080
|
-
score:
|
|
2081
|
-
text:
|
|
2132
|
+
var fileSearchOutputSchema = lazySchema11(
|
|
2133
|
+
() => zodSchema11(
|
|
2134
|
+
z12.object({
|
|
2135
|
+
queries: z12.array(z12.string()),
|
|
2136
|
+
results: z12.array(
|
|
2137
|
+
z12.object({
|
|
2138
|
+
attributes: z12.record(z12.string(), z12.unknown()),
|
|
2139
|
+
fileId: z12.string(),
|
|
2140
|
+
filename: z12.string(),
|
|
2141
|
+
score: z12.number(),
|
|
2142
|
+
text: z12.string()
|
|
2082
2143
|
})
|
|
2083
2144
|
).nullable()
|
|
2084
2145
|
})
|
|
@@ -2086,39 +2147,39 @@ var fileSearchOutputSchema = lazySchema10(
|
|
|
2086
2147
|
);
|
|
2087
2148
|
var fileSearch = createProviderToolFactoryWithOutputSchema3({
|
|
2088
2149
|
id: "openai.file_search",
|
|
2089
|
-
inputSchema:
|
|
2150
|
+
inputSchema: z12.object({}),
|
|
2090
2151
|
outputSchema: fileSearchOutputSchema
|
|
2091
2152
|
});
|
|
2092
2153
|
|
|
2093
2154
|
// src/tool/image-generation.ts
|
|
2094
2155
|
import {
|
|
2095
2156
|
createProviderToolFactoryWithOutputSchema as createProviderToolFactoryWithOutputSchema4,
|
|
2096
|
-
lazySchema as
|
|
2097
|
-
zodSchema as
|
|
2157
|
+
lazySchema as lazySchema12,
|
|
2158
|
+
zodSchema as zodSchema12
|
|
2098
2159
|
} from "@ai-sdk/provider-utils";
|
|
2099
|
-
import { z as
|
|
2100
|
-
var imageGenerationArgsSchema =
|
|
2101
|
-
() =>
|
|
2102
|
-
|
|
2103
|
-
background:
|
|
2104
|
-
inputFidelity:
|
|
2105
|
-
inputImageMask:
|
|
2106
|
-
fileId:
|
|
2107
|
-
imageUrl:
|
|
2160
|
+
import { z as z13 } from "zod/v4";
|
|
2161
|
+
var imageGenerationArgsSchema = lazySchema12(
|
|
2162
|
+
() => zodSchema12(
|
|
2163
|
+
z13.object({
|
|
2164
|
+
background: z13.enum(["auto", "opaque", "transparent"]).optional(),
|
|
2165
|
+
inputFidelity: z13.enum(["low", "high"]).optional(),
|
|
2166
|
+
inputImageMask: z13.object({
|
|
2167
|
+
fileId: z13.string().optional(),
|
|
2168
|
+
imageUrl: z13.string().optional()
|
|
2108
2169
|
}).optional(),
|
|
2109
|
-
model:
|
|
2110
|
-
moderation:
|
|
2111
|
-
outputCompression:
|
|
2112
|
-
outputFormat:
|
|
2113
|
-
partialImages:
|
|
2114
|
-
quality:
|
|
2115
|
-
size:
|
|
2170
|
+
model: z13.string().optional(),
|
|
2171
|
+
moderation: z13.enum(["auto"]).optional(),
|
|
2172
|
+
outputCompression: z13.number().int().min(0).max(100).optional(),
|
|
2173
|
+
outputFormat: z13.enum(["png", "jpeg", "webp"]).optional(),
|
|
2174
|
+
partialImages: z13.number().int().min(0).max(3).optional(),
|
|
2175
|
+
quality: z13.enum(["auto", "low", "medium", "high"]).optional(),
|
|
2176
|
+
size: z13.enum(["1024x1024", "1024x1536", "1536x1024", "auto"]).optional()
|
|
2116
2177
|
}).strict()
|
|
2117
2178
|
)
|
|
2118
2179
|
);
|
|
2119
|
-
var imageGenerationInputSchema =
|
|
2120
|
-
var imageGenerationOutputSchema =
|
|
2121
|
-
() =>
|
|
2180
|
+
var imageGenerationInputSchema = lazySchema12(() => zodSchema12(z13.object({})));
|
|
2181
|
+
var imageGenerationOutputSchema = lazySchema12(
|
|
2182
|
+
() => zodSchema12(z13.object({ result: z13.string() }))
|
|
2122
2183
|
);
|
|
2123
2184
|
var imageGenerationToolFactory = createProviderToolFactoryWithOutputSchema4({
|
|
2124
2185
|
id: "openai.image_generation",
|
|
@@ -2132,26 +2193,26 @@ var imageGeneration = (args = {}) => {
|
|
|
2132
2193
|
// src/tool/local-shell.ts
|
|
2133
2194
|
import {
|
|
2134
2195
|
createProviderToolFactoryWithOutputSchema as createProviderToolFactoryWithOutputSchema5,
|
|
2135
|
-
lazySchema as
|
|
2136
|
-
zodSchema as
|
|
2196
|
+
lazySchema as lazySchema13,
|
|
2197
|
+
zodSchema as zodSchema13
|
|
2137
2198
|
} from "@ai-sdk/provider-utils";
|
|
2138
|
-
import { z as
|
|
2139
|
-
var localShellInputSchema =
|
|
2140
|
-
() =>
|
|
2141
|
-
|
|
2142
|
-
action:
|
|
2143
|
-
type:
|
|
2144
|
-
command:
|
|
2145
|
-
timeoutMs:
|
|
2146
|
-
user:
|
|
2147
|
-
workingDirectory:
|
|
2148
|
-
env:
|
|
2199
|
+
import { z as z14 } from "zod/v4";
|
|
2200
|
+
var localShellInputSchema = lazySchema13(
|
|
2201
|
+
() => zodSchema13(
|
|
2202
|
+
z14.object({
|
|
2203
|
+
action: z14.object({
|
|
2204
|
+
type: z14.literal("exec"),
|
|
2205
|
+
command: z14.array(z14.string()),
|
|
2206
|
+
timeoutMs: z14.number().optional(),
|
|
2207
|
+
user: z14.string().optional(),
|
|
2208
|
+
workingDirectory: z14.string().optional(),
|
|
2209
|
+
env: z14.record(z14.string(), z14.string()).optional()
|
|
2149
2210
|
})
|
|
2150
2211
|
})
|
|
2151
2212
|
)
|
|
2152
2213
|
);
|
|
2153
|
-
var localShellOutputSchema =
|
|
2154
|
-
() =>
|
|
2214
|
+
var localShellOutputSchema = lazySchema13(
|
|
2215
|
+
() => zodSchema13(z14.object({ output: z14.string() }))
|
|
2155
2216
|
);
|
|
2156
2217
|
var localShell = createProviderToolFactoryWithOutputSchema5({
|
|
2157
2218
|
id: "openai.local_shell",
|
|
@@ -2162,111 +2223,116 @@ var localShell = createProviderToolFactoryWithOutputSchema5({
|
|
|
2162
2223
|
// src/tool/shell.ts
|
|
2163
2224
|
import {
|
|
2164
2225
|
createProviderToolFactoryWithOutputSchema as createProviderToolFactoryWithOutputSchema6,
|
|
2165
|
-
lazySchema as
|
|
2166
|
-
zodSchema as
|
|
2226
|
+
lazySchema as lazySchema14,
|
|
2227
|
+
zodSchema as zodSchema14
|
|
2167
2228
|
} from "@ai-sdk/provider-utils";
|
|
2168
|
-
import { z as
|
|
2169
|
-
var shellInputSchema =
|
|
2170
|
-
() =>
|
|
2171
|
-
|
|
2172
|
-
action:
|
|
2173
|
-
commands:
|
|
2174
|
-
timeoutMs:
|
|
2175
|
-
maxOutputLength:
|
|
2229
|
+
import { z as z15 } from "zod/v4";
|
|
2230
|
+
var shellInputSchema = lazySchema14(
|
|
2231
|
+
() => zodSchema14(
|
|
2232
|
+
z15.object({
|
|
2233
|
+
action: z15.object({
|
|
2234
|
+
commands: z15.array(z15.string()),
|
|
2235
|
+
timeoutMs: z15.number().optional(),
|
|
2236
|
+
maxOutputLength: z15.number().optional()
|
|
2176
2237
|
})
|
|
2177
2238
|
})
|
|
2178
2239
|
)
|
|
2179
2240
|
);
|
|
2180
|
-
var shellOutputSchema =
|
|
2181
|
-
() =>
|
|
2182
|
-
|
|
2183
|
-
output:
|
|
2184
|
-
|
|
2185
|
-
stdout:
|
|
2186
|
-
stderr:
|
|
2187
|
-
outcome:
|
|
2188
|
-
|
|
2189
|
-
|
|
2241
|
+
var shellOutputSchema = lazySchema14(
|
|
2242
|
+
() => zodSchema14(
|
|
2243
|
+
z15.object({
|
|
2244
|
+
output: z15.array(
|
|
2245
|
+
z15.object({
|
|
2246
|
+
stdout: z15.string(),
|
|
2247
|
+
stderr: z15.string(),
|
|
2248
|
+
outcome: z15.discriminatedUnion("type", [
|
|
2249
|
+
z15.object({ type: z15.literal("timeout") }),
|
|
2250
|
+
z15.object({ type: z15.literal("exit"), exitCode: z15.number() })
|
|
2190
2251
|
])
|
|
2191
2252
|
})
|
|
2192
2253
|
)
|
|
2193
2254
|
})
|
|
2194
2255
|
)
|
|
2195
2256
|
);
|
|
2196
|
-
var
|
|
2197
|
-
|
|
2198
|
-
inputSchema: shellInputSchema,
|
|
2199
|
-
outputSchema: shellOutputSchema
|
|
2200
|
-
});
|
|
2201
|
-
|
|
2202
|
-
// src/tool/web-search.ts
|
|
2203
|
-
import {
|
|
2204
|
-
createProviderToolFactoryWithOutputSchema as createProviderToolFactoryWithOutputSchema7,
|
|
2205
|
-
lazySchema as lazySchema14,
|
|
2206
|
-
zodSchema as zodSchema14
|
|
2207
|
-
} from "@ai-sdk/provider-utils";
|
|
2208
|
-
import { z as z15 } from "zod/v4";
|
|
2209
|
-
var webSearchArgsSchema = lazySchema14(
|
|
2210
|
-
() => zodSchema14(
|
|
2257
|
+
var shellSkillsSchema = z15.array(
|
|
2258
|
+
z15.discriminatedUnion("type", [
|
|
2211
2259
|
z15.object({
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2260
|
+
type: z15.literal("skillReference"),
|
|
2261
|
+
skillId: z15.string(),
|
|
2262
|
+
version: z15.string().optional()
|
|
2263
|
+
}),
|
|
2264
|
+
z15.object({
|
|
2265
|
+
type: z15.literal("inline"),
|
|
2266
|
+
name: z15.string(),
|
|
2267
|
+
description: z15.string(),
|
|
2268
|
+
source: z15.object({
|
|
2269
|
+
type: z15.literal("base64"),
|
|
2270
|
+
mediaType: z15.literal("application/zip"),
|
|
2271
|
+
data: z15.string()
|
|
2272
|
+
})
|
|
2222
2273
|
})
|
|
2223
|
-
)
|
|
2224
|
-
);
|
|
2225
|
-
var
|
|
2226
|
-
var webSearchOutputSchema = lazySchema14(
|
|
2274
|
+
])
|
|
2275
|
+
).optional();
|
|
2276
|
+
var shellArgsSchema = lazySchema14(
|
|
2227
2277
|
() => zodSchema14(
|
|
2228
2278
|
z15.object({
|
|
2229
|
-
|
|
2279
|
+
environment: z15.union([
|
|
2230
2280
|
z15.object({
|
|
2231
|
-
type: z15.literal("
|
|
2232
|
-
|
|
2281
|
+
type: z15.literal("containerAuto"),
|
|
2282
|
+
fileIds: z15.array(z15.string()).optional(),
|
|
2283
|
+
memoryLimit: z15.enum(["1g", "4g", "16g", "64g"]).optional(),
|
|
2284
|
+
networkPolicy: z15.discriminatedUnion("type", [
|
|
2285
|
+
z15.object({ type: z15.literal("disabled") }),
|
|
2286
|
+
z15.object({
|
|
2287
|
+
type: z15.literal("allowlist"),
|
|
2288
|
+
allowedDomains: z15.array(z15.string()),
|
|
2289
|
+
domainSecrets: z15.array(
|
|
2290
|
+
z15.object({
|
|
2291
|
+
domain: z15.string(),
|
|
2292
|
+
name: z15.string(),
|
|
2293
|
+
value: z15.string()
|
|
2294
|
+
})
|
|
2295
|
+
).optional()
|
|
2296
|
+
})
|
|
2297
|
+
]).optional(),
|
|
2298
|
+
skills: shellSkillsSchema
|
|
2233
2299
|
}),
|
|
2234
2300
|
z15.object({
|
|
2235
|
-
type: z15.literal("
|
|
2236
|
-
|
|
2301
|
+
type: z15.literal("containerReference"),
|
|
2302
|
+
containerId: z15.string()
|
|
2237
2303
|
}),
|
|
2238
2304
|
z15.object({
|
|
2239
|
-
type: z15.literal("
|
|
2240
|
-
|
|
2241
|
-
|
|
2305
|
+
type: z15.literal("local").optional(),
|
|
2306
|
+
skills: z15.array(
|
|
2307
|
+
z15.object({
|
|
2308
|
+
name: z15.string(),
|
|
2309
|
+
description: z15.string(),
|
|
2310
|
+
path: z15.string()
|
|
2311
|
+
})
|
|
2312
|
+
).optional()
|
|
2242
2313
|
})
|
|
2243
|
-
])
|
|
2244
|
-
sources: z15.array(
|
|
2245
|
-
z15.discriminatedUnion("type", [
|
|
2246
|
-
z15.object({ type: z15.literal("url"), url: z15.string() }),
|
|
2247
|
-
z15.object({ type: z15.literal("api"), name: z15.string() })
|
|
2248
|
-
])
|
|
2249
|
-
).optional()
|
|
2314
|
+
]).optional()
|
|
2250
2315
|
})
|
|
2251
2316
|
)
|
|
2252
2317
|
);
|
|
2253
|
-
var
|
|
2254
|
-
id: "openai.
|
|
2255
|
-
inputSchema:
|
|
2256
|
-
outputSchema:
|
|
2318
|
+
var shell = createProviderToolFactoryWithOutputSchema6({
|
|
2319
|
+
id: "openai.shell",
|
|
2320
|
+
inputSchema: shellInputSchema,
|
|
2321
|
+
outputSchema: shellOutputSchema
|
|
2257
2322
|
});
|
|
2258
|
-
var webSearch = (args = {}) => webSearchToolFactory(args);
|
|
2259
2323
|
|
|
2260
|
-
// src/tool/web-search
|
|
2324
|
+
// src/tool/web-search.ts
|
|
2261
2325
|
import {
|
|
2262
|
-
createProviderToolFactoryWithOutputSchema as
|
|
2326
|
+
createProviderToolFactoryWithOutputSchema as createProviderToolFactoryWithOutputSchema7,
|
|
2263
2327
|
lazySchema as lazySchema15,
|
|
2264
2328
|
zodSchema as zodSchema15
|
|
2265
2329
|
} from "@ai-sdk/provider-utils";
|
|
2266
2330
|
import { z as z16 } from "zod/v4";
|
|
2267
|
-
var
|
|
2331
|
+
var webSearchArgsSchema = lazySchema15(
|
|
2268
2332
|
() => zodSchema15(
|
|
2269
2333
|
z16.object({
|
|
2334
|
+
externalWebAccess: z16.boolean().optional(),
|
|
2335
|
+
filters: z16.object({ allowedDomains: z16.array(z16.string()).optional() }).optional(),
|
|
2270
2336
|
searchContextSize: z16.enum(["low", "medium", "high"]).optional(),
|
|
2271
2337
|
userLocation: z16.object({
|
|
2272
2338
|
type: z16.literal("approximate"),
|
|
@@ -2278,10 +2344,8 @@ var webSearchPreviewArgsSchema = lazySchema15(
|
|
|
2278
2344
|
})
|
|
2279
2345
|
)
|
|
2280
2346
|
);
|
|
2281
|
-
var
|
|
2282
|
-
|
|
2283
|
-
);
|
|
2284
|
-
var webSearchPreviewOutputSchema = lazySchema15(
|
|
2347
|
+
var webSearchInputSchema = lazySchema15(() => zodSchema15(z16.object({})));
|
|
2348
|
+
var webSearchOutputSchema = lazySchema15(
|
|
2285
2349
|
() => zodSchema15(
|
|
2286
2350
|
z16.object({
|
|
2287
2351
|
action: z16.discriminatedUnion("type", [
|
|
@@ -2298,7 +2362,65 @@ var webSearchPreviewOutputSchema = lazySchema15(
|
|
|
2298
2362
|
url: z16.string().nullish(),
|
|
2299
2363
|
pattern: z16.string().nullish()
|
|
2300
2364
|
})
|
|
2301
|
-
])
|
|
2365
|
+
]).optional(),
|
|
2366
|
+
sources: z16.array(
|
|
2367
|
+
z16.discriminatedUnion("type", [
|
|
2368
|
+
z16.object({ type: z16.literal("url"), url: z16.string() }),
|
|
2369
|
+
z16.object({ type: z16.literal("api"), name: z16.string() })
|
|
2370
|
+
])
|
|
2371
|
+
).optional()
|
|
2372
|
+
})
|
|
2373
|
+
)
|
|
2374
|
+
);
|
|
2375
|
+
var webSearchToolFactory = createProviderToolFactoryWithOutputSchema7({
|
|
2376
|
+
id: "openai.web_search",
|
|
2377
|
+
inputSchema: webSearchInputSchema,
|
|
2378
|
+
outputSchema: webSearchOutputSchema
|
|
2379
|
+
});
|
|
2380
|
+
var webSearch = (args = {}) => webSearchToolFactory(args);
|
|
2381
|
+
|
|
2382
|
+
// src/tool/web-search-preview.ts
|
|
2383
|
+
import {
|
|
2384
|
+
createProviderToolFactoryWithOutputSchema as createProviderToolFactoryWithOutputSchema8,
|
|
2385
|
+
lazySchema as lazySchema16,
|
|
2386
|
+
zodSchema as zodSchema16
|
|
2387
|
+
} from "@ai-sdk/provider-utils";
|
|
2388
|
+
import { z as z17 } from "zod/v4";
|
|
2389
|
+
var webSearchPreviewArgsSchema = lazySchema16(
|
|
2390
|
+
() => zodSchema16(
|
|
2391
|
+
z17.object({
|
|
2392
|
+
searchContextSize: z17.enum(["low", "medium", "high"]).optional(),
|
|
2393
|
+
userLocation: z17.object({
|
|
2394
|
+
type: z17.literal("approximate"),
|
|
2395
|
+
country: z17.string().optional(),
|
|
2396
|
+
city: z17.string().optional(),
|
|
2397
|
+
region: z17.string().optional(),
|
|
2398
|
+
timezone: z17.string().optional()
|
|
2399
|
+
}).optional()
|
|
2400
|
+
})
|
|
2401
|
+
)
|
|
2402
|
+
);
|
|
2403
|
+
var webSearchPreviewInputSchema = lazySchema16(
|
|
2404
|
+
() => zodSchema16(z17.object({}))
|
|
2405
|
+
);
|
|
2406
|
+
var webSearchPreviewOutputSchema = lazySchema16(
|
|
2407
|
+
() => zodSchema16(
|
|
2408
|
+
z17.object({
|
|
2409
|
+
action: z17.discriminatedUnion("type", [
|
|
2410
|
+
z17.object({
|
|
2411
|
+
type: z17.literal("search"),
|
|
2412
|
+
query: z17.string().optional()
|
|
2413
|
+
}),
|
|
2414
|
+
z17.object({
|
|
2415
|
+
type: z17.literal("openPage"),
|
|
2416
|
+
url: z17.string().nullish()
|
|
2417
|
+
}),
|
|
2418
|
+
z17.object({
|
|
2419
|
+
type: z17.literal("findInPage"),
|
|
2420
|
+
url: z17.string().nullish(),
|
|
2421
|
+
pattern: z17.string().nullish()
|
|
2422
|
+
})
|
|
2423
|
+
]).optional()
|
|
2302
2424
|
})
|
|
2303
2425
|
)
|
|
2304
2426
|
);
|
|
@@ -2311,60 +2433,60 @@ var webSearchPreview = createProviderToolFactoryWithOutputSchema8({
|
|
|
2311
2433
|
// src/tool/mcp.ts
|
|
2312
2434
|
import {
|
|
2313
2435
|
createProviderToolFactoryWithOutputSchema as createProviderToolFactoryWithOutputSchema9,
|
|
2314
|
-
lazySchema as
|
|
2315
|
-
zodSchema as
|
|
2436
|
+
lazySchema as lazySchema17,
|
|
2437
|
+
zodSchema as zodSchema17
|
|
2316
2438
|
} from "@ai-sdk/provider-utils";
|
|
2317
|
-
import { z as
|
|
2318
|
-
var jsonValueSchema =
|
|
2319
|
-
() =>
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2439
|
+
import { z as z18 } from "zod/v4";
|
|
2440
|
+
var jsonValueSchema = z18.lazy(
|
|
2441
|
+
() => z18.union([
|
|
2442
|
+
z18.string(),
|
|
2443
|
+
z18.number(),
|
|
2444
|
+
z18.boolean(),
|
|
2445
|
+
z18.null(),
|
|
2446
|
+
z18.array(jsonValueSchema),
|
|
2447
|
+
z18.record(z18.string(), jsonValueSchema)
|
|
2326
2448
|
])
|
|
2327
2449
|
);
|
|
2328
|
-
var mcpArgsSchema =
|
|
2329
|
-
() =>
|
|
2330
|
-
|
|
2331
|
-
serverLabel:
|
|
2332
|
-
allowedTools:
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
readOnly:
|
|
2336
|
-
toolNames:
|
|
2450
|
+
var mcpArgsSchema = lazySchema17(
|
|
2451
|
+
() => zodSchema17(
|
|
2452
|
+
z18.object({
|
|
2453
|
+
serverLabel: z18.string(),
|
|
2454
|
+
allowedTools: z18.union([
|
|
2455
|
+
z18.array(z18.string()),
|
|
2456
|
+
z18.object({
|
|
2457
|
+
readOnly: z18.boolean().optional(),
|
|
2458
|
+
toolNames: z18.array(z18.string()).optional()
|
|
2337
2459
|
})
|
|
2338
2460
|
]).optional(),
|
|
2339
|
-
authorization:
|
|
2340
|
-
connectorId:
|
|
2341
|
-
headers:
|
|
2342
|
-
requireApproval:
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
never:
|
|
2346
|
-
toolNames:
|
|
2461
|
+
authorization: z18.string().optional(),
|
|
2462
|
+
connectorId: z18.string().optional(),
|
|
2463
|
+
headers: z18.record(z18.string(), z18.string()).optional(),
|
|
2464
|
+
requireApproval: z18.union([
|
|
2465
|
+
z18.enum(["always", "never"]),
|
|
2466
|
+
z18.object({
|
|
2467
|
+
never: z18.object({
|
|
2468
|
+
toolNames: z18.array(z18.string()).optional()
|
|
2347
2469
|
}).optional()
|
|
2348
2470
|
})
|
|
2349
2471
|
]).optional(),
|
|
2350
|
-
serverDescription:
|
|
2351
|
-
serverUrl:
|
|
2472
|
+
serverDescription: z18.string().optional(),
|
|
2473
|
+
serverUrl: z18.string().optional()
|
|
2352
2474
|
}).refine(
|
|
2353
2475
|
(v) => v.serverUrl != null || v.connectorId != null,
|
|
2354
2476
|
"One of serverUrl or connectorId must be provided."
|
|
2355
2477
|
)
|
|
2356
2478
|
)
|
|
2357
2479
|
);
|
|
2358
|
-
var mcpInputSchema =
|
|
2359
|
-
var mcpOutputSchema =
|
|
2360
|
-
() =>
|
|
2361
|
-
|
|
2362
|
-
type:
|
|
2363
|
-
serverLabel:
|
|
2364
|
-
name:
|
|
2365
|
-
arguments:
|
|
2366
|
-
output:
|
|
2367
|
-
error:
|
|
2480
|
+
var mcpInputSchema = lazySchema17(() => zodSchema17(z18.object({})));
|
|
2481
|
+
var mcpOutputSchema = lazySchema17(
|
|
2482
|
+
() => zodSchema17(
|
|
2483
|
+
z18.object({
|
|
2484
|
+
type: z18.literal("call"),
|
|
2485
|
+
serverLabel: z18.string(),
|
|
2486
|
+
name: z18.string(),
|
|
2487
|
+
arguments: z18.string(),
|
|
2488
|
+
output: z18.string().nullish(),
|
|
2489
|
+
error: z18.union([z18.string(), jsonValueSchema]).optional()
|
|
2368
2490
|
})
|
|
2369
2491
|
)
|
|
2370
2492
|
);
|
|
@@ -2385,6 +2507,16 @@ var openaiTools = {
|
|
|
2385
2507
|
*
|
|
2386
2508
|
*/
|
|
2387
2509
|
applyPatch,
|
|
2510
|
+
/**
|
|
2511
|
+
* Custom tools let callers constrain model output to a grammar (regex or
|
|
2512
|
+
* Lark syntax). The model returns a `custom_tool_call` output item whose
|
|
2513
|
+
* `input` field is a string matching the specified grammar.
|
|
2514
|
+
*
|
|
2515
|
+
* @param name - The name of the custom tool.
|
|
2516
|
+
* @param description - An optional description of the tool.
|
|
2517
|
+
* @param format - The output format constraint (grammar type, syntax, and definition).
|
|
2518
|
+
*/
|
|
2519
|
+
customTool,
|
|
2388
2520
|
/**
|
|
2389
2521
|
* The Code Interpreter tool allows models to write and run Python code in a
|
|
2390
2522
|
* sandboxed environment to solve complex problems in domains like data analysis,
|
|
@@ -2425,7 +2557,7 @@ var openaiTools = {
|
|
|
2425
2557
|
* Local shell is a tool that allows agents to run shell commands locally
|
|
2426
2558
|
* on a machine you or the user provides.
|
|
2427
2559
|
*
|
|
2428
|
-
* Supported models: `gpt-5-codex`
|
|
2560
|
+
* Supported models: `gpt-5-codex`
|
|
2429
2561
|
*/
|
|
2430
2562
|
localShell,
|
|
2431
2563
|
/**
|
|
@@ -2536,7 +2668,7 @@ import {
|
|
|
2536
2668
|
parseProviderOptions as parseProviderOptions4,
|
|
2537
2669
|
validateTypes
|
|
2538
2670
|
} from "@ai-sdk/provider-utils";
|
|
2539
|
-
import { z as
|
|
2671
|
+
import { z as z19 } from "zod/v4";
|
|
2540
2672
|
function isFileId(data, prefixes) {
|
|
2541
2673
|
if (!prefixes) return false;
|
|
2542
2674
|
return prefixes.some((prefix) => data.startsWith(prefix));
|
|
@@ -2548,9 +2680,11 @@ async function convertToOpenAIResponsesInput({
|
|
|
2548
2680
|
providerOptionsName,
|
|
2549
2681
|
fileIdPrefixes,
|
|
2550
2682
|
store,
|
|
2683
|
+
hasConversation = false,
|
|
2551
2684
|
hasLocalShellTool = false,
|
|
2552
2685
|
hasShellTool = false,
|
|
2553
|
-
hasApplyPatchTool = false
|
|
2686
|
+
hasApplyPatchTool = false,
|
|
2687
|
+
customProviderToolNames
|
|
2554
2688
|
}) {
|
|
2555
2689
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
|
|
2556
2690
|
const input = [];
|
|
@@ -2633,7 +2767,12 @@ async function convertToOpenAIResponsesInput({
|
|
|
2633
2767
|
for (const part of content) {
|
|
2634
2768
|
switch (part.type) {
|
|
2635
2769
|
case "text": {
|
|
2636
|
-
const
|
|
2770
|
+
const providerOpts = (_a = part.providerOptions) == null ? void 0 : _a[providerOptionsName];
|
|
2771
|
+
const id = providerOpts == null ? void 0 : providerOpts.itemId;
|
|
2772
|
+
const phase = providerOpts == null ? void 0 : providerOpts.phase;
|
|
2773
|
+
if (hasConversation && id != null) {
|
|
2774
|
+
break;
|
|
2775
|
+
}
|
|
2637
2776
|
if (store && id != null) {
|
|
2638
2777
|
input.push({ type: "item_reference", id });
|
|
2639
2778
|
break;
|
|
@@ -2641,12 +2780,16 @@ async function convertToOpenAIResponsesInput({
|
|
|
2641
2780
|
input.push({
|
|
2642
2781
|
role: "assistant",
|
|
2643
2782
|
content: [{ type: "output_text", text: part.text }],
|
|
2644
|
-
id
|
|
2783
|
+
id,
|
|
2784
|
+
...phase != null && { phase }
|
|
2645
2785
|
});
|
|
2646
2786
|
break;
|
|
2647
2787
|
}
|
|
2648
2788
|
case "tool-call": {
|
|
2649
|
-
const id = (
|
|
2789
|
+
const id = (_f = (_c = (_b = part.providerOptions) == null ? void 0 : _b[providerOptionsName]) == null ? void 0 : _c.itemId) != null ? _f : (_e = (_d = part.providerMetadata) == null ? void 0 : _d[providerOptionsName]) == null ? void 0 : _e.itemId;
|
|
2790
|
+
if (hasConversation && id != null) {
|
|
2791
|
+
break;
|
|
2792
|
+
}
|
|
2650
2793
|
if (part.providerExecuted) {
|
|
2651
2794
|
if (store && id != null) {
|
|
2652
2795
|
input.push({ type: "item_reference", id });
|
|
@@ -2698,6 +2841,30 @@ async function convertToOpenAIResponsesInput({
|
|
|
2698
2841
|
});
|
|
2699
2842
|
break;
|
|
2700
2843
|
}
|
|
2844
|
+
if (hasApplyPatchTool && resolvedToolName === "apply_patch") {
|
|
2845
|
+
const parsedInput = await validateTypes({
|
|
2846
|
+
value: part.input,
|
|
2847
|
+
schema: applyPatchInputSchema
|
|
2848
|
+
});
|
|
2849
|
+
input.push({
|
|
2850
|
+
type: "apply_patch_call",
|
|
2851
|
+
call_id: parsedInput.callId,
|
|
2852
|
+
id,
|
|
2853
|
+
status: "completed",
|
|
2854
|
+
operation: parsedInput.operation
|
|
2855
|
+
});
|
|
2856
|
+
break;
|
|
2857
|
+
}
|
|
2858
|
+
if (customProviderToolNames == null ? void 0 : customProviderToolNames.has(resolvedToolName)) {
|
|
2859
|
+
input.push({
|
|
2860
|
+
type: "custom_tool_call",
|
|
2861
|
+
call_id: part.toolCallId,
|
|
2862
|
+
name: resolvedToolName,
|
|
2863
|
+
input: typeof part.input === "string" ? part.input : JSON.stringify(part.input),
|
|
2864
|
+
id
|
|
2865
|
+
});
|
|
2866
|
+
break;
|
|
2867
|
+
}
|
|
2701
2868
|
input.push({
|
|
2702
2869
|
type: "function_call",
|
|
2703
2870
|
call_id: part.toolCallId,
|
|
@@ -2712,8 +2879,35 @@ async function convertToOpenAIResponsesInput({
|
|
|
2712
2879
|
if (part.output.type === "execution-denied" || part.output.type === "json" && typeof part.output.value === "object" && part.output.value != null && "type" in part.output.value && part.output.value.type === "execution-denied") {
|
|
2713
2880
|
break;
|
|
2714
2881
|
}
|
|
2882
|
+
if (hasConversation) {
|
|
2883
|
+
break;
|
|
2884
|
+
}
|
|
2885
|
+
const resolvedResultToolName = toolNameMapping.toProviderToolName(
|
|
2886
|
+
part.toolName
|
|
2887
|
+
);
|
|
2888
|
+
if (hasShellTool && resolvedResultToolName === "shell") {
|
|
2889
|
+
if (part.output.type === "json") {
|
|
2890
|
+
const parsedOutput = await validateTypes({
|
|
2891
|
+
value: part.output.value,
|
|
2892
|
+
schema: shellOutputSchema
|
|
2893
|
+
});
|
|
2894
|
+
input.push({
|
|
2895
|
+
type: "shell_call_output",
|
|
2896
|
+
call_id: part.toolCallId,
|
|
2897
|
+
output: parsedOutput.output.map((item) => ({
|
|
2898
|
+
stdout: item.stdout,
|
|
2899
|
+
stderr: item.stderr,
|
|
2900
|
+
outcome: item.outcome.type === "timeout" ? { type: "timeout" } : {
|
|
2901
|
+
type: "exit",
|
|
2902
|
+
exit_code: item.outcome.exitCode
|
|
2903
|
+
}
|
|
2904
|
+
}))
|
|
2905
|
+
});
|
|
2906
|
+
}
|
|
2907
|
+
break;
|
|
2908
|
+
}
|
|
2715
2909
|
if (store) {
|
|
2716
|
-
const itemId = (
|
|
2910
|
+
const itemId = (_i = (_h = (_g = part.providerOptions) == null ? void 0 : _g[providerOptionsName]) == null ? void 0 : _h.itemId) != null ? _i : part.toolCallId;
|
|
2717
2911
|
input.push({ type: "item_reference", id: itemId });
|
|
2718
2912
|
} else {
|
|
2719
2913
|
warnings.push({
|
|
@@ -2730,6 +2924,9 @@ async function convertToOpenAIResponsesInput({
|
|
|
2730
2924
|
schema: openaiResponsesReasoningProviderOptionsSchema
|
|
2731
2925
|
});
|
|
2732
2926
|
const reasoningId = providerOptions == null ? void 0 : providerOptions.itemId;
|
|
2927
|
+
if (hasConversation && reasoningId != null) {
|
|
2928
|
+
break;
|
|
2929
|
+
}
|
|
2733
2930
|
if (reasoningId != null) {
|
|
2734
2931
|
const reasoningMessage = reasoningMessages[reasoningId];
|
|
2735
2932
|
if (store) {
|
|
@@ -2770,10 +2967,26 @@ async function convertToOpenAIResponsesInput({
|
|
|
2770
2967
|
}
|
|
2771
2968
|
}
|
|
2772
2969
|
} else {
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2970
|
+
const encryptedContent = providerOptions == null ? void 0 : providerOptions.reasoningEncryptedContent;
|
|
2971
|
+
if (encryptedContent != null) {
|
|
2972
|
+
const summaryParts = [];
|
|
2973
|
+
if (part.text.length > 0) {
|
|
2974
|
+
summaryParts.push({
|
|
2975
|
+
type: "summary_text",
|
|
2976
|
+
text: part.text
|
|
2977
|
+
});
|
|
2978
|
+
}
|
|
2979
|
+
input.push({
|
|
2980
|
+
type: "reasoning",
|
|
2981
|
+
encrypted_content: encryptedContent,
|
|
2982
|
+
summary: summaryParts
|
|
2983
|
+
});
|
|
2984
|
+
} else {
|
|
2985
|
+
warnings.push({
|
|
2986
|
+
type: "other",
|
|
2987
|
+
message: `Non-OpenAI reasoning parts are not supported. Skipping reasoning part: ${JSON.stringify(part)}.`
|
|
2988
|
+
});
|
|
2989
|
+
}
|
|
2777
2990
|
}
|
|
2778
2991
|
break;
|
|
2779
2992
|
}
|
|
@@ -2804,7 +3017,7 @@ async function convertToOpenAIResponsesInput({
|
|
|
2804
3017
|
}
|
|
2805
3018
|
const output = part.output;
|
|
2806
3019
|
if (output.type === "execution-denied") {
|
|
2807
|
-
const approvalId = (
|
|
3020
|
+
const approvalId = (_k = (_j = output.providerOptions) == null ? void 0 : _j.openai) == null ? void 0 : _k.approvalId;
|
|
2808
3021
|
if (approvalId) {
|
|
2809
3022
|
continue;
|
|
2810
3023
|
}
|
|
@@ -2856,6 +3069,61 @@ async function convertToOpenAIResponsesInput({
|
|
|
2856
3069
|
});
|
|
2857
3070
|
continue;
|
|
2858
3071
|
}
|
|
3072
|
+
if (customProviderToolNames == null ? void 0 : customProviderToolNames.has(resolvedToolName)) {
|
|
3073
|
+
let outputValue;
|
|
3074
|
+
switch (output.type) {
|
|
3075
|
+
case "text":
|
|
3076
|
+
case "error-text":
|
|
3077
|
+
outputValue = output.value;
|
|
3078
|
+
break;
|
|
3079
|
+
case "execution-denied":
|
|
3080
|
+
outputValue = (_l = output.reason) != null ? _l : "Tool execution denied.";
|
|
3081
|
+
break;
|
|
3082
|
+
case "json":
|
|
3083
|
+
case "error-json":
|
|
3084
|
+
outputValue = JSON.stringify(output.value);
|
|
3085
|
+
break;
|
|
3086
|
+
case "content":
|
|
3087
|
+
outputValue = output.value.map((item) => {
|
|
3088
|
+
var _a2;
|
|
3089
|
+
switch (item.type) {
|
|
3090
|
+
case "text":
|
|
3091
|
+
return { type: "input_text", text: item.text };
|
|
3092
|
+
case "image-data":
|
|
3093
|
+
return {
|
|
3094
|
+
type: "input_image",
|
|
3095
|
+
image_url: `data:${item.mediaType};base64,${item.data}`
|
|
3096
|
+
};
|
|
3097
|
+
case "image-url":
|
|
3098
|
+
return {
|
|
3099
|
+
type: "input_image",
|
|
3100
|
+
image_url: item.url
|
|
3101
|
+
};
|
|
3102
|
+
case "file-data":
|
|
3103
|
+
return {
|
|
3104
|
+
type: "input_file",
|
|
3105
|
+
filename: (_a2 = item.filename) != null ? _a2 : "data",
|
|
3106
|
+
file_data: `data:${item.mediaType};base64,${item.data}`
|
|
3107
|
+
};
|
|
3108
|
+
default:
|
|
3109
|
+
warnings.push({
|
|
3110
|
+
type: "other",
|
|
3111
|
+
message: `unsupported custom tool content part type: ${item.type}`
|
|
3112
|
+
});
|
|
3113
|
+
return void 0;
|
|
3114
|
+
}
|
|
3115
|
+
}).filter(isNonNullable);
|
|
3116
|
+
break;
|
|
3117
|
+
default:
|
|
3118
|
+
outputValue = "";
|
|
3119
|
+
}
|
|
3120
|
+
input.push({
|
|
3121
|
+
type: "custom_tool_call_output",
|
|
3122
|
+
call_id: part.toolCallId,
|
|
3123
|
+
output: outputValue
|
|
3124
|
+
});
|
|
3125
|
+
continue;
|
|
3126
|
+
}
|
|
2859
3127
|
let contentValue;
|
|
2860
3128
|
switch (output.type) {
|
|
2861
3129
|
case "text":
|
|
@@ -2922,9 +3190,9 @@ async function convertToOpenAIResponsesInput({
|
|
|
2922
3190
|
}
|
|
2923
3191
|
return { input, warnings };
|
|
2924
3192
|
}
|
|
2925
|
-
var openaiResponsesReasoningProviderOptionsSchema =
|
|
2926
|
-
itemId:
|
|
2927
|
-
reasoningEncryptedContent:
|
|
3193
|
+
var openaiResponsesReasoningProviderOptionsSchema = z19.object({
|
|
3194
|
+
itemId: z19.string().nullish(),
|
|
3195
|
+
reasoningEncryptedContent: z19.string().nullish()
|
|
2928
3196
|
});
|
|
2929
3197
|
|
|
2930
3198
|
// src/responses/map-openai-responses-finish-reason.ts
|
|
@@ -2946,426 +3214,483 @@ function mapOpenAIResponseFinishReason({
|
|
|
2946
3214
|
}
|
|
2947
3215
|
|
|
2948
3216
|
// src/responses/openai-responses-api.ts
|
|
2949
|
-
import { lazySchema as
|
|
2950
|
-
import { z as
|
|
2951
|
-
var openaiResponsesChunkSchema =
|
|
2952
|
-
() =>
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
type:
|
|
2956
|
-
item_id:
|
|
2957
|
-
delta:
|
|
2958
|
-
logprobs:
|
|
2959
|
-
|
|
2960
|
-
token:
|
|
2961
|
-
logprob:
|
|
2962
|
-
top_logprobs:
|
|
2963
|
-
|
|
2964
|
-
token:
|
|
2965
|
-
logprob:
|
|
3217
|
+
import { lazySchema as lazySchema18, zodSchema as zodSchema18 } from "@ai-sdk/provider-utils";
|
|
3218
|
+
import { z as z20 } from "zod/v4";
|
|
3219
|
+
var openaiResponsesChunkSchema = lazySchema18(
|
|
3220
|
+
() => zodSchema18(
|
|
3221
|
+
z20.union([
|
|
3222
|
+
z20.object({
|
|
3223
|
+
type: z20.literal("response.output_text.delta"),
|
|
3224
|
+
item_id: z20.string(),
|
|
3225
|
+
delta: z20.string(),
|
|
3226
|
+
logprobs: z20.array(
|
|
3227
|
+
z20.object({
|
|
3228
|
+
token: z20.string(),
|
|
3229
|
+
logprob: z20.number(),
|
|
3230
|
+
top_logprobs: z20.array(
|
|
3231
|
+
z20.object({
|
|
3232
|
+
token: z20.string(),
|
|
3233
|
+
logprob: z20.number()
|
|
2966
3234
|
})
|
|
2967
3235
|
)
|
|
2968
3236
|
})
|
|
2969
3237
|
).nullish()
|
|
2970
3238
|
}),
|
|
2971
|
-
|
|
2972
|
-
type:
|
|
2973
|
-
response:
|
|
2974
|
-
incomplete_details:
|
|
2975
|
-
usage:
|
|
2976
|
-
input_tokens:
|
|
2977
|
-
input_tokens_details:
|
|
2978
|
-
output_tokens:
|
|
2979
|
-
output_tokens_details:
|
|
3239
|
+
z20.object({
|
|
3240
|
+
type: z20.enum(["response.completed", "response.incomplete"]),
|
|
3241
|
+
response: z20.object({
|
|
3242
|
+
incomplete_details: z20.object({ reason: z20.string() }).nullish(),
|
|
3243
|
+
usage: z20.object({
|
|
3244
|
+
input_tokens: z20.number(),
|
|
3245
|
+
input_tokens_details: z20.object({ cached_tokens: z20.number().nullish() }).nullish(),
|
|
3246
|
+
output_tokens: z20.number(),
|
|
3247
|
+
output_tokens_details: z20.object({ reasoning_tokens: z20.number().nullish() }).nullish()
|
|
2980
3248
|
}),
|
|
2981
|
-
service_tier:
|
|
3249
|
+
service_tier: z20.string().nullish()
|
|
2982
3250
|
})
|
|
2983
3251
|
}),
|
|
2984
|
-
|
|
2985
|
-
type:
|
|
2986
|
-
response:
|
|
2987
|
-
id:
|
|
2988
|
-
created_at:
|
|
2989
|
-
model:
|
|
2990
|
-
service_tier:
|
|
3252
|
+
z20.object({
|
|
3253
|
+
type: z20.literal("response.created"),
|
|
3254
|
+
response: z20.object({
|
|
3255
|
+
id: z20.string(),
|
|
3256
|
+
created_at: z20.number(),
|
|
3257
|
+
model: z20.string(),
|
|
3258
|
+
service_tier: z20.string().nullish()
|
|
2991
3259
|
})
|
|
2992
3260
|
}),
|
|
2993
|
-
|
|
2994
|
-
type:
|
|
2995
|
-
output_index:
|
|
2996
|
-
item:
|
|
2997
|
-
|
|
2998
|
-
type:
|
|
2999
|
-
id:
|
|
3261
|
+
z20.object({
|
|
3262
|
+
type: z20.literal("response.output_item.added"),
|
|
3263
|
+
output_index: z20.number(),
|
|
3264
|
+
item: z20.discriminatedUnion("type", [
|
|
3265
|
+
z20.object({
|
|
3266
|
+
type: z20.literal("message"),
|
|
3267
|
+
id: z20.string(),
|
|
3268
|
+
phase: z20.enum(["commentary", "final_answer"]).nullish()
|
|
3000
3269
|
}),
|
|
3001
|
-
|
|
3002
|
-
type:
|
|
3003
|
-
id:
|
|
3004
|
-
encrypted_content:
|
|
3270
|
+
z20.object({
|
|
3271
|
+
type: z20.literal("reasoning"),
|
|
3272
|
+
id: z20.string(),
|
|
3273
|
+
encrypted_content: z20.string().nullish()
|
|
3005
3274
|
}),
|
|
3006
|
-
|
|
3007
|
-
type:
|
|
3008
|
-
id:
|
|
3009
|
-
call_id:
|
|
3010
|
-
name:
|
|
3011
|
-
arguments:
|
|
3275
|
+
z20.object({
|
|
3276
|
+
type: z20.literal("function_call"),
|
|
3277
|
+
id: z20.string(),
|
|
3278
|
+
call_id: z20.string(),
|
|
3279
|
+
name: z20.string(),
|
|
3280
|
+
arguments: z20.string()
|
|
3012
3281
|
}),
|
|
3013
|
-
|
|
3014
|
-
type:
|
|
3015
|
-
id:
|
|
3016
|
-
status:
|
|
3282
|
+
z20.object({
|
|
3283
|
+
type: z20.literal("web_search_call"),
|
|
3284
|
+
id: z20.string(),
|
|
3285
|
+
status: z20.string()
|
|
3017
3286
|
}),
|
|
3018
|
-
|
|
3019
|
-
type:
|
|
3020
|
-
id:
|
|
3021
|
-
status:
|
|
3287
|
+
z20.object({
|
|
3288
|
+
type: z20.literal("computer_call"),
|
|
3289
|
+
id: z20.string(),
|
|
3290
|
+
status: z20.string()
|
|
3022
3291
|
}),
|
|
3023
|
-
|
|
3024
|
-
type:
|
|
3025
|
-
id:
|
|
3292
|
+
z20.object({
|
|
3293
|
+
type: z20.literal("file_search_call"),
|
|
3294
|
+
id: z20.string()
|
|
3026
3295
|
}),
|
|
3027
|
-
|
|
3028
|
-
type:
|
|
3029
|
-
id:
|
|
3296
|
+
z20.object({
|
|
3297
|
+
type: z20.literal("image_generation_call"),
|
|
3298
|
+
id: z20.string()
|
|
3030
3299
|
}),
|
|
3031
|
-
|
|
3032
|
-
type:
|
|
3033
|
-
id:
|
|
3034
|
-
container_id:
|
|
3035
|
-
code:
|
|
3036
|
-
outputs:
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3300
|
+
z20.object({
|
|
3301
|
+
type: z20.literal("code_interpreter_call"),
|
|
3302
|
+
id: z20.string(),
|
|
3303
|
+
container_id: z20.string(),
|
|
3304
|
+
code: z20.string().nullable(),
|
|
3305
|
+
outputs: z20.array(
|
|
3306
|
+
z20.discriminatedUnion("type", [
|
|
3307
|
+
z20.object({ type: z20.literal("logs"), logs: z20.string() }),
|
|
3308
|
+
z20.object({ type: z20.literal("image"), url: z20.string() })
|
|
3040
3309
|
])
|
|
3041
3310
|
).nullable(),
|
|
3042
|
-
status:
|
|
3311
|
+
status: z20.string()
|
|
3043
3312
|
}),
|
|
3044
|
-
|
|
3045
|
-
type:
|
|
3046
|
-
id:
|
|
3047
|
-
status:
|
|
3048
|
-
approval_request_id:
|
|
3313
|
+
z20.object({
|
|
3314
|
+
type: z20.literal("mcp_call"),
|
|
3315
|
+
id: z20.string(),
|
|
3316
|
+
status: z20.string(),
|
|
3317
|
+
approval_request_id: z20.string().nullish()
|
|
3049
3318
|
}),
|
|
3050
|
-
|
|
3051
|
-
type:
|
|
3052
|
-
id:
|
|
3319
|
+
z20.object({
|
|
3320
|
+
type: z20.literal("mcp_list_tools"),
|
|
3321
|
+
id: z20.string()
|
|
3053
3322
|
}),
|
|
3054
|
-
|
|
3055
|
-
type:
|
|
3056
|
-
id:
|
|
3323
|
+
z20.object({
|
|
3324
|
+
type: z20.literal("mcp_approval_request"),
|
|
3325
|
+
id: z20.string()
|
|
3057
3326
|
}),
|
|
3058
|
-
|
|
3059
|
-
type:
|
|
3060
|
-
id:
|
|
3061
|
-
call_id:
|
|
3062
|
-
status:
|
|
3063
|
-
operation:
|
|
3064
|
-
|
|
3065
|
-
type:
|
|
3066
|
-
path:
|
|
3067
|
-
diff:
|
|
3327
|
+
z20.object({
|
|
3328
|
+
type: z20.literal("apply_patch_call"),
|
|
3329
|
+
id: z20.string(),
|
|
3330
|
+
call_id: z20.string(),
|
|
3331
|
+
status: z20.enum(["in_progress", "completed"]),
|
|
3332
|
+
operation: z20.discriminatedUnion("type", [
|
|
3333
|
+
z20.object({
|
|
3334
|
+
type: z20.literal("create_file"),
|
|
3335
|
+
path: z20.string(),
|
|
3336
|
+
diff: z20.string()
|
|
3068
3337
|
}),
|
|
3069
|
-
|
|
3070
|
-
type:
|
|
3071
|
-
path:
|
|
3338
|
+
z20.object({
|
|
3339
|
+
type: z20.literal("delete_file"),
|
|
3340
|
+
path: z20.string()
|
|
3072
3341
|
}),
|
|
3073
|
-
|
|
3074
|
-
type:
|
|
3075
|
-
path:
|
|
3076
|
-
diff:
|
|
3342
|
+
z20.object({
|
|
3343
|
+
type: z20.literal("update_file"),
|
|
3344
|
+
path: z20.string(),
|
|
3345
|
+
diff: z20.string()
|
|
3077
3346
|
})
|
|
3078
3347
|
])
|
|
3079
3348
|
}),
|
|
3080
|
-
|
|
3081
|
-
type:
|
|
3082
|
-
id:
|
|
3083
|
-
call_id:
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3349
|
+
z20.object({
|
|
3350
|
+
type: z20.literal("custom_tool_call"),
|
|
3351
|
+
id: z20.string(),
|
|
3352
|
+
call_id: z20.string(),
|
|
3353
|
+
name: z20.string(),
|
|
3354
|
+
input: z20.string()
|
|
3355
|
+
}),
|
|
3356
|
+
z20.object({
|
|
3357
|
+
type: z20.literal("shell_call"),
|
|
3358
|
+
id: z20.string(),
|
|
3359
|
+
call_id: z20.string(),
|
|
3360
|
+
status: z20.enum(["in_progress", "completed", "incomplete"]),
|
|
3361
|
+
action: z20.object({
|
|
3362
|
+
commands: z20.array(z20.string())
|
|
3087
3363
|
})
|
|
3364
|
+
}),
|
|
3365
|
+
z20.object({
|
|
3366
|
+
type: z20.literal("shell_call_output"),
|
|
3367
|
+
id: z20.string(),
|
|
3368
|
+
call_id: z20.string(),
|
|
3369
|
+
status: z20.enum(["in_progress", "completed", "incomplete"]),
|
|
3370
|
+
output: z20.array(
|
|
3371
|
+
z20.object({
|
|
3372
|
+
stdout: z20.string(),
|
|
3373
|
+
stderr: z20.string(),
|
|
3374
|
+
outcome: z20.discriminatedUnion("type", [
|
|
3375
|
+
z20.object({ type: z20.literal("timeout") }),
|
|
3376
|
+
z20.object({
|
|
3377
|
+
type: z20.literal("exit"),
|
|
3378
|
+
exit_code: z20.number()
|
|
3379
|
+
})
|
|
3380
|
+
])
|
|
3381
|
+
})
|
|
3382
|
+
)
|
|
3088
3383
|
})
|
|
3089
3384
|
])
|
|
3090
3385
|
}),
|
|
3091
|
-
|
|
3092
|
-
type:
|
|
3093
|
-
output_index:
|
|
3094
|
-
item:
|
|
3095
|
-
|
|
3096
|
-
type:
|
|
3097
|
-
id:
|
|
3386
|
+
z20.object({
|
|
3387
|
+
type: z20.literal("response.output_item.done"),
|
|
3388
|
+
output_index: z20.number(),
|
|
3389
|
+
item: z20.discriminatedUnion("type", [
|
|
3390
|
+
z20.object({
|
|
3391
|
+
type: z20.literal("message"),
|
|
3392
|
+
id: z20.string(),
|
|
3393
|
+
phase: z20.enum(["commentary", "final_answer"]).nullish()
|
|
3394
|
+
}),
|
|
3395
|
+
z20.object({
|
|
3396
|
+
type: z20.literal("reasoning"),
|
|
3397
|
+
id: z20.string(),
|
|
3398
|
+
encrypted_content: z20.string().nullish()
|
|
3098
3399
|
}),
|
|
3099
|
-
|
|
3100
|
-
type:
|
|
3101
|
-
id:
|
|
3102
|
-
|
|
3400
|
+
z20.object({
|
|
3401
|
+
type: z20.literal("function_call"),
|
|
3402
|
+
id: z20.string(),
|
|
3403
|
+
call_id: z20.string(),
|
|
3404
|
+
name: z20.string(),
|
|
3405
|
+
arguments: z20.string(),
|
|
3406
|
+
status: z20.literal("completed")
|
|
3103
3407
|
}),
|
|
3104
|
-
|
|
3105
|
-
type:
|
|
3106
|
-
id:
|
|
3107
|
-
call_id:
|
|
3108
|
-
name:
|
|
3109
|
-
|
|
3110
|
-
status:
|
|
3408
|
+
z20.object({
|
|
3409
|
+
type: z20.literal("custom_tool_call"),
|
|
3410
|
+
id: z20.string(),
|
|
3411
|
+
call_id: z20.string(),
|
|
3412
|
+
name: z20.string(),
|
|
3413
|
+
input: z20.string(),
|
|
3414
|
+
status: z20.literal("completed")
|
|
3111
3415
|
}),
|
|
3112
|
-
|
|
3113
|
-
type:
|
|
3114
|
-
id:
|
|
3115
|
-
code:
|
|
3116
|
-
container_id:
|
|
3117
|
-
outputs:
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3416
|
+
z20.object({
|
|
3417
|
+
type: z20.literal("code_interpreter_call"),
|
|
3418
|
+
id: z20.string(),
|
|
3419
|
+
code: z20.string().nullable(),
|
|
3420
|
+
container_id: z20.string(),
|
|
3421
|
+
outputs: z20.array(
|
|
3422
|
+
z20.discriminatedUnion("type", [
|
|
3423
|
+
z20.object({ type: z20.literal("logs"), logs: z20.string() }),
|
|
3424
|
+
z20.object({ type: z20.literal("image"), url: z20.string() })
|
|
3121
3425
|
])
|
|
3122
3426
|
).nullable()
|
|
3123
3427
|
}),
|
|
3124
|
-
|
|
3125
|
-
type:
|
|
3126
|
-
id:
|
|
3127
|
-
result:
|
|
3428
|
+
z20.object({
|
|
3429
|
+
type: z20.literal("image_generation_call"),
|
|
3430
|
+
id: z20.string(),
|
|
3431
|
+
result: z20.string()
|
|
3128
3432
|
}),
|
|
3129
|
-
|
|
3130
|
-
type:
|
|
3131
|
-
id:
|
|
3132
|
-
status:
|
|
3133
|
-
action:
|
|
3134
|
-
|
|
3135
|
-
type:
|
|
3136
|
-
query:
|
|
3137
|
-
sources:
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3433
|
+
z20.object({
|
|
3434
|
+
type: z20.literal("web_search_call"),
|
|
3435
|
+
id: z20.string(),
|
|
3436
|
+
status: z20.string(),
|
|
3437
|
+
action: z20.discriminatedUnion("type", [
|
|
3438
|
+
z20.object({
|
|
3439
|
+
type: z20.literal("search"),
|
|
3440
|
+
query: z20.string().nullish(),
|
|
3441
|
+
sources: z20.array(
|
|
3442
|
+
z20.discriminatedUnion("type", [
|
|
3443
|
+
z20.object({ type: z20.literal("url"), url: z20.string() }),
|
|
3444
|
+
z20.object({ type: z20.literal("api"), name: z20.string() })
|
|
3141
3445
|
])
|
|
3142
3446
|
).nullish()
|
|
3143
3447
|
}),
|
|
3144
|
-
|
|
3145
|
-
type:
|
|
3146
|
-
url:
|
|
3448
|
+
z20.object({
|
|
3449
|
+
type: z20.literal("open_page"),
|
|
3450
|
+
url: z20.string().nullish()
|
|
3147
3451
|
}),
|
|
3148
|
-
|
|
3149
|
-
type:
|
|
3150
|
-
url:
|
|
3151
|
-
pattern:
|
|
3452
|
+
z20.object({
|
|
3453
|
+
type: z20.literal("find_in_page"),
|
|
3454
|
+
url: z20.string().nullish(),
|
|
3455
|
+
pattern: z20.string().nullish()
|
|
3152
3456
|
})
|
|
3153
|
-
])
|
|
3457
|
+
]).nullish()
|
|
3154
3458
|
}),
|
|
3155
|
-
|
|
3156
|
-
type:
|
|
3157
|
-
id:
|
|
3158
|
-
queries:
|
|
3159
|
-
results:
|
|
3160
|
-
|
|
3161
|
-
attributes:
|
|
3162
|
-
|
|
3163
|
-
|
|
3459
|
+
z20.object({
|
|
3460
|
+
type: z20.literal("file_search_call"),
|
|
3461
|
+
id: z20.string(),
|
|
3462
|
+
queries: z20.array(z20.string()),
|
|
3463
|
+
results: z20.array(
|
|
3464
|
+
z20.object({
|
|
3465
|
+
attributes: z20.record(
|
|
3466
|
+
z20.string(),
|
|
3467
|
+
z20.union([z20.string(), z20.number(), z20.boolean()])
|
|
3164
3468
|
),
|
|
3165
|
-
file_id:
|
|
3166
|
-
filename:
|
|
3167
|
-
score:
|
|
3168
|
-
text:
|
|
3469
|
+
file_id: z20.string(),
|
|
3470
|
+
filename: z20.string(),
|
|
3471
|
+
score: z20.number(),
|
|
3472
|
+
text: z20.string()
|
|
3169
3473
|
})
|
|
3170
3474
|
).nullish()
|
|
3171
3475
|
}),
|
|
3172
|
-
|
|
3173
|
-
type:
|
|
3174
|
-
id:
|
|
3175
|
-
call_id:
|
|
3176
|
-
action:
|
|
3177
|
-
type:
|
|
3178
|
-
command:
|
|
3179
|
-
timeout_ms:
|
|
3180
|
-
user:
|
|
3181
|
-
working_directory:
|
|
3182
|
-
env:
|
|
3476
|
+
z20.object({
|
|
3477
|
+
type: z20.literal("local_shell_call"),
|
|
3478
|
+
id: z20.string(),
|
|
3479
|
+
call_id: z20.string(),
|
|
3480
|
+
action: z20.object({
|
|
3481
|
+
type: z20.literal("exec"),
|
|
3482
|
+
command: z20.array(z20.string()),
|
|
3483
|
+
timeout_ms: z20.number().optional(),
|
|
3484
|
+
user: z20.string().optional(),
|
|
3485
|
+
working_directory: z20.string().optional(),
|
|
3486
|
+
env: z20.record(z20.string(), z20.string()).optional()
|
|
3183
3487
|
})
|
|
3184
3488
|
}),
|
|
3185
|
-
|
|
3186
|
-
type:
|
|
3187
|
-
id:
|
|
3188
|
-
status:
|
|
3489
|
+
z20.object({
|
|
3490
|
+
type: z20.literal("computer_call"),
|
|
3491
|
+
id: z20.string(),
|
|
3492
|
+
status: z20.literal("completed")
|
|
3189
3493
|
}),
|
|
3190
|
-
|
|
3191
|
-
type:
|
|
3192
|
-
id:
|
|
3193
|
-
status:
|
|
3194
|
-
arguments:
|
|
3195
|
-
name:
|
|
3196
|
-
server_label:
|
|
3197
|
-
output:
|
|
3198
|
-
error:
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
type:
|
|
3202
|
-
code:
|
|
3203
|
-
message:
|
|
3494
|
+
z20.object({
|
|
3495
|
+
type: z20.literal("mcp_call"),
|
|
3496
|
+
id: z20.string(),
|
|
3497
|
+
status: z20.string(),
|
|
3498
|
+
arguments: z20.string(),
|
|
3499
|
+
name: z20.string(),
|
|
3500
|
+
server_label: z20.string(),
|
|
3501
|
+
output: z20.string().nullish(),
|
|
3502
|
+
error: z20.union([
|
|
3503
|
+
z20.string(),
|
|
3504
|
+
z20.object({
|
|
3505
|
+
type: z20.string().optional(),
|
|
3506
|
+
code: z20.union([z20.number(), z20.string()]).optional(),
|
|
3507
|
+
message: z20.string().optional()
|
|
3204
3508
|
}).loose()
|
|
3205
3509
|
]).nullish(),
|
|
3206
|
-
approval_request_id:
|
|
3510
|
+
approval_request_id: z20.string().nullish()
|
|
3207
3511
|
}),
|
|
3208
|
-
|
|
3209
|
-
type:
|
|
3210
|
-
id:
|
|
3211
|
-
server_label:
|
|
3212
|
-
tools:
|
|
3213
|
-
|
|
3214
|
-
name:
|
|
3215
|
-
description:
|
|
3216
|
-
input_schema:
|
|
3217
|
-
annotations:
|
|
3512
|
+
z20.object({
|
|
3513
|
+
type: z20.literal("mcp_list_tools"),
|
|
3514
|
+
id: z20.string(),
|
|
3515
|
+
server_label: z20.string(),
|
|
3516
|
+
tools: z20.array(
|
|
3517
|
+
z20.object({
|
|
3518
|
+
name: z20.string(),
|
|
3519
|
+
description: z20.string().optional(),
|
|
3520
|
+
input_schema: z20.any(),
|
|
3521
|
+
annotations: z20.record(z20.string(), z20.unknown()).optional()
|
|
3218
3522
|
})
|
|
3219
3523
|
),
|
|
3220
|
-
error:
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
type:
|
|
3224
|
-
code:
|
|
3225
|
-
message:
|
|
3524
|
+
error: z20.union([
|
|
3525
|
+
z20.string(),
|
|
3526
|
+
z20.object({
|
|
3527
|
+
type: z20.string().optional(),
|
|
3528
|
+
code: z20.union([z20.number(), z20.string()]).optional(),
|
|
3529
|
+
message: z20.string().optional()
|
|
3226
3530
|
}).loose()
|
|
3227
3531
|
]).optional()
|
|
3228
3532
|
}),
|
|
3229
|
-
|
|
3230
|
-
type:
|
|
3231
|
-
id:
|
|
3232
|
-
server_label:
|
|
3233
|
-
name:
|
|
3234
|
-
arguments:
|
|
3235
|
-
approval_request_id:
|
|
3533
|
+
z20.object({
|
|
3534
|
+
type: z20.literal("mcp_approval_request"),
|
|
3535
|
+
id: z20.string(),
|
|
3536
|
+
server_label: z20.string(),
|
|
3537
|
+
name: z20.string(),
|
|
3538
|
+
arguments: z20.string(),
|
|
3539
|
+
approval_request_id: z20.string().optional()
|
|
3236
3540
|
}),
|
|
3237
|
-
|
|
3238
|
-
type:
|
|
3239
|
-
id:
|
|
3240
|
-
call_id:
|
|
3241
|
-
status:
|
|
3242
|
-
operation:
|
|
3243
|
-
|
|
3244
|
-
type:
|
|
3245
|
-
path:
|
|
3246
|
-
diff:
|
|
3541
|
+
z20.object({
|
|
3542
|
+
type: z20.literal("apply_patch_call"),
|
|
3543
|
+
id: z20.string(),
|
|
3544
|
+
call_id: z20.string(),
|
|
3545
|
+
status: z20.enum(["in_progress", "completed"]),
|
|
3546
|
+
operation: z20.discriminatedUnion("type", [
|
|
3547
|
+
z20.object({
|
|
3548
|
+
type: z20.literal("create_file"),
|
|
3549
|
+
path: z20.string(),
|
|
3550
|
+
diff: z20.string()
|
|
3247
3551
|
}),
|
|
3248
|
-
|
|
3249
|
-
type:
|
|
3250
|
-
path:
|
|
3552
|
+
z20.object({
|
|
3553
|
+
type: z20.literal("delete_file"),
|
|
3554
|
+
path: z20.string()
|
|
3251
3555
|
}),
|
|
3252
|
-
|
|
3253
|
-
type:
|
|
3254
|
-
path:
|
|
3255
|
-
diff:
|
|
3556
|
+
z20.object({
|
|
3557
|
+
type: z20.literal("update_file"),
|
|
3558
|
+
path: z20.string(),
|
|
3559
|
+
diff: z20.string()
|
|
3256
3560
|
})
|
|
3257
3561
|
])
|
|
3258
3562
|
}),
|
|
3259
|
-
|
|
3260
|
-
type:
|
|
3261
|
-
id:
|
|
3262
|
-
call_id:
|
|
3263
|
-
status:
|
|
3264
|
-
action:
|
|
3265
|
-
commands:
|
|
3563
|
+
z20.object({
|
|
3564
|
+
type: z20.literal("shell_call"),
|
|
3565
|
+
id: z20.string(),
|
|
3566
|
+
call_id: z20.string(),
|
|
3567
|
+
status: z20.enum(["in_progress", "completed", "incomplete"]),
|
|
3568
|
+
action: z20.object({
|
|
3569
|
+
commands: z20.array(z20.string())
|
|
3266
3570
|
})
|
|
3571
|
+
}),
|
|
3572
|
+
z20.object({
|
|
3573
|
+
type: z20.literal("shell_call_output"),
|
|
3574
|
+
id: z20.string(),
|
|
3575
|
+
call_id: z20.string(),
|
|
3576
|
+
status: z20.enum(["in_progress", "completed", "incomplete"]),
|
|
3577
|
+
output: z20.array(
|
|
3578
|
+
z20.object({
|
|
3579
|
+
stdout: z20.string(),
|
|
3580
|
+
stderr: z20.string(),
|
|
3581
|
+
outcome: z20.discriminatedUnion("type", [
|
|
3582
|
+
z20.object({ type: z20.literal("timeout") }),
|
|
3583
|
+
z20.object({
|
|
3584
|
+
type: z20.literal("exit"),
|
|
3585
|
+
exit_code: z20.number()
|
|
3586
|
+
})
|
|
3587
|
+
])
|
|
3588
|
+
})
|
|
3589
|
+
)
|
|
3267
3590
|
})
|
|
3268
3591
|
])
|
|
3269
3592
|
}),
|
|
3270
|
-
|
|
3271
|
-
type:
|
|
3272
|
-
item_id:
|
|
3273
|
-
output_index:
|
|
3274
|
-
delta:
|
|
3593
|
+
z20.object({
|
|
3594
|
+
type: z20.literal("response.function_call_arguments.delta"),
|
|
3595
|
+
item_id: z20.string(),
|
|
3596
|
+
output_index: z20.number(),
|
|
3597
|
+
delta: z20.string()
|
|
3275
3598
|
}),
|
|
3276
|
-
|
|
3277
|
-
type:
|
|
3278
|
-
item_id:
|
|
3279
|
-
output_index:
|
|
3280
|
-
|
|
3599
|
+
z20.object({
|
|
3600
|
+
type: z20.literal("response.custom_tool_call_input.delta"),
|
|
3601
|
+
item_id: z20.string(),
|
|
3602
|
+
output_index: z20.number(),
|
|
3603
|
+
delta: z20.string()
|
|
3281
3604
|
}),
|
|
3282
|
-
|
|
3283
|
-
type:
|
|
3284
|
-
item_id:
|
|
3285
|
-
output_index:
|
|
3286
|
-
|
|
3605
|
+
z20.object({
|
|
3606
|
+
type: z20.literal("response.image_generation_call.partial_image"),
|
|
3607
|
+
item_id: z20.string(),
|
|
3608
|
+
output_index: z20.number(),
|
|
3609
|
+
partial_image_b64: z20.string()
|
|
3287
3610
|
}),
|
|
3288
|
-
|
|
3289
|
-
type:
|
|
3290
|
-
item_id:
|
|
3291
|
-
output_index:
|
|
3292
|
-
|
|
3611
|
+
z20.object({
|
|
3612
|
+
type: z20.literal("response.code_interpreter_call_code.delta"),
|
|
3613
|
+
item_id: z20.string(),
|
|
3614
|
+
output_index: z20.number(),
|
|
3615
|
+
delta: z20.string()
|
|
3293
3616
|
}),
|
|
3294
|
-
|
|
3295
|
-
type:
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3617
|
+
z20.object({
|
|
3618
|
+
type: z20.literal("response.code_interpreter_call_code.done"),
|
|
3619
|
+
item_id: z20.string(),
|
|
3620
|
+
output_index: z20.number(),
|
|
3621
|
+
code: z20.string()
|
|
3622
|
+
}),
|
|
3623
|
+
z20.object({
|
|
3624
|
+
type: z20.literal("response.output_text.annotation.added"),
|
|
3625
|
+
annotation: z20.discriminatedUnion("type", [
|
|
3626
|
+
z20.object({
|
|
3627
|
+
type: z20.literal("url_citation"),
|
|
3628
|
+
start_index: z20.number(),
|
|
3629
|
+
end_index: z20.number(),
|
|
3630
|
+
url: z20.string(),
|
|
3631
|
+
title: z20.string()
|
|
3303
3632
|
}),
|
|
3304
|
-
|
|
3305
|
-
type:
|
|
3306
|
-
file_id:
|
|
3307
|
-
filename:
|
|
3308
|
-
index:
|
|
3309
|
-
start_index: z19.number().nullish(),
|
|
3310
|
-
end_index: z19.number().nullish(),
|
|
3311
|
-
quote: z19.string().nullish()
|
|
3633
|
+
z20.object({
|
|
3634
|
+
type: z20.literal("file_citation"),
|
|
3635
|
+
file_id: z20.string(),
|
|
3636
|
+
filename: z20.string(),
|
|
3637
|
+
index: z20.number()
|
|
3312
3638
|
}),
|
|
3313
|
-
|
|
3314
|
-
type:
|
|
3315
|
-
container_id:
|
|
3316
|
-
file_id:
|
|
3317
|
-
filename:
|
|
3318
|
-
start_index:
|
|
3319
|
-
end_index:
|
|
3320
|
-
index: z19.number().nullish()
|
|
3639
|
+
z20.object({
|
|
3640
|
+
type: z20.literal("container_file_citation"),
|
|
3641
|
+
container_id: z20.string(),
|
|
3642
|
+
file_id: z20.string(),
|
|
3643
|
+
filename: z20.string(),
|
|
3644
|
+
start_index: z20.number(),
|
|
3645
|
+
end_index: z20.number()
|
|
3321
3646
|
}),
|
|
3322
|
-
|
|
3323
|
-
type:
|
|
3324
|
-
file_id:
|
|
3325
|
-
index:
|
|
3647
|
+
z20.object({
|
|
3648
|
+
type: z20.literal("file_path"),
|
|
3649
|
+
file_id: z20.string(),
|
|
3650
|
+
index: z20.number()
|
|
3326
3651
|
})
|
|
3327
3652
|
])
|
|
3328
3653
|
}),
|
|
3329
|
-
|
|
3330
|
-
type:
|
|
3331
|
-
item_id:
|
|
3332
|
-
summary_index:
|
|
3654
|
+
z20.object({
|
|
3655
|
+
type: z20.literal("response.reasoning_summary_part.added"),
|
|
3656
|
+
item_id: z20.string(),
|
|
3657
|
+
summary_index: z20.number()
|
|
3333
3658
|
}),
|
|
3334
|
-
|
|
3335
|
-
type:
|
|
3336
|
-
item_id:
|
|
3337
|
-
summary_index:
|
|
3338
|
-
delta:
|
|
3659
|
+
z20.object({
|
|
3660
|
+
type: z20.literal("response.reasoning_summary_text.delta"),
|
|
3661
|
+
item_id: z20.string(),
|
|
3662
|
+
summary_index: z20.number(),
|
|
3663
|
+
delta: z20.string()
|
|
3339
3664
|
}),
|
|
3340
|
-
|
|
3341
|
-
type:
|
|
3342
|
-
item_id:
|
|
3343
|
-
summary_index:
|
|
3665
|
+
z20.object({
|
|
3666
|
+
type: z20.literal("response.reasoning_summary_part.done"),
|
|
3667
|
+
item_id: z20.string(),
|
|
3668
|
+
summary_index: z20.number()
|
|
3344
3669
|
}),
|
|
3345
|
-
|
|
3346
|
-
type:
|
|
3347
|
-
item_id:
|
|
3348
|
-
output_index:
|
|
3349
|
-
delta:
|
|
3350
|
-
obfuscation:
|
|
3670
|
+
z20.object({
|
|
3671
|
+
type: z20.literal("response.apply_patch_call_operation_diff.delta"),
|
|
3672
|
+
item_id: z20.string(),
|
|
3673
|
+
output_index: z20.number(),
|
|
3674
|
+
delta: z20.string(),
|
|
3675
|
+
obfuscation: z20.string().nullish()
|
|
3351
3676
|
}),
|
|
3352
|
-
|
|
3353
|
-
type:
|
|
3354
|
-
item_id:
|
|
3355
|
-
output_index:
|
|
3356
|
-
diff:
|
|
3677
|
+
z20.object({
|
|
3678
|
+
type: z20.literal("response.apply_patch_call_operation_diff.done"),
|
|
3679
|
+
item_id: z20.string(),
|
|
3680
|
+
output_index: z20.number(),
|
|
3681
|
+
diff: z20.string()
|
|
3357
3682
|
}),
|
|
3358
|
-
|
|
3359
|
-
type:
|
|
3360
|
-
sequence_number:
|
|
3361
|
-
error:
|
|
3362
|
-
type:
|
|
3363
|
-
code:
|
|
3364
|
-
message:
|
|
3365
|
-
param:
|
|
3683
|
+
z20.object({
|
|
3684
|
+
type: z20.literal("error"),
|
|
3685
|
+
sequence_number: z20.number(),
|
|
3686
|
+
error: z20.object({
|
|
3687
|
+
type: z20.string(),
|
|
3688
|
+
code: z20.string(),
|
|
3689
|
+
message: z20.string(),
|
|
3690
|
+
param: z20.string().nullish()
|
|
3366
3691
|
})
|
|
3367
3692
|
}),
|
|
3368
|
-
|
|
3693
|
+
z20.object({ type: z20.string() }).loose().transform((value) => ({
|
|
3369
3694
|
type: "unknown_chunk",
|
|
3370
3695
|
message: value.type
|
|
3371
3696
|
}))
|
|
@@ -3373,284 +3698,304 @@ var openaiResponsesChunkSchema = lazySchema17(
|
|
|
3373
3698
|
])
|
|
3374
3699
|
)
|
|
3375
3700
|
);
|
|
3376
|
-
var openaiResponsesResponseSchema =
|
|
3377
|
-
() =>
|
|
3378
|
-
|
|
3379
|
-
id:
|
|
3380
|
-
created_at:
|
|
3381
|
-
error:
|
|
3382
|
-
message:
|
|
3383
|
-
type:
|
|
3384
|
-
param:
|
|
3385
|
-
code:
|
|
3701
|
+
var openaiResponsesResponseSchema = lazySchema18(
|
|
3702
|
+
() => zodSchema18(
|
|
3703
|
+
z20.object({
|
|
3704
|
+
id: z20.string().optional(),
|
|
3705
|
+
created_at: z20.number().optional(),
|
|
3706
|
+
error: z20.object({
|
|
3707
|
+
message: z20.string(),
|
|
3708
|
+
type: z20.string(),
|
|
3709
|
+
param: z20.string().nullish(),
|
|
3710
|
+
code: z20.string()
|
|
3386
3711
|
}).nullish(),
|
|
3387
|
-
model:
|
|
3388
|
-
output:
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
type:
|
|
3392
|
-
role:
|
|
3393
|
-
id:
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3712
|
+
model: z20.string().optional(),
|
|
3713
|
+
output: z20.array(
|
|
3714
|
+
z20.discriminatedUnion("type", [
|
|
3715
|
+
z20.object({
|
|
3716
|
+
type: z20.literal("message"),
|
|
3717
|
+
role: z20.literal("assistant"),
|
|
3718
|
+
id: z20.string(),
|
|
3719
|
+
phase: z20.enum(["commentary", "final_answer"]).nullish(),
|
|
3720
|
+
content: z20.array(
|
|
3721
|
+
z20.object({
|
|
3722
|
+
type: z20.literal("output_text"),
|
|
3723
|
+
text: z20.string(),
|
|
3724
|
+
logprobs: z20.array(
|
|
3725
|
+
z20.object({
|
|
3726
|
+
token: z20.string(),
|
|
3727
|
+
logprob: z20.number(),
|
|
3728
|
+
top_logprobs: z20.array(
|
|
3729
|
+
z20.object({
|
|
3730
|
+
token: z20.string(),
|
|
3731
|
+
logprob: z20.number()
|
|
3406
3732
|
})
|
|
3407
3733
|
)
|
|
3408
3734
|
})
|
|
3409
3735
|
).nullish(),
|
|
3410
|
-
annotations:
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
type:
|
|
3414
|
-
start_index:
|
|
3415
|
-
end_index:
|
|
3416
|
-
url:
|
|
3417
|
-
title:
|
|
3736
|
+
annotations: z20.array(
|
|
3737
|
+
z20.discriminatedUnion("type", [
|
|
3738
|
+
z20.object({
|
|
3739
|
+
type: z20.literal("url_citation"),
|
|
3740
|
+
start_index: z20.number(),
|
|
3741
|
+
end_index: z20.number(),
|
|
3742
|
+
url: z20.string(),
|
|
3743
|
+
title: z20.string()
|
|
3418
3744
|
}),
|
|
3419
|
-
|
|
3420
|
-
type:
|
|
3421
|
-
file_id:
|
|
3422
|
-
filename:
|
|
3423
|
-
index:
|
|
3424
|
-
start_index: z19.number().nullish(),
|
|
3425
|
-
end_index: z19.number().nullish(),
|
|
3426
|
-
quote: z19.string().nullish()
|
|
3745
|
+
z20.object({
|
|
3746
|
+
type: z20.literal("file_citation"),
|
|
3747
|
+
file_id: z20.string(),
|
|
3748
|
+
filename: z20.string(),
|
|
3749
|
+
index: z20.number()
|
|
3427
3750
|
}),
|
|
3428
|
-
|
|
3429
|
-
type:
|
|
3430
|
-
container_id:
|
|
3431
|
-
file_id:
|
|
3432
|
-
filename:
|
|
3433
|
-
start_index:
|
|
3434
|
-
end_index:
|
|
3435
|
-
index: z19.number().nullish()
|
|
3751
|
+
z20.object({
|
|
3752
|
+
type: z20.literal("container_file_citation"),
|
|
3753
|
+
container_id: z20.string(),
|
|
3754
|
+
file_id: z20.string(),
|
|
3755
|
+
filename: z20.string(),
|
|
3756
|
+
start_index: z20.number(),
|
|
3757
|
+
end_index: z20.number()
|
|
3436
3758
|
}),
|
|
3437
|
-
|
|
3438
|
-
type:
|
|
3439
|
-
file_id:
|
|
3440
|
-
index:
|
|
3759
|
+
z20.object({
|
|
3760
|
+
type: z20.literal("file_path"),
|
|
3761
|
+
file_id: z20.string(),
|
|
3762
|
+
index: z20.number()
|
|
3441
3763
|
})
|
|
3442
3764
|
])
|
|
3443
3765
|
)
|
|
3444
3766
|
})
|
|
3445
3767
|
)
|
|
3446
3768
|
}),
|
|
3447
|
-
|
|
3448
|
-
type:
|
|
3449
|
-
id:
|
|
3450
|
-
status:
|
|
3451
|
-
action:
|
|
3452
|
-
|
|
3453
|
-
type:
|
|
3454
|
-
query:
|
|
3455
|
-
sources:
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3769
|
+
z20.object({
|
|
3770
|
+
type: z20.literal("web_search_call"),
|
|
3771
|
+
id: z20.string(),
|
|
3772
|
+
status: z20.string(),
|
|
3773
|
+
action: z20.discriminatedUnion("type", [
|
|
3774
|
+
z20.object({
|
|
3775
|
+
type: z20.literal("search"),
|
|
3776
|
+
query: z20.string().nullish(),
|
|
3777
|
+
sources: z20.array(
|
|
3778
|
+
z20.discriminatedUnion("type", [
|
|
3779
|
+
z20.object({ type: z20.literal("url"), url: z20.string() }),
|
|
3780
|
+
z20.object({
|
|
3781
|
+
type: z20.literal("api"),
|
|
3782
|
+
name: z20.string()
|
|
3783
|
+
})
|
|
3459
3784
|
])
|
|
3460
3785
|
).nullish()
|
|
3461
3786
|
}),
|
|
3462
|
-
|
|
3463
|
-
type:
|
|
3464
|
-
url:
|
|
3787
|
+
z20.object({
|
|
3788
|
+
type: z20.literal("open_page"),
|
|
3789
|
+
url: z20.string().nullish()
|
|
3465
3790
|
}),
|
|
3466
|
-
|
|
3467
|
-
type:
|
|
3468
|
-
url:
|
|
3469
|
-
pattern:
|
|
3791
|
+
z20.object({
|
|
3792
|
+
type: z20.literal("find_in_page"),
|
|
3793
|
+
url: z20.string().nullish(),
|
|
3794
|
+
pattern: z20.string().nullish()
|
|
3470
3795
|
})
|
|
3471
|
-
])
|
|
3796
|
+
]).nullish()
|
|
3472
3797
|
}),
|
|
3473
|
-
|
|
3474
|
-
type:
|
|
3475
|
-
id:
|
|
3476
|
-
queries:
|
|
3477
|
-
results:
|
|
3478
|
-
|
|
3479
|
-
attributes:
|
|
3480
|
-
|
|
3481
|
-
|
|
3798
|
+
z20.object({
|
|
3799
|
+
type: z20.literal("file_search_call"),
|
|
3800
|
+
id: z20.string(),
|
|
3801
|
+
queries: z20.array(z20.string()),
|
|
3802
|
+
results: z20.array(
|
|
3803
|
+
z20.object({
|
|
3804
|
+
attributes: z20.record(
|
|
3805
|
+
z20.string(),
|
|
3806
|
+
z20.union([z20.string(), z20.number(), z20.boolean()])
|
|
3482
3807
|
),
|
|
3483
|
-
file_id:
|
|
3484
|
-
filename:
|
|
3485
|
-
score:
|
|
3486
|
-
text:
|
|
3808
|
+
file_id: z20.string(),
|
|
3809
|
+
filename: z20.string(),
|
|
3810
|
+
score: z20.number(),
|
|
3811
|
+
text: z20.string()
|
|
3487
3812
|
})
|
|
3488
3813
|
).nullish()
|
|
3489
3814
|
}),
|
|
3490
|
-
|
|
3491
|
-
type:
|
|
3492
|
-
id:
|
|
3493
|
-
code:
|
|
3494
|
-
container_id:
|
|
3495
|
-
outputs:
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3815
|
+
z20.object({
|
|
3816
|
+
type: z20.literal("code_interpreter_call"),
|
|
3817
|
+
id: z20.string(),
|
|
3818
|
+
code: z20.string().nullable(),
|
|
3819
|
+
container_id: z20.string(),
|
|
3820
|
+
outputs: z20.array(
|
|
3821
|
+
z20.discriminatedUnion("type", [
|
|
3822
|
+
z20.object({ type: z20.literal("logs"), logs: z20.string() }),
|
|
3823
|
+
z20.object({ type: z20.literal("image"), url: z20.string() })
|
|
3499
3824
|
])
|
|
3500
3825
|
).nullable()
|
|
3501
3826
|
}),
|
|
3502
|
-
|
|
3503
|
-
type:
|
|
3504
|
-
id:
|
|
3505
|
-
result:
|
|
3827
|
+
z20.object({
|
|
3828
|
+
type: z20.literal("image_generation_call"),
|
|
3829
|
+
id: z20.string(),
|
|
3830
|
+
result: z20.string()
|
|
3506
3831
|
}),
|
|
3507
|
-
|
|
3508
|
-
type:
|
|
3509
|
-
id:
|
|
3510
|
-
call_id:
|
|
3511
|
-
action:
|
|
3512
|
-
type:
|
|
3513
|
-
command:
|
|
3514
|
-
timeout_ms:
|
|
3515
|
-
user:
|
|
3516
|
-
working_directory:
|
|
3517
|
-
env:
|
|
3832
|
+
z20.object({
|
|
3833
|
+
type: z20.literal("local_shell_call"),
|
|
3834
|
+
id: z20.string(),
|
|
3835
|
+
call_id: z20.string(),
|
|
3836
|
+
action: z20.object({
|
|
3837
|
+
type: z20.literal("exec"),
|
|
3838
|
+
command: z20.array(z20.string()),
|
|
3839
|
+
timeout_ms: z20.number().optional(),
|
|
3840
|
+
user: z20.string().optional(),
|
|
3841
|
+
working_directory: z20.string().optional(),
|
|
3842
|
+
env: z20.record(z20.string(), z20.string()).optional()
|
|
3518
3843
|
})
|
|
3519
3844
|
}),
|
|
3520
|
-
|
|
3521
|
-
type:
|
|
3522
|
-
call_id:
|
|
3523
|
-
name:
|
|
3524
|
-
arguments:
|
|
3525
|
-
id:
|
|
3845
|
+
z20.object({
|
|
3846
|
+
type: z20.literal("function_call"),
|
|
3847
|
+
call_id: z20.string(),
|
|
3848
|
+
name: z20.string(),
|
|
3849
|
+
arguments: z20.string(),
|
|
3850
|
+
id: z20.string()
|
|
3851
|
+
}),
|
|
3852
|
+
z20.object({
|
|
3853
|
+
type: z20.literal("custom_tool_call"),
|
|
3854
|
+
call_id: z20.string(),
|
|
3855
|
+
name: z20.string(),
|
|
3856
|
+
input: z20.string(),
|
|
3857
|
+
id: z20.string()
|
|
3526
3858
|
}),
|
|
3527
|
-
|
|
3528
|
-
type:
|
|
3529
|
-
id:
|
|
3530
|
-
status:
|
|
3859
|
+
z20.object({
|
|
3860
|
+
type: z20.literal("computer_call"),
|
|
3861
|
+
id: z20.string(),
|
|
3862
|
+
status: z20.string().optional()
|
|
3531
3863
|
}),
|
|
3532
|
-
|
|
3533
|
-
type:
|
|
3534
|
-
id:
|
|
3535
|
-
encrypted_content:
|
|
3536
|
-
summary:
|
|
3537
|
-
|
|
3538
|
-
type:
|
|
3539
|
-
text:
|
|
3864
|
+
z20.object({
|
|
3865
|
+
type: z20.literal("reasoning"),
|
|
3866
|
+
id: z20.string(),
|
|
3867
|
+
encrypted_content: z20.string().nullish(),
|
|
3868
|
+
summary: z20.array(
|
|
3869
|
+
z20.object({
|
|
3870
|
+
type: z20.literal("summary_text"),
|
|
3871
|
+
text: z20.string()
|
|
3540
3872
|
})
|
|
3541
3873
|
)
|
|
3542
3874
|
}),
|
|
3543
|
-
|
|
3544
|
-
type:
|
|
3545
|
-
id:
|
|
3546
|
-
status:
|
|
3547
|
-
arguments:
|
|
3548
|
-
name:
|
|
3549
|
-
server_label:
|
|
3550
|
-
output:
|
|
3551
|
-
error:
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
type:
|
|
3555
|
-
code:
|
|
3556
|
-
message:
|
|
3875
|
+
z20.object({
|
|
3876
|
+
type: z20.literal("mcp_call"),
|
|
3877
|
+
id: z20.string(),
|
|
3878
|
+
status: z20.string(),
|
|
3879
|
+
arguments: z20.string(),
|
|
3880
|
+
name: z20.string(),
|
|
3881
|
+
server_label: z20.string(),
|
|
3882
|
+
output: z20.string().nullish(),
|
|
3883
|
+
error: z20.union([
|
|
3884
|
+
z20.string(),
|
|
3885
|
+
z20.object({
|
|
3886
|
+
type: z20.string().optional(),
|
|
3887
|
+
code: z20.union([z20.number(), z20.string()]).optional(),
|
|
3888
|
+
message: z20.string().optional()
|
|
3557
3889
|
}).loose()
|
|
3558
3890
|
]).nullish(),
|
|
3559
|
-
approval_request_id:
|
|
3891
|
+
approval_request_id: z20.string().nullish()
|
|
3560
3892
|
}),
|
|
3561
|
-
|
|
3562
|
-
type:
|
|
3563
|
-
id:
|
|
3564
|
-
server_label:
|
|
3565
|
-
tools:
|
|
3566
|
-
|
|
3567
|
-
name:
|
|
3568
|
-
description:
|
|
3569
|
-
input_schema:
|
|
3570
|
-
annotations:
|
|
3893
|
+
z20.object({
|
|
3894
|
+
type: z20.literal("mcp_list_tools"),
|
|
3895
|
+
id: z20.string(),
|
|
3896
|
+
server_label: z20.string(),
|
|
3897
|
+
tools: z20.array(
|
|
3898
|
+
z20.object({
|
|
3899
|
+
name: z20.string(),
|
|
3900
|
+
description: z20.string().optional(),
|
|
3901
|
+
input_schema: z20.any(),
|
|
3902
|
+
annotations: z20.record(z20.string(), z20.unknown()).optional()
|
|
3571
3903
|
})
|
|
3572
3904
|
),
|
|
3573
|
-
error:
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
type:
|
|
3577
|
-
code:
|
|
3578
|
-
message:
|
|
3905
|
+
error: z20.union([
|
|
3906
|
+
z20.string(),
|
|
3907
|
+
z20.object({
|
|
3908
|
+
type: z20.string().optional(),
|
|
3909
|
+
code: z20.union([z20.number(), z20.string()]).optional(),
|
|
3910
|
+
message: z20.string().optional()
|
|
3579
3911
|
}).loose()
|
|
3580
3912
|
]).optional()
|
|
3581
3913
|
}),
|
|
3582
|
-
|
|
3583
|
-
type:
|
|
3584
|
-
id:
|
|
3585
|
-
server_label:
|
|
3586
|
-
name:
|
|
3587
|
-
arguments:
|
|
3588
|
-
approval_request_id:
|
|
3914
|
+
z20.object({
|
|
3915
|
+
type: z20.literal("mcp_approval_request"),
|
|
3916
|
+
id: z20.string(),
|
|
3917
|
+
server_label: z20.string(),
|
|
3918
|
+
name: z20.string(),
|
|
3919
|
+
arguments: z20.string(),
|
|
3920
|
+
approval_request_id: z20.string().optional()
|
|
3589
3921
|
}),
|
|
3590
|
-
|
|
3591
|
-
type:
|
|
3592
|
-
id:
|
|
3593
|
-
call_id:
|
|
3594
|
-
status:
|
|
3595
|
-
operation:
|
|
3596
|
-
|
|
3597
|
-
type:
|
|
3598
|
-
path:
|
|
3599
|
-
diff:
|
|
3922
|
+
z20.object({
|
|
3923
|
+
type: z20.literal("apply_patch_call"),
|
|
3924
|
+
id: z20.string(),
|
|
3925
|
+
call_id: z20.string(),
|
|
3926
|
+
status: z20.enum(["in_progress", "completed"]),
|
|
3927
|
+
operation: z20.discriminatedUnion("type", [
|
|
3928
|
+
z20.object({
|
|
3929
|
+
type: z20.literal("create_file"),
|
|
3930
|
+
path: z20.string(),
|
|
3931
|
+
diff: z20.string()
|
|
3600
3932
|
}),
|
|
3601
|
-
|
|
3602
|
-
type:
|
|
3603
|
-
path:
|
|
3933
|
+
z20.object({
|
|
3934
|
+
type: z20.literal("delete_file"),
|
|
3935
|
+
path: z20.string()
|
|
3604
3936
|
}),
|
|
3605
|
-
|
|
3606
|
-
type:
|
|
3607
|
-
path:
|
|
3608
|
-
diff:
|
|
3937
|
+
z20.object({
|
|
3938
|
+
type: z20.literal("update_file"),
|
|
3939
|
+
path: z20.string(),
|
|
3940
|
+
diff: z20.string()
|
|
3609
3941
|
})
|
|
3610
3942
|
])
|
|
3611
3943
|
}),
|
|
3612
|
-
|
|
3613
|
-
type:
|
|
3614
|
-
id:
|
|
3615
|
-
call_id:
|
|
3616
|
-
status:
|
|
3617
|
-
action:
|
|
3618
|
-
commands:
|
|
3944
|
+
z20.object({
|
|
3945
|
+
type: z20.literal("shell_call"),
|
|
3946
|
+
id: z20.string(),
|
|
3947
|
+
call_id: z20.string(),
|
|
3948
|
+
status: z20.enum(["in_progress", "completed", "incomplete"]),
|
|
3949
|
+
action: z20.object({
|
|
3950
|
+
commands: z20.array(z20.string())
|
|
3619
3951
|
})
|
|
3952
|
+
}),
|
|
3953
|
+
z20.object({
|
|
3954
|
+
type: z20.literal("shell_call_output"),
|
|
3955
|
+
id: z20.string(),
|
|
3956
|
+
call_id: z20.string(),
|
|
3957
|
+
status: z20.enum(["in_progress", "completed", "incomplete"]),
|
|
3958
|
+
output: z20.array(
|
|
3959
|
+
z20.object({
|
|
3960
|
+
stdout: z20.string(),
|
|
3961
|
+
stderr: z20.string(),
|
|
3962
|
+
outcome: z20.discriminatedUnion("type", [
|
|
3963
|
+
z20.object({ type: z20.literal("timeout") }),
|
|
3964
|
+
z20.object({
|
|
3965
|
+
type: z20.literal("exit"),
|
|
3966
|
+
exit_code: z20.number()
|
|
3967
|
+
})
|
|
3968
|
+
])
|
|
3969
|
+
})
|
|
3970
|
+
)
|
|
3620
3971
|
})
|
|
3621
3972
|
])
|
|
3622
3973
|
).optional(),
|
|
3623
|
-
service_tier:
|
|
3624
|
-
incomplete_details:
|
|
3625
|
-
usage:
|
|
3626
|
-
input_tokens:
|
|
3627
|
-
input_tokens_details:
|
|
3628
|
-
output_tokens:
|
|
3629
|
-
output_tokens_details:
|
|
3974
|
+
service_tier: z20.string().nullish(),
|
|
3975
|
+
incomplete_details: z20.object({ reason: z20.string() }).nullish(),
|
|
3976
|
+
usage: z20.object({
|
|
3977
|
+
input_tokens: z20.number(),
|
|
3978
|
+
input_tokens_details: z20.object({ cached_tokens: z20.number().nullish() }).nullish(),
|
|
3979
|
+
output_tokens: z20.number(),
|
|
3980
|
+
output_tokens_details: z20.object({ reasoning_tokens: z20.number().nullish() }).nullish()
|
|
3630
3981
|
}).optional()
|
|
3631
3982
|
})
|
|
3632
3983
|
)
|
|
3633
3984
|
);
|
|
3634
3985
|
|
|
3635
3986
|
// src/responses/openai-responses-options.ts
|
|
3636
|
-
import { lazySchema as
|
|
3637
|
-
import { z as
|
|
3987
|
+
import { lazySchema as lazySchema19, zodSchema as zodSchema19 } from "@ai-sdk/provider-utils";
|
|
3988
|
+
import { z as z21 } from "zod/v4";
|
|
3638
3989
|
var TOP_LOGPROBS_MAX = 20;
|
|
3639
3990
|
var openaiResponsesReasoningModelIds = [
|
|
3640
3991
|
"o1",
|
|
3641
3992
|
"o1-2024-12-17",
|
|
3642
3993
|
"o3",
|
|
3643
3994
|
"o3-2025-04-16",
|
|
3644
|
-
"o3-deep-research",
|
|
3645
|
-
"o3-deep-research-2025-06-26",
|
|
3646
3995
|
"o3-mini",
|
|
3647
3996
|
"o3-mini-2025-01-31",
|
|
3648
3997
|
"o4-mini",
|
|
3649
3998
|
"o4-mini-2025-04-16",
|
|
3650
|
-
"o4-mini-deep-research",
|
|
3651
|
-
"o4-mini-deep-research-2025-06-26",
|
|
3652
|
-
"codex-mini-latest",
|
|
3653
|
-
"computer-use-preview",
|
|
3654
3999
|
"gpt-5",
|
|
3655
4000
|
"gpt-5-2025-08-07",
|
|
3656
4001
|
"gpt-5-codex",
|
|
@@ -3667,7 +4012,9 @@ var openaiResponsesReasoningModelIds = [
|
|
|
3667
4012
|
"gpt-5.1-codex-max",
|
|
3668
4013
|
"gpt-5.2",
|
|
3669
4014
|
"gpt-5.2-chat-latest",
|
|
3670
|
-
"gpt-5.2-pro"
|
|
4015
|
+
"gpt-5.2-pro",
|
|
4016
|
+
"gpt-5.2-codex",
|
|
4017
|
+
"gpt-5.3-codex"
|
|
3671
4018
|
];
|
|
3672
4019
|
var openaiResponsesModelIds = [
|
|
3673
4020
|
"gpt-4.1",
|
|
@@ -3681,7 +4028,6 @@ var openaiResponsesModelIds = [
|
|
|
3681
4028
|
"gpt-4o-2024-08-06",
|
|
3682
4029
|
"gpt-4o-2024-11-20",
|
|
3683
4030
|
"gpt-4o-audio-preview",
|
|
3684
|
-
"gpt-4o-audio-preview-2024-10-01",
|
|
3685
4031
|
"gpt-4o-audio-preview-2024-12-17",
|
|
3686
4032
|
"gpt-4o-search-preview",
|
|
3687
4033
|
"gpt-4o-search-preview-2025-03-11",
|
|
@@ -3689,25 +4035,15 @@ var openaiResponsesModelIds = [
|
|
|
3689
4035
|
"gpt-4o-mini-search-preview-2025-03-11",
|
|
3690
4036
|
"gpt-4o-mini",
|
|
3691
4037
|
"gpt-4o-mini-2024-07-18",
|
|
3692
|
-
"gpt-4-turbo",
|
|
3693
|
-
"gpt-4-turbo-2024-04-09",
|
|
3694
|
-
"gpt-4-turbo-preview",
|
|
3695
|
-
"gpt-4-0125-preview",
|
|
3696
|
-
"gpt-4-1106-preview",
|
|
3697
|
-
"gpt-4",
|
|
3698
|
-
"gpt-4-0613",
|
|
3699
|
-
"gpt-4.5-preview",
|
|
3700
|
-
"gpt-4.5-preview-2025-02-27",
|
|
3701
4038
|
"gpt-3.5-turbo-0125",
|
|
3702
4039
|
"gpt-3.5-turbo",
|
|
3703
4040
|
"gpt-3.5-turbo-1106",
|
|
3704
|
-
"chatgpt-4o-latest",
|
|
3705
4041
|
"gpt-5-chat-latest",
|
|
3706
4042
|
...openaiResponsesReasoningModelIds
|
|
3707
4043
|
];
|
|
3708
|
-
var
|
|
3709
|
-
() =>
|
|
3710
|
-
|
|
4044
|
+
var openaiLanguageModelResponsesOptionsSchema = lazySchema19(
|
|
4045
|
+
() => zodSchema19(
|
|
4046
|
+
z21.object({
|
|
3711
4047
|
/**
|
|
3712
4048
|
* The ID of the OpenAI Conversation to continue.
|
|
3713
4049
|
* You must create a conversation first via the OpenAI API.
|
|
@@ -3715,13 +4051,13 @@ var openaiResponsesProviderOptionsSchema = lazySchema18(
|
|
|
3715
4051
|
* Defaults to `undefined`.
|
|
3716
4052
|
* @see https://platform.openai.com/docs/api-reference/conversations/create
|
|
3717
4053
|
*/
|
|
3718
|
-
conversation:
|
|
4054
|
+
conversation: z21.string().nullish(),
|
|
3719
4055
|
/**
|
|
3720
4056
|
* The set of extra fields to include in the response (advanced, usually not needed).
|
|
3721
4057
|
* Example values: 'reasoning.encrypted_content', 'file_search_call.results', 'message.output_text.logprobs'.
|
|
3722
4058
|
*/
|
|
3723
|
-
include:
|
|
3724
|
-
|
|
4059
|
+
include: z21.array(
|
|
4060
|
+
z21.enum([
|
|
3725
4061
|
"reasoning.encrypted_content",
|
|
3726
4062
|
// handled internally by default, only needed for unknown reasoning models
|
|
3727
4063
|
"file_search_call.results",
|
|
@@ -3733,7 +4069,7 @@ var openaiResponsesProviderOptionsSchema = lazySchema18(
|
|
|
3733
4069
|
* They can be used to change the system or developer message when continuing a conversation using the `previousResponseId` option.
|
|
3734
4070
|
* Defaults to `undefined`.
|
|
3735
4071
|
*/
|
|
3736
|
-
instructions:
|
|
4072
|
+
instructions: z21.string().nullish(),
|
|
3737
4073
|
/**
|
|
3738
4074
|
* Return the log probabilities of the tokens. Including logprobs will increase
|
|
3739
4075
|
* the response size and can slow down response times. However, it can
|
|
@@ -3748,30 +4084,30 @@ var openaiResponsesProviderOptionsSchema = lazySchema18(
|
|
|
3748
4084
|
* @see https://platform.openai.com/docs/api-reference/responses/create
|
|
3749
4085
|
* @see https://cookbook.openai.com/examples/using_logprobs
|
|
3750
4086
|
*/
|
|
3751
|
-
logprobs:
|
|
4087
|
+
logprobs: z21.union([z21.boolean(), z21.number().min(1).max(TOP_LOGPROBS_MAX)]).optional(),
|
|
3752
4088
|
/**
|
|
3753
4089
|
* The maximum number of total calls to built-in tools that can be processed in a response.
|
|
3754
4090
|
* This maximum number applies across all built-in tool calls, not per individual tool.
|
|
3755
4091
|
* Any further attempts to call a tool by the model will be ignored.
|
|
3756
4092
|
*/
|
|
3757
|
-
maxToolCalls:
|
|
4093
|
+
maxToolCalls: z21.number().nullish(),
|
|
3758
4094
|
/**
|
|
3759
4095
|
* Additional metadata to store with the generation.
|
|
3760
4096
|
*/
|
|
3761
|
-
metadata:
|
|
4097
|
+
metadata: z21.any().nullish(),
|
|
3762
4098
|
/**
|
|
3763
4099
|
* Whether to use parallel tool calls. Defaults to `true`.
|
|
3764
4100
|
*/
|
|
3765
|
-
parallelToolCalls:
|
|
4101
|
+
parallelToolCalls: z21.boolean().nullish(),
|
|
3766
4102
|
/**
|
|
3767
4103
|
* The ID of the previous response. You can use it to continue a conversation.
|
|
3768
4104
|
* Defaults to `undefined`.
|
|
3769
4105
|
*/
|
|
3770
|
-
previousResponseId:
|
|
4106
|
+
previousResponseId: z21.string().nullish(),
|
|
3771
4107
|
/**
|
|
3772
4108
|
* Sets a cache key to tie this prompt to cached prefixes for better caching performance.
|
|
3773
4109
|
*/
|
|
3774
|
-
promptCacheKey:
|
|
4110
|
+
promptCacheKey: z21.string().nullish(),
|
|
3775
4111
|
/**
|
|
3776
4112
|
* The retention policy for the prompt cache.
|
|
3777
4113
|
* - 'in_memory': Default. Standard prompt caching behavior.
|
|
@@ -3780,7 +4116,7 @@ var openaiResponsesProviderOptionsSchema = lazySchema18(
|
|
|
3780
4116
|
*
|
|
3781
4117
|
* @default 'in_memory'
|
|
3782
4118
|
*/
|
|
3783
|
-
promptCacheRetention:
|
|
4119
|
+
promptCacheRetention: z21.enum(["in_memory", "24h"]).nullish(),
|
|
3784
4120
|
/**
|
|
3785
4121
|
* Reasoning effort for reasoning models. Defaults to `medium`. If you use
|
|
3786
4122
|
* `providerOptions` to set the `reasoningEffort` option, this model setting will be ignored.
|
|
@@ -3791,17 +4127,17 @@ var openaiResponsesProviderOptionsSchema = lazySchema18(
|
|
|
3791
4127
|
* OpenAI's GPT-5.1-Codex-Max model. Setting `reasoningEffort` to 'none' or 'xhigh' with unsupported models will result in
|
|
3792
4128
|
* an error.
|
|
3793
4129
|
*/
|
|
3794
|
-
reasoningEffort:
|
|
4130
|
+
reasoningEffort: z21.string().nullish(),
|
|
3795
4131
|
/**
|
|
3796
4132
|
* Controls reasoning summary output from the model.
|
|
3797
4133
|
* Set to "auto" to automatically receive the richest level available,
|
|
3798
4134
|
* or "detailed" for comprehensive summaries.
|
|
3799
4135
|
*/
|
|
3800
|
-
reasoningSummary:
|
|
4136
|
+
reasoningSummary: z21.string().nullish(),
|
|
3801
4137
|
/**
|
|
3802
4138
|
* The identifier for safety monitoring and tracking.
|
|
3803
4139
|
*/
|
|
3804
|
-
safetyIdentifier:
|
|
4140
|
+
safetyIdentifier: z21.string().nullish(),
|
|
3805
4141
|
/**
|
|
3806
4142
|
* Service tier for the request.
|
|
3807
4143
|
* Set to 'flex' for 50% cheaper processing at the cost of increased latency (available for o3, o4-mini, and gpt-5 models).
|
|
@@ -3809,34 +4145,34 @@ var openaiResponsesProviderOptionsSchema = lazySchema18(
|
|
|
3809
4145
|
*
|
|
3810
4146
|
* Defaults to 'auto'.
|
|
3811
4147
|
*/
|
|
3812
|
-
serviceTier:
|
|
4148
|
+
serviceTier: z21.enum(["auto", "flex", "priority", "default"]).nullish(),
|
|
3813
4149
|
/**
|
|
3814
4150
|
* Whether to store the generation. Defaults to `true`.
|
|
3815
4151
|
*/
|
|
3816
|
-
store:
|
|
4152
|
+
store: z21.boolean().nullish(),
|
|
3817
4153
|
/**
|
|
3818
4154
|
* Whether to use strict JSON schema validation.
|
|
3819
4155
|
* Defaults to `true`.
|
|
3820
4156
|
*/
|
|
3821
|
-
strictJsonSchema:
|
|
4157
|
+
strictJsonSchema: z21.boolean().nullish(),
|
|
3822
4158
|
/**
|
|
3823
4159
|
* Controls the verbosity of the model's responses. Lower values ('low') will result
|
|
3824
4160
|
* in more concise responses, while higher values ('high') will result in more verbose responses.
|
|
3825
4161
|
* Valid values: 'low', 'medium', 'high'.
|
|
3826
4162
|
*/
|
|
3827
|
-
textVerbosity:
|
|
4163
|
+
textVerbosity: z21.enum(["low", "medium", "high"]).nullish(),
|
|
3828
4164
|
/**
|
|
3829
4165
|
* Controls output truncation. 'auto' (default) performs truncation automatically;
|
|
3830
4166
|
* 'disabled' turns truncation off.
|
|
3831
4167
|
*/
|
|
3832
|
-
truncation:
|
|
4168
|
+
truncation: z21.enum(["auto", "disabled"]).nullish(),
|
|
3833
4169
|
/**
|
|
3834
4170
|
* A unique identifier representing your end-user, which can help OpenAI to
|
|
3835
4171
|
* monitor and detect abuse.
|
|
3836
4172
|
* Defaults to `undefined`.
|
|
3837
4173
|
* @see https://platform.openai.com/docs/guides/safety-best-practices/end-user-ids
|
|
3838
4174
|
*/
|
|
3839
|
-
user:
|
|
4175
|
+
user: z21.string().nullish(),
|
|
3840
4176
|
/**
|
|
3841
4177
|
* Override the system message mode for this model.
|
|
3842
4178
|
* - 'system': Use the 'system' role for system messages (default for most models)
|
|
@@ -3845,7 +4181,7 @@ var openaiResponsesProviderOptionsSchema = lazySchema18(
|
|
|
3845
4181
|
*
|
|
3846
4182
|
* If not specified, the mode is automatically determined based on the model.
|
|
3847
4183
|
*/
|
|
3848
|
-
systemMessageMode:
|
|
4184
|
+
systemMessageMode: z21.enum(["system", "developer", "remove"]).optional(),
|
|
3849
4185
|
/**
|
|
3850
4186
|
* Force treating this model as a reasoning model.
|
|
3851
4187
|
*
|
|
@@ -3855,7 +4191,7 @@ var openaiResponsesProviderOptionsSchema = lazySchema18(
|
|
|
3855
4191
|
* When enabled, the SDK applies reasoning-model parameter compatibility rules
|
|
3856
4192
|
* and defaults `systemMessageMode` to `developer` unless overridden.
|
|
3857
4193
|
*/
|
|
3858
|
-
forceReasoning:
|
|
4194
|
+
forceReasoning: z21.boolean().optional()
|
|
3859
4195
|
})
|
|
3860
4196
|
)
|
|
3861
4197
|
);
|
|
@@ -3867,14 +4203,18 @@ import {
|
|
|
3867
4203
|
import { validateTypes as validateTypes2 } from "@ai-sdk/provider-utils";
|
|
3868
4204
|
async function prepareResponsesTools({
|
|
3869
4205
|
tools,
|
|
3870
|
-
toolChoice
|
|
4206
|
+
toolChoice,
|
|
4207
|
+
toolNameMapping,
|
|
4208
|
+
customProviderToolNames
|
|
3871
4209
|
}) {
|
|
4210
|
+
var _a;
|
|
3872
4211
|
tools = (tools == null ? void 0 : tools.length) ? tools : void 0;
|
|
3873
4212
|
const toolWarnings = [];
|
|
3874
4213
|
if (tools == null) {
|
|
3875
4214
|
return { tools: void 0, toolChoice: void 0, toolWarnings };
|
|
3876
4215
|
}
|
|
3877
4216
|
const openaiTools2 = [];
|
|
4217
|
+
const resolvedCustomProviderToolNames = customProviderToolNames != null ? customProviderToolNames : /* @__PURE__ */ new Set();
|
|
3878
4218
|
for (const tool of tools) {
|
|
3879
4219
|
switch (tool.type) {
|
|
3880
4220
|
case "function":
|
|
@@ -3912,8 +4252,15 @@ async function prepareResponsesTools({
|
|
|
3912
4252
|
break;
|
|
3913
4253
|
}
|
|
3914
4254
|
case "openai.shell": {
|
|
4255
|
+
const args = await validateTypes2({
|
|
4256
|
+
value: tool.args,
|
|
4257
|
+
schema: shellArgsSchema
|
|
4258
|
+
});
|
|
3915
4259
|
openaiTools2.push({
|
|
3916
|
-
type: "shell"
|
|
4260
|
+
type: "shell",
|
|
4261
|
+
...args.environment && {
|
|
4262
|
+
environment: mapShellEnvironment(args.environment)
|
|
4263
|
+
}
|
|
3917
4264
|
});
|
|
3918
4265
|
break;
|
|
3919
4266
|
}
|
|
@@ -4009,6 +4356,20 @@ async function prepareResponsesTools({
|
|
|
4009
4356
|
});
|
|
4010
4357
|
break;
|
|
4011
4358
|
}
|
|
4359
|
+
case "openai.custom": {
|
|
4360
|
+
const args = await validateTypes2({
|
|
4361
|
+
value: tool.args,
|
|
4362
|
+
schema: customArgsSchema
|
|
4363
|
+
});
|
|
4364
|
+
openaiTools2.push({
|
|
4365
|
+
type: "custom",
|
|
4366
|
+
name: args.name,
|
|
4367
|
+
description: args.description,
|
|
4368
|
+
format: args.format
|
|
4369
|
+
});
|
|
4370
|
+
resolvedCustomProviderToolNames.add(args.name);
|
|
4371
|
+
break;
|
|
4372
|
+
}
|
|
4012
4373
|
}
|
|
4013
4374
|
break;
|
|
4014
4375
|
}
|
|
@@ -4029,12 +4390,14 @@ async function prepareResponsesTools({
|
|
|
4029
4390
|
case "none":
|
|
4030
4391
|
case "required":
|
|
4031
4392
|
return { tools: openaiTools2, toolChoice: type, toolWarnings };
|
|
4032
|
-
case "tool":
|
|
4393
|
+
case "tool": {
|
|
4394
|
+
const resolvedToolName = (_a = toolNameMapping == null ? void 0 : toolNameMapping.toProviderToolName(toolChoice.toolName)) != null ? _a : toolChoice.toolName;
|
|
4033
4395
|
return {
|
|
4034
4396
|
tools: openaiTools2,
|
|
4035
|
-
toolChoice:
|
|
4397
|
+
toolChoice: resolvedToolName === "code_interpreter" || resolvedToolName === "file_search" || resolvedToolName === "image_generation" || resolvedToolName === "web_search_preview" || resolvedToolName === "web_search" || resolvedToolName === "mcp" || resolvedToolName === "apply_patch" ? { type: resolvedToolName } : resolvedCustomProviderToolNames.has(resolvedToolName) ? { type: "custom", name: resolvedToolName } : { type: "function", name: resolvedToolName },
|
|
4036
4398
|
toolWarnings
|
|
4037
4399
|
};
|
|
4400
|
+
}
|
|
4038
4401
|
default: {
|
|
4039
4402
|
const _exhaustiveCheck = type;
|
|
4040
4403
|
throw new UnsupportedFunctionalityError5({
|
|
@@ -4043,6 +4406,52 @@ async function prepareResponsesTools({
|
|
|
4043
4406
|
}
|
|
4044
4407
|
}
|
|
4045
4408
|
}
|
|
4409
|
+
function mapShellEnvironment(environment) {
|
|
4410
|
+
if (environment.type === "containerReference") {
|
|
4411
|
+
const env2 = environment;
|
|
4412
|
+
return {
|
|
4413
|
+
type: "container_reference",
|
|
4414
|
+
container_id: env2.containerId
|
|
4415
|
+
};
|
|
4416
|
+
}
|
|
4417
|
+
if (environment.type === "containerAuto") {
|
|
4418
|
+
const env2 = environment;
|
|
4419
|
+
return {
|
|
4420
|
+
type: "container_auto",
|
|
4421
|
+
file_ids: env2.fileIds,
|
|
4422
|
+
memory_limit: env2.memoryLimit,
|
|
4423
|
+
network_policy: env2.networkPolicy == null ? void 0 : env2.networkPolicy.type === "disabled" ? { type: "disabled" } : {
|
|
4424
|
+
type: "allowlist",
|
|
4425
|
+
allowed_domains: env2.networkPolicy.allowedDomains,
|
|
4426
|
+
domain_secrets: env2.networkPolicy.domainSecrets
|
|
4427
|
+
},
|
|
4428
|
+
skills: mapShellSkills(env2.skills)
|
|
4429
|
+
};
|
|
4430
|
+
}
|
|
4431
|
+
const env = environment;
|
|
4432
|
+
return {
|
|
4433
|
+
type: "local",
|
|
4434
|
+
skills: env.skills
|
|
4435
|
+
};
|
|
4436
|
+
}
|
|
4437
|
+
function mapShellSkills(skills) {
|
|
4438
|
+
return skills == null ? void 0 : skills.map(
|
|
4439
|
+
(skill) => skill.type === "skillReference" ? {
|
|
4440
|
+
type: "skill_reference",
|
|
4441
|
+
skill_id: skill.skillId,
|
|
4442
|
+
version: skill.version
|
|
4443
|
+
} : {
|
|
4444
|
+
type: "inline",
|
|
4445
|
+
name: skill.name,
|
|
4446
|
+
description: skill.description,
|
|
4447
|
+
source: {
|
|
4448
|
+
type: "base64",
|
|
4449
|
+
media_type: skill.source.mediaType,
|
|
4450
|
+
data: skill.source.data
|
|
4451
|
+
}
|
|
4452
|
+
}
|
|
4453
|
+
);
|
|
4454
|
+
}
|
|
4046
4455
|
|
|
4047
4456
|
// src/responses/openai-responses-language-model.ts
|
|
4048
4457
|
function extractApprovalRequestIdToToolCallIdMapping(prompt) {
|
|
@@ -4088,7 +4497,7 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
4088
4497
|
toolChoice,
|
|
4089
4498
|
responseFormat
|
|
4090
4499
|
}) {
|
|
4091
|
-
var _a, _b, _c, _d, _e, _f;
|
|
4500
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
4092
4501
|
const warnings = [];
|
|
4093
4502
|
const modelCapabilities = getOpenAILanguageModelCapabilities(this.modelId);
|
|
4094
4503
|
if (topK != null) {
|
|
@@ -4110,13 +4519,13 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
4110
4519
|
let openaiOptions = await parseProviderOptions5({
|
|
4111
4520
|
provider: providerOptionsName,
|
|
4112
4521
|
providerOptions,
|
|
4113
|
-
schema:
|
|
4522
|
+
schema: openaiLanguageModelResponsesOptionsSchema
|
|
4114
4523
|
});
|
|
4115
4524
|
if (openaiOptions == null && providerOptionsName !== "openai") {
|
|
4116
4525
|
openaiOptions = await parseProviderOptions5({
|
|
4117
4526
|
provider: "openai",
|
|
4118
4527
|
providerOptions,
|
|
4119
|
-
schema:
|
|
4528
|
+
schema: openaiLanguageModelResponsesOptionsSchema
|
|
4120
4529
|
});
|
|
4121
4530
|
}
|
|
4122
4531
|
const isReasoningModel = (_a = openaiOptions == null ? void 0 : openaiOptions.forceReasoning) != null ? _a : modelCapabilities.isReasoningModel;
|
|
@@ -4139,7 +4548,19 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
4139
4548
|
"openai.web_search_preview": "web_search_preview",
|
|
4140
4549
|
"openai.mcp": "mcp",
|
|
4141
4550
|
"openai.apply_patch": "apply_patch"
|
|
4142
|
-
}
|
|
4551
|
+
},
|
|
4552
|
+
resolveProviderToolName: (tool) => tool.id === "openai.custom" ? tool.args.name : void 0
|
|
4553
|
+
});
|
|
4554
|
+
const customProviderToolNames = /* @__PURE__ */ new Set();
|
|
4555
|
+
const {
|
|
4556
|
+
tools: openaiTools2,
|
|
4557
|
+
toolChoice: openaiToolChoice,
|
|
4558
|
+
toolWarnings
|
|
4559
|
+
} = await prepareResponsesTools({
|
|
4560
|
+
tools,
|
|
4561
|
+
toolChoice,
|
|
4562
|
+
toolNameMapping,
|
|
4563
|
+
customProviderToolNames
|
|
4143
4564
|
});
|
|
4144
4565
|
const { input, warnings: inputWarnings } = await convertToOpenAIResponsesInput({
|
|
4145
4566
|
prompt,
|
|
@@ -4148,9 +4569,11 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
4148
4569
|
providerOptionsName,
|
|
4149
4570
|
fileIdPrefixes: this.config.fileIdPrefixes,
|
|
4150
4571
|
store: (_c = openaiOptions == null ? void 0 : openaiOptions.store) != null ? _c : true,
|
|
4572
|
+
hasConversation: (openaiOptions == null ? void 0 : openaiOptions.conversation) != null,
|
|
4151
4573
|
hasLocalShellTool: hasOpenAITool("openai.local_shell"),
|
|
4152
4574
|
hasShellTool: hasOpenAITool("openai.shell"),
|
|
4153
|
-
hasApplyPatchTool: hasOpenAITool("openai.apply_patch")
|
|
4575
|
+
hasApplyPatchTool: hasOpenAITool("openai.apply_patch"),
|
|
4576
|
+
customProviderToolNames: customProviderToolNames.size > 0 ? customProviderToolNames : void 0
|
|
4154
4577
|
});
|
|
4155
4578
|
warnings.push(...inputWarnings);
|
|
4156
4579
|
const strictJsonSchema = (_d = openaiOptions == null ? void 0 : openaiOptions.strictJsonSchema) != null ? _d : true;
|
|
@@ -4283,14 +4706,10 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
4283
4706
|
});
|
|
4284
4707
|
delete baseArgs.service_tier;
|
|
4285
4708
|
}
|
|
4286
|
-
const
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
} = await prepareResponsesTools({
|
|
4291
|
-
tools,
|
|
4292
|
-
toolChoice
|
|
4293
|
-
});
|
|
4709
|
+
const shellToolEnvType = (_i = (_h = (_g = tools == null ? void 0 : tools.find(
|
|
4710
|
+
(tool) => tool.type === "provider" && tool.id === "openai.shell"
|
|
4711
|
+
)) == null ? void 0 : _g.args) == null ? void 0 : _h.environment) == null ? void 0 : _i.type;
|
|
4712
|
+
const isShellProviderExecuted = shellToolEnvType === "containerAuto" || shellToolEnvType === "containerReference";
|
|
4294
4713
|
return {
|
|
4295
4714
|
webSearchToolName,
|
|
4296
4715
|
args: {
|
|
@@ -4301,17 +4720,19 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
4301
4720
|
warnings: [...warnings, ...toolWarnings],
|
|
4302
4721
|
store,
|
|
4303
4722
|
toolNameMapping,
|
|
4304
|
-
providerOptionsName
|
|
4723
|
+
providerOptionsName,
|
|
4724
|
+
isShellProviderExecuted
|
|
4305
4725
|
};
|
|
4306
4726
|
}
|
|
4307
4727
|
async doGenerate(options) {
|
|
4308
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y
|
|
4728
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y;
|
|
4309
4729
|
const {
|
|
4310
4730
|
args: body,
|
|
4311
4731
|
warnings,
|
|
4312
4732
|
webSearchToolName,
|
|
4313
4733
|
toolNameMapping,
|
|
4314
|
-
providerOptionsName
|
|
4734
|
+
providerOptionsName,
|
|
4735
|
+
isShellProviderExecuted
|
|
4315
4736
|
} = await this.getArgs(options);
|
|
4316
4737
|
const url = this.config.url({
|
|
4317
4738
|
path: "/responses",
|
|
@@ -4411,6 +4832,7 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
4411
4832
|
commands: part.action.commands
|
|
4412
4833
|
}
|
|
4413
4834
|
}),
|
|
4835
|
+
...isShellProviderExecuted && { providerExecuted: true },
|
|
4414
4836
|
providerMetadata: {
|
|
4415
4837
|
[providerOptionsName]: {
|
|
4416
4838
|
itemId: part.id
|
|
@@ -4419,6 +4841,24 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
4419
4841
|
});
|
|
4420
4842
|
break;
|
|
4421
4843
|
}
|
|
4844
|
+
case "shell_call_output": {
|
|
4845
|
+
content.push({
|
|
4846
|
+
type: "tool-result",
|
|
4847
|
+
toolCallId: part.call_id,
|
|
4848
|
+
toolName: toolNameMapping.toCustomToolName("shell"),
|
|
4849
|
+
result: {
|
|
4850
|
+
output: part.output.map((item) => ({
|
|
4851
|
+
stdout: item.stdout,
|
|
4852
|
+
stderr: item.stderr,
|
|
4853
|
+
outcome: item.outcome.type === "exit" ? {
|
|
4854
|
+
type: "exit",
|
|
4855
|
+
exitCode: item.outcome.exit_code
|
|
4856
|
+
} : { type: "timeout" }
|
|
4857
|
+
}))
|
|
4858
|
+
}
|
|
4859
|
+
});
|
|
4860
|
+
break;
|
|
4861
|
+
}
|
|
4422
4862
|
case "message": {
|
|
4423
4863
|
for (const contentPart of part.content) {
|
|
4424
4864
|
if (((_c = (_b = options.providerOptions) == null ? void 0 : _b[providerOptionsName]) == null ? void 0 : _c.logprobs) && contentPart.logprobs) {
|
|
@@ -4426,6 +4866,7 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
4426
4866
|
}
|
|
4427
4867
|
const providerMetadata2 = {
|
|
4428
4868
|
itemId: part.id,
|
|
4869
|
+
...part.phase != null && { phase: part.phase },
|
|
4429
4870
|
...contentPart.annotations.length > 0 && {
|
|
4430
4871
|
annotations: contentPart.annotations
|
|
4431
4872
|
}
|
|
@@ -4452,29 +4893,29 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
4452
4893
|
sourceType: "document",
|
|
4453
4894
|
id: (_i = (_h = (_g = this.config).generateId) == null ? void 0 : _h.call(_g)) != null ? _i : generateId2(),
|
|
4454
4895
|
mediaType: "text/plain",
|
|
4455
|
-
title:
|
|
4456
|
-
filename:
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
|
|
4896
|
+
title: annotation.filename,
|
|
4897
|
+
filename: annotation.filename,
|
|
4898
|
+
providerMetadata: {
|
|
4899
|
+
[providerOptionsName]: {
|
|
4900
|
+
type: annotation.type,
|
|
4901
|
+
fileId: annotation.file_id,
|
|
4902
|
+
index: annotation.index
|
|
4462
4903
|
}
|
|
4463
|
-
}
|
|
4904
|
+
}
|
|
4464
4905
|
});
|
|
4465
4906
|
} else if (annotation.type === "container_file_citation") {
|
|
4466
4907
|
content.push({
|
|
4467
4908
|
type: "source",
|
|
4468
4909
|
sourceType: "document",
|
|
4469
|
-
id: (
|
|
4910
|
+
id: (_l = (_k = (_j = this.config).generateId) == null ? void 0 : _k.call(_j)) != null ? _l : generateId2(),
|
|
4470
4911
|
mediaType: "text/plain",
|
|
4471
|
-
title:
|
|
4472
|
-
filename:
|
|
4912
|
+
title: annotation.filename,
|
|
4913
|
+
filename: annotation.filename,
|
|
4473
4914
|
providerMetadata: {
|
|
4474
4915
|
[providerOptionsName]: {
|
|
4916
|
+
type: annotation.type,
|
|
4475
4917
|
fileId: annotation.file_id,
|
|
4476
|
-
containerId: annotation.container_id
|
|
4477
|
-
...annotation.index != null ? { index: annotation.index } : {}
|
|
4918
|
+
containerId: annotation.container_id
|
|
4478
4919
|
}
|
|
4479
4920
|
}
|
|
4480
4921
|
});
|
|
@@ -4482,14 +4923,15 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
4482
4923
|
content.push({
|
|
4483
4924
|
type: "source",
|
|
4484
4925
|
sourceType: "document",
|
|
4485
|
-
id: (
|
|
4926
|
+
id: (_o = (_n = (_m = this.config).generateId) == null ? void 0 : _n.call(_m)) != null ? _o : generateId2(),
|
|
4486
4927
|
mediaType: "application/octet-stream",
|
|
4487
4928
|
title: annotation.file_id,
|
|
4488
4929
|
filename: annotation.file_id,
|
|
4489
4930
|
providerMetadata: {
|
|
4490
4931
|
[providerOptionsName]: {
|
|
4932
|
+
type: annotation.type,
|
|
4491
4933
|
fileId: annotation.file_id,
|
|
4492
|
-
|
|
4934
|
+
index: annotation.index
|
|
4493
4935
|
}
|
|
4494
4936
|
}
|
|
4495
4937
|
});
|
|
@@ -4513,6 +4955,22 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
4513
4955
|
});
|
|
4514
4956
|
break;
|
|
4515
4957
|
}
|
|
4958
|
+
case "custom_tool_call": {
|
|
4959
|
+
hasFunctionCall = true;
|
|
4960
|
+
const toolName = toolNameMapping.toCustomToolName(part.name);
|
|
4961
|
+
content.push({
|
|
4962
|
+
type: "tool-call",
|
|
4963
|
+
toolCallId: part.call_id,
|
|
4964
|
+
toolName,
|
|
4965
|
+
input: JSON.stringify(part.input),
|
|
4966
|
+
providerMetadata: {
|
|
4967
|
+
[providerOptionsName]: {
|
|
4968
|
+
itemId: part.id
|
|
4969
|
+
}
|
|
4970
|
+
}
|
|
4971
|
+
});
|
|
4972
|
+
break;
|
|
4973
|
+
}
|
|
4516
4974
|
case "web_search_call": {
|
|
4517
4975
|
content.push({
|
|
4518
4976
|
type: "tool-call",
|
|
@@ -4534,7 +4992,7 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
4534
4992
|
break;
|
|
4535
4993
|
}
|
|
4536
4994
|
case "mcp_call": {
|
|
4537
|
-
const toolCallId = part.approval_request_id != null ? (
|
|
4995
|
+
const toolCallId = part.approval_request_id != null ? (_p = approvalRequestIdToDummyToolCallIdFromPrompt[part.approval_request_id]) != null ? _p : part.id : part.id;
|
|
4538
4996
|
const toolName = `mcp.${part.name}`;
|
|
4539
4997
|
content.push({
|
|
4540
4998
|
type: "tool-call",
|
|
@@ -4568,8 +5026,8 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
4568
5026
|
break;
|
|
4569
5027
|
}
|
|
4570
5028
|
case "mcp_approval_request": {
|
|
4571
|
-
const approvalRequestId = (
|
|
4572
|
-
const dummyToolCallId = (
|
|
5029
|
+
const approvalRequestId = (_q = part.approval_request_id) != null ? _q : part.id;
|
|
5030
|
+
const dummyToolCallId = (_t = (_s = (_r = this.config).generateId) == null ? void 0 : _s.call(_r)) != null ? _t : generateId2();
|
|
4573
5031
|
const toolName = `mcp.${part.name}`;
|
|
4574
5032
|
content.push({
|
|
4575
5033
|
type: "tool-call",
|
|
@@ -4619,13 +5077,13 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
4619
5077
|
toolName: toolNameMapping.toCustomToolName("file_search"),
|
|
4620
5078
|
result: {
|
|
4621
5079
|
queries: part.queries,
|
|
4622
|
-
results: (
|
|
5080
|
+
results: (_v = (_u = part.results) == null ? void 0 : _u.map((result) => ({
|
|
4623
5081
|
attributes: result.attributes,
|
|
4624
5082
|
fileId: result.file_id,
|
|
4625
5083
|
filename: result.filename,
|
|
4626
5084
|
score: result.score,
|
|
4627
5085
|
text: result.text
|
|
4628
|
-
}))) != null ?
|
|
5086
|
+
}))) != null ? _v : null
|
|
4629
5087
|
}
|
|
4630
5088
|
});
|
|
4631
5089
|
break;
|
|
@@ -4671,23 +5129,21 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
4671
5129
|
}
|
|
4672
5130
|
}
|
|
4673
5131
|
const providerMetadata = {
|
|
4674
|
-
[providerOptionsName]: {
|
|
5132
|
+
[providerOptionsName]: {
|
|
5133
|
+
responseId: response.id,
|
|
5134
|
+
...logprobs.length > 0 ? { logprobs } : {},
|
|
5135
|
+
...typeof response.service_tier === "string" ? { serviceTier: response.service_tier } : {}
|
|
5136
|
+
}
|
|
4675
5137
|
};
|
|
4676
|
-
if (logprobs.length > 0) {
|
|
4677
|
-
providerMetadata[providerOptionsName].logprobs = logprobs;
|
|
4678
|
-
}
|
|
4679
|
-
if (typeof response.service_tier === "string") {
|
|
4680
|
-
providerMetadata[providerOptionsName].serviceTier = response.service_tier;
|
|
4681
|
-
}
|
|
4682
5138
|
const usage = response.usage;
|
|
4683
5139
|
return {
|
|
4684
5140
|
content,
|
|
4685
5141
|
finishReason: {
|
|
4686
5142
|
unified: mapOpenAIResponseFinishReason({
|
|
4687
|
-
finishReason: (
|
|
5143
|
+
finishReason: (_w = response.incomplete_details) == null ? void 0 : _w.reason,
|
|
4688
5144
|
hasFunctionCall
|
|
4689
5145
|
}),
|
|
4690
|
-
raw: (
|
|
5146
|
+
raw: (_y = (_x = response.incomplete_details) == null ? void 0 : _x.reason) != null ? _y : void 0
|
|
4691
5147
|
},
|
|
4692
5148
|
usage: convertOpenAIResponsesUsage(usage),
|
|
4693
5149
|
request: { body },
|
|
@@ -4709,7 +5165,8 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
4709
5165
|
webSearchToolName,
|
|
4710
5166
|
toolNameMapping,
|
|
4711
5167
|
store,
|
|
4712
|
-
providerOptionsName
|
|
5168
|
+
providerOptionsName,
|
|
5169
|
+
isShellProviderExecuted
|
|
4713
5170
|
} = await this.getArgs(options);
|
|
4714
5171
|
const { responseHeaders, value: response } = await postJsonToApi5({
|
|
4715
5172
|
url: this.config.url({
|
|
@@ -4740,6 +5197,7 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
4740
5197
|
let responseId = null;
|
|
4741
5198
|
const ongoingToolCalls = {};
|
|
4742
5199
|
const ongoingAnnotations = [];
|
|
5200
|
+
let activeMessagePhase;
|
|
4743
5201
|
let hasFunctionCall = false;
|
|
4744
5202
|
const activeReasoning = {};
|
|
4745
5203
|
let serviceTier;
|
|
@@ -4750,7 +5208,7 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
4750
5208
|
controller.enqueue({ type: "stream-start", warnings });
|
|
4751
5209
|
},
|
|
4752
5210
|
transform(chunk, controller) {
|
|
4753
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F
|
|
5211
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F;
|
|
4754
5212
|
if (options.includeRawChunks) {
|
|
4755
5213
|
controller.enqueue({ type: "raw", rawValue: chunk.rawValue });
|
|
4756
5214
|
}
|
|
@@ -4771,6 +5229,19 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
4771
5229
|
id: value.item.call_id,
|
|
4772
5230
|
toolName: value.item.name
|
|
4773
5231
|
});
|
|
5232
|
+
} else if (value.item.type === "custom_tool_call") {
|
|
5233
|
+
const toolName = toolNameMapping.toCustomToolName(
|
|
5234
|
+
value.item.name
|
|
5235
|
+
);
|
|
5236
|
+
ongoingToolCalls[value.output_index] = {
|
|
5237
|
+
toolName,
|
|
5238
|
+
toolCallId: value.item.call_id
|
|
5239
|
+
};
|
|
5240
|
+
controller.enqueue({
|
|
5241
|
+
type: "tool-input-start",
|
|
5242
|
+
id: value.item.call_id,
|
|
5243
|
+
toolName
|
|
5244
|
+
});
|
|
4774
5245
|
} else if (value.item.type === "web_search_call") {
|
|
4775
5246
|
ongoingToolCalls[value.output_index] = {
|
|
4776
5247
|
toolName: toolNameMapping.toCustomToolName(
|
|
@@ -4888,14 +5359,19 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
4888
5359
|
toolName: toolNameMapping.toCustomToolName("shell"),
|
|
4889
5360
|
toolCallId: value.item.call_id
|
|
4890
5361
|
};
|
|
5362
|
+
} else if (value.item.type === "shell_call_output") {
|
|
4891
5363
|
} else if (value.item.type === "message") {
|
|
4892
5364
|
ongoingAnnotations.splice(0, ongoingAnnotations.length);
|
|
5365
|
+
activeMessagePhase = (_a = value.item.phase) != null ? _a : void 0;
|
|
4893
5366
|
controller.enqueue({
|
|
4894
5367
|
type: "text-start",
|
|
4895
5368
|
id: value.item.id,
|
|
4896
5369
|
providerMetadata: {
|
|
4897
5370
|
[providerOptionsName]: {
|
|
4898
|
-
itemId: value.item.id
|
|
5371
|
+
itemId: value.item.id,
|
|
5372
|
+
...value.item.phase != null && {
|
|
5373
|
+
phase: value.item.phase
|
|
5374
|
+
}
|
|
4899
5375
|
}
|
|
4900
5376
|
}
|
|
4901
5377
|
});
|
|
@@ -4910,19 +5386,22 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
4910
5386
|
providerMetadata: {
|
|
4911
5387
|
[providerOptionsName]: {
|
|
4912
5388
|
itemId: value.item.id,
|
|
4913
|
-
reasoningEncryptedContent: (
|
|
5389
|
+
reasoningEncryptedContent: (_b = value.item.encrypted_content) != null ? _b : null
|
|
4914
5390
|
}
|
|
4915
5391
|
}
|
|
4916
5392
|
});
|
|
4917
5393
|
}
|
|
4918
5394
|
} else if (isResponseOutputItemDoneChunk(value)) {
|
|
4919
5395
|
if (value.item.type === "message") {
|
|
5396
|
+
const phase = (_c = value.item.phase) != null ? _c : activeMessagePhase;
|
|
5397
|
+
activeMessagePhase = void 0;
|
|
4920
5398
|
controller.enqueue({
|
|
4921
5399
|
type: "text-end",
|
|
4922
5400
|
id: value.item.id,
|
|
4923
5401
|
providerMetadata: {
|
|
4924
5402
|
[providerOptionsName]: {
|
|
4925
5403
|
itemId: value.item.id,
|
|
5404
|
+
...phase != null && { phase },
|
|
4926
5405
|
...ongoingAnnotations.length > 0 && {
|
|
4927
5406
|
annotations: ongoingAnnotations
|
|
4928
5407
|
}
|
|
@@ -4947,6 +5426,27 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
4947
5426
|
}
|
|
4948
5427
|
}
|
|
4949
5428
|
});
|
|
5429
|
+
} else if (value.item.type === "custom_tool_call") {
|
|
5430
|
+
ongoingToolCalls[value.output_index] = void 0;
|
|
5431
|
+
hasFunctionCall = true;
|
|
5432
|
+
const toolName = toolNameMapping.toCustomToolName(
|
|
5433
|
+
value.item.name
|
|
5434
|
+
);
|
|
5435
|
+
controller.enqueue({
|
|
5436
|
+
type: "tool-input-end",
|
|
5437
|
+
id: value.item.call_id
|
|
5438
|
+
});
|
|
5439
|
+
controller.enqueue({
|
|
5440
|
+
type: "tool-call",
|
|
5441
|
+
toolCallId: value.item.call_id,
|
|
5442
|
+
toolName,
|
|
5443
|
+
input: JSON.stringify(value.item.input),
|
|
5444
|
+
providerMetadata: {
|
|
5445
|
+
[providerOptionsName]: {
|
|
5446
|
+
itemId: value.item.id
|
|
5447
|
+
}
|
|
5448
|
+
}
|
|
5449
|
+
});
|
|
4950
5450
|
} else if (value.item.type === "web_search_call") {
|
|
4951
5451
|
ongoingToolCalls[value.output_index] = void 0;
|
|
4952
5452
|
controller.enqueue({
|
|
@@ -4987,13 +5487,13 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
4987
5487
|
toolName: toolNameMapping.toCustomToolName("file_search"),
|
|
4988
5488
|
result: {
|
|
4989
5489
|
queries: value.item.queries,
|
|
4990
|
-
results: (
|
|
5490
|
+
results: (_e = (_d = value.item.results) == null ? void 0 : _d.map((result) => ({
|
|
4991
5491
|
attributes: result.attributes,
|
|
4992
5492
|
fileId: result.file_id,
|
|
4993
5493
|
filename: result.filename,
|
|
4994
5494
|
score: result.score,
|
|
4995
5495
|
text: result.text
|
|
4996
|
-
}))) != null ?
|
|
5496
|
+
}))) != null ? _e : null
|
|
4997
5497
|
}
|
|
4998
5498
|
});
|
|
4999
5499
|
} else if (value.item.type === "code_interpreter_call") {
|
|
@@ -5017,10 +5517,10 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
5017
5517
|
});
|
|
5018
5518
|
} else if (value.item.type === "mcp_call") {
|
|
5019
5519
|
ongoingToolCalls[value.output_index] = void 0;
|
|
5020
|
-
const approvalRequestId = (
|
|
5021
|
-
const aliasedToolCallId = approvalRequestId != null ? (
|
|
5520
|
+
const approvalRequestId = (_f = value.item.approval_request_id) != null ? _f : void 0;
|
|
5521
|
+
const aliasedToolCallId = approvalRequestId != null ? (_h = (_g = approvalRequestIdToDummyToolCallIdFromStream.get(
|
|
5022
5522
|
approvalRequestId
|
|
5023
|
-
)) != null ?
|
|
5523
|
+
)) != null ? _g : approvalRequestIdToDummyToolCallIdFromPrompt[approvalRequestId]) != null ? _h : value.item.id : value.item.id;
|
|
5024
5524
|
const toolName = `mcp.${value.item.name}`;
|
|
5025
5525
|
controller.enqueue({
|
|
5026
5526
|
type: "tool-call",
|
|
@@ -5090,8 +5590,8 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
5090
5590
|
ongoingToolCalls[value.output_index] = void 0;
|
|
5091
5591
|
} else if (value.item.type === "mcp_approval_request") {
|
|
5092
5592
|
ongoingToolCalls[value.output_index] = void 0;
|
|
5093
|
-
const dummyToolCallId = (
|
|
5094
|
-
const approvalRequestId = (
|
|
5593
|
+
const dummyToolCallId = (_k = (_j = (_i = self.config).generateId) == null ? void 0 : _j.call(_i)) != null ? _k : generateId2();
|
|
5594
|
+
const approvalRequestId = (_l = value.item.approval_request_id) != null ? _l : value.item.id;
|
|
5095
5595
|
approvalRequestIdToDummyToolCallIdFromStream.set(
|
|
5096
5596
|
approvalRequestId,
|
|
5097
5597
|
dummyToolCallId
|
|
@@ -5141,10 +5641,31 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
5141
5641
|
commands: value.item.action.commands
|
|
5142
5642
|
}
|
|
5143
5643
|
}),
|
|
5644
|
+
...isShellProviderExecuted && {
|
|
5645
|
+
providerExecuted: true
|
|
5646
|
+
},
|
|
5144
5647
|
providerMetadata: {
|
|
5145
5648
|
[providerOptionsName]: { itemId: value.item.id }
|
|
5146
5649
|
}
|
|
5147
5650
|
});
|
|
5651
|
+
} else if (value.item.type === "shell_call_output") {
|
|
5652
|
+
controller.enqueue({
|
|
5653
|
+
type: "tool-result",
|
|
5654
|
+
toolCallId: value.item.call_id,
|
|
5655
|
+
toolName: toolNameMapping.toCustomToolName("shell"),
|
|
5656
|
+
result: {
|
|
5657
|
+
output: value.item.output.map(
|
|
5658
|
+
(item) => ({
|
|
5659
|
+
stdout: item.stdout,
|
|
5660
|
+
stderr: item.stderr,
|
|
5661
|
+
outcome: item.outcome.type === "exit" ? {
|
|
5662
|
+
type: "exit",
|
|
5663
|
+
exitCode: item.outcome.exit_code
|
|
5664
|
+
} : { type: "timeout" }
|
|
5665
|
+
})
|
|
5666
|
+
)
|
|
5667
|
+
}
|
|
5668
|
+
});
|
|
5148
5669
|
} else if (value.item.type === "reasoning") {
|
|
5149
5670
|
const activeReasoningPart = activeReasoning[value.item.id];
|
|
5150
5671
|
const summaryPartIndices = Object.entries(
|
|
@@ -5159,7 +5680,7 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
5159
5680
|
providerMetadata: {
|
|
5160
5681
|
[providerOptionsName]: {
|
|
5161
5682
|
itemId: value.item.id,
|
|
5162
|
-
reasoningEncryptedContent: (
|
|
5683
|
+
reasoningEncryptedContent: (_m = value.item.encrypted_content) != null ? _m : null
|
|
5163
5684
|
}
|
|
5164
5685
|
}
|
|
5165
5686
|
});
|
|
@@ -5175,6 +5696,15 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
5175
5696
|
delta: value.delta
|
|
5176
5697
|
});
|
|
5177
5698
|
}
|
|
5699
|
+
} else if (isResponseCustomToolCallInputDeltaChunk(value)) {
|
|
5700
|
+
const toolCall = ongoingToolCalls[value.output_index];
|
|
5701
|
+
if (toolCall != null) {
|
|
5702
|
+
controller.enqueue({
|
|
5703
|
+
type: "tool-input-delta",
|
|
5704
|
+
id: toolCall.toolCallId,
|
|
5705
|
+
delta: value.delta
|
|
5706
|
+
});
|
|
5707
|
+
}
|
|
5178
5708
|
} else if (isResponseApplyPatchCallOperationDiffDeltaChunk(value)) {
|
|
5179
5709
|
const toolCall = ongoingToolCalls[value.output_index];
|
|
5180
5710
|
if (toolCall == null ? void 0 : toolCall.applyPatch) {
|
|
@@ -5263,7 +5793,7 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
5263
5793
|
id: value.item_id,
|
|
5264
5794
|
delta: value.delta
|
|
5265
5795
|
});
|
|
5266
|
-
if (((
|
|
5796
|
+
if (((_o = (_n = options.providerOptions) == null ? void 0 : _n[providerOptionsName]) == null ? void 0 : _o.logprobs) && value.logprobs) {
|
|
5267
5797
|
logprobs.push(value.logprobs);
|
|
5268
5798
|
}
|
|
5269
5799
|
} else if (value.type === "response.reasoning_summary_part.added") {
|
|
@@ -5278,7 +5808,9 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
5278
5808
|
type: "reasoning-end",
|
|
5279
5809
|
id: `${value.item_id}:${summaryIndex}`,
|
|
5280
5810
|
providerMetadata: {
|
|
5281
|
-
[providerOptionsName]: {
|
|
5811
|
+
[providerOptionsName]: {
|
|
5812
|
+
itemId: value.item_id
|
|
5813
|
+
}
|
|
5282
5814
|
}
|
|
5283
5815
|
});
|
|
5284
5816
|
activeReasoningPart.summaryParts[summaryIndex] = "concluded";
|
|
@@ -5290,7 +5822,7 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
5290
5822
|
providerMetadata: {
|
|
5291
5823
|
[providerOptionsName]: {
|
|
5292
5824
|
itemId: value.item_id,
|
|
5293
|
-
reasoningEncryptedContent: (
|
|
5825
|
+
reasoningEncryptedContent: (_q = (_p = activeReasoning[value.item_id]) == null ? void 0 : _p.encryptedContent) != null ? _q : null
|
|
5294
5826
|
}
|
|
5295
5827
|
}
|
|
5296
5828
|
});
|
|
@@ -5312,7 +5844,9 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
5312
5844
|
type: "reasoning-end",
|
|
5313
5845
|
id: `${value.item_id}:${value.summary_index}`,
|
|
5314
5846
|
providerMetadata: {
|
|
5315
|
-
[providerOptionsName]: {
|
|
5847
|
+
[providerOptionsName]: {
|
|
5848
|
+
itemId: value.item_id
|
|
5849
|
+
}
|
|
5316
5850
|
}
|
|
5317
5851
|
});
|
|
5318
5852
|
activeReasoning[value.item_id].summaryParts[value.summary_index] = "concluded";
|
|
@@ -5322,10 +5856,10 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
5322
5856
|
} else if (isResponseFinishedChunk(value)) {
|
|
5323
5857
|
finishReason = {
|
|
5324
5858
|
unified: mapOpenAIResponseFinishReason({
|
|
5325
|
-
finishReason: (
|
|
5859
|
+
finishReason: (_r = value.response.incomplete_details) == null ? void 0 : _r.reason,
|
|
5326
5860
|
hasFunctionCall
|
|
5327
5861
|
}),
|
|
5328
|
-
raw: (
|
|
5862
|
+
raw: (_t = (_s = value.response.incomplete_details) == null ? void 0 : _s.reason) != null ? _t : void 0
|
|
5329
5863
|
};
|
|
5330
5864
|
usage = value.response.usage;
|
|
5331
5865
|
if (typeof value.response.service_tier === "string") {
|
|
@@ -5337,7 +5871,7 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
5337
5871
|
controller.enqueue({
|
|
5338
5872
|
type: "source",
|
|
5339
5873
|
sourceType: "url",
|
|
5340
|
-
id: (
|
|
5874
|
+
id: (_w = (_v = (_u = self.config).generateId) == null ? void 0 : _v.call(_u)) != null ? _w : generateId2(),
|
|
5341
5875
|
url: value.annotation.url,
|
|
5342
5876
|
title: value.annotation.title
|
|
5343
5877
|
});
|
|
@@ -5345,31 +5879,31 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
5345
5879
|
controller.enqueue({
|
|
5346
5880
|
type: "source",
|
|
5347
5881
|
sourceType: "document",
|
|
5348
|
-
id: (
|
|
5882
|
+
id: (_z = (_y = (_x = self.config).generateId) == null ? void 0 : _y.call(_x)) != null ? _z : generateId2(),
|
|
5349
5883
|
mediaType: "text/plain",
|
|
5350
|
-
title:
|
|
5351
|
-
filename:
|
|
5352
|
-
|
|
5353
|
-
|
|
5354
|
-
|
|
5355
|
-
|
|
5356
|
-
|
|
5884
|
+
title: value.annotation.filename,
|
|
5885
|
+
filename: value.annotation.filename,
|
|
5886
|
+
providerMetadata: {
|
|
5887
|
+
[providerOptionsName]: {
|
|
5888
|
+
type: value.annotation.type,
|
|
5889
|
+
fileId: value.annotation.file_id,
|
|
5890
|
+
index: value.annotation.index
|
|
5357
5891
|
}
|
|
5358
|
-
}
|
|
5892
|
+
}
|
|
5359
5893
|
});
|
|
5360
5894
|
} else if (value.annotation.type === "container_file_citation") {
|
|
5361
5895
|
controller.enqueue({
|
|
5362
5896
|
type: "source",
|
|
5363
5897
|
sourceType: "document",
|
|
5364
|
-
id: (
|
|
5898
|
+
id: (_C = (_B = (_A = self.config).generateId) == null ? void 0 : _B.call(_A)) != null ? _C : generateId2(),
|
|
5365
5899
|
mediaType: "text/plain",
|
|
5366
|
-
title:
|
|
5367
|
-
filename:
|
|
5900
|
+
title: value.annotation.filename,
|
|
5901
|
+
filename: value.annotation.filename,
|
|
5368
5902
|
providerMetadata: {
|
|
5369
5903
|
[providerOptionsName]: {
|
|
5904
|
+
type: value.annotation.type,
|
|
5370
5905
|
fileId: value.annotation.file_id,
|
|
5371
|
-
containerId: value.annotation.container_id
|
|
5372
|
-
...value.annotation.index != null ? { index: value.annotation.index } : {}
|
|
5906
|
+
containerId: value.annotation.container_id
|
|
5373
5907
|
}
|
|
5374
5908
|
}
|
|
5375
5909
|
});
|
|
@@ -5377,14 +5911,15 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
5377
5911
|
controller.enqueue({
|
|
5378
5912
|
type: "source",
|
|
5379
5913
|
sourceType: "document",
|
|
5380
|
-
id: (
|
|
5914
|
+
id: (_F = (_E = (_D = self.config).generateId) == null ? void 0 : _E.call(_D)) != null ? _F : generateId2(),
|
|
5381
5915
|
mediaType: "application/octet-stream",
|
|
5382
5916
|
title: value.annotation.file_id,
|
|
5383
5917
|
filename: value.annotation.file_id,
|
|
5384
5918
|
providerMetadata: {
|
|
5385
5919
|
[providerOptionsName]: {
|
|
5920
|
+
type: value.annotation.type,
|
|
5386
5921
|
fileId: value.annotation.file_id,
|
|
5387
|
-
|
|
5922
|
+
index: value.annotation.index
|
|
5388
5923
|
}
|
|
5389
5924
|
}
|
|
5390
5925
|
});
|
|
@@ -5396,15 +5931,11 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
5396
5931
|
flush(controller) {
|
|
5397
5932
|
const providerMetadata = {
|
|
5398
5933
|
[providerOptionsName]: {
|
|
5399
|
-
responseId
|
|
5934
|
+
responseId,
|
|
5935
|
+
...logprobs.length > 0 ? { logprobs } : {},
|
|
5936
|
+
...serviceTier !== void 0 ? { serviceTier } : {}
|
|
5400
5937
|
}
|
|
5401
5938
|
};
|
|
5402
|
-
if (logprobs.length > 0) {
|
|
5403
|
-
providerMetadata[providerOptionsName].logprobs = logprobs;
|
|
5404
|
-
}
|
|
5405
|
-
if (serviceTier !== void 0) {
|
|
5406
|
-
providerMetadata[providerOptionsName].serviceTier = serviceTier;
|
|
5407
|
-
}
|
|
5408
5939
|
controller.enqueue({
|
|
5409
5940
|
type: "finish",
|
|
5410
5941
|
finishReason,
|
|
@@ -5434,6 +5965,9 @@ function isResponseCreatedChunk(chunk) {
|
|
|
5434
5965
|
function isResponseFunctionCallArgumentsDeltaChunk(chunk) {
|
|
5435
5966
|
return chunk.type === "response.function_call_arguments.delta";
|
|
5436
5967
|
}
|
|
5968
|
+
function isResponseCustomToolCallInputDeltaChunk(chunk) {
|
|
5969
|
+
return chunk.type === "response.custom_tool_call_input.delta";
|
|
5970
|
+
}
|
|
5437
5971
|
function isResponseImageGenerationCallPartialImageChunk(chunk) {
|
|
5438
5972
|
return chunk.type === "response.image_generation_call.partial_image";
|
|
5439
5973
|
}
|
|
@@ -5460,6 +5994,9 @@ function isErrorChunk(chunk) {
|
|
|
5460
5994
|
}
|
|
5461
5995
|
function mapWebSearchOutput(action) {
|
|
5462
5996
|
var _a;
|
|
5997
|
+
if (action == null) {
|
|
5998
|
+
return {};
|
|
5999
|
+
}
|
|
5463
6000
|
switch (action.type) {
|
|
5464
6001
|
case "search":
|
|
5465
6002
|
return {
|
|
@@ -5492,13 +6029,13 @@ import {
|
|
|
5492
6029
|
} from "@ai-sdk/provider-utils";
|
|
5493
6030
|
|
|
5494
6031
|
// src/speech/openai-speech-options.ts
|
|
5495
|
-
import { lazySchema as
|
|
5496
|
-
import { z as
|
|
5497
|
-
var
|
|
5498
|
-
() =>
|
|
5499
|
-
|
|
5500
|
-
instructions:
|
|
5501
|
-
speed:
|
|
6032
|
+
import { lazySchema as lazySchema20, zodSchema as zodSchema20 } from "@ai-sdk/provider-utils";
|
|
6033
|
+
import { z as z22 } from "zod/v4";
|
|
6034
|
+
var openaiSpeechModelOptionsSchema = lazySchema20(
|
|
6035
|
+
() => zodSchema20(
|
|
6036
|
+
z22.object({
|
|
6037
|
+
instructions: z22.string().nullish(),
|
|
6038
|
+
speed: z22.number().min(0.25).max(4).default(1).nullish()
|
|
5502
6039
|
})
|
|
5503
6040
|
)
|
|
5504
6041
|
);
|
|
@@ -5526,7 +6063,7 @@ var OpenAISpeechModel = class {
|
|
|
5526
6063
|
const openAIOptions = await parseProviderOptions6({
|
|
5527
6064
|
provider: "openai",
|
|
5528
6065
|
providerOptions,
|
|
5529
|
-
schema:
|
|
6066
|
+
schema: openaiSpeechModelOptionsSchema
|
|
5530
6067
|
});
|
|
5531
6068
|
const requestBody = {
|
|
5532
6069
|
model: this.modelId,
|
|
@@ -5615,33 +6152,33 @@ import {
|
|
|
5615
6152
|
} from "@ai-sdk/provider-utils";
|
|
5616
6153
|
|
|
5617
6154
|
// src/transcription/openai-transcription-api.ts
|
|
5618
|
-
import { lazySchema as
|
|
5619
|
-
import { z as
|
|
5620
|
-
var openaiTranscriptionResponseSchema =
|
|
5621
|
-
() =>
|
|
5622
|
-
|
|
5623
|
-
text:
|
|
5624
|
-
language:
|
|
5625
|
-
duration:
|
|
5626
|
-
words:
|
|
5627
|
-
|
|
5628
|
-
word:
|
|
5629
|
-
start:
|
|
5630
|
-
end:
|
|
6155
|
+
import { lazySchema as lazySchema21, zodSchema as zodSchema21 } from "@ai-sdk/provider-utils";
|
|
6156
|
+
import { z as z23 } from "zod/v4";
|
|
6157
|
+
var openaiTranscriptionResponseSchema = lazySchema21(
|
|
6158
|
+
() => zodSchema21(
|
|
6159
|
+
z23.object({
|
|
6160
|
+
text: z23.string(),
|
|
6161
|
+
language: z23.string().nullish(),
|
|
6162
|
+
duration: z23.number().nullish(),
|
|
6163
|
+
words: z23.array(
|
|
6164
|
+
z23.object({
|
|
6165
|
+
word: z23.string(),
|
|
6166
|
+
start: z23.number(),
|
|
6167
|
+
end: z23.number()
|
|
5631
6168
|
})
|
|
5632
6169
|
).nullish(),
|
|
5633
|
-
segments:
|
|
5634
|
-
|
|
5635
|
-
id:
|
|
5636
|
-
seek:
|
|
5637
|
-
start:
|
|
5638
|
-
end:
|
|
5639
|
-
text:
|
|
5640
|
-
tokens:
|
|
5641
|
-
temperature:
|
|
5642
|
-
avg_logprob:
|
|
5643
|
-
compression_ratio:
|
|
5644
|
-
no_speech_prob:
|
|
6170
|
+
segments: z23.array(
|
|
6171
|
+
z23.object({
|
|
6172
|
+
id: z23.number(),
|
|
6173
|
+
seek: z23.number(),
|
|
6174
|
+
start: z23.number(),
|
|
6175
|
+
end: z23.number(),
|
|
6176
|
+
text: z23.string(),
|
|
6177
|
+
tokens: z23.array(z23.number()),
|
|
6178
|
+
temperature: z23.number(),
|
|
6179
|
+
avg_logprob: z23.number(),
|
|
6180
|
+
compression_ratio: z23.number(),
|
|
6181
|
+
no_speech_prob: z23.number()
|
|
5645
6182
|
})
|
|
5646
6183
|
).nullish()
|
|
5647
6184
|
})
|
|
@@ -5649,33 +6186,33 @@ var openaiTranscriptionResponseSchema = lazySchema20(
|
|
|
5649
6186
|
);
|
|
5650
6187
|
|
|
5651
6188
|
// src/transcription/openai-transcription-options.ts
|
|
5652
|
-
import { lazySchema as
|
|
5653
|
-
import { z as
|
|
5654
|
-
var
|
|
5655
|
-
() =>
|
|
5656
|
-
|
|
6189
|
+
import { lazySchema as lazySchema22, zodSchema as zodSchema22 } from "@ai-sdk/provider-utils";
|
|
6190
|
+
import { z as z24 } from "zod/v4";
|
|
6191
|
+
var openAITranscriptionModelOptions = lazySchema22(
|
|
6192
|
+
() => zodSchema22(
|
|
6193
|
+
z24.object({
|
|
5657
6194
|
/**
|
|
5658
6195
|
* Additional information to include in the transcription response.
|
|
5659
6196
|
*/
|
|
5660
|
-
include:
|
|
6197
|
+
include: z24.array(z24.string()).optional(),
|
|
5661
6198
|
/**
|
|
5662
6199
|
* The language of the input audio in ISO-639-1 format.
|
|
5663
6200
|
*/
|
|
5664
|
-
language:
|
|
6201
|
+
language: z24.string().optional(),
|
|
5665
6202
|
/**
|
|
5666
6203
|
* An optional text to guide the model's style or continue a previous audio segment.
|
|
5667
6204
|
*/
|
|
5668
|
-
prompt:
|
|
6205
|
+
prompt: z24.string().optional(),
|
|
5669
6206
|
/**
|
|
5670
6207
|
* The sampling temperature, between 0 and 1.
|
|
5671
6208
|
* @default 0
|
|
5672
6209
|
*/
|
|
5673
|
-
temperature:
|
|
6210
|
+
temperature: z24.number().min(0).max(1).default(0).optional(),
|
|
5674
6211
|
/**
|
|
5675
6212
|
* The timestamp granularities to populate for this transcription.
|
|
5676
6213
|
* @default ['segment']
|
|
5677
6214
|
*/
|
|
5678
|
-
timestampGranularities:
|
|
6215
|
+
timestampGranularities: z24.array(z24.enum(["word", "segment"])).default(["segment"]).optional()
|
|
5679
6216
|
})
|
|
5680
6217
|
)
|
|
5681
6218
|
);
|
|
@@ -5758,7 +6295,7 @@ var OpenAITranscriptionModel = class {
|
|
|
5758
6295
|
const openAIOptions = await parseProviderOptions7({
|
|
5759
6296
|
provider: "openai",
|
|
5760
6297
|
providerOptions,
|
|
5761
|
-
schema:
|
|
6298
|
+
schema: openAITranscriptionModelOptions
|
|
5762
6299
|
});
|
|
5763
6300
|
const formData = new FormData();
|
|
5764
6301
|
const blob = audio instanceof Uint8Array ? new Blob([audio]) : new Blob([convertBase64ToUint8Array2(audio)]);
|
|
@@ -5848,7 +6385,7 @@ var OpenAITranscriptionModel = class {
|
|
|
5848
6385
|
};
|
|
5849
6386
|
|
|
5850
6387
|
// src/version.ts
|
|
5851
|
-
var VERSION = true ? "3.0.
|
|
6388
|
+
var VERSION = true ? "3.0.41" : "0.0.0-test";
|
|
5852
6389
|
|
|
5853
6390
|
// src/openai-provider.ts
|
|
5854
6391
|
function createOpenAI(options = {}) {
|