jira-ai 0.4.13 → 0.5.0

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.
package/README.md CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
  An AI-friendly TypeScript CLI for Jira that prioritizes efficiency and security.
4
4
 
5
+ <img width="519" height="245" alt="Screenshot From 2026-01-17 23-14-31" src="https://github.com/user-attachments/assets/97a597d8-fd5e-4cb1-a8d0-1a045b44146f" />
6
+
7
+
5
8
  ## Core Benefits
6
9
 
7
10
  1. **Context Efficiency:** Eliminates redundant context data, consuming significantly fewer tokens than Jira MCP or similar tools.
@@ -10,6 +13,8 @@ An AI-friendly TypeScript CLI for Jira that prioritizes efficiency and security.
10
13
 
11
14
  ## Installation
12
15
 
16
+ You can share [this url](https://raw.githubusercontent.com/festoinc/jira-ai/refs/heads/main/AI-installation-guide.md) with any AI and ask to run installation with you. It will help you to do complete setup and run examples.
17
+
13
18
  ```bash
14
19
  npm install -g jira-ai
15
20
  ```
@@ -36,7 +41,8 @@ To configure allowed projects and commands, follow the instructions in [EDITSETT
36
41
 
37
42
  - **Repository:** [https://github.com/festoinc/jira-ai](https://github.com/festoinc/jira-ai)
38
43
  - **Issues:** [https://github.com/festoinc/jira-ai/issues](https://github.com/festoinc/jira-ai/issues)
44
+ - **NPM:** [https://www.npmjs.com/package/jira-ai](https://www.npmjs.com/package/jira-ai)
39
45
 
40
46
  ## License
41
47
 
42
- Apache License 2.0
48
+ Apache License 2.0
package/dist/lib/utils.js CHANGED
@@ -150,10 +150,11 @@ export function parseTimeframe(timeframe) {
150
150
  const days = parseInt(match[1], 10);
151
151
  const endDate = new Date();
152
152
  const startDate = new Date();
153
- startDate.setDate(endDate.getDate() - days);
153
+ // Use UTC to avoid timezone issues during calculations
154
+ startDate.setUTCDate(endDate.getUTCDate() - days);
154
155
  // Set to start of day for startDate and end of day for endDate to be inclusive
155
- startDate.setHours(0, 0, 0, 0);
156
- endDate.setHours(23, 59, 59, 999);
156
+ startDate.setUTCHours(0, 0, 0, 0);
157
+ endDate.setUTCHours(23, 59, 59, 999);
157
158
  return { startDate, endDate };
158
159
  }
159
160
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jira-ai",
3
- "version": "0.4.13",
3
+ "version": "0.5.0",
4
4
  "description": "AI friendly Jira CLI to save context",
5
5
  "type": "module",
6
6
  "main": "dist/cli.js",