@ycodium-ai/agent-claude 0.2.6253 → 0.2.6266

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/README.md CHANGED
@@ -62,7 +62,10 @@ Facts:
62
62
  Both reads use a host-managed short-lived process. CLI-reported email and
63
63
  authentication sources take precedence over local credential files; missing
64
64
  files alone no longer mean signed out. Login verification refreshes that
65
- initialization instead of reusing the pre-login account snapshot.
65
+ initialization instead of reusing the pre-login account snapshot. A reply that
66
+ reports no credentials at all is signed out: Claude Code then refuses to run and
67
+ lists a generic model table, so that read does not replace the account's list
68
+ in the host and the next status check asks again.
66
69
  - Wrapper redirects of configuration directories are not automatically discovered
67
70
  for local token-history scans, session import or global skill discovery. Those
68
71
  paths still use the configured directory. Live native history uses the transcript
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ 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 = 202;
6
+ var PLUGIN_API_VERSION = 203;
7
7
 
8
8
  // src/index.ts
9
9
  import {
@@ -22244,7 +22244,8 @@ function claudeAuthFromSdk(value) {
22244
22244
  const provider = text(account.apiProvider);
22245
22245
  if (provider !== void 0 && provider !== "firstParty")
22246
22246
  return { status: "unknown", type: provider };
22247
- if (token === "none" && key === "none") return { status: "unauthenticated" };
22247
+ if (token === "none" && (key === "none" || key === void 0 && provider === "firstParty"))
22248
+ return { status: "unauthenticated" };
22248
22249
  const email = text(account.email);
22249
22250
  const label = text(account.subscriptionType);
22250
22251
  if (provider === "firstParty" && email !== void 0) {
@@ -22592,7 +22593,7 @@ var makeClaudeModelCatalog = (deps) => {
22592
22593
  const readAt = deps.now();
22593
22594
  modelCatalogFailedAt = void 0;
22594
22595
  catalogReadOk = true;
22595
- successfulReadAt = readAt;
22596
+ successfulReadAt = probe.auth?.status === "unauthenticated" ? void 0 : readAt;
22596
22597
  modelCatalog = { models: claudeCatalogFromSdk(probe.models), readAt };
22597
22598
  }
22598
22599
  })().finally(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ycodium-ai/agent-claude",
3
- "version": "0.2.6253",
3
+ "version": "0.2.6266",
4
4
  "description": "Claude executor: Claude Code CLI via @anthropic-ai/claude-agent-sdk.",
5
5
  "keywords": [
6
6
  "ycodium",
@@ -25,11 +25,11 @@
25
25
  "@types/node": "24.12.4",
26
26
  "esbuild": "0.28.1",
27
27
  "vite-plus": "0.2.2",
28
- "@ycodium-ai/plugin-api": "0.2.6253",
29
- "ycodium-instance-config": "0.0.0",
30
- "ycodium-text-generation": "0.0.0",
28
+ "@ycodium-ai/plugin-api": "0.2.6266",
29
+ "ycodium-executor-testing": "0.0.0",
31
30
  "ycodium-jsonl-stream": "0.0.0",
32
- "ycodium-executor-testing": "0.0.0"
31
+ "ycodium-instance-config": "0.0.0",
32
+ "ycodium-text-generation": "0.0.0"
33
33
  },
34
34
  "ycodium": {
35
35
  "plugin": "./dist/index.js",