perstack 0.0.119 → 0.0.120
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/bin/cli.js +26 -34
- package/dist/bin/cli.js.map +1 -1
- package/package.json +3 -3
package/dist/bin/cli.js
CHANGED
|
@@ -122189,8 +122189,9 @@ function TreeNodeLine({ flatNode, spinner }) {
|
|
|
122189
122189
|
const usagePercent = (node.contextWindowUsage * 100).toFixed(1);
|
|
122190
122190
|
const usageIcon = getUsageIcon(node.contextWindowUsage * 100);
|
|
122191
122191
|
const showUsage = node.status !== "completed";
|
|
122192
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
122193
|
-
|
|
122192
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Text, {
|
|
122193
|
+
wrap: "truncate",
|
|
122194
|
+
children: [
|
|
122194
122195
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, {
|
|
122195
122196
|
dimColor: true,
|
|
122196
122197
|
children: prefix
|
|
@@ -122201,42 +122202,33 @@ function TreeNodeLine({ flatNode, spinner }) {
|
|
|
122201
122202
|
bold: true,
|
|
122202
122203
|
children: node.expertName
|
|
122203
122204
|
}),
|
|
122204
|
-
/* @__PURE__ */ (0, import_jsx_runtime.
|
|
122205
|
-
dimColor: true,
|
|
122206
|
-
children: ": "
|
|
122207
|
-
})
|
|
122208
|
-
] }),
|
|
122209
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Box, {
|
|
122210
|
-
flexGrow: 1,
|
|
122211
|
-
flexShrink: 1,
|
|
122212
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Text, {
|
|
122213
|
-
wrap: "truncate",
|
|
122214
|
-
children: [node.actionLabel, node.actionFileArg ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Text, {
|
|
122215
|
-
color: colors.muted,
|
|
122216
|
-
children: [" ", node.actionFileArg]
|
|
122217
|
-
}) : null]
|
|
122218
|
-
})
|
|
122219
|
-
}),
|
|
122220
|
-
showUsage ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Text, { children: [
|
|
122221
|
-
node.model ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, {
|
|
122222
|
-
dimColor: true,
|
|
122223
|
-
children: " · "
|
|
122224
|
-
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, {
|
|
122205
|
+
node.model ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Text, {
|
|
122225
122206
|
dimColor: true,
|
|
122226
|
-
children: node.model
|
|
122227
|
-
})
|
|
122228
|
-
/* @__PURE__ */ (0, import_jsx_runtime.
|
|
122229
|
-
|
|
122230
|
-
|
|
122231
|
-
|
|
122232
|
-
|
|
122207
|
+
children: [" · ", node.model]
|
|
122208
|
+
}) : null,
|
|
122209
|
+
showUsage ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Text, { children: [
|
|
122210
|
+
" ",
|
|
122211
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, {
|
|
122212
|
+
dimColor: true,
|
|
122213
|
+
children: "·"
|
|
122214
|
+
}),
|
|
122215
|
+
" ",
|
|
122233
122216
|
usageIcon,
|
|
122234
122217
|
" ",
|
|
122235
122218
|
usagePercent,
|
|
122236
122219
|
"%"
|
|
122237
|
-
] })
|
|
122238
|
-
|
|
122239
|
-
|
|
122220
|
+
] }) : null,
|
|
122221
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, {
|
|
122222
|
+
dimColor: true,
|
|
122223
|
+
children: " · "
|
|
122224
|
+
}),
|
|
122225
|
+
node.actionLabel,
|
|
122226
|
+
node.actionFileArg ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Text, {
|
|
122227
|
+
color: colors.muted,
|
|
122228
|
+
children: [" ", node.actionFileArg]
|
|
122229
|
+
}) : null
|
|
122230
|
+
]
|
|
122231
|
+
});
|
|
122240
122232
|
}
|
|
122241
122233
|
const DelegationTree = ({ state }) => {
|
|
122242
122234
|
const flatNodes = flattenTree(state);
|
|
@@ -122896,7 +122888,7 @@ async function startHandler(expertKey, query, options, handlerOptions) {
|
|
|
122896
122888
|
//#endregion
|
|
122897
122889
|
//#region package.json
|
|
122898
122890
|
var name = "perstack";
|
|
122899
|
-
var version = "0.0.
|
|
122891
|
+
var version = "0.0.120";
|
|
122900
122892
|
var description = "PerStack CLI";
|
|
122901
122893
|
|
|
122902
122894
|
//#endregion
|