@codyswann/lisa 2.229.2 → 2.230.1
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/cli/remote-environment-catalog.d.ts +17 -0
- package/dist/cli/remote-environment-catalog.d.ts.map +1 -0
- package/dist/cli/remote-environment-catalog.js +175 -0
- package/dist/cli/remote-environment-catalog.js.map +1 -0
- package/dist/cli/remote-environment-contract.d.ts +94 -0
- package/dist/cli/remote-environment-contract.d.ts.map +1 -0
- package/dist/cli/remote-environment-contract.js +58 -0
- package/dist/cli/remote-environment-contract.js.map +1 -0
- package/dist/cli/remote-environment-detection.d.ts +23 -0
- package/dist/cli/remote-environment-detection.d.ts.map +1 -0
- package/dist/cli/remote-environment-detection.js +120 -0
- package/dist/cli/remote-environment-detection.js.map +1 -0
- package/dist/cli/remote-environment.d.ts +12 -0
- package/dist/cli/remote-environment.d.ts.map +1 -0
- package/dist/cli/remote-environment.js +73 -0
- package/dist/cli/remote-environment.js.map +1 -0
- package/dist/cli/ui-cmd.d.ts +2 -19
- package/dist/cli/ui-cmd.d.ts.map +1 -1
- package/dist/cli/ui-cmd.js +6 -34
- package/dist/cli/ui-cmd.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-generate-claude-remote-build-script/SKILL.md +23 -8
- package/plugins/lisa/skills/lisa-generate-claude-remote-build-script/SKILL.md +23 -8
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/skills/lisa-generate-claude-remote-build-script/SKILL.md +23 -8
- 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-generate-claude-remote-build-script/SKILL.md +23 -8
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/skills/lisa-generate-claude-remote-build-script/SKILL.md +23 -8
- 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-generate-claude-remote-build-script/SKILL.md +23 -8
- package/ui/README.md +28 -1
- package/ui/index.html +110 -105
package/ui/index.html
CHANGED
|
@@ -366,6 +366,13 @@
|
|
|
366
366
|
border-color: var(--good);
|
|
367
367
|
color: #fff;
|
|
368
368
|
}
|
|
369
|
+
.ck:disabled {
|
|
370
|
+
cursor: not-allowed;
|
|
371
|
+
opacity: 0.65;
|
|
372
|
+
}
|
|
373
|
+
.ck:disabled:hover {
|
|
374
|
+
border-color: var(--line-strong);
|
|
375
|
+
}
|
|
369
376
|
.check-content {
|
|
370
377
|
flex: 1;
|
|
371
378
|
min-width: 0;
|
|
@@ -732,6 +739,17 @@
|
|
|
732
739
|
.action-btn:hover {
|
|
733
740
|
background: var(--accent-soft);
|
|
734
741
|
}
|
|
742
|
+
.action-btn:disabled {
|
|
743
|
+
border-color: var(--line-strong);
|
|
744
|
+
color: var(--muted);
|
|
745
|
+
background: var(--surface2);
|
|
746
|
+
cursor: not-allowed;
|
|
747
|
+
}
|
|
748
|
+
.readonly-reason {
|
|
749
|
+
display: block;
|
|
750
|
+
margin-top: 6px;
|
|
751
|
+
max-width: 28ch;
|
|
752
|
+
}
|
|
735
753
|
|
|
736
754
|
.envmap {
|
|
737
755
|
display: grid;
|
|
@@ -1078,6 +1096,11 @@
|
|
|
1078
1096
|
background: var(--accent);
|
|
1079
1097
|
color: var(--accent-ink);
|
|
1080
1098
|
}
|
|
1099
|
+
.savebar .save:disabled {
|
|
1100
|
+
background: var(--surface2);
|
|
1101
|
+
color: var(--muted);
|
|
1102
|
+
cursor: not-allowed;
|
|
1103
|
+
}
|
|
1081
1104
|
|
|
1082
1105
|
.toast {
|
|
1083
1106
|
position: fixed;
|
|
@@ -1265,11 +1288,21 @@
|
|
|
1265
1288
|
></span
|
|
1266
1289
|
>
|
|
1267
1290
|
<button class="discard" id="discardBtn" type="button">Discard</button>
|
|
1268
|
-
<button
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1291
|
+
<button
|
|
1292
|
+
class="save"
|
|
1293
|
+
id="saveBtn"
|
|
1294
|
+
type="button"
|
|
1295
|
+
disabled
|
|
1296
|
+
title="read-only: the write-path has not shipped yet"
|
|
1297
|
+
aria-describedby="saveReadonlyReason"
|
|
1298
|
+
>
|
|
1299
|
+
Save changes
|
|
1300
|
+
</button>
|
|
1301
|
+
<span class="status-why readonly-reason" id="saveReadonlyReason">
|
|
1302
|
+
read-only: the write-path has not shipped yet
|
|
1303
|
+
</span>
|
|
1272
1304
|
</div>
|
|
1305
|
+
<div class="toast" id="toast"></div>
|
|
1273
1306
|
<script>
|
|
1274
1307
|
"use strict";
|
|
1275
1308
|
document.title = "Lisa Console — Project Settings";
|
|
@@ -1807,8 +1840,8 @@
|
|
|
1807
1840
|
control: {
|
|
1808
1841
|
type: "button",
|
|
1809
1842
|
label: "Run health check",
|
|
1810
|
-
|
|
1811
|
-
|
|
1843
|
+
disabled: true,
|
|
1844
|
+
reason: "read-only: the health engine has not shipped yet",
|
|
1812
1845
|
},
|
|
1813
1846
|
},
|
|
1814
1847
|
{
|
|
@@ -2280,7 +2313,8 @@
|
|
|
2280
2313
|
control: {
|
|
2281
2314
|
type: "button",
|
|
2282
2315
|
label: "Sync now",
|
|
2283
|
-
|
|
2316
|
+
disabled: true,
|
|
2317
|
+
reason: "read-only: starter sync has not shipped yet",
|
|
2284
2318
|
},
|
|
2285
2319
|
},
|
|
2286
2320
|
],
|
|
@@ -2403,26 +2437,26 @@
|
|
|
2403
2437
|
/* -------------------------- Remote environment -------------------------- */
|
|
2404
2438
|
DATA.sections.remote = {
|
|
2405
2439
|
title: "Remote Environment",
|
|
2406
|
-
desc: "
|
|
2407
|
-
src: "
|
|
2440
|
+
desc: "Remote coding-environment requirements detected for this project, its project types, and its active integrations. Values are never sent to the browser — the console receives presence checks only.",
|
|
2441
|
+
src: ".lisa/remote-environment.json · project config · detected integrations",
|
|
2408
2442
|
blocks: [
|
|
2409
2443
|
{
|
|
2410
2444
|
type: "table",
|
|
2411
2445
|
card: "Variables",
|
|
2412
|
-
note: "
|
|
2413
|
-
cols: ["Variable", "
|
|
2446
|
+
note: "Only required variables are listed; status reflects the lisa ui process and values remain hidden",
|
|
2447
|
+
cols: ["Variable", "Why required", "Detected from", "Status"],
|
|
2414
2448
|
rows: [],
|
|
2415
2449
|
},
|
|
2416
2450
|
{
|
|
2417
2451
|
type: "table",
|
|
2418
2452
|
card: "Startup Script",
|
|
2419
2453
|
note: "Only agents enabled by the current harness are listed",
|
|
2420
|
-
cols: ["Agent", "
|
|
2454
|
+
cols: ["Agent", "Project startup artifact", "Status"],
|
|
2421
2455
|
rows: [],
|
|
2422
2456
|
},
|
|
2423
2457
|
{
|
|
2424
2458
|
type: "callout",
|
|
2425
|
-
text: "<b>
|
|
2459
|
+
text: "<b>Project-aware by design.</b> Lisa combines the active tracker/source, detected project types, integration signals, and an optional <code>.lisa/remote-environment.json</code> project contract. A credential is never listed merely because Lisa knows how to support it.",
|
|
2426
2460
|
},
|
|
2427
2461
|
],
|
|
2428
2462
|
};
|
|
@@ -5399,10 +5433,27 @@
|
|
|
5399
5433
|
} else if (control.type === "button") {
|
|
5400
5434
|
const b = el("button", "action-btn", esc(control.label));
|
|
5401
5435
|
b.type = "button";
|
|
5402
|
-
|
|
5403
|
-
|
|
5404
|
-
|
|
5436
|
+
if (control.disabled) {
|
|
5437
|
+
b.disabled = true;
|
|
5438
|
+
if (control.reason) {
|
|
5439
|
+
b.title = control.reason;
|
|
5440
|
+
b.setAttribute("aria-describedby", id + "-reason");
|
|
5441
|
+
}
|
|
5442
|
+
} else {
|
|
5443
|
+
b.addEventListener("click", () =>
|
|
5444
|
+
showToast(control.toast || "Prototype action")
|
|
5445
|
+
);
|
|
5446
|
+
}
|
|
5405
5447
|
wrap.appendChild(b);
|
|
5448
|
+
if (control.disabled && control.reason) {
|
|
5449
|
+
const reason = el(
|
|
5450
|
+
"span",
|
|
5451
|
+
"status-why readonly-reason",
|
|
5452
|
+
esc(control.reason)
|
|
5453
|
+
);
|
|
5454
|
+
reason.id = id + "-reason";
|
|
5455
|
+
wrap.appendChild(reason);
|
|
5456
|
+
}
|
|
5406
5457
|
} else if (control.type === "static") {
|
|
5407
5458
|
wrap.appendChild(
|
|
5408
5459
|
el("span", control.cls === "mono" ? "mono" : "", esc(control.value))
|
|
@@ -5704,17 +5755,19 @@
|
|
|
5704
5755
|
if (!isDone && item.why) {
|
|
5705
5756
|
right.appendChild(el("span", "status-why", esc(item.why)));
|
|
5706
5757
|
}
|
|
5758
|
+
right.appendChild(
|
|
5759
|
+
el(
|
|
5760
|
+
"span",
|
|
5761
|
+
"status-why",
|
|
5762
|
+
"read-only: setup checklist state has not shipped yet"
|
|
5763
|
+
)
|
|
5764
|
+
);
|
|
5707
5765
|
};
|
|
5708
5766
|
const ck = el("button", "ck");
|
|
5709
5767
|
ck.type = "button";
|
|
5710
|
-
ck.
|
|
5711
|
-
ck.
|
|
5712
|
-
ck.
|
|
5713
|
-
row.classList.toggle("done");
|
|
5714
|
-
refreshRight();
|
|
5715
|
-
refreshNote();
|
|
5716
|
-
markDirty("setup·" + item.label, null);
|
|
5717
|
-
});
|
|
5768
|
+
ck.disabled = true;
|
|
5769
|
+
ck.title = "read-only: setup checklist state has not shipped yet";
|
|
5770
|
+
ck.setAttribute("aria-label", item.label + " checklist status");
|
|
5718
5771
|
row.appendChild(ck);
|
|
5719
5772
|
const content = el("div", "check-content");
|
|
5720
5773
|
const lab = el("div", "check-label", esc(item.label));
|
|
@@ -5870,48 +5923,11 @@
|
|
|
5870
5923
|
"copilot",
|
|
5871
5924
|
"opencode",
|
|
5872
5925
|
];
|
|
5873
|
-
const REMOTE_STARTUP = {
|
|
5874
|
-
claude: {
|
|
5875
|
-
command:
|
|
5876
|
-
"LISA_REMOTE_AGENT=claude bash scripts/remote-agent-aws-setup.sh",
|
|
5877
|
-
artifacts: ["scripts/remote-agent-aws-setup.sh"],
|
|
5878
|
-
},
|
|
5879
|
-
codex: {
|
|
5880
|
-
command:
|
|
5881
|
-
"LISA_REMOTE_AGENT=codex bash scripts/remote-agent-aws-setup.sh",
|
|
5882
|
-
artifacts: ["scripts/remote-agent-aws-setup.sh"],
|
|
5883
|
-
},
|
|
5884
|
-
cursor: {
|
|
5885
|
-
command:
|
|
5886
|
-
".cursor/environment.json → LISA_REMOTE_AGENT=cursor bash scripts/remote-agent-aws-setup.sh",
|
|
5887
|
-
artifacts: [
|
|
5888
|
-
"scripts/remote-agent-aws-setup.sh",
|
|
5889
|
-
".cursor/environment.json",
|
|
5890
|
-
],
|
|
5891
|
-
},
|
|
5892
|
-
agy: {
|
|
5893
|
-
command:
|
|
5894
|
-
"LISA_REMOTE_AGENT=agy bash scripts/remote-agent-aws-setup.sh (user-managed host)",
|
|
5895
|
-
artifacts: ["scripts/remote-agent-aws-setup.sh"],
|
|
5896
|
-
},
|
|
5897
|
-
copilot: {
|
|
5898
|
-
command:
|
|
5899
|
-
".github/workflows/copilot-setup-steps.yml → bash scripts/remote-agent-aws-setup.sh",
|
|
5900
|
-
artifacts: [
|
|
5901
|
-
"scripts/remote-agent-aws-setup.sh",
|
|
5902
|
-
".github/workflows/copilot-setup-steps.yml",
|
|
5903
|
-
],
|
|
5904
|
-
},
|
|
5905
|
-
opencode: {
|
|
5906
|
-
command:
|
|
5907
|
-
"LISA_REMOTE_AGENT=opencode bash scripts/remote-agent-aws-setup.sh (opencode serve host)",
|
|
5908
|
-
artifacts: ["scripts/remote-agent-aws-setup.sh"],
|
|
5909
|
-
},
|
|
5910
|
-
};
|
|
5911
5926
|
function configureRemoteEnvironment(cfg) {
|
|
5912
5927
|
const snapshot = window.LISA_REMOTE_ENVIRONMENT || {
|
|
5913
|
-
|
|
5914
|
-
|
|
5928
|
+
projectTypes: [],
|
|
5929
|
+
variables: [],
|
|
5930
|
+
startupScripts: [],
|
|
5915
5931
|
};
|
|
5916
5932
|
const harness = cfg && cfg.harness ? cfg.harness : "fleet";
|
|
5917
5933
|
const activeAgents =
|
|
@@ -5920,50 +5936,46 @@
|
|
|
5920
5936
|
: REMOTE_AGENT_ORDER.includes(harness)
|
|
5921
5937
|
? [harness]
|
|
5922
5938
|
: ["claude"];
|
|
5923
|
-
const variableRows = [
|
|
5924
|
-
|
|
5925
|
-
|
|
5926
|
-
|
|
5927
|
-
|
|
5928
|
-
|
|
5929
|
-
"
|
|
5930
|
-
|
|
5931
|
-
|
|
5932
|
-
|
|
5933
|
-
|
|
5934
|
-
|
|
5935
|
-
],
|
|
5936
|
-
].map(([name, purpose]) => {
|
|
5937
|
-
const isSet = snapshot.variables[name] === true;
|
|
5938
|
-
return [
|
|
5939
|
-
{ t: "mono", v: name },
|
|
5940
|
-
{ t: "text", v: purpose },
|
|
5939
|
+
const variableRows = snapshot.variables.map(variable => [
|
|
5940
|
+
{ t: "mono", v: variable.name },
|
|
5941
|
+
{ t: "text", v: variable.reason },
|
|
5942
|
+
{ t: "text", v: variable.source },
|
|
5943
|
+
{
|
|
5944
|
+
t: "badge",
|
|
5945
|
+
v: variable.set ? "set" : "not set",
|
|
5946
|
+
cls: variable.set ? "pass" : "fail",
|
|
5947
|
+
},
|
|
5948
|
+
]);
|
|
5949
|
+
if (variableRows.length === 0) {
|
|
5950
|
+
variableRows.push([
|
|
5941
5951
|
{
|
|
5942
|
-
t: "
|
|
5943
|
-
v:
|
|
5944
|
-
cls: isSet
|
|
5945
|
-
? "pass"
|
|
5946
|
-
: name.endsWith("DEFAULT_PROFILE")
|
|
5947
|
-
? "warn"
|
|
5948
|
-
: "fail",
|
|
5952
|
+
t: "text",
|
|
5953
|
+
v: "No project-specific remote variables detected",
|
|
5949
5954
|
},
|
|
5950
|
-
|
|
5951
|
-
|
|
5955
|
+
{ t: "text", v: "—" },
|
|
5956
|
+
{ t: "text", v: "—" },
|
|
5957
|
+
{ t: "badge", v: "none", cls: "default" },
|
|
5958
|
+
]);
|
|
5959
|
+
}
|
|
5952
5960
|
const startupRows = activeAgents.map(agent => {
|
|
5953
|
-
const startup =
|
|
5954
|
-
|
|
5955
|
-
|
|
5956
|
-
);
|
|
5961
|
+
const startup = snapshot.startupScripts.find(
|
|
5962
|
+
candidate => candidate.agent === agent
|
|
5963
|
+
) || { agent, installed: false };
|
|
5957
5964
|
return [
|
|
5958
5965
|
{ t: "mono", v: agent },
|
|
5959
|
-
{ t: "mono", v: startup.
|
|
5966
|
+
{ t: "mono", v: startup.artifact || "Not configured" },
|
|
5960
5967
|
{
|
|
5961
5968
|
t: "badge",
|
|
5962
|
-
v:
|
|
5963
|
-
cls:
|
|
5969
|
+
v: startup.installed ? "installed" : "missing",
|
|
5970
|
+
cls: startup.installed ? "pass" : "fail",
|
|
5964
5971
|
},
|
|
5965
5972
|
];
|
|
5966
5973
|
});
|
|
5974
|
+
const projectTypes = snapshot.projectTypes || [];
|
|
5975
|
+
DATA.sections.remote.blocks[0].note =
|
|
5976
|
+
"Required for this project (" +
|
|
5977
|
+
(projectTypes.length ? projectTypes.join(", ") : "no Lisa type") +
|
|
5978
|
+
"); values remain hidden";
|
|
5967
5979
|
DATA.sections.remote.blocks[0].rows = variableRows;
|
|
5968
5980
|
DATA.sections.remote.blocks[1].rows = startupRows;
|
|
5969
5981
|
}
|
|
@@ -6119,13 +6131,6 @@
|
|
|
6119
6131
|
}
|
|
6120
6132
|
});
|
|
6121
6133
|
|
|
6122
|
-
document.getElementById("saveBtn").addEventListener("click", () => {
|
|
6123
|
-
clearDirty();
|
|
6124
|
-
document
|
|
6125
|
-
.querySelectorAll(".row.modified")
|
|
6126
|
-
.forEach(r => r.classList.remove("modified"));
|
|
6127
|
-
showToast("Saved — prototype only, nothing was written");
|
|
6128
|
-
});
|
|
6129
6134
|
document.getElementById("discardBtn").addEventListener("click", () => {
|
|
6130
6135
|
clearDirty();
|
|
6131
6136
|
renderAll();
|