@powerhousedao/shared 6.0.0-dev.191 → 6.0.0-dev.192

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.
@@ -0,0 +1,315 @@
1
+ import { As as ValidationError, Ba as Reducer, Br as DocumentModelOperationExampleOperations, Da as OperationSpecification, Di as MinimalBackupData, Dr as DocumentModelGlobalState, Fr as DocumentModelModuleOperations, Hr as DocumentModelPHState, Jn as Author, Mr as DocumentModelLocalState, Oi as ModuleSpecification, On as ActionSignatureContext, Pa as PruneActionInput, Rr as DocumentModelOperationErrorOperations, Tr as DocumentModelDocument, Va as ReducerOptions, Vr as DocumentModelOperationOperations, Wr as DocumentModelStateOperations, Yr as DocumentSpecification, an as OperationContext, ds as SigningParameters, gi as LoadFromInput, hs as StateReducer, in as Operation, kr as DocumentModelHeaderOperations, oo as SaveToFileHandle, os as SignalDispatch, pn as PHBaseState, ps as SkipHeaderOperations, qr as DocumentModelVersioningOperations, rn as DocumentOperations, ro as ReplayDocumentOptions, t as Action, ti as FileInput, ui as ISigner, vt as PHDocument, yt as PHDocumentHeader } from "./actions-OP2hCkXB.js";
2
+ import { ZodIssue, z } from "zod";
3
+ import JSZip from "jszip";
4
+
5
+ //#region document-model/constants.d.ts
6
+ declare const documentModelFileExtension: "phdm";
7
+ declare const documentModelInitialLocalState: DocumentModelLocalState;
8
+ declare const documentModelInitialGlobalState: DocumentModelGlobalState;
9
+ declare const documentModelGlobalState: DocumentModelGlobalState;
10
+ declare const HASH_ALGORITHM_SHA1 = "sha1";
11
+ declare const HASH_ALGORITHM_SHA256 = "sha256";
12
+ declare const HASH_ALGORITHM_SHA512 = "sha512";
13
+ declare const HASH_ENCODING_BASE64 = "base64";
14
+ declare const HASH_ENCODING_HEX = "hex";
15
+ //#endregion
16
+ //#region document-model/crypto.d.ts
17
+ declare const hashBrowser: (data: string | Uint8Array | ArrayBufferView | DataView, algorithm?: string, encoding?: string, _params?: Record<string, unknown>) => string;
18
+ declare function getUnixTimestamp(date: Date | string): string;
19
+ declare function buildOperationSignatureParams({
20
+ documentId,
21
+ signer,
22
+ action,
23
+ previousStateHash
24
+ }: ActionSignatureContext): [string, string, string, string];
25
+ declare function buildOperationSignatureMessage(params: [string, string, string, string]): Uint8Array;
26
+ declare function ab2hex(ab: ArrayBuffer | ArrayBufferView): string;
27
+ declare function hex2ab(hex: string): Uint8Array<ArrayBuffer>;
28
+ //#endregion
29
+ //#region document-model/document-schema.d.ts
30
+ declare const BaseDocumentHeaderSchema: z.ZodObject<{
31
+ id: z.ZodString;
32
+ name: z.ZodString;
33
+ createdAtUtcIso: z.ZodString;
34
+ lastModifiedAtUtcIso: z.ZodString;
35
+ documentType: z.ZodString;
36
+ }, z.core.$strip>;
37
+ declare const BaseDocumentStateSchema: z.ZodObject<{
38
+ global: z.ZodUnknown;
39
+ }, z.core.$strip>;
40
+ /** Schema for validating the header object of a DocumentModel document */
41
+ declare const DocumentModelHeaderSchema: z.ZodObject<{
42
+ id: z.ZodString;
43
+ name: z.ZodString;
44
+ createdAtUtcIso: z.ZodString;
45
+ lastModifiedAtUtcIso: z.ZodString;
46
+ documentType: z.ZodLiteral<"powerhouse/document-model">;
47
+ }, z.core.$strip>;
48
+ /** Schema for validating the state object of a DocumentModel document */
49
+ declare const DocumentModelPHStateSchema: z.ZodObject<{
50
+ global: z.ZodObject<Required<{
51
+ author: z.ZodType<Author, Author, z.core.$ZodTypeInternals<Author, Author>>;
52
+ description: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
53
+ extension: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
54
+ id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
55
+ name: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
56
+ specifications: z.ZodType<DocumentSpecification[], DocumentSpecification[], z.core.$ZodTypeInternals<DocumentSpecification[], DocumentSpecification[]>>;
57
+ }>, z.core.$strip>;
58
+ }, z.core.$strip>;
59
+ declare const DocumentModelSchema: z.ZodObject<{
60
+ header: z.ZodObject<{
61
+ id: z.ZodString;
62
+ name: z.ZodString;
63
+ createdAtUtcIso: z.ZodString;
64
+ lastModifiedAtUtcIso: z.ZodString;
65
+ documentType: z.ZodLiteral<"powerhouse/document-model">;
66
+ }, z.core.$strip>;
67
+ state: z.ZodObject<{
68
+ global: z.ZodObject<Required<{
69
+ author: z.ZodType<Author, Author, z.core.$ZodTypeInternals<Author, Author>>;
70
+ description: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
71
+ extension: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
72
+ id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
73
+ name: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
74
+ specifications: z.ZodType<DocumentSpecification[], DocumentSpecification[], z.core.$ZodTypeInternals<DocumentSpecification[], DocumentSpecification[]>>;
75
+ }>, z.core.$strip>;
76
+ }, z.core.$strip>;
77
+ initialState: z.ZodObject<{
78
+ global: z.ZodObject<Required<{
79
+ author: z.ZodType<Author, Author, z.core.$ZodTypeInternals<Author, Author>>;
80
+ description: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
81
+ extension: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
82
+ id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
83
+ name: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
84
+ specifications: z.ZodType<DocumentSpecification[], DocumentSpecification[], z.core.$ZodTypeInternals<DocumentSpecification[], DocumentSpecification[]>>;
85
+ }>, z.core.$strip>;
86
+ }, z.core.$strip>;
87
+ }, z.core.$strip>;
88
+ /** Simple helper function to check if a state object is a DocumentModel document state object */
89
+ declare function isDocumentModelState(state: unknown): state is DocumentModelPHState;
90
+ /** Simple helper function to assert that a document state object is a DocumentModel document state object */
91
+ declare function assertIsDocumentModelState(state: unknown): asserts state is DocumentModelPHState;
92
+ /** Simple helper function to check if a document is a DocumentModel document */
93
+ declare function isDocumentModelDocument(document: unknown): document is DocumentModelDocument;
94
+ /** Simple helper function to assert that a document is a DocumentModel document */
95
+ declare function assertIsDocumentModelDocument(document: unknown): asserts document is DocumentModelDocument;
96
+ //#endregion
97
+ //#region document-model/document-type.d.ts
98
+ declare const documentModelDocumentType = "powerhouse/document-model";
99
+ //#endregion
100
+ //#region document-model/errors.d.ts
101
+ declare const FileSystemError: Error;
102
+ declare class InvalidActionInputError extends Error {
103
+ data: unknown;
104
+ constructor(data: unknown);
105
+ }
106
+ declare class InvalidActionInputZodError extends InvalidActionInputError {
107
+ issues: ZodIssue[];
108
+ constructor(issues: ZodIssue[]);
109
+ }
110
+ declare class HashMismatchError extends Error {
111
+ protected _scope: string;
112
+ protected _document: PHDocument;
113
+ protected _operation: Operation;
114
+ constructor(scope: string, document: PHDocument, operation: Operation);
115
+ get document(): PHDocument;
116
+ get scope(): string;
117
+ get operation(): Operation;
118
+ }
119
+ //#endregion
120
+ //#region document-model/files.d.ts
121
+ declare function createZip(document: PHDocument): JSZip;
122
+ /**
123
+ * Creates a minimal ZIP backup from strand data.
124
+ * Used when the full document is not available (e.g., in onOperations handler).
125
+ * Creates a ZIP with minimal header and empty operations.
126
+ */
127
+ declare function createMinimalZip(data: MinimalBackupData): JSZip;
128
+ declare function baseSaveToFileHandle(document: PHDocument, input: FileSystemFileHandle): Promise<void>;
129
+ declare function baseLoadFromInput<TState extends PHBaseState>(input: FileInput, reducer: Reducer<TState>, options?: ReplayDocumentOptions): Promise<PHDocument<TState>>;
130
+ declare const documentModelLoadFromInput: LoadFromInput<DocumentModelPHState>;
131
+ declare const documentModelSaveToFileHandle: SaveToFileHandle;
132
+ declare function writeFileBrowser(path: string, name: string, stream: Uint8Array): Promise<string>;
133
+ declare function readFileBrowser(path: string): void;
134
+ declare function fetchFileBrowser(url: string): Promise<{
135
+ data: Buffer;
136
+ mimeType?: string;
137
+ }>;
138
+ declare const getFileBrowser: (file: string) => Promise<void>;
139
+ //#endregion
140
+ //#region document-model/header.d.ts
141
+ /**
142
+ * Creates a verification-only signer from a public key.
143
+ * This signer can only verify signatures, not sign data.
144
+ *
145
+ * @param pubKey - The public key to use for verification.
146
+ * @returns An ISigner that can only verify signatures.
147
+ */
148
+ declare function createVerificationSigner(pubKey: JsonWebKey): Promise<ISigner>;
149
+ /**
150
+ * Signs a header. Generally, this is not called directly, but rather through
151
+ * {@link createSignedHeader}.
152
+ *
153
+ * @param parameters - The parameters used to sign the header.
154
+ * @param signer - The signer of the document.
155
+ *
156
+ * @returns The signature of the header.
157
+ */
158
+ declare const sign: (parameters: SigningParameters, signer: ISigner) => Promise<string>;
159
+ /**
160
+ * Verifies a header signature. Generally, this is not called directly, but
161
+ * rather through {@link validateHeader}.
162
+ *
163
+ * @param parameters - The parameters used to sign the header.
164
+ * @param signature - The signature to verify.
165
+ * @param signer - The signer of the document.
166
+ */
167
+ declare const verify: (parameters: SigningParameters, signature: string, signer: ISigner) => Promise<void>;
168
+ /**
169
+ * Validates a header signature.
170
+ */
171
+ declare const validateHeader: (header: PHDocumentHeader) => Promise<void>;
172
+ /**
173
+ * Creates a header that has yet to be signed. This header is not valid, but
174
+ * can be input into {@link createSignedHeader} to create a signed header.
175
+ *
176
+ * @returns An unsigned header for a document.
177
+ */
178
+ declare const createPresignedHeader: (id?: string, documentType?: string) => PHDocumentHeader;
179
+ /**
180
+ * Creates a new, signed header for a document. This will replace the id of the
181
+ * document.
182
+ *
183
+ * @param unsignedHeader - The unsigned header to created the signed header from.
184
+ * @param signer - The signer of the document.
185
+ *
186
+ * @returns A new signed header for a document. Some fields are mutable and
187
+ * some are not. See the PHDocumentHeader type for more information.
188
+ */
189
+ declare const createSignedHeader: (unsignedHeader: PHDocumentHeader, documentType: string, signer: ISigner) => Promise<PHDocumentHeader>;
190
+ /**
191
+ * Creates a signed header for a document. The document header requires a signer
192
+ * as the document id is a cryptographic signature.
193
+ *
194
+ * @param documentType - The type of the document.
195
+ * @param signer - The signer of the document.
196
+ *
197
+ * @returns The signed header for a document. Some fields are mutable and
198
+ * some are not. See the PHDocumentHeader type for more information.
199
+ */
200
+ declare const createSignedHeaderForSigner: (documentType: string, signer: ISigner) => Promise<PHDocumentHeader>;
201
+ //#endregion
202
+ //#region document-model/reducer.d.ts
203
+ declare function replayOperations<TState extends PHBaseState = PHBaseState>(initialState: TState, clearedOperations: DocumentOperations, stateReducer: StateReducer<TState>, header: PHDocumentHeader, dispatch?: SignalDispatch, documentReducer?: typeof baseReducer, skipHeaderOperations?: SkipHeaderOperations, options?: ReplayDocumentOptions): PHDocument<TState>;
204
+ /**
205
+ * Updates the document state based on the provided action.
206
+ *
207
+ * @param state The current state of the document.
208
+ * @param action The action being applied to the document.
209
+ * @param skip The number of operations to skip before applying the action.
210
+ * @param reuseLastOperationIndex Whether to reuse the last operation index (used when a an UNDO operation is performed after an existing one).
211
+ * @param context The operation context for deterministic ID generation.
212
+ * @returns The updated document state.
213
+ */
214
+ declare function updateDocument<TDocument extends PHDocument>(document: TDocument, action: Action, reuseLastOperationIndex: boolean, skip: number, context: OperationContext, operation?: Operation, skipIndexValidation?: boolean): TDocument;
215
+ /**
216
+ * Processes an UNDO or REDO action.
217
+ *
218
+ * @param document The current state of the document.
219
+ * @param action The action being applied to the document.
220
+ * @param skip The number of operations to skip before applying the action.
221
+ * @returns The updated document, calculated skip value and transformed action (if applied).
222
+ */
223
+ declare function processUndoRedo<TState extends PHBaseState = PHBaseState>(document: PHDocument<TState>, action: Action, skip: number, protocolVersion?: number): {
224
+ document: PHDocument<TState>;
225
+ action: Action;
226
+ skip: number;
227
+ reuseLastOperationIndex: boolean;
228
+ };
229
+ /**
230
+ * Base document reducer that wraps a custom document reducer and handles
231
+ * document-level actions such as undo, redo, prune, and set name.
232
+ *
233
+ * @template TGlobalState - The type of the state of the custom reducer.
234
+ * @template TAction - The type of the actions of the custom reducer.
235
+ * @param state - The current state of the document.
236
+ * @param action - The action object to apply to the state.
237
+ * @param customReducer - The custom reducer that implements the application logic
238
+ * specific to the document's state.
239
+ * @returns The new state of the document.
240
+ */
241
+ declare function baseReducer<TState extends PHBaseState = PHBaseState>(document: PHDocument<TState>, action: Action, customReducer: StateReducer<TState>, dispatch?: SignalDispatch, options?: ReducerOptions): PHDocument<TState>;
242
+ /**
243
+ * Helper function to create a document model reducer.
244
+ *
245
+ * @remarks
246
+ * This function creates a new reducer that wraps the provided `reducer` with
247
+ * `documentReducer`, adding support for document actions:
248
+ * - `SET_NAME`
249
+ * - `UNDO`
250
+ * - `REDO`
251
+ * - `PRUNE`
252
+ *
253
+ * It also updates the document-related attributes on every operation.
254
+ *
255
+ * @param reducer - The custom reducer to wrap.
256
+ * @param documentReducer - The document reducer to use.
257
+ *
258
+ * @returns The new reducer.
259
+ */
260
+ declare function createReducer<TState extends PHBaseState = PHBaseState>(stateReducer: StateReducer<TState>, documentReducer?: typeof baseReducer): Reducer<TState>;
261
+ declare function pruneOperation<TState extends PHBaseState = PHBaseState>(document: PHDocument<TState>, input: PruneActionInput, wrappedReducer: StateReducer<TState>): PHDocument<TState>;
262
+ //#endregion
263
+ //#region document-model/reducers.d.ts
264
+ declare const documentModelHeaderReducer: DocumentModelHeaderOperations;
265
+ declare const documentModelModuleReducer: DocumentModelModuleOperations;
266
+ declare const documentModelOperationErrorReducer: DocumentModelOperationErrorOperations;
267
+ declare const documentModelOperationExampleReducer: DocumentModelOperationExampleOperations;
268
+ declare const documentModelOperationReducer: DocumentModelOperationOperations;
269
+ declare const documentModelStateSchemaReducer: DocumentModelStateOperations;
270
+ declare const documentModelVersioningReducer: DocumentModelVersioningOperations;
271
+ declare const documentModelStateReducer: StateReducer<DocumentModelPHState>;
272
+ declare const documentModelReducer: Reducer<DocumentModelPHState>;
273
+ //#endregion
274
+ //#region document-model/utils.d.ts
275
+ declare function generateMock<TSchema extends z.ZodType>(schema: TSchema): z.infer<TSchema>;
276
+ declare function generateId(method?: "UUIDv4"): string;
277
+ /**
278
+ * Derives a deterministic operation ID from stable properties.
279
+ */
280
+ declare function deriveOperationId(documentId: string, scope: string, branch: string, actionId: string): string;
281
+ //#endregion
282
+ //#region document-model/validation.d.ts
283
+ /**
284
+ * Reserved operation names from base reducer (core/actions.ts).
285
+ * These names cannot be used for custom operations.
286
+ */
287
+ declare const RESERVED_OPERATION_NAMES: readonly ["UNDO", "REDO", "PRUNE", "LOAD_STATE", "SET_NAME", "NOOP"];
288
+ type ReservedOperationName = (typeof RESERVED_OPERATION_NAMES)[number];
289
+ /**
290
+ * Check if name conflicts with base reducer actions (case-insensitive).
291
+ */
292
+ declare function isReservedOperationName(name: string): boolean;
293
+ /**
294
+ * Get all operation names from all modules in the latest specification.
295
+ * Returns names in uppercase for case-insensitive comparison.
296
+ */
297
+ declare function getAllOperationNames(state: DocumentModelGlobalState, excludeOperationId?: string): string[];
298
+ /**
299
+ * Validate operation name is not reserved or duplicate. Throws on failure.
300
+ *
301
+ * @param name - The operation name to validate
302
+ * @param state - The document model global state
303
+ * @param excludeOperationId - Optional operation ID to exclude (for rename validation)
304
+ * @throws Error if the name is reserved or a duplicate
305
+ */
306
+ declare function validateOperationName(name: string, state: DocumentModelGlobalState, excludeOperationId?: string): void;
307
+ declare function validateInitialState(initialState: string, allowEmptyState?: boolean): ValidationError[];
308
+ declare function validateStateSchemaName(schema: string, documentName: string, scope?: string, allowEmptySchema?: boolean): ValidationError[];
309
+ declare function validateModules(modules: ModuleSpecification[]): ValidationError[];
310
+ declare function validateModule(mod: ModuleSpecification): ValidationError[];
311
+ declare function validateModuleOperation(operation: OperationSpecification): ValidationError[];
312
+ declare function validateOperations(operations: DocumentOperations): ValidationError[];
313
+ //#endregion
314
+ export { BaseDocumentStateSchema as $, createPresignedHeader as A, createZip as B, documentModelVersioningReducer as C, pruneOperation as D, processUndoRedo as E, validateHeader as F, readFileBrowser as G, documentModelSaveToFileHandle as H, verify as I, HashMismatchError as J, writeFileBrowser as K, baseLoadFromInput as L, createSignedHeaderForSigner as M, createVerificationSigner as N, replayOperations as O, sign as P, BaseDocumentHeaderSchema as Q, baseSaveToFileHandle as R, documentModelStateSchemaReducer as S, createReducer as T, fetchFileBrowser as U, documentModelLoadFromInput as V, getFileBrowser as W, InvalidActionInputZodError as X, InvalidActionInputError as Y, documentModelDocumentType as Z, documentModelOperationErrorReducer as _, HASH_ENCODING_HEX as _t, validateInitialState as a, isDocumentModelDocument as at, documentModelReducer as b, documentModelInitialGlobalState as bt, validateModules as c, buildOperationSignatureMessage as ct, validateStateSchemaName as d, hashBrowser as dt, DocumentModelHeaderSchema as et, deriveOperationId as f, hex2ab as ft, documentModelModuleReducer as g, HASH_ENCODING_BASE64 as gt, documentModelHeaderReducer as h, HASH_ALGORITHM_SHA512 as ht, isReservedOperationName as i, assertIsDocumentModelState as it, createSignedHeader as j, updateDocument as k, validateOperationName as l, buildOperationSignatureParams as lt, generateMock as m, HASH_ALGORITHM_SHA256 as mt, ReservedOperationName as n, DocumentModelSchema as nt, validateModule as o, isDocumentModelState as ot, generateId as p, HASH_ALGORITHM_SHA1 as pt, FileSystemError as q, getAllOperationNames as r, assertIsDocumentModelDocument as rt, validateModuleOperation as s, ab2hex as st, RESERVED_OPERATION_NAMES as t, DocumentModelPHStateSchema as tt, validateOperations as u, getUnixTimestamp as ut, documentModelOperationExampleReducer as v, documentModelFileExtension as vt, baseReducer as w, documentModelStateReducer as x, documentModelInitialLocalState as xt, documentModelOperationReducer as y, documentModelGlobalState as yt, createMinimalZip as z };
315
+ //# sourceMappingURL=index-CNskeAB6.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-CNskeAB6.d.ts","names":[],"sources":["../document-model/constants.ts","../document-model/crypto.ts","../document-model/document-schema.ts","../document-model/document-type.ts","../document-model/errors.ts","../document-model/files.ts","../document-model/header.ts","../document-model/reducer.ts","../document-model/reducers.ts","../document-model/utils.ts","../document-model/validation.ts"],"mappings":";;;;;cAKa,0BAAA;AAAA,cAEA,8BAAA,EAAgC,uBAAA;AAAA,cAChC,+BAAA,EAAiC,wBAAA;AAAA,cA6BjC,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AAA,CACd,YAAA,UACA,eAAA,aACC,eAAA;AAAA,iBA4Ba,uBAAA,CACd,MAAA,UACA,YAAA,UACA,KAAA,WACA,gBAAA,aACC,eAAA;AAAA,iBAqCa,eAAA,CACd,OAAA,EAAS,mBAAA,KACR,eAAA;AAAA,iBAmBa,cAAA,CAAe,GAAA,EAAK,mBAAA,GAAsB,eAAA;AAAA,iBA6B1C,uBAAA,CACd,SAAA,EAAW,sBAAA,GACV,eAAA;AAAA,iBAwBa,kBAAA,CAAmB,UAAA,EAAY,kBAAA,GAAkB,eAAA"}
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { a as AnalyticsSeriesInput, c as CompoundAnalyticsExpression, d as ConversionMetric, f as IAnalyticsStore, i as AnalyticsSeries, l as CompoundAnalyticsInputs, n as AnalyticsOperand, o as AnalyticsSeriesQuery, p as MultiCurrencyConversion, r as AnalyticsQuery, s as AnalyticsUpdateCallback, t as AnalyticsDimension, u as CompoundAnalyticsQuery } from "./types-DWXYsIF1.js";
2
2
  import { i as PACKAGES_DEPENDENCIES, n as APPS_DEPENDENCIES, r as CLIS_DEPENDENCIES, t as ALL_POWERHOUSE_DEPENDENCIES } from "./constants-CWTeHvBt.js";
