janet-cli 0.3.1__tar.gz → 0.3.3__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.1/janet_cli.egg-info → janet_cli-0.3.3}/PKG-INFO +2 -1
  2. {janet_cli-0.3.1 → janet_cli-0.3.3}/README.md +1 -0
  3. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet/__init__.py +1 -1
  4. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet/markdown/generator.py +21 -4
  5. {janet_cli-0.3.1 → janet_cli-0.3.3/janet_cli.egg-info}/PKG-INFO +2 -1
  6. {janet_cli-0.3.1 → janet_cli-0.3.3}/pyproject.toml +1 -1
  7. {janet_cli-0.3.1 → janet_cli-0.3.3}/.env.example +0 -0
  8. {janet_cli-0.3.1 → janet_cli-0.3.3}/LICENSE +0 -0
  9. {janet_cli-0.3.1 → janet_cli-0.3.3}/MANIFEST.in +0 -0
  10. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet/__main__.py +0 -0
  11. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet/api/__init__.py +0 -0
  12. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet/api/client.py +0 -0
  13. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet/api/models.py +0 -0
  14. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet/api/organizations.py +0 -0
  15. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet/api/projects.py +0 -0
  16. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet/api/tickets.py +0 -0
  17. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet/auth/__init__.py +0 -0
  18. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet/auth/callback_server.py +0 -0
  19. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet/auth/oauth_flow.py +0 -0
  20. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet/auth/token_manager.py +0 -0
  21. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet/cli.py +0 -0
  22. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet/config/__init__.py +0 -0
  23. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet/config/manager.py +0 -0
  24. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet/config/models.py +0 -0
  25. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet/markdown/__init__.py +0 -0
  26. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet/markdown/yjs_converter.py +0 -0
  27. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet/sync/__init__.py +0 -0
  28. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet/sync/file_manager.py +0 -0
  29. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet/sync/readme_generator.py +0 -0
  30. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet/sync/sse_watcher.py +0 -0
  31. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet/sync/sync_engine.py +0 -0
  32. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet/utils/__init__.py +0 -0
  33. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet/utils/console.py +0 -0
  34. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet/utils/errors.py +0 -0
  35. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet/utils/paths.py +0 -0
  36. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet_cli.egg-info/SOURCES.txt +0 -0
  37. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet_cli.egg-info/dependency_links.txt +0 -0
  38. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet_cli.egg-info/entry_points.txt +0 -0
  39. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet_cli.egg-info/requires.txt +0 -0
  40. {janet_cli-0.3.1 → janet_cli-0.3.3}/janet_cli.egg-info/top_level.txt +0 -0
  41. {janet_cli-0.3.1 → janet_cli-0.3.3}/requirements.txt +0 -0
  42. {janet_cli-0.3.1 → janet_cli-0.3.3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: janet-cli
3
- Version: 0.3.1
3
+ Version: 0.3.3
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
@@ -332,6 +332,7 @@ janet config show # Display configuration
332
332
  janet config path # Show config file location
333
333
  janet config reset # Reset to defaults
334
334
  janet --version # Show CLI version
335
+ janet update # Update CLI to latest version
335
336
  ```
336
337
 
337
338
  ## Configuration
@@ -290,6 +290,7 @@ janet config show # Display configuration
290
290
  janet config path # Show config file location
291
291
  janet config reset # Reset to defaults
292
292
  janet --version # Show CLI version
293
+ janet update # Update CLI to latest version
293
294
  ```
294
295
 
295
296
  ## Configuration
@@ -1,3 +1,3 @@
1
1
  """Janet AI CLI - Sync tickets to local markdown files."""
2
2
 
3
- __version__ = "0.3.1"
3
+ __version__ = "0.3.3"
@@ -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.1
3
+ Version: 0.3.3
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
@@ -332,6 +332,7 @@ janet config show # Display configuration
332
332
  janet config path # Show config file location
333
333
  janet config reset # Reset to defaults
334
334
  janet --version # Show CLI version
335
+ janet update # Update CLI to latest version
335
336
  ```
336
337
 
337
338
  ## Configuration
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "janet-cli"
7
- version = "0.3.1"
7
+ version = "0.3.3"
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