feat(coding-agent): add experimental feature guard (#5547)

This commit is contained in:
Vegard Stikbakke
2026-06-09 13:23:07 +02:00
committed by GitHub
parent 28c83e8385
commit 66335d3a49
4 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
export function areExperimentalFeaturesEnabled(): boolean {
return process.env.PI_EXPERIMENTAL === "1";
}

View File

@@ -28,6 +28,7 @@ export {
export { type BashExecutorOptions, type BashResult, executeBashWithOperations } from "./bash-executor.ts";
export type { CompactionResult } from "./compaction/index.ts";
export { createEventBus, type EventBus, type EventBusController } from "./event-bus.ts";
export { areExperimentalFeaturesEnabled } from "./experimental.ts";
// Extensions system
export {
type AgentEndEvent,