@google/gemini-cli 0.56.0 → 0.57.0-preview.0

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 (55) hide show
  1. package/bundle/builtin/antigravity-support/SKILL.md +55 -18
  2. package/bundle/builtin/skill-creator/SKILL.md +221 -84
  3. package/bundle/{chunk-DGFXNTHD.js → chunk-2UGGPOEV.js} +1 -1
  4. package/bundle/{chunk-LZUWGCRJ.js → chunk-2UICYJMD.js} +1604 -1334
  5. package/bundle/{chunk-R34LMPUE.js → chunk-3C6JYNPC.js} +10 -9
  6. package/bundle/{chunk-Y3KSGWY2.js → chunk-6S4UF4JM.js} +3 -3
  7. package/bundle/{chunk-CNSLGANE.js → chunk-73OHVDUZ.js} +10 -9
  8. package/bundle/{chunk-3KYPKZPU.js → chunk-ACDZS2RE.js} +1 -1
  9. package/bundle/{chunk-BIPFNROE.js → chunk-EBKNEOAO.js} +1 -1
  10. package/bundle/{chunk-MYCBWRZE.js → chunk-FWGOOSQK.js} +1660 -1360
  11. package/bundle/{chunk-ZXYNNAXR.js → chunk-H2URGA7U.js} +3 -3
  12. package/bundle/{chunk-7IXYIWSX.js → chunk-HKTHSWSS.js} +10 -9
  13. package/bundle/{chunk-C5FHWCAU.js → chunk-IKGOC5B6.js} +1 -1
  14. package/bundle/{chunk-3YGHKCB7.js → chunk-M6E5CLIH.js} +1 -1
  15. package/bundle/{chunk-ISEPPPFO.js → chunk-NXS624CI.js} +2 -2
  16. package/bundle/{chunk-TV27OEQP.js → chunk-O3QB4SVS.js} +2 -2
  17. package/bundle/{chunk-HAZMOWRC.js → chunk-OFFEM74O.js} +1 -1
  18. package/bundle/{chunk-JFVPVDW6.js → chunk-QB46S6FV.js} +1 -1
  19. package/bundle/{chunk-IG5K7R25.js → chunk-QVDXZMEX.js} +1 -1
  20. package/bundle/{chunk-NUVMJEWM.js → chunk-R3JDAZVL.js} +1660 -1360
  21. package/bundle/{chunk-VBIDFL63.js → chunk-SHIJDXMN.js} +1 -1
  22. package/bundle/{chunk-M6D6BI7B.js → chunk-W4CY7TCG.js} +2 -2
  23. package/bundle/{chunk-KUIZDCN6.js → chunk-WH63Z45A.js} +1 -1
  24. package/bundle/{chunk-MKKOABMJ.js → chunk-XDJMDRLM.js} +3 -3
  25. package/bundle/{chunk-Y734TK7O.js → chunk-XZF4EZOQ.js} +1 -1
  26. package/bundle/{chunk-435NYDJB.js → chunk-ZY7Z5W6K.js} +1 -1
  27. package/bundle/{cleanup-IZHI7N6V.js → cleanup-JP2FD3CQ.js} +2 -2
  28. package/bundle/{cleanup-JZLQPF2L.js → cleanup-YFIFTNZ6.js} +2 -2
  29. package/bundle/{cleanup-LJAAR5DT.js → cleanup-Z65H2CUW.js} +2 -2
  30. package/bundle/{core-TJ2XBV6Y.js → core-EKXLT2AG.js} +3 -1
  31. package/bundle/{dist-7KO3HJ4C.js → core-UBOS4Q6R.js} +3 -1
  32. package/bundle/{devtoolsService-KFURCXJN.js → devtoolsService-A34WT2MQ.js} +2 -2
  33. package/bundle/{devtoolsService-BFW3BN3D.js → devtoolsService-ACKZ7HRR.js} +2 -2
  34. package/bundle/{devtoolsService-NWA77XKC.js → devtoolsService-BHG3WQEY.js} +2 -2
  35. package/bundle/{core-BQJQAXVF.js → dist-B7OLK6PK.js} +3 -1
  36. package/bundle/docs/changelogs/latest.md +224 -3
  37. package/bundle/docs/get-started/authentication.mdx +1 -1
  38. package/bundle/docs/reference/commands.md +7 -5
  39. package/bundle/{gemini-54R2PJOR.js → gemini-3U3DNSSI.js} +19 -16
  40. package/bundle/{gemini-KK7AERSF.js → gemini-7Z3ODIIX.js} +19 -16
  41. package/bundle/{gemini-2RHAL2LS.js → gemini-NJXFBFVJ.js} +19 -16
  42. package/bundle/gemini.js +7 -7
  43. package/bundle/{interactiveCli-F5YXG24U.js → interactiveCli-DNV4GCM5.js} +28 -20
  44. package/bundle/{interactiveCli-QBZRIN4M.js → interactiveCli-FIWFPOOG.js} +28 -20
  45. package/bundle/{interactiveCli-BAGEJ4VO.js → interactiveCli-LMXAWUCU.js} +28 -20
  46. package/bundle/{liteRtServerManager-CYBHL4LH.js → liteRtServerManager-LQMOE7JK.js} +4 -4
  47. package/bundle/{liteRtServerManager-DMTHAOJH.js → liteRtServerManager-P62A6ZVG.js} +4 -4
  48. package/bundle/{liteRtServerManager-7LTDMYKI.js → liteRtServerManager-VBKDVKLU.js} +4 -4
  49. package/bundle/{oauth2-provider-S2564L6K.js → oauth2-provider-BKNKX6FS.js} +1 -1
  50. package/bundle/{oauth2-provider-NOSS4GIR.js → oauth2-provider-FWKP5A4D.js} +1 -1
  51. package/bundle/{oauth2-provider-HNMIIJDH.js → oauth2-provider-UPRM4Y2J.js} +1 -1
  52. package/bundle/{start-L2WLGVI3.js → start-BMBCT2CF.js} +6 -6
  53. package/bundle/{start-UGLCJG5Y.js → start-DG3DHS3K.js} +6 -6
  54. package/bundle/{start-5F3JQ7EX.js → start-Y2JKSYXK.js} +6 -6
  55. package/package.json +1 -1
