ai-sdk-provider-gemini-cli-agentic 0.1.6 → 0.1.7
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/index.cjs +2 -6
- package/dist/index.js +2 -6
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -360,13 +360,11 @@ var GeminiCliLanguageModel = class {
|
|
|
360
360
|
let finishReason = { unified: "stop", raw: void 0 };
|
|
361
361
|
const content = [];
|
|
362
362
|
const toolResults = /* @__PURE__ */ new Map();
|
|
363
|
-
const isWin = process.platform === "win32";
|
|
364
363
|
const child = child_process.spawn(cmd, args, {
|
|
365
364
|
env,
|
|
366
365
|
cwd,
|
|
367
366
|
shell,
|
|
368
|
-
stdio: ["pipe", "pipe", "pipe"]
|
|
369
|
-
detached: !isWin
|
|
367
|
+
stdio: ["pipe", "pipe", "pipe"]
|
|
370
368
|
});
|
|
371
369
|
const killProcessTree = (pid, signal = "SIGTERM") => {
|
|
372
370
|
treeKill__default.default(pid, signal);
|
|
@@ -505,13 +503,11 @@ var GeminiCliLanguageModel = class {
|
|
|
505
503
|
const stream = new ReadableStream({
|
|
506
504
|
start(controller) {
|
|
507
505
|
const startTime = Date.now();
|
|
508
|
-
const isWin = process.platform === "win32";
|
|
509
506
|
const child = child_process.spawn(cmd, args, {
|
|
510
507
|
env,
|
|
511
508
|
cwd,
|
|
512
509
|
shell,
|
|
513
|
-
stdio: ["pipe", "pipe", "pipe"]
|
|
514
|
-
detached: !isWin
|
|
510
|
+
stdio: ["pipe", "pipe", "pipe"]
|
|
515
511
|
});
|
|
516
512
|
const killProcessTree = (pid, signal = "SIGTERM") => {
|
|
517
513
|
treeKill__default.default(pid, signal);
|
package/dist/index.js
CHANGED
|
@@ -354,13 +354,11 @@ var GeminiCliLanguageModel = class {
|
|
|
354
354
|
let finishReason = { unified: "stop", raw: void 0 };
|
|
355
355
|
const content = [];
|
|
356
356
|
const toolResults = /* @__PURE__ */ new Map();
|
|
357
|
-
const isWin = process.platform === "win32";
|
|
358
357
|
const child = spawn(cmd, args, {
|
|
359
358
|
env,
|
|
360
359
|
cwd,
|
|
361
360
|
shell,
|
|
362
|
-
stdio: ["pipe", "pipe", "pipe"]
|
|
363
|
-
detached: !isWin
|
|
361
|
+
stdio: ["pipe", "pipe", "pipe"]
|
|
364
362
|
});
|
|
365
363
|
const killProcessTree = (pid, signal = "SIGTERM") => {
|
|
366
364
|
treeKill(pid, signal);
|
|
@@ -499,13 +497,11 @@ var GeminiCliLanguageModel = class {
|
|
|
499
497
|
const stream = new ReadableStream({
|
|
500
498
|
start(controller) {
|
|
501
499
|
const startTime = Date.now();
|
|
502
|
-
const isWin = process.platform === "win32";
|
|
503
500
|
const child = spawn(cmd, args, {
|
|
504
501
|
env,
|
|
505
502
|
cwd,
|
|
506
503
|
shell,
|
|
507
|
-
stdio: ["pipe", "pipe", "pipe"]
|
|
508
|
-
detached: !isWin
|
|
504
|
+
stdio: ["pipe", "pipe", "pipe"]
|
|
509
505
|
});
|
|
510
506
|
const killProcessTree = (pid, signal = "SIGTERM") => {
|
|
511
507
|
treeKill(pid, signal);
|