nolo-cli 0.14.0 → 0.15.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 (100) hide show
  1. package/{_executeModel-TURRLTZ2.js → _executeModel-QAUS6B7J.js} +24 -24
  2. package/{action-N3KXFO5V.js → action-GUOZYYGN.js} +4 -4
  3. package/{addContentAction-4Z762DMR.js → addContentAction-QDGHGUBH.js} +3 -3
  4. package/{addDialogAgentAction-FALLEKPR.js → addDialogAgentAction-Z4YCYZIV.js} +2 -2
  5. package/{agentDeleteCommand-AZDVM4HQ.js → agentDeleteCommand-QDO62EZA.js} +20 -20
  6. package/{agentEmailCommands-M4AHOEZ3.js → agentEmailCommands-UZ5BKX3P.js} +38 -38
  7. package/{agentGrantCommands-B4MB23VQ.js → agentGrantCommands-JNDE4RWR.js} +2 -2
  8. package/{agentListCommands-OJLOXSKL.js → agentListCommands-ZC33UDWT.js} +22 -22
  9. package/{agentMachineCommands-NPMM4Z53.js → agentMachineCommands-RZGZEZRL.js} +20 -20
  10. package/{agentPullCommand-KRBRIFIY.js → agentPullCommand-6HWUT3SW.js} +2 -2
  11. package/{agentRecordCommands-RVUH7XLZ.js → agentRecordCommands-DGDXE2VH.js} +33 -33
  12. package/{agentRunCommand-F6W2WKKZ.js → agentRunCommand-SRZWFOPH.js} +35 -35
  13. package/{agentRunControl-IX4F5W2C.js → agentRunControl-6ADXVYMR.js} +2 -2
  14. package/{agentRuntimeLocal-DSUBT77I.js → agentRuntimeLocal-4YCF6IRF.js} +11 -11
  15. package/{agentSlice-PCEL26Z7.js → agentSlice-IVE735EV.js} +3 -3
  16. package/appDeleteCommands-7I26L64I.js +124 -0
  17. package/appDeployCommands-TZLZNTJN.js +163 -0
  18. package/appDeployStatusCommands-OPPTLHRW.js +144 -0
  19. package/appGetCommands-N2S4HYKY.js +119 -0
  20. package/appListCommands-OBTPPKUM.js +122 -0
  21. package/{authCommand-66ME4KZX.js → authCommand-YFTR3347.js} +5 -5
  22. package/{authCommands-GH5T6RYV.js → authCommands-YXGOXNBZ.js} +3 -3
  23. package/{chunk-3B2LFO6R.js → browser-image-compression-MFDTD7K6.js} +4 -518
  24. package/{chunk-4UUJFFMK.js → chunk-472E5RMQ.js} +1 -1
  25. package/chunk-4QQFLN5C.js +552 -0
  26. package/{chunk-33K5FKRL.js → chunk-5VMYGIIL.js} +110 -39
  27. package/{chunk-LNSRTNH7.js → chunk-6565R2TI.js} +20 -16
  28. package/{chunk-VQFY3VXW.js → chunk-6MHDWKOT.js} +3 -2
  29. package/{chunk-5NBHQD4D.js → chunk-A7GB5UGH.js} +1 -1
  30. package/{chunk-NZFWHBW5.js → chunk-AWDOJBHW.js} +487 -441
  31. package/{chunk-MYE5X27Y.js → chunk-BFRVXJJJ.js} +43 -16
  32. package/{chunk-PYAJ6ZSK.js → chunk-G2MKOQCB.js} +1 -1
  33. package/chunk-GFUIQ4RY.js +136 -0
  34. package/{chunk-KTFJUPDW.js → chunk-HRQCKQA5.js} +31 -31
  35. package/{chunk-TQCONXQ3.js → chunk-IOQ7IBPU.js} +1 -1
  36. package/{chunk-OIMX7MM4.js → chunk-ISYE6GZB.js} +1 -1
  37. package/{chunk-RZALKBP4.js → chunk-IZ2QRVEU.js} +2 -2
  38. package/{chunk-XIDYAII4.js → chunk-JBKVPAYK.js} +7 -140
  39. package/{chunk-V6VXDXGY.js → chunk-JS33TCQ3.js} +2 -2
  40. package/{chunk-5R73BS7Y.js → chunk-K53477EY.js} +5 -5
  41. package/{chunk-7JJCGV7N.js → chunk-K6EUAOW3.js} +1 -1
  42. package/{chunk-OHEKYYJF.js → chunk-KMQPSTMJ.js} +6 -6
  43. package/{chunk-3WGLLTK4.js → chunk-LSFAWXKC.js} +100 -3
  44. package/{chunk-4ON5AV72.js → chunk-MYMMNKYL.js} +1 -1
  45. package/{chunk-BHK5ZAW7.js → chunk-N5424GSW.js} +1 -1
  46. package/chunk-NTC6I2FN.js +107 -0
  47. package/{chunk-7LAIOHOL.js → chunk-O53CP2QR.js} +3 -3
  48. package/{chunk-TLNEQI2R.js → chunk-OKSYPTDZ.js} +9 -9
  49. package/{chunk-IMZ7AFIJ.js → chunk-OQMPU2ML.js} +4 -4
  50. package/{chunk-IYGQF62W.js → chunk-P4MJQWWF.js} +3 -3
  51. package/{chunk-UW3WOIWJ.js → chunk-RKM3K52F.js} +1 -1
  52. package/{chunk-A5V7UEZJ.js → chunk-SFXYKGK2.js} +3 -3
  53. package/{chunk-S5UACFUP.js → chunk-TTGAVETO.js} +10 -2
  54. package/{chunk-BOJVWKNA.js → chunk-U7LEGLEB.js} +1 -1
  55. package/{chunk-E6KIDMTW.js → chunk-UXKQQ2MR.js} +9 -9
  56. package/{chunk-R5AOLZZV.js → chunk-VE6XMVKG.js} +203 -45
  57. package/{chunk-NJVPXLRY.js → chunk-VPTJB4HM.js} +1 -1
  58. package/{chunk-PB2DHBEQ.js → chunk-WA6KZL5V.js} +25 -6
  59. package/{chunk-T3X232L6.js → chunk-WNLPAOIT.js} +1 -1
  60. package/{chunk-NFPO7274.js → chunk-WRN5EQT7.js} +1 -1
  61. package/{chunk-4F4FJPFM.js → chunk-XGQZFBO5.js} +90 -209
  62. package/{chunk-3FCSMQAC.js → chunk-XVP3C2KY.js} +1 -1
  63. package/{chunk-TYRTLSGX.js → chunk-YNHQIXX5.js} +833 -5746
  64. package/{chunk-7TN6V43T.js → chunk-Z24FGIU2.js} +2 -2
  65. package/{cliEnvHelpers-VYC2OPTB.js → cliEnvHelpers-ZXNMX7VV.js} +1 -1
  66. package/{createAgentAutomationAction-VLNDOHSP.js → createAgentAutomationAction-TS6NNZ4X.js} +9 -9
  67. package/{createDialogAction-6WYTS62Z.js → createDialogAction-5HVQ33EX.js} +10 -10
  68. package/{createPageAction-YKHOC3LW.js → createPageAction-4F3ZGQJD.js} +9 -9
  69. package/{dbSlice-7Q23HSWH.js → dbSlice-OP6UPXKA.js} +2 -2
  70. package/{dialogCommands-BQDGLVMO.js → dialogCommands-3GEPXHFB.js} +16 -16
  71. package/{dialogSlice-2A2JOFZW.js → dialogSlice-FAWUQDJW.js} +9 -9
  72. package/{docCreateCommands-K2MPMXYF.js → docCreateCommands-ZE3S6BCP.js} +22 -20
  73. package/{docDeleteCommands-NBAARB77.js → docDeleteCommands-TW6PGTRT.js} +21 -19
  74. package/{docReadCommands-S3MO5RPS.js → docReadCommands-LDXL3B6J.js} +20 -18
  75. package/{docStore-JJP5PUR7.js → docStore-2UHVWLTV.js} +10 -10
  76. package/{docUpdateCommands-EHEI7FCE.js → docUpdateCommands-GYD6XI5O.js} +21 -19
  77. package/{handleSendMessageAction-UAXTF73I.js → handleSendMessageAction-LJPUYNOH.js} +15 -11
  78. package/index.js +109 -78
  79. package/{machineCommands-BQ46IS5M.js → machineCommands-OKNDYS3M.js} +36 -36
  80. package/{machineWsRunDispatch-R33NXNNI.js → machineWsRunDispatch-ZX5AJ6FJ.js} +32 -32
  81. package/{memoryCommands-AFMES3LN.js → memoryCommands-EBMICQR6.js} +1 -1
  82. package/package.json +1 -1
  83. package/{read-SIWMJRHC.js → read-HXHAZBKH.js} +1 -1
  84. package/{readDocTool-TCYJY4PP.js → readDocTool-VPBDTO4G.js} +1 -1
  85. package/{readlineWorkspace-KBG4DKLX.js → readlineWorkspace-MB3ANKHM.js} +123 -103
  86. package/{removeDialogAgentAction-WKHZT6VJ.js → removeDialogAgentAction-HUFVN35S.js} +4 -4
  87. package/{runAgentClientLoop-MUV5YIRK.js → runAgentClientLoop-A75BUU6D.js} +19 -19
  88. package/{runtimeDoctorCommands-QNF3J3UV.js → runtimeDoctorCommands-THIHX2SY.js} +1 -1
  89. package/{setDialogExtraReferencesAction-GCI5QU6E.js → setDialogExtraReferencesAction-2VLGWQKG.js} +2 -2
  90. package/{setPrimaryDialogAgentAction-NRO57AS6.js → setPrimaryDialogAgentAction-VB4UV2CC.js} +4 -4
  91. package/{settingSlice-FTWZ5ZHT.js → settingSlice-7JYPQNAC.js} +3 -3
  92. package/{spaceCommands-4R63UST3.js → spaceCommands-O3KJNCON.js} +21 -21
  93. package/{spaceSlice-VTC3QXP3.js → spaceSlice-444MFUP6.js} +11 -9
  94. package/{streamAgentChatTurn-43N7BNV2.js → streamAgentChatTurn-DJAE7USZ.js} +42 -39
  95. package/{tableCommands-E4SQWDOX.js → tableCommands-3P7MJ3PF.js} +4 -4
  96. package/{tools-PX6PEJLE.js → tools-YB6LXSVN.js} +14 -14
  97. package/{tuiSummaryLlmCaller-2D65LKWM.js → tuiSummaryLlmCaller-QQL3JA5I.js} +3 -3
  98. package/{updateCommands-XZDOOYFH.js → updateCommands-XTW55TOT.js} +2 -2
  99. package/{updateDialogTitleAction-NPQZWAKG.js → updateDialogTitleAction-6HGFBM64.js} +9 -9
  100. package/{chunk-3QAF2LTL.js → chunk-DZ3XJVET.js} +3 -3
@@ -11,50 +11,48 @@ import {
11
11
  runtimeWorkspacePermissionPolicy,
12
12
  scopePermissionPolicyToRuntimeWorkspace,
13
13
  summarizeAgentConfigForLogs
14
- } from "./chunk-E6KIDMTW.js";
15
- import "./chunk-NZFWHBW5.js";
14
+ } from "./chunk-UXKQQ2MR.js";
15
+ import "./chunk-AWDOJBHW.js";
16
16
  import "./chunk-EHLHSX7R.js";
17
- import "./chunk-CMKUBIGW.js";
18
- import "./chunk-JBTJAPUF.js";
19
- import "./chunk-TQCONXQ3.js";
17
+ import "./chunk-IOQ7IBPU.js";
20
18
  import "./chunk-VHBWHNVT.js";
21
- import "./chunk-T3X232L6.js";
22
- import "./chunk-ATNTHIZI.js";
23
- import "./chunk-NFPO7274.js";
24
- import "./chunk-OIMX7MM4.js";
25
- import "./chunk-R5AOLZZV.js";
19
+ import "./chunk-WNLPAOIT.js";
20
+ import "./chunk-WRN5EQT7.js";
21
+ import "./chunk-ISYE6GZB.js";
22
+ import "./chunk-VE6XMVKG.js";
26
23
  import "./chunk-RQSOAMPJ.js";
