@happyvertical/smrt-template-sveltekit 0.74.4 → 0.74.6

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.
@@ -1,4 +1,4 @@
1
1
  {
2
- "@happyvertical/smrt-app-mcp": "^0.74.4",
3
- "@happyvertical/smrt-mcp-openai": "^0.74.4"
2
+ "@happyvertical/smrt-app-mcp": "^0.74.6",
3
+ "@happyvertical/smrt-mcp-openai": "^0.74.6"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-template-sveltekit",
3
- "version": "0.74.4",
3
+ "version": "0.74.6",
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.74.4",
90
- "@happyvertical/smrt-agents": "0.74.4",
91
- "@happyvertical/smrt-app-runtime": "0.74.4",
92
- "@happyvertical/smrt-app-mcp": "0.74.4",
93
- "@happyvertical/smrt-chat": "0.74.4",
94
- "@happyvertical/smrt-inference": "0.74.4",
95
- "@happyvertical/smrt-preferences": "0.74.4",
96
- "@happyvertical/smrt-svelte": "0.74.4",
97
- "@happyvertical/smrt-tenancy": "0.74.4",
98
- "@happyvertical/smrt-types": "0.74.4",
99
- "@happyvertical/smrt-ui": "0.74.4",
100
- "@happyvertical/smrt-users": "0.74.4",
89
+ "@happyvertical/smrt-core": "0.74.6",
90
+ "@happyvertical/smrt-agents": "0.74.6",
91
+ "@happyvertical/smrt-app-runtime": "0.74.6",
92
+ "@happyvertical/smrt-app-mcp": "0.74.6",
93
+ "@happyvertical/smrt-chat": "0.74.6",
94
+ "@happyvertical/smrt-inference": "0.74.6",
95
+ "@happyvertical/smrt-preferences": "0.74.6",
96
+ "@happyvertical/smrt-svelte": "0.74.6",
97
+ "@happyvertical/smrt-tenancy": "0.74.6",
98
+ "@happyvertical/smrt-types": "0.74.6",
99
+ "@happyvertical/smrt-ui": "0.74.6",
100
+ "@happyvertical/smrt-users": "0.74.6",
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.74.4",
105
- "@happyvertical/smrt-prompts": "0.74.4",
106
- "@happyvertical/smrt-workflows": "0.74.4"
104
+ "@happyvertical/smrt-jobs": "0.74.6",
105
+ "@happyvertical/smrt-prompts": "0.74.6",
106
+ "@happyvertical/smrt-workflows": "0.74.6"
107
107
  },
