-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
auto-claude: 181-add-expand-button-for-long-task-descriptions #1653
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
c5e39df
1205444
7758873
ed27557
eebb871
ac05748
21d9be9
1fba473
27df274
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -173,5 +173,4 @@ OPUS_ANALYSIS_AND_IDEAS.md | |
| .security-key | ||
| /shared_docs | ||
| logs/security/ | ||
| Agents.md | ||
| packages/ | ||
| Agents.md | ||
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,7 +22,6 @@ | |
| """ | ||
|
|
||
| import logging | ||
| import os | ||
| from pathlib import Path | ||
|
|
||
| from agents.tools_pkg import get_agent_config, get_default_thinking_level | ||
|
|
@@ -73,26 +72,21 @@ def create_simple_client( | |
| Raises: | ||
| ValueError: If agent_type is not found in AGENT_CONFIGS | ||
| """ | ||
| # Get environment variables for SDK (including CLAUDE_CONFIG_DIR if set) | ||
| sdk_env = get_sdk_env_vars() | ||
|
|
||
| # Get the config dir for profile-specific credential lookup | ||
| # CLAUDE_CONFIG_DIR enables per-profile Keychain entries with SHA256-hashed service names | ||
| config_dir = sdk_env.get("CLAUDE_CONFIG_DIR") | ||
|
|
||
| # Get OAuth token - uses profile-specific Keychain lookup when config_dir is set | ||
| # This correctly reads from "Claude Code-credentials-{hash}" for non-default profiles | ||
| oauth_token = require_auth_token(config_dir) | ||
| # Get authentication | ||
| oauth_token = require_auth_token() | ||
|
|
||
| # Validate token is not encrypted before passing to SDK | ||
| # Encrypted tokens (enc:...) should have been decrypted by require_auth_token() | ||
| # If we still have an encrypted token here, it means decryption failed or was skipped | ||
| validate_token_not_encrypted(oauth_token) | ||
|
|
||
| # Ensure SDK can access it via its expected env var | ||
| # This is required because the SDK doesn't know about per-profile Keychain naming | ||
| import os | ||
|
||
|
|
||
| os.environ["CLAUDE_CODE_OAUTH_TOKEN"] = oauth_token | ||
|
|
||
| # Get environment variables for SDK | ||
| sdk_env = get_sdk_env_vars() | ||
|
|
||
| # Get agent configuration (raises ValueError if unknown type) | ||
| config = get_agent_config(agent_type) | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The removal of
packages/from the.gitignorefile is a significant change that could have unintended consequences, such as committing node modules or other dependencies into the repository. This change seems unrelated to the PR's goal of adding an expand button. Could you please clarify the reason for this change or revert it if it was unintentional?