agent-yes 1.60.0 → 1.60.2

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/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import "./logger-DH1Rx9HI.js";
2
- import { a as AgentContext, i as config, l as removeControlCharacters, n as CLIS_CONFIG, r as agentYes } from "./SUPPORTED_CLIS-B5LK6-HJ.js";
1
+ import { a as AgentContext, i as config, l as removeControlCharacters, n as CLIS_CONFIG, r as agentYes } from "./SUPPORTED_CLIS-TKiMwx-X.js";
2
+ import "./logger-CY9ormLF.js";
3
3
 
4
4
  export { AgentContext, CLIS_CONFIG, config, agentYes as default, removeControlCharacters };
@@ -0,0 +1,16 @@
1
+ import winston from "winston";
2
+
3
+ //#region ts/logger.ts
4
+ const logFormat = winston.format.combine(winston.format.timestamp({ format: "YYYY-MM-DD HH:mm:ss" }), winston.format.printf(({ timestamp, level, message, ...meta }) => {
5
+ return `${timestamp} [${level}]: ${message}${Object.keys(meta).length ? ` ${JSON.stringify(meta)}` : ""}`;
6
+ }));
7
+ const logger = winston.createLogger({
8
+ level: process.env.VERBOSE ? "debug" : "info",
9
+ format: logFormat,
10
+ transports: [new winston.transports.Console({ format: winston.format.combine(winston.format.colorize(), logFormat) })],
11
+ silent: false
12
+ });
13
+
14
+ //#endregion
15
+ export { logger as t };
16
+ //# sourceMappingURL=logger-CY9ormLF.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-yes",
3
- "version": "1.60.0",
3
+ "version": "1.60.2",
4
4
  "description": "A wrapper tool that automates interactions with various AI CLI tools by automatically handling common prompts and responses.",
5
5
  "keywords": [
6
6
  "ai",
@@ -68,7 +68,7 @@
68
68
  },
69
69
  "scripts": {
70
70
  "build": "tsdown",
71
- "build:rs": "cd rs && cargo build --release --features swarm",
71
+ "build:rs": "cargo install --path rs --features swarm",
72
72
  "postbuild": "bun ./ts/postbuild.ts",
73
73
  "demo": "bun run build && bun link && claude-yes -- demo",
74
74
  "dev": "bun ts/index.ts",
@@ -85,9 +85,16 @@
85
85
  "dependencies": {
86
86
  "@snomiao/bun-pty": "^0.3.4",
87
87
  "bun-pty": "^0.4.8",
88
+ "execa": "^9.6.1",
88
89
  "from-node-stream": "^0.2.0",
90
+ "ms": "^2.1.3",
91
+ "phpdie": "^1.7.0",
89
92
  "proper-lockfile": "^4.1.2",
90
- "yaml": "^2.8.2"
93
+ "sflow": "^1.27.0",
94
+ "terminal-render": "^1.5.0",
95
+ "winston": "^3.19.0",
96
+ "yaml": "^2.8.2",
97
+ "yargs": "^18.0.0"
91
98
  },
92
99
  "devDependencies": {
93
100
  "@semantic-release/exec": "^7.1.0",
@@ -99,24 +106,17 @@
99
106
  "@types/proper-lockfile": "^4.1.4",
100
107
  "@types/yargs": "^17.0.35",
101
108
  "@typescript/native-preview": "^7.0.0-dev.20260124.1",
102
- "execa": "^9.6.1",
103
109
  "husky": "^9.1.7",
104
110
  "lint-staged": "^16.2.7",
105
- "ms": "^2.1.3",
106
111
  "node-pty": "^1.1.0",
107
112
  "oxfmt": "^0.26.0",
108
113
  "oxlint": "^1.41.0",
109
114
  "patch-package": "^8.0.1",
110
- "phpdie": "^1.7.0",
111
115
  "rambda": "^11.0.1",
112
116
  "semantic-release": "^25.0.2",
113
- "sflow": "^1.27.0",
114
117
  "standard-version": "^9.5.0",
115
- "terminal-render": "^1.5.0",
116
118
  "tsdown": "^0.20.3",
117
119
  "vitest": "^4.0.17",
118
- "winston": "^3.19.0",
119
- "yargs": "^18.0.0",
120
120
  "zod": "^3.23.0"
121
121
  },
122
122
  "peerDependencies": {