@akanjs/cli 3.0.0-alpha.51 → 3.0.0-alpha.53

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.
Files changed (45) hide show
  1. package/.build-stamp +1 -1
  2. package/{agent.command-nqs3bw0g.js → agent.command-tsx1nsdj.js} +6 -5
  3. package/{application.command-k2v46pxf.js → application.command-n8ex8g9h.js} +5 -4
  4. package/{applicationBuildRunner-t5v6tcrm.js → applicationBuildRunner-x8h12rp0.js} +2 -1
  5. package/buildBatch.proc.js +3 -2
  6. package/{capacitorApp-927ahhz2.js → capacitorApp-8mv9e537.js} +3 -2
  7. package/{cloud.command-7jwmxtez.js → cloud.command-v5g0c7nm.js} +8 -7
  8. package/{context.command-6kn3tady.js → context.command-s7a41qjs.js} +13 -12
  9. package/{guideline.command-pjdrndqk.js → guideline.command-qrw84ttb.js} +3 -2
  10. package/guidelines/agentRule/agentRule.instruction.md +40 -19
  11. package/guidelines/conventions/conventions.instruction.md +17 -5
  12. package/incrementalBuilder.proc.js +2 -1
  13. package/{index-7w5vv8jk.js → index-4mtyaqj2.js} +2 -2
  14. package/{index-90zyjrby.js → index-681sx6nt.js} +6 -1
  15. package/{index-97cw8sg1.js → index-cc1mgv1f.js} +4 -4
  16. package/{index-zgkey4d0.js → index-ce9755av.js} +1 -1
  17. package/{index-8rr621r2.js → index-ckpwq052.js} +1 -1
  18. package/{index-bwt525ne.js → index-d3vvvzsd.js} +5 -5
  19. package/{index-k7sm38v6.js → index-dvg362vq.js} +3 -3
  20. package/{index-866yqz3y.js → index-ek4mkwxp.js} +10 -10
  21. package/{index-6bs24rb4.js → index-f0t3wjyr.js} +2 -2
  22. package/index-f39512t6.js +255 -0
  23. package/{index-5em412h5.js → index-g44fykfw.js} +1 -1
  24. package/{index-xe3ychw5.js → index-h0mnt0b0.js} +3 -3
  25. package/{index-4z05haak.js → index-kkya2ped.js} +1 -1
  26. package/{index-7etegaht.js → index-r8z20vnj.js} +5 -5
  27. package/{index-y59x51f1.js → index-rrcdemys.js} +5 -5
  28. package/{index-5fe016p2.js → index-ryns915y.js} +3 -3
  29. package/{index-xrdrttjb.js → index-tn46rr6w.js} +4 -4
  30. package/{index-24h5bqpj.js → index-wc19q8mb.js} +2 -2
  31. package/{index-7zd96bng.js → index-x1dbhd80.js} +2 -2
  32. package/{index-wr999y03.js → index-xj5b8c0w.js} +102 -352
  33. package/index.js +19 -18
  34. package/{library.command-7h3yezwc.js → library.command-p3jgf5h2.js} +4 -3
  35. package/{localRegistry.command-vnkc41gj.js → localRegistry.command-5hp7am6e.js} +7 -6
  36. package/{module.command-4g11k3xd.js → module.command-hb3xm07r.js} +6 -5
  37. package/{package.command-z7dd6vy2.js → package.command-fbpa6r4w.js} +4 -3
  38. package/package.json +2 -2
  39. package/{page.command-y996708m.js → page.command-92vrmw96.js} +4 -3
  40. package/{primitive.command-4fcn8k83.js → primitive.command-k6b9jfxr.js} +7 -6
  41. package/{quality.command-hx5af2yn.js → quality.command-89vwmjvf.js} +3 -2
  42. package/{repair.command-ysxd8pef.js → repair.command-nh9jn8rh.js} +6 -5
  43. package/{scalar.command-3chgxybs.js → scalar.command-zcsjgvax.js} +5 -4
  44. package/{workflow.command-endxfzv5.js → workflow.command-jj0cphfm.js} +10 -9
  45. package/{workspace.command-5f2nmmd5.js → workspace.command-s2g36sgr.js} +19 -18
