-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
156 lines (156 loc) · 4.96 KB
/
package.json
File metadata and controls
156 lines (156 loc) · 4.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
"name": "paw-workflow",
"displayName": "PAW Workflow",
"description": "Phased Agent Workflow tooling for VS Code - streamlines work item initialization",
"version": "0.0.2-dev",
"publisher": "paw-workflow",
"repository": {
"type": "git",
"url": "https://github.com/lossyrob/phased-agent-workflow"
},
"license": "MIT",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other"
],
"keywords": [
"workflow",
"ai",
"agent",
"productivity"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"title": "PAW Workflow",
"properties": {
"paw.promptDirectory": {
"type": "string",
"default": "",
"markdownDescription": "Absolute path to the VS Code prompts directory. When set, PAW installs agents here instead of using the auto-detected location."
}
}
},
"commands": [
{
"command": "paw.initializeWorkItem",
"title": "New PAW Workflow",
"category": "PAW"
},
{
"command": "paw.getWorkStatus",
"title": "Get Work Status",
"category": "PAW"
},
{
"command": "paw.stopTrackingArtifacts",
"title": "Stop Tracking Artifacts",
"category": "PAW"
}
],
"languageModelTools": [
{
"name": "paw_new_session",
"displayName": "Start New PAW Session",
"modelDescription": "Start a fresh PAW agent chat session with cleared context. Use for session resets, stage transitions, or when user requests 'clear context' / 'new session'. Includes Work ID context and optional inline instructions.",
"toolReferenceName": "pawHandoff",
"canBeReferencedInPrompt": true,
"inputSchema": {
"type": "object",
"properties": {
"target_agent": {
"type": "string",
"description": "The exact name of the PAW agent to invoke",
"enum": [
"PAW",
"PAW Review"
]
},
"work_id": {
"type": "string",
"description": "The normalized Work ID (feature slug, e.g., 'auth-system')"
},
"inline_instruction": {
"type": "string",
"description": "Optional instruction to pass to the target agent (e.g., 'Phase 2', 'add rate limiting')"
}
},
"required": [
"target_agent",
"work_id"
]
}
},
{
"name": "paw_get_skills",
"displayName": "Get PAW Skills Catalog",
"modelDescription": "Retrieve a catalog of available PAW skills with metadata. Returns skill names, descriptions, and types for the agent to select appropriate skills.",
"toolReferenceName": "pawSkillsCatalog",
"canBeReferencedInPrompt": true,
"inputSchema": {
"type": "object",
"properties": {},
"required": []
}
},
{
"name": "paw_get_skill",
"displayName": "Get PAW Skill Content",
"modelDescription": "Retrieve the full content of a specific PAW skill by name. Use after consulting the catalog to load skills needed for the current task.",
"toolReferenceName": "pawSkillContent",
"canBeReferencedInPrompt": true,
"inputSchema": {
"type": "object",
"properties": {
"skill_name": {
"type": "string",
"description": "The name of the skill to load"
}
},
"required": [
"skill_name"
]
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"test": "node ./out/test/runTest.js",
"lint": "eslint src --ext ts",
"package": "vsce package",
"lint:agent": "./scripts/lint-prompting.sh",
"lint:agent:all": "./scripts/lint-prompting.sh --all",
"lint:skills": "./scripts/lint-prompting.sh --skills",
"build-vsix": "./scripts/build-vsix.sh",
"count-tokens": "node ./scripts/count-tokens.js",
"test:integration": "cd tests/integration && npx tsx --test tests/**/*.test.ts",
"test:integration:skills": "cd tests/integration && npx tsx --test tests/skills/*.test.ts",
"test:integration:workflows": "cd tests/integration && npx tsx --test tests/workflows/*.test.ts"
},
"devDependencies": {
"@dqbd/tiktoken": "^1.0.0",
"@playwright/test": "^1.57.0",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.6",
"@types/node": "^18.x",
"@types/vscode": "^1.85.0",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"@vscode/test-electron": "^2.3.8",
"@vscode/vsce": "^2.22.0",
"eslint": "^8.56.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
}
}