experimental-package-policy.ts 845 B

12345678910111213141516171819
  1. /** Experimental packages that publish with the dsh release family without changing names. */
  2. export const PUBLIC_EXPERIMENTAL_PACKAGE_DIRECTORIES = [
  3. 'packages/experimental/agent-team',
  4. 'packages/experimental/agent-team-profile',
  5. 'packages/experimental/agent-team-web-profile',
  6. 'packages/experimental/client-ui-agent-team',
  7. 'packages/experimental/tool-agent-team',
  8. ] as const
  9. const publicExperimentalPackageDirectories = new Set<string>(PUBLIC_EXPERIMENTAL_PACKAGE_DIRECTORIES)
  10. /**
  11. * Whether an experimental package is an explicit public-release exception.
  12. * @param directory - repository-relative package directory.
  13. * @returns Whether the package publishes with the dsh family.
  14. */
  15. export function isPublicExperimentalPackageDirectory(directory: string): boolean {
  16. return publicExperimentalPackageDirectories.has(directory)
  17. }