taskin 4.1.1 → 4.1.3
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/index.js +12 -3
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -1078,7 +1078,9 @@ function convertMetadataStyle(content, target) {
|
|
|
1078
1078
|
const block = readMetadataBlock(content);
|
|
1079
1079
|
if (!block || block.fields.length === 0) return content;
|
|
1080
1080
|
const lines = getMetadataStyle(target).format(block.fields).split("\n");
|
|
1081
|
-
|
|
1081
|
+
const intacto = lines.join("\n") === block.lines.join("\n");
|
|
1082
|
+
const contiguo = block.end - block.start === block.lines.length;
|
|
1083
|
+
if (intacto && contiguo) return content;
|
|
1082
1084
|
return replaceMetadataBlock(content, lines);
|
|
1083
1085
|
}
|
|
1084
1086
|
var DEFAULT_METADATA_STYLE_ID, DETECTION_ORDER, METADATA_STYLES, METADATA_STYLE_IDS;
|
|
@@ -1210,8 +1212,15 @@ var init_assignee_identity = __esm({
|
|
|
1210
1212
|
"to be defined",
|
|
1211
1213
|
"nome do responsavel",
|
|
1212
1214
|
"nome do respons\xE1vel",
|
|
1215
|
+
"nao atribuido",
|
|
1216
|
+
"n\xE3o atribu\xEDdo",
|
|
1217
|
+
"unassigned",
|
|
1213
1218
|
"tbd",
|
|
1214
|
-
|
|
1219
|
+
// As tres barras: hifen, meia-risca e travessao. Quem escreve a mao usa o
|
|
1220
|
+
// travessao (`—`) com a mesma intencao do hifen, e so o hifen era aceito.
|
|
1221
|
+
"-",
|
|
1222
|
+
"\u2013",
|
|
1223
|
+
"\u2014"
|
|
1215
1224
|
];
|
|
1216
1225
|
foldAssignee = (value) => value.toLowerCase().replace(/[^a-z0-9]/g, "");
|
|
1217
1226
|
fold = foldAssignee;
|
|
@@ -1901,7 +1910,7 @@ async function validateTaskFile(filePath) {
|
|
|
1901
1910
|
const locale = detectLocale(content);
|
|
1902
1911
|
const i18n = getI18n(locale);
|
|
1903
1912
|
const hasTitleSection = lines.some((line) => line.trim().startsWith("# "));
|
|
1904
|
-
const sectionStatusPattern = new RegExp(
|
|
1913
|
+
const sectionStatusPattern = new RegExp(`^#{2,}\\s*(?:Status|${i18n.status})\\s*$`, "im");
|
|
1905
1914
|
const inlineStatus = readMetadataField(content, i18n.status, "Status");
|
|
1906
1915
|
const isMetadataLine = (line) => new RegExp(`^(?:-\\s+)?(?:Status|${i18n.status})\\s*:`, "i").test(line.trim());
|
|
1907
1916
|
const hasInlineStatus = inlineStatus !== void 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "taskin",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.3",
|
|
4
4
|
"description": "Task management system integrated with Git workflows",
|
|
5
5
|
"motivation": "Provide a CLI tool for task management integrated with Git workflows",
|
|
6
6
|
"solve": "Simplifies task tracking and management directly from the command line",
|
|
@@ -68,24 +68,24 @@
|
|
|
68
68
|
"LICENSE"
|
|
69
69
|
],
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
72
|
-
"@types/express": "^5.0.
|
|
71
|
+
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
72
|
+
"@types/express": "^5.0.6",
|
|
73
73
|
"@types/inquirer": "^9.0.9",
|
|
74
74
|
"@types/play-sound": "^1.1.2",
|
|
75
75
|
"chalk": "^5.6.2",
|
|
76
76
|
"commander": "^12.1.0",
|
|
77
|
-
"express": "^
|
|
77
|
+
"express": "^5.2.1",
|
|
78
78
|
"inquirer": "^12.11.0",
|
|
79
79
|
"play-sound": "^1.1.6",
|
|
80
80
|
"ws": "^8.18.3",
|
|
81
81
|
"zod": "^3.25.76",
|
|
82
|
-
"@opentask/taskin-file-system-provider": "3.2.
|
|
83
|
-
"@opentask/taskin-git-utils": "3.0.2",
|
|
82
|
+
"@opentask/taskin-file-system-provider": "3.2.3",
|
|
84
83
|
"@opentask/taskin-task-manager": "3.0.2",
|
|
85
84
|
"@opentask/taskin-task-server-ws": "0.3.2",
|
|
86
|
-
"@opentask/taskin-task-server-mcp": "0.2.
|
|
87
|
-
"@opentask/taskin-
|
|
88
|
-
"@opentask/taskin-utils": "1.1.1"
|
|
85
|
+
"@opentask/taskin-task-server-mcp": "0.2.4",
|
|
86
|
+
"@opentask/taskin-git-utils": "3.0.2",
|
|
87
|
+
"@opentask/taskin-utils": "1.1.1",
|
|
88
|
+
"@opentask/taskin-types": "2.1.1"
|
|
89
89
|
},
|
|
90
90
|
"devDependencies": {
|
|
91
91
|
"@types/node": "^20.19.24",
|