@shardworks/dashboard-apparatus 0.1.113

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,15 @@
1
+ ISC License
2
+
3
+ Copyright (c) 2026 Sean Boots
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted, provided that the above
7
+ copyright notice and this permission notice appear in all copies.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
10
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
12
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
14
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15
+ PERFORMANCE OF THIS SOFTWARE.
@@ -0,0 +1,13 @@
1
+ /**
2
+ * The Dashboard — web-based guild operations dashboard apparatus.
3
+ *
4
+ * Contributes the `dashboard-start` CLI tool which launches a web server
5
+ * serving a live operations UI. The apparatus itself is passive — no
6
+ * background server runs at guild startup. The server only runs when
7
+ * the operator explicitly invokes `nsg dashboard start`.
8
+ *
9
+ * See: docs/architecture/apparatus/dashboard.md
10
+ */
11
+ import type { Plugin } from '@shardworks/nexus-core';
12
+ export declare function createDashboard(): Plugin;
13
+ //# sourceMappingURL=dashboard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dashboard.d.ts","sourceRoot":"","sources":["../src/dashboard.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAGrD,wBAAgB,eAAe,IAAI,MAAM,CAexC"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * The Dashboard — web-based guild operations dashboard apparatus.
3
+ *
4
+ * Contributes the `dashboard-start` CLI tool which launches a web server
5
+ * serving a live operations UI. The apparatus itself is passive — no
6
+ * background server runs at guild startup. The server only runs when
7
+ * the operator explicitly invokes `nsg dashboard start`.
8
+ *
9
+ * See: docs/architecture/apparatus/dashboard.md
10
+ */
11
+ import { dashboardStart } from "./tool.js";
12
+ export function createDashboard() {
13
+ return {
14
+ apparatus: {
15
+ recommends: ['clerk', 'stacks', 'animator', 'walker', 'codexes'],
16
+ supportKit: {
17
+ tools: [dashboardStart],
18
+ },
19
+ start() {
20
+ // Nothing to start — the dashboard server is launched on demand
21
+ // via the dashboard-start CLI tool.
22
+ },
23
+ },
24
+ };
25
+ }
26
+ //# sourceMappingURL=dashboard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dashboard.js","sourceRoot":"","sources":["../src/dashboard.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAE3C,MAAM,UAAU,eAAe;IAC7B,OAAO;QACL,SAAS,EAAE;YACT,UAAU,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,SAAS,CAAC;YAEhE,UAAU,EAAE;gBACV,KAAK,EAAE,CAAC,cAAc,CAAC;aACxB;YAED,KAAK;gBACH,gEAAgE;gBAChE,oCAAoC;YACtC,CAAC;SACF;KACF,CAAC;AACJ,CAAC"}
package/dist/html.d.ts ADDED
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Dashboard web UI — embedded HTML/CSS/JS as a single-file SPA.
3
+ *
4
+ * Returned by the server's root handler. All API calls go to /api/*.
5
+ */
6
+ export declare function getDashboardHtml(): string;
7
+ //# sourceMappingURL=html.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../src/html.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,wBAAgB,gBAAgB,IAAI,MAAM,CAk/BzC"}