From 62bc129e49a0909ea8e52d1252fcec7a0a2fa4b6 Mon Sep 17 00:00:00 2001 From: Jesse Turner Date: Tue, 28 Apr 2026 19:04:56 +0000 Subject: [PATCH 1/3] feat: add agentcore art command --- README.md | 2 ++ src/cli/cli.ts | 2 ++ src/cli/commands/art/command.tsx | 45 ++++++++++++++++++++++++++++++++ src/cli/commands/art/index.ts | 1 + 4 files changed, 50 insertions(+) create mode 100644 src/cli/commands/art/command.tsx create mode 100644 src/cli/commands/art/index.ts diff --git a/README.md b/README.md index 27dc204ce..3a40717c9 100644 --- a/README.md +++ b/README.md @@ -187,3 +187,5 @@ See [SECURITY](SECURITY.md) for reporting vulnerabilities and security informati ## License This project is licensed under the Apache-2.0 License. + + diff --git a/src/cli/cli.ts b/src/cli/cli.ts index 72cf5c50d..b56d15538 100644 --- a/src/cli/cli.ts +++ b/src/cli/cli.ts @@ -1,3 +1,4 @@ +import { registerArt } from './commands/art'; import { registerAdd } from './commands/add'; import { registerCreate } from './commands/create'; import { registerDeploy } from './commands/deploy'; @@ -189,6 +190,7 @@ export function registerCommands(program: Command) { registerTraces(program); registerUpdate(program); registerValidate(program); + registerArt(program); // Register primitive subcommands (add agent, remove agent, add memory, etc.) for (const primitive of ALL_PRIMITIVES) { diff --git a/src/cli/commands/art/command.tsx b/src/cli/commands/art/command.tsx new file mode 100644 index 000000000..63a94f559 --- /dev/null +++ b/src/cli/commands/art/command.tsx @@ -0,0 +1,45 @@ +import type { Command } from '@commander-js/extra-typings'; +import { Text, render } from 'ink'; + +const BRAIN_ART = ` + @@@@@@@@@@@@ + @@@@ @@@@ + @@ @@@@@@@@@@@@ @@ + @@ @@@@ @@@@ @@ + @ @@ @@@@@@@@@@ @@ @ + @ @ @@@ @@@ @ @ + @ @ @@ @@@@@@@@ @@ @ @ + @ @ @ @@ @@ @ @ @ + @ @ @ @@ @@@@@@ @@ @ @ @ + @ @ @ @ @@ @@ @ @ @ @ + @ @ @ @ @ @@@@ @ @ @ @ @ @ + @ @ @ @ @ @ @ @ @ @ @ @ @ + @ @ @ @ @ @ @ @ @ @ @ @ @ + @ @ @ @ @ @@@@ @ @ @ @ @ @ + @ @ @ @ @@ @@ @ @ @ @ + @ @ @ @@ @@@@@@ @@ @ @ @ + @ @ @ @@ @@ @ @ @ + @ @ @@ @@@@@@@@ @@ @ @ + @ @ @@@ @@@ @ @ + @ @@ @@@@@@@@@@ @@ @ + @@ @@@@ @@@@ @@ + @@ @@@@@@@@@@@@ @@ + @@@@ @@@@ + @@@@@@@@@@@@ + + █████ ██████ ███████ ███ ██ ████████ ██████ ██████ ██████ ███████ + ██ ██ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ + ███████ ██ ███ █████ ██ ██ ██ ██ ██ ██ ██ ██████ █████ + ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ + ██ ██ ██████ ███████ ██ ████ ██ ██████ ██████ ██ ██ ███████ +`; + +export const registerArt = (program: Command) => { + program + .command('art') + .description('Display AgentCore ASCII art.') + .action(() => { + render({BRAIN_ART}); + process.exit(0); + }); +}; diff --git a/src/cli/commands/art/index.ts b/src/cli/commands/art/index.ts new file mode 100644 index 000000000..b9847bfe8 --- /dev/null +++ b/src/cli/commands/art/index.ts @@ -0,0 +1 @@ +export { registerArt } from './command'; From cea322ce36493e3a22c6f3ef6da7736a220f5a01 Mon Sep 17 00:00:00 2001 From: Jesse Turner Date: Tue, 28 Apr 2026 19:11:12 +0000 Subject: [PATCH 2/3] fix: improve art layout and use console.log for cleaner output --- src/cli/commands/art/command.tsx | 67 +++++++++++++++++--------------- 1 file changed, 36 insertions(+), 31 deletions(-) diff --git a/src/cli/commands/art/command.tsx b/src/cli/commands/art/command.tsx index 63a94f559..33e739b5b 100644 --- a/src/cli/commands/art/command.tsx +++ b/src/cli/commands/art/command.tsx @@ -1,37 +1,42 @@ import type { Command } from '@commander-js/extra-typings'; -import { Text, render } from 'ink'; const BRAIN_ART = ` - @@@@@@@@@@@@ - @@@@ @@@@ - @@ @@@@@@@@@@@@ @@ - @@ @@@@ @@@@ @@ - @ @@ @@@@@@@@@@ @@ @ - @ @ @@@ @@@ @ @ - @ @ @@ @@@@@@@@ @@ @ @ - @ @ @ @@ @@ @ @ @ - @ @ @ @@ @@@@@@ @@ @ @ @ - @ @ @ @ @@ @@ @ @ @ @ - @ @ @ @ @ @@@@ @ @ @ @ @ @ - @ @ @ @ @ @ @ @ @ @ @ @ @ - @ @ @ @ @ @ @ @ @ @ @ @ @ - @ @ @ @ @ @@@@ @ @ @ @ @ @ - @ @ @ @ @@ @@ @ @ @ @ - @ @ @ @@ @@@@@@ @@ @ @ @ - @ @ @ @@ @@ @ @ @ - @ @ @@ @@@@@@@@ @@ @ @ - @ @ @@@ @@@ @ @ - @ @@ @@@@@@@@@@ @@ @ - @@ @@@@ @@@@ @@ - @@ @@@@@@@@@@@@ @@ - @@@@ @@@@ - @@@@@@@@@@@@ +\x1b[36m @@@@@@@@@@@@ + @@@@ @@@@ + @@ @@@@@@@@@@@@ @@ + @@ @@@@ @@@@ @@ + @ @@ @@@@@@@@@@ @@ @ + @ @ @@@ @@@ @ @ + @ @ @@ @@@@@@@@ @@ @ @ + @ @ @ @@ @@ @ @ @ + @ @ @ @@ @@@@@@ @@ @ @ @ + @ @ @ @ @@ @@ @ @ @ @ + @ @ @ @ @ @@@@ @ @ @ @ @ @ + @ @ @ @ @ @ @ @ @ @ @ @ @ + @ @ @ @ @ @ @ @ @ @ @ @ @ + @ @ @ @ @ @@@@ @ @ @ @ @ @ + @ @ @ @ @@ @@ @ @ @ @ + @ @ @ @@ @@@@@@ @@ @ @ @ + @ @ @ @@ @@ @ @ @ + @ @ @@ @@@@@@@@ @@ @ @ + @ @ @@@ @@@ @ @ + @ @@ @@@@@@@@@@ @@ @ + @@ @@@@ @@@@ @@ + @@ @@@@@@@@@@@@ @@ + @@@@ @@@@ + @@@@@@@@@@@@ - █████ ██████ ███████ ███ ██ ████████ ██████ ██████ ██████ ███████ - ██ ██ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ - ███████ ██ ███ █████ ██ ██ ██ ██ ██ ██ ██ ██████ █████ - ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ - ██ ██ ██████ ███████ ██ ████ ██ ██████ ██████ ██ ██ ███████ + █████ ██████ ███████ ███ ██ ████████ + ██ ██ ██ ██ ████ ██ ██ + ███████ ██ ███ █████ ██ ██ ██ ██ + ██ ██ ██ ██ ██ ██ ████ ██ + ██ ██ ██████ ███████ ██ ███ ██ + + ██████ ██████ ██████ ███████ + ██ ██ ██ ██ ██ ██ + ██ ██ ██ ██████ █████ + ██ ██ ██ ██ ██ ██ + ██████ ██████ ██ ██ ███████\x1b[0m `; export const registerArt = (program: Command) => { @@ -39,7 +44,7 @@ export const registerArt = (program: Command) => { .command('art') .description('Display AgentCore ASCII art.') .action(() => { - render({BRAIN_ART}); + console.log(BRAIN_ART); process.exit(0); }); }; From 9d15a6312d8254cbc9d40a7d53cf90dba3fa2157 Mon Sep 17 00:00:00 2001 From: Jesse Turner Date: Tue, 28 Apr 2026 19:13:10 +0000 Subject: [PATCH 3/3] feat: use cute simple brain ASCII art --- src/cli/commands/art/command.tsx | 54 +++++++++++--------------------- 1 file changed, 18 insertions(+), 36 deletions(-) diff --git a/src/cli/commands/art/command.tsx b/src/cli/commands/art/command.tsx index 33e739b5b..20cc73222 100644 --- a/src/cli/commands/art/command.tsx +++ b/src/cli/commands/art/command.tsx @@ -1,42 +1,24 @@ import type { Command } from '@commander-js/extra-typings'; const BRAIN_ART = ` -\x1b[36m @@@@@@@@@@@@ - @@@@ @@@@ - @@ @@@@@@@@@@@@ @@ - @@ @@@@ @@@@ @@ - @ @@ @@@@@@@@@@ @@ @ - @ @ @@@ @@@ @ @ - @ @ @@ @@@@@@@@ @@ @ @ - @ @ @ @@ @@ @ @ @ - @ @ @ @@ @@@@@@ @@ @ @ @ - @ @ @ @ @@ @@ @ @ @ @ - @ @ @ @ @ @@@@ @ @ @ @ @ @ - @ @ @ @ @ @ @ @ @ @ @ @ @ - @ @ @ @ @ @ @ @ @ @ @ @ @ - @ @ @ @ @ @@@@ @ @ @ @ @ @ - @ @ @ @ @@ @@ @ @ @ @ - @ @ @ @@ @@@@@@ @@ @ @ @ - @ @ @ @@ @@ @ @ @ - @ @ @@ @@@@@@@@ @@ @ @ - @ @ @@@ @@@ @ @ - @ @@ @@@@@@@@@@ @@ @ - @@ @@@@ @@@@ @@ - @@ @@@@@@@@@@@@ @@ - @@@@ @@@@ - @@@@@@@@@@@@ - - █████ ██████ ███████ ███ ██ ████████ - ██ ██ ██ ██ ████ ██ ██ - ███████ ██ ███ █████ ██ ██ ██ ██ - ██ ██ ██ ██ ██ ██ ████ ██ - ██ ██ ██████ ███████ ██ ███ ██ - - ██████ ██████ ██████ ███████ - ██ ██ ██ ██ ██ ██ - ██ ██ ██ ██████ █████ - ██ ██ ██ ██ ██ ██ - ██████ ██████ ██ ██ ███████\x1b[0m +\x1b[36m .---. .---. + / \\ / \\ + | () () | | () () | + \\ ^ / \\ ^ / + ||||| ||||| + .----' '-------' '----. + / .--. .--. .--. .--. \\ + / / .. \\ / .. \\ .. / .. \\ \\ + | | ; ; | | ; ; ; | ; ; | | + | | ; ; | | ; ; ; | ; ; | | + | | ; ; | | ; ; ; | ; ; | | + \\ \\ '' / \\ '' / '' \\ '' / / + \\ '--' '--' '--' '--' / + '-----. .-----' + | | + '-----. .-----' + | | + '-'\x1b[0m `; export const registerArt = (program: Command) => {