@codyswann/lisa 2.286.3 → 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.
Files changed (58) hide show
  1. package/all/copy-overwrite/scripts/lisa-work-item.mjs +33 -29
  2. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  3. package/dist/core/upstream-evidence-manifest.js +3 -1
  4. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  5. package/dist/migrations/ensure-audit-ignore-local-exclusions.d.ts.map +1 -1
  6. package/dist/migrations/ensure-audit-ignore-local-exclusions.js +63 -10
  7. package/dist/migrations/ensure-audit-ignore-local-exclusions.js.map +1 -1
  8. package/package.json +1 -1
  9. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  10. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  11. package/plugins/lisa-agy/plugin.json +1 -1
  12. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  13. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  14. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  15. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  16. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  17. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  18. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  19. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  20. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  21. package/plugins/lisa-expo-agy/plugin.json +1 -1
  22. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  23. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  24. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  25. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  26. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  27. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  28. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  29. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  30. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  31. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  32. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  33. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  34. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  35. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  36. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  37. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  38. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  39. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  40. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  41. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  42. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  43. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  44. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  45. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  46. package/plugins/lisa-rails-agy/plugin.json +1 -1
  47. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  48. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  49. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  50. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  51. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  52. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  53. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  54. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  55. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  56. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  57. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  58. 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 = run(
540
- "curl",
557
+ const result = secureCurl(
558
+ [url],
541
559
  [
542
- "-fsS",
543
- "-u",
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 = run(
684
- "curl",
697
+ const result = secureCurl(
698
+ ["https://api.linear.app/graphql"],
685
699
  [
686
- "-fsS",
687
- "-X",
688
- "POST",
689
- "-H",
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 = run(
794
- "curl",
801
+ const result = secureCurl(
802
+ [url],
795
803
  [
796
- "-fsS",
797
- "-u",
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
- await main();
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,CAstMjE,CAAC;AAEL,sFAAsF;AACtF,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAk6I/D,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": "f88f69d44693084428f44e3f2b80afecda08c7ee8747588f40277fdc9396fd8f",
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",
@@ -6678,6 +6678,7 @@ export const UPSTREAM_SURFACE_MANIFEST = Object.freeze({
6678
6678
  "tests/unit/cli/index.test.ts": true,
6679
6679
  "tests/unit/cli/kane-cmd.test.ts": true,
6680
6680
  "tests/unit/cli/kane-index.test.ts": true,
6681
+ "tests/unit/cli/prompts.test.ts": true,
6681
6682
  "tests/unit/cli/setup-project.test.ts": true,
6682
6683
  "tests/unit/cli/setup-wiki.test.ts": true,
6683
6684
  "tests/unit/cli/shared-options.test.ts": true,
@@ -6828,6 +6829,7 @@ export const UPSTREAM_SURFACE_MANIFEST = Object.freeze({
6828
6829
  "tests/unit/hooks/verification-failure-mode-fixtures.test.ts": true,
6829
6830
  "tests/unit/hooks/work-item-wiring.test.ts": true,
6830
6831
  "tests/unit/hooks/worktree-create.test.ts": true,
6832
+ "tests/unit/migrations/ensure-audit-ignore-local-exclusions-esbuild.test.ts": true,
6831
6833
  "tests/unit/migrations/ensure-audit-ignore-local-exclusions.test.ts": true,
6832
6834
  "tests/unit/migrations/ensure-jest-rn-mock-accessibility-manager.test.ts": true,
6833
6835
  "tests/unit/migrations/ensure-lisa-postinstall.test.ts": true,