@hasna/statusline 0.0.1 → 0.0.3
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 +266 -22
- package/dist/accounts.d.ts +50 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +1303 -0
- package/dist/config.d.ts +11 -0
- package/dist/context-window.d.ts +14 -0
- package/dist/format.d.ts +4 -0
- package/dist/git.d.ts +6 -0
- package/dist/index.d.ts +34 -0
- package/dist/index.js +920 -0
- package/dist/install.d.ts +16 -0
- package/dist/mcp/index.d.ts +4 -0
- package/dist/mcp/index.js +20591 -0
- package/dist/providers/claude.d.ts +7 -0
- package/dist/providers/types.d.ts +47 -0
- package/dist/render.d.ts +4 -0
- package/dist/segments/index.d.ts +3 -0
- package/package.json +34 -4
- package/src/config.ts +0 -53
- package/src/context-window.ts +0 -51
- package/src/format.ts +0 -36
- package/src/git.ts +0 -55
- package/src/index.ts +0 -143
- package/src/install.ts +0 -20
- package/src/providers/claude.ts +0 -35
- package/src/providers/types.ts +0 -23
- package/src/render.ts +0 -19
- package/src/segments/index.ts +0 -187
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Settings file the running agent actually reads. When a session is bound to
|
|
3
|
+
* an isolated config dir (multi-account setups export `CLAUDE_CONFIG_DIR`),
|
|
4
|
+
* `~/.claude/settings.json` is never loaded — installing there wires up a
|
|
5
|
+
* statusline that silently never runs.
|
|
6
|
+
*/
|
|
7
|
+
export declare function claudeSettingsPath(env?: Record<string, string | undefined>): string;
|
|
8
|
+
/**
|
|
9
|
+
* Wire the statusline into Claude Code's user settings. Existing settings
|
|
10
|
+
* are preserved; the previous file is backed up alongside it.
|
|
11
|
+
*
|
|
12
|
+
* `env` resolves the default target and decides whether a missing dir may be
|
|
13
|
+
* created; pass the same object you would pass to `claudeSettingsPath()` so a
|
|
14
|
+
* caller driving several profiles is not steered by its own shell.
|
|
15
|
+
*/
|
|
16
|
+
export declare function installClaude(settingsPath?: string, env?: Record<string, string | undefined>): string;
|