Opt-in inactivity expiry for local device claims
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- cli, node.js, typescript
調査の方向性
Look at the local device ownership and session management code, likely around the daemon and device claim logic. Review issues #1320 and #2162 for context on the design and existing --stale release command. The new environment variable AGENT_DEVICE_SESSION_IDLE_TIMEOUT_MS needs to be integrated to track command activity and trigger session closure, similar to proxy lease expiry. Check how sessions are currently closed and claims released.
索引モデルが issue の本文から書いたものです。
説明
Describe the feature
An opt-in idle timeout for local sessions, off by default. For example, AGENT_DEVICE_SESSION_IDLE_TIMEOUT_MS. When a session gets no commands for that long, the daemon closes it the normal way and releases its device claim.
Motivation
Several AI agents share one computer and a few devices. Agents often finish without running close, so their claims stay live until the daemon stops. Other agents then get DEVICE_IN_USE and can't tell an active session from an abandoned one.
We know #1320 made "never reclaim a live owner because it looks inactive" a deliberate rule, and that's a good default. We're asking for this only as an opt-in for machines shared by agents. Proxy leases already expire after 5 minutes without commands, so this would bring the same behavior to local devices.
Related Issues
- #1320: local device ownership design, including the inactivity non-goal
- #2162: added
device release --stale, without--force
Written by Claude Opus 5.5
Hope you guys take AI issues 😆
Thanks!
- 主要言語
- TypeScript
- スター
- 4.7k
- フォーク
- 304
- 平均マージ
- 11時間 46分
- マージ済み PR(30日)
- 496
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
callstack/agent-device のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
callstack/agent-device#2842 ·
-
docs(ios-runner): RUNNER_PROTOCOL.md points at the wrong file and omits recovery and busy codes オープンdocumentation good first issue ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
callstack/agent-device#2797 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
callstack/agent-device#1869 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
callstack/agent-device#2856 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
callstack/agent-device#2853 ·
callstack/agent-device の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
mksglu/context-mode#1200 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
jaegertracing/jaeger-ui#4506 ·
-
area:desktop area:ui bug platform:macos
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
anthropics/claude-code#96687 ·
-
good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
AOSSIE-Org/DebateAI#582 · コメント 2 件 ·