يمكن أن يكون النموذج ملكًا لأي أحد. أما الوكيل فينبغي أن يكون ملكًا لك.
Codewhale وكيل برمجة مفتوح المصدر يعمل في الطرفية لديك، ومكتوب بلغة Rust. يعمل مع أي نموذج، ويستطيع توزيع مهمة واحدة على عدة وكلاء، وكل سطر فيه متاح لك لتقرأه.
curl -fsSL https://codewhale.net/install.sh | sh
الإصدار 0.10.2 منشور، ولا يحتاج إلى حساب.اقرأ الشيفرة
▎ Add a --json flag to ls.py so the tests pass, then run the tests. ⢀⠤⠤⡀ ⢩⠋⡏⠉ ° ⠘ ⠘ ° ° ˚ ⠠⠓⠭⠒ ⠨⠒⠭⠒ ⠪⠪⠕⠂ ⠐⠕⠭⠒ · ⠱⠪⠕⠂ · ⠱⠪⠕⠂ ⠠⠓⠭⠒ ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮│❯ Type a follow-up… ││ [·] │╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ ● ask · files: workspace (unenforced) work (Tab) Work bar (Ctrl+]) Model set to: scripted-demo scripted_local · scripted-demo context 5% cost: unknown (billing basis unknown)
▎ Add a --json flag to ls.py so the tests ▏ pass, then run the tests. ⢀⠤⠤⡀ ⢩⠋⡏⠉ ⠘ ⠘ ° ˚ ⠐⠕⠭⠒ ⠈⠖⠭⠒ ⠜⠪⠕⠂ ╭──────────────────────────────────────────────╮│❯ Type a follow-up… ││ [·] │╰──────────────────────────────────────────────╯ ● ask · files: workspace (unenforced) work scripted-demo context 5%
▎ Add a --json flag to ls.py so the tests pass, then run the tests. ✓ ◆ patch done · Updated ls.py · +4 -0 │ --- a/ls.py │ +++ b/ls.py │ @@ -1,8 +1,12 @@ ┃ 1 + import json ┃ 1 2 import sys ┃ 2 3 ┃ 3 4 NAMES = ["alpha", "beta"] ┃ 4 5 ┃ 5 6 def main(): ┃ 7 + if "--json" in sys.argv: ┃ 8 + print(json.dumps(NAMES)) ┃ 9 + return ┃ 6 10 for n in NAMES: ┃ 7 11 print(n) ┃ ▏ +1 diff lines · Alt+V:change ┃● $ python3 -m unittest -q · waiting for approval ┃──────────────────────────────────────────────────────────────────────────────────────────────────── Runs a command Run `python3 -m unittest -q` Command: python3 -m unittest -q Save: always ask first run python3 -m unittest -q Do you want to proceed? [1 / y] Allow once [2 / a] Allow for this conversation ❯ [3 / d / n] Don't allow (Enter) [Esc] Stop this turn Pg↑/↓ review · Alt+V details · Esc stop · s allow now, and always ask before this again
▎ Add a --json flag to ls.py so the tests ┃▏ pass, then run the tests. ┃ ┃ ┃ ┃✓ ▷ read done · Reading ls.py ┃✓ ◆ patch done · Updated ls.py · +4 -0 ┃ --- a/ls.py ┃ +++ b/ls.py ┃ @@ -1,8 +1,12 @@ ┃ 1 + import json ┃ 1 2 import sys ┃ 2 3 ┃ 3 4 NAMES = ["alpha", "beta"] │ 4 5 ╭─╮│ 5 6 def main(): │↓││ 7 + if "--json" in sys.argv: ╰─╯│──────────────────────────────────────────────── Runs a command Run `python3 -m unittest -q` Command: python3 -m unittest -q Save: always ask first run python3 -m unittest -q Do you want to proceed? [1 / y] Allow once [2 / a] Allow for this conversation ❯ [3 / d / n] Don't allow (Enter) [Esc] Stop this turn Pg↑/↓ review · Alt+V details · Esc stop · s allow now, and always ask before this again
▎ Add a --json flag to ls.py so the tests pass, then run the tests. ✓ ◆ patch done · Updated ls.py · +4 -0 │ --- a/ls.py │ +++ b/ls.py │ @@ -1,8 +1,12 @@ ┃ 1 + import json ┃ 1 2 import sys ┃ 2 3 ┃ 3 4 NAMES = ["alpha", "beta"] ┃ 4 5 ┃ 5 6 def main(): ┃ 7 + if "--json" in sys.argv: ┃ 8 + print(json.dumps(NAMES)) ┃ 9 + return ┃ 6 10 for n in NAMES: ┃ 7 11 print(n) ┃ ▏ +1 diff lines · Alt+V:change ┃● $ python3 -m unittest -q · waiting for approval ┃──────────────────────────────────────────────────────────────────────────────────────────────────── Runs a command Run `python3 -m unittest -q` Command: python3 -m unittest -q Save: always ask first run python3 -m unittest -q Do you want to proceed? [1 / y] Allow once [2 / a] Allow for this conversation ❯ [3 / d / n] Don't allow (Enter) [Esc] Stop this turn Pg↑/↓ review · Alt+V details · Esc stop · s allow now, and always ask before this again
▎ Add a --json flag to ls.py so the tests pass… --- a/ls.py │ +++ b/ls.py │ @@ -1,8 +1,12 @@ │ 1 + import json │ 1 2 import sys ┃ 2 3 ┃ 3 4 NAMES = ["alpha", "beta"] ┃ 4 5 ┃ 5 6 def main(): ┃ 7 + if "--json" in sys.argv: ┃ 8 + print(json.dumps(NAMES)) ┃ 9 + return ┃ 6 10 for n in NAMES: ┃ 7 11 print(n) ┃ ▏ +1 diff lines · Alt+V:change ┃● $ python3 -m unit... · waiting for approval ┃──────────────────────────────────────────────── Runs a command Run `python3 -m unittest -q` Command: python3 -m unittest -q Save: always ask first run python3 -m unittest -q Do you want to proceed? [1 / y] Allow once [2 / a] Allow for this conversation ❯ [3 / d / n] Don't allow (Enter) [Esc] Stop this turn Pg↑/↓ review · Alt+V details · Esc stop · s allow now, and always ask before this again
▎ Add a --json flag to ls.py so the tests pass, then run the tests. +++ b/ls.py │ @@ -1,8 +1,12 @@ │ 1 + import json │ 1 2 import sys │ 2 3 │ 3 4 NAMES = ["alpha", "beta"] ┃ 4 5 ┃ 5 6 def main(): ┃ 7 + if "--json" in sys.argv: ┃ 8 + print(json.dumps(NAMES)) ┃ 9 + return ┃ 6 10 for n in NAMES: ┃ 7 11 print(n) ┃ ▏ +1 diff lines · Alt+V:change ┃✓ $ python3 -m unittest -q ┃ ▏ ---------------------------------------------------------------------- ┃ ▏ Ran 2 tests in 0.018s ┃ ▏ OK ┃ ┃ ┃● Added --json to ls.py and ran the tests: both pass. ┃▏ ┃▏ This session uses a scripted local model, not a real provider. ┃╭──────────────────────────────────────────────────────────────────────────────────────────────────╮│❯ Type a message… ││ [·] │╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ ● ask · files: workspace (unenforced) Shift+Tab to change work (Tab) Work bar (Ctrl+]) scripted_local · scripted-demo context 5% cost: unknown (billing basis unknown) ttft 397ms
▎ Add a --json flag to ls.py so the tests pass… 1 2 import sys │ 2 3 │ 3 4 NAMES = ["alpha", "beta"] │ 4 5 │ 5 6 def main(): │ 7 + if "--json" in sys.argv: │ 8 + print(json.dumps(NAMES)) │ 9 + return ┃ 6 10 for n in NAMES: ┃ 7 11 print(n) ┃ ▏ +1 diff lines · Alt+V:change ┃✓ $ python3 -m unittest -q ┃ ▏ ----------------------------------- ┃ ▏ ----------------------------------- ┃ ▏ Ran 2 tests in 0.018s ┃ ▏ OK ┃ ┃ ┃● Added --json to ls.py and ran the tests: ┃▏ both pass. ┃▏ ┃▏ This session uses a scripted local model, ┃▏ not a real provider. ┃╭──────────────────────────────────────────────╮│❯ Type a message… ││ [·] │╰──────────────────────────────────────────────╯ ● ask · files: workspace (unenforced) work scripted-demo context 5%
جلسة طرفية حقيقية: نُفِّذت التعديلات والاختبارات فعلًا، والنموذج عرض توضيحي مكتوب بنص مسبق.
تعرض لقطتا «الطلب» و«النتيجة» اسم النموذج وإعداد Ask.
يمكن لأي نموذج أن يعمل عبر وكيلك.
استخدم مزوّدًا مدمجًا، أو أي نقطة نهاية متوافقة مع OpenAI، أو نموذجًا على جهازك، وبدّل النماذج بين الأدوار. يعمل Codewhale في مستودعك دون حساب، ويتيح لك codewhale web العمل معه في متصفحك على جهازك.
┌ Custom provider ───────────────────────────────────┐ │OpenAI-compatible endpoint. Store an env var name, │ │ Name: scripted_local │ │ Base URL: http://127.0.0.1:8089/v1 │ │▸ Default model: scripted-demo │ │ API key env: optional │ │ │ │ │ │ │ │ │ │ Tab/↑↓ field Enter next/save Esc back │ └────────────────────────────────────────────────────┘
┌ Custom provider ───────────────────────────┐ │OpenAI-compatible endpoint. Store an env var│ │ Name: scripted_local │ │ Base URL: http://127.0.0.1:8089/v1 │ │▸ Default model: scripted-demo │ │ API key env: optional │ │ │ │ │ │ │ │ │ │ Tab/↑↓ field Enter next/save Esc back │ └────────────────────────────────────────────┘
وكيلك مسؤول أمامك.
أنت من يقرر ما يجوز لـ Codewhale فعله دون أن يسأل، ويمكن تشغيل أوامره داخل صندوق عزل على macOS وLinux. تترك كل جلسة إيصالًا بالملفات التي غيّرها والأوامر التي نفذها ومن وافق على كل خطوة.
▎ Add a --json flag to ls.py so the tests pass, then r… ▏ │▏ Changed 1 file · ran 1 command · 1 approved by │▏ you · 1 ran without asking under Ask │▏ │▏ 1. wrote ls.py │▏ 2. ran python3 -m unittest -q · approved by you │▏ │▏ Not recorded: │▏ - Exit codes: calls that saved no structured │▏ result (terminal sessions) show pass or fail, │▏ not the exit code. │▏ - Files changed outside file tools come from the │▏ workspace snapshots taken before and after each │▏ turn, so they include anything that wrote to │▏ the workspace during the turn, not only │▏ Codewhale. They leave out what snapshots do not ┃▏ track: ignored and skipped paths (.gitignore ┃▏ entries, .env, node_modules, target, and the ┃▏ like) and anything outside the workspace. ┃▏ - Line counts: some file changes have no saved ┃▏ diff, so their +/- counts are not recorded. ┃▏ - Timestamps: a terminal session saves calls in ┃▏ order, not when each one ran. ┃╭──────────────────────────────────────────────────────╮│❯ Type a message… ││ [·] │╰──────────────────────────────────────────────────────╯ ● ask · files: workspace (unenforced) work (Tab) scripted-demo context 5%
Note Receipt: Add a --json flag to ls.py so ┃▏ the tests pass, t... ┃▏ ──────────────────────────────────────── ┃▏ ┃▏ session ┃▏ cb7d3cbd-c380-4a36-8db2-9fa5ed22027b · ┃▏ /home/dev/proj · scripted-demo · Ask ┃▏ ┃▏ Changed 1 file · ran 1 command · 1 ┃▏ approved by you · 1 ran without asking ┃▏ under Ask ┃▏ ┃▏ 1. wrote ls.py ┃▏ 2. ran python3 -m unittest -q · approved ┃▏ by you ┃▏ ┃▏ Not recorded: ┃▏ - Exit codes: calls that saved no ┃▏ structured result (terminal sessions) ┃▏ show pass or fail, not the exit code. ┃▏ - Files changed outside file tools come ┃▏ from the workspace snapshots taken ┃▏ before and after each turn, so they ┃▏ include anything that wrote to the ┃▏ workspace during the turn, not only ┃▏ Codewhale. They leave out what ┃▏ snapshots do not track: ignored and ┃▏ skipped paths (.gitignore entries, ┃▏ .env, node_modules, target, and the ┃▏ like) and anything outside the ┃▏ workspace. ┃▏ - Line counts: some file changes have no ┃▏ saved diff, so their +/- counts are not ┃▏ recorded. ┃▏ - Timestamps: a terminal session saves ┃▏ calls in order, not when each one ran. ┃╭──────────────────────────────────────────────╮│❯ Type a message… ││ [·] │╰──────────────────────────────────────────────╯ ● ask · files: workspace (unenforced) work scripted-demo context 5%
إلى هنا يتجه وكيلك.
يتحول Codewhale إلى بيئة واحدة تمتد عبر طرفيتك وتطبيق سطح المكتب والمتصفح وحواسيب السحابة، يديرها كلها محرك واحد، ليتنقل عملك بينها ويبقى ملكًا لك. يبيّن كل جزء أدناه أين يقف اليوم.
- محرك واحد
- تطبيق الطرفية منشور ثبّته على macOS أو Linux أو Windows وشغّل
codewhaleفي أي مستودع. - عميل المتصفح المحلي منشور شغّل
codewhale webلقراءة المحادثة وإرسال مهمة والرد على طلبات الموافقة في متصفحك؛ يأتي مع الطرفية ولا يحتاج إلى حساب. - عدة وكلاء على مهمة واحدة منشور الوكلاء الفرعيون وFleet وسير العمل تتيح لعدة وكلاء تقاسم مهمة واحدة، لكل منهم دوره.
- تطبيق سطح المكتب قيد التطوير، دون تنزيل نبني تطبيقًا لسطح المكتب على المحرك نفسه، وليس له تنزيل عام بعد.
- حواسيب السحابة بالدعوة فقط حواسيب السحابة بالدعوة فقط، ونحن نبنيها لتتمكن الجلسة من مواصلة العمل على جهاز في السحابة.
- جلسة واحدة عبرها كلها قيد البناء نبني جلسة واحدة ترافقك من الطرفية إلى سطح المكتب والمتصفح والسحابة، وتبقى ملكًا لك طوال الطريق.
محرك واحد
- تطبيق الطرفيةمنشورثبّته على macOS أو Linux أو Windows وشغّل
codewhaleفي أي مستودع. - عميل المتصفح المحليمنشورشغّل
codewhale webلقراءة المحادثة وإرسال مهمة والرد على طلبات الموافقة في متصفحك؛ يأتي مع الطرفية ولا يحتاج إلى حساب. - عدة وكلاء على مهمة واحدةمنشورالوكلاء الفرعيون وFleet وسير العمل تتيح لعدة وكلاء تقاسم مهمة واحدة، لكل منهم دوره.
- تطبيق سطح المكتبقيد التطوير، دون تنزيلنبني تطبيقًا لسطح المكتب على المحرك نفسه، وليس له تنزيل عام بعد.
- حواسيب السحابةبالدعوة فقطحواسيب السحابة بالدعوة فقط، ونحن نبنيها لتتمكن الجلسة من مواصلة العمل على جهاز في السحابة.
- جلسة واحدة عبرها كلهاقيد البناءنبني جلسة واحدة ترافقك من الطرفية إلى سطح المكتب والمتصفح والسحابة، وتبقى ملكًا لك طوال الطريق.
يبني Codewhale في العلن الأشخاص الذين يستخدمونه.
بدأ أداة طرفية مفتوحة المصدر لنموذج واحد، وصار مشروعًا يبنيه معًا مئات الأشخاص بلغات كثيرة. يمكنك قراءة شيفرته أو تغييرها أو أن تطلب منه أن يشرح نفسه.
433مساهمًا
20 حسابًا على GitHub دُمجت لها طلبات دمج خلال آخر 30 يومًا. اعتبارًا من 11/11/2026
luochen211chore: remove unreferenced code and stale dead_code allows
SamhandsomeLeefeat: drive Responses behavior from a dialect profile
Lstarsky0fix(tui): attach every line range when one file is mentioned twice
zhuowpfeat(transport): allow an optional host policy on model HTTP clients
gaordfix(engine): stop reporting provider timeouts as "after 0ns"
asto18089feat(tasks): pause the task wall clock for answerable human waits
SparkofSpikefix(net): go direct when a local proxy disappears
Felixkw12feat(providers): add Opper as a bundled descriptor row
اجعل وكيلك ملكًا لك اليوم.
ثبّت Codewhale وشغّله في مستودع بمفتاح نموذج لديك بالفعل أو بنموذج على حاسوبك. لا تحتاج إلى حساب، وcodewhale update يبقيه محدّثًا.
curl -fsSL https://codewhale.net/install.sh | sh
الإصدار 0.10.2 منشور، ولا يحتاج إلى حساب.اقرأ الشيفرة