@happyvertical/smrt-core 0.39.0 → 0.39.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-core",
3
- "version": "0.39.0",
3
+ "version": "0.39.2",
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,15 +139,12 @@
139
139
  }
140
140
  },
141
141
  "dependencies": {
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:",
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",
151
148
  "@modelcontextprotocol/sdk": "^1.25.2",
152
149
  "@oxc-project/runtime": "^0.138.0",
153
150
  "cheerio": "^1.2.0",
@@ -156,26 +153,10 @@
156
153
  "pluralize": "^8.0.0",
157
154
  "tsx": "^4.23.0",
158
155
  "typescript": "^5.9.3",
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"
156
+ "yaml": "^2.9.0",
157
+ "@happyvertical/smrt-config": "0.39.2",
158
+ "@happyvertical/smrt-types": "0.39.2",
159
+ "@happyvertical/smrt-scanner": "0.39.2"
179
160
  },
180
161
  "peerDependencies": {
181
162
  "@huggingface/transformers": ">=3.0.0 <4.0.0",
@@ -207,5 +188,23 @@
207
188
  "type": "git",
208
189
  "url": "https://github.com/happyvertical/smrt.git",
209
190
  "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:postgres": "node ../../scripts/run-with-ci-postgres.mjs -- pnpm exec vitest run src/__tests__/change-feed-concurrency.optional.test.ts",
198
+ "test:integration": "TEST_INTEGRATION=1 vitest run src/__tests__/full-registry-integration.test.ts src/__tests__/manifest-no-leak.test.ts",
199
+ "test:watch": "node scripts/generate-test-manifest.js && vitest",
200
+ "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",
201
+ "build:watch": "vite build --watch",
202
+ "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",
203
+ "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",
204
+ "clean": "rm -rf dist docs",
205
+ "dev": "npm run build:watch & npm run test:watch",
206
+ "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); }\"",
207
+ "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); } });\"",
208
+ "build:fresh": "npm run clean && npm run build && npm run verify:exports && npm run verify:consumer-plugin"
210
209
  }
211
- }
210
+ }