puenteo 0.4.0__tar.gz → 0.4.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 (33) hide show
  1. {puenteo-0.4.0 → puenteo-0.4.2}/PKG-INFO +19 -11
  2. {puenteo-0.4.0 → puenteo-0.4.2}/README.md +18 -10
  3. {puenteo-0.4.0 → puenteo-0.4.2}/puenteo/bootstrap.py +9 -7
  4. {puenteo-0.4.0 → puenteo-0.4.2}/puenteo/cli.py +4 -4
  5. {puenteo-0.4.0 → puenteo-0.4.2}/puenteo/format.py +4 -2
  6. puenteo-0.4.2/puenteo/version.py +2 -0
  7. {puenteo-0.4.0 → puenteo-0.4.2}/puenteo.egg-info/PKG-INFO +19 -11
  8. {puenteo-0.4.0 → puenteo-0.4.2}/puenteo.egg-info/entry_points.txt +1 -0
  9. {puenteo-0.4.0 → puenteo-0.4.2}/pyproject.toml +2 -2
  10. puenteo-0.4.0/puenteo/version.py +0 -2
  11. {puenteo-0.4.0 → puenteo-0.4.2}/LICENSE +0 -0
  12. {puenteo-0.4.0 → puenteo-0.4.2}/puenteo/__init__.py +0 -0
  13. {puenteo-0.4.0 → puenteo-0.4.2}/puenteo/__main__.py +0 -0
  14. {puenteo-0.4.0 → puenteo-0.4.2}/puenteo/api.py +0 -0
  15. {puenteo-0.4.0 → puenteo-0.4.2}/puenteo/exporters.py +0 -0
  16. {puenteo-0.4.0 → puenteo-0.4.2}/puenteo/extract.py +0 -0
  17. {puenteo-0.4.0 → puenteo-0.4.2}/puenteo/models.py +0 -0
  18. {puenteo-0.4.0 → puenteo-0.4.2}/puenteo/providers/__init__.py +0 -0
  19. {puenteo-0.4.0 → puenteo-0.4.2}/puenteo/providers/claude.py +0 -0
  20. {puenteo-0.4.0 → puenteo-0.4.2}/puenteo/providers/codex.py +0 -0
  21. {puenteo-0.4.0 → puenteo-0.4.2}/puenteo/providers/grok.py +0 -0
  22. {puenteo-0.4.0 → puenteo-0.4.2}/puenteo/providers/pi.py +0 -0
  23. {puenteo-0.4.0 → puenteo-0.4.2}/puenteo/py.typed +0 -0
  24. {puenteo-0.4.0 → puenteo-0.4.2}/puenteo/rich.py +0 -0
  25. {puenteo-0.4.0 → puenteo-0.4.2}/puenteo/search.py +0 -0
  26. {puenteo-0.4.0 → puenteo-0.4.2}/puenteo/util.py +0 -0
  27. {puenteo-0.4.0 → puenteo-0.4.2}/puenteo.egg-info/SOURCES.txt +0 -0
  28. {puenteo-0.4.0 → puenteo-0.4.2}/puenteo.egg-info/dependency_links.txt +0 -0
  29. {puenteo-0.4.0 → puenteo-0.4.2}/puenteo.egg-info/requires.txt +0 -0
  30. {puenteo-0.4.0 → puenteo-0.4.2}/puenteo.egg-info/top_level.txt +0 -0
  31. {puenteo-0.4.0 → puenteo-0.4.2}/setup.cfg +0 -0
  32. {puenteo-0.4.0 → puenteo-0.4.2}/setup.py +0 -0
  33. {puenteo-0.4.0 → puenteo-0.4.2}/tests/test_smoke.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: puenteo
3
- Version: 0.4.0
3
+ Version: 0.4.2
4
4
  Summary: Puenteo — the bridge between coding agents. List, search, and export Claude/Codex/Grok/Pi sessions to md/html/pdf/json/zip (Python library + CLI).
5
5
  Author-email: mano7onam <mano7onamm@gmail.com>
6
6
  License: MIT
@@ -87,21 +87,29 @@ data, media_type, filename = puenteo.export_bytes("019f7a24", fmt="html")
87
87
 
88
88
  ## CLI
89
89
 
90
+ After `pip install puenteo` three commands point to the same CLI:
91
+
92
+ | Command | Notes |
93
+ |---------|--------|
94
+ | **`puenteo`** | main name |
95
+ | **`asb`** | short alias (Agent Session Bridge vibe) |
96
+ | **`pto`** | ultra-short |
97
+
90
98
  ```bash
91
- puenteo status
99
+ puenteo status # same as:
100
+ asb status
101
+ pto status
102
+
92
103
  puenteo list -n 20 --json
93
- puenteo list --provider claude,grok --cwd ~/dev/myapp
94
- puenteo show <id> --last 40
95
- puenteo search "topic" --json
96
- puenteo pull <id> --query "topic" --mode query --max-chars 8000
97
- puenteo export <id> -f md -o chat.md
104
+ asb list --provider claude,grok --cwd ~/dev/myapp
105
+ asb show <id> --last 40
106
+ asb search "topic" --json
107
+ asb pull <id> --query "topic" --mode query --max-chars 8000
108
+ asb export <id> -f md -o chat.md
98
109
  puenteo export <id> -f pdf -o chat.pdf
99
- puenteo export <id> -f html|json|zip|csv|xml|yaml -o
100
- puenteo export <id> -f all -o ./out/
110
+ asb export <id> -f all -o ./out/
101
111
  ```
