fix: ci and static

This commit is contained in:
imccyu
2026-08-13 01:34:55 +08:00
parent a7d4cd8e1b
commit 5a0283b04f
23 changed files with 260 additions and 207 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ const root = fileURLToPath(new URL('..', import.meta.url))
function clientCssDeclarations(): string[] {
const clientGroups = ['client', 'self-modification']
return clientGroups.flatMap(group => {
return clientGroups.flatMap((group) => {
const clientRoot = resolve(root, 'packages', group)
return readdirSync(clientRoot, { withFileTypes: true })
.filter(entry => entry.isDirectory())
+1 -1
View File
@@ -419,6 +419,7 @@ export function renderClientCatalog(entries: readonly SlotEntry[]): string {
' * @module @deepseek-ai/dsh-cordis-client-runner/client/slot-catalog',
' */',
'',
'/* jscpd:ignore-start */',
'/** One option a register call passes for a given slot cardinality. */',
'export interface ClientSlotOption {',
' /** Option name as written in the register options object. */',
@@ -483,7 +484,6 @@ export function renderClientCatalog(entries: readonly SlotEntry[]): string {
'// Seats of one cardinality repeat their register options and framework props',
'// verbatim; that sameness IS the contract a registrant reads, so clone',
'// detection is told to skip the data rather than the file.',
'/* jscpd:ignore-start */',
'export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [',
]
for (const entry of entries) {