@happyvertical/smrt-template-sveltekit 0.64.0 → 0.65.0
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/dist/host/generate.js +1 -1
- package/dist/host/server.d.ts +8 -2
- package/mcp-apps-template/package.dependencies.json +2 -2
- package/package.json +46 -46
- package/template/package.json +17 -17
- package/template.config.js +17 -17
package/dist/host/generate.js
CHANGED
|
@@ -54,7 +54,7 @@ export async function generateCookbookSubclasses(options = {}) {
|
|
|
54
54
|
throw new Error(`Model has no safe public import: ${id}`);
|
|
55
55
|
return {
|
|
56
56
|
file: join(directory, model.packageId, `${model.name}.ts`),
|
|
57
|
-
source: `import { ${exportName} as ${model.name}Base } from '${importPath}';\nimport { smrt } from '@happyvertical/smrt-core';\n\n@smrt({})\nexport class ${model.name} extends ${model.name}Base {}\n`,
|
|
57
|
+
source: `import { ${exportName} as ${model.name}Base } from '${importPath}';\nimport { smrt } from '@happyvertical/smrt-core';\n\n@smrt({ replaceParent: true })\nexport class ${model.name} extends ${model.name}Base {}\n`,
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
const written = [];
|
package/dist/host/server.d.ts
CHANGED
|
@@ -99,7 +99,10 @@ export declare function createCookbookApplication(options: Omit<CookbookHostOpti
|
|
|
99
99
|
readonly supportsDurableOperations: boolean;
|
|
100
100
|
recover: (context: import("@happyvertical/smrt-core/app-models").AppModelEditContext) => Promise<import("@happyvertical/smrt-core/app-models").AppModelChange | null>;
|
|
101
101
|
readonly database: import("@happyvertical/sql").DatabaseInterface;
|
|
102
|
-
apply: (edit: import("@happyvertical/smrt-core/app-models").AppModelEdit, context: import("@happyvertical/smrt-core/app-models").AppModelEditContext
|
|
102
|
+
apply: (edit: import("@happyvertical/smrt-core/app-models").AppModelEdit, context: import("@happyvertical/smrt-core/app-models").AppModelEditContext, applyOptions?: {
|
|
103
|
+
activation?: Pick<ActivationCoordinator, "activate">;
|
|
104
|
+
admit?: () => void | Promise<void>;
|
|
105
|
+
}) => Promise<import("@happyvertical/smrt-core/app-models").AppModelEditReceipt>;
|
|
103
106
|
snapshot: () => AppModelSnapshot;
|
|
104
107
|
export: () => string;
|
|
105
108
|
history: () => Promise<import("@happyvertical/smrt-core/app-models").AppModelChange[]>;
|
|
@@ -192,7 +195,10 @@ export declare function createCookbookHost(options: CookbookHostOptions): {
|
|
|
192
195
|
readonly supportsDurableOperations: boolean;
|
|
193
196
|
recover: (context: import("@happyvertical/smrt-core/app-models").AppModelEditContext) => Promise<import("@happyvertical/smrt-core/app-models").AppModelChange | null>;
|
|
194
197
|
readonly database: import("@happyvertical/sql").DatabaseInterface;
|
|
195
|
-
apply: (edit: import("@happyvertical/smrt-core/app-models").AppModelEdit, context: import("@happyvertical/smrt-core/app-models").AppModelEditContext
|
|
198
|
+
apply: (edit: import("@happyvertical/smrt-core/app-models").AppModelEdit, context: import("@happyvertical/smrt-core/app-models").AppModelEditContext, applyOptions?: {
|
|
199
|
+
activation?: Pick<ActivationCoordinator, "activate">;
|
|
200
|
+
admit?: () => void | Promise<void>;
|
|
201
|
+
}) => Promise<import("@happyvertical/smrt-core/app-models").AppModelEditReceipt>;
|
|
196
202
|
snapshot: () => AppModelSnapshot;
|
|
197
203
|
export: () => string;
|
|
198
204
|
history: () => Promise<import("@happyvertical/smrt-core/app-models").AppModelChange[]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@happyvertical/smrt-template-sveltekit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.65.0",
|
|
4
4
|
"description": "Minimal SvelteKit project template with s-m-r-t framework integration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -86,48 +86,48 @@
|
|
|
86
86
|
"directory": "packages/template-sveltekit"
|
|
87
87
|
},
|
|
88
88
|
"peerDependencies": {
|
|
89
|
-
"@happyvertical/smrt-core": "0.
|
|
90
|
-
"@happyvertical/smrt-agents": "0.
|
|
91
|
-
"@happyvertical/smrt-app-runtime": "0.
|
|
92
|
-
"@happyvertical/smrt-app-mcp": "0.
|
|
93
|
-
"@happyvertical/smrt-chat": "0.
|
|
94
|
-
"@happyvertical/smrt-inference": "0.
|
|
95
|
-
"@happyvertical/smrt-preferences": "0.
|
|
96
|
-
"@happyvertical/smrt-svelte": "0.
|
|
97
|
-
"@happyvertical/smrt-tenancy": "0.
|
|
98
|
-
"@happyvertical/smrt-types": "0.
|
|
99
|
-
"@happyvertical/smrt-ui": "0.
|
|
100
|
-
"@happyvertical/smrt-users": "0.
|
|
89
|
+
"@happyvertical/smrt-core": "0.65.0",
|
|
90
|
+
"@happyvertical/smrt-agents": "0.65.0",
|
|
91
|
+
"@happyvertical/smrt-app-runtime": "0.65.0",
|
|
92
|
+
"@happyvertical/smrt-app-mcp": "0.65.0",
|
|
93
|
+
"@happyvertical/smrt-chat": "0.65.0",
|
|
94
|
+
"@happyvertical/smrt-inference": "0.65.0",
|
|
95
|
+
"@happyvertical/smrt-preferences": "0.65.0",
|
|
96
|
+
"@happyvertical/smrt-svelte": "0.65.0",
|
|
97
|
+
"@happyvertical/smrt-tenancy": "0.65.0",
|
|
98
|
+
"@happyvertical/smrt-types": "0.65.0",
|
|
99
|
+
"@happyvertical/smrt-ui": "0.65.0",
|
|
100
|
+
"@happyvertical/smrt-users": "0.65.0",
|
|
101
101
|
"@sveltejs/kit": "^2.70.3",
|
|
102
102
|
"svelte": "^5.57.1",
|
|
103
103
|
"@happyvertical/sql": ">=0.89.12",
|
|
104
|
-
"@happyvertical/smrt-jobs": "0.
|
|
105
|
-
"@happyvertical/smrt-prompts": "0.
|
|
106
|
-
"@happyvertical/smrt-workflows": "0.
|
|
104
|
+
"@happyvertical/smrt-jobs": "0.65.0",
|
|
105
|
+
"@happyvertical/smrt-prompts": "0.65.0",
|
|
106
|
+
"@happyvertical/smrt-workflows": "0.65.0"
|
|
107
107
|
},
|
|
108
108
|
"devDependencies": {
|
|
109
|
-
"@happyvertical/smrt-app-cli": "0.
|
|
110
|
-
"@happyvertical/smrt-app-mcp": "0.
|
|
111
|
-
"@happyvertical/smrt-app-runtime": "0.
|
|
112
|
-
"@happyvertical/smrt-assets": "0.
|
|
113
|
-
"@happyvertical/smrt-chat": "0.
|
|
114
|
-
"@happyvertical/smrt-cli": "0.
|
|
115
|
-
"@happyvertical/smrt-config": "0.
|
|
116
|
-
"@happyvertical/smrt-inference": "0.
|
|
117
|
-
"@happyvertical/smrt-jobs": "0.
|
|
118
|
-
"@happyvertical/smrt-mcp-openai": "0.
|
|
119
|
-
"@happyvertical/smrt-playbooks": "0.
|
|
120
|
-
"@happyvertical/smrt-preferences": "0.
|
|
121
|
-
"@happyvertical/smrt-profiles": "0.
|
|
122
|
-
"@happyvertical/smrt-prompts": "0.
|
|
123
|
-
"@happyvertical/smrt-scanner": "0.
|
|
124
|
-
"@happyvertical/smrt-secrets": "0.
|
|
125
|
-
"@happyvertical/smrt-svelte": "0.
|
|
126
|
-
"@happyvertical/smrt-tenancy": "0.
|
|
127
|
-
"@happyvertical/smrt-ui": "0.
|
|
128
|
-
"@happyvertical/smrt-users": "0.
|
|
129
|
-
"@happyvertical/smrt-web": "0.
|
|
130
|
-
"@happyvertical/smrt-workflows": "0.
|
|
109
|
+
"@happyvertical/smrt-app-cli": "0.65.0",
|
|
110
|
+
"@happyvertical/smrt-app-mcp": "0.65.0",
|
|
111
|
+
"@happyvertical/smrt-app-runtime": "0.65.0",
|
|
112
|
+
"@happyvertical/smrt-assets": "0.65.0",
|
|
113
|
+
"@happyvertical/smrt-chat": "0.65.0",
|
|
114
|
+
"@happyvertical/smrt-cli": "0.65.0",
|
|
115
|
+
"@happyvertical/smrt-config": "0.65.0",
|
|
116
|
+
"@happyvertical/smrt-inference": "0.65.0",
|
|
117
|
+
"@happyvertical/smrt-jobs": "0.65.0",
|
|
118
|
+
"@happyvertical/smrt-mcp-openai": "0.65.0",
|
|
119
|
+
"@happyvertical/smrt-playbooks": "0.65.0",
|
|
120
|
+
"@happyvertical/smrt-preferences": "0.65.0",
|
|
121
|
+
"@happyvertical/smrt-profiles": "0.65.0",
|
|
122
|
+
"@happyvertical/smrt-prompts": "0.65.0",
|
|
123
|
+
"@happyvertical/smrt-scanner": "0.65.0",
|
|
124
|
+
"@happyvertical/smrt-secrets": "0.65.0",
|
|
125
|
+
"@happyvertical/smrt-svelte": "0.65.0",
|
|
126
|
+
"@happyvertical/smrt-tenancy": "0.65.0",
|
|
127
|
+
"@happyvertical/smrt-ui": "0.65.0",
|
|
128
|
+
"@happyvertical/smrt-users": "0.65.0",
|
|
129
|
+
"@happyvertical/smrt-web": "0.65.0",
|
|
130
|
+
"@happyvertical/smrt-workflows": "0.65.0",
|
|
131
131
|
"@happyvertical/sql": "^0.89.12",
|
|
132
132
|
"@modelcontextprotocol/client": "2.3.1",
|
|
133
133
|
"@modelcontextprotocol/server": "^2.3.1",
|
|
@@ -141,20 +141,20 @@
|
|
|
141
141
|
"typescript": "6.0.3",
|
|
142
142
|
"vite": "8.1.6",
|
|
143
143
|
"vitest": "4.1.10",
|
|
144
|
-
"@happyvertical/smrt-reports": "0.
|
|
145
|
-
"@happyvertical/smrt-agents": "0.
|
|
146
|
-
"@happyvertical/smrt-types": "0.
|
|
147
|
-
"@happyvertical/smrt-commerce": "0.
|
|
148
|
-
"@happyvertical/smrt-events": "0.
|
|
149
|
-
"@happyvertical/smrt-inventory": "0.
|
|
144
|
+
"@happyvertical/smrt-reports": "0.65.0",
|
|
145
|
+
"@happyvertical/smrt-agents": "0.65.0",
|
|
146
|
+
"@happyvertical/smrt-types": "0.65.0",
|
|
147
|
+
"@happyvertical/smrt-commerce": "0.65.0",
|
|
148
|
+
"@happyvertical/smrt-events": "0.65.0",
|
|
149
|
+
"@happyvertical/smrt-inventory": "0.65.0"
|
|
150
150
|
},
|
|
151
151
|
"publishConfig": {
|
|
152
152
|
"registry": "https://registry.npmjs.org",
|
|
153
153
|
"access": "public"
|
|
154
154
|
},
|
|
155
155
|
"dependencies": {
|
|
156
|
-
"@happyvertical/smrt-app-cli": "0.
|
|
157
|
-
"@happyvertical/smrt-desktop": "0.
|
|
156
|
+
"@happyvertical/smrt-app-cli": "0.65.0",
|
|
157
|
+
"@happyvertical/smrt-desktop": "0.65.0",
|
|
158
158
|
"ajv": "^8.20.0"
|
|
159
159
|
},
|
|
160
160
|
"scripts": {
|
package/template/package.json
CHANGED
|
@@ -41,26 +41,26 @@
|
|
|
41
41
|
"svelte-check": "^4.7.6",
|
|
42
42
|
"typescript": "6.0.3",
|
|
43
43
|
"vite": "8.3.3",
|
|
44
|
-
"@happyvertical/smrt-cli": "^0.
|
|
44
|
+
"@happyvertical/smrt-cli": "^0.65.0"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@happyvertical/smrt-app-runtime": "^0.
|
|
48
|
-
"@happyvertical/smrt-config": "^0.
|
|
49
|
-
"@happyvertical/smrt-core": "^0.
|
|
50
|
-
"@happyvertical/smrt-inference": "^0.
|
|
51
|
-
"@happyvertical/smrt-jobs": "^0.
|
|
52
|
-
"@happyvertical/smrt-preferences": "^0.
|
|
53
|
-
"@happyvertical/smrt-profiles": "^0.
|
|
54
|
-
"@happyvertical/smrt-prompts": "^0.
|
|
55
|
-
"@happyvertical/smrt-svelte": "^0.
|
|
56
|
-
"@happyvertical/smrt-tenancy": "^0.
|
|
57
|
-
"@happyvertical/smrt-ui": "^0.
|
|
58
|
-
"@happyvertical/smrt-users": "^0.
|
|
59
|
-
"@happyvertical/smrt-web": "^0.
|
|
47
|
+
"@happyvertical/smrt-app-runtime": "^0.65.0",
|
|
48
|
+
"@happyvertical/smrt-config": "^0.65.0",
|
|
49
|
+
"@happyvertical/smrt-core": "^0.65.0",
|
|
50
|
+
"@happyvertical/smrt-inference": "^0.65.0",
|
|
51
|
+
"@happyvertical/smrt-jobs": "^0.65.0",
|
|
52
|
+
"@happyvertical/smrt-preferences": "^0.65.0",
|
|
53
|
+
"@happyvertical/smrt-profiles": "^0.65.0",
|
|
54
|
+
"@happyvertical/smrt-prompts": "^0.65.0",
|
|
55
|
+
"@happyvertical/smrt-svelte": "^0.65.0",
|
|
56
|
+
"@happyvertical/smrt-tenancy": "^0.65.0",
|
|
57
|
+
"@happyvertical/smrt-ui": "^0.65.0",
|
|
58
|
+
"@happyvertical/smrt-users": "^0.65.0",
|
|
59
|
+
"@happyvertical/smrt-web": "^0.65.0",
|
|
60
60
|
"@happyvertical/sql": "^0.89.12",
|
|
61
61
|
"@modelcontextprotocol/server": "^2.3.1",
|
|
62
|
-
"@happyvertical/smrt-reports": "^0.
|
|
63
|
-
"@happyvertical/smrt-secrets": "^0.
|
|
64
|
-
"@happyvertical/smrt-template-sveltekit": "^0.
|
|
62
|
+
"@happyvertical/smrt-reports": "^0.65.0",
|
|
63
|
+
"@happyvertical/smrt-secrets": "^0.65.0",
|
|
64
|
+
"@happyvertical/smrt-template-sveltekit": "^0.65.0"
|
|
65
65
|
}
|
|
66
66
|
}
|
package/template.config.js
CHANGED
|
@@ -19,28 +19,28 @@ export default {
|
|
|
19
19
|
|
|
20
20
|
// Dependencies to add to generated project
|
|
21
21
|
dependencies: {
|
|
22
|
-
'@happyvertical/smrt-app-runtime': '^0.
|
|
23
|
-
'@happyvertical/smrt-config': '^0.
|
|
24
|
-
'@happyvertical/smrt-core': '^0.
|
|
25
|
-
'@happyvertical/smrt-inference': '^0.
|
|
26
|
-
'@happyvertical/smrt-jobs': '^0.
|
|
27
|
-
'@happyvertical/smrt-preferences': '^0.
|
|
28
|
-
'@happyvertical/smrt-profiles': '^0.
|
|
29
|
-
'@happyvertical/smrt-prompts': '^0.
|
|
30
|
-
'@happyvertical/smrt-reports': '^0.
|
|
31
|
-
'@happyvertical/smrt-secrets': '^0.
|
|
32
|
-
'@happyvertical/smrt-svelte': '^0.
|
|
33
|
-
'@happyvertical/smrt-template-sveltekit': '^0.
|
|
34
|
-
'@happyvertical/smrt-tenancy': '^0.
|
|
35
|
-
'@happyvertical/smrt-ui': '^0.
|
|
36
|
-
'@happyvertical/smrt-users': '^0.
|
|
37
|
-
'@happyvertical/smrt-web': '^0.
|
|
22
|
+
'@happyvertical/smrt-app-runtime': '^0.65.0',
|
|
23
|
+
'@happyvertical/smrt-config': '^0.65.0',
|
|
24
|
+
'@happyvertical/smrt-core': '^0.65.0',
|
|
25
|
+
'@happyvertical/smrt-inference': '^0.65.0',
|
|
26
|
+
'@happyvertical/smrt-jobs': '^0.65.0',
|
|
27
|
+
'@happyvertical/smrt-preferences': '^0.65.0',
|
|
28
|
+
'@happyvertical/smrt-profiles': '^0.65.0',
|
|
29
|
+
'@happyvertical/smrt-prompts': '^0.65.0',
|
|
30
|
+
'@happyvertical/smrt-reports': '^0.65.0',
|
|
31
|
+
'@happyvertical/smrt-secrets': '^0.65.0',
|
|
32
|
+
'@happyvertical/smrt-svelte': '^0.65.0',
|
|
33
|
+
'@happyvertical/smrt-template-sveltekit': '^0.65.0',
|
|
34
|
+
'@happyvertical/smrt-tenancy': '^0.65.0',
|
|
35
|
+
'@happyvertical/smrt-ui': '^0.65.0',
|
|
36
|
+
'@happyvertical/smrt-users': '^0.65.0',
|
|
37
|
+
'@happyvertical/smrt-web': '^0.65.0',
|
|
38
38
|
'@happyvertical/sql': '^0.89.12',
|
|
39
39
|
'@modelcontextprotocol/server': '^2.3.1',
|
|
40
40
|
},
|
|
41
41
|
|
|
42
42
|
devDependencies: {
|
|
43
|
-
'@happyvertical/smrt-cli': '^0.
|
|
43
|
+
'@happyvertical/smrt-cli': '^0.65.0',
|
|
44
44
|
'@sveltejs/adapter-node': '^5.5.7',
|
|
45
45
|
'@sveltejs/kit': '2.70.3',
|
|
46
46
|
'@sveltejs/vite-plugin-svelte': '^7.3.0',
|