pi-team-mode 0.1.0 → 0.1.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/LICENSE +21 -0
- package/README.md +2 -0
- package/package.json +9 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 sxu
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -61,6 +61,8 @@ npm run test:pi # real Pi TUI lifecycle, using the nested build
|
|
|
61
61
|
npm pack --dry-run # preview release contents; does not publish
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
+
Pack releases from this nested directory with `npm pack` (without `--ignore-scripts`). The `prepack` hook builds the extension and copies the repository-root `LICENSE` verbatim into the npm package; the root file is the source of truth.
|
|
65
|
+
|
|
64
66
|
After publication, run `python3 test/pi-smoke.py npm:pi-team-mode <version>` to check the actual npm install and version in a disposable Pi home. The package install uses the npm registry, but the TUI and worker use only the loopback fake model.
|
|
65
67
|
|
|
66
68
|
To exercise the RPC adapter in the real TUI, set `PI_TEAM_TEST_SUBAGENTS` to the absolute path of a local compatible `pi-subagents` package before running `npm run test:pi`. From the repository root, run `python3 pi-team-mode/test/pi-smoke.py --git-mirror .` to test the committed `main` via a private temporary Git mirror and a mocked GitHub response. This checks Git install, manual update, reload, and removal without contacting GitHub or a model service. All smoke paths use a disposable Pi config and fake credentials.
|
package/package.json
CHANGED
|
@@ -1,17 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-team-mode",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Efficiency-first teams for Pi with background workers and a foreground Team Lead",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/flaminigo/pi-team-mode.git",
|
|
9
|
+
"directory": "pi-team-mode"
|
|
10
|
+
},
|
|
5
11
|
"type": "module",
|
|
6
12
|
"engines": { "node": ">=22" },
|
|
7
13
|
"keywords": ["pi-package", "pi", "team"],
|
|
8
|
-
"files": ["dist", "README.md"],
|
|
14
|
+
"files": ["dist", "README.md", "LICENSE"],
|
|
9
15
|
"pi": { "extensions": ["./dist/extension.js"] },
|
|
10
16
|
"scripts": {
|
|
11
17
|
"build": "tsc -p tsconfig.json",
|
|
12
18
|
"test": "npm run build && node --test test/*.test.mjs",
|
|
13
19
|
"test:pi": "npm run build && python3 test/pi-smoke.py",
|
|
14
|
-
"prepack": "npm run build"
|
|
20
|
+
"prepack": "npm run build && node -e \"require('node:fs').copyFileSync('../LICENSE', 'LICENSE')\""
|
|
15
21
|
},
|
|
16
22
|
"peerDependencies": {
|
|
17
23
|
"@earendil-works/pi-coding-agent": "*",
|