@ycodium-ai/agent-claude 0.2.5557 → 0.2.5634

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.
Files changed (2) hide show
  1. package/dist/index.js +169 -127
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -3,16 +3,37 @@ import * as NodePath21 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 = 175;
6
+ var PLUGIN_API_VERSION = 178;
7
7
 
8
8
  // src/index.ts
9
9
  import {
10
- EXECUTOR_EFFECTIVE_PAYLOAD_SCHEMA,
10
+ EXECUTOR_EFFECTIVE_PAYLOAD_SCHEMA as EXECUTOR_EFFECTIVE_PAYLOAD_SCHEMA2,
11
11
  executorEnvironmentValue,
12
- executorHomeEffectiveValue,
13
- readExecutorEffectiveRequest
12
+ executorHomeEffectiveValue as executorHomeEffectiveValue2,
13
+ readExecutorEffectiveRequest as readExecutorEffectiveRequest2
14
14
  } from "@ycodium-ai/plugin-api/executor";
15
15
 
16
+ // ../../packages/ycodium-instance-config/src/programHomeSchema.ts
17
+ var executorEnvelopeFields = {
18
+ enabled: { type: "boolean" },
19
+ customModels: { type: "array" },
20
+ driver: { type: "string" },
21
+ config: { type: "object" },
22
+ environment: { type: "array" }
23
+ };
24
+ function executorProgramField(name, options = {}) {
25
+ return {
26
+ type: "string",
27
+ "x-ycodium-form": {
28
+ titleKey: `form.${name}.title`,
29
+ ...options.description === false ? {} : { descriptionKey: `form.${name}.description` },
30
+ ...options.placeholder === false ? {} : { placeholderKey: `form.${name}.placeholder` },
31
+ ...name === "binaryPath" ? { control: options.control ?? "executable-path" } : {},
32
+ ...name === "homePath" || options.machineLocal ? { machineLocal: true } : {}
33
+ }
34
+ };
35
+ }
36
+
16
37
  // src/card.ts
17
38
  var CLAUDE_DRIVER_KIND = "claudeAgent";
18
39
  var CLAUDE_CARD = {
@@ -123,24 +144,9 @@ var CLAUDE_CARD = {
123
144
  "launchArgs"
124
145
  ],
125
146
  properties: {
126
- binaryPath: {
127
- type: "string",
128
- "x-ycodium-form": {
129
- titleKey: "form.binaryPath.title",
130
- descriptionKey: "form.binaryPath.description",
131
- placeholderKey: "form.binaryPath.placeholder",
132
- control: "executable-path"
133
- }
134
- },
135
- homePath: {
136
- type: "string",
137
- "x-ycodium-form": {
138
- titleKey: "form.homePath.title",
139
- machineLocal: true,
140
- descriptionKey: "form.homePath.description",
141
- placeholderKey: "form.homePath.placeholder"
142
- }
143
- },
147
+ ...executorEnvelopeFields,
148
+ binaryPath: executorProgramField("binaryPath"),
149
+ homePath: executorProgramField("homePath"),
144
150
  credentialsPath: {
145
151
  type: "string",
146
152
  "x-ycodium-form": {
@@ -150,14 +156,7 @@ var CLAUDE_CARD = {
150
156
  placeholderKey: "form.credentialsPath.placeholder"
151
157
  }
152
158
  },
153
- launchArgs: {
154
- type: "string",
155
- "x-ycodium-form": {
156
- titleKey: "form.launchArgs.title",
157
- descriptionKey: "form.launchArgs.description",
158
- placeholderKey: "form.launchArgs.placeholder"
159
- }
160
- },
159
+ launchArgs: executorProgramField("launchArgs"),
161
160
  autoCompactWindow: {
162
161
  type: "string",
163
162
  // 空,或 100000 到 1000000 的整数(与服务端设置校验同一条规则)。
@@ -167,12 +166,7 @@ var CLAUDE_CARD = {
167
166
  descriptionKey: "form.autoCompactWindow.description",
168
167
  placeholderKey: "form.autoCompactWindow.placeholder"
169
168
  }
170
- },
171
- customModels: { type: "array" },
172
- enabled: { type: "boolean" },
173
- driver: { type: "string" },
174
- config: { type: "object" },
175
- environment: { type: "array" }
169
+ }
176
170
  },
177
171
  additionalProperties: true
178
172
  },
