Files
orca/config/localization-coverage-allowlist.json
T
Neil fd99549aec Draw workspace cards from a template (card plugins, phase 1) (#37647)
* feat(sidebar): draw workspace cards from a template (card plugins phase 1)

Today's card becomes the built-in card template: a JSON template of
layout primitives and Orca's own card parts, compiled once and evaluated
per card over a documented workspace fact model. Markup parity with the
original composition is tested for 34 states in all three card styles.

* fix(sidebar): card template typecheck

* fix(sidebar): bound card template def expansion and tighten expressions

- Cap expanded elements (maxExpandedNodes 2000), expanded depth (maxDepth)
  and def nesting (maxDefDepth 8) at compile time, so reused defs cannot
  multiply into millions of elements.
- A def reference now keeps the frame's root attributes, rejects props and
  children, and is looked up with hasOwn.
- Chained ternaries count toward the expression depth cap; len(x,) is rejected.
- Parts are documented as hook-free.
- Drop the unread CompiledCardTemplate.roots; schema now reads
  WORKSPACE_CARD_FACTS_VERSION. maxBytes stays for phase 2.

* chore(sidebar): baseline the card template's moved focus read and allowlist non-UI strings
2026-11-02 20:56:01 -08:00

255 lines
7.4 KiB
JSON

[
{
"filePath": "src/renderer/src/components/settings/appearance-search.ts",
"kind": "object-property:keywords",
"text": "Idioma",
"dynamic": false,
"count": 1
},
{
"filePath": "src/renderer/src/components/settings/appearance-search.ts",
"kind": "object-property:keywords",
"text": "Langue",
"dynamic": false,
"count": 1
},
{
"filePath": "src/renderer/src/components/settings/appearance-search.ts",
"kind": "object-property:keywords",
"text": "Dil",
"dynamic": false,
"count": 1
},
{
"filePath": "src/renderer/src/components/settings/appearance-search.ts",
"kind": "object-property:keywords",
"text": "Sprache",
"dynamic": false,
"count": 1
},
{
"filePath": "src/renderer/src/components/settings/appearance-search.ts",
"kind": "object-property:keywords",
"text": "언어",
"dynamic": false,
"count": 1
},
{
"filePath": "src/renderer/src/components/settings/appearance-search.ts",
"kind": "object-property:keywords",
"text": "言語",
"dynamic": false,
"count": 1
},
{
"filePath": "src/renderer/src/components/settings/appearance-search.ts",
"kind": "object-property:keywords",
"text": "語言",
"dynamic": false,
"count": 1
},
{
"filePath": "src/renderer/src/components/settings/appearance-search.ts",
"kind": "object-property:keywords",
"text": "语言",
"dynamic": false,
"count": 1
},
{
"filePath": "src/renderer/src/components/settings/terminal-advanced-platform-search.ts",
"kind": "object-property:keywords",
"text": "ghostty",
"dynamic": false,
"count": 2
},
{
"filePath": "src/renderer/src/components/settings/terminal-advanced-platform-search.ts",
"kind": "object-property:keywords",
"text": "Ghostty",
"dynamic": false,
"count": 2
},
{
"filePath": "src/renderer/src/components/settings/terminal-advanced-platform-search.ts",
"kind": "object-property:keywords",
"text": "Kitty",
"dynamic": false,
"count": 1
},
{
"filePath": "src/renderer/src/components/settings/terminal-advanced-platform-search.ts",
"kind": "object-property:keywords",
"text": "kitty",
"dynamic": false,
"count": 1
},
{
"filePath": "src/renderer/src/components/settings/terminal-advanced-platform-search.ts",
"kind": "object-property:keywords",
"text": "kitty.conf",
"dynamic": false,
"count": 1
},
{
"filePath": "src/renderer/src/components/settings/terminal-pane-appearance-search.ts",
"kind": "object-property:keywords",
"text": "ghostty",
"dynamic": false,
"count": 1
},
{
"filePath": "src/renderer/src/components/settings/terminal-pane-appearance-search.ts",
"kind": "object-property:keywords",
"text": "Ghostty",
"dynamic": false,
"count": 1
},
{
"filePath": "src/renderer/src/components/sidebar/worktree-card-meta-row.tsx",
"kind": "jsx-attribute:label",
"text": "sidebar",
"dynamic": false,
"count": 1
},
{
"filePath": "src/renderer/src/components/onboarding/OnboardingLanguageSwitcher.tsx",
"kind": "jsx-text",
"text": "Switch language",
"dynamic": false,
"count": 1
},
{
"filePath": "src/renderer/src/component-fixtures/component-fixture-explorer.tsx",
"kind": "jsx-text",
"text": "Component fixtures",
"dynamic": false,
"count": 1
},
{
"filePath": "src/renderer/src/component-fixtures/component-fixture-explorer.tsx",
"kind": "jsx-text",
"text": "fixtures · files named *.fixture.tsx under src/renderer/src",
"dynamic": false,
"count": 1
},
{
"filePath": "src/renderer/src/components/settings/ChatFontFamilySetting.tsx",
"kind": "jsx-text",
"text": "fontFamily",
"dynamic": false,
"count": 1
},
{
"filePath": "src/renderer/src/lib/worktree-palette-evidence.ts",
"kind": "object-property:accessibilityLabel",
"text": "Workspace comment",
"dynamic": false,
"count": 1
},
{
"filePath": "src/renderer/src/lib/worktree-palette-evidence.ts",
"kind": "object-property:accessibilityLabel",
"text": "Created by automation",
"dynamic": false,
"count": 1
},
{
"filePath": "src/renderer/src/lib/worktree-palette-evidence.ts",
"kind": "object-property:accessibilityLabel",
"text": "Linked task",
"dynamic": false,
"count": 2
},
{
"filePath": "src/renderer/src/lib/worktree-palette-evidence.ts",
"kind": "object-property:accessibilityLabel",
"text": "Linked issue",
"dynamic": false,
"count": 1
},
{
"filePath": "src/renderer/src/lib/worktree-palette-evidence.ts",
"kind": "object-property:accessibilityLabel",
"text": "Listening port",
"dynamic": false,
"count": 1
},
{
"filePath": "src/renderer/src/components/settings/AgentDefaultSurfacePreviews.tsx",
"kind": "jsx-attribute:title",
"text": "Claude",
"dynamic": false,
"count": 1,
"reason": "Canonical agent brand in the approved Claude CLI still; preserve the exact brand."
},
{
"filePath": "src/renderer/src/components/settings/AgentDefaultSurfacePreviews.tsx",
"kind": "jsx-text",
"text": "Claude Code",
"dynamic": false,
"count": 1,
"reason": "Canonical CLI product name in the approved terminal still; preserve the exact brand."
},
{
"filePath": "src/renderer/src/components/settings/AgentDefaultSurfacePreviews.tsx",
"kind": "jsx-text",
"text": "· ~/projects/acme-web",
"dynamic": false,
"count": 1,
"reason": "Literal sample workspace path and CLI separator in the terminal still; paths are not translated."
},
{
"filePath": "src/renderer/src/components/settings/AgentDefaultSurfacePreviews.tsx",
"kind": "jsx-text",
"text": ">",
"dynamic": false,
"count": 1,
"reason": "Literal Claude CLI prompt marker in the terminal still; preserve command-line syntax."
},
{
"filePath": "src/renderer/src/components/settings/AgentDefaultSurfacePreviews.tsx",
"kind": "jsx-text",
"text": "Read",
"dynamic": false,
"count": 1,
"reason": "Actual Claude CLI tool label in the terminal still; preserve the external interface text."
},
{
"filePath": "src/renderer/src/components/settings/AgentDefaultSurfacePreviews.tsx",
"kind": "jsx-text",
"text": "(src/",
"dynamic": false,
"count": 1,
"reason": "Literal tool-argument path prefix in the terminal still; preserve path and CLI syntax."
},
{
"filePath": "src/renderer/src/components/settings/AgentDefaultSurfacePreviews.tsx",
"kind": "jsx-text",
"text": "⎿ Read 84 lines",
"dynamic": false,
"count": 1,
"reason": "Actual Claude CLI tool-result line in the terminal still; preserve the illustrative output and line count."
},
{
"filePath": "src/renderer/src/components/emulator-pane/use-emulator-video-stream.ts",
"kind": "object-property:error",
"text": "This build does not support WebCodecs H.264 decoding.",
"dynamic": false,
"count": 1
},
{
"filePath": "src/renderer/src/components/sidebar/workspace-card/card-identity-parts.tsx",
"kind": "jsx-attribute:label",
"text": "sidebar",
"dynamic": false,
"count": 1
},
{
"filePath": "src/renderer/src/components/sidebar/workspace-card/card-primitives.tsx",
"kind": "object-property:title",
"text": "text-[13px] leading-5",
"dynamic": false,
"count": 1
}
]