@metyatech/task-tracker 0.2.0 → 0.2.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/README.md +8 -1
- package/package.json +22 -7
- package/public/index.html +6 -1
package/README.md
CHANGED
|
@@ -104,6 +104,13 @@ npm run format:check # Prettier (check)
|
|
|
104
104
|
npm run verify # format:check + lint + build + test
|
|
105
105
|
```
|
|
106
106
|
|
|
107
|
+
## Community
|
|
108
|
+
|
|
109
|
+
- [Security Policy](SECURITY.md)
|
|
110
|
+
- [Contributing](CONTRIBUTING.md)
|
|
111
|
+
- [Code of Conduct](CODE_OF_CONDUCT.md)
|
|
112
|
+
- [Changelog](CHANGELOG.md)
|
|
113
|
+
|
|
107
114
|
## License
|
|
108
115
|
|
|
109
|
-
MIT © metyatech
|
|
116
|
+
MIT © [metyatech](https://github.com/metyatech)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metyatech/task-tracker",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Persistent task lifecycle tracker for AI agent sessions",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -29,10 +29,11 @@
|
|
|
29
29
|
"scripts": {
|
|
30
30
|
"build": "tsup",
|
|
31
31
|
"test": "vitest run",
|
|
32
|
-
"lint": "eslint src
|
|
32
|
+
"lint": "eslint src",
|
|
33
33
|
"format": "prettier --write \"src/**/*.ts\" \"*.json\" \"*.md\"",
|
|
34
34
|
"format:check": "prettier --check \"src/**/*.ts\" \"*.json\" \"*.md\"",
|
|
35
|
-
"verify": "npm run format:check && npm run lint && npm run build && npm run test"
|
|
35
|
+
"verify": "npm run format:check && npm run lint && npm run build && npm run test",
|
|
36
|
+
"prepare": "husky"
|
|
36
37
|
},
|
|
37
38
|
"dependencies": {
|
|
38
39
|
"chalk": "^5.3.0",
|
|
@@ -40,13 +41,27 @@
|
|
|
40
41
|
"nanoid": "^5.0.7"
|
|
41
42
|
},
|
|
42
43
|
"devDependencies": {
|
|
44
|
+
"@eslint/js": "^9.0.0",
|
|
43
45
|
"@types/node": "^20.0.0",
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
46
|
+
"eslint": "^9.0.0",
|
|
47
|
+
"husky": "^9.1.7",
|
|
48
|
+
"lint-staged": "^16.2.7",
|
|
47
49
|
"prettier": "^3.2.0",
|
|
48
50
|
"tsup": "^8.0.0",
|
|
49
51
|
"typescript": "^5.4.0",
|
|
50
|
-
"
|
|
52
|
+
"typescript-eslint": "^8.0.0",
|
|
53
|
+
"vitest": "^4.0.0"
|
|
54
|
+
},
|
|
55
|
+
"overrides": {
|
|
56
|
+
"minimatch": "^10.2.2"
|
|
57
|
+
},
|
|
58
|
+
"lint-staged": {
|
|
59
|
+
"src/**/*.ts": [
|
|
60
|
+
"prettier --check",
|
|
61
|
+
"eslint"
|
|
62
|
+
],
|
|
63
|
+
"*.{json,md}": [
|
|
64
|
+
"prettier --check"
|
|
65
|
+
]
|
|
51
66
|
}
|
|
52
67
|
}
|
package/public/index.html
CHANGED
|
@@ -509,7 +509,12 @@
|
|
|
509
509
|
}
|
|
510
510
|
|
|
511
511
|
loadTasks();
|
|
512
|
-
setInterval(
|
|
512
|
+
setInterval(() => {
|
|
513
|
+
// Skip auto-refresh when user is typing to prevent losing input and focus
|
|
514
|
+
const active = document.activeElement;
|
|
515
|
+
if (active && (active.tagName === 'INPUT' || active.tagName === 'TEXTAREA' || active.tagName === 'SELECT')) return;
|
|
516
|
+
loadTasks();
|
|
517
|
+
}, 5000);
|
|
513
518
|
</script>
|
|
514
519
|
</body>
|
|
515
520
|
</html>
|