Files
deepseek-harness/scripts/product-package-policy.ts
T
gengruilin e6f2f2cfd1 feat(tencent-meeting): add the Tencent Meeting plugin on the CLI account kit
The bundle inserts the tencent-meeting Host row and the ui-tencent-meeting page row; all three packages are optional in the product package policy. The Host row pins @tencentcloud/tmeet 1.0.18, whose bin is a Node launcher over executables named per platform, and links this platform's executable as tmeet in a DSH cache directory on the private Shell PATH; binDir replaces the link. Repository installs deny the package's install script, which runs tmeet auth logout. One tencent-meeting skill indexes the guide and tells the agent to use the plugin's tmeet, skip the guide's installation check and agent_init.py, and send sign-in to the plugin page. The tencentMeeting Remote checks the account by reading the plain-text auth status, signs in through the browser authorization page and confirms that the server accepts the sign-in, and signs out. The page shows the sign-in steps, the signed-in user, and a sign-out confirmation. Three jscpd:ignore blocks cover the imports, Remote methods, and page actions that the CLI app plugins share by design.
2026-10-19 12:04:06 +08:00

58 lines
5.7 KiB
TypeScript

/** Non-default package roles retained outside the experimental group. */
/** Product role that does not require a default runtime mount. */
export type ProductPackageCategory = 'optional' | 'sdk' | 'build' | 'test' | 'web-distribution' | 'declarations'
/** One explicitly maintained package role and its reason. */
export interface ProductPackagePolicy {
/** Why this package remains outside the experimental group. */
readonly reason: string
/** The supported product role checked against its directory. */
readonly category: ProductPackageCategory
}
/**
* Exceptions to default runtime reachability, keyed by repository-relative package directory.
* Optional integrations may be reached by an optional bundle without becoming default capabilities.
*/
export const PRODUCT_PACKAGE_POLICY: Readonly<Record<string, ProductPackagePolicy>> = {
'packages/core/agent-tool-presentation': { category: 'optional', reason: 'Deprecated selector retained for existing executor configurations.' },
'packages/browser-use/browser-use': { category: 'optional', reason: 'Service definition used by explicitly selected browser providers.' },
'packages/computer-use/computer-use': { category: 'optional', reason: 'Service definition used by explicitly selected computer providers.' },
'packages/lsp/lsp': { category: 'optional', reason: 'Service definition for deployment-configured language servers.' },
'packages/lsp/lsp-stdio': { category: 'optional', reason: 'Requires an explicit server list and language-server executables.' },
'packages/lsp/tool-lsp': { category: 'optional', reason: 'Model tools selected together with a configured LSP provider.' },
'packages/ssh/ssh': { category: 'optional', reason: 'Explicit remote connection and helper configuration.' },
'packages/ssh/ssh-helper-runtime': { category: 'optional', reason: 'Private executable carrier for explicitly configured SSH connections.' },
'packages/ssh/fs-ssh': { category: 'optional', reason: 'Remote filesystem provider selected in an SSH composition.' },
'packages/ssh/sandbox-ssh': { category: 'optional', reason: 'Remote confinement provider selected in an SSH composition.' },
'packages/ssh/subprocess-ssh': { category: 'optional', reason: 'Remote process provider selected in an SSH composition.' },
'packages/storage/storage-sqlite': { category: 'optional', reason: 'Persistent storage requires an explicit database path and backend selection.' },
'packages/subagent/subagent-acp': { category: 'optional', reason: 'Requires a configured external ACP agent command.' },
'packages/subagent/subagent-claude-code': { category: 'optional', reason: 'Separately installed native Claude Code agent integration.' },
'packages/subagent/subagent-codex': { category: 'optional', reason: 'Separately installed native Codex agent integration.' },
'packages/subagent/subagent-dsh-sdk': { category: 'optional', reason: 'Requires an explicitly configured external DSH home.' },
'packages/web/web-search-exa': { category: 'optional', reason: 'Alternative search provider requiring its own API credentials.' },
'packages/web/web-search-perplexity': { category: 'optional', reason: 'Alternative search provider requiring its own API credentials.' },
'packages/connector/cli-account': { category: 'optional', reason: 'Host library imported by separately installed CLI app plugins.' },
'packages/connector/upstream-skills': { category: 'optional', reason: 'Host library imported by separately installed CLI app plugins.' },
'packages/context/tmux-context': { category: 'optional', reason: 'Context contribution requiring a tmux pane.' },
'packages/fs/tool-str-replace-editor': { category: 'optional', reason: 'Explicit alternative to the default filesystem editing tools.' },
'packages/connector/tencent-meeting': { category: 'optional', reason: 'Separately installed app plugin that requires tmeet and a user-authorized Tencent Meeting account.' },
'packages/connector/tencent-meeting-cli': { category: 'optional', reason: 'Tencent Meeting CLI, skill, and account operations mounted by the separately installed Tencent Meeting bundle.' },
'packages/client/ui-tencent-meeting': { category: 'optional', reason: 'Plugins page account connection mounted by the separately installed Tencent Meeting bundle.' },
'packages/sdk/client': { category: 'sdk', reason: 'Published TypeScript embedding client runs in the consumer process.' },
'packages/typert/generator': { category: 'build', reason: 'Build-time generation of type metadata.' },
'packages/test-support/agent-loop-testkit': { category: 'test', reason: 'Published agent-loop test harness.' },
'packages/test-support/tool-testkit': { category: 'test', reason: 'Shared tool definition and execution fixtures for tests and benchmarks.' },
'packages/test-support/client-runtime': { category: 'test', reason: 'Published browser plugin test harness.' },
'packages/test-support/llm-mock-server': { category: 'test', reason: 'Published model-provider test server.' },
'packages/test-support/llm-replay': { category: 'test', reason: 'Published recorded-model replay harness.' },
'packages/test-support/loader-smoke': { category: 'test', reason: 'Published plugin Loader smoke-test harness.' },
'packages/test-support/remote-mock': { category: 'test', reason: 'Published typed Remote test proxies.' },
'packages/test-support/session-snapshot': { category: 'test', reason: 'Published Session snapshot replay harness.' },
'packages/client/web': { category: 'web-distribution', reason: 'Browser boot kernel bundled into the Web distribution.' },
'packages/client/ui-dockkit': { category: 'web-distribution', reason: 'Layout library bundled into the Web distribution.' },
'packages/util/package-manifest': { category: 'declarations', reason: 'Shared package metadata declarations have no runtime mount.' },
}