27
24
  import "./chunk-OOIN7HSO.js";
28
25
  import "./chunk-KQHGZWSV.js";
29
- import "./chunk-BOJVWKNA.js";
26
+ import "./chunk-O53CP2QR.js";
27
+ import "./chunk-U7LEGLEB.js";
30
28
  import "./chunk-3LY4F7SV.js";
31
29
  import "./chunk-VP4WJWKW.js";
32
30
  import "./chunk-63W5N6P3.js";
33
31
  import "./chunk-VF4K2QE6.js";
34
- import "./chunk-7LAIOHOL.js";
35
- import "./chunk-7TN6V43T.js";
32
+ import "./chunk-Z24FGIU2.js";
36
33
  import "./chunk-VC6OZXO5.js";
37
34
  import "./chunk-OWOHNGCN.js";
38
- import "./chunk-TYRTLSGX.js";
35
+ import "./chunk-YNHQIXX5.js";
39
36
  import "./chunk-V2J635L5.js";
40
37
  import "./chunk-MRC4Q34M.js";
41
38
  import "./chunk-MTU75CZ2.js";
42
39
  import "./chunk-CWMSB67P.js";
43
- import "./chunk-IMZ7AFIJ.js";
44
- import "./chunk-V6VXDXGY.js";
40
+ import "./chunk-OQMPU2ML.js";
41
+ import "./chunk-JS33TCQ3.js";
42
+ import "./chunk-SOTZ6RDN.js";
45
43
  import "./chunk-Z4NR32XR.js";
46
44
  import "./chunk-M76ECQRD.js";
47
45
  import "./chunk-WZSRQNQG.js";
48
- import "./chunk-33K5FKRL.js";
46
+ import "./chunk-5VMYGIIL.js";
47
+ import "./chunk-WA6KZL5V.js";
49
48
  import "./chunk-ZNFJWEN4.js";
50
- import "./chunk-PB2DHBEQ.js";
51
49
  import "./chunk-OIQPORYI.js";
52
- import "./chunk-VQFY3VXW.js";
53
- import "./chunk-3WGLLTK4.js";
54
- import "./chunk-UW3WOIWJ.js";
55
- import "./chunk-KTFJUPDW.js";
50
+ import "./chunk-6MHDWKOT.js";
51
+ import "./chunk-LSFAWXKC.js";
52
+ import "./chunk-RKM3K52F.js";
53
+ import "./chunk-HRQCKQA5.js";
56
54
  import "./chunk-B4KT7RN2.js";
57
- import "./chunk-3B2LFO6R.js";
55
+ import "./chunk-4QQFLN5C.js";
58
56
  import "./chunk-5MMAK75Q.js";
59
57
  import "./chunk-OGGHETUE.js";
60
58
  import "./chunk-5CS33IBL.js";
@@ -66,34 +64,36 @@ import "./chunk-5MIDPSSK.js";
66
64
  import "./chunk-DFFIZ25G.js";
67
65
  import "./chunk-3ASDTTEI.js";
68
66
  import "./chunk-DWLEOOGR.js";
69
- import "./chunk-4ON5AV72.js";
67
+ import "./chunk-MYMMNKYL.js";
68
+ import "./chunk-CMKUBIGW.js";
69
+ import "./chunk-JBTJAPUF.js";
70
+ import "./chunk-ATNTHIZI.js";
70
71
  import "./chunk-HNMXYYJR.js";
71
72
  import "./chunk-H33743XH.js";
72
73
  import "./chunk-LM6IYQ3F.js";
73
- import "./chunk-SOTZ6RDN.js";
74
74
  import "./chunk-IDZTNRP2.js";
75
+ import "./chunk-A7GB5UGH.js";
76
+ import "./chunk-OLZBQWZU.js";
75
77
  import "./chunk-IKXL2HZ3.js";
76
78
  import "./chunk-524BDL33.js";
77
- import "./chunk-BHK5ZAW7.js";
78
- import "./chunk-S5UACFUP.js";
79
+ import "./chunk-N5424GSW.js";
80
+ import "./chunk-TTGAVETO.js";
79
81
  import "./chunk-Y5GCAMGP.js";
80
82
  import "./chunk-KX6YBIHG.js";
81
- import "./chunk-3FCSMQAC.js";
82
- import "./chunk-A5V7UEZJ.js";
83
+ import "./chunk-XVP3C2KY.js";
84
+ import "./chunk-SFXYKGK2.js";
83
85
  import "./chunk-O4BU24WZ.js";
84
86
  import "./chunk-I42VC5KR.js";
85
87
  import "./chunk-WWC7I6TA.js";
86
88
  import "./chunk-JTINRTBT.js";
87
89
  import "./chunk-QSJ3HFEF.js";
88
- import "./chunk-NJVPXLRY.js";
90
+ import "./chunk-VPTJB4HM.js";
89
91
  import "./chunk-DVRHHFEA.js";
90
92
  import "./chunk-OOSFSFMA.js";
91
93
  import "./chunk-GBRG75BQ.js";
92
94
  import "./chunk-3EUW3WEO.js";
93
95
  import "./chunk-U6VC4MU4.js";
94
96
  import "./chunk-KUG52IAP.js";
