sanoma 0.11.18 → 0.11.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -22
- package/app/README.md +548 -0
- package/app/dist/api.d.ts +984 -0
- package/app/dist/api.js +261 -0
- package/app/dist/api.js.map +1 -0
- package/app/dist/app-bundle.d.ts +81 -0
- package/app/dist/app-bundle.js +13 -0
- package/app/dist/app-bundle.js.map +1 -0
- package/app/dist/build.d.ts +89 -0
- package/app/dist/build.js +843 -0
- package/app/dist/build.js.map +1 -0
- package/app/dist/bundle-build.d.ts +39 -0
- package/app/dist/bundle-build.js +585 -0
- package/app/dist/bundle-build.js.map +1 -0
- package/app/dist/client/assets/ArrowUp.es-DOgvoS0P.js +1 -0
- package/app/dist/client/assets/Copy.es-B0D5SwiQ.js +1 -0
- package/app/dist/client/assets/DialogTitle-BgjYK22C.js +1 -0
- package/app/dist/client/assets/FloppyDisk.es-DnuNe_a8.js +1 -0
- package/app/dist/client/assets/Globe.es-B6x2e4-a.js +1 -0
- package/app/dist/client/assets/MagnifyingGlass.es-DoNoHEhT.js +1 -0
- package/app/dist/client/assets/Play.es-BwXalGBh.js +1 -0
- package/app/dist/client/assets/Plug.es-CaZsN5P-.js +1 -0
- package/app/dist/client/assets/Plus.es-w9VPpTJB.js +1 -0
- package/app/dist/client/assets/Separator-BAhKFgSd.js +1 -0
- package/app/dist/client/assets/X.es-DKMYClf-.js +1 -0
- package/app/dist/client/assets/_id-BSRAaWtO.js +1 -0
- package/app/dist/client/assets/_id-BjDP-cPH.js +1 -0
- package/app/dist/client/assets/_id-BudM76zX.js +1 -0
- package/app/dist/client/assets/_id-C37U5bBa.js +1 -0
- package/app/dist/client/assets/_id-lmg24JVh.js +2 -0
- package/app/dist/client/assets/_name-CylqFo_t.js +1 -0
- package/app/dist/client/assets/_name-D8Gl8iwy.js +4 -0
- package/app/dist/client/assets/_name-DdPCU8pt.js +1 -0
- package/app/dist/client/assets/_name-TteWQXe0.js +1 -0
- package/app/dist/client/assets/_vendor-BLxW83yk.js +1 -0
- package/app/dist/client/assets/_vendor-Bq3uZU4-.js +1 -0
- package/app/dist/client/assets/app-chrome-H8uZ4dHI.js +16 -0
- package/app/dist/client/assets/app-scope-BeUW_8Qh.js +1 -0
- package/app/dist/client/assets/approval-DpgmTc63.js +1 -0
- package/app/dist/client/assets/apps-71ZEzcL9.js +1 -0
- package/app/dist/client/assets/apps-CoWzNm8M.js +1 -0
- package/app/dist/client/assets/change-glance-DbYcBT7H.js +1 -0
- package/app/dist/client/assets/changes-DIJvP7wQ.js +1 -0
- package/app/dist/client/assets/chat-button-BgpOfYh1.js +1 -0
- package/app/dist/client/assets/chat-prompt-hiawXcK0.js +1 -0
- package/app/dist/client/assets/clipboard-Zb0yr0Ja.js +3 -0
- package/app/dist/client/assets/code-BVYaiQEr.js +32 -0
- package/app/dist/client/assets/common-Dw2i6XKZ.js +3 -0
- package/app/dist/client/assets/composite-D9GNDzFj.js +1 -0
- package/app/dist/client/assets/connect-CIq2KJTz.js +1 -0
- package/app/dist/client/assets/connections-iqd2XbWQ.js +5 -0
- package/app/dist/client/assets/connectors-rI8_D1n1.js +1 -0
- package/app/dist/client/assets/content-DOwCrGXH.js +1 -0
- package/app/dist/client/assets/credentials-26vu6Fv5.js +1 -0
- package/app/dist/client/assets/data-sDMlKaLV.js +1 -0
- package/app/dist/client/assets/decidable-zcYI7bY8.js +1 -0
- package/app/dist/client/assets/declaration-form-BtSVvxhq.js +1 -0
- package/app/dist/client/assets/dialog-DskpUgkl.js +1 -0
- package/app/dist/client/assets/existing-BD3VgJ_8.js +1 -0
- package/app/dist/client/assets/fraunces-latin-ext-wght-normal-Ca2vKHc0.woff2 +0 -0
- package/app/dist/client/assets/fraunces-latin-wght-normal-ukD16Tqj.woff2 +0 -0
- package/app/dist/client/assets/fraunces-vietnamese-wght-normal-CnvboYUG.woff2 +0 -0
- package/app/dist/client/assets/graph-BBLU_iSl.css +1 -0
- package/app/dist/client/assets/graph-Prxl3c55.js +7 -0
- package/app/dist/client/assets/grid-diff-SMsvea6t.js +1 -0
- package/app/dist/client/assets/hosting-BBHUppH-.js +1 -0
- package/app/dist/client/assets/ibm-plex-mono-cyrillic-400-italic-2syK4fUT.woff +0 -0
- package/app/dist/client/assets/ibm-plex-mono-cyrillic-400-italic-CBJ8pzag.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-mono-cyrillic-400-normal-BSMlKf0J.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-mono-cyrillic-400-normal-CEL4l2ZJ.woff +0 -0
- package/app/dist/client/assets/ibm-plex-mono-cyrillic-500-normal-Ael50iVv.woff +0 -0
- package/app/dist/client/assets/ibm-plex-mono-cyrillic-500-normal-Bq9vWWag.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-mono-cyrillic-ext-400-italic-B4oTjJdl.woff +0 -0
- package/app/dist/client/assets/ibm-plex-mono-cyrillic-ext-400-italic-CBjNughH.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-mono-cyrillic-ext-400-normal-DMdlQ8Kv.woff +0 -0
- package/app/dist/client/assets/ibm-plex-mono-cyrillic-ext-400-normal-xuaO2J-f.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-mono-cyrillic-ext-500-normal-BIfNGwUT.woff +0 -0
- package/app/dist/client/assets/ibm-plex-mono-cyrillic-ext-500-normal-BqneJy0T.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-mono-latin-400-italic-66oory27.woff +0 -0
- package/app/dist/client/assets/ibm-plex-mono-latin-400-italic-BqAiT5Ww.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-mono-latin-400-normal-CvHOgSBP.woff +0 -0
- package/app/dist/client/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-mono-latin-500-normal-CB9ihrfo.woff +0 -0
- package/app/dist/client/assets/ibm-plex-mono-latin-500-normal-DSY6xOcd.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-mono-latin-ext-400-italic-B7_fu1kp.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-mono-latin-ext-400-italic-Bg0ZHwF4.woff +0 -0
- package/app/dist/client/assets/ibm-plex-mono-latin-ext-400-normal-BmRBH3aV.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-mono-latin-ext-400-normal-D3D2R8hC.woff +0 -0
- package/app/dist/client/assets/ibm-plex-mono-latin-ext-500-normal-CAhNIIs5.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-mono-latin-ext-500-normal-CZ70TYgx.woff +0 -0
- package/app/dist/client/assets/ibm-plex-mono-vietnamese-400-italic-D6eaYXMU.woff +0 -0
- package/app/dist/client/assets/ibm-plex-mono-vietnamese-400-italic-DRuN92E5.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-mono-vietnamese-400-normal-BulugwFq.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-mono-vietnamese-400-normal-DDuiU_S-.woff +0 -0
- package/app/dist/client/assets/ibm-plex-mono-vietnamese-500-normal-C8zxqsMH.woff +0 -0
- package/app/dist/client/assets/ibm-plex-mono-vietnamese-500-normal-DZ4AoWbu.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-sans-cyrillic-ext-wght-italic-O9KpBTMP.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-sans-cyrillic-ext-wght-normal-d45eAU9y.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-sans-cyrillic-wght-italic-BC1D_hcE.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-sans-cyrillic-wght-normal-BAAhND-U.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-sans-greek-wght-italic-BOZ1G-_q.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-sans-greek-wght-normal-CmyJS8uq.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-sans-latin-ext-wght-italic-QwKXLQRc.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-sans-latin-ext-wght-normal-CIII54If.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-sans-latin-wght-italic-DKUSOBgV.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-sans-latin-wght-normal-IvpUvPa2.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-sans-vietnamese-wght-italic-CKSJVnJa.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-sans-vietnamese-wght-normal-Dg1JeJN0.woff2 +0 -0
- package/app/dist/client/assets/import-B92fd4Tl.js +1 -0
- package/app/dist/client/assets/inbox-57oGZtxE.js +1 -0
- package/app/dist/client/assets/inbox-B2AMNtk5.js +1 -0
- package/app/dist/client/assets/index-Bn3XeKy8.js +10 -0
- package/app/dist/client/assets/kit-BsK6VZTQ.js +1 -0
- package/app/dist/client/assets/lazyRouteComponent-Uri98HNq.js +1 -0
- package/app/dist/client/assets/lines-DuFrbGkQ.js +3 -0
- package/app/dist/client/assets/motion-C8lNeYvK.js +1 -0
- package/app/dist/client/assets/names-COx1nqcj.js +1 -0
- package/app/dist/client/assets/people-ISOMYCTu.js +1 -0
- package/app/dist/client/assets/permissions-Cenat84K.js +2 -0
- package/app/dist/client/assets/permissions-grid-B2GtGwzv.js +1 -0
- package/app/dist/client/assets/route-BP1XwaTB.js +1 -0
- package/app/dist/client/assets/route-KVU6QgwJ.js +1 -0
- package/app/dist/client/assets/runs-table-35lNzKLn.js +1 -0
- package/app/dist/client/assets/scenario-DSwsavxS.js +1 -0
- package/app/dist/client/assets/scenario-graph-CAzWOtqV.js +1 -0
- package/app/dist/client/assets/schema-BpqanhX0.js +1 -0
- package/app/dist/client/assets/separator-BlwkzEY0.js +1 -0
- package/app/dist/client/assets/sheet-BYL9XU5s.js +1 -0
- package/app/dist/client/assets/site-icon-DZvOfBvU.js +1 -0
- package/app/dist/client/assets/sites.index-CcNo6N8u.js +1 -0
- package/app/dist/client/assets/spinner-BGy6LWIW.js +1 -0
- package/app/dist/client/assets/start-form-Bgo9I63s.js +1 -0
- package/app/dist/client/assets/store-BGu0d2Ld.js +57 -0
- package/app/dist/client/assets/style-CCDLLPgG.css +2 -0
- package/app/dist/client/assets/table-DjbI5VTn.js +1 -0
- package/app/dist/client/assets/textarea-DXO0eUdp.js +1 -0
- package/app/dist/client/assets/useLoaderData-BQd5yMlA.js +1 -0
- package/app/dist/client/assets/useOpenInteractionType-Bin8RjM5.js +1 -0
- package/app/dist/client/assets/useRegisterFieldControl-CQPTOU7Z.js +1 -0
- package/app/dist/client/assets/useValueChanged-DMkuvFZG.js +1 -0
- package/app/dist/client/assets/utils-CMsCvwYQ.js +1 -0
- package/app/dist/client/assets/who-are-you-Bt1WI3Cz.js +1 -0
- package/app/dist/client/assets/workflow-BJpO61A-.js +1 -0
- package/app/dist/client/assets/workflow-view-DP-UlRiH.js +1 -0
- package/app/dist/client/assets/workflows-BLCBgxbx.js +1 -0
- package/app/dist/components/grid/plan.d.ts +373 -0
- package/app/dist/components/grid/plan.js +347 -0
- package/app/dist/components/grid/plan.js.map +1 -0
- package/app/dist/content-files.d.ts +59 -0
- package/app/dist/content-files.js +218 -0
- package/app/dist/content-files.js.map +1 -0
- package/app/dist/content-types.d.ts +39 -0
- package/app/dist/content-types.js +16 -0
- package/app/dist/content-types.js.map +1 -0
- package/app/dist/context.d.ts +92 -0
- package/app/dist/context.js +2 -0
- package/app/dist/context.js.map +1 -0
- package/app/dist/handler.d.ts +72 -0
- package/app/dist/handler.js +179 -0
- package/app/dist/handler.js.map +1 -0
- package/app/dist/index.d.ts +81 -0
- package/app/dist/index.js +345 -0
- package/app/dist/index.js.map +1 -0
- package/app/dist/lib/apply-plan.d.ts +29 -0
- package/app/dist/lib/apply-plan.js +65 -0
- package/app/dist/lib/apply-plan.js.map +1 -0
- package/app/dist/lib/chat.d.ts +104 -0
- package/app/dist/lib/chat.js +72 -0
- package/app/dist/lib/chat.js.map +1 -0
- package/app/dist/lib/names.d.ts +4 -0
- package/app/dist/lib/names.js +11 -0
- package/app/dist/lib/names.js.map +1 -0
- package/app/dist/login/admission.d.ts +16 -0
- package/app/dist/login/admission.js +63 -0
- package/app/dist/login/admission.js.map +1 -0
- package/app/dist/login/keys.d.ts +32 -0
- package/app/dist/login/keys.js +60 -0
- package/app/dist/login/keys.js.map +1 -0
- package/app/dist/login/page.d.ts +23 -0
- package/app/dist/login/page.js +95 -0
- package/app/dist/login/page.js.map +1 -0
- package/app/dist/login/public.d.ts +30 -0
- package/app/dist/login/public.js +101 -0
- package/app/dist/login/public.js.map +1 -0
- package/app/dist/login/staff.d.ts +23 -0
- package/app/dist/login/staff.js +330 -0
- package/app/dist/login/staff.js.map +1 -0
- package/app/dist/loopback.d.ts +32 -0
- package/app/dist/loopback.js +84 -0
- package/app/dist/loopback.js.map +1 -0
- package/app/dist/seo.d.ts +33 -0
- package/app/dist/seo.js +66 -0
- package/app/dist/seo.js.map +1 -0
- package/app/dist/server/assets/_id-BViXAagq.js +689 -0
- package/app/dist/server/assets/_id-Dt9tTylX.js +19 -0
- package/app/dist/server/assets/_id-ce1EGp7Y.js +30 -0
- package/app/dist/server/assets/_id-wB8khGTz.js +82 -0
- package/app/dist/server/assets/_id-wuJIq2ZZ.js +13 -0
- package/app/dist/server/assets/_name-BGagGBjX.js +371 -0
- package/app/dist/server/assets/_name-BqFwnyf7.js +30 -0
- package/app/dist/server/assets/_name-D_-MhjNf.js +2951 -0
- package/app/dist/server/assets/_name-DntbHE-b.js +350 -0
- package/app/dist/server/assets/_tanstack-start-manifest_v-BljuBM-G.js +259 -0
- package/app/dist/server/assets/_vendor-CNB03LWX.js +137 -0
- package/app/dist/server/assets/_vendor-CcEviOki.js +20 -0
- package/app/dist/server/assets/actor-D6iA0pDg.js +94 -0
- package/app/dist/server/assets/app-chrome-BYS81Vnx.js +1410 -0
- package/app/dist/server/assets/app-scope-CXIgOFmi.js +79 -0
- package/app/dist/server/assets/apply-plan-ybBda6vQ.js +265 -0
- package/app/dist/server/assets/approval-Su315ikC.js +315 -0
- package/app/dist/server/assets/apps-Dbg2f5Lh.js +6 -0
- package/app/dist/server/assets/apps-xwQAehch.js +184 -0
- package/app/dist/server/assets/button-f9Lc8qLl.js +906 -0
- package/app/dist/server/assets/change-glance-CpArIbGS.js +142 -0
- package/app/dist/server/assets/changes-Bc_OiDBD.js +103 -0
- package/app/dist/server/assets/chat-DMN_hoKm.js +857 -0
- package/app/dist/server/assets/chat-button-LtA80MoR.js +19 -0
- package/app/dist/server/assets/chat-prompt-BYwbMxR6.js +10 -0
- package/app/dist/server/assets/clipboard-lnKxNXLI.js +70 -0
- package/app/dist/server/assets/code-COyt8L-n.js +123 -0
- package/app/dist/server/assets/common-CWHLj7KV.js +1036 -0
- package/app/dist/server/assets/connect-BpPiu5s6.js +165 -0
- package/app/dist/server/assets/connections-DBgb1bvX.js +1197 -0
- package/app/dist/server/assets/connectors-5a5_SlHO.js +186 -0
- package/app/dist/server/assets/content-B9KP-eh3.js +3 -0
- package/app/dist/server/assets/credentials-ud_Y68hx.js +187 -0
- package/app/dist/server/assets/data-aEdhwcqy.js +168 -0
- package/app/dist/server/assets/decidable-Dj5xIrIc.js +13 -0
- package/app/dist/server/assets/declaration-form-Dfg1yNuY.js +183 -0
- package/app/dist/server/assets/dialog-BGjiw3Dx.js +84 -0
- package/app/dist/server/assets/dropdown-menu-DAC3LWas.js +97 -0
- package/app/dist/server/assets/empty-plugin-adapters-CeuNAGfU.js +4 -0
- package/app/dist/server/assets/existing-B4d4NrC8.js +125 -0
- package/app/dist/server/assets/field-C0Xx_90s.js +94 -0
- package/app/dist/server/assets/functions-BvFYzabD.js +824 -0
- package/app/dist/server/assets/graph-qYOdoz2s.js +926 -0
- package/app/dist/server/assets/grid-diff-jTvp-8wS.js +171 -0
- package/app/dist/server/assets/hosting-bbn9UvDc.js +718 -0
- package/app/dist/server/assets/import-DIwvzHb6.js +730 -0
- package/app/dist/server/assets/inbox-D6R6sWBB.js +268 -0
- package/app/dist/server/assets/inbox-Dj-5FleF.js +65 -0
- package/app/dist/server/assets/input-D63gF3G2.js +14 -0
- package/app/dist/server/assets/item-BDSXoEr_.js +97 -0
- package/app/dist/server/assets/kit-D6EulwBe.js +489 -0
- package/app/dist/server/assets/lines-B4w04QZ0.js +27 -0
- package/app/dist/server/assets/middleware-B8JRLyxx.js +1420 -0
- package/app/dist/server/assets/motion-CAc7ab9u.js +35 -0
- package/app/dist/server/assets/names-B04Si-sV.js +9 -0
- package/app/dist/server/assets/native-select-DLa-He0n.js +37 -0
- package/app/dist/server/assets/people-CkU_AxrV.js +553 -0
- package/app/dist/server/assets/permissions-BfMcQqQb.js +256 -0
- package/app/dist/server/assets/permissions-grid-DWP9FAAS.js +91 -0
- package/app/dist/server/assets/route-BTT7nMJq.js +17 -0
- package/app/dist/server/assets/route-CF_8jQYY.js +22 -0
- package/app/dist/server/assets/router-BvYtxrVN.js +2334 -0
- package/app/dist/server/assets/runs-table-BBudn12Y.js +87 -0
- package/app/dist/server/assets/scenario-BXGTSTiP.js +141 -0
- package/app/dist/server/assets/scenario-graph-BErXIRgF.js +46 -0
- package/app/dist/server/assets/schema-DBT8KJsP.js +204 -0
- package/app/dist/server/assets/separator-8MZ7vR3f.js +13 -0
- package/app/dist/server/assets/sheet-5Cyp-4UW.js +74 -0
- package/app/dist/server/assets/site-icon-DJisMQUK.js +22 -0
- package/app/dist/server/assets/sites.index-1l0BtgVf.js +138 -0
- package/app/dist/server/assets/spinner-C1ZW08lp.js +15 -0
- package/app/dist/server/assets/start-CSU4irVK.js +75 -0
- package/app/dist/server/assets/start-form-DI60UOrc.js +399 -0
- package/app/dist/server/assets/table-DtPk_h_5.js +51 -0
- package/app/dist/server/assets/textarea-f0Ip5ed1.js +12 -0
- package/app/dist/server/assets/utils-wksS9pYh.js +138 -0
- package/app/dist/server/assets/who-are-you-ZGyMnpVi.js +122 -0
- package/app/dist/server/assets/workflow-Z99QWO42.js +115 -0
- package/app/dist/server/assets/workflow-view-C8X8U11S.js +1427 -0
- package/app/dist/server/assets/workflows-C0kJoGf1.js +344 -0
- package/app/dist/server/chat.d.ts +35 -0
- package/app/dist/server/chat.js +231 -0
- package/app/dist/server/chat.js.map +1 -0
- package/app/dist/server/core.d.ts +186 -0
- package/app/dist/server/core.js +716 -0
- package/app/dist/server/core.js.map +1 -0
- package/app/dist/server/go-live.d.ts +90 -0
- package/app/dist/server/go-live.js +351 -0
- package/app/dist/server/go-live.js.map +1 -0
- package/app/dist/server/models.d.ts +24 -0
- package/app/dist/server/models.js +42 -0
- package/app/dist/server/models.js.map +1 -0
- package/app/dist/server/people.d.ts +14 -0
- package/app/dist/server/people.js +41 -0
- package/app/dist/server/people.js.map +1 -0
- package/app/dist/server/secrets.d.ts +3 -0
- package/app/dist/server/secrets.js +5 -0
- package/app/dist/server/secrets.js.map +1 -0
- package/app/dist/server/server.js +7024 -0
- package/app/dist/server/setup.d.ts +75 -0
- package/app/dist/server/setup.js +308 -0
- package/app/dist/server/setup.js.map +1 -0
- package/app/dist/server/webhooks.d.ts +11 -0
- package/app/dist/server/webhooks.js +40 -0
- package/app/dist/server/webhooks.js.map +1 -0
- package/app/dist/site-path.d.ts +24 -0
- package/app/dist/site-path.js +27 -0
- package/app/dist/site-path.js.map +1 -0
- package/app/dist/snapshot-build.d.ts +23 -0
- package/app/dist/snapshot-build.js +255 -0
- package/app/dist/snapshot-build.js.map +1 -0
- package/app/dist/snapshot.d.ts +56 -0
- package/app/dist/snapshot.js +19 -0
- package/app/dist/snapshot.js.map +1 -0
- package/app/dist/steps/agent/acp.d.ts +116 -0
- package/app/dist/steps/agent/acp.js +788 -0
- package/app/dist/steps/agent/acp.js.map +1 -0
- package/app/dist/steps/agent/box-session.d.ts +46 -0
- package/app/dist/steps/agent/box-session.js +179 -0
- package/app/dist/steps/agent/box-session.js.map +1 -0
- package/app/dist/steps/agent/carrier.d.ts +56 -0
- package/app/dist/steps/agent/carrier.js +215 -0
- package/app/dist/steps/agent/carrier.js.map +1 -0
- package/app/dist/steps/agent/checkout.d.ts +73 -0
- package/app/dist/steps/agent/checkout.js +167 -0
- package/app/dist/steps/agent/checkout.js.map +1 -0
- package/app/dist/steps/agent/harness.d.ts +5 -0
- package/app/dist/steps/agent/harness.js +199 -0
- package/app/dist/steps/agent/harness.js.map +1 -0
- package/app/dist/steps/agent/local-box.d.ts +16 -0
- package/app/dist/steps/agent/local-box.js +37 -0
- package/app/dist/steps/agent/local-box.js.map +1 -0
- package/app/dist/steps/agent/loop.d.ts +3 -0
- package/app/dist/steps/agent/loop.js +60 -0
- package/app/dist/steps/agent/loop.js.map +1 -0
- package/app/dist/steps/agent/prompt.d.ts +9 -0
- package/app/dist/steps/agent/prompt.js +107 -0
- package/app/dist/steps/agent/prompt.js.map +1 -0
- package/app/dist/steps/agent/tools.d.ts +2814 -0
- package/app/dist/steps/agent/tools.js +248 -0
- package/app/dist/steps/agent/tools.js.map +1 -0
- package/app/dist/steps/agent/transcript.d.ts +19 -0
- package/app/dist/steps/agent/transcript.js +66 -0
- package/app/dist/steps/agent/transcript.js.map +1 -0
- package/app/dist/steps/agent/turn.d.ts +17 -0
- package/app/dist/steps/agent/turn.js +59 -0
- package/app/dist/steps/agent/turn.js.map +1 -0
- package/app/dist/steps/connect.d.ts +25 -0
- package/app/dist/steps/connect.js +141 -0
- package/app/dist/steps/connect.js.map +1 -0
- package/app/dist/steps/go-live.d.ts +40 -0
- package/app/dist/steps/go-live.js +310 -0
- package/app/dist/steps/go-live.js.map +1 -0
- package/app/dist/steps/index.d.ts +3 -0
- package/app/dist/steps/index.js +11 -0
- package/app/dist/steps/index.js.map +1 -0
- package/app/dist/steps/writes.d.ts +29 -0
- package/app/dist/steps/writes.js +174 -0
- package/app/dist/steps/writes.js.map +1 -0
- package/app/dist/stylesheet.json +1 -0
- package/app/src/actor.ts +130 -0
- package/app/src/api-client.ts +73 -0
- package/app/src/api.ts +686 -0
- package/app/src/app-bundle.ts +77 -0
- package/app/src/build.ts +907 -0
- package/app/src/bundle-build.ts +661 -0
- package/app/src/components/app-chrome.tsx +107 -0
- package/app/src/components/app-scope.tsx +98 -0
- package/app/src/components/apply-plan.tsx +191 -0
- package/app/src/components/approval.tsx +367 -0
- package/app/src/components/base-node.tsx +12 -0
- package/app/src/components/boundaries.tsx +64 -0
- package/app/src/components/change-decision.tsx +123 -0
- package/app/src/components/change-glance.tsx +44 -0
- package/app/src/components/chat-button.tsx +20 -0
- package/app/src/components/code.tsx +116 -0
- package/app/src/components/common.tsx +895 -0
- package/app/src/components/connections.tsx +844 -0
- package/app/src/components/credentials.tsx +219 -0
- package/app/src/components/data-grid.tsx +247 -0
- package/app/src/components/declaration-form.tsx +194 -0
- package/app/src/components/density.tsx +44 -0
- package/app/src/components/field-diff.tsx +91 -0
- package/app/src/components/go-live.tsx +669 -0
- package/app/src/components/graph.css +14 -0
- package/app/src/components/graph.tsx +563 -0
- package/app/src/components/grid/cell.tsx +149 -0
- package/app/src/components/grid/clipboard.ts +83 -0
- package/app/src/components/grid/collection.ts +476 -0
- package/app/src/components/grid/columns.tsx +357 -0
- package/app/src/components/grid/conflicts.tsx +81 -0
- package/app/src/components/grid/gestures.ts +169 -0
- package/app/src/components/grid/grid.tsx +760 -0
- package/app/src/components/grid/keys.ts +83 -0
- package/app/src/components/grid/plan.ts +389 -0
- package/app/src/components/grid/review.tsx +340 -0
- package/app/src/components/grid/staged.tsx +454 -0
- package/app/src/components/import/match.tsx +212 -0
- package/app/src/components/import/review.tsx +121 -0
- package/app/src/components/import/sheet.ts +166 -0
- package/app/src/components/import/upload.tsx +116 -0
- package/app/src/components/inspector.tsx +310 -0
- package/app/src/components/kit.tsx +276 -0
- package/app/src/components/ledger.tsx +344 -0
- package/app/src/components/new-run.tsx +114 -0
- package/app/src/components/permissions-diff.tsx +66 -0
- package/app/src/components/permissions-grid.tsx +133 -0
- package/app/src/components/record-form.tsx +208 -0
- package/app/src/components/record-history.tsx +119 -0
- package/app/src/components/runs-table.tsx +111 -0
- package/app/src/components/scenario.tsx +102 -0
- package/app/src/components/shell/bar.tsx +285 -0
- package/app/src/components/shell/chat-parts.tsx +326 -0
- package/app/src/components/shell/chat-prompt.ts +26 -0
- package/app/src/components/shell/chat.tsx +375 -0
- package/app/src/components/shell/draft-card.tsx +123 -0
- package/app/src/components/shell/nav-user.tsx +174 -0
- package/app/src/components/shell/prefs.ts +28 -0
- package/app/src/components/site-icon.tsx +17 -0
- package/app/src/components/store-move.tsx +313 -0
- package/app/src/components/ui/alert.tsx +55 -0
- package/app/src/components/ui/avatar.tsx +90 -0
- package/app/src/components/ui/badge.tsx +48 -0
- package/app/src/components/ui/breadcrumb.tsx +92 -0
- package/app/src/components/ui/button-group.tsx +78 -0
- package/app/src/components/ui/button.tsx +49 -0
- package/app/src/components/ui/card.tsx +69 -0
- package/app/src/components/ui/checkbox.tsx +25 -0
- package/app/src/components/ui/collapsible.tsx +15 -0
- package/app/src/components/ui/dialog.tsx +132 -0
- package/app/src/components/ui/dropdown-menu.tsx +252 -0
- package/app/src/components/ui/empty.tsx +86 -0
- package/app/src/components/ui/field.tsx +218 -0
- package/app/src/components/ui/input.tsx +19 -0
- package/app/src/components/ui/item.tsx +179 -0
- package/app/src/components/ui/label.tsx +17 -0
- package/app/src/components/ui/native-select.tsx +47 -0
- package/app/src/components/ui/popover.tsx +62 -0
- package/app/src/components/ui/separator.tsx +18 -0
- package/app/src/components/ui/sheet.tsx +102 -0
- package/app/src/components/ui/skeleton.tsx +7 -0
- package/app/src/components/ui/slider.tsx +40 -0
- package/app/src/components/ui/sonner.tsx +41 -0
- package/app/src/components/ui/spinner.tsx +17 -0
- package/app/src/components/ui/table.tsx +72 -0
- package/app/src/components/ui/tabs.tsx +68 -0
- package/app/src/components/ui/textarea.tsx +17 -0
- package/app/src/components/ui/tooltip.tsx +51 -0
- package/app/src/components/who-are-you.tsx +128 -0
- package/app/src/components/workflow-runs.tsx +213 -0
- package/app/src/components/workflow-view.tsx +293 -0
- package/app/src/components/workflow.tsx +142 -0
- package/app/src/components/zoom-slider.tsx +69 -0
- package/app/src/content-files.ts +248 -0
- package/app/src/content-types.ts +49 -0
- package/app/src/content.ts +49 -0
- package/app/src/context.ts +91 -0
- package/app/src/dev-imports.ts +5 -0
- package/app/src/env.d.ts +48 -0
- package/app/src/form/run-form.tsx +45 -0
- package/app/src/form/schema.ts +308 -0
- package/app/src/form/secure-fields.ts +42 -0
- package/app/src/form/start-form.tsx +427 -0
- package/app/src/form/will-ask.tsx +25 -0
- package/app/src/functions.ts +300 -0
- package/app/src/graph/layout.ts +238 -0
- package/app/src/graph/outline-graph.ts +123 -0
- package/app/src/graph/run-graph.ts +193 -0
- package/app/src/graph/scenario-graph.ts +48 -0
- package/app/src/graph/types.ts +144 -0
- package/app/src/graph/wildcard.ts +40 -0
- package/app/src/handler.ts +257 -0
- package/app/src/icon-small.svg +1 -0
- package/app/src/icon.svg +1 -0
- package/app/src/index.ts +455 -0
- package/app/src/lib/apply-plan.ts +79 -0
- package/app/src/lib/apps.ts +10 -0
- package/app/src/lib/changes.ts +86 -0
- package/app/src/lib/chat.ts +146 -0
- package/app/src/lib/cn-tables.ts +116 -0
- package/app/src/lib/decidable.ts +21 -0
- package/app/src/lib/desktop.ts +52 -0
- package/app/src/lib/grid-diff.ts +205 -0
- package/app/src/lib/inbox.ts +59 -0
- package/app/src/lib/lines.ts +31 -0
- package/app/src/lib/locales.ts +101 -0
- package/app/src/lib/motion.ts +17 -0
- package/app/src/lib/names.ts +12 -0
- package/app/src/lib/preview.ts +49 -0
- package/app/src/lib/records.ts +56 -0
- package/app/src/lib/sites.ts +92 -0
- package/app/src/lib/time.ts +10 -0
- package/app/src/lib/tone.ts +78 -0
- package/app/src/lib/utils.ts +13 -0
- package/app/src/login/admission.ts +72 -0
- package/app/src/login/keys.ts +65 -0
- package/app/src/login/page.ts +119 -0
- package/app/src/login/public.ts +138 -0
- package/app/src/login/staff.ts +399 -0
- package/app/src/loopback.ts +96 -0
- package/app/src/middleware.ts +26 -0
- package/app/src/public-fns.ts +5 -0
- package/app/src/queries.ts +859 -0
- package/app/src/router.tsx +45 -0
- package/app/src/routes/__root.tsx +223 -0
- package/app/src/routes/api/call.ts +17 -0
- package/app/src/routes/api/chat.ts +15 -0
- package/app/src/routes/api/sign-in.ts +14 -0
- package/app/src/routes/apps/$name.tsx +380 -0
- package/app/src/routes/apps/index.tsx +204 -0
- package/app/src/routes/apps/route.tsx +8 -0
- package/app/src/routes/changes/$id.tsx +205 -0
- package/app/src/routes/changes/index.tsx +103 -0
- package/app/src/routes/changes/route.tsx +8 -0
- package/app/src/routes/connect/$vendor/callback.ts +9 -0
- package/app/src/routes/connectors/$vendor.tsx +184 -0
- package/app/src/routes/connectors/index.tsx +194 -0
- package/app/src/routes/connectors/route.tsx +8 -0
- package/app/src/routes/data/$name/import.tsx +177 -0
- package/app/src/routes/data/$name/index.tsx +266 -0
- package/app/src/routes/data/$name/route.tsx +18 -0
- package/app/src/routes/data/index.tsx +178 -0
- package/app/src/routes/data/route.tsx +11 -0
- package/app/src/routes/hosting/connect.tsx +156 -0
- package/app/src/routes/hosting/existing.tsx +115 -0
- package/app/src/routes/hosting/index.tsx +845 -0
- package/app/src/routes/hosting/route.tsx +11 -0
- package/app/src/routes/inbox.tsx +310 -0
- package/app/src/routes/index.tsx +8 -0
- package/app/src/routes/people.tsx +624 -0
- package/app/src/routes/permissions.tsx +284 -0
- package/app/src/routes/resources.tsx +10 -0
- package/app/src/routes/runs/$id.tsx +14 -0
- package/app/src/routes/runs/index.tsx +8 -0
- package/app/src/routes/setup/connect.tsx +10 -0
- package/app/src/routes/setup/existing.tsx +8 -0
- package/app/src/routes/setup/github/callback.ts +7 -0
- package/app/src/routes/setup/github/manifest.ts +7 -0
- package/app/src/routes/setup/index.tsx +8 -0
- package/app/src/routes/sites.index.tsx +131 -0
- package/app/src/routes/start.tsx +15 -0
- package/app/src/routes/workflows/$name/index.tsx +140 -0
- package/app/src/routes/workflows/$name/new.tsx +11 -0
- package/app/src/routes/workflows/$name/route.tsx +58 -0
- package/app/src/routes/workflows/$name/runs/$id.tsx +97 -0
- package/app/src/routes/workflows/index.tsx +413 -0
- package/app/src/routes/workflows/route.tsx +11 -0
- package/app/src/seo.ts +94 -0
- package/app/src/server/available.ts +89 -0
- package/app/src/server/chat.ts +249 -0
- package/app/src/server/columns.ts +52 -0
- package/app/src/server/connect.ts +89 -0
- package/app/src/server/core.ts +889 -0
- package/app/src/server/go-live.ts +420 -0
- package/app/src/server/host-derived.ts +72 -0
- package/app/src/server/models.ts +52 -0
- package/app/src/server/people.ts +51 -0
- package/app/src/server/secrets.ts +6 -0
- package/app/src/server/setup.ts +335 -0
- package/app/src/server/webhooks.ts +38 -0
- package/app/src/server.ts +4 -0
- package/app/src/site-path.ts +35 -0
- package/app/src/site-url.ts +53 -0
- package/app/src/site.ts +154 -0
- package/app/src/snapshot-build.ts +288 -0
- package/app/src/snapshot.ts +69 -0
- package/app/src/start.ts +63 -0
- package/app/src/steps/agent/acp.ts +918 -0
- package/app/src/steps/agent/box-session.ts +230 -0
- package/app/src/steps/agent/carrier.ts +242 -0
- package/app/src/steps/agent/checkout.ts +222 -0
- package/app/src/steps/agent/harness.ts +265 -0
- package/app/src/steps/agent/local-box.ts +40 -0
- package/app/src/steps/agent/loop.ts +80 -0
- package/app/src/steps/agent/prompt.ts +124 -0
- package/app/src/steps/agent/tools.ts +300 -0
- package/app/src/steps/agent/transcript.ts +95 -0
- package/app/src/steps/agent/turn.ts +63 -0
- package/app/src/steps/connect.ts +151 -0
- package/app/src/steps/go-live.ts +358 -0
- package/app/src/steps/index.ts +13 -0
- package/app/src/steps/writes.ts +200 -0
- package/app/src/style.css +69 -0
- package/app/src/ui.css +301 -0
- package/app/src/ui.ts +147 -0
- package/app/src/worker/app.ts +189 -0
- package/app/src/worker/assets.ts +12 -0
- package/app/src/worker/main.ts +32 -0
- package/app/src/worker/missing.js +13 -0
- package/app/tsconfig.site.json +20 -0
- package/better-auth/README.md +115 -0
- package/better-auth/dist/connector.d.ts +5 -0
- package/better-auth/dist/connector.js +14 -0
- package/better-auth/dist/connector.js.map +1 -0
- package/better-auth/dist/db/staff.d.ts +695 -0
- package/better-auth/dist/db/staff.js +4 -0
- package/better-auth/dist/db/staff.js.map +1 -0
- package/better-auth/dist/db/tables.d.ts +702 -0
- package/better-auth/dist/db/tables.js +69 -0
- package/better-auth/dist/db/tables.js.map +1 -0
- package/better-auth/dist/db/visitors.d.ts +695 -0
- package/better-auth/dist/db/visitors.js +4 -0
- package/better-auth/dist/db/visitors.js.map +1 -0
- package/better-auth/dist/index.d.ts +11 -0
- package/better-auth/dist/index.js +16 -0
- package/better-auth/dist/index.js.map +1 -0
- package/better-auth/dist/instance.d.ts +716 -0
- package/better-auth/dist/instance.js +210 -0
- package/better-auth/dist/instance.js.map +1 -0
- package/better-auth/dist/login.d.ts +13 -0
- package/better-auth/dist/login.js +139 -0
- package/better-auth/dist/login.js.map +1 -0
- package/better-auth/dist/staff.d.ts +12 -0
- package/better-auth/dist/staff.js +254 -0
- package/better-auth/dist/staff.js.map +1 -0
- package/better-auth/drizzle/staff/0000_closed_toro.sql +64 -0
- package/better-auth/drizzle/staff/meta/0000_snapshot.json +431 -0
- package/better-auth/drizzle/staff/meta/_journal.json +13 -0
- package/better-auth/drizzle/visitors/0000_natural_dexter_bennett.sql +64 -0
- package/better-auth/drizzle/visitors/meta/0000_snapshot.json +431 -0
- package/better-auth/drizzle/visitors/meta/_journal.json +13 -0
- package/bridge/README.md +146 -0
- package/bridge/dist/bin.d.ts +20 -0
- package/bridge/dist/bin.js +37 -0
- package/bridge/dist/bin.js.map +1 -0
- package/bridge/dist/bridge.d.ts +159 -0
- package/bridge/dist/bridge.js +189 -0
- package/bridge/dist/bridge.js.map +1 -0
- package/bridge/dist/client.d.ts +37 -0
- package/bridge/dist/client.js +118 -0
- package/bridge/dist/client.js.map +1 -0
- package/bridge/dist/configure.d.ts +5 -0
- package/bridge/dist/configure.js +17 -0
- package/bridge/dist/configure.js.map +1 -0
- package/bridge/dist/connector.d.ts +164 -0
- package/bridge/dist/connector.js +335 -0
- package/bridge/dist/connector.js.map +1 -0
- package/bridge/dist/fake.d.ts +4 -0
- package/bridge/dist/fake.js +4 -0
- package/bridge/dist/fake.js.map +1 -0
- package/bridge/dist/fixtures.d.ts +36 -0
- package/bridge/dist/fixtures.js +18 -0
- package/bridge/dist/fixtures.js.map +1 -0
- package/bridge/dist/gen/bridge/v1/bridge_pb.d.ts +694 -0
- package/bridge/dist/gen/bridge/v1/bridge_pb.js +173 -0
- package/bridge/dist/gen/bridge/v1/bridge_pb.js.map +1 -0
- package/bridge/dist/index.d.ts +6 -0
- package/bridge/dist/index.js +7 -0
- package/bridge/dist/index.js.map +1 -0
- package/bridge/dist/json.d.ts +7 -0
- package/bridge/dist/json.js +5 -0
- package/bridge/dist/json.js.map +1 -0
- package/bridge/dist/lazy.d.ts +20 -0
- package/bridge/dist/lazy.js +60 -0
- package/bridge/dist/lazy.js.map +1 -0
- package/bridge/dist/pins.d.ts +12 -0
- package/bridge/dist/pins.js +17 -0
- package/bridge/dist/pins.js.map +1 -0
- package/bridge/dist/replies.d.ts +79 -0
- package/bridge/dist/replies.js +217 -0
- package/bridge/dist/replies.js.map +1 -0
- package/bridge/dist/schema.d.ts +65 -0
- package/bridge/dist/schema.js +9 -0
- package/bridge/dist/schema.js.map +1 -0
- package/bridge/dist/tffake.d.ts +57 -0
- package/bridge/dist/tffake.js +105 -0
- package/bridge/dist/tffake.js.map +1 -0
- package/bridge/dist/tfschema/cli.d.ts +10 -0
- package/bridge/dist/tfschema/cli.js +57 -0
- package/bridge/dist/tfschema/cli.js.map +1 -0
- package/bridge/dist/tfschema/ctyToZod.d.ts +20 -0
- package/bridge/dist/tfschema/ctyToZod.js +49 -0
- package/bridge/dist/tfschema/ctyToZod.js.map +1 -0
- package/bridge/dist/tfschema/generate.d.ts +16 -0
- package/bridge/dist/tfschema/generate.js +159 -0
- package/bridge/dist/tfschema/generate.js.map +1 -0
- package/bridge/dist/tfschema/state.d.ts +14 -0
- package/bridge/dist/tfschema/state.js +51 -0
- package/bridge/dist/tfschema/state.js.map +1 -0
- package/bridge/dist/tfschema/types.d.ts +52 -0
- package/bridge/dist/tfschema/types.js +2 -0
- package/bridge/dist/tfschema/types.js.map +1 -0
- package/bridge/dist/tfschema.d.ts +4 -0
- package/bridge/dist/tfschema.js +8 -0
- package/bridge/dist/tfschema.js.map +1 -0
- package/bridge/testdata/README.md +64 -0
- package/bridge/testdata/pins.json +27 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_branch_protection/provider-bridge_main/import.json +32 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository/provider-bridge/import.json +30 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository/provider-bridge/read.json +29 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository/sanoma/import.json +30 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository/sanoma/read.json +29 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository/sanoma-apply-test/apply.json +29 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository/sanoma-apply-test/plan.json +40 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository/sanoma-apply-test-delete/apply.json +23 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository/sanoma-apply-test-delete/plan.json +25 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository/sanoma-apply-test-update-1/apply.json +33 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository/sanoma-apply-test-update-1/plan.json +32 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_collaborator/provider-bridge_notsaltylol/import.json +29 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_collaborator/provider-bridge_notsaltylol/read.json +28 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_collaborator/provider-bridge_octocat/import.json +27 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_collaborator/sanoma-apply-test-collaborator/apply.json +28 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_collaborator/sanoma-apply-test-collaborator/plan.json +29 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_collaborator/sanoma-apply-test-collaborator-delete/apply.json +21 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_collaborator/sanoma-apply-test-collaborator-delete/plan.json +23 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_collaborator/sanoma-apply-test-collaborator-update-1/apply-delete.json +21 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_collaborator/sanoma-apply-test-collaborator-update-1/apply.json +28 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_collaborator/sanoma-apply-test-collaborator-update-1/plan.json +33 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_collaborator/sanoma-apply-test_octocat/import.json +29 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_collaborator/sanoma-apply-test_octocat/read.json +28 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_deploy_key/sanoma-apply-test-key/apply.json +27 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_deploy_key/sanoma-apply-test-key/plan.json +29 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_deploy_key/sanoma-apply-test-key-delete/apply.json +21 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_deploy_key/sanoma-apply-test-key-delete/plan.json +23 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_deploy_key/sanoma-apply-test_1000000101/import.json +28 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_deploy_key/sanoma-apply-test_1000000101/read.json +26 -0
- package/bridge/testdata/replies/kreuzwerker_docker_4.6.0/docker_container/484189f591100781981bb24cb4e365c4ae74db9eb1a0ff03489a7e061b339132/import.json +28 -0
- package/bridge/testdata/replies/kreuzwerker_docker_4.6.0/docker_container/484189f591100781981bb24cb4e365c4ae74db9eb1a0ff03489a7e061b339132-aede5c47/apply-delete.json +21 -0
- package/bridge/testdata/replies/kreuzwerker_docker_4.6.0/docker_container/484189f591100781981bb24cb4e365c4ae74db9eb1a0ff03489a7e061b339132-aede5c47/apply.json +28 -0
- package/bridge/testdata/replies/kreuzwerker_docker_4.6.0/docker_container/484189f591100781981bb24cb4e365c4ae74db9eb1a0ff03489a7e061b339132-aede5c47/plan.json +49 -0
- package/bridge/testdata/replies/kreuzwerker_docker_4.6.0/docker_container/484189f591100781981bb24cb4e365c4ae74db9eb1a0ff03489a7e061b339132-c0239934/plan.json +27 -0
- package/bridge/testdata/replies/kreuzwerker_docker_4.6.0/docker_container/8a4dfc1ebfe1b74d277a6e4017921d06e302d4c10fe6999e8ab5cb1522dcb2ad/import.json +25 -0
- package/bridge/testdata/replies/kreuzwerker_docker_4.6.0/docker_container/8a4dfc1ebfe1b74d277a6e4017921d06e302d4c10fe6999e8ab5cb1522dcb2ad-delete/apply.json +21 -0
- package/bridge/testdata/replies/kreuzwerker_docker_4.6.0/docker_container/8a4dfc1ebfe1b74d277a6e4017921d06e302d4c10fe6999e8ab5cb1522dcb2ad-delete/plan.json +23 -0
- package/bridge/testdata/replies/kreuzwerker_docker_4.6.0/docker_container/create-2463512b/apply.json +28 -0
- package/bridge/testdata/replies/kreuzwerker_docker_4.6.0/docker_container/create-2463512b/plan.json +42 -0
- package/bridge/testdata/schemas/integrations_github_6.13.0.json +10680 -0
- package/bridge/testdata/schemas/kreuzwerker_docker_4.6.0.json +4833 -0
- package/bridge/testdata/schemas/stripe_stripe_0.3.0.json +55612 -0
- package/bridge/testdata/schemas/supabase_supabase_1.11.0.json +790 -0
- package/dev/README.md +33 -0
- package/dev/dist/cli.d.ts +5 -0
- package/dev/dist/cli.js +120 -0
- package/dev/dist/cli.js.map +1 -0
- package/dev/dist/links.d.ts +33 -0
- package/dev/dist/links.js +86 -0
- package/dev/dist/links.js.map +1 -0
- package/dist/check.d.ts +1 -1
- package/dist/check.js +8 -8
- package/dist/check.js.map +1 -1
- package/dist/cli.js +29 -25
- package/dist/cli.js.map +1 -1
- package/dist/config.d.ts +1 -4
- package/dist/config.js +2 -4
- package/dist/config.js.map +1 -1
- package/dist/dev.d.ts +5 -8
- package/dist/dev.js +13 -50
- package/dist/dev.js.map +1 -1
- package/dist/env.js +1 -1
- package/dist/env.js.map +1 -1
- package/dist/events.d.ts +1 -1
- package/dist/identity.js +1 -1
- package/dist/identity.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/init.d.ts +4 -6
- package/dist/init.js +21 -15
- package/dist/init.js.map +1 -1
- package/dist/key.js +1 -1
- package/dist/key.js.map +1 -1
- package/dist/ledger.d.ts +1 -1
- package/dist/ledger.js +1 -1
- package/dist/ledger.js.map +1 -1
- package/dist/listen.d.ts +1 -1
- package/dist/listen.js +1 -1
- package/dist/listen.js.map +1 -1
- package/dist/oxlint-plugin.js +2 -2
- package/dist/oxlint-plugin.js.map +1 -1
- package/dist/postgres.js +1 -1
- package/dist/postgres.js.map +1 -1
- package/dist/serve.d.ts +4 -4
- package/dist/serve.js +9 -10
- package/dist/serve.js.map +1 -1
- package/dist/sites.d.ts +2 -7
- package/dist/sites.js +4 -10
- package/dist/sites.js.map +1 -1
- package/dist/source.d.ts +2 -1
- package/dist/source.js +54 -3
- package/dist/source.js.map +1 -1
- package/dist/wakeup.js +1 -1
- package/dist/wakeup.js.map +1 -1
- package/dist/worker-port.d.ts +2 -2
- package/dist/worker-port.js +2 -2
- package/dist/worker-port.js.map +1 -1
- package/oxlint.json +283 -47
- package/package.json +321 -34
- package/template/AGENTS.md +2 -2
- package/testing/README.md +261 -0
- package/testing/dist/build.d.ts +16 -0
- package/testing/dist/build.js +95 -0
- package/testing/dist/build.js.map +1 -0
- package/testing/dist/database.d.ts +96 -0
- package/testing/dist/database.js +213 -0
- package/testing/dist/database.js.map +1 -0
- package/testing/dist/features.d.ts +25 -0
- package/testing/dist/features.js +176 -0
- package/testing/dist/features.js.map +1 -0
- package/testing/dist/harness.d.ts +27 -0
- package/testing/dist/harness.js +63 -0
- package/testing/dist/harness.js.map +1 -0
- package/testing/dist/host.d.ts +229 -0
- package/testing/dist/host.js +738 -0
- package/testing/dist/host.js.map +1 -0
- package/testing/dist/index.d.ts +36 -0
- package/testing/dist/index.js +41 -0
- package/testing/dist/index.js.map +1 -0
- package/testing/dist/replay.d.ts +44 -0
- package/testing/dist/replay.js +95 -0
- package/testing/dist/replay.js.map +1 -0
- package/testing/dist/sandbox.d.ts +59 -0
- package/testing/dist/sandbox.js +201 -0
- package/testing/dist/sandbox.js.map +1 -0
- package/testing/dist/scenarios.d.ts +17 -0
- package/testing/dist/scenarios.js +64 -0
- package/testing/dist/scenarios.js.map +1 -0
- package/testing/dist/sentinel.d.ts +19 -0
- package/testing/dist/sentinel.js +54 -0
- package/testing/dist/sentinel.js.map +1 -0
- package/testing/dist/wakeup.d.ts +114 -0
- package/testing/dist/wakeup.js +288 -0
- package/testing/dist/wakeup.js.map +1 -0
- package/workflows/CLOUD-IDENTITY.md +333 -0
- package/workflows/KMS-SECRETS.md +167 -0
- package/workflows/README.md +990 -0
- package/workflows/SECRET-SUPPORT.md +72 -0
- package/workflows/dist/app-steps.d.ts +17 -0
- package/workflows/dist/app-steps.js +43 -0
- package/workflows/dist/app-steps.js.map +1 -0
- package/workflows/dist/app-workflows.d.ts +174 -0
- package/workflows/dist/app-workflows.js +117 -0
- package/workflows/dist/app-workflows.js.map +1 -0
- package/workflows/dist/apply-steps.d.ts +8 -0
- package/workflows/dist/apply-steps.js +92 -0
- package/workflows/dist/apply-steps.js.map +1 -0
- package/workflows/dist/apply.d.ts +213 -0
- package/workflows/dist/apply.js +634 -0
- package/workflows/dist/apply.js.map +1 -0
- package/workflows/dist/approvals.d.ts +77 -0
- package/workflows/dist/approvals.js +211 -0
- package/workflows/dist/approvals.js.map +1 -0
- package/workflows/dist/apps-list.d.ts +116 -0
- package/workflows/dist/apps-list.js +150 -0
- package/workflows/dist/apps-list.js.map +1 -0
- package/workflows/dist/apps.d.ts +31 -0
- package/workflows/dist/apps.js +138 -0
- package/workflows/dist/apps.js.map +1 -0
- package/workflows/dist/ast.d.ts +59 -0
- package/workflows/dist/ast.js +83 -0
- package/workflows/dist/ast.js.map +1 -0
- package/workflows/dist/authentication.d.ts +140 -0
- package/workflows/dist/authentication.js +190 -0
- package/workflows/dist/authentication.js.map +1 -0
- package/workflows/dist/bundled.d.ts +39 -0
- package/workflows/dist/bundled.js +16 -0
- package/workflows/dist/bundled.js.map +1 -0
- package/workflows/dist/call-workflow.d.ts +21 -0
- package/workflows/dist/call-workflow.js +35 -0
- package/workflows/dist/call-workflow.js.map +1 -0
- package/workflows/dist/call.d.ts +104 -0
- package/workflows/dist/call.js +660 -0
- package/workflows/dist/call.js.map +1 -0
- package/workflows/dist/cedar.d.ts +109 -0
- package/workflows/dist/cedar.js +533 -0
- package/workflows/dist/cedar.js.map +1 -0
- package/workflows/dist/change-steps.d.ts +10 -0
- package/workflows/dist/change-steps.js +200 -0
- package/workflows/dist/change-steps.js.map +1 -0
- package/workflows/dist/change-workflow.d.ts +54 -0
- package/workflows/dist/change-workflow.js +161 -0
- package/workflows/dist/change-workflow.js.map +1 -0
- package/workflows/dist/change.d.ts +330 -0
- package/workflows/dist/change.js +351 -0
- package/workflows/dist/change.js.map +1 -0
- package/workflows/dist/chat-steps.d.ts +5 -0
- package/workflows/dist/chat-steps.js +107 -0
- package/workflows/dist/chat-steps.js.map +1 -0
- package/workflows/dist/chat-workflow.d.ts +43 -0
- package/workflows/dist/chat-workflow.js +47 -0
- package/workflows/dist/chat-workflow.js.map +1 -0
- package/workflows/dist/chats.d.ts +62 -0
- package/workflows/dist/chats.js +109 -0
- package/workflows/dist/chats.js.map +1 -0
- package/workflows/dist/claims.d.ts +58 -0
- package/workflows/dist/claims.js +27 -0
- package/workflows/dist/claims.js.map +1 -0
- package/workflows/dist/client.d.ts +563 -0
- package/workflows/dist/client.js +1464 -0
- package/workflows/dist/client.js.map +1 -0
- package/workflows/dist/cloud-identity.d.ts +56 -0
- package/workflows/dist/cloud-identity.js +160 -0
- package/workflows/dist/cloud-identity.js.map +1 -0
- package/workflows/dist/collection.d.ts +139 -0
- package/workflows/dist/collection.js +522 -0
- package/workflows/dist/collection.js.map +1 -0
- package/workflows/dist/config.d.ts +328 -0
- package/workflows/dist/config.js +857 -0
- package/workflows/dist/config.js.map +1 -0
- package/workflows/dist/connect-workflow.d.ts +6 -0
- package/workflows/dist/connect-workflow.js +35 -0
- package/workflows/dist/connect-workflow.js.map +1 -0
- package/workflows/dist/connection.d.ts +669 -0
- package/workflows/dist/connection.js +1228 -0
- package/workflows/dist/connection.js.map +1 -0
- package/workflows/dist/constructors.d.ts +38 -0
- package/workflows/dist/constructors.js +9 -0
- package/workflows/dist/constructors.js.map +1 -0
- package/workflows/dist/credentials.d.ts +24 -0
- package/workflows/dist/credentials.js +168 -0
- package/workflows/dist/credentials.js.map +1 -0
- package/workflows/dist/cucumber.d.ts +66 -0
- package/workflows/dist/cucumber.js +163 -0
- package/workflows/dist/cucumber.js.map +1 -0
- package/workflows/dist/data.d.ts +2 -0
- package/workflows/dist/data.js +3 -0
- package/workflows/dist/data.js.map +1 -0
- package/workflows/dist/database.d.ts +83 -0
- package/workflows/dist/database.js +95 -0
- package/workflows/dist/database.js.map +1 -0
- package/workflows/dist/db/company.d.ts +2351 -0
- package/workflows/dist/db/company.js +245 -0
- package/workflows/dist/db/company.js.map +1 -0
- package/workflows/dist/db/dbos.d.ts +111 -0
- package/workflows/dist/db/dbos.js +15 -0
- package/workflows/dist/db/dbos.js.map +1 -0
- package/workflows/dist/db/identity.d.ts +367 -0
- package/workflows/dist/db/identity.js +48 -0
- package/workflows/dist/db/identity.js.map +1 -0
- package/workflows/dist/db/index.d.ts +7 -0
- package/workflows/dist/db/index.js +12 -0
- package/workflows/dist/db/index.js.map +1 -0
- package/workflows/dist/db/kms.d.ts +224 -0
- package/workflows/dist/db/kms.js +29 -0
- package/workflows/dist/db/kms.js.map +1 -0
- package/workflows/dist/db/migrate.d.ts +66 -0
- package/workflows/dist/db/migrate.js +39 -0
- package/workflows/dist/db/migrate.js.map +1 -0
- package/workflows/dist/db/wakeup.d.ts +271 -0
- package/workflows/dist/db/wakeup.js +34 -0
- package/workflows/dist/db/wakeup.js.map +1 -0
- package/workflows/dist/db.d.ts +117 -0
- package/workflows/dist/db.js +375 -0
- package/workflows/dist/db.js.map +1 -0
- package/workflows/dist/deadlines.d.ts +107 -0
- package/workflows/dist/deadlines.js +208 -0
- package/workflows/dist/deadlines.js.map +1 -0
- package/workflows/dist/define.d.ts +288 -0
- package/workflows/dist/define.js +152 -0
- package/workflows/dist/define.js.map +1 -0
- package/workflows/dist/definitions.d.ts +25 -0
- package/workflows/dist/definitions.js +16 -0
- package/workflows/dist/definitions.js.map +1 -0
- package/workflows/dist/deployment-key.d.ts +24 -0
- package/workflows/dist/deployment-key.js +54 -0
- package/workflows/dist/deployment-key.js.map +1 -0
- package/workflows/dist/describe.d.ts +40 -0
- package/workflows/dist/describe.js +435 -0
- package/workflows/dist/describe.js.map +1 -0
- package/workflows/dist/description.d.ts +555 -0
- package/workflows/dist/description.js +389 -0
- package/workflows/dist/description.js.map +1 -0
- package/workflows/dist/direct.d.ts +10 -0
- package/workflows/dist/direct.js +26 -0
- package/workflows/dist/direct.js.map +1 -0
- package/workflows/dist/dns.d.ts +20 -0
- package/workflows/dist/dns.js +26 -0
- package/workflows/dist/dns.js.map +1 -0
- package/workflows/dist/drift.d.ts +136 -0
- package/workflows/dist/drift.js +188 -0
- package/workflows/dist/drift.js.map +1 -0
- package/workflows/dist/env.d.ts +51 -0
- package/workflows/dist/env.js +83 -0
- package/workflows/dist/env.js.map +1 -0
- package/workflows/dist/errors.d.ts +115 -0
- package/workflows/dist/errors.js +193 -0
- package/workflows/dist/errors.js.map +1 -0
- package/workflows/dist/expectations.d.ts +26 -0
- package/workflows/dist/expectations.js +171 -0
- package/workflows/dist/expectations.js.map +1 -0
- package/workflows/dist/fake.d.ts +93 -0
- package/workflows/dist/fake.js +280 -0
- package/workflows/dist/fake.js.map +1 -0
- package/workflows/dist/fill.d.ts +17 -0
- package/workflows/dist/fill.js +39 -0
- package/workflows/dist/fill.js.map +1 -0
- package/workflows/dist/folded.d.ts +7 -0
- package/workflows/dist/folded.js +28 -0
- package/workflows/dist/folded.js.map +1 -0
- package/workflows/dist/follow-steps.d.ts +8 -0
- package/workflows/dist/follow-steps.js +113 -0
- package/workflows/dist/follow-steps.js.map +1 -0
- package/workflows/dist/follow-workflow.d.ts +56 -0
- package/workflows/dist/follow-workflow.js +50 -0
- package/workflows/dist/follow-workflow.js.map +1 -0
- package/workflows/dist/grid.d.ts +34 -0
- package/workflows/dist/grid.js +63 -0
- package/workflows/dist/grid.js.map +1 -0
- package/workflows/dist/host-derive.d.ts +162 -0
- package/workflows/dist/host-derive.js +438 -0
- package/workflows/dist/host-derive.js.map +1 -0
- package/workflows/dist/host.d.ts +158 -0
- package/workflows/dist/host.js +112 -0
- package/workflows/dist/host.js.map +1 -0
- package/workflows/dist/identity-broker.d.ts +14 -0
- package/workflows/dist/identity-broker.js +84 -0
- package/workflows/dist/identity-broker.js.map +1 -0
- package/workflows/dist/identity-provisioning.d.ts +50 -0
- package/workflows/dist/identity-provisioning.js +304 -0
- package/workflows/dist/identity-provisioning.js.map +1 -0
- package/workflows/dist/identity-service.d.ts +25 -0
- package/workflows/dist/identity-service.js +152 -0
- package/workflows/dist/identity-service.js.map +1 -0
- package/workflows/dist/import-workflow.d.ts +4 -0
- package/workflows/dist/import-workflow.js +120 -0
- package/workflows/dist/import-workflow.js.map +1 -0
- package/workflows/dist/import.d.ts +94 -0
- package/workflows/dist/import.js +161 -0
- package/workflows/dist/import.js.map +1 -0
- package/workflows/dist/index.d.ts +66 -0
- package/workflows/dist/index.js +73 -0
- package/workflows/dist/index.js.map +1 -0
- package/workflows/dist/kms-secrets.d.ts +48 -0
- package/workflows/dist/kms-secrets.js +320 -0
- package/workflows/dist/kms-secrets.js.map +1 -0
- package/workflows/dist/ledger.d.ts +281 -0
- package/workflows/dist/ledger.js +335 -0
- package/workflows/dist/ledger.js.map +1 -0
- package/workflows/dist/lint.d.ts +24 -0
- package/workflows/dist/lint.js +185 -0
- package/workflows/dist/lint.js.map +1 -0
- package/workflows/dist/load.d.ts +85 -0
- package/workflows/dist/load.js +407 -0
- package/workflows/dist/load.js.map +1 -0
- package/workflows/dist/local-sandbox.d.ts +17 -0
- package/workflows/dist/local-sandbox.js +131 -0
- package/workflows/dist/local-sandbox.js.map +1 -0
- package/workflows/dist/lockfile.d.ts +38 -0
- package/workflows/dist/lockfile.js +74 -0
- package/workflows/dist/lockfile.js.map +1 -0
- package/workflows/dist/log.d.ts +24 -0
- package/workflows/dist/log.js +83 -0
- package/workflows/dist/log.js.map +1 -0
- package/workflows/dist/login-code.d.ts +23 -0
- package/workflows/dist/login-code.js +37 -0
- package/workflows/dist/login-code.js.map +1 -0
- package/workflows/dist/oauth.d.ts +112 -0
- package/workflows/dist/oauth.js +301 -0
- package/workflows/dist/oauth.js.map +1 -0
- package/workflows/dist/op.d.ts +465 -0
- package/workflows/dist/op.js +249 -0
- package/workflows/dist/op.js.map +1 -0
- package/workflows/dist/outline.d.ts +186 -0
- package/workflows/dist/outline.js +554 -0
- package/workflows/dist/outline.js.map +1 -0
- package/workflows/dist/paths.d.ts +56 -0
- package/workflows/dist/paths.js +124 -0
- package/workflows/dist/paths.js.map +1 -0
- package/workflows/dist/person.d.ts +66 -0
- package/workflows/dist/person.js +71 -0
- package/workflows/dist/person.js.map +1 -0
- package/workflows/dist/plugin.d.ts +45 -0
- package/workflows/dist/plugin.js +61 -0
- package/workflows/dist/plugin.js.map +1 -0
- package/workflows/dist/policy.d.ts +126 -0
- package/workflows/dist/policy.js +50 -0
- package/workflows/dist/policy.js.map +1 -0
- package/workflows/dist/preview.d.ts +26 -0
- package/workflows/dist/preview.js +29 -0
- package/workflows/dist/preview.js.map +1 -0
- package/workflows/dist/provisioning-identity.d.ts +27 -0
- package/workflows/dist/provisioning-identity.js +81 -0
- package/workflows/dist/provisioning-identity.js.map +1 -0
- package/workflows/dist/renewal.d.ts +102 -0
- package/workflows/dist/renewal.js +186 -0
- package/workflows/dist/renewal.js.map +1 -0
- package/workflows/dist/resource.d.ts +506 -0
- package/workflows/dist/resource.js +600 -0
- package/workflows/dist/resource.js.map +1 -0
- package/workflows/dist/resources.d.ts +97 -0
- package/workflows/dist/resources.js +384 -0
- package/workflows/dist/resources.js.map +1 -0
- package/workflows/dist/run-status.d.ts +10 -0
- package/workflows/dist/run-status.js +27 -0
- package/workflows/dist/run-status.js.map +1 -0
- package/workflows/dist/run.d.ts +173 -0
- package/workflows/dist/run.js +22 -0
- package/workflows/dist/run.js.map +1 -0
- package/workflows/dist/runner-box.d.ts +23 -0
- package/workflows/dist/runner-box.js +181 -0
- package/workflows/dist/runner-box.js.map +1 -0
- package/workflows/dist/runner-protocol.d.ts +73 -0
- package/workflows/dist/runner-protocol.js +34 -0
- package/workflows/dist/runner-protocol.js.map +1 -0
- package/workflows/dist/runtime-ops.d.ts +242 -0
- package/workflows/dist/runtime-ops.js +354 -0
- package/workflows/dist/runtime-ops.js.map +1 -0
- package/workflows/dist/sandbox-contract.d.ts +109 -0
- package/workflows/dist/sandbox-contract.js +26 -0
- package/workflows/dist/sandbox-contract.js.map +1 -0
- package/workflows/dist/sandbox-runner.cjs +7 -0
- package/workflows/dist/sandbox.d.ts +46 -0
- package/workflows/dist/sandbox.js +215 -0
- package/workflows/dist/sandbox.js.map +1 -0
- package/workflows/dist/scenario.d.ts +262 -0
- package/workflows/dist/scenario.js +1281 -0
- package/workflows/dist/scenario.js.map +1 -0
- package/workflows/dist/scenarios.d.ts +59 -0
- package/workflows/dist/scenarios.js +82 -0
- package/workflows/dist/scenarios.js.map +1 -0
- package/workflows/dist/schedules.d.ts +74 -0
- package/workflows/dist/schedules.js +168 -0
- package/workflows/dist/schedules.js.map +1 -0
- package/workflows/dist/schema.d.ts +49 -0
- package/workflows/dist/schema.js +256 -0
- package/workflows/dist/schema.js.map +1 -0
- package/workflows/dist/sdk.d.ts +34 -0
- package/workflows/dist/sdk.js +182 -0
- package/workflows/dist/sdk.js.map +1 -0
- package/workflows/dist/seal.d.ts +42 -0
- package/workflows/dist/seal.js +103 -0
- package/workflows/dist/seal.js.map +1 -0
- package/workflows/dist/secret-store-check.d.ts +11 -0
- package/workflows/dist/secret-store-check.js +76 -0
- package/workflows/dist/secret-store-check.js.map +1 -0
- package/workflows/dist/secret-store.d.ts +142 -0
- package/workflows/dist/secret-store.js +273 -0
- package/workflows/dist/secret-store.js.map +1 -0
- package/workflows/dist/secret.d.ts +54 -0
- package/workflows/dist/secret.js +115 -0
- package/workflows/dist/secret.js.map +1 -0
- package/workflows/dist/shared.d.ts +495 -0
- package/workflows/dist/shared.js +558 -0
- package/workflows/dist/shared.js.map +1 -0
- package/workflows/dist/sites.d.ts +62 -0
- package/workflows/dist/sites.js +498 -0
- package/workflows/dist/sites.js.map +1 -0
- package/workflows/dist/source.d.ts +327 -0
- package/workflows/dist/source.js +99 -0
- package/workflows/dist/source.js.map +1 -0
- package/workflows/dist/ssh-key.d.ts +11 -0
- package/workflows/dist/ssh-key.js +44 -0
- package/workflows/dist/ssh-key.js.map +1 -0
- package/workflows/dist/steps.d.ts +81 -0
- package/workflows/dist/steps.js +23 -0
- package/workflows/dist/steps.js.map +1 -0
- package/workflows/dist/storage-provisioning.d.ts +27 -0
- package/workflows/dist/storage-provisioning.js +222 -0
- package/workflows/dist/storage-provisioning.js.map +1 -0
- package/workflows/dist/store-move-workflow.d.ts +14 -0
- package/workflows/dist/store-move-workflow.js +77 -0
- package/workflows/dist/store-move-workflow.js.map +1 -0
- package/workflows/dist/store-move.d.ts +361 -0
- package/workflows/dist/store-move.js +744 -0
- package/workflows/dist/store-move.js.map +1 -0
- package/workflows/dist/supervisor.d.ts +39 -0
- package/workflows/dist/supervisor.js +68 -0
- package/workflows/dist/supervisor.js.map +1 -0
- package/workflows/dist/tokens.d.ts +45 -0
- package/workflows/dist/tokens.js +120 -0
- package/workflows/dist/tokens.js.map +1 -0
- package/workflows/dist/vendor-info.d.ts +19 -0
- package/workflows/dist/vendor-info.js +49 -0
- package/workflows/dist/vendor-info.js.map +1 -0
- package/workflows/dist/version.d.ts +44 -0
- package/workflows/dist/version.js +92 -0
- package/workflows/dist/version.js.map +1 -0
- package/workflows/dist/wakeup-driver.d.ts +128 -0
- package/workflows/dist/wakeup-driver.js +225 -0
- package/workflows/dist/wakeup-driver.js.map +1 -0
- package/workflows/dist/wakeup-service.d.ts +79 -0
- package/workflows/dist/wakeup-service.js +419 -0
- package/workflows/dist/wakeup-service.js.map +1 -0
- package/workflows/dist/wakeup-type.d.ts +43 -0
- package/workflows/dist/wakeup-type.js +82 -0
- package/workflows/dist/wakeup-type.js.map +1 -0
- package/workflows/dist/wakeup.d.ts +95 -0
- package/workflows/dist/wakeup.js +79 -0
- package/workflows/dist/wakeup.js.map +1 -0
- package/workflows/dist/worker.d.ts +85 -0
- package/workflows/dist/worker.js +535 -0
- package/workflows/dist/worker.js.map +1 -0
- package/workflows/dist/writer.d.ts +83 -0
- package/workflows/dist/writer.js +349 -0
- package/workflows/dist/writer.js.map +1 -0
- package/workflows/drizzle/company/0000_tables.sql +104 -0
- package/workflows/drizzle/company/0001_wakeup_row.sql +2 -0
- package/workflows/drizzle/company/0002_runs_tell_the_app.sql +27 -0
- package/workflows/drizzle/company/0003_ledger_target.sql +2 -0
- package/workflows/drizzle/company/0004_oauth_attempts.sql +19 -0
- package/workflows/drizzle/company/0005_connection_renewals.sql +9 -0
- package/workflows/drizzle/company/0006_secret_moves.sql +35 -0
- package/workflows/drizzle/company/meta/0000_snapshot.json +652 -0
- package/workflows/drizzle/company/meta/0001_snapshot.json +652 -0
- package/workflows/drizzle/company/meta/0002_snapshot.json +819 -0
- package/workflows/drizzle/company/meta/0003_snapshot.json +845 -0
- package/workflows/drizzle/company/meta/0004_snapshot.json +955 -0
- package/workflows/drizzle/company/meta/0005_snapshot.json +1010 -0
- package/workflows/drizzle/company/meta/0006_snapshot.json +1232 -0
- package/workflows/drizzle/company/meta/_journal.json +55 -0
- package/workflows/drizzle/wakeup/0000_tables.sql +26 -0
- package/workflows/drizzle/wakeup/meta/0000_snapshot.json +200 -0
- package/workflows/drizzle/wakeup/meta/_journal.json +13 -0
- package/workflows/oxlint.json +117 -0
- package/workflows/src/app-steps.ts +67 -0
- package/workflows/src/app-workflows.ts +261 -0
- package/workflows/src/apply-steps.ts +108 -0
- package/workflows/src/apply.ts +868 -0
- package/workflows/src/approvals.ts +274 -0
- package/workflows/src/apps-list.ts +168 -0
- package/workflows/src/apps.ts +147 -0
- package/workflows/src/ast.ts +115 -0
- package/workflows/src/authentication.ts +316 -0
- package/workflows/src/bundled.ts +49 -0
- package/workflows/src/call-workflow.ts +53 -0
- package/workflows/src/call.ts +848 -0
- package/workflows/src/cedar.ts +681 -0
- package/workflows/src/change-steps.ts +270 -0
- package/workflows/src/change-workflow.ts +198 -0
- package/workflows/src/change.ts +483 -0
- package/workflows/src/chat-steps.ts +117 -0
- package/workflows/src/chat-workflow.ts +69 -0
- package/workflows/src/chats.ts +179 -0
- package/workflows/src/claims.ts +79 -0
- package/workflows/src/client.ts +1924 -0
- package/workflows/src/cloud-identity.ts +205 -0
- package/workflows/src/collection.ts +688 -0
- package/workflows/src/config.ts +1178 -0
- package/workflows/src/connect-workflow.ts +38 -0
- package/workflows/src/connection.ts +1522 -0
- package/workflows/src/constructors.ts +10 -0
- package/workflows/src/credentials.ts +189 -0
- package/workflows/src/cucumber.ts +243 -0
- package/workflows/src/data.ts +10 -0
- package/workflows/src/database.ts +154 -0
- package/workflows/src/db/company.ts +331 -0
- package/workflows/src/db/dbos.ts +17 -0
- package/workflows/src/db/identity.ts +61 -0
- package/workflows/src/db/index.ts +12 -0
- package/workflows/src/db/kms.ts +41 -0
- package/workflows/src/db/migrate.ts +71 -0
- package/workflows/src/db/wakeup.ts +41 -0
- package/workflows/src/db.ts +430 -0
- package/workflows/src/deadlines.ts +283 -0
- package/workflows/src/define.ts +416 -0
- package/workflows/src/definitions.ts +36 -0
- package/workflows/src/deployment-key.ts +57 -0
- package/workflows/src/describe.ts +525 -0
- package/workflows/src/description.ts +434 -0
- package/workflows/src/direct.ts +31 -0
- package/workflows/src/dns.ts +29 -0
- package/workflows/src/drift.ts +289 -0
- package/workflows/src/env.ts +124 -0
- package/workflows/src/errors.ts +255 -0
- package/workflows/src/expectations.ts +200 -0
- package/workflows/src/fake.ts +364 -0
- package/workflows/src/fill.ts +47 -0
- package/workflows/src/folded.ts +28 -0
- package/workflows/src/follow-steps.ts +129 -0
- package/workflows/src/follow-workflow.ts +88 -0
- package/workflows/src/grid.ts +102 -0
- package/workflows/src/host-derive.ts +540 -0
- package/workflows/src/host.ts +234 -0
- package/workflows/src/identity-broker.ts +94 -0
- package/workflows/src/identity-provisioning.ts +337 -0
- package/workflows/src/identity-service.ts +180 -0
- package/workflows/src/import-workflow.ts +153 -0
- package/workflows/src/import.ts +222 -0
- package/workflows/src/index.ts +415 -0
- package/workflows/src/kms-secrets.ts +385 -0
- package/workflows/src/ledger.ts +559 -0
- package/workflows/src/lint.ts +226 -0
- package/workflows/src/load.ts +489 -0
- package/workflows/src/local-sandbox.ts +133 -0
- package/workflows/src/lockfile.ts +102 -0
- package/workflows/src/log.ts +82 -0
- package/workflows/src/login-code.ts +58 -0
- package/workflows/src/oauth.ts +402 -0
- package/workflows/src/op.ts +646 -0
- package/workflows/src/outline.ts +675 -0
- package/workflows/src/paths.ts +135 -0
- package/workflows/src/person.ts +78 -0
- package/workflows/src/plugin.ts +85 -0
- package/workflows/src/policy.ts +162 -0
- package/workflows/src/preview.ts +57 -0
- package/workflows/src/provisioning-identity.ts +106 -0
- package/workflows/src/renewal.ts +272 -0
- package/workflows/src/resource.ts +964 -0
- package/workflows/src/resources.ts +459 -0
- package/workflows/src/run-status.ts +39 -0
- package/workflows/src/run.ts +179 -0
- package/workflows/src/runner-box.ts +218 -0
- package/workflows/src/runner-protocol.ts +61 -0
- package/workflows/src/runtime-ops.ts +391 -0
- package/workflows/src/sandbox-contract.ts +121 -0
- package/workflows/src/sandbox-runner.ts +187 -0
- package/workflows/src/sandbox.ts +253 -0
- package/workflows/src/scenario.ts +1624 -0
- package/workflows/src/scenarios.ts +125 -0
- package/workflows/src/schedules.ts +219 -0
- package/workflows/src/schema.ts +311 -0
- package/workflows/src/sdk.ts +225 -0
- package/workflows/src/seal.ts +127 -0
- package/workflows/src/secret-store-check.ts +93 -0
- package/workflows/src/secret-store.ts +382 -0
- package/workflows/src/secret.ts +151 -0
- package/workflows/src/shared.ts +798 -0
- package/workflows/src/sites.ts +559 -0
- package/workflows/src/source.ts +353 -0
- package/workflows/src/ssh-key.ts +48 -0
- package/workflows/src/steps.ts +93 -0
- package/workflows/src/storage-provisioning.ts +252 -0
- package/workflows/src/store-move-workflow.ts +80 -0
- package/workflows/src/store-move.ts +870 -0
- package/workflows/src/supervisor.ts +102 -0
- package/workflows/src/tokens.ts +163 -0
- package/workflows/src/vendor-info.ts +53 -0
- package/workflows/src/version.ts +103 -0
- package/workflows/src/wakeup-driver.ts +286 -0
- package/workflows/src/wakeup-service.ts +484 -0
- package/workflows/src/wakeup-type.ts +92 -0
- package/workflows/src/wakeup.ts +145 -0
- package/workflows/src/worker.ts +667 -0
- package/workflows/src/writer.ts +392 -0
- package/dist/claims.d.ts +0 -1
- package/dist/claims.js +0 -6
- package/dist/claims.js.map +0 -1
- package/dist/data.d.ts +0 -1
- package/dist/data.js +0 -4
- package/dist/data.js.map +0 -1
- package/dist/resources.d.ts +0 -1
- package/dist/resources.js +0 -5
- package/dist/resources.js.map +0 -1
- package/dist/secrets.d.ts +0 -2
- package/dist/secrets.js +0 -3
- package/dist/secrets.js.map +0 -1
- package/identity/Dockerfile +0 -14
- package/site.d.ts +0 -3
- package/site.js +0 -3
- package/ui.css +0 -2
- package/ui.d.ts +0 -3
- package/ui.js +0 -3
|
@@ -0,0 +1,2814 @@
|
|
|
1
|
+
import { type ChatTurnContext, type Chat, type CheckResult } from "sanoma/workflows";
|
|
2
|
+
import type { DraftCard, HeldOutput } from "../../lib/chat.ts";
|
|
3
|
+
/** What the tools act for: the turn's step (the worker's client and repository, the person), and the chat (whose `draftId` the first edit sets). */
|
|
4
|
+
export interface ToolsTurn {
|
|
5
|
+
step: ChatTurnContext;
|
|
6
|
+
chat: Chat;
|
|
7
|
+
/** Shows the draft's card in the reply, as it now stands. */
|
|
8
|
+
showDraft(card: DraftCard): void;
|
|
9
|
+
}
|
|
10
|
+
/** The loop's tools for a turn of `turn.chat`. */
|
|
11
|
+
export declare function loopTools(turn: ToolsTurn): {
|
|
12
|
+
connection_status: ({
|
|
13
|
+
deferLoading?: boolean;
|
|
14
|
+
title?: string;
|
|
15
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
16
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
17
|
+
inputSchema: import("ai").FlexibleSchema<Record<string, never>>;
|
|
18
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
19
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<Record<string, never>, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
20
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
21
|
+
onInputDelta?: ((options: {
|
|
22
|
+
inputTextDelta: string;
|
|
23
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
24
|
+
onInputAvailable?: ((options: {
|
|
25
|
+
input: Record<string, never>;
|
|
26
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
27
|
+
toModelOutput?: ((options: {
|
|
28
|
+
toolCallId: string;
|
|
29
|
+
input: Record<string, never>;
|
|
30
|
+
output: NoInfer<{
|
|
31
|
+
id: string;
|
|
32
|
+
vendor: string;
|
|
33
|
+
name: string;
|
|
34
|
+
method: string;
|
|
35
|
+
account?: string;
|
|
36
|
+
scopes: readonly string[];
|
|
37
|
+
requiredScopes: readonly string[];
|
|
38
|
+
expectedAccount?: string;
|
|
39
|
+
revision?: string;
|
|
40
|
+
owner?: string;
|
|
41
|
+
status: "missing" | "connected" | "disconnected" | "pending" | "uncertain" | "configuration_changed";
|
|
42
|
+
location?: import("sanoma/workflows").SecretLocation;
|
|
43
|
+
boundLocation?: import("sanoma/workflows").SecretLocation;
|
|
44
|
+
updatedBy?: string;
|
|
45
|
+
updatedAt?: string;
|
|
46
|
+
health?: import("sanoma/workflows").ConnectionHealth;
|
|
47
|
+
renewal?: import("sanoma/workflows").RenewalState;
|
|
48
|
+
storageProblem?: import("sanoma/workflows").AuthenticationStoreProblem;
|
|
49
|
+
secureInput: string;
|
|
50
|
+
}[]>;
|
|
51
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
52
|
+
} & {
|
|
53
|
+
outputSchema?: import("ai").FlexibleSchema<{
|
|
54
|
+
id: string;
|
|
55
|
+
vendor: string;
|
|
56
|
+
name: string;
|
|
57
|
+
method: string;
|
|
58
|
+
account?: string;
|
|
59
|
+
scopes: readonly string[];
|
|
60
|
+
requiredScopes: readonly string[];
|
|
61
|
+
expectedAccount?: string;
|
|
62
|
+
revision?: string;
|
|
63
|
+
owner?: string;
|
|
64
|
+
status: "missing" | "connected" | "disconnected" | "pending" | "uncertain" | "configuration_changed";
|
|
65
|
+
location?: import("sanoma/workflows").SecretLocation;
|
|
66
|
+
boundLocation?: import("sanoma/workflows").SecretLocation;
|
|
67
|
+
updatedBy?: string;
|
|
68
|
+
updatedAt?: string;
|
|
69
|
+
health?: import("sanoma/workflows").ConnectionHealth;
|
|
70
|
+
renewal?: import("sanoma/workflows").RenewalState;
|
|
71
|
+
storageProblem?: import("sanoma/workflows").AuthenticationStoreProblem;
|
|
72
|
+
secureInput: string;
|
|
73
|
+
}[]> | undefined;
|
|
74
|
+
execute: import("ai").ToolExecuteFunction<Record<string, never>, {
|
|
75
|
+
id: string;
|
|
76
|
+
vendor: string;
|
|
77
|
+
name: string;
|
|
78
|
+
method: string;
|
|
79
|
+
account?: string;
|
|
80
|
+
scopes: readonly string[];
|
|
81
|
+
requiredScopes: readonly string[];
|
|
82
|
+
expectedAccount?: string;
|
|
83
|
+
revision?: string;
|
|
84
|
+
owner?: string;
|
|
85
|
+
status: "missing" | "connected" | "disconnected" | "pending" | "uncertain" | "configuration_changed";
|
|
86
|
+
location?: import("sanoma/workflows").SecretLocation;
|
|
87
|
+
boundLocation?: import("sanoma/workflows").SecretLocation;
|
|
88
|
+
updatedBy?: string;
|
|
89
|
+
updatedAt?: string;
|
|
90
|
+
health?: import("sanoma/workflows").ConnectionHealth;
|
|
91
|
+
renewal?: import("sanoma/workflows").RenewalState;
|
|
92
|
+
storageProblem?: import("sanoma/workflows").AuthenticationStoreProblem;
|
|
93
|
+
secureInput: string;
|
|
94
|
+
}[], NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
95
|
+
} & {
|
|
96
|
+
description?: string | ((options: {
|
|
97
|
+
context: NoInfer<import("@ai-sdk/provider-utils").Context>;
|
|
98
|
+
experimental_sandbox?: import("ai").Experimental_SandboxSession;
|
|
99
|
+
}) => string) | undefined;
|
|
100
|
+
strict?: boolean;
|
|
101
|
+
inputExamples?: {
|
|
102
|
+
input: NoInfer<Record<string, never>>;
|
|
103
|
+
}[] | undefined;
|
|
104
|
+
id?: never;
|
|
105
|
+
isProviderExecuted?: never;
|
|
106
|
+
args?: never;
|
|
107
|
+
supportsDeferredResults?: never;
|
|
108
|
+
} & {
|
|
109
|
+
type?: undefined | 'function';
|
|
110
|
+
} & {
|
|
111
|
+
execute: import("ai").ToolExecuteFunction<Record<string, never>, {
|
|
112
|
+
id: string;
|
|
113
|
+
vendor: string;
|
|
114
|
+
name: string;
|
|
115
|
+
method: string;
|
|
116
|
+
account?: string;
|
|
117
|
+
scopes: readonly string[];
|
|
118
|
+
requiredScopes: readonly string[];
|
|
119
|
+
expectedAccount?: string;
|
|
120
|
+
revision?: string;
|
|
121
|
+
owner?: string;
|
|
122
|
+
status: "missing" | "connected" | "disconnected" | "pending" | "uncertain" | "configuration_changed";
|
|
123
|
+
location?: import("sanoma/workflows").SecretLocation;
|
|
124
|
+
boundLocation?: import("sanoma/workflows").SecretLocation;
|
|
125
|
+
updatedBy?: string;
|
|
126
|
+
updatedAt?: string;
|
|
127
|
+
health?: import("sanoma/workflows").ConnectionHealth;
|
|
128
|
+
renewal?: import("sanoma/workflows").RenewalState;
|
|
129
|
+
storageProblem?: import("sanoma/workflows").AuthenticationStoreProblem;
|
|
130
|
+
secureInput: string;
|
|
131
|
+
}[], NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
132
|
+
}) | ({
|
|
133
|
+
deferLoading?: boolean;
|
|
134
|
+
title?: string;
|
|
135
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
136
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
137
|
+
inputSchema: import("ai").FlexibleSchema<Record<string, never>>;
|
|
138
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
139
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<Record<string, never>, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
140
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
141
|
+
onInputDelta?: ((options: {
|
|
142
|
+
inputTextDelta: string;
|
|
143
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
144
|
+
onInputAvailable?: ((options: {
|
|
145
|
+
input: Record<string, never>;
|
|
146
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
147
|
+
toModelOutput?: ((options: {
|
|
148
|
+
toolCallId: string;
|
|
149
|
+
input: Record<string, never>;
|
|
150
|
+
output: NoInfer<{
|
|
151
|
+
id: string;
|
|
152
|
+
vendor: string;
|
|
153
|
+
name: string;
|
|
154
|
+
method: string;
|
|
155
|
+
account?: string;
|
|
156
|
+
scopes: readonly string[];
|
|
157
|
+
requiredScopes: readonly string[];
|
|
158
|
+
expectedAccount?: string;
|
|
159
|
+
revision?: string;
|
|
160
|
+
owner?: string;
|
|
161
|
+
status: "missing" | "connected" | "disconnected" | "pending" | "uncertain" | "configuration_changed";
|
|
162
|
+
location?: import("sanoma/workflows").SecretLocation;
|
|
163
|
+
boundLocation?: import("sanoma/workflows").SecretLocation;
|
|
164
|
+
updatedBy?: string;
|
|
165
|
+
updatedAt?: string;
|
|
166
|
+
health?: import("sanoma/workflows").ConnectionHealth;
|
|
167
|
+
renewal?: import("sanoma/workflows").RenewalState;
|
|
168
|
+
storageProblem?: import("sanoma/workflows").AuthenticationStoreProblem;
|
|
169
|
+
secureInput: string;
|
|
170
|
+
}[]>;
|
|
171
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
172
|
+
} & {
|
|
173
|
+
outputSchema?: import("ai").FlexibleSchema<{
|
|
174
|
+
id: string;
|
|
175
|
+
vendor: string;
|
|
176
|
+
name: string;
|
|
177
|
+
method: string;
|
|
178
|
+
account?: string;
|
|
179
|
+
scopes: readonly string[];
|
|
180
|
+
requiredScopes: readonly string[];
|
|
181
|
+
expectedAccount?: string;
|
|
182
|
+
revision?: string;
|
|
183
|
+
owner?: string;
|
|
184
|
+
status: "missing" | "connected" | "disconnected" | "pending" | "uncertain" | "configuration_changed";
|
|
185
|
+
location?: import("sanoma/workflows").SecretLocation;
|
|
186
|
+
boundLocation?: import("sanoma/workflows").SecretLocation;
|
|
187
|
+
updatedBy?: string;
|
|
188
|
+
updatedAt?: string;
|
|
189
|
+
health?: import("sanoma/workflows").ConnectionHealth;
|
|
190
|
+
renewal?: import("sanoma/workflows").RenewalState;
|
|
191
|
+
storageProblem?: import("sanoma/workflows").AuthenticationStoreProblem;
|
|
192
|
+
secureInput: string;
|
|
193
|
+
}[]> | undefined;
|
|
194
|
+
execute: import("ai").ToolExecuteFunction<Record<string, never>, {
|
|
195
|
+
id: string;
|
|
196
|
+
vendor: string;
|
|
197
|
+
name: string;
|
|
198
|
+
method: string;
|
|
199
|
+
account?: string;
|
|
200
|
+
scopes: readonly string[];
|
|
201
|
+
requiredScopes: readonly string[];
|
|
202
|
+
expectedAccount?: string;
|
|
203
|
+
revision?: string;
|
|
204
|
+
owner?: string;
|
|
205
|
+
status: "missing" | "connected" | "disconnected" | "pending" | "uncertain" | "configuration_changed";
|
|
206
|
+
location?: import("sanoma/workflows").SecretLocation;
|
|
207
|
+
boundLocation?: import("sanoma/workflows").SecretLocation;
|
|
208
|
+
updatedBy?: string;
|
|
209
|
+
updatedAt?: string;
|
|
210
|
+
health?: import("sanoma/workflows").ConnectionHealth;
|
|
211
|
+
renewal?: import("sanoma/workflows").RenewalState;
|
|
212
|
+
storageProblem?: import("sanoma/workflows").AuthenticationStoreProblem;
|
|
213
|
+
secureInput: string;
|
|
214
|
+
}[], NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
215
|
+
} & {
|
|
216
|
+
description?: string | ((options: {
|
|
217
|
+
context: NoInfer<import("@ai-sdk/provider-utils").Context>;
|
|
218
|
+
experimental_sandbox?: import("ai").Experimental_SandboxSession;
|
|
219
|
+
}) => string) | undefined;
|
|
220
|
+
strict?: boolean;
|
|
221
|
+
inputExamples?: {
|
|
222
|
+
input: NoInfer<Record<string, never>>;
|
|
223
|
+
}[] | undefined;
|
|
224
|
+
id?: never;
|
|
225
|
+
isProviderExecuted?: never;
|
|
226
|
+
args?: never;
|
|
227
|
+
supportsDeferredResults?: never;
|
|
228
|
+
} & {
|
|
229
|
+
type: 'dynamic';
|
|
230
|
+
} & {
|
|
231
|
+
execute: import("ai").ToolExecuteFunction<Record<string, never>, {
|
|
232
|
+
id: string;
|
|
233
|
+
vendor: string;
|
|
234
|
+
name: string;
|
|
235
|
+
method: string;
|
|
236
|
+
account?: string;
|
|
237
|
+
scopes: readonly string[];
|
|
238
|
+
requiredScopes: readonly string[];
|
|
239
|
+
expectedAccount?: string;
|
|
240
|
+
revision?: string;
|
|
241
|
+
owner?: string;
|
|
242
|
+
status: "missing" | "connected" | "disconnected" | "pending" | "uncertain" | "configuration_changed";
|
|
243
|
+
location?: import("sanoma/workflows").SecretLocation;
|
|
244
|
+
boundLocation?: import("sanoma/workflows").SecretLocation;
|
|
245
|
+
updatedBy?: string;
|
|
246
|
+
updatedAt?: string;
|
|
247
|
+
health?: import("sanoma/workflows").ConnectionHealth;
|
|
248
|
+
renewal?: import("sanoma/workflows").RenewalState;
|
|
249
|
+
storageProblem?: import("sanoma/workflows").AuthenticationStoreProblem;
|
|
250
|
+
secureInput: string;
|
|
251
|
+
}[], NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
252
|
+
}) | ({
|
|
253
|
+
deferLoading?: boolean;
|
|
254
|
+
title?: string;
|
|
255
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
256
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
257
|
+
inputSchema: import("ai").FlexibleSchema<Record<string, never>>;
|
|
258
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
259
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<Record<string, never>, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
260
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
261
|
+
onInputDelta?: ((options: {
|
|
262
|
+
inputTextDelta: string;
|
|
263
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
264
|
+
onInputAvailable?: ((options: {
|
|
265
|
+
input: Record<string, never>;
|
|
266
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
267
|
+
toModelOutput?: ((options: {
|
|
268
|
+
toolCallId: string;
|
|
269
|
+
input: Record<string, never>;
|
|
270
|
+
output: NoInfer<{
|
|
271
|
+
id: string;
|
|
272
|
+
vendor: string;
|
|
273
|
+
name: string;
|
|
274
|
+
method: string;
|
|
275
|
+
account?: string;
|
|
276
|
+
scopes: readonly string[];
|
|
277
|
+
requiredScopes: readonly string[];
|
|
278
|
+
expectedAccount?: string;
|
|
279
|
+
revision?: string;
|
|
280
|
+
owner?: string;
|
|
281
|
+
status: "missing" | "connected" | "disconnected" | "pending" | "uncertain" | "configuration_changed";
|
|
282
|
+
location?: import("sanoma/workflows").SecretLocation;
|
|
283
|
+
boundLocation?: import("sanoma/workflows").SecretLocation;
|
|
284
|
+
updatedBy?: string;
|
|
285
|
+
updatedAt?: string;
|
|
286
|
+
health?: import("sanoma/workflows").ConnectionHealth;
|
|
287
|
+
renewal?: import("sanoma/workflows").RenewalState;
|
|
288
|
+
storageProblem?: import("sanoma/workflows").AuthenticationStoreProblem;
|
|
289
|
+
secureInput: string;
|
|
290
|
+
}[]>;
|
|
291
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
292
|
+
} & {
|
|
293
|
+
outputSchema?: import("ai").FlexibleSchema<{
|
|
294
|
+
id: string;
|
|
295
|
+
vendor: string;
|
|
296
|
+
name: string;
|
|
297
|
+
method: string;
|
|
298
|
+
account?: string;
|
|
299
|
+
scopes: readonly string[];
|
|
300
|
+
requiredScopes: readonly string[];
|
|
301
|
+
expectedAccount?: string;
|
|
302
|
+
revision?: string;
|
|
303
|
+
owner?: string;
|
|
304
|
+
status: "missing" | "connected" | "disconnected" | "pending" | "uncertain" | "configuration_changed";
|
|
305
|
+
location?: import("sanoma/workflows").SecretLocation;
|
|
306
|
+
boundLocation?: import("sanoma/workflows").SecretLocation;
|
|
307
|
+
updatedBy?: string;
|
|
308
|
+
updatedAt?: string;
|
|
309
|
+
health?: import("sanoma/workflows").ConnectionHealth;
|
|
310
|
+
renewal?: import("sanoma/workflows").RenewalState;
|
|
311
|
+
storageProblem?: import("sanoma/workflows").AuthenticationStoreProblem;
|
|
312
|
+
secureInput: string;
|
|
313
|
+
}[]> | undefined;
|
|
314
|
+
execute: import("ai").ToolExecuteFunction<Record<string, never>, {
|
|
315
|
+
id: string;
|
|
316
|
+
vendor: string;
|
|
317
|
+
name: string;
|
|
318
|
+
method: string;
|
|
319
|
+
account?: string;
|
|
320
|
+
scopes: readonly string[];
|
|
321
|
+
requiredScopes: readonly string[];
|
|
322
|
+
expectedAccount?: string;
|
|
323
|
+
revision?: string;
|
|
324
|
+
owner?: string;
|
|
325
|
+
status: "missing" | "connected" | "disconnected" | "pending" | "uncertain" | "configuration_changed";
|
|
326
|
+
location?: import("sanoma/workflows").SecretLocation;
|
|
327
|
+
boundLocation?: import("sanoma/workflows").SecretLocation;
|
|
328
|
+
updatedBy?: string;
|
|
329
|
+
updatedAt?: string;
|
|
330
|
+
health?: import("sanoma/workflows").ConnectionHealth;
|
|
331
|
+
renewal?: import("sanoma/workflows").RenewalState;
|
|
332
|
+
storageProblem?: import("sanoma/workflows").AuthenticationStoreProblem;
|
|
333
|
+
secureInput: string;
|
|
334
|
+
}[], NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
335
|
+
} & {
|
|
336
|
+
type: 'provider';
|
|
337
|
+
id: `${string}.${string}`;
|
|
338
|
+
args: Record<string, unknown>;
|
|
339
|
+
description?: never;
|
|
340
|
+
strict?: never;
|
|
341
|
+
inputExamples?: never;
|
|
342
|
+
} & {
|
|
343
|
+
isProviderExecuted: false;
|
|
344
|
+
supportsDeferredResults?: never;
|
|
345
|
+
} & {
|
|
346
|
+
execute: import("ai").ToolExecuteFunction<Record<string, never>, {
|
|
347
|
+
id: string;
|
|
348
|
+
vendor: string;
|
|
349
|
+
name: string;
|
|
350
|
+
method: string;
|
|
351
|
+
account?: string;
|
|
352
|
+
scopes: readonly string[];
|
|
353
|
+
requiredScopes: readonly string[];
|
|
354
|
+
expectedAccount?: string;
|
|
355
|
+
revision?: string;
|
|
356
|
+
owner?: string;
|
|
357
|
+
status: "missing" | "connected" | "disconnected" | "pending" | "uncertain" | "configuration_changed";
|
|
358
|
+
location?: import("sanoma/workflows").SecretLocation;
|
|
359
|
+
boundLocation?: import("sanoma/workflows").SecretLocation;
|
|
360
|
+
updatedBy?: string;
|
|
361
|
+
updatedAt?: string;
|
|
362
|
+
health?: import("sanoma/workflows").ConnectionHealth;
|
|
363
|
+
renewal?: import("sanoma/workflows").RenewalState;
|
|
364
|
+
storageProblem?: import("sanoma/workflows").AuthenticationStoreProblem;
|
|
365
|
+
secureInput: string;
|
|
366
|
+
}[], NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
367
|
+
}) | ({
|
|
368
|
+
deferLoading?: boolean;
|
|
369
|
+
title?: string;
|
|
370
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
371
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
372
|
+
inputSchema: import("ai").FlexibleSchema<Record<string, never>>;
|
|
373
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
374
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<Record<string, never>, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
375
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
376
|
+
onInputDelta?: ((options: {
|
|
377
|
+
inputTextDelta: string;
|
|
378
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
379
|
+
onInputAvailable?: ((options: {
|
|
380
|
+
input: Record<string, never>;
|
|
381
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
382
|
+
toModelOutput?: ((options: {
|
|
383
|
+
toolCallId: string;
|
|
384
|
+
input: Record<string, never>;
|
|
385
|
+
output: NoInfer<{
|
|
386
|
+
id: string;
|
|
387
|
+
vendor: string;
|
|
388
|
+
name: string;
|
|
389
|
+
method: string;
|
|
390
|
+
account?: string;
|
|
391
|
+
scopes: readonly string[];
|
|
392
|
+
requiredScopes: readonly string[];
|
|
393
|
+
expectedAccount?: string;
|
|
394
|
+
revision?: string;
|
|
395
|
+
owner?: string;
|
|
396
|
+
status: "missing" | "connected" | "disconnected" | "pending" | "uncertain" | "configuration_changed";
|
|
397
|
+
location?: import("sanoma/workflows").SecretLocation;
|
|
398
|
+
boundLocation?: import("sanoma/workflows").SecretLocation;
|
|
399
|
+
updatedBy?: string;
|
|
400
|
+
updatedAt?: string;
|
|
401
|
+
health?: import("sanoma/workflows").ConnectionHealth;
|
|
402
|
+
renewal?: import("sanoma/workflows").RenewalState;
|
|
403
|
+
storageProblem?: import("sanoma/workflows").AuthenticationStoreProblem;
|
|
404
|
+
secureInput: string;
|
|
405
|
+
}[]>;
|
|
406
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
407
|
+
} & {
|
|
408
|
+
outputSchema?: import("ai").FlexibleSchema<{
|
|
409
|
+
id: string;
|
|
410
|
+
vendor: string;
|
|
411
|
+
name: string;
|
|
412
|
+
method: string;
|
|
413
|
+
account?: string;
|
|
414
|
+
scopes: readonly string[];
|
|
415
|
+
requiredScopes: readonly string[];
|
|
416
|
+
expectedAccount?: string;
|
|
417
|
+
revision?: string;
|
|
418
|
+
owner?: string;
|
|
419
|
+
status: "missing" | "connected" | "disconnected" | "pending" | "uncertain" | "configuration_changed";
|
|
420
|
+
location?: import("sanoma/workflows").SecretLocation;
|
|
421
|
+
boundLocation?: import("sanoma/workflows").SecretLocation;
|
|
422
|
+
updatedBy?: string;
|
|
423
|
+
updatedAt?: string;
|
|
424
|
+
health?: import("sanoma/workflows").ConnectionHealth;
|
|
425
|
+
renewal?: import("sanoma/workflows").RenewalState;
|
|
426
|
+
storageProblem?: import("sanoma/workflows").AuthenticationStoreProblem;
|
|
427
|
+
secureInput: string;
|
|
428
|
+
}[]> | undefined;
|
|
429
|
+
execute: import("ai").ToolExecuteFunction<Record<string, never>, {
|
|
430
|
+
id: string;
|
|
431
|
+
vendor: string;
|
|
432
|
+
name: string;
|
|
433
|
+
method: string;
|
|
434
|
+
account?: string;
|
|
435
|
+
scopes: readonly string[];
|
|
436
|
+
requiredScopes: readonly string[];
|
|
437
|
+
expectedAccount?: string;
|
|
438
|
+
revision?: string;
|
|
439
|
+
owner?: string;
|
|
440
|
+
status: "missing" | "connected" | "disconnected" | "pending" | "uncertain" | "configuration_changed";
|
|
441
|
+
location?: import("sanoma/workflows").SecretLocation;
|
|
442
|
+
boundLocation?: import("sanoma/workflows").SecretLocation;
|
|
443
|
+
updatedBy?: string;
|
|
444
|
+
updatedAt?: string;
|
|
445
|
+
health?: import("sanoma/workflows").ConnectionHealth;
|
|
446
|
+
renewal?: import("sanoma/workflows").RenewalState;
|
|
447
|
+
storageProblem?: import("sanoma/workflows").AuthenticationStoreProblem;
|
|
448
|
+
secureInput: string;
|
|
449
|
+
}[], NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
450
|
+
} & {
|
|
451
|
+
type: 'provider';
|
|
452
|
+
id: `${string}.${string}`;
|
|
453
|
+
args: Record<string, unknown>;
|
|
454
|
+
description?: never;
|
|
455
|
+
strict?: never;
|
|
456
|
+
inputExamples?: never;
|
|
457
|
+
} & {
|
|
458
|
+
isProviderExecuted: true;
|
|
459
|
+
supportsDeferredResults?: boolean;
|
|
460
|
+
} & {
|
|
461
|
+
execute: import("ai").ToolExecuteFunction<Record<string, never>, {
|
|
462
|
+
id: string;
|
|
463
|
+
vendor: string;
|
|
464
|
+
name: string;
|
|
465
|
+
method: string;
|
|
466
|
+
account?: string;
|
|
467
|
+
scopes: readonly string[];
|
|
468
|
+
requiredScopes: readonly string[];
|
|
469
|
+
expectedAccount?: string;
|
|
470
|
+
revision?: string;
|
|
471
|
+
owner?: string;
|
|
472
|
+
status: "missing" | "connected" | "disconnected" | "pending" | "uncertain" | "configuration_changed";
|
|
473
|
+
location?: import("sanoma/workflows").SecretLocation;
|
|
474
|
+
boundLocation?: import("sanoma/workflows").SecretLocation;
|
|
475
|
+
updatedBy?: string;
|
|
476
|
+
updatedAt?: string;
|
|
477
|
+
health?: import("sanoma/workflows").ConnectionHealth;
|
|
478
|
+
renewal?: import("sanoma/workflows").RenewalState;
|
|
479
|
+
storageProblem?: import("sanoma/workflows").AuthenticationStoreProblem;
|
|
480
|
+
secureInput: string;
|
|
481
|
+
}[], NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
482
|
+
});
|
|
483
|
+
list_files: ({
|
|
484
|
+
deferLoading?: boolean;
|
|
485
|
+
title?: string;
|
|
486
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
487
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
488
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
489
|
+
path: string;
|
|
490
|
+
}>;
|
|
491
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
492
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
493
|
+
path: string;
|
|
494
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
495
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
496
|
+
onInputDelta?: ((options: {
|
|
497
|
+
inputTextDelta: string;
|
|
498
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
499
|
+
onInputAvailable?: ((options: {
|
|
500
|
+
input: {
|
|
501
|
+
path: string;
|
|
502
|
+
};
|
|
503
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
504
|
+
toModelOutput?: ((options: {
|
|
505
|
+
toolCallId: string;
|
|
506
|
+
input: {
|
|
507
|
+
path: string;
|
|
508
|
+
};
|
|
509
|
+
output: string;
|
|
510
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
511
|
+
} & {
|
|
512
|
+
outputSchema?: import("ai").FlexibleSchema<string> | undefined;
|
|
513
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
514
|
+
path: string;
|
|
515
|
+
}, string, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
516
|
+
} & {
|
|
517
|
+
description?: string | ((options: {
|
|
518
|
+
context: NoInfer<import("@ai-sdk/provider-utils").Context>;
|
|
519
|
+
experimental_sandbox?: import("ai").Experimental_SandboxSession;
|
|
520
|
+
}) => string) | undefined;
|
|
521
|
+
strict?: boolean;
|
|
522
|
+
inputExamples?: {
|
|
523
|
+
input: NoInfer<{
|
|
524
|
+
path: string;
|
|
525
|
+
}>;
|
|
526
|
+
}[] | undefined;
|
|
527
|
+
id?: never;
|
|
528
|
+
isProviderExecuted?: never;
|
|
529
|
+
args?: never;
|
|
530
|
+
supportsDeferredResults?: never;
|
|
531
|
+
} & {
|
|
532
|
+
type?: undefined | 'function';
|
|
533
|
+
} & {
|
|
534
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
535
|
+
path: string;
|
|
536
|
+
}, string, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
537
|
+
}) | ({
|
|
538
|
+
deferLoading?: boolean;
|
|
539
|
+
title?: string;
|
|
540
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
541
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
542
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
543
|
+
path: string;
|
|
544
|
+
}>;
|
|
545
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
546
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
547
|
+
path: string;
|
|
548
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
549
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
550
|
+
onInputDelta?: ((options: {
|
|
551
|
+
inputTextDelta: string;
|
|
552
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
553
|
+
onInputAvailable?: ((options: {
|
|
554
|
+
input: {
|
|
555
|
+
path: string;
|
|
556
|
+
};
|
|
557
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
558
|
+
toModelOutput?: ((options: {
|
|
559
|
+
toolCallId: string;
|
|
560
|
+
input: {
|
|
561
|
+
path: string;
|
|
562
|
+
};
|
|
563
|
+
output: string;
|
|
564
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
565
|
+
} & {
|
|
566
|
+
outputSchema?: import("ai").FlexibleSchema<string> | undefined;
|
|
567
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
568
|
+
path: string;
|
|
569
|
+
}, string, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
570
|
+
} & {
|
|
571
|
+
description?: string | ((options: {
|
|
572
|
+
context: NoInfer<import("@ai-sdk/provider-utils").Context>;
|
|
573
|
+
experimental_sandbox?: import("ai").Experimental_SandboxSession;
|
|
574
|
+
}) => string) | undefined;
|
|
575
|
+
strict?: boolean;
|
|
576
|
+
inputExamples?: {
|
|
577
|
+
input: NoInfer<{
|
|
578
|
+
path: string;
|
|
579
|
+
}>;
|
|
580
|
+
}[] | undefined;
|
|
581
|
+
id?: never;
|
|
582
|
+
isProviderExecuted?: never;
|
|
583
|
+
args?: never;
|
|
584
|
+
supportsDeferredResults?: never;
|
|
585
|
+
} & {
|
|
586
|
+
type: 'dynamic';
|
|
587
|
+
} & {
|
|
588
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
589
|
+
path: string;
|
|
590
|
+
}, string, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
591
|
+
}) | ({
|
|
592
|
+
deferLoading?: boolean;
|
|
593
|
+
title?: string;
|
|
594
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
595
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
596
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
597
|
+
path: string;
|
|
598
|
+
}>;
|
|
599
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
600
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
601
|
+
path: string;
|
|
602
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
603
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
604
|
+
onInputDelta?: ((options: {
|
|
605
|
+
inputTextDelta: string;
|
|
606
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
607
|
+
onInputAvailable?: ((options: {
|
|
608
|
+
input: {
|
|
609
|
+
path: string;
|
|
610
|
+
};
|
|
611
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
612
|
+
toModelOutput?: ((options: {
|
|
613
|
+
toolCallId: string;
|
|
614
|
+
input: {
|
|
615
|
+
path: string;
|
|
616
|
+
};
|
|
617
|
+
output: string;
|
|
618
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
619
|
+
} & {
|
|
620
|
+
outputSchema?: import("ai").FlexibleSchema<string> | undefined;
|
|
621
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
622
|
+
path: string;
|
|
623
|
+
}, string, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
624
|
+
} & {
|
|
625
|
+
type: 'provider';
|
|
626
|
+
id: `${string}.${string}`;
|
|
627
|
+
args: Record<string, unknown>;
|
|
628
|
+
description?: never;
|
|
629
|
+
strict?: never;
|
|
630
|
+
inputExamples?: never;
|
|
631
|
+
} & {
|
|
632
|
+
isProviderExecuted: false;
|
|
633
|
+
supportsDeferredResults?: never;
|
|
634
|
+
} & {
|
|
635
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
636
|
+
path: string;
|
|
637
|
+
}, string, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
638
|
+
}) | ({
|
|
639
|
+
deferLoading?: boolean;
|
|
640
|
+
title?: string;
|
|
641
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
642
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
643
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
644
|
+
path: string;
|
|
645
|
+
}>;
|
|
646
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
647
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
648
|
+
path: string;
|
|
649
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
650
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
651
|
+
onInputDelta?: ((options: {
|
|
652
|
+
inputTextDelta: string;
|
|
653
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
654
|
+
onInputAvailable?: ((options: {
|
|
655
|
+
input: {
|
|
656
|
+
path: string;
|
|
657
|
+
};
|
|
658
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
659
|
+
toModelOutput?: ((options: {
|
|
660
|
+
toolCallId: string;
|
|
661
|
+
input: {
|
|
662
|
+
path: string;
|
|
663
|
+
};
|
|
664
|
+
output: string;
|
|
665
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
666
|
+
} & {
|
|
667
|
+
outputSchema?: import("ai").FlexibleSchema<string> | undefined;
|
|
668
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
669
|
+
path: string;
|
|
670
|
+
}, string, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
671
|
+
} & {
|
|
672
|
+
type: 'provider';
|
|
673
|
+
id: `${string}.${string}`;
|
|
674
|
+
args: Record<string, unknown>;
|
|
675
|
+
description?: never;
|
|
676
|
+
strict?: never;
|
|
677
|
+
inputExamples?: never;
|
|
678
|
+
} & {
|
|
679
|
+
isProviderExecuted: true;
|
|
680
|
+
supportsDeferredResults?: boolean;
|
|
681
|
+
} & {
|
|
682
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
683
|
+
path: string;
|
|
684
|
+
}, string, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
685
|
+
});
|
|
686
|
+
read_file: ({
|
|
687
|
+
deferLoading?: boolean;
|
|
688
|
+
title?: string;
|
|
689
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
690
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
691
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
692
|
+
path: string;
|
|
693
|
+
}>;
|
|
694
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
695
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
696
|
+
path: string;
|
|
697
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
698
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
699
|
+
onInputDelta?: ((options: {
|
|
700
|
+
inputTextDelta: string;
|
|
701
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
702
|
+
onInputAvailable?: ((options: {
|
|
703
|
+
input: {
|
|
704
|
+
path: string;
|
|
705
|
+
};
|
|
706
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
707
|
+
toModelOutput?: ((options: {
|
|
708
|
+
toolCallId: string;
|
|
709
|
+
input: {
|
|
710
|
+
path: string;
|
|
711
|
+
};
|
|
712
|
+
output: string;
|
|
713
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
714
|
+
} & {
|
|
715
|
+
outputSchema?: import("ai").FlexibleSchema<string> | undefined;
|
|
716
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
717
|
+
path: string;
|
|
718
|
+
}, string, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
719
|
+
} & {
|
|
720
|
+
description?: string | ((options: {
|
|
721
|
+
context: NoInfer<import("@ai-sdk/provider-utils").Context>;
|
|
722
|
+
experimental_sandbox?: import("ai").Experimental_SandboxSession;
|
|
723
|
+
}) => string) | undefined;
|
|
724
|
+
strict?: boolean;
|
|
725
|
+
inputExamples?: {
|
|
726
|
+
input: NoInfer<{
|
|
727
|
+
path: string;
|
|
728
|
+
}>;
|
|
729
|
+
}[] | undefined;
|
|
730
|
+
id?: never;
|
|
731
|
+
isProviderExecuted?: never;
|
|
732
|
+
args?: never;
|
|
733
|
+
supportsDeferredResults?: never;
|
|
734
|
+
} & {
|
|
735
|
+
type?: undefined | 'function';
|
|
736
|
+
} & {
|
|
737
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
738
|
+
path: string;
|
|
739
|
+
}, string, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
740
|
+
}) | ({
|
|
741
|
+
deferLoading?: boolean;
|
|
742
|
+
title?: string;
|
|
743
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
744
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
745
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
746
|
+
path: string;
|
|
747
|
+
}>;
|
|
748
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
749
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
750
|
+
path: string;
|
|
751
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
752
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
753
|
+
onInputDelta?: ((options: {
|
|
754
|
+
inputTextDelta: string;
|
|
755
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
756
|
+
onInputAvailable?: ((options: {
|
|
757
|
+
input: {
|
|
758
|
+
path: string;
|
|
759
|
+
};
|
|
760
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
761
|
+
toModelOutput?: ((options: {
|
|
762
|
+
toolCallId: string;
|
|
763
|
+
input: {
|
|
764
|
+
path: string;
|
|
765
|
+
};
|
|
766
|
+
output: string;
|
|
767
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
768
|
+
} & {
|
|
769
|
+
outputSchema?: import("ai").FlexibleSchema<string> | undefined;
|
|
770
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
771
|
+
path: string;
|
|
772
|
+
}, string, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
773
|
+
} & {
|
|
774
|
+
description?: string | ((options: {
|
|
775
|
+
context: NoInfer<import("@ai-sdk/provider-utils").Context>;
|
|
776
|
+
experimental_sandbox?: import("ai").Experimental_SandboxSession;
|
|
777
|
+
}) => string) | undefined;
|
|
778
|
+
strict?: boolean;
|
|
779
|
+
inputExamples?: {
|
|
780
|
+
input: NoInfer<{
|
|
781
|
+
path: string;
|
|
782
|
+
}>;
|
|
783
|
+
}[] | undefined;
|
|
784
|
+
id?: never;
|
|
785
|
+
isProviderExecuted?: never;
|
|
786
|
+
args?: never;
|
|
787
|
+
supportsDeferredResults?: never;
|
|
788
|
+
} & {
|
|
789
|
+
type: 'dynamic';
|
|
790
|
+
} & {
|
|
791
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
792
|
+
path: string;
|
|
793
|
+
}, string, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
794
|
+
}) | ({
|
|
795
|
+
deferLoading?: boolean;
|
|
796
|
+
title?: string;
|
|
797
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
798
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
799
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
800
|
+
path: string;
|
|
801
|
+
}>;
|
|
802
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
803
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
804
|
+
path: string;
|
|
805
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
806
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
807
|
+
onInputDelta?: ((options: {
|
|
808
|
+
inputTextDelta: string;
|
|
809
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
810
|
+
onInputAvailable?: ((options: {
|
|
811
|
+
input: {
|
|
812
|
+
path: string;
|
|
813
|
+
};
|
|
814
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
815
|
+
toModelOutput?: ((options: {
|
|
816
|
+
toolCallId: string;
|
|
817
|
+
input: {
|
|
818
|
+
path: string;
|
|
819
|
+
};
|
|
820
|
+
output: string;
|
|
821
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
822
|
+
} & {
|
|
823
|
+
outputSchema?: import("ai").FlexibleSchema<string> | undefined;
|
|
824
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
825
|
+
path: string;
|
|
826
|
+
}, string, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
827
|
+
} & {
|
|
828
|
+
type: 'provider';
|
|
829
|
+
id: `${string}.${string}`;
|
|
830
|
+
args: Record<string, unknown>;
|
|
831
|
+
description?: never;
|
|
832
|
+
strict?: never;
|
|
833
|
+
inputExamples?: never;
|
|
834
|
+
} & {
|
|
835
|
+
isProviderExecuted: false;
|
|
836
|
+
supportsDeferredResults?: never;
|
|
837
|
+
} & {
|
|
838
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
839
|
+
path: string;
|
|
840
|
+
}, string, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
841
|
+
}) | ({
|
|
842
|
+
deferLoading?: boolean;
|
|
843
|
+
title?: string;
|
|
844
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
845
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
846
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
847
|
+
path: string;
|
|
848
|
+
}>;
|
|
849
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
850
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
851
|
+
path: string;
|
|
852
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
853
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
854
|
+
onInputDelta?: ((options: {
|
|
855
|
+
inputTextDelta: string;
|
|
856
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
857
|
+
onInputAvailable?: ((options: {
|
|
858
|
+
input: {
|
|
859
|
+
path: string;
|
|
860
|
+
};
|
|
861
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
862
|
+
toModelOutput?: ((options: {
|
|
863
|
+
toolCallId: string;
|
|
864
|
+
input: {
|
|
865
|
+
path: string;
|
|
866
|
+
};
|
|
867
|
+
output: string;
|
|
868
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
869
|
+
} & {
|
|
870
|
+
outputSchema?: import("ai").FlexibleSchema<string> | undefined;
|
|
871
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
872
|
+
path: string;
|
|
873
|
+
}, string, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
874
|
+
} & {
|
|
875
|
+
type: 'provider';
|
|
876
|
+
id: `${string}.${string}`;
|
|
877
|
+
args: Record<string, unknown>;
|
|
878
|
+
description?: never;
|
|
879
|
+
strict?: never;
|
|
880
|
+
inputExamples?: never;
|
|
881
|
+
} & {
|
|
882
|
+
isProviderExecuted: true;
|
|
883
|
+
supportsDeferredResults?: boolean;
|
|
884
|
+
} & {
|
|
885
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
886
|
+
path: string;
|
|
887
|
+
}, string, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
888
|
+
});
|
|
889
|
+
grep: ({
|
|
890
|
+
deferLoading?: boolean;
|
|
891
|
+
title?: string;
|
|
892
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
893
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
894
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
895
|
+
pattern: string;
|
|
896
|
+
path: string;
|
|
897
|
+
}>;
|
|
898
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
899
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
900
|
+
pattern: string;
|
|
901
|
+
path: string;
|
|
902
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
903
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
904
|
+
onInputDelta?: ((options: {
|
|
905
|
+
inputTextDelta: string;
|
|
906
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
907
|
+
onInputAvailable?: ((options: {
|
|
908
|
+
input: {
|
|
909
|
+
pattern: string;
|
|
910
|
+
path: string;
|
|
911
|
+
};
|
|
912
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
913
|
+
toModelOutput?: ((options: {
|
|
914
|
+
toolCallId: string;
|
|
915
|
+
input: {
|
|
916
|
+
pattern: string;
|
|
917
|
+
path: string;
|
|
918
|
+
};
|
|
919
|
+
output: string;
|
|
920
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
921
|
+
} & {
|
|
922
|
+
outputSchema?: import("ai").FlexibleSchema<string> | undefined;
|
|
923
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
924
|
+
pattern: string;
|
|
925
|
+
path: string;
|
|
926
|
+
}, string, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
927
|
+
} & {
|
|
928
|
+
description?: string | ((options: {
|
|
929
|
+
context: NoInfer<import("@ai-sdk/provider-utils").Context>;
|
|
930
|
+
experimental_sandbox?: import("ai").Experimental_SandboxSession;
|
|
931
|
+
}) => string) | undefined;
|
|
932
|
+
strict?: boolean;
|
|
933
|
+
inputExamples?: {
|
|
934
|
+
input: NoInfer<{
|
|
935
|
+
pattern: string;
|
|
936
|
+
path: string;
|
|
937
|
+
}>;
|
|
938
|
+
}[] | undefined;
|
|
939
|
+
id?: never;
|
|
940
|
+
isProviderExecuted?: never;
|
|
941
|
+
args?: never;
|
|
942
|
+
supportsDeferredResults?: never;
|
|
943
|
+
} & {
|
|
944
|
+
type?: undefined | 'function';
|
|
945
|
+
} & {
|
|
946
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
947
|
+
pattern: string;
|
|
948
|
+
path: string;
|
|
949
|
+
}, string, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
950
|
+
}) | ({
|
|
951
|
+
deferLoading?: boolean;
|
|
952
|
+
title?: string;
|
|
953
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
954
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
955
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
956
|
+
pattern: string;
|
|
957
|
+
path: string;
|
|
958
|
+
}>;
|
|
959
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
960
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
961
|
+
pattern: string;
|
|
962
|
+
path: string;
|
|
963
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
964
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
965
|
+
onInputDelta?: ((options: {
|
|
966
|
+
inputTextDelta: string;
|
|
967
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
968
|
+
onInputAvailable?: ((options: {
|
|
969
|
+
input: {
|
|
970
|
+
pattern: string;
|
|
971
|
+
path: string;
|
|
972
|
+
};
|
|
973
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
974
|
+
toModelOutput?: ((options: {
|
|
975
|
+
toolCallId: string;
|
|
976
|
+
input: {
|
|
977
|
+
pattern: string;
|
|
978
|
+
path: string;
|
|
979
|
+
};
|
|
980
|
+
output: string;
|
|
981
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
982
|
+
} & {
|
|
983
|
+
outputSchema?: import("ai").FlexibleSchema<string> | undefined;
|
|
984
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
985
|
+
pattern: string;
|
|
986
|
+
path: string;
|
|
987
|
+
}, string, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
988
|
+
} & {
|
|
989
|
+
description?: string | ((options: {
|
|
990
|
+
context: NoInfer<import("@ai-sdk/provider-utils").Context>;
|
|
991
|
+
experimental_sandbox?: import("ai").Experimental_SandboxSession;
|
|
992
|
+
}) => string) | undefined;
|
|
993
|
+
strict?: boolean;
|
|
994
|
+
inputExamples?: {
|
|
995
|
+
input: NoInfer<{
|
|
996
|
+
pattern: string;
|
|
997
|
+
path: string;
|
|
998
|
+
}>;
|
|
999
|
+
}[] | undefined;
|
|
1000
|
+
id?: never;
|
|
1001
|
+
isProviderExecuted?: never;
|
|
1002
|
+
args?: never;
|
|
1003
|
+
supportsDeferredResults?: never;
|
|
1004
|
+
} & {
|
|
1005
|
+
type: 'dynamic';
|
|
1006
|
+
} & {
|
|
1007
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
1008
|
+
pattern: string;
|
|
1009
|
+
path: string;
|
|
1010
|
+
}, string, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
1011
|
+
}) | ({
|
|
1012
|
+
deferLoading?: boolean;
|
|
1013
|
+
title?: string;
|
|
1014
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
1015
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
1016
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
1017
|
+
pattern: string;
|
|
1018
|
+
path: string;
|
|
1019
|
+
}>;
|
|
1020
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
1021
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
1022
|
+
pattern: string;
|
|
1023
|
+
path: string;
|
|
1024
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
1025
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1026
|
+
onInputDelta?: ((options: {
|
|
1027
|
+
inputTextDelta: string;
|
|
1028
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1029
|
+
onInputAvailable?: ((options: {
|
|
1030
|
+
input: {
|
|
1031
|
+
pattern: string;
|
|
1032
|
+
path: string;
|
|
1033
|
+
};
|
|
1034
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1035
|
+
toModelOutput?: ((options: {
|
|
1036
|
+
toolCallId: string;
|
|
1037
|
+
input: {
|
|
1038
|
+
pattern: string;
|
|
1039
|
+
path: string;
|
|
1040
|
+
};
|
|
1041
|
+
output: string;
|
|
1042
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
1043
|
+
} & {
|
|
1044
|
+
outputSchema?: import("ai").FlexibleSchema<string> | undefined;
|
|
1045
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
1046
|
+
pattern: string;
|
|
1047
|
+
path: string;
|
|
1048
|
+
}, string, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
1049
|
+
} & {
|
|
1050
|
+
type: 'provider';
|
|
1051
|
+
id: `${string}.${string}`;
|
|
1052
|
+
args: Record<string, unknown>;
|
|
1053
|
+
description?: never;
|
|
1054
|
+
strict?: never;
|
|
1055
|
+
inputExamples?: never;
|
|
1056
|
+
} & {
|
|
1057
|
+
isProviderExecuted: false;
|
|
1058
|
+
supportsDeferredResults?: never;
|
|
1059
|
+
} & {
|
|
1060
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
1061
|
+
pattern: string;
|
|
1062
|
+
path: string;
|
|
1063
|
+
}, string, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
1064
|
+
}) | ({
|
|
1065
|
+
deferLoading?: boolean;
|
|
1066
|
+
title?: string;
|
|
1067
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
1068
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
1069
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
1070
|
+
pattern: string;
|
|
1071
|
+
path: string;
|
|
1072
|
+
}>;
|
|
1073
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
1074
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
1075
|
+
pattern: string;
|
|
1076
|
+
path: string;
|
|
1077
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
1078
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1079
|
+
onInputDelta?: ((options: {
|
|
1080
|
+
inputTextDelta: string;
|
|
1081
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1082
|
+
onInputAvailable?: ((options: {
|
|
1083
|
+
input: {
|
|
1084
|
+
pattern: string;
|
|
1085
|
+
path: string;
|
|
1086
|
+
};
|
|
1087
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1088
|
+
toModelOutput?: ((options: {
|
|
1089
|
+
toolCallId: string;
|
|
1090
|
+
input: {
|
|
1091
|
+
pattern: string;
|
|
1092
|
+
path: string;
|
|
1093
|
+
};
|
|
1094
|
+
output: string;
|
|
1095
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
1096
|
+
} & {
|
|
1097
|
+
outputSchema?: import("ai").FlexibleSchema<string> | undefined;
|
|
1098
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
1099
|
+
pattern: string;
|
|
1100
|
+
path: string;
|
|
1101
|
+
}, string, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
1102
|
+
} & {
|
|
1103
|
+
type: 'provider';
|
|
1104
|
+
id: `${string}.${string}`;
|
|
1105
|
+
args: Record<string, unknown>;
|
|
1106
|
+
description?: never;
|
|
1107
|
+
strict?: never;
|
|
1108
|
+
inputExamples?: never;
|
|
1109
|
+
} & {
|
|
1110
|
+
isProviderExecuted: true;
|
|
1111
|
+
supportsDeferredResults?: boolean;
|
|
1112
|
+
} & {
|
|
1113
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
1114
|
+
pattern: string;
|
|
1115
|
+
path: string;
|
|
1116
|
+
}, string, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
1117
|
+
});
|
|
1118
|
+
write_file: ({
|
|
1119
|
+
deferLoading?: boolean;
|
|
1120
|
+
title?: string;
|
|
1121
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
1122
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
1123
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
1124
|
+
path: string;
|
|
1125
|
+
content: string;
|
|
1126
|
+
message: string;
|
|
1127
|
+
}>;
|
|
1128
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
1129
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
1130
|
+
path: string;
|
|
1131
|
+
content: string;
|
|
1132
|
+
message: string;
|
|
1133
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
1134
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1135
|
+
onInputDelta?: ((options: {
|
|
1136
|
+
inputTextDelta: string;
|
|
1137
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1138
|
+
onInputAvailable?: ((options: {
|
|
1139
|
+
input: {
|
|
1140
|
+
path: string;
|
|
1141
|
+
content: string;
|
|
1142
|
+
message: string;
|
|
1143
|
+
};
|
|
1144
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1145
|
+
toModelOutput?: ((options: {
|
|
1146
|
+
toolCallId: string;
|
|
1147
|
+
input: {
|
|
1148
|
+
path: string;
|
|
1149
|
+
content: string;
|
|
1150
|
+
message: string;
|
|
1151
|
+
};
|
|
1152
|
+
output: NoInfer<{
|
|
1153
|
+
path: string;
|
|
1154
|
+
committed: string;
|
|
1155
|
+
}>;
|
|
1156
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
1157
|
+
} & {
|
|
1158
|
+
outputSchema?: import("ai").FlexibleSchema<{
|
|
1159
|
+
path: string;
|
|
1160
|
+
committed: string;
|
|
1161
|
+
}> | undefined;
|
|
1162
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
1163
|
+
path: string;
|
|
1164
|
+
content: string;
|
|
1165
|
+
message: string;
|
|
1166
|
+
}, {
|
|
1167
|
+
path: string;
|
|
1168
|
+
committed: string;
|
|
1169
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
1170
|
+
} & {
|
|
1171
|
+
description?: string | ((options: {
|
|
1172
|
+
context: NoInfer<import("@ai-sdk/provider-utils").Context>;
|
|
1173
|
+
experimental_sandbox?: import("ai").Experimental_SandboxSession;
|
|
1174
|
+
}) => string) | undefined;
|
|
1175
|
+
strict?: boolean;
|
|
1176
|
+
inputExamples?: {
|
|
1177
|
+
input: NoInfer<{
|
|
1178
|
+
path: string;
|
|
1179
|
+
content: string;
|
|
1180
|
+
message: string;
|
|
1181
|
+
}>;
|
|
1182
|
+
}[] | undefined;
|
|
1183
|
+
id?: never;
|
|
1184
|
+
isProviderExecuted?: never;
|
|
1185
|
+
args?: never;
|
|
1186
|
+
supportsDeferredResults?: never;
|
|
1187
|
+
} & {
|
|
1188
|
+
type?: undefined | 'function';
|
|
1189
|
+
} & {
|
|
1190
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
1191
|
+
path: string;
|
|
1192
|
+
content: string;
|
|
1193
|
+
message: string;
|
|
1194
|
+
}, {
|
|
1195
|
+
path: string;
|
|
1196
|
+
committed: string;
|
|
1197
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
1198
|
+
}) | ({
|
|
1199
|
+
deferLoading?: boolean;
|
|
1200
|
+
title?: string;
|
|
1201
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
1202
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
1203
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
1204
|
+
path: string;
|
|
1205
|
+
content: string;
|
|
1206
|
+
message: string;
|
|
1207
|
+
}>;
|
|
1208
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
1209
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
1210
|
+
path: string;
|
|
1211
|
+
content: string;
|
|
1212
|
+
message: string;
|
|
1213
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
1214
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1215
|
+
onInputDelta?: ((options: {
|
|
1216
|
+
inputTextDelta: string;
|
|
1217
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1218
|
+
onInputAvailable?: ((options: {
|
|
1219
|
+
input: {
|
|
1220
|
+
path: string;
|
|
1221
|
+
content: string;
|
|
1222
|
+
message: string;
|
|
1223
|
+
};
|
|
1224
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1225
|
+
toModelOutput?: ((options: {
|
|
1226
|
+
toolCallId: string;
|
|
1227
|
+
input: {
|
|
1228
|
+
path: string;
|
|
1229
|
+
content: string;
|
|
1230
|
+
message: string;
|
|
1231
|
+
};
|
|
1232
|
+
output: NoInfer<{
|
|
1233
|
+
path: string;
|
|
1234
|
+
committed: string;
|
|
1235
|
+
}>;
|
|
1236
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
1237
|
+
} & {
|
|
1238
|
+
outputSchema?: import("ai").FlexibleSchema<{
|
|
1239
|
+
path: string;
|
|
1240
|
+
committed: string;
|
|
1241
|
+
}> | undefined;
|
|
1242
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
1243
|
+
path: string;
|
|
1244
|
+
content: string;
|
|
1245
|
+
message: string;
|
|
1246
|
+
}, {
|
|
1247
|
+
path: string;
|
|
1248
|
+
committed: string;
|
|
1249
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
1250
|
+
} & {
|
|
1251
|
+
description?: string | ((options: {
|
|
1252
|
+
context: NoInfer<import("@ai-sdk/provider-utils").Context>;
|
|
1253
|
+
experimental_sandbox?: import("ai").Experimental_SandboxSession;
|
|
1254
|
+
}) => string) | undefined;
|
|
1255
|
+
strict?: boolean;
|
|
1256
|
+
inputExamples?: {
|
|
1257
|
+
input: NoInfer<{
|
|
1258
|
+
path: string;
|
|
1259
|
+
content: string;
|
|
1260
|
+
message: string;
|
|
1261
|
+
}>;
|
|
1262
|
+
}[] | undefined;
|
|
1263
|
+
id?: never;
|
|
1264
|
+
isProviderExecuted?: never;
|
|
1265
|
+
args?: never;
|
|
1266
|
+
supportsDeferredResults?: never;
|
|
1267
|
+
} & {
|
|
1268
|
+
type: 'dynamic';
|
|
1269
|
+
} & {
|
|
1270
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
1271
|
+
path: string;
|
|
1272
|
+
content: string;
|
|
1273
|
+
message: string;
|
|
1274
|
+
}, {
|
|
1275
|
+
path: string;
|
|
1276
|
+
committed: string;
|
|
1277
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
1278
|
+
}) | ({
|
|
1279
|
+
deferLoading?: boolean;
|
|
1280
|
+
title?: string;
|
|
1281
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
1282
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
1283
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
1284
|
+
path: string;
|
|
1285
|
+
content: string;
|
|
1286
|
+
message: string;
|
|
1287
|
+
}>;
|
|
1288
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
1289
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
1290
|
+
path: string;
|
|
1291
|
+
content: string;
|
|
1292
|
+
message: string;
|
|
1293
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
1294
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1295
|
+
onInputDelta?: ((options: {
|
|
1296
|
+
inputTextDelta: string;
|
|
1297
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1298
|
+
onInputAvailable?: ((options: {
|
|
1299
|
+
input: {
|
|
1300
|
+
path: string;
|
|
1301
|
+
content: string;
|
|
1302
|
+
message: string;
|
|
1303
|
+
};
|
|
1304
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1305
|
+
toModelOutput?: ((options: {
|
|
1306
|
+
toolCallId: string;
|
|
1307
|
+
input: {
|
|
1308
|
+
path: string;
|
|
1309
|
+
content: string;
|
|
1310
|
+
message: string;
|
|
1311
|
+
};
|
|
1312
|
+
output: NoInfer<{
|
|
1313
|
+
path: string;
|
|
1314
|
+
committed: string;
|
|
1315
|
+
}>;
|
|
1316
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
1317
|
+
} & {
|
|
1318
|
+
outputSchema?: import("ai").FlexibleSchema<{
|
|
1319
|
+
path: string;
|
|
1320
|
+
committed: string;
|
|
1321
|
+
}> | undefined;
|
|
1322
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
1323
|
+
path: string;
|
|
1324
|
+
content: string;
|
|
1325
|
+
message: string;
|
|
1326
|
+
}, {
|
|
1327
|
+
path: string;
|
|
1328
|
+
committed: string;
|
|
1329
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
1330
|
+
} & {
|
|
1331
|
+
type: 'provider';
|
|
1332
|
+
id: `${string}.${string}`;
|
|
1333
|
+
args: Record<string, unknown>;
|
|
1334
|
+
description?: never;
|
|
1335
|
+
strict?: never;
|
|
1336
|
+
inputExamples?: never;
|
|
1337
|
+
} & {
|
|
1338
|
+
isProviderExecuted: false;
|
|
1339
|
+
supportsDeferredResults?: never;
|
|
1340
|
+
} & {
|
|
1341
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
1342
|
+
path: string;
|
|
1343
|
+
content: string;
|
|
1344
|
+
message: string;
|
|
1345
|
+
}, {
|
|
1346
|
+
path: string;
|
|
1347
|
+
committed: string;
|
|
1348
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
1349
|
+
}) | ({
|
|
1350
|
+
deferLoading?: boolean;
|
|
1351
|
+
title?: string;
|
|
1352
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
1353
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
1354
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
1355
|
+
path: string;
|
|
1356
|
+
content: string;
|
|
1357
|
+
message: string;
|
|
1358
|
+
}>;
|
|
1359
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
1360
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
1361
|
+
path: string;
|
|
1362
|
+
content: string;
|
|
1363
|
+
message: string;
|
|
1364
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
1365
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1366
|
+
onInputDelta?: ((options: {
|
|
1367
|
+
inputTextDelta: string;
|
|
1368
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1369
|
+
onInputAvailable?: ((options: {
|
|
1370
|
+
input: {
|
|
1371
|
+
path: string;
|
|
1372
|
+
content: string;
|
|
1373
|
+
message: string;
|
|
1374
|
+
};
|
|
1375
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1376
|
+
toModelOutput?: ((options: {
|
|
1377
|
+
toolCallId: string;
|
|
1378
|
+
input: {
|
|
1379
|
+
path: string;
|
|
1380
|
+
content: string;
|
|
1381
|
+
message: string;
|
|
1382
|
+
};
|
|
1383
|
+
output: NoInfer<{
|
|
1384
|
+
path: string;
|
|
1385
|
+
committed: string;
|
|
1386
|
+
}>;
|
|
1387
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
1388
|
+
} & {
|
|
1389
|
+
outputSchema?: import("ai").FlexibleSchema<{
|
|
1390
|
+
path: string;
|
|
1391
|
+
committed: string;
|
|
1392
|
+
}> | undefined;
|
|
1393
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
1394
|
+
path: string;
|
|
1395
|
+
content: string;
|
|
1396
|
+
message: string;
|
|
1397
|
+
}, {
|
|
1398
|
+
path: string;
|
|
1399
|
+
committed: string;
|
|
1400
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
1401
|
+
} & {
|
|
1402
|
+
type: 'provider';
|
|
1403
|
+
id: `${string}.${string}`;
|
|
1404
|
+
args: Record<string, unknown>;
|
|
1405
|
+
description?: never;
|
|
1406
|
+
strict?: never;
|
|
1407
|
+
inputExamples?: never;
|
|
1408
|
+
} & {
|
|
1409
|
+
isProviderExecuted: true;
|
|
1410
|
+
supportsDeferredResults?: boolean;
|
|
1411
|
+
} & {
|
|
1412
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
1413
|
+
path: string;
|
|
1414
|
+
content: string;
|
|
1415
|
+
message: string;
|
|
1416
|
+
}, {
|
|
1417
|
+
path: string;
|
|
1418
|
+
committed: string;
|
|
1419
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
1420
|
+
});
|
|
1421
|
+
edit_file: ({
|
|
1422
|
+
deferLoading?: boolean;
|
|
1423
|
+
title?: string;
|
|
1424
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
1425
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
1426
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
1427
|
+
path: string;
|
|
1428
|
+
old: string;
|
|
1429
|
+
new: string;
|
|
1430
|
+
message: string;
|
|
1431
|
+
}>;
|
|
1432
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
1433
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
1434
|
+
path: string;
|
|
1435
|
+
old: string;
|
|
1436
|
+
new: string;
|
|
1437
|
+
message: string;
|
|
1438
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
1439
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1440
|
+
onInputDelta?: ((options: {
|
|
1441
|
+
inputTextDelta: string;
|
|
1442
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1443
|
+
onInputAvailable?: ((options: {
|
|
1444
|
+
input: {
|
|
1445
|
+
path: string;
|
|
1446
|
+
old: string;
|
|
1447
|
+
new: string;
|
|
1448
|
+
message: string;
|
|
1449
|
+
};
|
|
1450
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1451
|
+
toModelOutput?: ((options: {
|
|
1452
|
+
toolCallId: string;
|
|
1453
|
+
input: {
|
|
1454
|
+
path: string;
|
|
1455
|
+
old: string;
|
|
1456
|
+
new: string;
|
|
1457
|
+
message: string;
|
|
1458
|
+
};
|
|
1459
|
+
output: NoInfer<{
|
|
1460
|
+
path: string;
|
|
1461
|
+
committed: string;
|
|
1462
|
+
}>;
|
|
1463
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
1464
|
+
} & {
|
|
1465
|
+
outputSchema?: import("ai").FlexibleSchema<{
|
|
1466
|
+
path: string;
|
|
1467
|
+
committed: string;
|
|
1468
|
+
}> | undefined;
|
|
1469
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
1470
|
+
path: string;
|
|
1471
|
+
old: string;
|
|
1472
|
+
new: string;
|
|
1473
|
+
message: string;
|
|
1474
|
+
}, {
|
|
1475
|
+
path: string;
|
|
1476
|
+
committed: string;
|
|
1477
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
1478
|
+
} & {
|
|
1479
|
+
description?: string | ((options: {
|
|
1480
|
+
context: NoInfer<import("@ai-sdk/provider-utils").Context>;
|
|
1481
|
+
experimental_sandbox?: import("ai").Experimental_SandboxSession;
|
|
1482
|
+
}) => string) | undefined;
|
|
1483
|
+
strict?: boolean;
|
|
1484
|
+
inputExamples?: {
|
|
1485
|
+
input: NoInfer<{
|
|
1486
|
+
path: string;
|
|
1487
|
+
old: string;
|
|
1488
|
+
new: string;
|
|
1489
|
+
message: string;
|
|
1490
|
+
}>;
|
|
1491
|
+
}[] | undefined;
|
|
1492
|
+
id?: never;
|
|
1493
|
+
isProviderExecuted?: never;
|
|
1494
|
+
args?: never;
|
|
1495
|
+
supportsDeferredResults?: never;
|
|
1496
|
+
} & {
|
|
1497
|
+
type?: undefined | 'function';
|
|
1498
|
+
} & {
|
|
1499
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
1500
|
+
path: string;
|
|
1501
|
+
old: string;
|
|
1502
|
+
new: string;
|
|
1503
|
+
message: string;
|
|
1504
|
+
}, {
|
|
1505
|
+
path: string;
|
|
1506
|
+
committed: string;
|
|
1507
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
1508
|
+
}) | ({
|
|
1509
|
+
deferLoading?: boolean;
|
|
1510
|
+
title?: string;
|
|
1511
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
1512
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
1513
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
1514
|
+
path: string;
|
|
1515
|
+
old: string;
|
|
1516
|
+
new: string;
|
|
1517
|
+
message: string;
|
|
1518
|
+
}>;
|
|
1519
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
1520
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
1521
|
+
path: string;
|
|
1522
|
+
old: string;
|
|
1523
|
+
new: string;
|
|
1524
|
+
message: string;
|
|
1525
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
1526
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1527
|
+
onInputDelta?: ((options: {
|
|
1528
|
+
inputTextDelta: string;
|
|
1529
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1530
|
+
onInputAvailable?: ((options: {
|
|
1531
|
+
input: {
|
|
1532
|
+
path: string;
|
|
1533
|
+
old: string;
|
|
1534
|
+
new: string;
|
|
1535
|
+
message: string;
|
|
1536
|
+
};
|
|
1537
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1538
|
+
toModelOutput?: ((options: {
|
|
1539
|
+
toolCallId: string;
|
|
1540
|
+
input: {
|
|
1541
|
+
path: string;
|
|
1542
|
+
old: string;
|
|
1543
|
+
new: string;
|
|
1544
|
+
message: string;
|
|
1545
|
+
};
|
|
1546
|
+
output: NoInfer<{
|
|
1547
|
+
path: string;
|
|
1548
|
+
committed: string;
|
|
1549
|
+
}>;
|
|
1550
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
1551
|
+
} & {
|
|
1552
|
+
outputSchema?: import("ai").FlexibleSchema<{
|
|
1553
|
+
path: string;
|
|
1554
|
+
committed: string;
|
|
1555
|
+
}> | undefined;
|
|
1556
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
1557
|
+
path: string;
|
|
1558
|
+
old: string;
|
|
1559
|
+
new: string;
|
|
1560
|
+
message: string;
|
|
1561
|
+
}, {
|
|
1562
|
+
path: string;
|
|
1563
|
+
committed: string;
|
|
1564
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
1565
|
+
} & {
|
|
1566
|
+
description?: string | ((options: {
|
|
1567
|
+
context: NoInfer<import("@ai-sdk/provider-utils").Context>;
|
|
1568
|
+
experimental_sandbox?: import("ai").Experimental_SandboxSession;
|
|
1569
|
+
}) => string) | undefined;
|
|
1570
|
+
strict?: boolean;
|
|
1571
|
+
inputExamples?: {
|
|
1572
|
+
input: NoInfer<{
|
|
1573
|
+
path: string;
|
|
1574
|
+
old: string;
|
|
1575
|
+
new: string;
|
|
1576
|
+
message: string;
|
|
1577
|
+
}>;
|
|
1578
|
+
}[] | undefined;
|
|
1579
|
+
id?: never;
|
|
1580
|
+
isProviderExecuted?: never;
|
|
1581
|
+
args?: never;
|
|
1582
|
+
supportsDeferredResults?: never;
|
|
1583
|
+
} & {
|
|
1584
|
+
type: 'dynamic';
|
|
1585
|
+
} & {
|
|
1586
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
1587
|
+
path: string;
|
|
1588
|
+
old: string;
|
|
1589
|
+
new: string;
|
|
1590
|
+
message: string;
|
|
1591
|
+
}, {
|
|
1592
|
+
path: string;
|
|
1593
|
+
committed: string;
|
|
1594
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
1595
|
+
}) | ({
|
|
1596
|
+
deferLoading?: boolean;
|
|
1597
|
+
title?: string;
|
|
1598
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
1599
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
1600
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
1601
|
+
path: string;
|
|
1602
|
+
old: string;
|
|
1603
|
+
new: string;
|
|
1604
|
+
message: string;
|
|
1605
|
+
}>;
|
|
1606
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
1607
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
1608
|
+
path: string;
|
|
1609
|
+
old: string;
|
|
1610
|
+
new: string;
|
|
1611
|
+
message: string;
|
|
1612
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
1613
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1614
|
+
onInputDelta?: ((options: {
|
|
1615
|
+
inputTextDelta: string;
|
|
1616
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1617
|
+
onInputAvailable?: ((options: {
|
|
1618
|
+
input: {
|
|
1619
|
+
path: string;
|
|
1620
|
+
old: string;
|
|
1621
|
+
new: string;
|
|
1622
|
+
message: string;
|
|
1623
|
+
};
|
|
1624
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1625
|
+
toModelOutput?: ((options: {
|
|
1626
|
+
toolCallId: string;
|
|
1627
|
+
input: {
|
|
1628
|
+
path: string;
|
|
1629
|
+
old: string;
|
|
1630
|
+
new: string;
|
|
1631
|
+
message: string;
|
|
1632
|
+
};
|
|
1633
|
+
output: NoInfer<{
|
|
1634
|
+
path: string;
|
|
1635
|
+
committed: string;
|
|
1636
|
+
}>;
|
|
1637
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
1638
|
+
} & {
|
|
1639
|
+
outputSchema?: import("ai").FlexibleSchema<{
|
|
1640
|
+
path: string;
|
|
1641
|
+
committed: string;
|
|
1642
|
+
}> | undefined;
|
|
1643
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
1644
|
+
path: string;
|
|
1645
|
+
old: string;
|
|
1646
|
+
new: string;
|
|
1647
|
+
message: string;
|
|
1648
|
+
}, {
|
|
1649
|
+
path: string;
|
|
1650
|
+
committed: string;
|
|
1651
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
1652
|
+
} & {
|
|
1653
|
+
type: 'provider';
|
|
1654
|
+
id: `${string}.${string}`;
|
|
1655
|
+
args: Record<string, unknown>;
|
|
1656
|
+
description?: never;
|
|
1657
|
+
strict?: never;
|
|
1658
|
+
inputExamples?: never;
|
|
1659
|
+
} & {
|
|
1660
|
+
isProviderExecuted: false;
|
|
1661
|
+
supportsDeferredResults?: never;
|
|
1662
|
+
} & {
|
|
1663
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
1664
|
+
path: string;
|
|
1665
|
+
old: string;
|
|
1666
|
+
new: string;
|
|
1667
|
+
message: string;
|
|
1668
|
+
}, {
|
|
1669
|
+
path: string;
|
|
1670
|
+
committed: string;
|
|
1671
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
1672
|
+
}) | ({
|
|
1673
|
+
deferLoading?: boolean;
|
|
1674
|
+
title?: string;
|
|
1675
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
1676
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
1677
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
1678
|
+
path: string;
|
|
1679
|
+
old: string;
|
|
1680
|
+
new: string;
|
|
1681
|
+
message: string;
|
|
1682
|
+
}>;
|
|
1683
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
1684
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
1685
|
+
path: string;
|
|
1686
|
+
old: string;
|
|
1687
|
+
new: string;
|
|
1688
|
+
message: string;
|
|
1689
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
1690
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1691
|
+
onInputDelta?: ((options: {
|
|
1692
|
+
inputTextDelta: string;
|
|
1693
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1694
|
+
onInputAvailable?: ((options: {
|
|
1695
|
+
input: {
|
|
1696
|
+
path: string;
|
|
1697
|
+
old: string;
|
|
1698
|
+
new: string;
|
|
1699
|
+
message: string;
|
|
1700
|
+
};
|
|
1701
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1702
|
+
toModelOutput?: ((options: {
|
|
1703
|
+
toolCallId: string;
|
|
1704
|
+
input: {
|
|
1705
|
+
path: string;
|
|
1706
|
+
old: string;
|
|
1707
|
+
new: string;
|
|
1708
|
+
message: string;
|
|
1709
|
+
};
|
|
1710
|
+
output: NoInfer<{
|
|
1711
|
+
path: string;
|
|
1712
|
+
committed: string;
|
|
1713
|
+
}>;
|
|
1714
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
1715
|
+
} & {
|
|
1716
|
+
outputSchema?: import("ai").FlexibleSchema<{
|
|
1717
|
+
path: string;
|
|
1718
|
+
committed: string;
|
|
1719
|
+
}> | undefined;
|
|
1720
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
1721
|
+
path: string;
|
|
1722
|
+
old: string;
|
|
1723
|
+
new: string;
|
|
1724
|
+
message: string;
|
|
1725
|
+
}, {
|
|
1726
|
+
path: string;
|
|
1727
|
+
committed: string;
|
|
1728
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
1729
|
+
} & {
|
|
1730
|
+
type: 'provider';
|
|
1731
|
+
id: `${string}.${string}`;
|
|
1732
|
+
args: Record<string, unknown>;
|
|
1733
|
+
description?: never;
|
|
1734
|
+
strict?: never;
|
|
1735
|
+
inputExamples?: never;
|
|
1736
|
+
} & {
|
|
1737
|
+
isProviderExecuted: true;
|
|
1738
|
+
supportsDeferredResults?: boolean;
|
|
1739
|
+
} & {
|
|
1740
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
1741
|
+
path: string;
|
|
1742
|
+
old: string;
|
|
1743
|
+
new: string;
|
|
1744
|
+
message: string;
|
|
1745
|
+
}, {
|
|
1746
|
+
path: string;
|
|
1747
|
+
committed: string;
|
|
1748
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
1749
|
+
});
|
|
1750
|
+
take_app: ({
|
|
1751
|
+
deferLoading?: boolean;
|
|
1752
|
+
title?: string;
|
|
1753
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
1754
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
1755
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
1756
|
+
url: string;
|
|
1757
|
+
ref?: string | undefined;
|
|
1758
|
+
folder?: string | undefined;
|
|
1759
|
+
}>;
|
|
1760
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
1761
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
1762
|
+
url: string;
|
|
1763
|
+
ref?: string | undefined;
|
|
1764
|
+
folder?: string | undefined;
|
|
1765
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
1766
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1767
|
+
onInputDelta?: ((options: {
|
|
1768
|
+
inputTextDelta: string;
|
|
1769
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1770
|
+
onInputAvailable?: ((options: {
|
|
1771
|
+
input: {
|
|
1772
|
+
url: string;
|
|
1773
|
+
ref?: string | undefined;
|
|
1774
|
+
folder?: string | undefined;
|
|
1775
|
+
};
|
|
1776
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1777
|
+
toModelOutput?: ((options: {
|
|
1778
|
+
toolCallId: string;
|
|
1779
|
+
input: {
|
|
1780
|
+
url: string;
|
|
1781
|
+
ref?: string | undefined;
|
|
1782
|
+
folder?: string | undefined;
|
|
1783
|
+
};
|
|
1784
|
+
output: NoInfer<{
|
|
1785
|
+
folder: string;
|
|
1786
|
+
revision: string;
|
|
1787
|
+
merged: number;
|
|
1788
|
+
conflicts: string[];
|
|
1789
|
+
next: string;
|
|
1790
|
+
}>;
|
|
1791
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
1792
|
+
} & {
|
|
1793
|
+
outputSchema?: import("ai").FlexibleSchema<{
|
|
1794
|
+
folder: string;
|
|
1795
|
+
revision: string;
|
|
1796
|
+
merged: number;
|
|
1797
|
+
conflicts: string[];
|
|
1798
|
+
next: string;
|
|
1799
|
+
}> | undefined;
|
|
1800
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
1801
|
+
url: string;
|
|
1802
|
+
ref?: string | undefined;
|
|
1803
|
+
folder?: string | undefined;
|
|
1804
|
+
}, {
|
|
1805
|
+
folder: string;
|
|
1806
|
+
revision: string;
|
|
1807
|
+
merged: number;
|
|
1808
|
+
conflicts: string[];
|
|
1809
|
+
next: string;
|
|
1810
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
1811
|
+
} & {
|
|
1812
|
+
description?: string | ((options: {
|
|
1813
|
+
context: NoInfer<import("@ai-sdk/provider-utils").Context>;
|
|
1814
|
+
experimental_sandbox?: import("ai").Experimental_SandboxSession;
|
|
1815
|
+
}) => string) | undefined;
|
|
1816
|
+
strict?: boolean;
|
|
1817
|
+
inputExamples?: {
|
|
1818
|
+
input: NoInfer<{
|
|
1819
|
+
url: string;
|
|
1820
|
+
ref?: string | undefined;
|
|
1821
|
+
folder?: string | undefined;
|
|
1822
|
+
}>;
|
|
1823
|
+
}[] | undefined;
|
|
1824
|
+
id?: never;
|
|
1825
|
+
isProviderExecuted?: never;
|
|
1826
|
+
args?: never;
|
|
1827
|
+
supportsDeferredResults?: never;
|
|
1828
|
+
} & {
|
|
1829
|
+
type?: undefined | 'function';
|
|
1830
|
+
} & {
|
|
1831
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
1832
|
+
url: string;
|
|
1833
|
+
ref?: string | undefined;
|
|
1834
|
+
folder?: string | undefined;
|
|
1835
|
+
}, {
|
|
1836
|
+
folder: string;
|
|
1837
|
+
revision: string;
|
|
1838
|
+
merged: number;
|
|
1839
|
+
conflicts: string[];
|
|
1840
|
+
next: string;
|
|
1841
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
1842
|
+
}) | ({
|
|
1843
|
+
deferLoading?: boolean;
|
|
1844
|
+
title?: string;
|
|
1845
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
1846
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
1847
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
1848
|
+
url: string;
|
|
1849
|
+
ref?: string | undefined;
|
|
1850
|
+
folder?: string | undefined;
|
|
1851
|
+
}>;
|
|
1852
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
1853
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
1854
|
+
url: string;
|
|
1855
|
+
ref?: string | undefined;
|
|
1856
|
+
folder?: string | undefined;
|
|
1857
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
1858
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1859
|
+
onInputDelta?: ((options: {
|
|
1860
|
+
inputTextDelta: string;
|
|
1861
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1862
|
+
onInputAvailable?: ((options: {
|
|
1863
|
+
input: {
|
|
1864
|
+
url: string;
|
|
1865
|
+
ref?: string | undefined;
|
|
1866
|
+
folder?: string | undefined;
|
|
1867
|
+
};
|
|
1868
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1869
|
+
toModelOutput?: ((options: {
|
|
1870
|
+
toolCallId: string;
|
|
1871
|
+
input: {
|
|
1872
|
+
url: string;
|
|
1873
|
+
ref?: string | undefined;
|
|
1874
|
+
folder?: string | undefined;
|
|
1875
|
+
};
|
|
1876
|
+
output: NoInfer<{
|
|
1877
|
+
folder: string;
|
|
1878
|
+
revision: string;
|
|
1879
|
+
merged: number;
|
|
1880
|
+
conflicts: string[];
|
|
1881
|
+
next: string;
|
|
1882
|
+
}>;
|
|
1883
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
1884
|
+
} & {
|
|
1885
|
+
outputSchema?: import("ai").FlexibleSchema<{
|
|
1886
|
+
folder: string;
|
|
1887
|
+
revision: string;
|
|
1888
|
+
merged: number;
|
|
1889
|
+
conflicts: string[];
|
|
1890
|
+
next: string;
|
|
1891
|
+
}> | undefined;
|
|
1892
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
1893
|
+
url: string;
|
|
1894
|
+
ref?: string | undefined;
|
|
1895
|
+
folder?: string | undefined;
|
|
1896
|
+
}, {
|
|
1897
|
+
folder: string;
|
|
1898
|
+
revision: string;
|
|
1899
|
+
merged: number;
|
|
1900
|
+
conflicts: string[];
|
|
1901
|
+
next: string;
|
|
1902
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
1903
|
+
} & {
|
|
1904
|
+
description?: string | ((options: {
|
|
1905
|
+
context: NoInfer<import("@ai-sdk/provider-utils").Context>;
|
|
1906
|
+
experimental_sandbox?: import("ai").Experimental_SandboxSession;
|
|
1907
|
+
}) => string) | undefined;
|
|
1908
|
+
strict?: boolean;
|
|
1909
|
+
inputExamples?: {
|
|
1910
|
+
input: NoInfer<{
|
|
1911
|
+
url: string;
|
|
1912
|
+
ref?: string | undefined;
|
|
1913
|
+
folder?: string | undefined;
|
|
1914
|
+
}>;
|
|
1915
|
+
}[] | undefined;
|
|
1916
|
+
id?: never;
|
|
1917
|
+
isProviderExecuted?: never;
|
|
1918
|
+
args?: never;
|
|
1919
|
+
supportsDeferredResults?: never;
|
|
1920
|
+
} & {
|
|
1921
|
+
type: 'dynamic';
|
|
1922
|
+
} & {
|
|
1923
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
1924
|
+
url: string;
|
|
1925
|
+
ref?: string | undefined;
|
|
1926
|
+
folder?: string | undefined;
|
|
1927
|
+
}, {
|
|
1928
|
+
folder: string;
|
|
1929
|
+
revision: string;
|
|
1930
|
+
merged: number;
|
|
1931
|
+
conflicts: string[];
|
|
1932
|
+
next: string;
|
|
1933
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
1934
|
+
}) | ({
|
|
1935
|
+
deferLoading?: boolean;
|
|
1936
|
+
title?: string;
|
|
1937
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
1938
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
1939
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
1940
|
+
url: string;
|
|
1941
|
+
ref?: string | undefined;
|
|
1942
|
+
folder?: string | undefined;
|
|
1943
|
+
}>;
|
|
1944
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
1945
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
1946
|
+
url: string;
|
|
1947
|
+
ref?: string | undefined;
|
|
1948
|
+
folder?: string | undefined;
|
|
1949
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
1950
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1951
|
+
onInputDelta?: ((options: {
|
|
1952
|
+
inputTextDelta: string;
|
|
1953
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1954
|
+
onInputAvailable?: ((options: {
|
|
1955
|
+
input: {
|
|
1956
|
+
url: string;
|
|
1957
|
+
ref?: string | undefined;
|
|
1958
|
+
folder?: string | undefined;
|
|
1959
|
+
};
|
|
1960
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
1961
|
+
toModelOutput?: ((options: {
|
|
1962
|
+
toolCallId: string;
|
|
1963
|
+
input: {
|
|
1964
|
+
url: string;
|
|
1965
|
+
ref?: string | undefined;
|
|
1966
|
+
folder?: string | undefined;
|
|
1967
|
+
};
|
|
1968
|
+
output: NoInfer<{
|
|
1969
|
+
folder: string;
|
|
1970
|
+
revision: string;
|
|
1971
|
+
merged: number;
|
|
1972
|
+
conflicts: string[];
|
|
1973
|
+
next: string;
|
|
1974
|
+
}>;
|
|
1975
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
1976
|
+
} & {
|
|
1977
|
+
outputSchema?: import("ai").FlexibleSchema<{
|
|
1978
|
+
folder: string;
|
|
1979
|
+
revision: string;
|
|
1980
|
+
merged: number;
|
|
1981
|
+
conflicts: string[];
|
|
1982
|
+
next: string;
|
|
1983
|
+
}> | undefined;
|
|
1984
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
1985
|
+
url: string;
|
|
1986
|
+
ref?: string | undefined;
|
|
1987
|
+
folder?: string | undefined;
|
|
1988
|
+
}, {
|
|
1989
|
+
folder: string;
|
|
1990
|
+
revision: string;
|
|
1991
|
+
merged: number;
|
|
1992
|
+
conflicts: string[];
|
|
1993
|
+
next: string;
|
|
1994
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
1995
|
+
} & {
|
|
1996
|
+
type: 'provider';
|
|
1997
|
+
id: `${string}.${string}`;
|
|
1998
|
+
args: Record<string, unknown>;
|
|
1999
|
+
description?: never;
|
|
2000
|
+
strict?: never;
|
|
2001
|
+
inputExamples?: never;
|
|
2002
|
+
} & {
|
|
2003
|
+
isProviderExecuted: false;
|
|
2004
|
+
supportsDeferredResults?: never;
|
|
2005
|
+
} & {
|
|
2006
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
2007
|
+
url: string;
|
|
2008
|
+
ref?: string | undefined;
|
|
2009
|
+
folder?: string | undefined;
|
|
2010
|
+
}, {
|
|
2011
|
+
folder: string;
|
|
2012
|
+
revision: string;
|
|
2013
|
+
merged: number;
|
|
2014
|
+
conflicts: string[];
|
|
2015
|
+
next: string;
|
|
2016
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
2017
|
+
}) | ({
|
|
2018
|
+
deferLoading?: boolean;
|
|
2019
|
+
title?: string;
|
|
2020
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
2021
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
2022
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
2023
|
+
url: string;
|
|
2024
|
+
ref?: string | undefined;
|
|
2025
|
+
folder?: string | undefined;
|
|
2026
|
+
}>;
|
|
2027
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
2028
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
2029
|
+
url: string;
|
|
2030
|
+
ref?: string | undefined;
|
|
2031
|
+
folder?: string | undefined;
|
|
2032
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
2033
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2034
|
+
onInputDelta?: ((options: {
|
|
2035
|
+
inputTextDelta: string;
|
|
2036
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2037
|
+
onInputAvailable?: ((options: {
|
|
2038
|
+
input: {
|
|
2039
|
+
url: string;
|
|
2040
|
+
ref?: string | undefined;
|
|
2041
|
+
folder?: string | undefined;
|
|
2042
|
+
};
|
|
2043
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2044
|
+
toModelOutput?: ((options: {
|
|
2045
|
+
toolCallId: string;
|
|
2046
|
+
input: {
|
|
2047
|
+
url: string;
|
|
2048
|
+
ref?: string | undefined;
|
|
2049
|
+
folder?: string | undefined;
|
|
2050
|
+
};
|
|
2051
|
+
output: NoInfer<{
|
|
2052
|
+
folder: string;
|
|
2053
|
+
revision: string;
|
|
2054
|
+
merged: number;
|
|
2055
|
+
conflicts: string[];
|
|
2056
|
+
next: string;
|
|
2057
|
+
}>;
|
|
2058
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
2059
|
+
} & {
|
|
2060
|
+
outputSchema?: import("ai").FlexibleSchema<{
|
|
2061
|
+
folder: string;
|
|
2062
|
+
revision: string;
|
|
2063
|
+
merged: number;
|
|
2064
|
+
conflicts: string[];
|
|
2065
|
+
next: string;
|
|
2066
|
+
}> | undefined;
|
|
2067
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
2068
|
+
url: string;
|
|
2069
|
+
ref?: string | undefined;
|
|
2070
|
+
folder?: string | undefined;
|
|
2071
|
+
}, {
|
|
2072
|
+
folder: string;
|
|
2073
|
+
revision: string;
|
|
2074
|
+
merged: number;
|
|
2075
|
+
conflicts: string[];
|
|
2076
|
+
next: string;
|
|
2077
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
2078
|
+
} & {
|
|
2079
|
+
type: 'provider';
|
|
2080
|
+
id: `${string}.${string}`;
|
|
2081
|
+
args: Record<string, unknown>;
|
|
2082
|
+
description?: never;
|
|
2083
|
+
strict?: never;
|
|
2084
|
+
inputExamples?: never;
|
|
2085
|
+
} & {
|
|
2086
|
+
isProviderExecuted: true;
|
|
2087
|
+
supportsDeferredResults?: boolean;
|
|
2088
|
+
} & {
|
|
2089
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
2090
|
+
url: string;
|
|
2091
|
+
ref?: string | undefined;
|
|
2092
|
+
folder?: string | undefined;
|
|
2093
|
+
}, {
|
|
2094
|
+
folder: string;
|
|
2095
|
+
revision: string;
|
|
2096
|
+
merged: number;
|
|
2097
|
+
conflicts: string[];
|
|
2098
|
+
next: string;
|
|
2099
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
2100
|
+
});
|
|
2101
|
+
update_app: ({
|
|
2102
|
+
deferLoading?: boolean;
|
|
2103
|
+
title?: string;
|
|
2104
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
2105
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
2106
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
2107
|
+
folder: string;
|
|
2108
|
+
}>;
|
|
2109
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
2110
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
2111
|
+
folder: string;
|
|
2112
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
2113
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2114
|
+
onInputDelta?: ((options: {
|
|
2115
|
+
inputTextDelta: string;
|
|
2116
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2117
|
+
onInputAvailable?: ((options: {
|
|
2118
|
+
input: {
|
|
2119
|
+
folder: string;
|
|
2120
|
+
};
|
|
2121
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2122
|
+
toModelOutput?: ((options: {
|
|
2123
|
+
toolCallId: string;
|
|
2124
|
+
input: {
|
|
2125
|
+
folder: string;
|
|
2126
|
+
};
|
|
2127
|
+
output: NoInfer<{
|
|
2128
|
+
folder: string;
|
|
2129
|
+
revision: string;
|
|
2130
|
+
merged: number;
|
|
2131
|
+
conflicts: string[];
|
|
2132
|
+
next: string;
|
|
2133
|
+
}>;
|
|
2134
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
2135
|
+
} & {
|
|
2136
|
+
outputSchema?: import("ai").FlexibleSchema<{
|
|
2137
|
+
folder: string;
|
|
2138
|
+
revision: string;
|
|
2139
|
+
merged: number;
|
|
2140
|
+
conflicts: string[];
|
|
2141
|
+
next: string;
|
|
2142
|
+
}> | undefined;
|
|
2143
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
2144
|
+
folder: string;
|
|
2145
|
+
}, {
|
|
2146
|
+
folder: string;
|
|
2147
|
+
revision: string;
|
|
2148
|
+
merged: number;
|
|
2149
|
+
conflicts: string[];
|
|
2150
|
+
next: string;
|
|
2151
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
2152
|
+
} & {
|
|
2153
|
+
description?: string | ((options: {
|
|
2154
|
+
context: NoInfer<import("@ai-sdk/provider-utils").Context>;
|
|
2155
|
+
experimental_sandbox?: import("ai").Experimental_SandboxSession;
|
|
2156
|
+
}) => string) | undefined;
|
|
2157
|
+
strict?: boolean;
|
|
2158
|
+
inputExamples?: {
|
|
2159
|
+
input: NoInfer<{
|
|
2160
|
+
folder: string;
|
|
2161
|
+
}>;
|
|
2162
|
+
}[] | undefined;
|
|
2163
|
+
id?: never;
|
|
2164
|
+
isProviderExecuted?: never;
|
|
2165
|
+
args?: never;
|
|
2166
|
+
supportsDeferredResults?: never;
|
|
2167
|
+
} & {
|
|
2168
|
+
type?: undefined | 'function';
|
|
2169
|
+
} & {
|
|
2170
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
2171
|
+
folder: string;
|
|
2172
|
+
}, {
|
|
2173
|
+
folder: string;
|
|
2174
|
+
revision: string;
|
|
2175
|
+
merged: number;
|
|
2176
|
+
conflicts: string[];
|
|
2177
|
+
next: string;
|
|
2178
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
2179
|
+
}) | ({
|
|
2180
|
+
deferLoading?: boolean;
|
|
2181
|
+
title?: string;
|
|
2182
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
2183
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
2184
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
2185
|
+
folder: string;
|
|
2186
|
+
}>;
|
|
2187
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
2188
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
2189
|
+
folder: string;
|
|
2190
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
2191
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2192
|
+
onInputDelta?: ((options: {
|
|
2193
|
+
inputTextDelta: string;
|
|
2194
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2195
|
+
onInputAvailable?: ((options: {
|
|
2196
|
+
input: {
|
|
2197
|
+
folder: string;
|
|
2198
|
+
};
|
|
2199
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2200
|
+
toModelOutput?: ((options: {
|
|
2201
|
+
toolCallId: string;
|
|
2202
|
+
input: {
|
|
2203
|
+
folder: string;
|
|
2204
|
+
};
|
|
2205
|
+
output: NoInfer<{
|
|
2206
|
+
folder: string;
|
|
2207
|
+
revision: string;
|
|
2208
|
+
merged: number;
|
|
2209
|
+
conflicts: string[];
|
|
2210
|
+
next: string;
|
|
2211
|
+
}>;
|
|
2212
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
2213
|
+
} & {
|
|
2214
|
+
outputSchema?: import("ai").FlexibleSchema<{
|
|
2215
|
+
folder: string;
|
|
2216
|
+
revision: string;
|
|
2217
|
+
merged: number;
|
|
2218
|
+
conflicts: string[];
|
|
2219
|
+
next: string;
|
|
2220
|
+
}> | undefined;
|
|
2221
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
2222
|
+
folder: string;
|
|
2223
|
+
}, {
|
|
2224
|
+
folder: string;
|
|
2225
|
+
revision: string;
|
|
2226
|
+
merged: number;
|
|
2227
|
+
conflicts: string[];
|
|
2228
|
+
next: string;
|
|
2229
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
2230
|
+
} & {
|
|
2231
|
+
description?: string | ((options: {
|
|
2232
|
+
context: NoInfer<import("@ai-sdk/provider-utils").Context>;
|
|
2233
|
+
experimental_sandbox?: import("ai").Experimental_SandboxSession;
|
|
2234
|
+
}) => string) | undefined;
|
|
2235
|
+
strict?: boolean;
|
|
2236
|
+
inputExamples?: {
|
|
2237
|
+
input: NoInfer<{
|
|
2238
|
+
folder: string;
|
|
2239
|
+
}>;
|
|
2240
|
+
}[] | undefined;
|
|
2241
|
+
id?: never;
|
|
2242
|
+
isProviderExecuted?: never;
|
|
2243
|
+
args?: never;
|
|
2244
|
+
supportsDeferredResults?: never;
|
|
2245
|
+
} & {
|
|
2246
|
+
type: 'dynamic';
|
|
2247
|
+
} & {
|
|
2248
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
2249
|
+
folder: string;
|
|
2250
|
+
}, {
|
|
2251
|
+
folder: string;
|
|
2252
|
+
revision: string;
|
|
2253
|
+
merged: number;
|
|
2254
|
+
conflicts: string[];
|
|
2255
|
+
next: string;
|
|
2256
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
2257
|
+
}) | ({
|
|
2258
|
+
deferLoading?: boolean;
|
|
2259
|
+
title?: string;
|
|
2260
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
2261
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
2262
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
2263
|
+
folder: string;
|
|
2264
|
+
}>;
|
|
2265
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
2266
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
2267
|
+
folder: string;
|
|
2268
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
2269
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2270
|
+
onInputDelta?: ((options: {
|
|
2271
|
+
inputTextDelta: string;
|
|
2272
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2273
|
+
onInputAvailable?: ((options: {
|
|
2274
|
+
input: {
|
|
2275
|
+
folder: string;
|
|
2276
|
+
};
|
|
2277
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2278
|
+
toModelOutput?: ((options: {
|
|
2279
|
+
toolCallId: string;
|
|
2280
|
+
input: {
|
|
2281
|
+
folder: string;
|
|
2282
|
+
};
|
|
2283
|
+
output: NoInfer<{
|
|
2284
|
+
folder: string;
|
|
2285
|
+
revision: string;
|
|
2286
|
+
merged: number;
|
|
2287
|
+
conflicts: string[];
|
|
2288
|
+
next: string;
|
|
2289
|
+
}>;
|
|
2290
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
2291
|
+
} & {
|
|
2292
|
+
outputSchema?: import("ai").FlexibleSchema<{
|
|
2293
|
+
folder: string;
|
|
2294
|
+
revision: string;
|
|
2295
|
+
merged: number;
|
|
2296
|
+
conflicts: string[];
|
|
2297
|
+
next: string;
|
|
2298
|
+
}> | undefined;
|
|
2299
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
2300
|
+
folder: string;
|
|
2301
|
+
}, {
|
|
2302
|
+
folder: string;
|
|
2303
|
+
revision: string;
|
|
2304
|
+
merged: number;
|
|
2305
|
+
conflicts: string[];
|
|
2306
|
+
next: string;
|
|
2307
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
2308
|
+
} & {
|
|
2309
|
+
type: 'provider';
|
|
2310
|
+
id: `${string}.${string}`;
|
|
2311
|
+
args: Record<string, unknown>;
|
|
2312
|
+
description?: never;
|
|
2313
|
+
strict?: never;
|
|
2314
|
+
inputExamples?: never;
|
|
2315
|
+
} & {
|
|
2316
|
+
isProviderExecuted: false;
|
|
2317
|
+
supportsDeferredResults?: never;
|
|
2318
|
+
} & {
|
|
2319
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
2320
|
+
folder: string;
|
|
2321
|
+
}, {
|
|
2322
|
+
folder: string;
|
|
2323
|
+
revision: string;
|
|
2324
|
+
merged: number;
|
|
2325
|
+
conflicts: string[];
|
|
2326
|
+
next: string;
|
|
2327
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
2328
|
+
}) | ({
|
|
2329
|
+
deferLoading?: boolean;
|
|
2330
|
+
title?: string;
|
|
2331
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
2332
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
2333
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
2334
|
+
folder: string;
|
|
2335
|
+
}>;
|
|
2336
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
2337
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
2338
|
+
folder: string;
|
|
2339
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
2340
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2341
|
+
onInputDelta?: ((options: {
|
|
2342
|
+
inputTextDelta: string;
|
|
2343
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2344
|
+
onInputAvailable?: ((options: {
|
|
2345
|
+
input: {
|
|
2346
|
+
folder: string;
|
|
2347
|
+
};
|
|
2348
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2349
|
+
toModelOutput?: ((options: {
|
|
2350
|
+
toolCallId: string;
|
|
2351
|
+
input: {
|
|
2352
|
+
folder: string;
|
|
2353
|
+
};
|
|
2354
|
+
output: NoInfer<{
|
|
2355
|
+
folder: string;
|
|
2356
|
+
revision: string;
|
|
2357
|
+
merged: number;
|
|
2358
|
+
conflicts: string[];
|
|
2359
|
+
next: string;
|
|
2360
|
+
}>;
|
|
2361
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
2362
|
+
} & {
|
|
2363
|
+
outputSchema?: import("ai").FlexibleSchema<{
|
|
2364
|
+
folder: string;
|
|
2365
|
+
revision: string;
|
|
2366
|
+
merged: number;
|
|
2367
|
+
conflicts: string[];
|
|
2368
|
+
next: string;
|
|
2369
|
+
}> | undefined;
|
|
2370
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
2371
|
+
folder: string;
|
|
2372
|
+
}, {
|
|
2373
|
+
folder: string;
|
|
2374
|
+
revision: string;
|
|
2375
|
+
merged: number;
|
|
2376
|
+
conflicts: string[];
|
|
2377
|
+
next: string;
|
|
2378
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
2379
|
+
} & {
|
|
2380
|
+
type: 'provider';
|
|
2381
|
+
id: `${string}.${string}`;
|
|
2382
|
+
args: Record<string, unknown>;
|
|
2383
|
+
description?: never;
|
|
2384
|
+
strict?: never;
|
|
2385
|
+
inputExamples?: never;
|
|
2386
|
+
} & {
|
|
2387
|
+
isProviderExecuted: true;
|
|
2388
|
+
supportsDeferredResults?: boolean;
|
|
2389
|
+
} & {
|
|
2390
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
2391
|
+
folder: string;
|
|
2392
|
+
}, {
|
|
2393
|
+
folder: string;
|
|
2394
|
+
revision: string;
|
|
2395
|
+
merged: number;
|
|
2396
|
+
conflicts: string[];
|
|
2397
|
+
next: string;
|
|
2398
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
2399
|
+
});
|
|
2400
|
+
run_checks: ({
|
|
2401
|
+
deferLoading?: boolean;
|
|
2402
|
+
title?: string;
|
|
2403
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
2404
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
2405
|
+
inputSchema: import("ai").FlexibleSchema<Record<string, never>>;
|
|
2406
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
2407
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<Record<string, never>, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
2408
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2409
|
+
onInputDelta?: ((options: {
|
|
2410
|
+
inputTextDelta: string;
|
|
2411
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2412
|
+
onInputAvailable?: ((options: {
|
|
2413
|
+
input: Record<string, never>;
|
|
2414
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2415
|
+
toModelOutput?: ((options: {
|
|
2416
|
+
toolCallId: string;
|
|
2417
|
+
input: Record<string, never>;
|
|
2418
|
+
output: NoInfer<CheckResult>;
|
|
2419
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
2420
|
+
} & {
|
|
2421
|
+
outputSchema?: import("ai").FlexibleSchema<CheckResult> | undefined;
|
|
2422
|
+
execute: import("ai").ToolExecuteFunction<Record<string, never>, CheckResult, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
2423
|
+
} & {
|
|
2424
|
+
description?: string | ((options: {
|
|
2425
|
+
context: NoInfer<import("@ai-sdk/provider-utils").Context>;
|
|
2426
|
+
experimental_sandbox?: import("ai").Experimental_SandboxSession;
|
|
2427
|
+
}) => string) | undefined;
|
|
2428
|
+
strict?: boolean;
|
|
2429
|
+
inputExamples?: {
|
|
2430
|
+
input: NoInfer<Record<string, never>>;
|
|
2431
|
+
}[] | undefined;
|
|
2432
|
+
id?: never;
|
|
2433
|
+
isProviderExecuted?: never;
|
|
2434
|
+
args?: never;
|
|
2435
|
+
supportsDeferredResults?: never;
|
|
2436
|
+
} & {
|
|
2437
|
+
type?: undefined | 'function';
|
|
2438
|
+
} & {
|
|
2439
|
+
execute: import("ai").ToolExecuteFunction<Record<string, never>, CheckResult, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
2440
|
+
}) | ({
|
|
2441
|
+
deferLoading?: boolean;
|
|
2442
|
+
title?: string;
|
|
2443
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
2444
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
2445
|
+
inputSchema: import("ai").FlexibleSchema<Record<string, never>>;
|
|
2446
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
2447
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<Record<string, never>, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
2448
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2449
|
+
onInputDelta?: ((options: {
|
|
2450
|
+
inputTextDelta: string;
|
|
2451
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2452
|
+
onInputAvailable?: ((options: {
|
|
2453
|
+
input: Record<string, never>;
|
|
2454
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2455
|
+
toModelOutput?: ((options: {
|
|
2456
|
+
toolCallId: string;
|
|
2457
|
+
input: Record<string, never>;
|
|
2458
|
+
output: NoInfer<CheckResult>;
|
|
2459
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
2460
|
+
} & {
|
|
2461
|
+
outputSchema?: import("ai").FlexibleSchema<CheckResult> | undefined;
|
|
2462
|
+
execute: import("ai").ToolExecuteFunction<Record<string, never>, CheckResult, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
2463
|
+
} & {
|
|
2464
|
+
description?: string | ((options: {
|
|
2465
|
+
context: NoInfer<import("@ai-sdk/provider-utils").Context>;
|
|
2466
|
+
experimental_sandbox?: import("ai").Experimental_SandboxSession;
|
|
2467
|
+
}) => string) | undefined;
|
|
2468
|
+
strict?: boolean;
|
|
2469
|
+
inputExamples?: {
|
|
2470
|
+
input: NoInfer<Record<string, never>>;
|
|
2471
|
+
}[] | undefined;
|
|
2472
|
+
id?: never;
|
|
2473
|
+
isProviderExecuted?: never;
|
|
2474
|
+
args?: never;
|
|
2475
|
+
supportsDeferredResults?: never;
|
|
2476
|
+
} & {
|
|
2477
|
+
type: 'dynamic';
|
|
2478
|
+
} & {
|
|
2479
|
+
execute: import("ai").ToolExecuteFunction<Record<string, never>, CheckResult, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
2480
|
+
}) | ({
|
|
2481
|
+
deferLoading?: boolean;
|
|
2482
|
+
title?: string;
|
|
2483
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
2484
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
2485
|
+
inputSchema: import("ai").FlexibleSchema<Record<string, never>>;
|
|
2486
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
2487
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<Record<string, never>, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
2488
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2489
|
+
onInputDelta?: ((options: {
|
|
2490
|
+
inputTextDelta: string;
|
|
2491
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2492
|
+
onInputAvailable?: ((options: {
|
|
2493
|
+
input: Record<string, never>;
|
|
2494
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2495
|
+
toModelOutput?: ((options: {
|
|
2496
|
+
toolCallId: string;
|
|
2497
|
+
input: Record<string, never>;
|
|
2498
|
+
output: NoInfer<CheckResult>;
|
|
2499
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
2500
|
+
} & {
|
|
2501
|
+
outputSchema?: import("ai").FlexibleSchema<CheckResult> | undefined;
|
|
2502
|
+
execute: import("ai").ToolExecuteFunction<Record<string, never>, CheckResult, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
2503
|
+
} & {
|
|
2504
|
+
type: 'provider';
|
|
2505
|
+
id: `${string}.${string}`;
|
|
2506
|
+
args: Record<string, unknown>;
|
|
2507
|
+
description?: never;
|
|
2508
|
+
strict?: never;
|
|
2509
|
+
inputExamples?: never;
|
|
2510
|
+
} & {
|
|
2511
|
+
isProviderExecuted: false;
|
|
2512
|
+
supportsDeferredResults?: never;
|
|
2513
|
+
} & {
|
|
2514
|
+
execute: import("ai").ToolExecuteFunction<Record<string, never>, CheckResult, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
2515
|
+
}) | ({
|
|
2516
|
+
deferLoading?: boolean;
|
|
2517
|
+
title?: string;
|
|
2518
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
2519
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
2520
|
+
inputSchema: import("ai").FlexibleSchema<Record<string, never>>;
|
|
2521
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
2522
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<Record<string, never>, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
2523
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2524
|
+
onInputDelta?: ((options: {
|
|
2525
|
+
inputTextDelta: string;
|
|
2526
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2527
|
+
onInputAvailable?: ((options: {
|
|
2528
|
+
input: Record<string, never>;
|
|
2529
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2530
|
+
toModelOutput?: ((options: {
|
|
2531
|
+
toolCallId: string;
|
|
2532
|
+
input: Record<string, never>;
|
|
2533
|
+
output: NoInfer<CheckResult>;
|
|
2534
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
2535
|
+
} & {
|
|
2536
|
+
outputSchema?: import("ai").FlexibleSchema<CheckResult> | undefined;
|
|
2537
|
+
execute: import("ai").ToolExecuteFunction<Record<string, never>, CheckResult, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
2538
|
+
} & {
|
|
2539
|
+
type: 'provider';
|
|
2540
|
+
id: `${string}.${string}`;
|
|
2541
|
+
args: Record<string, unknown>;
|
|
2542
|
+
description?: never;
|
|
2543
|
+
strict?: never;
|
|
2544
|
+
inputExamples?: never;
|
|
2545
|
+
} & {
|
|
2546
|
+
isProviderExecuted: true;
|
|
2547
|
+
supportsDeferredResults?: boolean;
|
|
2548
|
+
} & {
|
|
2549
|
+
execute: import("ai").ToolExecuteFunction<Record<string, never>, CheckResult, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
2550
|
+
});
|
|
2551
|
+
lookup: ({
|
|
2552
|
+
deferLoading?: boolean;
|
|
2553
|
+
title?: string;
|
|
2554
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
2555
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
2556
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
2557
|
+
op: string;
|
|
2558
|
+
input: Record<string, unknown>;
|
|
2559
|
+
}>;
|
|
2560
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
2561
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
2562
|
+
op: string;
|
|
2563
|
+
input: Record<string, unknown>;
|
|
2564
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
2565
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2566
|
+
onInputDelta?: ((options: {
|
|
2567
|
+
inputTextDelta: string;
|
|
2568
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2569
|
+
onInputAvailable?: ((options: {
|
|
2570
|
+
input: {
|
|
2571
|
+
op: string;
|
|
2572
|
+
input: Record<string, unknown>;
|
|
2573
|
+
};
|
|
2574
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2575
|
+
toModelOutput?: ((options: {
|
|
2576
|
+
toolCallId: string;
|
|
2577
|
+
input: {
|
|
2578
|
+
op: string;
|
|
2579
|
+
input: Record<string, unknown>;
|
|
2580
|
+
};
|
|
2581
|
+
output: NoInfer<HeldOutput | {
|
|
2582
|
+
output: unknown;
|
|
2583
|
+
}>;
|
|
2584
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
2585
|
+
} & {
|
|
2586
|
+
outputSchema?: import("ai").FlexibleSchema<HeldOutput | {
|
|
2587
|
+
output: unknown;
|
|
2588
|
+
}> | undefined;
|
|
2589
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
2590
|
+
op: string;
|
|
2591
|
+
input: Record<string, unknown>;
|
|
2592
|
+
}, HeldOutput | {
|
|
2593
|
+
output: unknown;
|
|
2594
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
2595
|
+
} & {
|
|
2596
|
+
description?: string | ((options: {
|
|
2597
|
+
context: NoInfer<import("@ai-sdk/provider-utils").Context>;
|
|
2598
|
+
experimental_sandbox?: import("ai").Experimental_SandboxSession;
|
|
2599
|
+
}) => string) | undefined;
|
|
2600
|
+
strict?: boolean;
|
|
2601
|
+
inputExamples?: {
|
|
2602
|
+
input: NoInfer<{
|
|
2603
|
+
op: string;
|
|
2604
|
+
input: Record<string, unknown>;
|
|
2605
|
+
}>;
|
|
2606
|
+
}[] | undefined;
|
|
2607
|
+
id?: never;
|
|
2608
|
+
isProviderExecuted?: never;
|
|
2609
|
+
args?: never;
|
|
2610
|
+
supportsDeferredResults?: never;
|
|
2611
|
+
} & {
|
|
2612
|
+
type?: undefined | 'function';
|
|
2613
|
+
} & {
|
|
2614
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
2615
|
+
op: string;
|
|
2616
|
+
input: Record<string, unknown>;
|
|
2617
|
+
}, HeldOutput | {
|
|
2618
|
+
output: unknown;
|
|
2619
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
2620
|
+
}) | ({
|
|
2621
|
+
deferLoading?: boolean;
|
|
2622
|
+
title?: string;
|
|
2623
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
2624
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
2625
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
2626
|
+
op: string;
|
|
2627
|
+
input: Record<string, unknown>;
|
|
2628
|
+
}>;
|
|
2629
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
2630
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
2631
|
+
op: string;
|
|
2632
|
+
input: Record<string, unknown>;
|
|
2633
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
2634
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2635
|
+
onInputDelta?: ((options: {
|
|
2636
|
+
inputTextDelta: string;
|
|
2637
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2638
|
+
onInputAvailable?: ((options: {
|
|
2639
|
+
input: {
|
|
2640
|
+
op: string;
|
|
2641
|
+
input: Record<string, unknown>;
|
|
2642
|
+
};
|
|
2643
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2644
|
+
toModelOutput?: ((options: {
|
|
2645
|
+
toolCallId: string;
|
|
2646
|
+
input: {
|
|
2647
|
+
op: string;
|
|
2648
|
+
input: Record<string, unknown>;
|
|
2649
|
+
};
|
|
2650
|
+
output: NoInfer<HeldOutput | {
|
|
2651
|
+
output: unknown;
|
|
2652
|
+
}>;
|
|
2653
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
2654
|
+
} & {
|
|
2655
|
+
outputSchema?: import("ai").FlexibleSchema<HeldOutput | {
|
|
2656
|
+
output: unknown;
|
|
2657
|
+
}> | undefined;
|
|
2658
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
2659
|
+
op: string;
|
|
2660
|
+
input: Record<string, unknown>;
|
|
2661
|
+
}, HeldOutput | {
|
|
2662
|
+
output: unknown;
|
|
2663
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
2664
|
+
} & {
|
|
2665
|
+
description?: string | ((options: {
|
|
2666
|
+
context: NoInfer<import("@ai-sdk/provider-utils").Context>;
|
|
2667
|
+
experimental_sandbox?: import("ai").Experimental_SandboxSession;
|
|
2668
|
+
}) => string) | undefined;
|
|
2669
|
+
strict?: boolean;
|
|
2670
|
+
inputExamples?: {
|
|
2671
|
+
input: NoInfer<{
|
|
2672
|
+
op: string;
|
|
2673
|
+
input: Record<string, unknown>;
|
|
2674
|
+
}>;
|
|
2675
|
+
}[] | undefined;
|
|
2676
|
+
id?: never;
|
|
2677
|
+
isProviderExecuted?: never;
|
|
2678
|
+
args?: never;
|
|
2679
|
+
supportsDeferredResults?: never;
|
|
2680
|
+
} & {
|
|
2681
|
+
type: 'dynamic';
|
|
2682
|
+
} & {
|
|
2683
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
2684
|
+
op: string;
|
|
2685
|
+
input: Record<string, unknown>;
|
|
2686
|
+
}, HeldOutput | {
|
|
2687
|
+
output: unknown;
|
|
2688
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
2689
|
+
}) | ({
|
|
2690
|
+
deferLoading?: boolean;
|
|
2691
|
+
title?: string;
|
|
2692
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
2693
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
2694
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
2695
|
+
op: string;
|
|
2696
|
+
input: Record<string, unknown>;
|
|
2697
|
+
}>;
|
|
2698
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
2699
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
2700
|
+
op: string;
|
|
2701
|
+
input: Record<string, unknown>;
|
|
2702
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
2703
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2704
|
+
onInputDelta?: ((options: {
|
|
2705
|
+
inputTextDelta: string;
|
|
2706
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2707
|
+
onInputAvailable?: ((options: {
|
|
2708
|
+
input: {
|
|
2709
|
+
op: string;
|
|
2710
|
+
input: Record<string, unknown>;
|
|
2711
|
+
};
|
|
2712
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2713
|
+
toModelOutput?: ((options: {
|
|
2714
|
+
toolCallId: string;
|
|
2715
|
+
input: {
|
|
2716
|
+
op: string;
|
|
2717
|
+
input: Record<string, unknown>;
|
|
2718
|
+
};
|
|
2719
|
+
output: NoInfer<HeldOutput | {
|
|
2720
|
+
output: unknown;
|
|
2721
|
+
}>;
|
|
2722
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
2723
|
+
} & {
|
|
2724
|
+
outputSchema?: import("ai").FlexibleSchema<HeldOutput | {
|
|
2725
|
+
output: unknown;
|
|
2726
|
+
}> | undefined;
|
|
2727
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
2728
|
+
op: string;
|
|
2729
|
+
input: Record<string, unknown>;
|
|
2730
|
+
}, HeldOutput | {
|
|
2731
|
+
output: unknown;
|
|
2732
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
2733
|
+
} & {
|
|
2734
|
+
type: 'provider';
|
|
2735
|
+
id: `${string}.${string}`;
|
|
2736
|
+
args: Record<string, unknown>;
|
|
2737
|
+
description?: never;
|
|
2738
|
+
strict?: never;
|
|
2739
|
+
inputExamples?: never;
|
|
2740
|
+
} & {
|
|
2741
|
+
isProviderExecuted: false;
|
|
2742
|
+
supportsDeferredResults?: never;
|
|
2743
|
+
} & {
|
|
2744
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
2745
|
+
op: string;
|
|
2746
|
+
input: Record<string, unknown>;
|
|
2747
|
+
}, HeldOutput | {
|
|
2748
|
+
output: unknown;
|
|
2749
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
2750
|
+
}) | ({
|
|
2751
|
+
deferLoading?: boolean;
|
|
2752
|
+
title?: string;
|
|
2753
|
+
providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
2754
|
+
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
2755
|
+
inputSchema: import("ai").FlexibleSchema<{
|
|
2756
|
+
op: string;
|
|
2757
|
+
input: Record<string, unknown>;
|
|
2758
|
+
}>;
|
|
2759
|
+
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
2760
|
+
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
2761
|
+
op: string;
|
|
2762
|
+
input: Record<string, unknown>;
|
|
2763
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
|
|
2764
|
+
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2765
|
+
onInputDelta?: ((options: {
|
|
2766
|
+
inputTextDelta: string;
|
|
2767
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2768
|
+
onInputAvailable?: ((options: {
|
|
2769
|
+
input: {
|
|
2770
|
+
op: string;
|
|
2771
|
+
input: Record<string, unknown>;
|
|
2772
|
+
};
|
|
2773
|
+
} & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
|
|
2774
|
+
toModelOutput?: ((options: {
|
|
2775
|
+
toolCallId: string;
|
|
2776
|
+
input: {
|
|
2777
|
+
op: string;
|
|
2778
|
+
input: Record<string, unknown>;
|
|
2779
|
+
};
|
|
2780
|
+
output: NoInfer<HeldOutput | {
|
|
2781
|
+
output: unknown;
|
|
2782
|
+
}>;
|
|
2783
|
+
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
2784
|
+
} & {
|
|
2785
|
+
outputSchema?: import("ai").FlexibleSchema<HeldOutput | {
|
|
2786
|
+
output: unknown;
|
|
2787
|
+
}> | undefined;
|
|
2788
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
2789
|
+
op: string;
|
|
2790
|
+
input: Record<string, unknown>;
|
|
2791
|
+
}, HeldOutput | {
|
|
2792
|
+
output: unknown;
|
|
2793
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
2794
|
+
} & {
|
|
2795
|
+
type: 'provider';
|
|
2796
|
+
id: `${string}.${string}`;
|
|
2797
|
+
args: Record<string, unknown>;
|
|
2798
|
+
description?: never;
|
|
2799
|
+
strict?: never;
|
|
2800
|
+
inputExamples?: never;
|
|
2801
|
+
} & {
|
|
2802
|
+
isProviderExecuted: true;
|
|
2803
|
+
supportsDeferredResults?: boolean;
|
|
2804
|
+
} & {
|
|
2805
|
+
execute: import("ai").ToolExecuteFunction<{
|
|
2806
|
+
op: string;
|
|
2807
|
+
input: Record<string, unknown>;
|
|
2808
|
+
}, HeldOutput | {
|
|
2809
|
+
output: unknown;
|
|
2810
|
+
}, NoInfer<import("@ai-sdk/provider-utils").Context>>;
|
|
2811
|
+
});
|
|
2812
|
+
};
|
|
2813
|
+
/** Our loop's tools, as the chat's messages type them. */
|
|
2814
|
+
export type LoopTools = ReturnType<typeof loopTools>;
|