Skip to content

Commit 95b777d

Browse files
authored
Merge branch 'main' into go_sweet_bench
2 parents b8ce091 + 514e9ea commit 95b777d

File tree

152 files changed

+6225
-1153
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

152 files changed

+6225
-1153
lines changed

.wordlist.txt

Lines changed: 91 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4120,4 +4120,94 @@ pyproject
41204120
toml
41214121
virtualenv
41224122
mebibytes
4123-
syscalls
4123+
syscalls
4124+
ArchSpecificLibrary
4125+
Asahi
4126+
AsmSource
4127+
AutoEncoder
4128+
Avx
4129+
BuildCommand
4130+
BuildYourOwnKernel
4131+
CPPLibRecommend
4132+
CPPLibVersion
4133+
CPPStdCodes
4134+
CompilerSpecific
4135+
ConfigGuess
4136+
ConfigurationInfo
4137+
CrossCompile
4138+
DefineOtherArch
4139+
Denoises
4140+
DiT
4141+
Drozd
4142+
FlatBuffers
4143+
GolangInlineAsm
4144+
GolangIntrinsic
4145+
GolangLinkLibrary
4146+
HostCpuDetection
4147+
IncompatibleHeaderFile
4148+
InlineAsm
4149+
JavaJar
4150+
JavaPom
4151+
JavaSource
4152+
NoEquivalentInlineAsm
4153+
NoEquivalentIntrinsic
4154+
OldCrt
4155+
OpenAnolis
4156+
PreprocessorError
4157+
PythonInlineAsm
4158+
PythonIntrinsic
4159+
PythonLinkLibrary
4160+
PythonPackage
4161+
RustInlineAsm
4162+
RustIntrinsic
4163+
RustLinkLibrary
4164+
SentencePiece
4165+
SignedChar
4166+
Submodule
4167+
TUI
4168+
Wix’s
4169+
audiogen
4170+
bazelbuild
4171+
centos
4172+
cmdline
4173+
deadsnakes
4174+
flatbuffers
4175+
libmagic
4176+
litert
4177+
mv
4178+
ngrok’s
4179+
pagesize
4180+
runfinch
4181+
spiece
4182+
subcommand
4183+
subgenre
4184+
submodule
4185+
subword
4186+
techcrunch
4187+
transformative
4188+
Aude
4189+
Gian
4190+
Iodice
4191+
SmolLM
4192+
VME
4193+
Vuilliomenet
4194+
cpus
4195+
fLO
4196+
invalidations
4197+
libtensorflowlite
4198+
macos
4199+
multithreaded
4200+
Wix's
4201+
ngrok's
4202+
qs
4203+
qu
4204+
Mbps
4205+
SVMATCH
4206+
abd
4207+
bitvector
4208+
bitvectors
4209+
iperf
4210+
normals
4211+
svcntb
4212+
svmatch
4213+
tc

assets/contributors.csv

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,9 @@ Yiyang Fan,Arm,,,,
8585
Julien Jayat,Arm,,,,
8686
Geremy Cohen,Arm,geremyCohen,geremyinanutshell,,
8787
Barbara Corriero,Arm,,,,
88-
Nina Drozd,Arm,,ninadrozd,,
88+
Nina Drozd,Arm,NinaARM,ninadrozd,,
8989
Jun He,Arm,JunHe77,jun-he-91969822,,
90+
Gian Marco Iodice,Arm,,,,
91+
Aude Vuilliomenet,Arm,,,,
92+
Andrew Kilroy,Arm,,,,
93+
Peter Harris,Arm,,,,

content/install-guides/aws-q-cli.md

Lines changed: 171 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ q version
100100
The version is printed:
101101

102102
```output
103-
q 1.7.2
103+
q 1.10.1
104104
```
105105

106106
## How can I configure my AWS account to get the most from the Q CLI?
@@ -122,19 +122,28 @@ q chat
122122
When the chat session starts you see:
123123