95
- import "./chunk-5NBHQD4D.js";
96
- import "./chunk-OLZBQWZU.js";
97
97
  import "./chunk-LCBAMY2M.js";
98
98
  import "./chunk-4SN6J65J.js";
99
99
  import "./chunk-CF7PE763.js";
@@ -6,7 +6,7 @@ import {
6
6
  resolveAuthToken,
7
7
  resolveServerCandidates,
8
8
  resolveServerUrl
9
- } from "./chunk-5NBHQD4D.js";
9
+ } from "./chunk-A7GB5UGH.js";
10
10
  import "./chunk-OLZBQWZU.js";
11
11
  import "./chunk-LCBAMY2M.js";
12
12
  import "./chunk-4SN6J65J.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nolo-cli",
3
- "version": "0.14.0",
3
+ "version": "0.15.0",
4
4
  "type": "module",
5
5
  "description": "Agent-first terminal workspace for Nolo",
6
6
  "bin": {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  readAction
3
- } from "./chunk-NJVPXLRY.js";
3
+ } from "./chunk-VPTJB4HM.js";
4
4
  import "./chunk-DVRHHFEA.js";
5
5
  import "./chunk-OOSFSFMA.js";
6
6
  import "./chunk-GBRG75BQ.js";
@@ -4,7 +4,7 @@ import {
4
4
  readDocFunctionSchema,
5
5
  readPageFunc,
6
6
  readPageFunctionSchema
7
- } from "./chunk-BOJVWKNA.js";
7
+ } from "./chunk-U7LEGLEB.js";
8
8
  import "./chunk-HNMXYYJR.js";
9
9
  import "./chunk-4VNS5WPM.js";
10
10
  export {
@@ -3,7 +3,7 @@ import {
3
3
  normalizeDialogRecord,
4
4
  readDialogSnapshot,
5
5
  sortDialogs
6
- } from "./chunk-TLNEQI2R.js";
6
+ } from "./chunk-OKSYPTDZ.js";
7
7
  import {
8
8
  ANSI_ESCAPE_REGEX,
9
9
  CLI_AUTO_TIER_AGENT_KEYS,
@@ -30,7 +30,6 @@ import {
30
30
  getActiveThemeName,
31
31
  isBalanceExhaustedError,
32
32
  isQuotaExhaustedError,
33
- normalizeThinkingDisplayMode,
34
33
  normalizeToolDisplayMode,
35
34
  padOrTruncateToWidth,
36
35
  releaseCollapsedPaste,
@@ -57,29 +56,27 @@ import {
57
56
  visibleWidth,
58
57
  wrapTextToLines,
59
58
  wrapTranscriptLine
60
- } from "./chunk-4F4FJPFM.js";
59
+ } from "./chunk-XGQZFBO5.js";
60
+ import "./chunk-DZ3XJVET.js";
61
61
  import "./chunk-6HYVJV7B.js";
62
62
  import {
63
63
  listFavoriteAgentIdsAcrossServers,
64
64
  listLocalCachedAgents,
65
65
  listRemoteAgents,
66
66
  listRemoteAgentsAcrossServers
67
- } from "./chunk-RZALKBP4.js";
67
+ } from "./chunk-IZ2QRVEU.js";
68
68
  import "./chunk-ID4G2MAR.js";
69
69
  import {
70
70
  listUserRecordsFromServers
71
- } from "./chunk-4UUJFFMK.js";
72
- import "./chunk-3QAF2LTL.js";
71
+ } from "./chunk-472E5RMQ.js";
73
72
  import {
74
73
  createCliLocalRuntimeAdapter,
75
74
  initCliLocale,
76
75
  parseCliLocale,
77
76
  setCliLocale,
78
77
  t
79
- } from "./chunk-NZFWHBW5.js";
78
+ } from "./chunk-AWDOJBHW.js";
80
79
  import "./chunk-EHLHSX7R.js";
81
- import "./chunk-CMKUBIGW.js";
82
- import "./chunk-JBTJAPUF.js";
83
80
  import {
84
81
  getReadableCliDb
85
82
  } from "./chunk-W4NVOSFF.js";
@@ -87,45 +84,45 @@ import {
87
84
  deleteDbRecord,
88
85
  queryUserRecords,
89
86
  readDbRecord
90
- } from "./chunk-5R73BS7Y.js";
91
- import "./chunk-TQCONXQ3.js";
87
+ } from "./chunk-K53477EY.js";
88
+ import "./chunk-IOQ7IBPU.js";
92
89
  import {
93
90
  resolveCliAgentKeyInput
94
91
  } from "./chunk-VHBWHNVT.js";
95
92
  import "./chunk-LTRXGFMS.js";
96
- import "./chunk-T3X232L6.js";
97
- import "./chunk-ATNTHIZI.js";
93
+ import "./chunk-WNLPAOIT.js";
98
94
  import "./chunk-JEXVIMYZ.js";
99
95
  import {
100
96
  prepareTools
101
- } from "./chunk-NFPO7274.js";
102
- import "./chunk-OIMX7MM4.js";
97
+ } from "./chunk-WRN5EQT7.js";
98
+ import "./chunk-ISYE6GZB.js";
103
99
  import {
104
100
  expandEnabledPacks
105
- } from "./chunk-R5AOLZZV.js";
101
+ } from "./chunk-VE6XMVKG.js";
106
102
  import "./chunk-RQSOAMPJ.js";
107
103
  import "./chunk-OOIN7HSO.js";
108
104
  import "./chunk-KQHGZWSV.js";
109
- import "./chunk-BOJVWKNA.js";
105
+ import "./chunk-O53CP2QR.js";
106
+ import "./chunk-U7LEGLEB.js";
110
107
  import "./chunk-3LY4F7SV.js";
111
108
  import "./chunk-VP4WJWKW.js";
112
109
  import "./chunk-63W5N6P3.js";
113
110
  import "./chunk-VF4K2QE6.js";
