Bundled from: https://github.com/trotsky1997/pi-coding-agent-python-sdk.git
Commit:       6d9608abbf5ad9c1121a29b98a83124d0f91d8d6
Tag:          v0.4.0
Bundled date: 2026-05-20
Package:      pi-coding-agent-python-sdk
Import name:  pi_coding_agent
Repo pyproject version: version = "0.4.0"
PyPI release:           0.4.0 (auto-published via .github/workflows/publish.yml)

Note: 0.4.0 makes Pydantic the source of truth for HCP. Every
      HarnessConfig.from_dict / from_toml call validates input
      through HarnessConfigModel (pi_coding_agent.harness_schema).
      The typed view is reachable as config.model. JSON Schema
      artifact bundled at schemas/harness-config.schema.json and
      exposed via pi_coding_agent.harness_config_json_schema().

      Per-section models: RunSection, JsSection, EnvSection,
      AuthSection, ModelSection (+ ModelCompatSection), ToolsSection,
      ExtensionsSection, SkillsSection, PromptsSection, ThemesSection,
      ResourcesSection (+ EmbeddedResourceEntry), WorkspaceSection
      (+ WorkspaceEntryModel, WorkspaceOutputModel), McpSection,
      SessionSection (+ SessionSnapshotInline). All accept snake_case
      and camelCase via validation_alias, and tolerate unknown
      forward-compatible keys via extra="allow".

      ValidationError raised by Pydantic is wrapped as ValueError so
      existing call sites that catch one error type keep working.
