@raidou/pi-pm-subagents 0.1.1 → 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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Weirong Xu <weirongxu.raidou@gmail.com>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the "Software"),
7
+ to deal in the Software without restriction, including without limitation
8
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
9
+ and/or sell copies of the Software, and to permit persons to whom the
10
+ Software is furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included
13
+ in all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
18
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
19
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
20
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
21
+ OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/agents/planner.md CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Produces an implementation plan, the plan is reviewed by the user before implementation
2
+ description: Produces an implementation plan, after user review, the approved plan will send to you for implementation
3
3
  removeTools:
4
4
  - write
5
5
  - edit
@@ -8,6 +8,7 @@ extraTools:
8
8
  - bash_readonly
9
9
  reviewOnEnd: true
10
10
  ---
11
+
11
12
  You are in plan mode — a read-only exploration mode. You cannot modify files.
12
13
 
13
14
  1. Investigate the request thoroughly using read-only tools.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raidou/pi-pm-subagents",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Coordinator mode for pi: a read-only coordinator agent that drives isolated subagents, including a planner role.",
5
5
  "keywords": [
6
6
  "pi",
@@ -18,6 +18,13 @@
18
18
  "./src/index.ts"
19
19
  ]
20
20
  },
21
+ "files": [
22
+ "src",
23
+ "agents",
24
+ "README.zh-CN.md",
25
+ "example-prompts",
26
+ "pm-subagents-prompts"
27
+ ],
21
28
  "scripts": {
22
29
  "test": "pnpm test:types && pnpm test:lint && pnpm test:unit",
23
30
  "test:types": "tsc --noEmit",
@@ -53,9 +53,6 @@ describe('roles', () => {
53
53
  )
54
54
  expect(planner.fm.reviewOnEnd).toBe(true)
55
55
  expect(planner.fm.removeTools).toEqual(['write', 'edit', 'bash'])
56
- expect(planner.fm.description).toBe(
57
- 'Produces an implementation plan, the plan is reviewed by the user before implementation',
58
- )
59
56
  })
60
57
 
61
58
  it('returns built-ins and plugin roles when no user directories exist', async () => {
package/.prettierrc DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "singleQuote": true,
3
- "trailingComma": "all",
4
- "arrowParens": "always",
5
- "semi": false,
6
- "printWidth": 80
7
- }
package/AGENTS.md DELETED
@@ -1 +0,0 @@
1
- - use `pnpm test` to check and fix after edit, always test types, lint, and unit (if have)
package/eslint.config.mjs DELETED
@@ -1,14 +0,0 @@
1
- // @ts-check
2
- import { tsconfig } from '@raidou/eslint-config-base'
3
- import { defineConfig } from 'eslint/config'
4
- export default defineConfig([
5
- {
6
- files: [
7
- 'src/**/*.{mjs,ts,tsx,js,jsx}',
8
- 'app/*.{mjs,ts,tsx,js,jsx}',
9
- 'app/src/**/*.{mjs,ts,tsx,js,jsx}',
10
- '*.{mjs,ts,tsx,js,jsx}',
11
- ],
12
- extends: [tsconfig],
13
- },
14
- ])
@@ -1,5 +0,0 @@
1
- allowBuilds:
2
- '@google/genai': false
3
- protobufjs: false
4
- minimumReleaseAgeExclude:
5
- - typebox@1.3.9
package/tsconfig.json DELETED
@@ -1,24 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "outDir": "dist",
4
- "jsx": "react-jsx",
5
- "declaration": false,
6
- "allowJs": true,
7
- "lib": ["DOM", "ES2022"],
8
- "target": "ES2022",
9
- "module": "nodenext",
10
- "stripInternal": true,
11
- "resolveJsonModule": true,
12
- "moduleResolution": "nodenext",
13
- "esModuleInterop": true,
14
- "sourceMap": true,
15
- "strict": true,
16
- "allowImportingTsExtensions": true,
17
- "rewriteRelativeImportExtensions": true,
18
- "forceConsistentCasingInFileNames": true,
19
- "noUncheckedIndexedAccess": true,
20
- "verbatimModuleSyntax": true,
21
- "skipLibCheck": true
22
- },
23
- "include": ["src", "*.ts", "*.tsx", "*.js", "*.jsx", "*.mjs"]
24
- }
package/vitest.config.ts DELETED
@@ -1,8 +0,0 @@
1
- import { defineConfig } from 'vitest/config'
2
-
3
- export default defineConfig({
4
- test: {
5
- globals: false,
6
- include: ['src/**/*.test.ts'],
7
- },
8
- })