@@ -0,0 +1,255 @@
1
+ // @bun
2
+ // pkgs/@akanjs/devkit/artifact/implicitRootLayout.ts
3
+ import { mkdir } from "fs/promises";
4
+ import path from "path";
5
+ var LAYOUT_KEY_RE = /^\.\/(.+\/)?_layout\.(tsx|ts|jsx|js)$/;
6
+ async function appHasStModule(appCwdPath) {
7
+ return Bun.file(path.join(appCwdPath, "lib", "st.ts")).exists();
8
+ }
9
+ var IMPLICIT_LAYOUT_DIR = path.join(".akan", "generated", "root-layouts");
10
+ var IMPLICIT_DICT_DIR = path.join(".akan", "generated", "dict");
11
+ var IMPLICIT_OVERRIDES_DIR = path.join(".akan", "generated", "overrides");
12
+ var OVERRIDES_KEY_RE = /^\.\/(.+\/)?_overrides\.(tsx|ts|jsx|js)$/;
13
+ async function writeGeneratedOverridesLayoutFile(opts) {
14
+ const filename = `${opts.key.replace(/^\.\//, "").replace(/[^a-zA-Z0-9]+/g, "_")}.tsx`;
15
+ const absPath = path.join(path.resolve(opts.appCwdPath), IMPLICIT_OVERRIDES_DIR, filename);
16
+ const userRel = path.relative(path.dirname(absPath), opts.userAbsPath).split(path.sep).join("/");
17
+ const userSpecifier = userRel.startsWith(".") ? userRel : `./${userRel}`;
18
+ const source = `"use client";
19
+ import { UiOverrideProvider } from "akanjs/ui";
20
+ import { createElement, type ReactNode } from "react";
21
+ import value from ${JSON.stringify(userSpecifier)};
22
+
23
+ export default function AkanUiOverridesLayout({ children }: { children?: ReactNode }) {
24
+ return createElement(UiOverrideProvider, { value }, children);
25
+ }
26
+ `;
27
+ await Bun.write(absPath, source);
28
+ return absPath;
29
+ }
30
+ function getRootBoundarySegments(key) {
31
+ const match = LAYOUT_KEY_RE.exec(key);
32
+ if (!match)
33
+ return null;
34
+ const prefix = match[1]?.replace(/\/$/, "");
35
+ if (!prefix)
36
+ return [];
37
+ return prefix.split("/").filter(Boolean);
38
+ }
39
+ function implicitRootLayoutKey(segments) {
40
+ return `./${[...segments, "__root_layout"].join("/")}.tsx`;
41
+ }
42
+ function implicitRootLayoutAbsPath(appCwdPath, segments) {
43
+ const filename = segments.length ? `${segments.join("__")}__root_layout.tsx` : "__root_layout.tsx";
44
+ return path.join(path.resolve(appCwdPath), IMPLICIT_LAYOUT_DIR, filename);
45
+ }
46
+ function implicitDictionaryMacroAbsPath(appCwdPath) {
47
+ return path.join(path.resolve(appCwdPath), IMPLICIT_DICT_DIR, "useDict.ts");
48
+ }
49
+ function isRootBoundarySegments(segments, basePaths) {
50
+ const firstVisibleIndex = segments.findIndex((segment) => !/^\(.+\)$/.test(segment));
51
+ if (firstVisibleIndex === -1)
52
+ return segments.length <= 1;
53
+ if (segments.slice(firstVisibleIndex + 1).some((segment) => /^\(.+\)$/.test(segment)))
54
+ return false;
55
+ const visible = segments.slice(firstVisibleIndex);
56
+ const allowedBasePaths = new Set([...basePaths].map((basePath) => basePath.trim()).filter(Boolean));
57
+ return visible.length === 1 && (firstVisibleIndex > 0 || allowedBasePaths.has(visible[0] ?? ""));
58
+ }
59
+ function findRootBoundaries(pageKeys, appCwdPath, basePaths) {
60
+ const boundaries = new Map;
61
+ for (const key of pageKeys) {
62
+ const segments = getRootBoundarySegments(key);
63
+ if (!segments)
64
+ continue;
65
+ if (!isRootBoundarySegments(segments, basePaths))
66
+ continue;
67
+ const id = segments.join("/");
68
+ boundaries.set(id, {
69
+ sourceKey: key,
70
+ sourceAbsPath: path.resolve(appCwdPath, "page", key.replace(/^\.\//, "")),
71
+ segments
72
+ });
73
+ }
74
+ const hasExplicitRootBoundary = [...boundaries.values()].some((boundary) => boundary.segments.length === 0);
75
+ if (!hasExplicitRootBoundary && boundaries.size === 0) {
76
+ boundaries.set("", { sourceKey: null, sourceAbsPath: null, segments: [] });
77
+ }
78
+ return [...boundaries.values()].sort((a, b) => a.segments.join("/").localeCompare(b.segments.join("/")));
79
+ }
80
+ function hasAncestorRootBoundary(boundary, boundaries) {
81
+ return boundaries.some((candidate) => candidate !== boundary && candidate.segments.length < boundary.segments.length && candidate.segments.every((segment, index) => boundary.segments[index] === segment));
82
+ }
83
+ function findExplicitRootLayoutAbsPath(pageKeys, appCwdPath) {
84
+ const rootLayoutKey = pageKeys.find((key) => {
85
+ const segments = getRootBoundarySegments(key);
86
+ return segments !== null && segments.length === 0;
87
+ });
88
+ return rootLayoutKey ? path.resolve(appCwdPath, "page", rootLayoutKey.replace(/^\.\//, "")) : null;
89
+ }
90
+ function routePrefixForSegments(segments) {
91
+ const visible = segments.filter((segment) => !/^\(.+\)$/.test(segment));
92
+ return visible[0] ?? null;
93
+ }
94
+ async function assertEnvClientConvention(appCwdPath, appName) {
95
+ const envPath = path.join(appCwdPath, "env", "env.client.ts");
96
+ if (!await Bun.file(envPath).exists()) {
97
+ throw new Error(`[route-convention] app "${appName}" must provide env/env.client.ts exporting "env" for generated System.Provider`);
98
+ }
99
+ }
100
+ async function writeGeneratedDictionaryMacroFile(appCwdPath, appName) {
101
+ const absPath = implicitDictionaryMacroAbsPath(appCwdPath);
102
+ await mkdir(path.dirname(absPath), { recursive: true });
103
+ await Bun.write(absPath, `import { getAllDictionary } from "@apps/${appName}/lib/dict" with { type: "macro" };
104
+
105
+ export const allDictionary = getAllDictionary();
106
+ `);
107
+ return absPath;
108
+ }
109
+ async function writeGeneratedRootLayoutFile(opts) {
110
+ await assertEnvClientConvention(opts.appCwdPath, opts.appName);
111
+ const dictMacroAbsPath = opts.includeSystemProvider ? await writeGeneratedDictionaryMacroFile(opts.appCwdPath, opts.appName) : null;
112
+ const absPath = implicitRootLayoutAbsPath(opts.appCwdPath, opts.boundary.segments);
113
+ await mkdir(path.dirname(absPath), { recursive: true });
114
+ const dictMacroRel = dictMacroAbsPath ? path.relative(path.dirname(absPath), dictMacroAbsPath).split(path.sep).join("/") : null;
115
+ const dictMacroSpecifier = dictMacroRel ? dictMacroRel.startsWith(".") ? dictMacroRel : `./${dictMacroRel}` : null;
116
+ const sourceRel = opts.boundary.sourceAbsPath ? path.relative(path.dirname(absPath), opts.boundary.sourceAbsPath).split(path.sep).join("/") : null;
117
+ const sourceSpecifier = sourceRel ? sourceRel.startsWith(".") ? sourceRel : `./${sourceRel}` : null;
118
+ const inheritedSourceAbsPath = opts.rootSourceAbsPath && opts.rootSourceAbsPath !== opts.boundary.sourceAbsPath ? opts.rootSourceAbsPath : null;
119
+ const inheritedSourceRel = inheritedSourceAbsPath ? path.relative(path.dirname(absPath), inheritedSourceAbsPath).split(path.sep).join("/") : null;
120
+ const inheritedSourceSpecifier = inheritedSourceRel ? inheritedSourceRel.startsWith(".") ? inheritedSourceRel : `./${inheritedSourceRel}` : null;
121
+ const clientImport = opts.includeStInit ? `import { st } from "@apps/${opts.appName}/client";
122
+ void st;
123
+ ` : `import "@apps/${opts.appName}/client";
124
+ `;
125
+ const inheritedImport = inheritedSourceSpecifier ? `import * as inheritedLayout from ${JSON.stringify(inheritedSourceSpecifier)};
126
+ ` : `const inheritedLayout = {};
127
+ `;
128
+ const prefix = routePrefixForSegments(opts.boundary.segments);
129
+ const userImport = sourceSpecifier ? `import UserLayout, * as userLayout from ${JSON.stringify(sourceSpecifier)};
130
+ ` : `const UserLayout = ({ children }) => children;
131
+ const userLayout = {};
132
+ `;
133
+ const source = opts.includeSystemProvider ? `import type { LayoutProps, PageProps } from "akanjs/client";
134
+ import { loadFonts } from "akanjs/client";
135
+ import { System } from "akanjs/ui";
136
+ import { env } from "@apps/${opts.appName}/env/env.client";
137
+ import { allDictionary } from ${JSON.stringify(dictMacroSpecifier)};
138
+ ${clientImport}${inheritedImport}${userImport}
139
+ const userFonts = userLayout.fonts ?? inheritedLayout.fonts ?? [];
140
+ const defaultFonts = userFonts.filter((font) => font.default);
141
+ if (defaultFonts.length > 1) throw new Error("[route-convention] only one default font is allowed per root layout");
142
+ const defaultFont = defaultFonts[0];
143
+ const defaultFontClassName = defaultFont ? (defaultFont.className ?? \`font-\${defaultFont.name}\`) : undefined;
144
+
145
+ export async function generateHead(props: PageProps) {
146
+ if (userLayout.generateHead) return userLayout.generateHead(props);
147
+ if (userLayout.head !== undefined) return userLayout.head;
148
+ if (inheritedLayout.generateHead) return inheritedLayout.generateHead(props);
149
+ return inheritedLayout.head;
150
+ }
151
+
152
+ export async function generateMetadata(props: PageProps) {
153
+ if (userLayout.generateMetadata) return userLayout.generateMetadata(props);
154
+ if (userLayout.metadata !== undefined) return userLayout.metadata;
155
+ if (inheritedLayout.generateMetadata) return inheritedLayout.generateMetadata(props);
156
+ return inheritedLayout.metadata;
157
+ }
158
+
159
+ export const NotFound = userLayout.NotFound ?? inheritedLayout.NotFound;
160
+ export const Error = userLayout.Error ?? inheritedLayout.Error;
161
+ export const pageConfig = userLayout.pageConfig ?? inheritedLayout.pageConfig;
162
+
163
+ export default function GeneratedLayout({ children, params, searchParams }: LayoutProps) {
164
+ return (
165
+ <System.Provider
166
+ of={GeneratedLayout as never}
167
+ appName=${JSON.stringify(opts.appName)}
168
+ ${prefix ? `prefix=${JSON.stringify(prefix)}
169
+ ` : ""}params={params}
170
+ manifest={userLayout.manifest ?? inheritedLayout.manifest}
171
+ env={env}
172
+ theme={userLayout.theme ?? inheritedLayout.theme}
173
+ fonts={loadFonts(userFonts)}
174
+ className={defaultFontClassName}
175
+ gaTrackingId={userLayout.gaTrackingId ?? inheritedLayout.gaTrackingId}
176
+ layoutStyle={userLayout.layoutStyle ?? inheritedLayout.layoutStyle}
177
+ reconnect={userLayout.reconnect ?? inheritedLayout.reconnect ?? false}
178
+ wsConnect={userLayout.wsConnect ?? inheritedLayout.wsConnect ?? true}
179
+ allDictionary={process.env.AKAN_PUBLIC_RENDER_ENV === "ssr" ? allDictionary : undefined}
180
+ >
181
+ <UserLayout params={params} searchParams={searchParams}>{children}</UserLayout>
182
+ </System.Provider>
183
+ );
184
+ }
185
+ ` : `import type { LayoutProps, PageProps } from "akanjs/client";
186
+ ${inheritedImport}${userImport}
187
+ export async function generateHead(props: PageProps) {
188
+ if (userLayout.generateHead) return userLayout.generateHead(props);
189
+ if (userLayout.head !== undefined) return userLayout.head;
190
+ if (inheritedLayout.generateHead) return inheritedLayout.generateHead(props);
191
+ return inheritedLayout.head;
192
+ }
193
+
194
+ export async function generateMetadata(props: PageProps) {
195
+ if (userLayout.generateMetadata) return userLayout.generateMetadata(props);
196
+ if (userLayout.metadata !== undefined) return userLayout.metadata;
197
+ if (inheritedLayout.generateMetadata) return inheritedLayout.generateMetadata(props);
198
+ return inheritedLayout.metadata;
199
+ }
200
+
201
+ export const NotFound = userLayout.NotFound ?? inheritedLayout.NotFound;
202
+ export const Error = userLayout.Error ?? inheritedLayout.Error;
203
+ export const pageConfig = userLayout.pageConfig ?? inheritedLayout.pageConfig;
204
+
205
+ export default function GeneratedLayout({ children, params, searchParams }: LayoutProps) {
206
+ return <UserLayout params={params} searchParams={searchParams}>{children}</UserLayout>;
207
+ }
208
+ `;
209
+ await Bun.write(absPath, source);
210
+ return absPath;
211
+ }
212
+ async function resolveSsrPageEntries(opts) {
213
+ const absPageDir = path.resolve(opts.appCwdPath, "page");
214
+ const hasSt = await appHasStModule(opts.appCwdPath);
215
+ const basePaths = opts.basePaths ?? [];
216
+ const rootSourceAbsPath = findExplicitRootLayoutAbsPath(opts.pageKeys, opts.appCwdPath);
217
+ const rootBoundaries = findRootBoundaries(opts.pageKeys, opts.appCwdPath, basePaths);
218
+ const rootLayoutKeys = new Set(opts.pageKeys.filter((key) => {
219
+ const segments = getRootBoundarySegments(key);
220
+ return segments !== null && isRootBoundarySegments(segments, basePaths);
221
+ }));
222
+ const base = await Promise.all(opts.pageKeys.filter((key) => !rootLayoutKeys.has(key)).map(async (key) => {
223
+ const userAbsPath = path.resolve(absPageDir, key);
224
+ if (OVERRIDES_KEY_RE.test(key)) {
225
+ const moduleAbsPath = await writeGeneratedOverridesLayoutFile({
226
+ appCwdPath: opts.appCwdPath,
227
+ key,
228
+ userAbsPath
229
+ });
230
+ return { key, moduleAbsPath, seedAbsPaths: [userAbsPath] };
231
+ }
232
+ return { key, moduleAbsPath: userAbsPath };
233
+ }));
234
+ const generated = await Promise.all(rootBoundaries.map(async (boundary) => ({
235
+ key: implicitRootLayoutKey(boundary.segments),
236
+ moduleAbsPath: await writeGeneratedRootLayoutFile({
237
+ appCwdPath: opts.appCwdPath,
238
+ appName: opts.appName,
239
+ boundary,
240
+ rootSourceAbsPath,
241
+ includeStInit: hasSt && boundary.segments.length === 0,
242
+ includeSystemProvider: !hasAncestorRootBoundary(boundary, rootBoundaries)
243
+ }),
244
+ seedAbsPaths: [...new Set([boundary.sourceAbsPath, rootSourceAbsPath].filter((absPath) => absPath !== null))]
245
+ })));
246
+ const entries = [...base, ...generated];
247
+ entries.sort((a, b) => a.key.localeCompare(b.key));
248
+ return entries;
249
+ }
250
+ async function resolveSsrPageEntriesForApp(app, pageKeys) {
251
+ const config = await app.getConfig();
252
+ return resolveSsrPageEntries({ appCwdPath: app.cwdPath, appName: app.name, pageKeys, basePaths: config.basePaths });
253
+ }
254
+
255
+ export { getRootBoundarySegments, isRootBoundarySegments, resolveSsrPageEntriesForApp };
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  AppExecutor,
4
4
  LibExecutor
5
- } from "./index-90zyjrby.js";
5
+ } from "./index-681sx6nt.js";
6
6
 
7
7
  // pkgs/@akanjs/devkit/workflow/utils.ts
8
8
  var jsonText = (value, { trailingNewline = true } = {}) => `${JSON.stringify(value, null, 2)}${trailingNewline ? `
@@ -1,14 +1,14 @@
1
1
  // @bun
2
2
  import {
3
3
  AkanContextAnalyzer
4
- } from "./index-24h5bqpj.js";
4
+ } from "./index-wc19q8mb.js";
5
5
  import {
6
6
  Prompter
7
7
  } from "./index-j37qq1f2.js";
8
8
  import {
9
9
  runner,
10
10
  script
11
- } from "./index-8rr621r2.js";
11
+ } from "./index-ckpwq052.js";
12
12
  import {
13
13
  AGENT_BLOCK_END,
14
14
  AGENT_BLOCK_START,
@@ -19,7 +19,7 @@ import {
19
19
  renderRecipeEntries,
20
20
  stampBlockVersion,
21
21
  upsertAgentBlock
22
- } from "./index-90zyjrby.js";
22
+ } from "./index-681sx6nt.js";
23
23
  import {
24
24
  collectRecipeSources,
25
25
  scanRecipes
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  runner,
4
4
  script
5
- } from "./index-8rr621r2.js";
5
+ } from "./index-ckpwq052.js";
6
6
 
