pi-archimedes 2.9.3 → 2.10.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/package.json +13 -13
- package/src/settings.ts +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-archimedes",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/danielcherubini/pi-archimedes.git"
|
|
@@ -16,18 +16,18 @@
|
|
|
16
16
|
],
|
|
17
17
|
"main": "./src/index.ts",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@pi-archimedes/core": "2.
|
|
20
|
-
"@pi-archimedes/footer": "2.
|
|
21
|
-
"@pi-archimedes/diff": "2.
|
|
22
|
-
"@pi-archimedes/ask": "2.
|
|
23
|
-
"@pi-archimedes/image-paste": "2.
|
|
24
|
-
"@pi-archimedes/subagent": "2.
|
|
25
|
-
"@pi-archimedes/todo": "2.
|
|
26
|
-
"@pi-archimedes/notify": "2.
|
|
27
|
-
"@pi-archimedes/session-name": "2.
|
|
28
|
-
"@pi-archimedes/sudo": "2.
|
|
29
|
-
"@pi-archimedes/ui": "2.
|
|
30
|
-
"@pi-archimedes/web": "2.
|
|
19
|
+
"@pi-archimedes/core": "2.10.0",
|
|
20
|
+
"@pi-archimedes/footer": "2.10.0",
|
|
21
|
+
"@pi-archimedes/diff": "2.10.0",
|
|
22
|
+
"@pi-archimedes/ask": "2.10.0",
|
|
23
|
+
"@pi-archimedes/image-paste": "2.10.0",
|
|
24
|
+
"@pi-archimedes/subagent": "2.10.0",
|
|
25
|
+
"@pi-archimedes/todo": "2.10.0",
|
|
26
|
+
"@pi-archimedes/notify": "2.10.0",
|
|
27
|
+
"@pi-archimedes/session-name": "2.10.0",
|
|
28
|
+
"@pi-archimedes/sudo": "2.10.0",
|
|
29
|
+
"@pi-archimedes/ui": "2.10.0",
|
|
30
|
+
"@pi-archimedes/web": "2.10.0"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@earendil-works/pi-coding-agent": ">=0.1.0",
|
package/src/settings.ts
CHANGED
|
@@ -27,6 +27,7 @@ const PROMPTS: Record<string, PromptDescriptor> = {
|
|
|
27
27
|
diffSplitMinWidth: { kind: "number", label: "Diff split min width", min: 100 },
|
|
28
28
|
diffSplitMinCodeWidth: { kind: "number", label: "Diff split min code width", min: 30 },
|
|
29
29
|
splitThreshold: { kind: "number", label: "Footer split threshold", min: 80 },
|
|
30
|
+
branchMaxLength: { kind: "number", label: "Branch max length", min: 0 },
|
|
30
31
|
delayMs: { kind: "number", label: "Notify delay (seconds)", min: 1 },
|
|
31
32
|
};
|
|
32
33
|
|
|
@@ -92,6 +93,7 @@ export async function openSettings(pi: ExtensionAPI, ctx: ExtensionContext): Pro
|
|
|
92
93
|
switch (id) {
|
|
93
94
|
// ── UI settings ──
|
|
94
95
|
case "bashToolStyling": uiConfig.bashToolStyling = newValue === "On"; break;
|
|
96
|
+
case "codemodeToolStyling": uiConfig.codemodeToolStyling = newValue === "On"; break;
|
|
95
97
|
case "mutedTheme": uiConfig.mutedTheme = newValue === "On"; break;
|
|
96
98
|
case "autoCollapseThinking": uiConfig.autoCollapseThinking = newValue === "On"; break;
|
|
97
99
|
case "thinkingStyle": uiConfig.thinkingStyle = normalizeThinkingStyle(newValue); break;
|
|
@@ -104,6 +106,7 @@ export async function openSettings(pi: ExtensionAPI, ctx: ExtensionContext): Pro
|
|
|
104
106
|
case "labelText": uiConfig.labelText = newValue; break;
|
|
105
107
|
case "labelColor": uiConfig.labelColor = newValue; break;
|
|
106
108
|
case "animationStyle": uiConfig.animationStyle = newValue as UIConfig["animationStyle"]; break;
|
|
109
|
+
case "colorfulLogo": uiConfig.colorfulLogo = newValue === "On"; break;
|
|
107
110
|
|
|
108
111
|
// ── Footer settings ──
|
|
109
112
|
case "splitThreshold": {
|
|
@@ -111,6 +114,11 @@ export async function openSettings(pi: ExtensionAPI, ctx: ExtensionContext): Pro
|
|
|
111
114
|
if (Number.isFinite(v)) footerConfig.splitThreshold = v;
|
|
112
115
|
break;
|
|
113
116
|
}
|
|
117
|
+
case "branchMaxLength": {
|
|
118
|
+
const v = parseInt(newValue, 10);
|
|
119
|
+
if (Number.isFinite(v)) footerConfig.branchMaxLength = v;
|
|
120
|
+
break;
|
|
121
|
+
}
|
|
114
122
|
|
|
115
123
|
// ── Diff settings ──
|
|
116
124
|
case "diffTheme": diffConfig.diffTheme = newValue; break;
|