@google/gemini-cli 0.35.0-preview.2 → 0.36.0-nightly.20260321.fc03891a1
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/README.md +0 -1
- package/bundle/{chunk-QO53VEHI.js → chunk-5725SFQR.js} +87 -47
- package/bundle/{chunk-HYF34ISK.js → chunk-CCJTFLFP.js} +5629 -5226
- package/bundle/{chunk-5OVDZKPV.js → chunk-D7FYAQ3H.js} +59887 -34723
- package/bundle/{chunk-6AQAEYFC.js → chunk-HFDLZAI6.js} +59887 -34723
- package/bundle/{chunk-WTYAEXC3.js → chunk-MIAZ3PM6.js} +59887 -34723
- package/bundle/{chunk-WXXNCSKU.js → chunk-NA5KUNBD.js} +5629 -5226
- package/bundle/{chunk-SCIFYSWM.js → chunk-UOFTUVGG.js} +5629 -5226
- package/bundle/{chunk-C2LINL7G.js → chunk-W5ORWYUB.js} +83 -45
- package/bundle/{chunk-TYZCRVGB.js → chunk-XYHDU7NF.js} +5629 -5226
- package/bundle/{chunk-ELVZ5MKI.js → chunk-ZUXLXS2J.js} +72724 -47403
- package/bundle/{core-ZWMLWHG7.js → core-GS2P42IT.js} +48 -3
- package/bundle/{devtoolsService-XMVPJFZ7.js → devtoolsService-DUME7JA6.js} +3 -4
- package/bundle/{devtoolsService-DH7MKZL2.js → devtoolsService-GFJFWZMN.js} +3 -4
- package/bundle/{devtoolsService-EVTQ32UO.js → devtoolsService-NYUXHIPC.js} +3 -4
- package/bundle/{devtoolsService-FPFZEEVK.js → devtoolsService-RC5CN5TA.js} +3 -4
- package/bundle/{dist-6LCHGUBD.js → dist-GAJJIGQH.js} +48 -3
- package/bundle/{dist-AWPSKKKO.js → dist-RXTU4IDW.js} +48 -3
- package/bundle/{dist-WOQEPX5R.js → dist-ULRCP5C6.js} +48 -3
- package/bundle/docs/CONTRIBUTING.md +0 -15
- package/bundle/docs/admin/enterprise-controls.md +61 -0
- package/bundle/docs/changelogs/index.md +11 -0
- package/bundle/docs/changelogs/latest.md +459 -209
- package/bundle/docs/changelogs/preview.md +355 -454
- package/bundle/docs/cli/checkpointing.md +3 -1
- package/bundle/docs/cli/cli-reference.md +1 -0
- package/bundle/docs/cli/custom-commands.md +7 -5
- package/bundle/docs/cli/enterprise.md +15 -9
- package/bundle/docs/cli/git-worktrees.md +107 -0
- package/bundle/docs/cli/model-steering.md +4 -3
- package/bundle/docs/cli/model.md +3 -1
- package/bundle/docs/cli/notifications.md +4 -3
- package/bundle/docs/cli/plan-mode.md +28 -8
- package/bundle/docs/cli/sandbox.md +24 -4
- package/bundle/docs/cli/session-management.md +6 -0
- package/bundle/docs/cli/settings.md +14 -1
- package/bundle/docs/cli/skills.md +4 -2
- package/bundle/docs/cli/system-prompt.md +3 -1
- package/bundle/docs/cli/telemetry.md +6 -3
- package/bundle/docs/cli/themes.md +12 -8
- package/bundle/docs/cli/tutorials/file-management.md +8 -6
- package/bundle/docs/cli/tutorials/mcp-setup.md +5 -3
- package/bundle/docs/cli/tutorials/memory-management.md +6 -6
- package/bundle/docs/cli/tutorials/plan-mode-steering.md +4 -3
- package/bundle/docs/cli/tutorials/shell-commands.md +3 -3
- package/bundle/docs/core/remote-agents.md +8 -3
- package/bundle/docs/core/subagents.md +21 -13
- package/bundle/docs/extensions/reference.md +8 -3
- package/bundle/docs/get-started/authentication.md +60 -50
- package/bundle/docs/get-started/examples.md +3 -1
- package/bundle/docs/get-started/gemini-3.md +11 -5
- package/bundle/docs/hooks/index.md +3 -1
- package/bundle/docs/hooks/writing-hooks.md +2 -2
- package/bundle/docs/ide-integration/ide-companion-spec.md +5 -3
- package/bundle/docs/ide-integration/index.md +8 -4
- package/bundle/docs/issue-and-pr-automation.md +3 -1
- package/bundle/docs/local-development.md +3 -1
- package/bundle/docs/reference/commands.md +2 -2
- package/bundle/docs/reference/configuration.md +410 -16
- package/bundle/docs/reference/policy-engine.md +47 -19
- package/bundle/docs/reference/tools.md +3 -1
- package/bundle/docs/release-confidence.md +7 -3
- package/bundle/docs/releases.md +11 -7
- package/bundle/docs/resources/faq.md +13 -0
- package/bundle/docs/resources/tos-privacy.md +4 -2
- package/bundle/docs/resources/troubleshooting.md +3 -1
- package/bundle/docs/sidebar.json +5 -0
- package/bundle/docs/tools/mcp-server.md +17 -9
- package/bundle/docs/tools/planning.md +3 -1
- package/bundle/docs/tools/shell.md +4 -4
- package/bundle/docs/tools/todos.md +2 -1
- package/bundle/gemini.js +4392 -7551
- package/bundle/{interactiveCli-E3DWTWRM.js → interactiveCli-FYYDCEQS.js} +2738 -2353
- package/bundle/{interactiveCli-N4QW3NCZ.js → interactiveCli-OY77TZRB.js} +2738 -2353
- package/bundle/{interactiveCli-Z4Y6XB7M.js → interactiveCli-QWWY5YAU.js} +2738 -2353
- package/bundle/{interactiveCli-7H3T4KJF.js → interactiveCli-RMQZ5WRR.js} +2738 -2353
- package/bundle/{memoryDiscovery-7LUUOJNM.js → memoryDiscovery-HKWK4IPH.js} +1 -1
- package/bundle/{memoryDiscovery-RRX6QF4Y.js → memoryDiscovery-OV4FUTHJ.js} +1 -1
- package/bundle/node_modules/@google/gemini-cli-devtools/dist/client/main.js +2 -2
- package/bundle/node_modules/@google/gemini-cli-devtools/dist/src/_client-assets.d.ts +1 -1
- package/bundle/node_modules/@google/gemini-cli-devtools/dist/src/_client-assets.js +1 -1
- package/bundle/node_modules/@google/gemini-cli-devtools/dist/src/_client-assets.js.map +1 -1
- package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
- package/bundle/{oauth2-provider-CPMX7ITW.js → oauth2-provider-CFIR577H.js} +2 -3
- package/bundle/{oauth2-provider-IU6STKL7.js → oauth2-provider-DX62BK7X.js} +2 -3
- package/bundle/{oauth2-provider-LTBDSRHY.js → oauth2-provider-EKENRGNL.js} +2 -3
- package/bundle/{oauth2-provider-ZWWMTBET.js → oauth2-provider-EWXMX6DR.js} +2 -3
- package/bundle/policies/memory-manager.toml +10 -0
- package/bundle/policies/plan.toml +14 -0
- package/bundle/policies/yolo.toml +1 -0
- package/package.json +1 -1
- package/bundle/chunk-37ZTTFQF.js +0 -23568
- package/bundle/undici-4X2YZID5.js +0 -6
package/README.md
CHANGED
|
@@ -314,7 +314,6 @@ gemini
|
|
|
314
314
|
|
|
315
315
|
- [**Headless Mode (Scripting)**](./docs/cli/headless.md) - Use Gemini CLI in
|
|
316
316
|
automated workflows.
|
|
317
|
-
- [**Architecture Overview**](./docs/architecture.md) - How Gemini CLI works.
|
|
318
317
|
- [**IDE Integration**](./docs/ide-integration/index.md) - VS Code companion.
|
|
319
318
|
- [**Sandboxing & Security**](./docs/cli/sandbox.md) - Safe execution
|
|
320
319
|
environments.
|
|
@@ -3509,49 +3509,49 @@ var require_fast_uri = __commonJS({
|
|
|
3509
3509
|
const resolved = resolveComponents(parse(baseURI, schemelessOptions), parse(relativeURI, schemelessOptions), schemelessOptions, true);
|
|
3510
3510
|
return serialize(resolved, { ...schemelessOptions, skipEscape: true });
|
|
3511
3511
|
}
|
|
3512
|
-
function resolveComponents(base,
|
|
3512
|
+
function resolveComponents(base, relative, options, skipNormalization) {
|
|
3513
3513
|
const target = {};
|
|
3514
3514
|
if (!skipNormalization) {
|
|
3515
3515
|
base = parse(serialize(base, options), options);
|
|
3516
|
-
|
|
3516
|
+
relative = parse(serialize(relative, options), options);
|
|
3517
3517
|
}
|
|
3518
3518
|
options = options || {};
|
|
3519
|
-
if (!options.tolerant &&
|
|
3520
|
-
target.scheme =
|
|
3521
|
-
target.userinfo =
|
|
3522
|
-
target.host =
|
|
3523
|
-
target.port =
|
|
3524
|
-
target.path = removeDotSegments(
|
|
3525
|
-
target.query =
|
|
3519
|
+
if (!options.tolerant && relative.scheme) {
|
|
3520
|
+
target.scheme = relative.scheme;
|
|
3521
|
+
target.userinfo = relative.userinfo;
|
|
3522
|
+
target.host = relative.host;
|
|
3523
|
+
target.port = relative.port;
|
|
3524
|
+
target.path = removeDotSegments(relative.path || "");
|
|
3525
|
+
target.query = relative.query;
|
|
3526
3526
|
} else {
|
|
3527
|
-
if (
|
|
3528
|
-
target.userinfo =
|
|
3529
|
-
target.host =
|
|
3530
|
-
target.port =
|
|
3531
|
-
target.path = removeDotSegments(
|
|
3532
|
-
target.query =
|
|
3527
|
+
if (relative.userinfo !== void 0 || relative.host !== void 0 || relative.port !== void 0) {
|
|
3528
|
+
target.userinfo = relative.userinfo;
|
|
3529
|
+
target.host = relative.host;
|
|
3530
|
+
target.port = relative.port;
|
|
3531
|
+
target.path = removeDotSegments(relative.path || "");
|
|
3532
|
+
target.query = relative.query;
|
|
3533
3533
|
} else {
|
|
3534
|
-
if (!
|
|
3534
|
+
if (!relative.path) {
|
|
3535
3535
|
target.path = base.path;
|
|
3536
|
-
if (
|
|
3537
|
-
target.query =
|
|
3536
|
+
if (relative.query !== void 0) {
|
|
3537
|
+
target.query = relative.query;
|
|
3538
3538
|
} else {
|
|
3539
3539
|
target.query = base.query;
|
|
3540
3540
|
}
|
|
3541
3541
|
} else {
|
|
3542
|
-
if (
|
|
3543
|
-
target.path = removeDotSegments(
|
|
3542
|
+
if (relative.path.charAt(0) === "/") {
|
|
3543
|
+
target.path = removeDotSegments(relative.path);
|
|
3544
3544
|
} else {
|
|
3545
3545
|
if ((base.userinfo !== void 0 || base.host !== void 0 || base.port !== void 0) && !base.path) {
|
|
3546
|
-
target.path = "/" +
|
|
3546
|
+
target.path = "/" + relative.path;
|
|
3547
3547
|
} else if (!base.path) {
|
|
3548
|
-
target.path =
|
|
3548
|
+
target.path = relative.path;
|
|
3549
3549
|
} else {
|
|
3550
|
-
target.path = base.path.slice(0, base.path.lastIndexOf("/") + 1) +
|
|
3550
|
+
target.path = base.path.slice(0, base.path.lastIndexOf("/") + 1) + relative.path;
|
|
3551
3551
|
}
|
|
3552
3552
|
target.path = removeDotSegments(target.path);
|
|
3553
3553
|
}
|
|
3554
|
-
target.query =
|
|
3554
|
+
target.query = relative.query;
|
|
3555
3555
|
}
|
|
3556
3556
|
target.userinfo = base.userinfo;
|
|
3557
3557
|
target.host = base.host;
|
|
@@ -3559,7 +3559,7 @@ var require_fast_uri = __commonJS({
|
|
|
3559
3559
|
}
|
|
3560
3560
|
target.scheme = base.scheme;
|
|
3561
3561
|
}
|
|
3562
|
-
target.fragment =
|
|
3562
|
+
target.fragment = relative.fragment;
|
|
3563
3563
|
return target;
|
|
3564
3564
|
}
|
|
3565
3565
|
function equal(uriA, uriB, options) {
|
|
@@ -21271,7 +21271,7 @@ var require_filesubjecttokensupplier = __commonJS({
|
|
|
21271
21271
|
}));
|
|
21272
21272
|
var realpath2 = (0, util_1.promisify)(fs11.realpath ?? (() => {
|
|
21273
21273
|
}));
|
|
21274
|
-
var
|
|
21274
|
+
var lstat = (0, util_1.promisify)(fs11.lstat ?? (() => {
|
|
21275
21275
|
}));
|
|
21276
21276
|
var FileSubjectTokenSupplier = class {
|
|
21277
21277
|
filePath;
|
|
@@ -21297,7 +21297,7 @@ var require_filesubjecttokensupplier = __commonJS({
|
|
|
21297
21297
|
let parsedFilePath = this.filePath;
|
|
21298
21298
|
try {
|
|
21299
21299
|
parsedFilePath = await realpath2(parsedFilePath);
|
|
21300
|
-
if (!(await
|
|
21300
|
+
if (!(await lstat(parsedFilePath)).isFile()) {
|
|
21301
21301
|
throw new Error();
|
|
21302
21302
|
}
|
|
21303
21303
|
} catch (err) {
|
|
@@ -40840,6 +40840,7 @@ var InProcessCheckerType = /* @__PURE__ */ ((InProcessCheckerType2) => {
|
|
|
40840
40840
|
var PRIORITY_SUBAGENT_TOOL = 1.05;
|
|
40841
40841
|
var ALWAYS_ALLOW_PRIORITY_FRACTION = 950;
|
|
40842
40842
|
var ALWAYS_ALLOW_PRIORITY_OFFSET = ALWAYS_ALLOW_PRIORITY_FRACTION / 1e3;
|
|
40843
|
+
var PRIORITY_YOLO_ALLOW_ALL = 998;
|
|
40843
40844
|
|
|
40844
40845
|
// packages/core/src/tools/tools.ts
|
|
40845
40846
|
function isBackgroundExecutionData(data) {
|
|
@@ -41500,8 +41501,8 @@ function normalizePath(p) {
|
|
|
41500
41501
|
function isSubpath(parentPath, childPath) {
|
|
41501
41502
|
const isWindows = process.platform === "win32";
|
|
41502
41503
|
const pathModule = isWindows ? path3.win32 : path3;
|
|
41503
|
-
const
|
|
41504
|
-
return !
|
|
41504
|
+
const relative = pathModule.relative(parentPath, childPath);
|
|
41505
|
+
return !relative.startsWith(`..${pathModule.sep}`) && relative !== ".." && !pathModule.isAbsolute(relative);
|
|
41505
41506
|
}
|
|
41506
41507
|
function resolveToRealPath(pathStr) {
|
|
41507
41508
|
let resolvedPath = pathStr;
|
|
@@ -42946,7 +42947,24 @@ var GEMINI_MODEL_ALIAS_FLASH = "flash";
|
|
|
42946
42947
|
var GEMINI_MODEL_ALIAS_FLASH_LITE = "flash-lite";
|
|
42947
42948
|
var DEFAULT_GEMINI_EMBEDDING_MODEL = "gemini-embedding-001";
|
|
42948
42949
|
var DEFAULT_THINKING_MODE = 8192;
|
|
42949
|
-
function resolveModel(requestedModel, useGemini3_1 = false, useCustomToolModel = false, hasAccessToPreview = true) {
|
|
42950
|
+
function resolveModel(requestedModel, useGemini3_1 = false, useCustomToolModel = false, hasAccessToPreview = true, config) {
|
|
42951
|
+
if (config?.getExperimentalDynamicModelConfiguration?.() === true) {
|
|
42952
|
+
const resolved2 = config.modelConfigService.resolveModelId(requestedModel, {
|
|
42953
|
+
useGemini3_1,
|
|
42954
|
+
useCustomTools: useCustomToolModel,
|
|
42955
|
+
hasAccessToPreview
|
|
42956
|
+
});
|
|
42957
|
+
if (!hasAccessToPreview && isPreviewModel(resolved2, config)) {
|
|
42958
|
+
if (resolved2.includes("flash-lite")) {
|
|
42959
|
+
return DEFAULT_GEMINI_FLASH_LITE_MODEL;
|
|
42960
|
+
}
|
|
42961
|
+
if (resolved2.includes("flash")) {
|
|
42962
|
+
return DEFAULT_GEMINI_FLASH_MODEL;
|
|
42963
|
+
}
|
|
42964
|
+
return DEFAULT_GEMINI_MODEL;
|
|
42965
|
+
}
|
|
42966
|
+
return resolved2;
|
|
42967
|
+
}
|
|
42950
42968
|
let resolved;
|
|
42951
42969
|
switch (requestedModel) {
|
|
42952
42970
|
case PREVIEW_GEMINI_MODEL:
|
|
@@ -42997,7 +43015,18 @@ function resolveModel(requestedModel, useGemini3_1 = false, useCustomToolModel =
|
|
|
42997
43015
|
}
|
|
42998
43016
|
return resolved;
|
|
42999
43017
|
}
|
|
43000
|
-
function resolveClassifierModel(requestedModel, modelAlias, useGemini3_1 = false, useCustomToolModel = false) {
|
|
43018
|
+
function resolveClassifierModel(requestedModel, modelAlias, useGemini3_1 = false, useCustomToolModel = false, hasAccessToPreview = true, config) {
|
|
43019
|
+
if (config?.getExperimentalDynamicModelConfiguration?.() === true) {
|
|
43020
|
+
return config.modelConfigService.resolveClassifierModelId(
|
|
43021
|
+
modelAlias,
|
|
43022
|
+
requestedModel,
|
|
43023
|
+
{
|
|
43024
|
+
useGemini3_1,
|
|
43025
|
+
useCustomTools: useCustomToolModel,
|
|
43026
|
+
hasAccessToPreview
|
|
43027
|
+
}
|
|
43028
|
+
);
|
|
43029
|
+
}
|
|
43001
43030
|
if (modelAlias === GEMINI_MODEL_ALIAS_FLASH) {
|
|
43002
43031
|
if (requestedModel === DEFAULT_GEMINI_MODEL_AUTO || requestedModel === DEFAULT_GEMINI_MODEL) {
|
|
43003
43032
|
return DEFAULT_GEMINI_FLASH_MODEL;
|
|
@@ -43056,7 +43085,7 @@ function isGemini2Model(model) {
|
|
|
43056
43085
|
}
|
|
43057
43086
|
function isCustomModel(model, config) {
|
|
43058
43087
|
if (config?.getExperimentalDynamicModelConfiguration?.() === true) {
|
|
43059
|
-
const resolved2 = resolveModel(model);
|
|
43088
|
+
const resolved2 = resolveModel(model, false, false, true, config);
|
|
43060
43089
|
return config.modelConfigService.getModelDefinition(resolved2)?.tier === "custom" || !resolved2.startsWith("gemini-");
|
|
43061
43090
|
}
|
|
43062
43091
|
const resolved = resolveModel(model);
|
|
@@ -49006,6 +49035,7 @@ DO NOT use this tool for simple tasks that can be completed in less than 2 steps
|
|
|
49006
49035
|
- in_progress: Marked just prior to beginning work on a given subtask. You should only have one subtask as in_progress at a time.
|
|
49007
49036
|
- completed: Subtask was successfully completed with no errors or issues. If the subtask required more steps to complete, update the todo list with the subtasks. All steps should be identified as completed only when they are completed.
|
|
49008
49037
|
- cancelled: As you update the todo list, some tasks are not required anymore due to the dynamic nature of the task. In this case, mark the subtasks as cancelled.
|
|
49038
|
+
- blocked: Subtask is blocked and cannot be completed at this time.
|
|
49009
49039
|
|
|
49010
49040
|
|
|
49011
49041
|
## Methodology for using this tool
|
|
@@ -49071,7 +49101,13 @@ The agent did not use the todo list because this task could be completed by a ti
|
|
|
49071
49101
|
[TODOS_ITEM_PARAM_STATUS]: {
|
|
49072
49102
|
type: "string",
|
|
49073
49103
|
description: "The current status of the task.",
|
|
49074
|
-
enum: [
|
|
49104
|
+
enum: [
|
|
49105
|
+
"pending",
|
|
49106
|
+
"in_progress",
|
|
49107
|
+
"completed",
|
|
49108
|
+
"cancelled",
|
|
49109
|
+
"blocked"
|
|
49110
|
+
]
|
|
49075
49111
|
}
|
|
49076
49112
|
},
|
|
49077
49113
|
required: [TODOS_ITEM_PARAM_DESCRIPTION, TODOS_ITEM_PARAM_STATUS],
|
|
@@ -49559,6 +49595,7 @@ DO NOT use this tool for simple tasks that can be completed in less than 2 steps
|
|
|
49559
49595
|
- in_progress: Marked just prior to beginning work on a given subtask. You should only have one subtask as in_progress at a time.
|
|
49560
49596
|
- completed: Subtask was successfully completed with no errors or issues. If the subtask required more steps to complete, update the todo list with the subtasks. All steps should be identified as completed only when they are completed.
|
|
49561
49597
|
- cancelled: As you update the todo list, some tasks are not required anymore due to the dynamic nature of the task. In this case, mark the subtasks as cancelled.
|
|
49598
|
+
- blocked: Subtask is blocked and cannot be completed at this time.
|
|
49562
49599
|
|
|
49563
49600
|
|
|
49564
49601
|
## Methodology for using this tool
|
|
@@ -49624,7 +49661,13 @@ The agent did not use the todo list because this task could be completed by a ti
|
|
|
49624
49661
|
[TODOS_ITEM_PARAM_STATUS]: {
|
|
49625
49662
|
type: "string",
|
|
49626
49663
|
description: "The current status of the task.",
|
|
49627
|
-
enum: [
|
|
49664
|
+
enum: [
|
|
49665
|
+
"pending",
|
|
49666
|
+
"in_progress",
|
|
49667
|
+
"completed",
|
|
49668
|
+
"cancelled",
|
|
49669
|
+
"blocked"
|
|
49670
|
+
]
|
|
49628
49671
|
}
|
|
49629
49672
|
},
|
|
49630
49673
|
required: [TODOS_ITEM_PARAM_DESCRIPTION, TODOS_ITEM_PARAM_STATUS],
|
|
@@ -50604,10 +50647,8 @@ async function findProjectRoot(startDir) {
|
|
|
50604
50647
|
while (true) {
|
|
50605
50648
|
const gitPath = path8.join(currentDir, ".git");
|
|
50606
50649
|
try {
|
|
50607
|
-
|
|
50608
|
-
|
|
50609
|
-
return currentDir;
|
|
50610
|
-
}
|
|
50650
|
+
await fs9.access(gitPath);
|
|
50651
|
+
return currentDir;
|
|
50611
50652
|
} catch {
|
|
50612
50653
|
}
|
|
50613
50654
|
const parentDir = path8.dirname(currentDir);
|
|
@@ -51637,16 +51678,15 @@ async function readGeminiMdFiles(filePaths, importFormat = "tree") {
|
|
|
51637
51678
|
}
|
|
51638
51679
|
return results;
|
|
51639
51680
|
}
|
|
51640
|
-
function concatenateInstructions(instructionContents
|
|
51681
|
+
function concatenateInstructions(instructionContents) {
|
|
51641
51682
|
return instructionContents.filter((item) => typeof item.content === "string").map((item) => {
|
|
51642
51683
|
const trimmedContent = item.content.trim();
|
|
51643
51684
|
if (trimmedContent.length === 0) {
|
|
51644
51685
|
return null;
|
|
51645
51686
|
}
|
|
51646
|
-
|
|
51647
|
-
return `--- Context from: ${displayPath} ---
|
|
51687
|
+
return `--- Context from: ${item.filePath} ---
|
|
51648
51688
|
${trimmedContent}
|
|
51649
|
-
--- End of Context from: ${
|
|
51689
|
+
--- End of Context from: ${item.filePath} ---`;
|
|
51650
51690
|
}).filter((block) => block !== null).join("\n\n");
|
|
51651
51691
|
}
|
|
51652
51692
|
async function getGlobalMemoryPaths() {
|
|
@@ -51691,10 +51731,9 @@ async function getEnvironmentMemoryPaths(trustedRoots) {
|
|
|
51691
51731
|
pathArrays.flat().forEach((p) => allPaths.add(p));
|
|
51692
51732
|
return Array.from(allPaths).sort();
|
|
51693
51733
|
}
|
|
51694
|
-
function categorizeAndConcatenate(paths, contentsMap
|
|
51734
|
+
function categorizeAndConcatenate(paths, contentsMap) {
|
|
51695
51735
|
const getConcatenated = (pList) => concatenateInstructions(
|
|
51696
|
-
pList.map((p) => contentsMap.get(p)).filter((c) => !!c)
|
|
51697
|
-
workingDir
|
|
51736
|
+
pList.map((p) => contentsMap.get(p)).filter((c) => !!c)
|
|
51698
51737
|
);
|
|
51699
51738
|
return {
|
|
51700
51739
|
global: getConcatenated(paths.global),
|
|
@@ -51802,8 +51841,7 @@ async function loadServerHierarchicalMemory(currentWorkingDirectory, includeDire
|
|
|
51802
51841
|
extension: extensionPaths,
|
|
51803
51842
|
project: discoveryResult.project
|
|
51804
51843
|
},
|
|
51805
|
-
contentsMap
|
|
51806
|
-
currentWorkingDirectory
|
|
51844
|
+
contentsMap
|
|
51807
51845
|
);
|
|
51808
51846
|
return {
|
|
51809
51847
|
memoryContent: hierarchicalMemory,
|
|
@@ -51993,6 +52031,7 @@ export {
|
|
|
51993
52031
|
PRIORITY_SUBAGENT_TOOL,
|
|
51994
52032
|
ALWAYS_ALLOW_PRIORITY_FRACTION,
|
|
51995
52033
|
ALWAYS_ALLOW_PRIORITY_OFFSET,
|
|
52034
|
+
PRIORITY_YOLO_ALLOW_ALL,
|
|
51996
52035
|
safeJsonStringify,
|
|
51997
52036
|
safeJsonStringifyBooleanValuesOnly,
|
|
51998
52037
|
ToolErrorType,
|
|
@@ -52001,6 +52040,7 @@ export {
|
|
|
52001
52040
|
require_fast_uri,
|
|
52002
52041
|
require_dist,
|
|
52003
52042
|
SchemaValidator,
|
|
52043
|
+
jsonToMarkdown,
|
|
52004
52044
|
safeJsonToMarkdown,
|
|
52005
52045
|
isRecord,
|
|
52006
52046
|
MessageBusType,
|