janet-cli 0.3.5__tar.gz → 0.3.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.
- {janet_cli-0.3.5/janet_cli.egg-info → janet_cli-0.3.7}/PKG-INFO +2 -2
- {janet_cli-0.3.5 → janet_cli-0.3.7}/README.md +1 -1
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet/__init__.py +1 -1
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet/sync/readme_generator.py +24 -2
- {janet_cli-0.3.5 → janet_cli-0.3.7/janet_cli.egg-info}/PKG-INFO +2 -2
- {janet_cli-0.3.5 → janet_cli-0.3.7}/pyproject.toml +1 -1
- {janet_cli-0.3.5 → janet_cli-0.3.7}/.env.example +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/LICENSE +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/MANIFEST.in +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet/__main__.py +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet/api/__init__.py +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet/api/client.py +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet/api/models.py +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet/api/organizations.py +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet/api/projects.py +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet/api/tickets.py +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet/auth/__init__.py +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet/auth/callback_server.py +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet/auth/oauth_flow.py +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet/auth/token_manager.py +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet/cli.py +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet/config/__init__.py +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet/config/manager.py +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet/config/models.py +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet/markdown/__init__.py +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet/markdown/generator.py +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet/markdown/yjs_converter.py +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet/sync/__init__.py +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet/sync/file_manager.py +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet/sync/sse_watcher.py +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet/sync/sync_engine.py +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet/utils/__init__.py +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet/utils/console.py +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet/utils/errors.py +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet/utils/paths.py +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet_cli.egg-info/SOURCES.txt +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet_cli.egg-info/dependency_links.txt +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet_cli.egg-info/entry_points.txt +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet_cli.egg-info/requires.txt +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/janet_cli.egg-info/top_level.txt +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/requirements.txt +0 -0
- {janet_cli-0.3.5 → janet_cli-0.3.7}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: janet-cli
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.7
|
|
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
|
|
@@ -194,7 +194,7 @@ Tickets are organized in a clear hierarchy:
|
|
|
194
194
|
|
|
195
195
|
```
|
|
196
196
|
janet-tickets/
|
|
197
|
-
├──
|
|
197
|
+
├── AI_AGENT_INSTRUCTIONS.md # Instructions for AI coding agents
|
|
198
198
|
└── My Organization/
|
|
199
199
|
├── Backend/
|
|
200
200
|
│ ├── BACK-1.md
|
|
@@ -33,7 +33,7 @@ class ReadmeGenerator:
|
|
|
33
33
|
sections = []
|
|
34
34
|
|
|
35
35
|
# Header - addressing the AI agent directly
|
|
36
|
-
sections.append(f"#
|
|
36
|
+
sections.append(f"# Instructions for AI Coding Agents - {org_name}\n")
|
|
37
37
|
sections.append(
|
|
38
38
|
"This directory contains project management tickets from Janet AI. "
|
|
39
39
|
"Use these tickets to understand requirements, track work, and stay aligned with project goals.\n"
|
|
@@ -83,6 +83,28 @@ class ReadmeGenerator:
|
|
|
83
83
|
sections.append("3. **Follow requirements** - Use ticket descriptions as specifications")
|
|
84
84
|
sections.append("4. **Note priorities** - High/Critical tickets should be addressed first\n")
|
|
85
85
|
|
|
86
|
+
# Important notes for AI agents
|
|
87
|
+
sections.append("## ⚠️ IMPORTANT: Creating Tickets (Required Fields)\n")
|
|
88
|
+
sections.append("### Required Fields for Ticket Creation\n")
|
|
89
|
+
sections.append("**Every** ticket creation command **MUST** include:\n")
|
|
90
|
+
sections.append("1. **Title** - The ticket title (first positional argument)")
|
|
91
|
+
sections.append("2. **Project** - The project key using `--project` or `-p`")
|
|
92
|
+
sections.append("3. **Status** - A valid status using `--status` or `-s`\n")
|
|
93
|
+
|
|
94
|
+
sections.append("### Status Values Are Custom Per Project\n")
|
|
95
|
+
sections.append("Each project has custom status values (see \"Valid Statuses\" in Projects section above).\n")
|
|
96
|
+
sections.append("⚠️ **REQUIRED:** Always use a valid status from the project's \"Valid Statuses\" list.")
|
|
97
|
+
sections.append("⚠️ **If user doesn't specify a status:** Ask which status to use before running the command.")
|
|
98
|
+
sections.append("⚠️ **Never assume or guess status values** - they vary by project (e.g., \"To Do\" vs \"Backlog\" vs \"Open\").\n")
|
|
99
|
+
|
|
100
|
+
sections.append("### Example Workflow\n")
|
|
101
|
+
sections.append('**User prompt:** "Create a bug ticket in BACK for the login issue"\n')
|
|
102
|
+
sections.append("**Your response:** \"Which status should I use for the new ticket? Valid options for BACK are: To Do, In Progress, In Review, Done\"\n")
|
|
103
|
+
sections.append('**After user responds:** Run the command with the specified status:')
|
|
104
|
+
sections.append("```bash")
|
|
105
|
+
sections.append('janet ticket create "Fix login issue" -p BACK --status "To Do" --type Bug')
|
|
106
|
+
sections.append("```\n")
|
|
107
|
+
|
|
86
108
|
# CLI commands for the AI - comprehensive reference
|
|
87
109
|
sections.append("## CLI Commands Reference\n")
|
|
88
110
|
sections.append("Use the `janet` CLI to create and update tickets.\n")
|
|
@@ -264,7 +286,7 @@ class ReadmeGenerator:
|
|
|
264
286
|
readme_content = self.generate(org_name, projects, total_tickets, sync_time, project_statuses)
|
|
265
287
|
|
|
266
288
|
# Write to root of sync directory
|
|
267
|
-
readme_path = sync_dir / "
|
|
289
|
+
readme_path = sync_dir / "AI_AGENT_INSTRUCTIONS.md"
|
|
268
290
|
readme_path.write_text(readme_content, encoding="utf-8")
|
|
269
291
|
|
|
270
292
|
return readme_path
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: janet-cli
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.7
|
|
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
|
|
@@ -194,7 +194,7 @@ Tickets are organized in a clear hierarchy:
|
|
|
194
194
|
|
|
195
195
|
```
|
|
196
196
|
janet-tickets/
|
|
197
|
-
├──
|
|
197
|
+
├── AI_AGENT_INSTRUCTIONS.md # Instructions for AI coding agents
|
|
198
198
|
└── My Organization/
|
|
199
199
|
├── Backend/
|
|
200
200
|
│ ├── BACK-1.md
|
|
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
|