@aws/nx-plugin 1.0.0-rc.5 → 1.0.0-rc.6

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 (364) hide show
  1. package/LICENSE-THIRD-PARTY +221 -79
  2. package/package.json +4 -4
  3. package/src/connection/agent-runtime-config.d.ts +1 -1
  4. package/src/connection/agent-runtime-config.js.map +1 -1
  5. package/src/connection/agent-serve-local.d.ts +2 -2
  6. package/src/connection/generator.d.ts +4 -4
  7. package/src/connection/generator.js +47 -47
  8. package/src/connection/generator.js.map +1 -1
  9. package/src/connection/serve-local.d.ts +1 -1
  10. package/src/connection/serve-local.js +1 -1
  11. package/src/connection/serve-local.js.map +1 -1
  12. package/src/infra/app/__snapshots__/generator.spec.ts.snap +17 -28
  13. package/src/infra/app/generator.d.ts +3 -3
  14. package/src/infra/app/generator.js +10 -10
  15. package/src/infra/app/generator.js.map +1 -1
  16. package/src/license/config-types.d.ts +2 -2
  17. package/src/license/config-types.js +4 -0
  18. package/src/license/config-types.js.map +1 -1
  19. package/src/license/config.d.ts +4 -4
  20. package/src/license/config.js +1 -1
  21. package/src/license/config.js.map +1 -1
  22. package/src/license/dependency-check/check.d.ts +6 -2
  23. package/src/license/dependency-check/check.js +4 -4
  24. package/src/license/dependency-check/check.js.map +1 -1
  25. package/src/license/dependency-check/collectors/npm-collector.js +1 -1
  26. package/src/license/dependency-check/collectors/npm-collector.js.map +1 -1
  27. package/src/license/dependency-check/collectors/python-collector.d.ts +4 -0
  28. package/src/license/dependency-check/collectors/python-collector.js +6 -6
  29. package/src/license/dependency-check/collectors/python-collector.js.map +1 -1
  30. package/src/license/dependency-check/evaluator.d.ts +1 -1
  31. package/src/license/dependency-check/executor.d.ts +1 -1
  32. package/src/license/dependency-check/executor.js +1 -1
  33. package/src/license/dependency-check/executor.js.map +1 -1
  34. package/src/license/generator.d.ts +3 -3
  35. package/src/license/generator.js +12 -12
  36. package/src/license/generator.js.map +1 -1
  37. package/src/license/index.d.ts +2 -2
  38. package/src/license/index.js +4 -4
  39. package/src/license/index.js.map +1 -1
  40. package/src/license/known-exceptions.d.ts +1 -1
  41. package/src/license/sync/generator.d.ts +2 -2
  42. package/src/license/sync/generator.js +5 -5
  43. package/src/license/sync/generator.js.map +1 -1
  44. package/src/license/sync/project-file-sync.d.ts +2 -2
  45. package/src/license/sync/project-file-sync.js.map +1 -1
  46. package/src/mcp-server/generator-info.d.ts +5 -1
  47. package/src/mcp-server/generator-info.js +7 -7
  48. package/src/mcp-server/generator-info.js.map +1 -1
  49. package/src/mcp-server/guide-pipeline.d.ts +1 -1
  50. package/src/mcp-server/guide-pipeline.js +2 -2
  51. package/src/mcp-server/guide-pipeline.js.map +1 -1
  52. package/src/mcp-server/mdx-ast.js +4 -0
  53. package/src/mcp-server/mdx-ast.js.map +1 -1
  54. package/src/mcp-server/server.js +3 -3
  55. package/src/mcp-server/server.js.map +1 -1
  56. package/src/mcp-server/tools/create-workspace-command.d.ts +1 -1
  57. package/src/mcp-server/tools/create-workspace-command.js +2 -2
  58. package/src/mcp-server/tools/create-workspace-command.js.map +1 -1
  59. package/src/mcp-server/tools/general-guidance.d.ts +2 -2
  60. package/src/mcp-server/tools/general-guidance.js +2 -2
  61. package/src/mcp-server/tools/general-guidance.js.map +1 -1
  62. package/src/mcp-server/tools/generator-guide.d.ts +2 -2
  63. package/src/mcp-server/tools/generator-guide.js.map +1 -1
  64. package/src/mcp-server/tools/list-generators.d.ts +2 -2
  65. package/src/mcp-server/tools/list-generators.js +1 -1
  66. package/src/mcp-server/tools/list-generators.js.map +1 -1
  67. package/src/open-api/ts-client/__snapshots__/generator.reserved-keywords.spec.ts.snap +1 -1
  68. package/src/open-api/ts-client/generator.d.ts +3 -3
  69. package/src/open-api/ts-client/generator.js +2 -2
  70. package/src/open-api/ts-client/generator.js.map +1 -1
  71. package/src/open-api/ts-hooks/generator.d.ts +3 -3
  72. package/src/open-api/ts-hooks/generator.js +2 -2
  73. package/src/open-api/ts-hooks/generator.js.map +1 -1
  74. package/src/open-api/ts-hooks/generator.spec.tsx +14 -14
  75. package/src/open-api/ts-metadata/generator.d.ts +3 -3
  76. package/src/open-api/ts-metadata/generator.js +1 -1
  77. package/src/open-api/ts-metadata/generator.js.map +1 -1
  78. package/src/open-api/utils/codegen-data/languages.d.ts +5 -1
  79. package/src/open-api/utils/codegen-data/languages.js +4 -4
  80. package/src/open-api/utils/codegen-data/languages.js.map +1 -1
  81. package/src/open-api/utils/codegen-data.d.ts +6 -2
  82. package/src/open-api/utils/codegen-data.js +6 -6
  83. package/src/open-api/utils/codegen-data.js.map +1 -1
  84. package/src/open-api/utils/normalise.d.ts +5 -1
  85. package/src/open-api/utils/normalise.js +5 -5
  86. package/src/open-api/utils/normalise.js.map +1 -1
  87. package/src/open-api/utils/parse.d.ts +2 -2
  88. package/src/open-api/utils/parse.js +4 -0
  89. package/src/open-api/utils/parse.js.map +1 -1
  90. package/src/open-api/utils/refs.d.ts +1 -1
  91. package/src/preset/__snapshots__/generator.spec.ts.snap +59 -15
  92. package/src/preset/generator.d.ts +3 -3
  93. package/src/preset/generator.js +16 -13
  94. package/src/preset/generator.js.map +1 -1
  95. package/src/preset/schema.d.ts +2 -1
  96. package/src/py/agent/a2a-connection/generator.d.ts +3 -3
  97. package/src/py/agent/a2a-connection/generator.js +4 -4
  98. package/src/py/agent/a2a-connection/generator.js.map +1 -1
  99. package/src/py/agent/generator.d.ts +3 -3
  100. package/src/py/agent/generator.js +16 -17
  101. package/src/py/agent/generator.js.map +1 -1
  102. package/src/py/agent/mcp-connection/generator.d.ts +3 -3
  103. package/src/py/agent/mcp-connection/generator.js +4 -4
  104. package/src/py/agent/mcp-connection/generator.js.map +1 -1
  105. package/src/py/agent/react-connection/generator.d.ts +3 -3
  106. package/src/py/agent/react-connection/generator.js +4 -4
  107. package/src/py/agent/react-connection/generator.js.map +1 -1
  108. package/src/py/agent/react-connection/serve-local.d.ts +2 -2
  109. package/src/py/agent/react-connection/serve-local.js.map +1 -1
  110. package/src/py/api/generator.d.ts +3 -3
  111. package/src/py/api/generator.js.map +1 -1
  112. package/src/py/fast-api/generator.d.ts +3 -3
  113. package/src/py/fast-api/generator.js +12 -12
  114. package/src/py/fast-api/generator.js.map +1 -1
  115. package/src/py/fast-api/react/generator.d.ts +3 -3
  116. package/src/py/fast-api/react/generator.js +2 -2
  117. package/src/py/fast-api/react/generator.js.map +1 -1
  118. package/src/py/fast-api/react/open-api.d.ts +1 -1
  119. package/src/py/fast-api/react/open-api.js +1 -1
  120. package/src/py/fast-api/react/open-api.js.map +1 -1
  121. package/src/py/lambda-function/generator.d.ts +3 -3
  122. package/src/py/lambda-function/generator.js +9 -9
  123. package/src/py/lambda-function/generator.js.map +1 -1
  124. package/src/py/mcp-server/generator.d.ts +3 -3
  125. package/src/py/mcp-server/generator.js +13 -13
  126. package/src/py/mcp-server/generator.js.map +1 -1
  127. package/src/py/project/generator.d.ts +3 -3
  128. package/src/py/project/generator.js +8 -8
  129. package/src/py/project/generator.js.map +1 -1
  130. package/src/smithy/project/generator.d.ts +3 -3
  131. package/src/smithy/project/generator.js +5 -5
  132. package/src/smithy/project/generator.js.map +1 -1
  133. package/src/smithy/react-connection/generator.d.ts +3 -3
  134. package/src/smithy/react-connection/generator.js +3 -3
  135. package/src/smithy/react-connection/generator.js.map +1 -1
  136. package/src/smithy/ts/api/__snapshots__/generator.spec.ts.snap +8 -34
  137. package/src/smithy/ts/api/generator.d.ts +3 -3
  138. package/src/smithy/ts/api/generator.js +9 -11
  139. package/src/smithy/ts/api/generator.js.map +1 -1
  140. package/src/terraform/project/generator.d.ts +3 -3
  141. package/src/terraform/project/generator.js +6 -6
  142. package/src/terraform/project/generator.js.map +1 -1
  143. package/src/trpc/backend/generator.d.ts +3 -3
  144. package/src/trpc/backend/generator.js +10 -10
  145. package/src/trpc/backend/generator.js.map +1 -1
  146. package/src/trpc/backend/schema.d.ts +2 -2
  147. package/src/trpc/react/generator.d.ts +3 -3
  148. package/src/trpc/react/generator.js +5 -5
  149. package/src/trpc/react/generator.js.map +1 -1
  150. package/src/ts/agent/__snapshots__/generator.spec.ts.snap +4 -2
  151. package/src/ts/agent/a2a-connection/generator.d.ts +3 -3
  152. package/src/ts/agent/a2a-connection/generator.js +5 -5
  153. package/src/ts/agent/a2a-connection/generator.js.map +1 -1
  154. package/src/ts/agent/generator.d.ts +3 -3
  155. package/src/ts/agent/generator.js +10 -10
  156. package/src/ts/agent/generator.js.map +1 -1
  157. package/src/ts/agent/mcp-connection/__snapshots__/generator.spec.ts.snap +4 -2
  158. package/src/ts/agent/mcp-connection/generator.d.ts +3 -3
  159. package/src/ts/agent/mcp-connection/generator.js +5 -5
  160. package/src/ts/agent/mcp-connection/generator.js.map +1 -1
  161. package/src/ts/agent/react-connection/generator.d.ts +3 -3
  162. package/src/ts/agent/react-connection/generator.js +9 -9
  163. package/src/ts/agent/react-connection/generator.js.map +1 -1
  164. package/src/ts/agent/react-connection/serve-local.d.ts +2 -2
  165. package/src/ts/api/generator.d.ts +3 -3
  166. package/src/ts/api/generator.js +4 -4
  167. package/src/ts/api/generator.js.map +1 -1
  168. package/src/ts/api/schema.d.ts +2 -1
  169. package/src/ts/astro-docs/__snapshots__/generator.spec.ts.snap +1 -2
  170. package/src/ts/astro-docs/generator.d.ts +3 -3
  171. package/src/ts/astro-docs/generator.js +4 -4
  172. package/src/ts/astro-docs/generator.js.map +1 -1
  173. package/src/ts/docs/generator.d.ts +3 -3
  174. package/src/ts/docs/generator.js.map +1 -1
  175. package/src/ts/dynamodb/agent-connection/generator.d.ts +3 -3
  176. package/src/ts/dynamodb/agent-connection/generator.js +2 -2
  177. package/src/ts/dynamodb/agent-connection/generator.js.map +1 -1
  178. package/src/ts/dynamodb/generator.d.ts +3 -3
  179. package/src/ts/dynamodb/generator.js +11 -13
  180. package/src/ts/dynamodb/generator.js.map +1 -1
  181. package/src/ts/dynamodb/mcp-server-connection/generator.d.ts +3 -3
  182. package/src/ts/dynamodb/mcp-server-connection/generator.js +2 -2
  183. package/src/ts/dynamodb/mcp-server-connection/generator.js.map +1 -1
  184. package/src/ts/dynamodb/smithy-connection/generator.d.ts +3 -3
  185. package/src/ts/dynamodb/smithy-connection/generator.js +2 -2
  186. package/src/ts/dynamodb/smithy-connection/generator.js.map +1 -1
  187. package/src/ts/dynamodb/trpc-connection/generator.d.ts +3 -3
  188. package/src/ts/dynamodb/trpc-connection/generator.js +2 -2
  189. package/src/ts/dynamodb/trpc-connection/generator.js.map +1 -1
  190. package/src/ts/lambda-function/generator.d.ts +3 -3
  191. package/src/ts/lambda-function/generator.js +8 -8
  192. package/src/ts/lambda-function/generator.js.map +1 -1
  193. package/src/ts/lib/__snapshots__/generator.spec.ts.snap +23 -56
  194. package/src/ts/lib/__snapshots__/vitest.spec.ts.snap +24 -0
  195. package/src/ts/lib/biome.d.ts +7 -0
  196. package/src/ts/lib/biome.js +55 -0
  197. package/src/ts/lib/biome.js.map +1 -0
  198. package/src/ts/lib/generator.d.ts +3 -3
  199. package/src/ts/lib/generator.js +7 -13
  200. package/src/ts/lib/generator.js.map +1 -1
  201. package/src/ts/lib/grit/vitest-pass-with-no-tests.grit +1 -1
  202. package/src/ts/lib/ts-project-utils.d.ts +2 -2
  203. package/src/ts/lib/ts-project-utils.js +3 -3
  204. package/src/ts/lib/ts-project-utils.js.map +1 -1
  205. package/src/ts/lib/vitest.d.ts +2 -2
  206. package/src/ts/lib/vitest.js +1 -1
  207. package/src/ts/lib/vitest.js.map +1 -1
  208. package/src/ts/mcp-server/generator.d.ts +3 -3
  209. package/src/ts/mcp-server/generator.js +11 -11
  210. package/src/ts/mcp-server/generator.js.map +1 -1
  211. package/src/ts/nx-generator/__snapshots__/generator.spec.ts.snap +19 -14
  212. package/src/ts/nx-generator/generator.d.ts +2 -2
  213. package/src/ts/nx-generator/generator.js +6 -6
  214. package/src/ts/nx-generator/generator.js.map +1 -1
  215. package/src/ts/nx-plugin/generator.d.ts +3 -3
  216. package/src/ts/nx-plugin/generator.js +3 -3
  217. package/src/ts/nx-plugin/generator.js.map +1 -1
  218. package/src/ts/nx-plugin/utils.d.ts +1 -1
  219. package/src/ts/nx-plugin/utils.js +1 -1
  220. package/src/ts/nx-plugin/utils.js.map +1 -1
  221. package/src/ts/rdb/agent-connection/generator.d.ts +3 -3
  222. package/src/ts/rdb/agent-connection/generator.js +4 -4
  223. package/src/ts/rdb/agent-connection/generator.js.map +1 -1
  224. package/src/ts/rdb/generator.d.ts +3 -3
  225. package/src/ts/rdb/generator.js +12 -14
  226. package/src/ts/rdb/generator.js.map +1 -1
  227. package/src/ts/rdb/mcp-server-connection/generator.d.ts +3 -3
  228. package/src/ts/rdb/mcp-server-connection/generator.js +4 -4
  229. package/src/ts/rdb/mcp-server-connection/generator.js.map +1 -1
  230. package/src/ts/rdb/smithy-connection/generator.d.ts +3 -3
  231. package/src/ts/rdb/smithy-connection/generator.js +4 -4
  232. package/src/ts/rdb/smithy-connection/generator.js.map +1 -1
  233. package/src/ts/rdb/trpc-connection/generator.d.ts +3 -3
  234. package/src/ts/rdb/trpc-connection/generator.js +3 -3
  235. package/src/ts/rdb/trpc-connection/generator.js.map +1 -1
  236. package/src/ts/rdb/utils.d.ts +1 -1
  237. package/src/ts/react-website/agui/generator.d.ts +1 -1
  238. package/src/ts/react-website/agui/generator.js +4 -4
  239. package/src/ts/react-website/agui/generator.js.map +1 -1
  240. package/src/ts/react-website/app/__snapshots__/generator.spec.ts.snap +166 -305
  241. package/src/ts/react-website/app/generator.d.ts +3 -3
  242. package/src/ts/react-website/app/generator.js +13 -13
  243. package/src/ts/react-website/app/generator.js.map +1 -1
  244. package/src/ts/react-website/cognito-auth/generator.d.ts +3 -3
  245. package/src/ts/react-website/cognito-auth/generator.js +10 -10
  246. package/src/ts/react-website/cognito-auth/generator.js.map +1 -1
  247. package/src/ts/react-website/cognito-auth/grit/cloudscape-auth-menu.grit +5 -5
  248. package/src/ts/react-website/cognito-auth/grit/cognito-auth-wrapper.grit +1 -1
  249. package/src/ts/react-website/cognito-auth/utils.d.ts +1 -1
  250. package/src/ts/react-website/cognito-auth/utils.js +1 -1
  251. package/src/ts/react-website/cognito-auth/utils.js.map +1 -1
  252. package/src/ts/react-website/runtime-config/generator.d.ts +3 -3
  253. package/src/ts/react-website/runtime-config/generator.js +4 -4
  254. package/src/ts/react-website/runtime-config/generator.js.map +1 -1
  255. package/src/ts/sync/generator.d.ts +3 -3
  256. package/src/ts/sync/generator.js +2 -2
  257. package/src/ts/sync/generator.js.map +1 -1
  258. package/src/ts/website/app/generator.d.ts +3 -3
  259. package/src/ts/website/app/generator.js +1 -1
  260. package/src/ts/website/app/generator.js.map +1 -1
  261. package/src/ts/website/auth/generator.d.ts +3 -3
  262. package/src/ts/website/auth/generator.js +1 -1
  263. package/src/ts/website/auth/generator.js.map +1 -1
  264. package/src/utils/agent-connection/agent-connection.d.ts +1 -1
  265. package/src/utils/agent-connection/agent-connection.js +8 -8
  266. package/src/utils/agent-connection/agent-connection.js.map +1 -1
  267. package/src/utils/agent-core-constructs/agent-core-constructs.d.ts +3 -3
  268. package/src/utils/agent-core-constructs/agent-core-constructs.js +1 -1
  269. package/src/utils/agent-core-constructs/agent-core-constructs.js.map +1 -1
  270. package/src/utils/api-constructs/api-constructs.d.ts +2 -2
  271. package/src/utils/api-constructs/api-constructs.js +1 -1
  272. package/src/utils/api-constructs/api-constructs.js.map +1 -1
  273. package/src/utils/api-constructs/open-api-metadata.d.ts +2 -2
  274. package/src/utils/api-constructs/open-api-metadata.js.map +1 -1
  275. package/src/utils/ast/website.d.ts +5 -1
  276. package/src/utils/ast/website.js +2 -2
  277. package/src/utils/ast/website.js.map +1 -1
  278. package/src/utils/ast.d.ts +1 -1
  279. package/src/utils/ast.js +7 -3
  280. package/src/utils/ast.js.map +1 -1
  281. package/src/utils/bundle/bundle.d.ts +1 -1
  282. package/src/utils/bundle/bundle.js +2 -2
  283. package/src/utils/bundle/bundle.js.map +1 -1
  284. package/src/utils/config/index.d.ts +5 -5
  285. package/src/utils/config/utils.d.ts +2 -2
  286. package/src/utils/config/utils.js +1 -1
  287. package/src/utils/config/utils.js.map +1 -1
  288. package/src/utils/connection/open-api/react.d.ts +1 -1
  289. package/src/utils/connection/open-api/react.js +4 -4
  290. package/src/utils/connection/open-api/react.js.map +1 -1
  291. package/src/utils/containers.d.ts +1 -1
  292. package/src/utils/dynamodb-constructs/dynamodb-constructs.d.ts +2 -2
  293. package/src/utils/dynamodb-constructs/dynamodb-constructs.js +1 -1
  294. package/src/utils/dynamodb-constructs/dynamodb-constructs.js.map +1 -1
  295. package/src/utils/format.d.ts +45 -2
  296. package/src/utils/format.js +91 -50
  297. package/src/utils/format.js.map +1 -1
  298. package/src/utils/fs.d.ts +1 -1
  299. package/src/utils/fs.js.map +1 -1
  300. package/src/utils/function-constructs/function-constructs.d.ts +2 -2
  301. package/src/utils/function-constructs/function-constructs.js +1 -1
  302. package/src/utils/function-constructs/function-constructs.js.map +1 -1
  303. package/src/utils/generators.d.ts +4 -0
  304. package/src/utils/generators.js +4 -4
  305. package/src/utils/generators.js.map +1 -1
  306. package/src/utils/git.d.ts +1 -1
  307. package/src/utils/git.js.map +1 -1
  308. package/src/utils/iac.d.ts +1 -1
  309. package/src/utils/iac.js.map +1 -1
  310. package/src/utils/identity-constructs/identity-constructs.d.ts +2 -2
  311. package/src/utils/identity-constructs/identity-constructs.js +1 -1
  312. package/src/utils/identity-constructs/identity-constructs.js.map +1 -1
  313. package/src/utils/js.d.ts +4 -0
  314. package/src/utils/js.js +4 -4
  315. package/src/utils/js.js.map +1 -1
  316. package/src/utils/mcp.d.ts +1 -1
  317. package/src/utils/mcp.js.map +1 -1
  318. package/src/utils/metrics.d.ts +2 -2
  319. package/src/utils/metrics.js.map +1 -1
  320. package/src/utils/npm-scope.d.ts +1 -1
  321. package/src/utils/npm-scope.js.map +1 -1
  322. package/src/utils/nx.d.ts +2 -2
  323. package/src/utils/nx.js +2 -2
  324. package/src/utils/nx.js.map +1 -1
  325. package/src/utils/nxlv-python.d.ts +1 -1
  326. package/src/utils/paths.d.ts +1 -1
  327. package/src/utils/pnpm-workspace.d.ts +1 -1
  328. package/src/utils/pnpm-workspace.js.map +1 -1
  329. package/src/utils/port.d.ts +1 -1
  330. package/src/utils/port.js.map +1 -1
  331. package/src/utils/py.d.ts +2 -2
  332. package/src/utils/py.js +1 -1
  333. package/src/utils/py.js.map +1 -1
  334. package/src/utils/rdb-constructs/rdb-constructs.d.ts +3 -3
  335. package/src/utils/rdb-constructs/rdb-constructs.js +1 -1
  336. package/src/utils/rdb-constructs/rdb-constructs.js.map +1 -1
  337. package/src/utils/shared-constructs.d.ts +2 -2
  338. package/src/utils/shared-constructs.js +7 -7
  339. package/src/utils/shared-constructs.js.map +1 -1
  340. package/src/utils/shared-infra-config.d.ts +1 -1
  341. package/src/utils/shared-infra-config.js +1 -1
  342. package/src/utils/shared-infra-config.js.map +1 -1
  343. package/src/utils/shared-scripts.d.ts +1 -1
  344. package/src/utils/shared-scripts.js +2 -2
  345. package/src/utils/shared-scripts.js.map +1 -1
  346. package/src/utils/shared-shadcn.d.ts +1 -1
  347. package/src/utils/shared-shadcn.js +1 -13
  348. package/src/utils/shared-shadcn.js.map +1 -1
  349. package/src/utils/test.d.ts +5 -1
  350. package/src/utils/test.js +9 -5
  351. package/src/utils/test.js.map +1 -1
  352. package/src/utils/toml.d.ts +1 -1
  353. package/src/utils/toml.js +4 -0
  354. package/src/utils/toml.js.map +1 -1
  355. package/src/utils/versions.d.ts +2 -7
  356. package/src/utils/versions.js +1 -6
  357. package/src/utils/versions.js.map +1 -1
  358. package/src/utils/website-constructs/website-constructs.d.ts +2 -2
  359. package/src/utils/website-constructs/website-constructs.js +1 -1
  360. package/src/utils/website-constructs/website-constructs.js.map +1 -1
  361. package/src/ts/lib/eslint.d.ts +0 -14
  362. package/src/ts/lib/eslint.js +0 -90
  363. package/src/ts/lib/eslint.js.map +0 -1
  364. package/src/ts/lib/grit/eslint-dependency-checks-warn.grit +0 -1
