myte 0.0.1 → 0.0.2

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.
Files changed (3) hide show
  1. package/README.md +12 -0
  2. package/bin/myte.js +2 -3
  3. package/package.json +11 -5
package/README.md ADDED
@@ -0,0 +1,12 @@
1
+ # myte (CLI)
2
+
3
+ Canonical npm package name for the Myte developer CLI.
4
+
5
+ Usage:
6
+ - `npx myte@latest query "What changed in logging?" --with-diff`
7
+ - `npm i -g myte` then `myte query "..." --with-diff`
8
+
9
+ Requirements:
10
+ - Node 18+
11
+ - `git` in PATH (for `--with-diff`)
12
+ - Root `.env` (or env var) contains `MYTE_API_KEY=<project_api_key>`
package/bin/myte.js CHANGED
@@ -1,3 +1,2 @@
1
- #!/usr/bin/env node
2
-
3
- console.log("Myte CLI initialized.");
1
+ #!/usr/bin/env node
2
+ require("@mytegroupinc/myte-core/cli");
package/package.json CHANGED
@@ -1,10 +1,16 @@
1
1
  {
2
2
  "name": "myte",
3
- "version": "0.0.1",
4
- "description": "Myte CLI",
3
+ "version": "0.0.2",
4
+ "description": "Myte developer CLI (Project Assistant + deterministic diffs).",
5
+ "type": "commonjs",
6
+ "license": "MIT",
5
7
  "bin": {
6
- "myte": "./bin/myte.js"
8
+ "myte": "bin/myte.js"
7
9
  },
8
- "type": "commonjs",
9
- "license": "MIT"
10
+ "engines": {
11
+ "node": ">=18"
12
+ },
13
+ "dependencies": {
14
+ "@mytegroupinc/myte-core": "0.0.2"
15
+ }
10
16
  }