7
7
  // pkgs/@akanjs/cli/page/page.runner.ts
8
8
  class PageRunner extends runner("page") {
@@ -1,14 +1,14 @@
1
1
  // @bun
2
2
  import {
3
3
  LibraryScript
4
- } from "./index-6bs24rb4.js";
4
+ } from "./index-f0t3wjyr.js";
5
5
  import {
6
6
  resolveMobileTargets
7
7
  } from "./index-76rn3g2c.js";
8
8
  import {
9
9
  runner,
10
10
  script
11
- } from "./index-8rr621r2.js";
11
+ } from "./index-ckpwq052.js";
12
12
  import {
13
13
  HmrWatcher,
14
14
  WatchRootResolver
@@ -18,7 +18,7 @@ import {
18
18
  LibExecutor,
19
19
  PkgExecutor,
20
20
  WorkspaceExecutor
21
- } from "./index-90zyjrby.js";
21
+ } from "./index-681sx6nt.js";
22
22
  import {
23
23
  __require
24
24
  } from "./index-yb2wsc7f.js";
@@ -1898,9 +1898,9 @@ function openBrowser(url) {
1898
1898
  }
1899
1899
 
1900
1900
  // pkgs/@akanjs/cli/application/application.runner.ts
1901
- var loadBuildRunner = async () => (await import("./applicationBuildRunner-t5v6tcrm.js")).ApplicationBuildRunner;
1901
+ var loadBuildRunner = async () => (await import("./applicationBuildRunner-x8h12rp0.js")).ApplicationBuildRunner;
1902
1902
  var loadReleasePackager = async () => (await import("./applicationReleasePackager-93nzdfsy.js")).ApplicationReleasePackager;
