aicodeman 1.42.0 → 1.43.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 +10 -10
- package/dist/claude-session-title.d.ts +6 -4
- package/dist/claude-session-title.d.ts.map +1 -1
- package/dist/claude-session-title.js +6 -4
- package/dist/claude-session-title.js.map +1 -1
- package/dist/config/cli-registry/patterns.d.ts +1 -1
- package/dist/config/cli-registry/patterns.d.ts.map +1 -1
- package/dist/config/cli-registry/patterns.js +3 -0
- package/dist/config/cli-registry/patterns.js.map +1 -1
- package/dist/config/cli-registry/schema.d.ts +1 -0
- package/dist/config/cli-registry/schema.d.ts.map +1 -1
- package/dist/config/cli-registry/schema.js +5 -3
- package/dist/config/cli-registry/schema.js.map +1 -1
- package/dist/config/cli-registry/stock.d.ts.map +1 -1
- package/dist/config/cli-registry/stock.js +255 -1
- package/dist/config/cli-registry/stock.js.map +1 -1
- package/dist/config/cli-registry/types.d.ts +11 -3
- package/dist/config/cli-registry/types.d.ts.map +1 -1
- package/dist/hooks-config.d.ts +9 -0
- package/dist/hooks-config.d.ts.map +1 -1
- package/dist/hooks-config.js +12 -0
- package/dist/hooks-config.js.map +1 -1
- package/dist/mcp-sync-targets.d.ts +6 -3
- package/dist/mcp-sync-targets.d.ts.map +1 -1
- package/dist/mcp-sync-targets.js +6 -3
- package/dist/mcp-sync-targets.js.map +1 -1
- package/dist/mux-interface.d.ts +7 -3
- package/dist/mux-interface.d.ts.map +1 -1
- package/dist/session-cli-registry-bridge.d.ts +2 -1
- package/dist/session-cli-registry-bridge.d.ts.map +1 -1
- package/dist/session-cli-registry-bridge.js.map +1 -1
- package/dist/session.d.ts +23 -8
- package/dist/session.d.ts.map +1 -1
- package/dist/session.js +38 -9
- package/dist/session.js.map +1 -1
- package/dist/tmux-manager.d.ts +3 -2
- package/dist/tmux-manager.d.ts.map +1 -1
- package/dist/tmux-manager.js +4 -2
- package/dist/tmux-manager.js.map +1 -1
- package/dist/types/session.d.ts +32 -4
- package/dist/types/session.d.ts.map +1 -1
- package/dist/types/session.js +2 -1
- package/dist/types/session.js.map +1 -1
- package/dist/utils/cli-installed-probes.d.ts +1 -1
- package/dist/utils/cli-installed-probes.d.ts.map +1 -1
- package/dist/utils/cli-installed-probes.js +4 -2
- package/dist/utils/cli-installed-probes.js.map +1 -1
- package/dist/utils/copilot-cli-resolver.d.ts +48 -0
- package/dist/utils/copilot-cli-resolver.d.ts.map +1 -0
- package/dist/utils/copilot-cli-resolver.js +112 -0
- package/dist/utils/copilot-cli-resolver.js.map +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/web/case-path.d.ts +4 -2
- package/dist/web/case-path.d.ts.map +1 -1
- package/dist/web/case-path.js +13 -4
- package/dist/web/case-path.js.map +1 -1
- package/dist/web/public/admin-ui.js.gz +0 -0
- package/dist/web/public/api-client.c9b1cddc.js.gz +0 -0
- package/dist/web/public/{app.f04bb2a5.js → app.ae50029a.js} +7 -7
- package/dist/web/public/app.ae50029a.js.br +0 -0
- package/dist/web/public/app.ae50029a.js.gz +0 -0
- package/dist/web/public/approvals-ui.js.gz +0 -0
- package/dist/web/public/{constants.12b0c247.js → constants.e5e588db.js} +156 -2
- package/dist/web/public/constants.e5e588db.js.br +0 -0
- package/dist/web/public/constants.e5e588db.js.gz +0 -0
- package/dist/web/public/cron-ui.js.gz +0 -0
- package/dist/web/public/entrance-animations.js.gz +0 -0
- package/dist/web/public/git-status-ui.js.gz +0 -0
- package/dist/web/public/home-sessions.js.gz +0 -0
- package/dist/web/public/host-wake-ui.js.gz +0 -0
- package/dist/web/public/i18n.8f291f06.js +2 -0
- package/dist/web/public/i18n.8f291f06.js.br +0 -0
- package/dist/web/public/i18n.8f291f06.js.gz +0 -0
- package/dist/web/public/{image-input.fcdcb46c.js → image-input.941386e7.js} +24 -14
- package/dist/web/public/image-input.941386e7.js.br +0 -0
- package/dist/web/public/image-input.941386e7.js.gz +0 -0
- package/dist/web/public/index.html +23 -14
- package/dist/web/public/index.html.br +0 -0
- package/dist/web/public/index.html.gz +0 -0
- package/dist/web/public/input-cjk.8bc46081.js.gz +0 -0
- package/dist/web/public/{keyboard-accessory.b42f539b.js → keyboard-accessory.c283e827.js} +28 -17
- package/dist/web/public/keyboard-accessory.c283e827.js.br +0 -0
- package/dist/web/public/keyboard-accessory.c283e827.js.gz +0 -0
- package/dist/web/public/mobile-handlers.0ef9c311.js.gz +0 -0
- package/dist/web/public/mobile-ime-preview.2dbaf262.js.gz +0 -0
- package/dist/web/public/mobile-overview.js +1 -0
- package/dist/web/public/mobile-overview.js.br +0 -0
- package/dist/web/public/mobile-overview.js.gz +0 -0
- package/dist/web/public/mobile.13514863.css +1 -0
- package/dist/web/public/mobile.13514863.css.br +0 -0
- package/dist/web/public/mobile.13514863.css.gz +0 -0
- package/dist/web/public/notification-manager.feb82c04.js.gz +0 -0
- package/dist/web/public/orchestrator-panel.js.gz +0 -0
- package/dist/web/public/{panels-ui.73ec0137.js → panels-ui.b7bfb9da.js} +6 -6
- package/dist/web/public/panels-ui.b7bfb9da.js.br +0 -0
- package/dist/web/public/panels-ui.b7bfb9da.js.gz +0 -0
- package/dist/web/public/ralph-panel.b350e2ef.js.gz +0 -0
- package/dist/web/public/ralph-wizard.b6c0dd19.js.gz +0 -0
- package/dist/web/public/readmymind-ui.js.gz +0 -0
- package/dist/web/public/reboot-restore-ui.js.gz +0 -0
- package/dist/web/public/respawn-ui.d7adcf6a.js.gz +0 -0
- package/dist/web/public/sanitize-html.e7147e76.js.gz +0 -0
- package/dist/web/public/security-notices.json +21 -0
- package/dist/web/public/session-lineage.js.gz +0 -0
- package/dist/web/public/{session-ui.d52ff6aa.js → session-ui.be076c88.js} +2 -2
- package/dist/web/public/session-ui.be076c88.js.br +0 -0
- package/dist/web/public/session-ui.be076c88.js.gz +0 -0
- package/dist/web/public/{settings-ui.3a22bd2a.js → settings-ui.fc4cc50a.js} +2 -2
- package/dist/web/public/settings-ui.fc4cc50a.js.br +0 -0
- package/dist/web/public/settings-ui.fc4cc50a.js.gz +0 -0
- package/dist/web/public/spreadsheet-preview-worker.js.gz +0 -0
- package/dist/web/public/spreadsheet-preview.75c751de.js.gz +0 -0
- package/dist/web/public/spreadsheet-xlsx-core.js.gz +0 -0
- package/dist/web/public/styles.dcfa907f.css +1 -0
- package/dist/web/public/styles.dcfa907f.css.br +0 -0
- package/dist/web/public/styles.dcfa907f.css.gz +0 -0
- package/dist/web/public/subagent-windows.07277a58.js.gz +0 -0
- package/dist/web/public/sw.js +2 -2
- package/dist/web/public/sw.js.br +0 -0
- package/dist/web/public/sw.js.gz +0 -0
- package/dist/web/public/tab-layout-browser.2d6189f7.js.gz +0 -0
- package/dist/web/public/tab-rail-resize.7157e0bd.js.gz +0 -0
- package/dist/web/public/terminal-keycode229-recovery.af09f99a.js.gz +0 -0
- package/dist/web/public/terminal-split.js.gz +0 -0
- package/dist/web/public/terminal-tile.js.gz +0 -0
- package/dist/web/public/{terminal-ui.0a7ccc29.js → terminal-ui.ae01a7d1.js} +2 -2
- package/dist/web/public/terminal-ui.ae01a7d1.js.br +0 -0
- package/dist/web/public/terminal-ui.ae01a7d1.js.gz +0 -0
- package/dist/web/public/tile-grid.js +3 -6
- package/dist/web/public/tile-grid.js.br +0 -0
- package/dist/web/public/tile-grid.js.gz +0 -0
- package/dist/web/public/ultracode-panel.js.gz +0 -0
- package/dist/web/public/ultracode-windows.js.gz +0 -0
- package/dist/web/public/vendor/dompurify.min.js.gz +0 -0
- package/dist/web/public/vendor/exceljs.min.js.gz +0 -0
- package/dist/web/public/vendor/fflate.min.js.gz +0 -0
- package/dist/web/public/vendor/marked.min.js.gz +0 -0
- package/dist/web/public/vendor/xterm-addon-fit.min.js.gz +0 -0
- package/dist/web/public/vendor/xterm-addon-serialize.min.js.gz +0 -0
- package/dist/web/public/vendor/xterm-addon-unicode11.min.js.gz +0 -0
- package/dist/web/public/vendor/xterm-addon-webgl.min.js.gz +0 -0
- package/dist/web/public/vendor/xterm-predictive-echo.ae5e3d5d.js.gz +0 -0
- package/dist/web/public/vendor/xterm-zerolag-input.0b69623c.js.gz +0 -0
- package/dist/web/public/vendor/xterm.css.gz +0 -0
- package/dist/web/public/vendor/xterm.min.js.gz +0 -0
- package/dist/web/public/voice-input.2342c37b.js.gz +0 -0
- package/dist/web/public/voice-pcm-worklet.js.gz +0 -0
- package/dist/web/public/webview-tabs.js.gz +0 -0
- package/dist/web/public/whats-new.json +9 -9
- package/dist/web/response-viewer-transcript.d.ts +6 -0
- package/dist/web/response-viewer-transcript.d.ts.map +1 -1
- package/dist/web/response-viewer-transcript.js +134 -1
- package/dist/web/response-viewer-transcript.js.map +1 -1
- package/dist/web/routes/mcp-sync-routes.d.ts +4 -4
- package/dist/web/routes/mcp-sync-routes.js +4 -4
- package/dist/web/routes/session-routes.d.ts +12 -2
- package/dist/web/routes/session-routes.d.ts.map +1 -1
- package/dist/web/routes/session-routes.js +45 -15
- package/dist/web/routes/session-routes.js.map +1 -1
- package/dist/web/routes/system-routes.d.ts.map +1 -1
- package/dist/web/routes/system-routes.js +11 -0
- package/dist/web/routes/system-routes.js.map +1 -1
- package/dist/web/schemas.d.ts +13 -0
- package/dist/web/schemas.d.ts.map +1 -1
- package/dist/web/schemas.js +33 -2
- package/dist/web/schemas.js.map +1 -1
- package/dist/web/server.d.ts.map +1 -1
- package/dist/web/server.js +11 -1
- package/dist/web/server.js.map +1 -1
- package/package.json +1 -1
- package/skills/codeman/SKILL.md +3 -2
- package/skills/codeman/reference/endpoints.md +8 -8
- package/skills/codeman/reference/messaging.md +5 -5
- package/skills/codeman/reference/recipes.md +1 -1
- package/skills/codeman/reference/verbs.md +4 -4
- package/dist/web/public/app.f04bb2a5.js.br +0 -0
- package/dist/web/public/app.f04bb2a5.js.gz +0 -0
- package/dist/web/public/constants.12b0c247.js.br +0 -0
- package/dist/web/public/constants.12b0c247.js.gz +0 -0
- package/dist/web/public/i18n.06659676.js +0 -2
- package/dist/web/public/i18n.06659676.js.br +0 -0
- package/dist/web/public/i18n.06659676.js.gz +0 -0
- package/dist/web/public/image-input.fcdcb46c.js.br +0 -0
- package/dist/web/public/image-input.fcdcb46c.js.gz +0 -0
- package/dist/web/public/keyboard-accessory.b42f539b.js.br +0 -0
- package/dist/web/public/keyboard-accessory.b42f539b.js.gz +0 -0
- package/dist/web/public/mobile.2dff1580.css +0 -1
- package/dist/web/public/mobile.2dff1580.css.br +0 -0
- package/dist/web/public/mobile.2dff1580.css.gz +0 -0
- package/dist/web/public/panels-ui.73ec0137.js.br +0 -0
- package/dist/web/public/panels-ui.73ec0137.js.gz +0 -0
- package/dist/web/public/session-ui.d52ff6aa.js.br +0 -0
- package/dist/web/public/session-ui.d52ff6aa.js.gz +0 -0
- package/dist/web/public/settings-ui.3a22bd2a.js.br +0 -0
- package/dist/web/public/settings-ui.3a22bd2a.js.gz +0 -0
- package/dist/web/public/styles.ba6a9b84.css +0 -1
- package/dist/web/public/styles.ba6a9b84.css.br +0 -0
- package/dist/web/public/styles.ba6a9b84.css.gz +0 -0
- package/dist/web/public/terminal-ui.0a7ccc29.js.br +0 -0
- package/dist/web/public/terminal-ui.0a7ccc29.js.gz +0 -0
package/dist/session.js
CHANGED
|
@@ -341,6 +341,8 @@ export class Session extends EventEmitter {
|
|
|
341
341
|
_taskCache = new SessionTaskCache();
|
|
342
342
|
_name;
|
|
343
343
|
_nameSource;
|
|
344
|
+
/** `pinCliSessionName` as of the last spawn (see {@link _refreshCliNamePin}). */
|
|
345
|
+
_pinEveryCliName = false;
|
|
344
346
|
/**
|
|
345
347
|
* Reconstructs the composer draft from USER keystrokes so the first real
|
|
346
348
|
* prompt can name the tab. Fed only when a write says `fromUser`, and never
|
|
@@ -573,6 +575,8 @@ export class Session extends EventEmitter {
|
|
|
573
575
|
_piConfig;
|
|
574
576
|
// Grok configuration (only for mode === 'grok')
|
|
575
577
|
_grokConfig;
|
|
578
|
+
// GitHub Copilot configuration (only for mode === 'copilot')
|
|
579
|
+
_copilotConfig;
|
|
576
580
|
// DeepSeek Harness configuration (only for mode === 'deepseek')
|
|
577
581
|
_deepSeekConfig;
|
|
578
582
|
// OMP configuration (only for mode === 'omp')
|
|
@@ -741,6 +745,10 @@ export class Session extends EventEmitter {
|
|
|
741
745
|
if (config.grokConfig) {
|
|
742
746
|
this._grokConfig = config.grokConfig;
|
|
743
747
|
}
|
|
748
|
+
// Apply GitHub Copilot configuration
|
|
749
|
+
if (config.copilotConfig) {
|
|
750
|
+
this._copilotConfig = config.copilotConfig;
|
|
751
|
+
}
|
|
744
752
|
// Apply env overrides (exported at spawn, not persisted to disk).
|
|
745
753
|
// Legacy migration: pre-0.7.2 carried effort as the CLAUDE_CODE_EFFORT_LEVEL env var,
|
|
746
754
|
// which hard-locks /effort switching. Extract it into _effort (--settings soft default)
|
|
@@ -1434,16 +1442,31 @@ export class Session extends EventEmitter {
|
|
|
1434
1442
|
return this._nameSource;
|
|
1435
1443
|
}
|
|
1436
1444
|
/**
|
|
1437
|
-
* The name to pin on the Claude CLI as `--name`, or undefined to let Claude
|
|
1438
|
-
*
|
|
1439
|
-
*
|
|
1440
|
-
*
|
|
1441
|
-
*
|
|
1442
|
-
* in a case the same `/resume` entry
|
|
1443
|
-
* prompt, which Claude's
|
|
1445
|
+
* The name to pin on the Claude CLI as `--name`, or undefined to let Claude title the
|
|
1446
|
+
* conversation itself. `--name` is the prompt-box label, the `/resume` picker entry and the
|
|
1447
|
+
* terminal title all at once, and a pinned title stops Claude generating its own.
|
|
1448
|
+
*
|
|
1449
|
+
* By default only a name the user chose is pinned. Pinning the `w1-myapp` placeholder gave
|
|
1450
|
+
* every conversation in a case the same `/resume` entry (the tab number restarts once a
|
|
1451
|
+
* case's tabs are closed), and an auto name is a cut of the first prompt, which Claude's
|
|
1452
|
+
* own generated title already beats.
|
|
1453
|
+
*
|
|
1454
|
+
* With the opt-in `pinCliSessionName` setting every non-blank tab name is pinned, so the
|
|
1455
|
+
* CLI's labels read the same as the tabs, at the cost of those generated titles. A rename
|
|
1456
|
+
* in Codeman then holds only until the next turn: a process started with `--name`
|
|
1457
|
+
* re-appends its in-memory title (see claude-session-title.ts). The setting is re-read
|
|
1458
|
+
* at each spawn and respawn by {@link _refreshCliNamePin}.
|
|
1444
1459
|
*/
|
|
1445
1460
|
get cliPinnedName() {
|
|
1446
|
-
|
|
1461
|
+
if (!this._pinEveryCliName)
|
|
1462
|
+
return this._nameSource === 'manual' ? this._name : undefined;
|
|
1463
|
+
return this._name.trim() ? this._name : undefined;
|
|
1464
|
+
}
|
|
1465
|
+
/** Re-read `pinCliSessionName` so `cliPinnedName` decides per launch, with no server restart. */
|
|
1466
|
+
async _refreshCliNamePin() {
|
|
1467
|
+
// Dynamic: hooks-config -> route-helpers imports Session, so a static import would be a cycle.
|
|
1468
|
+
const { readPinCliSessionNameEnabled } = await import('./hooks-config.js');
|
|
1469
|
+
this._pinEveryCliName = await readPinCliSessionNameEnabled();
|
|
1447
1470
|
}
|
|
1448
1471
|
setAutoClear(enabled, threshold) {
|
|
1449
1472
|
this._autoOps.setAutoClear(enabled, threshold);
|
|
@@ -1612,6 +1635,7 @@ export class Session extends EventEmitter {
|
|
|
1612
1635
|
antigravityConfig: this._antigravityConfig,
|
|
1613
1636
|
piConfig: this._piConfig,
|
|
1614
1637
|
grokConfig: this._grokConfig,
|
|
1638
|
+
copilotConfig: this._copilotConfig,
|
|
1615
1639
|
deepSeekConfig: this._deepSeekConfig,
|
|
1616
1640
|
ompConfig: this._ompConfig,
|
|
1617
1641
|
resumeSessionId: this._resumeSessionId,
|
|
@@ -1963,6 +1987,7 @@ export class Session extends EventEmitter {
|
|
|
1963
1987
|
antigravityConfig: this._antigravityConfig,
|
|
1964
1988
|
piConfig: this._piConfig,
|
|
1965
1989
|
grokConfig: this._grokConfig,
|
|
1990
|
+
copilotConfig: this._copilotConfig,
|
|
1966
1991
|
deepSeekConfig: this._deepSeekConfig,
|
|
1967
1992
|
// OMP resolution/pinning does NOT happen here. This object is built
|
|
1968
1993
|
// EAGERLY — including on every boot-recovery reattach, before anyone
|
|
@@ -2056,6 +2081,7 @@ export class Session extends EventEmitter {
|
|
|
2056
2081
|
* still inside it and renders no local `--session-id` to collide.
|
|
2057
2082
|
*/
|
|
2058
2083
|
async _buildRespawnPaneOptionsWithResumePin() {
|
|
2084
|
+
await this._refreshCliNamePin();
|
|
2059
2085
|
const options = this._buildRespawnPaneOptions();
|
|
2060
2086
|
if (this._remote || this._docker)
|
|
2061
2087
|
return options;
|
|
@@ -2320,6 +2346,7 @@ export class Session extends EventEmitter {
|
|
|
2320
2346
|
if (this._closing) {
|
|
2321
2347
|
throw new Error('Session is being closed');
|
|
2322
2348
|
}
|
|
2349
|
+
await this._refreshCliNamePin();
|
|
2323
2350
|
// Bounds the workspace-trust scan (see _maybeAcceptTrustDialog). Stamped here
|
|
2324
2351
|
// rather than at PTY spawn so a slow mux attach still counts as startup.
|
|
2325
2352
|
this._interactiveStartedAt = Date.now();
|
|
@@ -2439,6 +2466,7 @@ export class Session extends EventEmitter {
|
|
|
2439
2466
|
antigravityConfig: this._antigravityConfig,
|
|
2440
2467
|
piConfig: this._piConfig,
|
|
2441
2468
|
grokConfig: this._grokConfig,
|
|
2469
|
+
copilotConfig: this._copilotConfig,
|
|
2442
2470
|
deepSeekConfig: this._deepSeekConfig,
|
|
2443
2471
|
ompConfig: this._ompConfig,
|
|
2444
2472
|
resumeSessionId: this._resumeSessionId,
|
|
@@ -2977,6 +3005,7 @@ export class Session extends EventEmitter {
|
|
|
2977
3005
|
antigravityConfig: this._antigravityConfig,
|
|
2978
3006
|
piConfig: this._piConfig,
|
|
2979
3007
|
grokConfig: this._grokConfig,
|
|
3008
|
+
copilotConfig: this._copilotConfig,
|
|
2980
3009
|
deepSeekConfig: this._deepSeekConfig,
|
|
2981
3010
|
ompConfig: this._ompConfig,
|
|
2982
3011
|
};
|
|
@@ -4222,7 +4251,7 @@ export class Session extends EventEmitter {
|
|
|
4222
4251
|
: this._mux.capturePaneText?.(this._muxSession.muxName),
|
|
4223
4252
|
sendEnter: () => this._mux?.sendInput(this.id, '\r'),
|
|
4224
4253
|
// ⚠ NO fallback glyph here, unlike the screen-reading probe elsewhere in this file.
|
|
4225
|
-
// Only claude, codex, pi, opencode, omp and
|
|
4254
|
+
// Only claude, codex, pi, opencode, omp, gemini and antigravity declare a promptGlyph; the other modes would fall back
|
|
4226
4255
|
// to claude's `❯`, which is ALSO starship's default shell prompt (and pure's, and
|
|
4227
4256
|
// spaceship's, and p10k lean's). On a shell session the line `❯ npm run build` sits
|
|
4228
4257
|
// on screen for as long as the command runs, promptStillInComposer() reads that as
|