3
- import { $a as ReorderOperationExamplesAction, $i as MutationReorderStateExamplesArgs, $n as CopyChildDocumentSignal, $o as SetOperationScopeInput, $r as EditorProps, $s as ProcessorApps, Aa as PartialState, Ai as MoveOperationInput, An as ActionVerificationHandler, Ao as SetModuleDescriptionInput, Ar as DocumentModelInput, As as ValidationError, Ba as Reducer, Bi as MutationDeleteOperationArgs, Bn as AddOperationExampleInput, Bo as SetOperationErrorDescriptionAction, Br as DocumentModelOperationExampleOperations, Ca as MutationUpdateStateExampleArgs, Ci as MakeOptional, Co as SetModelExtensionAction, Cr as DocumentFile, Cs as UpdateOperationExampleAction, Da as OperationSpecification, Di as MinimalBackupData, Dn as ActionErrorCallback, Do as SetModelNameAction, Dr as DocumentModelGlobalState, Ds as UpgradeDocumentAction, Ea as OperationIndex, Ei as Maybe, Eo as SetModelIdInput, Er as DocumentModelDocumentModelModule, Es as UpdateStateExampleInput, Fa as Publisher, Fi as MutationAddOperationErrorArgs, Fn as AddModuleInput, Fo as SetNameOperation, Fr as DocumentModelModuleOperations, Ga as ReorderChangeLogItemsAction, Gi as MutationMoveOperationArgs, Gn as AddStateExampleInput, Go as SetOperationErrorTemplateInput, Gr as DocumentModelUtils, Ha as ReleaseNewVersionAction, Hi as MutationDeleteOperationExampleArgs, Hn as AddRelationshipAction, Ho as SetOperationErrorNameAction, Hr as DocumentModelPHState, Ia as Query, Ii as MutationAddOperationExampleArgs, In as AddOperationAction, Io as SetOperationDescriptionAction, Ir as DocumentModelOperationAction, Ja as ReorderModuleOperationsInput, Ji as MutationReorderChangeLogItemsInputArgs, Jn as Author, Jo as SetOperationReducerAction, Jr as DocumentOperationsIgnoreMap, Js as IProcessor, Ka as ReorderChangeLogItemsInput, Ki as MutationPruneArgs, Kn as AssertIsDocumentOfType, Ko as SetOperationNameAction, Kr as DocumentModelVersioningAction, La as Redo, Li as MutationAddStateExampleArgs, Ln as AddOperationErrorAction, Lo as SetOperationDescriptionInput, Lr as DocumentModelOperationErrorAction, Ma as Prune, Mi as MutationAddChangeLogItemInputArgs, Mn as AddChangeLogItemAction, Mo as SetModuleNameInput, Mr as DocumentModelLocalState, Na as PruneAction, Ni as MutationAddModuleArgs, Nn as AddChangeLogItemInput, No as SetNameAction, Nr as DocumentModelModule, Oa as OperationsByScope, Oi as ModuleSpecification, On as ActionSignatureContext, Oo as SetModelNameInput, Or as DocumentModelHeaderAction, Os as UpgradeDocumentActionInput, Pa as PruneActionInput, Pi as MutationAddOperationArgs, Pn as AddModuleAction, Po as SetNameActionInput, Pr as DocumentModelModuleAction, Qa as ReorderOperationErrorsInput, Qi as MutationReorderOperationExamplesArgs, Qn as CopyChildDocumentInput, Qo as SetOperationScopeAction, Qr as EditorModule, Qs as ProcessorApp, Ra as RedoAction, Ri as MutationDeleteChangeLogItemInputArgs, Rn as AddOperationErrorInput, Ro as SetOperationErrorCodeAction, Rr as DocumentModelOperationErrorOperations, Sa as MutationUpdateOperationExampleArgs, Si as MakeMaybe, So as SetModelDescriptionInput, Sr as DocumentAction, Ss as UpdateChangeLogItemInput, Ta as OperationErrorSpecification, Ti as MappedOperation, To as SetModelIdAction, Tr as DocumentModelDocument, Ts as UpdateStateExampleAction, Ua as RemoveRelationshipAction, Ui as MutationDeleteStateExampleArgs, Un as AddRelationshipActionInput, Uo as SetOperationErrorNameInput, Ur as DocumentModelStateAction, Va as ReducerOptions, Vi as MutationDeleteOperationErrorArgs, Vn as AddOperationInput, Vo as SetOperationErrorDescriptionInput, Vr as DocumentModelOperationOperations, Wa as RemoveRelationshipActionInput, Wi as MutationLoadStateArgs, Wn as AddStateExampleAction, Wo as SetOperationErrorTemplateAction, Wr as DocumentModelStateOperations, Xa as ReorderModulesInput, Xi as MutationReorderModulesArgs, Xn as ConfigEntry, Xo as SetOperationSchemaAction, Xr as ENSInfo, Xs as IProcessorHostModule, Ya as ReorderModulesAction, Yi as MutationReorderModuleOperationsArgs, Yn as CodeExample, Yo as SetOperationReducerInput, Yr as DocumentSpecification, Ys as IProcessorDispatch, Za as ReorderOperationErrorsAction, Zi as MutationReorderOperationErrorsArgs, Zn as ConfigEntryType, Zo as SetOperationSchemaInput, Zr as EditorDispatch, Zs as IProcessorManager, _a as MutationSetOperationSchemaArgs, _i as LoadStateAction, _o as SetAuthorWebsiteAction, _r as DeleteOperationExampleAction, _s as Undo, aa as MutationSetModelIdArgs, ac as ProcessorStatus, ai as ID, ao as SaveToFile, ar as CreateState, as as Signal, ba as MutationUndoArgs, bi as Load_State, bo as SetInitialStateInput, br as DeleteStateExampleAction, bs as UndoRedoAction, ca as MutationSetModuleNameArgs, ci as ISignal, co as SchemaLoadStateAction, cr as DeleteChildDocumentInput, cs as SignalResults, da as MutationSetOperationErrorCodeArgs, di as Incremental, do as SchemaRedoAction, dr as DeleteDocumentActionInput, ds as SigningParameters, ea as MutationSetAuthorNameArgs, ec as ProcessorDispatchResult, ei as Exact, eo as ReorderOperationExamplesInput, er as CreateChildDocumentInput, es as SetOperationTemplateAction, fa as MutationSetOperationErrorDescriptionArgs, fi as InputMaybe, fo as SchemaSetNameAction, fr as DeleteModuleAction, fs as SkipHeaderOperationIndex, ga as MutationSetOperationReducerArgs, gi as LoadFromInput, go as SetAuthorNameInput, gr as DeleteOperationErrorInput, gs as SubgraphModule, ha as MutationSetOperationNameArgs, hi as LoadFromFile, ho as SetAuthorNameAction, hr as DeleteOperationErrorAction, hs as StateReducer, ia as MutationSetModelExtensionArgs, ic as ProcessorRecord, ii as IAction, io as RevisionsFilter, ir as CreateDocumentActionInput, is as Set_Name, ja as PowerhouseModule, ji as Mutation, jn as Actions, jo as SetModuleNameAction, jr as DocumentModelLib, ka as PartialRecord, ki as MoveOperationAction, kn as ActionSigningHandler, ko as SetModuleDescriptionAction, kr as DocumentModelHeaderOperations, ks as User, la as MutationSetNameArgs, li as ISignalResult, lo as SchemaNOOPAction, lr as DeleteChildDocumentSignal, ls as SignalType, ma as MutationSetOperationErrorTemplateArgs, mi as IsStateOfType, mo as ScopeState, mr as DeleteOperationAction, ms as State, na as MutationSetInitialStateArgs, nc as ProcessorFactoryBuilder, ni as FileRegistry, no as ReorderStateExamplesInput, nr as CreateDocument, ns as SetStateSchemaAction, oa as MutationSetModelNameArgs, oc as TrackedProcessor, oi as IDocument, oo as SaveToFileHandle, or as DeleteChangeLogItemAction, os as SignalDispatch, pa as MutationSetOperationErrorNameArgs, pi as IsDocumentOfType, po as SchemaUndoAction, pr as DeleteModuleInput, ps as SkipHeaderOperations, qa as ReorderModuleOperationsAction, qi as MutationRedoArgs, qn as AssertIsStateOfType, qo as SetOperationNameInput, qr as DocumentModelVersioningOperations, ra as MutationSetModelDescriptionArgs, rc as ProcessorFilter, ri as GetDocumentOptions, ro as ReplayDocumentOptions, rr as CreateDocumentAction, rs as SetStateSchemaInput, sa as MutationSetModuleDescriptionArgs, si as IOperation, so as Scalars, sr as DeleteChangeLogItemInput, ss as SignalResult, ta as MutationSetAuthorWebsiteArgs, tc as ProcessorFactory, ti as FileInput, to as ReorderStateExamplesAction, tr as CreateChildDocumentSignal, ts as SetOperationTemplateInput, ua as MutationSetOperationDescriptionArgs, ui as ISigner, uo as SchemaPruneAction, ur as DeleteDocumentAction, us as SignatureVerificationHandler, va as MutationSetOperationTemplateArgs, vi as LoadStateActionInput, vo as SetAuthorWebsiteInput, vr as DeleteOperationExampleInput, vs as UndoAction, wa as NOOPAction, wi as Manifest, wo as SetModelExtensionInput, wr as DocumentModelAction, ws as UpdateOperationExampleInput, xa as MutationUpdateChangeLogItemInputArgs, xi as MakeEmpty, xo as SetModelDescriptionAction, xr as DeleteStateExampleInput, xs as UpdateChangeLogItemAction, ya as MutationSetStateSchemaArgs, yi as LoadStateActionStateInput, yo as SetInitialStateAction, yr as DeleteOperationInput, ys as UndoActionInput, za as RedoActionInput, zi as MutationDeleteModuleArgs, zn as AddOperationExampleAction, zo as SetOperationErrorCodeInput, zr as DocumentModelOperationExampleAction } from "./actions-9awJNUSB.js";
4
- import { $ as AddFolderAction, A as TriggerData, B as RegistryPackageStatus, C as RemoveTriggerInput, Ct as ParsedCmdResult, D as SetSharingTypeInput, Dt as ServiceAction, E as SetDriveNameInput, Et as PowerhousePackage, F as PackageInfo, G as GenerateNodesCopySrc, H as DriveDocumentModelModule, I as RegistryPackage, J as DocumentDriveDocument, K as SharingType, L as RegistryPackageList, M as TriggerType, N as UpdateFileInput, O as TransmitterType, Ot as ServiceActions, P as UpdateNodeInput, Q as AddFileAction, R as RegistryPackageMap, S as RemoveListenerInput, St as PackageManagerArgs, T as SetDriveIconInput, Tt as PowerhouseConfig, U as DriveInput, V as DocumentDrivePHState, W as GenerateNodesCopyIdGenerator, X as LegacyAddFileInput, Y as LegacyAddFileAction, Z as LegacySynchronizationUnit, _ as ListenerInput, _t as DrivePreserveStrategies, a as CopyNodeInput, at as UpdateFileAction, b as PullResponderTriggerData, bt as LogLevels, c as DocumentDriveLocalState, ct as AddTriggerAction, d as FolderNode, dt as RemoveListenerAction, et as CopyNodeAction, f as Listener, ft as RemoveTriggerAction, g as ListenerFilterInput, gt as SetSharingTypeAction, h as ListenerFilter, ht as SetDriveNameAction, i as AddTriggerInput, it as MoveNodeAction, j as TriggerInput, k as Trigger, lt as DocumentDriveDriveAction, m as ListenerCallInfoInput, mt as SetDriveIconAction, n as AddFolderInput, nt as DocumentDriveNodeAction, o as DeleteNodeInput, ot as UpdateNodeAction, p as ListenerCallInfo, pt as SetAvailableOfflineAction, q as DocumentDriveAction, r as AddListenerInput, rt as DocumentDriveNodeOperations, s as DocumentDriveGlobalState, st as AddListenerAction, t as AddFileInput, tt as DeleteNodeAction, u as FileNode, ut as DocumentDriveDriveOperations, v as MoveNodeInput, vt as DrivePreserveStrategy, w as SetAvailableOfflineInput, wt as PathValidation, x as PullResponderTriggerDataInput, xt as PHPackageProvider, y as Node, yt as LogLevel, z as RegistryPackageSource } from "./types-Dd4sfL9W.js";
3
+ import { $a as ReorderOperationExamplesAction, $i as MutationReorderStateExamplesArgs, $n as CopyChildDocumentSignal, $o as SetOperationScopeInput, $r as EditorProps, Aa as PartialState, Ai as MoveOperationInput, Al as ProcessorStatus, An as ActionVerificationHandler, Ao as SetModuleDescriptionInput, Ar as DocumentModelInput, As as ValidationError, Ba as Reducer, Bi as MutationDeleteOperationArgs, Bn as AddOperationExampleInput, Bo as SetOperationErrorDescriptionAction, Br as DocumentModelOperationExampleOperations, Ca as MutationUpdateStateExampleArgs, Ci as MakeOptional, Cl as ProcessorApp, Co as SetModelExtensionAction, Cr as DocumentFile, Cs as UpdateOperationExampleAction, Da as OperationSpecification, Di as MinimalBackupData, Dl as ProcessorFactoryBuilder, Dn as ActionErrorCallback, Do as SetModelNameAction, Dr as DocumentModelGlobalState, Ds as UpgradeDocumentAction, Ea as OperationIndex, Ei as Maybe, El as ProcessorFactory, Eo as SetModelIdInput, Er as DocumentModelDocumentModelModule, Es as UpdateStateExampleInput, Fa as Publisher, Fi as MutationAddOperationErrorArgs, Fn as AddModuleInput, Fo as SetNameOperation, Fr as DocumentModelModuleOperations, Ga as ReorderChangeLogItemsAction, Gi as MutationMoveOperationArgs, Gn as AddStateExampleInput, Go as SetOperationErrorTemplateInput, Gr as DocumentModelUtils, Ha as ReleaseNewVersionAction, Hi as MutationDeleteOperationExampleArgs, Hn as AddRelationshipAction, Ho as SetOperationErrorNameAction, Hr as DocumentModelPHState, Ia as Query, Ii as MutationAddOperationExampleArgs, In as AddOperationAction, Io as SetOperationDescriptionAction, Ir as DocumentModelOperationAction, Ja as ReorderModuleOperationsInput, Ji as MutationReorderChangeLogItemsInputArgs, Jn as Author, Jo as SetOperationReducerAction, Jr as DocumentOperationsIgnoreMap, Ka as ReorderChangeLogItemsInput, Ki as MutationPruneArgs, Kn as AssertIsDocumentOfType, Ko as SetOperationNameAction, Kr as DocumentModelVersioningAction, La as Redo, Li as MutationAddStateExampleArgs, Ln as AddOperationErrorAction, Lo as SetOperationDescriptionInput, Lr as DocumentModelOperationErrorAction, Ma as Prune, Mi as MutationAddChangeLogItemInputArgs, Mn as AddChangeLogItemAction, Mo as SetModuleNameInput, Mr as DocumentModelLocalState, Na as PruneAction, Ni as MutationAddModuleArgs, Nn as AddChangeLogItemInput, No as SetNameAction, Nr as DocumentModelModule, Oa as OperationsByScope, Oi as ModuleSpecification, Ol as ProcessorFilter, On as ActionSignatureContext, Oo as SetModelNameInput, Or as DocumentModelHeaderAction, Os as UpgradeDocumentActionInput, Pa as PruneActionInput, Pi as MutationAddOperationArgs, Pn as AddModuleAction, Po as SetNameActionInput, Pr as DocumentModelModuleAction, Qa as ReorderOperationErrorsInput, Qi as MutationReorderOperationExamplesArgs, Qn as CopyChildDocumentInput, Qo as SetOperationScopeAction, Qr as EditorModule, Ra as RedoAction, Ri as MutationDeleteChangeLogItemInputArgs, Rn as AddOperationErrorInput, Ro as SetOperationErrorCodeAction, Rr as DocumentModelOperationErrorOperations, Sa as MutationUpdateOperationExampleArgs, Si as MakeMaybe, Sl as IProcessorManager, So as SetModelDescriptionInput, Sr as DocumentAction, Ss as UpdateChangeLogItemInput, Ta as OperationErrorSpecification, Ti as MappedOperation, Tl as ProcessorDispatchResult, To as SetModelIdAction, Tr as DocumentModelDocument, Ts as UpdateStateExampleAction, Ua as RemoveRelationshipAction, Ui as MutationDeleteStateExampleArgs, Un as AddRelationshipActionInput, Uo as SetOperationErrorNameInput, Ur as DocumentModelStateAction, Va as ReducerOptions, Vi as MutationDeleteOperationErrorArgs, Vn as AddOperationInput, Vo as SetOperationErrorDescriptionInput, Vr as DocumentModelOperationOperations, Wa as RemoveRelationshipActionInput, Wi as MutationLoadStateArgs, Wn as AddStateExampleAction, Wo as SetOperationErrorTemplateAction, Wr as DocumentModelStateOperations, Xa as ReorderModulesInput, Xi as MutationReorderModulesArgs, Xn as ConfigEntry, Xo as SetOperationSchemaAction, Xr as ENSInfo, Ya as ReorderModulesAction, Yi as MutationReorderModuleOperationsArgs, Yn as CodeExample, Yo as SetOperationReducerInput, Yr as DocumentSpecification, Za as ReorderOperationErrorsAction, Zi as MutationReorderOperationErrorsArgs, Zn as ConfigEntryType, Zo as SetOperationSchemaInput, Zr as EditorDispatch, _a as MutationSetOperationSchemaArgs, _i as LoadStateAction, _o as SetAuthorWebsiteAction, _r as DeleteOperationExampleAction, _s as Undo, aa as MutationSetModelIdArgs, ai as ID, ao as SaveToFile, ar as CreateState, as as Signal, ba as MutationUndoArgs, bi as Load_State, bl as IProcessorDispatch, bo as SetInitialStateInput, br as DeleteStateExampleAction, bs as UndoRedoAction, ca as MutationSetModuleNameArgs, ci as ISignal, co as SchemaLoadStateAction, cr as DeleteChildDocumentInput, cs as SignalResults, da as MutationSetOperationErrorCodeArgs, di as Incremental, do as SchemaRedoAction, dr as DeleteDocumentActionInput, ds as SigningParameters, ea as MutationSetAuthorNameArgs, ei as Exact, eo as ReorderOperationExamplesInput, er as CreateChildDocumentInput, es as SetOperationTemplateAction, fa as MutationSetOperationErrorDescriptionArgs, fi as InputMaybe, fo as SchemaSetNameAction, fr as DeleteModuleAction, fs as SkipHeaderOperationIndex, ga as MutationSetOperationReducerArgs, gi as LoadFromInput, go as SetAuthorNameInput, gr as DeleteOperationErrorInput, gs as SubgraphModule, ha as MutationSetOperationNameArgs, hi as LoadFromFile, ho as SetAuthorNameAction, hr as DeleteOperationErrorAction, hs as StateReducer, ia as MutationSetModelExtensionArgs, ii as IAction, io as RevisionsFilter, ir as CreateDocumentActionInput, is as Set_Name, ja as PowerhouseModule, ji as Mutation, jl as TrackedProcessor, jn as Actions, jo as SetModuleNameAction, jr as DocumentModelLib, ka as PartialRecord, ki as MoveOperationAction, kl as ProcessorRecord, kn as ActionSigningHandler, ko as SetModuleDescriptionAction, kr as DocumentModelHeaderOperations, ks as User, la as MutationSetNameArgs, li as ISignalResult, lo as SchemaNOOPAction, lr as DeleteChildDocumentSignal, ls as SignalType, ma as MutationSetOperationErrorTemplateArgs, mi as IsStateOfType, mo as ScopeState, mr as DeleteOperationAction, ms as State, na as MutationSetInitialStateArgs, ni as FileRegistry, no as ReorderStateExamplesInput, nr as CreateDocument, ns as SetStateSchemaAction, oa as MutationSetModelNameArgs, oi as IDocument, oo as SaveToFileHandle, or as DeleteChangeLogItemAction, os as SignalDispatch, pa as MutationSetOperationErrorNameArgs, pi as IsDocumentOfType, po as SchemaUndoAction, pr as DeleteModuleInput, ps as SkipHeaderOperations, qa as ReorderModuleOperationsAction, qi as MutationRedoArgs, qn as AssertIsStateOfType, qo as SetOperationNameInput, qr as DocumentModelVersioningOperations, ra as MutationSetModelDescriptionArgs, ri as GetDocumentOptions, ro as ReplayDocumentOptions, rr as CreateDocumentAction, rs as SetStateSchemaInput, sa as MutationSetModuleDescriptionArgs, si as IOperation, so as Scalars, sr as DeleteChangeLogItemInput, ss as SignalResult, ta as MutationSetAuthorWebsiteArgs, ti as FileInput, to as ReorderStateExamplesAction, tr as CreateChildDocumentSignal, ts as SetOperationTemplateInput, ua as MutationSetOperationDescriptionArgs, ui as ISigner, uo as SchemaPruneAction, ur as DeleteDocumentAction, us as SignatureVerificationHandler, va as MutationSetOperationTemplateArgs, vi as LoadStateActionInput, vo as SetAuthorWebsiteInput, vr as DeleteOperationExampleInput, vs as UndoAction, wa as NOOPAction, wi as Manifest, wl as ProcessorApps, wo as SetModelExtensionInput, wr as DocumentModelAction, ws as UpdateOperationExampleInput, xa as MutationUpdateChangeLogItemInputArgs, xi as MakeEmpty, xl as IProcessorHostModule, xo as SetModelDescriptionAction, xr as DeleteStateExampleInput, xs as UpdateChangeLogItemAction, ya as MutationSetStateSchemaArgs, yi as LoadStateActionStateInput, yl as IProcessor, yo as SetInitialStateAction, yr as DeleteOperationInput, ys as UndoActionInput, za as RedoActionInput, zi as MutationDeleteModuleArgs, zn as AddOperationExampleAction, zo as SetOperationErrorCodeInput, zr as DocumentModelOperationExampleAction } from "./actions-OP2hCkXB.js";
4
+ import { $ as AddFolderAction, A as TriggerData, B as RegistryPackageStatus, C as RemoveTriggerInput, Ct as ParsedCmdResult, D as SetSharingTypeInput, Dt as ServiceAction, E as SetDriveNameInput, Et as PowerhousePackage, F as PackageInfo, G as GenerateNodesCopySrc, H as DriveDocumentModelModule, I as RegistryPackage, J as DocumentDriveDocument, K as SharingType, L as RegistryPackageList, M as TriggerType, N as UpdateFileInput, O as TransmitterType, Ot as ServiceActions, P as UpdateNodeInput, Q as AddFileAction, R as RegistryPackageMap, S as RemoveListenerInput, St as PackageManagerArgs, T as SetDriveIconInput, Tt as PowerhouseConfig, U as DriveInput, V as DocumentDrivePHState, W as GenerateNodesCopyIdGenerator, X as LegacyAddFileInput, Y as LegacyAddFileAction, Z as LegacySynchronizationUnit, _ as ListenerInput, _t as DrivePreserveStrategies, a as CopyNodeInput, at as UpdateFileAction, b as PullResponderTriggerData, bt as LogLevels, c as DocumentDriveLocalState, ct as AddTriggerAction, d as FolderNode, dt as RemoveListenerAction, et as CopyNodeAction, f as Listener, ft as RemoveTriggerAction, g as ListenerFilterInput, gt as SetSharingTypeAction, h as ListenerFilter, ht as SetDriveNameAction, i as AddTriggerInput, it as MoveNodeAction, j as TriggerInput, k as Trigger, lt as DocumentDriveDriveAction, m as ListenerCallInfoInput, mt as SetDriveIconAction, n as AddFolderInput, nt as DocumentDriveNodeAction, o as DeleteNodeInput, ot as UpdateNodeAction, p as ListenerCallInfo, pt as SetAvailableOfflineAction, q as DocumentDriveAction, r as AddListenerInput, rt as DocumentDriveNodeOperations, s as DocumentDriveGlobalState, st as AddListenerAction, t as AddFileInput, tt as DeleteNodeAction, u as FileNode, ut as DocumentDriveDriveOperations, v as MoveNodeInput, vt as DrivePreserveStrategy, w as SetAvailableOfflineInput, wt as PathValidation, x as PullResponderTriggerDataInput, xt as PHPackageProvider, y as Node, yt as LogLevel, z as RegistryPackageSource } from "./types-DyUYj_J_.js";
5
5
  export { ALL_POWERHOUSE_DEPENDENCIES, APPS_DEPENDENCIES, ActionErrorCallback, ActionSignatureContext, ActionSigningHandler, ActionVerificationHandler, Actions, AddChangeLogItemAction, AddChangeLogItemInput, AddFileAction, AddFileInput, AddFolderAction, AddFolderInput, AddListenerAction, AddListenerInput, AddModuleAction, AddModuleInput, AddOperationAction, AddOperationErrorAction, AddOperationErrorInput, AddOperationExampleAction, AddOperationExampleInput, AddOperationInput, AddRelationshipAction, AddRelationshipActionInput, AddStateExampleAction, AddStateExampleInput, AddTriggerAction, AddTriggerInput, AnalyticsDimension, AnalyticsOperand, AnalyticsQuery, AnalyticsSeries, AnalyticsSeriesInput, AnalyticsSeriesQuery, AnalyticsUpdateCallback, AssertIsDocumentOfType, AssertIsStateOfType, Author, CLIS_DEPENDENCIES, CodeExample, CompoundAnalyticsExpression, CompoundAnalyticsInputs, CompoundAnalyticsQuery, ConfigEntry, ConfigEntryType, ConversionMetric, CopyChildDocumentInput, CopyChildDocumentSignal, CopyNodeAction, CopyNodeInput, CreateChildDocumentInput, CreateChildDocumentSignal, CreateDocument, CreateDocumentAction, CreateDocumentActionInput, CreateState, DeleteChangeLogItemAction, DeleteChangeLogItemInput, DeleteChildDocumentInput, DeleteChildDocumentSignal, DeleteDocumentAction, DeleteDocumentActionInput, DeleteModuleAction, DeleteModuleInput, DeleteNodeAction, DeleteNodeInput, DeleteOperationAction, DeleteOperationErrorAction, DeleteOperationErrorInput, DeleteOperationExampleAction, DeleteOperationExampleInput, DeleteOperationInput, DeleteStateExampleAction, DeleteStateExampleInput, DocumentAction, DocumentDriveAction, DocumentDriveDocument, DocumentDriveDriveAction, DocumentDriveDriveOperations, DocumentDriveGlobalState, DocumentDriveLocalState, DocumentDriveNodeAction, DocumentDriveNodeOperations, DocumentDrivePHState, DocumentFile, DocumentModelAction, DocumentModelDocument, DocumentModelDocumentModelModule, DocumentModelGlobalState, DocumentModelHeaderAction, DocumentModelHeaderOperations, DocumentModelInput, DocumentModelLib, DocumentModelLocalState, DocumentModelModule, DocumentModelModuleAction, DocumentModelModuleOperations, DocumentModelOperationAction, DocumentModelOperationErrorAction, DocumentModelOperationErrorOperations, DocumentModelOperationExampleAction, DocumentModelOperationExampleOperations, DocumentModelOperationOperations, DocumentModelPHState, DocumentModelStateAction, DocumentModelStateOperations, DocumentModelUtils, DocumentModelVersioningAction, DocumentModelVersioningOperations, DocumentOperationsIgnoreMap, DocumentSpecification, DriveDocumentModelModule, DriveInput, DrivePreserveStrategies, DrivePreserveStrategy, ENSInfo, EditorDispatch, EditorModule, EditorProps, Exact, FileInput, FileNode, FileRegistry, FolderNode, GenerateNodesCopyIdGenerator, GenerateNodesCopySrc, GetDocumentOptions, IAction, IAnalyticsStore, ID, IDocument, IOperation, IProcessor, IProcessorDispatch, IProcessorHostModule, IProcessorManager, ISignal, ISignalResult, ISigner, Incremental, InputMaybe, IsDocumentOfType, IsStateOfType, LegacyAddFileAction, LegacyAddFileInput, LegacySynchronizationUnit, Listener, ListenerCallInfo, ListenerCallInfoInput, ListenerFilter, ListenerFilterInput, ListenerInput, LoadFromFile, LoadFromInput, LoadStateAction, LoadStateActionInput, LoadStateActionStateInput, Load_State, LogLevel, LogLevels, MakeEmpty, MakeMaybe, MakeOptional, Manifest, MappedOperation, Maybe, MinimalBackupData, ModuleSpecification, MoveNodeAction, MoveNodeInput, MoveOperationAction, MoveOperationInput, MultiCurrencyConversion, Mutation, MutationAddChangeLogItemInputArgs, MutationAddModuleArgs, MutationAddOperationArgs, MutationAddOperationErrorArgs, MutationAddOperationExampleArgs, MutationAddStateExampleArgs, MutationDeleteChangeLogItemInputArgs, MutationDeleteModuleArgs, MutationDeleteOperationArgs, MutationDeleteOperationErrorArgs, MutationDeleteOperationExampleArgs, MutationDeleteStateExampleArgs, MutationLoadStateArgs, MutationMoveOperationArgs, MutationPruneArgs, MutationRedoArgs, MutationReorderChangeLogItemsInputArgs, MutationReorderModuleOperationsArgs, MutationReorderModulesArgs, MutationReorderOperationErrorsArgs, MutationReorderOperationExamplesArgs, MutationReorderStateExamplesArgs, MutationSetAuthorNameArgs, MutationSetAuthorWebsiteArgs, MutationSetInitialStateArgs, MutationSetModelDescriptionArgs, MutationSetModelExtensionArgs, MutationSetModelIdArgs, MutationSetModelNameArgs, MutationSetModuleDescriptionArgs, MutationSetModuleNameArgs, MutationSetNameArgs, MutationSetOperationDescriptionArgs, MutationSetOperationErrorCodeArgs, MutationSetOperationErrorDescriptionArgs, MutationSetOperationErrorNameArgs, MutationSetOperationErrorTemplateArgs, MutationSetOperationNameArgs, MutationSetOperationReducerArgs, MutationSetOperationSchemaArgs, MutationSetOperationTemplateArgs, MutationSetStateSchemaArgs, MutationUndoArgs, MutationUpdateChangeLogItemInputArgs, MutationUpdateOperationExampleArgs, MutationUpdateStateExampleArgs, NOOPAction, Node, OperationErrorSpecification, OperationIndex, OperationSpecification, OperationsByScope, PACKAGES_DEPENDENCIES, PHPackageProvider, PackageInfo, PackageManagerArgs, ParsedCmdResult, PartialRecord, PartialState, PathValidation, PowerhouseConfig, PowerhouseModule, PowerhousePackage, ProcessorApp, ProcessorApps, ProcessorDispatchResult, ProcessorFactory, ProcessorFactoryBuilder, ProcessorFilter, ProcessorRecord, ProcessorStatus, Prune, PruneAction, PruneActionInput, Publisher, PullResponderTriggerData, PullResponderTriggerDataInput, Query, Redo, RedoAction, RedoActionInput, Reducer, ReducerOptions, RegistryPackage, RegistryPackageList, RegistryPackageMap, RegistryPackageSource, RegistryPackageStatus, ReleaseNewVersionAction, RemoveListenerAction, RemoveListenerInput, RemoveRelationshipAction, RemoveRelationshipActionInput, RemoveTriggerAction, RemoveTriggerInput, ReorderChangeLogItemsAction, ReorderChangeLogItemsInput, ReorderModuleOperationsAction, ReorderModuleOperationsInput, ReorderModulesAction, ReorderModulesInput, ReorderOperationErrorsAction, ReorderOperationErrorsInput, ReorderOperationExamplesAction, ReorderOperationExamplesInput, ReorderStateExamplesAction, ReorderStateExamplesInput, ReplayDocumentOptions, RevisionsFilter, SaveToFile, SaveToFileHandle, Scalars, SchemaLoadStateAction, SchemaNOOPAction, SchemaPruneAction, SchemaRedoAction, SchemaSetNameAction, SchemaUndoAction, ScopeState, ServiceAction, ServiceActions, SetAuthorNameAction, SetAuthorNameInput, SetAuthorWebsiteAction, SetAuthorWebsiteInput, SetAvailableOfflineAction, SetAvailableOfflineInput, SetDriveIconAction, SetDriveIconInput, SetDriveNameAction, SetDriveNameInput, SetInitialStateAction, SetInitialStateInput, SetModelDescriptionAction, SetModelDescriptionInput, SetModelExtensionAction, SetModelExtensionInput, SetModelIdAction, SetModelIdInput, SetModelNameAction, SetModelNameInput, SetModuleDescriptionAction, SetModuleDescriptionInput, SetModuleNameAction, SetModuleNameInput, SetNameAction, SetNameActionInput, SetNameOperation, SetOperationDescriptionAction, SetOperationDescriptionInput, SetOperationErrorCodeAction, SetOperationErrorCodeInput, SetOperationErrorDescriptionAction, SetOperationErrorDescriptionInput, SetOperationErrorNameAction, SetOperationErrorNameInput, SetOperationErrorTemplateAction, SetOperationErrorTemplateInput, SetOperationNameAction, SetOperationNameInput, SetOperationReducerAction, SetOperationReducerInput, SetOperationSchemaAction, SetOperationSchemaInput, SetOperationScopeAction, SetOperationScopeInput, SetOperationTemplateAction, SetOperationTemplateInput, SetSharingTypeAction, SetSharingTypeInput, SetStateSchemaAction, SetStateSchemaInput, Set_Name, SharingType, Signal, SignalDispatch, SignalResult, SignalResults, SignalType, SignatureVerificationHandler, SigningParameters, SkipHeaderOperationIndex, SkipHeaderOperations, State, StateReducer, SubgraphModule, TrackedProcessor, TransmitterType, Trigger, TriggerData, TriggerInput, TriggerType, Undo, UndoAction, UndoActionInput, UndoRedoAction, UpdateChangeLogItemAction, UpdateChangeLogItemInput, UpdateFileAction, UpdateFileInput, UpdateNodeAction, UpdateNodeInput, UpdateOperationExampleAction, UpdateOperationExampleInput, UpdateStateExampleAction, UpdateStateExampleInput, UpgradeDocumentAction, UpgradeDocumentActionInput, User, ValidationError };
