up-cli 0.1.1__py3-none-any.whl → 0.5.0__py3-none-any.whl

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 (55) hide show
  1. up/__init__.py +1 -1
  2. up/ai_cli.py +229 -0
  3. up/cli.py +75 -4
  4. up/commands/agent.py +521 -0
  5. up/commands/bisect.py +343 -0
  6. up/commands/branch.py +350 -0
  7. up/commands/dashboard.py +248 -0
  8. up/commands/init.py +195 -6
  9. up/commands/learn.py +1741 -0
  10. up/commands/memory.py +545 -0
  11. up/commands/new.py +108 -10
  12. up/commands/provenance.py +267 -0
  13. up/commands/review.py +239 -0
  14. up/commands/start.py +1124 -0
  15. up/commands/status.py +360 -0
  16. up/commands/summarize.py +122 -0
  17. up/commands/sync.py +317 -0
  18. up/commands/vibe.py +304 -0
  19. up/context.py +421 -0
  20. up/core/__init__.py +69 -0
  21. up/core/checkpoint.py +479 -0
  22. up/core/provenance.py +364 -0
  23. up/core/state.py +678 -0
  24. up/events.py +512 -0
  25. up/git/__init__.py +37 -0
  26. up/git/utils.py +270 -0
  27. up/git/worktree.py +331 -0
  28. up/learn/__init__.py +155 -0
  29. up/learn/analyzer.py +227 -0
  30. up/learn/plan.py +374 -0
  31. up/learn/research.py +511 -0
  32. up/learn/utils.py +117 -0
  33. up/memory.py +1096 -0
  34. up/parallel.py +551 -0
  35. up/summarizer.py +407 -0
  36. up/templates/__init__.py +70 -2
  37. up/templates/config/__init__.py +502 -20
  38. up/templates/docs/SKILL.md +28 -0
  39. up/templates/docs/__init__.py +341 -0
  40. up/templates/docs/standards/HEADERS.md +24 -0
  41. up/templates/docs/standards/STRUCTURE.md +18 -0
  42. up/templates/docs/standards/TEMPLATES.md +19 -0
  43. up/templates/learn/__init__.py +567 -14
  44. up/templates/loop/__init__.py +546 -27
  45. up/templates/mcp/__init__.py +474 -0
  46. up/templates/projects/__init__.py +786 -0
  47. up/ui/__init__.py +14 -0
  48. up/ui/loop_display.py +650 -0
  49. up/ui/theme.py +137 -0
  50. up_cli-0.5.0.dist-info/METADATA +519 -0
  51. up_cli-0.5.0.dist-info/RECORD +55 -0
  52. up_cli-0.1.1.dist-info/METADATA +0 -186
  53. up_cli-0.1.1.dist-info/RECORD +0 -14
  54. {up_cli-0.1.1.dist-info → up_cli-0.5.0.dist-info}/WHEEL +0 -0
  55. {up_cli-0.1.1.dist-info → up_cli-0.5.0.dist-info}/entry_points.txt +0 -0
