Skip to content

Commit 2417736

Browse files
Merge remote-tracking branch 'upstream/main' into fix/url-trailing-punctuation
2 parents e317ed5 + cb7fca0 commit 2417736

23 files changed

Lines changed: 576 additions & 971 deletions

GEMINI.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ powerful tool for developers.
5252

5353
## Development Conventions
5454

55+
- **Legacy Snippets:** `packages/core/src/prompts/snippets.legacy.ts` is a
56+
snapshot of an older system prompt. Avoid changing the prompting verbiage to
57+
preserve its historical behavior; however, structural changes to ensure
58+
compilation or simplify the code are permitted.
5559
- **Contributions:** Follow the process outlined in `CONTRIBUTING.md`. Requires
5660
signing the Google CLA.
5761
- **Pull Requests:** Keep PRs small, focused, and linked to an existing issue.

docs/cli/plan-mode.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ These are the only allowed tools:
9696
- **Planning (Write):** [`write_file`] and [`replace`] ONLY allowed for `.md`
9797
files in the `~/.gemini/tmp/<project>/plans/` directory.
9898

99-
[`list_directory`]: ../tools/file-system.md#1-list_directory-readfolder
100-
[`read_file`]: ../tools/file-system.md#2-read_file-readfile
101-
[`grep_search`]: ../tools/file-system.md#5-grep_search-searchtext
102-
[`write_file`]: ../tools/file-system.md#3-write_file-writefile
103-
[`glob`]: ../tools/file-system.md#4-glob-findfiles
104-
[`google_web_search`]: ../tools/web-search.md
105-
[`replace`]: ../tools/file-system.md#6-replace-edit
106-
[MCP tools]: ../tools/mcp-server.md
99+
[`list_directory`]: /docs/tools/file-system.md#1-list_directory-readfolder
100+
[`read_file`]: /docs/tools/file-system.md#2-read_file-readfile
101+
[`grep_search`]: /docs/tools/file-system.md#5-grep_search-searchtext
102+
[`write_file`]: /docs/tools/file-system.md#3-write_file-writefile
103+
[`glob`]: /docs/tools/file-system.md#4-glob-findfiles
104+
[`google_web_search`]: /docs/tools/web-search.md
105+
[`replace`]: /docs/tools/file-system.md#6-replace-edit
106+
[MCP tools]: /docs/tools/mcp-server.md

package-lock.json

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
"@types/react": "^19.2.0",
9191
"@types/react-dom": "^19.2.0",
9292
"@types/shell-quote": "^1.7.5",
93+
"@types/ws": "^8.18.1",
9394
"@vitest/coverage-v8": "^3.1.1",
9495
"@vitest/eslint-plugin": "^1.3.4",
9596
"cross-env": "^7.0.3",

packages/cli/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"mnemonist": "^0.40.3",
5555
"open": "^10.1.2",
5656
"prompts": "^2.4.2",
57+
"proper-lockfile": "^4.1.2",
5758
"react": "^19.2.0",
5859
"read-package-up": "^11.0.0",
5960
"shell-quote": "^1.8.3",

packages/cli/src/config/extension-manager.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,10 @@ export class ExtensionManager extends ExtensionLoader {
188188
)
189189
) {
190190
const trustedFolders = loadTrustedFolders();
191-
trustedFolders.setValue(this.workspaceDir, TrustLevel.TRUST_FOLDER);
191+
await trustedFolders.setValue(
192+
this.workspaceDir,
193+
TrustLevel.TRUST_FOLDER,
194+
);
192195
} else {
193196
throw new Error(
194197
`Could not install extension because the current workspace at ${this.workspaceDir} is not trusted.`,

0 commit comments

Comments
 (0)