dineway 0.1.8 → 0.1.9
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/LICENSE
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
The MIT License
|
|
2
|
+
|
|
3
|
+
Copyright 2026 Cloudflare Inc.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
+
|
|
7
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/dist/astro/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as VERSION, t as COMMIT } from "../version-
|
|
1
|
+
import { n as VERSION, t as COMMIT } from "../version-BPz1imu2.mjs";
|
|
2
2
|
import { t as defaultSeed } from "../default-VjJyuuG9.mjs";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import { existsSync, readFileSync } from "node:fs";
|
|
@@ -4,7 +4,7 @@ import "../connection-BCNICDWN.mjs";
|
|
|
4
4
|
import { t as validateIdentifier } from "../validate-VPnKoIzW.mjs";
|
|
5
5
|
import { a as isSqlite } from "../dialect-helpers-DhTzaUxP.mjs";
|
|
6
6
|
import { r as runMigrations } from "../runner-DWZm2KQm.mjs";
|
|
7
|
-
import { $t as validateRev, B as DEV_CONSOLE_EMAIL_PLUGIN_ID, Bt as handleContentDuplicate, Ct as handleMediaDelete, Dt as handleRevisionGet, Et as handleMediaUpdate, Ft as handleContentCountScheduled, G as resolveExclusiveHooks, Gt as handleContentPermanentDelete, H as EmailPipeline, Ht as handleContentGetIncludingTrashed, It as handleContentCountTrashed, J as sanitizeHeadersForSandbox, Jt as handleContentSchedule, K as CronExecutor, Kt as handleContentPublish, Lt as handleContentCreate, Mt as hashString, Nt as PluginStateRepository, Ot as handleRevisionList, Pt as handleContentCompare, Qt as handleContentUpdate, Rt as handleContentDelete, St as handleMediaCreate, Tt as handleMediaList, Ut as handleContentList, V as devConsoleEmailDeliver, Vt as handleContentGet, W as createHookPipeline, Wt as handleContentListTrashed, X as definePlugin, Xt as handleContentUnpublish, Y as getTrustedProxyHeaders, Yt as handleContentTranslations, Zt as handleContentUnschedule, kt as handleRevisionRestore, pt as after, q as extractRequestMeta, qt as handleContentRestore, vt as createPluginBundleStore, wt as handleMediaGet, z as PluginRouteRegistry, zt as handleContentDiscardDraft } from "../search-
|
|
7
|
+
import { $t as validateRev, B as DEV_CONSOLE_EMAIL_PLUGIN_ID, Bt as handleContentDuplicate, Ct as handleMediaDelete, Dt as handleRevisionGet, Et as handleMediaUpdate, Ft as handleContentCountScheduled, G as resolveExclusiveHooks, Gt as handleContentPermanentDelete, H as EmailPipeline, Ht as handleContentGetIncludingTrashed, It as handleContentCountTrashed, J as sanitizeHeadersForSandbox, Jt as handleContentSchedule, K as CronExecutor, Kt as handleContentPublish, Lt as handleContentCreate, Mt as hashString, Nt as PluginStateRepository, Ot as handleRevisionList, Pt as handleContentCompare, Qt as handleContentUpdate, Rt as handleContentDelete, St as handleMediaCreate, Tt as handleMediaList, Ut as handleContentList, V as devConsoleEmailDeliver, Vt as handleContentGet, W as createHookPipeline, Wt as handleContentListTrashed, X as definePlugin, Xt as handleContentUnpublish, Y as getTrustedProxyHeaders, Yt as handleContentTranslations, Zt as handleContentUnschedule, kt as handleRevisionRestore, pt as after, q as extractRequestMeta, qt as handleContentRestore, vt as createPluginBundleStore, wt as handleMediaGet, z as PluginRouteRegistry, zt as handleContentDiscardDraft } from "../search-DxopAWxs.mjs";
|
|
8
8
|
import { r as RevisionRepository } from "../content-DWi4d0rT.mjs";
|
|
9
9
|
import "../base64-F8-DUraK.mjs";
|
|
10
10
|
import "../types-BawVha09.mjs";
|
|
@@ -17,7 +17,7 @@ import { i as setI18nConfig } from "../config-BXwuX8Bx.mjs";
|
|
|
17
17
|
import { i as FTSManager, n as SchemaRegistry } from "../registry-C0zjeB9P.mjs";
|
|
18
18
|
import { n as getDb } from "../loader-sMG4TZ-u.mjs";
|
|
19
19
|
import "../request-cache-Dk5qPSOx.mjs";
|
|
20
|
-
import { n as VERSION, t as COMMIT } from "../version-
|
|
20
|
+
import { n as VERSION, t as COMMIT } from "../version-BPz1imu2.mjs";
|
|
21
21
|
import "../taxonomies-1s5PaS_8.mjs";
|
|
22
22
|
import { r as normalizeManifestRoute } from "../manifest-schema-D1MSVnoI.mjs";
|
|
23
23
|
import { a as invalidateUrlPatternCache } from "../query-kDmwCsHh.mjs";
|
package/dist/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { getRequestContext, runWithContext } from "./request-context.mjs";
|
|
|
2
2
|
import { t as DinewayDatabaseError } from "./connection-BCNICDWN.mjs";
|
|
3
3
|
import "./dialect-helpers-DhTzaUxP.mjs";
|
|
4
4
|
import { t as getMigrationStatus } from "./runner-DWZm2KQm.mjs";
|
|
5
|
-
import { $ as createFilePreviewMiddleware, A as isStandardPluginDefinition, At as generateManifest, Bt as handleContentDuplicate, C as getAllSources, Ct as handleMediaDelete, D as probeUrl, Dt as handleRevisionGet, E as getUrlSources, Et as handleMediaUpdate, F as createNoopSandboxRunner, Ft as handleContentCountScheduled, Gt as handleContentPermanentDelete, Ht as handleContentGetIncludingTrashed, I as PluginManager, It as handleContentCountTrashed, Jt as handleContentSchedule, Kt as handleContentPublish, L as createPluginManager, Lt as handleContentCreate, M as createNodeSandboxRunner, Mt as hashString, N as NoopSandboxRunner, O as registerSource, Ot as handleRevisionList, P as SandboxNotAvailableError, Pt as handleContentCompare, Q as parseWxrString, Qt as handleContentUpdate, R as PluginRouteError, Rt as handleContentDelete, S as clearSources, St as handleMediaCreate, T as getSource, Tt as handleMediaList, U as HookPipeline, Ut as handleContentList, Vt as handleContentGet, W as createHookPipeline, Wt as handleContentListTrashed, X as definePlugin, Xt as handleContentUnpublish, Yt as handleContentTranslations, Z as parseWxr, Zt as handleContentUnschedule, _ as buildPreviewUrl, _t as sanitizeHref, a as search, at as SessionDatabaseLimitError, b as parseWxrDate, bt as getSections, c as getWidgetArea, ct as buildPreviewSignatureHeader, d as getMenu, dt as signPreviewUrl, en as portableText, et as renderPreviewToolbar, f as getMenus, ft as verifyPreviewSignature, g as isPreviewRequest, gt as isSafeHref, h as getPreviewToken, ht as prosemirrorToPortableText, i as getSuggestions, it as FileSessionDatabaseFactory, j as NodeSandboxRunner, jt as computeContentHash, k as importReusableBlocksAsSections, kt as handleRevisionRestore, l as getWidgetAreas, lt as defaultPreviewSidecarClient, m as getComments, mt as portableTextToProsemirror, n as extractSearchableFields, nn as image, nt as dropSessionDatabaseTables, o as searchCollection, ot as isBlockedInPreview, p as getCommentCount, pt as after, qt as handleContentRestore, r as getSearchStats, rt as getAppliedSnapshotMeta, s as searchWithDb, st as renderPreviewLoadingPage, t as extractPlainText, tn as reference, tt as applySnapshotToDatabase, u as getWidgetComponents, ut as parsePreviewSignatureHeader, v as getPreviewUrl, w as getFileSources, wt as handleMediaGet, x as wxrSource, xt as getCollectionInfo, y as wordpressRestSource, yt as getSection, zt as handleContentDiscardDraft } from "./search-
|
|
5
|
+
import { $ as createFilePreviewMiddleware, A as isStandardPluginDefinition, At as generateManifest, Bt as handleContentDuplicate, C as getAllSources, Ct as handleMediaDelete, D as probeUrl, Dt as handleRevisionGet, E as getUrlSources, Et as handleMediaUpdate, F as createNoopSandboxRunner, Ft as handleContentCountScheduled, Gt as handleContentPermanentDelete, Ht as handleContentGetIncludingTrashed, I as PluginManager, It as handleContentCountTrashed, Jt as handleContentSchedule, Kt as handleContentPublish, L as createPluginManager, Lt as handleContentCreate, M as createNodeSandboxRunner, Mt as hashString, N as NoopSandboxRunner, O as registerSource, Ot as handleRevisionList, P as SandboxNotAvailableError, Pt as handleContentCompare, Q as parseWxrString, Qt as handleContentUpdate, R as PluginRouteError, Rt as handleContentDelete, S as clearSources, St as handleMediaCreate, T as getSource, Tt as handleMediaList, U as HookPipeline, Ut as handleContentList, Vt as handleContentGet, W as createHookPipeline, Wt as handleContentListTrashed, X as definePlugin, Xt as handleContentUnpublish, Yt as handleContentTranslations, Z as parseWxr, Zt as handleContentUnschedule, _ as buildPreviewUrl, _t as sanitizeHref, a as search, at as SessionDatabaseLimitError, b as parseWxrDate, bt as getSections, c as getWidgetArea, ct as buildPreviewSignatureHeader, d as getMenu, dt as signPreviewUrl, en as portableText, et as renderPreviewToolbar, f as getMenus, ft as verifyPreviewSignature, g as isPreviewRequest, gt as isSafeHref, h as getPreviewToken, ht as prosemirrorToPortableText, i as getSuggestions, it as FileSessionDatabaseFactory, j as NodeSandboxRunner, jt as computeContentHash, k as importReusableBlocksAsSections, kt as handleRevisionRestore, l as getWidgetAreas, lt as defaultPreviewSidecarClient, m as getComments, mt as portableTextToProsemirror, n as extractSearchableFields, nn as image, nt as dropSessionDatabaseTables, o as searchCollection, ot as isBlockedInPreview, p as getCommentCount, pt as after, qt as handleContentRestore, r as getSearchStats, rt as getAppliedSnapshotMeta, s as searchWithDb, st as renderPreviewLoadingPage, t as extractPlainText, tn as reference, tt as applySnapshotToDatabase, u as getWidgetComponents, ut as parsePreviewSignatureHeader, v as getPreviewUrl, w as getFileSources, wt as handleMediaGet, x as wxrSource, xt as getCollectionInfo, y as wordpressRestSource, yt as getSection, zt as handleContentDiscardDraft } from "./search-DxopAWxs.mjs";
|
|
6
6
|
import { i as decodeSlug, t as ContentRepository } from "./content-DWi4d0rT.mjs";
|
|
7
7
|
import "./base64-F8-DUraK.mjs";
|
|
8
8
|
import { t as DinewayValidationError } from "./types-BawVha09.mjs";
|
|
@@ -16,7 +16,7 @@ import { i as invalidateRedirectCache } from "./cache-BdSY-gQN.mjs";
|
|
|
16
16
|
import { i as FTSManager, n as SchemaRegistry } from "./registry-C0zjeB9P.mjs";
|
|
17
17
|
import { n as getDb } from "./loader-sMG4TZ-u.mjs";
|
|
18
18
|
import { n as requestCached } from "./request-cache-Dk5qPSOx.mjs";
|
|
19
|
-
import { n as VERSION, t as COMMIT } from "./version-
|
|
19
|
+
import { n as VERSION, t as COMMIT } from "./version-BPz1imu2.mjs";
|
|
20
20
|
import { i as pluginManifestSchema } from "./manifest-schema-D1MSVnoI.mjs";
|
|
21
21
|
import { t as generatePreviewToken } from "./tokens-CJz9ubV6.mjs";
|
|
22
22
|
import BetterSqlite3 from "better-sqlite3";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dineway",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"description": "Agentic Website builder for restaurants — structured content meets AI via the Model Context Protocol",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.mjs",
|
|
@@ -235,38 +235,25 @@
|
|
|
235
235
|
]
|
|
236
236
|
}
|
|
237
237
|
},
|
|
238
|
-
"scripts": {
|
|
239
|
-
"build": "tsdown",
|
|
240
|
-
"dev": "tsdown --watch",
|
|
241
|
-
"prepublishOnly": "node --run build",
|
|
242
|
-
"typecheck": "tsgo --noEmit",
|
|
243
|
-
"check": "publint && attw --pack --ignore-rules=cjs-resolves-to-esm --ignore-rules=no-resolution --ignore-rules=internal-resolution-error",
|
|
244
|
-
"test": "vitest",
|
|
245
|
-
"test:smoke": "vitest run --config vitest.smoke.config.ts",
|
|
246
|
-
"test:integration": "vitest run --config vitest.integration.config.ts"
|
|
247
|
-
},
|
|
248
238
|
"dependencies": {
|
|
249
|
-
"@dineway-ai/admin": "workspace:*",
|
|
250
|
-
"@dineway-ai/auth": "workspace:*",
|
|
251
|
-
"@dineway-ai/gutenberg-to-portable-text": "workspace:*",
|
|
252
239
|
"@floating-ui/react": "^0.27.16",
|
|
253
240
|
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
254
241
|
"@portabletext/toolkit": "^5.0.1",
|
|
255
|
-
"@tiptap/core": "
|
|
256
|
-
"@tiptap/extension-focus": "
|
|
257
|
-
"@tiptap/extension-image": "
|
|
258
|
-
"@tiptap/extension-link": "
|
|
259
|
-
"@tiptap/extension-placeholder": "
|
|
260
|
-
"@tiptap/extension-text-align": "
|
|
261
|
-
"@tiptap/extension-typography": "
|
|
262
|
-
"@tiptap/extension-underline": "
|
|
263
|
-
"@tiptap/react": "
|
|
264
|
-
"@tiptap/starter-kit": "
|
|
265
|
-
"@tiptap/suggestion": "
|
|
242
|
+
"@tiptap/core": "^3.20.0",
|
|
243
|
+
"@tiptap/extension-focus": "^3.20.0",
|
|
244
|
+
"@tiptap/extension-image": "^3.20.0",
|
|
245
|
+
"@tiptap/extension-link": "^3.20.0",
|
|
246
|
+
"@tiptap/extension-placeholder": "^3.20.0",
|
|
247
|
+
"@tiptap/extension-text-align": "^3.20.0",
|
|
248
|
+
"@tiptap/extension-typography": "^3.20.0",
|
|
249
|
+
"@tiptap/extension-underline": "^3.20.0",
|
|
250
|
+
"@tiptap/react": "^3.20.0",
|
|
251
|
+
"@tiptap/starter-kit": "^3.20.0",
|
|
252
|
+
"@tiptap/suggestion": "^3.20.0",
|
|
266
253
|
"@unpic/placeholder": "^0.1.2",
|
|
267
254
|
"arctic": "^3.7.0",
|
|
268
255
|
"astro-portabletext": "^0.11.0",
|
|
269
|
-
"better-sqlite3": "
|
|
256
|
+
"better-sqlite3": "^12.8.0",
|
|
270
257
|
"blurhash": "^2.0.5",
|
|
271
258
|
"citty": "^0.1.6",
|
|
272
259
|
"consola": "^3.4.2",
|
|
@@ -282,7 +269,10 @@
|
|
|
282
269
|
"sax": "^1.4.1",
|
|
283
270
|
"ulidx": "^2.4.1",
|
|
284
271
|
"upng-js": "^2.1.0",
|
|
285
|
-
"zod": "^4.3.5"
|
|
272
|
+
"zod": "^4.3.5",
|
|
273
|
+
"@dineway-ai/auth": "0.1.8",
|
|
274
|
+
"@dineway-ai/gutenberg-to-portable-text": "0.1.7",
|
|
275
|
+
"@dineway-ai/admin": "0.1.7"
|
|
286
276
|
},
|
|
287
277
|
"optionalDependencies": {
|
|
288
278
|
"@libsql/kysely-libsql": "^0.4.0",
|
|
@@ -298,8 +288,7 @@
|
|
|
298
288
|
},
|
|
299
289
|
"devDependencies": {
|
|
300
290
|
"@apidevtools/swagger-parser": "^12.1.0",
|
|
301
|
-
"@arethetypeswrong/cli": "
|
|
302
|
-
"@dineway-ai/blocks": "workspace:*",
|
|
291
|
+
"@arethetypeswrong/cli": "^0.18.2",
|
|
303
292
|
"@rivet-dev/agent-os-common": "^0.0.260331072558",
|
|
304
293
|
"@rivet-dev/agent-os-core": "^0.1.1",
|
|
305
294
|
"@types/better-sqlite3": "^7.6.12",
|
|
@@ -307,12 +296,13 @@
|
|
|
307
296
|
"@types/sanitize-html": "^2.16.0",
|
|
308
297
|
"@types/sax": "^1.2.7",
|
|
309
298
|
"@vitest/ui": "^4.0.17",
|
|
310
|
-
"publint": "
|
|
311
|
-
"tsdown": "
|
|
312
|
-
"typescript": "
|
|
299
|
+
"publint": "0.3.17",
|
|
300
|
+
"tsdown": "0.20.3",
|
|
301
|
+
"typescript": "^5.9.3",
|
|
313
302
|
"vite": "^6.0.0",
|
|
314
|
-
"vitest": "
|
|
315
|
-
"zod-openapi": "^5.4.6"
|
|
303
|
+
"vitest": "^4.0.18",
|
|
304
|
+
"zod-openapi": "^5.4.6",
|
|
305
|
+
"@dineway-ai/blocks": "0.1.7"
|
|
316
306
|
},
|
|
317
307
|
"keywords": [
|
|
318
308
|
"astro",
|
|
@@ -323,5 +313,14 @@
|
|
|
323
313
|
"cms"
|
|
324
314
|
],
|
|
325
315
|
"author": "Matt Kane",
|
|
326
|
-
"license": "MIT"
|
|
327
|
-
|
|
316
|
+
"license": "MIT",
|
|
317
|
+
"scripts": {
|
|
318
|
+
"build": "tsdown",
|
|
319
|
+
"dev": "tsdown --watch",
|
|
320
|
+
"typecheck": "tsgo --noEmit",
|
|
321
|
+
"check": "publint && attw --pack --ignore-rules=cjs-resolves-to-esm --ignore-rules=no-resolution --ignore-rules=internal-resolution-error",
|
|
322
|
+
"test": "vitest",
|
|
323
|
+
"test:smoke": "vitest run --config vitest.smoke.config.ts",
|
|
324
|
+
"test:integration": "vitest run --config vitest.integration.config.ts"
|
|
325
|
+
}
|
|
326
|
+
}
|