@nexusclawhq/cli 0.2.3 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -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/login-web.d.ts +7 -0
- package/dist/nexus-cli/src/commands/org/login-web.js +31 -4
- package/dist/nexus-cli/src/commands/org/login-web.js.map +1 -1
- package/dist/nexus-cli/src/commands/org/login-web.test.js +15 -0
- package/dist/nexus-cli/src/commands/org/login-web.test.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,199 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.workforceOrchestrationCommand = void 0;
|
|
4
|
+
const commander_1 = require("commander");
|
|
5
|
+
const shared_1 = require("./shared");
|
|
6
|
+
const workforce_orchestration_remote_1 = require("../../services/workforce-orchestration-remote");
|
|
7
|
+
exports.workforceOrchestrationCommand = new commander_1.Command('orchestration')
|
|
8
|
+
.description('协作编排:template + plan + execution');
|
|
9
|
+
const templateCommand = exports.workforceOrchestrationCommand.command('template')
|
|
10
|
+
.description('编排模板 CRUD');
|
|
11
|
+
templateCommand.command('create')
|
|
12
|
+
.requiredOption('--target-org <alias>')
|
|
13
|
+
.requiredOption('--name <name>')
|
|
14
|
+
.option('--description <text>')
|
|
15
|
+
.option('--category <category>')
|
|
16
|
+
.option('--trigger-type <type>')
|
|
17
|
+
.option('--json')
|
|
18
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.orchestration.template.create', await (0, workforce_orchestration_remote_1.createOrchestrationTemplateRemote)({
|
|
19
|
+
targetOrg: options.targetOrg,
|
|
20
|
+
name: options.name,
|
|
21
|
+
description: options.description,
|
|
22
|
+
category: options.category,
|
|
23
|
+
triggerType: options.triggerType,
|
|
24
|
+
}), options.json));
|
|
25
|
+
templateCommand.command('update')
|
|
26
|
+
.requiredOption('--target-org <alias>')
|
|
27
|
+
.requiredOption('--id <id>')
|
|
28
|
+
.option('--name <name>')
|
|
29
|
+
.option('--description <text>')
|
|
30
|
+
.option('--category <category>')
|
|
31
|
+
.option('--trigger-type <type>')
|
|
32
|
+
.option('--json')
|
|
33
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.orchestration.template.update', await (0, workforce_orchestration_remote_1.updateOrchestrationTemplateRemote)({
|
|
34
|
+
targetOrg: options.targetOrg,
|
|
35
|
+
id: options.id,
|
|
36
|
+
name: options.name,
|
|
37
|
+
description: options.description,
|
|
38
|
+
category: options.category,
|
|
39
|
+
triggerType: options.triggerType,
|
|
40
|
+
}), options.json));
|
|
41
|
+
templateCommand.command('delete')
|
|
42
|
+
.requiredOption('--target-org <alias>')
|
|
43
|
+
.requiredOption('--id <id>')
|
|
44
|
+
.option('--json')
|
|
45
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.orchestration.template.delete', await (0, workforce_orchestration_remote_1.deleteOrchestrationTemplateRemote)({ targetOrg: options.targetOrg, id: options.id }), options.json));
|
|
46
|
+
templateCommand.command('from-template')
|
|
47
|
+
.description('从模板创建编排实例(createOrchestrationFromTemplate;返回 JSON 计划对象)')
|
|
48
|
+
.requiredOption('--target-org <alias>')
|
|
49
|
+
.requiredOption('--template-id <id>')
|
|
50
|
+
.requiredOption('--agent-mapping <json|@file>', '{stepId: agentId}')
|
|
51
|
+
.option('--name <name>')
|
|
52
|
+
.option('--json')
|
|
53
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.orchestration.template.from_template', await (0, workforce_orchestration_remote_1.createOrchestrationFromTemplateRemote)({
|
|
54
|
+
targetOrg: options.targetOrg,
|
|
55
|
+
templateId: options.templateId,
|
|
56
|
+
agentMapping: (await (0, shared_1.parseJsonOption)(options.agentMapping)),
|
|
57
|
+
name: options.name,
|
|
58
|
+
}), options.json));
|
|
59
|
+
templateCommand.command('save-as-template')
|
|
60
|
+
.description('把已有 plan 存为模板(saveOrchestrationAsTemplate)')
|
|
61
|
+
.requiredOption('--target-org <alias>')
|
|
62
|
+
.requiredOption('--plan-id <id>')
|
|
63
|
+
.requiredOption('--name <name>')
|
|
64
|
+
.option('--category <category>')
|
|
65
|
+
.option('--json')
|
|
66
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.orchestration.template.save_as_template', await (0, workforce_orchestration_remote_1.saveOrchestrationAsTemplateRemote)({
|
|
67
|
+
targetOrg: options.targetOrg,
|
|
68
|
+
planId: options.planId,
|
|
69
|
+
name: options.name,
|
|
70
|
+
category: options.category,
|
|
71
|
+
}), options.json));
|
|
72
|
+
templateCommand.command('list')
|
|
73
|
+
.requiredOption('--target-org <alias>')
|
|
74
|
+
.option('--category <category>')
|
|
75
|
+
.option('--json')
|
|
76
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.orchestration.template.list', await (0, workforce_orchestration_remote_1.listOrchestrationTemplatesRemote)({
|
|
77
|
+
targetOrg: options.targetOrg,
|
|
78
|
+
category: options.category,
|
|
79
|
+
}), options.json));
|
|
80
|
+
templateCommand.command('get')
|
|
81
|
+
.requiredOption('--target-org <alias>')
|
|
82
|
+
.requiredOption('--id <id>')
|
|
83
|
+
.option('--json')
|
|
84
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.orchestration.template.get', await (0, workforce_orchestration_remote_1.getOrchestrationTemplateRemote)({ targetOrg: options.targetOrg, id: options.id }), options.json));
|
|
85
|
+
const planCommand = exports.workforceOrchestrationCommand.command('plan')
|
|
86
|
+
.description('编排计划 CRUD');
|
|
87
|
+
planCommand.command('create')
|
|
88
|
+
.description('创建编排计划(含 steps[];steps 接 JSON/@file)')
|
|
89
|
+
.requiredOption('--target-org <alias>')
|
|
90
|
+
.requiredOption('--name <name>')
|
|
91
|
+
.requiredOption('--steps <json|@file>', '[{stepId, agentId, stepName, ...}]')
|
|
92
|
+
.option('--description <text>')
|
|
93
|
+
.option('--trigger-type <type>')
|
|
94
|
+
.option('--failure-strategy <strategy>')
|
|
95
|
+
.option('--max-duration-seconds <n>')
|
|
96
|
+
.option('--max-concurrent-instances <n>')
|
|
97
|
+
.option('--max-parallel-steps <n>')
|
|
98
|
+
.option('--json')
|
|
99
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.orchestration.plan.create', await (0, workforce_orchestration_remote_1.createOrchestrationPlanRemote)({
|
|
100
|
+
targetOrg: options.targetOrg,
|
|
101
|
+
name: options.name,
|
|
102
|
+
steps: await (0, shared_1.parseJsonOption)(options.steps),
|
|
103
|
+
description: options.description,
|
|
104
|
+
triggerType: options.triggerType,
|
|
105
|
+
failureStrategy: options.failureStrategy,
|
|
106
|
+
maxDurationSeconds: options.maxDurationSeconds ? Number(options.maxDurationSeconds) : undefined,
|
|
107
|
+
maxConcurrentInstances: options.maxConcurrentInstances ? Number(options.maxConcurrentInstances) : undefined,
|
|
108
|
+
maxParallelSteps: options.maxParallelSteps ? Number(options.maxParallelSteps) : undefined,
|
|
109
|
+
}), options.json));
|
|
110
|
+
planCommand.command('update')
|
|
111
|
+
.requiredOption('--target-org <alias>')
|
|
112
|
+
.requiredOption('--id <id>')
|
|
113
|
+
.option('--name <name>')
|
|
114
|
+
.option('--description <text>')
|
|
115
|
+
.option('--status <status>')
|
|
116
|
+
.option('--trigger-type <type>')
|
|
117
|
+
.option('--failure-strategy <strategy>')
|
|
118
|
+
.option('--json')
|
|
119
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.orchestration.plan.update', await (0, workforce_orchestration_remote_1.updateOrchestrationPlanRemote)({
|
|
120
|
+
targetOrg: options.targetOrg,
|
|
121
|
+
id: options.id,
|
|
122
|
+
name: options.name,
|
|
123
|
+
description: options.description,
|
|
124
|
+
status: options.status,
|
|
125
|
+
triggerType: options.triggerType,
|
|
126
|
+
failureStrategy: options.failureStrategy,
|
|
127
|
+
}), options.json));
|
|
128
|
+
planCommand.command('delete')
|
|
129
|
+
.requiredOption('--target-org <alias>')
|
|
130
|
+
.requiredOption('--id <id>')
|
|
131
|
+
.option('--json')
|
|
132
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.orchestration.plan.delete', await (0, workforce_orchestration_remote_1.deleteOrchestrationPlanRemote)({ targetOrg: options.targetOrg, id: options.id }), options.json));
|
|
133
|
+
planCommand.command('list')
|
|
134
|
+
.requiredOption('--target-org <alias>')
|
|
135
|
+
.option('--page <n>')
|
|
136
|
+
.option('--page-size <n>')
|
|
137
|
+
.option('--status <status>')
|
|
138
|
+
.option('--trigger-type <type>')
|
|
139
|
+
.option('--json')
|
|
140
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.orchestration.plan.list', await (0, workforce_orchestration_remote_1.listOrchestrationPlansRemote)({
|
|
141
|
+
targetOrg: options.targetOrg,
|
|
142
|
+
page: options.page ? Number(options.page) : undefined,
|
|
143
|
+
pageSize: options.pageSize ? Number(options.pageSize) : undefined,
|
|
144
|
+
status: options.status,
|
|
145
|
+
triggerType: options.triggerType,
|
|
146
|
+
}), options.json));
|
|
147
|
+
planCommand.command('get')
|
|
148
|
+
.requiredOption('--target-org <alias>')
|
|
149
|
+
.requiredOption('--id <id>')
|
|
150
|
+
.option('--json')
|
|
151
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.orchestration.plan.get', await (0, workforce_orchestration_remote_1.getOrchestrationPlanRemote)({ targetOrg: options.targetOrg, id: options.id }), options.json));
|
|
152
|
+
const execCommand = exports.workforceOrchestrationCommand.command('execution')
|
|
153
|
+
.description('编排执行控制(execute / cancel / pause / resume / list / get)');
|
|
154
|
+
execCommand.command('execute')
|
|
155
|
+
.description('执行编排计划(executeOrchestration;返回 execution id 字符串)')
|
|
156
|
+
.requiredOption('--target-org <alias>')
|
|
157
|
+
.requiredOption('--plan-id <id>')
|
|
158
|
+
.option('--initial-context <json|@file>')
|
|
159
|
+
.option('--json')
|
|
160
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.orchestration.execution.execute', await (0, workforce_orchestration_remote_1.executeOrchestrationRemote)({
|
|
161
|
+
targetOrg: options.targetOrg,
|
|
162
|
+
planId: options.planId,
|
|
163
|
+
initialContext: await (0, shared_1.parseJsonOption)(options.initialContext),
|
|
164
|
+
}), options.json));
|
|
165
|
+
execCommand.command('cancel')
|
|
166
|
+
.requiredOption('--target-org <alias>')
|
|
167
|
+
.requiredOption('--execution-id <id>')
|
|
168
|
+
.option('--json')
|
|
169
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.orchestration.execution.cancel', await (0, workforce_orchestration_remote_1.cancelOrchestrationRemote)({ targetOrg: options.targetOrg, executionId: options.executionId }), options.json));
|
|
170
|
+
execCommand.command('pause')
|
|
171
|
+
.requiredOption('--target-org <alias>')
|
|
172
|
+
.requiredOption('--execution-id <id>')
|
|
173
|
+
.option('--json')
|
|
174
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.orchestration.execution.pause', await (0, workforce_orchestration_remote_1.pauseOrchestrationRemote)({ targetOrg: options.targetOrg, executionId: options.executionId }), options.json));
|
|
175
|
+
execCommand.command('resume')
|
|
176
|
+
.requiredOption('--target-org <alias>')
|
|
177
|
+
.requiredOption('--execution-id <id>')
|
|
178
|
+
.option('--json')
|
|
179
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.orchestration.execution.resume', await (0, workforce_orchestration_remote_1.resumeOrchestrationRemote)({ targetOrg: options.targetOrg, executionId: options.executionId }), options.json));
|
|
180
|
+
execCommand.command('list')
|
|
181
|
+
.requiredOption('--target-org <alias>')
|
|
182
|
+
.option('--page <n>')
|
|
183
|
+
.option('--page-size <n>')
|
|
184
|
+
.option('--plan-id <id>')
|
|
185
|
+
.option('--status <status>')
|
|
186
|
+
.option('--json')
|
|
187
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.orchestration.execution.list', await (0, workforce_orchestration_remote_1.listOrchestrationExecutionsRemote)({
|
|
188
|
+
targetOrg: options.targetOrg,
|
|
189
|
+
page: options.page ? Number(options.page) : undefined,
|
|
190
|
+
pageSize: options.pageSize ? Number(options.pageSize) : undefined,
|
|
191
|
+
planId: options.planId,
|
|
192
|
+
status: options.status,
|
|
193
|
+
}), options.json));
|
|
194
|
+
execCommand.command('get')
|
|
195
|
+
.requiredOption('--target-org <alias>')
|
|
196
|
+
.requiredOption('--id <id>')
|
|
197
|
+
.option('--json')
|
|
198
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.orchestration.execution.get', await (0, workforce_orchestration_remote_1.getOrchestrationExecutionRemote)({ targetOrg: options.targetOrg, id: options.id }), options.json));
|
|
199
|
+
//# sourceMappingURL=orchestration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"orchestration.js","sourceRoot":"","sources":["../../../../../src/commands/workforce/orchestration.ts"],"names":[],"mappings":";;;AAAA,yCAAoC;AAEpC,qCAAgE;AAChE,kGAmBuD;AAU1C,QAAA,6BAA6B,GAAG,IAAI,mBAAO,CAAC,eAAe,CAAC;KACtE,WAAW,CAAC,kCAAkC,CAAC,CAAC;AAInD,MAAM,eAAe,GAAG,qCAA6B,CAAC,OAAO,CAAC,UAAU,CAAC;KACtE,WAAW,CAAC,WAAW,CAAC,CAAC;AAE5B,eAAe,CAAC,OAAO,CAAC,QAAQ,CAAC;KAC9B,cAAc,CAAC,sBAAsB,CAAC;KACtC,c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,EAAE,CAAC,EACvF,OAAO,CAAC,IAAI,CACb,CAAC,CAAC"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.workforcePermissionCommand = void 0;
|
|
4
|
+
const commander_1 = require("commander");
|
|
5
|
+
const shared_1 = require("./shared");
|
|
6
|
+
const workforce_permission_remote_1 = require("../../services/workforce-permission-remote");
|
|
7
|
+
exports.workforcePermissionCommand = new commander_1.Command('permission')
|
|
8
|
+
.description('agent 权限扩展 + 字段掩码规则');
|
|
9
|
+
const extensionCommand = exports.workforcePermissionCommand.command('extension')
|
|
10
|
+
.description('agent 权限扩展 CRUD(createAgentPermissionExtension ...)');
|
|
11
|
+
extensionCommand.command('create')
|
|
12
|
+
.requiredOption('--target-org <alias>')
|
|
13
|
+
.requiredOption('--agent-id <id>')
|
|
14
|
+
.option('--data-scope-type <type>', 'all|org_subtree|own|custom(默认 own)')
|
|
15
|
+
.option('--data-scope-org-node-id <id>')
|
|
16
|
+
.option('--data-scope-custom-filter <json|@file>')
|
|
17
|
+
.option('--max-queries-per-minute <n>')
|
|
18
|
+
.option('--max-writes-per-minute <n>')
|
|
19
|
+
.option('--max-batch-size <n>')
|
|
20
|
+
.option('--allowed-tools <tools...>')
|
|
21
|
+
.option('--blocked-tools <tools...>')
|
|
22
|
+
.option('--active-timezone <tz>')
|
|
23
|
+
.option('--active-windows <json|@file>')
|
|
24
|
+
.option('--json')
|
|
25
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.permission.extension.create', await (0, workforce_permission_remote_1.createPermissionExtensionRemote)({
|
|
26
|
+
targetOrg: options.targetOrg,
|
|
27
|
+
agentId: options.agentId,
|
|
28
|
+
dataScopeType: options.dataScopeType,
|
|
29
|
+
dataScopeOrgNodeId: options.dataScopeOrgNodeId,
|
|
30
|
+
dataScopeCustomFilter: await (0, shared_1.parseJsonOption)(options.dataScopeCustomFilter),
|
|
31
|
+
maxQueriesPerMinute: options.maxQueriesPerMinute ? Number(options.maxQueriesPerMinute) : undefined,
|
|
32
|
+
maxWritesPerMinute: options.maxWritesPerMinute ? Number(options.maxWritesPerMinute) : undefined,
|
|
33
|
+
maxBatchSize: options.maxBatchSize ? Number(options.maxBatchSize) : undefined,
|
|
34
|
+
allowedTools: options.allowedTools,
|
|
35
|
+
blockedTools: options.blockedTools,
|
|
36
|
+
activeTimezone: options.activeTimezone,
|
|
37
|
+
activeWindows: await (0, shared_1.parseJsonOption)(options.activeWindows),
|
|
38
|
+
}), options.json));
|
|
39
|
+
extensionCommand.command('update')
|
|
40
|
+
.requiredOption('--target-org <alias>')
|
|
41
|
+
.requiredOption('--agent-id <id>')
|
|
42
|
+
.option('--data-scope-type <type>')
|
|
43
|
+
.option('--data-scope-org-node-id <id>')
|
|
44
|
+
.option('--data-scope-custom-filter <json|@file>')
|
|
45
|
+
.option('--max-queries-per-minute <n>')
|
|
46
|
+
.option('--max-writes-per-minute <n>')
|
|
47
|
+
.option('--max-batch-size <n>')
|
|
48
|
+
.option('--allowed-tools <tools...>')
|
|
49
|
+
.option('--blocked-tools <tools...>')
|
|
50
|
+
.option('--active-timezone <tz>')
|
|
51
|
+
.option('--active-windows <json|@file>')
|
|
52
|
+
.option('--json')
|
|
53
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.permission.extension.update', await (0, workforce_permission_remote_1.updatePermissionExtensionRemote)({
|
|
54
|
+
targetOrg: options.targetOrg,
|
|
55
|
+
agentId: options.agentId,
|
|
56
|
+
dataScopeType: options.dataScopeType,
|
|
57
|
+
dataScopeOrgNodeId: options.dataScopeOrgNodeId,
|
|
58
|
+
dataScopeCustomFilter: await (0, shared_1.parseJsonOption)(options.dataScopeCustomFilter),
|
|
59
|
+
maxQueriesPerMinute: options.maxQueriesPerMinute ? Number(options.maxQueriesPerMinute) : undefined,
|
|
60
|
+
maxWritesPerMinute: options.maxWritesPerMinute ? Number(options.maxWritesPerMinute) : undefined,
|
|
61
|
+
maxBatchSize: options.maxBatchSize ? Number(options.maxBatchSize) : undefined,
|
|
62
|
+
allowedTools: options.allowedTools,
|
|
63
|
+
blockedTools: options.blockedTools,
|
|
64
|
+
activeTimezone: options.activeTimezone,
|
|
65
|
+
activeWindows: await (0, shared_1.parseJsonOption)(options.activeWindows),
|
|
66
|
+
}), options.json));
|
|
67
|
+
extensionCommand.command('delete')
|
|
68
|
+
.requiredOption('--target-org <alias>')
|
|
69
|
+
.requiredOption('--agent-id <id>')
|
|
70
|
+
.option('--json')
|
|
71
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.permission.extension.delete', await (0, workforce_permission_remote_1.deletePermissionExtensionRemote)({
|
|
72
|
+
targetOrg: options.targetOrg,
|
|
73
|
+
agentId: options.agentId,
|
|
74
|
+
}), options.json));
|
|
75
|
+
const fieldMaskCommand = exports.workforcePermissionCommand.command('field-mask')
|
|
76
|
+
.description('字段掩码规则 CRUD(createFieldMaskRule ...)');
|
|
77
|
+
fieldMaskCommand.command('create')
|
|
78
|
+
.requiredOption('--target-org <alias>')
|
|
79
|
+
.requiredOption('--extension-id <id>', 'agentPermissionExtensionId')
|
|
80
|
+
.requiredOption('--object-api-name <apiName>')
|
|
81
|
+
.requiredOption('--field-api-name <apiName>')
|
|
82
|
+
.requiredOption('--mask-type <type>')
|
|
83
|
+
.option('--mask-config <json|@file>')
|
|
84
|
+
.option('--json')
|
|
85
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.permission.field_mask.create', await (0, workforce_permission_remote_1.createFieldMaskRuleRemote)({
|
|
86
|
+
targetOrg: options.targetOrg,
|
|
87
|
+
agentPermissionExtensionId: options.extensionId,
|
|
88
|
+
objectApiName: options.objectApiName,
|
|
89
|
+
fieldApiName: options.fieldApiName,
|
|
90
|
+
maskType: options.maskType,
|
|
91
|
+
maskConfig: await (0, shared_1.parseJsonOption)(options.maskConfig),
|
|
92
|
+
}), options.json));
|
|
93
|
+
fieldMaskCommand.command('update')
|
|
94
|
+
.requiredOption('--target-org <alias>')
|
|
95
|
+
.requiredOption('--id <id>')
|
|
96
|
+
.option('--mask-type <type>')
|
|
97
|
+
.option('--mask-config <json|@file>')
|
|
98
|
+
.option('--json')
|
|
99
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.permission.field_mask.update', await (0, workforce_permission_remote_1.updateFieldMaskRuleRemote)({
|
|
100
|
+
targetOrg: options.targetOrg,
|
|
101
|
+
id: options.id,
|
|
102
|
+
maskType: options.maskType,
|
|
103
|
+
maskConfig: options.maskConfig ? await (0, shared_1.parseJsonOption)(options.maskConfig) : undefined,
|
|
104
|
+
}), options.json));
|
|
105
|
+
fieldMaskCommand.command('delete')
|
|
106
|
+
.requiredOption('--target-org <alias>')
|
|
107
|
+
.requiredOption('--id <id>')
|
|
108
|
+
.option('--json')
|
|
109
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.permission.field_mask.delete', await (0, workforce_permission_remote_1.deleteFieldMaskRuleRemote)({
|
|
110
|
+
targetOrg: options.targetOrg,
|
|
111
|
+
id: options.id,
|
|
112
|
+
}), options.json));
|
|
113
|
+
//# sourceMappingURL=permission.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"permission.js","sourceRoot":"","sources":["../../../../../src/commands/workforce/permission.ts"],"names":[],"mappings":";;;AAAA,yCAAoC;AAEpC,qCAAgE;AAChE,4FAOoD;AAavC,QAAA,0BAA0B,GAAG,IAAI,mBAAO,CAAC,YAAY,CAAC;KAChE,WAAW,CAAC,qBAAqB,CAAC,CAAC;AAEtC,MAAM,gBAAgB,GAAG,kCAA0B,CAAC,OAAO,CAAC,WAAW,CAAC;KACrE,WAAW,CAAC,qDAAqD,CAAC,CAAC;AAEtE,gBAAgB,CAAC,OAAO,CAAC,QAAQ,CAAC;KAC/B,cAAc,CAAC,sBAAsB,CAAC;KACtC,cAAc,CAAC,iBAAiB,CAAC;KACjC,MAAM,CAAC,0BAA0B,E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|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.workforcePromptCommand = void 0;
|
|
4
|
+
const commander_1 = require("commander");
|
|
5
|
+
const shared_1 = require("./shared");
|
|
6
|
+
const workforce_config_remote_1 = require("../../services/workforce-config-remote");
|
|
7
|
+
exports.workforcePromptCommand = new commander_1.Command('prompt')
|
|
8
|
+
.description('指令策略 + 指令模板(strategy / template)');
|
|
9
|
+
const strategyCommand = exports.workforcePromptCommand.command('strategy')
|
|
10
|
+
.description('指令策略 CRUD(createPromptStrategy ...)');
|
|
11
|
+
strategyCommand.command('create')
|
|
12
|
+
.requiredOption('--target-org <alias>')
|
|
13
|
+
.requiredOption('--name <name>')
|
|
14
|
+
.option('--description <text>')
|
|
15
|
+
.option('--industry <key>')
|
|
16
|
+
.option('--template-overrides <json|@file>')
|
|
17
|
+
.option('--json')
|
|
18
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.prompt.strategy.create', await (0, workforce_config_remote_1.createPromptStrategyRemote)({
|
|
19
|
+
targetOrg: options.targetOrg,
|
|
20
|
+
name: options.name,
|
|
21
|
+
description: options.description,
|
|
22
|
+
industry: options.industry,
|
|
23
|
+
templateOverrides: await (0, shared_1.parseJsonOption)(options.templateOverrides),
|
|
24
|
+
}), options.json));
|
|
25
|
+
strategyCommand.command('update')
|
|
26
|
+
.requiredOption('--target-org <alias>')
|
|
27
|
+
.requiredOption('--id <id>')
|
|
28
|
+
.option('--name <name>')
|
|
29
|
+
.option('--description <text>')
|
|
30
|
+
.option('--industry <key>')
|
|
31
|
+
.option('--template-overrides <json|@file>')
|
|
32
|
+
.option('--json')
|
|
33
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.prompt.strategy.update', await (0, workforce_config_remote_1.updatePromptStrategyRemote)({
|
|
34
|
+
targetOrg: options.targetOrg,
|
|
35
|
+
id: options.id,
|
|
36
|
+
name: options.name,
|
|
37
|
+
description: options.description,
|
|
38
|
+
industry: options.industry,
|
|
39
|
+
templateOverrides: await (0, shared_1.parseJsonOption)(options.templateOverrides),
|
|
40
|
+
}), options.json));
|
|
41
|
+
strategyCommand.command('activate')
|
|
42
|
+
.requiredOption('--target-org <alias>')
|
|
43
|
+
.requiredOption('--id <id>')
|
|
44
|
+
.option('--json')
|
|
45
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.prompt.strategy.activate', await (0, workforce_config_remote_1.activatePromptStrategyRemote)({ targetOrg: options.targetOrg, id: options.id }), options.json));
|
|
46
|
+
strategyCommand.command('deactivate')
|
|
47
|
+
.requiredOption('--target-org <alias>')
|
|
48
|
+
.requiredOption('--id <id>')
|
|
49
|
+
.option('--json')
|
|
50
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.prompt.strategy.deactivate', await (0, workforce_config_remote_1.deactivatePromptStrategyRemote)({ targetOrg: options.targetOrg, id: options.id }), options.json));
|
|
51
|
+
strategyCommand.command('delete')
|
|
52
|
+
.requiredOption('--target-org <alias>')
|
|
53
|
+
.requiredOption('--id <id>')
|
|
54
|
+
.option('--json')
|
|
55
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.prompt.strategy.delete', await (0, workforce_config_remote_1.deletePromptStrategyRemote)({ targetOrg: options.targetOrg, id: options.id }), options.json));
|
|
56
|
+
const templateCommand = exports.workforcePromptCommand.command('template')
|
|
57
|
+
.description('指令模板 CRUD + AI 草稿/试跑');
|
|
58
|
+
templateCommand.command('create')
|
|
59
|
+
.requiredOption('--target-org <alias>')
|
|
60
|
+
.requiredOption('--scene <scene>')
|
|
61
|
+
.requiredOption('--name <name>')
|
|
62
|
+
.requiredOption('--template <text|@file>')
|
|
63
|
+
.option('--variables <json|@file>')
|
|
64
|
+
.option('--model-id <id>')
|
|
65
|
+
.option('--model-provider <provider>')
|
|
66
|
+
.option('--json')
|
|
67
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.prompt.template.create', await (0, workforce_config_remote_1.createPromptTemplateRemote)({
|
|
68
|
+
targetOrg: options.targetOrg,
|
|
69
|
+
scene: options.scene,
|
|
70
|
+
name: options.name,
|
|
71
|
+
template: await (0, shared_1.resolveContentOption)(options.template),
|
|
72
|
+
variables: await (0, shared_1.parseJsonOption)(options.variables),
|
|
73
|
+
modelId: options.modelId,
|
|
74
|
+
modelProvider: options.modelProvider,
|
|
75
|
+
}), options.json));
|
|
76
|
+
templateCommand.command('update')
|
|
77
|
+
.requiredOption('--target-org <alias>')
|
|
78
|
+
.requiredOption('--id <id>')
|
|
79
|
+
.option('--name <name>')
|
|
80
|
+
.option('--template <text|@file>')
|
|
81
|
+
.option('--variables <json|@file>')
|
|
82
|
+
.option('--model-id <id>')
|
|
83
|
+
.option('--model-provider <provider>')
|
|
84
|
+
.option('--json')
|
|
85
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.prompt.template.update', await (0, workforce_config_remote_1.updatePromptTemplateRemote)({
|
|
86
|
+
targetOrg: options.targetOrg,
|
|
87
|
+
id: options.id,
|
|
88
|
+
name: options.name,
|
|
89
|
+
template: options.template ? await (0, shared_1.resolveContentOption)(options.template) : undefined,
|
|
90
|
+
variables: await (0, shared_1.parseJsonOption)(options.variables),
|
|
91
|
+
modelId: options.modelId,
|
|
92
|
+
modelProvider: options.modelProvider,
|
|
93
|
+
}), options.json));
|
|
94
|
+
templateCommand.command('rollback')
|
|
95
|
+
.requiredOption('--target-org <alias>')
|
|
96
|
+
.requiredOption('--id <id>')
|
|
97
|
+
.requiredOption('--version-number <n>')
|
|
98
|
+
.option('--json')
|
|
99
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.prompt.template.rollback', await (0, workforce_config_remote_1.rollbackPromptTemplateRemote)({
|
|
100
|
+
targetOrg: options.targetOrg,
|
|
101
|
+
id: options.id,
|
|
102
|
+
versionNumber: Number(options.versionNumber),
|
|
103
|
+
}), options.json));
|
|
104
|
+
templateCommand.command('delete')
|
|
105
|
+
.requiredOption('--target-org <alias>')
|
|
106
|
+
.requiredOption('--id <id>')
|
|
107
|
+
.option('--json')
|
|
108
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.prompt.template.delete', await (0, workforce_config_remote_1.deletePromptTemplateRemote)({ targetOrg: options.targetOrg, id: options.id }), options.json));
|
|
109
|
+
templateCommand.command('draft')
|
|
110
|
+
.description('AI 草稿生成(aiDraftPromptTemplate,根据 intention 生成模板)')
|
|
111
|
+
.requiredOption('--target-org <alias>')
|
|
112
|
+
.requiredOption('--intention <text>')
|
|
113
|
+
.option('--model-id <id>')
|
|
114
|
+
.option('--model-provider <provider>')
|
|
115
|
+
.option('--json')
|
|
116
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.prompt.template.draft', await (0, workforce_config_remote_1.draftPromptTemplateRemote)({
|
|
117
|
+
targetOrg: options.targetOrg,
|
|
118
|
+
intention: options.intention,
|
|
119
|
+
modelId: options.modelId,
|
|
120
|
+
modelProvider: options.modelProvider,
|
|
121
|
+
}), options.json));
|
|
122
|
+
templateCommand.command('test')
|
|
123
|
+
.description('试跑模板(aiTestPrompt,返回 output/tokens/latency)')
|
|
124
|
+
.requiredOption('--target-org <alias>')
|
|
125
|
+
.requiredOption('--prompt <text|@file>')
|
|
126
|
+
.option('--temperature <n>')
|
|
127
|
+
.option('--model-id <id>')
|
|
128
|
+
.option('--model-provider <provider>')
|
|
129
|
+
.option('--json')
|
|
130
|
+
.action(async (options) => (0, shared_1.emitWorkforceResult)('workforce.prompt.template.test', await (0, workforce_config_remote_1.testPromptRemote)({
|
|
131
|
+
targetOrg: options.targetOrg,
|
|
132
|
+
prompt: await (0, shared_1.resolveContentOption)(options.prompt),
|
|
133
|
+
temperature: options.temperature ? Number(options.temperature) : undefined,
|
|
134
|
+
modelId: options.modelId,
|
|
135
|
+
modelProvider: options.modelProvider,
|
|
136
|
+
}), options.json));
|
|
137
|
+
//# sourceMappingURL=prompt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pr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