@quandev104/pi-style 0.1.4 → 0.1.5

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.
Files changed (33) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/README.md +8 -4
  3. package/dist/extensions/pi-style.js +3789 -1278
  4. package/dist/extensions/pi-style.js.map +1 -1
  5. package/extension-src/pi-style/app/command-service.ts +2 -0
  6. package/extension-src/pi-style/domain/config-normalization.ts +21 -5
  7. package/extension-src/pi-style/domain/config-presets.ts +1 -1
  8. package/extension-src/pi-style/domain/config-types.ts +7 -3
  9. package/extension-src/pi-style/domain/theme.ts +6 -1
  10. package/extension-src/pi-style/features/editor/index.ts +169 -27
  11. package/extension-src/pi-style/features/messages/index.ts +66 -0
  12. package/extension-src/pi-style/features/tools/bash-execution.ts +112 -0
  13. package/extension-src/pi-style/features/tools/boxed/bash.ts +154 -130
  14. package/extension-src/pi-style/features/tools/boxed/batch.ts +50 -27
  15. package/extension-src/pi-style/features/tools/boxed/command-shape.ts +136 -0
  16. package/extension-src/pi-style/features/tools/boxed/find.ts +2 -2
  17. package/extension-src/pi-style/features/tools/boxed/gh.ts +1012 -0
  18. package/extension-src/pi-style/features/tools/boxed/git.ts +1960 -0
  19. package/extension-src/pi-style/features/tools/boxed/grep.ts +2 -2
  20. package/extension-src/pi-style/features/tools/boxed/output-tree.ts +9 -10
  21. package/extension-src/pi-style/features/tools/boxed/read.ts +3 -3
  22. package/extension-src/pi-style/features/tools/boxed/write.ts +2 -1
  23. package/extension-src/pi-style/pi/compatibility-coordinator.ts +17 -0
  24. package/extension-src/pi-style/pi/compatibility-probe.ts +104 -10
  25. package/extension-src/pi-style/pi/compatibility-registry.ts +19 -3
  26. package/extension-src/pi-style/pi/index.ts +18 -1
  27. package/extension-src/pi-style/pi/session-coordinator.ts +24 -0
  28. package/extension-src/pi-style/shared/box.ts +8 -4
  29. package/extension-src/pi-style/shared/split-diff.ts +9 -9
  30. package/package.json +1 -1
  31. package/themes/titanium-light.json +82 -0
  32. package/themes/titanium.json +79 -0
  33. package/themes/.gitkeep +0 -0
