0.0.13 • Published 12 months ago

@fiberplane/spectacular-cli v0.0.13

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

spectacular-cli

A CLI that helps you generate spectacular specs.

Usage

npx @fiberplane/spectacular-cli@latest

Development

Important Files for LLM Calls

  • src/commands - Code for the different cli commands (e.g. init, create-schema, apikey:list, etc.)
  • src/actions - Code that implements CLI logic
    • src/actions/ideate.ts - Logic for the back-and-forth between user and assistant before generating the spec
  • src/integrations/ - Code for integrations with LLM calls
    • src/integrations/ideation-agent - LLM calls for the spec generation
    • src/integrations/schema-agent - LLM calls for the Drizzle database schema generation

Evals

We're using Evalite to evaluate the CLI.

  • evals/ - Directory with eval code
  • evals/scorers/asked-one-question/ - Code that implements an LLM-as-a-judge scorer to verify that messages from the assistant go one-by-one when interacting with the end user.

Local Development

To test individual commands, you can run them directly with the dev scripts:

  • npm run dev
  • npm run dev:create-schema
  • npm run dev:create-api
  • npm run dev:apikey:add
  • npm run dev:apikey:list
  • npm run dev:apikey:remove
0.0.13

12 months ago

0.0.12

12 months ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago