@hheei/pi-status 0.1.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/LICENSE +1 -0
- package/README.md +3 -0
- package/dist/extension.d.ts +3 -0
- package/dist/extension.js +13 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +55 -0
package/LICENSE
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
MIT License
|
package/README.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { createResponseStatusFeature, registerExtensionLifecycle } from "@hheei/pi-ext-core";
|
|
2
|
+
/** Mounts ext-core response telemetry for this independently installable feature. */
|
|
3
|
+
export default function piStatusExtension(pi) {
|
|
4
|
+
const status = createResponseStatusFeature(pi);
|
|
5
|
+
registerExtensionLifecycle(pi, {
|
|
6
|
+
key: "@hheei/pi-status",
|
|
7
|
+
start: ({ extension, resources }) => {
|
|
8
|
+
status.start(extension);
|
|
9
|
+
const sessionId = extension.sessionManager.getSessionId();
|
|
10
|
+
resources.add("response-status", () => status.dispose(sessionId));
|
|
11
|
+
},
|
|
12
|
+
});
|
|
13
|
+
}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./extension.js";
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./extension.js";
|
package/package.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@hheei/pi-status",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Response telemetry for Pi sessions.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": "./dist/index.js"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"dist",
|
|
13
|
+
"README.md",
|
|
14
|
+
"LICENSE"
|
|
15
|
+
],
|
|
16
|
+
"pi": {
|
|
17
|
+
"extensions": [
|
|
18
|
+
"dist/extension.js"
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
"keywords": [
|
|
22
|
+
"pi",
|
|
23
|
+
"pi-package",
|
|
24
|
+
"pi-extension",
|
|
25
|
+
"hepi",
|
|
26
|
+
"status"
|
|
27
|
+
],
|
|
28
|
+
"license": "MIT",
|
|
29
|
+
"repository": {
|
|
30
|
+
"type": "git",
|
|
31
|
+
"url": "git+https://github.com/hheei/hepi-mono.git",
|
|
32
|
+
"directory": "packages/pi-status"
|
|
33
|
+
},
|
|
34
|
+
"publishConfig": {
|
|
35
|
+
"access": "public"
|
|
36
|
+
},
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"@hheei/pi-ext-core": "^0.1.0"
|
|
39
|
+
},
|
|
40
|
+
"peerDependencies": {
|
|
41
|
+
"@earendil-works/pi-agent-core": ">=0.85.1",
|
|
42
|
+
"@earendil-works/pi-ai": ">=0.85.1",
|
|
43
|
+
"@earendil-works/pi-coding-agent": ">=0.85.1",
|
|
44
|
+
"@earendil-works/pi-tui": ">=0.85.1"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@earendil-works/pi-agent-core": "0.85.1",
|
|
48
|
+
"@earendil-works/pi-ai": "0.85.1",
|
|
49
|
+
"@earendil-works/pi-coding-agent": "0.85.1",
|
|
50
|
+
"@earendil-works/pi-tui": "0.85.1"
|
|
51
|
+
},
|
|
52
|
+
"scripts": {
|
|
53
|
+
"build": "tsc -p tsconfig.build.json"
|
|
54
|
+
}
|
|
55
|
+
}
|