@@ -1,2 +1,2 @@
1
- import { $s as ProcessorApps, Bs as HashAlgorithms, Fs as createNamespacedQueryBuilder, Gs as IRelationalQueryMethods, Hs as IRelationalDb, Is as createRelationalDb, Js as IProcessor, Ks as RelationalDbProcessor, Ls as hashNamespace, Ps as createNamespacedDb, Qs as ProcessorApp, Rs as relationalDbToQueryBuilder, Us as IRelationalDbProcessor, Vs as IBaseRelationalDb, Ws as IRelationalQueryBuilder, Xs as IProcessorHostModule, Ys as IProcessorDispatch, Zs as IProcessorManager, ac as ProcessorStatus, cc as DEFAULT_RELATIONAL_PROCESSOR_DB_NAME, ec as ProcessorDispatchResult, ic as ProcessorRecord, lc as PROCESSOR_APPS, nc as ProcessorFactoryBuilder, oc as TrackedProcessor, qs as RelationalDbProcessorClass, rc as ProcessorFilter, sc as DEFAULT_ANALYTICS_PROCESSOR_DB_NAME, tc as ProcessorFactory, zs as ExtractProcessorSchemaOrSelf } from "../actions-9awJNUSB.js";
1
+ import { Al as ProcessorStatus, Cl as ProcessorApp, Dl as ProcessorFactoryBuilder, El as ProcessorFactory, Ml as DEFAULT_ANALYTICS_PROCESSOR_DB_NAME, Nl as DEFAULT_RELATIONAL_PROCESSOR_DB_NAME, Ol as ProcessorFilter, Pl as PROCESSOR_APPS, Sl as IProcessorManager, Tl as ProcessorDispatchResult, _l as RelationalDbProcessor, al as createNamespacedDb, bl as IProcessorDispatch, cl as hashNamespace, dl as HashAlgorithms, fl as IBaseRelationalDb, gl as IRelationalQueryMethods, hl as IRelationalQueryBuilder, jl as TrackedProcessor, kl as ProcessorRecord, ll as relationalDbToQueryBuilder, ml as IRelationalDbProcessor, ol as createNamespacedQueryBuilder, pl as IRelationalDb, sl as createRelationalDb, ul as ExtractProcessorSchemaOrSelf, vl as RelationalDbProcessorClass, wl as ProcessorApps, xl as IProcessorHostModule, yl as IProcessor } from "../actions-OP2hCkXB.js";
2
2
  export { DEFAULT_ANALYTICS_PROCESSOR_DB_NAME, DEFAULT_RELATIONAL_PROCESSOR_DB_NAME, ExtractProcessorSchemaOrSelf, HashAlgorithms, IBaseRelationalDb, IProcessor, IProcessorDispatch, IProcessorHostModule, IProcessorManager, IRelationalDb, IRelationalDbProcessor, IRelationalQueryBuilder, IRelationalQueryMethods, PROCESSOR_APPS, ProcessorApp, ProcessorApps, ProcessorDispatchResult, ProcessorFactory, ProcessorFactoryBuilder, ProcessorFilter, ProcessorRecord, ProcessorStatus, RelationalDbProcessor, RelationalDbProcessorClass, TrackedProcessor, createNamespacedDb, createNamespacedQueryBuilder, createRelationalDb, hashNamespace, relationalDbToQueryBuilder };
