Skip to content

Commit 35617c1

Browse files
committed
fix: remove userWarning option from docs and Github Action.
1 parent 4f3a352 commit 35617c1

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

.github/workflows/issue-comment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,4 @@ jobs:
7272
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
7373
run: |
7474
echo "Running MyCoder for issue #${{ github.event.issue.number }} with prompt: ${{ steps.extract-prompt.outputs.prompt }}"
75-
mycoder --userWarning false --upgradeCheck false --githubMode true --userPrompt false "On issue #${{ github.event.issue.number }} in comment ${{ steps.extract-prompt.outputs.comment_url }} the user invoked the mycoder CLI via /mycoder. Can you try to do what they requested or if it is unclear, respond with a comment to that affect to encourage them to be more clear."
75+
mycoder --upgradeCheck false --githubMode true --userPrompt false "On issue #${{ github.event.issue.number }} in comment ${{ steps.extract-prompt.outputs.comment_url }} the user invoked the mycoder CLI via /mycoder. Can you try to do what they requested or if it is unclear, respond with a comment to that affect to encourage them to be more clear."

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ mycoder --userPrompt false "Generate a basic Express.js server"
4040
mycoder --userPrompt false "Generate a basic Express.js server"
4141

4242
# Disable user consent warning and version upgrade check for automated environments
43-
mycoder --userWarning false --upgradeCheck false "Generate a basic Express.js server"
43+
mycoder --upgradeCheck false "Generate a basic Express.js server"
4444

4545
# Enable GitHub mode via CLI option (overrides config file)
4646
mycoder --githubMode "Work with GitHub issues and PRs"

packages/cli/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ mycoder -f prompt.txt
3636
mycoder --userPrompt false "Generate a basic Express.js server"
3737

3838
# Disable user consent warning and version upgrade check for automated environments
39-
mycoder --userWarning false --upgradeCheck false "Generate a basic Express.js server"
39+
mycoder --upgradeCheck false "Generate a basic Express.js server"
4040

4141
# Enable GitHub mode via CLI option (overrides config file)
4242
mycoder --githubMode true
@@ -163,7 +163,6 @@ export default {
163163

164164
These options are available only as command-line parameters and are not stored in the configuration:
165165

166-
- `userWarning`: Skip user consent check for current session without saving consent (default: `true`)
167166
- `upgradeCheck`: Disable version upgrade check for automated/remote usage (default: `true`)
168167
- `userPrompt`: Enable or disable the userPrompt tool (default: `true`)
169168

packages/cli/src/options.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ export type SharedOptions = {
1515
readonly tokenCache?: boolean;
1616
readonly userPrompt?: boolean;
1717
readonly githubMode?: boolean;
18-
readonly userWarning?: boolean;
1918
readonly upgradeCheck?: boolean;
2019
readonly ollamaBaseUrl?: string;
2120
};

0 commit comments

Comments
 (0)