@@ -3417,12 +3417,12 @@ SOFTWARE.
3417
3417
 
3418
3418
  ---
3419
3419
 
3420
- The following software may be included in this product: @esbuild/darwin-arm64 (0.28.0)
3420
+ The following software may be included in this product: @esbuild/linux-x64 (0.28.0)
3421
3421
  This software contains the following license and notice below:
3422
3422
 
3423
3423
  MIT License
3424
3424
 
3425
- Copyright (c) The maintainers of @esbuild/darwin-arm64 <https://github.com/evanw/esbuild#readme>
3425
+ Copyright (c) The maintainers of @esbuild/linux-x64 <https://github.com/evanw/esbuild#readme>
3426
3426
 
3427
3427
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
3428
3428
  associated documentation files (the "Software"), to deal in the Software without restriction, including
@@ -3596,36 +3596,12 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
3596
3596
 
3597
3597
  ---
3598
3598
 
3599
- The following software may be included in this product: @getgrit/gritql-darwin-arm64 (0.0.3)
3599
+ The following software may be included in this product: @getgrit/gritql-linux-x64-gnu (0.0.3)
3600
3600
  This software contains the following license and notice below:
3601
3601
 
3602
3602
  MIT License
3603
3603
 
3604
- Copyright (c) The maintainers of @getgrit/gritql-darwin-arm64 <https://github.com/biomejs/gritql#readme>
3605
-
3606
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
3607
- associated documentation files (the "Software"), to deal in the Software without restriction, including
3608
- without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
3609
- copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
3610
- following conditions:
3611
-
3612
- The above copyright notice and this permission notice shall be included in all copies or substantial
3613
- portions of the Software.
3614
-
3615
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
3616
- LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
3617
- EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
3618
- IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
3619
- USE OR OTHER DEALINGS IN THE SOFTWARE.
3620
-
3621
- ---
3622
-
3623
- The following software may be included in this product: @getgrit/gritql-darwin-universal (0.0.3)
3624
- This software contains the following license and notice below:
3625
-
3626
- MIT License
3627
-
3628
- Copyright (c) The maintainers of @getgrit/gritql-darwin-universal <https://github.com/biomejs/gritql#readme>
3604
+ Copyright (c) The maintainers of @getgrit/gritql-linux-x64-gnu <https://github.com/biomejs/gritql#readme>
3629
3605
 
