@narumitw/pi-starship 0.49.4 → 0.50.1
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/NOTICES.md +4 -2
- package/README.md +60 -12
- package/package.json +7 -4
- package/src/command-inspector.ts +19 -176
- package/src/command-preset-picker.ts +203 -0
- package/src/commands.ts +269 -57
- package/src/pi-starship.ts +12 -2
- package/src/presets/bracketed-segments.ts +45 -0
- package/src/presets/catalog.ts +138 -0
- package/src/presets/catppuccin-powerline.ts +90 -0
- package/src/presets/gruvbox-rainbow.ts +66 -0
- package/src/presets/jetpack.ts +51 -0
- package/src/presets/minimal.ts +23 -0
- package/src/presets/nerd-font-symbols.ts +27 -0
- package/src/presets/no-empty-icons.ts +47 -0
- package/src/presets/no-nerd-font.ts +51 -0
- package/src/presets/no-runtime-versions.ts +52 -0
- package/src/presets/pastel-powerline.ts +53 -0
- package/src/presets/plain-text-symbols.ts +52 -0
- package/src/presets/pure-preset.ts +55 -0
- package/src/presets/tokyo-night.ts +53 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export const PURE_PRESET = `# Pi-native adaptation of Starship's Pure preset.
|
|
2
|
+
format = "$directory$git_branch$git_state$git_status$activity\\n$model$thinking$context$fill$time"
|
|
3
|
+
|
|
4
|
+
[directory]
|
|
5
|
+
format = "[$path]($style) "
|
|
6
|
+
symbol = ""
|
|
7
|
+
style = "blue"
|
|
8
|
+
|
|
9
|
+
[git_branch]
|
|
10
|
+
format = "[$branch]($style) "
|
|
11
|
+
symbol = ""
|
|
12
|
+
style = "bright-black"
|
|
13
|
+
|
|
14
|
+
[git_state]
|
|
15
|
+
format = '([($state( $progress_current/$progress_total))]($style) )'
|
|
16
|
+
symbol = ""
|
|
17
|
+
style = "bright-black"
|
|
18
|
+
|
|
19
|
+
[git_status]
|
|
20
|
+
format = "[(*$all_status)](218) [$ahead_behind]($style) "
|
|
21
|
+
style = "cyan"
|
|
22
|
+
|
|
23
|
+
[activity]
|
|
24
|
+
format = "[$text]($style) "
|
|
25
|
+
symbol = ""
|
|
26
|
+
style = "yellow"
|
|
27
|
+
|
|
28
|
+
[model]
|
|
29
|
+
format = "[$model]($style) "
|
|
30
|
+
symbol = ""
|
|
31
|
+
style = "bright-black"
|
|
32
|
+
|
|
33
|
+
[thinking]
|
|
34
|
+
format = "[$level]($style) "
|
|
35
|
+
symbol = ""
|
|
36
|
+
style = "bright-black"
|
|
37
|
+
|
|
38
|
+
[context]
|
|
39
|
+
format = "[$percentage]($style)"
|
|
40
|
+
symbol = ""
|
|
41
|
+
|
|
42
|
+
[[context.display]]
|
|
43
|
+
threshold = 0
|
|
44
|
+
style = "bright-black"
|
|
45
|
+
hidden = false
|
|
46
|
+
|
|
47
|
+
[fill]
|
|
48
|
+
symbol = " "
|
|
49
|
+
style = "none"
|
|
50
|
+
|
|
51
|
+
[time]
|
|
52
|
+
format = "[$time]($style)"
|
|
53
|
+
symbol = ""
|
|
54
|
+
style = "bright-black"
|
|
55
|
+
`;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export const TOKYO_NIGHT_PRESET = `# Pi-native adaptation of Starship's Tokyo Night preset.
|
|
2
|
+
format = "[░▒▓](#a3aed2)$brand$model[](bg:#769ff0 fg:#a3aed2)$directory[](fg:#769ff0 bg:#394260)$git_branch$git_status[](fg:#394260 bg:#212736)$thinking$activity[](fg:#212736 bg:#1d2230)$context$time[](fg:#1d2230)"
|
|
3
|
+
|
|
4
|
+
[brand]
|
|
5
|
+
format = "[ $symbol ]($style)"
|
|
6
|
+
symbol = ""
|
|
7
|
+
style = "fg:#090c0c bg:#a3aed2 bold"
|
|
8
|
+
|
|
9
|
+
[model]
|
|
10
|
+
format = "[$model ]($style)"
|
|
11
|
+
symbol = ""
|
|
12
|
+
style = "fg:#090c0c bg:#a3aed2 bold"
|
|
13
|
+
|
|
14
|
+
[directory]
|
|
15
|
+
format = "[ $path ]($style)"
|
|
16
|
+
symbol = ""
|
|
17
|
+
style = "fg:#e3e5e5 bg:#769ff0 bold"
|
|
18
|
+
truncation_length = 3
|
|
19
|
+
truncation_symbol = "…/"
|
|
20
|
+
|
|
21
|
+
[git_branch]
|
|
22
|
+
format = "[ $symbol $branch ]($style)"
|
|
23
|
+
symbol = ""
|
|
24
|
+
style = "fg:#769ff0 bg:#394260 bold"
|
|
25
|
+
|
|
26
|
+
[git_status]
|
|
27
|
+
format = "[$all_status$ahead_behind ]($style)"
|
|
28
|
+
style = "fg:#769ff0 bg:#394260 bold"
|
|
29
|
+
|
|
30
|
+
[thinking]
|
|
31
|
+
format = "[ $symbol $level ]($style)"
|
|
32
|
+
symbol = ""
|
|
33
|
+
style = "fg:#769ff0 bg:#212736 bold"
|
|
34
|
+
|
|
35
|
+
[activity]
|
|
36
|
+
format = "[ $text ]($style)"
|
|
37
|
+
symbol = ""
|
|
38
|
+
style = "fg:#769ff0 bg:#212736 bold"
|
|
39
|
+
|
|
40
|
+
[context]
|
|
41
|
+
format = "[ $symbol $percentage ](fg:#a0a9cb bg:#1d2230 bold)"
|
|
42
|
+
symbol = ""
|
|
43
|
+
|
|
44
|
+
[[context.display]]
|
|
45
|
+
threshold = 0
|
|
46
|
+
style = "#1d2230"
|
|
47
|
+
hidden = false
|
|
48
|
+
|
|
49
|
+
[time]
|
|
50
|
+
format = "[ $time ]($style)"
|
|
51
|
+
symbol = ""
|
|
52
|
+
style = "fg:#a0a9cb bg:#1d2230 bold"
|
|
53
|
+
`;
|