@exchanet/enet 1.0.14 → 1.0.16
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 +1 -1
- package/package.json +3 -2
- package/src/commands/doctor.js +1 -1
- package/src/commands/install.js +1 -1
- package/src/commands/list.js +1 -1
- package/src/commands/status.js +1 -1
- package/src/commands/update.js +1 -1
package/README.md
CHANGED
|
@@ -169,7 +169,7 @@ exchanet/enet/
|
|
|
169
169
|
│ └── doctor.js ← enet doctor
|
|
170
170
|
└── utils/
|
|
171
171
|
├── registry.js ← loads registry.json from GitHub, caches locally
|
|
172
|
-
└──
|
|
172
|
+
└── agent_detector.js ← detects Cursor / Windsurf / Copilot
|
|
173
173
|
```
|
|
174
174
|
|
|
175
175
|
---
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exchanet/enet",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.16",
|
|
4
4
|
"description": "enet — exchanet methods manager. Install, scaffold and manage AI coding methods.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"enet": "src/index.js"
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
],
|
|
14
14
|
"scripts": {
|
|
15
15
|
"dev": "node src/index.js",
|
|
16
|
-
"test": "node --test"
|
|
16
|
+
"test": "node --test",
|
|
17
|
+
"prepublishOnly": "node scripts/check-publish.cjs"
|
|
17
18
|
},
|
|
18
19
|
"dependencies": {
|
|
19
20
|
"chalk": "^5.3.0",
|
package/src/commands/doctor.js
CHANGED
|
@@ -2,7 +2,7 @@ import chalk from 'chalk'
|
|
|
2
2
|
import fs from 'fs-extra'
|
|
3
3
|
import path from 'path'
|
|
4
4
|
import ora from 'ora'
|
|
5
|
-
import { detectAgent, getInstallPath } from '../utils/
|
|
5
|
+
import { detectAgent, getInstallPath } from '../utils/agent_detector.js'
|
|
6
6
|
import { getAllMethods } from '../utils/registry.js'
|
|
7
7
|
|
|
8
8
|
export async function doctorCommand() {
|
package/src/commands/install.js
CHANGED
|
@@ -3,7 +3,7 @@ import ora from 'ora'
|
|
|
3
3
|
import fs from 'fs-extra'
|
|
4
4
|
import path from 'path'
|
|
5
5
|
import readline from 'readline'
|
|
6
|
-
import { detectSystemAgents, getInstallPath, AGENTS } from '../utils/
|
|
6
|
+
import { detectSystemAgents, getInstallPath, AGENTS } from '../utils/agent_detector.js'
|
|
7
7
|
import { getMethod, fetchFromGitHub, readInstallRecord, writeInstallRecord } from '../utils/registry.js'
|
|
8
8
|
|
|
9
9
|
export async function installCommand(methodId, options) {
|
package/src/commands/list.js
CHANGED
|
@@ -2,7 +2,7 @@ import chalk from 'chalk'
|
|
|
2
2
|
import ora from 'ora'
|
|
3
3
|
import fs from 'fs-extra'
|
|
4
4
|
import { getAllMethods } from '../utils/registry.js'
|
|
5
|
-
import { detectAgent, getInstallPath } from '../utils/
|
|
5
|
+
import { detectAgent, getInstallPath } from '../utils/agent_detector.js'
|
|
6
6
|
|
|
7
7
|
export async function listCommand(options) {
|
|
8
8
|
const spinner = ora('Fetching registry...').start()
|
package/src/commands/status.js
CHANGED
|
@@ -3,7 +3,7 @@ import fs from 'fs-extra'
|
|
|
3
3
|
import path from 'path'
|
|
4
4
|
import ora from 'ora'
|
|
5
5
|
import { getAllMethods } from '../utils/registry.js'
|
|
6
|
-
import { detectAgent, getInstallPath } from '../utils/
|
|
6
|
+
import { detectAgent, getInstallPath } from '../utils/agent_detector.js'
|
|
7
7
|
|
|
8
8
|
export async function statusCommand() {
|
|
9
9
|
const cwd = process.cwd()
|
package/src/commands/update.js
CHANGED
|
@@ -4,7 +4,7 @@ import fs from 'fs-extra'
|
|
|
4
4
|
import path from 'path'
|
|
5
5
|
import readline from 'readline'
|
|
6
6
|
import { getAllMethods, getMethod, fetchFromGitHub, readInstallRecord, writeInstallRecord } from '../utils/registry.js'
|
|
7
|
-
import { detectSystemAgents, getInstallPath, AGENTS } from '../utils/
|
|
7
|
+
import { detectSystemAgents, getInstallPath, AGENTS } from '../utils/agent_detector.js'
|
|
8
8
|
import { installForAgent } from './install.js'
|
|
9
9
|
|
|
10
10
|
export async function updateCommand(methodId, options) {
|