traintrack 2.0.0 → 2.0.1

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 CHANGED
@@ -2,13 +2,23 @@
2
2
  <img src="assets/banner.svg" alt="traintrack" width="660">
3
3
  </p>
4
4
 
5
+ <p align="center">
6
+ <a href="https://www.npmjs.com/package/traintrack"><img src="https://img.shields.io/npm/v/traintrack?color=6A2BFF&label=npm" alt="npm version"></a>
7
+ <a href="https://github.com/OKKHALIL3/traintrack/actions/workflows/ci.yml"><img src="https://github.com/OKKHALIL3/traintrack/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
8
+ <a href="LICENSE"><img src="https://img.shields.io/npm/l/traintrack?color=blue" alt="License: Apache-2.0"></a>
9
+ </p>
10
+
5
11
  <p align="center">
6
12
  <b>Your coding agents, working as a team — in the terminals you already use.</b><br>
7
13
  Run <code>claude</code> and <code>codex</code> like you always do. After one <code>traintrack setup</code>, every session auto-joins a shared team: they see each other and talk, or one becomes a foreman that spawns the rest.
8
14
  </p>
9
15
 
10
16
  <p align="center">
11
- <code>npm i -g traintrack</code> · <code>traintrack setup</code> · Apache-2.0 · <b>beta</b> (Claude Code · Codex) · <b>pre-pre-alpha</b> (OpenCode · Cursor)
17
+ <code>npm i -g traintrack</code> · <code>traintrack setup</code> · <b>Claude Code &amp; Codex</b> supported · <b>OpenCode &amp; Cursor</b> coming soon
18
+ </p>
19
+
20
+ <p align="center">
21
+ <a href="https://traintrack.dev/"><b>🌐 traintrack.dev</b></a>
12
22
  </p>
13
23
 
14
24
  <p align="center">
package/dist/index.js CHANGED
@@ -1,4 +1,10 @@
1
- export const VERSION = '0.0.1';
1
+ import { readFileSync } from 'node:fs';
2
+ import { fileURLToPath } from 'node:url';
3
+ import { dirname, join } from 'node:path';
4
+ // Derive the version from package.json (always shipped in the npm tarball) so the
5
+ // CLI banner can never drift from the published version. dist/index.js → ../package.json.
6
+ const pkg = JSON.parse(readFileSync(join(dirname(fileURLToPath(import.meta.url)), '..', 'package.json'), 'utf8'));
7
+ export const VERSION = pkg.version;
2
8
  // Public API — so host apps (e.g. the Traintrack desktop studio) and the
3
9
  // ecosystem can consume the channel directly. The CLI/MCP server remain the
4
10
  // primary writers; readers (a Coordination Room UI) can open the same channel.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "traintrack",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "publishConfig": { "access": "public" },
5
5
  "description": "Multi-agent coordination for coding agents — a lead spawns worker agents, delegates tasks, and collects results over a local channel. One command wires it into Claude Code, Codex, Cursor, and OpenCode.",
6
6
  "keywords": [
@@ -16,7 +16,7 @@
16
16
  "orchestration",
17
17
  "ai"
18
18
  ],
19
- "homepage": "https://github.com/OKKHALIL3/traintrack#readme",
19
+ "homepage": "https://traintrack.dev/",
20
20
  "bugs": {
21
21
  "url": "https://github.com/OKKHALIL3/traintrack/issues"
22
22
  },