agent-yes 1.53.0 → 1.53.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.
|
@@ -9370,7 +9370,7 @@ var SqliteAdapter = class {
|
|
|
9370
9370
|
if (typeof this.db.query === "function") return this.db.query(sql).all(params);
|
|
9371
9371
|
else return this.db.prepare(sql).all(...params);
|
|
9372
9372
|
} catch (error) {
|
|
9373
|
-
logger.
|
|
9373
|
+
logger.debug("[SqliteAdapter] Query failed:", error);
|
|
9374
9374
|
return [];
|
|
9375
9375
|
}
|
|
9376
9376
|
}
|
|
@@ -9381,7 +9381,7 @@ var SqliteAdapter = class {
|
|
|
9381
9381
|
return {};
|
|
9382
9382
|
} else return this.db.prepare(sql).run(...params);
|
|
9383
9383
|
} catch (error) {
|
|
9384
|
-
logger.
|
|
9384
|
+
logger.debug("[SqliteAdapter] Run failed:", error);
|
|
9385
9385
|
return {};
|
|
9386
9386
|
}
|
|
9387
9387
|
}
|
|
@@ -9389,7 +9389,7 @@ var SqliteAdapter = class {
|
|
|
9389
9389
|
try {
|
|
9390
9390
|
if (this.db?.close) this.db.close();
|
|
9391
9391
|
} catch (error) {
|
|
9392
|
-
logger.
|
|
9392
|
+
logger.debug("[SqliteAdapter] Close failed:", error);
|
|
9393
9393
|
}
|
|
9394
9394
|
}
|
|
9395
9395
|
isReady() {
|
|
@@ -10734,4 +10734,4 @@ const SUPPORTED_CLIS = Object.keys(CLIS_CONFIG);
|
|
|
10734
10734
|
|
|
10735
10735
|
//#endregion
|
|
10736
10736
|
export { AgentContext as a, config as i, CLIS_CONFIG as n, PidStore as o, agentYes as r, removeControlCharacters as s, SUPPORTED_CLIS as t };
|
|
10737
|
-
//# sourceMappingURL=SUPPORTED_CLIS-
|
|
10737
|
+
//# sourceMappingURL=SUPPORTED_CLIS-I-XMBksk.js.map
|
package/dist/cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
import { c as __toESM, i as __commonJSMin, r as require_ms, t as logger } from "./logger-DH1Rx9HI.js";
|
|
3
3
|
import "./agent-yes.config-Dr2p5kBW.js";
|
|
4
|
-
import { o as PidStore, t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-
|
|
4
|
+
import { o as PidStore, t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-I-XMBksk.js";
|
|
5
5
|
import { createRequire } from "node:module";
|
|
6
6
|
import { argv } from "process";
|
|
7
7
|
import { spawn } from "child_process";
|
|
@@ -4505,7 +4505,7 @@ const Yargs = YargsFactory(esm_default);
|
|
|
4505
4505
|
//#endregion
|
|
4506
4506
|
//#region package.json
|
|
4507
4507
|
var name = "agent-yes";
|
|
4508
|
-
var version = "1.53.
|
|
4508
|
+
var version = "1.53.1";
|
|
4509
4509
|
|
|
4510
4510
|
//#endregion
|
|
4511
4511
|
//#region ts/parseCliArgs.ts
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "./logger-DH1Rx9HI.js";
|
|
2
|
-
import { a as AgentContext, i as config, n as CLIS_CONFIG, r as agentYes, s as removeControlCharacters } from "./SUPPORTED_CLIS-
|
|
2
|
+
import { a as AgentContext, i as config, n as CLIS_CONFIG, r as agentYes, s as removeControlCharacters } from "./SUPPORTED_CLIS-I-XMBksk.js";
|
|
3
3
|
|
|
4
4
|
export { AgentContext, CLIS_CONFIG, config, agentYes as default, removeControlCharacters };
|
package/package.json
CHANGED
package/ts/SqliteAdapter.ts
CHANGED
|
@@ -72,7 +72,7 @@ export class SqliteAdapter {
|
|
|
72
72
|
return this.db.prepare(sql).all(...params);
|
|
73
73
|
}
|
|
74
74
|
} catch (error) {
|
|
75
|
-
logger.
|
|
75
|
+
logger.debug("[SqliteAdapter] Query failed:", error);
|
|
76
76
|
return [];
|
|
77
77
|
}
|
|
78
78
|
}
|
|
@@ -88,7 +88,7 @@ export class SqliteAdapter {
|
|
|
88
88
|
return this.db.prepare(sql).run(...params);
|
|
89
89
|
}
|
|
90
90
|
} catch (error) {
|
|
91
|
-
logger.
|
|
91
|
+
logger.debug("[SqliteAdapter] Run failed:", error);
|
|
92
92
|
return {};
|
|
93
93
|
}
|
|
94
94
|
}
|
|
@@ -99,7 +99,7 @@ export class SqliteAdapter {
|
|
|
99
99
|
this.db.close();
|
|
100
100
|
}
|
|
101
101
|
} catch (error) {
|
|
102
|
-
logger.
|
|
102
|
+
logger.debug("[SqliteAdapter] Close failed:", error);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
|