hypercore-cli 1.1.0
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/LICENSE +21 -0
- package/README.md +110 -0
- package/dist/api-XGC7D5AW.js +162 -0
- package/dist/auth-DNQWYQKT.js +21 -0
- package/dist/background-2EGCAAQH.js +14 -0
- package/dist/backlog-Q2NZCLNY.js +24 -0
- package/dist/chunk-2CMSCWQW.js +162 -0
- package/dist/chunk-2LJ2DVEB.js +167 -0
- package/dist/chunk-3RPFCQKJ.js +288 -0
- package/dist/chunk-43OLRXM5.js +263 -0
- package/dist/chunk-4DVYJAJL.js +57 -0
- package/dist/chunk-6OL3GA3P.js +173 -0
- package/dist/chunk-AUHU7ALH.js +2023 -0
- package/dist/chunk-B6A2AKLN.js +139 -0
- package/dist/chunk-BE46C7JW.js +46 -0
- package/dist/chunk-CUVAUOXL.js +58 -0
- package/dist/chunk-GH7E2OJE.js +223 -0
- package/dist/chunk-GOOTEPBK.js +271 -0
- package/dist/chunk-GPPMJYSM.js +133 -0
- package/dist/chunk-GU2FZQ6A.js +69 -0
- package/dist/chunk-IOPKN5GD.js +190 -0
- package/dist/chunk-IXOIOGR5.js +1505 -0
- package/dist/chunk-KRPOPWGA.js +251 -0
- package/dist/chunk-MGLJ53QN.js +219 -0
- package/dist/chunk-MV4TTRYX.js +533 -0
- package/dist/chunk-OPZYEVYR.js +150 -0
- package/dist/chunk-QTSLP47C.js +166 -0
- package/dist/chunk-R3GPQC7I.js +393 -0
- package/dist/chunk-RKB2JOV2.js +43 -0
- package/dist/chunk-RNG3K465.js +80 -0
- package/dist/chunk-TGTYKBGC.js +86 -0
- package/dist/chunk-U5SGAIMM.js +681 -0
- package/dist/chunk-V5UHPPSY.js +140 -0
- package/dist/chunk-WHLVZCQY.js +245 -0
- package/dist/chunk-XDRCBMZZ.js +66 -0
- package/dist/chunk-XOS6HPEF.js +134 -0
- package/dist/chunk-ZSBHUGWR.js +262 -0
- package/dist/claude-NSQ442XD.js +12 -0
- package/dist/commands-CK3WFAGI.js +128 -0
- package/dist/commands-U63OEO5J.js +1044 -0
- package/dist/commands-ZE6GD3WC.js +232 -0
- package/dist/config-4EW42BSF.js +8 -0
- package/dist/config-loader-SXO674TF.js +24 -0
- package/dist/diagnose-AFW3ZTZ4.js +12 -0
- package/dist/display-IIUBEYWN.js +58 -0
- package/dist/extractor-QV53W2YJ.js +129 -0
- package/dist/history-WMSCHERZ.js +180 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +406 -0
- package/dist/instance-registry-YSIJXSO7.js +15 -0
- package/dist/keybindings-JAAMLH3G.js +15 -0
- package/dist/loader-WHNTZTLP.js +58 -0
- package/dist/network-MM6YWPGO.js +279 -0
- package/dist/notify-HPTALZDC.js +14 -0
- package/dist/openai-compat-UQWJXBEK.js +12 -0
- package/dist/permissions-JUKXMNDH.js +10 -0
- package/dist/prompt-QV45TXRL.js +166 -0
- package/dist/quality-ST7PPNFR.js +16 -0
- package/dist/repl-RT3AHL7M.js +3375 -0
- package/dist/roadmap-5OBEKROY.js +17 -0
- package/dist/server-PORT7OEG.js +57 -0
- package/dist/session-4VUNDWLH.js +21 -0
- package/dist/skills-V4A35XKG.js +175 -0
- package/dist/store-Y4LU5QTO.js +25 -0
- package/dist/team-HO7Z4SIM.js +385 -0
- package/dist/telemetry-6R4EIE6O.js +30 -0
- package/dist/test-runner-ZQH5Y6OJ.js +619 -0
- package/dist/theme-3SYJ3UQA.js +14 -0
- package/dist/upgrade-7TGI3SXO.js +83 -0
- package/dist/verify-JUDKTPKZ.js +14 -0
- package/dist/web/static/app.js +562 -0
- package/dist/web/static/index.html +132 -0
- package/dist/web/static/mirror.css +1001 -0
- package/dist/web/static/mirror.html +184 -0
- package/dist/web/static/mirror.js +1125 -0
- package/dist/web/static/onboard.css +302 -0
- package/dist/web/static/onboard.html +140 -0
- package/dist/web/static/onboard.js +260 -0
- package/dist/web/static/style.css +602 -0
- package/dist/web/static/workspace.css +1568 -0
- package/dist/web/static/workspace.html +408 -0
- package/dist/web/static/workspace.js +1683 -0
- package/dist/web-Z5HSCQHW.js +39 -0
- package/package.json +67 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createWebServerAutoPort
|
|
3
|
+
} from "./chunk-AUHU7ALH.js";
|
|
4
|
+
import "./chunk-2LJ2DVEB.js";
|
|
5
|
+
import "./chunk-6OL3GA3P.js";
|
|
6
|
+
import "./chunk-XOS6HPEF.js";
|
|
7
|
+
import "./chunk-XDRCBMZZ.js";
|
|
8
|
+
import "./chunk-MV4TTRYX.js";
|
|
9
|
+
import "./chunk-IXOIOGR5.js";
|
|
10
|
+
import "./chunk-KRPOPWGA.js";
|
|
11
|
+
import "./chunk-GU2FZQ6A.js";
|
|
12
|
+
import "./chunk-R3GPQC7I.js";
|
|
13
|
+
import "./chunk-BE46C7JW.js";
|
|
14
|
+
import "./chunk-RNG3K465.js";
|
|
15
|
+
import "./chunk-43OLRXM5.js";
|
|
16
|
+
import "./chunk-GOOTEPBK.js";
|
|
17
|
+
import "./chunk-B6A2AKLN.js";
|
|
18
|
+
import "./chunk-V5UHPPSY.js";
|
|
19
|
+
import "./chunk-WHLVZCQY.js";
|
|
20
|
+
import "./chunk-TGTYKBGC.js";
|
|
21
|
+
|
|
22
|
+
// src/web/index.ts
|
|
23
|
+
async function startWebServer(config, port = 3210, host = "127.0.0.1") {
|
|
24
|
+
const { server, port: actualPort } = await createWebServerAutoPort(config, port, host);
|
|
25
|
+
const shutdown = () => {
|
|
26
|
+
console.log("\n Shutting down Hypercore Web Dashboard...");
|
|
27
|
+
server.close(() => {
|
|
28
|
+
process.exit(0);
|
|
29
|
+
});
|
|
30
|
+
setTimeout(() => process.exit(1), 3e3);
|
|
31
|
+
};
|
|
32
|
+
process.on("SIGINT", shutdown);
|
|
33
|
+
process.on("SIGTERM", shutdown);
|
|
34
|
+
await new Promise(() => {
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
export {
|
|
38
|
+
startWebServer
|
|
39
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "hypercore-cli",
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"description": "AI-Native CLI Shell — multi-model, production lines, MCP tools, team collaboration",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"bin": {
|
|
8
|
+
"hyper": "dist/index.js"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"dist/",
|
|
12
|
+
"LICENSE",
|
|
13
|
+
"README.md"
|
|
14
|
+
],
|
|
15
|
+
"scripts": {
|
|
16
|
+
"dev": "tsx src/index.ts",
|
|
17
|
+
"build": "tsup src/index.ts --format esm --dts --clean && mkdir -p dist/web && rm -rf dist/web/static && cp -r src/web/static dist/web/",
|
|
18
|
+
"test": "vitest run",
|
|
19
|
+
"test:e2e:api": "node tests/e2e/run-api-regression.mjs",
|
|
20
|
+
"test:watch": "vitest",
|
|
21
|
+
"typecheck": "tsc --noEmit",
|
|
22
|
+
"prepublishOnly": "npm run typecheck && npm run build && npm test"
|
|
23
|
+
},
|
|
24
|
+
"keywords": [
|
|
25
|
+
"ai",
|
|
26
|
+
"cli",
|
|
27
|
+
"shell",
|
|
28
|
+
"agent",
|
|
29
|
+
"llm",
|
|
30
|
+
"claude",
|
|
31
|
+
"openai",
|
|
32
|
+
"deepseek",
|
|
33
|
+
"mcp",
|
|
34
|
+
"productivity",
|
|
35
|
+
"automation"
|
|
36
|
+
],
|
|
37
|
+
"author": "V.W.",
|
|
38
|
+
"license": "MIT",
|
|
39
|
+
"repository": {
|
|
40
|
+
"type": "git",
|
|
41
|
+
"url": "https://github.com/vionwilliams/hypercore-cli"
|
|
42
|
+
},
|
|
43
|
+
"homepage": "https://github.com/vionwilliams/hypercore-cli#readme",
|
|
44
|
+
"engines": {
|
|
45
|
+
"node": ">=18.0.0"
|
|
46
|
+
},
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"@anthropic-ai/sdk": "^0.78.0",
|
|
49
|
+
"@inquirer/prompts": "^8.3.0",
|
|
50
|
+
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
51
|
+
"chalk": "^5.6.2",
|
|
52
|
+
"commander": "^14.0.3",
|
|
53
|
+
"marked": "^15.0.12",
|
|
54
|
+
"marked-terminal": "^7.3.0",
|
|
55
|
+
"openai": "^6.25.0",
|
|
56
|
+
"ora": "^9.3.0",
|
|
57
|
+
"ws": "^8.19.0"
|
|
58
|
+
},
|
|
59
|
+
"devDependencies": {
|
|
60
|
+
"@types/node": "^25.3.2",
|
|
61
|
+
"@types/ws": "^8.18.1",
|
|
62
|
+
"tsup": "^8.5.1",
|
|
63
|
+
"tsx": "^4.21.0",
|
|
64
|
+
"typescript": "^5.9.3",
|
|
65
|
+
"vitest": "^4.0.18"
|
|
66
|
+
}
|
|
67
|
+
}
|