Skip to main content

สัปดาห์ที่ 19 · 4–8 พฤษภาคม 2026

โหลด plugin จากไฟล์ .zip และ URL, ค้นหา command history ทุกโปรเจกต์ด้วย Ctrl+R, แตกกิ่ง worktree ใหม่จาก local HEAD หรือ remote default และบล็อกการกระทำอย่างไม่มีเงื่อนไขด้วย auto mode hard deny rule

Releases v2.1.128 → v2.1.1362 ฟีเจอร์ · 4–8 พฤษภาคม
Plugin จากไฟล์ .zip และ URL

--plugin-dir ตอนนี้รับ plugin archive .zip นอกจากไดเรกทอรี และ flag --plugin-url ใหม่ดึง plugin archive จาก URL สำหรับ session ปัจจุบัน มีประโยชน์สำหรับลอง plugin ก่อนเพิ่มลง marketplace หรือสำหรับส่ง internal plugin จาก artifact store

โหลด plugin ตรงจาก URL:

claude --plugin-url https://example.com/my-plugin.zip
คู่มือ Plugins
History search ทุกโปรเจกต์v2.1.129

Reverse-search Ctrl+R ตอนนี้เริ่มต้นด้วย prompt ทุกอย่างจากทุกโปรเจกต์ คืนสู่พฤติกรรมก่อน v2.1.124 กด Ctrl+S ขณะค้นหาเพื่อแคบลงกลับไปยังโปรเจกต์หรือ session ปัจจุบัน มีประโยชน์เมื่อคุณจำคำสั่งที่รันใน repo อื่นเมื่อสัปดาห์ที่แล้วและไม่ต้องการขุดหามัน

Interactive mode: command history

ชัยชนะอื่น ๆ

การตั้งค่า worktree.baseRef ใหม่ (fresh | head) ควบคุมว่า --worktree, tool EnterWorktree และ agent-isolation worktree จะแตกกิ่งจาก remote default branch หรือ local HEAD ค่าเริ่มต้น fresh เก็บ commit ที่ยังไม่ push ออกจาก worktree ใหม่
Rule settings.autoMode.hard_deny ใหม่บล็อกการกระทำที่ตรงกันอย่างไม่มีเงื่อนไขใน auto mode ไม่ว่าจะมี allow exception ใดก็ตาม สำหรับการกระทำที่ไม่ควรรันอัตโนมัติแม้จะมี allow rule ที่กว้างกว่า
Hook ตอนนี้รับระดับ effort ที่ใช้งานอยู่ผ่าน field JSON effort.level และ env var $CLAUDE_EFFORT และคำสั่ง Bash tool สามารถอ่าน $CLAUDE_EFFORT
CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN=1 opt out จาก fullscreen alternate-screen renderer และเก็บการสนทนาไว้ใน native scrollback ของ terminal
CLAUDE_CODE_PACKAGE_MANAGER_AUTO_UPDATE ให้การติดตั้ง Homebrew หรือ WinGet รัน upgrade เบื้องหลังและแจ้งให้ restart
CLAUDE_CODE_SESSION_ID ตอนนี้อยู่ใน env ของ Bash tool subprocess ตรงกับ session_id ที่ส่งไปยัง hook
/mcp ตอนนี้แสดงจำนวน tool สำหรับ server ที่เชื่อมต่อและ flag server ที่เชื่อมต่อด้วย 0 tool
--channels ตอนนี้ทำงานกับการยืนยันตัวตนแบบ console (API key)
Subprocess เช่น Bash, hook, MCP และ LSP ไม่รับ env var OTEL_* อีกต่อไป ดังนั้น app ที่ instrument ด้วย OTEL ที่รันผ่าน Bash tool จะไม่รับ OTLP endpoint ของ CLI เอง
สรุป progress ของ sub-agent ตอนนี้ hit prompt cache ลดต้นทุน token cache_creation ประมาณ 3x
การแก้ไข OAuth และ credential ที่น่าเชื่อถือหลายรายการ: parallel session ไม่ dead-end ที่ 401 หลัง refresh-token race อีกต่อไป, MCP OAuth refresh token ไม่สูญหายเมื่อหลาย server refresh พร้อมกัน และ login loop ที่เกิดขึ้นไม่บ่อยจาก concurrent credential write ได้รับการแก้ไข
admin key parentSettingsBehavior ใหม่ให้ admin opt SDK managedSettings เข้าสู่ policy merge

Changelog ฉบับเต็มสำหรับ v2.1.128–v2.1.136 →