@xonovex/agent-cli-go 0.1.11 → 0.1.22
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/bin.js +2 -2
- package/dist/bin.js.map +1 -1
- package/package.json +21 -17
package/dist/bin.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { spawn } from "node:child_process";
|
|
3
|
-
import { arch, platform } from "node:os";
|
|
4
|
-
import { dirname, join } from "node:path";
|
|
5
3
|
import { existsSync } from "node:fs";
|
|
6
4
|
import { createRequire } from "node:module";
|
|
5
|
+
import { arch, platform } from "node:os";
|
|
6
|
+
import { dirname, join } from "node:path";
|
|
7
7
|
const require = createRequire(import.meta.url);
|
|
8
8
|
const getPlatformPackage = () => {
|
|
9
9
|
const os = platform();
|
package/dist/bin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bin.js","sourceRoot":"","sources":["../src/bin.ts"],"names":[],"mappings":";AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"bin.js","sourceRoot":"","sources":["../src/bin.ts"],"names":[],"mappings":";AACA,OAAO,EAAC,KAAK,EAAC,MAAM,oBAAoB,CAAC;AACzC,OAAO,EAAC,UAAU,EAAC,MAAM,SAAS,CAAC;AACnC,OAAO,EAAC,aAAa,EAAC,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAC,IAAI,EAAE,QAAQ,EAAC,MAAM,SAAS,CAAC;AACvC,OAAO,EAAC,OAAO,EAAE,IAAI,EAAC,MAAM,WAAW,CAAC;AAExC,MAAM,OAAO,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAK/C,MAAM,kBAAkB,GAAG,GAAuB,EAAE;IAClD,MAAM,EAAE,GAAG,QAAQ,EAAc,CAAC;IAClC,MAAM,GAAG,GAAG,IAAI,EAAU,CAAC;IAE3B,MAAM,GAAG,GAA2B;QACl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AK,EAAE,SAAS;QAChB,GAAG,EAAE,OAAO,CAAC,GAAG;KACjB,CAAC,CAAC;IAEH,KAAK,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,GAAG,EAAE,EAAE;QACxB,OAAO,CAAC,KAAK,CAAC,oBAAoB,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC;QACjD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC,CAAC,CAAC;IAEH,KAAK,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC;IAC1B,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AAEF,IAAI,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xonovex/agent-cli-go",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.22",
|
|
4
4
|
"description": "Agent wrapper CLI (Go implementation)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
10
|
"url": "git+https://github.com/xonovex/platform.git",
|
|
11
|
-
"directory": "packages/
|
|
11
|
+
"directory": "packages/agent/agent-cli-go"
|
|
12
12
|
},
|
|
13
13
|
"bugs": {
|
|
14
14
|
"url": "https://github.com/xonovex/platform/issues"
|
|
15
15
|
},
|
|
16
|
-
"homepage": "https://github.com/xonovex/platform/tree/main/packages/
|
|
16
|
+
"homepage": "https://github.com/xonovex/platform/tree/main/packages/agent/agent-cli-go#readme",
|
|
17
17
|
"publishConfig": {
|
|
18
18
|
"access": "public",
|
|
19
19
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -23,22 +23,26 @@
|
|
|
23
23
|
"dist/bin.js.map"
|
|
24
24
|
],
|
|
25
25
|
"bin": {
|
|
26
|
-
"agent-cli-go": "
|
|
27
|
-
},
|
|
28
|
-
"scripts": {
|
|
29
|
-
"build": "tsc && go build -o dist/agent-cli ./cmd/agent-cli",
|
|
30
|
-
"typecheck": "tsc --noEmit",
|
|
31
|
-
"lint": "eslint . && go vet ./... && golangci-lint run",
|
|
32
|
-
"test": "go test ./..."
|
|
26
|
+
"agent-cli-go": "dist/bin.js"
|
|
33
27
|
},
|
|
34
28
|
"devDependencies": {
|
|
35
|
-
"@xonovex/ts-config-cli": "0.1.
|
|
29
|
+
"@xonovex/ts-config-cli": "0.1.22"
|
|
36
30
|
},
|
|
37
31
|
"optionalDependencies": {
|
|
38
|
-
"@xonovex/agent-cli-go-linux-x64": "0.1.
|
|
39
|
-
"@xonovex/agent-cli-go-linux-arm64": "0.1.
|
|
40
|
-
"@xonovex/agent-cli-go-darwin-x64": "0.1.
|
|
41
|
-
"@xonovex/agent-cli-go-darwin-arm64": "0.1.
|
|
42
|
-
"@xonovex/agent-cli-go-win32-x64": "0.1.
|
|
43
|
-
}
|
|
32
|
+
"@xonovex/agent-cli-go-linux-x64": "0.1.22",
|
|
33
|
+
"@xonovex/agent-cli-go-linux-arm64": "0.1.22",
|
|
34
|
+
"@xonovex/agent-cli-go-darwin-x64": "0.1.22",
|
|
35
|
+
"@xonovex/agent-cli-go-darwin-arm64": "0.1.22",
|
|
36
|
+
"@xonovex/agent-cli-go-win32-x64": "0.1.22"
|
|
37
|
+
},
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@xonovex/eslint-config-cli": "0.1.22",
|
|
40
|
+
"@xonovex/ts-config-cli": "0.1.22"
|
|
41
|
+
},
|
|
42
|
+
"keywords": [
|
|
43
|
+
"xonovex",
|
|
44
|
+
"agent",
|
|
45
|
+
"cli",
|
|
46
|
+
"go"
|
|
47
|
+
]
|
|
44
48
|
}
|