@google/gemini-cli-core 0.32.0-preview.0 → 0.33.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.
- package/README.md +11 -9
- package/dist/docs/CONTRIBUTING.md +7 -4
- package/dist/docs/changelogs/index.md +24 -2
- package/dist/docs/changelogs/latest.md +389 -310
- package/dist/docs/changelogs/preview.md +186 -394
- package/dist/docs/cli/cli-reference.md +12 -12
- package/dist/docs/cli/custom-commands.md +9 -0
- package/dist/docs/cli/enterprise.md +19 -0
- package/dist/docs/cli/model.md +5 -14
- package/dist/docs/cli/plan-mode.md +38 -7
- package/dist/docs/cli/sandbox.md +42 -2
- package/dist/docs/cli/session-management.md +16 -7
- package/dist/docs/cli/settings.md +10 -10
- package/dist/docs/cli/telemetry.md +29 -0
- package/dist/docs/cli/tutorials/automation.md +101 -5
- package/dist/docs/cli/tutorials/mcp-setup.md +8 -0
- package/dist/docs/cli/tutorials/skills-getting-started.md +8 -0
- package/dist/docs/extensions/reference.md +9 -1
- package/dist/docs/extensions/writing-extensions.md +16 -0
- package/dist/docs/get-started/authentication.md +86 -5
- package/dist/docs/get-started/installation.md +1 -1
- package/dist/docs/hooks/best-practices.md +33 -1
- package/dist/docs/hooks/writing-hooks.md +24 -0
- package/dist/docs/ide-integration/index.md +8 -0
- package/dist/docs/reference/commands.md +3 -0
- package/dist/docs/reference/configuration.md +19 -15
- package/dist/docs/reference/keyboard-shortcuts.md +10 -0
- package/dist/docs/reference/policy-engine.md +10 -0
- package/dist/docs/resources/faq.md +8 -0
- package/dist/docs/resources/troubleshooting.md +4 -1
- package/dist/docs/sidebar.json +8 -1
- package/dist/src/agents/a2aUtils.d.ts +2 -0
- package/dist/src/agents/a2aUtils.js +12 -0
- package/dist/src/agents/a2aUtils.js.map +1 -1
- package/dist/src/agents/a2aUtils.test.js +50 -1
- package/dist/src/agents/a2aUtils.test.js.map +1 -1
- package/dist/src/agents/agentLoader.d.ts +2 -1
- package/dist/src/agents/agentLoader.js +17 -4
- package/dist/src/agents/agentLoader.js.map +1 -1
- package/dist/src/agents/agentLoader.test.js +46 -0
- package/dist/src/agents/agentLoader.test.js.map +1 -1
- package/dist/src/agents/auth-provider/factory.js +6 -3
- package/dist/src/agents/auth-provider/factory.js.map +1 -1
- package/dist/src/agents/auth-provider/http-provider.d.ts +28 -0
- package/dist/src/agents/auth-provider/http-provider.js +73 -0
- package/dist/src/agents/auth-provider/http-provider.js.map +1 -0
- package/dist/src/agents/auth-provider/http-provider.test.d.ts +6 -0
- package/dist/src/agents/auth-provider/http-provider.test.js +112 -0
- package/dist/src/agents/auth-provider/http-provider.test.js.map +1 -0
- package/dist/src/agents/auth-provider/types.d.ts +5 -0
- package/dist/src/agents/browser/browserAgentInvocation.d.ts +2 -3
- package/dist/src/agents/browser/browserAgentInvocation.js +1 -1
- package/dist/src/agents/browser/browserAgentInvocation.js.map +1 -1
- package/dist/src/agents/local-executor.js +36 -7
- package/dist/src/agents/local-executor.js.map +1 -1
- package/dist/src/agents/local-executor.test.js +18 -13
- package/dist/src/agents/local-executor.test.js.map +1 -1
- package/dist/src/agents/local-invocation.d.ts +3 -4
- package/dist/src/agents/local-invocation.js +164 -11
- package/dist/src/agents/local-invocation.js.map +1 -1
- package/dist/src/agents/local-invocation.test.js +49 -29
- package/dist/src/agents/local-invocation.test.js.map +1 -1
- package/dist/src/agents/registry.js +66 -12
- package/dist/src/agents/registry.js.map +1 -1
- package/dist/src/agents/registry.test.js +220 -0
- package/dist/src/agents/registry.test.js.map +1 -1
- package/dist/src/agents/remote-invocation.d.ts +2 -1
- package/dist/src/agents/remote-invocation.js +20 -2
- package/dist/src/agents/remote-invocation.js.map +1 -1
- package/dist/src/agents/remote-invocation.test.js +62 -10
- package/dist/src/agents/remote-invocation.test.js.map +1 -1
- package/dist/src/agents/subagent-tool.js.map +1 -1
- package/dist/src/agents/subagent-tool.test.js +7 -0
- package/dist/src/agents/subagent-tool.test.js.map +1 -1
- package/dist/src/agents/types.d.ts +18 -0
- package/dist/src/agents/types.js +6 -0
- package/dist/src/agents/types.js.map +1 -1
- package/dist/src/code_assist/server.js.map +1 -1
- package/dist/src/config/config.d.ts +11 -4
- package/dist/src/config/config.js +23 -47
- package/dist/src/config/config.js.map +1 -1
- package/dist/src/config/config.test.js +29 -101
- package/dist/src/config/config.test.js.map +1 -1
- package/dist/src/core/client.js +5 -3
- package/dist/src/core/client.js.map +1 -1
- package/dist/src/core/client.test.js +47 -7
- package/dist/src/core/client.test.js.map +1 -1
- package/dist/src/core/coreToolHookTriggers.d.ts +3 -3
- package/dist/src/core/coreToolHookTriggers.js.map +1 -1
- package/dist/src/core/coreToolScheduler.js +38 -22
- package/dist/src/core/coreToolScheduler.js.map +1 -1
- package/dist/src/core/geminiChat.d.ts +2 -2
- package/dist/src/core/geminiChat.js +3 -0
- package/dist/src/core/geminiChat.js.map +1 -1
- package/dist/src/core/loggingContentGenerator.d.ts +1 -0
- package/dist/src/core/loggingContentGenerator.js +31 -1
- package/dist/src/core/loggingContentGenerator.js.map +1 -1
- package/dist/src/core/loggingContentGenerator.test.js +94 -0
- package/dist/src/core/loggingContentGenerator.test.js.map +1 -1
- package/dist/src/generated/git-commit.d.ts +2 -2
- package/dist/src/generated/git-commit.js +2 -2
- package/dist/src/hooks/hookRunner.js +30 -4
- package/dist/src/hooks/hookRunner.js.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +1 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/mcp/mcp-oauth-provider.d.ts +43 -0
- package/dist/src/mcp/mcp-oauth-provider.js +67 -0
- package/dist/src/mcp/mcp-oauth-provider.js.map +1 -0
- package/dist/src/mcp/mcp-oauth-provider.test.d.ts +6 -0
- package/dist/src/mcp/mcp-oauth-provider.test.js +63 -0
- package/dist/src/mcp/mcp-oauth-provider.test.js.map +1 -0
- package/dist/src/policy/config.d.ts +1 -1
- package/dist/src/policy/config.js +4 -3
- package/dist/src/policy/config.js.map +1 -1
- package/dist/src/policy/policies/plan.toml +50 -13
- package/dist/src/policy/policies/read-only.toml +12 -11
- package/dist/src/policy/policies/write.toml +12 -11
- package/dist/src/policy/policies/yolo.toml +21 -11
- package/dist/src/policy/policy-engine.test.js +62 -2
- package/dist/src/policy/policy-engine.test.js.map +1 -1
- package/dist/src/policy/toml-loader.d.ts +19 -1
- package/dist/src/policy/toml-loader.js +127 -0
- package/dist/src/policy/toml-loader.js.map +1 -1
- package/dist/src/policy/toml-loader.test.js +218 -14
- package/dist/src/policy/toml-loader.test.js.map +1 -1
- package/dist/src/prompts/snippets.js +7 -7
- package/dist/src/prompts/snippets.js.map +1 -1
- package/dist/src/scheduler/scheduler.js +1 -1
- package/dist/src/scheduler/scheduler.js.map +1 -1
- package/dist/src/scheduler/scheduler.test.js +1 -1
- package/dist/src/scheduler/scheduler.test.js.map +1 -1
- package/dist/src/scheduler/state-manager.d.ts +1 -2
- package/dist/src/scheduler/state-manager.js +19 -10
- package/dist/src/scheduler/state-manager.js.map +1 -1
- package/dist/src/scheduler/tool-executor.d.ts +3 -2
- package/dist/src/scheduler/tool-executor.js +89 -32
- package/dist/src/scheduler/tool-executor.js.map +1 -1
- package/dist/src/scheduler/tool-executor.test.js +191 -0
- package/dist/src/scheduler/tool-executor.test.js.map +1 -1
- package/dist/src/scheduler/types.d.ts +3 -4
- package/dist/src/services/chatRecordingService.js +12 -0
- package/dist/src/services/chatRecordingService.js.map +1 -1
- package/dist/src/services/chatRecordingService.test.js +15 -4
- package/dist/src/services/chatRecordingService.test.js.map +1 -1
- package/dist/src/services/loopDetectionService.d.ts +2 -1
- package/dist/src/services/loopDetectionService.js +49 -11
- package/dist/src/services/loopDetectionService.js.map +1 -1
- package/dist/src/services/loopDetectionService.test.js +63 -22
- package/dist/src/services/loopDetectionService.test.js.map +1 -1
- package/dist/src/skills/builtin/skill-creator/scripts/package_skill.cjs +35 -10
- package/dist/src/tools/ask-user.d.ts +1 -0
- package/dist/src/tools/ask-user.js +2 -1
- package/dist/src/tools/ask-user.js.map +1 -1
- package/dist/src/tools/definitions/base-declarations.d.ts +51 -0
- package/dist/src/tools/definitions/base-declarations.js +75 -1
- package/dist/src/tools/definitions/base-declarations.js.map +1 -1
- package/dist/src/tools/definitions/coreTools.d.ts +1 -1
- package/dist/src/tools/definitions/coreTools.js +5 -1
- package/dist/src/tools/definitions/coreTools.js.map +1 -1
- package/dist/src/tools/definitions/dynamic-declaration-helpers.js +14 -12
- package/dist/src/tools/definitions/dynamic-declaration-helpers.js.map +1 -1
- package/dist/src/tools/definitions/model-family-sets/default-legacy.js +97 -81
- package/dist/src/tools/definitions/model-family-sets/default-legacy.js.map +1 -1
- package/dist/src/tools/definitions/model-family-sets/gemini-3.js +99 -82
- package/dist/src/tools/definitions/model-family-sets/gemini-3.js.map +1 -1
- package/dist/src/tools/enter-plan-mode.d.ts +1 -0
- package/dist/src/tools/enter-plan-mode.js +2 -1
- package/dist/src/tools/enter-plan-mode.js.map +1 -1
- package/dist/src/tools/exit-plan-mode.d.ts +1 -0
- package/dist/src/tools/exit-plan-mode.js +2 -1
- package/dist/src/tools/exit-plan-mode.js.map +1 -1
- package/dist/src/tools/mcp-client.d.ts +6 -0
- package/dist/src/tools/mcp-client.js +14 -0
- package/dist/src/tools/mcp-client.js.map +1 -1
- package/dist/src/tools/mcp-tool.js +20 -9
- package/dist/src/tools/mcp-tool.js.map +1 -1
- package/dist/src/tools/mcp-tool.test.js +48 -1
- package/dist/src/tools/mcp-tool.test.js.map +1 -1
- package/dist/src/tools/read-file.test.js +7 -0
- package/dist/src/tools/read-file.test.js.map +1 -1
- package/dist/src/tools/shell.d.ts +2 -3
- package/dist/src/tools/shell.js +10 -9
- package/dist/src/tools/shell.js.map +1 -1
- package/dist/src/tools/tool-names.d.ts +2 -2
- package/dist/src/tools/tool-names.js +14 -4
- package/dist/src/tools/tool-names.js.map +1 -1
- package/dist/src/tools/tool-names.test.js +2 -0
- package/dist/src/tools/tool-names.test.js.map +1 -1
- package/dist/src/tools/tool-registry.d.ts +3 -2
- package/dist/src/tools/tool-registry.js +41 -5
- package/dist/src/tools/tool-registry.js.map +1 -1
- package/dist/src/tools/tool-registry.test.js +42 -7
- package/dist/src/tools/tool-registry.test.js.map +1 -1
- package/dist/src/tools/tools.d.ts +6 -4
- package/dist/src/tools/tools.js.map +1 -1
- package/dist/src/utils/constants.d.ts +3 -0
- package/dist/src/utils/constants.js +3 -0
- package/dist/src/utils/constants.js.map +1 -1
- package/dist/src/utils/errors.d.ts +4 -0
- package/dist/src/utils/errors.js +6 -0
- package/dist/src/utils/errors.js.map +1 -1
- package/dist/src/utils/errors.test.js +20 -1
- package/dist/src/utils/errors.test.js.map +1 -1
- package/dist/src/utils/fetch.js +1 -1
- package/dist/src/utils/fetch.js.map +1 -1
- package/dist/src/utils/fileUtils.d.ts +0 -1
- package/dist/src/utils/fileUtils.js +5 -7
- package/dist/src/utils/fileUtils.js.map +1 -1
- package/dist/src/utils/tool-utils.d.ts +11 -4
- package/dist/src/utils/tool-utils.js +18 -5
- package/dist/src/utils/tool-utils.js.map +1 -1
- package/dist/src/utils/tool-utils.test.js +8 -0
- package/dist/src/utils/tool-utils.test.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,11 @@
|
|
|
3
3
|
* Copyright 2026 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import { GLOB_TOOL_NAME, GREP_TOOL_NAME, LS_TOOL_NAME, READ_FILE_TOOL_NAME, WRITE_FILE_TOOL_NAME, EDIT_TOOL_NAME, WEB_SEARCH_TOOL_NAME, WRITE_TODOS_TOOL_NAME, WEB_FETCH_TOOL_NAME, READ_MANY_FILES_TOOL_NAME, MEMORY_TOOL_NAME, GET_INTERNAL_DOCS_TOOL_NAME, ASK_USER_TOOL_NAME, ENTER_PLAN_MODE_TOOL_NAME,
|
|
6
|
+
import { GLOB_TOOL_NAME, GREP_TOOL_NAME, LS_TOOL_NAME, READ_FILE_TOOL_NAME, WRITE_FILE_TOOL_NAME, EDIT_TOOL_NAME, WEB_SEARCH_TOOL_NAME, WRITE_TODOS_TOOL_NAME, WEB_FETCH_TOOL_NAME, READ_MANY_FILES_TOOL_NAME, MEMORY_TOOL_NAME, GET_INTERNAL_DOCS_TOOL_NAME, ASK_USER_TOOL_NAME, ENTER_PLAN_MODE_TOOL_NAME,
|
|
7
|
+
// Shared parameter names
|
|
8
|
+
PARAM_FILE_PATH, PARAM_DIR_PATH, PARAM_PATTERN, PARAM_CASE_SENSITIVE, PARAM_RESPECT_GIT_IGNORE, PARAM_RESPECT_GEMINI_IGNORE, PARAM_FILE_FILTERING_OPTIONS,
|
|
9
|
+
// Tool-specific parameter names
|
|
10
|
+
READ_FILE_PARAM_START_LINE, READ_FILE_PARAM_END_LINE, WRITE_FILE_PARAM_CONTENT, GREP_PARAM_INCLUDE_PATTERN, GREP_PARAM_EXCLUDE_PATTERN, GREP_PARAM_NAMES_ONLY, GREP_PARAM_MAX_MATCHES_PER_FILE, GREP_PARAM_TOTAL_MAX_MATCHES, GREP_PARAM_FIXED_STRINGS, GREP_PARAM_CONTEXT, GREP_PARAM_AFTER, GREP_PARAM_BEFORE, GREP_PARAM_NO_IGNORE, EDIT_PARAM_INSTRUCTION, EDIT_PARAM_OLD_STRING, EDIT_PARAM_NEW_STRING, EDIT_PARAM_ALLOW_MULTIPLE, LS_PARAM_IGNORE, WEB_SEARCH_PARAM_QUERY, WEB_FETCH_PARAM_PROMPT, READ_MANY_PARAM_INCLUDE, READ_MANY_PARAM_EXCLUDE, READ_MANY_PARAM_RECURSIVE, READ_MANY_PARAM_USE_DEFAULT_EXCLUDES, MEMORY_PARAM_FACT, TODOS_PARAM_TODOS, TODOS_ITEM_PARAM_DESCRIPTION, TODOS_ITEM_PARAM_STATUS, DOCS_PARAM_PATH, ASK_USER_PARAM_QUESTIONS, ASK_USER_QUESTION_PARAM_QUESTION, ASK_USER_QUESTION_PARAM_HEADER, ASK_USER_QUESTION_PARAM_TYPE, ASK_USER_QUESTION_PARAM_OPTIONS, ASK_USER_QUESTION_PARAM_MULTI_SELECT, ASK_USER_QUESTION_PARAM_PLACEHOLDER, ASK_USER_OPTION_PARAM_LABEL, ASK_USER_OPTION_PARAM_DESCRIPTION, PLAN_MODE_PARAM_REASON, } from '../base-declarations.js';
|
|
7
11
|
import { getShellDeclaration, getExitPlanModeDeclaration, getActivateSkillDeclaration, } from '../dynamic-declaration-helpers.js';
|
|
8
12
|
export const DEFAULT_LEGACY_SET = {
|
|
9
13
|
read_file: {
|
|
@@ -12,20 +16,20 @@ export const DEFAULT_LEGACY_SET = {
|
|
|
12
16
|
parametersJsonSchema: {
|
|
13
17
|
type: 'object',
|
|
14
18
|
properties: {
|
|
15
|
-
|
|
19
|
+
[PARAM_FILE_PATH]: {
|
|
16
20
|
description: 'The path to the file to read.',
|
|
17
21
|
type: 'string',
|
|
18
22
|
},
|
|
19
|
-
|
|
23
|
+
[READ_FILE_PARAM_START_LINE]: {
|
|
20
24
|
description: 'Optional: The 1-based line number to start reading from.',
|
|
21
25
|
type: 'number',
|
|
22
26
|
},
|
|
23
|
-
|
|
27
|
+
[READ_FILE_PARAM_END_LINE]: {
|
|
24
28
|
description: 'Optional: The 1-based line number to end reading at (inclusive).',
|
|
25
29
|
type: 'number',
|
|
26
30
|
},
|
|
27
31
|
},
|
|
28
|
-
required: [
|
|
32
|
+
required: [PARAM_FILE_PATH],
|
|
29
33
|
},
|
|
30
34
|
},
|
|
31
35
|
write_file: {
|
|
@@ -36,16 +40,16 @@ export const DEFAULT_LEGACY_SET = {
|
|
|
36
40
|
parametersJsonSchema: {
|
|
37
41
|
type: 'object',
|
|
38
42
|
properties: {
|
|
39
|
-
|
|
43
|
+
[PARAM_FILE_PATH]: {
|
|
40
44
|
description: 'The path to the file to write to.',
|
|
41
45
|
type: 'string',
|
|
42
46
|
},
|
|
43
|
-
|
|
47
|
+
[WRITE_FILE_PARAM_CONTENT]: {
|
|
44
48
|
description: "The content to write to the file. Do not use omission placeholders like '(rest of methods ...)', '...', or 'unchanged code'; provide complete literal content.",
|
|
45
49
|
type: 'string',
|
|
46
50
|
},
|
|
47
51
|
},
|
|
48
|
-
required: [
|
|
52
|
+
required: [PARAM_FILE_PATH, WRITE_FILE_PARAM_CONTENT],
|
|
49
53
|
},
|
|
50
54
|
},
|
|
51
55
|
grep_search: {
|
|
@@ -54,38 +58,38 @@ export const DEFAULT_LEGACY_SET = {
|
|
|
54
58
|
parametersJsonSchema: {
|
|
55
59
|
type: 'object',
|
|
56
60
|
properties: {
|
|
57
|
-
|
|
61
|
+
[PARAM_PATTERN]: {
|
|
58
62
|
description: `The regular expression (regex) pattern to search for within file contents (e.g., 'function\\s+myFunction', 'import\\s+\\{.*\\}\\s+from\\s+.*').`,
|
|
59
63
|
type: 'string',
|
|
60
64
|
},
|
|
61
|
-
|
|
65
|
+
[PARAM_DIR_PATH]: {
|
|
62
66
|
description: 'Optional: The absolute path to the directory to search within. If omitted, searches the current working directory.',
|
|
63
67
|
type: 'string',
|
|
64
68
|
},
|
|
65
|
-
|
|
69
|
+
[GREP_PARAM_INCLUDE_PATTERN]: {
|
|
66
70
|
description: `Optional: A glob pattern to filter which files are searched (e.g., '*.js', '*.{ts,tsx}', 'src/**'). If omitted, searches all files (respecting potential global ignores).`,
|
|
67
71
|
type: 'string',
|
|
68
72
|
},
|
|
69
|
-
|
|
73
|
+
[GREP_PARAM_EXCLUDE_PATTERN]: {
|
|
70
74
|
description: 'Optional: A regular expression pattern to exclude from the search results. If a line matches both the pattern and the exclude_pattern, it will be omitted.',
|
|
71
75
|
type: 'string',
|
|
72
76
|
},
|
|
73
|
-
|
|
77
|
+
[GREP_PARAM_NAMES_ONLY]: {
|
|
74
78
|
description: 'Optional: If true, only the file paths of the matches will be returned, without the line content or line numbers. This is useful for gathering a list of files.',
|
|
75
79
|
type: 'boolean',
|
|
76
80
|
},
|
|
77
|
-
|
|
81
|
+
[GREP_PARAM_MAX_MATCHES_PER_FILE]: {
|
|
78
82
|
description: 'Optional: Maximum number of matches to return per file. Use this to prevent being overwhelmed by repetitive matches in large files.',
|
|
79
83
|
type: 'integer',
|
|
80
84
|
minimum: 1,
|
|
81
85
|
},
|
|
82
|
-
|
|
86
|
+
[GREP_PARAM_TOTAL_MAX_MATCHES]: {
|
|
83
87
|
description: 'Optional: Maximum number of total matches to return. Use this to limit the overall size of the response. Defaults to 100 if omitted.',
|
|
84
88
|
type: 'integer',
|
|
85
89
|
minimum: 1,
|
|
86
90
|
},
|
|
87
91
|
},
|
|
88
|
-
required: [
|
|
92
|
+
required: [PARAM_PATTERN],
|
|
89
93
|
},
|
|
90
94
|
},
|
|
91
95
|
grep_search_ripgrep: {
|
|
@@ -94,64 +98,64 @@ export const DEFAULT_LEGACY_SET = {
|
|
|
94
98
|
parametersJsonSchema: {
|
|
95
99
|
type: 'object',
|
|
96
100
|
properties: {
|
|
97
|
-
|
|
101
|
+
[PARAM_PATTERN]: {
|
|
98
102
|
description: `The pattern to search for. By default, treated as a Rust-flavored regular expression. Use '\\b' for precise symbol matching (e.g., '\\bMatchMe\\b').`,
|
|
99
103
|
type: 'string',
|
|
100
104
|
},
|
|
101
|
-
|
|
105
|
+
[PARAM_DIR_PATH]: {
|
|
102
106
|
description: "Directory or file to search. Directories are searched recursively. Relative paths are resolved against current working directory. Defaults to current working directory ('.') if omitted.",
|
|
103
107
|
type: 'string',
|
|
104
108
|
},
|
|
105
|
-
|
|
109
|
+
[GREP_PARAM_INCLUDE_PATTERN]: {
|
|
106
110
|
description: "Glob pattern to filter files (e.g., '*.ts', 'src/**'). Recommended for large repositories to reduce noise. Defaults to all files if omitted.",
|
|
107
111
|
type: 'string',
|
|
108
112
|
},
|
|
109
|
-
|
|
113
|
+
[GREP_PARAM_EXCLUDE_PATTERN]: {
|
|
110
114
|
description: 'Optional: A regular expression pattern to exclude from the search results. If a line matches both the pattern and the exclude_pattern, it will be omitted.',
|
|
111
115
|
type: 'string',
|
|
112
116
|
},
|
|
113
|
-
|
|
117
|
+
[GREP_PARAM_NAMES_ONLY]: {
|
|
114
118
|
description: 'Optional: If true, only the file paths of the matches will be returned, without the line content or line numbers. This is useful for gathering a list of files.',
|
|
115
119
|
type: 'boolean',
|
|
116
120
|
},
|
|
117
|
-
|
|
121
|
+
[PARAM_CASE_SENSITIVE]: {
|
|
118
122
|
description: 'If true, search is case-sensitive. Defaults to false (ignore case) if omitted.',
|
|
119
123
|
type: 'boolean',
|
|
120
124
|
},
|
|
121
|
-
|
|
125
|
+
[GREP_PARAM_FIXED_STRINGS]: {
|
|
122
126
|
description: 'If true, treats the `pattern` as a literal string instead of a regular expression. Defaults to false (basic regex) if omitted.',
|
|
123
127
|
type: 'boolean',
|
|
124
128
|
},
|
|
125
|
-
|
|
129
|
+
[GREP_PARAM_CONTEXT]: {
|
|
126
130
|
description: 'Show this many lines of context around each match (equivalent to grep -C). Defaults to 0 if omitted.',
|
|
127
131
|
type: 'integer',
|
|
128
132
|
},
|
|
129
|
-
|
|
133
|
+
[GREP_PARAM_AFTER]: {
|
|
130
134
|
description: 'Show this many lines after each match (equivalent to grep -A). Defaults to 0 if omitted.',
|
|
131
135
|
type: 'integer',
|
|
132
136
|
minimum: 0,
|
|
133
137
|
},
|
|
134
|
-
|
|
138
|
+
[GREP_PARAM_BEFORE]: {
|
|
135
139
|
description: 'Show this many lines before each match (equivalent to grep -B). Defaults to 0 if omitted.',
|
|
136
140
|
type: 'integer',
|
|
137
141
|
minimum: 0,
|
|
138
142
|
},
|
|
139
|
-
|
|
143
|
+
[GREP_PARAM_NO_IGNORE]: {
|
|
140
144
|
description: 'If true, searches all files including those usually ignored (like in .gitignore, build/, dist/, etc). Defaults to false if omitted.',
|
|
141
145
|
type: 'boolean',
|
|
142
146
|
},
|
|
143
|
-
|
|
147
|
+
[GREP_PARAM_MAX_MATCHES_PER_FILE]: {
|
|
144
148
|
description: 'Optional: Maximum number of matches to return per file. Use this to prevent being overwhelmed by repetitive matches in large files.',
|
|
145
149
|
type: 'integer',
|
|
146
150
|
minimum: 1,
|
|
147
151
|
},
|
|
148
|
-
|
|
152
|
+
[GREP_PARAM_TOTAL_MAX_MATCHES]: {
|
|
149
153
|
description: 'Optional: Maximum number of total matches to return. Use this to limit the overall size of the response. Defaults to 100 if omitted.',
|
|
150
154
|
type: 'integer',
|
|
151
155
|
minimum: 1,
|
|
152
156
|
},
|
|
153
157
|
},
|
|
154
|
-
required: [
|
|
158
|
+
required: [PARAM_PATTERN],
|
|
155
159
|
},
|
|
156
160
|
},
|
|
157
161
|
glob: {
|
|
@@ -160,28 +164,28 @@ export const DEFAULT_LEGACY_SET = {
|
|
|
160
164
|
parametersJsonSchema: {
|
|
161
165
|
type: 'object',
|
|
162
166
|
properties: {
|
|
163
|
-
|
|
167
|
+
[PARAM_PATTERN]: {
|
|
164
168
|
description: "The glob pattern to match against (e.g., '**/*.py', 'docs/*.md').",
|
|
165
169
|
type: 'string',
|
|
166
170
|
},
|
|
167
|
-
|
|
171
|
+
[PARAM_DIR_PATH]: {
|
|
168
172
|
description: 'Optional: The absolute path to the directory to search within. If omitted, searches the root directory.',
|
|
169
173
|
type: 'string',
|
|
170
174
|
},
|
|
171
|
-
|
|
175
|
+
[PARAM_CASE_SENSITIVE]: {
|
|
172
176
|
description: 'Optional: Whether the search should be case-sensitive. Defaults to false.',
|
|
173
177
|
type: 'boolean',
|
|
174
178
|
},
|
|
175
|
-
|
|
179
|
+
[PARAM_RESPECT_GIT_IGNORE]: {
|
|
176
180
|
description: 'Optional: Whether to respect .gitignore patterns when finding files. Only available in git repositories. Defaults to true.',
|
|
177
181
|
type: 'boolean',
|
|
178
182
|
},
|
|
179
|
-
|
|
183
|
+
[PARAM_RESPECT_GEMINI_IGNORE]: {
|
|
180
184
|
description: 'Optional: Whether to respect .geminiignore patterns when finding files. Defaults to true.',
|
|
181
185
|
type: 'boolean',
|
|
182
186
|
},
|
|
183
187
|
},
|
|
184
|
-
required: [
|
|
188
|
+
required: [PARAM_PATTERN],
|
|
185
189
|
},
|
|
186
190
|
},
|
|
187
191
|
list_directory: {
|
|
@@ -190,33 +194,33 @@ export const DEFAULT_LEGACY_SET = {
|
|
|
190
194
|
parametersJsonSchema: {
|
|
191
195
|
type: 'object',
|
|
192
196
|
properties: {
|
|
193
|
-
|
|
197
|
+
[PARAM_DIR_PATH]: {
|
|
194
198
|
description: 'The path to the directory to list',
|
|
195
199
|
type: 'string',
|
|
196
200
|
},
|
|
197
|
-
|
|
201
|
+
[LS_PARAM_IGNORE]: {
|
|
198
202
|
description: 'List of glob patterns to ignore',
|
|
199
203
|
items: {
|
|
200
204
|
type: 'string',
|
|
201
205
|
},
|
|
202
206
|
type: 'array',
|
|
203
207
|
},
|
|
204
|
-
|
|
208
|
+
[PARAM_FILE_FILTERING_OPTIONS]: {
|
|
205
209
|
description: 'Optional: Whether to respect ignore patterns from .gitignore or .geminiignore',
|
|
206
210
|
type: 'object',
|
|
207
211
|
properties: {
|
|
208
|
-
|
|
212
|
+
[PARAM_RESPECT_GIT_IGNORE]: {
|
|
209
213
|
description: 'Optional: Whether to respect .gitignore patterns when listing files. Only available in git repositories. Defaults to true.',
|
|
210
214
|
type: 'boolean',
|
|
211
215
|
},
|
|
212
|
-
|
|
216
|
+
[PARAM_RESPECT_GEMINI_IGNORE]: {
|
|
213
217
|
description: 'Optional: Whether to respect .geminiignore patterns when listing files. Defaults to true.',
|
|
214
218
|
type: 'boolean',
|
|
215
219
|
},
|
|
216
220
|
},
|
|
217
221
|
},
|
|
218
222
|
},
|
|
219
|
-
required: [
|
|
223
|
+
required: [PARAM_DIR_PATH],
|
|
220
224
|
},
|
|
221
225
|
},
|
|
222
226
|
run_shell_command: (enableInteractiveShell, enableEfficiency) => getShellDeclaration(enableInteractiveShell, enableEfficiency),
|
|
@@ -237,11 +241,11 @@ export const DEFAULT_LEGACY_SET = {
|
|
|
237
241
|
parametersJsonSchema: {
|
|
238
242
|
type: 'object',
|
|
239
243
|
properties: {
|
|
240
|
-
|
|
244
|
+
[PARAM_FILE_PATH]: {
|
|
241
245
|
description: 'The path to the file to modify.',
|
|
242
246
|
type: 'string',
|
|
243
247
|
},
|
|
244
|
-
|
|
248
|
+
[EDIT_PARAM_INSTRUCTION]: {
|
|
245
249
|
description: `A clear, semantic instruction for the code change, acting as a high-quality prompt for an expert LLM assistant. It must be self-contained and explain the goal of the change.
|
|
246
250
|
|
|
247
251
|
A good instruction should concisely answer:
|
|
@@ -259,20 +263,25 @@ A good instruction should concisely answer:
|
|
|
259
263
|
`,
|
|
260
264
|
type: 'string',
|
|
261
265
|
},
|
|
262
|
-
|
|
266
|
+
[EDIT_PARAM_OLD_STRING]: {
|
|
263
267
|
description: 'The exact literal text to replace, preferably unescaped. For single replacements (default), include at least 3 lines of context BEFORE and AFTER the target text, matching whitespace and indentation precisely. If this string is not the exact literal text (i.e. you escaped it) or does not match exactly, the tool will fail.',
|
|
264
268
|
type: 'string',
|
|
265
269
|
},
|
|
266
|
-
|
|
270
|
+
[EDIT_PARAM_NEW_STRING]: {
|
|
267
271
|
description: "The exact literal text to replace `old_string` with, preferably unescaped. Provide the EXACT text. Ensure the resulting code is correct and idiomatic. Do not use omission placeholders like '(rest of methods ...)', '...', or 'unchanged code'; provide exact literal code.",
|
|
268
272
|
type: 'string',
|
|
269
273
|
},
|
|
270
|
-
|
|
274
|
+
[EDIT_PARAM_ALLOW_MULTIPLE]: {
|
|
271
275
|
type: 'boolean',
|
|
272
276
|
description: 'If true, the tool will replace all occurrences of `old_string`. If false (default), it will only succeed if exactly one occurrence is found.',
|
|
273
277
|
},
|
|
274
278
|
},
|
|
275
|
-
required: [
|
|
279
|
+
required: [
|
|
280
|
+
PARAM_FILE_PATH,
|
|
281
|
+
EDIT_PARAM_INSTRUCTION,
|
|
282
|
+
EDIT_PARAM_OLD_STRING,
|
|
283
|
+
EDIT_PARAM_NEW_STRING,
|
|
284
|
+
],
|
|
276
285
|
},
|
|
277
286
|
},
|
|
278
287
|
google_web_search: {
|
|
@@ -281,12 +290,12 @@ A good instruction should concisely answer:
|
|
|
281
290
|
parametersJsonSchema: {
|
|
282
291
|
type: 'object',
|
|
283
292
|
properties: {
|
|
284
|
-
|
|
293
|
+
[WEB_SEARCH_PARAM_QUERY]: {
|
|
285
294
|
type: 'string',
|
|
286
295
|
description: 'The search query to find information on the web.',
|
|
287
296
|
},
|
|
288
297
|
},
|
|
289
|
-
required: [
|
|
298
|
+
required: [WEB_SEARCH_PARAM_QUERY],
|
|
290
299
|
},
|
|
291
300
|
},
|
|
292
301
|
web_fetch: {
|
|
@@ -295,12 +304,12 @@ A good instruction should concisely answer:
|
|
|
295
304
|
parametersJsonSchema: {
|
|
296
305
|
type: 'object',
|
|
297
306
|
properties: {
|
|
298
|
-
|
|
307
|
+
[WEB_FETCH_PARAM_PROMPT]: {
|
|
299
308
|
description: 'A comprehensive prompt that includes the URL(s) (up to 20) to fetch and specific instructions on how to process their content (e.g., "Summarize https://example.com/article and extract key points from https://another.com/data"). All URLs to be fetched must be valid and complete, starting with "http://" or "https://", and be fully-formed with a valid hostname (e.g., a domain name like "example.com" or an IP address). For example, "https://example.com" is valid, but "example.com" is not.',
|
|
300
309
|
type: 'string',
|
|
301
310
|
},
|
|
302
311
|
},
|
|
303
|
-
required: [
|
|
312
|
+
required: [WEB_FETCH_PARAM_PROMPT],
|
|
304
313
|
},
|
|
305
314
|
},
|
|
306
315
|
read_many_files: {
|
|
@@ -318,7 +327,7 @@ Use this tool when the user's query implies needing the content of several files
|
|
|
318
327
|
parametersJsonSchema: {
|
|
319
328
|
type: 'object',
|
|
320
329
|
properties: {
|
|
321
|
-
|
|
330
|
+
[READ_MANY_PARAM_INCLUDE]: {
|
|
322
331
|
type: 'array',
|
|
323
332
|
items: {
|
|
324
333
|
type: 'string',
|
|
@@ -327,7 +336,7 @@ Use this tool when the user's query implies needing the content of several files
|
|
|
327
336
|
minItems: 1,
|
|
328
337
|
description: 'An array of glob patterns or paths. Examples: ["src/**/*.ts"], ["README.md", "docs/"]',
|
|
329
338
|
},
|
|
330
|
-
|
|
339
|
+
[READ_MANY_PARAM_EXCLUDE]: {
|
|
331
340
|
type: 'array',
|
|
332
341
|
items: {
|
|
333
342
|
type: 'string',
|
|
@@ -336,32 +345,32 @@ Use this tool when the user's query implies needing the content of several files
|
|
|
336
345
|
description: 'Optional. Glob patterns for files/directories to exclude. Added to default excludes if useDefaultExcludes is true. Example: "**/*.log", "temp/"',
|
|
337
346
|
default: [],
|
|
338
347
|
},
|
|
339
|
-
|
|
348
|
+
[READ_MANY_PARAM_RECURSIVE]: {
|
|
340
349
|
type: 'boolean',
|
|
341
350
|
description: 'Optional. Whether to search recursively (primarily controlled by `**` in glob patterns). Defaults to true.',
|
|
342
351
|
default: true,
|
|
343
352
|
},
|
|
344
|
-
|
|
353
|
+
[READ_MANY_PARAM_USE_DEFAULT_EXCLUDES]: {
|
|
345
354
|
type: 'boolean',
|
|
346
355
|
description: 'Optional. Whether to apply a list of default exclusion patterns (e.g., node_modules, .git, binary files). Defaults to true.',
|
|
347
356
|
default: true,
|
|
348
357
|
},
|
|
349
|
-
|
|
358
|
+
[PARAM_FILE_FILTERING_OPTIONS]: {
|
|
350
359
|
description: 'Whether to respect ignore patterns from .gitignore or .geminiignore',
|
|
351
360
|
type: 'object',
|
|
352
361
|
properties: {
|
|
353
|
-
|
|
362
|
+
[PARAM_RESPECT_GIT_IGNORE]: {
|
|
354
363
|
description: 'Optional: Whether to respect .gitignore patterns when listing files. Only available in git repositories. Defaults to true.',
|
|
355
364
|
type: 'boolean',
|
|
356
365
|
},
|
|
357
|
-
|
|
366
|
+
[PARAM_RESPECT_GEMINI_IGNORE]: {
|
|
358
367
|
description: 'Optional: Whether to respect .geminiignore patterns when listing files. Defaults to true.',
|
|
359
368
|
type: 'boolean',
|
|
360
369
|
},
|
|
361
370
|
},
|
|
362
371
|
},
|
|
363
372
|
},
|
|
364
|
-
required: [
|
|
373
|
+
required: [READ_MANY_PARAM_INCLUDE],
|
|
365
374
|
},
|
|
366
375
|
},
|
|
367
376
|
save_memory: {
|
|
@@ -377,12 +386,12 @@ NEVER save workspace-specific context, local paths, or commands (e.g. "The entry
|
|
|
377
386
|
parametersJsonSchema: {
|
|
378
387
|
type: 'object',
|
|
379
388
|
properties: {
|
|
380
|
-
|
|
389
|
+
[MEMORY_PARAM_FACT]: {
|
|
381
390
|
type: 'string',
|
|
382
391
|
description: 'The specific fact or piece of information to remember. Should be a clear, self-contained statement.',
|
|
383
392
|
},
|
|
384
393
|
},
|
|
385
|
-
required: [
|
|
394
|
+
required: [MEMORY_PARAM_FACT],
|
|
386
395
|
additionalProperties: false,
|
|
387
396
|
},
|
|
388
397
|
},
|
|
@@ -454,29 +463,29 @@ The agent did not use the todo list because this task could be completed by a ti
|
|
|
454
463
|
parametersJsonSchema: {
|
|
455
464
|
type: 'object',
|
|
456
465
|
properties: {
|
|
457
|
-
|
|
466
|
+
[TODOS_PARAM_TODOS]: {
|
|
458
467
|
type: 'array',
|
|
459
468
|
description: 'The complete list of todo items. This will replace the existing list.',
|
|
460
469
|
items: {
|
|
461
470
|
type: 'object',
|
|
462
471
|
description: 'A single todo item.',
|
|
463
472
|
properties: {
|
|
464
|
-
|
|
473
|
+
[TODOS_ITEM_PARAM_DESCRIPTION]: {
|
|
465
474
|
type: 'string',
|
|
466
475
|
description: 'The description of the task.',
|
|
467
476
|
},
|
|
468
|
-
|
|
477
|
+
[TODOS_ITEM_PARAM_STATUS]: {
|
|
469
478
|
type: 'string',
|
|
470
479
|
description: 'The current status of the task.',
|
|
471
480
|
enum: ['pending', 'in_progress', 'completed', 'cancelled'],
|
|
472
481
|
},
|
|
473
482
|
},
|
|
474
|
-
required: [
|
|
483
|
+
required: [TODOS_ITEM_PARAM_DESCRIPTION, TODOS_ITEM_PARAM_STATUS],
|
|
475
484
|
additionalProperties: false,
|
|
476
485
|
},
|
|
477
486
|
},
|
|
478
487
|
},
|
|
479
|
-
required: [
|
|
488
|
+
required: [TODOS_PARAM_TODOS],
|
|
480
489
|
additionalProperties: false,
|
|
481
490
|
},
|
|
482
491
|
},
|
|
@@ -486,7 +495,7 @@ The agent did not use the todo list because this task could be completed by a ti
|
|
|
486
495
|
parametersJsonSchema: {
|
|
487
496
|
type: 'object',
|
|
488
497
|
properties: {
|
|
489
|
-
|
|
498
|
+
[DOCS_PARAM_PATH]: {
|
|
490
499
|
description: "The relative path to the documentation file (e.g., 'cli/commands.md'). If omitted, lists all available documentation.",
|
|
491
500
|
type: 'string',
|
|
492
501
|
},
|
|
@@ -498,53 +507,60 @@ The agent did not use the todo list because this task could be completed by a ti
|
|
|
498
507
|
description: 'Ask the user one or more questions to gather preferences, clarify requirements, or make decisions.',
|
|
499
508
|
parametersJsonSchema: {
|
|
500
509
|
type: 'object',
|
|
501
|
-
required: [
|
|
510
|
+
required: [ASK_USER_PARAM_QUESTIONS],
|
|
502
511
|
properties: {
|
|
503
|
-
|
|
512
|
+
[ASK_USER_PARAM_QUESTIONS]: {
|
|
504
513
|
type: 'array',
|
|
505
514
|
minItems: 1,
|
|
506
515
|
maxItems: 4,
|
|
507
516
|
items: {
|
|
508
517
|
type: 'object',
|
|
509
|
-
required: [
|
|
518
|
+
required: [
|
|
519
|
+
ASK_USER_QUESTION_PARAM_QUESTION,
|
|
520
|
+
ASK_USER_QUESTION_PARAM_HEADER,
|
|
521
|
+
ASK_USER_QUESTION_PARAM_TYPE,
|
|
522
|
+
],
|
|
510
523
|
properties: {
|
|
511
|
-
|
|
524
|
+
[ASK_USER_QUESTION_PARAM_QUESTION]: {
|
|
512
525
|
type: 'string',
|
|
513
526
|
description: 'The complete question to ask the user. Should be clear, specific, and end with a question mark.',
|
|
514
527
|
},
|
|
515
|
-
|
|
528
|
+
[ASK_USER_QUESTION_PARAM_HEADER]: {
|
|
516
529
|
type: 'string',
|
|
517
530
|
description: 'Very short label displayed as a chip/tag. Use abbreviations: "Auth" not "Authentication", "Config" not "Configuration". Examples: "Auth method", "Library", "Approach", "Database".',
|
|
518
531
|
},
|
|
519
|
-
|
|
532
|
+
[ASK_USER_QUESTION_PARAM_TYPE]: {
|
|
520
533
|
type: 'string',
|
|
521
534
|
enum: ['choice', 'text', 'yesno'],
|
|
522
535
|
default: 'choice',
|
|
523
536
|
description: "Question type: 'choice' (default) for multiple-choice with options, 'text' for free-form input, 'yesno' for Yes/No confirmation.",
|
|
524
537
|
},
|
|
525
|
-
|
|
538
|
+
[ASK_USER_QUESTION_PARAM_OPTIONS]: {
|
|
526
539
|
type: 'array',
|
|
527
540
|
description: "The selectable choices for 'choice' type questions. Provide 2-4 options. An 'Other' option is automatically added. Not needed for 'text' or 'yesno' types.",
|
|
528
541
|
items: {
|
|
529
542
|
type: 'object',
|
|
530
|
-
required: [
|
|
543
|
+
required: [
|
|
544
|
+
ASK_USER_OPTION_PARAM_LABEL,
|
|
545
|
+
ASK_USER_OPTION_PARAM_DESCRIPTION,
|
|
546
|
+
],
|
|
531
547
|
properties: {
|
|
532
|
-
|
|
548
|
+
[ASK_USER_OPTION_PARAM_LABEL]: {
|
|
533
549
|
type: 'string',
|
|
534
550
|
description: 'The display text for this option (1-5 words). Example: "OAuth 2.0"',
|
|
535
551
|
},
|
|
536
|
-
|
|
552
|
+
[ASK_USER_OPTION_PARAM_DESCRIPTION]: {
|
|
537
553
|
type: 'string',
|
|
538
554
|
description: 'Brief explanation of this option. Example: "Industry standard, supports SSO"',
|
|
539
555
|
},
|
|
540
556
|
},
|
|
541
557
|
},
|
|
542
558
|
},
|
|
543
|
-
|
|
559
|
+
[ASK_USER_QUESTION_PARAM_MULTI_SELECT]: {
|
|
544
560
|
type: 'boolean',
|
|
545
561
|
description: "Only applies when type='choice'. Set to true to allow selecting multiple options.",
|
|
546
562
|
},
|
|
547
|
-
|
|
563
|
+
[ASK_USER_QUESTION_PARAM_PLACEHOLDER]: {
|
|
548
564
|
type: 'string',
|
|
549
565
|
description: "Hint text shown in the input field. For type='text', shown in the main input. For type='choice', shown in the 'Other' custom input.",
|
|
550
566
|
},
|
|
@@ -560,7 +576,7 @@ The agent did not use the todo list because this task could be completed by a ti
|
|
|
560
576
|
parametersJsonSchema: {
|
|
561
577
|
type: 'object',
|
|
562
578
|
properties: {
|
|
563
|
-
|
|
579
|
+
[PLAN_MODE_PARAM_REASON]: {
|
|
564
580
|
type: 'string',
|
|
565
581
|
description: 'Short reason explaining why you are entering plan mode.',
|
|
566
582
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-legacy.js","sourceRoot":"","sources":["../../../../../src/tools/definitions/model-family-sets/default-legacy.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,OAAO,EACL,cAAc,EACd,cAAc,EACd,YAAY,EACZ,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,EACd,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,EACnB,yBAAyB,EACzB,gBAAgB,EAChB,2BAA2B,EAC3B,kBAAkB,EAClB,yBAAyB,
|
|
1
|
+
{"version":3,"file":"default-legacy.js","sourceRoot":"","sources":["../../../../../src/tools/definitions/model-family-sets/default-legacy.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,OAAO,EACL,cAAc,EACd,cAAc,EACd,YAAY,EACZ,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,EACd,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,EACnB,yBAAyB,EACzB,gBAAgB,EAChB,2BAA2B,EAC3B,kBAAkB,EAClB,yBAAyB;AACzB,yBAAyB;AACzB,eAAe,EACf,cAAc,EACd,aAAa,EACb,oBAAoB,EACpB,wBAAwB,EACxB,2BAA2B,EAC3B,4BAA4B;AAC5B,gCAAgC;AAChC,0BAA0B,EAC1B,wBAAwB,EACxB,wBAAwB,EACxB,0BAA0B,EAC1B,0BAA0B,EAC1B,qBAAqB,EACrB,+BAA+B,EAC/B,4BAA4B,EAC5B,wBAAwB,EACxB,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACpB,sBAAsB,EACtB,qBAAqB,EACrB,qBA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