feat: update Makelore modules and conversations
Some checks failed
Electron E2E / Electron E2E (macos-latest) (push) Has been cancelled
Electron E2E / Electron E2E (ubuntu-latest) (push) Has been cancelled
Electron E2E / Electron E2E (windows-latest) (push) Has been cancelled

This commit is contained in:
inman
2026-07-31 10:08:41 +08:00
parent b8ca3f8eea
commit 80e8386fa6
175 changed files with 8036 additions and 10581 deletions

View File

@@ -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',