SessionDevelopmentInstall
What this package tells a host that builds the collector for it: which package is installed, and whether this session may collect.
import type { SessionDevelopmentInstall } from '@threadplane/ag-ui';Declaration
export interface SessionDevelopmentInstall {
readonly enabled: () => boolean;
readonly installationToken: string | null;
readonly integration: 'ag-ui';
readonly packageName: '@threadplane/ag-ui';
readonly packageVersion: string;
}Members
enabled
False once the app supplied its own telemetry option, false included.
readonly enabled: () => boolean;installationToken
The package-local token the install step wrote, in an Angular development build. Null everywhere else, and in a package installed without scripts.
readonly installationToken: string | null;integration
readonly integration: 'ag-ui';packageName
readonly packageName: '@threadplane/ag-ui';packageVersion
readonly packageVersion: string;