@codemation/host 0.2.1 → 0.2.2
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/CHANGELOG.md +16 -0
- package/dist/{AppConfigFactory-j1Mc-dIX.d.ts → AppConfigFactory-DeULdLzi.d.ts} +3 -3
- package/dist/{CodemationAppContext-Vtn0U2Ga.d.ts → CodemationAppContext-DZt_ZwXH.d.ts} +2 -2
- package/dist/{CodemationAuthoring.types-CXubuYvd.d.ts → CodemationAuthoring.types-CT6Kp1vK.d.ts} +13 -7
- package/dist/{CodemationConfigNormalizer-kJmyHNDp.d.ts → CodemationConfigNormalizer-C2CJnmKY.d.ts} +2 -2
- package/dist/{CodemationConsumerConfigLoader-BvTE-7tX.d.ts → CodemationConsumerConfigLoader-kijLkRtF.d.ts} +2 -2
- package/dist/{CodemationPluginListMerger-DegwsxrS.d.ts → CodemationPluginListMerger-Z-qsxAS9.d.ts} +5 -5
- package/dist/{CredentialServices-GlBk2nL7.d.ts → CredentialServices-CGS_E7O-.d.ts} +3 -3
- package/dist/{PublicFrontendBootstrapFactory-r61MeSpZ.d.ts → PublicFrontendBootstrapFactory-CYBuZerA.d.ts} +2 -2
- package/dist/authoring.d.ts +3 -3
- package/dist/consumer.d.ts +4 -4
- package/dist/credentials.d.ts +3 -3
- package/dist/devServerSidecar.d.ts +1 -1
- package/dist/{index-SKC6oys-.d.ts → index-DMedRrli.d.ts} +83 -8
- package/dist/index.d.ts +11 -11
- package/dist/nextServer.d.ts +7 -7
- package/dist/{persistenceServer-D89nDslh.d.ts → persistenceServer-DdIyEFHH.d.ts} +2 -2
- package/dist/persistenceServer.d.ts +5 -5
- package/dist/{server-CUo7My6x.d.ts → server-Bd7_dgBB.d.ts} +5 -5
- package/dist/server.d.ts +8 -8
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @codemation/host
|
|
2
2
|
|
|
3
|
+
## 0.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#73](https://github.com/MadeRelevant/codemation/pull/73) [`418434a`](https://github.com/MadeRelevant/codemation/commit/418434a6a2ad88a6254a94cb70e6f14b886df348) Thanks [@cblokland90](https://github.com/cblokland90)! - Improve credential UX and add extensible advanced field presentation.
|
|
8
|
+
- Run automatic credential health tests after create/save (including OAuth) and keep the dialog open when the test fails; auto-bind newly created credentials to empty workflow slots; auto-bind when picking an existing credential from the workflow slot dropdown while the slot is unbound.
|
|
9
|
+
- Add `CredentialFieldSchema.visibility` (`default` | `advanced`) and optional `CredentialTypeDefinition.advancedSection` (advanced fields always render in a collapsible block; section labels default when omitted). Next host uses stable test ids and fixes collapsible chevron styling.
|
|
10
|
+
- Credential dialog: title uses the credential type name (e.g. **Add …** / type display name on edit); hide the redundant type dropdown in edit mode.
|
|
11
|
+
- Gmail OAuth: group Client ID with Client secret, move scope preset and custom scopes under an **OAuth scopes** advanced section (collapsed by default).
|
|
12
|
+
- Documentation: `packages/core/docs/credential-ui-fields.md`, AGENTS.md, and credential development skill reference.
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`3044e73`](https://github.com/MadeRelevant/codemation/commit/3044e73fd3cfb33f8e2cbc579c10baf97ed94658), [`418434a`](https://github.com/MadeRelevant/codemation/commit/418434a6a2ad88a6254a94cb70e6f14b886df348), [`3774fd8`](https://github.com/MadeRelevant/codemation/commit/3774fd80bc357c7eb39957f6963c692f322c38eb), [`00bc135`](https://github.com/MadeRelevant/codemation/commit/00bc1351e2dd6222d5101dbff3602a76ead33ce1), [`26ebe63`](https://github.com/MadeRelevant/codemation/commit/26ebe6346db0e9133a2133435a463c3dcd2dc537)]:
|
|
15
|
+
- @codemation/core@0.6.0
|
|
16
|
+
- @codemation/core-nodes@0.2.0
|
|
17
|
+
- @codemation/eventbus-redis@0.0.28
|
|
18
|
+
|
|
3
19
|
## 0.2.1
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as AppPersistenceConfig, r as AppConfig } from "./CodemationAppContext-
|
|
2
|
-
import { t as NormalizedCodemationConfig } from "./CodemationConfigNormalizer-
|
|
1
|
+
import { i as AppPersistenceConfig, r as AppConfig } from "./CodemationAppContext-DZt_ZwXH.js";
|
|
2
|
+
import { t as NormalizedCodemationConfig } from "./CodemationConfigNormalizer-C2CJnmKY.js";
|
|
3
3
|
import { AnyNull, AnyNullClass, DbNull, DbNullClass, Decimal, JsonNull, JsonNullClass, NullTypes as NullTypes$1, ObjectEnumValue, PrismaClientInitializationError, PrismaClientKnownRequestError, PrismaClientRustPanicError, PrismaClientUnknownRequestError, PrismaClientValidationError, RawValue, Sql, Value, empty, isAnyNull, isDbNull, isJsonNull, isObjectEnumValue, join, raw, sql as sqltag } from "@prisma/client-runtime-utils";
|
|
4
4
|
|
|
5
5
|
//#region src/infrastructure/persistence/generated/prisma-postgresql-client/runtime/client.d.ts
|
|
@@ -28903,4 +28903,4 @@ declare class AppConfigFactory {
|
|
|
28903
28903
|
}
|
|
28904
28904
|
//#endregion
|
|
28905
28905
|
export { PrismaClient as i, PrismaMigrationDeployer as n, PrismaDatabaseClient as r, AppConfigFactory as t };
|
|
28906
|
-
//# sourceMappingURL=AppConfigFactory-
|
|
28906
|
+
//# sourceMappingURL=AppConfigFactory-DeULdLzi.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { H as TypeToken, P as WorkflowDefinition, U as EngineExecutionLimitsPolicyConfig, V as Container, c as AnyCredentialType } from "./index-DMedRrli.js";
|
|
2
2
|
import { a as CodemationAuthConfig, n as CodemationLogConfig, t as CodemationWhitelabelConfig, u as LoggerFactory } from "./CodemationWhitelabelConfig-D5rYcLlj.js";
|
|
3
3
|
|
|
4
4
|
//#region src/presentation/config/CodemationClassToken.d.ts
|
|
@@ -177,4 +177,4 @@ interface CodemationAppContext extends CodemationRegistrationContextBase {
|
|
|
177
177
|
}
|
|
178
178
|
//#endregion
|
|
179
179
|
export { CodemationContainerRegistration as C, CodemationWorkflowDiscovery as S, CodemationEngineExecutionLimitsConfig as _, AppPluginLoadSummary as a, CodemationSchedulerConfig as b, CodemationPluginContext as c, CodemationAppSchedulerConfig as d, CodemationAppSchedulerKind as f, CodemationDatabaseKind as g, CodemationDatabaseConfig as h, AppPersistenceConfig as i, CodemationPluginPackageMetadata as l, CodemationConfig as m, CodemationRegistrationContextBase as n, CodemationPlugin as o, CodemationApplicationRuntimeConfig as p, AppConfig as r, CodemationPluginConfig as s, CodemationAppContext as t, CodemationAppDefinition as u, CodemationEventBusConfig as v, CodemationClassToken as w, CodemationSchedulerKind as x, CodemationEventBusKind as y };
|
|
180
|
-
//# sourceMappingURL=CodemationAppContext-
|
|
180
|
+
//# sourceMappingURL=CodemationAppContext-DZt_ZwXH.d.ts.map
|
package/dist/{CodemationAuthoring.types-CXubuYvd.d.ts → CodemationAuthoring.types-CT6Kp1vK.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as CodemationPluginContext, m as CodemationConfig, o as CodemationPlugin, t as CodemationAppContext } from "./CodemationAppContext-
|
|
1
|
+
import { H as TypeToken, K as ChainCursor, L as NodeExecutionContext, M as RunnableNodeConfig, N as RunnableNodeOutputJson, O as Item, P as WorkflowDefinition, a as ChatModelConfig, c as AnyCredentialType, i as AgentMessageConfig, k as Items, o as ToolConfig, q as AnyRunnableNodeConfig, r as AgentGuardrailConfig, s as DefinedNode } from "./index-DMedRrli.js";
|
|
2
|
+
import { c as CodemationPluginContext, m as CodemationConfig, o as CodemationPlugin, t as CodemationAppContext } from "./CodemationAppContext-DZt_ZwXH.js";
|
|
3
3
|
import { t as CodemationWhitelabelConfig } from "./CodemationWhitelabelConfig-D5rYcLlj.js";
|
|
4
4
|
import { ZodType, z } from "zod";
|
|
5
5
|
|
|
@@ -50,13 +50,19 @@ declare class Split<TIn = unknown, TElem = unknown> implements RunnableNodeConfi
|
|
|
50
50
|
constructor(name: string, getElements: (item: Item<TIn>, ctx: NodeExecutionContext<Split<TIn, TElem>>) => readonly TElem[], id?: string | undefined);
|
|
51
51
|
}
|
|
52
52
|
//#endregion
|
|
53
|
+
//#region ../core-nodes/src/nodes/mapData.d.ts
|
|
54
|
+
interface MapDataOptions {
|
|
55
|
+
readonly id?: string;
|
|
56
|
+
readonly keepBinaries?: boolean;
|
|
57
|
+
}
|
|
58
|
+
//#endregion
|
|
53
59
|
//#region ../core-nodes/src/nodes/merge.d.ts
|
|
54
60
|
type MergeMode = "passThrough" | "append" | "mergeByPosition";
|
|
55
61
|
//#endregion
|
|
56
62
|
//#region ../core-nodes/src/workflowAuthoring/WorkflowAuthoringOptions.types.d.ts
|
|
57
|
-
type
|
|
63
|
+
type WorkflowAgentMessages<TCurrentJson> = AgentMessageConfig<TCurrentJson>;
|
|
58
64
|
interface WorkflowAgentOptions<TCurrentJson, TOutputSchema extends z.ZodTypeAny | undefined = undefined> {
|
|
59
|
-
readonly
|
|
65
|
+
readonly messages: WorkflowAgentMessages<TCurrentJson>;
|
|
60
66
|
readonly model: string | ChatModelConfig;
|
|
61
67
|
readonly tools?: ReadonlyArray<ToolConfig>;
|
|
62
68
|
readonly outputSchema?: TOutputSchema;
|
|
@@ -71,7 +77,7 @@ declare class WorkflowBranchBuilder<TCurrentJson> {
|
|
|
71
77
|
constructor(steps?: ReadonlyArray<AnyRunnableNodeConfig>);
|
|
72
78
|
then<TOutputJson, TConfig extends RunnableNodeConfig<TCurrentJson, TOutputJson>>(config: TConfig): WorkflowBranchBuilder<RunnableNodeOutputJson<TConfig>>;
|
|
73
79
|
map<TNextJson>(mapper: (item: TCurrentJson) => TNextJson): WorkflowBranchBuilder<TNextJson>;
|
|
74
|
-
map<TNextJson>(name: string, mapper: (item: TCurrentJson) => TNextJson,
|
|
80
|
+
map<TNextJson>(name: string, mapper: (item: TCurrentJson) => TNextJson, options?: MapDataOptions): WorkflowBranchBuilder<TNextJson>;
|
|
75
81
|
wait(duration: number | string): WorkflowBranchBuilder<TCurrentJson>;
|
|
76
82
|
wait(name: string, duration: number | string, id?: string): WorkflowBranchBuilder<TCurrentJson>;
|
|
77
83
|
split<TElem>(getElements: (item: Item<TCurrentJson>, ctx: NodeExecutionContext<Split<TCurrentJson, TElem>>) => readonly TElem[]): WorkflowBranchBuilder<TElem>;
|
|
@@ -95,7 +101,7 @@ declare class WorkflowChain<TCurrentJson> {
|
|
|
95
101
|
constructor(chain: ChainCursor<TCurrentJson>);
|
|
96
102
|
then<TOutputJson, TConfig extends RunnableNodeConfig<TCurrentJson, TOutputJson>>(config: TConfig): WorkflowChain<RunnableNodeOutputJson<TConfig>>;
|
|
97
103
|
map<TNextJson>(mapper: (item: TCurrentJson) => TNextJson): WorkflowChain<TNextJson>;
|
|
98
|
-
map<TNextJson>(name: string, mapper: (item: TCurrentJson) => TNextJson,
|
|
104
|
+
map<TNextJson>(name: string, mapper: (item: TCurrentJson) => TNextJson, options?: MapDataOptions): WorkflowChain<TNextJson>;
|
|
99
105
|
wait(duration: number | string): WorkflowChain<TCurrentJson>;
|
|
100
106
|
wait(name: string, duration: number | string, id?: string): WorkflowChain<TCurrentJson>;
|
|
101
107
|
split<TElem>(getElements: (item: Item<TCurrentJson>, ctx: NodeExecutionContext<Split<TCurrentJson, TElem>>) => readonly TElem[]): WorkflowChain<TElem>;
|
|
@@ -193,4 +199,4 @@ declare function definePlugin(options: DefinePluginOptions): CodemationPlugin &
|
|
|
193
199
|
}>;
|
|
194
200
|
//#endregion
|
|
195
201
|
export { defineCodemationApp as a, FriendlyCodemationExecutionConfig as i, DefinePluginOptions as n, definePlugin as o, FriendlyCodemationDatabaseConfig as r, workflow as s, DefineCodemationAppOptions as t };
|
|
196
|
-
//# sourceMappingURL=CodemationAuthoring.types-
|
|
202
|
+
//# sourceMappingURL=CodemationAuthoring.types-CT6Kp1vK.d.ts.map
|
package/dist/{CodemationConfigNormalizer-kJmyHNDp.d.ts → CodemationConfigNormalizer-C2CJnmKY.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as CodemationContainerRegistration, m as CodemationConfig } from "./CodemationAppContext-
|
|
1
|
+
import { C as CodemationContainerRegistration, m as CodemationConfig } from "./CodemationAppContext-DZt_ZwXH.js";
|
|
2
2
|
|
|
3
3
|
//#region src/presentation/config/CodemationConfigNormalizer.d.ts
|
|
4
4
|
type NormalizedCodemationConfig = CodemationConfig & Readonly<{
|
|
@@ -6,4 +6,4 @@ type NormalizedCodemationConfig = CodemationConfig & Readonly<{
|
|
|
6
6
|
}>;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { NormalizedCodemationConfig as t };
|
|
9
|
-
//# sourceMappingURL=CodemationConfigNormalizer-
|
|
9
|
+
//# sourceMappingURL=CodemationConfigNormalizer-C2CJnmKY.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as NormalizedCodemationConfig } from "./CodemationConfigNormalizer-
|
|
1
|
+
import { t as NormalizedCodemationConfig } from "./CodemationConfigNormalizer-C2CJnmKY.js";
|
|
2
2
|
|
|
3
3
|
//#region src/presentation/server/CodemationConsumerAppResolver.d.ts
|
|
4
4
|
type CodemationConsumerApp = Readonly<{
|
|
@@ -63,4 +63,4 @@ declare class CodemationConsumerConfigLoader {
|
|
|
63
63
|
}
|
|
64
64
|
//#endregion
|
|
65
65
|
export { CodemationConsumerAppResolver as i, CodemationConsumerConfigResolution as n, CodemationConsumerApp as r, CodemationConsumerConfigLoader as t };
|
|
66
|
-
//# sourceMappingURL=CodemationConsumerConfigLoader-
|
|
66
|
+
//# sourceMappingURL=CodemationConsumerConfigLoader-kijLkRtF.d.ts.map
|
package/dist/{CodemationPluginListMerger-DegwsxrS.d.ts → CodemationPluginListMerger-Z-qsxAS9.d.ts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { C as CodemationContainerRegistration, l as CodemationPluginPackageMetadata, o as CodemationPlugin, r as AppConfig } from "./CodemationAppContext-
|
|
1
|
+
import { $ as RunPruneCandidate, A as RunId, B as WorkflowRepository, F as WorkflowId, G as RunEventBus, H as TypeToken, J as WorkflowActivationPolicy, P as WorkflowDefinition, Q as RunCurrentState, R as NodeExecutionRequestHandler, V as Container, W as RunEvent, X as WorkflowRunDetailDto, Z as PersistedRunState, c as AnyCredentialType, et as RunSummary, n as Engine, tt as Clock, z as NodeExecutionScheduler } from "./index-DMedRrli.js";
|
|
2
|
+
import { C as CodemationContainerRegistration, l as CodemationPluginPackageMetadata, o as CodemationPlugin, r as AppConfig } from "./CodemationAppContext-DZt_ZwXH.js";
|
|
3
3
|
import { a as CodemationAuthConfig, l as Logger, t as CodemationWhitelabelConfig, u as LoggerFactory } from "./CodemationWhitelabelConfig-D5rYcLlj.js";
|
|
4
|
-
import { t as CredentialStore } from "./CredentialServices-
|
|
5
|
-
import { n as PrismaMigrationDeployer, r as PrismaDatabaseClient } from "./AppConfigFactory-
|
|
4
|
+
import { t as CredentialStore } from "./CredentialServices-CGS_E7O-.js";
|
|
5
|
+
import { n as PrismaMigrationDeployer, r as PrismaDatabaseClient } from "./AppConfigFactory-DeULdLzi.js";
|
|
6
6
|
import "reflect-metadata";
|
|
7
7
|
import { Hono } from "hono";
|
|
8
8
|
|
|
@@ -354,4 +354,4 @@ declare class CodemationPluginListMerger {
|
|
|
354
354
|
}
|
|
355
355
|
//#endregion
|
|
356
356
|
export { Command as _, WorkflowDebuggerOverlayRepository as a, WorkerRuntime as c, AppContainerLifecycle as d, AppContainerFactory as f, CommandBus as g, Query as h, HonoApiRouteRegistrar as i, FrontendRuntime as l, QueryBus as m, CodemationBootstrapRequest as n, WorkflowRunRepository as o, WorkflowWebsocketServer as p, ApplicationTokens as r, SessionVerifier as s, CodemationPluginListMerger as t, DatabaseMigrations as u };
|
|
357
|
-
//# sourceMappingURL=CodemationPluginListMerger-
|
|
357
|
+
//# sourceMappingURL=CodemationPluginListMerger-Z-qsxAS9.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as
|
|
2
|
-
import { r as AppConfig } from "./CodemationAppContext-
|
|
1
|
+
import { B as WorkflowRepository, C as CredentialTypeDefinition, P as WorkflowDefinition, S as CredentialType, T as CredentialTypeRegistry, _ as CredentialOAuth2AuthDefinition, b as CredentialSessionService, c as AnyCredentialType, d as CredentialFieldSchema, f as CredentialHealth, g as CredentialMaterialSourceKind, h as CredentialJsonRecord, l as CredentialBinding, m as CredentialInstanceRecord, p as CredentialInstanceId, u as CredentialBindingKey, v as CredentialRequirement, w as CredentialTypeId, x as CredentialSetupStatus } from "./index-DMedRrli.js";
|
|
2
|
+
import { r as AppConfig } from "./CodemationAppContext-DZt_ZwXH.js";
|
|
3
3
|
|
|
4
4
|
//#region src/domain/credentials/CredentialTypeRegistryImpl.d.ts
|
|
5
5
|
declare class CredentialTypeRegistryImpl implements CredentialTypeRegistry {
|
|
@@ -298,4 +298,4 @@ type MutableCredentialSessionService = CredentialSessionService & Readonly<{
|
|
|
298
298
|
}>;
|
|
299
299
|
//#endregion
|
|
300
300
|
export { CredentialInstanceService as a, CredentialSecretCipher as c, CredentialBindingService as i, CredentialFieldEnvOverlayService as l, CredentialType$1 as n, CredentialOAuth2ScopeResolver as o, CredentialRuntimeMaterialService as r, CredentialMaterialResolver as s, CredentialStore as t, CredentialTypeRegistryImpl as u };
|
|
301
|
-
//# sourceMappingURL=CredentialServices-
|
|
301
|
+
//# sourceMappingURL=CredentialServices-CGS_E7O-.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as AppConfig } from "./CodemationAppContext-
|
|
1
|
+
import { r as AppConfig } from "./CodemationAppContext-DZt_ZwXH.js";
|
|
2
2
|
import { a as CodemationAuthConfig } from "./CodemationWhitelabelConfig-D5rYcLlj.js";
|
|
3
3
|
import { a as CodemationFrontendAuthSnapshot, n as InternalAuthBootstrap, r as FrontendAppConfig, t as PublicFrontendBootstrap } from "./PublicFrontendBootstrap-ci0Vwxrb.js";
|
|
4
4
|
|
|
@@ -90,4 +90,4 @@ declare class PublicFrontendBootstrapFactory {
|
|
|
90
90
|
}
|
|
91
91
|
//#endregion
|
|
92
92
|
export { WorkflowDto as a, CodemationFrontendAuthSnapshotFactory as i, InternalAuthBootstrapFactory as n, WorkflowSummary as o, FrontendAppConfigFactory as r, PublicFrontendBootstrapFactory as t };
|
|
93
|
-
//# sourceMappingURL=PublicFrontendBootstrapFactory-
|
|
93
|
+
//# sourceMappingURL=PublicFrontendBootstrapFactory-CYBuZerA.d.ts.map
|
package/dist/authoring.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./index-
|
|
2
|
-
import { a as defineCodemationApp, i as FriendlyCodemationExecutionConfig, n as DefinePluginOptions, o as definePlugin, r as FriendlyCodemationDatabaseConfig, s as workflow, t as DefineCodemationAppOptions } from "./CodemationAuthoring.types-
|
|
3
|
-
import { _ as CodemationEngineExecutionLimitsConfig, b as CodemationSchedulerConfig, c as CodemationPluginContext, d as CodemationAppSchedulerConfig, f as CodemationAppSchedulerKind, g as CodemationDatabaseKind, h as CodemationDatabaseConfig, m as CodemationConfig, n as CodemationRegistrationContextBase, o as CodemationPlugin, p as CodemationApplicationRuntimeConfig, s as CodemationPluginConfig, t as CodemationAppContext, u as CodemationAppDefinition, v as CodemationEventBusConfig, x as CodemationSchedulerKind, y as CodemationEventBusKind } from "./CodemationAppContext-
|
|
1
|
+
import "./index-DMedRrli.js";
|
|
2
|
+
import { a as defineCodemationApp, i as FriendlyCodemationExecutionConfig, n as DefinePluginOptions, o as definePlugin, r as FriendlyCodemationDatabaseConfig, s as workflow, t as DefineCodemationAppOptions } from "./CodemationAuthoring.types-CT6Kp1vK.js";
|
|
3
|
+
import { _ as CodemationEngineExecutionLimitsConfig, b as CodemationSchedulerConfig, c as CodemationPluginContext, d as CodemationAppSchedulerConfig, f as CodemationAppSchedulerKind, g as CodemationDatabaseKind, h as CodemationDatabaseConfig, m as CodemationConfig, n as CodemationRegistrationContextBase, o as CodemationPlugin, p as CodemationApplicationRuntimeConfig, s as CodemationPluginConfig, t as CodemationAppContext, u as CodemationAppDefinition, v as CodemationEventBusConfig, x as CodemationSchedulerKind, y as CodemationEventBusKind } from "./CodemationAppContext-DZt_ZwXH.js";
|
|
4
4
|
import "./CodemationWhitelabelConfig-D5rYcLlj.js";
|
|
5
5
|
export { type CodemationAppContext, type CodemationAppDefinition, type CodemationAppSchedulerConfig, type CodemationAppSchedulerKind, type CodemationApplicationRuntimeConfig, type CodemationConfig, type CodemationDatabaseConfig, type CodemationDatabaseKind, type CodemationEngineExecutionLimitsConfig, type CodemationEventBusConfig, type CodemationEventBusKind, type CodemationPlugin, type CodemationPluginConfig, type CodemationPluginContext, type CodemationRegistrationContextBase, type CodemationSchedulerConfig, type CodemationSchedulerKind, type DefineCodemationAppOptions, type DefinePluginOptions, type FriendlyCodemationDatabaseConfig, type FriendlyCodemationExecutionConfig, defineCodemationApp, definePlugin, workflow };
|
package/dist/consumer.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./index-
|
|
2
|
-
import "./CodemationAppContext-
|
|
1
|
+
import "./index-DMedRrli.js";
|
|
2
|
+
import "./CodemationAppContext-DZt_ZwXH.js";
|
|
3
3
|
import "./CodemationWhitelabelConfig-D5rYcLlj.js";
|
|
4
|
-
import "./CodemationConfigNormalizer-
|
|
5
|
-
import { i as CodemationConsumerAppResolver, n as CodemationConsumerConfigResolution, r as CodemationConsumerApp, t as CodemationConsumerConfigLoader } from "./CodemationConsumerConfigLoader-
|
|
4
|
+
import "./CodemationConfigNormalizer-C2CJnmKY.js";
|
|
5
|
+
import { i as CodemationConsumerAppResolver, n as CodemationConsumerConfigResolution, r as CodemationConsumerApp, t as CodemationConsumerConfigLoader } from "./CodemationConsumerConfigLoader-kijLkRtF.js";
|
|
6
6
|
export { type CodemationConsumerApp, CodemationConsumerAppResolver, CodemationConsumerConfigLoader, type CodemationConsumerConfigResolution };
|
package/dist/credentials.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./CodemationAppContext-
|
|
1
|
+
import { c as AnyCredentialType, f as CredentialHealth, y as CredentialSessionFactoryArgs } from "./index-DMedRrli.js";
|
|
2
|
+
import "./CodemationAppContext-DZt_ZwXH.js";
|
|
3
3
|
import "./CodemationWhitelabelConfig-D5rYcLlj.js";
|
|
4
|
-
import { a as CredentialInstanceService, i as CredentialBindingService, n as CredentialType } from "./CredentialServices-
|
|
4
|
+
import { a as CredentialInstanceService, i as CredentialBindingService, n as CredentialType } from "./CredentialServices-CGS_E7O-.js";
|
|
5
5
|
|
|
6
6
|
//#region src/infrastructure/credentials/OpenAiApiKeyCredentialShapes.types.d.ts
|
|
7
7
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { P as WorkflowDefinition, V as Container } from "./index-DMedRrli.js";
|
|
2
2
|
|
|
3
3
|
//#region src/presentation/server/CodemationTsyringeParamInfoReader.d.ts
|
|
4
4
|
declare class CodemationTsyringeParamInfoReader {
|
|
@@ -9,6 +9,31 @@ interface Clock {
|
|
|
9
9
|
now(): Date;
|
|
10
10
|
}
|
|
11
11
|
//#endregion
|
|
12
|
+
//#region ../core/src/contracts/itemValue.d.ts
|
|
13
|
+
declare const ITEM_VALUE_BRAND: unique symbol;
|
|
14
|
+
type ItemValueResolvedContext = Readonly<{
|
|
15
|
+
runId: RunId;
|
|
16
|
+
workflowId: WorkflowId;
|
|
17
|
+
nodeId: NodeId;
|
|
18
|
+
activationId: NodeActivationId;
|
|
19
|
+
data: RunDataSnapshot;
|
|
20
|
+
}>;
|
|
21
|
+
/**
|
|
22
|
+
* Context aligned with former {@link ItemInputMapperContext} — use **`data`** to read any completed upstream node.
|
|
23
|
+
*/
|
|
24
|
+
type ItemValueContext = ItemValueResolvedContext;
|
|
25
|
+
type ItemValueArgs<TItemJson = unknown> = Readonly<{
|
|
26
|
+
item: Item<TItemJson>;
|
|
27
|
+
itemIndex: number;
|
|
28
|
+
items: Items<TItemJson>;
|
|
29
|
+
ctx: ItemValueContext;
|
|
30
|
+
}>;
|
|
31
|
+
type ItemValueCallback<T, TItemJson = unknown> = (args: ItemValueArgs<TItemJson>) => T | Promise<T>;
|
|
32
|
+
type ItemValue<T, TItemJson = unknown> = Readonly<{
|
|
33
|
+
readonly [ITEM_VALUE_BRAND]: true;
|
|
34
|
+
readonly fn: ItemValueCallback<T, TItemJson>;
|
|
35
|
+
}>;
|
|
36
|
+
//#endregion
|
|
12
37
|
//#region ../core/src/contracts/retryPolicySpec.types.d.ts
|
|
13
38
|
/**
|
|
14
39
|
* In-process retry policy for runnable nodes. Serialized configs use the same
|
|
@@ -749,7 +774,6 @@ interface NodeConfigBase {
|
|
|
749
774
|
declare const runnableNodeInputType: unique symbol;
|
|
750
775
|
declare const runnableNodeOutputType: unique symbol;
|
|
751
776
|
declare const triggerNodeOutputType: unique symbol;
|
|
752
|
-
type LineageCarryPolicy = "emitOnly" | "carryThrough";
|
|
753
777
|
/**
|
|
754
778
|
* Runnable node: **`TInputJson`** is what **`inputSchema`** validates on **`item.json`** (the wire payload).
|
|
755
779
|
* **`TOutputJson`** is emitted `item.json` on outputs.
|
|
@@ -763,11 +787,6 @@ interface RunnableNodeConfig<TInputJson$1 = unknown, TOutputJson$1 = unknown> ex
|
|
|
763
787
|
* Resolution order: node instance `inputSchema`, then config `inputSchema`, then `z.unknown()`.
|
|
764
788
|
*/
|
|
765
789
|
readonly inputSchema?: ZodType<TInputJson$1>;
|
|
766
|
-
/**
|
|
767
|
-
* Overrides default lineage propagation for `execute` outputs (binary/meta/paired).
|
|
768
|
-
* Routers with multiple {@link RunnableNode#outputPorts} default to **`carryThrough`**; others default to **`emitOnly`**.
|
|
769
|
-
*/
|
|
770
|
-
readonly lineageCarry?: LineageCarryPolicy;
|
|
771
790
|
/**
|
|
772
791
|
* When an activation receives **zero** input items, the engine normally runs `execute` zero times.
|
|
773
792
|
* Set to **`runOnce`** to run `execute` once with an empty `items` batch (and a synthetic wire item for schema parsing).
|
|
@@ -909,6 +928,12 @@ type CredentialFieldSchema = Readonly<{
|
|
|
909
928
|
type: "string" | "password" | "textarea" | "json" | "boolean";
|
|
910
929
|
required?: true;
|
|
911
930
|
order?: number;
|
|
931
|
+
/**
|
|
932
|
+
* Where this field appears in the credential dialog. Use `"advanced"` for optional or
|
|
933
|
+
* power-user fields; they render inside a collapsible section (see `CredentialTypeDefinition.advancedSection`).
|
|
934
|
+
* Defaults to `"default"` when omitted.
|
|
935
|
+
*/
|
|
936
|
+
visibility?: "default" | "advanced";
|
|
912
937
|
placeholder?: string;
|
|
913
938
|
helpText?: string;
|
|
914
939
|
/** When set, host resolves this field from process.env at runtime; env wins over stored values. */
|
|
@@ -973,12 +998,25 @@ type CredentialOAuth2AuthDefinition = Readonly<{
|
|
|
973
998
|
clientSecretFieldKey?: string;
|
|
974
999
|
}>;
|
|
975
1000
|
type CredentialAuthDefinition = CredentialOAuth2AuthDefinition;
|
|
1001
|
+
type CredentialAdvancedSectionPresentation = Readonly<{
|
|
1002
|
+
/** Collapsible section title (default: "Advanced"). */
|
|
1003
|
+
title?: string;
|
|
1004
|
+
/** Optional short helper text shown inside the section (above the fields). */
|
|
1005
|
+
description?: string;
|
|
1006
|
+
/** When true, the advanced section starts expanded. Default: false (collapsed). */
|
|
1007
|
+
defaultOpen?: boolean;
|
|
1008
|
+
}>;
|
|
976
1009
|
type CredentialTypeDefinition = Readonly<{
|
|
977
1010
|
typeId: CredentialTypeId;
|
|
978
1011
|
displayName: string;
|
|
979
1012
|
description?: string;
|
|
980
1013
|
publicFields?: ReadonlyArray<CredentialFieldSchema>;
|
|
981
1014
|
secretFields?: ReadonlyArray<CredentialFieldSchema>;
|
|
1015
|
+
/**
|
|
1016
|
+
* Optional labels for the collapsible block that contains every field with `visibility: "advanced"`.
|
|
1017
|
+
* If omitted, the UI still shows that block with defaults (title "Advanced", collapsed).
|
|
1018
|
+
*/
|
|
1019
|
+
advancedSection?: CredentialAdvancedSectionPresentation;
|
|
982
1020
|
supportedSourceKinds?: ReadonlyArray<CredentialMaterialSourceKind>;
|
|
983
1021
|
auth?: CredentialAuthDefinition;
|
|
984
1022
|
}>;
|
|
@@ -1068,6 +1106,7 @@ interface AgentCanvasPresentation<TIcon extends string = string> {
|
|
|
1068
1106
|
readonly label?: string;
|
|
1069
1107
|
readonly icon?: TIcon;
|
|
1070
1108
|
}
|
|
1109
|
+
type ZodSchemaAny = ZodType<any, any, any>;
|
|
1071
1110
|
interface ToolConfig {
|
|
1072
1111
|
readonly type: TypeToken<unknown>;
|
|
1073
1112
|
readonly name: string;
|
|
@@ -1075,6 +1114,32 @@ interface ToolConfig {
|
|
|
1075
1114
|
readonly presentation?: AgentCanvasPresentation;
|
|
1076
1115
|
getCredentialRequirements?(): ReadonlyArray<CredentialRequirement>;
|
|
1077
1116
|
}
|
|
1117
|
+
type AgentMessageRole = "system" | "user" | "assistant";
|
|
1118
|
+
type AgentMessageBuildArgs<TInputJson$1 = unknown> = Readonly<{
|
|
1119
|
+
item: Item<TInputJson$1>;
|
|
1120
|
+
itemIndex: number;
|
|
1121
|
+
items: Items<TInputJson$1>;
|
|
1122
|
+
ctx: NodeExecutionContext<any>;
|
|
1123
|
+
}>;
|
|
1124
|
+
interface AgentMessageDto {
|
|
1125
|
+
readonly role: AgentMessageRole;
|
|
1126
|
+
readonly content: string;
|
|
1127
|
+
}
|
|
1128
|
+
type AgentMessageTemplateContent<TInputJson$1 = unknown> = string | ((args: AgentMessageBuildArgs<TInputJson$1>) => string);
|
|
1129
|
+
interface AgentMessageTemplate<TInputJson$1 = unknown> {
|
|
1130
|
+
readonly role: AgentMessageRole;
|
|
1131
|
+
readonly content: AgentMessageTemplateContent<TInputJson$1>;
|
|
1132
|
+
}
|
|
1133
|
+
/** A single prompt line: fixed DTO or template with optional function `content`. */
|
|
1134
|
+
type AgentMessageLine<TInputJson$1 = unknown> = AgentMessageDto | AgentMessageTemplate<TInputJson$1>;
|
|
1135
|
+
/**
|
|
1136
|
+
* Message list for an agent. Prefer a **plain array** of `{ role, content }` (optionally with function `content` for templates).
|
|
1137
|
+
* Use the object form only when you need `buildMessages` to append messages after optional `prompt` lines.
|
|
1138
|
+
*/
|
|
1139
|
+
type AgentMessageConfig<TInputJson$1 = unknown> = ItemValue<ReadonlyArray<AgentMessageLine<TInputJson$1>>, TInputJson$1> | ReadonlyArray<AgentMessageLine<TInputJson$1>> | {
|
|
1140
|
+
readonly prompt?: ReadonlyArray<AgentMessageLine<TInputJson$1>>;
|
|
1141
|
+
readonly buildMessages?: (args: AgentMessageBuildArgs<TInputJson$1>) => ReadonlyArray<AgentMessageDto>;
|
|
1142
|
+
};
|
|
1078
1143
|
type AgentTurnLimitBehavior = "error" | "respondWithLastMessage";
|
|
1079
1144
|
interface AgentModelInvocationOptions {
|
|
1080
1145
|
readonly maxTokens?: number;
|
|
@@ -1094,6 +1159,16 @@ interface ChatModelConfig {
|
|
|
1094
1159
|
interface LangChainChatModelLike {
|
|
1095
1160
|
invoke(input: unknown, options?: unknown): Promise<unknown>;
|
|
1096
1161
|
bindTools?(tools: ReadonlyArray<unknown>): LangChainChatModelLike;
|
|
1162
|
+
withStructuredOutput?(outputSchema: ZodSchemaAny, config?: ChatModelStructuredOutputOptions): LangChainStructuredOutputModelLike;
|
|
1163
|
+
}
|
|
1164
|
+
interface LangChainStructuredOutputModelLike {
|
|
1165
|
+
invoke(input: unknown, options?: unknown): Promise<unknown>;
|
|
1166
|
+
}
|
|
1167
|
+
interface ChatModelStructuredOutputOptions {
|
|
1168
|
+
readonly method?: "jsonSchema" | "functionCalling" | "jsonMode";
|
|
1169
|
+
readonly strict?: boolean;
|
|
1170
|
+
readonly includeRaw?: boolean;
|
|
1171
|
+
readonly tools?: ReadonlyArray<unknown>;
|
|
1097
1172
|
}
|
|
1098
1173
|
interface ChatModelFactory<TConfig$1 extends ChatModelConfig = ChatModelConfig> {
|
|
1099
1174
|
create(args: Readonly<{
|
|
@@ -1296,5 +1371,5 @@ declare class RunIntentService {
|
|
|
1296
1371
|
private createWebhookExecutionOptions;
|
|
1297
1372
|
}
|
|
1298
1373
|
//#endregion
|
|
1299
|
-
export {
|
|
1300
|
-
//# sourceMappingURL=index-
|
|
1374
|
+
export { RunPruneCandidate as $, RunId as A, WorkflowRepository as B, CredentialTypeDefinition as C, BinaryAttachment as D, ActivationIdFactory as E, WorkflowId as F, RunEventBus as G, TypeToken as H, BinaryStorage as I, WorkflowActivationPolicy as J, ChainCursor as K, NodeExecutionContext as L, RunnableNodeConfig as M, RunnableNodeOutputJson as N, Item as O, WorkflowDefinition as P, RunCurrentState as Q, NodeExecutionRequestHandler as R, CredentialType as S, CredentialTypeRegistry as T, EngineExecutionLimitsPolicyConfig as U, Container as V, RunEvent as W, WorkflowRunDetailDto as X, WebhookInvocationMatch as Y, PersistedRunState as Z, CredentialOAuth2AuthDefinition as _, ChatModelConfig as a, CredentialSessionService as b, AnyCredentialType as c, CredentialFieldSchema as d, RunSummary as et, CredentialHealth as f, CredentialMaterialSourceKind as g, CredentialJsonRecord as h, AgentMessageConfig as i, RunIdFactory as j, Items as k, CredentialBinding as l, CredentialInstanceRecord as m, Engine as n, ToolConfig as o, CredentialInstanceId as p, AnyRunnableNodeConfig as q, AgentGuardrailConfig as r, DefinedNode as s, RunIntentService as t, Clock as tt, CredentialBindingKey as u, CredentialRequirement as v, CredentialTypeId as w, CredentialSetupStatus as x, CredentialSessionFactoryArgs as y, NodeExecutionScheduler as z };
|
|
1375
|
+
//# sourceMappingURL=index-DMedRrli.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import "./index-
|
|
2
|
-
import { a as defineCodemationApp, i as FriendlyCodemationExecutionConfig, n as DefinePluginOptions, o as definePlugin, r as FriendlyCodemationDatabaseConfig, s as workflow, t as DefineCodemationAppOptions } from "./CodemationAuthoring.types-
|
|
3
|
-
import { S as CodemationWorkflowDiscovery, _ as CodemationEngineExecutionLimitsConfig, a as AppPluginLoadSummary, b as CodemationSchedulerConfig, c as CodemationPluginContext, d as CodemationAppSchedulerConfig, f as CodemationAppSchedulerKind, g as CodemationDatabaseKind, h as CodemationDatabaseConfig, l as CodemationPluginPackageMetadata, m as CodemationConfig, n as CodemationRegistrationContextBase, o as CodemationPlugin, p as CodemationApplicationRuntimeConfig, r as AppConfig, s as CodemationPluginConfig, t as CodemationAppContext, u as CodemationAppDefinition, v as CodemationEventBusConfig, w as CodemationClassToken, x as CodemationSchedulerKind, y as CodemationEventBusKind } from "./CodemationAppContext-
|
|
1
|
+
import "./index-DMedRrli.js";
|
|
2
|
+
import { a as defineCodemationApp, i as FriendlyCodemationExecutionConfig, n as DefinePluginOptions, o as definePlugin, r as FriendlyCodemationDatabaseConfig, s as workflow, t as DefineCodemationAppOptions } from "./CodemationAuthoring.types-CT6Kp1vK.js";
|
|
3
|
+
import { S as CodemationWorkflowDiscovery, _ as CodemationEngineExecutionLimitsConfig, a as AppPluginLoadSummary, b as CodemationSchedulerConfig, c as CodemationPluginContext, d as CodemationAppSchedulerConfig, f as CodemationAppSchedulerKind, g as CodemationDatabaseKind, h as CodemationDatabaseConfig, l as CodemationPluginPackageMetadata, m as CodemationConfig, n as CodemationRegistrationContextBase, o as CodemationPlugin, p as CodemationApplicationRuntimeConfig, r as AppConfig, s as CodemationPluginConfig, t as CodemationAppContext, u as CodemationAppDefinition, v as CodemationEventBusConfig, w as CodemationClassToken, x as CodemationSchedulerKind, y as CodemationEventBusKind } from "./CodemationAppContext-DZt_ZwXH.js";
|
|
4
4
|
import { a as CodemationAuthConfig, c as CodemationAuthOidcProviderConfig, i as CodemationLogRule, n as CodemationLogConfig, o as CodemationAuthKind, r as CodemationLogLevelName, s as CodemationAuthOAuthProviderConfig, t as CodemationWhitelabelConfig } from "./CodemationWhitelabelConfig-D5rYcLlj.js";
|
|
5
5
|
import { a as CodemationFrontendAuthSnapshot, i as CodemationFrontendAuthProviderSnapshot, n as InternalAuthBootstrap, r as FrontendAppConfig, t as PublicFrontendBootstrap } from "./PublicFrontendBootstrap-ci0Vwxrb.js";
|
|
6
6
|
import { i as CodemationFrontendAuthSnapshotJsonCodec, n as InternalAuthBootstrapJsonCodec, r as FrontendAppConfigJsonCodec, t as PublicFrontendBootstrapJsonCodec } from "./PublicFrontendBootstrapJsonCodec-Ja0GQgpp.js";
|
|
7
|
-
import "./CodemationConfigNormalizer-
|
|
8
|
-
import { t as CodemationConsumerConfigLoader } from "./CodemationConsumerConfigLoader-
|
|
9
|
-
import "./CredentialServices-
|
|
10
|
-
import { _ as Command, c as WorkerRuntime, d as AppContainerLifecycle, f as AppContainerFactory, g as CommandBus, h as Query, l as FrontendRuntime, m as QueryBus, n as CodemationBootstrapRequest, r as ApplicationTokens, t as CodemationPluginListMerger, u as DatabaseMigrations } from "./CodemationPluginListMerger-
|
|
11
|
-
import { r as PrismaDatabaseClient, t as AppConfigFactory } from "./AppConfigFactory-
|
|
12
|
-
import { t as CodemationPostgresPrismaClientFactory } from "./persistenceServer-
|
|
13
|
-
import { c as CodemationServerGateway, l as ApiPaths } from "./server-
|
|
14
|
-
import { i as CodemationFrontendAuthSnapshotFactory, n as InternalAuthBootstrapFactory, r as FrontendAppConfigFactory, t as PublicFrontendBootstrapFactory } from "./PublicFrontendBootstrapFactory-
|
|
7
|
+
import "./CodemationConfigNormalizer-C2CJnmKY.js";
|
|
8
|
+
import { t as CodemationConsumerConfigLoader } from "./CodemationConsumerConfigLoader-kijLkRtF.js";
|
|
9
|
+
import "./CredentialServices-CGS_E7O-.js";
|
|
10
|
+
import { _ as Command, c as WorkerRuntime, d as AppContainerLifecycle, f as AppContainerFactory, g as CommandBus, h as Query, l as FrontendRuntime, m as QueryBus, n as CodemationBootstrapRequest, r as ApplicationTokens, t as CodemationPluginListMerger, u as DatabaseMigrations } from "./CodemationPluginListMerger-Z-qsxAS9.js";
|
|
11
|
+
import { r as PrismaDatabaseClient, t as AppConfigFactory } from "./AppConfigFactory-DeULdLzi.js";
|
|
12
|
+
import { t as CodemationPostgresPrismaClientFactory } from "./persistenceServer-DdIyEFHH.js";
|
|
13
|
+
import { c as CodemationServerGateway, l as ApiPaths } from "./server-Bd7_dgBB.js";
|
|
14
|
+
import { i as CodemationFrontendAuthSnapshotFactory, n as InternalAuthBootstrapFactory, r as FrontendAppConfigFactory, t as PublicFrontendBootstrapFactory } from "./PublicFrontendBootstrapFactory-CYBuZerA.js";
|
|
15
15
|
|
|
16
16
|
//#region src/application/contracts/userDirectoryContracts.types.d.ts
|
|
17
17
|
type UserAccountStatus = "invited" | "active" | "inactive";
|
package/dist/nextServer.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as AppConfig } from "./CodemationAppContext-
|
|
1
|
+
import { C as CredentialTypeDefinition, D as BinaryAttachment, E as ActivationIdFactory, I as BinaryStorage, J as WorkflowActivationPolicy, O as Item, P as WorkflowDefinition$1, Y as WebhookInvocationMatch, _ as CredentialOAuth2AuthDefinition, j as RunIdFactory, t as RunIntentService, tt as Clock } from "./index-DMedRrli.js";
|
|
2
|
+
import { r as AppConfig } from "./CodemationAppContext-DZt_ZwXH.js";
|
|
3
3
|
import { l as Logger, u as LoggerFactory } from "./CodemationWhitelabelConfig-D5rYcLlj.js";
|
|
4
4
|
import { t as LogLevelPolicy } from "./LogLevelPolicy-CkiJAH75.js";
|
|
5
5
|
import { a as CodemationFrontendAuthSnapshot, i as CodemationFrontendAuthProviderSnapshot, n as InternalAuthBootstrap, r as FrontendAppConfig, t as PublicFrontendBootstrap } from "./PublicFrontendBootstrap-ci0Vwxrb.js";
|
|
6
|
-
import "./CodemationConfigNormalizer-
|
|
7
|
-
import { a as CredentialInstanceService, c as CredentialSecretCipher, i as CredentialBindingService, l as CredentialFieldEnvOverlayService, o as CredentialOAuth2ScopeResolver, r as CredentialRuntimeMaterialService, s as CredentialMaterialResolver, t as CredentialStore, u as CredentialTypeRegistryImpl } from "./CredentialServices-
|
|
8
|
-
import { a as WorkflowDebuggerOverlayRepository, c as WorkerRuntime, d as AppContainerLifecycle, f as AppContainerFactory, g as CommandBus, i as HonoApiRouteRegistrar, l as FrontendRuntime, m as QueryBus, n as CodemationBootstrapRequest, o as WorkflowRunRepository, p as WorkflowWebsocketServer, r as ApplicationTokens, s as SessionVerifier, t as CodemationPluginListMerger, u as DatabaseMigrations } from "./CodemationPluginListMerger-
|
|
9
|
-
import { t as AppConfigFactory } from "./AppConfigFactory-
|
|
10
|
-
import { a as WorkflowDto, n as InternalAuthBootstrapFactory, o as WorkflowSummary, r as FrontendAppConfigFactory, t as PublicFrontendBootstrapFactory } from "./PublicFrontendBootstrapFactory-
|
|
6
|
+
import "./CodemationConfigNormalizer-C2CJnmKY.js";
|
|
7
|
+
import { a as CredentialInstanceService, c as CredentialSecretCipher, i as CredentialBindingService, l as CredentialFieldEnvOverlayService, o as CredentialOAuth2ScopeResolver, r as CredentialRuntimeMaterialService, s as CredentialMaterialResolver, t as CredentialStore, u as CredentialTypeRegistryImpl } from "./CredentialServices-CGS_E7O-.js";
|
|
8
|
+
import { a as WorkflowDebuggerOverlayRepository, c as WorkerRuntime, d as AppContainerLifecycle, f as AppContainerFactory, g as CommandBus, i as HonoApiRouteRegistrar, l as FrontendRuntime, m as QueryBus, n as CodemationBootstrapRequest, o as WorkflowRunRepository, p as WorkflowWebsocketServer, r as ApplicationTokens, s as SessionVerifier, t as CodemationPluginListMerger, u as DatabaseMigrations } from "./CodemationPluginListMerger-Z-qsxAS9.js";
|
|
9
|
+
import { t as AppConfigFactory } from "./AppConfigFactory-DeULdLzi.js";
|
|
10
|
+
import { a as WorkflowDto, n as InternalAuthBootstrapFactory, o as WorkflowSummary, r as FrontendAppConfigFactory, t as PublicFrontendBootstrapFactory } from "./PublicFrontendBootstrapFactory-CYBuZerA.js";
|
|
11
11
|
import { Hono } from "hono";
|
|
12
12
|
import { NodeDefinition, WorkflowDefinition } from "@codemation/core/browser";
|
|
13
13
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as PrismaClient } from "./AppConfigFactory-
|
|
1
|
+
import { i as PrismaClient } from "./AppConfigFactory-DeULdLzi.js";
|
|
2
2
|
|
|
3
3
|
//#region src/infrastructure/persistence/CodemationPostgresPrismaClientFactory.d.ts
|
|
4
4
|
declare class CodemationPostgresPrismaClientFactory {
|
|
@@ -6,4 +6,4 @@ declare class CodemationPostgresPrismaClientFactory {
|
|
|
6
6
|
}
|
|
7
7
|
//#endregion
|
|
8
8
|
export { CodemationPostgresPrismaClientFactory as t };
|
|
9
|
-
//# sourceMappingURL=persistenceServer-
|
|
9
|
+
//# sourceMappingURL=persistenceServer-DdIyEFHH.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./index-
|
|
2
|
-
import { i as AppPersistenceConfig } from "./CodemationAppContext-
|
|
1
|
+
import "./index-DMedRrli.js";
|
|
2
|
+
import { i as AppPersistenceConfig } from "./CodemationAppContext-DZt_ZwXH.js";
|
|
3
3
|
import "./CodemationWhitelabelConfig-D5rYcLlj.js";
|
|
4
|
-
import "./CodemationConfigNormalizer-
|
|
5
|
-
import { n as PrismaMigrationDeployer, r as PrismaDatabaseClient, t as AppConfigFactory } from "./AppConfigFactory-
|
|
6
|
-
import { t as CodemationPostgresPrismaClientFactory } from "./persistenceServer-
|
|
4
|
+
import "./CodemationConfigNormalizer-C2CJnmKY.js";
|
|
5
|
+
import { n as PrismaMigrationDeployer, r as PrismaDatabaseClient, t as AppConfigFactory } from "./AppConfigFactory-DeULdLzi.js";
|
|
6
|
+
import { t as CodemationPostgresPrismaClientFactory } from "./persistenceServer-DdIyEFHH.js";
|
|
7
7
|
export { AppConfigFactory, AppPersistenceConfig, CodemationPostgresPrismaClientFactory, PrismaDatabaseClient as PrismaClient, PrismaMigrationDeployer };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { m as CodemationConfig, o as CodemationPlugin, r as AppConfig } from "./CodemationAppContext-
|
|
2
|
-
import { t as CodemationConsumerConfigLoader } from "./CodemationConsumerConfigLoader-
|
|
3
|
-
import { t as AppConfigFactory } from "./AppConfigFactory-
|
|
4
|
-
import { a as WorkflowDto, o as WorkflowSummary } from "./PublicFrontendBootstrapFactory-
|
|
1
|
+
import { m as CodemationConfig, o as CodemationPlugin, r as AppConfig } from "./CodemationAppContext-DZt_ZwXH.js";
|
|
2
|
+
import { t as CodemationConsumerConfigLoader } from "./CodemationConsumerConfigLoader-kijLkRtF.js";
|
|
3
|
+
import { t as AppConfigFactory } from "./AppConfigFactory-DeULdLzi.js";
|
|
4
|
+
import { a as WorkflowDto, o as WorkflowSummary } from "./PublicFrontendBootstrapFactory-CYBuZerA.js";
|
|
5
5
|
|
|
6
6
|
//#region src/presentation/http/ApiPaths.d.ts
|
|
7
7
|
declare class ApiPaths {
|
|
@@ -150,4 +150,4 @@ declare class WorkflowDiscoveryPathSegmentsComputer {
|
|
|
150
150
|
}
|
|
151
151
|
//#endregion
|
|
152
152
|
export { CodemationResolvedPluginPackage as a, CodemationServerGateway as c, CodemationPluginDiscovery as i, ApiPaths as l, WorkflowModulePathFinder as n, AppConfigLoadResult as o, CodemationDiscoveredPluginPackage as r, AppConfigLoader as s, WorkflowDiscoveryPathSegmentsComputer as t };
|
|
153
|
-
//# sourceMappingURL=server-
|
|
153
|
+
//# sourceMappingURL=server-Bd7_dgBB.d.ts.map
|
package/dist/server.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./index-
|
|
2
|
-
import "./CodemationAppContext-
|
|
1
|
+
import "./index-DMedRrli.js";
|
|
2
|
+
import "./CodemationAppContext-DZt_ZwXH.js";
|
|
3
3
|
import "./CodemationWhitelabelConfig-D5rYcLlj.js";
|
|
4
4
|
import { n as InternalAuthBootstrap, r as FrontendAppConfig, t as PublicFrontendBootstrap } from "./PublicFrontendBootstrap-ci0Vwxrb.js";
|
|
5
5
|
import { i as CodemationFrontendAuthSnapshotJsonCodec, n as InternalAuthBootstrapJsonCodec, r as FrontendAppConfigJsonCodec, t as PublicFrontendBootstrapJsonCodec } from "./PublicFrontendBootstrapJsonCodec-Ja0GQgpp.js";
|
|
6
|
-
import "./CodemationConfigNormalizer-
|
|
7
|
-
import { i as CodemationConsumerAppResolver, n as CodemationConsumerConfigResolution, r as CodemationConsumerApp, t as CodemationConsumerConfigLoader } from "./CodemationConsumerConfigLoader-
|
|
8
|
-
import { r as PrismaDatabaseClient } from "./AppConfigFactory-
|
|
9
|
-
import { t as CodemationPostgresPrismaClientFactory } from "./persistenceServer-
|
|
10
|
-
import { a as CodemationResolvedPluginPackage, c as CodemationServerGateway, i as CodemationPluginDiscovery, l as ApiPaths, n as WorkflowModulePathFinder, o as AppConfigLoadResult, r as CodemationDiscoveredPluginPackage, s as AppConfigLoader, t as WorkflowDiscoveryPathSegmentsComputer } from "./server-
|
|
11
|
-
import { i as CodemationFrontendAuthSnapshotFactory, n as InternalAuthBootstrapFactory, r as FrontendAppConfigFactory, t as PublicFrontendBootstrapFactory } from "./PublicFrontendBootstrapFactory-
|
|
6
|
+
import "./CodemationConfigNormalizer-C2CJnmKY.js";
|
|
7
|
+
import { i as CodemationConsumerAppResolver, n as CodemationConsumerConfigResolution, r as CodemationConsumerApp, t as CodemationConsumerConfigLoader } from "./CodemationConsumerConfigLoader-kijLkRtF.js";
|
|
8
|
+
import { r as PrismaDatabaseClient } from "./AppConfigFactory-DeULdLzi.js";
|
|
9
|
+
import { t as CodemationPostgresPrismaClientFactory } from "./persistenceServer-DdIyEFHH.js";
|
|
10
|
+
import { a as CodemationResolvedPluginPackage, c as CodemationServerGateway, i as CodemationPluginDiscovery, l as ApiPaths, n as WorkflowModulePathFinder, o as AppConfigLoadResult, r as CodemationDiscoveredPluginPackage, s as AppConfigLoader, t as WorkflowDiscoveryPathSegmentsComputer } from "./server-Bd7_dgBB.js";
|
|
11
|
+
import { i as CodemationFrontendAuthSnapshotFactory, n as InternalAuthBootstrapFactory, r as FrontendAppConfigFactory, t as PublicFrontendBootstrapFactory } from "./PublicFrontendBootstrapFactory-CYBuZerA.js";
|
|
12
12
|
export { ApiPaths, AppConfigLoadResult, AppConfigLoader, CodemationConsumerApp, CodemationConsumerAppResolver, CodemationConsumerConfigLoader, CodemationConsumerConfigResolution, CodemationDiscoveredPluginPackage, CodemationFrontendAuthSnapshotFactory, CodemationFrontendAuthSnapshotJsonCodec, CodemationPluginDiscovery, CodemationPostgresPrismaClientFactory, CodemationResolvedPluginPackage, CodemationServerGateway, FrontendAppConfig, FrontendAppConfigFactory, FrontendAppConfigJsonCodec, InternalAuthBootstrap, InternalAuthBootstrapFactory, InternalAuthBootstrapJsonCodec, PrismaDatabaseClient as PrismaClient, PublicFrontendBootstrap, PublicFrontendBootstrapFactory, PublicFrontendBootstrapJsonCodec, WorkflowDiscoveryPathSegmentsComputer, WorkflowModulePathFinder };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codemation/host",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -119,9 +119,9 @@
|
|
|
119
119
|
"tsx": "^4.21.0",
|
|
120
120
|
"ws": "^8.19.0",
|
|
121
121
|
"zxcvbn": "^4.4.2",
|
|
122
|
-
"@codemation/core": "0.
|
|
123
|
-
"@codemation/
|
|
124
|
-
"@codemation/
|
|
122
|
+
"@codemation/core": "0.6.0",
|
|
123
|
+
"@codemation/eventbus-redis": "0.0.28",
|
|
124
|
+
"@codemation/core-nodes": "0.2.0"
|
|
125
125
|
},
|
|
126
126
|
"devDependencies": {
|
|
127
127
|
"@playwright/test": "^1.58.2",
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
"tsdown": "^0.15.5",
|
|
147
147
|
"typescript": "^5.9.3",
|
|
148
148
|
"vitest": "^4.0.18",
|
|
149
|
-
"@codemation/core-nodes-gmail": "0.1.
|
|
149
|
+
"@codemation/core-nodes-gmail": "0.1.2"
|
|
150
150
|
},
|
|
151
151
|
"scripts": {
|
|
152
152
|
"changeset:verify": "pnpm --workspace-root run changeset:verify",
|