nolo-cli 0.224.0-alpha.2 → 0.224.1
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/{_executeModel-4WBUORCW.js → _executeModel-5NA4USGG.js} +77 -71
- package/{action-CK64LS6S.js → action-X75O3XPH.js} +11 -8
- package/{addContentAction-EQXMFNPR.js → addContentAction-GVC77QSN.js} +14 -13
- package/{addDialogAgentAction-RSDZDASD.js → addDialogAgentAction-KKDVAMW3.js} +15 -14
- package/{agentDeleteCommand-BB6KU5AO.js → agentDeleteCommand-2RFGKFAB.js} +127 -119
- package/{agentEmailCommands-KMHPL6OH.js → agentEmailCommands-GQCQKKOR.js} +126 -114
- package/{agentFavoriteCommands-2LKGKSUD.js → agentFavoriteCommands-7LOP3HUD.js} +5 -5
- package/{agentGrantCommands-QQV4N4JW.js → agentGrantCommands-L6O2HVJI.js} +5 -5
- package/{agentListCommands-5UNM7CGG.js → agentListCommands-HSGLDPDQ.js} +110 -495
- package/{agentMachineCommands-OC5D4YZW.js → agentMachineCommands-BISF6PVV.js} +63 -57
- package/{agentProviderCommands-ZCH37KAL.js → agentProviderCommands-O3Q25PKU.js} +6 -6
- package/{agentPullCommand-XN6ZPBUW.js → agentPullCommand-G6U2LHMW.js} +6 -6
- package/agentRecordCommands-AOXPGYAJ.js +189 -0
- package/{agentRunCommand-M22Y3D5U.js → agentRunCommand-AFAIP7U7.js} +129 -115
- package/{agentRunControl-QDFW5P2T.js → agentRunControl-VBL7UFSG.js} +20 -14
- package/{agentRuntimeLocal-SD7U2EGY.js → agentRuntimeLocal-T7BX2WGL.js} +47 -41
- package/{agentSlice-AJPMMBOP.js → agentSlice-XJNKE3PG.js} +18 -17
- package/{appDeleteCommands-NE3NQQJL.js → appDeleteCommands-LURUSPY7.js} +56 -50
- package/{appDeployCommands-2BAHY522.js → appDeployCommands-SMEW4AK2.js} +56 -50
- package/{appDeployStatusCommands-JTW6LZNC.js → appDeployStatusCommands-VYPJTBJK.js} +56 -50
- package/{appGetCommands-WKFEJO6A.js → appGetCommands-N4NI5GGJ.js} +56 -50
- package/{appListCommands-HNAZZLFX.js → appListCommands-5C6ONN3Z.js} +56 -50
- package/{authCommand-VQP625QS.js → authCommand-4CVBDADE.js} +29 -28
- package/{authCommands-PAKU3CJZ.js → authCommands-EHU2BHOX.js} +12 -11
- package/{builtinSkillRegistry-PXH7EGQB.js → builtinSkillRegistry-AYWYQVA4.js} +4 -4
- package/{chromeOpsCommands-YKX2QX3A.js → chromeOpsCommands-CSDG2HYN.js} +6 -6
- package/{chunk-OOF7XDZF.js → chunk-2574ANSV.js} +6 -6
- package/chunk-2SXN7LAY.js +15 -0
- package/{chunk-OGHP3CTL.js → chunk-2X7WFDT6.js} +1 -1
- package/{chunk-XI2BWJM5.js → chunk-324FWHUA.js} +20 -3
- package/{chunk-D726I5AZ.js → chunk-3EMIEC27.js} +2 -2
- package/{chunk-XUJZYUIM.js → chunk-3FBAVU2Y.js} +24 -22
- package/{chunk-YL3EFYL3.js → chunk-4D4QD7FT.js} +3 -1
- package/{chunk-5RKUPJYL.js → chunk-4FIO2S7Z.js} +11 -3
- package/{chunk-EK7PGVPY.js → chunk-4IQVE43Z.js} +63 -32
- package/{chunk-6NKA6RKF.js → chunk-4Q6HQORG.js} +8 -8
- package/{chunk-P2ZLUIW2.js → chunk-4X5AVCM7.js} +94 -4
- package/chunk-4ZCTKB27.js +31 -0
- package/{chunk-JWXITTQB.js → chunk-5HUO7SEX.js} +9 -107
- package/{chunk-4A2JIXR2.js → chunk-5QZSEQSK.js} +1 -1
- package/chunk-5ZUOVCKT.js +32 -0
- package/{chunk-TRWT3EE3.js → chunk-62HXNQVV.js} +1 -1
- package/{chunk-JC5XLWZK.js → chunk-6CKUO32A.js} +27 -15
- package/chunk-6D25V6CB.js +133 -0
- package/chunk-6WOLPIPY.js +379 -0
- package/{chunk-KOXKKHFE.js → chunk-6WZVM33D.js} +9 -4
- package/{chunk-YGMBIXCF.js → chunk-6XRPBZRS.js} +4 -2
- package/{chunk-ULK35M44.js → chunk-7AJRJGSQ.js} +1049 -2860
- package/chunk-7NIBQ4HY.js +138 -0
- package/{chunk-7Z6EW7AH.js → chunk-7TTMMOKH.js} +13 -6
- package/{chunk-ZLOSGVCQ.js → chunk-A3LUWRQK.js} +15 -15
- package/{chunk-C4WTX5TU.js → chunk-A5EVA6HU.js} +2 -2
- package/{chunk-ZLNHUFOF.js → chunk-A74QP4FI.js} +2613 -1297
- package/{chunk-ME4XUFTD.js → chunk-AEQMKYZN.js} +15 -15
- package/{chunk-6E2NWYT4.js → chunk-AH5R7BYW.js} +22 -176
- package/{chunk-H7R3365N.js → chunk-ANJRDS6U.js} +8 -5
- package/{chunk-YFLVRVYK.js → chunk-AVJDELEA.js} +1 -1
- package/{chunk-GIABSSWQ.js → chunk-B5SV4H3J.js} +4 -4
- package/{chunk-S7RA7A4X.js → chunk-B7DE5XJW.js} +387 -347
- package/chunk-BEM6LPD2.js +734 -0
- package/{chunk-SRL56PI2.js → chunk-BGGAY6OK.js} +46 -8
- package/{chunk-BKJSRO66.js → chunk-BGGV6B5O.js} +555 -328
- package/{chunk-BGGHA5DV.js → chunk-BIABIPGW.js} +1 -1
- package/chunk-BIDSIRTS.js +307 -0
- package/{chunk-6D7NVU66.js → chunk-BXSMFPTG.js} +17 -14
- package/{chunk-Q6HOUF4O.js → chunk-CBUZ6DKA.js} +3 -3
- package/{chunk-LE6LGAJE.js → chunk-CD3RU7XL.js} +17 -2
- package/{chunk-GVGOEMNV.js → chunk-CKZPMJNU.js} +3 -3
- package/{chunk-HJAGA3GR.js → chunk-CVJRVBJL.js} +3 -3
- package/chunk-D374I563.js +62 -0
- package/{chunk-XWGDCWXY.js → chunk-DNZ4JJ7C.js} +9 -9
- package/chunk-DVYAFH2Q.js +103 -0
- package/{chunk-PYIMOZSX.js → chunk-DXW5WDHZ.js} +4 -4
- package/{chunk-KFHREHUQ.js → chunk-DXWGFL2Z.js} +89 -1
- package/{chunk-KPAFQHRT.js → chunk-E5KJOZWY.js} +4 -4
- package/{chunk-GNHMRBYZ.js → chunk-EBKHA63G.js} +106 -14
- package/{chunk-PFJNLBRU.js → chunk-EEOOBRA7.js} +6 -6
- package/{chunk-M3JEW6N6.js → chunk-F26GAEH3.js} +10 -0
- package/{chunk-QLFCTYRH.js → chunk-F3XI6WQP.js} +17 -10
- package/{chunk-AFHOCBSP.js → chunk-F6YWDVIB.js} +1 -1
- package/{chunk-SJYK3LLP.js → chunk-FFYE5ATM.js} +6 -6
- package/{chunk-QG3USDTD.js → chunk-FZKA3XFA.js} +21 -21
- package/{chunk-C4VAR65S.js → chunk-G22P367E.js} +153 -117
- package/{chunk-WOIURUUV.js → chunk-GDUC4VS2.js} +12 -12
- package/{chunk-2VUZSVAS.js → chunk-GXXY2NL3.js} +22 -20
- package/{chunk-IWH5SOU4.js → chunk-H7ZYKHAZ.js} +38 -18
- package/{chunk-G2EJ7NL4.js → chunk-HBRDSQ3M.js} +2 -2
- package/{chunk-EGXPAWLG.js → chunk-HCNOO374.js} +1 -1
- package/{chunk-DJSTBAOU.js → chunk-HOM6LTEW.js} +4 -4
- package/{chunk-S2NTVGA2.js → chunk-I2OYPD3Y.js} +1 -1
- package/{chunk-RXJ26SQW.js → chunk-IJTXNLQE.js} +13 -13
- package/{chunk-UYOICCYG.js → chunk-IUMS6F53.js} +59 -88
- package/{chunk-MOMR7NMG.js → chunk-IUTUWIKE.js} +2 -2
- package/{chunk-JVRQ6YVK.js → chunk-JBWXPACD.js} +1 -1
- package/{chunk-SASHAZ67.js → chunk-KZPEGO6D.js} +13 -2
- package/{chunk-HCJFGH6Y.js → chunk-L32W3PRP.js} +46 -16
- package/{chunk-GGKNJ42M.js → chunk-LYDEFPQP.js} +18 -108
- package/{chunk-K5FNYHZC.js → chunk-MECDGHLK.js} +420 -120
- package/{chunk-EOWLBDY6.js → chunk-MM73SP4K.js} +1 -1
- package/{chunk-J6T25AJ6.js → chunk-MYOSN6BT.js} +82 -18
- package/{chunk-Q7WP5RPC.js → chunk-MYPKBJJO.js} +5 -5
- package/{chunk-6RQFZCKH.js → chunk-N2JROHD3.js} +4 -4
- package/{chunk-VREDDN25.js → chunk-O6IPRAVV.js} +14 -9
- package/{chunk-VALBGPM6.js → chunk-OBSEKCVK.js} +17 -20
- package/{chunk-AMEOV5VZ.js → chunk-OOJNQK6V.js} +33 -33
- package/{chunk-PPJYZRSQ.js → chunk-OX6GNNVT.js} +6 -1
- package/{chunk-5R63B62U.js → chunk-P3IZUMIC.js} +8 -8
- package/{chunk-FRSBYNWI.js → chunk-PGKA77TZ.js} +52 -217
- package/{chunk-H5LWB3D3.js → chunk-PRMEU7BT.js} +347 -14
- package/{chunk-2ZKFCIJJ.js → chunk-PROOOQZ3.js} +1 -1
- package/{chunk-EUCFKKDM.js → chunk-PVFYPUIM.js} +40 -10
- package/{chunk-HOCHUZQ7.js → chunk-QJTZ76CP.js} +24 -6
- package/{chunk-MK2Q7ZJD.js → chunk-R7XWZDOH.js} +58 -24
- package/{chunk-5FUN7EG4.js → chunk-RD3QLZQV.js} +83 -47
- package/chunk-RETQOQ4D.js +33394 -0
- package/{chunk-AVHRSJUH.js → chunk-RM4UMFY4.js} +32 -25
- package/{chunk-2OLYKYNY.js → chunk-RTHFJZ6M.js} +8 -8
- package/{chunk-OB6DVWPF.js → chunk-S2MHR4PU.js} +164 -4
- package/{chunk-IWQAOW2X.js → chunk-SRCCSTIM.js} +8 -8
- package/{chunk-PVZY6P3S.js → chunk-T6VROBY7.js} +2 -2
- package/{chunk-2KTUDBG7.js → chunk-TEMLHVGX.js} +1 -1
- package/{chunk-TVFRV3UQ.js → chunk-TRHJ4NJB.js} +673 -1279
- package/{chunk-QVBXJNZ2.js → chunk-TUSTONB3.js} +1 -1
- package/{chunk-UMRI2IRY.js → chunk-TWTJV35S.js} +6 -6
- package/{chunk-5OZC7R7Y.js → chunk-U3G7RRXJ.js} +13 -12
- package/{chunk-CXDPIPZ4.js → chunk-UFC4J7OY.js} +3 -3
- package/{chunk-CKT6QUE2.js → chunk-UHW6SCVK.js} +1 -1
- package/{chunk-AGP3YSEC.js → chunk-ULLHVDTZ.js} +48 -3
- package/{chunk-SYQR7FQS.js → chunk-VM72HKW2.js} +97 -29
- package/{chunk-KEN3N2TN.js → chunk-VMJVAJ6W.js} +13 -10
- package/{chunk-53X6PS42.js → chunk-VREG6ANQ.js} +103 -100
- package/{chunk-SOF4OWDM.js → chunk-VS276URX.js} +0 -2
- package/{chunk-SH3IKNCG.js → chunk-VSRISJXZ.js} +15 -8
- package/chunk-WDWZPASX.js +29 -0
- package/chunk-WFGNWWJI.js +326 -0
- package/{chunk-UJKTI5PG.js → chunk-WRKMXMU7.js} +2 -1
- package/{chunk-FIYSMXHY.js → chunk-WWTSEBDF.js} +1 -1
- package/{chunk-E2BESSAW.js → chunk-X4O7FJF5.js} +2 -0
- package/chunk-X7IA2B7R.js +166 -0
- package/{chunk-5ZMIIR23.js → chunk-XBAEM4RI.js} +7 -0
- package/{chunk-4JVNURX4.js → chunk-XS5A3EKX.js} +1 -23
- package/{chunk-N5Z2V73W.js → chunk-Y2MF4DCJ.js} +1 -1
- package/{chunk-EVYGYDPG.js → chunk-Y5OWZQMJ.js} +39 -30
- package/{chunk-AK5O76CC.js → chunk-YGCOJNFZ.js} +3 -3
- package/{chunk-L5I543VB.js → chunk-YGDYYFRX.js} +20 -24
- package/{chunk-OK4MZRJ6.js → chunk-Z2WZAE4P.js} +128 -149
- package/chunk-Z6YTCDU4.js +24 -0
- package/chunk-ZEKUFJLW.js +1438 -0
- package/{chunk-KN3HEZIQ.js → chunk-ZVOL2MAJ.js} +1 -1
- package/{cliAgentConfigHelpers-PO3MVDME.js → cliAgentConfigHelpers-U5OAVAKQ.js} +12 -12
- package/{cliAuthorityBrokerClient-XHH7MH2P.js → cliAuthorityBrokerClient-S42VMGB6.js} +1 -1
- package/{cliEnvHelpers-VPSJ4XWC.js → cliEnvHelpers-CNMP3RDX.js} +1 -1
- package/{cliExecutor-4MAX3PZL.js → cliExecutor-K6FDZTQ2.js} +3 -1
- package/{cliLocalAgentRecordReader-Z7CH4K4R.js → cliLocalAgentRecordReader-HVZAQCUD.js} +49 -44
- package/{commandRegistry-3JVE76K2.js → commandRegistry-TME7INFU.js} +98 -94
- package/{contentThunks-SRKUHSBR.js → contentThunks-U6OC4R2N.js} +37 -35
- package/{cooldownCommands-X7P5M2V5.js → cooldownCommands-U7XSRVJP.js} +4 -4
- package/{createAgentAutomationAction-B4BQV46J.js → createAgentAutomationAction-IP4LFN3W.js} +37 -35
- package/{createDialogAction-IONSKZIX.js → createDialogAction-IAGQJ3LH.js} +38 -37
- package/{createPageAction-K75KBQOO.js → createPageAction-AZ3UIFKA.js} +38 -36
- package/{db-CS4ZJQKV.js → db-M7FU2GNK.js} +9 -6
- package/{dbSlice-ZJPDIFER.js → dbSlice-DKKMJJYY.js} +13 -12
- package/{deleteFile-Q3YDB4ML.js → deleteFile-TQSONMVU.js} +11 -8
- package/{dialogCommands-6KQEBHSG.js → dialogCommands-PCDRMBWG.js} +60 -55
- package/dialogMessageRecord-OAV77LT7.js +7 -0
- package/{dialogNotifyCommand-WIZFFEY3.js → dialogNotifyCommand-O35MWMOS.js} +13 -13
- package/{dialogSlice-GPALSBQM.js → dialogSlice-QAKYN4DE.js} +35 -33
- package/{dialogUsageCommand-HTVPR2CX.js → dialogUsageCommand-2SSLTXKO.js} +3 -3
- package/{docCreateCommands-XZOLWBRC.js → docCreateCommands-CFQFZOAD.js} +54 -48
- package/{docDeleteCommands-ZSO4LGWE.js → docDeleteCommands-5CPNTIIS.js} +56 -50
- package/{docReadCommands-TTMXCDER.js → docReadCommands-XQILYSAJ.js} +54 -48
- package/{docStore-O43KOHIX.js → docStore-GIVRT7TQ.js} +15 -14
- package/{docUpdateCommands-PRG6WOXL.js → docUpdateCommands-VETKSUDD.js} +54 -48
- package/fetchMessages-TQEUZD7H.js +1 -1
- package/{getPricing-YH3VMSVU.js → getPricing-LF5C4XSI.js} +5 -5
- package/{handleSendMessageAction-I2GHUSHZ.js → handleSendMessageAction-HKIW4ZNO.js} +70 -66
- package/{hostCredentialCreate-V775SKCE.js → hostCredentialCreate-6VDJFNDO.js} +118 -105
- package/index.js +56 -18
- package/keys-RWF7UCB4.js +1 -1
- package/{lib-OT5OTXRU.js → lib-62SWPXNF.js} +3 -7
- package/{localDialogRead-SVTPA5GY.js → localDialogRead-AV2VKKPG.js} +1 -1
- package/{localRecall-2J6QPOK2.js → localRecall-BDYKXB46.js} +3 -1
- package/{localRuntimeAdapter-SAMUDW5S.js → localRuntimeAdapter-BQ4F5PZV.js} +120 -108
- package/{localRuntimeAuthority-IBJAT62G.js → localRuntimeAuthority-WCNA4A3G.js} +4 -2
- package/{localRuntimeDb-N7KHDXS2.js → localRuntimeDb-CRNIBOOM.js} +1 -1
- package/{machineCommands-ZXZWGMFE.js → machineCommands-K6XIGOAD.js} +142 -115
- package/{machineWsRunDispatch-3ZEI4BEC.js → machineWsRunDispatch-4OO7Z6UM.js} +114 -102
- package/mcpLocalAuthorizeCommand-ZP6ESAGE.js +106 -0
- package/{memberThunks-JRYNONYV.js → memberThunks-PBJPZ2JU.js} +22 -17
- package/{memoryCommands-5WC3T66U.js → memoryCommands-BC6REPQB.js} +4 -4
- package/{models-CXINDUJA.js → models-H5NNZRLH.js} +2 -2
- package/{overlay-THLKYIWY.js → overlay-JA3SPVUS.js} +7 -3
- package/package.json +1 -1
- package/{projectArchive-V7EYBAX6.js → projectArchive-G7AOQPRW.js} +43 -41
- package/{providerPresetApply-SHT2SUVB.js → providerPresetApply-OPBCAONX.js} +6 -6
- package/{providerRegistry-TA7EGCVZ.js → providerRegistry-J2HCVTHE.js} +6 -6
- package/{read-Q7GOHGNP.js → read-JEGPITEW.js} +10 -9
- package/{readDocTool-Z5OQ6422.js → readDocTool-TE3XIU4Y.js} +1 -1
- package/{readlineWorkspace-S4VRNWYG.js → readlineWorkspace-SOW5QUGZ.js} +4412 -4279
- package/{removeDialogAgentAction-U3F2MNAY.js → removeDialogAgentAction-CX3OAH4Y.js} +17 -16
- package/{runAgentClientLoop-MQLOUDF5.js → runAgentClientLoop-HQJPDFGQ.js} +95 -70
- package/{runtimeDoctorCommands-I47JN4HS.js → runtimeDoctorCommands-GUH2YGMH.js} +17 -17
- package/{secretCommands-LJXOOYA7.js → secretCommands-NJXFVHZU.js} +4 -4
- package/{setDialogExtraReferencesAction-G3WSJ7EM.js → setDialogExtraReferencesAction-CGM67EEQ.js} +16 -15
- package/{setPrimaryDialogAgentAction-6FHAHZBB.js → setPrimaryDialogAgentAction-3ABWPPXR.js} +17 -16
- package/{settingThunks-AXTBX3Q5.js → settingThunks-AY76OHYX.js} +181 -62
- package/{skillDiscovery-B5V23AXP.js → skillDiscovery-MDDKPTW3.js} +4 -3
- package/{spaceCommands-IB6FKWIC.js → spaceCommands-G63QGYQO.js} +59 -53
- package/{store-JRVN62NM.js → store-Z53ICFL3.js} +3 -1
- package/{streamAgentChatTurn-GMNIKJVL.js → streamAgentChatTurn-E3XH2KFD.js} +160 -155
- package/{switchDialogAgentAction-UOFIAGPL.js → switchDialogAgentAction-G6EZRKCQ.js} +15 -14
- package/{tableCommands-HITDSLHS.js → tableCommands-JI75ZHDI.js} +14 -11
- package/{toolApiClient-OGQEBQVX.js → toolApiClient-62UUPDUA.js} +3 -5
- package/{tools-MWIF3S4T.js → tools-7RSX22FT.js} +64 -59
- package/tuiRestart-KAAA7TND.js +41 -0
- package/{tuiSummaryLlmCaller-7LWYTHLM.js → tuiSummaryLlmCaller-BVNHMWLR.js} +19 -19
- package/{updateCommands-RJVCRSBP.js → updateCommands-ASK5XYPH.js} +8 -6
- package/{updateDialogTitleAction-ZXHMZFSX.js → updateDialogTitleAction-SEWV252V.js} +37 -35
- package/{usageCommand-RVKHEPLU.js → usageCommand-JVT5J3DC.js} +3 -3
- package/{usageRebuildCommand-GRAFOZF2.js → usageRebuildCommand-IZYYUTEW.js} +4 -4
- package/webapi-24RZDIIQ.js +2488 -0
- package/{windowsSelfUpdate-KERHIAB4.js → windowsSelfUpdate-BSDIS2J5.js} +2 -2
- package/workContext-MM3P5GP5.js +13 -0
- package/workContextAccess-UZHDLBUR.js +11 -0
- package/workContextWriteNotice-YCSSMHN4.js +7 -0
- package/agentRecordCommands-S2IVVEES.js +0 -177
- package/chunk-2THCNKE4.js +0 -147
- package/chunk-2WZXXAQD.js +0 -57
- package/chunk-652XYZGP.js +0 -352
- package/chunk-BJF2MHJ3.js +0 -118
- package/chunk-KEPOVMF4.js +0 -91
- package/chunk-OXKUPBAQ.js +0 -776
- package/{chunk-BLVSFYQ3.js → chunk-LISC7BD4.js} +3 -3
- package/{chunk-SNBZZPYH.js → chunk-OQHIVPG4.js} +3 -3
- package/{chunk-47ITIXO7.js → chunk-USGHJSGO.js} +3 -3
- package/{offlineMarxistsAgentCommand-4IC3Y4C6.js → offlineMarxistsAgentCommand-XVXUE6G5.js} +3 -3
- package/{workloadLifecycle-O2I3NZ2Q.js → workloadLifecycle-YIZ7KLUP.js} +3 -3
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
} from "./chunk-ATNTHIZI.js";
|
|
8
8
|
|
|
9
9
|
// packages/ai/agent/cliExecutor.ts
|
|
10
|
-
import {
|
|
10
|
+
import { execFile, spawn as spawn2 } from "child_process";
|
|
11
11
|
import { randomUUID as randomUUID2 } from "node:crypto";
|
|
12
|
-
import { mkdtempSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
13
|
-
import { isAbsolute, join, resolve } from "node:path";
|
|
12
|
+
import { existsSync, mkdtempSync, readFileSync, realpathSync, rmSync, writeFileSync } from "node:fs";
|
|
13
|
+
import { isAbsolute, join, relative, resolve } from "node:path";
|
|
14
14
|
import { tmpdir } from "node:os";
|
|
15
15
|
import { StringDecoder } from "node:string_decoder";
|
|
16
16
|
|
|
@@ -817,22 +817,24 @@ function executeCopilot(prompt, options) {
|
|
|
817
817
|
} = options;
|
|
818
818
|
return new Promise((resolve2, reject) => {
|
|
819
819
|
const args = [
|
|
820
|
-
"
|
|
821
|
-
"
|
|
822
|
-
|
|
820
|
+
"copilot",
|
|
821
|
+
"--",
|
|
822
|
+
"-p",
|
|
823
|
+
prompt,
|
|
823
824
|
"--silent",
|
|
824
825
|
"--disable-builtin-mcps",
|
|
825
|
-
"--stream
|
|
826
|
+
"--stream",
|
|
827
|
+
"off",
|
|
826
828
|
"--no-color"
|
|
827
829
|
];
|
|
828
|
-
if (model) args.push(
|
|
829
|
-
if (reasoningEffort) args.push(
|
|
830
|
+
if (model) args.push("--model", model);
|
|
831
|
+
if (reasoningEffort) args.push("--reasoning-effort", reasoningEffort);
|
|
830
832
|
if (yolo) args.push("--yolo");
|
|
831
|
-
const cmd = args.join(" ");
|
|
832
833
|
const start = Date.now();
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
834
|
+
execFile(
|
|
835
|
+
"gh",
|
|
836
|
+
args,
|
|
837
|
+
{ timeout, cwd, env: { ...buildCliProcessEnv(options.env), NO_COLOR: "1" } },
|
|
836
838
|
(error, stdout, stderr) => {
|
|
837
839
|
if (error) {
|
|
838
840
|
if (error.killed && error.signal === "SIGTERM") {
|
|
@@ -888,6 +890,35 @@ function parseGeminiStreamJson(stdout) {
|
|
|
888
890
|
}
|
|
889
891
|
return parts.join("");
|
|
890
892
|
}
|
|
893
|
+
function resolveGeminiCommand(env, platform = process.platform) {
|
|
894
|
+
if (platform !== "win32") return { command: "gemini", args: [] };
|
|
895
|
+
const path = Object.entries(env).find(([key]) => key.toLowerCase() === "path")?.[1] ?? "";
|
|
896
|
+
for (const directory of path.split(";")) {
|
|
897
|
+
if (!directory || !isAbsolute(directory)) continue;
|
|
898
|
+
if (existsSync(join(directory, "gemini.exe"))) {
|
|
899
|
+
return { command: join(directory, "gemini.exe"), args: [] };
|
|
900
|
+
}
|
|
901
|
+
if (!existsSync(join(directory, "gemini.cmd"))) continue;
|
|
902
|
+
try {
|
|
903
|
+
const root = realpathSync(join(directory, "node_modules", "@google", "gemini-cli"));
|
|
904
|
+
const manifest = JSON.parse(readFileSync(join(root, "package.json"), "utf8"));
|
|
905
|
+
const bin = typeof manifest.bin === "string" ? manifest.bin : manifest.bin?.gemini;
|
|
906
|
+
if (manifest.name !== "@google/gemini-cli" || typeof bin !== "string" || !bin) {
|
|
907
|
+
throw new Error("missing package bin");
|
|
908
|
+
}
|
|
909
|
+
const entry = realpathSync(resolve(root, bin));
|
|
910
|
+
const withinPackage = relative(root, entry);
|
|
911
|
+
if (withinPackage.startsWith("..") || isAbsolute(withinPackage) || !/\.[cm]?js$/i.test(entry)) {
|
|
912
|
+
throw new Error("package bin is not a contained JavaScript entry");
|
|
913
|
+
}
|
|
914
|
+
const node = join(directory, "node.exe");
|
|
915
|
+
return { command: existsSync(node) ? node : "node", args: [entry] };
|
|
916
|
+
} catch (error) {
|
|
917
|
+
throw new Error(`Gemini npm entry could not be resolved: ${String(error)}`);
|
|
918
|
+
}
|
|
919
|
+
}
|
|
920
|
+
return { command: "gemini", args: [] };
|
|
921
|
+
}
|
|
891
922
|
function executeGemini(prompt, options) {
|
|
892
923
|
const {
|
|
893
924
|
model = "gemini-3.8-flash",
|
|
@@ -897,20 +928,22 @@ function executeGemini(prompt, options) {
|
|
|
897
928
|
} = options;
|
|
898
929
|
return new Promise((resolve2, reject) => {
|
|
899
930
|
const args = [
|
|
900
|
-
"
|
|
901
|
-
|
|
902
|
-
"
|
|
903
|
-
|
|
904
|
-
"
|
|
905
|
-
|
|
931
|
+
"-p",
|
|
932
|
+
prompt,
|
|
933
|
+
"--output-format",
|
|
934
|
+
"stream-json",
|
|
935
|
+
"-m",
|
|
936
|
+
model
|
|
906
937
|
];
|
|
907
938
|
if (yolo) args.push("--yolo");
|
|
908
|
-
args.push("-e none");
|
|
909
|
-
const cmd = args.join(" ");
|
|
939
|
+
args.push("-e", "none");
|
|
910
940
|
const start = Date.now();
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
941
|
+
const env = { ...buildCliProcessEnv(options.env), NO_COLOR: "1", NODE_OPTIONS: "--no-deprecation" };
|
|
942
|
+
const launcher = resolveGeminiCommand(env);
|
|
943
|
+
execFile(
|
|
944
|
+
launcher.command,
|
|
945
|
+
[...launcher.args, ...args],
|
|
946
|
+
{ timeout, cwd, env },
|
|
914
947
|
(error, stdout, stderr) => {
|
|
915
948
|
if (error) {
|
|
916
949
|
if (error.killed && error.signal === "SIGTERM") {
|
|
@@ -2173,6 +2206,7 @@ export {
|
|
|
2173
2206
|
isBufferedCliStreamingProvider,
|
|
2174
2207
|
CLI_PROBE_BINARIES,
|
|
2175
2208
|
materializeCliImageInputs,
|
|
2209
|
+
resolveGeminiCommand,
|
|
2176
2210
|
executeCli,
|
|
2177
2211
|
startCliSession,
|
|
2178
2212
|
getCliSession,
|
|
@@ -18,6 +18,7 @@ var require_react_production = __commonJS({
|
|
|
18
18
|
var REACT_MEMO_TYPE = Symbol.for("react.memo");
|
|
19
19
|
var REACT_LAZY_TYPE = Symbol.for("react.lazy");
|
|
20
20
|
var REACT_ACTIVITY_TYPE = Symbol.for("react.activity");
|
|
21
|
+
var REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition");
|
|
21
22
|
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
22
23
|
function getIteratorFn(maybeIterable) {
|
|
23
24
|
if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
|
|
@@ -205,19 +206,18 @@ var require_react_production = __commonJS({
|
|
|
205
206
|
}
|
|
206
207
|
function lazyInitializer(payload) {
|
|
207
208
|
if (-1 === payload._status) {
|
|
208
|
-
var ctor = payload._result;
|
|
209
|
-
|
|
210
|
-
ctor.then(
|
|
209
|
+
var ctor = payload._result, thenable = ctor();
|
|
210
|
+
thenable.then(
|
|
211
211
|
function(moduleObject) {
|
|
212
212
|
if (0 === payload._status || -1 === payload._status)
|
|
213
|
-
payload._status = 1, payload._result = moduleObject;
|
|
213
|
+
payload._status = 1, payload._result = moduleObject, void 0 === thenable.status && (thenable.status = "fulfilled", thenable.value = moduleObject);
|
|
214
214
|
},
|
|
215
215
|
function(error) {
|
|
216
216
|
if (0 === payload._status || -1 === payload._status)
|
|
217
|
-
payload._status = 2, payload._result = error;
|
|
217
|
+
payload._status = 2, payload._result = error, void 0 === thenable.status && (thenable.status = "rejected", thenable.reason = error);
|
|
218
218
|
}
|
|
219
219
|
);
|
|
220
|
-
-1 === payload._status && (payload._status = 0, payload._result =
|
|
220
|
+
-1 === payload._status && (payload._status = 0, payload._result = thenable);
|
|
221
221
|
}
|
|
222
222
|
if (1 === payload._status) return payload._result.default;
|
|
223
223
|
throw payload._result;
|
|
@@ -237,6 +237,27 @@ var require_react_production = __commonJS({
|
|
|
237
237
|
}
|
|
238
238
|
console.error(error);
|
|
239
239
|
};
|
|
240
|
+
function startTransition(scope) {
|
|
241
|
+
var prevTransition = ReactSharedInternals.T, currentTransition = {};
|
|
242
|
+
currentTransition.types = null !== prevTransition ? prevTransition.types : null;
|
|
243
|
+
ReactSharedInternals.T = currentTransition;
|
|
244
|
+
try {
|
|
245
|
+
var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
|
|
246
|
+
null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
|
|
247
|
+
"object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);
|
|
248
|
+
} catch (error) {
|
|
249
|
+
reportGlobalError(error);
|
|
250
|
+
} finally {
|
|
251
|
+
null !== prevTransition && null !== currentTransition.types && (prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
function addTransitionType(type) {
|
|
255
|
+
var transition = ReactSharedInternals.T;
|
|
256
|
+
if (null !== transition) {
|
|
257
|
+
var transitionTypes = transition.types;
|
|
258
|
+
null === transitionTypes ? transition.types = [type] : -1 === transitionTypes.indexOf(type) && transitionTypes.push(type);
|
|
259
|
+
} else startTransition(addTransitionType.bind(null, type));
|
|
260
|
+
}
|
|
240
261
|
var Children = {
|
|
241
262
|
map: mapChildren,
|
|
242
263
|
forEach: function(children, forEachFunc, forEachContext) {
|
|
@@ -276,6 +297,7 @@ var require_react_production = __commonJS({
|
|
|
276
297
|
exports.PureComponent = PureComponent;
|
|
277
298
|
exports.StrictMode = REACT_STRICT_MODE_TYPE;
|
|
278
299
|
exports.Suspense = REACT_SUSPENSE_TYPE;
|
|
300
|
+
exports.ViewTransition = REACT_VIEW_TRANSITION_TYPE;
|
|
279
301
|
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
|
|
280
302
|
exports.__COMPILER_RUNTIME = {
|
|
281
303
|
__proto__: null,
|
|
@@ -283,6 +305,7 @@ var require_react_production = __commonJS({
|
|
|
283
305
|
return ReactSharedInternals.H.useMemoCache(size);
|
|
284
306
|
}
|
|
285
307
|
};
|
|
308
|
+
exports.addTransitionType = addTransitionType;
|
|
286
309
|
exports.cache = function(fn) {
|
|
287
310
|
return function() {
|
|
288
311
|
return fn.apply(null, arguments);
|
|
@@ -363,19 +386,7 @@ var require_react_production = __commonJS({
|
|
|
363
386
|
compare: void 0 === compare ? null : compare
|
|
364
387
|
};
|
|
365
388
|
};
|
|
366
|
-
exports.startTransition =
|
|
367
|
-
var prevTransition = ReactSharedInternals.T, currentTransition = {};
|
|
368
|
-
ReactSharedInternals.T = currentTransition;
|
|
369
|
-
try {
|
|
370
|
-
var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
|
|
371
|
-
null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
|
|
372
|
-
"object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);
|
|
373
|
-
} catch (error) {
|
|
374
|
-
reportGlobalError(error);
|
|
375
|
-
} finally {
|
|
376
|
-
null !== prevTransition && null !== currentTransition.types && (prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
|
|
377
|
-
}
|
|
378
|
-
};
|
|
389
|
+
exports.startTransition = startTransition;
|
|
379
390
|
exports.unstable_useCacheRefresh = function() {
|
|
380
391
|
return ReactSharedInternals.H.useCacheRefresh();
|
|
381
392
|
};
|
|
@@ -439,7 +450,7 @@ var require_react_production = __commonJS({
|
|
|
439
450
|
exports.useTransition = function() {
|
|
440
451
|
return ReactSharedInternals.H.useTransition();
|
|
441
452
|
};
|
|
442
|
-
exports.version = "19.
|
|
453
|
+
exports.version = "19.3.0";
|
|
443
454
|
}
|
|
444
455
|
});
|
|
445
456
|
|
|
@@ -530,6 +541,8 @@ var require_react_development = __commonJS({
|
|
|
530
541
|
return "SuspenseList";
|
|
531
542
|
case REACT_ACTIVITY_TYPE:
|
|
532
543
|
return "Activity";
|
|
544
|
+
case REACT_VIEW_TRANSITION_TYPE:
|
|
545
|
+
return "ViewTransition";
|
|
533
546
|
}
|
|
534
547
|
if ("object" === typeof type)
|
|
535
548
|
switch ("number" === typeof type.tag && console.error(
|
|
@@ -786,8 +799,11 @@ var require_react_development = __commonJS({
|
|
|
786
799
|
}
|
|
787
800
|
function lazyInitializer(payload) {
|
|
788
801
|
if (-1 === payload._status) {
|
|
789
|
-
var ioInfo = payload._ioInfo;
|
|
790
|
-
null != ioInfo && (ioInfo.start = ioInfo.end = performance.now())
|
|
802
|
+
var resolveDebugValue = null, rejectDebugValue = null, ioInfo = payload._ioInfo;
|
|
803
|
+
null != ioInfo && (ioInfo.start = ioInfo.end = performance.now(), ioInfo.value = new Promise(function(resolve, reject) {
|
|
804
|
+
resolveDebugValue = resolve;
|
|
805
|
+
rejectDebugValue = reject;
|
|
806
|
+
}));
|
|
791
807
|
ioInfo = payload._result;
|
|
792
808
|
var thenable = ioInfo();
|
|
793
809
|
thenable.then(
|
|
@@ -796,7 +812,13 @@ var require_react_development = __commonJS({
|
|
|
796
812
|
payload._status = 1;
|
|
797
813
|
payload._result = moduleObject;
|
|
798
814
|
var _ioInfo = payload._ioInfo;
|
|
799
|
-
null != _ioInfo
|
|
815
|
+
if (null != _ioInfo) {
|
|
816
|
+
_ioInfo.end = performance.now();
|
|
817
|
+
var debugValue = null == moduleObject ? void 0 : moduleObject.default;
|
|
818
|
+
resolveDebugValue(debugValue);
|
|
819
|
+
_ioInfo.value.status = "fulfilled";
|
|
820
|
+
_ioInfo.value.value = debugValue;
|
|
821
|
+
}
|
|
800
822
|
void 0 === thenable.status && (thenable.status = "fulfilled", thenable.value = moduleObject);
|
|
801
823
|
}
|
|
802
824
|
},
|
|
@@ -805,14 +827,13 @@ var require_react_development = __commonJS({
|
|
|
805
827
|
payload._status = 2;
|
|
806
828
|
payload._result = error;
|
|
807
829
|
var _ioInfo2 = payload._ioInfo;
|
|
808
|
-
null != _ioInfo2 && (_ioInfo2.end = performance.now());
|
|
830
|
+
null != _ioInfo2 && (_ioInfo2.end = performance.now(), _ioInfo2.value.then(noop, noop), rejectDebugValue(error), _ioInfo2.value.status = "rejected", _ioInfo2.value.reason = error);
|
|
809
831
|
void 0 === thenable.status && (thenable.status = "rejected", thenable.reason = error);
|
|
810
832
|
}
|
|
811
833
|
}
|
|
812
834
|
);
|
|
813
835
|
ioInfo = payload._ioInfo;
|
|
814
836
|
if (null != ioInfo) {
|
|
815
|
-
ioInfo.value = thenable;
|
|
816
837
|
var displayName = thenable.displayName;
|
|
817
838
|
"string" === typeof displayName && (ioInfo.name = displayName);
|
|
818
839
|
}
|
|
@@ -838,6 +859,35 @@ var require_react_development = __commonJS({
|
|
|
838
859
|
function releaseAsyncTransition() {
|
|
839
860
|
ReactSharedInternals.asyncTransitions--;
|
|
840
861
|
}
|
|
862
|
+
function startTransition(scope) {
|
|
863
|
+
var prevTransition = ReactSharedInternals.T, currentTransition = {};
|
|
864
|
+
currentTransition.types = null !== prevTransition ? prevTransition.types : null;
|
|
865
|
+
currentTransition._updatedFibers = /* @__PURE__ */ new Set();
|
|
866
|
+
ReactSharedInternals.T = currentTransition;
|
|
867
|
+
try {
|
|
868
|
+
var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
|
|
869
|
+
null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
|
|
870
|
+
"object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && (ReactSharedInternals.asyncTransitions++, returnValue.then(releaseAsyncTransition, releaseAsyncTransition), returnValue.then(noop, reportGlobalError));
|
|
871
|
+
} catch (error) {
|
|
872
|
+
reportGlobalError(error);
|
|
873
|
+
} finally {
|
|
874
|
+
null === prevTransition && currentTransition._updatedFibers && (scope = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < scope && console.warn(
|
|
875
|
+
"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
|
|
876
|
+
)), null !== prevTransition && null !== currentTransition.types && (null !== prevTransition.types && prevTransition.types !== currentTransition.types && console.error(
|
|
877
|
+
"We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."
|
|
878
|
+
), prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
function addTransitionType(type) {
|
|
882
|
+
var transition = ReactSharedInternals.T;
|
|
883
|
+
if (null !== transition) {
|
|
884
|
+
var transitionTypes = transition.types;
|
|
885
|
+
null === transitionTypes ? transition.types = [type] : -1 === transitionTypes.indexOf(type) && transitionTypes.push(type);
|
|
886
|
+
} else
|
|
887
|
+
0 === ReactSharedInternals.asyncTransitions && console.error(
|
|
888
|
+
"addTransitionType can only be called inside a `startTransition()` callback. It must be associated with a specific Transition."
|
|
889
|
+
), startTransition(addTransitionType.bind(null, type));
|
|
890
|
+
}
|
|
841
891
|
function enqueueTask(task) {
|
|
842
892
|
if (null === enqueueTaskImpl)
|
|
843
893
|
try {
|
|
@@ -912,7 +962,7 @@ var require_react_development = __commonJS({
|
|
|
912
962
|
}
|
|
913
963
|
}
|
|
914
964
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
915
|
-
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, didWarnStateUpdateForUnmountedComponent = {}, ReactNoopUpdateQueue = {
|
|
965
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, didWarnStateUpdateForUnmountedComponent = {}, ReactNoopUpdateQueue = {
|
|
916
966
|
isMounted: function() {
|
|
917
967
|
return false;
|
|
918
968
|
},
|
|
@@ -1047,6 +1097,7 @@ var require_react_development = __commonJS({
|
|
|
1047
1097
|
exports.PureComponent = PureComponent;
|
|
1048
1098
|
exports.StrictMode = REACT_STRICT_MODE_TYPE;
|
|
1049
1099
|
exports.Suspense = REACT_SUSPENSE_TYPE;
|
|
1100
|
+
exports.ViewTransition = REACT_VIEW_TRANSITION_TYPE;
|
|
1050
1101
|
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
|
|
1051
1102
|
exports.__COMPILER_RUNTIME = deprecatedAPIs;
|
|
1052
1103
|
exports.act = function(callback) {
|
|
@@ -1126,6 +1177,7 @@ var require_react_development = __commonJS({
|
|
|
1126
1177
|
}
|
|
1127
1178
|
};
|
|
1128
1179
|
};
|
|
1180
|
+
exports.addTransitionType = addTransitionType;
|
|
1129
1181
|
exports.cache = function(fn) {
|
|
1130
1182
|
return function() {
|
|
1131
1183
|
return fn.apply(null, arguments);
|
|
@@ -1202,6 +1254,7 @@ var require_react_development = __commonJS({
|
|
|
1202
1254
|
exports.createElement = function(type, config, children) {
|
|
1203
1255
|
for (var i = 2; i < arguments.length; i++)
|
|
1204
1256
|
validateChildKeys(arguments[i]);
|
|
1257
|
+
var propName;
|
|
1205
1258
|
i = {};
|
|
1206
1259
|
var key = null;
|
|
1207
1260
|
if (null != config)
|
|
@@ -1224,13 +1277,13 @@ var require_react_development = __commonJS({
|
|
|
1224
1277
|
i,
|
|
1225
1278
|
"function" === typeof type ? type.displayName || type.name || "Unknown" : type
|
|
1226
1279
|
);
|
|
1227
|
-
|
|
1280
|
+
(propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++) ? (childArray = Error.stackTraceLimit, Error.stackTraceLimit = 10, childrenLength = Error("react-stack-top-frame"), Error.stackTraceLimit = childArray) : childrenLength = unknownOwnerDebugStack;
|
|
1228
1281
|
return ReactElement(
|
|
1229
1282
|
type,
|
|
1230
1283
|
key,
|
|
1231
1284
|
i,
|
|
1232
1285
|
getOwner(),
|
|
1233
|
-
|
|
1286
|
+
childrenLength,
|
|
1234
1287
|
propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
|
1235
1288
|
);
|
|
1236
1289
|
};
|
|
@@ -1310,24 +1363,7 @@ var require_react_development = __commonJS({
|
|
|
1310
1363
|
});
|
|
1311
1364
|
return compare;
|
|
1312
1365
|
};
|
|
1313
|
-
exports.startTransition =
|
|
1314
|
-
var prevTransition = ReactSharedInternals.T, currentTransition = {};
|
|
1315
|
-
currentTransition._updatedFibers = /* @__PURE__ */ new Set();
|
|
1316
|
-
ReactSharedInternals.T = currentTransition;
|
|
1317
|
-
try {
|
|
1318
|
-
var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
|
|
1319
|
-
null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
|
|
1320
|
-
"object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && (ReactSharedInternals.asyncTransitions++, returnValue.then(releaseAsyncTransition, releaseAsyncTransition), returnValue.then(noop, reportGlobalError));
|
|
1321
|
-
} catch (error) {
|
|
1322
|
-
reportGlobalError(error);
|
|
1323
|
-
} finally {
|
|
1324
|
-
null === prevTransition && currentTransition._updatedFibers && (scope = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < scope && console.warn(
|
|
1325
|
-
"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
|
|
1326
|
-
)), null !== prevTransition && null !== currentTransition.types && (null !== prevTransition.types && prevTransition.types !== currentTransition.types && console.error(
|
|
1327
|
-
"We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."
|
|
1328
|
-
), prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
|
|
1329
|
-
}
|
|
1330
|
-
};
|
|
1366
|
+
exports.startTransition = startTransition;
|
|
1331
1367
|
exports.unstable_useCacheRefresh = function() {
|
|
1332
1368
|
return resolveDispatcher().useCacheRefresh();
|
|
1333
1369
|
};
|
|
@@ -1409,7 +1445,7 @@ var require_react_development = __commonJS({
|
|
|
1409
1445
|
exports.useTransition = function() {
|
|
1410
1446
|
return resolveDispatcher().useTransition();
|
|
1411
1447
|
};
|
|
1412
|
-
exports.version = "19.
|
|
1448
|
+
exports.version = "19.3.0";
|
|
1413
1449
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
1414
1450
|
}();
|
|
1415
1451
|
}
|