Expand description
gf core library.
Provides domain types, error handling, and core business logic.
Re-exports§
pub use auth_checker::AuthCheckResult;pub use auth_checker::AuthChecker;pub use cli_error::PlatformCliError;pub use compatibility::PlatformCompat;pub use compatibility::platform_compatibility;pub use compatibility::platform_requirement;pub use doctor::CheckItem;pub use doctor::CheckStatus;pub use doctor::DoctorReport;pub use doctor::DoctorSummary;pub use doctor::HealthCheck;pub use output::CliError;pub use output::CliOutput;pub use output::PaginationMeta;pub use paging::DEFAULT_LIST_LIMIT;pub use paging::FetchStrategy;pub use paging::Paged;pub use paging::fetch_capped;pub use auth::AuthStatus;pub use auth::HostAuthStatus;pub use commit::CommitData;pub use commit::CommitDetail;pub use commit::CommitFile;pub use label::CreateLabelArgs;pub use label::CreateMilestoneArgs;pub use label::LabelData;pub use label::MilestoneData;pub use release::CreateReleaseArgs;pub use release::ReleaseData;pub use review::ReviewCommentData;pub use review::ReviewData;pub use review::ReviewState;pub use session::Session;pub use types::CommentData;pub use types::MergeResult;pub use types::MergeStrategy;
Modules§
- auth
- 认证领域类型与平台抽象。
- auth_
checker - 认证检查器 trait 和类型定义。
- cleanup
- PR cleanup domain types and service.
- cli_
error - 统一的底层平台 CLI 错误类型。
- commit
- Commit resource types with platform abstraction.
- compatibility
- 兼容性矩阵数据。
- decision
- Provider-independent typed decision requests and validated answers.
- doctor
- Environment diagnostic types and traits for
gf doctor. - evaluation
- Versioned, provider-independent offline decision evaluation.
- git_ops
- Git operations for branch and worktree management.
- issue
- Issue 领域类型与平台抽象。
- issue_
quality - Optional, read-only semantic precheck for one Issue’s requirement quality.
- label
- Label and Milestone resource types with platform abstraction.
- output
- CLI output types for uniform JSON serialization.
- paging
- 列表分页原语。
- pipeline
- Pipeline (CI/CD) 领域类型与平台抽象。
- pipeline_
failure - Bounded, provider-neutral CI failure classification and root-cause advice.
- platform
- Platform detection for remote Git repositories.
- pr
- Pull Request 领域类型与平台抽象。
- pr_
precheck - Read-only, bounded PR review precheck with optional typed decisions.
- query_
filter - Provider-neutral, bounded typed filters compiled from read-only query text.
- release
- Release 领域类型与平台抽象。
- review
- Review 领域类型与平台抽象。
- semantic_
regression - Offline, provider-neutral semantic regression oracle after deterministic assertions.
- session
- Shared session context for adapter operations.
- skill_
suggestion - Provider-neutral, read-only routing to known gf skills.
- toon
- TOON (Token-Oriented Object Notation) output support.
- types
- Shared domain types for gf.
- workflow_
context - Derived, read-only workflow context manifests.
- workflow_
progress - Read-only workflow progress assessment from bounded structured events.
- workflow_
recommendation - Read-only workflow mode advice with deterministic policy as the authority.
- workflow_
semantic - Bounded, advisory semantic checks at workflow phase boundaries.
Structs§
- Config
- Example domain struct demonstrating CLAUDE.md conventions.
- Path
Error - A path validation error.
- Safe
Path - A validated, safe filesystem path.
Enums§
- Core
Error - Application error type.
- Path
Error Kind - The kind of path validation error.
Type Aliases§
- Result
- Core result type alias.