Skip to content

Commit b5b94ad

Browse files
committed
fix: preserve published TypeScript package names
1 parent dcc6b2c commit b5b94ad

36 files changed

Lines changed: 391 additions & 391 deletions

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ which creates a complete TypeScript project with a working function.
4949

5050
```bash
5151
# Scaffold a new function project and follow the prompts
52-
npm create @speakeasy/function@latest
52+
npm create @gram-ai/function@latest
5353

5454
# Move into your newly created function directory
5555
cd my_function
@@ -62,10 +62,10 @@ npm run push
6262
A default function is created for you.
6363

6464
```typescript
65-
import { Speakeasy } from "@speakeasy/functions";
65+
import { Gram } from "@gram-ai/functions";
6666
import * as z from "zod/mini";
6767

68-
const functions = new Speakeasy().tool({
68+
const functions = new Gram().tool({
6969
name: "add",
7070
description: "Add two numbers together",
7171
inputSchema: { a: z.number(), b: z.number() },

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"type": "module",
3-
"name": "@speakeasy-api/cli-workspace",
3+
"name": "@gram-ai/gf-workspace",
44
"version": "1.0.0",
55
"private": true,
66
"scripts": {
7-
"build": "pnpm --filter @speakeasy-api/functions build && pnpm --filter @speakeasy-api/create-function build",
8-
"test": "pnpm --filter @speakeasy-api/functions test"
7+
"build": "pnpm --filter @gram-ai/functions build && pnpm --filter @gram-ai/create-function build",
8+
"test": "pnpm --filter @gram-ai/functions test"
99
},
1010
"packageManager": "pnpm@10.30.2",
1111
"devDependencies": {

pnpm-lock.yaml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ts/create-function/CHANGELOG.md

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# @speakeasy-api/create-function
1+
# @gram-ai/create-function
22

33
## 0.16.0
44

@@ -30,13 +30,13 @@
3030

3131
### Patch Changes
3232

33-
- 82c1a79: Generated `AGENTS.md` in each speakeasy function template now includes documentation on how to integrate OAuth for an external data source into a function.
33+
- 82c1a79: Generated `AGENTS.md` in each gram function template now includes documentation on how to integrate OAuth for an external data source into a function.
3434

3535
## 0.12.1
3636

3737
### Patch Changes
3838

39-
- 095b298: Add a fallback for when symlink creation fails when creating speakeasy functions
39+
- 095b298: Add a fallback for when symlink creation fails when creating gram functions
4040

4141
## 0.12.0
4242

@@ -59,7 +59,7 @@
5959
### Patch Changes
6060

6161
- 0e27fff: Fix various aspects of the copy in create-function
62-
- 5b778e8: Updated esbuild config for Speakeasy Functions to default to emitting a CommonJS require shim, allowing dynamic require() calls to work in bundled code. This is necessary for compatibility with certain dependencies that use dynamic requires.
62+
- 5b778e8: Updated esbuild config for Gram Functions to default to emitting a CommonJS require shim, allowing dynamic require() calls to work in bundled code. This is necessary for compatibility with certain dependencies that use dynamic requires.
6363

6464
## 0.9.0
6565

@@ -75,28 +75,28 @@
7575

7676
### Patch Changes
7777

78-
- 8be35aa: Updated the scaffolding of Speakeasy Functions projects to exclude the CHANGELOG.md file.
79-
- 8be35aa: Fixed an issue where Speakeasy Functions templates were not enforcing a minimum
78+
- 8be35aa: Updated the scaffolding of Gram Functions projects to exclude the CHANGELOG.md file.
79+
- 8be35aa: Fixed an issue where Gram Functions templates were not enforcing a minimum
8080
Node.js version due to a typo in the generated package.json files. The field was
8181
incorrectly named "engine" instead of "engines".
82-
- 8be35aa: Ensured that templated Speakeasy Function TS projects start at version "0.0.0" in
82+
- 8be35aa: Ensured that templated Gram Function TS projects start at version "0.0.0" in
8383
their package.json instead of inheriting the version from the template
8484

8585
## 0.8.0
8686

8787
### Minor Changes
8888

89-
- f725a4c: Added a `fromSpeakeasy` utility to the Speakeasy Functions TypeScript SDK that converts an
90-
instance of the `Speakeasy` mini-framework into an MCP server. This reduces the
91-
amount of boilerplate we emit in new projects that use the `speakeasy-template-functions`
89+
- f725a4c: Added a `fromGram` utility to the Gram Functions TypeScript SDK that converts an
90+
instance of the `Gram` mini-framework into an MCP server. This reduces the
91+
amount of boilerplate we emit in new projects that use the `gram-template-gram`
9292
template.
9393

9494
## 0.7.0
9595

9696
### Minor Changes
9797

98-
- a0853fe: Updated the Speakeasy Functions SDK to separate the build and push commands. The
99-
`speakeasy-build` has also been renamed to `gf` which now results in the commands
98+
- a0853fe: Updated the Gram Functions SDK to separate the build and push commands. The
99+
`gram-build` has also been renamed to `gf` which now results in the commands
100100
`pnpm gf build` and `pnpm gf push`.
101101

102102
## 0.6.2
@@ -116,8 +116,8 @@
116116

117117
### Minor Changes
118118

119-
- 5a3f14c: Updated the MCP template and Speakeasy Functions SDK to support building and
120-
deploying MCP servers directly through Speakeasy. It removes extraneous build scripts
119+
- 5a3f14c: Updated the MCP template and Gram Functions SDK to support building and
120+
deploying MCP servers directly through Gram. It removes extraneous build scripts
121121
and dependencies, simplifying the process for developers.
122122

123123
## 0.5.3
@@ -128,15 +128,15 @@
128128

129129
### Patch Changes
130130

131-
- cfc187f: We now install the CLI and run speakeasy auth automatically (if yes is chosen) during pnpm create
131+
- cfc187f: We now install the CLI and run gram auth automatically (if yes is chosen) during pnpm create
132132

133133
## 0.5.0
134134

135135
### Minor Changes
136136

137-
- 24118c5: Updated the Speakeasy Functions framework template to include an MCP server for local
138-
development that wraps a `Speakeasy` instance. This will provide developers a better
139-
feedback loop when developing tools before deploying them to Speakeasy.
137+
- 24118c5: Updated the Gram Functions framework template to include an MCP server for local
138+
development that wraps a `Gram` instance. This will provide developers a better
139+
feedback loop when developing tools before deploying them to Gram.
140140

141141
## 0.4.0
142142

@@ -148,21 +148,21 @@
148148

149149
### Minor Changes
150150

151-
- 8fa3809: Updated the Speakeasy Functions TypeScript SDK and the Speakeasy Functions template to
152-
support seamless build and deploy powered by the SDK and Speakeasy CLI.
151+
- 8fa3809: Updated the Gram Functions TypeScript SDK and the Gram Functions template to
152+
support seamless build and deploy powered by the SDK and Gram CLI.
153153

154154
## 0.2.1
155155

156156
### Patch Changes
157157

158-
- a8cc73e: Ensure .gitignore is scaffolded out with templating Speakeasy Functions projects.
158+
- a8cc73e: Ensure .gitignore is scaffolded out with templating Gram Functions projects.
159159

160160
## 0.2.0
161161

162162
### Minor Changes
163163

164-
- baaa388: Add a simple Hono-based server to the Speakeasy Functions mini-framework template.
165-
This server allows developers to run and test their Speakeasy Functions locally
164+
- baaa388: Add a simple Hono-based server to the Gram Functions mini-framework template.
165+
This server allows developers to run and test their Gram Functions locally
166166
before deploying them.
167167

168168
## 0.1.1
@@ -175,14 +175,14 @@
175175

176176
### Minor Changes
177177

178-
- 9c386f1: Introducing a new framework that simplifies writing and bundling Speakeasy Functions.
179-
The simplest "Hello, World!" Speakeasy Function with this framework looks like this:
178+
- 9c386f1: Introducing a new framework that simplifies writing and bundling Gram Functions.
179+
The simplest "Hello, World!" Gram Function with this framework looks like this:
180180

181181
```typescript
182-
import { Speakeasy } from "@speakeasy-api/functions";
182+
import { Gram } from "@gram-ai/functions";
183183
import * as z from "zod/mini";
184184

185-
const speakeasy = new Speakeasy().tool({
185+
const gram = new Gram().tool({
186186
name: "greet",
187187
description: "Greet someone special",
188188
inputSchema: { name: z.string() },
@@ -191,14 +191,14 @@
191191
},
192192
});
193193

194-
export default speakeasy;
194+
export default gram;
195195
```
196196

197197
In addition to the new framework, we introduce a project scaffolder that users
198-
can run to quickly set up a new Speakeasy Functions project with all necessary
198+
can run to quickly set up a new Gram Functions project with all necessary
199199
boilerplate and configuration. When it is published, it will be available
200200
through:
201201

202202
```
203-
pnpm create @speakeasy-api/function
203+
pnpm create @gram-ai/function
204204
```

ts/create-function/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2025 Speakeasy Development, Inc.
3+
Copyright (c) 2025 Gram Development, Inc.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# gram-template-gram
2+
3+
## 0.0.2
4+
5+
### Patch Changes
6+
7+
- e02e7d1: fix: pnpm build error for gram framework around tools being possibly undefined
8+
- Updated dependencies [f79fd52]
9+
- @gram-ai/functions@0.6.2
10+
11+
## 0.0.1
12+
13+
### Patch Changes
14+
15+
- 5ea5fcd: Reverted the Gram Functions TS framework template to export the instance of
16+
`Gram` as the default export in `src/gram.ts`. This makes the boilerplate code
17+
work again when deployed.
18+
- Updated dependencies [5ea5fcd]
19+
- Updated dependencies [15cbf7e]
20+
- @gram-ai/functions@0.5.1

0 commit comments

Comments
 (0)