@digipair/skill-opencode 0.141.2 → 0.141.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.cjs.js
CHANGED
|
@@ -31,6 +31,7 @@ let OpencodeService = class OpencodeService {
|
|
|
31
31
|
if (model) args.push('--model', model);
|
|
32
32
|
if (agent) args.push('--agent', agent);
|
|
33
33
|
args.push('--format', format);
|
|
34
|
+
args.push('--dir', cwd);
|
|
34
35
|
args.push(prompt);
|
|
35
36
|
const child = child_process.spawn(opencodeBin, args, {
|
|
36
37
|
cwd,
|
package/dist/index.esm.js
CHANGED
|
@@ -22842,14 +22842,14 @@ function indent(str, spaces) {
|
|
|
22842
22842
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
|
22843
22843
|
// match is required
|
|
22844
22844
|
if (!match) {
|
|
22845
|
-
return
|
|
22845
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
|
|
22846
22846
|
v: nextMatch1
|
|
22847
22847
|
};
|
|
22848
22848
|
}
|
|
22849
22849
|
var token = match.token, offset = match.offset;
|
|
22850
22850
|
i1 += offset;
|
|
22851
22851
|
if (token === ' ') {
|
|
22852
|
-
return
|
|
22852
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
|
|
22853
22853
|
}
|
|
22854
22854
|
tokens1 = _to_consumable_array$4(tokens1).concat([
|
|
22855
22855
|
token
|
|
@@ -22868,7 +22868,7 @@ function indent(str, spaces) {
|
|
|
22868
22868
|
if (contextKeys.some(function(el) {
|
|
22869
22869
|
return el.startsWith(name);
|
|
22870
22870
|
})) {
|
|
22871
|
-
return
|
|
22871
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
|
|
22872
22872
|
}
|
|
22873
22873
|
if (dateTimeIdentifiers.some(function(el) {
|
|
22874
22874
|
return el === name;
|
|
@@ -22887,9 +22887,9 @@ function indent(str, spaces) {
|
|
|
22887
22887
|
if (dateTimeIdentifiers.some(function(el) {
|
|
22888
22888
|
return el.startsWith(name);
|
|
22889
22889
|
})) {
|
|
22890
|
-
return
|
|
22890
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
|
|
22891
22891
|
}
|
|
22892
|
-
return
|
|
22892
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
|
|
22893
22893
|
v: nextMatch1
|
|
22894
22894
|
};
|
|
22895
22895
|
};
|
|
@@ -44600,6 +44600,7 @@ let OpencodeService = class OpencodeService {
|
|
|
44600
44600
|
if (model) args.push('--model', model);
|
|
44601
44601
|
if (agent) args.push('--agent', agent);
|
|
44602
44602
|
args.push('--format', format);
|
|
44603
|
+
args.push('--dir', cwd);
|
|
44603
44604
|
args.push(prompt);
|
|
44604
44605
|
const child = spawn(opencodeBin, args, {
|
|
44605
44606
|
cwd,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill-opencode.d.ts","sourceRoot":"","sources":["../../../src/lib/skill-opencode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,YAAY,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"skill-opencode.d.ts","sourceRoot":"","sources":["../../../src/lib/skill-opencode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,YAAY,EAAE,MAAM,kBAAkB,CAAC;AA+JjE,eAAO,MAAM,SAAS,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,oBACjB,CAAC"}
|