Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Exploring a Snug runtime adapter for ECA Desktop

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

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
12/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
clojure, html, sqlite
Lĩnh vực
ai, devtools

Hướng nghiên cứu

This is a proposal, not a defined task: the issue asks whether an optional Snug adapter belongs in ECA Desktop and where it should live. The payload names the chat/prompt and chat/contentReceived methods as the mapping targets, plus streaming, cancellation, tool disabling and sandbox boundaries. Start by reading the ECA protocol handlers for those methods, then decide with the maintainer whether the work is a design discussion. Done would mean an agreed adapter location and boundary plan, not code.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Hi Eric,

I'm building Snug, an independent project for portable HTML apps that use their host's agent and keep their code and data in a SQLite-backed .snug file.

I'd like to explore a small, optional app pane in ECA Desktop. Snug already has the sandboxed runner and storage; the ECA adapter is still a proposal.

The host would map Snug's AgentTransport onto chat/prompt and chat/contentReceived, including streaming, cancellation, errors and the structured JSON response Snug expects.

For a first pass, I'd disable all tools and exclude workspace context, including automatically added context. ECA's remembered approvals are now scoped to each chat and its subagents, but the runtime chat would still need explicit restrictions. Imported HTML and instructions would stay untrusted, with no direct network access or Electron bridge access. Those Desktop boundaries would need testing.

A quiz app could be the first test: paste text, generate questions through ECA, save progress, then reopen the .snug file in the Snug reference host. I haven't tested that round trip yet.

Does that seem like a useful starting point? Where would you want the adapter to live?

Ngôn ngữ chính
Clojure
Star
1k
Fork
82
Merge trung bình
3 ngày 39 phút
Pull request đã merge (30 ngày)
15

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 editor-code-assistant/eca

Tất cả issue của editor-code-assistant/eca

Issue tương tự

Thêm issue về Clojure

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.