@@ -157,10 +157,10 @@ import {
157
157
  widestLineFromStyledChars,
158
158
  wordBreakStyledChars,
159
159
  wrapStyledChars
160
- } from "./chunk-7IXYIWSX.js";
160
+ } from "./chunk-3C6JYNPC.js";
161
161
  import {
162
162
  require_source
163
- } from "./chunk-Y734TK7O.js";
163
+ } from "./chunk-EBKNEOAO.js";
164
164
  import {
165
165
  appEvents
166
166
  } from "./chunk-5PS3AYFU.js";
@@ -214,24 +214,24 @@ import {
214
214
  stripAnsi,
215
215
  stripUnsafeCharacters,
216
216
  toCodePoints
217
- } from "./chunk-KUIZDCN6.js";
217
+ } from "./chunk-IKGOC5B6.js";
218
218
  import {
219
219
  handleAutoUpdate,
220
220
  isDevelopment,
221
221
  relaunchApp,
222
222
  setUpdateHandler
223
- } from "./chunk-ISEPPPFO.js";
223
+ } from "./chunk-NXS624CI.js";
224
224
  import {
225
225
  isTodoList,
226
226
  mapCoreStatusToDisplayStatus,
227
227
  require_react
228
- } from "./chunk-JFVPVDW6.js";
228
+ } from "./chunk-ZY7Z5W6K.js";
229
229
  import {
230
230
  registerCleanup,
231
231
  removeCleanup,
232
232
  runExitCleanup,
233
233
  setupTtyCheck
234
- } from "./chunk-3YGHKCB7.js";
234
+ } from "./chunk-OFFEM74O.js";
235
235
  import {
236
236
  ACTIVATE_SKILL_TOOL_NAME,
237
237
  AGENT_TOOL_NAME,
@@ -418,7 +418,7 @@ import {
418
418
  validatePlanContent,
419
419
  validatePlanPath,
420
420
  writeToStdout
421
- } from "./chunk-MYCBWRZE.js";
421
+ } from "./chunk-FWGOOSQK.js";
422
422
  import "./chunk-664ZODQF.js";
423
423
  import "./chunk-IUUIT4SU.js";
424
424
  import "./chunk-TUDYL3X4.js";
@@ -15449,8 +15449,16 @@ var CloudFreePrivacyNotice = ({
15449
15449
  ] });
15450
15450
  }
