@signalridge/pi-worktree 1.3.1 → 1.4.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/CHANGELOG.md +10 -0
- package/package.json +2 -1
- package/src/command.ts +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.4.0
|
|
4
|
+
### Minor Changes
|
|
5
|
+
|
|
6
|
+
- 07350d4: Standardize extension-owned popup surfaces with an idempotent Pi-style border adapter. Native Pi dialogs retain their built-in framing and RPC behavior; custom menus and overlays gain consistent border rules.
|
|
7
|
+
|
|
8
|
+
### Patch Changes
|
|
9
|
+
|
|
10
|
+
- Updated dependencies [07350d4]
|
|
11
|
+
- @signalridge/pi-ui@1.3.0
|
|
12
|
+
|
|
3
13
|
## 1.3.1
|
|
4
14
|
### Patch Changes
|
|
5
15
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signalridge/pi-worktree",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "Pi extension for safe interactive Git worktree management and workspace switching.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -60,6 +60,7 @@
|
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
62
|
"@narumitw/pi-tui-kit": "^0.54.0",
|
|
63
|
+
"@signalridge/pi-ui": "^1.3.0",
|
|
63
64
|
"proper-lockfile": "^4.1.2"
|
|
64
65
|
}
|
|
65
66
|
}
|
package/src/command.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { existsSync, lstatSync } from "node:fs";
|
|
|
2
2
|
import { resolve } from "node:path";
|
|
3
3
|
import type { ExtensionAPI, ExtensionCommandContext } from "@earendil-works/pi-coding-agent";
|
|
4
4
|
import { defineMenu, runMenu } from "@narumitw/pi-tui-kit";
|
|
5
|
+
import { withBorderedCustomUi } from "@signalridge/pi-ui";
|
|
5
6
|
import {
|
|
6
7
|
type AdministrativePruneCandidate,
|
|
7
8
|
addWorktree,
|
|
@@ -135,7 +136,7 @@ export function registerWorktreeCommand(
|
|
|
135
136
|
configure: async () => runFlow(() => configureRootFlow(ctx, settings)),
|
|
136
137
|
},
|
|
137
138
|
});
|
|
138
|
-
await runMenu(ctx, menu, {
|
|
139
|
+
await runMenu(withBorderedCustomUi(ctx), menu, {
|
|
139
140
|
getState: () => undefined,
|
|
140
141
|
signal: owner.signal,
|
|
141
142
|
isCurrent: owner.isCurrent,
|
|
@@ -849,7 +850,7 @@ async function selectWorktree(
|
|
|
849
850
|
},
|
|
850
851
|
},
|
|
851
852
|
});
|
|
852
|
-
await runMenu(ctx, menu, {
|
|
853
|
+
await runMenu(withBorderedCustomUi(ctx), menu, {
|
|
853
854
|
getState: () => undefined,
|
|
854
855
|
signal,
|
|
855
856
|
isCurrent: () => !signal?.aborted,
|