@pi-orca/cleanup 0.0.2-dev.20260413162335

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/README.md ADDED
@@ -0,0 +1,43 @@
1
+ # pi-orca-cleanup
2
+
3
+ **Cleanup and Retention**
4
+
5
+ Version: 0.0.1 (Phase 0 - Stub)
6
+ License: MIT
7
+
8
+ ## Overview
9
+
10
+ Retention sweeps and orphan detection with archive-then-delete lifecycle.
11
+
12
+ **Status:** Phase 0 scaffold complete. Full implementation pending.
13
+
14
+ ## Installation
15
+
16
+ ```bash
17
+ npm install pi-orca-cleanup
18
+ ```
19
+
20
+ ## Usage
21
+
22
+ This package is currently in stub mode. Tools and commands are registered but return "Not implemented yet" messages.
23
+
24
+ ## Development Status
25
+
26
+ - [x] Package scaffold
27
+ - [x] TypeScript configuration
28
+ - [x] Tool registration (stub)
29
+ - [x] Command registration (stub)
30
+ - [x] Event emission (ready signal)
31
+ - [ ] Full implementation (pending)
32
+
33
+ ## Dependencies
34
+
35
+ - `pi-orca-core` — Shared types and utilities
36
+
37
+ ## Documentation
38
+
39
+ See the [Pi Orca specification](../../docs/spec-v0.3.0.md) for the complete design.
40
+
41
+ ## License
42
+
43
+ MIT License — see [LICENSE](../../LICENSE) for details.
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Pi Orca Cleanup Extension
3
+ * Retention sweeps and orphan detection.
4
+ * Spec: §7 — pi-orca-cleanup Extension
5
+ */
6
+ export declare function register(pi: any): void;
7
+ export default register;
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,wBAAgB,QAAQ,CAAC,EAAE,EAAE,GAAG,QAkB/B;AAED,eAAe,QAAQ,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Pi Orca Cleanup Extension
3
+ * Retention sweeps and orphan detection.
4
+ * Spec: §7 — pi-orca-cleanup Extension
5
+ */
6
+ export function register(pi) {
7
+ console.log("pi-orca-cleanup: Registering extension (stub mode)");
8
+ // Register slash commands (no LLM tool - interactive only)
9
+ pi.registerCommand?.({
10
+ name: "/cleanup",
11
+ description: "Manage retention and cleanup",
12
+ async execute(args, ctx) {
13
+ return "Cleanup commands not implemented yet (Phase 0 stub)";
14
+ },
15
+ });
16
+ // Emit ready event
17
+ pi.events?.on("session_start", () => {
18
+ pi.events?.emit("orca:cleanup:ready", {});
19
+ });
20
+ console.log("pi-orca-cleanup: Registered (stub mode - awaiting Phase 6 implementation)");
21
+ }
22
+ export default register;
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,UAAU,QAAQ,CAAC,EAAO;IAC9B,OAAO,CAAC,GAAG,CAAC,oDAAoD,CAAC,CAAC;IAElE,2DAA2D;IAC3D,EAAE,CAAC,eAAe,EAAE,CAAC;QACnB,IAAI,EAAE,UAAU;QAChB,WAAW,EAAE,8BAA8B;QAC3C,KAAK,CAAC,OAAO,CAAC,IAAc,EAAE,GAAQ;YACpC,OAAO,qDAAqD,CAAC;QAC/D,CAAC;KACF,CAAC,CAAC;IAEH,mBAAmB;IACnB,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,eAAe,EAAE,GAAG,EAAE;QAClC,EAAE,CAAC,MAAM,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,CAAC,CAAC;IAC5C,CAAC,CAAC,CAAC;IAEH,OAAO,CAAC,GAAG,CAAC,2EAA2E,CAAC,CAAC;AAC3F,CAAC;AAED,eAAe,QAAQ,CAAC"}
package/package.json ADDED
@@ -0,0 +1,44 @@
1
+ {
2
+ "name": "@pi-orca/cleanup",
3
+ "version": "0.0.2-dev.20260413162335",
4
+ "description": "Retention sweeps and orphan detection",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js"
12
+ }
13
+ },
14
+ "files": [
15
+ "dist",
16
+ "defaults"
17
+ ],
18
+ "scripts": {
19
+ "build": "tsc -p tsconfig.json",
20
+ "clean": "rm -rf dist *.tsbuildinfo",
21
+ "typecheck": "tsc --noEmit",
22
+ "test": "vitest run",
23
+ "test:watch": "vitest"
24
+ },
25
+ "keywords": [
26
+ "pi-package",
27
+ "pi-orca",
28
+ "pi-agent",
29
+ "pi-extension"
30
+ ],
31
+ "author": "Bindu / Ba",
32
+ "license": "MIT",
33
+ "publishConfig": {
34
+ "access": "public"
35
+ },
36
+ "repository": {
37
+ "type": "git",
38
+ "url": "https://github.com/bwavell/pi-orca.git",
39
+ "directory": "packages/pi-orca-cleanup"
40
+ },
41
+ "dependencies": {
42
+ "@pi-orca/core": "0.0.2-dev.20260413162335"
43
+ }
44
+ }