getapo 0.0.1__tar.gz → 0.2.0__tar.gz

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 (182) hide show
  1. getapo-0.2.0/LICENSE +21 -0
  2. getapo-0.2.0/PKG-INFO +123 -0
  3. getapo-0.2.0/README.md +80 -0
  4. getapo-0.2.0/THIRD_PARTY_NOTICES.md +49 -0
  5. getapo-0.2.0/pyproject.toml +71 -0
  6. getapo-0.2.0/src/apo/__init__.py +3 -0
  7. getapo-0.2.0/src/apo/__main__.py +4 -0
  8. getapo-0.2.0/src/apo/changelog.py +377 -0
  9. getapo-0.2.0/src/apo/claude_runtime.py +199 -0
  10. getapo-0.2.0/src/apo/cli.py +1248 -0
  11. getapo-0.2.0/src/apo/config.py +175 -0
  12. getapo-0.2.0/src/apo/credentials.py +82 -0
  13. getapo-0.2.0/src/apo/db.py +6061 -0
  14. getapo-0.2.0/src/apo/installer.py +309 -0
  15. getapo-0.2.0/src/apo/integrations/__init__.py +0 -0
  16. getapo-0.2.0/src/apo/integrations/linear_client.py +376 -0
  17. getapo-0.2.0/src/apo/integrations/linear_goals.py +330 -0
  18. getapo-0.2.0/src/apo/integrations/sources.py +331 -0
  19. getapo-0.2.0/src/apo/mcp_server.py +460 -0
  20. getapo-0.2.0/src/apo/repo_writer.py +379 -0
  21. getapo-0.2.0/src/apo/resources/guide.md +501 -0
  22. getapo-0.2.0/src/apo/resources/hooks/session-decisions-nudge.sh +68 -0
  23. getapo-0.2.0/src/apo/resources/skills/decisions/SKILL.md +135 -0
  24. getapo-0.2.0/src/apo/transcripts.py +239 -0
  25. getapo-0.2.0/src/apo/verify.py +127 -0
  26. getapo-0.2.0/src/apo/web/__init__.py +0 -0
  27. getapo-0.2.0/src/apo/web/app.py +2641 -0
  28. getapo-0.2.0/src/apo/web/static/app.css +1548 -0
  29. getapo-0.2.0/src/apo/web/static/app.js +1183 -0
  30. getapo-0.2.0/src/apo/web/static/fleet.js +194 -0
  31. getapo-0.2.0/src/apo/web/static/live.js +47 -0
  32. getapo-0.2.0/src/apo/web/static/notify.js +70 -0
  33. getapo-0.2.0/src/apo/web/static/now.js +160 -0
  34. getapo-0.2.0/src/apo/web/static/palette.js +264 -0
  35. getapo-0.2.0/src/apo/web/static/round.js +38 -0
  36. getapo-0.2.0/src/apo/web/templates/_attachment_composer.html +154 -0
  37. getapo-0.2.0/src/apo/web/templates/_bulk.html +72 -0
  38. getapo-0.2.0/src/apo/web/templates/_icons.html +35 -0
  39. getapo-0.2.0/src/apo/web/templates/_macros.html +117 -0
  40. getapo-0.2.0/src/apo/web/templates/_merge_result.html +12 -0
  41. getapo-0.2.0/src/apo/web/templates/_now_item.html +151 -0
  42. getapo-0.2.0/src/apo/web/templates/_project_macros.html +149 -0
  43. getapo-0.2.0/src/apo/web/templates/_prompt_form.html +59 -0
  44. getapo-0.2.0/src/apo/web/templates/_resume_actions.html +20 -0
  45. getapo-0.2.0/src/apo/web/templates/_session_card.html +115 -0
  46. getapo-0.2.0/src/apo/web/templates/_work_location.html +15 -0
  47. getapo-0.2.0/src/apo/web/templates/_work_main.html +44 -0
  48. getapo-0.2.0/src/apo/web/templates/_work_status.html +86 -0
  49. getapo-0.2.0/src/apo/web/templates/accept.html +40 -0
  50. getapo-0.2.0/src/apo/web/templates/all_activity.html +34 -0
  51. getapo-0.2.0/src/apo/web/templates/all_agents.html +88 -0
  52. getapo-0.2.0/src/apo/web/templates/all_decisions.html +71 -0
  53. getapo-0.2.0/src/apo/web/templates/all_overview.html +103 -0
  54. getapo-0.2.0/src/apo/web/templates/all_work.html +59 -0
  55. getapo-0.2.0/src/apo/web/templates/base.html +140 -0
  56. getapo-0.2.0/src/apo/web/templates/decision.html +491 -0
  57. getapo-0.2.0/src/apo/web/templates/guide.html +20 -0
  58. getapo-0.2.0/src/apo/web/templates/now.html +155 -0
  59. getapo-0.2.0/src/apo/web/templates/outcome.html +141 -0
  60. getapo-0.2.0/src/apo/web/templates/project_activity.html +28 -0
  61. getapo-0.2.0/src/apo/web/templates/project_agents.html +42 -0
  62. getapo-0.2.0/src/apo/web/templates/project_decisions.html +67 -0
  63. getapo-0.2.0/src/apo/web/templates/project_overview.html +149 -0
  64. getapo-0.2.0/src/apo/web/templates/project_settings.html +214 -0
  65. getapo-0.2.0/src/apo/web/templates/project_work.html +80 -0
  66. getapo-0.2.0/src/apo/web/templates/projects_shell.html +89 -0
  67. getapo-0.2.0/src/apo/web/templates/report.html +68 -0
  68. getapo-0.2.0/src/apo/web/templates/round.html +44 -0
  69. getapo-0.2.0/src/apo/web/templates/search.html +107 -0
  70. getapo-0.2.0/src/apo/web/templates/session.html +137 -0
  71. getapo-0.2.0/src/apo/web/templates/settings.html +143 -0
  72. getapo-0.2.0/src/apo/web/templates/week.html +76 -0
  73. getapo-0.2.0/src/getapo.egg-info/PKG-INFO +123 -0
  74. getapo-0.2.0/src/getapo.egg-info/SOURCES.txt +173 -0
  75. getapo-0.2.0/src/getapo.egg-info/entry_points.txt +2 -0
  76. getapo-0.2.0/src/getapo.egg-info/requires.txt +16 -0
  77. getapo-0.2.0/tests/test_action_spec_render.py +42 -0
  78. getapo-0.2.0/tests/test_actions.py +143 -0
  79. getapo-0.2.0/tests/test_answering.py +144 -0
  80. getapo-0.2.0/tests/test_app.py +1345 -0
  81. getapo-0.2.0/tests/test_assets.py +44 -0
  82. getapo-0.2.0/tests/test_autonomy_rules.py +195 -0
  83. getapo-0.2.0/tests/test_background.py +255 -0
  84. getapo-0.2.0/tests/test_browser.py +645 -0
  85. getapo-0.2.0/tests/test_bugs.py +101 -0
  86. getapo-0.2.0/tests/test_bulk_and_views.py +206 -0
  87. getapo-0.2.0/tests/test_cancel_button.py +92 -0
  88. getapo-0.2.0/tests/test_changelog.py +221 -0
  89. getapo-0.2.0/tests/test_checklist_back.py +64 -0
  90. getapo-0.2.0/tests/test_claude_runtime.py +130 -0
  91. getapo-0.2.0/tests/test_cli.py +649 -0
  92. getapo-0.2.0/tests/test_cli_hooks.py +601 -0
  93. getapo-0.2.0/tests/test_close_rows.py +65 -0
  94. getapo-0.2.0/tests/test_config.py +129 -0
  95. getapo-0.2.0/tests/test_continue.py +210 -0
  96. getapo-0.2.0/tests/test_court.py +91 -0
  97. getapo-0.2.0/tests/test_credentials.py +92 -0
  98. getapo-0.2.0/tests/test_cross_site.py +92 -0
  99. getapo-0.2.0/tests/test_dashboard_cli.py +227 -0
  100. getapo-0.2.0/tests/test_db.py +649 -0
  101. getapo-0.2.0/tests/test_decisions_skill.py +20 -0
  102. getapo-0.2.0/tests/test_decisions_tab.py +59 -0
  103. getapo-0.2.0/tests/test_delivery.py +178 -0
  104. getapo-0.2.0/tests/test_digest.py +177 -0
  105. getapo-0.2.0/tests/test_due_stuck.py +140 -0
  106. getapo-0.2.0/tests/test_edit_undo.py +251 -0
  107. getapo-0.2.0/tests/test_entry_points.py +49 -0
  108. getapo-0.2.0/tests/test_events.py +110 -0
  109. getapo-0.2.0/tests/test_folder_identity.py +299 -0
  110. getapo-0.2.0/tests/test_guide.py +9 -0
  111. getapo-0.2.0/tests/test_installer.py +319 -0
  112. getapo-0.2.0/tests/test_item_folder.py +252 -0
  113. getapo-0.2.0/tests/test_item_page.py +100 -0
  114. getapo-0.2.0/tests/test_layout_fixes.py +48 -0
  115. getapo-0.2.0/tests/test_linear_client.py +482 -0
  116. getapo-0.2.0/tests/test_linear_goals.py +1124 -0
  117. getapo-0.2.0/tests/test_live_stream.py +115 -0
  118. getapo-0.2.0/tests/test_mcp_instructions.py +63 -0
  119. getapo-0.2.0/tests/test_mcp_server.py +341 -0
  120. getapo-0.2.0/tests/test_merge_branches.py +471 -0
  121. getapo-0.2.0/tests/test_names.py +39 -0
  122. getapo-0.2.0/tests/test_navigation.py +61 -0
  123. getapo-0.2.0/tests/test_new_work.py +275 -0
  124. getapo-0.2.0/tests/test_notes_labels.py +214 -0
  125. getapo-0.2.0/tests/test_notify.py +151 -0
  126. getapo-0.2.0/tests/test_now.py +223 -0
  127. getapo-0.2.0/tests/test_now_leads.py +122 -0
  128. getapo-0.2.0/tests/test_outcome_pages.py +140 -0
  129. getapo-0.2.0/tests/test_outcomes.py +163 -0
  130. getapo-0.2.0/tests/test_overview_order.py +54 -0
  131. getapo-0.2.0/tests/test_palette_js.py +97 -0
  132. getapo-0.2.0/tests/test_poll_loop.py +91 -0
  133. getapo-0.2.0/tests/test_preview_paths.py +62 -0
  134. getapo-0.2.0/tests/test_priority_due.py +178 -0
  135. getapo-0.2.0/tests/test_project_home.py +277 -0
  136. getapo-0.2.0/tests/test_project_identity.py +133 -0
  137. getapo-0.2.0/tests/test_project_overview.py +74 -0
  138. getapo-0.2.0/tests/test_project_scope.py +174 -0
  139. getapo-0.2.0/tests/test_project_settings.py +145 -0
  140. getapo-0.2.0/tests/test_projects.py +230 -0
  141. getapo-0.2.0/tests/test_prompt_answers.py +280 -0
  142. getapo-0.2.0/tests/test_quiet_pages.py +75 -0
  143. getapo-0.2.0/tests/test_rank_and_deps.py +156 -0
  144. getapo-0.2.0/tests/test_repo_writer.py +574 -0
  145. getapo-0.2.0/tests/test_resume_folder.py +61 -0
  146. getapo-0.2.0/tests/test_round.py +149 -0
  147. getapo-0.2.0/tests/test_scheduled_resume.py +175 -0
  148. getapo-0.2.0/tests/test_schema.py +101 -0
  149. getapo-0.2.0/tests/test_schema_upgrade.py +28 -0
  150. getapo-0.2.0/tests/test_search.py +155 -0
  151. getapo-0.2.0/tests/test_session_page.py +220 -0
  152. getapo-0.2.0/tests/test_session_states.py +346 -0
  153. getapo-0.2.0/tests/test_session_verdict.py +209 -0
  154. getapo-0.2.0/tests/test_sessions.py +653 -0
  155. getapo-0.2.0/tests/test_small_fixes.py +84 -0
  156. getapo-0.2.0/tests/test_snooze.py +131 -0
  157. getapo-0.2.0/tests/test_sources.py +633 -0
  158. getapo-0.2.0/tests/test_status_export.py +112 -0
  159. getapo-0.2.0/tests/test_sync_errors.py +63 -0
  160. getapo-0.2.0/tests/test_task_attempts.py +171 -0
  161. getapo-0.2.0/tests/test_task_effort.py +126 -0
  162. getapo-0.2.0/tests/test_task_page.py +169 -0
  163. getapo-0.2.0/tests/test_transcripts.py +135 -0
  164. getapo-0.2.0/tests/test_ui_review.py +150 -0
  165. getapo-0.2.0/tests/test_usage_limit.py +91 -0
  166. getapo-0.2.0/tests/test_verify.py +82 -0
  167. getapo-0.2.0/tests/test_week_and_trend.py +149 -0
  168. getapo-0.2.0/tests/test_weekly_report.py +117 -0
  169. getapo-0.2.0/tests/test_wheel.py +115 -0
  170. getapo-0.2.0/tests/test_work_items.py +126 -0
  171. getapo-0.2.0/tests/test_work_location.py +371 -0
  172. getapo-0.2.0/tests/test_work_tab.py +123 -0
  173. getapo-0.0.1/PKG-INFO +0 -19
  174. getapo-0.0.1/README.md +0 -7
  175. getapo-0.0.1/pyproject.toml +0 -25
  176. getapo-0.0.1/src/apo/__init__.py +0 -8
  177. getapo-0.0.1/src/getapo.egg-info/PKG-INFO +0 -19
  178. getapo-0.0.1/src/getapo.egg-info/SOURCES.txt +0 -8
  179. getapo-0.0.1/src/getapo.egg-info/entry_points.txt +0 -2
  180. {getapo-0.0.1 → getapo-0.2.0}/setup.cfg +0 -0
  181. {getapo-0.0.1 → getapo-0.2.0}/src/getapo.egg-info/dependency_links.txt +0 -0
  182. {getapo-0.0.1 → getapo-0.2.0}/src/getapo.egg-info/top_level.txt +0 -0
