@happyvertical/smrt-core 0.38.26 → 0.39.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.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "timestamp": 1783688012207,
3
+ "timestamp": 1783721857360,
4
4
  "packageName": "@happyvertical/smrt-core",
5
- "packageVersion": "0.38.26",
5
+ "packageVersion": "0.39.0",
6
6
  "objects": {
7
7
  "@happyvertical/smrt-core:SmrtClass": {
8
8
  "name": "smrtclass",
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "generatedAt": "2026-07-10T12:53:30.253Z",
3
+ "generatedAt": "2026-07-10T22:17:36.230Z",
4
4
  "packageName": "@happyvertical/smrt-core",
5
- "packageVersion": "0.38.26",
5
+ "packageVersion": "0.39.0",
6
6
  "sourceManifestPath": "dist/manifest.json",
7
7
  "agentDocPath": "AGENTS.md",
8
8
  "sourceHashes": {
9
- "manifest": "ba1939aa15bc24f7b2c7afab6e67acbb659eb95950bfa192094f27e6ef910857",
10
- "packageJson": "10ed64f544dff4a6dde408e676c2610865a5cdcd1507eb0b30fdaa9da2aeb422",
9
+ "manifest": "c1350d8b71bef9a3f70cc6d2f89464bfba09035255640d654a67e3c012412bc1",
10
+ "packageJson": "cbd2271ea10a0a23983a41dd86e06d38a0afd17875d3b7d7faa8295276b80a4d",
11
11
  "agents": "3d72a7c7113be59dd66046c50acc3e2759735fae5e9a0c6b30801d3e193b773d"
12
12
  },
13
13
  "exports": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-core",
3
- "version": "0.38.26",
3
+ "version": "0.39.0",
4
4
  "description": "Core AI agent framework with standardized collections, object-relational mapping, and code generators",
5
5
  "author": "HappyVertical",
6
6
  "type": "module",
@@ -139,12 +139,15 @@
139
139
  }
140
140
  },
141
141
  "dependencies": {
142
- "@happyvertical/ai": "^0.78.0",
143
- "@happyvertical/files": "^0.78.0",
144
- "@happyvertical/json": "^0.78.0",
145
- "@happyvertical/logger": "^0.78.0",
146
- "@happyvertical/sql": "^0.78.0",
147
- "@happyvertical/utils": "^0.78.0",
142
+ "@happyvertical/ai": "catalog:",
143
+ "@happyvertical/files": "catalog:",
144
+ "@happyvertical/json": "catalog:",
145
+ "@happyvertical/logger": "catalog:",
146
+ "@happyvertical/smrt-config": "workspace:*",
147
+ "@happyvertical/smrt-scanner": "workspace:*",
148
+ "@happyvertical/smrt-types": "workspace:*",
149
+ "@happyvertical/sql": "catalog:",
150
+ "@happyvertical/utils": "catalog:",
148
151
  "@modelcontextprotocol/sdk": "^1.25.2",
149
152
  "@oxc-project/runtime": "^0.138.0",
150
153
  "cheerio": "^1.2.0",
@@ -153,10 +156,26 @@
153
156
  "pluralize": "^8.0.0",
154
157
  "tsx": "^4.23.0",
155
158
  "typescript": "^5.9.3",
156
- "yaml": "^2.9.0",
157
- "@happyvertical/smrt-config": "0.38.26",
158
- "@happyvertical/smrt-scanner": "0.38.26",
159
- "@happyvertical/smrt-types": "0.38.26"
159
+ "yaml": "^2.9.0"
160
+ },
161
+ "scripts": {
162
+ "typecheck": "tsc -p tsconfig.typecheck.json",
163
+ "generate": "node scripts/generate-manifest.js",
164
+ "generate:test": "node scripts/generate-test-manifest.js",
165
+ "test": "node scripts/generate-test-manifest.js && vitest run",
166
+ "test:postgres": "node ../../scripts/run-with-ci-postgres.mjs -- pnpm exec vitest run src/__tests__/change-feed-concurrency.optional.test.ts",
167
+ "test:integration": "TEST_INTEGRATION=1 vitest run src/__tests__/full-registry-integration.test.ts src/__tests__/manifest-no-leak.test.ts",
168
+ "test:watch": "node scripts/generate-test-manifest.js && vitest",
169
+ "build": "node scripts/generate-manifest.js && node scripts/generate-test-manifest.js && vite build && cp -r src/vite-plugin/templates dist/vite-plugin/ && cp -r scripts dist/ && cp src/manifest/static-manifest.json dist/manifest.json && cp src/manifest/smrt-knowledge.json dist/smrt-knowledge.json",
170
+ "build:watch": "vite build --watch",
171
+ "docs": "typedoc --plugin typedoc-plugin-markdown --out docs --entryPoints ./src/index.ts --tsconfig ./tsconfig.json --excludePrivate --excludeInternal --hideGenerator --fileExtension .md --readme none --categorizeByGroup false --includeVersion false --hidePageHeader --hidePageTitle false --outputFileStrategy modules",
172
+ "docs:watch": "typedoc --plugin typedoc-plugin-markdown --out docs --entryPoints ./src/index.ts --tsconfig ./tsconfig.json --excludePrivate --excludeInternal --hideGenerator --fileExtension .md --readme none --categorizeByGroup false --includeVersion false --hidePageHeader --hidePageTitle false --outputFileStrategy modules --watch",
173
+ "clean": "rm -rf dist docs",
174
+ "dev": "npm run build:watch & npm run test:watch",
175
+ "verify:consumer-plugin": "node -e \"try { const { smrtConsumer } = require('./dist/consumer-plugin.js'); const plugin = smrtConsumer(); console.log('✅ Consumer plugin working:', plugin.name); } catch(e) { console.error('❌ Consumer plugin failed:', e.message); process.exit(1); }\"",
176
+ "verify:exports": "node --input-type=module -e \"import { readFileSync, existsSync } from 'fs'; const pkg = JSON.parse(readFileSync('./package.json', 'utf-8')); Object.entries(pkg.exports).forEach(([key, path]) => { if (typeof path === 'string' && existsSync(path)) { console.log('✅', key, '→', path); } else if (typeof path === 'object') { const paths = [path.types, path.browser, path.default, path.import, path.require].filter(Boolean); if (paths.every(p => existsSync(p))) { console.log('✅', key, '→', JSON.stringify(path)); } else { console.error('❌', key, '→', JSON.stringify(path), '(some missing)'); process.exit(1); } } else { console.error('❌', key, '→', path, '(missing)'); process.exit(1); } });\"",
177
+ "build:fresh": "npm run clean && npm run build && npm run verify:exports && npm run verify:consumer-plugin",
178
+ "prepack": "node scripts/prepack.js"
160
179
  },
161
180
  "peerDependencies": {
162
181
  "@huggingface/transformers": ">=3.0.0 <4.0.0",
@@ -188,22 +207,5 @@
188
207
  "type": "git",
189
208
  "url": "https://github.com/happyvertical/smrt.git",
190
209
  "directory": "packages/core"
191
- },
192
- "scripts": {
193
- "typecheck": "tsc -p tsconfig.typecheck.json",
194
- "generate": "node scripts/generate-manifest.js",
195
- "generate:test": "node scripts/generate-test-manifest.js",
196
- "test": "node scripts/generate-test-manifest.js && vitest run",
197
- "test:integration": "TEST_INTEGRATION=1 vitest run src/__tests__/full-registry-integration.test.ts src/__tests__/manifest-no-leak.test.ts",
198
- "test:watch": "node scripts/generate-test-manifest.js && vitest",
199
- "build": "node scripts/generate-manifest.js && node scripts/generate-test-manifest.js && vite build && cp -r src/vite-plugin/templates dist/vite-plugin/ && cp -r scripts dist/ && cp src/manifest/static-manifest.json dist/manifest.json && cp src/manifest/smrt-knowledge.json dist/smrt-knowledge.json",
200
- "build:watch": "vite build --watch",
201
- "docs": "typedoc --plugin typedoc-plugin-markdown --out docs --entryPoints ./src/index.ts --tsconfig ./tsconfig.json --excludePrivate --excludeInternal --hideGenerator --fileExtension .md --readme none --categorizeByGroup false --includeVersion false --hidePageHeader --hidePageTitle false --outputFileStrategy modules",
202
- "docs:watch": "typedoc --plugin typedoc-plugin-markdown --out docs --entryPoints ./src/index.ts --tsconfig ./tsconfig.json --excludePrivate --excludeInternal --hideGenerator --fileExtension .md --readme none --categorizeByGroup false --includeVersion false --hidePageHeader --hidePageTitle false --outputFileStrategy modules --watch",
203
- "clean": "rm -rf dist docs",
204
- "dev": "npm run build:watch & npm run test:watch",
205
- "verify:consumer-plugin": "node -e \"try { const { smrtConsumer } = require('./dist/consumer-plugin.js'); const plugin = smrtConsumer(); console.log('✅ Consumer plugin working:', plugin.name); } catch(e) { console.error('❌ Consumer plugin failed:', e.message); process.exit(1); }\"",
206
- "verify:exports": "node --input-type=module -e \"import { readFileSync, existsSync } from 'fs'; const pkg = JSON.parse(readFileSync('./package.json', 'utf-8')); Object.entries(pkg.exports).forEach(([key, path]) => { if (typeof path === 'string' && existsSync(path)) { console.log('✅', key, '→', path); } else if (typeof path === 'object') { const paths = [path.types, path.browser, path.default, path.import, path.require].filter(Boolean); if (paths.every(p => existsSync(p))) { console.log('✅', key, '→', JSON.stringify(path)); } else { console.error('❌', key, '→', JSON.stringify(path), '(some missing)'); process.exit(1); } } else { console.error('❌', key, '→', path, '(missing)'); process.exit(1); } });\"",
207
- "build:fresh": "npm run clean && npm run build && npm run verify:exports && npm run verify:consumer-plugin"
208
210
  }
209
- }
211
+ }
package/LICENSE DELETED
@@ -1,7 +0,0 @@
1
- Copyright <2025> <Happy Vertical Corporation>
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
-
5
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
-
7
- THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.