114
- import "./chunk-7LAIOHOL.js";
115
- import "./chunk-7TN6V43T.js";
111
+ import "./chunk-Z24FGIU2.js";
116
112
  import "./chunk-VC6OZXO5.js";
117
113
  import "./chunk-OWOHNGCN.js";
118
114
  import {
119
115
  extractReferenceKeysFromMessage
120
- } from "./chunk-TYRTLSGX.js";
116
+ } from "./chunk-YNHQIXX5.js";
121
117
  import {
122
118
  buildBuiltinSummaryContent
123
119
  } from "./chunk-V2J635L5.js";
124
120
  import "./chunk-MRC4Q34M.js";
125
121
  import "./chunk-MTU75CZ2.js";
126
122
  import "./chunk-CWMSB67P.js";
127
- import "./chunk-IMZ7AFIJ.js";
128
- import "./chunk-V6VXDXGY.js";
123
+ import "./chunk-OQMPU2ML.js";
124
+ import "./chunk-JS33TCQ3.js";
125
+ import "./chunk-SOTZ6RDN.js";
129
126
  import "./chunk-Z4NR32XR.js";
130
127
  import "./chunk-M76ECQRD.js";
131
128
  import {
@@ -136,21 +133,23 @@ import {
136
133
  buildLocalWorkspaceOpenAiTools,
137
134
  buildLocalWorkspaceToolset,
138
135
  getProcessRegistry
139
- } from "./chunk-33K5FKRL.js";
136
+ } from "./chunk-5VMYGIIL.js";
137
+ import "./chunk-WA6KZL5V.js";
140
138
  import "./chunk-ZNFJWEN4.js";
141
- import "./chunk-PB2DHBEQ.js";
142
139
  import "./chunk-OIQPORYI.js";
143
140
  import {
144
141
  readCommandActionGatePayload,
145
142
  resolveAgentImageInputSupport
146
- } from "./chunk-VQFY3VXW.js";
147
- import "./chunk-3WGLLTK4.js";
143
+ } from "./chunk-6MHDWKOT.js";
144
+ import "./chunk-LSFAWXKC.js";
148
145
  import {
149
146
  buildCurrentTimeBlock,
150
147
  buildIdentityBlock,
151
148
  buildRuntimeGuidanceBlocks
152
- } from "./chunk-UW3WOIWJ.js";
153
- import "./chunk-KTFJUPDW.js";
149
+ } from "./chunk-RKM3K52F.js";
150
+ import {
151
+ resolvePlatformAuthToken
152
+ } from "./chunk-HRQCKQA5.js";
154
153
  import {
155
154
  canonicalizeToolNames
156
155
  } from "./chunk-B4KT7RN2.js";
@@ -160,7 +159,7 @@ import {
160
159
  getModelContextWindow,
161
160
  planCompression,
162
161
  serializeMessageContent
163
- } from "./chunk-3B2LFO6R.js";
162
+ } from "./chunk-4QQFLN5C.js";
164
163
  import {
165
164
  clipCompactText
166
165
  } from "./chunk-5MMAK75Q.js";
@@ -178,16 +177,18 @@ import "./chunk-3ASDTTEI.js";
178
177
  import {
179
178
  compactWhitespace
180
179
  } from "./chunk-DWLEOOGR.js";
181
- import "./chunk-4ON5AV72.js";
180
+ import "./chunk-MYMMNKYL.js";
181
+ import "./chunk-CMKUBIGW.js";
182
+ import "./chunk-JBTJAPUF.js";
183
+ import "./chunk-ATNTHIZI.js";
182
184
  import {
183
185
  toErrorMessage
184
186
  } from "./chunk-HNMXYYJR.js";
185
187
  import "./chunk-H33743XH.js";
186
188
  import "./chunk-LM6IYQ3F.js";
