Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
/**
* The stable API for Jan desktop extensions. `./manifest` re-exports the
* manifest types and validator for tooling that only lints package.json.
*/
export { API_VERSION } from './api-version.js'
export {
DEFAULT_MODEL_CAPABILITIES,
isModelCapability,
MODEL_CAPABILITIES,
type ModelCapability,
} from './capabilities.js'
export { DisposableStore, toDisposable, type Disposable } from './disposable.js'
export { Emitter, type Event } from './event.js'
export { ExtensionError, type ExtensionErrorCode } from './errors.js'
export {
isLocalHost,
isNetworkHost,
isPermissionString,
networkHostMatches,
networkHostOf,
type PermissionKind,
type PermissionString,
} from './permissions.js'
export { isApiCompatible } from './semver.js'
export {
isContributionId,
RESERVED_PUBLISHER,
validateManifest,
} from './validate.js'
export type * from './context.js'
export type * from './contributions.js'
export type {
JanManifest,
ManifestError,
ProposalName,
ValidatedManifest,
ValidateOptions,
ValidationResult,
} from './manifest.js'