1903
- var loadCapacitorApp = async () => (await import("./capacitorApp-927ahhz2.js")).CapacitorApp;
1903
+ var loadCapacitorApp = async () => (await import("./capacitorApp-8mv9e537.js")).CapacitorApp;
1904
1904
  var loadAbstractCompactor = async () => (await import("./abstractCompactor-20e0cwbs.js")).AbstractCompactor;
1905
1905
  var loadPrompts = async () => await import("@inquirer/prompts");
1906
1906
 
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  CloudRunner
4
- } from "./index-bwt525ne.js";
4
+ } from "./index-d3vvvzsd.js";
5
5
  import {
6
6
  PackageScript
7
- } from "./index-7zd96bng.js";
7
+ } from "./index-x1dbhd80.js";
8
8
  import {
9
9
  AiSession,
10
10
  CloudApi,
@@ -12,13 +12,13 @@ import {
12
12
  } from "./index-sh01r3pm.js";
13
13
  import {
14
14
  ApplicationScript
15
- } from "./index-7etegaht.js";
15
+ } from "./index-r8z20vnj.js";
16
16
  import {
17
17
  script
18
- } from "./index-8rr621r2.js";
18
+ } from "./index-ckpwq052.js";
19
19
  import {
20
20
  PkgExecutor
21
- } from "./index-90zyjrby.js";
21
+ } from "./index-681sx6nt.js";
22
22
 
