@ycodium-ai/agent-claude 0.2.6054 → 0.2.6072

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 (3) hide show
  1. package/README.md +4 -2
  2. package/dist/index.js +139 -57
  3. package/package.json +5 -5
package/README.md CHANGED
@@ -63,8 +63,10 @@ Facts:
63
63
  for local token-history scans, session import or global skill discovery. Those
64
64
  paths still use the configured directory. Live native history uses the transcript
65
65
  path reported by Claude Code, and active sessions report their own command list.
66
- The sign-in command remains Claude Code's login flow; wrapper-specific account
67
- binding must use the wrapper's own supported login flow.
66
+ The sign-in flow (`signIn.start` / `signIn.submit` via `createCliAuthorizationCodeSignIn`) runs
67
+ `claude auth login` with `BROWSER` suppressed to read the manual authorization link and accept
68
+ `code#state` over `stdin`; wrapper-specific account binding must use the wrapper's own supported
69
+ login flow.
68
70
 
69
71
  Develop with `vp run --filter @ycodium-ai/agent-claude typecheck`, `build`, and `test`.
70
72
 
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  // src/index.ts
2
- import * as NodePath15 from "node:path";
2
+ import * as NodePath16 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 = 196;
6
+ var PLUGIN_API_VERSION = 197;
7
7
 
8
8
  // src/index.ts
