feat(web): present Cordis lifecycle tools

This commit is contained in:
fz
2026-07-27 14:59:24 +08:00
committed by NI0317
parent 8cec221dab
commit 826c6fd243
30 changed files with 428 additions and 30 deletions
+2
View File
@@ -0,0 +1,2 @@
.sessions/
.storages/
+18
View File
@@ -0,0 +1,18 @@
# Opt-in Web composition for inspecting the self-referential Cordis tools.
# Temporary Plugin code can reach every injected live capability; treat this
# deployment like shell access, not as a security boundary.
- id: base
name: '@cordisjs/plugin-include'
config:
path: ../../apps/cli/cordis.yml
patches:
# AppCLIEntry normally injects this assembly-owned path before `dsh web`
# boots; the standalone Cordis launcher needs the equivalent patch here.
- id: webserver
config:
host: 127.0.0.1
port: 3081
distIndex: !!js "new URL('./apps/web/dist/index.html', 'file://' + process.cwd() + '/').pathname"
- insert:
- id: tool-cordis
name: '@deepseek-ai/dsh-tool-cordis'