@nexusclawhq/cli 0.2.4 → 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.
- package/CHANGELOG.md +7 -0
- package/README.md +5 -0
- package/dist/build-info.json +5 -5
- package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/agent-executable-assets/cli-contract.types.d.ts +1 -1
- package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/ai-employee-cognition/cognitive-policy.types.d.ts +19 -1
- package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/en-US.d.ts +686 -95
- package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/en-US.js +19426 -18705
- package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/en-US.js.map +1 -1
- package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/index.d.ts +1372 -190
- package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/zh-CN.d.ts +686 -95
- package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/zh-CN.js +19467 -18789
- package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/zh-CN.js.map +1 -1
- package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/platform-admin-route-readiness/index.js +2 -11
- package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/platform-admin-route-readiness/index.js.map +1 -1
- package/dist/nexus-cli/node_modules/@nexusclaw/shared/package.json +5 -1
- package/dist/nexus-cli/src/cli.js +2 -0
- package/dist/nexus-cli/src/cli.js.map +1 -1
- package/dist/nexus-cli/src/commands/ai/help.test.js +11 -29
- package/dist/nexus-cli/src/commands/ai/help.test.js.map +1 -1
- package/dist/nexus-cli/src/commands/commands.test.js +81 -1
- package/dist/nexus-cli/src/commands/commands.test.js.map +1 -1
- package/dist/nexus-cli/src/commands/employee/deploy.js +35 -9
- package/dist/nexus-cli/src/commands/employee/deploy.js.map +1 -1
- package/dist/nexus-cli/src/commands/org/index.js +2 -0
- package/dist/nexus-cli/src/commands/org/index.js.map +1 -1
- package/dist/nexus-cli/src/commands/org/step-up.d.ts +2 -0
- package/dist/nexus-cli/src/commands/org/step-up.js +75 -0
- package/dist/nexus-cli/src/commands/org/step-up.js.map +1 -0
- package/dist/nexus-cli/src/commands/workforce/approval.d.ts +2 -0
- package/dist/nexus-cli/src/commands/workforce/approval.js +60 -0
- package/dist/nexus-cli/src/commands/workforce/approval.js.map +1 -0
- package/dist/nexus-cli/src/commands/workforce/cognition.d.ts +2 -0
- package/dist/nexus-cli/src/commands/workforce/cognition.js +62 -0
- package/dist/nexus-cli/src/commands/workforce/cognition.js.map +1 -0
- package/dist/nexus-cli/src/commands/workforce/constitution.d.ts +2 -0
- package/dist/nexus-cli/src/commands/workforce/constitution.js +37 -0
- package/dist/nexus-cli/src/commands/workforce/constitution.js.map +1 -0
- package/dist/nexus-cli/src/commands/workforce/guardrail.d.ts +2 -0
- package/dist/nexus-cli/src/commands/workforce/guardrail.js +67 -0
- package/dist/nexus-cli/src/commands/workforce/guardrail.js.map +1 -0
- package/dist/nexus-cli/src/commands/workforce/index.d.ts +2 -0
- package/dist/nexus-cli/src/commands/workforce/index.js +43 -0
- package/dist/nexus-cli/src/commands/workforce/index.js.map +1 -0
- package/dist/nexus-cli/src/commands/workforce/knowledge.d.ts +2 -0
- package/dist/nexus-cli/src/commands/workforce/knowledge.js +143 -0
- package/dist/nexus-cli/src/commands/workforce/knowledge.js.map +1 -0
- package/dist/nexus-cli/src/commands/workforce/learning.d.ts +2 -0
- package/dist/nexus-cli/src/commands/workforce/learning.js +146 -0
- package/dist/nexus-cli/src/commands/workforce/learning.js.map +1 -0
- package/dist/nexus-cli/src/commands/workforce/observe.d.ts +2 -0
- package/dist/nexus-cli/src/commands/workforce/observe.js +152 -0
- package/dist/nexus-cli/src/commands/workforce/observe.js.map +1 -0
- package/dist/nexus-cli/src/commands/workforce/orchestration.d.ts +2 -0
- package/dist/nexus-cli/src/commands/workforce/orchestration.js +199 -0
- package/dist/nexus-cli/src/commands/workforce/orchestration.js.map +1 -0
- package/dist/nexus-cli/src/commands/workforce/permission.d.ts +2 -0
- package/dist/nexus-cli/src/commands/workforce/permission.js +113 -0
- package/dist/nexus-cli/src/commands/workforce/permission.js.map +1 -0
- package/dist/nexus-cli/src/commands/workforce/prompt.d.ts +2 -0
- package/dist/nexus-cli/src/commands/workforce/prompt.js +137 -0
- package/dist/nexus-cli/src/commands/workforce/prompt.js.map +1 -0
- package/dist/nexus-cli/src/commands/workforce/provider.d.ts +2 -0
- package/dist/nexus-cli/src/commands/workforce/provider.js +152 -0
- package/dist/nexus-cli/src/commands/workforce/provider.js.map +1 -0
- package/dist/nexus-cli/src/commands/workforce/rehearsal.d.ts +2 -0
- package/dist/nexus-cli/src/commands/workforce/rehearsal.js +71 -0
- package/dist/nexus-cli/src/commands/workforce/rehearsal.js.map +1 -0
- package/dist/nexus-cli/src/commands/workforce/release.d.ts +2 -0
- package/dist/nexus-cli/src/commands/workforce/release.js +24 -0
- package/dist/nexus-cli/src/commands/workforce/release.js.map +1 -0
- package/dist/nexus-cli/src/commands/workforce/shared.d.ts +8 -0
- package/dist/nexus-cli/src/commands/workforce/shared.js +86 -0
- package/dist/nexus-cli/src/commands/workforce/shared.js.map +1 -0
- package/dist/nexus-cli/src/commands/workforce/sop.d.ts +2 -0
- package/dist/nexus-cli/src/commands/workforce/sop.js +86 -0
- package/dist/nexus-cli/src/commands/workforce/sop.js.map +1 -0
- package/dist/nexus-cli/src/commands/workforce/task.d.ts +4 -0
- package/dist/nexus-cli/src/commands/workforce/task.js +67 -0
- package/dist/nexus-cli/src/commands/workforce/task.js.map +1 -0
- package/dist/nexus-cli/src/commands/workforce/test-case.d.ts +2 -0
- package/dist/nexus-cli/src/commands/workforce/test-case.js +121 -0
- package/dist/nexus-cli/src/commands/workforce/test-case.js.map +1 -0
- package/dist/nexus-cli/src/config/platform-seed-registry.json +134 -0
- package/dist/nexus-cli/src/contracts/command-contract.guard.js +25 -2
- package/dist/nexus-cli/src/contracts/command-contract.guard.js.map +1 -1
- package/dist/nexus-cli/src/contracts/command-contract.registry.js +2 -0
- package/dist/nexus-cli/src/contracts/command-contract.registry.js.map +1 -1
- package/dist/nexus-cli/src/contracts/contracts.test.js +40 -54
- package/dist/nexus-cli/src/contracts/contracts.test.js.map +1 -1
- package/dist/nexus-cli/src/contracts/workforce-contracts.d.ts +2 -0
- package/dist/nexus-cli/src/contracts/workforce-contracts.js +175 -0
- package/dist/nexus-cli/src/contracts/workforce-contracts.js.map +1 -0
- package/dist/nexus-cli/src/services/api-client.d.ts +37 -1
- package/dist/nexus-cli/src/services/api-client.js +120 -34
- package/dist/nexus-cli/src/services/api-client.js.map +1 -1
- package/dist/nexus-cli/src/services/api-client.test.js +87 -0
- package/dist/nexus-cli/src/services/api-client.test.js.map +1 -1
- package/dist/nexus-cli/src/services/package-self-containment.js +1 -0
- package/dist/nexus-cli/src/services/package-self-containment.js.map +1 -1
- package/dist/nexus-cli/src/services/step-up-helper.d.ts +43 -0
- package/dist/nexus-cli/src/services/step-up-helper.js +98 -0
- package/dist/nexus-cli/src/services/step-up-helper.js.map +1 -0
- package/dist/nexus-cli/src/services/step-up-helper.test.d.ts +1 -0
- package/dist/nexus-cli/src/services/step-up-helper.test.js +176 -0
- package/dist/nexus-cli/src/services/step-up-helper.test.js.map +1 -0
- package/dist/nexus-cli/src/services/step-up-interactive.d.ts +2 -0
- package/dist/nexus-cli/src/services/step-up-interactive.js +69 -0
- package/dist/nexus-cli/src/services/step-up-interactive.js.map +1 -0
- package/dist/nexus-cli/src/services/workforce-cognition-remote.d.ts +27 -0
- package/dist/nexus-cli/src/services/workforce-cognition-remote.js +48 -0
- package/dist/nexus-cli/src/services/workforce-cognition-remote.js.map +1 -0
- package/dist/nexus-cli/src/services/workforce-common.d.ts +2 -0
- package/dist/nexus-cli/src/services/workforce-common.js +20 -0
- package/dist/nexus-cli/src/services/workforce-common.js.map +1 -0
- package/dist/nexus-cli/src/services/workforce-config-remote.d.ts +127 -0
- package/dist/nexus-cli/src/services/workforce-config-remote.js +205 -0
- package/dist/nexus-cli/src/services/workforce-config-remote.js.map +1 -0
- package/dist/nexus-cli/src/services/workforce-distillation-remote.d.ts +118 -0
- package/dist/nexus-cli/src/services/workforce-distillation-remote.js +171 -0
- package/dist/nexus-cli/src/services/workforce-distillation-remote.js.map +1 -0
- package/dist/nexus-cli/src/services/workforce-guardrail-knowledge-remote.d.ts +105 -0
- package/dist/nexus-cli/src/services/workforce-guardrail-knowledge-remote.js +174 -0
- package/dist/nexus-cli/src/services/workforce-guardrail-knowledge-remote.js.map +1 -0
- package/dist/nexus-cli/src/services/workforce-learning-remote.d.ts +131 -0
- package/dist/nexus-cli/src/services/workforce-learning-remote.js +179 -0
- package/dist/nexus-cli/src/services/workforce-learning-remote.js.map +1 -0
- package/dist/nexus-cli/src/services/workforce-observe-remote.d.ts +97 -0
- package/dist/nexus-cli/src/services/workforce-observe-remote.js +207 -0
- package/dist/nexus-cli/src/services/workforce-observe-remote.js.map +1 -0
- package/dist/nexus-cli/src/services/workforce-ops-remote.d.ts +94 -0
- package/dist/nexus-cli/src/services/workforce-ops-remote.js +176 -0
- package/dist/nexus-cli/src/services/workforce-ops-remote.js.map +1 -0
- package/dist/nexus-cli/src/services/workforce-orchestration-remote.d.ts +132 -0
- package/dist/nexus-cli/src/services/workforce-orchestration-remote.js +244 -0
- package/dist/nexus-cli/src/services/workforce-orchestration-remote.js.map +1 -0
- package/dist/nexus-cli/src/services/workforce-permission-remote.d.ts +72 -0
- package/dist/nexus-cli/src/services/workforce-permission-remote.js +130 -0
- package/dist/nexus-cli/src/services/workforce-permission-remote.js.map +1 -0
- package/dist/nexus-cli/src/services/workforce-provider-remote.d.ts +82 -0
- package/dist/nexus-cli/src/services/workforce-provider-remote.js +129 -0
- package/dist/nexus-cli/src/services/workforce-provider-remote.js.map +1 -0
- package/dist/nexus-cli/src/services/workforce-test-remote.d.ts +85 -0
- package/dist/nexus-cli/src/services/workforce-test-remote.js +134 -0
- package/dist/nexus-cli/src/services/workforce-test-remote.js.map +1 -0
- package/dist/nexus-cli/src/templates/project/template-manifest.json +11 -5
- package/dist/nexus-cli/src/templates/project/templates/base-crm/README.md.tpl +4 -3
- package/dist/nexus-cli/src/templates/project/templates/base-crm/nexus-project.json.tpl +77 -13
- package/dist/nexus-cli/src/templates/project/templates/base-crm/nexus-project.yaml.tpl +68 -0
- package/dist/nexus-cli/src/templates/project/templates/demo-public-channel-store-delivery/README.md.tpl +4 -4
- package/dist/nexus-cli/src/templates/project/templates/demo-public-channel-store-delivery/nexus-project.json.tpl +77 -13
- package/dist/nexus-cli/src/templates/project/templates/demo-public-channel-store-delivery/nexus-project.yaml.tpl +71 -0
- package/dist/nexus-cli/src/templates/project/templates/drill-code-extension-page/README.md.tpl +4 -4
- 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
- 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
- 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
- package/dist/nexus-cli/src/templates/project/templates/drill-code-extension-page/nexus-project.json.tpl +61 -7
- package/dist/nexus-cli/src/templates/project/templates/drill-code-extension-page/nexus-project.yaml.tpl +58 -0
- package/dist/nexus-cli/src/templates/project/templates/drill-code-extension-page/preview/drill-code-extension-page.html +1 -1
- package/dist/nexus-cli/src/templates/project/templates/drill-code-extension-page/scripts/build-component.mjs +1 -1
- package/dist/nexus-cli/src/templates/project/templates/drill-code-extension-page/scripts/deploy-drill.mjs +1 -1
- package/dist/nexus-cli/src/templates/project/templates/empty/README.md.tpl +3 -2
- package/dist/nexus-cli/src/templates/project/templates/empty/nexus-project.json.tpl +79 -13
- package/dist/nexus-cli/src/templates/project/templates/empty/nexus-project.yaml.tpl +67 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/agent-instructions/claude.md +6 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/agent-instructions/codex.md +6 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/agent-instructions/generic.md +6 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/agent-instructions/glm-5.2.md +6 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/authoring/code-sdk.d.ts +1 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/authoring/command-order.json +1 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/authoring/flow-node-catalog.json +1 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/catalogs/ai-policies.json +1 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/catalogs/approval-policies.json +1 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/catalogs/connectors.json +1 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/catalogs/invokable-units.json +1 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/catalogs/objects.json +1 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/cli-contract.json +1 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/context-lock.json +1 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/context-manifest.json +1 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/examples/code/minimal-action.cases.json +1 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/examples/code/minimal-action.input.schema.json +1 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/examples/code/minimal-action.output.schema.json +1 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/examples/code/minimal-action.ts +3 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/examples/flow/minimal-manual-flow.json +1 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/agent-code-tool-catalog-v1.schema.json +1 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/ai-workforce-executable-bundle-v1.schema.json +1 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/approval-policy-authoring-catalog-v1.schema.json +1 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/code-action-cases-v1.schema.json +1 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/code-extension-governance-v2.schema.json +1 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/employee-package-v2.schema.json +1 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/flow-package-v1.schema.json +1 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/flows-payload-v2.schema.json +1 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/object-authoring-catalog-v1.schema.json +1 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/workforce-bundle-lock-v1.schema.json +1 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/workforce-release-evidence-v1.schema.json +1 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/workforce-runtime-bindings-v1.schema.json +1 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/schemas/workspace-authoring-contract-v1.schema.json +1 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/.nexusclaw/context/workspace-contract.json +1 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/README.md.tpl +41 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/nexus-project.json.tpl +86 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/nexus-project.yaml.tpl +61 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/package.json.tpl +25 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/packages/generic-action/.nexusclaw/scaffold.json +12 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/packages/generic-action/agent-tools.json +53 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/packages/generic-action/code/genericLookup.ts +5 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/packages/generic-action/package.yaml +28 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/packages/generic-action/schemas/genericLookup.input.schema.json +6 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/packages/generic-action/schemas/genericLookup.output.schema.json +6 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/packages/generic-action/tests/genericLookup.cases.json +26 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/packages/generic-flow/GenericFollowUp.flow.yaml +10 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/scripts/init-bundle.mjs +25 -0
- package/dist/nexus-cli/src/templates/project/templates/executable-workforce/tsconfig.json.tpl +10 -0
- package/dist/nexus-cli/src/templates/project/templates/industry-education/README.md.tpl +7 -1
- package/dist/nexus-cli/src/templates/project/templates/industry-education/nexus-project.json.tpl +77 -14
- package/dist/nexus-cli/src/templates/project/templates/industry-education/nexus-project.yaml.tpl +69 -0
- package/dist/nexus-cli/src/templates/project/templates/industry-finance/README.md.tpl +7 -1
- package/dist/nexus-cli/src/templates/project/templates/industry-finance/nexus-project.json.tpl +77 -14
- package/dist/nexus-cli/src/templates/project/templates/industry-finance/nexus-project.yaml.tpl +69 -0
- package/dist/nexus-cli/src/templates/project/templates/industry-healthcare/README.md.tpl +7 -1
- package/dist/nexus-cli/src/templates/project/templates/industry-healthcare/nexus-project.json.tpl +77 -14
- package/dist/nexus-cli/src/templates/project/templates/industry-healthcare/nexus-project.yaml.tpl +69 -0
- package/dist/nexus-cli/src/templates/project/templates/industry-partner-cloud/README.md.tpl +4 -4
- package/dist/nexus-cli/src/templates/project/templates/industry-partner-cloud/nexus-project.json.tpl +77 -13
- package/dist/nexus-cli/src/templates/project/templates/industry-partner-cloud/nexus-project.yaml.tpl +69 -0
- package/dist/nexus-cli/src/templates/project/templates/industry-retail/README.md.tpl +7 -1
- package/dist/nexus-cli/src/templates/project/templates/industry-retail/nexus-project.json.tpl +77 -14
- package/dist/nexus-cli/src/templates/project/templates/industry-retail/nexus-project.yaml.tpl +69 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,68 @@
|
|
|
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: "base-crm"
|
|
62
|
+
packageRefs:
|
|
63
|
+
- "core.baseline@0.1.0"
|
|
64
|
+
- "overlay.generic-crm@0.1.0"
|
|
65
|
+
packageDirectories:
|
|
66
|
+
- path: "nexus-app"
|
|
67
|
+
default: true
|
|
68
|
+
sourceRoot: "nexus-app/main/default"
|
|
@@ -26,9 +26,9 @@ package.
|
|
|
26
26
|
|
|
27
27
|
## Template package refs
|
|
28
28
|
|
|
29
|
-
- `core.baseline`
|
|
30
|
-
- `overlay.generic-crm`
|
|
31
|
-
- `industry.partner-cloud`
|
|
29
|
+
- `core.baseline@0.1.0` (required environment baseline)
|
|
30
|
+
- `overlay.generic-crm@0.1.0`
|
|
31
|
+
- `industry.partner-cloud@0.1.0`
|
|
32
32
|
|
|
33
33
|
## Demo scenario payload
|
|
34
34
|
|
|
@@ -37,7 +37,7 @@ published registry package.
|
|
|
37
37
|
|
|
38
38
|
## Custom Pages (source DX)
|
|
39
39
|
|
|
40
|
-
Pages live in `
|
|
40
|
+
Pages live in `nexus-app/main/default/pages/` as pairs of:
|
|
41
41
|
|
|
42
42
|
- `<apiName>.page.json` — page metadata
|
|
43
43
|
- `<apiName>.page.schema.json` — page schema blob
|
|
@@ -1,18 +1,66 @@
|
|
|
1
1
|
{
|
|
2
|
-
"schemaVersion": "
|
|
2
|
+
"schemaVersion": "nexus-project/v2",
|
|
3
3
|
"projectName": "{{NAME}}",
|
|
4
4
|
"apiVersion": "1.0",
|
|
5
5
|
"sourceRoots": [
|
|
6
|
-
{
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
-
{
|
|
15
|
-
|
|
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
|
-
{
|
|
27
|
-
|
|
28
|
-
|
|
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"
|
package/dist/nexus-cli/src/templates/project/templates/drill-code-extension-page/README.md.tpl
CHANGED
|
@@ -26,9 +26,9 @@ Optional diff views:
|
|
|
26
26
|
|
|
27
27
|
The Drill deployment source of truth is:
|
|
28
28
|
|
|
29
|
-
- `
|
|
30
|
-
- `
|
|
31
|
-
- `
|
|
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
|
-
-
|
|
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, '<')
|
|
10
|
+
.replace(/>/g, '>')
|
|
11
|
+
.replace(/"/g, '"');
|
|
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": "
|
|
2
|
+
"schemaVersion": "nexus-project/v2",
|
|
3
3
|
"projectName": "{{NAME}}",
|
|
4
4
|
"apiVersion": "1.0",
|
|
5
5
|
"sourceRoots": [
|
|
6
|
-
{
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
{
|
|
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"
|
|
@@ -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, '
|
|
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, '
|
|
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
|
-
-
|
|
30
|
+
- `core.baseline@0.1.0` (required environment baseline)
|
|
30
31
|
|
|
31
32
|
## Custom Pages (source DX)
|
|
32
33
|
|
|
33
|
-
Pages live in `
|
|
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
|