@codyswann/lisa 2.105.0 → 2.105.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/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/scripts/queue-status-build-readers.mjs +22 -3
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-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-harper-fabric/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.codex-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-openclaw/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.codex-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-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-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/src/base/scripts/queue-status-build-readers.mjs +22 -3
package/package.json
CHANGED
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"lodash": ">=4.18.1"
|
|
83
83
|
},
|
|
84
84
|
"name": "@codyswann/lisa",
|
|
85
|
-
"version": "2.105.
|
|
85
|
+
"version": "2.105.1",
|
|
86
86
|
"description": "Claude Code governance framework that applies guardrails, guidance, and automated enforcement to projects",
|
|
87
87
|
"main": "dist/index.js",
|
|
88
88
|
"exports": {
|
|
@@ -93,7 +93,8 @@ export function readGithubBuildQueueSnapshot(input = {}) {
|
|
|
93
93
|
export function createBuildQueueSnapshot(input = {}) {
|
|
94
94
|
const tracker = normalizeTracker(input.tracker);
|
|
95
95
|
const unsupportedReaderError = resolveUnsupportedReaderError(input, tracker);
|
|
96
|
-
const
|
|
96
|
+
const rawRoles = input.roles ?? {};
|
|
97
|
+
const roles = normalizeRoles(rawRoles);
|
|
97
98
|
const items = normalizeItems(input.items);
|
|
98
99
|
const counts = buildLifecycleCounts(items);
|
|
99
100
|
const repairSignals = buildRepairSignals(items, input.queueArgument);
|
|
@@ -108,7 +109,7 @@ export function createBuildQueueSnapshot(input = {}) {
|
|
|
108
109
|
? false
|
|
109
110
|
: typeof input.resolutionError !== "string");
|
|
110
111
|
const namespaceAdopted =
|
|
111
|
-
input.namespaceAdopted ?? inferNamespaceAdopted(items,
|
|
112
|
+
input.namespaceAdopted ?? inferNamespaceAdopted(items, rawRoles);
|
|
112
113
|
const resolutionError =
|
|
113
114
|
unsupportedReaderError ?? input.resolutionError ?? null;
|
|
114
115
|
|
|
@@ -430,7 +431,25 @@ function inferNamespaceAdopted(items, roles) {
|
|
|
430
431
|
return (
|
|
431
432
|
["ready", "claimed", "review", "blocked"].some(
|
|
432
433
|
role => typeof roles[role] === "string" && roles[role].trim().length > 0
|
|
433
|
-
) ||
|
|
434
|
+
) || hasConfiguredDoneRole(roles?.done)
|
|
435
|
+
);
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* @param {unknown} done
|
|
440
|
+
* @returns {boolean}
|
|
441
|
+
*/
|
|
442
|
+
function hasConfiguredDoneRole(done) {
|
|
443
|
+
if (typeof done === "string") {
|
|
444
|
+
return done.trim().length > 0;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
if (!done || typeof done !== "object") {
|
|
448
|
+
return false;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
return Object.values(done).some(
|
|
452
|
+
value => typeof value === "string" && value.trim().length > 0
|
|
434
453
|
);
|
|
435
454
|
}
|
|
436
455
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.105.
|
|
3
|
+
"version": "2.105.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.105.
|
|
3
|
+
"version": "2.105.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"
|
|
@@ -93,7 +93,8 @@ export function readGithubBuildQueueSnapshot(input = {}) {
|
|
|
93
93
|
export function createBuildQueueSnapshot(input = {}) {
|
|
94
94
|
const tracker = normalizeTracker(input.tracker);
|
|
95
95
|
const unsupportedReaderError = resolveUnsupportedReaderError(input, tracker);
|
|
96
|
-
const
|
|
96
|
+
const rawRoles = input.roles ?? {};
|
|
97
|
+
const roles = normalizeRoles(rawRoles);
|
|
97
98
|
const items = normalizeItems(input.items);
|
|
98
99
|
const counts = buildLifecycleCounts(items);
|
|
99
100
|
const repairSignals = buildRepairSignals(items, input.queueArgument);
|
|
@@ -108,7 +109,7 @@ export function createBuildQueueSnapshot(input = {}) {
|
|
|
108
109
|
? false
|
|
109
110
|
: typeof input.resolutionError !== "string");
|
|
110
111
|
const namespaceAdopted =
|
|
111
|
-
input.namespaceAdopted ?? inferNamespaceAdopted(items,
|
|
112
|
+
input.namespaceAdopted ?? inferNamespaceAdopted(items, rawRoles);
|
|
112
113
|
const resolutionError =
|
|
113
114
|
unsupportedReaderError ?? input.resolutionError ?? null;
|
|
114
115
|
|
|
@@ -430,7 +431,25 @@ function inferNamespaceAdopted(items, roles) {
|
|
|
430
431
|
return (
|
|
431
432
|
["ready", "claimed", "review", "blocked"].some(
|
|
432
433
|
role => typeof roles[role] === "string" && roles[role].trim().length > 0
|
|
433
|
-
) ||
|
|
434
|
+
) || hasConfiguredDoneRole(roles?.done)
|
|
435
|
+
);
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* @param {unknown} done
|
|
440
|
+
* @returns {boolean}
|
|
441
|
+
*/
|
|
442
|
+
function hasConfiguredDoneRole(done) {
|
|
443
|
+
if (typeof done === "string") {
|
|
444
|
+
return done.trim().length > 0;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
if (!done || typeof done !== "object") {
|
|
448
|
+
return false;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
return Object.values(done).some(
|
|
452
|
+
value => typeof value === "string" && value.trim().length > 0
|
|
434
453
|
);
|
|
435
454
|
}
|
|
436
455
|
|