@organizaone/o1-code 0.23.2 → 0.23.4
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/bundled/qc-helper/docs/configuration/model-providers.md +39 -17
- package/bundled/qc-helper/docs/features/mcp.md +1 -1
- package/chunks/{MaxSizedBox-Z7DJBX2Q.js → MaxSizedBox-FHQ2P2SP.js} +30 -29
- package/chunks/{StandaloneSessionPicker-EYM35PIJ.js → StandaloneSessionPicker-JWI3NLN2.js} +46 -45
- package/chunks/{acp-subagent-executor-SMYOAOWC.js → acp-subagent-executor-MJJ6EAZC.js} +33 -32
- package/chunks/{acpAgent-HSOIXV24.js → acpAgent-6Z3FGPTA.js} +75 -73
- package/chunks/{agent-JC6EFT2I.js → agent-42DFRA2J.js} +19 -18
- package/chunks/{agent-headless-CHIUZU65.js → agent-headless-ET4HNKGM.js} +19 -18
- package/chunks/{all-providers-ZA3SYI4L.js → all-providers-P7KEC3WQ.js} +2 -2
- package/chunks/{anthropicContentGenerator-ZVN4PNRN.js → anthropicContentGenerator-CUW5FCXR.js} +9 -8
- package/chunks/{bridge-COLH5KR3.js → bridge-52NJEAM6.js} +33 -32
- package/chunks/{chunk-HLTVFS3P.js → chunk-22TAD3S6.js} +1 -1
- package/chunks/{chunk-J6IO5FRE.js → chunk-2DEMKCA3.js} +2 -2
- package/chunks/{chunk-WXRDFUBX.js → chunk-2HLPOUCW.js} +3 -3
- package/chunks/chunk-2SJEYSJ5.js +478 -0
- package/chunks/{chunk-IKCTAL27.js → chunk-32GJTTKG.js} +5 -5
- package/chunks/{chunk-G376S7VI.js → chunk-3FDAQK6P.js} +1 -1
- package/chunks/chunk-3JWJHYFV.js +328 -0
- package/chunks/{chunk-F5GPRGLO.js → chunk-3OPD6SKW.js} +1 -1
- package/chunks/{chunk-YXUFWO4Q.js → chunk-3RTPI5JO.js} +1 -1
- package/chunks/{chunk-YHONRCP6.js → chunk-3YQSW6GV.js} +3 -3
- package/chunks/{chunk-IPZ6Q5DH.js → chunk-43W64XRD.js} +1 -1
- package/chunks/{chunk-CJ4DSU6T.js → chunk-4HQKNVMC.js} +1 -1
- package/chunks/{chunk-5WCEM6DZ.js → chunk-4MFP7T32.js} +1 -1
- package/chunks/{chunk-SRDS6JPI.js → chunk-4VKMHWS6.js} +3 -3
- package/chunks/{chunk-INBZJC5Z.js → chunk-54UVZNY4.js} +1 -1
- package/chunks/{chunk-FVYOBBIY.js → chunk-5FA7YQJ5.js} +9 -9
- package/chunks/{chunk-AURWTXBY.js → chunk-5QNPNK3Y.js} +3 -3
- package/chunks/{chunk-GCOX5DHU.js → chunk-5XYYE7SJ.js} +37 -37
- package/chunks/{chunk-Q4LEAAGJ.js → chunk-6243HSOC.js} +1 -1
- package/chunks/{chunk-XLSS6CXY.js → chunk-6UVO2CGF.js} +3 -3
- package/chunks/{chunk-QD5MC6EV.js → chunk-6W65R7F3.js} +6 -6
- package/chunks/{chunk-LKM24VDU.js → chunk-6Z7HP4ID.js} +6 -6
- package/chunks/{chunk-EK2MS2YU.js → chunk-75W5XG5B.js} +101 -42
- package/chunks/{chunk-RI5VIBOZ.js → chunk-A64MZXCQ.js} +2 -2
- package/chunks/{chunk-RWUZRVUT.js → chunk-AE4IQ5HU.js} +2 -2
- package/chunks/{chunk-YPTR7ZFB.js → chunk-AFLYEJ7J.js} +20 -314
- package/chunks/{chunk-6SNXZ4AT.js → chunk-AMZCWMHX.js} +2 -2
- package/chunks/{chunk-Y6HZBYDT.js → chunk-AQCZYMTK.js} +7 -7
- package/chunks/{chunk-DYQ33P42.js → chunk-AT3KYR34.js} +1 -1
- package/chunks/{chunk-2OEBEF5L.js → chunk-BZYI5TLI.js} +1 -1
- package/chunks/{chunk-52OZIQ5T.js → chunk-CAD5UWKT.js} +3 -3
- package/chunks/{chunk-7RKJLHZZ.js → chunk-CCOOEN4T.js} +6 -6
- package/chunks/{chunk-NYFKH3IB.js → chunk-CD3FMTIW.js} +9 -9
- package/chunks/{chunk-BOD2QXN3.js → chunk-CRERIA6M.js} +3 -3
- package/chunks/{chunk-I25PS4O7.js → chunk-CTGTHRVE.js} +3 -3
- package/chunks/{chunk-KPPSQ5EU.js → chunk-D54VYWTE.js} +1 -1
- package/chunks/{chunk-TOHVMXEP.js → chunk-DDP4CQDP.js} +5 -5
- package/chunks/{chunk-AHIIFAZD.js → chunk-DLEJTCS5.js} +3 -3
- package/chunks/{chunk-W5XYWVXE.js → chunk-EB4VOVOS.js} +4 -4
- package/chunks/{chunk-AXM2QH6N.js → chunk-ETYF6LYZ.js} +1 -1
- package/chunks/{chunk-ULF6LMSZ.js → chunk-FGJZG3PB.js} +1 -1
- package/chunks/{chunk-LRSEIM7L.js → chunk-FH46YEKJ.js} +2 -2
- package/chunks/{chunk-CNXTYK25.js → chunk-G7TCNWW4.js} +2 -2
- package/chunks/{chunk-5C2PDGQ5.js → chunk-GAFJTGDP.js} +1 -1
- package/chunks/{chunk-EHNBRYKR.js → chunk-GLLNZ7E3.js} +1 -1
- package/chunks/{chunk-ZMXWTUY3.js → chunk-HFYL2VZG.js} +1 -1
- package/chunks/{chunk-K3ONONVP.js → chunk-I7XOJ2QI.js} +4 -4
- package/chunks/{chunk-6WR3DWHA.js → chunk-J5HQL7OD.js} +1 -1
- package/chunks/{chunk-WXIQKOFD.js → chunk-JCWIHPJ2.js} +32 -2
- package/chunks/{chunk-M2PU5FFH.js → chunk-JZSQAL7B.js} +2 -2
- package/chunks/{chunk-HRVFW2AK.js → chunk-KKWFVFWM.js} +4 -4
- package/chunks/{chunk-73D2FESX.js → chunk-KQHDGWXY.js} +1 -1
- package/chunks/{chunk-GE3WWLUS.js → chunk-L2HUG77D.js} +11 -11
- package/chunks/{chunk-CHKNZNCJ.js → chunk-LS3I3JJO.js} +8 -8
- package/chunks/{chunk-NRVJJRQU.js → chunk-LS6DOUZJ.js} +1 -1
- package/chunks/{chunk-Q3L72VR6.js → chunk-MEBFT635.js} +4 -4
- package/chunks/{chunk-EKCBRE2L.js → chunk-MLFML2VT.js} +4 -4
- package/chunks/{chunk-ITLANVG6.js → chunk-NRY3W5MD.js} +3 -3
- package/chunks/{chunk-AHHIUSSB.js → chunk-NTPJNUUS.js} +14 -14
- package/chunks/{chunk-YQIVW7PV.js → chunk-OKHE75DU.js} +1 -1
- package/chunks/{chunk-HPRAZUO3.js → chunk-OLZHEMQP.js} +8 -8
- package/chunks/{chunk-XV74KNLU.js → chunk-OMKHM4UW.js} +2 -2
- package/chunks/{chunk-WCV4SHJT.js → chunk-OV4IKI6E.js} +2 -2
- package/chunks/{chunk-KGYU4YCT.js → chunk-OWVDDIPY.js} +2 -2
- package/chunks/{chunk-MRDYGSEU.js → chunk-OX6A5GJG.js} +298 -83
- package/chunks/{chunk-5TGVTMA4.js → chunk-PZ5JMLBW.js} +2 -2
- package/chunks/{chunk-Y4BAYYQH.js → chunk-Q7LRFO2Z.js} +2 -2
- package/chunks/{chunk-2NTOADNA.js → chunk-QPGYYXO7.js} +1 -1
- package/chunks/{chunk-NRPYVAT2.js → chunk-QQDN6TTH.js} +4 -4
- package/chunks/{chunk-EE35GR3R.js → chunk-QQXXDTSU.js} +1 -1
- package/chunks/{chunk-VDFCAVG2.js → chunk-R45UQD5V.js} +6 -6
- package/chunks/{chunk-B4CCJMG6.js → chunk-R66LP4MO.js} +2 -2
- package/chunks/{chunk-O6EHTIDU.js → chunk-REKFASVP.js} +8 -8
- package/chunks/{chunk-6L4U7EHQ.js → chunk-RENNBDET.js} +3 -3
- package/chunks/{chunk-B4K3VBFF.js → chunk-RI6JVRWR.js} +1 -1
- package/chunks/{chunk-QNI2MYF2.js → chunk-RUMWX2SS.js} +4 -4
- package/chunks/{chunk-N3U72PWG.js → chunk-RY6DFOXD.js} +1 -1
- package/chunks/{chunk-YLNBTV7R.js → chunk-SIANDFHS.js} +4 -4
- package/chunks/{chunk-W7YSJWYY.js → chunk-SPGNKIRH.js} +1 -1
- package/chunks/{chunk-ULI3W2FQ.js → chunk-T7FEPG6S.js} +2 -2
- package/chunks/{chunk-4KLFLD6W.js → chunk-TASQRFKT.js} +1 -1
- package/chunks/{chunk-LIWLMHB2.js → chunk-TBNNLW6W.js} +5 -5
- package/chunks/{chunk-Z2FEOKPL.js → chunk-TTQS6ARK.js} +8 -8
- package/chunks/{chunk-GYEUB6AF.js → chunk-TWZ6ULYH.js} +2 -2
- package/chunks/{chunk-XCFYHA4L.js → chunk-UBMNZJ2I.js} +3 -3
- package/chunks/{chunk-VTK33X3H.js → chunk-ULZSYUR5.js} +1 -1
- package/chunks/{chunk-3SIUBEAC.js → chunk-UMXXMSBY.js} +1 -1
- package/chunks/{chunk-FOST7L5P.js → chunk-UP6XFNZK.js} +5 -5
- package/chunks/{chunk-G524L6DX.js → chunk-VHSVQ4YD.js} +59 -16
- package/chunks/{chunk-HIJ2PJCR.js → chunk-VL7IPPLV.js} +3 -3
- package/chunks/{chunk-EPNQMLQI.js → chunk-WB7BTNTR.js} +1 -1
- package/chunks/{chunk-7DRS2N6U.js → chunk-WCNZRV77.js} +2 -2
- package/chunks/{chunk-7PYCEQRH.js → chunk-WNJA3CH5.js} +1 -1
- package/chunks/{chunk-LMFAYXBU.js → chunk-XBZ4D64Q.js} +1 -1
- package/chunks/{chunk-3365B2SG.js → chunk-XHAO7L6K.js} +2 -2
- package/chunks/{chunk-AKXCASOU.js → chunk-XO73AHWJ.js} +1 -1
- package/chunks/{chunk-X6K47FOG.js → chunk-XWGAOAIY.js} +1 -1
- package/chunks/{chunk-S2Q3IIJI.js → chunk-XWKCE5VX.js} +2 -2
- package/chunks/{chunk-VDZHZKLL.js → chunk-YBJ5CGLV.js} +84 -93
- package/chunks/{chunk-55J4YCGE.js → chunk-YLGMWYXR.js} +4 -4
- package/chunks/{chunk-TJQMUJ4P.js → chunk-YPVXKPDR.js} +3 -3
- package/chunks/{chunk-OCGMQ7V4.js → chunk-ZIWHK3AH.js} +1 -1
- package/chunks/{chunk-PJT67V3P.js → chunk-ZPF5QU35.js} +3 -3
- package/chunks/{codex-subagent-executor-T7M5FTHN.js → codex-subagent-executor-HDDF3623.js} +33 -32
- package/chunks/{contextCommand-227JLKFM.js → contextCommand-PCDR5XST.js} +32 -31
- package/chunks/{core-runtime-VLL5ONTJ.js → core-runtime-YO2BU645.js} +30 -29
- package/chunks/{create-sub-session-BXIEQSUR.js → create-sub-session-IRYT42QC.js} +31 -30
- package/chunks/{daemon-git-worktree-guard-SCYT7G5Z.js → daemon-git-worktree-guard-CQIXKMCN.js} +30 -29
- package/chunks/{daemon-status-provider-BXRYGSEC.js → daemon-status-provider-UUCNZSAQ.js} +38 -37
- package/chunks/{daemon-trust-policy-KUU3SJJR.js → daemon-trust-policy-TMPZYJO5.js} +36 -35
- package/chunks/{daemon-trust-policy-monitor-3HW5C536.js → daemon-trust-policy-monitor-X22KZQNG.js} +36 -35
- package/chunks/{deferred-core-runtime-ZVY4R7JN.js → deferred-core-runtime-CW3RYKVF.js} +30 -29
- package/chunks/{edit-7VTZEUFB.js → edit-GY6M2OZO.js} +21 -20
- package/chunks/{en-MQICGJBA.js → en-QZTJJ53G.js} +5 -1
- package/chunks/{enterPlanMode-4ACRIABY.js → enterPlanMode-OL5SMGZ2.js} +19 -18
- package/chunks/{environment-P7O3DRVU.js → environment-2LII6MAZ.js} +32 -31
- package/chunks/{errors-FPOD56OM.js → errors-YLTJNGIJ.js} +32 -31
- package/chunks/{execution-tool-CUZLLHDM.js → execution-tool-LSWT3ED3.js} +21 -20
- package/chunks/{execution-worker-K7OIFEQC.js → execution-worker-SN7DU5M6.js} +24 -23
- package/chunks/{exitPlanMode-SVK6JBWM.js → exitPlanMode-6RIRCY65.js} +19 -18
- package/chunks/{fast-path-63ZAOC2O.js → fast-path-QK4MJZ2O.js} +2 -2
- package/chunks/{foreground-runner-5BDXDCJ3.js → foreground-runner-3344CG4R.js} +32 -31
- package/chunks/{gateway-content-generator-YATQA6IH.js → gateway-content-generator-URNHKQ6P.js} +32 -101
- package/chunks/{gateway-models-CI5ONUHN.js → gateway-models-IBOWVC4O.js} +7 -6
- package/chunks/gateway-transfer-OASSZYSK.js +46 -0
- package/chunks/{glob-AHU4JEAH.js → glob-PY6YF7U4.js} +19 -18
- package/chunks/{goal-tools-HZ3SEEDJ.js → goal-tools-HMAA3TMO.js} +19 -18
- package/chunks/{handleAutoUpdate-NWIBYK3W.js → handleAutoUpdate-ANFC3Z6G.js} +33 -32
- package/chunks/{i18n-HXRZVPI5.js → i18n-6U5NHFUK.js} +31 -30
- package/chunks/{image-gen-WGMRL47H.js → image-gen-D4WPSZB4.js} +3 -2
- package/chunks/{initializer-DZE6W5ZZ.js → initializer-4MDFZJVC.js} +36 -35
- package/chunks/{installationInfo-DJS6YOYL.js → installationInfo-CD2A6E6I.js} +30 -29
- package/chunks/{list-QOTYRCXE.js → list-DTPZJHOJ.js} +38 -37
- package/chunks/{llm-VTSGUOEX.js → llm-3V2DU6KO.js} +64 -63
- package/chunks/{llm-content-generator-GNBKROI6.js → llm-content-generator-K6Q3E6AH.js} +4 -4
- package/chunks/{loadedSettingsAdapter-5XTSYAN2.js → loadedSettingsAdapter-XCFCTBCK.js} +36 -35
- package/chunks/{local-execution-environment-FAMBOK2R.js → local-execution-environment-JFU74GRI.js} +24 -23
- package/chunks/{loggingContentGenerator-QHARM6I7.js → loggingContentGenerator-ITWAHQQA.js} +20 -19
- package/chunks/{managed-npm-update-NHG4CNTY.js → managed-npm-update-QVW4WS42.js} +30 -29
- package/chunks/{mcp-GFWKHITS.js → mcp-YOZXHPME.js} +36 -35
- package/chunks/{model-call-collection-PSCHHAL2.js → model-call-collection-IXU3COZH.js} +1 -1
- package/chunks/{model-configuration-4OLQAYPC.js → model-configuration-TQPP6C56.js} +37 -36
- package/chunks/{modelConfigUtils-6BOQF3QL.js → modelConfigUtils-OL2I6LTF.js} +32 -31
- package/chunks/{monitor-AMCODWD4.js → monitor-IYFEU4WZ.js} +19 -18
- package/chunks/{nonInteractiveCli-WNWO63XM.js → nonInteractiveCli-MAXL5D4Y.js} +66 -64
- package/chunks/{nonInteractiveToolExecutor-WM3YSMJV.js → nonInteractiveToolExecutor-WGY3CAAJ.js} +20 -19
- package/chunks/{notebook-edit-2ZEGVMQ5.js → notebook-edit-2N4BWOIJ.js} +20 -19
- package/chunks/{omni-F3MGKMI5.js → omni-MOV3MXTX.js} +13 -12
- package/chunks/{openaiContentGenerator-JSWESHEH.js → openaiContentGenerator-MGCUMNTJ.js} +15 -13
- package/chunks/{openaiResponsesContentGenerator-GOFHZBHE.js → openaiResponsesContentGenerator-VIMLFFS6.js} +8 -7
- package/chunks/{processUtils-BLTEAR2P.js → processUtils-XM5BY2Q7.js} +2 -2
- package/chunks/{prompt-terminal-ledger-SZV4IH7W.js → prompt-terminal-ledger-WLJXQ2QJ.js} +31 -30
- package/chunks/{pt-EZL4H2AB.js → pt-KE77XTFU.js} +5 -1
- package/chunks/{reactive-degrade-RMOJR3UO.js → reactive-degrade-6P4KI4Z3.js} +12 -11
- package/chunks/{read-file-QH2DDCDD.js → read-file-M66I6SWK.js} +4 -4
- package/chunks/{resumeHistoryUtils-SK7UGMOC.js → resumeHistoryUtils-6KNHMAID.js} +34 -33
- package/chunks/{ripGrep-K4J4MLBL.js → ripGrep-EHJ3FDNE.js} +5 -5
- package/chunks/{run-o1-code-serve-PGCIJYC2.js → run-o1-code-serve-WJ4BRL2T.js} +32 -32
- package/chunks/{sandboxConfig-MUJTXJWI.js → sandboxConfig-4CEQGERI.js} +30 -29
- package/chunks/{scheduled-tasks-DFC6Q3IG.js → scheduled-tasks-7RVOCXQJ.js} +36 -35
- package/chunks/{scheduler-63WJQPZ2.js → scheduler-ESB6OTOV.js} +32 -31
- package/chunks/{sdk-exporters-http-66WPQ7UY.js → sdk-exporters-http-YROX3PLL.js} +2 -2
- package/chunks/{sdk-impl-B4WTXTDQ.js → sdk-impl-LMCYCCTE.js} +4 -4
- package/chunks/{serve-DKXTI5V2.js → serve-LKRV22OH.js} +36 -35
- package/chunks/{server-3INVZRET.js → server-QXLYJOGN.js} +68 -67
- package/chunks/{session-LN37VDDP.js → session-CR4OVISR.js} +177 -68
- package/chunks/{session-HENSFFJO.js → session-TZYPGQBA.js} +2 -2
- package/chunks/{session-attachments-root-MQU3746J.js → session-attachments-root-DTMA76CV.js} +30 -29
- package/chunks/{session-pr-refresh-OGTS6EVI.js → session-pr-refresh-DK4MCWHR.js} +35 -34
- package/chunks/{settings-BXDNY2AP.js → settings-MPQBHLKQ.js} +35 -34
- package/chunks/{shell-H7R2TF7F.js → shell-PMXP5W4B.js} +19 -18
- package/chunks/{skill-3DPAHPZB.js → skill-ZDOOYYEJ.js} +6 -6
- package/chunks/{skill-settings-RWVB7OQH.js → skill-settings-WZ5D2YDV.js} +36 -35
- package/chunks/{spawnChannel-FTLDFA2H.js → spawnChannel-U3JRKEEQ.js} +32 -31
- package/chunks/{standalone-update-2NTMLG6U.js → standalone-update-ELOY4TKH.js} +32 -31
- package/chunks/{startInteractiveUI-ZQYISDFK.js → startInteractiveUI-MIPP76GG.js} +119 -147
- package/chunks/{supervisor-runner-4UQ3S7ZK.js → supervisor-runner-CGUFZJOX.js} +2 -2
- package/chunks/{team-create-AKAP7B2I.js → team-create-TKE64LZO.js} +19 -18
- package/chunks/{team-plan-approval-CD5PJ2HF.js → team-plan-approval-RI2Q4OAZ.js} +19 -18
- package/chunks/{terminal-image-renderer-2H7GWOGJ.js → terminal-image-renderer-Q2E35SMZ.js} +30 -29
- package/chunks/{theme-manager-PO2AOYF4.js → theme-manager-OEOS4P4R.js} +30 -29
- package/chunks/{tool-result-media-TRUCQ7RW.js → tool-result-media-RR2EOQKL.js} +13 -12
- package/chunks/{tool-search-EDTROJCV.js → tool-search-YFEMM2RO.js} +4 -4
- package/chunks/{total-session-admission-P6DIV3Q5.js → total-session-admission-KGIKHYHU.js} +33 -32
- package/chunks/{trustedFolders-SEN5Y6NQ.js → trustedFolders-VCHPBP7F.js} +31 -30
- package/chunks/{update-relaunch-SYHPPEM3.js → update-relaunch-BFRAJ666.js} +5 -5
- package/chunks/{updateCheck-7OOIBXXV.js → updateCheck-KCVBGBBR.js} +32 -31
- package/chunks/{upload-config-UMYJSCZQ.js → upload-config-Z6BMQ33S.js} +10 -9
- package/chunks/{useAutoAcceptIndicator-I5R77IN7.js → useAutoAcceptIndicator-CNOBUVGA.js} +38 -37
- package/chunks/{validateNonInterActiveAuth-AEZTP3MC.js → validateNonInterActiveAuth-J23HKWQZ.js} +63 -61
- package/chunks/{version-S7QK2XJ3.js → version-NKG54EQU.js} +1 -1
- package/chunks/{web-fetch-4CLYKVOX.js → web-fetch-OA6FFOEX.js} +6 -5
- package/chunks/{web-search-LXGIHMSR.js → web-search-OOKSTACM.js} +10 -9
- package/chunks/{workflow-BJXDZAIK.js → workflow-KB5RHTHA.js} +22 -21
- package/chunks/{workspace-providers-status-WOJTQARI.js → workspace-providers-status-BA5MMCHL.js} +42 -41
- package/chunks/{workspace-registration-store-HA5CPWRM.js → workspace-registration-store-JLXOXBBM.js} +1 -1
- package/chunks/{workspace-registry-JTKEDLKB.js → workspace-registry-RQNMS4NT.js} +33 -32
- package/chunks/{workspace-runtime-coordinator-HCSJM4WW.js → workspace-runtime-coordinator-2NRPYIR7.js} +34 -33
- package/chunks/{workspace-service-Z6AXYMZK.js → workspace-service-AITMTQ5F.js} +40 -39
- package/chunks/{workspace-skills-status-5CRGREPM.js → workspace-skills-status-FAWXZW2K.js} +39 -38
- package/chunks/{workspace-trust-reconciler-2HYPUBV5.js → workspace-trust-reconciler-XIYIWMD5.js} +39 -38
- package/chunks/{write-file-DB5MAWEC.js → write-file-ZXWVEQBO.js} +21 -20
- package/chunks/{zoom-image-INVYZYGT.js → zoom-image-NXYFTJCE.js} +4 -4
- package/cli.js +15 -15
- package/execution-worker.js +1 -1
- package/export-transcript-document.js +1 -1
- package/locales/en.js +9 -2
- package/locales/pt.js +9 -2
- package/package.json +2 -2
- package/release-notes.json +15 -0
- package/vendor/o1-connect/.lintstagedrc.mjs +7 -0
- package/vendor/tree-sitter/tree-sitter-bash.wasm +0 -0
- package/vendor/tree-sitter/tree-sitter.wasm +0 -0
- package/web-shell/assets/{abnfDiagram-VCTEODGH-BaNqfZpC.js → abnfDiagram-VCTEODGH-CqjOJwIl.js} +1 -1
- package/web-shell/assets/{arc-gDDqDKPT.js → arc-C5SJ23WU.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-Bksq6k3e.js → architectureDiagram-5GKGNRK7-An4fJIBe.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-7hsG6uyG.js → blockDiagram-NRAW4CY4-G2eztYPX.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-D1YM1daI.js → c4Diagram-UCG6FXSJ-C6ezHlpJ.js} +1 -1
- package/web-shell/assets/channel-D5esVGM7.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-BB8Fw1Hw.js → chunk-2Q5K7J3B-BvJY7MyE.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-DQVttniG.js → chunk-5VM5RSS4-BtyPdSpj.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-CmdpVDej.js → chunk-F27PBJKO-BTyZPl5y.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-C2pQ1X6e.js → chunk-G27WJ6UU-JFsGVpGk.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-DLd59_s7.js → chunk-JWPE2WC7-A4mmQSWN.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-CF_rpE3C.js → chunk-LCL6LL3I-BxALl8Fh.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-Bix-ymX6.js → chunk-POPQ4Y6H-Cw8I0h3T.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-TgCBK2Wr.js → chunk-SVP7TREG-DSL1NUen.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-bAG8mDsG.js → chunk-XXDRQBXY-DaOf-wsF.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-GkP_GnoS.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-GkP_GnoS.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-Ki_lMvfR.js → cose-bilkent-JH36ORCC-BoJUwl6N.js} +1 -1
- package/web-shell/assets/{cynefin-OW5HDTMX-ClCmMaaz.js → cynefin-OW5HDTMX-OjMGs01U.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-Bd_01Yme.js → cynefinDiagram-5FMLGOSQ-CIlbclJF.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-CFzBzlQw.js → dagre-3AP2YEHR-mF2nY8kI.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-D1sCOBvM.js → diagram-S7CK7UJ4-B2gmDJpJ.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-9BhhA92f.js → diagram-UQ7AKVKN-CbeiFG4H.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-CcRwCzkz.js → diagram-VSXAHHWV-1b6dLlvx.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-CxuPvHoZ.js → diagram-VX7I27RA-Bhotp5VI.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-CoIJxvYZ.js → diagram-Z3DM3KII-BaR9ET3O.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-Dg5aM3n8.js → ebnfDiagram-PWID7BFC-DU7SRTDr.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-DMa-93Pc.js → erDiagram-SSCWMZ5O-Doc9fBrw.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-YyRjDg58.js → flowDiagram-A5DVABFB-Dg4piWMk.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-DL6u7rJj.js → ganttDiagram-EL5Y4UJY-g0Szi6ST.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-VzBe_y82.js → gitGraphDiagram-WWUBYQGX-Cf7xdXvO.js} +1 -1
- package/web-shell/assets/{index-sM76wg9o.js → index-BJgwudRv.js} +1 -1
- package/web-shell/assets/{index-GigiICvn.js → index-zu97iwyx.js} +3 -3
- package/web-shell/assets/{infoDiagram-RXCK75RN-ZdRuVjv4.js → infoDiagram-RXCK75RN-B2wvgM-Z.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-DCGfNGm8.js → ishikawaDiagram-5VMMS53U-DuXJBRoZ.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-vAmOL7Eg.js → journeyDiagram-EYS64GPL-D1buQOuH.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-DE-XVGLj.js → kanban-definition-3QL26DDD-C4ocotU4.js} +1 -1
- package/web-shell/assets/{layout-8oKHDfxQ.js → layout-C4TsdXH6.js} +1 -1
- package/web-shell/assets/{linear-BTNkFLpm.js → linear-B579tz05.js} +1 -1
- package/web-shell/assets/{mermaid.core-1L-v7Osp.js → mermaid.core-C4GAuwX5.js} +6 -6
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-B_TZjQ0C.js → mindmap-definition-FBJOCRG2-BjVDZjap.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-YXEadiQt.js → pegDiagram-XKGWAZYB-CXumURc6.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-BhkRy1C-.js → pieDiagram-E7YTZNPT-B4pmVjw8.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-CSuVeiFP.js → quadrantDiagram-AXDQQJYC-8STI_3oc.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-C-keEU-2.js → railroadDiagram-O6MQD6OU-BOkM9ljd.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-BRsygqPt.js → requirementDiagram-EFPCY7ZU-C_o-DuKn.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-D-_EHQLT.js → sankeyDiagram-P5KCCOFB-DyFETog_.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-CNIb-Onj.js → sequenceDiagram-WJ2MYXX4-DEDdqLcH.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-BbofuaSb.js → sizeCapture-X5ZJPWSS-Cv9dGT1I.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-DWmCEpdE.js → stateDiagram-HBIQ2CUA-D9Gad5Fv.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-CdGtFEba.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-DZduoU7z.js → swimlanes-XN3QIQJK-Dya2rRKz.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-DFVEwDmq.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-DfIVB7QH.js → timeline-definition-24CTP7MA-B0UZHOzv.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-OvwgQkxx.js → vennDiagram-4TSXK5OY-C_u8Z-Bk.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-CH_cuYLP.js → wardleyDiagram-VM6X3IG4-Bq4DlxeN.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-Dc3Tv7qx.js → xychartDiagram-S5SC5T6Z-CMeeBCXA.js} +1 -1
- package/web-shell/index.html +1 -1
- package/web-shell/sw.js +1 -1
- package/chunks/chunk-V24FMEXL.js +0 -203
- package/chunks/gateway-transfer-47WP3EUB.js +0 -27
- package/web-shell/assets/channel-CGxTee96.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-CVk9ORuZ.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-CVk9ORuZ.js +0 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-CsO4gStv.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-BEwObTq5.js +0 -8
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
GOAL_STATE_EVENT_CAUSES,
|
|
11
11
|
makeGoalStateEvent
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BZYI5TLI.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_SENSITIVE_SPAN_ATTRIBUTE_MAX_LENGTH,
|
|
15
15
|
SENSITIVE_SPAN_ATTRIBUTE_MAX_LENGTH_LIMIT,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
getMeter,
|
|
18
18
|
isTelemetrySdkInitialized,
|
|
19
19
|
isValidSensitiveSpanAttributeMaxLength
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-EB4VOVOS.js";
|
|
21
21
|
import {
|
|
22
22
|
atomicWriteJSON
|
|
23
23
|
} from "./chunk-EPJAMNLS.js";
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
QUOTA_EXHAUSTED_PREFIX,
|
|
5
|
+
formatQuotaExhaustedMessage,
|
|
6
|
+
getErrorHeader,
|
|
7
|
+
getRateLimitErrorDetails,
|
|
8
|
+
getRetryAfterDelayMs,
|
|
9
|
+
getRetryDelayMs,
|
|
10
|
+
isQuotaExhaustedError,
|
|
11
|
+
isRateLimitError
|
|
12
|
+
} from "./chunk-3JWJHYFV.js";
|
|
3
13
|
import {
|
|
4
14
|
redactProxyCredentials
|
|
5
15
|
} from "./chunk-S6HB6BVJ.js";
|
|
@@ -18,301 +28,6 @@ import {
|
|
|
18
28
|
__name
|
|
19
29
|
} from "./chunk-J2S4EL5Y.js";
|
|
20
30
|
|
|
21
|
-
// packages/core/src/utils/retryPolicy.ts
|
|
22
|
-
init_esbuild_shims();
|
|
23
|
-
var MAX_TIMEOUT_MS = 2147483647;
|
|
24
|
-
function getRetryDelayMs(options) {
|
|
25
|
-
const normalizedAttempt = Math.max(1, options.attempt);
|
|
26
|
-
const delayCeilingMs = Math.min(options.maxDelayMs, MAX_TIMEOUT_MS);
|
|
27
|
-
const exponent = Math.min(normalizedAttempt - 1, 31);
|
|
28
|
-
const cappedExponentialDelayMs = Math.min(
|
|
29
|
-
options.initialDelayMs * Math.pow(2, exponent),
|
|
30
|
-
delayCeilingMs
|
|
31
|
-
);
|
|
32
|
-
const retryAfterMode = options.retryAfterMode ?? "ignore";
|
|
33
|
-
const retryAfterMs = retryAfterMode === "ignore" ? null : getRetryAfterDelayMs(options.error);
|
|
34
|
-
if (retryAfterMs !== null && retryAfterMs > 0) {
|
|
35
|
-
const retryAfterCapMs = Math.min(
|
|
36
|
-
options.retryAfterMaxDelayMs ?? options.maxDelayMs,
|
|
37
|
-
MAX_TIMEOUT_MS
|
|
38
|
-
);
|
|
39
|
-
const cappedRetryAfterMs = Math.min(retryAfterMs, retryAfterCapMs);
|
|
40
|
-
return Math.max(cappedExponentialDelayMs, cappedRetryAfterMs);
|
|
41
|
-
}
|
|
42
|
-
const jitterRatio = options.jitterRatio ?? 0;
|
|
43
|
-
if (jitterRatio <= 0) return cappedExponentialDelayMs;
|
|
44
|
-
const random = options.random ?? Math.random;
|
|
45
|
-
const jitter = cappedExponentialDelayMs * jitterRatio * (random() * 2 - 1);
|
|
46
|
-
return Math.min(
|
|
47
|
-
Math.max(0, cappedExponentialDelayMs + jitter),
|
|
48
|
-
delayCeilingMs
|
|
49
|
-
);
|
|
50
|
-
}
|
|
51
|
-
__name(getRetryDelayMs, "getRetryDelayMs");
|
|
52
|
-
function getRetryAfterDelayMs(error) {
|
|
53
|
-
const millis = getHeaderValue(error, "retry-after-ms") ?? getResponseHeaderValue(error, "retry-after-ms");
|
|
54
|
-
if (millis !== null && /^\d+(\.\d+)?$/.test(millis.trim())) {
|
|
55
|
-
const value2 = Number(millis);
|
|
56
|
-
if (Number.isFinite(value2)) return Math.min(value2, MAX_TIMEOUT_MS);
|
|
57
|
-
}
|
|
58
|
-
const value = getHeaderValue(error, "retry-after") ?? getResponseHeaderValue(error, "retry-after");
|
|
59
|
-
if (value === null) return null;
|
|
60
|
-
const trimmed = value.trim();
|
|
61
|
-
if (/^\d+(\.\d+)?$/.test(trimmed)) {
|
|
62
|
-
const seconds = Number(trimmed);
|
|
63
|
-
if (Number.isFinite(seconds) && seconds >= 0) {
|
|
64
|
-
return Math.min(seconds * 1e3, MAX_TIMEOUT_MS);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
const retryAtMs = Date.parse(trimmed);
|
|
68
|
-
if (!Number.isFinite(retryAtMs)) return null;
|
|
69
|
-
const delayMs = retryAtMs - Date.now();
|
|
70
|
-
return delayMs > 0 ? Math.min(delayMs, MAX_TIMEOUT_MS) : 0;
|
|
71
|
-
}
|
|
72
|
-
__name(getRetryAfterDelayMs, "getRetryAfterDelayMs");
|
|
73
|
-
function getErrorHeader(error, headerName) {
|
|
74
|
-
return getHeaderValue(error, headerName) ?? getResponseHeaderValue(error, headerName);
|
|
75
|
-
}
|
|
76
|
-
__name(getErrorHeader, "getErrorHeader");
|
|
77
|
-
function getHeaderValue(error, headerName) {
|
|
78
|
-
if (!hasHeaders(error)) return null;
|
|
79
|
-
const { headers } = error;
|
|
80
|
-
if (typeof headers.get === "function") {
|
|
81
|
-
const value = headers.get(headerName);
|
|
82
|
-
return typeof value === "string" ? value : null;
|
|
83
|
-
}
|
|
84
|
-
if (typeof headers !== "object" || headers === null) return null;
|
|
85
|
-
const lowerHeaderName = headerName.toLowerCase();
|
|
86
|
-
for (const [key, value] of Object.entries(headers)) {
|
|
87
|
-
if (key.toLowerCase() !== lowerHeaderName) continue;
|
|
88
|
-
return typeof value === "string" ? value : null;
|
|
89
|
-
}
|
|
90
|
-
return null;
|
|
91
|
-
}
|
|
92
|
-
__name(getHeaderValue, "getHeaderValue");
|
|
93
|
-
function getResponseHeaderValue(error, headerName) {
|
|
94
|
-
if (!hasResponseHeaders(error)) return null;
|
|
95
|
-
return getHeaderValue(error.response, headerName);
|
|
96
|
-
}
|
|
97
|
-
__name(getResponseHeaderValue, "getResponseHeaderValue");
|
|
98
|
-
function hasHeaders(error) {
|
|
99
|
-
return typeof error === "object" && error !== null && "headers" in error && error.headers != null;
|
|
100
|
-
}
|
|
101
|
-
__name(hasHeaders, "hasHeaders");
|
|
102
|
-
function hasResponseHeaders(error) {
|
|
103
|
-
return typeof error === "object" && error !== null && "response" in error && typeof error.response === "object" && error.response !== null && "headers" in error.response && error.response.headers != null;
|
|
104
|
-
}
|
|
105
|
-
__name(hasResponseHeaders, "hasResponseHeaders");
|
|
106
|
-
|
|
107
|
-
// packages/core/src/utils/rateLimit.ts
|
|
108
|
-
init_esbuild_shims();
|
|
109
|
-
|
|
110
|
-
// packages/core/src/utils/quotaErrorDetection.ts
|
|
111
|
-
init_esbuild_shims();
|
|
112
|
-
function isApiError(error) {
|
|
113
|
-
return typeof error === "object" && error !== null && "error" in error && typeof error.error === "object" && error.error !== null && "message" in error.error;
|
|
114
|
-
}
|
|
115
|
-
__name(isApiError, "isApiError");
|
|
116
|
-
function isStructuredError(error) {
|
|
117
|
-
return typeof error === "object" && error !== null && "message" in error && typeof error.message === "string";
|
|
118
|
-
}
|
|
119
|
-
__name(isStructuredError, "isStructuredError");
|
|
120
|
-
var QUOTA_EXHAUSTED_PREFIX = "Quota exhausted: ";
|
|
121
|
-
function getQuotaMessage(error) {
|
|
122
|
-
let message = null;
|
|
123
|
-
if (typeof error === "string") message = error;
|
|
124
|
-
else if (isStructuredError(error)) message = error.message;
|
|
125
|
-
else if (isApiError(error)) message = error.error.message;
|
|
126
|
-
if (message === null) return null;
|
|
127
|
-
const start = message.indexOf("{");
|
|
128
|
-
if (start !== -1) {
|
|
129
|
-
try {
|
|
130
|
-
const parsed = JSON.parse(message.substring(start));
|
|
131
|
-
if (isApiError(parsed)) return parsed.error.message;
|
|
132
|
-
} catch {
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
return message;
|
|
136
|
-
}
|
|
137
|
-
__name(getQuotaMessage, "getQuotaMessage");
|
|
138
|
-
function isQuotaExhaustedError(error) {
|
|
139
|
-
const message = getQuotaMessage(error);
|
|
140
|
-
if (!message) return false;
|
|
141
|
-
const lower = message.toLowerCase();
|
|
142
|
-
return lower.includes("quota") && (lower.includes("exhausted") || lower.includes("exceeded")) && (lower.includes("will reset") || lower.includes("reset at"));
|
|
143
|
-
}
|
|
144
|
-
__name(isQuotaExhaustedError, "isQuotaExhaustedError");
|
|
145
|
-
function formatQuotaExhaustedMessage(error) {
|
|
146
|
-
const raw = getQuotaMessage(error) ?? "";
|
|
147
|
-
if (raw.startsWith(QUOTA_EXHAUSTED_PREFIX)) return raw;
|
|
148
|
-
const stripped = raw.replace(/^\d{3}\s+/, "").trim() || "quota has been exhausted";
|
|
149
|
-
return `${QUOTA_EXHAUSTED_PREFIX}${stripped}
|
|
150
|
-
|
|
151
|
-
Please retry after the reset time, or switch to another API key / auth method.`;
|
|
152
|
-
}
|
|
153
|
-
__name(formatQuotaExhaustedMessage, "formatQuotaExhaustedMessage");
|
|
154
|
-
|
|
155
|
-
// packages/core/src/utils/rateLimit.ts
|
|
156
|
-
var RATE_LIMIT_ERROR_CODES = /* @__PURE__ */ new Set([429, 503, 1302, 1305]);
|
|
157
|
-
function isRateLimitError(error, extraCodes) {
|
|
158
|
-
const code = getErrorCode(error);
|
|
159
|
-
if (code === null) return isStatuslessThrottle(error);
|
|
160
|
-
if (RATE_LIMIT_ERROR_CODES.has(code)) return true;
|
|
161
|
-
if (extraCodes && extraCodes.includes(code)) return true;
|
|
162
|
-
return false;
|
|
163
|
-
}
|
|
164
|
-
__name(isRateLimitError, "isRateLimitError");
|
|
165
|
-
function isStatuslessThrottle(error) {
|
|
166
|
-
for (const payload of [error, ...getJsonPayloads(error)]) {
|
|
167
|
-
const selected = providerErrorSource(payload);
|
|
168
|
-
if (!selected) continue;
|
|
169
|
-
const { source } = selected;
|
|
170
|
-
const { type, message } = source;
|
|
171
|
-
if (type === "rate_limit_error" || type === "overloaded_error") return true;
|
|
172
|
-
if (type !== "invalid_request_error" || typeof message !== "string")
|
|
173
|
-
continue;
|
|
174
|
-
const detail = decodeProviderMessage(message)?.["message"] ?? message;
|
|
175
|
-
if (typeof detail === "string" && /^too many requests\b/i.test(detail.trim()) && /\b(?:wait|try(?:ing)? again)\b/i.test(detail)) {
|
|
176
|
-
return true;
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
return false;
|
|
180
|
-
}
|
|
181
|
-
__name(isStatuslessThrottle, "isStatuslessThrottle");
|
|
182
|
-
function providerErrorSource(payload) {
|
|
183
|
-
if (typeof payload !== "object" || payload === null) return null;
|
|
184
|
-
const direct = payload;
|
|
185
|
-
const nested = direct["error"];
|
|
186
|
-
const source = typeof nested === "object" && nested !== null ? nested : direct;
|
|
187
|
-
return { source, direct };
|
|
188
|
-
}
|
|
189
|
-
__name(providerErrorSource, "providerErrorSource");
|
|
190
|
-
function decodeProviderMessage(message) {
|
|
191
|
-
try {
|
|
192
|
-
const selected = providerErrorSource(JSON.parse(message));
|
|
193
|
-
if (!selected || typeof selected.source["message"] !== "string") {
|
|
194
|
-
return null;
|
|
195
|
-
}
|
|
196
|
-
return { ...selected.direct, ...selected.source };
|
|
197
|
-
} catch {
|
|
198
|
-
return null;
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
__name(decodeProviderMessage, "decodeProviderMessage");
|
|
202
|
-
function getRateLimitErrorDetails(error) {
|
|
203
|
-
const statusCode = getErrorStatus(error);
|
|
204
|
-
const payload = getProviderErrorPayload(error);
|
|
205
|
-
const message = getRawErrorMessage(error);
|
|
206
|
-
const transport = message?.includes("event:error") || message?.includes("HTTP_STATUS/") ? "sse" : statusCode !== void 0 ? "http" : "unknown";
|
|
207
|
-
return {
|
|
208
|
-
...statusCode !== void 0 ? { statusCode } : {},
|
|
209
|
-
...payload?.code !== void 0 || payload?.type !== void 0 ? { providerCode: String(payload.code ?? payload.type) } : {},
|
|
210
|
-
...payload?.type !== void 0 ? { providerType: payload.type } : {},
|
|
211
|
-
...payload?.message !== void 0 ? { providerMessage: payload.message } : {},
|
|
212
|
-
...payload?.requestId !== void 0 ? { requestId: payload.requestId } : {},
|
|
213
|
-
transport
|
|
214
|
-
};
|
|
215
|
-
}
|
|
216
|
-
__name(getRateLimitErrorDetails, "getRateLimitErrorDetails");
|
|
217
|
-
function getRateLimitRetryDelayMs(attempt, options) {
|
|
218
|
-
return getRetryDelayMs({
|
|
219
|
-
attempt,
|
|
220
|
-
initialDelayMs: options.initialDelayMs,
|
|
221
|
-
maxDelayMs: options.maxDelayMs,
|
|
222
|
-
retryAfterMode: "minimum",
|
|
223
|
-
retryAfterMaxDelayMs: options.maxDelayMs,
|
|
224
|
-
error: options.error
|
|
225
|
-
});
|
|
226
|
-
}
|
|
227
|
-
__name(getRateLimitRetryDelayMs, "getRateLimitRetryDelayMs");
|
|
228
|
-
function getErrorCode(error) {
|
|
229
|
-
if (isApiError(error)) {
|
|
230
|
-
const n = Number(error.error.code);
|
|
231
|
-
if (Number.isFinite(n) && n > 0) return n;
|
|
232
|
-
}
|
|
233
|
-
const msg = error instanceof Error ? error.message : typeof error === "string" ? error : null;
|
|
234
|
-
if (msg) {
|
|
235
|
-
const i = msg.indexOf("{");
|
|
236
|
-
if (i !== -1) {
|
|
237
|
-
try {
|
|
238
|
-
const p = JSON.parse(msg.substring(i));
|
|
239
|
-
if (isApiError(p)) {
|
|
240
|
-
const n = Number(p.error.code);
|
|
241
|
-
if (Number.isFinite(n) && n > 0) return n;
|
|
242
|
-
}
|
|
243
|
-
} catch {
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
if (isStructuredError(error) && typeof error.status === "number") {
|
|
248
|
-
return error.status;
|
|
249
|
-
}
|
|
250
|
-
if (error instanceof Error && "status" in error) {
|
|
251
|
-
const s = error.status;
|
|
252
|
-
if (typeof s === "number") return s;
|
|
253
|
-
}
|
|
254
|
-
return getErrorStatus(error) ?? null;
|
|
255
|
-
}
|
|
256
|
-
__name(getErrorCode, "getErrorCode");
|
|
257
|
-
function getProviderErrorPayload(error) {
|
|
258
|
-
for (const payload of getJsonPayloads(error)) {
|
|
259
|
-
const selected = providerErrorSource(payload);
|
|
260
|
-
if (!selected) continue;
|
|
261
|
-
const { source, direct } = selected;
|
|
262
|
-
const decoded = typeof source["message"] === "string" ? decodeProviderMessage(source["message"]) : null;
|
|
263
|
-
const code = typeof source["code"] === "string" || typeof source["code"] === "number" ? source["code"] : typeof decoded?.["code"] === "string" || typeof decoded?.["code"] === "number" ? decoded["code"] : void 0;
|
|
264
|
-
const type = typeof source["type"] === "string" ? source["type"] : typeof decoded?.["type"] === "string" ? decoded["type"] : void 0;
|
|
265
|
-
const message = typeof decoded?.["message"] === "string" ? decoded["message"] : typeof source["message"] === "string" ? source["message"] : void 0;
|
|
266
|
-
const requestId = typeof source["request_id"] === "string" ? source["request_id"] : typeof source["requestId"] === "string" ? source["requestId"] : typeof direct["request_id"] === "string" ? direct["request_id"] : typeof direct["requestId"] === "string" ? direct["requestId"] : typeof decoded?.["request_id"] === "string" ? decoded["request_id"] : typeof decoded?.["requestId"] === "string" ? decoded["requestId"] : void 0;
|
|
267
|
-
if (code !== void 0 || type !== void 0 || message !== void 0 || requestId !== void 0) {
|
|
268
|
-
return { code, type, message, requestId };
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
if (isApiError(error)) {
|
|
272
|
-
const decoded = decodeProviderMessage(error.error.message);
|
|
273
|
-
return {
|
|
274
|
-
code: error.error.code,
|
|
275
|
-
...typeof decoded?.["type"] === "string" ? { type: decoded["type"] } : {},
|
|
276
|
-
message: typeof decoded?.["message"] === "string" ? decoded["message"] : error.error.message
|
|
277
|
-
};
|
|
278
|
-
}
|
|
279
|
-
return null;
|
|
280
|
-
}
|
|
281
|
-
__name(getProviderErrorPayload, "getProviderErrorPayload");
|
|
282
|
-
function getJsonPayloads(error) {
|
|
283
|
-
const message = getRawErrorMessage(error);
|
|
284
|
-
if (!message) return [];
|
|
285
|
-
const payloads = [];
|
|
286
|
-
for (const line of message.split(/\r?\n/)) {
|
|
287
|
-
if (!line.startsWith("data:")) continue;
|
|
288
|
-
const data = line.slice("data:".length).trim();
|
|
289
|
-
if (!data || data === "[DONE]") continue;
|
|
290
|
-
try {
|
|
291
|
-
payloads.push(JSON.parse(data));
|
|
292
|
-
} catch {
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
if (payloads.length > 0) return payloads;
|
|
296
|
-
const jsonStart = message.indexOf("{");
|
|
297
|
-
const jsonEnd = message.lastIndexOf("}");
|
|
298
|
-
if (jsonStart !== -1 && jsonEnd > jsonStart) {
|
|
299
|
-
try {
|
|
300
|
-
payloads.push(
|
|
301
|
-
JSON.parse(message.slice(jsonStart, jsonEnd + 1))
|
|
302
|
-
);
|
|
303
|
-
} catch {
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
return payloads;
|
|
307
|
-
}
|
|
308
|
-
__name(getJsonPayloads, "getJsonPayloads");
|
|
309
|
-
function getRawErrorMessage(error) {
|
|
310
|
-
if (error instanceof Error) return error.message;
|
|
311
|
-
if (typeof error === "string") return error;
|
|
312
|
-
return null;
|
|
313
|
-
}
|
|
314
|
-
__name(getRawErrorMessage, "getRawErrorMessage");
|
|
315
|
-
|
|
316
31
|
// packages/core/src/utils/fetch.ts
|
|
317
32
|
init_esbuild_shims();
|
|
318
33
|
|
|
@@ -1312,13 +1027,13 @@ function classifyErrorCode(error) {
|
|
|
1312
1027
|
const errors = candidate?.errors;
|
|
1313
1028
|
return Array.isArray(errors) ? errors : [];
|
|
1314
1029
|
});
|
|
1315
|
-
const connectionLevel = attempts.map(
|
|
1030
|
+
const connectionLevel = attempts.map(getErrorCode).find(
|
|
1316
1031
|
(code) => code !== void 0 && CONNECTION_LEVEL_ERROR_CODES.has(code)
|
|
1317
1032
|
);
|
|
1318
|
-
return connectionLevel ??
|
|
1033
|
+
return connectionLevel ?? getErrorCode(error) ?? getErrorCode(cause);
|
|
1319
1034
|
}
|
|
1320
1035
|
__name(classifyErrorCode, "classifyErrorCode");
|
|
1321
|
-
function
|
|
1036
|
+
function getErrorCode(error) {
|
|
1322
1037
|
if (!error || typeof error !== "object") {
|
|
1323
1038
|
return void 0;
|
|
1324
1039
|
}
|
|
@@ -1327,18 +1042,9 @@ function getErrorCode2(error) {
|
|
|
1327
1042
|
}
|
|
1328
1043
|
return void 0;
|
|
1329
1044
|
}
|
|
1330
|
-
__name(
|
|
1045
|
+
__name(getErrorCode, "getErrorCode");
|
|
1331
1046
|
|
|
1332
1047
|
export {
|
|
1333
|
-
isApiError,
|
|
1334
|
-
isStructuredError,
|
|
1335
|
-
QUOTA_EXHAUSTED_PREFIX,
|
|
1336
|
-
isQuotaExhaustedError,
|
|
1337
|
-
formatQuotaExhaustedMessage,
|
|
1338
|
-
getErrorHeader,
|
|
1339
|
-
isRateLimitError,
|
|
1340
|
-
getRateLimitErrorDetails,
|
|
1341
|
-
getRateLimitRetryDelayMs,
|
|
1342
1048
|
ResponsesHttpError,
|
|
1343
1049
|
classifyRetryError,
|
|
1344
1050
|
getTransportCode,
|
|
@@ -1355,27 +1061,27 @@ export {
|
|
|
1355
1061
|
};
|
|
1356
1062
|
/**
|
|
1357
1063
|
* @license
|
|
1358
|
-
* Copyright 2026
|
|
1064
|
+
* Copyright 2026 o1-code contributors
|
|
1359
1065
|
* SPDX-License-Identifier: Apache-2.0
|
|
1360
1066
|
*/
|
|
1361
1067
|
/**
|
|
1362
1068
|
* @license
|
|
1363
|
-
* Copyright
|
|
1069
|
+
* Copyright 2026 Qwen
|
|
1364
1070
|
* SPDX-License-Identifier: Apache-2.0
|
|
1365
1071
|
*/
|
|
1366
1072
|
/**
|
|
1367
1073
|
* @license
|
|
1368
|
-
* Copyright 2026
|
|
1074
|
+
* Copyright 2026 Google LLC
|
|
1369
1075
|
* SPDX-License-Identifier: Apache-2.0
|
|
1370
1076
|
*/
|
|
1371
1077
|
/**
|
|
1372
1078
|
* @license
|
|
1373
|
-
* Copyright 2026 Qwen
|
|
1079
|
+
* Copyright 2026 Qwen Team
|
|
1080
|
+
* Modified by the o1-code project; see NOTICE.
|
|
1374
1081
|
* SPDX-License-Identifier: Apache-2.0
|
|
1375
1082
|
*/
|
|
1376
1083
|
/**
|
|
1377
1084
|
* @license
|
|
1378
|
-
* Copyright
|
|
1379
|
-
* Modified by the o1-code project; see NOTICE.
|
|
1085
|
+
* Copyright 2025 Google LLC
|
|
1380
1086
|
* SPDX-License-Identifier: Apache-2.0
|
|
1381
1087
|
*/
|
|
@@ -2,31 +2,31 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
mapSkillConfigToStatus
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QPGYYXO7.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveSkillSettings
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TASQRFKT.js";
|
|
9
9
|
import {
|
|
10
10
|
STATUS_SCHEMA_VERSION
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ETYF6LYZ.js";
|
|
12
12
|
import {
|
|
13
13
|
loadSettings
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-32GJTTKG.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveLanguage,
|
|
17
17
|
resolveLanguageSetting
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-2DEMKCA3.js";
|
|
19
19
|
import {
|
|
20
20
|
ExtensionManager,
|
|
21
21
|
ExtensionStore,
|
|
22
22
|
SkillManager,
|
|
23
23
|
getExtensionDisplayName,
|
|
24
24
|
isSafeModeEnv
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-YBJ5CGLV.js";
|
|
26
26
|
import {
|
|
27
27
|
authoredSkillName,
|
|
28
28
|
qualifySkillName
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-AE4IQ5HU.js";
|
|
30
30
|
import {
|
|
31
31
|
writeStderrLine
|
|
32
32
|
} from "./chunk-RANA4SOY.js";
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
JsonFormatter
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-REKFASVP.js";
|
|
6
6
|
import {
|
|
7
7
|
parseAndFormatApiError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-YBJ5CGLV.js";
|
|
9
9
|
import {
|
|
10
10
|
stripAnsiAndControl
|
|
11
11
|
} from "./chunk-FKI7XUZK.js";
|
|
12
12
|
import {
|
|
13
13
|
runExitCleanup
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SPGNKIRH.js";
|
|
15
15
|
import {
|
|
16
16
|
writeStderrLine
|
|
17
17
|
} from "./chunk-RANA4SOY.js";
|
|
@@ -5,31 +5,31 @@ import {
|
|
|
5
5
|
} from "./chunk-XZ3MQL2U.js";
|
|
6
6
|
import {
|
|
7
7
|
getErrorMessage
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CAD5UWKT.js";
|
|
9
9
|
import {
|
|
10
10
|
loadSettings
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-32GJTTKG.js";
|
|
12
12
|
import {
|
|
13
13
|
getCurrentLanguage,
|
|
14
14
|
initializeI18n,
|
|
15
15
|
resolveLanguageSetting,
|
|
16
16
|
t
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2DEMKCA3.js";
|
|
18
18
|
import {
|
|
19
19
|
isWorkspaceTrusted
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-6243HSOC.js";
|
|
21
21
|
import {
|
|
22
22
|
ExtensionManager,
|
|
23
23
|
getExtensionDescription,
|
|
24
24
|
getExtensionDisplayName,
|
|
25
25
|
require_prompts
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-YBJ5CGLV.js";
|
|
27
27
|
import {
|
|
28
28
|
stripAnsi
|
|
29
29
|
} from "./chunk-WU3R2YUE.js";
|
|
30
30
|
import {
|
|
31
31
|
redactUrlCredentials
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-EB4VOVOS.js";
|
|
33
33
|
import {
|
|
34
34
|
writeStderrLine,
|
|
35
35
|
writeStdoutLine
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
appEvents
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-5XYYE7SJ.js";
|
|
6
6
|
import {
|
|
7
7
|
loadUndici
|
|
8
8
|
} from "./chunk-AZMVJ5C3.js";
|
|
@@ -10,16 +10,16 @@ import {
|
|
|
10
10
|
CUSTOM_SANDBOX_IMAGE_ENV_VAR,
|
|
11
11
|
HOST_UPDATE_RELAUNCH_ENV_VAR,
|
|
12
12
|
SKIP_UPDATE_CHECK_ENV_VAR
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WNJA3CH5.js";
|
|
14
14
|
import {
|
|
15
15
|
IdeClient
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-YBJ5CGLV.js";
|
|
17
17
|
import {
|
|
18
18
|
initializeTelemetry
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-EB4VOVOS.js";
|
|
20
20
|
import {
|
|
21
21
|
getAllProviderBaseUrls
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-3YQSW6GV.js";
|
|
23
23
|
import {
|
|
24
24
|
recordStartupEvent
|
|
25
25
|
} from "./chunk-YQLAMZOT.js";
|
|
@@ -233,9 +233,9 @@ function startPostRenderPrefetches(config, settings, options = {}) {
|
|
|
233
233
|
{ updateEventEmitter },
|
|
234
234
|
{ t }
|
|
235
235
|
] = await Promise.all([
|
|
236
|
-
import("./updateCheck-
|
|
236
|
+
import("./updateCheck-KCVBGBBR.js"),
|
|
237
237
|
import("./updateEventEmitter-7FFRBWJB.js"),
|
|
238
|
-
import("./i18n-
|
|
238
|
+
import("./i18n-6U5NHFUK.js")
|
|
239
239
|
]);
|
|
240
240
|
const updateCheckSkippedMessage = /* @__PURE__ */ __name((error) => t("Update check skipped ({{reason}}) \u2014 run /update to retry.", {
|
|
241
241
|
reason: describeUpdateCheckFailure(error)
|
|
@@ -288,7 +288,7 @@ ${t(
|
|
|
288
288
|
state: "connecting"
|
|
289
289
|
});
|
|
290
290
|
try {
|
|
291
|
-
const { connectIdeForStartup } = await import("./initializer-
|
|
291
|
+
const { connectIdeForStartup } = await import("./initializer-4MDFZJVC.js");
|
|
292
292
|
await withTimeout(
|
|
293
293
|
connectIdeForStartup(config),
|
|
294
294
|
"ide_connect",
|
|
@@ -312,7 +312,7 @@ ${t(
|
|
|
312
312
|
}
|
|
313
313
|
if (config.isInteractive()) {
|
|
314
314
|
runDeferredTask("background_housekeeping", async () => {
|
|
315
|
-
const { startBackgroundHousekeeping } = await import("./scheduler-
|
|
315
|
+
const { startBackgroundHousekeeping } = await import("./scheduler-ESB6OTOV.js");
|
|
316
316
|
startBackgroundHousekeeping(config, settings);
|
|
317
317
|
});
|
|
318
318
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import {
|
|
4
4
|
captureRuntimeFileVersion,
|
|
5
5
|
writeRuntimeFile
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GAFJTGDP.js";
|
|
7
7
|
import {
|
|
8
8
|
checkTeamMemorySecrets
|
|
9
9
|
} from "./chunk-ZMZRVR62.js";
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
detectLineEnding,
|
|
16
16
|
getDiffStat,
|
|
17
17
|
needsUtf8Bom
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-YBJ5CGLV.js";
|
|
19
19
|
import {
|
|
20
20
|
FileOperationEvent,
|
|
21
21
|
ReadFileTool,
|
|
22
22
|
getLanguageFromFilePath,
|
|
23
23
|
logFileOperation
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-BZYI5TLI.js";
|
|
25
25
|
import {
|
|
26
26
|
isAnyAutoMemPath,
|
|
27
27
|
isTeamAutoMemPath
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import {
|
|
4
4
|
captureRuntimeFileVersion,
|
|
5
5
|
writeRuntimeFile
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GAFJTGDP.js";
|
|
7
7
|
import {
|
|
8
8
|
checkTeamMemorySecrets
|
|
9
9
|
} from "./chunk-ZMZRVR62.js";
|
|
@@ -24,12 +24,12 @@ import {
|
|
|
24
24
|
detectLineEnding,
|
|
25
25
|
getDiffStat,
|
|
26
26
|
needsUtf8Bom
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-YBJ5CGLV.js";
|
|
28
28
|
import {
|
|
29
29
|
FileOperationEvent,
|
|
30
30
|
getLanguageFromFilePath,
|
|
31
31
|
logFileOperation
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-BZYI5TLI.js";
|
|
33
33
|
import {
|
|
34
34
|
isAnyAutoMemPath,
|
|
35
35
|
isTeamAutoMemPath
|