anymous 1.3.6 → 1.3.8

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,23 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 anymousdark
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the
7
+ Software), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED AS
17
+ IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ SOFTWARE.
@@ -0,0 +1,10 @@
1
+ echo "Error: anymous-ai's postinstall script was not run." >&2
2
+ echo "" >&2
3
+ echo "This occurs when using --ignore-scripts during installation, or when using a" >&2
4
+ echo "package manager like pnpm that does not run postinstall scripts by default." >&2
5
+ echo "" >&2
6
+ echo "To fix this, run the postinstall script manually:" >&2
7
+ echo " cd node_modules/anymous-ai && node postinstall.mjs" >&2
8
+ echo "" >&2
9
+ echo "Or reinstall anymous-ai without the --ignore-scripts flag." >&2
10
+ exit 1
package/package.json CHANGED
@@ -1,19 +1,13 @@
1
1
  {
2
2
  "name": "anymous",
3
3
  "bin": {
4
- "anymous": "./bin/anymous.js"
4
+ "anymous": "./bin/anymous.exe"
5
5
  },
6
6
  "scripts": {
7
7
  "postinstall": "node ./postinstall.mjs"
8
8
  },
9
- "version": "1.3.6",
10
- "description": "AI-powered reverse engineering platform",
9
+ "version": "1.3.8",
11
10
  "license": "MIT",
12
- "homepage": "https://github.com/anymousdark/anymous",
13
- "repository": {
14
- "type": "git",
15
- "url": "https://github.com/anymousdark/anymous"
16
- },
17
11
  "os": [
18
12
  "darwin",
19
13
  "linux",
@@ -24,17 +18,7 @@
24
18
  "x64"
25
19
  ],
26
20
  "optionalDependencies": {
27
- "anymous-linux-arm64-musl": "1.3.3",
28
- "anymous-linux-x64": "1.3.3",
29
- "anymous-darwin-x64-baseline": "1.3.3",
30
- "anymous-windows-arm64": "1.3.4",
31
- "anymous-linux-arm64": "1.3.3",
32
- "anymous-darwin-arm64": "1.3.3",
33
- "anymous-windows-x64-baseline": "1.3.4",
34
- "anymous-linux-x64-baseline-musl": "1.3.3",
35
- "anymous-linux-x64-baseline": "1.3.3",
36
- "anymous-windows-x64": "1.3.4",
37
- "anymous-darwin-x64": "1.3.3",
38
- "anymous-linux-x64-musl": "1.3.3"
21
+ "anymous-windows-x64": "1.3.8",
22
+ "anymous": "1.3.8"
39
23
  }
40
24
  }
package/README.md DELETED
@@ -1,15 +0,0 @@
1
- # js
2
-
3
- To install dependencies:
4
-
5
- ```bash
6
- bun install
7
- ```
8
-
9
- To run:
10
-
11
- ```bash
12
- bun run index.ts
13
- ```
14
-
15
- This project was created using `bun init` in bun v1.2.12. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.
package/bin/anymous.js DELETED
@@ -1,31 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- import { spawnSync } from "child_process"
4
- import fs from "fs"
5
- import path from "path"
6
- import { fileURLToPath } from "url"
7
-
8
- const __dirname = path.dirname(fileURLToPath(import.meta.url))
9
- const binaryPath = path.join(__dirname, "anymous.exe")
10
-
11
- if (!fs.existsSync(binaryPath)) {
12
- console.error(
13
- "Error: anymous binary not found at",
14
- binaryPath,
15
- "\n\nThis occurs when using --ignore-scripts during installation, or when using a",
16
- "\npackage manager like pnpm that does not run postinstall scripts by default.",
17
- )
18
- process.exit(1)
19
- }
20
-
21
- const result = spawnSync(binaryPath, process.argv.slice(2), {
22
- stdio: "inherit",
23
- windowsHide: true,
24
- })
25
-
26
- if (result.error) {
27
- console.error("Error: failed to run anymous:", result.error.message)
28
- process.exit(1)
29
- }
30
-
31
- process.exit(result.status ?? 0)