124124
```output
125-
Hi, I'm Amazon Q. Ask me anything.
125+
To learn more about MCP safety, see https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/command-line-mcp-security.html
126126
127-
Things to try
128-
• Fix the build failures in this project.
129-
• List my s3 buckets in us-west-2.
130-
• Write unit tests for my application.
131-
• Help me understand my git status
132127
133-
/acceptall Toggles acceptance prompting for the session.
134-
/profile (Beta) Manage profiles for the chat session
135-
/context (Beta) Manage context files for a profile
136-
/help Show the help dialogue
137-
/quit Quit the application
128+
129+
⢠⣶⣶⣦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣤⣶⣿⣿⣿⣶⣦⡀⠀
130+
⠀⠀⠀⣾⡿⢻⣿⡆⠀⠀⠀⢀⣄⡄⢀⣠⣤⣤⡀⢀⣠⣤⣤⡀⠀⠀⢀⣠⣤⣤⣤⣄⠀⠀⢀⣤⣤⣤⣤⣤⣤⡀⠀⠀⣀⣤⣤⣤⣀⠀⠀⠀⢠⣤⡀⣀⣤⣤⣄⡀⠀⠀⠀⠀⠀⠀⢠⣿⣿⠋⠀⠀⠀⠙⣿⣿⡆
131+
⠀⠀⣼⣿⠇⠀⣿⣿⡄⠀⠀⢸⣿⣿⠛⠉⠻⣿⣿⠛⠉⠛⣿⣿⠀⠀⠘⠛⠉⠉⠻⣿⣧⠀⠈⠛⠛⠛⣻⣿⡿⠀⢀⣾⣿⠛⠉⠻⣿⣷⡀⠀⢸⣿⡟⠛⠉⢻⣿⣷⠀⠀⠀⠀⠀⠀⣼⣿⡏⠀⠀⠀⠀⠀⢸⣿⣿
132+
⠀⢰⣿⣿⣤⣤⣼⣿⣷⠀⠀⢸⣿⣿⠀⠀⠀⣿⣿⠀⠀⠀⣿⣿⠀⠀⢀⣴⣶⣶⣶⣿⣿⠀⠀⠀⣠⣾⡿⠋⠀⠀⢸⣿⣿⠀⠀⠀⣿⣿⡇⠀⢸⣿⡇⠀⠀⢸⣿⣿⠀⠀⠀⠀⠀⠀⢹⣿⣇⠀⠀⠀⠀⠀⢸⣿⡿
133+
⢀⣿⣿⠋⠉⠉⠉⢻⣿⣇⠀⢸⣿⣿⠀⠀⠀⣿⣿⠀⠀⠀⣿⣿⠀⠀⣿⣿⡀⠀⣠⣿⣿⠀⢀⣴⣿⣋⣀⣀⣀⡀⠘⣿⣿⣄⣀⣠⣿⣿⠃⠀⢸⣿⡇⠀⠀⢸⣿⣿⠀⠀⠀⠀⠀⠀⠈⢿⣿⣦⣀⣀⣀⣴⣿⡿⠃
134+
⠚⠛⠋⠀⠀⠀⠀⠘⠛⠛⠀⠘⠛⠛⠀⠀⠀⠛⠛⠀⠀⠀⠛⠛⠀⠀⠙⠻⠿⠟⠋⠛⠛⠀⠘⠛⠛⠛⠛⠛⠛⠃⠀⠈⠛⠿⠿⠿⠛⠁⠀⠀⠘⠛⠃⠀⠀⠘⠛⠛⠀⠀⠀⠀⠀⠀⠀⠀⠙⠛⠿⢿⣿⣿⣋⠀⠀
135+
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠛⠿⢿⡧
136+
137+
╭─────────────────────────────── Did you know? ────────────────────────────────╮
138+
│ │
139+
│ You can resume the last conversation from your current directory by │
140+
│ launching with q chat --resume │
141+
│ │
142+
╰──────────────────────────────────────────────────────────────────────────────╯
143+
144+
/help all commands • ctrl + j new lines • ctrl + s fuzzy search
145+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
146+
>
138147
```
139148

140149
For example, you can ask for the IP address of an EC2 instance instead of going to the AWS console or looking up the AWS CLI command to get it.
@@ -158,12 +167,16 @@ Use the `/context` command to see the possible locations to store your context.
158167
The help information is printed.
159168

