Implement ExecutionEnvironment trait for fcctl-core

Đang mở
#666 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@AlexMikhalev đang làm issue này rồi.

Từ ngày 11/3/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

dependencies enhancement

Summary

Implement ExecutionEnvironment trait as required by terraphim_rlm crate.

Context

PR #426 (feat(rlm): RLM orchestration with MCP tools) requires the fcctl-core crate to provide an ExecutionEnvironment trait that VmManager can implement.

Requirements

The trait should define methods for:

  • execute_code(&self, code: &str, ctx: &ExecutionContext) -> Result<ExecutionResult, Error>
  • execute_command(&self, cmd: &str, ctx: &ExecutionContext) -> Result<ExecutionResult, Error>
  • create_snapshot(&self, session_id: &SessionId, name: &str) -> Result<SnapshotId, Error>
  • restore_snapshot(&self, id: &SnapshotId) -> Result<(), Error>
  • list_snapshots(&self, session_id: &SessionId) -> Result<Vec<SnapshotId>, Error>
  • delete_snapshot(&self, id: &SnapshotId) -> Result<(), Error>
  • delete_session_snapshots(&self, session_id: &SessionId) -> Result<(), Error>
  • capabilities(&self) -> &[Capability]
  • backend_type(&self) -> BackendType
  • health_check(&self) -> Result<bool, Error>
  • cleanup(&self) -> Result<(), Error>

Related

Blocked by: #664 (Create fcctl-core crate)

Ngôn ngữ chính
Rust
Star
62
Fork
5
Merge trung bình
2 giờ 27 phút
Pull request đã merge (30 ngày)
1

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của terraphim/terraphim-ai

Tất cả issue của terraphim/terraphim-ai

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.