mirror of
https://github.com/hansjone/netxops.git
synced 2026-10-16 19:00:50 +08:00
Fix Desktop Netx Ops preset using host standard and workflow-ptc.
Prefer Desktop's standard.patch.yml / align CLI worker-thread rows to workflow-ptc, and refuse compositions the host cannot resolve. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
7a289cf409
commit
6bf5268dfb
8 changed files with 688 additions and 60 deletions
|
|
@ -20,7 +20,10 @@ const root = join(dirname(fileURLToPath(import.meta.url)), '..')
|
|||
const artifacts = composeNetxopsPresetArtifacts()
|
||||
const declarativePath = join(root, 'presets', 'netxops.preset.patch.yml')
|
||||
writeFileSync(declarativePath, artifacts.declarativePatch)
|
||||
console.log(`wrote ${declarativePath} (${artifacts.declarativePatch.length} bytes) from ${artifacts.standardDir}`)
|
||||
console.log(
|
||||
`wrote ${declarativePath} (${artifacts.declarativePatch.length} bytes) `
|
||||
+ `from ${artifacts.standardKind}: ${artifacts.standardSource}`,
|
||||
)
|
||||
|
||||
const host = readFileSync(join(root, 'cordis.patch.yml'), 'utf8')
|
||||
const bundle = `# Host-only bundle patch (web-safe).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue