@nervekit/desktop 0.42.0 → 0.43.1
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/THIRD-PARTY-LICENSES.txt +210 -16
- package/dist/builtin/configure-nerve/SKILL.md +19 -10
- package/dist/builtin/configure-nerve/reference/agent-preferences.md +9 -0
- package/dist/builtin/configure-nerve/reference/agent-profiles.md +2 -6
- package/dist/builtin/configure-nerve/reference/agents-md.md +1 -1
- package/dist/builtin/configure-nerve/reference/extensions/api/extension-api/artifacts.d.ts +10 -0
- package/dist/builtin/configure-nerve/reference/extensions/api/extension-api/text.d.ts +4 -0
- package/dist/builtin/configure-nerve/reference/extensions/api/extension-sdk/components/components.d.ts +2 -0
- package/dist/builtin/configure-nerve/reference/extensions/api/extension-sdk/components/ui-kit/collections/match-terms.d.ts +8 -0
- package/dist/builtin/configure-nerve/reference/extensions/api/extension-sdk/components/ui-kit/components/composites/callout/callout.svelte.d.ts +1 -1
- package/dist/builtin/configure-nerve/reference/extensions/api/extension-sdk/components/ui-kit/components/composites/log-view/index.d.ts +3 -0
- package/dist/builtin/configure-nerve/reference/extensions/api/extension-sdk/components/ui-kit/components/composites/log-view/log-source.d.ts +43 -0
- package/dist/builtin/configure-nerve/reference/extensions/api/extension-sdk/components/ui-kit/components/composites/log-view/log-view.svelte.d.ts +22 -0
- package/dist/builtin/configure-nerve/reference/extensions/api/extension-sdk/components/ui-kit/components/composites/log-view/log-window.d.ts +77 -0
- package/dist/builtin/configure-nerve/reference/extensions/api/extension-sdk/components/ui-kit/components/composites/log-view/terminal-text.svelte.d.ts +6 -0
- package/dist/builtin/configure-nerve/reference/extensions/api/extension-sdk/components/ui-kit/display/status.d.ts +3 -0
- package/dist/builtin/configure-nerve/reference/extensions/api/extension-sdk/components/ui-kit/terminal/ansi.d.ts +4 -0
- package/dist/builtin/configure-nerve/{guide/extensions.md → reference/extensions/build.md} +4 -4
- package/dist/builtin/configure-nerve/reference/extensions/components.md +2 -1
- package/dist/builtin/configure-nerve/reference/extensions/manifest.md +1 -1
- package/dist/builtin/configure-nerve/reference/extensions/overview.md +2 -2
- package/dist/builtin/configure-nerve/{scripts → reference/extensions/scripts}/lib.mjs +2 -2
- package/dist/builtin/configure-nerve/reference/extensions/scripts/nerve-version.json +1 -0
- package/dist/builtin/configure-nerve/reference/extensions/sharing.md +2 -2
- package/dist/builtin/configure-nerve/reference/extensions/themes.md +1 -1
- package/dist/builtin/configure-nerve/reference/permissions.md +2 -2
- package/dist/builtin/configure-nerve/reference/prompt-suggestions.md +2 -2
- package/dist/builtin/configure-nerve/reference/skills.md +9 -9
- package/dist/{chunk-QFK2SWD2.js → chunk-34SYO66C.js} +11 -11
- package/dist/{chunk-6ZS7TA6E.js → chunk-35O66NLU.js} +2 -2
- package/dist/{chunk-DHIDYKXJ.js → chunk-3LWB5SGT.js} +1781 -1719
- package/dist/{chunk-7FSH3ABG.js → chunk-57A5HFXL.js} +4 -4
- package/dist/{chunk-EF7ZZKA3.js → chunk-5K7U6UXA.js} +3 -3
- package/dist/{chunk-WIQEPAUG.js → chunk-5S5O3V5G.js} +11 -10
- package/dist/{chunk-MTHLTFG4.js → chunk-5VLAJMQQ.js} +97 -105
- package/dist/{chunk-MI6L5CEA.js → chunk-5WMHGTVL.js} +2 -2
- package/dist/{chunk-NVVW3MWJ.js → chunk-6IJORN3N.js} +9 -9
- package/dist/{chunk-OMCM3MHS.js → chunk-7GSR2AW5.js} +10 -9
- package/dist/{chunk-WG62RHZ2.js → chunk-7MJT6LHU.js} +14 -4
- package/dist/{chunk-DDBE2VLT.js → chunk-A3OFIREH.js} +2 -2
- package/dist/{chunk-ZGWXLG5X.js → chunk-BNBEFI2M.js} +66 -76
- package/dist/{chunk-7RPHIJT3.js → chunk-C7L4BBGD.js} +4 -4
- package/dist/{chunk-2ICPO4UM.js → chunk-CZXRZEV4.js} +16 -14
- package/dist/{chunk-PVPJAGWR.js → chunk-EOZLBW5E.js} +2 -2
- package/dist/{chunk-U5KGV63C.js → chunk-EZJH7ED5.js} +1 -1
- package/dist/{chunk-RL52LSTV.js → chunk-F3X2KHP4.js} +1 -1
- package/dist/{chunk-Q3C7TQ2M.js → chunk-FNWUCFVO.js} +3 -3
- package/dist/chunk-FQVIQOV5.js +163 -0
- package/dist/{chunk-LP4APBBQ.js → chunk-FZ7U3GZI.js} +1 -1
- package/dist/{chunk-MBMZEIOG.js → chunk-G5SVCJCT.js} +38 -51
- package/dist/{chunk-62DQXVPO.js → chunk-HDTS5AS5.js} +26 -7
- package/dist/{chunk-WC5HHPPM.js → chunk-HRJJKZGM.js} +1 -1
- package/dist/chunk-I7OMW4RJ.js +87 -0
- package/dist/{chunk-TQURLRHD.js → chunk-IL67WXRA.js} +1 -1
- package/dist/{chunk-QDEH776O.js → chunk-KBBBQCYV.js} +179 -20
- package/dist/{chunk-KUFIFCB4.js → chunk-KDGUQYYY.js} +1 -1
- package/dist/{chunk-IRRR3PWN.js → chunk-KQD4DYEP.js} +68 -35
- package/dist/{chunk-JBEWFFOK.js → chunk-LIIGX2XX.js} +1 -1
- package/dist/{chunk-IVBMHEPK.js → chunk-LX33FMTS.js} +23 -36
- package/dist/{chunk-HPINJGBO.js → chunk-METH7J6V.js} +13 -12
- package/dist/{chunk-N6BUYKF3.js → chunk-MLE6MKPY.js} +7 -7
- package/dist/{chunk-3CZXUKLG.js → chunk-MRDORR5Z.js} +8 -1
- package/dist/{chunk-6IHXVT5H.js → chunk-NSISYP6D.js} +1 -1
- package/dist/{chunk-P72Y5ZBH.js → chunk-O2IYZBX6.js} +15 -26
- package/dist/{chunk-TSAUBRRU.js → chunk-P7GPT4XL.js} +1 -1
- package/dist/{chunk-F5XCJ6UV.js → chunk-PA37GH3T.js} +33 -58
- package/dist/{chunk-BACYVEE6.js → chunk-QC6DSC4D.js} +2 -2
- package/dist/{chunk-ZVH6EB7S.js → chunk-QKRWXA5W.js} +1 -1
- package/dist/{chunk-D6C32XHS.js → chunk-QQPLW3ZX.js} +17359 -12634
- package/dist/chunk-QQPLW3ZX.js.LEGAL.txt +59 -0
- package/dist/{chunk-N4OXAS3A.js → chunk-R22FWLXU.js} +1 -1
- package/dist/{chunk-7HGFEQSD.js → chunk-R7UJIPJA.js} +5 -5
- package/dist/{chunk-NW3DH7IK.js → chunk-RAHBWFWV.js} +8457 -2726
- package/dist/{chunk-O5JHHRFN.js → chunk-RMV6IZ2C.js} +32 -116
- package/dist/{chunk-Z6AY5VOZ.js → chunk-RQIN5JYO.js} +9 -6
- package/dist/{chunk-Q5E4ZL2R.js → chunk-S2UG5HD6.js} +1 -1
- package/dist/{chunk-U3TEC52G.js → chunk-S637DPAG.js} +1 -1
- package/dist/chunk-S6KM4DOB.js +37 -0
- package/dist/{chunk-MPDKZVHT.js → chunk-SVX46YXY.js} +1 -3
- package/dist/{chunk-XTUSLUQ7.js → chunk-TLDULBKV.js} +70 -24
- package/dist/{chunk-L5WGVYXM.js → chunk-UFE7IMKQ.js} +2 -2
- package/dist/{chunk-ZUWBEV2O.js → chunk-UQHUYEFW.js} +1 -1
- package/dist/{chunk-XM27UVWN.js → chunk-V7WOX4O7.js} +3 -3
- package/dist/{chunk-W7LEYYFH.js → chunk-WJAHXDL4.js} +41 -32
- package/dist/{chunk-6GUJQURI.js → chunk-WLTE6OJM.js} +2 -2
- package/dist/{chunk-BG2KGLIA.js → chunk-WMZAJ7XA.js} +2 -2
- package/dist/chunk-WOLKTL4F.js +32 -0
- package/dist/{chunk-H5CAHDII.js → chunk-WQHOXPLV.js} +51929 -50256
- package/dist/{chunk-EUT45AKW.js → chunk-YODV42KQ.js} +25 -32
- package/dist/{chunk-FCAIYPDJ.js → chunk-ZFFWWZIA.js} +2 -2
- package/dist/{chunk-376GN4PB.js → chunk-ZTG7VIGB.js} +173 -79
- package/dist/{chunk-O6FDXE54.js → chunk-ZVUAJ7UV.js} +25 -36
- package/dist/daemon.js +15 -15
- package/dist/ext-frame/base.css +1 -1
- package/dist/extension-assets/atlassian/docs/confluence-writing.md +5 -5
- package/dist/extension-assets/diagram/bundle.js +3 -0
- package/dist/git-isolated-reader-helper.js +1 -1
- package/dist/main.js +57 -128
- package/dist/quick-script-docs/runtime/artifacts.md +11 -0
- package/dist/quick-script-docs/runtime/documents.md +21 -12
- package/dist/quick-script-docs/runtime/editing.md +44 -0
- package/dist/quick-script-docs/runtime/images.md +1 -1
- package/dist/sandbox-libraries/credential-runtime.js +3 -0
- package/dist/sandbox-libraries/extension-runtime.js +3 -0
- package/dist/web/assets/AsyncBashCenterHost-BlxXoXd6.js +2 -0
- package/dist/web/assets/{ConversationListItem-CCaGnyA1.js → ConversationListItem-DfSMoYfe.js} +3 -3
- package/dist/web/assets/{ConversationsWorkbenchPanel-DLM3saY5.js → ConversationsWorkbenchPanel-BOIMwRZx.js} +1 -1
- package/dist/web/assets/{DiscoverCenterHost-DVNL8uZQ.js → DiscoverCenterHost-Bi6audxE.js} +1 -1
- package/dist/web/assets/{ExtensionPageCenterHost-CHKg6c3M.js → ExtensionPageCenterHost-DEg-LHcU.js} +1 -1
- package/dist/web/assets/FileCenterComposedHost-CPwzMZI9.js +1 -0
- package/dist/web/assets/FilesWorkbenchPanel-DnKQd6QC.js +12 -0
- package/dist/web/assets/{GitDiffCenterHost-DmtKqHer.js → GitDiffCenterHost-DtsFPa1z.js} +1 -1
- package/dist/web/assets/{GitWorkbenchPanel-BmyMyvL8.js → GitWorkbenchPanel-BfJKdIkE.js} +1 -1
- package/dist/web/assets/LaunchCenterHost-C5Bd9ELF.js +1 -0
- package/dist/web/assets/LaunchConfigurationNotice-Dp3rBKil.js +1 -0
- package/dist/web/assets/LaunchOutputPane-BuCSQcxg.js +2 -0
- package/dist/web/assets/LaunchesWorkbenchPanel-CMd3Xcbp.js +1 -0
- package/dist/web/assets/{LogsCenterHost-CdqD6zH8.js → LogsCenterHost-Be6EbsrZ.js} +1 -1
- package/dist/web/assets/{MermaidCenterHost-BjwJLU-2.js → MermaidCenterHost-BdQ8CGeb.js} +1 -1
- package/dist/web/assets/MobileFilesBody-C1q-YRaD.js +1 -0
- package/dist/web/assets/MobileFilesHost-DK769osZ.js +1 -0
- package/dist/web/assets/MobileLaunchOutputHost-BLDX3-Tn.js +1 -0
- package/dist/web/assets/MobileLaunchesHost-Dv2gfOEY.js +2 -0
- package/dist/web/assets/{MobileNoteEditorHost-lfAeMVH9.js → MobileNoteEditorHost-ZRzzwCYD.js} +1 -1
- package/dist/web/assets/{MobileNotesHost-DOi0goPc.js → MobileNotesHost-COOtVfAp.js} +2 -2
- package/dist/web/assets/MobileSettingsHost-BU2lCcG2.js +2 -0
- package/dist/web/assets/{MobileSettingsPageHost-CtpUzfVG.js → MobileSettingsPageHost-BC5LOq7Y.js} +1 -1
- package/dist/web/assets/{NotesWorkbenchPanel-CsbMYHAw.js → NotesWorkbenchPanel-BiTDbfjj.js} +1 -1
- package/dist/web/assets/{PullRequestCenterHost-B22Ua7bA.js → PullRequestCenterHost-DV3V3yxm.js} +1 -1
- package/dist/web/assets/{PullRequestsWorkbenchPanel-DOIHvZ6H.js → PullRequestsWorkbenchPanel-Dpvt9W-q.js} +1 -1
- package/dist/web/assets/SearchWorkbenchPanel-Bfj8fwPg.js +1 -0
- package/dist/web/assets/SettingsCenterHost-sHWZehrB.js +1 -0
- package/dist/web/assets/SystemPromptCenterHost-CA9i8UbB.js +2 -0
- package/dist/web/assets/{ThemePreviewPicker-B_DTUsui.js → ThemePreviewPicker-PySjP6aS.js} +1 -1
- package/dist/web/assets/adapters-fVomUv3-.js +1 -0
- package/dist/web/assets/agent-profiles.svelte-CenutfXA.js +1 -0
- package/dist/web/assets/appearance.svelte-BKxiMJ3c.js +1 -0
- package/dist/web/assets/center-tabs.svelte-i0d5hUO3.js +2 -0
- package/dist/web/assets/{channel-CxF1CmEY.js → channel-DB8mSlhP.js} +2 -2
- package/dist/web/assets/{client-CVZRorEj.js → client-DHxa8CWS.js} +1 -1
- package/dist/web/assets/code-CsVM8hq8.js +7 -0
- package/dist/web/assets/conversation-activity-CZJfUGoL.js +1 -0
- package/dist/web/assets/conversation-connection-CaV3KY7Z.js +1 -0
- package/dist/web/assets/discover-Do0oQbdF.js +4 -0
- package/dist/web/assets/{dist-HTsJAisd.js → dist-B887qHIr.js} +1 -1
- package/dist/web/assets/{dist-CDM0qUmO.js → dist-Bg8Vm0DE.js} +1 -1
- package/dist/web/assets/{dist-BVmTdBxj.js → dist-C2z70795.js} +1 -1
- package/dist/web/assets/{dist-EmwCDpCc.js → dist-CcBabmlO.js} +1 -1
- package/dist/web/assets/{dist-DkQMSgZ5.js → dist-HSfz5y1D.js} +1 -1
- package/dist/web/assets/{dist-DZN4bTV3.js → dist-HUxdivoH.js} +1 -1
- package/dist/web/assets/{dist-BWsookwC.js → dist-wvfFRict.js} +1 -1
- package/dist/web/assets/{easing-DfoPn4-z.js → easing-B6dSt4eu.js} +1 -1
- package/dist/web/assets/empty-CtUlV5QU.js +1 -0
- package/dist/web/assets/eraser-B8qFMviR.js +1 -0
- package/dist/web/assets/{extension-themes.svelte-BAce41Wm.js → extension-themes.svelte-nXDPOl_E.js} +2 -2
- package/dist/web/assets/{file-tabs.svelte-CaZRhyw0.js → file-tabs.svelte-BxCAtif2.js} +2 -2
- package/dist/web/assets/files-DcUCbPX1.js +156 -0
- package/dist/web/assets/{files-dFQS0tcX.css → files-N9JiAfxr.css} +1 -1
- package/dist/web/assets/filesystem-9b72Tdkw.js +1 -0
- package/dist/web/assets/floating-toolbar-Cqtfs8M7.js +1 -0
- package/dist/web/assets/{git-store.svelte-DkeLA_WZ.js → git-store.svelte-DIVFeLGG.js} +1 -1
- package/dist/web/assets/{icon-action-efe9ZEWq.js → icon-action-C9h3TdBz.js} +1 -1
- package/dist/web/assets/index-6mIS-NWJ.js +165 -0
- package/dist/web/assets/index-D2aeJHnc.css +1 -0
- package/dist/web/assets/launches-Dafgn_my.js +5 -0
- package/dist/web/assets/launches.api-ZZ-IwIQ_.js +1 -0
- package/dist/web/assets/log-view-Dqspnrs0.js +1 -0
- package/dist/web/assets/{logs.api-gZ2mVC9q.js → logs.api-BxN21LL0.js} +1 -1
- package/dist/web/assets/{maintenance-state.svelte-xMmmI9yr.js → maintenance-state.svelte-BAKtNG-i.js} +2 -2
- package/dist/web/assets/menu-icons-tnCN992t.js +1 -0
- package/dist/web/assets/{mermaid-ACpEwsfj.js → mermaid-DL5xfcqL.js} +1 -1
- package/dist/web/assets/mobile-launch-rows-DR6V5AUH.js +1 -0
- package/dist/web/assets/page-tabs.svelte-wduGZwmi.js +4 -0
- package/dist/web/assets/panel-BW0llJiU.js +1 -0
- package/dist/web/assets/popover-panel-DO5nPkvA.js +4 -0
- package/dist/web/assets/pr-view-loader.svelte-RSHgeFYM.js +1 -0
- package/dist/web/assets/progress-CRuzrJQt.js +1 -0
- package/dist/web/assets/{scratch-notes-state.svelte-rBeSOn4h.js → scratch-notes-state.svelte-BcqgnE6z.js} +1 -1
- package/dist/web/assets/{scratch-notes.api-Co80EGtL.js → scratch-notes.api-D9wtv1Mn.js} +1 -1
- package/dist/web/assets/settings-CKsESd2i.js +1 -0
- package/dist/web/assets/settings-Crny2xGb.js +1 -0
- package/dist/web/assets/settings-scope-BiY5kIdC.js +35 -0
- package/dist/web/assets/shell-BiZy0tcZ.js +1 -0
- package/dist/web/assets/shell-layout.svelte-9B3T60gv.js +2 -0
- package/dist/web/assets/{lock-open-BBTCOUg5.js → tag-Bp1l7psd.js} +1 -1
- package/dist/web/assets/time-egBWJGDu.js +1 -0
- package/dist/web/assets/views-Bl6CiPE0.js +2 -0
- package/dist/web/assets/{workbench-connection-Gsy9bIuP.js → workbench-connection-CyMud_mZ.js} +1 -1
- package/dist/web/assets/{workspace-CUoFFOwJ.js → workspace-V-yCOfn1.js} +1 -1
- package/dist/web/assets/workspace-actions.svelte-D8-Agx2d.js +1 -0
- package/dist/web/assets/{workspace-selectors.svelte-D-EQR_-Z.js → workspace-selectors.svelte-DQ1mQdvX.js} +2 -2
- package/dist/web/index.html +47 -48
- package/dist/web/sw.js +1 -1
- package/dist/worker.js +14 -14
- package/package.json +7 -7
- package/dist/builtin/configure-nerve/guide/collaboration.md +0 -15
- package/dist/builtin/configure-nerve/scripts/nerve-version.json +0 -1
- package/dist/chunk-D6C32XHS.js.LEGAL.txt +0 -25
- package/dist/chunk-RJR7DJJK.js +0 -32
- package/dist/chunk-UVRULOOP.js +0 -35
- package/dist/quick-script-docs/runtime/files.md +0 -11
- package/dist/web/assets/AsyncBashCenterHost-DldW4utc.js +0 -2
- package/dist/web/assets/FileCenterComposedHost-kxFWeFmP.js +0 -1
- package/dist/web/assets/FilesWorkbenchPanel-BxjUf50f.js +0 -12
- package/dist/web/assets/LaunchCenterHost-1xrIDf73.js +0 -1
- package/dist/web/assets/LaunchConfigurationNotice-BfRdIOv0.js +0 -1
- package/dist/web/assets/LaunchesWorkbenchPanel-BhCyWFHf.js +0 -1
- package/dist/web/assets/LogStream-C70iQmUI.css +0 -1
- package/dist/web/assets/LogStream-CibF_jgC.js +0 -1
- package/dist/web/assets/MobileFilesBody-4bLT2m0j.js +0 -1
- package/dist/web/assets/MobileFilesHost-X_0r4Z16.js +0 -1
- package/dist/web/assets/MobileLaunchOutputHost-BEchaBtD.js +0 -1
- package/dist/web/assets/MobileLaunchesHost-S7Z3DySI.js +0 -2
- package/dist/web/assets/MobileSettingsHost-94-sABuO.js +0 -2
- package/dist/web/assets/SearchWorkbenchPanel-CKccBrNr.js +0 -1
- package/dist/web/assets/SettingsCenterHost-BM-xIy5S.js +0 -1
- package/dist/web/assets/SystemPromptCenterHost-VL4DXNId.js +0 -1
- package/dist/web/assets/adapters-CbIIxNp9.js +0 -1
- package/dist/web/assets/agent-profiles.svelte-8LAIYKmb.js +0 -1
- package/dist/web/assets/appearance.svelte-CLR_fMAx.js +0 -1
- package/dist/web/assets/center-tabs.svelte-BCriw5Eu.js +0 -1
- package/dist/web/assets/code-H_8FkG35.js +0 -7
- package/dist/web/assets/conversation-activity-Dl7udunb.js +0 -1
- package/dist/web/assets/conversation-connection-B226pY9T.js +0 -1
- package/dist/web/assets/discover-DTlfL84I.js +0 -4
- package/dist/web/assets/empty-B8eEKvqc.js +0 -1
- package/dist/web/assets/file-code-CMYYNL9l.js +0 -1
- package/dist/web/assets/files-eAvb-uRC.js +0 -48
- package/dist/web/assets/filesystem-CmkTuQNl.js +0 -1
- package/dist/web/assets/floating-toolbar-BwJ2tdsN.js +0 -1
- package/dist/web/assets/index-CH1Mvlxk.css +0 -1
- package/dist/web/assets/index-DNfABG4x.js +0 -172
- package/dist/web/assets/launches-ZxeZFPI8.js +0 -5
- package/dist/web/assets/launches.api-BEsX6AKZ.js +0 -1
- package/dist/web/assets/launches.svelte-QFDoCgug.js +0 -2
- package/dist/web/assets/menu-icons-C24r3TCF.js +0 -1
- package/dist/web/assets/mobile-launch-rows-Ci7ldwx6.js +0 -1
- package/dist/web/assets/page-tabs.svelte-VZp38ac7.js +0 -4
- package/dist/web/assets/panel-DEG1zXHj.js +0 -1
- package/dist/web/assets/popover-panel-B1cUdhY5.js +0 -5
- package/dist/web/assets/pr-view-loader.svelte-CZfxwzwL.js +0 -1
- package/dist/web/assets/progress-D2Cb6vK_.js +0 -1
- package/dist/web/assets/settings-B_ed0eye.js +0 -1
- package/dist/web/assets/settings-Dzj6Az_d.js +0 -1
- package/dist/web/assets/settings-scope-BjQBgG9v.js +0 -33
- package/dist/web/assets/shell-CbR1KanT.js +0 -1
- package/dist/web/assets/shell-layout.svelte-D5u4i1UJ.js +0 -2
- package/dist/web/assets/time-DqcZ_PFK.js +0 -1
- package/dist/web/assets/views-D4ociG21.js +0 -2
- package/dist/web/assets/workspace-actions.svelte-BMp3D2e1.js +0 -1
- /package/dist/builtin/configure-nerve/{scripts → reference/extensions/scripts}/create-extension.mjs +0 -0
- /package/dist/builtin/configure-nerve/{scripts → reference/extensions/scripts}/install-extension.mjs +0 -0
- /package/dist/builtin/configure-nerve/{scripts → reference/extensions/scripts}/upgrade-extension.mjs +0 -0
- /package/dist/builtin/configure-nerve/{reference/writing-for-agents.md → writing-for-agents.md} +0 -0
- /package/dist/{chunk-H5CAHDII.js.LEGAL.txt → chunk-WQHOXPLV.js.LEGAL.txt} +0 -0
|
@@ -5,7 +5,9 @@ import {
|
|
|
5
5
|
ResourceScope,
|
|
6
6
|
convertMessages,
|
|
7
7
|
convertTools,
|
|
8
|
+
formatGooglePromptBlockError,
|
|
8
9
|
getDisabledGoogleThinkingConfig,
|
|
10
|
+
getGoogleBudget,
|
|
9
11
|
isThinkingPart,
|
|
10
12
|
mapStopReason,
|
|
11
13
|
resolveGoogleFunctionCallingMode,
|
|
@@ -16,45 +18,45 @@ import {
|
|
|
16
18
|
toGoogleSdkThinkingLevel,
|
|
17
19
|
toGoogleThinkingLevel,
|
|
18
20
|
usesGoogleThinkingLevel
|
|
19
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-QQPLW3ZX.js";
|
|
20
22
|
import "./chunk-MXYQOFZ5.js";
|
|
21
23
|
import "./chunk-RGDXDX7B.js";
|
|
22
24
|
import {
|
|
23
25
|
buildBaseOptions
|
|
24
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-RQIN5JYO.js";
|
|
25
27
|
import {
|
|
26
28
|
sanitizeSurrogates
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
+
} from "./chunk-P7GPT4XL.js";
|
|
30
|
+
import "./chunk-MRDORR5Z.js";
|
|
29
31
|
import {
|
|
30
32
|
formatProviderError,
|
|
31
33
|
normalizeProviderError
|
|
32
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-EOZLBW5E.js";
|
|
33
35
|
import {
|
|
34
36
|
providerHeadersToRecord
|
|
35
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-NSISYP6D.js";
|
|
36
38
|
import {
|
|
37
39
|
getProviderEnvValue
|
|
38
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-LIIGX2XX.js";
|
|
39
41
|
import {
|
|
40
42
|
calculateCost,
|
|
41
43
|
clampThinkingLevel,
|
|
42
44
|
collapseSystemMessages,
|
|
43
45
|
getCurrentTools,
|
|
44
46
|
getInitialSystemMessage
|
|
45
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-WJAHXDL4.js";
|
|
46
48
|
import {
|
|
47
49
|
AssistantMessageEventStream
|
|
48
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-A3OFIREH.js";
|
|
49
51
|
import {
|
|
50
52
|
getIdentityHeaders
|
|
51
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-FNWUCFVO.js";
|
|
52
54
|
import {
|
|
53
55
|
getSystemMessageText
|
|
54
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-EZJH7ED5.js";
|
|
55
57
|
import "./chunk-CWESUMYQ.js";
|
|
56
58
|
|
|
57
|
-
// node_modules/.pnpm/@earendil-works+pi-ai@1.
|
|
59
|
+
// node_modules/.pnpm/@earendil-works+pi-ai@1.6.1_@smithy+signature-v4@5.7.3_google-auth-library@10.7.0_suppo_bdf1b0d1b5e752e25be2c525cddbb146/node_modules/@earendil-works/pi-ai/dist/api/google-vertex.js
|
|
58
60
|
var API_VERSION = "v1";
|
|
59
61
|
var GCP_VERTEX_CREDENTIALS_MARKER = "gcp-vertex-credentials";
|
|
60
62
|
var toolCallCounter = 0;
|
|
@@ -80,23 +82,26 @@ var stream = (model, context, options) => {
|
|
|
80
82
|
timestamp: Date.now()
|
|
81
83
|
};
|
|
82
84
|
try {
|
|
83
|
-
if (options?.fetch && options.fetch !== globalThis.fetch) {
|
|
84
|
-
throw new Error("Custom fetch is not supported by the Google Vertex adapter");
|
|
85
|
-
}
|
|
86
85
|
const apiKey = resolveApiKey(options);
|
|
87
|
-
const client = apiKey ? createClientWithApiKey(model, apiKey, options?.headers, options?.identity) : createClient(model, resolveProject(options), resolveLocation(options), options?.headers, options?.env, options?.identity);
|
|
86
|
+
const client = apiKey ? createClientWithApiKey(model, apiKey, options?.headers, options?.identity, options?.fetch) : createClient(model, resolveProject(options), resolveLocation(options), options?.headers, options?.env, options?.identity, options?.fetch);
|
|
88
87
|
let params = buildParams(model, normalizedContext, options);
|
|
89
88
|
const nextParams = await options?.onPayload?.(params, model);
|
|
90
89
|
if (nextParams !== void 0) {
|
|
91
90
|
params = nextParams;
|
|
92
91
|
}
|
|
93
|
-
const googleStream = await retryGoogleRequest(() => client.models.generateContentStream(params), options);
|
|
92
|
+
const googleStream = await retryGoogleRequest(() => client.models.generateContentStream(params), model, options);
|
|
94
93
|
stream2.push({ type: "start", partial: output });
|
|
95
94
|
let currentBlock = null;
|
|
95
|
+
let receivedChunkCount = 0;
|
|
96
|
+
let promptBlockError;
|
|
96
97
|
const blocks = output.content;
|
|
97
98
|
const blockIndex = () => blocks.length - 1;
|
|
98
99
|
for await (const chunk of googleStream) {
|
|
99
100
|
await options?.onProviderStreamEvent?.(chunk, model);
|
|
101
|
+
receivedChunkCount++;
|
|
102
|
+
if (chunk.promptFeedback?.blockReason) {
|
|
103
|
+
promptBlockError ??= formatGooglePromptBlockError("Google Vertex", chunk.promptFeedback);
|
|
104
|
+
}
|
|
100
105
|
output.responseId ||= chunk.responseId;
|
|
101
106
|
const candidate = chunk.candidates?.[0];
|
|
102
107
|
if (candidate?.content?.parts) {
|
|
@@ -239,7 +244,10 @@ var stream = (model, context, options) => {
|
|
|
239
244
|
throw new Error("Request was aborted");
|
|
240
245
|
}
|
|
241
246
|
if (output.stopReason === "pending") {
|
|
242
|
-
|
|
247
|
+
if (promptBlockError)
|
|
248
|
+
throw new Error(promptBlockError);
|
|
249
|
+
const chunkLabel = receivedChunkCount === 1 ? "chunk" : "chunks";
|
|
250
|
+
throw new Error(`Google Vertex stream ended without a finish reason after receiving ${receivedChunkCount} ${chunkLabel}`);
|
|
243
251
|
}
|
|
244
252
|
if (output.stopReason === "aborted" || output.stopReason === "error") {
|
|
245
253
|
const errorMessage = output.rawStopReason ? `Provider stopped with: ${output.rawStopReason}` : "An unknown error occurred";
|
|
@@ -292,7 +300,7 @@ var streamSimple = (model, context, options) => {
|
|
|
292
300
|
}
|
|
293
301
|
});
|
|
294
302
|
};
|
|
295
|
-
function createClient(model, project, location, optionsHeaders, env, identity) {
|
|
303
|
+
function createClient(model, project, location, optionsHeaders, env, identity, fetch) {
|
|
296
304
|
const googleAuthOptions = buildGoogleAuthOptions(env);
|
|
297
305
|
return new GoogleGenAI({
|
|
298
306
|
vertexai: true,
|
|
@@ -300,19 +308,19 @@ function createClient(model, project, location, optionsHeaders, env, identity) {
|
|
|
300
308
|
location,
|
|
301
309
|
apiVersion: API_VERSION,
|
|
302
310
|
...googleAuthOptions ? { googleAuthOptions } : {},
|
|
303
|
-
httpOptions: buildHttpOptions(model, optionsHeaders, identity)
|
|
311
|
+
httpOptions: buildHttpOptions(model, optionsHeaders, identity, fetch)
|
|
304
312
|
});
|
|
305
313
|
}
|
|
306
|
-
function createClientWithApiKey(model, apiKey, optionsHeaders, identity) {
|
|
314
|
+
function createClientWithApiKey(model, apiKey, optionsHeaders, identity, fetch) {
|
|
307
315
|
return new GoogleGenAI({
|
|
308
316
|
vertexai: true,
|
|
309
317
|
apiKey,
|
|
310
318
|
apiVersion: API_VERSION,
|
|
311
|
-
httpOptions: buildHttpOptions(model, optionsHeaders, identity)
|
|
319
|
+
httpOptions: buildHttpOptions(model, optionsHeaders, identity, fetch)
|
|
312
320
|
});
|
|
313
321
|
}
|
|
314
|
-
function buildHttpOptions(model, optionsHeaders, identity) {
|
|
315
|
-
const httpOptions = {};
|
|
322
|
+
function buildHttpOptions(model, optionsHeaders, identity, fetch) {
|
|
323
|
+
const httpOptions = { fetch: fetch ?? globalThis.fetch };
|
|
316
324
|
const baseUrl = resolveCustomBaseUrl(model.baseUrl);
|
|
317
325
|
if (baseUrl) {
|
|
318
326
|
httpOptions.baseUrl = baseUrl;
|
|
@@ -325,7 +333,7 @@ function buildHttpOptions(model, optionsHeaders, identity) {
|
|
|
325
333
|
if (headers) {
|
|
326
334
|
httpOptions.headers = headers;
|
|
327
335
|
}
|
|
328
|
-
return
|
|
336
|
+
return httpOptions;
|
|
329
337
|
}
|
|
330
338
|
function resolveCustomBaseUrl(baseUrl) {
|
|
331
339
|
const trimmed = baseUrl.trim();
|
|
@@ -381,7 +389,7 @@ function buildParams(model, context, options = {}) {
|
|
|
381
389
|
if (options.maxTokens !== void 0) {
|
|
382
390
|
generationConfig.maxOutputTokens = options.maxTokens;
|
|
383
391
|
}
|
|
384
|
-
const supportsStrictMode = supportsGoogleStrictToolSampling(model
|
|
392
|
+
const supportsStrictMode = supportsGoogleStrictToolSampling(model);
|
|
385
393
|
const functionCallingMode = currentTools.length > 0 ? resolveGoogleFunctionCallingMode(currentTools, options.toolChoice, supportsStrictMode) : void 0;
|
|
386
394
|
const systemInstruction = initialSystemMessage ? getSystemMessageText(initialSystemMessage) : "";
|
|
387
395
|
const config = {
|
|
@@ -392,7 +400,10 @@ function buildParams(model, context, options = {}) {
|
|
|
392
400
|
},
|
|
393
401
|
...functionCallingMode !== void 0 && {
|
|
394
402
|
toolConfig: { functionCallingConfig: { mode: functionCallingMode } }
|
|
395
|
-
}
|
|
403
|
+
},
|
|
404
|
+
// Off for now, until we have evaluated the implications of the SDK's automatic continuation
|
|
405
|
+
// (extra requests and stream resumes inside the SDK). A CONTINUATION finish ends the turn as "length".
|
|
406
|
+
automaticContinuation: false
|
|
396
407
|
};
|
|
397
408
|
if (options.thinking?.enabled && model.reasoning) {
|
|
398
409
|
const thinkingConfig = { includeThoughts: true };
|
|
@@ -418,30 +429,6 @@ function buildParams(model, context, options = {}) {
|
|
|
418
429
|
};
|
|
419
430
|
return params;
|
|
420
431
|
}
|
|
421
|
-
function getGoogleBudget(model, level, customBudgets) {
|
|
422
|
-
if (customBudgets?.[level] !== void 0) {
|
|
423
|
-
return customBudgets[level];
|
|
424
|
-
}
|
|
425
|
-
if (model.id.includes("2.5-pro")) {
|
|
426
|
-
const budgets = {
|
|
427
|
-
minimal: 128,
|
|
428
|
-
low: 2048,
|
|
429
|
-
medium: 8192,
|
|
430
|
-
high: 32768
|
|
431
|
-
};
|
|
432
|
-
return budgets[level];
|
|
433
|
-
}
|
|
434
|
-
if (model.id.includes("2.5-flash")) {
|
|
435
|
-
const budgets = {
|
|
436
|
-
minimal: 128,
|
|
437
|
-
low: 2048,
|
|
438
|
-
medium: 8192,
|
|
439
|
-
high: 24576
|
|
440
|
-
};
|
|
441
|
-
return budgets[level];
|
|
442
|
-
}
|
|
443
|
-
return -1;
|
|
444
|
-
}
|
|
445
432
|
export {
|
|
446
433
|
stream,
|
|
447
434
|
streamSimple
|
|
@@ -2,25 +2,32 @@ import { createRequire as __nerveCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __nerveCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
ownedSlice
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EZJH7ED5.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@earendil-works+pi-ai@1.
|
|
7
|
+
// node_modules/.pnpm/@earendil-works+pi-ai@1.6.1_@smithy+signature-v4@5.7.3_google-auth-library@10.7.0_suppo_bdf1b0d1b5e752e25be2c525cddbb146/node_modules/@earendil-works/pi-ai/dist/providers/radius-config.js
|
|
8
8
|
var DEFAULT_RADIUS_GATEWAY = "https://radius.pi.dev";
|
|
9
|
-
function
|
|
9
|
+
function isRadiusGatewayClassifierModel(value) {
|
|
10
10
|
if (typeof value !== "object" || value === null || Array.isArray(value))
|
|
11
11
|
return false;
|
|
12
12
|
const model = value;
|
|
13
|
-
return typeof model.id === "string" && typeof model.name === "string" &&
|
|
13
|
+
return typeof model.id === "string" && typeof model.name === "string" && Array.isArray(model.input) && typeof model.cost === "object" && model.cost !== null && !Array.isArray(model.cost) && typeof model.contextWindow === "number";
|
|
14
|
+
}
|
|
15
|
+
function isRadiusGatewayModel(value) {
|
|
16
|
+
if (!isRadiusGatewayClassifierModel(value))
|
|
17
|
+
return false;
|
|
18
|
+
const model = value;
|
|
19
|
+
return typeof model.reasoning === "boolean" && typeof model.maxTokens === "number";
|
|
14
20
|
}
|
|
15
21
|
function sanitizeRadiusGatewayConfig(config) {
|
|
16
22
|
if (typeof config !== "object" || config === null || Array.isArray(config))
|
|
17
23
|
return void 0;
|
|
18
|
-
const { baseUrl, models } = config;
|
|
24
|
+
const { baseUrl, models, classifiers } = config;
|
|
19
25
|
if (typeof baseUrl !== "string" || !Array.isArray(models))
|
|
20
26
|
return void 0;
|
|
21
27
|
return {
|
|
22
28
|
baseUrl,
|
|
23
|
-
models: models.filter(isRadiusGatewayModel).map((model) => ({ ...model }))
|
|
29
|
+
models: models.filter(isRadiusGatewayModel).map((model) => ({ ...model })),
|
|
30
|
+
...Array.isArray(classifiers) ? { classifiers: classifiers.filter(isRadiusGatewayClassifierModel).map((model) => ({ ...model })) } : {}
|
|
24
31
|
};
|
|
25
32
|
}
|
|
26
33
|
function normalizeRadiusGatewayUrl(value) {
|
|
@@ -38,6 +45,18 @@ function getRadiusModelsFromConfig(providerId, config) {
|
|
|
38
45
|
baseUrl: config.baseUrl
|
|
39
46
|
}));
|
|
40
47
|
}
|
|
48
|
+
function getRadiusAllModelsFromConfig(providerId, config) {
|
|
49
|
+
return [
|
|
50
|
+
...getRadiusModelsFromConfig(providerId, config),
|
|
51
|
+
...(config.classifiers ?? []).map((model) => ({
|
|
52
|
+
...model,
|
|
53
|
+
type: "classifier",
|
|
54
|
+
api: "pi-decision",
|
|
55
|
+
provider: providerId,
|
|
56
|
+
baseUrl: config.baseUrl
|
|
57
|
+
}))
|
|
58
|
+
];
|
|
59
|
+
}
|
|
41
60
|
function getRadiusModels(providerId, credential) {
|
|
42
61
|
const config = getRadiusCredentialConfig(credential);
|
|
43
62
|
return config ? getRadiusModelsFromConfig(providerId, config) : [];
|
|
@@ -63,7 +82,7 @@ async function loadRadiusGatewayConfig(gateway, apiKey, signal) {
|
|
|
63
82
|
export {
|
|
64
83
|
DEFAULT_RADIUS_GATEWAY,
|
|
65
84
|
normalizeRadiusGatewayUrl,
|
|
66
|
-
|
|
85
|
+
getRadiusAllModelsFromConfig,
|
|
67
86
|
getRadiusModels,
|
|
68
87
|
loadRadiusGatewayConfig
|
|
69
88
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __nerveCreateRequire } from "node:module";
|
|
2
2
|
const require = __nerveCreateRequire(import.meta.url);
|
|
3
3
|
|
|
4
|
-
// node_modules/.pnpm/@earendil-works+pi-ai@1.
|
|
4
|
+
// node_modules/.pnpm/@earendil-works+pi-ai@1.6.1_@smithy+signature-v4@5.7.3_google-auth-library@10.7.0_suppo_bdf1b0d1b5e752e25be2c525cddbb146/node_modules/@earendil-works/pi-ai/dist/utils/sleep.js
|
|
5
5
|
function sleep(ms, signal) {
|
|
6
6
|
return new Promise((resolve, reject) => {
|
|
7
7
|
signal.throwIfAborted();
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { createRequire as __nerveCreateRequire } from "node:module";
|
|
2
|
+
const require = __nerveCreateRequire(import.meta.url);
|
|
3
|
+
|
|
4
|
+
// node_modules/.pnpm/@earendil-works+pi-ai@1.6.1_@smithy+signature-v4@5.7.3_google-auth-library@10.7.0_suppo_bdf1b0d1b5e752e25be2c525cddbb146/node_modules/@earendil-works/pi-ai/dist/utils/sse.js
|
|
5
|
+
var SseDecoder = class {
|
|
6
|
+
decoder = new TextDecoder();
|
|
7
|
+
/** The incomplete last line. */
|
|
8
|
+
pendingLine = "";
|
|
9
|
+
/** The last text ended with CR, so a leading LF of the next text completes that CRLF. */
|
|
10
|
+
skipLeadingLf = false;
|
|
11
|
+
event = null;
|
|
12
|
+
data = [];
|
|
13
|
+
raw = [];
|
|
14
|
+
/** Takes the next bytes and returns the events they complete. */
|
|
15
|
+
push(bytes) {
|
|
16
|
+
return this.decodeText(this.decoder.decode(bytes, { stream: true }));
|
|
17
|
+
}
|
|
18
|
+
/** Ends the stream and returns the remaining events, including a last one the stream ended without a blank line. */
|
|
19
|
+
end() {
|
|
20
|
+
const events = this.decodeText(this.decoder.decode());
|
|
21
|
+
if (this.pendingLine)
|
|
22
|
+
this.decodeLine(this.pendingLine);
|
|
23
|
+
this.pendingLine = "";
|
|
24
|
+
this.skipLeadingLf = false;
|
|
25
|
+
const last = this.flush();
|
|
26
|
+
if (last)
|
|
27
|
+
events.push(last);
|
|
28
|
+
return events;
|
|
29
|
+
}
|
|
30
|
+
decodeText(text) {
|
|
31
|
+
const events = [];
|
|
32
|
+
let start = this.skipLeadingLf && text.startsWith("\n") ? 1 : 0;
|
|
33
|
+
if (text.length > 0)
|
|
34
|
+
this.skipLeadingLf = false;
|
|
35
|
+
for (let i = start; i < text.length; i++) {
|
|
36
|
+
const char = text[i];
|
|
37
|
+
if (char !== "\r" && char !== "\n")
|
|
38
|
+
continue;
|
|
39
|
+
const event = this.decodeLine(this.pendingLine + text.slice(start, i));
|
|
40
|
+
if (event)
|
|
41
|
+
events.push(event);
|
|
42
|
+
this.pendingLine = "";
|
|
43
|
+
if (char === "\r") {
|
|
44
|
+
if (i + 1 === text.length)
|
|
45
|
+
this.skipLeadingLf = true;
|
|
46
|
+
else if (text[i + 1] === "\n")
|
|
47
|
+
i++;
|
|
48
|
+
}
|
|
49
|
+
start = i + 1;
|
|
50
|
+
}
|
|
51
|
+
this.pendingLine += text.slice(start);
|
|
52
|
+
return events;
|
|
53
|
+
}
|
|
54
|
+
decodeLine(line) {
|
|
55
|
+
if (line === "")
|
|
56
|
+
return this.flush();
|
|
57
|
+
this.raw.push(line);
|
|
58
|
+
if (line.startsWith(":"))
|
|
59
|
+
return void 0;
|
|
60
|
+
const colon = line.indexOf(":");
|
|
61
|
+
const field = colon === -1 ? line : line.slice(0, colon);
|
|
62
|
+
let value = colon === -1 ? "" : line.slice(colon + 1);
|
|
63
|
+
if (value.startsWith(" "))
|
|
64
|
+
value = value.slice(1);
|
|
65
|
+
if (field === "event")
|
|
66
|
+
this.event = value;
|
|
67
|
+
else if (field === "data")
|
|
68
|
+
this.data.push(value);
|
|
69
|
+
return void 0;
|
|
70
|
+
}
|
|
71
|
+
flush() {
|
|
72
|
+
if (!this.event && this.data.length === 0) {
|
|
73
|
+
this.event = null;
|
|
74
|
+
this.raw = [];
|
|
75
|
+
return void 0;
|
|
76
|
+
}
|
|
77
|
+
const event = { event: this.event, data: this.data.join("\n"), raw: this.raw };
|
|
78
|
+
this.event = null;
|
|
79
|
+
this.data = [];
|
|
80
|
+
this.raw = [];
|
|
81
|
+
return event;
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
export {
|
|
86
|
+
SseDecoder
|
|
87
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __nerveCreateRequire } from "node:module";
|
|
2
2
|
const require = __nerveCreateRequire(import.meta.url);
|
|
3
3
|
|
|
4
|
-
// node_modules/.pnpm/@earendil-works+pi-ai@1.
|
|
4
|
+
// node_modules/.pnpm/@earendil-works+pi-ai@1.6.1_@smithy+signature-v4@5.7.3_google-auth-library@10.7.0_suppo_bdf1b0d1b5e752e25be2c525cddbb146/node_modules/@earendil-works/pi-ai/dist/api/github-copilot-headers.js
|
|
5
5
|
function inferCopilotInitiator(messages) {
|
|
6
6
|
const last = messages[messages.length - 1];
|
|
7
7
|
return last && last.role !== "user" ? "agent" : "user";
|