@jaggerxtrm/pi-extensions 0.9.3 → 0.9.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@xtrm/pi-xtrm-ui",
3
3
  "version": "1.1.0",
4
- "description": "XTRM UI: pi-dex chrome + pi-diff style write/edit rendering with custom-footer-safe ownership",
4
+ "description": "XTRM-owned Pi chrome, themes, and native/external tool rendering",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": "./index.ts"
@@ -15,7 +15,7 @@
15
15
  "./index.ts"
16
16
  ],
17
17
  "themes": [
18
- "./themes"
18
+ "../../themes/xtrm-ui"
19
19
  ]
20
20
  }
21
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jaggerxtrm/pi-extensions",
3
- "version": "0.9.3",
3
+ "version": "0.9.5",
4
4
  "description": "Unified Pi extension entrypoint for xtrm-managed extensions",
5
5
  "type": "module",
6
6
  "publishConfig": {
package/src/registry.ts CHANGED
@@ -1,31 +1,28 @@
1
- import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
1
+ import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
2
2
 
3
3
  import autoSessionNameExtension from "./extensions/auto-session-name.ts";
4
- import autoUpdateExtension from "./extensions/auto-update.ts";
5
4
  import beadsExtension from "./extensions/beads.ts";
6
5
  import compactHeaderExtension from "./extensions/compact-header.ts";
7
6
  import customFooterExtension from "./extensions/custom-footer.ts";
8
7
  import customProviderQwenCliExtension from "./extensions/custom-provider-qwen-cli.ts";
9
8
  import gitCheckpointExtension from "./extensions/git-checkpoint.ts";
10
9
  import lspBootstrapExtension from "./extensions/lsp-bootstrap.ts";
11
- import piSerenaCompactExtension from "./extensions/pi-serena-compact.ts";
12
10
  import serenaPoolExtension from "./extensions/serena-pool.ts";
13
11
  import qualityGatesExtension from "./extensions/quality-gates.ts";
14
12
  import serviceSkillsExtension from "./extensions/service-skills.ts";
15
13
  import sessionFlowExtension from "./extensions/session-flow.ts";
16
14
  import spTerminalOverlayExtension from "./extensions/sp-terminal-overlay.ts";
17
- import xtprompt from "./extensions/xtprompt.ts";
18
15
  import xtrmLoaderExtension from "./extensions/xtrm-loader.ts";
19
16
  import xtrmUiExtension from "./extensions/xtrm-ui.ts";
17
+ import xtpromptExtension from "./extensions/xtprompt.ts";
20
18
 
21
19
  export type ManagedPiExtension = {
22
20
  readonly id: string;
23
21
  readonly register: (pi: ExtensionAPI) => void;
24
22
  };
25
23
 
26
- export const managedPiExtensions: readonly ManagedPiExtension[] = [
24
+ const allManagedPiExtensions: readonly ManagedPiExtension[] = [
27
25
  { id: "auto-session-name", register: autoSessionNameExtension },
28
- { id: "auto-update", register: autoUpdateExtension },
29
26
  { id: "beads", register: beadsExtension },
30
27
  { id: "compact-header", register: compactHeaderExtension },
31
28
  { id: "custom-footer", register: customFooterExtension },
@@ -33,16 +30,25 @@ export const managedPiExtensions: readonly ManagedPiExtension[] = [
33
30
  { id: "git-checkpoint", register: gitCheckpointExtension },
34
31
  { id: "serena-pool", register: serenaPoolExtension },
35
32
  { id: "lsp-bootstrap", register: lspBootstrapExtension },
36
- { id: "pi-serena-compact", register: piSerenaCompactExtension },
37
33
  { id: "quality-gates", register: qualityGatesExtension },
38
34
  { id: "service-skills", register: serviceSkillsExtension },
39
35
  { id: "session-flow", register: sessionFlowExtension },
40
36
  { id: "sp-terminal-overlay", register: spTerminalOverlayExtension },
41
- { id: "xtprompt", register: xtprompt },
42
37
  { id: "xtrm-loader", register: xtrmLoaderExtension },
43
38
  { id: "xtrm-ui", register: xtrmUiExtension },
39
+ { id: "xtprompt", register: xtpromptExtension },
44
40
  ];
45
41
 
42
+ // Extensions disabled by default. Source preserved in ./extensions/ — remove an
43
+ // id from this set to re-enable. (xtrm-e2vkn)
44
+ // - quality-gates: hook-script lookup (.claude/hooks/quality-check.*) is broken
45
+ // under the managed .xtrm/hooks layout, so it never fires. Disabled until
46
+ const DISABLED_EXTENSIONS = new Set<string>(["quality-gates"]);
47
+
48
+ export const managedPiExtensions: readonly ManagedPiExtension[] = allManagedPiExtensions.filter(
49
+ (extension) => !DISABLED_EXTENSIONS.has(extension.id),
50
+ );
51
+
46
52
  function registerManagedExtension(pi: ExtensionAPI, extension: ManagedPiExtension): void {
47
53
  try {
48
54
  extension.register(pi);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/badlogic/pi-mono/main/packages/coding-agent/src/modes/interactive/theme/theme-schema.json",
3
- "name": "pidex-dark-flattools",
3
+ "name": "xtrm-dark-flattools",
4
4
  "vars": {
5
5
  "accentBlue": "#b8d3ff",
6
6
  "accentCyan": "#b8d3ff",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/badlogic/pi-mono/main/packages/coding-agent/src/modes/interactive/theme/theme-schema.json",
3
- "name": "pidex-dark",
3
+ "name": "xtrm-dark",
4
4
  "vars": {
5
5
  "accentBlue": "#b8d3ff",
6
6
  "accentCyan": "#b8d3ff",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/badlogic/pi-mono/main/packages/coding-agent/src/modes/interactive/theme/theme-schema.json",
3
- "name": "pidex-light-flattools",
3
+ "name": "xtrm-light-flattools",
4
4
  "vars": {
5
5
  "accentBlue": "#44546a",
6
6
  "accentCyan": "#5f6b7a",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/badlogic/pi-mono/main/packages/coding-agent/src/modes/interactive/theme/theme-schema.json",
3
- "name": "pidex-light",
3
+ "name": "xtrm-light",
4
4
  "vars": {
5
5
  "accentBlue": "#44546a",
6
6
  "accentCyan": "#5f6b7a",
@@ -1,79 +0,0 @@
1
- {
2
- "$schema": "https://raw.githubusercontent.com/badlogic/pi-mono/main/packages/coding-agent/src/modes/interactive/theme/theme-schema.json",
3
- "name": "pidex-light-flattools",
4
- "vars": {
5
- "accentBlue": "#44546a",
6
- "accentCyan": "#5f6b7a",
7
- "accentTeal": "#5f6b7a",
8
- "successGreen": "#587558",
9
- "errorRed": "#a85f5f",
10
- "warningAmber": "#8e7348",
11
- "surface": "#ffffff",
12
- "surfaceAlt": "#f1f1f1",
13
- "surfaceMuted": "#e6e6e6",
14
- "surfaceUser": "#f0f0f0",
15
- "surfaceCustom": "#f5f5f5",
16
- "gray": "#5f5f5f",
17
- "dimGray": "#7a7a7a",
18
- "borderGray": "#b9b9b9",
19
- "borderBright": "#9f9f9f"
20
- },
21
- "colors": {
22
- "accent": "accentBlue",
23
- "border": "borderGray",
24
- "borderAccent": "borderBright",
25
- "borderMuted": "borderGray",
26
- "success": "successGreen",
27
- "error": "errorRed",
28
- "warning": "warningAmber",
29
- "muted": "gray",
30
- "dim": "dimGray",
31
- "text": "",
32
- "thinkingText": "gray",
33
- "selectedBg": "surfaceMuted",
34
- "userMessageBg": "surfaceUser",
35
- "userMessageText": "",
36
- "customMessageBg": "surfaceCustom",
37
- "customMessageText": "",
38
- "customMessageLabel": "accentBlue",
39
- "toolPendingBg": "",
40
- "toolSuccessBg": "",
41
- "toolErrorBg": "",
42
- "toolTitle": "",
43
- "toolOutput": "gray",
44
- "mdHeading": "warningAmber",
45
- "mdLink": "accentBlue",
46
- "mdLinkUrl": "dimGray",
47
- "mdCode": "accentCyan",
48
- "mdCodeBlock": "gray",
49
- "mdCodeBlockBorder": "borderGray",
50
- "mdQuote": "gray",
51
- "mdQuoteBorder": "borderGray",
52
- "mdHr": "borderGray",
53
- "mdListBullet": "accentTeal",
54
- "toolDiffAdded": "successGreen",
55
- "toolDiffRemoved": "errorRed",
56
- "toolDiffContext": "gray",
57
- "syntaxComment": "#6b7280",
58
- "syntaxKeyword": "#3569c8",
59
- "syntaxFunction": "#3b4351",
60
- "syntaxVariable": "#364152",
61
- "syntaxString": "#3f7d3d",
62
- "syntaxNumber": "#b06500",
63
- "syntaxType": "#2c7a7b",
64
- "syntaxOperator": "#3b4351",
65
- "syntaxPunctuation": "#55606f",
66
- "thinkingOff": "borderGray",
67
- "thinkingMinimal": "#9d9d9d",
68
- "thinkingLow": "#979797",
69
- "thinkingMedium": "#919191",
70
- "thinkingHigh": "#8b8b8b",
71
- "thinkingXhigh": "#858585",
72
- "bashMode": "accentTeal"
73
- },
74
- "export": {
75
- "pageBg": "#f5f7fa",
76
- "cardBg": "#ffffff",
77
- "infoBg": "#fff5e6"
78
- }
79
- }
@@ -1,85 +0,0 @@
1
- {
2
- "$schema": "https://raw.githubusercontent.com/badlogic/pi-mono/main/packages/coding-agent/src/modes/interactive/theme/theme-schema.json",
3
- "name": "pidex-light",
4
- "vars": {
5
- "accentBlue": "#44546a",
6
- "accentCyan": "#5f6b7a",
7
- "accentTeal": "#5f6b7a",
8
- "successGreen": "#587558",
9
- "errorRed": "#a85f5f",
10
- "warningAmber": "#8e7348",
11
- "surface": "#ffffff",
12
- "surfaceAlt": "#f1f1f1",
13
- "surfaceMuted": "#e6e6e6",
14
- "surfaceUser": "#f0f0f0",
15
- "surfaceCustom": "#f5f5f5",
16
- "gray": "#5f5f5f",
17
- "dimGray": "#7a7a7a",
18
- "borderGray": "#b9b9b9",
19
- "borderBright": "#9f9f9f"
20
- },
21
- "colors": {
22
- "accent": "accentBlue",
23
- "border": "borderGray",
24
- "borderAccent": "borderBright",
25
- "borderMuted": "borderGray",
26
- "success": "successGreen",
27
- "error": "errorRed",
28
- "warning": "warningAmber",
29
- "muted": "gray",
30
- "dim": "dimGray",
31
- "text": "",
32
- "thinkingText": "gray",
33
-
34
- "selectedBg": "surfaceMuted",
35
- "userMessageBg": "surfaceUser",
36
- "userMessageText": "",
37
- "customMessageBg": "surfaceCustom",
38
- "customMessageText": "",
39
- "customMessageLabel": "accentBlue",
40
- "toolPendingBg": "surfaceAlt",
41
- "toolSuccessBg": "surfaceAlt",
42
- "toolErrorBg": "surfaceAlt",
43
- "toolTitle": "",
44
- "toolOutput": "gray",
45
-
46
- "mdHeading": "warningAmber",
47
- "mdLink": "accentBlue",
48
- "mdLinkUrl": "dimGray",
49
- "mdCode": "accentCyan",
50
- "mdCodeBlock": "gray",
51
- "mdCodeBlockBorder": "borderGray",
52
- "mdQuote": "gray",
53
- "mdQuoteBorder": "borderGray",
54
- "mdHr": "borderGray",
55
- "mdListBullet": "accentTeal",
56
-
57
- "toolDiffAdded": "successGreen",
58
- "toolDiffRemoved": "errorRed",
59
- "toolDiffContext": "gray",
60
-
61
- "syntaxComment": "#6b7280",
62
- "syntaxKeyword": "#3569c8",
63
- "syntaxFunction": "#3b4351",
64
- "syntaxVariable": "#364152",
65
- "syntaxString": "#3f7d3d",
66
- "syntaxNumber": "#b06500",
67
- "syntaxType": "#2c7a7b",
68
- "syntaxOperator": "#3b4351",
69
- "syntaxPunctuation": "#55606f",
70
-
71
- "thinkingOff": "borderGray",
72
- "thinkingMinimal": "#9d9d9d",
73
- "thinkingLow": "#979797",
74
- "thinkingMedium": "#919191",
75
- "thinkingHigh": "#8b8b8b",
76
- "thinkingXhigh": "#858585",
77
-
78
- "bashMode": "accentTeal"
79
- },
80
- "export": {
81
- "pageBg": "#f5f7fa",
82
- "cardBg": "#ffffff",
83
- "infoBg": "#fff5e6"
84
- }
85
- }
@@ -1,79 +0,0 @@
1
- {
2
- "$schema": "https://raw.githubusercontent.com/badlogic/pi-mono/main/packages/coding-agent/src/modes/interactive/theme/theme-schema.json",
3
- "name": "pidex-dark-flattools",
4
- "vars": {
5
- "accentBlue": "#b8d3ff",
6
- "accentCyan": "#b8d3ff",
7
- "accentTeal": "#c7d2e0",
8
- "successGreen": "#9fd59f",
9
- "errorRed": "#ff9a9a",
10
- "warningAmber": "#d2b48c",
11
- "surface": "#000000",
12
- "surfaceAlt": "#111111",
13
- "surfaceMuted": "#1a1a1a",
14
- "surfaceUser": "#1f1f1f",
15
- "surfaceCustom": "#161616",
16
- "gray": "#a7a7a7",
17
- "dimGray": "#8a8a8a",
18
- "borderGray": "#666666",
19
- "borderBright": "#9a9a9a"
20
- },
21
- "colors": {
22
- "accent": "accentBlue",
23
- "border": "borderGray",
24
- "borderAccent": "borderBright",
25
- "borderMuted": "borderGray",
26
- "success": "successGreen",
27
- "error": "errorRed",
28
- "warning": "warningAmber",
29
- "muted": "gray",
30
- "dim": "dimGray",
31
- "text": "",
32
- "thinkingText": "gray",
33
- "selectedBg": "surfaceMuted",
34
- "userMessageBg": "surfaceUser",
35
- "userMessageText": "",
36
- "customMessageBg": "surfaceCustom",
37
- "customMessageText": "",
38
- "customMessageLabel": "accentBlue",
39
- "toolPendingBg": "",
40
- "toolSuccessBg": "",
41
- "toolErrorBg": "",
42
- "toolTitle": "",
43
- "toolOutput": "gray",
44
- "mdHeading": "warningAmber",
45
- "mdLink": "accentBlue",
46
- "mdLinkUrl": "dimGray",
47
- "mdCode": "accentCyan",
48
- "mdCodeBlock": "gray",
49
- "mdCodeBlockBorder": "borderGray",
50
- "mdQuote": "gray",
51
- "mdQuoteBorder": "borderGray",
52
- "mdHr": "borderGray",
53
- "mdListBullet": "accentTeal",
54
- "toolDiffAdded": "successGreen",
55
- "toolDiffRemoved": "errorRed",
56
- "toolDiffContext": "gray",
57
- "syntaxComment": "#6b7280",
58
- "syntaxKeyword": "#7aa2f7",
59
- "syntaxFunction": "#c0caf5",
60
- "syntaxVariable": "#a9b1d6",
61
- "syntaxString": "#9ece6a",
62
- "syntaxNumber": "#ff9e64",
63
- "syntaxType": "#73daca",
64
- "syntaxOperator": "#c0caf5",
65
- "syntaxPunctuation": "#8f9bb3",
66
- "thinkingOff": "borderGray",
67
- "thinkingMinimal": "#707070",
68
- "thinkingLow": "#7a7a7a",
69
- "thinkingMedium": "#858585",
70
- "thinkingHigh": "#8f8f8f",
71
- "thinkingXhigh": "#999999",
72
- "bashMode": "accentTeal"
73
- },
74
- "export": {
75
- "pageBg": "#12161d",
76
- "cardBg": "#171b22",
77
- "infoBg": "#28230f"
78
- }
79
- }
@@ -1,85 +0,0 @@
1
- {
2
- "$schema": "https://raw.githubusercontent.com/badlogic/pi-mono/main/packages/coding-agent/src/modes/interactive/theme/theme-schema.json",
3
- "name": "pidex-dark",
4
- "vars": {
5
- "accentBlue": "#b8d3ff",
6
- "accentCyan": "#b8d3ff",
7
- "accentTeal": "#c7d2e0",
8
- "successGreen": "#9fd59f",
9
- "errorRed": "#ff9a9a",
10
- "warningAmber": "#d2b48c",
11
- "surface": "#000000",
12
- "surfaceAlt": "#111111",
13
- "surfaceMuted": "#1a1a1a",
14
- "surfaceUser": "#1f1f1f",
15
- "surfaceCustom": "#161616",
16
- "gray": "#a7a7a7",
17
- "dimGray": "#8a8a8a",
18
- "borderGray": "#666666",
19
- "borderBright": "#9a9a9a"
20
- },
21
- "colors": {
22
- "accent": "accentBlue",
23
- "border": "borderGray",
24
- "borderAccent": "borderBright",
25
- "borderMuted": "borderGray",
26
- "success": "successGreen",
27
- "error": "errorRed",
28
- "warning": "warningAmber",
29
- "muted": "gray",
30
- "dim": "dimGray",
31
- "text": "",
32
- "thinkingText": "gray",
33
-
34
- "selectedBg": "surfaceMuted",
35
- "userMessageBg": "surfaceUser",
36
- "userMessageText": "",
37
- "customMessageBg": "surfaceCustom",
38
- "customMessageText": "",
39
- "customMessageLabel": "accentBlue",
40
- "toolPendingBg": "surfaceMuted",
41
- "toolSuccessBg": "surfaceMuted",
42
- "toolErrorBg": "surfaceMuted",
43
- "toolTitle": "",
44
- "toolOutput": "gray",
45
-
46
- "mdHeading": "warningAmber",
47
- "mdLink": "accentBlue",
48
- "mdLinkUrl": "dimGray",
49
- "mdCode": "accentCyan",
50
- "mdCodeBlock": "gray",
51
- "mdCodeBlockBorder": "borderGray",
52
- "mdQuote": "gray",
53
- "mdQuoteBorder": "borderGray",
54
- "mdHr": "borderGray",
55
- "mdListBullet": "accentTeal",
56
-
57
- "toolDiffAdded": "successGreen",
58
- "toolDiffRemoved": "errorRed",
59
- "toolDiffContext": "gray",
60
-
61
- "syntaxComment": "#6b7280",
62
- "syntaxKeyword": "#7aa2f7",
63
- "syntaxFunction": "#c0caf5",
64
- "syntaxVariable": "#a9b1d6",
65
- "syntaxString": "#9ece6a",
66
- "syntaxNumber": "#ff9e64",
67
- "syntaxType": "#73daca",
68
- "syntaxOperator": "#c0caf5",
69
- "syntaxPunctuation": "#8f9bb3",
70
-
71
- "thinkingOff": "borderGray",
72
- "thinkingMinimal": "#707070",
73
- "thinkingLow": "#7a7a7a",
74
- "thinkingMedium": "#858585",
75
- "thinkingHigh": "#8f8f8f",
76
- "thinkingXhigh": "#999999",
77
-
78
- "bashMode": "accentTeal"
79
- },
80
- "export": {
81
- "pageBg": "#12161d",
82
- "cardBg": "#171b22",
83
- "infoBg": "#28230f"
84
- }
85
- }