@ycodium-ai/agent-claude 0.2.5921 → 0.2.5971
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -4
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import * as NodePath15 from "node:path";
|
|
|
3
3
|
import { definePlugin } from "@ycodium-ai/plugin-api";
|
|
4
4
|
|
|
5
5
|
// ../../packages/plugin-api/src/version.ts
|
|
6
|
-
var PLUGIN_API_VERSION =
|
|
6
|
+
var PLUGIN_API_VERSION = 191;
|
|
7
7
|
|
|
8
8
|
// src/index.ts
|
|
9
9
|
import {
|
|
@@ -26934,15 +26934,15 @@ function createClaudeTextGeneration(recipe, host, modelCatalog) {
|
|
|
26934
26934
|
const requestedModel = modelIdFromSelection(modelSelection) ?? "claude-haiku-4-5";
|
|
26935
26935
|
const caps = claudeModelCapabilities(requestedModel, modelCatalog(), recipe.customModels);
|
|
26936
26936
|
const rawEffort = modelSelectionStringOption2(modelSelection, "effort");
|
|
26937
|
-
const resolvedEffort = resolveClaudeEffort(caps, rawEffort);
|
|
26937
|
+
const resolvedEffort = resolveClaudeEffort(caps, rawEffort ?? "low");
|
|
26938
26938
|
const cliEffort = normalizeClaudeCliEffort(resolvedEffort);
|
|
26939
26939
|
const ultracode = isClaudeUltracodeEffort(resolvedEffort);
|
|
26940
26940
|
const thinking = getModelSelectionBooleanOptionValue(modelSelection, "thinking");
|
|
26941
26941
|
const fastMode = getModelSelectionBooleanOptionValue(modelSelection, "fastMode");
|
|
26942
26942
|
const settings = {
|
|
26943
|
-
// 元数据生成只需要传进去的 prompt:不跑用户配的 hook
|
|
26943
|
+
// 元数据生成只需要传进去的 prompt:不跑用户配的 hook,未显式开思考时关掉用户目录里的常驻思考。
|
|
26944
26944
|
disableAllHooks: true,
|
|
26945
|
-
|
|
26945
|
+
alwaysThinkingEnabled: typeof thinking === "boolean" ? thinking : false,
|
|
26946
26946
|
...fastMode ? { fastMode: true } : {},
|
|
26947
26947
|
...ultracode ? { ultracode: true } : {}
|
|
26948
26948
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ycodium-ai/agent-claude",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5971",
|
|
4
4
|
"description": "Claude executor: Claude Code CLI via @anthropic-ai/claude-agent-sdk.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ycodium",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"@types/node": "24.12.4",
|
|
25
25
|
"esbuild": "0.28.1",
|
|
26
26
|
"vite-plus": "0.2.2",
|
|
27
|
-
"@ycodium-ai/plugin-api": "0.2.5921",
|
|
28
27
|
"ycodium-executor-testing": "0.0.0",
|
|
28
|
+
"@ycodium-ai/plugin-api": "0.2.5971",
|
|
29
29
|
"ycodium-instance-config": "0.0.0",
|
|
30
30
|
"ycodium-text-generation": "0.0.0",
|
|
31
31
|
"ycodium-jsonl-stream": "0.0.0"
|