nolo-cli 0.212.0-alpha.1 → 0.222.0-alpha.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/README.md +3 -2
- package/{_executeModel-KE6MBNUJ.js → _executeModel-4GGQQHOB.js} +111 -82
- package/{accountResolver-4LKIHEKL.js → accountResolver-EK2S4PWF.js} +6 -6
- package/{action-DF5UYSJF.js → action-CK64LS6S.js} +12 -11
- package/{addContentAction-N2YC5IL3.js → addContentAction-GDHDOF4U.js} +18 -17
- package/{addDialogAgentAction-3NKVQCEC.js → addDialogAgentAction-CAKRU3ZT.js} +21 -20
- package/{agentDeleteCommand-NWK7VU4N.js → agentDeleteCommand-BPV2XZL7.js} +128 -119
- package/{agentEmailCommands-UZ4DHEX2.js → agentEmailCommands-EJOS75YL.js} +132 -124
- package/{agentFavoriteCommands-EDK743YA.js → agentFavoriteCommands-2LKGKSUD.js} +7 -8
- package/{agentGrantCommands-RQWK2TEV.js → agentGrantCommands-QQV4N4JW.js} +5 -5
- package/{agentListCommands-HE7L2A6L.js → agentListCommands-HIZODBF3.js} +196 -124
- package/{agentMachineCommands-6TE4MBMP.js → agentMachineCommands-ZMQ2CY7Y.js} +62 -53
- package/{agentProviderCommands-Q5O33MED.js → agentProviderCommands-WKJOAWBP.js} +5 -5
- package/{agentPullCommand-6EM3URVK.js → agentPullCommand-XN6ZPBUW.js} +7 -7
- package/agentRecordCommands-OMXVDLDX.js +176 -0
- package/agentRunCommand-CB34YWMV.js +206 -0
- package/{agentRunControl-OI3LOENH.js → agentRunControl-JNONH3RP.js} +30 -15
- package/{agentRuntimeLocal-HL526DNQ.js → agentRuntimeLocal-QZPFWMLG.js} +52 -45
- package/{agentSlice-TMYP2UEA.js → agentSlice-RD2CDU7T.js} +20 -19
- package/{appDeleteCommands-ZERW4AXY.js → appDeleteCommands-QCCFDIEQ.js} +61 -52
- package/{appDeployCommands-DUWSMYHL.js → appDeployCommands-V2T7TNMQ.js} +61 -52
- package/{appDeployStatusCommands-N2KIE4BF.js → appDeployStatusCommands-6PGH7ZCG.js} +61 -52
- package/{appGetCommands-YVR4NPVY.js → appGetCommands-3L7WWJA6.js} +61 -52
- package/{appListCommands-JS6HOHZS.js → appListCommands-ENJCK4PO.js} +61 -52
- package/{authCommand-FE2C3ZUM.js → authCommand-6V47SYGK.js} +29 -28
- package/{authCommands-HV3EAU3V.js → authCommands-GAJ3NIXO.js} +14 -13
- package/{builtinSkillRegistry-3YOIGEF6.js → builtinSkillRegistry-2ECA42FC.js} +11 -13
- package/{chromeCommands-REEAH4SX.js → chromeCommands-G5UDKVSV.js} +3 -3
- package/{chromeOpsCommands-HEN5AX2J.js → chromeOpsCommands-YKX2QX3A.js} +20 -10
- package/{chunk-DM6UMOEL.js → chunk-27PCUMJI.js} +2 -2
- package/chunk-2CI3ZFWD.js +97 -0
- package/{chunk-HIRC32DV.js → chunk-2GJKRKI6.js} +543 -29
- package/{chunk-SM3NSZJV.js → chunk-2UCBGYO4.js} +20 -1
- package/{chunk-PYRUW7XN.js → chunk-2VUZSVAS.js} +136 -54
- package/chunk-2YGBI2XB.js +30 -0
- package/chunk-2ZKFCIJJ.js +13 -0
- package/{chunk-CJRONOYL.js → chunk-34J5K2YA.js} +19 -75
- package/{chunk-LOEO7LRC.js → chunk-3IK6ILVW.js} +4 -1
- package/{chunk-CTPXME7U.js → chunk-3LMUPOHG.js} +29 -6
- package/chunk-44X52WOJ.js +1621 -0
- package/{chunk-6VLJ6YA7.js → chunk-4DESLZTK.js} +9 -9
- package/{chunk-MYOH447Z.js → chunk-4JVNURX4.js} +1 -1
- package/chunk-5CHGAKRT.js +364 -0
- package/{chunk-YDH3FDFQ.js → chunk-5FUN7EG4.js} +1 -1
- package/{chunk-LKDF3ATR.js → chunk-5RKUPJYL.js} +1 -1
- package/{chunk-ZC3CMUKU.js → chunk-6OVNSQHN.js} +84 -2
- package/{chunk-IF45XG7K.js → chunk-6WU5572L.js} +40 -24
- package/{chunk-OHNELDTO.js → chunk-7EEZJ6BS.js} +11 -152
- package/{chunk-Y6ORVLSS.js → chunk-7ET2U67U.js} +1 -1
- package/{chunk-G7MLNNEX.js → chunk-7JLY4WYF.js} +5 -5
- package/{chunk-P5L7CXOC.js → chunk-7Z6EW7AH.js} +3 -2
- package/{chunk-IIQ6JGRI.js → chunk-AD5EWDFD.js} +2 -2
- package/{chunk-WXYLV624.js → chunk-AIHYNKGV.js} +4 -4
- package/{chunk-HPFCI4SK.js → chunk-AK5O76CC.js} +3 -3
- package/{chunk-Y63ZSOR6.js → chunk-AL3TYDIF.js} +1 -1
- package/{chunk-PJNFNEJE.js → chunk-AMEOV5VZ.js} +59 -13
- package/chunk-AN74ON4G.js +675 -0
- package/{chunk-HRMJUN5J.js → chunk-AQZ6BMRK.js} +1 -1
- package/{chunk-CQ46IRNN.js → chunk-B4GOW4MT.js} +445 -201
- package/{chunk-4KB6WQUL.js → chunk-BGP2EDFG.js} +1 -1
- package/{chunk-NBTY7YJF.js → chunk-BR3GT6MR.js} +1 -0
- package/{chunk-7RFNTILS.js → chunk-BUDVRYES.js} +2 -2
- package/{chunk-D2MDMY2M.js → chunk-BV3FLP2L.js} +47 -1
- package/{chunk-25JZEIXN.js → chunk-C4VAR65S.js} +92 -150
- package/{chunk-AVTVGMDY.js → chunk-C4WTX5TU.js} +2 -2
- package/{chunk-ZL5RAEEB.js → chunk-CIRB724Q.js} +1 -1
- package/{chunk-F6UUQOG6.js → chunk-CKT6QUE2.js} +4 -4
- package/{chunk-M6RL5JCD.js → chunk-CMZ3Z5PT.js} +14 -14
- package/{secretCommands-4QS3HCA2.js → chunk-D726I5AZ.js} +191 -16
- package/{chunk-INSBKSBB.js → chunk-DNKTQ3IN.js} +4 -4
- package/chunk-DVQH4BTR.js +1137 -0
- package/{chunk-SOHTHFV2.js → chunk-DWX2HEVC.js} +91 -132
- package/{chunk-NOMIGOST.js → chunk-EIAI3PPH.js} +116 -124
- package/chunk-EUCFKKDM.js +247 -0
- package/chunk-EWQ3HGNZ.js +90 -0
- package/{chunk-RPQXPZZF.js → chunk-F3GRJO4Z.js} +908 -13
- package/{chunk-GSQNH63I.js → chunk-FIYSMXHY.js} +3 -19
- package/{chunk-KSTEXKL6.js → chunk-FJ23FZXF.js} +76 -31
- package/{chunk-INN4LTAJ.js → chunk-FJK526XH.js} +2 -2
- package/chunk-FS2XP5D7.js +142 -0
- package/{chunk-QT6PKHYJ.js → chunk-FYF2TONJ.js} +5 -5
- package/{chunk-OXME3PEE.js → chunk-GBWGPTA7.js} +2 -1
- package/{chunk-RU4SD66C.js → chunk-GYVCJABP.js} +30 -254
- package/{chunk-YUXQAVRD.js → chunk-HOCHUZQ7.js} +257 -90
- package/{chunk-Y2WUYX4I.js → chunk-HXER7YJF.js} +4 -4
- package/chunk-HYIETXA6.js +99 -0
- package/{chunk-H2TJUNCH.js → chunk-I4EADJ4P.js} +6 -6
- package/{chunk-TCZHTTUU.js → chunk-I7WBYGBP.js} +8 -8
- package/{chunk-5RYBGBQH.js → chunk-IILMY4W4.js} +14 -9
- package/chunk-JA3ICVJY.js +271 -0
- package/{chunk-ZRSNONOB.js → chunk-JWXITTQB.js} +8 -3
- package/{chunk-JNKSDZFS.js → chunk-KEN3N2TN.js} +310 -66
- package/{chunk-LEC5ALIN.js → chunk-KEPOVMF4.js} +1 -1
- package/{chunk-UHJGXRJ4.js → chunk-KQSYAIZR.js} +3 -3
- package/{chunk-4VJAC32I.js → chunk-L5I543VB.js} +3 -2
- package/chunk-LKA64WH4.js +227 -0
- package/{chunk-6OQUPIQF.js → chunk-LVL6GFCM.js} +4 -4
- package/{chunk-UTV2AYEG.js → chunk-MAIITKBT.js} +2 -2
- package/chunk-MBG66ZBH.js +226 -0
- package/{chunk-YUA6OAH5.js → chunk-MDLS23JK.js} +2 -2
- package/{chunk-VL5KOY2C.js → chunk-MK2Q7ZJD.js} +67 -5
- package/{chunk-B7NJ3T4A.js → chunk-MS4NZNKI.js} +10 -10
- package/{chunk-3AKFVZ2I.js → chunk-MYHNBEXD.js} +3 -3
- package/{chunk-VZKUKCA6.js → chunk-MZLE5HQ3.js} +3673 -241
- package/{chunk-AZMYUSVF.js → chunk-N5Z2V73W.js} +1 -1
- package/chunk-NIZ2BXFD.js +526 -0
- package/{chunk-YPD3VJZW.js → chunk-NWP2OYOX.js} +20 -20
- package/{chunk-3FOQHGHN.js → chunk-O6J3OTOP.js} +4 -4
- package/{chunk-3RQVYR4B.js → chunk-OB6DVWPF.js} +197 -65
- package/{chunk-YWSEPJ7C.js → chunk-OBWT45ZU.js} +3 -3
- package/{chunk-5AQR3DGV.js → chunk-ODJ7BVSI.js} +80 -11
- package/{chunk-XJWWBO34.js → chunk-OJKUU3LP.js} +5 -7
- package/{chunk-GNDJKC4B.js → chunk-ON37YXGX.js} +29 -29
- package/{chunk-D5RCRX4A.js → chunk-P5ZJRTCH.js} +9415 -5169
- package/{chunk-6XIE5ZGI.js → chunk-PDCV7P5W.js} +1 -1
- package/{chunk-EZFQ6XRV.js → chunk-PJCIP64Z.js} +861 -59
- package/{chunk-GPO7FCEZ.js → chunk-PJVKMGPZ.js} +1222 -1719
- package/{chunk-CKAHAVMK.js → chunk-PPJYZRSQ.js} +40 -26
- package/chunk-QHEN7NZ7.js +46 -0
- package/{chunk-4KH4J3G5.js → chunk-QNWG52I4.js} +19 -7
- package/{chunk-YGILMZ7N.js → chunk-QVBXJNZ2.js} +1 -1
- package/chunk-RDH5CQ4T.js +1382 -0
- package/{chunk-C6KNNXWU.js → chunk-RGQ4UUWZ.js} +25 -2
- package/{chunk-OWYYDMGJ.js → chunk-S2NTVGA2.js} +4 -2
- package/{chunk-KC4XDTT3.js → chunk-SOF4OWDM.js} +6 -4
- package/{chunk-IAPCBNEE.js → chunk-SQYIK6HO.js} +1 -1
- package/{chunk-22CIEBYO.js → chunk-SVT62ULE.js} +50 -48
- package/{chunk-KIM6CLW5.js → chunk-SY3C4SQ7.js} +42 -15
- package/{chunk-JY5NGFFH.js → chunk-SYTHYBMI.js} +5 -5
- package/{chunk-6NSSLV67.js → chunk-T6DXNI6Z.js} +52 -50
- package/chunk-TLE77UJ5.js +230 -0
- package/{chunk-4VNS5WPM.js → chunk-U67V476Y.js} +1 -8
- package/{chunk-F7CI2ZC5.js → chunk-UAIHKQIA.js} +2 -1
- package/{chunk-MMNYUVLW.js → chunk-UB3D4TRQ.js} +11 -77
- package/{chunk-WPORQFYN.js → chunk-UVLYNWIE.js} +2 -2
- package/{chunk-YOIW77S2.js → chunk-UYOICCYG.js} +29 -19
- package/{chunk-4I7ERB7F.js → chunk-VREDDN25.js} +1 -1
- package/{chunk-JIT6FSXJ.js → chunk-WAE3GFCJ.js} +3 -3
- package/{chunk-IJXYFTV7.js → chunk-WI67URFP.js} +20 -20
- package/{chunk-7OCO4TDT.js → chunk-WJVYAO6P.js} +1 -1
- package/{chunk-T43B7LB2.js → chunk-WKGQSYTB.js} +1 -1
- package/{chunk-YJMRHHGY.js → chunk-WUUH4LWZ.js} +60 -30
- package/{chunk-PDGKOTO7.js → chunk-X7UF53VA.js} +33 -22
- package/{chunk-TY3TIUJK.js → chunk-XI2BWJM5.js} +65 -0
- package/{chunk-OOF4UPC5.js → chunk-XWVCYUUU.js} +16 -159
- package/{chunk-J5JTMQIA.js → chunk-YFLVRVYK.js} +1 -1
- package/{chunk-EYLGAEB4.js → chunk-YGMBIXCF.js} +132 -0
- package/chunk-YL3EFYL3.js +199 -0
- package/{chunk-MMA3LZ3W.js → chunk-YNIYE47Z.js} +1 -1
- package/{chunk-W4S457LU.js → chunk-YU4ZPWVF.js} +41 -5
- package/{chunk-NJR3WKVP.js → chunk-YWWDC3O7.js} +281 -159
- package/chunk-YZMNK53S.js +68 -0
- package/{chunk-FHU44LN3.js → chunk-Z2PITYZN.js} +2179 -552
- package/{chunk-FY7F4Q6X.js → chunk-Z4PCXPUE.js} +2 -2
- package/{cliAgentConfigHelpers-WJBZQTLW.js → cliAgentConfigHelpers-TKYL43MT.js} +15 -16
- package/{cliAuthorityBrokerClient-PM3U6Q6J.js → cliAuthorityBrokerClient-XHH7MH2P.js} +1 -1
- package/{cliAuthorityStoreDriver-TKLXNNTG.js → cliAuthorityStoreDriver-6FE3BJNB.js} +1 -1
- package/{cliEnvHelpers-BVYTMUPJ.js → cliEnvHelpers-VPSJ4XWC.js} +3 -3
- package/{cliExecutor-BWBF2MTI.js → cliExecutor-4MAX3PZL.js} +2 -2
- package/cliLocalAgentRecordReader-MHHD4T7R.js +90 -0
- package/{commandRegistry-VVMTPFAX.js → commandRegistry-5DA5UP7S.js} +106 -98
- package/{contentThunks-N52O67MI.js → contentThunks-5GUQ7FWJ.js} +47 -43
- package/{cooldownCommands-YXLWOXWR.js → cooldownCommands-X7P5M2V5.js} +5 -4
- package/{createAgentAutomationAction-ZC57YRSV.js → createAgentAutomationAction-UCLTHQRI.js} +51 -49
- package/{createDialogAction-VQW5WDYX.js → createDialogAction-UPN774AF.js} +46 -48
- package/{createPageAction-M5VDA7SC.js → createPageAction-JRQ2TA4O.js} +50 -48
- package/{cursorProvider-YGGNMVWX.js → cursorProvider-2RACMEMF.js} +1 -1
- package/{db-HUCI5R4G.js → db-CS4ZJQKV.js} +1 -1
- package/{dbSlice-HP7G4LX3.js → dbSlice-WNON7TOL.js} +17 -16
- package/{deleteFile-7VQGLK2V.js → deleteFile-Q3YDB4ML.js} +9 -9
- package/{desktopFolderProjects-SFY5EZS3.js → desktopFolderProjects-4POAMVJN.js} +2 -2
- package/{dialogCommands-JHMR2N2Y.js → dialogCommands-VRI7VCXH.js} +64 -57
- package/dialogNotifyCommand-6TMCX4D2.js +36 -0
- package/{dialogSlice-GRSVGDTF.js → dialogSlice-LFNVUSAN.js} +42 -40
- package/{dialogUsageCommand-7KCPYGHG.js → dialogUsageCommand-HTVPR2CX.js} +11 -10
- package/{docCreateCommands-F2K3UPSQ.js → docCreateCommands-AMPXMOX3.js} +61 -54
- package/{docDeleteCommands-XGXB5RFT.js → docDeleteCommands-I5WFAEHP.js} +63 -57
- package/{docReadCommands-7HWZZV6J.js → docReadCommands-X53ELNIE.js} +61 -54
- package/{docStore-KNZK6Y2G.js → docStore-2VAWVLWH.js} +21 -20
- package/{docUpdateCommands-OZZ7NQII.js → docUpdateCommands-6QPNDC7M.js} +64 -57
- package/{fetchMessages-M3QU7ZCQ.js → fetchMessages-TQEUZD7H.js} +8 -7
- package/{getPricing-2MNMXEVG.js → getPricing-MB2GBXOK.js} +6 -6
- package/{handleSendMessageAction-SHIH74GJ.js → handleSendMessageAction-AAJOHXOB.js} +193 -301
- package/{hostCredentialCreate-X64WK4JD.js → hostCredentialCreate-GLMJ22M6.js} +123 -114
- package/index.js +29 -29
- package/{keys-BEGDOTRL.js → keys-RWF7UCB4.js} +5 -4
- package/legacyMigration-TF4SYJCZ.js +19 -0
- package/{lib-5KKIBFIT.js → lib-OT5OTXRU.js} +7087 -6664
- package/{localDialogRead-XRLAH4CZ.js → localDialogRead-SVTPA5GY.js} +3 -3
- package/{localFirstLog-DHNOY2NA.js → localFirstLog-OIETGK66.js} +1 -1
- package/localRecall-2J6QPOK2.js +15 -0
- package/{localRuntimeAdapter-A7K3ABA6.js → localRuntimeAdapter-BMP57P42.js} +119 -110
- package/{localRuntimeAuthority-OYH4AE4G.js → localRuntimeAuthority-IBJAT62G.js} +1 -1
- package/{localRuntimeDb-VBIMCWUC.js → localRuntimeDb-N7KHDXS2.js} +2 -2
- package/{machineCommands-DE3MR7CJ.js → machineCommands-3MLIAK5Q.js} +128 -119
- package/{machineInfo-UKPTZO5Y.js → machineInfo-LWHTEBHJ.js} +1 -1
- package/machineWsRunDispatch-FKIGROQF.js +191 -0
- package/{memberThunks-7WJAY5V6.js → memberThunks-ZGLZ36PK.js} +29 -28
- package/{memoryCommands-ASCE5STX.js → memoryCommands-5WC3T66U.js} +4 -4
- package/models-ULVWLSQ6.js +9 -0
- package/{oauthTokenStore-OEERZFUC.js → oauthTokenStore-RUYNYALS.js} +1 -1
- package/{offlineMarxistsAgentCommand-2QTHJCHV.js → offlineMarxistsAgentCommand-4IC3Y4C6.js} +4 -4
- package/overlay-THLKYIWY.js +11 -0
- package/package.json +2 -2
- package/{pdf-U6KSUEZZ.js → pdf-KE3QI2V7.js} +1 -1
- package/{processSpawn-ZU5QFM43.js → processSpawn-6GEO77KV.js} +1 -1
- package/{profileConfig-KN3N2BLF.js → profileConfig-KOWK4HOG.js} +1 -1
- package/{projectArchive-GGL5HLMD.js → projectArchive-HK63GMF4.js} +52 -50
- package/{providerPresetApply-YXGV6NXB.js → providerPresetApply-OIFQ73LH.js} +19 -12
- package/{providerRegistry-S6UL6UNA.js → providerRegistry-KZ3SDZ3D.js} +10 -10
- package/{read-4VZQODSN.js → read-MRQHJMJ2.js} +10 -10
- package/{readDocTool-AVD32RUJ.js → readDocTool-4BGTXTXA.js} +2 -2
- package/{readlineWorkspace-XKYKNL2I.js → readlineWorkspace-AKAHSCNY.js} +6505 -4634
- package/{removeDialogAgentAction-FKL4BYMR.js → removeDialogAgentAction-B6H7DXFM.js} +23 -22
- package/{runAgentClientLoop-V7E2WBVM.js → runAgentClientLoop-UVAWGEON.js} +81 -79
- package/{runtimeDoctorCommands-QAI3MBKQ.js → runtimeDoctorCommands-FW6XKDUG.js} +12 -12
- package/{runtimeModeArgs-2Y7BALTO.js → runtimeModeArgs-X7DL7PUN.js} +1 -1
- package/secretCommands-LJXOOYA7.js +24 -0
- package/{setDialogExtraReferencesAction-TLIOLWWI.js → setDialogExtraReferencesAction-EVCY3TRW.js} +22 -21
- package/{setPrimaryDialogAgentAction-2OLWRFYR.js → setPrimaryDialogAgentAction-KPFVPHCJ.js} +23 -22
- package/{settingThunks-UGBPCNYF.js → settingThunks-ENOAK2WV.js} +97 -88
- package/{skillDiscovery-XKHROSH2.js → skillDiscovery-B5V23AXP.js} +4 -4
- package/{skillSummaryMarker-42HKSXYY.js → skillSummaryMarker-62UW7HI7.js} +1 -1
- package/{slateToRenderMarkdown-Y5IYN73U.js → slateToRenderMarkdown-R3X74MCX.js} +1 -1
- package/{slateUtils-NGV2NMKM.js → slateUtils-ESQAJ6RN.js} +1 -1
- package/{spaceCommands-4KSLKVNF.js → spaceCommands-DTTNAS2L.js} +61 -53
- package/store-JRVN62NM.js +46 -0
- package/{streamAgentChatTurn-7FR7X2NU.js → streamAgentChatTurn-R5UY25VB.js} +875 -618
- package/{switchDialogAgentAction-UZSAG2N5.js → switchDialogAgentAction-SZ44XDRY.js} +21 -20
- package/{tableCommands-MP6VFSVT.js → tableCommands-HITDSLHS.js} +10 -10
- package/tombstones-FQQMEDOW.js +32 -0
- package/{toolApiClient-HGNO53TC.js → toolApiClient-OGQEBQVX.js} +4 -4
- package/{tools-ZLKCC25W.js → tools-HWFG6GMJ.js} +75 -74
- package/tuiSummaryLlmCaller-HQQZAMYF.js +44 -0
- package/{updateCommands-4744PL3P.js → updateCommands-RJVCRSBP.js} +10 -8
- package/{updateDialogTitleAction-U53ZT7PJ.js → updateDialogTitleAction-KNPOAMVS.js} +48 -46
- package/{usageCommand-F4IPVMIZ.js → usageCommand-FWZCB7AM.js} +11 -10
- package/{usageRebuildCommand-HAW2AD5N.js → usageRebuildCommand-SP2BLNJU.js} +12 -11
- package/userDataMerge-HT2ZVHBJ.js +13 -0
- package/{windowsSelfUpdate-XSQVF2GK.js → windowsSelfUpdate-KERHIAB4.js} +3 -3
- package/{workloadLifecycle-4BEQHMSD.js → workloadLifecycle-DYNEYHV5.js} +7 -6
- package/agentRecordCommands-L3QQ7HZ4.js +0 -167
- package/agentRunCommand-2IFGQHCO.js +0 -196
- package/chunk-3CGG2PAL.js +0 -594
- package/chunk-5XBUWM6I.js +0 -89
- package/chunk-BFM34N54.js +0 -842
- package/chunk-CJEIOP3E.js +0 -0
- package/chunk-CZM5YTZ7.js +0 -977
- package/chunk-EYUBHHFB.js +0 -636
- package/chunk-JTDORD5P.js +0 -415
- package/chunk-NRFKLKRU.js +0 -339
- package/chunk-VPAZOH2D.js +0 -115
- package/chunk-WJZOQR2J.js +0 -151
- package/chunk-ZCWRMUWT.js +0 -89
- package/dist-M676ULYG.js +0 -7314
- package/machineWsRunDispatch-R26P5V36.js +0 -182
- package/models-PJBE6JDV.js +0 -9
- package/tuiSummaryLlmCaller-WC54MVGP.js +0 -160
- package/{chunk-WACI5I6V.js → chunk-2THCNKE4.js} +3 -3
- package/{chunk-2QHFH3DR.js → chunk-47ITIXO7.js} +6 -6
- package/{chunk-GOO6G4PY.js → chunk-CKG3PRZ7.js} +0 -0
- package/{chunk-OQHIVPG4.js → chunk-SNBZZPYH.js} +3 -3
- package/{chunk-AETZ7AD6.js → chunk-W6RFEDN4.js} +3 -3
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createSpaceKey,
|
|
3
|
+
normalizeSpaceId
|
|
4
|
+
} from "./chunk-UAD2WT54.js";
|
|
5
|
+
import {
|
|
6
|
+
patch,
|
|
7
|
+
read
|
|
8
|
+
} from "./chunk-44X52WOJ.js";
|
|
9
|
+
import {
|
|
10
|
+
DEVICE_LOCAL_OWNER_ID,
|
|
11
|
+
isDeviceLocalSpaceBody
|
|
12
|
+
} from "./chunk-2VUZSVAS.js";
|
|
13
|
+
import {
|
|
14
|
+
selectIdentityUserId
|
|
15
|
+
} from "./chunk-PXYBUFDB.js";
|
|
16
|
+
|
|
17
|
+
// packages/create/space/utils/permissions.ts
|
|
18
|
+
var checkSpaceMembership = (spaceData, userId) => {
|
|
19
|
+
if (!spaceData) {
|
|
20
|
+
console.error("[Permission Check] Space data is missing.");
|
|
21
|
+
throw new Error("\u65E0\u6CD5\u6267\u884C\u6743\u9650\u68C0\u67E5\uFF1A\u7A7A\u95F4\u6570\u636E\u7F3A\u5931\u3002");
|
|
22
|
+
}
|
|
23
|
+
if (isDeviceLocalSpaceBody(spaceData)) {
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
if (!userId) {
|
|
27
|
+
console.error("[Permission Check] User ID is missing.");
|
|
28
|
+
throw new Error("\u65E0\u6CD5\u6267\u884C\u6743\u9650\u68C0\u67E5\uFF1A\u7528\u6237 ID \u7F3A\u5931\u3002");
|
|
29
|
+
}
|
|
30
|
+
if (!spaceData.members || !Array.isArray(spaceData.members) || !spaceData.members.includes(userId)) {
|
|
31
|
+
console.warn(
|
|
32
|
+
`[Permission Check] User ${userId} attempt to operate on space ${spaceData.id} without membership.`
|
|
33
|
+
);
|
|
34
|
+
throw new Error("\u5F53\u524D\u7528\u6237\u4E0D\u662F\u7A7A\u95F4\u6210\u5458");
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
var canManageSpaceContent = (spaceData, userId, membership) => {
|
|
38
|
+
if (!spaceData) return false;
|
|
39
|
+
if (isDeviceLocalSpaceBody(spaceData)) return true;
|
|
40
|
+
const actor = typeof userId === "string" ? userId.trim() : "";
|
|
41
|
+
if (!actor) return false;
|
|
42
|
+
const ownerValues = [spaceData.ownerId, spaceData.userId].map((value) => typeof value === "string" ? value.trim() : "").filter(Boolean);
|
|
43
|
+
if (ownerValues.includes(actor)) return true;
|
|
44
|
+
const role = typeof membership?.role === "string" ? membership.role.trim() : "";
|
|
45
|
+
return role === "owner" || role === "admin";
|
|
46
|
+
};
|
|
47
|
+
var localSpaceAuthorityPatchStamp = (spaceData) => isDeviceLocalSpaceBody(spaceData) ? { userId: DEVICE_LOCAL_OWNER_ID } : {};
|
|
48
|
+
|
|
49
|
+
// packages/create/space/constants.ts
|
|
50
|
+
var UNCATEGORIZED_ID = "__uncategorized_container__";
|
|
51
|
+
|
|
52
|
+
// packages/create/space/content/spaceContentPatch.ts
|
|
53
|
+
var notifyUserDataUpdated = () => {
|
|
54
|
+
if (typeof window !== "undefined" && typeof window.dispatchEvent === "function" && typeof window.Event === "function") {
|
|
55
|
+
window.dispatchEvent(new window.Event("nolo-user-data-updated"));
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
var loadSpaceContentOrThrow = async (dispatch, spaceId, contentKey, sourceServerOrigin) => {
|
|
59
|
+
if (!contentKey || typeof contentKey !== "string" || contentKey.trim() === "") {
|
|
60
|
+
throw new Error("Invalid contentKey provided.");
|
|
61
|
+
}
|
|
62
|
+
const spaceKey = createSpaceKey.space(spaceId);
|
|
63
|
+
let spaceData = null;
|
|
64
|
+
try {
|
|
65
|
+
spaceData = await dispatch(
|
|
66
|
+
read({ dbKey: spaceKey, preferredServerOrigin: sourceServerOrigin })
|
|
67
|
+
).unwrap();
|
|
68
|
+
} catch (readError) {
|
|
69
|
+
throw new Error(`\u65E0\u6CD5\u52A0\u8F7D\u7A7A\u95F4\u6570\u636E: ${spaceId}`);
|
|
70
|
+
}
|
|
71
|
+
if (!spaceData) {
|
|
72
|
+
throw new Error("Space not found");
|
|
73
|
+
}
|
|
74
|
+
const content = spaceData.contents?.[contentKey];
|
|
75
|
+
if (!content) {
|
|
76
|
+
throw new Error("Content not found in space");
|
|
77
|
+
}
|
|
78
|
+
return { spaceKey, spaceData, content };
|
|
79
|
+
};
|
|
80
|
+
function resolveContentSpaceWriteAuthority(input) {
|
|
81
|
+
const owner = typeof input.ownerId === "string" ? input.ownerId.trim() : "";
|
|
82
|
+
const actor = typeof input.actorUserId === "string" ? input.actorUserId.trim() : "";
|
|
83
|
+
if (owner && owner !== DEVICE_LOCAL_OWNER_ID && owner !== actor) return "deny";
|
|
84
|
+
if (input.targetSpaceIsDeviceLocal) return "allow";
|
|
85
|
+
if (owner === DEVICE_LOCAL_OWNER_ID) return "allow";
|
|
86
|
+
if (!owner) return "unverified";
|
|
87
|
+
if (actor && owner === actor) return "allow";
|
|
88
|
+
return actor ? "deny" : "unverified";
|
|
89
|
+
}
|
|
90
|
+
var readContentRecordForSpaceSync = async (dispatch, contentKey) => {
|
|
91
|
+
try {
|
|
92
|
+
const existing = await dispatch(read({ dbKey: contentKey })).unwrap();
|
|
93
|
+
if (!existing || typeof existing !== "object") return { status: "missing" };
|
|
94
|
+
return { status: "ok", record: existing };
|
|
95
|
+
} catch {
|
|
96
|
+
return { status: "unreadable" };
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
var applyContentRecordSpaceId = async (dispatch, contentKey, record, targetSpaceId, failMessagePrefix, options = {}) => {
|
|
100
|
+
const normalizedTarget = normalizeSpaceId(targetSpaceId) || targetSpaceId;
|
|
101
|
+
const authority = resolveContentSpaceWriteAuthority({
|
|
102
|
+
ownerId: record.userId ?? record.ownerId,
|
|
103
|
+
actorUserId: options.actorUserId,
|
|
104
|
+
targetSpaceIsDeviceLocal: options.targetSpaceIsDeviceLocal
|
|
105
|
+
});
|
|
106
|
+
if (authority === "deny") return "not-owner";
|
|
107
|
+
if (authority === "unverified") return "unverified";
|
|
108
|
+
const rawCurrentSpaceId = record.spaceId;
|
|
109
|
+
const currentSpaceId = typeof rawCurrentSpaceId === "string" ? normalizeSpaceId(rawCurrentSpaceId) : null;
|
|
110
|
+
if (currentSpaceId === normalizedTarget) return "unchanged";
|
|
111
|
+
if (options.onlyWhenUnset && currentSpaceId) return "unchanged";
|
|
112
|
+
try {
|
|
113
|
+
await dispatch(
|
|
114
|
+
patch({ dbKey: contentKey, changes: { spaceId: normalizedTarget } })
|
|
115
|
+
).unwrap();
|
|
116
|
+
} catch (contentPatchError) {
|
|
117
|
+
throw new Error(
|
|
118
|
+
`${failMessagePrefix}: ${contentPatchError?.message || "\u672A\u77E5\u9519\u8BEF"}`
|
|
119
|
+
);
|
|
120
|
+
}
|
|
121
|
+
notifyUserDataUpdated();
|
|
122
|
+
return "patched";
|
|
123
|
+
};
|
|
124
|
+
var syncContentRecordSpaceId = async (dispatch, contentKey, targetSpaceId, failMessagePrefix, options = {}) => {
|
|
125
|
+
const readResult = await readContentRecordForSpaceSync(dispatch, contentKey);
|
|
126
|
+
if (readResult.status === "unreadable") return "unreadable";
|
|
127
|
+
if (readResult.status === "missing") return "missing";
|
|
128
|
+
return applyContentRecordSpaceId(
|
|
129
|
+
dispatch,
|
|
130
|
+
contentKey,
|
|
131
|
+
readResult.record,
|
|
132
|
+
targetSpaceId,
|
|
133
|
+
failMessagePrefix,
|
|
134
|
+
options
|
|
135
|
+
);
|
|
136
|
+
};
|
|
137
|
+
var patchIndividualContentRecord = async (dispatch, contentKey, changes, sourceServerOrigin, failMessagePrefix) => {
|
|
138
|
+
let hasIndividualRecord = false;
|
|
139
|
+
try {
|
|
140
|
+
const existing = await dispatch(
|
|
141
|
+
read({ dbKey: contentKey, preferredServerOrigin: sourceServerOrigin })
|
|
142
|
+
).unwrap();
|
|
143
|
+
hasIndividualRecord = Boolean(existing);
|
|
144
|
+
} catch {
|
|
145
|
+
hasIndividualRecord = false;
|
|
146
|
+
}
|
|
147
|
+
if (hasIndividualRecord) {
|
|
148
|
+
try {
|
|
149
|
+
await dispatch(
|
|
150
|
+
patch({
|
|
151
|
+
dbKey: contentKey,
|
|
152
|
+
changes,
|
|
153
|
+
preferredServerOrigin: sourceServerOrigin
|
|
154
|
+
})
|
|
155
|
+
).unwrap();
|
|
156
|
+
notifyUserDataUpdated();
|
|
157
|
+
} catch (contentPatchError) {
|
|
158
|
+
throw new Error(
|
|
159
|
+
`${failMessagePrefix}: ${contentPatchError?.message || "\u672A\u77E5\u9519\u8BEF"}`
|
|
160
|
+
);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
};
|
|
164
|
+
|
|
165
|
+
// packages/create/space/content/addContentAction.ts
|
|
166
|
+
var addContentAction = async (input, thunkAPI) => {
|
|
167
|
+
const {
|
|
168
|
+
spaceId,
|
|
169
|
+
title,
|
|
170
|
+
type,
|
|
171
|
+
contentKey,
|
|
172
|
+
fileCategory,
|
|
173
|
+
mimeType,
|
|
174
|
+
fileSize,
|
|
175
|
+
originalName,
|
|
176
|
+
categoryId: rawCategoryId,
|
|
177
|
+
pinned = false,
|
|
178
|
+
order,
|
|
179
|
+
triggerType,
|
|
180
|
+
skillSummary
|
|
181
|
+
} = input;
|
|
182
|
+
const { dispatch, getState } = thunkAPI;
|
|
183
|
+
const userId = selectIdentityUserId(getState());
|
|
184
|
+
if (!contentKey || typeof contentKey !== "string" || contentKey.trim() === "")
|
|
185
|
+
throw new Error("Invalid contentKey provided.");
|
|
186
|
+
if (!title || typeof title !== "string" || title.trim() === "")
|
|
187
|
+
throw new Error("Invalid or empty title provided.");
|
|
188
|
+
if (!type || typeof type !== "string")
|
|
189
|
+
throw new Error("Invalid content type provided.");
|
|
190
|
+
const spaceKey = createSpaceKey.space(spaceId);
|
|
191
|
+
const spaceData = await dispatch(read({
|
|
192
|
+
dbKey: spaceKey
|
|
193
|
+
})).unwrap();
|
|
194
|
+
checkSpaceMembership(spaceData, userId);
|
|
195
|
+
const alreadyPresent = Boolean(spaceData.contents?.[contentKey]);
|
|
196
|
+
let categoryIdForStorage;
|
|
197
|
+
if (rawCategoryId && rawCategoryId !== "" && rawCategoryId !== UNCATEGORIZED_ID) {
|
|
198
|
+
if (spaceData.categories?.[rawCategoryId]) {
|
|
199
|
+
categoryIdForStorage = rawCategoryId;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
const now = Date.now();
|
|
203
|
+
const newSpaceContent = {
|
|
204
|
+
title: title.trim(),
|
|
205
|
+
type,
|
|
206
|
+
contentKey,
|
|
207
|
+
...fileCategory !== void 0 ? { fileCategory } : {},
|
|
208
|
+
...mimeType !== void 0 ? { mimeType } : {},
|
|
209
|
+
...fileSize !== void 0 ? { fileSize } : {},
|
|
210
|
+
...originalName !== void 0 ? { originalName } : {},
|
|
211
|
+
...categoryIdForStorage !== void 0 && {
|
|
212
|
+
categoryId: categoryIdForStorage
|
|
213
|
+
},
|
|
214
|
+
pinned,
|
|
215
|
+
createdAt: now,
|
|
216
|
+
updatedAt: now,
|
|
217
|
+
...order !== void 0 && typeof order === "number" && { order },
|
|
218
|
+
...triggerType !== void 0 && { triggerType },
|
|
219
|
+
...skillSummary !== void 0 ? { skillSummary } : {}
|
|
220
|
+
};
|
|
221
|
+
const entityRead = await readContentRecordForSpaceSync(dispatch, contentKey);
|
|
222
|
+
if (entityRead.status === "unreadable") {
|
|
223
|
+
throw new Error("\u65E0\u6CD5\u8BFB\u53D6\u5185\u5BB9\u8BB0\u5F55\uFF0C\u672A\u52A0\u5165\u7A7A\u95F4\uFF08\u53EF\u91CD\u8BD5\uFF09");
|
|
224
|
+
}
|
|
225
|
+
let updatedSpaceData;
|
|
226
|
+
if (alreadyPresent) {
|
|
227
|
+
updatedSpaceData = spaceData;
|
|
228
|
+
} else {
|
|
229
|
+
const changes = {
|
|
230
|
+
contents: { [contentKey]: newSpaceContent },
|
|
231
|
+
updatedAt: now,
|
|
232
|
+
...localSpaceAuthorityPatchStamp(spaceData)
|
|
233
|
+
};
|
|
234
|
+
updatedSpaceData = await dispatch(
|
|
235
|
+
patch({ dbKey: spaceKey, changes })
|
|
236
|
+
).unwrap();
|
|
237
|
+
}
|
|
238
|
+
let contentSpaceSync;
|
|
239
|
+
try {
|
|
240
|
+
contentSpaceSync = entityRead.status === "ok" ? await applyContentRecordSpaceId(
|
|
241
|
+
dispatch,
|
|
242
|
+
contentKey,
|
|
243
|
+
entityRead.record,
|
|
244
|
+
spaceId,
|
|
245
|
+
"\u5185\u5BB9\u5DF2\u52A0\u5165\u7A7A\u95F4\uFF0C\u4F46\u540C\u6B65\u5185\u5BB9\u8BB0\u5F55\u7684\u5F52\u5C5E\u7A7A\u95F4\u5931\u8D25",
|
|
246
|
+
{
|
|
247
|
+
onlyWhenUnset: true,
|
|
248
|
+
actorUserId: userId,
|
|
249
|
+
targetSpaceIsDeviceLocal: isDeviceLocalSpaceBody(spaceData)
|
|
250
|
+
}
|
|
251
|
+
) : "missing";
|
|
252
|
+
} catch (entitySyncError) {
|
|
253
|
+
throw new Error(
|
|
254
|
+
`${entitySyncError?.message || "\u540C\u6B65\u5185\u5BB9\u8BB0\u5F55\u5931\u8D25"}\uFF08\u7A7A\u95F4\u94FE\u63A5\u5DF2\u5199\u5165\uFF1B\u518D\u6B21\u52A0\u5165\u4F1A\u5E42\u7B49\u6536\u655B\uFF09`
|
|
255
|
+
);
|
|
256
|
+
}
|
|
257
|
+
return { spaceId, updatedSpaceData, contentSpaceSync, alreadyPresent };
|
|
258
|
+
};
|
|
259
|
+
|
|
260
|
+
export {
|
|
261
|
+
checkSpaceMembership,
|
|
262
|
+
canManageSpaceContent,
|
|
263
|
+
localSpaceAuthorityPatchStamp,
|
|
264
|
+
UNCATEGORIZED_ID,
|
|
265
|
+
notifyUserDataUpdated,
|
|
266
|
+
loadSpaceContentOrThrow,
|
|
267
|
+
readContentRecordForSpaceSync,
|
|
268
|
+
syncContentRecordSpaceId,
|
|
269
|
+
patchIndividualContentRecord,
|
|
270
|
+
addContentAction
|
|
271
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MEMORY_USE_GUIDANCE,
|
|
3
3
|
wrapHistoricalSummaryWithReplayGuard
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-L5I543VB.js";
|
|
5
5
|
|
|
6
6
|
// packages/agent-runtime/skillCatalog.ts
|
|
7
7
|
var SKILL_CATALOG_PRIORITY = Object.freeze([
|
|
@@ -269,13 +269,18 @@ var buildSkillDiscoveryCatalogLayer = (catalog) => {
|
|
|
269
269
|
const multiSource = sources.length > 1;
|
|
270
270
|
const lines = [
|
|
271
271
|
"--- \u53EF\u7528\u6280\u80FD\uFF08Skills\uFF09---",
|
|
272
|
-
|
|
272
|
+
`${catalog.entries.length} \u6280\u80FD\uFF1B\u6765\u6E90\uFF1A${sources.join(", ")}\u3002loadSkill \u6309\u540D\u52A0\u8F7D\uFF1B\u672C\u5730 readFile\uFF1A.agents/skills/<name>/SKILL.md\uFF08\u5F02\u8DEF\u5F84\u53E6\u5217\uFF09\u3002\u2192=\u89E6\u53D1\u8BCD\uFF1A`,
|
|
273
273
|
...catalog.entries.map((entry) => {
|
|
274
274
|
const marks = [
|
|
275
275
|
multiSource ? ` [${entry.source}]` : "",
|
|
276
276
|
entry.available ? "" : ` [\u4E0D\u53EF\u7528\uFF1A${entry.unavailableReason ?? "unknown"}]`
|
|
277
277
|
].join("");
|
|
278
|
-
|
|
278
|
+
const location = [
|
|
279
|
+
entry.relativePath && entry.relativePath !== `.agents/skills/${entry.name}/SKILL.md` ? `path=${entry.relativePath}` : "",
|
|
280
|
+
entry.contentRef && entry.contentRef !== entry.relativePath ? `ref=${entry.contentRef}` : ""
|
|
281
|
+
].filter(Boolean).join("; ");
|
|
282
|
+
const description = entry.description.replace(/^触发词:/, "\u2192");
|
|
283
|
+
return `- ${entry.name}${marks}: ${description}${location ? ` [${location}]` : ""}`;
|
|
279
284
|
})
|
|
280
285
|
];
|
|
281
286
|
if (catalog.droppedEntries.length > 0) {
|