@@ -0,0 +1,55 @@
1
+ up/__init__.py,sha256=ztAXxPeAW-HvU53VT9OnV8VS6zlKIfAa0IuTPWys5I4,70
2
+ up/ai_cli.py,sha256=sBUZC5QEOu5R4C_VmmmsEJ0J3G3XNYv4zhd2uhjDONg,7032
3
+ up/cli.py,sha256=SRJzOKXunm8BDIPN3-GAmGMgag0S5lU_0kee6KdPdd4,3156
4
+ up/context.py,sha256=Fu6ZDuOFNxef24sRojE5idy0hSyTAZnRwBoZHITDkUg,14010
5
+ up/events.py,sha256=-MgGW6L8mPOQmNhoB2Ry0bKaXbjTmzpGMZGtKJRDnaA,15006
6
+ up/memory.py,sha256=nBU8xwu5S13_U2IpO7tHmW5_0JQXY4jaJ3MnxLwZZSY,39525
7
+ up/parallel.py,sha256=q_NRcVM8R6N8ueCvc0SqM-ZmbML3whVPD4HMJBf8WL4,16899
8
+ up/summarizer.py,sha256=JyKYIB2CkuFuNHFuqiw6v6oEsD7enLIl9O8xA_32qQI,13952
9
+ up/commands/__init__.py,sha256=95wKJUh3jcO5L0kj6UiA5Hanrs1mTnHv_L70PfmMNJ0,23
10
+ up/commands/agent.py,sha256=6SXIVh62JWOKbbJ1HOIbYNPH3IBIOmtERMbRyqDnw8Y,17171
11
+ up/commands/bisect.py,sha256=a19zVUp-DJzYeWiZnSCScPtvzfJqMut23_g4HJY5tVQ,10938
12
+ up/commands/branch.py,sha256=rg04ENaHjfC1q-vmMPPrEZVph6QAOvQfVJUu1B2pew8,11298
13
+ up/commands/dashboard.py,sha256=7J7J3JFq95NecbOtSXQfm3zUytpacFVQrF0oMfdrlfg,7426
14
+ up/commands/init.py,sha256=eRlHS3J8rawjxOvxucC1fZxnkLzwFP1YQ41dkFi6bzU,7264
15
+ up/commands/learn.py,sha256=NhkSzDFsoDHn52bgQ4nTKQ9YLILKD5OBp8sZZDWgIPY,62079
16
+ up/commands/memory.py,sha256=9uA7dNhwTxB8u8zo7K9XH1eCWErj9wcsK-Roo71pr6s,19363
17
+ up/commands/new.py,sha256=PNyrYtWkJDEWkKN1Axa57YW_pJYL6zjHCuhqbjq-FIc,4733
18
+ up/commands/provenance.py,sha256=KzQHkxR5EmuXc75Tl-kKJZzwL5d_BxbR8IJyNeGKFoQ,8458
19
+ up/commands/review.py,sha256=M5yA1Zv_GTyRvfGPg9dMEmHLFbX6Gt92TbWayOkEgSA,7504
20
+ up/commands/start.py,sha256=judZE2visg6xjrvU41Z5hVU_yY3RgOabcJdJMD-RKb4,40023
21
+ up/commands/status.py,sha256=9iqrp4WKatbG7ubHQGQD27hTUfKLoLS4NAf2rkJiOWM,12940
22
+ up/commands/summarize.py,sha256=GqAm_Yj9-8UaHMHjAzyi6yRT5f2D8updi7BHP3OA7bA,3619
23
+ up/commands/sync.py,sha256=Rq4YM785N7mfYGDxoibEvU2PncKGrxwTuf_81bx1BMw,9336
24
+ up/commands/vibe.py,sha256=_0a7sOtmUF0Gmz0EFvnPI7ZJvloEvOoqPBdtFH-P3ns,10642
25
+ up/core/__init__.py,sha256=yKJTQO8Ed3UTHKfGVcSIXzoWifBcldbeFFjAJEhZLq4,1406
26
+ up/core/checkpoint.py,sha256=Ozq-olWMHJ51a_6bHyzOK1wafAyH-PgVvI4Jb2BkQss,15702
27
+ up/core/provenance.py,sha256=CHjY1VwF3oG_Z_25b6NCvPDsPM3h3OPyWvQQlLPOtTs,12119
28
+ up/core/state.py,sha256=TMegt206LGnK6fJs-G8mFDuY6pYAQRdRKUKPmDvCtxE,24547
29
+ up/git/__init__.py,sha256=kWHoyhVxEFAAj_0H0ZgB6K8B8LLpPFup1G8kDYnnnz4,723
30
+ up/git/utils.py,sha256=RkJ2WdcUhEIp_2IpZSwD0eLzSBphhHNYGORFH0H6uyk,7369
31
+ up/git/worktree.py,sha256=fseQ304u2tsPt5pyrekR3lEho1ON-NRObMVWkfXBH5Q,9359
32
+ up/learn/__init__.py,sha256=QDUWU1k4b3a0zrbPbA_x2_wQhCXMW9nBJpYIUTxtgw0,5360
33
+ up/learn/analyzer.py,sha256=spCIbvtyp-phj9u4O6vwBraVVd7Fuf7ATzP-70BvzA8,7364
34
+ up/learn/plan.py,sha256=ix-iszBHcUDriFzT8U_n8CXO__bVIYRxvdT4O0tTZok,12334
35
+ up/learn/research.py,sha256=4h3UCZvyOipZ1O6ySj_bB-Lxckue7kPbfGWmn0u2Vw0,18706
36
+ up/learn/utils.py,sha256=qPhkvPaDo-lUc5zFd-2THxvboHlr5xKqRykvtJiEcco,3688
37
+ up/templates/__init__.py,sha256=S_GEtcw4WCtlkK8iFtNJJpAxX8OhSaE6jJyacWIfgso,3282
38
+ up/templates/config/__init__.py,sha256=8YvxAx2OsXd8t8TIQjq2xY5DcKGA0gUo-ybOn5uCzN8,11945
39
+ up/templates/docs/SKILL.md,sha256=VEbtwxRsZrbrwe2HfxfWsURNa6X9M_useYTjbEuB6hs,705
40
+ up/templates/docs/__init__.py,sha256=yXjPFRgMvQvw-oHmU8fvCgfmkRB4rbYDG6gI-Tuaqv4,8267
41
+ up/templates/docs/standards/HEADERS.md,sha256=tNSudIfz1cAKlIp-UW80Byh-M4g8XBVJcsFVFC0GIs0,431
42
+ up/templates/docs/standards/STRUCTURE.md,sha256=-7yuVgXWa0EQhxY7FgFIPBHVrhtf8agAQL7WQrdpvGo,308
43
+ up/templates/docs/standards/TEMPLATES.md,sha256=CJ1-R2vsthFuSSptDneJLEModfMceLr54suLS2qHHJA,213
44
+ up/templates/docs_skill/__init__.py,sha256=0XNjIj5yuwlhqUmIZjjcfQo67J-m_op1RKAVjIn6bho,1201
45
+ up/templates/learn/__init__.py,sha256=NUDmkyfN3HN0ZILNbIpCcfpmG4ztw6RXmN405Ps5DTE,17313
46
+ up/templates/loop/__init__.py,sha256=7mZ3YyEPHvYodkpLNoumHk3Jkl9n_9tSEvRXF_Zb3D0,17927
47
+ up/templates/mcp/__init__.py,sha256=hN4_w1v50tFpf8-WZe2_tVGgNjOW5Ucilfue6qQiIv8,12686
48
+ up/templates/projects/__init__.py,sha256=kNmEP6uRnj_f-RkSUwIXwjuwO_ep5Pm10MbHda0cqCU,17717
49
+ up/ui/__init__.py,sha256=FumPtU-P-JYf_SgbyUvoxEewT9XzxlEp32yThTVqqXU,284
50
+ up/ui/loop_display.py,sha256=tg0txEUjSMh6XMnONmHjDbHyZa1OH-NoADfZJomu3g8,23049
51
+ up/ui/theme.py,sha256=ZdsKfRbARHp6CsDTr8GjA5zv4LKolg9hIaobj3QBrMc,4223
52
+ up_cli-0.5.0.dist-info/METADATA,sha256=9MMVcGkNS6Ki6o2oexovRxzrWLAfOvdKmEhGp6kIvu8,16165
53
+ up_cli-0.5.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
54
+ up_cli-0.5.0.dist-info/entry_points.txt,sha256=3xiuYEewTAtul4F7s7mBOBD8s4kUlkdcqNrrMGfLEHA,35
55
+ up_cli-0.5.0.dist-info/RECORD,,
@@ -1,186 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: up-cli
3
- Version: 0.1.1
4
- Summary: AI-powered project scaffolding with docs, learn, and product-loop systems
5
- Project-URL: Homepage, https://github.com/yourusername/up-cli
6
- Project-URL: Documentation, https://github.com/yourusername/up-cli#readme
7
- Project-URL: Repository, https://github.com/yourusername/up-cli
8
- Author-email: Your Name <you@example.com>
9
- License-Expression: MIT
10
- Keywords: ai,claude,cli,cursor,productivity,scaffolding
11
- Classifier: Development Status :: 3 - Alpha
12
- Classifier: Environment :: Console
13
- Classifier: Intended Audience :: Developers
14
- Classifier: License :: OSI Approved :: MIT License
15
- Classifier: Programming Language :: Python :: 3
16
- Classifier: Programming Language :: Python :: 3.10
17
- Classifier: Programming Language :: Python :: 3.11
18
- Classifier: Programming Language :: Python :: 3.12
19
- Classifier: Topic :: Software Development :: Code Generators
20
- Requires-Python: >=3.10
21
- Requires-Dist: click>=8.0
22
- Requires-Dist: pyyaml>=6.0
23
- Requires-Dist: rich>=13.0
24
- Provides-Extra: dev
25
- Requires-Dist: pytest>=7.0; extra == 'dev'
26
- Requires-Dist: ruff>=0.1.0; extra == 'dev'
27
- Description-Content-Type: text/markdown
28
-
29
- # up-cli
30
-
31
- ![img](https://img.iami.xyz/images/ai-futures/543426914-37655a9f-e661-4ab5-b994-e4e11f97dd95.png)
32
-
33
- An AI-powered CLI tool for scaffolding projects with built-in documentation, learning systems, and product-loop workflows designed for use with Claude Code and Cursor AI.
34
-
35
- **Learned from real practice** - Built on insights from 5+ billion tokens of development experience and commercial products. Extracts best practices from chat history, documentation patterns, and proven workflows.
36
-
37
- ## Installation
38
-
39
- ```bash
40
- pip install -e .
41
- ```
42
-
43
- ## Quick Start
44
-
45
- ```bash
46
- # Create new project
47
- up new my-project
48
-
49
- # Or initialize in existing project
50
- cd existing-project
51
- up init
52
- ```
53
-
54
- ## Commands
55
-
56
- | Command | Description |
57
- |---------|-------------|
58
- | `up new <name>` | Create a new project with full scaffolding |
59
- | `up new <name> --template <type>` | Create project from specific template |
60
- | `up init` | Initialize up systems in current directory |
61
- | `up init --ai claude` | Initialize for Claude Code only |
62
- | `up init --ai cursor` | Initialize for Cursor AI only |
63
- | `up init --systems docs,learn` | Initialize specific systems only |
64
-
65
- ## Usage Examples
66
-
67
- ### Create a new project
68
-
69
- ```bash
70
- # Create a new project with all systems
71
- up new my-saas-app
72
-
73
- # Create with a specific template
74
- up new my-api --template fastapi
75
- ```
76
-
77
- ### Initialize in existing project
78
-
79
- ```bash
80
- cd my-existing-project
81
-
82
- # Full initialization
83
- up init
84
-
85
- # Claude Code focused setup
86
- up init --ai claude
87
-
88
- # Only add docs and learn systems
89
- up init --systems docs,learn
90
- ```
91
-
92
- ### Using the Learn System
93
-
94
- ```bash
95
- # Auto-analyze your project and generate insights
96
- /learn auto
97
-
98
- # Research a specific topic with web sources
99
- /learn research "authentication patterns"
100
-
101
- # Generate a PRD from your codebase
102
- /learn plan
103
- ```
104
-
105
- ### Using the Product Loop
106
-
107
- ```bash
108
- # Start autonomous development loop
109
- ./skills/product-loop/start-autonomous.sh
110
-
111
- # Run with circuit breaker protection
112
- ./skills/product-loop/ralph_hybrid.sh
113
- ```
114
-
115
- ## Systems
116
-
117
- ### 1. Docs System
118
-
119
- ```
120
- docs/roadmap/vision/ # Product vision
121
- docs/roadmap/phases/ # Phase roadmaps
122
- docs/changelog/ # Progress tracking
123
- ```
124
-
125
- ### 2. Learn System
126
-
127
- - `/learn auto` - Auto-analyze project
128
- - `/learn research [topic]` - Research topic
129
- - `/learn plan` - Generate PRD
130
-
131
- ### 3. Product Loop (SESRC)
132
-
133
- - Circuit breaker (max 3 failures)
134
- - Checkpoint/rollback
135
- - Health checks
136
- - Budget limits
137
-
138
- ## Design Principles & Practices
139
-
140
- ### AI-First Development
141
-
142
- **Design for AI collaboration, not just human readability.**
143
-
144
- - **Context-aware scaffolding** - Project structures optimized for AI agents to navigate and understand quickly
145
- - **Explicit over implicit** - Clear file naming, directory structures, and documentation that AI can parse without ambiguity
146
- - **Prompt-friendly patterns** - Code and docs written to be easily referenced in AI conversations
147
- - **Tool integration** - Native support for Claude Code skills and Cursor AI rules
148
-
149
- ### Documentation-Driven Development
150
-
151
- **Documentation is the source of truth, not an afterthought.**
152
-
153
- - **Docs-first workflow** - Write documentation before implementation to clarify intent
154
- - **Living documentation** - Docs evolve with the codebase through automated learning systems
155
- - **Knowledge extraction** - `/learn` commands analyze patterns and generate insights from real usage
156
- - **Structured knowledge** - Vision, roadmaps, and changelogs in predictable locations for AI and human consumption
157
-
158
- ### Product Loop Patterns (SESRC)
159
-
160
- **Autonomous development with safety guardrails.**
161
-
162
- - **Circuit breaker protection** - Max 3 consecutive failures before stopping to prevent runaway loops
163
- - **Checkpoint/rollback** - Save state before risky operations, restore on failure
164
- - **Health checks** - Validate system state between iterations
165
- - **Budget limits** - Token and time constraints to prevent unbounded execution
166
- - **Human-in-the-loop** - Critical decisions require explicit approval
167
-
168
- ### Core Practices
169
-
170
- | Practice | Description |
171
- |----------|-------------|
172
- | **Incremental delivery** | Ship small, working increments over big-bang releases |
173
- | **Fail fast, recover faster** | Detect issues early, rollback automatically |
174
- | **Observable by default** | Logging, metrics, and state visible to both AI and humans |
175
- | **Convention over configuration** | Sensible defaults that work out of the box |
176
-
177
- ## Development
178
-
179
- ```bash
180
- pip install -e .
181
- pytest
182
- ```
183
-
184
- ## License
185
-
186
- MIT
@@ -1,14 +0,0 @@
1
- up/__init__.py,sha256=7suBsJ6_nxjrmi-aUlqOniZkgIWUttUoNQ_zT8vza9Q,70
2
- up/cli.py,sha256=NV7Zn4ep2vEVQsKZWGZqTRSXiefe9sFrN6fsnLLHub8,551
3
- up/commands/__init__.py,sha256=95wKJUh3jcO5L0kj6UiA5Hanrs1mTnHv_L70PfmMNJ0,23
4
- up/commands/init.py,sha256=uBLYSict6O2nmywFIfgBbb_Isw8LkB3y5R09XAnrvfQ,1756
5
- up/commands/new.py,sha256=oYLdf7s0QhI1uZiXhxWdO7S_y8IeVqIdSxsAD4nFPYc,1712
6
- up/templates/__init__.py,sha256=lTJqsHoYoMAvFMoYttvVJP_zb1w2ELzj04--ckDfFYI,1657
7
- up/templates/config/__init__.py,sha256=zOUgJWVB_OLPmkKVKyrdGhfV8tpL2m-oGy327Wn8LhE,2219
8
- up/templates/docs_skill/__init__.py,sha256=0XNjIj5yuwlhqUmIZjjcfQo67J-m_op1RKAVjIn6bho,1201
9
- up/templates/learn/__init__.py,sha256=8ArFJ0M25gGbPkmdzg3p2LPOqyetefn65NqSC59pBqw,2289
10
- up/templates/loop/__init__.py,sha256=jC_pAHnMUi34e_RBSu_YFd2oKAXWc3lC_e3M4DPUAPY,2290
11
- up_cli-0.1.1.dist-info/METADATA,sha256=2UUOHQxnStniuCQ9M-wpd9ov2iPig8MYkUlDzrnsQzA,5555
12
- up_cli-0.1.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
13
- up_cli-0.1.1.dist-info/entry_points.txt,sha256=3xiuYEewTAtul4F7s7mBOBD8s4kUlkdcqNrrMGfLEHA,35
14
- up_cli-0.1.1.dist-info/RECORD,,
File without changes