Commit 1070cb4
authored
Mcp enablement squashed (#1093)
* Squashed mcp-enablement changes
* moves shellexpand to workspace dep
* reverts changes in lock file
* fixes tests
* fixes fmt
* updates lock file
* Revert "updates lock file"
This reverts commit f847c6f.
* uses lock file from main
* updates lock file
* regenerates lock file
* updates ci workflow to do a full fetch
* allows lock file to be generated offline in the ci
* Revert "allows lock file to be generated offline in the ci"
This reverts commit 40a3b1a.
* allows all custom tool actions
* disables cache to get through CI
* Revert "disables cache to get through CI"
This reverts commit 46277c8.
* force regenerate lock file
* force regenerate lock file for test
* baselines lock file to main
* reverts lock file regenerate step
* merges in main
* simplifies transport trait, adds test to transport
* adds mcp server name validation
* parallelizes custom tool load
* fixes parser erroring out on tool calls that has no input
* changes to request method to only listen for response
* enables child processes to accept env var specified in config as well as inherit those that are from parent
* loads config from designated folders
* adds highlight to mcp config conflict warning messages
* redacts images in the form of base64 encoded string from tool call results
* makes deserialization into tool call result optional
* merges from main
* improves custom tool description format
* Squashed commit of the following:
commit 467c7f3
Author: Maxim Hayes <[email protected]>
Date: Fri Mar 28 18:40:30 2025 -0400
feat(commands): add /issue command to chat (#990)
This command simply prompts amazon Q to use the `report_issue` tool. Any additional text beyond /issue will be provided in the prompt.
Ref: #972
commit 5a704ba
Author: Xipu Li <[email protected]>
Date: Fri Mar 28 14:12:52 2025 -0700
docs(README): add local development instructions for q chat (#995)
commit 8f638b0
Author: Maxim Hayes <[email protected]>
Date: Fri Mar 28 15:08:49 2025 -0400
refactor(tools): add context to report_issue tool (#980)
- Add the ability to add context to `Tool`s, without passing in awkward args to the generic invoke function.
- Graceful tool error if context fails to be set (should be impossible).
commit 65d7f50
Author: Maxim Hayes <[email protected]>
Date: Fri Mar 28 14:51:06 2025 -0400
feat(tools): increase transcript length, record all user input (#984)
For `report_issue` tool:
- Take last 10 chats instead of last 5
- Also accept any user input, like commands (/acceptall, /clear).
commit d705b33
Author: kkashilk <[email protected]>
Date: Fri Mar 28 09:16:53 2025 -0700
feat(cli): improve context file display (#983)
- Always show context file count regardless of expand flag
- Let users know that no files are currently being added to context
commit 1b29eb7
Author: Xipu Li <[email protected]>
Date: Thu Mar 27 21:00:37 2025 -0700
Prettify README + setup script (#976)
commit 8a4afec
Author: Maxim Hayes <[email protected]>
Date: Thu Mar 27 19:36:12 2025 -0400
feat(tools): add gh_issue (#974)
Addresses #873
Add the gh_issue tool that allows Q to open pre-filled issue templates with additional information. Similar to q issue, when asked to report an issue, a browser will open to the template (or URL if the browser cannot be opened).
Features:
- Triggers when asked to create or report an issue, or to open a feature request.
- Adds additional chat information automatically.
- Q could fill in expected/actual behavior, steps to reproduce, title.
- Includes any request IDs that resulted in an error.
- Includes chat context (from /context show --expand). This also includes their sizes.
- Includes the last 5 user-assistant requests from the chat transcript. This also includes any tool uses or errors that were displayed.
commit 7307b53
Author: Xipu Li <[email protected]>
Date: Thu Mar 27 14:50:46 2025 -0700
fix(chat): update timeout message for clarity in assistant responses (#975)
commit ea30d6f
Author: kkashilk <[email protected]>
Date: Wed Mar 26 16:26:58 2025 -0700
refactor(chat): Add command suggestions for common single-word inputs (#953)
Improve user experience by detecting when users type common commands like
exit, quit, or help without the leading slash prefix. Instead of
making unnecessary LLM calls, provide helpful suggestions to use the
proper command format (e.g., '/quit', '/help').
🤖 Assisted by [Amazon Q Developer](https://aws.amazon.com/q/developer)
commit 0e85517
Author: Xipu Li <[email protected]>
Date: Wed Mar 26 12:11:06 2025 -0700
docs: add onboarding tips for using Q CLI in README (#950)
commit 0497da7
Author: kkashilk <[email protected]>
Date: Wed Mar 26 10:17:42 2025 -0700
fix(chat): Improve command parsing to handle paths starting with slash (#945)
Fixes an issue where pasting error messages or file paths that start
with a slash (/) would be incorrectly interpreted as commands. This
change improves the command parser to better distinguish between actual
commands and text that happens to start with a slash character.
Closes #894
commit 242c09c
Author: Maxim Hayes <[email protected]>
Date: Wed Mar 26 09:59:38 2025 -0400
feat(chat): no-interactive mode (#878)
* feat(chat): no-interactive mode
Related: #808
- Prints to STDOUT instead.
- Does not print non-response text, e.g.
- Runs tools as long as --accept-all is also provided. Otherwise it will error. You can bypass this by asking to not run tools in the prompt.
- Continues to work with pipes, e.g.
- echo "give a cool tip" | q chat --no-interactive -> outputs a cool tip
- echo "give a cool tip" | q chat --no-interactive "write hello world." -> outputs hello world code and a cool tip
- q chat --no-interactive -> does nothing and immediately returns
Does NOT print without any formatting/styling codes or labels. That will require a larger refactor in a separate PR.
* fix arg name in test
* format
commit 36f1ae1
Author: sai srinivas somarouthu <[email protected]>
Date: Wed Mar 26 05:14:37 2025 -0700
fix(build): Support aarch64 architecture in AppImage bundle name (#937) (#944)
Replace hardcoded amd64 reference with dynamic architecture detection
based on the target triple. This allows proper AppImage bundle naming
for both amd64 and aarch64 architectures.
Co-authored-by: Somar Sai <[email protected]>
commit 447c3ff
Author: kkashilk <[email protected]>
Date: Tue Mar 25 21:33:00 2025 -0700
feat(cli): Add file/folder name auto-completion in q chat (#930)
* Add file/folder name auto-completion in q chat
* feat(cli): Add PathCompleter for file path suggestions
Implement PathCompleter struct to provide filesystem path completion
functionality in the CLI, enhancing the user experience with
intelligent path suggestions during input.
🤖 Assisted by [Amazon Q Developer](https://aws.amazon.com/q/developer)
* use file-path completion as fallback
commit 84f8cca
Author: Felix Ding <[email protected]>
Date: Tue Mar 25 10:31:31 2025 -0700
Revert "Mcp enablement squashed (#925)" (#928)
This reverts commit 752d524.
commit 2786f01
Author: Kyle Thomson <[email protected]>
Date: Mon Mar 24 20:13:52 2025 -0700
feat(cli) Bash pipe command safety (#927)
* feat(cli): Add find and grep as commands to the safe list
Rational: these are common commands used by the CLI to determine the current state of the users workspace when understanding context for a task.
* feat(cli): Support safe piped commands in execute_bash
Allow piped commands that only use safe read-only operations like 'find | grep' or 'ls | grep'. Each command in the pipe chain is validated against the READONLY_COMMANDS list.
🤖 Assisted by [Amazon Q Developer](https://aws.amazon.com/q/developer)
commit 3545e45
Author: kkashilk <[email protected]>
Date: Mon Mar 24 18:14:54 2025 -0700
chore: Update README file to update commands and make it copy-paste friendly (#929)
commit 752d524
Author: Felix Ding <[email protected]>
Date: Mon Mar 24 16:54:22 2025 -0700
Mcp enablement squashed (#925)
* Squashed mcp-enablement changes
* moves shellexpand to workspace dep
* reverts changes in lock file
* fixes tests
* fixes fmt
* updates lock file
* Revert "updates lock file"
This reverts commit f847c6f.
* uses lock file from main
* updates lock file
* regenerates lock file
* updates ci workflow to do a full fetch
* allows lock file to be generated offline in the ci
* Revert "allows lock file to be generated offline in the ci"
This reverts commit 40a3b1a.
* allows all custom tool actions
* disables cache to get through CI
* Revert "disables cache to get through CI"
This reverts commit 46277c8.
* force regenerate lock file
* force regenerate lock file for test
* baselines lock file to main
* reverts lock file regenerate step
* merges in main
commit 151873d
Author: Felix Ding <[email protected]>
Date: Mon Mar 24 14:02:55 2025 -0700
Revert "Mcp enablement squashed (#883)" (#924)
This reverts commit 853d86b.
commit 853d86b
Author: Felix Ding <[email protected]>
Date: Fri Mar 21 13:58:39 2025 -0700
Mcp enablement squashed (#883)
* Squashed mcp-enablement changes
* moves shellexpand to workspace dep
* reverts changes in lock file
* fixes tests
* fixes fmt
* updates lock file
* Revert "updates lock file"
This reverts commit f847c6f.
* uses lock file from main
* updates lock file
* regenerates lock file
* updates ci workflow to do a full fetch
* allows lock file to be generated offline in the ci
* Revert "allows lock file to be generated offline in the ci"
This reverts commit 40a3b1a.
* allows all custom tool actions
* disables cache to get through CI
* Revert "disables cache to get through CI"
This reverts commit 46277c8.
* force regenerate lock file
* force regenerate lock file for test
commit 3328253
Author: Chay Nabors <[email protected]>
Date: Thu Mar 20 23:15:28 2025 -0700
feat: add rfc process (#881)
commit b6bf5f1
Author: Brandon Kiser <[email protected]>
Date: Thu Mar 20 18:32:48 2025 -0700
chore: bump version to 1.7.2 (#877)
commit 454e76f
Author: Brandon Kiser <[email protected]>
Date: Thu Mar 20 17:43:37 2025 -0700
chore: add beta notice to /profile and /context help text (#875)
* fixes error from merge
* moves facilitator types to its own file
* adds output to show mcp init errors
* adds mcp server loading status
* makes mcp server loading status more resilient against various conditions
* fixes merge conflicts some more
* enables mcp standalone debug log
* adds shutdown routine for mcp client1 parent 9e42ff8 commit 1070cb4
File tree
24 files changed
+2566
-60
lines changed- crates
- fig_desktop_api
- fig_desktop
- fig_log/src
- figterm
- mcp_client
- src
- transport
- test_mcp_server
- q_cli
- src/cli/chat
- tools
24 files changed
+2566
-60
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| |||
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
| 127 | + | |
126 | 128 | | |
127 | 129 | | |
128 | 130 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
| |||
73 | 75 | | |
74 | 76 | | |
75 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
76 | 81 | | |
77 | 82 | | |
78 | 83 | | |
| |||
119 | 124 | | |
120 | 125 | | |
121 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
122 | 159 | | |
123 | 160 | | |
124 | 161 | | |
125 | 162 | | |
126 | 163 | | |
127 | | - | |
| 164 | + | |
128 | 165 | | |
129 | 166 | | |
130 | | - | |
131 | | - | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
132 | 179 | | |
133 | 180 | | |
134 | 181 | | |
135 | 182 | | |
| 183 | + | |
136 | 184 | | |
137 | 185 | | |
138 | 186 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
0 commit comments