feat(bundle): ship dsh-base, dsh-web-app, and dsh-headless profile bundles

Profile bundles are npm packages declaring dsh.patch in their manifest:
dsh-base carries the former base.cordis.yml rows as one insert over the empty
profile root; dsh-web-app carries the web overlay plus a runtime glue plugin
owning what used to be launcher code (frontend dist resolution via
frontend-static, the web-surface prompt section, bash runtime variables, the
readiness-gated URL line); dsh-headless carries the one-shot runner driving a
task turn through the in-process API carrier under the launcher-provided
ctx.headlessIo seam.
This commit is contained in:
Turtle
2026-08-06 04:40:11 +08:00
parent 2ee2ee2f96
commit 2365b2c54f
39 changed files with 2282 additions and 327 deletions

View File

@@ -686,7 +686,9 @@ class FaceAnalyzer {
const records: ExportRecord[] = []
for (const [subpath, target] of targets) {
if (target.includes('*') || subpath === './package.json'
|| subpath === './typert' || subpath === './client/typert' || target.endsWith('.json')) continue
|| subpath === './typert' || subpath === './client/typert'
// Data exports (bundle patch lists, JSON manifests) carry no TypeScript API.
|| target.endsWith('.json') || target.endsWith('.yml') || target.endsWith('.yaml')) continue
const sourcePath = sourcePathForExport(registration.root, target)
const sourceFile = this.sourceFiles.get(realPath(sourcePath))
if (sourceFile === undefined) {