pi-umbra 0.5.0 → 0.5.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-umbra-shimmer",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "A wave of colour running through pi's working indicator, over both the spinner and the text. Needs the umbra bundle patches; without them it does nothing.",
5
5
  "keywords": [
6
6
  "pi-package",
@@ -52,8 +52,12 @@ const PATCHES = [
52
52
  // working status, so pi hands it the editor border - and the fallback below never runs.
53
53
  // Standing that function down when a shimmer is installed is what lets the fallback through.
54
54
  reason: "a shimmer outranks the editor border",
55
- from: `let colorFn=isWorkingStatusEditor(this.editor)?text=>(this.editor.borderColor??theme.getThinkingBorderColor(this.session.thinkingLevel||"off"))(text):void 0;`,
56
- to: `let colorFn=globalThis.__umbraShimmer?void 0:isWorkingStatusEditor(this.editor)?text=>(this.editor.borderColor??theme.getThinkingBorderColor(this.session.thinkingLevel||"off"))(text):void 0;`,
55
+ // pi 1.3 renamed isWorkingStatusEditor to isEmbeddedStatus and shares it with the compaction
56
+ // indicator, so the method name pins the working one.
57
+ variants: ["isEmbeddedStatus", "isWorkingStatusEditor"].map((name) => ({
58
+ from: `showWorkingStatusIndicator(){let colorFn=${name}(this.editor)?text=>(this.editor.borderColor??theme.getThinkingBorderColor(this.session.thinkingLevel||"off"))(text):void 0;`,
59
+ to: `showWorkingStatusIndicator(){let colorFn=globalThis.__umbraShimmer?void 0:${name}(this.editor)?text=>(this.editor.borderColor??theme.getThinkingBorderColor(this.session.thinkingLevel||"off"))(text):void 0;`,
60
+ })),
57
61
  },
58
62
  {
59
63
  // Custom frames are rendered verbatim, which is what kept the braille glyph out of the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-umbra",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Every small thing pi does not build in, in one install: seven themes and the chrome around them, the input bar, a shimmer through the working indicator, ask, copy-chat, preview, help, and parallel pi branches (read-only, or editing in their own git worktree) with a live agent tree.",
5
5
  "keywords": [
6
6
  "pi-package",
@@ -49,7 +49,7 @@
49
49
  "pi-umbra-help": "0.1.6",
50
50
  "pi-umbra-inputbar": "0.1.5",
51
51
  "pi-umbra-preview": "0.1.3",
52
- "pi-umbra-shimmer": "0.1.6",
52
+ "pi-umbra-shimmer": "0.1.7",
53
53
  "pi-umbra-subagents": "0.2.0"
54
54
  },
55
55
  "bundledDependencies": [