@organizaone/o1-code 0.3.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled/qc-helper/docs/configuration/auth.md +3 -1
- package/bundled/qc-helper/docs/configuration/model-providers.md +9 -0
- package/bundled/qc-helper/docs/features/approval-mode.md +4 -0
- package/bundled/qc-helper/docs/features/auto-mode.md +3 -0
- package/bundled/qc-helper/docs/features/sub-agents.md +7 -8
- package/chunks/{MaxSizedBox-GF25YEIN.js → MaxSizedBox-UYZO6Q53.js} +41 -40
- package/chunks/{StandaloneSessionPicker-YBS47NTB.js → StandaloneSessionPicker-22TBAOIZ.js} +54 -53
- package/chunks/{acp-subagent-executor-OCP4NXXX.js → acp-subagent-executor-24M4LCIR.js} +44 -43
- package/chunks/{acpAgent-WMX43ZDF.js → acpAgent-BLHUPR3S.js} +427 -369
- package/chunks/{agent-NMLVWIU3.js → agent-RKK4ZSNT.js} +27 -26
- package/chunks/{agent-headless-5AKJIKG2.js → agent-headless-NGG6JV6W.js} +27 -26
- package/chunks/{anthropicContentGenerator-5OH4LNCZ.js → anthropicContentGenerator-NFE6SNOW.js} +44 -15
- package/chunks/{bridge-DTVVZPYE.js → bridge-IESNMEQ4.js} +44 -43
- package/chunks/{bwrap-execution-EZJNABHL.js → bwrap-execution-QFG5RQSP.js} +5 -5
- package/chunks/{chunk-OPNBX4BU.js → chunk-26RB5MCN.js} +1 -1
- package/chunks/{chunk-WZKJPAWS.js → chunk-27N4PS4A.js} +2 -2
- package/chunks/{chunk-5ST67IZT.js → chunk-2I5ETR2G.js} +8 -5
- package/chunks/{chunk-MVE72SO7.js → chunk-2RYXWLLJ.js} +1 -1
- package/chunks/{chunk-EXWAECKM.js → chunk-35RKSP4A.js} +2 -2
- package/chunks/{chunk-IVAO4HY7.js → chunk-3ILV7TTQ.js} +3 -3
- package/chunks/{chunk-G4NGNKM6.js → chunk-3QFZFTMB.js} +7 -6
- package/chunks/{chunk-XF7WMIX5.js → chunk-3ZBJ5U4C.js} +5 -5
- package/chunks/{chunk-NHKFCD4F.js → chunk-4ZA2DNDT.js} +1 -1
- package/chunks/{chunk-TLWUCRTO.js → chunk-6AVPXLAG.js} +3 -3
- package/chunks/{chunk-CCNABFR3.js → chunk-6MRRD2YD.js} +3 -3
- package/chunks/{chunk-5BGVEQ5T.js → chunk-6NRPL624.js} +6 -6
- package/chunks/{chunk-JYM2UKSC.js → chunk-6QGQ2AFR.js} +38 -3
- package/chunks/{chunk-W3HT3Y67.js → chunk-6TUERSTS.js} +4 -4
- package/chunks/{chunk-KXN7Q6SB.js → chunk-6TWJYLJE.js} +1 -1
- package/chunks/{chunk-V6XI7HKD.js → chunk-6WB3VFOC.js} +1 -1
- package/chunks/{chunk-XPYWEOXT.js → chunk-7J3GH7GE.js} +4 -4
- package/chunks/{chunk-DBD424KY.js → chunk-7MPB362V.js} +2 -2
- package/chunks/{chunk-AE25P7KP.js → chunk-7QHVLAP5.js} +5 -5
- package/chunks/{chunk-C6U74Q6C.js → chunk-7YT5K5ST.js} +3 -3
- package/chunks/{chunk-FWXUI7DZ.js → chunk-AI2PV62X.js} +59 -23
- package/chunks/{chunk-NYKKDVZN.js → chunk-AY6SVAQZ.js} +1 -1
- package/chunks/{chunk-JDUBQ632.js → chunk-BBVCA2GZ.js} +1 -1
- package/chunks/{chunk-Y6NXDVBG.js → chunk-BDCHAXXY.js} +2 -2
- package/chunks/{chunk-5ITAMZY3.js → chunk-BDWRHIER.js} +8 -8
- package/chunks/{chunk-ERJWPEY7.js → chunk-BLEJR2GA.js} +3 -3
- package/chunks/{chunk-FJKGFWXG.js → chunk-BWAJPJLA.js} +3 -3
- package/chunks/{chunk-QUMGEZV4.js → chunk-CG2QM2MI.js} +2 -2
- package/chunks/{chunk-HEXJ5CP4.js → chunk-CKLLDG5Z.js} +7 -7
- package/chunks/{chunk-S2LBLNBW.js → chunk-CMZHL55Y.js} +2193 -151
- package/chunks/{chunk-JR2IXLNE.js → chunk-D7MURDDC.js} +4 -4
- package/chunks/{chunk-2X5ECQ5K.js → chunk-DH6IQO44.js} +6 -6
- package/chunks/{chunk-YNJSBU2B.js → chunk-DZPGLX7M.js} +1 -1
- package/chunks/{chunk-LQY5SDPR.js → chunk-EG7FZ4GT.js} +2 -2
- package/chunks/{chunk-WXWA7OOJ.js → chunk-ELVKWFRK.js} +1 -1
- package/chunks/{chunk-JEX5DADO.js → chunk-EMOLKALJ.js} +1 -1
- package/chunks/{chunk-IFBW6FYH.js → chunk-EWJD7EIC.js} +1 -1
- package/chunks/{chunk-D4RCT4J4.js → chunk-F5TEGYB2.js} +2 -2
- package/chunks/{chunk-YV5ECLPM.js → chunk-FCTP7NAC.js} +39 -37
- package/chunks/{chunk-P7UNPKJM.js → chunk-FQO3QDB5.js} +1 -1
- package/chunks/{chunk-JBMSEZDI.js → chunk-FVYOYI7Y.js} +7 -7
- package/chunks/{chunk-RYKMFNWC.js → chunk-FXPZKL6H.js} +2 -2
- package/chunks/{chunk-TKHMBUSK.js → chunk-FZUEC7ES.js} +3 -3
- package/chunks/{chunk-L3LXMQJJ.js → chunk-G2I75T4C.js} +1 -1
- package/chunks/{chunk-3XCL57IX.js → chunk-GMR3LAWE.js} +19 -4
- package/chunks/{chunk-NNVR5V2I.js → chunk-GNEHVPRR.js} +6 -6
- package/chunks/{chunk-SJ7DMBBS.js → chunk-GNSGESJK.js} +3 -3
- package/chunks/{chunk-VKFY6KJC.js → chunk-GQ7GDOJ3.js} +4 -4
- package/chunks/{chunk-Z7APSZZK.js → chunk-GTXPWUF4.js} +4 -4
- package/chunks/{chunk-E4BNWSC7.js → chunk-H5L5E5NI.js} +1 -1
- package/chunks/{chunk-LVFKSBH3.js → chunk-HOVKZNOX.js} +10 -5
- package/chunks/{chunk-DB5UA5RL.js → chunk-HVELN6DV.js} +5 -5
- package/chunks/{chunk-EGZKXA6V.js → chunk-HZMPE4UL.js} +1 -1
- package/chunks/{chunk-4NV74I76.js → chunk-I2XHQTBX.js} +201 -160
- package/chunks/{chunk-SXPTY2NJ.js → chunk-IAQGBZNZ.js} +1 -1
- package/chunks/{chunk-UUNTJ2TR.js → chunk-IZHKBFYA.js} +1 -1
- package/chunks/{chunk-JHODAWQZ.js → chunk-J7SHLTAH.js} +10 -10
- package/chunks/{chunk-B6W2OL2D.js → chunk-JXBIVAJQ.js} +39 -36
- package/chunks/{chunk-QSF42LP4.js → chunk-K2JYJWEF.js} +10 -10
- package/chunks/{chunk-UKS76REW.js → chunk-KFJXCZWZ.js} +3 -3
- package/chunks/{chunk-MPSJQSNY.js → chunk-KICFGUH5.js} +3 -3
- package/chunks/{chunk-BDKFE7EF.js → chunk-KRCRVCN5.js} +1 -1
- package/chunks/{chunk-4JQ6AGCG.js → chunk-L37WUEXT.js} +1 -1
- package/chunks/{chunk-REAEIHLD.js → chunk-LERXWKRT.js} +1 -1
- package/chunks/{chunk-KIQ7D4YK.js → chunk-LW4NWM6L.js} +15 -15
- package/chunks/{chunk-YIEC5SIW.js → chunk-M2EBVYXC.js} +1 -1
- package/chunks/{chunk-C6LFEUFU.js → chunk-MG64NR57.js} +1 -1
- package/chunks/{chunk-JQFQB2BI.js → chunk-MIWMCUU5.js} +1 -1
- package/chunks/{chunk-2S34HMND.js → chunk-MNGG2WBY.js} +1 -1
- package/chunks/{chunk-SS2JMVDW.js → chunk-N3YINO2H.js} +1 -1
- package/chunks/{chunk-L425LZSD.js → chunk-N4ANLNQG.js} +3 -3
- package/chunks/{chunk-I7XXUDXZ.js → chunk-NGPEFWU4.js} +1 -1
- package/chunks/{chunk-MTJQKPTJ.js → chunk-NP2P2IJA.js} +1 -1
- package/chunks/{chunk-YCZXGP63.js → chunk-NVNIFGY3.js} +72 -1
- package/chunks/{chunk-ERV4L76G.js → chunk-OBGYVJZ6.js} +14 -14
- package/chunks/{chunk-AQVYFR7E.js → chunk-OMJU4YIQ.js} +1 -1
- package/chunks/{chunk-7OHUVM2P.js → chunk-PH4SO4P2.js} +4 -4
- package/chunks/{chunk-UNRHVAPY.js → chunk-QDZTSZTF.js} +1 -1
- package/chunks/{chunk-AG2ELNEP.js → chunk-QFGGMNXV.js} +13 -11
- package/chunks/{chunk-QPGBAI7B.js → chunk-QGVUKQPI.js} +1 -1
- package/chunks/{chunk-7J3ZEJUN.js → chunk-RBQQCGVG.js} +7 -42
- package/chunks/{chunk-J7G3OJOX.js → chunk-RMDWSEWQ.js} +13 -10
- package/chunks/{chunk-KTH2NXBH.js → chunk-RPOVX6MQ.js} +1 -1
- package/chunks/{chunk-TNQJ66S4.js → chunk-S7EZBSGP.js} +3603 -5405
- package/chunks/{chunk-SGW7DY4F.js → chunk-SFHAMYFI.js} +2 -2
- package/chunks/{chunk-QFQQICSQ.js → chunk-TCME6IG6.js} +1 -1
- package/chunks/{chunk-GFZWLC66.js → chunk-TVGM3GPZ.js} +2 -2
- package/chunks/{chunk-GZNQS5UB.js → chunk-UP6Q42H2.js} +22 -4
- package/chunks/{chunk-QS7N2YMJ.js → chunk-UQ34TBDD.js} +1 -1
- package/chunks/{chunk-VNMKY2V3.js → chunk-UT656E5I.js} +3 -3
- package/chunks/{chunk-623SEN5Q.js → chunk-UZLXX76B.js} +1 -1
- package/chunks/{chunk-J5BDFZYA.js → chunk-V23Q4GBY.js} +1 -1
- package/chunks/{chunk-L3YLV3RI.js → chunk-V4XETRAG.js} +24 -9
- package/chunks/{chunk-PPR5SHEF.js → chunk-V75J4GJ2.js} +1 -1
- package/chunks/{chunk-UXN7KJEI.js → chunk-VA7BGQ2G.js} +5 -5
- package/chunks/{chunk-QQQRGEHT.js → chunk-VIXCJWEM.js} +3 -3
- package/chunks/{chunk-CTIEFYP7.js → chunk-VZIZZYZ2.js} +2 -2
- package/chunks/chunk-WCRZJ5HN.js +27 -0
- package/chunks/{chunk-JE64TPWB.js → chunk-WGHVI55A.js} +4 -4
- package/chunks/{chunk-WGXPBRMN.js → chunk-WOO572MR.js} +1 -1
- package/chunks/{chunk-3YCUO772.js → chunk-WOZVQEFV.js} +1 -1
- package/chunks/{chunk-4OCNSFYL.js → chunk-WUKHAI4J.js} +13 -0
- package/chunks/{chunk-ZNNZZ4BW.js → chunk-X6T6YORO.js} +1 -1
- package/chunks/{chunk-BDKGHKN5.js → chunk-XCLRPKMH.js} +1 -1
- package/chunks/{chunk-GUMLL5KC.js → chunk-XKOGHPWS.js} +1 -1
- package/chunks/{chunk-ELIXZXZC.js → chunk-Y3KJFSGP.js} +4 -4
- package/chunks/{chunk-I3G7XU6U.js → chunk-ZATS5TUZ.js} +4 -4
- package/chunks/{chunk-3CO4GKLV.js → chunk-ZHYAWJRF.js} +1 -1
- package/chunks/{chunk-M2WG4ESD.js → chunk-ZQBNP2ZQ.js} +4 -2
- package/chunks/{chunk-HKGC5GVY.js → chunk-ZUCL2KQE.js} +1 -1
- package/chunks/{chunk-RHYRXRHW.js → chunk-ZZG3Z2XX.js} +1 -1
- package/chunks/{codex-subagent-executor-QGB72XUZ.js → codex-subagent-executor-KXD2IV5N.js} +44 -43
- package/chunks/{contextCommand-OIZKYRYR.js → contextCommand-RDEMVBKQ.js} +42 -41
- package/chunks/{core-runtime-ZFOKJ32O.js → core-runtime-BH3QRW7L.js} +41 -40
- package/chunks/{create-sub-session-Y6QAGHZ6.js → create-sub-session-2EEIM347.js} +42 -41
- package/chunks/{daemon-git-worktree-guard-M73ZL5UO.js → daemon-git-worktree-guard-GOHP6Z3Z.js} +41 -40
- package/chunks/{daemon-status-provider-6YNQ74OV.js → daemon-status-provider-JBGBRCQ3.js} +49 -48
- package/chunks/{daemon-trust-policy-URDFVFCF.js → daemon-trust-policy-VE2G2RR3.js} +46 -45
- package/chunks/{daemon-trust-policy-monitor-FKHP5BIE.js → daemon-trust-policy-monitor-EQIKISSG.js} +46 -45
- package/chunks/{deferred-core-runtime-3Q5WFRWL.js → deferred-core-runtime-T5ZBIEH5.js} +41 -40
- package/chunks/{display-image-K4EKCY4Y.js → display-image-U6HZKF3G.js} +1 -1
- package/chunks/{edit-BA7F4PT6.js → edit-SSW6ROAY.js} +29 -28
- package/chunks/{enter-worktree-7AEF4YHW.js → enter-worktree-53CUMISV.js} +6 -5
- package/chunks/{enterPlanMode-EFBL4BF7.js → enterPlanMode-AQDABVZ7.js} +27 -26
- package/chunks/{environment-WPNDLJO7.js → environment-CRS6FJUB.js} +47 -44
- package/chunks/{errors-7ETRPMNN.js → errors-LEKWARZU.js} +43 -42
- package/chunks/{execution-sandbox-config-ODVPW3HT.js → execution-sandbox-config-7UDTKDKF.js} +6 -6
- package/chunks/{execution-tool-CAWRJH4J.js → execution-tool-RDK54VX4.js} +30 -29
- package/chunks/{execution-worker-HLC7A4TJ.js → execution-worker-GLD3Y36P.js} +34 -33
- package/chunks/{exit-worktree-7LRFLHHT.js → exit-worktree-CZUYCPZ3.js} +6 -5
- package/chunks/{exitPlanMode-S23F45GN.js → exitPlanMode-DF32PZWX.js} +27 -26
- package/chunks/{fast-path-3I3VLXLK.js → fast-path-INED4OHU.js} +2 -2
- package/chunks/{glob-QTRRGB3D.js → glob-7WHFZZ7M.js} +27 -26
- package/chunks/{goal-tools-NUONFKIG.js → goal-tools-W27UVE2Z.js} +27 -26
- package/chunks/{grep-TA3S572F.js → grep-ENZEP6KL.js} +2 -2
- package/chunks/{handleAutoUpdate-QVESGET2.js → handleAutoUpdate-J6Z2XB5Q.js} +43 -42
- package/chunks/{i18n-ZSSY3WKU.js → i18n-OO4UHAXL.js} +41 -40
- package/chunks/{image-gen-5BYQKJXP.js → image-gen-GJRWPVTR.js} +4 -4
- package/chunks/{initializer-T5M3ALQB.js → initializer-JQHJYCF5.js} +46 -45
- package/chunks/{installationInfo-P5YK242M.js → installationInfo-AXAY2SH2.js} +41 -40
- package/chunks/{list-MJY6Y5CU.js → list-SADQT2AG.js} +48 -47
- package/chunks/{llm-W5ENEUT6.js → llm-SZWXZP3B.js} +97 -74
- package/chunks/{llm-content-generator-TXCK3B4L.js → llm-content-generator-G5JRRUQG.js} +3 -3
- package/chunks/{loadedSettingsAdapter-JLZC4ZBX.js → loadedSettingsAdapter-KHPR57FZ.js} +46 -45
- package/chunks/{local-execution-environment-YZMNKOAL.js → local-execution-environment-UIXT5MYW.js} +34 -33
- package/chunks/{loggingContentGenerator-N47XAAOQ.js → loggingContentGenerator-S7Z3KA5G.js} +29 -28
- package/chunks/{managed-npm-update-4ROJTOPU.js → managed-npm-update-2F2CWUN5.js} +58 -51
- package/chunks/{mcp-RKXPYCS7.js → mcp-HIXXYJCE.js} +46 -45
- package/chunks/{model-call-collection-OJVM2GWV.js → model-call-collection-KSMSHS7L.js} +1 -1
- package/chunks/{model-configuration-GYGU23MY.js → model-configuration-ESRJKAHN.js} +47 -46
- package/chunks/{modelConfigUtils-6MZXMJI7.js → modelConfigUtils-NDQ2FXQH.js} +43 -42
- package/chunks/{monitor-PY4ONOQZ.js → monitor-YVVVGAR3.js} +42 -37
- package/chunks/{nonInteractiveCli-BEOCLPL7.js → nonInteractiveCli-KM3SLXEM.js} +72 -71
- package/chunks/{nonInteractiveToolExecutor-TWHMKTHV.js → nonInteractiveToolExecutor-JUANVJTX.js} +28 -27
- package/chunks/{notebook-edit-735U37BJ.js → notebook-edit-4DUMKNFK.js} +28 -27
- package/chunks/{omni-TSSGKDWK.js → omni-47LNNZAF.js} +12 -11
- package/chunks/{openaiContentGenerator-66O4ID6K.js → openaiContentGenerator-A6QCMGW4.js} +17 -15
- package/chunks/{openaiResponsesContentGenerator-AI4VCUZW.js → openaiResponsesContentGenerator-BUWQNFGJ.js} +3 -3
- package/chunks/{processUtils-KX55UCVT.js → processUtils-2NQUOJFV.js} +2 -2
- package/chunks/{prompt-terminal-ledger-TMEWRMRM.js → prompt-terminal-ledger-2PPXLWXQ.js} +42 -41
- package/chunks/{reactive-degrade-W6RK63HX.js → reactive-degrade-L7HLGJAK.js} +8 -7
- package/chunks/{read-file-EY55LILP.js → read-file-UZ2R53V3.js} +4 -4
- package/chunks/{record-artifact-LO3TFJF4.js → record-artifact-PL2T5AJY.js} +3 -3
- package/chunks/{record-source-U2PL3PZS.js → record-source-PHBQTGL4.js} +4 -4
- package/chunks/{report-findings-XQQ23B4H.js → report-findings-RFO53756.js} +4 -4
- package/chunks/{request-shutdown-HUO3DW4O.js → request-shutdown-OMWHNC3R.js} +3 -3
- package/chunks/{resumeHistoryUtils-64X6P4RL.js → resumeHistoryUtils-7HRODIKY.js} +42 -41
- package/chunks/{ripGrep-EJBNAHG7.js → ripGrep-ACBTAONG.js} +7 -7
- package/chunks/{run-o1-code-serve-XZD4J7UT.js → run-o1-code-serve-MDMLRTRO.js} +32 -32
- package/chunks/{runtime-shell-policy-7E34X54Z.js → runtime-shell-policy-QXWSET5W.js} +1 -1
- package/chunks/{sandboxConfig-Q5T2KDWX.js → sandboxConfig-LMA3DPDG.js} +41 -40
- package/chunks/{scheduled-tasks-VFTJISRZ.js → scheduled-tasks-3PMJVK6Y.js} +47 -46
- package/chunks/{scheduler-LFPINJ3O.js → scheduler-O5OYPI63.js} +43 -42
- package/chunks/{send-message-X55LV3NW.js → send-message-NATKTKQZ.js} +3 -3
- package/chunks/{serve-KFLQFW4S.js → serve-GV3N45V5.js} +46 -45
- package/chunks/{server-5VX5EJJN.js → server-7E4EI7UC.js} +121 -112
- package/chunks/{session-FN3DK22S.js → session-ADHGVFFK.js} +73 -72
- package/chunks/{session-attachments-root-2KL64FGA.js → session-attachments-root-XELVOIWA.js} +41 -40
- package/chunks/{session-pr-refresh-RHCGWRST.js → session-pr-refresh-4Z5THFBF.js} +46 -45
- package/chunks/{settings-JNRHGVXK.js → settings-5EMCRRZH.js} +45 -44
- package/chunks/{shell-QXU6U3ZQ.js → shell-NPKZWF3U.js} +27 -26
- package/chunks/{skill-RRZHSAYL.js → skill-RZ7LZIVZ.js} +5 -5
- package/chunks/{skill-settings-WUQLVFBS.js → skill-settings-DHKLML5S.js} +46 -45
- package/chunks/{spawnChannel-IIN6QVRF.js → spawnChannel-ABJVT26C.js} +43 -42
- package/chunks/{standalone-update-ET5NFOX4.js → standalone-update-22DYM5RZ.js} +42 -41
- package/chunks/{startInteractiveUI-LNRR43PI.js → startInteractiveUI-5EYUYKDG.js} +192 -123
- package/chunks/{task-create-A2MP37QH.js → task-create-A3FAT34J.js} +4 -4
- package/chunks/{task-update-NJG2RTP7.js → task-update-BE27HYCU.js} +4 -4
- package/chunks/{team-create-QJCKLQOF.js → team-create-DFTT6KS7.js} +27 -26
- package/chunks/{team-plan-approval-KQ2O743Z.js → team-plan-approval-KVTEPS35.js} +27 -26
- package/chunks/{terminal-image-renderer-AWXQOO4X.js → terminal-image-renderer-ULESZQ2S.js} +41 -40
- package/chunks/{theme-manager-VA6NQNIL.js → theme-manager-TWCJZHHM.js} +41 -40
- package/chunks/{tool-call-VNMKD4BX.js → tool-call-7HZFNB7J.js} +4 -4
- package/chunks/{tool-result-media-6ZV6V5VB.js → tool-result-media-GW6DXPF6.js} +12 -11
- package/chunks/{tool-search-HPPYWJBF.js → tool-search-IYWJZOHM.js} +7 -7
- package/chunks/{total-session-admission-JVRBXXYV.js → total-session-admission-DFBHKYZ6.js} +44 -43
- package/chunks/{trustedFolders-56YDYOI5.js → trustedFolders-3TN7MAD2.js} +42 -41
- package/chunks/{update-relaunch-GFLNZDAX.js → update-relaunch-VRHG4DJ3.js} +17 -8
- package/chunks/{updateCheck-GD2DXYWP.js → updateCheck-6QJH7WCQ.js} +41 -40
- package/chunks/{upload-config-E5MQ5NML.js → upload-config-NKCONRNF.js} +6 -5
- package/chunks/{useAutoAcceptIndicator-KQ3H2K62.js → useAutoAcceptIndicator-QB67K7SZ.js} +48 -47
- package/chunks/{validateNonInterActiveAuth-Y4MBCH4W.js → validateNonInterActiveAuth-EIMNOYXA.js} +70 -69
- package/chunks/{version-IJ3TUIPZ.js → version-SPGSSS4D.js} +1 -1
- package/chunks/{web-fetch-F2CLSSW6.js → web-fetch-MR5YMAYN.js} +7 -7
- package/chunks/{web-search-2HX22GBH.js → web-search-UT4QMZ77.js} +9 -8
- package/chunks/{workflow-O5UFRP3U.js → workflow-5GDTA5C4.js} +28 -27
- package/chunks/{workspace-providers-status-74YJNLJJ.js → workspace-providers-status-JHE7XF4Q.js} +52 -51
- package/chunks/{workspace-registration-store-TZFSDL3K.js → workspace-registration-store-KSRT76YS.js} +1 -1
- package/chunks/{workspace-registry-NAMQHWBJ.js → workspace-registry-UIRZ644O.js} +44 -43
- package/chunks/{workspace-runtime-coordinator-WI35ERMI.js → workspace-runtime-coordinator-4KRIDNPN.js} +45 -44
- package/chunks/{workspace-service-GDF53GJS.js → workspace-service-EHBHBXQB.js} +50 -49
- package/chunks/{workspace-skills-status-PNR3ICAP.js → workspace-skills-status-2JGHZKN7.js} +49 -48
- package/chunks/{workspace-trust-reconciler-UO4CD5XT.js → workspace-trust-reconciler-GZETMLBC.js} +49 -48
- package/chunks/{write-file-4NLDAO3E.js → write-file-XMTCGJ5L.js} +30 -29
- package/chunks/{zoom-image-WVJNVR4G.js → zoom-image-2JJU2JUJ.js} +4 -4
- package/cli-entry.js +35 -18
- package/cli.js +12 -12
- package/execution-worker.js +1 -1
- package/export-transcript-document.js +1 -1
- package/package.json +2 -2
- package/release-notes.json +38 -0
- package/web-shell/assets/{abnfDiagram-VCTEODGH-GkC7qpZa.js → abnfDiagram-VCTEODGH-C4KL0pte.js} +1 -1
- package/web-shell/assets/{arc-rCRTR9rP.js → arc-DG56euNt.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-BXamqUa2.js → architectureDiagram-5GKGNRK7-DX_GPM3e.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-gcjjt4RN.js → blockDiagram-NRAW4CY4-RjYYv_50.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-y4txHZ64.js → c4Diagram-UCG6FXSJ-DNx_cCrE.js} +1 -1
- package/web-shell/assets/channel-C4IYRzaQ.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-CP7Wj7xO.js → chunk-2Q5K7J3B-tiiH_UQG.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-Cp32oZuQ.js → chunk-5VM5RSS4-L3MqoN5D.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-91dCDCyf.js → chunk-F27PBJKO-rOgNOxU4.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-CE0yCTWa.js → chunk-G27WJ6UU-Do4hF634.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-BrpX8c3O.js → chunk-JWPE2WC7-D3flHpv-.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-BYJTu4zN.js → chunk-LCL6LL3I-CKaf_vGR.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-Codub2tr.js → chunk-POPQ4Y6H-MoTQcJHM.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-DM-ke8Mr.js → chunk-SVP7TREG-5IUiTHDJ.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-BLcKbNbx.js → chunk-XXDRQBXY-Calnffda.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-B1_DeD3H.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-B1_DeD3H.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-yMq4SSTl.js → cose-bilkent-JH36ORCC-r7CvVhkL.js} +1 -1
- package/web-shell/assets/{cynefin-OW5HDTMX-B-n83dZA.js → cynefin-OW5HDTMX-6IISowf1.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-DwgvqFDD.js → cynefinDiagram-5FMLGOSQ-DHBp3-nw.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-BjByq1Of.js → dagre-3AP2YEHR-B8xQgIhZ.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-b-k59yRn.js → diagram-S7CK7UJ4-Cmu2Nepw.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-d4Mot6Yz.js → diagram-UQ7AKVKN-DcFEj1RT.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-CkxocesP.js → diagram-VSXAHHWV-BJMlF0Ty.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-ClsrsYuH.js → diagram-VX7I27RA-kIMuXXqr.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-C86pbkMU.js → diagram-Z3DM3KII-Cs4WSVWV.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-Dd_W23Ti.js → ebnfDiagram-PWID7BFC-_CXCQvy8.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-Bm0aSkLh.js → erDiagram-SSCWMZ5O-B_BWmiLC.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-CzOHrYqI.js → flowDiagram-A5DVABFB-BbQ-Cnph.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-aD7VOZlz.js → ganttDiagram-EL5Y4UJY-Dw0OP2o6.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-qC6lU8hO.js → gitGraphDiagram-WWUBYQGX-CLGso8Fx.js} +1 -1
- package/web-shell/assets/{index-Dt92aFEi.js → index-DqcXLe_L.js} +1 -1
- package/web-shell/assets/{index-IQxVrdU8.js → index-uXBGc-O_.js} +3 -3
- package/web-shell/assets/{infoDiagram-RXCK75RN-D7n5hN5T.js → infoDiagram-RXCK75RN-B16fsKTx.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-Crzzj9Hk.js → ishikawaDiagram-5VMMS53U-B6gNa_2h.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-FwmS41nw.js → journeyDiagram-EYS64GPL-D6pmm-zQ.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-CKIs80uY.js → kanban-definition-3QL26DDD-CYgLAGlY.js} +1 -1
- package/web-shell/assets/{layout-BQz4dKSf.js → layout-Dnu_3yL-.js} +1 -1
- package/web-shell/assets/{linear-BFhHgDEc.js → linear-M3brA9am.js} +1 -1
- package/web-shell/assets/{mermaid.core-Bk7ZiySi.js → mermaid.core-0spMkbMJ.js} +6 -6
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-BBWZxLbK.js → mindmap-definition-FBJOCRG2-KXz1-2Ie.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-D3XoIA9B.js → pegDiagram-XKGWAZYB-D2wzdm-1.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-B_tPTCKL.js → pieDiagram-E7YTZNPT-CAVUnkpR.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-BtsvzEtS.js → quadrantDiagram-AXDQQJYC-Bi0I0wCT.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-6ag1DheV.js → railroadDiagram-O6MQD6OU-1RMp3suI.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-8YxylfMT.js → requirementDiagram-EFPCY7ZU-Buktf-dE.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-1_AorqC_.js → sankeyDiagram-P5KCCOFB-Z4cqu0Yj.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-paioxV9Q.js → sequenceDiagram-WJ2MYXX4-Bky8Neqh.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-oOBrUhQf.js → sizeCapture-X5ZJPWSS-CtuAvlom.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-DGkViHHK.js → stateDiagram-HBIQ2CUA-Ch17BzwP.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-CnlkrjZ6.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-TqBChE5a.js → swimlanes-XN3QIQJK-zDCbFlBP.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-DR1jeM-b.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-BQGAL6YG.js → timeline-definition-24CTP7MA-B_wsMvHG.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-CGPjpaes.js → vennDiagram-4TSXK5OY-DaY56Y6X.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-DPK0MANE.js → wardleyDiagram-VM6X3IG4-C_qP-clx.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-D4TN6euT.js → xychartDiagram-S5SC5T6Z-Bn_GJCcM.js} +1 -1
- package/web-shell/index.html +1 -1
- package/web-shell/sw.js +1 -1
- package/web-shell/assets/channel-CRgqjxIs.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-oQ799Ozj.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-oQ799Ozj.js +0 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-CWC6iKqT.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-Dz_lYxMp.js +0 -8
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
} from "./chunk-CPURT2SU.js";
|
|
6
6
|
import {
|
|
7
7
|
startPostRenderPrefetches
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-J7SHLTAH.js";
|
|
9
9
|
import {
|
|
10
10
|
stopAndGetCapturedInput
|
|
11
11
|
} from "./chunk-VFLUNXD6.js";
|
|
12
12
|
import {
|
|
13
13
|
useAutoAcceptIndicator
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-XCLRPKMH.js";
|
|
15
15
|
import {
|
|
16
16
|
MAX_ACCEPTED_BACKLOG,
|
|
17
17
|
PeerMessaging,
|
|
18
18
|
classifyApiError,
|
|
19
19
|
fireSessionDeleteHook
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-EMOLKALJ.js";
|
|
21
21
|
import {
|
|
22
22
|
TUI_CHAT_RECORDING_FAILURE_MESSAGE,
|
|
23
23
|
reportChatRecordingFailureToAdapter
|
|
@@ -34,10 +34,10 @@ import {
|
|
|
34
34
|
normalizeDescription,
|
|
35
35
|
normalizePartList,
|
|
36
36
|
resolveAtCommandQuery
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-CKLLDG5Z.js";
|
|
38
38
|
import {
|
|
39
39
|
StreamJsonOutputAdapter
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-7J3GH7GE.js";
|
|
41
41
|
import {
|
|
42
42
|
BuiltinCommandLoader,
|
|
43
43
|
BundledSkillLoader,
|
|
@@ -90,14 +90,14 @@ import {
|
|
|
90
90
|
resolveOutputStyleChoice,
|
|
91
91
|
serializeUserPromptExpansionPrompt,
|
|
92
92
|
supportsMatchers
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-JXBIVAJQ.js";
|
|
94
94
|
import {
|
|
95
95
|
EXTENSION_RELOAD_FAILED_REASON,
|
|
96
96
|
ExtensionRefreshState,
|
|
97
97
|
appEvents,
|
|
98
98
|
cleanupReviewWorktreeLeases,
|
|
99
99
|
loadHierarchicalMemory
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-FCTP7NAC.js";
|
|
101
101
|
import {
|
|
102
102
|
disableKittyProtocol,
|
|
103
103
|
isKittyProtocolEnabled,
|
|
@@ -106,7 +106,7 @@ import {
|
|
|
106
106
|
} from "./chunk-AYSIXE44.js";
|
|
107
107
|
import {
|
|
108
108
|
sanitizeDisplayText
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-3ZBJ5U4C.js";
|
|
110
110
|
import {
|
|
111
111
|
AboutBox,
|
|
112
112
|
BaseSelectionList,
|
|
@@ -202,13 +202,13 @@ import {
|
|
|
202
202
|
useUIActions,
|
|
203
203
|
useUIState,
|
|
204
204
|
useVirtualViewport
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-OBGYVJZ6.js";
|
|
206
206
|
import {
|
|
207
207
|
KeypressProvider,
|
|
208
208
|
useFocus,
|
|
209
209
|
useKeypress,
|
|
210
210
|
useKeypressContext
|
|
211
|
-
} from "./chunk-
|
|
211
|
+
} from "./chunk-BDCHAXXY.js";
|
|
212
212
|
import {
|
|
213
213
|
BRAND,
|
|
214
214
|
MAX_EXTENSION_OWNER_LABEL_WIDTH,
|
|
@@ -217,7 +217,7 @@ import {
|
|
|
217
217
|
getCommandSourceBadge,
|
|
218
218
|
repoDocUrl,
|
|
219
219
|
skillOriginLabel
|
|
220
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-2I5ETR2G.js";
|
|
221
221
|
import {
|
|
222
222
|
BEL,
|
|
223
223
|
OSC_PREFIX,
|
|
@@ -230,7 +230,7 @@ import {
|
|
|
230
230
|
oscKittyNotify,
|
|
231
231
|
saveClipboardImage,
|
|
232
232
|
writeOsc52
|
|
233
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-BBVCA2GZ.js";
|
|
234
234
|
import "./chunk-AHKE26WU.js";
|
|
235
235
|
import {
|
|
236
236
|
MaxSizedBox,
|
|
@@ -256,7 +256,7 @@ import {
|
|
|
256
256
|
shouldDisplayGoalStateCause,
|
|
257
257
|
useStreamingContext,
|
|
258
258
|
waitForGoalRuntime
|
|
259
|
-
} from "./chunk-
|
|
259
|
+
} from "./chunk-7YT5K5ST.js";
|
|
260
260
|
import {
|
|
261
261
|
contextUsageLabel,
|
|
262
262
|
formatDuration,
|
|
@@ -296,11 +296,11 @@ import {
|
|
|
296
296
|
} from "./chunk-KIN34HCU.js";
|
|
297
297
|
import {
|
|
298
298
|
setUpdateHandler
|
|
299
|
-
} from "./chunk-
|
|
299
|
+
} from "./chunk-NP2P2IJA.js";
|
|
300
300
|
import {
|
|
301
301
|
isHistoryItemVisibleAfterRestore
|
|
302
302
|
} from "./chunk-64WBFX5X.js";
|
|
303
|
-
import "./chunk-
|
|
303
|
+
import "./chunk-7MPB362V.js";
|
|
304
304
|
import {
|
|
305
305
|
AUTO_THEME_NAME,
|
|
306
306
|
DEFAULT_THEME,
|
|
@@ -314,29 +314,29 @@ import {
|
|
|
314
314
|
import {
|
|
315
315
|
requestConsentInteractive,
|
|
316
316
|
requestConsentOrFail
|
|
317
|
-
} from "./chunk-
|
|
317
|
+
} from "./chunk-D7MURDDC.js";
|
|
318
318
|
import "./chunk-XZ3MQL2U.js";
|
|
319
319
|
import {
|
|
320
320
|
relaunchApp
|
|
321
|
-
} from "./chunk-
|
|
321
|
+
} from "./chunk-4ZA2DNDT.js";
|
|
322
322
|
import "./chunk-XG36NMOI.js";
|
|
323
323
|
import "./chunk-7QM44EGU.js";
|
|
324
|
-
import "./chunk-
|
|
324
|
+
import "./chunk-DZPGLX7M.js";
|
|
325
325
|
import "./chunk-RTFUUYHW.js";
|
|
326
|
-
import "./chunk-
|
|
326
|
+
import "./chunk-WOO572MR.js";
|
|
327
327
|
import "./chunk-K5SPVYI4.js";
|
|
328
328
|
import "./chunk-KD7GIK2D.js";
|
|
329
|
-
import "./chunk-
|
|
329
|
+
import "./chunk-N4ANLNQG.js";
|
|
330
330
|
import "./chunk-LXUIOY3M.js";
|
|
331
331
|
import {
|
|
332
332
|
getErrorMessage as getErrorMessage2
|
|
333
|
-
} from "./chunk-
|
|
333
|
+
} from "./chunk-VIXCJWEM.js";
|
|
334
334
|
import {
|
|
335
335
|
openDashScopeAsrRealtimeStream,
|
|
336
336
|
openVoiceStream,
|
|
337
337
|
openVoiceStreamWithRetry
|
|
338
338
|
} from "./chunk-MTSHGY6F.js";
|
|
339
|
-
import "./chunk-
|
|
339
|
+
import "./chunk-QFGGMNXV.js";
|
|
340
340
|
import "./chunk-LL7XM3LM.js";
|
|
341
341
|
import {
|
|
342
342
|
cpLen,
|
|
@@ -361,7 +361,7 @@ import {
|
|
|
361
361
|
isStreamingVoiceModel,
|
|
362
362
|
resolveVoiceStreamConfig,
|
|
363
363
|
transcribeVoiceAudio
|
|
364
|
-
} from "./chunk-
|
|
364
|
+
} from "./chunk-IAQGBZNZ.js";
|
|
365
365
|
import {
|
|
366
366
|
formatUnsupportedVoiceModelMessage,
|
|
367
367
|
isSelectableVoiceModel
|
|
@@ -374,8 +374,8 @@ import {
|
|
|
374
374
|
} from "./chunk-KQCQCJBL.js";
|
|
375
375
|
import {
|
|
376
376
|
getExtendedSystemInfo
|
|
377
|
-
} from "./chunk-
|
|
378
|
-
import "./chunk-
|
|
377
|
+
} from "./chunk-6MRRD2YD.js";
|
|
378
|
+
import "./chunk-VZIZZYZ2.js";
|
|
379
379
|
import "./chunk-LPCPB2S5.js";
|
|
380
380
|
import "./chunk-LD2T7YET.js";
|
|
381
381
|
import "./chunk-QTAUA6ED.js";
|
|
@@ -385,20 +385,20 @@ import {
|
|
|
385
385
|
REASONING_EFFORT_DEFAULT,
|
|
386
386
|
getReasoningEffortsForConfig,
|
|
387
387
|
getReasoningForDisplay
|
|
388
|
-
} from "./chunk-
|
|
389
|
-
import "./chunk-
|
|
390
|
-
import "./chunk-
|
|
388
|
+
} from "./chunk-KFJXCZWZ.js";
|
|
389
|
+
import "./chunk-ZHYAWJRF.js";
|
|
390
|
+
import "./chunk-ZATS5TUZ.js";
|
|
391
391
|
import {
|
|
392
392
|
isInlineModelOverrideAllowed
|
|
393
|
-
} from "./chunk-
|
|
393
|
+
} from "./chunk-F5TEGYB2.js";
|
|
394
394
|
import {
|
|
395
395
|
buildHigherDisabled,
|
|
396
396
|
computeWorkspaceSkillListUpdates,
|
|
397
397
|
skillSettingStrings
|
|
398
|
-
} from "./chunk-
|
|
398
|
+
} from "./chunk-UZLXX76B.js";
|
|
399
399
|
import {
|
|
400
400
|
loadMcpApprovals
|
|
401
|
-
} from "./chunk-
|
|
401
|
+
} from "./chunk-HVELN6DV.js";
|
|
402
402
|
import {
|
|
403
403
|
require_semver
|
|
404
404
|
} from "./chunk-U4T5CWGD.js";
|
|
@@ -406,7 +406,7 @@ import "./chunk-PHTNY4JK.js";
|
|
|
406
406
|
import {
|
|
407
407
|
createLoadedSettingsAdapter,
|
|
408
408
|
getRawModelProviders
|
|
409
|
-
} from "./chunk-
|
|
409
|
+
} from "./chunk-WGHVI55A.js";
|
|
410
410
|
import {
|
|
411
411
|
CORRUPTED_SUFFIX,
|
|
412
412
|
SettingScope,
|
|
@@ -429,7 +429,7 @@ import {
|
|
|
429
429
|
settingExistsInScope,
|
|
430
430
|
validateSettingValue,
|
|
431
431
|
writeOutputLanguageAndRegisterPath
|
|
432
|
-
} from "./chunk-
|
|
432
|
+
} from "./chunk-Y3KJFSGP.js";
|
|
433
433
|
import "./chunk-EDRKBK4B.js";
|
|
434
434
|
import {
|
|
435
435
|
LOGO_ANIMATIONS,
|
|
@@ -440,7 +440,7 @@ import {
|
|
|
440
440
|
pickLogoAnimation,
|
|
441
441
|
renderLogoRows,
|
|
442
442
|
restFrame
|
|
443
|
-
} from "./chunk-
|
|
443
|
+
} from "./chunk-3ILV7TTQ.js";
|
|
444
444
|
import "./chunk-2JJLDP4A.js";
|
|
445
445
|
import {
|
|
446
446
|
getCurrentLanguage,
|
|
@@ -449,21 +449,21 @@ import {
|
|
|
449
449
|
ta
|
|
450
450
|
} from "./chunk-3CMD4E67.js";
|
|
451
451
|
import "./chunk-Q2V34OV7.js";
|
|
452
|
-
import "./chunk-
|
|
452
|
+
import "./chunk-UP6Q42H2.js";
|
|
453
453
|
import "./chunk-7N5GDAXK.js";
|
|
454
454
|
import "./chunk-JVJT5UI7.js";
|
|
455
455
|
import "./chunk-FMWE3YMM.js";
|
|
456
456
|
import {
|
|
457
457
|
formatVersionLabel,
|
|
458
458
|
getCliVersion
|
|
459
|
-
} from "./chunk-
|
|
459
|
+
} from "./chunk-RPOVX6MQ.js";
|
|
460
460
|
import "./chunk-HQ5DN5W7.js";
|
|
461
461
|
import "./chunk-FRITN2AG.js";
|
|
462
462
|
import "./chunk-F4S6U26O.js";
|
|
463
463
|
import {
|
|
464
464
|
isWorkspaceTrusted,
|
|
465
465
|
loadTrustedFolders
|
|
466
|
-
} from "./chunk-
|
|
466
|
+
} from "./chunk-KRCRVCN5.js";
|
|
467
467
|
import "./chunk-BHXBXELA.js";
|
|
468
468
|
import "./chunk-MXCWSDSC.js";
|
|
469
469
|
import {
|
|
@@ -504,21 +504,21 @@ import {
|
|
|
504
504
|
subagentGenerator,
|
|
505
505
|
supportsHyperlinks,
|
|
506
506
|
wrapForMultiplexer
|
|
507
|
-
} from "./chunk-
|
|
507
|
+
} from "./chunk-AI2PV62X.js";
|
|
508
508
|
import "./chunk-MYMATZAY.js";
|
|
509
509
|
import "./chunk-6IFQXZTP.js";
|
|
510
510
|
import "./chunk-CJ7JDQEG.js";
|
|
511
511
|
import "./chunk-YO3SEHXM.js";
|
|
512
|
-
import "./chunk-
|
|
513
|
-
import "./chunk-
|
|
512
|
+
import "./chunk-CG2QM2MI.js";
|
|
513
|
+
import "./chunk-FQO3QDB5.js";
|
|
514
514
|
import {
|
|
515
515
|
clearWorktreeSession,
|
|
516
516
|
isSessionRuntimeActive,
|
|
517
517
|
readWorktreeSession,
|
|
518
518
|
restoreWorktreeContext
|
|
519
|
-
} from "./chunk-
|
|
520
|
-
import "./chunk-
|
|
521
|
-
import "./chunk-
|
|
519
|
+
} from "./chunk-6TWJYLJE.js";
|
|
520
|
+
import "./chunk-VA7BGQ2G.js";
|
|
521
|
+
import "./chunk-M2EBVYXC.js";
|
|
522
522
|
import "./chunk-4JDEAIW5.js";
|
|
523
523
|
import {
|
|
524
524
|
PEER_ADMISSION_LIMITS,
|
|
@@ -527,8 +527,8 @@ import {
|
|
|
527
527
|
describeHoldCause,
|
|
528
528
|
parseHeldExpiry
|
|
529
529
|
} from "./chunk-TIYFDYIF.js";
|
|
530
|
-
import "./chunk-
|
|
531
|
-
import "./chunk-
|
|
530
|
+
import "./chunk-GNEHVPRR.js";
|
|
531
|
+
import "./chunk-UT656E5I.js";
|
|
532
532
|
import "./chunk-NWCDFCWK.js";
|
|
533
533
|
import "./chunk-ZMZRVR62.js";
|
|
534
534
|
import {
|
|
@@ -536,19 +536,19 @@ import {
|
|
|
536
536
|
isToolHiddenBehindToolSearch,
|
|
537
537
|
resolveWorkflowAuthoringSurface,
|
|
538
538
|
toolSearchBridgeSentence
|
|
539
|
-
} from "./chunk-
|
|
540
|
-
import "./chunk-
|
|
541
|
-
import "./chunk-
|
|
542
|
-
import "./chunk-
|
|
539
|
+
} from "./chunk-FVYOYI7Y.js";
|
|
540
|
+
import "./chunk-OMJU4YIQ.js";
|
|
541
|
+
import "./chunk-IZHKBFYA.js";
|
|
542
|
+
import "./chunk-GQ7GDOJ3.js";
|
|
543
543
|
import "./chunk-F3FKDGHN.js";
|
|
544
|
-
import "./chunk-
|
|
544
|
+
import "./chunk-MG64NR57.js";
|
|
545
545
|
import "./chunk-UBWL27PO.js";
|
|
546
546
|
import "./chunk-BWRP5ZMP.js";
|
|
547
547
|
import "./chunk-DM6W2QYB.js";
|
|
548
548
|
import "./chunk-UAACCQBD.js";
|
|
549
549
|
import "./chunk-GVWQRVLV.js";
|
|
550
550
|
import "./chunk-2QYMJSSC.js";
|
|
551
|
-
import "./chunk-
|
|
551
|
+
import "./chunk-SFHAMYFI.js";
|
|
552
552
|
import "./chunk-AVCUVYSA.js";
|
|
553
553
|
import {
|
|
554
554
|
ConditionalRulesRegistry,
|
|
@@ -575,8 +575,6 @@ import {
|
|
|
575
575
|
createInstructionsLoadedCallback,
|
|
576
576
|
didWriteProjectContextFile,
|
|
577
577
|
executeRuntimeShell,
|
|
578
|
-
fetchGitDiff,
|
|
579
|
-
fetchGitDiffHunks,
|
|
580
578
|
finalizeToolResponses,
|
|
581
579
|
findRepeatedDuplicateProviderToolCall,
|
|
582
580
|
fireNotificationHook,
|
|
@@ -584,7 +582,6 @@ import {
|
|
|
584
582
|
getExtensionDisplayName,
|
|
585
583
|
getTimeRangeBounds,
|
|
586
584
|
getToolResponseDisplayText,
|
|
587
|
-
getWorkingTreeLineStats,
|
|
588
585
|
goalToolResultProvenance,
|
|
589
586
|
ideContextStore,
|
|
590
587
|
isActiveWorkflowStatus,
|
|
@@ -609,18 +606,15 @@ import {
|
|
|
609
606
|
recordHandledToolCall,
|
|
610
607
|
refreshMemoryAfterManagedWrite,
|
|
611
608
|
refreshMemoryInstruction,
|
|
612
|
-
resolveBranchName,
|
|
613
609
|
resolveWorkflowSizeGuidelineSetting,
|
|
614
610
|
saveWorkflowScript,
|
|
615
|
-
validateWorkflowName
|
|
616
|
-
|
|
617
|
-
} from "./chunk-TNQJ66S4.js";
|
|
611
|
+
validateWorkflowName
|
|
612
|
+
} from "./chunk-S7EZBSGP.js";
|
|
618
613
|
import "./chunk-FNALBCC7.js";
|
|
619
614
|
import "./chunk-BZOAEOYF.js";
|
|
620
615
|
import "./chunk-BIDB75DA.js";
|
|
621
616
|
import "./chunk-GYGA6V6B.js";
|
|
622
617
|
import "./chunk-EYWIFUPJ.js";
|
|
623
|
-
import "./chunk-DJOP5LOE.js";
|
|
624
618
|
import "./chunk-GNUA6XPQ.js";
|
|
625
619
|
import "./chunk-Y37FNMS7.js";
|
|
626
620
|
import {
|
|
@@ -640,13 +634,19 @@ import {
|
|
|
640
634
|
elapsedActiveTime,
|
|
641
635
|
goalPauseReasonForFailure,
|
|
642
636
|
goalRequiresExactPermit
|
|
643
|
-
} from "./chunk-
|
|
644
|
-
import "./chunk-
|
|
637
|
+
} from "./chunk-WOZVQEFV.js";
|
|
638
|
+
import "./chunk-35RKSP4A.js";
|
|
645
639
|
import {
|
|
646
640
|
GitWorktreeService,
|
|
641
|
+
fetchGitDiff,
|
|
642
|
+
fetchGitDiffHunks,
|
|
643
|
+
getWorkingTreeLineStats,
|
|
647
644
|
readWorktreeSessionMarker,
|
|
645
|
+
resolveBranchName,
|
|
646
|
+
watchRepoBranch,
|
|
648
647
|
writeRuntimeStatus
|
|
649
|
-
} from "./chunk-
|
|
648
|
+
} from "./chunk-CMZHL55Y.js";
|
|
649
|
+
import "./chunk-DJOP5LOE.js";
|
|
650
650
|
import {
|
|
651
651
|
flattenPeerLabel,
|
|
652
652
|
registerSession
|
|
@@ -655,26 +655,26 @@ import "./chunk-OI7IVUEO.js";
|
|
|
655
655
|
import "./chunk-DS3COGEF.js";
|
|
656
656
|
import {
|
|
657
657
|
resolveModelId
|
|
658
|
-
} from "./chunk-
|
|
658
|
+
} from "./chunk-EWJD7EIC.js";
|
|
659
659
|
import {
|
|
660
660
|
glob
|
|
661
661
|
} from "./chunk-OBPGYMIV.js";
|
|
662
662
|
import "./chunk-RS2LNQEC.js";
|
|
663
663
|
import "./chunk-SYMKXR42.js";
|
|
664
|
-
import "./chunk-
|
|
664
|
+
import "./chunk-LERXWKRT.js";
|
|
665
665
|
import "./chunk-CDYMT4OZ.js";
|
|
666
666
|
import "./chunk-TC7UXK4M.js";
|
|
667
667
|
import {
|
|
668
668
|
ShellExecutionService,
|
|
669
669
|
isSignalTermination
|
|
670
|
-
} from "./chunk-
|
|
670
|
+
} from "./chunk-FZUEC7ES.js";
|
|
671
671
|
import {
|
|
672
672
|
stripAnsi
|
|
673
673
|
} from "./chunk-WU3R2YUE.js";
|
|
674
674
|
import {
|
|
675
675
|
formatMemoryUsage
|
|
676
676
|
} from "./chunk-M7AWQAB7.js";
|
|
677
|
-
import "./chunk-
|
|
677
|
+
import "./chunk-V23Q4GBY.js";
|
|
678
678
|
import {
|
|
679
679
|
resolveBundleDir
|
|
680
680
|
} from "./chunk-Z2IHOXIK.js";
|
|
@@ -682,19 +682,19 @@ import {
|
|
|
682
682
|
promptIdContext
|
|
683
683
|
} from "./chunk-5JTXPGNQ.js";
|
|
684
684
|
import "./chunk-5QSLFAMR.js";
|
|
685
|
-
import "./chunk-
|
|
685
|
+
import "./chunk-XKOGHPWS.js";
|
|
686
686
|
import "./chunk-HPQNI3OQ.js";
|
|
687
|
-
import "./chunk-
|
|
688
|
-
import "./chunk-
|
|
689
|
-
import "./chunk-
|
|
687
|
+
import "./chunk-GMR3LAWE.js";
|
|
688
|
+
import "./chunk-NVNIFGY3.js";
|
|
689
|
+
import "./chunk-QGVUKQPI.js";
|
|
690
690
|
import "./chunk-CI2ZHR5C.js";
|
|
691
|
-
import "./chunk-
|
|
691
|
+
import "./chunk-L37WUEXT.js";
|
|
692
692
|
import "./chunk-ZFZB6WC5.js";
|
|
693
693
|
import "./chunk-4J6KRUQB.js";
|
|
694
|
-
import "./chunk-
|
|
694
|
+
import "./chunk-TCME6IG6.js";
|
|
695
695
|
import {
|
|
696
696
|
parseRule
|
|
697
|
-
} from "./chunk-
|
|
697
|
+
} from "./chunk-NGPEFWU4.js";
|
|
698
698
|
import {
|
|
699
699
|
APPROVAL_MODES
|
|
700
700
|
} from "./chunk-KQAVEXYD.js";
|
|
@@ -708,17 +708,18 @@ import {
|
|
|
708
708
|
} from "./chunk-IO32UWHY.js";
|
|
709
709
|
import "./chunk-OSMXNPJP.js";
|
|
710
710
|
import "./chunk-HX6AICAX.js";
|
|
711
|
-
import "./chunk-
|
|
711
|
+
import "./chunk-3QFZFTMB.js";
|
|
712
712
|
import {
|
|
713
713
|
runOutsideAgentContext
|
|
714
|
-
} from "./chunk-
|
|
714
|
+
} from "./chunk-V75J4GJ2.js";
|
|
715
715
|
import "./chunk-FOZEB37P.js";
|
|
716
716
|
import "./chunk-BQAZCJF7.js";
|
|
717
717
|
import "./chunk-65B6QBMP.js";
|
|
718
|
-
import "./chunk-
|
|
718
|
+
import "./chunk-WUKHAI4J.js";
|
|
719
719
|
import "./chunk-O4IWNFDK.js";
|
|
720
|
+
import "./chunk-WCRZJ5HN.js";
|
|
720
721
|
import "./chunk-NGE3GHMN.js";
|
|
721
|
-
import "./chunk-
|
|
722
|
+
import "./chunk-X6T6YORO.js";
|
|
722
723
|
import "./chunk-WMJL2XAM.js";
|
|
723
724
|
import "./chunk-CP63SY5N.js";
|
|
724
725
|
import {
|
|
@@ -743,7 +744,7 @@ import {
|
|
|
743
744
|
resolveReasoningForModel,
|
|
744
745
|
resolveSavedModelApiKey,
|
|
745
746
|
shouldShowStep
|
|
746
|
-
} from "./chunk-
|
|
747
|
+
} from "./chunk-I2XHQTBX.js";
|
|
747
748
|
import "./chunk-POHJY7RJ.js";
|
|
748
749
|
import {
|
|
749
750
|
ApiCancelEvent,
|
|
@@ -783,14 +784,14 @@ import {
|
|
|
783
784
|
runVisionBridge,
|
|
784
785
|
shouldRunVisionBridge,
|
|
785
786
|
splitImageParts
|
|
786
|
-
} from "./chunk-
|
|
787
|
+
} from "./chunk-FXPZKL6H.js";
|
|
787
788
|
import "./chunk-242JUBPM.js";
|
|
788
789
|
import {
|
|
789
790
|
DEFAULT_CONTEXT_FILENAME,
|
|
790
791
|
getAllMemoryFilenames,
|
|
791
792
|
getUnsupportedImageFormatWarning,
|
|
792
793
|
isSupportedImageMimeType
|
|
793
|
-
} from "./chunk-
|
|
794
|
+
} from "./chunk-H5L5E5NI.js";
|
|
794
795
|
import {
|
|
795
796
|
AUTO_MEMORY_INDEX_FILENAME,
|
|
796
797
|
getAutoMemoryProjectStateDir,
|
|
@@ -803,7 +804,7 @@ import "./chunk-3CMX5LCG.js";
|
|
|
803
804
|
import {
|
|
804
805
|
runSideQuery
|
|
805
806
|
} from "./chunk-KV5QCRFB.js";
|
|
806
|
-
import "./chunk-
|
|
807
|
+
import "./chunk-V4XETRAG.js";
|
|
807
808
|
import "./chunk-ABTPVII7.js";
|
|
808
809
|
import {
|
|
809
810
|
clampInlineMediaPart
|
|
@@ -819,14 +820,14 @@ import {
|
|
|
819
820
|
clampReasoningEffort,
|
|
820
821
|
parseModelReasoningCapabilities,
|
|
821
822
|
reasoningEffortsForCapability
|
|
822
|
-
} from "./chunk-
|
|
823
|
+
} from "./chunk-HOVKZNOX.js";
|
|
823
824
|
import "./chunk-PLWOHBC7.js";
|
|
824
825
|
import "./chunk-LEXKU5FI.js";
|
|
825
826
|
import "./chunk-IQEM74QW.js";
|
|
826
827
|
import "./chunk-2MXORWOC.js";
|
|
827
828
|
import {
|
|
828
829
|
getStartupContextLength
|
|
829
|
-
} from "./chunk-
|
|
830
|
+
} from "./chunk-ZQBNP2ZQ.js";
|
|
830
831
|
import "./chunk-YCTMVTDP.js";
|
|
831
832
|
import "./chunk-JSFADKTB.js";
|
|
832
833
|
import "./chunk-OHAUN3Q5.js";
|
|
@@ -874,7 +875,7 @@ import {
|
|
|
874
875
|
import "./chunk-EPSJPAHV.js";
|
|
875
876
|
import "./chunk-HBBBH6YA.js";
|
|
876
877
|
import "./chunk-HHIX6THS.js";
|
|
877
|
-
import "./chunk-
|
|
878
|
+
import "./chunk-MNGG2WBY.js";
|
|
878
879
|
import "./chunk-LPFK3TO2.js";
|
|
879
880
|
import {
|
|
880
881
|
finalizeStartupProfile,
|
|
@@ -884,7 +885,7 @@ import "./chunk-H7HA2YLC.js";
|
|
|
884
885
|
import {
|
|
885
886
|
registerCleanup,
|
|
886
887
|
runExitCleanup
|
|
887
|
-
} from "./chunk-
|
|
888
|
+
} from "./chunk-2RYXWLLJ.js";
|
|
888
889
|
import {
|
|
889
890
|
clearScreen,
|
|
890
891
|
writeStderrLine,
|
|
@@ -3677,11 +3678,13 @@ var SelectionState = class {
|
|
|
3677
3678
|
|
|
3678
3679
|
// packages/cli/src/ui/selection/selection-text.ts
|
|
3679
3680
|
init_esbuild_shims();
|
|
3680
|
-
function getSelectedText(frame, selection) {
|
|
3681
|
+
function getSelectedText(frame, selection, region) {
|
|
3681
3682
|
if (!frame) {
|
|
3682
3683
|
return "";
|
|
3683
3684
|
}
|
|
3684
3685
|
const { sx, sy, ex, ey } = selection;
|
|
3686
|
+
const left = region ? region.x : 0;
|
|
3687
|
+
const right = /* @__PURE__ */ __name((row) => region ? Math.min(row.length, region.x + region.width) - 1 : row.length - 1, "right");
|
|
3685
3688
|
let text = "";
|
|
3686
3689
|
for (let y = sy; y <= ey; y++) {
|
|
3687
3690
|
const row = frame.cells[y];
|
|
@@ -3691,8 +3694,8 @@ function getSelectedText(frame, selection) {
|
|
|
3691
3694
|
}
|
|
3692
3695
|
continue;
|
|
3693
3696
|
}
|
|
3694
|
-
const startX = y === sy ? sx :
|
|
3695
|
-
const endX = y === ey ? ex : row
|
|
3697
|
+
const startX = y === sy ? Math.max(sx, left) : left;
|
|
3698
|
+
const endX = y === ey ? Math.min(ex, right(row)) : right(row);
|
|
3696
3699
|
let rowText = "";
|
|
3697
3700
|
let skippedLayoutGap = false;
|
|
3698
3701
|
for (let x = Math.max(0, startX); x <= endX && x < row.length; x++) {
|
|
@@ -3950,15 +3953,24 @@ function TextSelectionController(props) {
|
|
|
3950
3953
|
},
|
|
3951
3954
|
[getBuffer]
|
|
3952
3955
|
);
|
|
3956
|
+
const selectedText = (0, import_react20.useCallback)(
|
|
3957
|
+
(normalized) => {
|
|
3958
|
+
const rect = getActiveRect() ?? void 0;
|
|
3959
|
+
const source = rect?.copyText?.(normalized);
|
|
3960
|
+
if (source !== void 0 && source !== null) return source;
|
|
3961
|
+
return getSelectedText(getBuffer()?.frame ?? null, normalized, rect);
|
|
3962
|
+
},
|
|
3963
|
+
[getActiveRect, getBuffer]
|
|
3964
|
+
);
|
|
3953
3965
|
const copySelection = (0, import_react20.useCallback)(() => {
|
|
3954
3966
|
const normalized = selectionRef.current.normalized();
|
|
3955
|
-
const text = normalized ?
|
|
3967
|
+
const text = normalized ? selectedText(normalized) : "";
|
|
3956
3968
|
if (text) {
|
|
3957
3969
|
void copyToClipboard(text).catch((error) => {
|
|
3958
3970
|
debugLogger4.warn("Failed to copy selected text:", error);
|
|
3959
3971
|
});
|
|
3960
3972
|
}
|
|
3961
|
-
}, [
|
|
3973
|
+
}, [selectedText]);
|
|
3962
3974
|
const mapEvent = (0, import_react20.useCallback)(
|
|
3963
3975
|
(event) => {
|
|
3964
3976
|
const buffer = getBuffer();
|
|
@@ -4158,19 +4170,26 @@ function TextSelectionController(props) {
|
|
|
4158
4170
|
if (!selectionQueryRef) {
|
|
4159
4171
|
return;
|
|
4160
4172
|
}
|
|
4173
|
+
const getRange = /* @__PURE__ */ __name(() => {
|
|
4174
|
+
const selection = selectionRef.current;
|
|
4175
|
+
if (selection.isEmpty || selection.isCollapsed && selection.mode === "char") {
|
|
4176
|
+
return null;
|
|
4177
|
+
}
|
|
4178
|
+
return selection.normalized();
|
|
4179
|
+
}, "getRange");
|
|
4161
4180
|
selectionQueryRef.current = {
|
|
4162
|
-
getRange
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
return
|
|
4168
|
-
}, "
|
|
4181
|
+
getRange,
|
|
4182
|
+
// The same text a mouse-release copy yields, so "Copy Selection" and
|
|
4183
|
+
// the automatic copy never disagree.
|
|
4184
|
+
getText: /* @__PURE__ */ __name(() => {
|
|
4185
|
+
const range = getRange();
|
|
4186
|
+
return range ? selectedText(range) : "";
|
|
4187
|
+
}, "getText")
|
|
4169
4188
|
};
|
|
4170
4189
|
return () => {
|
|
4171
4190
|
selectionQueryRef.current = null;
|
|
4172
4191
|
};
|
|
4173
|
-
}, [selectionQueryRef]);
|
|
4192
|
+
}, [selectionQueryRef, selectedText]);
|
|
4174
4193
|
return null;
|
|
4175
4194
|
}
|
|
4176
4195
|
__name(TextSelectionController, "TextSelectionController");
|
|
@@ -4340,9 +4359,9 @@ function ContentMouseController(props) {
|
|
|
4340
4359
|
}, "onSelect")
|
|
4341
4360
|
});
|
|
4342
4361
|
}
|
|
4343
|
-
const
|
|
4344
|
-
if (
|
|
4345
|
-
const selectionText =
|
|
4362
|
+
const query = propsRef.current.selectionQueryRef?.current;
|
|
4363
|
+
if (query?.getRange()) {
|
|
4364
|
+
const selectionText = query.getText();
|
|
4346
4365
|
if (selectionText) {
|
|
4347
4366
|
items.push({
|
|
4348
4367
|
id: "copy-selection",
|
|
@@ -4435,6 +4454,19 @@ function ContentMouseController(props) {
|
|
|
4435
4454
|
}
|
|
4436
4455
|
__name(ContentMouseController, "ContentMouseController");
|
|
4437
4456
|
|
|
4457
|
+
// packages/cli/src/ui/selection/selection-text-sources.ts
|
|
4458
|
+
init_esbuild_shims();
|
|
4459
|
+
var sources = /* @__PURE__ */ new WeakMap();
|
|
4460
|
+
function setSelectionTextSource(node, source) {
|
|
4461
|
+
if (source) sources.set(node, source);
|
|
4462
|
+
else sources.delete(node);
|
|
4463
|
+
}
|
|
4464
|
+
__name(setSelectionTextSource, "setSelectionTextSource");
|
|
4465
|
+
function getSelectionTextSource(node) {
|
|
4466
|
+
return sources.get(node);
|
|
4467
|
+
}
|
|
4468
|
+
__name(getSelectionTextSource, "getSelectionTextSource");
|
|
4469
|
+
|
|
4438
4470
|
// packages/cli/src/ui/components/MainContent.tsx
|
|
4439
4471
|
var import_jsx_runtime19 = __toESM(require_jsx_runtime(), 1);
|
|
4440
4472
|
var MAX_GEMINI_MESSAGE_LINES = 65536;
|
|
@@ -4776,7 +4808,11 @@ var MainContent = /* @__PURE__ */ __name(({
|
|
|
4776
4808
|
isActive: !uiState.dialogsVisible,
|
|
4777
4809
|
eventsPaused: contextMenuOpen !== null,
|
|
4778
4810
|
getViewportRect: () => scrollRef.current?.getViewportRect() ?? null,
|
|
4779
|
-
getAdditionalSelectableRects: () => [footerRef?.current, inputLinesRef?.current].filter((node) => Boolean(node)).map((node) =>
|
|
4811
|
+
getAdditionalSelectableRects: () => [footerRef?.current, inputLinesRef?.current].filter((node) => Boolean(node)).map((node) => ({
|
|
4812
|
+
...measureElementPosition(node),
|
|
4813
|
+
// The prompt input copies the text that was typed.
|
|
4814
|
+
copyText: getSelectionTextSource(node)
|
|
4815
|
+
})),
|
|
4780
4816
|
getScrollState: () => scrollRef.current?.getScrollState() ?? {
|
|
4781
4817
|
scrollTop: 0,
|
|
4782
4818
|
scrollHeight: 0,
|
|
@@ -9488,6 +9524,7 @@ function ApiKeyStep({
|
|
|
9488
9524
|
flow
|
|
9489
9525
|
}) {
|
|
9490
9526
|
const docUrl = resolveDocumentationUrl(config, flow.state.baseUrl);
|
|
9527
|
+
const clientVersion = (0, import_react35.useContext)(AppContext)?.version;
|
|
9491
9528
|
const [checking, setChecking] = (0, import_react35.useState)(false);
|
|
9492
9529
|
const checkRef = (0, import_react35.useRef)(null);
|
|
9493
9530
|
const refusedKeyRef = (0, import_react35.useRef)(null);
|
|
@@ -9514,7 +9551,8 @@ function ApiKeyStep({
|
|
|
9514
9551
|
baseUrl: flow.state.baseUrl,
|
|
9515
9552
|
apiKey: key,
|
|
9516
9553
|
staticModels: config.models ?? [],
|
|
9517
|
-
signal: controller.signal
|
|
9554
|
+
signal: controller.signal,
|
|
9555
|
+
clientVersion
|
|
9518
9556
|
}).then((result) => {
|
|
9519
9557
|
if (controller.signal.aborted) return;
|
|
9520
9558
|
checkRef.current = null;
|
|
@@ -9936,6 +9974,7 @@ function DiscoveringModelIdsStep({
|
|
|
9936
9974
|
const baseUrl = flow.state.baseUrl;
|
|
9937
9975
|
const apiKey = flow.state.apiKey;
|
|
9938
9976
|
const protocol = protocolOf(flow.state.protocol);
|
|
9977
|
+
const clientVersion = (0, import_react35.useContext)(AppContext)?.version;
|
|
9939
9978
|
const rejectApiKeyRef = (0, import_react35.useRef)(flow.rejectApiKey);
|
|
9940
9979
|
rejectApiKeyRef.current = flow.rejectApiKey;
|
|
9941
9980
|
const setKeyCheckRef = (0, import_react35.useRef)(flow.setKeyCheck);
|
|
@@ -9956,7 +9995,8 @@ function DiscoveringModelIdsStep({
|
|
|
9956
9995
|
baseUrl,
|
|
9957
9996
|
apiKey,
|
|
9958
9997
|
staticModels: builtInModels,
|
|
9959
|
-
signal: controller.signal
|
|
9998
|
+
signal: controller.signal,
|
|
9999
|
+
clientVersion
|
|
9960
10000
|
}).then((result) => {
|
|
9961
10001
|
if (!active) return;
|
|
9962
10002
|
if (result.status === "rejected" && attempt === 0) {
|
|
@@ -9988,7 +10028,8 @@ function DiscoveringModelIdsStep({
|
|
|
9988
10028
|
config.models,
|
|
9989
10029
|
keyCheck,
|
|
9990
10030
|
reusableCheck,
|
|
9991
|
-
attempt
|
|
10031
|
+
attempt,
|
|
10032
|
+
clientVersion
|
|
9992
10033
|
]);
|
|
9993
10034
|
const draftRef = (0, import_react35.useRef)(void 0);
|
|
9994
10035
|
const [draftModelIds, setDraftModelIds] = (0, import_react35.useState)();
|
|
@@ -19703,7 +19744,7 @@ var SourcesTab = /* @__PURE__ */ __name(({
|
|
|
19703
19744
|
onFooter,
|
|
19704
19745
|
reloadSignal
|
|
19705
19746
|
}) => {
|
|
19706
|
-
const [
|
|
19747
|
+
const [sources2, setSources] = (0, import_react68.useState)([]);
|
|
19707
19748
|
const [extensions, setExtensions] = (0, import_react68.useState)([]);
|
|
19708
19749
|
const [selectedIndex, setSelectedIndex] = (0, import_react68.useState)(0);
|
|
19709
19750
|
const [view, setView] = (0, import_react68.useState)("list");
|
|
@@ -19732,9 +19773,9 @@ var SourcesTab = /* @__PURE__ */ __name(({
|
|
|
19732
19773
|
() => [
|
|
19733
19774
|
{ kind: "install-extension" },
|
|
19734
19775
|
{ kind: "add-marketplace" },
|
|
19735
|
-
...
|
|
19776
|
+
...sources2.map((source) => ({ kind: "marketplace", source }))
|
|
19736
19777
|
],
|
|
19737
|
-
[
|
|
19778
|
+
[sources2]
|
|
19738
19779
|
);
|
|
19739
19780
|
(0, import_react68.useEffect)(() => {
|
|
19740
19781
|
if (selectedIndex >= entries.length) {
|
|
@@ -20154,14 +20195,14 @@ var SourcesTab = /* @__PURE__ */ __name(({
|
|
|
20154
20195
|
true
|
|
20155
20196
|
)
|
|
20156
20197
|
] }),
|
|
20157
|
-
|
|
20198
|
+
sources2.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(Box_default, { flexDirection: "column", marginTop: 1, children: [
|
|
20158
20199
|
/* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(Text, { color: theme.text.accent, bold: true, children: [
|
|
20159
20200
|
t("Marketplaces"),
|
|
20160
20201
|
" (",
|
|
20161
|
-
|
|
20202
|
+
sources2.length,
|
|
20162
20203
|
")"
|
|
20163
20204
|
] }),
|
|
20164
|
-
|
|
20205
|
+
sources2.map(
|
|
20165
20206
|
(source, j) => renderRow(
|
|
20166
20207
|
sourcesStart + j,
|
|
20167
20208
|
// Persisted marketplace name is stored raw from untrusted config;
|
|
@@ -22861,7 +22902,7 @@ function DiffDialog({
|
|
|
22861
22902
|
fileHistoryService,
|
|
22862
22903
|
fileCheckpointingEnabled
|
|
22863
22904
|
);
|
|
22864
|
-
const
|
|
22905
|
+
const sources2 = (0, import_react77.useMemo)(() => {
|
|
22865
22906
|
const list = [{ kind: "current", label: t("Current") }];
|
|
22866
22907
|
for (const entry of turns) {
|
|
22867
22908
|
list.push({
|
|
@@ -22878,13 +22919,13 @@ function DiffDialog({
|
|
|
22878
22919
|
const [keyHint, setKeyHint] = (0, import_react77.useState)(null);
|
|
22879
22920
|
const safeSourceIndex = Math.min(
|
|
22880
22921
|
sourceIndex,
|
|
22881
|
-
Math.max(0,
|
|
22922
|
+
Math.max(0, sources2.length - 1)
|
|
22882
22923
|
);
|
|
22883
22924
|
(0, import_react77.useEffect)(() => {
|
|
22884
22925
|
setFileIndex(0);
|
|
22885
22926
|
setViewMode("list");
|
|
22886
22927
|
}, [safeSourceIndex]);
|
|
22887
|
-
const activeSource =
|
|
22928
|
+
const activeSource = sources2[safeSourceIndex];
|
|
22888
22929
|
const files = (0, import_react77.useMemo)(() => {
|
|
22889
22930
|
if (!activeSource) return [];
|
|
22890
22931
|
return activeSource.kind === "current" ? currentToFiles(current.result, current.hunks) : turnToFiles(activeSource.entry.diff);
|
|
@@ -22909,13 +22950,13 @@ function DiffDialog({
|
|
|
22909
22950
|
};
|
|
22910
22951
|
}, [activeSource, current.result]);
|
|
22911
22952
|
const viewModeRef = (0, import_react77.useRef)(viewMode);
|
|
22912
|
-
const sourcesLenRef = (0, import_react77.useRef)(
|
|
22953
|
+
const sourcesLenRef = (0, import_react77.useRef)(sources2.length);
|
|
22913
22954
|
const filesLenRef = (0, import_react77.useRef)(files.length);
|
|
22914
22955
|
const selectedFileRef = (0, import_react77.useRef)(selectedFile);
|
|
22915
22956
|
const onCloseRef = (0, import_react77.useRef)(onClose);
|
|
22916
22957
|
const setKeyHintRef = (0, import_react77.useRef)(setKeyHint);
|
|
22917
22958
|
viewModeRef.current = viewMode;
|
|
22918
|
-
sourcesLenRef.current =
|
|
22959
|
+
sourcesLenRef.current = sources2.length;
|
|
22919
22960
|
filesLenRef.current = files.length;
|
|
22920
22961
|
selectedFileRef.current = selectedFile;
|
|
22921
22962
|
onCloseRef.current = onClose;
|
|
@@ -23017,7 +23058,7 @@ function DiffDialog({
|
|
|
23017
23058
|
] }) : null
|
|
23018
23059
|
] })
|
|
23019
23060
|
] }),
|
|
23020
|
-
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(SourceSwitcher, { sources, sourceIndex: safeSourceIndex }),
|
|
23061
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(SourceSwitcher, { sources: sources2, sourceIndex: safeSourceIndex }),
|
|
23021
23062
|
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Box_default, { marginTop: 1, flexDirection: "column", children: loadingNow ? /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Text, { color: theme.text.secondary, children: t("Loading diff\u2026") }) : !activeSource || files.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Text, { color: theme.text.secondary, children: emptyMessage(
|
|
23022
23063
|
activeSource,
|
|
23023
23064
|
current.result,
|
|
@@ -23051,20 +23092,20 @@ function DiffDialog({
|
|
|
23051
23092
|
contentWidth: dialogWidth - 4
|
|
23052
23093
|
}
|
|
23053
23094
|
) : null }),
|
|
23054
|
-
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Box_default, { marginTop: 1, children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Text, { color: keyHint ? theme.status.warning : theme.text.secondary, children: keyHint && viewMode === "list" ? keyHint : viewMode === "list" ?
|
|
23095
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Box_default, { marginTop: 1, children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Text, { color: keyHint ? theme.status.warning : theme.text.secondary, children: keyHint && viewMode === "list" ? keyHint : viewMode === "list" ? sources2.length > 1 ? t("\u2190/\u2192 source \xB7 \u2191/\u2193 file \xB7 Enter view \xB7 Esc close") : t("\u2191/\u2193 file \xB7 Enter view \xB7 Esc close") : t("\u2190 back \xB7 Esc close") }) })
|
|
23055
23096
|
]
|
|
23056
23097
|
}
|
|
23057
23098
|
);
|
|
23058
23099
|
}
|
|
23059
23100
|
__name(DiffDialog, "DiffDialog");
|
|
23060
23101
|
function SourceSwitcher({
|
|
23061
|
-
sources,
|
|
23102
|
+
sources: sources2,
|
|
23062
23103
|
sourceIndex
|
|
23063
23104
|
}) {
|
|
23064
|
-
if (
|
|
23105
|
+
if (sources2.length <= 1) return null;
|
|
23065
23106
|
return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(Box_default, { marginTop: 1, flexDirection: "row", children: [
|
|
23066
23107
|
sourceIndex > 0 ? /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Text, { color: theme.text.secondary, children: "\u25C0 " }) : /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Text, { children: " " }),
|
|
23067
|
-
|
|
23108
|
+
sources2.map((s, i) => {
|
|
23068
23109
|
const selected = i === sourceIndex;
|
|
23069
23110
|
return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(
|
|
23070
23111
|
Text,
|
|
@@ -23079,7 +23120,7 @@ function SourceSwitcher({
|
|
|
23079
23120
|
`${s.kind}:${i}`
|
|
23080
23121
|
);
|
|
23081
23122
|
}),
|
|
23082
|
-
sourceIndex <
|
|
23123
|
+
sourceIndex < sources2.length - 1 ? /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Text, { color: theme.text.secondary, children: " \u25B6" }) : null
|
|
23083
23124
|
] });
|
|
23084
23125
|
}
|
|
23085
23126
|
__name(SourceSwitcher, "SourceSwitcher");
|
|
@@ -29496,6 +29537,17 @@ function visualClickToOffset(buffer, absoluteVisualRow, clickVisualCol) {
|
|
|
29496
29537
|
);
|
|
29497
29538
|
}
|
|
29498
29539
|
__name(visualClickToOffset, "visualClickToOffset");
|
|
29540
|
+
function visualRangeToText(buffer, start, end) {
|
|
29541
|
+
const from = visualClickToOffset(buffer, start.row, start.col);
|
|
29542
|
+
const to = visualClickToOffset(buffer, end.row, end.col + 1);
|
|
29543
|
+
if (from === null || to === null) return null;
|
|
29544
|
+
return cpSlice(
|
|
29545
|
+
buffer.lines.join("\n"),
|
|
29546
|
+
Math.min(from, to),
|
|
29547
|
+
Math.max(from, to)
|
|
29548
|
+
);
|
|
29549
|
+
}
|
|
29550
|
+
__name(visualRangeToText, "visualRangeToText");
|
|
29499
29551
|
|
|
29500
29552
|
// packages/cli/src/ui/components/shared/TextInputMouseController.tsx
|
|
29501
29553
|
function TextInputMouseController({
|
|
@@ -29715,6 +29767,23 @@ var BaseTextInput = /* @__PURE__ */ __name(({
|
|
|
29715
29767
|
const { hasMeasured } = use_box_metrics_default(linesRef);
|
|
29716
29768
|
(0, import_react105.useLayoutEffect)(() => {
|
|
29717
29769
|
if (selectableLinesRef) selectableLinesRef.current = linesRef.current;
|
|
29770
|
+
const node = linesRef.current;
|
|
29771
|
+
if (!node) return;
|
|
29772
|
+
setSelectionTextSource(node, (selection) => {
|
|
29773
|
+
if (buffer.text.length === 0) return null;
|
|
29774
|
+
const rect = measureElementPosition(node);
|
|
29775
|
+
const lastRow = linesToRender.length - 1;
|
|
29776
|
+
const toCell = /* @__PURE__ */ __name((x, y) => ({
|
|
29777
|
+
row: scrollVisualRow + Math.min(Math.max(y - rect.y, 0), lastRow),
|
|
29778
|
+
col: Math.max(0, x - rect.x)
|
|
29779
|
+
}), "toCell");
|
|
29780
|
+
return visualRangeToText(
|
|
29781
|
+
buffer,
|
|
29782
|
+
toCell(selection.sx, selection.sy),
|
|
29783
|
+
toCell(selection.ex, selection.ey)
|
|
29784
|
+
);
|
|
29785
|
+
});
|
|
29786
|
+
return () => setSelectionTextSource(node, null);
|
|
29718
29787
|
});
|
|
29719
29788
|
(0, import_react105.useLayoutEffect)(
|
|
29720
29789
|
() => () => {
|
|
@@ -31915,7 +31984,7 @@ ${currentText}`);
|
|
|
31915
31984
|
return true;
|
|
31916
31985
|
}
|
|
31917
31986
|
}
|
|
31918
|
-
if (keyMatchers["acceptSuggestion" /* ACCEPT_SUGGESTION */](key) && !key.paste) {
|
|
31987
|
+
if (keyMatchers["acceptSuggestion" /* ACCEPT_SUGGESTION */](key) && !key.paste && completion.suggestions.length > 0) {
|
|
31919
31988
|
const targetIndex = completion.activeSuggestionIndex === -1 ? 0 : completion.activeSuggestionIndex;
|
|
31920
31989
|
const accepted = targetIndex >= 0 && targetIndex < completion.suggestions.length ? completion.suggestions[targetIndex] : void 0;
|
|
31921
31990
|
acceptActiveCompletionSuggestion();
|