@akanjs/devkit 3.3.0-rc.7 → 3.3.0-rc.8

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/CHANGELOG.md +185 -0
  2. package/README.ko.md +3 -2
  3. package/README.md +3 -3
  4. package/akanApp/akanApp.host.test.ts +1 -1
  5. package/akanConfig/akanConfig.test.ts +55 -7
  6. package/akanConfig/akanConfig.ts +12 -65
  7. package/akanConfig/dockerImage.ts +17 -0
  8. package/akanConfig/nativeKeys.ts +52 -0
  9. package/codeAgent/agent/CodeAgent.ts +36 -16
  10. package/codeAgent/agent/CodeAgentAllowed.ts +35 -0
  11. package/codeAgent/agent/CodeAgentCommandLine.ts +372 -0
  12. package/codeAgent/agent/CodeAgentGate.ts +23 -4
  13. package/codeAgent/agent/CodeAgentRpcHost.ts +1 -1
  14. package/codeAgent/agent/codeAgent.test.ts +62 -0
  15. package/codeAgent/agent/codeAgentCommandLine.test.ts +212 -0
  16. package/codeAgent/agent/codeAgentContract.test.ts +117 -5
  17. package/codeAgent/skills/akan-agent/SKILL.md +8 -1
  18. package/codeAgent/skills/akan-code/SKILL.md +38 -3
  19. package/frontendBuild/buildRouteClient.test.ts +2 -7
  20. package/frontendBuild/clientEntryDiscovery.ts +2 -2
  21. package/frontendBuild/devBarrelImports.test.ts +30 -0
  22. package/frontendBuild/devBarrelImports.ts +2 -2
  23. package/incrementalBuilder/buildBatch.proc.ts +9 -9
  24. package/incrementalBuilder/buildBatchProtocol.ts +1 -1
  25. package/incrementalBuilder/builderBoot.ts +5 -5
  26. package/incrementalBuilder/builderGraphPayloads.ts +4 -4
  27. package/incrementalBuilder/builderLanes.ts +2 -2
  28. package/incrementalBuilder/builderWatch.ts +8 -8
  29. package/incrementalBuilder/csrRegistry.ts +4 -4
  30. package/incrementalBuilder/incrementalBuilder.proc.ts +8 -8
  31. package/incrementalBuilder/ssrRegistry.ts +6 -6
  32. package/index.ts +1 -1
  33. package/integration/renderAdmissionSoak.test.ts +99 -0
  34. package/integration/renderAdmissionSoak.ts +609 -0
  35. package/mobile/nativeConfig.test.ts +79 -0
  36. package/mobile/nativeConfig.ts +35 -6
  37. package/package.json +14 -169
  38. package/packageExports.test.ts +38 -24
  39. package/transforms/barrelAnalyzer.ts +2 -2
  40. package/transforms/transforms.test.ts +3 -3
  41. package/tunnel/createTunnel.test.ts +29 -8
  42. package/tunnel/createTunnel.ts +18 -11
  43. package/util/fileEditor.ts +1 -0
  44. package/util/selectModel.ts +1 -0
  45. package/workspace/getRelatedCnsts.ts +7 -0
@@ -41,6 +41,7 @@ const scanModuleSpecifiers = (source: string, filePath: string, includeExports:
41
41
  return importSpecifiers;
42
42
  };
43
43
 
44
+ /** @deprecated Nothing in akanjs uses it; removed in a later minor. */
44
45
  export const parseTsConfig = (tsConfigPath: string = "./tsconfig.json") => {
45
46
  const configFile = ts.readConfigFile(tsConfigPath, (path) => {
46
47
  return ts.sys.readFile(path);
@@ -73,12 +74,15 @@ const collectFiles = (constantFilePath: string, parsedConfig: ts.ParsedCommandLi
73
74
  return { allFilesToAnalyze, analyzedFiles };
74
75
  };
75
76
 
77
+ /** @deprecated Nothing in akanjs uses it; removed in a later minor. */
76
78
  export const collectImportedFiles = (constantFilePath: string, parsedConfig: ts.ParsedCommandLine) =>
77
79
  collectFiles(constantFilePath, parsedConfig, false);
78
80
 
81
+ /** @deprecated Nothing in akanjs uses it; removed in a later minor. */
79
82
  export const collectExportedFiles = (constantFilePath: string, parsedConfig: ts.ParsedCommandLine) =>
80
83
  collectFiles(constantFilePath, parsedConfig, true);
81
84
 
85
+ /** @deprecated Nothing in akanjs uses it; removed in a later minor. */
82
86
  export const createTsProgram = (filePaths: Set<string>, options: ts.CompilerOptions) => {
83
87
  const spinner = ora("Creating TypeScript program for all files...");
84
88
  spinner.start();
@@ -94,6 +98,7 @@ export const createTsProgram = (filePaths: Set<string>, options: ts.CompilerOpti
94
98
  };
95
99
  };
96
100
 
101
+ /** @deprecated Nothing in akanjs uses it; removed in a later minor. */
97
102
  export const createSymbolCache = (checker: ts.TypeChecker) => {
98
103
  const symbolCache = new Map<string, ts.Symbol | undefined>();
99
104
 
@@ -108,6 +113,7 @@ export const createSymbolCache = (checker: ts.TypeChecker) => {
108
113
  };
109
114
  };
110
115
 
116
+ /** @deprecated Nothing in akanjs uses it; removed in a later minor. */
111
117
  export const analyzeProperties = (filesToAnalyze: Set<string>, program: ts.Program, checker: ts.TypeChecker) => {
112
118
  const propertyMap = new Map<
113
119
  string,
@@ -226,6 +232,7 @@ export const analyzeProperties = (filesToAnalyze: Set<string>, program: ts.Progr
226
232
  return propertyMap;
227
233
  };
228
234
 
235
+ /** @deprecated Nothing in akanjs uses it; removed in a later minor. */
229
236
  export const getRelatedCnsts = (constantFilePath: string) => {
230
237
  const parsedConfig = parseTsConfig();
231
238
  const { allFilesToAnalyze } = collectImportedFiles(constantFilePath, parsedConfig);