@huaqiu/dsh-huaqiu-about 0.6.2 → 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/client.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"client.js","names":["createElement","useState","createElement","createElement"],"sources":["../src/client/HuaqiuBrand.tsx","../src/client/AboutSection.tsx","../src/client/locales.ts","../src/client/index.ts"],"sourcesContent":["/**\n * HuaQiu brand mark — self-contained copy (SVG) so the About plugin does not\n * depend on another plugin's client bundle at runtime.\n */\nimport { createElement } from 'react'\n\nexport function HuaqiuBrandMark({ size, className }: { size: number; className?: string }): React.ReactElement {\n return createElement(\n 'svg',\n {\n 'aria-hidden': true,\n className,\n height: size,\n style: { display: 'block', flex: 'none' },\n viewBox: '0 0 974.25 974.25',\n width: size,\n xmlns: 'http://www.w3.org/2000/svg',\n },\n createElement('path', {\n d: 'M865.67,758.67a107,107,0,1,0,107,107A107,107,0,0,0,865.67,758.67Z',\n fill: '#c7000b',\n fillRule: 'evenodd',\n }),\n createElement('path', {\n d: 'M744.11,0h-514C103.56,0,0,103.56,0,230.14v514C0,870.69,103.56,974.25,230.14,974.25h514c3.34,0,6.66-.06,10-.21a155.66,155.66,0,0,1-40-143.56H230.14a86.63,86.63,0,0,1-86.37-86.37v-514a86.63,86.63,0,0,1,86.37-86.37h514a86.61,86.61,0,0,1,86.37,86.37V714.06a156.93,156.93,0,0,1,35.19-4A155.1,155.1,0,0,1,974,754c.15-3.28.21-6.6.21-9.92v-514C974.25,103.56,870.69,0,744.11,0Z',\n fill: '#c7000b',\n fillRule: 'evenodd',\n }),\n createElement('polygon', {\n points: '735.67 735.65 735.67 238.59 591.9 238.59 591.9 415.24 382.39 415.24 382.39 238.59 238.62 238.59 238.62 735.65 382.39 735.65 382.39 559.01 591.9 559.01 591.9 735.65 735.67 735.65',\n fill: '#c7000b',\n fillRule: 'evenodd',\n }),\n )\n}\n","/**\n * About row content, following the reference prototype:\n *\n * [HuaQiu brand mark]\n * {slogan}\n * [DSH 运行时 0.1.0] (runtime label + this plugin's version)\n * ┌───────────────────────────┐\n * │ 发行版本 0.1.5-rc.2 │ (Distribution label + bundled DSH version)\n * │ 内置插件版本 0.1.0 │ (Builtin plugin version = plugin version)\n * │ 复制元数据 deepseek-harness ↗ │\n * └───────────────────────────┘\n * © 2026 深圳华秋智联股份有限公司\n * 由 DSH 提供支持\n *\n * The two versions are fetched from the node half's same-origin route\n * (`GET /api/v1/huaqiu/about` → `{ version, dshVersion }`): the DSH Runtime\n * badge and the Builtin plugin version row both show this plugin's declared\n * version, the Distribution version is the DSH version bundled with the\n * running harness. The block is vertically compact like the prototype — it\n * centers as one dense unit instead of stretching across the panel. All text\n * lines are localised.\n */\nimport { createElement, useEffect, useState, type CSSProperties, type ReactElement } from 'react'\nimport { HuaqiuBrandMark } from './HuaqiuBrand'\n\nconst ROOT: CSSProperties = {\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n justifyContent: 'center',\n height: '100%',\n boxSizing: 'border-box',\n gap: 14,\n padding: '16px 24px',\n textAlign: 'center',\n}\n\nconst TOP: CSSProperties = {\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n gap: 8,\n}\n\nconst TITLE: CSSProperties = {\n color: 'var(--dsw-alias-label-primary)',\n fontSize: 20,\n fontWeight: 700,\n letterSpacing: '0.01em',\n}\n\nconst BADGE: CSSProperties = {\n display: 'inline-flex',\n alignItems: 'center',\n gap: 6,\n padding: '2px 12px',\n borderRadius: 999,\n fontSize: 12,\n fontFamily: 'ui-monospace, SFMono-Regular, Menlo, monospace',\n color: 'var(--dsw-alias-label-secondary)',\n background: 'color-mix(in srgb, var(--dsw-alias-label-primary) 5%, transparent)',\n border: '1px solid color-mix(in srgb, var(--dsw-alias-label-primary) 14%, transparent)',\n}\n\nconst BADGE_VALUE: CSSProperties = {\n color: 'var(--dsw-alias-label-primary)',\n fontWeight: 600,\n}\n\nconst META_BOX: CSSProperties = {\n width: '100%',\n maxWidth: 360,\n display: 'flex',\n flexDirection: 'column',\n gap: 8,\n padding: '12px 14px',\n borderRadius: 12,\n fontSize: 12,\n textAlign: 'left',\n color: 'var(--dsw-alias-label-primary)',\n background: 'color-mix(in srgb, var(--dsw-alias-label-primary) 3%, transparent)',\n border: '1px solid color-mix(in srgb, var(--dsw-alias-label-primary) 10%, transparent)',\n boxSizing: 'border-box',\n}\n\nconst ROW: CSSProperties = {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n gap: 12,\n}\n\nconst ROW_LABEL: CSSProperties = {\n color: 'var(--dsw-alias-label-tertiary)',\n}\n\nconst VERSION_PILL: CSSProperties = {\n color: 'var(--dsw-alias-label-primary)',\n fontWeight: 500,\n fontFamily: 'ui-monospace, SFMono-Regular, Menlo, monospace',\n fontSize: 11,\n padding: '1px 8px',\n borderRadius: 6,\n background: 'color-mix(in srgb, var(--dsw-alias-label-primary) 6%, transparent)',\n border: '1px solid color-mix(in srgb, var(--dsw-alias-label-primary) 14%, transparent)',\n}\n\nconst ROW_BOTTOM: CSSProperties = {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n gap: 12,\n paddingTop: 8,\n borderTop: '1px solid color-mix(in srgb, var(--dsw-alias-label-primary) 12%, transparent)',\n fontSize: 11,\n}\n\nconst ACTION: CSSProperties = {\n display: 'inline-flex',\n alignItems: 'center',\n gap: 6,\n border: 'none',\n background: 'none',\n padding: 0,\n cursor: 'pointer',\n font: 'inherit',\n color: 'var(--dsw-alias-label-tertiary)',\n}\n\nconst ACTION_COPIED: CSSProperties = {\n ...ACTION,\n color: 'var(--dsw-alias-state-success, #34c759)',\n fontWeight: 500,\n}\n\nconst LINK: CSSProperties = {\n display: 'inline-flex',\n alignItems: 'center',\n gap: 6,\n textDecoration: 'none',\n color: 'var(--dsw-alias-label-tertiary)',\n}\n\nconst FOOTER: CSSProperties = {\n display: 'flex',\n flexDirection: 'column',\n gap: 2,\n}\n\nconst COPYRIGHT: CSSProperties = {\n fontSize: 12,\n fontWeight: 500,\n color: 'var(--dsw-alias-label-secondary)',\n margin: 0,\n}\n\nconst POWERED: CSSProperties = {\n fontSize: 11,\n color: 'var(--dsw-alias-label-tertiary)',\n margin: 0,\n}\n\n/** Same-origin route mounted by the node half (see `src/index.ts`). */\nconst ABOUT_ROUTE = '/api/v1/huaqiu/about'\n\nconst GITHUB_URL = 'https://github.com/deepseek-ai/deepseek-harness'\n\ninterface AboutPayload {\n version?: unknown\n dshVersion?: unknown\n}\n\nexport interface AboutSectionProps {\n /** Bound locale dictionary (injected by the client entry). */\n t: (key: string) => string\n}\n\nexport function AboutSection({ t }: AboutSectionProps): ReactElement {\n const [version, setVersion] = useState<string | null>(null)\n const [dshVersion, setDshVersion] = useState<string | null>(null)\n const [copied, setCopied] = useState(false)\n\n useEffect(() => {\n let alive = true\n void fetch(ABOUT_ROUTE)\n .then((res) => (res.ok ? res.json() as Promise<AboutPayload> : null))\n .then((body) => {\n if (!alive) return\n setVersion(body && typeof body.version === 'string' ? body.version : null)\n setDshVersion(\n body && typeof body.dshVersion === 'string' ? body.dshVersion : null,\n )\n })\n .catch(() => { if (alive) { setVersion(null); setDshVersion(null) } })\n return () => { alive = false }\n }, [])\n\n useEffect(() => {\n if (!copied) return\n const timer = window.setTimeout(() => setCopied(false), 2000)\n return () => window.clearTimeout(timer)\n }, [copied])\n\n const copyMeta = (): void => {\n const runtime = version ?? '-'\n const dist = dshVersion ?? '-'\n const text = [\n `App: ${t('slogan')}`,\n `DSH Runtime: ${runtime}`,\n `Release: ${dist}`,\n `Copyright: ${t('copyright')}`,\n ].join('\\n')\n void navigator.clipboard.writeText(text).catch(() => {})\n setCopied(true)\n }\n\n return createElement(\n 'div',\n { style: ROOT },\n createElement(\n 'div',\n { style: TOP },\n createElement(HuaqiuBrandMark, { size: 64 }),\n createElement('div', { style: TITLE }, t('slogan')),\n createElement(\n 'div',\n { style: BADGE },\n createElement('span', null, t('runtimeLabel')),\n createElement('span', { style: BADGE_VALUE }, version ?? ''),\n ),\n ),\n createElement(\n 'div',\n { style: META_BOX },\n createElement(\n 'div',\n { style: ROW },\n createElement('span', { style: ROW_LABEL }, t('distributionLabel')),\n createElement('span', { style: VERSION_PILL }, dshVersion ?? ''),\n ),\n createElement(\n 'div',\n { style: ROW },\n createElement('span', { style: ROW_LABEL }, t('builtinPluginLabel')),\n createElement('span', { style: VERSION_PILL }, version ?? ''),\n ),\n createElement(\n 'div',\n { style: ROW_BOTTOM },\n createElement(\n 'button',\n { style: copied ? ACTION_COPIED : ACTION, onClick: copyMeta, type: 'button' },\n createElement('span', null, copied ? t('copied') : t('copyMetadata')),\n ),\n createElement(\n 'a',\n { style: LINK, href: GITHUB_URL, target: '_blank', rel: 'noreferrer' },\n createElement('span', null, 'deepseek-harness'),\n createElement('span', { style: { fontSize: 9, opacity: 0.7 } }, '↗'),\n ),\n ),\n ),\n createElement(\n 'div',\n { style: FOOTER },\n createElement('p', { style: COPYRIGHT }, t('copyright')),\n createElement('p', { style: POWERED }, t('poweredBy')),\n ),\n )\n}\n","/** About-section dictionaries. */\n\nexport const zh = {\n nav: '关于',\n slogan: '电子设计智能体平台',\n runtimeLabel: 'DSH 运行时',\n distributionLabel: '发行版本',\n builtinPluginLabel: '内置插件版本',\n copyMetadata: '复制元数据 (Metadata)',\n copied: '版本信息已复制',\n copyright: '© 2026 深圳华秋智联股份有限公司',\n poweredBy: '由 DSH 提供支持',\n} as const\n\nexport type AboutKey = keyof typeof zh\n\nexport const en: Record<AboutKey, string> = {\n nav: 'About',\n slogan: 'Electronic Design Agent Platform',\n runtimeLabel: 'DSH Runtime',\n distributionLabel: 'Distribution',\n builtinPluginLabel: 'Builtin plugin version',\n copyMetadata: 'Copy metadata',\n copied: 'Metadata copied',\n copyright: '© 2026 Shenzhen Huaqiu Zhilian Co., Ltd.',\n poweredBy: 'Powered by DSH',\n}\n","/**\n * `@huaqiu/dsh-huaqiu-about` — browser half.\n *\n * Contributes an \"About\" row to the DSH settings page through the\n * `settings.section` slot (the same mechanism the community `dsh-market`\n * plugin uses). The row shows the original DSH fish mark, the DSH version\n * bundled with the running harness (fetched from the node half's\n * same-origin route), and the \"Powered by DSH\" claim.\n */\nimport { createElement } from 'react'\nimport type {} from '@deepseek-ai/dsh-client-ui-slots'\nimport { AboutSection } from './AboutSection'\nimport { en, zh, type AboutKey } from './locales'\n\nexport const inject = ['slots', 'locale'] as const\n\nexport const ABOUT_NS = 'about.huaqiu'\n\ndeclare module '@deepseek-ai/dsh-client-ui-slots' {\n interface LocaleNamespaceMap {\n 'about.huaqiu': AboutKey\n }\n}\n\n/**\n * Minimal structural client context (the DSH client runtime provides these\n * faces). Declared structurally, never imported, so the package stays\n * independently installable — the same pattern as\n * `@huaqiu/dsh-tool-schematic-gen`.\n */\nexport interface ClientContext {\n slots?: {\n inject(key: string, callback: () => () => void): () => void\n register(spec: {\n name: string\n id?: string\n order?: number\n label?: () => string\n locale?: string\n }, component: unknown): () => void\n }\n locale?: {\n register(namespace: string, dictionaries: unknown): unknown\n bind(namespace: string): (key: string) => string\n }\n effect?(fn: () => (() => void) | void, label?: string): void\n}\n\n/**\n * Install the About row on the running client context.\n */\nexport function apply(ctx: ClientContext): void {\n ctx.effect?.(() => { ctx.locale?.register(ABOUT_NS, { zh, en }) }, 'huaqiu about: dictionaries')\n const t = ctx.locale?.bind(ABOUT_NS) ?? (() => 'About')\n const slots = ctx.slots\n if (!slots) return\n slots.inject('settings.section', () => slots.register({\n name: 'settings.section',\n id: 'huaqiu-about',\n order: 90,\n label: () => t('nav'),\n locale: ABOUT_NS,\n }, () => createElement(AboutSection, { t })))\n}\n"],"mappings":";;;;;;;;;;;;EAMA,SAAgB,gBAAgB,EAAE,MAAM,aAAuE;GAC7G,QAAA,GAAOA,MAAAA,cAAAA,CACL,OACA;IACE,eAAe;IACf;IACA,QAAQ;IACR,OAAO;KAAE,SAAS;KAAS,MAAM;IAAO;IACxC,SAAS;IACT,OAAO;IACP,OAAO;GACT,IAAA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S,CAAC,SAAS,QAAQ;EAExC,MAAa,WAAW;;;;EAmCxB,SAAgB,MAAM,KAA0B;GAC9C,IAAI,eAAe;IAAE,IAAI,QAAQ,SAAS,UAAU;KAAE;KAAI;IAAG,CAAC;GAAE,GAAG,4BAA4B;GAC/F,MAAM,IAAI,IAAI,QAAQ,KAAA,cAAa,YAAY;GAC/C,MAAM,QAAQ,IAAI;GAClB,IAAI,CAAC,OAAO;GACZ,MAAM,OAAO,0BAA0B,MAAM,SAAS;IACpD,MAAM;IACN,IAAI;IACJ,OAAO;IACP,aAAa,EAAE,KAAK;IACpB,QAAQ;GACV,UAAA,GAASC,MAAAA,cAAAA,CAAc,cAAc,EAAE,EAAE,CAAC,CAAC,CAAC;EAC9C"}
1
+ {"version":3,"file":"client.js","names":["createElement","useState","createElement","createElement"],"sources":["../src/client/HuaqiuBrand.tsx","../src/client/AboutSection.tsx","../src/client/locales.ts","../src/client/index.ts"],"sourcesContent":["/**\n * HuaQiu brand mark — self-contained copy (SVG) so the About plugin does not\n * depend on another plugin's client bundle at runtime.\n */\nimport { createElement } from 'react'\n\nexport function HuaqiuBrandMark({ size, className }: { size: number; className?: string }): React.ReactElement {\n return createElement(\n 'svg',\n {\n 'aria-hidden': true,\n className,\n height: size,\n style: { display: 'block', flex: 'none' },\n viewBox: '0 0 974.25 974.25',\n width: size,\n xmlns: 'http://www.w3.org/2000/svg',\n },\n createElement('path', {\n d: 'M865.67,758.67a107,107,0,1,0,107,107A107,107,0,0,0,865.67,758.67Z',\n fill: '#c7000b',\n fillRule: 'evenodd',\n }),\n createElement('path', {\n d: 'M744.11,0h-514C103.56,0,0,103.56,0,230.14v514C0,870.69,103.56,974.25,230.14,974.25h514c3.34,0,6.66-.06,10-.21a155.66,155.66,0,0,1-40-143.56H230.14a86.63,86.63,0,0,1-86.37-86.37v-514a86.63,86.63,0,0,1,86.37-86.37h514a86.61,86.61,0,0,1,86.37,86.37V714.06a156.93,156.93,0,0,1,35.19-4A155.1,155.1,0,0,1,974,754c.15-3.28.21-6.6.21-9.92v-514C974.25,103.56,870.69,0,744.11,0Z',\n fill: '#c7000b',\n fillRule: 'evenodd',\n }),\n createElement('polygon', {\n points: '735.67 735.65 735.67 238.59 591.9 238.59 591.9 415.24 382.39 415.24 382.39 238.59 238.62 238.59 238.62 735.65 382.39 735.65 382.39 559.01 591.9 559.01 591.9 735.65 735.67 735.65',\n fill: '#c7000b',\n fillRule: 'evenodd',\n }),\n )\n}\n","/**\n * About row content, following the reference prototype:\n *\n * [HuaQiu brand mark]\n * {slogan}\n * [DSH 运行时 0.1.0] (runtime label + this plugin's version)\n * ┌───────────────────────────┐\n * │ 发行版本 0.1.5-rc.2 │ (Distribution label + bundled DSH version)\n * │ 内置插件版本 0.1.0 │ (Builtin plugin version = plugin version)\n * │ 复制元数据 deepseek-harness ↗ │\n * └───────────────────────────┘\n * © 2026 深圳华秋智联股份有限公司\n * 由 DSH 提供支持\n *\n * The two versions are fetched from the node half's same-origin route\n * (`GET /api/v1/huaqiu/about` → `{ version, dshVersion }`): the DSH Runtime\n * badge and the Builtin plugin version row both show this plugin's declared\n * version, the Distribution version is the DSH version bundled with the\n * running harness. The block is vertically compact like the prototype — it\n * centers as one dense unit instead of stretching across the panel. All text\n * lines are localised.\n */\nimport { createElement, useEffect, useState, type CSSProperties, type ReactElement } from 'react'\nimport { HuaqiuBrandMark } from './HuaqiuBrand'\n\nconst ROOT: CSSProperties = {\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n justifyContent: 'center',\n height: '100%',\n boxSizing: 'border-box',\n gap: 14,\n padding: '16px 24px',\n textAlign: 'center',\n}\n\nconst TOP: CSSProperties = {\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n gap: 8,\n}\n\nconst TITLE: CSSProperties = {\n color: 'var(--dsw-alias-label-primary)',\n fontSize: 20,\n fontWeight: 700,\n letterSpacing: '0.01em',\n}\n\nconst BADGE: CSSProperties = {\n display: 'inline-flex',\n alignItems: 'center',\n gap: 6,\n padding: '2px 12px',\n borderRadius: 999,\n fontSize: 12,\n fontFamily: 'ui-monospace, SFMono-Regular, Menlo, monospace',\n color: 'var(--dsw-alias-label-secondary)',\n background: 'color-mix(in srgb, var(--dsw-alias-label-primary) 5%, transparent)',\n border: '1px solid color-mix(in srgb, var(--dsw-alias-label-primary) 14%, transparent)',\n}\n\nconst BADGE_VALUE: CSSProperties = {\n color: 'var(--dsw-alias-label-primary)',\n fontWeight: 600,\n}\n\nconst META_BOX: CSSProperties = {\n width: '100%',\n maxWidth: 360,\n display: 'flex',\n flexDirection: 'column',\n gap: 8,\n padding: '12px 14px',\n borderRadius: 12,\n fontSize: 12,\n textAlign: 'left',\n color: 'var(--dsw-alias-label-primary)',\n background: 'color-mix(in srgb, var(--dsw-alias-label-primary) 3%, transparent)',\n border: '1px solid color-mix(in srgb, var(--dsw-alias-label-primary) 10%, transparent)',\n boxSizing: 'border-box',\n}\n\nconst ROW: CSSProperties = {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n gap: 12,\n}\n\nconst ROW_LABEL: CSSProperties = {\n color: 'var(--dsw-alias-label-tertiary)',\n}\n\nconst VERSION_PILL: CSSProperties = {\n color: 'var(--dsw-alias-label-primary)',\n fontWeight: 500,\n fontFamily: 'ui-monospace, SFMono-Regular, Menlo, monospace',\n fontSize: 11,\n padding: '1px 8px',\n borderRadius: 6,\n background: 'color-mix(in srgb, var(--dsw-alias-label-primary) 6%, transparent)',\n border: '1px solid color-mix(in srgb, var(--dsw-alias-label-primary) 14%, transparent)',\n}\n\nconst ROW_BOTTOM: CSSProperties = {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n gap: 12,\n paddingTop: 8,\n borderTop: '1px solid color-mix(in srgb, var(--dsw-alias-label-primary) 12%, transparent)',\n fontSize: 11,\n}\n\nconst ACTION: CSSProperties = {\n display: 'inline-flex',\n alignItems: 'center',\n gap: 6,\n border: 'none',\n background: 'none',\n padding: 0,\n cursor: 'pointer',\n font: 'inherit',\n color: 'var(--dsw-alias-label-tertiary)',\n}\n\nconst ACTION_COPIED: CSSProperties = {\n ...ACTION,\n color: 'var(--dsw-alias-state-success, #34c759)',\n fontWeight: 500,\n}\n\nconst LINK: CSSProperties = {\n display: 'inline-flex',\n alignItems: 'center',\n gap: 6,\n textDecoration: 'none',\n color: 'var(--dsw-alias-label-tertiary)',\n}\n\nconst FOOTER: CSSProperties = {\n display: 'flex',\n flexDirection: 'column',\n gap: 2,\n}\n\nconst COPYRIGHT: CSSProperties = {\n fontSize: 12,\n fontWeight: 500,\n color: 'var(--dsw-alias-label-secondary)',\n margin: 0,\n}\n\nconst POWERED: CSSProperties = {\n fontSize: 11,\n color: 'var(--dsw-alias-label-tertiary)',\n margin: 0,\n}\n\n/** Same-origin route mounted by the node half (see `src/index.ts`). */\nconst ABOUT_ROUTE = '/api/v1/huaqiu/about'\n\nconst GITHUB_URL = 'https://github.com/deepseek-ai/deepseek-harness'\n\ninterface AboutPayload {\n version?: unknown\n dshVersion?: unknown\n}\n\nexport interface AboutSectionProps {\n /** Bound locale dictionary (injected by the client entry). */\n t: (key: string) => string\n}\n\nexport function AboutSection({ t }: AboutSectionProps): ReactElement {\n const [version, setVersion] = useState<string | null>(null)\n const [dshVersion, setDshVersion] = useState<string | null>(null)\n const [copied, setCopied] = useState(false)\n\n useEffect(() => {\n let alive = true\n void fetch(ABOUT_ROUTE)\n .then((res) => (res.ok ? res.json() as Promise<AboutPayload> : null))\n .then((body) => {\n if (!alive) return\n setVersion(body && typeof body.version === 'string' ? body.version : null)\n setDshVersion(\n body && typeof body.dshVersion === 'string' ? body.dshVersion : null,\n )\n })\n .catch(() => { if (alive) { setVersion(null); setDshVersion(null) } })\n return () => { alive = false }\n }, [])\n\n useEffect(() => {\n if (!copied) return\n const timer = window.setTimeout(() => setCopied(false), 2000)\n return () => window.clearTimeout(timer)\n }, [copied])\n\n const copyMeta = (): void => {\n const runtime = version ?? '-'\n const dist = dshVersion ?? '-'\n const text = [\n `App: ${t('slogan')}`,\n `DSH Runtime: ${runtime}`,\n `Release: ${dist}`,\n `Copyright: ${t('copyright')}`,\n ].join('\\n')\n void navigator.clipboard.writeText(text).catch(() => {})\n setCopied(true)\n }\n\n return createElement(\n 'div',\n { style: ROOT },\n createElement(\n 'div',\n { style: TOP },\n createElement(HuaqiuBrandMark, { size: 64 }),\n createElement('div', { style: TITLE }, t('slogan')),\n createElement(\n 'div',\n { style: BADGE },\n createElement('span', null, t('runtimeLabel')),\n createElement('span', { style: BADGE_VALUE }, version ?? ''),\n ),\n ),\n createElement(\n 'div',\n { style: META_BOX },\n createElement(\n 'div',\n { style: ROW },\n createElement('span', { style: ROW_LABEL }, t('distributionLabel')),\n createElement('span', { style: VERSION_PILL }, dshVersion ?? ''),\n ),\n createElement(\n 'div',\n { style: ROW },\n createElement('span', { style: ROW_LABEL }, t('builtinPluginLabel')),\n createElement('span', { style: VERSION_PILL }, version ?? ''),\n ),\n createElement(\n 'div',\n { style: ROW_BOTTOM },\n createElement(\n 'button',\n { style: copied ? ACTION_COPIED : ACTION, onClick: copyMeta, type: 'button' },\n createElement('span', null, copied ? t('copied') : t('copyMetadata')),\n ),\n createElement(\n 'a',\n { style: LINK, href: GITHUB_URL, target: '_blank', rel: 'noreferrer' },\n createElement('span', null, 'deepseek-harness'),\n createElement('span', { style: { fontSize: 9, opacity: 0.7 } }, '↗'),\n ),\n ),\n ),\n createElement(\n 'div',\n { style: FOOTER },\n createElement('p', { style: COPYRIGHT }, t('copyright')),\n createElement('p', { style: POWERED }, t('poweredBy')),\n ),\n )\n}\n","/** About-section dictionaries. */\n\nexport const zh = {\n nav: '关于',\n slogan: '电子设计智能体平台',\n runtimeLabel: 'DSH 运行时',\n distributionLabel: '发行版本',\n builtinPluginLabel: '内置插件版本',\n copyMetadata: '复制元数据 (Metadata)',\n copied: '版本信息已复制',\n copyright: '© 2026 深圳华秋智联股份有限公司',\n poweredBy: '由 DSH 提供支持',\n} as const\n\nexport type AboutKey = keyof typeof zh\n\nexport const en: Record<AboutKey, string> = {\n nav: 'About',\n slogan: 'Electronic Design Agent Platform',\n runtimeLabel: 'DSH Runtime',\n distributionLabel: 'Distribution',\n builtinPluginLabel: 'Builtin plugin version',\n copyMetadata: 'Copy metadata',\n copied: 'Metadata copied',\n copyright: '© 2026 Shenzhen Huaqiu Zhilian Co., Ltd.',\n poweredBy: 'Powered by DSH',\n}\n","/**\n * `@huaqiu/dsh-huaqiu-about` — browser half.\n *\n * Contributes an \"About\" row to the DSH settings page through the\n * `settings.section` slot (the same mechanism the community `dsh-market`\n * plugin uses). The row shows the original DSH fish mark, the DSH version\n * bundled with the running harness (fetched from the node half's\n * same-origin route), and the \"Powered by DSH\" claim.\n */\nimport { createElement } from 'react'\nimport type {} from '@deepseek-ai/dsh-client-ui-slots'\nimport { AboutSection } from './AboutSection'\nimport { en, zh, type AboutKey } from './locales'\n\nexport const inject = ['slots', 'locale'] as const\n\nexport const ABOUT_NS = 'about.huaqiu'\n\ndeclare module '@deepseek-ai/dsh-client-ui-slots' {\n interface LocaleNamespaceMap {\n 'about.huaqiu': AboutKey\n }\n}\n\n/**\n * Minimal structural client context (the DSH client runtime provides these\n * faces). Declared structurally, never imported, so the package stays\n * independently installable — the same pattern as\n * `@huaqiu/dsh-tool-kicad-schematic-gen`.\n */\nexport interface ClientContext {\n slots?: {\n inject(key: string, callback: () => () => void): () => void\n register(spec: {\n name: string\n id?: string\n order?: number\n label?: () => string\n locale?: string\n }, component: unknown): () => void\n }\n locale?: {\n register(namespace: string, dictionaries: unknown): unknown\n bind(namespace: string): (key: string) => string\n }\n effect?(fn: () => (() => void) | void, label?: string): void\n}\n\n/**\n * Install the About row on the running client context.\n */\nexport function apply(ctx: ClientContext): void {\n ctx.effect?.(() => { ctx.locale?.register(ABOUT_NS, { zh, en }) }, 'huaqiu about: dictionaries')\n const t = ctx.locale?.bind(ABOUT_NS) ?? (() => 'About')\n const slots = ctx.slots\n if (!slots) return\n slots.inject('settings.section', () => slots.register({\n name: 'settings.section',\n id: 'huaqiu-about',\n order: 90,\n label: () => t('nav'),\n locale: ABOUT_NS,\n }, () => createElement(AboutSection, { t })))\n}\n"],"mappings":";;;;;;;;;;;;EAMA,SAAgB,gBAAgB,EAAE,MAAM,aAAuE;GAC7G,QAAA,GAAOA,MAAAA,cAAAA,CACL,OACA;IACE,eAAe;IACf;IACA,QAAQ;IACR,OAAO;KAAE,SAAS;KAAS,MAAM;IAAO;IACxC,SAAS;IACT,OAAO;IACP,OAAO;GACT,IAAA,GACAA,MAAAA,cAAAA,CAAc,QAAQ;IACpB,GAAG;IACH,MAAM;IACN,UAAU;GACZ,CAAC,IAAA,GACDA,MAAAA,cAAAA,CAAc,QAAQ;IACpB,GAAG;IACH,MAAM;IACN,UAAU;GACZ,CAAC,IAAA,GACDA,MAAAA,cAAAA,CAAc,WAAW;IACvB,QAAQ;IACR,MAAM;IACN,UAAU;GACZ,CAAC,CACH;EACF;;;;;;;;;;;;;;;;;;;;;;;;;ECTA,MAAM,OAAsB;GAC1B,SAAS;GACT,eAAe;GACf,YAAY;GACZ,gBAAgB;GAChB,QAAQ;GACR,WAAW;GACX,KAAK;GACL,SAAS;GACT,WAAW;EACb;EAEA,MAAM,MAAqB;GACzB,SAAS;GACT,eAAe;GACf,YAAY;GACZ,KAAK;EACP;EAEA,MAAM,QAAuB;GAC3B,OAAO;GACP,UAAU;GACV,YAAY;GACZ,eAAe;EACjB;EAEA,MAAM,QAAuB;GAC3B,SAAS;GACT,YAAY;GACZ,KAAK;GACL,SAAS;GACT,cAAc;GACd,UAAU;GACV,YAAY;GACZ,OAAO;GACP,YAAY;GACZ,QAAQ;EACV;EAEA,MAAM,cAA6B;GACjC,OAAO;GACP,YAAY;EACd;EAEA,MAAM,WAA0B;GAC9B,OAAO;GACP,UAAU;GACV,SAAS;GACT,eAAe;GACf,KAAK;GACL,SAAS;GACT,cAAc;GACd,UAAU;GACV,WAAW;GACX,OAAO;GACP,YAAY;GACZ,QAAQ;GACR,WAAW;EACb;EAE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D,CACF;EACF;;;;EC3QA,MAAa,KAAK;GAChB,KAAK;GACL,QAAQ;GACR,cAAc;GACd,mBAAmB;GACnB,oBAAoB;GACpB,cAAc;GACd,QAAQ;GACR,WAAW;GACX,WAAW;EACb;EAIA,MAAa,KAA+B;GAC1C,KAAK;GACL,QAAQ;GACR,cAAc;GACd,mBAAmB;GACnB,oBAAoB;GACpB,cAAc;GACd,QAAQ;GACR,WAAW;GACX,WAAW;EACb;;;;;;;;;;;;ECZA,MAAa,SAAS,CAAC,SAAS,QAAQ;EAExC,MAAa,WAAW;;;;EAmCxB,SAAgB,MAAM,KAA0B;GAC9C,IAAI,eAAe;IAAE,IAAI,QAAQ,SAAS,UAAU;KAAE;KAAI;IAAG,CAAC;GAAE,GAAG,4BAA4B;GAC/F,MAAM,IAAI,IAAI,QAAQ,KAAA,cAAa,YAAY;GAC/C,MAAM,QAAQ,IAAI;GAClB,IAAI,CAAC,OAAO;GACZ,MAAM,OAAO,0BAA0B,MAAM,SAAS;IACpD,MAAM;IACN,IAAI;IACJ,OAAO;IACP,aAAa,EAAE,KAAK;IACpB,QAAQ;GACV,UAAA,GAASC,MAAAA,cAAAA,CAAc,cAAc,EAAE,EAAE,CAAC,CAAC,CAAC;EAC9C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huaqiu/dsh-huaqiu-about",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "HuaQiu About section in the DSH settings page: original DSH mark, bundled DSH version and the Powered-by-DSH claim.",
5
5
  "type": "module",
6
6
  "main": "./lib/index.mjs",
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "peerDependencies": {
33
33
  "@deepseek-ai/cordis": "^4.0.2",
34
- "@deepseek-ai/dsh-host-webserver": "^0.1.0-rc.0"
34
+ "@deepseek-ai/dsh-host-webserver": "^0.2.1-rc.2"
35
35
  },
36
36
  "files": [
37
37
  "lib",
@@ -26,7 +26,7 @@ declare module '@deepseek-ai/dsh-client-ui-slots' {
26
26
  * Minimal structural client context (the DSH client runtime provides these
27
27
  * faces). Declared structurally, never imported, so the package stays
28
28
  * independently installable — the same pattern as
29
- * `@huaqiu/dsh-tool-schematic-gen`.
29
+ * `@huaqiu/dsh-tool-kicad-schematic-gen`.
30
30
  */
31
31
  export interface ClientContext {
32
32
  slots?: {