@nexusclawhq/cli 0.2.4 → 0.3.2

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 (229) hide show
  1. package/CHANGELOG.md +15 -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/employee-package/types.d.ts +7 -0
  7. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/en-US.d.ts +719 -111
  8. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/en-US.js +19450 -18711
  9. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/en-US.js.map +1 -1
  10. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/index.d.ts +1438 -222
  11. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/zh-CN.d.ts +719 -111
  12. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/zh-CN.js +19485 -18789
  13. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/zh-CN.js.map +1 -1
  14. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/platform-admin-route-readiness/index.js +2 -11
  15. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/platform-admin-route-readiness/index.js.map +1 -1
  16. package/dist/nexus-cli/node_modules/@nexusclaw/shared/package.json +5 -1
  17. package/dist/nexus-cli/src/cli.js +2 -0
  18. package/dist/nexus-cli/src/cli.js.map +1 -1
  19. package/dist/nexus-cli/src/commands/ai/help.test.js +11 -29
  20. package/dist/nexus-cli/src/commands/ai/help.test.js.map +1 -1
  21. package/dist/nexus-cli/src/commands/commands.test.js +81 -1
  22. package/dist/nexus-cli/src/commands/commands.test.js.map +1 -1
  23. package/dist/nexus-cli/src/commands/employee/deploy.js +35 -9
  24. package/dist/nexus-cli/src/commands/employee/deploy.js.map +1 -1
  25. package/dist/nexus-cli/src/commands/org/index.js +2 -0
  26. package/dist/nexus-cli/src/commands/org/index.js.map +1 -1
  27. package/dist/nexus-cli/src/commands/org/step-up.d.ts +2 -0
  28. package/dist/nexus-cli/src/commands/org/step-up.js +75 -0
  29. package/dist/nexus-cli/src/commands/org/step-up.js.map +1 -0
  30. package/dist/nexus-cli/src/commands/workforce/approval.d.ts +2 -0
  31. package/dist/nexus-cli/src/commands/workforce/approval.js +60 -0
  32. package/dist/nexus-cli/src/commands/workforce/approval.js.map +1 -0
  33. package/dist/nexus-cli/src/commands/workforce/cognition.d.ts +2 -0
  34. package/dist/nexus-cli/src/commands/workforce/cognition.js +62 -0
  35. package/dist/nexus-cli/src/commands/workforce/cognition.js.map +1 -0
  36. package/dist/nexus-cli/src/commands/workforce/constitution.d.ts +2 -0
  37. package/dist/nexus-cli/src/commands/workforce/constitution.js +37 -0
  38. package/dist/nexus-cli/src/commands/workforce/constitution.js.map +1 -0
  39. package/dist/nexus-cli/src/commands/workforce/guardrail.d.ts +2 -0
  40. package/dist/nexus-cli/src/commands/workforce/guardrail.js +67 -0
  41. package/dist/nexus-cli/src/commands/workforce/guardrail.js.map +1 -0
  42. package/dist/nexus-cli/src/commands/workforce/index.d.ts +2 -0
  43. package/dist/nexus-cli/src/commands/workforce/index.js +43 -0
  44. package/dist/nexus-cli/src/commands/workforce/index.js.map +1 -0
  45. package/dist/nexus-cli/src/commands/workforce/knowledge.d.ts +2 -0
  46. package/dist/nexus-cli/src/commands/workforce/knowledge.js +143 -0
  47. package/dist/nexus-cli/src/commands/workforce/knowledge.js.map +1 -0
  48. package/dist/nexus-cli/src/commands/workforce/learning.d.ts +2 -0
  49. package/dist/nexus-cli/src/commands/workforce/learning.js +146 -0
  50. package/dist/nexus-cli/src/commands/workforce/learning.js.map +1 -0
  51. package/dist/nexus-cli/src/commands/workforce/observe.d.ts +2 -0
  52. package/dist/nexus-cli/src/commands/workforce/observe.js +152 -0
  53. package/dist/nexus-cli/src/commands/workforce/observe.js.map +1 -0
  54. package/dist/nexus-cli/src/commands/workforce/orchestration.d.ts +2 -0
  55. package/dist/nexus-cli/src/commands/workforce/orchestration.js +199 -0
  56. package/dist/nexus-cli/src/commands/workforce/orchestration.js.map +1 -0
  57. package/dist/nexus-cli/src/commands/workforce/permission.d.ts +2 -0
  58. package/dist/nexus-cli/src/commands/workforce/permission.js +113 -0
  59. package/dist/nexus-cli/src/commands/workforce/permission.js.map +1 -0
  60. package/dist/nexus-cli/src/commands/workforce/prompt.d.ts +2 -0
  61. package/dist/nexus-cli/src/commands/workforce/prompt.js +137 -0
  62. package/dist/nexus-cli/src/commands/workforce/prompt.js.map +1 -0
  63. package/dist/nexus-cli/src/commands/workforce/provider.d.ts +2 -0
  64. package/dist/nexus-cli/src/commands/workforce/provider.js +152 -0
  65. package/dist/nexus-cli/src/commands/workforce/provider.js.map +1 -0
  66. package/dist/nexus-cli/src/commands/workforce/rehearsal.d.ts +2 -0
  67. package/dist/nexus-cli/src/commands/workforce/rehearsal.js +71 -0
  68. package/dist/nexus-cli/src/commands/workforce/rehearsal.js.map +1 -0
  69. package/dist/nexus-cli/src/commands/workforce/release.d.ts +2 -0
  70. package/dist/nexus-cli/src/commands/workforce/release.js +24 -0
  71. package/dist/nexus-cli/src/commands/workforce/release.js.map +1 -0
  72. package/dist/nexus-cli/src/commands/workforce/shared.d.ts +8 -0
  73. package/dist/nexus-cli/src/commands/workforce/shared.js +86 -0
  74. package/dist/nexus-cli/src/commands/workforce/shared.js.map +1 -0
  75. package/dist/nexus-cli/src/commands/workforce/sop.d.ts +2 -0
  76. package/dist/nexus-cli/src/commands/workforce/sop.js +86 -0
  77. package/dist/nexus-cli/src/commands/workforce/sop.js.map +1 -0
  78. package/dist/nexus-cli/src/commands/workforce/task.d.ts +4 -0
  79. package/dist/nexus-cli/src/commands/workforce/task.js +67 -0
  80. package/dist/nexus-cli/src/commands/workforce/task.js.map +1 -0
  81. package/dist/nexus-cli/src/commands/workforce/test-case.d.ts +2 -0
  82. package/dist/nexus-cli/src/commands/workforce/test-case.js +121 -0
  83. package/dist/nexus-cli/src/commands/workforce/test-case.js.map +1 -0
  84. package/dist/nexus-cli/src/config/platform-seed-registry.json +134 -0
  85. package/dist/nexus-cli/src/contracts/command-contract.guard.js +25 -2
  86. package/dist/nexus-cli/src/contracts/command-contract.guard.js.map +1 -1
  87. package/dist/nexus-cli/src/contracts/command-contract.registry.js +2 -0
  88. package/dist/nexus-cli/src/contracts/command-contract.registry.js.map +1 -1
  89. package/dist/nexus-cli/src/contracts/contracts.test.js +40 -54
  90. package/dist/nexus-cli/src/contracts/contracts.test.js.map +1 -1
  91. package/dist/nexus-cli/src/contracts/workforce-contracts.d.ts +2 -0
  92. package/dist/nexus-cli/src/contracts/workforce-contracts.js +175 -0
  93. package/dist/nexus-cli/src/contracts/workforce-contracts.js.map +1 -0
  94. package/dist/nexus-cli/src/services/api-client.d.ts +37 -1
  95. package/dist/nexus-cli/src/services/api-client.js +120 -34
  96. package/dist/nexus-cli/src/services/api-client.js.map +1 -1
  97. package/dist/nexus-cli/src/services/api-client.test.js +87 -0
  98. package/dist/nexus-cli/src/services/api-client.test.js.map +1 -1
  99. package/dist/nexus-cli/src/services/package-self-containment.js +1 -0
  100. package/dist/nexus-cli/src/services/package-self-containment.js.map +1 -1
  101. package/dist/nexus-cli/src/services/step-up-helper.d.ts +43 -0
  102. package/dist/nexus-cli/src/services/step-up-helper.js +98 -0
  103. package/dist/nexus-cli/src/services/step-up-helper.js.map +1 -0
  104. package/dist/nexus-cli/src/services/step-up-helper.test.d.ts +1 -0
  105. package/dist/nexus-cli/src/services/step-up-helper.test.js +176 -0
  106. package/dist/nexus-cli/src/services/step-up-helper.test.js.map +1 -0
  107. package/dist/nexus-cli/src/services/step-up-interactive.d.ts +2 -0
  108. package/dist/nexus-cli/src/services/step-up-interactive.js +69 -0
  109. package/dist/nexus-cli/src/services/step-up-interactive.js.map +1 -0
  110. package/dist/nexus-cli/src/services/workforce-cognition-remote.d.ts +27 -0
  111. package/dist/nexus-cli/src/services/workforce-cognition-remote.js +48 -0
  112. package/dist/nexus-cli/src/services/workforce-cognition-remote.js.map +1 -0
  113. package/dist/nexus-cli/src/services/workforce-common.d.ts +2 -0
  114. package/dist/nexus-cli/src/services/workforce-common.js +20 -0
  115. package/dist/nexus-cli/src/services/workforce-common.js.map +1 -0
  116. package/dist/nexus-cli/src/services/workforce-config-remote.d.ts +127 -0
  117. package/dist/nexus-cli/src/services/workforce-config-remote.js +205 -0
  118. package/dist/nexus-cli/src/services/workforce-config-remote.js.map +1 -0
  119. package/dist/nexus-cli/src/services/workforce-distillation-remote.d.ts +118 -0
  120. package/dist/nexus-cli/src/services/workforce-distillation-remote.js +171 -0
  121. package/dist/nexus-cli/src/services/workforce-distillation-remote.js.map +1 -0
  122. package/dist/nexus-cli/src/services/workforce-guardrail-knowledge-remote.d.ts +105 -0
  123. package/dist/nexus-cli/src/services/workforce-guardrail-knowledge-remote.js +174 -0
  124. package/dist/nexus-cli/src/services/workforce-guardrail-knowledge-remote.js.map +1 -0
  125. package/dist/nexus-cli/src/services/workforce-learning-remote.d.ts +131 -0
  126. package/dist/nexus-cli/src/services/workforce-learning-remote.js +179 -0
  127. package/dist/nexus-cli/src/services/workforce-learning-remote.js.map +1 -0
  128. package/dist/nexus-cli/src/services/workforce-observe-remote.d.ts +104 -0
  129. package/dist/nexus-cli/src/services/workforce-observe-remote.js +216 -0
  130. package/dist/nexus-cli/src/services/workforce-observe-remote.js.map +1 -0
  131. package/dist/nexus-cli/src/services/workforce-ops-remote.d.ts +96 -0
  132. package/dist/nexus-cli/src/services/workforce-ops-remote.js +178 -0
  133. package/dist/nexus-cli/src/services/workforce-ops-remote.js.map +1 -0
  134. package/dist/nexus-cli/src/services/workforce-orchestration-remote.d.ts +132 -0
  135. package/dist/nexus-cli/src/services/workforce-orchestration-remote.js +244 -0
  136. package/dist/nexus-cli/src/services/workforce-orchestration-remote.js.map +1 -0
  137. package/dist/nexus-cli/src/services/workforce-permission-remote.d.ts +72 -0
  138. package/dist/nexus-cli/src/services/workforce-permission-remote.js +130 -0
  139. package/dist/nexus-cli/src/services/workforce-permission-remote.js.map +1 -0
  140. package/dist/nexus-cli/src/services/workforce-provider-remote.d.ts +82 -0
  141. package/dist/nexus-cli/src/services/workforce-provider-remote.js +129 -0
  142. package/dist/nexus-cli/src/services/workforce-provider-remote.js.map +1 -0
  143. package/dist/nexus-cli/src/services/workforce-test-remote.d.ts +85 -0
  144. package/dist/nexus-cli/src/services/workforce-test-remote.js +139 -0
  145. package/dist/nexus-cli/src/services/workforce-test-remote.js.map +1 -0
  146. package/dist/nexus-cli/src/templates/project/template-manifest.json +11 -5
  147. package/dist/nexus-cli/src/templates/project/templates/base-crm/README.md.tpl +4 -3
  148. package/dist/nexus-cli/src/templates/project/templates/base-crm/nexus-project.json.tpl +77 -13
  149. package/dist/nexus-cli/src/templates/project/templates/base-crm/nexus-project.yaml.tpl +68 -0
  150. package/dist/nexus-cli/src/templates/project/templates/demo-public-channel-store-delivery/README.md.tpl +4 -4
  151. package/dist/nexus-cli/src/templates/project/templates/demo-public-channel-store-delivery/nexus-project.json.tpl +77 -13
  152. package/dist/nexus-cli/src/templates/project/templates/demo-public-channel-store-delivery/nexus-project.yaml.tpl +71 -0
  153. package/dist/nexus-cli/src/templates/project/templates/drill-code-extension-page/README.md.tpl +4 -4
  154. 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
  155. 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
  156. 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
  157. package/dist/nexus-cli/src/templates/project/templates/drill-code-extension-page/nexus-project.json.tpl +61 -7
  158. package/dist/nexus-cli/src/templates/project/templates/drill-code-extension-page/nexus-project.yaml.tpl +58 -0
  159. package/dist/nexus-cli/src/templates/project/templates/drill-code-extension-page/preview/drill-code-extension-page.html +1 -1
  160. package/dist/nexus-cli/src/templates/project/templates/drill-code-extension-page/scripts/build-component.mjs +1 -1
  161. package/dist/nexus-cli/src/templates/project/templates/drill-code-extension-page/scripts/deploy-drill.mjs +1 -1
  162. package/dist/nexus-cli/src/templates/project/templates/empty/README.md.tpl +3 -2
  163. package/dist/nexus-cli/src/templates/project/templates/empty/nexus-project.json.tpl +79 -13
  164. package/dist/nexus-cli/src/templates/project/templates/empty/nexus-project.yaml.tpl +67 -0
  165. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/agent-instructions/claude.md +6 -0
  166. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/agent-instructions/codex.md +6 -0
  167. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/agent-instructions/generic.md +6 -0
  168. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/agent-instructions/glm-5.2.md +6 -0
  169. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/authoring/code-sdk.d.ts +1 -0
  170. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/authoring/command-order.json +1 -0
  171. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/authoring/flow-node-catalog.json +1 -0
  172. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/catalogs/ai-policies.json +1 -0
  173. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/catalogs/approval-policies.json +1 -0
  174. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/catalogs/connectors.json +1 -0
  175. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/catalogs/invokable-units.json +1 -0
  176. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/catalogs/objects.json +1 -0
  177. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/cli-contract.json +1 -0
  178. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/context-lock.json +1 -0
  179. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/context-manifest.json +1 -0
  180. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/examples/code/minimal-action.cases.json +1 -0
  181. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/examples/code/minimal-action.input.schema.json +1 -0
  182. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/examples/code/minimal-action.output.schema.json +1 -0
  183. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/examples/code/minimal-action.ts +3 -0
  184. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/examples/flow/minimal-manual-flow.json +1 -0
  185. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/agent-code-tool-catalog-v1.schema.json +1 -0
  186. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/ai-workforce-executable-bundle-v1.schema.json +1 -0
  187. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/approval-policy-authoring-catalog-v1.schema.json +1 -0
  188. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/code-action-cases-v1.schema.json +1 -0
  189. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/code-extension-governance-v2.schema.json +1 -0
  190. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/employee-package-v2.schema.json +1 -0
  191. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/flow-package-v1.schema.json +1 -0
  192. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/flows-payload-v2.schema.json +1 -0
  193. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/object-authoring-catalog-v1.schema.json +1 -0
  194. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/workforce-bundle-lock-v1.schema.json +1 -0
  195. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/workforce-release-evidence-v1.schema.json +1 -0
  196. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/workforce-runtime-bindings-v1.schema.json +1 -0
  197. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/workspace-authoring-contract-v1.schema.json +1 -0
  198. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/workspace-contract.json +1 -0
  199. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/README.md.tpl +41 -0
  200. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/nexus-project.json.tpl +86 -0
  201. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/nexus-project.yaml.tpl +61 -0
  202. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/package.json.tpl +25 -0
  203. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/packages/generic-action/.nexusclaw/scaffold.json +12 -0
  204. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/packages/generic-action/agent-tools.json +53 -0
  205. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/packages/generic-action/code/genericLookup.ts +5 -0
  206. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/packages/generic-action/package.yaml +28 -0
  207. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/packages/generic-action/schemas/genericLookup.input.schema.json +6 -0
  208. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/packages/generic-action/schemas/genericLookup.output.schema.json +6 -0
  209. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/packages/generic-action/tests/genericLookup.cases.json +26 -0
  210. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/packages/generic-flow/GenericFollowUp.flow.yaml +10 -0
  211. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/scripts/init-bundle.mjs +25 -0
  212. package/dist/nexus-cli/src/templates/project/templates/executable-workforce/tsconfig.json.tpl +10 -0
  213. package/dist/nexus-cli/src/templates/project/templates/industry-education/README.md.tpl +7 -1
  214. package/dist/nexus-cli/src/templates/project/templates/industry-education/nexus-project.json.tpl +77 -14
  215. package/dist/nexus-cli/src/templates/project/templates/industry-education/nexus-project.yaml.tpl +69 -0
  216. package/dist/nexus-cli/src/templates/project/templates/industry-finance/README.md.tpl +7 -1
  217. package/dist/nexus-cli/src/templates/project/templates/industry-finance/nexus-project.json.tpl +77 -14
  218. package/dist/nexus-cli/src/templates/project/templates/industry-finance/nexus-project.yaml.tpl +69 -0
  219. package/dist/nexus-cli/src/templates/project/templates/industry-healthcare/README.md.tpl +7 -1
  220. package/dist/nexus-cli/src/templates/project/templates/industry-healthcare/nexus-project.json.tpl +77 -14
  221. package/dist/nexus-cli/src/templates/project/templates/industry-healthcare/nexus-project.yaml.tpl +69 -0
  222. package/dist/nexus-cli/src/templates/project/templates/industry-partner-cloud/README.md.tpl +4 -4
  223. package/dist/nexus-cli/src/templates/project/templates/industry-partner-cloud/nexus-project.json.tpl +77 -13
  224. package/dist/nexus-cli/src/templates/project/templates/industry-partner-cloud/nexus-project.yaml.tpl +69 -0
  225. package/dist/nexus-cli/src/templates/project/templates/industry-retail/README.md.tpl +7 -1
  226. package/dist/nexus-cli/src/templates/project/templates/industry-retail/nexus-project.json.tpl +77 -14
  227. package/dist/nexus-cli/src/templates/project/templates/industry-retail/nexus-project.yaml.tpl +69 -0
  228. package/dist/tsconfig.tsbuildinfo +1 -1
  229. 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,15 +71,30 @@
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": "industry-retail",
31
88
  "packageRefs": [
32
89
  "core.baseline@0.1.0",
33
90
  "overlay.generic-crm@0.1.0",
34
91
  "industry.retail@0.1.0"
35
- ]
92
+ ],
93
+ "packageDirectories": [
94
+ {
95
+ "path": "nexus-app",
96
+ "default": true
97
+ }
98
+ ],
99
+ "sourceRoot": "nexus-app/main/default"
36
100
  }
37
-
@@ -0,0 +1,69 @@
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: "stable"
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: "industry-retail"
62
+ packageRefs:
63
+ - "core.baseline@0.1.0"
64
+ - "overlay.generic-crm@0.1.0"
65
+ - "industry.retail@0.1.0"
66
+ packageDirectories:
67
+ - path: "nexus-app"
68
+ default: true
69
+ sourceRoot: "nexus-app/main/default"