@meridian-flow/mars-agents 0.1.8 → 0.2.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/README.md +1 -0
- package/bin/mars +4 -2
- package/package.json +6 -5
package/README.md
CHANGED
package/bin/mars
CHANGED
|
@@ -7,6 +7,7 @@ const PLATFORMS = {
|
|
|
7
7
|
"darwin x64": "@meridian-flow/mars-agents-darwin-x64",
|
|
8
8
|
"linux arm64": "@meridian-flow/mars-agents-linux-arm64",
|
|
9
9
|
"linux x64": "@meridian-flow/mars-agents-linux-x64",
|
|
10
|
+
"win32 x64": "@meridian-flow/mars-agents-win32-x64",
|
|
10
11
|
};
|
|
11
12
|
|
|
12
13
|
const key = `${process.platform} ${process.arch}`;
|
|
@@ -15,7 +16,7 @@ const pkg = PLATFORMS[key];
|
|
|
15
16
|
if (!pkg) {
|
|
16
17
|
console.error(
|
|
17
18
|
`mars: unsupported platform ${process.platform} ${process.arch}\n` +
|
|
18
|
-
`Supported: linux-arm64, linux-x64, darwin-arm64, darwin-x64\n` +
|
|
19
|
+
`Supported: linux-arm64, linux-x64, darwin-arm64, darwin-x64, win32-x64\n` +
|
|
19
20
|
`Try: cargo install mars-agents`
|
|
20
21
|
);
|
|
21
22
|
process.exit(1);
|
|
@@ -23,7 +24,8 @@ if (!pkg) {
|
|
|
23
24
|
|
|
24
25
|
let binaryPath;
|
|
25
26
|
try {
|
|
26
|
-
|
|
27
|
+
const binaryName = process.platform === "win32" ? "mars.exe" : "mars";
|
|
28
|
+
binaryPath = require.resolve(`${pkg}/${binaryName}`);
|
|
27
29
|
} catch {
|
|
28
30
|
console.error(
|
|
29
31
|
`mars: could not find binary package ${pkg}\n` +
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meridian-flow/mars-agents",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Mars — agent package manager for .agents/ directories",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -17,9 +17,10 @@
|
|
|
17
17
|
"node": ">=16"
|
|
18
18
|
},
|
|
19
19
|
"optionalDependencies": {
|
|
20
|
-
"@meridian-flow/mars-agents-linux-x64": "0.
|
|
21
|
-
"@meridian-flow/mars-agents-linux-arm64": "0.
|
|
22
|
-
"@meridian-flow/mars-agents-darwin-arm64": "0.
|
|
23
|
-
"@meridian-flow/mars-agents-darwin-x64": "0.
|
|
20
|
+
"@meridian-flow/mars-agents-linux-x64": "0.2.0",
|
|
21
|
+
"@meridian-flow/mars-agents-linux-arm64": "0.2.0",
|
|
22
|
+
"@meridian-flow/mars-agents-darwin-arm64": "0.2.0",
|
|
23
|
+
"@meridian-flow/mars-agents-darwin-x64": "0.2.0",
|
|
24
|
+
"@meridian-flow/mars-agents-win32-x64": "0.2.0"
|
|
24
25
|
}
|
|
25
26
|
}
|