@getsigit/sigit 0.0.0 → 1.5.5

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.
Files changed (3) hide show
  1. package/README.md +104 -0
  2. package/lib/index.js +38 -0
  3. package/package.json +39 -5
package/README.md ADDED
@@ -0,0 +1,104 @@
1
+ <h1 align="center">siGit Code</h1>
2
+
3
+ <p align="center">
4
+ A local coding agent powered by <a href="https://ondeinference.com">Onde Inference</a>.<br>
5
+ Runs on your machine. No API keys. No cloud round-trips.
6
+ </p>
7
+
8
+ <p align="center">
9
+ <a href="https://www.npmjs.com/package/@getsigit/sigit"><img src="https://img.shields.io/npm/v/@getsigit/sigit?style=flat-square&labelColor=17211D&color=235843" alt="npm"></a>
10
+ <a href="https://crates.io/crates/sigit"><img src="https://img.shields.io/crates/v/sigit?style=flat-square&labelColor=17211D&color=235843" alt="Crates.io"></a>
11
+ <a href="https://pypi.org/project/sigit-code/"><img src="https://img.shields.io/pypi/v/sigit-code?style=flat-square&labelColor=17211D&color=235843" alt="PyPI"></a>
12
+ <a href="https://smbcloud.xyz"><img src="https://img.shields.io/badge/smbcloud.xyz-235843?style=flat-square&labelColor=17211D" alt="Website"></a>
13
+ <a href="https://github.com/getsigit/sigit/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-Apache--2.0-235843?style=flat-square&labelColor=17211D" alt="License"></a>
14
+ </p>
15
+
16
+ ## Install
17
+
18
+ ```sh
19
+ npm install -g @getsigit/sigit
20
+ ```
21
+
22
+ npm pulls in the right binary for your platform automatically.
23
+
24
+ Supported targets:
25
+
26
+ - macOS, Apple Silicon and Intel
27
+ - Linux, x64 and arm64
28
+ - Windows, x64 and arm64
29
+
30
+ ## Other install methods
31
+
32
+ | Method | Command |
33
+ |---|---|
34
+ | Homebrew | `brew tap getsigit/tap && brew trust --tap getsigit/tap && brew install sigit` |
35
+ | pip | `pip install sigit-code` |
36
+ | uv | `uvx --from sigit-code sigit` |
37
+ | Cargo | `cargo install sigit` |
38
+
39
+ ## Usage
40
+
41
+ ```sh
42
+ sigit
43
+ ```
44
+
45
+ That starts the local terminal UI.
46
+
47
+ ### Zed
48
+
49
+ Add this to `~/.config/zed/settings.json`:
50
+
51
+ ```json
52
+ {
53
+ "agent_servers": {
54
+ "siGit Code": {
55
+ "type": "custom",
56
+ "command": "sigit"
57
+ }
58
+ }
59
+ }
60
+ ```
61
+
62
+ Then select **siGit Code** in the Zed assistant panel.
63
+
64
+ ### VS Code with ACP Client
65
+
66
+ Install [ACP Client](https://marketplace.visualstudio.com/items?itemName=formulahendry.acp-client), then add:
67
+
68
+ ```json
69
+ {
70
+ "acp.agents": {
71
+ "siGit Code": {
72
+ "command": "sigit",
73
+ "args": [],
74
+ "env": {}
75
+ }
76
+ }
77
+ }
78
+ ```
79
+
80
+ ## Platform support
81
+
82
+ | Platform | Architecture | Package |
83
+ |---|---|---|
84
+ | macOS | Apple Silicon (arm64) | [`@getsigit/sigit-darwin-arm64`](https://www.npmjs.com/package/@getsigit/sigit-darwin-arm64) |
85
+ | macOS | Intel (x64) | [`@getsigit/sigit-darwin-x64`](https://www.npmjs.com/package/@getsigit/sigit-darwin-x64) |
86
+ | Linux | x64 | [`@getsigit/sigit-linux-x64`](https://www.npmjs.com/package/@getsigit/sigit-linux-x64) |
87
+ | Linux | arm64 | [`@getsigit/sigit-linux-arm64`](https://www.npmjs.com/package/@getsigit/sigit-linux-arm64) |
88
+ | Windows | x64 | [`@getsigit/sigit-windows-x64`](https://www.npmjs.com/package/@getsigit/sigit-windows-x64) |
89
+ | Windows | arm64 | [`@getsigit/sigit-windows-arm64`](https://www.npmjs.com/package/@getsigit/sigit-windows-arm64) |
90
+
91
+ ## Links
92
+
93
+ - [smbCloud](https://smbcloud.xyz/)
94
+ - [Source code](https://github.com/getsigit/sigit)
95
+ - [Issues](https://github.com/getsigit/sigit/issues)
96
+ - [Onde Inference](https://ondeinference.com)
97
+
98
+ ## License
99
+
100
+ [Apache-2.0](https://github.com/getsigit/sigit/blob/main/LICENSE)
101
+
102
+ ## Copyright
103
+
104
+ © 2026 PT Sigit Mitra Bangun ([siGit Code & Deploy](https://sigit.si)), distributed by [Splitfire AB](https://5mb.app).
package/lib/index.js ADDED
@@ -0,0 +1,38 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ const child_process_1 = require("child_process");
5
+ /**
6
+ * Returns the executable path which is located inside node_modules
7
+ * The naming convention is cli-OS-ARCH
8
+ * If the platform is win32 or cygwin, executable will include a .exe extension.
9
+ * @see https://nodejs.org/api/os.html#osarch
10
+ * @see https://nodejs.org/api/os.html#osplatform
11
+ * @example "x/xx/node_modules/cli-darwin-arm64"
12
+ */
13
+ function getExePath() {
14
+ const arch = process.arch;
15
+ let os = process.platform;
16
+ let extension = "";
17
+ if (["win32", "cygwin"].includes(process.platform)) {
18
+ os = "windows";
19
+ extension = ".exe";
20
+ }
21
+ try {
22
+ // Since the binary will be located inside node_modules, we can simply call require.resolve
23
+ return require.resolve(`@getsigit/sigit-${os}-${arch}/bin/sigit${extension}`);
24
+ }
25
+ catch (e) {
26
+ throw new Error(`Couldn't find application binary inside node_modules for ${os}-${arch}`);
27
+ }
28
+ }
29
+ /**
30
+ * Runs the application with args using nodejs spawn
31
+ */
32
+ function run() {
33
+ var _a;
34
+ const args = process.argv.slice(2);
35
+ const processResult = (0, child_process_1.spawnSync)(getExePath(), args, { stdio: "inherit" });
36
+ process.exit((_a = processResult.status) !== null && _a !== void 0 ? _a : 0);
37
+ }
38
+ run();
package/package.json CHANGED
@@ -1,7 +1,41 @@
1
1
  {
2
- "name": "@getsigit/sigit",
3
- "version": "0.0.0",
4
- "description": "Placeholder. See https://github.com/getsigit/sigit",
5
- "license": "Apache-2.0",
6
- "repository": { "type": "git", "url": "git+https://github.com/getsigit/sigit.git" }
2
+ "name": "@getsigit/sigit",
3
+ "version": "1.5.5",
4
+ "keywords": [
5
+ "sigit",
6
+ "cli",
7
+ "ai",
8
+ "coding-agent",
9
+ "llm",
10
+ "on-device",
11
+ "smbcloud",
12
+ "acp"
13
+ ],
14
+ "bin": {
15
+ "sigit": "lib/index.js"
16
+ },
17
+ "files": ["lib", "README.md"],
18
+ "description": "AI coding agent powered by local LLM via Onde Inference.",
19
+ "license": "Apache-2.0",
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "git+https://github.com/getsigit/sigit.git"
23
+ },
24
+ "scripts": {
25
+ "typecheck": "tsc --noEmit",
26
+ "build": "tsc",
27
+ "dev": "npm run build && node lib/index.js"
28
+ },
29
+ "devDependencies": {
30
+ "@types/node": "^18.15.11",
31
+ "typescript": "^5.0.0"
32
+ },
33
+ "optionalDependencies": {
34
+ "@getsigit/sigit-darwin-arm64": "1.5.5",
35
+ "@getsigit/sigit-darwin-x64": "1.5.5",
36
+ "@getsigit/sigit-linux-arm64": "1.5.5",
37
+ "@getsigit/sigit-linux-x64": "1.5.5",
38
+ "@getsigit/sigit-windows-arm64": "1.5.5",
39
+ "@getsigit/sigit-windows-x64": "1.5.5"
40
+ }
7
41
  }