[package]
edition = "2024"
rust-version = "1.88.0"
name = "agentpack"
version = "0.9.1"
authors = ["liqiongyu <li@libiao.co>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AI-first local asset control plane for Codex/Claude tooling"
readme = "README.md"
keywords = [
"ai",
"cli",
"developer-tools",
"codex",
"claude",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT"
repository = "https://github.com/liqiongyu/agentpack"
[features]
default = [
"target-codex",
"target-claude-code",
"target-cursor",
"target-vscode",
"target-jetbrains",
"target-zed",
]
target-claude-code = []
target-codex = []
target-cursor = []
target-export-dir = []
target-jetbrains = []
target-vscode = []
target-zed = []
tui = [
"dep:crossterm",
"dep:ratatui",
]
[lib]
name = "agentpack"
path = "src/lib.rs"
[[bin]]
name = "agentpack"
path = "src/main.rs"
[[test]]
name = "cli_bootstrap_claude_skill"
path = "tests/cli_bootstrap_claude_skill.rs"
[[test]]
name = "cli_demo_5min_script"
path = "tests/cli_demo_5min_script.rs"
[[test]]
name = "cli_deploy_adopt_confirmation"
path = "tests/cli_deploy_adopt_confirmation.rs"
[[test]]
name = "cli_deploy_claude_skill"
path = "tests/cli_deploy_claude_skill.rs"
[[test]]
name = "cli_desired_state_conflict"
path = "tests/cli_desired_state_conflict.rs"
[[test]]
name = "cli_doctor_gitignore"
path = "tests/cli_doctor_gitignore.rs"
[[test]]
name = "cli_doctor_overlay_layout"
path = "tests/cli_doctor_overlay_layout.rs"
[[test]]
name = "cli_error_codes"
path = "tests/cli_error_codes.rs"
[[test]]
name = "cli_error_codes_doc_sync"
path = "tests/cli_error_codes_doc_sync.rs"
[[test]]
name = "cli_evolve_propose_creates_branch"
path = "tests/cli_evolve_propose_creates_branch.rs"
[[test]]
name = "cli_evolve_propose_git_repo_required"
path = "tests/cli_evolve_propose_git_repo_required.rs"
[[test]]
name = "cli_evolve_propose_git_worktree_dirty"
path = "tests/cli_evolve_propose_git_worktree_dirty.rs"
[[test]]
name = "cli_evolve_propose_marked_instructions"
path = "tests/cli_evolve_propose_marked_instructions.rs"
[[test]]
name = "cli_evolve_propose_skipped"
path = "tests/cli_evolve_propose_skipped.rs"
[[test]]
name = "cli_evolve_restore"
path = "tests/cli_evolve_restore.rs"
[[test]]
name = "cli_examples_minimal_repo"
path = "tests/cli_examples_minimal_repo.rs"
[[test]]
name = "cli_git_not_found"
path = "tests/cli_git_not_found.rs"
[[test]]
name = "cli_guardrails"
path = "tests/cli_guardrails.rs"
[[test]]
name = "cli_help_schema"
path = "tests/cli_help_schema.rs"
[[test]]
name = "cli_import"
path = "tests/cli_import.rs"
[[test]]
name = "cli_init_bootstrap"
path = "tests/cli_init_bootstrap.rs"
[[test]]
name = "cli_init_git"
path = "tests/cli_init_git.rs"
[[test]]
name = "cli_init_guided"
path = "tests/cli_init_guided.rs"
[[test]]
name = "cli_json_command_metadata"
path = "tests/cli_json_command_metadata.rs"
[[test]]
name = "cli_json_golden"
path = "tests/cli_json_golden.rs"
[[test]]
name = "cli_json_golden_core_commands"
path = "tests/cli_json_golden_core_commands.rs"
[[test]]
name = "cli_json_golden_policy"
path = "tests/cli_json_golden_policy.rs"
[[test]]
name = "cli_manifest_forward_compat"
path = "tests/cli_manifest_forward_compat.rs"
[[test]]
name = "cli_org_config_isolation"
path = "tests/cli_org_config_isolation.rs"
[[test]]
name = "cli_overlay_baseline_errors"
path = "tests/cli_overlay_baseline_errors.rs"
[[test]]
name = "cli_overlay_edit_patch_kind"
path = "tests/cli_overlay_edit_patch_kind.rs"
[[test]]
name = "cli_overlay_edit_windows_paths"
path = "tests/cli_overlay_edit_windows_paths.rs"
[[test]]
name = "cli_overlay_fs_key"
path = "tests/cli_overlay_fs_key.rs"
[[test]]
name = "cli_overlay_path"
path = "tests/cli_overlay_path.rs"
[[test]]
name = "cli_overlay_rebase_conflicts"
path = "tests/cli_overlay_rebase_conflicts.rs"
[[test]]
name = "cli_patch_overlay_rebase"
path = "tests/cli_patch_overlay_rebase.rs"
[[test]]
name = "cli_patch_overlays_apply"
path = "tests/cli_patch_overlays_apply.rs"
[[test]]
name = "cli_patch_overlays_doc_sync"
path = "tests/cli_patch_overlays_doc_sync.rs"
[[test]]
name = "cli_policy_audit"
path = "tests/cli_policy_audit.rs"
[[test]]
name = "cli_policy_lint"
path = "tests/cli_policy_lint.rs"
[[test]]
name = "cli_policy_lock"
path = "tests/cli_policy_lock.rs"
[[test]]
name = "cli_preview"
path = "tests/cli_preview.rs"
[[test]]
name = "cli_reference_markdown_generated"
path = "tests/cli_reference_markdown_generated.rs"
[[test]]
name = "cli_score_events_robustness"
path = "tests/cli_score_events_robustness.rs"
[[test]]
name = "cli_skill_frontmatter_validation"
path = "tests/cli_skill_frontmatter_validation.rs"
[[test]]
name = "cli_status_only"
path = "tests/cli_status_only.rs"
[[test]]
name = "cli_status_operator_assets"
path = "tests/cli_status_operator_assets.rs"
[[test]]
name = "cli_sync_git_detached_head"
path = "tests/cli_sync_git_detached_head.rs"
[[test]]
name = "cli_sync_git_remote_missing"
path = "tests/cli_sync_git_remote_missing.rs"
[[test]]
name = "cli_sync_git_repo_required"
path = "tests/cli_sync_git_repo_required.rs"
[[test]]
name = "cli_sync_git_worktree_dirty"
path = "tests/cli_sync_git_worktree_dirty.rs"
[[test]]
name = "cli_targets_doc_sync"
path = "tests/cli_targets_doc_sync.rs"
[[test]]
name = "cli_update"
path = "tests/cli_update.rs"
[[test]]
name = "conformance_targets"
path = "tests/conformance_targets.rs"
[[test]]
name = "conformance_windows_edge_cases"
path = "tests/conformance_windows_edge_cases.rs"
[[test]]
name = "core"
path = "tests/core.rs"
[[test]]
name = "deploy_insert_desired_file"
path = "tests/deploy_insert_desired_file.rs"
[[test]]
name = "docs_assets_exist"
path = "tests/docs_assets_exist.rs"
[[test]]
name = "docs_contract_version_stamps"
path = "tests/docs_contract_version_stamps.rs"
[[test]]
name = "docs_install_snippets_sync"
path = "tests/docs_install_snippets_sync.rs"
[[test]]
name = "docs_install_tag_sync"
path = "tests/docs_install_tag_sync.rs"
[[test]]
name = "docs_markdown_links"
path = "tests/docs_markdown_links.rs"
[[test]]
name = "fs_copy_tree_relative_filter"
path = "tests/fs_copy_tree_relative_filter.rs"
[[test]]
name = "git_shallow_fallback"
path = "tests/git_shallow_fallback.rs"
[[test]]
name = "journey_j1_from_scratch"
path = "tests/journey_j1_from_scratch.rs"
[[test]]
name = "journey_j2_import"
path = "tests/journey_j2_import.rs"
[[test]]
name = "journey_j3_adopt_update"
path = "tests/journey_j3_adopt_update.rs"
[[test]]
name = "journey_j4_overlay_rebase"
path = "tests/journey_j4_overlay_rebase.rs"
[[test]]
name = "journey_j5_patch_overlay"
path = "tests/journey_j5_patch_overlay.rs"
[[test]]
name = "journey_j6_sync"
path = "tests/journey_j6_sync.rs"
[[test]]
name = "journey_j7_cross_target"
path = "tests/journey_j7_cross_target.rs"
[[test]]
name = "journey_j8_mcp_confirm"
path = "tests/journey_j8_mcp_confirm.rs"
[[test]]
name = "journeys_smoke"
path = "tests/journeys_smoke.rs"
[[test]]
name = "lockfile_local_path"
path = "tests/lockfile_local_path.rs"
[[test]]
name = "mcp_server_stdio"
path = "tests/mcp_server_stdio.rs"
[[test]]
name = "mcp_server_stdio_mutating"
path = "tests/mcp_server_stdio_mutating.rs"
[[test]]
name = "store_module_fs_key"
path = "tests/store_module_fs_key.rs"
[[test]]
name = "toolchain_pins_sync"
path = "tests/toolchain_pins_sync.rs"
[[test]]
name = "tui_core"
path = "tests/tui_core.rs"
[[test]]
name = "tui_safe_apply"
path = "tests/tui_safe_apply.rs"
[dependencies.anyhow]
version = "1.0.100"
[dependencies.clap]
version = "4.5.49"
features = ["derive"]
[dependencies.clap_complete]
version = "4.5.65"
[dependencies.crossterm]
version = "0.29.0"
optional = true
[dependencies.dirs]
version = "6.0.0"
[dependencies.getrandom]
version = "0.3.4"
[dependencies.hex]
version = "0.4.3"
[dependencies.ratatui]
version = "0.30.0"
features = ["crossterm"]
optional = true
default-features = false
[dependencies.rmcp]
version = "0.14.0"
features = ["transport-io"]
[dependencies.schemars]
version = "1.0"
[dependencies.serde]
version = "1.0.218"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.143"
[dependencies.serde_yaml]
version = "0.9.34"
[dependencies.sha2]
version = "0.10.9"
[dependencies.similar]
version = "2.7.0"
[dependencies.tempfile]
version = "3.20.0"
[dependencies.time]
version = "0.3.45"
features = [
"formatting",
"macros",
]
[dependencies.tokio]
version = "1.43.0"
features = [
"rt",
"macros",
]
[dependencies.walkdir]
version = "2.5.0"
[dev-dependencies.assert_cmd]
version = "2.1.2"
[dev-dependencies.predicates]
version = "3.1.3"
[profile.dist]
lto = "thin"
inherits = "release"