@elmiristic/agent-ready 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Wire an AI coding agent into any GitHub repo in 5 minutes.
4
4
 
5
- Tag a Trello card **agent-ready**, and Claude reads the task, edits the code, opens a PR, and pings you on Telegram twice a day, automatically.
5
+ Tag a Trello card **agent-ready**, and Claude reads the task, edits the code, opens a PR, and pings you on Telegram - twice a day, automatically.
6
6
 
7
7
  ## Quick start
8
8
 
@@ -24,7 +24,7 @@ Then commit and push `.github/` and you're live.
24
24
  1. Add the `agent-ready` label to a Trello card in your **To Do** list
25
25
  2. The agent runs at **9am and 5pm** (or trigger manually in GitHub Actions)
26
26
  3. Claude reads the card title + description, identifies relevant files, writes the code
27
- 4. A PR is opened nothing touches `main` without your review
27
+ 4. A PR is opened - nothing touches `main` without your review
28
28
  5. You get a Telegram message with the PR link
29
29
  6. Merge the PR → card moves to **Done** automatically
30
30
 
@@ -32,7 +32,7 @@ Then commit and push `.github/` and you're live.
32
32
 
33
33
  - Node.js 18+
34
34
  - A GitHub repository
35
- - GitHub CLI (`gh`) for automatic secret setup (optional can set manually)
35
+ - GitHub CLI (`gh`) for automatic secret setup (optional - can set manually)
36
36
  - A Trello account
37
37
  - An Anthropic API key
38
38
 
@@ -10,7 +10,7 @@ switch (command) {
10
10
  break
11
11
  default:
12
12
  console.log(`
13
- agent-ready wire an AI coding agent into any repo in 5 minutes
13
+ agent-ready: wire an AI coding agent into any repo in 5 minutes
14
14
 
15
15
  Usage:
16
16
  npx agent-ready init Set up the agent in your current repo
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elmiristic/agent-ready",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Wire a Trello + Claude AI + GitHub Actions coding agent into any repo in 5 minutes.",
5
5
  "type": "module",
6
6
  "bin": {
package/src/init.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import chalk from 'chalk'
2
2
  import { welcome } from './steps/welcome.js'
3
+ import { selectProvider } from './steps/selectProvider.js'
3
4
  import { collectTrello } from './steps/collectTrello.js'
4
5
  import { collectAnthropic } from './steps/collectAnthropic.js'
5
6
  import { collectTelegram } from './steps/collectTelegram.js'
@@ -10,10 +11,11 @@ import { done } from './steps/done.js'
10
11
  export async function init() {
11
12
  try {
12
13
  await welcome()
13
- const trello = await collectTrello()
14
+ const provider = await selectProvider()
15
+ const board = await collectTrello()
14
16
  const anthropic = await collectAnthropic()
15
17
  const telegram = await collectTelegram()
16
- const secrets = { ...trello, ...anthropic, ...telegram }
18
+ const secrets = { ...board, ...anthropic, ...telegram }
17
19
  await setGithubSecrets(secrets)
18
20
  await scaffold()
19
21
  await done()
@@ -2,7 +2,7 @@ import chalk from 'chalk'
2
2
  import { password } from '@inquirer/prompts'
3
3
 
4
4
  export async function collectAnthropic() {
5
- console.log(chalk.bold(' Step 2 of 3 Anthropic'))
5
+ console.log(chalk.bold(' Step 2 of 3: Anthropic'))
6
6
  console.log()
7
7
  console.log(
8
8
  chalk.dim(' 1. Go to: ') + chalk.cyan('https://console.anthropic.com/settings/keys'),
@@ -2,7 +2,7 @@ import chalk from 'chalk'
2
2
  import { input } from '@inquirer/prompts'
3
3
 
4
4
  export async function collectTelegram() {
5
- console.log(chalk.bold(' Step 3 of 3 Telegram'))
5
+ console.log(chalk.bold(' Step 3 of 3: Telegram'))
6
6
  console.log()
7
7
  console.log(chalk.dim(' Open Telegram and message: ') + chalk.cyan('@agentreadybot'))
8
8
  console.log()
@@ -2,7 +2,7 @@ import chalk from 'chalk'
2
2
  import { input, password, confirm } from '@inquirer/prompts'
3
3
 
4
4
  export async function collectTrello() {
5
- console.log(chalk.bold(' Step 1 of 3 Trello'))
5
+ console.log(chalk.bold(' Step 1 of 3: Trello'))
6
6
  console.log()
7
7
  console.log(
8
8
  chalk.dim(' 1. Go to: ') +
package/src/steps/done.js CHANGED
@@ -16,7 +16,7 @@ export async function done() {
16
16
  )
17
17
  console.log(chalk.dim(' 3. Claude reads the task, edits the code, opens a PR'))
18
18
  console.log(chalk.dim(' 4. You get a Telegram message with the PR link'))
19
- console.log(chalk.dim(' 5. Review and merge nothing touches main without you'))
19
+ console.log(chalk.dim(' 5. Review and merge. Nothing touches main without you'))
20
20
  console.log()
21
21
  console.log(chalk.dim(' Commit the generated files and push to get started:'))
22
22
  console.log()
@@ -0,0 +1,20 @@
1
+ import chalk from 'chalk'
2
+ import { select } from '@inquirer/prompts'
3
+
4
+ export async function selectProvider() {
5
+ console.log(chalk.bold(' Which project management tool do you use?'))
6
+ console.log()
7
+
8
+ const provider = await select({
9
+ message: ' Board tool',
10
+ choices: [
11
+ { name: 'Trello', value: 'trello' },
12
+ { name: 'Jira (coming soon)', value: 'jira', disabled: true },
13
+ { name: 'Linear (coming soon)', value: 'linear', disabled: true },
14
+ { name: 'GitHub Projects (coming soon)', value: 'github-projects', disabled: true },
15
+ ],
16
+ })
17
+
18
+ console.log()
19
+ return provider
20
+ }
@@ -9,7 +9,7 @@ export async function setGithubSecrets(secrets) {
9
9
 
10
10
  const useGhCli = await confirm({
11
11
  message:
12
- ' Set GitHub secrets automatically? (requires GitHub CLI gh.io/cli)',
12
+ ' Set GitHub secrets automatically? (requires GitHub CLI: gh.io/cli)',
13
13
  default: true,
14
14
  })
15
15
 
@@ -3,7 +3,7 @@ import chalk from 'chalk'
3
3
  export async function welcome() {
4
4
  console.log()
5
5
  console.log(
6
- chalk.bold(' agent-ready') + chalk.dim(' AI coding agent for your repo'),
6
+ chalk.bold(' agent-ready') + chalk.dim(': AI coding agent for your repo'),
7
7
  )
8
8
  console.log()
9
9
  console.log(
@@ -1,5 +1,5 @@
1
1
  export function doneWorkflowTemplate() {
2
- return `name: agent-ready mark done
2
+ return `name: agent-ready: mark done
3
3
 
4
4
  on:
5
5
  pull_request: