@nomad-e/bluma-cli 0.0.2 → 0.0.3

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 (2) hide show
  1. package/dist/main.js +3 -7
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -204,7 +204,7 @@ var InputPrompt = ({ onSubmit, isReadOnly, onInterrupt }) => {
204
204
  /* @__PURE__ */ jsx2(Text2, { inverse: !isReadOnly, children: charAtCursor || " " }),
205
205
  showPlaceholder ? /* @__PURE__ */ jsx2(Text2, { dimColor: true, children: placeholder }) : /* @__PURE__ */ jsx2(Text2, { children: textAfterCursor })
206
206
  ] }) }),
207
- /* @__PURE__ */ jsx2(Box2, { paddingX: 1, children: /* @__PURE__ */ jsxs2(Text2, { color: "gray", dimColor: true, children: [
207
+ /* @__PURE__ */ jsx2(Box2, { paddingX: 1, justifyContent: "center", children: /* @__PURE__ */ jsxs2(Text2, { color: "gray", dimColor: true, children: [
208
208
  "ctrl+c to exit | esc to interrupt | ",
209
209
  isReadOnly ? "Read-only mode" : "Editable mode"
210
210
  ] }) })
@@ -418,16 +418,12 @@ var renderEditTool = ({ toolCall, preview }) => {
418
418
  var renderGeneric = ({ toolCall }) => {
419
419
  const toolName = toolCall.function.name;
420
420
  const formattedArgs = formatArguments(toolCall.function.arguments);
421
- const ARGS_BOX_HEIGHT = 5;
421
+ const ARGS_BOX_HEIGHT = 3;
422
422
  const totalLines = formattedArgs.split("\n").length;
423
423
  const areArgsTruncated = totalLines > ARGS_BOX_HEIGHT;
424
424
  return /* @__PURE__ */ jsxs5(Box5, { flexDirection: "column", marginBottom: 1, children: [
425
- /* @__PURE__ */ jsx5(Box5, { children: /* @__PURE__ */ jsxs5(Text5, { bold: true, children: [
426
- /* @__PURE__ */ jsx5(Text5, { color: "magenta", children: "? " }),
427
- toolName
428
- ] }) }),
425
+ /* @__PURE__ */ jsx5(Box5, { children: /* @__PURE__ */ jsx5(Text5, { bold: true, children: toolName }) }),
429
426
  formattedArgs && /* @__PURE__ */ jsxs5(Box5, { flexDirection: "column", marginTop: 1, children: [
430
- /* @__PURE__ */ jsx5(Text5, { dimColor: true, children: "Arguments:" }),
431
427
  /* @__PURE__ */ jsx5(
432
428
  Box5,
433
429
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nomad-e/bluma-cli",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "BluMa independent agent for automation and advanced software engineering.",
5
5
  "author": "Alex Fonseca",
6
6
  "license": "MIT",