2-xdg-config-env #5

Merged
panda merged 5 commits from 2-xdg-config-env into main 2025-09-24 19:13:09 +08:00
Owner
No description provided.
Signed-off-by: Andrew Briscoe <admin@pandasportal.net>
Signed-off-by: Andrew Briscoe <admin@pandasportal.net>
- Fix broken conditional logic in environment variable sourcing that prevented
  TAI_ENV_FILE from working when set externally
- Add proper precedence hierarchy: TAI_ENV_FILE > --env-file > default
- Add error handling for non-existent environment files with clear messages
- Remove redundant sourcing logic in AISpeak() function

- Fix default environment file path to use $APP_CONFIG_DIR/.default.env
- Ensure APP_CONFIG_DIR exists before attempting to use default env file
- Add missing APP_DATA_DIR creation for complete XDG compliance
- Improve adherence to XDG Base Directory specification

Resolves environment sourcing issues and ensures proper directory structure
creation following Unix/Linux standards.

Signed-off-by: Andrew Briscoe <admin@pandasportal.net>
panda merged commit a87cccfae4 into main 2025-09-24 19:13:09 +08:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
panda/terminal-ai!5
No description provided.