@zoulabo/line-hive 0.1.12 → 0.1.13
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 +2 -9
- package/bin/line-hive.js +0 -17
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -228,15 +228,9 @@ Not working? Run `npx @zoulabo/line-hive test`.
|
|
|
228
228
|
|
|
229
229
|
## Updating
|
|
230
230
|
|
|
231
|
-
|
|
231
|
+
Instruction files are **auto-updated on server startup** — no manual step needed after upgrading.
|
|
232
232
|
|
|
233
|
-
|
|
234
|
-
npx @zoulabo/line-hive update
|
|
235
|
-
```
|
|
236
|
-
|
|
237
|
-
This updates the agent instruction templates to the latest version **without touching your MCP config or credentials**. Safe to run anytime.
|
|
238
|
-
|
|
239
|
-
Need to change your editor type or reconfigure from scratch? Use `init` instead:
|
|
233
|
+
Need to change your editor type or reconfigure from scratch? Use `init`:
|
|
240
234
|
```bash
|
|
241
235
|
npx @zoulabo/line-hive init # full interactive setup
|
|
242
236
|
npx @zoulabo/line-hive init --editor cursor # switch editor type
|
|
@@ -305,7 +299,6 @@ npm install && npm run build && npm test
|
|
|
305
299
|
| `npm test` | Run tests (vitest) |
|
|
306
300
|
| `npm start` | Start standalone server |
|
|
307
301
|
| `npx @zoulabo/line-hive init` | Full interactive setup |
|
|
308
|
-
| `npx @zoulabo/line-hive update` | Refresh instruction templates |
|
|
309
302
|
| `npx @zoulabo/line-hive test` | Test LINE API connection |
|
|
310
303
|
|
|
311
304
|
### Environment Variables
|
package/bin/line-hive.js
CHANGED
|
@@ -36,23 +36,6 @@ async function run() {
|
|
|
36
36
|
return;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
if (command === "update") {
|
|
40
|
-
// Usage: line-hive update [projectDir] [--editor vscode|cursor|claude-code|claude-desktop]
|
|
41
|
-
const editorIdx = args.indexOf("--editor");
|
|
42
|
-
const editor = editorIdx !== -1 && args[editorIdx + 1] ? args[editorIdx + 1] : undefined;
|
|
43
|
-
const positional = args.slice(1).filter((a, i) => {
|
|
44
|
-
if (a.startsWith("--")) return false;
|
|
45
|
-
const origIdx = i + 1;
|
|
46
|
-
return origIdx !== editorIdx + 1;
|
|
47
|
-
});
|
|
48
|
-
const projectDir = positional[0] || process.cwd();
|
|
49
|
-
const modulePath = path.join(__dirname, "..", "dist", "cli", "update.js");
|
|
50
|
-
const moduleUrl = pathToFileURL(modulePath).href;
|
|
51
|
-
const mod = await import(moduleUrl);
|
|
52
|
-
await mod.runUpdate(path.resolve(projectDir), editor);
|
|
53
|
-
return;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
39
|
const modulePath = path.join(__dirname, "..", "dist", "index.js");
|
|
57
40
|
const moduleUrl = pathToFileURL(modulePath).href;
|
|
58
41
|
await import(moduleUrl);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zoulabo/line-hive",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.13",
|
|
4
4
|
"description": "MCP server connecting AI coding agents to LINE Messaging API. Monitor agent progress, provide input, and get notifications from your phone.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|