@obita-ai/cli-darwin-x64 0.0.0-stage → 0.1.2
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 +26 -2
- package/bin/obita +0 -0
- package/package.json +23 -4
package/README.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Obita CLI
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Install the Obita CLI for API integration and local webhook debugging:
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
npm install -g @obita-ai/cli
|
|
7
|
+
obita version
|
|
8
|
+
obita --help
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Or run without a global installation:
|
|
12
|
+
|
|
13
|
+
```sh
|
|
14
|
+
npx @obita-ai/cli --help
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Requires Node.js 18 or later. Supports macOS, Linux and Windows on x64 and arm64. Linux binaries are statically compiled and support glibc and musl distributions. npm installs the matching native package; optional dependencies must be enabled. No installation scripts or GitHub downloads are required.
|
|
18
|
+
|
|
19
|
+
Configure your gateway and credentials with `obita login --help`. API and webhook commands come from your gateway's published catalog.
|
|
20
|
+
|
|
21
|
+
Update with `npm install -g @obita-ai/cli@latest`. Uninstall with `npm uninstall -g @obita-ai/cli`. Uninstalling the package keeps your existing CLI configuration and credentials.
|
|
22
|
+
|
|
23
|
+
If the native dependency is missing, reinstall with `npm install -g @obita-ai/cli --include=optional`.
|
|
24
|
+
|
|
25
|
+
## Maintainer release
|
|
26
|
+
|
|
27
|
+
Version 0.1.2 is the first npm distribution. Set the wrapper version and all six exact dependency versions in `npm/package.json`. Run `make check`, `node --test npm/test/*.test.js` and `make npm-build`. Package each `dist/npm/{platform}` directory with `npm pack`, inspect its allowlisted files and verify binary metadata against `dist/npm/build-manifest.json`. Publish the six platform tarballs with `npm publish --access public`, then publish the wrapper tarball from `dist/npm/cli`. Verify a clean installation from the registry before announcing the release.
|
package/bin/obita
ADDED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@obita-ai/cli-darwin-x64",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "Obita CLI native binary for darwin-x64",
|
|
5
|
+
"license": "UNLICENSED",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/Obita-org/obita-cli.git",
|
|
9
|
+
"directory": "npm"
|
|
10
|
+
},
|
|
11
|
+
"os": [
|
|
12
|
+
"darwin"
|
|
13
|
+
],
|
|
14
|
+
"cpu": [
|
|
15
|
+
"x64"
|
|
16
|
+
],
|
|
17
|
+
"files": [
|
|
18
|
+
"bin/obita",
|
|
19
|
+
"README.md"
|
|
20
|
+
],
|
|
21
|
+
"publishConfig": {
|
|
22
|
+
"access": "public",
|
|
23
|
+
"registry": "https://registry.npmjs.org/"
|
|
24
|
+
}
|
|
25
|
+
}
|