pi-minimal 0.1.0 → 0.2.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/.github/dependabot.yml +11 -0
- package/.github/workflows/publish.yml +178 -14
- package/.github/workflows/release.yml +42 -0
- package/CHANGELOG.md +63 -0
- package/README.md +26 -1
- package/SECURITY.md +21 -0
- package/dist/activity.js +0 -3
- package/dist/cwd.js +92 -52
- package/dist/footer.js +26 -27
- package/dist/git-state.js +63 -0
- package/dist/index.js +48 -6
- package/dist/tool-rows.js +143 -12
- package/dist/tools.js +143 -77
- package/dist/transcript.js +50 -0
- package/dist/turn-rule.js +119 -0
- package/package.json +14 -3
- package/release-notes.md +30 -0
- package/src/activity.ts +0 -4
- package/src/cwd.ts +99 -51
- package/src/footer.ts +32 -32
- package/src/git-state.ts +71 -0
- package/src/index.ts +50 -6
- package/src/tool-rows.ts +170 -19
- package/src/tools.ts +156 -106
- package/src/transcript.ts +51 -0
- package/src/turn-rule.ts +135 -0
- package/test/activity.test.ts +4 -15
- package/test/footer.test.ts +38 -0
- package/test/git-state.test.ts +52 -0
- package/test/index.test.ts +40 -4
- package/test/package.test.ts +3 -2
- package/test/theme.test.ts +45 -0
- package/test/tool-rows.test.ts +109 -0
- package/test/tools.test.ts +49 -42
- package/test/transcript.test.ts +22 -0
- package/test/turn-rule.test.ts +33 -0
- package/themes/minimal-dark.json +84 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://pi.dev/schemas/theme.schema.json",
|
|
3
|
+
"name": "minimal-dark",
|
|
4
|
+
"appearance": "dark",
|
|
5
|
+
"vars": {
|
|
6
|
+
"bg": "okhsl(230 6% 11%)",
|
|
7
|
+
"panel": "okhsl(230 5% 17%)",
|
|
8
|
+
"text": "okhsl(234 3% 90%)",
|
|
9
|
+
"muted": "okhsl(229 6% 64%)",
|
|
10
|
+
"dim": "okhsl(229 7% 48%)",
|
|
11
|
+
"faint": "okhsl(230 6% 34%)",
|
|
12
|
+
"violet": "okhsl(295 50% 67%)",
|
|
13
|
+
"violetSoft": "okhsl(295 45% 74%)",
|
|
14
|
+
"blue": "okhsl(232 54% 67%)",
|
|
15
|
+
"green": "okhsl(159 59% 67%)",
|
|
16
|
+
"red": "okhsl(20 72% 67%)",
|
|
17
|
+
"yellow": "okhsl(83 88% 67%)",
|
|
18
|
+
"userBg": "okhsl(233 45% 27%)",
|
|
19
|
+
"errorBg": "okhsl(19 40% 19%)"
|
|
20
|
+
},
|
|
21
|
+
"colors": {
|
|
22
|
+
"accent": "violet",
|
|
23
|
+
"border": "okhsl(231 30% 45%)",
|
|
24
|
+
"borderAccent": "violet",
|
|
25
|
+
"borderMuted": "faint",
|
|
26
|
+
"success": "green",
|
|
27
|
+
"error": "red",
|
|
28
|
+
"warning": "yellow",
|
|
29
|
+
"muted": "muted",
|
|
30
|
+
"dim": "dim",
|
|
31
|
+
"text": "text",
|
|
32
|
+
"thinkingText": "okhsl(229 6% 52%)",
|
|
33
|
+
"selectedBg": "userBg",
|
|
34
|
+
"scrollbarTrack": "faint",
|
|
35
|
+
"scrollbarThumb": "dim",
|
|
36
|
+
"searchMatchBg": "okhsl(53 51% 24%)",
|
|
37
|
+
"searchMatchText": "text",
|
|
38
|
+
"userMessageBg": "userBg",
|
|
39
|
+
"userMessageText": "text",
|
|
40
|
+
"customMessageBg": "okhsl(295 30% 20%)",
|
|
41
|
+
"customMessageText": "muted",
|
|
42
|
+
"customMessageLabel": "violet",
|
|
43
|
+
"toolPendingBg": "panel",
|
|
44
|
+
"toolSuccessBg": "panel",
|
|
45
|
+
"toolErrorBg": "errorBg",
|
|
46
|
+
"toolTitle": "text",
|
|
47
|
+
"toolOutput": "dim",
|
|
48
|
+
"mdHeading": "violetSoft",
|
|
49
|
+
"mdLink": "blue",
|
|
50
|
+
"mdLinkUrl": "dim",
|
|
51
|
+
"mdCode": "violet",
|
|
52
|
+
"mdCodeBlock": "text",
|
|
53
|
+
"mdCodeBlockBorder": "bg",
|
|
54
|
+
"mdQuote": "muted",
|
|
55
|
+
"mdQuoteBorder": "faint",
|
|
56
|
+
"mdHr": "faint",
|
|
57
|
+
"mdListBullet": "dim",
|
|
58
|
+
"toolDiffAdded": "green",
|
|
59
|
+
"toolDiffRemoved": "red",
|
|
60
|
+
"toolDiffContext": "dim",
|
|
61
|
+
"syntaxComment": "dim",
|
|
62
|
+
"syntaxKeyword": "blue",
|
|
63
|
+
"syntaxFunction": "yellow",
|
|
64
|
+
"syntaxVariable": "okhsl(202 58% 70%)",
|
|
65
|
+
"syntaxString": "okhsl(52 67% 70%)",
|
|
66
|
+
"syntaxNumber": "green",
|
|
67
|
+
"syntaxType": "violet",
|
|
68
|
+
"syntaxOperator": "muted",
|
|
69
|
+
"syntaxPunctuation": "muted",
|
|
70
|
+
"thinkingOff": "okhsl(229 8% 49%)",
|
|
71
|
+
"thinkingMinimal": "okhsl(232 20% 52%)",
|
|
72
|
+
"thinkingLow": "okhsl(232 45% 54%)",
|
|
73
|
+
"thinkingMedium": "okhsl(263 59% 56%)",
|
|
74
|
+
"thinkingHigh": "okhsl(295 73% 59%)",
|
|
75
|
+
"thinkingXhigh": "okhsl(337 81% 61%)",
|
|
76
|
+
"thinkingMax": "okhsl(20 99% 63%)",
|
|
77
|
+
"bashMode": "okhsl(159 64% 65%)"
|
|
78
|
+
},
|
|
79
|
+
"export": {
|
|
80
|
+
"pageBg": "okhsl(230 6% 11%)",
|
|
81
|
+
"cardBg": "okhsl(230 5% 15%)",
|
|
82
|
+
"infoBg": "okhsl(53 51% 24%)"
|
|
83
|
+
}
|
|
84
|
+
}
|