@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.
@@ -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);
@@ -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.35",
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.20",
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",