@cspeach/cli 1.1.2 → 1.1.3
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/agent/loop.js +22 -4
- package/dist/agent/session-context.js +24 -0
- package/dist/agent/tool-dispatch.js +17 -1
- package/dist/cli-args.js +24 -0
- package/dist/cli.js +33 -4
- package/dist/commands/config-set.js +139 -4
- package/dist/config/loader.js +34 -0
- package/dist/cost/pricing.js +4 -0
- package/dist/doctor/checks/_standalone-skip.js +37 -0
- package/dist/doctor/checks/cert.js +5 -0
- package/dist/doctor/checks/forge-rules.js +6 -0
- package/dist/doctor/checks/sap.js +5 -0
- package/dist/doctor/checks/standards.js +27 -0
- package/dist/doctor/checks/system-roles.js +5 -0
- package/dist/doctor/checks/zcspeach.js +5 -0
- package/dist/doctor/run.js +2 -0
- package/dist/one-shot.js +36 -11
- package/dist/repl.js +36 -7
- package/dist/sap/offline-adt-client.js +58 -0
- package/dist/sap/standalone-onboarding.js +118 -0
- package/dist/sap/standalone-profile.js +237 -0
- package/dist/standards/standards-file.js +107 -0
- package/dist/standards/standards-init.js +194 -0
- package/dist/tools/capability/tool.js +2 -0
- package/dist/tools/index.js +25 -0
- package/dist/tools/sap-read.js +18 -0
- package/dist/tools/sap-write.js +14 -0
- package/dist/tools/snapshot.js +3 -0
- package/dist/tools/transport.js +4 -0
- package/package.json +109 -109
package/package.json
CHANGED
|
@@ -1,109 +1,109 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@cspeach/cli",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "CSPeach — AI-assisted ABAP development CLI. Direct SAP access, 34 skills, safety gates.",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"abap",
|
|
7
|
-
"sap",
|
|
8
|
-
"ai",
|
|
9
|
-
"cli",
|
|
10
|
-
"ai-assisted-development",
|
|
11
|
-
"s4hana",
|
|
12
|
-
"abap-development",
|
|
13
|
-
"claude",
|
|
14
|
-
"anthropic"
|
|
15
|
-
],
|
|
16
|
-
"homepage": "https://cspeach.dev",
|
|
17
|
-
"bugs": {
|
|
18
|
-
"email": "laeeq.siddique@cremencing.com"
|
|
19
|
-
},
|
|
20
|
-
"author": "Laeeq Siddique (Cremencing Solutions)",
|
|
21
|
-
"license": "SEE LICENSE IN LICENSE",
|
|
22
|
-
"private": false,
|
|
23
|
-
"publishConfig": {
|
|
24
|
-
"access": "public"
|
|
25
|
-
},
|
|
26
|
-
"type": "module",
|
|
27
|
-
"bin": {
|
|
28
|
-
"cspeach": "dist/index.js"
|
|
29
|
-
},
|
|
30
|
-
"scripts": {
|
|
31
|
-
"dev": "tsx src/index.ts",
|
|
32
|
-
"prebuild": "tsx scripts/prebuild.ts",
|
|
33
|
-
"build": "tsc && node scripts/make-bin-executable.js",
|
|
34
|
-
"install:global": "tsx scripts/install-global.ts",
|
|
35
|
-
"pretest": "tsx scripts/sync-signing-key.ts || node -e \"console.warn('WARN: sync-signing-key skipped — using stub')\"",
|
|
36
|
-
"start": "node dist/index.js",
|
|
37
|
-
"typecheck": "tsc --noEmit",
|
|
38
|
-
"test": "vitest run",
|
|
39
|
-
"test:watch": "vitest",
|
|
40
|
-
"adt:smoke": "tsx scripts/adt-smoke.ts",
|
|
41
|
-
"smoke:all": "pnpm zcspeach:smoke && pnpm adt:smoke",
|
|
42
|
-
"zcspeach:smoke": "tsx scripts/zcspeach-smoke.ts",
|
|
43
|
-
"bench:models": "tsx scripts/bench-models.ts",
|
|
44
|
-
"bench:audit": "tsx scripts/bench-audit-task.ts",
|
|
45
|
-
"fiori": "tsx src/tools/fiori/bin.ts",
|
|
46
|
-
"prepare": "husky",
|
|
47
|
-
"prepublishOnly": "node -e \"const d=(require('./package.json').dependencies||{})['@cspeach/sap-client']||''; if(d.startsWith('file:')||d.startsWith('link:')){console.error('publish blocked: @cspeach/sap-client is a local link ('+d+') — point it at the published version before npm publish'); process.exit(1)}\""
|
|
48
|
-
},
|
|
49
|
-
"engines": {
|
|
50
|
-
"node": ">=20.0.0"
|
|
51
|
-
},
|
|
52
|
-
"dependencies": {
|
|
53
|
-
"@anthropic-ai/sdk": "^0.90.0",
|
|
54
|
-
"@cspeach/sap-client": "^0.1.11",
|
|
55
|
-
"@iarna/toml": "^2.2.5",
|
|
56
|
-
"@inkjs/ui": "^2.0.0",
|
|
57
|
-
"@inquirer/prompts": "^7.0.0",
|
|
58
|
-
"@noble/ed25519": "2.1.0",
|
|
59
|
-
"@noble/hashes": "1.4.0",
|
|
60
|
-
"@sap-ux/fe-fpm-writer": "0.43.7",
|
|
61
|
-
"@sap-ux/fiori-elements-writer": "^3.0.39",
|
|
62
|
-
"@sap-ux/fiori-freestyle-writer": "3.0.12",
|
|
63
|
-
"chalk": "^5.3.0",
|
|
64
|
-
"cli-highlight": "^2.1.11",
|
|
65
|
-
"cli-table3": "^0.6.5",
|
|
66
|
-
"clipboardy": "^5.3.1",
|
|
67
|
-
"cross-spawn": "^7.0.6",
|
|
68
|
-
"diff": "^9.0.0",
|
|
69
|
-
"ejs": "3.1.10",
|
|
70
|
-
"fuse.js": "^7.0.0",
|
|
71
|
-
"ink": "^5.0.0",
|
|
72
|
-
"ink-text-input": "^6.0.0",
|
|
73
|
-
"jose": "^5.9.0",
|
|
74
|
-
"keytar": "^7.9.0",
|
|
75
|
-
"mammoth": "^1.8.0",
|
|
76
|
-
"marked": "^11.2.0",
|
|
77
|
-
"marked-terminal": "^6.2.0",
|
|
78
|
-
"mem-fs": "2.1.0",
|
|
79
|
-
"mem-fs-editor": "9.4.0",
|
|
80
|
-
"node-machine-id": "^1.1.12",
|
|
81
|
-
"openai": "4.67.3",
|
|
82
|
-
"puppeteer-core": "24.10.2",
|
|
83
|
-
"react": "^18.3.0",
|
|
84
|
-
"turndown": "^7.2.0",
|
|
85
|
-
"unpdf": "^0.12.1",
|
|
86
|
-
"zod": "^3.23.0"
|
|
87
|
-
},
|
|
88
|
-
"devDependencies": {
|
|
89
|
-
"@types/cross-spawn": "^6.0.6",
|
|
90
|
-
"@types/diff": "^7.0.2",
|
|
91
|
-
"@types/ejs": "^3.1.5",
|
|
92
|
-
"@types/node": "^20.17.0",
|
|
93
|
-
"@types/react": "^18.3.0",
|
|
94
|
-
"@types/turndown": "^5.0.5",
|
|
95
|
-
"docx": "^9.0.2",
|
|
96
|
-
"husky": "^9.1.7",
|
|
97
|
-
"ink-testing-library": "^4.0.0",
|
|
98
|
-
"pdf-lib": "^1.17.1",
|
|
99
|
-
"tsx": "^4.19.0",
|
|
100
|
-
"typescript": "^5.7.0",
|
|
101
|
-
"vitest": "^2.1.0"
|
|
102
|
-
},
|
|
103
|
-
"pnpm": {
|
|
104
|
-
"onlyBuiltDependencies": [
|
|
105
|
-
"keytar",
|
|
106
|
-
"esbuild"
|
|
107
|
-
]
|
|
108
|
-
}
|
|
109
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@cspeach/cli",
|
|
3
|
+
"version": "1.1.3",
|
|
4
|
+
"description": "CSPeach — AI-assisted ABAP development CLI. Direct SAP access, 34 skills, safety gates.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"abap",
|
|
7
|
+
"sap",
|
|
8
|
+
"ai",
|
|
9
|
+
"cli",
|
|
10
|
+
"ai-assisted-development",
|
|
11
|
+
"s4hana",
|
|
12
|
+
"abap-development",
|
|
13
|
+
"claude",
|
|
14
|
+
"anthropic"
|
|
15
|
+
],
|
|
16
|
+
"homepage": "https://cspeach.dev",
|
|
17
|
+
"bugs": {
|
|
18
|
+
"email": "laeeq.siddique@cremencing.com"
|
|
19
|
+
},
|
|
20
|
+
"author": "Laeeq Siddique (Cremencing Solutions)",
|
|
21
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
22
|
+
"private": false,
|
|
23
|
+
"publishConfig": {
|
|
24
|
+
"access": "public"
|
|
25
|
+
},
|
|
26
|
+
"type": "module",
|
|
27
|
+
"bin": {
|
|
28
|
+
"cspeach": "dist/index.js"
|
|
29
|
+
},
|
|
30
|
+
"scripts": {
|
|
31
|
+
"dev": "tsx src/index.ts",
|
|
32
|
+
"prebuild": "tsx scripts/prebuild.ts",
|
|
33
|
+
"build": "tsc && node scripts/make-bin-executable.js",
|
|
34
|
+
"install:global": "tsx scripts/install-global.ts",
|
|
35
|
+
"pretest": "tsx scripts/sync-signing-key.ts || node -e \"console.warn('WARN: sync-signing-key skipped — using stub')\"",
|
|
36
|
+
"start": "node dist/index.js",
|
|
37
|
+
"typecheck": "tsc --noEmit",
|
|
38
|
+
"test": "vitest run",
|
|
39
|
+
"test:watch": "vitest",
|
|
40
|
+
"adt:smoke": "tsx scripts/adt-smoke.ts",
|
|
41
|
+
"smoke:all": "pnpm zcspeach:smoke && pnpm adt:smoke",
|
|
42
|
+
"zcspeach:smoke": "tsx scripts/zcspeach-smoke.ts",
|
|
43
|
+
"bench:models": "tsx scripts/bench-models.ts",
|
|
44
|
+
"bench:audit": "tsx scripts/bench-audit-task.ts",
|
|
45
|
+
"fiori": "tsx src/tools/fiori/bin.ts",
|
|
46
|
+
"prepare": "husky",
|
|
47
|
+
"prepublishOnly": "node -e \"const d=(require('./package.json').dependencies||{})['@cspeach/sap-client']||''; if(d.startsWith('file:')||d.startsWith('link:')){console.error('publish blocked: @cspeach/sap-client is a local link ('+d+') — point it at the published version before npm publish'); process.exit(1)}\""
|
|
48
|
+
},
|
|
49
|
+
"engines": {
|
|
50
|
+
"node": ">=20.0.0"
|
|
51
|
+
},
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"@anthropic-ai/sdk": "^0.90.0",
|
|
54
|
+
"@cspeach/sap-client": "^0.1.11",
|
|
55
|
+
"@iarna/toml": "^2.2.5",
|
|
56
|
+
"@inkjs/ui": "^2.0.0",
|
|
57
|
+
"@inquirer/prompts": "^7.0.0",
|
|
58
|
+
"@noble/ed25519": "2.1.0",
|
|
59
|
+
"@noble/hashes": "1.4.0",
|
|
60
|
+
"@sap-ux/fe-fpm-writer": "0.43.7",
|
|
61
|
+
"@sap-ux/fiori-elements-writer": "^3.0.39",
|
|
62
|
+
"@sap-ux/fiori-freestyle-writer": "3.0.12",
|
|
63
|
+
"chalk": "^5.3.0",
|
|
64
|
+
"cli-highlight": "^2.1.11",
|
|
65
|
+
"cli-table3": "^0.6.5",
|
|
66
|
+
"clipboardy": "^5.3.1",
|
|
67
|
+
"cross-spawn": "^7.0.6",
|
|
68
|
+
"diff": "^9.0.0",
|
|
69
|
+
"ejs": "3.1.10",
|
|
70
|
+
"fuse.js": "^7.0.0",
|
|
71
|
+
"ink": "^5.0.0",
|
|
72
|
+
"ink-text-input": "^6.0.0",
|
|
73
|
+
"jose": "^5.9.0",
|
|
74
|
+
"keytar": "^7.9.0",
|
|
75
|
+
"mammoth": "^1.8.0",
|
|
76
|
+
"marked": "^11.2.0",
|
|
77
|
+
"marked-terminal": "^6.2.0",
|
|
78
|
+
"mem-fs": "2.1.0",
|
|
79
|
+
"mem-fs-editor": "9.4.0",
|
|
80
|
+
"node-machine-id": "^1.1.12",
|
|
81
|
+
"openai": "4.67.3",
|
|
82
|
+
"puppeteer-core": "24.10.2",
|
|
83
|
+
"react": "^18.3.0",
|
|
84
|
+
"turndown": "^7.2.0",
|
|
85
|
+
"unpdf": "^0.12.1",
|
|
86
|
+
"zod": "^3.23.0"
|
|
87
|
+
},
|
|
88
|
+
"devDependencies": {
|
|
89
|
+
"@types/cross-spawn": "^6.0.6",
|
|
90
|
+
"@types/diff": "^7.0.2",
|
|
91
|
+
"@types/ejs": "^3.1.5",
|
|
92
|
+
"@types/node": "^20.17.0",
|
|
93
|
+
"@types/react": "^18.3.0",
|
|
94
|
+
"@types/turndown": "^5.0.5",
|
|
95
|
+
"docx": "^9.0.2",
|
|
96
|
+
"husky": "^9.1.7",
|
|
97
|
+
"ink-testing-library": "^4.0.0",
|
|
98
|
+
"pdf-lib": "^1.17.1",
|
|
99
|
+
"tsx": "^4.19.0",
|
|
100
|
+
"typescript": "^5.7.0",
|
|
101
|
+
"vitest": "^2.1.0"
|
|
102
|
+
},
|
|
103
|
+
"pnpm": {
|
|
104
|
+
"onlyBuiltDependencies": [
|
|
105
|
+
"keytar",
|
|
106
|
+
"esbuild"
|
|
107
|
+
]
|
|
108
|
+
}
|
|
109
|
+
}
|