myte 0.0.4 → 0.0.5
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/README.md +45 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -9,12 +9,15 @@ Use one of these flows:
|
|
|
9
9
|
- Local dependency in your project:
|
|
10
10
|
- `npm install myte`
|
|
11
11
|
- then run `npx myte config --json`
|
|
12
|
+
- then run `npx myte bootstrap`
|
|
12
13
|
- then run `npx myte query "What changed in logging?" --with-diff`
|
|
13
14
|
- or `npm exec myte -- query "What changed in logging?" --with-diff`
|
|
14
15
|
- Global install:
|
|
15
16
|
- `npm i -g myte`
|
|
17
|
+
- then run `myte bootstrap`
|
|
16
18
|
- then run `myte query "What changed in logging?" --with-diff`
|
|
17
19
|
- No install:
|
|
20
|
+
- `npx myte@latest bootstrap`
|
|
18
21
|
- `npx myte@latest query "What changed in logging?" --with-diff`
|
|
19
22
|
|
|
20
23
|
`npm install myte` by itself does not put `myte` on your shell PATH. Use `npx myte` or `npm exec myte -- ...` unless you installed globally.
|
|
@@ -50,6 +53,32 @@ It confirms:
|
|
|
50
53
|
- which repo names the project is configured with
|
|
51
54
|
- which of those repos were found locally
|
|
52
55
|
|
|
56
|
+
## Bootstrap Command Center cards
|
|
57
|
+
|
|
58
|
+
Run this from the wrapper root that contains the project's repo folders:
|
|
59
|
+
|
|
60
|
+
- `npx myte bootstrap`
|
|
61
|
+
- or `npm exec myte -- bootstrap`
|
|
62
|
+
- or `myte bootstrap`
|
|
63
|
+
|
|
64
|
+
What it does:
|
|
65
|
+
- fetches a project-scoped bootstrap snapshot from the API using your project key
|
|
66
|
+
- validates the current wrapper workspace against the configured repo names
|
|
67
|
+
- writes local files under `MyteCommandCenter/data`
|
|
68
|
+
|
|
69
|
+
Files written:
|
|
70
|
+
- `MyteCommandCenter/data/project.yml`
|
|
71
|
+
- `MyteCommandCenter/data/phases/*.yml`
|
|
72
|
+
- `MyteCommandCenter/data/epics/*.yml`
|
|
73
|
+
- `MyteCommandCenter/data/stories/*.yml`
|
|
74
|
+
- `MyteCommandCenter/data/missions/*.yml`
|
|
75
|
+
- `MyteCommandCenter/data/bootstrap-manifest.json`
|
|
76
|
+
|
|
77
|
+
Useful forms:
|
|
78
|
+
- `npx myte bootstrap --json`
|
|
79
|
+
- `npx myte bootstrap --dry-run --json`
|
|
80
|
+
- `npx myte bootstrap --output-dir ./MyteCommandCenter`
|
|
81
|
+
|
|
53
82
|
## Query with deterministic diff context
|
|
54
83
|
|
|
55
84
|
Example:
|
|
@@ -97,10 +126,10 @@ Preferred file format matches `script/MyteCodyPRD.py`:
|
|
|
97
126
|
```myte-kanban
|
|
98
127
|
{
|
|
99
128
|
"title": "Authentication PRD",
|
|
129
|
+
"description": "Short card summary shown in the feedback list",
|
|
100
130
|
"priority": "Medium",
|
|
101
131
|
"assigned_user_email": "dev@mytegroup.com",
|
|
102
|
-
"tags": ["mission-board"]
|
|
103
|
-
"feedback_text": "Short card summary"
|
|
132
|
+
"tags": ["mission-board"]
|
|
104
133
|
}
|
|
105
134
|
```
|
|
106
135
|
|
|
@@ -112,10 +141,24 @@ Detailed markdown body here.
|
|
|
112
141
|
Raw markdown also works:
|
|
113
142
|
- include a top-level `# Title`
|
|
114
143
|
- or pass `--title "..."` when using `--stdin`
|
|
144
|
+
- pass `--description "..."` if you want an explicit feedback description/card summary
|
|
145
|
+
|
|
146
|
+
Deterministic field mapping:
|
|
147
|
+
- Required: a valid project API key, the PRD markdown body, and a title.
|
|
148
|
+
- `title` maps to the feedback title.
|
|
149
|
+
- `description` maps to the feedback description/card summary. Legacy `feedback_text` is still accepted for older payloads.
|
|
150
|
+
- The markdown body after the metadata block, or the full raw markdown file when no metadata block is used, is stored verbatim as PRD content.
|
|
151
|
+
- The backend uses that stored PRD markdown/text to generate the downloadable PRD DOCX.
|
|
152
|
+
- Additional structured fields should go in the `myte-kanban` JSON block. Supported keys include `priority`, `status`, `tags`, `assigned_user_email`, `assigned_user_id`, `due_date`, `repo_name`, `repo_id`, `preview_url`, and `source`.
|
|
153
|
+
|
|
154
|
+
To inspect the exact payload before sending it:
|
|
155
|
+
- `npx myte create-prd ./drafts/auth-prd.md --print-context`
|
|
156
|
+
- `npx myte create-prd ./drafts/auth-prd.md --description "Short card summary" --print-context`
|
|
115
157
|
|
|
116
158
|
## Common commands
|
|
117
159
|
|
|
118
160
|
- `npm install myte`
|
|
161
|
+
- `npx myte bootstrap`
|
|
119
162
|
- `npx myte config --json`
|
|
120
163
|
- `npx myte query "Summarize the current branch changes" --with-diff`
|
|
121
164
|
- `npx myte create-prd ./drafts/auth-prd.md`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "myte",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"description": "Myte developer CLI (Project Assistant + deterministic diffs).",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"license": "MIT",
|
|
@@ -16,6 +16,6 @@
|
|
|
16
16
|
"node": ">=18"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@mytegroupinc/myte-core": "0.0.
|
|
19
|
+
"@mytegroupinc/myte-core": "0.0.5"
|
|
20
20
|
}
|
|
21
21
|
}
|