arp-tui 0.0.4 → 0.0.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.
- package/dist/index.js +7 -2
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2191,8 +2191,12 @@ function fallbackTitle(call) {
|
|
|
2191
2191
|
function ActivitySurface(props) {
|
|
2192
2192
|
const { toolCalls, plan, visible, pinned } = props;
|
|
2193
2193
|
if (!visible) return null;
|
|
2194
|
+
const pinHint = pinned ? "pinned \xB7 press v to unpin" : "press v to keep open";
|
|
2194
2195
|
if (toolCalls.length === 0 && plan.length === 0) {
|
|
2195
|
-
return /* @__PURE__ */
|
|
2196
|
+
return /* @__PURE__ */ jsxs2(Box, { flexDirection: "column", paddingLeft: 1, children: [
|
|
2197
|
+
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: "no activity yet" }),
|
|
2198
|
+
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: pinHint })
|
|
2199
|
+
] });
|
|
2196
2200
|
}
|
|
2197
2201
|
return /* @__PURE__ */ jsxs2(Box, { flexDirection: "column", paddingLeft: 1, children: [
|
|
2198
2202
|
toolCalls.length > 0 && /* @__PURE__ */ jsxs2(Box, { flexDirection: "column", children: [
|
|
@@ -2218,7 +2222,8 @@ function ActivitySurface(props) {
|
|
|
2218
2222
|
" ",
|
|
2219
2223
|
sanitizeForTty(entry.content)
|
|
2220
2224
|
] }, i))
|
|
2221
|
-
] })
|
|
2225
|
+
] }),
|
|
2226
|
+
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: pinHint })
|
|
2222
2227
|
] });
|
|
2223
2228
|
}
|
|
2224
2229
|
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "arp-tui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "arp-tui",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.5",
|
|
10
10
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"ink": "^5.2.0",
|
package/package.json
CHANGED