@codyswann/lisa 2.235.0 → 2.236.0
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/ui-automations-adapters.d.ts +50 -0
- package/dist/cli/ui-automations-adapters.d.ts.map +1 -0
- package/dist/cli/ui-automations-adapters.js +162 -0
- package/dist/cli/ui-automations-adapters.js.map +1 -0
- package/dist/cli/ui-automations.d.ts +89 -0
- package/dist/cli/ui-automations.d.ts.map +1 -0
- package/dist/cli/ui-automations.js +148 -0
- package/dist/cli/ui-automations.js.map +1 -0
- package/dist/cli/ui-cmd.d.ts +5 -0
- package/dist/cli/ui-cmd.d.ts.map +1 -1
- package/dist/cli/ui-cmd.js +17 -0
- package/dist/cli/ui-cmd.js.map +1 -1
- package/dist/cli/ui-deploy-pipeline-model.d.ts +70 -0
- package/dist/cli/ui-deploy-pipeline-model.d.ts.map +1 -0
- package/dist/cli/ui-deploy-pipeline-model.js +127 -0
- package/dist/cli/ui-deploy-pipeline-model.js.map +1 -0
- package/dist/cli/ui-deploy-pipeline.d.ts +25 -0
- package/dist/cli/ui-deploy-pipeline.d.ts.map +1 -0
- package/dist/cli/ui-deploy-pipeline.js +192 -0
- package/dist/cli/ui-deploy-pipeline.js.map +1 -0
- package/dist/cli/ui-detected-stacks.d.ts +20 -0
- package/dist/cli/ui-detected-stacks.d.ts.map +1 -0
- package/dist/cli/ui-detected-stacks.js +28 -0
- package/dist/cli/ui-detected-stacks.js.map +1 -0
- package/dist/cli/ui-enabled-plugins.d.ts +52 -0
- package/dist/cli/ui-enabled-plugins.d.ts.map +1 -0
- package/dist/cli/ui-enabled-plugins.js +253 -0
- package/dist/cli/ui-enabled-plugins.js.map +1 -0
- package/dist/cli/ui-github-repo-expected.d.ts +36 -0
- package/dist/cli/ui-github-repo-expected.d.ts.map +1 -0
- package/dist/cli/ui-github-repo-expected.js +118 -0
- package/dist/cli/ui-github-repo-expected.js.map +1 -0
- package/dist/cli/ui-github-repo-gh.d.ts +36 -0
- package/dist/cli/ui-github-repo-gh.d.ts.map +1 -0
- package/dist/cli/ui-github-repo-gh.js +112 -0
- package/dist/cli/ui-github-repo-gh.js.map +1 -0
- package/dist/cli/ui-github-repo-map.d.ts +25 -0
- package/dist/cli/ui-github-repo-map.d.ts.map +1 -0
- package/dist/cli/ui-github-repo-map.js +150 -0
- package/dist/cli/ui-github-repo-map.js.map +1 -0
- package/dist/cli/ui-github-repo.d.ts +51 -0
- package/dist/cli/ui-github-repo.d.ts.map +1 -0
- package/dist/cli/ui-github-repo.js +117 -0
- package/dist/cli/ui-github-repo.js.map +1 -0
- package/dist/cli/ui-observability-checks.d.ts +23 -0
- package/dist/cli/ui-observability-checks.d.ts.map +1 -0
- package/dist/cli/ui-observability-checks.js +156 -0
- package/dist/cli/ui-observability-checks.js.map +1 -0
- package/dist/cli/ui-observability-providers.d.ts +69 -0
- package/dist/cli/ui-observability-providers.d.ts.map +1 -0
- package/dist/cli/ui-observability-providers.js +99 -0
- package/dist/cli/ui-observability-providers.js.map +1 -0
- 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-agy/plugin.json +1 -1
- 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-cursor/.claude-plugin/plugin.json +1 -1
- 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/ui/README.md +5 -3
- package/ui/index.html +1097 -432
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { defaultCloudWatchCheck, defaultSentryCheck, defaultXRayCheck, } from "./ui-observability-checks.js";
|
|
2
|
+
export const SENTRY_PROBE_ID = "sentry";
|
|
3
|
+
export const CLOUDWATCH_ALARMS_PROBE_ID = "cloudwatch-alarms";
|
|
4
|
+
export const XRAY_PROBE_ID = "x-ray";
|
|
5
|
+
const PROBE_TIMEOUT_MS = 5_000;
|
|
6
|
+
const NOT_AUTHENTICATED = "not-authenticated";
|
|
7
|
+
const SENTRY_UNKNOWN_MESSAGE = "Sentry auth/MCP is not reachable — authenticate Sentry MCP/CLI or set SENTRY_AUTH_TOKEN";
|
|
8
|
+
const AWS_UNKNOWN_MESSAGE = "AWS credentials are not authenticated for this machine";
|
|
9
|
+
/**
|
|
10
|
+
* Map Sentry reachability onto the live-status tri-state.
|
|
11
|
+
* @param outcome - Reachability check result
|
|
12
|
+
* @returns Probe result for the sentry provider
|
|
13
|
+
*/
|
|
14
|
+
export function mapSentryReachability(outcome) {
|
|
15
|
+
if (outcome === "reachable") {
|
|
16
|
+
return { state: "value", value: { status: "connected" } };
|
|
17
|
+
}
|
|
18
|
+
return {
|
|
19
|
+
state: "unknown",
|
|
20
|
+
reason: NOT_AUTHENTICATED,
|
|
21
|
+
message: SENTRY_UNKNOWN_MESSAGE,
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Map an AWS count check onto connected / empty / unknown.
|
|
26
|
+
* @param outcome - Count or not-authenticated
|
|
27
|
+
* @param emptyKind - Whether zero means no alarms or no traces
|
|
28
|
+
* @returns Probe result for CloudWatch or X-Ray
|
|
29
|
+
*/
|
|
30
|
+
export function mapAwsCountCheck(outcome, emptyKind) {
|
|
31
|
+
if (outcome === "not-authenticated") {
|
|
32
|
+
return {
|
|
33
|
+
state: "unknown",
|
|
34
|
+
reason: NOT_AUTHENTICATED,
|
|
35
|
+
message: AWS_UNKNOWN_MESSAGE,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
if (outcome > 0) {
|
|
39
|
+
return { state: "value", value: { status: "connected" } };
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
state: "value",
|
|
43
|
+
value: { status: "connected-but-empty", emptyKind },
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Create the Sentry observability probe.
|
|
48
|
+
* @param options - Injectable collaborators
|
|
49
|
+
* @param options.check - Optional reachability check for focused tests
|
|
50
|
+
* @returns Bounded status probe
|
|
51
|
+
*/
|
|
52
|
+
export function createSentryProbe(options = {}) {
|
|
53
|
+
const check = options.check ?? defaultSentryCheck;
|
|
54
|
+
return {
|
|
55
|
+
id: SENTRY_PROBE_ID,
|
|
56
|
+
timeoutMs: PROBE_TIMEOUT_MS,
|
|
57
|
+
run: async (signal) => mapSentryReachability(await check(PROBE_TIMEOUT_MS + 250, signal)),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Create the CloudWatch Alarms observability probe.
|
|
62
|
+
* @param options - Injectable collaborators
|
|
63
|
+
* @param options.check - Optional alarm-count check for focused tests
|
|
64
|
+
* @returns Bounded status probe
|
|
65
|
+
*/
|
|
66
|
+
export function createCloudWatchAlarmsProbe(options = {}) {
|
|
67
|
+
const check = options.check ?? defaultCloudWatchCheck;
|
|
68
|
+
return {
|
|
69
|
+
id: CLOUDWATCH_ALARMS_PROBE_ID,
|
|
70
|
+
timeoutMs: PROBE_TIMEOUT_MS,
|
|
71
|
+
run: async (signal) => mapAwsCountCheck(await check(PROBE_TIMEOUT_MS + 250, signal), "alarms"),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Create the X-Ray observability probe.
|
|
76
|
+
* @param options - Injectable collaborators
|
|
77
|
+
* @param options.check - Optional trace-count check for focused tests
|
|
78
|
+
* @returns Bounded status probe
|
|
79
|
+
*/
|
|
80
|
+
export function createXRayProbe(options = {}) {
|
|
81
|
+
const check = options.check ?? defaultXRayCheck;
|
|
82
|
+
return {
|
|
83
|
+
id: XRAY_PROBE_ID,
|
|
84
|
+
timeoutMs: PROBE_TIMEOUT_MS,
|
|
85
|
+
run: async (signal) => mapAwsCountCheck(await check(PROBE_TIMEOUT_MS + 250, signal), "traces"),
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Register all three observability provider probes.
|
|
90
|
+
* @returns Sentry, CloudWatch Alarms, and X-Ray probes
|
|
91
|
+
*/
|
|
92
|
+
export function createObservabilityProviderProbes() {
|
|
93
|
+
return [
|
|
94
|
+
createSentryProbe(),
|
|
95
|
+
createCloudWatchAlarmsProbe(),
|
|
96
|
+
createXRayProbe(),
|
|
97
|
+
];
|
|
98
|
+
}
|
|
99
|
+
//# sourceMappingURL=ui-observability-providers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-observability-providers.js","sourceRoot":"","sources":["../../src/cli/ui-observability-providers.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,sBAAsB,EACtB,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,8BAA8B,CAAC;AAqBtC,MAAM,CAAC,MAAM,eAAe,GAAG,QAAQ,CAAC;AACxC,MAAM,CAAC,MAAM,0BAA0B,GAAG,mBAAmB,CAAC;AAC9D,MAAM,CAAC,MAAM,aAAa,GAAG,OAAO,CAAC;AAErC,MAAM,gBAAgB,GAAG,KAAK,CAAC;AA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G,EAAE,MAAM,CAAC,CAAC;KACrE,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,2BAA2B,CACzC,UAEI,EAAE;IAEN,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,sBAAsB,CAAC;IACtD,OAAO;QACL,EAAE,EAAE,0BAA0B;QAC9B,SAAS,EAAE,gBAAgB;QAC3B,GAAG,EAAE,KAAK,EAAC,MAAM,EAAC,EAAE,CAClB,gBAAgB,CAAC,MAAM,KAAK,CAAC,gBAAgB,GAAG,GAAG,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC;KAC1E,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,eAAe,CAC7B,UAEI,EAAE;IAEN,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,gBAAgB,CAAC;IAChD,OAAO;QACL,EAAE,EAAE,aAAa;QACjB,SAAS,EAAE,gBAAgB;QAC3B,GAAG,EAAE,KAAK,EAAC,MAAM,EAAC,EAAE,CAClB,gBAAgB,CAAC,MAAM,KAAK,CAAC,gBAAgB,GAAG,GAAG,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC;KAC1E,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,iCAAiC;IAC/C,OAAO;QACL,iBAAiB,EAAE;QACnB,2BAA2B,EAAE;QAC7B,eAAe,EAAE;KAClB,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"form-data": ">=4.0.6"
|
|
103
103
|
},
|
|
104
104
|
"name": "@codyswann/lisa",
|
|
105
|
-
"version": "2.
|
|
105
|
+
"version": "2.236.0",
|
|
106
106
|
"description": "Claude Code governance framework that applies guardrails, guidance, and automated enforcement to projects",
|
|
107
107
|
"main": "dist/index.js",
|
|
108
108
|
"exports": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.236.0",
|
|
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.
|
|
3
|
+
"version": "2.236.0",
|
|
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.
|
|
3
|
+
"version": "2.236.0",
|
|
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.
|
|
3
|
+
"version": "2.236.0",
|
|
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.
|
|
3
|
+
"version": "2.236.0",
|
|
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"
|
package/ui/README.md
CHANGED
|
@@ -38,9 +38,11 @@ unavailable integration cannot block the page or cause a value to be invented.
|
|
|
38
38
|
Concurrent requests share one in-flight snapshot. In-process probes must be
|
|
39
39
|
asynchronous and cooperate with the supplied abort signal; JSON depth and size
|
|
40
40
|
budgets also bound result normalization. The first reference probe scopes
|
|
41
|
-
`gh auth status --active` to the project's origin hostname
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
`gh auth status --active` to the project's origin hostname. The Automations
|
|
42
|
+
section reads the harness scheduler through the `automations` probe (Codex
|
|
43
|
+
`~/.codex/automations/` or an injected Claude `/schedule` listing), matching
|
|
44
|
+
only `lisa-auto-<project>-*` jobs and never fabricating demo rows when the
|
|
45
|
+
scheduler is absent or unreadable.
|
|
44
46
|
|
|
45
47
|
## Config sync (`lisa sync`)
|
|
46
48
|
|