arnesa 0.0.0-stage → 0.1.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.
Files changed (4) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +52 -2
  3. package/dist/arnesa.mjs +22303 -0
  4. package/package.json +37 -4
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Arnesa
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,3 +1,53 @@
1
- # Temporary Holding Version
1
+ # arnesa
2
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.
3
+ The command line client for Arnesa, the independent benchmark for AI coding-agent harnesses. Point it at your Arnesa deployment with `--api <url>` or the `ARNESA_API_URL` environment variable.
4
+
5
+ ```sh
6
+ npx arnesa detect # print the profile of this project (nothing leaves your machine)
7
+ npx arnesa recommend # ask Arnesa which verified harnesses fit this profile
8
+ npx arnesa install <slug>
9
+ npx arnesa remove <slug>
10
+ npx arnesa doctor # scan your agent configuration files
11
+ npx arnesa login # sign in with a device code
12
+ ```
13
+
14
+ Requires Node.js 22 or newer.
15
+
16
+ ## What leaves your machine
17
+
18
+ - `detect` sends nothing.
19
+ - `recommend` and `install` send a closed-vocabulary profile (languages, frameworks, runtimes), never file names or contents.
20
+ - `doctor` lists the agent configuration files it would upload, asks first, and uploads only those. It never uploads source code, `.env` files or credential files. Uploaded files are deleted after the scan, within one hour at most.
21
+ - Your token is kept in the operating system keychain, never in a file.
22
+
23
+ ## Safety of `install`
24
+
25
+ The server response is treated as untrusted. Files are written only inside the allowed agent directories, after a preview and a confirmation. Every write is backed up under `.arnesa/backups/`, and `arnesa remove` restores the project. Use `--yes` to confirm files and `--allow <gate-id>` for a command that runs on its own.
26
+
27
+ ## Exit codes
28
+
29
+ | Code | Meaning |
30
+ | ---- | --------------------- |
31
+ | 0 | Success |
32
+ | 1 | Failure |
33
+ | 2 | Usage error |
34
+ | 3 | Confirmation required |
35
+ | 4 | Refused by policy |
36
+ | 5 | Rate limited |
37
+
38
+ Add `--json` for one JSON document on stdout.
39
+
40
+ ## Limits
41
+
42
+ Working defaults, effective 2026-11-06. They can change, and the server answers with exit code 5 when one is reached.
43
+
44
+ | Caller | `recommend` | `compile` (install) |
45
+ | --------------------------------- | ----------------- | ------------------- |
46
+ | Anonymous | 10 per 10 minutes | 5 per 10 minutes |
47
+ | API key (`ak_`) or device (`ad_`) | 200 per day | 50 per day |
48
+
49
+ Upload caps for `doctor`: 200 files, 256 KiB per file, 1 MiB in all.
50
+
51
+ ## Licence and trademark
52
+
53
+ The code is released under the MIT licence (see `LICENSE`). The Arnesa name and logo are not part of that licence: you may not use them to suggest that a fork or a derived product is Arnesa or is endorsed by Arnesa.