@nmzpy/pi-ember-stack 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/ATTRIBUTION.md +9 -0
- package/README.md +63 -0
- package/package.json +50 -0
- package/src/pi-ember-stack.ts +983 -0
- package/src/questionnaire-tool.ts +287 -0
- package/src/subagent/LICENSE +21 -0
- package/src/subagent/README.md +52 -0
- package/src/subagent/agent-format.md +64 -0
- package/src/subagent/agents/architect.md +56 -0
- package/src/subagent/agents/coder.md +35 -0
- package/src/subagent/agents/general-purpose.md +13 -0
- package/src/subagent/agents/reviewer.md +36 -0
- package/src/subagent/agents/scout.md +44 -0
- package/src/subagent/agents/worker.md +15 -0
- package/src/subagent/extensions/agents.ts +223 -0
- package/src/subagent/extensions/index.ts +1218 -0
- package/src/subagent/extensions/model.ts +86 -0
- package/src/subagent/extensions/package.json +3 -0
- package/src/subagent/extensions/render.ts +278 -0
- package/src/subagent/extensions/runner.ts +317 -0
- package/src/subagent/extensions/service.ts +79 -0
- package/src/subagent/extensions/thread-viewer.ts +393 -0
- package/src/subagent/extensions/threads.ts +116 -0
- package/tsconfig.json +13 -0
package/ATTRIBUTION.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Attribution
|
|
2
|
+
|
|
3
|
+
`src/subagent/extensions/` and the upstream bundled agent files were vendored
|
|
4
|
+
from `@bacnh85/pi-subagent` version `0.5.0`.
|
|
5
|
+
|
|
6
|
+
The upstream package declares the MIT license. The vendored subtree retains
|
|
7
|
+
that license in `src/subagent/LICENSE`, along with the original README, agent
|
|
8
|
+
format documentation, bundled roles, package version, and attribution.
|
|
9
|
+
Upstream project: <https://github.com/bacnh85/pi-extensions>.
|
package/README.md
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# pi-ember-stack
|
|
2
|
+
|
|
3
|
+
The Ember-owned pi package. It installs the complete Ember agent workflow as
|
|
4
|
+
one package:
|
|
5
|
+
|
|
6
|
+
- Primary modes: `/coder`, `/architect`, `/doctor`, `/orchestrator`, and
|
|
7
|
+
`/ui-doctor`.
|
|
8
|
+
- Inline `questionnaire` UI for decision-oriented questions. Agents are told to
|
|
9
|
+
prefer it when they need a user choice.
|
|
10
|
+
- A compact native `edit` renderer that shows the filename and a single
|
|
11
|
+
`+N / -N` result row.
|
|
12
|
+
- Vendored subagent support with bundled `coder` and `architect` definitions,
|
|
13
|
+
plus the upstream bundled roles.
|
|
14
|
+
- A self-contained `Ctrl+Space` mode-cycle shortcut and a footer showing the
|
|
15
|
+
active mode, model, and thinking variant.
|
|
16
|
+
|
|
17
|
+
## Project setup
|
|
18
|
+
|
|
19
|
+
The Ember repository contains a project-local `.pi/settings.json` entry for:
|
|
20
|
+
|
|
21
|
+
```json
|
|
22
|
+
"npm:@nmzpy/pi-ember-stack@0.1.0"
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
On a new clone, start pi from the project directory. Pi will ask for a
|
|
26
|
+
one-time project trust decision before it installs the package into the
|
|
27
|
+
project-local `.pi/npm/` directory. The same decision can be approved
|
|
28
|
+
non-interactively with:
|
|
29
|
+
|
|
30
|
+
```text
|
|
31
|
+
pi --approve
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Project trust is intentionally a user decision; a repository cannot safely
|
|
35
|
+
bypass it. After trust, normal startup is just `pi` from the Ember directory.
|
|
36
|
+
|
|
37
|
+
When a new version is intentionally released, update the pinned version in
|
|
38
|
+
the project settings and run:
|
|
39
|
+
|
|
40
|
+
```text
|
|
41
|
+
pi update --extensions
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Third-party utilities such as pi-fff, image paste, and Devin authentication
|
|
45
|
+
remain separate package entries. Credentials and provider secrets stay in the
|
|
46
|
+
machine-local pi configuration and are not part of this repository.
|
|
47
|
+
|
|
48
|
+
## Development
|
|
49
|
+
|
|
50
|
+
The package entrypoint is `src/pi-ember-stack.ts`. The vendored subagent
|
|
51
|
+
entrypoint is `src/subagent/extensions/index.ts`; all bundled agent files are
|
|
52
|
+
under `src/subagent/agents/`.
|
|
53
|
+
|
|
54
|
+
Run the package typecheck with:
|
|
55
|
+
|
|
56
|
+
```text
|
|
57
|
+
npm install
|
|
58
|
+
npm run typecheck
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
The package is cross-platform: bundled paths are resolved from `import.meta.url`
|
|
62
|
+
and do not depend on a Windows home directory or the current working
|
|
63
|
+
directory.
|
package/package.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@nmzpy/pi-ember-stack",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Ember's primary modes, questionnaire UI, compact edit renderer, and subagents for pi",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"pi-package",
|
|
9
|
+
"pi-extension",
|
|
10
|
+
"ember"
|
|
11
|
+
],
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git+https://github.com/nmzpy/pi-ember-stack.git"
|
|
15
|
+
},
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/nmzpy/pi-ember-stack/issues"
|
|
18
|
+
},
|
|
19
|
+
"scripts": {
|
|
20
|
+
"typecheck": "tsc --noEmit"
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"README.md",
|
|
24
|
+
"ATTRIBUTION.md",
|
|
25
|
+
"tsconfig.json",
|
|
26
|
+
"src"
|
|
27
|
+
],
|
|
28
|
+
"pi": {
|
|
29
|
+
"extensions": [
|
|
30
|
+
"./src/pi-ember-stack.ts",
|
|
31
|
+
"./src/subagent/extensions/index.ts"
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
"peerDependencies": {
|
|
35
|
+
"@earendil-works/pi-ai": "*",
|
|
36
|
+
"@earendil-works/pi-agent-core": "*",
|
|
37
|
+
"@earendil-works/pi-coding-agent": "*",
|
|
38
|
+
"@earendil-works/pi-tui": "*",
|
|
39
|
+
"typebox": "*"
|
|
40
|
+
},
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"@earendil-works/pi-ai": "^0.80.6",
|
|
43
|
+
"@earendil-works/pi-agent-core": "^0.80.6",
|
|
44
|
+
"@earendil-works/pi-coding-agent": "^0.80.6",
|
|
45
|
+
"@earendil-works/pi-tui": "^0.80.6",
|
|
46
|
+
"@types/node": "^20.19.43",
|
|
47
|
+
"typebox": "^1.3.1",
|
|
48
|
+
"typescript": "^5.9.3"
|
|
49
|
+
}
|
|
50
|
+
}
|