Commit 61f88f0
chore: version packages (#614)
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.
# Releases
## @gram-ai/[email protected]
### Patch Changes
- a8cc73e: Ensure .gitignore is scaffolded out with templating Gram
Functions projects.
## @gram-ai/[email protected]
### Patch Changes
- 676405c: Updated the `manifest()` method of the Gram Functions TS
framework to avoid
JSON-serializing the input schema for tool definitions. This was a
mistake since
the server is expecting a literal object for the schema.
## @gram/[email protected]
### Minor Changes
- 9fbd193: Introducing two new commands to the Gram CLI:
gram stage openapi --slug <slug> --location <path>
gram stage function --slug <slug> --location <path>
These commands can be used to gradually build out deployment configs by
adding OpenAPI documents and Gram Functions zip files as sources. After
all sources are added, `gram push` can be used to deploy the staged
configuration.
In practice, this should make it easier to script a Gram deployment in
CI/CD and
locally compared to authoring a full deployment JSON config manually.
- 30f385c: Added a `--method replace|merge` flag to the `gram push`
command. This flag
allows users to specify whether a push should replace all previous
deployment
artifacts or merge on top of them. The default behavior is `--method
merge`. As
an illustrative example:
**With `--method replace`:**
T0:
Current project artifacts:
- petstore.openapi.yaml
- greet.zip
T1:
User runs:
gram stage function --slug ecommerce --location ecommerce.zip
gram push --method replace
T2:
Resulting project artifacts:
- ecommerce (ecommerce.zip)
**With `--method merge` (the new default behavior):**
T0:
Current project artifacts:
- petstore (petstore.openapi.yaml)
- greeter (greet.zip)
T1:
User runs:
gram stage function --slug ecommerce --location ecommerce.zip
gram push --method merge
T2:
Resulting project artifacts:
- petstore (petstore.openapi.yaml)
- greeter (greet.zip)
- ecommerce (ecommerce.zip)
### Patch Changes
- 789b304: Updated the deployment workflow in the CLI to not require a
previous deployment
ID when evolving.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>1 parent 676405c commit 61f88f0
File tree
11 files changed
+84
-85
lines changed- .changeset
- cli
- ts-framework
- create-function
- functions
11 files changed
+84
-85
lines changedThis file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
3 | 70 | | |
4 | 71 | | |
5 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
3 | 9 | | |
4 | 10 | | |
5 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
3 | 11 | | |
4 | 12 | | |
5 | 13 | | |
| |||
0 commit comments