@vietor/easy-agent 0.5.10 → 0.6.1

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.
@@ -32,10 +32,7 @@ export function QuestionView({ question, onAnswer }) {
32
32
  }
33
33
  }
34
34
  else if (key.escape) {
35
- if (hasOptions)
36
- setMode("select");
37
- else
38
- onAnswer("");
35
+ onAnswer("");
39
36
  }
40
37
  });
41
38
  if (mode === "input") {
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { memo } from "react";
3
3
  import { Box, Text } from "ink";
4
+ import {} from "@vietor/easy-agent-core";
4
5
  const GLYPHS = {
5
6
  pending: "○",
6
7
  in_progress: "◐",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vietor/easy-agent",
3
- "version": "0.5.10",
3
+ "version": "0.6.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -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.10"
26
+ "@vietor/easy-agent-core": "0.6.1"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/node": "^22.20.1",