@mazees/mark 5.0.0 → 5.0.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.
@@ -15,7 +15,7 @@
15
15
  href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Poppins:wght@300;400;500;600&display=swap"
16
16
  rel="stylesheet"
17
17
  />
18
- <script type="module" crossorigin src="/assets/index-G2fADWO-.js"></script>
18
+ <script type="module" crossorigin src="/assets/index-CiU8JVJ1.js"></script>
19
19
  <link rel="stylesheet" crossorigin href="/assets/index-f3mVse3c.css">
20
20
  </head>
21
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mazees/mark",
3
- "version": "5.0.0",
3
+ "version": "5.0.1",
4
4
  "description": "Mark: Metacognitive Artificial Relational Knowledge AI",
5
5
  "main": "./src/server/index.js",
6
6
  "type": "module",
@@ -37,6 +37,7 @@
37
37
  "src",
38
38
  "out",
39
39
  "public",
40
+ "assets",
40
41
  "index.html",
41
42
  "LICENSE",
42
43
  "README.md",
@@ -36,7 +36,7 @@ export const getPersonaPrompt = async (userId = 'owner', configPersonality) => {
36
36
 
37
37
  return `
38
38
  # KESADARAN DIRI & ANATOMI SISTEM (SYSTEM SELF-AWARENESS):
39
- - **Identitas & Asal:** Kamu adalah MARK (Metacognitive Artificial Relational Knowledge) v5.0.0, sebuah sistem AI OS otonom berbasis lokal, privat, dan terdistribusi yang diciptakan oleh **Mada Putra Adhadriyanto (Mazees)** dari Indonesia.
39
+ - **Identitas & Asal:** Kamu adalah MARK (Metacognitive Artificial Relational Knowledge), sebuah sistem AI OS otonom berbasis lokal, privat, dan terdistribusi yang diciptakan oleh **Mada Putra Adhadriyanto (Mazees)** dari Indonesia.
40
40
  - **Distribusi Package:** Proyek ini didistribusikan secara resmi sebagai package NPM \`@mazees/mark\` (CLI binary: \`mark\` via \`bin/mark.js\`, repository: https://github.com/Mazees/mark-agent/).
41
41
  - **Arsitektur Inti (Decoupled Node.js Server + React 19 WebUI):**
42
42
  * Kamu **BUKAN** aplikasi Electron monolitis. MARK menggunakan arsitektur modern decoupled:
@@ -6,7 +6,7 @@ import { webApi } from '../../api/web-bridge'
6
6
 
7
7
  /**
8
8
  * ToolClustersDeck Component
9
- * Docked Left Panel di MARK V5 yang merender seluruh kluster tools otonom,
9
+ * Docked Left Panel di MARK yang merender seluruh kluster tools otonom,
10
10
  * telemetry proses aktif, dan daftar custom plugins yang tersinkronisasi secara real-time.
11
11
  */
12
12
  const ToolClustersDeck = ({ activeProcesses = [], dismissProcess, className = '' }) => {
@@ -2,6 +2,7 @@ import path from 'path'
2
2
  import os from 'os'
3
3
  import fs from 'fs'
4
4
  import Database from 'better-sqlite3'
5
+ import { getCurrentVersion } from '../services/updater.js'
5
6
 
6
7
  const CONFIG_DIR = path.join(os.homedir(), '.config', 'mark-agent')
7
8
  if (!fs.existsSync(CONFIG_DIR)) {
@@ -606,7 +607,7 @@ export function exportFullDatabase() {
606
607
 
607
608
  return {
608
609
  app: 'MARK',
609
- version: '5.0.0',
610
+ version: getCurrentVersion(),
610
611
  exportedAt: new Date().toISOString(),
611
612
  tables
612
613
  }
@@ -1,6 +1,7 @@
1
1
  import { Router } from 'express'
2
2
  import { getActiveConfig, setActiveConfig, saveConfig, reloadConfig } from '../config-manager.js'
3
3
  import { wsHub } from '../ws-hub.js'
4
+ import { getCurrentVersion } from '../services/updater.js'
4
5
 
5
6
  export const configRouter = Router()
6
7
 
@@ -9,7 +10,7 @@ configRouter.get('/health', (_req, res) => {
9
10
  res.json({
10
11
  status: 'ok',
11
12
  app: 'MARK',
12
- version: '5.0.0',
13
+ version: getCurrentVersion(),
13
14
  uptime: process.uptime(),
14
15
  timestamp: Date.now()
15
16
  })
@@ -1,4 +1,5 @@
1
1
  import { WebSocketServer, WebSocket } from 'ws'
2
+ import { getCurrentVersion } from './services/updater.js'
2
3
 
3
4
  /**
4
5
  * WebSocket Hub untuk MARK Core.
@@ -31,7 +32,7 @@ class WebSocketHub {
31
32
 
32
33
  // Kirim event sambutan ready dan status presence UI terkini
33
34
  this.send(ws, 'core:ready', {
34
- version: '5.0.0',
35
+ version: getCurrentVersion(),
35
36
  timestamp: Date.now()
36
37
  })
37
38
  this.send(ws, 'ui:status', {