feat: update Makelore modules and conversations
This commit is contained in:
@@ -51,8 +51,8 @@ function resetStores() {
|
||||
subagents: [],
|
||||
projectRuntimeConfigsByProjectId: {
|
||||
prj_1: {
|
||||
'nitu-pm-cloud': {
|
||||
filePath: 'D:/repo/.opencode/agent/nitu-pm-cloud.md',
|
||||
'makelore-pm-cloud': {
|
||||
filePath: 'D:/repo/.opencode/agent/makelore-pm-cloud.md',
|
||||
skillIds: ['pm-project-plan'],
|
||||
updatedAt: '2026-07-04T00:00:00.000Z',
|
||||
},
|
||||
@@ -124,12 +124,12 @@ describe('useUserSyncStore', () => {
|
||||
updatedAt: '2026-07-04T00:00:00.000Z',
|
||||
}],
|
||||
partners: [{
|
||||
id: 'nitu-pm-cloud',
|
||||
id: 'makelore-pm-cloud',
|
||||
displayName: 'Cloud PM',
|
||||
templateRoleId: 'pm',
|
||||
templateRoleId: 'custom',
|
||||
description: 'Global cloud partner',
|
||||
skillIds: ['pm-project-plan'],
|
||||
filePath: 'D:/other/.opencode/agent/nitu-pm-cloud.md',
|
||||
filePath: 'D:/other/.opencode/agent/makelore-pm-cloud.md',
|
||||
projectRuntimeConfigsByProjectId: { other: { filePath: 'D:/other/file.md' } },
|
||||
createdAt: '2026-07-04T00:00:00.000Z',
|
||||
updatedAt: '2026-07-04T00:00:00.000Z',
|
||||
@@ -151,9 +151,9 @@ describe('useUserSyncStore', () => {
|
||||
expect(useSettingsStore.getState().launchAtStartup).toBe(true);
|
||||
expect(useSettingsStore.getState().proxyServer).toBe('http://local-proxy.example.com');
|
||||
expect(usePartnerProfilesStore.getState().subagents).toEqual([{
|
||||
id: 'nitu-pm-cloud',
|
||||
id: 'makelore-pm-cloud',
|
||||
displayName: 'Cloud PM',
|
||||
templateRoleId: 'pm',
|
||||
templateRoleId: 'custom',
|
||||
description: 'Global cloud partner',
|
||||
avatarTone: undefined,
|
||||
avatarDataUrl: undefined,
|
||||
@@ -195,10 +195,10 @@ describe('useUserSyncStore', () => {
|
||||
});
|
||||
|
||||
await useUserSyncStore.getState().pushPartner({
|
||||
id: 'nitu-pm-test',
|
||||
id: 'makelore-pm-test',
|
||||
displayName: 'PM',
|
||||
templateRoleId: 'pm',
|
||||
filePath: 'D:/repo/.opencode/agent/nitu-pm-test.md',
|
||||
templateRoleId: 'custom',
|
||||
filePath: 'D:/repo/.opencode/agent/makelore-pm-test.md',
|
||||
skillIds: ['pm-project-plan'],
|
||||
createdAt: '2026-07-04T00:00:00.000Z',
|
||||
updatedAt: '2026-07-04T00:00:00.000Z',
|
||||
@@ -206,9 +206,9 @@ describe('useUserSyncStore', () => {
|
||||
|
||||
const body = JSON.parse(String(hostApiFetchMock.mock.calls[0][1].body));
|
||||
expect(body).toEqual({
|
||||
id: 'nitu-pm-test',
|
||||
id: 'makelore-pm-test',
|
||||
displayName: 'PM',
|
||||
templateRoleId: 'pm',
|
||||
templateRoleId: 'custom',
|
||||
skillIds: ['pm-project-plan'],
|
||||
createdAt: '2026-07-04T00:00:00.000Z',
|
||||
updatedAt: '2026-07-04T00:00:00.000Z',
|
||||
|
||||
Reference in New Issue
Block a user