@kindlingai/tessera 0.0.0-stage → 0.4.0

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.
@@ -0,0 +1,19 @@
1
+ #!/usr/bin/env node
2
+ // Runs the tesserax binary from this platform's package.
3
+ const { spawnSync } = require("node:child_process");
4
+ const path = require("node:path");
5
+
6
+ const pkg = `@kindlingai/tessera-${process.platform}-${process.arch}`;
7
+ let dir;
8
+ try {
9
+ dir = path.dirname(require.resolve(`${pkg}/package.json`));
10
+ } catch {
11
+ console.error(`tesserax: no build for ${process.platform}-${process.arch} (${pkg} is not installed)`);
12
+ process.exit(1);
13
+ }
14
+ const run = spawnSync(path.join(dir, "bin", "tesserax"), process.argv.slice(2), { stdio: "inherit" });
15
+ if (run.error) {
16
+ console.error(`tesserax: ${run.error.message}`);
17
+ process.exit(1);
18
+ }
19
+ process.exit(run.status ?? 1);
package/package.json CHANGED
@@ -1,6 +1,21 @@
1
1
  {
2
+ "bin": {
3
+ "tesserax": "bin/tesserax.js"
4
+ },
5
+ "description": "The tesserax command: opens a recipe, then serves, fetches or runs tasks",
6
+ "files": [
7
+ "bin/"
8
+ ],
9
+ "license": "MIT",
2
10
  "name": "@kindlingai/tessera",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
11
+ "optionalDependencies": {
12
+ "@kindlingai/tessera-darwin-arm64": "0.4.0",
13
+ "@kindlingai/tessera-linux-arm64": "0.4.0",
14
+ "@kindlingai/tessera-linux-x64": "0.4.0"
15
+ },
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "git+https://github.com/kindlingai/tessera.git"
19
+ },
20
+ "version": "0.4.0"
21
+ }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.