@fabriccode/cli 7.0.31 → 7.0.32

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 +12 -12
  2. package/postinstall.mjs +4 -4
package/package.json CHANGED
@@ -7,20 +7,20 @@
7
7
  "scripts": {
8
8
  "postinstall": "bun ./postinstall.mjs || node ./postinstall.mjs"
9
9
  },
10
- "version": "7.0.31",
10
+ "version": "7.0.32",
11
11
  "license": "MIT",
12
12
  "optionalDependencies": {
13
- "@fabriccode/cli-windows-x64": "7.0.31",
14
- "@fabriccode/cli-linux-x64-baseline-musl": "7.0.31",
15
- "@fabriccode/cli-linux-x64-baseline": "7.0.31",
16
- "@fabriccode/cli-linux-x64": "7.0.31",
17
- "@fabriccode/cli-darwin-arm64": "7.0.31",
18
- "@fabriccode/cli-windows-x64-baseline": "7.0.31",
19
- "@fabriccode/cli-darwin-x64-baseline": "7.0.31",
20
- "@fabriccode/cli-linux-arm64": "7.0.31",
21
- "@fabriccode/cli-linux-arm64-musl": "7.0.31",
22
- "@fabriccode/cli-linux-x64-musl": "7.0.31",
23
- "@fabriccode/cli-darwin-x64": "7.0.31"
13
+ "@fabriccode/cli-windows-x64": "7.0.32",
14
+ "@fabriccode/cli-linux-x64-baseline-musl": "7.0.32",
15
+ "@fabriccode/cli-linux-x64-baseline": "7.0.32",
16
+ "@fabriccode/cli-linux-x64": "7.0.32",
17
+ "@fabriccode/cli-darwin-arm64": "7.0.32",
18
+ "@fabriccode/cli-windows-x64-baseline": "7.0.32",
19
+ "@fabriccode/cli-darwin-x64-baseline": "7.0.32",
20
+ "@fabriccode/cli-linux-arm64": "7.0.32",
21
+ "@fabriccode/cli-linux-arm64-musl": "7.0.32",
22
+ "@fabriccode/cli-linux-x64-musl": "7.0.32",
23
+ "@fabriccode/cli-darwin-x64": "7.0.32"
24
24
  },
25
25
  "repository": {
26
26
  "type": "git",
package/postinstall.mjs CHANGED
@@ -49,8 +49,8 @@ function detectPlatformAndArch() {
49
49
 
50
50
  function findBinary() {
51
51
  const { platform, arch } = detectPlatformAndArch()
52
- const packageName = `@kilocode/cli-${platform}-${arch}`
53
- const binaryName = platform === "windows" ? "kilo.exe" : "kilo"
52
+ const packageName = `@fabriccode/cli-${platform}-${arch}` // kilocode_change
53
+ const binaryName = platform === "windows" ? "fabric.exe" : "fabric" // kilocode_change
54
54
 
55
55
  try {
56
56
  // Use require.resolve to find the package
@@ -89,7 +89,7 @@ function symlinkBinary(sourcePath, binaryName) {
89
89
  const { targetPath } = prepareBinDirectory(binaryName)
90
90
 
91
91
  fs.symlinkSync(sourcePath, targetPath)
92
- console.log(`kilo binary symlinked: ${targetPath} -> ${sourcePath}`)
92
+ console.log(`fabric binary symlinked: ${targetPath} -> ${sourcePath}`) // kilocode_change
93
93
 
94
94
  // Verify the file exists after operation
95
95
  if (!fs.existsSync(targetPath)) {
@@ -112,7 +112,7 @@ async function main() {
112
112
  console.log(`Platform binary verified at: ${binaryPath}`)
113
113
  console.log("Wrapper script will handle binary execution")
114
114
  } catch (error) {
115
- console.error("Failed to setup kilo binary:", error.message)
115
+ console.error("Failed to setup fabric binary:", error.message) // kilocode_change
116
116
  process.exit(1)
117
117
  }
118
118
  }