@google/gemini-cli-a2a-server 0.46.0-preview.1 → 0.47.0-nightly.20260605.g4196596f7
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 +16 -16
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/a2a-server.mjs
CHANGED
|
@@ -47453,7 +47453,7 @@ var require_filesubjecttokensupplier = __commonJS({
|
|
|
47453
47453
|
});
|
|
47454
47454
|
var realpath2 = (0, util_1.promisify)((_b = fs89.realpath) !== null && _b !== void 0 ? _b : () => {
|
|
47455
47455
|
});
|
|
47456
|
-
var
|
|
47456
|
+
var lstat3 = (0, util_1.promisify)((_c = fs89.lstat) !== null && _c !== void 0 ? _c : () => {
|
|
47457
47457
|
});
|
|
47458
47458
|
var FileSubjectTokenSupplier = class {
|
|
47459
47459
|
/**
|
|
@@ -47476,7 +47476,7 @@ var require_filesubjecttokensupplier = __commonJS({
|
|
|
47476
47476
|
let parsedFilePath = this.filePath;
|
|
47477
47477
|
try {
|
|
47478
47478
|
parsedFilePath = await realpath2(parsedFilePath);
|
|
47479
|
-
if (!(await
|
|
47479
|
+
if (!(await lstat3(parsedFilePath)).isFile()) {
|
|
47480
47480
|
throw new Error();
|
|
47481
47481
|
}
|
|
47482
47482
|
} catch (err2) {
|
|
@@ -53581,8 +53581,8 @@ var require_graceful_fs = __commonJS({
|
|
|
53581
53581
|
}
|
|
53582
53582
|
var fs$copyFile = fs90.copyFile;
|
|
53583
53583
|
if (fs$copyFile)
|
|
53584
|
-
fs90.copyFile =
|
|
53585
|
-
function
|
|
53584
|
+
fs90.copyFile = copyFile2;
|
|
53585
|
+
function copyFile2(src, dest, flags2, cb) {
|
|
53586
53586
|
if (typeof flags2 === "function") {
|
|
53587
53587
|
cb = flags2;
|
|
53588
53588
|
flags2 = 0;
|
|
@@ -54225,16 +54225,16 @@ var require_copy = __commonJS({
|
|
|
54225
54225
|
throw new Error(`Unknown file: ${src}`);
|
|
54226
54226
|
}
|
|
54227
54227
|
async function onFile(srcStat, destStat, src, dest, opts) {
|
|
54228
|
-
if (!destStat) return
|
|
54228
|
+
if (!destStat) return copyFile2(srcStat, src, dest, opts);
|
|
54229
54229
|
if (opts.overwrite) {
|
|
54230
54230
|
await fs89.unlink(dest);
|
|
54231
|
-
return
|
|
54231
|
+
return copyFile2(srcStat, src, dest, opts);
|
|
54232
54232
|
}
|
|
54233
54233
|
if (opts.errorOnExist) {
|
|
54234
54234
|
throw new Error(`'${dest}' already exists`);
|
|
54235
54235
|
}
|
|
54236
54236
|
}
|
|
54237
|
-
async function
|
|
54237
|
+
async function copyFile2(srcStat, src, dest, opts) {
|
|
54238
54238
|
await fs89.copyFile(src, dest);
|
|
54239
54239
|
if (opts.preserveTimestamps) {
|
|
54240
54240
|
if (fileIsNotWritable(srcStat.mode)) {
|
|
@@ -54346,18 +54346,18 @@ var require_copy_sync = __commonJS({
|
|
|
54346
54346
|
throw new Error(`Unknown file: ${src}`);
|
|
54347
54347
|
}
|
|
54348
54348
|
function onFile(srcStat, destStat, src, dest, opts) {
|
|
54349
|
-
if (!destStat) return
|
|
54349
|
+
if (!destStat) return copyFile2(srcStat, src, dest, opts);
|
|
54350
54350
|
return mayCopyFile(srcStat, src, dest, opts);
|
|
54351
54351
|
}
|
|
54352
54352
|
function mayCopyFile(srcStat, src, dest, opts) {
|
|
54353
54353
|
if (opts.overwrite) {
|
|
54354
54354
|
fs89.unlinkSync(dest);
|
|
54355
|
-
return
|
|
54355
|
+
return copyFile2(srcStat, src, dest, opts);
|
|
54356
54356
|
} else if (opts.errorOnExist) {
|
|
54357
54357
|
throw new Error(`'${dest}' already exists`);
|
|
54358
54358
|
}
|
|
54359
54359
|
}
|
|
54360
|
-
function
|
|
54360
|
+
function copyFile2(srcStat, src, dest, opts) {
|
|
54361
54361
|
fs89.copyFileSync(src, dest);
|
|
54362
54362
|
if (opts.preserveTimestamps) handleTimestamps(srcStat.mode, src, dest);
|
|
54363
54363
|
return setDestMode(dest, srcStat.mode);
|
|
@@ -85673,7 +85673,7 @@ var require_filesubjecttokensupplier2 = __commonJS({
|
|
|
85673
85673
|
}));
|
|
85674
85674
|
var realpath2 = (0, util_1.promisify)(fs89.realpath ?? (() => {
|
|
85675
85675
|
}));
|
|
85676
|
-
var
|
|
85676
|
+
var lstat3 = (0, util_1.promisify)(fs89.lstat ?? (() => {
|
|
85677
85677
|
}));
|
|
85678
85678
|
var FileSubjectTokenSupplier = class {
|
|
85679
85679
|
filePath;
|
|
@@ -85699,7 +85699,7 @@ var require_filesubjecttokensupplier2 = __commonJS({
|
|
|
85699
85699
|
let parsedFilePath = this.filePath;
|
|
85700
85700
|
try {
|
|
85701
85701
|
parsedFilePath = await realpath2(parsedFilePath);
|
|
85702
|
-
if (!(await
|
|
85702
|
+
if (!(await lstat3(parsedFilePath)).isFile()) {
|
|
85703
85703
|
throw new Error();
|
|
85704
85704
|
}
|
|
85705
85705
|
} catch (err2) {
|
|
@@ -211657,8 +211657,8 @@ var GIT_COMMIT_INFO, CLI_VERSION;
|
|
|
211657
211657
|
var init_git_commit = __esm({
|
|
211658
211658
|
"packages/core/dist/src/generated/git-commit.js"() {
|
|
211659
211659
|
"use strict";
|
|
211660
|
-
GIT_COMMIT_INFO = "
|
|
211661
|
-
CLI_VERSION = "0.
|
|
211660
|
+
GIT_COMMIT_INFO = "4196596f7";
|
|
211661
|
+
CLI_VERSION = "0.47.0-nightly.20260605.g4196596f7";
|
|
211662
211662
|
}
|
|
211663
211663
|
});
|
|
211664
211664
|
|
|
@@ -332683,7 +332683,7 @@ function getVersion() {
|
|
|
332683
332683
|
}
|
|
332684
332684
|
versionPromise = (async () => {
|
|
332685
332685
|
const pkgJson = await getPackageJson(__dirname4);
|
|
332686
|
-
return "0.
|
|
332686
|
+
return "0.47.0-nightly.20260605.g4196596f7";
|
|
332687
332687
|
})();
|
|
332688
332688
|
return versionPromise;
|
|
332689
332689
|
}
|
|
@@ -400696,6 +400696,7 @@ var init_config3 = __esm({
|
|
|
400696
400696
|
"packages/core/dist/src/policy/config.js"() {
|
|
400697
400697
|
"use strict";
|
|
400698
400698
|
init_storage();
|
|
400699
|
+
init_debugLogger();
|
|
400699
400700
|
init_types2();
|
|
400700
400701
|
init_toml_loader();
|
|
400701
400702
|
init_utils4();
|
|
@@ -400703,7 +400704,6 @@ var init_config3 = __esm({
|
|
|
400703
400704
|
init_types4();
|
|
400704
400705
|
init_message_bus();
|
|
400705
400706
|
init_events();
|
|
400706
|
-
init_debugLogger();
|
|
400707
400707
|
init_shell_utils();
|
|
400708
400708
|
init_tool_names();
|
|
400709
400709
|
init_errors2();
|