janet-cli 0.3.3__tar.gz → 0.3.5__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.
- {janet_cli-0.3.3/janet_cli.egg-info → janet_cli-0.3.5}/PKG-INFO +1 -1
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet/__init__.py +1 -1
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet/markdown/generator.py +1 -18
- {janet_cli-0.3.3 → janet_cli-0.3.5/janet_cli.egg-info}/PKG-INFO +1 -1
- {janet_cli-0.3.3 → janet_cli-0.3.5}/pyproject.toml +1 -1
- {janet_cli-0.3.3 → janet_cli-0.3.5}/.env.example +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/LICENSE +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/MANIFEST.in +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/README.md +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet/__main__.py +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet/api/__init__.py +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet/api/client.py +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet/api/models.py +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet/api/organizations.py +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet/api/projects.py +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet/api/tickets.py +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet/auth/__init__.py +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet/auth/callback_server.py +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet/auth/oauth_flow.py +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet/auth/token_manager.py +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet/cli.py +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet/config/__init__.py +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet/config/manager.py +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet/config/models.py +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet/markdown/__init__.py +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet/markdown/yjs_converter.py +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet/sync/__init__.py +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet/sync/file_manager.py +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet/sync/readme_generator.py +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet/sync/sse_watcher.py +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet/sync/sync_engine.py +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet/utils/__init__.py +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet/utils/console.py +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet/utils/errors.py +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet/utils/paths.py +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet_cli.egg-info/SOURCES.txt +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet_cli.egg-info/dependency_links.txt +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet_cli.egg-info/entry_points.txt +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet_cli.egg-info/requires.txt +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/janet_cli.egg-info/top_level.txt +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/requirements.txt +0 -0
- {janet_cli-0.3.3 → janet_cli-0.3.5}/setup.cfg +0 -0
|
@@ -47,11 +47,7 @@ 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.
|
|
51
|
-
if ticket.get("ai_summary"):
|
|
52
|
-
sections.append(self._generate_ai_summary(ticket))
|
|
53
|
-
|
|
54
|
-
# 5. Comments
|
|
50
|
+
# 4. Comments
|
|
55
51
|
if ticket.get("comments"):
|
|
56
52
|
sections.append(
|
|
57
53
|
self._generate_comments(ticket["comments"], organization_members)
|
|
@@ -163,19 +159,6 @@ class MarkdownGenerator:
|
|
|
163
159
|
lines.append("") # Empty line after description
|
|
164
160
|
return "\n".join(lines)
|
|
165
161
|
|
|
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
|
-
|
|
179
162
|
def _generate_comments(
|
|
180
163
|
self, comments: List[Dict], organization_members: Optional[List[Dict]] = None
|
|
181
164
|
) -> str:
|
|
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
|