@powerhousedao/switchboard 6.2.3-dev.59 → 6.2.3-dev.60
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/.tsbuild/tsconfig.tsbuildinfo +1 -1
- package/CHANGELOG.md +11 -0
- package/dist/index.mjs +1 -1
- package/dist/plugins/attachments.mjs +3 -3
- package/dist/{server-Ncv91CrC.mjs → server-C9RQTWTA.mjs} +22 -5
- package/dist/server-C9RQTWTA.mjs.map +1 -0
- package/dist/server.mjs +3 -3
- package/package.json +16 -16
- package/dist/server-Ncv91CrC.mjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
## 6.2.3-dev.60 (2026-10-15)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- **connect,switchboard:** built-in plugins become real modules + observable lifecycle ([224ce4b01a](https://github.com/powerhouse-inc/powerhouse/commit/224ce4b01a))
|
|
6
|
+
|
|
7
|
+
### ❤️ Thank You
|
|
8
|
+
|
|
9
|
+
- Claude Fable 5
|
|
10
|
+
- Wouter Kampmann
|
|
11
|
+
|
|
1
12
|
## 6.2.3-dev.59 (2026-10-15)
|
|
2
13
|
|
|
3
14
|
### 🚀 Features
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c9eef974-47b1-5e45-aad6-5ebb1885b76a")}catch(e){}}();
|
|
4
|
-
import { a as StoredDocumentsRefusedError, i as startSwitchboard, l as initProfilerFromEnv, u as parseForcePgVersion } from "./server-
|
|
4
|
+
import { a as StoredDocumentsRefusedError, i as startSwitchboard, l as initProfilerFromEnv, u as parseForcePgVersion } from "./server-C9RQTWTA.mjs";
|
|
5
5
|
import { metrics } from "@opentelemetry/api";
|
|
6
6
|
import { OTLPTraceExporter } from "@opentelemetry/exporter-trace-otlp-http";
|
|
7
7
|
import { ExpressInstrumentation } from "@opentelemetry/instrumentation-express";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as attachmentsPlugin } from "../server-
|
|
1
|
+
import { s as attachmentsPlugin } from "../server-C9RQTWTA.mjs";
|
|
2
2
|
export { attachmentsPlugin, attachmentsPlugin as default };
|
|
3
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
4
|
-
//# debugId=
|
|
3
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="15495b36-146e-52d8-9f21-1e827e332595")}catch(e){}}();
|
|
4
|
+
//# debugId=15495b36-146e-52d8-9f21-1e827e332595
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="df5034a8-237d-504e-8285-9d6b6c57229a")}catch(e){}}();
|
|
3
3
|
import { a as composeWorkflowRuntime, c as resolveWorkflowsEnabled, d as installFatalErrorShutdown, f as triggerFatalShutdown, i as assertWorkflowPackageLoadable, l as retryWorkflowSingleton, n as WORKFLOW_PACKAGE_NAME, o as isWorkflowSingletonConflict, r as WORKFLOW_TELEMETRY_SCOPE, s as modelManifestSource, t as workflowsPlugin, u as workflowSingletonLossHandler } from "./workflows-qKtqZhn3.mjs";
|
|
4
4
|
import { n as resolvePrivacy, r as startPrivacy, t as privacyPlugin } from "./privacy-C8KVimKF.mjs";
|
|
5
5
|
import { t as mcpPlugin } from "./mcp-cNWW82NH.mjs";
|
|
@@ -1001,11 +1001,28 @@ function createSwitchboardPluginHost(ctx, resolved) {
|
|
|
1001
1001
|
...ctx,
|
|
1002
1002
|
contributions
|
|
1003
1003
|
};
|
|
1004
|
+
const LOG = "[switchboard:plugins]";
|
|
1005
|
+
console.log(`${LOG} composition: ${ordered.length} plugin(s) in order — ${ordered.map((p) => p.name).join(", ") || "(none)"}`);
|
|
1006
|
+
for (const r of resolved) {
|
|
1007
|
+
const cfg = Object.keys(r.entry.config ?? {});
|
|
1008
|
+
console.log(`${LOG} • ${r.plugin.name} [${r.provenance}] (${r.entry.module})` + (cfg.length ? ` config: {${cfg.join(", ")}}` : ""));
|
|
1009
|
+
}
|
|
1010
|
+
const ranBy = (hook) => ordered.filter((p) => p.hooks?.[hook]);
|
|
1011
|
+
const logHook = (hook) => {
|
|
1012
|
+
const names = ranBy(hook).map((p) => p.name);
|
|
1013
|
+
console.log(`${LOG} hook ${hook} → ${names.length ? names.join(", ") : "(no implementers)"}`);
|
|
1014
|
+
};
|
|
1004
1015
|
return {
|
|
1005
1016
|
plugins: ordered,
|
|
1006
1017
|
ctx: fullCtx,
|
|
1007
|
-
transformOptions: (seed) =>
|
|
1008
|
-
|
|
1018
|
+
transformOptions: (seed) => {
|
|
1019
|
+
logHook("transformServerOptions");
|
|
1020
|
+
return runTransformHook("transformServerOptions", ordered, fullCtx, seed);
|
|
1021
|
+
},
|
|
1022
|
+
observe: (hook) => {
|
|
1023
|
+
logHook(hook);
|
|
1024
|
+
return hook === "onShutdown" ? runObserveHookSequential(hook, ordered, fullCtx) : runObserveHook(hook, ordered, fullCtx);
|
|
1025
|
+
}
|
|
1009
1026
|
};
|
|
1010
1027
|
}
|
|
1011
1028
|
//#endregion
|
|
@@ -2444,5 +2461,5 @@ if (import.meta.main) await startSwitchboard({ fatalErrorShutdown: true });
|
|
|
2444
2461
|
//#endregion
|
|
2445
2462
|
export { StoredDocumentsRefusedError as a, applySwitchboardReactorDefaults as c, startSwitchboard as i, initProfilerFromEnv as l, deriveAttachmentServiceConfig as n, resolveUnsupportedStoredDocuments as o, isPortAvailable as r, attachmentsPlugin as s, createReactorKysely as t, parseForcePgVersion as u };
|
|
2446
2463
|
|
|
2447
|
-
//# sourceMappingURL=server-
|
|
2448
|
-
//# debugId=
|
|
2464
|
+
//# sourceMappingURL=server-C9RQTWTA.mjs.map
|
|
2465
|
+
//# debugId=df5034a8-237d-504e-8285-9d6b6c57229a
|