@yadsh/dsh-qa-surface 0.4.0 → 0.6.0
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 +235 -14
- package/compatibility.json +10 -1
- package/cordis.patch.yml +17 -0
- package/lib/account-remotes.js +10 -0
- package/lib/account-remotes.js.map +1 -1
- package/lib/accounts/credentials.js +12 -4
- package/lib/accounts/credentials.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 +38 -1
- package/lib/accounts/store.js.map +1 -1
- package/lib/approvals.js +179 -0
- package/lib/approvals.js.map +1 -0
- package/lib/cli.js +10 -0
- package/lib/cli.js.map +1 -1
- package/lib/client/QaAccountsController.js +29 -0
- package/lib/client/QaAccountsController.js.map +1 -1
- package/lib/client/QaSessionController.js +261 -48
- package/lib/client/QaSessionController.js.map +1 -1
- package/lib/client/QaSurface.js +138 -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/approvals.js +104 -0
- package/lib/client/approvals.js.map +1 -0
- package/lib/client/attestation.js +3 -0
- package/lib/client/attestation.js.map +1 -1
- package/lib/client/components/QaApproval.js +23 -0
- package/lib/client/components/QaApproval.js.map +1 -0
- package/lib/client/components/QaChangelog.js +55 -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/QaQuestions.js +96 -0
- package/lib/client/components/QaQuestions.js.map +1 -0
- 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 +81 -22
- 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 +8 -3
- package/lib/client/project-session-state.js.map +1 -1
- package/lib/client/questions.js +114 -0
- package/lib/client/questions.js.map +1 -0
- 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/sources.js +2 -0
- package/lib/client/settings/sections/sources.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 +199 -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 +3 -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 +6629 -1579
- 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/basics.js +4 -2
- package/lib/config-resolvers/basics.js.map +1 -1
- package/lib/config-resolvers/defaults.js +27 -0
- package/lib/config-resolvers/defaults.js.map +1 -1
- package/lib/config-resolvers/lockdown.js +11 -0
- package/lib/config-resolvers/lockdown.js.map +1 -1
- package/lib/config-resolvers/session.js +2 -2
- package/lib/config-resolvers/session.js.map +1 -1
- package/lib/config-resolvers/shared.js +9 -0
- package/lib/config-resolvers/shared.js.map +1 -1
- package/lib/config-resolvers/sources.js +2 -0
- package/lib/config-resolvers/sources.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 +299 -2
- 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 +299 -24
- 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 +69 -20
- 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/reported.js +37 -12
- package/lib/provenance/reported.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/questions.js +185 -0
- package/lib/questions.js.map +1 -0
- package/lib/resolve-config.js +5 -0
- package/lib/resolve-config.js.map +1 -1
- package/lib/secure-session.js +104 -20
- package/lib/secure-session.js.map +1 -1
- package/lib/session-ownership.js +55 -0
- package/lib/session-ownership.js.map +1 -0
- package/lib/starters.js +117 -0
- package/lib/starters.js.map +1 -0
- package/lib/typert.host.js +1162 -77
- package/lib/typert.remote-client.d.ts +27 -1
- package/lib/typert.remote-client.js +879 -14
- package/lib/types/account-remotes.d.ts +3 -1
- package/lib/types/accounts/credentials.d.ts +6 -0
- 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 +15 -1
- package/lib/types/approvals.d.ts +65 -0
- package/lib/types/client/QaAccountsController.d.ts +7 -1
- package/lib/types/client/QaSessionController.d.ts +50 -1
- package/lib/types/client/QaSurface.d.ts +21 -4
- package/lib/types/client/QaSurfaceGuard.d.ts +27 -0
- package/lib/types/client/QaTranscriptAdapter.d.ts +7 -0
- package/lib/types/client/approvals.d.ts +39 -0
- package/lib/types/client/components/QaApproval.d.ts +13 -0
- 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/QaQuestions.d.ts +13 -0
- 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 +13 -1
- package/lib/types/client/questions.d.ts +45 -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 +82 -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/shared.d.ts +7 -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 +103 -5
- 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/reported.d.ts +9 -1
- 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/questions.d.ts +83 -0
- package/lib/types/secure-session.d.ts +45 -4
- package/lib/types/session-ownership.d.ts +30 -0
- package/lib/types/starters.d.ts +45 -0
- package/lib/types/types.d.ts +282 -7
- package/lib/types/user-workspace.d.ts +5 -1
- package/lib/user-workspace.js +21 -6
- package/lib/user-workspace.js.map +1 -1
- 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/typert.host.js
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
import { z } from 'zod'
|
|
3
3
|
|
|
4
4
|
const QaSourceMetadataValueRemoteCodec$schema = z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => QaSourceMetadataValueRemoteCodec$schema)), z.record(z.string(), z.lazy(() => QaSourceMetadataValueRemoteCodec$schema)).readonly()])
|
|
5
|
+
const QaSkillJsonValueRemoteCodec$schema = z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => QaSkillJsonValueRemoteCodec$schema)), z.record(z.string(), z.lazy(() => QaSkillJsonValueRemoteCodec$schema)).readonly()])
|
|
6
|
+
const QaSkillJsonValueRemoteCodec$schema2 = z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => QaSkillJsonValueRemoteCodec$schema2)), z.record(z.string(), z.lazy(() => QaSkillJsonValueRemoteCodec$schema2)).readonly()])
|
|
7
|
+
const QaSkillJsonValueRemoteCodec$schema3 = z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => QaSkillJsonValueRemoteCodec$schema3)), z.record(z.string(), z.lazy(() => QaSkillJsonValueRemoteCodec$schema3)).readonly()])
|
|
5
8
|
const _yadsh_dsh_qa_surface_qaSurface_accountsClaimSessions_parameter_0$schema = z.string()
|
|
6
9
|
const _yadsh_dsh_qa_surface_qaSurface_accountsClaimSessions_parameter_1$schema = z.array(z.string())
|
|
7
10
|
const _yadsh_dsh_qa_surface_qaSurface_accountsClaimSessions_result$schema = z.object({
|
|
@@ -34,6 +37,13 @@ const _yadsh_dsh_qa_surface_qaSurface_accountsLogin_result$schema = z.object({
|
|
|
34
37
|
'identities': z.record(z.string(), z.string()).readonly().readonly(),
|
|
35
38
|
'instructions': z.string().readonly(),
|
|
36
39
|
'updatedAt': z.union([z.literal(null), z.string()]).readonly(),
|
|
40
|
+
}).readonly(),
|
|
41
|
+
'starters': z.object({
|
|
42
|
+
'items': z.array(z.object({
|
|
43
|
+
'label': z.string().readonly(),
|
|
44
|
+
'prompt': z.string().readonly(),
|
|
45
|
+
})).readonly(),
|
|
46
|
+
'hideDefaults': z.boolean().readonly(),
|
|
37
47
|
}).readonly(),
|
|
38
48
|
}).readonly(),
|
|
39
49
|
})
|
|
@@ -58,6 +68,13 @@ const _yadsh_dsh_qa_surface_qaSurface_accountsRegister_result$schema = z.object(
|
|
|
58
68
|
'identities': z.record(z.string(), z.string()).readonly().readonly(),
|
|
59
69
|
'instructions': z.string().readonly(),
|
|
60
70
|
'updatedAt': z.union([z.literal(null), z.string()]).readonly(),
|
|
71
|
+
}).readonly(),
|
|
72
|
+
'starters': z.object({
|
|
73
|
+
'items': z.array(z.object({
|
|
74
|
+
'label': z.string().readonly(),
|
|
75
|
+
'prompt': z.string().readonly(),
|
|
76
|
+
})).readonly(),
|
|
77
|
+
'hideDefaults': z.boolean().readonly(),
|
|
61
78
|
}).readonly(),
|
|
62
79
|
}).readonly(),
|
|
63
80
|
})
|
|
@@ -80,6 +97,43 @@ const _yadsh_dsh_qa_surface_qaSurface_accountsUpdateProfile_result$schema = z.ob
|
|
|
80
97
|
'identities': z.record(z.string(), z.string()).readonly().readonly(),
|
|
81
98
|
'instructions': z.string().readonly(),
|
|
82
99
|
'updatedAt': z.union([z.literal(null), z.string()]).readonly(),
|
|
100
|
+
}).readonly(),
|
|
101
|
+
'starters': z.object({
|
|
102
|
+
'items': z.array(z.object({
|
|
103
|
+
'label': z.string().readonly(),
|
|
104
|
+
'prompt': z.string().readonly(),
|
|
105
|
+
})).readonly(),
|
|
106
|
+
'hideDefaults': z.boolean().readonly(),
|
|
107
|
+
}).readonly(),
|
|
108
|
+
})
|
|
109
|
+
const _yadsh_dsh_qa_surface_qaSurface_accountsUpdateStarters_parameter_0$schema = z.string()
|
|
110
|
+
const _yadsh_dsh_qa_surface_qaSurface_accountsUpdateStarters_parameter_1$schema = z.object({
|
|
111
|
+
'items': z.array(z.object({
|
|
112
|
+
'label': z.string().readonly(),
|
|
113
|
+
'prompt': z.string().readonly(),
|
|
114
|
+
})).readonly(),
|
|
115
|
+
'hideDefaults': z.boolean().readonly(),
|
|
116
|
+
})
|
|
117
|
+
const _yadsh_dsh_qa_surface_qaSurface_accountsUpdateStarters_result$schema = z.object({
|
|
118
|
+
'id': z.string().readonly(),
|
|
119
|
+
'email': z.string().readonly(),
|
|
120
|
+
'displayName': z.string().readonly(),
|
|
121
|
+
'role': z.union([z.literal("user"), z.literal("admin")]).readonly(),
|
|
122
|
+
'createdAt': z.string().readonly(),
|
|
123
|
+
'lastLoginAt': z.union([z.literal(null), z.string()]).readonly(),
|
|
124
|
+
'disabled': z.boolean().readonly(),
|
|
125
|
+
'profile': z.object({
|
|
126
|
+
'fullName': z.string().readonly(),
|
|
127
|
+
'identities': z.record(z.string(), z.string()).readonly().readonly(),
|
|
128
|
+
'instructions': z.string().readonly(),
|
|
129
|
+
'updatedAt': z.union([z.literal(null), z.string()]).readonly(),
|
|
130
|
+
}).readonly(),
|
|
131
|
+
'starters': z.object({
|
|
132
|
+
'items': z.array(z.object({
|
|
133
|
+
'label': z.string().readonly(),
|
|
134
|
+
'prompt': z.string().readonly(),
|
|
135
|
+
})).readonly(),
|
|
136
|
+
'hideDefaults': z.boolean().readonly(),
|
|
83
137
|
}).readonly(),
|
|
84
138
|
})
|
|
85
139
|
const _yadsh_dsh_qa_surface_qaSurface_accountsWhoami_parameter_0$schema = z.string()
|
|
@@ -100,9 +154,34 @@ const _yadsh_dsh_qa_surface_qaSurface_accountsWhoami_result$schema = z.union([z.
|
|
|
100
154
|
'identities': z.record(z.string(), z.string()).readonly().readonly(),
|
|
101
155
|
'instructions': z.string().readonly(),
|
|
102
156
|
'updatedAt': z.union([z.literal(null), z.string()]).readonly(),
|
|
157
|
+
}).readonly(),
|
|
158
|
+
'starters': z.object({
|
|
159
|
+
'items': z.array(z.object({
|
|
160
|
+
'label': z.string().readonly(),
|
|
161
|
+
'prompt': z.string().readonly(),
|
|
162
|
+
})).readonly(),
|
|
163
|
+
'hideDefaults': z.boolean().readonly(),
|
|
103
164
|
}).readonly(),
|
|
104
165
|
}).readonly(),
|
|
105
166
|
})])
|
|
167
|
+
const _yadsh_dsh_qa_surface_qaSurface_answerApproval_parameter_0$schema = z.string()
|
|
168
|
+
const _yadsh_dsh_qa_surface_qaSurface_answerApproval_parameter_1$schema = z.string()
|
|
169
|
+
const _yadsh_dsh_qa_surface_qaSurface_answerApproval_parameter_2$schema = z.string()
|
|
170
|
+
const _yadsh_dsh_qa_surface_qaSurface_answerApproval_parameter_3$schema = z.union([z.literal("allowed-once"), z.literal("rejected")])
|
|
171
|
+
const _yadsh_dsh_qa_surface_qaSurface_answerApproval_result$schema = z.boolean()
|
|
172
|
+
const _yadsh_dsh_qa_surface_qaSurface_answerQuestion_parameter_0$schema = z.string()
|
|
173
|
+
const _yadsh_dsh_qa_surface_qaSurface_answerQuestion_parameter_1$schema = z.string()
|
|
174
|
+
const _yadsh_dsh_qa_surface_qaSurface_answerQuestion_parameter_2$schema = z.string()
|
|
175
|
+
const _yadsh_dsh_qa_surface_qaSurface_answerQuestion_parameter_3$schema = z.array(z.object({
|
|
176
|
+
'id': z.string().readonly(),
|
|
177
|
+
'selected': z.array(z.string()).readonly(),
|
|
178
|
+
'custom': z.string().readonly().optional(),
|
|
179
|
+
}))
|
|
180
|
+
const _yadsh_dsh_qa_surface_qaSurface_answerQuestion_result$schema = z.boolean()
|
|
181
|
+
const _yadsh_dsh_qa_surface_qaSurface_cancelQuestion_parameter_0$schema = z.string()
|
|
182
|
+
const _yadsh_dsh_qa_surface_qaSurface_cancelQuestion_parameter_1$schema = z.string()
|
|
183
|
+
const _yadsh_dsh_qa_surface_qaSurface_cancelQuestion_parameter_2$schema = z.string()
|
|
184
|
+
const _yadsh_dsh_qa_surface_qaSurface_cancelQuestion_result$schema = z.boolean()
|
|
106
185
|
const _yadsh_dsh_qa_surface_qaSurface_createSession_parameter_0$schema = z.string()
|
|
107
186
|
const _yadsh_dsh_qa_surface_qaSurface_createSession_result$schema = z.string()
|
|
108
187
|
const _yadsh_dsh_qa_surface_qaSurface_describe_result$schema = z.object({
|
|
@@ -140,12 +219,13 @@ const _yadsh_dsh_qa_surface_qaSurface_describe_result$schema = z.object({
|
|
|
140
219
|
'renderMarkdown': z.boolean().readonly(),
|
|
141
220
|
'minContentWidth': z.number().readonly(),
|
|
142
221
|
'showSessionList': z.boolean().readonly(),
|
|
222
|
+
'subagentCodenames': z.boolean().readonly(),
|
|
143
223
|
}).readonly(),
|
|
144
224
|
'suggestedQuestions': z.array(z.string()).readonly(),
|
|
145
225
|
'thinkingPhrases': z.array(z.string()).readonly(),
|
|
146
226
|
'interaction': z.object({
|
|
147
|
-
'approvals': z.literal("blocked").readonly(),
|
|
148
|
-
'questions': z.literal("unsupported").readonly(),
|
|
227
|
+
'approvals': z.union([z.literal("blocked"), z.literal("interactive")]).readonly(),
|
|
228
|
+
'questions': z.union([z.literal("interactive"), z.literal("unsupported")]).readonly(),
|
|
149
229
|
}).readonly(),
|
|
150
230
|
'lockdown': z.object({
|
|
151
231
|
'enabled': z.boolean().readonly(),
|
|
@@ -166,6 +246,7 @@ const _yadsh_dsh_qa_surface_qaSurface_describe_result$schema = z.object({
|
|
|
166
246
|
'mode': z.literal("allow-list").readonly(),
|
|
167
247
|
'allow': z.array(z.string()).readonly(),
|
|
168
248
|
}).readonly(),
|
|
249
|
+
'sharedReadOnlyRoots': z.array(z.string()).readonly(),
|
|
169
250
|
}).readonly(),
|
|
170
251
|
'embedding': z.object({
|
|
171
252
|
'frameAncestors': z.union([z.literal(null), z.string()]).readonly(),
|
|
@@ -185,10 +266,26 @@ const _yadsh_dsh_qa_surface_qaSurface_describe_result$schema = z.object({
|
|
|
185
266
|
})).readonly(),
|
|
186
267
|
'instructionsMaxLength': z.number().readonly(),
|
|
187
268
|
}).readonly(),
|
|
269
|
+
'starters': z.object({
|
|
270
|
+
'enabled': z.boolean().readonly(),
|
|
271
|
+
}).readonly(),
|
|
272
|
+
'skills': z.object({
|
|
273
|
+
'enabled': z.boolean().readonly(),
|
|
274
|
+
'relativeRoot': z.string().readonly(),
|
|
275
|
+
'watch': z.boolean().readonly(),
|
|
276
|
+
'maxSkillBytes': z.number().readonly(),
|
|
277
|
+
'allowResourceEditing': z.boolean().readonly(),
|
|
278
|
+
}),
|
|
188
279
|
}).readonly(),
|
|
189
280
|
'entry': z.object({
|
|
190
281
|
'redirectNonLoopback': z.boolean().readonly(),
|
|
191
282
|
'cookieBootstrap': z.boolean().readonly(),
|
|
283
|
+
}).readonly(),
|
|
284
|
+
'tools': z.object({
|
|
285
|
+
'dynamicActivation': z.boolean().readonly(),
|
|
286
|
+
'activationSkill': z.string().readonly(),
|
|
287
|
+
'activationMode': z.literal("all").readonly(),
|
|
288
|
+
'activationPresets': z.array(z.string()).readonly(),
|
|
192
289
|
}).readonly(),
|
|
193
290
|
'sources': z.object({
|
|
194
291
|
'enabled': z.boolean().readonly(),
|
|
@@ -225,6 +322,7 @@ const _yadsh_dsh_qa_surface_qaSurface_describe_result$schema = z.object({
|
|
|
225
322
|
'inheritSources': z.boolean().readonly(),
|
|
226
323
|
'enableReportToolFallback': z.boolean().readonly(),
|
|
227
324
|
'markIncompleteOpaqueRuns': z.boolean().readonly(),
|
|
325
|
+
'validateReportedSources': z.boolean().readonly(),
|
|
228
326
|
}).readonly(),
|
|
229
327
|
'legacy': z.object({
|
|
230
328
|
'parseAssistantSourcesBlock': z.boolean().readonly(),
|
|
@@ -236,8 +334,108 @@ const _yadsh_dsh_qa_surface_qaSurface_describe_result$schema = z.object({
|
|
|
236
334
|
'maxFileBytes': z.number().readonly(),
|
|
237
335
|
'maxPending': z.number().readonly(),
|
|
238
336
|
'extensions': z.array(z.string()).readonly(),
|
|
337
|
+
}).readonly(),
|
|
338
|
+
'documents': z.object({
|
|
339
|
+
'enabled': z.boolean().readonly(),
|
|
340
|
+
'storage': z.object({
|
|
341
|
+
'root': z.union([z.literal(null), z.string()]).readonly(),
|
|
342
|
+
'retainSource': z.boolean().readonly(),
|
|
343
|
+
'retainInputs': z.boolean().readonly(),
|
|
344
|
+
'allowedInputRoots': z.array(z.string()).readonly(),
|
|
345
|
+
}).readonly(),
|
|
346
|
+
'templates': z.object({
|
|
347
|
+
'root': z.union([z.literal(null), z.string()]).readonly(),
|
|
348
|
+
'default': z.string().readonly(),
|
|
349
|
+
}).readonly(),
|
|
350
|
+
'create': z.object({
|
|
351
|
+
'defaultPdfMode': z.union([z.literal("office"), z.literal("typst"), z.literal("auto")]).readonly(),
|
|
352
|
+
'allowFormats': z.array(z.union([z.literal("docx"), z.literal("pdf")])).readonly(),
|
|
353
|
+
'allowRawMarkup': z.boolean().readonly(),
|
|
354
|
+
'toc': z.boolean().readonly(),
|
|
355
|
+
}).readonly(),
|
|
356
|
+
'extraction': z.object({
|
|
357
|
+
'defaultMode': z.union([z.literal("auto"), z.literal("fast"), z.literal("accurate")]).readonly(),
|
|
358
|
+
'ocr': z.union([z.literal("auto"), z.literal("off"), z.literal("force")]).readonly(),
|
|
359
|
+
'ocrLanguages': z.array(z.string()).readonly(),
|
|
360
|
+
'extractImages': z.boolean().readonly(),
|
|
361
|
+
'extractTables': z.boolean().readonly(),
|
|
362
|
+
'preservePageMarkers': z.boolean().readonly(),
|
|
363
|
+
'allowFallback': z.boolean().readonly(),
|
|
364
|
+
'maxInlineChars': z.number().readonly(),
|
|
365
|
+
}).readonly(),
|
|
366
|
+
'docling': z.object({
|
|
367
|
+
'enabled': z.boolean().readonly(),
|
|
368
|
+
'baseUrl': z.string().readonly(),
|
|
369
|
+
'timeoutMs': z.number().readonly(),
|
|
370
|
+
}).readonly(),
|
|
371
|
+
'pandoc': z.object({
|
|
372
|
+
'executable': z.string().readonly(),
|
|
373
|
+
'timeoutMs': z.number().readonly(),
|
|
374
|
+
}).readonly(),
|
|
375
|
+
'libreoffice': z.object({
|
|
376
|
+
'executable': z.string().readonly(),
|
|
377
|
+
'timeoutMs': z.number().readonly(),
|
|
378
|
+
}).readonly(),
|
|
379
|
+
'typst': z.object({
|
|
380
|
+
'enabled': z.boolean().readonly(),
|
|
381
|
+
'executable': z.string().readonly(),
|
|
382
|
+
'timeoutMs': z.number().readonly(),
|
|
383
|
+
}).readonly(),
|
|
384
|
+
'markitdown': z.object({
|
|
385
|
+
'enabled': z.boolean().readonly(),
|
|
386
|
+
'executable': z.string().readonly(),
|
|
387
|
+
'timeoutMs': z.number().readonly(),
|
|
388
|
+
}).readonly(),
|
|
389
|
+
'workers': z.object({
|
|
390
|
+
'renderConcurrency': z.number().readonly(),
|
|
391
|
+
'extractionConcurrency': z.number().readonly(),
|
|
392
|
+
'ocrConcurrency': z.number().readonly(),
|
|
393
|
+
}).readonly(),
|
|
394
|
+
'retention': z.object({
|
|
395
|
+
'enabled': z.boolean().readonly(),
|
|
396
|
+
'maxAgeDays': z.number().readonly(),
|
|
397
|
+
'cleanupIntervalHours': z.number().readonly(),
|
|
398
|
+
}).readonly(),
|
|
399
|
+
'limits': z.object({
|
|
400
|
+
'maxInputBytes': z.number().readonly(),
|
|
401
|
+
'maxMarkdownChars': z.number().readonly(),
|
|
402
|
+
'maxPages': z.number().readonly(),
|
|
403
|
+
'maxExtractedImages': z.number().readonly(),
|
|
404
|
+
'maxAssetBytes': z.number().readonly(),
|
|
405
|
+
'maxResponseBytes': z.number().readonly(),
|
|
406
|
+
'maxExtractedMarkdownBytes': z.number().readonly(),
|
|
407
|
+
'allowedAssetMimeTypes': z.array(z.string()).readonly(),
|
|
408
|
+
}).readonly(),
|
|
239
409
|
}).readonly(),
|
|
240
410
|
})
|
|
411
|
+
const _yadsh_dsh_qa_surface_qaSurface_pendingApprovals_parameter_0$schema = z.string()
|
|
412
|
+
const _yadsh_dsh_qa_surface_qaSurface_pendingApprovals_parameter_1$schema = z.string()
|
|
413
|
+
const _yadsh_dsh_qa_surface_qaSurface_pendingApprovals_result$schema = z.array(z.object({
|
|
414
|
+
'id': z.string().readonly(),
|
|
415
|
+
'sessionId': z.string().readonly(),
|
|
416
|
+
'toolName': z.string().readonly(),
|
|
417
|
+
'reason': z.union([z.literal(null), z.string()]).readonly(),
|
|
418
|
+
'createdAt': z.number().readonly(),
|
|
419
|
+
'delegated': z.boolean().readonly(),
|
|
420
|
+
}))
|
|
421
|
+
const _yadsh_dsh_qa_surface_qaSurface_pendingQuestions_parameter_0$schema = z.string()
|
|
422
|
+
const _yadsh_dsh_qa_surface_qaSurface_pendingQuestions_parameter_1$schema = z.string()
|
|
423
|
+
const _yadsh_dsh_qa_surface_qaSurface_pendingQuestions_result$schema = z.array(z.object({
|
|
424
|
+
'id': z.string().readonly(),
|
|
425
|
+
'sessionId': z.string().readonly(),
|
|
426
|
+
'questions': z.array(z.object({
|
|
427
|
+
'id': z.string().readonly(),
|
|
428
|
+
'question': z.string().readonly(),
|
|
429
|
+
'header': z.union([z.literal(null), z.string()]).readonly(),
|
|
430
|
+
'detail': z.union([z.literal(null), z.string()]).readonly(),
|
|
431
|
+
'options': z.array(z.object({
|
|
432
|
+
'label': z.string().readonly(),
|
|
433
|
+
'description': z.union([z.literal(null), z.string()]).readonly(),
|
|
434
|
+
})).readonly(),
|
|
435
|
+
'multiSelect': z.boolean().readonly(),
|
|
436
|
+
})).readonly(),
|
|
437
|
+
'createdAt': z.number().readonly(),
|
|
438
|
+
}))
|
|
241
439
|
const _yadsh_dsh_qa_surface_qaSurface_readSourceFile_parameter_0$schema = z.string()
|
|
242
440
|
const _yadsh_dsh_qa_surface_qaSurface_readSourceFile_parameter_1$schema = z.string()
|
|
243
441
|
const _yadsh_dsh_qa_surface_qaSurface_readSourceFile_parameter_2$schema = z.string()
|
|
@@ -263,6 +461,158 @@ const _yadsh_dsh_qa_surface_qaSurface_secureSession_result$schema = z.object({
|
|
|
263
461
|
'toolPolicyLoaded': z.boolean().readonly(),
|
|
264
462
|
'toolAllowList': z.array(z.string()).readonly(),
|
|
265
463
|
})
|
|
464
|
+
const _yadsh_dsh_qa_surface_qaSurface_skillsCreate_parameter_0$schema = z.string()
|
|
465
|
+
const _yadsh_dsh_qa_surface_qaSurface_skillsCreate_parameter_1$schema = z.object({
|
|
466
|
+
'name': z.string().readonly(),
|
|
467
|
+
'description': z.string().readonly(),
|
|
468
|
+
'whenToUse': z.union([z.literal(null), z.string()]).readonly(),
|
|
469
|
+
'modelInvocable': z.boolean().readonly(),
|
|
470
|
+
'userInvocable': z.boolean().readonly(),
|
|
471
|
+
'allowedTools': z.array(z.string()).readonly(),
|
|
472
|
+
'body': z.string().readonly(),
|
|
473
|
+
'expectedRevision': z.union([z.literal(null), z.string()]).readonly(),
|
|
474
|
+
})
|
|
475
|
+
const _yadsh_dsh_qa_surface_qaSurface_skillsCreate_result$schema = z.object({
|
|
476
|
+
'body': z.string().readonly(),
|
|
477
|
+
'extraFrontmatter': z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => QaSkillJsonValueRemoteCodec$schema2)), z.record(z.string(), z.lazy(() => QaSkillJsonValueRemoteCodec$schema2)).readonly()])).readonly().readonly(),
|
|
478
|
+
'sourcePath': z.string().readonly(),
|
|
479
|
+
'preview': z.string().readonly(),
|
|
480
|
+
'name': z.string().readonly(),
|
|
481
|
+
'description': z.string().readonly(),
|
|
482
|
+
'whenToUse': z.union([z.literal(null), z.string()]).readonly(),
|
|
483
|
+
'modelInvocable': z.boolean().readonly(),
|
|
484
|
+
'userInvocable': z.boolean().readonly(),
|
|
485
|
+
'allowedTools': z.array(z.string()).readonly(),
|
|
486
|
+
'unavailableTools': z.array(z.string()).readonly(),
|
|
487
|
+
'resourceCount': z.number().readonly(),
|
|
488
|
+
'valid': z.boolean().readonly(),
|
|
489
|
+
'diagnostics': z.array(z.object({
|
|
490
|
+
'code': z.union([z.literal("name-required"), z.literal("name-invalid"), z.literal("name-mismatch"), z.literal("description-required"), z.literal("description-too-long"), z.literal("when-to-use-too-long"), z.literal("field-type-invalid"), z.literal("invocation-never"), z.literal("invocation-invalid"), z.literal("invocation-legacy-key"), z.literal("allowed-tools-invalid"), z.literal("tool-name-invalid"), z.literal("tool-unavailable"), z.literal("tools-too-many"), z.literal("file-too-large"), z.literal("frontmatter-missing"), z.literal("skill-file-missing"), z.literal("frontmatter-invalid"), z.literal("unknown-field"), z.literal("resource-unsupported")]).readonly(),
|
|
491
|
+
'severity': z.union([z.literal("error"), z.literal("warning")]).readonly(),
|
|
492
|
+
'field': z.union([z.literal(null), z.string()]).readonly(),
|
|
493
|
+
'detail': z.union([z.literal(null), z.string()]).readonly(),
|
|
494
|
+
})).readonly(),
|
|
495
|
+
'updatedAt': z.union([z.literal(null), z.string()]).readonly(),
|
|
496
|
+
'revision': z.string().readonly(),
|
|
497
|
+
})
|
|
498
|
+
const _yadsh_dsh_qa_surface_qaSurface_skillsGet_parameter_0$schema = z.string()
|
|
499
|
+
const _yadsh_dsh_qa_surface_qaSurface_skillsGet_parameter_1$schema = z.string()
|
|
500
|
+
const _yadsh_dsh_qa_surface_qaSurface_skillsGet_result$schema = z.object({
|
|
501
|
+
'body': z.string().readonly(),
|
|
502
|
+
'extraFrontmatter': z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => QaSkillJsonValueRemoteCodec$schema)), z.record(z.string(), z.lazy(() => QaSkillJsonValueRemoteCodec$schema)).readonly()])).readonly().readonly(),
|
|
503
|
+
'sourcePath': z.string().readonly(),
|
|
504
|
+
'preview': z.string().readonly(),
|
|
505
|
+
'name': z.string().readonly(),
|
|
506
|
+
'description': z.string().readonly(),
|
|
507
|
+
'whenToUse': z.union([z.literal(null), z.string()]).readonly(),
|
|
508
|
+
'modelInvocable': z.boolean().readonly(),
|
|
509
|
+
'userInvocable': z.boolean().readonly(),
|
|
510
|
+
'allowedTools': z.array(z.string()).readonly(),
|
|
511
|
+
'unavailableTools': z.array(z.string()).readonly(),
|
|
512
|
+
'resourceCount': z.number().readonly(),
|
|
513
|
+
'valid': z.boolean().readonly(),
|
|
514
|
+
'diagnostics': z.array(z.object({
|
|
515
|
+
'code': z.union([z.literal("name-required"), z.literal("name-invalid"), z.literal("name-mismatch"), z.literal("description-required"), z.literal("description-too-long"), z.literal("when-to-use-too-long"), z.literal("field-type-invalid"), z.literal("invocation-never"), z.literal("invocation-invalid"), z.literal("invocation-legacy-key"), z.literal("allowed-tools-invalid"), z.literal("tool-name-invalid"), z.literal("tool-unavailable"), z.literal("tools-too-many"), z.literal("file-too-large"), z.literal("frontmatter-missing"), z.literal("skill-file-missing"), z.literal("frontmatter-invalid"), z.literal("unknown-field"), z.literal("resource-unsupported")]).readonly(),
|
|
516
|
+
'severity': z.union([z.literal("error"), z.literal("warning")]).readonly(),
|
|
517
|
+
'field': z.union([z.literal(null), z.string()]).readonly(),
|
|
518
|
+
'detail': z.union([z.literal(null), z.string()]).readonly(),
|
|
519
|
+
})).readonly(),
|
|
520
|
+
'updatedAt': z.union([z.literal(null), z.string()]).readonly(),
|
|
521
|
+
'revision': z.string().readonly(),
|
|
522
|
+
})
|
|
523
|
+
const _yadsh_dsh_qa_surface_qaSurface_skillsList_parameter_0$schema = z.string()
|
|
524
|
+
const _yadsh_dsh_qa_surface_qaSurface_skillsList_result$schema = z.object({
|
|
525
|
+
'skills': z.array(z.object({
|
|
526
|
+
'name': z.string().readonly(),
|
|
527
|
+
'description': z.string().readonly(),
|
|
528
|
+
'whenToUse': z.union([z.literal(null), z.string()]).readonly(),
|
|
529
|
+
'modelInvocable': z.boolean().readonly(),
|
|
530
|
+
'userInvocable': z.boolean().readonly(),
|
|
531
|
+
'allowedTools': z.array(z.string()).readonly(),
|
|
532
|
+
'unavailableTools': z.array(z.string()).readonly(),
|
|
533
|
+
'resourceCount': z.number().readonly(),
|
|
534
|
+
'valid': z.boolean().readonly(),
|
|
535
|
+
'diagnostics': z.array(z.object({
|
|
536
|
+
'code': z.union([z.literal("name-required"), z.literal("name-invalid"), z.literal("name-mismatch"), z.literal("description-required"), z.literal("description-too-long"), z.literal("when-to-use-too-long"), z.literal("field-type-invalid"), z.literal("invocation-never"), z.literal("invocation-invalid"), z.literal("invocation-legacy-key"), z.literal("allowed-tools-invalid"), z.literal("tool-name-invalid"), z.literal("tool-unavailable"), z.literal("tools-too-many"), z.literal("file-too-large"), z.literal("frontmatter-missing"), z.literal("skill-file-missing"), z.literal("frontmatter-invalid"), z.literal("unknown-field"), z.literal("resource-unsupported")]).readonly(),
|
|
537
|
+
'severity': z.union([z.literal("error"), z.literal("warning")]).readonly(),
|
|
538
|
+
'field': z.union([z.literal(null), z.string()]).readonly(),
|
|
539
|
+
'detail': z.union([z.literal(null), z.string()]).readonly(),
|
|
540
|
+
})).readonly(),
|
|
541
|
+
'updatedAt': z.union([z.literal(null), z.string()]).readonly(),
|
|
542
|
+
'revision': z.string().readonly(),
|
|
543
|
+
})).readonly(),
|
|
544
|
+
})
|
|
545
|
+
const _yadsh_dsh_qa_surface_qaSurface_skillsRemove_parameter_0$schema = z.string()
|
|
546
|
+
const _yadsh_dsh_qa_surface_qaSurface_skillsRemove_parameter_1$schema = z.string()
|
|
547
|
+
const _yadsh_dsh_qa_surface_qaSurface_skillsRemove_parameter_2$schema = z.union([z.literal(null), z.string()])
|
|
548
|
+
const _yadsh_dsh_qa_surface_qaSurface_skillsRemove_result$schema = z.object({
|
|
549
|
+
'name': z.string().readonly(),
|
|
550
|
+
'trashed': z.boolean().readonly(),
|
|
551
|
+
})
|
|
552
|
+
const _yadsh_dsh_qa_surface_qaSurface_skillsTools_parameter_0$schema = z.string()
|
|
553
|
+
const _yadsh_dsh_qa_surface_qaSurface_skillsTools_result$schema = z.object({
|
|
554
|
+
'tools': z.array(z.object({
|
|
555
|
+
'name': z.string().readonly(),
|
|
556
|
+
'description': z.string().readonly(),
|
|
557
|
+
'available': z.boolean().readonly(),
|
|
558
|
+
})).readonly(),
|
|
559
|
+
})
|
|
560
|
+
const _yadsh_dsh_qa_surface_qaSurface_skillsUpdate_parameter_0$schema = z.string()
|
|
561
|
+
const _yadsh_dsh_qa_surface_qaSurface_skillsUpdate_parameter_1$schema = z.string()
|
|
562
|
+
const _yadsh_dsh_qa_surface_qaSurface_skillsUpdate_parameter_2$schema = z.object({
|
|
563
|
+
'name': z.string().readonly(),
|
|
564
|
+
'description': z.string().readonly(),
|
|
565
|
+
'whenToUse': z.union([z.literal(null), z.string()]).readonly(),
|
|
566
|
+
'modelInvocable': z.boolean().readonly(),
|
|
567
|
+
'userInvocable': z.boolean().readonly(),
|
|
568
|
+
'allowedTools': z.array(z.string()).readonly(),
|
|
569
|
+
'body': z.string().readonly(),
|
|
570
|
+
'expectedRevision': z.union([z.literal(null), z.string()]).readonly(),
|
|
571
|
+
})
|
|
572
|
+
const _yadsh_dsh_qa_surface_qaSurface_skillsUpdate_result$schema = z.object({
|
|
573
|
+
'body': z.string().readonly(),
|
|
574
|
+
'extraFrontmatter': z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => QaSkillJsonValueRemoteCodec$schema3)), z.record(z.string(), z.lazy(() => QaSkillJsonValueRemoteCodec$schema3)).readonly()])).readonly().readonly(),
|
|
575
|
+
'sourcePath': z.string().readonly(),
|
|
576
|
+
'preview': z.string().readonly(),
|
|
577
|
+
'name': z.string().readonly(),
|
|
578
|
+
'description': z.string().readonly(),
|
|
579
|
+
'whenToUse': z.union([z.literal(null), z.string()]).readonly(),
|
|
580
|
+
'modelInvocable': z.boolean().readonly(),
|
|
581
|
+
'userInvocable': z.boolean().readonly(),
|
|
582
|
+
'allowedTools': z.array(z.string()).readonly(),
|
|
583
|
+
'unavailableTools': z.array(z.string()).readonly(),
|
|
584
|
+
'resourceCount': z.number().readonly(),
|
|
585
|
+
'valid': z.boolean().readonly(),
|
|
586
|
+
'diagnostics': z.array(z.object({
|
|
587
|
+
'code': z.union([z.literal("name-required"), z.literal("name-invalid"), z.literal("name-mismatch"), z.literal("description-required"), z.literal("description-too-long"), z.literal("when-to-use-too-long"), z.literal("field-type-invalid"), z.literal("invocation-never"), z.literal("invocation-invalid"), z.literal("invocation-legacy-key"), z.literal("allowed-tools-invalid"), z.literal("tool-name-invalid"), z.literal("tool-unavailable"), z.literal("tools-too-many"), z.literal("file-too-large"), z.literal("frontmatter-missing"), z.literal("skill-file-missing"), z.literal("frontmatter-invalid"), z.literal("unknown-field"), z.literal("resource-unsupported")]).readonly(),
|
|
588
|
+
'severity': z.union([z.literal("error"), z.literal("warning")]).readonly(),
|
|
589
|
+
'field': z.union([z.literal(null), z.string()]).readonly(),
|
|
590
|
+
'detail': z.union([z.literal(null), z.string()]).readonly(),
|
|
591
|
+
})).readonly(),
|
|
592
|
+
'updatedAt': z.union([z.literal(null), z.string()]).readonly(),
|
|
593
|
+
'revision': z.string().readonly(),
|
|
594
|
+
})
|
|
595
|
+
const _yadsh_dsh_qa_surface_qaSurface_skillsValidate_parameter_0$schema = z.string()
|
|
596
|
+
const _yadsh_dsh_qa_surface_qaSurface_skillsValidate_parameter_1$schema = z.union([z.literal(null), z.string()])
|
|
597
|
+
const _yadsh_dsh_qa_surface_qaSurface_skillsValidate_parameter_2$schema = z.object({
|
|
598
|
+
'name': z.string().readonly(),
|
|
599
|
+
'description': z.string().readonly(),
|
|
600
|
+
'whenToUse': z.union([z.literal(null), z.string()]).readonly(),
|
|
601
|
+
'modelInvocable': z.boolean().readonly(),
|
|
602
|
+
'userInvocable': z.boolean().readonly(),
|
|
603
|
+
'allowedTools': z.array(z.string()).readonly(),
|
|
604
|
+
'body': z.string().readonly(),
|
|
605
|
+
'expectedRevision': z.union([z.literal(null), z.string()]).readonly(),
|
|
606
|
+
})
|
|
607
|
+
const _yadsh_dsh_qa_surface_qaSurface_skillsValidate_result$schema = z.object({
|
|
608
|
+
'preview': z.string().readonly(),
|
|
609
|
+
'diagnostics': z.array(z.object({
|
|
610
|
+
'code': z.union([z.literal("name-required"), z.literal("name-invalid"), z.literal("name-mismatch"), z.literal("description-required"), z.literal("description-too-long"), z.literal("when-to-use-too-long"), z.literal("field-type-invalid"), z.literal("invocation-never"), z.literal("invocation-invalid"), z.literal("invocation-legacy-key"), z.literal("allowed-tools-invalid"), z.literal("tool-name-invalid"), z.literal("tool-unavailable"), z.literal("tools-too-many"), z.literal("file-too-large"), z.literal("frontmatter-missing"), z.literal("skill-file-missing"), z.literal("frontmatter-invalid"), z.literal("unknown-field"), z.literal("resource-unsupported")]).readonly(),
|
|
611
|
+
'severity': z.union([z.literal("error"), z.literal("warning")]).readonly(),
|
|
612
|
+
'field': z.union([z.literal(null), z.string()]).readonly(),
|
|
613
|
+
'detail': z.union([z.literal(null), z.string()]).readonly(),
|
|
614
|
+
})).readonly(),
|
|
615
|
+
})
|
|
266
616
|
const _yadsh_dsh_qa_surface_qaSurface_sources_parameter_0$schema = z.string()
|
|
267
617
|
const _yadsh_dsh_qa_surface_qaSurface_sources_parameter_1$schema = z.string()
|
|
268
618
|
const _yadsh_dsh_qa_surface_qaSurface_sources_result$schema = z.array(z.object({
|
|
@@ -376,7 +726,7 @@ export const TYPERT = {
|
|
|
376
726
|
typeSymbol: '@yadsh/dsh-qa-surface/types#QaClaimResult',
|
|
377
727
|
schema: _yadsh_dsh_qa_surface_qaSurface_accountsClaimSessions_result$schema,
|
|
378
728
|
},
|
|
379
|
-
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":
|
|
729
|
+
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":396,"column":3},
|
|
380
730
|
},
|
|
381
731
|
{
|
|
382
732
|
id: '@yadsh/dsh-qa-surface#qaSurface/accountsListOwnership',
|
|
@@ -401,7 +751,7 @@ export const TYPERT = {
|
|
|
401
751
|
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsListOwnership:result',
|
|
402
752
|
schema: _yadsh_dsh_qa_surface_qaSurface_accountsListOwnership_result$schema,
|
|
403
753
|
},
|
|
404
|
-
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":
|
|
754
|
+
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":415,"column":3},
|
|
405
755
|
},
|
|
406
756
|
{
|
|
407
757
|
id: '@yadsh/dsh-qa-surface#qaSurface/accountsLogin',
|
|
@@ -436,7 +786,7 @@ export const TYPERT = {
|
|
|
436
786
|
typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountSession',
|
|
437
787
|
schema: _yadsh_dsh_qa_surface_qaSurface_accountsLogin_result$schema,
|
|
438
788
|
},
|
|
439
|
-
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":
|
|
789
|
+
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":384,"column":3},
|
|
440
790
|
},
|
|
441
791
|
{
|
|
442
792
|
id: '@yadsh/dsh-qa-surface#qaSurface/accountsOwnedSessions',
|
|
@@ -461,7 +811,7 @@ export const TYPERT = {
|
|
|
461
811
|
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsOwnedSessions:result',
|
|
462
812
|
schema: _yadsh_dsh_qa_surface_qaSurface_accountsOwnedSessions_result$schema,
|
|
463
813
|
},
|
|
464
|
-
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":
|
|
814
|
+
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":405,"column":3},
|
|
465
815
|
},
|
|
466
816
|
{
|
|
467
817
|
id: '@yadsh/dsh-qa-surface#qaSurface/accountsRegister',
|
|
@@ -496,7 +846,7 @@ export const TYPERT = {
|
|
|
496
846
|
typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountSession',
|
|
497
847
|
schema: _yadsh_dsh_qa_surface_qaSurface_accountsRegister_result$schema,
|
|
498
848
|
},
|
|
499
|
-
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":
|
|
849
|
+
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":379,"column":3},
|
|
500
850
|
},
|
|
501
851
|
{
|
|
502
852
|
id: '@yadsh/dsh-qa-surface#qaSurface/accountsUpdateProfile',
|
|
@@ -531,7 +881,42 @@ export const TYPERT = {
|
|
|
531
881
|
typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountUserPublic',
|
|
532
882
|
schema: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateProfile_result$schema,
|
|
533
883
|
},
|
|
534
|
-
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":
|
|
884
|
+
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":428,"column":3},
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
id: '@yadsh/dsh-qa-surface#qaSurface/accountsUpdateStarters',
|
|
888
|
+
service: 'qaSurface',
|
|
889
|
+
namespace: 'qaSurface',
|
|
890
|
+
method: 'accountsUpdateStarters',
|
|
891
|
+
invocation: { kind: 'direct' },
|
|
892
|
+
parameters: [
|
|
893
|
+
{
|
|
894
|
+
name: 'token',
|
|
895
|
+
wire: 'token',
|
|
896
|
+
source: 'json',
|
|
897
|
+
codec: {
|
|
898
|
+
mode: 'strict',
|
|
899
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsUpdateStarters:token',
|
|
900
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateStarters_parameter_0$schema,
|
|
901
|
+
},
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
name: 'input',
|
|
905
|
+
wire: 'input',
|
|
906
|
+
source: 'json',
|
|
907
|
+
codec: {
|
|
908
|
+
mode: 'strict',
|
|
909
|
+
typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountStartersInput',
|
|
910
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateStarters_parameter_1$schema,
|
|
911
|
+
},
|
|
912
|
+
},
|
|
913
|
+
],
|
|
914
|
+
result: {
|
|
915
|
+
mode: 'strict',
|
|
916
|
+
typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountUserPublic',
|
|
917
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateStarters_result$schema,
|
|
918
|
+
},
|
|
919
|
+
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":441,"column":3},
|
|
535
920
|
},
|
|
536
921
|
{
|
|
537
922
|
id: '@yadsh/dsh-qa-surface#qaSurface/accountsWhoami',
|
|
@@ -556,13 +941,13 @@ export const TYPERT = {
|
|
|
556
941
|
typeSymbol: '@yadsh/dsh-qa-surface/types#QaWhoamiResult',
|
|
557
942
|
schema: _yadsh_dsh_qa_surface_qaSurface_accountsWhoami_result$schema,
|
|
558
943
|
},
|
|
559
|
-
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":
|
|
944
|
+
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":390,"column":3},
|
|
560
945
|
},
|
|
561
946
|
{
|
|
562
|
-
id: '@yadsh/dsh-qa-surface#qaSurface/
|
|
947
|
+
id: '@yadsh/dsh-qa-surface#qaSurface/answerApproval',
|
|
563
948
|
service: 'qaSurface',
|
|
564
949
|
namespace: 'qaSurface',
|
|
565
|
-
method: '
|
|
950
|
+
method: 'answerApproval',
|
|
566
951
|
invocation: { kind: 'direct' },
|
|
567
952
|
parameters: [
|
|
568
953
|
{
|
|
@@ -571,38 +956,108 @@ export const TYPERT = {
|
|
|
571
956
|
source: 'json',
|
|
572
957
|
codec: {
|
|
573
958
|
mode: 'strict',
|
|
574
|
-
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/
|
|
575
|
-
schema:
|
|
959
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/answerApproval:token',
|
|
960
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_answerApproval_parameter_0$schema,
|
|
961
|
+
},
|
|
962
|
+
},
|
|
963
|
+
{
|
|
964
|
+
name: 'sessionId',
|
|
965
|
+
wire: 'sessionId',
|
|
966
|
+
source: 'json',
|
|
967
|
+
codec: {
|
|
968
|
+
mode: 'strict',
|
|
969
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/answerApproval:sessionId',
|
|
970
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_answerApproval_parameter_1$schema,
|
|
971
|
+
},
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
name: 'requestId',
|
|
975
|
+
wire: 'requestId',
|
|
976
|
+
source: 'json',
|
|
977
|
+
codec: {
|
|
978
|
+
mode: 'strict',
|
|
979
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/answerApproval:requestId',
|
|
980
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_answerApproval_parameter_2$schema,
|
|
981
|
+
},
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
name: 'decision',
|
|
985
|
+
wire: 'decision',
|
|
986
|
+
source: 'json',
|
|
987
|
+
codec: {
|
|
988
|
+
mode: 'strict',
|
|
989
|
+
typeSymbol: '@yadsh/dsh-qa-surface/types#QaApprovalDecision',
|
|
990
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_answerApproval_parameter_3$schema,
|
|
576
991
|
},
|
|
577
992
|
},
|
|
578
993
|
],
|
|
579
994
|
result: {
|
|
580
995
|
mode: 'strict',
|
|
581
|
-
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/
|
|
582
|
-
schema:
|
|
996
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/answerApproval:result',
|
|
997
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_answerApproval_result$schema,
|
|
583
998
|
},
|
|
584
|
-
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":
|
|
999
|
+
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":609,"column":9},
|
|
585
1000
|
},
|
|
586
1001
|
{
|
|
587
|
-
id: '@yadsh/dsh-qa-surface#qaSurface/
|
|
1002
|
+
id: '@yadsh/dsh-qa-surface#qaSurface/answerQuestion',
|
|
588
1003
|
service: 'qaSurface',
|
|
589
1004
|
namespace: 'qaSurface',
|
|
590
|
-
method: '
|
|
1005
|
+
method: 'answerQuestion',
|
|
591
1006
|
invocation: { kind: 'direct' },
|
|
592
1007
|
parameters: [
|
|
1008
|
+
{
|
|
1009
|
+
name: 'token',
|
|
1010
|
+
wire: 'token',
|
|
1011
|
+
source: 'json',
|
|
1012
|
+
codec: {
|
|
1013
|
+
mode: 'strict',
|
|
1014
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/answerQuestion:token',
|
|
1015
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_answerQuestion_parameter_0$schema,
|
|
1016
|
+
},
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
name: 'sessionId',
|
|
1020
|
+
wire: 'sessionId',
|
|
1021
|
+
source: 'json',
|
|
1022
|
+
codec: {
|
|
1023
|
+
mode: 'strict',
|
|
1024
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/answerQuestion:sessionId',
|
|
1025
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_answerQuestion_parameter_1$schema,
|
|
1026
|
+
},
|
|
1027
|
+
},
|
|
1028
|
+
{
|
|
1029
|
+
name: 'requestId',
|
|
1030
|
+
wire: 'requestId',
|
|
1031
|
+
source: 'json',
|
|
1032
|
+
codec: {
|
|
1033
|
+
mode: 'strict',
|
|
1034
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/answerQuestion:requestId',
|
|
1035
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_answerQuestion_parameter_2$schema,
|
|
1036
|
+
},
|
|
1037
|
+
},
|
|
1038
|
+
{
|
|
1039
|
+
name: 'answers',
|
|
1040
|
+
wire: 'answers',
|
|
1041
|
+
source: 'json',
|
|
1042
|
+
codec: {
|
|
1043
|
+
mode: 'strict',
|
|
1044
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/answerQuestion:answers',
|
|
1045
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_answerQuestion_parameter_3$schema,
|
|
1046
|
+
},
|
|
1047
|
+
},
|
|
593
1048
|
],
|
|
594
1049
|
result: {
|
|
595
1050
|
mode: 'strict',
|
|
596
|
-
typeSymbol: '@yadsh/dsh-qa-surface/
|
|
597
|
-
schema:
|
|
1051
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/answerQuestion:result',
|
|
1052
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_answerQuestion_result$schema,
|
|
598
1053
|
},
|
|
599
|
-
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":
|
|
1054
|
+
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":638,"column":9},
|
|
600
1055
|
},
|
|
601
1056
|
{
|
|
602
|
-
id: '@yadsh/dsh-qa-surface#qaSurface/
|
|
1057
|
+
id: '@yadsh/dsh-qa-surface#qaSurface/cancelQuestion',
|
|
603
1058
|
service: 'qaSurface',
|
|
604
1059
|
namespace: 'qaSurface',
|
|
605
|
-
method: '
|
|
1060
|
+
method: 'cancelQuestion',
|
|
606
1061
|
invocation: { kind: 'direct' },
|
|
607
1062
|
parameters: [
|
|
608
1063
|
{
|
|
@@ -611,8 +1066,8 @@ export const TYPERT = {
|
|
|
611
1066
|
source: 'json',
|
|
612
1067
|
codec: {
|
|
613
1068
|
mode: 'strict',
|
|
614
|
-
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/
|
|
615
|
-
schema:
|
|
1069
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/cancelQuestion:token',
|
|
1070
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_cancelQuestion_parameter_0$schema,
|
|
616
1071
|
},
|
|
617
1072
|
},
|
|
618
1073
|
{
|
|
@@ -621,33 +1076,33 @@ export const TYPERT = {
|
|
|
621
1076
|
source: 'json',
|
|
622
1077
|
codec: {
|
|
623
1078
|
mode: 'strict',
|
|
624
|
-
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/
|
|
625
|
-
schema:
|
|
1079
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/cancelQuestion:sessionId',
|
|
1080
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_cancelQuestion_parameter_1$schema,
|
|
626
1081
|
},
|
|
627
1082
|
},
|
|
628
1083
|
{
|
|
629
|
-
name: '
|
|
630
|
-
wire: '
|
|
1084
|
+
name: 'requestId',
|
|
1085
|
+
wire: 'requestId',
|
|
631
1086
|
source: 'json',
|
|
632
1087
|
codec: {
|
|
633
1088
|
mode: 'strict',
|
|
634
|
-
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/
|
|
635
|
-
schema:
|
|
1089
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/cancelQuestion:requestId',
|
|
1090
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_cancelQuestion_parameter_2$schema,
|
|
636
1091
|
},
|
|
637
1092
|
},
|
|
638
1093
|
],
|
|
639
1094
|
result: {
|
|
640
1095
|
mode: 'strict',
|
|
641
|
-
typeSymbol: '@yadsh/dsh-qa-surface/
|
|
642
|
-
schema:
|
|
1096
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/cancelQuestion:result',
|
|
1097
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_cancelQuestion_result$schema,
|
|
643
1098
|
},
|
|
644
|
-
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":
|
|
1099
|
+
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":650,"column":9},
|
|
645
1100
|
},
|
|
646
1101
|
{
|
|
647
|
-
id: '@yadsh/dsh-qa-surface#qaSurface/
|
|
1102
|
+
id: '@yadsh/dsh-qa-surface#qaSurface/createSession',
|
|
648
1103
|
service: 'qaSurface',
|
|
649
1104
|
namespace: 'qaSurface',
|
|
650
|
-
method: '
|
|
1105
|
+
method: 'createSession',
|
|
651
1106
|
invocation: { kind: 'direct' },
|
|
652
1107
|
parameters: [
|
|
653
1108
|
{
|
|
@@ -656,8 +1111,48 @@ export const TYPERT = {
|
|
|
656
1111
|
source: 'json',
|
|
657
1112
|
codec: {
|
|
658
1113
|
mode: 'strict',
|
|
659
|
-
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/
|
|
660
|
-
schema:
|
|
1114
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/createSession:token',
|
|
1115
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_createSession_parameter_0$schema,
|
|
1116
|
+
},
|
|
1117
|
+
},
|
|
1118
|
+
],
|
|
1119
|
+
result: {
|
|
1120
|
+
mode: 'strict',
|
|
1121
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/createSession:result',
|
|
1122
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_createSession_result$schema,
|
|
1123
|
+
},
|
|
1124
|
+
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":466,"column":9},
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
id: '@yadsh/dsh-qa-surface#qaSurface/describe',
|
|
1128
|
+
service: 'qaSurface',
|
|
1129
|
+
namespace: 'qaSurface',
|
|
1130
|
+
method: 'describe',
|
|
1131
|
+
invocation: { kind: 'direct' },
|
|
1132
|
+
parameters: [
|
|
1133
|
+
],
|
|
1134
|
+
result: {
|
|
1135
|
+
mode: 'strict',
|
|
1136
|
+
typeSymbol: '@yadsh/dsh-qa-surface/types#ResolvedQaSurfaceConfig',
|
|
1137
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_describe_result$schema,
|
|
1138
|
+
},
|
|
1139
|
+
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":456,"column":3},
|
|
1140
|
+
},
|
|
1141
|
+
{
|
|
1142
|
+
id: '@yadsh/dsh-qa-surface#qaSurface/pendingApprovals',
|
|
1143
|
+
service: 'qaSurface',
|
|
1144
|
+
namespace: 'qaSurface',
|
|
1145
|
+
method: 'pendingApprovals',
|
|
1146
|
+
invocation: { kind: 'direct' },
|
|
1147
|
+
parameters: [
|
|
1148
|
+
{
|
|
1149
|
+
name: 'token',
|
|
1150
|
+
wire: 'token',
|
|
1151
|
+
source: 'json',
|
|
1152
|
+
codec: {
|
|
1153
|
+
mode: 'strict',
|
|
1154
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/pendingApprovals:token',
|
|
1155
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_pendingApprovals_parameter_0$schema,
|
|
661
1156
|
},
|
|
662
1157
|
},
|
|
663
1158
|
{
|
|
@@ -666,23 +1161,23 @@ export const TYPERT = {
|
|
|
666
1161
|
source: 'json',
|
|
667
1162
|
codec: {
|
|
668
1163
|
mode: 'strict',
|
|
669
|
-
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/
|
|
670
|
-
schema:
|
|
1164
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/pendingApprovals:sessionId',
|
|
1165
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_pendingApprovals_parameter_1$schema,
|
|
671
1166
|
},
|
|
672
1167
|
},
|
|
673
1168
|
],
|
|
674
1169
|
result: {
|
|
675
1170
|
mode: 'strict',
|
|
676
|
-
typeSymbol: '@yadsh/dsh-qa-surface/
|
|
677
|
-
schema:
|
|
1171
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/pendingApprovals:result',
|
|
1172
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_pendingApprovals_result$schema,
|
|
678
1173
|
},
|
|
679
|
-
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":
|
|
1174
|
+
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":595,"column":9},
|
|
680
1175
|
},
|
|
681
1176
|
{
|
|
682
|
-
id: '@yadsh/dsh-qa-surface#qaSurface/
|
|
1177
|
+
id: '@yadsh/dsh-qa-surface#qaSurface/pendingQuestions',
|
|
683
1178
|
service: 'qaSurface',
|
|
684
1179
|
namespace: 'qaSurface',
|
|
685
|
-
method: '
|
|
1180
|
+
method: 'pendingQuestions',
|
|
686
1181
|
invocation: { kind: 'direct' },
|
|
687
1182
|
parameters: [
|
|
688
1183
|
{
|
|
@@ -691,8 +1186,8 @@ export const TYPERT = {
|
|
|
691
1186
|
source: 'json',
|
|
692
1187
|
codec: {
|
|
693
1188
|
mode: 'strict',
|
|
694
|
-
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/
|
|
695
|
-
schema:
|
|
1189
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/pendingQuestions:token',
|
|
1190
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_pendingQuestions_parameter_0$schema,
|
|
696
1191
|
},
|
|
697
1192
|
},
|
|
698
1193
|
{
|
|
@@ -701,36 +1196,427 @@ export const TYPERT = {
|
|
|
701
1196
|
source: 'json',
|
|
702
1197
|
codec: {
|
|
703
1198
|
mode: 'strict',
|
|
704
|
-
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/
|
|
705
|
-
schema:
|
|
1199
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/pendingQuestions:sessionId',
|
|
1200
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_pendingQuestions_parameter_1$schema,
|
|
706
1201
|
},
|
|
707
1202
|
},
|
|
708
1203
|
],
|
|
709
1204
|
result: {
|
|
710
1205
|
mode: 'strict',
|
|
711
|
-
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/
|
|
712
|
-
schema:
|
|
1206
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/pendingQuestions:result',
|
|
1207
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_pendingQuestions_result$schema,
|
|
713
1208
|
},
|
|
714
|
-
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":
|
|
1209
|
+
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":624,"column":9},
|
|
715
1210
|
},
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
{
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
},
|
|
732
|
-
|
|
733
|
-
|
|
1211
|
+
{
|
|
1212
|
+
id: '@yadsh/dsh-qa-surface#qaSurface/readSourceFile',
|
|
1213
|
+
service: 'qaSurface',
|
|
1214
|
+
namespace: 'qaSurface',
|
|
1215
|
+
method: 'readSourceFile',
|
|
1216
|
+
invocation: { kind: 'direct' },
|
|
1217
|
+
parameters: [
|
|
1218
|
+
{
|
|
1219
|
+
name: 'token',
|
|
1220
|
+
wire: 'token',
|
|
1221
|
+
source: 'json',
|
|
1222
|
+
codec: {
|
|
1223
|
+
mode: 'strict',
|
|
1224
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/readSourceFile:token',
|
|
1225
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_readSourceFile_parameter_0$schema,
|
|
1226
|
+
},
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
name: 'sessionId',
|
|
1230
|
+
wire: 'sessionId',
|
|
1231
|
+
source: 'json',
|
|
1232
|
+
codec: {
|
|
1233
|
+
mode: 'strict',
|
|
1234
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/readSourceFile:sessionId',
|
|
1235
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_readSourceFile_parameter_1$schema,
|
|
1236
|
+
},
|
|
1237
|
+
},
|
|
1238
|
+
{
|
|
1239
|
+
name: 'sourcePath',
|
|
1240
|
+
wire: 'sourcePath',
|
|
1241
|
+
source: 'json',
|
|
1242
|
+
codec: {
|
|
1243
|
+
mode: 'strict',
|
|
1244
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/readSourceFile:sourcePath',
|
|
1245
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_readSourceFile_parameter_2$schema,
|
|
1246
|
+
},
|
|
1247
|
+
},
|
|
1248
|
+
],
|
|
1249
|
+
result: {
|
|
1250
|
+
mode: 'strict',
|
|
1251
|
+
typeSymbol: '@yadsh/dsh-qa-surface/types#QaSourceFilePreview',
|
|
1252
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_readSourceFile_result$schema,
|
|
1253
|
+
},
|
|
1254
|
+
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":669,"column":9},
|
|
1255
|
+
},
|
|
1256
|
+
{
|
|
1257
|
+
id: '@yadsh/dsh-qa-surface#qaSurface/secureSession',
|
|
1258
|
+
service: 'qaSurface',
|
|
1259
|
+
namespace: 'qaSurface',
|
|
1260
|
+
method: 'secureSession',
|
|
1261
|
+
invocation: { kind: 'direct' },
|
|
1262
|
+
parameters: [
|
|
1263
|
+
{
|
|
1264
|
+
name: 'token',
|
|
1265
|
+
wire: 'token',
|
|
1266
|
+
source: 'json',
|
|
1267
|
+
codec: {
|
|
1268
|
+
mode: 'strict',
|
|
1269
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/secureSession:token',
|
|
1270
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_secureSession_parameter_0$schema,
|
|
1271
|
+
},
|
|
1272
|
+
},
|
|
1273
|
+
{
|
|
1274
|
+
name: 'sessionId',
|
|
1275
|
+
wire: 'sessionId',
|
|
1276
|
+
source: 'json',
|
|
1277
|
+
codec: {
|
|
1278
|
+
mode: 'strict',
|
|
1279
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/secureSession:sessionId',
|
|
1280
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_secureSession_parameter_1$schema,
|
|
1281
|
+
},
|
|
1282
|
+
},
|
|
1283
|
+
],
|
|
1284
|
+
result: {
|
|
1285
|
+
mode: 'strict',
|
|
1286
|
+
typeSymbol: '@yadsh/dsh-qa-surface/types#QaLockdownProof',
|
|
1287
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_secureSession_result$schema,
|
|
1288
|
+
},
|
|
1289
|
+
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":546,"column":9},
|
|
1290
|
+
},
|
|
1291
|
+
{
|
|
1292
|
+
id: '@yadsh/dsh-qa-surface#qaSurface/skillsCreate',
|
|
1293
|
+
service: 'qaSurface',
|
|
1294
|
+
namespace: 'qaSurface',
|
|
1295
|
+
method: 'skillsCreate',
|
|
1296
|
+
invocation: { kind: 'direct' },
|
|
1297
|
+
parameters: [
|
|
1298
|
+
{
|
|
1299
|
+
name: 'token',
|
|
1300
|
+
wire: 'token',
|
|
1301
|
+
source: 'json',
|
|
1302
|
+
codec: {
|
|
1303
|
+
mode: 'strict',
|
|
1304
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/skillsCreate:token',
|
|
1305
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_skillsCreate_parameter_0$schema,
|
|
1306
|
+
},
|
|
1307
|
+
},
|
|
1308
|
+
{
|
|
1309
|
+
name: 'input',
|
|
1310
|
+
wire: 'input',
|
|
1311
|
+
source: 'json',
|
|
1312
|
+
codec: {
|
|
1313
|
+
mode: 'strict',
|
|
1314
|
+
typeSymbol: '@yadsh/dsh-qa-surface/types#QaSkillDraftInput',
|
|
1315
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_skillsCreate_parameter_1$schema,
|
|
1316
|
+
},
|
|
1317
|
+
},
|
|
1318
|
+
],
|
|
1319
|
+
result: {
|
|
1320
|
+
mode: 'strict',
|
|
1321
|
+
typeSymbol: '@yadsh/dsh-qa-surface/types#QaSkillDocument',
|
|
1322
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_skillsCreate_result$schema,
|
|
1323
|
+
},
|
|
1324
|
+
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":723,"column":3},
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
id: '@yadsh/dsh-qa-surface#qaSurface/skillsGet',
|
|
1328
|
+
service: 'qaSurface',
|
|
1329
|
+
namespace: 'qaSurface',
|
|
1330
|
+
method: 'skillsGet',
|
|
1331
|
+
invocation: { kind: 'direct' },
|
|
1332
|
+
parameters: [
|
|
1333
|
+
{
|
|
1334
|
+
name: 'token',
|
|
1335
|
+
wire: 'token',
|
|
1336
|
+
source: 'json',
|
|
1337
|
+
codec: {
|
|
1338
|
+
mode: 'strict',
|
|
1339
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/skillsGet:token',
|
|
1340
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_skillsGet_parameter_0$schema,
|
|
1341
|
+
},
|
|
1342
|
+
},
|
|
1343
|
+
{
|
|
1344
|
+
name: 'name',
|
|
1345
|
+
wire: 'name',
|
|
1346
|
+
source: 'json',
|
|
1347
|
+
codec: {
|
|
1348
|
+
mode: 'strict',
|
|
1349
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/skillsGet:name',
|
|
1350
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_skillsGet_parameter_1$schema,
|
|
1351
|
+
},
|
|
1352
|
+
},
|
|
1353
|
+
],
|
|
1354
|
+
result: {
|
|
1355
|
+
mode: 'strict',
|
|
1356
|
+
typeSymbol: '@yadsh/dsh-qa-surface/types#QaSkillDocument',
|
|
1357
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_skillsGet_result$schema,
|
|
1358
|
+
},
|
|
1359
|
+
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":717,"column":3},
|
|
1360
|
+
},
|
|
1361
|
+
{
|
|
1362
|
+
id: '@yadsh/dsh-qa-surface#qaSurface/skillsList',
|
|
1363
|
+
service: 'qaSurface',
|
|
1364
|
+
namespace: 'qaSurface',
|
|
1365
|
+
method: 'skillsList',
|
|
1366
|
+
invocation: { kind: 'direct' },
|
|
1367
|
+
parameters: [
|
|
1368
|
+
{
|
|
1369
|
+
name: 'token',
|
|
1370
|
+
wire: 'token',
|
|
1371
|
+
source: 'json',
|
|
1372
|
+
codec: {
|
|
1373
|
+
mode: 'strict',
|
|
1374
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/skillsList:token',
|
|
1375
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_skillsList_parameter_0$schema,
|
|
1376
|
+
},
|
|
1377
|
+
},
|
|
1378
|
+
],
|
|
1379
|
+
result: {
|
|
1380
|
+
mode: 'strict',
|
|
1381
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/skillsList:result',
|
|
1382
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_skillsList_result$schema,
|
|
1383
|
+
},
|
|
1384
|
+
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":711,"column":3},
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
id: '@yadsh/dsh-qa-surface#qaSurface/skillsRemove',
|
|
1388
|
+
service: 'qaSurface',
|
|
1389
|
+
namespace: 'qaSurface',
|
|
1390
|
+
method: 'skillsRemove',
|
|
1391
|
+
invocation: { kind: 'direct' },
|
|
1392
|
+
parameters: [
|
|
1393
|
+
{
|
|
1394
|
+
name: 'token',
|
|
1395
|
+
wire: 'token',
|
|
1396
|
+
source: 'json',
|
|
1397
|
+
codec: {
|
|
1398
|
+
mode: 'strict',
|
|
1399
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/skillsRemove:token',
|
|
1400
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_skillsRemove_parameter_0$schema,
|
|
1401
|
+
},
|
|
1402
|
+
},
|
|
1403
|
+
{
|
|
1404
|
+
name: 'name',
|
|
1405
|
+
wire: 'name',
|
|
1406
|
+
source: 'json',
|
|
1407
|
+
codec: {
|
|
1408
|
+
mode: 'strict',
|
|
1409
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/skillsRemove:name',
|
|
1410
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_skillsRemove_parameter_1$schema,
|
|
1411
|
+
},
|
|
1412
|
+
},
|
|
1413
|
+
{
|
|
1414
|
+
name: 'expectedRevision',
|
|
1415
|
+
wire: 'expectedRevision',
|
|
1416
|
+
source: 'json',
|
|
1417
|
+
codec: {
|
|
1418
|
+
mode: 'strict',
|
|
1419
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/skillsRemove:expectedRevision',
|
|
1420
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_skillsRemove_parameter_2$schema,
|
|
1421
|
+
},
|
|
1422
|
+
},
|
|
1423
|
+
],
|
|
1424
|
+
result: {
|
|
1425
|
+
mode: 'strict',
|
|
1426
|
+
typeSymbol: '@yadsh/dsh-qa-surface/types#QaSkillRemoval',
|
|
1427
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_skillsRemove_result$schema,
|
|
1428
|
+
},
|
|
1429
|
+
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":742,"column":3},
|
|
1430
|
+
},
|
|
1431
|
+
{
|
|
1432
|
+
id: '@yadsh/dsh-qa-surface#qaSurface/skillsTools',
|
|
1433
|
+
service: 'qaSurface',
|
|
1434
|
+
namespace: 'qaSurface',
|
|
1435
|
+
method: 'skillsTools',
|
|
1436
|
+
invocation: { kind: 'direct' },
|
|
1437
|
+
parameters: [
|
|
1438
|
+
{
|
|
1439
|
+
name: 'token',
|
|
1440
|
+
wire: 'token',
|
|
1441
|
+
source: 'json',
|
|
1442
|
+
codec: {
|
|
1443
|
+
mode: 'strict',
|
|
1444
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/skillsTools:token',
|
|
1445
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_skillsTools_parameter_0$schema,
|
|
1446
|
+
},
|
|
1447
|
+
},
|
|
1448
|
+
],
|
|
1449
|
+
result: {
|
|
1450
|
+
mode: 'strict',
|
|
1451
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/skillsTools:result',
|
|
1452
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_skillsTools_result$schema,
|
|
1453
|
+
},
|
|
1454
|
+
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":768,"column":3},
|
|
1455
|
+
},
|
|
1456
|
+
{
|
|
1457
|
+
id: '@yadsh/dsh-qa-surface#qaSurface/skillsUpdate',
|
|
1458
|
+
service: 'qaSurface',
|
|
1459
|
+
namespace: 'qaSurface',
|
|
1460
|
+
method: 'skillsUpdate',
|
|
1461
|
+
invocation: { kind: 'direct' },
|
|
1462
|
+
parameters: [
|
|
1463
|
+
{
|
|
1464
|
+
name: 'token',
|
|
1465
|
+
wire: 'token',
|
|
1466
|
+
source: 'json',
|
|
1467
|
+
codec: {
|
|
1468
|
+
mode: 'strict',
|
|
1469
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/skillsUpdate:token',
|
|
1470
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_skillsUpdate_parameter_0$schema,
|
|
1471
|
+
},
|
|
1472
|
+
},
|
|
1473
|
+
{
|
|
1474
|
+
name: 'name',
|
|
1475
|
+
wire: 'name',
|
|
1476
|
+
source: 'json',
|
|
1477
|
+
codec: {
|
|
1478
|
+
mode: 'strict',
|
|
1479
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/skillsUpdate:name',
|
|
1480
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_skillsUpdate_parameter_1$schema,
|
|
1481
|
+
},
|
|
1482
|
+
},
|
|
1483
|
+
{
|
|
1484
|
+
name: 'input',
|
|
1485
|
+
wire: 'input',
|
|
1486
|
+
source: 'json',
|
|
1487
|
+
codec: {
|
|
1488
|
+
mode: 'strict',
|
|
1489
|
+
typeSymbol: '@yadsh/dsh-qa-surface/types#QaSkillDraftInput',
|
|
1490
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_skillsUpdate_parameter_2$schema,
|
|
1491
|
+
},
|
|
1492
|
+
},
|
|
1493
|
+
],
|
|
1494
|
+
result: {
|
|
1495
|
+
mode: 'strict',
|
|
1496
|
+
typeSymbol: '@yadsh/dsh-qa-surface/types#QaSkillDocument',
|
|
1497
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_skillsUpdate_result$schema,
|
|
1498
|
+
},
|
|
1499
|
+
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":732,"column":3},
|
|
1500
|
+
},
|
|
1501
|
+
{
|
|
1502
|
+
id: '@yadsh/dsh-qa-surface#qaSurface/skillsValidate',
|
|
1503
|
+
service: 'qaSurface',
|
|
1504
|
+
namespace: 'qaSurface',
|
|
1505
|
+
method: 'skillsValidate',
|
|
1506
|
+
invocation: { kind: 'direct' },
|
|
1507
|
+
parameters: [
|
|
1508
|
+
{
|
|
1509
|
+
name: 'token',
|
|
1510
|
+
wire: 'token',
|
|
1511
|
+
source: 'json',
|
|
1512
|
+
codec: {
|
|
1513
|
+
mode: 'strict',
|
|
1514
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/skillsValidate:token',
|
|
1515
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_skillsValidate_parameter_0$schema,
|
|
1516
|
+
},
|
|
1517
|
+
},
|
|
1518
|
+
{
|
|
1519
|
+
name: 'name',
|
|
1520
|
+
wire: 'name',
|
|
1521
|
+
source: 'json',
|
|
1522
|
+
codec: {
|
|
1523
|
+
mode: 'strict',
|
|
1524
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/skillsValidate:name',
|
|
1525
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_skillsValidate_parameter_1$schema,
|
|
1526
|
+
},
|
|
1527
|
+
},
|
|
1528
|
+
{
|
|
1529
|
+
name: 'input',
|
|
1530
|
+
wire: 'input',
|
|
1531
|
+
source: 'json',
|
|
1532
|
+
codec: {
|
|
1533
|
+
mode: 'strict',
|
|
1534
|
+
typeSymbol: '@yadsh/dsh-qa-surface/types#QaSkillDraftInput',
|
|
1535
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_skillsValidate_parameter_2$schema,
|
|
1536
|
+
},
|
|
1537
|
+
},
|
|
1538
|
+
],
|
|
1539
|
+
result: {
|
|
1540
|
+
mode: 'strict',
|
|
1541
|
+
typeSymbol: '@yadsh/dsh-qa-surface/types#QaSkillValidation',
|
|
1542
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_skillsValidate_result$schema,
|
|
1543
|
+
},
|
|
1544
|
+
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":755,"column":3},
|
|
1545
|
+
},
|
|
1546
|
+
{
|
|
1547
|
+
id: '@yadsh/dsh-qa-surface#qaSurface/sources',
|
|
1548
|
+
service: 'qaSurface',
|
|
1549
|
+
namespace: 'qaSurface',
|
|
1550
|
+
method: 'sources',
|
|
1551
|
+
invocation: { kind: 'direct' },
|
|
1552
|
+
parameters: [
|
|
1553
|
+
{
|
|
1554
|
+
name: 'token',
|
|
1555
|
+
wire: 'token',
|
|
1556
|
+
source: 'json',
|
|
1557
|
+
codec: {
|
|
1558
|
+
mode: 'strict',
|
|
1559
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/sources:token',
|
|
1560
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_sources_parameter_0$schema,
|
|
1561
|
+
},
|
|
1562
|
+
},
|
|
1563
|
+
{
|
|
1564
|
+
name: 'sessionId',
|
|
1565
|
+
wire: 'sessionId',
|
|
1566
|
+
source: 'json',
|
|
1567
|
+
codec: {
|
|
1568
|
+
mode: 'strict',
|
|
1569
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/sources:sessionId',
|
|
1570
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_sources_parameter_1$schema,
|
|
1571
|
+
},
|
|
1572
|
+
},
|
|
1573
|
+
],
|
|
1574
|
+
result: {
|
|
1575
|
+
mode: 'strict',
|
|
1576
|
+
typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/sources:result',
|
|
1577
|
+
schema: _yadsh_dsh_qa_surface_qaSurface_sources_result$schema,
|
|
1578
|
+
},
|
|
1579
|
+
sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":582,"column":9},
|
|
1580
|
+
},
|
|
1581
|
+
],
|
|
1582
|
+
model: {
|
|
1583
|
+
"services": [
|
|
1584
|
+
{
|
|
1585
|
+
"description": "Host companion: validates config, owns the admission boundary and the route.",
|
|
1586
|
+
"summary": "Host companion: validates config, owns the admission boundary and the route.",
|
|
1587
|
+
"tags": [],
|
|
1588
|
+
"jsDoc": "/** Host companion: validates config, owns the admission boundary and the route. */",
|
|
1589
|
+
"key": "qaSurface",
|
|
1590
|
+
"exportName": "QaSurface",
|
|
1591
|
+
"members": [
|
|
1592
|
+
{
|
|
1593
|
+
"kind": "method",
|
|
1594
|
+
"name": "principalForToken",
|
|
1595
|
+
"signature": "principalForToken(token: string): QaPrincipal | undefined",
|
|
1596
|
+
"summary": "Resolve browser authentication to the caller only; never accepts an id.",
|
|
1597
|
+
"jsDoc": "/** Resolve browser authentication to the caller only; never accepts an id. */"
|
|
1598
|
+
},
|
|
1599
|
+
{
|
|
1600
|
+
"kind": "method",
|
|
1601
|
+
"name": "principalForSession",
|
|
1602
|
+
"signature": "principalForSession(sessionId: string): QaPrincipal | undefined",
|
|
1603
|
+
"summary": "Resolve only a directly QA-owned root session; delegated children fail closed.",
|
|
1604
|
+
"jsDoc": "/** Resolve only a directly QA-owned root session; delegated children fail closed. */"
|
|
1605
|
+
},
|
|
1606
|
+
{
|
|
1607
|
+
"kind": "method",
|
|
1608
|
+
"name": "registerPrincipalScopedTools",
|
|
1609
|
+
"signature": "registerPrincipalScopedTools(names: readonly string[]): () => void",
|
|
1610
|
+
"summary": "Admit tools that independently enforce the same QA principal boundary.",
|
|
1611
|
+
"jsDoc": "/** Admit tools that independently enforce the same QA principal boundary. */"
|
|
1612
|
+
},
|
|
1613
|
+
{
|
|
1614
|
+
"kind": "method",
|
|
1615
|
+
"name": "getConfig",
|
|
1616
|
+
"signature": "getConfig(): ResolvedQaSurfaceConfig"
|
|
1617
|
+
},
|
|
1618
|
+
{
|
|
1619
|
+
"kind": "method",
|
|
734
1620
|
"name": "accountsRegister",
|
|
735
1621
|
"signature": "@Remote(\"accountsRegister\") accountsRegister(email: string, password: string): QaAccountSession",
|
|
736
1622
|
"summary": "Self-service signup; the first account ever created becomes admin.",
|
|
@@ -776,6 +1662,13 @@ export const TYPERT = {
|
|
|
776
1662
|
"summary": "Replace the caller's own self-declared profile.",
|
|
777
1663
|
"jsDoc": "/**\n * Replace the caller's own self-declared profile. The token is the only\n * identity the wire carries: a browser can never name a profile but its own,\n * and the deployment's declared fields and length limits are enforced in the\n * store before anything is written.\n */"
|
|
778
1664
|
},
|
|
1665
|
+
{
|
|
1666
|
+
"kind": "method",
|
|
1667
|
+
"name": "accountsUpdateStarters",
|
|
1668
|
+
"signature": "@Remote(\"accountsUpdateStarters\") accountsUpdateStarters( token: string, input: QaAccountStartersInput, ): QaAccountUserPublic",
|
|
1669
|
+
"summary": "Replace the caller's own starter buttons.",
|
|
1670
|
+
"jsDoc": "/**\n * Replace the caller's own starter buttons. Same self-service contract as\n * the profile write: the token names the only editable account, and the\n * deployment's limits are enforced in the store before anything is written.\n */"
|
|
1671
|
+
},
|
|
779
1672
|
{
|
|
780
1673
|
"kind": "method",
|
|
781
1674
|
"name": "describe",
|
|
@@ -793,26 +1686,126 @@ export const TYPERT = {
|
|
|
793
1686
|
{
|
|
794
1687
|
"kind": "method",
|
|
795
1688
|
"name": "secureSession",
|
|
796
|
-
"signature": "@Remote(\"secureSession\") secureSession(token: string, sessionId: string): QaLockdownProof",
|
|
1689
|
+
"signature": "@Remote(\"secureSession\") async secureSession( token: string, sessionId: string, ): Promise<QaLockdownProof>",
|
|
797
1690
|
"summary": "Pin and attest the effective policy.",
|
|
798
1691
|
"jsDoc": "/** Pin and attest the effective policy. The browser supplies identity only. */"
|
|
799
1692
|
},
|
|
800
1693
|
{
|
|
801
1694
|
"kind": "method",
|
|
802
1695
|
"name": "sources",
|
|
803
|
-
"signature": "@Remote(\"sources\") sources(token: string, sessionId: string): readonly QaTurnSources[]",
|
|
804
|
-
"summary": "Return canonical Host snapshots
|
|
805
|
-
"jsDoc": "/** Return canonical Host snapshots
|
|
1696
|
+
"signature": "@Remote(\"sources\") async sources( token: string, sessionId: string, ): Promise<readonly QaTurnSources[]>",
|
|
1697
|
+
"summary": "Return canonical Host snapshots from plugin-owned durable provenance.",
|
|
1698
|
+
"jsDoc": "/** Return canonical Host snapshots from plugin-owned durable provenance. */"
|
|
1699
|
+
},
|
|
1700
|
+
{
|
|
1701
|
+
"kind": "method",
|
|
1702
|
+
"name": "pendingApprovals",
|
|
1703
|
+
"signature": "@Remote(\"pendingApprovals\") async pendingApprovals( token: string, sessionId: string, ): Promise<readonly QaPendingApproval[]>",
|
|
1704
|
+
"summary": "The tool calls of one chat that wait for the operator.",
|
|
1705
|
+
"jsDoc": "/**\n * The tool calls of one chat that wait for the operator. Read-only: a\n * deployment with blocked approvals answers with an empty list.\n */"
|
|
1706
|
+
},
|
|
1707
|
+
{
|
|
1708
|
+
"kind": "method",
|
|
1709
|
+
"name": "answerApproval",
|
|
1710
|
+
"signature": "@Remote(\"answerApproval\") async answerApproval( token: string, sessionId: string, requestId: string, decision: QaApprovalDecision, ): Promise<boolean>",
|
|
1711
|
+
"summary": "Apply the operator's answer to one parked call.",
|
|
1712
|
+
"jsDoc": "/**\n * Apply the operator's answer to one parked call. The id must belong to a\n * request of this chat; an answer that lost the race (the turn was stopped,\n * the agent went away) is refused with `false`.\n */"
|
|
1713
|
+
},
|
|
1714
|
+
{
|
|
1715
|
+
"kind": "method",
|
|
1716
|
+
"name": "pendingQuestions",
|
|
1717
|
+
"signature": "@Remote(\"pendingQuestions\") async pendingQuestions( token: string, sessionId: string, ): Promise<readonly QaPendingQuestion[]>",
|
|
1718
|
+
"summary": "The questions of one chat that wait for the operator.",
|
|
1719
|
+
"jsDoc": "/**\n * The questions of one chat that wait for the operator. Read-only: a\n * deployment with unsupported questions answers with an empty list.\n */"
|
|
1720
|
+
},
|
|
1721
|
+
{
|
|
1722
|
+
"kind": "method",
|
|
1723
|
+
"name": "answerQuestion",
|
|
1724
|
+
"signature": "@Remote(\"answerQuestion\") async answerQuestion( token: string, sessionId: string, requestId: string, answers: readonly QaQuestionAnswerItem[], ): Promise<boolean>",
|
|
1725
|
+
"summary": "Apply the operator's answers to one parked question request.",
|
|
1726
|
+
"jsDoc": "/**\n * Apply the operator's answers to one parked question request. Every question\n * of the request must be present in `answers`; one the browser omits reads as\n * a skip.\n */"
|
|
1727
|
+
},
|
|
1728
|
+
{
|
|
1729
|
+
"kind": "method",
|
|
1730
|
+
"name": "cancelQuestion",
|
|
1731
|
+
"signature": "@Remote(\"cancelQuestion\") async cancelQuestion( token: string, sessionId: string, requestId: string, ): Promise<boolean>",
|
|
1732
|
+
"summary": "Close a parked question request without answering it.",
|
|
1733
|
+
"jsDoc": "/** Close a parked question request without answering it. */"
|
|
806
1734
|
},
|
|
807
1735
|
{
|
|
808
1736
|
"kind": "method",
|
|
809
1737
|
"name": "readSourceFile",
|
|
810
1738
|
"signature": "@Remote(\"readSourceFile\") async readSourceFile( token: string, sessionId: string, sourcePath: string, ): Promise<QaSourceFilePreview>",
|
|
811
1739
|
"summary": "Narrow read-only preview capability for files already present as sources.",
|
|
812
|
-
"jsDoc": "
|
|
1740
|
+
"jsDoc": "/**\n * Narrow read-only preview capability for files already present as sources.\n *\n * The readable roots mirror the per-user execution guard: the chat's own cwd\n * plus the deployment's shared read-only directories and the attachment\n * store. Without that mirroring a source the model was explicitly allowed to\n * read — the normal case for a deployment whose docs and code live beside\n * the per-account scratch directory — could never be opened in the panel.\n */"
|
|
1741
|
+
},
|
|
1742
|
+
{
|
|
1743
|
+
"kind": "method",
|
|
1744
|
+
"name": "skillsList",
|
|
1745
|
+
"signature": "@Remote(\"skillsList\") skillsList(token: string): { readonly skills: readonly QaSkillSummary[] }",
|
|
1746
|
+
"summary": "Every personal skill of the token's account, sorted by name.",
|
|
1747
|
+
"jsDoc": "/** Every personal skill of the token's account, sorted by name. */"
|
|
1748
|
+
},
|
|
1749
|
+
{
|
|
1750
|
+
"kind": "method",
|
|
1751
|
+
"name": "skillsGet",
|
|
1752
|
+
"signature": "@Remote(\"skillsGet\") skillsGet(token: string, name: string): QaSkillDocument",
|
|
1753
|
+
"summary": "One personal skill with the body, its preserved frontmatter and revision.",
|
|
1754
|
+
"jsDoc": "/** One personal skill with the body, its preserved frontmatter and revision. */"
|
|
1755
|
+
},
|
|
1756
|
+
{
|
|
1757
|
+
"kind": "method",
|
|
1758
|
+
"name": "skillsCreate",
|
|
1759
|
+
"signature": "@Remote(\"skillsCreate\") skillsCreate(token: string, input: QaSkillDraftInput): QaSkillDocument",
|
|
1760
|
+
"summary": "Create one skill directory below the account's own workspace.",
|
|
1761
|
+
"jsDoc": "/** Create one skill directory below the account's own workspace. */"
|
|
1762
|
+
},
|
|
1763
|
+
{
|
|
1764
|
+
"kind": "method",
|
|
1765
|
+
"name": "skillsUpdate",
|
|
1766
|
+
"signature": "@Remote(\"skillsUpdate\") skillsUpdate( token: string, name: string, input: QaSkillDraftInput, ): QaSkillDocument",
|
|
1767
|
+
"summary": "Replace one skill.",
|
|
1768
|
+
"jsDoc": "/**\n * Replace one skill. `expectedRevision` is the revision the editor read; a\n * mismatch is refused rather than overwriting an edit made elsewhere.\n */"
|
|
1769
|
+
},
|
|
1770
|
+
{
|
|
1771
|
+
"kind": "method",
|
|
1772
|
+
"name": "skillsRemove",
|
|
1773
|
+
"signature": "@Remote(\"skillsRemove\") skillsRemove( token: string, name: string, expectedRevision: string | null, ): QaSkillRemoval",
|
|
1774
|
+
"summary": "Remove one skill into the account's own trash directory.",
|
|
1775
|
+
"jsDoc": "/** Remove one skill into the account's own trash directory. */"
|
|
1776
|
+
},
|
|
1777
|
+
{
|
|
1778
|
+
"kind": "method",
|
|
1779
|
+
"name": "skillsValidate",
|
|
1780
|
+
"signature": "@Remote(\"skillsValidate\") skillsValidate( token: string, name: string | null, input: QaSkillDraftInput, ): QaSkillValidation",
|
|
1781
|
+
"summary": "Check an unsaved draft: the file a save would write and the diagnostics for it.",
|
|
1782
|
+
"jsDoc": "/**\n * Check an unsaved draft: the file a save would write and the diagnostics\n * for it. `name` names the stored skill being edited, or null to create one.\n */"
|
|
1783
|
+
},
|
|
1784
|
+
{
|
|
1785
|
+
"kind": "method",
|
|
1786
|
+
"name": "skillsTools",
|
|
1787
|
+
"signature": "@Remote(\"skillsTools\") skillsTools(token: string): { readonly tools: readonly QaSkillToolDescriptor[]; }",
|
|
1788
|
+
"summary": "The tool catalog the picker offers, with availability computed against this deployment's QA scope.",
|
|
1789
|
+
"jsDoc": "/**\n * The tool catalog the picker offers, with availability computed against\n * this deployment's QA scope. Declaring a tool here never grants it.\n */"
|
|
813
1790
|
}
|
|
814
1791
|
],
|
|
815
1792
|
"types": [
|
|
1793
|
+
{
|
|
1794
|
+
"name": "CreateFormat",
|
|
1795
|
+
"declaration": "export type CreateFormat = \"docx\" | \"pdf\";"
|
|
1796
|
+
},
|
|
1797
|
+
{
|
|
1798
|
+
"name": "ExtractionMode",
|
|
1799
|
+
"declaration": "export type ExtractionMode = \"auto\" | \"fast\" | \"accurate\";"
|
|
1800
|
+
},
|
|
1801
|
+
{
|
|
1802
|
+
"name": "OcrMode",
|
|
1803
|
+
"declaration": "export type OcrMode = \"auto\" | \"off\" | \"force\";"
|
|
1804
|
+
},
|
|
1805
|
+
{
|
|
1806
|
+
"name": "PdfMode",
|
|
1807
|
+
"declaration": "export type PdfMode = \"office\" | \"typst\" | \"auto\";"
|
|
1808
|
+
},
|
|
816
1809
|
{
|
|
817
1810
|
"name": "QaAccountIdentityField",
|
|
818
1811
|
"declaration": "export interface QaAccountIdentityField {\n readonly key: string;\n readonly label: string;\n}"
|
|
@@ -833,9 +1826,29 @@ export const TYPERT = {
|
|
|
833
1826
|
"name": "QaAccountSession",
|
|
834
1827
|
"declaration": "export interface QaAccountSession {\n readonly token: string;\n readonly user: QaAccountUserPublic;\n}"
|
|
835
1828
|
},
|
|
1829
|
+
{
|
|
1830
|
+
"name": "QaAccountStarter",
|
|
1831
|
+
"declaration": "export interface QaAccountStarter {\n readonly label: string;\n readonly prompt: string;\n}"
|
|
1832
|
+
},
|
|
1833
|
+
{
|
|
1834
|
+
"name": "QaAccountStarters",
|
|
1835
|
+
"declaration": "export interface QaAccountStarters {\n readonly items: readonly QaAccountStarter[];\n readonly hideDefaults: boolean;\n}"
|
|
1836
|
+
},
|
|
1837
|
+
{
|
|
1838
|
+
"name": "QaAccountStartersInput",
|
|
1839
|
+
"declaration": "export interface QaAccountStartersInput {\n readonly items: readonly QaAccountStarter[];\n readonly hideDefaults: boolean;\n}"
|
|
1840
|
+
},
|
|
836
1841
|
{
|
|
837
1842
|
"name": "QaAccountUserPublic",
|
|
838
|
-
"declaration": "export interface QaAccountUserPublic {\n readonly id: string;\n readonly email: string;\n readonly displayName: string;\n readonly role: QaAccountRole;\n readonly createdAt: string;\n readonly lastLoginAt: string | null;\n readonly disabled: boolean;\n readonly profile: QaAccountProfile;\n}"
|
|
1843
|
+
"declaration": "export interface QaAccountUserPublic {\n readonly id: string;\n readonly email: string;\n readonly displayName: string;\n readonly role: QaAccountRole;\n readonly createdAt: string;\n readonly lastLoginAt: string | null;\n readonly disabled: boolean;\n readonly profile: QaAccountProfile;\n readonly starters: QaAccountStarters;\n}"
|
|
1844
|
+
},
|
|
1845
|
+
{
|
|
1846
|
+
"name": "QaApprovalDecision",
|
|
1847
|
+
"declaration": "export type QaApprovalDecision = \"allowed-once\" | \"rejected\";"
|
|
1848
|
+
},
|
|
1849
|
+
{
|
|
1850
|
+
"name": "QaApprovalInteraction",
|
|
1851
|
+
"declaration": "export type QaApprovalInteraction = \"blocked\" | \"interactive\";"
|
|
839
1852
|
},
|
|
840
1853
|
{
|
|
841
1854
|
"name": "QaApprovalPolicy",
|
|
@@ -853,6 +1866,34 @@ export const TYPERT = {
|
|
|
853
1866
|
"name": "QaOwnershipEntry",
|
|
854
1867
|
"declaration": "export interface QaOwnershipEntry {\n readonly sessionId: string;\n readonly userId: string;\n readonly displayName: string;\n readonly claimedAt: string;\n}"
|
|
855
1868
|
},
|
|
1869
|
+
{
|
|
1870
|
+
"name": "QaPendingApproval",
|
|
1871
|
+
"declaration": "export interface QaPendingApproval {\n readonly id: string;\n readonly sessionId: string;\n readonly toolName: string;\n readonly reason: string | null;\n readonly createdAt: number;\n readonly delegated: boolean;\n}"
|
|
1872
|
+
},
|
|
1873
|
+
{
|
|
1874
|
+
"name": "QaPendingQuestion",
|
|
1875
|
+
"declaration": "export interface QaPendingQuestion {\n readonly id: string;\n readonly sessionId: string;\n readonly questions: readonly QaPendingQuestionItem[];\n readonly createdAt: number;\n}"
|
|
1876
|
+
},
|
|
1877
|
+
{
|
|
1878
|
+
"name": "QaPendingQuestionItem",
|
|
1879
|
+
"declaration": "export interface QaPendingQuestionItem {\n readonly id: string;\n readonly question: string;\n readonly header: string | null;\n readonly detail: string | null;\n readonly options: readonly QaPendingQuestionOption[];\n readonly multiSelect: boolean;\n}"
|
|
1880
|
+
},
|
|
1881
|
+
{
|
|
1882
|
+
"name": "QaPendingQuestionOption",
|
|
1883
|
+
"declaration": "export interface QaPendingQuestionOption {\n readonly label: string;\n readonly description: string | null;\n}"
|
|
1884
|
+
},
|
|
1885
|
+
{
|
|
1886
|
+
"name": "QaPrincipal",
|
|
1887
|
+
"declaration": "export interface QaPrincipal {\n readonly userId: string;\n}"
|
|
1888
|
+
},
|
|
1889
|
+
{
|
|
1890
|
+
"name": "QaQuestionAnswerItem",
|
|
1891
|
+
"declaration": "export interface QaQuestionAnswerItem {\n readonly id: string;\n readonly selected: readonly string[];\n readonly custom?: string;\n}"
|
|
1892
|
+
},
|
|
1893
|
+
{
|
|
1894
|
+
"name": "QaQuestionInteraction",
|
|
1895
|
+
"declaration": "export type QaQuestionInteraction = \"unsupported\" | \"interactive\";"
|
|
1896
|
+
},
|
|
856
1897
|
{
|
|
857
1898
|
"name": "QaSandboxMode",
|
|
858
1899
|
"declaration": "export type QaSandboxMode = \"read-only\" | \"workspace-write\";"
|
|
@@ -861,6 +1902,42 @@ export const TYPERT = {
|
|
|
861
1902
|
"name": "QaSessionPolicy",
|
|
862
1903
|
"declaration": "export type QaSessionPolicy = \"browser-persistent\" | \"new-on-load\" | \"fixed\";"
|
|
863
1904
|
},
|
|
1905
|
+
{
|
|
1906
|
+
"name": "QaSkillDiagnostic",
|
|
1907
|
+
"declaration": "export interface QaSkillDiagnostic {\n readonly code: QaSkillDiagnosticCode;\n readonly severity: \"error\" | \"warning\";\n readonly field: string | null;\n readonly detail: string | null;\n}"
|
|
1908
|
+
},
|
|
1909
|
+
{
|
|
1910
|
+
"name": "QaSkillDiagnosticCode",
|
|
1911
|
+
"declaration": "export type QaSkillDiagnosticCode = \"name-required\" | \"name-invalid\" | \"name-mismatch\" | \"description-required\" | \"description-too-long\" | \"when-to-use-too-long\" | \"field-type-invalid\" | \"invocation-never\" | \"invocation-invalid\" | \"invocation-legacy-key\" | \"allowed-tools-invalid\" | \"tool-name-invalid\" | \"tool-unavailable\" | \"tools-too-many\" | \"file-too-large\" | \"frontmatter-missing\" | \"skill-file-missing\" | \"frontmatter-invalid\" | \"unknown-field\" | \"resource-unsupported\";"
|
|
1912
|
+
},
|
|
1913
|
+
{
|
|
1914
|
+
"name": "QaSkillDocument",
|
|
1915
|
+
"declaration": "export interface QaSkillDocument extends QaSkillSummary {\n readonly body: string;\n readonly extraFrontmatter: Readonly<Record<string, QaSkillJsonValue>>;\n readonly sourcePath: string;\n readonly preview: string;\n}"
|
|
1916
|
+
},
|
|
1917
|
+
{
|
|
1918
|
+
"name": "QaSkillDraftInput",
|
|
1919
|
+
"declaration": "export interface QaSkillDraftInput {\n readonly name: string;\n readonly description: string;\n readonly whenToUse: string | null;\n readonly modelInvocable: boolean;\n readonly userInvocable: boolean;\n readonly allowedTools: readonly string[];\n readonly body: string;\n readonly expectedRevision: string | null;\n}"
|
|
1920
|
+
},
|
|
1921
|
+
{
|
|
1922
|
+
"name": "QaSkillJsonValue",
|
|
1923
|
+
"declaration": "export type QaSkillJsonValue = string | number | boolean | null | readonly QaSkillJsonValue[] | { readonly [key: string]: QaSkillJsonValue; };"
|
|
1924
|
+
},
|
|
1925
|
+
{
|
|
1926
|
+
"name": "QaSkillRemoval",
|
|
1927
|
+
"declaration": "export interface QaSkillRemoval {\n readonly name: string;\n readonly trashed: boolean;\n}"
|
|
1928
|
+
},
|
|
1929
|
+
{
|
|
1930
|
+
"name": "QaSkillSummary",
|
|
1931
|
+
"declaration": "export interface QaSkillSummary {\n readonly name: string;\n readonly description: string;\n readonly whenToUse: string | null;\n readonly modelInvocable: boolean;\n readonly userInvocable: boolean;\n readonly allowedTools: readonly string[];\n readonly unavailableTools: readonly string[];\n readonly resourceCount: number;\n readonly valid: boolean;\n readonly diagnostics: readonly QaSkillDiagnostic[];\n readonly updatedAt: string | null;\n readonly revision: string;\n}"
|
|
1932
|
+
},
|
|
1933
|
+
{
|
|
1934
|
+
"name": "QaSkillToolDescriptor",
|
|
1935
|
+
"declaration": "export interface QaSkillToolDescriptor {\n readonly name: string;\n readonly description: string;\n readonly available: boolean;\n}"
|
|
1936
|
+
},
|
|
1937
|
+
{
|
|
1938
|
+
"name": "QaSkillValidation",
|
|
1939
|
+
"declaration": "export interface QaSkillValidation {\n readonly preview: string;\n readonly diagnostics: readonly QaSkillDiagnostic[];\n}"
|
|
1940
|
+
},
|
|
864
1941
|
{
|
|
865
1942
|
"name": "QaSourceEvidence",
|
|
866
1943
|
"declaration": "export type QaSourceEvidence = \"read\" | \"fetched\" | \"queried\" | \"reported\" | \"inherited\" | \"discovered\";"
|
|
@@ -893,6 +1970,10 @@ export const TYPERT = {
|
|
|
893
1970
|
"name": "QaSourceReference",
|
|
894
1971
|
"declaration": "export interface QaSourceReference {\n readonly id: string;\n readonly kind: QaSourceKind;\n readonly title: string;\n readonly uri?: string;\n readonly path?: string;\n readonly snippet?: string;\n readonly locations: readonly QaSourceLocation[];\n readonly evidence: QaSourceEvidence;\n readonly origins: readonly QaSourceOrigin[];\n readonly score: number;\n readonly metadata?: QaSourceMetadata;\n}"
|
|
895
1972
|
},
|
|
1973
|
+
{
|
|
1974
|
+
"name": "QaToolActivationMode",
|
|
1975
|
+
"declaration": "export type QaToolActivationMode = \"all\";"
|
|
1976
|
+
},
|
|
896
1977
|
{
|
|
897
1978
|
"name": "QaToolPolicyMode",
|
|
898
1979
|
"declaration": "export type QaToolPolicyMode = \"allow-list\";"
|
|
@@ -905,9 +1986,13 @@ export const TYPERT = {
|
|
|
905
1986
|
"name": "QaWhoamiResult",
|
|
906
1987
|
"declaration": "export type QaWhoamiResult = { readonly authenticated: false; } | { readonly authenticated: true; readonly user: QaAccountUserPublic; };"
|
|
907
1988
|
},
|
|
1989
|
+
{
|
|
1990
|
+
"name": "ResolvedQaDocumentsConfig",
|
|
1991
|
+
"declaration": "export interface ResolvedQaDocumentsConfig {\n readonly enabled: boolean;\n readonly storage: { readonly root: string | null; readonly retainSource: boolean; readonly retainInputs: boolean; readonly allowedInputRoots: readonly string[]; };\n readonly templates: { readonly root: string | null; readonly default: string; };\n readonly create: { readonly defaultPdfMode: PdfMode; readonly allowFormats: readonly CreateFormat[]; readonly allowRawMarkup: boolean; readonly toc: boolean; };\n readonly extraction: { readonly defaultMode: ExtractionMode; readonly ocr: OcrMode; readonly ocrLanguages: readonly string[]; readonly extractImages: boolean; readonly extractTables: boolean; readonly preservePageMarkers: boolean; readonly allowFallback: boolean; readonly maxInlineChars: number; };\n readonly docling: { readonly enabled: boolean; readonly baseUrl: string; readonly timeoutMs: number; };\n readonly pandoc: { readonly executable: string; readonly timeoutMs: number; };\n readonly libreoffice: { readonly executable: string; readonly timeoutMs: number; };\n readonly typst: { readonly enabled: boolean; readonly executable: string; readonly timeoutMs: number; };\n readonly markitdown: { readonly enabled: boolean; readonly executable: string; readonly timeoutMs: number; };\n readonly workers: { readonly renderConcurrency: number; readonly extractionConcurrency: number; readonly ocrConcurrency: number; };\n readonly retention: { readonly enabled: boolean; readonly maxAgeDays: number; readonly cleanupIntervalHours: number; };\n readonly limits: { readonly maxInputBytes: number; readonly maxMarkdownChars: number; readonly maxPages: number; readonly maxExtractedImages: number; readonly maxAssetBytes: number; readonly maxResponseBytes: number; readonly maxExtractedMarkdownBytes: number; readonly allowedAssetMimeTypes: readonly string[]; };\n}"
|
|
1992
|
+
},
|
|
908
1993
|
{
|
|
909
1994
|
"name": "ResolvedQaSurfaceConfig",
|
|
910
|
-
"declaration": "export interface ResolvedQaSurfaceConfig {\n readonly enabled: boolean;\n readonly route: { readonly path: string; readonly matchChildren: boolean; };\n readonly branding: { readonly title: string; readonly subtitle: string; readonly welcomeMessage: string; readonly placeholder: string; readonly logoUrl: string | null; readonly disclaimer: string; };\n readonly session: { readonly policy: QaSessionPolicy; readonly storageKey: string; readonly cwd: string | null; readonly workspaceId: string | null; readonly fixedSessionId: string | null; readonly agentPreset: string | null; readonly provider: string | null; readonly model: string | null; readonly reasoningEffort: string | null; };\n readonly ui: { readonly showHeader: boolean; readonly showReset: boolean; readonly showStop: boolean; readonly showTimestamps: boolean; readonly showToolActivity: boolean; readonly showReasoning: boolean; readonly renderMarkdown: boolean; readonly minContentWidth: number; readonly showSessionList: boolean; };\n readonly suggestedQuestions: readonly string[];\n readonly thinkingPhrases: readonly string[];\n readonly interaction: { readonly approvals:
|
|
1995
|
+
"declaration": "export interface ResolvedQaSurfaceConfig {\n readonly enabled: boolean;\n readonly route: { readonly path: string; readonly matchChildren: boolean; };\n readonly branding: { readonly title: string; readonly subtitle: string; readonly welcomeMessage: string; readonly placeholder: string; readonly logoUrl: string | null; readonly disclaimer: string; };\n readonly session: { readonly policy: QaSessionPolicy; readonly storageKey: string; readonly cwd: string | null; readonly workspaceId: string | null; readonly fixedSessionId: string | null; readonly agentPreset: string | null; readonly provider: string | null; readonly model: string | null; readonly reasoningEffort: string | null; };\n readonly ui: { readonly showHeader: boolean; readonly showReset: boolean; readonly showStop: boolean; readonly showTimestamps: boolean; readonly showToolActivity: boolean; readonly showReasoning: boolean; readonly renderMarkdown: boolean; readonly minContentWidth: number; readonly showSessionList: boolean; readonly subagentCodenames: boolean; };\n readonly suggestedQuestions: readonly string[];\n readonly thinkingPhrases: readonly string[];\n readonly interaction: { readonly approvals: QaApprovalInteraction; readonly questions: QaQuestionInteraction; };\n readonly lockdown: { readonly enabled: boolean; readonly enforceFixedAgentPreset: boolean; readonly enforceFixedWorkspace: boolean; readonly enforceFixedModel: boolean; readonly sandboxMode: QaSandboxMode; readonly approvalPolicy: QaApprovalPolicy; readonly permissionPreset: string; readonly allowPermissionChanges: false; readonly allowSlashCommands: false; readonly allowSettingsMutation: false; readonly allowSessionReset: boolean; readonly allowSessionRename: false; readonly allowSessionDelete: false; readonly allowArbitrarySessionOpen: false; readonly toolPolicy: { readonly mode: QaToolPolicyMode; readonly allow: readonly string[]; }; readonly sharedReadOnlyRoots: readonly string[]; };\n readonly embedding: { readonly frameAncestors: string | null; };\n readonly accounts: { readonly enabled: boolean; readonly allowRegistration: boolean; readonly sessionTtlDays: number; readonly showOtherUsersChats: boolean; readonly perUserWorkspace: boolean; readonly profile: { readonly enabled: boolean; readonly inject: boolean; readonly identities: readonly QaAccountIdentityField[]; readonly instructionsMaxLength: number; }; readonly starters: { readonly enabled: boolean; }; skills: { readonly enabled: boolean; readonly relativeRoot: string; readonly watch: boolean; readonly maxSkillBytes: number; readonly allowResourceEditing: boolean; }; };\n readonly entry: { readonly redirectNonLoopback: boolean; readonly cookieBootstrap: boolean; };\n readonly tools: { readonly dynamicActivation: boolean; readonly activationSkill: string; readonly activationMode: QaToolActivationMode; readonly activationPresets: readonly string[]; };\n readonly sources: { readonly enabled: boolean; readonly collect: { readonly parentAgent: boolean; readonly subagents: boolean; readonly persistTurnEvent: boolean; }; readonly display: { readonly sidebar: boolean; readonly footer: boolean; readonly groupByKind: boolean; readonly showDiscovered: boolean; readonly showOriginBadges: boolean; readonly maxInitiallyVisiblePerGroup: number; }; readonly webSearch: { readonly promoteSearchResultsWithoutFetch: boolean; readonly maxPromotedPerSearch: number; }; readonly dedupe: { readonly normalizeUrls: boolean; readonly stripTrackingParams: boolean; readonly mergeFileRanges: boolean; }; readonly filePreview: { readonly enabled: boolean; readonly markdownRenderedByDefault: boolean; readonly allowRawToggle: boolean; readonly maxBytes: number; readonly maxMarkdownRenderBytes: number; }; readonly subagents: { readonly inheritSources: boolean; readonly enableReportToolFallback: boolean; readonly markIncompleteOpaqueRuns: boolean; readonly validateReportedSources: boolean; }; readonly legacy: { readonly parseAssistantSourcesBlock: boolean; }; };\n readonly attachments: { readonly textFiles: boolean; readonly pastedTextLines: number; readonly maxFileBytes: number; readonly maxPending: number; readonly extensions: readonly string[]; };\n readonly documents: ResolvedQaDocumentsConfig;\n}"
|
|
911
1996
|
}
|
|
912
1997
|
]
|
|
913
1998
|
}
|