@conversokit/templates 0.1.0 → 0.1.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.
- package/README.md +35 -0
- package/package.json +14 -4
package/README.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# @conversokit/templates
|
|
2
|
+
|
|
3
|
+
App templates (commerce, booking, saas-onboarding, travel, dashboard) declaring tools, widgets, integrations, auth, and consent for ConversoKit.
|
|
4
|
+
|
|
5
|
+
Part of [ConversoKit](https://github.com/Xyborg/ConversoKit) — a boilerplate for building ChatGPT Apps (Apps SDK / MCP) in <30 minutes.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pnpm add @conversokit/templates
|
|
11
|
+
# or
|
|
12
|
+
npm install @conversokit/templates
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Usage
|
|
16
|
+
|
|
17
|
+
```ts
|
|
18
|
+
import { createCommerceTemplate } from '@conversokit/templates';
|
|
19
|
+
|
|
20
|
+
const template = createCommerceTemplate();
|
|
21
|
+
// template.tools → ['search_products', 'add_to_cart', 'checkout', ...]
|
|
22
|
+
// template.widgets → ['ProductCard', 'AddToCartPanel', ...]
|
|
23
|
+
// template.integrations → ['stripe', 'hubspot']
|
|
24
|
+
// template.auth.providers, template.compliance.consentScopes
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Templates reference tools, widgets, and integrations **by string name**, not by import — keeping the template/server boundary loose. The `conversokit` CLI uses the same names when scaffolding.
|
|
28
|
+
|
|
29
|
+
## Documentation
|
|
30
|
+
|
|
31
|
+
Full docs and runnable examples live in the [main repo](https://github.com/Xyborg/ConversoKit#readme).
|
|
32
|
+
|
|
33
|
+
## License
|
|
34
|
+
|
|
35
|
+
Apache-2.0 © Martín Aberastegue
|
package/package.json
CHANGED
|
@@ -1,8 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@conversokit/templates",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "App templates (commerce, booking, saas-onboarding, travel, dashboard) declaring tools, widgets, integrations, auth, and consent for ConversoKit.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"scaffolding",
|
|
8
|
+
"templates",
|
|
9
|
+
"chatgpt-apps",
|
|
10
|
+
"mcp",
|
|
11
|
+
"conversokit"
|
|
12
|
+
],
|
|
13
|
+
"engines": {
|
|
14
|
+
"node": ">=18.0.0"
|
|
15
|
+
},
|
|
6
16
|
"repository": {
|
|
7
17
|
"type": "git",
|
|
8
18
|
"url": "git+https://github.com/Xyborg/ConversoKit.git",
|
|
@@ -20,9 +30,9 @@
|
|
|
20
30
|
"dist"
|
|
21
31
|
],
|
|
22
32
|
"dependencies": {
|
|
23
|
-
"@conversokit/
|
|
24
|
-
"@conversokit/
|
|
25
|
-
"@conversokit/integrations": "0.1.
|
|
33
|
+
"@conversokit/shared": "0.1.1",
|
|
34
|
+
"@conversokit/widgets": "0.1.1",
|
|
35
|
+
"@conversokit/integrations": "0.1.1"
|
|
26
36
|
},
|
|
27
37
|
"devDependencies": {
|
|
28
38
|
"typescript": "^5.2.0"
|