plugin-agent-orchestrator 1.2.0 → 1.2.1
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/LICENSE +201 -0
- package/dist/client/{117.2e4cb0477da3db1f.js → 117.6c69b6a87751dd18.js} +1 -1
- package/dist/client/{253.93deb9e0192e76a5.js → 253.52f62e1bc0e9520a.js} +1 -1
- package/dist/client/{404.498d2d9516dd1dce.js → 404.86593f98c9768ed5.js} +1 -1
- package/dist/client/{627.fdd60bcc0f3a9cf6.js → 453.fa2d169576262213.js} +1 -1
- package/dist/client/{53.774ff07505d521fa.js → 53.567db3ae078650c6.js} +1 -1
- package/dist/client/{619.e342b0fa467d39ca.js → 619.01713281e5e951d3.js} +1 -1
- package/dist/client/652.69da1598312b3a3f.js +10 -0
- package/dist/client/773.648965568ff476f9.js +10 -0
- package/dist/client/{981.e0546ffc34afedcd.js → 981.37e7aeecdb1ef6fa.js} +1 -1
- package/dist/client/{993.5d04b510835ab0d2.js → 993.ac89f3852990918d.js} +1 -1
- package/dist/client/index.js +1 -1
- package/dist/client-v2/{117.ccf43ae8631f7d74.js → 117.c982d79ff68738f5.js} +1 -1
- package/dist/client-v2/{214.cdf76752053a8990.js → 214.94c4257bf2838577.js} +1 -1
- package/dist/client-v2/{253.1198df22f5baf304.js → 253.8e19956d2a44dfb8.js} +1 -1
- package/dist/client-v2/{264.78887ff88f969467.js → 264.80e8e358c8c6c2e5.js} +1 -1
- package/dist/client-v2/{404.9ba964c28a151c81.js → 404.ab032b79c95dab6f.js} +1 -1
- package/dist/client-v2/{41.b28cf7a675a603d1.js → 41.cd5610fcf7446127.js} +1 -1
- package/dist/client-v2/{627.e16f4a0dd596c3e6.js → 453.42c6d70628d56cc2.js} +1 -1
- package/dist/client-v2/{53.282081f97e4308c6.js → 53.37c08089a648f89a.js} +1 -1
- package/dist/client-v2/{619.8c03913873785fb6.js → 619.6e9618550101e819.js} +1 -1
- package/dist/client-v2/652.eeba4e0c38367321.js +10 -0
- package/dist/client-v2/{70.9166ed70906d041f.js → 70.332698e53eb59677.js} +1 -1
- package/dist/client-v2/773.4de2ba5acb07318c.js +10 -0
- package/dist/client-v2/981.76060f466e6f7c11.js +10 -0
- package/dist/client-v2/{993.ca5b28f1e2b4c1ef.js → 993.f8cdb5172566ce75.js} +1 -1
- package/dist/client-v2/index.js +1 -1
- package/dist/externalVersion.js +4 -1
- package/dist/locale/en-US.json +80 -1
- package/dist/locale/vi-VN.json +5 -1
- package/dist/locale/zh-CN.json +80 -1
- package/dist/node_modules/acorn/LICENSE +21 -0
- package/dist/node_modules/acorn/bin/acorn +4 -0
- package/dist/node_modules/acorn/dist/acorn.d.mts +857 -0
- package/dist/node_modules/acorn/dist/acorn.d.ts +857 -0
- package/dist/node_modules/acorn/dist/acorn.js +1 -0
- package/dist/node_modules/acorn/dist/bin.js +90 -0
- package/dist/node_modules/acorn/package.json +1 -0
- package/dist/node_modules/acorn-walk/LICENSE +21 -0
- package/dist/node_modules/acorn-walk/dist/walk.d.mts +177 -0
- package/dist/node_modules/acorn-walk/dist/walk.d.ts +177 -0
- package/dist/node_modules/acorn-walk/dist/walk.js +1 -0
- package/dist/node_modules/acorn-walk/node_modules/.bin/acorn +15 -0
- package/dist/node_modules/acorn-walk/node_modules/.bin/acorn.cmd +7 -0
- package/dist/node_modules/acorn-walk/node_modules/acorn/bin/acorn +4 -0
- package/dist/node_modules/acorn-walk/node_modules/acorn/dist/acorn.d.mts +866 -0
- package/dist/node_modules/acorn-walk/node_modules/acorn/dist/acorn.d.ts +866 -0
- package/dist/node_modules/acorn-walk/node_modules/acorn/dist/acorn.js +6174 -0
- package/dist/node_modules/acorn-walk/node_modules/acorn/dist/bin.js +90 -0
- package/dist/node_modules/acorn-walk/node_modules/acorn/package.json +50 -0
- package/dist/node_modules/acorn-walk/package.json +1 -0
- package/dist/node_modules/adm-zip/package.json +1 -1
- package/dist/node_modules/ajv/package.json +1 -1
- package/dist/node_modules/zod/package.json +1 -1
- package/dist/server/collections/agent-auto-approval-checkpoints.js +47 -0
- package/dist/server/collections/agent-execution-spans.js +3 -3
- package/dist/server/collections/agent-hierarchy-invocations.js +59 -0
- package/dist/server/collections/agent-routing-graph-locks.js +40 -0
- package/dist/server/collections/agent-session-auto-approvals.js +45 -0
- package/dist/server/collections/orchestrator-config.js +17 -0
- package/dist/server/migrations/20261119000000-widen-native-employee-identifiers.js +59 -0
- package/dist/server/plugin.js +55 -0
- package/dist/server/resources/agent-auto-approval.js +80 -0
- package/dist/server/resources/hierarchical-routing.js +60 -0
- package/dist/server/services/AutoApprovalCheckpoint.js +133 -0
- package/dist/server/services/CodeValidator.js +8 -4
- package/dist/server/services/GovernanceAdmission.js +60 -0
- package/dist/server/services/HarnessCompiler.js +3 -0
- package/dist/server/services/HarnessSchema.js +13 -1
- package/dist/server/services/HierarchicalAgentRuntime.js +925 -0
- package/dist/server/services/HierarchyEnrollmentGuard.js +216 -0
- package/dist/server/services/HierarchyInvocationJournal.js +157 -0
- package/dist/server/services/HierarchyRequestCancellation.js +150 -0
- package/dist/server/services/LoopRunRepository.js +1 -1
- package/dist/server/services/LoopRunStateMachine.js +2 -2
- package/dist/server/services/LoopWorkerService.js +7 -7
- package/dist/server/services/PluginAiRuntimeAdapter.js +107 -9
- package/dist/server/services/RoutingBindingRepository.js +156 -0
- package/dist/server/services/RoutingBindingValidation.js +161 -0
- package/dist/server/services/SandboxRunner.js +19 -0
- package/dist/server/services/SessionAutoApproval.js +173 -0
- package/dist/server/services/VerificationService.js +2 -2
- package/dist/server/skill-hub/plugin.js +17 -0
- package/dist/server/skill-hub/services/RegistrySkillInstallationService.js +2 -2
- package/dist/server/skill-hub/services/registry-node-package.js +191 -0
- package/dist/server/skill-hub/tasks/SkillExecutionTask.js +21 -6
- package/dist/server/tools/skill-execute.js +1 -0
- package/dist/server/utils/ensure-indexes.js +1 -0
- package/package.json +5 -2
- package/src/client/SkillPages.tsx +1 -8
- package/src/client/__tests__/embedded-settings.test.tsx +1 -8
- package/src/client/plugin.tsx +3 -8
- package/src/client/skill-hub/tools/InteractionSchemasProvider.tsx +21 -6
- package/src/client/skill-hub/tools/SkillHubCard.tsx +22 -16
- package/src/client/skill-hub/tools/__tests__/skill-hub-card.test.tsx +255 -0
- package/src/client/skill-hub/tools/registerSkillLoopCards.ts +12 -3
- package/src/client-v2/__tests__/embedded-settings.test.tsx +20 -11
- package/src/client-v2/__tests__/hierarchical-routing-settings.test.tsx +350 -0
- package/src/client-v2/auto-approval/AutoApprovalBridge.tsx +513 -0
- package/src/client-v2/auto-approval/AutoApprovalProvider.tsx +399 -0
- package/src/client-v2/auto-approval/__tests__/session-auto-approval.test.tsx +1676 -0
- package/src/client-v2/components/AgentBindingsTab.tsx +275 -3
- package/src/client-v2/components/AgentRunsTab.tsx +1 -8
- package/src/client-v2/components/EmployeeGovernanceTab.tsx +1 -8
- package/src/client-v2/components/HarnessProfilesTab.tsx +4 -8
- package/src/client-v2/components/HarnessSettingsForm.tsx +221 -0
- package/src/client-v2/components/UsageGovernanceTab.tsx +1 -8
- package/src/client-v2/pages/AgentBindingsPage.tsx +1 -8
- package/src/client-v2/pages/ApprovalsPage.tsx +1 -8
- package/src/client-v2/pages/EmployeeGovernancePage.tsx +1 -8
- package/src/client-v2/pages/ExecutionHistoryPage.tsx +1 -8
- package/src/client-v2/pages/HarnessProfilesPage.tsx +1 -8
- package/src/client-v2/pages/KnowledgeAccessPage.tsx +1 -8
- package/src/client-v2/pages/LoopSettingsPage.tsx +1 -8
- package/src/client-v2/pages/MemoryInspectorPage.tsx +1 -8
- package/src/client-v2/pages/RetrievalTracePage.tsx +1 -8
- package/src/client-v2/pages/RulesPage.tsx +1 -8
- package/src/client-v2/pages/SkillDefinitionsPage.tsx +1 -8
- package/src/client-v2/pages/SkillMetricsPage.tsx +1 -8
- package/src/client-v2/pages/TracingPage.tsx +1 -8
- package/src/client-v2/pages/UsageGovernancePage.tsx +1 -8
- package/src/client-v2/plugin.tsx +3 -8
- package/src/client-v2/skill-hub/tools/__tests__/interactions.test.ts +17 -1
- package/src/client-v2/skill-hub/tools/interactions.ts +12 -3
- package/src/locale/en-US.json +80 -1
- package/src/locale/vi-VN.json +5 -1
- package/src/locale/zh-CN.json +80 -1
- package/src/server/__tests__/agent-governance.integration.test.ts +1 -8
- package/src/server/__tests__/agent-monitor-acl.integration.test.ts +1 -8
- package/src/server/__tests__/agent-usage-report.integration.test.ts +1 -8
- package/src/server/__tests__/auto-approval-checkpoint.integration.test.ts +295 -0
- package/src/server/__tests__/harness-capabilities.test.ts +1 -8
- package/src/server/__tests__/harness-compiler.test.ts +64 -0
- package/src/server/__tests__/harness-tool-plan.test.ts +1 -8
- package/src/server/__tests__/hierarchical-routing.integration.test.ts +2318 -0
- package/src/server/__tests__/hierarchy-invocation-journal.integration.test.ts +119 -0
- package/src/server/__tests__/loop-approval-decision.test.ts +59 -12
- package/src/server/__tests__/loop-budget-service.test.ts +1 -8
- package/src/server/__tests__/loop-run-repository.test.ts +1 -8
- package/src/server/__tests__/loop-trigger-service.test.ts +1 -8
- package/src/server/__tests__/loop-worker-claim.test.ts +46 -9
- package/src/server/__tests__/loop-worker-execution.test.ts +1 -8
- package/src/server/__tests__/native-agent-monitor-sync.test.ts +1 -8
- package/src/server/__tests__/native-hierarchy-probe.integration.test.ts +527 -0
- package/src/server/__tests__/native-sub-agent-observer.test.ts +1 -8
- package/src/server/__tests__/native-usage-attribution.integration.test.ts +1 -8
- package/src/server/__tests__/plugin-ai-runtime-adapter.test.ts +403 -0
- package/src/server/__tests__/registry-node-package.test.ts +299 -0
- package/src/server/__tests__/routing-binding-graph.integration.test.ts +217 -0
- package/src/server/__tests__/routing-binding-validation.test.ts +256 -0
- package/src/server/__tests__/session-auto-approval.integration.test.ts +329 -0
- package/src/server/__tests__/skill-execute.test.ts +11 -0
- package/src/server/__tests__/skill-review-guard.test.ts +171 -0
- package/src/server/__tests__/token-tracker.test.ts +1 -8
- package/src/server/__tests__/tracing-retention-policy.test.ts +1 -8
- package/src/server/__tests__/usage-ledger.integration.test.ts +1 -8
- package/src/server/collections/agent-auto-approval-checkpoints.ts +18 -0
- package/src/server/collections/agent-execution-spans.ts +4 -11
- package/src/server/collections/agent-governance-audit-events.ts +1 -8
- package/src/server/collections/agent-governance-policies.ts +1 -8
- package/src/server/collections/agent-governance-policy-versions.ts +1 -8
- package/src/server/collections/agent-governance-prompt-bindings.ts +1 -8
- package/src/server/collections/agent-hierarchy-invocations.ts +30 -0
- package/src/server/collections/agent-loop-runs.ts +1 -8
- package/src/server/collections/agent-routing-graph-locks.ts +11 -0
- package/src/server/collections/agent-session-auto-approvals.ts +16 -0
- package/src/server/collections/orchestrator-config.ts +26 -0
- package/src/server/migrations/20261110000000-add-usage-pricing-snapshots.ts +1 -8
- package/src/server/migrations/20261110010000-add-usage-department-attribution.ts +1 -8
- package/src/server/migrations/20261119000000-widen-native-employee-identifiers.ts +37 -0
- package/src/server/plugin.ts +58 -8
- package/src/server/resources/agent-auto-approval.ts +51 -0
- package/src/server/resources/agent-governance.ts +1 -8
- package/src/server/resources/agent-harness-profile.ts +1 -8
- package/src/server/resources/agent-monitor.ts +1 -8
- package/src/server/resources/agent-usage.ts +1 -8
- package/src/server/resources/hierarchical-routing.ts +39 -0
- package/src/server/resources/native-monitor-format.ts +1 -8
- package/src/server/resources/tracing.ts +1 -8
- package/src/server/services/AgentGovernanceService.ts +1 -8
- package/src/server/services/AutoApprovalCheckpoint.ts +140 -0
- package/src/server/services/CodeValidator.ts +23 -4
- package/src/server/services/DepartmentAttribution.ts +1 -8
- package/src/server/services/ExecutionSpanService.ts +1 -8
- package/src/server/services/GovernanceAdmission.ts +83 -8
- package/src/server/services/HarnessCapabilities.ts +1 -8
- package/src/server/services/HarnessCompiler.ts +12 -0
- package/src/server/services/HarnessSchema.ts +30 -0
- package/src/server/services/HierarchicalAgentRuntime.ts +1052 -0
- package/src/server/services/HierarchyEnrollmentGuard.ts +211 -0
- package/src/server/services/HierarchyInvocationJournal.ts +172 -0
- package/src/server/services/HierarchyRequestCancellation.ts +132 -0
- package/src/server/services/LoopBudgetService.ts +1 -8
- package/src/server/services/LoopRunRepository.ts +2 -9
- package/src/server/services/LoopRunStateMachine.ts +3 -10
- package/src/server/services/LoopTriggerService.ts +1 -8
- package/src/server/services/LoopWorkerService.ts +8 -19
- package/src/server/services/ManagedPromptProtection.ts +1 -8
- package/src/server/services/NativeAgentMonitorSyncService.ts +1 -8
- package/src/server/services/NativeSubAgentObserver.ts +1 -8
- package/src/server/services/NativeUsageAttribution.ts +1 -8
- package/src/server/services/PluginAiRuntimeAdapter.ts +140 -9
- package/src/server/services/RoutingBindingRepository.ts +146 -0
- package/src/server/services/RoutingBindingValidation.ts +161 -0
- package/src/server/services/SandboxRunner.ts +35 -1
- package/src/server/services/SessionAutoApproval.ts +167 -0
- package/src/server/services/TokenTracker.ts +1 -8
- package/src/server/services/TracingRetentionPolicy.ts +1 -8
- package/src/server/services/VerificationService.ts +3 -10
- package/src/server/skill-hub/plugin.ts +40 -0
- package/src/server/skill-hub/services/RegistrySkillInstallationService.ts +11 -1
- package/src/server/skill-hub/services/registry-node-package.ts +191 -0
- package/src/server/skill-hub/tasks/SkillExecutionTask.ts +34 -5
- package/src/server/tools/skill-execute.ts +10 -0
- package/src/server/utils/ensure-indexes.ts +2 -8
- package/dist/client/418.6f01da17774a5a25.js +0 -10
- package/dist/client/652.477e21bfff67bc1c.js +0 -10
- package/dist/client-v2/418.55b6b28cda8bb5f3.js +0 -10
- package/dist/client-v2/652.1a48364774d5383a.js +0 -10
- package/dist/client-v2/981.a81521f0296c7db8.js +0 -10
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
9
2
|
|
|
10
3
|
import React from 'react';
|
|
11
4
|
import { ApprovalsTab } from '../components/ApprovalsTab';
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
9
2
|
|
|
10
3
|
import React from 'react';
|
|
11
4
|
import { AIEmployeesProvider } from '../components/AIEmployeesContext';
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
9
2
|
|
|
10
3
|
import React from 'react';
|
|
11
4
|
import { ExecutionHistory } from '../skill-hub/components/ExecutionHistory';
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
9
2
|
|
|
10
3
|
import React from 'react';
|
|
11
4
|
import { HarnessProfilesTab } from '../components/HarnessProfilesTab';
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
9
2
|
|
|
10
3
|
import React from 'react';
|
|
11
4
|
import { KnowledgeAccessTab } from '../components/KnowledgeAccessTab';
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
9
2
|
|
|
10
3
|
import React from 'react';
|
|
11
4
|
import { LoopSettings } from '../skill-hub/components/LoopSettings';
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
9
2
|
|
|
10
3
|
import React from 'react';
|
|
11
4
|
import { AIEmployeesProvider } from '../components/AIEmployeesContext';
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
9
2
|
|
|
10
3
|
import React from 'react';
|
|
11
4
|
import { RetrievalTraceTab } from '../components/RetrievalTraceTab';
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
9
2
|
|
|
10
3
|
import React from 'react';
|
|
11
4
|
import { AIEmployeesProvider } from '../components/AIEmployeesContext';
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
9
2
|
|
|
10
3
|
import React from 'react';
|
|
11
4
|
import { SkillManager } from '../skill-hub/components/SkillManager';
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
9
2
|
|
|
10
3
|
import React from 'react';
|
|
11
4
|
import { SkillMetrics } from '../skill-hub/components/SkillMetrics';
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
9
2
|
|
|
10
3
|
import React from 'react';
|
|
11
4
|
import { AIEmployeesProvider } from '../components/AIEmployeesContext';
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
9
2
|
|
|
10
3
|
import React from 'react';
|
|
11
4
|
import { AIEmployeesProvider } from '../components/AIEmployeesContext';
|
package/src/client-v2/plugin.tsx
CHANGED
|
@@ -1,18 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
9
2
|
|
|
10
3
|
import { Plugin, Application } from '@nocobase/client-v2';
|
|
11
4
|
import { InteractionSchemasProvider, registerSkillCard } from './skill-hub/tools/InteractionSchemasProvider';
|
|
5
|
+
import { AutoApprovalProvider } from './auto-approval/AutoApprovalProvider';
|
|
12
6
|
|
|
13
7
|
export class PluginAgentOrchestratorClient extends Plugin<Record<string, never>, Application> {
|
|
14
8
|
async load() {
|
|
15
9
|
this.app.use(InteractionSchemasProvider);
|
|
10
|
+
this.app.use(AutoApprovalProvider);
|
|
16
11
|
registerSkillCard(this.ai.toolsManager, 'skill_hub_execute');
|
|
17
12
|
this.pluginSettingsManager.addMenuItem({
|
|
18
13
|
key: 'ai-orchestrator',
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
|
|
1
10
|
import { describe, expect, it, vi } from 'vitest';
|
|
2
11
|
import {
|
|
3
12
|
buildInteractions,
|
|
@@ -83,7 +92,14 @@ describe('V2 Skill Hub interactions', () => {
|
|
|
83
92
|
});
|
|
84
93
|
expect(editedSkillArgs('skill_hub_execute', args, { type: 'select' }, { choice: 'yes' })).toEqual({
|
|
85
94
|
...args,
|
|
86
|
-
input: { choice: 'yes' },
|
|
95
|
+
input: { ...args.input, choice: 'yes' },
|
|
96
|
+
});
|
|
97
|
+
expect(
|
|
98
|
+
editedSkillArgs('skill_hub_test', { unchanged: 42, prior: 'kept' }, { type: 'select' }, { choice: 'yes' }),
|
|
99
|
+
).toEqual({
|
|
100
|
+
unchanged: 42,
|
|
101
|
+
prior: 'kept',
|
|
102
|
+
choice: 'yes',
|
|
87
103
|
});
|
|
88
104
|
});
|
|
89
105
|
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
|
|
1
10
|
import type { APIClient } from '@nocobase/client-v2';
|
|
2
11
|
import { parseJsonText } from '../utils/jsonFields';
|
|
3
12
|
|
|
@@ -117,12 +126,12 @@ export function getToolInteraction(interactions: Map<string, SkillInteraction>,
|
|
|
117
126
|
export function editedSkillArgs(
|
|
118
127
|
name: string,
|
|
119
128
|
args: unknown,
|
|
120
|
-
|
|
129
|
+
_schema: InteractionSchema,
|
|
121
130
|
values: Record<string, unknown>,
|
|
122
131
|
) {
|
|
123
132
|
const original = asRecord(args);
|
|
124
133
|
if (name === 'skill_hub_execute') {
|
|
125
|
-
return { ...original, input:
|
|
134
|
+
return { ...original, input: { ...asRecord(original.input), ...values } };
|
|
126
135
|
}
|
|
127
|
-
return
|
|
136
|
+
return { ...original, ...values };
|
|
128
137
|
}
|
package/src/locale/en-US.json
CHANGED
|
@@ -450,5 +450,84 @@
|
|
|
450
450
|
"Managed prompt changed outside governance. Review it before restoring.": "Managed prompt changed outside governance. Review it before restoring.",
|
|
451
451
|
"The native instruction changed. Refresh before releasing it.": "The native instruction changed. Refresh before releasing it.",
|
|
452
452
|
"Policy version is required.": "Policy version is required.",
|
|
453
|
-
"Governance records must be changed using the governance actions.": "Governance records must be changed using the governance actions."
|
|
453
|
+
"Governance records must be changed using the governance actions.": "Governance records must be changed using the governance actions.",
|
|
454
|
+
"Human review is required for this skill. Disable Auto call and approve the tool call before execution.": "Human review is required for this skill. Disable Auto call and approve the tool call before execution.",
|
|
455
|
+
"Invalid AI tool interruption payload.": "Invalid AI tool interruption payload.",
|
|
456
|
+
"Registry Node package requires must stay inside the package.": "Registry Node package requires must stay inside the package.",
|
|
457
|
+
"Registry Node packages cannot contain symbolic links or bundled node_modules.": "Registry Node packages cannot contain symbolic links or bundled node_modules.",
|
|
458
|
+
"Registry Node packages must use valid CommonJS code and cannot load native modules.": "Registry Node packages must use valid CommonJS code and cannot load native modules.",
|
|
459
|
+
"Registry Node packages must use direct require calls with literal, unescaped paths.": "Registry Node packages must use direct require calls with literal, unescaped paths.",
|
|
460
|
+
"Registry Node package contains a missing local module.": "Registry Node package contains a missing local module.",
|
|
461
|
+
"Invalid skill package snapshot path.": "Invalid skill package snapshot path.",
|
|
462
|
+
"Hierarchical routing": "Hierarchical routing",
|
|
463
|
+
"Disabled": "Disabled",
|
|
464
|
+
"Enable hierarchical routing": "Enable hierarchical routing",
|
|
465
|
+
"Applies to delegation through the hierarchical routing tool.": "Applies to delegation through the hierarchical routing tool.",
|
|
466
|
+
"Target role": "Target role",
|
|
467
|
+
"Specialist": "Specialist",
|
|
468
|
+
"Worker": "Worker",
|
|
469
|
+
"When to delegate": "When to delegate",
|
|
470
|
+
"Describe the tasks this employee is suited to handle.": "Describe the tasks this employee is suited to handle.",
|
|
471
|
+
"LLM service override": "LLM service override",
|
|
472
|
+
"Model override": "Model override",
|
|
473
|
+
"Leave both model fields empty to use the target employee model.": "Leave both model fields empty to use the target employee model.",
|
|
474
|
+
"Unable to load enabled models.": "Unable to load enabled models.",
|
|
475
|
+
"Routing requires a parent and a target employee.": "Routing requires a parent and a target employee.",
|
|
476
|
+
"An employee cannot delegate to itself.": "An employee cannot delegate to itself.",
|
|
477
|
+
"Choose a routing role for the target employee.": "Choose a routing role for the target employee.",
|
|
478
|
+
"Select both an LLM service and a model, or leave both empty.": "Select both an LLM service and a model, or leave both empty.",
|
|
479
|
+
"The routing description must be 4000 characters or fewer.": "The routing description must be 4000 characters or fewer.",
|
|
480
|
+
"Routing enabled must be a boolean.": "Routing enabled must be a boolean.",
|
|
481
|
+
"Update routing settings for one binding at a time.": "Update routing settings for one binding at a time.",
|
|
482
|
+
"These settings apply only where the capability matrix shows support.": "These settings apply only where the capability matrix shows support.",
|
|
483
|
+
"Allowed tools": "Allowed tools",
|
|
484
|
+
"Tools requiring approval": "Tools requiring approval",
|
|
485
|
+
"Denied tools": "Denied tools",
|
|
486
|
+
"Maximum tool calls": "Maximum tool calls",
|
|
487
|
+
"Advanced settings JSON": "Advanced settings JSON",
|
|
488
|
+
"Read-only tools": "Read-only tools",
|
|
489
|
+
"Classify a tool as read-only only after verifying its behavior and permissions.": "Classify a tool as read-only only after verifying its behavior and permissions.",
|
|
490
|
+
"Profile model": "Profile model",
|
|
491
|
+
"A binding model override takes precedence. An empty profile model uses the employee model.": "A binding model override takes precedence. An empty profile model uses the employee model.",
|
|
492
|
+
"Fallback models": "Fallback models",
|
|
493
|
+
"Checked in order before execution when a configured model is unavailable.": "Checked in order before execution when a configured model is unavailable.",
|
|
494
|
+
"A conversation and target employee are required.": "A conversation and target employee are required.",
|
|
495
|
+
"Preview effective routing": "Preview effective routing",
|
|
496
|
+
"Preview uses the saved binding, published profile and a conversation owned by your user.": "Preview uses the saved binding, published profile and a conversation owned by your user.",
|
|
497
|
+
"Preview failed: {{message}}": "Preview failed: {{message}}",
|
|
498
|
+
"Conversation ID": "Conversation ID",
|
|
499
|
+
"Effective model": "Effective model",
|
|
500
|
+
"Fallback model selected": "Fallback model selected",
|
|
501
|
+
"List delegated AI employees": "List delegated AI employees",
|
|
502
|
+
"Delegate to an AI employee": "Delegate to an AI employee",
|
|
503
|
+
"Move up": "Move up",
|
|
504
|
+
"Move down": "Move down",
|
|
505
|
+
"Move {{model}} up": "Move {{model}} up",
|
|
506
|
+
"Move {{model}} down": "Move {{model}} down",
|
|
507
|
+
"Hierarchy invocation records are not directly accessible.": "Hierarchy invocation records are not directly accessible.",
|
|
508
|
+
"Managed child conversations cannot be modified directly.": "Managed child conversations cannot be modified directly.",
|
|
509
|
+
"The managed request was cancelled.": "The managed request was cancelled.",
|
|
510
|
+
"This binding would create a delegation cycle.": "This binding would create a delegation cycle.",
|
|
511
|
+
"Hierarchical chat does not yet support this limit and rejects profiles that set it.": "Hierarchical chat does not yet support this limit and rejects profiles that set it.",
|
|
512
|
+
"Bind employees to profiles and opt in to hierarchical delegation.": "Bind employees to profiles and opt in to hierarchical delegation.",
|
|
513
|
+
"The conversation must belong to an orchestrator bound to this worker’s specialist.": "The conversation must belong to an orchestrator bound to this worker’s specialist.",
|
|
514
|
+
"The AI employee is unavailable.": "The AI employee is unavailable.",
|
|
515
|
+
"Disable native AI employee dispatch before using managed hierarchy routing.": "Disable native AI employee dispatch before using managed hierarchy routing.",
|
|
516
|
+
"The delegation policy profile is unavailable.": "The delegation policy profile is unavailable.",
|
|
517
|
+
"The AI employee skills are unavailable.": "The AI employee skills are unavailable.",
|
|
518
|
+
"Remove managed worker tools from the parent employee before using hierarchy routing.": "Remove managed worker tools from the parent employee before using hierarchy routing.",
|
|
519
|
+
"The employee does not match the conversation.": "The employee does not match the conversation.",
|
|
520
|
+
"The intermediate employee is not a specialist.": "The intermediate employee is not a specialist.",
|
|
521
|
+
"The delegation limit has been reached.": "The delegation limit has been reached.",
|
|
522
|
+
"The delegation profile does not provide the required allowed tools.": "The delegation profile does not provide the required allowed tools.",
|
|
523
|
+
"The requested delegation is unavailable.": "The requested delegation is unavailable.",
|
|
524
|
+
"Preview does not check worker tools that depend on a child session.": "Preview does not check worker tools that depend on a child session.",
|
|
525
|
+
"Invalid conversation action input.": "Invalid conversation action input.",
|
|
526
|
+
"A single conversation identifier is required.": "A single conversation identifier is required.",
|
|
527
|
+
"A single message identifier is required.": "A single message identifier is required.",
|
|
528
|
+
"A single tool call identifier is required.": "A single tool call identifier is required.",
|
|
529
|
+
"Enable automatic approval": "Enable automatic approval",
|
|
530
|
+
"Disable automatic approval": "Disable automatic approval",
|
|
531
|
+
"Could not update automatic approval": "Could not update automatic approval",
|
|
532
|
+
"Automatic approval unavailable": "Automatic approval unavailable"
|
|
454
533
|
}
|
package/src/locale/vi-VN.json
CHANGED
|
@@ -222,5 +222,9 @@
|
|
|
222
222
|
"Metrics by Skill (Recent)": "Chỉ số theo kỹ năng (gần đây)",
|
|
223
223
|
"Total Executions (Recent)": "Tổng số lần thực thi (gần đây)",
|
|
224
224
|
"Succeeded": "Thành công",
|
|
225
|
-
"Timeout/Canceled": "Hết thời gian/Đã hủy"
|
|
225
|
+
"Timeout/Canceled": "Hết thời gian/Đã hủy",
|
|
226
|
+
"Enable automatic approval": "Bật tự động phê duyệt",
|
|
227
|
+
"Disable automatic approval": "Tắt tự động phê duyệt",
|
|
228
|
+
"Could not update automatic approval": "Không thể cập nhật tự động phê duyệt",
|
|
229
|
+
"Automatic approval unavailable": "Không thể lấy trạng thái tự động phê duyệt"
|
|
226
230
|
}
|
package/src/locale/zh-CN.json
CHANGED
|
@@ -450,5 +450,84 @@
|
|
|
450
450
|
"Managed prompt changed outside governance. Review it before restoring.": "托管提示词已在治理外更改,请先审核再恢复。",
|
|
451
451
|
"The native instruction changed. Refresh before releasing it.": "原生指令已更改,请刷新后再解除管理。",
|
|
452
452
|
"Policy version is required.": "需要策略版本。",
|
|
453
|
-
"Governance records must be changed using the governance actions.": "治理记录必须通过治理操作更改。"
|
|
453
|
+
"Governance records must be changed using the governance actions.": "治理记录必须通过治理操作更改。",
|
|
454
|
+
"Human review is required for this skill. Disable Auto call and approve the tool call before execution.": "此技能需要人工审核。请关闭自动调用,并在执行前批准工具调用。",
|
|
455
|
+
"Invalid AI tool interruption payload.": "AI 工具中断数据无效。",
|
|
456
|
+
"Registry Node package requires must stay inside the package.": "注册表 Node 包只能引用包内路径。",
|
|
457
|
+
"Registry Node packages cannot contain symbolic links or bundled node_modules.": "注册表 Node 包不能包含符号链接或内置 node_modules。",
|
|
458
|
+
"Registry Node packages must use valid CommonJS code and cannot load native modules.": "注册表 Node 包必须使用有效的 CommonJS 代码,且不能加载原生模块。",
|
|
459
|
+
"Registry Node packages must use direct require calls with literal, unescaped paths.": "注册表 Node 包必须使用未转义的字面路径直接调用 require。",
|
|
460
|
+
"Registry Node package contains a missing local module.": "注册表 Node 包缺少本地模块。",
|
|
461
|
+
"Invalid skill package snapshot path.": "技能包快照路径无效。",
|
|
462
|
+
"Hierarchical routing": "分层路由",
|
|
463
|
+
"Disabled": "已禁用",
|
|
464
|
+
"Enable hierarchical routing": "启用分层路由",
|
|
465
|
+
"Applies to delegation through the hierarchical routing tool.": "适用于通过分层路由工具进行的任务分派。",
|
|
466
|
+
"Target role": "目标角色",
|
|
467
|
+
"Specialist": "专业员工",
|
|
468
|
+
"Worker": "执行员工",
|
|
469
|
+
"When to delegate": "何时分派",
|
|
470
|
+
"Describe the tasks this employee is suited to handle.": "描述该员工适合处理的任务。",
|
|
471
|
+
"LLM service override": "覆盖 LLM 服务",
|
|
472
|
+
"Model override": "覆盖模型",
|
|
473
|
+
"Leave both model fields empty to use the target employee model.": "将两个模型字段留空以使用目标员工的模型。",
|
|
474
|
+
"Unable to load enabled models.": "无法加载已启用的模型。",
|
|
475
|
+
"Routing requires a parent and a target employee.": "路由需要父级员工和目标员工。",
|
|
476
|
+
"An employee cannot delegate to itself.": "员工不能向自己分派任务。",
|
|
477
|
+
"Choose a routing role for the target employee.": "请选择目标员工的路由角色。",
|
|
478
|
+
"Select both an LLM service and a model, or leave both empty.": "请选择 LLM 服务和模型,或将两项都留空。",
|
|
479
|
+
"The routing description must be 4000 characters or fewer.": "路由描述不得超过 4000 个字符。",
|
|
480
|
+
"Routing enabled must be a boolean.": "路由启用状态必须为布尔值。",
|
|
481
|
+
"Update routing settings for one binding at a time.": "每次只能更新一个绑定的路由设置。",
|
|
482
|
+
"These settings apply only where the capability matrix shows support.": "这些设置仅适用于能力矩阵中显示支持的范围。",
|
|
483
|
+
"Allowed tools": "允许使用的工具",
|
|
484
|
+
"Tools requiring approval": "需要批准的工具",
|
|
485
|
+
"Denied tools": "禁止使用的工具",
|
|
486
|
+
"Maximum tool calls": "工具调用次数上限",
|
|
487
|
+
"Advanced settings JSON": "高级设置 JSON",
|
|
488
|
+
"Read-only tools": "只读工具",
|
|
489
|
+
"Classify a tool as read-only only after verifying its behavior and permissions.": "确认工具的行为和权限后,才能将其标记为只读。",
|
|
490
|
+
"Profile model": "策略模型",
|
|
491
|
+
"A binding model override takes precedence. An empty profile model uses the employee model.": "绑定中的模型覆盖优先。策略模型留空时使用员工模型。",
|
|
492
|
+
"Fallback models": "备用模型",
|
|
493
|
+
"Checked in order before execution when a configured model is unavailable.": "配置的模型不可用时,在执行前按顺序检查备用模型。",
|
|
494
|
+
"A conversation and target employee are required.": "需要提供会话和目标员工。",
|
|
495
|
+
"Preview effective routing": "预览生效的路由",
|
|
496
|
+
"Preview uses the saved binding, published profile and a conversation owned by your user.": "预览使用已保存的绑定、已发布的策略以及属于当前用户的会话。",
|
|
497
|
+
"Preview failed: {{message}}": "预览失败:{{message}}",
|
|
498
|
+
"Conversation ID": "会话 ID",
|
|
499
|
+
"Effective model": "生效模型",
|
|
500
|
+
"Fallback model selected": "已选择备用模型",
|
|
501
|
+
"List delegated AI employees": "列出可分派任务的 AI 员工",
|
|
502
|
+
"Delegate to an AI employee": "向 AI 员工分派任务",
|
|
503
|
+
"Move up": "上移",
|
|
504
|
+
"Move down": "下移",
|
|
505
|
+
"Move {{model}} up": "上移 {{model}}",
|
|
506
|
+
"Move {{model}} down": "下移 {{model}}",
|
|
507
|
+
"Hierarchy invocation records are not directly accessible.": "不能直接访问分层调用记录。",
|
|
508
|
+
"Managed child conversations cannot be modified directly.": "不能直接修改受管理的子会话。",
|
|
509
|
+
"The managed request was cancelled.": "受管理的请求已取消。",
|
|
510
|
+
"This binding would create a delegation cycle.": "此绑定会创建循环分派。",
|
|
511
|
+
"Hierarchical chat does not yet support this limit and rejects profiles that set it.": "分层聊天暂不支持此限制,设置该限制的策略会被拒绝。",
|
|
512
|
+
"Bind employees to profiles and opt in to hierarchical delegation.": "将员工绑定到策略,并按需启用分层任务分派。",
|
|
513
|
+
"The conversation must belong to an orchestrator bound to this worker’s specialist.": "会话必须属于与此执行员工的专业员工绑定的协调员。",
|
|
514
|
+
"The AI employee is unavailable.": "AI 员工不可用。",
|
|
515
|
+
"Disable native AI employee dispatch before using managed hierarchy routing.": "使用受管理的分层路由前,请禁用原生 AI 员工任务分派工具。",
|
|
516
|
+
"The delegation policy profile is unavailable.": "任务分派策略不可用。",
|
|
517
|
+
"The AI employee skills are unavailable.": "AI 员工技能不可用。",
|
|
518
|
+
"Remove managed worker tools from the parent employee before using hierarchy routing.": "使用分层路由前,请从父级员工移除受管理的执行工具。",
|
|
519
|
+
"The employee does not match the conversation.": "该员工与会话不匹配。",
|
|
520
|
+
"The intermediate employee is not a specialist.": "中间员工不是专业员工。",
|
|
521
|
+
"The delegation limit has been reached.": "已达到任务分派限制。",
|
|
522
|
+
"The delegation profile does not provide the required allowed tools.": "任务分派策略未提供所需的允许工具。",
|
|
523
|
+
"The requested delegation is unavailable.": "请求的任务分派不可用。",
|
|
524
|
+
"Preview does not check worker tools that depend on a child session.": "预览不会检查依赖子会话的执行员工工具。",
|
|
525
|
+
"Invalid conversation action input.": "会话操作输入无效。",
|
|
526
|
+
"A single conversation identifier is required.": "必须提供单个会话标识符。",
|
|
527
|
+
"A single message identifier is required.": "必须提供单个消息标识符。",
|
|
528
|
+
"A single tool call identifier is required.": "必须提供单个工具调用标识符。",
|
|
529
|
+
"Enable automatic approval": "开启自动批准",
|
|
530
|
+
"Disable automatic approval": "关闭自动批准",
|
|
531
|
+
"Could not update automatic approval": "无法更新自动批准设置",
|
|
532
|
+
"Automatic approval unavailable": "无法获取自动批准状态"
|
|
454
533
|
}
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
9
2
|
|
|
10
3
|
import { createMockServer, type MockServer } from '@nocobase/test';
|
|
11
4
|
import { vi } from 'vitest';
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
9
2
|
|
|
10
3
|
import { createMockServer, type MockServer } from '@nocobase/test';
|
|
11
4
|
import { PluginAgentOrchestratorServer } from '../plugin';
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
9
2
|
|
|
10
3
|
import { createMockServer, type MockServer } from '@nocobase/test';
|
|
11
4
|
import { PluginAgentOrchestratorServer } from '../plugin';
|