@tarcisiopgs/lisa 1.24.0 → 1.25.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/{chunk-LAJNLRXO.js → chunk-AGYOJQBR.js} +6 -1
- package/dist/{chunk-ZAYL7SJN.js → chunk-CDI22S63.js} +4 -4
- package/dist/{detection-LALQE6Q3.js → detection-OWEDBW7B.js} +3 -1
- package/dist/{guardrails-EMOWZNS7.js → guardrails-6IG2C4KJ.js} +1 -1
- package/dist/index.js +886 -930
- package/dist/{kanban-4RXAHUGZ.js → kanban-5PKNYB7M.js} +13 -6
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ import * as clack from "@clack/prompts";
|
|
|
11
11
|
import { execa } from "execa";
|
|
12
12
|
|
|
13
13
|
// src/git/pr-body.ts
|
|
14
|
-
var PROVIDER_ATTRIBUTION_RE = /claude\.ai|claude\s+code|gemini\s+cli|openai\s+codex|\bgoose\b|\baider\b|github\s+copilot|cursor\s+agent|\bopencode\b/i;
|
|
14
|
+
var PROVIDER_ATTRIBUTION_RE = /claude\.ai|claude\s+code|\banthropic\b|gemini\s+cli|\bgoogle\s+gemini\b|openai\s+codex|\bopenai\b|\bgoose\b|\baider\b|github\s+copilot|cursor\s+agent|\bopencode\b|\blisa\b/i;
|
|
15
15
|
var AI_COAUTHOR_RE = /co-authored-by:[^\n]*(anthropic|claude|gemini|openai|codex|goose|aider|copilot|cursor|google)/i;
|
|
16
16
|
function stripProviderAttribution(body) {
|
|
17
17
|
let result = body;
|
|
@@ -182,6 +182,10 @@ function fetchCursorModels() {
|
|
|
182
182
|
return CURSOR_PREFERRED_MODELS;
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
|
+
var COPILOT_PREFERRED_MODELS = ["claude-haiku-4.5", "gpt-5-mini", "gpt-4.1"];
|
|
186
|
+
function fetchCopilotModels() {
|
|
187
|
+
return COPILOT_PREFERRED_MODELS;
|
|
188
|
+
}
|
|
185
189
|
function fetchOpenCodeModels() {
|
|
186
190
|
try {
|
|
187
191
|
const raw = execSync("opencode models", { encoding: "utf-8", timeout: 1e4 });
|
|
@@ -345,6 +349,7 @@ export {
|
|
|
345
349
|
getVersion,
|
|
346
350
|
isCursorFreePlan,
|
|
347
351
|
fetchCursorModels,
|
|
352
|
+
fetchCopilotModels,
|
|
348
353
|
fetchOpenCodeModels,
|
|
349
354
|
detectPlatformFromRemoteUrl,
|
|
350
355
|
detectPlatform,
|
|
@@ -69,7 +69,7 @@ function appendEntrySync(dir, entry) {
|
|
|
69
69
|
const newEntryText = formatEntry(entry);
|
|
70
70
|
let content;
|
|
71
71
|
if (!existing.trim()) {
|
|
72
|
-
content = `# Guardrails \u2014
|
|
72
|
+
content = `# Guardrails \u2014 Lessons learned
|
|
73
73
|
|
|
74
74
|
${newEntryText}`;
|
|
75
75
|
} else {
|
|
@@ -96,7 +96,7 @@ function appendRawEntrySync(dir, entryText) {
|
|
|
96
96
|
const existing = existsSync(path) ? readFileSync(path, "utf-8") : "";
|
|
97
97
|
let content;
|
|
98
98
|
if (!existing.trim()) {
|
|
99
|
-
content = `# Guardrails \u2014
|
|
99
|
+
content = `# Guardrails \u2014 Lessons learned
|
|
100
100
|
|
|
101
101
|
${entryText}`;
|
|
102
102
|
} else {
|
|
@@ -114,8 +114,8 @@ function formatEntry(entry) {
|
|
|
114
114
|
return [
|
|
115
115
|
`## Issue ${entry.issueId} (${entry.date})`,
|
|
116
116
|
`- Provider: ${entry.provider}`,
|
|
117
|
-
`-
|
|
118
|
-
`-
|
|
117
|
+
`- Error: ${entry.errorType}`,
|
|
118
|
+
`- Context:`,
|
|
119
119
|
"```",
|
|
120
120
|
entry.context,
|
|
121
121
|
"```"
|
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
detectGitRepos,
|
|
5
5
|
detectPlatform,
|
|
6
6
|
detectPlatformFromRemoteUrl,
|
|
7
|
+
fetchCopilotModels,
|
|
7
8
|
fetchCursorModels,
|
|
8
9
|
fetchOpenCodeModels,
|
|
9
10
|
getGitRepoName,
|
|
@@ -11,12 +12,13 @@ import {
|
|
|
11
12
|
getVersion,
|
|
12
13
|
isCursorFreePlan,
|
|
13
14
|
verifyPlatformCredential
|
|
14
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-AGYOJQBR.js";
|
|
15
16
|
export {
|
|
16
17
|
detectDefaultBranch,
|
|
17
18
|
detectGitRepos,
|
|
18
19
|
detectPlatform,
|
|
19
20
|
detectPlatformFromRemoteUrl,
|
|
21
|
+
fetchCopilotModels,
|
|
20
22
|
fetchCursorModels,
|
|
21
23
|
fetchOpenCodeModels,
|
|
22
24
|
getGitRepoName,
|