@haoyiyin/workflow 0.2.0 → 0.2.2
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/package.json +7 -3
- package/scripts/postinstall.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haoyiyin/workflow",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Production workflow skills for planning, executing, reviewing, and finishing coding-agent work",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -53,7 +53,9 @@
|
|
|
53
53
|
"vitest": "^1.0.0"
|
|
54
54
|
},
|
|
55
55
|
"pi": {
|
|
56
|
-
"extensions": [
|
|
56
|
+
"extensions": [
|
|
57
|
+
"./dist/pi-extension.js"
|
|
58
|
+
],
|
|
57
59
|
"skills": [
|
|
58
60
|
"./dist/skills/to-plan/SKILL.md",
|
|
59
61
|
"./dist/skills/execute-plan/SKILL.md",
|
|
@@ -63,7 +65,9 @@
|
|
|
63
65
|
"./dist/skills/systematic-debugging/SKILL.md",
|
|
64
66
|
"./dist/skills/agents-md/SKILL.md"
|
|
65
67
|
],
|
|
66
|
-
"prompts": [
|
|
68
|
+
"prompts": [
|
|
69
|
+
"./dist/prompts"
|
|
70
|
+
],
|
|
67
71
|
"config": {
|
|
68
72
|
"planPath": ".pi/plans",
|
|
69
73
|
"statePath": ".pi/yi-workflow/state",
|
package/scripts/postinstall.js
CHANGED
|
@@ -9,7 +9,7 @@ import { join } from 'path'
|
|
|
9
9
|
import { homedir } from 'os'
|
|
10
10
|
|
|
11
11
|
const PI_CONFIG_PATH = join(homedir(), '.pi', 'agent', 'settings.json')
|
|
12
|
-
const PACKAGE_NAME = '
|
|
12
|
+
const PACKAGE_NAME = '@haoyiyin/workflow'
|
|
13
13
|
|
|
14
14
|
async function configurePi() {
|
|
15
15
|
console.log('[yi-workflow] Configuring Pi coding agent...')
|
|
@@ -65,5 +65,5 @@ async function configurePi() {
|
|
|
65
65
|
|
|
66
66
|
configurePi().catch((error) => {
|
|
67
67
|
console.error('[yi-workflow] Configuration failed:', error.message)
|
|
68
|
-
console.log('[yi-workflow] You can manually configure by adding "npm
|
|
68
|
+
console.log('[yi-workflow] You can manually configure by adding "npm:@haoyiyin/workflow" to ~/.pi/agent/settings.json')
|
|
69
69
|
})
|