@nexusclawhq/cli 0.2.3 → 0.3.0

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 (233) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +5 -0
  3. package/dist/build-info.json +5 -5
  4. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/agent-executable-assets/cli-contract.types.d.ts +1 -1
  5. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/ai-employee-cognition/cognitive-policy.types.d.ts +19 -1
  6. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/en-US.d.ts +686 -95
  7. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/en-US.js +19426 -18705
  8. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/en-US.js.map +1 -1
  9. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/index.d.ts +1372 -190
  10. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/zh-CN.d.ts +686 -95
  11. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/zh-CN.js +19467 -18789
  12. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/zh-CN.js.map +1 -1
  13. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/platform-admin-route-readiness/index.js +2 -11
  14. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/platform-admin-route-readiness/index.js.map +1 -1
  15. package/dist/nexus-cli/node_modules/@nexusclaw/shared/package.json +5 -1
  16. package/dist/nexus-cli/src/cli.js +2 -0
  17. package/dist/nexus-cli/src/cli.js.map +1 -1
  18. package/dist/nexus-cli/src/commands/ai/help.test.js +11 -29
  19. package/dist/nexus-cli/src/commands/ai/help.test.js.map +1 -1
  20. package/dist/nexus-cli/src/commands/commands.test.js +81 -1
  21. package/dist/nexus-cli/src/commands/commands.test.js.map +1 -1
  22. package/dist/nexus-cli/src/commands/employee/deploy.js +35 -9
  23. package/dist/nexus-cli/src/commands/employee/deploy.js.map +1 -1
  24. package/dist/nexus-cli/src/commands/org/index.js +2 -0
  25. package/dist/nexus-cli/src/commands/org/index.js.map +1 -1
  26. package/dist/nexus-cli/src/commands/org/login-web.d.ts +7 -0
  27. package/dist/nexus-cli/src/commands/org/login-web.js +31 -4
  28. package/dist/nexus-cli/src/commands/org/login-web.js.map +1 -1
  29. package/dist/nexus-cli/src/commands/org/login-web.test.js +15 -0
  30. package/dist/nexus-cli/src/commands/org/login-web.test.js.map +1 -1
  31. package/dist/nexus-cli/src/commands/org/step-up.d.ts +2 -0
  32. package/dist/nexus-cli/src/commands/org/step-up.js +75 -0
  33. package/dist/nexus-cli/src/commands/org/step-up.js.map +1 -0
  34. package/dist/nexus-cli/src/commands/workforce/approval.d.ts +2 -0
  35. package/dist/nexus-cli/src/commands/workforce/approval.js +60 -0
  36. package/dist/nexus-cli/src/commands/workforce/approval.js.map +1 -0
  37. package/dist/nexus-cli/src/commands/workforce/cognition.d.ts +2 -0
  38. package/dist/nexus-cli/src/commands/workforce/cognition.js +62 -0
  39. package/dist/nexus-cli/src/commands/workforce/cognition.js.map +1 -0
  40. package/dist/nexus-cli/src/commands/workforce/constitution.d.ts +2 -0
  41. package/dist/nexus-cli/src/commands/workforce/constitution.js +37 -0
  42. package/dist/nexus-cli/src/commands/workforce/constitution.js.map +1 -0
  43. package/dist/nexus-cli/src/commands/workforce/guardrail.d.ts +2 -0
  44. package/dist/nexus-cli/src/commands/workforce/guardrail.js +67 -0
  45. package/dist/nexus-cli/src/commands/workforce/guardrail.js.map +1 -0
  46. package/dist/nexus-cli/src/commands/workforce/index.d.ts +2 -0
  47. package/dist/nexus-cli/src/commands/workforce/index.js +43 -0
  48. package/dist/nexus-cli/src/commands/workforce/index.js.map +1 -0
  49. package/dist/nexus-cli/src/commands/workforce/knowledge.d.ts +2 -0
  50. package/dist/nexus-cli/src/commands/workforce/knowledge.js +143 -0
  51. package/dist/nexus-cli/src/commands/workforce/knowledge.js.map +1 -0
  52. package/dist/nexus-cli/src/commands/workforce/learning.d.ts +2 -0
  53. package/dist/nexus-cli/src/commands/workforce/learning.js +146 -0
  54. package/dist/nexus-cli/src/commands/workforce/learning.js.map +1 -0
  55. package/dist/nexus-cli/src/commands/workforce/observe.d.ts +2 -0
  56. package/dist/nexus-cli/src/commands/workforce/observe.js +152 -0
  57. package/dist/nexus-cli/src/commands/workforce/observe.js.map +1 -0
  58. package/dist/nexus-cli/src/commands/workforce/orchestration.d.ts +2 -0
  59. package/dist/nexus-cli/src/commands/workforce/orchestration.js +199 -0
  60. package/dist/nexus-cli/src/commands/workforce/orchestration.js.map +1 -0
  61. package/dist/nexus-cli/src/commands/workforce/permission.d.ts +2 -0
  62. package/dist/nexus-cli/src/commands/workforce/permission.js +113 -0
  63. package/dist/nexus-cli/src/commands/workforce/permission.js.map +1 -0
  64. package/dist/nexus-cli/src/commands/workforce/prompt.d.ts +2 -0
  65. package/dist/nexus-cli/src/commands/workforce/prompt.js +137 -0
  66. package/dist/nexus-cli/src/commands/workforce/prompt.js.map +1 -0
  67. package/dist/nexus-cli/src/commands/workforce/provider.d.ts +2 -0
  68. package/dist/nexus-cli/src/commands/workforce/provider.js +152 -0
  69. package/dist/nexus-cli/src/commands/workforce/provider.js.map +1 -0
  70. package/dist/nexus-cli/src/commands/workforce/rehearsal.d.ts +2 -0
  71. package/dist/nexus-cli/src/commands/workforce/rehearsal.js +71 -0
  72. package/dist/nexus-cli/src/commands/workforce/rehearsal.js.map +1 -0
  73. package/dist/nexus-cli/src/commands/workforce/release.d.ts +2 -0
  74. package/dist/nexus-cli/src/commands/workforce/release.js +24 -0
  75. package/dist/nexus-cli/src/commands/workforce/release.js.map +1 -0
  76. package/dist/nexus-cli/src/commands/workforce/shared.d.ts +8 -0
  77. package/dist/nexus-cli/src/commands/workforce/shared.js +86 -0
  78. package/dist/nexus-cli/src/commands/workforce/shared.js.map +1 -0
  79. package/dist/nexus-cli/src/commands/workforce/sop.d.ts +2 -0
  80. package/dist/nexus-cli/src/commands/workforce/sop.js +86 -0
  81. package/dist/nexus-cli/src/commands/workforce/sop.js.map +1 -0
  82. package/dist/nexus-cli/src/commands/workforce/task.d.ts +4 -0
  83. package/dist/nexus-cli/src/commands/workforce/task.js +67 -0
  84. package/dist/nexus-cli/src/commands/workforce/task.js.map +1 -0
  85. package/dist/nexus-cli/src/commands/workforce/test-case.d.ts +2 -0
  86. package/dist/nexus-cli/src/commands/workforce/test-case.js +121 -0
  87. package/dist/nexus-cli/src/commands/workforce/test-case.js.map +1 -0
  88. package/dist/nexus-cli/src/config/platform-seed-registry.json +134 -0
  89. package/dist/nexus-cli/src/contracts/command-contract.guard.js +25 -2
  90. package/dist/nexus-cli/src/contracts/command-contract.guard.js.map +1 -1
  91. package/dist/nexus-cli/src/contracts/command-contract.registry.js +2 -0
  92. package/dist/nexus-cli/src/contracts/command-contract.registry.js.map +1 -1
  93. package/dist/nexus-cli/src/contracts/contracts.test.js +40 -54
  94. package/dist/nexus-cli/src/contracts/contracts.test.js.map +1 -1
  95. package/dist/nexus-cli/src/contracts/workforce-contracts.d.ts +2 -0
  96. package/dist/nexus-cli/src/contracts/workforce-contracts.js +175 -0
  97. package/dist/nexus-cli/src/contracts/workforce-contracts.js.map +1 -0
  98. package/dist/nexus-cli/src/services/api-client.d.ts +37 -1
  99. package/dist/nexus-cli/src/services/api-client.js +120 -34
  100. package/dist/nexus-cli/src/services/api-client.js.map +1 -1
  101. package/dist/nexus-cli/src/services/api-client.test.js +87 -0
  102. package/dist/nexus-cli/src/services/api-client.test.js.map +1 -1
  103. package/dist/nexus-cli/src/services/package-self-containment.js +1 -0
  104. package/dist/nexus-cli/src/services/package-self-containment.js.map +1 -1
  105. package/dist/nexus-cli/src/services/step-up-helper.d.ts +43 -0
  106. package/dist/nexus-cli/src/services/step-up-helper.js +98 -0
  107. package/dist/nexus-cli/src/services/step-up-helper.js.map +1 -0
  108. package/dist/nexus-cli/src/services/step-up-helper.test.d.ts +1 -0
  109. package/dist/nexus-cli/src/services/step-up-helper.test.js +176 -0
  110. package/dist/nexus-cli/src/services/step-up-helper.test.js.map +1 -0
  111. package/dist/nexus-cli/src/services/step-up-interactive.d.ts +2 -0
  112. package/dist/nexus-cli/src/services/step-up-interactive.js +69 -0
  113. package/dist/nexus-cli/src/services/step-up-interactive.js.map +1 -0
  114. package/dist/nexus-cli/src/services/workforce-cognition-remote.d.ts +27 -0
  115. package/dist/nexus-cli/src/services/workforce-cognition-remote.js +48 -0
  116. package/dist/nexus-cli/src/services/workforce-cognition-remote.js.map +1 -0
  117. package/dist/nexus-cli/src/services/workforce-common.d.ts +2 -0
  118. package/dist/nexus-cli/src/services/workforce-common.js +20 -0
  119. package/dist/nexus-cli/src/services/workforce-common.js.map +1 -0
  120. package/dist/nexus-cli/src/services/workforce-config-remote.d.ts +127 -0
  121. package/dist/nexus-cli/src/services/workforce-config-remote.js +205 -0
  122. package/dist/nexus-cli/src/services/workforce-config-remote.js.map +1 -0
  123. package/dist/nexus-cli/src/services/workforce-distillation-remote.d.ts +118 -0
  124. package/dist/nexus-cli/src/services/workforce-distillation-remote.js +171 -0
  125. package/dist/nexus-cli/src/services/workforce-distillation-remote.js.map +1 -0
  126. package/dist/nexus-cli/src/services/workforce-guardrail-knowledge-remote.d.ts +105 -0
  127. package/dist/nexus-cli/src/services/workforce-guardrail-knowledge-remote.js +174 -0
  128. package/dist/nexus-cli/src/services/workforce-guardrail-knowledge-remote.js.map +1 -0
  129. package/dist/nexus-cli/src/services/workforce-learning-remote.d.ts +131 -0
  130. package/dist/nexus-cli/src/services/workforce-learning-remote.js +179 -0
  131. package/dist/nexus-cli/src/services/workforce-learning-remote.js.map +1 -0
  132. package/dist/nexus-cli/src/services/workforce-observe-remote.d.ts +97 -0
  133. package/dist/nexus-cli/src/services/workforce-observe-remote.js +207 -0
  134. package/dist/nexus-cli/src/services/workforce-observe-remote.js.map +1 -0
  135. package/dist/nexus-cli/src/services/workforce-ops-remote.d.ts +94 -0
  136. package/dist/nexus-cli/src/services/workforce-ops-remote.js +176 -0
  137. package/dist/nexus-cli/src/services/workforce-ops-remote.js.map +1 -0
  138. package/dist/nexus-cli/src/services/workforce-orchestration-remote.d.ts +132 -0
  139. package/dist/nexus-cli/src/services/workforce-orchestration-remote.js +244 -0
  140. package/dist/nexus-cli/src/services/workforce-orchestration-remote.js.map +1 -0
  141. package/dist/nexus-cli/src/services/workforce-permission-remote.d.ts +72 -0
  142. package/dist/nexus-cli/src/services/workforce-permission-remote.js +130 -0
  143. package/dist/nexus-cli/src/services/workforce-permission-remote.js.map +1 -0
  144. package/dist/nexus-cli/src/services/workforce-provider-remote.d.ts +82 -0
  145. package/dist/nexus-cli/src/services/workforce-provider-remote.js +129 -0
  146. package/dist/nexus-cli/src/services/workforce-provider-remote.js.map +1 -0
  147. package/dist/nexus-cli/src/services/workforce-test-remote.d.ts +85 -0
  148. package/dist/nexus-cli/src/services/workforce-test-remote.js +134 -0
  149. package/dist/nexus-cli/src/services/workforce-test-remote.js.map +1 -0
  150. package/dist/nexus-cli/src/templates/project/template-manifest.json +11 -5
  151. package/dist/nexus-cli/src/templates/project/templates/base-crm/README.md.tpl +4 -3
  152. package/dist/nexus-cli/src/templates/project/templates/base-crm/nexus-project.json.tpl +77 -13
  153. package/dist/nexus-cli/src/templates/project/templates/base-crm/nexus-project.yaml.tpl +68 -0
  154. package/dist/nexus-cli/src/templates/project/templates/demo-public-channel-store-delivery/README.md.tpl +4 -4
  155. package/dist/nexus-cli/src/templates/project/templates/demo-public-channel-store-delivery/nexus-project.json.tpl +77 -13
  156. package/dist/nexus-cli/src/templates/project/templates/demo-public-channel-store-delivery/nexus-project.yaml.tpl +71 -0
  157. package/dist/nexus-cli/src/templates/project/templates/drill-code-extension-page/README.md.tpl +4 -4
  158. package/dist/nexus-cli/src/templates/project/templates/drill-code-extension-page/nexus-app/main/default/isolated/drill-code-extension-page.manifest.json +63 -0
  159. package/dist/nexus-cli/src/templates/project/templates/drill-code-extension-page/nexus-app/main/default/nwc/drill-code-extension-page/index.js +70 -0
  160. package/dist/nexus-cli/src/templates/project/templates/drill-code-extension-page/nexus-app/main/default/tests/drill-code-extension-page.assertions.json +13 -0
  161. package/dist/nexus-cli/src/templates/project/templates/drill-code-extension-page/nexus-project.json.tpl +61 -7
  162. package/dist/nexus-cli/src/templates/project/templates/drill-code-extension-page/nexus-project.yaml.tpl +58 -0
  163. package/dist/nexus-cli/src/templates/project/templates/drill-code-extension-page/preview/drill-code-extension-page.html +1 -1
  164. package/dist/nexus-cli/src/templates/project/templates/drill-code-extension-page/scripts/build-component.mjs +1 -1
  165. package/dist/nexus-cli/src/templates/project/templates/drill-code-extension-page/scripts/deploy-drill.mjs +1 -1
  166. package/dist/nexus-cli/src/templates/project/templates/empty/README.md.tpl +3 -2
  167. package/dist/nexus-cli/src/templates/project/templates/empty/nexus-project.json.tpl +79 -13
  168. package/dist/nexus-cli/src/templates/project/templates/empty/nexus-project.yaml.tpl +67 -0
  169. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/agent-instructions/claude.md +6 -0
  170. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/agent-instructions/codex.md +6 -0
  171. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/agent-instructions/generic.md +6 -0
  172. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/agent-instructions/glm-5.2.md +6 -0
  173. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/authoring/code-sdk.d.ts +1 -0
  174. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/authoring/command-order.json +1 -0
  175. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/authoring/flow-node-catalog.json +1 -0
  176. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/catalogs/ai-policies.json +1 -0
  177. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/catalogs/approval-policies.json +1 -0
  178. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/catalogs/connectors.json +1 -0
  179. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/catalogs/invokable-units.json +1 -0
  180. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/catalogs/objects.json +1 -0
  181. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/cli-contract.json +1 -0
  182. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/context-lock.json +1 -0
  183. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/context-manifest.json +1 -0
  184. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/examples/code/minimal-action.cases.json +1 -0
  185. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/examples/code/minimal-action.input.schema.json +1 -0
  186. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/examples/code/minimal-action.output.schema.json +1 -0
  187. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/examples/code/minimal-action.ts +3 -0
  188. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/examples/flow/minimal-manual-flow.json +1 -0
  189. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/agent-code-tool-catalog-v1.schema.json +1 -0
  190. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/ai-workforce-executable-bundle-v1.schema.json +1 -0
  191. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/approval-policy-authoring-catalog-v1.schema.json +1 -0
  192. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/code-action-cases-v1.schema.json +1 -0
  193. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/code-extension-governance-v2.schema.json +1 -0
  194. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/employee-package-v2.schema.json +1 -0
  195. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/flow-package-v1.schema.json +1 -0
  196. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/flows-payload-v2.schema.json +1 -0
  197. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/object-authoring-catalog-v1.schema.json +1 -0
  198. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/workforce-bundle-lock-v1.schema.json +1 -0
  199. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/workforce-release-evidence-v1.schema.json +1 -0
  200. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/workforce-runtime-bindings-v1.schema.json +1 -0
  201. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/workspace-authoring-contract-v1.schema.json +1 -0
  202. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/workspace-contract.json +1 -0
  203. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/README.md.tpl +41 -0
  204. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/nexus-project.json.tpl +86 -0
  205. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/nexus-project.yaml.tpl +61 -0
  206. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/package.json.tpl +25 -0
  207. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/packages/generic-action/.nexusclaw/scaffold.json +12 -0
  208. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/packages/generic-action/agent-tools.json +53 -0
  209. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/packages/generic-action/code/genericLookup.ts +5 -0
  210. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/packages/generic-action/package.yaml +28 -0
  211. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/packages/generic-action/schemas/genericLookup.input.schema.json +6 -0
  212. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/packages/generic-action/schemas/genericLookup.output.schema.json +6 -0
  213. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/packages/generic-action/tests/genericLookup.cases.json +26 -0
  214. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/packages/generic-flow/GenericFollowUp.flow.yaml +10 -0
  215. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/scripts/init-bundle.mjs +25 -0
  216. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/tsconfig.json.tpl +10 -0
  217. package/dist/nexus-cli/src/templates/project/templates/industry-education/README.md.tpl +7 -1
  218. package/dist/nexus-cli/src/templates/project/templates/industry-education/nexus-project.json.tpl +77 -14
  219. package/dist/nexus-cli/src/templates/project/templates/industry-education/nexus-project.yaml.tpl +69 -0
  220. package/dist/nexus-cli/src/templates/project/templates/industry-finance/README.md.tpl +7 -1
  221. package/dist/nexus-cli/src/templates/project/templates/industry-finance/nexus-project.json.tpl +77 -14
  222. package/dist/nexus-cli/src/templates/project/templates/industry-finance/nexus-project.yaml.tpl +69 -0
  223. package/dist/nexus-cli/src/templates/project/templates/industry-healthcare/README.md.tpl +7 -1
  224. package/dist/nexus-cli/src/templates/project/templates/industry-healthcare/nexus-project.json.tpl +77 -14
  225. package/dist/nexus-cli/src/templates/project/templates/industry-healthcare/nexus-project.yaml.tpl +69 -0
  226. package/dist/nexus-cli/src/templates/project/templates/industry-partner-cloud/README.md.tpl +4 -4
  227. package/dist/nexus-cli/src/templates/project/templates/industry-partner-cloud/nexus-project.json.tpl +77 -13
  228. package/dist/nexus-cli/src/templates/project/templates/industry-partner-cloud/nexus-project.yaml.tpl +69 -0
  229. package/dist/nexus-cli/src/templates/project/templates/industry-retail/README.md.tpl +7 -1
  230. package/dist/nexus-cli/src/templates/project/templates/industry-retail/nexus-project.json.tpl +77 -14
  231. package/dist/nexus-cli/src/templates/project/templates/industry-retail/nexus-project.yaml.tpl +69 -0
  232. package/dist/tsconfig.tsbuildinfo +1 -1
  233. package/package.json +1 -1