@@ -1,4 +1,4 @@
1
- import { B as RegistryPackageStatus, F as PackageInfo, I as RegistryPackage, L as RegistryPackageList, R as RegistryPackageMap, kt as DEFAULT_REGISTRY_URL, z as RegistryPackageSource } from "../types-Dd4sfL9W.js";
1
+ import { B as RegistryPackageStatus, F as PackageInfo, I as RegistryPackage, L as RegistryPackageList, R as RegistryPackageMap, kt as DEFAULT_REGISTRY_URL, z as RegistryPackageSource } from "../types-DyUYj_J_.js";
2
2
 
3
3
  //#region registry/registry.d.ts
4
4
  interface ResolveRegistryUrlOptions {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../clis/constants.ts","../../clis/file-system/get-config.ts","../../clis/file-system/spawn-async.ts","../../registry/registry.ts"],"sourcesContent":["import { homedir } from \"node:os\";\nimport { join } from \"node:path\";\nimport type { PowerhouseConfig } from \"./types.js\";\n\nexport const SERVICE_ACTIONS = [\n \"start\",\n \"stop\",\n \"status\",\n \"setup\",\n \"restart\",\n] as const;\n\nexport const SECONDS_IN_DAY = 24 * 60 * 60;\nexport const DEFAULT_EXPIRY_DAYS = 7;\nexport const DEFAULT_EXPIRY_SECONDS = DEFAULT_EXPIRY_DAYS * SECONDS_IN_DAY;\n\nexport const DRIVES_PRESERVE_STRATEGIES = [\n \"preserve-all\",\n \"preserve-by-url-and-detach\",\n] as const;\n\nexport const LOG_LEVELS = [\n \"debug\",\n \"info\",\n \"warn\",\n \"error\",\n \"verbose\",\n] as const;\n\nexport const DEFAULT_TIMEOUT = 300 as const;\n\nexport const DEFAULT_CONNECT_STUDIO_PORT = 3000 as const;\n\nexport const DEFAULT_VETRA_CONNECT_PORT = 3001 as const;\n\nexport const DEFAULT_CONNECT_PREVIEW_PORT = 4173 as const;\n\nexport const DEFAULT_CONNECT_OUTDIR = \".ph/connect-build/dist/\" as const;\n\nexport const DEFAULT_RENOWN_URL = \"https://www.renown.id\" as const;\n\nexport const DEFAULT_REGISTRY_URL = \"https://registry.dev.vetra.io\" as const;\n\nexport const DEFAULT_SWITCHBOARD_PORT = 4001 as const;\n\nexport const DEFAULT_VETRA_DRIVE_ID = \"vetra\" as const;\n\nexport const MINIMUM_NODE_VERSION = \"24.0.0\" as const;\nexport const PH_BIN = \"ph-cli-legacy\" as const;\nexport const POWERHOUSE_CONFIG_FILE = \"powerhouse.config.json\" as const;\nexport const PH_GLOBAL_DIR_NAME = \".ph\" as const;\n// Keep PH_GLOBAL_PROJECT_NAME for backwards compatibility\nexport const PH_GLOBAL_PROJECT_NAME = PH_GLOBAL_DIR_NAME;\n\nexport const HOME_DIR = homedir();\n\nexport const POWERHOUSE_GLOBAL_DIR = join(HOME_DIR, PH_GLOBAL_DIR_NAME);\n\nexport const VERSIONED_DEPENDENCIES = [\n \"document-model\",\n \"@powerhousedao/design-system\",\n \"@powerhousedao/reactor-api\",\n \"@powerhousedao/reactor-browser\",\n \"@powerhousedao/connect\",\n \"@powerhousedao/analytics-engine-core\",\n];\n\nexport const VERSIONED_DEV_DEPENDENCIES = [\n \"@powerhousedao/ph-cli\",\n \"@powerhousedao/reactor\",\n];\n\nconst DEFAULT_DOCUMENT_MODELS_DIR = \"./document-models\";\nconst DEFAULT_EDITORS_DIR = \"./editors\";\nconst DEFAULT_PROCESSORS_DIR = \"./processors\";\nconst DEFAULT_SUBGRAPHS_DIR = \"./subgraphs\";\nconst DEFAULT_IMPORT_SCRIPTS_DIR = \"./scripts\";\nconst DEFAULT_SKIP_FORMAT = false;\nconst DEFAULT_LOG_LEVEL = \"info\";\n\nexport const DEFAULT_CONFIG: PowerhouseConfig = {\n documentModelsDir: DEFAULT_DOCUMENT_MODELS_DIR,\n editorsDir: DEFAULT_EDITORS_DIR,\n processorsDir: DEFAULT_PROCESSORS_DIR,\n subgraphsDir: DEFAULT_SUBGRAPHS_DIR,\n importScriptsDir: DEFAULT_IMPORT_SCRIPTS_DIR,\n skipFormat: DEFAULT_SKIP_FORMAT,\n logLevel: DEFAULT_LOG_LEVEL,\n auth: {\n enabled: false,\n admins: [],\n },\n};\n","import { readFileSync } from \"node:fs\";\nimport { DEFAULT_CONFIG } from \"../constants.js\";\nimport type { PowerhouseConfig } from \"../types.js\";\n\nexport function getConfig(path = \"./powerhouse.config.json\") {\n let config: PowerhouseConfig = { ...DEFAULT_CONFIG };\n try {\n const configStr = readFileSync(path, \"utf-8\");\n const userConfig = JSON.parse(configStr) as PowerhouseConfig;\n config = { ...config, ...userConfig };\n } catch {\n // console.warn(\"No powerhouse.config.json found, using defaults\");\n }\n\n return config;\n}\n","import { spawn } from \"node:child_process\";\n\nexport function spawnAsync(\n command: string,\n args: string[],\n options: {\n cwd?: string;\n env?: NodeJS.ProcessEnv;\n } = {},\n): Promise<string> {\n return new Promise((resolve, reject) => {\n const cmd =\n process.platform === \"win32\" && command === \"npm\" ? \"npm.cmd\" : command;\n\n const child = spawn(cmd, args, {\n cwd: options.cwd,\n env: options.env,\n stdio: [\"ignore\", \"pipe\", \"pipe\"],\n });\n\n let stdout = \"\";\n let stderr = \"\";\n\n child.stdout.on(\"data\", (d: Buffer) => {\n stdout += d.toString();\n });\n\n child.stderr.on(\"data\", (d: Buffer) => {\n stderr += d.toString();\n });\n\n child.on(\"error\", reject);\n\n child.on(\"close\", (code) => {\n if (code === 0) {\n resolve(stdout.trim());\n } else {\n reject(\n new Error(stderr.trim() || `${command} exited with code ${code}`),\n );\n }\n });\n });\n}\n","import { join } from \"node:path\";\nimport {\n DEFAULT_REGISTRY_URL,\n POWERHOUSE_CONFIG_FILE,\n} from \"../clis/constants.js\";\nimport { getConfig } from \"../clis/file-system/get-config.js\";\nimport { spawnAsync } from \"../clis/file-system/spawn-async.js\";\n\nexport { DEFAULT_REGISTRY_URL } from \"../clis/constants.js\";\n\nexport interface ResolveRegistryUrlOptions {\n /** Explicit registry URL (e.g. from --registry flag). Highest priority. */\n registry?: string;\n /** Project path to read powerhouse.config.json from. */\n projectPath: string;\n /** Environment variables. Defaults to process.env. */\n env?: Record<string, string | undefined>;\n}\n\n/**\n * Resolve the registry URL with priority: flag > env > config > default.\n */\nexport function resolveRegistryUrl(options: ResolveRegistryUrlOptions): string {\n const { registry, projectPath, env = process.env } = options;\n const configPath = join(projectPath, POWERHOUSE_CONFIG_FILE);\n const config = getConfig(configPath);\n\n return (\n registry ??\n env.PH_REGISTRY_URL ??\n config.packageRegistryUrl ??\n DEFAULT_REGISTRY_URL\n );\n}\n\n/**\n * Check if the user is authenticated with the given npm registry.\n * Returns the username on success, throws on failure.\n */\nexport async function checkNpmAuth(registryUrl: string): Promise<string> {\n return spawnAsync(\"npm\", [\"whoami\", \"--registry\", registryUrl]);\n}\n\nexport interface NpmPublishOptions {\n /** Registry URL to publish to. */\n registryUrl: string;\n /** Working directory (project root). */\n cwd: string;\n /** Additional arguments forwarded to npm publish. */\n args?: string[];\n}\n\nexport interface NpmPublishResult {\n /** stdout from npm publish. */\n stdout: string;\n}\n\n/**\n * Run `npm publish` against the given registry.\n * Uses spawn with args array to avoid shell injection.\n */\nexport async function npmPublish(\n options: NpmPublishOptions,\n): Promise<NpmPublishResult> {\n const { registryUrl, cwd, args = [] } = options;\n const npmArgs = [\"publish\", \"--registry\", registryUrl, ...args];\n const stdout = await spawnAsync(\"npm\", npmArgs, { cwd });\n return { stdout };\n}\n"],"mappings":";;;;AAyCA,MAAa,uBAAuB;AAQpC,MAAa,yBAAyB;AAOD,KAFb,SAAS,EAES,MAA6B;AAwBvE,MAAa,iBAAmC;CAC9C,mBATkC;CAUlC,YAT0B;CAU1B,eAT6B;CAU7B,cAT4B;CAU5B,kBATiC;CAUjC,YAT0B;CAU1B,UATwB;CAUxB,MAAM;EACJ,SAAS;EACT,QAAQ,EAAE;EACX;CACF;;;ACxFD,SAAgB,UAAU,OAAO,4BAA4B;CAC3D,IAAI,SAA2B,EAAE,GAAG,gBAAgB;AACpD,KAAI;EACF,MAAM,YAAY,aAAa,MAAM,QAAQ;EAC7C,MAAM,aAAa,KAAK,MAAM,UAAU;AACxC,WAAS;GAAE,GAAG;GAAQ,GAAG;GAAY;SAC/B;AAIR,QAAO;;;;ACZT,SAAgB,WACd,SACA,MACA,UAGI,EAAE,EACW;AACjB,QAAO,IAAI,SAAS,SAAS,WAAW;EAItC,MAAM,QAAQ,MAFZ,QAAQ,aAAa,WAAW,YAAY,QAAQ,YAAY,SAEzC,MAAM;GAC7B,KAAK,QAAQ;GACb,KAAK,QAAQ;GACb,OAAO;IAAC;IAAU;IAAQ;IAAO;GAClC,CAAC;EAEF,IAAI,SAAS;EACb,IAAI,SAAS;AAEb,QAAM,OAAO,GAAG,SAAS,MAAc;AACrC,aAAU,EAAE,UAAU;IACtB;AAEF,QAAM,OAAO,GAAG,SAAS,MAAc;AACrC,aAAU,EAAE,UAAU;IACtB;AAEF,QAAM,GAAG,SAAS,OAAO;AAEzB,QAAM,GAAG,UAAU,SAAS;AAC1B,OAAI,SAAS,EACX,SAAQ,OAAO,MAAM,CAAC;OAEtB,QACE,IAAI,MAAM,OAAO,MAAM,IAAI,GAAG,QAAQ,oBAAoB,OAAO,CAClE;IAEH;GACF;;;;;;;ACpBJ,SAAgB,mBAAmB,SAA4C;CAC7E,MAAM,EAAE,UAAU,aAAa,MAAM,QAAQ,QAAQ;CAErD,MAAM,SAAS,UADI,KAAK,aAAa,uBAAuB,CACxB;AAEpC,QACE,YACA,IAAI,mBACJ,OAAO,sBAAA;;;;;;AASX,eAAsB,aAAa,aAAsC;AACvE,QAAO,WAAW,OAAO;EAAC;EAAU;EAAc;EAAY,CAAC;;;;;;AAqBjE,eAAsB,WACpB,SAC2B;CAC3B,MAAM,EAAE,aAAa,KAAK,OAAO,EAAE,KAAK;AAGxC,QAAO,EAAE,QADM,MAAM,WAAW,OADhB;EAAC;EAAW;EAAc;EAAa,GAAG;EAAK,EACf,EAAE,KAAK,CAAC,EACvC"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../clis/constants.ts","../../clis/file-system/get-config.ts","../../clis/file-system/spawn-async.ts","../../registry/registry.ts"],"sourcesContent":["import { homedir } from \"node:os\";\nimport { join } from \"node:path\";\nimport type { PowerhouseConfig } from \"./types.js\";\n\nexport const SERVICE_ACTIONS = [\n \"start\",\n \"stop\",\n \"status\",\n \"setup\",\n \"restart\",\n] as const;\n\nexport const SECONDS_IN_DAY = 24 * 60 * 60;\nexport const DEFAULT_EXPIRY_DAYS = 7;\nexport const DEFAULT_EXPIRY_SECONDS = DEFAULT_EXPIRY_DAYS * SECONDS_IN_DAY;\n\nexport const DRIVES_PRESERVE_STRATEGIES = [\n \"preserve-all\",\n \"preserve-by-url-and-detach\",\n] as const;\n\nexport const LOG_LEVELS = [\n \"debug\",\n \"info\",\n \"warn\",\n \"error\",\n \"verbose\",\n] as const;\n\nexport const DEFAULT_TIMEOUT = 300 as const;\n\nexport const DEFAULT_CONNECT_STUDIO_PORT = 3000 as const;\n\nexport const DEFAULT_VETRA_CONNECT_PORT = 3001 as const;\n\nexport const DEFAULT_CONNECT_PREVIEW_PORT = 4173 as const;\n\nexport const DEFAULT_CONNECT_OUTDIR = \".ph/connect-build/dist/\" as const;\n\nexport const DEFAULT_RENOWN_URL = \"https://www.renown.id\" as const;\n\nexport const DEFAULT_REGISTRY_URL = \"https://registry.dev.vetra.io\" as const;\n\nexport const DEFAULT_SWITCHBOARD_PORT = 4001 as const;\n\nexport const DEFAULT_VETRA_DRIVE_ID = \"vetra\" as const;\n\nexport const MINIMUM_NODE_VERSION = \"24.0.0\" as const;\nexport const PH_BIN = \"ph-cli-legacy\" as const;\nexport const POWERHOUSE_CONFIG_FILE = \"powerhouse.config.json\" as const;\nexport const PH_GLOBAL_DIR_NAME = \".ph\" as const;\n// Keep PH_GLOBAL_PROJECT_NAME for backwards compatibility\nexport const PH_GLOBAL_PROJECT_NAME = PH_GLOBAL_DIR_NAME;\n\nexport const HOME_DIR = homedir();\n\nexport const POWERHOUSE_GLOBAL_DIR = join(HOME_DIR, PH_GLOBAL_DIR_NAME);\n\nexport const VERSIONED_DEPENDENCIES = [\n \"document-model\",\n \"@powerhousedao/design-system\",\n \"@powerhousedao/reactor-api\",\n \"@powerhousedao/reactor-browser\",\n \"@powerhousedao/connect\",\n \"@powerhousedao/shared\",\n \"@powerhousedao/analytics-engine-core\",\n];\n\nexport const VERSIONED_DEV_DEPENDENCIES = [\n \"@powerhousedao/ph-cli\",\n \"@powerhousedao/reactor\",\n];\n\nconst DEFAULT_DOCUMENT_MODELS_DIR = \"./document-models\";\nconst DEFAULT_EDITORS_DIR = \"./editors\";\nconst DEFAULT_PROCESSORS_DIR = \"./processors\";\nconst DEFAULT_SUBGRAPHS_DIR = \"./subgraphs\";\nconst DEFAULT_IMPORT_SCRIPTS_DIR = \"./scripts\";\nconst DEFAULT_SKIP_FORMAT = false;\nconst DEFAULT_LOG_LEVEL = \"info\";\n\nexport const DEFAULT_CONFIG: PowerhouseConfig = {\n documentModelsDir: DEFAULT_DOCUMENT_MODELS_DIR,\n editorsDir: DEFAULT_EDITORS_DIR,\n processorsDir: DEFAULT_PROCESSORS_DIR,\n subgraphsDir: DEFAULT_SUBGRAPHS_DIR,\n importScriptsDir: DEFAULT_IMPORT_SCRIPTS_DIR,\n skipFormat: DEFAULT_SKIP_FORMAT,\n logLevel: DEFAULT_LOG_LEVEL,\n auth: {\n enabled: false,\n admins: [],\n },\n};\n","import { readFileSync } from \"node:fs\";\nimport { DEFAULT_CONFIG } from \"../constants.js\";\nimport type { PowerhouseConfig } from \"../types.js\";\n\nexport function getConfig(path = \"./powerhouse.config.json\") {\n let config: PowerhouseConfig = { ...DEFAULT_CONFIG };\n try {\n const configStr = readFileSync(path, \"utf-8\");\n const userConfig = JSON.parse(configStr) as PowerhouseConfig;\n config = { ...config, ...userConfig };\n } catch {\n // console.warn(\"No powerhouse.config.json found, using defaults\");\n }\n\n return config;\n}\n","import { spawn } from \"node:child_process\";\n\nexport function spawnAsync(\n command: string,\n args: string[],\n options: {\n cwd?: string;\n env?: NodeJS.ProcessEnv;\n } = {},\n): Promise<string> {\n return new Promise((resolve, reject) => {\n const cmd =\n process.platform === \"win32\" && command === \"npm\" ? \"npm.cmd\" : command;\n\n const child = spawn(cmd, args, {\n cwd: options.cwd,\n env: options.env,\n stdio: [\"ignore\", \"pipe\", \"pipe\"],\n });\n\n let stdout = \"\";\n let stderr = \"\";\n\n child.stdout.on(\"data\", (d: Buffer) => {\n stdout += d.toString();\n });\n\n child.stderr.on(\"data\", (d: Buffer) => {\n stderr += d.toString();\n });\n\n child.on(\"error\", reject);\n\n child.on(\"close\", (code) => {\n if (code === 0) {\n resolve(stdout.trim());\n } else {\n reject(\n new Error(stderr.trim() || `${command} exited with code ${code}`),\n );\n }\n });\n });\n}\n","import { join } from \"node:path\";\nimport {\n DEFAULT_REGISTRY_URL,\n POWERHOUSE_CONFIG_FILE,\n} from \"../clis/constants.js\";\nimport { getConfig } from \"../clis/file-system/get-config.js\";\nimport { spawnAsync } from \"../clis/file-system/spawn-async.js\";\n\nexport { DEFAULT_REGISTRY_URL } from \"../clis/constants.js\";\n\nexport interface ResolveRegistryUrlOptions {\n /** Explicit registry URL (e.g. from --registry flag). Highest priority. */\n registry?: string;\n /** Project path to read powerhouse.config.json from. */\n projectPath: string;\n /** Environment variables. Defaults to process.env. */\n env?: Record<string, string | undefined>;\n}\n\n/**\n * Resolve the registry URL with priority: flag > env > config > default.\n */\nexport function resolveRegistryUrl(options: ResolveRegistryUrlOptions): string {\n const { registry, projectPath, env = process.env } = options;\n const configPath = join(projectPath, POWERHOUSE_CONFIG_FILE);\n const config = getConfig(configPath);\n\n return (\n registry ??\n env.PH_REGISTRY_URL ??\n config.packageRegistryUrl ??\n DEFAULT_REGISTRY_URL\n );\n}\n\n/**\n * Check if the user is authenticated with the given npm registry.\n * Returns the username on success, throws on failure.\n */\nexport async function checkNpmAuth(registryUrl: string): Promise<string> {\n return spawnAsync(\"npm\", [\"whoami\", \"--registry\", registryUrl]);\n}\n\nexport interface NpmPublishOptions {\n /** Registry URL to publish to. */\n registryUrl: string;\n /** Working directory (project root). */\n cwd: string;\n /** Additional arguments forwarded to npm publish. */\n args?: string[];\n}\n\nexport interface NpmPublishResult {\n /** stdout from npm publish. */\n stdout: string;\n}\n\n/**\n * Run `npm publish` against the given registry.\n * Uses spawn with args array to avoid shell injection.\n */\nexport async function npmPublish(\n options: NpmPublishOptions,\n): Promise<NpmPublishResult> {\n const { registryUrl, cwd, args = [] } = options;\n const npmArgs = [\"publish\", \"--registry\", registryUrl, ...args];\n const stdout = await spawnAsync(\"npm\", npmArgs, { cwd });\n return { stdout };\n}\n"],"mappings":";;;;AAyCA,MAAa,uBAAuB;AAQpC,MAAa,yBAA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;;;;;AASX,eAAsB,aAAa,aAAsC;AACvE,QAAO,WAAW,OAAO;EAAC;EAAU;EAAc;EAAY,CAAC;;;;;;AAqBjE,eAAsB,WACpB,SAC2B;CAC3B,MAAM,EAAE,aAAa,KAAK,OAAO,EAAE,KAAK;AAGxC,QAAO,EAAE,QADM,MAAM,WAAW,OADhB;EAAC;EAAW;EAAc;EAAa,GAAG;EAAK,EACf,EAAE,KAAK,CAAC,EACvC"}
