@nmzpy/pi-ember-stack 0.1.2 → 0.1.3
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
CHANGED
|
@@ -23,14 +23,14 @@ plugins under `plugins/`. Ember projects enable them in `.pi/ember-stack.json`:
|
|
|
23
23
|
|
|
24
24
|
```json
|
|
25
25
|
{
|
|
26
|
-
"plugins": ["
|
|
26
|
+
"plugins": ["pi-compact-tools", "subagent", "devin-auth"]
|
|
27
27
|
}
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
Remove a plugin ID to disable it, or use `/stack-plugins` to toggle one from
|
|
31
31
|
the TUI. Restart pi after changing the list. The available plugins are:
|
|
32
32
|
|
|
33
|
-
- `
|
|
33
|
+
- `pi-compact-tools`: compact edit rendering, modes, questionnaire, and footer.
|
|
34
34
|
- `subagent`: bundled subagent tool and agent definitions.
|
|
35
35
|
- `devin-auth`: Devin provider, OAuth, catalog refresh, and streaming.
|
|
36
36
|
|
|
@@ -39,7 +39,7 @@ the TUI. Restart pi after changing the list. The available plugins are:
|
|
|
39
39
|
The Ember repository contains a project-local `.pi/settings.json` entry for:
|
|
40
40
|
|
|
41
41
|
```json
|
|
42
|
-
"npm:@nmzpy/pi-ember-stack@0.1.
|
|
42
|
+
"npm:@nmzpy/pi-ember-stack@0.1.3"
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
On a new clone, start pi from the project directory. Pi will ask for a
|
|
@@ -68,8 +68,8 @@ of this repository.
|
|
|
68
68
|
|
|
69
69
|
## Development
|
|
70
70
|
|
|
71
|
-
The package entrypoint is `plugins/index.ts`. Ember
|
|
72
|
-
`plugins/
|
|
71
|
+
The package entrypoint is `plugins/index.ts`. Compact tools and Ember modes are
|
|
72
|
+
under `plugins/pi-compact-tools/`, subagents and bundled agents are under `plugins/subagent/`,
|
|
73
73
|
and Devin auth is under `plugins/devin-auth/`.
|
|
74
74
|
|
|
75
75
|
Run the package typecheck with:
|
package/package.json
CHANGED
package/plugins/index.ts
CHANGED
|
@@ -3,10 +3,10 @@ import * as path from "node:path";
|
|
|
3
3
|
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
|
|
4
4
|
|
|
5
5
|
import devinAuthPlugin from "./devin-auth/extensions/index.ts";
|
|
6
|
-
import
|
|
6
|
+
import piCompactToolsPlugin from "./pi-compact-tools/index.ts";
|
|
7
7
|
import subagentPlugin from "./subagent/extensions/index.ts";
|
|
8
8
|
|
|
9
|
-
type PluginId = "
|
|
9
|
+
type PluginId = "pi-compact-tools" | "subagent" | "devin-auth";
|
|
10
10
|
type StackPlugin = {
|
|
11
11
|
id: PluginId;
|
|
12
12
|
description: string;
|
|
@@ -19,16 +19,16 @@ type StackPluginConfig = {
|
|
|
19
19
|
|
|
20
20
|
const CONFIG_RELATIVE_PATH = path.join(".pi", "ember-stack.json");
|
|
21
21
|
const DEFAULT_PLUGIN_IDS: readonly PluginId[] = [
|
|
22
|
-
"
|
|
22
|
+
"pi-compact-tools",
|
|
23
23
|
"subagent",
|
|
24
24
|
"devin-auth",
|
|
25
25
|
];
|
|
26
26
|
|
|
27
27
|
const PLUGINS: readonly StackPlugin[] = [
|
|
28
28
|
{
|
|
29
|
-
id: "
|
|
30
|
-
description: "
|
|
31
|
-
extension:
|
|
29
|
+
id: "pi-compact-tools",
|
|
30
|
+
description: "Compact edit rendering, modes, questionnaire, and footer",
|
|
31
|
+
extension: piCompactToolsPlugin,
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
id: "subagent",
|
|
File without changes
|
|
File without changes
|