buildwithtrace 0.1.3 → 0.1.5
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/LICENSE +27 -0
- package/README.md +2 -0
- package/bin/buildwithtrace.js +9 -1
- package/install.js +8 -0
- package/package.json +1 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
Trace CLI - Proprietary Software License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Trace (buildwithtrace.com). All rights reserved.
|
|
4
|
+
|
|
5
|
+
This software and associated documentation files (the "Software") are
|
|
6
|
+
proprietary to Trace. Unauthorized copying, distribution, modification,
|
|
7
|
+
or use of this Software, via any medium, is strictly prohibited.
|
|
8
|
+
|
|
9
|
+
You may not use, copy, modify, merge, publish, distribute, sublicense,
|
|
10
|
+
or sell copies of the Software without prior written permission from Trace.
|
|
11
|
+
|
|
12
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
+
SOFTWARE.
|
|
19
|
+
|
|
20
|
+
CONVERTER DEPENDENCY:
|
|
21
|
+
|
|
22
|
+
The .trace_* <-> .kicad_* converter is the separate buildwithtrace-converter
|
|
23
|
+
package (a dependency of this CLI), which is proprietary ("All Rights Reserved")
|
|
24
|
+
and governed by its own LICENSE. It is provided for reference only; you may not
|
|
25
|
+
copy, modify, distribute, sublicense, sell, reverse-engineer, or create
|
|
26
|
+
derivative works from it without explicit written permission.
|
|
27
|
+
For licensing inquiries: hello@buildwithtrace.com
|
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
AI-powered PCB design CLI. Design, review, convert, and manufacture circuit boards from your terminal.
|
|
4
4
|
|
|
5
|
+
**Changelog:** [CLI & SDK Release Notes](https://docs.buildwithtrace.com/resources/cli-changelog) (this npm package is a thin installer wrapper around the `buildwithtrace` Python CLI — release notes live there).
|
|
6
|
+
|
|
5
7
|
## Installation
|
|
6
8
|
|
|
7
9
|
```bash
|
package/bin/buildwithtrace.js
CHANGED
|
@@ -33,7 +33,15 @@ function run() {
|
|
|
33
33
|
process.exit(result.status ?? 1);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
// Fallback: try system-installed buildwithtrace
|
|
36
|
+
// Fallback: try system-installed buildwithtrace. Say so out loud (stderr,
|
|
37
|
+
// one line) — the system copy may be a DIFFERENT version than this npm
|
|
38
|
+
// package pins, and a silent swap is exactly the confusion doctor warns about.
|
|
39
|
+
const pkgVersion = require("../package.json").version;
|
|
40
|
+
console.error(
|
|
41
|
+
`[buildwithtrace] npm-managed venv not found; falling back to the system ` +
|
|
42
|
+
`'buildwithtrace' on PATH (may differ from the npm package v${pkgVersion}). ` +
|
|
43
|
+
`Run \`npm rebuild -g buildwithtrace\` to repair the venv.`
|
|
44
|
+
);
|
|
37
45
|
const cmd = process.platform === "win32" ? "buildwithtrace.exe" : "buildwithtrace";
|
|
38
46
|
const result = spawnSync(cmd, args, {
|
|
39
47
|
stdio: "inherit",
|
package/install.js
CHANGED
|
@@ -151,6 +151,14 @@ async function main() {
|
|
|
151
151
|
process.exit(0);
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
+
// Stamp the install origin so `buildwithtrace --version` / `doctor` label
|
|
155
|
+
// this copy "(npm)" even if the venv lives at a non-default cache path.
|
|
156
|
+
try {
|
|
157
|
+
fs.writeFileSync(path.join(VENV_DIR, "trace-install-origin"), "npm\n");
|
|
158
|
+
} catch {
|
|
159
|
+
// Best-effort: the path heuristic still recognizes the default location.
|
|
160
|
+
}
|
|
161
|
+
|
|
154
162
|
log("Installation complete! Run `buildwithtrace --help` to get started.");
|
|
155
163
|
}
|
|
156
164
|
|
package/package.json
CHANGED