3630
3606
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
3631
3607
  associated documentation files (the "Software"), to deal in the Software without restriction, including
@@ -5424,12 +5400,12 @@ SOFTWARE.
5424
5400
 
5425
5401
  ---
5426
5402
 
5427
- The following software may be included in this product: @oxc-resolver/binding-darwin-arm64 (11.19.1)
5403
+ The following software may be included in this product: @oxc-resolver/binding-linux-x64-gnu (11.19.1)
5428
5404
  This software contains the following license and notice below:
5429
5405
 
5430
5406
  MIT License
5431
5407
 
5432
- Copyright (c) The maintainers of @oxc-resolver/binding-darwin-arm64 <https://oxc.rs>
5408
+ Copyright (c) The maintainers of @oxc-resolver/binding-linux-x64-gnu <https://oxc.rs>
5433
5409
 
5434
5410
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
5435
5411
  associated documentation files (the "Software"), to deal in the Software without restriction, including
@@ -5733,12 +5709,12 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
5733
5709
 
5734
5710
  ---
5735
5711
 
5736
- The following software may be included in this product: @rolldown/binding-darwin-arm64 (1.0.0-rc.15)
5712
+ The following software may be included in this product: @rolldown/binding-linux-x64-gnu (1.0.0-rc.15)
5737
5713
  This software contains the following license and notice below:
