@abyss-project/main 13.1.0 → 13.3.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 (105) hide show
  1. package/dist/api/index.d.ts +5 -0
  2. package/dist/api/index.js +5 -0
  3. package/dist/api/index.js.map +1 -1
  4. package/dist/api/mcp-connection.admin.api.d.ts +4 -0
  5. package/dist/api/mcp-connection.admin.api.js +13 -0
  6. package/dist/api/mcp-connection.admin.api.js.map +1 -0
  7. package/dist/api/mcp-connection.api.d.ts +8 -0
  8. package/dist/api/mcp-connection.api.js +31 -0
  9. package/dist/api/mcp-connection.api.js.map +1 -0
  10. package/dist/api/mcp-tool.admin.api.d.ts +2 -0
  11. package/dist/api/mcp-tool.admin.api.js +9 -0
  12. package/dist/api/mcp-tool.admin.api.js.map +1 -0
  13. package/dist/api/oauth-authorization-request.api.d.ts +4 -0
  14. package/dist/api/oauth-authorization-request.api.js +14 -0
  15. package/dist/api/oauth-authorization-request.api.js.map +1 -0
  16. package/dist/api/organization-mcp-connection.api.d.ts +6 -0
  17. package/dist/api/organization-mcp-connection.api.js +21 -0
  18. package/dist/api/organization-mcp-connection.api.js.map +1 -0
  19. package/dist/constants/index.d.ts +1 -0
  20. package/dist/constants/index.js +1 -0
  21. package/dist/constants/index.js.map +1 -1
  22. package/dist/constants/mcp.constants.d.ts +13 -0
  23. package/dist/constants/mcp.constants.js +69 -0
  24. package/dist/constants/mcp.constants.js.map +1 -0
  25. package/dist/index.d.ts +32 -0
  26. package/dist/index.js +32 -0
  27. package/dist/index.js.map +1 -1
  28. package/dist/translate/en.translate.d.ts +8 -0
  29. package/dist/translate/en.translate.js +8 -0
  30. package/dist/translate/en.translate.js.map +1 -1
  31. package/dist/translate/fr.translate.d.ts +8 -0
  32. package/dist/translate/fr.translate.js +8 -0
  33. package/dist/translate/fr.translate.js.map +1 -1
  34. package/dist/translate/tests/mcp-connection-notifications.spec.d.ts +1 -0
  35. package/dist/translate/tests/mcp-connection-notifications.spec.js +50 -0
  36. package/dist/translate/tests/mcp-connection-notifications.spec.js.map +1 -0
  37. package/dist/types/enum/api-error.enum.d.ts +10 -1
  38. package/dist/types/enum/api-error.enum.js +9 -0
  39. package/dist/types/enum/api-error.enum.js.map +1 -1
  40. package/dist/types/enum/index.d.ts +2 -0
  41. package/dist/types/enum/index.js +2 -0
  42. package/dist/types/enum/index.js.map +1 -1
  43. package/dist/types/enum/mcp-oauth.enum.d.ts +12 -0
  44. package/dist/types/enum/mcp-oauth.enum.js +19 -0
  45. package/dist/types/enum/mcp-oauth.enum.js.map +1 -0
  46. package/dist/types/enum/mcp.enum.d.ts +49 -0
  47. package/dist/types/enum/mcp.enum.js +62 -0
  48. package/dist/types/enum/mcp.enum.js.map +1 -0
  49. package/dist/types/enum/user-notification-category.enum.js +2 -0
  50. package/dist/types/enum/user-notification-category.enum.js.map +1 -1
  51. package/dist/types/enum/user-notification-content-type.enum.d.ts +15 -0
  52. package/dist/types/enum/user-notification-content-type.enum.js +3 -1
  53. package/dist/types/enum/user-notification-content-type.enum.js.map +1 -1
  54. package/dist/types/interface/api/index.d.ts +4 -0
  55. package/dist/types/interface/api/index.js +4 -0
  56. package/dist/types/interface/api/index.js.map +1 -1
  57. package/dist/types/interface/api/requests/index.d.ts +2 -0
  58. package/dist/types/interface/api/requests/index.js +2 -0
  59. package/dist/types/interface/api/requests/index.js.map +1 -1
  60. package/dist/types/interface/api/requests/mcp-connection.request.d.ts +55 -0
  61. package/dist/types/interface/api/requests/mcp-connection.request.js +3 -0
  62. package/dist/types/interface/api/requests/mcp-connection.request.js.map +1 -0
  63. package/dist/types/interface/api/requests/oauth-authorization-request.request.d.ts +14 -0
  64. package/dist/types/interface/api/requests/oauth-authorization-request.request.js +3 -0
  65. package/dist/types/interface/api/requests/oauth-authorization-request.request.js.map +1 -0
  66. package/dist/types/interface/api/responses/index.d.ts +2 -0
  67. package/dist/types/interface/api/responses/index.js +2 -0
  68. package/dist/types/interface/api/responses/index.js.map +1 -1
  69. package/dist/types/interface/api/responses/mcp-connection.response.d.ts +106 -0
  70. package/dist/types/interface/api/responses/mcp-connection.response.js +3 -0
  71. package/dist/types/interface/api/responses/mcp-connection.response.js.map +1 -0
  72. package/dist/types/interface/api/responses/oauth-authorization-request.response.d.ts +10 -0
  73. package/dist/types/interface/api/responses/oauth-authorization-request.response.js +3 -0
  74. package/dist/types/interface/api/responses/oauth-authorization-request.response.js.map +1 -0
  75. package/dist/types/interface/index.d.ts +3 -0
  76. package/dist/types/interface/index.js +3 -0
  77. package/dist/types/interface/index.js.map +1 -1
  78. package/dist/types/interface/mcp/abyss-mcp-tool.types.d.ts +15 -0
  79. package/dist/types/interface/mcp/abyss-mcp-tool.types.js +3 -0
  80. package/dist/types/interface/mcp/abyss-mcp-tool.types.js.map +1 -0
  81. package/dist/types/interface/mcp/index.d.ts +4 -0
  82. package/dist/types/interface/mcp/index.js +21 -0
  83. package/dist/types/interface/mcp/index.js.map +1 -0
  84. package/dist/types/interface/mcp/mcp-oauth.d.ts +16 -0
  85. package/dist/types/interface/mcp/mcp-oauth.js +3 -0
  86. package/dist/types/interface/mcp/mcp-oauth.js.map +1 -0
  87. package/dist/types/interface/mcp/mcp-tool-call.d.ts +26 -0
  88. package/dist/types/interface/mcp/mcp-tool-call.js +3 -0
  89. package/dist/types/interface/mcp/mcp-tool-call.js.map +1 -0
  90. package/dist/types/interface/mcp/mcp-tool-descriptor.d.ts +15 -0
  91. package/dist/types/interface/mcp/mcp-tool-descriptor.js +3 -0
  92. package/dist/types/interface/mcp/mcp-tool-descriptor.js.map +1 -0
  93. package/dist/types/interface/models/index.d.ts +2 -0
  94. package/dist/types/interface/models/index.js +2 -0
  95. package/dist/types/interface/models/index.js.map +1 -1
  96. package/dist/types/interface/models/mcp-connection-read.model.d.ts +15 -0
  97. package/dist/types/interface/models/mcp-connection-read.model.js +3 -0
  98. package/dist/types/interface/models/mcp-connection-read.model.js.map +1 -0
  99. package/dist/types/interface/models/mcp-connection.model.d.ts +28 -0
  100. package/dist/types/interface/models/mcp-connection.model.js +3 -0
  101. package/dist/types/interface/models/mcp-connection.model.js.map +1 -0
  102. package/dist/types/tests/mcp-contract.spec.d.ts +1 -0
  103. package/dist/types/tests/mcp-contract.spec.js +102 -0
  104. package/dist/types/tests/mcp-contract.spec.js.map +1 -0
  105. package/package.json +2 -1
@@ -48,3 +48,5 @@ export * from './user.admin.response';
48
48
  export * from './user.response';
49
49
  export * from './user-sidebar-pin.response';
50
50
  export * from './session.response';
51
+ export * from './mcp-connection.response';
52
+ export * from './oauth-authorization-request.response';
@@ -64,4 +64,6 @@ __exportStar(require("./user.admin.response"), exports);
64
64
  __exportStar(require("./user.response"), exports);
65
65
  __exportStar(require("./user-sidebar-pin.response"), exports);
66
66
  __exportStar(require("./session.response"), exports);
67
+ __exportStar(require("./mcp-connection.response"), exports);
68
+ __exportStar(require("./oauth-authorization-request.response"), exports);
67
69
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AACjD,+DAA6C;AAC7C,yDAAuC;AACvC,mDAAiC;AACjC,kDAAgC;AAChC,6DAA2C;AAC3C,mEAAiD;AACjD,6DAA2C;AAC3C,0DAAwC;AACxC,wEAAsD;AACtD,iEAA+C;AAC/C,2DAAyC;AACzC,qDAAmC;AACnC,2DAAyC;AACzC,iEAA+C;AAC/C,6DAA2C;AAC3C,uDAAqC;AACrC,wDAAsC;AACtC,2DAAyC;AACzC,2DAAyC;AACzC,iDAA+B;AAC/B,qDAAmC;AACnC,8DAA4C;AAC5C,qDAAmC;AACnC,kEAAgD;AAChD,kFAAgE;AAChE,4EAA0D;AAC1D,iEAA+C;AAC/C,gEAA8C;AAC9C,0DAAwC;AACxC,mEAAiD;AACjD,sDAAoC;AACpC,kEAAgD;AAChD,4DAA0C;AAC1C,6DAA2C;AAC3C,8DAA4C;AAC5C,2DAAyC;AACzC,qDAAmC;AACnC,4DAA0C;AAC1C,kDAAgC;AAChC,iEAA+C;AAC/C,0DAAwC;AACxC,iEAA+C;AAC/C,iEAA+C;AAC/C,qEAAmD;AACnD,+DAA6C;AAC7C,wDAAsC;AACtC,kDAAgC;AAChC,8DAA4C;AAC5C,qDAAmC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AACjD,+DAA6C;AAC7C,yDAAuC;AACvC,mDAAiC;AACjC,kDAAgC;AAChC,6DAA2C;AAC3C,mEAAiD;AACjD,6DAA2C;AAC3C,0DAAwC;AACxC,wEAAsD;AACtD,iEAA+C;AAC/C,2DAAyC;AACzC,qDAAmC;AACnC,2DAAyC;AACzC,iEAA+C;AAC/C,6DAA2C;AAC3C,uDAAqC;AACrC,wDAAsC;AACtC,2DAAyC;AACzC,2DAAyC;AACzC,iDAA+B;AAC/B,qDAAmC;AACnC,8DAA4C;AAC5C,qDAAmC;AACnC,kEAAgD;AAChD,kFAAgE;AAChE,4EAA0D;AAC1D,iEAA+C;AAC/C,gEAA8C;AAC9C,0DAAwC;AACxC,mEAAiD;AACjD,sDAAoC;AACpC,kEAAgD;AAChD,4DAA0C;AAC1C,6DAA2C;AAC3C,8DAA4C;AAC5C,2DAAyC;AACzC,qDAAmC;AACnC,4DAA0C;AAC1C,kDAAgC;AAChC,iEAA+C;AAC/C,0DAAwC;AACxC,iEAA+C;AAC/C,iEAA+C;AAC/C,qEAAmD;AACnD,+DAA6C;AAC7C,wDAAsC;AACtC,kDAAgC;AAChC,8DAA4C;AAC5C,qDAAmC;AACnC,4DAA0C;AAC1C,yEAAuD"}
@@ -0,0 +1,106 @@
1
+ import type { McpApprovalStatus, McpConnectionKind, McpFunctionalScope, McpReadOutcome, McpResolutionInactiveReason, McpRevokedReason, McpScopeType, McpService } from '../../../enum/mcp.enum';
2
+ import type { McpOAuthClientSource } from '../../../enum/mcp-oauth.enum';
3
+ import type { BasePaginate } from '../type-message/base-paginate';
4
+ import type { IResponse } from '../type-message/response';
5
+ export interface IMcpConnectionSummary {
6
+ id: string;
7
+ name: string;
8
+ kind: McpConnectionKind;
9
+ scopeType: McpScopeType;
10
+ scopeId: string | null;
11
+ scopeName: string | null;
12
+ functionalScopes: McpFunctionalScope[] | null;
13
+ approvalStatus: McpApprovalStatus;
14
+ tokenLast4: string | null;
15
+ firstUsedAt: Date | null;
16
+ lastUsedAt: Date | null;
17
+ lastClientName: string | null;
18
+ lastClientVersion: string | null;
19
+ revokedAt: Date | null;
20
+ revokedReason: McpRevokedReason | null;
21
+ oauthClient: IMcpConnectionOAuthClient | null;
22
+ createdAt: Date;
23
+ }
24
+ export interface IMcpConnectionOAuthClient {
25
+ name: string;
26
+ host: string;
27
+ source: McpOAuthClientSource;
28
+ }
29
+ export interface IOrganizationMcpConnectionSummary extends IMcpConnectionSummary {
30
+ user: {
31
+ id: string;
32
+ alias: string;
33
+ };
34
+ }
35
+ export interface IMcpConnectionScopeOption {
36
+ type: McpScopeType;
37
+ id: string | null;
38
+ name: string | null;
39
+ services: McpService[];
40
+ approvalRequired: boolean;
41
+ }
42
+ export interface IMcpConnectionReadSummary {
43
+ id: string;
44
+ service: McpService;
45
+ tool: string;
46
+ outcome: McpReadOutcome;
47
+ itemCount: number | null;
48
+ durationMs: number;
49
+ createdAt: Date;
50
+ }
51
+ export interface IListMcpConnectionData {
52
+ mcpConnections: IMcpConnectionSummary[];
53
+ }
54
+ export type IListMcpConnectionResponse = IResponse<IListMcpConnectionData>;
55
+ export interface IListScopesMcpConnectionData {
56
+ mcpUrl: string;
57
+ scopes: IMcpConnectionScopeOption[];
58
+ }
59
+ export type IListScopesMcpConnectionResponse = IResponse<IListScopesMcpConnectionData>;
60
+ export interface ICreateMcpConnectionData {
61
+ token: string;
62
+ connection: IMcpConnectionSummary;
63
+ }
64
+ export type ICreateMcpConnectionResponse = IResponse<ICreateMcpConnectionData>;
65
+ export interface IGetMcpConnectionData {
66
+ connection: IMcpConnectionSummary;
67
+ }
68
+ export type IGetMcpConnectionResponse = IResponse<IGetMcpConnectionData>;
69
+ export interface IPaginateReadsMcpConnectionData extends BasePaginate<IMcpConnectionReadSummary> {
70
+ }
71
+ export type IPaginateReadsMcpConnectionResponse = IResponse<IPaginateReadsMcpConnectionData>;
72
+ export type IRevokeMcpConnectionResponse = void;
73
+ export interface IListOrganizationMcpConnectionData {
74
+ mcpConnections: IOrganizationMcpConnectionSummary[];
75
+ }
76
+ export type IListOrganizationMcpConnectionResponse = IResponse<IListOrganizationMcpConnectionData>;
77
+ export interface IApproveOrganizationMcpConnectionData {
78
+ connection: IOrganizationMcpConnectionSummary;
79
+ }
80
+ export type IApproveOrganizationMcpConnectionResponse = IResponse<IApproveOrganizationMcpConnectionData>;
81
+ export interface IRejectOrganizationMcpConnectionData {
82
+ connection: IOrganizationMcpConnectionSummary;
83
+ }
84
+ export type IRejectOrganizationMcpConnectionResponse = IResponse<IRejectOrganizationMcpConnectionData>;
85
+ export type IRevokeOrganizationMcpConnectionResponse = void;
86
+ export interface IMcpActiveResolution {
87
+ active: true;
88
+ connectionId: string;
89
+ userId: string;
90
+ kind: McpConnectionKind;
91
+ scope: {
92
+ type: McpScopeType;
93
+ id: string | null;
94
+ name: string | null;
95
+ };
96
+ functionalScopes: McpFunctionalScope[];
97
+ services: McpService[];
98
+ }
99
+ export interface IMcpInactiveResolution {
100
+ active: false;
101
+ reason: McpResolutionInactiveReason;
102
+ retryAfterSeconds?: number;
103
+ }
104
+ export type IMcpResolution = IMcpActiveResolution | IMcpInactiveResolution;
105
+ export type IResolveMcpConnectionAdminResponse = IResponse<IMcpResolution>;
106
+ export type IRecordReadMcpConnectionAdminResponse = void;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=mcp-connection.response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcp-connection.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/mcp-connection.response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ import type { IMcpOAuthAuthorizationRequestView } from '../../mcp/mcp-oauth';
2
+ import type { IResponse } from '../type-message/response';
3
+ export interface IGetOAuthAuthorizationRequestData {
4
+ request: IMcpOAuthAuthorizationRequestView;
5
+ }
6
+ export type IGetOAuthAuthorizationRequestResponse = IResponse<IGetOAuthAuthorizationRequestData>;
7
+ export interface IDecideMcpOAuthAuthorizationRequestData {
8
+ redirectTo: string;
9
+ }
10
+ export type IDecideMcpOAuthAuthorizationRequestResponse = IResponse<IDecideMcpOAuthAuthorizationRequestData>;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=oauth-authorization-request.response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oauth-authorization-request.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/oauth-authorization-request.response.ts"],"names":[],"mappings":""}
@@ -72,3 +72,6 @@ export * from './models/admin-audit-log.model';
72
72
  export * from './quota-reservation-event';
73
73
  export * from './models/session.model';
74
74
  export * from './models/passkey.model';
75
+ export * from './models/mcp-connection.model';
76
+ export * from './models/mcp-connection-read.model';
77
+ export * from './mcp';
@@ -88,4 +88,7 @@ __exportStar(require("./models/admin-audit-log.model"), exports);
88
88
  __exportStar(require("./quota-reservation-event"), exports);
89
89
  __exportStar(require("./models/session.model"), exports);
90
90
  __exportStar(require("./models/passkey.model"), exports);
91
+ __exportStar(require("./models/mcp-connection.model"), exports);
92
+ __exportStar(require("./models/mcp-connection-read.model"), exports);
93
+ __exportStar(require("./mcp"), exports);
91
94
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/interface/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACp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AA8C;AAC9C,4EAA0D;AAC1D,6DAA2C;AAC3C,mEAAiD;AACjD,yEAAuD;AACvD,+DAA6C;AAC7C,+DAA6C;AAC7C,8DAA4C;AAC5C,mEAAiD;AACjD,oEAAkD;AAGlD,2DAAyC;AACzC,sEAAoD;AAGpD,wCAAsB;AAGtB,uDAAqC;AAGrC,wDAAsC;AACtC,gEAA8C;AAC9C,8DAA4C;AAC5C,oEAAkD;AAClD,8EAA4D;AAC5D,kFAAgE;AAGhE,8DAA4C;AAC5C,0EAAwD;AACxD,qEAAmD;AACnD,gFAA8D;AAC9D,mEAAiD;AAGjD,+DAA6C;AAC7C,iEAA+C;AAC/C,uEAAqD;AACrD,4EAA0D;AAC1D,4EAA0D;AAC1D,8DAA4C;AAC5C,yDAAuC;AACvC,8DAA4C;AAC5C,oEAAkD;AAClD,6DAA2C;AAC3C,oEAAkD;AAClD,iEAA+C;AAC/C,0EAAwD;AACxD,6DAA2C;AAC3C,sEAAoD;AACpD,mEAAiD;AACjD,mEAAiD;AACjD,kEAAgD;AAChD,qEAAmD;AACnD,wEAAsD;AACtD,+DAA6C;AAC7C,8DAA4C;AAC5C,qEAAmD;AACnD,sDAAoC;AACpC,6DAA2C;AAC3C,qEAAmD;AACnD,iFAA+D;AAC/D,iEAA+C;AAC/C,oFAAkE;AAGlE,kEAAgD;AAGhD,mEAAiD;AAGjD,+DAA6C;AAO7C,gEAA8C;AAG9C,gEAA8C;AAC9C,wEAAsD;AACtD,2EAAyD;AACzD,oEAAkD;AAClD,yEAAuD;AAGvD,4DAA0C;AAG1C,4DAA0C;AAG1C,qEAAmD;AAGnD,qEAAmD;AAGnD,kEAAgD;AAGhD,iEAA+C;AAC/C,4DAA0C;AAG1C,yDAAuC;AACvC,yDAAuC;AAGvC,gEAA8C;AAC9C,qEAAmD;AACnD,wCAAsB"}
@@ -0,0 +1,15 @@
1
+ import type { McpScopeType, McpService } from '../../enum/mcp.enum';
2
+ export type IAbyssListScopesArguments = Record<string, never>;
3
+ export interface IAbyssListScopesProject {
4
+ id: string;
5
+ name: string;
6
+ services: McpService[];
7
+ }
8
+ export interface IAbyssListScopesResult {
9
+ scope: {
10
+ type: McpScopeType;
11
+ id: string | null;
12
+ name: string | null;
13
+ };
14
+ projects: IAbyssListScopesProject[];
15
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=abyss-mcp-tool.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"abyss-mcp-tool.types.js","sourceRoot":"","sources":["../../../../src/types/interface/mcp/abyss-mcp-tool.types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export * from './mcp-tool-descriptor';
2
+ export * from './mcp-tool-call';
3
+ export * from './abyss-mcp-tool.types';
4
+ export * from './mcp-oauth';
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./mcp-tool-descriptor"), exports);
18
+ __exportStar(require("./mcp-tool-call"), exports);
19
+ __exportStar(require("./abyss-mcp-tool.types"), exports);
20
+ __exportStar(require("./mcp-oauth"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/interface/mcp/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,kDAAgC;AAChC,yDAAuC;AACvC,8CAA4B"}
@@ -0,0 +1,16 @@
1
+ import type { McpFunctionalScope } from '../../enum/mcp.enum';
2
+ import type { McpOAuthClientSource } from '../../enum/mcp-oauth.enum';
3
+ export type McpOAuthAuthorizationRequestStatus = 'OPEN' | 'EXPIRED' | 'CONSUMED';
4
+ export interface IMcpOAuthAuthorizationRequestView {
5
+ id: string;
6
+ client: {
7
+ name: string;
8
+ host: string;
9
+ source: McpOAuthClientSource;
10
+ };
11
+ redirectHost: string;
12
+ redirectWarning: boolean;
13
+ requestedScopes: McpFunctionalScope[];
14
+ expiresAt: Date;
15
+ status: McpOAuthAuthorizationRequestStatus;
16
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=mcp-oauth.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcp-oauth.js","sourceRoot":"","sources":["../../../../src/types/interface/mcp/mcp-oauth.ts"],"names":[],"mappings":""}
@@ -0,0 +1,26 @@
1
+ import type { McpScopeType } from '../../enum/mcp.enum';
2
+ import type { IResponse } from '../api/type-message/response';
3
+ export interface IMcpToolCallContext {
4
+ userId: string;
5
+ connectionId: string;
6
+ requestId: string;
7
+ locale: 'fr' | 'en';
8
+ scope: {
9
+ type: McpScopeType;
10
+ id: string | null;
11
+ };
12
+ }
13
+ export interface IMcpToolCallBody<A> {
14
+ context: IMcpToolCallContext;
15
+ arguments: A;
16
+ }
17
+ export interface ICallMcpToolAdminParams {
18
+ name: string;
19
+ }
20
+ export interface IMcpToolCallResponse<R> {
21
+ result: R;
22
+ itemCount: number | null;
23
+ truncated: boolean;
24
+ nextCursor: string | null;
25
+ }
26
+ export type ICallMcpToolAdminResponse<R> = IResponse<IMcpToolCallResponse<R>>;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=mcp-tool-call.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcp-tool-call.js","sourceRoot":"","sources":["../../../../src/types/interface/mcp/mcp-tool-call.ts"],"names":[],"mappings":""}
@@ -0,0 +1,15 @@
1
+ import type { JSONSchema7 } from 'json-schema';
2
+ import type { McpFunctionalScope, McpService } from '../../enum/mcp.enum';
3
+ export interface IMcpToolDescriptor {
4
+ name: string;
5
+ service: `${McpService}`;
6
+ title: string;
7
+ description: string;
8
+ inputSchema: JSONSchema7;
9
+ outputSchema: JSONSchema7;
10
+ requiredScope: `${McpFunctionalScope}`;
11
+ annotations: {
12
+ readOnlyHint: true;
13
+ openWorldHint: false;
14
+ };
15
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=mcp-tool-descriptor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcp-tool-descriptor.js","sourceRoot":"","sources":["../../../../src/types/interface/mcp/mcp-tool-descriptor.ts"],"names":[],"mappings":""}
@@ -62,3 +62,5 @@ export * from './user-sidebar-pin.model';
62
62
  export * from './admin-audit-log.model';
63
63
  export * from './session.model';
64
64
  export * from './passkey.model';
65
+ export * from './mcp-connection.model';
66
+ export * from './mcp-connection-read.model';
@@ -78,4 +78,6 @@ __exportStar(require("./user-sidebar-pin.model"), exports);
78
78
  __exportStar(require("./admin-audit-log.model"), exports);
79
79
  __exportStar(require("./session.model"), exports);
80
80
  __exportStar(require("./passkey.model"), exports);
81
+ __exportStar(require("./mcp-connection.model"), exports);
82
+ __exportStar(require("./mcp-connection-read.model"), exports);
81
83
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/interface/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,kDAAgC;AAChC,yDAAuC;AACvC,qEAAmD;AACnD,sDAAoC;AACpC,4DAA0C;AAC1C,wDAAsC;AACtC,wDAAsC;AACtC,uDAAqC;AACrC,4DAA0C;AAC1C,6DAA2C;AAG3C,oDAAkC;AAClC,+DAA6C;AAG7C,gDAA8B;AAG9B,iDAA+B;AAG/B,uDAAqC;AACrC,mEAAiD;AACjD,8DAA4C;AAG5C,wDAAsC;AACtC,0DAAwC;AACxC,gEAA8C;AAC9C,qEAAmD;AACnD,qEAAmD;AACnD,uDAAqC;AACrC,kDAAgC;AAChC,uDAAqC;AACrC,6DAA2C;AAC3C,sDAAoC;AACpC,6DAA2C;AAC3C,0DAAwC;AACxC,mEAAiD;AACjD,sDAAoC;AACpC,+DAA6C;AAC7C,4DAA0C;AAC1C,4DAA0C;AAC1C,2DAAyC;AACzC,8DAA4C;AAC5C,iEAA+C;AAC/C,wDAAsC;AACtC,uDAAqC;AACrC,8DAA4C;AAC5C,+CAA6B;AAC7B,sDAAoC;AACpC,8DAA4C;AAC5C,0EAAwD;AACxD,0DAAwC;AACxC,6EAA2D;AAG3D,2DAAyC;AAGzC,4DAA0C;AAG1C,wDAAsC;AAGtC,yDAAuC;AACvC,iEAA+C;AAC/C,oEAAkD;AAClD,yDAAuC;AACvC,6DAA2C;AAC3C,kEAAgD;AAGhD,qDAAmC;AAGnC,qDAAmC;AAGnC,8DAA4C;AAG5C,8DAA4C;AAG5C,2DAAyC;AAGzC,0DAAwC;AAGxC,kDAAgC;AAChC,kDAAgC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/interface/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,kDAAgC;AAChC,yDAAuC;AACvC,qEAAmD;AACnD,sDAAoC;AACpC,4DAA0C;AAC1C,wDAAsC;AACtC,wDAAsC;AACtC,uDAAqC;AACrC,4DAA0C;AAC1C,6DAA2C;AAG3C,oDAAkC;AAClC,+DAA6C;AAG7C,gDAA8B;AAG9B,iDAA+B;AAG/B,uDAAqC;AACrC,mEAAiD;AACjD,8DAA4C;AAG5C,wDAAsC;AACtC,0DAAwC;AACxC,gEAA8C;AAC9C,qEAAmD;AACnD,qEAAmD;AACnD,uDAAqC;AACrC,kDAAgC;AAChC,uDAAqC;AACrC,6DAA2C;AAC3C,sDAAoC;AACpC,6DAA2C;AAC3C,0DAAwC;AACxC,mEAAiD;AACjD,sDAAoC;AACpC,+DAA6C;AAC7C,4DAA0C;AAC1C,4DAA0C;AAC1C,2DAAyC;AACzC,8DAA4C;AAC5C,iEAA+C;AAC/C,wDAAsC;AACtC,uDAAqC;AACrC,8DAA4C;AAC5C,+CAA6B;AAC7B,sDAAoC;AACpC,8DAA4C;AAC5C,0EAAwD;AACxD,0DAAwC;AACxC,6EAA2D;AAG3D,2DAAyC;AAGzC,4DAA0C;AAG1C,wDAAsC;AAGtC,yDAAuC;AACvC,iEAA+C;AAC/C,oEAAkD;AAClD,yDAAuC;AACvC,6DAA2C;AAC3C,kEAAgD;AAGhD,qDAAmC;AAGnC,qDAAmC;AAGnC,8DAA4C;AAG5C,8DAA4C;AAG5C,2DAAyC;AAGzC,0DAAwC;AAGxC,kDAAgC;AAChC,kDAAgC;AAGhC,yDAAuC;AACvC,8DAA4C"}
@@ -0,0 +1,15 @@
1
+ import type { McpReadOutcome, McpService } from '../../enum/mcp.enum';
2
+ import type { IMcpConnection } from './mcp-connection.model';
3
+ export interface IMcpConnectionRead {
4
+ id?: string;
5
+ connectionId: string;
6
+ service: McpService;
7
+ tool: string;
8
+ arguments: Record<string, unknown>;
9
+ outcome: McpReadOutcome;
10
+ itemCount: number | null;
11
+ durationMs: number;
12
+ requestId: string;
13
+ createdAt?: Date;
14
+ connection?: IMcpConnection;
15
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=mcp-connection-read.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcp-connection-read.model.js","sourceRoot":"","sources":["../../../../src/types/interface/models/mcp-connection-read.model.ts"],"names":[],"mappings":""}
@@ -0,0 +1,28 @@
1
+ import type { McpApprovalStatus, McpConnectionKind, McpFunctionalScope, McpRevokedReason, McpScopeType } from '../../enum/mcp.enum';
2
+ import type { IMcpConnectionRead } from './mcp-connection-read.model';
3
+ import type { IUser } from './user.model';
4
+ export interface IMcpConnection {
5
+ id?: string;
6
+ userId: string;
7
+ name: string;
8
+ kind: McpConnectionKind;
9
+ scopeType: McpScopeType;
10
+ scopeId: string | null;
11
+ functionalScopes: McpFunctionalScope[] | null;
12
+ tokenHash?: string | null;
13
+ tokenLast4: string | null;
14
+ approvalStatus: McpApprovalStatus;
15
+ approvedByUserId: string | null;
16
+ approvedAt: Date | null;
17
+ firstUsedAt: Date | null;
18
+ lastUsedAt: Date | null;
19
+ lastClientName: string | null;
20
+ lastClientVersion: string | null;
21
+ revokedAt: Date | null;
22
+ revokedByUserId: string | null;
23
+ revokedReason: McpRevokedReason | null;
24
+ createdAt?: Date;
25
+ updatedAt?: Date;
26
+ user?: IUser;
27
+ reads?: IMcpConnectionRead[];
28
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=mcp-connection.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcp-connection.model.js","sourceRoot":"","sources":["../../../../src/types/interface/models/mcp-connection.model.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,102 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const mcp_constants_1 = require("../../constants/mcp.constants");
4
+ const mcp_enum_1 = require("../enum/mcp.enum");
5
+ const MCP_SPEC_TOOL_NAME = /^[a-zA-Z0-9_-]{1,64}$/;
6
+ describe('ABYSS_MCP_TOOLS contract', () => {
7
+ it('declares one descriptor per AbyssMcpToolName, each name once', () => {
8
+ const names = mcp_constants_1.ABYSS_MCP_TOOLS.map((tool) => tool.name);
9
+ expect(new Set(names).size).toBe(names.length);
10
+ expect([...names].sort()).toEqual(Object.values(mcp_enum_1.AbyssMcpToolName).sort());
11
+ });
12
+ it.each(mcp_constants_1.ABYSS_MCP_TOOLS.map((tool) => [tool.name, tool]))('%s has a name both our pattern and the MCP specification accept, prefixed abyss_', (name) => {
13
+ expect(name).toMatch(mcp_constants_1.MCP_TOOL_NAME_PATTERN);
14
+ expect(name).toMatch(MCP_SPEC_TOOL_NAME);
15
+ expect(name.startsWith('abyss_')).toBe(true);
16
+ });
17
+ it.each(mcp_constants_1.ABYSS_MCP_TOOLS.map((tool) => [tool.name, tool]))('%s takes a closed object, is read-only and closed-world, under the abyss service', (_, tool) => {
18
+ expect(tool.inputSchema.type).toBe('object');
19
+ expect(tool.inputSchema.additionalProperties).toBe(false);
20
+ expect(tool.outputSchema.type).toBe('object');
21
+ expect(tool.annotations.readOnlyHint).toBe(true);
22
+ expect(tool.annotations.openWorldHint).toBe(false);
23
+ expect(tool.service).toBe(mcp_enum_1.McpService.ABYSS);
24
+ expect(tool.requiredScope).toBe(mcp_enum_1.McpFunctionalScope.ABYSS_READ);
25
+ expect(tool.title.trim().length).toBeGreaterThan(0);
26
+ expect(tool.description.trim().length).toBeGreaterThan(0);
27
+ });
28
+ });
29
+ describe('MCP_TOOL_NAME_PATTERN', () => {
30
+ it('refuses a name without service prefix, with an upper-case letter, or longer than 64', () => {
31
+ expect('listscopes').not.toMatch(mcp_constants_1.MCP_TOOL_NAME_PATTERN);
32
+ expect('abyss_List').not.toMatch(mcp_constants_1.MCP_TOOL_NAME_PATTERN);
33
+ expect('abyss-list').not.toMatch(mcp_constants_1.MCP_TOOL_NAME_PATTERN);
34
+ expect(`abyss_${'a'.repeat(57)}`).not.toMatch(mcp_constants_1.MCP_TOOL_NAME_PATTERN);
35
+ });
36
+ it('accepts the longest name it allows, still within the MCP specification', () => {
37
+ const longest = `monitor_${'a'.repeat(56)}`;
38
+ expect(longest).toMatch(mcp_constants_1.MCP_TOOL_NAME_PATTERN);
39
+ expect(longest.length).toBe(64);
40
+ expect(longest).toMatch(MCP_SPEC_TOOL_NAME);
41
+ });
42
+ });
43
+ describe('MCP connection constants', () => {
44
+ it('keeps the static token prefix and the active connection ceiling of the spec', () => {
45
+ expect(mcp_constants_1.MCP_STATIC_TOKEN_PREFIX).toBe('abys_mcp_');
46
+ expect(mcp_constants_1.MCP_CONNECTION_MAX_ACTIVE).toBe(20);
47
+ });
48
+ });
49
+ describe('MCP OAuth constants', () => {
50
+ it('keeps three token prefixes distinct from each other and from a JWT', () => {
51
+ const prefixes = [mcp_constants_1.MCP_STATIC_TOKEN_PREFIX, mcp_constants_1.MCP_ACCESS_TOKEN_PREFIX, mcp_constants_1.MCP_REFRESH_TOKEN_PREFIX];
52
+ expect(mcp_constants_1.MCP_ACCESS_TOKEN_PREFIX).toBe('abys_mcpat_');
53
+ expect(mcp_constants_1.MCP_REFRESH_TOKEN_PREFIX).toBe('abys_mcprt_');
54
+ expect(new Set(prefixes).size).toBe(prefixes.length);
55
+ for (const prefix of prefixes) {
56
+ expect(prefix.startsWith('eyJ')).toBe(false);
57
+ }
58
+ expect(mcp_constants_1.MCP_ACCESS_TOKEN_PREFIX.startsWith(mcp_constants_1.MCP_STATIC_TOKEN_PREFIX)).toBe(false);
59
+ expect(mcp_constants_1.MCP_REFRESH_TOKEN_PREFIX.startsWith(mcp_constants_1.MCP_STATIC_TOKEN_PREFIX)).toBe(false);
60
+ });
61
+ it('advertises both functional scopes and offline_access', () => {
62
+ expect(mcp_constants_1.MCP_OAUTH_SCOPES_SUPPORTED).toEqual(expect.arrayContaining([...Object.values(mcp_enum_1.McpFunctionalScope), 'offline_access']));
63
+ });
64
+ it('keeps the lifetimes of the spec', () => {
65
+ expect(mcp_constants_1.MCP_OAUTH_CODE_TTL_SECONDS).toBe(60);
66
+ expect(mcp_constants_1.MCP_OAUTH_AUTHORIZATION_REQUEST_TTL_SECONDS).toBe(600);
67
+ expect(mcp_constants_1.MCP_OAUTH_ACCESS_TOKEN_TTL_SECONDS).toBe(3600);
68
+ expect(mcp_constants_1.MCP_OAUTH_REFRESH_TOKEN_TTL_DAYS).toBe(30);
69
+ });
70
+ });
71
+ const literalDescriptor = {
72
+ name: 'monitor_list_applications',
73
+ service: 'monitor',
74
+ title: 'List applications',
75
+ description: 'Lists the applications of a project.',
76
+ inputSchema: { type: 'object', additionalProperties: false, properties: {} },
77
+ outputSchema: { type: 'object' },
78
+ requiredScope: 'monitor:read',
79
+ annotations: { readOnlyHint: true, openWorldHint: false },
80
+ };
81
+ const acceptedDescriptor = literalDescriptor;
82
+ const unknownServiceDescriptor = {
83
+ ...literalDescriptor,
84
+ service: 'billing',
85
+ };
86
+ const refusedService = unknownServiceDescriptor;
87
+ const unknownScopeDescriptor = {
88
+ ...literalDescriptor,
89
+ requiredScope: 'monitor:write',
90
+ };
91
+ const refusedScope = unknownScopeDescriptor;
92
+ describe('IMcpToolDescriptor typing', () => {
93
+ it('accepts a descriptor written with string literals, as the monitor core writes them', () => {
94
+ expect(acceptedDescriptor.service).toBe(mcp_enum_1.McpService.MONITOR);
95
+ expect(acceptedDescriptor.requiredScope).toBe(mcp_enum_1.McpFunctionalScope.MONITOR_READ);
96
+ expect([refusedService.service, refusedScope.requiredScope]).toEqual([
97
+ 'billing',
98
+ 'monitor:write',
99
+ ]);
100
+ });
101
+ });
102
+ //# sourceMappingURL=mcp-contract.spec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcp-contract.spec.js","sourceRoot":"","sources":["../../../src/types/tests/mcp-contract.spec.ts"],"names":[],"mappings":";;AAAA,iEAYuC;AACvC,+CAAoF;AAIpF,MAAM,kBAAkB,GAAG,uBAAuB,CAAC;AAEnD,QAAQ,CAAC,0BAA0B,EAAE,GAAG,EAAE;IACxC,EAAE,CAAC,8DAA8D,EAAE,GAAG,EAAE;QACtE,MAAM,KAAK,GAAG,+BAAe,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE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O,EAAE,SAAS;CACV,CAAC;AAEX,MAAM,cAAc,GAAuB,wBAAwB,CAAC;AAEpE,MAAM,sBAAsB,GAAG;IAC7B,GAAG,iBAAiB;IACpB,aAAa,EAAE,eAAe;CACtB,CAAC;AAEX,MAAM,YAAY,GAAuB,sBAAsB,CAAC;AAEhE,QAAQ,CAAC,2BAA2B,EAAE,GAAG,EAAE;IACzC,EAAE,CAAC,oFAAoF,EAAE,GAAG,EAAE;QAC5F,MAAM,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,qBAAU,CAAC,OAAO,CAAC,CAAC;QAC5D,MAAM,CAAC,kBAAkB,CAAC,aAAa,CAAC,CAAC,IAAI,CAAC,6BAAkB,CAAC,YAAY,CAAC,CAAC;QAC/E,MAAM,CAAC,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC;YACnE,SAAS;YACT,eAAe;SAChB,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abyss-project/main",
3
- "version": "13.1.0",
3
+ "version": "13.3.0",
4
4
  "description": "Core package to interact with Abyss-Project",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -48,6 +48,7 @@
48
48
  "homepage": "https://gitlab.com/abyss-group",
49
49
  "dependencies": {
50
50
  "@casl/ability": "^6.8.0",
51
+ "@types/json-schema": "^7.0.15",
51
52
  "axios": "^1.6.0",
52
53
  "axios-retry": "^4.5.0",
53
54
  "byte-size": "^8.1.0",