@brainervirus/workit-opencode 0.8.3 → 0.8.4
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/plugin.js +2 -1
- package/package.json +2 -2
package/dist/plugin.js
CHANGED
|
@@ -5626,7 +5626,8 @@ class HostReceiptStore {
|
|
|
5626
5626
|
return { ok: true, receipt };
|
|
5627
5627
|
}
|
|
5628
5628
|
}
|
|
5629
|
-
var sameChoiceLabel = (a, b) => a
|
|
5629
|
+
var sameChoiceLabel = (a, b) => normalizeLabel(a) === normalizeLabel(b);
|
|
5630
|
+
var normalizeLabel = (s) => s.replace(/\s*\([^)]*\)/g, " ").replace(/\s*\bfirst\b\s*$/i, " ").replace(/[^a-z0-9]+/gi, " ").trim().toLowerCase();
|
|
5630
5631
|
var createOpenCodeEvidence = (receipt) => ({
|
|
5631
5632
|
host: "opencode",
|
|
5632
5633
|
attested: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brainervirus/workit-opencode",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Workit OpenCode plugin (thin wrapper over @brainervirus/workit-core)",
|
|
6
6
|
"keywords": [
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"typecheck": "tsc --noEmit"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@brainervirus/workit-core": "^0.8.
|
|
37
|
+
"@brainervirus/workit-core": "^0.8.4"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@opencode-ai/plugin": "1.17.7"
|