merge: integrate upstream main with local Makelore changes
This commit is contained in:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user