-
Notifications
You must be signed in to change notification settings - Fork 57
Labels
enhancementNew feature or requestNew feature or request
Description
We have two commands right now create-agentica and agentica , and create-agentica is an alias of agentica
In my idea, can we change them like this(if you are creating tutorials, I'm sorry to this breaking change)
create-agentica
create-agentica gonna be the cli tool to start the project. It transfers the functionality thatagenticacurrently has.
When users start project, they execute like
pnpm create agentica
# or
pnpm create agentica --backend
pnpm create agentica --frontend
like that
agentica
agentica gonna be the wrapper command running with Agentica. It is like wrangler command or astro command, which are wrappers of vite/tsc or whatever.
So for example, we wrap tsc or ts-node or idk more faster bundler like esbuld to create more ergonomic command
# current commands in template
ts-node ./src/index.ts # for dev
tsc # for build
# using agentica command
agentica dev # wrapper of ts-node? or rslib, esbuild whatever
agentica build # wrapper of tsc, rsbulid, rollup, esbuild, or whatever
agentica prepare # wrapper of ts-patch installThis way, users can use agentica without having to worry about typia settings or ts-patch settings.
Any thought?
I think Agentica is an EASY rather than SIMPLE solution, so creating an agentica command would be a DX improvement.
Also, we can re-export unplugin-typia from agentica like
import Agentica from 'agentica/vite';
import { defineConfig } from 'vite';
export defineConfig({
plugin: [Agentica()],
})Task List:
Reactions are currently unavailable
Sub-issues
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request