@agimon-ai/po-author 0.0.0-alpha.78 → 0.0.0-alpha.79
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/extensions/native.mjs +1 -0
- package/dist/extensions/native.mjs.map +1 -1
- package/dist/extensions/web.mjs +12 -0
- package/dist/extensions/web.mjs.map +1 -1
- package/dist/index.d.mts +2 -0
- package/dist/index.d.mts.map +1 -1
- package/package.json +9 -9
- package/src/types/authorPreview.ts +3 -0
|
@@ -638,6 +638,7 @@ const AUTHOR_ARTIFACT_PREFIX = "artifact:";
|
|
|
638
638
|
function parseAuthorOpenSourceAction(input) {
|
|
639
639
|
if (typeof input !== "object" || input === null) return null;
|
|
640
640
|
const candidate = input;
|
|
641
|
+
if (candidate.watchFocusedPath !== void 0 && typeof candidate.watchFocusedPath !== "function") return null;
|
|
641
642
|
return candidate.version === 1 && typeof candidate.createTab === "function" ? candidate : null;
|
|
642
643
|
}
|
|
643
644
|
function parseAuthorPreviewAction(input) {
|