goatchain-cli 0.0.9-beta.4 → 0.0.9-beta.9

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/package.json +6 -9
  2. package/postinstall.mjs +0 -37
package/package.json CHANGED
@@ -1,19 +1,16 @@
1
1
  {
2
2
  "name": "goatchain-cli",
3
- "version": "0.0.9-beta.4",
3
+ "version": "0.0.9-beta.9",
4
4
  "description": "AI coding agent CLI - binary distribution",
5
5
  "license": "MIT",
6
6
  "bin": {
7
7
  "goatchain": "./bin/goatchain"
8
8
  },
9
- "scripts": {
10
- "postinstall": "node ./postinstall.mjs"
11
- },
12
9
  "optionalDependencies": {
13
- "goatchain-cli-darwin-arm64": "0.0.9-beta.4",
14
- "goatchain-cli-darwin-x64": "0.0.9-beta.4",
15
- "goatchain-cli-linux-arm64": "0.0.9-beta.4",
16
- "goatchain-cli-linux-x64": "0.0.9-beta.4",
17
- "goatchain-cli-windows-x64": "0.0.9-beta.4"
10
+ "goatchain-cli-darwin-arm64": "0.0.9-beta.9",
11
+ "goatchain-cli-darwin-x64": "0.0.9-beta.9",
12
+ "goatchain-cli-linux-arm64": "0.0.9-beta.9",
13
+ "goatchain-cli-linux-x64": "0.0.9-beta.9",
14
+ "goatchain-cli-windows-x64": "0.0.9-beta.9"
18
15
  }
19
16
  }
package/postinstall.mjs DELETED
@@ -1,37 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- const stdout = process.stdout
4
- const isTTY = Boolean(stdout && stdout.isTTY)
5
- const isCI = Boolean(
6
- process.env.CI
7
- || process.env.GITHUB_ACTIONS
8
- || process.env.BUILD_NUMBER
9
- || process.env.JENKINS_URL
10
- || process.env.GITLAB_CI
11
- || process.env.BUILDKITE
12
- )
13
-
14
- const lines = [
15
- '',
16
- ' GoatChain CLI installed.',
17
- ' Run: goatchain to start.',
18
- '',
19
- ]
20
-
21
- if (!isTTY || isCI) {
22
- stdout.write(lines.join('\n') + '\n')
23
- } else {
24
- const frames = ['[= ]', '[== ]', '[=== ]', '[==== ]', '[===== ]', '[======]', '[===== ]', '[==== ]', '[=== ]', '[== ]']
25
- let idx = 0
26
- const label = 'Setting up GoatChain '
27
- const interval = setInterval(() => {
28
- stdout.write(`\r${label}${frames[idx % frames.length]}`)
29
- idx += 1
30
- }, 90)
31
-
32
- setTimeout(() => {
33
- clearInterval(interval)
34
- stdout.write('\r' + ' '.repeat(label.length + frames[0].length) + '\r\n')
35
- stdout.write(lines.join('\n') + '\n')
36
- }, 800)
37
- }