23
23
  // pkgs/@akanjs/cli/cloud/cloud.script.ts
24
24
  import { Logger } from "akanjs/common";
@@ -1,17 +1,17 @@
1
1
  // @bun
2
2
  import {
3
3
  AkanContextAnalyzer
4
- } from "./index-24h5bqpj.js";
4
+ } from "./index-wc19q8mb.js";
5
5
  import {
6
6
  createRepairReport,
7
7
  generatedFilePathsForTarget,
8
8
  renderRepairReport,
9
9
  writeGeneratedSyncState,
10
10
  writeWorkflowRunArtifact
11
- } from "./index-5em412h5.js";
11
+ } from "./index-g44fykfw.js";
12
12
  import {
13
13
  runner
14
- } from "./index-8rr621r2.js";
14
+ } from "./index-ckpwq052.js";
15
15
 
16
16
  // pkgs/@akanjs/cli/repair/repair.runner.ts
17
17
  var commandForShell = (command) => command.startsWith("akan ") ? `bun run ${command}` : command;
@@ -4,7 +4,7 @@ import {
4
4
  } from "./index-ss469dec.js";
5
5
  import {
6
6
  PageScript
7
- } from "./index-4z05haak.js";
7
+ } from "./index-kkya2ped.js";
8
8
  import {
9
9
  AiSession
10
10
  } from "./index-sh01r3pm.js";