187
- import "./chunk-SOTZ6RDN.js";
188
189
  import {
189
190
  runSelfUpdate
190
- } from "./chunk-7JJCGV7N.js";
191
+ } from "./chunk-K6EUAOW3.js";
191
192
  import {
192
193
  saveProfileAgentSelection,
193
194
  saveProfileLocale
@@ -196,14 +197,23 @@ import {
196
197
  readPipeText,
197
198
  spawnProcess
198
199
  } from "./chunk-IDZTNRP2.js";
200
+ import {
201
+ parseUserIdFromAuthToken,
202
+ resolveAuthToken,
203
+ resolveServerCandidates,
204
+ resolveServerUrl
205
+ } from "./chunk-A7GB5UGH.js";
206
+ import {
207
+ DEFAULT_NOLO_SERVER_URL
208
+ } from "./chunk-OLZBQWZU.js";
199
209
  import "./chunk-IKXL2HZ3.js";
200
210
  import "./chunk-524BDL33.js";
201
- import "./chunk-BHK5ZAW7.js";
202
- import "./chunk-S5UACFUP.js";
211
+ import "./chunk-N5424GSW.js";
212
+ import "./chunk-TTGAVETO.js";
203
213
  import "./chunk-Y5GCAMGP.js";
204
214
  import "./chunk-KX6YBIHG.js";
205
- import "./chunk-3FCSMQAC.js";
206
- import "./chunk-A5V7UEZJ.js";
215
+ import "./chunk-XVP3C2KY.js";
216
+ import "./chunk-SFXYKGK2.js";
207
217
  import "./chunk-O4BU24WZ.js";
208
218
  import "./chunk-I42VC5KR.js";
209
219
  import "./chunk-WWC7I6TA.js";
@@ -211,22 +221,13 @@ import "./chunk-JTINRTBT.js";
211
221
  import {
212
222
  asTrimmedLowercaseString
213
223
  } from "./chunk-QSJ3HFEF.js";
214
- import "./chunk-NJVPXLRY.js";
224
+ import "./chunk-VPTJB4HM.js";
215
225
  import "./chunk-DVRHHFEA.js";
216
226
  import "./chunk-OOSFSFMA.js";
217
227
  import "./chunk-GBRG75BQ.js";
218
228
  import "./chunk-3EUW3WEO.js";
219
229
  import "./chunk-U6VC4MU4.js";
220
230
  import "./chunk-KUG52IAP.js";
221
- import {
222
- parseUserIdFromAuthToken,
223
- resolveAuthToken,
224
- resolveServerCandidates,
225
- resolveServerUrl
226
- } from "./chunk-5NBHQD4D.js";
227
- import {
228
- DEFAULT_NOLO_SERVER_URL
229
- } from "./chunk-OLZBQWZU.js";
230
231
  import "./chunk-LCBAMY2M.js";
231
232
  import "./chunk-4SN6J65J.js";
232
233
  import "./chunk-CF7PE763.js";
@@ -1928,6 +1929,7 @@ function mergeCatalogEntries(currentKey, platformAgents, privateAgents, favorite
1928
1929
  }
1929
1930
  var agentCatalogCache = null;
1930
1931
  var agentCatalogRefreshInFlight = null;
1932
+ var agentCatalogRawLoadInFlight = null;
1931
1933
  var AGENT_CATALOG_FRESH_MS = 15e3;
1932
1934
  async function loadAgentCatalog(args) {
1933
1935
  const env = args.env ?? process.env;
@@ -1941,13 +1943,38 @@ async function loadAgentCatalog(args) {
1941
1943
  }
1942
1944
  return cached.entries;
1943
1945
  }
1944
- const entries = await fetchAgentCatalog(args, env);
1946
+ let rawData;
1947
+ if (agentCatalogRawLoadInFlight) {
1948
+ rawData = await agentCatalogRawLoadInFlight;
1949
+ } else {
1950
+ const promise = fetchRawCatalogData(args, env);
1951
+ agentCatalogRawLoadInFlight = promise;
1952
+ try {
1953
+ rawData = await promise;
1954
+ } catch (error) {
1955
+ agentCatalogRawLoadInFlight = null;
1956
+ throw error;
1957
+ }
1958
+ agentCatalogRawLoadInFlight = null;
1959
+ }
1960
+ const entries = mergeCatalogEntries(
1961
+ args.currentKey,
1962
+ resolveCatalogPlatformAgents(env),
1963
+ rawData.privateAgents,
1964
+ rawData.favoritedAtByKey
1965
+ );
1945
1966
  agentCatalogCache = { cacheKey, at: Date.now(), entries };
1946
1967
  return entries;
1947
1968
  }
