merge: integrate upstream main with local Makelore changes

This commit is contained in:
inman
2026-08-31 10:55:48 +08:00
128 changed files with 8278 additions and 3030 deletions

View File

@@ -206,6 +206,7 @@ describe('PI-090 product tools', () => {
expect(skills.filter(({ selected }) => selected).map(({ id }) => id)).toEqual([
'agent-browser', 'grilling',
]);
expect(skills[0]?.location).toBe('resources/coding-skills/agent-browser');
expect(JSON.stringify(skills)).not.toContain(path.resolve('resources/coding-skills'));
const commands = buildProductCodingCommandCatalog(skills, [
{ name: 'custom', description: 'Custom Pi command' },
@@ -287,9 +288,9 @@ describe('PI-090 product tools', () => {
it('accepts only safe versioned product detail projections', () => {
expect(productToolDetails({
schema: 'changed-file.v1', paths: ['src/app.ts', '.niancode/project.json'],
schema: 'changed-file.v1', paths: ['src/app.ts', '.makelore/project.json'],
})).toEqual({
schema: 'changed-file.v1', paths: ['src/app.ts', '.niancode/project.json'],
schema: 'changed-file.v1', paths: ['src/app.ts', '.makelore/project.json'],
});
expect(productToolDetails({
schema: 'changed-file.v1', paths: ['C:\\private\\secret.txt'],