shraga 0.0.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.
Files changed (4) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +50 -0
  3. package/package.json +50 -0
  4. package/src/cli.ts +62 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Elya Livshitz
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,50 @@
1
+ <div align="center">
2
+
3
+ # 🧑‍💻 Shraga
4
+
5
+ **The teammate you delegate coding to — just forward it to Shraga.**
6
+
7
+ _Self-hostable, multi-user agent runner — bring your own runtime ([Claude Code](https://docs.anthropic.com/en/docs/claude-code), [Cursor](https://cursor.com), and more) — reachable from any machine._
8
+
9
+ [![npm](https://img.shields.io/npm/v/shraga.svg)](https://www.npmjs.com/package/shraga)
10
+ [![CI](https://github.com/Livshitz/shraga/actions/workflows/ci.yml/badge.svg)](https://github.com/Livshitz/shraga/actions/workflows/ci.yml)
11
+ [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)
12
+
13
+ </div>
14
+
15
+ > ⚠️ **Early access.** Shraga is in a controlled, gradual rollout while the system is hardened.
16
+ > Want in? Join the waitlist at **[shraga.livx.cc](https://shraga.livx.cc)**.
17
+
18
+ ## What is it?
19
+
20
+ Shraga is the teammate you hand work to. Forward a task from your phone, laptop, or
21
+ any browser and Shraga runs it on the agent runtime of your choice — Claude Code,
22
+ Cursor, or whatever you plug in — backed by a machine you control (home server, VM,
23
+ or cloud). Multi-user, no lock-in, runs anywhere with [Bun](https://bun.sh).
24
+
25
+ ## Quick start
26
+
27
+ ```bash
28
+ bunx shraga # run it
29
+ bunx shraga --help # see options
30
+ ```
31
+
32
+ Requires [Bun](https://bun.sh) `>= 1.0`.
33
+
34
+ ## Status
35
+
36
+ This is an early scaffold. Features land incrementally as the project opens up.
37
+ Follow along or request access at **[shraga.livx.cc](https://shraga.livx.cc)**.
38
+
39
+ ## Development
40
+
41
+ ```bash
42
+ bun install
43
+ bun run typecheck
44
+ bun test
45
+ bun run start
46
+ ```
47
+
48
+ ## License
49
+
50
+ [MIT](./LICENSE) © Elya Livshitz
package/package.json ADDED
@@ -0,0 +1,50 @@
1
+ {
2
+ "name": "shraga",
3
+ "version": "0.0.2",
4
+ "description": "The teammate you delegate coding to — forward it to Shraga. Self-hostable, multi-user agent runner (Claude Code, Cursor & more) you can reach from anywhere.",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "author": "Elya Livshitz",
8
+ "homepage": "https://shraga.livx.cc",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/Livshitz/shraga.git"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/Livshitz/shraga/issues"
15
+ },
16
+ "keywords": [
17
+ "ai-agent",
18
+ "coding-agent",
19
+ "claude-code",
20
+ "cursor",
21
+ "agent-runner",
22
+ "cli",
23
+ "self-hosted",
24
+ "web-ui"
25
+ ],
26
+ "bin": {
27
+ "shraga": "./src/cli.ts"
28
+ },
29
+ "files": [
30
+ "src/",
31
+ "!src/**/*.test.ts",
32
+ "README.md",
33
+ "LICENSE"
34
+ ],
35
+ "scripts": {
36
+ "start": "bun run src/cli.ts",
37
+ "typecheck": "tsc --noEmit",
38
+ "test": "bun test",
39
+ "format": "prettier --config .prettierrc 'src/**/*.ts' --write",
40
+ "prepublishOnly": "bun run typecheck"
41
+ },
42
+ "devDependencies": {
43
+ "@types/bun": "latest",
44
+ "prettier": "^3.3.3",
45
+ "typescript": "^5.7.0"
46
+ },
47
+ "engines": {
48
+ "bun": ">=1.0.0"
49
+ }
50
+ }
package/src/cli.ts ADDED
@@ -0,0 +1,62 @@
1
+ #!/usr/bin/env bun
2
+ // Shraga CLI — entry point for `bunx shraga`.
3
+ // Bare scaffold for now; the web UI + server land in a later drop.
4
+
5
+ import pkg from '../package.json' with { type: 'json' };
6
+
7
+ const args = process.argv.slice(2);
8
+ const cmd = args[0];
9
+
10
+ const WAITLIST_URL = 'https://shraga.livx.cc';
11
+
12
+ function printWelcome(): void {
13
+ console.log(`
14
+ 🧑‍💻 shraga v${pkg.version}
15
+ ${pkg.description}
16
+
17
+ ⚠ Early access — Shraga is in a controlled, gradual rollout.
18
+
19
+ Want Shraga on your team? Join the waitlist:
20
+ 👉 ${WAITLIST_URL}
21
+
22
+ Then run shraga help once you're in.
23
+ `);
24
+ }
25
+
26
+ function printHelp(): void {
27
+ console.log(`
28
+ 🧑‍💻 shraga v${pkg.version}
29
+ ${pkg.description}
30
+
31
+ Usage:
32
+ shraga [command] [options]
33
+
34
+ Commands:
35
+ (none yet) start the server [coming soon]
36
+ version, -v print version
37
+ help, -h show this help
38
+
39
+ Waitlist: ${WAITLIST_URL}
40
+ Repo: https://github.com/Livshitz/shraga
41
+ `);
42
+ }
43
+
44
+ switch (cmd) {
45
+ case 'version':
46
+ case '-v':
47
+ case '--version':
48
+ console.log(pkg.version);
49
+ break;
50
+ case undefined:
51
+ printWelcome();
52
+ break;
53
+ case 'help':
54
+ case '-h':
55
+ case '--help':
56
+ printHelp();
57
+ break;
58
+ default:
59
+ console.error(`shraga: unknown command "${cmd}"\n`);
60
+ printHelp();
61
+ process.exit(1);
62
+ }