@double_geste/agent-standup 1.37.0 → 1.39.0
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/README.md +2 -2
- package/bin/agent-standup.js +5 -3
- package/kokoro.js +2 -1
- package/package.json +1 -1
- package/public/index.html +247 -96
- package/public/locales/da.json +48 -10
- package/public/locales/de.json +48 -10
- package/public/locales/en.json +47 -9
- package/public/locales/es.json +48 -10
- package/public/locales/ja.json +48 -10
- package/public/locales/ko.json +48 -10
- package/public/locales/pt-BR.json +48 -10
- package/public/locales/zh-CN.json +48 -10
- package/public/locales/zh-TW.json +48 -10
- package/server.js +53 -12
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Agent Standup (command line)
|
|
2
2
|
|
|
3
|
-
Your Claude Code, Codex and Mistral Vibe sessions as a live team call, without any editor. Free, MIT, and it never calls Claude: it
|
|
3
|
+
Your Claude Code, Codex and Mistral Vibe sessions as a live team call, without any editor. Free, MIT, and by default it never calls Claude: it reads the session files Claude Code, Codex, Mistral Vibe and Cowork already write, and calls Claude only to translate a call held in French, Spanish or Brazilian Portuguese, or for the optional jokes.
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
6
|
npx @double_geste/agent-standup # then open http://localhost:4747 (add --open to open it for you)
|
|
7
|
-
npx @double_geste/agent-standup status #
|
|
7
|
+
npx @double_geste/agent-standup status # ✋ 1 needs you · ⚙ 3 working
|
|
8
8
|
```
|
|
9
9
|
|
|
10
10
|
Install once for status bars (faster than npx): `npm i -g @double_geste/agent-standup`
|
package/bin/agent-standup.js
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
// agent-standup [serve] [--port 4747] [--open] start the local server and (optionally) open the page
|
|
4
4
|
// agent-standup status [--here] [--json] counts of working / needs you / your turn
|
|
5
5
|
// agent-standup statusline same, one short line; reads Claude Code's statusLine JSON on stdin
|
|
6
|
-
// Everything reads the local session files Claude Code already writes. Nothing is sent anywhere unless
|
|
6
|
+
// Everything reads the local session files Claude Code already writes. Nothing is sent anywhere unless the call is in French, Spanish or Brazilian Portuguese or you turn on the jokes (they use your own Claude login or ANTHROPIC_API_KEY).
|
|
7
7
|
const path = require('path'), { spawn } = require('child_process');
|
|
8
8
|
const pkg = require('../package.json');
|
|
9
9
|
const argv = process.argv.slice(2), flags = {}, rest = [];
|
|
10
10
|
for (let i = 0; i < argv.length; i++) {
|
|
11
11
|
const a = argv[i], val = () => argv[++i];
|
|
12
12
|
if (a === '--port') flags.port = val(); else if (a === '--projects') flags.projects = val(); else if (a === '--codex') flags.codex = val(); else if (a === '--vibe') flags.vibe = val(); else if (a === '--cowork') flags.cowork = val(); else if (a === '--characters') flags.characters = val(); else if (a === '--config-dir') flags.config = val();
|
|
13
|
-
else if (a === '--open') flags.open = true; else if (a === '--here') flags.here = true; else if (a === '--json') flags.json = true; else if (a === '--titles') flags.titles = true;
|
|
13
|
+
else if (a === '--from') flags.from = val(); else if (a === '--open') flags.open = true; else if (a === '--here') flags.here = true; else if (a === '--json') flags.json = true; else if (a === '--titles') flags.titles = true;
|
|
14
14
|
else if (a === '-h' || a === '--help') flags.help = true; else if (a === '-v' || a === '--version') flags.version = true; else rest.push(a);
|
|
15
15
|
}
|
|
16
16
|
const cmd = rest[0] || 'serve';
|
|
@@ -29,6 +29,8 @@ Options
|
|
|
29
29
|
--vibe DIR where Mistral Vibe keeps its files (default ~/.vibe, or $VIBE_HOME); "off" to leave Vibe sessions out
|
|
30
30
|
--cowork DIR where the Claude desktop app keeps its Cowork sessions (default: its local-agent-mode-sessions folder); "off" to leave them out
|
|
31
31
|
--characters DIR folder with your own pixel-art characters (default ~/.agent-standup/characters)
|
|
32
|
+
--from plugin how the Claude Code plugin starts it (its usage, if you agree to share it, is counted apart); also AGENT_STANDUP_FROM=plugin,
|
|
33
|
+
which older versions ignore instead of refusing
|
|
32
34
|
--here status: only sessions of the current folder (matched on its real path, as Claude Code names it)
|
|
33
35
|
--json status: machine-readable output (add --titles to include session titles)
|
|
34
36
|
`;
|
|
@@ -44,7 +46,7 @@ if (flags.port !== undefined) { // a real port number or nothing: no silent fa
|
|
|
44
46
|
if (!/^\d+$/.test(String(flags.port)) || +flags.port < 1 || +flags.port > 65535) { console.error(`Invalid --port "${flags.port}": use a number between 1 and 65535.`); process.exit(2); }
|
|
45
47
|
process.env.PORT = String(+flags.port);
|
|
46
48
|
}
|
|
47
|
-
process.env.AGENT_STANDUP_HOST = 'command line'; // named in a problem report (⚙ › Report a problem)
|
|
49
|
+
process.env.AGENT_STANDUP_HOST = (flags.from || process.env.AGENT_STANDUP_FROM) === 'plugin' ? 'claude code plugin' : 'command line'; // named in a problem report (⚙ › Report a problem), and what the usage count counts (--from plugin or AGENT_STANDUP_FROM=plugin: the Claude Code plugin's commands; the plugin uses the variable, since a version without --from refuses the flag)
|
|
48
50
|
const server = require('../server.js');
|
|
49
51
|
const projKey = (dir) => String(dir || '').replace(/[^a-zA-Z0-9]/g, '-'); // Claude Code's project folder naming
|
|
50
52
|
|
package/kokoro.js
CHANGED
|
@@ -45,7 +45,8 @@ function install() {
|
|
|
45
45
|
const npm = findNpm(); if (!npm) { lastError = 'npm not found'; return status(); }
|
|
46
46
|
fs.mkdirSync(DIR, { recursive: true }); lastError = '';
|
|
47
47
|
const out = fs.openSync(LOG, 'w'), args = ['install', '--prefix', DIR, '--no-audit', '--no-fund', PKG, G2P];
|
|
48
|
-
|
|
48
|
+
const env = { ...process.env }, pk = Object.keys(env).find((k) => k.toUpperCase() === 'PATH') || 'PATH'; env[pk] = path.dirname(npm) + path.delimiter + (env[pk] || ''); // npm starts with `#!/usr/bin/env node`: an editor or app opened from the Dock has a PATH without node's folder (exit 127, issue #11), and node sits next to npm
|
|
49
|
+
job = WIN && /\.(cmd|bat)$/i.test(npm) ? spawn('"' + npm + '"', args.map((a) => (a === DIR ? '"' + a + '"' : a)), { shell: true, env, stdio: ['ignore', out, out], windowsHide: true }) : spawn(npm, args, { env, stdio: ['ignore', out, out], windowsHide: true });
|
|
49
50
|
const done = (why) => { job = null; try { fs.closeSync(out); } catch {} if (why) lastError = why; else warm(); };
|
|
50
51
|
job.on('error', (e) => done('npm: ' + e.message));
|
|
51
52
|
job.on('close', (code) => done(code === 0 && installed() ? '' : 'npm install failed (exit ' + code + ')'));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@double_geste/agent-standup",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.39.0",
|
|
4
4
|
"description": "Your Claude Code, Codex and Mistral Vibe agents as a live video call, from the terminal: a local page in your browser, plus one-line status for status bars. Free, open source, zero token cost.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"agent-standup": "bin/agent-standup.js"
|