myte 0.0.43 → 0.0.45

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,16 +25,18 @@ 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
- - `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.
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.
33
33
 
34
34
  The CLI searches for `.env` in the current folder and then up parent directories.
35
35
 
36
36
  ## Common Commands
37
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
+
38
40
  - `npx myte config --json`
39
41
  - `npx myte bootstrap`
40
42
  - `npx myte sync-qaqc`
@@ -49,12 +51,12 @@ The CLI searches for `.env` in the current folder and then up parent directories
49
51
  - `npx myte feedback submit --file ./MyteCommandCenter/reviews/feedback/<id>-edit.yml`
50
52
  - `npx myte feedback reviews --status open`
51
53
  - `npx myte feedback revise --request-id <id> --file ./MyteCommandCenter/reviews/feedback/<id>-edit.yml`
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"`
54
+ - `npx myte feedback review --request-id <id> --action approve --reason "Looks correct"`
55
+ - `npx myte feedback review --request-ids "<id1,id2>" --action approve --reason "Batch approval"`
56
+ - `npx myte feedback move --feedback-id <id> --to-state in_progress --reason "Started"`
57
+ - `npx myte feedback move --feedback-ids "<id1,id2>" --to-state in_progress --reason "Batch move"`
58
+ - `npx myte feedback comment --feedback-id <id> --body-file ./updates/feedback-comment.md`
59
+ - `npx myte feedback undo --feedback-id <id> --event-id <event_id> --reason "Undo accidental move"`
58
60
  - `npx myte feedback prd-versions --feedback-id <id>`
59
61
  - `npx myte feedback prd-diff --feedback-id <id> --version-id <version_id> --compare-to <base_version_id>`
60
62
  - `npx myte feedback apply --file ./MyteCommandCenter/reviews/feedback/<id>-edit.yml`
@@ -63,23 +65,24 @@ The CLI searches for `.env` in the current folder and then up parent directories
63
65
  - `npx myte query "Summarize the current branch changes" --with-diff`
64
66
  - `npx myte create-prd ./drafts/auth-prd.md`
65
67
  - `npx myte update-team "Backend deploy completed."`
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`
68
+ - `npx myte update-owner --subject "QAQC progress" --body-file ./updates/owner.md`
69
+ - `npx myte update-client --subject "Weekly client update" --body-file ./updates/week-12.md`
70
+ - `npx mytecody doctor`
71
+ - `npx mytecody doctor --probe-gateway`
72
+ - `npx mytecody update --dry-run`
73
+ - `npx mytecody update`
72
74
 
73
75
  ## Behavior
74
76
 
75
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>`.
76
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.
80
83
  - `feedback review --request-ids` sends one backend batch review request with grouped notifications; do not loop single-review calls for batch decisions.
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.
84
+ - `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.
85
+ - `feedback comment` creates text-only feedback-specific comments. Attachments remain web UI only for this project-key endpoint.
83
86
  - `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.
84
87
  - `feedback validate|apply` remains available for validation and owner-direct apply paths.
85
88
  - `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.
@@ -101,12 +104,16 @@ Recommended agent flow:
101
104
  1. Run `myte config --json` to confirm the project, API base, configured repos, and local workspace detection.
102
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.
103
106
  3. Use `myte query "<goal/evidence/ask>" --with-diff` when local code changes matter.
104
- 4. 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.
105
- 5. Use `myte feedback status|edit|assign|archive` to create reviewable local artifacts, then `feedback submit` and `feedback review` for the owner-review membrane.
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.
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`.
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.
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.
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
 
@@ -138,12 +145,12 @@ Preferred file shape:
138
145
  Full PRD content goes here.
139
146
  ````
140
147
 
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.
148
+ Feedback comments nuance:
149
+
150
+ - `myte feedback-sync` reads existing feedback comment turns and stores them in `MyteCommandCenter/data/feedback.yml`.
151
+ - The web product supports feedback-specific comment create/fetch through JWT-authenticated `/api/feedbacks/<feedback_id>/comments`.
152
+ - The project-key npm CLI supports `myte feedback comment --feedback-id <id> --body "..."` and `--body-file ./comment.md`.
153
+ - 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.
147
154
 
148
155
  ## Commands
149
156
 
@@ -154,36 +161,36 @@ Feedback comments nuance:
154
161
  - `mission archive`: archive missions without hard delete
155
162
  - `sync-qaqc`: refresh active mission QAQC context locally