1948
1969
  function refreshAgentCatalogInBackground(args, env, cacheKey) {
1949
1970
  if (agentCatalogRefreshInFlight) return;
1950
- agentCatalogRefreshInFlight = fetchAgentCatalog(args, env).then((entries) => {
1971
+ agentCatalogRefreshInFlight = fetchRawCatalogData(args, env).then((rawData) => {
1972
+ const entries = mergeCatalogEntries(
1973
+ args.currentKey,
1974
+ resolveCatalogPlatformAgents(env),
1975
+ rawData.privateAgents,
1976
+ rawData.favoritedAtByKey
1977
+ );
1951
1978
  agentCatalogCache = { cacheKey, at: Date.now(), entries };
1952
1979
  }).catch(() => {
1953
1980
  }).finally(() => {
@@ -1958,17 +1985,13 @@ function prefetchAgentCatalog(args) {
1958
1985
  void loadAgentCatalog({ ...args, currentKey: "" }).catch(() => {
1959
1986
  });
1960
1987
  }
1961
- async function fetchAgentCatalog(args, env) {
1988
+ async function fetchRawCatalogData(args, env) {
1962
1989
  const fetchImpl = args.fetchImpl ?? fetch;
1963
1990
  const fallbackFetchImpl = args.fallbackFetchImpl;
1964
1991
  const authToken = resolveAuthToken([], env);
1965
1992
  const userId = authToken ? parseUserIdFromAuthToken(authToken) : null;
1966
1993
  if (!authToken || !userId) {
1967
- return mergeCatalogEntries(
1968
- args.currentKey,
1969
- resolveCatalogPlatformAgents(env),
1970
- []
1971
- );
1994
+ return { privateAgents: [], favoritedAtByKey: {} };
1972
1995
  }
1973
1996
  const serverUrl = resolveServerUrl(env);
1974
1997
  const serverUrls = resolveServerCandidates([], env, serverUrl);
@@ -2006,12 +2029,7 @@ async function fetchAgentCatalog(args, env) {
2006
2029
  }
2007
2030
  }
2008
2031
  const favoritedAtByKey = await favoritesPromise;
2009
- return mergeCatalogEntries(
2010
- args.currentKey,
2011
- resolveCatalogPlatformAgents(env),
2012
- privateAgents,
2013
- favoritedAtByKey
2014
- );
2032
+ return { privateAgents, favoritedAtByKey };
2015
2033
  }
2016
2034
  function renderAgentCatalogList(entries, currentKey) {
2017
2035
  const lines = ["Agents:"];
@@ -2073,12 +2091,23 @@ async function runAgentPicker(args) {
2073
2091
  const output = args.output ?? process.stdout;
2074
2092
  const input = args.input ?? process.stdin;
2075
2093
  const interactive = args.interactive ?? ("isTTY" in input && Boolean(input.isTTY) && "isTTY" in output && Boolean(output.isTTY));
2076
- const entries = await loadAgentCatalog({
2077
- env: args.env,
2078
- currentKey: args.currentKey,
2079
- fetchImpl: args.fetchImpl,
2080
- fallbackFetchImpl: args.fallbackFetchImpl
2081
- });
2094
+ const isTty = outputIsTty(output);
2095
+ if (isTty) {
2096
+ output.write(t("agentPickerLoading"));
2097
+ }
2098
+ let entries;
2099
+ try {
2100
+ entries = await loadAgentCatalog({
2101
+ env: args.env,
2102
+ currentKey: args.currentKey,
2103
+ fetchImpl: args.fetchImpl,
2104
+ fallbackFetchImpl: args.fallbackFetchImpl
2105
+ });
2106
+ } finally {
2107
+ if (isTty) {
2108
+ output.write("\r\x1B[2K");
2109
+ }
2110
+ }
2082
2111
  if (!interactive) {
2083
2112
  return {
2084
2113
  kind: "list",
@@ -2706,7 +2735,6 @@ function renderContextPanel(state, colorEnabled = resolveCliColorEnabled()) {
2706
2735
  t("contextFieldProfile"),
2707
2736
  t("contextFieldRuntime"),
2708
2737
  t("contextFieldTools"),
2709
- t("contextFieldThinking"),
2710
2738
  t("contextFieldServer")
2711
2739
  ];
2712
2740
  let maxW = 0;
@@ -2737,8 +2765,7 @@ function renderContextPanel(state, colorEnabled = resolveCliColorEnabled()) {
2737
2765
  field(labels[5], state.profileName),
2738
2766
  field(labels[6], state.runtimeMode),
2739
2767
  field(labels[7], state.toolDisplay),
2740
- field(labels[8], state.thinkingDisplay),
2741
- field(labels[9], state.serverUrl),
2768
+ field(labels[8], state.serverUrl),
2742
2769
  "",
2743
2770
  themeText(t("contextNext"), "chrome", colorEnabled),
2744
2771
  next("/agents ", ` ${t("contextNextAgents")}`),
@@ -3076,10 +3103,6 @@ function createInitialTuiState(env = process.env) {
3076
3103
  runtimeMode,
3077
3104
  modeLabel: asOptionalTrimmedString(env.NOLO_CLI_STATUS_MODE) ?? runtimeMode,
3078
3105
  gitStatus: void 0,
3079
- thinkingDisplay: normalizeThinkingDisplayMode(
3080
- env.NOLO_CLI_THINKING ?? env.NOLO_THINKING,
3081
- "hide"
3082
- ),
3083
3106
  toolDisplay: normalizeToolDisplayMode(env.NOLO_CLI_TOOLS ?? env.NOLO_TOOLS, "compact"),
3084
3107
  contextWindow: resolveAgentContextWindow({
3085
3108
  agentKey,
@@ -3263,26 +3286,6 @@ function handleTuiInput(input, state) {
3263
3286
  output: t("toolsSet", nextMode)
3264
3287
  };
3265
3288
  }
3266
- case "/thinking": {
3267
- if (!argText) {
3268
- return {
3269
- nextState: state,
3270
- output: t("thinkingCurrent", state.thinkingDisplay)
3271
- };
3272
- }
3273
- const normalizedArg = asTrimmedLowercaseString(argText);
3274
- if (!["hide", "marker", "show", "on", "off"].includes(normalizedArg)) {
3275
- return {
3276
- nextState: state,
3277
- output: t("thinkingUsage")
3278
- };
3279
- }
3280
- const nextMode = normalizeThinkingDisplayMode(normalizedArg, state.thinkingDisplay);
3281
- return {
3282
- nextState: { ...state, thinkingDisplay: nextMode },
3283
- output: t("thinkingSet", nextMode)
3284
- };
3285
- }
3286
3289
  case "/tasks":
3287
3290
  case "/jobs":
3288
3291
  case "/procs": {
@@ -4282,6 +4285,10 @@ function createFixedInput(output, config) {
4282
4285
  }
4283
4286
  const rule = colorEnabled ? `\x1B[2m${themeColorSequence("chrome")}${"\u2500".repeat(cols)}\x1B[0m` : "\u2500".repeat(cols);
4284
4287
  sections.push(rule);
4288
+ const titleLine = config.getTitleLine?.();
4289
+ if (titleLine) {
4290
+ sections.push(fitAnsiLine(titleLine.replace(/\r?\n/g, " "), cols));
4291
+ }
4285
4292
  sections.push(fitAnsiLine(config.getStatusLine(), cols));
4286
4293
  const queueLines = config.getQueueLines?.() ?? [];
4287
4294
  for (const line of queueLines) {
@@ -4336,7 +4343,7 @@ function createFixedInput(output, config) {
4336
4343
  }
4337
4344
  const text = sections.join("\n");
4338
4345
  const lines = sections.length;
4339
- const headerRows = (completions.length > 0 ? 1 : 0) + 2 + activityLines.length + queueLines.length;
4346
+ const headerRows = (completions.length > 0 ? 1 : 0) + 2 + (titleLine ? 1 : 0) + activityLines.length + queueLines.length;
4340
4347
  return { text, lines, cursorCol, cursorRow: headerRows + cursorRow };
4341
4348
  };
4342
4349
  const repaintAt = (buffer, cursorPos) => {
@@ -4736,7 +4743,7 @@ async function runAgentChat(scriptDir, state, message, env, output, agentRunner
4736
4743
  effectiveAgentKey = cachedRoute.agentKey;
4737
4744
  effectiveAgentName = cachedRoute.agentName;
4738
4745
  } else if (!continueId && env.NOLO_AUTO_ROUTE !== "0" && state.agentKey === DEFAULT_TUI_AGENT_KEY) {
4739
- const authToken = env.AUTH_TOKEN ?? env.AUTH ?? env.BENCHMARK_AUTH_TOKEN ?? "";
4746
+ const authToken = resolvePlatformAuthToken(env);
4740
4747
  const route = authToken ? await classifyCliAutoRoute(message, {
4741
4748
  serverUrl: state.serverUrl,
4742
4749
  authToken
@@ -4763,7 +4770,7 @@ async function runAgentChat(scriptDir, state, message, env, output, agentRunner
4763
4770
  if (CLI_AUTO_TIER_AGENT_KEY_TABLE[visionProbeKey]) {
4764
4771
  needsVisionSwitch = true;
4765
4772
  } else {
4766
- const authToken = env.AUTH_TOKEN ?? env.AUTH ?? env.BENCHMARK_AUTH_TOKEN ?? "";
4773
+ const authToken = resolvePlatformAuthToken(env);
4767
4774
  const record = await readDbRecord({
4768
4775
  dbKey: visionProbeKey,
4769
4776
  authToken,
@@ -4788,7 +4795,7 @@ async function runAgentChat(scriptDir, state, message, env, output, agentRunner
4788
4795
  let skillAllowedTools;
4789
4796
  let skillContextBlocks;
4790
4797
  if (state.attachedSkills.length > 0) {
4791
- const authToken = env.AUTH_TOKEN ?? env.AUTH ?? env.BENCHMARK_AUTH_TOKEN ?? "";
4798
+ const authToken = resolvePlatformAuthToken(env);
4792
4799
  const resolvedSkills = [];
4793
4800
  for (const ref of state.attachedSkills) {
4794
4801
  try {
@@ -4855,7 +4862,6 @@ async function runAgentChat(scriptDir, state, message, env, output, agentRunner
4855
4862
  scriptDir,
4856
4863
  env: {
4857
4864
  ...env,
4858
- NOLO_CLI_THINKING: state.thinkingDisplay,
4859
4865
  NOLO_CLI_TOOLS: state.toolDisplay
4860
4866
  },
4861
4867
  output,
@@ -5337,7 +5343,7 @@ async function startTuiWorkspace(options) {
5337
5343
  ...runResult.dialogId ? {
5338
5344
  dialogId: runResult.dialogId,
5339
5345
  dialogKey: nextDialogKey,
5340
- dialogLabel: runResult.dialogId
5346
+ dialogLabel: runResult.title || runResult.dialogId
5341
5347
  } : {},
5342
5348
  ...runResult.turnTokens ? { turnTokens: runResult.turnTokens } : {}
5343
5349
  };
@@ -5367,7 +5373,7 @@ async function startTuiWorkspace(options) {
5367
5373
  ...runResult.dialogId ? {
5368
5374
  dialogId: runResult.dialogId,
5369
5375
  dialogKey: nextDialogKey,
5370
- dialogLabel: runResult.dialogId
5376
+ dialogLabel: runResult.title || runResult.dialogId
5371
5377
  } : {},
5372
5378
  ...runResult.turnTokens ? { turnTokens: runResult.turnTokens } : {},
5373
5379
  ...runResult.contextWindow ? { contextWindow: runResult.contextWindow } : {}
@@ -5443,7 +5449,7 @@ async function startTuiWorkspace(options) {
5443
5449
  if (result.action?.type === "exit") return true;
5444
5450
  if (result.action?.type === "clear") {
5445
5451
  if (result.action.dialogId) {
5446
- const authToken = options.env?.AUTH_TOKEN ?? options.env?.AUTH ?? options.env?.BENCHMARK_AUTH_TOKEN ?? "";
5452
+ const authToken = resolvePlatformAuthToken(options.env ?? {});
5447
5453
  try {
5448
5454
  await deleteDbRecord({
5449
5455
  // The messages delete endpoint expects the bare dialogId; dialogKey
@@ -5462,6 +5468,16 @@ async function startTuiWorkspace(options) {
5462
5468
  }
5463
5469
  }
5464
5470
  clearCollapsedPasteStore(pasteStore);
5471
+ state = {
5472
+ ...state,
5473
+ turnTokens: void 0,
5474
+ estimatedContextTokens: estimateDefaultCliContextTokens({
5475
+ cwd: state.cwd,
5476
+ agentKey: state.agentKey,
5477
+ agentName: state.agentKey === DEFAULT_TUI_AGENT_KEY && (options.env ?? process.env).NOLO_AUTO_ROUTE !== "0" ? "DeepSeek V4 Flash" : state.agentName,
5478
+ model: state.agentKey === DEFAULT_TUI_AGENT_KEY && (options.env ?? process.env).NOLO_AUTO_ROUTE !== "0" ? "deepseek-v4-flash" : void 0
5479
+ })
5480
+ };
5465
5481
  history.turns.length = 0;
5466
5482
  history.currentRole = null;
5467
5483
  history.currentContent = "";
@@ -5478,7 +5494,7 @@ async function startTuiWorkspace(options) {
5478
5494
  }
5479
5495
  if (result.action?.type === "compact") {
5480
5496
  const runner = options.compactRunner ?? compactDialog;
5481
- const authToken = options.env?.AUTH_TOKEN ?? options.env?.AUTH ?? options.env?.BENCHMARK_AUTH_TOKEN ?? "";
5497
+ const authToken = resolvePlatformAuthToken(options.env ?? {});
5482
5498
  try {
5483
5499
  const compactResult = await runner({
5484
5500
  serverUrl: state.serverUrl,
@@ -5648,7 +5664,7 @@ async function startTuiWorkspace(options) {
5648
5664
  ...state,
5649
5665
  dialogId: pickResult.dialog.id,
5650
5666
  dialogKey: pickResult.dialog.dbKey,
5651
- dialogLabel: pickResult.dialog.id,
5667
+ dialogLabel: pickResult.dialog.title || pickResult.dialog.id,
5652
5668
  turnTokens: void 0
5653
5669
  };
5654
5670
  clearCollapsedPasteStore(pasteStore);
@@ -5777,6 +5793,10 @@ ${err.message}` : ""}`
5777
5793
  let done = false;
5778
5794
  let resolveDone = null;
5779
5795
  fixedInput = createFixedInput(output, {
5796
+ getTitleLine: () => {
5797
+ const title = state.dialogLabel?.trim();
5798
+ return title ? themeText(`\u{1F4AC} ${title}`, "accent", resolveCliColorEnabled()) : null;
5799
+ },
5780
5800
  getStatusLine: () => {
5781
5801
  let base = renderStatusLine(state);
5782
5802
  if (chatQueueBinding && chatQueueBinding.queueLength() > 0) {