Add document artifacts to the Python package

Đang mở
#472 0 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
67/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
backend

Hướng nghiên cứu

Start after posit-dev/commons#404 merges, since the R package design may still change. Read the shared fixtures tests/shared/artifact-scan.json and tests/shared/artifact-edit.json, then follow the existing Python fixture runners and tool registration; update tests/shared/tool-registration.json when edit_artifact is registered. Done when Python supports both artifact fixtures and the shared skill text works for both packages.

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

Mô tả

enhancement py

Add document artifacts (posit-dev/commons#71) to the Python package. The R package adds them in posit-dev/commons#404, and the design may still change there, so start after it merges.

Starting points (agent-written)
  • The shared fixtures tests/shared/artifact-scan.json and tests/shared/artifact-edit.json have no Python runner yet. Add one for each.
  • tests/shared/tool-registration.json lists edit_artifact under pending_tools. Remove it from that list once Python registers the tool.
  • prompts/skills/artifacts/SKILL.md refers to "R cells" and "a fresh R session". Both packages ship this file, so the text needs to work for Python too.
  • Python's load_skill only offers the artifacts skill when edit_artifact is registered, so the skill appears in Python automatically once the tool exists.
  • The front-end files in www/commons-chat/ (commons-artifact.js and the two CSS files) already ship in both packages.
Ngôn ngữ chính
Python
Star
69
Fork
5
Merge trung bình
5 ngày 3 giờ
Pull request đã merge (30 ngày)
33

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 posit-dev/commons

Tất cả issue của posit-dev/commons

Issue tương tự

Thêm issue về Python

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.