@@ -0,0 +1,82 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/earendil-works/pi/main/packages/coding-agent/src/modes/interactive/theme/theme-schema.json",
3
+ "name": "titanium-light",
4
+ "vars": {
5
+ "teal": "#5a8080",
6
+ "blue": "#547da7",
7
+ "green": "#588458",
8
+ "red": "#aa5555",
9
+ "yellow": "#9a7326",
10
+ "mediumGray": "#6c6c6c",
11
+ "dimGray": "#767676",
12
+ "lightGray": "#b0b0b0",
13
+ "selectedBg": "#d0d0e0",
14
+ "userMsgBg": "#e8e8e8",
15
+ "toolPendingBg": "#e8e8f0",
16
+ "toolSuccessBg": "#e8f0e8",
17
+ "toolErrorBg": "#f0e8e8",
18
+ "customMsgBg": "#ede7f6"
19
+ },
20
+ "colors": {
21
+ "accent": "teal",
22
+ "border": "blue",
23
+ "borderAccent": "teal",
24
+ "borderMuted": "lightGray",
25
+ "success": "green",
26
+ "error": "red",
27
+ "warning": "yellow",
28
+ "muted": "mediumGray",
29
+ "dim": "dimGray",
30
+ "text": "",
31
+ "thinkingText": "mediumGray",
32
+
33
+ "selectedBg": "selectedBg",
34
+ "userMessageBg": "userMsgBg",
35
+ "userMessageText": "",
36
+ "customMessageBg": "customMsgBg",
37
+ "customMessageText": "",
38
+ "customMessageLabel": "#7e57c2",
39
+ "toolPendingBg": "toolPendingBg",
40
+ "toolSuccessBg": "toolSuccessBg",
41
+ "toolErrorBg": "toolErrorBg",
42
+ "toolTitle": "",
43
+ "toolOutput": "mediumGray",
44
+
45
+ "mdHeading": "yellow",
46
+ "mdLink": "blue",
47
+ "mdLinkUrl": "dimGray",
48
+ "mdCode": "teal",
49
+ "mdCodeBlock": "green",
50
+ "mdCodeBlockBorder": "mediumGray",
51
+ "mdQuote": "mediumGray",
52
+ "mdQuoteBorder": "mediumGray",
53
+ "mdHr": "mediumGray",
54
+ "mdListBullet": "green",
55
+
56
+ "toolDiffAdded": "green",
57
+ "toolDiffRemoved": "red",
58
+ "toolDiffContext": "mediumGray",
59
+ "syntaxComment": "#008000",
60
+ "syntaxKeyword": "#0000FF",
61
+ "syntaxFunction": "#795E26",
62
+ "syntaxVariable": "#001080",
63
+ "syntaxString": "#A31515",
64
+ "syntaxNumber": "#098658",
65
+ "syntaxType": "#267F99",
66
+ "syntaxOperator": "#000000",
67
+ "syntaxPunctuation": "#000000",
68
+
69
+ "thinkingOff": "lightGray",
70
+ "thinkingMinimal": "#767676",
71
+ "thinkingLow": "blue",
72
+ "thinkingMedium": "teal",
73
+ "thinkingHigh": "#875f87",
74
+ "thinkingXhigh": "#8b008b",
75
+ "bashMode": "green"
76
+ },
77
+ "export": {
78
+ "pageBg": "#f8f8f8",
79
+ "cardBg": "#ffffff",
80
+ "infoBg": "#fffae6"
81
+ }
82
+ }
@@ -0,0 +1,79 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/earendil-works/pi/main/packages/coding-agent/src/modes/interactive/theme/theme-schema.json",
3
+ "name": "titanium",
4
+ "vars": {
5
+ "brushedTitanium": "#151820",
6
+ "darkTitanium": "#0f1216",
7
+ "electricBlue": "#00b4ff",
8
+ "deepBlue": "#0082b3",
9
+ "titaniumGold": "#d4c090",
10
+ "brightAluminum": "#e8ecf4",
11
+ "dimAluminum": "#9ca3b0",
12
+ "warningAmber": "#ffb347",
13
+ "readoutGreen": "#00ff88",
14
+ "alertRed": "#ff4757",
15
+ "subtleGray": "#2a3038"
16
+ },
17
+ "colors": {
18
+ "accent": "electricBlue",
19
+ "border": "subtleGray",
20
+ "borderAccent": "electricBlue",
21
+ "borderMuted": "#1f252d",
22
+ "success": "readoutGreen",
23
+ "error": "alertRed",
24
+ "warning": "warningAmber",
25
+ "muted": "dimAluminum",
26
+ "dim": "#6b7280",
27
+ "text": "",
28
+ "thinkingText": "dimAluminum",
29
+
30
+ "selectedBg": "deepBlue",
31
+ "userMessageBg": "darkTitanium",
32
+ "userMessageText": "",
33
+ "customMessageBg": "subtleGray",
34
+ "customMessageText": "",
35
+ "customMessageLabel": "titaniumGold",
36
+ "toolPendingBg": "darkTitanium",
37
+ "toolSuccessBg": "darkTitanium",
38
+ "toolErrorBg": "#1a0f10",
39
+ "toolTitle": "",
40
+ "toolOutput": "dimAluminum",
41
+
42
+ "mdHeading": "electricBlue",
43
+ "mdLink": "electricBlue",
44
+ "mdLinkUrl": "deepBlue",
45
+ "mdCode": "readoutGreen",
46
+ "mdCodeBlock": "dimAluminum",
47
+ "mdCodeBlockBorder": "subtleGray",
48
+ "mdQuote": "dimAluminum",
49
+ "mdQuoteBorder": "subtleGray",
50
+ "mdHr": "subtleGray",
51
+ "mdListBullet": "electricBlue",
52
+
53
+ "toolDiffAdded": "readoutGreen",
54
+ "toolDiffRemoved": "alertRed",
55
+ "toolDiffContext": "dimAluminum",
56
+ "syntaxComment": "#6b7280",
57
+ "syntaxKeyword": "electricBlue",
58
+ "syntaxFunction": "readoutGreen",
59
+ "syntaxVariable": "brightAluminum",
60
+ "syntaxString": "titaniumGold",
61
+ "syntaxNumber": "warningAmber",
62
+ "syntaxType": "electricBlue",
63
+ "syntaxOperator": "electricBlue",
64
+ "syntaxPunctuation": "dimAluminum",
65
+
66
+ "thinkingOff": "#4a5058",
67
+ "thinkingMinimal": "#5a6068",
68
+ "thinkingLow": "#6a7078",
69
+ "thinkingMedium": "dimAluminum",
70
+ "thinkingHigh": "electricBlue",
71
+ "thinkingXhigh": "titaniumGold",
72
+ "bashMode": "readoutGreen"
73
+ },
74
+ "export": {
75
+ "pageBg": "brushedTitanium",
76
+ "cardBg": "darkTitanium",
77
+ "infoBg": "subtleGray"
78
+ }
79
+ }
package/themes/.gitkeep DELETED
File without changes