agny 0.1.6

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 AGNY Team
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 ADDED
@@ -0,0 +1,75 @@
1
+ # AGNY CLI
2
+
3
+ 🔥 **Track your Brain RPM** - The passive hustle tracker for AI-native builders.
4
+
5
+ ## Quick Start
6
+
7
+ ```bash
8
+ # Login with GitHub
9
+ agny login
10
+
11
+ # Install background daemon (one-time)
12
+ # Supports macOS (LaunchAgent) & Windows (Startup VBS)
13
+ agny install
14
+
15
+ # Done! AGNY now tracks your AI usage automatically in the background.
16
+ ```
17
+
18
+ ## Commands
19
+
20
+ | Command | Description |
21
+ |---------|-------------|
22
+ | `agny watch` | Start monitoring AI tools manually |
23
+ | `agny login` | Login with GitHub |
24
+ | `agny logout` | Logout |
25
+ | `agny whoami` | Check current account |
26
+ | `agny install` | Install background daemon |
27
+ | `agny uninstall` | Remove background daemon |
28
+ | `agny status` | Check daemon status |
29
+ | `agny submit` | Manually submit usage data |
30
+
31
+ ## Supported Tools
32
+
33
+ - ✅ Cursor
34
+ - ✅ Claude Desktop
35
+ - ✅ Windsurf
36
+ - 🔜 Copilot
37
+
38
+ ## Development
39
+
40
+ ```bash
41
+ # Install dependencies
42
+ npm install
43
+
44
+ # Build
45
+ npm run build
46
+
47
+ # Run in dev mode
48
+ npm run dev <command>
49
+ ```
50
+
51
+ ## Publishing to npm
52
+
53
+ > ⚠️ **IMPORTANT: DO NOT run `npm publish` locally!**
54
+ >
55
+ > Cross-platform native binaries are built by GitHub Actions.
56
+ > Publishing locally will fail the `prepublishOnly` check.
57
+
58
+ **Use git tags to trigger automatic CI/CD release:**
59
+
60
+ ```bash
61
+ # 1. Update version (patch/minor/major)
62
+ npm version patch
63
+
64
+ # 2. Push with tags
65
+ git push origin main --tags
66
+
67
+ # 3. GitHub Actions (Release.yml) will:
68
+ # - Build binaries for 6 platforms (macOS/Linux/Windows × x64/ARM)
69
+ # - Publish to npm
70
+ # - Create GitHub Release
71
+ ```
72
+
73
+ ## License
74
+
75
+ MIT
Binary file
Binary file
Binary file
Binary file
Binary file
package/bin/agny.js ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ import "../dist/index.js";