@kenkaiiii/gg-boss 4.3.122 → 4.3.123
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/audio.d.ts +16 -0
- package/dist/audio.d.ts.map +1 -0
- package/dist/audio.js +119 -0
- package/dist/audio.js.map +1 -0
- package/dist/splash.d.ts.map +1 -1
- package/dist/splash.js +6 -0
- package/dist/splash.js.map +1 -1
- package/dist/splash.mp3 +0 -0
- package/package.json +4 -4
package/dist/audio.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cross-platform fire-and-forget MP3 playback. Tries the most likely binary
|
|
3
|
+
* for the host OS first, then a small chain of common Linux fallbacks.
|
|
4
|
+
*
|
|
5
|
+
* Platform notes:
|
|
6
|
+
* - macOS: `afplay` ships with the OS, always works for MP3.
|
|
7
|
+
* - Windows: PowerShell + WPF MediaPlayer is built-in and supports MP3 via
|
|
8
|
+
* DirectShow / MediaFoundation. Doesn't pop up a window because
|
|
9
|
+
* the script runs sync inside powershell.exe with -NoProfile.
|
|
10
|
+
* - Linux: No single guaranteed binary. Try mpv → ffplay → mpg123 → cvlc.
|
|
11
|
+
* If none are installed, give up silently — Linux desktop audio
|
|
12
|
+
* is fragmented enough that we don't want to bloat the package
|
|
13
|
+
* with a bundled player.
|
|
14
|
+
*/
|
|
15
|
+
export declare function playSplashAudio(): Promise<void>;
|
|
16
|
+
//# sourceMappingURL=audio.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"audio.d.ts","sourceRoot":"","sources":["../src/audio.ts"],"names":[],"mappings":"AAiEA;;;;;;;;;;;;;GAaG;AACH,wBAAsB,eAAe,IAAI,OAAO,CAAC,IAAI,CAAC,CAwCrD"}
|
package/dist/audio.js
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { spawn } from "node:child_process";
|
|
2
|
+
import { fileURLToPath } from "node:url";
|
|
3
|
+
import path from "node:path";
|
|
4
|
+
import fs from "node:fs";
|
|
5
|
+
/**
|
|
6
|
+
* Resolve the bundled splash.mp3. The build script copies the asset from
|
|
7
|
+
* `assets/` to `dist/` so this path lands inside the published tarball when
|
|
8
|
+
* users `npm i -g`. Falls back to the source location during local dev where
|
|
9
|
+
* the build hasn't happened yet (rare — tsc runs every iteration).
|
|
10
|
+
*/
|
|
11
|
+
function splashAssetPath() {
|
|
12
|
+
const here = path.dirname(fileURLToPath(import.meta.url));
|
|
13
|
+
const dist = path.join(here, "splash.mp3");
|
|
14
|
+
if (fs.existsSync(dist))
|
|
15
|
+
return dist;
|
|
16
|
+
// Dev fallback: dist/audio.js → ../assets/splash.mp3 in the source tree.
|
|
17
|
+
const dev = path.join(here, "..", "assets", "splash.mp3");
|
|
18
|
+
return dev;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Fire a candidate player as a detached child. Returns true if the spawn
|
|
22
|
+
* actually started successfully (no immediate ENOENT). The audio process
|
|
23
|
+
* outlives the splash unmount so playback can finish on its own. Stdio is
|
|
24
|
+
* redirected to /dev/null so the player can't pollute the TUI.
|
|
25
|
+
*/
|
|
26
|
+
function trySpawn(cmd, args) {
|
|
27
|
+
return new Promise((resolve) => {
|
|
28
|
+
let resolved = false;
|
|
29
|
+
try {
|
|
30
|
+
const child = spawn(cmd, args, {
|
|
31
|
+
detached: true,
|
|
32
|
+
stdio: "ignore",
|
|
33
|
+
});
|
|
34
|
+
child.once("error", () => {
|
|
35
|
+
// ENOENT (binary not installed) or permission failure — let the next
|
|
36
|
+
// candidate take a turn. Don't surface to the user.
|
|
37
|
+
if (!resolved) {
|
|
38
|
+
resolved = true;
|
|
39
|
+
resolve(false);
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
child.once("spawn", () => {
|
|
43
|
+
if (!resolved) {
|
|
44
|
+
resolved = true;
|
|
45
|
+
// Detach so the parent process exiting doesn't kill the audio.
|
|
46
|
+
child.unref();
|
|
47
|
+
resolve(true);
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
// Some Node versions fire neither immediately. After 50ms with no error,
|
|
51
|
+
// assume success — the spawn went through.
|
|
52
|
+
setTimeout(() => {
|
|
53
|
+
if (!resolved) {
|
|
54
|
+
resolved = true;
|
|
55
|
+
child.unref();
|
|
56
|
+
resolve(true);
|
|
57
|
+
}
|
|
58
|
+
}, 50);
|
|
59
|
+
}
|
|
60
|
+
catch {
|
|
61
|
+
resolve(false);
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Cross-platform fire-and-forget MP3 playback. Tries the most likely binary
|
|
67
|
+
* for the host OS first, then a small chain of common Linux fallbacks.
|
|
68
|
+
*
|
|
69
|
+
* Platform notes:
|
|
70
|
+
* - macOS: `afplay` ships with the OS, always works for MP3.
|
|
71
|
+
* - Windows: PowerShell + WPF MediaPlayer is built-in and supports MP3 via
|
|
72
|
+
* DirectShow / MediaFoundation. Doesn't pop up a window because
|
|
73
|
+
* the script runs sync inside powershell.exe with -NoProfile.
|
|
74
|
+
* - Linux: No single guaranteed binary. Try mpv → ffplay → mpg123 → cvlc.
|
|
75
|
+
* If none are installed, give up silently — Linux desktop audio
|
|
76
|
+
* is fragmented enough that we don't want to bloat the package
|
|
77
|
+
* with a bundled player.
|
|
78
|
+
*/
|
|
79
|
+
export async function playSplashAudio() {
|
|
80
|
+
const file = splashAssetPath();
|
|
81
|
+
if (!fs.existsSync(file))
|
|
82
|
+
return;
|
|
83
|
+
const platform = process.platform;
|
|
84
|
+
if (platform === "darwin") {
|
|
85
|
+
await trySpawn("afplay", [file]);
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
if (platform === "win32") {
|
|
89
|
+
// Escape single quotes in the path for the PowerShell -Command argument.
|
|
90
|
+
const safe = file.replace(/'/g, "''");
|
|
91
|
+
const script = [
|
|
92
|
+
"Add-Type -AssemblyName presentationCore;",
|
|
93
|
+
"$p = New-Object System.Windows.Media.MediaPlayer;",
|
|
94
|
+
`$p.Open([uri]'${safe}');`,
|
|
95
|
+
"$p.Play();",
|
|
96
|
+
// Sleep so the powershell process stays alive long enough to actually
|
|
97
|
+
// play the clip (MediaPlayer is async; if powershell exits the GC
|
|
98
|
+
// tears the player down before sound plays). Match clip length + a beat.
|
|
99
|
+
"Start-Sleep -Seconds 5;",
|
|
100
|
+
].join(" ");
|
|
101
|
+
await trySpawn("powershell.exe", ["-NoProfile", "-WindowStyle", "Hidden", "-Command", script]);
|
|
102
|
+
return;
|
|
103
|
+
}
|
|
104
|
+
// Linux + everything else: walk the candidates.
|
|
105
|
+
const linuxCandidates = [
|
|
106
|
+
{ cmd: "mpv", args: ["--really-quiet", "--no-video", file] },
|
|
107
|
+
{ cmd: "ffplay", args: ["-nodisp", "-autoexit", "-loglevel", "quiet", file] },
|
|
108
|
+
{ cmd: "mpg123", args: ["-q", file] },
|
|
109
|
+
{ cmd: "mpg321", args: ["-q", file] },
|
|
110
|
+
{ cmd: "cvlc", args: ["--play-and-exit", "--quiet", file] },
|
|
111
|
+
{ cmd: "paplay", args: [file] },
|
|
112
|
+
];
|
|
113
|
+
for (const c of linuxCandidates) {
|
|
114
|
+
const ok = await trySpawn(c.cmd, c.args);
|
|
115
|
+
if (ok)
|
|
116
|
+
return;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
//# sourceMappingURL=audio.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"audio.js","sourceRoot":"","sources":["../src/audio.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,MAAM,SAAS,CAAC;AAEzB;;;;;GAKG;AACH,SAAS,eAAe;IACtB,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAA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,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,SAAS,EAAE,WAAW,EAAE,WAAW,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE;QAC7E,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE;QACrC,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE;QACrC,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,iBAAiB,EAAE,SAAS,EAAE,IAAI,CAAC,EAAE;QAC3D,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,IAAI,CAAC,EAAE;KAChC,CAAC;IACF,KAAK,MAAM,CAAC,IAAI,eAAe,EAAE,CAAC;QAChC,MAAM,EAAE,GAAG,MAAM,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC;QACzC,IAAI,EAAE;YAAE,OAAO;IACjB,CAAC;AACH,CAAC"}
|
package/dist/splash.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splash.d.ts","sourceRoot":"","sources":["../src/splash.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"splash.d.ts","sourceRoot":"","sources":["../src/splash.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAoFnD,UAAU,iBAAiB;IACzB,6EAA6E;IAC7E,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,YAAY,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB,GAAG,KAAK,CAAC,YAAY,CAgE/E;AAED;;;;;;GAMG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG;IACtE,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9B,CAsBA"}
|
package/dist/splash.js
CHANGED
|
@@ -2,6 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import React, { useEffect, useState } from "react";
|
|
3
3
|
import { Box, Text, render } from "ink";
|
|
4
4
|
import { AUTHOR, BRAND, COLORS, GRADIENT, VERSION } from "./branding.js";
|
|
5
|
+
import { playSplashAudio } from "./audio.js";
|
|
5
6
|
/**
|
|
6
7
|
* Big ASCII "GG Boss" rendered for the splash. The block characters here are
|
|
7
8
|
* ANSI Shadow-style figlet output. Whitespace is significant — every line is
|
|
@@ -107,6 +108,11 @@ export function SplashScreen({ caption }) {
|
|
|
107
108
|
*/
|
|
108
109
|
export function showSplash(opts) {
|
|
109
110
|
const start = Date.now();
|
|
111
|
+
// Fire-and-forget — never await. If the platform has no working player or
|
|
112
|
+
// the bundled mp3 is missing, this resolves to nothing and the splash just
|
|
113
|
+
// plays silently. Errors are swallowed inside playSplashAudio so the user
|
|
114
|
+
// never sees an audio-related crash on launch.
|
|
115
|
+
void playSplashAudio();
|
|
110
116
|
const instance = render(_jsx(SplashScreen, { caption: opts.caption }));
|
|
111
117
|
return {
|
|
112
118
|
dismiss: async () => {
|
package/dist/splash.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splash.js","sourceRoot":"","sources":["../src/splash.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,KAAK,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"splash.js","sourceRoot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AC;IACzB,0EAA0E;IAC1E,2EAA2E;IAC3E,0EAA0E;IAC1E,+CAA+C;IAC/C,KAAK,eAAe,EAAE,CAAC;IACvB,MAAM,QAAQ,GAAG,MAAM,CAAC,KAAC,YAAY,IAAC,OAAO,EAAE,IAAI,CAAC,OAAO,GAAI,CAAC,CAAC;IACjE,OAAO;QACL,OAAO,EAAE,KAAK,IAAI,EAAE;YAClB,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,IAAI,GAAG,CAAC;YAChC,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG,EAAE,GAAG,KAAK,CAAC;YACnC,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC,CAAC;YAC/C,IAAI,SAAS,GAAG,CAAC,EAAE,CAAC;gBAClB,MAAM,IAAI,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC;YACrD,CAAC;YACD,QAAQ,CAAC,OAAO,EAAE,CAAC;YACnB,kEAAkE;YAClE,iCAAiC;YACjC,MAAM,IAAI,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;QAC5C,CAAC;KACF,CAAC;AACJ,CAAC"}
|
package/dist/splash.mp3
ADDED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kenkaiiii/gg-boss",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.123",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Orchestrator agent that drives multiple ggcoder sessions across projects from a single chat",
|
|
6
6
|
"license": "MIT",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"ink": "^7.0.2",
|
|
27
27
|
"react": "^19.2.5",
|
|
28
28
|
"zod": "^4.4.3",
|
|
29
|
-
"@kenkaiiii/ggcoder": "4.3.99",
|
|
30
29
|
"@kenkaiiii/gg-agent": "4.3.96",
|
|
31
|
-
"@kenkaiiii/gg-ai": "4.3.96"
|
|
30
|
+
"@kenkaiiii/gg-ai": "4.3.96",
|
|
31
|
+
"@kenkaiiii/ggcoder": "4.3.99"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/node": "^25.6.0",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
|
-
"build": "tsc",
|
|
43
|
+
"build": "tsc && cp assets/splash.mp3 dist/splash.mp3",
|
|
44
44
|
"check": "tsc --noEmit",
|
|
45
45
|
"test": "vitest run"
|
|
46
46
|
}
|