moment-cli 2.6.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 (37) hide show
  1. moment_cli-2.6.0/PKG-INFO +36 -0
  2. moment_cli-2.6.0/README.md +14 -0
  3. moment_cli-2.6.0/moment_cli/__init__.py +11 -0
  4. moment_cli-2.6.0/moment_cli/__main__.py +5 -0
  5. moment_cli-2.6.0/moment_cli/api.py +666 -0
  6. moment_cli-2.6.0/moment_cli/campaign.py +1141 -0
  7. moment_cli-2.6.0/moment_cli/cli.py +5108 -0
  8. moment_cli-2.6.0/moment_cli/close_out.py +176 -0
  9. moment_cli-2.6.0/moment_cli/config.py +772 -0
  10. moment_cli-2.6.0/moment_cli/display.py +1179 -0
  11. moment_cli-2.6.0/moment_cli/doctor.py +267 -0
  12. moment_cli-2.6.0/moment_cli/hooks.py +575 -0
  13. moment_cli-2.6.0/moment_cli/human_auth.py +262 -0
  14. moment_cli-2.6.0/moment_cli/team.py +212 -0
  15. moment_cli-2.6.0/moment_cli.egg-info/PKG-INFO +36 -0
  16. moment_cli-2.6.0/moment_cli.egg-info/SOURCES.txt +35 -0
  17. moment_cli-2.6.0/moment_cli.egg-info/dependency_links.txt +1 -0
  18. moment_cli-2.6.0/moment_cli.egg-info/entry_points.txt +2 -0
  19. moment_cli-2.6.0/moment_cli.egg-info/requires.txt +4 -0
  20. moment_cli-2.6.0/moment_cli.egg-info/top_level.txt +1 -0
  21. moment_cli-2.6.0/pyproject.toml +34 -0
  22. moment_cli-2.6.0/setup.cfg +4 -0
  23. moment_cli-2.6.0/tests/test_agent_ergonomics.py +431 -0
  24. moment_cli-2.6.0/tests/test_campaign_cli.py +937 -0
  25. moment_cli-2.6.0/tests/test_close_out.py +329 -0
  26. moment_cli-2.6.0/tests/test_doctor.py +412 -0
  27. moment_cli-2.6.0/tests/test_event_readiness.py +192 -0
  28. moment_cli-2.6.0/tests/test_falsifiers.py +129 -0
  29. moment_cli-2.6.0/tests/test_github_connector.py +424 -0
  30. moment_cli-2.6.0/tests/test_ingest_pdf.py +69 -0
  31. moment_cli-2.6.0/tests/test_orient_render.py +427 -0
  32. moment_cli-2.6.0/tests/test_project_bindings.py +321 -0
  33. moment_cli-2.6.0/tests/test_security.py +193 -0
  34. moment_cli-2.6.0/tests/test_status_cli.py +268 -0
  35. moment_cli-2.6.0/tests/test_stop_hook.py +216 -0
  36. moment_cli-2.6.0/tests/test_team_cli.py +179 -0
  37. moment_cli-2.6.0/tests/test_vocabulary.py +131 -0
@@ -0,0 +1,36 @@
1
+ Metadata-Version: 2.4
2
+ Name: moment-cli
3
+ Version: 2.6.0
4
+ Summary: Moment research agent CLI
5
+ License-Expression: MIT
6
+ Project-URL: Homepage, https://scientificintelligence.org
7
+ Project-URL: Documentation, https://scientificintelligence.org/developers
8
+ Project-URL: Repository, https://github.com/blaiszik/moment-agent-kit
9
+ Keywords: research,agents,context,cli
10
+ Classifier: Environment :: Console
11
+ Classifier: Operating System :: OS Independent
12
+ Classifier: Programming Language :: Python :: 3.10
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Requires-Python: >=3.10
17
+ Description-Content-Type: text/markdown
18
+ Requires-Dist: typer>=0.9.0
19
+ Requires-Dist: rich>=13.0.0
20
+ Requires-Dist: httpx>=0.24.0
21
+ Requires-Dist: pypdf>=4.0.0
22
+
23
+ # Moment CLI
24
+
25
+ Moment CLI connects research agents to projects in the lab. It lets a person sign in, attach a repository, render the current brief, and leave durable context behind.
26
+
27
+ ```bash
28
+ uv tool install "git+https://github.com/blaiszik/moment-agent-kit#subdirectory=cli"
29
+ moment onboard -p <projectId>
30
+ ```
31
+
32
+ No [uv](https://docs.astral.sh/uv/getting-started/installation/)? `pipx install "git+https://github.com/blaiszik/moment-agent-kit#subdirectory=cli"` works the same way, and `python3 -m pip install --user` with the same address works where neither is available. From a clone of the kit, `uv tool install ./cli` does the same. The CLI is not on PyPI yet (see RELEASING.md).
33
+
34
+ `moment onboard` signs you in through the browser the first time, binds the current repository to the project, seeds useful repository context, updates the agent instructions, and installs supported ambient-capture hooks.
35
+
36
+ Run `moment orient` at the start of a session to render the project's current brief and next steps.
@@ -0,0 +1,14 @@
1
+ # Moment CLI
2
+
3
+ Moment CLI connects research agents to projects in the lab. It lets a person sign in, attach a repository, render the current brief, and leave durable context behind.
4
+
5
+ ```bash
6
+ uv tool install "git+https://github.com/blaiszik/moment-agent-kit#subdirectory=cli"
7
+ moment onboard -p <projectId>
8
+ ```
9
+
10
+ No [uv](https://docs.astral.sh/uv/getting-started/installation/)? `pipx install "git+https://github.com/blaiszik/moment-agent-kit#subdirectory=cli"` works the same way, and `python3 -m pip install --user` with the same address works where neither is available. From a clone of the kit, `uv tool install ./cli` does the same. The CLI is not on PyPI yet (see RELEASING.md).
11
+
12
+ `moment onboard` signs you in through the browser the first time, binds the current repository to the project, seeds useful repository context, updates the agent instructions, and installs supported ambient-capture hooks.
13
+
14
+ Run `moment orient` at the start of a session to render the project's current brief and next steps.
@@ -0,0 +1,11 @@
1
+ """Moment research agent CLI."""
2
+
3
+ from importlib.metadata import PackageNotFoundError, version
4
+
5
+ PACKAGE_NAME = "moment-cli"
6
+
7
+ try:
8
+ __version__ = version(PACKAGE_NAME)
9
+ except PackageNotFoundError:
10
+ # Source checkouts are importable before the distribution is installed.
11
+ __version__ = "2.6.0"
@@ -0,0 +1,5 @@
1
+ """Entry point for `python -m moment_cli`."""
2
+
3
+ from moment_cli.cli import app
4
+
5
+ app()