Skip to content

Add Claude profile env, model, and effort controls#180

Merged
SDSLeon merged 1 commit into
masterfrom
lightcode/sharp-otter-0f930086
Jun 15, 2026
Merged

Add Claude profile env, model, and effort controls#180
SDSLeon merged 1 commit into
masterfrom
lightcode/sharp-otter-0f930086

Conversation

@SDSLeon

@SDSLeon SDSLeon commented Jun 15, 2026

Copy link
Copy Markdown
Owner
  • Feature/refactor: wire the settings shell into a dedicated Claude profile editor for per-profile env vars, custom models, and effort allow-lists, with a GLM preset and secret masking.
  • Persist Claude profile env edits through a new main-side IPC path, sealing sensitive values before settings.json is written and keeping renderer secret handling crypto-free.
  • Teach Claude launches, probes, and capability detection to merge profile env overrides, preserve CLAUDE_CONFIG_DIR, and honor profile-specific models and effort tiers.
  • Consolidate Claude effort tiers into a shared source of truth and update tests around secret round-tripping and profile model parsing.

- Add settings UI/model for encrypted env rows and profile-specific model presets
- Persist Claude profile environment updates via IPC and shared settings files
- Merge profile env into Claude spawns and share effort tiers/capabilities
@vercel

vercel Bot commented Jun 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
lightcode-landing Skipped Skipped Jun 15, 2026 9:47am

@SDSLeon SDSLeon merged commit 0cb3827 into master Jun 15, 2026
6 checks passed
@SDSLeon SDSLeon deleted the lightcode/sharp-otter-0f930086 branch June 15, 2026 09:52

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d9e0d9ff0b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

if (!id || seen.has(id)) continue;
seen.add(id);
const label = row.label.trim();
cleaned.push(label.length > 0 ? { id, label } : { id });

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Validate custom model rows before saving

When a user adds more than 50 custom models, or enters a model id/label longer than claudeProfileInstanceConfigSchema allows, this helper still returns the full list and the save path persists it. The next parseClaudeProfileInstanceConfig then rejects the profile, causing the editor to render nothing and the supervisor to skip that Claude profile until the settings file is manually fixed. Please clamp or validate these rows before persisting them.

Useful? React with 👍 / 👎.

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