ai-battery 0.1.19 → 0.1.21
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/LICENSE +21 -21
- package/README.md +369 -365
- package/bin/ai-battery-hud +0 -0
- package/bin/ai-battery-hud.js +0 -0
- package/bin/ai-battery-hud.ps1 +2 -2
- package/bin/ai-battery-run +80 -16
- package/bin/ai-battery-run-win.js +0 -0
- package/bin/ai-battery.js +0 -0
- package/bin/codex-wrapper-win.cjs +167 -167
- package/docs/RELEASING.md +64 -60
- package/docs/claude-statusline-preview.svg +37 -37
- package/docs/terminal-preview.svg +44 -44
- package/lib/cli.js +22 -10
- package/lib/platforms/process-scanner.js +7 -4
- package/lib/platforms/windows/codex-runner.js +62 -8
- package/lib/platforms/windows/hud/controls.ps1 +403 -403
- package/lib/platforms/windows/hud/dock.ps1 +731 -731
- package/lib/platforms/windows/hud/main.ps1 +1277 -1277
- package/lib/platforms/windows/hud/native.ps1 +169 -169
- package/lib/platforms/windows/hud/rendering.ps1 +382 -382
- package/lib/platforms/windows/hud/snapshot.ps1 +358 -358
- package/lib/platforms/windows/hud/windowing.ps1 +331 -331
- package/lib/platforms/windows/path-integration.js +14 -10
- package/package.json +75 -75
- package/scripts/windows-rowpty-smoke.ps1 +766 -766
- package/scripts/wsl-windows-rowpty-smoke.sh +0 -0
- package/vendor/rowpty/RowPty.cs +2668 -2668
- package/lib/README.md +0 -20
package/lib/README.md
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# Internal module layout
|
|
2
|
-
|
|
3
|
-
The bin directory contains stable executable entrypoints only. Runtime
|
|
4
|
-
implementation belongs under lib:
|
|
5
|
-
|
|
6
|
-
- core: provider-independent usage normalization and terminal formatting.
|
|
7
|
-
- hud: desktop HUD dispatch and shared snapshot prefetch.
|
|
8
|
-
- platforms/runtime.js: cross-platform environment detection helpers.
|
|
9
|
-
- platforms/process-scanner.js: Windows, WSL, macOS, and Linux process scans.
|
|
10
|
-
- platforms/macos: macOS menu bar integration.
|
|
11
|
-
- platforms/windows: Windows Codex runner, compositor, PATH integration, and
|
|
12
|
-
HUD launcher.
|
|
13
|
-
- platforms/windows/hud: WinForms modules. dock.ps1 owns terminal attachment
|
|
14
|
-
and AppBar behavior; windowing.ps1 owns desktop placement; snapshot.ps1 owns
|
|
15
|
-
refresh; rendering.ps1 and controls.ps1 own UI drawing and updates;
|
|
16
|
-
native.ps1 contains Win32 interop.
|
|
17
|
-
|
|
18
|
-
Keep public command paths and test imports pointed at bin. Those entrypoints
|
|
19
|
-
re-export implementation APIs so internal modules can move without breaking
|
|
20
|
-
installed commands or downstream imports.
|