@google/gemini-cli-a2a-server 0.19.0 → 0.19.2
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/dist/a2a-server.mjs +12 -7
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/a2a-server.mjs
CHANGED
|
@@ -307803,8 +307803,8 @@ var Float64Vector = import_vector.default.Float64Vector;
|
|
|
307803
307803
|
var PointerVector = import_vector.default.PointerVector;
|
|
307804
307804
|
|
|
307805
307805
|
// packages/core/dist/src/generated/git-commit.js
|
|
307806
|
-
var GIT_COMMIT_INFO = "
|
|
307807
|
-
var CLI_VERSION = "0.19.
|
|
307806
|
+
var GIT_COMMIT_INFO = "95f9032bf";
|
|
307807
|
+
var CLI_VERSION = "0.19.2";
|
|
307808
307808
|
|
|
307809
307809
|
// packages/core/dist/src/ide/detect-ide.js
|
|
307810
307810
|
var IDE_DEFINITIONS = {
|
|
@@ -310731,7 +310731,7 @@ async function createContentGenerator(config3, gcConfig, sessionId2) {
|
|
|
310731
310731
|
if (gcConfig.fakeResponses) {
|
|
310732
310732
|
return FakeContentGenerator.fromFile(gcConfig.fakeResponses);
|
|
310733
310733
|
}
|
|
310734
|
-
const version4 = "0.19.
|
|
310734
|
+
const version4 = "0.19.2";
|
|
310735
310735
|
const customHeadersEnv = process.env["GEMINI_CLI_CUSTOM_HEADERS"] || void 0;
|
|
310736
310736
|
const userAgent = `GeminiCLI/${version4} (${process.platform}; ${process.arch})`;
|
|
310737
310737
|
const customHeadersMap = parseCustomHeaders(customHeadersEnv);
|
|
@@ -354685,6 +354685,7 @@ function convertColorToHex(color, colorMode, defaultColor) {
|
|
|
354685
354685
|
var { Terminal } = import_headless.default;
|
|
354686
354686
|
var SIGKILL_TIMEOUT_MS = 200;
|
|
354687
354687
|
var MAX_CHILD_PROCESS_BUFFER_SIZE = 16 * 1024 * 1024;
|
|
354688
|
+
var SCROLLBACK_LIMIT = 3e5;
|
|
354688
354689
|
var BASH_SHOPT_OPTIONS = "promptvars nullglob extglob nocaseglob dotglob";
|
|
354689
354690
|
var BASH_SHOPT_GUARD = `shopt -u ${BASH_SHOPT_OPTIONS};`;
|
|
354690
354691
|
function ensurePromptvarsDisabled(command, shell) {
|
|
@@ -354702,10 +354703,13 @@ var getFullBufferText = (terminal) => {
|
|
|
354702
354703
|
const lines = [];
|
|
354703
354704
|
for (let i4 = 0; i4 < buffer.length; i4++) {
|
|
354704
354705
|
const line = buffer.getLine(i4);
|
|
354705
|
-
const lineContent = line ? line.translateToString() : "";
|
|
354706
|
+
const lineContent = line ? line.translateToString(true) : "";
|
|
354706
354707
|
lines.push(lineContent);
|
|
354707
354708
|
}
|
|
354708
|
-
|
|
354709
|
+
while (lines.length > 0 && lines[lines.length - 1] === "") {
|
|
354710
|
+
lines.pop();
|
|
354711
|
+
}
|
|
354712
|
+
return lines.join("\n");
|
|
354709
354713
|
};
|
|
354710
354714
|
var ShellExecutionService = class {
|
|
354711
354715
|
static activePtys = /* @__PURE__ */ new Map();
|
|
@@ -354940,7 +354944,8 @@ var ShellExecutionService = class {
|
|
|
354940
354944
|
const headlessTerminal = new Terminal({
|
|
354941
354945
|
allowProposedApi: true,
|
|
354942
354946
|
cols,
|
|
354943
|
-
rows
|
|
354947
|
+
rows,
|
|
354948
|
+
scrollback: shellExecutionConfig.scrollback ?? SCROLLBACK_LIMIT
|
|
354944
354949
|
});
|
|
354945
354950
|
headlessTerminal.scrollToTop();
|
|
354946
354951
|
this.activePtys.set(ptyProcess.pid, { ptyProcess, headlessTerminal });
|
|
@@ -373914,7 +373919,7 @@ async function getClientMetadata() {
|
|
|
373914
373919
|
clientMetadataPromise = (async () => ({
|
|
373915
373920
|
ideName: "IDE_UNSPECIFIED",
|
|
373916
373921
|
pluginType: "GEMINI",
|
|
373917
|
-
ideVersion: "0.19.
|
|
373922
|
+
ideVersion: "0.19.2",
|
|
373918
373923
|
platform: getPlatform(),
|
|
373919
373924
|
updateChannel: await getReleaseChannel(__dirname5)
|
|
373920
373925
|
}))();
|