@mytegroupinc/myte-core 0.0.13 → 0.0.14
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 +3 -1
- package/cli.js +5 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -62,6 +62,7 @@ Notes:
|
|
|
62
62
|
- `bootstrap` excludes internal keys like `_id`, `org_id`, `project_id`, `created_by`, `assigned_to`, and raw `qa_qc_results`.
|
|
63
63
|
- rerunning current commands on an older workspace automatically prunes legacy artifacts like `bootstrap-manifest.json`, `data/qaqc/`, and `data/feedback/` as the new files are written.
|
|
64
64
|
- `run-qaqc` queues QAQC for up to 10 explicit mission ids through `/api/project-assistant/run-qaqc`.
|
|
65
|
+
- On PowerShell, quote comma-separated multi-id values: `--mission-ids "M001,M002"`.
|
|
65
66
|
- `run-qaqc --wait` polls `/api/project-assistant/run-qaqc/<batch_id>` until the batch is terminal.
|
|
66
67
|
- `run-qaqc --sync` refreshes `MyteCommandCenter/data/qaqc.yml` after a completed batch.
|
|
67
68
|
- project-key QAQC runs through the dedicated `project_api_qaqc` queue inside the existing Celery service, with a global budget of `20` dispatch starts/minute and `20` live jobs.
|
|
@@ -95,6 +96,7 @@ Notes:
|
|
|
95
96
|
- `update-client` creates a client update draft through `/api/project-assistant/client-update-drafts`.
|
|
96
97
|
- `update-client` requires `--subject` plus body markdown from `--body-markdown`, `--body-file`, positional input, or `--stdin`.
|
|
97
98
|
- `update-client` accepts optional `--target-contact-id` repeats or `--target-contact-ids <id1,id2>`.
|
|
99
|
+
- If no linked client contacts exist, the backend falls back to the project owner for internal projects.
|
|
98
100
|
- `--with-diff` only searches repo folders whose names match the project repo names configured in Myte.
|
|
99
101
|
- `--with-diff` includes per-repo diagnostics in `print-context` payload:
|
|
100
102
|
- missing repo directories
|
|
@@ -113,7 +115,7 @@ Deterministic `create-prd` contract:
|
|
|
113
115
|
|
|
114
116
|
Examples:
|
|
115
117
|
- `npx myte bootstrap`
|
|
116
|
-
- `npx myte run-qaqc --mission-ids M001,M002 --wait --sync`
|
|
118
|
+
- `npx myte run-qaqc --mission-ids "M001,M002" --wait --sync`
|
|
117
119
|
- `npx myte sync-qaqc`
|
|
118
120
|
- `npx myte feedback-sync`
|
|
119
121
|
- `npx myte suggestions sync`
|
package/cli.js
CHANGED
|
@@ -173,7 +173,7 @@ function printHelp() {
|
|
|
173
173
|
" myte query \"<text>\" [--with-diff] [--context \"...\"]",
|
|
174
174
|
" myte config [--json]",
|
|
175
175
|
" myte bootstrap [--output-dir ./MyteCommandCenter] [--json]",
|
|
176
|
-
" myte run-qaqc --mission-ids M001[,M002...] [--wait] [--sync] [--force] [--json]",
|
|
176
|
+
" myte run-qaqc --mission-ids \"M001[,M002...]\" [--wait] [--sync] [--force] [--json]",
|
|
177
177
|
" myte sync-qaqc [--output-dir ./MyteCommandCenter] [--json]",
|
|
178
178
|
" myte suggestions sync [--output-dir ./MyteCommandCenter] [--json]",
|
|
179
179
|
" myte suggestions create [--file ./payload.yml] [--no-sync] [--json]",
|
|
@@ -219,6 +219,7 @@ function printHelp() {
|
|
|
219
219
|
"run-qaqc contract:",
|
|
220
220
|
" - Queues QAQC for up to 10 explicit mission business ids through /api/project-assistant/run-qaqc",
|
|
221
221
|
" - Use --wait to poll batch status and --sync to refresh MyteCommandCenter/data/qaqc.yml after completion",
|
|
222
|
+
" - On PowerShell, quote comma-separated mission ids: --mission-ids \"M001,M002\"",
|
|
222
223
|
"",
|
|
223
224
|
"create-prd contract:",
|
|
224
225
|
" - Required: valid MYTE_API_KEY, PRD markdown body, title",
|
|
@@ -241,6 +242,7 @@ function printHelp() {
|
|
|
241
242
|
" - Creates a client update draft through /api/project-assistant/client-update-drafts",
|
|
242
243
|
" - Required: --subject and body markdown (via --body-markdown, --body-file, positional file/text, or --stdin)",
|
|
243
244
|
" - Optional: --target-contact-id <id> (repeatable) or --target-contact-ids <id1,id2>",
|
|
245
|
+
" - If the project has no linked client contacts, the backend falls back to the project owner for internal projects",
|
|
244
246
|
"",
|
|
245
247
|
"feedback-sync contract:",
|
|
246
248
|
" - Runs from the wrapper root that contains the project's configured repo folders",
|
|
@@ -265,7 +267,7 @@ function printHelp() {
|
|
|
265
267
|
" --status <value> Feedback status filter for feedback-sync (default: Pending)",
|
|
266
268
|
" --source <value> Feedback source filter for feedback-sync",
|
|
267
269
|
" --with-prd-text Include extracted PRD text in feedback-sync (default: on)",
|
|
268
|
-
" --mission-ids <ids> Comma-separated mission business ids for run-qaqc",
|
|
270
|
+
" --mission-ids <ids> Comma-separated mission business ids for run-qaqc (quote multi-id values on PowerShell)",
|
|
269
271
|
" --actor-scope <id> Actor workspace key inside mission-ops.yml (defaults to machine-cwd slug)",
|
|
270
272
|
" --wait Poll batch status until terminal completion for run-qaqc",
|
|
271
273
|
" --sync After run-qaqc completes, refresh local QAQC file",
|
|
@@ -281,7 +283,7 @@ function printHelp() {
|
|
|
281
283
|
" myte suggestions create",
|
|
282
284
|
" myte suggestions revise --no-sync",
|
|
283
285
|
" myte suggestions review --file ./review.yml",
|
|
284
|
-
" myte run-qaqc --mission-ids M001,M002 --wait --sync",
|
|
286
|
+
" myte run-qaqc --mission-ids \"M001,M002\" --wait --sync",
|
|
285
287
|
" myte bootstrap --output-dir ./MyteCommandCenter",
|
|
286
288
|
" myte sync-qaqc",
|
|
287
289
|
" myte update-team \"Backend deploy completed; QAQC rerun queued.\"",
|