feat(subagent): add Codex product provider

This commit is contained in:
pku-xht
2026-08-04 16:02:17 +08:00
parent 4af4c10075
commit 1daa35b6e3
45 changed files with 3170 additions and 126 deletions

111
pnpm-lock.yaml generated
View File

@@ -712,6 +712,9 @@ importers:
'@deepseek-ai/dsh-subagent-acp':
specifier: workspace:*
version: link:../packages/subagent/subagent-acp
'@deepseek-ai/dsh-subagent-codex':
specifier: workspace:*
version: link:../packages/subagent/subagent-codex
'@deepseek-ai/dsh-subagent-dsh-sdk':
specifier: workspace:*
version: link:../packages/subagent/subagent-dsh-sdk
@@ -721,6 +724,9 @@ importers:
'@deepseek-ai/dsh-subagent-spawn':
specifier: workspace:*
version: link:../packages/subagent/subagent-spawn
'@deepseek-ai/dsh-subprocess':
specifier: workspace:*
version: link:../packages/subprocess/subprocess
'@deepseek-ai/dsh-subprocess-local':
specifier: workspace:*
version: link:../packages/subprocess/subprocess-local
@@ -4948,6 +4954,43 @@ importers:
specifier: ^4.0.0-rc.7
version: link:../../../vendor/cordis
packages/subagent/subagent-codex:
dependencies:
schemastery:
specifier: ^3.18.0
version: link:../../../vendor/schemastery
devDependencies:
'@deepseek-ai/dsh-agent':
specifier: workspace:^
version: link:../../core/agent
'@deepseek-ai/dsh-invariants':
specifier: workspace:^
version: link:../../support/invariants
'@deepseek-ai/dsh-llm':
specifier: workspace:^
version: link:../../llm/llm
'@deepseek-ai/dsh-sdk-protocol':
specifier: workspace:^
version: link:../../sdk/sdk-protocol
'@deepseek-ai/dsh-session':
specifier: workspace:^
version: link:../../core/session
'@deepseek-ai/dsh-subagent':
specifier: workspace:^
version: link:../subagent
'@deepseek-ai/dsh-subprocess':
specifier: workspace:^
version: link:../../subprocess/subprocess
'@deepseek-ai/dsh-subprocess-local':
specifier: workspace:^
version: link:../../subprocess/subprocess-local
'@openai/codex':
specifier: 0.146.0
version: 0.146.0
cordis:
specifier: ^4.0.0-rc.7
version: link:../../../vendor/cordis
packages/subagent/subagent-dsh-sdk:
dependencies:
schemastery:
@@ -7796,6 +7839,47 @@ packages:
'@nodable/entities@2.2.0':
resolution: {integrity: sha512-9uGyhaQavEUMC8AIddIjau4NsnsXhou+j5sBAGojCM1oxmQpVKTWR/9JxABD6UAv12vpIms55fPZKFQEhG6uBg==}
'@openai/codex@0.146.0':
resolution: {integrity: sha512-yG3sPWNda/2YAIQIDq9MrrjoCTIQ7rxYM5IasrG3VBcuhCLTkgeg/JzqmJq1V98RE4MJ5jCxDXXQlOjrditFRw==}
engines: {node: '>=16'}
hasBin: true
'@openai/codex@0.146.0-darwin-arm64':
resolution: {integrity: sha512-nb61yX4r5L6Z0dlC4o3u0GAK1YCd4TUvjaB382bajDoh84V+uv2hTBIVZ++fgXWV9yoeuNrNnNcn7GoTGOe2Tg==}
engines: {node: '>=16'}
cpu: [arm64]
os: [darwin]
'@openai/codex@0.146.0-darwin-x64':
resolution: {integrity: sha512-hTQR5jy/ObfTf1MDnuJCZJAe+SljKE8DDwQWN6lDFgjsPhMQz852U2tILt8Ei+G5GkQSzemHYKl2AYPwW0Y5xw==}
engines: {node: '>=16'}
cpu: [x64]
os: [darwin]
'@openai/codex@0.146.0-linux-arm64':
resolution: {integrity: sha512-qiYDxkkEFnXG7joadJW6Q+XcgyDXCpGdpa9nk/c+i0gEomur1j7bHvx12NfWWCF/y8Tqri6ay+FLuC2MjdehtA==}
engines: {node: '>=16'}
cpu: [arm64]
os: [linux]
'@openai/codex@0.146.0-linux-x64':
resolution: {integrity: sha512-fswvyGprAPCMiOEue/7MKMk7pCjh9kZIJfJX5i9atmfnmGYbYCcUhZsEH9LEP0+0t5xyPqDbfNXY7NSxIVuXxA==}
engines: {node: '>=16'}
cpu: [x64]
os: [linux]
'@openai/codex@0.146.0-win32-arm64':
resolution: {integrity: sha512-EW6zdjDe+SLX2Iw+xymJ5+Pz2+DGexdstfFHXh4Ub+TfJsQPiMjGfZfNaoWgdJ2FsqSIzVKu2+G0KCMGYz2W8g==}
engines: {node: '>=16'}
cpu: [arm64]
os: [win32]
'@openai/codex@0.146.0-win32-x64':
resolution: {integrity: sha512-b3lxMYeR0+IhstNo4JjX1P9cPc1xwVcCVkPd1lD1wpWPJ0SBhpIkPczwbu3ZRkJcdyl342+rgyf4DUrbZLdrGA==}
engines: {node: '>=16'}
cpu: [x64]
os: [win32]
'@opentelemetry/api-logs@0.220.0':
resolution: {integrity: sha512-CmVa4ImJ+ynfrPMNaAXHET6Bhb44SwzmfyVJFq9ni2jgXJR/l7C6gfVFddNmHP+ZOkP9cf4f9DBe68qVLTHc9w==}
engines: {node: '>=8.0.0'}
@@ -13131,6 +13215,33 @@ snapshots:
'@nodable/entities@2.2.0': {}
'@openai/codex@0.146.0':
optionalDependencies:
'@openai/codex-darwin-arm64': '@openai/codex@0.146.0-darwin-arm64'
'@openai/codex-darwin-x64': '@openai/codex@0.146.0-darwin-x64'
'@openai/codex-linux-arm64': '@openai/codex@0.146.0-linux-arm64'
'@openai/codex-linux-x64': '@openai/codex@0.146.0-linux-x64'
'@openai/codex-win32-arm64': '@openai/codex@0.146.0-win32-arm64'
'@openai/codex-win32-x64': '@openai/codex@0.146.0-win32-x64'
'@openai/codex@0.146.0-darwin-arm64':
optional: true
'@openai/codex@0.146.0-darwin-x64':
optional: true
'@openai/codex@0.146.0-linux-arm64':
optional: true
'@openai/codex@0.146.0-linux-x64':
optional: true
'@openai/codex@0.146.0-win32-arm64':
optional: true
'@openai/codex@0.146.0-win32-x64':
optional: true
'@opentelemetry/api-logs@0.220.0':
dependencies:
'@opentelemetry/api': 1.9.0