Merge remote-tracking branch 'origin/master' into worktree/multimodal-ui

This commit is contained in:
creatixchu
2026-08-11 19:23:04 +08:00
91 changed files with 3148 additions and 311 deletions

File diff suppressed because one or more lines are too long

View File

@@ -182,6 +182,9 @@ describe('translation pairing records', () => {
describe('translation scope discovery', () => {
it.each([
'README.md',
'CONTRIBUTING.md',
'CONTRIBUTING.zh.md',
'CONTRIBUTING.i18n.yaml',
'apps/cli/README.md',
'future/subtree/readme.md',
'packages/example/README.zh.md',
@@ -195,6 +198,7 @@ describe('translation scope discovery', () => {
it.each([
'packages/example/guide.md',
'packages/example/CONTRIBUTING.md',
'examples/tutorial.md',
'website/reference.md',
'packages/example/README.txt',

View File

@@ -125,6 +125,7 @@ export interface TranslationPairingManifest {
}
const README_ARTIFACT = /(?:^|\/)readme(?:\.md|\.zh\.md|\.i18n\.yaml)$/i
const ROOT_CONTRIBUTING_ARTIFACT = /^contributing(?:\.md|\.zh\.md|\.i18n\.yaml)$/i
const NON_SOURCE_DIRECTORIES = new Set([
'node_modules',
'lib',
@@ -179,6 +180,7 @@ function isTranslationSourceExcluded(file: string): boolean {
export function isTranslationScopeFile(file: string): boolean {
return !file.startsWith('.agents/notes/archived/')
&& !isTranslationSourceExcluded(file) && (README_ARTIFACT.test(file)
|| ROOT_CONTRIBUTING_ARTIFACT.test(file)
|| file.startsWith('.agents/notes/')
|| file.startsWith('docs/')
|| file.startsWith('python/'))

View File

@@ -1288,7 +1288,7 @@
{
"doc": "docs/subsystems/workflow.md",
"symbol": "WorkflowStartRequest",
"source": "packages/workflow/workflow/src/types.ts"
"source": "packages/workflow/workflow/src/runtime-types.ts"
},
{
"doc": "docs/subsystems/workflow.md",
@@ -1303,7 +1303,7 @@
{
"doc": "docs/subsystems/workflow.md",
"symbol": "WorkflowRun",
"source": "packages/workflow/workflow/src/types.ts"
"source": "packages/workflow/workflow/src/runtime-types.ts"
},
{
"doc": "docs/subsystems/lsp.md",

View File

@@ -74,6 +74,7 @@ const SENTENCE_MODEL_EXPERIENCE: Readonly<Record<string, SentenceContract>> = {
'packages/client/ui-tool': { kind: 'none', reason: 'Browser-side Tool presentation layer; renders logged calls without changing model context.' },
'packages/client/ui-deliverables': { kind: 'none', reason: 'Browser-side UI plugin layer; registers nothing model-facing.' },
'packages/client/ui-task': { kind: 'none', reason: 'Browser-side read-only projection of ctx.tasks records; dsh-tool-tasks owns the model-facing behavior.' },
'packages/client/ui-workflow-run': { kind: 'none', reason: 'Browser-side UI plugin layer; renders durable workflow records without changing model context.' },
'packages/client/ui-slash': { kind: 'none', reason: 'Browser-side UI plugin layer; registers nothing model-facing.' },
'packages/client/ui-command': { kind: 'indirect', reason: 'The dispatch paths trigger the host command.execute RPC; each command handler\'s host package owns any model-visible effect.' },
'packages/client/ui-model': { kind: 'indirect', reason: 'Selection routes session.selectModel; the Host snapshots the selection at the next prompt-assembly boundary and owns the model-visible effect.' },