* ui: show locked API key environment reference * fix(ui-settings-models): skip unused pi-ai credential reference * fix(ui-settings-models): show active provider auth source * test(llm): cover provider auth check failures * docs(ui-settings-models): clarify active provider authentication * test(web): update model key copy snapshots * fix(ui-settings-models): clarify native authentication source hint * fix: address PR 5483 review feedback * docs(llm): state empty auth lookup behavior * fix: refresh auth hints with credential snapshots * fix: require credential refresh revision * test: cover auth status projection * fix: refresh catalog and browser expectations after rebase * fix: keep auth status projection internal and explicit * fix: preserve credential source checks with signed-in account rows * test: pin Models authentication instead of inheriting host keys * fix: prioritize stored credentials across providers * fix: use one environment fallback hint * docs: refresh credential contract * docs: refresh config catalog * test: align provider hint verification * fix: use provider-native auth hints and endpoints * fix: cover oauth-capable provider auth hints * fix: show canonical endpoint defaults * fix: avoid misleading endpoint fallback * fix: label catalog endpoint defaults * fix: shorten auth hints with hover details * fix: clarify native auth resolution * test: align DeepSeek endpoint hint * fix: pair help button corner shape * fix: address credential precedence review Record the stored-credential precedence in a superseding Agent Note and an upgrade guide, and align the credentials subsystem page, package READMEs, and JSDoc with the order file > launch env > $cwd/.env > $DSH_HOME/.env. Report each pi-ai route's catalog endpoint and native-auth environment names through the provider directory, check the names against the installed pi-ai resolvers, and remove the llm/checkAuth and credential describe operations that no Models page code calls. Restore the route-derived key reference and the home expansion that reads the home directory only for a leading ~. * fix: clarify model authentication guidance * fix: explain native provider OAuth requirements * fix: keep authentication guidance method neutral * fix: show credential reference source in model editor * fix: use environment authentication in headless profile * fix: validate headless authentication and current provider metadata * test: retain authentication guidance coverage with account catalog updates * test: retain writable Models credentials with the pinned environment
44 lines
1.3 KiB
YAML
44 lines
1.3 KiB
YAML
# The dsh-headless bundle patch: one-shot task mode directly over dsh-base.
|
|
# It mounts no Host, HTTP server, Web runtime, or browser plugin. An ordinary
|
|
# provider plugin injects `cmdlineArgs`, parses the task positional
|
|
# (`dsh --profile headless "<task>"`), the `--session-id` and `--json` options,
|
|
# and this app's --help, then the direct driver creates a fresh Agent, or adopts
|
|
# the exact Session the flag names, through the core registry and prints its
|
|
# durable result.
|
|
|
|
- id: system-prompt
|
|
config:
|
|
personaPrefix: >-
|
|
You are a coding agent powered by the {{model}} model.
|
|
|
|
- id: tools
|
|
config:
|
|
# Keep the same temporary process-wide PTC mode opt-in as the Web surface.
|
|
mode: !!js process.env.DSH_TOOLS_MODE
|
|
|
|
- insert:
|
|
- id: headless-startup
|
|
name: '@deepseek-ai/dsh-headless/startup'
|
|
|
|
# Reads its task and run options from the ordinary headlessStartup provider.
|
|
- id: headless-runner
|
|
name: '@deepseek-ai/dsh-headless'
|
|
inject: [headlessStartup]
|
|
config:
|
|
task: !!js ctx.headlessStartup.task
|
|
sessionId: !!js ctx.headlessStartup.sessionId
|
|
json: !!js ctx.headlessStartup.json
|
|
|
|
- id: hmr
|
|
disabled: true
|
|
|
|
# One-shot jobs use launch-time credentials instead of the interactive store.
|
|
- id: credentials
|
|
disabled: true
|
|
|
|
- id: authorization
|
|
disabled: true
|
|
|
|
- id: deepseek-account
|
|
disabled: true
|