androidboss 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.
- package/LICENSE +21 -0
- package/README.md +63 -2
- package/dist/THIRD-PARTY-LICENSES.txt +786 -0
- package/dist/androidboss.mjs +245 -0
- package/package.json +49 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 AndroidBoss
|
|
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,64 @@
|
|
|
1
|
-
#
|
|
1
|
+
# androidboss
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The tools from [androidboss.info](https://androidboss.info/) in your terminal, and as a local MCP server for your coding agent. Everything runs on your machine: nothing is uploaded, and there are no rate limits.
|
|
4
|
+
|
|
5
|
+
Needs Node.js 22 or newer. One file, no dependencies.
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
npx androidboss tools
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## In the terminal
|
|
12
|
+
|
|
13
|
+
```sh
|
|
14
|
+
# Deobfuscate a crash with the mapping from the same build
|
|
15
|
+
npx androidboss retrace --mapping @app/build/outputs/mapping/release/mapping.txt < crash.txt
|
|
16
|
+
|
|
17
|
+
# Check Kotlin, AGP and Gradle work together before you bump them
|
|
18
|
+
npx androidboss check-compatibility --kotlin 2.4.0 --agp 9.5.0 --gradle 9.6.0
|
|
19
|
+
|
|
20
|
+
# Kotlin data classes from a JSON sample
|
|
21
|
+
npx androidboss json-to-kotlin --root-name User < user.json
|
|
22
|
+
|
|
23
|
+
# What changes when targetSdk goes to 36, checked against your manifest
|
|
24
|
+
npx androidboss target-sdk-changes --to 36 --manifest @app/src/main/AndroidManifest.xml
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
- `@path` reads a file; `-` reads standard input. Piped input fills the tool's one missing text option.
|
|
28
|
+
- Lists: `--targets android,ios`, or repeat the option.
|
|
29
|
+
- `--json` prints the structured result instead of text.
|
|
30
|
+
- `npx androidboss help <tool>` lists a tool's options.
|
|
31
|
+
|
|
32
|
+
| Tool | What it does |
|
|
33
|
+
|---|---|
|
|
34
|
+
| `retrace` | Deobfuscate a stack trace with mapping.txt; output matches Google's retrace |
|
|
35
|
+
| `json-to-kotlin` | Kotlin data classes for kotlinx.serialization, Moshi or Gson |
|
|
36
|
+
| `check-compatibility` | Kotlin, AGP, Gradle, KSP, Compose Multiplatform and compileSdk versions |
|
|
37
|
+
| `android-cli-tasks`, `android-cli-command` | The exact Android CLI command for a task |
|
|
38
|
+
| `crash-to-prompt` | A crash or ANR as a short, redacted prompt for an agent |
|
|
39
|
+
| `version-catalog` | Move a build file's dependencies into libs.versions.toml |
|
|
40
|
+
| `convert-vector` | SVG, VectorDrawable and Compose ImageVector in any direction |
|
|
41
|
+
| `keep-rules` | Write R8 keep rules, or lint proguard-rules.pro |
|
|
42
|
+
| `expect-actual` | actual declarations for each KMP target |
|
|
43
|
+
| `kotlin-to-swift` | How a Kotlin file looks from Swift |
|
|
44
|
+
| `find-kmp-libraries` | KMP libraries by task and target, with current versions |
|
|
45
|
+
| `android-permissions` | Permission facts, and a manifest check |
|
|
46
|
+
| `target-sdk-changes` | Behavior changes between two targetSdk levels |
|
|
47
|
+
|
|
48
|
+
Each tool's output is checked against the real toolchain (R8, Gradle, aapt2, Kotlin/Native, swiftc, the Android CLI) before it ships.
|
|
49
|
+
|
|
50
|
+
## As an MCP server
|
|
51
|
+
|
|
52
|
+
`npx androidboss mcp` serves the same 14 tools over stdio. For Claude Code:
|
|
53
|
+
|
|
54
|
+
```sh
|
|
55
|
+
claude mcp add androidboss -- npx -y androidboss mcp
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
For other agents, add a stdio server with the command `npx` and the arguments `-y androidboss mcp`. Setup for Codex, Gemini CLI, Cursor, Antigravity and VS Code: [androidboss.info/agents/mcp-server](https://androidboss.info/agents/mcp-server/#run-locally).
|
|
59
|
+
|
|
60
|
+
The hosted server at `https://androidboss.info/mcp` has the same tools with no install. Run it locally when your inputs are large (a mapping.txt over 5 MB), private, or when you're offline.
|
|
61
|
+
|
|
62
|
+
## Licences
|
|
63
|
+
|
|
64
|
+
MIT. The bundled packages keep their own licences, listed in `dist/THIRD-PARTY-LICENSES.txt`.
|