getapo-0.2.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Ahron Maslin
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.
getapo-0.2.0/PKG-INFO ADDED
@@ -0,0 +1,123 @@
1
+ Metadata-Version: 2.4
2
+ Name: getapo
3
+ Version: 0.2.0
4
+ Summary: apo (AI Project Orchestration): a local dashboard and MCP server for Claude Code. Agents ask instead of stopping; you answer every project's questions from one queue.
5
+ License-Expression: MIT
6
+ Project-URL: Homepage, https://getapo.pages.dev/
7
+ Project-URL: Source, https://github.com/ahron-maslin/apo
8
+ Project-URL: Issues, https://github.com/ahron-maslin/apo/issues
9
+ Keywords: claude,claude-code,mcp,agents,dashboard,human-in-the-loop
10
+ Classifier: Development Status :: 3 - Alpha
11
+ Classifier: Environment :: Console
12
+ Classifier: Environment :: Web Environment
13
+ Classifier: Framework :: FastAPI
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Operating System :: MacOS
16
+ Classifier: Operating System :: POSIX :: Linux
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3 :: Only
19
+ Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Topic :: Software Development
23
+ Requires-Python: >=3.10
24
+ Description-Content-Type: text/markdown
25
+ License-File: LICENSE
26
+ License-File: THIRD_PARTY_NOTICES.md
27
+ Requires-Dist: fastapi>=0.139
28
+ Requires-Dist: uvicorn[standard]>=0.51
29
+ Requires-Dist: jinja2>=3.1
30
+ Requires-Dist: python-multipart>=0.0.32
31
+ Requires-Dist: mcp<2,>=1.28
32
+ Requires-Dist: cryptography>=49
33
+ Requires-Dist: markdown>=3.10
34
+ Requires-Dist: platformdirs>=4
35
+ Provides-Extra: dev
36
+ Requires-Dist: pytest>=9.1; extra == "dev"
37
+ Requires-Dist: pytest-asyncio>=1.4; extra == "dev"
38
+ Requires-Dist: httpx>=0.28; extra == "dev"
39
+ Requires-Dist: websockets>=16; extra == "dev"
40
+ Requires-Dist: build>=1.2; extra == "dev"
41
+ Requires-Dist: setuptools>=77; extra == "dev"
42
+ Dynamic: license-file
43
+
44
+ # apo
45
+
46
+ **AI Project Orchestration.** A local dashboard and MCP server for [Claude Code](https://claude.com/claude-code).
47
+
48
+ When a Claude Code agent needs you (a decision, something only you can do, work to review), it files a request with apo instead of stopping or waiting in a terminal you aren't looking at. You answer every project's requests from one queue in your browser. The answer is written into the project's repository, under `.claude/decisions/`, where the next session picks it up, even days later.
49
+
50
+ The dashboard also shows every Claude Code session you're running, across every project: what each one is doing, which ones are waiting on you, and the goals and tasks they're working through.
51
+
52
+ ![The Now page: everything waiting on you, across projects](https://getapo.pages.dev/img/now-light.webp)
53
+
54
+ Website: https://getapo.pages.dev/
55
+
56
+ ## Install
57
+
58
+ ```
59
+ pipx install getapo
60
+ apo init
61
+ ```
62
+
63
+ The package is called `getapo` on PyPI; it installs the `apo` command. `pip install getapo` works too, in a virtualenv of your own.
64
+
65
+ `apo init` asks where your projects live and whether to connect Linear (you can skip it), then sets up Claude Code for apo:
66
+
67
+ - registers the MCP server `apo` for your user (`claude mcp add apo --scope user`), so every session can file requests and is told when to;
68
+ - adds hooks to `~/.claude/settings.json` (it saves a backup first) that keep the dashboard up to date and hand answers back to the session that asked;
69
+ - copies the `/decisions` skill into `~/.claude/skills/decisions/`.
70
+
71
+ Running it again updates those entries in place instead of adding more. If `CLAUDE_CONFIG_DIR` is set, it sets up that Claude Code profile instead of `~/.claude`.
72
+
73
+ Then start a new Claude Code session in one of your project folders (sessions already running keep the tools they started with), and open the dashboard:
74
+
75
+ ```
76
+ apo dashboard
77
+ ```
78
+
79
+ It starts in the background and prints its address, http://127.0.0.1:8430 by default. `apo dashboard stop` stops it. The [user guide](https://github.com/ahron-maslin/apo/blob/main/docs/user-guide.md), also at `/guide` in the dashboard, explains the rest.
80
+
81
+ ## Requirements
82
+
83
+ - Python 3.10 or later.
84
+ - Claude Code, with `claude` on your PATH.
85
+ - Linux or macOS. WSL2 works; native Windows doesn't.
86
+ - Optional: `git` for each project's recent changes, `gh` for its pull requests, and `rg` (ripgrep) for searching session transcripts.
87
+
88
+ ## Privacy
89
+
90
+ apo runs on your machine. There's no account and no telemetry. The dashboard listens only on 127.0.0.1 and keeps its data in a SQLite file in your data folder (`~/.local/share/apo` on Linux, `~/Library/Application Support/apo` on macOS).
91
+
92
+ It has no AI of its own and spends no tokens to run: everything it shows comes from Claude Code's hooks and its `claude agents` list. The one exception is the **Generate recap** button on a session's page: when you click it, it asks Claude Code (`claude -p`, a small model, through your own sign-in) to summarise that session's transcript.
93
+
94
+ It reaches the network only for what you turn on: Linear, if you connect it; GitHub pull requests, through `gh`, if it's installed; and the check an action request carries (a DNS record, a web page), when you mark that action done.
95
+
96
+ ## Settings
97
+
98
+ `apo init` saves its answers to `~/.config/apo/config.env` on Linux (`~/Library/Application Support/apo/config.env` on macOS). Any setting can also be set in the environment, which wins. [.env.example](https://github.com/ahron-maslin/apo/blob/main/.env.example) lists them: `APO_DASHBOARD_PORT`, `APO_DASHBOARD_AUTOSTART` (start the dashboard whenever a Claude Code session starts), `APO_PROJECTS_ROOT`, `APO_DB`, `APO_OFFLINE` and the Linear ones.
99
+
100
+ ## Uninstall
101
+
102
+ There's no `apo uninstall` yet. To remove apo by hand:
103
+
104
+ 1. `apo dashboard stop`
105
+ 2. `claude mcp remove apo --scope user`
106
+ 3. In `~/.claude/settings.json`, delete the hooks whose command ends in `apo session-…`, `apo checklist-item-…` or `session-decisions-nudge.sh`. `apo init` left a backup of the file as it was before, `settings.json.bak-<date>`.
107
+ 4. Delete `~/.claude/skills/decisions` (its `SKILL.md` says "Installed by apo").
108
+ 5. `pipx uninstall getapo`
109
+ 6. If you don't want the data: delete the data folder and `~/.config/apo`. Your repositories keep their `.claude/decisions/` folders, which you can delete too.
110
+
111
+ ## Development
112
+
113
+ ```
114
+ python -m venv .venv
115
+ .venv/bin/pip install -e ".[dev]"
116
+ .venv/bin/python -m pytest -m "not wheel"
117
+ ```
118
+
119
+ `-m "not wheel"` leaves out the slow test that builds the wheel and installs it in a fresh virtualenv. `apo dashboard start --dev` reloads when the code changes, and `scripts/preview.sh` runs your checkout as a second dashboard on a copy of your data.
120
+
121
+ ## Licence
122
+
123
+ MIT, see [LICENSE](LICENSE). The icons are Lucide's, under the ISC licence: [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md).
getapo-0.2.0/README.md ADDED
@@ -0,0 +1,80 @@
1
+ # apo
2
+
3
+ **AI Project Orchestration.** A local dashboard and MCP server for [Claude Code](https://claude.com/claude-code).
4
+
5
+ When a Claude Code agent needs you (a decision, something only you can do, work to review), it files a request with apo instead of stopping or waiting in a terminal you aren't looking at. You answer every project's requests from one queue in your browser. The answer is written into the project's repository, under `.claude/decisions/`, where the next session picks it up, even days later.
6
+
7
+ The dashboard also shows every Claude Code session you're running, across every project: what each one is doing, which ones are waiting on you, and the goals and tasks they're working through.
8
+
9
+ ![The Now page: everything waiting on you, across projects](https://getapo.pages.dev/img/now-light.webp)
10
+
11
+ Website: https://getapo.pages.dev/
12
+
13
+ ## Install
14
+
15
+ ```
16
+ pipx install getapo
17
+ apo init
18
+ ```
19
+
20
+ The package is called `getapo` on PyPI; it installs the `apo` command. `pip install getapo` works too, in a virtualenv of your own.
21
+
22
+ `apo init` asks where your projects live and whether to connect Linear (you can skip it), then sets up Claude Code for apo:
23
+
24
+ - registers the MCP server `apo` for your user (`claude mcp add apo --scope user`), so every session can file requests and is told when to;
25
+ - adds hooks to `~/.claude/settings.json` (it saves a backup first) that keep the dashboard up to date and hand answers back to the session that asked;
26
+ - copies the `/decisions` skill into `~/.claude/skills/decisions/`.
27
+
28
+ Running it again updates those entries in place instead of adding more. If `CLAUDE_CONFIG_DIR` is set, it sets up that Claude Code profile instead of `~/.claude`.
29
+
30
+ Then start a new Claude Code session in one of your project folders (sessions already running keep the tools they started with), and open the dashboard:
31
+
32
+ ```
33
+ apo dashboard
34
+ ```
35
+
36
+ It starts in the background and prints its address, http://127.0.0.1:8430 by default. `apo dashboard stop` stops it. The [user guide](https://github.com/ahron-maslin/apo/blob/main/docs/user-guide.md), also at `/guide` in the dashboard, explains the rest.
37
+
38
+ ## Requirements
39
+
40
+ - Python 3.10 or later.
41
+ - Claude Code, with `claude` on your PATH.
42
+ - Linux or macOS. WSL2 works; native Windows doesn't.
43
+ - Optional: `git` for each project's recent changes, `gh` for its pull requests, and `rg` (ripgrep) for searching session transcripts.
44
+
45
+ ## Privacy
46
+
47
+ apo runs on your machine. There's no account and no telemetry. The dashboard listens only on 127.0.0.1 and keeps its data in a SQLite file in your data folder (`~/.local/share/apo` on Linux, `~/Library/Application Support/apo` on macOS).
48
+
49
+ It has no AI of its own and spends no tokens to run: everything it shows comes from Claude Code's hooks and its `claude agents` list. The one exception is the **Generate recap** button on a session's page: when you click it, it asks Claude Code (`claude -p`, a small model, through your own sign-in) to summarise that session's transcript.
50
+
51
+ It reaches the network only for what you turn on: Linear, if you connect it; GitHub pull requests, through `gh`, if it's installed; and the check an action request carries (a DNS record, a web page), when you mark that action done.
52
+
53
+ ## Settings
54
+
55
+ `apo init` saves its answers to `~/.config/apo/config.env` on Linux (`~/Library/Application Support/apo/config.env` on macOS). Any setting can also be set in the environment, which wins. [.env.example](https://github.com/ahron-maslin/apo/blob/main/.env.example) lists them: `APO_DASHBOARD_PORT`, `APO_DASHBOARD_AUTOSTART` (start the dashboard whenever a Claude Code session starts), `APO_PROJECTS_ROOT`, `APO_DB`, `APO_OFFLINE` and the Linear ones.
56
+
57
+ ## Uninstall
58
+
59
+ There's no `apo uninstall` yet. To remove apo by hand:
60
+
61
+ 1. `apo dashboard stop`
62
+ 2. `claude mcp remove apo --scope user`
63
+ 3. In `~/.claude/settings.json`, delete the hooks whose command ends in `apo session-…`, `apo checklist-item-…` or `session-decisions-nudge.sh`. `apo init` left a backup of the file as it was before, `settings.json.bak-<date>`.
64
+ 4. Delete `~/.claude/skills/decisions` (its `SKILL.md` says "Installed by apo").
65
+ 5. `pipx uninstall getapo`
66
+ 6. If you don't want the data: delete the data folder and `~/.config/apo`. Your repositories keep their `.claude/decisions/` folders, which you can delete too.
67
+
68
+ ## Development
69
+
70
+ ```
71
+ python -m venv .venv
72
+ .venv/bin/pip install -e ".[dev]"
73
+ .venv/bin/python -m pytest -m "not wheel"
74
+ ```
75
+
76
+ `-m "not wheel"` leaves out the slow test that builds the wheel and installs it in a fresh virtualenv. `apo dashboard start --dev` reloads when the code changes, and `scripts/preview.sh` runs your checkout as a second dashboard on a copy of your data.
77
+
78
+ ## Licence
79
+
80
+ MIT, see [LICENSE](LICENSE). The icons are Lucide's, under the ISC licence: [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md).
@@ -0,0 +1,49 @@
1
+ # Third-party notices
2
+
3
+ The icons in `src/apo/web/templates/_icons.html` are from [Lucide](https://lucide.dev), some of them derived from [Feather](https://feathericons.com). Lucide's licence follows.
4
+
5
+ ```
6
+ ISC License
7
+
8
+ Copyright (c) 2026 Lucide Icons and Contributors
9
+
10
+ Permission to use, copy, modify, and/or distribute this software for any
11
+ purpose with or without fee is hereby granted, provided that the above
12
+ copyright notice and this permission notice appear in all copies.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
15
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
16
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
17
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
18
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
19
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
20
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
21
+
22
+ ---
23
+
24
+ The following Lucide icons are derived from the Feather project:
25
+
26
+ airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
27
+
28
+ The MIT License (MIT) (for the icons listed above)
29
+
30
+ Copyright (c) 2013-present Cole Bemis
31
+
32
+ Permission is hereby granted, free of charge, to any person obtaining a copy
33
+ of this software and associated documentation files (the "Software"), to deal
34
+ in the Software without restriction, including without limitation the rights
35
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
36
+ copies of the Software, and to permit persons to whom the Software is
37
+ furnished to do so, subject to the following conditions:
38
+
39
+ The above copyright notice and this permission notice shall be included in all
40
+ copies or substantial portions of the Software.
41
+
42
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
43
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
44
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
45
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
46
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
47
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
48
+ SOFTWARE.
49
+ ```
@@ -0,0 +1,71 @@
1
+ [build-system]
2
+ requires = ["setuptools>=77"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "getapo"
7
+ dynamic = ["version"]
8
+ description = "apo (AI Project Orchestration): a local dashboard and MCP server for Claude Code. Agents ask instead of stopping; you answer every project's questions from one queue."
9
+ readme = "README.md"
10
+ license = "MIT"
11
+ license-files = ["LICENSE", "THIRD_PARTY_NOTICES.md"]
12
+ requires-python = ">=3.10"
13
+ keywords = ["claude", "claude-code", "mcp", "agents", "dashboard", "human-in-the-loop"]
14
+ classifiers = [
15
+ "Development Status :: 3 - Alpha",
16
+ "Environment :: Console",
17
+ "Environment :: Web Environment",
18
+ "Framework :: FastAPI",
19
+ "Intended Audience :: Developers",
20
+ "Operating System :: MacOS",
21
+ "Operating System :: POSIX :: Linux",
22
+ "Programming Language :: Python :: 3",
23
+ "Programming Language :: Python :: 3 :: Only",
24
+ "Programming Language :: Python :: 3.10",
25
+ "Programming Language :: Python :: 3.11",
26
+ "Programming Language :: Python :: 3.12",
27
+ "Topic :: Software Development",
28
+ ]
29
+ dependencies = [
30
+ "fastapi>=0.139",
31
+ "uvicorn[standard]>=0.51",
32
+ "jinja2>=3.1",
33
+ "python-multipart>=0.0.32",
34
+ "mcp>=1.28,<2",
35
+ "cryptography>=49",
36
+ "markdown>=3.10",
37
+ "platformdirs>=4",
38
+ ]
39
+
40
+ [project.optional-dependencies]
41
+ dev = ["pytest>=9.1", "pytest-asyncio>=1.4", "httpx>=0.28", "websockets>=16", "build>=1.2", "setuptools>=77"]
42
+
43
+ [project.urls]
44
+ Homepage = "https://getapo.pages.dev/"
45
+ Source = "https://github.com/ahron-maslin/apo"
46
+ Issues = "https://github.com/ahron-maslin/apo/issues"
47
+
48
+ [project.scripts]
49
+ apo = "apo.cli:main"
50
+
51
+ [tool.setuptools.dynamic]
52
+ version = { attr = "apo.__version__" }
53
+
54
+ [tool.setuptools.packages.find]
55
+ where = ["src"]
56
+
57
+ [tool.setuptools.package-data]
58
+ apo = [
59
+ "resources/*.md",
60
+ "resources/skills/*/*.md",
61
+ "resources/hooks/*.sh",
62
+ "web/templates/*.html",
63
+ "web/static/*",
64
+ ]
65
+
66
+ [tool.pytest.ini_options]
67
+ asyncio_mode = "auto"
68
+ testpaths = ["tests"]
69
+ markers = [
70
+ "wheel: builds the wheel and installs it into a fresh virtualenv; slow, and needs PyPI for the dependencies (leave out with -m 'not wheel')",
71
+ ]
@@ -0,0 +1,3 @@
1
+ """apo (AI Project Orchestration): a local dashboard and MCP server for Claude Code."""
2
+
3
+ __version__ = "0.2.0"
@@ -0,0 +1,4 @@
1
+ from apo.cli import main
2
+
3
+ if __name__ == "__main__":
4
+ main()