@oxgeneral/orch 0.2.0 → 0.2.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/dist/cli.js CHANGED
@@ -71,7 +71,7 @@ var FULL_COMMANDS = {
71
71
  }
72
72
  };
73
73
  var program = new Command();
74
- program.name("orchestry").description("Agents Organizations \u2014 CLI orchestrator for AI agents").version("0.2.0").option("--json", "Output as JSON").option("--quiet", "Minimal output (IDs only)").option("--no-color", "Disable colors").option("--ascii", "ASCII-only output (no Unicode)").hook("preAction", async (thisCommand) => {
74
+ program.name("orchestry").description("Agents Organizations \u2014 CLI orchestrator for AI agents").version("0.2.1").option("--json", "Output as JSON").option("--quiet", "Minimal output (IDs only)").option("--no-color", "Disable colors").option("--ascii", "ASCII-only output (no Unicode)").hook("preAction", async (thisCommand) => {
75
75
  const opts = thisCommand.opts();
76
76
  if (opts.ascii) setAsciiMode(true);
77
77
  if (opts.color === false) setNoColor(true);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxgeneral/orch",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Agents Organizations — CLI orchestrator for AI agents",
5
5
  "type": "module",
6
6
  "engines": {
@@ -12,7 +12,8 @@
12
12
  "ao": "./dist/cli.js"
13
13
  },
14
14
  "files": [
15
- "dist"
15
+ "dist",
16
+ "scripts"
16
17
  ],
17
18
  "main": "./dist/index.js",
18
19
  "types": "./dist/index.d.ts",
@@ -31,6 +32,7 @@
31
32
  "coverage": "vitest run --coverage",
32
33
  "typecheck": "tsc --noEmit",
33
34
  "clean": "rm -rf dist",
35
+ "postinstall": "node scripts/postinstall.js || true",
34
36
  "prepublishOnly": "npm run build"
35
37
  },
36
38
  "keywords": [
@@ -0,0 +1,22 @@
1
+ #!/usr/bin/env node
2
+
3
+ /**
4
+ * Post-install banner — shown once after `npm install -g @oxgeneral/orch`.
5
+ * Pure Node.js, no dependencies.
6
+ */
7
+
8
+ // Skip in CI or non-interactive environments
9
+ if (process.env.CI || !process.stderr.isTTY) process.exit(0);
10
+
11
+ const dim = (s) => `\x1b[38;5;240m${s}\x1b[0m`;
12
+ const bold = (s) => `\x1b[1m${s}\x1b[0m`;
13
+ const green = (s) => `\x1b[38;5;72m${s}\x1b[0m`;
14
+
15
+ process.stderr.write(`
16
+ ${green('✓')} ${bold('orchestry')} installed
17
+
18
+ Get started:
19
+ $ ${bold('orch init')} ${dim('— initialize project')}
20
+ $ ${bold('orch')} ${dim('— open dashboard')}
21
+
22
+ `);