bpmax-cli 0.2.1-beta.21 → 0.2.1-beta.22
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/dist/bin.js +7 -6
- package/dist/bin.js.map +1 -1
- package/package.json +1 -1
- package/skills/bpmax-builder-shared/__pycache__/base_url.cpython-313.pyc +0 -0
- package/skills/bpmax-builder-shared/__pycache__/template_script_hard_rules.cpython-313.pyc +0 -0
- package/skills/bpmax-dataset-template-editor/scripts/__pycache__/dataset_editor_common.cpython-313.pyc +0 -0
- package/skills/bpmax-dataset-template-editor/tests/__pycache__/test_dataset_editor.cpython-313.pyc +0 -0
- package/skills/bpmax-e2e-flow-test-operator/scripts/__pycache__/bpmax_session.cpython-313.pyc +0 -0
- package/skills/bpmax-e2e-flow-test-operator/scripts/__pycache__/e2e_state.cpython-313.pyc +0 -0
- package/skills/bpmax-e2e-flow-test-operator/scripts/__pycache__/flow_api_matrix.cpython-313.pyc +0 -0
- package/skills/bpmax-e2e-flow-test-operator/scripts/__pycache__/flow_filter_fields.cpython-313.pyc +0 -0
- package/skills/bpmax-e2e-flow-test-operator/scripts/__pycache__/flow_form_runtime.cpython-313.pyc +0 -0
- package/skills/bpmax-e2e-flow-test-operator/scripts/__pycache__/flow_test_profile.cpython-313.pyc +0 -0
- package/skills/bpmax-e2e-flow-test-operator/tests/__pycache__/test_negative_sale_api_tools.cpython-313.pyc +0 -0
- package/skills/bpmax-flow-template-editor/scripts/__pycache__/flow_template_editor_common.cpython-313.pyc +0 -0
- package/skills/bpmax-flow-template-editor/scripts/__pycache__/submit_flow_template.cpython-313.pyc +0 -0
- package/skills/bpmax-flow-template-editor/tests/__pycache__/test_flow_template_editor.cpython-313.pyc +0 -0
- package/skills/bpmax-form-template-editor/scripts/__pycache__/form_template_editor_common.cpython-313.pyc +0 -0
- package/skills/bpmax-form-template-editor/scripts/__pycache__/submit_form_template.cpython-313.pyc +0 -0
- package/skills/bpmax-form-template-editor/tests/__pycache__/test_form_template_editor.cpython-313.pyc +0 -0
package/dist/bin.js
CHANGED
|
@@ -469,7 +469,7 @@ function pluginAgentCapabilityForRequest(method, normalizedPath) {
|
|
|
469
469
|
// package.json
|
|
470
470
|
var package_default = {
|
|
471
471
|
name: "bpmax-cli",
|
|
472
|
-
version: "0.2.1-beta.
|
|
472
|
+
version: "0.2.1-beta.22",
|
|
473
473
|
description: "CLI for BPMAX environments with multi-profile config and local login callback flow",
|
|
474
474
|
type: "module",
|
|
475
475
|
bin: {
|
|
@@ -3653,9 +3653,10 @@ async function lintFlowTemplatePluginExtensions(options) {
|
|
|
3653
3653
|
continue;
|
|
3654
3654
|
}
|
|
3655
3655
|
const occurrences = collectFlowTemplatePluginConfigs(options.flowWork, pluginKey);
|
|
3656
|
-
const
|
|
3657
|
-
const
|
|
3658
|
-
|
|
3656
|
+
const preservesExistingExtension = hasRemoteFlowIdentity && occurrences.length > 0;
|
|
3657
|
+
const preservesExistingDisabledExtension = preservesExistingExtension && occurrences.every((occurrence) => isExplicitlyDisabledPluginConfig(occurrence.config));
|
|
3658
|
+
const message = preservesExistingDisabledExtension ? `Flow template preserves disabled plugin extension ${pluginKey} without a platform or installed flow-template lint declaration; skipped plugin-specific lint because every occurrence explicitly sets enabled=false.` : preservesExistingExtension ? `Flow template preserves existing plugin extension ${pluginKey} without a platform or installed flow-template lint declaration; skipped plugin-specific lint for compatibility with the existing remote flow.` : `Flow template uses unknown plugin extension ${pluginKey}; no platform or installed flow-template lint declaration was found.`;
|
|
3659
|
+
if (options.requireInstalled && !preservesExistingExtension) {
|
|
3659
3660
|
errors.push(message);
|
|
3660
3661
|
} else {
|
|
3661
3662
|
warnings.push(message);
|
|
@@ -3665,8 +3666,8 @@ async function lintFlowTemplatePluginExtensions(options) {
|
|
|
3665
3666
|
plugin_key: pluginKey,
|
|
3666
3667
|
domain: "flow-template-node",
|
|
3667
3668
|
checked_locations: occurrences.map((occurrence) => occurrence.location),
|
|
3668
|
-
errors: options.requireInstalled && !
|
|
3669
|
-
warnings: options.requireInstalled && !
|
|
3669
|
+
errors: options.requireInstalled && !preservesExistingExtension ? [message] : [],
|
|
3670
|
+
warnings: options.requireInstalled && !preservesExistingExtension ? [] : [message]
|
|
3670
3671
|
});
|
|
3671
3672
|
}
|
|
3672
3673
|
for (const pluginKey of allPluginKeys) {
|