108
108
  "devDependencies": {
109
- "@happyvertical/smrt-app-cli": "0.74.4",
110
- "@happyvertical/smrt-app-mcp": "0.74.4",
111
- "@happyvertical/smrt-app-runtime": "0.74.4",
112
- "@happyvertical/smrt-assets": "0.74.4",
113
- "@happyvertical/smrt-chat": "0.74.4",
114
- "@happyvertical/smrt-cli": "0.74.4",
115
- "@happyvertical/smrt-config": "0.74.4",
116
- "@happyvertical/smrt-inference": "0.74.4",
117
- "@happyvertical/smrt-jobs": "0.74.4",
118
- "@happyvertical/smrt-mcp-openai": "0.74.4",
119
- "@happyvertical/smrt-playbooks": "0.74.4",
120
- "@happyvertical/smrt-preferences": "0.74.4",
121
- "@happyvertical/smrt-profiles": "0.74.4",
122
- "@happyvertical/smrt-prompts": "0.74.4",
123
- "@happyvertical/smrt-scanner": "0.74.4",
124
- "@happyvertical/smrt-secrets": "0.74.4",
125
- "@happyvertical/smrt-svelte": "0.74.4",
126
- "@happyvertical/smrt-tenancy": "0.74.4",
127
- "@happyvertical/smrt-ui": "0.74.4",
128
- "@happyvertical/smrt-users": "0.74.4",
129
- "@happyvertical/smrt-web": "0.74.4",
130
- "@happyvertical/smrt-workflows": "0.74.4",
109
+ "@happyvertical/smrt-app-cli": "0.74.6",
110
+ "@happyvertical/smrt-app-mcp": "0.74.6",
111
+ "@happyvertical/smrt-app-runtime": "0.74.6",
112
+ "@happyvertical/smrt-assets": "0.74.6",
113
+ "@happyvertical/smrt-chat": "0.74.6",
114
+ "@happyvertical/smrt-cli": "0.74.6",
115
+ "@happyvertical/smrt-config": "0.74.6",
116
+ "@happyvertical/smrt-inference": "0.74.6",
117
+ "@happyvertical/smrt-jobs": "0.74.6",
118
+ "@happyvertical/smrt-mcp-openai": "0.74.6",
119
+ "@happyvertical/smrt-playbooks": "0.74.6",
120
+ "@happyvertical/smrt-preferences": "0.74.6",
121
+ "@happyvertical/smrt-profiles": "0.74.6",
122
+ "@happyvertical/smrt-prompts": "0.74.6",
123
+ "@happyvertical/smrt-scanner": "0.74.6",
124
+ "@happyvertical/smrt-secrets": "0.74.6",
125
+ "@happyvertical/smrt-svelte": "0.74.6",
126
+ "@happyvertical/smrt-tenancy": "0.74.6",
127
+ "@happyvertical/smrt-ui": "0.74.6",
128
+ "@happyvertical/smrt-users": "0.74.6",
129
+ "@happyvertical/smrt-web": "0.74.6",
130
+ "@happyvertical/smrt-workflows": "0.74.6",
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.74.4",
145
- "@happyvertical/smrt-agents": "0.74.4",
146
- "@happyvertical/smrt-types": "0.74.4",
147
- "@happyvertical/smrt-commerce": "0.74.4",
148
- "@happyvertical/smrt-events": "0.74.4",
149
- "@happyvertical/smrt-inventory": "0.74.4"
144
+ "@happyvertical/smrt-reports": "0.74.6",
145
+ "@happyvertical/smrt-agents": "0.74.6",
146
+ "@happyvertical/smrt-types": "0.74.6",
147
+ "@happyvertical/smrt-commerce": "0.74.6",
148
+ "@happyvertical/smrt-events": "0.74.6",
149
+ "@happyvertical/smrt-inventory": "0.74.6"
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.74.4",
157
- "@happyvertical/smrt-desktop": "0.74.4",
156
+ "@happyvertical/smrt-app-cli": "0.74.6",
157
+ "@happyvertical/smrt-desktop": "0.74.6",
158
158
  "ajv": "^8.20.0"
159
159
  },
160
160
  "scripts": {
@@ -54,6 +54,16 @@ tools, WebMCP definitions, and agent/developer knowledge artifacts.
54
54
  identity; it must never contain or hash provider credentials. Deployed
55
55
  health responses expose only generic status and profile.
56
56
 
57
+ ## UI, API and MCP parity
58
+
59
+ - Anything a user can do in this app's UI must also be possible through the
60
+ API and MCP. A UI action with no API and MCP equivalent is a defect; new UI
61
+ work is not done until both exist.
62
+ - UI code calls the REST routes and MCP tools smrt generates from `@smrt()`
63
+ objects. A hand-written UI-only server action or form handler is the
64
+ exception and needs a matching API route and MCP tool.
65
+ - Apply the same permission checks on the UI, API and MCP paths.
66
+
57
67
  ## Data and authorization
58
68
 
59
69
  - Load initial page data in `+page.server.ts`, return plain serializable rows,
@@ -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.74.4"
44
+ "@happyvertical/smrt-cli": "^0.74.6"
45
45
  },
