@nervekit/desktop 0.40.2 → 0.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -2
- package/THIRD-PARTY-LICENSES.txt +964 -4
- package/dist/bin.js +1 -0
- package/dist/{chunk-YJT4NXMV.js → chunk-2ICPO4UM.js} +5 -5
- package/dist/{chunk-EX63VKXY.js → chunk-3CZXUKLG.js} +1 -1
- package/dist/{chunk-KTGSBL6T.js → chunk-4OCDR4DU.js} +11 -11
- package/dist/{chunk-BNVMNV4O.js → chunk-62DQXVPO.js} +2 -2
- package/dist/{chunk-K2J2VZXO.js → chunk-6GUJQURI.js} +2 -2
- package/dist/{chunk-VBM7TD3X.js → chunk-6IHXVT5H.js} +1 -1
- package/dist/{chunk-KBNEZR7T.js → chunk-6ZS7TA6E.js} +2 -2
- package/dist/{chunk-O6U226AI.js → chunk-7FSH3ABG.js} +4 -4
- package/dist/{chunk-RPLBWENJ.js → chunk-7HGFEQSD.js} +5 -5
- package/dist/{chunk-XZYFB566.js → chunk-7RPHIJT3.js} +4 -4
- package/dist/{chunk-WRTA5G57.js → chunk-APY4TUR3.js} +188 -1
- package/dist/{chunk-YUO5V75X.js → chunk-BACYVEE6.js} +2 -2
- package/dist/{chunk-H2G55ZPG.js → chunk-BG2KGLIA.js} +2 -2
- package/dist/{chunk-7JQBECUL.js → chunk-BN5YDZUZ.js} +1205 -326
- package/dist/chunk-BUD4JHBZ.js +7017 -0
- package/dist/{chunk-TSV3PFU2.js → chunk-DDBE2VLT.js} +2 -2
- package/dist/{chunk-WJULIJOU.js → chunk-EF7ZZKA3.js} +3 -3
- package/dist/{chunk-HOCODVKL.js → chunk-EUT45AKW.js} +16 -16
- package/dist/{chunk-C6RO4LP3.js → chunk-FCAIYPDJ.js} +2 -2
- package/dist/{chunk-6FSDDGFZ.js → chunk-FZ557YWE.js} +47478 -52993
- package/dist/{chunk-VC6TX2Y2.js → chunk-HPINJGBO.js} +5 -5
- package/dist/{chunk-ANI6J75M.js → chunk-IRRR3PWN.js} +7 -7
- package/dist/{chunk-S62LLS4I.js → chunk-IVBMHEPK.js} +12 -12
- package/dist/{chunk-SU2USXTD.js → chunk-JBEWFFOK.js} +1 -1
- package/dist/{chunk-3VZR3ZUY.js → chunk-KEXKZKN4.js} +6 -6
- package/dist/{chunk-ODS5QROC.js → chunk-KUFIFCB4.js} +1 -1
- package/dist/{chunk-L2DHKP5C.js → chunk-L5WGVYXM.js} +2 -2
- package/dist/{chunk-WIN7KHMV.js → chunk-LGIIT2NF.js} +12 -12
- package/dist/{chunk-2BKMOJYJ.js → chunk-LP4APBBQ.js} +1 -1
- package/dist/{chunk-6PACEIUY.js → chunk-MI6L5CEA.js} +2 -2
- package/dist/{chunk-HDBDYGJQ.js → chunk-N4OXAS3A.js} +1 -1
- package/dist/{chunk-KSSM6LUI.js → chunk-N6BUYKF3.js} +5 -5
- package/dist/{chunk-MWIKZIAI.js → chunk-NVVW3MWJ.js} +9 -9
- package/dist/{chunk-VTDI5KP7.js → chunk-O5JHHRFN.js} +19 -19
- package/dist/{chunk-F3MHINI6.js → chunk-O6FDXE54.js} +16 -16
- package/dist/{chunk-E4JNHQGT.js → chunk-OMCM3MHS.js} +7 -7
- package/dist/{chunk-7FLZA2BD.js → chunk-P72Y5ZBH.js} +7 -7
- package/dist/{chunk-O2652RWY.js → chunk-PVPJAGWR.js} +2 -2
- package/dist/{chunk-UDC7NPQJ.js → chunk-Q3C7TQ2M.js} +3 -3
- package/dist/{chunk-B4IE2GAM.js → chunk-Q5E4ZL2R.js} +1 -1
- package/dist/{chunk-5NN7JAJ2.js → chunk-QFK2SWD2.js} +7 -7
- package/dist/{chunk-SHEU5KLD.js → chunk-RJR7DJJK.js} +3 -3
- package/dist/{chunk-4H3WR7IT.js → chunk-RL52LSTV.js} +1 -1
- package/dist/{chunk-FGZX4Q7W.js → chunk-RTB6CF7F.js} +15 -15
- package/dist/{chunk-PST63OUS.js → chunk-SDDKYMIP.js} +18313 -4317
- package/dist/{chunk-QBAIDKF6.js → chunk-TQURLRHD.js} +1 -1
- package/dist/{chunk-3SSNDIQT.js → chunk-TSAUBRRU.js} +1 -1
- package/dist/{chunk-ER2ES2RH.js → chunk-U3TEC52G.js} +1 -1
- package/dist/{chunk-XY53EFK3.js → chunk-U5KGV63C.js} +1 -1
- package/dist/{chunk-WYPVD3HW.js → chunk-UVRULOOP.js} +10 -10
- package/dist/{chunk-4VPX67B7.js → chunk-VOATSLRG.js} +3 -1
- package/dist/{chunk-TGKIV3F4.js → chunk-W7LEYYFH.js} +18 -18
- package/dist/{chunk-T6NRMNLQ.js → chunk-WC5HHPPM.js} +1 -1
- package/dist/{chunk-YQFENES6.js → chunk-WG62RHZ2.js} +3 -3
- package/dist/{chunk-XE2E2KBP.js → chunk-WIQEPAUG.js} +10 -10
- package/dist/{chunk-DTGL5P2V.js → chunk-XM27UVWN.js} +3 -3
- package/dist/{chunk-3JJN36GV.js → chunk-XTUSLUQ7.js} +16 -16
- package/dist/{chunk-OAEV22IW.js → chunk-Z6AY5VOZ.js} +6 -6
- package/dist/{chunk-FZ5N6WXF.js → chunk-ZGWXLG5X.js} +18 -18
- package/dist/{chunk-6TAN6WG6.js → chunk-ZUWBEV2O.js} +1 -1
- package/dist/{chunk-OANTMDXI.js → chunk-ZVH6EB7S.js} +1 -1
- package/dist/daemon.js +65 -31
- package/dist/extension-assets/atlassian/docs/confluence-raw.md +31 -0
- package/dist/extension-assets/atlassian/docs/confluence-writing.md +101 -0
- package/dist/extension-assets/atlassian/docs/jira-raw.md +16 -0
- package/dist/extension-assets/atlassian/docs/jira-workflows.md +77 -0
- package/dist/extension-assets/atlassian/docs/project-knowledge.md +25 -0
- package/dist/extension-assets/atlassian/docs/storage.md +58 -0
- package/dist/extension-assets/atlassian/icon.svg +20 -0
- package/dist/extension-assets/diagram/docs/diagrams.md +12 -0
- package/dist/extension-assets/imagegen/docs/imagegen.md +17 -0
- package/dist/extension-assets/web-search/icon.svg +1 -0
- package/dist/git-isolated-reader-helper.js +1 -1
- package/dist/html-to-markdown.worker.js +6 -7028
- package/dist/main.js +583 -169
- package/dist/preload.cjs +45 -2
- package/dist/quick-script-docs/runtime/documents.md +54 -0
- package/dist/quick-script-docs/runtime/files.md +11 -0
- package/dist/quick-script-docs/runtime/images.md +10 -0
- package/dist/sandbox-libraries/docx.LICENSE +21 -0
- package/dist/sandbox-libraries/docx.min.js +9 -0
- package/dist/sandbox-libraries/jszip.LICENSE +651 -0
- package/dist/sandbox-libraries/jszip.min.js +13 -0
- package/dist/sandbox-libraries/mammoth.LICENSE +22 -0
- package/dist/sandbox-libraries/mammoth.browser.min.js +13 -0
- package/dist/sandbox-libraries/papaparse.LICENSE +20 -0
- package/dist/sandbox-libraries/papaparse.min.js +7 -0
- package/dist/sandbox-libraries/pptxgen.bundle.js +96 -0
- package/dist/sandbox-libraries/pptxgenjs.LICENSE +21 -0
- package/dist/sandbox-libraries/xlsx.LICENSE +201 -0
- package/dist/sandbox-libraries/xlsx.full.min.js +24 -0
- package/dist/web/assets/{AsyncBashCenterHost-BvXKoCVr.js → AsyncBashCenterHost-D2Sy43Ub.js} +1 -1
- package/dist/web/assets/ConversationListItem-DvxCcAYm.js +3 -0
- package/dist/web/assets/ConversationsWorkbenchPanel-YeNq9LRn.js +1 -0
- package/dist/web/assets/DiscoverCenterHost-B6K-QnBF.js +1 -0
- package/dist/web/assets/{FileCenterHost-C_7XZAFZ.js → FileCenterHost-Dlk53K5G.js} +1 -1
- package/dist/web/assets/FilesWorkbenchPanel-PeCu12oU.js +12 -0
- package/dist/web/assets/{GitDiffCenterHost-Cr7lqGI_.js → GitDiffCenterHost-3_Ea0RyG.js} +1 -1
- package/dist/web/assets/{GitWorkbenchPanel-BFbwUgIN.js → GitWorkbenchPanel-CYvCkOAW.js} +1 -1
- package/dist/web/assets/{LaunchCenterHost-CIu7bcoZ.js → LaunchCenterHost-CP773N_3.js} +1 -1
- package/dist/web/assets/LaunchConfigurationNotice-CtmZ1uIQ.js +1 -0
- package/dist/web/assets/{LaunchesWorkbenchPanel-BqzJvsrj.js → LaunchesWorkbenchPanel-DP3yVfkO.js} +1 -1
- package/dist/web/assets/LogsCenterHost-BFP0doQf.js +1 -0
- package/dist/web/assets/{MermaidCenterHost-DVsZB8nB.js → MermaidCenterHost-Bjl6Dvrq.js} +1 -1
- package/dist/web/assets/MobileFilesBody-CDp21MGZ.js +1 -0
- package/dist/web/assets/{MobileFilesHost-D843vkDF.js → MobileFilesHost-DlJI_yau.js} +1 -1
- package/dist/web/assets/MobileLaunchOutputHost-y3TehLWF.js +1 -0
- package/dist/web/assets/MobileLaunchesHost-CBNtDTrs.js +2 -0
- package/dist/web/assets/MobileLogsHost-BSb2lydK.js +1 -0
- package/dist/web/assets/MobileNoteEditorHost-7yW7hIC2.js +1 -0
- package/dist/web/assets/{MobileNotesHost-meLV39Yw.js → MobileNotesHost-CvDHzpAh.js} +1 -1
- package/dist/web/assets/{MobileProjectSettingsHost-A49Fdn54.js → MobileProjectSettingsHost-CjtPfyKT.js} +1 -1
- package/dist/web/assets/{MobileProjectSettingsPageHost-BXpUqS_N.js → MobileProjectSettingsPageHost-j_7N-B9L.js} +1 -1
- package/dist/web/assets/{MobileSettingsHost-DPKPajzI.js → MobileSettingsHost-DXIKNF01.js} +1 -1
- package/dist/web/assets/{MobileSettingsPageHost-izNWGN0i.js → MobileSettingsPageHost-CEzo7J9p.js} +1 -1
- package/dist/web/assets/MobileSettingsPageScreen-99wMLRsn.js +1 -0
- package/dist/web/assets/NotesWorkbenchPanel-DqTwXBBv.js +1 -0
- package/dist/web/assets/ProjectSettingsCenterHost-D96cL0uH.js +1 -0
- package/dist/web/assets/{PullRequestCenterHost-BYkWxXQe.js → PullRequestCenterHost-DY0yPDK2.js} +1 -1
- package/dist/web/assets/PullRequestsWorkbenchPanel-D07LE8vJ.js +1 -0
- package/dist/web/assets/{SearchWorkbenchPanel-DaC0smfe.js → SearchWorkbenchPanel-D2_3iXo8.js} +1 -1
- package/dist/web/assets/SettingsCenter-BQWc24di.js +1 -0
- package/dist/web/assets/SettingsCenterHost-BvgNfeZN.js +1 -0
- package/dist/web/assets/{SystemPromptCenterHost-B1hfsfAn.js → SystemPromptCenterHost-BLHkB7lp.js} +1 -1
- package/dist/web/assets/activity-notices-C9aphS1s.js +1 -0
- package/dist/web/assets/adapters-DNU88KT0.js +1 -0
- package/dist/web/assets/agent-profiles.svelte-DgI8wSS2.js +1 -0
- package/dist/web/assets/api-CHNbLvvY.js +1 -0
- package/dist/web/assets/center-tabs.svelte-CyhCD_6b.js +1 -0
- package/dist/web/assets/channel-6wGoOwGx.js +57 -0
- package/dist/web/assets/circle-question-mark-C7NgqbLL.js +1 -0
- package/dist/web/assets/code-DJR0pnqV.js +7 -0
- package/dist/web/assets/{confirm-dialog-Bw_IxcZD.js → confirm-dialog-BDjzMiC4.js} +1 -1
- package/dist/web/assets/{conversation-connection-3GxIuhbS.js → conversation-connection-mLNyfV2d.js} +1 -1
- package/dist/web/assets/dialog-CkRcLEJT.js +1 -0
- package/dist/web/assets/discover-Dh4m7djO.js +4 -0
- package/dist/web/assets/dist-DSApqEag.js +1 -0
- package/dist/web/assets/file-tabs.svelte-cX3MMyG6.js +2 -0
- package/dist/web/assets/filesystem-BbIXrkGB.js +1 -0
- package/dist/web/assets/{git-store.svelte-CM5k7yRU.js → git-store.svelte-D3uwRVnj.js} +1 -1
- package/dist/web/assets/{git.api-D2CfUXZW.js → git.api-CTu-tG8A.js} +1 -1
- package/dist/web/assets/index-BrxjAwg0.js +46 -0
- package/dist/web/assets/index-yEOHI1Z7.css +1 -0
- package/dist/web/assets/launches-CC4gLnSa.js +5 -0
- package/dist/web/assets/{launches.api-BZxyWF8t.js → launches.api-CaotSs6l.js} +1 -1
- package/dist/web/assets/launches.svelte-DDA5J-RZ.js +2 -0
- package/dist/web/assets/{message-square-CqLxHJuW.js → list-checks-zV9Dp7Cu.js} +1 -1
- package/dist/web/assets/{logs.api-Coi8HJuy.js → logs.api-DMmVlkSz.js} +1 -1
- package/dist/web/assets/{maintenance-state.svelte-CDO9i4dk.js → maintenance-state.svelte-l9v7Hg3i.js} +2 -2
- package/dist/web/assets/notify.svelte-BTEXJZ8P.js +1 -0
- package/dist/web/assets/popover-panel-C-weKOk3.js +5 -0
- package/dist/web/assets/pr-view-loader.svelte-C0NClMS6.js +1 -0
- package/dist/web/assets/progress-CKEsTSOk.js +1 -0
- package/dist/web/assets/scratch-notes-state.svelte-B_rY_-9q.js +1 -0
- package/dist/web/assets/{scratch-notes.api-Cbvag3bv.js → scratch-notes.api-B2gOOK6Z.js} +1 -1
- package/dist/web/assets/search-input-CEr0SmAB.js +1 -0
- package/dist/web/assets/settings-2-CWd8Y06n.js +1 -0
- package/dist/web/assets/settings-CRmC19nG.js +1 -0
- package/dist/web/assets/settings-CXoAzSmm.js +1 -0
- package/dist/web/assets/settings-actions.svelte-BB6u_lQ0.js +1 -0
- package/dist/web/assets/settings-page-controllers.svelte-al78EDTL.js +29 -0
- package/dist/web/assets/sheet-content-DauQ7hPL.js +1 -0
- package/dist/web/assets/shell-CYbWnH52.js +4 -0
- package/dist/web/assets/shell-layout.svelte-CmEWk428.js +2 -0
- package/dist/web/assets/textarea-BEZ65po_.js +1 -0
- package/dist/web/assets/views-BumCSQ3W.js +2 -0
- package/dist/web/assets/{workbench-connection-gGGv4o8i.js → workbench-connection-CGHdORw3.js} +1 -1
- package/dist/web/assets/{workspace-Cc47dGjw.js → workspace-CW738NJG.js} +1 -1
- package/dist/web/assets/{workspace-actions.svelte-B3oum_9S.js → workspace-actions.svelte-DL9xv7lJ.js} +1 -1
- package/dist/web/assets/workspace-selectors.svelte-BRJvPEBh.js +105 -0
- package/dist/web/index.html +142 -83
- package/dist/web/sw.js +1 -1
- package/dist/worker.js +14 -14
- package/package.json +7 -7
- package/dist/guides/confluence/SKILL.md +0 -36
- package/dist/guides/jira/SKILL.md +0 -34
- package/dist/web/assets/ConversationListItem-Caz2KiJH.js +0 -3
- package/dist/web/assets/ConversationsWorkbenchPanel-CIfK_e3I.js +0 -1
- package/dist/web/assets/DiscoverCenterHost-Ep8EN9iJ.js +0 -1
- package/dist/web/assets/FilesWorkbenchPanel-CtXo7ywG.js +0 -12
- package/dist/web/assets/LaunchConfigurationNotice-CJjWkMhv.js +0 -1
- package/dist/web/assets/LogsCenterHost-BI1fSxFW.js +0 -1
- package/dist/web/assets/MobileFilesBody-BJMoaP9I.js +0 -1
- package/dist/web/assets/MobileLaunchOutputHost-vpltMcar.js +0 -1
- package/dist/web/assets/MobileLaunchesHost-CdDrKASg.js +0 -2
- package/dist/web/assets/MobileLogsHost-qK7N-C1y.js +0 -1
- package/dist/web/assets/MobileNoteEditorHost-Bg1N8o54.js +0 -1
- package/dist/web/assets/MobileSettingsPageScreen-DWMg4fDo.js +0 -1
- package/dist/web/assets/NotesWorkbenchPanel-Bf6rySTL.js +0 -1
- package/dist/web/assets/ProjectSettingsCenterHost-DHeb274m.js +0 -1
- package/dist/web/assets/PullRequestsWorkbenchPanel-ZvGbi1Cr.js +0 -1
- package/dist/web/assets/SettingsCenter-C_NLBsi6.js +0 -1
- package/dist/web/assets/SettingsCenterHost-jP8MULEj.js +0 -1
- package/dist/web/assets/adapters-DxJoo6Za.js +0 -1
- package/dist/web/assets/agent-profiles.svelte-D5YHPc90.js +0 -1
- package/dist/web/assets/api-eaGLre0q.js +0 -1
- package/dist/web/assets/center-tabs.svelte-JJGozG_H.js +0 -1
- package/dist/web/assets/channel-B503YLZR.js +0 -57
- package/dist/web/assets/chevron-left-DPEFG6UJ.js +0 -1
- package/dist/web/assets/circle-alert-Cp2l2jcj.js +0 -5
- package/dist/web/assets/clock-Db6f9HtS.js +0 -1
- package/dist/web/assets/code-BRQC0Tpn.js +0 -7
- package/dist/web/assets/dialog-DU4gXD1J.js +0 -1
- package/dist/web/assets/discover-B-aZ504j.js +0 -4
- package/dist/web/assets/dist-B_NFPhKV.js +0 -1
- package/dist/web/assets/file-tabs.svelte-DKtVVVCq.js +0 -2
- package/dist/web/assets/filesystem-ReGivxAC.js +0 -1
- package/dist/web/assets/index-DIQuyMVT.css +0 -1
- package/dist/web/assets/index-TZ1KAAsX.js +0 -48
- package/dist/web/assets/launches-DiAl56ED.js +0 -5
- package/dist/web/assets/launches.svelte-BVs1pAhl.js +0 -2
- package/dist/web/assets/notebook-pen-lVsLYSe4.js +0 -1
- package/dist/web/assets/notify.svelte-BKVBraTJ.js +0 -1
- package/dist/web/assets/pencil-BrlypebI.js +0 -1
- package/dist/web/assets/pr-view-loader.svelte-DcIwqDJV.js +0 -1
- package/dist/web/assets/progress-DBCSpVPn.js +0 -1
- package/dist/web/assets/scratch-notes-state.svelte-Br_WiMEp.js +0 -1
- package/dist/web/assets/search-input-zU4WCZiz.js +0 -1
- package/dist/web/assets/settings-2-8MSBUGAl.js +0 -1
- package/dist/web/assets/settings-9LBrw4Nv.js +0 -1
- package/dist/web/assets/settings-B7uXsflY.js +0 -1
- package/dist/web/assets/settings-actions.svelte-B8psX3cj.js +0 -1
- package/dist/web/assets/settings-page-controllers.svelte-D_ydJF8u.js +0 -30
- package/dist/web/assets/shell-DB5Db5-E.js +0 -4
- package/dist/web/assets/shell-layout.svelte-OoLFwzzJ.js +0 -2
- package/dist/web/assets/textarea-CeoFJ0-t.js +0 -1
- package/dist/web/assets/views-ByPCKDiZ.js +0 -2
- package/dist/web/assets/workspace-selectors.svelte-DLUlSgEE.js +0 -131
- /package/dist/{html-to-markdown.worker.js.LEGAL.txt → chunk-BUD4JHBZ.js.LEGAL.txt} +0 -0
- /package/dist/{chunk-3VZR3ZUY.js.LEGAL.txt → chunk-KEXKZKN4.js.LEGAL.txt} +0 -0
- /package/dist/{chunk-PST63OUS.js.LEGAL.txt → chunk-SDDKYMIP.js.LEGAL.txt} +0 -0
|
@@ -2,19 +2,19 @@ import { createRequire as __nerveCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __nerveCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
sleep
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WC5HHPPM.js";
|
|
6
6
|
import {
|
|
7
7
|
trustedHttpUrl
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-Q5E4ZL2R.js";
|
|
9
9
|
import {
|
|
10
10
|
pollOAuthDeviceCodeFlow
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-U3TEC52G.js";
|
|
12
12
|
import {
|
|
13
13
|
GITHUB_COPILOT_MODELS
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-RJR7DJJK.js";
|
|
15
15
|
import "./chunk-CWESUMYQ.js";
|
|
16
16
|
|
|
17
|
-
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.
|
|
17
|
+
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/auth/oauth/github-copilot.js
|
|
18
18
|
var decode = (s) => atob(s);
|
|
19
19
|
var CLIENT_ID = decode("SXYxLmI1MDdhMDhjODdlY2ZlOTg=");
|
|
20
20
|
var COPILOT_HEADERS = {
|
|
@@ -2,7 +2,7 @@ import { createRequire as __nerveCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __nerveCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
shortHash
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LP4APBBQ.js";
|
|
6
6
|
import {
|
|
7
7
|
appendGrammarToolInputJsonDelta,
|
|
8
8
|
closeGrammarToolInputJson,
|
|
@@ -11,24 +11,24 @@ import {
|
|
|
11
11
|
resolveGrammarConstrainedSampling,
|
|
12
12
|
resolveJsonSchemaStrictSampling,
|
|
13
13
|
transformMessages
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-Z6AY5VOZ.js";
|
|
15
15
|
import {
|
|
16
16
|
sanitizeSurrogates
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-TSAUBRRU.js";
|
|
18
18
|
import {
|
|
19
19
|
ToolCallArgumentsStream
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-BG2KGLIA.js";
|
|
21
21
|
import {
|
|
22
22
|
calculateCost,
|
|
23
23
|
resolveTranscript,
|
|
24
24
|
resolveTranscriptTools
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-W7LEYYFH.js";
|
|
26
26
|
import {
|
|
27
27
|
getSystemMessageText,
|
|
28
28
|
renderSystemMessageUpdate
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-U5KGV63C.js";
|
|
30
30
|
|
|
31
|
-
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.
|
|
31
|
+
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js
|
|
32
32
|
function encodeTextSignatureV1(id, phase) {
|
|
33
33
|
const payload = { v: 1, id };
|
|
34
34
|
if (phase)
|
|
@@ -2,47 +2,47 @@ import { createRequire as __nerveCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __nerveCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
combineAbortSignals
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZUWBEV2O.js";
|
|
6
6
|
import {
|
|
7
7
|
shortHash
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-LP4APBBQ.js";
|
|
9
9
|
import {
|
|
10
10
|
buildBaseOptions,
|
|
11
11
|
getJsonSchemaToolParameters,
|
|
12
12
|
resolveJsonSchemaStrictSampling,
|
|
13
13
|
transformMessages
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-Z6AY5VOZ.js";
|
|
15
15
|
import {
|
|
16
16
|
sanitizeSurrogates
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-TSAUBRRU.js";
|
|
18
18
|
import {
|
|
19
19
|
truncateErrorText
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-PVPJAGWR.js";
|
|
21
21
|
import {
|
|
22
22
|
headersToRecord
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-6IHXVT5H.js";
|
|
24
24
|
import {
|
|
25
25
|
ToolCallArgumentsStream
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-BG2KGLIA.js";
|
|
27
27
|
import {
|
|
28
28
|
calculateCost,
|
|
29
29
|
clampThinkingLevel,
|
|
30
30
|
getCurrentTools,
|
|
31
31
|
resolveTranscript
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-W7LEYYFH.js";
|
|
33
33
|
import {
|
|
34
34
|
AssistantMessageEventStream
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-DDBE2VLT.js";
|
|
36
36
|
import {
|
|
37
37
|
getIdentityHeaders
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-Q3C7TQ2M.js";
|
|
39
39
|
import {
|
|
40
40
|
getSystemMessageText,
|
|
41
41
|
renderSystemMessageUpdate
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-U5KGV63C.js";
|
|
43
43
|
import "./chunk-CWESUMYQ.js";
|
|
44
44
|
|
|
45
|
-
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.
|
|
45
|
+
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/api/mistral-conversations.js
|
|
46
46
|
var MISTRAL_TOOL_CALL_ID_LENGTH = 9;
|
|
47
47
|
var MAX_MISTRAL_ERROR_BODY_CHARS = 4e3;
|
|
48
48
|
var stream = (model, context, options) => {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__require
|
|
5
5
|
} from "./chunk-CWESUMYQ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.
|
|
7
|
+
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/utils/provider-env.js
|
|
8
8
|
var procEnvCache = null;
|
|
9
9
|
function getBunSandboxEnvValue(name) {
|
|
10
10
|
if (typeof process === "undefined" || !process.versions?.bun || Object.keys(process.env).length > 0) {
|
|
@@ -7,18 +7,18 @@ import {
|
|
|
7
7
|
getJsonSchemaToolParameters,
|
|
8
8
|
resolveJsonSchemaStrictSampling,
|
|
9
9
|
transformMessages
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Z6AY5VOZ.js";
|
|
11
11
|
import {
|
|
12
12
|
sanitizeSurrogates
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-TSAUBRRU.js";
|
|
14
14
|
import {
|
|
15
15
|
retryProviderRequest
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-3CZXUKLG.js";
|
|
17
17
|
import {
|
|
18
18
|
clampThinkingLevel,
|
|
19
19
|
collapseSystemMessages,
|
|
20
20
|
withoutInitialSystemMessage
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-W7LEYYFH.js";
|
|
22
22
|
import {
|
|
23
23
|
__commonJS,
|
|
24
24
|
__require,
|
|
@@ -33283,7 +33283,7 @@ function getApiKeyFromEnv() {
|
|
|
33283
33283
|
return envGoogleApiKey || envGeminiApiKey || void 0;
|
|
33284
33284
|
}
|
|
33285
33285
|
|
|
33286
|
-
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.
|
|
33286
|
+
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/api/google-shared.js
|
|
33287
33287
|
var GOOGLE_SDK_THINKING_LEVEL_MAP = {
|
|
33288
33288
|
THINKING_LEVEL_UNSPECIFIED: ThinkingLevel.THINKING_LEVEL_UNSPECIFIED,
|
|
33289
33289
|
MINIMAL: ThinkingLevel.MINIMAL,
|
|
@@ -33677,4 +33677,4 @@ export {
|
|
|
33677
33677
|
mapStopReason,
|
|
33678
33678
|
retryGoogleRequest
|
|
33679
33679
|
};
|
|
33680
|
-
/*! For license information please see chunk-
|
|
33680
|
+
/*! For license information please see chunk-KEXKZKN4.js.LEGAL.txt */
|
|
@@ -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.5.
|
|
4
|
+
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/api/openai-prompt-cache.js
|
|
5
5
|
var OPENAI_PROMPT_CACHE_KEY_MAX_LENGTH = 64;
|
|
6
6
|
function clampOpenAIPromptCacheKey(key) {
|
|
7
7
|
if (key === void 0)
|
|
@@ -2,9 +2,9 @@ import { createRequire as __nerveCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __nerveCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
registerSessionResourceCleanup
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZVH6EB7S.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.
|
|
7
|
+
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/api/strict-tool-limits.js
|
|
8
8
|
var STRICT_TOOL_LIMIT_ERROR_MESSAGES = [
|
|
9
9
|
"The compiled grammar is too large",
|
|
10
10
|
"Too many strict tools (",
|
|
@@ -16,44 +16,44 @@ import {
|
|
|
16
16
|
toGoogleSdkThinkingLevel,
|
|
17
17
|
toGoogleThinkingLevel,
|
|
18
18
|
usesGoogleThinkingLevel
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-KEXKZKN4.js";
|
|
20
20
|
import "./chunk-MXYQOFZ5.js";
|
|
21
21
|
import {
|
|
22
22
|
buildBaseOptions
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-Z6AY5VOZ.js";
|
|
24
24
|
import {
|
|
25
25
|
sanitizeSurrogates
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-TSAUBRRU.js";
|
|
27
|
+
import "./chunk-3CZXUKLG.js";
|
|
28
28
|
import {
|
|
29
29
|
formatProviderError,
|
|
30
30
|
normalizeProviderError
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-PVPJAGWR.js";
|
|
32
32
|
import {
|
|
33
33
|
providerHeadersToRecord
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-6IHXVT5H.js";
|
|
35
35
|
import {
|
|
36
36
|
getProviderEnvValue
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-JBEWFFOK.js";
|
|
38
38
|
import {
|
|
39
39
|
calculateCost,
|
|
40
40
|
clampThinkingLevel,
|
|
41
41
|
collapseSystemMessages,
|
|
42
42
|
getCurrentTools,
|
|
43
43
|
getInitialSystemMessage
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-W7LEYYFH.js";
|
|
45
45
|
import {
|
|
46
46
|
AssistantMessageEventStream
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-DDBE2VLT.js";
|
|
48
48
|
import {
|
|
49
49
|
getIdentityHeaders
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-Q3C7TQ2M.js";
|
|
51
51
|
import {
|
|
52
52
|
getSystemMessageText
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-U5KGV63C.js";
|
|
54
54
|
import "./chunk-CWESUMYQ.js";
|
|
55
55
|
|
|
56
|
-
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.
|
|
56
|
+
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/api/google-vertex.js
|
|
57
57
|
var API_VERSION = "v1";
|
|
58
58
|
var GCP_VERTEX_CREDENTIALS_MARKER = "gcp-vertex-credentials";
|
|
59
59
|
var toolCallCounter = 0;
|
|
@@ -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.5.
|
|
4
|
+
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/utils/hash.js
|
|
5
5
|
function shortHash(str) {
|
|
6
6
|
let h1 = 3735928559;
|
|
7
7
|
let h2 = 1103547991;
|
|
@@ -2,10 +2,10 @@ import { createRequire as __nerveCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __nerveCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
pollOAuthDeviceCodeFlow
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-U3TEC52G.js";
|
|
6
6
|
import "./chunk-CWESUMYQ.js";
|
|
7
7
|
|
|
8
|
-
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.
|
|
8
|
+
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/auth/oauth/xai.js
|
|
9
9
|
var XAI_CLIENT_ID = "b1a00492-073a-47ea-816f-4c329264a828";
|
|
10
10
|
var XAI_SCOPE = "openid profile email offline_access grok-cli:access api:access";
|
|
11
11
|
var XAI_DEVICE_CODE_URL = "https://auth.x.ai/oauth2/device/code";
|
|
@@ -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.5.
|
|
4
|
+
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/utils/openrouter-cost.js
|
|
5
5
|
function isValidCost(value) {
|
|
6
6
|
return typeof value === "number" && Number.isFinite(value) && value >= 0;
|
|
7
7
|
}
|
|
@@ -2,20 +2,20 @@ import { createRequire as __nerveCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __nerveCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
pollOAuthDeviceCodeFlow
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-U3TEC52G.js";
|
|
6
6
|
import {
|
|
7
7
|
startOAuthCallbackServer,
|
|
8
8
|
waitForCallbackOrManualInput
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6GUJQURI.js";
|
|
10
10
|
import {
|
|
11
11
|
generatePKCE
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BACYVEE6.js";
|
|
13
13
|
import {
|
|
14
14
|
getProviderEnvValue
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JBEWFFOK.js";
|
|
16
16
|
import "./chunk-CWESUMYQ.js";
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.
|
|
18
|
+
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/auth/oauth/openai-codex.js
|
|
19
19
|
var _randomBytes = null;
|
|
20
20
|
if (typeof process !== "undefined" && (process.versions?.node || process.versions?.bun)) {
|
|
21
21
|
import("node:crypto").then((m) => {
|
|
@@ -5,20 +5,20 @@ import {
|
|
|
5
5
|
parseClassifierUsage,
|
|
6
6
|
postClassifierRequest,
|
|
7
7
|
requiredNumber
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-2ICPO4UM.js";
|
|
9
|
+
import "./chunk-3CZXUKLG.js";
|
|
10
10
|
import {
|
|
11
11
|
formatProviderError,
|
|
12
12
|
normalizeProviderError
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-PVPJAGWR.js";
|
|
14
|
+
import "./chunk-6IHXVT5H.js";
|
|
15
|
+
import "./chunk-W7LEYYFH.js";
|
|
16
|
+
import "./chunk-DDBE2VLT.js";
|
|
17
|
+
import "./chunk-Q3C7TQ2M.js";
|
|
18
|
+
import "./chunk-U5KGV63C.js";
|
|
19
19
|
import "./chunk-CWESUMYQ.js";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.
|
|
21
|
+
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/api/openai-decisions.js
|
|
22
22
|
var LABEL = "OpenAI Decisions";
|
|
23
23
|
var MAX_IMAGES = 128;
|
|
24
24
|
function predicateInstructions(question) {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
hasExceededStrictToolLimits,
|
|
5
5
|
isStrictToolLimitErrorMessage,
|
|
6
6
|
markStrictToolLimitsExceeded
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-L5WGVYXM.js";
|
|
8
8
|
import {
|
|
9
9
|
Anthropic
|
|
10
10
|
} from "./chunk-M3ELKCNA.js";
|
|
@@ -14,21 +14,21 @@ import {
|
|
|
14
14
|
ANTHROPIC_ORGANIZATION_ID_ENV,
|
|
15
15
|
ANTHROPIC_SERVICE_ACCOUNT_ID_ENV,
|
|
16
16
|
ANTHROPIC_WORKSPACE_ID_ENV
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-RL52LSTV.js";
|
|
18
18
|
import {
|
|
19
19
|
registerSessionResourceCleanup
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ZVH6EB7S.js";
|
|
21
21
|
import {
|
|
22
22
|
applyOpenRouterReportedCost,
|
|
23
23
|
isOpenRouterModel
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-N4OXAS3A.js";
|
|
25
25
|
import {
|
|
26
26
|
buildCopilotDynamicHeaders,
|
|
27
27
|
hasCopilotVisionInput
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-TQURLRHD.js";
|
|
29
29
|
import {
|
|
30
30
|
shortHash
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-LP4APBBQ.js";
|
|
32
32
|
import {
|
|
33
33
|
adjustMaxTokensForThinking,
|
|
34
34
|
buildBaseOptions,
|
|
@@ -38,46 +38,46 @@ import {
|
|
|
38
38
|
resolveJsonSchemaStrictSampling,
|
|
39
39
|
splitErrorToolResultImages,
|
|
40
40
|
transformMessages
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-Z6AY5VOZ.js";
|
|
42
42
|
import {
|
|
43
43
|
sanitizeSurrogates
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-TSAUBRRU.js";
|
|
45
45
|
import {
|
|
46
46
|
retryProviderRequest
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-3CZXUKLG.js";
|
|
48
48
|
import {
|
|
49
49
|
withCauseDetail
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-PVPJAGWR.js";
|
|
51
51
|
import {
|
|
52
52
|
headersToRecord
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-6IHXVT5H.js";
|
|
54
54
|
import {
|
|
55
55
|
getProviderEnvValue
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-JBEWFFOK.js";
|
|
57
57
|
import {
|
|
58
58
|
ToolCallArgumentsStream,
|
|
59
59
|
parseJsonWithRepair
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-BG2KGLIA.js";
|
|
61
61
|
import {
|
|
62
62
|
calculateCost,
|
|
63
63
|
getCurrentTools,
|
|
64
64
|
getInitialSystemMessage,
|
|
65
65
|
resolveTranscript
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-W7LEYYFH.js";
|
|
67
67
|
import {
|
|
68
68
|
AssistantMessageEventStream,
|
|
69
69
|
appendAssistantMessageDiagnostic
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-DDBE2VLT.js";
|
|
71
71
|
import {
|
|
72
72
|
getIdentityHeaders
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-Q3C7TQ2M.js";
|
|
74
74
|
import {
|
|
75
75
|
getSystemMessageText,
|
|
76
76
|
renderSystemMessageUpdate
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-U5KGV63C.js";
|
|
78
78
|
import "./chunk-CWESUMYQ.js";
|
|
79
79
|
|
|
80
|
-
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.
|
|
80
|
+
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js
|
|
81
81
|
function resolveCacheRetention(cacheRetention, env) {
|
|
82
82
|
if (cacheRetention) {
|
|
83
83
|
return cacheRetention;
|
|
@@ -98,7 +98,7 @@ function getCacheControl(model, cacheRetention, env) {
|
|
|
98
98
|
cacheControl: { type: "ephemeral", ...ttl && { ttl } }
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
var claudeCodeVersion = "2.1.
|
|
101
|
+
var claudeCodeVersion = "2.1.322";
|
|
102
102
|
var claudeCodeTools = [
|
|
103
103
|
"Read",
|
|
104
104
|
"Write",
|
|
@@ -5,52 +5,52 @@ import {
|
|
|
5
5
|
convertResponsesTools,
|
|
6
6
|
getResponsesToolSupport,
|
|
7
7
|
processResponsesStream
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IRRR3PWN.js";
|
|
9
9
|
import {
|
|
10
10
|
resolveAzureConfig,
|
|
11
11
|
resolveDeploymentName
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FCAIYPDJ.js";
|
|
13
13
|
import {
|
|
14
14
|
clampOpenAIPromptCacheKey
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-KUFIFCB4.js";
|
|
16
16
|
import {
|
|
17
17
|
AzureOpenAI
|
|
18
18
|
} from "./chunk-NW3DH7IK.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-LP4APBBQ.js";
|
|
20
20
|
import {
|
|
21
21
|
buildBaseOptions,
|
|
22
22
|
createGrammarToolInputProperties,
|
|
23
23
|
resolveSamplingParams
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-Z6AY5VOZ.js";
|
|
25
|
+
import "./chunk-TSAUBRRU.js";
|
|
26
26
|
import {
|
|
27
27
|
retryProviderRequest
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-3CZXUKLG.js";
|
|
29
29
|
import {
|
|
30
30
|
formatProviderError,
|
|
31
31
|
normalizeProviderError
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-PVPJAGWR.js";
|
|
33
33
|
import {
|
|
34
34
|
headersToRecord
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
35
|
+
} from "./chunk-6IHXVT5H.js";
|
|
36
|
+
import "./chunk-JBEWFFOK.js";
|
|
37
|
+
import "./chunk-BG2KGLIA.js";
|
|
38
38
|
import {
|
|
39
39
|
clampThinkingLevel,
|
|
40
40
|
getDeclaredTools,
|
|
41
41
|
resolveTranscript,
|
|
42
42
|
resolveTranscriptTools
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-W7LEYYFH.js";
|
|
44
44
|
import {
|
|
45
45
|
AssistantMessageEventStream
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-DDBE2VLT.js";
|
|
47
47
|
import {
|
|
48
48
|
getIdentityHeaders
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import "./chunk-
|
|
49
|
+
} from "./chunk-Q3C7TQ2M.js";
|
|
50
|
+
import "./chunk-U5KGV63C.js";
|
|
51
51
|
import "./chunk-CWESUMYQ.js";
|
|
52
52
|
|
|
53
|
-
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.
|
|
53
|
+
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/api/azure-openai-responses.js
|
|
54
54
|
var AZURE_TOOL_CALL_PROVIDERS = /* @__PURE__ */ new Set(["openai", "openai-codex", "opencode", "azure"]);
|
|
55
55
|
var OPENAI_RESPONSES_MIN_OUTPUT_TOKENS = 16;
|
|
56
56
|
function formatAzureOpenAIError(error) {
|
|
@@ -5,25 +5,25 @@ import {
|
|
|
5
5
|
} from "./chunk-NW3DH7IK.js";
|
|
6
6
|
import {
|
|
7
7
|
sanitizeSurrogates
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TSAUBRRU.js";
|
|
9
9
|
import {
|
|
10
10
|
retryProviderRequest
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3CZXUKLG.js";
|
|
12
12
|
import {
|
|
13
13
|
formatProviderError,
|
|
14
14
|
normalizeProviderError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PVPJAGWR.js";
|
|
16
16
|
import {
|
|
17
17
|
headersToRecord,
|
|
18
18
|
providerHeadersToRecord
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-6IHXVT5H.js";
|
|
20
20
|
import {
|
|
21
21
|
getIdentityHeaders
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-Q3C7TQ2M.js";
|
|
23
|
+
import "./chunk-U5KGV63C.js";
|
|
24
24
|
import "./chunk-CWESUMYQ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.
|
|
26
|
+
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/api/openrouter-images.js
|
|
27
27
|
var generateImages = async (model, context, options) => {
|
|
28
28
|
const output = {
|
|
29
29
|
api: model.api,
|
|
@@ -3,27 +3,27 @@ const require = __nerveCreateRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
headersToRecord,
|
|
5
5
|
providerHeadersToRecord
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6IHXVT5H.js";
|
|
7
7
|
import {
|
|
8
8
|
getProviderEnvValue
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JBEWFFOK.js";
|
|
10
10
|
import {
|
|
11
11
|
ToolCallArgumentsStream
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BG2KGLIA.js";
|
|
13
13
|
import {
|
|
14
14
|
AssistantMessageEventStream,
|
|
15
15
|
appendAssistantMessageDiagnostic,
|
|
16
16
|
createAssistantMessageDiagnostic
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-DDBE2VLT.js";
|
|
18
18
|
import {
|
|
19
19
|
getIdentityHeaders
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-Q3C7TQ2M.js";
|
|
21
21
|
import {
|
|
22
22
|
ownedSlice
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-U5KGV63C.js";
|
|
24
24
|
import "./chunk-CWESUMYQ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.
|
|
26
|
+
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/api/pi-messages.js
|
|
27
27
|
var PiMessagesResponseError = class extends Error {
|
|
28
28
|
code;
|
|
29
29
|
diagnosticDetails;
|
|
@@ -2,9 +2,9 @@ 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-U5KGV63C.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.
|
|
7
|
+
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/utils/error-body.js
|
|
8
8
|
var MAX_PROVIDER_ERROR_BODY_CHARS = 4e3;
|
|
9
9
|
function normalizeProviderError(error) {
|
|
10
10
|
if (!(error instanceof Error)) {
|
|
@@ -1,10 +1,10 @@
|
|
|
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.5.
|
|
5
|
-
var PI_AI_VERSION = "1.5.
|
|
4
|
+
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/utils/version.js
|
|
5
|
+
var PI_AI_VERSION = "1.5.2";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.
|
|
7
|
+
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/utils/identity.js
|
|
8
8
|
var NVIDIA_NIM_HOST = "integrate.api.nvidia.com";
|
|
9
9
|
var OPENCODE_HOST = "opencode.ai";
|
|
10
10
|
function mergeClientIdentity(...sources) {
|
|
@@ -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.5.
|
|
4
|
+
// node_modules/.pnpm/@earendil-works+pi-ai@1.5.2_@aws-sdk+credential-provider-node@3.972.83_@smithy+signatur_b842a8cec34a633ed5f728049ae89b72/node_modules/@earendil-works/pi-ai/dist/auth/oauth/trusted-url.js
|
|
5
5
|
function trustedHttpUrl(value) {
|
|
6
6
|
if (typeof value !== "string" || !URL.canParse(value))
|
|
7
7
|
return null;
|