5738
5714
 
5739
5715
  MIT License
5740
5716
 
5741
- Copyright (c) The maintainers of @rolldown/binding-darwin-arm64 <https://rolldown.rs/>
5717
+ Copyright (c) The maintainers of @rolldown/binding-linux-x64-gnu <https://rolldown.rs/>
5742
5718
 
5743
5719
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
5744
5720
  associated documentation files (the "Software"), to deal in the Software without restriction, including
@@ -5757,12 +5733,12 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
5757
5733
 
5758
5734
  ---
5759
5735
 
5760
- The following software may be included in this product: @rolldown/binding-darwin-arm64 (1.0.2)
5736
+ The following software may be included in this product: @rolldown/binding-linux-x64-gnu (1.0.2)
5761
5737
  This software contains the following license and notice below:
5762
5738
 
5763
5739
  MIT License
5764
5740
 
5765
- Copyright (c) The maintainers of @rolldown/binding-darwin-arm64 <https://rolldown.rs/>
5741
+ Copyright (c) The maintainers of @rolldown/binding-linux-x64-gnu <https://rolldown.rs/>
5766
5742
 
5767
5743
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
5768
5744
  associated documentation files (the "Software"), to deal in the Software without restriction, including
@@ -6049,7 +6025,7 @@ THE SOFTWARE.
6049
6025
 
6050
6026
  ---
6051
6027
 
6052
- The following software may be included in this product: @rollup/rollup-darwin-arm64 (4.50.1)
6028
+ The following software may be included in this product: @rollup/rollup-linux-x64-gnu (4.50.1)
6053
6029
  This software contains the following license and notice below:
6054
6030
 
6055
6031
  MIT License
@@ -6101,7 +6077,7 @@ SOFTWARE.
6101
6077
 
6102
6078
  ---
6103
6079
 
6104
- The following software may be included in this product: @rspack/binding-darwin-arm64 (1.6.8)
6080
+ The following software may be included in this product: @rspack/binding-linux-x64-gnu (1.6.8)
6105
6081
  This software contains the following license and notice below:
6106
6082
 
6107
6083
  MIT License
@@ -14607,34 +14583,6 @@ OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHE
14607
14583
 
14608
14584
  ---
14609
14585
 
14610
- The following software may be included in this product: fsevents (2.3.3)
14611
- This software contains the following license and notice below:
14612
-
14613
- MIT License
14614
- -----------
14615
-
14616
- Copyright (C) 2010-2020 by Philipp Dunkel, Ben Noordhuis, Elan Shankar, Paul Miller
14617
-
14618
- Permission is hereby granted, free of charge, to any person obtaining a copy
14619
- of this software and associated documentation files (the "Software"), to deal
14620
- in the Software without restriction, including without limitation the rights
14621
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14622
- copies of the Software, and to permit persons to whom the Software is
14623
- furnished to do so, subject to the following conditions:
14624
-
14625
- The above copyright notice and this permission notice shall be included in
14626
- all copies or substantial portions of the Software.
14627
-
14628
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14629
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14630
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
14631
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
14632
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
14633
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
14634
- THE SOFTWARE.
14635
-
14636
- ---
14637
-
14638
14586
  The following software may be included in this product: function-bind (1.1.2)
