@ycodium-ai/plugin-api 0.2.5357 → 0.2.5407

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
@@ -653,7 +653,13 @@ No thread, timeout, interruption or restart cancels the call. Guard callbacks st
653
653
 
654
654
  <!-- plugin-api-versions:start (generated by scripts/gen-plugin-api-version.ts from packages/plugin-api/version-history.json; edit that file) -->
655
655
 
656
- The current API is **167**. This Ycodium loads plugins declaring 166 through 167.
656
+ The current API is **170**. This Ycodium loads plugins declaring 166 through 170.
657
+
658
+ API 170 adds `antigravity` as a provider in the token buckets and source fingerprints returned by `ctx.usage.tokens.get()`
659
+
660
+ API 169 carries the executor card host facts and the settings digest on the provider data ports: the executor list output's `card` now includes `resumeCommand`, `repositoryInstructionsFile`, `signInNotNeededWhen`, `mcpToolNameStyle` and `homeLayout.accountEnvVar`, and every provider row the machine settings and instance maintenance ports return (`install`, `update`, `sign-in`, `cancel maintenance`) carries `configDigest`, the digest of the exact settings a probe measured under.
661
+
662
+ API 168 adds four optional `ExecutorCard` fields the host reads instead of recognizing drivers by name: `resumeCommand` (the "continue in a terminal" command built from the resume cursor), `repositoryInstructionsFile` (a file the CLI reads besides `AGENTS.md`, also used when the host writes commit messages with this hand), `signInNotNeededWhen` (an instance config value that makes sign-in unnecessary, such as an API-key mode) and `mcpToolNameStyle` (`"server_tool"` when the hand names MCP tools `<server>_<tool>`). Also adds optional `ExecutorHomeLayout.accountEnvVar`: the variable that carries a separate account directory while `homeEnvVar` keeps the shared one (Claude Code's `CLAUDE_SECURESTORAGE_CONFIG_DIR`); the host resolves directories and maintenance environments from it.
657
663
 
658
664
  API 167 adds optional title and applicability to experience record, revise and read ports; omitted revise fields preserve the base revision values and empty strings clear them
659
665
 
@@ -1901,6 +1901,7 @@ type Arrays_13 = ReadonlyArray<{
1901
1901
  readonly "email"?: string | undefined;
1902
1902
  };
1903
1903
  readonly "checkedAt": string;
1904
+ readonly "configDigest"?: string;
1904
1905
  readonly "models": ReadonlyArray<{
1905
1906
  readonly "slug": string;
1906
1907
  readonly "name": string;
@@ -5694,6 +5695,7 @@ export type ProvidersExecutorsListOutput = {
5694
5695
  readonly "homeLayout"?: {
5695
5696
  readonly "accountConfigKey": string;
5696
5697
  readonly "transcriptSubdir": string;
5698
+ readonly "accountEnvVar"?: string | undefined;
5697
5699
  } | undefined;
5698
5700
  readonly "accountDirectory"?: {
5699
5701
  readonly "configKeys": readonly [string, ...Array<string>];
@@ -5701,6 +5703,16 @@ export type ProvidersExecutorsListOutput = {
5701
5703
  readonly "brandAliases"?: ReadonlyArray<string>;
5702
5704
  readonly "holdsThreads"?: boolean;
5703
5705
  } | undefined;
5706
+ readonly "resumeCommand"?: {
5707
+ readonly "cursorKeys": readonly [string, ...Array<string>];
5708
+ readonly "command": string;
5709
+ } | undefined;
5710
+ readonly "repositoryInstructionsFile"?: string | undefined;
5711
+ readonly "signInNotNeededWhen"?: {
5712
+ readonly "configKey": string;
5713
+ readonly "equals": string;
5714
+ } | undefined;
5715
+ readonly "mcpToolNameStyle"?: "server_tool" | undefined;
5704
5716
  readonly "environment": ReadonlyArray<{
5705
5717
  readonly "name": string;
5706
5718
  readonly "sensitive": boolean;
@@ -6407,7 +6419,7 @@ export type UsageTokensGetOutput = {
6407
6419
  readonly "buckets": ReadonlyArray<{
6408
6420
  readonly "day": string;
6409
6421
  readonly "hourStart"?: string | undefined;
6410
- readonly "provider": "claude" | "codex" | "grok" | "opencode" | "dsh" | "kimi" | "pi" | "acp";
6422
+ readonly "provider": "claude" | "codex" | "grok" | "opencode" | "dsh" | "kimi" | "pi" | "antigravity" | "acp";
6411
6423
  readonly "model": string;
6412
6424
  readonly "totals": {
6413
6425
  readonly "uncachedInputTokens": number;
@@ -6426,7 +6438,7 @@ export type UsageTokensGetOutput = {
6426
6438
  readonly "sources": ReadonlyArray<{
6427
6439
  readonly "fingerprint": {
6428
6440
  readonly "hostId": string;
6429
- readonly "provider": "claude" | "codex" | "grok" | "opencode" | "dsh" | "kimi" | "pi" | "acp";
6441
+ readonly "provider": "claude" | "codex" | "grok" | "opencode" | "dsh" | "kimi" | "pi" | "antigravity" | "acp";
6430
6442
  readonly "resolvedHomePath": string;
6431
6443
  readonly "volumeId": string;
6432
6444
  };
@@ -9366,6 +9378,7 @@ export type MachineSettingsProvidersGetEncodedOutput = {
9366
9378
  readonly "email"?: string | undefined;
9367
9379
  };
9368
9380
  readonly "checkedAt": string;
9381
+ readonly "configDigest"?: string;
9369
9382
  readonly "models": ReadonlyArray<{
9370
9383
  readonly "slug": string;
9371
9384
  readonly "name": string;