@mytegroupinc/myte-core 0.0.45 → 0.0.46
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 +20 -16
- package/THIRD_PARTY_NOTICES.md +21 -21
- package/TRADEMARKS.md +10 -10
- package/cli.js +332 -489
- package/lib/mytecody-release-public-key.pem +11 -11
- package/lib/mytecody-splash.js +251 -251
- package/mytecody-cli.js +2025 -2025
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,10 +18,9 @@ This package exists so the public wrapper can stay small and versioned cleanly.
|
|
|
18
18
|
- `git` only when using `query --with-diff`
|
|
19
19
|
- No runtime npm dependencies. The CLI uses Node 18+ built-ins for env loading, argument parsing, HTTP, and local context serialization.
|
|
20
20
|
|
|
21
|
-
## Behavior Summary
|
|
22
|
-
|
|
23
|
-
- Snapshot-style commands such as `bootstrap`, `sync-qaqc`, `feedback-sync`, and `suggestions sync` write local `MyteCommandCenter` data.
|
|
24
|
-
- 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>`.
|
|
21
|
+
## Behavior Summary
|
|
22
|
+
|
|
23
|
+
- Snapshot-style commands such as `bootstrap`, `sync-qaqc`, `feedback-sync`, and `suggestions sync` write local `MyteCommandCenter` data.
|
|
25
24
|
- `feedback status|edit|assign|archive` writes reviewable local YAML artifacts; `feedback submit|revise|reviews|review` routes them through the backend owner-review membrane.
|
|
26
25
|
- `feedback move|comment|undo|prd-versions|prd-diff|history` calls the project-key Feedback API while leaving lifecycle rules and permissions server-side. `feedback move --feedback-ids` sends one batch move request.
|
|
27
26
|
- `feedback validate|apply` remains available for validation and owner-direct apply paths; live authorization, stale checks, and history stay server-side.
|
|
@@ -35,10 +34,19 @@ This package exists so the public wrapper can stay small and versioned cleanly.
|
|
|
35
34
|
gateway, and `MYTEAI_API_KEY`. Normal coding runs use the branded Codex
|
|
36
35
|
harness with Myte context hardening; the experimental controller is not the
|
|
37
36
|
default product path.
|
|
38
|
-
- `mytecody doctor` reports both the signed MyteCody engine state and this npm
|
|
39
|
-
package version. `mytecody update` updates the engine only. Use
|
|
40
|
-
`npm install -g myte@latest` to update the launcher and the Myte API CLI
|
|
41
|
-
commands shipped by npm.
|
|
37
|
+
- `mytecody doctor` reports both the signed MyteCody engine state and this npm
|
|
38
|
+
package version. `mytecody update` updates the engine only. Use
|
|
39
|
+
`npm install -g myte@latest` to update the launcher and the Myte API CLI
|
|
40
|
+
commands shipped by npm.
|
|
41
|
+
|
|
42
|
+
## Live Write Approval
|
|
43
|
+
|
|
44
|
+
Project-key write commands add a server-validated approval envelope only after the caller supplies `--confirm-write --approval-artifact <path>`.
|
|
45
|
+
|
|
46
|
+
- The approval artifact must be a local `.md`, `.yml`, `.yaml`, or `.json` file shown to and approved by the user.
|
|
47
|
+
- The artifact must list the exact operation, proposed change, and every target id or PRD item.
|
|
48
|
+
- Batch writes must enumerate every item and the CLI sends the matching batch count to the API.
|
|
49
|
+
- The API validates the payload hash after stripping transport metadata, so direct HTTP writes with only the API key do not bypass approval.
|
|
42
50
|
- The package does not bundle the large MyteCody engine binary or the async
|
|
43
51
|
Responses bridge implementation. See `THIRD_PARTY_NOTICES.md` and
|
|
44
52
|
`TRADEMARKS.md` for Codex lineage and Myte brand notices.
|
|
@@ -49,10 +57,6 @@ Coding agents should treat `MYTE_API_KEY` as a project-scoped Project Assistant
|
|
|
49
57
|
|
|
50
58
|
- Load it from the workspace `.env` or environment. `MYTE_PROJECT_API_KEY` is accepted as a compatibility fallback.
|
|
51
59
|
- Call `myte config --json` first when project identity or local repo detection is uncertain.
|
|
52
|
-
- 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.
|
|
53
|
-
- 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.
|
|
54
|
-
- 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.
|
|
55
|
-
- Read/sync/query/validate commands, `--print-context`, and `--dry-run` do not require write approval.
|
|
56
60
|
- Hydrate mission context with `bootstrap` first instead of scraping the web UI. `bootstrap` writes mission cards and mission suggestion thread state.
|
|
57
61
|
- Use `suggestions sync` only when you need to refresh mission review-thread state without refreshing the full board.
|
|
58
62
|
- Use `query --with-diff` for project-scoped code review, planning, and implementation questions.
|
|
@@ -192,7 +196,7 @@ The harness creates five disposable `TEST` feedback items from markdown, verifie
|
|
|
192
196
|
|
|
193
197
|
## Direct Project API Surface
|
|
194
198
|
|
|
195
|
-
All routes use `Authorization: Bearer <MYTE_API_KEY>`. The CLI adds idempotency and client-session headers on mutation routes.
|
|
199
|
+
All routes use `Authorization: Bearer <MYTE_API_KEY>`. The CLI adds idempotency and client-session headers on mutation routes.
|
|
196
200
|
|
|
197
201
|
Read/sync routes:
|
|
198
202
|
|
|
@@ -209,11 +213,10 @@ Read/sync routes:
|
|
|
209
213
|
- `GET /api/project-assistant/feedback/<feedback_id>/prd/versions/<version_id>/diff`
|
|
210
214
|
- `GET /api/project-assistant/suggestions`
|
|
211
215
|
- `GET /api/project-assistant/run-qaqc/<batch_id>`
|
|
212
|
-
- `POST /api/project-assistant/query`
|
|
213
|
-
- `POST /api/project-assistant/feedback/<feedback_id>/refinement/validate`
|
|
214
216
|
|
|
215
|
-
|
|
217
|
+
Mutation routes:
|
|
216
218
|
|
|
219
|
+
- `POST /api/project-assistant/query`
|
|
217
220
|
- `POST /api/project-assistant/run-qaqc`
|
|
218
221
|
- `POST /api/project-assistant/mission-status-update`
|
|
219
222
|
- `POST /api/project-assistant/mission-archive`
|
|
@@ -222,6 +225,7 @@ Live project-content mutation routes:
|
|
|
222
225
|
- `POST /api/project-assistant/client-update-drafts`
|
|
223
226
|
- `POST /api/project-assistant/create-prd`
|
|
224
227
|
- `POST /api/project-assistant/create-prds`
|
|
228
|
+
- `POST /api/project-assistant/feedback/<feedback_id>/refinement/validate`
|
|
225
229
|
- `POST /api/project-assistant/feedback/<feedback_id>/refinement/requests`
|
|
226
230
|
- `POST /api/project-assistant/feedback-review-requests/<request_id>/revise`
|
|
227
231
|
- `POST /api/project-assistant/feedback/<feedback_id>/refinement/apply`
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
# Third-Party Notices
|
|
2
|
-
|
|
3
|
-
This package includes the Myte CLI launcher and MyteCody distribution client.
|
|
4
|
-
|
|
5
|
-
The branded MyteCody engine installed by the launcher is derived from the
|
|
6
|
-
OpenAI Codex open-source project. OpenAI Codex is licensed under the
|
|
7
|
-
Apache License, Version 2.0.
|
|
8
|
-
|
|
9
|
-
Source lineage tracked for this slice:
|
|
10
|
-
|
|
11
|
-
- Project: OpenAI Codex
|
|
12
|
-
- Version baseline: `0.139.0`
|
|
13
|
-
- License: Apache-2.0
|
|
14
|
-
- Upstream: https://github.com/openai/codex
|
|
15
|
-
|
|
16
|
-
The MyteCody engine and signed client assets are distributed separately from
|
|
17
|
-
this npm package through a Myte release manifest. This package verifies release
|
|
18
|
-
artifacts before installing them into the user's Myte-owned local cache.
|
|
19
|
-
|
|
20
|
-
Myte names, marks, logos, terminal branding, and product design are not part of
|
|
21
|
-
the OpenAI Codex project and remain Myte-owned brand assets.
|
|
1
|
+
# Third-Party Notices
|
|
2
|
+
|
|
3
|
+
This package includes the Myte CLI launcher and MyteCody distribution client.
|
|
4
|
+
|
|
5
|
+
The branded MyteCody engine installed by the launcher is derived from the
|
|
6
|
+
OpenAI Codex open-source project. OpenAI Codex is licensed under the
|
|
7
|
+
Apache License, Version 2.0.
|
|
8
|
+
|
|
9
|
+
Source lineage tracked for this slice:
|
|
10
|
+
|
|
11
|
+
- Project: OpenAI Codex
|
|
12
|
+
- Version baseline: `0.139.0`
|
|
13
|
+
- License: Apache-2.0
|
|
14
|
+
- Upstream: https://github.com/openai/codex
|
|
15
|
+
|
|
16
|
+
The MyteCody engine and signed client assets are distributed separately from
|
|
17
|
+
this npm package through a Myte release manifest. This package verifies release
|
|
18
|
+
artifacts before installing them into the user's Myte-owned local cache.
|
|
19
|
+
|
|
20
|
+
Myte names, marks, logos, terminal branding, and product design are not part of
|
|
21
|
+
the OpenAI Codex project and remain Myte-owned brand assets.
|
package/TRADEMARKS.md
CHANGED
|
@@ -1,10 +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.
|
|
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.
|