@codyswann/lisa 2.332.1 → 2.332.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 +2 -1
- 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-setup-remote-env/scripts/setup-remote-env.mjs +39 -3
- package/plugins/lisa/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +39 -3
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +39 -3
- 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/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +39 -3
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +39 -3
- 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/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +39 -3
|
@@ -914,9 +914,45 @@ async function main() {
|
|
|
914
914
|
"lisa-secrets-access",
|
|
915
915
|
"materialize-secrets.mjs"
|
|
916
916
|
);
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
917
|
+
// A failure here is fatal only when nothing else will try again.
|
|
918
|
+
//
|
|
919
|
+
// On a surface that materializes at BOTH setup and session start, this run
|
|
920
|
+
// is the floor and the hook is the authority. The two run in different
|
|
921
|
+
// environments: a cloud vendor can expose its configured variables to the
|
|
922
|
+
// agent session while the setup phase — which runs earlier, during image
|
|
923
|
+
// construction — never sees them. That is not an error state, it is the
|
|
924
|
+
// normal shape of `materializeAt: "both"`, and the hook materializes
|
|
925
|
+
// correctly moments later.
|
|
926
|
+
//
|
|
927
|
+
// Treating it as fatal cost an entire environment: setup.sh `exec`s this
|
|
928
|
+
// script, so a non-zero exit fails the vendor's setup step and Claude Code
|
|
929
|
+
// never starts at all. Trading "secrets arrive one phase later" for "the
|
|
930
|
+
// container will not boot" is a bad trade, and it regressed a case that
|
|
931
|
+
// used to work — before this surface materialized at setup, setup simply
|
|
932
|
+
// never attempted it.
|
|
933
|
+
//
|
|
934
|
+
// Every other case keeps the hard failure: an explicit `--phase=secrets`
|
|
935
|
+
// (the hook's own authoritative run) and a setup-only surface such as
|
|
936
|
+
// codex-cloud both have no second chance, so a silent pass there would
|
|
937
|
+
// hand back a session with no credentials and call it ready.
|
|
938
|
+
const retried = !requested && materializesAtSessionStart(materializeAt);
|
|
939
|
+
try {
|
|
940
|
+
execFileSync(
|
|
941
|
+
"node",
|
|
942
|
+
dryRun ? [materialize, "--dry-run"] : [materialize],
|
|
943
|
+
{ stdio: "inherit" }
|
|
944
|
+
);
|
|
945
|
+
} catch (err) {
|
|
946
|
+
if (!retried) throw err;
|
|
947
|
+
console.log(
|
|
948
|
+
`\n Secrets were not materialized during setup, and that is not fatal ` +
|
|
949
|
+
`here.\n This surface also materializes at session start, which runs ` +
|
|
950
|
+
`with the\n session's own environment — the usual reason setup cannot ` +
|
|
951
|
+
`see the\n bootstrap credential. The session-start hook will retry.\n` +
|
|
952
|
+
` If secrets are still missing INSIDE a session, that run is the one ` +
|
|
953
|
+
`to debug.`
|
|
954
|
+
);
|
|
955
|
+
}
|
|
920
956
|
} else if (!requested) {
|
|
921
957
|
console.log(
|
|
922
958
|
`\nSecrets: materialized from a session-start hook on "${surface}", ` +
|