@codyswann/lisa 2.286.4 → 2.286.5
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/all/copy-overwrite/scripts/lisa-work-item.mjs +33 -29
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +2 -1
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/dist/migrations/ensure-audit-ignore-local-exclusions.d.ts.map +1 -1
- package/dist/migrations/ensure-audit-ignore-local-exclusions.js +63 -10
- package/dist/migrations/ensure-audit-ignore-local-exclusions.js.map +1 -1
- package/package.json +1 -1
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-agy/plugin.json +1 -1
- package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-agy/plugin.json +1 -1
- package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-agy/plugin.json +1 -1
- package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
|
@@ -46,6 +46,24 @@ function git(args, options = {}) {
|
|
|
46
46
|
return run("git", args, options).stdout.trim();
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
+
function curlConfigValue(value) {
|
|
50
|
+
return `"${String(value)
|
|
51
|
+
.replace(/\\/g, "\\\\")
|
|
52
|
+
.replace(/"/g, '\\"')
|
|
53
|
+
.replace(/\r/g, "\\r")
|
|
54
|
+
.replace(/\n/g, "\\n")}"`;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
function secureCurl(args, entries, options = {}) {
|
|
58
|
+
const input = `${entries
|
|
59
|
+
.map(([name, value]) => `${name} = ${curlConfigValue(value)}`)
|
|
60
|
+
.join("\n")}\n`;
|
|
61
|
+
return run("curl", ["-fsS", "--config", "-", ...args], {
|
|
62
|
+
...options,
|
|
63
|
+
input,
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
|
|
49
67
|
function projectRoot() {
|
|
50
68
|
return git(["rev-parse", "--show-toplevel"]);
|
|
51
69
|
}
|
|
@@ -536,15 +554,11 @@ function jiraIssue(ref, contract) {
|
|
|
536
554
|
const credentials = jiraCredentials(contract);
|
|
537
555
|
if (credentials) {
|
|
538
556
|
const url = `${credentials.baseUrl}/rest/api/3/issue/${encodeURIComponent(ref)}?fields=project,status,labels,components,issuetype,subtasks,comment`;
|
|
539
|
-
const result =
|
|
540
|
-
|
|
557
|
+
const result = secureCurl(
|
|
558
|
+
[url],
|
|
541
559
|
[
|
|
542
|
-
"
|
|
543
|
-
"
|
|
544
|
-
`${credentials.login}:${credentials.token}`,
|
|
545
|
-
"-H",
|
|
546
|
-
"Accept: application/json",
|
|
547
|
-
url,
|
|
560
|
+
["user", `${credentials.login}:${credentials.token}`],
|
|
561
|
+
["header", "Accept: application/json"],
|
|
548
562
|
],
|
|
549
563
|
{ allowFailure: true }
|
|
550
564
|
);
|
|
@@ -680,19 +694,13 @@ function linearIssue(ref, contract) {
|
|
|
680
694
|
const query =
|
|
681
695
|
"query($id:String!){issue(id:$id){id identifier team{key} state{type} labels{nodes{name}} children{nodes{state{type}}} attachments{nodes{url}} comments{nodes{body}}}}";
|
|
682
696
|
const payload = JSON.stringify({ query, variables: { id: ref } });
|
|
683
|
-
const result =
|
|
684
|
-
"
|
|
697
|
+
const result = secureCurl(
|
|
698
|
+
["https://api.linear.app/graphql"],
|
|
685
699
|
[
|
|
686
|
-
"
|
|
687
|
-
"-
|
|
688
|
-
"
|
|
689
|
-
"-
|
|
690
|
-
"Content-Type: application/json",
|
|
691
|
-
"-H",
|
|
692
|
-
`Authorization: ${token}`,
|
|
693
|
-
"--data-binary",
|
|
694
|
-
payload,
|
|
695
|
-
"https://api.linear.app/graphql",
|
|
700
|
+
["request", "POST"],
|
|
701
|
+
["header", "Content-Type: application/json"],
|
|
702
|
+
["header", `Authorization: ${token}`],
|
|
703
|
+
["data-binary", payload],
|
|
696
704
|
],
|
|
697
705
|
{ allowFailure: true }
|
|
698
706
|
);
|
|
@@ -790,15 +798,11 @@ function assertBacklink(
|
|
|
790
798
|
const credentials = jiraCredentials(contract);
|
|
791
799
|
if (credentials) {
|
|
792
800
|
const url = `${credentials.baseUrl}/rest/api/3/issue/${encodeURIComponent(ref)}/remotelink`;
|
|
793
|
-
const result =
|
|
794
|
-
|
|
801
|
+
const result = secureCurl(
|
|
802
|
+
[url],
|
|
795
803
|
[
|
|
796
|
-
"
|
|
797
|
-
"
|
|
798
|
-
`${credentials.login}:${credentials.token}`,
|
|
799
|
-
"-H",
|
|
800
|
-
"Accept: application/json",
|
|
801
|
-
url,
|
|
804
|
+
["user", `${credentials.login}:${credentials.token}`],
|
|
805
|
+
["header", "Accept: application/json"],
|
|
802
806
|
],
|
|
803
807
|
{ allowFailure: true }
|
|
804
808
|
);
|
|
@@ -1092,7 +1096,7 @@ function main() {
|
|
|
1092
1096
|
}
|
|
1093
1097
|
|
|
1094
1098
|
try {
|
|
1095
|
-
|
|
1099
|
+
main();
|
|
1096
1100
|
} catch (error) {
|
|
1097
1101
|
const detail = error instanceof Error ? error.message : String(error);
|
|
1098
1102
|
console.error(
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upstream-evidence-manifest.d.ts","sourceRoot":"","sources":["../../src/core/upstream-evidence-manifest.ts"],"names":[],"mappings":"AACA,iFAAiF;AACjF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAshEpE,CAAC;AAEL,4EAA4E;AAC5E,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"upstream-evidence-manifest.d.ts","sourceRoot":"","sources":["../../src/core/upstream-evidence-manifest.ts"],"names":[],"mappings":"AACA,iFAAiF;AACjF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAshEpE,CAAC;AAEL,4EAA4E;AAC5E,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAwtMjE,CAAC;AAEL,sFAAsF;AACtF,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAk6I/D,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/** Generated by scripts/generate-upstream-evidence-manifest.mjs. Do not edit. */
|
|
3
3
|
export const UPSTREAM_EVIDENCE_MANIFEST = Object.freeze({
|
|
4
4
|
"all/copy-contents/gitignore": "06b56376465d5421db55d0b04958bbc79fdbf33b42f0559fe5ef6875ced1160f",
|
|
5
|
-
"all/copy-overwrite/scripts/lisa-work-item.mjs": "
|
|
5
|
+
"all/copy-overwrite/scripts/lisa-work-item.mjs": "4c263fef48c03b3b6c623ea8a6cd55505bfaf28197e5072226ea35f9f3d26885",
|
|
6
6
|
"all/create-only/.claude/rules/PROJECT_RULES.md": "6e1c7923ad2a15356babc60c97e7f97be728d790af285b6a7cd7d1b4d39cd97f",
|
|
7
7
|
"all/create-only/.lisaignore": "3c9827e7e98daa46510b5357cd6dd9406da1821e64cc46d2eea9f311cd6d06b9",
|
|
8
8
|
"all/create-only/scripts/remote-agent-aws-setup.sh": "7677908a345891810d2104ba8b2fd1a8318bb29c408fb5ce0110d57beef9b556",
|
|
@@ -6829,6 +6829,7 @@ export const UPSTREAM_SURFACE_MANIFEST = Object.freeze({
|
|
|
6829
6829
|
"tests/unit/hooks/verification-failure-mode-fixtures.test.ts": true,
|
|
6830
6830
|
"tests/unit/hooks/work-item-wiring.test.ts": true,
|
|
6831
6831
|
"tests/unit/hooks/worktree-create.test.ts": true,
|
|
6832
|
+
"tests/unit/migrations/ensure-audit-ignore-local-exclusions-esbuild.test.ts": true,
|
|
6832
6833
|
"tests/unit/migrations/ensure-audit-ignore-local-exclusions.test.ts": true,
|
|
6833
6834
|
"tests/unit/migrations/ensure-jest-rn-mock-accessibility-manager.test.ts": true,
|
|
6834
6835
|
"tests/unit/migrations/ensure-lisa-postinstall.test.ts": true,
|