@workit-dev/opencode 2.27.11 → 2.27.13
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 +8 -4
- package/package.json +2 -2
package/dist/plugin.js
CHANGED
|
@@ -30540,6 +30540,10 @@ var FLAGS = {
|
|
|
30540
30540
|
create: "project summary description file attach command"
|
|
30541
30541
|
};
|
|
30542
30542
|
|
|
30543
|
+
// packages/workit-core/src/approvals/inline.ts
|
|
30544
|
+
var DIR = "<dir>";
|
|
30545
|
+
var OPAQUE_RELEASE_FIX = `workit release --cwd ${DIR} notes approve <version>`;
|
|
30546
|
+
|
|
30543
30547
|
// packages/workit-core/src/hooks/hosts/claude-code.ts
|
|
30544
30548
|
var CLAUDE_CODE_DESCRIPTOR = {
|
|
30545
30549
|
host: "claude_code",
|
|
@@ -31156,9 +31160,9 @@ var standingSinceStart = (input) => {
|
|
|
31156
31160
|
}
|
|
31157
31161
|
};
|
|
31158
31162
|
// packages/workit-core/src/hooks/cwd-normalize.ts
|
|
31159
|
-
var
|
|
31160
|
-
var COMPOUND2 = new RegExp(String.raw`^\s*cd\s+(${
|
|
31161
|
-
var GLOBALS_FIRST = new RegExp(String.raw`^(\s*workit)((?:\s+(?:--json|--cwd(?:=|\s+)(?:${
|
|
31163
|
+
var DIR2 = String.raw`(?:[A-Za-z0-9_./@%+:,=-]|(?<=[A-Za-z0-9])~)+|'[^'$${"`"}\n]*'|"(?:[^"$${"`"}\\!\n]|\\(?=[^"$${"`"}\\!\n]))*"`;
|
|
31164
|
+
var COMPOUND2 = new RegExp(String.raw`^\s*cd\s+(${DIR2})\s*&&\s*(workit(?:\s[\s\S]*)?)$`, "u");
|
|
31165
|
+
var GLOBALS_FIRST = new RegExp(String.raw`^(\s*workit)((?:\s+(?:--json|--cwd(?:=|\s+)(?:${DIR2})))+)\s+([a-z][a-z-]*)(?=\s|$)`, "u");
|
|
31162
31166
|
var VERB_FIRST = /^((?:--json\s+)*)([a-z][a-z-]*)(?=\s|$)/u;
|
|
31163
31167
|
var VERBS = new Set(WORKIT_ALLOWED_VERBS);
|
|
31164
31168
|
var FILTERS = new Set(["tail", "head", "grep"]);
|
|
@@ -31212,7 +31216,7 @@ var verbFirst = (command) => {
|
|
|
31212
31216
|
return null;
|
|
31213
31217
|
return `${lead} ${verb}${globals}${command.slice(whole.length)}`;
|
|
31214
31218
|
};
|
|
31215
|
-
var NPX = new RegExp(String.raw`^(\s*(?:cd\s+(?:${
|
|
31219
|
+
var NPX = new RegExp(String.raw`^(\s*(?:cd\s+(?:${DIR2})\s*&&\s*)?)npx(?:\s+(?:-y|--yes))*\s+@workit-dev\/cli(?:@[\w.-]+)?(?=\s|$)`, "u");
|
|
31216
31220
|
var npxWorkit = (command) => {
|
|
31217
31221
|
const match = NPX.exec(command);
|
|
31218
31222
|
if (!match)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workit-dev/opencode",
|
|
3
|
-
"version": "2.27.
|
|
3
|
+
"version": "2.27.13",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Workit OpenCode plugin — native tools, adaptive policy, and sixteen method skills",
|
|
6
6
|
"keywords": [
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@opencode/plugin": "2.3.2",
|
|
44
|
-
"@workit-dev/core": "^2.27.
|
|
44
|
+
"@workit-dev/core": "^2.27.13"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
47
47
|
"node": ">=24"
|