@codemation/host 0.2.1 → 0.2.3
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 +23 -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-BXwqqy-v.d.ts} +77 -13
- 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,28 @@
|
|
|
1
1
|
# @codemation/host
|
|
2
2
|
|
|
3
|
+
## 0.2.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`f451b1b`](https://github.com/MadeRelevant/codemation/commit/f451b1b4657b59406e15ce5f50b243e487ff99ed)]:
|
|
8
|
+
- @codemation/core-nodes@0.3.0
|
|
9
|
+
|
|
10
|
+
## 0.2.2
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [#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.
|
|
15
|
+
- 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.
|
|
16
|
+
- 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.
|
|
17
|
+
- Credential dialog: title uses the credential type name (e.g. **Add …** / type display name on edit); hide the redundant type dropdown in edit mode.
|
|
18
|
+
- Gmail OAuth: group Client ID with Client secret, move scope preset and custom scopes under an **OAuth scopes** advanced section (collapsed by default).
|
|
19
|
+
- Documentation: `packages/core/docs/credential-ui-fields.md`, AGENTS.md, and credential development skill reference.
|
|
20
|
+
|
|
21
|
+
- 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)]:
|
|
22
|
+
- @codemation/core@0.6.0
|
|
23
|
+
- @codemation/core-nodes@0.2.0
|
|
24
|
+
- @codemation/eventbus-redis@0.0.28
|
|
25
|
+
|
|
3
26
|
## 0.2.1
|
|
4
27
|
|
|
5
28
|
### 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-BXwqqy-v.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
|
|
|
@@ -31,6 +31,45 @@ declare class Filter<TIn = unknown> implements RunnableNodeConfig<TIn, TIn> {
|
|
|
31
31
|
constructor(name: string, predicate: (item: Item<TIn>, index: number, items: Items<TIn>, ctx: NodeExecutionContext<Filter<TIn>>) => boolean, id?: string | undefined);
|
|
32
32
|
}
|
|
33
33
|
//#endregion
|
|
34
|
+
//#region ../core-nodes/src/nodes/if.d.ts
|
|
35
|
+
declare class If<TInputJson = unknown> implements RunnableNodeConfig<TInputJson, TInputJson> {
|
|
36
|
+
readonly name: string;
|
|
37
|
+
readonly predicate: (item: Item<TInputJson>, index: number, items: Items<TInputJson>, ctx: NodeExecutionContext<If<TInputJson>>) => boolean;
|
|
38
|
+
readonly id?: string | undefined;
|
|
39
|
+
readonly kind: "node";
|
|
40
|
+
readonly type: TypeToken<unknown>;
|
|
41
|
+
readonly execution: {
|
|
42
|
+
readonly hint: "local";
|
|
43
|
+
};
|
|
44
|
+
readonly icon: "lucide:split";
|
|
45
|
+
readonly declaredOutputPorts: readonly ["true", "false"];
|
|
46
|
+
constructor(name: string, predicate: (item: Item<TInputJson>, index: number, items: Items<TInputJson>, ctx: NodeExecutionContext<If<TInputJson>>) => boolean, id?: string | undefined);
|
|
47
|
+
}
|
|
48
|
+
//#endregion
|
|
49
|
+
//#region ../core-nodes/src/nodes/switch.d.ts
|
|
50
|
+
type SwitchCaseKeyResolver<TInputJson = unknown> = (item: Item<TInputJson>, index: number, items: Items<TInputJson>, ctx: NodeExecutionContext<Switch<TInputJson>>) => string | Promise<string>;
|
|
51
|
+
declare class Switch<TInputJson = unknown> implements RunnableNodeConfig<TInputJson, TInputJson> {
|
|
52
|
+
readonly name: string;
|
|
53
|
+
readonly cfg: Readonly<{
|
|
54
|
+
cases: readonly string[];
|
|
55
|
+
defaultCase: string;
|
|
56
|
+
resolveCaseKey: SwitchCaseKeyResolver<TInputJson>;
|
|
57
|
+
}>;
|
|
58
|
+
readonly id?: string | undefined;
|
|
59
|
+
readonly kind: "node";
|
|
60
|
+
readonly type: TypeToken<unknown>;
|
|
61
|
+
readonly execution: {
|
|
62
|
+
readonly hint: "local";
|
|
63
|
+
};
|
|
64
|
+
readonly icon: "lucide:git-branch-plus";
|
|
65
|
+
readonly declaredOutputPorts: ReadonlyArray<string>;
|
|
66
|
+
constructor(name: string, cfg: Readonly<{
|
|
67
|
+
cases: readonly string[];
|
|
68
|
+
defaultCase: string;
|
|
69
|
+
resolveCaseKey: SwitchCaseKeyResolver<TInputJson>;
|
|
70
|
+
}>, id?: string | undefined);
|
|
71
|
+
}
|
|
72
|
+
//#endregion
|
|
34
73
|
//#region ../core-nodes/src/nodes/split.d.ts
|
|
35
74
|
declare class Split<TIn = unknown, TElem = unknown> implements RunnableNodeConfig<TIn, TElem> {
|
|
36
75
|
readonly name: string;
|
|
@@ -50,13 +89,34 @@ declare class Split<TIn = unknown, TElem = unknown> implements RunnableNodeConfi
|
|
|
50
89
|
constructor(name: string, getElements: (item: Item<TIn>, ctx: NodeExecutionContext<Split<TIn, TElem>>) => readonly TElem[], id?: string | undefined);
|
|
51
90
|
}
|
|
52
91
|
//#endregion
|
|
92
|
+
//#region ../core-nodes/src/nodes/mapData.d.ts
|
|
93
|
+
interface MapDataOptions {
|
|
94
|
+
readonly id?: string;
|
|
95
|
+
readonly keepBinaries?: boolean;
|
|
96
|
+
}
|
|
97
|
+
declare class MapData<TInputJson = unknown, TOutputJson = unknown> implements RunnableNodeConfig<TInputJson, TOutputJson> {
|
|
98
|
+
readonly name: string;
|
|
99
|
+
readonly map: (item: Item<TInputJson>, ctx: NodeExecutionContext<MapData<TInputJson, TOutputJson>>) => TOutputJson;
|
|
100
|
+
private readonly options;
|
|
101
|
+
readonly kind: "node";
|
|
102
|
+
readonly type: TypeToken<unknown>;
|
|
103
|
+
readonly execution: {
|
|
104
|
+
readonly hint: "local";
|
|
105
|
+
};
|
|
106
|
+
/** Zero mapped items should still allow downstream nodes to run. */
|
|
107
|
+
readonly continueWhenEmptyOutput: true;
|
|
108
|
+
readonly keepBinaries: boolean;
|
|
109
|
+
constructor(name: string, map: (item: Item<TInputJson>, ctx: NodeExecutionContext<MapData<TInputJson, TOutputJson>>) => TOutputJson, options?: MapDataOptions);
|
|
110
|
+
get id(): string | undefined;
|
|
111
|
+
}
|
|
112
|
+
//#endregion
|
|
53
113
|
//#region ../core-nodes/src/nodes/merge.d.ts
|
|
54
114
|
type MergeMode = "passThrough" | "append" | "mergeByPosition";
|
|
55
115
|
//#endregion
|
|
56
116
|
//#region ../core-nodes/src/workflowAuthoring/WorkflowAuthoringOptions.types.d.ts
|
|
57
|
-
type
|
|
117
|
+
type WorkflowAgentMessages<TCurrentJson> = AgentMessageConfig<TCurrentJson>;
|
|
58
118
|
interface WorkflowAgentOptions<TCurrentJson, TOutputSchema extends z.ZodTypeAny | undefined = undefined> {
|
|
59
|
-
readonly
|
|
119
|
+
readonly messages: WorkflowAgentMessages<TCurrentJson>;
|
|
60
120
|
readonly model: string | ChatModelConfig;
|
|
61
121
|
readonly tools?: ReadonlyArray<ToolConfig>;
|
|
62
122
|
readonly outputSchema?: TOutputSchema;
|
|
@@ -66,12 +126,13 @@ interface WorkflowAgentOptions<TCurrentJson, TOutputSchema extends z.ZodTypeAny
|
|
|
66
126
|
}
|
|
67
127
|
//#endregion
|
|
68
128
|
//#region ../core-nodes/src/workflowAuthoring/WorkflowBranchBuilder.types.d.ts
|
|
129
|
+
type WorkflowMapCallback$1<TCurrentJson, TNextJson> = (item: Item<TCurrentJson>, ctx: NodeExecutionContext<MapData<TCurrentJson, TNextJson>>) => TNextJson;
|
|
69
130
|
declare class WorkflowBranchBuilder<TCurrentJson> {
|
|
70
131
|
private readonly steps;
|
|
71
132
|
constructor(steps?: ReadonlyArray<AnyRunnableNodeConfig>);
|
|
72
133
|
then<TOutputJson, TConfig extends RunnableNodeConfig<TCurrentJson, TOutputJson>>(config: TConfig): WorkflowBranchBuilder<RunnableNodeOutputJson<TConfig>>;
|
|
73
|
-
map<TNextJson>(mapper:
|
|
74
|
-
map<TNextJson>(name: string, mapper:
|
|
134
|
+
map<TNextJson>(mapper: WorkflowMapCallback$1<TCurrentJson, TNextJson>): WorkflowBranchBuilder<TNextJson>;
|
|
135
|
+
map<TNextJson>(name: string, mapper: WorkflowMapCallback$1<TCurrentJson, TNextJson>, options?: MapDataOptions): WorkflowBranchBuilder<TNextJson>;
|
|
75
136
|
wait(duration: number | string): WorkflowBranchBuilder<TCurrentJson>;
|
|
76
137
|
wait(name: string, duration: number | string, id?: string): WorkflowBranchBuilder<TCurrentJson>;
|
|
77
138
|
split<TElem>(getElements: (item: Item<TCurrentJson>, ctx: NodeExecutionContext<Split<TCurrentJson, TElem>>) => readonly TElem[]): WorkflowBranchBuilder<TElem>;
|
|
@@ -90,12 +151,15 @@ declare class WorkflowBranchBuilder<TCurrentJson> {
|
|
|
90
151
|
//#region ../core-nodes/src/workflowAuthoring/WorkflowChain.types.d.ts
|
|
91
152
|
type BranchCallback<TCurrentJson, TNextJson> = (branch: WorkflowBranchBuilder<TCurrentJson>) => WorkflowBranchBuilder<TNextJson>;
|
|
92
153
|
type RouteBranchCallback<TCurrentJson, TNextJson> = (branch: WorkflowChain<TCurrentJson>) => WorkflowChain<TNextJson>;
|
|
154
|
+
type WorkflowMapCallback<TCurrentJson, TNextJson> = (item: Item<TCurrentJson>, ctx: NodeExecutionContext<MapData<TCurrentJson, TNextJson>>) => TNextJson;
|
|
155
|
+
type WorkflowIfPredicate<TCurrentJson> = (item: Item<TCurrentJson>, ctx: NodeExecutionContext<If<TCurrentJson>>) => boolean;
|
|
156
|
+
type WorkflowSwitchCaseKeyResolver<TCurrentJson> = (item: Item<TCurrentJson>, ctx: NodeExecutionContext<Switch<TCurrentJson>>) => string | Promise<string>;
|
|
93
157
|
declare class WorkflowChain<TCurrentJson> {
|
|
94
158
|
private readonly chain;
|
|
95
159
|
constructor(chain: ChainCursor<TCurrentJson>);
|
|
96
160
|
then<TOutputJson, TConfig extends RunnableNodeConfig<TCurrentJson, TOutputJson>>(config: TConfig): WorkflowChain<RunnableNodeOutputJson<TConfig>>;
|
|
97
|
-
map<TNextJson>(mapper:
|
|
98
|
-
map<TNextJson>(name: string, mapper:
|
|
161
|
+
map<TNextJson>(mapper: WorkflowMapCallback<TCurrentJson, TNextJson>): WorkflowChain<TNextJson>;
|
|
162
|
+
map<TNextJson>(name: string, mapper: WorkflowMapCallback<TCurrentJson, TNextJson>, options?: MapDataOptions): WorkflowChain<TNextJson>;
|
|
99
163
|
wait(duration: number | string): WorkflowChain<TCurrentJson>;
|
|
100
164
|
wait(name: string, duration: number | string, id?: string): WorkflowChain<TCurrentJson>;
|
|
101
165
|
split<TElem>(getElements: (item: Item<TCurrentJson>, ctx: NodeExecutionContext<Split<TCurrentJson, TElem>>) => readonly TElem[]): WorkflowChain<TElem>;
|
|
@@ -113,11 +177,11 @@ declare class WorkflowChain<TCurrentJson> {
|
|
|
113
177
|
mode: MergeMode;
|
|
114
178
|
prefer?: ReadonlyArray<string>;
|
|
115
179
|
}>, id?: string): WorkflowChain<TCurrentJson>;
|
|
116
|
-
if<TBranchJson>(predicate:
|
|
180
|
+
if<TBranchJson>(predicate: WorkflowIfPredicate<TCurrentJson>, branches: Readonly<{
|
|
117
181
|
true?: BranchCallback<TCurrentJson, TBranchJson>;
|
|
118
182
|
false?: BranchCallback<TCurrentJson, TBranchJson>;
|
|
119
183
|
}>): WorkflowChain<TBranchJson>;
|
|
120
|
-
if<TBranchJson>(name: string, predicate:
|
|
184
|
+
if<TBranchJson>(name: string, predicate: WorkflowIfPredicate<TCurrentJson>, branches: Readonly<{
|
|
121
185
|
true?: BranchCallback<TCurrentJson, TBranchJson>;
|
|
122
186
|
false?: BranchCallback<TCurrentJson, TBranchJson>;
|
|
123
187
|
}>): WorkflowChain<TBranchJson>;
|
|
@@ -125,13 +189,13 @@ declare class WorkflowChain<TCurrentJson> {
|
|
|
125
189
|
switch<TBranchJson>(cfg: Readonly<{
|
|
126
190
|
cases: readonly string[];
|
|
127
191
|
defaultCase: string;
|
|
128
|
-
resolveCaseKey:
|
|
192
|
+
resolveCaseKey: WorkflowSwitchCaseKeyResolver<TCurrentJson>;
|
|
129
193
|
branches: Readonly<Record<string, RouteBranchCallback<TCurrentJson, TBranchJson> | undefined>>;
|
|
130
194
|
}>): WorkflowChain<TBranchJson>;
|
|
131
195
|
switch<TBranchJson>(name: string, cfg: Readonly<{
|
|
132
196
|
cases: readonly string[];
|
|
133
197
|
defaultCase: string;
|
|
134
|
-
resolveCaseKey:
|
|
198
|
+
resolveCaseKey: WorkflowSwitchCaseKeyResolver<TCurrentJson>;
|
|
135
199
|
branches: Readonly<Record<string, RouteBranchCallback<TCurrentJson, TBranchJson> | undefined>>;
|
|
136
200
|
}>, id?: string): WorkflowChain<TBranchJson>;
|
|
137
201
|
agent<TOutputSchema extends z.ZodTypeAny>(options: WorkflowAgentOptions<TCurrentJson, TOutputSchema>): WorkflowChain<z.output<TOutputSchema>>;
|
|
@@ -193,4 +257,4 @@ declare function definePlugin(options: DefinePluginOptions): CodemationPlugin &
|
|
|
193
257
|
}>;
|
|
194
258
|
//#endregion
|
|
195
259
|
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-
|
|
260
|
+
//# sourceMappingURL=CodemationAuthoring.types-BXwqqy-v.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-BXwqqy-v.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-BXwqqy-v.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.3",
|
|
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/core-nodes": "0.
|
|
124
|
-
"@codemation/eventbus-redis": "0.0.
|
|
122
|
+
"@codemation/core": "0.6.0",
|
|
123
|
+
"@codemation/core-nodes": "0.3.0",
|
|
124
|
+
"@codemation/eventbus-redis": "0.0.28"
|
|
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",
|