156
163
  - `feedback-sync`: refresh feedback and PRD context locally
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
164
+ - `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
158
165
  - `suggestions sync|create|revise|review`: work with mission suggestion workflow state
159
166
  - `query`: ask the project assistant, optionally with local diff context
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 and signed
164
- client assets from the Myte release manifest into a user-local Myte cache
165
- after signature/hash checks. Coding execution requires those assets, a
166
- reachable Myte AI Cody gateway, and `MYTEAI_API_KEY`. Normal coding runs use
167
- the branded Codex harness with Myte context hardening; the experimental
168
- controller is not the default product path.
169
- - `mytecody doctor` reports both the signed MyteCody engine state and this npm
170
- package version. `mytecody update` updates the engine only. Use
171
- `npm install -g myte@latest` to update the launcher and the Myte API CLI
172
- commands shipped by npm.
173
- - `create-prd`: upload deterministic PRD markdown as the stored renderable PRD document; use `description` only as the short card summary
167
+ - `ai`: use the Myte AI gateway
168
+ - `mytecody`: MyteCody team launcher installed by this package. It supports
169
+ `doctor`, `doctor --probe-gateway`, `update --dry-run`, and `update`.
170
+ On first coding run, it installs the branded MyteCody engine and signed
171
+ client assets from the Myte release manifest into a user-local Myte cache
172
+ after signature/hash checks. Coding execution requires those assets, a
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.
176
+ - `mytecody doctor` reports both the signed MyteCody engine state and this npm
177
+ package version. `mytecody update` updates the engine only. Use
178
+ `npm install -g myte@latest` to update the launcher and the Myte API CLI
179
+ commands shipped by npm.
180
+ - `create-prd`: upload deterministic PRD markdown as the stored renderable PRD document; use `description` only as the short card summary
174
181
  - `update-team`, `update-owner`, `update-client`: send project updates through the project-key surface
175
182
 
176
183
  ## Notes
177
184
 
178
- - The package ships the CLI only. Internal rollout notes, validation logs, and project-specific operating docs are not part of the public npm contract.
179
- - The package does not bundle the large MyteCody engine binary or the async
180
- Responses bridge implementation. The `mytecody` launcher installs or updates
181
- signed engine/client assets through the Myte release manifest.
182
- - `mytecody update` is intentionally engine-scoped. npm package updates use
183
- `npm install -g myte@latest`.
184
- - The public `myte` package is the supported entrypoint. The scoped `@mytegroupinc/myte-core` package is the implementation dependency used by the wrapper.
185
- - See `THIRD_PARTY_NOTICES.md` and `TRADEMARKS.md` for Codex lineage and Myte
186
- brand notices.
185
+ - The package ships the CLI only. Internal rollout notes, validation logs, and project-specific operating docs are not part of the public npm contract.
186
+ - The package does not bundle the large MyteCody engine binary or the async
187
+ Responses bridge implementation. The `mytecody` launcher installs or updates
188
+ signed engine/client assets through the Myte release manifest.
189
+ - `mytecody update` is intentionally engine-scoped. npm package updates use
190
+ `npm install -g myte@latest`.
191
+ - The public `myte` package is the supported entrypoint. The scoped `@mytegroupinc/myte-core` package is the implementation dependency used by the wrapper.
192
+ - See `THIRD_PARTY_NOTICES.md` and `TRADEMARKS.md` for Codex lineage and Myte
193
+ brand notices.
187
194
 
188
195
  ## Mission Action Map
189
196
 
@@ -219,10 +226,10 @@ After `bootstrap`, find ids locally:
219
226
  | `feedback submit` | Sends a local proposal artifact to the backend as a review request. | Does not mutate live feedback before approval. |
220
227
  | `feedback revise` | Resubmits the original submitter's request after `request_changes`. | Only valid for the original submitter and `needs_changes` requests. |
221
228
  | `feedback reviews` | Lists review requests or fetches one request by `--request-id`. | Read-only; response includes backend permissions. |
222
- | `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. |
223
- | `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. |
224
- | `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. |
225
- | `feedback undo` | Reverses an audited board event when there is no conflict. | Backend validates event ownership/project scope and conflict state. |
229
+ | `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. |
230
+ | `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. |
231
+ | `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. |
232
+ | `feedback undo` | Reverses an audited board event when there is no conflict. | Backend validates event ownership/project scope and conflict state. |
226
233
  | `feedback prd-versions` | Lists retained PRD baselines/revisions for a feedback item. | Read-only; old S3 objects are retained by reference. |
227
234
  | `feedback prd-diff` | Fetches backend-generated text diff for PRD versions. | Read-only; backend controls version access. |
228
235
  | `feedback history` | Lists audited feedback board/refinement events. | Read-only; backend checks project access. |
@@ -241,7 +248,7 @@ The harness creates five disposable `TEST` feedback items from markdown, verifie
241
248
 
242
249
  ## Direct Project API Surface
243
250
 
244
- 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>`.
245
252
 
