@yadsh/dsh-qa-surface 0.5.0 → 0.6.1
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/README.md +206 -11
- package/compatibility.json +10 -1
- package/cordis.patch.yml +11 -1
- package/lib/account-remotes.js +10 -0
- package/lib/account-remotes.js.map +1 -1
- package/lib/accounts/errors.js.map +1 -1
- package/lib/accounts/file.js.map +1 -1
- package/lib/accounts/store.js +22 -0
- package/lib/accounts/store.js.map +1 -1
- package/lib/attestation.js +6 -0
- package/lib/attestation.js.map +1 -1
- package/lib/client/QaAccountsController.js +29 -0
- package/lib/client/QaAccountsController.js.map +1 -1
- package/lib/client/QaSessionController.js +205 -61
- package/lib/client/QaSessionController.js.map +1 -1
- package/lib/client/QaSurface.js +125 -56
- package/lib/client/QaSurface.js.map +1 -1
- package/lib/client/QaSurfaceGuard.js +96 -0
- package/lib/client/QaSurfaceGuard.js.map +1 -0
- package/lib/client/QaTranscriptAdapter.js +11 -5
- package/lib/client/QaTranscriptAdapter.js.map +1 -1
- package/lib/client/attestation.js +14 -2
- package/lib/client/attestation.js.map +1 -1
- package/lib/client/components/QaChangelog.js +44 -0
- package/lib/client/components/QaChangelog.js.map +1 -1
- package/lib/client/components/QaComposer.js +1 -1
- package/lib/client/components/QaComposer.js.map +1 -1
- package/lib/client/components/QaHeader.js +2 -8
- package/lib/client/components/QaHeader.js.map +1 -1
- package/lib/client/components/QaMessage.js +20 -7
- package/lib/client/components/QaMessage.js.map +1 -1
- package/lib/client/components/QaModal.js +24 -6
- package/lib/client/components/QaModal.js.map +1 -1
- package/lib/client/components/QaSidebar.js +2 -6
- package/lib/client/components/QaSidebar.js.map +1 -1
- package/lib/client/components/QaSourcesPanel.js +6 -5
- package/lib/client/components/QaSourcesPanel.js.map +1 -1
- package/lib/client/components/QaWidthHandle.js +21 -1
- package/lib/client/components/QaWidthHandle.js.map +1 -1
- package/lib/client/components/surface-utils.js +2 -0
- package/lib/client/components/surface-utils.js.map +1 -1
- package/lib/client/index.js +72 -24
- package/lib/client/index.js.map +1 -1
- package/lib/client/panels/PanelHost.js +209 -0
- package/lib/client/panels/PanelHost.js.map +1 -0
- package/lib/client/panels/PanelLauncher.js +39 -0
- package/lib/client/panels/PanelLauncher.js.map +1 -0
- package/lib/client/panels/contract.js +2 -0
- package/lib/client/panels/contract.js.map +1 -0
- package/lib/client/panels/index.js +2 -0
- package/lib/client/panels/index.js.map +1 -0
- package/lib/client/panels/registry.js +171 -0
- package/lib/client/panels/registry.js.map +1 -0
- package/lib/client/project-session-state.js +13 -5
- package/lib/client/project-session-state.js.map +1 -1
- package/lib/client/settings/card.js +2 -2
- package/lib/client/settings/card.js.map +1 -1
- package/lib/client/settings/sections/accounts.js +3 -1
- package/lib/client/settings/sections/accounts.js.map +1 -1
- package/lib/client/settings/sections/documents.js +88 -0
- package/lib/client/settings/sections/documents.js.map +1 -0
- package/lib/client/settings/sections/interface.js +2 -0
- package/lib/client/settings/sections/interface.js.map +1 -1
- package/lib/client/settings/sections.js +1 -0
- package/lib/client/settings/sections.js.map +1 -1
- package/lib/client/settings-extensions/contract.js +2 -0
- package/lib/client/settings-extensions/contract.js.map +1 -0
- package/lib/client/settings-extensions/index.js +2 -0
- package/lib/client/settings-extensions/index.js.map +1 -0
- package/lib/client/settings-extensions/registry.js +63 -0
- package/lib/client/settings-extensions/registry.js.map +1 -0
- package/lib/client/settlement.js +51 -5
- package/lib/client/settlement.js.map +1 -1
- package/lib/client/source-preview.js +24 -0
- package/lib/client/source-preview.js.map +1 -0
- package/lib/client/styles.js +158 -32
- package/lib/client/styles.js.map +1 -1
- package/lib/client/subagent-codenames.js +109 -0
- package/lib/client/subagent-codenames.js.map +1 -0
- package/lib/client/types.js +2 -0
- package/lib/client/types.js.map +1 -1
- package/lib/client/user-settings/GeneralSettingsPage.js +13 -0
- package/lib/client/user-settings/GeneralSettingsPage.js.map +1 -0
- package/lib/client/user-settings/ProfileSettingsPage.js +59 -0
- package/lib/client/user-settings/ProfileSettingsPage.js.map +1 -0
- package/lib/client/user-settings/SkillCatalog.js +23 -0
- package/lib/client/user-settings/SkillCatalog.js.map +1 -0
- package/lib/client/user-settings/SkillEditor.js +89 -0
- package/lib/client/user-settings/SkillEditor.js.map +1 -0
- package/lib/client/user-settings/SkillToolPicker.js +58 -0
- package/lib/client/user-settings/SkillToolPicker.js.map +1 -0
- package/lib/client/user-settings/SkillsSettingsPage.js +171 -0
- package/lib/client/user-settings/SkillsSettingsPage.js.map +1 -0
- package/lib/client/user-settings/StartersSettingsPage.js +78 -0
- package/lib/client/user-settings/StartersSettingsPage.js.map +1 -0
- package/lib/client/user-settings/UserSettingsDialog.js +50 -0
- package/lib/client/user-settings/UserSettingsDialog.js.map +1 -0
- package/lib/client/user-settings/copy.js +84 -0
- package/lib/client/user-settings/copy.js.map +1 -0
- package/lib/client/user-settings/draft.js +127 -0
- package/lib/client/user-settings/draft.js.map +1 -0
- package/lib/client/user-settings/fields.js +24 -0
- package/lib/client/user-settings/fields.js.map +1 -0
- package/lib/client.js +5554 -1415
- package/lib/client.js.map +1 -1
- package/lib/config-resolvers/accounts.js +30 -0
- package/lib/config-resolvers/accounts.js.map +1 -1
- package/lib/config-resolvers/defaults.js +23 -0
- package/lib/config-resolvers/defaults.js.map +1 -1
- package/lib/config-resolvers/tools.js +37 -0
- package/lib/config-resolvers/tools.js.map +1 -0
- package/lib/config-resolvers/ui.js +2 -0
- package/lib/config-resolvers/ui.js.map +1 -1
- package/lib/config.js +288 -0
- package/lib/config.js.map +1 -1
- package/lib/documents/artifacts/ids.js +43 -0
- package/lib/documents/artifacts/ids.js.map +1 -0
- package/lib/documents/artifacts/manifest.js +66 -0
- package/lib/documents/artifacts/manifest.js.map +1 -0
- package/lib/documents/artifacts/store.js +169 -0
- package/lib/documents/artifacts/store.js.map +1 -0
- package/lib/documents/capabilities.js +93 -0
- package/lib/documents/capabilities.js.map +1 -0
- package/lib/documents/config.js +302 -0
- package/lib/documents/config.js.map +1 -0
- package/lib/documents/defaults.js +78 -0
- package/lib/documents/defaults.js.map +1 -0
- package/lib/documents/errors.js +101 -0
- package/lib/documents/errors.js.map +1 -0
- package/lib/documents/index.js +80 -0
- package/lib/documents/index.js.map +1 -0
- package/lib/documents/inspect/facts.js +161 -0
- package/lib/documents/inspect/facts.js.map +1 -0
- package/lib/documents/inspect/zip.js +108 -0
- package/lib/documents/inspect/zip.js.map +1 -0
- package/lib/documents/markdown/directives.js +135 -0
- package/lib/documents/markdown/directives.js.map +1 -0
- package/lib/documents/markdown/frontmatter.js +35 -0
- package/lib/documents/markdown/frontmatter.js.map +1 -0
- package/lib/documents/markdown/normalize.js +113 -0
- package/lib/documents/markdown/normalize.js.map +1 -0
- package/lib/documents/orchestrator/assets.js +243 -0
- package/lib/documents/orchestrator/assets.js.map +1 -0
- package/lib/documents/orchestrator/convert-document.js +186 -0
- package/lib/documents/orchestrator/convert-document.js.map +1 -0
- package/lib/documents/orchestrator/create-document.js +292 -0
- package/lib/documents/orchestrator/create-document.js.map +1 -0
- package/lib/documents/orchestrator/extract-document.js +162 -0
- package/lib/documents/orchestrator/extract-document.js.map +1 -0
- package/lib/documents/orchestrator/inspect-document.js +89 -0
- package/lib/documents/orchestrator/inspect-document.js.map +1 -0
- package/lib/documents/orchestrator/runtime-deps.js +59 -0
- package/lib/documents/orchestrator/runtime-deps.js.map +1 -0
- package/lib/documents/orchestrator/scope.js +132 -0
- package/lib/documents/orchestrator/scope.js.map +1 -0
- package/lib/documents/providers/docling.js +247 -0
- package/lib/documents/providers/docling.js.map +1 -0
- package/lib/documents/providers/libreoffice.js +130 -0
- package/lib/documents/providers/libreoffice.js.map +1 -0
- package/lib/documents/providers/markitdown.js +89 -0
- package/lib/documents/providers/markitdown.js.map +1 -0
- package/lib/documents/providers/pandoc.js +161 -0
- package/lib/documents/providers/pandoc.js.map +1 -0
- package/lib/documents/providers/process.js +164 -0
- package/lib/documents/providers/process.js.map +1 -0
- package/lib/documents/providers/registry.js +152 -0
- package/lib/documents/providers/registry.js.map +1 -0
- package/lib/documents/providers/shared.js +75 -0
- package/lib/documents/providers/shared.js.map +1 -0
- package/lib/documents/runtime.js +114 -0
- package/lib/documents/runtime.js.map +1 -0
- package/lib/documents/security/file-types.js +188 -0
- package/lib/documents/security/file-types.js.map +1 -0
- package/lib/documents/security/limits.js +78 -0
- package/lib/documents/security/limits.js.map +1 -0
- package/lib/documents/security/mime.js +43 -0
- package/lib/documents/security/mime.js.map +1 -0
- package/lib/documents/security/paths.js +133 -0
- package/lib/documents/security/paths.js.map +1 -0
- package/lib/documents/templates/registry.js +147 -0
- package/lib/documents/templates/registry.js.map +1 -0
- package/lib/documents/templates/resolver.js +59 -0
- package/lib/documents/templates/resolver.js.map +1 -0
- package/lib/documents/tools/convert.js +125 -0
- package/lib/documents/tools/convert.js.map +1 -0
- package/lib/documents/tools/create.js +187 -0
- package/lib/documents/tools/create.js.map +1 -0
- package/lib/documents/tools/index.js +41 -0
- package/lib/documents/tools/index.js.map +1 -0
- package/lib/documents/tools/inspect.js +135 -0
- package/lib/documents/tools/inspect.js.map +1 -0
- package/lib/documents/tools/shared.js +88 -0
- package/lib/documents/tools/shared.js.map +1 -0
- package/lib/documents/tools/to-markdown.js +125 -0
- package/lib/documents/tools/to-markdown.js.map +1 -0
- package/lib/documents/types.js +12 -0
- package/lib/documents/types.js.map +1 -0
- package/lib/index.js +231 -22
- package/lib/index.js.map +1 -1
- package/lib/integration-principals.js +22 -0
- package/lib/integration-principals.js.map +1 -0
- package/lib/lockdown-policy.js +15 -3
- package/lib/lockdown-policy.js.map +1 -1
- package/lib/personal-skills/errors.js +9 -0
- package/lib/personal-skills/errors.js.map +1 -0
- package/lib/personal-skills/host.js +80 -0
- package/lib/personal-skills/host.js.map +1 -0
- package/lib/personal-skills/index.js +10 -0
- package/lib/personal-skills/index.js.map +1 -0
- package/lib/personal-skills/paths.js +127 -0
- package/lib/personal-skills/paths.js.map +1 -0
- package/lib/personal-skills/provider.js +109 -0
- package/lib/personal-skills/provider.js.map +1 -0
- package/lib/personal-skills/remotes.js +40 -0
- package/lib/personal-skills/remotes.js.map +1 -0
- package/lib/personal-skills/service.js +686 -0
- package/lib/personal-skills/service.js.map +1 -0
- package/lib/personal-skills/skill-file.js +278 -0
- package/lib/personal-skills/skill-file.js.map +1 -0
- package/lib/personal-skills/skill-format.js +202 -0
- package/lib/personal-skills/skill-format.js.map +1 -0
- package/lib/personal-skills/watcher.js +96 -0
- package/lib/personal-skills/watcher.js.map +1 -0
- package/lib/profile.js +6 -4
- package/lib/profile.js.map +1 -1
- package/lib/prompt-notes.js +19 -0
- package/lib/prompt-notes.js.map +1 -1
- package/lib/provenance/file-preview.js +68 -21
- package/lib/provenance/file-preview.js.map +1 -1
- package/lib/provenance/host-store.js +44 -11
- package/lib/provenance/host-store.js.map +1 -1
- package/lib/provenance/index.js +1 -0
- package/lib/provenance/index.js.map +1 -1
- package/lib/provenance/normalize.js +3 -1
- package/lib/provenance/normalize.js.map +1 -1
- package/lib/provenance/snapshot-store.js +154 -0
- package/lib/provenance/snapshot-store.js.map +1 -0
- package/lib/qa-tools/activation-detector.js +53 -0
- package/lib/qa-tools/activation-detector.js.map +1 -0
- package/lib/qa-tools/activation-manager.js +111 -0
- package/lib/qa-tools/activation-manager.js.map +1 -0
- package/lib/qa-tools/catalog.js +108 -0
- package/lib/qa-tools/catalog.js.map +1 -0
- package/lib/qa-tools/durable-marker.js +115 -0
- package/lib/qa-tools/durable-marker.js.map +1 -0
- package/lib/qa-tools/index.js +83 -0
- package/lib/qa-tools/index.js.map +1 -0
- package/lib/qa-tools/lifecycle.js +64 -0
- package/lib/qa-tools/lifecycle.js.map +1 -0
- package/lib/qa-tools/types.js +2 -0
- package/lib/qa-tools/types.js.map +1 -0
- package/lib/resolve-config.js +5 -0
- package/lib/resolve-config.js.map +1 -1
- package/lib/secure-session.js +75 -18
- package/lib/secure-session.js.map +1 -1
- package/lib/starters.js +117 -0
- package/lib/starters.js.map +1 -0
- package/lib/typert.host.js +767 -22
- package/lib/typert.remote-client.d.ts +17 -1
- package/lib/typert.remote-client.js +609 -17
- package/lib/types/account-remotes.d.ts +3 -1
- package/lib/types/accounts/errors.d.ts +1 -1
- package/lib/types/accounts/file.d.ts +10 -0
- package/lib/types/accounts/store.d.ts +7 -1
- package/lib/types/attestation.d.ts +2 -0
- package/lib/types/client/QaAccountsController.d.ts +7 -1
- package/lib/types/client/QaSessionController.d.ts +14 -0
- package/lib/types/client/QaSurface.d.ts +14 -4
- package/lib/types/client/QaSurfaceGuard.d.ts +27 -0
- package/lib/types/client/QaTranscriptAdapter.d.ts +7 -0
- package/lib/types/client/attestation.d.ts +8 -1
- package/lib/types/client/components/QaComposer.d.ts +3 -1
- package/lib/types/client/components/QaHeader.d.ts +3 -1
- package/lib/types/client/components/QaModal.d.ts +5 -4
- package/lib/types/client/components/QaSidebar.d.ts +8 -11
- package/lib/types/client/components/QaWidthHandle.d.ts +13 -0
- package/lib/types/client/index.d.ts +1 -0
- package/lib/types/client/panels/PanelHost.d.ts +18 -0
- package/lib/types/client/panels/PanelLauncher.d.ts +5 -0
- package/lib/types/client/panels/contract.d.ts +83 -0
- package/lib/types/client/panels/index.d.ts +3 -0
- package/lib/types/client/panels/registry.d.ts +40 -0
- package/lib/types/client/project-session-state.d.ts +7 -0
- package/lib/types/client/settings/sections/documents.d.ts +13 -0
- package/lib/types/client/settings/sections.d.ts +1 -0
- package/lib/types/client/settings-extensions/contract.d.ts +32 -0
- package/lib/types/client/settings-extensions/index.d.ts +3 -0
- package/lib/types/client/settings-extensions/registry.d.ts +15 -0
- package/lib/types/client/settlement.d.ts +41 -5
- package/lib/types/client/source-preview.d.ts +8 -0
- package/lib/types/client/styles.d.ts +2 -0
- package/lib/types/client/subagent-codenames.d.ts +18 -0
- package/lib/types/client/types.d.ts +35 -3
- package/lib/types/client/user-settings/GeneralSettingsPage.d.ts +14 -0
- package/lib/types/client/user-settings/ProfileSettingsPage.d.ts +18 -0
- package/lib/types/client/user-settings/SkillCatalog.d.ts +16 -0
- package/lib/types/client/user-settings/SkillEditor.d.ts +42 -0
- package/lib/types/client/user-settings/SkillToolPicker.d.ts +17 -0
- package/lib/types/client/user-settings/SkillsSettingsPage.d.ts +15 -0
- package/lib/types/client/user-settings/StartersSettingsPage.d.ts +14 -0
- package/lib/types/client/user-settings/UserSettingsDialog.d.ts +43 -0
- package/lib/types/client/user-settings/copy.d.ts +25 -0
- package/lib/types/client/user-settings/draft.d.ts +51 -0
- package/lib/types/client/user-settings/fields.d.ts +43 -0
- package/lib/types/config-resolvers/tools.d.ts +6 -0
- package/lib/types/documents/artifacts/ids.d.ts +14 -0
- package/lib/types/documents/artifacts/manifest.d.ts +32 -0
- package/lib/types/documents/artifacts/store.d.ts +67 -0
- package/lib/types/documents/capabilities.d.ts +32 -0
- package/lib/types/documents/config.d.ts +27 -0
- package/lib/types/documents/defaults.d.ts +161 -0
- package/lib/types/documents/errors.d.ts +42 -0
- package/lib/types/documents/index.d.ts +63 -0
- package/lib/types/documents/inspect/facts.d.ts +43 -0
- package/lib/types/documents/inspect/zip.d.ts +28 -0
- package/lib/types/documents/markdown/directives.d.ts +39 -0
- package/lib/types/documents/markdown/frontmatter.d.ts +15 -0
- package/lib/types/documents/markdown/normalize.d.ts +30 -0
- package/lib/types/documents/orchestrator/assets.d.ts +55 -0
- package/lib/types/documents/orchestrator/convert-document.d.ts +25 -0
- package/lib/types/documents/orchestrator/create-document.d.ts +18 -0
- package/lib/types/documents/orchestrator/extract-document.d.ts +24 -0
- package/lib/types/documents/orchestrator/inspect-document.d.ts +12 -0
- package/lib/types/documents/orchestrator/runtime-deps.d.ts +43 -0
- package/lib/types/documents/orchestrator/scope.d.ts +52 -0
- package/lib/types/documents/providers/docling.d.ts +54 -0
- package/lib/types/documents/providers/libreoffice.d.ts +40 -0
- package/lib/types/documents/providers/markitdown.d.ts +28 -0
- package/lib/types/documents/providers/pandoc.d.ts +42 -0
- package/lib/types/documents/providers/process.d.ts +54 -0
- package/lib/types/documents/providers/registry.d.ts +68 -0
- package/lib/types/documents/providers/shared.d.ts +27 -0
- package/lib/types/documents/runtime.d.ts +59 -0
- package/lib/types/documents/security/file-types.d.ts +39 -0
- package/lib/types/documents/security/limits.d.ts +24 -0
- package/lib/types/documents/security/mime.d.ts +13 -0
- package/lib/types/documents/security/paths.d.ts +38 -0
- package/lib/types/documents/templates/registry.d.ts +50 -0
- package/lib/types/documents/templates/resolver.d.ts +30 -0
- package/lib/types/documents/tools/convert.d.ts +9 -0
- package/lib/types/documents/tools/create.d.ts +14 -0
- package/lib/types/documents/tools/index.d.ts +33 -0
- package/lib/types/documents/tools/inspect.d.ts +9 -0
- package/lib/types/documents/tools/shared.d.ts +77 -0
- package/lib/types/documents/tools/to-markdown.d.ts +12 -0
- package/lib/types/documents/types.d.ts +294 -0
- package/lib/types/index.d.ts +75 -3
- package/lib/types/integration-principals.d.ts +9 -0
- package/lib/types/lockdown-policy.d.ts +12 -2
- package/lib/types/personal-skills/errors.d.ts +11 -0
- package/lib/types/personal-skills/host.d.ts +42 -0
- package/lib/types/personal-skills/index.d.ts +10 -0
- package/lib/types/personal-skills/paths.d.ts +39 -0
- package/lib/types/personal-skills/provider.d.ts +33 -0
- package/lib/types/personal-skills/remotes.d.ts +35 -0
- package/lib/types/personal-skills/service.d.ts +131 -0
- package/lib/types/personal-skills/skill-file.d.ts +64 -0
- package/lib/types/personal-skills/skill-format.d.ts +100 -0
- package/lib/types/personal-skills/watcher.d.ts +39 -0
- package/lib/types/profile.d.ts +13 -0
- package/lib/types/prompt-notes.d.ts +9 -0
- package/lib/types/provenance/file-preview.d.ts +47 -4
- package/lib/types/provenance/host-store.d.ts +7 -1
- package/lib/types/provenance/index.d.ts +1 -0
- package/lib/types/provenance/snapshot-store.d.ts +23 -0
- package/lib/types/qa-tools/activation-detector.d.ts +29 -0
- package/lib/types/qa-tools/activation-manager.d.ts +47 -0
- package/lib/types/qa-tools/catalog.d.ts +40 -0
- package/lib/types/qa-tools/durable-marker.d.ts +16 -0
- package/lib/types/qa-tools/index.d.ts +40 -0
- package/lib/types/qa-tools/lifecycle.d.ts +44 -0
- package/lib/types/qa-tools/types.d.ts +45 -0
- package/lib/types/secure-session.d.ts +33 -2
- package/lib/types/starters.d.ts +45 -0
- package/lib/types/types.d.ts +208 -3
- package/package.json +22 -9
- package/scripts/repair-session-events.mjs +260 -0
- package/lib/client/components/QaProfile.js +0 -64
- package/lib/client/components/QaProfile.js.map +0 -1
- package/lib/types/client/components/QaProfile.d.ts +0 -25
package/lib/client/styles.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { QA_BLEED_MAX_WIDTH } from "./components/QaWidthHandle.js";
|
|
1
2
|
/**
|
|
2
3
|
* Company interaction palette ("Цвета взаимодействия" guideline) — the single
|
|
3
4
|
* source of every hard-coded color in this file. The object is emitted once as
|
|
@@ -36,10 +37,22 @@ const QA_BRAND_PALETTE = {
|
|
|
36
37
|
// Translucent dialog backdrop over the conversation.
|
|
37
38
|
overlay: "rgba(15, 22, 26, 0.55)",
|
|
38
39
|
};
|
|
40
|
+
function tokenName(token) {
|
|
41
|
+
return token.replace(/[A-Z]/gu, (letter) => `-${letter.toLowerCase()}`);
|
|
42
|
+
}
|
|
43
|
+
/** Every `--dsh-qa-*` custom property the root rule declares. */
|
|
44
|
+
export const QA_BRAND_TOKEN_NAMES = Object.keys(QA_BRAND_PALETTE).map(tokenName);
|
|
39
45
|
const QA_BRAND_TOKENS = Object.entries(QA_BRAND_PALETTE)
|
|
40
|
-
.map(([token, value]) => `--dsh-qa-${token
|
|
46
|
+
.map(([token, value]) => `--dsh-qa-${tokenName(token)}:${value}`)
|
|
41
47
|
.join(";");
|
|
42
48
|
export const QA_SURFACE_STYLES = String.raw `
|
|
49
|
+
/* While the QA surface owns the page, mask every sibling of the host's
|
|
50
|
+
overlay layer inside the app frame, so deleting the overlay element in the
|
|
51
|
+
browser reveals a blank page instead of the operator shell. The mask hangs
|
|
52
|
+
off the body attribute the surface effect owns — not off the overlay node
|
|
53
|
+
itself — and finds the frame structurally, since the frame's own classes
|
|
54
|
+
are CSS-module hashed. */
|
|
55
|
+
body[data-dsh-qa-surface="active"] div:has(>[data-shell-overlay])>:not([data-shell-overlay]){display:none!important}
|
|
43
56
|
.dsh-qa-surface{${QA_BRAND_TOKENS};position:fixed;inset:0;z-index:2147483000;pointer-events:auto;display:flex;flex-direction:row;min-width:0;height:100vh;height:100dvh;overflow:hidden;background:var(--dsw-alias-bg-base);color:var(--dsw-alias-label-primary);font-family:inherit}
|
|
44
57
|
.dsh-qa-onboarding{${QA_BRAND_TOKENS};position:fixed;inset:0;z-index:2147483640;display:grid;place-items:center;padding:24px;background:var(--dsh-qa-overlay);color:var(--dsw-alias-label-primary);font-family:inherit}
|
|
45
58
|
.dsh-qa-onboarding__panel{display:grid;grid-template-columns:auto minmax(0,1fr);gap:18px;width:min(620px,100%);max-height:100%;overflow-y:auto;padding:28px;border:1px solid var(--dsw-alias-border-l2);border-radius:18px;background:var(--dsw-alias-bg-layer-2);box-shadow:0 22px 64px rgba(0,0,0,.28)}
|
|
@@ -57,6 +70,7 @@ export const QA_SURFACE_STYLES = String.raw `
|
|
|
57
70
|
.dsh-qa-onboarding__continue:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:3px}
|
|
58
71
|
@media (max-width:600px){.dsh-qa-onboarding{padding:14px}.dsh-qa-onboarding__panel{grid-template-columns:1fr;gap:12px;padding:22px;border-radius:15px}.dsh-qa-onboarding__mark{width:38px;height:38px;border-radius:11px}.dsh-qa-onboarding__title{font-size:18px}.dsh-qa-onboarding__actions{margin-top:18px}.dsh-qa-onboarding__continue{width:100%}}
|
|
59
72
|
.dsh-qa-body{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column}
|
|
73
|
+
.dsh-qa-workspace{position:relative;display:flex;flex:1;min-width:0;min-height:0;overflow:hidden}
|
|
60
74
|
.dsh-qa-chat{position:relative;flex:1;min-width:0;min-height:0;display:flex;flex-direction:column}
|
|
61
75
|
.dsh-qa-sidebar{flex:none;width:264px;display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-base)}
|
|
62
76
|
.dsh-qa-sidebar--collapsed{width:52px;align-items:center;padding-top:12px}
|
|
@@ -138,8 +152,16 @@ export const QA_SURFACE_STYLES = String.raw `
|
|
|
138
152
|
.dsh-qa-auth__submit:hover{background:var(--dsh-qa-accent-hover)}
|
|
139
153
|
.dsh-qa-auth__submit:focus-visible{outline:2px solid var(--dsh-qa-accent);outline-offset:2px}
|
|
140
154
|
.dsh-qa-auth__submit:disabled{opacity:.6;cursor:default}
|
|
141
|
-
.dsh-qa-
|
|
142
|
-
.dsh-qa-
|
|
155
|
+
.dsh-qa-crash{align-items:center;justify-content:center;padding:24px}
|
|
156
|
+
.dsh-qa-crash__card{display:flex;flex-direction:column;gap:12px;width:min(380px,100%);padding:28px;border:1px solid var(--dsw-alias-border-l2);border-radius:14px;background:var(--dsw-alias-bg-layer-2);box-shadow:0 18px 48px var(--dsh-qa-overlay);text-align:center}
|
|
157
|
+
.dsh-qa-crash__card h1{margin:0;color:var(--dsw-alias-label-primary);font-size:19px;font-weight:600;line-height:26px}
|
|
158
|
+
.dsh-qa-crash__card p{margin:0;color:var(--dsw-alias-label-secondary);font-size:13px;line-height:19px}
|
|
159
|
+
.dsh-qa-crash__reload{appearance:none;margin-top:6px;padding:10px 0;border:0;border-radius:9px;background:var(--dsh-qa-brand);color:var(--dsh-qa-accent-contrast);font:inherit;font-size:14px;font-weight:600;line-height:20px;cursor:pointer;transition:background .12s}
|
|
160
|
+
.dsh-qa-crash__reload:hover{background:var(--dsh-qa-accent-hover)}
|
|
161
|
+
.dsh-qa-crash__reload:focus-visible{outline:2px solid var(--dsh-qa-accent);outline-offset:2px}
|
|
162
|
+
.dsh-qa-modal{${QA_BRAND_TOKENS};position:fixed;inset:0;z-index:2147483600;display:grid;place-items:center;padding:24px;background:var(--dsh-qa-overlay)}
|
|
163
|
+
.dsh-qa-modal *{box-sizing:border-box}
|
|
164
|
+
.dsh-qa-modal__panel{display:flex;flex-direction:column;width:min(560px,100%);max-height:min(640px,calc(100vh - 48px));border:1px solid var(--dsw-alias-border-l2);border-radius:14px;background:var(--dsw-alias-bg-layer-2);box-shadow:0 18px 48px var(--dsh-qa-overlay);overflow:hidden}
|
|
143
165
|
.dsh-qa-modal__panel--wide{width:min(720px,100%)}
|
|
144
166
|
.dsh-qa-modal__head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;padding:16px 18px 12px;border-bottom:1px solid var(--dsw-alias-border-l2)}
|
|
145
167
|
.dsh-qa-modal__title{margin:0;color:var(--dsw-alias-label-primary);font-size:15px;font-weight:600;line-height:20px}
|
|
@@ -158,25 +180,104 @@ export const QA_SURFACE_STYLES = String.raw `
|
|
|
158
180
|
.dsh-qa-changelog__list{margin:4px 0 0;padding-left:18px;color:var(--dsw-alias-label-secondary);font-size:13px;line-height:20px}
|
|
159
181
|
.dsh-qa-changelog__list li{margin:3px 0}
|
|
160
182
|
.dsh-qa-changelog__list li::marker{color:var(--dsw-alias-label-tertiary)}
|
|
161
|
-
.dsh-qa-
|
|
162
|
-
.dsh-qa-
|
|
163
|
-
.dsh-qa-
|
|
164
|
-
.dsh-qa-
|
|
165
|
-
.dsh-qa-
|
|
166
|
-
.dsh-qa-
|
|
167
|
-
.dsh-qa-
|
|
168
|
-
.dsh-qa-
|
|
169
|
-
.dsh-qa-
|
|
170
|
-
.dsh-qa-
|
|
171
|
-
.dsh-qa-
|
|
172
|
-
.dsh-qa-
|
|
173
|
-
.dsh-qa-
|
|
174
|
-
.dsh-qa-
|
|
175
|
-
.dsh-qa-
|
|
176
|
-
.dsh-qa-
|
|
177
|
-
.dsh-qa-
|
|
178
|
-
.dsh-qa-
|
|
179
|
-
.dsh-qa-
|
|
183
|
+
.dsh-qa-modal__panel--settings{width:min(840px,100%);height:min(640px,calc(100vh - 48px))}
|
|
184
|
+
.dsh-qa-modal__panel--settings .dsh-qa-modal__body{padding:0;overflow:hidden}
|
|
185
|
+
.dsh-qa-settings{display:grid;grid-template-columns:200px minmax(0,1fr);height:100%;min-height:0}
|
|
186
|
+
.dsh-qa-settings__nav{display:flex;flex-direction:column;gap:2px;padding:12px 10px;border-right:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-3);overflow-y:auto}
|
|
187
|
+
.dsh-qa-settings__tab{appearance:none;text-align:left;padding:8px 10px;border:0;border-radius:8px;background:0 0;color:var(--dsw-alias-label-secondary);font:inherit;font-size:13px;line-height:19px;cursor:pointer}
|
|
188
|
+
.dsh-qa-settings__tab:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}
|
|
189
|
+
.dsh-qa-settings__tab--active{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary);font-weight:600}
|
|
190
|
+
.dsh-qa-settings__tab:focus-visible{outline:2px solid var(--dsh-qa-accent);outline-offset:-2px}
|
|
191
|
+
.dsh-qa-settings__content{min-width:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:16px 20px 0}
|
|
192
|
+
.dsh-qa-settings__page{display:flex;flex-direction:column;gap:14px;min-height:100%;padding-bottom:22px}
|
|
193
|
+
.dsh-qa-settings__lead{margin:0;color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:17px}
|
|
194
|
+
.dsh-qa-settings__page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
|
|
195
|
+
.dsh-qa-settings__head-text{display:flex;flex-direction:column;gap:3px;min-width:0}
|
|
196
|
+
.dsh-qa-settings__head-actions{display:flex;align-items:center;gap:8px;flex:none}
|
|
197
|
+
.dsh-qa-settings__page-title{margin:0;color:var(--dsw-alias-label-primary);font-size:15px;font-weight:600;line-height:21px}
|
|
198
|
+
.dsh-qa-settings__back{appearance:none;padding:4px 8px 4px 0;border:0;background:0 0;color:var(--dsw-alias-label-secondary);font:inherit;font-size:13px;line-height:19px;cursor:pointer}
|
|
199
|
+
.dsh-qa-settings__back:hover{color:var(--dsw-alias-label-primary)}
|
|
200
|
+
.dsh-qa-settings__back:focus-visible{outline:2px solid var(--dsh-qa-accent);outline-offset:2px}
|
|
201
|
+
.dsh-qa-settings__section{display:flex;flex-direction:column;gap:10px;padding-top:12px;border-top:1px solid var(--dsw-alias-border-l2)}
|
|
202
|
+
.dsh-qa-settings__section-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
|
|
203
|
+
.dsh-qa-settings__section-title{margin:0;color:var(--dsw-alias-label-primary);font-size:13px;font-weight:600;line-height:19px}
|
|
204
|
+
.dsh-qa-settings__section-aside{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:17px}
|
|
205
|
+
.dsh-qa-settings__field{display:flex;flex-direction:column;gap:5px}
|
|
206
|
+
.dsh-qa-settings__field-label{display:flex;flex-direction:column;gap:5px;color:var(--dsw-alias-label-secondary);font-size:12px;line-height:16px}
|
|
207
|
+
.dsh-qa-settings__field input,.dsh-qa-settings__field textarea{appearance:none;width:100%;padding:9px 11px;border:1px solid var(--dsw-alias-border-l2);border-radius:9px;background:var(--dsw-alias-bg-base);color:var(--dsw-alias-label-primary);font:inherit;font-size:14px;line-height:20px}
|
|
208
|
+
.dsh-qa-settings__field textarea{min-height:64px;line-height:19px;resize:vertical}
|
|
209
|
+
.dsh-qa-settings__field input:focus,.dsh-qa-settings__field textarea:focus{outline:none;border-color:var(--dsh-qa-brand)}
|
|
210
|
+
.dsh-qa-settings__field input:read-only{opacity:.6}
|
|
211
|
+
.dsh-qa-settings__code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;line-height:20px}
|
|
212
|
+
.dsh-qa-settings__field-hint{margin:0;color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:17px}
|
|
213
|
+
.dsh-qa-settings__count{margin:-8px 0 0;color:var(--dsw-alias-label-tertiary);font-size:11px;line-height:15px;text-align:right}
|
|
214
|
+
.dsh-qa-settings__toggle-row{display:flex;flex-direction:column;gap:3px}
|
|
215
|
+
.dsh-qa-settings__toggle{display:flex;align-items:flex-start;gap:9px;cursor:pointer}
|
|
216
|
+
.dsh-qa-settings__toggle input{flex:none;width:16px;height:16px;margin:1px 0 0;accent-color:var(--dsh-qa-brand)}
|
|
217
|
+
.dsh-qa-settings__toggle-label{color:var(--dsw-alias-label-primary);font-size:13px;line-height:19px}
|
|
218
|
+
.dsh-qa-settings__notice{margin:0;padding:9px 11px;border-radius:9px;font-size:12px;line-height:17px}
|
|
219
|
+
.dsh-qa-settings__notice--info{background:var(--dsw-alias-bg-module-platform);color:var(--dsw-alias-label-secondary)}
|
|
220
|
+
.dsh-qa-settings__notice--warn{background:var(--dsh-qa-warning10);color:var(--dsh-qa-warning)}
|
|
221
|
+
.dsh-qa-settings__notice--error{background:var(--dsh-qa-error10);color:var(--dsh-qa-error)}
|
|
222
|
+
.dsh-qa-settings__link{appearance:none;padding:0;border:0;background:0 0;color:var(--dsh-qa-brand);font:inherit;font-size:12px;line-height:17px;text-decoration:underline;cursor:pointer}
|
|
223
|
+
.dsh-qa-settings__link:focus-visible{outline:2px solid var(--dsh-qa-accent);outline-offset:2px}
|
|
224
|
+
.dsh-qa-settings__actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;position:sticky;bottom:0;margin:auto -20px -22px;padding:12px 20px;border-top:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-2)}
|
|
225
|
+
.dsh-qa-settings__button{appearance:none;padding:8px 14px;border:1px solid var(--dsw-alias-border-l2);border-radius:9px;background:0 0;color:var(--dsw-alias-label-secondary);font:inherit;font-size:13px;line-height:19px;cursor:pointer;transition:color .12s,background .12s}
|
|
226
|
+
.dsh-qa-settings__button:hover:not(:disabled){color:var(--dsw-alias-label-primary);border-color:var(--dsw-alias-label-dimmed)}
|
|
227
|
+
.dsh-qa-settings__button:focus-visible{outline:2px solid var(--dsh-qa-accent);outline-offset:-2px}
|
|
228
|
+
.dsh-qa-settings__button:disabled{opacity:.6;cursor:default}
|
|
229
|
+
.dsh-qa-settings__button--primary{border-color:transparent;background:var(--dsh-qa-brand);color:var(--dsh-qa-accent-contrast);font-weight:600}
|
|
230
|
+
.dsh-qa-settings__button--primary:hover:not(:disabled){background:var(--dsh-qa-accent-hover);color:var(--dsh-qa-accent-contrast)}
|
|
231
|
+
.dsh-qa-settings__button--danger{border-color:var(--dsw-alias-label-error);color:var(--dsw-alias-label-error)}
|
|
232
|
+
.dsh-qa-settings__button--danger:hover:not(:disabled){background:var(--dsw-alias-bg-error);color:var(--dsw-alias-label-error)}
|
|
233
|
+
.dsh-qa-settings__empty{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:22px 18px;border:1px dashed var(--dsw-alias-border-l2);border-radius:12px;background:var(--dsw-alias-bg-layer-3)}
|
|
234
|
+
.dsh-qa-settings__empty-title{margin:0;color:var(--dsw-alias-label-primary);font-size:14px;font-weight:600;line-height:20px}
|
|
235
|
+
.dsh-qa-settings__search{appearance:none;width:100%;padding:8px 11px;border:1px solid var(--dsw-alias-border-l2);border-radius:9px;background:var(--dsw-alias-bg-base);color:var(--dsw-alias-label-primary);font:inherit;font-size:13px;line-height:19px}
|
|
236
|
+
.dsh-qa-settings__search:focus{outline:none;border-color:var(--dsh-qa-brand)}
|
|
237
|
+
.dsh-qa-settings__rows{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none}
|
|
238
|
+
.dsh-qa-settings__row{margin:0}
|
|
239
|
+
.dsh-qa-settings__row-button{appearance:none;display:flex;flex-direction:column;gap:4px;width:100%;padding:11px 13px;border:1px solid var(--dsw-alias-border-l2);border-radius:11px;background:var(--dsw-alias-bg-layer-3);text-align:left;cursor:pointer;transition:border-color .12s,background .12s}
|
|
240
|
+
.dsh-qa-settings__row-button:hover{border-color:var(--dsw-alias-label-dimmed);background:var(--dsw-alias-bg-layer-2)}
|
|
241
|
+
.dsh-qa-settings__row-button:focus-visible{outline:2px solid var(--dsh-qa-accent);outline-offset:-2px}
|
|
242
|
+
.dsh-qa-settings__row-title{color:var(--dsw-alias-label-primary);font-size:14px;font-weight:600;line-height:20px}
|
|
243
|
+
.dsh-qa-settings__row-description{color:var(--dsw-alias-label-secondary);font-size:13px;line-height:19px}
|
|
244
|
+
.dsh-qa-settings__row-meta{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:17px}
|
|
245
|
+
.dsh-qa-settings__row-warning{color:var(--dsh-qa-warning);font-size:12px;line-height:17px}
|
|
246
|
+
.dsh-qa-settings__row-error{color:var(--dsh-qa-error);font-size:12px;line-height:17px}
|
|
247
|
+
.dsh-qa-settings__chips{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
|
|
248
|
+
.dsh-qa-settings__chip{display:inline-flex;align-items:center;gap:6px;padding:4px 6px 4px 10px;border:1px solid var(--dsw-alias-border-l2);border-radius:999px;background:var(--dsw-alias-bg-module-platform);color:var(--dsw-alias-label-secondary);font-size:12px;line-height:18px}
|
|
249
|
+
.dsh-qa-settings__chip--unavailable{border-style:dashed;color:var(--dsh-qa-warning)}
|
|
250
|
+
.dsh-qa-settings__chip-remove{appearance:none;padding:0 3px;border:0;border-radius:999px;background:0 0;color:inherit;font:inherit;font-size:14px;line-height:16px;cursor:pointer}
|
|
251
|
+
.dsh-qa-settings__chip-remove:hover{color:var(--dsh-qa-error)}
|
|
252
|
+
.dsh-qa-settings__diagnostics{display:flex;flex-direction:column;gap:5px;margin:0;padding:0;list-style:none}
|
|
253
|
+
.dsh-qa-settings__diagnostic{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:17px}
|
|
254
|
+
.dsh-qa-settings__diagnostic--error{color:var(--dsh-qa-error)}
|
|
255
|
+
.dsh-qa-settings__advanced{display:flex;flex-direction:column;gap:10px}
|
|
256
|
+
.dsh-qa-settings__preview{max-height:240px;margin:0;padding:10px 12px;border:1px solid var(--dsw-alias-border-l2);border-radius:9px;background:var(--dsw-alias-bg-base);color:var(--dsw-alias-label-secondary);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:18px;overflow:auto;white-space:pre-wrap;word-break:break-word}
|
|
257
|
+
.dsh-qa-settings__facts{display:flex;flex-direction:column;gap:6px;margin:0}
|
|
258
|
+
.dsh-qa-settings__fact{display:flex;gap:10px;margin:0}
|
|
259
|
+
.dsh-qa-settings__fact dt{flex:none;width:120px;margin:0;color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px}
|
|
260
|
+
.dsh-qa-settings__fact dd{margin:0;color:var(--dsw-alias-label-primary);font-size:13px;line-height:18px;min-width:0;word-break:break-word}
|
|
261
|
+
.dsh-qa-settings__list{margin:0;padding-left:18px;color:var(--dsw-alias-label-secondary);font-size:13px;line-height:20px}
|
|
262
|
+
.dsh-qa-settings__list li{margin:2px 0}
|
|
263
|
+
.dsh-qa-starters__list{display:flex;flex-direction:column;gap:10px}
|
|
264
|
+
.dsh-qa-starters__item{display:flex;flex-direction:column;gap:8px;padding:10px 12px;border:1px solid var(--dsw-alias-border-l2);border-radius:10px;background:var(--dsw-alias-bg-layer-3)}
|
|
265
|
+
.dsh-qa-starters__item-head{display:flex;align-items:flex-end;gap:8px}
|
|
266
|
+
.dsh-qa-starters__item-head .dsh-qa-settings__field{flex:1}
|
|
267
|
+
.dsh-qa-starters__remove{appearance:none;flex:none;width:30px;height:30px;margin-bottom:5px;display:flex;align-items:center;justify-content:center;padding:0;border:1px solid var(--dsw-alias-border-l2);border-radius:8px;background:0 0;color:var(--dsw-alias-label-tertiary);cursor:pointer}
|
|
268
|
+
.dsh-qa-starters__remove:hover{color:var(--dsh-qa-error);border-color:var(--dsh-alias-label-error)}
|
|
269
|
+
.dsh-qa-starters__remove:focus-visible{outline:2px solid var(--dsh-qa-accent);outline-offset:1px}
|
|
270
|
+
.dsh-qa-starters__remove svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
|
|
271
|
+
.dsh-qa-toolpicker__list{display:flex;flex-direction:column;gap:2px;max-height:320px;margin:8px 0 0;padding:0;list-style:none;overflow-y:auto}
|
|
272
|
+
.dsh-qa-toolpicker__group{padding:8px 0 3px;color:var(--dsw-alias-label-tertiary);font-size:11px;font-weight:600;line-height:16px}
|
|
273
|
+
.dsh-qa-toolpicker__row{margin:0}
|
|
274
|
+
.dsh-qa-toolpicker__label{display:grid;grid-template-columns:16px minmax(0,auto) minmax(0,1fr);align-items:baseline;gap:9px;padding:6px 8px;border-radius:8px;cursor:pointer}
|
|
275
|
+
.dsh-qa-toolpicker__label:hover{background:var(--dsw-alias-interactive-bg-hover)}
|
|
276
|
+
.dsh-qa-toolpicker__label input{width:15px;height:15px;margin:0;accent-color:var(--dsh-qa-brand)}
|
|
277
|
+
.dsh-qa-toolpicker__name{color:var(--dsw-alias-label-primary);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:18px}
|
|
278
|
+
.dsh-qa-toolpicker__description{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px;min-width:0}
|
|
279
|
+
.dsh-qa-toolpicker__selected{margin-right:auto;color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:17px}
|
|
280
|
+
@media (max-width:720px){.dsh-qa-modal__panel--settings{height:min(640px,calc(100vh - 48px))}.dsh-qa-settings{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}.dsh-qa-settings__nav{flex-direction:row;gap:4px;padding:8px 10px;border-right:0;border-bottom:1px solid var(--dsw-alias-border-l2);overflow-x:auto;overflow-y:hidden}.dsh-qa-settings__tab{white-space:nowrap}.dsh-qa-settings__content{padding:12px 14px 0}.dsh-qa-settings__page{padding-bottom:18px}.dsh-qa-settings__actions{margin:auto -14px -18px;padding:10px 14px}}
|
|
180
281
|
.dsh-qa-surface *{box-sizing:border-box}
|
|
181
282
|
.dsh-qa-surface ::selection{background:var(--dsh-qa-text-select)}
|
|
182
283
|
.dsh-qa-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
|
|
@@ -195,8 +296,8 @@ export const QA_SURFACE_STYLES = String.raw `
|
|
|
195
296
|
.dsh-qa-header__agents[aria-expanded="true"]{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}
|
|
196
297
|
.dsh-qa-header__agents svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}
|
|
197
298
|
.dsh-qa-header__agents:focus-visible{outline:2px solid var(--dsh-qa-accent);outline-offset:2px}
|
|
198
|
-
.dsh-qa-agentview{display:flex;align-items:center;gap:8px;flex:none;padding:6px 28px;border-bottom:1px solid var(--dsh-qa-
|
|
199
|
-
.dsh-qa-header__viewing{display:inline-flex;align-items:center;gap:7px;flex:none;padding:3px 10px;border-radius:999px;background:var(--dsh-qa-
|
|
299
|
+
.dsh-qa-agentview{display:flex;align-items:center;gap:8px;flex:none;padding:6px 28px;border-bottom:1px solid var(--dsh-qa-info30);background:var(--dsh-qa-info10);color:var(--dsw-alias-label-secondary);font-size:13px;line-height:20px}
|
|
300
|
+
.dsh-qa-header__viewing{display:inline-flex;align-items:center;gap:7px;flex:none;padding:3px 10px;border-radius:999px;background:var(--dsh-qa-info10);color:var(--dsh-qa-info);font-size:13px;line-height:20px;white-space:nowrap}
|
|
200
301
|
.dsh-qa-header__viewing > svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}
|
|
201
302
|
.dsh-qa-header__back{border:0;background:transparent;padding:0;color:var(--dsh-qa-info);font:inherit;font-size:13px;font-weight:500;line-height:20px;cursor:pointer}
|
|
202
303
|
.dsh-qa-header__back:hover{text-decoration:underline}
|
|
@@ -236,13 +337,33 @@ export const QA_SURFACE_STYLES = String.raw `
|
|
|
236
337
|
.dsh-qa-header__files[aria-expanded="true"]{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}
|
|
237
338
|
.dsh-qa-header__files svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}
|
|
238
339
|
.dsh-qa-header__files:focus-visible{outline:2px solid var(--dsh-qa-accent);outline-offset:2px}
|
|
340
|
+
.dsh-qa-panel-launcher{display:flex;align-items:center;gap:2px;flex:none}
|
|
341
|
+
.dsh-qa-panel-launcher__button{appearance:none;display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--dsw-alias-label-secondary);cursor:pointer}
|
|
342
|
+
.dsh-qa-panel-launcher__button:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}
|
|
343
|
+
.dsh-qa-panel-launcher__button[aria-pressed="true"]{background:var(--dsw-alias-bg-module-platform);color:var(--dsh-qa-accent)}
|
|
344
|
+
.dsh-qa-panel-launcher__button:focus-visible{outline:2px solid var(--dsh-qa-accent);outline-offset:1px}
|
|
345
|
+
.dsh-qa-panel-launcher__button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}
|
|
239
346
|
.dsh-qa-header__reset:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover)}
|
|
240
347
|
.dsh-qa-header__reset:disabled{opacity:.45;cursor:default}
|
|
241
348
|
.dsh-qa-header__tabs{position:relative;z-index:1;display:flex;gap:32px;margin-top:4px}
|
|
242
349
|
.dsh-qa-header__tabs span{position:relative;padding:0 0 11px;color:var(--dsh-qa-accent);font-size:13px;font-weight:500;line-height:16px}
|
|
243
350
|
.dsh-qa-header__tabs span::after{content:"";position:absolute;right:0;bottom:1px;left:0;height:2px;border-radius:2px;background:var(--dsh-qa-accent)}
|
|
351
|
+
.dsh-qa-extension-panel__resizer{position:relative;z-index:2;flex:0 0 5px;width:5px;touch-action:none;cursor:col-resize;background:var(--dsw-alias-border-l2)}
|
|
352
|
+
.dsh-qa-extension-panel__resizer:hover,.dsh-qa-extension-panel__resizer:focus-visible{background:var(--dsh-qa-accent);outline:0}
|
|
353
|
+
.dsh-qa-extension-panel{display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--dsw-alias-bg-base);color:var(--dsw-alias-label-primary)}
|
|
354
|
+
.dsh-qa-extension-panel--side{flex:0 0 auto}
|
|
355
|
+
.dsh-qa-extension-panel--fullscreen{position:absolute;inset:0;z-index:8;width:100%;height:100%}
|
|
356
|
+
.dsh-qa-extension-panel__header{display:flex;align-items:center;gap:12px;flex:none;min-height:48px;padding:8px 12px 8px 16px;border-bottom:1px solid var(--dsw-alias-border-l2)}
|
|
357
|
+
.dsh-qa-extension-panel__header h2{flex:1;min-width:0;overflow:hidden;margin:0;color:var(--dsw-alias-label-primary);font-size:14px;font-weight:600;line-height:20px;text-overflow:ellipsis;white-space:nowrap}
|
|
358
|
+
.dsh-qa-extension-panel__close{appearance:none;display:grid;place-items:center;flex:none;width:30px;height:30px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--dsw-alias-label-tertiary);cursor:pointer}
|
|
359
|
+
.dsh-qa-extension-panel__close:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}
|
|
360
|
+
.dsh-qa-extension-panel__close:focus-visible{outline:2px solid var(--dsh-qa-accent);outline-offset:1px}
|
|
361
|
+
.dsh-qa-extension-panel__close svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
|
|
362
|
+
.dsh-qa-extension-panel__bodies,.dsh-qa-extension-panel__body{position:relative;flex:1;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden}
|
|
363
|
+
.dsh-qa-extension-panel__body[hidden]{display:none}
|
|
364
|
+
.dsh-qa-extension-panel__fallback{display:grid;place-items:center;width:100%;height:100%;padding:24px;color:var(--dsw-alias-label-secondary);font-size:13px;line-height:19px;text-align:center}
|
|
244
365
|
.dsh-qa-transcript{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
|
|
245
|
-
.dsh-qa-transcript__inner{width:100%;max-width:var(--dsh-qa-content-width);min-height:100%;margin:0 auto;padding:18px 16px 42px}
|
|
366
|
+
.dsh-qa-transcript__inner{--dsh-qa-side-space:max(0px,calc((var(--dsh-qa-column-width,0px) - var(--dsh-qa-content-width))/2));--dsh-qa-bleed:min(${QA_BLEED_MAX_WIDTH}px,var(--dsh-qa-side-space));width:100%;max-width:var(--dsh-qa-content-width);min-height:100%;margin:0 auto;padding:18px 16px 42px}
|
|
246
367
|
.dsh-qa-width-handle{position:absolute;z-index:8;top:0;bottom:0;width:max(0px,min(40px,calc((100% - var(--dsh-qa-content-width)) / 2 - 48px)));cursor:col-resize;touch-action:none;user-select:none}
|
|
247
368
|
.dsh-qa-width-handle[data-side="left"]{right:calc(50% + var(--dsh-qa-content-width) / 2 + 24px)}
|
|
248
369
|
.dsh-qa-width-handle[data-side="right"]{left:calc(50% + var(--dsh-qa-content-width) / 2 + 24px)}
|
|
@@ -347,6 +468,9 @@ a.dsh-qa-sources__title:hover{text-decoration:underline}
|
|
|
347
468
|
.dsh-qa-message--system{align-items:center;margin:4px auto 20px}
|
|
348
469
|
.dsh-qa-message__content{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--dsw-alias-label-primary);font-size:15px;line-height:1.62}
|
|
349
470
|
.dsh-qa-message--user .dsh-qa-message__content{max-width:min(525px,82%);padding:10px 16px;border-radius:22px;background:var(--dsw-specific-bubble);font-size:16px;line-height:24px}
|
|
471
|
+
.dsh-qa-message[data-status="pending"] .dsh-qa-message__content{opacity:.78}
|
|
472
|
+
.dsh-qa-message__pending{display:flex;align-items:center;gap:6px;margin-top:6px;color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px}
|
|
473
|
+
.dsh-qa-message__pending-spinner{width:11px;height:11px;flex:none;border:1.5px solid var(--dsw-alias-border-l2);border-top-color:var(--dsw-alias-label-secondary);border-radius:50%;animation:dsh-qa-spin .9s linear infinite}
|
|
350
474
|
.dsh-qa-message__byline{display:block;margin-bottom:2px;color:var(--dsw-alias-label-secondary);font-size:12px;line-height:16px;font-weight:500}
|
|
351
475
|
.dsh-qa-message__images{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 8px}
|
|
352
476
|
.dsh-qa-message__files{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 8px}
|
|
@@ -420,12 +544,12 @@ a.dsh-qa-srcref:hover,button.dsh-qa-srcref:hover{border-color:var(--dsw-alias-la
|
|
|
420
544
|
.dsh-qa-message__content ol{margin:0 0 14px;padding-left:22px}
|
|
421
545
|
.dsh-qa-message__content ol li,.dsh-qa-message__content ul li{margin:0 0 4px}
|
|
422
546
|
.dsh-qa-message__content hr{border:0;border-top:1px solid var(--dsw-alias-border-l2);margin:16px 0}
|
|
423
|
-
.dsh-qa-md-table{overflow-x:auto;margin:0 0 14px}
|
|
424
|
-
.dsh-qa-md-table table{border-collapse:collapse;width:
|
|
425
|
-
.dsh-qa-md-table th,.dsh-qa-md-table td{border:1px solid var(--dsw-alias-border-l2);padding:6px 10px;vertical-align:top}
|
|
547
|
+
.dsh-qa-md-table{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;margin:0 0 14px}
|
|
548
|
+
.dsh-qa-md-table table{border-collapse:collapse;width:max-content;font-size:14px}
|
|
549
|
+
.dsh-qa-md-table th,.dsh-qa-md-table td{max-width:max(160px,calc(var(--dsh-qa-content-width,920px)*0.35));border:1px solid var(--dsw-alias-border-l2);padding:6px 10px;vertical-align:top;overflow-wrap:anywhere}
|
|
426
550
|
.dsh-qa-md-table thead th{background:var(--dsw-alias-bg-layer-2);font-weight:600}
|
|
427
551
|
.dsh-qa-md-table tbody tr:nth-child(even){background:var(--dsw-alias-bg-layer-2)}
|
|
428
|
-
.dsh-qa-message--assistant .dsh-qa-message__content pre
|
|
552
|
+
.dsh-qa-message--assistant .dsh-qa-message__content pre{width:calc(100% + var(--dsh-qa-bleed)*2);margin-right:calc(var(--dsh-qa-bleed)*-1);margin-left:calc(var(--dsh-qa-bleed)*-1)}
|
|
429
553
|
.dsh-qa-message__content blockquote{border-left:3px solid var(--dsw-alias-border-l2);padding-left:12px;color:var(--dsw-alias-label-secondary)}
|
|
430
554
|
.dsh-qa-message__cursor{display:inline-block;width:7px;height:1em;margin-left:3px;vertical-align:-2px;background:var(--dsw-alias-label-secondary);animation:dsh-qa-blink 1s steps(2,start) infinite}
|
|
431
555
|
@keyframes dsh-qa-blink{50%{opacity:0}}
|
|
@@ -440,6 +564,7 @@ a.dsh-qa-srcref:hover,button.dsh-qa-srcref:hover{border-color:var(--dsw-alias-la
|
|
|
440
564
|
.dsh-qa-notice[open] .dsh-qa-notice__chevron{transform:rotate(90deg)}
|
|
441
565
|
.dsh-qa-notice__body{padding:2px 12px 10px 32px;color:var(--dsw-alias-label-secondary);font-size:13px;line-height:20px;white-space:pre-wrap;overflow-wrap:anywhere}
|
|
442
566
|
.dsh-qa-notice__body p{margin:0}
|
|
567
|
+
.dsh-qa-notice__meta{margin:0 0 6px;color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
443
568
|
.dsh-qa-work{width:100%;color:var(--dsw-alias-label-secondary);font-size:14px;line-height:22px}
|
|
444
569
|
.dsh-qa-work__toggle{display:flex;align-items:center;gap:7px;min-height:30px;margin:0;padding:3px 5px 3px 0;border:0;border-radius:7px;background:transparent;color:var(--dsw-alias-label-secondary);font:inherit;cursor:pointer}
|
|
445
570
|
.dsh-qa-work__toggle:hover{color:var(--dsw-alias-label-primary)}
|
|
@@ -462,7 +587,7 @@ a.dsh-qa-srcref:hover,button.dsh-qa-srcref:hover{border-color:var(--dsw-alias-la
|
|
|
462
587
|
.dsh-qa-work-item__icon[data-state="ok"]{color:var(--dsh-qa-success,var(--dsw-alias-label-secondary))}
|
|
463
588
|
.dsh-qa-work-item__icon[data-state="error"]{color:var(--dsh-qa-error)}
|
|
464
589
|
.dsh-qa-work-item__label{flex:none;color:var(--dsw-alias-label-secondary);font-weight:500}
|
|
465
|
-
.dsh-qa-work-item__summary{min-width:0;overflow:hidden;flex:1;color:var(--dsw-alias-label-tertiary);text-overflow:ellipsis;white-space:nowrap}.dsh-qa-work-item__agent-id{flex:none;padding:1px 6px;border-radius:999px;background:var(--dsh-qa-
|
|
590
|
+
.dsh-qa-work-item__summary{min-width:0;overflow:hidden;flex:1;color:var(--dsw-alias-label-tertiary);text-overflow:ellipsis;white-space:nowrap}.dsh-qa-work-item__agent-id{flex:none;padding:1px 6px;border-radius:999px;background:var(--dsh-qa-info10);color:var(--dsh-qa-info);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;line-height:15px}.dsh-qa-work-tool[data-tool="subagent"],.dsh-qa-work-item[data-tool="subagent"]{border:1px solid var(--dsh-qa-info30);border-radius:9px}
|
|
466
591
|
.dsh-qa-work-item--text{padding:5px 6px 9px}
|
|
467
592
|
.dsh-qa-work-item__text-head{display:flex;align-items:center;gap:7px;min-height:24px}
|
|
468
593
|
.dsh-qa-work-item__text{padding:3px 0 0 23px;color:var(--dsw-alias-label-tertiary);font-size:14px;line-height:23px;white-space:pre-wrap;overflow-wrap:anywhere}
|
|
@@ -473,6 +598,7 @@ a.dsh-qa-srcref:hover,button.dsh-qa-srcref:hover{border-color:var(--dsw-alias-la
|
|
|
473
598
|
.dsh-qa-work-tool__body section>span{display:block;padding:7px 10px 0;color:var(--dsw-alias-label-tertiary);font-size:11px;font-weight:600;line-height:18px;text-transform:uppercase;letter-spacing:.04em}
|
|
474
599
|
.dsh-qa-work-tool__body pre{max-height:260px;overflow:auto;margin:0;padding:7px 10px 10px;color:var(--dsw-alias-label-secondary);background:transparent;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:19px;white-space:pre-wrap;overflow-wrap:anywhere}
|
|
475
600
|
.dsh-qa-error{display:flex;align-items:center;justify-content:center;gap:10px;margin:16px auto;padding:10px 12px;border:1px solid var(--dsh-qa-error);border-radius:10px;color:var(--dsw-alias-label-primary);font-size:13px}
|
|
601
|
+
.dsh-qa-compatibility{margin:16px auto;padding:10px 12px;border:1px solid var(--dsw-alias-border-l2);border-radius:10px;background:var(--dsw-alias-bg-layer-2);color:var(--dsw-alias-label-secondary);font-size:13px;line-height:19px}
|
|
476
602
|
.dsh-qa-error button{border:0;background:transparent;color:var(--dsh-qa-accent);font:inherit;font-weight:600;cursor:pointer}
|
|
477
603
|
.dsh-qa-approvals{display:flex;flex-direction:column;gap:8px;width:100%;margin-bottom:10px}
|
|
478
604
|
.dsh-qa-approval{padding:12px 14px;border:1px solid var(--dsh-qa-warning30);border-radius:12px;background:var(--dsh-qa-warning10)}
|
|
@@ -566,8 +692,8 @@ a.dsh-qa-srcref:hover,button.dsh-qa-srcref:hover{border-color:var(--dsw-alias-la
|
|
|
566
692
|
.dsh-qa-composer__action:disabled{opacity:.4;cursor:default}
|
|
567
693
|
.dsh-qa-composer__action:focus-visible,.dsh-qa-error button:focus-visible,.dsh-qa-header__reset:focus-visible{outline:2px solid var(--dsh-qa-accent);outline-offset:2px}
|
|
568
694
|
@media (hover:hover){.dsh-qa-message__actions .dsh-qa-message__meta{opacity:0;transition:opacity 80ms ease}.dsh-qa-message:hover .dsh-qa-message__actions .dsh-qa-message__meta,.dsh-qa-message:focus-within .dsh-qa-message__actions .dsh-qa-message__meta,.dsh-qa-message__actions[data-persistent] .dsh-qa-message__meta{opacity:1}}.dsh-qa-message__actions[data-persistent] .dsh-qa-message__meta{opacity:1}
|
|
569
|
-
@media (max-width:600px){.dsh-qa-sidebar{display:none}.dsh-qa-panel,.dsh-qa-agents{position:absolute;inset:0;z-index:6;width:100%;border-left:0}.dsh-qa-header__inner{padding-left:16px;padding-right:16px}.dsh-qa-header h1{max-width:48vw}.dsh-qa-header__mode{font-size:12px}.dsh-qa-width-handle{display:none}.dsh-qa-transcript__inner{max-width:100%;padding:16px 16px 28px}.dsh-qa-footer__inner{max-width:100%}.dsh-qa-message{margin-bottom:16px}.dsh-qa-message--user .dsh-qa-message__content{max-width:88%;font-size:15px}.dsh-qa-message__content{font-size:14px}.dsh-qa-footer{padding-left:10px;padding-right:10px;padding-bottom:max(8px,env(safe-area-inset-bottom))}.dsh-qa-composer{min-height:84px;padding-top:12px}.dsh-qa-composer__hint{font-size:0}.dsh-qa-composer__hint::after{content:"Enter: отправить";font-size:11px}}
|
|
695
|
+
@media (max-width:600px){.dsh-qa-sidebar{display:none}.dsh-qa-panel,.dsh-qa-agents{position:absolute;inset:0;z-index:6;width:100%;border-left:0}.dsh-qa-header__inner{padding-left:16px;padding-right:16px}.dsh-qa-header h1{max-width:48vw}.dsh-qa-header__mode{font-size:12px}.dsh-qa-width-handle{display:none}.dsh-qa-transcript__inner{--dsh-qa-bleed:0px;max-width:100%;padding:16px 16px 28px}.dsh-qa-footer__inner{max-width:100%}.dsh-qa-message{margin-bottom:16px}.dsh-qa-message--user .dsh-qa-message__content{max-width:88%;font-size:15px}.dsh-qa-message__content{font-size:14px}.dsh-qa-footer{padding-left:10px;padding-right:10px;padding-bottom:max(8px,env(safe-area-inset-bottom))}.dsh-qa-composer{min-height:84px;padding-top:12px}.dsh-qa-composer__hint{font-size:0}.dsh-qa-composer__hint::after{content:"Enter: отправить";font-size:11px}}
|
|
570
696
|
@media (max-height:480px) and (orientation:landscape){.dsh-qa-header__inner{padding-top:6px}.dsh-qa-header__tabs{display:none}.dsh-qa-transcript__inner{padding-top:12px}.dsh-qa-footer{padding-top:12px}.dsh-qa-composer{min-height:72px;gap:4px;padding-top:8px}}
|
|
571
|
-
@media (prefers-reduced-motion:reduce){.dsh-qa-message__cursor,.dsh-qa-work__spinner,.dsh-qa-work-item__spinner{animation:none}.dsh-qa-work__chevron{transition:none}.dsh-qa-rail__frame,.dsh-qa-rail__pos,.dsh-qa-rail__mark::before,.dsh-qa-rail__mark--busy::before,.dsh-qa-rail__preview{transition:none;animation:none}}
|
|
697
|
+
@media (prefers-reduced-motion:reduce){.dsh-qa-message__cursor,.dsh-qa-message__pending-spinner,.dsh-qa-work__spinner,.dsh-qa-work-item__spinner{animation:none}.dsh-qa-work__chevron{transition:none}.dsh-qa-rail__frame,.dsh-qa-rail__pos,.dsh-qa-rail__mark::before,.dsh-qa-rail__mark--busy::before,.dsh-qa-rail__preview{transition:none;animation:none}}
|
|
572
698
|
`;
|
|
573
699
|
//# sourceMappingURL=styles.js.map
|
package/lib/client/styles.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../src/client/styles.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,gBAAgB,GAAG;IACvB,KAAK,EAAE,SAAS;IAChB,yDAAyD;IACzD,MAAM,EAAE,SAAS;IACjB,UAAU,EAAE,SAAS;IACrB,UAAU,EAAE,SAAS;IACrB,WAAW,EAAE,SAAS;IACtB,uBAAuB;IACvB,IAAI,EAAE,SAAS;IACf,MAAM,EAAE,SAAS;IACjB,MAAM,EAAE,SAAS;IACjB,kBAAkB;IAClB,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,SAAS;IACpB,SAAS,EAAE,SAAS;IACpB,gBAAgB;IAChB,KAAK,EAAE,SAAS;IAChB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,SAAS;IACrB,yBAAyB;IACzB,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,SAAS;IACpB,SAAS,EAAE,SAAS;IACpB,YAAY,EAAE,SAAS;IACvB,mDAAmD;IACnD,cAAc,EAAE,SAAS;IACzB,qDAAqD;IACrD,OAAO,EAAE,wBAAwB;CACzB,CAAC;AAEX,
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../src/client/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAEnE;;;;;;;GAOG;AACH,MAAM,gBAAgB,GAAG;IACvB,KAAK,EAAE,SAAS;IAChB,yDAAyD;IACzD,MAAM,EAAE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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAyGpB,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mJA4MoH,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4UpK,CAAC"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Deterministic display codenames for subagent sessions.
|
|
3
|
+
*
|
|
4
|
+
* The host addresses a background child by its session UUID — opaque noise in
|
|
5
|
+
* an operator-facing notice. A pure string hash folds the full UUID into a
|
|
6
|
+
* stable adjective-plus-noun codename ("Дотошный Барсук"): the same child
|
|
7
|
+
* keeps its codename across reloads and reconnects, nothing is stored, and
|
|
8
|
+
* within one chat's handful of subagents collisions are rare. A codename is
|
|
9
|
+
* decoration only — the short session id stays in the notice body for log
|
|
10
|
+
* correlation.
|
|
11
|
+
*/
|
|
12
|
+
const ADJECTIVES = Object.freeze([
|
|
13
|
+
"Аккуратный",
|
|
14
|
+
"Бдительный",
|
|
15
|
+
"Бесстрашный",
|
|
16
|
+
"Бойкий",
|
|
17
|
+
"Вежливый",
|
|
18
|
+
"Весёлый",
|
|
19
|
+
"Внимательный",
|
|
20
|
+
"Выносливый",
|
|
21
|
+
"Дерзкий",
|
|
22
|
+
"Дотошный",
|
|
23
|
+
"Загадочный",
|
|
24
|
+
"Ироничный",
|
|
25
|
+
"Ловкий",
|
|
26
|
+
"Любознательный",
|
|
27
|
+
"Меткий",
|
|
28
|
+
"Мудрый",
|
|
29
|
+
"Находчивый",
|
|
30
|
+
"Неутомимый",
|
|
31
|
+
"Ночной",
|
|
32
|
+
"Обстоятельный",
|
|
33
|
+
"Педантичный",
|
|
34
|
+
"Пунктуальный",
|
|
35
|
+
"Смекалистый",
|
|
36
|
+
"Тайный",
|
|
37
|
+
"Терпеливый",
|
|
38
|
+
"Тихий",
|
|
39
|
+
"Усердный",
|
|
40
|
+
"Хитроумный",
|
|
41
|
+
"Цепкий",
|
|
42
|
+
"Чуткий",
|
|
43
|
+
"Шустрый",
|
|
44
|
+
"Ярый",
|
|
45
|
+
]);
|
|
46
|
+
/** Masculine on purpose: every adjective above is masculine too. */
|
|
47
|
+
const NOUNS = Object.freeze([
|
|
48
|
+
"Архивариус",
|
|
49
|
+
"Барсук",
|
|
50
|
+
"Бобёр",
|
|
51
|
+
"Бурундук",
|
|
52
|
+
"Волк",
|
|
53
|
+
"Ворон",
|
|
54
|
+
"Голубь",
|
|
55
|
+
"Детектив",
|
|
56
|
+
"Дятел",
|
|
57
|
+
"Ёж",
|
|
58
|
+
"Енот",
|
|
59
|
+
"Жаворонок",
|
|
60
|
+
"Журавль",
|
|
61
|
+
"Заяц",
|
|
62
|
+
"Кит",
|
|
63
|
+
"Крот",
|
|
64
|
+
"Кулибин",
|
|
65
|
+
"Картограф",
|
|
66
|
+
"Лис",
|
|
67
|
+
"Медведь",
|
|
68
|
+
"Муравей",
|
|
69
|
+
"Мыслитель",
|
|
70
|
+
"Оптимист",
|
|
71
|
+
"Орёл",
|
|
72
|
+
"Осьминог",
|
|
73
|
+
"Пеликан",
|
|
74
|
+
"Пингвин",
|
|
75
|
+
"Пират",
|
|
76
|
+
"Полководец",
|
|
77
|
+
"Сокол",
|
|
78
|
+
"Сыч",
|
|
79
|
+
"Тюлень",
|
|
80
|
+
"Филин",
|
|
81
|
+
"Хамелеон",
|
|
82
|
+
"Хомяк",
|
|
83
|
+
"Чиж",
|
|
84
|
+
"Шершень",
|
|
85
|
+
"Штурман",
|
|
86
|
+
"Экспедитор",
|
|
87
|
+
"Ягуар",
|
|
88
|
+
]);
|
|
89
|
+
/** Fold one string through FNV-1a seeded with `seed`. */
|
|
90
|
+
function fnv1a(text, seed) {
|
|
91
|
+
let hash = seed;
|
|
92
|
+
for (let index = 0; index < text.length; index += 1) {
|
|
93
|
+
hash ^= text.charCodeAt(index);
|
|
94
|
+
hash = Math.imul(hash, 16_777_619);
|
|
95
|
+
}
|
|
96
|
+
return hash >>> 0;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* The codename one subagent session displays: two FNV-1a passes with
|
|
100
|
+
* different seeds pick the adjective and the noun independently, so the
|
|
101
|
+
* pairs spread across the whole vocabulary instead of walking it in lockstep.
|
|
102
|
+
*/
|
|
103
|
+
export function codenameFor(id) {
|
|
104
|
+
const normalized = id.trim().toLowerCase();
|
|
105
|
+
const adjective = fnv1a(normalized, 2_166_136_261);
|
|
106
|
+
const noun = fnv1a(normalized, 2_166_136_261 ^ 0x9e37_79b9);
|
|
107
|
+
return `${ADJECTIVES[adjective % ADJECTIVES.length]} ${NOUNS[noun % NOUNS.length]}`;
|
|
108
|
+
}
|
|
109
|
+
//# sourceMappingURL=subagent-codenames.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subagent-codenames.js","sourceRoot":"","sources":["../../src/client/subagent-codenames.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,MAAM,UAAU,GAAsB,MAAM,CAAC,MAAM,CAAC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AU,CAAC,CAAC;IACrC,CAAC;IACD,OAAO,IAAI,KAAK,CAAC,CAAC;AACpB,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,WAAW,CAAC,EAAU;IACpC,MAAM,UAAU,GAAG,EAAE,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;IAC3C,MAAM,SAAS,GAAG,KAAK,CAAC,UAAU,EAAE,aAAa,CAAC,CAAC;IACnD,MAAM,IAAI,GAAG,KAAK,CAAC,UAAU,EAAE,aAAa,GAAG,WAAW,CAAC,CAAC;IAC5D,OAAO,GAAG,UAAU,CAAC,SAAS,GAAG,UAAU,CAAC,MAAM,CAAC,IACjD,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,MAAM,CAC3B,EAAE,CAAC;AACL,CAAC"}
|
package/lib/client/types.js
CHANGED
package/lib/client/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/client/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/client/types.ts"],"names":[],"mappings":"AAqSA,iFAAiF;AACjF,MAAM,CAAC,MAAM,qBAAqB,GAAmB,MAAM,CAAC,MAAM,CAAC;IACjE,KAAK,EAAE,MAAM;IACb,SAAS,EAAE,IAAI;IACf,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;IAC3B,cAAc,EAAE,IAAI;IACpB,KAAK,EAAE,IAAI;IACX,qBAAqB,EAAE,KAAK;IAC5B,OAAO,EAAE,KAAK;IACd,OAAO,EAAE,KAAK;IACd,aAAa,EAAE,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;IAC1B,eAAe,EAAE,IAAI;IACrB,uBAAuB,EAAE,SAAS;IAClC,eAAe,EAAE,IAAI;IACrB,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;CAC7B,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { QaSettingsSection } from "./fields.js";
|
|
3
|
+
/**
|
|
4
|
+
* Placeholder with a purpose: the section exists so the dialog has a home for
|
|
5
|
+
* the user-scoped preferences that follow (notifications, integrations,
|
|
6
|
+
* privacy), and so the thing it must not become is written down — deployment
|
|
7
|
+
* and chat policy live in the Host settings, not here. It shows the account
|
|
8
|
+
* facts a user can act on today and nothing invented.
|
|
9
|
+
*/
|
|
10
|
+
export function QaGeneralSettingsPage(props) {
|
|
11
|
+
return (_jsxs("div", { className: "dsh-qa-settings__page", children: [_jsx("h3", { className: "dsh-qa-settings__page-title", children: "\u041E\u0431\u0449\u0438\u0435" }), _jsx("p", { className: "dsh-qa-settings__lead", children: "\u0412\u0430\u0448\u0438 \u043B\u0438\u0447\u043D\u044B\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438. \u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0441\u0430\u043C\u043E\u0433\u043E \u0441\u0442\u0435\u043D\u0434\u0430 \u2014 \u0441\u043E\u0441\u0442\u0430\u0432 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432, \u043C\u043E\u0434\u0435\u043B\u044C \u0438 \u043F\u0440\u0430\u0432\u0438\u043B\u0430 \u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u2014 \u0437\u0430\u0434\u0430\u0451\u0442 \u0430\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440." }), _jsx(QaSettingsSection, { title: "\u0410\u043A\u043A\u0430\u0443\u043D\u0442", children: _jsxs("dl", { className: "dsh-qa-settings__facts", children: [_jsxs("div", { className: "dsh-qa-settings__fact", children: [_jsx("dt", { children: "Email" }), _jsx("dd", { children: props.email })] }), _jsxs("div", { className: "dsh-qa-settings__fact", children: [_jsx("dt", { children: "\u0420\u043E\u043B\u044C" }), _jsx("dd", { children: props.role })] }), _jsxs("div", { className: "dsh-qa-settings__fact", children: [_jsx("dt", { children: "\u0412\u0430\u0448\u0438 \u0447\u0430\u0442\u044B" }), _jsx("dd", { children: props.chatCount })] })] }) }), _jsx(QaSettingsSection, { title: "\u0421\u043A\u043E\u0440\u043E \u0437\u0434\u0435\u0441\u044C", children: _jsxs("ul", { className: "dsh-qa-settings__list", children: [_jsx("li", { children: "\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u0439" }), _jsx("li", { children: "\u041F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0435 \u0438\u043D\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u0438 \u0432\u043D\u0435\u0448\u043D\u0438\u0435 \u0441\u0438\u0441\u0442\u0435\u043C\u044B" }), _jsx("li", { children: "\u041F\u0440\u0438\u0432\u0430\u0442\u043D\u043E\u0441\u0442\u044C \u0438 \u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435 \u0434\u0430\u043D\u043D\u044B\u0445" })] }) })] }));
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=GeneralSettingsPage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GeneralSettingsPage.js","sourceRoot":"","sources":["../../../src/client/user-settings/GeneralSettingsPage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAQhD;;;;;;GAMG;AACH,MAAM,UAAU,qBAAqB,CAAC,KAAiC;IACrE,OAAO,CACL,eAAK,SAAS,EAAC,uBAAuB,aACpC,aAAI,SAAS,EAAC,6BAA6B,+CAAW,EACtD,YAAG,SAAS,EAAC,uBAAuB,2nBAGhC,EACJ,KAAC,iBAAiB,IAAC,KAAK,EAAC,4CAAS,YAChC,cAAI,SAAS,EAAC,wBAAwB,aACpC,eAAK,SAAS,EAAC,uBAAuB,aACpC,iCAAc,EACd,uBAAK,KAAK,CAAC,KAAK,GAAM,IAClB,EACN,eAAK,SAAS,EAAC,uBAAuB,aACpC,oDAAa,EACb,uBAAK,KAAK,CAAC,IAAI,GAAM,IACjB,EACN,eAAK,SAAS,EAAC,uBAAuB,aACpC,6EAAkB,EAClB,uBAAK,KAAK,CAAC,SAAS,GAAM,IACtB,IACH,GACa,EACpB,KAAC,iBAAiB,IAAC,KAAK,EAAC,+DAAa,YACpC,cAAI,SAAS,EAAC,uBAAuB,aACnC,qJAA8B,EAC9B,8PAAkD,EAClD,2LAAsC,IACnC,GACa,IAChB,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useEffect, useState } from "react";
|
|
3
|
+
import { QA_PROFILE_MAX_FULL_NAME, QA_PROFILE_MAX_IDENTITY_VALUE, } from "../../profile.js";
|
|
4
|
+
import { QaSettingsActions, QaSettingsButton, QaSettingsField, QaSettingsNotice, } from "./fields.js";
|
|
5
|
+
const FORM_ID = "dsh-qa-settings-profile-form";
|
|
6
|
+
/**
|
|
7
|
+
* The signed-in user's profile, moved into the settings dialog unchanged: the
|
|
8
|
+
* same fields, the same storage and the same limits as the modal it replaces.
|
|
9
|
+
* The form is seeded from the stored profile whenever that profile changes, so
|
|
10
|
+
* a reload or a write from another tab never leaves stale edits on screen.
|
|
11
|
+
*/
|
|
12
|
+
export function QaProfileSettingsPage(props) {
|
|
13
|
+
const [fullName, setFullName] = useState(props.profile.fullName);
|
|
14
|
+
const [handles, setHandles] = useState(props.profile.identities);
|
|
15
|
+
const [instructions, setInstructions] = useState(props.profile.instructions);
|
|
16
|
+
const [busy, setBusy] = useState(false);
|
|
17
|
+
const [error, setError] = useState(null);
|
|
18
|
+
const [saved, setSaved] = useState(false);
|
|
19
|
+
useEffect(() => {
|
|
20
|
+
setFullName(props.profile.fullName);
|
|
21
|
+
setHandles({ ...props.profile.identities });
|
|
22
|
+
setInstructions(props.profile.instructions);
|
|
23
|
+
setBusy(false);
|
|
24
|
+
setError(null);
|
|
25
|
+
setSaved(false);
|
|
26
|
+
}, [props.profile]);
|
|
27
|
+
const tooLong = fullName.trim().length > QA_PROFILE_MAX_FULL_NAME ||
|
|
28
|
+
instructions.length > props.instructionsMaxLength;
|
|
29
|
+
const submit = (event) => {
|
|
30
|
+
event.preventDefault();
|
|
31
|
+
if (busy || tooLong)
|
|
32
|
+
return;
|
|
33
|
+
setBusy(true);
|
|
34
|
+
setError(null);
|
|
35
|
+
setSaved(false);
|
|
36
|
+
const input = {
|
|
37
|
+
fullName,
|
|
38
|
+
// Only declared fields travel: the Host refuses undeclared keys, and a
|
|
39
|
+
// field the deployment withdrew must not be silently re-sent.
|
|
40
|
+
identities: Object.fromEntries(props.identities.map((field) => [field.key, handles[field.key] ?? ""])),
|
|
41
|
+
instructions,
|
|
42
|
+
};
|
|
43
|
+
void props.onSave(input).then((refusal) => {
|
|
44
|
+
setBusy(false);
|
|
45
|
+
if (refusal !== null) {
|
|
46
|
+
setError(refusal);
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
setSaved(true);
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
return (_jsxs("form", { id: FORM_ID, className: "dsh-qa-settings__page", onSubmit: submit, children: [_jsx("h3", { className: "dsh-qa-settings__page-title", children: "\u041F\u0440\u043E\u0444\u0438\u043B\u044C" }), _jsx("p", { className: "dsh-qa-settings__lead", children: "\u042D\u0442\u0438 \u0434\u0430\u043D\u043D\u044B\u0435 \u0432\u0438\u0434\u0438\u0442 \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442 \u0432 \u0432\u0430\u0448\u0438\u0445 \u0447\u0430\u0442\u0430\u0445: \u043F\u043E \u0443\u043A\u0430\u0437\u0430\u043D\u043D\u044B\u043C \u043B\u043E\u0433\u0438\u043D\u0430\u043C \u043E\u043D \u0438\u0449\u0435\u0442 \u0432\u0430\u0448\u0438 \u0437\u0430\u0434\u0430\u0447\u0438, \u0437\u0430\u044F\u0432\u043A\u0438 \u0438 MR." }), _jsx(QaSettingsField, { label: "Email", children: _jsx("input", { value: props.email, readOnly: true }) }), _jsx(QaSettingsField, { label: "\u0424\u0418\u041E", children: _jsx("input", { value: fullName, maxLength: QA_PROFILE_MAX_FULL_NAME, placeholder: "\u0418\u0432\u0430\u043D \u0418\u0432\u0430\u043D\u043E\u0432", autoComplete: "name", onChange: (event) => setFullName(event.currentTarget.value) }) }), props.identities.map((field) => (_jsx(QaSettingsField, { label: field.label, children: _jsx("input", { value: handles[field.key] ?? "", maxLength: QA_PROFILE_MAX_IDENTITY_VALUE, placeholder: `Логин в ${field.label}`, onChange: (event) => {
|
|
53
|
+
// Read the value now: React empties `currentTarget` before the
|
|
54
|
+
// state updater below runs.
|
|
55
|
+
const value = event.currentTarget.value;
|
|
56
|
+
setHandles((current) => ({ ...current, [field.key]: value }));
|
|
57
|
+
} }) }, field.key))), props.identities.length === 0 ? (_jsx("p", { className: "dsh-qa-settings__field-hint", children: "\u0412\u043D\u0435\u0448\u043D\u0438\u0435 \u0441\u0438\u0441\u0442\u0435\u043C\u044B \u043D\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043D\u044B: \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B \u0442\u043E\u043B\u044C\u043A\u043E \u0424\u0418\u041E \u0438 \u0438\u043D\u0441\u0442\u0440\u0443\u043A\u0446\u0438\u0438." })) : null, _jsx(QaSettingsField, { label: "\u041E\u0431\u0449\u0438\u0435 \u0438\u043D\u0441\u0442\u0440\u0443\u043A\u0446\u0438\u0438 \u0434\u043B\u044F \u0430\u0433\u0435\u043D\u0442\u0430", children: _jsx("textarea", { rows: 5, value: instructions, maxLength: props.instructionsMaxLength, placeholder: "\u041D\u0430\u043F\u0440\u0438\u043C\u0435\u0440: \u043E\u0442\u0432\u0435\u0447\u0430\u0439 \u043A\u0440\u0430\u0442\u043A\u043E \u0438 \u0432\u0441\u0435\u0433\u0434\u0430 \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0439, \u043E\u0442\u043A\u0443\u0434\u0430 \u0432\u0437\u044F\u043B \u0434\u0430\u043D\u043D\u044B\u0435.", onChange: (event) => setInstructions(event.currentTarget.value) }) }), _jsxs("p", { className: "dsh-qa-settings__count", children: [instructions.length, " / ", props.instructionsMaxLength] }), _jsx("p", { className: "dsh-qa-settings__field-hint", children: "\u0418\u043D\u0441\u0442\u0440\u0443\u043A\u0446\u0438\u0438 \u0437\u0430\u0434\u0430\u044E\u0442 \u0441\u0442\u0438\u043B\u044C \u043E\u0442\u0432\u0435\u0442\u043E\u0432, \u043D\u043E \u043D\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u044F\u044E\u0442 \u0434\u043E\u0441\u0442\u0443\u043F \u043A \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0430\u043C." }), error === null ? null : (_jsx(QaSettingsNotice, { tone: "error", children: error })), saved && error === null ? (_jsx(QaSettingsNotice, { tone: "info", children: "\u041F\u0440\u043E\u0444\u0438\u043B\u044C \u0441\u043E\u0445\u0440\u0430\u043D\u0451\u043D." })) : null, _jsx(QaSettingsActions, { children: _jsx(QaSettingsButton, { type: "submit", tone: "primary", disabled: busy || tooLong, label: busy ? "Сохранение…" : "Сохранить" }) })] }));
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=ProfileSettingsPage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProfileSettingsPage.js","sourceRoot":"","sources":["../../../src/client/user-settings/ProfileSettingsPage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAkB,MAAM,OAAO,CAAC;AAC5D,OAAO,EACL,wBAA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a,CAAC,KAAK,CAAC,GAC/D,GACc,EAClB,aAAG,SAAS,EAAC,wBAAwB,aAClC,YAAY,CAAC,MAAM,SAAK,KAAK,CAAC,qBAAqB,IAClD,EACJ,YAAG,SAAS,EAAC,6BAA6B,oYAEtC,EACH,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CACvB,KAAC,gBAAgB,IAAC,IAAI,EAAC,OAAO,YAAE,KAAK,GAAoB,CAC1D,EACA,KAAK,IAAI,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,CACzB,KAAC,gBAAgB,IAAC,IAAI,EAAC,MAAM,6GAAqC,CACnE,CAAC,CAAC,CAAC,IAAI,EACR,KAAC,iBAAiB,cAChB,KAAC,gBAAgB,IACf,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,SAAS,EACd,QAAQ,EAAE,IAAI,IAAI,OAAO,EACzB,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW,GACzC,GACgB,IACf,CACR,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo, useState } from "react";
|
|
3
|
+
import { QaSettingsButton, QaSettingsNotice } from "./fields.js";
|
|
4
|
+
import { SKILLS_EMPTY_COPY, diagnosticMessage } from "./copy.js";
|
|
5
|
+
import { skillMatchesQuery, skillMetaLine, skillToolWarning } from "./draft.js";
|
|
6
|
+
/**
|
|
7
|
+
* The skills list: what exists, how it is invoked, and what needs attention.
|
|
8
|
+
* Search is client-side over the fields the spec names (name, description,
|
|
9
|
+
* whenToUse) — the catalog of one account is small by construction.
|
|
10
|
+
*/
|
|
11
|
+
export function QaSkillCatalog(props) {
|
|
12
|
+
const [query, setQuery] = useState("");
|
|
13
|
+
const visible = useMemo(() => props.skills.filter((skill) => skillMatchesQuery(skill, query)), [props.skills, query]);
|
|
14
|
+
return (_jsxs("div", { className: "dsh-qa-settings__page", children: [_jsxs("div", { className: "dsh-qa-settings__page-head", children: [_jsxs("div", { className: "dsh-qa-settings__head-text", children: [_jsx("h3", { className: "dsh-qa-settings__page-title", children: "\u041D\u0430\u0432\u044B\u043A\u0438" }), _jsx("p", { className: "dsh-qa-settings__field-hint", children: "\u0418\u043D\u0441\u0442\u0440\u0443\u043A\u0446\u0438\u0438, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442 \u043F\u0440\u0438\u043C\u0435\u043D\u044F\u0435\u0442 \u043A \u043F\u043E\u0432\u0442\u043E\u0440\u044F\u044E\u0449\u0438\u043C\u0441\u044F \u0437\u0430\u0434\u0430\u0447\u0430\u043C." })] }), _jsx(QaSettingsButton, { tone: "primary", label: "\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043D\u0430\u0432\u044B\u043A", onClick: props.onCreate })] }), props.error === null ? null : (_jsxs(QaSettingsNotice, { tone: "error", children: [props.error, " ", _jsx("button", { type: "button", className: "dsh-qa-settings__link", onClick: props.onReload, children: "\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C" })] })), props.loading && props.skills.length === 0 ? (_jsx("p", { className: "dsh-qa-settings__field-hint", children: "\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430\u2026" })) : null, !props.loading && props.skills.length === 0 ? (_jsxs("div", { className: "dsh-qa-settings__empty", children: [_jsx("p", { className: "dsh-qa-settings__empty-title", children: SKILLS_EMPTY_COPY.title }), _jsx("p", { className: "dsh-qa-settings__field-hint", children: SKILLS_EMPTY_COPY.body }), _jsx(QaSettingsButton, { tone: "primary", label: SKILLS_EMPTY_COPY.action, onClick: props.onCreate })] })) : null, props.skills.length === 0 ? null : (_jsxs(_Fragment, { children: [_jsx("input", { className: "dsh-qa-settings__search", type: "search", value: query, placeholder: "\u041F\u043E\u0438\u0441\u043A \u043D\u0430\u0432\u044B\u043A\u043E\u0432\u2026", "aria-label": "\u041F\u043E\u0438\u0441\u043A \u043D\u0430\u0432\u044B\u043A\u043E\u0432", onChange: (event) => setQuery(event.currentTarget.value) }), _jsx("ul", { className: "dsh-qa-settings__rows", children: visible.map((skill) => (_jsx("li", { className: "dsh-qa-settings__row", children: _jsxs("button", { type: "button", className: "dsh-qa-settings__row-button", onClick: () => props.onOpen(skill.name), children: [_jsx("span", { className: "dsh-qa-settings__row-title", children: skill.name }), _jsx("span", { className: "dsh-qa-settings__row-description", children: skill.description === ""
|
|
15
|
+
? "Без описания"
|
|
16
|
+
: skill.description }), _jsx("span", { className: "dsh-qa-settings__row-meta", children: skillMetaLine(skill) }), skillToolWarning(skill) === null ? null : (_jsx("span", { className: "dsh-qa-settings__row-warning", children: skillToolWarning(skill) })), skill.valid ? null : (_jsx("span", { className: "dsh-qa-settings__row-error", children: diagnosticMessage(skill.diagnostics.find((entry) => entry.severity === "error") ?? {
|
|
17
|
+
code: "skill-file-missing",
|
|
18
|
+
severity: "error",
|
|
19
|
+
field: null,
|
|
20
|
+
detail: null,
|
|
21
|
+
}) }))] }) }, skill.name))) }), visible.length === 0 ? (_jsx("p", { className: "dsh-qa-settings__field-hint", children: "\u041D\u0438\u0447\u0435\u0433\u043E \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E. \u0418\u0437\u043C\u0435\u043D\u0438\u0442\u0435 \u0437\u0430\u043F\u0440\u043E\u0441." })) : null] }))] }));
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=SkillCatalog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SkillCatalog.js","sourceRoot":"","sources":["../../../src/client/user-settings/SkillCatalog.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AACjE,OAAO,EAAE,iBA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