nolo-cli 0.228.0-alpha.2 → 0.228.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (235) hide show
  1. package/README.md +3 -5
  2. package/{_executeModel-VYCHHZVT.js → _executeModel-GIFVXKDT.js} +88 -83
  3. package/{accountResolver-QETKNC7T.js → accountResolver-NGICIMEE.js} +1 -1
  4. package/{action-GDZDXPMB.js → action-WZTKEF5H.js} +9 -6
  5. package/{addContentAction-7RO4AMRI.js → addContentAction-MLI6GOBV.js} +14 -13
  6. package/{addDialogAgentAction-EVYBGTXB.js → addDialogAgentAction-ARGQM22H.js} +17 -16
  7. package/{agentDeleteCommand-QWQKT54A.js → agentDeleteCommand-UF7XVELS.js} +118 -111
  8. package/{agentEmailCommands-EISMBIRE.js → agentEmailCommands-SFHRPQYC.js} +118 -107
  9. package/{agentListCommands-4WLG32IW.js → agentListCommands-IXKBP3W5.js} +208 -177
  10. package/{agentMachineCommands-DC6NKWTU.js → agentMachineCommands-7NX6PWQ6.js} +55 -48
  11. package/{agentProviderCommands-STI3DQ6A.js → agentProviderCommands-C5T7C5KZ.js} +2 -2
  12. package/{agentPullCommand-KHV4EELF.js → agentPullCommand-4EQZYHU4.js} +1 -1
  13. package/agentRecordCommands-IUNX6XD6.js +188 -0
  14. package/{agentRunCommand-QM7ETUTX.js → agentRunCommand-LCR4XADM.js} +125 -111
  15. package/{agentRunControl-MBG4U6SL.js → agentRunControl-RN2P6AOD.js} +11 -9
  16. package/{agentRuntimeLocal-HOXKWCYO.js → agentRuntimeLocal-LVXPQ7QA.js} +56 -43
  17. package/{agentSlice-UG76KEBH.js → agentSlice-ZGMOH6TE.js} +15 -14
  18. package/{appDeleteCommands-WWCC6WA5.js → appDeleteCommands-BESCJOQM.js} +55 -48
  19. package/{appDeployCommands-AU4IUN33.js → appDeployCommands-LPTR6IOX.js} +55 -48
  20. package/{appDeployStatusCommands-STUW7WXL.js → appDeployStatusCommands-BZ7KZ5RD.js} +55 -48
  21. package/{appGetCommands-BGTLIQ4K.js → appGetCommands-EDWGJV4S.js} +55 -48
  22. package/{appListCommands-CUCPRUXW.js → appListCommands-OPRWYPM6.js} +55 -48
  23. package/{authCommand-OZ2KTP4Z.js → authCommand-3C3RN4OU.js} +25 -19
  24. package/{authCommands-55OGQGCR.js → authCommands-ZMVEDCQD.js} +12 -6
  25. package/{builtinSkillRegistry-BAE2LDXF.js → builtinSkillRegistry-VRCMQ77Q.js} +7 -7
  26. package/{chromeCommands-G5UDKVSV.js → chromeCommands-O4IIKTBD.js} +384 -7
  27. package/{chromeOpsCommands-WAA45NCS.js → chromeOpsCommands-NZITLHWO.js} +3 -3
  28. package/{chunk-VQ5N5GSV.js → chunk-2BKNICGK.js} +4 -4
  29. package/{chunk-QYB23WUH.js → chunk-2FK2KZSL.js} +1 -1
  30. package/chunk-2SXN7LAY.js +15 -0
  31. package/{chunk-3VZLEKV2.js → chunk-3DJJ4CFG.js} +11 -11
  32. package/{chunk-TSPMLCWI.js → chunk-4IQN6FWY.js} +5 -5
  33. package/{chunk-XAG3FWBE.js → chunk-4OXPN3WC.js} +6 -6
  34. package/chunk-4ZCTKB27.js +31 -0
  35. package/chunk-53W5BXLN.js +340 -0
  36. package/{chunk-42OKN2LI.js → chunk-5HUO7SEX.js} +9 -107
  37. package/chunk-6ASGEP5D.js +21 -0
  38. package/{chunk-MJI3UAXN.js → chunk-6CXQ3YNJ.js} +40 -36
  39. package/{chunk-G7IUT2V3.js → chunk-6MTVACLN.js} +365 -64
  40. package/{chunk-ZOHO6MOF.js → chunk-6RSNVJGO.js} +2 -99
  41. package/{chunk-XSW4EXQV.js → chunk-6TVYUQRM.js} +55 -18
  42. package/{chunk-PDCV7P5W.js → chunk-6XIE5ZGI.js} +1 -1
  43. package/{chunk-7Z6EW7AH.js → chunk-6XVPMGXK.js} +97 -11
  44. package/{chunk-ALAES342.js → chunk-73PZD7JZ.js} +9 -5
  45. package/{chunk-TCZ2VJZQ.js → chunk-7UVVLYKC.js} +9 -9
  46. package/{chunk-S6FDXXZV.js → chunk-ADOOL3PG.js} +2 -2
  47. package/{chunk-OWKNSIXL.js → chunk-AEZBAFC6.js} +334 -77
  48. package/{chunk-PWTNI4N7.js → chunk-ANUP75N2.js} +22 -0
  49. package/{chunk-RG2DGNL6.js → chunk-ARFCL53U.js} +5 -5
  50. package/{chunk-SRCCSTIM.js → chunk-AS6L5KSD.js} +4 -4
  51. package/{chunk-WFDNADFX.js → chunk-BAH3BAUZ.js} +8 -8
  52. package/{chunk-N5Z2V73W.js → chunk-BFKJ2RS3.js} +1 -1
  53. package/{chunk-F6Z6ZCUV.js → chunk-BVEDT6DM.js} +3 -3
  54. package/chunk-C5A54QS7.js +108 -0
  55. package/{chunk-CD3RU7XL.js → chunk-CD2DK5JA.js} +120 -14
  56. package/{chunk-BP5ZJ6B4.js → chunk-CD64YXRB.js} +1 -1
  57. package/{chunk-VP3BINY7.js → chunk-CIGCTSBF.js} +31 -1
  58. package/{chunk-TQEKUOTI.js → chunk-CIUZXD5D.js} +12 -12
  59. package/{chunk-EVGU5P4U.js → chunk-CO6E7YK6.js} +1 -1
  60. package/{chunk-VMJVAJ6W.js → chunk-CTIEJRTP.js} +28 -4
  61. package/{chunk-7JGMNKKG.js → chunk-CTWCZKNS.js} +29 -8
  62. package/{chunk-YFLVRVYK.js → chunk-D25ONVOH.js} +1 -1
  63. package/{chunk-LKA64WH4.js → chunk-DMPZMYH4.js} +37 -1
  64. package/{chunk-262R3XNN.js → chunk-E5RYFR7E.js} +334 -103
  65. package/{chunk-OQHIVPG4.js → chunk-E6A5NHDH.js} +4 -1
  66. package/{chunk-HSSBDZLD.js → chunk-EDT65EUE.js} +6 -6
  67. package/{chunk-YVFH2MFB.js → chunk-EQZQUQ33.js} +7 -7
  68. package/{chunk-HBRDSQ3M.js → chunk-ESN4WNWU.js} +3 -2
  69. package/{chunk-2YGBI2XB.js → chunk-FE7G6DSP.js} +11 -1
  70. package/{chunk-547ENH5T.js → chunk-FFFKAOJN.js} +4 -4
  71. package/{chunk-5ZUOVCKT.js → chunk-FGHEF6WI.js} +3 -1
  72. package/{chunk-GAYNXB6T.js → chunk-FTWAOKFU.js} +756 -333
  73. package/chunk-GAHJLSDO.js +107 -0
  74. package/{chunk-2X7WFDT6.js → chunk-GX6DITLQ.js} +1 -1
  75. package/{chunk-HXB4VDGK.js → chunk-HCCQEMTK.js} +28 -28
  76. package/{chunk-CMMI3DAT.js → chunk-HZDK56EK.js} +33 -26
  77. package/{chunk-OTKSESZR.js → chunk-IIOSZAJX.js} +4 -4
  78. package/chunk-IIRJ4P4I.js +24 -0
  79. package/{chunk-OJ45MEEI.js → chunk-IJZC2KIJ.js} +1 -1
  80. package/{chunk-MNEZUL5S.js → chunk-ITBX27W6.js} +92 -31
  81. package/{chunk-LYD6C7OU.js → chunk-J2VIGDJN.js} +6 -6
  82. package/{chunk-M3OZRQNH.js → chunk-JEWMQR6J.js} +1 -1
  83. package/{chunk-6QHKRARD.js → chunk-JFRJEPFI.js} +29 -5
  84. package/{chunk-S6K5F3KP.js → chunk-JP2BH4NC.js} +1 -1
  85. package/{chunk-EGHP7KOY.js → chunk-JU7VN4LF.js} +38 -29
  86. package/{chunk-RTHFJZ6M.js → chunk-K26XPZRB.js} +2 -2
  87. package/{chunk-ZYKJBRZ3.js → chunk-K7VIXYTZ.js} +1 -3
  88. package/chunk-KK3FCYZM.js +647 -0
  89. package/chunk-KLAMJNKQ.js +33394 -0
  90. package/{chunk-4JVNURX4.js → chunk-KQHEGELM.js} +68 -16
  91. package/chunk-KXOPLLFP.js +190 -0
  92. package/{chunk-MZG5CETE.js → chunk-KZ5OD2MO.js} +4 -4
  93. package/{chunk-ILHQ2AXT.js → chunk-KZAT2M2V.js} +14 -8
  94. package/chunk-LHCGKAFO.js +739 -0
  95. package/{chunk-HF7BLF3F.js → chunk-LMGFVH65.js} +107 -104
  96. package/{chunk-QRGDJA4B.js → chunk-LTVEOOZL.js} +19 -6
  97. package/{chunk-L32W3PRP.js → chunk-MAA42MMV.js} +233 -17
  98. package/{chunk-ATEKLSLR.js → chunk-MTM4LRVG.js} +14 -9
  99. package/chunk-MVOZ22RZ.js +26 -0
  100. package/{chunk-U2HBB7RS.js → chunk-MYYNZG2M.js} +132 -32
  101. package/{chunk-DBUR22G5.js → chunk-MZVCFV3T.js} +19 -15
  102. package/{chunk-WCFFRBL5.js → chunk-N74XL3NI.js} +9 -9
  103. package/{chunk-VS276URX.js → chunk-NEG5LYK5.js} +1 -1
  104. package/{chunk-RBPUNSG5.js → chunk-OAZP4TSA.js} +18 -108
  105. package/{chunk-4QYJPWHH.js → chunk-ODBYGVO2.js} +232 -10
  106. package/{chunk-M4SFKP5L.js → chunk-OHUYN3YU.js} +3 -3
  107. package/{chunk-HYLRQDEE.js → chunk-OLGFIQN2.js} +6 -6
  108. package/{chunk-M3JEW6N6.js → chunk-OYUMJMC5.js} +15 -0
  109. package/chunk-P27E22MA.js +203 -0
  110. package/{chunk-BIWI5M4E.js → chunk-PBPXXMWZ.js} +1 -1
  111. package/{chunk-OBSEKCVK.js → chunk-PQ63BDV3.js} +210 -51
  112. package/{chunk-4I2MXV5Q.js → chunk-PVFYPUIM.js} +2 -0
  113. package/{chunk-XFXFPUO7.js → chunk-QMNVV3YM.js} +10 -37
  114. package/{chunk-CNMY2XM6.js → chunk-R5NRFXGD.js} +5 -5
  115. package/{chunk-5FUN7EG4.js → chunk-RD3QLZQV.js} +83 -47
  116. package/{chunk-4WVJLODK.js → chunk-RHBD22LV.js} +9 -4
  117. package/{chunk-45CAVC35.js → chunk-RMWDKLBE.js} +1489 -286
  118. package/{chunk-ZEVQHCLM.js → chunk-RR3MB26M.js} +2 -2
  119. package/{chunk-OOJNQK6V.js → chunk-S25VJYXV.js} +8 -2
  120. package/{chunk-DLXMMTGM.js → chunk-SCMYAGQE.js} +1067 -705
  121. package/{chunk-YKY4OVOX.js → chunk-SPU3L3OR.js} +17 -170
  122. package/chunk-SR4FE5VD.js +9 -0
  123. package/{chunk-DUUDXSLX.js → chunk-SX6AWTNK.js} +28 -4
  124. package/{chunk-ZH3KXFHS.js → chunk-TMRJGSK2.js} +1 -1
  125. package/{chunk-S2NTVGA2.js → chunk-U35UUM5K.js} +2 -1
  126. package/{chunk-PPJYZRSQ.js → chunk-U5LOKQ2R.js} +30 -14
  127. package/{chunk-UAIHKQIA.js → chunk-U6RD332P.js} +18 -2
  128. package/{chunk-3U44JB3O.js → chunk-UF6J7NXV.js} +1 -1
  129. package/{chunk-5YMA6DDZ.js → chunk-UHW6SCVK.js} +1 -1
  130. package/chunk-UOUMPHS5.js +103 -0
  131. package/{chunk-HHFGE2WF.js → chunk-UPOW5HTG.js} +5 -5
  132. package/{chunk-DEA37IUY.js → chunk-V4IYI3SB.js} +2 -2
  133. package/{chunk-XTJKU3Z4.js → chunk-VKCPKCSS.js} +66 -92
  134. package/{chunk-HGDKT2D6.js → chunk-VTHWBTRE.js} +177 -1
  135. package/{chunk-OBIC6EG7.js → chunk-VUHKG4KS.js} +3 -3
  136. package/{chunk-EEOOBRA7.js → chunk-W3HSD32M.js} +13 -6
  137. package/{chunk-P2ZLUIW2.js → chunk-W6T4FNZP.js} +351 -26
  138. package/chunk-WDWZPASX.js +29 -0
  139. package/{chunk-R6Z5S5GA.js → chunk-WQDTSK5U.js} +51 -14
  140. package/{chunk-X3E6EHJW.js → chunk-X22AUZKL.js} +149 -165
  141. package/{chunk-4ZGPHFLE.js → chunk-X3OZ655T.js} +2 -2
  142. package/{chunk-RRDRQOEC.js → chunk-XCA4WHX5.js} +95 -77
  143. package/{chunk-TI2EPRHE.js → chunk-XJSEST7D.js} +3 -3
  144. package/{chunk-3QIYD3VM.js → chunk-XNTZD4AE.js} +870 -1068
  145. package/chunk-XSRSAU3O.js +133 -0
  146. package/{chunk-7FEP5USX.js → chunk-Y4NPF2UN.js} +3 -3
  147. package/{chunk-FJSNBZXR.js → chunk-YDRRGVT5.js} +1 -1
  148. package/{chunk-7BCG67EI.js → chunk-YFW4H6DL.js} +405 -338
  149. package/{chunk-JQZRSXS5.js → chunk-YGDYYFRX.js} +9 -13
  150. package/{chunk-4N6G2CKP.js → chunk-YHNUDTU4.js} +49 -3
  151. package/chunk-YJPK35HB.js +175 -0
  152. package/{chunk-6OVNSQHN.js → chunk-YLAHYLDQ.js} +5 -0
  153. package/{chunk-FPBJM2BW.js → chunk-Z7KE4K3H.js} +195 -126
  154. package/{chunk-DGYCDA6W.js → chunk-ZM5AZTQG.js} +20 -13
  155. package/{chunk-CBUZ6DKA.js → chunk-ZQ6K57FJ.js} +1 -1
  156. package/{cliAgentConfigHelpers-BTRHMPW2.js → cliAgentConfigHelpers-37ZNEY5Y.js} +9 -9
  157. package/{cliAuthorityBrokerClient-XHH7MH2P.js → cliAuthorityBrokerClient-SFPC3WVK.js} +1 -1
  158. package/{cliLocalAgentRecordReader-H3HYQRRR.js → cliLocalAgentRecordReader-MCQVRWBR.js} +58 -47
  159. package/{commandRegistry-FVYPE2IN.js → commandRegistry-NTH5IAN5.js} +104 -92
  160. package/{contentThunks-GNFPG32S.js → contentThunks-SPXTX5U2.js} +38 -36
  161. package/{cooldownCommands-YB5H5BBK.js → cooldownCommands-TIFCHCUN.js} +1 -1
  162. package/{createAgentAutomationAction-PB4QIFQ4.js → createAgentAutomationAction-KUQKCOXB.js} +38 -36
  163. package/{createDialogAction-EVTOPY7A.js → createDialogAction-HJN5U3XS.js} +39 -37
  164. package/{createPageAction-2UYF2IDZ.js → createPageAction-ZAHRDOAU.js} +43 -41
  165. package/{db-M7FU2GNK.js → db-CMUTP3W5.js} +2 -2
  166. package/{dbSlice-XRUZOGSU.js → dbSlice-656PMWR2.js} +13 -12
  167. package/{deleteFile-6URDHYRB.js → deleteFile-ZCQESEEQ.js} +10 -7
  168. package/{dialogCommands-6SZD4TYP.js → dialogCommands-KZTZLWPZ.js} +60 -54
  169. package/dialogMessageRecord-OAV77LT7.js +7 -0
  170. package/{dialogNotifyCommand-SHGPCU22.js → dialogNotifyCommand-PST75COP.js} +11 -11
  171. package/{dialogSlice-5EQ2A6LY.js → dialogSlice-BXIERQHO.js} +39 -37
  172. package/{dialogUsageCommand-W2WCSGKF.js → dialogUsageCommand-6RW2FY6K.js} +5 -5
  173. package/{docCreateCommands-25E6PGN3.js → docCreateCommands-26HJ5NAY.js} +54 -47
  174. package/{docDeleteCommands-F7ZVGEHW.js → docDeleteCommands-UAOHH5XK.js} +56 -49
  175. package/{docReadCommands-JY2E5XEN.js → docReadCommands-4ADG7YE6.js} +54 -47
  176. package/{docStore-OKKIKLT3.js → docStore-FZ75HWP2.js} +15 -14
  177. package/{docUpdateCommands-OZ4CUSIQ.js → docUpdateCommands-OGFJZENF.js} +54 -47
  178. package/fetchMessages-TQEUZD7H.js +1 -1
  179. package/{getPricing-LF5C4XSI.js → getPricing-FCHYVRJU.js} +4 -4
  180. package/{handleSendMessageAction-LNT7SZND.js → handleSendMessageAction-KP6GGBFY.js} +82 -78
  181. package/{hostCredentialCreate-XUU2CSHI.js → hostCredentialCreate-23TX56G7.js} +117 -105
  182. package/index.js +8 -8
  183. package/{lib-OT5OTXRU.js → lib-62SWPXNF.js} +3 -7
  184. package/{localDialogRead-CCOCVGAP.js → localDialogRead-CIOTQM5T.js} +1 -1
  185. package/{localRuntimeAdapter-IBSTMSX7.js → localRuntimeAdapter-MTUWOYPN.js} +124 -111
  186. package/{localRuntimeAuthority-IBJAT62G.js → localRuntimeAuthority-TYHQCTZN.js} +5 -3
  187. package/{localRuntimeDb-N7KHDXS2.js → localRuntimeDb-BO7IVWAZ.js} +1 -1
  188. package/{machineCommands-HSQHDHOT.js → machineCommands-4WJUJQHW.js} +241 -321
  189. package/{machineWsRunDispatch-L6H7J66T.js → machineWsRunDispatch-V3U4JM67.js} +113 -102
  190. package/markdownToSlate-KIYM7B3P.js +8 -0
  191. package/mcpLocalAuthorizeCommand-TI656UWC.js +106 -0
  192. package/{memberThunks-7Y3OYSJQ.js → memberThunks-JFYC4Z5L.js} +20 -15
  193. package/{models-H5NNZRLH.js → models-EP7VG6N2.js} +2 -2
  194. package/{overlay-BBQZXGYI.js → overlay-JA3SPVUS.js} +5 -3
  195. package/package.json +1 -1
  196. package/{projectArchive-FQO654Z3.js → projectArchive-NU2Z5HOR.js} +45 -43
  197. package/{providerPresetApply-WHAMP2D5.js → providerPresetApply-4H7YP5D7.js} +6 -6
  198. package/{providerRegistry-ZI2KORJ7.js → providerRegistry-F3UPOTIY.js} +6 -6
  199. package/{read-TYMBGEXO.js → read-BRZHXUJ6.js} +9 -8
  200. package/{readDocTool-SKQVHBLO.js → readDocTool-N7RVFQEE.js} +1 -1
  201. package/{readlineWorkspace-7U272DSA.js → readlineWorkspace-T56MRMS5.js} +6423 -3669
  202. package/rememberExplicit-CPAPONSI.js +15 -0
  203. package/{removeDialogAgentAction-F5QE2O2B.js → removeDialogAgentAction-J7XU7OUX.js} +19 -18
  204. package/{runAgentClientLoop-AF4JQIJ7.js → runAgentClientLoop-O2GRCGRZ.js} +96 -76
  205. package/{runtimeDoctorCommands-RRKPBGVO.js → runtimeDoctorCommands-RDRJXMXC.js} +8 -8
  206. package/{secretCommands-KZWBZIYS.js → secretCommands-2FEMRUFM.js} +3 -3
  207. package/{setDialogExtraReferencesAction-72L27ERM.js → setDialogExtraReferencesAction-Q4V2ZZW2.js} +16 -15
  208. package/{setPrimaryDialogAgentAction-GJJDUSGJ.js → setPrimaryDialogAgentAction-742H5S6T.js} +19 -18
  209. package/{settingThunks-ZRGWVGZD.js → settingThunks-T4FXSV6M.js} +185 -66
  210. package/{skillDiscovery-BHHPCUHZ.js → skillDiscovery-MDDKPTW3.js} +4 -3
  211. package/{spaceCommands-5VNWMDBE.js → spaceCommands-W5TAVFDT.js} +58 -51
  212. package/{streamAgentChatTurn-YSPEFY4K.js → streamAgentChatTurn-OWDJMU5E.js} +234 -177
  213. package/{switchDialogAgentAction-IIJBPND3.js → switchDialogAgentAction-HLDLHRRA.js} +17 -16
  214. package/{tableCommands-FTAOCBTX.js → tableCommands-44GC4N6J.js} +8 -5
  215. package/{toolApiClient-OGQEBQVX.js → toolApiClient-N5PYW2R3.js} +8 -6
  216. package/{tools-M35PTIFB.js → tools-O7SGGVA3.js} +65 -62
  217. package/{tuiRestart-2IL37YIB.js → tuiRestart-EOGC2BYY.js} +10 -10
  218. package/{tuiSummaryLlmCaller-W2QN4VAC.js → tuiSummaryLlmCaller-TM5BU73J.js} +16 -15
  219. package/{updateCommands-CPATDG6J.js → updateCommands-FBYA5WVG.js} +3 -3
  220. package/{updateDialogTitleAction-IMIRJRQQ.js → updateDialogTitleAction-EXSZGTLL.js} +40 -38
  221. package/{usageCommand-2BF74MKF.js → usageCommand-L4OFWXEU.js} +2 -2
  222. package/{usageRebuildCommand-UHB55BQM.js → usageRebuildCommand-7JR33UHS.js} +3 -3
  223. package/webapi-QVV65DQF.js +2487 -0
  224. package/{windowsSelfUpdate-ZFD6J5HF.js → windowsSelfUpdate-M4V77OUB.js} +2 -2
  225. package/workContext-Y3ADAPZU.js +14 -0
  226. package/workContextAccess-VU5I4LKZ.js +11 -0
  227. package/workContextWriteNotice-YCSSMHN4.js +7 -0
  228. package/{workloadLifecycle-HFJIN5IZ.js → workloadLifecycle-ZCSQCHG3.js} +2 -2
  229. package/agentRecordCommands-IZYUVHME.js +0 -177
  230. package/chunk-5ZMIIR23.js +0 -265
  231. package/chunk-62HXNQVV.js +0 -134
  232. package/chunk-TUSTONB3.js +0 -81
  233. package/chunk-ZXF6D3I6.js +0 -359
  234. package/{chunk-W6RFEDN4.js → chunk-AETZ7AD6.js} +3 -3
  235. /package/{chunk-FJ23FZXF.js → chunk-VIYVRPMJ.js} +0 -0