@@ -1,18 +1,66 @@
1
1
  {
2
- "schemaVersion": "dx-workspace/v1",
2
+ "schemaVersion": "nexus-project/v2",
3
3
  "projectName": "{{NAME}}",
4
4
  "apiVersion": "1.0",
5
5
  "sourceRoots": [
6
- { "path": "src/metadata", "kind": "metadata-runtime", "writeTarget": true },
7
- { "path": "src/classes", "kind": "code-extension" },
8
- { "path": "src/triggers", "kind": "code-extension" },
9
- { "path": "src/components", "kind": "code-extension" },
10
- { "path": "src/tests", "kind": "code-extension" },
11
- { "path": "src/metadata/pages", "kind": "metadata-runtime", "metadataKinds": ["pages"], "sourceOfTruthMode": "require-explicit", "orphanPolicy": "prompt" }
6
+ {
7
+ "path": "nexus-app/main/default",
8
+ "kind": "metadata-runtime",
9
+ "writeTarget": true,
10
+ "metadataKinds": [
11
+ "applications",
12
+ "tabs",
13
+ "objects",
14
+ "layouts",
15
+ "pages",
16
+ "nwc",
17
+ "classes",
18
+ "triggers",
19
+ "flows",
20
+ "permissionsets",
21
+ "profiles",
22
+ "permissionSetGroups",
23
+ "roles",
24
+ "groups",
25
+ "queues",
26
+ "labels",
27
+ "customMetadata",
28
+ "customSettings",
29
+ "staticresources",
30
+ "namedCredentials",
31
+ "remoteSiteSettings",
32
+ "notificationTemplates",
33
+ "isolated"
34
+ ]
35
+ },
36
+ {
37
+ "path": "nexus-app/main/default/classes",
38
+ "kind": "code-extension"
39
+ },
40
+ {
41
+ "path": "nexus-app/main/default/triggers",
42
+ "kind": "code-extension"
43
+ },
44
+ {
45
+ "path": "nexus-app/main/default/nwc",
46
+ "kind": "code-extension"
47
+ },
48
+ {
49
+ "path": "nexus-app/main/default/isolated",
50
+ "kind": "code-extension"
51
+ }
12
52
  ],
13
53
  "localPackages": [
14
- { "name": "workspace.org-base", "path": "packages/org-base", "packageClass": "metadata" },
15
- { "name": "workspace.sales-extension", "path": "packages/sales-extension", "packageClass": "metadata" }
54
+ {
55
+ "name": "workspace.org-base",
56
+ "path": "packages/org-base",
57
+ "packageClass": "metadata"
58
+ },
59
+ {
60
+ "name": "workspace.sales-extension",
61
+ "path": "packages/sales-extension",
62
+ "packageClass": "metadata"
63
+ }
16
64
  ],
17
65
  "registry": {
18
66
  "url": "https://packages.nexusclaw.local",
@@ -23,9 +71,18 @@
23
71
  "defaultOrg": "",
24
72
  "defaultEnvironment": "dev",
25
73
  "environments": [
26
- { "name": "dev", "path": "env/dev.sandbox.yaml" },
27
- { "name": "uat", "path": "env/uat.sandbox.yaml" },
28
- { "name": "prod", "path": "env/prod.install.yaml" }
74
+ {
75
+ "name": "dev",
76
+ "path": "env/dev.sandbox.yaml"
77
+ },
78
+ {
79
+ "name": "uat",
80
+ "path": "env/uat.sandbox.yaml"
81
+ },
82
+ {
83
+ "name": "prod",
84
+ "path": "env/prod.install.yaml"
85
+ }
29
86
  ],
30
87
  "starterTemplate": "demo-public-channel-store-delivery",
31
88
  "packageRefs": [
@@ -35,5 +92,12 @@
35
92
  ],
36
93
  "scenarioPayloadRoots": [
37
94
  "scenario-payload"
38
- ]
95
+ ],
96
+ "packageDirectories": [
97
+ {
98
+ "path": "nexus-app",
99
+ "default": true
100
+ }
101
+ ],
102
+ "sourceRoot": "nexus-app/main/default"
39
103
  }
@@ -0,0 +1,71 @@
1
+ schemaVersion: "nexus-project/v2"
2
+ projectName: "{{NAME}}"
3
+ apiVersion: "1.0"
4
+ sourceRoots:
5
+ - path: "nexus-app/main/default"
6
+ kind: "metadata-runtime"
7
+ writeTarget: true
8
+ metadataKinds:
9
+ - "applications"
10
+ - "tabs"
11
+ - "objects"
12
+ - "layouts"
13
+ - "pages"
14
+ - "nwc"
15
+ - "classes"
16
+ - "triggers"
17
+ - "flows"
18
+ - "permissionsets"
19
+ - "profiles"
20
+ - "permissionSetGroups"
21
+ - "roles"
22
+ - "groups"
23
+ - "queues"
24
+ - "labels"
25
+ - "customMetadata"
26
+ - "customSettings"
27
+ - "staticresources"
28
+ - "namedCredentials"
29
+ - "remoteSiteSettings"
30
+ - "notificationTemplates"
31
+ - "isolated"
32
+ - path: "nexus-app/main/default/classes"
33
+ kind: "code-extension"
34
+ - path: "nexus-app/main/default/triggers"
35
+ kind: "code-extension"
36
+ - path: "nexus-app/main/default/nwc"
37
+ kind: "code-extension"
38
+ - path: "nexus-app/main/default/isolated"
39
+ kind: "code-extension"
40
+ localPackages:
41
+ - name: "workspace.org-base"
42
+ path: "packages/org-base"
43
+ packageClass: "metadata"
44
+ - name: "workspace.sales-extension"
45
+ path: "packages/sales-extension"
46
+ packageClass: "metadata"
47
+ registry:
48
+ url: "https://packages.nexusclaw.local"
49
+ channel: "preview"
50
+ rootDirectory: "packages"
51
+ compatibleCoreVersion: "{{CORE_VERSION}}"
52
+ defaultOrg: ""
53
+ defaultEnvironment: "dev"
54
+ environments:
55
+ - name: "dev"
56
+ path: "env/dev.sandbox.yaml"
57
+ - name: "uat"
58
+ path: "env/uat.sandbox.yaml"
59
+ - name: "prod"
60
+ path: "env/prod.install.yaml"
61
+ starterTemplate: "demo-public-channel-store-delivery"
62
+ packageRefs:
63
+ - "core.baseline@0.1.0"
64
+ - "overlay.generic-crm@0.1.0"
65
+ - "industry.partner-cloud@0.1.0"
66
+ scenarioPayloadRoots:
67
+ - "scenario-payload"
68
+ packageDirectories:
69
+ - path: "nexus-app"
70
+ default: true
71
+ sourceRoot: "nexus-app/main/default"
@@ -26,9 +26,9 @@ Optional diff views:
26
26
 
