Move library collections as a group and map v2 identity refs.
Collapsed collection actions now move, rename, delete, and rerun every part so chains stay together. Identity mode follows the v2u3 Ref2VA picture wiring. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
import { sweepAllExtensionStills } from '../utils/library'
|
||||
|
||||
export default defineNitroPlugin(() => {
|
||||
try {
|
||||
const result = sweepAllExtensionStills()
|
||||
if (result.deleted) {
|
||||
console.log(JSON.stringify({
|
||||
src: 'library',
|
||||
event: 'purge-extension-stills',
|
||||
owners: result.owners,
|
||||
deleted: result.deleted,
|
||||
filenames: result.filenames.slice(0, 40)
|
||||
}))
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(JSON.stringify({
|
||||
src: 'library',
|
||||
event: 'purge-extension-stills-error',
|
||||
error: error instanceof Error ? error.message : String(error)
|
||||
}))
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user