@adeildo/pi-harness 5.6.0 → 5.7.1
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 +10 -9
- package/package.json +13 -10
- package/src/compact.ts +7 -0
package/README.md
CHANGED
|
@@ -24,14 +24,15 @@
|
|
|
24
24
|
|
|
25
25
|
## What comes in it
|
|
26
26
|
|
|
27
|
-
| Piece | What it does
|
|
28
|
-
| ------------------------------- |
|
|
29
|
-
| [Permission](../ask-permission) | Asks before a command runs, with a note the model reads. A model answers the easy ones for you
|
|
30
|
-
| [Questions](../ask-questions) | The model asks instead of guessing, with options, a preview of each, a note on any and your own answer
|
|
31
|
-
| [Tasks](../tasks) | Keeps what the session is doing, what it did and with what result, what waits on you, and what was decided
|
|
32
|
-
| [
|
|
33
|
-
| [
|
|
34
|
-
| [
|
|
27
|
+
| Piece | What it does |
|
|
28
|
+
| ------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
|
|
29
|
+
| [Permission](../ask-permission) | Asks before a command runs, with a note the model reads. A model answers the easy ones for you |
|
|
30
|
+
| [Questions](../ask-questions) | The model asks instead of guessing, with options, a preview of each, a note on any and your own answer |
|
|
31
|
+
| [Tasks](../tasks) | Keeps what the session is doing, what it did and with what result, what waits on you, and what was decided |
|
|
32
|
+
| [Compact](../compact) | Hides old tool output in long sessions to cut what each request costs, and writes pi's compaction summary from the tasks |
|
|
33
|
+
| [Skill calls](../skills) | Call the skills you already have from anywhere in a message, several at once, shown as chips |
|
|
34
|
+
| [Look](../look) | The start screen, the editor with the branch and the model on its borders, and a box around each command |
|
|
35
|
+
| [Providers](../providers) | Bills Anthropic OAuth requests to your Claude plan, and keeps several accounts per provider |
|
|
35
36
|
|
|
36
37
|
All of them are on once the package is installed.
|
|
37
38
|
|
|
@@ -40,7 +41,7 @@ All of them are on once the package is installed.
|
|
|
40
41
|
|
|
41
42
|
## Turning a piece off
|
|
42
43
|
|
|
43
|
-
Each piece is its own extension in this package, so `pi config` switches off the one you do not want, globally or for one project. The settings file has a switch per feature too, read on the next `/reload`, and the feature ids are `permission`, `look`, `subscription`, `accounts`, `questions`, `skills` and `
|
|
44
|
+
Each piece is its own extension in this package, so `pi config` switches off the one you do not want, globally or for one project. The settings file has a switch per feature too, read on the next `/reload`, and the feature ids are `permission`, `look`, `subscription`, `accounts`, `questions`, `skills`, `tasks` and `compact`.
|
|
44
45
|
|
|
45
46
|
```json
|
|
46
47
|
{ "features": { "subscription": { "enabled": false } } }
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adeildo/pi-harness",
|
|
3
|
-
"version": "5.
|
|
4
|
-
"description": "Every adeildo Pi extension in one install: the permission dialog, the look, the providers, the questions, the skill calls and the
|
|
3
|
+
"version": "5.7.1",
|
|
4
|
+
"description": "Every adeildo Pi extension in one install: the permission dialog, the look, the providers, the questions, the skill calls the session tasks and the context pruning. Each is its own extension, so pi config turns one off.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"anthropic",
|
|
7
|
+
"compaction",
|
|
7
8
|
"permission",
|
|
8
9
|
"pi",
|
|
9
10
|
"pi-coding-agent",
|
|
@@ -35,13 +36,14 @@
|
|
|
35
36
|
"access": "public"
|
|
36
37
|
},
|
|
37
38
|
"dependencies": {
|
|
38
|
-
"@adeildo/pi-ask-permission": "5.
|
|
39
|
-
"@adeildo/pi-ask-questions": "5.
|
|
40
|
-
"@adeildo/pi-
|
|
41
|
-
"@adeildo/pi-
|
|
42
|
-
"@adeildo/pi-
|
|
43
|
-
"@adeildo/pi-
|
|
44
|
-
"@adeildo/pi-
|
|
39
|
+
"@adeildo/pi-ask-permission": "5.7.1",
|
|
40
|
+
"@adeildo/pi-ask-questions": "5.7.1",
|
|
41
|
+
"@adeildo/pi-compact": "5.7.1",
|
|
42
|
+
"@adeildo/pi-kit": "5.7.1",
|
|
43
|
+
"@adeildo/pi-look": "5.7.1",
|
|
44
|
+
"@adeildo/pi-providers": "5.7.1",
|
|
45
|
+
"@adeildo/pi-skills": "5.7.1",
|
|
46
|
+
"@adeildo/pi-tasks": "5.7.1"
|
|
45
47
|
},
|
|
46
48
|
"peerDependencies": {
|
|
47
49
|
"@earendil-works/pi-ai": "*",
|
|
@@ -55,7 +57,8 @@
|
|
|
55
57
|
"./src/providers.ts",
|
|
56
58
|
"./src/questions.ts",
|
|
57
59
|
"./src/skills.ts",
|
|
58
|
-
"./src/tasks.ts"
|
|
60
|
+
"./src/tasks.ts",
|
|
61
|
+
"./src/compact.ts"
|
|
59
62
|
]
|
|
60
63
|
}
|
|
61
64
|
}
|
package/src/compact.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { compact } from "@adeildo/pi-compact";
|
|
2
|
+
import { createApp } from "@adeildo/pi-kit";
|
|
3
|
+
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
|
|
4
|
+
|
|
5
|
+
export default function harnessCompact(pi: ExtensionAPI): void {
|
|
6
|
+
createApp(pi, { name: "pi-harness" }).use(compact).build();
|
|
7
|
+
}
|