@ycodium-ai/agent-antigravity 0.2.5100 → 0.2.5192

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 +28 -24
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -1387,7 +1387,7 @@ var require_yauzl = __commonJS({
1387
1387
  import { definePlugin } from "@ycodium-ai/plugin-api";
1388
1388
 
1389
1389
  // ../../packages/plugin-api/src/version.ts
1390
- var PLUGIN_API_VERSION = 148;
1390
+ var PLUGIN_API_VERSION = 153;
1391
1391
 
1392
1392
  // src/index.ts
1393
1393
  import {
@@ -30322,6 +30322,29 @@ async function raceStartAbort(promise2, signal) {
30322
30322
  }
30323
30323
  }
30324
30324
 
30325
+ // ../../packages/ycodium-acp-executor/src/card-defaults.ts
30326
+ var PLUGIN_MANAGED_ACP_CARD_DEFAULTS = {
30327
+ commandName: "",
30328
+ launchArgs: "",
30329
+ homeEnvVar: "",
30330
+ environment: [],
30331
+ install: null,
30332
+ signIn: [],
30333
+ deviceCodeSignInArgs: [],
30334
+ npmPackage: "",
30335
+ homebrewFormula: "",
30336
+ selfUpdateArgs: [],
30337
+ docsUrl: "",
30338
+ setupNote: "",
30339
+ defaultModel: "",
30340
+ customModelIdExample: "",
30341
+ modelSlugAliases: null,
30342
+ mcpTransports: ["stdio", "http", "sse"],
30343
+ pluginManaged: true,
30344
+ verifiedSkills: false,
30345
+ everydayHarness: false
30346
+ };
30347
+
30325
30348
  // ../../packages/ycodium-acp-executor/src/probe.ts
30326
30349
  function withProbeTimeout(promise2, timeoutMs, what, signal) {
30327
30350
  signal?.throwIfAborted();
@@ -30942,31 +30965,12 @@ var ANTIGRAVITY_CARD = {
30942
30965
  driverKind: ANTIGRAVITY_DRIVER_KIND,
30943
30966
  displayName: "Antigravity",
30944
30967
  iconUrl: "./assets/icon.svg",
30945
- // 不报命令名:添加对话框会拿它去 PATH 上找,找不到就提示「先自己装好」,而这个插件
30946
- // 能在设置里替用户下载运行时。
30947
- commandName: "",
30948
- launchArgs: "",
30949
- // 账户目录由插件按实例私有地建,GEMINI_HOME 由插件自己注入;宿主不替它投变量。
30950
- homeEnvVar: "",
30968
+ // commandName 空:添加对话框会拿它去 PATH 上找,找不到就提示「先自己装好」,而这个插件
30969
+ // 能在设置里替用户下载运行时。homeEnvVar 空:账户目录由插件按实例私有地建,GEMINI_HOME
30970
+ // 由插件自己注入。defaultModel 空:型号全由探测报。
30971
+ ...PLUGIN_MANAGED_ACP_CARD_DEFAULTS,
30951
30972
  // 设置表单里留空的格子此刻会用什么,见 index.ts 的同名命令。
30952
30973
  effectiveCommand: "effectiveConfig",
30953
- environment: [],
30954
- install: null,
30955
- signIn: [],
30956
- deviceCodeSignInArgs: [],
30957
- npmPackage: "",
30958
- homebrewFormula: "",
30959
- selfUpdateArgs: [],
30960
- docsUrl: "",
30961
- setupNote: "",
30962
- // 型号全由探测报:账户能用哪些型号只有它自己的会话说得清。
30963
- defaultModel: "",
30964
- customModelIdExample: "",
30965
- modelSlugAliases: null,
30966
- mcpTransports: ["stdio", "http", "sse"],
30967
- pluginManaged: true,
30968
- verifiedSkills: false,
30969
- everydayHarness: false,
30970
30974
  capabilities: {
30971
30975
  // 每一轮提示前执行器都会把输入区选的型号用 `session/set_config_option` 写回。
30972
30976
  sessionModelSwitch: "in-session",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ycodium-ai/agent-antigravity",
3
- "version": "0.2.5100",
3
+ "version": "0.2.5192",
4
4
  "description": "Google Antigravity executor: runs the Antigravity agent over Agent Client Protocol stdio.",
5
5
  "keywords": [
6
6
  "ycodium",
@@ -31,12 +31,12 @@
31
31
  "typescript": "~6.0.3",
32
32
  "vite-plus": "0.2.2",
33
33
  "yauzl": "^3.4.0",
34
- "@ycodium-ai/plugin-api": "0.2.5100",
35
- "ycodium-acp-executor": "0.2.5100",
36
- "ycodium-instance-config": "0.0.0",
34
+ "@ycodium-ai/plugin-api": "0.2.0",
35
+ "ycodium-acp-executor": "0.2.0",
37
36
  "ycodium-executor-testing": "0.0.0",
38
37
  "ycodium-react-test-harness": "0.0.0",
39
- "ycodium-text-generation": "0.0.0"
38
+ "ycodium-text-generation": "0.0.0",
39
+ "ycodium-instance-config": "0.0.0"
40
40
  },
41
41
  "ycodium": {
42
42
  "plugin": "./dist/index.js",