mirror of
https://github.com/stablyai/orca.git
synced 2026-10-22 16:03:47 +00:00
test(skills): use bundle staging contract
This commit is contained in:
@@ -156,13 +156,14 @@ async function publish(
|
||||
throw new Error('staging skill source was not discovered')
|
||||
}
|
||||
const preview = await page.evaluate(
|
||||
({ skillId, cwd, packageId }) =>
|
||||
({ skillId, bundleName, cwd, packageId }) =>
|
||||
window.api.skills.prepareShare({
|
||||
skillId,
|
||||
skillIds: [skillId],
|
||||
bundleName,
|
||||
target: { cwd },
|
||||
...(packageId ? { packageId } : {})
|
||||
}),
|
||||
{ skillId: skill.id, cwd, packageId }
|
||||
{ skillId: skill.id, bundleName: SKILL_NAME, cwd, packageId }
|
||||
)
|
||||
onPrepared?.(preview)
|
||||
const operation = await page.evaluate(
|
||||
|
||||
Reference in New Issue
Block a user