@cspeach/cli 1.1.35 → 1.1.37
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/.gitattributes +1 -0
- package/dist/agent/loop.js +6 -0
- package/dist/agent/parallel-write-guard.js +3 -1
- package/dist/commands/plan-audit-evidence.js +6 -1
- package/dist/commands/plan-gate.js +10 -1
- package/dist/commands/plan-resume.js +9 -0
- package/dist/one-shot.js +3 -0
- package/dist/projects/extract-plan.js +6 -0
- package/dist/projects/plan-objects.js +1 -1
- package/dist/projects/plan-skeleton.js +93 -0
- package/dist/projects/save-command.js +17 -0
- package/dist/rap/finish-checks.js +389 -0
- package/dist/rap/generator-names.js +57 -0
- package/dist/rap/skeleton-card.js +31 -0
- package/dist/rap/skeleton-rules.js +38 -0
- package/dist/rap/skeleton-session.js +21 -0
- package/dist/rap/skeleton-store.js +40 -0
- package/dist/renderer/tool-labels.js +4 -1
- package/dist/repl/rule8-detector.js +3 -2
- package/dist/repl.js +5 -2
- package/dist/rewind/restore.js +3 -1
- package/dist/sap/generator-fact.js +21 -0
- package/dist/sap/session-end.js +5 -0
- package/dist/session/audit-export.js +19 -1
- package/dist/tools/rap/finish-check.js +118 -0
- package/dist/tools/rap/generate-objects.js +317 -0
- package/dist/tools/rap/skeleton-resolve.js +283 -0
- package/dist/tools/sap-read.js +2 -1
- package/dist/tools/sap-write.js +4 -1
- package/dist/tools/tool-loading.js +7 -1
- package/dist/tools/verify.js +8 -0
- package/dist/tools/write-mode.js +2 -0
- package/package.json +2 -2
package/dist/tools/verify.js
CHANGED
|
@@ -86,12 +86,20 @@ export function normaliseSyntaxResult(res) {
|
|
|
86
86
|
* check once more with version="active" and require a processed report.
|
|
87
87
|
* Anything else — an inactive version exists, the list is unreadable, the
|
|
88
88
|
* retry is not processed — rethrows the original error (fail closed).
|
|
89
|
+
*
|
|
90
|
+
* TABL is NOT retried here (live-check finding 3, 2026-10-14): sap-client
|
|
91
|
+
* checks tables itself with an explicit chkrun:version ("inactive", then one
|
|
92
|
+
* "active" retry on notProcessed), so its "did not run" is already final.
|
|
93
|
+
* BDEF, DDLX and SRVD keep this retry until sap-client covers them too.
|
|
89
94
|
*/
|
|
95
|
+
const SAP_CLIENT_VERSIONED_TYPES = new Set(['TABL']);
|
|
90
96
|
export async function checkSyntax(adt, type, name) {
|
|
91
97
|
try {
|
|
92
98
|
return await adt.syntaxCheck(type, name);
|
|
93
99
|
}
|
|
94
100
|
catch (err) {
|
|
101
|
+
if (SAP_CLIENT_VERSIONED_TYPES.has(type.toUpperCase()))
|
|
102
|
+
throw err;
|
|
95
103
|
if (!/did not run \(status notProcessed\)/i.test(String(err?.message ?? err)))
|
|
96
104
|
throw err;
|
|
97
105
|
const retried = await checkActiveVersion(adt, type, name).catch(() => undefined);
|
package/dist/tools/write-mode.js
CHANGED
|
@@ -21,6 +21,8 @@ export const WRITE_TOOLS = new Set([
|
|
|
21
21
|
'sap_service_binding_publish',
|
|
22
22
|
'sap_service_binding_unpublish',
|
|
23
23
|
'sap_transport_release',
|
|
24
|
+
// Final review I2 — SAP's RAP generator creates the skeleton objects.
|
|
25
|
+
'sap_generate_objects',
|
|
24
26
|
]);
|
|
25
27
|
export function isWriteTool(name) {
|
|
26
28
|
return WRITE_TOOLS.has(name);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cspeach/cli",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.37",
|
|
4
4
|
"description": "CSPeach — AI-assisted ABAP development CLI. Direct SAP access, signed skills, safety gates.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"abap",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@anthropic-ai/sdk": "^0.90.0",
|
|
55
55
|
"@azure/msal-node": "6.0.1",
|
|
56
56
|
"@cspeach/register-core": "0.4.0",
|
|
57
|
-
"@cspeach/sap-client": "0.1.
|
|
57
|
+
"@cspeach/sap-client": "0.1.22",
|
|
58
58
|
"@iarna/toml": "^2.2.5",
|
|
59
59
|
"@inkjs/ui": "^2.0.0",
|
|
60
60
|
"@inquirer/prompts": "^7.0.0",
|