@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.
Files changed (79) hide show
  1. package/dist/cli/remote-environment-catalog.d.ts +17 -0
  2. package/dist/cli/remote-environment-catalog.d.ts.map +1 -0
  3. package/dist/cli/remote-environment-catalog.js +175 -0
  4. package/dist/cli/remote-environment-catalog.js.map +1 -0
  5. package/dist/cli/remote-environment-contract.d.ts +94 -0
  6. package/dist/cli/remote-environment-contract.d.ts.map +1 -0
  7. package/dist/cli/remote-environment-contract.js +58 -0
  8. package/dist/cli/remote-environment-contract.js.map +1 -0
  9. package/dist/cli/remote-environment-detection.d.ts +23 -0
  10. package/dist/cli/remote-environment-detection.d.ts.map +1 -0
  11. package/dist/cli/remote-environment-detection.js +120 -0
  12. package/dist/cli/remote-environment-detection.js.map +1 -0
  13. package/dist/cli/remote-environment.d.ts +12 -0
  14. package/dist/cli/remote-environment.d.ts.map +1 -0
  15. package/dist/cli/remote-environment.js +73 -0
  16. package/dist/cli/remote-environment.js.map +1 -0
  17. package/dist/cli/ui-cmd.d.ts +2 -19
  18. package/dist/cli/ui-cmd.d.ts.map +1 -1
  19. package/dist/cli/ui-cmd.js +6 -34
  20. package/dist/cli/ui-cmd.js.map +1 -1
  21. package/package.json +1 -1
  22. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  23. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  24. package/plugins/lisa/.codex-plugin/skills/lisa-generate-claude-remote-build-script/SKILL.md +23 -8
  25. package/plugins/lisa/skills/lisa-generate-claude-remote-build-script/SKILL.md +23 -8
  26. package/plugins/lisa-agy/plugin.json +1 -1
  27. package/plugins/lisa-agy/skills/lisa-generate-claude-remote-build-script/SKILL.md +23 -8
  28. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  29. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  30. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  31. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  32. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  33. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  34. package/plugins/lisa-copilot/skills/lisa-generate-claude-remote-build-script/SKILL.md +23 -8
  35. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  36. package/plugins/lisa-cursor/skills/lisa-generate-claude-remote-build-script/SKILL.md +23 -8
  37. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  38. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  39. package/plugins/lisa-expo-agy/plugin.json +1 -1
  40. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  41. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  42. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  43. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  44. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  45. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  46. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  47. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  48. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  49. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  50. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  51. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  52. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  53. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  54. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  55. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  56. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  57. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  58. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  59. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  60. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  61. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  62. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  63. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  64. package/plugins/lisa-rails-agy/plugin.json +1 -1
  65. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  66. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  67. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  68. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  69. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  70. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  71. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  72. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  73. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  74. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  75. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  76. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  77. package/plugins/src/base/skills/lisa-generate-claude-remote-build-script/SKILL.md +23 -8
  78. package/ui/README.md +28 -1
  79. package/ui/index.html +110 -105
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "NestJS-specific skills and migration write-protection hooks.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-openclaw",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-openclaw",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, across Claude and Codex.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-openclaw",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-openclaw",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-openclaw",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "Ruby on Rails-specific skills and hooks for RuboCop and ast-grep scanning on edit.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "TypeScript-specific hooks for formatting, linting, and ast-grep scanning on edit.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "Distributable LLM Wiki kernel — ingest, query, lint, and maintain a git-native markdown knowledge base across Claude and Codex.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "2.229.2",
3
+ "version": "2.230.1",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -7,8 +7,9 @@ allowed-tools: ["Skill", "Bash", "Read", "Write", "Glob", "Grep"]
7
7
  # Generate Claude Remote Build Script: $ARGUMENTS
8
8
 
9
9
  Produce the artifacts a user pastes into a **Claude Code remote routine environment** so this repo
10
- runs in the cloud: a setup/build script that installs everything the environment needs, plus an
11
- environment-variable template and a network-allowlist list.
10
+ runs in the cloud: a setup/build script that installs everything the environment needs, an
11
+ environment-variable template, a network-allowlist list, and the names-only
12
+ `.lisa/remote-environment.json` contract consumed by `lisa ui`.
12
13
 
13
14
  ## Purpose
14
15
 
@@ -97,6 +98,17 @@ tracker/source, plus the host project's own package manager and tooling — not
97
98
  profile implementation. Add `bash scripts/remote-agent-aws-setup.sh` to the
98
99
  generated cloud setup after required package installation.
99
100
 
101
+ 3c. **Write the project-aware console contract.** Write
102
+ `.lisa/remote-environment.json` from the same fresh inventory. Its `variables`
103
+ array must contain only entries that are `required: true` for this project and
104
+ its active integrations; omit optional, conditional, and dormant integrations.
105
+ Each entry contains `name`, `reason`, `source`, `secret`, and `required`, but
106
+ never a value. Set `startupScripts.claude` to the generated `--out` path. Do
107
+ not add AWS merely because Lisa ships AWS support: add
108
+ `LISA_AWS_BOOTSTRAP_JSON` only when the inventory reports active AWS usage.
109
+ Preserve any valid startup-script entries for other agents that already exist
110
+ in the manifest.
111
+
100
112
  4. **Emit the allowlist + gaps notice.** List any custom domains the setup or runtime reaches
101
113
  (from `networkAccess.allowlistDomains`, falling back to legacy `allowlistDomains`) that the user
102
114
  must add when the environment needs Custom network access. Do not include default Trusted domains
@@ -106,10 +118,13 @@ tracker/source, plus the host project's own package manager and tooling — not
106
118
  **cannot** fix.
107
119
 
108
120
  5. **Write and report.** Write the script to `--out` (default `scripts/claude-remote-setup.sh`),
109
- `chmod +x` it, and print: the path, a one-line summary of what it installs and which env vars to
110
- set, and the exact next step (paste its contents or a `bash scripts/claude-remote-setup.sh`
111
- invocation — into the routine environment's setup script, and add the env vars in the
112
- environment config). When `--print` is passed, print to stdout and do not write a file.
121
+ `chmod +x` it, and write `.lisa/remote-environment.json`. Print both paths, a
122
+ one-line summary of what the script installs and which env vars to set, and
123
+ the exact next step (paste its contents or a
124
+ `bash scripts/claude-remote-setup.sh` invocation into the routine
125
+ environment's setup script, and add the env vars in the environment config).
126
+ When `--print` is passed, print the script to stdout and do not write either
127
+ file.
113
128
 
114
129
  ## Generated script shape
115
130
 
@@ -192,8 +207,8 @@ to stop are: the analysis could not run, or the `--out` path is not writable.
192
207
 
193
208
  ## Rules
194
209
 
195
- - Always derive the script from a fresh `/lisa:analyze-claude-remote` run — never from a stale or
196
- assumed inventory.
210
+ - Always derive the script and `.lisa/remote-environment.json` from a fresh
211
+ `/lisa:analyze-claude-remote` run — never from a stale or assumed inventory.
197
212
  - Never write real secret values into the script or template — names and placeholders only.
198
213
  - For active tracker/source credentials, carry the analysis's `Acquire:` URL and `Access:` scope into
199
214
  the template as comments, and emit only the env-var form of the name — never a keychain command.
package/ui/README.md CHANGED
@@ -157,6 +157,33 @@ Results render as a per-check table (pass / warn / fail, with the layer that
157
157
  produced each finding), and the last full check's date + verdict stays
158
158
  visible in the section.
159
159
 
160
+ ### Remote-environment requirements
161
+
162
+ The console derives required remote-environment variables from the active
163
+ tracker/source, detected project types, and integration signals in the host
164
+ project. Projects can extend or override startup-artifact discovery with
165
+ `.lisa/remote-environment.json`:
166
+
167
+ ```json
168
+ {
169
+ "variables": [
170
+ {
171
+ "name": "PROJECT_API_TOKEN",
172
+ "reason": "Project-specific service access",
173
+ "secret": true,
174
+ "required": true
175
+ }
176
+ ],
177
+ "startupScripts": {
178
+ "claude": "scripts/claude-remote-setup.sh",
179
+ "codex": "scripts/codex-remote-setup.sh"
180
+ }
181
+ }
182
+ ```
183
+
184
+ Only required entries are displayed. Secret values are never read into the
185
+ browser payload; the server exposes names and boolean presence only.
186
+
160
187
  ## What it catalogs
161
188
 
162
189
  | Section | Source of truth in this repo |
@@ -168,7 +195,7 @@ visible in the section.
168
195
  | General (`harness`, `tracker`, `source`, `repo`, package manager) | `src/core/config.ts`, `plugins/src/base/rules/reference/config-resolution.md` |
169
196
  | Project types (8 stacks + template strategies) | `src/detection/`, `src/strategies/`, `<stack>/` template dirs |
170
197
  | Coding agents (claude/codex/cursor/agy/copilot/opencode/fleet) | `src/core/lisa.ts`, `scripts/generate-*-plugin-artifacts.mjs` |
171
- | Remote Environment (variable presence + active-agent startup scripts) | `src/cli/ui-cmd.ts`, `plugins/src/base/scripts/remote-agent-aws-setup.sh` |
198
+ | Remote Environment (project-aware variable presence + active-agent startup scripts) | `src/cli/remote-environment.ts`, `.lisa/remote-environment.json`, detected config/types/integrations |
172
199
  | Work tracker (JIRA / GitHub Issues / Linear) | `config-resolution.md`, `lisa-setup-*` skills |
173
200
  | PRD source (Notion / Confluence / Linear / GitHub) | `config-resolution.md`, `lisa-setup-*` skills |
174
201
  | Deploy & environments (`deploy.*`, `github.environments`) | `scripts/lisa-github-environments.sh` |