9
9
  import {
@@ -55,8 +55,9 @@ var CLAUDE_CARD = {
55
55
  windowsCommand: "irm https://claude.ai/install.ps1 | iex",
56
56
  installedPathSegment: "/.local/"
57
57
  },
58
- // `claude auth login` 没有无头选项,只能在有浏览器的机器上跑。
58
+ // `claude auth login` 支持输出手动授权链接并从 stdin 接收 `code#state` 回填授权码。
59
59
  signIn: [{ kind: "command", command: "claude auth login" }],
60
+ signInInteraction: "authorization-code",
60
61
  deviceCodeSignInArgs: [],
61
62
  npmPackage: "@anthropic-ai/claude-code",
62
63
  homebrewFormula: "claude-code",
@@ -236,8 +237,8 @@ var describeUsageLimitFailure = (rejected, nowMs) => {
236
237
  let name;
237
238
  let wait;
238
239
  let latestResetSeconds = Number.NEGATIVE_INFINITY;
239
- for (const [type4, resetsAt] of rejected) {
240
- const label = WINDOW_NAMES[type4];
240
+ for (const [type3, resetsAt] of rejected) {
241
+ const label = WINDOW_NAMES[type3];
241
242
  const reachable = waitUntil(resetsAt, nowMs);
242
243
  if (label === void 0 || reachable === void 0 || resetsAt === void 0) continue;
243
244
  if (resetsAt <= latestResetSeconds) continue;
@@ -506,8 +507,7 @@ var openClaudeHistory = (input) => {
506
507
  };
507
508
 
508
509
  // src/claudeInstance.ts
509
- import * as NodeOS9 from "node:os";
510
- import * as NodePath14 from "node:path";
510
+ import * as NodePath15 from "node:path";
511
511
 
512
512
  // ../../node_modules/.pnpm/@anthropic-ai+claude-agent-sdk@0.3.170_@anthropic-ai+sdk@0.93.0_zod@4.6.5__@modelcontex_64204813d4dba2ebc464c3aa751485a4/node_modules/@anthropic-ai/claude-agent-sdk/sdk.mjs
513
513
  import { createRequire as xz } from "node:module";
@@ -19940,7 +19940,7 @@ function HU(e, t) {
19940
19940
  }
19941
19941
 
19942
19942
  // src/claudeInstance.ts
19943
- import { mergeLaunchEnv as mergeLaunchEnv4 } from "@ycodium-ai/plugin-api/executor";
19943
+ import { mergeLaunchEnv as mergeLaunchEnv5 } from "@ycodium-ai/plugin-api/executor";
19944
19944
  import { isOperationCleanupError as isOperationCleanupError4 } from "@ycodium-ai/plugin-api/process-operation";
19945
19945
 
19946
19946
  // src/claudeProbe.ts
@@ -20019,9 +20019,9 @@ var readLoginCredential = (candidates) => {
20019
20019
  return null;
20020
20020
  };
20021
20021
  var claudePlanName = (credential) => {
20022
- const type4 = credential.subscriptionType;
20023
- if (type4 === void 0) return void 0;
20024
- const name = `${type4.charAt(0).toUpperCase()}${type4.slice(1)}`;
20022
+ const type3 = credential.subscriptionType;
20023
+ if (type3 === void 0) return void 0;
20024
+ const name = `${type3.charAt(0).toUpperCase()}${type3.slice(1)}`;
20025
20025
  const multiplier = /(?:^|_)(\d+x)$/.exec(credential.rateLimitTier ?? "")?.[1];
20026
20026
  return multiplier === void 0 ? name : `${name} ${multiplier}`;
20027
20027
  };
@@ -20717,7 +20717,6 @@ ${stderr}`);
20717
20717
  auth,
20718
20718
  ...reportedModels,
20719
20719
  skills,
20720
- detail: "Claude is signed out",
20721
20720
  // 退出登录了档位照样是那五档。不报就退回宿主四档,而那份映射少了 `plan`。
20722
20721
  ...CLAUDE_NATIVE_MODE_REPORT
20723
20722
  };
@@ -21444,8 +21443,8 @@ var claudeStructuredErrorType = (value) => {
21444
21443
  if (typeof value !== "object" || value === null) return void 0;
21445
21444
  const error = value.error;
21446
21445
  if (typeof error !== "object" || error === null) return void 0;
21447
- const type4 = error.type;
21448
- return typeof type4 === "string" ? type4 : void 0;
21446
+ const type3 = error.type;
21447
+ return typeof type3 === "string" ? type3 : void 0;
21449
21448
  };
21450
21449
 
21451
21450
  // src/toolClassify.ts
@@ -25898,9 +25897,9 @@ var makeTelemetryMessageHandler = (deps) => {
25898
25897
  const info = message.rate_limit_info;
25899
25898
  const turn = context.turnState;
25900
25899
  if (info && turn) {
25901
- const type4 = info.rateLimitType ?? "unknown";
25900
+ const type3 = info.rateLimitType ?? "unknown";
25902
25901
  if (isBlockingRateLimit(info)) {
25903
- turn.rejectedRateLimits.set(type4, info.resetsAt);
25902
+ turn.rejectedRateLimits.set(type3, info.resetsAt);
25904
25903
  const key = rateLimitKey(info);
25905
25904
  if (!turn.announcedUsageLimits.has(key)) {
25906
25905
  turn.announcedUsageLimits.add(key);
@@ -25911,7 +25910,7 @@ var makeTelemetryMessageHandler = (deps) => {
25911
25910
  );
25912
25911
  }
25913
25912
  } else if (isClearingRateLimit(info)) {
25914
- turn.rejectedRateLimits.delete(type4);
25913
+ turn.rejectedRateLimits.delete(type3);
25915
25914
  }
25916
25915
  }
25917
25916
  return;
@@ -26162,8 +26161,8 @@ var makeTurnMessageHandlers = (deps) => {
26162
26161
  result: toolResult.block
26163
26162
  };
26164
26163
  const updatedStamp = await makeEventStamp();
26165
- const offerToolItem = (type4, stamp, status) => offerRuntimeEvent(context, {
26166
- type: type4,
26164
+ const offerToolItem = (type3, stamp, status) => offerRuntimeEvent(context, {
26165
+ type: type3,
26167
26166
  ...eventHeader(context, stamp),
26168
26167
  ...context.turnState ? { turnId: asCanonicalTurnId(context.turnState.turnId) } : {},
26169
26168
  itemId: asRuntimeItemId(tool.itemId),
@@ -26383,7 +26382,13 @@ var makeTurnMessageHandlers = (deps) => {
26383
26382
  };
26384
26383
 
26385
26384
  // src/claudeSignIn.ts
26385
+ import * as NodePath11 from "node:path";
26386
+ import {
26387
+ mergeLaunchEnv as mergeLaunchEnv2
26388
+ } from "@ycodium-ai/plugin-api/executor";
26389
+ import { createCliAuthorizationCodeSignIn } from "@ycodium-ai/plugin-api/runtime-maintenance";
26386
26390
  var POSIX_BARE_VALUE = /^[A-Za-z0-9_@%+=:,./-]+$/;
26391
+ var ANSI_AND_OSC_SEQUENCES = /\u001B\][^\u0007\u001B]*(?:\u0007|\u001B\\)|\u001B\[[0-9;]*[A-Za-z]/gu;
26387
26392
  function quotePosixShellValue(value) {
26388
26393
  if (POSIX_BARE_VALUE.test(value)) return value;
26389
26394
  return `'${value.replaceAll("'", `'\\''`)}'`;
@@ -26401,11 +26406,91 @@ function claudeSignInCommand(credentialsPath, platform4) {
26401
26406
  if (credentialsDirPath === null) return command;
26402
26407
  return withClaudeCredentialsDir({ command, credentialsDirPath, platform: platform4 });
26403
26408
  }
26409
+ function parseClaudeAuthorizationUrl(text2) {
26410
+ const cleaned = text2.replace(ANSI_AND_OSC_SEQUENCES, "");
26411
+ return /https:\/\/(?:claude\.ai|claude\.com|console\.anthropic\.com|platform\.claude\.com)\/[^\s]+/u.exec(
26412
+ cleaned
26413
+ )?.[0];
26414
+ }
26415
+ function normalizeClaudeAuthorizationCode(raw) {
26416
+ const trimmed = raw.trim();
26417
+ if (trimmed.length === 0) {
26418
+ throw new Error("Paste the authorization code shown by Claude, including the # in the middle.");
26419
+ }
26420
+ if (/^https?:\/\/(localhost|127\.0\.0\.1|\[::1\])[:/]/iu.test(trimmed)) {
26421
+ throw new Error(
26422
+ "Open the sign-in link shown above and paste the code shown on its final page, not a localhost URL."
26423
+ );
26424
+ }
26425
+ if (/^https?:\/\//iu.test(trimmed)) {
26426
+ let parsed;
26427
+ try {
26428
+ parsed = new URL(trimmed);
26429
+ } catch {
26430
+ throw new Error(
26431
+ "Paste the authorization code shown by Claude, including the # in the middle."
26432
+ );
26433
+ }
26434
+ const code = parsed.searchParams.get("code")?.trim() ?? "";
26435
+ const state = parsed.searchParams.get("state")?.trim() ?? "";
26436
+ if (code.length > 0 && state.length > 0 && !code.includes("#") && !state.includes("#")) {
26437
+ return `${code}#${state}`;
26438
+ }
26439
+ throw new Error(
26440
+ "Paste the authorization code shown after signing in, not the sign-in web address."
26441
+ );
26442
+ }
26443
+ const parts = trimmed.split("#");
26444
+ if (parts.length !== 2 || !parts[0] || !parts[1] || /\s/u.test(trimmed)) {
26445
+ throw new Error(
26446
+ "Paste the full authorization code shown by Claude, including the # in the middle."
26447
+ );
26448
+ }
26449
+ return `${parts[0]}#${parts[1]}`;
26450
+ }
26451
+ function makeClaudeSignIn(input) {
26452
+ const platform4 = input.platform ?? (NodePath11.sep === "\\" ? "win32" : "linux");
26453
+ const launchEnv = mergeLaunchEnv2({
26454
+ inherited: { ...input.baseEnvironment },
26455
+ instanceTable: input.recipe.environment,
26456
+ handOverrides: claudeHomeVariables(resolveClaudeHomeLayout(input.recipe))
26457
+ });
26458
+ const program = resolveClaudeSdkExecutablePath(
26459
+ input.recipe.binaryPath || CLAUDE_CARD.commandName,
26460
+ launchEnv
26461
+ );
26462
+ const session = createCliAuthorizationCodeSignIn({
26463
+ name: "Claude Code",
26464
+ host: input.host,
26465
+ program,
26466
+ args: ["auth", "login"],
26467
+ env: {
26468
+ ...launchEnv,
26469
+ // 阻止服务器在后台自动拉起本机浏览器窗口;授权链接由客户端打开。
26470
+ BROWSER: "__ycodium_no_browser__"
26471
+ },
26472
+ stream: "stdout",
26473
+ parseUrl: parseClaudeAuthorizationUrl,
26474
+ normalizeCode: normalizeClaudeAuthorizationCode,
26475
+ formatExitError: () => "Claude Code rejected the authorization code or could not complete sign-in. Start sign-in again and paste a fresh code.",
26476
+ probe: input.probe,
26477
+ isDisposed: input.isDisposed
26478
+ });
26479
+ return {
26480
+ ...session,
26481
+ signInMethods: [
26482
+ {
26483
+ kind: "command",
26484
+ command: claudeSignInCommand(input.recipe.credentialsPath, platform4)
26485
+ }
26486
+ ]
26487
+ };
26488
+ }
26404
26489
 
26405
26490
  // src/sessions.ts
26406
26491
  import * as NodeFS3 from "node:fs";
26407
26492
  import * as NodeOS6 from "node:os";
26408
- import * as NodePath11 from "node:path";
26493
+ import * as NodePath12 from "node:path";
26409
26494
  import {
26410
26495
  jsonlEntryRecord,
26411
26496
  readJsonlEntries
@@ -26722,7 +26807,7 @@ async function scanClaudeSessions(input, cache) {
26722
26807
  function resolveTranscriptPath(input) {
26723
26808
  const fileName = `${input.sessionId}${CLAUDE_TRANSCRIPT_SUFFIX}`;
26724
26809
  if (input.cwd !== void 0 && input.cwd.length > 0) {
26725
- const direct = NodePath11.join(
26810
+ const direct = NodePath12.join(
26726
26811
  input.transcriptDir,
26727
26812
  encodeClaudeProjectDirName2(input.cwd),
26728
26813
  fileName
@@ -26739,7 +26824,7 @@ function resolveTranscriptPath(input) {
26739
26824
  return null;
26740
26825
  }
26741
26826
  for (const dir of dirs) {
26742
- const candidate = NodePath11.join(input.transcriptDir, dir, fileName);
26827
+ const candidate = NodePath12.join(input.transcriptDir, dir, fileName);
26743
26828
  try {
26744
26829
  if (NodeFS3.statSync(candidate).isFile()) return candidate;
26745
26830
  } catch {
@@ -26820,7 +26905,7 @@ async function findBoundClaudeTranscript(root, sessionId, signal) {
26820
26905
  for (const directory of directories) {
26821
26906
  signal?.throwIfAborted();
26822
26907
  if (!directory.isDirectory()) continue;
26823
- const path = NodePath11.join(root, directory.name, fileName);
26908
+ const path = NodePath12.join(root, directory.name, fileName);
26824
26909
  const stat3 = await NodeFS3.promises.lstat(path).catch((error) => {
26825
26910
  if (error.code === "ENOENT" || error.code === "ENOTDIR") return void 0;
26826
26911
  throw error;
@@ -26836,7 +26921,7 @@ function createClaudeImportReader() {
26836
26921
  return async (input) => {
26837
26922
  input.signal?.throwIfAborted();
26838
26923
  const { cwd } = input;
26839
- if (!/^[\w-]+$/.test(input.nativeSessionId) || cwd !== void 0 && !NodePath11.isAbsolute(cwd)) {
26924
+ if (!/^[\w-]+$/.test(input.nativeSessionId) || cwd !== void 0 && !NodePath12.isAbsolute(cwd)) {
26840
26925
  throw new Error("Invalid Claude session identity or working directory.");
26841
26926
  }
26842
26927
  const path = cwd === void 0 ? await findBoundClaudeTranscript(input.transcriptDir, input.nativeSessionId, input.signal) : resolveTranscriptPath({
@@ -26860,7 +26945,7 @@ function createClaudeImportReader() {
26860
26945
  const digest = await readClaudeTranscriptDigest(source, path);
26861
26946
  input.signal?.throwIfAborted();
26862
26947
  const caseInsensitive = NodeOS6.type() === "Windows_NT";
26863
- if (digest === null || cwd !== void 0 && (!digest.cwd || !NodePath11.isAbsolute(digest.cwd) || !isWithinDirectory2(digest.cwd, cwd, caseInsensitive) || !isWithinDirectory2(cwd, digest.cwd, caseInsensitive))) {
26948
+ if (digest === null || cwd !== void 0 && (!digest.cwd || !NodePath12.isAbsolute(digest.cwd) || !isWithinDirectory2(digest.cwd, cwd, caseInsensitive) || !isWithinDirectory2(cwd, digest.cwd, caseInsensitive))) {
26864
26949
  throw new Error("The native Claude session does not match the requested directory.");
26865
26950
  }
26866
26951
  const records = [];
@@ -26893,9 +26978,9 @@ function createClaudeImportReader() {
26893
26978
  // src/textGeneration.ts
26894
26979
  import * as NodeFSP6 from "node:fs/promises";
26895
26980
  import * as NodeOS7 from "node:os";
26896
- import * as NodePath12 from "node:path";
26981
+ import * as NodePath13 from "node:path";
26897
26982
  import {
26898
- mergeLaunchEnv as mergeLaunchEnv2,
26983
+ mergeLaunchEnv as mergeLaunchEnv3,
26899
26984
  modelSelectionStringOption as modelSelectionStringOption2
26900
26985
  } from "@ycodium-ai/plugin-api/executor";
26901
26986
  import {
@@ -26926,7 +27011,7 @@ function decodeStructuredOutput(stdout, operation) {
26926
27011
  function createClaudeTextGeneration(recipe, host, modelCatalog) {
26927
27012
  const runClaudeJson = async (input) => {
26928
27013
  input.signal?.throwIfAborted();
26929
- const processEnv = mergeLaunchEnv2({
27014
+ const processEnv = mergeLaunchEnv3({
26930
27015
  instanceTable: recipe.environment,
26931
27016
  handOverrides: claudeHomeVariables(resolveClaudeHomeLayout(recipe))
26932
27017
  });
@@ -26993,7 +27078,7 @@ function createClaudeTextGeneration(recipe, host, modelCatalog) {
26993
27078
  };
26994
27079
  if (input.operation !== "generateThreadTitle") return runIn(input.cwd);
26995
27080
  const scratchDirectory = await NodeFSP6.mkdtemp(
26996
- NodePath12.join(NodeOS7.tmpdir(), "ycodium-claude-title-")
27081
+ NodePath13.join(NodeOS7.tmpdir(), "ycodium-claude-title-")
26997
27082
  );
26998
27083
  try {
26999
27084
  return await runIn(scratchDirectory);
@@ -27017,11 +27102,11 @@ function createClaudeTextGeneration(recipe, host, modelCatalog) {
27017
27102
  }
27018
27103
 
27019
27104
  // src/usageRead/index.ts
27020
- import * as NodePath13 from "node:path";
27105
+ import * as NodePath14 from "node:path";
27021
27106
 
27022
27107
  // src/usageRead/nativeQuota.ts
27023
27108
  import * as NodeOS8 from "node:os";
27024
- import { mergeLaunchEnv as mergeLaunchEnv3 } from "@ycodium-ai/plugin-api/executor";
27109
+ import { mergeLaunchEnv as mergeLaunchEnv4 } from "@ycodium-ai/plugin-api/executor";
27025
27110
  var isRecord7 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
27026
27111
  function quotaWriter(write) {
27027
27112
  const decoder = new TextDecoder();
@@ -27065,7 +27150,7 @@ async function readClaudeNativeQuota(input) {
27065
27150
  signal?.throwIfAborted();
27066
27151
  if (!recipe.binaryPath) return void 0;
27067
27152
  try {
27068
- const environment = mergeLaunchEnv3({
27153
+ const environment = mergeLaunchEnv4({
27069
27154
  inherited: process.env,
27070
27155
  instanceTable: recipe.environment,
27071
27156
  handOverrides: claudeHomeVariables(resolveClaudeHomeLayout(recipe))
@@ -27460,7 +27545,7 @@ var createClaudeUsage = (input) => {
27460
27545
  });
27461
27546
  const tokens = createClaudeTokenReader({
27462
27547
  configDir,
27463
- transcriptRoot: NodePath13.join(configDir, "projects"),
27548
+ transcriptRoot: NodePath14.join(configDir, "projects"),
27464
27549
  cache: input.cache
27465
27550
  });
27466
27551
  return {
@@ -27540,7 +27625,7 @@ function createClaudeAdapter(recipe, host, options) {
27540
27625
  if (recipe.binaryPath.length === 0) throw new Error(CLAUDE_PROGRAM_NOT_CONFIGURED);
27541
27626
  return sdkCreateQuery(input);
27542
27627
  };
27543
- const buildLaunchEnvironment = () => mergeLaunchEnv4({
27628
+ const buildLaunchEnvironment = () => mergeLaunchEnv5({
27544
27629
  inherited: { ...process.env, ...options?.environment },
27545
27630
  instanceTable: recipe.environment,
27546
27631
  handOverrides: claudeHomeVariables(resolveClaudeHomeLayout(recipe))
@@ -27775,9 +27860,20 @@ function createClaudeInstance(config, host, attachments, overrides, usageCache)
27775
27860
  );
27776
27861
  return {
27777
27862
  configDir,
27778
- transcriptDir: NodePath14.join(configDir, "projects")
27863
+ transcriptDir: NodePath15.join(configDir, "projects")
27779
27864
  };
27780
27865
  };
27866
+ let disposed = false;
27867
+ const cliSignIn = makeClaudeSignIn({
27868
+ host,
27869
+ recipe,
27870
+ probe: async (signal) => {
27871
+ await adapter.modelCatalog.refresh({ signal, force: true });
27872
+ adapter.modelCatalog.notePairedRefresh();
27873
+ return probe(signal);
27874
+ },
27875
+ isDisposed: () => disposed
27876
+ });
27781
27877
  return {
27782
27878
  probe,
27783
27879
  readCliVersion: (signal) => readClaudeCliVersion({ recipe, host, ...signal ? { signal } : {} }),
@@ -27812,7 +27908,10 @@ function createClaudeInstance(config, host, attachments, overrides, usageCache)
27812
27908
  stopSession: adapter.stopSession,
27813
27909
  openCommandProcesses: adapter.openCommandProcesses,
27814
27910
  readThread: adapter.readThread,
27815
- dispose: adapter.dispose,
27911
+ dispose: async () => {
27912
+ disposed = true;
27913
+ await Promise.all([cliSignIn.close(), adapter.dispose()]);
27914
+ },
27816
27915
  // 项目里的命令与技能:探测没有工作区,只能报用户配置目录那份;这里按目录扫。
27817
27916
  workspaceInventory: ({ cwd }) => {
27818
27917
  const cliEnvironment = { ...process.env, ...recipe.environment };
@@ -27854,25 +27953,8 @@ function createClaudeInstance(config, host, attachments, overrides, usageCache)
27854
27953
  });
27855
27954
  }
27856
27955
  },
27857
- signIn: {
27858
- start: async () => {
27859
- const command = claudeSignInCommand(
27860
- recipe.credentialsPath,
27861
- NodeOS9.type() === "Windows_NT" ? "win32" : "linux"
27862
- );
27863
- return {
27864
- operationId: `claude-sign-in-${crypto.randomUUID()}`,
27865
- verificationUrl: command
27866
- };
27867
- },
27868
- cancel: async () => {
27869
- },
27870
- verify: async (signal) => {
27871
- await adapter.modelCatalog.refresh({ signal, force: true });
27872
- adapter.modelCatalog.notePairedRefresh();
27873
- return probe(signal);
27874
- }
27875
- }
27956
+ signInMethods: cliSignIn.signInMethods,
27957
+ signIn: cliSignIn.signIn
27876
27958
  };
27877
27959
  }
27878
27960
 
@@ -27887,7 +27969,7 @@ var executors = [
27887
27969
  return createClaudeInstance(config, host, capturedAttachments, void 0, capturedCache);
27888
27970
  },
27889
27971
  probeAccount: async ({ accountPath }) => probeClaudeAccount(accountPath),
27890
- // 厂商脚本装,宿主卸不了;登录要在那台机器的终端里跑 `claude auth login`,宿主只回这条命令。
27972
+ // 厂商脚本装,宿主卸不了;机器任务无交互回填通道,lifecycle 的 sign-in 仍只回命令(交互式授权码登录走实例 signIn)。
27891
27973
  lifecycle: [
27892
27974
  { kind: "install", reversible: false },
27893
27975
  { kind: "detect", reversible: true },
@@ -27931,7 +28013,7 @@ var index_default = definePlugin({
27931
28013
  credentialsVariable,
27932
28014
  request,
27933
28015
  process.env,
27934
- (value) => NodePath15.resolve(value ?? "")
28016
+ (value) => NodePath16.resolve(value ?? "")
27935
28017
  ) : keychain ? { detailKey: "form.credentialsPath.keychain" } : { value: configDirectory, detailKey: "form.credentialsPath.sameAsHome" }
27936
28018
  };
27937
28019
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ycodium-ai/agent-claude",
3
- "version": "0.2.6054",
3
+ "version": "0.2.6072",
4
4
  "description": "Claude executor: Claude Code CLI via @anthropic-ai/claude-agent-sdk.",
5
5
  "keywords": [
6
6
  "ycodium",
@@ -24,11 +24,11 @@
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.6054",
28
- "ycodium-instance-config": "0.0.0",
29
- "ycodium-jsonl-stream": "0.0.0",
27
+ "@ycodium-ai/plugin-api": "0.2.6072",
30
28
  "ycodium-executor-testing": "0.0.0",
31
- "ycodium-text-generation": "0.0.0"
29
+ "ycodium-text-generation": "0.0.0",
30
+ "ycodium-jsonl-stream": "0.0.0",
31
+ "ycodium-instance-config": "0.0.0"
32
32
  },
33
33
  "ycodium": {
34
34
  "plugin": "./dist/index.js",