@powerhousedao/switchboard 6.2.3-dev.57 → 6.2.3-dev.59
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/test/plugin-presence.test.d.ts +2 -0
- package/.tsbuild/test/plugin-presence.test.d.ts.map +1 -0
- package/.tsbuild/tsconfig.tsbuildinfo +1 -1
- package/Auth.md +50 -2
- package/CHANGELOG.md +37 -0
- package/dist/index.mjs +1 -1
- package/dist/mcp-cNWW82NH.mjs +27 -0
- package/dist/mcp-cNWW82NH.mjs.map +1 -0
- package/dist/plugin-host-CGO4XZzK.d.mts +38 -0
- package/dist/plugin-host-CGO4XZzK.d.mts.map +1 -0
- package/dist/plugins/attachments.d.mts +23 -0
- package/dist/plugins/attachments.d.mts.map +1 -0
- package/dist/plugins/attachments.mjs +4 -0
- package/dist/plugins/mcp.d.mts +21 -0
- package/dist/plugins/mcp.d.mts.map +1 -0
- package/dist/plugins/mcp.mjs +4 -0
- package/dist/plugins/privacy.d.mts +12 -0
- package/dist/plugins/privacy.d.mts.map +1 -0
- package/dist/plugins/privacy.mjs +4 -0
- package/dist/plugins/workflows.d.mts +36 -0
- package/dist/plugins/workflows.d.mts.map +1 -0
- package/dist/plugins/workflows.mjs +4 -0
- package/dist/privacy-C8KVimKF.mjs +113 -0
- package/dist/privacy-C8KVimKF.mjs.map +1 -0
- package/dist/{server-Cw2WnaCA.mjs → server-Ncv91CrC.mjs} +187 -1359
- package/dist/server-Ncv91CrC.mjs.map +1 -0
- package/dist/server.d.mts +12 -14
- package/dist/server.d.mts.map +1 -1
- package/dist/server.mjs +3 -3
- package/dist/workflow-runtime-7GaJ13c9.d.mts +30 -0
- package/dist/workflow-runtime-7GaJ13c9.d.mts.map +1 -0
- package/dist/workflows-qKtqZhn3.mjs +1338 -0
- package/dist/workflows-qKtqZhn3.mjs.map +1 -0
- package/package.json +42 -17
- package/test/boot-mcp-enabled.test.ts +10 -1
- package/test/plugin-presence.test.ts +269 -0
- package/tsconfig.json +3 -0
- package/tsdown.config.ts +6 -0
- package/dist/server-Cw2WnaCA.mjs.map +0 -1
package/dist/server.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as StoredDocumentsRefusedError, i as startSwitchboard, n as deriveAttachmentServiceConfig, o as resolveUnsupportedStoredDocuments, r as isPortAvailable,
|
|
2
|
+
import { a as StoredDocumentsRefusedError, c as applySwitchboardReactorDefaults, i as startSwitchboard, n as deriveAttachmentServiceConfig, o as resolveUnsupportedStoredDocuments, r as isPortAvailable, t as createReactorKysely } from "./server-Ncv91CrC.mjs";
|
|
3
3
|
export { StoredDocumentsRefusedError, applySwitchboardReactorDefaults, createReactorKysely, deriveAttachmentServiceConfig, isPortAvailable, resolveUnsupportedStoredDocuments, startSwitchboard };
|
|
4
|
-
!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]="
|
|
5
|
-
//# debugId=
|
|
4
|
+
!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]="92a03219-a110-573c-a7ff-5957043b6ef7")}catch(e){}}();
|
|
5
|
+
//# debugId=92a03219-a110-573c-a7ff-5957043b6ef7
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ILogger } from "document-model";
|
|
2
|
+
import { IReactorClient, InProcessReactorClientModule, ModelManifestEntry, ReactorBuilder } from "@powerhousedao/reactor";
|
|
3
|
+
import { SubgraphClass } from "@powerhousedao/reactor-api";
|
|
4
|
+
import "@powerhousedao/shared/document-model";
|
|
5
|
+
import "@powerhousedao/reactor-workflow";
|
|
6
|
+
import "@powerhousedao/shared/processors";
|
|
7
|
+
//#region src/workflow-runtime.d.mts
|
|
8
|
+
/** Whether the operation intake is indexing. Same shape as the attachment
|
|
9
|
+
* reference projection, because it is the same limitation. */
|
|
10
|
+
type WorkflowTriggersCapability = {
|
|
11
|
+
status: "available";
|
|
12
|
+
} | {
|
|
13
|
+
status: "unavailable";
|
|
14
|
+
reason: "in-process-reactor-module-unavailable" | "live-read-model-registration-unsupported" | "workflow-singleton-lost";
|
|
15
|
+
};
|
|
16
|
+
interface ComposedWorkflowRuntime {
|
|
17
|
+
subgraph: SubgraphClass;
|
|
18
|
+
/** Whether document operations reach the runtime at all; unavailable once
|
|
19
|
+
* the singleton is lost. */
|
|
20
|
+
readonly triggers: WorkflowTriggersCapability;
|
|
21
|
+
/** The owner name this host holds the workflow singleton under; undefined
|
|
22
|
+
* when the lease was not taken (a suite that opted out). */
|
|
23
|
+
singletonOwner?: string;
|
|
24
|
+
start(): Promise<void>;
|
|
25
|
+
stop(): Promise<void>;
|
|
26
|
+
}
|
|
27
|
+
//#endregion
|
|
28
|
+
export { WorkflowTriggersCapability as n, ComposedWorkflowRuntime as t };
|
|
29
|
+
export {};
|
|
30
|
+
//# sourceMappingURL=workflow-runtime-7GaJ13c9.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-runtime-7GaJ13c9.d.mts","names":[],"sources":["../src/workflow-runtime.mts"],"mappings":";;;;;;;;;KAiEY;EACN;;EAEA;EACA;;UAuRW;EACf,UAAU;;;WAGD,UAAU;;;EAGnB;EACA,SAAS;EACT,QAAQ"}
|