@aladac/hu 0.1.0-a1 → 0.1.0-a3

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 (58) hide show
  1. package/CLAUDE.md +159 -29
  2. package/HOOKS.md +146 -0
  3. package/commands/bump.md +30 -0
  4. package/commands/claude/reference.md +42 -0
  5. package/commands/pricing.md +16 -0
  6. package/commands/publish.md +20 -0
  7. package/commands/reinstall.md +6 -3
  8. package/doc/PRICING.md +171 -0
  9. package/doc/cli/hooks.md +1602 -0
  10. package/doc/cli/iam.md +352 -0
  11. package/doc/cli/plugins.md +1192 -0
  12. package/doc/cli/settings.md +1505 -0
  13. package/doc/cli/tutorial.md +367 -0
  14. package/hooks/session-start.sh +85 -0
  15. package/hooks/stop.sh +51 -0
  16. package/hooks/user-prompt-submit.sh +74 -0
  17. package/justfile +8 -7
  18. package/package.json +5 -2
  19. package/plans/ethereal-bouncing-creek.md +133 -0
  20. package/plans/gleaming-crunching-bear.md +160 -0
  21. package/session.md +54 -0
  22. package/settings.json +47 -10
  23. package/src/commands/bump.ts +406 -62
  24. package/src/commands/data.ts +1211 -0
  25. package/src/commands/disk.ts +522 -0
  26. package/src/commands/gh.ts +480 -0
  27. package/src/commands/jira.ts +654 -0
  28. package/src/commands/plugin.ts +216 -0
  29. package/src/commands/services.ts +659 -0
  30. package/src/commands/settings.ts +432 -0
  31. package/src/commands/utils.ts +230 -0
  32. package/src/index.ts +15 -1
  33. package/src/lib/claude-paths.ts +136 -0
  34. package/src/lib/config.ts +363 -0
  35. package/src/lib/db.ts +59 -0
  36. package/src/lib/hook-io.ts +128 -0
  37. package/src/lib/jira.ts +779 -0
  38. package/src/lib/jsonl.ts +95 -0
  39. package/src/lib/pricing.ts +300 -0
  40. package/src/lib/schema.ts +164 -0
  41. package/src/lib/sync.ts +300 -0
  42. package/src/lib/table.ts +278 -0
  43. package/tests/lib/claude-paths.test.ts +73 -0
  44. package/tests/lib/config.test.ts +163 -0
  45. package/tests/lib/db.test.ts +230 -0
  46. package/tests/lib/escaping.test.ts +257 -0
  47. package/tests/lib/hook-io.test.ts +151 -0
  48. package/tests/lib/jsonl.test.ts +166 -0
  49. package/HOOKS-DATA-INTEGRATION.md +0 -457
  50. package/SAMPLE.md +0 -378
  51. package/TODO.md +0 -25
  52. package/doc/claude-code/hooks.md +0 -348
  53. package/doc/claude-code/plugins.md +0 -273
  54. /package/doc/{claude-code → cli}/capabilities.md +0 -0
  55. /package/doc/{claude-code → cli}/overview.md +0 -0
  56. /package/doc/{claude-code/sdk-protocols.md → cli/sdk.md} +0 -0
  57. /package/doc/{claude-code/directory-structure.md → cli/structure.md} +0 -0
  58. /package/{commands/warp.md → hu.db} +0 -0
