janet-cli 0.3.0__tar.gz → 0.3.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 (42) hide show
  1. {janet_cli-0.3.0/janet_cli.egg-info → janet_cli-0.3.2}/PKG-INFO +2 -2
  2. {janet_cli-0.3.0 → janet_cli-0.3.2}/README.md +1 -1
  3. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet/__init__.py +1 -1
  4. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet/markdown/generator.py +21 -4
  5. {janet_cli-0.3.0 → janet_cli-0.3.2/janet_cli.egg-info}/PKG-INFO +2 -2
  6. {janet_cli-0.3.0 → janet_cli-0.3.2}/pyproject.toml +1 -1
  7. {janet_cli-0.3.0 → janet_cli-0.3.2}/.env.example +0 -0
  8. {janet_cli-0.3.0 → janet_cli-0.3.2}/LICENSE +0 -0
  9. {janet_cli-0.3.0 → janet_cli-0.3.2}/MANIFEST.in +0 -0
  10. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet/__main__.py +0 -0
  11. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet/api/__init__.py +0 -0
  12. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet/api/client.py +0 -0
  13. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet/api/models.py +0 -0
  14. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet/api/organizations.py +0 -0
  15. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet/api/projects.py +0 -0
  16. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet/api/tickets.py +0 -0
  17. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet/auth/__init__.py +0 -0
  18. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet/auth/callback_server.py +0 -0
  19. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet/auth/oauth_flow.py +0 -0
  20. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet/auth/token_manager.py +0 -0
  21. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet/cli.py +0 -0
  22. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet/config/__init__.py +0 -0
  23. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet/config/manager.py +0 -0
  24. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet/config/models.py +0 -0
  25. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet/markdown/__init__.py +0 -0
  26. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet/markdown/yjs_converter.py +0 -0
  27. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet/sync/__init__.py +0 -0
  28. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet/sync/file_manager.py +0 -0
  29. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet/sync/readme_generator.py +0 -0
  30. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet/sync/sse_watcher.py +0 -0
  31. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet/sync/sync_engine.py +0 -0
  32. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet/utils/__init__.py +0 -0
  33. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet/utils/console.py +0 -0
  34. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet/utils/errors.py +0 -0
  35. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet/utils/paths.py +0 -0
  36. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet_cli.egg-info/SOURCES.txt +0 -0
  37. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet_cli.egg-info/dependency_links.txt +0 -0
  38. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet_cli.egg-info/entry_points.txt +0 -0
  39. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet_cli.egg-info/requires.txt +0 -0
  40. {janet_cli-0.3.0 → janet_cli-0.3.2}/janet_cli.egg-info/top_level.txt +0 -0
  41. {janet_cli-0.3.0 → janet_cli-0.3.2}/requirements.txt +0 -0
  42. {janet_cli-0.3.0 → janet_cli-0.3.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: janet-cli
3
- Version: 0.3.0
3
+ Version: 0.3.2
4
4
  Summary: CLI tool to sync Janet AI tickets to local markdown files
5
5
  Author-email: Janet AI <support@janet-ai.com>
6
6
  License: MIT
@@ -42,7 +42,7 @@ Dynamic: license-file
42
42
 
43
43
  # Janet AI CLI
44
44
 
45
- > Sync your Janet AI tickets to local markdown files and enable AI coding agents to create and manage tickets.
45
+ > Sync your Janet AI tickets to local markdown files with real-time updates, and enable AI coding agents to create and manage tickets.
46
46
 
47
47
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
48
48
  [![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)
@@ -1,6 +1,6 @@
1
1
  # Janet AI CLI
2
2
 
3
- > Sync your Janet AI tickets to local markdown files and enable AI coding agents to create and manage tickets.
3
+ > Sync your Janet AI tickets to local markdown files with real-time updates, and enable AI coding agents to create and manage tickets.
4
4
 
5
5
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
6
6
  [![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)
@@ -1,3 +1,3 @@
1
1
  """Janet AI CLI - Sync tickets to local markdown files."""
2
2
 
3
- __version__ = "0.3.0"
3
+ __version__ = "0.3.2"
@@ -47,21 +47,25 @@ class MarkdownGenerator:
47
47
  # 3. Description (pass attachments for inline image handling)
48
48
  sections.append(self._generate_description(ticket, attachments))
49
49
 
50
- # 4. Comments
50
+ # 4. AI Summary (if available)
51
+ if ticket.get("ai_summary"):
52
+ sections.append(self._generate_ai_summary(ticket))
53
+
54
+ # 5. Comments
51
55
  if ticket.get("comments"):
52
56
  sections.append(
53
57
  self._generate_comments(ticket["comments"], organization_members)
54
58
  )
55
59
 
56
- # 5. Attachments
60
+ # 6. Attachments
57
61
  if attachments:
58
62
  sections.append(self._generate_attachments(attachments, organization_members))
59
63
 
60
- # 6. Child Tasks
64
+ # 7. Child Tasks
61
65
  if ticket.get("child_tasks"):
62
66
  sections.append(self._generate_child_tasks(ticket["child_tasks"]))
63
67
 
64
- # 7. Footer
68
+ # 8. Footer
65
69
  sections.append(self._generate_footer(ticket_key))
66
70
 
67
71
  return "\n".join(sections)
@@ -159,6 +163,19 @@ class MarkdownGenerator:
159
163
  lines.append("") # Empty line after description
160
164
  return "\n".join(lines)
161
165
 
166
+ def _generate_ai_summary(self, ticket: Dict) -> str:
167
+ """Generate AI summary section."""
168
+ lines = ["## AI Summary\n"]
169
+
170
+ ai_summary = ticket.get("ai_summary", "").strip()
171
+ if ai_summary:
172
+ lines.append(ai_summary)
173
+ else:
174
+ lines.append("*No AI summary available*")
175
+
176
+ lines.append("") # Empty line after AI summary
177
+ return "\n".join(lines)
178
+
162
179
  def _generate_comments(
163
180
  self, comments: List[Dict], organization_members: Optional[List[Dict]] = None
164
181
  ) -> str:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: janet-cli
3
- Version: 0.3.0
3
+ Version: 0.3.2
4
4
  Summary: CLI tool to sync Janet AI tickets to local markdown files
5
5
  Author-email: Janet AI <support@janet-ai.com>
6
6
  License: MIT
@@ -42,7 +42,7 @@ Dynamic: license-file
42
42
 
43
43
  # Janet AI CLI
44
44
 
45
- > Sync your Janet AI tickets to local markdown files and enable AI coding agents to create and manage tickets.
45
+ > Sync your Janet AI tickets to local markdown files with real-time updates, and enable AI coding agents to create and manage tickets.
46
46
 
47
47
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
48
48
  [![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "janet-cli"
7
- version = "0.3.0"
7
+ version = "0.3.2"
8
8
  description = "CLI tool to sync Janet AI tickets to local markdown files"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
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