// src/wu-lifecycle-sync/constants.ts
var WU_LIFECYCLE_COMMANDS = {
  CREATE: "wu:create",
  CLAIM: "wu:claim",
  DONE: "wu:done"
};
var WU_LIFECYCLE_EVENT_KINDS = {
  CREATE: "task_created",
  CLAIM: "task_claimed",
  DONE: "task_completed"
};
var WU_LIFECYCLE_SYNC_SKIPPED_REASONS = {
  WORKSPACE_CONFIG_MISSING: "workspace-config-missing",
  WORKSPACE_CONFIG_INVALID: "workspace-config-invalid",
  WORKSPACE_ID_MISSING: "workspace-id-missing",
  CONTROL_PLANE_NOT_CONFIGURED: "control-plane-not-configured",
  CONTROL_PLANE_INVALID: "control-plane-invalid",
  CONTROL_PLANE_SDK_UNAVAILABLE: "control-plane-sdk-unavailable",
  MISSING_TOKEN_ENV: "missing-token-env",
  NO_EVENTS: "no-events",
  NO_EVENTS_ACCEPTED: "no-events-accepted",
  PUSH_FAILED: "push-failed"
};
var WU_LIFECYCLE_SYNC_RESULT_DEFAULTS = {
  SENT: false,
  ACCEPTED: 0
};
var WU_LIFECYCLE_SYNC_CONFIG = {
  CONTROL_PLANE_FIELD: "control_plane",
  WORKSPACE_ID_FIELD: "id",
  TEXT_ENCODING_UTF8: "utf-8"
};
var WU_LIFECYCLE_SYNC_LOG_PREFIX = "[wu-lifecycle-sync]";
var WU_LIFECYCLE_EVENT_SCHEMA_VERSION = 1;
var WU_LIFECYCLE_CLAIM_DEFAULTS = {
  ACTOR: "wu-claim-cli",
  SESSION_ID: "wu-claim-session"
};
var WU_LIFECYCLE_SPEC_HASH = {
  ALGORITHM: "sha256",
  DIGEST_ENCODING: "hex",
  HEX_256_REGEX: /^[a-f0-9]{64}$/
};

export {
  WU_LIFECYCLE_COMMANDS,
  WU_LIFECYCLE_EVENT_KINDS,
  WU_LIFECYCLE_SYNC_SKIPPED_REASONS,
  WU_LIFECYCLE_SYNC_RESULT_DEFAULTS,
  WU_LIFECYCLE_SYNC_CONFIG,
  WU_LIFECYCLE_SYNC_LOG_PREFIX,
  WU_LIFECYCLE_EVENT_SCHEMA_VERSION,
  WU_LIFECYCLE_CLAIM_DEFAULTS,
  WU_LIFECYCLE_SPEC_HASH
};
