@organizaone/o1-code 0.20.0 → 0.20.2
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/support/troubleshooting.md +2 -2
- package/chunks/{MaxSizedBox-K6ZIOTK2.js → MaxSizedBox-M6DCBRB7.js} +52 -52
- package/chunks/{StandaloneSessionPicker-GMN2NSOX.js → StandaloneSessionPicker-WOSBURZC.js} +76 -75
- package/chunks/{acp-subagent-executor-3KANENTV.js → acp-subagent-executor-G7N4CYL3.js} +55 -55
- package/chunks/{acpAgent-TH5RJUQR.js → acpAgent-ELHXS6FM.js} +138 -137
- package/chunks/{agent-A4HBS5YW.js → agent-LQAO63NW.js} +35 -35
- package/chunks/{agent-headless-HLZTE5G2.js → agent-headless-EV6Q2XO5.js} +35 -35
- package/chunks/{all-providers-LYA6G2FD.js → all-providers-ONYYU25K.js} +2 -2
- package/chunks/{anthropicContentGenerator-XZTRPOXZ.js → anthropicContentGenerator-O7CCZ4UJ.js} +10 -10
- package/chunks/{bridge-KO43BLNM.js → bridge-GZYADDK2.js} +56 -56
- package/chunks/{bwrap-execution-32LOZ3PS.js → bwrap-execution-A5QZJK2I.js} +3 -3
- package/chunks/{chunk-N343WURR.js → chunk-253UI55H.js} +8 -8
- package/chunks/{chunk-U3KIMPCC.js → chunk-2F3GZ6WG.js} +1 -1
- package/chunks/{chunk-C5YZ6RZC.js → chunk-32HPDVH7.js} +5 -5
- package/chunks/{chunk-UQXFYLTF.js → chunk-3K7BQWZY.js} +1 -1
- package/chunks/chunk-3UJ6A45H.js +259 -0
- package/chunks/{chunk-JZZN42BL.js → chunk-4IIC2T2R.js} +3 -3
- package/chunks/{chunk-ITCYJNMA.js → chunk-4P64F4DP.js} +1 -1
- package/chunks/{chunk-J3O3M5DH.js → chunk-4S4AE3LJ.js} +8 -8
- package/chunks/{chunk-TFAHTLY5.js → chunk-5ENVC5EC.js} +5 -5
- package/chunks/{chunk-M4U4RIDA.js → chunk-5J5ZKY2X.js} +2 -2
- package/chunks/{chunk-UV5VCYRN.js → chunk-63XJSNCN.js} +14 -14
- package/chunks/{chunk-KOVGLJMF.js → chunk-652EXJDT.js} +1 -1
- package/chunks/{chunk-QCYPQQ2L.js → chunk-6M577SEO.js} +3 -3
- package/chunks/{chunk-P37WPAXB.js → chunk-6UDLEDID.js} +1 -1
- package/chunks/{chunk-RSIHHBWT.js → chunk-76WI2Y4C.js} +2 -2
- package/chunks/{chunk-JO2NW4DA.js → chunk-7ADYEHKM.js} +1 -1
- package/chunks/{chunk-2D2DZP65.js → chunk-7LQBFCI2.js} +3 -3
- package/chunks/{chunk-FC4ZD65F.js → chunk-7VO74Y4N.js} +1 -1
- package/chunks/{chunk-Z3JO7QH2.js → chunk-A55LB5TM.js} +1 -1
- package/chunks/{chunk-AD7SSY2F.js → chunk-A5TZZFQL.js} +2 -2
- package/chunks/{chunk-R2W4OGBP.js → chunk-A7LMIP3N.js} +2 -2
- package/chunks/{chunk-6ZM4Q4KZ.js → chunk-AFP5Z5YY.js} +1 -1
- package/chunks/{chunk-KBDFOYPK.js → chunk-ASQLIG2L.js} +18 -18
- package/chunks/{chunk-PASZSKHI.js → chunk-BORCGVXB.js} +3 -3
- package/chunks/{chunk-PUL422GV.js → chunk-BP4CPYAM.js} +1 -1
- package/chunks/{chunk-B7UDYBFE.js → chunk-BRSXP3HF.js} +2 -2
- package/chunks/{chunk-IPWNPFIR.js → chunk-BTH7AZKY.js} +2 -2
- package/chunks/{chunk-DCSRFE4W.js → chunk-BYWZ477D.js} +1 -1
- package/chunks/{chunk-N362SBSD.js → chunk-CHTZUPHL.js} +8 -8
- package/chunks/{chunk-PWDV5AMU.js → chunk-CSL5UZA7.js} +5 -5
- package/chunks/{chunk-CMHOR7E6.js → chunk-D5LGZ7CS.js} +2 -2
- package/chunks/{chunk-NFNJSERR.js → chunk-DASYHVHI.js} +4 -4
- package/chunks/{chunk-VGPRZT2M.js → chunk-DNEDFRFX.js} +189 -180
- package/chunks/{chunk-RGEJESCO.js → chunk-DNFPKNWM.js} +2 -2
- package/chunks/{chunk-DAP4EYT4.js → chunk-EFTQJBOI.js} +1 -1
- package/chunks/{chunk-TR2AGNCI.js → chunk-ELV37APC.js} +1 -1
- package/chunks/{chunk-GONQNZPP.js → chunk-FBUTC46C.js} +2 -2
- package/chunks/{chunk-ABUSH24T.js → chunk-FHB6IME5.js} +2 -2
- package/chunks/{chunk-PXRDPUM6.js → chunk-GMZPGNW5.js} +1 -1
- package/chunks/{chunk-DHERIROV.js → chunk-GQCX6NEQ.js} +52 -52
- package/chunks/{chunk-PPR66GNG.js → chunk-GQHMMDBT.js} +6 -6
- package/chunks/{chunk-3CWK2CPF.js → chunk-HO45CNDB.js} +1 -1
- package/chunks/{chunk-UBWKBJKK.js → chunk-HVQQIKDI.js} +1 -1
- package/chunks/{chunk-I3YBDADP.js → chunk-I4F5VMM4.js} +3 -3
- package/chunks/{chunk-3GJ4USZZ.js → chunk-IEF53O5P.js} +4 -4
- package/chunks/{chunk-CCDVLPJU.js → chunk-IQPPAGQS.js} +13 -13
- package/chunks/{chunk-MYZICQ6P.js → chunk-JIFFPY6X.js} +1 -1
- package/chunks/{chunk-DR6BI3PJ.js → chunk-JOYMKIQF.js} +4 -4
- package/chunks/{chunk-QO7EA4CI.js → chunk-JTE4PIZM.js} +67 -67
- package/chunks/{chunk-TW633LAC.js → chunk-JZOLTE57.js} +4 -4
- package/chunks/{chunk-7WWRFD54.js → chunk-KAYBWROC.js} +24 -24
- package/chunks/{chunk-76RPLLAU.js → chunk-KBC3LE6C.js} +5 -5
- package/chunks/{chunk-OPXI2LPT.js → chunk-KMVJINUM.js} +9 -9
- package/chunks/{chunk-AFLUT27F.js → chunk-L6ZZSVWG.js} +3 -3
- package/chunks/{chunk-HHG3UCD5.js → chunk-LO6VR36F.js} +25 -4
- package/chunks/{chunk-YAUMOXEH.js → chunk-MFZ5PUYA.js} +2 -2
- package/chunks/{chunk-LQN6XWDX.js → chunk-MJPCZDA4.js} +3 -3
- package/chunks/{chunk-XIQ7VRJT.js → chunk-ML2FRS6E.js} +9 -9
- package/chunks/{chunk-ZC4KJUW4.js → chunk-MSAWM65X.js} +1 -1
- package/chunks/{chunk-H4USGTKZ.js → chunk-MYRAFQSK.js} +10 -10
- package/chunks/{chunk-A3JZZ2KW.js → chunk-NJZNVJKQ.js} +1 -1
- package/chunks/{chunk-XHXYPNK5.js → chunk-NSYASZQH.js} +2 -2
- package/chunks/{chunk-YIHZLW3P.js → chunk-O2WH4QNE.js} +3 -3
- package/chunks/{chunk-FB7XHMPT.js → chunk-O3FUFDAZ.js} +1 -1
- package/chunks/{chunk-YCMQJ2GA.js → chunk-OGVEQRC5.js} +7 -7
- package/chunks/{chunk-ESJUUVTV.js → chunk-OJAGNSHH.js} +2 -2
- package/chunks/{chunk-O56BQSMS.js → chunk-OZZ3NZGD.js} +1 -1
- package/chunks/{chunk-5SM3EYY4.js → chunk-PHRIVPFS.js} +2 -2
- package/chunks/{chunk-KRHTSRMS.js → chunk-PIFTZSA7.js} +3 -3
- package/chunks/{chunk-JMM2J43E.js → chunk-PT3CIZIT.js} +5 -5
- package/chunks/{chunk-ACYDX6SG.js → chunk-PU7HOH55.js} +24 -24
- package/chunks/{chunk-NDRT2N3P.js → chunk-PUBQDZLP.js} +1 -1
- package/chunks/{chunk-HKBLZQYR.js → chunk-Q6IDKPJW.js} +1 -1
- package/chunks/{chunk-6BOPO2CB.js → chunk-QFGPKAOX.js} +2 -2
- package/chunks/{chunk-Y4ENGAFT.js → chunk-QWLAQVSU.js} +7 -7
- package/chunks/{chunk-O66QLTOQ.js → chunk-R76Q5SQV.js} +3 -3
- package/chunks/{chunk-TBNE3YTN.js → chunk-RDDHWYCW.js} +67 -24
- package/chunks/{chunk-HFIGGSUW.js → chunk-REFJETG4.js} +6 -6
- package/chunks/{chunk-P7OMODYK.js → chunk-RVRJZT5M.js} +1 -1
- package/chunks/{chunk-YDHYL34R.js → chunk-S57KYLOB.js} +1 -1
- package/chunks/{chunk-KGYXJDO6.js → chunk-SK4V5RB5.js} +9 -9
- package/chunks/{chunk-T65U3AIV.js → chunk-SU6K5JRJ.js} +1 -1
- package/chunks/{chunk-VXEIBLIB.js → chunk-SXRGKQMZ.js} +1 -1
- package/chunks/{chunk-BZHLXJWH.js → chunk-TQDWNJ7Y.js} +1 -1
- package/chunks/{chunk-LIK66ZNQ.js → chunk-TTZZ44LB.js} +27 -27
- package/chunks/{chunk-JFO6OCHQ.js → chunk-TYYTQIEZ.js} +1 -1
- package/chunks/{chunk-DYGCZZA5.js → chunk-TZGS6KLY.js} +17 -17
- package/chunks/{chunk-LWPSKRES.js → chunk-UK437Y3P.js} +5 -5
- package/chunks/{chunk-7FKHLWEJ.js → chunk-VO56ZLLC.js} +1 -1
- package/chunks/{chunk-7WR2OWSW.js → chunk-VZW44QV7.js} +4 -4
- package/chunks/{chunk-Q4XOBX7I.js → chunk-WEVA5QY7.js} +1 -1
- package/chunks/{chunk-XY2UI5DC.js → chunk-WLGGCE26.js} +3 -3
- package/chunks/{chunk-2G3AZNJ5.js → chunk-WLVSOHOJ.js} +4 -4
- package/chunks/{chunk-XJ3KXFNA.js → chunk-X3ZRMOXL.js} +15 -15
- package/chunks/{chunk-Q3Z74K26.js → chunk-XA3N5TO5.js} +1 -1
- package/chunks/{chunk-LDYAEBUL.js → chunk-XKT7PPJD.js} +67 -67
- package/chunks/{chunk-P2GXVRDK.js → chunk-XZYINGV2.js} +2 -2
- package/chunks/{chunk-WPZXZXSA.js → chunk-Y5VJG35A.js} +1 -1
- package/chunks/{chunk-ALDQ36W4.js → chunk-YNZ2HR7V.js} +8 -8
- package/chunks/{chunk-Z5T3GXGZ.js → chunk-ZJKQPIJH.js} +3 -3
- package/chunks/{chunk-PRZNHEG5.js → chunk-ZRR57QY3.js} +4 -4
- package/chunks/{codex-subagent-executor-3QBYJANY.js → codex-subagent-executor-42IWHTXH.js} +55 -55
- package/chunks/{contextCommand-XD5VM34S.js → contextCommand-SKHYM3K7.js} +53 -53
- package/chunks/{core-runtime-H5ARE4YW.js → core-runtime-XN7ACQRM.js} +53 -53
- package/chunks/{create-sub-session-5XUSWWWA.js → create-sub-session-3AA2Y4KO.js} +52 -52
- package/chunks/{daemon-git-worktree-guard-UXVYSWGD.js → daemon-git-worktree-guard-6GL7GAMY.js} +52 -52
- package/chunks/{daemon-status-provider-2GUHT46G.js → daemon-status-provider-HZVH6OMF.js} +61 -61
- package/chunks/{daemon-trust-policy-YH6C3EEL.js → daemon-trust-policy-4O62GJPW.js} +57 -57
- package/chunks/{daemon-trust-policy-monitor-7PXJHNLO.js → daemon-trust-policy-monitor-PADS3D5B.js} +57 -57
- package/chunks/{deferred-core-runtime-HPHPB3AS.js → deferred-core-runtime-TE5JZ4CV.js} +54 -54
- package/chunks/{edit-UIFP2PGV.js → edit-IIBA4J2Y.js} +37 -37
- package/chunks/{en-WAWVEHRK.js → en-LFESTYTB.js} +1 -0
- package/chunks/{enter-worktree-MBAQRK6N.js → enter-worktree-FY6Y6APX.js} +4 -4
- package/chunks/{enterPlanMode-PKYBAO3X.js → enterPlanMode-6XRRTOGI.js} +37 -37
- package/chunks/{environment-3XRGCIX6.js → environment-CDJ5LMVD.js} +53 -53
- package/chunks/{errors-Q2Q7NGQP.js → errors-LCCBD2N5.js} +53 -53
- package/chunks/{execution-sandbox-config-KJBPOX4U.js → execution-sandbox-config-2RI6A7VE.js} +4 -4
- package/chunks/{execution-tool-Q2DAXXRD.js → execution-tool-46DCOYFU.js} +37 -37
- package/chunks/{execution-worker-T2WTYSQ7.js → execution-worker-MA7UKLYX.js} +42 -42
- package/chunks/{exit-worktree-AWEYW2UJ.js → exit-worktree-Q3ZHCBYN.js} +4 -4
- package/chunks/{exitPlanMode-BLJWPV4R.js → exitPlanMode-VUWTTAFT.js} +35 -35
- package/chunks/{fast-path-X2GELFLG.js → fast-path-Z5M2OGP3.js} +5 -5
- package/chunks/{glob-L6UEBSLC.js → glob-KZDAWIYT.js} +35 -35
- package/chunks/{goal-tools-ZND566V3.js → goal-tools-WOAVAL6R.js} +35 -35
- package/chunks/{grep-5HGH34M6.js → grep-JBR55JCA.js} +2 -2
- package/chunks/{handleAutoUpdate-LGVBHACP.js → handleAutoUpdate-M52FPIM7.js} +54 -54
- package/chunks/{i18n-OTJKGAV5.js → i18n-2ORJ7EUZ.js} +52 -52
- package/chunks/{initializer-CUFHN7NP.js → initializer-JKXV3VM4.js} +57 -57
- package/chunks/{installationInfo-FQLMYK6U.js → installationInfo-YAFZTTXR.js} +51 -51
- package/chunks/{list-L4CAJRDW.js → list-PADJYOVB.js} +59 -59
- package/chunks/{llm-DRLY3EPV.js → llm-KRH33LVO.js} +112 -107
- package/chunks/{llm-content-generator-KM3RKFZX.js → llm-content-generator-TJSVJP3S.js} +7 -7
- package/chunks/{loadedSettingsAdapter-EKQLWXD2.js → loadedSettingsAdapter-MBW46SD5.js} +57 -57
- package/chunks/{local-execution-environment-JC6OC65I.js → local-execution-environment-VN3IR5HW.js} +42 -42
- package/chunks/{loggingContentGenerator-RPWVHJXT.js → loggingContentGenerator-23F4KFBU.js} +50 -50
- package/chunks/{managed-npm-update-LU6KESGU.js → managed-npm-update-ZY3PJP5Q.js} +51 -51
- package/chunks/{mcp-C2I7NSP3.js → mcp-4PZN2LIR.js} +57 -57
- package/chunks/{model-call-collection-QAYYACHB.js → model-call-collection-WYHY6DOD.js} +1 -1
- package/chunks/{model-configuration-RJ75ARJ7.js → model-configuration-Z4DFPL2P.js} +58 -58
- package/chunks/{modelConfigUtils-O3FI7FOY.js → modelConfigUtils-Y3CJEJLV.js} +53 -53
- package/chunks/{monitor-YXVBM5LR.js → monitor-ICRZWUVU.js} +36 -36
- package/chunks/{nonInteractiveCli-3IIAHJL7.js → nonInteractiveCli-I2V6MAM6.js} +91 -90
- package/chunks/{nonInteractiveToolExecutor-PXSMVOJQ.js → nonInteractiveToolExecutor-T4U2SQTB.js} +36 -36
- package/chunks/{notebook-edit-CQYOYPLP.js → notebook-edit-RAQ3E2IY.js} +36 -36
- package/chunks/{omni-PDUOKKBQ.js → omni-NM6NMFX7.js} +12 -12
- package/chunks/{openaiContentGenerator-C3PXKTPV.js → openaiContentGenerator-6HGOFBCF.js} +45 -45
- package/chunks/{openaiResponsesContentGenerator-SLIXPGB7.js → openaiResponsesContentGenerator-LEX4GEAX.js} +10 -10
- package/chunks/{processUtils-YYPY2SFA.js → processUtils-QVXMEUVY.js} +2 -2
- package/chunks/{prompt-terminal-ledger-UYCYWEM5.js → prompt-terminal-ledger-SLWWZ32V.js} +52 -52
- package/chunks/{pt-753KIWB2.js → pt-EY6TJFGW.js} +1 -0
- package/chunks/{reactive-degrade-FUVEFE6Z.js → reactive-degrade-RYXUWQNZ.js} +10 -10
- package/chunks/{read-file-Y77OTEMB.js → read-file-CN7ZTEDI.js} +10 -10
- package/chunks/{resumeHistoryUtils-5O5SRG7J.js → resumeHistoryUtils-RJOR4X7G.js} +57 -57
- package/chunks/{ripGrep-ZZFRUTTO.js → ripGrep-XGQKPFSN.js} +14 -14
- package/chunks/{run-o1-code-serve-37AU45X3.js → run-o1-code-serve-OILFC54C.js} +35 -35
- package/chunks/{runtime-shell-policy-6WE6FYXV.js → runtime-shell-policy-ENSGJINV.js} +1 -1
- package/chunks/{sandboxConfig-JIAWD4WT.js → sandboxConfig-HAPLL76L.js} +51 -51
- package/chunks/{scheduled-tasks-I6FYEPHY.js → scheduled-tasks-4THWTS4Y.js} +59 -59
- package/chunks/{scheduler-A234SXNR.js → scheduler-ZFPQQHCZ.js} +53 -53
- package/chunks/{sdk-exporters-grpc-7ZF7NWTA.js → sdk-exporters-grpc-U5H74BEL.js} +2 -2
- package/chunks/{sdk-exporters-http-73LTU25J.js → sdk-exporters-http-34H6REMF.js} +3 -3
- package/chunks/{sdk-impl-IAUUHG7Z.js → sdk-impl-5OTPCVXV.js} +5 -5
- package/chunks/{serve-DQ7KR6A3.js → serve-COVK43MI.js} +57 -57
- package/chunks/{server-5OPR2KC5.js → server-LGQYXUFH.js} +117 -117
- package/chunks/{session-NK4B45E6.js → session-P2DYIN6R.js} +1 -1
- package/chunks/{session-3T2KLRRJ.js → session-WSCO5TIG.js} +92 -91
- package/chunks/{session-attachments-root-DZDFKMRO.js → session-attachments-root-JGGALEUS.js} +51 -51
- package/chunks/{session-pr-refresh-PO26A3TW.js → session-pr-refresh-CPWDRHGO.js} +58 -58
- package/chunks/{settings-AYOSYUSY.js → settings-27RICWM3.js} +56 -56
- package/chunks/{shell-LM4ZECHQ.js → shell-GXQXRLV5.js} +35 -35
- package/chunks/{skill-5GTMZLHX.js → skill-TTXC325A.js} +13 -13
- package/chunks/{skill-settings-TGUCUPFY.js → skill-settings-MAULQ3TM.js} +57 -57
- package/chunks/{spawnChannel-RZEUK5CK.js → spawnChannel-3S2M7K2F.js} +54 -54
- package/chunks/{standalone-update-NFFBVU35.js → standalone-update-3A556HIG.js} +53 -53
- package/chunks/{startInteractiveUI-YG3LWCTV.js → startInteractiveUI-SUV4VAT4.js} +253 -254
- package/chunks/{team-create-ZTHGVM55.js → team-create-3PPBCJY7.js} +35 -35
- package/chunks/{team-plan-approval-XQM5QHQV.js → team-plan-approval-CTXSTGLT.js} +35 -35
- package/chunks/{terminal-image-renderer-4GM5REOR.js → terminal-image-renderer-WQY3JFVO.js} +51 -51
- package/chunks/{theme-manager-7PQ67ZJ6.js → theme-manager-J7AAKTK2.js} +51 -51
- package/chunks/{tool-result-media-IM7ZZGPN.js → tool-result-media-M3P2DAG4.js} +12 -12
- package/chunks/{tool-search-IS4DQX6M.js → tool-search-7U7FG4IT.js} +10 -10
- package/chunks/{total-session-admission-OCMJER6L.js → total-session-admission-FLRO4VNA.js} +56 -56
- package/chunks/{trustedFolders-CFYQFHI4.js → trustedFolders-NKXMHVAW.js} +52 -52
- package/chunks/{update-relaunch-UZRGARRI.js → update-relaunch-MJD4TQTQ.js} +5 -5
- package/chunks/{updateCheck-XMIPWEAF.js → updateCheck-FWIBLR2D.js} +53 -53
- package/chunks/{upload-config-V6A4FZP4.js → upload-config-RRVEVXT4.js} +7 -7
- package/chunks/{useAutoAcceptIndicator-TNSI5JZ6.js → useAutoAcceptIndicator-CBTKHLEO.js} +61 -60
- package/chunks/{validateNonInterActiveAuth-X3DNLPAQ.js → validateNonInterActiveAuth-35VKND26.js} +88 -87
- package/chunks/{version-S2HOZZWG.js → version-RW367FEL.js} +1 -1
- package/chunks/{web-fetch-I4EYZQHF.js → web-fetch-IR64PH6P.js} +10 -10
- package/chunks/{web-search-3QMHJZHC.js → web-search-575SSD6B.js} +8 -8
- package/chunks/{workflow-QKVFIOSW.js → workflow-2BTPXLOQ.js} +38 -38
- package/chunks/{workspace-providers-status-OK37NIGF.js → workspace-providers-status-7ETHMLKH.js} +63 -63
- package/chunks/{workspace-registration-store-E4HOHHEY.js → workspace-registration-store-Z2KQL5YM.js} +1 -1
- package/chunks/{workspace-registry-X4DOIOKQ.js → workspace-registry-SHLVHQ2E.js} +56 -56
- package/chunks/{workspace-runtime-coordinator-S7VOLP7R.js → workspace-runtime-coordinator-DHUENYXW.js} +57 -57
- package/chunks/{workspace-service-72UZ465I.js → workspace-service-RMGMLOY4.js} +61 -61
- package/chunks/{workspace-skills-status-HIGZR2VJ.js → workspace-skills-status-VYXV72SD.js} +60 -60
- package/chunks/{workspace-trust-reconciler-CL3KMM3N.js → workspace-trust-reconciler-I54XA63T.js} +62 -62
- package/chunks/{write-file-YXOVF7VS.js → write-file-EE43NO7H.js} +37 -37
- package/chunks/{zoom-image-TVVCQIUM.js → zoom-image-Q6QNOKVS.js} +10 -10
- package/cli.js +14 -14
- package/execution-worker.js +1 -1
- package/export-transcript-document.js +1 -1
- package/locales/en.js +2 -0
- package/locales/pt.js +2 -0
- package/package.json +3 -2
- package/release-notes.json +12 -0
- package/vendor/ripgrep/COPYING +11 -0
- package/vendor/ripgrep/LICENSE-MIT +21 -0
- package/vendor/ripgrep/UNLICENSE +24 -0
- package/vendor/ripgrep/arm64-win32/rg.exe +0 -0
- package/web-shell/assets/{abnfDiagram-VCTEODGH-BHkxXw31.js → abnfDiagram-VCTEODGH-z6c0GFXg.js} +1 -1
- package/web-shell/assets/{arc-BxDMC9VR.js → arc-D1H1BUod.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-D-Z-7c7-.js → architectureDiagram-5GKGNRK7-Bn0PpSHC.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-WF6lVAAv.js → blockDiagram-NRAW4CY4-1iNfJHTQ.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-QfuHuNrF.js → c4Diagram-UCG6FXSJ-D6zRDM8T.js} +1 -1
- package/web-shell/assets/channel-oE8pKJFn.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-DzYleJ6u.js → chunk-2Q5K7J3B-D1Rmjg2y.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-C3EiPOCs.js → chunk-5VM5RSS4-COdyNeyR.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-GknYYisN.js → chunk-F27PBJKO-GK0cRat4.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-DRvn2m5Q.js → chunk-G27WJ6UU-CH4_aaaL.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-Dvjzh5Eo.js → chunk-JWPE2WC7-DVihw01K.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-D3vU9Mn_.js → chunk-LCL6LL3I-DSvGjOZE.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-BgtuwENg.js → chunk-POPQ4Y6H-D6SVQZ2M.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-Bttyyzbd.js → chunk-SVP7TREG-up0BrUtx.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-COo5CguA.js → chunk-XXDRQBXY-CqtnzNig.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-XqK7eu8w.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-XqK7eu8w.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-DnWXhUAO.js → cose-bilkent-JH36ORCC-B02bBecO.js} +1 -1
- package/web-shell/assets/{cynefin-OW5HDTMX-8ZCxR8Je.js → cynefin-OW5HDTMX-Br_1z3cO.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-kZPFiIZP.js → cynefinDiagram-5FMLGOSQ-CS1KWbEy.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-CGh6F-gj.js → dagre-3AP2YEHR-CsvBQRDU.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-CxKuiWHp.js → diagram-S7CK7UJ4--rElHeb7.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-gajXkHeF.js → diagram-UQ7AKVKN-Be49Etur.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-T6pnpmJZ.js → diagram-VSXAHHWV-Ba2t14dC.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-B9ckIvrZ.js → diagram-VX7I27RA-1oLVSxkG.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-BpenUGiF.js → diagram-Z3DM3KII-BptCVC1-.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-DXKq9JCk.js → ebnfDiagram-PWID7BFC-jC_pcjdP.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-CauiDq96.js → erDiagram-SSCWMZ5O-B2RtFSSf.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-Cl0QzUn4.js → flowDiagram-A5DVABFB-BOpivMwc.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-DA7dTfru.js → ganttDiagram-EL5Y4UJY-Yx9XRrrM.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-9gaEuKuR.js → gitGraphDiagram-WWUBYQGX-BI27bUeL.js} +1 -1
- package/web-shell/assets/{index-wuoxV_5z.js → index-ChRB-xAg.js} +1 -1
- package/web-shell/assets/{index-B6Z-ZPI-.js → index-D0lgrJdb.js} +3 -3
- package/web-shell/assets/{infoDiagram-RXCK75RN-n3Kb6fwf.js → infoDiagram-RXCK75RN-hcu4wZLS.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-Dfv5zN3j.js → ishikawaDiagram-5VMMS53U-ClNh6AxU.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-B08W7lko.js → journeyDiagram-EYS64GPL-X-hxvs-e.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-BukEczk5.js → kanban-definition-3QL26DDD-j1-Bo3JP.js} +1 -1
- package/web-shell/assets/{layout-D4EhlXcx.js → layout-DBz0Jmvk.js} +1 -1
- package/web-shell/assets/{linear-C19v39fE.js → linear-iMTtJ54o.js} +1 -1
- package/web-shell/assets/{mermaid.core-BZbXiwUJ.js → mermaid.core-CZFkyVjC.js} +6 -6
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-DCZZVWM8.js → mindmap-definition-FBJOCRG2-vpFv_mCH.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-CR0NaUZU.js → pegDiagram-XKGWAZYB-B_VYmyAS.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-BosTtKl6.js → pieDiagram-E7YTZNPT-HAULF0GF.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-DybxMpkV.js → quadrantDiagram-AXDQQJYC-Dp6iZe8P.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-DOUs7Er5.js → railroadDiagram-O6MQD6OU-C0wfx3Ka.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-NA0GzEca.js → requirementDiagram-EFPCY7ZU-t5dXKrc9.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-DO10w9NW.js → sankeyDiagram-P5KCCOFB-DOXeBVgk.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-DJTqs15w.js → sequenceDiagram-WJ2MYXX4-CghIZFeC.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-D3E7rt6e.js → sizeCapture-X5ZJPWSS-ChafU-3p.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-65jdEgV4.js → stateDiagram-HBIQ2CUA-hK7ohLs4.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-BcE4kAA6.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-B1Rvb0SG.js → swimlanes-XN3QIQJK-DfzxuHbo.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-BUE7JFK6.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-BrK3c4-F.js → timeline-definition-24CTP7MA-CEg8YNZQ.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-DRsUph9j.js → vennDiagram-4TSXK5OY-BvfG9FFY.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-C1UUQE5C.js → wardleyDiagram-VM6X3IG4-Bt7Yotxp.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-BgUAjHM3.js → xychartDiagram-S5SC5T6Z-hn8Ssagi.js} +1 -1
- package/web-shell/index.html +1 -1
- package/web-shell/sw.js +1 -1
- package/windows-clipboard-worker.js +16 -0
- package/web-shell/assets/channel-Jc8sAjXl.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-nRq5wacL.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-nRq5wacL.js +0 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-Ce4MCIHU.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-DnoCF_Z1.js +0 -8
- package/chunks/{chunk-PKIF4YYA.js → chunk-GT2ATHFG.js} +3 -3
- package/chunks/{chunk-Z3TVPPGU.js → chunk-IE4RH3YW.js} +3 -3
- package/chunks/{chunk-2JPUVHYB.js → chunk-JHRVJBV5.js} +3 -3
- package/chunks/{chunk-YZBNAMA2.js → chunk-M6C3BI2P.js} +0 -0
- package/chunks/{chunk-KICY6OQ7.js → chunk-PHCY2DQ2.js} +3 -3
- package/chunks/{downsample-image-FUPJVVNL.js → downsample-image-HDL6LZNC.js} +3 -3
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-2KK2UJ5B.js";
|
|
9
9
|
import {
|
|
10
10
|
createSessionOrganizationService
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AFP5Z5YY.js";
|
|
12
12
|
import {
|
|
13
13
|
normalizeSessionIdForLookup,
|
|
14
14
|
parseCallerSuppliedSessionId
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
import {
|
|
24
24
|
readWorktreeSession,
|
|
25
25
|
readWorktreeSessionStrict
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-Q6IDKPJW.js";
|
|
27
27
|
import {
|
|
28
28
|
GROUP_COLOR_OPTIONS,
|
|
29
29
|
SESSION_PR_LIST_LIMIT,
|
|
@@ -35,12 +35,12 @@ import {
|
|
|
35
35
|
canonicalSessionPrUrl,
|
|
36
36
|
readSessionPrs,
|
|
37
37
|
toSessionPrInfo
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-DNEDFRFX.js";
|
|
39
39
|
import {
|
|
40
40
|
GitWorktreeService,
|
|
41
41
|
readWorktreeSessionMarkerStrict,
|
|
42
42
|
worktreeHasWork
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-JHRVJBV5.js";
|
|
44
44
|
import {
|
|
45
45
|
cronTaskSessionDeletionId,
|
|
46
46
|
getCronFilePath,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
} from "./chunk-EP7GGUVV.js";
|
|
49
49
|
import {
|
|
50
50
|
addDaemonRequestAttribute
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-2F3GZ6WG.js";
|
|
52
52
|
import {
|
|
53
53
|
writeStderrLine
|
|
54
54
|
} from "./chunk-RANA4SOY.js";
|
|
@@ -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-A5QZJK2I.js");
|
|
103
103
|
const handle = await executeBwrap(
|
|
104
104
|
policy,
|
|
105
105
|
{
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
// Force strict mode and setup for ESM
|
|
2
|
+
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
init_esbuild_shims
|
|
5
|
+
} from "./chunk-S2467S6L.js";
|
|
6
|
+
import {
|
|
7
|
+
__name
|
|
8
|
+
} from "./chunk-J2S4EL5Y.js";
|
|
9
|
+
|
|
10
|
+
// packages/core/src/utils/windows-clipboard.ts
|
|
11
|
+
init_esbuild_shims();
|
|
12
|
+
import { createRequire } from "node:module";
|
|
13
|
+
import path from "node:path";
|
|
14
|
+
var MAX_BYTES = 64 * 1024 * 1024;
|
|
15
|
+
var MAX_PIXELS = 4e7;
|
|
16
|
+
var PNG_SIGNATURE = Buffer.from("89504e470d0a1a0a", "hex");
|
|
17
|
+
var native;
|
|
18
|
+
function loadNative() {
|
|
19
|
+
const koffi = createRequire(import.meta.url)(
|
|
20
|
+
"koffi"
|
|
21
|
+
);
|
|
22
|
+
const root = process.env["SystemRoot"] || "C:\\Windows";
|
|
23
|
+
if (!path.win32.isAbsolute(root))
|
|
24
|
+
throw new Error("Invalid Windows SystemRoot");
|
|
25
|
+
const load = /* @__PURE__ */ __name((name) => koffi.load(path.win32.join(root, "System32", name)), "load");
|
|
26
|
+
const user = load("user32.dll");
|
|
27
|
+
const kernel = load("kernel32.dll");
|
|
28
|
+
return {
|
|
29
|
+
koffi,
|
|
30
|
+
load,
|
|
31
|
+
open: user.func("__stdcall", "OpenClipboard", "int", ["void *"]),
|
|
32
|
+
close: user.func("__stdcall", "CloseClipboard", "int", []),
|
|
33
|
+
available: user.func("__stdcall", "IsClipboardFormatAvailable", "int", [
|
|
34
|
+
"uint32_t"
|
|
35
|
+
]),
|
|
36
|
+
get: user.func("__stdcall", "GetClipboardData", "void *", ["uint32_t"]),
|
|
37
|
+
png: user.func("__stdcall", "RegisterClipboardFormatW", "uint32_t", [
|
|
38
|
+
"str16"
|
|
39
|
+
])("PNG"),
|
|
40
|
+
size: kernel.func("__stdcall", "GlobalSize", "size_t", ["void *"]),
|
|
41
|
+
lock: kernel.func("__stdcall", "GlobalLock", "void *", ["void *"]),
|
|
42
|
+
unlock: kernel.func("__stdcall", "GlobalUnlock", "int", ["void *"])
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
__name(loadNative, "loadNative");
|
|
46
|
+
function api() {
|
|
47
|
+
native ??= loadNative();
|
|
48
|
+
if (!native.png) throw new Error("RegisterClipboardFormatW failed");
|
|
49
|
+
return native;
|
|
50
|
+
}
|
|
51
|
+
__name(api, "api");
|
|
52
|
+
function withClipboard(read) {
|
|
53
|
+
const backend = api();
|
|
54
|
+
if (!backend.open(null)) throw new Error("OpenClipboard failed");
|
|
55
|
+
let result;
|
|
56
|
+
let closed;
|
|
57
|
+
try {
|
|
58
|
+
result = read(backend);
|
|
59
|
+
} finally {
|
|
60
|
+
closed = backend.close();
|
|
61
|
+
}
|
|
62
|
+
if (!closed) throw new Error("CloseClipboard failed");
|
|
63
|
+
return result;
|
|
64
|
+
}
|
|
65
|
+
__name(withClipboard, "withClipboard");
|
|
66
|
+
function copyGlobal(backend, handle) {
|
|
67
|
+
if (!handle) throw new Error("GetClipboardData failed");
|
|
68
|
+
const size = Number(backend.size(handle));
|
|
69
|
+
if (!Number.isSafeInteger(size) || size <= 0 || size > MAX_BYTES) {
|
|
70
|
+
throw new Error("Clipboard allocation exceeds safe bounds");
|
|
71
|
+
}
|
|
72
|
+
const pointer = backend.lock(handle);
|
|
73
|
+
if (!pointer) throw new Error("GlobalLock failed");
|
|
74
|
+
try {
|
|
75
|
+
const bytes = new Uint8Array(backend.koffi.view(pointer, size));
|
|
76
|
+
if (bytes.length !== size)
|
|
77
|
+
throw new Error("Incomplete clipboard allocation");
|
|
78
|
+
return Buffer.from(bytes);
|
|
79
|
+
} finally {
|
|
80
|
+
backend.unlock(handle);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
__name(copyGlobal, "copyGlobal");
|
|
84
|
+
function checkDimensions(width, height) {
|
|
85
|
+
if (width <= 0 || height <= 0 || width * height > MAX_PIXELS) {
|
|
86
|
+
throw new Error("Clipboard image dimensions exceed safe bounds");
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
__name(checkDimensions, "checkDimensions");
|
|
90
|
+
function trimPng(bytes) {
|
|
91
|
+
if (bytes.length < 45 || !bytes.subarray(0, 8).equals(PNG_SIGNATURE) || bytes.readUInt32BE(8) !== 13 || bytes.toString("ascii", 12, 16) !== "IHDR") {
|
|
92
|
+
throw new Error("Malformed clipboard PNG");
|
|
93
|
+
}
|
|
94
|
+
checkDimensions(bytes.readUInt32BE(16), bytes.readUInt32BE(20));
|
|
95
|
+
for (let offset = 8; offset + 12 <= bytes.length; ) {
|
|
96
|
+
const length = bytes.readUInt32BE(offset);
|
|
97
|
+
const end = offset + length + 12;
|
|
98
|
+
if (end > bytes.length) break;
|
|
99
|
+
if (bytes.toString("ascii", offset + 4, offset + 8) === "IEND") {
|
|
100
|
+
if (length !== 0) break;
|
|
101
|
+
return bytes.subarray(0, end);
|
|
102
|
+
}
|
|
103
|
+
offset = end;
|
|
104
|
+
}
|
|
105
|
+
throw new Error("Malformed clipboard PNG chunks");
|
|
106
|
+
}
|
|
107
|
+
__name(trimPng, "trimPng");
|
|
108
|
+
function hasWindowsClipboardImage() {
|
|
109
|
+
if (process.platform !== "win32") return false;
|
|
110
|
+
const backend = api();
|
|
111
|
+
return Boolean(backend.available(backend.png) || backend.available(2));
|
|
112
|
+
}
|
|
113
|
+
__name(hasWindowsClipboardImage, "hasWindowsClipboardImage");
|
|
114
|
+
function getWindowsClipboardText() {
|
|
115
|
+
if (process.platform !== "win32") return void 0;
|
|
116
|
+
return withClipboard((backend) => {
|
|
117
|
+
if (!backend.available(13)) return void 0;
|
|
118
|
+
const bytes = copyGlobal(backend, backend.get(13));
|
|
119
|
+
if (bytes.length % 2 !== 0)
|
|
120
|
+
throw new Error("Malformed clipboard UTF-16 text");
|
|
121
|
+
for (let offset = 0; offset < bytes.length; offset += 2) {
|
|
122
|
+
if (bytes.readUInt16LE(offset) === 0)
|
|
123
|
+
return bytes.toString("utf16le", 0, offset);
|
|
124
|
+
}
|
|
125
|
+
throw new Error("Unterminated clipboard UTF-16 text");
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
__name(getWindowsClipboardText, "getWindowsClipboardText");
|
|
129
|
+
function getWindowsClipboardImage() {
|
|
130
|
+
if (process.platform !== "win32") return null;
|
|
131
|
+
return withClipboard((backend) => {
|
|
132
|
+
let pngFailure;
|
|
133
|
+
if (backend.available(backend.png)) {
|
|
134
|
+
try {
|
|
135
|
+
return trimPng(copyGlobal(backend, backend.get(backend.png)));
|
|
136
|
+
} catch (error) {
|
|
137
|
+
pngFailure = error;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
if (backend.available(2)) return bitmapToPng(backend, backend.get(2));
|
|
141
|
+
if (pngFailure) throw pngFailure;
|
|
142
|
+
return null;
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
__name(getWindowsClipboardImage, "getWindowsClipboardImage");
|
|
146
|
+
function bitmapToPng(backend, handle) {
|
|
147
|
+
if (!handle) throw new Error("GetClipboardData failed");
|
|
148
|
+
const { koffi } = backend;
|
|
149
|
+
const gdi = backend.load("gdi32.dll");
|
|
150
|
+
const bitmap = Buffer.alloc(koffi.sizeof("void *") === 8 ? 32 : 24);
|
|
151
|
+
const getObject = gdi.func("__stdcall", "GetObjectW", "int", [
|
|
152
|
+
"void *",
|
|
153
|
+
"int",
|
|
154
|
+
"void *"
|
|
155
|
+
]);
|
|
156
|
+
if (getObject(handle, bitmap.length, bitmap) !== bitmap.length)
|
|
157
|
+
throw new Error("GetObjectW failed");
|
|
158
|
+
checkDimensions(bitmap.readInt32LE(4), bitmap.readInt32LE(8));
|
|
159
|
+
const gdiplus = backend.load("gdiplus.dll");
|
|
160
|
+
const ole = backend.load("ole32.dll");
|
|
161
|
+
const input = koffi.struct({
|
|
162
|
+
version: "uint32_t",
|
|
163
|
+
callback: "void *",
|
|
164
|
+
suppressThread: "int",
|
|
165
|
+
suppressCodecs: "int"
|
|
166
|
+
});
|
|
167
|
+
const startup = gdiplus.func("__stdcall", "GdiplusStartup", "int", [
|
|
168
|
+
"_Out_ uintptr_t *",
|
|
169
|
+
koffi.pointer(input),
|
|
170
|
+
"void *"
|
|
171
|
+
]);
|
|
172
|
+
const shutdown = gdiplus.func("__stdcall", "GdiplusShutdown", "void", [
|
|
173
|
+
"uintptr_t"
|
|
174
|
+
]);
|
|
175
|
+
const create = gdiplus.func(
|
|
176
|
+
"__stdcall",
|
|
177
|
+
"GdipCreateBitmapFromHBITMAP",
|
|
178
|
+
"int",
|
|
179
|
+
["void *", "void *", "_Out_ void **"]
|
|
180
|
+
);
|
|
181
|
+
const dispose = gdiplus.func("__stdcall", "GdipDisposeImage", "int", [
|
|
182
|
+
"void *"
|
|
183
|
+
]);
|
|
184
|
+
const streamCreate = ole.func(
|
|
185
|
+
"__stdcall",
|
|
186
|
+
"CreateStreamOnHGlobal",
|
|
187
|
+
"int32_t",
|
|
188
|
+
["void *", "int", "_Out_ void **"]
|
|
189
|
+
);
|
|
190
|
+
const streamGlobal = ole.func(
|
|
191
|
+
"__stdcall",
|
|
192
|
+
"GetHGlobalFromStream",
|
|
193
|
+
"int32_t",
|
|
194
|
+
["void *", "_Out_ void **"]
|
|
195
|
+
);
|
|
196
|
+
const save = gdiplus.func("__stdcall", "GdipSaveImageToStream", "int", [
|
|
197
|
+
"void *",
|
|
198
|
+
"void *",
|
|
199
|
+
"void *",
|
|
200
|
+
"void *"
|
|
201
|
+
]);
|
|
202
|
+
const token = [0n];
|
|
203
|
+
const image = [null];
|
|
204
|
+
const stream = [null];
|
|
205
|
+
const global = [null];
|
|
206
|
+
const check = /* @__PURE__ */ __name((status, operation) => {
|
|
207
|
+
if (status !== 0) throw new Error(`${operation} failed (${status})`);
|
|
208
|
+
}, "check");
|
|
209
|
+
check(
|
|
210
|
+
startup(
|
|
211
|
+
token,
|
|
212
|
+
{ version: 1, callback: null, suppressThread: 0, suppressCodecs: 0 },
|
|
213
|
+
null
|
|
214
|
+
),
|
|
215
|
+
"GdiplusStartup"
|
|
216
|
+
);
|
|
217
|
+
try {
|
|
218
|
+
check(create(handle, null, image), "GdipCreateBitmapFromHBITMAP");
|
|
219
|
+
if (!image[0])
|
|
220
|
+
throw new Error("GdipCreateBitmapFromHBITMAP returned no image");
|
|
221
|
+
try {
|
|
222
|
+
check(streamCreate(null, 1, stream), "CreateStreamOnHGlobal");
|
|
223
|
+
if (!stream[0])
|
|
224
|
+
throw new Error("CreateStreamOnHGlobal returned no stream");
|
|
225
|
+
try {
|
|
226
|
+
const encoder = Buffer.from("06f47c55041ad3119a730000f81ef32e", "hex");
|
|
227
|
+
check(
|
|
228
|
+
save(image[0], stream[0], encoder, null),
|
|
229
|
+
"GdipSaveImageToStream"
|
|
230
|
+
);
|
|
231
|
+
check(streamGlobal(stream[0], global), "GetHGlobalFromStream");
|
|
232
|
+
return trimPng(copyGlobal(backend, global[0]));
|
|
233
|
+
} finally {
|
|
234
|
+
const vtable = koffi.decode(stream[0], "void *");
|
|
235
|
+
const release = koffi.decode(
|
|
236
|
+
vtable,
|
|
237
|
+
2 * koffi.sizeof("void *"),
|
|
238
|
+
"void *"
|
|
239
|
+
);
|
|
240
|
+
koffi.call(
|
|
241
|
+
release,
|
|
242
|
+
koffi.proto("__stdcall", "uint32_t", ["void *"]),
|
|
243
|
+
stream[0]
|
|
244
|
+
);
|
|
245
|
+
}
|
|
246
|
+
} finally {
|
|
247
|
+
dispose(image[0]);
|
|
248
|
+
}
|
|
249
|
+
} finally {
|
|
250
|
+
shutdown(token[0]);
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
__name(bitmapToPng, "bitmapToPng");
|
|
254
|
+
|
|
255
|
+
export {
|
|
256
|
+
hasWindowsClipboardImage,
|
|
257
|
+
getWindowsClipboardText,
|
|
258
|
+
getWindowsClipboardImage
|
|
259
|
+
};
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
JsonFormatter
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PU7HOH55.js";
|
|
6
6
|
import {
|
|
7
7
|
parseAndFormatApiError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DNEDFRFX.js";
|
|
9
9
|
import {
|
|
10
10
|
stripAnsiAndControl
|
|
11
11
|
} from "./chunk-FKI7XUZK.js";
|
|
12
12
|
import {
|
|
13
13
|
runExitCleanup
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NJZNVJKQ.js";
|
|
15
15
|
import {
|
|
16
16
|
writeStderrLine
|
|
17
17
|
} from "./chunk-RANA4SOY.js";
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
GrepTool
|
|
5
|
+
} from "./chunk-GT2ATHFG.js";
|
|
3
6
|
import {
|
|
4
7
|
LSTool
|
|
5
8
|
} from "./chunk-INGWSCK5.js";
|
|
6
9
|
import {
|
|
7
10
|
NotebookEditTool
|
|
8
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-A7LMIP3N.js";
|
|
9
12
|
import {
|
|
10
13
|
TaskStopTool
|
|
11
14
|
} from "./chunk-3YBMUB43.js";
|
|
12
15
|
import {
|
|
13
16
|
WriteFileTool
|
|
14
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-QWLAQVSU.js";
|
|
15
18
|
import {
|
|
16
19
|
EditTool
|
|
17
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-KMVJINUM.js";
|
|
18
21
|
import {
|
|
19
22
|
GlobTool
|
|
20
23
|
} from "./chunk-IVVMETSX.js";
|
|
21
|
-
import {
|
|
22
|
-
GrepTool
|
|
23
|
-
} from "./chunk-PKIF4YYA.js";
|
|
24
24
|
import {
|
|
25
25
|
ShellTool,
|
|
26
26
|
isModifiableDeclarativeTool
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-DNEDFRFX.js";
|
|
28
28
|
import {
|
|
29
29
|
ReadFileTool
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-ASQLIG2L.js";
|
|
31
31
|
import {
|
|
32
32
|
init_esbuild_shims
|
|
33
33
|
} from "./chunk-S2467S6L.js";
|
|
@@ -406,22 +406,22 @@ async function createContentGenerator(generatorConfig, config) {
|
|
|
406
406
|
try {
|
|
407
407
|
if (authType === "openai" /* USE_OPENAI */) {
|
|
408
408
|
loadBaseGenerator = /* @__PURE__ */ __name(async () => {
|
|
409
|
-
const { createOpenAIContentGenerator } = await import("./openaiContentGenerator-
|
|
409
|
+
const { createOpenAIContentGenerator } = await import("./openaiContentGenerator-6HGOFBCF.js");
|
|
410
410
|
return createOpenAIContentGenerator(generatorConfig, config);
|
|
411
411
|
}, "loadBaseGenerator");
|
|
412
412
|
} else if (authType === "openai-responses" /* USE_OPENAI_RESPONSES */) {
|
|
413
413
|
loadBaseGenerator = /* @__PURE__ */ __name(async () => {
|
|
414
|
-
const { createOpenAIResponsesContentGenerator } = await import("./openaiResponsesContentGenerator-
|
|
414
|
+
const { createOpenAIResponsesContentGenerator } = await import("./openaiResponsesContentGenerator-LEX4GEAX.js");
|
|
415
415
|
return createOpenAIResponsesContentGenerator(generatorConfig, config);
|
|
416
416
|
}, "loadBaseGenerator");
|
|
417
417
|
} else if (authType === "anthropic" /* USE_ANTHROPIC */) {
|
|
418
418
|
loadBaseGenerator = /* @__PURE__ */ __name(async () => {
|
|
419
|
-
const { createAnthropicContentGenerator } = await import("./anthropicContentGenerator-
|
|
419
|
+
const { createAnthropicContentGenerator } = await import("./anthropicContentGenerator-O7CCZ4UJ.js");
|
|
420
420
|
return createAnthropicContentGenerator(generatorConfig, config);
|
|
421
421
|
}, "loadBaseGenerator");
|
|
422
422
|
} else if (authType === "gemini" /* USE_GEMINI */ || authType === "vertex-ai" /* USE_VERTEX_AI */) {
|
|
423
423
|
loadBaseGenerator = /* @__PURE__ */ __name(async () => {
|
|
424
|
-
const { createLlmContentGenerator } = await import("./llm-content-generator-
|
|
424
|
+
const { createLlmContentGenerator } = await import("./llm-content-generator-TJSVJP3S.js");
|
|
425
425
|
return createLlmContentGenerator(generatorConfig, config);
|
|
426
426
|
}, "loadBaseGenerator");
|
|
427
427
|
} else {
|
|
@@ -436,7 +436,7 @@ async function createContentGenerator(generatorConfig, config) {
|
|
|
436
436
|
try {
|
|
437
437
|
const [baseGenerator, { LoggingContentGenerator }] = await Promise.all([
|
|
438
438
|
loadBaseGenerator(),
|
|
439
|
-
import("./loggingContentGenerator-
|
|
439
|
+
import("./loggingContentGenerator-23F4KFBU.js")
|
|
440
440
|
]);
|
|
441
441
|
return new LoggingContentGenerator(
|
|
442
442
|
baseGenerator,
|
|
@@ -16,14 +16,14 @@ import {
|
|
|
16
16
|
} from "./chunk-MLAF3GLB.js";
|
|
17
17
|
import {
|
|
18
18
|
isWorkspaceTrusted
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-JZOLTE57.js";
|
|
20
20
|
import {
|
|
21
21
|
require_main
|
|
22
22
|
} from "./chunk-EYWIFUPJ.js";
|
|
23
23
|
import {
|
|
24
24
|
adoptExportedCredentialEnvKeys,
|
|
25
25
|
exportedCredentialEnvKeys
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-I4F5VMM4.js";
|
|
27
27
|
import {
|
|
28
28
|
writeStderrLineSafe
|
|
29
29
|
} from "./chunk-RANA4SOY.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
appEvents
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JTE4PIZM.js";
|
|
6
6
|
import {
|
|
7
7
|
loadUndici
|
|
8
8
|
} from "./chunk-7DQWDZUQ.js";
|
|
@@ -11,25 +11,25 @@ import {
|
|
|
11
11
|
HOST_UPDATE_RELAUNCH_ENV_VAR,
|
|
12
12
|
SKIP_UPDATE_CHECK_ENV_VAR,
|
|
13
13
|
requestUpdateOnExit
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GMZPGNW5.js";
|
|
15
15
|
import {
|
|
16
16
|
IdeClient
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-DNEDFRFX.js";
|
|
18
18
|
import {
|
|
19
19
|
initializeTelemetry
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-TYYTQIEZ.js";
|
|
21
21
|
import {
|
|
22
22
|
getAllProviderBaseUrls
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import {
|
|
25
|
-
recordStartupEvent
|
|
26
|
-
} from "./chunk-YQLAMZOT.js";
|
|
23
|
+
} from "./chunk-I4F5VMM4.js";
|
|
27
24
|
import {
|
|
28
25
|
detectRuntime,
|
|
29
26
|
getOrCreateSharedDispatcher,
|
|
30
27
|
preloadRuntimeFetchModule,
|
|
31
28
|
redactProxyCredentials
|
|
32
29
|
} from "./chunk-HDGYCLNB.js";
|
|
30
|
+
import {
|
|
31
|
+
recordStartupEvent
|
|
32
|
+
} from "./chunk-YQLAMZOT.js";
|
|
33
33
|
import {
|
|
34
34
|
createDebugLogger
|
|
35
35
|
} from "./chunk-UK2KIU2V.js";
|
|
@@ -236,11 +236,11 @@ function startPostRenderPrefetches(config, settings, options = {}) {
|
|
|
236
236
|
{ updateEventEmitter },
|
|
237
237
|
{ t }
|
|
238
238
|
] = await Promise.all([
|
|
239
|
-
import("./updateCheck-
|
|
240
|
-
import("./handleAutoUpdate-
|
|
241
|
-
import("./installationInfo-
|
|
239
|
+
import("./updateCheck-FWIBLR2D.js"),
|
|
240
|
+
import("./handleAutoUpdate-M52FPIM7.js"),
|
|
241
|
+
import("./installationInfo-YAFZTTXR.js"),
|
|
242
242
|
import("./updateEventEmitter-7FFRBWJB.js"),
|
|
243
|
-
import("./i18n-
|
|
243
|
+
import("./i18n-2ORJ7EUZ.js")
|
|
244
244
|
]);
|
|
245
245
|
const updateCheckSkippedMessage = /* @__PURE__ */ __name((error) => t("Update check skipped ({{reason}}) \u2014 run /update to retry.", {
|
|
246
246
|
reason: describeUpdateCheckFailure(error)
|
|
@@ -317,7 +317,7 @@ ${t(
|
|
|
317
317
|
state: "connecting"
|
|
318
318
|
});
|
|
319
319
|
try {
|
|
320
|
-
const { connectIdeForStartup } = await import("./initializer-
|
|
320
|
+
const { connectIdeForStartup } = await import("./initializer-JKXV3VM4.js");
|
|
321
321
|
await withTimeout(
|
|
322
322
|
connectIdeForStartup(config),
|
|
323
323
|
"ide_connect",
|
|
@@ -341,7 +341,7 @@ ${t(
|
|
|
341
341
|
}
|
|
342
342
|
if (config.isInteractive()) {
|
|
343
343
|
runDeferredTask("background_housekeeping", async () => {
|
|
344
|
-
const { startBackgroundHousekeeping } = await import("./scheduler-
|
|
344
|
+
const { startBackgroundHousekeeping } = await import("./scheduler-ZFPQQHCZ.js");
|
|
345
345
|
startBackgroundHousekeeping(config, settings);
|
|
346
346
|
});
|
|
347
347
|
}
|
|
@@ -8,16 +8,16 @@ import {
|
|
|
8
8
|
initializeI18n,
|
|
9
9
|
resolveLanguageSetting,
|
|
10
10
|
t
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QFGPKAOX.js";
|
|
12
12
|
import {
|
|
13
13
|
IdeClient
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-DNEDFRFX.js";
|
|
15
15
|
import {
|
|
16
16
|
AuthEvent,
|
|
17
17
|
IdeConnectionEvent,
|
|
18
18
|
logAuth,
|
|
19
19
|
logIdeConnection
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ASQLIG2L.js";
|
|
21
21
|
import {
|
|
22
22
|
getErrorMessage
|
|
23
23
|
} from "./chunk-JAQAGKIV.js";
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
performStandaloneUpdate
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BTH7AZKY.js";
|
|
6
6
|
import {
|
|
7
7
|
updateEventEmitter
|
|
8
8
|
} from "./chunk-KD7GIK2D.js";
|
|
9
9
|
import {
|
|
10
10
|
t
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QFGPKAOX.js";
|
|
12
12
|
import {
|
|
13
13
|
require_semver
|
|
14
14
|
} from "./chunk-U4T5CWGD.js";
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
encodeTextFileContentAsync
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DNEDFRFX.js";
|
|
6
6
|
import {
|
|
7
7
|
executeBwrap,
|
|
8
8
|
sandboxAsset
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PHCY2DQ2.js";
|
|
10
10
|
import {
|
|
11
11
|
assertShellSandboxCwd
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3K7BQWZY.js";
|
|
13
13
|
import {
|
|
14
14
|
init_esbuild_shims
|
|
15
15
|
} from "./chunk-S2467S6L.js";
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
ACP_ROUTE_ID_PREFIX
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PHRIVPFS.js";
|
|
6
6
|
import {
|
|
7
7
|
getEffectiveReasoning,
|
|
8
8
|
isOpenRouterHostname,
|
|
9
9
|
resolveReasoningForModel
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Y5VJG35A.js";
|
|
11
11
|
import {
|
|
12
12
|
REASONING_EFFORT_TIERS,
|
|
13
13
|
clampReasoningEffort,
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
createPatchSmart,
|
|
9
9
|
detectLineEnding,
|
|
10
10
|
getDiffStat
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DNEDFRFX.js";
|
|
12
12
|
import {
|
|
13
13
|
FileOperationEvent,
|
|
14
14
|
logFileOperation
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ASQLIG2L.js";
|
|
16
16
|
import {
|
|
17
17
|
findCellIndex,
|
|
18
18
|
getCellDisplayId,
|