160169
```output
161-
current profile: default
162170
163-
global:
164-
.amazonq/rules/**/*.md
165-
README.md
166-
AmazonQ.md
171+
🌍 global:
172+
.amazonq/rules/**/*.md
173+
README.md
174+
AmazonQ.md
175+
176+
👤 profile (default):
177+
<none>
178+
179+
No files in the current directory matched the rules above.
167180
```
168181

169182
For example, you can create a new file to store your context.
@@ -182,15 +195,148 @@ did you read my context information?
182195
The response confirms the context file was read:
183196

184197
```output
185-
Yes, I've read your context information. I understand that you're an Arm Linux developer who prefers
186-
Ubuntu and other Debian-based distributions. You don't use x86 computers, so I should provide
187-
information assuming you're working on Arm Linux. You sometimes use macOS and Windows on Arm, but I
188-
should only provide information about those operating systems when you specifically ask for it.
198+
Yes, I've read your context information. I understand that you're an Arm Linux developer who primarily
199+
uses Ubuntu and other Debian-based distributions. You don't use x86 computers, so I'll provide all
200+
information assuming you're working on Arm Linux. You occasionally use macOS and Windows on Arm, but I'
201+
ll only provide information about those operating systems when you specifically ask for it.
202+
203+
I'll tailor my responses to be relevant for Arm Linux development, particularly focusing on Debian-
204+
based distributions like Ubuntu, which is your preference.
205+
```
206+
207+
Give it a try by asking questions like "How do I install the AWS CLI?" and verify that the answers match the provided context.
208+
209+
## How do I change the model Amazon Q uses?
210+
211+
When you start `q chat` the model is printed:
212+
213+
```output
214+
🤖 You are chatting with claude-3.7-sonnet
215+
```
216+
217+
You can use the `/model` command to list other available models.
218+
219+
```console
220+
/model
221+
```
222+
223+
The model options are displayed:
224+
225+
```output
226+
? Select a model for this chat session ›
227+
❯ claude-4-sonnet
228+
claude-3.7-sonnet (active)
229+
claude-3.5-sonnet
230+
```
231+
232+
Use the arrow keys and select the model you want to use.
233+
234+
You can ask Amazon Q to set the default model for future sessions.
235+
236+
## Install an MCP server
237+
238+
As an example of using MCP with Amazon Q, you can configure the Github MCP server.
239+
240+
Go to your GitHub account developer settings and create a personal access token with the following permissions:
241+
242+
- repo (Full control of private repositories)
243+
- read:org (Read organization membership)
244+
- read:user (Read user profile data)
245+
246+
247+
Use an editor to add the content below to the file `$HOME/.amazonq/mcp.json`
248+
249+
```console
250+
{
251+
"mcpServers": {
252+
"github": {
253+
"command": "docker",
254+
"args": [
255+
"run",
256+
"-i",
257+
"--rm",
258+
"-e",
259+
"GITHUB_PERSONAL_ACCESS_TOKEN",
260+
"ghcr.io/github/github-mcp-server"
261+
],
262+
"env": {
263+
"GITHUB_PERSONAL_ACCESS_TOKEN": "<your-github-pat>"
264+
}
265+
}
266+
}
267+
}
268+
```
269+
270+
Replace `<your-github-pat>` with your GitHub token.
271+
272+
You also need Docker running on the system. Refer to the [Docker install guide](/install-guides/docker/) for instructions.
273+
274+
Restart `q` with the new MCP configuration:
189275

190-
I'll keep this context in mind when answering your questions, focusing on Arm Linux-specific
191-
information and Debian-based distributions by default.
276+
```console
277+
q chat
192278
```
193279

