@johnnywu/pi-agent-profiles 0.0.0-stage → 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/LICENSE +21 -0
- package/README.md +57 -2
- package/dist/agent-profile.d.ts +43 -0
- package/dist/agent-profile.js +130 -0
- package/dist/agent-prompt.d.ts +16 -0
- package/dist/agent-prompt.js +77 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/package.json +27 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 jwu
|
|
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
|
@@ -1,3 +1,58 @@
|
|
|
1
|
-
#
|
|
1
|
+
# pi-agent-profiles
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
`@johnnywu/pi-agent-profiles` is a shared library for loading Markdown agent profiles and applying them to Pi's system prompt. It supports Pi 1.6 and later in the 1.x series.
|
|
4
|
+
|
|
5
|
+
## Agent definitions
|
|
6
|
+
|
|
7
|
+
Name lookup uses the user's `~/.pi/agent/agents/` directory and the selected workspace's `.pi/agents/` directory. The project takes precedence by frontmatter `name`. Within one directory, the first file in filename order wins. Invalid files are reported with their paths.
|
|
8
|
+
|
|
9
|
+
```markdown
|
|
10
|
+
---
|
|
11
|
+
name: reviewer
|
|
12
|
+
description: Reviews code changes.
|
|
13
|
+
tools: read, grep, find, ls
|
|
14
|
+
skills: review-*, tdd
|
|
15
|
+
systemPrompt: replace
|
|
16
|
+
thinking: high
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
Review the changes. Report actionable findings with file and line references.
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
The scalar frontmatter format also accepts `model`, `allowedAgents`, `maxDepth`, and `debug`. Only `name` is required. `thinking` defaults to `off`, `maxDepth` to `10`, and `systemPrompt` to `append`.
|
|
23
|
+
|
|
24
|
+
## Extension integration
|
|
25
|
+
|
|
26
|
+
```ts
|
|
27
|
+
import { applyAgentProfile, loadAgentDefinitions } from '@johnnywu/pi-agent-profiles';
|
|
28
|
+
|
|
29
|
+
const { agents, warnings } = await loadAgentDefinitions({ cwd: workspace });
|
|
30
|
+
const profile = agents.find((agent) => agent.name === selectedName);
|
|
31
|
+
// Report warnings and handle an unknown agent in the calling extension.
|
|
32
|
+
if (profile) {
|
|
33
|
+
pi.on('before_agent_start', (event) => {
|
|
34
|
+
const { missingSkills } = applyAgentProfile(profile, event.systemPromptOptions);
|
|
35
|
+
// Report missingSkills through the extension's UI or tool result.
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Use `loadAgentFromPath(path, cwd)` for an explicit Markdown path, or `parseAgentProfile(content, path, source)` when the caller already has the contents. `loadAgentDefinitions` also accepts `agentDir`, `globalDir`, and `projectDir` overrides. By default it honors `PI_CODING_AGENT_DIR` for the user agent directory.
|
|
41
|
+
|
|
42
|
+
- `append` adds the profile body after Pi's existing append prompt.
|
|
43
|
+
- `replace` uses the profile body as Pi's custom preamble, injects visible tool descriptions and guidelines, and retains project context.
|
|
44
|
+
- `replace-all` also clears project context when assembling the prompt. A child launcher can pass Pi's `--no-context-files` option to skip loading those files entirely.
|
|
45
|
+
|
|
46
|
+
The optional `<pi-subagents-runtime-tools />` marker controls where the tool block appears in a replacement prompt. Pi renders the selected skills from the session's discovered skills. Patterns support `*`. A profile without `skills` supplies an empty skill list to the prompt. Callers can use `selectAgentSkills` to match a separate catalog or `formatRuntimeTools` to render the tool block independently.
|
|
47
|
+
|
|
48
|
+
The caller activates the model and tool selection, enforces delegation rules, and decides how to run and debug the session. Apply the profile after configuring tools so the descriptions reflect the active set.
|
|
49
|
+
|
|
50
|
+
## Development
|
|
51
|
+
|
|
52
|
+
```sh
|
|
53
|
+
bun install
|
|
54
|
+
bun run lint
|
|
55
|
+
bun test
|
|
56
|
+
bun run build
|
|
57
|
+
npm pack --dry-run
|
|
58
|
+
```
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
declare const thinkingLevels: readonly ["off", "minimal", "low", "medium", "high", "xhigh"];
|
|
2
|
+
declare const promptModes: readonly ["append", "replace", "replace-all"];
|
|
3
|
+
export type AgentSource = 'global' | 'project' | 'path';
|
|
4
|
+
export type ThinkingLevel = (typeof thinkingLevels)[number];
|
|
5
|
+
export type SystemPromptMode = (typeof promptModes)[number];
|
|
6
|
+
export interface AgentProfile {
|
|
7
|
+
name: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
model?: string;
|
|
10
|
+
thinking: ThinkingLevel;
|
|
11
|
+
tools: string[];
|
|
12
|
+
skills?: string[];
|
|
13
|
+
allowedAgents?: string[];
|
|
14
|
+
maxDepth: number;
|
|
15
|
+
debug: boolean;
|
|
16
|
+
systemPromptMode: SystemPromptMode;
|
|
17
|
+
prompt: string;
|
|
18
|
+
source: AgentSource;
|
|
19
|
+
filePath: string;
|
|
20
|
+
}
|
|
21
|
+
export interface AgentDefinitionWarning {
|
|
22
|
+
filePath: string;
|
|
23
|
+
message: string;
|
|
24
|
+
}
|
|
25
|
+
export interface AgentDefinitions {
|
|
26
|
+
agents: AgentProfile[];
|
|
27
|
+
warnings: AgentDefinitionWarning[];
|
|
28
|
+
}
|
|
29
|
+
export interface LoadAgentDefinitionsOptions {
|
|
30
|
+
cwd?: string;
|
|
31
|
+
agentDir?: string;
|
|
32
|
+
globalDir?: string;
|
|
33
|
+
projectDir?: string;
|
|
34
|
+
fs?: AgentDefinitionFs;
|
|
35
|
+
}
|
|
36
|
+
export interface AgentDefinitionFs {
|
|
37
|
+
listFiles(dir: string): Promise<string[]>;
|
|
38
|
+
readFile(filePath: string): Promise<string>;
|
|
39
|
+
}
|
|
40
|
+
export declare function parseAgentProfile(content: string, filePath: string, source?: AgentSource): AgentProfile;
|
|
41
|
+
export declare function loadAgentFromPath(selector: string, cwd?: string): Promise<AgentProfile>;
|
|
42
|
+
export declare function loadAgentDefinitions(options?: LoadAgentDefinitionsOptions): Promise<AgentDefinitions>;
|
|
43
|
+
export {};
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { readdir, readFile } from 'node:fs/promises';
|
|
2
|
+
import { homedir } from 'node:os';
|
|
3
|
+
import { join, resolve } from 'node:path';
|
|
4
|
+
const thinkingLevels = ['off', 'minimal', 'low', 'medium', 'high', 'xhigh'];
|
|
5
|
+
const promptModes = ['append', 'replace', 'replace-all'];
|
|
6
|
+
const defaultFs = {
|
|
7
|
+
async listFiles(dir) {
|
|
8
|
+
const entries = await readdir(dir, { withFileTypes: true });
|
|
9
|
+
return entries
|
|
10
|
+
.filter((entry) => entry.isFile() || entry.isSymbolicLink())
|
|
11
|
+
.map((entry) => join(dir, entry.name));
|
|
12
|
+
},
|
|
13
|
+
readFile(filePath) {
|
|
14
|
+
return readFile(filePath, 'utf8');
|
|
15
|
+
},
|
|
16
|
+
};
|
|
17
|
+
function errorMessage(error) {
|
|
18
|
+
return error instanceof Error ? error.message : String(error);
|
|
19
|
+
}
|
|
20
|
+
function csv(value = '') {
|
|
21
|
+
return value
|
|
22
|
+
.split(',')
|
|
23
|
+
.map((item) => item.trim())
|
|
24
|
+
.filter(Boolean);
|
|
25
|
+
}
|
|
26
|
+
function choice(field, value, choices) {
|
|
27
|
+
const match = choices.find((item) => item === (value ?? choices[0]));
|
|
28
|
+
if (!match)
|
|
29
|
+
throw new Error(`invalid ${field}: ${value}`);
|
|
30
|
+
return match;
|
|
31
|
+
}
|
|
32
|
+
export function parseAgentProfile(content, filePath, source = 'path') {
|
|
33
|
+
const normalized = content.replace(/^\uFEFF/, '').replace(/\r\n?/g, '\n');
|
|
34
|
+
if (!normalized.startsWith('---\n'))
|
|
35
|
+
throw new Error('missing frontmatter');
|
|
36
|
+
const match = /^---\n([\s\S]*?)\n---(?:\n|$)/.exec(normalized);
|
|
37
|
+
if (!match)
|
|
38
|
+
throw new Error('missing frontmatter terminator');
|
|
39
|
+
// The original scalar format allows bare wildcards and comma-separated names.
|
|
40
|
+
const fields = new Map();
|
|
41
|
+
for (const line of match[1].split('\n')) {
|
|
42
|
+
const trimmed = line.trim();
|
|
43
|
+
if (!trimmed || trimmed.startsWith('#'))
|
|
44
|
+
continue;
|
|
45
|
+
const separator = trimmed.indexOf(':');
|
|
46
|
+
if (separator === -1)
|
|
47
|
+
throw new Error(`invalid frontmatter line: ${line}`);
|
|
48
|
+
const key = trimmed.slice(0, separator).trim();
|
|
49
|
+
if (!key)
|
|
50
|
+
throw new Error(`invalid frontmatter key: ${line}`);
|
|
51
|
+
fields.set(key, trimmed
|
|
52
|
+
.slice(separator + 1)
|
|
53
|
+
.trim()
|
|
54
|
+
.replace(/^['"]|['"]$/g, ''));
|
|
55
|
+
}
|
|
56
|
+
const name = fields.get('name');
|
|
57
|
+
if (!name)
|
|
58
|
+
throw new Error('missing required field: name');
|
|
59
|
+
const thinking = choice('thinking', fields.get('thinking'), thinkingLevels);
|
|
60
|
+
const systemPromptMode = choice('systemPrompt', fields.get('systemPrompt'), promptModes);
|
|
61
|
+
const maxDepth = Number(fields.get('maxDepth') ?? 10);
|
|
62
|
+
if (!Number.isSafeInteger(maxDepth) || maxDepth < 0) {
|
|
63
|
+
throw new Error(`invalid maxDepth: ${fields.get('maxDepth')}`);
|
|
64
|
+
}
|
|
65
|
+
const debug = fields.get('debug');
|
|
66
|
+
if (debug !== undefined && debug !== 'true' && debug !== 'false') {
|
|
67
|
+
throw new Error(`invalid debug: ${debug}`);
|
|
68
|
+
}
|
|
69
|
+
const skills = csv(fields.get('skills'));
|
|
70
|
+
const allowedAgents = csv(fields.get('allowedAgents'));
|
|
71
|
+
return {
|
|
72
|
+
name,
|
|
73
|
+
description: fields.get('description') || undefined,
|
|
74
|
+
model: fields.get('model') || undefined,
|
|
75
|
+
thinking,
|
|
76
|
+
tools: csv(fields.get('tools')),
|
|
77
|
+
skills: skills.length ? skills : undefined,
|
|
78
|
+
allowedAgents: allowedAgents.length ? allowedAgents : undefined,
|
|
79
|
+
maxDepth,
|
|
80
|
+
debug: debug === 'true',
|
|
81
|
+
systemPromptMode,
|
|
82
|
+
prompt: normalized
|
|
83
|
+
.slice(match[0].length)
|
|
84
|
+
.replace(/^\n+/, '')
|
|
85
|
+
.replaceAll('<pi-runtime-tools />', ''),
|
|
86
|
+
source,
|
|
87
|
+
filePath,
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
export async function loadAgentFromPath(selector, cwd = process.cwd()) {
|
|
91
|
+
const input = selector.trim();
|
|
92
|
+
const filePath = resolve(cwd, /^~[/\\]/.test(input) ? join(homedir(), input.slice(2)) : input);
|
|
93
|
+
if (!filePath.toLowerCase().endsWith('.md'))
|
|
94
|
+
throw new Error('agent path must point to a .md file');
|
|
95
|
+
return parseAgentProfile(await readFile(filePath, 'utf8'), filePath);
|
|
96
|
+
}
|
|
97
|
+
export async function loadAgentDefinitions(options = {}) {
|
|
98
|
+
const cwd = options.cwd ?? process.cwd();
|
|
99
|
+
const agentDir = options.agentDir ?? (process.env.PI_CODING_AGENT_DIR || join(homedir(), '.pi', 'agent'));
|
|
100
|
+
const dirs = [
|
|
101
|
+
[resolve(options.globalDir ?? join(agentDir, 'agents')), 'global'],
|
|
102
|
+
[resolve(cwd, options.projectDir ?? join('.pi', 'agents')), 'project'],
|
|
103
|
+
];
|
|
104
|
+
const warnings = [];
|
|
105
|
+
const byName = new Map();
|
|
106
|
+
const fileSystem = options.fs ?? defaultFs;
|
|
107
|
+
for (const [dir, source] of dirs) {
|
|
108
|
+
const files = await fileSystem.listFiles(dir).catch((error) => {
|
|
109
|
+
if (error.code !== 'ENOENT')
|
|
110
|
+
warnings.push({ filePath: dir, message: errorMessage(error) });
|
|
111
|
+
return [];
|
|
112
|
+
});
|
|
113
|
+
const seen = new Set();
|
|
114
|
+
for (const filePath of [...files].sort()) {
|
|
115
|
+
if (!filePath.endsWith('.md'))
|
|
116
|
+
continue;
|
|
117
|
+
try {
|
|
118
|
+
const agent = parseAgentProfile(await fileSystem.readFile(filePath), filePath, source);
|
|
119
|
+
if (seen.has(agent.name))
|
|
120
|
+
continue;
|
|
121
|
+
seen.add(agent.name);
|
|
122
|
+
byName.set(agent.name, agent);
|
|
123
|
+
}
|
|
124
|
+
catch (error) {
|
|
125
|
+
warnings.push({ filePath, message: errorMessage(error) });
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
return { agents: [...byName.values()], warnings };
|
|
130
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { NormalizedBuildSystemPromptOptions } from '@earendil-works/pi-coding-agent';
|
|
2
|
+
import type { AgentProfile } from './agent-profile.js';
|
|
3
|
+
export interface SkillSelection<T> {
|
|
4
|
+
selected: T[];
|
|
5
|
+
missing: string[];
|
|
6
|
+
}
|
|
7
|
+
export declare function selectAgentSkills<T extends {
|
|
8
|
+
name: string;
|
|
9
|
+
}>(patterns: readonly string[], available: readonly T[]): SkillSelection<T>;
|
|
10
|
+
type ToolPromptOptions = Pick<NormalizedBuildSystemPromptOptions, 'selectedTools' | 'hiddenTools' | 'toolSnippets' | 'toolGuidelines' | 'promptGuidelines'>;
|
|
11
|
+
export declare function formatRuntimeTools(options: ToolPromptOptions): string;
|
|
12
|
+
export interface AgentPromptResult {
|
|
13
|
+
missingSkills: string[];
|
|
14
|
+
}
|
|
15
|
+
export declare function applyAgentProfile(profile: Pick<AgentProfile, 'prompt' | 'systemPromptMode' | 'skills'>, options: NormalizedBuildSystemPromptOptions): AgentPromptResult;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
const runtimeToolsMarker = '<pi-subagents-runtime-tools />';
|
|
2
|
+
export function selectAgentSkills(patterns, available) {
|
|
3
|
+
const byName = new Map();
|
|
4
|
+
for (const skill of available) {
|
|
5
|
+
if (!byName.has(skill.name))
|
|
6
|
+
byName.set(skill.name, skill);
|
|
7
|
+
}
|
|
8
|
+
const selected = new Map();
|
|
9
|
+
const missing = new Set();
|
|
10
|
+
for (const pattern of patterns) {
|
|
11
|
+
const exact = byName.get(pattern);
|
|
12
|
+
let matches = exact ? [exact] : [];
|
|
13
|
+
if (pattern.includes('*')) {
|
|
14
|
+
const matcher = wildcardMatcher(pattern);
|
|
15
|
+
matches = [...byName.values()].filter((skill) => matcher.test(skill.name));
|
|
16
|
+
}
|
|
17
|
+
if (!matches.length)
|
|
18
|
+
missing.add(pattern);
|
|
19
|
+
for (const skill of matches)
|
|
20
|
+
selected.set(skill.name, skill);
|
|
21
|
+
}
|
|
22
|
+
return { selected: [...selected.values()], missing: [...missing] };
|
|
23
|
+
}
|
|
24
|
+
function wildcardMatcher(pattern) {
|
|
25
|
+
const expression = pattern
|
|
26
|
+
.split('*')
|
|
27
|
+
.map((part) => part.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'))
|
|
28
|
+
.join('.*');
|
|
29
|
+
return new RegExp(`^${expression}$`);
|
|
30
|
+
}
|
|
31
|
+
export function formatRuntimeTools(options) {
|
|
32
|
+
const visible = options.selectedTools.filter((name) => !options.hiddenTools.includes(name));
|
|
33
|
+
const toolLines = visible.map((name) => {
|
|
34
|
+
const snippet = options.toolSnippets[name];
|
|
35
|
+
return snippet ? `- ${name}: ${snippet}` : `- ${name}`;
|
|
36
|
+
});
|
|
37
|
+
const shellOnly = visible.includes('bash') && !['grep', 'find', 'ls'].some((name) => visible.includes(name));
|
|
38
|
+
const guidelines = new Set([
|
|
39
|
+
...(shellOnly ? ['Use bash for file operations like ls, rg, find'] : []),
|
|
40
|
+
...visible.flatMap((name) => options.toolGuidelines[name] ?? []),
|
|
41
|
+
...options.promptGuidelines,
|
|
42
|
+
'Be concise in your responses',
|
|
43
|
+
'Show file paths clearly when working with files',
|
|
44
|
+
]
|
|
45
|
+
.map((line) => line.trim())
|
|
46
|
+
.filter(Boolean));
|
|
47
|
+
return [
|
|
48
|
+
'Available tools:',
|
|
49
|
+
...(toolLines.length ? toolLines : ['(none)']),
|
|
50
|
+
'',
|
|
51
|
+
'Guidelines:',
|
|
52
|
+
...[...guidelines].map((line) => `- ${line}`),
|
|
53
|
+
].join('\n');
|
|
54
|
+
}
|
|
55
|
+
export function applyAgentProfile(profile, options) {
|
|
56
|
+
const { selected, missing } = selectAgentSkills(profile.skills ?? [], options.skills);
|
|
57
|
+
options.skills = selected;
|
|
58
|
+
if (profile.systemPromptMode === 'append') {
|
|
59
|
+
const prompt = profile.prompt.replaceAll(runtimeToolsMarker, '').trim();
|
|
60
|
+
if (prompt)
|
|
61
|
+
options.appendSystemPrompt = [options.appendSystemPrompt, prompt]
|
|
62
|
+
.filter(Boolean)
|
|
63
|
+
.join('\n\n');
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
const tools = formatRuntimeTools(options);
|
|
67
|
+
options.customPrompt = profile.prompt.includes(runtimeToolsMarker)
|
|
68
|
+
? profile.prompt
|
|
69
|
+
.replace(runtimeToolsMarker, () => tools)
|
|
70
|
+
.replaceAll(runtimeToolsMarker, '')
|
|
71
|
+
.trim()
|
|
72
|
+
: [profile.prompt.trim(), tools].filter(Boolean).join('\n\n');
|
|
73
|
+
if (profile.systemPromptMode === 'replace-all')
|
|
74
|
+
options.contextFiles = [];
|
|
75
|
+
}
|
|
76
|
+
return { missingSkills: missing };
|
|
77
|
+
}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { loadAgentDefinitions, loadAgentFromPath, parseAgentProfile, type AgentDefinitions, type AgentDefinitionWarning, type AgentProfile, type AgentSource, type LoadAgentDefinitionsOptions, type SystemPromptMode, type ThinkingLevel, } from './agent-profile.js';
|
|
2
|
+
export { applyAgentProfile, formatRuntimeTools, selectAgentSkills, type AgentPromptResult, type SkillSelection, } from './agent-prompt.js';
|
package/dist/index.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@johnnywu/pi-agent-profiles",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Shared Markdown agent profiles and system prompt composition for Pi",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"engines": { "node": ">=22.19.0" },
|
|
8
|
+
"exports": {
|
|
9
|
+
".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" }
|
|
10
|
+
},
|
|
11
|
+
"files": ["dist"],
|
|
12
|
+
"scripts": {
|
|
13
|
+
"build": "tsc -p tsconfig.build.json",
|
|
14
|
+
"format": "prettier --write src tests",
|
|
15
|
+
"lint": "prettier --check src tests && tsc --noEmit",
|
|
16
|
+
"test": "bun test",
|
|
17
|
+
"prepack": "npm run build"
|
|
18
|
+
},
|
|
19
|
+
"peerDependencies": {
|
|
20
|
+
"@earendil-works/pi-coding-agent": "^1.6.0"
|
|
21
|
+
},
|
|
22
|
+
"devDependencies": {
|
|
23
|
+
"@earendil-works/pi-coding-agent": "1.6.0",
|
|
24
|
+
"@types/bun": "^1.3.0",
|
|
25
|
+
"@types/node": "^22.0.0",
|
|
26
|
+
"prettier": "^3.8.3",
|
|
27
|
+
"typescript": "^6.0.3"
|
|
28
|
+
}
|
|
29
|
+
}
|