27
27
  The Drill deployment source of truth is:
28
28
 
29
- - `src/metadata/drill-code-extension-page.manifest.json`
30
- - `src/components/drill-code-extension-page/index.js`
31
- - `src/tests/drill-code-extension-page.assertions.json`
29
+ - `nexus-app/main/default/isolated/drill-code-extension-page.manifest.json`
30
+ - `nexus-app/main/default/nwc/drill-code-extension-page/index.js`
31
+ - `nexus-app/main/default/tests/drill-code-extension-page.assertions.json`
32
32
 
33
33
  `deploy:drill` installs this workspace project into the system runtime by creating or updating:
34
34
 
@@ -42,4 +42,4 @@ The resulting runtime route follows the app-scoped navigation item contract:
42
42
 
43
43
  ## Template package refs
44
44
 
45
- - none
45
+ - `core.baseline@0.1.0` (required environment baseline)
@@ -0,0 +1,63 @@
1
+ {
2
+ "schemaVersion": "workspace-extension-page/v1",
3
+ "targetEnvironment": "drill",
4
+ "targetWorkspace": "E2E-L2-Drill-001",
5
+ "object": {
6
+ "apiName": "drillExtensionPage01",
7
+ "labelSingular": "Drill Extension Page 01",
8
+ "labelPlural": "Drill Extension Page 01s",
9
+ "description": "Workspace-owned custom object used by the Drill code-extension page.",
10
+ "isCustom": true
11
+ },
12
+ "component": {
13
+ "componentId": "drill-code-extension-page",
14
+ "apiName": "drill_code_extension_page",
15
+ "name": "Drill Code Extension Page",
16
+ "sourcePath": "nexus-app/main/default/nwc/drill-code-extension-page/index.js",
17
+ "permissions": [
18
+ { "type": "ui" },
19
+ { "type": "data:read", "scope": ["drillExtensionPage01"] },
20
+ { "type": "data:read", "scope": ["account"] }
21
+ ]
22
+ },
23
+ "customPage": {
24
+ "apiName": "drill_code_extension_page",
25
+ "name": "Drill Code Extension Page",
26
+ "type": "APP",
27
+ "schema": {
28
+ "id": "drill-code-extension-page-schema",
29
+ "name": "Drill Code Extension Page",
30
+ "type": "app",
31
+ "layout": {
32
+ "id": "root",
33
+ "component": "CodeExtensionFrame",
34
+ "props": {
35
+ "componentId": "drill-code-extension-page",
36
+ "title": "Drill Code Extension Page",
37
+ "description": "Rendered from a governed workspace-owned code-extension bundle.",
38
+ "minHeight": 620,
39
+ "dataSources": [
40
+ {
41
+ "id": "accounts",
42
+ "type": "records",
43
+ "label": "Account records",
44
+ "config": {
45
+ "objectName": "account",
46
+ "first": 5,
47
+ "orderBy": [{ "name": "AscNullsLast" }]
48
+ }
49
+ }
50
+ ]
51
+ }
52
+ }
53
+ }
54
+ },
55
+ "menuItem": {
56
+ "appApiName": "e2e_drill_app",
57
+ "apiName": "drill_tab_code_extension_page",
58
+ "name": "Code Extension Page",
59
+ "type": "PAGE",
60
+ "position": 4,
61
+ "isActive": true
62
+ }
63
+ }
@@ -0,0 +1,70 @@
1
+ (() => {
2
+ const root = window.NexusExtensionRoot || document.getElementById('root') || document.body;
3
+ const context = window.NexusExtensionContext || {};
4
+ const accounts = context.datasets?.accounts;
5
+ const accountRows = Array.isArray(accounts?.records) ? accounts.records : [];
6
+
7
+ const escapeHtml = (value) => String(value ?? '')
8
+ .replace(/&/g, '&')
9
+ .replace(/</g, '&lt;')
10
+ .replace(/>/g, '&gt;')
11
+ .replace(/"/g, '&quot;');
12
+
13
+ const pick = (record, keys) => {
14
+ for (const key of keys) {
15
+ const value = record?.[key];
16
+ if (value !== undefined && value !== null && value !== '') {
17
+ if (typeof value === 'object') return value.name || value.label || value.id || JSON.stringify(value);
18
+ return value;
19
+ }
20
+ }
21
+ return '-';
22
+ };
23
+
24
+ const accountTableRows = accountRows.length > 0
25
+ ? accountRows.map((record) => [
26
+ '<tr>',
27
+ `<td>${escapeHtml(pick(record, ['displayName', 'name', 'Name']))}</td>`,
28
+ `<td>${escapeHtml(pick(record, ['industry', 'Industry']))}</td>`,
29
+ `<td>${escapeHtml(pick(record, ['phone', 'Phone']))}</td>`,
30
+ `<td>${escapeHtml(pick(record, ['ownerId', 'owner']))}</td>`,
31
+ '</tr>',
32
+ ].join('')).join('')
33
+ : '<tr><td colspan="4" style="color:#667085;">No account records returned.</td></tr>';
34
+
35
+ root.innerHTML = [
36
+ '<main style="font-family:Inter,Arial,sans-serif;color:#172033;background:#f7f9fc;min-height:100%;padding:18px;box-sizing:border-box;">',
37
+ '<section style="background:#ffffff;border:1px solid #d7dde8;border-radius:8px;padding:18px;box-shadow:0 6px 18px rgba(19,36,64,0.08);">',
38
+ '<div style="font-size:12px;color:#2357c6;font-weight:700;text-transform:uppercase;">Code Extension Bundle Mounted</div>',
39
+ '<h1 style="font-size:22px;line-height:1.25;margin:8px 0 6px;">Drill Code Extension Page</h1>',
40
+ '<p style="font-size:13px;line-height:1.6;margin:0;color:#4a5568;">Workspace-owned code-extension bundle with governed Account data.</p>',
41
+ '<dl style="display:grid;grid-template-columns:140px 1fr;gap:8px 14px;margin:18px 0 0;font-size:13px;">',
42
+ '<dt style="font-weight:700;color:#24324a;">Workspace</dt><dd style="margin:0;">E2E-L2-Drill-001</dd>',
43
+ '<dt style="font-weight:700;color:#24324a;">Custom object</dt><dd style="margin:0;">drillExtensionPage01</dd>',
44
+ '<dt style="font-weight:700;color:#24324a;">Component ID</dt><dd style="margin:0;">drill-code-extension-page</dd>',
45
+ '<dt style="font-weight:700;color:#24324a;">Source owner</dt><dd style="margin:0;">workspace project</dd>',
46
+ '</dl>',
47
+ '<section style="margin-top:18px;">',
48
+ '<div style="display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;">',
49
+ '<h2 style="font-size:16px;margin:0;">Account records</h2>',
50
+ `<span style="font-size:12px;color:#667085;">${escapeHtml(accounts?.loading ? 'Loading' : `${accountRows.length} shown / ${accounts?.totalCount ?? 0} total`)}</span>`,
51
+ '</div>',
52
+ accounts?.error ? `<div style="border:1px solid #fda29b;background:#fff1f0;color:#b42318;border-radius:6px;padding:10px;font-size:13px;">${escapeHtml(accounts.error)}</div>` : [
53
+ '<table style="width:100%;border-collapse:collapse;font-size:13px;background:#fff;">',
54
+ '<thead><tr style="background:#f2f5fa;color:#344054;text-align:left;">',
55
+ '<th style="padding:8px;border:1px solid #d7dde8;">Name</th>',
56
+ '<th style="padding:8px;border:1px solid #d7dde8;">Industry</th>',
57
+ '<th style="padding:8px;border:1px solid #d7dde8;">Phone</th>',
58
+ '<th style="padding:8px;border:1px solid #d7dde8;">Owner</th>',
59
+ '</tr></thead>',
60
+ `<tbody>${accountTableRows}</tbody>`,
61
+ '</table>',
62
+ ].join(''),
63
+ '</section>',
64
+ '<pre style="white-space:pre-wrap;background:#111827;color:#e5e7eb;border-radius:6px;padding:10px;margin:18px 0 0;font-size:12px;line-height:1.5;">',
65
+ escapeHtml(JSON.stringify({ componentId: context.componentId, bundleHash: context.bundleHash, datasets: Object.keys(context.datasets || {}) }, null, 2)),
66
+ '</pre>',
67
+ '</section>',
68
+ '</main>',
69
+ ].join('');
70
+ })();
@@ -0,0 +1,13 @@
1
+ {
2
+ "schemaVersion": "workspace-runtime-assertions/v1",
3
+ "targetWorkspace": "E2E-L2-Drill-001",
4
+ "expectedVisibleText": [
5
+ "Code Extension Bundle Mounted",
6
+ "Account records",
7
+ "Name",
8
+ "drillExtensionPage01",
9
+ "E2E-L2-Drill-001"
10
+ ],
11
+ "expectedMenuItemApiName": "drill_tab_code_extension_page",
12
+ "expectedComponentId": "drill-code-extension-page"
13
+ }
@@ -1,12 +1,54 @@
1
1
  {
2
- "schemaVersion": "dx-workspace/v1",
2
+ "schemaVersion": "nexus-project/v2",
3
3
  "projectName": "{{NAME}}",
4
4
  "apiVersion": "1.0",
5
5
  "sourceRoots": [
6
- { "path": "src/metadata", "kind": "metadata-runtime", "writeTarget": true },
7
- { "path": "src/components", "kind": "code-extension" },
8
- { "path": "src/tests", "kind": "code-extension" },
9
- { "path": "src/metadata/pages", "kind": "metadata-runtime", "metadataKinds": ["pages"], "sourceOfTruthMode": "require-explicit", "orphanPolicy": "prompt" }
6
+ {
7
+ "path": "nexus-app/main/default",
8
+ "kind": "metadata-runtime",
9
+ "writeTarget": true,
10
+ "metadataKinds": [
11
+ "applications",
12
+ "tabs",
13
+ "objects",
14
+ "layouts",
15
+ "pages",
16
+ "nwc",
17
+ "classes",
18
+ "triggers",
19
+ "flows",
20
+ "permissionsets",
21
+ "profiles",
22
+ "permissionSetGroups",
23
+ "roles",
24
+ "groups",
25
+ "queues",
26
+ "labels",
27
+ "customMetadata",
28
+ "customSettings",
29
+ "staticresources",
30
+ "namedCredentials",
31
+ "remoteSiteSettings",
32
+ "notificationTemplates",
33
+ "isolated"
34
+ ]
35
+ },
36
+ {
37
+ "path": "nexus-app/main/default/classes",
38
+ "kind": "code-extension"
39
+ },
40
+ {
41
+ "path": "nexus-app/main/default/triggers",
42
+ "kind": "code-extension"
43
+ },
44
+ {
45
+ "path": "nexus-app/main/default/nwc",
46
+ "kind": "code-extension"
47
+ },
48
+ {
49
+ "path": "nexus-app/main/default/isolated",
50
+ "kind": "code-extension"
51
+ }
10
52
  ],
11
53
  "localPackages": [],
12
54
  "registry": {
@@ -18,8 +60,20 @@
18
60
  "defaultOrg": "E2E-L2-Drill-001",
19
61
  "defaultEnvironment": "drill",
20
62
  "environments": [
21
- { "name": "drill", "path": "env/drill.sandbox.yaml" }
63
+ {
64
+ "name": "drill",
65
+ "path": "env/drill.sandbox.yaml"
66
+ }
22
67
  ],
23
68
  "starterTemplate": "drill-code-extension-page",
24
- "packageRefs": []
69
+ "packageRefs": [
70
+ "core.baseline@0.1.0"
71
+ ],
72
+ "packageDirectories": [
73
+ {
74
+ "path": "nexus-app",
75
+ "default": true
76
+ }
77
+ ],
78
+ "sourceRoot": "nexus-app/main/default"
25
79
  }
@@ -0,0 +1,58 @@
1
+ schemaVersion: "nexus-project/v2"
2
+ projectName: "{{NAME}}"
3
+ apiVersion: "1.0"
4
+ sourceRoots:
5
+ - path: "nexus-app/main/default"
6
+ kind: "metadata-runtime"
7
+ writeTarget: true
8
+ metadataKinds:
9
+ - "applications"
10
+ - "tabs"
11
+ - "objects"
12
+ - "layouts"
13
+ - "pages"
14
+ - "nwc"
15
+ - "classes"
16
+ - "triggers"
17
+ - "flows"
18
+ - "permissionsets"
19
+ - "profiles"
20
+ - "permissionSetGroups"
21
+ - "roles"
22
+ - "groups"
23
+ - "queues"
24
+ - "labels"
25
+ - "customMetadata"
26
+ - "customSettings"
27
+ - "staticresources"
28
+ - "namedCredentials"
29
+ - "remoteSiteSettings"
30
+ - "notificationTemplates"
31
+ - "isolated"
32
+ - path: "nexus-app/main/default/classes"
33
+ kind: "code-extension"
34
+ - path: "nexus-app/main/default/triggers"
35
+ kind: "code-extension"
36
+ - path: "nexus-app/main/default/nwc"
37
+ kind: "code-extension"
38
+ - path: "nexus-app/main/default/isolated"
39
+ kind: "code-extension"
40
+ localPackages:
41
+ []
42
+ registry:
43
+ url: "https://packages.nexusclaw.local"
44
+ channel: "stable"
45
+ rootDirectory: "packages"
46
+ compatibleCoreVersion: "{{CORE_VERSION}}"
47
+ defaultOrg: "E2E-L2-Drill-001"
48
+ defaultEnvironment: "drill"
49
+ environments:
50
+ - name: "drill"
51
+ path: "env/drill.sandbox.yaml"
52
+ starterTemplate: "drill-code-extension-page"
53
+ packageRefs:
54
+ - "core.baseline@0.1.0"
55
+ packageDirectories:
56
+ - path: "nexus-app"
57
+ default: true
58
+ sourceRoot: "nexus-app/main/default"
@@ -26,6 +26,6 @@
26
26
  bundleHash: 'local-preview',
27
27
  };
28
28
  </script>
29
- <script src="../src/components/drill-code-extension-page/index.js"></script>
29
+ <script src="../nexus-app/main/default/nwc/drill-code-extension-page/index.js"></script>
30
30
  </body>
31
31
  </html>
@@ -4,7 +4,7 @@ import fs from 'node:fs';
4
4
  import path from 'node:path';
5
5
 
6
6
  const root = process.cwd();
7
- const source = path.join(root, 'src/components/drill-code-extension-page/index.js');
7
+ const source = path.join(root, 'nexus-app/main/default/nwc/drill-code-extension-page/index.js');
8
8
  const target = path.join(root, 'dist/components/drill-code-extension-page.js');
9
9
 
10
10
  fs.mkdirSync(path.dirname(target), { recursive: true });
@@ -7,7 +7,7 @@ import { fileURLToPath } from 'node:url';
7
7
 
8
8
  const __dirname = dirname(fileURLToPath(import.meta.url));
9
9
  const WORKSPACE_ROOT = resolve(__dirname, '..');
10
- const MANIFEST_PATH = resolve(WORKSPACE_ROOT, 'src/metadata/drill-code-extension-page.manifest.json');
10
+ const MANIFEST_PATH = resolve(WORKSPACE_ROOT, 'nexus-app/main/default/isolated/drill-code-extension-page.manifest.json');
11
11
  const ARTIFACT_DIR = resolve(WORKSPACE_ROOT, 'deploy-artifacts');
12
12
 
13
13
  function parseArgs(argv) {
@@ -1,6 +1,7 @@
1
1
  # {{NAME}}
2
2
 
3
3
  This workspace was bootstrapped from the `empty` NexusClaw workspace template.
4
+ It is an explicitly selected baseline-only authoring workspace, not the default customer Org.
4
5
 
5
6
  ## Bootstrap
6
7
 
@@ -26,11 +27,11 @@ package.
26
27
 
27
28
  ## Template package refs
28
29
 
29
- - none
30
+ - `core.baseline@0.1.0` (required environment baseline)
30
31
 
31
32
  ## Custom Pages (source DX)
32
33
 
33
- Pages live in `src/metadata/pages/` as pairs of:
34
+ Pages live in `nexus-app/main/default/pages/` as pairs of:
34
35
 
35
36
  - `<apiName>.page.json` — page metadata
36
37
  - `<apiName>.page.schema.json` — page schema blob
@@ -1,18 +1,66 @@
1
1
  {
2
- "schemaVersion": "dx-workspace/v1",
2
+ "schemaVersion": "nexus-project/v2",
3
3
  "projectName": "{{NAME}}",
4
4
  "apiVersion": "1.0",
5
5
  "sourceRoots": [
6
- { "path": "src/metadata", "kind": "metadata-runtime", "writeTarget": true },
7
- { "path": "src/classes", "kind": "code-extension" },
8
- { "path": "src/triggers", "kind": "code-extension" },
9
- { "path": "src/components", "kind": "code-extension" },
10
- { "path": "src/tests", "kind": "code-extension" },
11
- { "path": "src/metadata/pages", "kind": "metadata-runtime", "metadataKinds": ["pages"], "sourceOfTruthMode": "require-explicit", "orphanPolicy": "prompt" }
6
+ {
7
+ "path": "nexus-app/main/default",
8
+ "kind": "metadata-runtime",
9
+ "writeTarget": true,
10
+ "metadataKinds": [
11
+ "applications",
12
+ "tabs",
13
+ "objects",
14
+ "layouts",
15
+ "pages",
16
+ "nwc",
17
+ "classes",
18
+ "triggers",
19
+ "flows",
20
+ "permissionsets",
21
+ "profiles",
22
+ "permissionSetGroups",
23
+ "roles",
24
+ "groups",
25
+ "queues",
26
+ "labels",
27
+ "customMetadata",
28
+ "customSettings",
29
+ "staticresources",
30
+ "namedCredentials",
31
+ "remoteSiteSettings",
32
+ "notificationTemplates",
33
+ "isolated"
34
+ ]
35
+ },
36
+ {
37
+ "path": "nexus-app/main/default/classes",
38
+ "kind": "code-extension"
39
+ },
40
+ {
41
+ "path": "nexus-app/main/default/triggers",
42
+ "kind": "code-extension"
43
+ },
44
+ {
45
+ "path": "nexus-app/main/default/nwc",
46
+ "kind": "code-extension"
47
+ },
48
+ {
49
+ "path": "nexus-app/main/default/isolated",
50
+ "kind": "code-extension"
51
+ }
12
52
  ],
13
53
  "localPackages": [
14
- { "name": "workspace.org-base", "path": "packages/org-base", "packageClass": "metadata" },
15
- { "name": "workspace.sales-extension", "path": "packages/sales-extension", "packageClass": "metadata" }
54
+ {
55
+ "name": "workspace.org-base",
56
+ "path": "packages/org-base",
57
+ "packageClass": "metadata"
58
+ },
59
+ {
60
+ "name": "workspace.sales-extension",
61
+ "path": "packages/sales-extension",
62
+ "packageClass": "metadata"
63
+ }
16
64
  ],
17
65
  "registry": {
18
66
  "url": "https://packages.nexusclaw.local",
@@ -23,10 +71,28 @@
23
71
  "defaultOrg": "",
24
72
  "defaultEnvironment": "dev",
25
73
  "environments": [
26
- { "name": "dev", "path": "env/dev.sandbox.yaml" },
27
- { "name": "uat", "path": "env/uat.sandbox.yaml" },
28
- { "name": "prod", "path": "env/prod.install.yaml" }
74
+ {
75
+ "name": "dev",
76
+ "path": "env/dev.sandbox.yaml"
77
+ },
78
+ {
79
+ "name": "uat",
80
+ "path": "env/uat.sandbox.yaml"
81
+ },
82
+ {
83
+ "name": "prod",
84
+ "path": "env/prod.install.yaml"
85
+ }
29
86
  ],
30
87
  "starterTemplate": "empty",
31
- "packageRefs": []
88
+ "packageRefs": [
89
+ "core.baseline@0.1.0"
90
+ ],
91
+ "packageDirectories": [
92
+ {
93
+ "path": "nexus-app",
94
+ "default": true
95
+ }
96
+ ],
97
+ "sourceRoot": "nexus-app/main/default"
32
98
  }