Release an agent-device session without closing the running app

Aperta
#119 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
ios, swift
Ambito
devtools

Direzione di ricerca

Start with the device_close behaviour and the shipped Claude skill that tells the agent to close sessions after a task; the payload names no source files, so locate the session lease and close logic first. Done means a detach path that leaves the simulator and running app intact, plus skill docs explaining when to detach versus close the app. Related work in #101 shows lease blocking, so read that thread before changing anything.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

What happened

Claude opened a device control session to rotate an already-running iOS app in the T3 Code demo. The agent reported that ending its control session closed the app, so it relaunched the app. The simulator itself stayed on.

device_close is documented to close the session's active app. Omitting shutdown keeps the simulator running. The shipped Claude skill tells the agent to close the session after a task and mentions that the device stays running, but leaves out that the app closes. Keeping the session open can leave a lease that blocks another workflow, as shown by #101.

Expected behavior

Allow the agent to release control while keeping the running app, its foreground state, and the simulator available. Document when to detach and when to close the app intentionally.

Lingua principale
C++
Stelle
243
Fork
21
Merge medio
15h 6m
PR unite (30g)
57

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di callstackincubator/codex-mobile-dev-plugin

Tutte le issue di callstackincubator/codex-mobile-dev-plugin

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.