UNPKG

@promptbook/node

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

29 lines (28 loc) 1.26 kB
/// <reference types="node" /> /** * Environment variable passed to the bundled Next app so webpack can resolve dependencies * installed beside `ptbk` even when the app sources are materialized into a project cache. * * @private internal constant of `buildAgentsServer` */ export declare const PTBK_AGENTS_SERVER_NODE_MODULES_PATH_ENV = "PTBK_AGENTS_SERVER_NODE_MODULES_PATH"; /** * Environment variable consumed by `apps/agents-server/next.config.ts` to throttle build workers. * * @private internal constant of `buildAgentsServer` */ export declare const PTBK_AGENTS_SERVER_BUILD_WORKER_COUNT_ENV = "PTBK_AGENTS_SERVER_BUILD_WORKER_COUNT"; /** * Environment variable used only by the CLI-owned production build. * * @private internal constant of `buildAgentsServer` */ export declare const PTBK_AGENTS_SERVER_IGNORE_NEXT_VALIDATION_ENV = "PTBK_AGENTS_SERVER_IGNORE_NEXT_VALIDATION"; /** * Adds dependency-resolution environment required by the materialized Agents Server runtime. * * @private internal utility of `buildAgentsServer` */ export declare function createAgentsServerRuntimeEnvironment(environment: NodeJS.ProcessEnv, nodeModulesPath: string, options?: { readonly isNextValidationIgnored?: boolean; }): NodeJS.ProcessEnv;