drexler 0.2.8 → 0.2.9

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/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.9
4
+
5
+ - Removed transcript card side labels like `incoming memo` and `response ledger`.
6
+ - Made each transcript card use a consistent top and bottom border color.
7
+
3
8
  ## 0.2.8
4
9
 
5
10
  - Improved transcript readability by wrapping long user and Drexler message lines instead of truncating them.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drexler",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "CLI chat with Drexler, a corporate-executive AI persona built on OpenRouter Gemma 4 31B.",
5
5
  "license": "MIT",
6
6
  "author": "showOS",
@@ -35,12 +35,6 @@ const ROLE_LABELS: Record<TranscriptViewportItem["role"], string> = {
35
35
  system: "SYSTEM",
36
36
  };
37
37
 
38
- const ROLE_DETAILS: Record<TranscriptViewportItem["role"], string> = {
39
- user: "incoming memo",
40
- assistant: "response ledger",
41
- system: "system notice",
42
- };
43
-
44
38
  const ROLE_MARKERS: Record<TranscriptViewportItem["role"], string> = {
45
39
  user: "›",
46
40
  assistant: "│",
@@ -167,13 +161,8 @@ function DefaultTranscriptItem({
167
161
  );
168
162
  }
169
163
 
170
- const detail = ROLE_DETAILS[item.role];
171
164
  const headerPrefix = `╭─ ${label} `;
172
- const headerSuffix = ` ${detail}`;
173
- const headerRuleWidth = Math.max(
174
- 0,
175
- cols - displayWidth(headerPrefix) - displayWidth(headerSuffix),
176
- );
165
+ const headerRuleWidth = Math.max(0, cols - displayWidth(headerPrefix));
177
166
  const footerWidth = Math.max(1, cols - 1);
178
167
  const bodyPrefix = `${ROLE_MARKERS[item.role]} `;
179
168
  const contentWidth = Math.max(1, cols - displayWidth(bodyPrefix));
@@ -182,7 +171,7 @@ function DefaultTranscriptItem({
182
171
  <Box flexDirection="column" width={cols} flexShrink={1}>
183
172
  <Text color={accent} bold wrap="truncate">
184
173
  {fitDisplayText(
185
- `${headerPrefix}${rule("─", headerRuleWidth)}${headerSuffix}`,
174
+ `${headerPrefix}${rule("─", headerRuleWidth)}`,
186
175
  cols,
187
176
  )}
188
177
  </Text>
@@ -196,7 +185,7 @@ function DefaultTranscriptItem({
196
185
  </Text>
197
186
  </Box>
198
187
  ))}
199
- <Text color={item.role === "assistant" ? t.primaryDim : t.dim} wrap="truncate">
188
+ <Text color={accent} bold={item.role === "user"} wrap="truncate">
200
189
  {fitDisplayText(`╰${rule("─", footerWidth)}`, cols)}
201
190
  </Text>
202
191
  </Box>