swarph-cli 0.7.7__tar.gz → 0.7.9__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 (45) hide show
  1. {swarph_cli-0.7.7/src/swarph_cli.egg-info → swarph_cli-0.7.9}/PKG-INFO +2 -2
  2. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/pyproject.toml +2 -2
  3. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/src/swarph_cli/__init__.py +1 -1
  4. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/src/swarph_cli/commands/chat.py +9 -2
  5. {swarph_cli-0.7.7 → swarph_cli-0.7.9/src/swarph_cli.egg-info}/PKG-INFO +2 -2
  6. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/LICENSE +0 -0
  7. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/README.md +0 -0
  8. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/setup.cfg +0 -0
  9. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/src/swarph_cli/caller.py +0 -0
  10. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/src/swarph_cli/cell.py +0 -0
  11. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/src/swarph_cli/commands/__init__.py +0 -0
  12. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/src/swarph_cli/commands/daemon.py +0 -0
  13. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/src/swarph_cli/commands/hook_output.py +0 -0
  14. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/src/swarph_cli/commands/import_session.py +0 -0
  15. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/src/swarph_cli/commands/install_hook.py +0 -0
  16. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/src/swarph_cli/commands/onboard.py +0 -0
  17. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/src/swarph_cli/commands/ratify.py +0 -0
  18. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/src/swarph_cli/commands/spawn.py +0 -0
  19. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/src/swarph_cli/commands/watchdog.py +0 -0
  20. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/src/swarph_cli/main.py +0 -0
  21. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/src/swarph_cli/parsers/__init__.py +0 -0
  22. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/src/swarph_cli/parsers/claude.py +0 -0
  23. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/src/swarph_cli/systemd/swarph-watchdog.default +0 -0
  24. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/src/swarph_cli/systemd/swarph-watchdog.service +0 -0
  25. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/src/swarph_cli/systemd/swarph-watchdog.timer +0 -0
  26. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/src/swarph_cli.egg-info/SOURCES.txt +0 -0
  27. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/src/swarph_cli.egg-info/dependency_links.txt +0 -0
  28. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/src/swarph_cli.egg-info/entry_points.txt +0 -0
  29. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/src/swarph_cli.egg-info/requires.txt +0 -0
  30. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/src/swarph_cli.egg-info/top_level.txt +0 -0
  31. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/tests/test_cell_loader.py +0 -0
  32. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/tests/test_chat_command.py +0 -0
  33. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/tests/test_claude_parser.py +0 -0
  34. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/tests/test_daemon_command.py +0 -0
  35. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/tests/test_hook_output.py +0 -0
  36. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/tests/test_import_command.py +0 -0
  37. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/tests/test_install_hook.py +0 -0
  38. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/tests/test_main.py +0 -0
  39. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/tests/test_onboard_command.py +0 -0
  40. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/tests/test_ratify_command.py +0 -0
  41. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/tests/test_smoke_chat.py +0 -0
  42. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/tests/test_smoke_one_shot.py +0 -0
  43. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/tests/test_smoke_phase_5_5.py +0 -0
  44. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/tests/test_spawn_command.py +0 -0
  45. {swarph_cli-0.7.7 → swarph_cli-0.7.9}/tests/test_watchdog.py +0 -0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: swarph-cli
3
- Version: 0.7.7
4
- Summary: The `swarph` binary — multi-LLM CLI with mesh-gateway integration. v0.7.0 ships Phase 7 substrate-doc R7 §11.1.7 operator-tooling layer in 5 increments: PR-A `--new-instance` flag (sibling-spawn case) + PR-B auto-suffix on collision (sibling-slot persistence) + PR-C SessionStart hook (closes bare-claude operator-paste gap) + watchdog (stranded-session recovery) + PR-D swarph-shared cell.yaml relocation (cell-yaml schema graduates to swarph-shared 0.3.0 kernel-tier; substrate-doc R7 §11.1.5 (O5) RESOLVED).
3
+ Version: 0.7.9
4
+ Summary: The `swarph` binary — multi-LLM CLI with mesh-gateway integration: one-shot + chat REPL, multi-provider routing (gemini/claude/deepseek/openai/grok), cell.yaml spawn, session import, and watchdog. v0.7.9 reverts the v0.7.8 pyreadline3 dependency + chat-REPL shim: the Windows 'Enter renders m' symptom traced to Claude Code's own native-Windows TUI (no hooks, recent build, fails at the trust prompt — Anthropic-side), NOT this REPL, so the shim addressed the wrong layer. Bare input() + a CR-strip guard remain.
5
5
  Author: Pierre Samson, Claude Opus
6
6
  License: MIT
