a more agentic sibling to `btw_app()`

オープン
#148 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
r

調査の方向性

まず、既存の btw_app() インターフェースと issue に記載された side::kick() の動作を読み、その後、ellmer と shinychat が btw とどのように統合されているかを比較します。完了の条件は、兄弟 API を決定し、よりエージェント的な動作、セットアップフロー、ツールの承認について対象範囲に合意することです。

索引モデルが issue の本文から書いたものです。

説明

Just jotting some notes down from an internal conversation. tl;dr: btw_app() should have a sibling with a more agentic, "Claude Code Dupe" feel.

As of now, side::kick() is a separate package implementing something like this Claude Code Dupe idea:

  • It has a run_r_code() and bash() tool that are registered automatically and, in most cases, do not require approval.
  • It has more direct prompting about poise and feel that tell it to "just do stuff and say as little as possible."
  • There's no setup flow other than installing the package--the app can discover providers and register them in a persistent way.

That said, side::kick() is quite scrappy and does all sorts of naughty namespacing tricks to make things happen. Because of this, 1) ellmer and shinychat and btw do not benefit when something gets implemented in side::kick(), and 2) side::kick() doesn't benefit when ellmer and shinychat and btw do things the right way.

These issues could be resolved by a sibling to btw_app() that is less configurable and more agentic, e.g. btw::btw_agent() or btw::sidekick() or otherwise. btw_app() can remain a more tailored-to-fit / safe interface to the suite of tools that btw provides.

主要言語
R
スター
150
フォーク
13
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

posit-dev/btw のほかの issue

posit-dev/btw の issue をすべて見る

似ている issue

R の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。