@moxt-ai/mobius 0.0.19 → 0.0.20
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/dist/cli.js +61 -0
- package/dist/cli.js.map +3 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -8,6 +8,65 @@ var __export = (target, all) => {
|
|
|
8
8
|
// src/cli.ts
|
|
9
9
|
import { mkdir as mkdir4 } from "node:fs/promises";
|
|
10
10
|
|
|
11
|
+
// package.json
|
|
12
|
+
var package_default = {
|
|
13
|
+
name: "@moxt-ai/mobius",
|
|
14
|
+
version: "0.0.20",
|
|
15
|
+
description: "Mobius CLI for pairing and running local AI agent services.",
|
|
16
|
+
type: "module",
|
|
17
|
+
bin: {
|
|
18
|
+
mobius: "dist/cli.js"
|
|
19
|
+
},
|
|
20
|
+
exports: {
|
|
21
|
+
".": {
|
|
22
|
+
types: "./dist/index.d.ts",
|
|
23
|
+
import: "./dist/index.js"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
files: [
|
|
27
|
+
"dist"
|
|
28
|
+
],
|
|
29
|
+
engines: {
|
|
30
|
+
node: ">=22.13.0"
|
|
31
|
+
},
|
|
32
|
+
publishConfig: {
|
|
33
|
+
access: "public"
|
|
34
|
+
},
|
|
35
|
+
repository: {
|
|
36
|
+
type: "git",
|
|
37
|
+
url: "git+https://github.com/moxt-ai/mobius.git",
|
|
38
|
+
directory: "packages/cli"
|
|
39
|
+
},
|
|
40
|
+
scripts: {
|
|
41
|
+
build: "tsc --project tsconfig.build.json && esbuild src/cli.ts src/index.ts --bundle --platform=node --format=esm --sourcemap --outdir=dist --external:@agentclientprotocol/* --external:undici",
|
|
42
|
+
dev: "node --watch src/cli.ts",
|
|
43
|
+
prepack: "pnpm build",
|
|
44
|
+
start: "node dist/cli.js",
|
|
45
|
+
typecheck: "tsc --project tsconfig.json"
|
|
46
|
+
},
|
|
47
|
+
dependencies: {
|
|
48
|
+
"@agentclientprotocol/sdk": "^1.4.0",
|
|
49
|
+
undici: "7.29.0",
|
|
50
|
+
zod: "^4.5.4"
|
|
51
|
+
},
|
|
52
|
+
devDependencies: {
|
|
53
|
+
"@moxt-ai/mobius-protocol": "workspace:*",
|
|
54
|
+
"@types/node": "^24.13.3",
|
|
55
|
+
esbuild: "0.28.2"
|
|
56
|
+
},
|
|
57
|
+
main: "dist/index.js",
|
|
58
|
+
directories: {
|
|
59
|
+
test: "tests"
|
|
60
|
+
},
|
|
61
|
+
keywords: [],
|
|
62
|
+
author: "",
|
|
63
|
+
license: "ISC",
|
|
64
|
+
bugs: {
|
|
65
|
+
url: "https://github.com/moxt-ai/mobius/issues"
|
|
66
|
+
},
|
|
67
|
+
homepage: "https://github.com/moxt-ai/mobius#readme"
|
|
68
|
+
};
|
|
69
|
+
|
|
11
70
|
// src/agent-catalog/local-agent.ts
|
|
12
71
|
import { realpathSync, statSync } from "node:fs";
|
|
13
72
|
|
|
@@ -28863,6 +28922,8 @@ async function main() {
|
|
|
28863
28922
|
}
|
|
28864
28923
|
let config2;
|
|
28865
28924
|
if (command === "pair") {
|
|
28925
|
+
process.stdout.write(`mobius version: ${package_default.version}
|
|
28926
|
+
`);
|
|
28866
28927
|
const paired = await pairLocalMachine(process.argv.slice(3), shutdown.signal);
|
|
28867
28928
|
config2 = paired.config;
|
|
28868
28929
|
process.stdout.write("\nLocal machine paired.\n");
|