@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
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
getRateLimitErrorDetails
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WUKHAI4J.js";
|
|
6
6
|
import {
|
|
7
7
|
isInternalPromptId
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FXPZKL6H.js";
|
|
9
9
|
import {
|
|
10
10
|
createDebugLogger
|
|
11
11
|
} from "./chunk-UK2KIU2V.js";
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import {
|
|
4
4
|
BaseJsonOutputAdapter,
|
|
5
5
|
extractTextFromBlocks
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7J3GH7GE.js";
|
|
7
7
|
import {
|
|
8
8
|
observeHeadlessJsonToolResultWire
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QFGGMNXV.js";
|
|
10
10
|
import {
|
|
11
11
|
init_esbuild_shims
|
|
12
12
|
} from "./chunk-S2467S6L.js";
|
|
@@ -16,10 +16,14 @@ import {
|
|
|
16
16
|
} from "./chunk-7N5GDAXK.js";
|
|
17
17
|
import {
|
|
18
18
|
isWorkspaceTrusted
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-KRCRVCN5.js";
|
|
20
20
|
import {
|
|
21
21
|
require_main
|
|
22
22
|
} from "./chunk-EYWIFUPJ.js";
|
|
23
|
+
import {
|
|
24
|
+
adoptExportedCredentialEnvKeys,
|
|
25
|
+
exportedCredentialEnvKeys
|
|
26
|
+
} from "./chunk-I2XHQTBX.js";
|
|
23
27
|
import {
|
|
24
28
|
writeStderrLineSafe
|
|
25
29
|
} from "./chunk-RANA4SOY.js";
|
|
@@ -81,28 +85,41 @@ var dotEnvSourcedKeys = /* @__PURE__ */ new Set();
|
|
|
81
85
|
var settingsEnvSourcedKeys = /* @__PURE__ */ new Set();
|
|
82
86
|
var inheritedDotEnvKeys = /* @__PURE__ */ new Set();
|
|
83
87
|
var inheritedSettingsEnvKeys = /* @__PURE__ */ new Set();
|
|
88
|
+
var relaunchedBySupervisor = false;
|
|
84
89
|
var inheritedProvenance = process.env[PRIVATE_RELAUNCH_ENV_PROVENANCE];
|
|
85
90
|
delete process.env[PRIVATE_RELAUNCH_ENV_PROVENANCE];
|
|
86
91
|
if (inheritedProvenance) {
|
|
87
92
|
const sources = JSON.parse(inheritedProvenance);
|
|
88
|
-
if (!sources || typeof sources !== "object" || !("dotEnv" in sources) || !("settingsEnv" in sources) || !Array.isArray(sources.dotEnv) || !Array.isArray(sources.settingsEnv) || !sources.dotEnv.every((key) => typeof key === "string") || !sources.settingsEnv.every((key) => typeof key === "string")) {
|
|
93
|
+
if (!sources || typeof sources !== "object" || !("dotEnv" in sources) || !("settingsEnv" in sources) || !Array.isArray(sources.dotEnv) || !Array.isArray(sources.settingsEnv) || !sources.dotEnv.every((key) => typeof key === "string") || !sources.settingsEnv.every((key) => typeof key === "string") || "credentialEnv" in sources && (!Array.isArray(sources.credentialEnv) || !sources.credentialEnv.every((key) => typeof key === "string"))) {
|
|
89
94
|
throw new Error("Invalid inherited environment provenance.");
|
|
90
95
|
}
|
|
91
96
|
for (const key of sources.dotEnv) inheritedDotEnvKeys.add(key);
|
|
92
97
|
for (const key of sources.settingsEnv) inheritedSettingsEnvKeys.add(key);
|
|
98
|
+
relaunchedBySupervisor = "supervised" in sources && sources.supervised === true;
|
|
99
|
+
if ("credentialEnv" in sources && Array.isArray(sources.credentialEnv)) {
|
|
100
|
+
adoptExportedCredentialEnvKeys(sources.credentialEnv);
|
|
101
|
+
}
|
|
93
102
|
Object.assign(process.env, getRelaunchEnvProvenance());
|
|
94
103
|
}
|
|
95
104
|
function hasLoadedEnvironmentValues() {
|
|
96
105
|
return dotEnvSourcedKeys.size > 0 || settingsEnvSourcedKeys.size > 0;
|
|
97
106
|
}
|
|
98
107
|
__name(hasLoadedEnvironmentValues, "hasLoadedEnvironmentValues");
|
|
99
|
-
function
|
|
108
|
+
function wasRelaunchedBySupervisor() {
|
|
109
|
+
return relaunchedBySupervisor;
|
|
110
|
+
}
|
|
111
|
+
__name(wasRelaunchedBySupervisor, "wasRelaunchedBySupervisor");
|
|
112
|
+
function getRelaunchEnvProvenance(options = {}) {
|
|
100
113
|
return {
|
|
101
114
|
[PRIVATE_RELAUNCH_ENV_PROVENANCE]: JSON.stringify({
|
|
102
115
|
dotEnv: [.../* @__PURE__ */ new Set([...inheritedDotEnvKeys, ...dotEnvSourcedKeys])],
|
|
103
116
|
settingsEnv: [
|
|
104
117
|
.../* @__PURE__ */ new Set([...inheritedSettingsEnvKeys, ...settingsEnvSourcedKeys])
|
|
105
|
-
]
|
|
118
|
+
],
|
|
119
|
+
// Names only; the values travel in the environment itself.
|
|
120
|
+
credentialEnv: exportedCredentialEnvKeys(),
|
|
121
|
+
// Marks the one child the supervisor spawns; never passed down further.
|
|
122
|
+
...options.supervised ? { supervised: true } : {}
|
|
106
123
|
})
|
|
107
124
|
};
|
|
108
125
|
}
|
|
@@ -606,6 +623,7 @@ __name(reloadEnvironment, "reloadEnvironment");
|
|
|
606
623
|
export {
|
|
607
624
|
SETTINGS_DIRECTORY_NAME,
|
|
608
625
|
hasLoadedEnvironmentValues,
|
|
626
|
+
wasRelaunchedBySupervisor,
|
|
609
627
|
getRelaunchEnvProvenance,
|
|
610
628
|
preResolveHomeEnvOverrides,
|
|
611
629
|
resetHomeEnvBootstrapForTesting,
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
encodeTextFileContentAsync
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-S7EZBSGP.js";
|
|
6
6
|
import {
|
|
7
7
|
executeBwrap,
|
|
8
8
|
sandboxAsset
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FZUEC7ES.js";
|
|
10
10
|
import {
|
|
11
11
|
assertShellSandboxCwd
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-XKOGHPWS.js";
|
|
13
13
|
import {
|
|
14
14
|
init_esbuild_shims
|
|
15
15
|
} from "./chunk-S2467S6L.js";
|
|
@@ -184,7 +184,7 @@ function classifySedCommandSafety(args) {
|
|
|
184
184
|
if (script.startsWith("-")) return "unknown";
|
|
185
185
|
scripts.push(script);
|
|
186
186
|
scriptArguments.add(i);
|
|
187
|
-
} else if (/^--(?!line-length(?:=|$))/.test(arg)) {
|
|
187
|
+
} else if (/^--(?!(?:quiet|silent)$|line-length(?:=|$))/.test(arg)) {
|
|
188
188
|
return "unknown";
|
|
189
189
|
} else if (arg.startsWith("-") && !SAFE_SED_OPTION.test(arg)) {
|
|
190
190
|
return "unknown";
|
|
@@ -5747,20 +5747,29 @@ import { execSync } from "node:child_process";
|
|
|
5747
5747
|
import os from "node:os";
|
|
5748
5748
|
var debugLogger = createDebugLogger("ENCODING");
|
|
5749
5749
|
var cachedSystemEncoding = void 0;
|
|
5750
|
+
function toDecodableLabel(label) {
|
|
5751
|
+
try {
|
|
5752
|
+
new TextDecoder(label);
|
|
5753
|
+
return label;
|
|
5754
|
+
} catch {
|
|
5755
|
+
return null;
|
|
5756
|
+
}
|
|
5757
|
+
}
|
|
5758
|
+
__name(toDecodableLabel, "toDecodableLabel");
|
|
5750
5759
|
function getCachedEncodingForBuffer(buffer) {
|
|
5751
5760
|
if (isUtf8(buffer)) {
|
|
5752
5761
|
return "utf-8";
|
|
5753
5762
|
}
|
|
5754
|
-
const detected = detectEncodingFromBuffer(buffer);
|
|
5755
|
-
if (detected) {
|
|
5756
|
-
return detected;
|
|
5757
|
-
}
|
|
5758
5763
|
if (cachedSystemEncoding === void 0) {
|
|
5759
5764
|
cachedSystemEncoding = getSystemEncoding();
|
|
5760
5765
|
}
|
|
5761
|
-
if (cachedSystemEncoding) {
|
|
5766
|
+
if (cachedSystemEncoding && cachedSystemEncoding !== "utf-8") {
|
|
5762
5767
|
return cachedSystemEncoding;
|
|
5763
5768
|
}
|
|
5769
|
+
const detected = detectEncodingFromBuffer(buffer);
|
|
5770
|
+
if (detected) {
|
|
5771
|
+
return detected;
|
|
5772
|
+
}
|
|
5764
5773
|
return "utf-8";
|
|
5765
5774
|
}
|
|
5766
5775
|
__name(getCachedEncodingForBuffer, "getCachedEncodingForBuffer");
|
|
@@ -5797,10 +5806,10 @@ function getSystemEncoding() {
|
|
|
5797
5806
|
}
|
|
5798
5807
|
const match = locale.match(/\.(.+)/);
|
|
5799
5808
|
if (match && match[1]) {
|
|
5800
|
-
return match[1].toLowerCase();
|
|
5809
|
+
return toDecodableLabel(match[1].toLowerCase());
|
|
5801
5810
|
}
|
|
5802
5811
|
if (locale && !locale.includes(".")) {
|
|
5803
|
-
return locale.toLowerCase();
|
|
5812
|
+
return toDecodableLabel(locale.toLowerCase());
|
|
5804
5813
|
}
|
|
5805
5814
|
return null;
|
|
5806
5815
|
}
|
|
@@ -5810,7 +5819,7 @@ function windowsCodePageToEncoding(cp) {
|
|
|
5810
5819
|
437: "cp437",
|
|
5811
5820
|
850: "cp850",
|
|
5812
5821
|
852: "cp852",
|
|
5813
|
-
866: "
|
|
5822
|
+
866: "ibm866",
|
|
5814
5823
|
874: "windows-874",
|
|
5815
5824
|
932: "shift_jis",
|
|
5816
5825
|
936: "gbk",
|
|
@@ -5830,7 +5839,13 @@ function windowsCodePageToEncoding(cp) {
|
|
|
5830
5839
|
65001: "utf-8"
|
|
5831
5840
|
};
|
|
5832
5841
|
if (map[cp]) {
|
|
5833
|
-
|
|
5842
|
+
const label = toDecodableLabel(map[cp]);
|
|
5843
|
+
if (!label) {
|
|
5844
|
+
debugLogger.warn(
|
|
5845
|
+
`Windows code page ${cp} ("${map[cp]}") cannot be decoded by TextDecoder; detecting the encoding from the output instead.`
|
|
5846
|
+
);
|
|
5847
|
+
}
|
|
5848
|
+
return label;
|
|
5834
5849
|
}
|
|
5835
5850
|
debugLogger.warn(`Unable to determine encoding for windows code page ${cp}.`);
|
|
5836
5851
|
return null;
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
hasUnsafeDisplayPayload,
|
|
9
9
|
pathHasSkippedDirectoryComponent,
|
|
10
10
|
toCanonicalWorkspaceArtifactPath
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-M2EBVYXC.js";
|
|
12
12
|
import {
|
|
13
13
|
captureRuntimeFileVersion,
|
|
14
14
|
writeRuntimeFile
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UT656E5I.js";
|
|
16
16
|
import {
|
|
17
17
|
checkTeamMemorySecrets
|
|
18
18
|
} from "./chunk-ZMZRVR62.js";
|
|
@@ -24,16 +24,16 @@ import {
|
|
|
24
24
|
detectLineEnding,
|
|
25
25
|
getDiffStat,
|
|
26
26
|
needsUtf8Bom
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-S7EZBSGP.js";
|
|
28
28
|
import {
|
|
29
29
|
FileOperationEvent,
|
|
30
30
|
getLanguageFromFilePath,
|
|
31
31
|
logFileOperation
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-FXPZKL6H.js";
|
|
33
33
|
import {
|
|
34
34
|
fileExists,
|
|
35
35
|
getSpecificMimeType
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-H5L5E5NI.js";
|
|
37
37
|
import {
|
|
38
38
|
isAnyAutoMemPath,
|
|
39
39
|
isTeamAutoMemPath
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
JsonFormatter
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-AI2PV62X.js";
|
|
6
6
|
import {
|
|
7
7
|
parseAndFormatApiError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-S7EZBSGP.js";
|
|
9
9
|
import {
|
|
10
10
|
stripAnsiAndControl
|
|
11
11
|
} from "./chunk-FKI7XUZK.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-UK2KIU2V.js";
|
|
15
15
|
import {
|
|
16
16
|
runExitCleanup
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2RYXWLLJ.js";
|
|
18
18
|
import {
|
|
19
19
|
writeStderrLine
|
|
20
20
|
} from "./chunk-RANA4SOY.js";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// Force strict mode and setup for ESM
|
|
2
|
+
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
BRAND
|
|
5
|
+
} from "./chunk-I2XHQTBX.js";
|
|
6
|
+
import {
|
|
7
|
+
init_esbuild_shims
|
|
8
|
+
} from "./chunk-S2467S6L.js";
|
|
9
|
+
import {
|
|
10
|
+
__name
|
|
11
|
+
} from "./chunk-J2S4EL5Y.js";
|
|
12
|
+
|
|
13
|
+
// packages/core/src/providers/client-identity.ts
|
|
14
|
+
init_esbuild_shims();
|
|
15
|
+
function o1CodeUserAgent(version) {
|
|
16
|
+
return `${BRAND.userAgent}/${version || "unknown"} (${process.platform}; ${process.arch})`;
|
|
17
|
+
}
|
|
18
|
+
__name(o1CodeUserAgent, "o1CodeUserAgent");
|
|
19
|
+
|
|
20
|
+
export {
|
|
21
|
+
o1CodeUserAgent
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @license
|
|
25
|
+
* Copyright 2026 o1-code contributors
|
|
26
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
27
|
+
*/
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
LoadedSettings,
|
|
5
5
|
getNestedProperty,
|
|
6
6
|
getPersistScopeForModelSelection
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Y3KJFSGP.js";
|
|
8
8
|
import {
|
|
9
9
|
getHomeEnvFallbackVars
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UP6Q42H2.js";
|
|
11
11
|
import {
|
|
12
12
|
writeWithBackupSync
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KRCRVCN5.js";
|
|
14
14
|
import {
|
|
15
15
|
preserveModelProviderPlaceholders
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-AI2PV62X.js";
|
|
17
17
|
import {
|
|
18
18
|
resolveEnvVarsInObject
|
|
19
19
|
} from "./chunk-EYWIFUPJ.js";
|
|
@@ -114,6 +114,10 @@ function getRetryAfterDelayMs(error) {
|
|
|
114
114
|
return delayMs > 0 ? Math.min(delayMs, MAX_TIMEOUT_MS) : 0;
|
|
115
115
|
}
|
|
116
116
|
__name(getRetryAfterDelayMs, "getRetryAfterDelayMs");
|
|
117
|
+
function getErrorHeader(error, headerName) {
|
|
118
|
+
return getHeaderValue(error, headerName) ?? getResponseHeaderValue(error, headerName);
|
|
119
|
+
}
|
|
120
|
+
__name(getErrorHeader, "getErrorHeader");
|
|
117
121
|
function getHeaderValue(error, headerName) {
|
|
118
122
|
if (!hasHeaders(error)) return null;
|
|
119
123
|
const { headers } = error;
|
|
@@ -396,6 +400,14 @@ function classifyRetryError(error, context = {}) {
|
|
|
396
400
|
...common
|
|
397
401
|
};
|
|
398
402
|
}
|
|
403
|
+
if (statusCode === 502 && providerCode === "upstream_redirected") {
|
|
404
|
+
return {
|
|
405
|
+
kind,
|
|
406
|
+
diagnosis: "fail-fast",
|
|
407
|
+
reason: "permanent-provider-code",
|
|
408
|
+
...common
|
|
409
|
+
};
|
|
410
|
+
}
|
|
399
411
|
if (statusCode >= 500 && statusCode < 600) {
|
|
400
412
|
return {
|
|
401
413
|
kind,
|
|
@@ -551,6 +563,7 @@ export {
|
|
|
551
563
|
formatQuotaExhaustedMessage,
|
|
552
564
|
getRetryDelayMs,
|
|
553
565
|
getRetryAfterDelayMs,
|
|
566
|
+
getErrorHeader,
|
|
554
567
|
isRateLimitError,
|
|
555
568
|
getRateLimitErrorDetails,
|
|
556
569
|
getRateLimitRetryDelayMs,
|
|
@@ -99,7 +99,7 @@ async function probeShellSandbox(policy, signal = new AbortController().signal)
|
|
|
99
99
|
await mkdir(policy.state, { recursive: true, mode: 448 });
|
|
100
100
|
if (realpathSync(policy.state) !== policy.state)
|
|
101
101
|
throw new Error("Sandbox state directory changed after admission.");
|
|
102
|
-
const { executeBwrap } = await import("./bwrap-execution-
|
|
102
|
+
const { executeBwrap } = await import("./bwrap-execution-QFG5RQSP.js");
|
|
103
103
|
const handle = await executeBwrap(
|
|
104
104
|
policy,
|
|
105
105
|
{
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
customDeepMerge,
|
|
9
9
|
getSettingsSchema
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3ILV7TTQ.js";
|
|
11
11
|
import {
|
|
12
12
|
CONSOLIDATED_DISABLE_KEYS,
|
|
13
13
|
V1_INDICATOR_KEYS,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
getHomeEnvFallbackVars,
|
|
27
27
|
loadEnvironment,
|
|
28
28
|
preResolveHomeEnvOverrides
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-UP6Q42H2.js";
|
|
30
30
|
import {
|
|
31
31
|
ENV_CORRUPTED_PATH,
|
|
32
32
|
ENV_WAS_RECOVERED
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
import {
|
|
46
46
|
isWorkspaceTrusted,
|
|
47
47
|
updateSettingsFilePreservingFormat
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-KRCRVCN5.js";
|
|
49
49
|
import {
|
|
50
50
|
require_strip_json_comments
|
|
51
51
|
} from "./chunk-YCZIOHKD.js";
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
import {
|
|
56
56
|
exportSavedCredentials,
|
|
57
57
|
stripRuntimeSnapshotPrefix
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-I2XHQTBX.js";
|
|
59
59
|
import {
|
|
60
60
|
createDebugLogger
|
|
61
61
|
} from "./chunk-UK2KIU2V.js";
|
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
sanitizeProviderBaseUrl
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-F5TEGYB2.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveModelConfig
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-S7EZBSGP.js";
|
|
9
9
|
import {
|
|
10
10
|
resolveModelSelectionAuthType,
|
|
11
11
|
resolveProviderProtocol,
|
|
12
12
|
stripRuntimeSnapshotPrefix,
|
|
13
13
|
tryResolveModelProtocol
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-I2XHQTBX.js";
|
|
15
15
|
import {
|
|
16
16
|
AuthType,
|
|
17
17
|
MODEL_GENERATION_CONFIG_FIELDS,
|
|
18
18
|
REASONING_EFFORT_TIERS,
|
|
19
19
|
normalizeReasoningEffort
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-HOVKZNOX.js";
|
|
21
21
|
import {
|
|
22
22
|
init_esbuild_shims
|
|
23
23
|
} from "./chunk-S2467S6L.js";
|
|
@@ -571,7 +571,7 @@ async function getInitialChatHistory(config, extraHistory, options = {}) {
|
|
|
571
571
|
const toolRegistry = config.getToolRegistry();
|
|
572
572
|
await toolRegistry.warmAll();
|
|
573
573
|
const includeDeferredToolsReminder = options.includeDeferredToolsReminder ?? true;
|
|
574
|
-
const includeAvailableSkillsReminder = options.includeAvailableSkillsReminder ?? true;
|
|
574
|
+
const includeAvailableSkillsReminder = (options.includeAvailableSkillsReminder ?? true) && !!toolRegistry.getTool(ToolNames.SKILL);
|
|
575
575
|
const startupReminder = config.getSkipStartupContext() ? null : await buildStartupContextReminder(config);
|
|
576
576
|
const skillsResult = includeAvailableSkillsReminder ? await buildAvailableSkillsReminder(config) : null;
|
|
577
577
|
const reminderParts = [
|
|
@@ -707,7 +707,7 @@ __name(resolveForkExecutionAllowedTools, "resolveForkExecutionAllowedTools");
|
|
|
707
707
|
function registerForkDisplayImageForCache(config, advertisedToolNames) {
|
|
708
708
|
if (!advertisedToolNames.includes(ToolNames.DISPLAY_IMAGE)) return;
|
|
709
709
|
config.getToolRegistry().registerFactory(ToolNames.DISPLAY_IMAGE, async () => {
|
|
710
|
-
const { DisplayImageTool } = await import("./display-image-
|
|
710
|
+
const { DisplayImageTool } = await import("./display-image-U6HZKF3G.js");
|
|
711
711
|
return new DisplayImageTool(config);
|
|
712
712
|
});
|
|
713
713
|
}
|
|
@@ -901,6 +901,8 @@ export {
|
|
|
901
901
|
SubagentError,
|
|
902
902
|
SubagentErrorCode,
|
|
903
903
|
getFolderStructure,
|
|
904
|
+
SYSTEM_REMINDER_OPEN,
|
|
905
|
+
SYSTEM_REMINDER_CLOSE,
|
|
904
906
|
formatDateForContext,
|
|
905
907
|
getDirectoryContextString,
|
|
906
908
|
wrapSystemReminder,
|