@thxgg/steward 0.1.23 → 0.1.25
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/.output/nitro.json +1 -1
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/9ce7f1bc-d5e2-47bf-8026-f4910c257b2e.json +1 -0
- package/.output/server/chunks/_/prd-service.mjs.map +1 -1
- package/.output/server/chunks/build/styles.mjs +2 -2
- package/.output/server/chunks/nitro/nitro.mjs +873 -571
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
- package/.output/server/package.json +1 -1
- package/README.md +55 -9
- package/bin/prd +1 -1
- package/dist/host/src/api/repo-context.js +19 -2
- package/dist/host/src/index.js +10 -0
- package/dist/host/src/prompts.js +60 -36
- package/dist/host/src/sync.js +201 -0
- package/dist/server/utils/db.js +64 -0
- package/dist/server/utils/prd-state.js +24 -2
- package/dist/server/utils/repos.js +12 -2
- package/dist/server/utils/state-migration.js +4 -3
- package/dist/server/utils/sync-apply.js +380 -0
- package/dist/server/utils/sync-export.js +183 -0
- package/dist/server/utils/sync-identity.js +231 -0
- package/dist/server/utils/sync-inspect.js +103 -0
- package/dist/server/utils/sync-merge.js +579 -0
- package/dist/server/utils/sync-schema.js +100 -0
- package/docs/MCP.md +15 -4
- package/package.json +1 -1
- package/.output/public/_nuxt/builds/meta/bd99c09c-d991-4bcb-8c66-ab2088e1da03.json +0 -1
package/docs/MCP.md
CHANGED
|
@@ -40,7 +40,7 @@ Example MCP client config:
|
|
|
40
40
|
```json
|
|
41
41
|
{
|
|
42
42
|
"mcpServers": {
|
|
43
|
-
"
|
|
43
|
+
"steward": {
|
|
44
44
|
"command": "prd",
|
|
45
45
|
"args": ["mcp"]
|
|
46
46
|
}
|
|
@@ -48,6 +48,8 @@ Example MCP client config:
|
|
|
48
48
|
}
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
+
The MCP server key (`steward` above) determines slash prefix names in clients.
|
|
52
|
+
|
|
51
53
|
## Runtime Requirements
|
|
52
54
|
|
|
53
55
|
- `repos`, `prds`, and `state` APIs require sqlite runtime support.
|
|
@@ -105,10 +107,19 @@ In-sandbox discovery helper:
|
|
|
105
107
|
Steward also exposes MCP prompts so MCP clients can surface command-like workflows.
|
|
106
108
|
|
|
107
109
|
- `create_prd(feature_request)`
|
|
108
|
-
- `break_into_tasks(prd_slug)`
|
|
109
|
-
- `complete_next_task(prd_slug)`
|
|
110
|
+
- `break_into_tasks(prd_slug?)`
|
|
111
|
+
- `complete_next_task(prd_slug?)`
|
|
112
|
+
|
|
113
|
+
In OpenCode, these appear in slash-command autocomplete as MCP commands (for example `/steward:create_prd:mcp`) and insert as `/steward:create_prd` when selected.
|
|
114
|
+
|
|
115
|
+
Notes:
|
|
110
116
|
|
|
111
|
-
|
|
117
|
+
- `prd_slug` is optional for break/complete prompts and auto-resolves when omitted.
|
|
118
|
+
- `complete_next_task` requires commit hygiene when task-related files changed:
|
|
119
|
+
- at least one commit is created
|
|
120
|
+
- one-line commit subject only
|
|
121
|
+
- no `Co-authored-by` footer/trailers
|
|
122
|
+
- no task-related dirty files left behind
|
|
112
123
|
|
|
113
124
|
## Available APIs
|
|
114
125
|
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"id":"bd99c09c-d991-4bcb-8c66-ab2088e1da03","timestamp":1772218681776,"prerendered":[]}
|