Error when trying to run sandbox example?
メンテナーはふだん 1 日以内に返信
@dgageot がすでに取り組んでいます。
2026年10月21日 から。
評価
調査の方向性
examples/sandbox_agent.yamlから始めて、docker-agentがサンドボックスの一覧をどのように読み込み、sbx ls --jsonの出力にどのような形式を期待しているかを追ってください。報告に記載されたバージョンとコマンドで再現し、返された配列を期待されるオブジェクト{ sandboxes: [] }と比較してください。報告されたエラーがドキュメントに記載されたコマンドで解消されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Good day,
Apologies in advance, this is most likely a user-error, but I'm not sure where else to get assistance with this. When trying to run the sandbox_agent.yaml from the examples folder, I'm getting the error: Error: decoding sandbox list: json: cannot unmarshal array into Go value of type struct { Sandboxes []sandbox.Existing "json:\"sandboxes\"" }.
It looks like docker-agent is expecting the json in format { sandboxes: [] } but running sbx ls --json returns only the array without the sandboxes "wrapper".
Additional Information:
- docker-agent v1.151.0 (Homebrew)
- sbx version v0.49.1 c5b19951af121b439800029695f88bf1139a0b0b
- command run:
docker-agent run ./examples/sandbox_agent.yaml
Any ideas where i could be going wrong? Thank you!
- 主要言語
- Go
- スター
- 4.6k
- フォーク
- 522
- 平均マージ
- 8時間 43分
- マージ済み PR(30日)
- 239
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
docker/docker-agent のほかの issue
-
pkg/hooks tests fail with a misleading assertion when jq is not installed対応中かも @dwin-gharibi が 59 日前に担当しました。 オープンarea/testing
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
docker/docker-agent#4052 ·
メンテナーはふだん 1 日以内に返信
-
`remove_directory` and `create_directory` hide work they already did when a later path fails対応中かも @dwin-gharibi が 77 日前に担当しました。 オープンarea/tools
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
docker/docker-agent#3933 ·
メンテナーはふだん 1 日以内に返信
-
`edit_file` silently edits the first match when `oldText` occurs more than once対応中かも @dwin-gharibi が 77 日前に担当しました。 オープンarea/tools
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
docker/docker-agent#3929 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
[Flaky test] TestA2AServer_MultipleRequests対応中かも @aheritier が 1 日前に担当しました。 オープンarea/a2a area/testing flaky-test
docker/docker-agent#4687 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
fix(runtime): prune and persist the tool DeferralTracker対応中かも @aheritier が 1 日前に担当しました。 オープンarea/runtime area/sessions
docker/docker-agent#4685 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
docker/docker-agent の issue をすべて見る
似ている issue
-
confirmed enhancement go
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
DennisVlaanderen/aerendil#154 ·
メンテナーはふだん 1 日以内に返信
-
Generated README and SKILL omit HTTP-transport security settings and what local data the CLI keepsオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
mvanhorn/cli-printing-press#5181 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 83/100
Adyen/agent-marketplace#922 ·
メンテナーはふだん 1 日以内に返信
-
filer.remote.sync writes the S3 bucket-owner index (<buckets>/.system/owners/...) to remote storageオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信