From 88a71a026f2a55190a8a3b63d801a44a0aded1da Mon Sep 17 00:00:00 2001 From: Eric Wagoner Date: Thu, 27 Aug 2026 12:53:16 -0400 Subject: [PATCH] Update Claude Code config: Opus 5, Mantle, higher output cap - Point ANTHROPIC_MODEL at Opus 5; add Opus/Sonnet/Haiku family pins - Switch to Mantle (CLAUDE_CODE_USE_MANTLE) on us-east-1 - Raise CLAUDE_CODE_MAX_OUTPUT_TOKENS to 128k; note 1h prompt-cache opt-in - Move Jellyfish OTEL endpoint + bearer token into zshrc-natera.private (keeps the live credential out of git); document it in the .example --- zshrc-natera | 24 +++++++++++++++++++++--- zshrc-natera.private.example | 6 ++++++ 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/zshrc-natera b/zshrc-natera index 08f7ca0..37ff820 100644 --- a/zshrc-natera +++ b/zshrc-natera @@ -7,18 +7,36 @@ export PATH="$HOME/.local/bin:$PATH" # Claude Code (Bedrock) export CLAUDE_CODE_USE_BEDROCK=1 -export AWS_REGION=us-west-2 +# export AWS_REGION=us-west-2 export ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION=us-west-2 -export ANTHROPIC_MODEL=global.anthropic.claude-opus-4-6-v1 export ANTHROPIC_SMALL_FAST_MODEL=global.anthropic.claude-haiku-4-5-20251001-v1:0 export CLAUDE_CODE_ENABLE_TELEMETRY=1 -export CLAUDE_CODE_MAX_OUTPUT_TOKENS=32000 + +# Primary model (what Claude Code uses by default) +export ANTHROPIC_MODEL='us.anthropic.claude-opus-5' +# Family pins (used by /model and for subagents) +export ANTHROPIC_DEFAULT_OPUS_MODEL='us.anthropic.claude-opus-5[1m]' +export ANTHROPIC_DEFAULT_SONNET_MODEL='us.anthropic.claude-sonnet-5[1m]' +export ANTHROPIC_DEFAULT_HAIKU_MODEL='us.anthropic.claude-haiku-4-5-20251001-v1:0' + +export CLAUDE_CODE_USE_MANTLE=1 +export AWS_REGION=us-east-1 + +# Raise the default 64000 output cap (helpful on Opus 4.7) +export CLAUDE_CODE_MAX_OUTPUT_TOKENS=128000 +# Request a 1-hour prompt cache TTL instead of the 5-minute default. +# Good for long-lived sessions; writes are billed at a higher rate. +#export ENABLE_PROMPT_CACHING_1H=1 # OpenTelemetry (Natera staging) export OTEL_METRICS_EXPORTER=otlp export OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf export OTEL_RESOURCE_ATTRIBUTES="user.email=$USER@natera.com" +# Jellyfish AI reporting — endpoint + bearer token live in zshrc-natera.private +# (sourced last, so its protocol/endpoint overrides take effect). See the +# Jellyfish block in zshrc-natera.private.example for the shape. + # Project-specific aliases alias workbench='cd ~/work/rosalis' alias core='cd ~/work/yalp-core' diff --git a/zshrc-natera.private.example b/zshrc-natera.private.example index e71a6a5..3c2f83d 100644 --- a/zshrc-natera.private.example +++ b/zshrc-natera.private.example @@ -8,6 +8,12 @@ export AWS_PROFILE="YOUR_AWS_PROFILE_NAME" # OpenTelemetry endpoint (internal) export OTEL_EXPORTER_OTLP_ENDPOINT="http://YOUR_OTEL_ENDPOINT:4318" +# Jellyfish AI reporting (contains a live bearer token — keep out of git). +# Sourced after zshrc-natera, so these override the protocol/endpoint set there. +export OTEL_EXPORTER_OTLP_PROTOCOL=http/json +export OTEL_EXPORTER_OTLP_METRICS_ENDPOINT="https://app.jellyfish.co/ingest-webhooks/YOUR_JELLYFISH_PATH" +export OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer YOUR_JELLYFISH_TOKEN" + # Netskope TLS cert bundle path (Natera corp) export AWS_CA_BUNDLE=~/.aws/nskp_config/netskope-cert-bundle.pem export REQUESTS_CA_BUNDLE=~/.aws/nskp_config/netskope-cert-bundle.pem