pi-archimedes 0.2.0 → 0.3.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 +9 -12
- package/src/index.ts +4 -0
package/package.json
CHANGED
|
@@ -1,20 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-archimedes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"pi-package"
|
|
7
|
-
],
|
|
5
|
+
"keywords": ["pi-package"],
|
|
8
6
|
"description": "Visual polish and useful context for the Pi coding agent TUI",
|
|
9
|
-
"files": [
|
|
10
|
-
"src"
|
|
11
|
-
],
|
|
7
|
+
"files": ["src"],
|
|
12
8
|
"main": "./src/index.ts",
|
|
13
9
|
"dependencies": {
|
|
14
|
-
"@pi-archimedes/core": "
|
|
15
|
-
"@pi-archimedes/
|
|
16
|
-
"@pi-archimedes/
|
|
17
|
-
"@pi-archimedes/image-paste": "
|
|
10
|
+
"@pi-archimedes/core": "workspace:*",
|
|
11
|
+
"@pi-archimedes/footer": "workspace:*",
|
|
12
|
+
"@pi-archimedes/diff": "workspace:*",
|
|
13
|
+
"@pi-archimedes/image-paste": "workspace:*",
|
|
14
|
+
"@pi-archimedes/subagent": "workspace:*"
|
|
18
15
|
},
|
|
19
16
|
"peerDependencies": {
|
|
20
17
|
"@earendil-works/pi-coding-agent": ">=0.1.0",
|
|
@@ -29,4 +26,4 @@
|
|
|
29
26
|
],
|
|
30
27
|
"image": "https://raw.githubusercontent.com/danielcherubini/pi-ui-hephaestus/main/docs/splash-screen.png"
|
|
31
28
|
}
|
|
32
|
-
}
|
|
29
|
+
}
|
package/src/index.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { registerCore } from "@pi-archimedes/core";
|
|
|
4
4
|
import { registerFooter } from "@pi-archimedes/footer";
|
|
5
5
|
import { registerDiffTools } from "@pi-archimedes/diff";
|
|
6
6
|
import { registerImagePaste, initImagePasteSession, shutdownImagePaste } from "@pi-archimedes/image-paste";
|
|
7
|
+
import { registerSubagent } from "@pi-archimedes/subagent";
|
|
7
8
|
import { loadDiffConfig } from "./config.js";
|
|
8
9
|
import { openSettings } from "./settings.js";
|
|
9
10
|
|
|
@@ -15,6 +16,9 @@ export default function (pi: ExtensionAPI): void {
|
|
|
15
16
|
// Register image paste (shortcuts, input handler, preview renderer)
|
|
16
17
|
registerImagePaste(pi);
|
|
17
18
|
|
|
19
|
+
// Register subagent tool
|
|
20
|
+
registerSubagent(pi);
|
|
21
|
+
|
|
18
22
|
// session_shutdown handler (top-level to prevent accumulation on /reload)
|
|
19
23
|
pi.on("session_shutdown", (_event, _ctx) => {
|
|
20
24
|
shutdownImagePaste();
|