@@ -1,33 +1,13 @@
1
1
  import {
2
- WORKFLOW_GUIDANCE_SKILL_SLUGS
3
- } from "./chunk-G7IUT2V3.js";
2
+ DEFAULT_USER_PREFERENCE_PROFILE
3
+ } from "./chunk-UOUMPHS5.js";
4
4
  import {
5
5
  noloAgentId
6
- } from "./chunk-EVGU5P4U.js";
6
+ } from "./chunk-CO6E7YK6.js";
7
7
  import {
8
8
  normalizeServerOrigin
9
9
  } from "./chunk-CF7PE763.js";
10
10
 
11
- // packages/ai/policy/types.ts
12
- var DEFAULT_AGENT_BASE_POLICY = {
13
- version: 1,
14
- tone: {
15
- preset: "default",
16
- resolutionMode: "blend"
17
- },
18
- knowledgeCaptureMaxLevel: 4,
19
- spaceContextMaxLevel: 4,
20
- selfEvolutionMode: "knowledge_only"
21
- };
22
- var DEFAULT_USER_PREFERENCE_PROFILE = {
23
- version: 1,
24
- tone: {
25
- preset: "default"
26
- },
27
- knowledgeCaptureLevel: 2,
28
- spaceContextLevel: 3
29
- };
30
-
31
11
  // packages/app/settings/settingTypes.ts