@@ -260,7 +254,12 @@ var epochMillisToIso = (value) => {
260
254
  // ../../packages/ycodium-instance-config/src/homePath.ts
261
255
  import * as NodeOS from "node:os";
262
256
  import * as NodePath from "node:path";
263
- import { mergeLaunchEnv } from "@ycodium-ai/plugin-api/executor";
257
+ import {
258
+ EXECUTOR_EFFECTIVE_PAYLOAD_SCHEMA,
259
+ executorHomeEffectiveValue,
260
+ readExecutorEffectiveRequest,
261
+ mergeLaunchEnv
262
+ } from "@ycodium-ai/plugin-api/executor";
264
263
  function expandHomePath(value) {
265
264
  if (value === "~") return NodeOS.homedir();
266
265
  if (value.startsWith("~/") || value.startsWith("~\\")) {
@@ -21432,26 +21431,102 @@ function HU(e, t) {
21432
21431
 
21433
21432
  // src/claudeInstance.ts
21434
21433
  import { mergeLaunchEnv as mergeLaunchEnv5 } from "@ycodium-ai/plugin-api/executor";
21435
- import { isOperationCleanupError as isOperationCleanupError3 } from "@ycodium-ai/plugin-api/process-operation";
21434
+ import { isOperationCleanupError as isOperationCleanupError6 } from "@ycodium-ai/plugin-api/process-operation";
21436
21435
 
21437
- // src/claudeProbe.ts
21436
+ // ../../packages/ycodium-instance-config/src/probeProcess.ts
21438
21437
  import {
21439
21438
  describeExecutorSpawnFailure,
21440
21439
  ExecutorSpawnAbortedError,
21441
21440
  ExecutorSpawnRefusedError
21442
21441
  } from "@ycodium-ai/plugin-api/executor";
21443
21442
  import {
21444
- runProcessOperation,
21445
- isOperationCleanupError
21443
+ isOperationCleanupError,
21444
+ runProcessOperation
21445
+ } from "@ycodium-ai/plugin-api/process-operation";
21446
+ async function readCliVersionCommand(host, input) {
21447
+ try {
21448
+ const run = await runProcessOperation(host, {
21449
+ program: input.program,
21450
+ args: ["--version"],
21451
+ owner: { bindingId: host.bindingId },
21452
+ ...Object.keys(input.env).length > 0 ? { env: input.env } : {},
21453
+ signal: input.signal,
21454
+ timeoutMs: input.timeoutMs,
21455
+ maxOutputBytes: 64 * 1024
21456
+ });
21457
+ if (run.exitCode !== 0 && !input.acceptNonzeroExit) return null;
21458
+ return input.parse(run.stdout) ?? input.parse(run.stderr);
21459
+ } catch (error) {
21460
+ if (isOperationCleanupError(error) || input.signal?.aborted) throw error;
21461
+ return null;
21462
+ }
21463
+ }
21464
+
21465
+ // src/claudeProbe.ts
21466
+ import {
21467
+ describeExecutorSpawnFailure as describeExecutorSpawnFailure2,
21468
+ ExecutorSpawnAbortedError as ExecutorSpawnAbortedError2,
21469
+ ExecutorSpawnRefusedError as ExecutorSpawnRefusedError2
21470
+ } from "@ycodium-ai/plugin-api/executor";
21471
+ import {
21472
+ runProcessOperation as runProcessOperation2,
21473
+ isOperationCleanupError as isOperationCleanupError2
21446
21474
  } from "@ycodium-ai/plugin-api/process-operation";
21447
21475
 
21476
+ // ../../packages/ycodium-credential-account/src/quotaJson.ts
21477
+ var clampPercent = (value) => Math.min(100, Math.max(0, value));
21478
+
21448
21479
  // src/usageRead/quota.ts
21449
21480
  import * as NodeFS4 from "node:fs";
21450
21481
  import * as NodePath8 from "node:path";
21451
21482
  import { mergeLaunchEnv as mergeLaunchEnv2, setsOwnModelConnection } from "@ycodium-ai/plugin-api/executor";
21452
- import {
21453
- parseRetryAfterMs
21454
- } from "@ycodium-ai/plugin-api/usage";
21483
+
21484
+ // ../../packages/ycodium-credential-account/src/quotaRequest.ts
21485
+ import { parseRetryAfterMs } from "@ycodium-ai/plugin-api/usage";
21486
+ async function requestQuotaJsonValue(input) {
21487
+ let response;
21488
+ try {
21489
+ response = await input.fetch(input.url, {
21490
+ headers: input.headers,
21491
+ ...input.method === void 0 ? {} : { method: input.method },
21492
+ ...input.body === void 0 ? {} : { body: input.body },
21493
+ ...input.redirect === void 0 ? {} : { redirect: input.redirect },
21494
+ signal: AbortSignal.any([
21495
+ ...input.signal === void 0 ? [] : [input.signal],
21496
+ AbortSignal.timeout(input.timeoutMs)
21497
+ ])
21498
+ });
21499
+ } catch (cause) {
21500
+ if (input.propagateCallerAbort && input.signal?.aborted) throw cause;
21501
+ return { status: "unavailable", reason: "unreachable" };
21502
+ }
21503
+ if (!response.ok) {
21504
+ void response.body?.cancel().catch(() => void 0);
21505
+ if (response.status === 429) {
21506
+ const retryAfterMs = parseRetryAfterMs(response.headers.get("retry-after"), input.now());
21507
+ return {
21508
+ status: "unavailable",
21509
+ reason: "rateLimited",
21510
+ ...retryAfterMs === null ? {} : { retryAfterMs }
21511
+ };
21512
+ }
21513
+ const reason = input.statusReasons?.[response.status] ?? (response.status === 401 || response.status === 403 ? "authRejected" : "unreachable");
21514
+ return { status: "unavailable", reason };
21515
+ }
21516
+ try {
21517
+ return { body: JSON.parse(await response.text()) };
21518
+ } catch (cause) {
21519
+ if (input.propagateCallerAbort && input.signal?.aborted) throw cause;
21520
+ return { status: "unavailable", reason: "unreachable" };
21521
+ }
21522
+ }
21523
+ async function requestQuotaJson(input) {
21524
+ const answer = await requestQuotaJsonValue(input);
21525
+ if (!("body" in answer)) return answer;
21526
+ return isRecord(answer.body) ? { body: answer.body } : { status: "unavailable", reason: "unreachable" };
21527
+ }
21528
+
21529
+ // src/usageRead/quota.ts
21455
21530
  var CLAUDE_QUOTA_URL = "https://api.anthropic.com/api/oauth/usage";
21456
21531
  var REQUEST_TIMEOUT_MS = 1e4;
21457
21532
  var HOUR_MS = 60 * 60 * 1e3;
@@ -21531,7 +21606,7 @@ var readClaudeQuotaWindows = (body) => CLAUDE_QUOTA_WINDOWS.flatMap((spec) => {
21531
21606
  {
21532
21607
  id: spec.id,
21533
21608
  label: { key: spec.labelKey },
21534
- usedPercent: Math.min(100, Math.max(0, utilization)),
21609
+ usedPercent: clampPercent(utilization),
21535
21610
  resetsAt: toIso(row["resets_at"]),
21536
21611
  windowMs: spec.windowMs
21537
21612
  }
@@ -21560,54 +21635,27 @@ var readClaudeQuota = async (request) => {
21560
21635
  const credential = readLoginCredential(claudeCredentialFileCandidates(recipe));
21561
21636
  if (credential === null) return { status: "unavailable", reason: "missingCredentials" };
21562
21637
  const now = request.now ?? Date.now;
21563
- let response;
21564
- try {
21565
- response = await request.fetch(CLAUDE_QUOTA_URL, {
21566
- method: "GET",
21567
- headers: {
21568
- Accept: "application/json",
21569
- "anthropic-beta": "oauth-2025-04-20",
21570
- Authorization: `Bearer ${credential.accessToken}`
21571
- },
21572
- redirect: "error",
21573
- signal: request.signal === void 0 ? AbortSignal.timeout(REQUEST_TIMEOUT_MS) : AbortSignal.any([request.signal, AbortSignal.timeout(REQUEST_TIMEOUT_MS)])
21574
- });
21575
- } catch (cause) {
21576
- if (request.signal?.aborted === true) throw cause;
21577
- return { status: "unavailable", reason: "unreachable" };
21578
- }
21579
- const release = () => {
21580
- void response.body?.cancel().catch(() => void 0);
21581
- };
21582
- if (response.status === 429) {
21583
- const retryAfterMs = parseRetryAfterMs(response.headers.get("Retry-After"), now());
21584
- release();
21585
- return {
21586
- status: "unavailable",
21587
- reason: "rateLimited",
21588
- ...retryAfterMs === null ? {} : { retryAfterMs }
21589
- };
21590
- }
21591
- if (response.status === 401 || response.status === 403) {
21592
- release();
21593
- return { status: "unavailable", reason: "authRejected" };
21594
- }
21595
- if (response.status < 200 || response.status >= 300) {
21596
- release();
21597
- return { status: "unavailable", reason: "unreachable" };
21598
- }
21599
- let body;
21600
- try {
21601
- body = JSON.parse(await response.text());
21602
- } catch {
21603
- return { status: "unavailable", reason: "unreachable" };
21604
- }
21605
- if (!isRecord2(body)) return { status: "unavailable", reason: "unreachable" };
21638
+ const answer = await requestQuotaJson({
21639
+ fetch: request.fetch,
21640
+ url: CLAUDE_QUOTA_URL,
21641
+ method: "GET",
21642
+ headers: {
21643
+ Accept: "application/json",
21644
+ "anthropic-beta": "oauth-2025-04-20",
21645
+ Authorization: `Bearer ${credential.accessToken}`
21646
+ },
21647
+ redirect: "error",
21648
+ propagateCallerAbort: true,
21649
+ signal: request.signal,
21650
+ timeoutMs: REQUEST_TIMEOUT_MS,
21651
+ now
21652
+ });
21653
+ if (!("body" in answer)) return answer;
21606
21654
  const plan = claudePlanName(credential);
21607
21655
  return {
21608
21656
  status: "available",
21609
21657
  ...plan === void 0 ? {} : { plan },
21610
- windows: readClaudeQuotaWindows(body),
21658
+ windows: readClaudeQuotaWindows(answer.body),
21611
21659
  balances: [],
21612
21660
  accountKey: credential.path
21613
21661
  };
@@ -22158,7 +22206,7 @@ function createClaudeProbe(input) {
22158
22206
  };
22159
22207
  }
22160
22208
  if (signal?.aborted) {
22161
- throw new ExecutorSpawnAbortedError();
22209
+ throw new ExecutorSpawnAbortedError2();
22162
22210
  }
22163
22211
  let command;
22164
22212
  let commandStarted = false;
@@ -22173,21 +22221,22 @@ function createClaudeProbe(input) {
22173
22221
  }
22174
22222
  };
22175
22223
  try {
22176
- command = await runProcessOperation(commandHost, {
22224
+ command = await runProcessOperation2(commandHost, {
22177
22225
  program: recipe.binaryPath,
22178
22226
  args: ["--version"],
22227
+ env: recipe.environment,
22179
22228
  timeoutMs: CLAUDE_VERSION_TIMEOUT_MS,
22180
22229
  maxOutputBytes: 64 * 1024,
22181
22230
  owner: { bindingId: host.bindingId },
22182
22231
  ...signal === void 0 ? {} : { signal }
22183
22232
  });
22184
22233
  } catch (error) {
22185
- if (isOperationCleanupError(error)) throw error;
22186
- if (signal?.aborted) throw new ExecutorSpawnAbortedError();
22187
- if (commandStarted || error instanceof ExecutorSpawnRefusedError || error instanceof ExecutorSpawnAbortedError) {
22234
+ if (isOperationCleanupError2(error)) throw error;
22235
+ if (signal?.aborted) throw new ExecutorSpawnAbortedError2();
22236
+ if (commandStarted || error instanceof ExecutorSpawnRefusedError2 || error instanceof ExecutorSpawnAbortedError2) {
22188
22237
  throw error;
22189
22238
  }
22190
- const failure = describeExecutorSpawnFailure(error);
22239
+ const failure = describeExecutorSpawnFailure2(error);
22191
22240
  return {
22192
22241
  installed: false,
22193
22242
  version: null,
@@ -22197,7 +22246,7 @@ function createClaudeProbe(input) {
22197
22246
  };
22198
22247
  }
22199
22248
  const { stdout, stderr, exitCode } = command;
22200
- if (signal?.aborted) throw new ExecutorSpawnAbortedError();
22249
+ if (signal?.aborted) throw new ExecutorSpawnAbortedError2();
22201
22250
  const version = parseGenericCliVersion(`${stdout}
22202
22251
  ${stderr}`);
22203
22252
  if (version !== null || exitCode === 0) {
@@ -22258,21 +22307,14 @@ var CLAUDE_VERSION_TIMEOUT_MS = 15e3;
22258
22307
  async function readClaudeCliVersion(input) {
22259
22308
  input.signal?.throwIfAborted();
22260
22309
  if (input.recipe.binaryPath.length === 0) return null;
22261
- try {
22262
- const { stdout, stderr } = await runProcessOperation(input.host, {
22263
- program: input.recipe.binaryPath,
22264
- args: ["--version"],
22265
- owner: { bindingId: input.host.bindingId },
22266
- signal: input.signal,
22267
- timeoutMs: CLAUDE_VERSION_TIMEOUT_MS,
22268
- maxOutputBytes: 64 * 1024
22269
- });
22270
- return parseGenericCliVersion(stdout + "\n" + stderr);
22271
- } catch (error) {
22272
- if (isOperationCleanupError(error)) throw error;
22273
- input.signal?.throwIfAborted();
22274
- return null;
22275
- }
22310
+ return readCliVersionCommand(input.host, {
22311
+ program: input.recipe.binaryPath,
22312
+ env: input.recipe.environment,
22313
+ signal: input.signal,
22314
+ timeoutMs: CLAUDE_VERSION_TIMEOUT_MS,
22315
+ parse: parseGenericCliVersion,
22316
+ acceptNonzeroExit: true
22317
+ });
22276
22318
  }
22277
22319
 
22278
22320
  // src/claudeExecutable.ts
@@ -23822,14 +23864,14 @@ function modelIdFromSelection(selection) {
23822
23864
  }
23823
23865
  function readEnvironment(value) {
23824
23866
  if (!Array.isArray(value)) return {};
23825
- const env2 = {};
23867
+ const entries = [];
23826
23868
  for (const entry of value) {
23827
23869
  if (!isRecord4(entry)) continue;
23828
23870
  const name = readTrimmed(entry["name"]);
23829
23871
  if (name.length === 0) continue;
23830
- env2[name] = readString3(entry["value"]);
23872
+ entries.push([name, readString3(entry["value"])]);
23831
23873
  }
23832
- return env2;
23874
+ return Object.fromEntries(entries);
23833
23875
  }
23834
23876
  function instanceSettings(config) {
23835
23877
  if (!isRecord4(config)) return {};
@@ -24016,7 +24058,7 @@ import {
24016
24058
  // src/sdkModels.ts
24017
24059
  import * as NodeOS5 from "node:os";
24018
24060
  import { REASONING_OPTION_LABEL as REASONING_OPTION_LABEL2, reasoningEffortShortLabel } from "@ycodium-ai/plugin-api/executor";
24019
- import { OperationCleanupError } from "@ycodium-ai/plugin-api/process-operation";
24061
+ import { isOperationCleanupError as isOperationCleanupError3 } from "@ycodium-ai/plugin-api/process-operation";
24020
24062
 
24021
24063
  // src/sdkAccount.ts
24022
24064
  var text = (value) => typeof value === "string" && value.trim().length > 0 ? value.trim() : void 0;
@@ -24311,7 +24353,7 @@ var readClaudeSdkProbe = async (input) => {
24311
24353
  }
24312
24354
  );
24313
24355
  } catch (cause) {
24314
- if (cause instanceof OperationCleanupError) throw cause;
24356
+ if (isOperationCleanupError3(cause)) throw cause;
24315
24357
  input.signal?.throwIfAborted();
24316
24358
  return void 0;
24317
24359
  }
@@ -28735,12 +28777,12 @@ import * as NodeOS8 from "node:os";
28735
28777
  import * as NodePath16 from "node:path";
28736
28778
  import { mergeLaunchEnv as mergeLaunchEnv3, modelSelectionStringOption as modelSelectionStringOption3 } from "@ycodium-ai/plugin-api/executor";
28737
28779
  import {
28738
- OperationCleanupError as OperationCleanupError2,
28739
- runProcessOperation as runProcessOperation2
28780
+ isOperationCleanupError as isOperationCleanupError5,
28781
+ runProcessOperation as runProcessOperation3
28740
28782
  } from "@ycodium-ai/plugin-api/process-operation";
28741
28783
 
28742
28784
  // ../../packages/ycodium-text-generation/src/structuredTextGeneration.ts
28743
- import { isOperationCleanupError as isOperationCleanupError2 } from "@ycodium-ai/plugin-api/process-operation";
28785
+ import { isOperationCleanupError as isOperationCleanupError4 } from "@ycodium-ai/plugin-api/process-operation";
28744
28786
 
28745
28787
  // ../../packages/ycodium-text-generation/src/sanitize.ts
28746
28788
  function limitSection(value, maxChars) {
@@ -29159,7 +29201,7 @@ function createStructuredTextGeneration(options) {
29159
29201
  })
29160
29202
  );
29161
29203
  } catch (error) {
29162
- if (options.cliName === void 0 || isOperationCleanupError2(error)) throw error;
29204
+ if (options.cliName === void 0 || isOperationCleanupError4(error)) throw error;
29163
29205
  throw normalizeCliError(options.cliName, error, FAILURE_MESSAGES[operation]);
29164
29206
  }
29165
29207
  };
@@ -29329,7 +29371,7 @@ function createClaudeTextGeneration(recipe, host, modelCatalog) {
29329
29371
  let safeToRemove = true;
29330
29372
  const runIn = async (cwd) => {
29331
29373
  try {
29332
- const { stdout, stderr, exitCode } = await runProcessOperation2(host, {
29374
+ const { stdout, stderr, exitCode } = await runProcessOperation3(host, {
29333
29375
  program,
29334
29376
  args,
29335
29377
  cwd,
@@ -29347,7 +29389,7 @@ function createClaudeTextGeneration(recipe, host, modelCatalog) {
29347
29389
  }
29348
29390
  return decodeStructuredOutput(stdout, input.operation);
29349
29391
  } catch (cause) {
29350
- if (cause instanceof OperationCleanupError2) safeToRemove = false;
29392
+ if (isOperationCleanupError5(cause)) safeToRemove = false;
29351
29393
  throw cause;
29352
29394
  }
29353
29395
  };
@@ -30337,7 +30379,7 @@ function createClaudeInstance(config, host, attachments, overrides, usageCache)
30337
30379
  try {
30338
30380
  await adapter.modelCatalog.refresh({ force: true, signal });
30339
30381
  } catch (error) {
30340
- if (isOperationCleanupError3(error)) {
30382
+ if (isOperationCleanupError6(error)) {
30341
30383
  cleanupFailed = true;
30342
30384
  throw error;
30343
30385
  }
@@ -30453,10 +30495,10 @@ var index_default = definePlugin({
30453
30495
  name: "effectiveConfig",
30454
30496
  description: "Settings form: the config and credentials directories empty fields resolve to.",
30455
30497
  scope: "read",
30456
- payloadSchema: EXECUTOR_EFFECTIVE_PAYLOAD_SCHEMA,
30498
+ payloadSchema: EXECUTOR_EFFECTIVE_PAYLOAD_SCHEMA2,
30457
30499
  handle: async (payload) => {
30458
- const request = readExecutorEffectiveRequest(payload);
30459
- const home = executorHomeEffectiveValue(
30500
+ const request = readExecutorEffectiveRequest2(payload);
30501
+ const home = executorHomeEffectiveValue2(
30460
30502
  "CLAUDE_CONFIG_DIR",
30461
30503
  request,
30462
30504
  process.env,
@@ -30475,7 +30517,7 @@ var index_default = definePlugin({
30475
30517
  );
30476
30518
  return {
30477
30519
  homePath: home,
30478
- credentialsPath: executorEnvironmentValue(credentialsVariable, request, process.env) !== null ? executorHomeEffectiveValue(
30520
+ credentialsPath: executorEnvironmentValue(credentialsVariable, request, process.env) !== null ? executorHomeEffectiveValue2(
30479
30521
  credentialsVariable,
30480
30522
  request,
30481
30523
  process.env,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ycodium-ai/agent-claude",
3
- "version": "0.2.5557",
3
+ "version": "0.2.5634",
4
4
  "description": "Claude executor: Claude Code CLI via @anthropic-ai/claude-agent-sdk.",
5
5
  "keywords": [
6
6
  "ycodium",
@@ -24,16 +24,16 @@
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.5557",
27
+ "@ycodium-ai/plugin-api": "0.2.0",
28
28
  "ycodium-composer-tokens": "0.0.0",
29
29
  "ycodium-credential-account": "0.0.0",
30
30
  "ycodium-executor-testing": "0.0.0",
31
31
  "ycodium-duration-format": "0.0.0",
32
32
  "ycodium-jsonl-stream": "0.0.0",
33
33
  "ycodium-instance-config": "0.0.0",
34
- "ycodium-workspace-path": "0.0.0",
34
+ "ycodium-tool-label": "0.0.0",
35
35
  "ycodium-text-generation": "0.0.0",
36
- "ycodium-tool-label": "0.0.0"
36
+ "ycodium-workspace-path": "0.0.0"
37
37
  },
38
38
  "ycodium": {
39
39
  "plugin": "./dist/index.js",