spur-board 0.8.1 → 0.9.0
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/dist/cli.mjs +4 -7
- package/dist/{client-D4cveOHQ.mjs → client-Co0Pogjy.mjs} +1 -1
- package/dist/client.mjs +1 -1
- package/dist/{config-B1fVOLzp.mjs → config-DL_Tm7un.mjs} +2 -2
- package/dist/daemon.mjs +2952 -2580
- package/dist/mcp.mjs +3 -3
- package/dist/{src-g7u1onIP.mjs → src-C-NNf__4.mjs} +19 -1
- package/package.json +1 -1
- package/skills/setup/references/update.md +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as errorExitCode, i as CliError, n as requestOperation, o as renderCliError, r as requestTokenEnrollment, s as escapeTerminalControls } from "./client-
|
|
3
|
-
import { a as memoryVerdictCache, c as loadEnrollmentConfig, i as fileVerdictCache, l as resolveDaemonAddress, n as cliPackageVersion, o as configFile, s as loadClientConfig, t as checkCatalog } from "./config-
|
|
1
|
+
import { H as requiredSecretKeys, N as ERRORS, U as SLACK_BOT_SCOPES, V as configSchema, l as OPERATIONS, n as SYSTEMD_SERVICE_SETTINGS } from "./src-C-NNf__4.mjs";
|
|
2
|
+
import { a as errorExitCode, i as CliError, n as requestOperation, o as renderCliError, r as requestTokenEnrollment, s as escapeTerminalControls } from "./client-Co0Pogjy.mjs";
|
|
3
|
+
import { a as memoryVerdictCache, c as loadEnrollmentConfig, i as fileVerdictCache, l as resolveDaemonAddress, n as cliPackageVersion, o as configFile, s as loadClientConfig, t as checkCatalog } from "./config-DL_Tm7un.mjs";
|
|
4
4
|
import { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
5
5
|
import { chmodSync, closeSync, constants, existsSync, lstatSync, mkdirSync, openSync, readFileSync, readdirSync, readlinkSync, realpathSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
6
6
|
import { homedir, hostname, userInfo } from "node:os";
|
|
@@ -403,13 +403,10 @@ function renderUserUnit(paths) {
|
|
|
403
403
|
"Description=spur-board daemon",
|
|
404
404
|
"",
|
|
405
405
|
"[Service]",
|
|
406
|
-
"Type=simple",
|
|
407
406
|
`ExecStart=${unitArgument(paths.nodePath)} ${unitArgument(paths.daemonEntry)}`,
|
|
408
407
|
...(paths.environment ?? []).map((entry) => `Environment=${unitArgument(entry)}`),
|
|
409
408
|
`EnvironmentFile=${unitArgument(paths.secretsFile)}`,
|
|
410
|
-
|
|
411
|
-
"RestartSec=5s",
|
|
412
|
-
"TimeoutStopSec=15s",
|
|
409
|
+
...SYSTEMD_SERVICE_SETTINGS,
|
|
413
410
|
"",
|
|
414
411
|
"[Install]",
|
|
415
412
|
"WantedBy=default.target",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { F as errorEnvelopeSchema, I as successEnvelopeSchema, N as ERRORS, P as errorContextSchema, d as renderJsonError } from "./src-C-NNf__4.mjs";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { request } from "node:http";
|
package/dist/client.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as requestOperation, r as requestTokenEnrollment, t as fetchCatalogVersion } from "./client-
|
|
1
|
+
import { n as requestOperation, r as requestTokenEnrollment, t as fetchCatalogVersion } from "./client-Co0Pogjy.mjs";
|
|
2
2
|
export { fetchCatalogVersion, requestOperation, requestTokenEnrollment };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as CliError, t as fetchCatalogVersion } from "./client-
|
|
1
|
+
import { V as configSchema, l as OPERATIONS, s as buildCatalogSnapshot } from "./src-C-NNf__4.mjs";
|
|
2
|
+
import { i as CliError, t as fetchCatalogVersion } from "./client-Co0Pogjy.mjs";
|
|
3
3
|
import { randomUUID } from "node:crypto";
|
|
4
4
|
import { closeSync, constants, fstatSync, lstatSync, mkdirSync, openSync, readFileSync, realpathSync, renameSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
5
5
|
import { homedir } from "node:os";
|