@ycodium-ai/agent-claude 0.2.3484 → 0.2.3502

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 +21 -0
  2. package/dist/index.js +929 -721
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -41,6 +41,27 @@ Facts:
41
41
  - Quota-probe dissolution: `credentialSources` lists the json-file and
42
42
  macOS-keychain locations. `sessions.scan` / `sessions.read` take the Claude
43
43
  half of session-import.
44
+ - Quota checks first ask Claude Code for its structured `/usage` data over the
45
+ SDK control protocol. Each check owns a short-lived, host-managed process with
46
+ the instance's executable and environment; it never borrows a working session
47
+ or sends a prompt. The request sets `skip_behaviors: true` to skip recent-history
48
+ behavior analysis on CLI versions supporting that option. No wrapper names,
49
+ account-directory conventions or proxy ports are special-cased.
50
+ - The native usage API is experimental. Only an explicit unsupported-command
51
+ reply falls back to the existing official OAuth reader. A wrapper without a
52
+ default credential file is reported as unreadable, not signed out. A timeout or
53
+ cancellation closes the owned query process; checks do not run periodically.
54
+ - Account identity comes from the same SDK initialization as the model catalog.
55
+ Both reads use a host-managed short-lived process. CLI-reported email and
56
+ authentication sources take precedence over local credential files; missing
57
+ files alone no longer mean signed out. Login verification refreshes that
58
+ initialization instead of reusing the pre-login account snapshot.
59
+ - Wrapper redirects of configuration directories are not automatically discovered
60
+ for local token-history scans, session import or global skill discovery. Those
61
+ paths still use the configured directory. Live native history uses the transcript
62
+ path reported by Claude Code, and active sessions report their own command list.
63
+ The sign-in command remains Claude Code's login flow; wrapper-specific account
64
+ binding must use the wrapper's own supported login flow.
44
65
 
45
66
  Develop with `vp run --filter @ycodium-ai/agent-claude typecheck`, `build`, and `test`.
46
67