15451
15451
  const items = [
15452
- { label: "Yes", value: true, key: "true" },
15453
- { label: "No", value: false, key: "false" }
15452
+ {
15453
+ label: "Yes, grant permission to use my data for product improvement (Opt-in)",
15454
+ value: true,
15455
+ key: "true"
15456
+ },
15457
+ {
15458
+ label: "No, deny permission to use my data for product improvement (Opt-out)",
15459
+ value: false,
15460
+ key: "false"
15461
+ }
15454
15462
  ];
15455
15463
  return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(Box_default, { flexDirection: "column", marginY: 1, children: [
15456
15464
  /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Text, { bold: true, color: theme.text.accent, children: "Gemini Code Assist for Individuals Privacy Notice" }),
@@ -15465,12 +15473,15 @@ var CloudFreePrivacyNotice = ({
15465
15473
  /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Newline, {}),
15466
15474
  /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Text, { color: theme.text.primary, children: "To help with quality and improve our products (such as generative machine-learning models), human reviewers may read, annotate, and process the data collected above. We take steps to protect your privacy as part of this process. This includes disconnecting the data from your Google Account before reviewers see or annotate it, and storing those disconnected copies for up to 18 months. Please don't submit confidential information or any data you wouldn't want a reviewer to see or Google to use to improve our products, services and machine-learning technologies." }),
15467
15475
  /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Newline, {}),
15476
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Text, { color: theme.text.primary, children: `If you don't want this data used to improve Google's products and services, you can opt out by selecting "No, deny permission to use my data for product improvement (Opt-out)" below. Otherwise, you can opt in by selecting "Yes, grant permission to use my data for product improvement (Opt-in)".` }),
15477
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Newline, {}),
15468
15478
  /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(Box_default, { flexDirection: "column", children: [
15469
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Text, { color: theme.text.primary, children: "Allow Google to use this data to develop and improve our products?" }),
15479
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Text, { color: theme.text.primary, children: "Allow Google to use this data to develop and improve our products and services?" }),
15470
15480
  /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
15471
15481
  RadioButtonSelect,
15472
15482
  {
15473
15483
  items,
15484
+ renderItem: (item, { titleColor }) => /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Box_default, { flexDirection: "column", children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Text, { color: titleColor, wrap: "wrap", children: item.label }) }),
15474
15485
  initialIndex: privacyState.dataCollectionOptIn ? 0 : 1,
15475
15486
  onSelect: (value) => {
15476
15487
  updateDataCollectionOptIn(value);
@@ -20545,13 +20556,7 @@ function useCommandCompletion({
20545
20556
  }
20546
20557
  const lineCodePoints = toCodePoints(buffer.lines[cursorRow] || "");
20547
20558
  const charAfterCompletion = lineCodePoints[end];
20548
- let shouldAddSpace = true;
20549
- if (completionMode === "SLASH" /* SLASH */) {
20550
- const command = slashCompletionRange.getCommandFromSuggestion(suggestion);
20551
- const isExecutableCommand = !!(command && command.action);
20552
- const requiresArguments = !!(command && command.completion);
20553
- shouldAddSpace = !isExecutableCommand || requiresArguments;
20554
- }
20559
+ const shouldAddSpace = true;
20555
20560
  if (charAfterCompletion !== " " && !suggestionText.endsWith("/") && !suggestionText.endsWith("\\") && shouldAddSpace) {
20556
20561
  suggestionText += " ";
20557
20562
  }
@@ -25504,9 +25509,10 @@ function useQuotaAndFallback({
25504
25509
  ];
25505
25510
  message = messageLines.join("\n");
25506
25511
  } else if (VALID_GEMINI_MODELS.has(failedModel)) {
25512
+ const detailMessage = userTier === UserTierId.FREE ? "This model is not available for personal accounts." : "Your admin might have disabled the access. Contact them to enable the Preview Release Channel.";
25507
25513
  const messageLines = [
25508
25514
  `It seems like you don't have access to ${getDisplayString(failedModel)}.`,
25509
- `Your admin might have disabled the access. Contact them to enable the Preview Release Channel.`
25515
+ detailMessage
25510
25516
  ];
25511
25517
  message = messageLines.join("\n");
25512
25518
  } else {
@@ -32932,10 +32938,12 @@ var AppContainer = (props) => {
32932
32938
  enableMouseEvents();
32933
32939
  disableLineWrapping();
32934
32940
  app.rerender();
32941
+ } else if (config.getUseTerminalBuffer()) {
32942
+ app.rerender();
32935
32943
  }
32936
32944
  terminalCapabilityManager.enableSupportedModes();
32937
32945
  refreshStatic();
32938
- }, [refreshStatic, shouldUseAlternateScreen, app]);
32946
+ }, [refreshStatic, shouldUseAlternateScreen, app, config]);
32939
32947
  const [editorError, setEditorError] = (0, import_react121.useState)(null);
