Name the runnable leaf for the line-oriented front door it owns, matching the existing tui-agent and acp-agent organization. Move the complete config, Code Mode overlay, tests, metadata, and generated composition graph together, then update every loader path and repository reference. Keep the shared model identity independent of its terminal front door by phrasing the persona as a coding-agent role rather than retaining the retired leaf name. Regenerate graph and tool catalogs and re-record each affected bilingual pair so derived documentation cannot point at the removed path.
20 lines
801 B
JavaScript
20 lines
801 B
JavaScript
#!/usr/bin/env node
|
|
/**
|
|
* Boot a stdio app from a leaf `cordis.yml`; usage is `dsh-stdio-demo [config]`, defaulting to the
|
|
* cwd file. Shared `.env` loading, fail-loud Loader guards, and settled-tree boot live in
|
|
* dsh-app-boot. The echo-agent and repl-agent demos invoke this bin with their own leaf configs.
|
|
* @module @deepseek-ai/dsh-stdio-demo/bin
|
|
*/
|
|
|
|
import { boot, installFailLoud, loadEnv, resolveConfigPath } from '@deepseek-ai/dsh-app-boot'
|
|
|
|
const NAME = 'dsh-stdio-demo'
|
|
|
|
/* v8 ignore start -- thin self-executing composition over the unit-tested
|
|
dsh-app-boot helpers; exercised end-to-end by the keyless Loader-path and
|
|
built-bin smokes */
|
|
installFailLoud(NAME)
|
|
loadEnv(NAME)
|
|
await boot(NAME, resolveConfigPath(process.argv[2] ?? './cordis.yml', undefined))
|
|
/* v8 ignore stop */
|