194-
Give it a try by asking questions such as `how do I install the aws cli?` and check that the answers match the provided context.
280+
You see the GitHub MCP server loaded and running:
281+
282+
```output
283+
✓ github loaded in 0.14 s
284+
✓ 1 of 1 mcp servers initialized.
285+
286+
⢠⣶⣶⣦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣤⣶⣿⣿⣿⣶⣦⡀⠀
287+
⠀⠀⠀⣾⡿⢻⣿⡆⠀⠀⠀⢀⣄⡄⢀⣠⣤⣤⡀⢀⣠⣤⣤⡀⠀⠀⢀⣠⣤⣤⣤⣄⠀⠀⢀⣤⣤⣤⣤⣤⣤⡀⠀⠀⣀⣤⣤⣤⣀⠀⠀⠀⢠⣤⡀⣀⣤⣤⣄⡀⠀⠀⠀⠀⠀⠀⢠⣿⣿⠋⠀⠀⠀⠙⣿⣿⡆
288+
⠀⠀⣼⣿⠇⠀⣿⣿⡄⠀⠀⢸⣿⣿⠛⠉⠻⣿⣿⠛⠉⠛⣿⣿⠀⠀⠘⠛⠉⠉⠻⣿⣧⠀⠈⠛⠛⠛⣻⣿⡿⠀⢀⣾⣿⠛⠉⠻⣿⣷⡀⠀⢸⣿⡟⠛⠉⢻⣿⣷⠀⠀⠀⠀⠀⠀⣼⣿⡏⠀⠀⠀⠀⠀⢸⣿⣿
289+
⠀⢰⣿⣿⣤⣤⣼⣿⣷⠀⠀⢸⣿⣿⠀⠀⠀⣿⣿⠀⠀⠀⣿⣿⠀⠀⢀⣴⣶⣶⣶⣿⣿⠀⠀⠀⣠⣾⡿⠋⠀⠀⢸⣿⣿⠀⠀⠀⣿⣿⡇⠀⢸⣿⡇⠀⠀⢸⣿⣿⠀⠀⠀⠀⠀⠀⢹⣿⣇⠀⠀⠀⠀⠀⢸⣿⡿
290+
⢀⣿⣿⠋⠉⠉⠉⢻⣿⣇⠀⢸⣿⣿⠀⠀⠀⣿⣿⠀⠀⠀⣿⣿⠀⠀⣿⣿⡀⠀⣠⣿⣿⠀⢀⣴⣿⣋⣀⣀⣀⡀⠘⣿⣿⣄⣀⣠⣿⣿⠃⠀⢸⣿⡇⠀⠀⢸⣿⣿⠀⠀⠀⠀⠀⠀⠈⢿⣿⣦⣀⣀⣀⣴⣿⡿⠃
291+
⠚⠛⠋⠀⠀⠀⠀⠘⠛⠛⠀⠘⠛⠛⠀⠀⠀⠛⠛⠀⠀⠀⠛⠛⠀⠀⠙⠻⠿⠟⠋⠛⠛⠀⠘⠛⠛⠛⠛⠛⠛⠃⠀⠈⠛⠿⠿⠿⠛⠁⠀⠀⠘⠛⠃⠀⠀⠘⠛⠛⠀⠀⠀⠀⠀⠀⠀⠀⠙⠛⠿⢿⣿⣿⣋⠀⠀
292+
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠛⠿⢿⡧
293+
294+
╭─────────────────────────────── Did you know? ────────────────────────────────╮
295+
│ │
296+
│ You can execute bash commands by typing ! followed by the command │
297+
│ │
298+
╰──────────────────────────────────────────────────────────────────────────────╯
299+
300+
/help all commands • ctrl + j new lines • ctrl + s fuzzy search
301+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
302+
>
303+
```
195304

196-
You're ready to use the Q CLI.
305+
You can now use the GitHub MCP server to interact with GitHub repositories and do things like:
306+
307+
**Repository Management**
308+
- Create new repositories
309+
- Fork existing repositories
310+
- List branches and tags
311+
- Create new branches
312+
313+
**Code Management**
314+
- Get file contents from repositories
315+
- Create or update files
316+
- Delete files
317+
- Push multiple files in a single commit
318+
- Search code across repositories
319+
320+
**Pull Requests**
321+
- Create pull requests
322+
- List pull requests
323+
- Get pull request details
324+
- Update pull requests
325+
- Merge pull requests
326+
- Review pull requests
327+
- Request GitHub Copilot reviews
328+
- Get pull request files and comments
329+
330+
**Issues**
331+
- Create issues
332+
- List issues
333+
- Get issue details
334+
- Update issues
335+
- Add comments to issues
336+
- Search issues
337+
338+
**Commits**
339+
- List commits
340+
- Get commit details
341+
342+
You're ready to use the Q CLI.

0 commit comments

Comments
 (0)