pi-tropos 0.4.1 → 0.6.0

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 CHANGED
@@ -18,6 +18,11 @@ Personal pi customization bundle. One package, installable anywhere.
18
18
  (`#0B0B0C`), off-white text (`#E4E4E7`), slate-grey chrome, and color reserved for
19
19
  diagnostics (mint `#4EFAAA` success, amber `#F59E0B` warning, crimson `#EF4444` error).
20
20
  Select via `/settings` or `"theme": "commandcode"` in `settings.json`.
21
+ - **`kaapi` theme** — filter-coffee dark: deep espresso base (`#15100D`), latte-foam text
22
+ (`#E8DCCB`), caramel accent (`#D9984A`), matcha success, terracotta error. Warm and
23
+ caffeinated. Select via `/settings` or `"theme": "kaapi"`.
24
+ - **Barista mascot** — the working spinner becomes a steaming cup of kaapi; every other
25
+ brew cycle it's a boba 🧋. Hidden thinking blocks read "Steeping…".
21
26
  - **pi-smritikosh** — semantic codebase search, bundled as a dependency. One install
22
27
  gets everything; don't also install `npm:pi-smritikosh` separately or it loads twice.
23
28
 
package/index.ts CHANGED
@@ -1,9 +1,11 @@
1
1
  import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
2
2
  import smritikosh from "pi-smritikosh/index.js";
3
+ import barista from "./src/barista.js";
3
4
  import dumbzone from "./src/dumbzone.js";
4
5
  import sessions from "./src/sessions.js";
5
6
 
6
7
  export default function (pi: ExtensionAPI) {
8
+ barista(pi);
7
9
  dumbzone(pi);
8
10
  sessions(pi);
9
11
  smritikosh(pi);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-tropos",
3
- "version": "0.4.1",
3
+ "version": "0.6.0",
4
4
  "description": "Personal pi customization bundle — context-health indicator, session handoff, session browser",
5
5
  "type": "module",
6
6
  "keywords": [
package/src/barista.ts ADDED
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Barista — kaapi-flavored working mascot.
3
+ *
4
+ * Replaces the default spinner with a steaming coffee cup; every other
5
+ * brew cycle the cup turns into a boba. Hidden thinking blocks are
6
+ * labeled "Steeping…". Purely cosmetic, zero logic.
7
+ */
8
+
9
+ import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
10
+
11
+ const FRAMES = [
12
+ "☕ ∘ ",
13
+ "☕ ∘ ",
14
+ "☕ ∘ ",
15
+ "☕ ∘",
16
+ "☕ ",
17
+ "☕ ∘ ",
18
+ "☕ ∘ ",
19
+ "☕ ∘ ",
20
+ "☕ ∘",
21
+ "☕ ",
22
+ "🧋 ∘ ",
23
+ "🧋 ∘ ",
24
+ "🧋 ∘ ",
25
+ "🧋 ∘",
26
+ "🧋 ",
27
+ ];
28
+
29
+ export default function barista(pi: ExtensionAPI) {
30
+ pi.on("session_start", (_event, ctx) => {
31
+ ctx.ui.setWorkingIndicator({ frames: FRAMES, intervalMs: 160 });
32
+ ctx.ui.setHiddenThinkingLabel("Steeping…");
33
+ });
34
+ }
@@ -0,0 +1,84 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/badlogic/pi-mono/main/packages/coding-agent/src/modes/interactive/theme/theme-schema.json",
3
+ "name": "kaapi",
4
+ "vars": {
5
+ "bg": "#15100D",
6
+ "fg": "#E8DCCB",
7
+ "gray": "#8C7B6C",
8
+ "darkGray": "#44342A",
9
+ "accent": "#D9984A",
10
+ "accentDark": "#87571C",
11
+ "accentMid": "#E0BA8A",
12
+ "secondary": "#7FB0A5",
13
+ "white": "#F7EFE2",
14
+ "panel": "#251C17",
15
+ "panelAlt": "#2E231D",
16
+ "panelSuccess": "#302A21",
17
+ "panelError": "#392520",
18
+ "panelInfo": "#352821",
19
+ "success": "#9CCB86",
20
+ "error": "#D1665A",
21
+ "warning": "#E5B95C",
22
+ "diffAdded": "#B3D09B",
23
+ "diffRemoved": "#D1665A",
24
+ "diffContext": "#8C7B6C"
25
+ },
26
+ "colors": {
27
+ "accent": "accent",
28
+ "border": "gray",
29
+ "borderAccent": "accent",
30
+ "borderMuted": "darkGray",
31
+ "success": "success",
32
+ "error": "error",
33
+ "warning": "warning",
34
+ "muted": "gray",
35
+ "dim": "gray",
36
+ "text": "",
37
+ "thinkingText": "gray",
38
+ "selectedBg": "panelInfo",
39
+ "userMessageBg": "panel",
40
+ "userMessageText": "",
41
+ "customMessageBg": "panelAlt",
42
+ "customMessageText": "",
43
+ "customMessageLabel": "accent",
44
+ "toolPendingBg": "panelAlt",
45
+ "toolSuccessBg": "panelSuccess",
46
+ "toolErrorBg": "panelError",
47
+ "toolTitle": "white",
48
+ "toolOutput": "fg",
49
+ "mdHeading": "white",
50
+ "mdLink": "secondary",
51
+ "mdLinkUrl": "gray",
52
+ "mdCode": "accent",
53
+ "mdCodeBlock": "fg",
54
+ "mdCodeBlockBorder": "accentDark",
55
+ "mdQuote": "gray",
56
+ "mdQuoteBorder": "gray",
57
+ "mdHr": "darkGray",
58
+ "mdListBullet": "accent",
59
+ "toolDiffAdded": "diffAdded",
60
+ "toolDiffRemoved": "diffRemoved",
61
+ "toolDiffContext": "diffContext",
62
+ "syntaxComment": "gray",
63
+ "syntaxKeyword": "accent",
64
+ "syntaxFunction": "secondary",
65
+ "syntaxVariable": "fg",
66
+ "syntaxString": "success",
67
+ "syntaxNumber": "warning",
68
+ "syntaxType": "white",
69
+ "syntaxOperator": "error",
70
+ "syntaxPunctuation": "gray",
71
+ "thinkingOff": "darkGray",
72
+ "thinkingMinimal": "gray",
73
+ "thinkingLow": "accentDark",
74
+ "thinkingMedium": "accentMid",
75
+ "thinkingHigh": "accent",
76
+ "thinkingXhigh": "white",
77
+ "bashMode": "accent"
78
+ },
79
+ "export": {
80
+ "pageBg": "#15100D",
81
+ "cardBg": "#251C17",
82
+ "infoBg": "#352821"
83
+ }
84
+ }