246
253
  Read/sync routes:
247
254
 
@@ -258,10 +265,11 @@ Read/sync routes:
258
265
  - `GET /api/project-assistant/feedback/<feedback_id>/prd/versions/<version_id>/diff`
259
266
  - `GET /api/project-assistant/suggestions`
260
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`
261
270
 
262
- Mutation routes:
271
+ Live project-content mutation routes:
263
272
 
264
- - `POST /api/project-assistant/query`
265
273
  - `POST /api/project-assistant/run-qaqc`
266
274
  - `POST /api/project-assistant/mission-status-update`
267
275
  - `POST /api/project-assistant/mission-archive`
@@ -270,7 +278,6 @@ Mutation routes:
270
278
  - `POST /api/project-assistant/client-update-drafts`
271
279
  - `POST /api/project-assistant/create-prd`
272
280
  - `POST /api/project-assistant/create-prds`
273
- - `POST /api/project-assistant/feedback/<feedback_id>/refinement/validate`
274
281
  - `POST /api/project-assistant/feedback/<feedback_id>/refinement/requests`
275
282
  - `POST /api/project-assistant/feedback-review-requests/<request_id>/revise`
276
283
  - `POST /api/project-assistant/feedback/<feedback_id>/refinement/apply`
@@ -278,10 +285,10 @@ Mutation routes:
278
285
  - `POST /api/project-assistant/feedback-review-requests/batch-review`
279
286
  - `POST /api/project-assistant/feedback-review-requests/<request_id>/request-changes`
280
287
  - `POST /api/project-assistant/feedback-review-requests/<request_id>/cancel`
281
- - `POST /api/project-assistant/feedback/<feedback_id>/board-move`
282
- - `POST /api/project-assistant/feedback/batch-board-move`
283
- - `POST /api/project-assistant/feedback/<feedback_id>/comments`
284
- - `POST /api/project-assistant/feedback/<feedback_id>/events/<event_id>/undo`
288
+ - `POST /api/project-assistant/feedback/<feedback_id>/board-move`
289
+ - `POST /api/project-assistant/feedback/batch-board-move`
290
+ - `POST /api/project-assistant/feedback/<feedback_id>/comments`
291
+ - `POST /api/project-assistant/feedback/<feedback_id>/events/<event_id>/undo`
285
292
  - `POST /api/project-assistant/suggestions`
286
293
  - `POST /api/project-assistant/suggestions/revise`
287
294
  - `POST /api/project-assistant/suggestions/review`
@@ -1,11 +1,11 @@
1
- # Third-Party Notices
2
-
3
- The `myte` package exposes the `mytecody` command. The command installs and
4
- launches a branded MyteCody engine and signed client assets from a Myte release
5
- manifest.
6
-
7
- The branded MyteCody engine is derived from the OpenAI Codex open-source
8
- project, version baseline `0.139.0`, licensed under Apache-2.0.
9
-
10
- Myte names, marks, logos, terminal branding, and product design are separate
11
- Myte-owned brand assets.
1
+ # Third-Party Notices
2
+
3
+ The `myte` package exposes the `mytecody` command. The command installs and
4
+ launches a branded MyteCody engine and signed client assets from a Myte release
5
+ manifest.
6
+
7
+ The branded MyteCody engine is derived from the OpenAI Codex open-source
8
+ project, version baseline `0.139.0`, licensed under Apache-2.0.
9
+
10
+ Myte names, marks, logos, terminal branding, and product design are separate
11
+ 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.
package/bin/mytecody.js CHANGED
@@ -1,19 +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
- );
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,24 +1,24 @@
1
1
  {
2
2
  "name": "myte",
3
- "version": "0.0.43",
3
+ "version": "0.0.45",
4
4
  "description": "Myte developer CLI.",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
- "files": [
8
- "README.md",
9
- "THIRD_PARTY_NOTICES.md",
10
- "TRADEMARKS.md",
11
- "bin",
12
- "package.json"
7
+ "files": [
8
+ "README.md",
9
+ "THIRD_PARTY_NOTICES.md",
10
+ "TRADEMARKS.md",
11
+ "bin",
12
+ "package.json"
13
13
  ],
14
- "bin": {
15
- "myte": "bin/myte.js",
16
- "mytecody": "bin/mytecody.js"
17
- },
14
+ "bin": {
15
+ "myte": "bin/myte.js",
16
+ "mytecody": "bin/mytecody.js"
17
+ },
18
18
  "engines": {
19
19
  "node": ">=18"
20
20
  },
21
21
  "dependencies": {
22
- "@mytegroupinc/myte-core": "0.0.43"
22
+ "@mytegroupinc/myte-core": "0.0.45"
23
23
  }
24
24
  }