32
12
  var SYSTEM_DEFAULT_AGENT_ID = "system-default";
33
13
 
@@ -80,86 +60,21 @@ var normalizeSystemBuiltinSkills = (value, defaults) => {
80
60
  return result;
81
61
  };
82
62
 
83
- // packages/ai/skills/userPromptSkills.ts
84
- var RECOMMENDED_PROMPT_SKILL_SLUGS = ["ub-mode"];
85
- var ALLOWED_PROMPT_SKILL_SLUGS = new Set(
86
- RECOMMENDED_PROMPT_SKILL_SLUGS
87
- );
88
- function normalizeEnabledPromptSkills(value) {
89
- if (!Array.isArray(value)) {
90
- return [];
91
- }
92
- const result = [];
93
- const seen = /* @__PURE__ */ new Set();
94
- for (const item of value) {
95
- if (typeof item !== "string") {
96
- continue;
97
- }
98
- const trimmed = item.trim();
99
- if (ALLOWED_PROMPT_SKILL_SLUGS.has(trimmed) && !seen.has(trimmed)) {
100
- seen.add(trimmed);
101
- result.push(trimmed);
102
- }
63
+ // packages/app/plugins/uiPlugins.ts
64
+ var UI_PLUGIN_SPECS = Object.freeze([
65
+ { id: "music", title: "\u97F3\u4E50", path: "/music" },
66
+ { id: "calendar", title: "\u65E5\u5386", path: "/calendar" }
67
+ ]);
68
+ var isRecordLike2 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
69
+ var toUiPluginState = (value) => value === "enabled" || value === "disabled" || value === "absent" ? value : "absent";
70
+ var normalizeUiPlugins = (value) => {
71
+ const record = isRecordLike2(value) ? value : {};
72
+ const result = {};
73
+ for (const spec of UI_PLUGIN_SPECS) {
74
+ result[spec.id] = toUiPluginState(record[spec.id]);
103
75
  }
104
76
  return result;
105
- }
106
-
107
- // packages/ai/skills/userSkills.ts
108
- var NEW_ACCOUNT_DEFAULT_WORKFLOW_SKILLS = WORKFLOW_GUIDANCE_SKILL_SLUGS;
109
- function isAccountOnDemandWorkflowSkill(slug) {
110
- return typeof slug === "string" && NEW_ACCOUNT_DEFAULT_WORKFLOW_SKILLS.some((candidate) => candidate === slug.trim());
111
- }
112
- var SUPPORTED_USER_SKILL_SLUGS = [
113
- "ub-mode",
114
- "auto-review",
115
- "code-style",
116
- "worktree-isolation",
117
- "systematic-investigation",
118
- "show-me",
119
- "caveman",
120
- "secrets-manager",
121
- "skill-creator",
122
- "code-planning",
123
- "coding",
124
- "coding-review",
125
- "android-adb",
126
- "stock-quotes",
127
- ...NEW_ACCOUNT_DEFAULT_WORKFLOW_SKILLS
128
- ];
129
- var SUPPORTED_USER_SKILL_SLUG_SET = new Set(
130
- SUPPORTED_USER_SKILL_SLUGS
131
- );
132
- function normalizeEnabledSkills(value) {
133
- if (!Array.isArray(value)) {
134
- return [];
135
- }
136
- const result = [];
137
- const seen = /* @__PURE__ */ new Set();
138
- for (const item of value) {
139
- if (typeof item !== "string") {
140
- continue;
141
- }
142
- const trimmed = item.trim();
143
- if (SUPPORTED_USER_SKILL_SLUG_SET.has(trimmed) && !seen.has(trimmed)) {
144
- seen.add(trimmed);
145
- result.push(trimmed);
146
- }
147
- }
148
- return result;
149
- }
150
- function resolveUserEnabledSkills(preferences) {
151
- if (!preferences || typeof preferences !== "object") {
152
- return [];
153
- }
154
- if (Object.prototype.hasOwnProperty.call(preferences, "enabledSkills")) {
155
- return normalizeEnabledSkills(preferences.enabledSkills);
156
- }
157
- if (Object.prototype.hasOwnProperty.call(preferences, "enabledPromptSkills")) {
158
- const legacy = normalizeEnabledPromptSkills(preferences.enabledPromptSkills);
159
- return legacy.filter((slug) => SUPPORTED_USER_SKILL_SLUG_SET.has(slug));
160
- }
161
- return [];
162
- }
77
+ };
163
78
 
164
79
  // packages/ai/policy/selfUpdateFields.ts
165
80
  var AGENT_UPDATE_FIELD_NAMES = [
@@ -205,8 +120,7 @@ var normalizeAgentUpdateFieldList = (value, fallback = DEFAULT_AUTO_APPROVED_SEL
205
120
  };
206
121
 
207
122
  export {
208
- DEFAULT_AGENT_BASE_POLICY,
209
- DEFAULT_USER_PREFERENCE_PROFILE,
123
+ normalizeUiPlugins,
210
124
  AGENT_UPDATE_FIELD_NAMES,
211
125
  DEFAULT_AUTO_APPROVED_SELF_UPDATE_FIELDS,
212
126
  normalizeAgentUpdateFieldList,
@@ -218,9 +132,5 @@ export {
218
132
  normalizePolicyLevelSetting,
219
133
  resolveDefaultAgentIdSetting,
220
134
  omitKeys,
221
- normalizeSystemBuiltinSkills,
222
- normalizeEnabledPromptSkills,
223
- isAccountOnDemandWorkflowSkill,
224
- normalizeEnabledSkills,
225
- resolveUserEnabledSkills
135
+ normalizeSystemBuiltinSkills
226
136
  };
@@ -1,11 +1,9 @@
1
1
  import {
2
2
  addContentToSpace
3
- } from "./chunk-HXB4VDGK.js";
3
+ } from "./chunk-HCCQEMTK.js";
4
4
  import {
5
- prepareAndPersistMessage,
6
- uiAskChoiceFunc,
7
- uiAskChoiceFunctionSchema
8
- } from "./chunk-7BCG67EI.js";
5
+ prepareAndPersistMessage
6
+ } from "./chunk-YFW4H6DL.js";
9
7
  import {
10
8
  require_format
11
9
  } from "./chunk-BUDVRYES.js";
@@ -18,16 +16,13 @@ import {
18
16
  removeCachedEntity,
19
17
  upsertSSREntity,
20
18
  write
21
- } from "./chunk-CMMI3DAT.js";
19
+ } from "./chunk-HZDK56EK.js";
22
20
  import {
23
21
  isDevelopment
24
- } from "./chunk-4N6G2CKP.js";
22
+ } from "./chunk-YHNUDTU4.js";
25
23
  import {
26
24
  selectIdentityUserId
27
25
  } from "./chunk-PXYBUFDB.js";