32940
32948
  const {
32941
32949
  isEditorDialogOpen,
@@ -33916,7 +33924,7 @@ ${queuedText}` : queuedText;
33916
33924
  if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
33917
33925
  if (settings.merged.general.devtools) {
33918
33926
  void (async () => {
33919
- const { toggleDevToolsPanel } = await import("./devtoolsService-NWA77XKC.js");
33927
+ const { toggleDevToolsPanel } = await import("./devtoolsService-BHG3WQEY.js");
33920
33928
  await toggleDevToolsPanel(
33921
33929
  config,
33922
33930
  showErrorDetails,
@@ -3,11 +3,11 @@ import {
3
3
  DEFAULT_PORT,
4
4
  getBinaryPath,
5
5
  isServerRunning
6
- } from "./chunk-KUIZDCN6.js";
7
- import "./chunk-JFVPVDW6.js";
6
+ } from "./chunk-WH63Z45A.js";
7
+ import "./chunk-QB46S6FV.js";
8
8
  import {
9
9
  debugLogger
10
- } from "./chunk-MYCBWRZE.js";
10
+ } from "./chunk-R3JDAZVL.js";
11
11
  import "./chunk-664ZODQF.js";
12
12
  import "./chunk-IUUIT4SU.js";
13
13
  import "./chunk-TUDYL3X4.js";
@@ -41,7 +41,7 @@ var LiteRtServerManager = class {
41
41
  `[LiteRtServerManager] Auto-starting LiteRT server on port ${port}...`
42
42
  );
43
43
  try {
44
- const { startServer } = await import("./start-5F3JQ7EX.js");
44
+ const { startServer } = await import("./start-Y2JKSYXK.js");
45
45
  const started = await startServer(binaryPath, port);
46
46
  if (started) {
47
47
  debugLogger.log(`[LiteRtServerManager] Server started on port ${port}`);
@@ -3,11 +3,11 @@ import {
3
3
  DEFAULT_PORT,
4
4
  getBinaryPath,
5
5
  isServerRunning
6
- } from "./chunk-C5FHWCAU.js";
7
- import "./chunk-435NYDJB.js";
6
+ } from "./chunk-QVDXZMEX.js";
7
+ import "./chunk-SHIJDXMN.js";
8
8
  import {
9
9
  debugLogger
10
- } from "./chunk-NUVMJEWM.js";
10
+ } from "./chunk-2UICYJMD.js";
11
11
  import "./chunk-664ZODQF.js";
12
12
  import "./chunk-IUUIT4SU.js";
13
13
  import "./chunk-TUDYL3X4.js";
@@ -41,7 +41,7 @@ var LiteRtServerManager = class {
41
41
  `[LiteRtServerManager] Auto-starting LiteRT server on port ${port}...`
42
42
  );
43
43
  try {
44
- const { startServer } = await import("./start-L2WLGVI3.js");
44
+ const { startServer } = await import("./start-DG3DHS3K.js");
45
45
  const started = await startServer(binaryPath, port);
46
46
  if (started) {
47
47
  debugLogger.log(`[LiteRtServerManager] Server started on port ${port}`);
@@ -3,11 +3,11 @@ import {
3
3
  DEFAULT_PORT,
4
4
  getBinaryPath,
5
5
  isServerRunning
6
- } from "./chunk-IG5K7R25.js";
7
- import "./chunk-VBIDFL63.js";
6
+ } from "./chunk-IKGOC5B6.js";
7
+ import "./chunk-ZY7Z5W6K.js";
8
8
  import {
9
9
  debugLogger
10
- } from "./chunk-LZUWGCRJ.js";
10
+ } from "./chunk-FWGOOSQK.js";
11
11
  import "./chunk-664ZODQF.js";
12
12
  import "./chunk-IUUIT4SU.js";
13
13
  import "./chunk-TUDYL3X4.js";
@@ -41,7 +41,7 @@ var LiteRtServerManager = class {
41
41
  `[LiteRtServerManager] Auto-starting LiteRT server on port ${port}...`
42
42
  );
43
43
  try {
44
- const { startServer } = await import("./start-UGLCJG5Y.js");
44
+ const { startServer } = await import("./start-BMBCT2CF.js");
45
45
  const started = await startServer(binaryPath, port);
46
46
  if (started) {
47
47
  debugLogger.log(`[LiteRtServerManager] Server started on port ${port}`);
@@ -16,7 +16,7 @@ import {
16
16
  openBrowserSecurely,
17
17
  refreshAccessToken,
18
18
  startCallbackServer
19
- } from "./chunk-LZUWGCRJ.js";
19
+ } from "./chunk-2UICYJMD.js";
20
20
  import "./chunk-664ZODQF.js";
21
21
  import "./chunk-IUUIT4SU.js";
22
22
  import "./chunk-TUDYL3X4.js";
@@ -16,7 +16,7 @@ import {
16
16
  openBrowserSecurely,
17
17
  refreshAccessToken,
18
18
  startCallbackServer
19
- } from "./chunk-NUVMJEWM.js";
19
+ } from "./chunk-FWGOOSQK.js";
20
20
  import "./chunk-664ZODQF.js";
21
21
  import "./chunk-IUUIT4SU.js";
22
22
  import "./chunk-TUDYL3X4.js";
@@ -16,7 +16,7 @@ import {
16
16
  openBrowserSecurely,
17
17
  refreshAccessToken,
18
18
  startCallbackServer
19
- } from "./chunk-MYCBWRZE.js";
19
+ } from "./chunk-R3JDAZVL.js";
20
20
  import "./chunk-664ZODQF.js";
21
21
  import "./chunk-IUUIT4SU.js";
22
22
  import "./chunk-TUDYL3X4.js";
@@ -2,12 +2,12 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  startCommand,
4
4
  startServer
5
- } from "./chunk-MKKOABMJ.js";
6
- import "./chunk-BIPFNROE.js";
7
- import "./chunk-C5FHWCAU.js";
8
- import "./chunk-435NYDJB.js";
9
- import "./chunk-DGFXNTHD.js";
10
- import "./chunk-NUVMJEWM.js";
5
+ } from "./chunk-6S4UF4JM.js";
6
+ import "./chunk-EBKNEOAO.js";
7
+ import "./chunk-IKGOC5B6.js";
8
+ import "./chunk-ZY7Z5W6K.js";
9
+ import "./chunk-OFFEM74O.js";
10
+ import "./chunk-FWGOOSQK.js";
11
11
  import "./chunk-664ZODQF.js";
12
12
  import "./chunk-IUUIT4SU.js";
13
13
  import "./chunk-TUDYL3X4.js";
@@ -2,12 +2,12 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  startCommand,
4
4
  startServer
5
- } from "./chunk-Y3KSGWY2.js";
6
- import "./chunk-3KYPKZPU.js";
7
- import "./chunk-IG5K7R25.js";
8
- import "./chunk-VBIDFL63.js";
9
- import "./chunk-HAZMOWRC.js";
10
- import "./chunk-LZUWGCRJ.js";
5
+ } from "./chunk-XDJMDRLM.js";
6
+ import "./chunk-XZF4EZOQ.js";
7
+ import "./chunk-QVDXZMEX.js";
8
+ import "./chunk-SHIJDXMN.js";
9
+ import "./chunk-M6E5CLIH.js";
10
+ import "./chunk-2UICYJMD.js";
11
11
  import "./chunk-664ZODQF.js";
12
12
  import "./chunk-IUUIT4SU.js";
13
13
  import "./chunk-TUDYL3X4.js";
@@ -2,12 +2,12 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  startCommand,
4
4
  startServer
5
- } from "./chunk-ZXYNNAXR.js";
6
- import "./chunk-Y734TK7O.js";
7
- import "./chunk-KUIZDCN6.js";
8
- import "./chunk-JFVPVDW6.js";
9
- import "./chunk-3YGHKCB7.js";
10
- import "./chunk-MYCBWRZE.js";
5
+ } from "./chunk-H2URGA7U.js";
6
+ import "./chunk-ACDZS2RE.js";
7
+ import "./chunk-WH63Z45A.js";
8
+ import "./chunk-QB46S6FV.js";
9
+ import "./chunk-2UGGPOEV.js";
10
+ import "./chunk-R3JDAZVL.js";
11
11
  import "./chunk-664ZODQF.js";
12
12
  import "./chunk-IUUIT4SU.js";
13
13
  import "./chunk-TUDYL3X4.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@google/gemini-cli",
3
- "version": "0.56.0",
3
+ "version": "0.57.0-preview.0",
4
4
  "description": "Gemini CLI",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {