taskin 4.1.2 → 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.
Files changed (2) hide show
  1. package/dist/index.js +6 -2
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -1216,7 +1216,11 @@ var init_assignee_identity = __esm({
1216
1216
  "n\xE3o atribu\xEDdo",
1217
1217
  "unassigned",
1218
1218
  "tbd",
1219
- "-"
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"
1220
1224
  ];
1221
1225
  foldAssignee = (value) => value.toLowerCase().replace(/[^a-z0-9]/g, "");
1222
1226
  fold = foldAssignee;
@@ -1906,7 +1910,7 @@ async function validateTaskFile(filePath) {
1906
1910
  const locale = detectLocale(content);
1907
1911
  const i18n = getI18n(locale);
1908
1912
  const hasTitleSection = lines.some((line) => line.trim().startsWith("# "));
1909
- const sectionStatusPattern = new RegExp(`##\\s*(?:Status|${i18n.status})`, "i");
1913
+ const sectionStatusPattern = new RegExp(`^#{2,}\\s*(?:Status|${i18n.status})\\s*$`, "im");
1910
1914
  const inlineStatus = readMetadataField(content, i18n.status, "Status");
1911
1915
  const isMetadataLine = (line) => new RegExp(`^(?:-\\s+)?(?:Status|${i18n.status})\\s*:`, "i").test(line.trim());
1912
1916
  const hasInlineStatus = inlineStatus !== void 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taskin",
3
- "version": "4.1.2",
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",
@@ -79,10 +79,10 @@
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.2",
82
+ "@opentask/taskin-file-system-provider": "3.2.3",
83
83
  "@opentask/taskin-task-manager": "3.0.2",
84
- "@opentask/taskin-task-server-mcp": "0.2.3",
85
84
  "@opentask/taskin-task-server-ws": "0.3.2",
85
+ "@opentask/taskin-task-server-mcp": "0.2.4",
86
86
  "@opentask/taskin-git-utils": "3.0.2",
87
87
  "@opentask/taskin-utils": "1.1.1",
88
88
  "@opentask/taskin-types": "2.1.1"