Skip to content

fix: handle caller cwd and terminal startup probes#19

Merged
Tom-De-Santa-FOSS merged 2 commits intomasterfrom
feature/fix-session-cwd-and-yazi
Apr 5, 2026
Merged

fix: handle caller cwd and terminal startup probes#19
Tom-De-Santa-FOSS merged 2 commits intomasterfrom
feature/fix-session-cwd-and-yazi

Conversation

@Tom-De-Santa-FOSS
Copy link
Copy Markdown
Owner

Summary

  • default CLI and SDK session creation to the caller's current working directory so awn create <cmd> runs in the expected repo without requiring --dir
  • respond to startup DA1/DSR/CPR terminal probes inside sessions so apps like Yazi stop emitting terminal response timeout warnings during initialization
  • add regression tests covering cwd inheritance and terminal capability replies

Validation

  • go test ./...
  • black-box check: patched awn create lazygit opened the target repo directly from /tmp/awn-review/lazygit-repo
  • black-box check: patched awn create yazi /tmp/awn-review rendered without the previous TRT warning text

Tom-De-Santa-FOSS and others added 2 commits April 6, 2026 00:36
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
@Tom-De-Santa-FOSS Tom-De-Santa-FOSS merged commit 58da033 into master Apr 5, 2026
2 of 6 checks passed
@Tom-De-Santa-FOSS Tom-De-Santa-FOSS deleted the feature/fix-session-cwd-and-yazi branch April 5, 2026 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant