Skip to content

Commit 5d4051e

Browse files
committed
add license, better warning.
1 parent 3ccf5bc commit 5d4051e

File tree

6 files changed

+48
-12
lines changed

6 files changed

+48
-12
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# mycoder
22

3+
## 0.0.10
4+
5+
### Patch Changes
6+
7+
- add warning, better docs, license
8+
39
## 0.0.9
410

511
### Patch Changes

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License
2+
3+
Copyright © 2025-2025 mycoder authors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,17 @@
22

33
## Overview
44

5-
MyCoder is a powerful command-line based AI agent system that can perform arbitrary tasks with a particular focus on coding tasks. It uses a modular tool-based architecture that allows it to interact with files, execute commands, make network requests, and spawn sub-agents for parallel task execution.
5+
MyCoder is a simple to install, powerful command-line based AI agent system that can perform arbitrary tasks with a particular focus on coding tasks. It uses a modular tool-based architecture that allows it to interact with files, execute commands, make network requests, and spawn sub-agents for parallel task execution.
66

7-
## ⚠️ Important: API Key Required
7+
## WARNING and LIABILITY WAIVER
8+
9+
This tool can do anything on your command line that you ask it to. It can delete files, install software, and even send data to remote servers. It is a powerful tool that should be used with caution. By using this tool, you agree that the authors and contributors are not responsible for any damage that may occur as a result of using this tool.
10+
11+
## API Key Required
812

913
Before using MyCoder, you must have an ANTHROPIC_API_KEY specified either:
1014

11-
- As an environment variable, or
15+
- As an environment variable, "export ANTHROPIC_API_KEY=[your-api-key]" or
1216
- In a .env file in the folder you run `mycoder` from
1317

1418
Get an API key from https://www.anthropic.com/api

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "mycoder",
33
"description": "A command line tool using agent that can do arbitrary tasks, including coding tasks",
4-
"version": "0.0.9",
4+
"version": "0.0.10",
55
"type": "module",
66
"bin": "./bin/cli.js",
77
"main": "./dist/index.js",

src/commands/$default.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ export const handler = async (argv: ArgumentsCamelCase<Options>) => {
5959
logger.info(
6060
`MyCoder v${packageInfo.version} - AI-powered coding assistant`
6161
);
62+
logger.warn(
63+
"WARNING: This tool can do anything on your command line that you ask it to.",
64+
"It can delete files, install software, and even send data to remote servers.",
65+
"It is a powerful tool that should be used with caution.",
66+
"By using this tool, you agree that the authors and contributors are not responsible for any damage that may occur as a result of using this tool."
67+
);
6268
logger.info(
6369
"Type your request below or 'help' for usage information. Use Ctrl+C to exit."
6470
);

src/utils/errors.ts

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
export const getAnthropicApiKeyError = () => `
22
Error: ANTHROPIC_API_KEY environment variable is not set
33
4-
To use this tool, you need an Anthropic API key:
5-
1. Get an API key from https://www.anthropic.com/api
6-
2. Set it as an environment variable:
7-
export ANTHROPIC_API_KEY='your-api-key'
8-
9-
Or add it to your .env file:
10-
ANTHROPIC_API_KEY=your-api-key
11-
`;
4+
Before using MyCoder, you must have an ANTHROPIC_API_KEY specified either:
5+
6+
- As an environment variable, "export ANTHROPIC_API_KEY=[your-api-key]" or
7+
- In a .env file in the folder you run "mycoder" from
8+
9+
Get an API key from https://www.anthropic.com/api
10+
`;

0 commit comments

Comments
 (0)