nolo-cli 0.1.4 → 0.1.5

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.
@@ -131,9 +131,9 @@ async function runHttpAgentTurn(options: RunAgentTurnOptions, authToken: string)
131
131
 
132
132
  const content = String(data?.content ?? data?.message ?? "").trim();
133
133
  if (content) {
134
- options.output.write(`\n${options.agentName}\n${content}\n`);
134
+ options.output.write(`\n${options.agentName} > ${content}\n`);
135
135
  } else {
136
- options.output.write(`\n${options.agentName}\n(no text response)\n`);
136
+ options.output.write(`\n${options.agentName} > (no text response)\n`);
137
137
  }
138
138
 
139
139
  const usage = formatUsage(data?.usage, data?.dialogId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nolo-cli",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "type": "module",
5
5
  "description": "Agent-first terminal workspace for Nolo",
6
6
  "bin": {
package/tui/session.ts CHANGED
@@ -73,29 +73,26 @@ export function createInitialTuiState(env: EnvLike = process.env): TuiState {
73
73
  export function renderStatusLine(state: TuiState) {
74
74
  const docs =
75
75
  state.attachedDocs.length > 0
76
- ? state.attachedDocs.join(", ")
77
- : "0 attached";
76
+ ? String(state.attachedDocs.length)
77
+ : "0";
78
78
 
79
79
  return [
80
80
  `agent ${state.agentName}`,
81
81
  `dialog ${resolveDialogLabel(state)}`,
82
82
  `docs ${docs}`,
83
83
  `profile ${state.profileName}`,
84
- ...(state.cliVersion ? [`version ${state.cliVersion}`] : []),
85
84
  ].join(" | ");
86
85
  }
87
86
 
88
87
  export function renderWelcome(state: TuiState) {
88
+ const docs = state.attachedDocs.length > 0
89
+ ? `${state.attachedDocs.length} attached`
90
+ : "none";
89
91
  return [
90
92
  "",
91
- "Nolo workspace",
92
- "--------------",
93
- `agent ${state.agentName}`,
94
- `dialog ${resolveDialogLabel(state)}`,
95
- `docs ${state.attachedDocs.length ? state.attachedDocs.join(", ") : "none"}`,
96
- `profile ${state.profileName}`,
97
- `server ${state.serverUrl}`,
98
- ...(state.cliVersion ? [`version ${state.cliVersion}`] : []),
93
+ `Nolo workspace${state.cliVersion ? ` nolo ${state.cliVersion}` : ""}`,
94
+ `agent ${state.agentName} | dialog ${resolveDialogLabel(state)} | docs ${docs} | profile ${state.profileName}`,
95
+ `server ${state.serverUrl}`,
99
96
  "",
100
97
  "Tell nolo what you want. Use /help for commands. Use /version if this install feels stale.",
101
98
  "",