46
46
  "dependencies": {
47
- "@happyvertical/smrt-app-runtime": "^0.74.4",
48
- "@happyvertical/smrt-config": "^0.74.4",
49
- "@happyvertical/smrt-core": "^0.74.4",
50
- "@happyvertical/smrt-inference": "^0.74.4",
51
- "@happyvertical/smrt-jobs": "^0.74.4",
52
- "@happyvertical/smrt-preferences": "^0.74.4",
53
- "@happyvertical/smrt-profiles": "^0.74.4",
54
- "@happyvertical/smrt-prompts": "^0.74.4",
55
- "@happyvertical/smrt-svelte": "^0.74.4",
56
- "@happyvertical/smrt-tenancy": "^0.74.4",
57
- "@happyvertical/smrt-ui": "^0.74.4",
58
- "@happyvertical/smrt-users": "^0.74.4",
59
- "@happyvertical/smrt-web": "^0.74.4",
47
+ "@happyvertical/smrt-app-runtime": "^0.74.6",
48
+ "@happyvertical/smrt-config": "^0.74.6",
49
+ "@happyvertical/smrt-core": "^0.74.6",
50
+ "@happyvertical/smrt-inference": "^0.74.6",
51
+ "@happyvertical/smrt-jobs": "^0.74.6",
52
+ "@happyvertical/smrt-preferences": "^0.74.6",
53
+ "@happyvertical/smrt-profiles": "^0.74.6",
54
+ "@happyvertical/smrt-prompts": "^0.74.6",
55
+ "@happyvertical/smrt-svelte": "^0.74.6",
56
+ "@happyvertical/smrt-tenancy": "^0.74.6",
57
+ "@happyvertical/smrt-ui": "^0.74.6",
58
+ "@happyvertical/smrt-users": "^0.74.6",
59
+ "@happyvertical/smrt-web": "^0.74.6",
60
60
  "@happyvertical/sql": "^0.89.12",
61
61
  "@modelcontextprotocol/server": "^2.3.1",
62
- "@happyvertical/smrt-reports": "^0.74.4",
63
- "@happyvertical/smrt-secrets": "^0.74.4",
64
- "@happyvertical/smrt-template-sveltekit": "^0.74.4"
62
+ "@happyvertical/smrt-reports": "^0.74.6",
63
+ "@happyvertical/smrt-secrets": "^0.74.6",
64
+ "@happyvertical/smrt-template-sveltekit": "^0.74.6"
65
65
  }
66
66
  }
@@ -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.74.4',
23
- '@happyvertical/smrt-config': '^0.74.4',
24
- '@happyvertical/smrt-core': '^0.74.4',
25
- '@happyvertical/smrt-inference': '^0.74.4',
26
- '@happyvertical/smrt-jobs': '^0.74.4',
27
- '@happyvertical/smrt-preferences': '^0.74.4',
28
- '@happyvertical/smrt-profiles': '^0.74.4',
29
- '@happyvertical/smrt-prompts': '^0.74.4',
30
- '@happyvertical/smrt-reports': '^0.74.4',
31
- '@happyvertical/smrt-secrets': '^0.74.4',
32
- '@happyvertical/smrt-svelte': '^0.74.4',
33
- '@happyvertical/smrt-template-sveltekit': '^0.74.4',
34
- '@happyvertical/smrt-tenancy': '^0.74.4',
35
- '@happyvertical/smrt-ui': '^0.74.4',
36
- '@happyvertical/smrt-users': '^0.74.4',
37
- '@happyvertical/smrt-web': '^0.74.4',
22
+ '@happyvertical/smrt-app-runtime': '^0.74.6',
23
+ '@happyvertical/smrt-config': '^0.74.6',
24
+ '@happyvertical/smrt-core': '^0.74.6',
25
+ '@happyvertical/smrt-inference': '^0.74.6',
26
+ '@happyvertical/smrt-jobs': '^0.74.6',
27
+ '@happyvertical/smrt-preferences': '^0.74.6',
28
+ '@happyvertical/smrt-profiles': '^0.74.6',
29
+ '@happyvertical/smrt-prompts': '^0.74.6',
30
+ '@happyvertical/smrt-reports': '^0.74.6',
31
+ '@happyvertical/smrt-secrets': '^0.74.6',
32
+ '@happyvertical/smrt-svelte': '^0.74.6',
33
+ '@happyvertical/smrt-template-sveltekit': '^0.74.6',
34
+ '@happyvertical/smrt-tenancy': '^0.74.6',
35
+ '@happyvertical/smrt-ui': '^0.74.6',
36
+ '@happyvertical/smrt-users': '^0.74.6',
37
+ '@happyvertical/smrt-web': '^0.74.6',
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.74.4',
43
+ '@happyvertical/smrt-cli': '^0.74.6',
44
44
  '@sveltejs/adapter-node': '^5.5.7',
45
45
  '@sveltejs/kit': '2.70.3',
46
46
  '@sveltejs/vite-plugin-svelte': '^7.3.0',