Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dk19y
Copy link
Contributor

@dk19y dk19y commented Oct 29, 2025

Centralize environment variable access through new module with semantic wrapper functions.

@dk19y dk19y force-pushed the refactor/centralize-env-var-access branch 16 times, most recently from 1fb5bda to 9675194 Compare October 30, 2025 19:15
@dk19y dk19y requested a review from brandonskiser October 30, 2025 20:18
@dk19y dk19y force-pushed the refactor/centralize-env-var-access branch from 9675194 to 094603e Compare October 30, 2025 22:42
@dk19y dk19y force-pushed the refactor/centralize-env-var-access branch from f99ba28 to 08d9739 Compare October 30, 2025 22:57
@dk19y dk19y force-pushed the refactor/centralize-env-var-access branch from 7da6a82 to d9f8445 Compare October 30, 2025 23:51
}

fn supports_truecolor(os: &Os) -> bool {
fn supports_truecolor() -> bool {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is os being removed from this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

os is being removed as its we rely on env vars util method now

@dk19y dk19y merged commit 8ff6db8 into main Oct 31, 2025
15 checks passed
@dk19y dk19y deleted the refactor/centralize-env-var-access branch October 31, 2025 00:10
dk19y added a commit that referenced this pull request Nov 4, 2025
* Revert "feat: Updates models to match latest, including endpoint resolver (#3262)" (#3288)

This reverts commit 884b27f.

* chore: bump version to 1.19.2

* fix: racing condition on conduit when printing (#3308)

* chore: version bump to 1.19.3 (#3310)

* refactor: migrate from directories to hierarchical paths module (#3309)

- Replace directories module with new paths module using PathResolver pattern
- Add workspace and global path scopes with clear separation of concerns
- Implement static path methods to avoid circular dependencies in Database/Settings
- Centralize all path constants and patterns in dedicated modules

This refactoring improves path management consistency and provides a cleaner,
more maintainable architecture for handling file system paths throughout
the application.

* Add auth login failure telemetry for cli (#3317)

* add auth login failure telemetry

* fix: expand ~ in prompt file:// URIs (#3301)

* Refactor /Usage into smaller modules (#3324)

Co-authored-by: Akhilesh Bontala <[email protected]>

* feat: add agent crate (#3150)

* refactor: centralize environment variable access (#3315)

* Shim layer for env variable access

* feat: warn when duplicate agents are found during load (#3335)

* Upgrade delegate with better UX for notifications and change the file dependence. (#3337)

* chore: move RTS code from agent crate to chat-cli (#3340)

* fix: block dangerous patterns for tool calls (#3313)

* first commit

* disallowed dangerous patterns as a first priority for executing tools

* recovered hooks help

* got rid of removeme

* got rid of space

* refactored requires_acceptance to ensure correct ordering of safeguards and allowed commands

* formatted for cargo again

* chore: remove duplicate and unused API code from the agent crate (#3342)

* Revert "feat: rebrand paths from .aws/amazonq/ and .amazonq/ to .kiro-cli/"

This reverts commit 44dad82.

* Revert "feat: rebrand environment variables from Q_/AMAZON_Q_ to KIRO_"

This reverts commit 49cbe8e.

---------

Co-authored-by: Brandon Kiser <[email protected]>
Co-authored-by: Brandon Kiser <[email protected]>
Co-authored-by: Felix Ding <[email protected]>
Co-authored-by: abhraina-aws <[email protected]>
Co-authored-by: Jonathan Little <[email protected]>
Co-authored-by: Akhilesh Bontala <[email protected]>
Co-authored-by: Akhilesh Bontala <[email protected]>
Co-authored-by: ekang7 <[email protected]>
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.

2 participants