@robota-sdk/agent-cli 3.0.0-beta.30 → 3.0.0-beta.31

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/node/bin.cjs CHANGED
@@ -271,7 +271,10 @@ function useSession(props) {
271
271
  setActiveTools((prev) => {
272
272
  const updated = prev.map((t) => {
273
273
  if (!(t.toolName === event.toolName && t.isRunning)) return t;
274
- const editDiff = extractEditDiff(event.toolName, t._toolArgs);
274
+ const editDiff = extractEditDiff(
275
+ event.toolName,
276
+ t._toolArgs
277
+ );
275
278
  const finished = {
276
279
  ...t,
277
280
  isRunning: false,
@@ -1358,7 +1361,10 @@ function ToolMessage({ message }) {
1358
1361
  if (summaries) {
1359
1362
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_ink2.Box, { flexDirection: "column", marginBottom: 1, children: [
1360
1363
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_ink2.Box, { children: [
1361
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_ink2.Text, { color: "white", bold: true, children: "Tool: " }),
1364
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_ink2.Text, { color: "white", bold: true, children: [
1365
+ "Tool:",
1366
+ " "
1367
+ ] }),
1362
1368
  message.toolName && /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_ink2.Text, { color: "white", dimColor: true, children: [
1363
1369
  "[",
1364
1370
  message.toolName,
@@ -1380,7 +1386,10 @@ function ToolMessage({ message }) {
1380
1386
  const lines = message.content.split("\n").filter((l) => l.trim());
1381
1387
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_ink2.Box, { flexDirection: "column", marginBottom: 1, children: [
1382
1388
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_ink2.Box, { children: [
1383
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_ink2.Text, { color: "white", bold: true, children: "Tool: " }),
1389
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_ink2.Text, { color: "white", bold: true, children: [
1390
+ "Tool:",
1391
+ " "
1392
+ ] }),
1384
1393
  message.toolName && /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_ink2.Text, { color: "white", dimColor: true, children: [
1385
1394
  "[",
1386
1395
  message.toolName,
package/dist/node/bin.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  startCli
4
- } from "./chunk-MCZP5QLE.js";
4
+ } from "./chunk-2CGAQADC.js";
5
5
 
6
6
  // src/bin.ts
7
7
  process.on("uncaughtException", (err) => {
@@ -254,7 +254,10 @@ function useSession(props) {
254
254
  setActiveTools((prev) => {
255
255
  const updated = prev.map((t) => {
256
256
  if (!(t.toolName === event.toolName && t.isRunning)) return t;
257
- const editDiff = extractEditDiff(event.toolName, t._toolArgs);
257
+ const editDiff = extractEditDiff(
258
+ event.toolName,
259
+ t._toolArgs
260
+ );
258
261
  const finished = {
259
262
  ...t,
260
263
  isRunning: false,
@@ -1346,7 +1349,10 @@ function ToolMessage({ message }) {
1346
1349
  if (summaries) {
1347
1350
  return /* @__PURE__ */ jsxs2(Box2, { flexDirection: "column", marginBottom: 1, children: [
1348
1351
  /* @__PURE__ */ jsxs2(Box2, { children: [
1349
- /* @__PURE__ */ jsx(Text2, { color: "white", bold: true, children: "Tool: " }),
1352
+ /* @__PURE__ */ jsxs2(Text2, { color: "white", bold: true, children: [
1353
+ "Tool:",
1354
+ " "
1355
+ ] }),
1350
1356
  message.toolName && /* @__PURE__ */ jsxs2(Text2, { color: "white", dimColor: true, children: [
1351
1357
  "[",
1352
1358
  message.toolName,
@@ -1368,7 +1374,10 @@ function ToolMessage({ message }) {
1368
1374
  const lines = message.content.split("\n").filter((l) => l.trim());
1369
1375
  return /* @__PURE__ */ jsxs2(Box2, { flexDirection: "column", marginBottom: 1, children: [
1370
1376
  /* @__PURE__ */ jsxs2(Box2, { children: [
1371
- /* @__PURE__ */ jsx(Text2, { color: "white", bold: true, children: "Tool: " }),
1377
+ /* @__PURE__ */ jsxs2(Text2, { color: "white", bold: true, children: [
1378
+ "Tool:",
1379
+ " "
1380
+ ] }),
1372
1381
  message.toolName && /* @__PURE__ */ jsxs2(Text2, { color: "white", dimColor: true, children: [
1373
1382
  "[",
1374
1383
  message.toolName,
@@ -287,7 +287,10 @@ function useSession(props) {
287
287
  setActiveTools((prev) => {
288
288
  const updated = prev.map((t) => {
289
289
  if (!(t.toolName === event.toolName && t.isRunning)) return t;
290
- const editDiff = extractEditDiff(event.toolName, t._toolArgs);
290
+ const editDiff = extractEditDiff(
291
+ event.toolName,
292
+ t._toolArgs
293
+ );
291
294
  const finished = {
292
295
  ...t,
293
296
  isRunning: false,
@@ -1374,7 +1377,10 @@ function ToolMessage({ message }) {
1374
1377
  if (summaries) {
1375
1378
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_ink2.Box, { flexDirection: "column", marginBottom: 1, children: [
1376
1379
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_ink2.Box, { children: [
1377
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_ink2.Text, { color: "white", bold: true, children: "Tool: " }),
1380
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_ink2.Text, { color: "white", bold: true, children: [
1381
+ "Tool:",
1382
+ " "
1383
+ ] }),
1378
1384
  message.toolName && /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_ink2.Text, { color: "white", dimColor: true, children: [
1379
1385
  "[",
1380
1386
  message.toolName,
@@ -1396,7 +1402,10 @@ function ToolMessage({ message }) {
1396
1402
  const lines = message.content.split("\n").filter((l) => l.trim());
1397
1403
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_ink2.Box, { flexDirection: "column", marginBottom: 1, children: [
1398
1404
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_ink2.Box, { children: [
1399
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_ink2.Text, { color: "white", bold: true, children: "Tool: " }),
1405
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_ink2.Text, { color: "white", bold: true, children: [
1406
+ "Tool:",
1407
+ " "
1408
+ ] }),
1400
1409
  message.toolName && /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_ink2.Text, { color: "white", dimColor: true, children: [
1401
1410
  "[",
1402
1411
  message.toolName,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  startCli
3
- } from "./chunk-MCZP5QLE.js";
3
+ } from "./chunk-2CGAQADC.js";
4
4
 
5
5
  // src/index.ts
6
6
  import { Session, SessionStore, query, TRUST_TO_MODE } from "@robota-sdk/agent-sdk";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robota-sdk/agent-cli",
3
- "version": "3.0.0-beta.30",
3
+ "version": "3.0.0-beta.31",
4
4
  "description": "AI coding assistant CLI built on Robota SDK",
5
5
  "type": "module",
6
6
  "bin": {
@@ -35,8 +35,8 @@
35
35
  "marked-terminal": "^7.3.0",
36
36
  "react": "19.2.4",
37
37
  "string-width": "^8.2.0",
38
- "@robota-sdk/agent-core": "3.0.0-beta.30",
39
- "@robota-sdk/agent-sdk": "3.0.0-beta.30"
38
+ "@robota-sdk/agent-core": "3.0.0-beta.31",
39
+ "@robota-sdk/agent-sdk": "3.0.0-beta.31"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@types/marked": "^6.0.0",