@wkoutre/teamwork-os 1.0.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/LICENSE +21 -0
- package/README.md +101 -0
- package/cli.js +3 -0
- package/cli.jsc +0 -0
- package/gateway.js +2 -0
- package/gateway.jsc +0 -0
- package/package.json +37 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Nick Koutrelakos
|
|
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,101 @@
|
|
|
1
|
+
# TeamworkOS
|
|
2
|
+
|
|
3
|
+
AI agent orchestration platform on your laptop.
|
|
4
|
+
|
|
5
|
+
Run scheduled Claude Code agents, coordinate multi-agent teams, and manage everything through a live dashboard.
|
|
6
|
+
|
|
7
|
+
## What is TeamworkOS
|
|
8
|
+
|
|
9
|
+
TeamworkOS manages a hierarchy of AI employees (agents), schedules them as jobs, and routes work between them. You define agents in config files, write jobs that describe what each agent should do, and the platform runs them on a schedule. A live dashboard shows every running session, its output, and any messages sent between agents.
|
|
10
|
+
|
|
11
|
+
Jobs connect to Slack, call tools, resume previous sessions, and coordinate through a shared identity layer. The gateway runs locally on your machine; agents use your own Claude Code subscription, so there are no per-token charges beyond what you already pay.
|
|
12
|
+
|
|
13
|
+
## Prerequisites
|
|
14
|
+
|
|
15
|
+
- **macOS 14+** or Linux (x86-64 or ARM)
|
|
16
|
+
- **Node 22 (LTS)** (required): The published binary uses bytenode bytecode, which is V8-version-locked. A binary compiled for Node 22 cannot load on Node 25 or any other major version. Install via [nvm](https://github.com/nvm-sh/nvm): `nvm install 22 && nvm use 22`.
|
|
17
|
+
- **Claude Code CLI**: Install from [claude.ai/download](https://claude.ai/download) and authenticate. TeamworkOS runs agents through the `claude` binary using your existing Claude Code subscription.
|
|
18
|
+
- **Xcode Command Line Tools** (macOS, optional): Only needed if `better-sqlite3` lacks a prebuilt binary for your platform. Most users can skip this. If you see a build error during install, run `xcode-select --install` and retry.
|
|
19
|
+
|
|
20
|
+
## Install
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
npm install -g @wkoutre/teamwork-os
|
|
24
|
+
teamos init
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
`teamos init` is an interactive wizard that runs in about 60 seconds. It configures your environment and optionally starts the gateway as a background service.
|
|
28
|
+
|
|
29
|
+
## First run
|
|
30
|
+
|
|
31
|
+
`teamos init` walks through the following steps:
|
|
32
|
+
|
|
33
|
+
1. **Checks your environment.** Node version and `claude` binary on PATH.
|
|
34
|
+
2. **Creates `~/.teamwork/`.** The directory where all your data lives: jobs, agent definitions, logs, sessions, results. You can override the path by setting `TEAMWORK_HOME` before running `teamos init`.
|
|
35
|
+
3. **Asks for optional API tokens.** Slack, Linear, Figma, GitHub. Each prompt shows one line describing what the token is for. Press Enter to skip any token; you can add them later by editing `~/.teamwork/.env`.
|
|
36
|
+
4. **Confirms the port** (default: 7463). If the port is already taken by another process, the wizard will offer an available alternative.
|
|
37
|
+
5. **Starts the gateway** and optionally installs it as a launchd (macOS) or systemd (Linux) service so it restarts automatically at login.
|
|
38
|
+
6. **Prints a summary** with your dashboard URL and the most useful next commands.
|
|
39
|
+
|
|
40
|
+
After setup, the dashboard is at `http://localhost:7463`.
|
|
41
|
+
|
|
42
|
+
## Daily use
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
teamos status Check whether the gateway is running and what's enabled.
|
|
46
|
+
teamos restart Bounce the gateway (picks up .env changes).
|
|
47
|
+
teamos doctor Health check: install mode, port, engine, and update availability.
|
|
48
|
+
teamos update Pull the latest version from npm and restart.
|
|
49
|
+
teamos logs Tail gateway logs.
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Updating
|
|
53
|
+
|
|
54
|
+
`teamos update` is the recommended upgrade path. It handles the install, history recording, and gateway restart in one step.
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
teamos update # install latest, restart gateway
|
|
58
|
+
teamos update --check # exit 0 if up to date, exit 1 if an update is available
|
|
59
|
+
teamos update --to 1.2.3 # pin to a specific version
|
|
60
|
+
teamos update --rollback # revert to the previously installed version
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Alternatively: `npm install -g @wkoutre/teamwork-os@latest` followed by `teamos restart`.
|
|
64
|
+
|
|
65
|
+
## Provenance verification
|
|
66
|
+
|
|
67
|
+
All publishes use `--provenance`. You can verify that the package was built by the official CI pipeline (not from a stolen npm token) by running:
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
npm audit signatures @wkoutre/teamwork-os
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
This is optional. It confirms the supply-chain attestation attached to the release.
|
|
74
|
+
|
|
75
|
+
## Uninstalling
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
teamos uninstall # removes the launchd/systemd service; prompts before deleting ~/.teamwork/
|
|
79
|
+
npm uninstall -g @wkoutre/teamwork-os
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
`teamos uninstall` will ask whether to also delete `~/.teamwork/` (your jobs, agent configs, logs, and sessions). The default is no. Pass `--remove-data` to opt in non-interactively.
|
|
83
|
+
|
|
84
|
+
## Troubleshooting
|
|
85
|
+
|
|
86
|
+
**Start with `teamos doctor`.** It checks the install mode, plist or systemd unit, port availability, engine configuration, and whether an update is available. Most issues surface there first.
|
|
87
|
+
|
|
88
|
+
Common problems:
|
|
89
|
+
|
|
90
|
+
- **Port 7463 in use:** `teamos init` will offer an alternate port during setup. To change it after the fact, set `PORT=XXXX` in `~/.teamwork/.env` and run `teamos restart`.
|
|
91
|
+
- **`claude` not on PATH:** Confirm `which claude` works in a new terminal window. If you installed Claude Code recently, restart your shell or source your profile.
|
|
92
|
+
- **EACCES on `npm install -g`:** Your global npm prefix may be system-owned. See [npm's EACCES docs](https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally). Do not use `sudo npm install -g`.
|
|
93
|
+
- **Gateway not starting:** Run `teamos doctor` for specifics. Logs are at `~/.teamwork/logs/gateway-launchd-error.log` (macOS) or via `journalctl --user -u teamwork-os` (Linux).
|
|
94
|
+
|
|
95
|
+
## Reporting issues
|
|
96
|
+
|
|
97
|
+
Public issue tracker coming soon. In the meantime, reach out to Nick directly if you hit a bug.
|
|
98
|
+
|
|
99
|
+
## License
|
|
100
|
+
|
|
101
|
+
[MIT](https://github.com/wkoutre/teamwork-os/blob/main/LICENSE)
|
package/cli.js
ADDED
package/cli.jsc
ADDED
|
Binary file
|
package/gateway.js
ADDED
package/gateway.jsc
ADDED
|
Binary file
|
package/package.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@wkoutre/teamwork-os",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "AI agent orchestration platform.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"bin": {
|
|
7
|
+
"teamos": "./cli.js"
|
|
8
|
+
},
|
|
9
|
+
"main": "./cli.js",
|
|
10
|
+
"engines": {
|
|
11
|
+
"node": ">=25.0.0 <26"
|
|
12
|
+
},
|
|
13
|
+
"os": [
|
|
14
|
+
"darwin",
|
|
15
|
+
"linux"
|
|
16
|
+
],
|
|
17
|
+
"cpu": [
|
|
18
|
+
"x64",
|
|
19
|
+
"arm64"
|
|
20
|
+
],
|
|
21
|
+
"files": [
|
|
22
|
+
"cli.js",
|
|
23
|
+
"cli.jsc",
|
|
24
|
+
"gateway.js",
|
|
25
|
+
"gateway.jsc",
|
|
26
|
+
"README.md",
|
|
27
|
+
"LICENSE"
|
|
28
|
+
],
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"better-sqlite3": "^12.8.0",
|
|
31
|
+
"sharp": "^0.34.5",
|
|
32
|
+
"sqlite-vec": "^0.1.9",
|
|
33
|
+
"@huggingface/transformers": "^4.0.1",
|
|
34
|
+
"@slack/bolt": "^4.7.0",
|
|
35
|
+
"bytenode": "1.5.7"
|
|
36
|
+
}
|
|
37
|
+
}
|