Repository navigation
- Core:
v0.15.0→v0.16.0(main source06894bff5015e43e4b7e07b5ff078bd487f46080)
日本語
Core
-
シェルの待機と出力の読み取り(#379):
shell_endedは Run 所有の実行だけでなく、同じ Thread に属するスケジュールやサービスの実行も確認できます。出力のローテーションでカーソルが無効になった場合は、shell readをカーソルなしで再開し、oldest_sequenceと保持範囲を確認してください。失われたバイトは復元されません。shell_outputで待機した後は読み取って得た新しいカーソルを次の待機条件に渡します。--afterに渡す待機カーソルはthread_settled用です。CLI ヘルプやガイドでこの違い、依存関係によって待機がタイムアウトし得ること、ドットを含む設定名の引用方法を明確にしました。 -
スケジュール、サービス、保留入力(#380): owner が終了を受け付けた後は、開始前の予約済みスケジュールやサービスも起動しません。開始前のキャンセルは
owner_shutdownとして記録され、サービスの無効化や失敗通知を引き起こしません。期限を過ぎた無効な一回限りのスケジュールはschedule enableがinvalid_stateを返し、無効のままです。新しい時刻にはschedule addを使います。直近の実行は時計が巻き戻っても登録順で選ばれます。remaining_heldは再試行で解放できる保留入力だけを数えます。TUI の使われていない状態フッターを削除し、コンパクション表示は維持しました。 -
状態と Thread の一覧(#381): 既定の
statusは終了済みの履歴を走査せず、未完了の作業を索引から読みます。--allや終了状態での絞り込みは、引き続き一致するキーを走査します。ページの指紋は正規化した条件と返された永続行を表し、読み取り時のシェル観測や他ページは含みません。thread list --stateは最大200候補と続きの確認用1件を読み、結果が空でもnext_cursorがあれば同じ条件で続けられます。一覧の保留返信総数と Thread 宛て件数は16まで正確で、17と対応する exact フラグのfalseは「17以上」です。 -
履歴の読み取り(#381):
history windowは1ノードあたり保存元JSONを最大1 MiBまで読み、元データを読まないときのpayload_charsはnullになり得ます。直接の実行リンクは最大8件で、execution_count_exact: falseの件数は下限です。history listの件数の意味は変更していません。history getはincomplete_responseとmodel_stream_observationの保存済みJSONをUTF-8境界で範囲読み取りします。通常のデコード済み本文と要約の parts はこの最適化の対象外です。 -
Thread 検索・抜粋(#381): 更新順の検索・タグ・cwd・状態の絞り込みも最大200候補と先読み1件です。空ページでも
next_cursorがあれば同じ条件で続け、タグの指定順は問いません。抜粋は選択履歴の最新32ノードまでを調べ、未調査の古い履歴が残るときはexcerpt_complete: falseで区別します。 -
購入済み埋め込みと RAG(#383): 通常の同期・期限切れ・回収で検索対象から外れても、保存済みベクトルは明示的に削除するまで保持します。同一テキストと同一プロファイルなら再索引時に再利用でき、検索時も同じ接続条件ならクエリ埋め込みを共有します。重複した正規パスの新規登録を拒否し、同期停止後に未検証の旧版を返す検索結果は
staleと表示します。保持ベクトルの論理バイト総量は一覧の打ち切りに左右されません。 -
IPC と添付準備(#384): IPC 応答の書き込みと応答後の切断待ちに既存の期限を適用します。受理済みの操作は取り消しません。添付は本文を読む前に参照単位で raw バイトを予約し、保護対象を守りながら古い未保護添付から除外します。Base64 や JSON を含む総メモリの上限ではありません。
-
接続診断(#386): DNS・到達不能・接続・TLS・プロキシ CONNECT など観測できた原因を値を伏せて表示し、先にネットワークや VPN の確認を案内します。
connection testは既定でモデル一覧の GET のみです。明示した--post-model MODELは再試行なしの有料の合成会話 POST を追加し、結果をconversationに分けて返します。 -
秘密と診断(#388): 採用された追加 HTTP ヘッダーの値も失敗診断で秘匿し、失敗・中断時の診断を保存前に処理します。会話として採用できる出力、既存履歴、損失のないエクスポートは書き換えません。Windows では資格情報と JSONL 一時ファイルを非公開に作成し、資格情報の ACL が広い、または確認できないときは警告します。Unix では開いた資格情報ファイルの所有者や権限に問題があれば
config getで通知し、自動修正や読み取り拒否はしません。シェルの生出力やクラッシュログは共有前に確認してください。 -
添付の再送(#382): 再送では元の添付位置を維持します。ファイルが変わったり利用できなくなったりすると、その時点の内容や状態を反映します。添付の採用済み通知は現在の配信を示すものではありません。
-
保留中の Revisit と入力(#391): Run の完了を待つ Revisit が、現在の Turn に届く後続の入力を妨げなくなりました。
-
Agent Guide(#379): 操作の順に構成し、返信義務と待機の確認手順を見つけやすくしました。
-
Windows(#392): ローカルにリダイレクトされた NTFS フォルダーは利用でき、ネットワーク上のデータディレクトリは明示的に拒否します。共有違反は待たずに
io_failed/file_in_useとして案内します。シェル起動時の実効 PATH と UTF-8 パイプも改善しました。 -
要求の重複を削減(#393): 設定が変わらない Turn では設定行を再送せず、新しいライフサイクル通知、受付記録、返信の通知を短くします。保存済み履歴や16 Turn の文脈範囲は変わりません。
-
Run の要求回数上限(#399): 新しい Run には
message send --max-model-requests Nで上限を設定できます。再試行と Run に属する自動要約も数えます。料金の上限ではありません。実行中の Run がある場合は、新しい上限を指定した送信は拒否されます。 -
モデル障害(#400): 認証・要求の拒否・通信失敗を区別し、
statusなどで診断と次の確認先を案内します。 -
自動コンパクション(#301): DB の受付枠が埋まっている場合は、受理済みの処理を繰り返さず、拒否された取得段階だけを待機して再試行します。実際の受付拒否は一時的な
database_queue_fullとして区別されます。 -
内部整理(#395): 未使用の内部処理と保存項目を整理しました。利用者向けの操作や設定は変わりません。
-
移行と起動(#397、#398): 対象が宣言された移行は、その範囲の外部キーを検査します。owner に接続できないとき、
shellboy statusのerror.details.last_startup_stageは最後に記録された段階を示す場合があります。稼働中であることや残り時間は示さず、異常終了後は古い情報が残ることがあります。 -
対処案(#400): 保留入力、再起動が必要な変更、スキップされた指示、起動・ストレージの問題、シェル起動や添付の問題について、診断と次の操作を区別して案内します。操作は自動で再実行されません。
-
実行中のシェルと Turn(#402):
shell background --execution IDはプロセスや標準入力を止めずに前景待機を解除します。turn interrupt --turn TURNは指定の Turn を中断しますが Run 自体は停止しません。受付応答は完了を示さないため、shell getやturn getで確認してください。 -
出力のストリーム範囲(#405):
shell read --execution ID --segmentsは、返されたテキスト内のstdout/stderrの範囲を UTF-8 バイト位置で返します。終了位置は範囲に含まれません。既定の応答、カーソル、生バイトの計数、モデル向けの抜粋は変更しません。
アップグレード
- DB: 更新前にデータディレクトリ全体をバックアップしてください。owner DB は 62 → 65。
0063_thread_reply_summaryと0064_thread_cwd_partitions(#381)は索引を追加し、保存本文は変更しません。0065_run_request_ceilingは Run の上限と予約済み回数の列を追加します。独立 RAG DB は 4 → 5(#383)。古い DB はrag initで更新できます。埋め込み API は呼び出しません。読み取り専用操作は自動更新しません。 #397 では、対象が宣言された移行の外部キー検査をその範囲に限定します。 - プロトコル: 18 → 26。19 は返信件数・状態一覧、20 は履歴ウィンドウ、21 は Thread 検索・抜粋と接続診断、22 は資格情報ファイルの警告、23 は Run の要求回数上限とモデル障害、24 はシェルと Turn の操作、25 は追加の診断と対処案、26 はシェル出力のストリーム範囲です。owner、CLI、RPC クライアントは同じプロトコルのものに揃えてください。旧
statusと旧状態フィルター用thread listのカーソルは使えないため、カーソルなしで読み直してください。 - CLI・設定:
connection test --post-model MODEL、message send --max-model-requests N、shell background --execution ID、turn interrupt --turn TURN、およびshell read --execution ID --segmentsのオプションを追加。コマンド・既存フラグ・設定キーの削除や改名、新規設定キーはありません。Unix のconfig getに値を含まないcredentials_file.warningが追加されます。wait --afterとconfig set --setの構文は変更していません。 - ロールバック: 逆マイグレーションはありません。旧版に戻す場合は、更新前の owner DB と独立 RAG DB のバックアップを使ってください。回収済みのシェル出力は読み直しても戻りません。
English
Core
-
Shell waits and output (#379):
shell_endedcan observe a saved schedule or service execution attached to a Thread, not just Run-owned work. If output rotation invalidates a cursor, restartshell readwithout it and checkoldest_sequenceand the retained offsets; missing bytes cannot be recovered. After ashell_outputwait, put the new read cursor in the next condition, not in--after; the wait cursor in--afteris forthread_settled. Help and guides clarify wait dependencies and show how to quote dotted config names. -
Schedules, services, and held input (#380): After the owner accepts shutdown, even reserved schedule and service launches cannot pass the start gate. A pre-launch cancellation is recorded as
owner_shutdownwithout disabling the service or sending a service failure notice.schedule enablereturnsinvalid_statefor an expired disabled one-shot and leaves it disabled; useschedule addfor a new time. The latest execution follows insertion order even if the clock rolls back.remaining_heldcounts only input eligible for release on retry. The TUI drops an obsolete activity footer and retains real compaction activity. -
Status and Thread lists (#381): Default
statusreads pending work through indexes instead of scanning terminal history;--alland terminal-state filters still walk matching keys. The page fingerprint covers normalized filters and returned durable rows, not other pages or read-time shell observations.thread list --statescans up to 200 candidates plus a lookahead. An empty page withnext_cursorcan be continued with unchanged filters. Total and Thread-directed pending replies are exact through 16; 17 with the corresponding exactness flag false means at least 17. -
History reads (#381):
history windowreads at most 1 MiB of saved source JSON per node;payload_charsmay be null when source is not loaded. It returns up to eight direct execution links per node; a count withexecution_count_exact: falseis a lower bound.history listcount semantics are unchanged.history getnow reads saved JSON byte ranges forincomplete_responseandmodel_stream_observation, ending pages on UTF-8 boundaries. Ordinary decoded text and summary parts are not on that byte-range path. -
Thread search and excerpts (#381): Updated-order query, tag, cwd and state filters scan up to 200 candidates plus one lookahead. Continue even an empty page if it has
next_cursor, using unchanged filters. Tag order no longer matters. Excerpts look back at most 32 selected nodes;excerpt_complete: falsemeans older nodes remain unexamined. -
Paid embeddings and RAG (#383): Ordinary sync, expiry and collection may remove data from search but retain saved vectors until explicit removal. Reindexing identical text under the same profile can reuse vectors; queries can share an embedding across scopes with the same provider request identity. New duplicate canonical roots are refused, and search marks unverified older revisions
staleafter a paused sync. Retained logical vector bytes are counted even if the space list is truncated. -
IPC and attachment preparation (#384): IPC reply writes and the wait for disconnect after a reply use the existing deadline without cancelling accepted operations. Attachment preparation reserves raw bytes per reference before reading content and excludes the oldest unprotected references first. This is not a cap on total Base64 or JSON memory.
-
Connection diagnostics (#386): Reports available DNS, reachability, connection, TLS and proxy CONNECT causes without secret values, and suggests checking the network or VPN first. By default
connection testonly sends the model-catalog GET. Explicit--post-model MODELadds one paid synthetic conversation POST with no retries and reports it separately inconversation. -
Secrets and diagnostics (#388): Adopted extra HTTP header values are also protected in failure diagnostics, and failed/interrupted diagnostics are scrubbed before storage. Adoptable conversation output, existing history, and lossless exports are not rewritten. Windows creates private credential and JSONL temporary files and warns if a credential ACL is broad or cannot be verified. On Unix,
config getwarns about unexpected credential-file ownership or broad modes without changing permissions or refusing reads. Inspect raw shell output and crash logs before sharing. -
Attachment replay (#382): Resent attachments keep their original positions. Changed or unavailable files are reflected at the next preparation. A replayed notice is not proof of current delivery.
-
Held Revisit input (#391): A Revisit waiting for Run completion no longer blocks later input to the active Turn.
-
Agent Guide (#379): Reorganized around common operations, with clearer instructions for finding owed replies and waiting on work.
-
Windows (#392): The owner accepts locally redirected NTFS folders and explicitly refuses network data directories. Sharing violations report
io_failed/file_in_usewithout waiting for the lock. Shell launch reports the effective PATH and uses UTF-8 pipes. -
Less repeated request metadata (#393): Unchanged settings are not re-emitted each Turn. New lifecycle records, admission records and reply reminders are shorter. Saved history and the 16-Turn context window are unchanged.
-
Run request ceiling (#399): Use
message send --max-model-requests Nwhen starting a new Run. Retries and Run-owned automatic summaries count; this is not a spending limit. A send that supplies a ceiling is rejected when a Run is already active. -
Model failures (#400): Saved recovery distinguishes authentication, rejected requests, and failed requests.
statuscan show diagnostic evidence and a next action. -
Automatic compaction (#301): When database admission is full, automatic compaction backs off and retries only the refused capture stage, not work already accepted. An actual admission refusal is distinguishable as transient
database_queue_full. -
Internal cleanup (#395): Removed unused implementation paths and stopped persisting unused fields. No user-facing command or configuration change.
-
Migration and startup (#397, #398): Migrations with a declared scope check foreign keys in that scope. When the owner is unreachable,
shellboy statusmay includeerror.details.last_startup_stage. It is the last observed stage, not liveness or an ETA, and may remain stale after an unclean exit. -
Next actions (#400): Held input, restart-required changes, skipped instructions, startup and storage problems, shell launch and attachment failures now distinguish diagnostic evidence from a next action. Shellboy does not automatically rerun the operation.
-
Shell and Turn intervention (#402):
shell background --execution IDreleases the foreground wait without stopping the process or closing stdin.turn interrupt --turn TURNtargets only the given Turn, not its Run. An acknowledgment is not completion; confirm withshell getorturn get. -
Shell stream ranges (#405):
shell read --execution ID --segmentsincludesstdout/stderrranges within the returned text as half-open UTF-8 byte ranges. Default output, read cursors, raw-byte accounting and model-visible excerpts are unchanged.
Upgrade notes
- Database: Back up the entire data directory before upgrading. Owner SQLite schema 62 → 65.
0063_thread_reply_summaryand0064_thread_cwd_partitions(#381) add indexes without rewriting saved bodies.0065_run_request_ceilingadds Run ceiling and reservation-count columns. Standalone RAG schema 4 → 5 (#383); upgrade an old store withrag init, which makes no embedding request. Read-only operations do not migrate it. With #397, migrations with a declared scope validate foreign keys within that scope. - Protocol: 18 → 26. Version 19 covers reply counts and state paging, 20 history windows, 21 Thread search/excerpts and connection diagnostics, 22 the credential-file warning, 23 the Run request ceiling and model-failure diagnostics, 24 shell and Turn intervention, 25 additional diagnostic hints and advisories, and 26 opt-in shell stream ranges. Upgrade owner, CLI and RPC clients together. Old
statuscursors and old state-filteredthread listcursors expire; restart those reads without a cursor. - CLI and configuration: Adds
connection test --post-model MODEL,message send --max-model-requests N,shell background --execution ID,turn interrupt --turn TURN, and the--segmentsoption toshell read --execution ID. No command, existing flag or config key was removed or renamed, and no config key was added.config getadds the value-freecredentials_file.warningfield for the Unix advisory. Thewait --afterandconfig set --setsyntax is unchanged. - Rollback: No reverse migrations. To use an older release, restore pre-upgrade backups of the owner and standalone RAG databases. Rereading cannot recover reclaimed shell output bytes.
Full Changelog: v0.15.0...v0.16.0
Publication build run: 45393773170 (no candidate reused)
Commit: 46212b5
SHA256SUMS:
bfbf8768c0c3690521c0fb2e9096bbb7ed3eba1140392ce05ece05edd47c8c94 install.ps1
7d08ded3faf13f0b9eb7532bff27b2842d342eef20176eff6f467dff0d6e7dec install.sh
d04167d5a39a36b1b5f2bd4db6224b97a0e4698f454a22cf41772ab928787d46 shellboy-v0.16.0-aarch64-apple-darwin.tar.gz
47a294b427dbd414321b0efde573299f9828c9837199822ee111c1e0c5c3055a shellboy-v0.16.0-x86_64-pc-windows-msvc.zip
e75fedfa42122ba737607ef7afaa73d66551e1d09274afcc45ef246296c14805 shellboy-v0.16.0-x86_64-unknown-linux-gnu.tar.gz