102
112
 
103
- Short alias after install: `pto` (same as `puenteo`).
104
-
105
113
  `<id>` = full uuid, **prefix**, path, or unique title substring.
106
114
 
107
115
  ## Providers
@@ -52,21 +52,29 @@ data, media_type, filename = puenteo.export_bytes("019f7a24", fmt="html")
52
52
 
53
53
  ## CLI
54
54
 
55
+ After `pip install puenteo` three commands point to the same CLI:
56
+
57
+ | Command | Notes |
58
+ |---------|--------|
59
+ | **`puenteo`** | main name |
60
+ | **`asb`** | short alias (Agent Session Bridge vibe) |
61
+ | **`pto`** | ultra-short |
62
+
55
63
  ```bash
56
- puenteo status
64
+ puenteo status # same as:
65
+ asb status
66
+ pto status
67
+
57
68
  puenteo list -n 20 --json
58
- puenteo list --provider claude,grok --cwd ~/dev/myapp
59
- puenteo show <id> --last 40
60
- puenteo search "topic" --json
61
- puenteo pull <id> --query "topic" --mode query --max-chars 8000
62
- puenteo export <id> -f md -o chat.md
69
+ asb list --provider claude,grok --cwd ~/dev/myapp
70
+ asb show <id> --last 40
71
+ asb search "topic" --json
72
+ asb pull <id> --query "topic" --mode query --max-chars 8000
73
+ asb export <id> -f md -o chat.md
63
74
  puenteo export <id> -f pdf -o chat.pdf
64
- puenteo export <id> -f html|json|zip|csv|xml|yaml -o
65
- puenteo export <id> -f all -o ./out/
75
+ asb export <id> -f all -o ./out/
66
76
  ```
67
77
 
68
- Short alias after install: `pto` (same as `puenteo`).
69
-
70
78
  `<id>` = full uuid, **prefix**, path, or unique title substring.
71
79
 
72
80
  ## Providers
@@ -55,19 +55,20 @@ def discover_roots() -> List[Path]:
55
55
 
56
56
 
57
57
  def which_puenteo() -> Optional[str]:
58
- """Path to ``puenteo`` CLI if available (PATH or local venv)."""
59
- for name in ("puenteo", "pto"):
58
+ """Path to ``puenteo`` / ``asb`` CLI if available (PATH or local venv)."""
59
+ for name in ("puenteo", "asb", "pto"):
60
60
  found = shutil.which(name)
61
61
  if found:
62
62
  return found
63
63
  for root in discover_roots():
64
- for rel in (".venv/bin/puenteo", ".venv/bin/pto", "puenteo"):
64
+ for rel in (".venv/bin/puenteo", ".venv/bin/asb", ".venv/bin/pto", "puenteo", "asb"):
65
65
  cand = root / rel
66
66
  if cand.is_file() and os.access(cand, os.X_OK):
67
67
  return str(cand)
68
- local = Path.home() / ".local" / "bin" / "puenteo"
69
- if local.is_file() and os.access(local, os.X_OK):
70
- return str(local)
68
+ for name in ("puenteo", "asb", "pto"):
69
+ local = Path.home() / ".local" / "bin" / name
70
+ if local.is_file() and os.access(local, os.X_OK):
71
+ return str(local)
71
72
  return None
72
73
 
73
74
 
