feat(coding-agent): add experimental feature guard (#5547)
This commit is contained in:
3
packages/coding-agent/src/core/experimental.ts
Normal file
3
packages/coding-agent/src/core/experimental.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export function areExperimentalFeaturesEnabled(): boolean {
|
||||
return process.env.PI_EXPERIMENTAL === "1";
|
||||
}
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user