teamtrail 0.0.2 → 0.0.3

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 (2) hide show
  1. package/index.js +18 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,4 +1,22 @@
1
1
  #!/usr/bin/env node
2
+ const WORDMARK = [
3
+ '████████╗███████╗ █████╗ ███╗ ███╗████████╗██████╗ █████╗ ██╗██╗ ',
4
+ '╚══██╔══╝██╔════╝██╔══██╗████╗ ████║╚══██╔══╝██╔══██╗██╔══██╗██║██║ ',
5
+ ' ██║ █████╗ ███████║██╔████╔██║ ██║ ██████╔╝███████║██║██║ ',
6
+ ' ██║ ██╔══╝ ██╔══██║██║╚██╔╝██║ ██║ ██╔══██╗██╔══██║██║██║ ',
7
+ ' ██║ ███████╗██║ ██║██║ ╚═╝ ██║ ██║ ██║ ██║██║ ██║██║███████╗',
8
+ ' ╚═╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚══════╝',
9
+ ];
10
+ const out = process.stdout;
11
+ const color = !('NO_COLOR' in process.env);
12
+ const moss = color ? '\x1b[38;2;143;191;132m' : '';
13
+ const reset = color ? '\x1b[0m' : '';
14
+
15
+ // Same as the real CLI's greeting: only for people, in a terminal wide enough for it.
16
+ if (out.isTTY && (out.columns ?? 80) >= 76) {
17
+ console.log(`\n${WORDMARK.map((row) => ` ${moss}${row}${reset}`.trimEnd()).join('\n')}`);
18
+ }
19
+
2
20
  console.log(`
3
21
  Teamtrail isn't released yet.
4
22
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "teamtrail",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Teamtrail: the trail map for your AI coding agents. You pick the destination, your agents walk the trail, and you only get the calls that need you.",
5
5
  "type": "module",
6
6
  "bin": {