ccmd 2.0.6__tar.gz → 2.0.7__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 (55) hide show
  1. {ccmd-2.0.6/ccmd.egg-info → ccmd-2.0.7}/PKG-INFO +1 -1
  2. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/__init__.py +1 -1
  3. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/core/shell_cmds.py +17 -12
  4. {ccmd-2.0.6 → ccmd-2.0.7/ccmd.egg-info}/PKG-INFO +1 -1
  5. {ccmd-2.0.6 → ccmd-2.0.7}/pyproject.toml +1 -1
  6. {ccmd-2.0.6 → ccmd-2.0.7}/LICENSE +0 -0
  7. {ccmd-2.0.6 → ccmd-2.0.7}/MANIFEST.in +0 -0
  8. {ccmd-2.0.6 → ccmd-2.0.7}/README.md +0 -0
  9. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/__main__.py +0 -0
  10. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/cli.py +0 -0
  11. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/config/__init__.py +0 -0
  12. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/config/paths.py +0 -0
  13. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/config/schema.py +0 -0
  14. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/core/__init__.py +0 -0
  15. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/core/agents/__init__.py +0 -0
  16. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/core/agents/aider.py +0 -0
  17. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/core/agents/base.py +0 -0
  18. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/core/agents/chatgpt.py +0 -0
  19. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/core/agents/claude.py +0 -0
  20. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/core/agents/codex.py +0 -0
  21. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/core/agents/cursor.py +0 -0
  22. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/core/agents/goose.py +0 -0
  23. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/core/agents/grok.py +0 -0
  24. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/core/fs.py +0 -0
  25. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/core/launcher.py +0 -0
  26. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/core/migrate.py +0 -0
  27. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/core/profiles.py +0 -0
  28. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/core/projects.py +0 -0
  29. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/core/scan.py +0 -0
  30. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/core/sessions.py +0 -0
  31. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/core/ssh.py +0 -0
  32. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/mcp/__init__.py +0 -0
  33. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/mcp/server.py +0 -0
  34. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/tui/__init__.py +0 -0
  35. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/tui/app.py +0 -0
  36. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/tui/ascii.py +0 -0
  37. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/tui/screens/__init__.py +0 -0
  38. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/tui/screens/agents.py +0 -0
  39. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/tui/screens/aliases.py +0 -0
  40. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/tui/screens/browser.py +0 -0
  41. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/tui/screens/hub.py +0 -0
  42. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/tui/screens/project_edit.py +0 -0
  43. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/tui/screens/sessions.py +0 -0
  44. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/tui/screens/ssh.py +0 -0
  45. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/tui/theme.py +0 -0
  46. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/tui/widgets/__init__.py +0 -0
  47. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd/tui/widgets/spinner.py +0 -0
  48. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd.egg-info/SOURCES.txt +0 -0
  49. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd.egg-info/dependency_links.txt +0 -0
  50. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd.egg-info/entry_points.txt +0 -0
  51. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd.egg-info/requires.txt +0 -0
  52. {ccmd-2.0.6 → ccmd-2.0.7}/ccmd.egg-info/top_level.txt +0 -0
  53. {ccmd-2.0.6 → ccmd-2.0.7}/commands.yaml +0 -0
  54. {ccmd-2.0.6 → ccmd-2.0.7}/requirements.txt +0 -0
  55. {ccmd-2.0.6 → ccmd-2.0.7}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ccmd
3
- Version: 2.0.6
3
+ Version: 2.0.7
4
4
  Summary: ccmd — Agentic Project Hub. Pick a project, pick an agent, launch.
5
5
  Author-email: De Catalyst <Robert5560newton@gmail.com>
6
6
  License: MIT
@@ -1,4 +1,4 @@
1
1
  """ccmd 2.0 — Agentic Project Hub."""
2
2
 
3
- __version__ = "2.0.6"
3
+ __version__ = "2.0.7"
4
4
  __all__ = ["__version__"]
@@ -128,26 +128,31 @@ def shell_cmds_path() -> Path:
128
128
 
129
129
 
130
130
  def short_candidates(project_id: str, name: str) -> list[str]:
131
- """Generate preferred short-name candidates for a project."""
131
+ """Generate preferred short-name candidates for a project.
132
+
133
+ Prefer snappy 3–4 letter names (ana, flo) before the full slug.
134
+ """
132
135
  raw = re.sub(r"[^a-z0-9]+", "", (project_id or name).lower())
133
136
  if not raw:
134
137
  raw = "proj"
135
138
  cands: list[str] = []
136
- # full slug if short enough
137
- if 2 <= len(raw) <= 12:
138
- cands.append(raw)
139
- # progressive prefixes: ana, anas, anast…
140
- for n in range(3, min(8, len(raw) + 1)):
141
- cands.append(raw[:n])
139
+ # progressive prefixes first: ana, anas, anast… (user wants ana not anastasis)
140
+ for n in (3, 4, 5, 6, 7, 8):
141
+ if n <= len(raw):
142
+ cands.append(raw[:n])
143
+ # first letters of hyphen/underscore parts (build-your-own byo)
144
+ parts = re.split(r"[-_\s]+", project_id or name)
145
+ initials = "".join(p[0] for p in parts if p)[:6].lower()
146
+ initials = re.sub(r"[^a-z0-9]", "", initials)
147
+ if len(initials) >= 2:
148
+ cands.append(initials)
142
149
  # consonants-only compact form
143
150
  cons = re.sub(r"[aeiou]", "", raw)
144
151
  if len(cons) >= 3:
145
152
  cands.append(cons[:4])
146
- # first letters of hyphen/underscore parts
147
- parts = re.split(r"[-_\s]+", project_id or name)
148
- initials = "".join(p[0] for p in parts if p)[:6].lower()
149
- if len(initials) >= 2:
150
- cands.append(re.sub(r"[^a-z0-9]", "", initials))
153
+ # full slug last (only if reasonably short)
154
+ if 2 <= len(raw) <= 10:
155
+ cands.append(raw)
151
156
  # dedupe preserve order
152
157
  seen: set[str] = set()
153
158
  out: list[str] = []
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ccmd
3
- Version: 2.0.6
3
+ Version: 2.0.7
4
4
  Summary: ccmd — Agentic Project Hub. Pick a project, pick an agent, launch.
5
5
  Author-email: De Catalyst <Robert5560newton@gmail.com>
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "ccmd"
7
- version = "2.0.6"
7
+ version = "2.0.7"
8
8
  description = "ccmd — Agentic Project Hub. Pick a project, pick an agent, launch."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
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
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes