Repository navigation
cli@0.18.0
Minor Changes
-
261c304: Rename the CLI command to
speakeasy. Install it withbrew install speakeasy-api/tap/cliornpm i -g @speakeasy-api/cli. Thespeakeasy-api/tap/gramHomebrew formula keeps installing the CLI asgramfor now; running it asgramprints a deprecation notice and otherwise works as before. Profiles stay in~/.gram/profile.json. -
261c304: Add
speakeasy functionscommands for Gram Functions projects:speakeasy functions init [dir]creates a project from a built-in template (--template functionsor--template mcp). It prompts for missing values on a terminal, and--yesuses the defaults.--gitand--installcontrol git init and the dependency install with the detected package manager.speakeasy functions buildbuilds the project with the@gram-ai/functionsversion it depends on. It needs Node.js 22.18.0 or later and@gram-ai/functions0.19.0 or later, and says what to install when either is missing.speakeasy functions devruns the project'sdevscript and passes arguments after--to it.speakeasy functions pushbuilds, stages and deploys the project with yourspeakeasy authprofile.--slug,--project,--scaleand--memory-miboverride the project config, and--no-builddeploys the existing build.speakeasy functions stageadds a built zip file to the deployment file without deploying, the same asspeakeasy stage function, which keeps working.
speakeasy pushnow deploys to the API URL saved byspeakeasy authwhen neither--api-urlnorGRAM_API_URLis set, instead of always usinghttps://app.getgram.ai.