package/doc/PRICING.md ADDED
@@ -0,0 +1,171 @@
1
+ ---
2
+ source: https://claude.com/pricing, https://github.com/features/copilot, https://cursor.com/pricing, https://windsurf.com/pricing, https://tabnine.com/pricing, https://aws.amazon.com/q/developer/pricing/
3
+ fetched: 2026-01-14
4
+ ---
5
+
6
+ # AI Coding Assistant Pricing Comparison
7
+
8
+ This document tracks pricing for AI coding assistants and Claude API costs.
9
+
10
+ ## Claude (Anthropic)
11
+
12
+ ### Subscriptions
13
+
14
+ | Plan | Price | Usage |
15
+ |------|-------|-------|
16
+ | Free | $0/month | Basic usage |
17
+ | Pro | $20/month ($17 annual) | More usage than Free, Claude Code access |
18
+ | Max 5x | $100/month | 5x Pro usage |
19
+ | Max 20x | $200/month | 20x Pro usage |
20
+ | Team Standard | $30/month ($25 annual) | Per seat, min 5 members |
21
+ | Team Premium | $150/month | Per seat, includes Claude Code |
22
+ | Enterprise | Custom | Contact sales |
23
+
24
+ ### API Pricing (per million tokens)
25
+
26
+ | Model | Input | Output | Cache Write | Cache Read |
27
+ |-------|-------|--------|-------------|------------|
28
+ | Opus 4.5 | $5.00 | $25.00 | $6.25 | $0.50 |
29
+ | Sonnet 4.5 | $3.00 | $15.00 | $3.75 | $0.30 |
30
+ | Haiku 4.5 | $1.00 | $5.00 | $1.25 | $0.10 |
31
+ | Opus 4 | $15.00 | $75.00 | - | - |
32
+ | Sonnet 4 | $3.00 | $15.00 | - | - |
33
+ | Sonnet 3.5 | $3.00 | $15.00 | - | - |
34
+ | Haiku 3 | $0.25 | $1.25 | - | - |
35
+
36
+ ---
37
+
38
+ ## GitHub Copilot
39
+
40
+ ### Individual Plans
41
+
42
+ | Plan | Price | Limits |
43
+ |------|-------|--------|
44
+ | Free | $0/month | 2,000 completions/month, 50 chat requests/month |
45
+ | Pro | $10/month ($100/year) | Unlimited completions, 300 premium requests/month |
46
+ | Pro+ | $39/month ($390/year) | 1,500 premium requests/month, Claude Opus 4.1 access |
47
+
48
+ ### Business Plans
49
+
50
+ | Plan | Price | Limits |
51
+ |------|-------|--------|
52
+ | Business | $19/user/month | Unlimited completions, 300 premium requests/month |
53
+ | Enterprise | $39/user/month | 1,000 premium requests/month, all models |
54
+
55
+ **Notes:**
56
+ - Premium requests are for latest models (Claude, GPT-5, etc.)
57
+ - Agent mode with GPT-5 mini is unlimited on paid plans
58
+ - Free tier includes Haiku 4.5, GPT-4.1
59
+
60
+ ---
61
+
62
+ ## Cursor
63
+
64
+ ### Individual Plans
65
+
66
+ | Plan | Price | Features |
67
+ |------|-------|----------|
68
+ | Hobby (Free) | $0/month | Limited Agent requests, limited Tab completions |
69
+ | Pro | $20/month | Extended Agent limits, unlimited Tab completions, Background Agents |
70
+ | Pro+ | $60/month | 3x usage on all models (OpenAI, Claude, Gemini) |
71
+ | Ultra | $200/month | 20x usage on all models, priority feature access |
72
+
73
+ ### Business Plans
74
+
75
+ | Plan | Price | Features |
76
+ |------|-------|----------|
77
+ | Teams | $40/user/month | Shared chats, usage analytics, SSO, RBAC |
78
+ | Enterprise | Custom | Pooled usage, SCIM, audit logs, priority support |
79
+
80
+ ### Bugbot Add-on
81
+
82
+ | Plan | Price | Limits |
83
+ |------|-------|--------|
84
+ | Free | $0/month | Limited code reviews/month |
85
+ | Pro | $40/user/month | Unlimited reviews on up to 200 PRs/month |
86
+ | Teams | $40/user/month | Unlimited reviews on all PRs |
87
+
88
+ ---
89
+
90
+ ## Windsurf (formerly Codeium)
91
+
92
+ | Plan | Price | Credits | Notes |
93
+ |------|-------|---------|-------|
94
+ | Free | $0/month | 25 prompt credits | Basic access |
95
+ | Pro | $15/month | 500 prompt credits | +$10 for 250 additional credits |
96
+ | Teams | $30/user/month | 500 credits/user | +$10/user for enhanced features |
97
+ | Enterprise | Custom | 1,000 credits/user | Volume discounts, hybrid deployment |
98
+
99
+ **Notes:**
100
+ - Credits consumed when using premium models in Cascade
101
+ - Cost varies by model selected
102
+ - Unlimited Tabs, Previews, and Deploys on all plans
103
+
104
+ ---
105
+
106
+ ## Tabnine
107
+
108
+ | Plan | Price | Features |
109
+ |------|-------|----------|
110
+ | Agentic Platform | $59/user/month (annual) | AI completions, chat, workflow agents |
111
+
112
+ **Notes:**
113
+ - Single plan with comprehensive features
114
+ - Unlimited usage when using your own LLM
115
+ - 5% handling fee on Tabnine-provided LLM access
116
+ - Zero code retention, end-to-end encryption
117
+ - Flexible deployment: SaaS, VPC, on-premises, air-gapped
118
+
119
+ ---
120
+
121
+ ## Amazon Q Developer
122
+
123
+ | Plan | Price | Limits |
124
+ |------|-------|--------|
125
+ | Free | $0/month | 50 agentic requests/month, 1,000 lines Java upgrade |
126
+ | Pro | $19/user/month | 4,000 lines/month (pooled), overage $0.003/line |
127
+
128
+ **Notes:**
129
+ - Subscriptions activate upon actual use, not sign-in
130
+ - Pro includes IP indemnity and automatic data opt-out
131
+ - Access to latest Claude models included
132
+
133
+ ---
134
+
135
+ ## Quick Comparison (Monthly Individual Plans)
136
+
137
+ | Service | Free | Basic Paid | Pro/Advanced |
138
+ |---------|------|------------|--------------|
139
+ | Claude Max | - | $100 (5x) | $200 (20x) |
140
+ | GitHub Copilot | $0 (limited) | $10 | $39 |
141
+ | Cursor | $0 (limited) | $20 | $60-200 |
142
+ | Windsurf | $0 (25 credits) | $15 | - |
143
+ | Tabnine | - | $59 | - |
144
+ | Amazon Q | $0 (50 requests) | $19 | - |
145
+
146
+ ---
147
+
148
+ ## Value Analysis
149
+
150
+ ### Claude Max at $200/month equivalent usage
151
+
152
+ Based on typical heavy usage (example: ~2.3M output tokens with Opus 4.5):
153
+ - **API equivalent cost:** ~$60 for this session data
154
+ - **Max subscription:** $200/month flat
155
+ - **Break-even point:** ~7.7M output tokens/month with Opus 4.5
156
+
157
+ ### Cost per 1M tokens (output) comparison
158
+
159
+ | Service | Approx. Cost |
160
+ |---------|--------------|
161
+ | Claude API (Opus 4.5) | $25.00 |
162
+ | Claude API (Sonnet 4.5) | $15.00 |
163
+ | Claude API (Haiku 4.5) | $5.00 |
164
+ | GitHub Copilot Pro | ~$10/month flat |
165
+ | Cursor Pro | ~$20/month flat |
166
+
167
+ *Note: Subscription services don't expose per-token costs, making direct comparison difficult.*
168
+
169
+ ---
170
+
171
+ *Last updated: 2026-01-14*