Skip to content

refactor(crates): move agentshell and cli-credential under src/crates/libs#49

Merged
GCWing merged 1 commit into
mainfrom
refactor/libs-agentshell-cli-credential
May 12, 2026
Merged

refactor(crates): move agentshell and cli-credential under src/crates/libs#49
GCWing merged 1 commit into
mainfrom
refactor/libs-agentshell-cli-credential

Conversation

@GCWing
Copy link
Copy Markdown
Owner

@GCWing GCWing commented May 12, 2026

Summary

This change consolidates shared helper crates under src/crates/libs/:

  • agentshell is moved from src/crates/lib/agentshell to src/crates/libs/agentshell; workspace members and the agentshell workspace dependency path are updated.
  • cli-credential is a new workspace crate; CLI credential discovery logic previously under core's infrastructure/cli_credentials lives there. bitfun-core and desktop code reference the cli_credential crate directly; the desktop crate adds a path dependency only where Tauri commands need credential DTO types.

Verification

  • cargo check -p bitfun-core -p bitfun-desktop

…libs

- Relocate agentshell from src/crates/lib to src/crates/libs and update workspace members.

- Extract CLI credential discovery from core into the cli-credential crate; core and desktop import the cli_credential crate directly (desktop adds a path dependency for command DTOs).
@GCWing GCWing force-pushed the refactor/libs-agentshell-cli-credential branch from 738d975 to fe5b386 Compare May 12, 2026 14:57
@GCWing GCWing merged commit 2acc52a into main May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant