agent-yes 1.76.0 → 1.76.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.
- package/dist/{SUPPORTED_CLIS-DAufh-XY.js → SUPPORTED_CLIS-IDfUiHsZ.js} +3 -3
- package/dist/agent-yes.js +1 -1
- package/dist/amp-yes.js +1 -1
- package/dist/auggie-yes.js +1 -1
- package/dist/claude-yes.js +1 -1
- package/dist/cli.js +2 -2
- package/dist/codex-yes.js +1 -1
- package/dist/copilot-yes.js +1 -1
- package/dist/cursor-yes.js +1 -1
- package/dist/cy.js +1 -1
- package/dist/gemini-yes.js +1 -1
- package/dist/grok-yes.js +1 -1
- package/dist/index.js +2 -2
- package/dist/opencode-yes.js +1 -1
- package/dist/qwen-yes.js +1 -1
- package/dist/{ts-MmVGVMOz.js → ts-DbxSwnlW.js} +2 -2
- package/dist/{versionChecker-CAoC4Jzx.js → versionChecker-VNi0ht5W.js} +2 -2
- package/package.json +1 -1
- package/ts/postbuild.ts +5 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as CLIS_CONFIG } from "./ts-
|
|
1
|
+
import { t as CLIS_CONFIG } from "./ts-DbxSwnlW.js";
|
|
2
2
|
import "./logger-B9h0djqx.js";
|
|
3
|
-
import "./versionChecker-
|
|
3
|
+
import "./versionChecker-VNi0ht5W.js";
|
|
4
4
|
import "./pidStore-C1JXxoPi.js";
|
|
5
5
|
import "./globalPidIndex-Cr-g75QF.js";
|
|
6
6
|
|
|
@@ -9,4 +9,4 @@ const SUPPORTED_CLIS = Object.keys(CLIS_CONFIG);
|
|
|
9
9
|
|
|
10
10
|
//#endregion
|
|
11
11
|
export { SUPPORTED_CLIS };
|
|
12
|
-
//# sourceMappingURL=SUPPORTED_CLIS-
|
|
12
|
+
//# sourceMappingURL=SUPPORTED_CLIS-IDfUiHsZ.js.map
|
package/dist/agent-yes.js
CHANGED
|
@@ -3,7 +3,7 @@ import { existsSync } from "node:fs";
|
|
|
3
3
|
import { join, dirname } from "node:path";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
5
|
const root = join(dirname(fileURLToPath(import.meta.url)), "..");
|
|
6
|
-
if (existsSync(join(root, ".git"))) {
|
|
6
|
+
if (typeof Bun !== "undefined" && existsSync(join(root, ".git"))) {
|
|
7
7
|
await import("../ts/cli.ts");
|
|
8
8
|
} else {
|
|
9
9
|
await import("./cli.js");
|
package/dist/amp-yes.js
CHANGED
|
@@ -3,7 +3,7 @@ import { existsSync } from "node:fs";
|
|
|
3
3
|
import { join, dirname } from "node:path";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
5
|
const root = join(dirname(fileURLToPath(import.meta.url)), "..");
|
|
6
|
-
if (existsSync(join(root, ".git"))) {
|
|
6
|
+
if (typeof Bun !== "undefined" && existsSync(join(root, ".git"))) {
|
|
7
7
|
await import("../ts/cli.ts");
|
|
8
8
|
} else {
|
|
9
9
|
await import("./cli.js");
|
package/dist/auggie-yes.js
CHANGED
|
@@ -3,7 +3,7 @@ import { existsSync } from "node:fs";
|
|
|
3
3
|
import { join, dirname } from "node:path";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
5
|
const root = join(dirname(fileURLToPath(import.meta.url)), "..");
|
|
6
|
-
if (existsSync(join(root, ".git"))) {
|
|
6
|
+
if (typeof Bun !== "undefined" && existsSync(join(root, ".git"))) {
|
|
7
7
|
await import("../ts/cli.ts");
|
|
8
8
|
} else {
|
|
9
9
|
await import("./cli.js");
|
package/dist/claude-yes.js
CHANGED
|
@@ -3,7 +3,7 @@ import { existsSync } from "node:fs";
|
|
|
3
3
|
import { join, dirname } from "node:path";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
5
|
const root = join(dirname(fileURLToPath(import.meta.url)), "..");
|
|
6
|
-
if (existsSync(join(root, ".git"))) {
|
|
6
|
+
if (typeof Bun !== "undefined" && existsSync(join(root, ".git"))) {
|
|
7
7
|
await import("../ts/cli.ts");
|
|
8
8
|
} else {
|
|
9
9
|
await import("./cli.js");
|
package/dist/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
import { n as logger } from "./logger-B9h0djqx.js";
|
|
3
|
-
import { i as versionString, n as displayVersion, r as getInstalledPackage, t as checkAndAutoUpdate } from "./versionChecker-
|
|
3
|
+
import { i as versionString, n as displayVersion, r as getInstalledPackage, t as checkAndAutoUpdate } from "./versionChecker-VNi0ht5W.js";
|
|
4
4
|
import { argv } from "process";
|
|
5
5
|
import { execFileSync, spawn } from "child_process";
|
|
6
6
|
import ms from "ms";
|
|
@@ -504,7 +504,7 @@ if (config.useRust) {
|
|
|
504
504
|
}
|
|
505
505
|
}
|
|
506
506
|
if (rustBinary) {
|
|
507
|
-
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-
|
|
507
|
+
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-IDfUiHsZ.js");
|
|
508
508
|
const rustArgs = buildRustArgs(process.argv, config.cli, SUPPORTED_CLIS);
|
|
509
509
|
if (config.verbose) {
|
|
510
510
|
console.log(`[rust] Using binary: ${rustBinary}`);
|
package/dist/codex-yes.js
CHANGED
|
@@ -3,7 +3,7 @@ import { existsSync } from "node:fs";
|
|
|
3
3
|
import { join, dirname } from "node:path";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
5
|
const root = join(dirname(fileURLToPath(import.meta.url)), "..");
|
|
6
|
-
if (existsSync(join(root, ".git"))) {
|
|
6
|
+
if (typeof Bun !== "undefined" && existsSync(join(root, ".git"))) {
|
|
7
7
|
await import("../ts/cli.ts");
|
|
8
8
|
} else {
|
|
9
9
|
await import("./cli.js");
|
package/dist/copilot-yes.js
CHANGED
|
@@ -3,7 +3,7 @@ import { existsSync } from "node:fs";
|
|
|
3
3
|
import { join, dirname } from "node:path";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
5
|
const root = join(dirname(fileURLToPath(import.meta.url)), "..");
|
|
6
|
-
if (existsSync(join(root, ".git"))) {
|
|
6
|
+
if (typeof Bun !== "undefined" && existsSync(join(root, ".git"))) {
|
|
7
7
|
await import("../ts/cli.ts");
|
|
8
8
|
} else {
|
|
9
9
|
await import("./cli.js");
|
package/dist/cursor-yes.js
CHANGED
|
@@ -3,7 +3,7 @@ import { existsSync } from "node:fs";
|
|
|
3
3
|
import { join, dirname } from "node:path";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
5
|
const root = join(dirname(fileURLToPath(import.meta.url)), "..");
|
|
6
|
-
if (existsSync(join(root, ".git"))) {
|
|
6
|
+
if (typeof Bun !== "undefined" && existsSync(join(root, ".git"))) {
|
|
7
7
|
await import("../ts/cli.ts");
|
|
8
8
|
} else {
|
|
9
9
|
await import("./cli.js");
|
package/dist/cy.js
CHANGED
|
@@ -3,7 +3,7 @@ import { existsSync } from "node:fs";
|
|
|
3
3
|
import { join, dirname } from "node:path";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
5
|
const root = join(dirname(fileURLToPath(import.meta.url)), "..");
|
|
6
|
-
if (existsSync(join(root, ".git"))) {
|
|
6
|
+
if (typeof Bun !== "undefined" && existsSync(join(root, ".git"))) {
|
|
7
7
|
await import("../ts/cli.ts");
|
|
8
8
|
} else {
|
|
9
9
|
await import("./cli.js");
|
package/dist/gemini-yes.js
CHANGED
|
@@ -3,7 +3,7 @@ import { existsSync } from "node:fs";
|
|
|
3
3
|
import { join, dirname } from "node:path";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
5
|
const root = join(dirname(fileURLToPath(import.meta.url)), "..");
|
|
6
|
-
if (existsSync(join(root, ".git"))) {
|
|
6
|
+
if (typeof Bun !== "undefined" && existsSync(join(root, ".git"))) {
|
|
7
7
|
await import("../ts/cli.ts");
|
|
8
8
|
} else {
|
|
9
9
|
await import("./cli.js");
|
package/dist/grok-yes.js
CHANGED
|
@@ -3,7 +3,7 @@ import { existsSync } from "node:fs";
|
|
|
3
3
|
import { join, dirname } from "node:path";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
5
|
const root = join(dirname(fileURLToPath(import.meta.url)), "..");
|
|
6
|
-
if (existsSync(join(root, ".git"))) {
|
|
6
|
+
if (typeof Bun !== "undefined" && existsSync(join(root, ".git"))) {
|
|
7
7
|
await import("../ts/cli.ts");
|
|
8
8
|
} else {
|
|
9
9
|
await import("./cli.js");
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as removeControlCharacters, i as AgentContext, n as agentYes, r as config, t as CLIS_CONFIG } from "./ts-
|
|
1
|
+
import { a as removeControlCharacters, i as AgentContext, n as agentYes, r as config, t as CLIS_CONFIG } from "./ts-DbxSwnlW.js";
|
|
2
2
|
import "./logger-B9h0djqx.js";
|
|
3
|
-
import "./versionChecker-
|
|
3
|
+
import "./versionChecker-VNi0ht5W.js";
|
|
4
4
|
import "./pidStore-C1JXxoPi.js";
|
|
5
5
|
import "./globalPidIndex-Cr-g75QF.js";
|
|
6
6
|
|
package/dist/opencode-yes.js
CHANGED
|
@@ -3,7 +3,7 @@ import { existsSync } from "node:fs";
|
|
|
3
3
|
import { join, dirname } from "node:path";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
5
|
const root = join(dirname(fileURLToPath(import.meta.url)), "..");
|
|
6
|
-
if (existsSync(join(root, ".git"))) {
|
|
6
|
+
if (typeof Bun !== "undefined" && existsSync(join(root, ".git"))) {
|
|
7
7
|
await import("../ts/cli.ts");
|
|
8
8
|
} else {
|
|
9
9
|
await import("./cli.js");
|
package/dist/qwen-yes.js
CHANGED
|
@@ -3,7 +3,7 @@ import { existsSync } from "node:fs";
|
|
|
3
3
|
import { join, dirname } from "node:path";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
5
|
const root = join(dirname(fileURLToPath(import.meta.url)), "..");
|
|
6
|
-
if (existsSync(join(root, ".git"))) {
|
|
6
|
+
if (typeof Bun !== "undefined" && existsSync(join(root, ".git"))) {
|
|
7
7
|
await import("../ts/cli.ts");
|
|
8
8
|
} else {
|
|
9
9
|
await import("./cli.js");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as logger, t as addTransport } from "./logger-B9h0djqx.js";
|
|
2
|
-
import { r as getInstalledPackage } from "./versionChecker-
|
|
2
|
+
import { r as getInstalledPackage } from "./versionChecker-VNi0ht5W.js";
|
|
3
3
|
import { i as shouldUseLock, r as releaseLock, t as acquireLock } from "./runningLock-C22d9SRJ.js";
|
|
4
4
|
import { t as PidStore } from "./pidStore-C1JXxoPi.js";
|
|
5
5
|
import { arch, platform } from "process";
|
|
@@ -1679,4 +1679,4 @@ function sleep(ms) {
|
|
|
1679
1679
|
|
|
1680
1680
|
//#endregion
|
|
1681
1681
|
export { removeControlCharacters as a, AgentContext as i, agentYes as n, config as r, CLIS_CONFIG as t };
|
|
1682
|
-
//# sourceMappingURL=ts-
|
|
1682
|
+
//# sourceMappingURL=ts-DbxSwnlW.js.map
|
|
@@ -7,7 +7,7 @@ import { fileURLToPath } from "url";
|
|
|
7
7
|
|
|
8
8
|
//#region package.json
|
|
9
9
|
var name = "agent-yes";
|
|
10
|
-
var version = "1.76.
|
|
10
|
+
var version = "1.76.1";
|
|
11
11
|
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region ts/versionChecker.ts
|
|
@@ -221,4 +221,4 @@ async function displayVersion() {
|
|
|
221
221
|
|
|
222
222
|
//#endregion
|
|
223
223
|
export { versionString as i, displayVersion as n, getInstalledPackage as r, checkAndAutoUpdate as t };
|
|
224
|
-
//# sourceMappingURL=versionChecker-
|
|
224
|
+
//# sourceMappingURL=versionChecker-VNi0ht5W.js.map
|
package/package.json
CHANGED
package/ts/postbuild.ts
CHANGED
|
@@ -15,15 +15,17 @@ const suffixes = ["-yes"];
|
|
|
15
15
|
// Short aliases: maps alias name → target CLI name (alias resolves in parseCliArgs.ts)
|
|
16
16
|
const shortAliases: Record<string, string> = { cy: "claude" };
|
|
17
17
|
|
|
18
|
-
//
|
|
19
|
-
//
|
|
18
|
+
// Under Bun (dev via `bun link`), run TypeScript source directly — no build needed.
|
|
19
|
+
// Under Node (published install or CI), use the compiled dist/cli.js.
|
|
20
|
+
// Detect Bun at runtime: the shebang prefers bun but Node may still invoke us
|
|
21
|
+
// directly (e.g. `node dist/claude-yes.js` in CI), and Node cannot import .ts.
|
|
20
22
|
const wrapperContent = `\
|
|
21
23
|
#!/usr/bin/env bun
|
|
22
24
|
import { existsSync } from "node:fs";
|
|
23
25
|
import { join, dirname } from "node:path";
|
|
24
26
|
import { fileURLToPath } from "node:url";
|
|
25
27
|
const root = join(dirname(fileURLToPath(import.meta.url)), "..");
|
|
26
|
-
if (existsSync(join(root, ".git"))) {
|
|
28
|
+
if (typeof Bun !== "undefined" && existsSync(join(root, ".git"))) {
|
|
27
29
|
await import("../ts/cli.ts");
|
|
28
30
|
} else {
|
|
29
31
|
await import("./cli.js");
|