mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-21 15:55:50 +00:00
feat: 添加服务层增强与零散改进
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -34,8 +34,8 @@ import typescriptClaudeApiToolUse from './claude-api/typescript/claude-api/tool-
|
||||
// - claude-api/SKILL.md (Current Models pricing table)
|
||||
// - claude-api/shared/models.md (full model catalog with legacy versions and alias mappings)
|
||||
export const SKILL_MODEL_VARS = {
|
||||
OPUS_ID: 'claude-opus-4-6',
|
||||
OPUS_NAME: 'Claude Opus 4.6',
|
||||
OPUS_ID: 'claude-opus-4-7',
|
||||
OPUS_NAME: 'Claude Opus 4.7',
|
||||
SONNET_ID: 'claude-sonnet-4-6',
|
||||
SONNET_NAME: 'Claude Sonnet 4.6',
|
||||
HAIKU_ID: 'claude-haiku-4-5',
|
||||
|
||||
@@ -243,7 +243,7 @@ export function registerLoremIpsumSkill(): void {
|
||||
argumentHint: '[token_count]',
|
||||
userInvocable: true,
|
||||
async getPromptForCommand(args) {
|
||||
const parsed = parseInt(args)
|
||||
const parsed = parseInt(args, 10)
|
||||
|
||||
if (args && (isNaN(parsed) || parsed <= 0)) {
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user