mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-07-18 16:49:41 +03:00
5ec21f24b4
Layer 1 of the skd-decompile plan: SKILL.md with disable-model-invocation, ps1 skeleton with XML→JSON pipeline, namespace probe for non-DCS root, sentinel/warnings accumulator, and DataSetQuery extraction (query only). Test case minimal-query demonstrates round-trip via skd-compile preRun. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
20 lines
728 B
JSON
20 lines
728 B
JSON
{
|
|
"name": "Минимальный СКД с одним DataSetQuery",
|
|
"preRun": [
|
|
{
|
|
"script": "skd-compile/scripts/skd-compile",
|
|
"input": {
|
|
"dataSets": [{
|
|
"name": "НаборДанных1",
|
|
"query": "ВЫБРАТЬ Номенклатура.Наименование КАК Наименование ИЗ Справочник.Номенклатура КАК Номенклатура",
|
|
"fields": ["Наименование"]
|
|
}]
|
|
},
|
|
"args": { "-DefinitionFile": "{inputFile}", "-OutputPath": "Template.xml" },
|
|
"cwd": "{workDir}"
|
|
}
|
|
],
|
|
"params": { "templatePath": "Template.xml" },
|
|
"expect": { "stdoutContains": "НаборДанных1" }
|
|
}
|