myte 0.0.42 → 0.0.44
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 +40 -31
- package/bin/myte.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -33,9 +33,11 @@ No install:
|
|
|
33
33
|
|
|
34
34
|
The CLI searches for `.env` in the current folder and then up parent directories.
|
|
35
35
|
|
|
36
|
-
## Common Commands
|
|
37
|
-
|
|
38
|
-
-
|
|
36
|
+
## Common Commands
|
|
37
|
+
|
|
38
|
+
Live mutation commands require `--confirm-write --approval-artifact <path>` after the local artifact has been shown to and approved by the user.
|
|
39
|
+
|
|
40
|
+
- `npx myte config --json`
|
|
39
41
|
- `npx myte bootstrap`
|
|
40
42
|
- `npx myte sync-qaqc`
|
|
41
43
|
- `npx myte feedback-sync`
|
|
@@ -70,10 +72,11 @@ The CLI searches for `.env` in the current folder and then up parent directories
|
|
|
70
72
|
- `npx mytecody update --dry-run`
|
|
71
73
|
- `npx mytecody update`
|
|
72
74
|
|
|
73
|
-
## Behavior
|
|
74
|
-
|
|
75
|
-
- `bootstrap`, `sync-qaqc`, `feedback-sync`, and `suggestions sync` write project-scoped local context under `MyteCommandCenter` in the current workspace unless `--output-dir` is provided.
|
|
76
|
-
-
|
|
75
|
+
## Behavior
|
|
76
|
+
|
|
77
|
+
- `bootstrap`, `sync-qaqc`, `feedback-sync`, and `suggestions sync` write project-scoped local context under `MyteCommandCenter` in the current workspace unless `--output-dir` is provided.
|
|
78
|
+
- Live project-key mutations require explicit user approval before the CLI sends them. Create a local approval artifact, show it to the user, then rerun with `--confirm-write --approval-artifact <path>`.
|
|
79
|
+
- `bootstrap` writes mission cards and mission suggestion thread state together; agents should run it before looking for mission or suggestion ids.
|
|
77
80
|
- `mission status` is active-state only (`todo`, `in_progress`, `done`). Use `mission archive` for project-key lifecycle archival; restore archived missions from the web archived-board view.
|
|
78
81
|
- `mission status` and `mission archive` refresh local bootstrap + mission-ops state by default after a successful mutation. Use `--no-sync` only when you intentionally want to skip the local refresh.
|
|
79
82
|
- `feedback status|edit|assign|archive` writes local review artifacts under `MyteCommandCenter/reviews/feedback`; `feedback submit|revise|reviews|review` routes proposed edits through the backend owner-review membrane.
|
|
@@ -96,17 +99,21 @@ MYTE_API_KEY=<project_api_key>
|
|
|
96
99
|
|
|
97
100
|
The key resolves the project server-side. Agents should not pass `project_id` manually for normal CLI commands, and they should not call account-scoped web/JWT endpoints with this key.
|
|
98
101
|
|
|
99
|
-
Recommended agent flow:
|
|
100
|
-
|
|
101
|
-
1. Run `myte config --json` to confirm the project, API base, configured repos, and local workspace detection.
|
|
102
|
-
2. Run `myte bootstrap --json`, `myte feedback-sync --json`, or `myte sync-qaqc --json` to hydrate local context under `MyteCommandCenter`. Use `myte suggestions sync --json` only for narrow mission-review refreshes after bootstrap.
|
|
103
|
-
3. Use `myte query "<goal/evidence/ask>" --with-diff` when local code changes matter.
|
|
104
|
-
4.
|
|
105
|
-
5.
|
|
106
|
-
6.
|
|
107
|
-
7.
|
|
108
|
-
8. Use `myte
|
|
109
|
-
9. Use `myte
|
|
102
|
+
Recommended agent flow:
|
|
103
|
+
|
|
104
|
+
1. Run `myte config --json` to confirm the project, API base, configured repos, and local workspace detection.
|
|
105
|
+
2. Run `myte bootstrap --json`, `myte feedback-sync --json`, or `myte sync-qaqc --json` to hydrate local context under `MyteCommandCenter`. Use `myte suggestions sync --json` only for narrow mission-review refreshes after bootstrap.
|
|
106
|
+
3. Use `myte query "<goal/evidence/ask>" --with-diff` when local code changes matter.
|
|
107
|
+
4. Before any live write, create a local approval artifact, show it to the user, and get explicit approval. Use `.md` for comments, human updates, and PRD markdown; use `.yml`/`.yaml` or `.json` for structured mission/feedback decisions and batch writes.
|
|
108
|
+
5. After approval, rerun the mutation with `--confirm-write --approval-artifact <path>`. Batch artifacts must enumerate every feedback id, mission id, suggestion id, request id, or PRD item.
|
|
109
|
+
6. Direct HTTP calls with `MYTE_API_KEY` cannot bypass this gate on live project-content mutations. The API returns `428` with agent instructions when approval metadata is missing or mismatched.
|
|
110
|
+
7. Read/sync/query/validate commands, `--print-context`, and `--dry-run` do not require write approval.
|
|
111
|
+
8. Use `myte create-prd <file.md>` only after the PRD markdown has been reviewed by a human. The file body is the PRD document; `--description` is only the short board/card summary.
|
|
112
|
+
9. Use `myte feedback status|edit|assign|archive` to create reviewable local artifacts, then `feedback submit` and `feedback review` for the owner-review membrane.
|
|
113
|
+
10. Use `myte feedback move` only for direct board movement that is intentionally audited, with a clear `--reason`; use `--feedback-ids` for batch moves or batch archive.
|
|
114
|
+
11. Use `myte suggestions create|revise|review` for mission review threads. Valid create `change_type` values are exactly `update` and `create`; revisions keep the existing thread type and must not include `change_type`.
|
|
115
|
+
12. Use `myte mission archive` for project-key mission lifecycle archival. Archive requires Project Owner or elevated delegate capability; restore is web-only from the archived missions board.
|
|
116
|
+
13. Use `myte update-team "<content>"` for project/team comments through `/api/project-assistant/project-comment`, and `myte feedback comment --feedback-id <id> --body-file ./comment.md` for feedback-specific implementation notes.
|
|
110
117
|
|
|
111
118
|
PRD document contract:
|
|
112
119
|
|
|
@@ -163,7 +170,9 @@ Feedback comments nuance:
|
|
|
163
170
|
On first coding run, it installs the branded MyteCody engine and signed
|
|
164
171
|
client assets from the Myte release manifest into a user-local Myte cache
|
|
165
172
|
after signature/hash checks. Coding execution requires those assets, a
|
|
166
|
-
reachable Myte AI Cody gateway, and `MYTEAI_API_KEY`.
|
|
173
|
+
reachable Myte AI Cody gateway, and `MYTEAI_API_KEY`. Normal coding runs use
|
|
174
|
+
the branded Codex harness with Myte context hardening; the experimental
|
|
175
|
+
controller is not the default product path.
|
|
167
176
|
- `mytecody doctor` reports both the signed MyteCody engine state and this npm
|
|
168
177
|
package version. `mytecody update` updates the engine only. Use
|
|
169
178
|
`npm install -g myte@latest` to update the launcher and the Myte API CLI
|
|
@@ -239,7 +248,7 @@ The harness creates five disposable `TEST` feedback items from markdown, verifie
|
|
|
239
248
|
|
|
240
249
|
## Direct Project API Surface
|
|
241
250
|
|
|
242
|
-
All routes use `Authorization: Bearer <MYTE_API_KEY>`. The CLI adds idempotency and client-session headers on mutation routes.
|
|
251
|
+
All routes use `Authorization: Bearer <MYTE_API_KEY>`. The CLI adds idempotency and client-session headers on mutation routes. Live project-content mutation routes also require write-approval headers; the official CLI supplies them from `--confirm-write --approval-artifact <path>`.
|
|
243
252
|
|
|
244
253
|
Read/sync routes:
|
|
245
254
|
|
|
@@ -254,22 +263,22 @@ Read/sync routes:
|
|
|
254
263
|
- `GET /api/project-assistant/feedback/<feedback_id>/events`
|
|
255
264
|
- `GET /api/project-assistant/feedback/<feedback_id>/prd/versions`
|
|
256
265
|
- `GET /api/project-assistant/feedback/<feedback_id>/prd/versions/<version_id>/diff`
|
|
257
|
-
- `GET /api/project-assistant/suggestions`
|
|
258
|
-
- `GET /api/project-assistant/run-qaqc/<batch_id>`
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
-
|
|
263
|
-
|
|
266
|
+
- `GET /api/project-assistant/suggestions`
|
|
267
|
+
- `GET /api/project-assistant/run-qaqc/<batch_id>`
|
|
268
|
+
- `POST /api/project-assistant/query`
|
|
269
|
+
- `POST /api/project-assistant/feedback/<feedback_id>/refinement/validate`
|
|
270
|
+
|
|
271
|
+
Live project-content mutation routes:
|
|
272
|
+
|
|
273
|
+
- `POST /api/project-assistant/run-qaqc`
|
|
264
274
|
- `POST /api/project-assistant/mission-status-update`
|
|
265
275
|
- `POST /api/project-assistant/mission-archive`
|
|
266
276
|
- `POST /api/project-assistant/project-comment`
|
|
267
277
|
- `POST /api/project-assistant/update-owner`
|
|
268
278
|
- `POST /api/project-assistant/client-update-drafts`
|
|
269
|
-
- `POST /api/project-assistant/create-prd`
|
|
270
|
-
- `POST /api/project-assistant/create-prds`
|
|
271
|
-
- `POST /api/project-assistant/feedback/<feedback_id>/refinement/
|
|
272
|
-
- `POST /api/project-assistant/feedback/<feedback_id>/refinement/requests`
|
|
279
|
+
- `POST /api/project-assistant/create-prd`
|
|
280
|
+
- `POST /api/project-assistant/create-prds`
|
|
281
|
+
- `POST /api/project-assistant/feedback/<feedback_id>/refinement/requests`
|
|
273
282
|
- `POST /api/project-assistant/feedback-review-requests/<request_id>/revise`
|
|
274
283
|
- `POST /api/project-assistant/feedback/<feedback_id>/refinement/apply`
|
|
275
284
|
- `POST /api/project-assistant/feedback-review-requests/<request_id>/review`
|
package/bin/myte.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "myte",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.44",
|
|
4
4
|
"description": "Myte developer CLI.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,6 +19,6 @@
|
|
|
19
19
|
"node": ">=18"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@mytegroupinc/myte-core": "0.0.
|
|
22
|
+
"@mytegroupinc/myte-core": "0.0.44"
|
|
23
23
|
}
|
|
24
24
|
}
|