quadratique 0.0.1 → 0.10.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.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Hebilicious
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,7 +1,14 @@
1
1
  # quadratique
2
2
 
3
- Quadratique is a local issue tracker for one human and many AI agents that work in the same git
4
- repository.
3
+ A local issue tracker for one human and many AI agents in the same git repository.
5
4
 
6
- This npm package only reserves the name. It installs nothing. See
7
- https://github.com/Hebilicious/quadratique for the tracker and how to install it.
5
+ ```sh
6
+ npm install --global quadratique
7
+ quadratique server start --ui 4000
8
+ ```
9
+
10
+ This package runs the prebuilt `quadratique` binary of your platform, from one of its optional
11
+ dependencies: `@quadratique/linux-x64`, `@quadratique/linux-arm64` or `@quadratique/darwin-arm64`.
12
+ The Linux binaries need glibc 2.34 or newer.
13
+
14
+ Read the full guide at https://github.com/Hebilicious/quadratique.
@@ -0,0 +1,41 @@
1
+ #!/usr/bin/env node
2
+ // Runs the quadratique binary of this platform. npm installs it from the one optional dependency
3
+ // whose `os`, `cpu` and `libc` match this machine.
4
+ "use strict";
5
+
6
+ const { spawnSync } = require("node:child_process");
7
+
8
+ const platform = `${process.platform}-${process.arch}`;
9
+ const supported = ["darwin-arm64", "linux-arm64", "linux-x64"];
10
+
11
+ function fail(message) {
12
+ process.stderr.write(`quadratique: ${message}\n`);
13
+ process.exit(1);
14
+ }
15
+
16
+ if (!supported.includes(platform)) {
17
+ fail(
18
+ `npm has no binary for ${platform}. Quadratique on npm supports ${supported.join(", ")}. ` +
19
+ "Support for macOS on x64 and for Windows is in progress. " +
20
+ "Build from source instead: https://github.com/Hebilicious/quadratique#build-from-source",
21
+ );
22
+ }
23
+
24
+ let binary;
25
+ try {
26
+ binary = require.resolve(`@quadratique/${platform}/bin/quadratique`);
27
+ } catch {
28
+ fail(
29
+ `the package @quadratique/${platform} is not installed. ` +
30
+ "Install quadratique again without --no-optional or --omit=optional.",
31
+ );
32
+ }
33
+
34
+ const result = spawnSync(binary, process.argv.slice(2), { stdio: "inherit" });
35
+ if (result.error) {
36
+ fail(`cannot run ${binary}: ${result.error.message}`);
37
+ }
38
+ if (result.signal) {
39
+ process.kill(process.pid, result.signal);
40
+ }
41
+ process.exit(result.status ?? 1);
package/package.json CHANGED
@@ -1,14 +1,32 @@
1
1
  {
2
2
  "name": "quadratique",
3
- "version": "0.0.1",
4
- "description": "Quadratique is a local issue tracker for one human and many AI agents. This package only reserves the name; the tracker is installed from its repository.",
3
+ "version": "0.10.0",
4
+ "description": "A local issue tracker for one human and many AI agents in the same git repository.",
5
5
  "license": "MIT",
6
+ "homepage": "https://github.com/Hebilicious/quadratique",
6
7
  "repository": {
7
8
  "type": "git",
8
9
  "url": "git+https://github.com/Hebilicious/quadratique.git"
9
10
  },
10
- "homepage": "https://github.com/Hebilicious/quadratique",
11
+ "keywords": [
12
+ "issue-tracker",
13
+ "ai-agents",
14
+ "mcp",
15
+ "git",
16
+ "cli"
17
+ ],
18
+ "bin": {
19
+ "quadratique": "bin/quadratique.js"
20
+ },
11
21
  "files": [
12
- "README.md"
13
- ]
22
+ "bin"
23
+ ],
24
+ "engines": {
25
+ "node": ">=18"
26
+ },
27
+ "optionalDependencies": {
28
+ "@quadratique/darwin-arm64": "0.10.0",
29
+ "@quadratique/linux-arm64": "0.10.0",
30
+ "@quadratique/linux-x64": "0.10.0"
31
+ }
14
32
  }