@codyswann/lisa 4.13.1 → 4.13.2
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/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +11 -9
- package/dist/core/upstream-evidence-manifest.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/.codex-plugin/skills/lisa-atlassian-access/SKILL.md +48 -6
- package/plugins/lisa/.codex-plugin/skills/lisa-jam-access/SKILL.md +38 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-notion-access/SKILL.md +47 -6
- package/plugins/lisa/.codex-plugin/skills/lisa-posthog-access/SKILL.md +38 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-sentry-access/SKILL.md +38 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-setup-atlassian/SKILL.md +53 -7
- package/plugins/lisa/.codex-plugin/skills/lisa-setup-notion/SKILL.md +53 -7
- package/plugins/lisa/.codex-plugin/skills/lisa-sonarcloud-access/SKILL.md +49 -7
- package/plugins/lisa/rules/reference/config-resolution.md +43 -6
- package/plugins/lisa/skills/lisa-atlassian-access/SKILL.md +48 -6
- package/plugins/lisa/skills/lisa-jam-access/SKILL.md +38 -2
- package/plugins/lisa/skills/lisa-notion-access/SKILL.md +47 -6
- package/plugins/lisa/skills/lisa-posthog-access/SKILL.md +38 -2
- package/plugins/lisa/skills/lisa-sentry-access/SKILL.md +38 -2
- package/plugins/lisa/skills/lisa-setup-atlassian/SKILL.md +53 -7
- package/plugins/lisa/skills/lisa-setup-notion/SKILL.md +53 -7
- package/plugins/lisa/skills/lisa-sonarcloud-access/SKILL.md +49 -7
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/skills/lisa-atlassian-access/SKILL.md +48 -6
- package/plugins/lisa-agy/skills/lisa-jam-access/SKILL.md +38 -2
- package/plugins/lisa-agy/skills/lisa-notion-access/SKILL.md +47 -6
- package/plugins/lisa-agy/skills/lisa-posthog-access/SKILL.md +38 -2
- package/plugins/lisa-agy/skills/lisa-sentry-access/SKILL.md +38 -2
- package/plugins/lisa-agy/skills/lisa-setup-atlassian/SKILL.md +53 -7
- package/plugins/lisa-agy/skills/lisa-setup-notion/SKILL.md +53 -7
- package/plugins/lisa-agy/skills/lisa-sonarcloud-access/SKILL.md +49 -7
- 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-copilot/rules/reference/config-resolution.md +43 -6
- package/plugins/lisa-copilot/skills/lisa-atlassian-access/SKILL.md +48 -6
- package/plugins/lisa-copilot/skills/lisa-jam-access/SKILL.md +38 -2
- package/plugins/lisa-copilot/skills/lisa-notion-access/SKILL.md +47 -6
- package/plugins/lisa-copilot/skills/lisa-posthog-access/SKILL.md +38 -2
- package/plugins/lisa-copilot/skills/lisa-sentry-access/SKILL.md +38 -2
- package/plugins/lisa-copilot/skills/lisa-setup-atlassian/SKILL.md +53 -7
- package/plugins/lisa-copilot/skills/lisa-setup-notion/SKILL.md +53 -7
- package/plugins/lisa-copilot/skills/lisa-sonarcloud-access/SKILL.md +49 -7
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/rules/config-resolution-reference.mdc +43 -6
- package/plugins/lisa-cursor/skills/lisa-atlassian-access/SKILL.md +48 -6
- package/plugins/lisa-cursor/skills/lisa-jam-access/SKILL.md +38 -2
- package/plugins/lisa-cursor/skills/lisa-notion-access/SKILL.md +47 -6
- package/plugins/lisa-cursor/skills/lisa-posthog-access/SKILL.md +38 -2
- package/plugins/lisa-cursor/skills/lisa-sentry-access/SKILL.md +38 -2
- package/plugins/lisa-cursor/skills/lisa-setup-atlassian/SKILL.md +53 -7
- package/plugins/lisa-cursor/skills/lisa-setup-notion/SKILL.md +53 -7
- package/plugins/lisa-cursor/skills/lisa-sonarcloud-access/SKILL.md +49 -7
- 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
- package/plugins/src/base/rules/reference/config-resolution.md +43 -6
- package/plugins/src/base/skills/lisa-atlassian-access/SKILL.md +48 -6
- package/plugins/src/base/skills/lisa-jam-access/SKILL.md +38 -2
- package/plugins/src/base/skills/lisa-notion-access/SKILL.md +47 -6
- package/plugins/src/base/skills/lisa-posthog-access/SKILL.md +38 -2
- package/plugins/src/base/skills/lisa-sentry-access/SKILL.md +38 -2
- package/plugins/src/base/skills/lisa-setup-atlassian/SKILL.md +53 -7
- package/plugins/src/base/skills/lisa-setup-notion/SKILL.md +53 -7
- package/plugins/src/base/skills/lisa-sonarcloud-access/SKILL.md +49 -7
|
@@ -62,9 +62,38 @@ not the only one:
|
|
|
62
62
|
read_sonar_secret() {
|
|
63
63
|
local name="$1"
|
|
64
64
|
[ -n "${!name:-}" ] && { echo "${!name}"; return; }
|
|
65
|
+
#
|
|
66
|
+
# Ordered repo-first, ending at the plugin's own copy. Repo-relative rungs
|
|
67
|
+
# lead because a project that vendors the resolver has declared which copy it
|
|
68
|
+
# wants used, and that decision must survive this change untouched. The plugin
|
|
69
|
+
# rungs are the floor: `resolve-secret.mjs` ships beside this skill, so a rung
|
|
70
|
+
# pointing at it is reachable from anywhere the plugin itself is installed.
|
|
71
|
+
# Without one, a consumer repository that vendors none of the leading paths
|
|
72
|
+
# never reaches a resolver at all — the ladder exits without having asked
|
|
73
|
+
# anything, which is what pushed agents into improvising their own credential
|
|
74
|
+
# lookups. This LADDER is identical in every skill that resolves a credential
|
|
75
|
+
# and `credential-resolver-ladder` fails if any copy diverges. Only what
|
|
76
|
+
# happens AFTER the ladder may differ between them.
|
|
77
|
+
local candidates=(
|
|
78
|
+
.claude/skills/lisa-secrets-access/scripts/resolve-secret.mjs
|
|
79
|
+
.agents/skills/lisa-secrets-access/scripts/resolve-secret.mjs
|
|
80
|
+
.opencode/skills/lisa/lisa-secrets-access/scripts/resolve-secret.mjs
|
|
81
|
+
.codex/skills/lisa/lisa-secrets-access/scripts/resolve-secret.mjs
|
|
82
|
+
)
|
|
83
|
+
if [ -n "${CLAUDE_PLUGIN_ROOT:-}" ]; then
|
|
84
|
+
candidates+=("$CLAUDE_PLUGIN_ROOT/skills/lisa-secrets-access/scripts/resolve-secret.mjs")
|
|
85
|
+
fi
|
|
86
|
+
if [ -n "${PLUGIN_ROOT:-}" ]; then
|
|
87
|
+
candidates+=("$PLUGIN_ROOT/skills/lisa-secrets-access/scripts/resolve-secret.mjs")
|
|
88
|
+
fi
|
|
89
|
+
# Last rung deliberately needs no environment variable: an agent that was
|
|
90
|
+
# never handed a plugin root still has the installed package to fall back on.
|
|
91
|
+
candidates+=(node_modules/@codyswann/lisa/plugins/lisa/skills/lisa-secrets-access/scripts/resolve-secret.mjs)
|
|
92
|
+
|
|
65
93
|
local resolver
|
|
66
|
-
|
|
67
|
-
|
|
94
|
+
local tried=()
|
|
95
|
+
for resolver in "${candidates[@]}"; do
|
|
96
|
+
tried+=("$resolver")
|
|
68
97
|
if [ -f "$resolver" ]; then
|
|
69
98
|
local via_lisa
|
|
70
99
|
via_lisa=$(node "$resolver" get "$name" 2>/dev/null) \
|
|
@@ -72,6 +101,13 @@ read_sonar_secret() {
|
|
|
72
101
|
break
|
|
73
102
|
fi
|
|
74
103
|
done
|
|
104
|
+
# Name every path. A bare `return 1` sends the next reader hunting for a
|
|
105
|
+
# resolver they cannot see the absence of; the enumeration turns that into a
|
|
106
|
+
# seconds-long diagnosis. Paths and store coordinates only — never any
|
|
107
|
+
# resolved value, on any path.
|
|
108
|
+
echo "Error: could not resolve $name through lisa-secrets-access." >&2
|
|
109
|
+
echo "Tried, in order (relative paths are from $PWD):" >&2
|
|
110
|
+
printf ' %s\n' "${tried[@]}" >&2
|
|
75
111
|
return 1
|
|
76
112
|
}
|
|
77
113
|
|
|
@@ -81,11 +117,17 @@ SONARQUBE_CLI_TOKEN=$(read_sonar_secret SONARQUBE_CLI_TOKEN) && export SONARQUBE
|
|
|
81
117
|
SONARQUBE_CLI_ORG=$(read_sonar_secret SONARQUBE_CLI_ORG) && export SONARQUBE_CLI_ORG
|
|
82
118
|
```
|
|
83
119
|
|
|
84
|
-
`sonar-secrets.sh` runs the same resolution with
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
a timeout, because it sits in front of every
|
|
88
|
-
verbatim when this skill runs inside a hook.
|
|
120
|
+
`sonar-secrets.sh` runs the same resolution with two differences that belong to
|
|
121
|
+
a hook rather than to a skill: it anchors every candidate at `$repo_root` (a
|
|
122
|
+
hook fires from whatever directory the agent happens to be in) and it wraps the
|
|
123
|
+
`resolve-secret.mjs` call in a timeout, because it sits in front of every
|
|
124
|
+
prompt. Use its search order verbatim when this skill runs inside a hook.
|
|
125
|
+
|
|
126
|
+
This paragraph used to claim the hook searched a *longer* path than the ladder
|
|
127
|
+
above. It did — the ladder above stopped after `.agents/`, so in a checkout
|
|
128
|
+
that vendored neither leading path it reached no resolver at all and returned
|
|
129
|
+
without a word. The two now cover the same layouts, and the fix that closed
|
|
130
|
+
that gap is guarded by `credential-resolver-ladder`.
|
|
89
131
|
|
|
90
132
|
Wiring is performed once by `/lisa:setup:sonar` (which drives `sonar integrate
|
|
91
133
|
<agent>`); this access layer assumes the MCP is already wired. This is distinct
|