7
7
  Project-URL: Homepage, https://github.com/darw007d/swarph-cli
@@ -4,8 +4,8 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "swarph-cli"
7
- version = "0.7.7"
8
- description = "The `swarph` binary — multi-LLM CLI with mesh-gateway integration. v0.7.0 ships Phase 7 substrate-doc R7 §11.1.7 operator-tooling layer in 5 increments: PR-A `--new-instance` flag (sibling-spawn case) + PR-B auto-suffix on collision (sibling-slot persistence) + PR-C SessionStart hook (closes bare-claude operator-paste gap) + watchdog (stranded-session recovery) + PR-D swarph-shared cell.yaml relocation (cell-yaml schema graduates to swarph-shared 0.3.0 kernel-tier; substrate-doc R7 §11.1.5 (O5) RESOLVED)."
7
+ version = "0.7.9"
8
+ description = "The `swarph` binary — multi-LLM CLI with mesh-gateway integration: one-shot + chat REPL, multi-provider routing (gemini/claude/deepseek/openai/grok), cell.yaml spawn, session import, and watchdog. v0.7.9 reverts the v0.7.8 pyreadline3 dependency + chat-REPL shim: the Windows 'Enter renders m' symptom traced to Claude Code's own native-Windows TUI (no hooks, recent build, fails at the trust prompt — Anthropic-side), NOT this REPL, so the shim addressed the wrong layer. Bare input() + a CR-strip guard remain."
9
9
  readme = "README.md"
10
10
  license = { text = "MIT" }
11
11
  requires-python = ">=3.10"
@@ -16,6 +16,6 @@ The architecture splits CLI from substrate so:
16
16
 
17
17
  from __future__ import annotations
18
18
 
19
- __version__ = "0.7.7"
19
+ __version__ = "0.7.9"
20
20
 
21
21
  __all__ = ["__version__"]
@@ -141,12 +141,19 @@ def _print(msg: str = "", *, file=None) -> None:
141
141
  def _read_line(prompt: str) -> str:
142
142
  """Single-line input. Tests monkeypatch this to inject scripted
143
143
  input. Production uses stdlib ``input()`` — readline is auto-loaded
144
- by import-time on POSIX, giving line editing + history for free."""
144
+ at import-time on POSIX, giving line editing + history for free.
145
+
146
+ NB: do NOT re-add a ``pyreadline3`` shim here. v0.7.8 tried that to fix
147
+ a Windows "Enter renders 'm'" report, but that symptom traced to Claude
148
+ Code's OWN TUI on native Windows (no hooks, recent version, fails at the
149
+ trust prompt — Anthropic-side), NOT this REPL. Bare ``input()`` is clean
150
+ on the Windows console; the ``rstrip`` is a harmless CR guard. v0.7.9
151
+ reverted the pyreadline3 dep + shim."""
145
152
  try:
146
153
  import readline # noqa: F401 — side-effect-only on POSIX
147
154
  except ImportError:
148
155
  pass # Windows / minimal builds; raw input still works
149
- return input(prompt)
156
+ return input(prompt).rstrip("\r\n")
150
157
 
151
158
 
152
159
  def _format_attribution(
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: swarph-cli
3
- Version: 0.7.7
4
- Summary: The `swarph` binary — multi-LLM CLI with mesh-gateway integration. v0.7.0 ships Phase 7 substrate-doc R7 §11.1.7 operator-tooling layer in 5 increments: PR-A `--new-instance` flag (sibling-spawn case) + PR-B auto-suffix on collision (sibling-slot persistence) + PR-C SessionStart hook (closes bare-claude operator-paste gap) + watchdog (stranded-session recovery) + PR-D swarph-shared cell.yaml relocation (cell-yaml schema graduates to swarph-shared 0.3.0 kernel-tier; substrate-doc R7 §11.1.5 (O5) RESOLVED).
3
+ Version: 0.7.9
4
+ Summary: The `swarph` binary — multi-LLM CLI with mesh-gateway integration: one-shot + chat REPL, multi-provider routing (gemini/claude/deepseek/openai/grok), cell.yaml spawn, session import, and watchdog. v0.7.9 reverts the v0.7.8 pyreadline3 dependency + chat-REPL shim: the Windows 'Enter renders m' symptom traced to Claude Code's own native-Windows TUI (no hooks, recent build, fails at the trust prompt — Anthropic-side), NOT this REPL, so the shim addressed the wrong layer. Bare input() + a CR-strip guard remain.
5
5
  Author: Pierre Samson, Claude Opus
6
6
  License: MIT
7
7
  Project-URL: Homepage, https://github.com/darw007d/swarph-cli
File without changes
File without changes
File without changes