@flowdular/sdk 0.1.0 → 0.2.1
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/.ai/skills/test-hardening/SKILL.md +1 -1
- package/README.md +69 -12
- package/assets/flowdular-banner.png +0 -0
- package/modules/agents/package.json +1 -1
- package/modules/auth/package.json +1 -1
- package/modules/auth/src/client/AuthenticationCore.tsrx +3 -1
- package/modules/auth/src/server/endpoints.ts +3 -1
- package/modules/auth/src/server/runtime.ts +4 -0
- package/modules/automations/package.json +1 -1
- package/modules/automations-workflows-integration/package.json +1 -1
- package/modules/profile/package.json +1 -1
- package/modules/sandbox/package.json +1 -1
- package/modules/system/package.json +1 -1
- package/modules/users/package.json +1 -1
- package/modules/workflows/package.json +1 -1
- package/package.json +5 -13
- package/packages/ai-provider/package.json +1 -1
- package/packages/cli-protocol/package.json +1 -1
- package/packages/client/package.json +1 -1
- package/packages/client/src/routing.ts +39 -2
- package/packages/client/src/shell/BrandMark.tsrx +5 -1
- package/packages/client/src/shell/navigation.ts +3 -1
- package/packages/client/src/state.ts +6 -2
- package/packages/contracts/package.json +1 -1
- package/packages/contracts/schemas/project.schema.json +16 -42
- package/packages/database/package.json +1 -1
- package/packages/database-pglite/package.json +2 -2
- package/packages/database-pglite/src/driver.ts +21 -3
- package/packages/database-testing/package.json +1 -1
- package/packages/dev-console/package.json +1 -1
- package/packages/harness/package.json +1 -1
- package/packages/kernel/package.json +1 -1
- package/packages/server/package.json +1 -1
- package/packages/server/src/application-routes.ts +80 -8
- package/packages/server/src/index.ts +4 -1
- package/packages/server/src/web-html.ts +9 -5
- package/packages/server/src/web.ts +59 -7
- package/packages/ui/package.json +1 -1
- package/packages/coding-agent/package.json +0 -44
- package/packages/coding-agent/src/drivers/byok.ts +0 -322
- package/packages/coding-agent/src/drivers/claude-code.ts +0 -290
- package/packages/coding-agent/src/drivers/codex.ts +0 -281
- package/packages/coding-agent/src/index.ts +0 -56
- package/packages/coding-agent/src/registry.ts +0 -119
- package/packages/coding-agent/src/roles/contract.ts +0 -60
- package/packages/coding-agent/src/roles/defaults.ts +0 -134
- package/packages/coding-agent/src/roles/handoff.ts +0 -41
- package/packages/coding-agent/src/roles/registry.ts +0 -156
- package/packages/coding-agent/src/roles/skills.ts +0 -72
- package/packages/coding-agent/src/roles/sync.ts +0 -88
- package/packages/coding-agent/src/types.ts +0 -102
- package/packages/coding-agent/src/workspace.ts +0 -275
- package/packages/sandbox/README.md +0 -691
- package/packages/sandbox/bin/flowdular-sandbox.mjs +0 -393
- package/packages/sandbox/dist/client/assets/App-ClMOrpyg.js +0 -11
- package/packages/sandbox/dist/client/assets/PreviewHost-BHiHrfbQ.js +0 -1
- package/packages/sandbox/dist/client/assets/auto-buGEq6de.js +0 -3
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-cyrillic-400-normal-BSMlKf0J.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-cyrillic-400-normal-CEL4l2ZJ.woff +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-cyrillic-500-normal-Ael50iVv.woff +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-cyrillic-500-normal-Bq9vWWag.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-cyrillic-ext-400-normal-DMdlQ8Kv.woff +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-cyrillic-ext-400-normal-xuaO2J-f.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-cyrillic-ext-500-normal-BIfNGwUT.woff +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-cyrillic-ext-500-normal-BqneJy0T.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-latin-400-normal-CvHOgSBP.woff +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-latin-500-normal-CB9ihrfo.woff +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-latin-500-normal-DSY6xOcd.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-latin-ext-400-normal-BmRBH3aV.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-latin-ext-400-normal-D3D2R8hC.woff +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-latin-ext-500-normal-CAhNIIs5.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-latin-ext-500-normal-CZ70TYgx.woff +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-vietnamese-400-normal-BulugwFq.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-vietnamese-400-normal-DDuiU_S-.woff +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-vietnamese-500-normal-C8zxqsMH.woff +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-vietnamese-500-normal-DZ4AoWbu.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-sans-cyrillic-ext-wght-normal-d45eAU9y.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-sans-cyrillic-wght-normal-BAAhND-U.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-sans-greek-wght-normal-CmyJS8uq.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-sans-latin-ext-wght-normal-CIII54If.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-sans-latin-wght-normal-IvpUvPa2.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-sans-vietnamese-wght-normal-Dg1JeJN0.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/index-CvwhlQ87.js +0 -4
- package/packages/sandbox/dist/client/assets/styles-BPWaGf55.js +0 -3
- package/packages/sandbox/dist/client/assets/styles-Dx1_KOag.css +0 -1
- package/packages/sandbox/dist/client/favicon.svg +0 -1
- package/packages/sandbox/dist/server/assets/auto-CVGNYyb3.js +0 -12785
- package/packages/sandbox/dist/server/assets/chunk-DDJLRBDX-3OUNo51g.js +0 -4125
- package/packages/sandbox/dist/server/assets/nodefs-DVSI7kG0.js +0 -24
- package/packages/sandbox/dist/server/assets/opfs-ahp-D56iokt1.js +0 -388
- package/packages/sandbox/dist/server/assets/token-Bvaq7Anz.js +0 -55
- package/packages/sandbox/dist/server/assets/token-util-BqSvdIPQ.js +0 -3
- package/packages/sandbox/dist/server/assets/token-util-CktFFT4z.js +0 -494
- package/packages/sandbox/dist/server/entry.js +0 -91671
- package/packages/sandbox/dist/server/favicon.svg +0 -1
- package/packages/sandbox/dist/server/index.html +0 -161
- package/packages/sandbox/index.html +0 -159
- package/packages/sandbox/octane.config.ts +0 -36
- package/packages/sandbox/package.json +0 -83
- package/packages/sandbox/public/favicon.svg +0 -1
- package/packages/sandbox/public/og.png +0 -0
- package/packages/sandbox/src/App.tsrx +0 -924
- package/packages/sandbox/src/client/ApprovalHandoff.tsrx +0 -39
- package/packages/sandbox/src/client/ChatPane.tsrx +0 -694
- package/packages/sandbox/src/client/ConnectView.tsrx +0 -86
- package/packages/sandbox/src/client/DiffPane.tsrx +0 -150
- package/packages/sandbox/src/client/EjectModal.tsrx +0 -571
- package/packages/sandbox/src/client/GateResults.tsrx +0 -60
- package/packages/sandbox/src/client/GitHubSettingsModal.tsrx +0 -219
- package/packages/sandbox/src/client/NewSessionForm.tsrx +0 -214
- package/packages/sandbox/src/client/SessionBar.tsrx +0 -151
- package/packages/sandbox/src/client/SessionPicker.tsrx +0 -472
- package/packages/sandbox/src/client/SpecEditor.tsrx +0 -109
- package/packages/sandbox/src/client/SpecReviewCard.tsrx +0 -321
- package/packages/sandbox/src/client/WorkCard.tsrx +0 -128
- package/packages/sandbox/src/client/WorkbenchModal.tsrx +0 -161
- package/packages/sandbox/src/client/WorkspaceMenu.tsrx +0 -100
- package/packages/sandbox/src/client/api.ts +0 -797
- package/packages/sandbox/src/client/attachments.ts +0 -73
- package/packages/sandbox/src/client/dashboard.ts +0 -46
- package/packages/sandbox/src/client/github-settings.ts +0 -48
- package/packages/sandbox/src/client/highlight.ts +0 -105
- package/packages/sandbox/src/client/i18n.ts +0 -32
- package/packages/sandbox/src/client/locales/en.json +0 -466
- package/packages/sandbox/src/client/locales/pl.json +0 -466
- package/packages/sandbox/src/client/session-labels.ts +0 -77
- package/packages/sandbox/src/client/state.ts +0 -108
- package/packages/sandbox/src/index.ts +0 -10
- package/packages/sandbox/src/preview/PreviewHost.tsrx +0 -373
- package/packages/sandbox/src/preview/load-module.ts +0 -16
- package/packages/sandbox/src/server/attachments.ts +0 -308
- package/packages/sandbox/src/server/auto-review.ts +0 -181
- package/packages/sandbox/src/server/checkpoints.ts +0 -90
- package/packages/sandbox/src/server/config.ts +0 -460
- package/packages/sandbox/src/server/dashboard.ts +0 -245
- package/packages/sandbox/src/server/delivery/configuration.ts +0 -193
- package/packages/sandbox/src/server/delivery/git-pr.ts +0 -1473
- package/packages/sandbox/src/server/delivery/index.ts +0 -83
- package/packages/sandbox/src/server/delivery/local.ts +0 -151
- package/packages/sandbox/src/server/delivery/official-modules.ts +0 -516
- package/packages/sandbox/src/server/delivery/plan.ts +0 -218
- package/packages/sandbox/src/server/delivery/policies.ts +0 -239
- package/packages/sandbox/src/server/delivery/record.ts +0 -41
- package/packages/sandbox/src/server/delivery/steps.ts +0 -464
- package/packages/sandbox/src/server/delivery/types.ts +0 -158
- package/packages/sandbox/src/server/dependencies.ts +0 -88
- package/packages/sandbox/src/server/diff.ts +0 -230
- package/packages/sandbox/src/server/gates.ts +0 -388
- package/packages/sandbox/src/server/index.ts +0 -139
- package/packages/sandbox/src/server/path-guard.ts +0 -282
- package/packages/sandbox/src/server/planning.ts +0 -749
- package/packages/sandbox/src/server/platform-client.ts +0 -189
- package/packages/sandbox/src/server/preview-database-host.ts +0 -340
- package/packages/sandbox/src/server/preview-database-protocol.ts +0 -163
- package/packages/sandbox/src/server/preview-database-proxy.ts +0 -356
- package/packages/sandbox/src/server/preview-database.ts +0 -109
- package/packages/sandbox/src/server/preview-ipc.ts +0 -15
- package/packages/sandbox/src/server/preview-modules.ts +0 -83
- package/packages/sandbox/src/server/preview-revision.ts +0 -44
- package/packages/sandbox/src/server/preview-runtime.ts +0 -467
- package/packages/sandbox/src/server/preview-worker-manager.ts +0 -436
- package/packages/sandbox/src/server/preview-worker.ts +0 -168
- package/packages/sandbox/src/server/reference.ts +0 -251
- package/packages/sandbox/src/server/routes.ts +0 -2258
- package/packages/sandbox/src/server/runtime.ts +0 -188
- package/packages/sandbox/src/server/session-owner.ts +0 -23
- package/packages/sandbox/src/server/sessions.ts +0 -849
- package/packages/sandbox/src/server/spec.ts +0 -471
- package/packages/sandbox/src/server/turn-lifecycle.ts +0 -56
- package/packages/sandbox/src/server/turns.ts +0 -993
- package/packages/sandbox/src/server/workspace-install.ts +0 -266
- package/packages/sandbox/src/server/workspace-root.ts +0 -73
- package/packages/sandbox/src/styles.css +0 -1573
- package/packages/sandbox/vite.config.ts +0 -133
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { createOfficialModulesDeliveryTarget } from './official-modules.ts';
|
|
2
|
-
import { SandboxSetupError } from '../workspace-root.ts';
|
|
3
|
-
import { createGitPullRequestDeliveryTarget } from './git-pr.ts';
|
|
4
|
-
import { createLocalDeliveryTarget } from './local.ts';
|
|
5
|
-
import type { DeliveryTarget, EjectTarget } from './types.ts';
|
|
6
|
-
|
|
7
|
-
const TARGETS: Readonly<Record<EjectTarget, () => DeliveryTarget>> = {
|
|
8
|
-
workspace: createLocalDeliveryTarget,
|
|
9
|
-
'git-pr': createGitPullRequestDeliveryTarget,
|
|
10
|
-
'official-modules': createOfficialModulesDeliveryTarget,
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export function isEjectTarget(value: string): value is EjectTarget {
|
|
14
|
-
return Object.hasOwn(TARGETS, value);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export function assertEjectTarget(value: string): EjectTarget {
|
|
18
|
-
if (!isEjectTarget(value)) {
|
|
19
|
-
throw new SandboxSetupError(
|
|
20
|
-
'EJECT_TARGET_UNSUPPORTED',
|
|
21
|
-
`The ${value} eject target is not implemented in this sandbox yet. Use workspace, git-pr or official-modules.`,
|
|
22
|
-
);
|
|
23
|
-
}
|
|
24
|
-
return value;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/* The request names where the delivery should land; this is the only place
|
|
28
|
-
that knows which implementation answers for it. */
|
|
29
|
-
export function resolveDeliveryTarget(target: string): DeliveryTarget {
|
|
30
|
-
return TARGETS[assertEjectTarget(target)]();
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export {
|
|
34
|
-
DEFAULT_DELIVERY_CONFIGURATION,
|
|
35
|
-
readDeliveryConfiguration,
|
|
36
|
-
resolveDeliveryConfiguration,
|
|
37
|
-
} from './configuration.ts';
|
|
38
|
-
export type {
|
|
39
|
-
DeliveryConfiguration,
|
|
40
|
-
GitDeliveryConfiguration,
|
|
41
|
-
} from './configuration.ts';
|
|
42
|
-
export { createGitPullRequestDeliveryTarget } from './git-pr.ts';
|
|
43
|
-
export {
|
|
44
|
-
loadPathOwnership,
|
|
45
|
-
loadTaskBudgets,
|
|
46
|
-
matchesPath,
|
|
47
|
-
ownerOf,
|
|
48
|
-
parsePolicyYaml,
|
|
49
|
-
} from './policies.ts';
|
|
50
|
-
export type { PathOwnership, TaskBudgets } from './policies.ts';
|
|
51
|
-
export { createLocalDeliveryTarget } from './local.ts';
|
|
52
|
-
export { readDeliveryRecord, writeDeliveryRecord } from './record.ts';
|
|
53
|
-
export type { DeliveryRecord } from './record.ts';
|
|
54
|
-
export {
|
|
55
|
-
DeliveryError,
|
|
56
|
-
assertGatesPassed,
|
|
57
|
-
listModuleFiles,
|
|
58
|
-
newPackages,
|
|
59
|
-
planModuleFiles,
|
|
60
|
-
spawnCommand,
|
|
61
|
-
} from './steps.ts';
|
|
62
|
-
export type {
|
|
63
|
-
CommandOptions,
|
|
64
|
-
CommandResult,
|
|
65
|
-
CommandRunner,
|
|
66
|
-
StepResult,
|
|
67
|
-
} from './steps.ts';
|
|
68
|
-
export type {
|
|
69
|
-
DeliveryAvailability,
|
|
70
|
-
DeliveryBudget,
|
|
71
|
-
DeliveryContext,
|
|
72
|
-
DeliveryEmit,
|
|
73
|
-
DeliveryGuardrails,
|
|
74
|
-
DeliveryModulePlan,
|
|
75
|
-
DeliveryOutcome,
|
|
76
|
-
DeliveryPlan,
|
|
77
|
-
DeliveryProvider,
|
|
78
|
-
DeliveryStepResult,
|
|
79
|
-
DeliveryTarget,
|
|
80
|
-
DeliveryTargetId,
|
|
81
|
-
EjectTarget,
|
|
82
|
-
GitDeliveryPlan,
|
|
83
|
-
} from './types.ts';
|
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
import { sessionPaths } from '../sessions.ts';
|
|
2
|
-
import {
|
|
3
|
-
GATES,
|
|
4
|
-
assertEjectCapability,
|
|
5
|
-
countDeliveredFiles,
|
|
6
|
-
planSessionModules,
|
|
7
|
-
} from './plan.ts';
|
|
8
|
-
import {
|
|
9
|
-
buildWorkspace,
|
|
10
|
-
createStepRecorder,
|
|
11
|
-
enableModule,
|
|
12
|
-
installWorkspace,
|
|
13
|
-
runDeliveryGates,
|
|
14
|
-
stageModules,
|
|
15
|
-
syncModuleScopes,
|
|
16
|
-
verifyPlatform,
|
|
17
|
-
} from './steps.ts';
|
|
18
|
-
import type { DeliveryTarget } from './types.ts';
|
|
19
|
-
|
|
20
|
-
const LOOPBACK_HOSTS = new Set(['127.0.0.1', 'localhost', '[::1]', '::1']);
|
|
21
|
-
|
|
22
|
-
function isLocalPlatform(platformUrl: string): boolean {
|
|
23
|
-
try {
|
|
24
|
-
return LOOPBACK_HOSTS.has(new URL(platformUrl).hostname);
|
|
25
|
-
} catch {
|
|
26
|
-
return false;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/* Today's delivery: the module lands in modules/ of this workspace and joins
|
|
31
|
-
the platform through the CLI capabilities a human would run. */
|
|
32
|
-
export function createLocalDeliveryTarget(): DeliveryTarget {
|
|
33
|
-
return {
|
|
34
|
-
id: 'local',
|
|
35
|
-
|
|
36
|
-
available: async () => ({ available: true, reason: null }),
|
|
37
|
-
|
|
38
|
-
plan: async (context) => {
|
|
39
|
-
assertEjectCapability(context);
|
|
40
|
-
const modules = await planSessionModules(context);
|
|
41
|
-
const primary = modules[0]!;
|
|
42
|
-
const platformLocal = isLocalPlatform(context.platformUrl);
|
|
43
|
-
return {
|
|
44
|
-
target: 'workspace',
|
|
45
|
-
deliveredBy: 'local',
|
|
46
|
-
moduleId: primary.id,
|
|
47
|
-
targetPath: primary.targetPath,
|
|
48
|
-
files: primary.files,
|
|
49
|
-
overwrites: primary.overwrites,
|
|
50
|
-
removes: primary.removes,
|
|
51
|
-
newPackages: primary.newPackages,
|
|
52
|
-
enable: primary.enable,
|
|
53
|
-
modules,
|
|
54
|
-
changedFiles: countDeliveredFiles(modules),
|
|
55
|
-
gates: [...GATES],
|
|
56
|
-
platformLocal,
|
|
57
|
-
restartRequired: true,
|
|
58
|
-
notes: [
|
|
59
|
-
platformLocal
|
|
60
|
-
? 'The connected application runs on this machine from this workspace. Restart it after the delivery so it loads the new composition and runs the new migrations.'
|
|
61
|
-
: 'The connected application runs elsewhere. Deploy this workspace for the change to reach it; the sync-scopes step only updated the local database.',
|
|
62
|
-
],
|
|
63
|
-
applied: false,
|
|
64
|
-
};
|
|
65
|
-
},
|
|
66
|
-
|
|
67
|
-
apply: async (context, plan, emit) => {
|
|
68
|
-
assertEjectCapability(context);
|
|
69
|
-
const paths = sessionPaths(
|
|
70
|
-
context.workspaceRoot,
|
|
71
|
-
context.session.id,
|
|
72
|
-
context.session.moduleSuffix,
|
|
73
|
-
);
|
|
74
|
-
const { steps, record } = createStepRecorder(emit);
|
|
75
|
-
const gates = await runDeliveryGates(context, plan.gates, emit);
|
|
76
|
-
const { copied, removed } = await stageModules(
|
|
77
|
-
paths,
|
|
78
|
-
context.workspaceRoot,
|
|
79
|
-
plan.modules,
|
|
80
|
-
emit,
|
|
81
|
-
);
|
|
82
|
-
|
|
83
|
-
emit('install.started', {});
|
|
84
|
-
record(
|
|
85
|
-
'install',
|
|
86
|
-
await installWorkspace(context.commands, context.workspaceRoot),
|
|
87
|
-
);
|
|
88
|
-
|
|
89
|
-
let enabled = false;
|
|
90
|
-
for (const module of plan.modules) {
|
|
91
|
-
if (!module.enable) continue;
|
|
92
|
-
emit('enable.started', { moduleId: module.id });
|
|
93
|
-
record(
|
|
94
|
-
'enable',
|
|
95
|
-
await enableModule(
|
|
96
|
-
context.commands,
|
|
97
|
-
context.workspaceRoot,
|
|
98
|
-
module.id,
|
|
99
|
-
),
|
|
100
|
-
);
|
|
101
|
-
enabled = true;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
for (const module of plan.modules) {
|
|
105
|
-
emit('scopes.started', { moduleId: module.id });
|
|
106
|
-
record(
|
|
107
|
-
'scopes',
|
|
108
|
-
await syncModuleScopes(
|
|
109
|
-
context.commands,
|
|
110
|
-
context.workspaceRoot,
|
|
111
|
-
module.id,
|
|
112
|
-
),
|
|
113
|
-
);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
/* The modules now live in the platform composition, so the platform
|
|
117
|
-
itself has to still typecheck. */
|
|
118
|
-
emit('verify.started', {});
|
|
119
|
-
record(
|
|
120
|
-
'verify',
|
|
121
|
-
await verifyPlatform(context.commands, context.workspaceRoot),
|
|
122
|
-
);
|
|
123
|
-
|
|
124
|
-
if (context.build === true) {
|
|
125
|
-
emit('build.started', {});
|
|
126
|
-
record(
|
|
127
|
-
'build',
|
|
128
|
-
await buildWorkspace(context.commands, context.workspaceRoot),
|
|
129
|
-
);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
if (plan.restartRequired) {
|
|
133
|
-
emit('restart.required', {
|
|
134
|
-
platformLocal: plan.platformLocal,
|
|
135
|
-
note: plan.notes[0] ?? '',
|
|
136
|
-
});
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
return {
|
|
140
|
-
moduleId: plan.moduleId,
|
|
141
|
-
targetPath: plan.targetPath,
|
|
142
|
-
files: copied,
|
|
143
|
-
removed,
|
|
144
|
-
enabled,
|
|
145
|
-
gates,
|
|
146
|
-
steps,
|
|
147
|
-
restartRequired: plan.restartRequired,
|
|
148
|
-
};
|
|
149
|
-
},
|
|
150
|
-
};
|
|
151
|
-
}
|