@open-mercato/ai-assistant 0.6.2-develop.3467.1.2a1818709d → 0.6.3-develop.3484.1.1427e58147
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/AGENTS.md +2 -2
- package/jest.config.cjs +3 -1
- package/package.json +14 -14
package/AGENTS.md
CHANGED
|
@@ -247,7 +247,7 @@ export const aiToolOverrides: AiToolOverridesMap = {
|
|
|
247
247
|
}
|
|
248
248
|
```
|
|
249
249
|
|
|
250
|
-
**Path B — `modules.ts` inline (app-level static, unified `entry.overrides`).** Declare overrides under the umbrella `overrides.ai` key on a `ModuleEntry` inside `apps/<app>/src/modules.ts`. Other contracts a module presents (routes, events, workers, widgets, …) reuse the same `entry.overrides` shape per spec `.ai/specs/2026-05-04-modules-ts-unified-overrides.md
|
|
250
|
+
**Path B — `modules.ts` inline (app-level static, unified `entry.overrides`).** Declare overrides under the umbrella `overrides.ai` key on a `ModuleEntry` inside `apps/<app>/src/modules.ts`. Other contracts a module presents (routes, events, workers, widgets, notifications, interceptors, setup, ACL, DI, encryption, …) reuse the same `entry.overrides` shape per spec `.ai/specs/2026-05-04-modules-ts-unified-overrides.md`; phases 1-18 are wired. The app's `bootstrap.ts` calls `applyModuleOverridesFromEnabledModules(enabledModules)` from `@open-mercato/shared/modules/overrides` once at boot — both `apps/mercato` and the `create-mercato-app` template ship that wiring.
|
|
251
251
|
|
|
252
252
|
```ts
|
|
253
253
|
// apps/<app>/src/modules.ts
|
|
@@ -291,7 +291,7 @@ MUST rules:
|
|
|
291
291
|
Resolution order (highest precedence first):
|
|
292
292
|
|
|
293
293
|
1. Programmatic `applyAiAgentOverrides` / `applyAiToolOverrides` calls (last call per id wins).
|
|
294
|
-
2. `modules.ts` inline (`
|
|
294
|
+
2. `modules.ts` inline (`entry.overrides.ai.agents` / `entry.overrides.ai.tools`; last entry per id wins).
|
|
295
295
|
3. File-based `<module>/ai-agents.ts` / `<module>/ai-tools.ts` overrides (last module load order wins).
|
|
296
296
|
4. The base `<module>/ai-agents.ts` / `<module>/ai-tools.ts` registrations.
|
|
297
297
|
|
package/jest.config.cjs
CHANGED
|
@@ -23,12 +23,14 @@ module.exports = {
|
|
|
23
23
|
{
|
|
24
24
|
tsconfig: {
|
|
25
25
|
jsx: 'react-jsx',
|
|
26
|
+
rootDir: '.',
|
|
27
|
+
ignoreDeprecations: '6.0',
|
|
26
28
|
},
|
|
27
29
|
},
|
|
28
30
|
],
|
|
29
31
|
},
|
|
30
32
|
transformIgnorePatterns: [
|
|
31
|
-
'node_modules/(?!(@mikro-orm)/)',
|
|
33
|
+
'node_modules/(?!(@mikro-orm|kysely)/)',
|
|
32
34
|
],
|
|
33
35
|
testMatch: ['<rootDir>/src/**/__tests__/**/*.test.(ts|tsx)'],
|
|
34
36
|
passWithNoTests: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-mercato/ai-assistant",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.3-develop.3484.1.1427e58147",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=22.0.0"
|
|
@@ -85,35 +85,35 @@
|
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
"dependencies": {
|
|
88
|
-
"@ai-sdk/anthropic": "^3.0.
|
|
89
|
-
"@ai-sdk/google": "^3.0.
|
|
90
|
-
"@ai-sdk/openai": "^3.0.
|
|
88
|
+
"@ai-sdk/anthropic": "^3.0.78",
|
|
89
|
+
"@ai-sdk/google": "^3.0.75",
|
|
90
|
+
"@ai-sdk/openai": "^3.0.64",
|
|
91
91
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
92
|
-
"ai": "^6.0.
|
|
92
|
+
"ai": "^6.0.185",
|
|
93
93
|
"cmdk": "^1.0.0",
|
|
94
|
-
"framer-motion": "^12.
|
|
94
|
+
"framer-motion": "^12.39.0",
|
|
95
95
|
"isolated-vm": "^6.1.2",
|
|
96
96
|
"react-json-view-lite": "^2.5.0",
|
|
97
97
|
"react-markdown": "^10.1.0",
|
|
98
98
|
"zod-to-json-schema": "^3.25.2"
|
|
99
99
|
},
|
|
100
100
|
"peerDependencies": {
|
|
101
|
-
"@open-mercato/shared": "0.6.
|
|
102
|
-
"@open-mercato/ui": "0.6.
|
|
101
|
+
"@open-mercato/shared": "0.6.3-develop.3484.1.1427e58147",
|
|
102
|
+
"@open-mercato/ui": "0.6.3-develop.3484.1.1427e58147",
|
|
103
103
|
"react": "^19.0.0",
|
|
104
104
|
"react-dom": "^19.0.0",
|
|
105
105
|
"zod": ">=3.23.0"
|
|
106
106
|
},
|
|
107
107
|
"devDependencies": {
|
|
108
|
-
"@open-mercato/cli": "0.6.
|
|
109
|
-
"@open-mercato/shared": "0.6.
|
|
110
|
-
"@open-mercato/ui": "0.6.
|
|
108
|
+
"@open-mercato/cli": "0.6.3-develop.3484.1.1427e58147",
|
|
109
|
+
"@open-mercato/shared": "0.6.3-develop.3484.1.1427e58147",
|
|
110
|
+
"@open-mercato/ui": "0.6.3-develop.3484.1.1427e58147",
|
|
111
111
|
"@types/react": "^19.2.14",
|
|
112
112
|
"@types/react-dom": "^19.2.3",
|
|
113
113
|
"react": "19.2.6",
|
|
114
114
|
"react-dom": "19.2.6",
|
|
115
|
-
"tsx": "^4.
|
|
116
|
-
"zod": "^4.3
|
|
115
|
+
"tsx": "^4.22.2",
|
|
116
|
+
"zod": "^4.4.3"
|
|
117
117
|
},
|
|
118
118
|
"publishConfig": {
|
|
119
119
|
"access": "public"
|
|
@@ -123,5 +123,5 @@
|
|
|
123
123
|
"url": "https://github.com/open-mercato/open-mercato",
|
|
124
124
|
"directory": "packages/ai-assistant"
|
|
125
125
|
},
|
|
126
|
-
"stableVersion": "0.6.
|
|
126
|
+
"stableVersion": "0.6.2"
|
|
127
127
|
}
|