@knpkv/jira-clockify 1.0.0 → 1.0.2
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/dist/package.json +1 -1
- package/dist/src/cli/auth.js +4 -4
- package/dist/src/cli/auth.js.map +1 -1
- package/dist/src/cli/setup.js +3 -3
- package/dist/src/cli/setup.js.map +1 -1
- package/dist/src/cli/timer/start.js +6 -5
- package/dist/src/cli/timer/start.js.map +1 -1
- package/dist/src/cli/timer/status.js +5 -3
- package/dist/src/cli/timer/status.js.map +1 -1
- package/dist/src/cli/timer/stop.js +3 -2
- package/dist/src/cli/timer/stop.js.map +1 -1
- package/dist/src/services/ClockifyAuth.js +2 -1
- package/dist/src/services/ClockifyAuth.js.map +1 -1
- package/dist/src/services/TicketService.js +3 -1
- package/dist/src/services/TicketService.js.map +1 -1
- package/dist/src/services/TimerService.js +12 -8
- package/dist/src/services/TimerService.js.map +1 -1
- package/dist/test/TimerService.test.js +20 -2
- package/dist/test/TimerService.test.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/skills/jcf/SKILL.md +7 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knpkv/jira-clockify",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "TUI for Jira-Clockify time tracking, attachable to neovim",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "knpkv",
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"@opentui/react": "https://pkg.pr.new/anomalyco/opentui/@opentui/react@367a94087821b3b5feedd35bbb57df43b10a286e",
|
|
24
24
|
"effect": "4.0.0-beta.87",
|
|
25
25
|
"react": "^19.2.7",
|
|
26
|
-
"@knpkv/
|
|
26
|
+
"@knpkv/agent-skills": "^0.2.2",
|
|
27
|
+
"@knpkv/atlassian-common": "^1.0.0",
|
|
27
28
|
"@knpkv/clockify-api-client": "^0.3.0",
|
|
28
29
|
"@knpkv/jira-api-client": "^0.3.0",
|
|
29
|
-
"@knpkv/jira-cli": "^1.
|
|
30
|
-
"@knpkv/agent-skills": "^0.2.1"
|
|
30
|
+
"@knpkv/jira-cli": "^1.1.1"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@effect/vitest": "4.0.0-beta.87",
|
package/skills/jcf/SKILL.md
CHANGED
|
@@ -11,6 +11,7 @@ Use the `jcf` binary to manage Jira-backed Clockify timers.
|
|
|
11
11
|
|
|
12
12
|
- Configure both services before timer operations: Jira OAuth and Clockify API key.
|
|
13
13
|
- Use `jcf auth status` to check readiness.
|
|
14
|
+
- `jcf` uses the shared Jira CLI auth profile store; for multi-site Jira accounts, use `jira auth profiles` and `jira auth use <profile>` before timer operations when the `jira` binary is available. When the `atlassian` binary is available, prefer `atlassian profiles doctor` to confirm that Jira Clockify is using the intended `jira-cli` auth store and `atlassian auth refresh` for expired Jira tokens.
|
|
14
15
|
- Timer operations write to Clockify and may write Jira worklogs; confirm ambiguous ticket keys, durations, dates, and comments before running them.
|
|
15
16
|
- Use `jcf issue list --json` when an agent needs structured ticket data.
|
|
16
17
|
|
|
@@ -22,6 +23,9 @@ jcf auth jira create
|
|
|
22
23
|
jcf auth jira configure
|
|
23
24
|
jcf auth jira login
|
|
24
25
|
jcf auth clockify setup
|
|
26
|
+
|
|
27
|
+
atlassian profiles doctor
|
|
28
|
+
atlassian auth refresh
|
|
25
29
|
```
|
|
26
30
|
|
|
27
31
|
Configure defaults:
|
|
@@ -85,5 +89,6 @@ jcf timer edit
|
|
|
85
89
|
|
|
86
90
|
1. Run `jcf auth status` and `jcf timer status` before changing timer state.
|
|
87
91
|
2. Use `jcf issue list --json` to resolve issue keys when the user gives a vague ticket description.
|
|
88
|
-
3.
|
|
89
|
-
4.
|
|
92
|
+
3. Verify the active Jira profile when the user names a Jira site/account or before posting worklogs; `atlassian profiles doctor` shows Jira Clockify as a consumer of the `jira-cli` auth store.
|
|
93
|
+
4. Prefer explicit flags for non-interactive work: issue key, duration, date, time, project id, billable flag, and comment.
|
|
94
|
+
5. If no timer is running, `jcf timer stop` may offer an interactive correction interval; use `jcf timer log` for deterministic manual logging.
|