14639
14587
  This software contains the following license and notice below:
14640
14588
 
@@ -22329,19 +22277,6 @@ OTHER DEALINGS IN THE SOFTWARE.
22329
22277
 
22330
22278
  ---
22331
22279
 
22332
- The following software may be included in this product: prettier (3.8.3)
22333
- This software contains the following license and notice below:
22334
-
22335
- Copyright © James Long and contributors
22336
-
22337
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
22338
-
22339
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
22340
-
22341
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22342
-
22343
- ---
22344
-
22345
22280
  The following software may be included in this product: process (0.11.10)
22346
22281
  This software contains the following license and notice below:
22347
22282
 
@@ -33416,6 +33351,213 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
33416
33351
 
33417
33352
  ---
33418
33353
 
33354
+ The following software may be included in this product: @biomejs/js-api (4.0.0)
33355
+ This software contains the following license and notice below:
33356
+
33357
+ Apache License
33358
+ Version 2.0, January 2004
33359
+ http://www.apache.org/licenses/
33360
+
33361
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
33362
+
33363
+ 1. Definitions.
33364
+
33365
+ "License" shall mean the terms and conditions for use, reproduction,
33366
+ and distribution as defined by Sections 1 through 9 of this document.
33367
+
33368
+ "Licensor" shall mean the copyright owner or entity authorized by
33369
+ the copyright owner that is granting the License.
33370
+
33371
+ "Legal Entity" shall mean the union of the acting entity and all
33372
+ other entities that control, are controlled by, or are under common
33373
+ control with that entity. For the purposes of this definition,
33374
+ "control" means (i) the power, direct or indirect, to cause the
33375
+ direction or management of such entity, whether by contract or
33376
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
33377
+ outstanding shares, or (iii) beneficial ownership of such entity.
33378
+
33379
+ "You" (or "Your") shall mean an individual or Legal Entity
33380
+ exercising permissions granted by this License.
33381
+
33382
+ "Source" form shall mean the preferred form for making modifications,
33383
+ including but not limited to software source code, documentation
33384
+ source, and configuration files.
33385
+
33386
+ "Object" form shall mean any form resulting from mechanical
33387
+ transformation or translation of a Source form, including but
33388
+ not limited to compiled object code, generated documentation,
33389
+ and conversions to other media types.
33390
+
33391
+ "Work" shall mean the work of authorship, whether in Source or
33392
+ Object form, made available under the License, as indicated by a
33393
+ copyright notice that is included in or attached to the work
33394
+ (an example is provided in the Appendix below).
33395
+
33396
+ "Derivative Works" shall mean any work, whether in Source or Object
33397
+ form, that is based on (or derived from) the Work and for which the
33398
+ editorial revisions, annotations, elaborations, or other modifications
33399
+ represent, as a whole, an original work of authorship. For the purposes
33400
+ of this License, Derivative Works shall not include works that remain
33401
+ separable from, or merely link (or bind by name) to the interfaces of,
33402
+ the Work and Derivative Works thereof.
33403
+
33404
+ "Contribution" shall mean any work of authorship, including
33405
+ the original version of the Work and any modifications or additions
33406
+ to that Work or Derivative Works thereof, that is intentionally
33407
+ submitted to Licensor for inclusion in the Work by the copyright owner
33408
+ or by an individual or Legal Entity authorized to submit on behalf of
33409
+ the copyright owner. For the purposes of this definition, "submitted"
33410
+ means any form of electronic, verbal, or written communication sent
33411
+ to the Licensor or its representatives, including but not limited to
33412
+ communication on electronic mailing lists, source code control systems,
33413
+ and issue tracking systems that are managed by, or on behalf of, the
33414
+ Licensor for the purpose of discussing and improving the Work, but
33415
+ excluding communication that is conspicuously marked or otherwise
33416
+ designated in writing by the copyright owner as "Not a Contribution."
33417
+
33418
+ "Contributor" shall mean Licensor and any individual or Legal Entity
33419
+ on behalf of whom a Contribution has been received by Licensor and
33420
+ subsequently incorporated within the Work.
33421
+
33422
+ 2. Grant of Copyright License. Subject to the terms and conditions of
33423
+ this License, each Contributor hereby grants to You a perpetual,
33424
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
33425
+ copyright license to reproduce, prepare Derivative Works of,
33426
+ publicly display, publicly perform, sublicense, and distribute the
33427
+ Work and such Derivative Works in Source or Object form.
33428
+
33429
+ 3. Grant of Patent License. Subject to the terms and conditions of
33430
+ this License, each Contributor hereby grants to You a perpetual,
33431
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
33432
+ (except as stated in this section) patent license to make, have made,
33433
+ use, offer to sell, sell, import, and otherwise transfer the Work,
33434
+ where such license applies only to those patent claims licensable
33435
+ by such Contributor that are necessarily infringed by their
33436
+ Contribution(s) alone or by combination of their Contribution(s)
33437
+ with the Work to which such Contribution(s) was submitted. If You
33438
+ institute patent litigation against any entity (including a
33439
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
33440
+ or a Contribution incorporated within the Work constitutes direct
33441
+ or contributory patent infringement, then any patent licenses
33442
+ granted to You under this License for that Work shall terminate
33443
+ as of the date such litigation is filed.
33444
+
33445
+ 4. Redistribution. You may reproduce and distribute copies of the
33446
+ Work or Derivative Works thereof in any medium, with or without
33447
+ modifications, and in Source or Object form, provided that You
33448
+ meet the following conditions:
33449
+
33450
+ (a) You must give any other recipients of the Work or
33451
+ Derivative Works a copy of this License; and
33452
+
33453
+ (b) You must cause any modified files to carry prominent notices
33454
+ stating that You changed the files; and
33455
+
33456
+ (c) You must retain, in the Source form of any Derivative Works
33457
+ that You distribute, all copyright, patent, trademark, and
33458
+ attribution notices from the Source form of the Work,
33459
+ excluding those notices that do not pertain to any part of
33460
+ the Derivative Works; and
33461
+
33462
+ (d) If the Work includes a "NOTICE" text file as part of its
33463
+ distribution, then any Derivative Works that You distribute must
33464
+ include a readable copy of the attribution notices contained
33465
+ within such NOTICE file, excluding those notices that do not
33466
+ pertain to any part of the Derivative Works, in at least one
33467
+ of the following places: within a NOTICE text file distributed
33468
+ as part of the Derivative Works; within the Source form or
33469
+ documentation, if provided along with the Derivative Works; or,
33470
+ within a display generated by the Derivative Works, if and
33471
+ wherever such third-party notices normally appear. The contents
33472
+ of the NOTICE file are for informational purposes only and
33473
+ do not modify the License. You may add Your own attribution
33474
+ notices within Derivative Works that You distribute, alongside
33475
+ or as an addendum to the NOTICE text from the Work, provided
33476
+ that such additional attribution notices cannot be construed
33477
+ as modifying the License.
33478
+
33479
+ You may add Your own copyright statement to Your modifications and
33480
+ may provide additional or different license terms and conditions
33481
+ for use, reproduction, or distribution of Your modifications, or
33482
+ for any such Derivative Works as a whole, provided Your use,
33483
+ reproduction, and distribution of the Work otherwise complies with
33484
+ the conditions stated in this License.
33485
+
33486
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
33487
+ any Contribution intentionally submitted for inclusion in the Work
33488
+ by You to the Licensor shall be under the terms and conditions of
33489
+ this License, without any additional terms or conditions.
33490
+ Notwithstanding the above, nothing herein shall supersede or modify
33491
+ the terms of any separate license agreement you may have executed
33492
+ with Licensor regarding such Contributions.
33493
+
33494
+ 6. Trademarks. This License does not grant permission to use the trade
33495
+ names, trademarks, service marks, or product names of the Licensor,
33496
+ except as required for reasonable and customary use in describing the
33497
+ origin of the Work and reproducing the content of the NOTICE file.
33498
+
33499
+ 7. Disclaimer of Warranty. Unless required by applicable law or
33500
+ agreed to in writing, Licensor provides the Work (and each
33501
+ Contributor provides its Contributions) on an "AS IS" BASIS,
33502
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
33503
+ implied, including, without limitation, any warranties or conditions
33504
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
33505
+ PARTICULAR PURPOSE. You are solely responsible for determining the
33506
+ appropriateness of using or redistributing the Work and assume any
33507
+ risks associated with Your exercise of permissions under this License.
33508
+
33509
+ 8. Limitation of Liability. In no event and under no legal theory,
33510
+ whether in tort (including negligence), contract, or otherwise,
33511
+ unless required by applicable law (such as deliberate and grossly
33512
+ negligent acts) or agreed to in writing, shall any Contributor be
33513
+ liable to You for damages, including any direct, indirect, special,
33514
+ incidental, or consequential damages of any character arising as a
33515
+ result of this License or out of the use or inability to use the
33516
+ Work (including but not limited to damages for loss of goodwill,
33517
+ work stoppage, computer failure or malfunction, or any and all
33518
+ other commercial damages or losses), even if such Contributor
33519
+ has been advised of the possibility of such damages.
33520
+
33521
+ 9. Accepting Warranty or Additional Liability. While redistributing
33522
+ the Work or Derivative Works thereof, You may choose to offer,
33523
+ and charge a fee for, acceptance of support, warranty, indemnity,
33524
+ or other liability obligations and/or rights consistent with this
33525
+ License. However, in accepting such obligations, You may act only
33526
+ on Your own behalf and on Your sole responsibility, not on behalf
33527
+ of any other Contributor, and only if You agree to indemnify,
33528
+ defend, and hold each Contributor harmless for any liability
33529
+ incurred by, or claims asserted against, such Contributor by reason
33530
+ of your accepting any such warranty or additional liability.
33531
+
33532
+ END OF TERMS AND CONDITIONS
33533
+
33534
+ APPENDIX: How to apply the Apache License to your work.
33535
+
33536
+ To apply the Apache License to your work, attach the following
33537
+ boilerplate notice, with the fields enclosed by brackets "[]"
33538
+ replaced with your own identifying information. (Don't include
33539
+ the brackets!) The text should be enclosed in the appropriate
33540
+ comment syntax for the file format. We also recommend that a
33541
+ file or class name and description of purpose be included on the
33542
+ same "printed page" as the copyright notice for easier
33543
+ identification within third-party archives.
33544
+
33545
+ Copyright (c) 2023 Biome Developers and Contributors.
33546
+
33547
+ Licensed under the Apache License, Version 2.0 (the "License");
33548
+ you may not use this file except in compliance with the License.
33549
+ You may obtain a copy of the License at
33550
+
33551
+ http://www.apache.org/licenses/LICENSE-2.0
33552
+
33553
+ Unless required by applicable law or agreed to in writing, software
33554
+ distributed under the License is distributed on an "AS IS" BASIS,
33555
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
33556
+ See the License for the specific language governing permissions and
33557
+ limitations under the License.
33558
+
33559
+ ---
33560
+
33419
33561
  The following software may be included in this product: @csstools/color-helpers (6.0.2)
33420
33562
  This software contains the following license and notice below:
33421
33563
 
@@ -41802,7 +41944,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
41802
41944
 
41803
41945
  ---
41804
41946
 
41805
- The following software may be included in this product: @swc/core-darwin-arm64 (1.15.40)
41947
+ The following software may be included in this product: @swc/core-linux-x64-gnu (1.15.40)
41806
41948
  This software contains the following license and notice below:
41807
41949
 
41808
41950
  Apache License
@@ -45085,7 +45227,7 @@ defined by the Mozilla Public License, v. 2.0.
45085
45227
 
45086
45228
  ---
45087
45229
 
45088
- The following software may be included in this product: lightningcss-darwin-arm64 (1.32.0)
45230
+ The following software may be included in this product: lightningcss-linux-x64-gnu (1.32.0)
45089
45231
  This software contains the following license and notice below:
45090
45232
 
45091
45233
  Mozilla Public License Version 2.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws/nx-plugin",
3
- "version": "1.0.0-rc.5",
3
+ "version": "1.0.0-rc.6",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/awslabs/nx-plugin-for-aws.git",
@@ -20,17 +20,17 @@
20
20
  "generators": "./generators.json",
21
21
  "executors": "./executors.json",
22
22
  "peerDependencies": {
23
- "nx": "22.7.5",
24
- "prettier": "3.8.3"
23
+ "nx": "22.7.5"
25
24
  },
26
25
  "dependencies": {
27
26
  "@apidevtools/swagger-parser": "12.1.0",
27
+ "@biomejs/js-api": "4.0.0",
28
+ "@biomejs/wasm-nodejs": "2.4.16",
28
29
  "@getgrit/gritql": "0.0.3",
29
30
  "@hey-api/openapi-ts": "0.64.13",
30
31
  "@iarna/toml": "2.2.5",
31
32
  "@modelcontextprotocol/sdk": "1.29.0",
32
33
  "@nx/devkit": "22.7.5",
33
- "@nx/eslint": "22.7.5",
34
34
  "@nx/js": "22.7.5",
35
35
  "@nx/react": "22.7.5",
36
36
  "@nx/vite": "22.7.5",
@@ -2,7 +2,7 @@
2
2
  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
3
  * SPDX-License-Identifier: Apache-2.0
4
4
  */
5
- import { Tree } from '@nx/devkit';
5
+ import { type Tree } from '@nx/devkit';
6
6
  /**
7
7
  * Register the agent's runtime ARN in the 'connection' namespace so it is
8
8
  * published to the website's runtime-config.json. Patches the generated CDK
@@ -1 +1 @@
1
- {"version":3,"file":"agent-runtime-config.js","sourceRoot":"","sources":["../../../../../packages/nx-plugin/src/connection/agent-runtime-config.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,uCAAqD;AACrD,sCAAwD;AACxD,sFAI8C;AAE9C,MAAM,yBAAyB,GAC7B,gDAAgD,CAAC;AAEnD;;;;;;;GAOG;AACI,MAAM,oCAAoC,GAAG,KAAK,EACvD,IAAU,EACV,OAKC,EACD,EAAE;IACF,MAAM,gBAAgB,GAAG,IAAA,0BAAiB,EACxC,0CAAY,EACZ,mDAAqB,EACrB,KAAK,EACL,KAAK,EACL,QAAQ,EACR,OAAO,CAAC,kBAAkB,EAC1B,GAAG,OAAO,CAAC,kBAAkB,KAAK,CACnC,CAAC;IACF,IAAI,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,EAAE,CAAC;QAClC,MAAM,IAAA,iBAAW,EACf,IAAI,EACJ,gBAAgB,EAChB;;;;QAIE,OAAO,CAAC,kBAAkB;2FACyD,CACtF,CAAC;IACJ,CAAC;IAED,MAAM,sBAAsB,GAAG,IAAA,0BAAiB,EAC9C,0CAAY,EACZ,kDAAoB,EACpB,KAAK,EACL,KAAK,EACL,QAAQ,EACR,OAAO,CAAC,kBAAkB,EAC1B,GAAG,OAAO,CAAC,kBAAkB,KAAK,CACnC,CAAC;IACF,IAAI,IAAI,CAAC,MAAM,CAAC,sBAAsB,CAAC,EAAE,CAAC;QACxC,MAAM,cAAc,GAAG,MAAM,IAAA,iBAAW,EACtC,IAAI,EACJ,sBAAsB,EACtB,2BAA2B,yBAAyB,YAAY,CACjE,CAAC;QACF,IAAI,CAAC,cAAc,EAAE,CAAC;YACpB,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,sBAAsB,EAAE,OAAO,CAAE,CAAC;YAC3D,IAAI,CAAC,KAAK,CACR,sBAAsB,EACtB,GAAG,MAAM,CAAC,OAAO,EAAE;;;UAGjB,yBAAyB;;;;;mBAKhB,OAAO,CAAC,kBAAkB;;;;CAI5C,CACM,CAAC;QACJ,CAAC;IACH,CAAC;AACH,CAAC,CAAC;AAlEW,QAAA,oCAAoC,wCAkE/C"}
1
+ {"version":3,"file":"agent-runtime-config.js","sourceRoot":"","sources":["../../../../../packages/nx-plugin/src/connection/agent-runtime-config.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,uCAA0D;AAC1D,sCAAwD;AACxD,sFAI8C;AAE9C,MAAM,yBAAyB,GAC7B,gDAAgD,CAAC;AAEnD;;;;;;;GAOG;AACI,MAAM,oCAAoC,GAAG,KAAK,EACvD,IAAU,EACV,OAKC,EACD,EAAE;IACF,MAAM,gBAAgB,GAAG,IAAA,0BAAiB,EACxC,0CAAY,EACZ,mDAAqB,EACrB,KAAK,EACL,KAAK,EACL,QAAQ,EACR,OAAO,CAAC,kBAAkB,EAC1B,GAAG,OAAO,CAAC,kBAAkB,KAAK,CACnC,CAAC;IACF,IAAI,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,EAAE,CAAC;QAClC,MAAM,IAAA,iBAAW,EACf,IAAI,EACJ,gBAAgB,EAChB;;;;QAIE,OAAO,CAAC,kBAAkB;2FACyD,CACtF,CAAC;IACJ,CAAC;IAED,MAAM,sBAAsB,GAAG,IAAA,0BAAiB,EAC9C,0CAAY,EACZ,kDAAoB,EACpB,KAAK,EACL,KAAK,EACL,QAAQ,EACR,OAAO,CAAC,kBAAkB,EAC1B,GAAG,OAAO,CAAC,kBAAkB,KAAK,CACnC,CAAC;IACF,IAAI,IAAI,CAAC,MAAM,CAAC,sBAAsB,CAAC,EAAE,CAAC;QACxC,MAAM,cAAc,GAAG,MAAM,IAAA,iBAAW,EACtC,IAAI,EACJ,sBAAsB,EACtB,2BAA2B,yBAAyB,YAAY,CACjE,CAAC;QACF,IAAI,CAAC,cAAc,EAAE,CAAC;YACpB,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,sBAAsB,EAAE,OAAO,CAAE,CAAC;YAC3D,IAAI,CAAC,KAAK,CACR,sBAAsB,EACtB,GAAG,MAAM,CAAC,OAAO,EAAE;;;UAGjB,yBAAyB;;;;;mBAKhB,OAAO,CAAC,kBAAkB;;;;CAI5C,CACM,CAAC;QACJ,CAAC;IACH,CAAC;AACH,CAAC,CAAC;AAlEW,QAAA,oCAAoC,wCAkE/C"}
@@ -2,8 +2,8 @@
2
2
  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
3
  * SPDX-License-Identifier: Apache-2.0
4
4
  */
5
- import { Tree } from '@nx/devkit';
6
- import { ComponentMetadata } from '../utils/nx';
5
+ import { type Tree } from '@nx/devkit';
6
+ import { type ComponentMetadata } from '../utils/nx';
7
7
  export interface AgentServeLocalOptions {
8
8
  agentNameClassName: string;
9
9
  port: number;
@@ -2,9 +2,9 @@
2
2
  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
3
  * SPDX-License-Identifier: Apache-2.0
4
4
  */
5
- import { ProjectConfiguration, Tree } from '@nx/devkit';
6
- import { ConnectionGeneratorSchema } from './schema';
7
- import { ComponentMetadata } from '../utils/nx';
5
+ import { type ProjectConfiguration, type Tree } from '@nx/devkit';
6
+ import { type ComponentMetadata } from '../utils/nx';
7
+ import type { ConnectionGeneratorSchema } from './schema';
8
8
  /**
9
9
  * List of supported source and target project types for connections.
10
10
  * These can be project-level types (determined by introspection) or
@@ -45,7 +45,7 @@ export interface ResolvedConnectionOptions {
45
45
  /**
46
46
  * Generator for a connection between two projects
47
47
  */
48
- export declare const connectionGenerator: (tree: Tree, options: ConnectionGeneratorSchema) => Promise<void | (() => void)>;
48
+ export declare const connectionGenerator: (tree: Tree, options: ConnectionGeneratorSchema) => Promise<void | import("@nx/devkit").GeneratorCallback>;
49
49
  /**
50
50
  * Find a component in project metadata matching the given reference.
51
51
  * Checks by name first, then by path, then by generator.
@@ -7,30 +7,30 @@ const tslib_1 = require("tslib");
7
7
  * SPDX-License-Identifier: Apache-2.0
8
8
  */
9
9
  const devkit_1 = require("@nx/devkit");
10
- const generator_1 = tslib_1.__importDefault(require("../trpc/react/generator"));
10
+ const generator_1 = tslib_1.__importDefault(require("../py/agent/a2a-connection/generator"));
11
+ const generator_2 = tslib_1.__importDefault(require("../py/agent/mcp-connection/generator"));
12
+ const generator_3 = tslib_1.__importDefault(require("../py/agent/react-connection/generator"));
13
+ const generator_4 = tslib_1.__importDefault(require("../py/fast-api/react/generator"));
14
+ const generator_5 = require("../smithy/project/generator");
15
+ const generator_6 = tslib_1.__importDefault(require("../smithy/react-connection/generator"));
16
+ const generator_7 = require("../smithy/ts/api/generator");
17
+ const generator_8 = tslib_1.__importDefault(require("../trpc/react/generator"));
18
+ const generator_9 = tslib_1.__importDefault(require("../ts/agent/a2a-connection/generator"));
19
+ const generator_10 = tslib_1.__importDefault(require("../ts/agent/mcp-connection/generator"));
20
+ const generator_11 = tslib_1.__importDefault(require("../ts/agent/react-connection/generator"));
21
+ const generator_12 = tslib_1.__importDefault(require("../ts/dynamodb/agent-connection/generator"));
22
+ const generator_13 = require("../ts/dynamodb/generator");
23
+ const generator_14 = tslib_1.__importDefault(require("../ts/dynamodb/mcp-server-connection/generator"));
24
+ const generator_15 = tslib_1.__importDefault(require("../ts/dynamodb/smithy-connection/generator"));
25
+ const generator_16 = tslib_1.__importDefault(require("../ts/dynamodb/trpc-connection/generator"));
26
+ const generator_17 = tslib_1.__importDefault(require("../ts/rdb/agent-connection/generator"));
27
+ const generator_18 = require("../ts/rdb/generator");
28
+ const generator_19 = tslib_1.__importDefault(require("../ts/rdb/mcp-server-connection/generator"));
29
+ const generator_20 = tslib_1.__importDefault(require("../ts/rdb/smithy-connection/generator"));
30
+ const generator_21 = tslib_1.__importDefault(require("../ts/rdb/trpc-connection/generator"));
11
31
  const ast_1 = require("../utils/ast");
12
- const toml_1 = require("../utils/toml");
13
- const generator_2 = tslib_1.__importDefault(require("../py/fast-api/react/generator"));
14
32
  const nx_1 = require("../utils/nx");
15
- const generator_3 = require("../smithy/project/generator");
16
- const generator_4 = require("../smithy/ts/api/generator");
17
- const generator_5 = tslib_1.__importDefault(require("../smithy/react-connection/generator"));
18
- const generator_6 = tslib_1.__importDefault(require("../ts/agent/mcp-connection/generator"));
19
- const generator_7 = tslib_1.__importDefault(require("../ts/agent/react-connection/generator"));
20
- const generator_8 = tslib_1.__importDefault(require("../ts/agent/a2a-connection/generator"));
21
- const generator_9 = tslib_1.__importDefault(require("../py/agent/mcp-connection/generator"));
22
- const generator_10 = tslib_1.__importDefault(require("../py/agent/react-connection/generator"));
23
- const generator_11 = tslib_1.__importDefault(require("../py/agent/a2a-connection/generator"));
24
- const generator_12 = tslib_1.__importDefault(require("../ts/rdb/smithy-connection/generator"));
25
- const generator_13 = tslib_1.__importDefault(require("../ts/rdb/trpc-connection/generator"));
26
- const generator_14 = tslib_1.__importDefault(require("../ts/rdb/agent-connection/generator"));
27
- const generator_15 = tslib_1.__importDefault(require("../ts/rdb/mcp-server-connection/generator"));
28
- const generator_16 = require("../ts/rdb/generator");
29
- const generator_17 = tslib_1.__importDefault(require("../ts/dynamodb/trpc-connection/generator"));
30
- const generator_18 = tslib_1.__importDefault(require("../ts/dynamodb/smithy-connection/generator"));
31
- const generator_19 = tslib_1.__importDefault(require("../ts/dynamodb/agent-connection/generator"));
32
- const generator_20 = tslib_1.__importDefault(require("../ts/dynamodb/mcp-server-connection/generator"));
33
- const generator_21 = require("../ts/dynamodb/generator");
33
+ const toml_1 = require("../utils/toml");
34
34
  /**
35
35
  * List of supported source and target project types for connections.
36
36
  * These can be project-level types (determined by introspection) or
@@ -77,36 +77,36 @@ const SUPPORTED_CONNECTIONS = [
77
77
  { source: 'py#agent', target: 'py#agent' },
78
78
  ];
79
79
  const CONNECTION_GENERATORS = {
80
- 'ts#trpc-api -> ts#rdb': (tree, options) => (0, generator_13.default)(tree, options),
81
- 'ts#agent -> ts#rdb': (tree, options) => (0, generator_14.default)(tree, options),
82
- 'smithy -> ts#rdb': (tree, options) => (0, generator_12.default)(tree, options),
83
- 'ts#mcp-server -> ts#rdb': (tree, options) => (0, generator_15.default)(tree, options),
84
- 'ts#trpc-api -> ts#dynamodb': (tree, options) => (0, generator_17.default)(tree, options),
85
- 'ts#agent -> ts#dynamodb': (tree, options) => (0, generator_19.default)(tree, options),
86
- 'smithy -> ts#dynamodb': (tree, options) => (0, generator_18.default)(tree, options),
87
- 'ts#mcp-server -> ts#dynamodb': (tree, options) => (0, generator_20.default)(tree, options),
88
- 'react -> ts#trpc-api': (tree, options) => (0, generator_1.default)(tree, {
80
+ 'ts#trpc-api -> ts#rdb': (tree, options) => (0, generator_21.default)(tree, options),
81
+ 'ts#agent -> ts#rdb': (tree, options) => (0, generator_17.default)(tree, options),
82
+ 'smithy -> ts#rdb': (tree, options) => (0, generator_20.default)(tree, options),
83
+ 'ts#mcp-server -> ts#rdb': (tree, options) => (0, generator_19.default)(tree, options),
84
+ 'ts#trpc-api -> ts#dynamodb': (tree, options) => (0, generator_16.default)(tree, options),
85
+ 'ts#agent -> ts#dynamodb': (tree, options) => (0, generator_12.default)(tree, options),
86
+ 'smithy -> ts#dynamodb': (tree, options) => (0, generator_15.default)(tree, options),
87
+ 'ts#mcp-server -> ts#dynamodb': (tree, options) => (0, generator_14.default)(tree, options),
88
+ 'react -> ts#trpc-api': (tree, options) => (0, generator_8.default)(tree, {
89
89
  frontendProjectName: options.sourceProject,
90
90
  backendProjectName: options.targetProject,
91
91
  }),
92
- 'react -> py#fast-api': (tree, options) => (0, generator_2.default)(tree, {
92
+ 'react -> py#fast-api': (tree, options) => (0, generator_4.default)(tree, {
93
93
  frontendProjectName: options.sourceProject,
94
94
  fastApiProjectName: options.targetProject,
95
95
  }),
96
- 'react -> smithy': (tree, options) => (0, generator_5.default)(tree, {
96
+ 'react -> smithy': (tree, options) => (0, generator_6.default)(tree, {
97
97
  frontendProjectName: options.sourceProject,
98
98
  smithyModelOrBackendProjectName: options.targetProject,
99
99
  }),
100
- 'react -> ts#agent': (tree, options) => (0, generator_7.default)(tree, options),
101
- 'react -> py#agent': (tree, options) => (0, generator_10.default)(tree, options),
102
- 'ts#agent -> ts#mcp-server': (tree, options) => (0, generator_6.default)(tree, options),
103
- 'ts#agent -> py#mcp-server': (tree, options) => (0, generator_6.default)(tree, options),
104
- 'py#agent -> ts#mcp-server': (tree, options) => (0, generator_9.default)(tree, options),
105
- 'py#agent -> py#mcp-server': (tree, options) => (0, generator_9.default)(tree, options),
106
- 'ts#agent -> ts#agent': (tree, options) => (0, generator_8.default)(tree, options),
107
- 'ts#agent -> py#agent': (tree, options) => (0, generator_8.default)(tree, options),
108
- 'py#agent -> ts#agent': (tree, options) => (0, generator_11.default)(tree, options),
109
- 'py#agent -> py#agent': (tree, options) => (0, generator_11.default)(tree, options),
100
+ 'react -> ts#agent': (tree, options) => (0, generator_11.default)(tree, options),
101
+ 'react -> py#agent': (tree, options) => (0, generator_3.default)(tree, options),
102
+ 'ts#agent -> ts#mcp-server': (tree, options) => (0, generator_10.default)(tree, options),
103
+ 'ts#agent -> py#mcp-server': (tree, options) => (0, generator_10.default)(tree, options),
104
+ 'py#agent -> ts#mcp-server': (tree, options) => (0, generator_2.default)(tree, options),
105
+ 'py#agent -> py#mcp-server': (tree, options) => (0, generator_2.default)(tree, options),
106
+ 'ts#agent -> ts#agent': (tree, options) => (0, generator_9.default)(tree, options),
107
+ 'ts#agent -> py#agent': (tree, options) => (0, generator_9.default)(tree, options),
108
+ 'py#agent -> ts#agent': (tree, options) => (0, generator_1.default)(tree, options),
109
+ 'py#agent -> py#agent': (tree, options) => (0, generator_1.default)(tree, options),
110
110
  };
111
111
  /**
112
112
  * Generator for a connection between two projects
@@ -319,13 +319,13 @@ const isFastApi = (tree, projectConfiguration) => {
319
319
  const isSmithyApi = (_tree, projectConfiguration) => {
320
320
  // Support selecting either the smithy model or backend project
321
321
  return [
322
- generator_3.SMITHY_PROJECT_GENERATOR_INFO.id,
323
- generator_4.TS_SMITHY_API_GENERATOR_INFO.id,
322
+ generator_5.SMITHY_PROJECT_GENERATOR_INFO.id,
323
+ generator_7.TS_SMITHY_API_GENERATOR_INFO.id,
324
324
  ].includes((projectConfiguration.metadata ?? {}).generator);
325
325
  };
326
326
  const isRdb = (projectConfiguration) => (projectConfiguration.metadata ?? {}).generator ===
327
- generator_16.TS_RDB_GENERATOR_INFO.id;
327
+ generator_18.TS_RDB_GENERATOR_INFO.id;
328
328
  const isDynamoDB = (projectConfiguration) => (projectConfiguration.metadata ?? {}).generator ===
329
- generator_21.TS_DYNAMODB_GENERATOR_INFO.id;
329
+ generator_13.TS_DYNAMODB_GENERATOR_INFO.id;
330
330
  exports.default = exports.connectionGenerator;
331
331
  //# sourceMappingURL=generator.js.map