mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-17 03:10:38 +09:00
Fix CI typecheck and default OpenClaw sessions to issue scope
This commit is contained in:
parent
0233525e99
commit
5fae7d4de7
16 changed files with 35 additions and 29 deletions
|
|
@ -117,9 +117,9 @@ function parseBoolean(value: unknown, fallback = false): boolean {
|
|||
}
|
||||
|
||||
function normalizeSessionKeyStrategy(value: unknown): SessionKeyStrategy {
|
||||
const normalized = asString(value, "fixed").trim().toLowerCase();
|
||||
if (normalized === "issue" || normalized === "run") return normalized;
|
||||
return "fixed";
|
||||
const normalized = asString(value, "issue").trim().toLowerCase();
|
||||
if (normalized === "fixed" || normalized === "run") return normalized;
|
||||
return "issue";
|
||||
}
|
||||
|
||||
function resolveSessionKey(input: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue