@mcp-abap-adt/core 18.0.0 → 19.0.0

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.
Files changed (131) hide show
  1. package/README.md +26 -5
  2. package/bin/mcp-abap-adt.js +15 -15
  3. package/dist/StdioServer.d.ts +68 -14
  4. package/dist/StdioServer.d.ts.map +1 -1
  5. package/dist/StdioServer.js +101 -31
  6. package/dist/StdioServer.js.map +1 -1
  7. package/dist/auth/IAuthBrokerFactory.d.ts +62 -0
  8. package/dist/auth/IAuthBrokerFactory.d.ts.map +1 -0
  9. package/dist/auth/IAuthBrokerFactory.js +8 -0
  10. package/dist/auth/IAuthBrokerFactory.js.map +1 -0
  11. package/dist/auth/IAuthBrokerFactoryConfig.d.ts +90 -0
  12. package/dist/auth/IAuthBrokerFactoryConfig.d.ts.map +1 -0
  13. package/dist/auth/IAuthBrokerFactoryConfig.js +8 -0
  14. package/dist/auth/IAuthBrokerFactoryConfig.js.map +1 -0
  15. package/dist/auth/brokerFactory.d.ts +93 -0
  16. package/dist/auth/brokerFactory.d.ts.map +1 -0
  17. package/dist/auth/brokerFactory.js +341 -0
  18. package/dist/auth/brokerFactory.js.map +1 -0
  19. package/dist/auth/browser.d.ts +60 -0
  20. package/dist/auth/browser.d.ts.map +1 -0
  21. package/dist/auth/browser.js +116 -0
  22. package/dist/auth/browser.js.map +1 -0
  23. package/dist/auth/countedProvider.d.ts +43 -0
  24. package/dist/auth/countedProvider.d.ts.map +1 -0
  25. package/dist/auth/countedProvider.js +105 -0
  26. package/dist/auth/countedProvider.js.map +1 -0
  27. package/dist/auth/destinationFailure.d.ts +69 -0
  28. package/dist/auth/destinationFailure.d.ts.map +1 -0
  29. package/dist/auth/destinationFailure.js +183 -0
  30. package/dist/auth/destinationFailure.js.map +1 -0
  31. package/dist/auth/destinationStores.d.ts +55 -0
  32. package/dist/auth/destinationStores.d.ts.map +1 -0
  33. package/dist/auth/destinationStores.js +158 -0
  34. package/dist/auth/destinationStores.js.map +1 -0
  35. package/dist/auth/handlers/basic.d.ts +3 -0
  36. package/dist/auth/handlers/basic.d.ts.map +1 -0
  37. package/dist/auth/handlers/basic.js +8 -0
  38. package/dist/auth/handlers/basic.js.map +1 -0
  39. package/dist/auth/handlers/index.d.ts +15 -0
  40. package/dist/auth/handlers/index.d.ts.map +1 -0
  41. package/dist/auth/handlers/index.js +32 -0
  42. package/dist/auth/handlers/index.js.map +1 -0
  43. package/dist/auth/handlers/jwtAuthorizationCode.d.ts +8 -0
  44. package/dist/auth/handlers/jwtAuthorizationCode.d.ts.map +1 -0
  45. package/dist/auth/handlers/jwtAuthorizationCode.js +32 -0
  46. package/dist/auth/handlers/jwtAuthorizationCode.js.map +1 -0
  47. package/dist/auth/handlers/snc.d.ts +3 -0
  48. package/dist/auth/handlers/snc.d.ts.map +1 -0
  49. package/dist/auth/handlers/snc.js +14 -0
  50. package/dist/auth/handlers/snc.js.map +1 -0
  51. package/dist/auth/handlers/types.d.ts +30 -0
  52. package/dist/auth/handlers/types.d.ts.map +1 -0
  53. package/dist/auth/handlers/types.js +3 -0
  54. package/dist/auth/handlers/types.js.map +1 -0
  55. package/dist/auth/index.d.ts +15 -0
  56. package/dist/auth/index.d.ts.map +1 -0
  57. package/dist/auth/index.js +38 -0
  58. package/dist/auth/index.js.map +1 -0
  59. package/dist/auth/serverLogin.d.ts +75 -0
  60. package/dist/auth/serverLogin.d.ts.map +1 -0
  61. package/dist/auth/serverLogin.js +138 -0
  62. package/dist/auth/serverLogin.js.map +1 -0
  63. package/dist/auth/serverSentences.d.ts +39 -0
  64. package/dist/auth/serverSentences.d.ts.map +1 -0
  65. package/dist/auth/serverSentences.js +49 -0
  66. package/dist/auth/serverSentences.js.map +1 -0
  67. package/dist/auth/vocabulary.d.ts +28 -0
  68. package/dist/auth/vocabulary.d.ts.map +1 -0
  69. package/dist/auth/vocabulary.js +67 -0
  70. package/dist/auth/vocabulary.js.map +1 -0
  71. package/dist/config/coreParameters.d.ts +125 -0
  72. package/dist/config/coreParameters.d.ts.map +1 -0
  73. package/dist/config/coreParameters.js +331 -0
  74. package/dist/config/coreParameters.js.map +1 -0
  75. package/dist/config/envFileContext.d.ts +26 -0
  76. package/dist/config/envFileContext.d.ts.map +1 -0
  77. package/dist/config/envFileContext.js +90 -0
  78. package/dist/config/envFileContext.js.map +1 -0
  79. package/dist/config/envResolver.d.ts +6 -0
  80. package/dist/config/envResolver.d.ts.map +1 -0
  81. package/dist/config/envResolver.js +81 -0
  82. package/dist/config/envResolver.js.map +1 -0
  83. package/dist/config/platformPaths.d.ts +28 -0
  84. package/dist/config/platformPaths.d.ts.map +1 -0
  85. package/dist/config/platformPaths.js +152 -0
  86. package/dist/config/platformPaths.js.map +1 -0
  87. package/dist/destinationSource.d.ts +26 -0
  88. package/dist/destinationSource.d.ts.map +1 -0
  89. package/dist/destinationSource.js +43 -0
  90. package/dist/destinationSource.js.map +1 -0
  91. package/dist/index.d.ts +9 -5
  92. package/dist/index.d.ts.map +1 -1
  93. package/dist/index.js +16 -11
  94. package/dist/index.js.map +1 -1
  95. package/dist/launcher.d.ts +102 -59
  96. package/dist/launcher.d.ts.map +1 -1
  97. package/dist/launcher.js +419 -286
  98. package/dist/launcher.js.map +1 -1
  99. package/dist/shutdown.d.ts +76 -24
  100. package/dist/shutdown.d.ts.map +1 -1
  101. package/dist/shutdown.js +114 -57
  102. package/dist/shutdown.js.map +1 -1
  103. package/package.json +22 -39
  104. package/dist/InstancePool.d.ts +0 -87
  105. package/dist/InstancePool.d.ts.map +0 -1
  106. package/dist/InstancePool.js +0 -240
  107. package/dist/InstancePool.js.map +0 -1
  108. package/dist/SseServer.d.ts +0 -144
  109. package/dist/SseServer.d.ts.map +0 -1
  110. package/dist/SseServer.js +0 -359
  111. package/dist/SseServer.js.map +0 -1
  112. package/dist/StreamableHttpServer.d.ts +0 -143
  113. package/dist/StreamableHttpServer.d.ts.map +0 -1
  114. package/dist/StreamableHttpServer.js +0 -349
  115. package/dist/StreamableHttpServer.js.map +0 -1
  116. package/dist/destinationRequest.d.ts +0 -38
  117. package/dist/destinationRequest.d.ts.map +0 -1
  118. package/dist/destinationRequest.js +0 -85
  119. package/dist/destinationRequest.js.map +0 -1
  120. package/dist/dnsRebindingProtection.d.ts +0 -21
  121. package/dist/dnsRebindingProtection.d.ts.map +0 -1
  122. package/dist/dnsRebindingProtection.js +0 -45
  123. package/dist/dnsRebindingProtection.js.map +0 -1
  124. package/dist/stateClose.d.ts +0 -8
  125. package/dist/stateClose.d.ts.map +0 -1
  126. package/dist/stateClose.js +0 -14
  127. package/dist/stateClose.js.map +0 -1
  128. package/dist/tlsUtils.d.ts +0 -19
  129. package/dist/tlsUtils.d.ts.map +0 -1
  130. package/dist/tlsUtils.js +0 -77
  131. package/dist/tlsUtils.js.map +0 -1
