The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
fix(sdk): add supported plugin type in preflight
jubnl43d30245a000
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.ymlindex 21e518bfc..5014cca77 100644--- a/.github/workflows/docker.yml+++ b/.github/workflows/docker.yml@@ -11,6 +11,7 @@ on:- '.github/ISSUE_TEMPLATE/**'- '.github/FUNDING.yml'- '.github/PULL_REQUEST_TEMPLATE.md'+ - 'plugin-sdk/**'workflow_dispatch:inputs:bump:diff --git a/plugin-sdk/src/cli/preflight.ts b/plugin-sdk/src/cli/preflight.tsindex aafc3b61f..aabf982b9 100644--- a/plugin-sdk/src/cli/preflight.ts+++ b/plugin-sdk/src/cli/preflight.ts@@ -47,7 +47,7 @@ export async function preflight(entry: Entry, opts: { all?: boolean } = {}): Pro// Structural checks that mirror the registry schema (fast, offline).if (!/^[a-z][a-z0-9-]{2,39}$/.test(entry.id)) fail(`id "${entry.id}" is not a valid slug (^[a-z][a-z0-9-]{2,39}$)`);if (!/^[A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+$/.test(entry.repo)) fail(`repo "${entry.repo}" is not "owner/name"`);- if (!['integration', 'page', 'widget'].includes(entry.type)) fail(`type "${entry.type}" is not integration|page|widget`);+ if (!['integration', 'page', 'widget', 'trip-page'].includes(entry.type)) fail(`type "${entry.type}" is not integration|page|widget|trip-page`);if (entry.authorPublicKey && !entry.versions[0]?.signature) fail('entry has authorPublicKey but the newest version has no signature (sign the version too)');const versions = opts.all ? entry.versions : entry.versions.slice(0, 1);