
import '../../../../base/common/lazy.js';
import '../../../../base/common/errors.js';
import '../../../../base/common/lifecycle.js';
import { URI } from '../../../../base/common/uri.js';
export { PolicyState } from './protocol/channels-root/state.js';
export { CustomizationLoadStatus, CustomizationType, MessageAttachmentKind, MessageKind, PendingMessageKind, ResponsePartKind, SessionInputAnswerState, SessionInputAnswerValueKind, SessionInputQuestionKind, SessionInputResponseKind, SessionLifecycle, SessionStatus, ToolCallCancellationReason, ToolCallConfirmationReason, ToolCallContributorKind, ToolCallStatus, ToolResultContentType, TurnState } from './protocol/channels-session/state.js';
import './protocol/channels-terminal/state.js';
export { ChangesetOperationScope, ChangesetOperationStatus, ChangesetStatus } from './protocol/channels-changeset/state.js';
import './protocol/channels-resource-watch/state.js';
import './protocol/common/commands.js';
import './protocol/channels-session/commands.js';
export { ChangesetOperationTargetKind } from './protocol/channels-changeset/commands.js';

var FileEditKind;
(function(FileEditKind) {
    FileEditKind["Edit"] = "edit";
    FileEditKind["Create"] = "create";
    FileEditKind["Delete"] = "delete";
    FileEditKind["Rename"] = "rename";
})(FileEditKind || (FileEditKind = {}));
const ROOT_STATE_URI = "ahp-root://";
const AHP_ROOT_SCHEME = "ahp-root";
function isAhpRootChannel(uri) {
    if (uri === ROOT_STATE_URI) {
        return true;
    }
    try {
        return URI.parse(uri).scheme === AHP_ROOT_SCHEME;
    } catch {
        return false;
    }
}
function customizationId(uri, range) {
    {
        return uri;
    }
}
var StateComponents;
(function(StateComponents) {
    StateComponents[StateComponents["Root"] = 0] = "Root";
    StateComponents[StateComponents["Session"] = 1] = "Session";
    StateComponents[StateComponents["Terminal"] = 2] = "Terminal";
    StateComponents[StateComponents["Changeset"] = 3] = "Changeset";
})(StateComponents || (StateComponents = {}));

export { AHP_ROOT_SCHEME, FileEditKind, ROOT_STATE_URI, StateComponents, customizationId, isAhpRootChannel };