28
- import {
29
- extractCustomId
30
- } from "./chunk-M2EJHDJP.js";
31
26
  import {
32
27
  createMemoryKey,
33
28
  memoryOwnerRange,
@@ -37,6 +32,9 @@ import {
37
32
  createDialogKey,
38
33
  dialogMessageRange
39
34
  } from "./chunk-OJKUU3LP.js";
35
+ import {
36
+ extractCustomId
37
+ } from "./chunk-M2EJHDJP.js";
40
38
  import {
41
39
  asOptionalPositiveFiniteNumber
42
40
  } from "./chunk-U6VC4MU4.js";
@@ -57,6 +55,226 @@ import {
57
55
  var import_format = __toESM(require_format());
58
56
  var import_formatISO = __toESM(require_formatISO());
59
57
 
58
+ // packages/ai/tools/uiAskChoiceTool.ts
59
+ var uiAskChoiceFunctionSchema = {
60
+ name: "ask_user",
61
+ description: "\u8BA9\u7528\u6237\u5728\u4E00\u7EC4\u9009\u9879\u4E4B\u95F4\u505A\u9009\u62E9\uFF08\u5355\u9009\u6216\u591A\u9009\uFF09\u7684\u901A\u7528\u201C\u51FA\u9009\u9879\u201D\u5DE5\u5177\uFF08\u9700\u6C42\u6A21\u7CCA\u3001\u5206\u652F\u51B3\u7B56\u3001\u95EE\u5377\u7B49\uFF09\u3002\u672C\u5DE5\u5177\u7528\u4E8E\u7EAF\u63D0\u95EE\u3001\u7B49\u5F85\u7528\u6237\u56DE\u7B54\u7684\u573A\u666F\uFF08blocking:false \u65F6\u4E0D\u6682\u505C\u7B49\u5F85\uFF09\uFF1B\u82E5\u9700\u8981\u540C\u65F6\u5C55\u793A\u7ED3\u6784\u5316\u5BF9\u6BD4/\u6307\u6807\u5E76\u8BA9\u7528\u6237\u5728\u540C\u4E00\u5757\u91CC\u9009\u62E9\uFF0C\u8D70 show_interaction\u3002\u8C03\u7528\u524D\u987B\u5148\u5728\u666E\u901A\u56DE\u590D\u6587\u672C\u91CC\u89E3\u91CA\u80CC\u666F\u4E0E\u6743\u8861\uFF08\u5148\u89E3\u91CA\uFF0C\u518D\u8C03\u7528\uFF09\u3002\u591A\u95EE\u9898\u4F20 questions\uFF0C\u5355\u95EE\u9898\u4F20 question+choices\u3002\u754C\u9762\u9ED8\u8BA4\u63D0\u4F9B\u201C\u5176\u4ED6\u201D\u81EA\u7531\u8F93\u5165\u884C\uFF08\u53EF\u7528 allowOther:false \u5173\u95ED\uFF09\uFF0C\u7528\u6237\u8F93\u5165\u7684\u6587\u5B57\u4F1A\u968F\u7B54\u6848\u56DE\u4F20\uFF1B\u4E0D\u8981\u81EA\u5EFA\u201C\u5176\u4ED6/\u81EA\u5DF1\u5199\u201D\u4E4B\u7C7B\u7684\u9009\u9879\u2014\u2014\u70B9\u51FB\u666E\u901A\u9009\u9879\u53EA\u56DE\u4F20\u8BE5\u9009\u9879\u6587\u6848\uFF0C\u7528\u6237\u65E0\u5904\u586B\u5199\u3002",
62
+ parameters: {
63
+ type: "object",
64
+ properties: {
65
+ question: {
66
+ type: "string",
67
+ description: "\u5C55\u793A\u7ED9\u7528\u6237\u7684\u95EE\u9898\u6587\u6848\uFF08\u5355\u95EE\u9898\u6A21\u5F0F\uFF09\u3002\u4E0E questions \u4E8C\u9009\u4E00\u3002"
68
+ },
69
+ choices: {
70
+ type: "array",
71
+ description: "\u5907\u9009\u9879\u5217\u8868\uFF0C\u6E32\u67D3\u4E3A\u6309\u94AE\u4F9B\u7528\u6237\u70B9\u51FB\u3002",
72
+ items: {
73
+ type: "object",
74
+ properties: {
75
+ id: {
76
+ type: "string",
77
+ description: "\u9009\u9879\u6807\u8BC6\u3002"
78
+ },
79
+ label: {
80
+ type: "string",
81
+ description: "\u6309\u94AE\u6587\u5B57\uFF0C\u5982\u201C\u751F\u6210\u672C\u5468\u5468\u62A5\u201D\u3002"
82
+ },
83
+ detail: {
84
+ type: "string",
85
+ description: "\u7B80\u77ED\u8865\u5145\uFF08\u5EFA\u8BAE\u4E00\u53E5\u8BDD\uFF09\uFF0C\u957F\u89E3\u91CA\u5199\u8FDB\u8C03\u7528\u524D\u7684\u56DE\u590D\u6587\u672C\u3002"
86
+ },
87
+ userMessage: {
88
+ type: "string",
89
+ description: "\u70B9\u51FB\u540E\u4F5C\u4E3A\u4E0B\u4E00\u6761 user \u6D88\u606F\u53D1\u9001\u7684\u6587\u6848\uFF08\u7559\u7A7A\u9ED8\u8BA4\u7528 label\uFF09\u3002"
90
+ }
91
+ },
92
+ required: ["id", "label"]
93
+ }
94
+ },
95
+ questions: {
96
+ type: "array",
97
+ description: "\u591A\u95EE\u9898\u6A21\u5F0F\uFF08\u591A tab \u6E32\u67D3\uFF0C\u4E0E question+choices \u4E8C\u9009\u4E00\uFF09\u3002",
98
+ items: {
99
+ type: "object",
100
+ properties: {
101
+ id: {
102
+ type: "string",
103
+ description: "\u95EE\u9898\u6807\u8BC6\u3002"
104
+ },
105
+ header: {
106
+ type: "string",
107
+ description: "\u591A\u95EE\u9898 tab \u680F\u663E\u793A\u7684\u77ED\u6807\u7B7E\uFF08\u226412 \u5B57\u7B26\uFF0C\u5982\u201C\u683C\u5F0F/\u8BED\u8A00/\u8303\u56F4\u201D\uFF09\uFF0C\u7F3A\u7701\u7528 Qn\u3002"
108
+ },
109
+ question: {
110
+ type: "string",
111
+ description: "\u95EE\u9898\u6587\u6848\u3002"
112
+ },
113
+ choices: {
114
+ type: "array",
115
+ description: "\u8BE5\u95EE\u9898\u7684\u5907\u9009\u9879\u3002",
116
+ items: {
117
+ type: "object",
118
+ properties: {
119
+ id: { type: "string" },
120
+ label: { type: "string" },
121
+ detail: {
122
+ type: "string",
123
+ description: "\u7B80\u77ED\u8865\u5145\uFF08\u5EFA\u8BAE\u4E00\u53E5\u8BDD\uFF09\uFF0C\u957F\u89E3\u91CA\u5199\u8FDB\u8C03\u7528\u524D\u7684\u56DE\u590D\u6587\u672C\u3002"
124
+ },
125
+ userMessage: { type: "string" }
126
+ },
127
+ required: ["id", "label"]
128
+ }
129
+ },
130
+ multiSelect: {
131
+ type: "boolean",
132
+ description: "\u5141\u8BB8\u591A\u9009\uFF0C\u9ED8\u8BA4 false\u3002"
133
+ },
134
+ allowOther: {
135
+ type: "boolean",
136
+ description: "\u663E\u793A\u201C\u5176\u4ED6\u201D\u81EA\u7531\u8F93\u5165\u884C\uFF0C\u9ED8\u8BA4 true\u3002"
137
+ },
138
+ required: {
139
+ type: "boolean",
140
+ description: "\u662F\u5426\u5FC5\u987B\u56DE\u7B54\u624D\u80FD\u63D0\u4EA4\uFF0C\u9ED8\u8BA4 true\u3002"
141
+ }
142
+ },
143
+ required: ["id", "question", "choices"]
144
+ }
145
+ },
146
+ blocking: {
147
+ type: "boolean",
148
+ description: "\u662F\u5426\u7B49\u5F85\u7528\u6237\u9009\u62E9\u540E\u518D\u7EE7\u7EED\u6D41\u7A0B\uFF0C\u9ED8\u8BA4 true\u3002"
149
+ }
150
+ },
151
+ required: []
152
+ }
153
+ };
154
+ function validateChoiceList(choices, scopeLabel) {
155
+ const seenChoiceIds = /* @__PURE__ */ new Set();
156
+ for (let index = 0; index < choices.length; index += 1) {
157
+ const entry = choices[index];
158
+ if (!entry || typeof entry !== "object" || Array.isArray(entry)) {
159
+ return `${scopeLabel}.choices[${index}] \u5FC5\u987B\u662F\u5BF9\u8C61\u3002`;
160
+ }
161
+ const choice = entry;
162
+ if (typeof choice.label !== "string" || !choice.label.trim()) {
163
+ return `${scopeLabel}.choices[${index}].label \u5FC5\u987B\u662F\u975E\u7A7A\u5B57\u7B26\u4E32\u3002`;
164
+ }
165
+ if (choice.id !== void 0 && typeof choice.id !== "string") {
166
+ return `${scopeLabel}.choices[${index}].id \u5FC5\u987B\u662F\u5B57\u7B26\u4E32\u3002`;
167
+ }
168
+ const choiceId = typeof choice.id === "string" ? choice.id.trim() : "";
169
+ if (choiceId && seenChoiceIds.has(choiceId)) {
170
+ return `${scopeLabel} \u5185\u7684\u9009\u9879 id "${choiceId}" \u91CD\u590D\u3002`;
171
+ }
172
+ if (choiceId) seenChoiceIds.add(choiceId);
173
+ }
174
+ return null;
175
+ }
176
+ function validateAskChoiceInput(raw) {
177
+ if (!raw || typeof raw !== "object" || Array.isArray(raw)) {
178
+ return "ask_user \u9700\u8981\u4E00\u4E2A\u5BF9\u8C61\u53C2\u6570\u3002";
179
+ }
180
+ const args = raw;
181
+ if (args.blocking !== void 0 && typeof args.blocking !== "boolean") {
182
+ return "ask_user \u7684 blocking \u5FC5\u987B\u662F\u5E03\u5C14\u503C\u3002";
183
+ }
184
+ const rawQuestions = args.questions;
185
+ if (rawQuestions !== void 0 && !Array.isArray(rawQuestions)) {
186
+ return "ask_user \u7684 questions \u5FC5\u987B\u662F\u6570\u7EC4\u3002";
187
+ }
188
+ const questions = rawQuestions;
189
+ if (questions && questions.length > 0) {
190
+ const seenQuestionIds = /* @__PURE__ */ new Set();
191
+ for (let index = 0; index < questions.length; index += 1) {
192
+ const entry = questions[index];
193
+ if (!entry || typeof entry !== "object" || Array.isArray(entry)) {
194
+ return `questions[${index}] \u5FC5\u987B\u662F\u5BF9\u8C61\u3002`;
195
+ }
196
+ const question = entry;
197
+ if (question.id !== void 0 && typeof question.id !== "string") {
198
+ return `questions[${index}].id \u5FC5\u987B\u662F\u5B57\u7B26\u4E32\u3002`;
199
+ }
200
+ const questionId = typeof question.id === "string" ? question.id.trim() : "";
201
+ if (questionId && seenQuestionIds.has(questionId)) {
202
+ return `\u95EE\u9898 id "${questionId}" \u91CD\u590D\u3002`;
203
+ }
204
+ if (questionId) seenQuestionIds.add(questionId);
205
+ if (typeof question.question !== "string" || !question.question.trim()) {
206
+ return `questions[${index}].question \u5FC5\u987B\u662F\u975E\u7A7A\u5B57\u7B26\u4E32\u3002`;
207
+ }
208
+ for (const flag of ["multiSelect", "allowOther", "required"]) {
209
+ if (question[flag] !== void 0 && typeof question[flag] !== "boolean") {
210
+ return `questions[${index}].${flag} \u5FC5\u987B\u662F\u5E03\u5C14\u503C\u3002`;
211
+ }
212
+ }
213
+ const choices = question.choices;
214
+ if (!Array.isArray(choices)) {
215
+ return `questions[${index}].choices \u5FC5\u987B\u662F\u6570\u7EC4\u3002`;
216
+ }
217
+ const choiceError = validateChoiceList(choices, `questions[${index}]`);
218
+ if (choiceError) return choiceError;
219
+ if (choices.length === 0 && question.allowOther === false) {
220
+ return `questions[${index}] \u6CA1\u6709\u4EFB\u4F55\u9009\u9879\u4E14 allowOther \u4E3A false\uFF0C\u7528\u6237\u65E0\u6CD5\u4F5C\u7B54\u3002`;
221
+ }
222
+ }
223
+ return null;
224
+ }
225
+ if (typeof args.question !== "string" || !args.question.trim()) {
226
+ return "ask_user \u9700\u8981 question\uFF08\u975E\u7A7A\u5B57\u7B26\u4E32\uFF09\u4E0E choices\u3002";
227
+ }
228
+ if (!Array.isArray(args.choices) || args.choices.length === 0) {
229
+ return "ask_user \u9700\u8981 question\uFF08\u975E\u7A7A\u5B57\u7B26\u4E32\uFF09\u4E0E choices\u3002";
230
+ }
231
+ return validateChoiceList(args.choices, "ask_user");
232
+ }
233
+ async function uiAskChoiceFunc(args, _thunkApi) {
234
+ const invalid = validateAskChoiceInput(args);
235
+ if (invalid) throw new Error(invalid);
236
+ const blocking = args?.blocking !== false;
237
+ if (Array.isArray(args?.questions) && args.questions.length > 0) {
238
+ const firstQ = args.questions[0];
239
+ return {
240
+ rawData: {
241
+ type: "ask_user",
242
+ question: firstQ?.question ?? "",
243
+ choices: firstQ?.choices ?? [],
244
+ blocking,
245
+ questions: args.questions
246
+ },
247
+ displayData: args.questions.map((q) => q.question).join(" / ")
248
+ };
249
+ }
250
+ const question = String(args?.question ?? "").trim();
251
+ const choices = Array.isArray(args?.choices) ? args.choices : [];
252
+ if (!question || choices.length === 0) {
253
+ throw new Error("ask_user \u9700\u8981 question+choices \u6216 questions\u3002");
254
+ }
255
+ return {
256
+ rawData: {
257
+ type: "ask_user",
258
+ question,
259
+ choices,
260
+ blocking
261
+ },
262
+ displayData: question
263
+ };
264
+ }
265
+ function parseUiAskChoiceContent(rawContent) {
266
+ const parsed = typeof rawContent === "string" ? (() => {
267
+ try {
268
+ return JSON.parse(rawContent);
269
+ } catch {
270
+ return null;
271
+ }
272
+ })() : rawContent;
273
+ if (!parsed || typeof parsed !== "object") return null;
274
+ if (parsed.type !== "ask_user") return null;
275
+ return parsed;
276
+ }
277
+
60
278
  // packages/ai/memory/policy.ts
61
279
  function isPublicAgentKey(agentKey) {
62
280
  return typeof agentKey === "string" && /^agent-pub-/i.test(agentKey.trim());
@@ -852,6 +1070,10 @@ var createDialogAction = async (args, thunkApi) => {
852
1070
  };
853
1071
 
854
1072
  export {
1073
+ uiAskChoiceFunctionSchema,
1074
+ validateAskChoiceInput,
1075
+ uiAskChoiceFunc,
1076
+ parseUiAskChoiceContent,
855
1077
  resolveAgentMemoryPolicy,
856
1078
  buildMemorySubjectsForAgent,
857
1079
  chooseMemoryOwners,
@@ -1,6 +1,3 @@
1
- import {
2
- resolveLocalUserId
3
- } from "./chunk-HHFGE2WF.js";
4
1
  import {
5
2
  resolveNoloHome
6
3
  } from "./chunk-GLKOYSRU.js";
@@ -8,6 +5,9 @@ import {
8
5
  isSupportedDialogId,
9
6
  splitDialogKeyIdentity
10
7
  } from "./chunk-YZMNK53S.js";
8
+ import {
9
+ resolveLocalUserId
10
+ } from "./chunk-UPOW5HTG.js";
11
11
  import {
12
12
  toErrorMessage
13
13
  } from "./chunk-HNMXYYJR.js";
@@ -1,23 +1,23 @@
1
- import {
2
- getActiveDialogKey
3
- } from "./chunk-S2NTVGA2.js";
4
1
  import {
5
2
  require_formatISO
6
3
  } from "./chunk-UVLYNWIE.js";
7
4
  import {
8
5
  patch,
9
6
  selectById
10
- } from "./chunk-CMMI3DAT.js";
7
+ } from "./chunk-HZDK56EK.js";
8
+ import {
9
+ getActiveDialogKey
10
+ } from "./chunk-U35UUM5K.js";
11
11
  import {
12
12
  __toESM
13
13
  } from "./chunk-U67V476Y.js";
14
14
 
15
15
  // packages/chat/dialog/actions/setDialogExtraReferencesAction.ts
16
16
  var import_formatISO = __toESM(require_formatISO());
17
- var setDialogExtraReferencesAction = async (extraReferences, thunkApi) => {
17
+ var setDialogExtraReferencesAction = async (extraReferences, thunkApi, dialogKey) => {
18
18
  const { dispatch, getState } = thunkApi;
19
19
  const state = getState();
20
- const currentDialogKey = getActiveDialogKey();
20
+ const currentDialogKey = dialogKey === void 0 ? getActiveDialogKey() : dialogKey;
21
21
  if (!currentDialogKey) {
22
22
  throw new Error("No current dialog selected");
23
23
  }
@@ -14,6 +14,21 @@ var authRoutes = {
14
14
  method: "POST",
15
15
  createPath: () => `${API_VERSION}/users/signup`
16
16
  },
17
+ github: {
18
+ start: { path: `${API_VERSION}/users/github/start`, method: "POST", createPath: () => `${API_VERSION}/users/github/start` },
19
+ callback: { path: `${API_VERSION}/users/github/callback`, method: "GET", createPath: () => `${API_VERSION}/users/github/callback` },
20
+ complete: { path: `${API_VERSION}/users/github/complete`, method: "POST", createPath: () => `${API_VERSION}/users/github/complete` }
21
+ },
22
+ google: {
23
+ start: { path: `${API_VERSION}/users/google/start`, method: "POST", createPath: () => `${API_VERSION}/users/google/start` },
24
+ callback: { path: `${API_VERSION}/users/google/callback`, method: "GET", createPath: () => `${API_VERSION}/users/google/callback` },
25
+ complete: { path: `${API_VERSION}/users/google/complete`, method: "POST", createPath: () => `${API_VERSION}/users/google/complete` },
26
+ bindConfirm: { path: `${API_VERSION}/users/google/bind/confirm`, method: "POST", createPath: () => `${API_VERSION}/users/google/bind/confirm` },
27
+ binding: { path: `${API_VERSION}/users/google/binding`, method: "GET", createPath: () => `${API_VERSION}/users/google/binding` },
28
+ sessionLogout: { path: `${API_VERSION}/users/google/session/logout`, method: "POST", createPath: () => `${API_VERSION}/users/google/session/logout` },
29
+ sessionRevokeStart: { path: `${API_VERSION}/users/google/session-revoke/start`, method: "POST", createPath: () => `${API_VERSION}/users/google/session-revoke/start` },
30
+ sessionRevokeConfirm: { path: `${API_VERSION}/users/google/session-revoke/confirm`, method: "POST", createPath: () => `${API_VERSION}/users/google/session-revoke/confirm` }
31
+ },
17
32
  users: {
18
33
  cliLoginStart: {
19
34
  path: `${API_VERSION}/users/cli-login/start`,