myte 0.0.32 → 0.0.34

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 CHANGED
@@ -25,10 +25,11 @@ No install:
25
25
 
26
26
  - Node `18+`
27
27
  - macOS, Linux, or Windows
28
- - `MYTE_API_KEY=<project_api_key>` in your shell or workspace `.env`
29
- - `MYTEAI_API_KEY=<inference_api_key>` only for `myte ai`
30
- - `git` in `PATH` only for `query --with-diff`
31
- - No runtime npm dependencies beyond the Myte packages themselves.
28
+ - `MYTE_API_KEY=<project_api_key>` in your shell or workspace `.env`
29
+ - `MYTEAI_API_KEY=<inference_api_key>` only for `myte ai`
30
+ - `MYTEAI_API_KEY=<inference_api_key>` for `mytecody`
31
+ - `git` in `PATH` only for `query --with-diff`
32
+ - No runtime npm dependencies beyond the Myte packages themselves.
32
33
 
33
34
  The CLI searches for `.env` in the current folder and then up parent directories.
34
35
 
@@ -48,11 +49,12 @@ The CLI searches for `.env` in the current folder and then up parent directories
48
49
  - `npx myte feedback submit --file ./MyteCommandCenter/reviews/feedback/<id>-edit.yml`
49
50
  - `npx myte feedback reviews --status open`
50
51
  - `npx myte feedback revise --request-id <id> --file ./MyteCommandCenter/reviews/feedback/<id>-edit.yml`
51
- - `npx myte feedback review --request-id <id> --action approve --reason "Looks correct"`
52
- - `npx myte feedback review --request-ids "<id1,id2>" --action approve --reason "Batch approval"`
53
- - `npx myte feedback move --feedback-id <id> --to-state in_progress --reason "Started"`
54
- - `npx myte feedback move --feedback-ids "<id1,id2>" --to-state in_progress --reason "Batch move"`
55
- - `npx myte feedback undo --feedback-id <id> --event-id <event_id> --reason "Undo accidental move"`
52
+ - `npx myte feedback review --request-id <id> --action approve --reason "Looks correct"`
53
+ - `npx myte feedback review --request-ids "<id1,id2>" --action approve --reason "Batch approval"`
54
+ - `npx myte feedback move --feedback-id <id> --to-state in_progress --reason "Started"`
55
+ - `npx myte feedback move --feedback-ids "<id1,id2>" --to-state in_progress --reason "Batch move"`
56
+ - `npx myte feedback comment --feedback-id <id> --body-file ./updates/feedback-comment.md`
57
+ - `npx myte feedback undo --feedback-id <id> --event-id <event_id> --reason "Undo accidental move"`
56
58
  - `npx myte feedback prd-versions --feedback-id <id>`
57
59
  - `npx myte feedback prd-diff --feedback-id <id> --version-id <version_id> --compare-to <base_version_id>`
58
60
  - `npx myte feedback apply --file ./MyteCommandCenter/reviews/feedback/<id>-edit.yml`
@@ -61,8 +63,12 @@ The CLI searches for `.env` in the current folder and then up parent directories
61
63
  - `npx myte query "Summarize the current branch changes" --with-diff`
62
64
  - `npx myte create-prd ./drafts/auth-prd.md`
63
65
  - `npx myte update-team "Backend deploy completed."`
64
- - `npx myte update-owner --subject "QAQC progress" --body-file ./updates/owner.md`
65
- - `npx myte update-client --subject "Weekly client update" --body-file ./updates/week-12.md`
66
+ - `npx myte update-owner --subject "QAQC progress" --body-file ./updates/owner.md`
67
+ - `npx myte update-client --subject "Weekly client update" --body-file ./updates/week-12.md`
68
+ - `npx mytecody doctor`
69
+ - `npx mytecody doctor --probe-gateway`
70
+ - `npx mytecody update --dry-run`
71
+ - `npx mytecody update`
66
72
 
67
73
  ## Behavior
68
74
 
