@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,41 @@
|
|
|
1
|
+
# {{NAME}}
|
|
2
|
+
|
|
3
|
+
Generic executable-workforce authoring starter generated by the released NexusClaw CLI.
|
|
4
|
+
It contains no industry content, workspace identity, credential, endpoint, provider key,
|
|
5
|
+
record data, or approval-policy guess.
|
|
6
|
+
|
|
7
|
+
## Bootstrap
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
nexus init {{NAME}}
|
|
11
|
+
npm run dx:pull
|
|
12
|
+
npm run dx:diff
|
|
13
|
+
npm run dx:validate
|
|
14
|
+
npm run dx:pack
|
|
15
|
+
npm run dx:publish
|
|
16
|
+
npm run dx:install
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Generated executable sources
|
|
20
|
+
|
|
21
|
+
- `packages/generic-action/` was generated by `nexus employee code scaffold`.
|
|
22
|
+
- `packages/generic-flow/GenericFollowUp.flow.yaml` was generated by
|
|
23
|
+
`nexus employee flow scaffold`.
|
|
24
|
+
- `.nexusclaw/context/` was generated by
|
|
25
|
+
`nexus ai context export --surface all --offline`; it is authoring-only and
|
|
26
|
+
cannot authorize stage, candidate test, gate, or promote.
|
|
27
|
+
- `scripts/init-bundle.mjs` invokes `nexus employee bundle init` only after an
|
|
28
|
+
authenticated context supplies exact `tool_call` and `workforce_release`
|
|
29
|
+
policy API names. The template never infers them.
|
|
30
|
+
|
|
31
|
+
Before remote dry-run, export an authenticated `all` context, install its managed
|
|
32
|
+
instruction block for `codex`, `claude`, or `glm-5.2`, initialize the bundle with
|
|
33
|
+
catalog-selected policies, then run `nexus employee bundle deploy --dry-run`.
|
|
34
|
+
|
|
35
|
+
## Template package refs
|
|
36
|
+
|
|
37
|
+
- `core.baseline@0.1.0`
|
|
38
|
+
- `code-extension.reference@1.0.0` (`sha256:32959bcec5be439e1adaa48be4fdbbd43715455d6a98a1dc12755d33ca388adf`)
|
|
39
|
+
|
|
40
|
+
The package digest is an immutable release input; this template does not resolve
|
|
41
|
+
`latest`.
|
package/dist/nexus-cli/src/templates/project/templates/executable-workforce/nexus-project.json.tpl
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "nexus-project/v2",
|
|
3
|
+
"projectName": "{{NAME}}",
|
|
4
|
+
"apiVersion": "1.0",
|
|
5
|
+
"sourceRoots": [
|
|
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
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"localPackages": [
|
|
54
|
+
{
|
|
55
|
+
"name": "starter.generic-action",
|
|
56
|
+
"path": "packages/generic-action",
|
|
57
|
+
"packageClass": "code-extension"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"registry": {
|
|
61
|
+
"url": "https://packages.nexusclaw.local",
|
|
62
|
+
"channel": "stable",
|
|
63
|
+
"rootDirectory": "packages"
|
|
64
|
+
},
|
|
65
|
+
"compatibleCoreVersion": "{{CORE_VERSION}}",
|
|
66
|
+
"defaultOrg": "",
|
|
67
|
+
"defaultEnvironment": "dev",
|
|
68
|
+
"environments": [
|
|
69
|
+
{
|
|
70
|
+
"name": "dev",
|
|
71
|
+
"path": "env/dev.sandbox.yaml"
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"starterTemplate": "executable-workforce",
|
|
75
|
+
"packageRefs": [
|
|
76
|
+
"core.baseline@0.1.0",
|
|
77
|
+
"code-extension.reference@1.0.0"
|
|
78
|
+
],
|
|
79
|
+
"packageDirectories": [
|
|
80
|
+
{
|
|
81
|
+
"path": "nexus-app",
|
|
82
|
+
"default": true
|
|
83
|
+
}
|
|
84
|
+
],
|
|
85
|
+
"sourceRoot": "nexus-app/main/default"
|
|
86
|
+
}
|
package/dist/nexus-cli/src/templates/project/templates/executable-workforce/nexus-project.yaml.tpl
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
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: "starter.generic-action"
|
|
42
|
+
path: "packages/generic-action"
|
|
43
|
+
packageClass: "code-extension"
|
|
44
|
+
registry:
|
|
45
|
+
url: "https://packages.nexusclaw.local"
|
|
46
|
+
channel: "stable"
|
|
47
|
+
rootDirectory: "packages"
|
|
48
|
+
compatibleCoreVersion: "{{CORE_VERSION}}"
|
|
49
|
+
defaultOrg: ""
|
|
50
|
+
defaultEnvironment: "dev"
|
|
51
|
+
environments:
|
|
52
|
+
- name: "dev"
|
|
53
|
+
path: "env/dev.sandbox.yaml"
|
|
54
|
+
starterTemplate: "executable-workforce"
|
|
55
|
+
packageRefs:
|
|
56
|
+
- "core.baseline@0.1.0"
|
|
57
|
+
- "code-extension.reference@1.0.0"
|
|
58
|
+
packageDirectories:
|
|
59
|
+
- path: "nexus-app"
|
|
60
|
+
default: true
|
|
61
|
+
sourceRoot: "nexus-app/main/default"
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "{{NAME}}",
|
|
3
|
+
"private": true,
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"description": "Generic governed executable workforce starter",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"build": "tsc",
|
|
8
|
+
"dx:pull": "./scripts/pull.sh",
|
|
9
|
+
"dx:diff": "./scripts/diff-runtime.sh",
|
|
10
|
+
"dx:diff:source": "./scripts/diff-source.sh",
|
|
11
|
+
"dx:diff:composer": "./scripts/diff-composer.sh",
|
|
12
|
+
"dx:validate": "./scripts/validate.sh",
|
|
13
|
+
"dx:pack": "./scripts/pack.sh",
|
|
14
|
+
"dx:publish": "./scripts/publish.sh",
|
|
15
|
+
"dx:install": "./scripts/install.sh",
|
|
16
|
+
"dx:rollback": "./scripts/rollback.sh",
|
|
17
|
+
"workforce:bundle:init": "node ./scripts/init-bundle.mjs"
|
|
18
|
+
},
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"@nexusclaw/runtime": "latest"
|
|
21
|
+
},
|
|
22
|
+
"devDependencies": {
|
|
23
|
+
"typescript": "^5.1.0"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "nexusclaw.code-scaffold-marker/v1",
|
|
3
|
+
"generator": "nexus-cli/employee.code.scaffold#scaffold@v1",
|
|
4
|
+
"files": {
|
|
5
|
+
"package.yaml": "sha256:531053fb3fc8ff0bf418a1708eb9e05b605d46cab71e1d33299bd6a3359f9546",
|
|
6
|
+
"agent-tools.json": "sha256:395630551c90df42c9a1357d5b2933a410168719354d6d4b51ecc2f62518e5c9",
|
|
7
|
+
"code/genericLookup.ts": "sha256:6d4a17829892218e2a375dc643306769fe937ecdcd8717c0838ddf1c2b3f29c6",
|
|
8
|
+
"schemas/genericLookup.input.schema.json": "sha256:91e1556fb053be7728bab4ce7b2823ca64807c5ffa117a3e8fbba79c683a2344",
|
|
9
|
+
"schemas/genericLookup.output.schema.json": "sha256:91e1556fb053be7728bab4ce7b2823ca64807c5ffa117a3e8fbba79c683a2344",
|
|
10
|
+
"tests/genericLookup.cases.json": "sha256:c319255346765efce79c61330efbefdb01c8331e1e8584b53a7bd50bc03914ab"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "agent-code-tool-catalog/v1",
|
|
3
|
+
"packageName": "starter.generic-action",
|
|
4
|
+
"packageVersion": "0.1.0",
|
|
5
|
+
"exports": [
|
|
6
|
+
{
|
|
7
|
+
"contractVersion": "agent-code-tool/v1",
|
|
8
|
+
"actionContractVersion": "nexus-code-action/v1",
|
|
9
|
+
"exportId": "genericLookup",
|
|
10
|
+
"artifactRef": "genericLookup",
|
|
11
|
+
"toolName": "custom.starter.generic_lookup",
|
|
12
|
+
"description": "Governed code action genericLookup.",
|
|
13
|
+
"inputSchemaRef": "schemas/genericLookup.input.schema.json",
|
|
14
|
+
"outputSchemaRef": "schemas/genericLookup.output.schema.json",
|
|
15
|
+
"sideEffectMode": "read_only",
|
|
16
|
+
"declaredRiskLevel": "L0",
|
|
17
|
+
"capabilities": {
|
|
18
|
+
"records": [],
|
|
19
|
+
"connectors": [],
|
|
20
|
+
"ai": []
|
|
21
|
+
},
|
|
22
|
+
"limits": {
|
|
23
|
+
"timeoutMs": 60000,
|
|
24
|
+
"memoryMb": 128,
|
|
25
|
+
"maxQueries": 10,
|
|
26
|
+
"maxDmlStatements": 10,
|
|
27
|
+
"maxDmlRows": 50,
|
|
28
|
+
"maxCallouts": 2,
|
|
29
|
+
"maxAiCalls": 1,
|
|
30
|
+
"maxAiInputTokens": 8000,
|
|
31
|
+
"maxAiOutputTokens": 2000,
|
|
32
|
+
"maxAiCost": {
|
|
33
|
+
"amount": "0",
|
|
34
|
+
"currency": "USD"
|
|
35
|
+
},
|
|
36
|
+
"maxLogEntries": 50,
|
|
37
|
+
"maxLogBytes": 32768,
|
|
38
|
+
"maxAttempts": 1
|
|
39
|
+
},
|
|
40
|
+
"redaction": {
|
|
41
|
+
"inputJsonPointers": [],
|
|
42
|
+
"outputJsonPointers": [],
|
|
43
|
+
"logPolicy": "metadata_only"
|
|
44
|
+
},
|
|
45
|
+
"tests": [
|
|
46
|
+
{
|
|
47
|
+
"path": "tests/genericLookup.cases.json",
|
|
48
|
+
"required": true
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
agentToolCatalogPath: agent-tools.json
|
|
2
|
+
codeExtensionGovernance:
|
|
3
|
+
contractVersion: code-extension-governance/v2
|
|
4
|
+
runtimeApiVersion: runtime/v2
|
|
5
|
+
compatibleCoreVersion: '>=0.1.0'
|
|
6
|
+
dependencies: []
|
|
7
|
+
description: Governed code action package for genericLookup.
|
|
8
|
+
executableArtifacts:
|
|
9
|
+
- actionContractVersion: nexus-code-action/v1
|
|
10
|
+
apiName: genericLookup
|
|
11
|
+
entrypoint: default
|
|
12
|
+
extensionId: genericLookup
|
|
13
|
+
functionType: ACTION
|
|
14
|
+
kind: function
|
|
15
|
+
runtimeApiVersion: runtime/v2
|
|
16
|
+
sourcePath: code/genericLookup.ts
|
|
17
|
+
includedCodeKinds:
|
|
18
|
+
- function
|
|
19
|
+
includedMetadataKinds: []
|
|
20
|
+
includedSeedKinds: []
|
|
21
|
+
installOrder: 100
|
|
22
|
+
name: starter.generic-action
|
|
23
|
+
packageClass: code-extension
|
|
24
|
+
packageType: code-extension
|
|
25
|
+
releaseChannel: preview
|
|
26
|
+
schemaVersion: v1
|
|
27
|
+
version: 0.1.0
|
|
28
|
+
visibility: internal
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "code-action-cases/v1",
|
|
3
|
+
"actionExportId": "genericLookup",
|
|
4
|
+
"principalFixtures": [
|
|
5
|
+
{
|
|
6
|
+
"fixtureId": "bound",
|
|
7
|
+
"base": "bound_candidate_agent"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"cases": [
|
|
11
|
+
{
|
|
12
|
+
"caseId": "minimal",
|
|
13
|
+
"input": {},
|
|
14
|
+
"principalFixtureId": "bound",
|
|
15
|
+
"clock": "2026-01-01T00:00:00.000Z",
|
|
16
|
+
"hostFixtures": {
|
|
17
|
+
"calls": []
|
|
18
|
+
},
|
|
19
|
+
"expect": {
|
|
20
|
+
"outcome": "success",
|
|
21
|
+
"output": {},
|
|
22
|
+
"mutations": []
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|
package/dist/nexus-cli/src/templates/project/templates/executable-workforce/scripts/init-bundle.mjs
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { spawnSync } from 'node:child_process';
|
|
2
|
+
import path from 'node:path';
|
|
3
|
+
|
|
4
|
+
const [contextManifest, workforcePolicy, toolPolicy] = process.argv.slice(2);
|
|
5
|
+
if (!contextManifest || !workforcePolicy || !toolPolicy) {
|
|
6
|
+
console.error(
|
|
7
|
+
'Usage: npm run workforce:bundle:init -- <context-manifest> <workforce-release-policy-api-name> <tool-call-policy-api-name>',
|
|
8
|
+
);
|
|
9
|
+
process.exit(2);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
const result = spawnSync(
|
|
13
|
+
'nexus',
|
|
14
|
+
[
|
|
15
|
+
'employee', 'bundle', 'init', 'StarterWorkforce',
|
|
16
|
+
'--workspace', process.cwd(),
|
|
17
|
+
'--out', path.join(process.cwd(), 'bundle'),
|
|
18
|
+
'--context', path.resolve(contextManifest),
|
|
19
|
+
'--workforce-approval-policy', workforcePolicy,
|
|
20
|
+
'--tool-approval-policy', toolPolicy,
|
|
21
|
+
'--json',
|
|
22
|
+
],
|
|
23
|
+
{ stdio: 'inherit', env: process.env },
|
|
24
|
+
);
|
|
25
|
+
process.exit(result.status ?? 1);
|
|
@@ -24,9 +24,15 @@ The starter package workflow defaults to `packages/org-base`. Pass `-- --source
|
|
|
24
24
|
to `dx:pack`, `dx:publish`, `dx:install`, and `dx:rollback` when operating on a different local
|
|
25
25
|
package.
|
|
26
26
|
|
|
27
|
+
## Template package refs
|
|
28
|
+
|
|
29
|
+
- `core.baseline@0.1.0` (required environment baseline)
|
|
30
|
+
- `overlay.generic-crm@0.1.0`
|
|
31
|
+
- `industry.education@0.1.0`
|
|
32
|
+
|
|
27
33
|
## Custom Pages (source DX)
|
|
28
34
|
|
|
29
|
-
Pages live in `
|
|
35
|
+
Pages live in `nexus-app/main/default/pages/` as pairs of:
|
|
30
36
|
|
|
31
37
|
- `<apiName>.page.json` — page metadata
|
|
32
38
|
- `<apiName>.page.schema.json` — page schema blob
|
package/dist/nexus-cli/src/templates/project/templates/industry-education/nexus-project.json.tpl
CHANGED
|
@@ -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,15 +71,30 @@
|
|
|
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": "industry-education",
|
|
31
88
|
"packageRefs": [
|
|
32
89
|
"core.baseline@0.1.0",
|
|
33
90
|
"overlay.generic-crm@0.1.0",
|
|
34
91
|
"industry.education@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
|
-
|
package/dist/nexus-cli/src/templates/project/templates/industry-education/nexus-project.yaml.tpl
ADDED
|
@@ -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-education"
|
|
62
|
+
packageRefs:
|
|
63
|
+
- "core.baseline@0.1.0"
|
|
64
|
+
- "overlay.generic-crm@0.1.0"
|
|
65
|
+
- "industry.education@0.1.0"
|
|
66
|
+
packageDirectories:
|
|
67
|
+
- path: "nexus-app"
|
|
68
|
+
default: true
|
|
69
|
+
sourceRoot: "nexus-app/main/default"
|
|
@@ -24,9 +24,15 @@ The starter package workflow defaults to `packages/org-base`. Pass `-- --source
|
|
|
24
24
|
to `dx:pack`, `dx:publish`, `dx:install`, and `dx:rollback` when operating on a different local
|
|
25
25
|
package.
|
|
26
26
|
|
|
27
|
+
## Template package refs
|
|
28
|
+
|
|
29
|
+
- `core.baseline@0.1.0` (required environment baseline)
|
|
30
|
+
- `overlay.generic-crm@0.1.0`
|
|
31
|
+
- `industry.finance@0.1.0`
|
|
32
|
+
|
|
27
33
|
## Custom Pages (source DX)
|
|
28
34
|
|
|
29
|
-
Pages live in `
|
|
35
|
+
Pages live in `nexus-app/main/default/pages/` as pairs of:
|
|
30
36
|
|
|
31
37
|
- `<apiName>.page.json` — page metadata
|
|
32
38
|
- `<apiName>.page.schema.json` — page schema blob
|