@@ -1,9 +1,13 @@
1
- import type { ILogger } from '@mcp-abap-adt/interfaces-utils';
2
- import { type IAuthBrokerFactoryConfig } from '@mcp-abap-adt/lib/auth';
3
- import type { HandlerSet, IServerConfig } from '@mcp-abap-adt/lib/config';
4
- import type { HandlerContext, IHandlerGroup } from '@mcp-abap-adt/lib/handlers';
1
+ import type { IBrowser } from '@mcp-abap-adt/interfaces-auth';
2
+ import { type LauncherEdges, type MessageServerField } from '@mcp-abap-adt/lib/config';
5
3
  import { type StateLogger } from '@mcp-abap-adt/lib/state';
4
+ import { type ToolSet } from '@mcp-abap-adt/lib/tool-set';
5
+ import type { Transport } from '@modelcontextprotocol/sdk/shared/transport.js';
6
+ import { AuthBrokerFactory, type IAuthBrokerFactoryConfig } from './auth';
7
+ import { type CoreConfig } from './config/coreParameters';
6
8
  import { type ShutdownProcess } from './shutdown.js';
9
+ /** The one line `--auth-debug` prints at the start. */
10
+ export declare const AUTH_DEBUG_WARNING = "[MCP] --auth-debug is on: a refused token request's debug line on stderr names the first and last four characters of each secret it sent";
7
11
  /**
8
12
  * The state's lifecycle lines — the idle bound's end of a state, a cleanup
9
13
  * that failed — on stderr whatever DEBUG_AUTH_LOG says: they are what an
@@ -11,42 +15,37 @@ import { type ShutdownProcess } from './shutdown.js';
11
15
  */
12
16
  export declare const stateLoggerForTransport: StateLogger;
13
17
  /**
14
- * What a command may add to the tool list this launcher serves.
15
- *
16
- * `@mcp-abap-adt/compact` is a second command over the same server: same config,
17
- * same transports, same auth, a different DECOMPOSITION of the tool list. Rather
18
- * than copy four hundred lines of launcher into it, it calls `main` with its own
19
- * groups. `exposition` decides the sets this package knows (`readonly`, `high`,
20
- * `low`), and `extraGroups` adds what it does not — so the compact command passes
21
- * an exposition of its own and its two halves, and nothing about the flags changes
22
- * here.
18
+ * core's help: its own table (no HTTP or SSE option), the set's TOOLS
19
+ * section, the environment. A sibling command (`mcp-abap-adt-ro`,
20
+ * `mcp-abap-adt-compact`, `mcp-abap-adt-compact-ro`) passes its own set and
21
+ * name.
23
22
  */
24
- export interface LauncherOptions {
25
- /** Built against the launcher's own base context, once, at startup. */
26
- extraGroups?: (context: HandlerContext) => IHandlerGroup[];
27
- /** Overrides the configured exposition, for a command with a fixed tool list. */
28
- exposition?: readonly HandlerSet[];
29
- /** The command's own name, for USAGE in `--help`. */
23
+ export declare function coreHelp(options?: {
24
+ toolSet?: ToolSet;
30
25
  program?: string;
31
- /**
32
- * Replaces the HANDLER EXPOSITION section of `--help`.
33
- *
34
- * A sibling command has its own sets — `mcp-abap-adt-compact` takes `ro` and
35
- * `rw` over the compact facade — and parses them itself before calling here.
36
- */
37
- helpExposition?: string;
38
- /**
39
- * Whether the search tools join the list. They always do for `mcp-abap-adt`;
40
- * a command whose whole point is a tool list of a known size says `false`.
41
- */
42
- includeSearch?: boolean;
43
- /**
44
- * The version `initialize` reports in `serverInfo`. Defaults to core's own; a
45
- * sibling command passes ITS version, as it does for `--version`.
46
- */
47
- version?: string;
26
+ }): string;
27
+ /**
28
+ * What a command passes core's launcher: the tools it
29
+ * serves, and its own name and version — nothing else. Everything the
30
+ * launcher does — options, the destination, credentials, cancellation,
31
+ * failures, shutdown — is stdio's, the same for any tool set:
32
+ * `mcp-abap-adt` passes `fullToolSet`, `mcp-abap-adt-ro` `fullReadOnlyToolSet`,
33
+ * `mcp-abap-adt-compact` and `mcp-abap-adt-compact-ro` the compact sets.
34
+ */
35
+ export interface LauncherOptions {
36
+ /** The tools served: fixed by the command, never by a flag. */
37
+ toolSet: ToolSet;
38
+ /** The command's own name: USAGE in `--help`, the `--conf` template's header. */
39
+ program: string;
40
+ /** The version `--version` and `initialize` report: the command's own package's. */
41
+ version: string;
48
42
  }
49
- export declare function main(options?: LauncherOptions): Promise<void>;
43
+ /** The process as core's `main` meets it: lib's edges, and the MCP transport. */
44
+ export interface StdioLauncherEdges extends LauncherEdges {
45
+ /** The MCP transport; stdio unless a host passes its own (a test's). */
46
+ transport?: Transport;
47
+ }
48
+ export declare function main(options: LauncherOptions, edges?: StdioLauncherEdges): Promise<void>;
50
49
  /** What the launcher takes from the program: the process's edges, and the login strategy. */
51
50
  export interface LauncherDeps {
52
51
  /** auth-providers' `browserCallbackStrategy` in the program (Ruling 1). */
@@ -56,40 +55,84 @@ export interface LauncherDeps {
56
55
  exit: (code: number) => void;
57
56
  /** Where the shutdown listens: `process` in the program. */
58
57
  processLike: ShutdownProcess;
58
+ /** The platform `--browser` is mapped for; `process.platform` when absent. */
59
+ platform?: string;
60
+ /** The MCP transport; stdio when absent. */
61
+ transport?: Transport;
59
62
  }
60
63
  /** The connection type: see {@link effectiveFromEnvironment}. */
61
- export declare function effectiveConnectionType(config: IServerConfig, env: NodeJS.ProcessEnv): IServerConfig['connectionType'];
64
+ export declare function effectiveConnectionType(config: CoreConfig, env: NodeJS.ProcessEnv): CoreConfig['connectionType'];
65
+ /**
66
+ * The message server's fields (RFC, connection 18), each as
67
+ * {@link effectiveFromEnvironment} reads the connection type: the CLI, then
68
+ * the process environment — which by now holds what the env file states,
69
+ * never over a value set before — then YAML. Taken as given, trimmed; no
70
+ * default, no check: connection refuses what it cannot dial.
71
+ */
72
+ export declare function effectiveMessageServer(config: CoreConfig, env: NodeJS.ProcessEnv): Pick<CoreConfig, MessageServerField>;
62
73
  /**
63
74
  * The system type: see {@link effectiveFromEnvironment}. The parser no longer
64
75
  * writes it into the environment, where it used to sit before the env file
65
76
  * was read and so beat the file's SAP_SYSTEM_TYPE even from YAML.
66
77
  */
67
- export declare function effectiveSystemType(config: IServerConfig, env: NodeJS.ProcessEnv): IServerConfig['systemType'];
78
+ export declare function effectiveSystemType(config: CoreConfig, env: NodeJS.ProcessEnv): CoreConfig['systemType'];
68
79
  /**
69
- * The login strategy, with prompts that reach the user. auth-providers'
70
- * strategy speaks to the user through the request's logger — the URL to open
71
- * under `--browser=none`/`headless`, or `auto` when it could not open one — and
72
- * that logger is the broker's, silent unless DEBUG_AUTH_LOG is set. A prompt
73
- * the user cannot see makes the login impassable: it times out.
74
- *
75
- * So the strategy gets its own logger: `info`, the level the strategy prompts
76
- * at, is a line on stderr always; `warn`, `error` and `debug` stay the
77
- * broker's — diagnostics, gated, and they may quote an error's message (H4).
78
- * Not "no logger" (auth-providers then writes prompts to stderr itself): that
79
- * would also drop those diagnostics under DEBUG_AUTH_LOG. Never stdout (H3).
80
+ * The factory's configuration, read from the parameters and the browser the
81
+ * launcher mapped (`browserFor`). The callback port is left to the strategy
82
+ * (61001) when none is given; the env file carries the parameter it came
83
+ * from, as the user gave it.
84
+ */
85
+ export declare function factoryConfigFrom(config: CoreConfig, collaborators: Pick<IAuthBrokerFactoryConfig, 'browserStrategy' | 'logger' | 'promptLogger'> & {
86
+ browser?: IBrowser | undefined;
87
+ browserUnavailable?: string | undefined;
88
+ }): IAuthBrokerFactoryConfig;
89
+ /**
90
+ * The start's words for a system that gave no information where it must
91
+ * (ABAP Cloud): a problem of the ABAP system with a valid configuration.
92
+ */
93
+ export declare function startLookupFailedWords(destination: string): string;
94
+ /**
95
+ * The start's words for a destination whose system kind no parameter states.
96
+ */
97
+ export declare function startSystemTypeRequiredWords(destination: string): string;
98
+ /**
99
+ * The start's words for an ABAP Cloud destination whose system has no
100
+ * systeminformation endpoint (`404`): the configuration is inconsistent.
80
101
  */
81
- export declare function promptsOnStderr(browserStrategy: IAuthBrokerFactoryConfig['browserStrategy'], stderr: (line: string) => void, diagnostics: ILogger): IAuthBrokerFactoryConfig['browserStrategy'];
102
+ export declare function startCloudWithoutSystemInformationWords(destination: string): string;
82
103
  /**
83
- * The factory's configuration, read from the parameters alone. The callback
84
- * port is left to the strategy (61001) when none is given; the env file
85
- * carries the parameter it came from, as the user gave it.
104
+ * The start's words for an on-premise system that gave no information
105
+ * whose destination states no user.
86
106
  */
87
- export declare function factoryConfigFrom(config: IServerConfig, collaborators: Pick<IAuthBrokerFactoryConfig, 'browserStrategy' | 'logger'>): IAuthBrokerFactoryConfig;
107
+ export declare function startSystemUserUnknownWords(destination: string): string;
108
+ /**
109
+ * The words the connection at start failed in: what the failure reader
110
+ * makes of it (a chain failure, the server's own refusal — a system lookup
111
+ * that failed — or the destination layer's), else the destination, the
112
+ * error's class and the status SAP answered — never its message.
113
+ */
114
+ export declare function startConnectionWords(error: unknown, destination: string, factory: Pick<AuthBrokerFactory, 'sentenceFor'>, platform: string): string;
88
115
  /**
89
116
  * Everything after the parameters are read: the tool list, one factory, the
90
- * destination the process serves checked and summarised, the transport, and
91
- * the shutdown. A destination that cannot be served stops the start before
92
- * any transport does.
117
+ * destination the process serves checked and summarised, the shutdown, the
118
+ * connection born (`connectAtStart`: the destination's one leftover session
119
+ * taken up, or a logon — a browser login included — with the system
120
+ * information), and only then the transport. A destination that cannot be
121
+ * served, a logon or resume that fails, a system lookup that fails: each
122
+ * ends the process with exit `1` and the failure's words on stderr, before
123
+ * any transport opens.
124
+ *
125
+ * No exit and no rejection comes before the logoffs are answered: a start
126
+ * that fails after its logon exits `1` only once SAP answered the logoff
127
+ * (`logOffAtOnce`: every connection the process owns logged off, each
128
+ * logoff followed to its answer, no timer), and a launch that rejects — the
129
+ * bin's exit follows — rejects only then. SAP ends a security session only
130
+ * once it received the logoff whole.
131
+ */
132
+ export declare function launch(config: CoreConfig, options: LauncherOptions, deps: LauncherDeps): Promise<void>;
133
+ /**
134
+ * The launcher's last line when `main()` rejects: fixed words and auth-errors'
135
+ * `logFields` of what the value classifies as — never its message.
93
136
  */
94
- export declare function launch(config: IServerConfig, options: LauncherOptions, deps: LauncherDeps): Promise<void>;
137
+ export declare function launcherFailedLine(thrown: unknown): string;
95
138
  //# sourceMappingURL=launcher.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"launcher.d.ts","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EAML,KAAK,wBAAwB,EAE9B,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAM1E,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAWhF,OAAO,EAAE,KAAK,WAAW,EAAqB,MAAM,yBAAyB,CAAC;AAS9E,OAAO,EAAmB,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAmBtE;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,EAAE,WAA+B,CAAC;AAyKtE;;;;;;;;;;GAUG;AACH,MAAM,WAAW,eAAe;IAC9B,uEAAuE;IACvE,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,aAAa,EAAE,CAAC;IAC3D,iFAAiF;IACjF,UAAU,CAAC,EAAE,SAAS,UAAU,EAAE,CAAC;IACnC,qDAAqD;IACrD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,wBAAsB,IAAI,CAAC,OAAO,GAAE,eAAoB,iBAqB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