@elmiristic/agent-ready 0.1.1 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elmiristic/agent-ready",
3
- "version": "0.1.1",
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()
@@ -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
+ }