@tarcisiopgs/lisa 1.23.3 → 1.24.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.
- package/dist/index.js +13 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -752,6 +752,9 @@ var ClaudeProvider = class {
|
|
|
752
752
|
if (opts.model) {
|
|
753
753
|
flags.push("--model", opts.model);
|
|
754
754
|
}
|
|
755
|
+
if (opts.providerOptions?.effort) {
|
|
756
|
+
flags.push("--effort", opts.providerOptions.effort);
|
|
757
|
+
}
|
|
755
758
|
const command = `claude ${flags.join(" ")} "$(cat '${promptFile}')"`;
|
|
756
759
|
log(`[claude] Running: claude ${flags.join(" ")}`.trim());
|
|
757
760
|
if (opts.issueId) {
|
|
@@ -4146,6 +4149,11 @@ function setupEventListeners() {
|
|
|
4146
4149
|
}
|
|
4147
4150
|
|
|
4148
4151
|
// src/loop/helpers.ts
|
|
4152
|
+
function resolveProviderOptions(config2) {
|
|
4153
|
+
const opts = config2.provider_options?.[config2.provider];
|
|
4154
|
+
if (!opts?.effort) return void 0;
|
|
4155
|
+
return { effort: opts.effort };
|
|
4156
|
+
}
|
|
4149
4157
|
function resolveBaseBranch(config2, repoPath) {
|
|
4150
4158
|
const workspace = resolve5(config2.workspace);
|
|
4151
4159
|
const repo = config2.repos.find((r) => resolve5(workspace, r.path) === repoPath);
|
|
@@ -5833,6 +5841,7 @@ async function runWorktreeMultiRepoSession(config2, issue2, logFile, session, mo
|
|
|
5833
5841
|
overseer: config2.overseer,
|
|
5834
5842
|
sessionTimeout: config2.loop.session_timeout,
|
|
5835
5843
|
outputStallTimeout: config2.loop.output_stall_timeout,
|
|
5844
|
+
providerOptions: resolveProviderOptions(config2),
|
|
5836
5845
|
onProcess: (pid) => {
|
|
5837
5846
|
activeProviderPids.set(issue2.id, pid);
|
|
5838
5847
|
},
|
|
@@ -6003,6 +6012,7 @@ async function runMultiRepoStep(config2, issue2, step, previousResults, logFile,
|
|
|
6003
6012
|
overseer: config2.overseer,
|
|
6004
6013
|
sessionTimeout: config2.loop.session_timeout,
|
|
6005
6014
|
outputStallTimeout: config2.loop.output_stall_timeout,
|
|
6015
|
+
providerOptions: resolveProviderOptions(config2),
|
|
6006
6016
|
env: Object.keys(lifecycleEnv).length > 0 ? lifecycleEnv : void 0,
|
|
6007
6017
|
onProcess: (pid) => {
|
|
6008
6018
|
activeProviderPids.set(issue2.id, pid);
|
|
@@ -6149,6 +6159,7 @@ async function runNativeWorktreeSession(config2, issue2, logFile, session, model
|
|
|
6149
6159
|
overseer: config2.overseer,
|
|
6150
6160
|
sessionTimeout: config2.loop.session_timeout,
|
|
6151
6161
|
outputStallTimeout: config2.loop.output_stall_timeout,
|
|
6162
|
+
providerOptions: resolveProviderOptions(config2),
|
|
6152
6163
|
useNativeWorktree: true,
|
|
6153
6164
|
env: Object.keys(lifecycleEnv).length > 0 ? lifecycleEnv : void 0,
|
|
6154
6165
|
onProcess: (pid) => {
|
|
@@ -6302,6 +6313,7 @@ async function runManualWorktreeSession(config2, issue2, logFile, session, model
|
|
|
6302
6313
|
overseer: config2.overseer,
|
|
6303
6314
|
sessionTimeout: config2.loop.session_timeout,
|
|
6304
6315
|
outputStallTimeout: config2.loop.output_stall_timeout,
|
|
6316
|
+
providerOptions: resolveProviderOptions(config2),
|
|
6305
6317
|
env: Object.keys(lifecycleEnv).length > 0 ? lifecycleEnv : void 0,
|
|
6306
6318
|
onProcess: (pid) => {
|
|
6307
6319
|
activeProviderPids.set(issue2.id, pid);
|
|
@@ -6689,6 +6701,7 @@ async function runBranchSession(config2, issue2, logFile, session, models) {
|
|
|
6689
6701
|
overseer: config2.overseer,
|
|
6690
6702
|
sessionTimeout: config2.loop.session_timeout,
|
|
6691
6703
|
outputStallTimeout: config2.loop.output_stall_timeout,
|
|
6704
|
+
providerOptions: resolveProviderOptions(config2),
|
|
6692
6705
|
env: Object.keys(lifecycleEnv).length > 0 ? lifecycleEnv : void 0,
|
|
6693
6706
|
onProcess: (pid) => {
|
|
6694
6707
|
activeProviderPids.set(issue2.id, pid);
|