@@ -1,4 +1,4 @@
1
- import { Ei as Maybe, Nr as DocumentModelModule, fi as InputMaybe, os as SignalDispatch, pn as PHBaseState, so as Scalars, t as Action, vt as PHDocument, wi as Manifest } from "./actions-9awJNUSB.js";
1
+ import { Ei as Maybe, Nr as DocumentModelModule, fi as InputMaybe, os as SignalDispatch, pn as PHBaseState, so as Scalars, t as Action, vt as PHDocument, wi as Manifest } from "./actions-OP2hCkXB.js";
2
2
  import * as cmd_ts_dist_cjs_argparser_js0 from "cmd-ts/dist/cjs/argparser.js";
3
3
  import { ArgParser } from "cmd-ts/dist/cjs/argparser.js";
4
4
  import * as cmd_ts_dist_cjs_helpdoc_js0 from "cmd-ts/dist/cjs/helpdoc.js";
@@ -407,4 +407,4 @@ type UpdateNodeInput = {
407
407
  };
408
408
  //#endregion
409
409
  export { AddFolderAction as $, TriggerData as A, RegistryPackageStatus as B, RemoveTriggerInput as C, ParsedCmdResult as Ct, SetSharingTypeInput as D, ServiceAction as Dt, SetDriveNameInput as E, PowerhousePackage as Et, PackageInfo as F, GenerateNodesCopySrc as G, DriveDocumentModelModule as H, RegistryPackage as I, DocumentDriveDocument as J, SharingType as K, RegistryPackageList as L, TriggerType as M, UpdateFileInput as N, TransmitterType as O, ServiceActions as Ot, UpdateNodeInput as P, AddFileAction as Q, RegistryPackageMap as R, RemoveListenerInput as S, PackageManagerArgs as St, SetDriveIconInput as T, PowerhouseConfig as Tt, DriveInput as U, DocumentDrivePHState$1 as V, GenerateNodesCopyIdGenerator as W, LegacyAddFileInput as X, LegacyAddFileAction as Y, LegacySynchronizationUnit as Z, ListenerInput as _, DrivePreserveStrategies as _t, CopyNodeInput as a, UpdateFileAction as at, PullResponderTriggerData as b, LogLevels as bt, DocumentDriveLocalState$1 as c, AddTriggerAction as ct, FolderNode as d, RemoveListenerAction as dt, CopyNodeAction as et, Listener as f, RemoveTriggerAction as ft, ListenerFilterInput as g, SetSharingTypeAction as gt, ListenerFilter as h, SetDriveNameAction as ht, AddTriggerInput as i, MoveNodeAction as it, TriggerInput as j, Trigger as k, DEFAULT_REGISTRY_URL as kt, DocumentDrivePHState as l, DocumentDriveDriveAction as lt, ListenerCallInfoInput as m, SetDriveIconAction as mt, AddFolderInput as n, DocumentDriveNodeAction as nt, DeleteNodeInput as o, UpdateNodeAction as ot, ListenerCallInfo as p, SetAvailableOfflineAction as pt, DocumentDriveAction as q, AddListenerInput as r, DocumentDriveNodeOperations as rt, DocumentDriveGlobalState as s, AddListenerAction as st, AddFileInput as t, DeleteNodeAction as tt, FileNode as u, DocumentDriveDriveOperations as ut, MoveNodeInput as v, DrivePreserveStrategy as vt, SetAvailableOfflineInput as w, PathValidation as wt, PullResponderTriggerDataInput as x, PHPackageProvider as xt, Node$1 as y, LogLevel as yt, RegistryPackageSource as z };
