var e = /* @__PURE__ */ ((r) => (r.Autopilot = "Autopilot", r.Supervised = "Supervised", r))(e || {}), o = /* @__PURE__ */ ((r) => (r.NotStarted = "not_started", r.Queued = "queued", r.InProgress = "in_progress", r.Completed = "completed", r))(o || {}), n = /* @__PURE__ */ ((r) => (r.FileEdited = "fileEdited", r.FileCreated = "fileCreated", r.FileDeleted = "fileDeleted", r.UserTriggered = "userTriggered", r.UserPrompt = "promptSubmit", r.AgentStop = "agentStop", r.PreToolUse = "preToolUse", r.PostToolUse = "postToolUse", r.PreTaskExecution = "preTaskExecution", r.PostTaskExecution = "postTaskExecution", r))(n || {}), t = /* @__PURE__ */ ((r) => (r.AskAgent = "askAgent", r.RunCommand = "runCommand", r))(t || {}), s = /* @__PURE__ */ ((r) => (r.Application = "kiro.application", r.Feature = "kiro.feature", r.Continue = "kiro.continue", r.Agent = "kiro.agent", r.Tool = "kiro.tool", r.Parser = "kiro.parser", r.Onboarding = "kiro.onboarding", r.Webview = "kiro.webview", r.Auth = "kiro.auth", r.Billing = "kiro.billing", r.Profiles = "kiro.profiles", r.RemoteTools = "kiro.remote-tools", r.Spec = "kiro.spec", r))(s || {}), d = /* @__PURE__ */ ((r) => (r.RequestId = "requestId", r.ConversationId = "conversationId", r.ExecutionId = "executionId", r.ModelId = "ModelIdentifier", r.UserId = "userId", r.XRayTraceId = "AWS-XRAY-TRACE-ID", r))(d || {}), u = /* @__PURE__ */ ((r) => (r.PendingAction = "PendingAction", r.Running = "Running", r.Success = "Success", r.Error = "Error", r.Accepted = "Accepted", r.Rejected = "Rejected", r.Canceled = "Canceled", r.HandledError = "HandledError", r))(u || {});
class g extends Error {
  constructor(i) {
    super(i), this.name = this.constructor.name, Error.captureStackTrace && Error.captureStackTrace(this, this.constructor);
  }
  /** Serializes the error to JSON format. */
  toJSON() {
    return {
      // eslint-disable-next-line @typescript-eslint/no-misused-spread
      ...this,
      userFacingSessionErrorMessage: this.userFacingSessionErrorMessage
    };
  }
}
var c = /* @__PURE__ */ ((r) => (r.RequirementsFirst = "requirements-first", r.DesignFirst = "design-first", r))(c || {}), a = /* @__PURE__ */ ((r) => (r.Feature = "feature", r.Bugfix = "bugfix", r))(a || {});
const f = {
  bugfix: {
    title: "Fix a Bug",
    description: "Fix something that's broken, crashing, or not working correctly"
  },
  feature: {
    title: "Build a Feature",
    description: "Implement new functionality or capabilities that don't exist yet"
  }
}, l = {
  "requirements-first": {
    title: "Requirements",
    description: "Begin by gathering and documenting requirements"
  },
  "design-first": {
    title: "Technical Design",
    description: "Begin with the technical design, then derive requirements from that design"
  }
}, x = {
  bugfix: {
    exact: ["fix a bug", "bugfix", "bug fix", "bug", "fix", "2"],
    partial: ["fix a bug", "bugfix", "bug fix"]
  },
  feature: {
    exact: ["build a feature", "new feature", "feature", "new", "1"],
    partial: ["build a feature", "feature"]
  }
}, h = {
  "requirements-first": {
    exact: ["requirements", "requirements doc", "requirements first", "1"],
    partial: ["requirements"]
  },
  "design-first": {
    exact: ["technical design", "technical design doc", "design", "design first", "2"],
    partial: ["design"]
  }
};
export {
  e as A,
  t as H,
  n as I,
  g as K,
  u as O,
  x as S,
  o as T,
  h as W,
  f as a,
  a as b,
  d as c,
  s as d,
  l as e,
  c as f
};
//# sourceMappingURL=shared-types-CIxCt9tj.js.map
