@vietor/easy-agent 0.5.2 → 0.5.4

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/README.md CHANGED
@@ -155,7 +155,7 @@ A status bar at the bottom shows the context token usage with a progress bar and
155
155
  - **WebFetch** — fetch a URL as markdown or text.
156
156
  - **AskUser** — ask the user a question and wait for their answer.
157
157
  - **TodoWrite** — track multi-step work as a task list (pending / in_progress / completed), shown live as a panel in the TUI.
158
- - **SubAgent** — delegate investigation (`explore`), implementation-planning (`plan`), or full-tool execution (`generic`) subtasks to a nested sub-agent.
158
+ - **SubAgent** — delegate investigation (`explore`) or implementation-planning (`plan`) subtasks to a nested read-only sub-agent.
159
159
 
160
160
  ### Slash commands
161
161
 
package/dist/index.js ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ import { main } from "./main.js";
3
+ main(process.argv.slice(2)).catch((e) => {
4
+ console.error(e);
5
+ process.exit(1);
6
+ });
package/dist/main.js CHANGED
@@ -1,4 +1,3 @@
1
- #!/usr/bin/env node
2
1
  import { randomUUID } from "node:crypto";
3
2
  import { homedir } from "node:os";
4
3
  import { join } from "node:path";
@@ -117,7 +116,3 @@ export async function main(argv = []) {
117
116
  console.log(["Resume this session with:", `easy-agent --resume ${sessionId}`].join("\n"));
118
117
  });
119
118
  }
120
- main(process.argv.slice(2)).catch((e) => {
121
- console.error(e);
122
- process.exit(1);
123
- });
@@ -13,7 +13,7 @@ export const TimelineView = memo(function TimelineView({ entry }) {
13
13
  case "tool":
14
14
  return _jsx(ToolEntry, { entry: entry });
15
15
  case "retry":
16
- return (_jsx(Box, { children: _jsxs(Text, { children: [_jsx(Text, { color: "yellow", children: "\u21BB " }), _jsxs(Text, { dimColor: true, children: ["retry ", entry.attempt, "/", entry.max] })] }) }));
16
+ return (_jsx(Box, { children: _jsxs(Text, { children: [_jsx(Text, { color: "yellow", children: "\u21BB " }), _jsxs(Text, { dimColor: true, children: ["retry ", entry.attempt, "/", entry.max, " \u00B7 ", entry.reason] })] }) }));
17
17
  case "error":
18
18
  return (_jsx(Box, { marginTop: 1, children: _jsxs(Text, { color: "red", children: [_jsx(Text, { bold: true, children: "\u2717 " }), entry.text] }) }));
19
19
  case "interrupted":
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@vietor/easy-agent",
3
- "version": "0.5.2",
3
+ "version": "0.5.4",
4
4
  "type": "module",
5
- "main": "dist/main.js",
5
+ "main": "dist/index.js",
6
6
  "bin": {
7
- "easy-agent": "dist/main.js"
7
+ "easy-agent": "dist/index.js"
8
8
  },
9
9
  "files": [
10
10
  "dist"
@@ -23,7 +23,7 @@
23
23
  "react": "^19.2.8",
24
24
  "string-width": "^8.2.2",
25
25
  "zod": "^4.4.3",
26
- "@vietor/easy-agent-core": "0.5.2"
26
+ "@vietor/easy-agent-core": "0.5.4"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/node": "^22.20.1",
@@ -42,7 +42,7 @@
42
42
  ],
43
43
  "scripts": {
44
44
  "build": "tsc",
45
- "dev": "tsx src/main.ts",
46
- "start": "node dist/main.js"
45
+ "dev": "tsx src/index.ts",
46
+ "start": "node dist/index.js"
47
47
  }
48
48
  }