410
- //# sourceMappingURL=types-Dd4sfL9W.d.ts.map
410
+ //# sourceMappingURL=types-DyUYj_J_.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types-Dd4sfL9W.d.ts","names":[],"sources":["../clis/args/common.ts","../clis/constants.ts","../clis/types.ts","../document-drive/gen/drive/actions.ts","../document-drive/gen/node/actions.ts","../document-drive/gen/types.ts","../document-drive/src/types.ts","../document-drive/types.ts","../registry/types.ts","../document-drive/gen/schema/types.ts"],"mappings":";;;;;;;;;cAoEa,wBAAA,EAAwB,OAAA,CAInC,6BAAA,CAJmC,QAAA;iBAAA,6BAAA,CAAA,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cChExB,eAAA;AAAA,cAYA,0BAAA;AAAA,cAK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A,EAAW,OAAA;AAAA;AAAA,KAGD,wBAAA;EACV,gBAAA,EAAkB,OAAA;AAAA;AAAA,KAGR,iBAAA;EACV,IAAA,EAAM,OAAA;AAAA;AAAA,KAGI,iBAAA;EACV,IAAA,EAAM,OAAA;AAAA;AAAA,KAGI,mBAAA;EACV,IAAA,EAAM,OAAA;AAAA;AAAA,KAGI,eAAA;AAAA,KAQA,OAAA;EACV,IAAA,EAAM,KAAA,CAAM,WAAA;EACZ,EAAA,EAAI,OAAA;EACJ,IAAA,EAAM,WAAA;AAAA;AAAA,KAGI,YAAA;EACV,IAAA,GAAO,UAAA,CAAW,6BAAA;EAClB,EAAA,EAAI,OAAA;EACJ,IAAA,EAAM,WAAA;AAAA;AAAA,KAGI,WAAA,GAAc,wBAAA;AAAA,KAEd,WAAA;AAAA,KAEA,eAAA;EACV,YAAA,GAAe,UAAA,CAAW,OAAA;EAC1B,EAAA,EAAI,OAAA;EACJ,IAAA,GAAO,UAAA,CAAW,OAAA;EAClB,YAAA,GAAe,UAAA,CAAW,OAAA;AAAA;AAAA,KAGhB,eAAA;EACV,EAAA,EAAI,OAAA;EACJ,IAAA,GAAO,UAAA,CAAW,OAAA;EAClB,YAAA,GAAe,UAAA,CAAW,OAAA;AAAA"}
1
+ {"version":3,"file":"types-DyUYj_J_.d.ts","names":[],"sources":["../clis/args/common.ts","../clis/constants.ts","../clis/types.ts","../document-drive/gen/drive/actions.ts","../document-drive/gen/node/actions.ts","../document-drive/gen/types.ts","../document-drive/src/types.ts","../document-drive/types.ts","../registry/types.ts","../document-drive/gen/schema/types.ts"],"mappings":";;;;;;;;;cAoEa,wBAAA,EAAwB,OAAA,CAInC,6BAAA,CAJmC,QAAA;iBAAA,6BAAA,CAAA,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cChExB,eAAA;AAAA,cAYA,0BAAA;AAAA,cAKA,UAAA;AAAA,cAoBA,oBAAA;;;KCjCD,cAAA,UAAwB,eAAA;AAAA,KACxB,aAAA,GA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AGR,iBAAA;EACV,IAAA,EAAM,OAAA;AAAA;AAAA,KAGI,iBAAA;EACV,IAAA,EAAM,OAAA;AAAA;AAAA,KAGI,mBAAA;EACV,IAAA,EAAM,OAAA;AAAA;AAAA,KAGI,eAAA;AAAA,KAQA,OAAA;EACV,IAAA,EAAM,KAAA,CAAM,WAAA;EACZ,EAAA,EAAI,OAAA;EACJ,IAAA,EAAM,WAAA;AAAA;AAAA,KAGI,YAAA;EACV,IAAA,GAAO,UAAA,CAAW,6BAAA;EAClB,EAAA,EAAI,OAAA;EACJ,IAAA,EAAM,WAAA;AAAA;AAAA,KAGI,WAAA,GAAc,wBAAA;AAAA,KAEd,WAAA;AAAA,KAEA,eAAA;EACV,YAAA,GAAe,UAAA,CAAW,OAAA;EAC1B,EAAA,EAAI,OAAA;EACJ,IAAA,GAAO,UAAA,CAAW,OAAA;EAClB,YAAA,GAAe,UAAA,CAAW,OAAA;AAAA;AAAA,KAGhB,eAAA;EACV,EAAA,EAAI,OAAA;EACJ,IAAA,GAAO,UAAA,CAAW,OAAA;EAClB,YAAA,GAAe,UAAA,CAAW,OAAA;AAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerhousedao/shared",
3
- "version": "6.0.0-dev.191",
3
+ "version": "6.0.0-dev.192",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"