@promptowl/contextnest-community 1.14.0 → 1.16.1

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.
@@ -5,8 +5,8 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>ContextNest</title>
7
7
  <link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🪺</text></svg>" />
8
- <script type="module" crossorigin src="/assets/index-BYmOkm4p.js"></script>
9
- <link rel="stylesheet" crossorigin href="/assets/index-p6uQyhml.css">
8
+ <script type="module" crossorigin src="/assets/index-_m7WyozM.js"></script>
9
+ <link rel="stylesheet" crossorigin href="/assets/index-DnQARUL3.css">
10
10
  </head>
11
11
  <body class="bg-background text-foreground antialiased">
12
12
  <div id="root"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptowl/contextnest-community",
3
- "version": "1.14.0",
3
+ "version": "1.16.1",
4
4
  "description": "ContextNest Community Edition — self-hosted context governance server for AI workflows. Commercial software by Promptowl LLC.",
5
5
  "private": false,
6
6
  "type": "module",
@@ -52,7 +52,7 @@
52
52
  "build:server": "tsup src/index.ts --format esm --dts --clean",
53
53
  "build:ui": "vite build --config ui/vite.config.ts",
54
54
  "start": "node dist/index.js",
55
- "typecheck": "tsc --noEmit",
55
+ "typecheck": "tsc --noEmit && tsc --noEmit -p ui/tsconfig.json",
56
56
  "lint:mcp-schemas": "node scripts/check-mcp-schemas.mjs",
57
57
  "test": "vitest run",
58
58
  "test:watch": "vitest",
@@ -69,7 +69,8 @@
69
69
  "dependencies": {
70
70
  "@hono/node-server": "^1.13.8",
71
71
  "@modelcontextprotocol/sdk": "^1.12.1",
72
- "@promptowl/contextnest-engine": "^1.2.1",
72
+ "@promptowl/contextnest-engine": "^2.1.0",
73
+ "@tanstack/react-query": "^5.101.4",
73
74
  "bcryptjs": "^3.0.3",
74
75
  "better-sqlite3": "^11.8.2",
75
76
  "dotenv": "^16.6.1",
@@ -1,16 +0,0 @@
1
- // src/db/sql.ts
2
- function nowExpr(db) {
3
- return db.dialect === "sqlite" ? "datetime('now')" : "to_char((now() AT TIME ZONE 'utc'), 'YYYY-MM-DD HH24:MI:SS')";
4
- }
5
- function insertOrIgnore(db, insertSql) {
6
- return db.dialect === "sqlite" ? insertSql.replace(/^\s*INSERT\s+INTO/i, "INSERT OR IGNORE INTO") : `${insertSql} ON CONFLICT DO NOTHING`;
7
- }
8
- function insertOrReplace(db, insertSql, conflictCols, set) {
9
- return db.dialect === "sqlite" ? insertSql.replace(/^\s*INSERT\s+INTO/i, "INSERT OR REPLACE INTO") : `${insertSql} ON CONFLICT (${conflictCols.join(", ")}) DO UPDATE SET ${set}`;
10
- }
11
-
12
- export {
13
- nowExpr,
14
- insertOrIgnore,
15
- insertOrReplace
16
- };
@@ -1,31 +0,0 @@
1
- import {
2
- approve,
3
- cancelReview,
4
- getPendingReview,
5
- getReviewHistory,
6
- getReviewQueue,
7
- reject,
8
- repointPendingReview,
9
- submitForReview
10
- } from "./chunk-MZ4IR5KH.js";
11
- import "./chunk-IHGPZ6NY.js";
12
- import "./chunk-JP67WXLA.js";
13
- import {
14
- canUserApprove
15
- } from "./chunk-KPK656BH.js";
16
- import "./chunk-GUNJTORH.js";
17
- import "./chunk-FRQJWGN3.js";
18
- import "./chunk-XQ46F76G.js";
19
- import "./chunk-I5KYGMIT.js";
20
- import "./chunk-SLTQACJW.js";
21
- export {
22
- approve,
23
- canUserApprove,
24
- cancelReview,
25
- getPendingReview,
26
- getReviewHistory,
27
- getReviewQueue,
28
- reject,
29
- repointPendingReview,
30
- submitForReview
31
- };