@gram-ai/create-function 0.12.4 → 0.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -89,13 +89,13 @@ clients. They align with the
|
|
|
89
89
|
|
|
90
90
|
Available annotation fields:
|
|
91
91
|
|
|
92
|
-
| Field
|
|
93
|
-
|
|
|
94
|
-
| `title`
|
|
95
|
-
| `readOnlyHint`
|
|
96
|
-
| `destructiveHint`
|
|
97
|
-
| `idempotentHint`
|
|
98
|
-
| `openWorldHint`
|
|
92
|
+
| Field | Type | Default | Description |
|
|
93
|
+
| ----------------- | --------- | ------- | -------------------------------------------------- |
|
|
94
|
+
| `title` | `string` | — | Human-readable display name for the tool |
|
|
95
|
+
| `readOnlyHint` | `boolean` | `false` | Tool does not modify its environment |
|
|
96
|
+
| `destructiveHint` | `boolean` | `true` | Tool may perform destructive updates |
|
|
97
|
+
| `idempotentHint` | `boolean` | `false` | Repeated calls with same args have no extra effect |
|
|
98
|
+
| `openWorldHint` | `boolean` | `true` | Tool interacts with external entities |
|
|
99
99
|
|
|
100
100
|
All annotation properties are **hints** — they are not guaranteed to be
|
|
101
101
|
accurate and clients should not rely on them for security decisions.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@gram-ai/create-function",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.13.1",
|
|
5
5
|
"description": "Build AI tools and deploy them to getgram.ai",
|
|
6
6
|
"keywords": [],
|
|
7
7
|
"homepage": "https://github.com/speakeasy-api/gram",
|
|
@@ -33,12 +33,11 @@
|
|
|
33
33
|
"zx": "8.8.5-lite"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
36
|
+
"@modelcontextprotocol/sdk": "^1.27.0",
|
|
37
37
|
"@types/node": "22.x",
|
|
38
|
-
"prettier": "^3.6.2",
|
|
39
38
|
"typescript": "5.9.3",
|
|
40
|
-
"zod": "^
|
|
41
|
-
"@gram-ai/functions": "^0.
|
|
39
|
+
"zod": "^4",
|
|
40
|
+
"@gram-ai/functions": "^0.13.1"
|
|
42
41
|
},
|
|
43
42
|
"scripts": {
|
|
44
43
|
"build": "tsc --noEmit false"
|
package/src/main.ts
CHANGED