tycho-cli 0.0.1__tar.gz → 0.0.2__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 (68) hide show
  1. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/.gitignore +3 -0
  2. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/PKG-INFO +1 -1
  3. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tycho/__init__.py +1 -1
  4. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tycho/status.py +4 -0
  5. tycho_cli-0.0.2/tycho-target.ps1.example +19 -0
  6. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/.github/workflows/ci.yml +0 -0
  7. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/.github/workflows/release.yml +0 -0
  8. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/.tycho.toml +0 -0
  9. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/CONTRIBUTING.md +0 -0
  10. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/LICENSE +0 -0
  11. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/README.md +0 -0
  12. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/docs/bundler-spike.md +0 -0
  13. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/docs/harness-support.md +0 -0
  14. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/docs/hooks.md +0 -0
  15. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/docs/transcript-structures.md +0 -0
  16. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/docs/tycho-web.md +0 -0
  17. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/packaging/homebrew/tycho.rb +0 -0
  18. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/packaging/npm/bin/tycho.js +0 -0
  19. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/packaging/npm/package.json +0 -0
  20. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/pyproject.toml +0 -0
  21. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tests/conftest.py +0 -0
  22. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tests/fixtures/codex_transcript_sample.jsonl +0 -0
  23. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tests/fixtures/cursor_stop_payload.json +0 -0
  24. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tests/fixtures/cursor_transcript_sample.jsonl +0 -0
  25. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tests/fixtures/eval/claude_masked_red_suite.jsonl +0 -0
  26. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tests/fixtures/eval/codex_masked_red_suite.jsonl +0 -0
  27. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tests/fixtures/eval/cursor_masked_red_suite.jsonl +0 -0
  28. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tests/fixtures/eval/opencode_masked_red_suite.json +0 -0
  29. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tests/fixtures/opencode_transcript_sample.json +0 -0
  30. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tests/fixtures/transcript_multiturn.jsonl +0 -0
  31. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tests/fixtures/transcript_sample.jsonl +0 -0
  32. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tests/test_count.py +0 -0
  33. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tests/test_doctor.py +0 -0
  34. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tests/test_e2e_install.py +0 -0
  35. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tests/test_eval.py +0 -0
  36. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tests/test_init_safety.py +0 -0
  37. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tests/test_m1.py +0 -0
  38. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tests/test_m2.py +0 -0
  39. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tests/test_m3.py +0 -0
  40. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tests/test_m4.py +0 -0
  41. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tests/test_m5.py +0 -0
  42. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tests/test_m6.py +0 -0
  43. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tests/test_relay.py +0 -0
  44. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tests/test_scope.py +0 -0
  45. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tests/test_smoke.py +0 -0
  46. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tests/test_status.py +0 -0
  47. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tests/test_turn_scope.py +0 -0
  48. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tests/test_update.py +0 -0
  49. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tycho/__main__.py +0 -0
  50. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tycho/astdiff.py +0 -0
  51. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tycho/checks.py +0 -0
  52. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tycho/cli.py +0 -0
  53. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tycho/config.py +0 -0
  54. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tycho/doctor.py +0 -0
  55. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tycho/events.py +0 -0
  56. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tycho/fsstate.py +0 -0
  57. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tycho/gitstate.py +0 -0
  58. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tycho/harness.py +0 -0
  59. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tycho/hook.py +0 -0
  60. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tycho/init.py +0 -0
  61. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tycho/model.py +0 -0
  62. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tycho/opencode.py +0 -0
  63. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tycho/report.py +0 -0
  64. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tycho/runlog.py +0 -0
  65. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tycho/state.py +0 -0
  66. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tycho/verify.py +0 -0
  67. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/tycho/version.py +0 -0
  68. {tycho_cli-0.0.1 → tycho_cli-0.0.2}/uv.lock +0 -0
@@ -234,3 +234,6 @@ __marimo__/
234
234
  .private/
235
235
  /CLAUDE.md
236
236
  /AGENTS.md
237
+
238
+ # Local dev toggle (per-machine paths); commit tycho-target.ps1.example instead.
239
+ /tycho-target.ps1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tycho-cli
3
- Version: 0.0.1
3
+ Version: 0.0.2
4
4
  Summary: Tycho — a free, offline, open-source local verifier that proves an AI agent actually did what it claims, from git, the filesystem, process exit codes, and the harness event stream. No account, no LLM in the trust path.
5
5
  Project-URL: Homepage, https://swail.dev/tycho
6
6
  Project-URL: Repository, https://github.com/swail-labs/tycho
@@ -6,4 +6,4 @@ trust path. Free, open source (Apache 2.0), offline, no account needed.
6
6
  """
7
7
 
8
8
  # Alpha. Bumped to 0.1.0 for the first public release (TYCHO-10).
9
- __version__ = "0.0.1"
9
+ __version__ = "0.0.2"
@@ -76,9 +76,13 @@ def line(repo: Path) -> str:
76
76
  return _paint(_VERDICT_COLOUR.get(verdict, _GREY), "[TYCHO]")
77
77
 
78
78
 
79
+ _PURPLE = _rgb(170, 120, 240) # TYCHO-108: temporary — remove before 0.1.0
80
+
81
+
79
82
  def _paint(colour: str, text: str) -> str:
80
83
  if os.environ.get("NO_COLOR"):
81
84
  return text
85
+ colour = _PURPLE # ponytail: TYCHO-108 temporary override — always purple, to make the 0.0.2 update visible
82
86
  return f"{colour}{text}{_RESET}"
83
87
 
84
88
 
@@ -0,0 +1,19 @@
1
+ # Toggle tycho hooks/statusline between local editable venv and global uv-tool release.
2
+ # Copy to tycho-target.ps1 (gitignored) and run from the repo root.
3
+ # Usage: .\tycho-target.ps1 (flips) | .\tycho-target.ps1 local | .\tycho-target.ps1 release
4
+ $settings = Join-Path $PSScriptRoot ".claude\settings.json"
5
+ $local = (Join-Path $PSScriptRoot ".venv\Scripts\tycho.EXE").Replace("\", "/")
6
+ $release = (Join-Path $HOME ".local\bin\tycho.exe").Replace("\", "/")
7
+
8
+ $text = Get-Content $settings -Raw
9
+ $isLocal = $text.Contains($local)
10
+ $want = $args[0]
11
+ if (-not $want) { $want = if ($isLocal) { "release" } else { "local" } }
12
+
13
+ switch ($want) {
14
+ "local" { $text = $text.Replace($release, $local) }
15
+ "release" { $text = $text.Replace($local, $release) }
16
+ default { Write-Host "arg must be 'local' or 'release'"; exit 1 }
17
+ }
18
+ Set-Content $settings $text -Encoding utf8 -NoNewline
19
+ Write-Host "tycho -> $want"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes