@usehoplite/cli 2.3.2 → 3.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/bin/hoplite-cli.js +5 -3
- package/package.json +16 -10
package/bin/hoplite-cli.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
// Launcher shim. The actual CLI is a
|
|
3
|
-
//
|
|
4
|
-
//
|
|
2
|
+
// Launcher shim (installed as `hoplite` and `hplt`). The actual CLI is a native
|
|
3
|
+
// binary shipped in a per-platform optional dependency
|
|
4
|
+
// (@usehoplite/cli-<platform>-<arch>, next to its `hoplite-legacy` helper); npm
|
|
5
|
+
// installs only the one matching this machine. We resolve it and exec it,
|
|
6
|
+
// passing args through.
|
|
5
7
|
|
|
6
8
|
const { spawnSync } = require("node:child_process");
|
|
7
9
|
|
package/package.json
CHANGED
|
@@ -1,23 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usehoplite/cli",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "Hoplite
|
|
3
|
+
"version": "3.1.0",
|
|
4
|
+
"description": "Hoplite CLI — run Hoplite's coding agent from your terminal. Run `hoplite`, or `hoplite onboard` to import your local agent history.",
|
|
5
5
|
"bin": {
|
|
6
|
-
"hoplite": "bin/hoplite-cli.js"
|
|
6
|
+
"hoplite": "bin/hoplite-cli.js",
|
|
7
|
+
"hplt": "bin/hoplite-cli.js"
|
|
7
8
|
},
|
|
8
9
|
"files": [
|
|
9
10
|
"bin/"
|
|
10
11
|
],
|
|
11
12
|
"optionalDependencies": {
|
|
12
|
-
"@usehoplite/cli-darwin-arm64": "
|
|
13
|
-
"@usehoplite/cli-darwin-x64": "
|
|
14
|
-
"@usehoplite/cli-linux-arm64": "
|
|
15
|
-
"@usehoplite/cli-linux-x64": "
|
|
16
|
-
"@usehoplite/cli-win32-arm64": "
|
|
17
|
-
"@usehoplite/cli-win32-x64": "
|
|
13
|
+
"@usehoplite/cli-darwin-arm64": "3.1.0",
|
|
14
|
+
"@usehoplite/cli-darwin-x64": "3.1.0",
|
|
15
|
+
"@usehoplite/cli-linux-arm64": "3.1.0",
|
|
16
|
+
"@usehoplite/cli-linux-x64": "3.1.0",
|
|
17
|
+
"@usehoplite/cli-win32-arm64": "3.1.0",
|
|
18
|
+
"@usehoplite/cli-win32-x64": "3.1.0"
|
|
18
19
|
},
|
|
19
20
|
"engines": {
|
|
20
21
|
"node": ">=18"
|
|
21
22
|
},
|
|
22
|
-
"license": "Apache-2.0"
|
|
23
|
+
"license": "Apache-2.0",
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "git+https://github.com/CarbonCopyInc/hoplite.git",
|
|
27
|
+
"directory": "apps/cli"
|
|
28
|
+
}
|
|
23
29
|
}
|