nolo-cli 0.210.0-alpha.2 → 0.212.0-alpha.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-VVQEOY3D.js → _executeModel-KE6MBNUJ.js} +51 -48
- package/{action-U235TV4P.js → action-DF5UYSJF.js} +4 -4
- package/{addContentAction-7C76J7ST.js → addContentAction-N2YC5IL3.js} +8 -8
- package/{addDialogAgentAction-KTYANUEC.js → addDialogAgentAction-3NKVQCEC.js} +15 -12
- package/{agentDeleteCommand-WHRU6VDJ.js → agentDeleteCommand-NWK7VU4N.js} +71 -67
- package/{agentEmailCommands-ALLHXPW3.js → agentEmailCommands-UZ4DHEX2.js} +77 -72
- package/{agentListCommands-POKMEKMS.js → agentListCommands-HE7L2A6L.js} +190 -77
- package/{agentMachineCommands-WJLZLBPI.js → agentMachineCommands-6TE4MBMP.js} +30 -29
- package/{agentProviderCommands-MN3ABDME.js → agentProviderCommands-Q5O33MED.js} +33 -4
- package/{agentRecordCommands-OULZW3KM.js → agentRecordCommands-L3QQ7HZ4.js} +66 -61
- package/{agentRunCommand-ZNG4LGNQ.js → agentRunCommand-2IFGQHCO.js} +68 -64
- package/{agentRunControl-AF7BMR22.js → agentRunControl-OI3LOENH.js} +7 -6
- package/{agentRuntimeLocal-YMUHFV5M.js → agentRuntimeLocal-HL526DNQ.js} +28 -25
- package/{agentSlice-WNGUIMQZ.js → agentSlice-TMYP2UEA.js} +12 -12
- package/{appDeleteCommands-6MXPLAVF.js → appDeleteCommands-ZERW4AXY.js} +30 -29
- package/{appDeployCommands-ERRSVASW.js → appDeployCommands-DUWSMYHL.js} +30 -29
- package/{appDeployStatusCommands-ULICISLI.js → appDeployStatusCommands-N2KIE4BF.js} +30 -29
- package/{appGetCommands-WYYYWROF.js → appGetCommands-YVR4NPVY.js} +30 -29
- package/{appListCommands-DFCUCRCV.js → appListCommands-JS6HOHZS.js} +30 -29
- package/{authCommand-ZJMWXFMA.js → authCommand-FE2C3ZUM.js} +14 -14
- package/{authCommands-WK6E42L2.js → authCommands-HV3EAU3V.js} +2 -2
- package/{builtinSkillRegistry-HH75G5J3.js → builtinSkillRegistry-3YOIGEF6.js} +5 -4
- package/{chunk-JKW6LERJ.js → chunk-22CIEBYO.js} +14 -14
- package/{chunk-6HVBI6TI.js → chunk-25JZEIXN.js} +1 -218
- package/{chunk-TRZP7JZ7.js → chunk-2QHFH3DR.js} +1 -0
- package/{chunk-4LEGTOSR.js → chunk-3AKFVZ2I.js} +1 -1
- package/{chunk-XE4Q46FF.js → chunk-3CGG2PAL.js} +1 -1
- package/{chunk-25M2K6OA.js → chunk-3FOQHGHN.js} +3 -3
- package/{chunk-BSISWVB4.js → chunk-4I7ERB7F.js} +1 -1
- package/{chunk-TCTSYFDM.js → chunk-4KH4J3G5.js} +19 -6
- package/{chunk-NEZGPBL7.js → chunk-5AQR3DGV.js} +2 -2
- package/{chunk-YLTLB5A7.js → chunk-5RYBGBQH.js} +7 -6
- package/{chunk-RIALQUSF.js → chunk-6NSSLV67.js} +5 -5
- package/{chunk-RXCCWVA2.js → chunk-6OQUPIQF.js} +3 -3
- package/chunk-6VLJ6YA7.js +11751 -0
- package/{chunk-27E2CBBY.js → chunk-7OCO4TDT.js} +1 -1
- package/chunk-7RFNTILS.js +2213 -0
- package/{chunk-4WCEC56C.js → chunk-AVTVGMDY.js} +1 -1
- package/{chunk-3J3U3KXB.js → chunk-B7NJ3T4A.js} +4 -4
- package/{chunk-UMEGDH6A.js → chunk-BFM34N54.js} +7 -7
- package/chunk-CJEIOP3E.js +0 -0
- package/{chunk-YXOBCDNW.js → chunk-CJRONOYL.js} +5 -5
- package/{chunk-LT3EAHJY.js → chunk-CQ46IRNN.js} +38 -36
- package/{chunk-NTSRCTUX.js → chunk-CTPXME7U.js} +2 -2
- package/{chunk-M4NTDZG3.js → chunk-D5RCRX4A.js} +134 -141
- package/{chunk-25OB36GU.js → chunk-DM6UMOEL.js} +4 -4
- package/{chunk-TPCDYNJK.js → chunk-EYUBHHFB.js} +1 -1
- package/{chunk-Y6M7KJOA.js → chunk-EZFQ6XRV.js} +2 -2
- package/{chunk-ZOO3WJIE.js → chunk-FHU44LN3.js} +711 -40
- package/chunk-FY7F4Q6X.js +127 -0
- package/chunk-G7MLNNEX.js +84 -0
- package/{chunk-RYWO5AKN.js → chunk-GNDJKC4B.js} +10 -10
- package/{chunk-V3M6IXQI.js → chunk-GPO7FCEZ.js} +187 -36
- package/{chunk-RQ22OZD7.js → chunk-H2TJUNCH.js} +1 -1
- package/{chunk-C2XZM3K4.js → chunk-HIRC32DV.js} +5 -24
- package/{chunk-QQM464AL.js → chunk-HPFCI4SK.js} +3 -3
- package/chunk-HRMJUN5J.js +26 -0
- package/{chunk-HD3WR3TD.js → chunk-IAPCBNEE.js} +1 -1
- package/{chunk-XDMGY5IU.js → chunk-IF45XG7K.js} +220 -9
- package/{chunk-NLT32XBZ.js → chunk-IIQ6JGRI.js} +2 -2
- package/{chunk-OP7PTBAJ.js → chunk-IJXYFTV7.js} +8 -8
- package/{chunk-IIHY4ZAI.js → chunk-INSBKSBB.js} +8 -4
- package/{chunk-PAFTGNWA.js → chunk-JIT6FSXJ.js} +1 -1
- package/{chunk-WTKYP6QO.js → chunk-JTDORD5P.js} +5 -5
- package/{chunk-ECX3NKRD.js → chunk-JY5NGFFH.js} +11 -0
- package/chunk-KC4XDTT3.js +227 -0
- package/{chunk-PLYWH7XM.js → chunk-KIM6CLW5.js} +7 -7
- package/{chunk-SCYQJPGA.js → chunk-M6RL5JCD.js} +147 -20
- package/chunk-MMA3LZ3W.js +105 -0
- package/{chunk-I5PBXF7O.js → chunk-MMNYUVLW.js} +1 -1
- package/{chunk-NHQKWPLP.js → chunk-NJR3WKVP.js} +24 -22
- package/{chunk-W5VC7F7V.js → chunk-NOMIGOST.js} +59 -60
- package/{chunk-WI6OGHXJ.js → chunk-NRFKLKRU.js} +5 -5
- package/{chunk-NXCGNS4N.js → chunk-OHNELDTO.js} +1 -1
- package/{chunk-7IYBN7IA.js → chunk-OOF4UPC5.js} +22 -13
- package/{chunk-UIOEHFF6.js → chunk-OQHIVPG4.js} +1 -0
- package/{chunk-X4F26D5K.js → chunk-P5L7CXOC.js} +58 -33
- package/{chunk-5ORJGHTL.js → chunk-PDGKOTO7.js} +5 -5
- package/{chunk-UCPAVEQB.js → chunk-PYRUW7XN.js} +1 -1
- package/{chunk-SU3QL7YG.js → chunk-QT6PKHYJ.js} +1 -1
- package/{chunk-SN5XE6GQ.js → chunk-RPQXPZZF.js} +4 -4
- package/{chunk-ZN5AH4BY.js → chunk-RU4SD66C.js} +6 -6
- package/{chunk-YKFP6UGT.js → chunk-SOHTHFV2.js} +14 -14
- package/{chunk-CKOO42G5.js → chunk-UHJGXRJ4.js} +4 -4
- package/{chunk-CVCRAO6Q.js → chunk-UTV2AYEG.js} +9 -7
- package/{chunk-DQLB4NQ3.js → chunk-VPAZOH2D.js} +2 -2
- package/{chunk-MBS6CTZB.js → chunk-VZKUKCA6.js} +236 -1993
- package/{chunk-LNYHAKBP.js → chunk-W4S457LU.js} +1 -1
- package/chunk-WPORQFYN.js +74 -0
- package/{chunk-ET2CWLIJ.js → chunk-WXYLV624.js} +3 -3
- package/chunk-XFYFMTOM.js +92 -0
- package/{chunk-NV572QM3.js → chunk-YJMRHHGY.js} +15 -15
- package/{chunk-JBOUVTZX.js → chunk-YOIW77S2.js} +13 -2
- package/{chunk-ADBWFYJD.js → chunk-YPD3VJZW.js} +9 -9
- package/{chunk-DA7CTWT4.js → chunk-YWSEPJ7C.js} +5 -5
- package/{chunk-3V2QMRNN.js → chunk-ZL5RAEEB.js} +3 -3
- package/cliAgentConfigHelpers-WJBZQTLW.js +41 -0
- package/{commandRegistry-FI2IOQ3U.js → commandRegistry-VVMTPFAX.js} +85 -81
- package/{contentThunks-5LKNNDGY.js → contentThunks-N52O67MI.js} +25 -24
- package/{createAgentAutomationAction-TI4QG4CY.js → createAgentAutomationAction-ZC57YRSV.js} +25 -24
- package/{createDialogAction-TJ3JKLO4.js → createDialogAction-VQW5WDYX.js} +27 -26
- package/{createPageAction-GKXT6WEH.js → createPageAction-M5VDA7SC.js} +26 -25
- package/{dbSlice-LPMZ2DGJ.js → dbSlice-HP7G4LX3.js} +7 -7
- package/{deleteFile-EPUQHKPA.js → deleteFile-7VQGLK2V.js} +3 -3
- package/{dialogCommands-IWPXIZ5P.js → dialogCommands-JHMR2N2Y.js} +32 -30
- package/{dialogSlice-ZWNNS7GZ.js → dialogSlice-GRSVGDTF.js} +23 -22
- package/{dialogUsageCommand-ZCPPHPJ5.js → dialogUsageCommand-7KCPYGHG.js} +1 -1
- package/{docCreateCommands-HFSPKJSI.js → docCreateCommands-F2K3UPSQ.js} +28 -27
- package/{docDeleteCommands-CRL62POH.js → docDeleteCommands-XGXB5RFT.js} +29 -28
- package/{docReadCommands-QOTOX3XW.js → docReadCommands-7HWZZV6J.js} +28 -27
- package/{docStore-WYLRB7ED.js → docStore-KNZK6Y2G.js} +10 -10
- package/{docUpdateCommands-7BMH4MCA.js → docUpdateCommands-OZZ7NQII.js} +28 -27
- package/{fetchMessages-YY4SATNR.js → fetchMessages-M3QU7ZCQ.js} +1 -1
- package/{getPricing-OQXBJ6VZ.js → getPricing-2MNMXEVG.js} +3 -3
- package/{handleSendMessageAction-P27YP2DQ.js → handleSendMessageAction-SHIH74GJ.js} +46 -44
- package/hostCredentialCreate-X64WK4JD.js +357 -0
- package/index.js +5 -5
- package/{keys-P4ZDOVJW.js → keys-BEGDOTRL.js} +3 -1
- package/{localDialogRead-5VCMQQZF.js → localDialogRead-XRLAH4CZ.js} +1 -1
- package/{localRuntimeAdapter-GP6ZSSO3.js → localRuntimeAdapter-A7K3ABA6.js} +73 -66
- package/{machineCommands-6Z6H4BFX.js → machineCommands-DE3MR7CJ.js} +65 -60
- package/{machineWsRunDispatch-F2ZIXMYM.js → machineWsRunDispatch-R26P5V36.js} +65 -60
- package/{memberThunks-YSEFJF47.js → memberThunks-7WJAY5V6.js} +8 -8
- package/package.json +1 -1
- package/{projectArchive-PIGEOX3D.js → projectArchive-GGL5HLMD.js} +26 -25
- package/{providerPresetApply-ZYMLQA46.js → providerPresetApply-YXGV6NXB.js} +4 -4
- package/{providerRegistry-E34XWDLJ.js → providerRegistry-S6UL6UNA.js} +4 -4
- package/{read-DIIQBOOO.js → read-4VZQODSN.js} +3 -3
- package/{readDocTool-HXYGOEA7.js → readDocTool-AVD32RUJ.js} +1 -1
- package/{readlineWorkspace-UG25G7KC.js → readlineWorkspace-XKYKNL2I.js} +157 -100
- package/{removeDialogAgentAction-ALJDUJ2E.js → removeDialogAgentAction-FKL4BYMR.js} +17 -14
- package/{runAgentClientLoop-IO5F7TCZ.js → runAgentClientLoop-V7E2WBVM.js} +49 -46
- package/{runtimeDoctorCommands-PGAA47G5.js → runtimeDoctorCommands-QAI3MBKQ.js} +6 -6
- package/{secretCommands-ZCZ4KVET.js → secretCommands-4QS3HCA2.js} +3 -3
- package/{setDialogExtraReferencesAction-O3SVMD5A.js → setDialogExtraReferencesAction-TLIOLWWI.js} +10 -10
- package/{setPrimaryDialogAgentAction-HE7RVFFF.js → setPrimaryDialogAgentAction-2OLWRFYR.js} +18 -15
- package/{settingThunks-BWWJQG4L.js → settingThunks-UGBPCNYF.js} +12 -11
- package/{spaceCommands-UAELIFEI.js → spaceCommands-4KSLKVNF.js} +28 -27
- package/{streamAgentChatTurn-VUKZQYJR.js → streamAgentChatTurn-7FR7X2NU.js} +57 -54
- package/{switchDialogAgentAction-3VZS7SOS.js → switchDialogAgentAction-UZSAG2N5.js} +15 -12
- package/{tools-VRXJAVYI.js → tools-ZLKCC25W.js} +43 -40
- package/{tuiSummaryLlmCaller-TGCHZLSW.js → tuiSummaryLlmCaller-WC54MVGP.js} +10 -10
- package/{updateCommands-Q6CYAEYJ.js → updateCommands-4744PL3P.js} +3 -1
- package/{updateDialogTitleAction-MULWCJCW.js → updateDialogTitleAction-U53ZT7PJ.js} +38 -70
- package/usageCommand-F4IPVMIZ.js +32 -0
- package/usageRebuildCommand-HAW2AD5N.js +626 -0
- package/chunk-4LCOCOR5.js +0 -50
- package/chunk-7AUQ3WCW.js +0 -51
- package/chunk-ZRAU6T47.js +0 -56
- package/{agentFavoriteCommands-GAFEXKKP.js → agentFavoriteCommands-EDK743YA.js} +1 -1
- package/{agentGrantCommands-V5FOQKFD.js → agentGrantCommands-RQWK2TEV.js} +1 -1
- package/{agentPullCommand-2JMJP5BS.js → agentPullCommand-6EM3URVK.js} +1 -1
- package/{chunk-BTYQAODF.js → chunk-CZM5YTZ7.js} +3 -3
- package/{chunk-A2ZMIRLN.js → chunk-INN4LTAJ.js} +5 -5
- package/{chunk-XPHZK3PJ.js → chunk-JNKSDZFS.js} +3 -3
- package/{chunk-PV6JJAUB.js → chunk-TCZHTTUU.js} +8 -8
- package/{chunk-AKE53VMW.js → chunk-ZCWRMUWT.js} +0 -0
- package/{tableCommands-D7WR4QSM.js → tableCommands-MP6VFSVT.js} +3 -3
|
@@ -1,12 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
require_differenceInMinutes
|
|
3
|
+
} from "./chunk-FY7F4Q6X.js";
|
|
1
4
|
import {
|
|
2
5
|
updateContentTitle
|
|
3
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NJR3WKVP.js";
|
|
4
7
|
import {
|
|
5
|
-
format,
|
|
6
8
|
isAssistantToolStub,
|
|
7
9
|
selectAllMsgs
|
|
8
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VZKUKCA6.js";
|
|
9
11
|
import "./chunk-TZXPT53C.js";
|
|
12
|
+
import {
|
|
13
|
+
require_format
|
|
14
|
+
} from "./chunk-7RFNTILS.js";
|
|
10
15
|
import "./chunk-LEC5ALIN.js";
|
|
11
16
|
import {
|
|
12
17
|
BUILTIN_DIALOG_LLM_FALLBACK_MODEL,
|
|
@@ -14,35 +19,32 @@ import {
|
|
|
14
19
|
} from "./chunk-523DITKR.js";
|
|
15
20
|
import {
|
|
16
21
|
runLlm
|
|
17
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-YPD3VJZW.js";
|
|
18
23
|
import "./chunk-5XBUWM6I.js";
|
|
19
24
|
import "./chunk-BYXBJQAS.js";
|
|
20
25
|
import "./chunk-QYPE3TS3.js";
|
|
21
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-IIQ6JGRI.js";
|
|
22
27
|
import "./chunk-4JH2UMJR.js";
|
|
23
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-VPAZOH2D.js";
|
|
24
29
|
import {
|
|
25
30
|
normalizeSpaceId
|
|
26
31
|
} from "./chunk-UAD2WT54.js";
|
|
27
32
|
import "./chunk-5RGU3J7P.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import
|
|
30
|
-
requiredArgs,
|
|
31
|
-
toDate
|
|
32
|
-
} from "./chunk-4LCOCOR5.js";
|
|
33
|
+
import "./chunk-WPORQFYN.js";
|
|
34
|
+
import "./chunk-MMA3LZ3W.js";
|
|
33
35
|
import "./chunk-OWYYDMGJ.js";
|
|
34
36
|
import "./chunk-YDH3FDFQ.js";
|
|
35
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-4I7ERB7F.js";
|
|
36
38
|
import {
|
|
37
39
|
patch,
|
|
38
40
|
selectById
|
|
39
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-BFM34N54.js";
|
|
40
42
|
import "./chunk-3PVYUPXK.js";
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-AVTVGMDY.js";
|
|
44
|
+
import "./chunk-JIT6FSXJ.js";
|
|
45
|
+
import "./chunk-PYRUW7XN.js";
|
|
44
46
|
import "./chunk-UEILX4EV.js";
|
|
45
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-P5L7CXOC.js";
|
|
46
48
|
import "./chunk-AGP3YSEC.js";
|
|
47
49
|
import "./chunk-QQ56R7KS.js";
|
|
48
50
|
import "./chunk-OW765XBU.js";
|
|
@@ -56,35 +58,38 @@ import {
|
|
|
56
58
|
buildDialogFallbackTitleFromMessages,
|
|
57
59
|
resolveDialogTitle
|
|
58
60
|
} from "./chunk-2MBTWINN.js";
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-5ZUL4CUO.js";
|
|
61
|
+
import "./chunk-JTDORD5P.js";
|
|
61
62
|
import {
|
|
62
63
|
serializeMessageContent
|
|
63
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-CZM5YTZ7.js";
|
|
64
65
|
import "./chunk-H57T64RA.js";
|
|
66
|
+
import "./chunk-5ZUL4CUO.js";
|
|
65
67
|
import "./chunk-UKZX3NHN.js";
|
|
66
68
|
import "./chunk-5MMAK75Q.js";
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
69
|
+
import "./chunk-2QHFH3DR.js";
|
|
70
|
+
import "./chunk-OQHIVPG4.js";
|
|
69
71
|
import "./chunk-KX6YBIHG.js";
|
|
70
72
|
import "./chunk-DWLEOOGR.js";
|
|
71
73
|
import "./chunk-7DPNBQSV.js";
|
|
72
|
-
import "./chunk-
|
|
74
|
+
import "./chunk-T43B7LB2.js";
|
|
73
75
|
import "./chunk-LOEO7LRC.js";
|
|
74
76
|
import {
|
|
75
77
|
extractCustomId
|
|
76
78
|
} from "./chunk-M2EJHDJP.js";
|
|
77
79
|
import "./chunk-PSCNXBYA.js";
|
|
78
|
-
import "./chunk-6UBGXX2W.js";
|
|
79
80
|
import "./chunk-YUA6OAH5.js";
|
|
80
81
|
import "./chunk-SM3NSZJV.js";
|
|
81
82
|
import "./chunk-JRTNUU5Z.js";
|
|
82
83
|
import "./chunk-HNMXYYJR.js";
|
|
83
84
|
import "./chunk-KUG52IAP.js";
|
|
85
|
+
import "./chunk-GOO6G4PY.js";
|
|
86
|
+
import "./chunk-QSJ3HFEF.js";
|
|
84
87
|
import "./chunk-LCBAMY2M.js";
|
|
85
88
|
import "./chunk-4SN6J65J.js";
|
|
86
89
|
import "./chunk-CF7PE763.js";
|
|
87
|
-
import "./chunk-
|
|
90
|
+
import "./chunk-G7Y4GXTY.js";
|
|
91
|
+
import "./chunk-6UBGXX2W.js";
|
|
92
|
+
import "./chunk-JY5NGFFH.js";
|
|
88
93
|
import "./chunk-XJWWBO34.js";
|
|
89
94
|
import "./chunk-I42VC5KR.js";
|
|
90
95
|
import "./chunk-U6VC4MU4.js";
|
|
@@ -93,52 +98,15 @@ import {
|
|
|
93
98
|
asTrimmedString
|
|
94
99
|
} from "./chunk-3EUW3WEO.js";
|
|
95
100
|
import "./chunk-G3SUCT4W.js";
|
|
96
|
-
import
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
import "./chunk-4VNS5WPM.js";
|
|
100
|
-
|
|
101
|
-
// node_modules/date-fns/esm/constants/index.js
|
|
102
|
-
var daysInYear = 365.2425;
|
|
103
|
-
var maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1e3;
|
|
104
|
-
var millisecondsInMinute = 6e4;
|
|
105
|
-
var minTime = -maxTime;
|
|
106
|
-
var secondsInHour = 3600;
|
|
107
|
-
var secondsInDay = secondsInHour * 24;
|
|
108
|
-
var secondsInWeek = secondsInDay * 7;
|
|
109
|
-
var secondsInYear = secondsInDay * daysInYear;
|
|
110
|
-
var secondsInMonth = secondsInYear / 12;
|
|
111
|
-
var secondsInQuarter = secondsInMonth * 3;
|
|
112
|
-
|
|
113
|
-
// node_modules/date-fns/esm/differenceInMilliseconds/index.js
|
|
114
|
-
function differenceInMilliseconds(dateLeft, dateRight) {
|
|
115
|
-
requiredArgs(2, arguments);
|
|
116
|
-
return toDate(dateLeft).getTime() - toDate(dateRight).getTime();
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
// node_modules/date-fns/esm/_lib/roundingMethods/index.js
|
|
120
|
-
var roundingMap = {
|
|
121
|
-
ceil: Math.ceil,
|
|
122
|
-
round: Math.round,
|
|
123
|
-
floor: Math.floor,
|
|
124
|
-
trunc: function trunc(value) {
|
|
125
|
-
return value < 0 ? Math.ceil(value) : Math.floor(value);
|
|
126
|
-
}
|
|
127
|
-
// Math.trunc is not supported by IE
|
|
128
|
-
};
|
|
129
|
-
var defaultRoundingMethod = "trunc";
|
|
130
|
-
function getRoundingMethod(method) {
|
|
131
|
-
return method ? roundingMap[method] : roundingMap[defaultRoundingMethod];
|
|
132
|
-
}
|
|
101
|
+
import {
|
|
102
|
+
__toESM
|
|
103
|
+
} from "./chunk-4VNS5WPM.js";
|
|
133
104
|
|
|
134
|
-
//
|
|
135
|
-
|
|
136
|
-
requiredArgs(2, arguments);
|
|
137
|
-
var diff = differenceInMilliseconds(dateLeft, dateRight) / millisecondsInMinute;
|
|
138
|
-
return getRoundingMethod(options === null || options === void 0 ? void 0 : options.roundingMethod)(diff);
|
|
139
|
-
}
|
|
105
|
+
// packages/chat/dialog/actions/updateDialogTitleAction.ts
|
|
106
|
+
var import_format = __toESM(require_format());
|
|
140
107
|
|
|
141
108
|
// packages/chat/dialog/actions/updateDialogTitlePolicy.ts
|
|
109
|
+
var import_differenceInMinutes = __toESM(require_differenceInMinutes());
|
|
142
110
|
var TITLE_UPDATE_INTERVAL_MINUTES = 30;
|
|
143
111
|
var FORCE_UPDATE_FOR_TEST = false;
|
|
144
112
|
var shouldUpdateTitle = (createdAt, lastUpdatedAt, now = /* @__PURE__ */ new Date()) => {
|
|
@@ -148,7 +116,7 @@ var shouldUpdateTitle = (createdAt, lastUpdatedAt, now = /* @__PURE__ */ new Dat
|
|
|
148
116
|
if (!lastUpdate || !creation || Number.isNaN(lastUpdate.getTime()) || Number.isNaN(creation.getTime())) {
|
|
149
117
|
return true;
|
|
150
118
|
}
|
|
151
|
-
return
|
|
119
|
+
return (0, import_differenceInMinutes.default)(now, creation) <= TITLE_UPDATE_INTERVAL_MINUTES || (0, import_differenceInMinutes.default)(now, lastUpdate) >= TITLE_UPDATE_INTERVAL_MINUTES;
|
|
152
120
|
};
|
|
153
121
|
|
|
154
122
|
// packages/chat/dialog/actions/updateDialogTitleAction.ts
|
|
@@ -214,7 +182,7 @@ var updateDialogTitleActionWithDeps = async (args, thunkApi, deps = {}) => {
|
|
|
214
182
|
if (messageContext.length === 0) {
|
|
215
183
|
return dialogConfig;
|
|
216
184
|
}
|
|
217
|
-
const fallbackTitle = buildDialogFallbackTitleFromMessages(messageContext) || `Conversation on ${
|
|
185
|
+
const fallbackTitle = buildDialogFallbackTitleFromMessages(messageContext) || `Conversation on ${(0, import_format.default)(/* @__PURE__ */ new Date(), "MMM d")}`;
|
|
218
186
|
let generatedTitle = "";
|
|
219
187
|
const currentUserId = selectCurrentUserId(state);
|
|
220
188
|
if (!shouldSkipPlatformTitleLlm({
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
countUserBuckets,
|
|
3
|
+
formatUsageSummary,
|
|
4
|
+
parseUsageArgs,
|
|
5
|
+
readLocalDayStats,
|
|
6
|
+
resolveDateWindow,
|
|
7
|
+
runUsageCommand,
|
|
8
|
+
summarizeUsage
|
|
9
|
+
} from "./chunk-6VLJ6YA7.js";
|
|
10
|
+
import "./chunk-FY7F4Q6X.js";
|
|
11
|
+
import "./chunk-7RFNTILS.js";
|
|
12
|
+
import "./chunk-WPORQFYN.js";
|
|
13
|
+
import "./chunk-MMA3LZ3W.js";
|
|
14
|
+
import "./chunk-AZMYUSVF.js";
|
|
15
|
+
import "./chunk-GLKOYSRU.js";
|
|
16
|
+
import "./chunk-JY5NGFFH.js";
|
|
17
|
+
import "./chunk-XJWWBO34.js";
|
|
18
|
+
import "./chunk-I42VC5KR.js";
|
|
19
|
+
import "./chunk-U6VC4MU4.js";
|
|
20
|
+
import "./chunk-WWC7I6TA.js";
|
|
21
|
+
import "./chunk-3EUW3WEO.js";
|
|
22
|
+
import "./chunk-G3SUCT4W.js";
|
|
23
|
+
import "./chunk-4VNS5WPM.js";
|
|
24
|
+
export {
|
|
25
|
+
countUserBuckets,
|
|
26
|
+
formatUsageSummary,
|
|
27
|
+
parseUsageArgs,
|
|
28
|
+
readLocalDayStats,
|
|
29
|
+
resolveDateWindow,
|
|
30
|
+
runUsageCommand,
|
|
31
|
+
summarizeUsage
|
|
32
|
+
};
|