@brainervirus/workit-cursor 0.9.2 → 0.10.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.
@@ -2,7 +2,7 @@
2
2
  "name": "workit",
3
3
  "displayName": "Workit",
4
4
  "description": "OpenCode-style verify, PR, changelog, commit, and session handoff for Cursor",
5
- "version": "0.9.2",
5
+ "version": "0.10.0",
6
6
  "author": {
7
7
  "name": "Cristhofer Pincetti"
8
8
  },
@@ -20376,7 +20376,7 @@ var init_config = __esm(() => {
20376
20376
  "trunk-based": { allowed: ["*"], protected: ["main"] },
20377
20377
  custom: { allowed: [], protected: [] }
20378
20378
  };
20379
- LOCALE_RE = /^[a-z]{2,3}(-[A-Z]{2})?$/;
20379
+ LOCALE_RE = /^[a-z]{2,3}(-(?:[A-Z]{2}|[0-9]{3}))?$/;
20380
20380
  DEFAULTS = {
20381
20381
  locale: "en",
20382
20382
  localeOptions: ["en", "es-CL", "es-MX", "es-AR", "pt-BR"],
@@ -28579,7 +28579,7 @@ var init_server3 = __esm(async () => {
28579
28579
  return jsonResult(result);
28580
28580
  }
28581
28581
  if (action === "config") {
28582
- if (locale !== undefined && !/^[a-z]{2,3}(-[A-Z]{2})?$/.test(locale)) {
28582
+ if (locale !== undefined && !/^[a-z]{2,3}(-(?:[A-Z]{2}|[0-9]{3}))?$/.test(locale)) {
28583
28583
  return jsonResult({
28584
28584
  error: `invalid locale: ${JSON.stringify(locale)} — expected BCP-47 like en or es-CL`
28585
28585
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brainervirus/workit-cursor",
3
- "version": "0.9.2",
3
+ "version": "0.10.0",
4
4
  "private": false,
5
5
  "description": "Workit Cursor plugin: MCP server, hooks, rules, marketplace manifest (thin over @brainervirus/workit-core)",
6
6
  "keywords": [
@@ -39,7 +39,7 @@
39
39
  "build": "bun scripts/build.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@brainervirus/workit-core": "^0.9.2",
42
+ "@brainervirus/workit-core": "^0.10.0",
43
43
  "@modelcontextprotocol/sdk": "^1.12.0",
44
44
  "zod": "^3.24.0"
45
45
  },