@qwen-code/qwen-code 0.22.2 → 0.22.3-nightly.20260829.e5cb60ad48
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/computer-use/SKILL.md +3 -3
- package/bundled/qc-helper/docs/configuration/settings.md +37 -36
- package/bundled/qc-helper/docs/features/channels/dws.md +2 -0
- package/bundled/qc-helper/docs/features/channels/overview.md +34 -3
- package/bundled/qc-helper/docs/features/code-review.md +3 -3
- package/bundled/qc-helper/docs/features/computer-use.md +2 -2
- package/bundled/qc-helper/docs/features/tool-use-summaries.md +1 -1
- package/bundled/qc-helper/docs/qwen-serve.md +1 -1
- package/bundled/review/SKILL.md +81 -31
- package/bundled/review/references/persistence.md +7 -3
- package/bundled/review/references/posting.md +10 -4
- package/chunks/{MaxSizedBox-X5FZSNAJ.js → MaxSizedBox-JK4LFKJ3.js} +36 -37
- package/chunks/{StandaloneSessionPicker-AVLI6VJP.js → StandaloneSessionPicker-UA2MQCCS.js} +54 -55
- package/chunks/{acpAgent-MXEAN54C.js → acpAgent-ZKIVHQKW.js} +276 -191
- package/chunks/{agent-PJIPDWHB.js → agent-Z3Q5C3RX.js} +27 -28
- package/chunks/{agent-headless-B4JVD7UK.js → agent-headless-BIVZ3KYZ.js} +27 -28
- package/chunks/{anthropicContentGenerator-HGMBACVE.js → anthropicContentGenerator-YVTB6QX7.js} +43 -47
- package/chunks/{artifact-tool-5YT4QF7Y.js → artifact-tool-XSMPHZBT.js} +9 -1
- package/chunks/{askUserQuestion-4SWJY65V.js → askUserQuestion-66I3U2QX.js} +29 -5
- package/chunks/{bridge-FKZTVIS3.js → bridge-KDQTHAR7.js} +40 -41
- package/chunks/{channel-management-service-X4AZ6IXX.js → channel-management-service-HQ6KDS7C.js} +6 -6
- package/chunks/{channel-settings-store-4UFCLBBG.js → channel-settings-store-X4WWBVYW.js} +50 -46
- package/chunks/{channel-worker-group-27HMGD5S.js → channel-worker-group-6NA6BBZV.js} +5 -5
- package/chunks/{channel-worker-manager-QEGX646Z.js → channel-worker-manager-NEZ2J6RK.js} +5 -5
- package/chunks/{channel-worker-supervisor-UEW2WWCC.js → channel-worker-supervisor-FKU7DIHJ.js} +4 -4
- package/chunks/{chunk-V2NDP3I4.js → chunk-2AEHQRY2.js} +1 -1
- package/chunks/{chunk-EOGELB3H.js → chunk-2SXSLSQE.js} +1 -1
- package/chunks/chunk-36LGBEM6.js +130 -0
- package/chunks/{chunk-2K6ORIHJ.js → chunk-3CAI35FS.js} +11 -11
- package/chunks/{chunk-H2WDGQ6D.js → chunk-3JXM2CVW.js} +1 -1
- package/chunks/{chunk-JSHHYW6T.js → chunk-3WJLDA3X.js} +3 -3
- package/chunks/{chunk-HVEYF6VT.js → chunk-3WK3QDNV.js} +1 -1
- package/chunks/{chunk-5XBFCMWD.js → chunk-3XKLXHGK.js} +17 -9
- package/chunks/{chunk-SFPGAQUL.js → chunk-42IDLQWS.js} +24 -18
- package/chunks/{chunk-KEKZFOL6.js → chunk-44LKG3IY.js} +1 -1
- package/chunks/{chunk-43GGFFLY.js → chunk-4K7KNVWH.js} +1 -1
- package/chunks/{chunk-F6FV3C5K.js → chunk-4NDLQAY2.js} +24 -272
- package/chunks/{chunk-VVW4ZNFY.js → chunk-4QHPPXK2.js} +15 -7
- package/chunks/chunk-4VQBQLIZ.js +293 -0
- package/chunks/{chunk-ZFKOCECU.js → chunk-5CALJAH7.js} +2 -2
- package/chunks/{chunk-F7TNAPZ4.js → chunk-5SBVOOA2.js} +5 -5
- package/chunks/{chunk-IK5BW3CS.js → chunk-5ZJL3AIV.js} +2 -2
- package/chunks/{chunk-OIVXBW3W.js → chunk-62GQFYID.js} +1 -1
- package/chunks/{chunk-BRVWYMKV.js → chunk-6MBXY6WM.js} +1 -1
- package/chunks/{chunk-77RG5SFQ.js → chunk-6XOIV7MI.js} +1 -1
- package/chunks/{chunk-KGJGEEVR.js → chunk-7FA2II6K.js} +10 -1
- package/chunks/chunk-7GUOXWPY.js +2597 -0
- package/chunks/chunk-7J6OTNGO.js +424 -0
- package/chunks/{chunk-DIMEPKCW.js → chunk-7S226YTK.js} +1 -1
- package/chunks/{chunk-XRSOI3DL.js → chunk-A3LWD5MK.js} +1 -1
- package/chunks/{chunk-FBSSIAAQ.js → chunk-AMLXTTJJ.js} +7 -7
- package/chunks/{chunk-Z7FLBQPR.js → chunk-ARF6IJHM.js} +7 -7
- package/chunks/{chunk-4CDSK5AZ.js → chunk-AYFA7MZV.js} +2 -2
- package/chunks/{chunk-4JWNNLPT.js → chunk-B42A5ZHA.js} +3 -3
- package/chunks/{chunk-3JGZSIDA.js → chunk-B466ZSHZ.js} +1 -1
- package/chunks/{chunk-L6BZRIUL.js → chunk-B5PHIJGI.js} +182 -4
- package/chunks/{chunk-KUX5D6DK.js → chunk-BFYGL2XL.js} +11383 -11020
- package/chunks/{chunk-W5MJJ2V7.js → chunk-BIJEBAAQ.js} +1 -1
- package/chunks/{chunk-3I6UTTDX.js → chunk-BKWNKLZB.js} +19 -19
- package/chunks/{chunk-3FDFA4MZ.js → chunk-BOWFGCEU.js} +1 -1
- package/chunks/{chunk-F5SZP77N.js → chunk-BP5PTNCU.js} +79 -71
- package/chunks/{chunk-3AFMQUTI.js → chunk-C2X7KY45.js} +1 -1
- package/chunks/{chunk-FDY5RMGH.js → chunk-CFJY4DGX.js} +1 -1
- package/chunks/{chunk-LDP5OD6N.js → chunk-CLWO3B77.js} +2 -2
- package/chunks/{chunk-L6YT5H34.js → chunk-CVUBULIX.js} +4 -4
- package/chunks/{chunk-JU4EEXC7.js → chunk-CWQZUDB7.js} +2 -2
- package/chunks/chunk-DJBQCO2E.js +842 -0
- package/chunks/{chunk-4J657AJR.js → chunk-DJECZIJX.js} +40 -40
- package/chunks/{chunk-RUGNCYNO.js → chunk-DMLVSW7L.js} +532 -22
- package/chunks/{chunk-4FTKQNWJ.js → chunk-DYXFD5RO.js} +181 -2
- package/chunks/{chunk-PDMJ3KGS.js → chunk-EB6QRGHM.js} +1 -1
- package/chunks/{chunk-TGWAQ5RB.js → chunk-ECE3UYVO.js} +4704 -5894
- package/chunks/{chunk-5O72BNDD.js → chunk-F5RB4S23.js} +7 -7
- package/chunks/{chunk-IJKTMLBE.js → chunk-FIKYKQOO.js} +1 -1
- package/chunks/{chunk-BNMF3K5X.js → chunk-FKET6VOO.js} +52 -36
- package/chunks/{chunk-Z7TGYN5F.js → chunk-FROAFEFB.js} +2 -2
- package/chunks/{chunk-MZS7GEC7.js → chunk-FTF2YIZ5.js} +1 -1
- package/chunks/{chunk-Z7VOMGDC.js → chunk-FTJMWDND.js} +0 -24
- package/chunks/{chunk-43UYNAWX.js → chunk-G6FECKTJ.js} +2 -2
- package/chunks/{chunk-7UYV53BC.js → chunk-GIHXH2KO.js} +1 -1
- package/chunks/{chunk-V4QXXQJ2.js → chunk-H4LCV44K.js} +2 -2
- package/chunks/{chunk-LXIBMVRN.js → chunk-H5WQZTAW.js} +13 -7
- package/chunks/{chunk-Z4X5MTRT.js → chunk-HCOBAG2L.js} +2 -4
- package/chunks/{chunk-RJC5EIKY.js → chunk-HHQJANFM.js} +3 -3
- package/chunks/{chunk-7JPW6IYH.js → chunk-HVC3PNVC.js} +1 -1
- package/chunks/{chunk-TRZTNIQ6.js → chunk-I6LYRJPB.js} +2 -2
- package/chunks/{chunk-E55H6BZ7.js → chunk-ICURCKIU.js} +1335 -119
- package/chunks/{chunk-66KDY3LV.js → chunk-IJMEPQ5N.js} +2 -2
- package/chunks/{chunk-4HV6HH33.js → chunk-ISKH4QX3.js} +9 -9
- package/chunks/{chunk-6CGL7E7G.js → chunk-IZDKYNKN.js} +2 -2
- package/chunks/{chunk-A7YP63XN.js → chunk-J7SS77YW.js} +5 -5
- package/chunks/{chunk-XDFHY4R3.js → chunk-JCMS65DJ.js} +2 -2
- package/chunks/{chunk-6LFJEACX.js → chunk-JHDPOPQG.js} +7 -7
- package/chunks/{chunk-WKK5BQNP.js → chunk-JHYH6PYQ.js} +43 -420
- package/chunks/{chunk-PFCQ62V4.js → chunk-JWDMKJG5.js} +6 -6
- package/chunks/{chunk-6IUNAPLR.js → chunk-K5KXUXWC.js} +1 -1
- package/chunks/{chunk-Y6LSMB6J.js → chunk-K6CTN5TU.js} +1 -1
- package/chunks/{chunk-G34IR3D6.js → chunk-KEIMKAM4.js} +26 -109
- package/chunks/{chunk-JHS74YAB.js → chunk-KID24ZFN.js} +1 -1
- package/chunks/{chunk-EFUM7RVY.js → chunk-KJO2LBUK.js} +942 -16
- package/chunks/{chunk-B7CDU2SL.js → chunk-KYWTPLBJ.js} +17 -20
- package/chunks/chunk-LGO7DEXL.js +1186 -0
- package/chunks/{chunk-P2SU6ZTI.js → chunk-LUEHOUHM.js} +1 -1
- package/chunks/{chunk-P5GGM4KS.js → chunk-MAQ2W4IF.js} +3 -3
- package/chunks/{chunk-RIEFGNTP.js → chunk-MVDPFLWM.js} +207 -43
- package/chunks/{chunk-5PA6UEYA.js → chunk-MZCJWS5Y.js} +1 -1
- package/chunks/{chunk-BGXZBI5B.js → chunk-N4X7G4J2.js} +2 -1
- package/chunks/{chunk-BBWV7ONL.js → chunk-NEBSNUMX.js} +6 -6
- package/chunks/{chunk-3SGB2UHX.js → chunk-NENQE7VH.js} +23 -11
- package/chunks/{chunk-SJ3ZUWFK.js → chunk-NHDNYMBU.js} +4 -4
- package/chunks/{chunk-K2NQPH5D.js → chunk-OJEMXKA4.js} +3 -3
- package/chunks/{chunk-QP4C6WCE.js → chunk-PI6HYGBE.js} +2 -2
- package/chunks/{chunk-OIP7C4FE.js → chunk-PO6YCWIQ.js} +4 -4
- package/chunks/{chunk-SAH4BD2J.js → chunk-PQEISIKS.js} +67 -0
- package/chunks/{chunk-4MQEPP3Y.js → chunk-PQZBDDNG.js} +5 -119
- package/chunks/{chunk-SMPR7SPO.js → chunk-QJNDUTOL.js} +45 -239
- package/chunks/{chunk-L2M46FP5.js → chunk-QYMAKPY5.js} +5 -5
- package/chunks/{chunk-JVPFTDBK.js → chunk-RFIDDFAL.js} +1 -1
- package/chunks/{chunk-JSC3H3TD.js → chunk-RZKOA4JE.js} +14 -6
- package/chunks/{chunk-CPGJJJLU.js → chunk-SEDFP3ZI.js} +1 -1
- package/chunks/chunk-SEONHUS3.js +275 -0
- package/chunks/{chunk-ZGXYO7DY.js → chunk-SS4MRMKE.js} +122 -13
- package/chunks/{chunk-T32W2JHI.js → chunk-SS5SDCD3.js} +2 -2
- package/chunks/{chunk-MIIVI25Q.js → chunk-ST5V3ZOC.js} +2 -2
- package/chunks/{chunk-4K7NQDCG.js → chunk-T4EFG2P5.js} +18 -9
- package/chunks/{chunk-TWSKM647.js → chunk-T7KMERIX.js} +1 -1
- package/chunks/{chunk-BAJKAAOY.js → chunk-TGJ2PKCW.js} +4315 -1386
- package/chunks/{chunk-6LFTG244.js → chunk-TU6WVK67.js} +15 -5
- package/chunks/{chunk-T3WXYEZ4.js → chunk-U54AYGEC.js} +38 -5
- package/chunks/{chunk-CSMI4FP5.js → chunk-UAOTD2BN.js} +1 -1
- package/chunks/{chunk-CCBZDVUA.js → chunk-UI4DXRZW.js} +33 -20
- package/chunks/{chunk-JCQD3INC.js → chunk-URE3QBBB.js} +1 -1
- package/chunks/chunk-UVY67MSH.js +205 -0
- package/chunks/{chunk-Y3QL45LS.js → chunk-V4264FEG.js} +8 -8
- package/chunks/{chunk-R4PMVSR5.js → chunk-VBCPNIQD.js} +18 -20
- package/chunks/{chunk-Q26AYA62.js → chunk-VKCJPNGU.js} +2 -2
- package/chunks/{chunk-IOPCFOTF.js → chunk-VKIGT4OG.js} +2 -2
- package/chunks/{chunk-3DXFGHAJ.js → chunk-VNMZLAVG.js} +1 -1
- package/chunks/{chunk-FY76G3G5.js → chunk-W3CY4QIO.js} +4 -4
- package/chunks/{chunk-O2UN57NX.js → chunk-W4XG7IZ4.js} +19 -2
- package/chunks/{chunk-C6K43ZDE.js → chunk-W7HH77GN.js} +5 -5
- package/chunks/{chunk-2NYCN6F2.js → chunk-WD3WSEW3.js} +43 -26
- package/chunks/chunk-WLEYH7CD.js +332 -0
- package/chunks/{chunk-PKAYJDB3.js → chunk-WNPDGUJO.js} +21 -2
- package/chunks/{chunk-IZIVM7LZ.js → chunk-WXEA74YB.js} +1 -1
- package/chunks/{chunk-YRLW2MSX.js → chunk-XBVNNDPK.js} +11 -4
- package/chunks/{chunk-HVQ3B7FF.js → chunk-Y5S7LBOZ.js} +43 -6
- package/chunks/{chunk-AGR5UROZ.js → chunk-YN44TEOZ.js} +17 -29
- package/chunks/{chunk-DZWPESIF.js → chunk-Z44FUM77.js} +3 -3
- package/chunks/{chunk-XDLEZ5HX.js → chunk-ZZUKP7HV.js} +1 -1
- package/chunks/{config-utils-BBOCOGZW.js → config-utils-NOCNFTQP.js} +42 -41
- package/chunks/{contextCommand-EET67MQ2.js → contextCommand-DH2NOQBI.js} +39 -40
- package/chunks/{core-runtime-677KFX6Q.js → core-runtime-OLW4OXMV.js} +43 -44
- package/chunks/{create-sub-session-JKZAYZX7.js → create-sub-session-ZCGPQTIE.js} +37 -38
- package/chunks/{daemon-MJQUO7RA.js → daemon-3GNHB3M2.js} +495 -7
- package/chunks/{daemon-git-worktree-guard-6MVAAZZZ.js → daemon-git-worktree-guard-SHIU7MPJ.js} +36 -37
- package/chunks/{daemon-status-provider-RFKZOK3S.js → daemon-status-provider-WECDBDF7.js} +45 -46
- package/chunks/{daemon-trust-policy-DRZPFB4Q.js → daemon-trust-policy-MX4OYXF3.js} +44 -45
- package/chunks/{daemon-trust-policy-monitor-B5U6TQX5.js → daemon-trust-policy-monitor-73WXIKNL.js} +44 -45
- package/chunks/{deferred-core-runtime-BBVIOP24.js → deferred-core-runtime-BKS7O3D6.js} +36 -37
- package/chunks/{dist-DJBNNPLN.js → dist-4WXLCBDR.js} +1 -1
- package/chunks/{dist-TJUDJTCB.js → dist-5VXFRTWU.js} +280 -48
- package/chunks/{dist-QODVOVWI.js → dist-6BPYWHVD.js} +31 -30
- package/chunks/{dist-ZBVOXSKF.js → dist-GFN5DCBX.js} +74 -65
- package/chunks/{dist-SATKXKUR.js → dist-HZNT6GQS.js} +1 -1
- package/chunks/{dist-ILDBUWDB.js → dist-LVZCXVPF.js} +1 -1
- package/chunks/{dist-7CKN54NL.js → dist-N6W6E753.js} +71 -64
- package/chunks/{dist-4Q7NTUNB.js → dist-NSV4NBPK.js} +31 -14
- package/chunks/{dist-UQUFZDIY.js → dist-SWQMYP2Q.js} +18 -16
- package/chunks/{earlyInputCapture-2JOMMNQ4.js → earlyInputCapture-5NNZSVL7.js} +36 -37
- package/chunks/{edit-BSV6YRVW.js → edit-IGHPT4I2.js} +27 -28
- package/chunks/{enter-worktree-MQXFFPKM.js → enter-worktree-35QCAAFP.js} +3 -3
- package/chunks/{enterPlanMode-PKNF35FE.js → enterPlanMode-LVTPJSAA.js} +32 -33
- package/chunks/{environment-MOZMPUHR.js → environment-HC2PPYDO.js} +40 -41
- package/chunks/{errors-DMPQVYJL.js → errors-VCWSG25A.js} +39 -40
- package/chunks/{exit-worktree-L344UY7K.js → exit-worktree-XQD6D543.js} +3 -3
- package/chunks/{exitPlanMode-UE4FGCY4.js → exitPlanMode-RHI2K2O7.js} +27 -28
- package/chunks/{fast-path-773PV7PU.js → fast-path-IQNCJOPE.js} +4 -4
- package/chunks/{fast-path-settings-XMFBYFUH.js → fast-path-settings-XH426LUU.js} +3 -3
- package/chunks/{glob-CZHOWUEA.js → glob-EANAXPNR.js} +27 -28
- package/chunks/{goal-tools-YZQJXTGH.js → goal-tools-PTD3MBA7.js} +2 -1
- package/chunks/{grep-5GPICQBU.js → grep-3REG7TO6.js} +4 -2
- package/chunks/{handleAutoUpdate-SGXKTQM6.js → handleAutoUpdate-PVVFLDQ4.js} +41 -42
- package/chunks/{i18n-B42HKHKH.js → i18n-VOKX5QIF.js} +38 -39
- package/chunks/{image-gen-HAYOEQ4O.js → image-gen-J6FDGUZP.js} +4 -6
- package/chunks/{initializer-FB66WYR3.js → initializer-SZVVTGZL.js} +44 -45
- package/chunks/{installationInfo-Y7AULNMX.js → installationInfo-R22453J5.js} +37 -38
- package/chunks/{list-2HWGSVRA.js → list-LK5M5W2N.js} +47 -48
- package/chunks/{gemini-IP4FJAP5.js → llm-6RQJUVIS.js} +89 -85
- package/chunks/{geminiContentGenerator-PUNEBWJW.js → llm-content-generator-Q7JJDSJR.js} +25 -25
- package/chunks/{loadedSettingsAdapter-7Y7IEI6T.js → loadedSettingsAdapter-KF2ZPSPG.js} +44 -45
- package/chunks/{loggingContentGenerator-2GGZNGLG.js → loggingContentGenerator-SBCIJG2J.js} +307 -27
- package/chunks/{managed-npm-update-5TEV2E3J.js → managed-npm-update-UG324XFY.js} +37 -38
- package/chunks/{mcp-QGG5NMJJ.js → mcp-PUSCFGS5.js} +44 -45
- package/chunks/{monitor-FI7PY36Z.js → monitor-RJW5AP64.js} +27 -28
- package/chunks/{nonInteractiveCli-4LO2TL72.js → nonInteractiveCli-OIXN4WSR.js} +82 -81
- package/chunks/{notebook-edit-TPGMGBST.js → notebook-edit-5MWEIMS2.js} +27 -28
- package/chunks/{open-with-auth-4UI3KHUR.js → open-with-auth-YN3QZHVM.js} +1 -1
- package/chunks/{openaiContentGenerator-SUCYANUZ.js → openaiContentGenerator-AGTNYSCJ.js} +13 -15
- package/chunks/{pidfile-JMF2CLMY.js → pidfile-LTA6NT3P.js} +36 -37
- package/chunks/process-registry-OAEG6WGC.js +662 -0
- package/chunks/{processUtils-IQZBYWSB.js → processUtils-GY3Q66CJ.js} +2 -2
- package/chunks/{prompt-terminal-ledger-DCZO6S7C.js → prompt-terminal-ledger-3QS6TCMF.js} +37 -38
- package/chunks/{qwenContentGenerator-J4TXFGJT.js → qwenContentGenerator-NU6PCDA7.js} +31 -32
- package/chunks/{qwenOAuth2-RF33DNZW.js → qwenOAuth2-OF5WRBQT.js} +4 -6
- package/chunks/{read-file-QE2B5FTX.js → read-file-DTQL5V62.js} +5 -5
- package/chunks/{record-artifact-RZGZBENU.js → record-artifact-VW23GS4F.js} +2 -2
- package/chunks/{report-findings-Q3SYKKW5.js → report-findings-AO5VYFLR.js} +7 -3
- package/chunks/{resumeHistoryUtils-CZ4JRDVW.js → resumeHistoryUtils-PZ4BER55.js} +40 -41
- package/chunks/{ripGrep-R6B6HWPX.js → ripGrep-A2FGBZGY.js} +7 -7
- package/chunks/{run-qwen-serve-TPHZMSXJ.js → run-qwen-serve-AESOSKFC.js} +271 -86
- package/chunks/{runtime-TTIGSBM4.js → runtime-YQHSEKG4.js} +49 -50
- package/chunks/{scheduled-tasks-QB4ZVUQS.js → scheduled-tasks-XG6KK6NY.js} +42 -43
- package/chunks/{scheduler-YRUG22M7.js → scheduler-I4WKXWRZ.js} +38 -39
- package/chunks/{sdk-exporters-http-KCJ4ZFG7.js → sdk-exporters-http-TTU2CHBU.js} +1 -1
- package/chunks/{sdk-impl-HLSEDAEP.js → sdk-impl-UUMVYMAL.js} +10 -4
- package/chunks/{send-message-Y5I6NYAM.js → send-message-AJ4OCUBV.js} +18 -2
- package/chunks/{serve-MXXCDAQN.js → serve-MQDTVC7X.js} +44 -45
- package/chunks/{server-DFUSSSHI.js → server-L5ETIKEW.js} +4153 -3351
- package/chunks/{session-3TEHNENZ.js → session-LKKXRUJM.js} +87 -86
- package/chunks/session-pr-refresh-5OWA6MC2.js +365 -0
- package/chunks/{settings-VOZYKLTT.js → settings-S6KG7JST.js} +43 -44
- package/chunks/{shell-6RTKZVMI.js → shell-JEQE5AHC.js} +27 -28
- package/chunks/{skill-FEOKFX26.js → skill-QEGMZXKI.js} +58 -14
- package/chunks/{skill-settings-VA4XVYVL.js → skill-settings-EVY7QF4H.js} +44 -45
- package/chunks/{spawnChannel-F6WVP723.js → spawnChannel-AQP72WPN.js} +38 -39
- package/chunks/{standalone-update-RGILUQVK.js → standalone-update-JUJA4BKV.js} +39 -40
- package/chunks/{startInteractiveUI-WHJPFOGH.js → startInteractiveUI-5ZMSJZ3J.js} +408 -338
- package/chunks/{stdioHelpers-7A2EE64Z.js → stdioHelpers-AY6XCDY2.js} +3 -1
- package/chunks/{task-create-TMSV7RD5.js → task-create-QN4LYRSE.js} +3 -3
- package/chunks/{task-list-W55RBFRX.js → task-list-JPLGK45U.js} +2 -2
- package/chunks/{task-update-N536I4GQ.js → task-update-IWEOJFV2.js} +3 -3
- package/chunks/{team-create-QYSWCYCL.js → team-create-ZEGP7KVD.js} +27 -28
- package/chunks/{team-delete-FJRFX33M.js → team-delete-RZVVSGCY.js} +2 -2
- package/chunks/{team-plan-approval-P7DAD644.js → team-plan-approval-SXWT2WZN.js} +27 -28
- package/chunks/{terminal-image-renderer-SMQE46UJ.js → terminal-image-renderer-42B6N55E.js} +36 -37
- package/chunks/{theme-manager-RFO5WWFF.js → theme-manager-DDYUBC25.js} +36 -37
- package/chunks/{tool-search-F2EMIAPV.js → tool-search-GDDBA4X4.js} +9 -9
- package/chunks/{total-session-admission-HTVTP4BS.js → total-session-admission-6MYP4GBA.js} +40 -41
- package/chunks/{trustedFolders-7OCNMUQE.js → trustedFolders-LPEIY3GE.js} +38 -39
- package/chunks/{types-WYCFCEHR.js → types-HKLPXZB3.js} +1 -3
- package/chunks/{update-relaunch-4GF3OXMB.js → update-relaunch-BOIIZNT3.js} +6 -6
- package/chunks/{updateCheck-7QBDXZRT.js → updateCheck-KSVHYJYE.js} +40 -41
- package/chunks/{useAutoAcceptIndicator-UI4SNL2O.js → useAutoAcceptIndicator-43D2A4ZN.js} +46 -47
- package/chunks/{validateNonInterActiveAuth-BPPA563H.js → validateNonInterActiveAuth-WSD4SOIM.js} +79 -78
- package/chunks/{version-ANP4TS6O.js → version-B4CM7RNG.js} +1 -1
- package/chunks/{web-fetch-QJADSAH3.js → web-fetch-MOHILUZL.js} +8 -10
- package/chunks/{web-search-7TTQKEKM.js → web-search-G4HIMY2V.js} +5 -7
- package/chunks/{web-shell-static-A6QMUNNV.js → web-shell-static-HNB4FDOE.js} +2 -2
- package/chunks/{workflow-5XN6XSOT.js → workflow-H3PCYU5F.js} +50 -60
- package/chunks/{workspace-providers-status-PDFZWL5Q.js → workspace-providers-status-AAX7VWMT.js} +48 -49
- package/chunks/{workspace-registration-store-XKVW2YVH.js → workspace-registration-store-YTHZ6SL4.js} +1 -1
- package/chunks/{workspace-registry-23R7XRB5.js → workspace-registry-URHGBL4U.js} +40 -41
- package/chunks/{workspace-service-MUYO2QIC.js → workspace-service-XJMSLRCU.js} +49 -53
- package/chunks/{workspace-skills-status-IKECTOOQ.js → workspace-skills-status-JGEDANNT.js} +47 -48
- package/chunks/{workspace-trust-reconciler-KLGOB53D.js → workspace-trust-reconciler-ZHI5TDYB.js} +48 -49
- package/chunks/{write-file-GGRBB5TZ.js → write-file-5O4S63L6.js} +29 -30
- package/chunks/{zoom-image-6ASG6J4C.js → zoom-image-N2IBUVXE.js} +5 -5
- package/cli.js +128 -91
- package/package.json +3 -3
- package/web-shell/assets/{abnfDiagram-VCTEODGH-uS-vtfs3.js → abnfDiagram-VCTEODGH-OJQpqC9m.js} +1 -1
- package/web-shell/assets/{arc-BSTnk5pu.js → arc-BxH0YR17.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-DCMyiqzy.js → architectureDiagram-5GKGNRK7-CxyWiGfF.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-C7_gt0r1.js → blockDiagram-NRAW4CY4-DukXbJQ7.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-BeQg2L8B.js → c4Diagram-UCG6FXSJ-DvS1T6pK.js} +1 -1
- package/web-shell/assets/channel-Dbbg7P-u.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-DnV9bKBe.js → chunk-2Q5K7J3B-qvqfJ7VZ.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-rT1GAcT7.js → chunk-5VM5RSS4-BJ3kJYte.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-BcgSxqGA.js → chunk-F27PBJKO-BYPVESil.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-Bw1ZhyZq.js → chunk-G27WJ6UU-B4UYFElk.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-D4iDw-96.js → chunk-JWPE2WC7-8zGKVNUU.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-D3MB3GTZ.js → chunk-LCL6LL3I-CbaHONpI.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-Cep2ndrS.js → chunk-POPQ4Y6H-f8kAjzlF.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-BuahMHJc.js → chunk-SVP7TREG-Dm8ahq7K.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-BdujIvJY.js → chunk-XXDRQBXY-yrcLzv8z.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-cDYs8iT0.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-cDYs8iT0.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-CGLLUbF8.js → cose-bilkent-JH36ORCC-DN1C22IH.js} +1 -1
- package/web-shell/assets/{cynefin-OW5HDTMX-D6kDsRSh.js → cynefin-OW5HDTMX-B2oF7XD_.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-CCy78qZx.js → cynefinDiagram-5FMLGOSQ-DGgIKpiM.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-D5gJuJsf.js → dagre-3AP2YEHR-BHKawzoP.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-ZwEZ5W__.js → diagram-S7CK7UJ4-6UgKqreR.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-B036APjv.js → diagram-UQ7AKVKN-BXJbPJ6F.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-BfDJ57Fq.js → diagram-VSXAHHWV-DVnYFPkS.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-Wha0p5rT.js → diagram-VX7I27RA-CjBoC0Rq.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-L20bz2K1.js → diagram-Z3DM3KII-KZdUceQT.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-D1ZM0Cp7.js → ebnfDiagram-PWID7BFC-5UekGScM.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-CMtA19v8.js → erDiagram-SSCWMZ5O-TRWexoj1.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-D96m326S.js → flowDiagram-A5DVABFB-Di5bhBVo.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-BuHiYG2o.js → ganttDiagram-EL5Y4UJY-DpJUJ8Dp.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-Ck3NmkSw.js → gitGraphDiagram-WWUBYQGX-b08xIx2C.js} +1 -1
- package/web-shell/assets/index-BvDpDHTN.css +36 -0
- package/web-shell/assets/index-Cg60lhnI.js +1913 -0
- package/web-shell/assets/{index-CBGz4Qjl.js → index-n6dFH09O.js} +1 -1
- package/web-shell/assets/{infoDiagram-RXCK75RN-B6DAOyXe.js → infoDiagram-RXCK75RN-Cz14FAt7.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-Bpg-joFo.js → ishikawaDiagram-5VMMS53U-7nxp2bIU.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-BclrHzGa.js → journeyDiagram-EYS64GPL-CjL47fk0.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-5gJzNTYG.js → kanban-definition-3QL26DDD-CWFl-mHs.js} +1 -1
- package/web-shell/assets/{layout-CEz_1L8z.js → layout-BUP1BcwB.js} +1 -1
- package/web-shell/assets/{linear-CBjTq9Hc.js → linear-CqbwqSbW.js} +1 -1
- package/web-shell/assets/{mermaid.core-Dzhbxx_I.js → mermaid.core-C_50HLol.js} +6 -6
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-DQdVqlBF.js → mindmap-definition-FBJOCRG2-DbyD_AoU.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-D1JZlYXL.js → pegDiagram-XKGWAZYB-VozWyqyY.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-BmkpYL0w.js → pieDiagram-E7YTZNPT-O7EKamBL.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-DRvD6co5.js → quadrantDiagram-AXDQQJYC-DOmPZxHg.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-CEdjDuoo.js → railroadDiagram-O6MQD6OU-ElyfC2zE.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-BCHG-ie8.js → requirementDiagram-EFPCY7ZU-DbnqPbzR.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-C9cZMnye.js → sankeyDiagram-P5KCCOFB-yPWliSHr.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-DYHRV4zL.js → sequenceDiagram-WJ2MYXX4-BImQFomC.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-DlK21aye.js → sizeCapture-X5ZJPWSS-DEvqeEHo.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-BrmZssvk.js → stateDiagram-HBIQ2CUA-BbLtiF9u.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-DGtlzdpx.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-D9xfcayR.js → swimlanes-XN3QIQJK-RFewDF6v.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-CITCVFdx.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-D4gdDL_d.js → timeline-definition-24CTP7MA-DF4L3-UR.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-DdhIExjI.js → vennDiagram-4TSXK5OY-BtlSJXaA.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-C9RS_Zof.js → wardleyDiagram-VM6X3IG4-C8ogG8Fh.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-orRgmxWk.js → xychartDiagram-S5SC5T6Z-C5QVfsGQ.js} +1 -1
- package/web-shell/index.html +3 -3
- package/chunks/chunk-7DJCPZE3.js +0 -945
- package/chunks/chunk-J2OSJFP3.js +0 -202
- package/chunks/chunk-K2OJUPOE.js +0 -78
- package/chunks/chunk-P3QQPMQA.js +0 -19
- package/chunks/chunk-T26EAKDL.js +0 -13
- package/chunks/process-registry-PMJOA5CO.js +0 -172
- package/web-shell/assets/channel-CENAhErJ.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-CM6FArGH.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-CM6FArGH.js +0 -1
- package/web-shell/assets/index-8hXIpvo4.js +0 -1865
- package/web-shell/assets/index-DclEv91i.css +0 -5
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-B2Q7XDaE.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-DpZPOSbX.js +0 -8
|
@@ -2,95 +2,94 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
createLoadedSettingsAdapter
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-SEDFP3ZI.js";
|
|
6
|
+
import "./chunk-5SBVOOA2.js";
|
|
7
7
|
import "./chunk-RKUWKYED.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-RZKOA4JE.js";
|
|
9
9
|
import "./chunk-GOXKNSDZ.js";
|
|
10
10
|
import "./chunk-IDS7MSUP.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-CLWO3B77.js";
|
|
12
12
|
import "./chunk-5EJZE3FP.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-5ZJL3AIV.js";
|
|
14
|
+
import "./chunk-MZCJWS5Y.js";
|
|
15
|
+
import "./chunk-H4LCV44K.js";
|
|
16
16
|
import "./chunk-NPQ5ZKRP.js";
|
|
17
17
|
import "./chunk-MR3PXB6E.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-BFYGL2XL.js";
|
|
19
|
+
import "./chunk-VNMZLAVG.js";
|
|
20
20
|
import "./chunk-CQH5KTKC.js";
|
|
21
21
|
import "./chunk-LJZSMWOH.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-TU6WVK67.js";
|
|
23
|
+
import "./chunk-WNPDGUJO.js";
|
|
24
|
+
import "./chunk-K5KXUXWC.js";
|
|
25
|
+
import "./chunk-62GQFYID.js";
|
|
26
|
+
import "./chunk-AYFA7MZV.js";
|
|
27
27
|
import "./chunk-XQFT3QUF.js";
|
|
28
28
|
import "./chunk-VTHREBQM.js";
|
|
29
29
|
import "./chunk-ZPJWUGCS.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-3JXM2CVW.js";
|
|
31
|
+
import "./chunk-ST5V3ZOC.js";
|
|
32
|
+
import "./chunk-ECE3UYVO.js";
|
|
33
33
|
import "./chunk-GOFAQQZA.js";
|
|
34
34
|
import "./chunk-5M6IDOMF.js";
|
|
35
35
|
import "./chunk-TWPJO254.js";
|
|
36
36
|
import "./chunk-CQ35AJ4Z.js";
|
|
37
37
|
import "./chunk-EKSCLBBF.js";
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-LUEHOUHM.js";
|
|
39
|
+
import "./chunk-WXEA74YB.js";
|
|
40
|
+
import "./chunk-42IDLQWS.js";
|
|
41
41
|
import "./chunk-6PVPNMXU.js";
|
|
42
42
|
import "./chunk-JB4JIVTJ.js";
|
|
43
|
+
import "./chunk-DJBQCO2E.js";
|
|
43
44
|
import "./chunk-IRH27ZC2.js";
|
|
44
45
|
import "./chunk-QHWCP53L.js";
|
|
45
46
|
import "./chunk-D5LUXLUH.js";
|
|
46
47
|
import "./chunk-O6GEWCJA.js";
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-LGO7DEXL.js";
|
|
49
|
+
import "./chunk-2SXSLSQE.js";
|
|
49
50
|
import "./chunk-CPBF7KYF.js";
|
|
50
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-KJO2LBUK.js";
|
|
51
52
|
import "./chunk-TTX2JUE6.js";
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-4K7KNVWH.js";
|
|
54
|
+
import "./chunk-QJNDUTOL.js";
|
|
55
|
+
import "./chunk-UVY67MSH.js";
|
|
54
56
|
import "./chunk-JWALNCLT.js";
|
|
55
57
|
import "./chunk-NIFYWDYN.js";
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-C2X7KY45.js";
|
|
59
|
+
import "./chunk-JHYH6PYQ.js";
|
|
60
|
+
import "./chunk-7J6OTNGO.js";
|
|
58
61
|
import "./chunk-V5J4J5TP.js";
|
|
59
62
|
import "./chunk-MLXTMF7H.js";
|
|
60
63
|
import "./chunk-NAVJD2PQ.js";
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
64
|
+
import "./chunk-B466ZSHZ.js";
|
|
65
|
+
import "./chunk-4QHPPXK2.js";
|
|
63
66
|
import "./chunk-QHMLYMMS.js";
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-P3QQPMQA.js";
|
|
66
|
-
import "./chunk-HVEYF6VT.js";
|
|
67
|
+
import "./chunk-3WK3QDNV.js";
|
|
67
68
|
import "./chunk-VNOVK4I7.js";
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
69
|
+
import "./chunk-PQEISIKS.js";
|
|
70
|
+
import "./chunk-EB6QRGHM.js";
|
|
70
71
|
import "./chunk-CMHFCLBU.js";
|
|
71
72
|
import "./chunk-S6LOFUVP.js";
|
|
73
|
+
import "./chunk-CFKIH3D3.js";
|
|
72
74
|
import "./chunk-2LD5U7Q3.js";
|
|
73
75
|
import "./chunk-DJ2GSRLV.js";
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-Y3QL45LS.js";
|
|
79
|
-
import "./chunk-L2M46FP5.js";
|
|
80
|
-
import "./chunk-YRLW2MSX.js";
|
|
76
|
+
import "./chunk-DYXFD5RO.js";
|
|
77
|
+
import "./chunk-V4264FEG.js";
|
|
78
|
+
import "./chunk-QYMAKPY5.js";
|
|
79
|
+
import "./chunk-XBVNNDPK.js";
|
|
81
80
|
import "./chunk-VGC4I5JJ.js";
|
|
82
|
-
import "./chunk-
|
|
81
|
+
import "./chunk-BKWNKLZB.js";
|
|
83
82
|
import "./chunk-6PJOTWAN.js";
|
|
84
83
|
import "./chunk-BWORX6FA.js";
|
|
85
84
|
import "./chunk-WZAD4ZNJ.js";
|
|
86
85
|
import "./chunk-FPGTNKCP.js";
|
|
87
86
|
import "./chunk-6DIGWMGT.js";
|
|
88
|
-
import "./chunk-
|
|
87
|
+
import "./chunk-ARF6IJHM.js";
|
|
89
88
|
import "./chunk-XZA32HII.js";
|
|
90
89
|
import "./chunk-23RFD54N.js";
|
|
91
90
|
import "./chunk-PPKZ7JOE.js";
|
|
92
91
|
import "./chunk-HHJLM3WQ.js";
|
|
93
|
-
import "./chunk-
|
|
92
|
+
import "./chunk-B5PHIJGI.js";
|
|
94
93
|
import "./chunk-74TONY4F.js";
|
|
95
94
|
import "./chunk-XF63PKEN.js";
|
|
96
95
|
import "./chunk-CAJTKR6W.js";
|
|
@@ -99,7 +98,7 @@ import "./chunk-AQ37AY7B.js";
|
|
|
99
98
|
import "./chunk-PDQGMSZK.js";
|
|
100
99
|
import "./chunk-UTLCH2FK.js";
|
|
101
100
|
import "./chunk-UHQFIS7N.js";
|
|
102
|
-
import "./chunk-
|
|
101
|
+
import "./chunk-7FA2II6K.js";
|
|
103
102
|
import "./chunk-75DOP5OR.js";
|
|
104
103
|
import "./chunk-DMTGGOSA.js";
|
|
105
104
|
import "./chunk-YQ3U5MUC.js";
|
|
@@ -2,18 +2,57 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
OpenAILogger
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ST5V3ZOC.js";
|
|
6
|
+
import {
|
|
7
|
+
computeThresholds,
|
|
8
|
+
estimateContentTokens,
|
|
9
|
+
estimateContextTextTokens
|
|
10
|
+
} from "./chunk-ECE3UYVO.js";
|
|
11
|
+
import "./chunk-GOFAQQZA.js";
|
|
12
|
+
import "./chunk-5M6IDOMF.js";
|
|
13
|
+
import "./chunk-TWPJO254.js";
|
|
14
|
+
import "./chunk-CQ35AJ4Z.js";
|
|
15
|
+
import "./chunk-EKSCLBBF.js";
|
|
16
|
+
import "./chunk-LUEHOUHM.js";
|
|
17
|
+
import "./chunk-WXEA74YB.js";
|
|
18
|
+
import "./chunk-42IDLQWS.js";
|
|
19
|
+
import "./chunk-6PVPNMXU.js";
|
|
20
|
+
import "./chunk-JB4JIVTJ.js";
|
|
21
|
+
import "./chunk-DJBQCO2E.js";
|
|
22
|
+
import "./chunk-IRH27ZC2.js";
|
|
23
|
+
import "./chunk-QHWCP53L.js";
|
|
24
|
+
import "./chunk-D5LUXLUH.js";
|
|
25
|
+
import "./chunk-O6GEWCJA.js";
|
|
26
|
+
import {
|
|
27
|
+
getCustomSystemPrompt
|
|
28
|
+
} from "./chunk-LGO7DEXL.js";
|
|
29
|
+
import "./chunk-2SXSLSQE.js";
|
|
30
|
+
import "./chunk-CPBF7KYF.js";
|
|
6
31
|
import {
|
|
7
32
|
areSensitiveSpanAttributesEnabled
|
|
8
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-KJO2LBUK.js";
|
|
34
|
+
import "./chunk-TTX2JUE6.js";
|
|
35
|
+
import "./chunk-4K7KNVWH.js";
|
|
36
|
+
import "./chunk-QJNDUTOL.js";
|
|
37
|
+
import "./chunk-UVY67MSH.js";
|
|
38
|
+
import "./chunk-JWALNCLT.js";
|
|
39
|
+
import "./chunk-NIFYWDYN.js";
|
|
40
|
+
import "./chunk-C2X7KY45.js";
|
|
41
|
+
import "./chunk-JHYH6PYQ.js";
|
|
42
|
+
import "./chunk-7J6OTNGO.js";
|
|
43
|
+
import "./chunk-V5J4J5TP.js";
|
|
44
|
+
import "./chunk-MLXTMF7H.js";
|
|
45
|
+
import "./chunk-NAVJD2PQ.js";
|
|
46
|
+
import "./chunk-B466ZSHZ.js";
|
|
9
47
|
import {
|
|
10
48
|
retryContext
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
49
|
+
} from "./chunk-4QHPPXK2.js";
|
|
50
|
+
import "./chunk-QHMLYMMS.js";
|
|
51
|
+
import "./chunk-3WK3QDNV.js";
|
|
13
52
|
import {
|
|
14
53
|
OpenAIContentConverter,
|
|
15
54
|
openaiRequestCaptureContext
|
|
16
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-DJECZIJX.js";
|
|
17
56
|
import {
|
|
18
57
|
getGenAiUsageProvenance
|
|
19
58
|
} from "./chunk-ABS25QER.js";
|
|
@@ -22,31 +61,39 @@ import {
|
|
|
22
61
|
} from "./chunk-VNOVK4I7.js";
|
|
23
62
|
import {
|
|
24
63
|
createGenAiExchange
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
64
|
+
} from "./chunk-KYWTPLBJ.js";
|
|
65
|
+
import "./chunk-PQEISIKS.js";
|
|
66
|
+
import "./chunk-EB6QRGHM.js";
|
|
67
|
+
import "./chunk-CMHFCLBU.js";
|
|
68
|
+
import "./chunk-S6LOFUVP.js";
|
|
27
69
|
import "./chunk-CFKIH3D3.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
70
|
+
import "./chunk-2LD5U7Q3.js";
|
|
71
|
+
import "./chunk-DJ2GSRLV.js";
|
|
72
|
+
import "./chunk-DYXFD5RO.js";
|
|
73
|
+
import "./chunk-V4264FEG.js";
|
|
30
74
|
import {
|
|
31
75
|
ApiErrorEvent,
|
|
32
76
|
ApiRequestEvent,
|
|
33
77
|
ApiResponseEvent,
|
|
78
|
+
DiscoveredMCPTool,
|
|
34
79
|
isInternalPromptId,
|
|
35
80
|
logApiError,
|
|
36
81
|
logApiRequest,
|
|
37
82
|
logApiResponse,
|
|
38
83
|
subagentIdentityContext,
|
|
39
84
|
subagentNameContext
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import "./chunk-
|
|
85
|
+
} from "./chunk-QYMAKPY5.js";
|
|
86
|
+
import "./chunk-XBVNNDPK.js";
|
|
42
87
|
import "./chunk-VGC4I5JJ.js";
|
|
43
|
-
import "./chunk-
|
|
88
|
+
import "./chunk-BKWNKLZB.js";
|
|
44
89
|
import "./chunk-6PJOTWAN.js";
|
|
45
90
|
import "./chunk-BWORX6FA.js";
|
|
46
91
|
import "./chunk-WZAD4ZNJ.js";
|
|
47
|
-
import
|
|
92
|
+
import {
|
|
93
|
+
DEFAULT_TOKEN_LIMIT
|
|
94
|
+
} from "./chunk-FPGTNKCP.js";
|
|
48
95
|
import "./chunk-6DIGWMGT.js";
|
|
49
|
-
import "./chunk-
|
|
96
|
+
import "./chunk-ARF6IJHM.js";
|
|
50
97
|
import "./chunk-XZA32HII.js";
|
|
51
98
|
import "./chunk-23RFD54N.js";
|
|
52
99
|
import "./chunk-PPKZ7JOE.js";
|
|
@@ -55,11 +102,21 @@ import {
|
|
|
55
102
|
API_CALL_ABORTED_SPAN_STATUS_MESSAGE,
|
|
56
103
|
API_CALL_FAILED_SPAN_STATUS_MESSAGE,
|
|
57
104
|
endLLMRequestSpan,
|
|
105
|
+
isTelemetrySdkInitialized,
|
|
106
|
+
isValidContextUsage,
|
|
58
107
|
startLLMRequestSpanWithContext
|
|
59
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-B5PHIJGI.js";
|
|
60
109
|
import "./chunk-74TONY4F.js";
|
|
61
110
|
import "./chunk-XF63PKEN.js";
|
|
62
|
-
import "./chunk-
|
|
111
|
+
import "./chunk-CAJTKR6W.js";
|
|
112
|
+
import {
|
|
113
|
+
buildSkillLlmContent
|
|
114
|
+
} from "./chunk-ZU4UDIWX.js";
|
|
115
|
+
import "./chunk-AQ37AY7B.js";
|
|
116
|
+
import "./chunk-PDQGMSZK.js";
|
|
117
|
+
import {
|
|
118
|
+
ToolNames
|
|
119
|
+
} from "./chunk-UTLCH2FK.js";
|
|
63
120
|
import {
|
|
64
121
|
createDebugLogger,
|
|
65
122
|
getErrorMessage,
|
|
@@ -95,6 +152,209 @@ init_esbuild_shims();
|
|
|
95
152
|
init_esbuild_shims();
|
|
96
153
|
init_esm();
|
|
97
154
|
|
|
155
|
+
// packages/core/src/core/loggingContentGenerator/context-usage-snapshot.ts
|
|
156
|
+
init_esbuild_shims();
|
|
157
|
+
import * as path from "node:path";
|
|
158
|
+
function toPart(part) {
|
|
159
|
+
return typeof part === "string" ? { text: part } : part;
|
|
160
|
+
}
|
|
161
|
+
__name(toPart, "toPart");
|
|
162
|
+
function toContent(content) {
|
|
163
|
+
if (Array.isArray(content)) {
|
|
164
|
+
return { role: "user", parts: content.map(toPart) };
|
|
165
|
+
}
|
|
166
|
+
if (typeof content === "string") {
|
|
167
|
+
return { role: "user", parts: [{ text: content }] };
|
|
168
|
+
}
|
|
169
|
+
if ("parts" in content) {
|
|
170
|
+
return {
|
|
171
|
+
...content,
|
|
172
|
+
parts: content.parts?.filter((part) => part != null).map(toPart) ?? []
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
return { role: "user", parts: [toPart(content)] };
|
|
176
|
+
}
|
|
177
|
+
__name(toContent, "toContent");
|
|
178
|
+
function toContents(contents) {
|
|
179
|
+
return Array.isArray(contents) ? contents.map((content) => toContent(content)) : [toContent(contents)];
|
|
180
|
+
}
|
|
181
|
+
__name(toContents, "toContents");
|
|
182
|
+
function requestFunctionDeclarations(request) {
|
|
183
|
+
const declarations = [];
|
|
184
|
+
for (const tool of request.config?.tools ?? []) {
|
|
185
|
+
if (typeof tool === "object" && tool !== null && "tool" in tool) {
|
|
186
|
+
return void 0;
|
|
187
|
+
}
|
|
188
|
+
if (typeof tool === "object" && tool !== null && "functionDeclarations" in tool && Array.isArray(tool.functionDeclarations)) {
|
|
189
|
+
declarations.push(...tool.functionDeclarations);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
return declarations;
|
|
193
|
+
}
|
|
194
|
+
__name(requestFunctionDeclarations, "requestFunctionDeclarations");
|
|
195
|
+
function estimateToolCategories(request, config) {
|
|
196
|
+
let builtinTools = 0;
|
|
197
|
+
let mcpTools = 0;
|
|
198
|
+
let skillTool = 0;
|
|
199
|
+
const registry = config.getToolRegistry();
|
|
200
|
+
const declarations = requestFunctionDeclarations(request);
|
|
201
|
+
if (!declarations) return void 0;
|
|
202
|
+
for (const declaration of declarations) {
|
|
203
|
+
const tokens = estimateContextTextTokens(JSON.stringify(declaration));
|
|
204
|
+
if (declaration.name === ToolNames.SKILL) {
|
|
205
|
+
skillTool += tokens;
|
|
206
|
+
} else if (declaration.name && registry.getTool(declaration.name) instanceof DiscoveredMCPTool) {
|
|
207
|
+
mcpTools += tokens;
|
|
208
|
+
} else {
|
|
209
|
+
builtinTools += tokens;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
return { builtinTools, mcpTools, skillTool };
|
|
213
|
+
}
|
|
214
|
+
__name(estimateToolCategories, "estimateToolCategories");
|
|
215
|
+
function extractMemoryTokens(systemInstruction, config) {
|
|
216
|
+
let remaining = systemInstruction;
|
|
217
|
+
let memoryTokens = 0;
|
|
218
|
+
for (const configured of [
|
|
219
|
+
config.getUserMemory(),
|
|
220
|
+
config.getAutoMemoryPrompt()
|
|
221
|
+
]) {
|
|
222
|
+
const segment = configured.trim();
|
|
223
|
+
if (!segment) continue;
|
|
224
|
+
const index = remaining.indexOf(segment);
|
|
225
|
+
if (index < 0) continue;
|
|
226
|
+
remaining = remaining.slice(0, index) + remaining.slice(index + segment.length);
|
|
227
|
+
memoryTokens += estimateContextTextTokens(segment);
|
|
228
|
+
}
|
|
229
|
+
return { systemInstruction: remaining, memoryTokens };
|
|
230
|
+
}
|
|
231
|
+
__name(extractMemoryTokens, "extractMemoryTokens");
|
|
232
|
+
function indexLoadedSkillBodies(outputs) {
|
|
233
|
+
const tokensByOutput = /* @__PURE__ */ new Map();
|
|
234
|
+
const outputByHeader = /* @__PURE__ */ new Map();
|
|
235
|
+
for (const output of outputs) {
|
|
236
|
+
if (tokensByOutput.has(output)) continue;
|
|
237
|
+
tokensByOutput.set(output, estimateContextTextTokens(output));
|
|
238
|
+
const lineEnd = output.indexOf("\n");
|
|
239
|
+
const header = lineEnd < 0 ? output : output.slice(0, lineEnd);
|
|
240
|
+
if (!outputByHeader.has(header)) {
|
|
241
|
+
outputByHeader.set(header, output);
|
|
242
|
+
} else if (outputByHeader.get(header) !== output) {
|
|
243
|
+
outputByHeader.set(header, void 0);
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
return { tokensByOutput, outputByHeader };
|
|
247
|
+
}
|
|
248
|
+
__name(indexLoadedSkillBodies, "indexLoadedSkillBodies");
|
|
249
|
+
function loadedSkillBodies(config) {
|
|
250
|
+
const skillTool = config.getToolRegistry().getTool(ToolNames.SKILL);
|
|
251
|
+
if (!skillTool || !("getLoadedSkillNames" in skillTool) || typeof skillTool.getLoadedSkillNames !== "function") {
|
|
252
|
+
return indexLoadedSkillBodies([]);
|
|
253
|
+
}
|
|
254
|
+
if ("getLoadedSkillContents" in skillTool && typeof skillTool.getLoadedSkillContents === "function") {
|
|
255
|
+
return indexLoadedSkillBodies(
|
|
256
|
+
skillTool.getLoadedSkillContents()
|
|
257
|
+
);
|
|
258
|
+
}
|
|
259
|
+
const cachedSkills = config.getSkillManager()?.getCachedSkills();
|
|
260
|
+
if (!cachedSkills) return indexLoadedSkillBodies([]);
|
|
261
|
+
const loadedNames = skillTool.getLoadedSkillNames();
|
|
262
|
+
const outputs = [];
|
|
263
|
+
for (const skill of cachedSkills) {
|
|
264
|
+
if (!loadedNames.has(skill.name)) continue;
|
|
265
|
+
outputs.push(
|
|
266
|
+
buildSkillLlmContent(path.dirname(skill.filePath), skill.body)
|
|
267
|
+
);
|
|
268
|
+
}
|
|
269
|
+
return indexLoadedSkillBodies(outputs);
|
|
270
|
+
}
|
|
271
|
+
__name(loadedSkillBodies, "loadedSkillBodies");
|
|
272
|
+
function attributeLoadedSkillBodies(contents, indexedBodies) {
|
|
273
|
+
if (indexedBodies.tokensByOutput.size === 0) {
|
|
274
|
+
return { contents, skillBodyTokens: 0 };
|
|
275
|
+
}
|
|
276
|
+
let skillBodyTokens = 0;
|
|
277
|
+
let contentsChanged = false;
|
|
278
|
+
const attributedContents = contents.map((content) => {
|
|
279
|
+
let partsChanged = false;
|
|
280
|
+
const parts = content.parts?.map((part) => {
|
|
281
|
+
const response = part.functionResponse;
|
|
282
|
+
const output = response?.response?.["output"];
|
|
283
|
+
if (response?.name !== ToolNames.SKILL || typeof output !== "string") {
|
|
284
|
+
return part;
|
|
285
|
+
}
|
|
286
|
+
let matchedOutput = output;
|
|
287
|
+
let tokens = indexedBodies.tokensByOutput.get(output);
|
|
288
|
+
if (tokens === void 0) {
|
|
289
|
+
const lineEnd = output.indexOf("\n");
|
|
290
|
+
const header = lineEnd < 0 ? output : output.slice(0, lineEnd);
|
|
291
|
+
const candidate = indexedBodies.outputByHeader.get(header);
|
|
292
|
+
if (candidate && output.startsWith(`${candidate}
|
|
293
|
+
`)) {
|
|
294
|
+
matchedOutput = candidate;
|
|
295
|
+
tokens = indexedBodies.tokensByOutput.get(candidate);
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
if (tokens === void 0) return part;
|
|
299
|
+
indexedBodies.tokensByOutput.delete(matchedOutput);
|
|
300
|
+
skillBodyTokens += tokens;
|
|
301
|
+
partsChanged = true;
|
|
302
|
+
return {
|
|
303
|
+
...part,
|
|
304
|
+
functionResponse: {
|
|
305
|
+
...response,
|
|
306
|
+
response: {
|
|
307
|
+
...response.response,
|
|
308
|
+
output: output.slice(matchedOutput.length)
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
};
|
|
312
|
+
});
|
|
313
|
+
if (!partsChanged) return content;
|
|
314
|
+
contentsChanged = true;
|
|
315
|
+
return { ...content, parts };
|
|
316
|
+
});
|
|
317
|
+
return {
|
|
318
|
+
contents: contentsChanged ? attributedContents : contents,
|
|
319
|
+
skillBodyTokens
|
|
320
|
+
};
|
|
321
|
+
}
|
|
322
|
+
__name(attributeLoadedSkillBodies, "attributeLoadedSkillBodies");
|
|
323
|
+
function createContextUsageSnapshot(request, config, contextWindowSize) {
|
|
324
|
+
if (!Number.isSafeInteger(contextWindowSize) || contextWindowSize <= 0) {
|
|
325
|
+
return void 0;
|
|
326
|
+
}
|
|
327
|
+
const systemText = getCustomSystemPrompt(request.config?.systemInstruction);
|
|
328
|
+
const memory = extractMemoryTokens(systemText, config);
|
|
329
|
+
const tools = estimateToolCategories(request, config);
|
|
330
|
+
if (!tools) return void 0;
|
|
331
|
+
const contents = toContents(request.contents);
|
|
332
|
+
const attributedSkills = attributeLoadedSkillBodies(
|
|
333
|
+
contents,
|
|
334
|
+
loadedSkillBodies(config)
|
|
335
|
+
);
|
|
336
|
+
const thresholds = computeThresholds(
|
|
337
|
+
contextWindowSize,
|
|
338
|
+
config.getAutoCompactThreshold()
|
|
339
|
+
);
|
|
340
|
+
const snapshot = {
|
|
341
|
+
version: 1,
|
|
342
|
+
window_size_tokens: contextWindowSize,
|
|
343
|
+
breakdown: {
|
|
344
|
+
system_prompt_tokens: estimateContextTextTokens(memory.systemInstruction),
|
|
345
|
+
builtin_tools_tokens: tools.builtinTools,
|
|
346
|
+
mcp_tools_tokens: tools.mcpTools,
|
|
347
|
+
memory_files_tokens: memory.memoryTokens,
|
|
348
|
+
skills_tokens: tools.skillTool + attributedSkills.skillBodyTokens,
|
|
349
|
+
messages_tokens: estimateContentTokens(attributedSkills.contents)
|
|
350
|
+
},
|
|
351
|
+
compaction_reserve_tokens: contextWindowSize - thresholds.auto,
|
|
352
|
+
estimated: true
|
|
353
|
+
};
|
|
354
|
+
return isValidContextUsage(snapshot) ? snapshot : void 0;
|
|
355
|
+
}
|
|
356
|
+
__name(createContextUsageSnapshot, "createContextUsageSnapshot");
|
|
357
|
+
|
|
98
358
|
// packages/core/src/core/loggingContentGenerator/streamContentDetection.ts
|
|
99
359
|
init_esbuild_shims();
|
|
100
360
|
function hasUserVisibleContent(chunk) {
|
|
@@ -287,6 +547,7 @@ var LoggingContentGenerator = class {
|
|
|
287
547
|
constructor(wrapped, config, generatorConfig) {
|
|
288
548
|
this.wrapped = wrapped;
|
|
289
549
|
this.config = config;
|
|
550
|
+
this.generatorConfig = generatorConfig;
|
|
290
551
|
this.modalities = generatorConfig.modalities;
|
|
291
552
|
this.splitToolMedia = generatorConfig.splitToolMedia;
|
|
292
553
|
this.toolResultContentFormat = generatorConfig.toolResultContentFormat;
|
|
@@ -320,6 +581,21 @@ var LoggingContentGenerator = class {
|
|
|
320
581
|
getWrapped() {
|
|
321
582
|
return this.wrapped;
|
|
322
583
|
}
|
|
584
|
+
snapshotContextUsage(request, isInternal) {
|
|
585
|
+
if (isInternal || !isTelemetrySdkInitialized()) return void 0;
|
|
586
|
+
try {
|
|
587
|
+
return createContextUsageSnapshot(
|
|
588
|
+
request,
|
|
589
|
+
this.config,
|
|
590
|
+
this.generatorConfig.contextWindowSize ?? DEFAULT_TOKEN_LIMIT
|
|
591
|
+
);
|
|
592
|
+
} catch (error) {
|
|
593
|
+
debugLogger.warn(
|
|
594
|
+
`Failed to snapshot context usage: ${error instanceof Error ? error.message : String(error)}`
|
|
595
|
+
);
|
|
596
|
+
return void 0;
|
|
597
|
+
}
|
|
598
|
+
}
|
|
323
599
|
logApiRequest(contents, model, promptId, sessionId) {
|
|
324
600
|
const requestText = JSON.stringify(contents);
|
|
325
601
|
logApiRequest(
|
|
@@ -418,6 +694,8 @@ var LoggingContentGenerator = class {
|
|
|
418
694
|
}
|
|
419
695
|
async generateContent(req, userPromptId) {
|
|
420
696
|
const retrySnapshot = snapshotRetryMetadata();
|
|
697
|
+
const isInternal = isInternalPromptId(userPromptId);
|
|
698
|
+
const contextUsage = this.snapshotContextUsage(req, isInternal);
|
|
421
699
|
const ownerSessionId = this.config.getSessionId();
|
|
422
700
|
const ownerUserId = this.config.getTelemetryUserId();
|
|
423
701
|
const { span: llmSpan, context: llmContext } = startLLMRequestSpanWithContext(req.model, userPromptId, {
|
|
@@ -425,10 +703,10 @@ var LoggingContentGenerator = class {
|
|
|
425
703
|
providerName: this.genAiProviderName,
|
|
426
704
|
outputType: resolveGenAiOutputType(this.generatorAuthType, req.config),
|
|
427
705
|
sessionId: ownerSessionId,
|
|
428
|
-
userId: ownerUserId
|
|
706
|
+
userId: ownerUserId,
|
|
707
|
+
contextUsage
|
|
429
708
|
});
|
|
430
709
|
const requestSessionId = getSessionIdFromContext(llmContext) ?? ownerSessionId;
|
|
431
|
-
const isInternal = isInternalPromptId(userPromptId);
|
|
432
710
|
const exchange = createGenAiExchange(llmContext, llmSpan, {
|
|
433
711
|
captureContent: !isInternal && this.shouldCollectSensitiveSpanAttributes(),
|
|
434
712
|
sensitiveAttributeMaxLength: this.config.getTelemetrySensitiveSpanAttributeMaxLength()
|
|
@@ -551,6 +829,8 @@ var LoggingContentGenerator = class {
|
|
|
551
829
|
}
|
|
552
830
|
async generateContentStream(req, userPromptId) {
|
|
553
831
|
const retrySnapshot = snapshotRetryMetadata();
|
|
832
|
+
const isInternal = isInternalPromptId(userPromptId);
|
|
833
|
+
const contextUsage = this.snapshotContextUsage(req, isInternal);
|
|
554
834
|
const ownerSessionId = this.config.getSessionId();
|
|
555
835
|
const ownerUserId = this.config.getTelemetryUserId();
|
|
556
836
|
const { span: llmSpan, context: llmContext } = startLLMRequestSpanWithContext(req.model, userPromptId, {
|
|
@@ -558,14 +838,14 @@ var LoggingContentGenerator = class {
|
|
|
558
838
|
providerName: this.genAiProviderName,
|
|
559
839
|
outputType: resolveGenAiOutputType(this.generatorAuthType, req.config),
|
|
560
840
|
sessionId: ownerSessionId,
|
|
561
|
-
userId: ownerUserId
|
|
841
|
+
userId: ownerUserId,
|
|
842
|
+
contextUsage
|
|
562
843
|
});
|
|
563
844
|
const requestSessionId = getSessionIdFromContext(llmContext) ?? ownerSessionId;
|
|
564
845
|
try {
|
|
565
846
|
llmSpan.setAttribute("gen_ai.request.stream", true);
|
|
566
847
|
} catch {
|
|
567
848
|
}
|
|
568
|
-
const isInternal = isInternalPromptId(userPromptId);
|
|
569
849
|
const exchange = createGenAiExchange(llmContext, llmSpan, {
|
|
570
850
|
captureContent: !isInternal && this.shouldCollectSensitiveSpanAttributes(),
|
|
571
851
|
sensitiveAttributeMaxLength: this.config.getTelemetrySensitiveSpanAttributeMaxLength()
|
|
@@ -786,7 +1066,7 @@ var LoggingContentGenerator = class {
|
|
|
786
1066
|
if (lastResponseForLogging && responses.at(-1) !== lastResponseForLogging) {
|
|
787
1067
|
responses.push(lastResponseForLogging);
|
|
788
1068
|
}
|
|
789
|
-
const consolidatedResponse = shouldCollectResponses ? this.
|
|
1069
|
+
const consolidatedResponse = shouldCollectResponses ? this.consolidateLlmResponsesForLogging(responses) : void 0;
|
|
790
1070
|
if (consolidatedResponse) {
|
|
791
1071
|
consolidatedResponse.usageMetadata = lastUsageMetadata;
|
|
792
1072
|
}
|
|
@@ -872,7 +1152,7 @@ var LoggingContentGenerator = class {
|
|
|
872
1152
|
return void 0;
|
|
873
1153
|
}
|
|
874
1154
|
const requestContext = this.createLoggingRequestContext(request.model);
|
|
875
|
-
const messages = OpenAIContentConverter.
|
|
1155
|
+
const messages = OpenAIContentConverter.convertLlmRequestToOpenAI(
|
|
876
1156
|
request,
|
|
877
1157
|
requestContext,
|
|
878
1158
|
{
|
|
@@ -884,7 +1164,7 @@ var LoggingContentGenerator = class {
|
|
|
884
1164
|
messages
|
|
885
1165
|
};
|
|
886
1166
|
if (request.config?.tools) {
|
|
887
|
-
openaiRequest.tools = await OpenAIContentConverter.
|
|
1167
|
+
openaiRequest.tools = await OpenAIContentConverter.convertLlmToolsToOpenAI(
|
|
888
1168
|
request.config.tools,
|
|
889
1169
|
this.schemaCompliance ?? "auto"
|
|
890
1170
|
);
|
|
@@ -922,7 +1202,7 @@ var LoggingContentGenerator = class {
|
|
|
922
1202
|
if (!this.openaiLogger || !openaiRequest) {
|
|
923
1203
|
return;
|
|
924
1204
|
}
|
|
925
|
-
const openaiResponse = response ? this.
|
|
1205
|
+
const openaiResponse = response ? this.convertLlmResponseToOpenAIForLogging(response, openaiRequest) : void 0;
|
|
926
1206
|
await this.openaiLogger.logInteraction(
|
|
927
1207
|
openaiRequest,
|
|
928
1208
|
openaiResponse,
|
|
@@ -937,13 +1217,13 @@ var LoggingContentGenerator = class {
|
|
|
937
1217
|
debugLogger.warn("Failed to log OpenAI interaction:", loggingError);
|
|
938
1218
|
}
|
|
939
1219
|
}
|
|
940
|
-
|
|
941
|
-
return OpenAIContentConverter.
|
|
1220
|
+
convertLlmResponseToOpenAIForLogging(response, openaiRequest) {
|
|
1221
|
+
return OpenAIContentConverter.convertLlmResponseToOpenAI(
|
|
942
1222
|
response,
|
|
943
1223
|
this.createLoggingRequestContext(openaiRequest.model)
|
|
944
1224
|
);
|
|
945
1225
|
}
|
|
946
|
-
|
|
1226
|
+
consolidateLlmResponsesForLogging(responses) {
|
|
947
1227
|
if (responses.length === 0) {
|
|
948
1228
|
return void 0;
|
|
949
1229
|
}
|