@@ -15,17 +15,17 @@ import {
15
15
  generatedFilesForSync,
16
16
  moduleSourcePaths,
17
17
  sourceFile
18
- } from "./index-5em412h5.js";
18
+ } from "./index-g44fykfw.js";
19
19
  import {
20
20
  Prompter
21
21
  } from "./index-j37qq1f2.js";
22
22
  import {
23
23
  runner,
24
24
  script
25
- } from "./index-8rr621r2.js";
25
+ } from "./index-ckpwq052.js";
26
26
  import {
27
27
  ModuleExecutor
28
- } from "./index-90zyjrby.js";
28
+ } from "./index-681sx6nt.js";
29
29
  import {
30
30
  FileSys
31
31
  } from "./index-67546d0j.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  workflowRunArtifactPath,
4
4
  workflowSyncDir
5
- } from "./index-5em412h5.js";
5
+ } from "./index-g44fykfw.js";
6
6
  import {
7
7
  AppExecutor,
8
8
  LibExecutor,
@@ -11,7 +11,7 @@ import {
11
11
  readDevkitVersion,
12
12
  rootAllowedDirs,
13
13
  rootAllowedFiles
14
- } from "./index-90zyjrby.js";
14
+ } from "./index-681sx6nt.js";
15
15
  import {
16
16
  collectRecipeSources,
17
17
  findInlineRecipeDuplicates,
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  runner,
4
4
  script
5
- } from "./index-8rr621r2.js";
5
+ } from "./index-ckpwq052.js";
6
6
  import {
7
7
  PkgExecutor
8
- } from "./index-90zyjrby.js";
8
+ } from "./index-681sx6nt.js";
9
9
  import {
10
10
  TypeScriptDependencyScanner
11
11
  } from "./index-46tjzh6s.js";