bpmax-cli 0.1.44-beta.9 → 0.1.44
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/README.md +5 -3
- package/dist/bin.js +461 -4663
- package/dist/bin.js.map +1 -1
- package/package.json +1 -1
- package/scripts/install-skills.mjs +0 -98
- package/skills/bpmax-auth/SKILL.md +17 -6
- package/skills/bpmax-cli/SKILL.md +0 -2
- package/skills/bpmax-project/SKILL.md +2 -1
- package/skills/bpmax-shared/SKILL.md +1 -1
- package/skills/bpmax-api-platform-editor/SKILL.md +0 -321
- package/skills/bpmax-api-platform-editor/agents/openai.yaml +0 -4
- package/skills/bpmax-api-platform-editor/references/api-doc-debug-workflow.md +0 -34
- package/skills/bpmax-api-platform-editor/references/api-proxy-shape.md +0 -41
- package/skills/bpmax-api-platform-editor/references/instance-config-shape.md +0 -41
- package/skills/bpmax-api-platform-editor/references/platform-api-map.md +0 -52
- package/skills/bpmax-api-platform-editor/references/runtime-workflow.md +0 -32
- package/skills/bpmax-api-platform-editor/scripts/api_platform_editor_common.py +0 -1276
- package/skills/bpmax-api-platform-editor/scripts/build_submit_payload.py +0 -64
- package/skills/bpmax-api-platform-editor/scripts/capture_write_contract.py +0 -40
- package/skills/bpmax-api-platform-editor/scripts/export_layer_bundle.py +0 -212
- package/skills/bpmax-api-platform-editor/scripts/record_doc_debug_acceptance.py +0 -62
- package/skills/bpmax-api-platform-editor/scripts/submit_and_verify_layer.py +0 -75
- package/skills/bpmax-api-platform-editor/tests/test_api_platform_editor.py +0 -287
- package/skills/bpmax-builder-shared/SKILL.md +0 -44
- package/skills/bpmax-builder-shared/base_url.py +0 -81
- package/skills/bpmax-builder-shared/runtime-script-site-matrix.json +0 -71
- package/skills/bpmax-builder-shared/runtime-script-site-matrix.md +0 -34
- package/skills/bpmax-builder-shared/runtime-script-template-catalog.md +0 -123
- package/skills/bpmax-builder-shared/runtime_script_rules.py +0 -272
- package/skills/bpmax-builder-shared/skill_audit.py +0 -374
- package/skills/bpmax-builder-shared/template_script_hard_rules.py +0 -280
- package/skills/bpmax-builder-shared/tests/test_base_url.py +0 -80
- package/skills/bpmax-builder-shared/tests/test_runtime_script_rules.py +0 -115
- package/skills/bpmax-builder-shared/tests/test_skill_audit.py +0 -231
- package/skills/bpmax-builder-shared/tests/test_template_script_hard_rules.py +0 -281
- package/skills/bpmax-config-latest/SKILL.md +0 -71
- package/skills/bpmax-console-template-editor/SKILL.md +0 -536
- package/skills/bpmax-console-template-editor/agents/openai.yaml +0 -4
- package/skills/bpmax-console-template-editor/references/filter-integration.md +0 -60
- package/skills/bpmax-console-template-editor/references/lessons-from-resume-dashboard.md +0 -114
- package/skills/bpmax-console-template-editor/references/local-temp-workflow.md +0 -69
- package/skills/bpmax-console-template-editor/references/module-catalog.md +0 -100
- package/skills/bpmax-console-template-editor/references/runtime-page-shape.md +0 -91
- package/skills/bpmax-console-template-editor/references/template-shape.md +0 -149
- package/skills/bpmax-console-template-editor/scripts/build_submit_payload.py +0 -38
- package/skills/bpmax-console-template-editor/scripts/confirm_console_template.py +0 -33
- package/skills/bpmax-console-template-editor/scripts/console_template_editor_common.py +0 -964
- package/skills/bpmax-console-template-editor/scripts/export_console_template.py +0 -99
- package/skills/bpmax-console-template-editor/scripts/lint_console_template.py +0 -46
- package/skills/bpmax-console-template-editor/scripts/submit_console_template.py +0 -99
- package/skills/bpmax-console-template-editor/tests/test_console_template_editor.py +0 -383
- package/skills/bpmax-dataset-field-template-editor/SKILL.md +0 -600
- package/skills/bpmax-dataset-field-template-editor/references/create-request-gotchas.md +0 -25
- package/skills/bpmax-dataset-field-template-editor/references/field-classify-mapping.md +0 -35
- package/skills/bpmax-dataset-field-template-editor/references/nested-field-patterns.md +0 -24
- package/skills/bpmax-dataset-field-template-editor/references/runtime-verified-field-page-shape.md +0 -61
- package/skills/bpmax-dataset-field-template-editor/references/virtual-field-patterns.md +0 -27
- package/skills/bpmax-dataset-field-template-editor/references/work-file-to-submit-mapping.md +0 -127
- package/skills/bpmax-dataset-field-template-editor/scripts/build_submit_payload.py +0 -67
- package/skills/bpmax-dataset-field-template-editor/scripts/confirm_dataset_field.py +0 -37
- package/skills/bpmax-dataset-field-template-editor/scripts/dataset_field_editor_common.py +0 -784
- package/skills/bpmax-dataset-field-template-editor/scripts/export_dataset_field.py +0 -62
- package/skills/bpmax-dataset-field-template-editor/scripts/init_create_dataset_field.py +0 -104
- package/skills/bpmax-dataset-field-template-editor/scripts/inspect_dataset_field_runtime.py +0 -83
- package/skills/bpmax-dataset-field-template-editor/scripts/lint_dataset_field_semantics.py +0 -35
- package/skills/bpmax-dataset-field-template-editor/scripts/submit_dataset_field.py +0 -95
- package/skills/bpmax-dataset-field-template-editor/tests/test_dataset_field_editor.py +0 -709
- package/skills/bpmax-dataset-field-template-editor/tests/test_init_create_dataset_field.py +0 -59
- package/skills/bpmax-dataset-template-editor/SKILL.md +0 -779
- package/skills/bpmax-dataset-template-editor/references/custom-key-usage-patterns.md +0 -18
- package/skills/bpmax-dataset-template-editor/references/dataset-script-runtime-matrix.md +0 -73
- package/skills/bpmax-dataset-template-editor/references/pre-process-script-authoring-guide.md +0 -186
- package/skills/bpmax-dataset-template-editor/references/pre-process-script-example-catalog.md +0 -106
- package/skills/bpmax-dataset-template-editor/references/runtime-gotchas.md +0 -28
- package/skills/bpmax-dataset-template-editor/references/runtime-verified-dataset-page-shape.md +0 -47
- package/skills/bpmax-dataset-template-editor/references/ui-to-backend-field-map.md +0 -23
- package/skills/bpmax-dataset-template-editor/references/work-file-to-submit-mapping.md +0 -97
- package/skills/bpmax-dataset-template-editor/scripts/basic_table_audit.py +0 -65
- package/skills/bpmax-dataset-template-editor/scripts/build_submit_payload.py +0 -38
- package/skills/bpmax-dataset-template-editor/scripts/dataset_editor_common.py +0 -650
- package/skills/bpmax-dataset-template-editor/scripts/export_dataset.py +0 -155
- package/skills/bpmax-dataset-template-editor/scripts/lint_dataset_template.py +0 -42
- package/skills/bpmax-dataset-template-editor/scripts/resolve_dataset.py +0 -43
- package/skills/bpmax-dataset-template-editor/scripts/scan_custom_key_references.py +0 -27
- package/skills/bpmax-dataset-template-editor/scripts/submit_dataset.py +0 -115
- package/skills/bpmax-dataset-template-editor/scripts/verify_dataset_list.py +0 -52
- package/skills/bpmax-dataset-template-editor/scripts/verify_publish_health.py +0 -39
- package/skills/bpmax-dataset-template-editor/tests/test_dataset_editor.py +0 -373
- package/skills/bpmax-e2e-flow-config-orchestrator/SKILL.md +0 -177
- package/skills/bpmax-e2e-flow-config-orchestrator/agents/openai.yaml +0 -4
- package/skills/bpmax-e2e-flow-config-orchestrator/references/orchestration-matrix.md +0 -60
- package/skills/bpmax-e2e-flow-test-operator/SKILL.md +0 -394
- package/skills/bpmax-e2e-flow-test-operator/agents/openai.yaml +0 -5
- package/skills/bpmax-e2e-flow-test-operator/profiles/negative_sale.json +0 -97
- package/skills/bpmax-e2e-flow-test-operator/profiles/negative_sale_final_v2.json +0 -105
- package/skills/bpmax-e2e-flow-test-operator/profiles/negative_sale_main.json +0 -36
- package/skills/bpmax-e2e-flow-test-operator/profiles/negative_sale_region.json +0 -40
- package/skills/bpmax-e2e-flow-test-operator/references/browser-only-checkpoints.md +0 -41
- package/skills/bpmax-e2e-flow-test-operator/references/failure-update-loop.md +0 -17
- package/skills/bpmax-e2e-flow-test-operator/references/filter-field-discovery.md +0 -40
- package/skills/bpmax-e2e-flow-test-operator/references/minimal-test-loop.md +0 -24
- package/skills/bpmax-e2e-flow-test-operator/references/negative-sale-api-matrix.md +0 -75
- package/skills/bpmax-e2e-flow-test-operator/references/profile-schema.md +0 -107
- package/skills/bpmax-e2e-flow-test-operator/references/skill-experience-coverage-matrix.md +0 -29
- package/skills/bpmax-e2e-flow-test-operator/references/stale-runtime-and-clean-sample-rules.md +0 -54
- package/skills/bpmax-e2e-flow-test-operator/references/state-schema.md +0 -83
- package/skills/bpmax-e2e-flow-test-operator/scripts/bpmax_session.py +0 -287
- package/skills/bpmax-e2e-flow-test-operator/scripts/dealer_sample_on_shelf_plan.json +0 -59
- package/skills/bpmax-e2e-flow-test-operator/scripts/dealer_sample_on_shelf_runner.py +0 -687
- package/skills/bpmax-e2e-flow-test-operator/scripts/e2e_doc.py +0 -121
- package/skills/bpmax-e2e-flow-test-operator/scripts/e2e_state.py +0 -288
- package/skills/bpmax-e2e-flow-test-operator/scripts/flow_api_matrix.py +0 -161
- package/skills/bpmax-e2e-flow-test-operator/scripts/flow_filter_fields.py +0 -138
- package/skills/bpmax-e2e-flow-test-operator/scripts/flow_form_runtime.py +0 -396
- package/skills/bpmax-e2e-flow-test-operator/scripts/flow_runner.py +0 -341
- package/skills/bpmax-e2e-flow-test-operator/scripts/flow_test_profile.py +0 -185
- package/skills/bpmax-e2e-flow-test-operator/tests/test_negative_sale_api_tools.py +0 -138
- package/skills/bpmax-feishu-chat-flow-plugin-editor/SKILL.md +0 -69
- package/skills/bpmax-feishu-chat-flow-plugin-editor/agents/openai.yaml +0 -4
- package/skills/bpmax-feishu-chat-flow-plugin-editor/references/config-checklist.md +0 -42
- package/skills/bpmax-feishu-chat-flow-plugin-editor/references/config-recipes.md +0 -38
- package/skills/bpmax-feishu-chat-flow-plugin-editor/references/config-shape.md +0 -86
- package/skills/bpmax-feishu-chat-flow-plugin-editor/references/gate-lint.md +0 -68
- package/skills/bpmax-feishu-chat-flow-plugin-editor/references/hoocoo-patterns.md +0 -39
- package/skills/bpmax-feishu-chat-flow-plugin-editor/references/runtime-behavior.md +0 -41
- package/skills/bpmax-feishu-chat-flow-plugin-editor/references/script-authoring.md +0 -110
- package/skills/bpmax-feishu-chat-flow-plugin-editor/scripts/lint_feishu_chat_plugin.py +0 -278
- package/skills/bpmax-feishu-chat-flow-plugin-editor/tests/test_lint_feishu_chat_plugin.py +0 -203
- package/skills/bpmax-filter-template-editor/SKILL.md +0 -564
- package/skills/bpmax-filter-template-editor/references/experience-coverage-matrix.md +0 -38
- package/skills/bpmax-filter-template-editor/references/filter-and-flow-binding.md +0 -57
- package/skills/bpmax-filter-template-editor/references/filter-content-schema.md +0 -141
- package/skills/bpmax-filter-template-editor/references/filter-request-shape.md +0 -287
- package/skills/bpmax-filter-template-editor/references/filter-runtime-patterns.md +0 -115
- package/skills/bpmax-filter-template-editor/references/runtime-verified-filter-page-shape.md +0 -94
- package/skills/bpmax-filter-template-editor/scripts/build_submit_payload.py +0 -25
- package/skills/bpmax-filter-template-editor/scripts/confirm_filter_template.py +0 -22
- package/skills/bpmax-filter-template-editor/scripts/export_filter_template.py +0 -57
- package/skills/bpmax-filter-template-editor/scripts/filter_template_editor_common.py +0 -348
- package/skills/bpmax-filter-template-editor/scripts/init_create_filter_template.py +0 -8
- package/skills/bpmax-filter-template-editor/scripts/lint_filter_template_semantics.py +0 -26
- package/skills/bpmax-filter-template-editor/scripts/submit_filter_template.py +0 -62
- package/skills/bpmax-filter-template-editor/tests/test_filter_template_editor.py +0 -231
- package/skills/bpmax-flow-template-editor/SKILL.md +0 -1058
- package/skills/bpmax-flow-template-editor/agents/openai.yaml +0 -4
- package/skills/bpmax-flow-template-editor/references/before-next-step-script-runtime-gotchas.md +0 -62
- package/skills/bpmax-flow-template-editor/references/config-surfaces-and-placeholders.md +0 -270
- package/skills/bpmax-flow-template-editor/references/diff-strategy.md +0 -67
- package/skills/bpmax-flow-template-editor/references/editor-runtime-vs-draft.md +0 -25
- package/skills/bpmax-flow-template-editor/references/flow-template-api-workflow.md +0 -174
- package/skills/bpmax-flow-template-editor/references/intent-model.md +0 -117
- package/skills/bpmax-flow-template-editor/references/lessons-from-price-plan-flow.md +0 -147
- package/skills/bpmax-flow-template-editor/references/local-temp-workflow.md +0 -97
- package/skills/bpmax-flow-template-editor/references/matrix-flow-form-nav-collaboration.md +0 -165
- package/skills/bpmax-flow-template-editor/references/payload-checklist.md +0 -133
- package/skills/bpmax-flow-template-editor/references/project-create-runtime-gotchas.md +0 -54
- package/skills/bpmax-flow-template-editor/references/requirement-to-node-mapping.md +0 -149
- package/skills/bpmax-flow-template-editor/references/runtime-verified-flow-detail-shape.md +0 -41
- package/skills/bpmax-flow-template-editor/references/runtime-verified-meta-fields.md +0 -155
- package/skills/bpmax-flow-template-editor/references/runtime-verified-node-fields.md +0 -179
- package/skills/bpmax-flow-template-editor/references/save-draft-request-shape.md +0 -91
- package/skills/bpmax-flow-template-editor/references/script-review-hard-rules.md +0 -93
- package/skills/bpmax-flow-template-editor/references/work-file-to-submit-mapping.md +0 -57
- package/skills/bpmax-flow-template-editor/scripts/build_submit_payload.py +0 -69
- package/skills/bpmax-flow-template-editor/scripts/confirm_flow_template.py +0 -52
- package/skills/bpmax-flow-template-editor/scripts/export_flow_template.py +0 -114
- package/skills/bpmax-flow-template-editor/scripts/flow_template_editor_common.py +0 -1084
- package/skills/bpmax-flow-template-editor/scripts/submit_flow_template.py +0 -159
- package/skills/bpmax-flow-template-editor/tests/test_flow_template_editor.py +0 -636
- package/skills/bpmax-form-template-editor/SKILL.md +0 -1099
- package/skills/bpmax-form-template-editor/agents/openai.yaml +0 -4
- package/skills/bpmax-form-template-editor/references/form-template-api-workflow.md +0 -203
- package/skills/bpmax-form-template-editor/references/local-temp-workflow.md +0 -125
- package/skills/bpmax-form-template-editor/references/payload-checklist.md +0 -77
- package/skills/bpmax-form-template-editor/references/sub-form-patterns.md +0 -49
- package/skills/bpmax-form-template-editor/scripts/build_submit_payload.py +0 -37
- package/skills/bpmax-form-template-editor/scripts/check_form_template_consistency.py +0 -145
- package/skills/bpmax-form-template-editor/scripts/confirm_form_template.py +0 -67
- package/skills/bpmax-form-template-editor/scripts/export_form_template.py +0 -91
- package/skills/bpmax-form-template-editor/scripts/form_template_editor_common.py +0 -1762
- package/skills/bpmax-form-template-editor/scripts/lint_form_template_semantics.py +0 -30
- package/skills/bpmax-form-template-editor/scripts/record_runtime_acceptance.py +0 -67
- package/skills/bpmax-form-template-editor/scripts/submit_form_template.py +0 -163
- package/skills/bpmax-form-template-editor/tests/test_form_template_editor.py +0 -1292
- package/skills/bpmax-list-template-editor/SKILL.md +0 -468
- package/skills/bpmax-list-template-editor/agents/openai.yaml +0 -4
- package/skills/bpmax-list-template-editor/references/browser-page-contract.md +0 -81
- package/skills/bpmax-list-template-editor/references/content-config-shape.md +0 -148
- package/skills/bpmax-list-template-editor/references/dataset-field-mapping.md +0 -60
- package/skills/bpmax-list-template-editor/references/list-template-api-workflow.md +0 -103
- package/skills/bpmax-list-template-editor/references/local-temp-workflow.md +0 -102
- package/skills/bpmax-list-template-editor/references/payload-checklist.md +0 -47
- package/skills/bpmax-list-template-editor/references/runtime-verified-workflow.md +0 -140
- package/skills/bpmax-list-template-editor/references/special-formats.md +0 -394
- package/skills/bpmax-list-template-editor/scripts/build_submit_payload.py +0 -37
- package/skills/bpmax-list-template-editor/scripts/confirm_list_template.py +0 -33
- package/skills/bpmax-list-template-editor/scripts/export_list_template.py +0 -89
- package/skills/bpmax-list-template-editor/scripts/fetch_data_set.py +0 -34
- package/skills/bpmax-list-template-editor/scripts/lint_list_template_semantics.py +0 -54
- package/skills/bpmax-list-template-editor/scripts/list_template_editor_common.py +0 -955
- package/skills/bpmax-list-template-editor/scripts/record_acceptance.py +0 -55
- package/skills/bpmax-list-template-editor/scripts/submit_list_template.py +0 -117
- package/skills/bpmax-list-template-editor/tests/test_list_template_editor_common.py +0 -441
- package/skills/bpmax-memory-protocol/SKILL.md +0 -72
- package/skills/bpmax-nav-config-editor/SKILL.md +0 -347
- package/skills/bpmax-nav-config-editor/agents/openai.yaml +0 -4
- package/skills/bpmax-nav-config-editor/references/api-workflow.md +0 -68
- package/skills/bpmax-nav-config-editor/references/config-shape.md +0 -78
- package/skills/bpmax-nav-config-editor/references/icon-selection.md +0 -83
- package/skills/bpmax-nav-config-editor/references/path-mapping-rules.md +0 -46
- package/skills/bpmax-nav-config-editor/references/payload-checklist.md +0 -41
- package/skills/bpmax-nav-config-editor/references/runtime-probing.md +0 -47
- package/skills/bpmax-nav-config-editor/scripts/build_submit_payload.py +0 -34
- package/skills/bpmax-nav-config-editor/scripts/confirm_nav_config.py +0 -32
- package/skills/bpmax-nav-config-editor/scripts/export_nav_config.py +0 -56
- package/skills/bpmax-nav-config-editor/scripts/lint_nav_config_semantics.py +0 -33
- package/skills/bpmax-nav-config-editor/scripts/nav_config_editor_common.py +0 -812
- package/skills/bpmax-nav-config-editor/scripts/submit_nav_config.py +0 -44
- package/skills/bpmax-nav-config-editor/scripts/verify_nav_config.py +0 -33
- package/skills/bpmax-nav-config-editor/tests/test_nav_config_editor.py +0 -358
- package/skills/bpmax-nav-config-editor/tests/test_nav_config_editor_common.py +0 -138
- package/skills/bpmax-nav-config-editor/tests/test_nav_config_lint.py +0 -58
- package/skills/bpmax-nav-config-editor/tests/test_nav_config_submit_verify.py +0 -51
- package/skills/bpmax-project-detail-template-editor/SKILL.md +0 -329
- package/skills/bpmax-project-detail-template-editor/agents/openai.yaml +0 -4
- package/skills/bpmax-project-detail-template-editor/references/local-temp-workflow.md +0 -59
- package/skills/bpmax-project-detail-template-editor/references/module-catalog-and-config-notes.md +0 -47
- package/skills/bpmax-project-detail-template-editor/references/payload-checklist.md +0 -33
- package/skills/bpmax-project-detail-template-editor/references/project-detail-template-api-workflow.md +0 -44
- package/skills/bpmax-project-detail-template-editor/scripts/build_submit_payload.py +0 -30
- package/skills/bpmax-project-detail-template-editor/scripts/confirm_project_detail_template.py +0 -33
- package/skills/bpmax-project-detail-template-editor/scripts/export_project_detail_template.py +0 -87
- package/skills/bpmax-project-detail-template-editor/scripts/lint_project_detail_template_semantics.py +0 -37
- package/skills/bpmax-project-detail-template-editor/scripts/project_detail_template_editor_common.py +0 -507
- package/skills/bpmax-project-detail-template-editor/scripts/submit_project_detail_template.py +0 -120
- package/skills/bpmax-project-detail-template-editor/tests/test_project_detail_template_editor.py +0 -369
- package/skills/bpmax-role-editor/SKILL.md +0 -251
- package/skills/bpmax-role-editor/references/api-workflow.md +0 -30
- package/skills/bpmax-role-editor/references/runtime-page-shape.md +0 -18
- package/skills/bpmax-role-editor/references/work-file-mapping.md +0 -32
- package/skills/bpmax-role-editor/scripts/build_submit_payload.py +0 -38
- package/skills/bpmax-role-editor/scripts/confirm_role.py +0 -33
- package/skills/bpmax-role-editor/scripts/export_role.py +0 -163
- package/skills/bpmax-role-editor/scripts/lint_role_semantics.py +0 -38
- package/skills/bpmax-role-editor/scripts/role_editor_common.py +0 -1231
- package/skills/bpmax-role-editor/scripts/submit_role.py +0 -144
- package/skills/bpmax-role-editor/tests/test_role_editor.py +0 -343
- package/skills/bpmax-user-mock-operator/SKILL.md +0 -106
- package/skills/bpmax-user-mock-operator/agents/openai.yaml +0 -4
- package/skills/bpmax-user-mock-operator/scripts/switch_user_identity.py +0 -37
- package/skills/bpmax-user-mock-operator/scripts/user_mock_operator_common.py +0 -136
- package/skills/bpmax-user-mock-operator/tests/test_user_mock_operator.py +0 -138
- package/skills/form-control-library/SKILL.md +0 -82
- package/skills/form-control-library/agents/openai.yaml +0 -4
- package/skills/form-control-library/references/form-controls.md +0 -199
- package/skills/form-control-library/references/form-template-submit-schema.md +0 -180
- package/skills/form-control-library/references/group-select-runtime.md +0 -191
- package/skills/form-control-library/scripts/rebuild_form_control_library.py +0 -55
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# API Proxy Shape
|
|
2
|
-
|
|
3
|
-
## API 对象核心字段
|
|
4
|
-
- `id`
|
|
5
|
-
- `api_platform_guid`
|
|
6
|
-
- `api_key`
|
|
7
|
-
- `name`
|
|
8
|
-
- `status`
|
|
9
|
-
- `version`
|
|
10
|
-
- `method`
|
|
11
|
-
- `path`
|
|
12
|
-
- `request_schema`
|
|
13
|
-
- `response_schema`
|
|
14
|
-
- `request_example`
|
|
15
|
-
- `response_example`
|
|
16
|
-
- `description`
|
|
17
|
-
- `guid`
|
|
18
|
-
|
|
19
|
-
## `request_schema` 结构
|
|
20
|
-
- `header`
|
|
21
|
-
- `path_params`
|
|
22
|
-
- `query_params`
|
|
23
|
-
- `body_params`
|
|
24
|
-
|
|
25
|
-
每个参数节点常见结构:
|
|
26
|
-
- `properties.name`
|
|
27
|
-
- `properties.type`
|
|
28
|
-
- `properties.required`
|
|
29
|
-
- `properties.description`
|
|
30
|
-
- `properties.api_params_index`
|
|
31
|
-
|
|
32
|
-
## 当前已验证 API 编辑页依赖
|
|
33
|
-
- `api_proxy_entity_binding/preset_functions`
|
|
34
|
-
- `entity?page_size=1000`
|
|
35
|
-
- `api_proxy_entity_binding?q_proxy_guid=<guid>&q_direction=response`
|
|
36
|
-
|
|
37
|
-
## 处理原则
|
|
38
|
-
- API schema 负责参数定义、示例、文档和代理入口。
|
|
39
|
-
- 响应映射不是 `response_schema` 的别名;涉及映射时必须同时检查 `api_proxy_entity_binding`。
|
|
40
|
-
- 如果只是变更签名、默认头、特殊编码方式,优先考虑实例层而不是 API 层。
|
|
41
|
-
- 文档调试页会基于 `request_schema` 自动生成参数区,因此改 schema 后必须用文档页复测。
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# Instance Config Shape
|
|
2
|
-
|
|
3
|
-
## 实例对象核心字段
|
|
4
|
-
- `id`
|
|
5
|
-
- `name`
|
|
6
|
-
- `instance_key`
|
|
7
|
-
- `api_platform_guid`
|
|
8
|
-
- `env_type`
|
|
9
|
-
- `auth_type`
|
|
10
|
-
- `description`
|
|
11
|
-
- `config_schema`
|
|
12
|
-
- `on_setup_script`
|
|
13
|
-
- `on_request_script`
|
|
14
|
-
- `on_response_script`
|
|
15
|
-
- `on_error_script`
|
|
16
|
-
- `guid`
|
|
17
|
-
|
|
18
|
-
## `config_schema` 关键结构
|
|
19
|
-
- `auth.type`
|
|
20
|
-
- `baseUrl`
|
|
21
|
-
- `timeout`
|
|
22
|
-
- `maxRetries`
|
|
23
|
-
- `customParams`
|
|
24
|
-
- `defaultHeaders`
|
|
25
|
-
|
|
26
|
-
## 当前已验证实例事实
|
|
27
|
-
- `dynamic` 平台当前至少有两个实例:
|
|
28
|
-
- `d365_dev`
|
|
29
|
-
- `d365_test`
|
|
30
|
-
- 测试实例 `d365_test` 当前已存在真实 `on_request_script`
|
|
31
|
-
- 该脚本已包含:
|
|
32
|
-
- `crypto` 签名
|
|
33
|
-
- `sign`
|
|
34
|
-
- `timestamp`
|
|
35
|
-
- `ipaasAuthorization`
|
|
36
|
-
- 针对终端门店分页接口的 `datajson` 包装逻辑
|
|
37
|
-
|
|
38
|
-
## 处理原则
|
|
39
|
-
- 涉及环境差异、认证、签名、特殊请求体包装时,优先改实例,不要先改单条 API。
|
|
40
|
-
- 只要改了实例脚本,必须走 API 文档页复测。
|
|
41
|
-
- `customParams` 和 `defaultHeaders` 适合存环境参数;脚本适合处理签名和请求改写。
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
# Platform API Map
|
|
2
|
-
|
|
3
|
-
## 本地镜像
|
|
4
|
-
- 平台镜像目录:`think_api_platform/`
|
|
5
|
-
- API 镜像目录:`think_api_proxy/`
|
|
6
|
-
- `dynamic` 当前对应平台名 `D365`
|
|
7
|
-
|
|
8
|
-
## 线上对象分层
|
|
9
|
-
- 平台层:`api_platform`
|
|
10
|
-
- 实例层:`api_platform_instance`
|
|
11
|
-
- API 层:`api_proxy`
|
|
12
|
-
- API 扩展层:`api_proxy_entity_binding`
|
|
13
|
-
|
|
14
|
-
## 已验证读取接口
|
|
15
|
-
- 平台列表页:
|
|
16
|
-
- `GET /api/api_platform/categories`
|
|
17
|
-
- `GET /api/api_platform/dashboard/stats`
|
|
18
|
-
- `GET /api/api_platform/batch_stats`
|
|
19
|
-
- `GET /api/api_platform?page=1&page_size=10&q_category=<category>`
|
|
20
|
-
- 平台详情页:
|
|
21
|
-
- `GET /api/api_platform?q_platform_key=<platform_key>`
|
|
22
|
-
- `GET /api/api_platform_instance?api_platform_guid=<guid>`
|
|
23
|
-
- `GET /api/api_proxy?api_platform_guid=<guid>&page=1&page_size=10`
|
|
24
|
-
- `GET /api/api_proxy/platform_stats?api_platform_guid=<guid>`
|
|
25
|
-
- `GET /api/api_proxy/log/callers?instance_key=<k1>,<k2>`
|
|
26
|
-
- `GET /api/api_proxy/log/list?instance_key=<k1>,<k2>&page=1&page_size=20`
|
|
27
|
-
- `GET /api/api_proxy/log/stats?instance_key=<k1>,<k2>`
|
|
28
|
-
- 实例编辑页:
|
|
29
|
-
- `GET /api/api_platform/by_key/<platform_key>`
|
|
30
|
-
- `GET /api/api_platform_instance/<id>`
|
|
31
|
-
- API 编辑页:
|
|
32
|
-
- `GET /api/api_platform/by_key/<platform_key>`
|
|
33
|
-
- `GET /api/api_proxy/<id>`
|
|
34
|
-
- `GET /api/api_platform_instance?api_platform_guid=<guid>`
|
|
35
|
-
- `GET /api/api_proxy_entity_binding/preset_functions`
|
|
36
|
-
- `GET /api/entity?page_size=1000`
|
|
37
|
-
- `GET /api/api_proxy_entity_binding?q_proxy_guid=<guid>&q_direction=response`
|
|
38
|
-
- API 文档页:
|
|
39
|
-
- `GET /api/api_platform/by_key/<platform_key>`
|
|
40
|
-
- `GET /api/api_proxy/<id>`
|
|
41
|
-
- `GET /api/api_platform_instance?api_platform_guid=<guid>`
|
|
42
|
-
|
|
43
|
-
## 当前已验证页面
|
|
44
|
-
- 平台列表页:`/w:store_mgr/link_system`
|
|
45
|
-
- 平台详情页:`/w:store_mgr/link_system/detail?system=dynamic`
|
|
46
|
-
- 实例编辑页:`/w:store_mgr/link_system/instance/edit?system=dynamic&id=4`
|
|
47
|
-
- API 编辑页:`/w:store_mgr/link_system/api/edit?system=dynamic&id=14`
|
|
48
|
-
- API 文档页:`/w:store_mgr/api-docs/system_api/18?system=dynamic`
|
|
49
|
-
|
|
50
|
-
## 说明
|
|
51
|
-
- 页面读到的线上对象优先级高于本地 `think_api_*` 镜像。
|
|
52
|
-
- 写接口未在本参考中硬编码;实际编辑时必须先抓页面真实保存请求。
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# Runtime Workflow
|
|
2
|
-
|
|
3
|
-
## 推荐执行顺序
|
|
4
|
-
1. 识别当前页面属于平台、实例、API 还是文档调试页。
|
|
5
|
-
2. 检索 Mem0 和本地镜像,找已有平台、实例、API 骨架。
|
|
6
|
-
3. 读取线上真实对象。
|
|
7
|
-
4. 明确本次变更落在哪一层。
|
|
8
|
-
5. 以真实返回体或真实保存请求骨架构造改动。
|
|
9
|
-
6. 保存后立刻回读线上对象。
|
|
10
|
-
7. 打开文档调试页完成真实调试。
|
|
11
|
-
8. 必要时再查看调用日志页补充证据。
|
|
12
|
-
9. 把稳定经验和反模式写回 Mem0。
|
|
13
|
-
|
|
14
|
-
## 分层决策规则
|
|
15
|
-
- 平台层:
|
|
16
|
-
- 改平台名、分类、平台描述、图标、平台状态
|
|
17
|
-
- 实例层:
|
|
18
|
-
- 改环境、基础 URL、超时、重试、默认头、自定义参数、四类脚本
|
|
19
|
-
- API 层:
|
|
20
|
-
- 改方法、路径、schema、示例、描述、响应映射
|
|
21
|
-
|
|
22
|
-
## 验收口径
|
|
23
|
-
- 读取成功不算完成。
|
|
24
|
-
- 页面显示成功不算完成。
|
|
25
|
-
- 必须同时满足:
|
|
26
|
-
- 线上对象回读符合预期
|
|
27
|
-
- 文档调试页真实请求符合预期
|
|
28
|
-
|
|
29
|
-
## 暂未固化的内容
|
|
30
|
-
- 平台、实例、API 的写接口路径和最终 payload 形状
|
|
31
|
-
|
|
32
|
-
这些内容必须在实际保存动作发生时,从浏览器真实请求中提取,再按事实更新 skill。
|