@@ -82,10 +83,11 @@ def puenteo_cli_hint() -> dict:
82
83
  return {
83
84
  "package": "puenteo",
84
85
  "cli": "puenteo",
86
+ "cli_aliases": ["puenteo", "asb", "pto"],
85
87
  "path": root,
86
88
  "binary": which_puenteo(),
87
89
  "docs": (
88
- "Use `puenteo list|search|pull|export` for cross-agent context. "
90
+ "Use `puenteo` or `asb` for list|search|pull|export. "
89
91
  "Terminal Dashboard uses the same library for chat export."
90
92
  ),
91
93
  "github": "https://github.com/mano7onam/puenteo",
@@ -357,10 +357,10 @@ def cmd_status(*, json_mode: bool = False) -> int:
357
357
  print("Export formats:", ", ".join(SUPPORTED_FORMATS))
358
358
  print()
359
359
  print("Commands:")
360
- print(" puenteo list --json")
361
- print(" puenteo search 'topic' --json")
362
- print(" puenteo pull <id> --query 'topic' --mode query")
363
- print(" puenteo export <id> -f md|html|pdf|json|zip|csv|xml|yaml|all -o out")
360
+ print(" puenteo list --json # same as: asb list --json")
361
+ print(" asb search 'topic' --json")
362
+ print(" asb pull <id> --query 'topic' --mode query")
363
+ print(" asb export <id> -f md|html|pdf|json|zip|csv|xml|yaml|all -o out")
364
364
  return 0
365
365
 
366
366
 
@@ -39,7 +39,9 @@ def format_session_list(sessions: List[Session], *, json_mode: bool = False) ->
39
39
  for s in sessions:
40
40
  lines.append(session_row(s))
41
41
  lines.append("")
42
- lines.append(f"{len(sessions)} session(s). Use: puenteo show <id> | puenteo pull <id> --query '…'")
42
+ lines.append(
43
+ f"{len(sessions)} session(s). Use: asb show <id> | asb pull <id> --query '…' (or puenteo …)"
44
+ )
43
45
  return "\n".join(lines)
44
46
 
45
47
 
@@ -153,7 +155,7 @@ def format_hits(hits: List[Hit], *, json_mode: bool = False) -> str:
153
155
  lines.append(f" cwd: {h.session.cwd or '—'}")
154
156
  lines.append(f" {h.snippet}")
155
157
  lines.append("")
156
- lines.append("Pull one: puenteo pull <session_id> --query '…' --mode query")
158
+ lines.append("Pull one: asb pull <session_id> --query '…' --mode query (or puenteo pull …)")
157
159
  return "\n".join(lines)
158
160
 
159
161
 
@@ -0,0 +1,2 @@
1
+ __version__ = "0.4.2"
2
+ APP_NAME = "Puenteo"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: puenteo
3
- Version: 0.4.0
3
+ Version: 0.4.2
4
4
  Summary: Puenteo — the bridge between coding agents. List, search, and export Claude/Codex/Grok/Pi sessions to md/html/pdf/json/zip (Python library + CLI).
5
5
  Author-email: mano7onam <mano7onamm@gmail.com>
6
6
  License: MIT
@@ -87,21 +87,29 @@ data, media_type, filename = puenteo.export_bytes("019f7a24", fmt="html")
87
87
 
88
88
  ## CLI
89
89
 
90
+ After `pip install puenteo` three commands point to the same CLI:
91
+
92
+ | Command | Notes |
93
+ |---------|--------|
94
+ | **`puenteo`** | main name |
95
+ | **`asb`** | short alias (Agent Session Bridge vibe) |
96
+ | **`pto`** | ultra-short |
97
+
90
98
  ```bash
91
- puenteo status
99
+ puenteo status # same as:
100
+ asb status
101
+ pto status
102
+
92
103
  puenteo list -n 20 --json
93
- puenteo list --provider claude,grok --cwd ~/dev/myapp
94
- puenteo show <id> --last 40
95
- puenteo search "topic" --json
96
- puenteo pull <id> --query "topic" --mode query --max-chars 8000
97
- puenteo export <id> -f md -o chat.md
104
+ asb list --provider claude,grok --cwd ~/dev/myapp
105
+ asb show <id> --last 40
106
+ asb search "topic" --json
107
+ asb pull <id> --query "topic" --mode query --max-chars 8000
108
+ asb export <id> -f md -o chat.md
98
109
  puenteo export <id> -f pdf -o chat.pdf
99
- puenteo export <id> -f html|json|zip|csv|xml|yaml -o
100
- puenteo export <id> -f all -o ./out/
110
+ asb export <id> -f all -o ./out/
101
111
  ```
102
112
 
103
- Short alias after install: `pto` (same as `puenteo`).
104
-
105
113
  `<id>` = full uuid, **prefix**, path, or unique title substring.
106
114
 
107
115
  ## Providers
@@ -1,3 +1,4 @@
1
1
  [console_scripts]
2
+ asb = puenteo.cli:main
2
3
  pto = puenteo.cli:main
3
4
  puenteo = puenteo.cli:main
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "puenteo"
7
- version = "0.4.0"
7
+ version = "0.4.2"
8
8
  description = "Puenteo — the bridge between coding agents. List, search, and export Claude/Codex/Grok/Pi sessions to md/html/pdf/json/zip (Python library + CLI)."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
@@ -55,7 +55,7 @@ Changelog = "https://github.com/mano7onam/puenteo/releases"
55
55
 
56
56
  [project.scripts]
57
57
  puenteo = "puenteo.cli:main"
58
- # short alias
58
+ asb = "puenteo.cli:main"
59
59
  pto = "puenteo.cli:main"
60
60
 
61
61
  [tool.setuptools.packages.find]
@@ -1,2 +0,0 @@
1
- __version__ = "0.4.0"
2
- APP_NAME = "Puenteo"
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