@@ -72,7 +78,8 @@ The CLI searches for `.env` in the current folder and then up parent directories
72
78
  - `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.
73
79
  - `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.
74
80
  - `feedback review --request-ids` sends one backend batch review request with grouped notifications; do not loop single-review calls for batch decisions.
75
- - `feedback move|undo|prd-versions|prd-diff|history` calls the project-key Feedback API while authorization, stale snapshot checks, allowed transitions, and history remain enforced by the backend. `feedback move --feedback-ids` sends one batch board move request.
81
+ - `feedback move|comment|undo|prd-versions|prd-diff|history` calls the project-key Feedback API while authorization, stale snapshot checks, allowed transitions, and history remain enforced by the backend. `feedback move --feedback-ids` sends one batch board move request.
82
+ - `feedback comment` creates text-only feedback-specific comments. Attachments remain web UI only for this project-key endpoint.
76
83
  - `feedback-sync` excludes archived Feedback from normal `MyteCommandCenter` state. Project-key API/CLI can archive authorized Feedback, but Feedback unarchive/restore is web UI only.
77
84
  - `feedback validate|apply` remains available for validation and owner-direct apply paths.
78
85
  - `query --with-diff` is stricter than the snapshot commands. It requires project repositories to be configured by the project owner or builder, and it requires at least one matching local project repo to be resolved for diff collection.
@@ -99,7 +106,7 @@ Recommended agent flow:
99
106
  6. 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.
100
107
  7. 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`.
101
108
  8. 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.
102
- 9. Use `myte update-team "<content>"` for project/team comments through `/api/project-assistant/project-comment`.
109
+ 9. 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.
103
110
 
104
111
  PRD document contract:
105
112
 
@@ -131,11 +138,12 @@ Preferred file shape:
131
138
  Full PRD content goes here.
132
139
  ````
133
140
 
134
- Feedback comments nuance:
135
-
136
- - `myte feedback-sync` reads existing feedback comment turns and stores them in `MyteCommandCenter/data/feedback.yml`.
137
- - The web product supports feedback-specific comment create/fetch through JWT-authenticated `/api/feedbacks/<feedback_id>/comments`.
138
- - The project-key npm CLI does not currently expose `myte feedback comment <feedback_id> "<text>"`. Add a Project Assistant route and CLI command before documenting that as supported.
141
+ Feedback comments nuance:
142
+
143
+ - `myte feedback-sync` reads existing feedback comment turns and stores them in `MyteCommandCenter/data/feedback.yml`.
144
+ - The web product supports feedback-specific comment create/fetch through JWT-authenticated `/api/feedbacks/<feedback_id>/comments`.
145
+ - The project-key npm CLI supports `myte feedback comment --feedback-id <id> --body "..."` and `--body-file ./comment.md`.
146
+ - Project-key feedback comments are text-only in this slice and cap content at 500,000 characters. Use the web UI when attachments are required.
139
147
 
140
148
  ## Commands
141
149
 
@@ -146,17 +154,27 @@ Feedback comments nuance:
146
154
  - `mission archive`: archive missions without hard delete
147
155
  - `sync-qaqc`: refresh active mission QAQC context locally
148
156
  - `feedback-sync`: refresh feedback and PRD context locally
149
- - `feedback status|edit|assign|archive|submit|revise|reviews|review|move|undo|prd-versions|prd-diff|validate|apply|history|get`: create reviewable feedback artifacts and operate the governed Feedback API
157
+ - `feedback status|edit|assign|archive|submit|revise|reviews|review|move|comment|undo|prd-versions|prd-diff|validate|apply|history|get`: create reviewable feedback artifacts and operate the governed Feedback API
150
158
  - `suggestions sync|create|revise|review`: work with mission suggestion workflow state
151
159
  - `query`: ask the project assistant, optionally with local diff context
152
- - `ai`: use the Myte AI gateway
153
- - `create-prd`: upload deterministic PRD markdown as the stored renderable PRD document; use `description` only as the short card summary
160
+ - `ai`: use the Myte AI gateway
161
+ - `mytecody`: MyteCody team launcher installed by this package. It supports
162
+ `doctor`, `doctor --probe-gateway`, `update --dry-run`, and `update`.
163
+ On first coding run, it installs the branded MyteCody engine from the Myte
164
+ release manifest into a user-local Myte cache after signature/hash checks.
165
+ Coding execution requires that engine, a reachable Myte AI Cody gateway, and
166
+ `MYTEAI_API_KEY`.
167
+ - `create-prd`: upload deterministic PRD markdown as the stored renderable PRD document; use `description` only as the short card summary
154
168
  - `update-team`, `update-owner`, `update-client`: send project updates through the project-key surface
155
169
 
156
170
  ## Notes
157
171
 
158
- - The package ships the CLI only. Internal rollout notes, validation logs, and project-specific operating docs are not part of the public npm contract.
159
- - The public `myte` package is the supported entrypoint. The scoped `@mytegroupinc/myte-core` package is the implementation dependency used by the wrapper.
172
+ - The package ships the CLI only. Internal rollout notes, validation logs, and project-specific operating docs are not part of the public npm contract.
173
+ - The package does not bundle the large MyteCody engine binary. The `mytecody`
174
+ launcher installs or updates it through the Myte release manifest.
175
+ - The public `myte` package is the supported entrypoint. The scoped `@mytegroupinc/myte-core` package is the implementation dependency used by the wrapper.
176
+ - See `THIRD_PARTY_NOTICES.md` and `TRADEMARKS.md` for Codex lineage and Myte
177
+ brand notices.
160
178
 
161
179
  ## Mission Action Map
162
180
 
@@ -192,9 +210,10 @@ After `bootstrap`, find ids locally:
192
210
  | `feedback submit` | Sends a local proposal artifact to the backend as a review request. | Does not mutate live feedback before approval. |
193
211
  | `feedback revise` | Resubmits the original submitter's request after `request_changes`. | Only valid for the original submitter and `needs_changes` requests. |
194
212
  | `feedback reviews` | Lists review requests or fetches one request by `--request-id`. | Read-only; response includes backend permissions. |
195
- | `feedback review` | Approves, rejects, requests changes, or cancels one review request, or a batch with `--request-ids`. | Backend restricts approval/review decisions to Project Owner or elevated delegate for Feedback scope; batch review uses one grouped notification path. |
196
- | `feedback move` | Moves a card or batch of cards across allowed board states directly with an audit event. | `--feedback-ids` sends one batch request. Blocked with `pending_feedback_review` while an active linked review request exists; governed states such as archive/reject/deploy/freeze remain backend-authorized. Project-key unarchive is not supported. |
197
- | `feedback undo` | Reverses an audited board event when there is no conflict. | Backend validates event ownership/project scope and conflict state. |
213
+ | `feedback review` | Approves, rejects, requests changes, or cancels one review request, or a batch with `--request-ids`. | Backend restricts approval/review decisions to Project Owner or elevated delegate for Feedback scope; batch review uses one grouped notification path. |
214
+ | `feedback move` | Moves a card or batch of cards across allowed board states directly with an audit event. | `--feedback-ids` sends one batch request. Blocked with `pending_feedback_review` while an active linked review request exists; governed states such as archive/reject/deploy/freeze remain backend-authorized. Project-key unarchive is not supported. |
215
+ | `feedback comment` | Creates a text-only comment on one Feedback item. | Backend checks project-key access, owner/assigned permission, idempotency, and the 500,000-character content cap. Attachments remain web UI only. |
216
+ | `feedback undo` | Reverses an audited board event when there is no conflict. | Backend validates event ownership/project scope and conflict state. |
198
217
  | `feedback prd-versions` | Lists retained PRD baselines/revisions for a feedback item. | Read-only; old S3 objects are retained by reference. |
199
218
  | `feedback prd-diff` | Fetches backend-generated text diff for PRD versions. | Read-only; backend controls version access. |
200
219
  | `feedback history` | Lists audited feedback board/refinement events. | Read-only; backend checks project access. |
@@ -250,9 +269,10 @@ Mutation routes:
250
269
  - `POST /api/project-assistant/feedback-review-requests/batch-review`
251
270
  - `POST /api/project-assistant/feedback-review-requests/<request_id>/request-changes`
252
271
  - `POST /api/project-assistant/feedback-review-requests/<request_id>/cancel`
253
- - `POST /api/project-assistant/feedback/<feedback_id>/board-move`
254
- - `POST /api/project-assistant/feedback/batch-board-move`
255
- - `POST /api/project-assistant/feedback/<feedback_id>/events/<event_id>/undo`
272
+ - `POST /api/project-assistant/feedback/<feedback_id>/board-move`
273
+ - `POST /api/project-assistant/feedback/batch-board-move`
274
+ - `POST /api/project-assistant/feedback/<feedback_id>/comments`
275
+ - `POST /api/project-assistant/feedback/<feedback_id>/events/<event_id>/undo`
256
276
  - `POST /api/project-assistant/suggestions`
257
277
  - `POST /api/project-assistant/suggestions/revise`
258
278
  - `POST /api/project-assistant/suggestions/review`
@@ -0,0 +1,10 @@
1
+ # Third-Party Notices
2
+
3
+ The `myte` package exposes the `mytecody` command. The command installs and
4
+ launches a branded MyteCody engine from a Myte release manifest.
5
+
6
+ The branded MyteCody engine is derived from the OpenAI Codex open-source
7
+ project, version baseline `0.139.0`, licensed under Apache-2.0.
8
+
9
+ Myte names, marks, logos, terminal branding, and product design are separate
10
+ Myte-owned brand assets.
package/TRADEMARKS.md ADDED
@@ -0,0 +1,10 @@
1
+ # Trademarks
2
+
3
+ Myte, Myte AI, MyteCody, "MYTE CODY - Your Tech Your Way", logo assets, terminal
4
+ animation assets, and related product branding are Myte-owned marks and brand
5
+ assets.
6
+
7
+ OpenAI and Codex are trademarks or project names of their respective owners.
8
+ MyteCody uses a Codex-derived open-source engine under the applicable open
9
+ source license, but MyteCody is a Myte product surface and is not presented as
10
+ an official OpenAI product.
@@ -0,0 +1,19 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+
4
+ const cody = require("@mytegroupinc/myte-core/mytecody-cli");
5
+
6
+ if (!cody || typeof cody.run !== "function") {
7
+ console.error("mytecody core entrypoint is unavailable.");
8
+ process.exit(1);
9
+ }
10
+
11
+ Promise.resolve(cody.run(process.argv.slice(2))).then(
12
+ (code) => {
13
+ process.exitCode = Number.isInteger(code) ? code : 0;
14
+ },
15
+ (err) => {
16
+ console.error("Unexpected error:", err?.message || err);
17
+ process.exitCode = 1;
18
+ },
19
+ );
package/package.json CHANGED
@@ -1,21 +1,24 @@
1
1
  {
2
2
  "name": "myte",
3
- "version": "0.0.32",
3
+ "version": "0.0.34",
4
4
  "description": "Myte developer CLI.",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
- "files": [
8
- "README.md",
9
- "bin",
10
- "package.json"
7
+ "files": [
8
+ "README.md",
9
+ "THIRD_PARTY_NOTICES.md",
10
+ "TRADEMARKS.md",
11
+ "bin",
12
+ "package.json"
11
13
  ],
12
- "bin": {
13
- "myte": "bin/myte.js"
14
- },
14
+ "bin": {
15
+ "myte": "bin/myte.js",
16
+ "mytecody": "bin/mytecody.js"
17
+ },
15
18
  "engines": {
16
19
  "node": ">=18"
17
20
  },
18
21
  "dependencies": {
19
- "@mytegroupinc/myte-core": "0.0.32"
22
+ "@mytegroupinc/myte-core": "0.0.34"
20
23
  }
21
24
  }