@mesadev/sdk 0.22.0 → 0.24.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 (49) hide show
  1. package/README.md +30 -5
  2. package/dist/api/resources.d.ts +7 -1
  3. package/dist/api/resources.d.ts.map +1 -1
  4. package/dist/api/resources.js +73 -1
  5. package/dist/api/resources.js.map +1 -1
  6. package/dist/fs/mesa-file-system.d.ts +35 -1
  7. package/dist/fs/mesa-file-system.d.ts.map +1 -1
  8. package/dist/fs/mesa-file-system.js +4 -1
  9. package/dist/fs/mesa-file-system.js.map +1 -1
  10. package/dist/fs/native-loader.d.ts +2 -0
  11. package/dist/fs/native-loader.d.ts.map +1 -1
  12. package/dist/fs/native-loader.js.map +1 -1
  13. package/dist/index.d.ts +1 -1
  14. package/dist/index.d.ts.map +1 -1
  15. package/dist/index.js +1 -0
  16. package/dist/index.js.map +1 -1
  17. package/dist/lib/errors.d.ts +7 -1
  18. package/dist/lib/errors.d.ts.map +1 -1
  19. package/dist/lib/errors.js +12 -0
  20. package/dist/lib/errors.js.map +1 -1
  21. package/dist/mesa.d.ts +1 -2
  22. package/dist/mesa.d.ts.map +1 -1
  23. package/dist/mesa.js +1 -3
  24. package/dist/mesa.js.map +1 -1
  25. package/dist/webhooks/index.d.ts +2 -0
  26. package/dist/webhooks/index.d.ts.map +1 -0
  27. package/dist/webhooks/index.js +2 -0
  28. package/dist/webhooks/index.js.map +1 -0
  29. package/dist/webhooks/schemas.d.ts +448 -0
  30. package/dist/webhooks/schemas.d.ts.map +1 -0
  31. package/dist/webhooks/schemas.js +137 -0
  32. package/dist/webhooks/schemas.js.map +1 -0
  33. package/package.json +9 -9
  34. package/dist/git/index.d.ts +0 -2
  35. package/dist/git/index.d.ts.map +0 -1
  36. package/dist/git/index.js +0 -2
  37. package/dist/git/index.js.map +0 -1
  38. package/dist/git/path-utils.d.ts +0 -4
  39. package/dist/git/path-utils.d.ts.map +0 -1
  40. package/dist/git/path-utils.js +0 -47
  41. package/dist/git/path-utils.js.map +0 -1
  42. package/dist/git/service.d.ts +0 -3
  43. package/dist/git/service.d.ts.map +0 -1
  44. package/dist/git/service.js +0 -308
  45. package/dist/git/service.js.map +0 -1
  46. package/dist/git/types.d.ts +0 -30
  47. package/dist/git/types.d.ts.map +0 -1
  48. package/dist/git/types.js +0 -2
  49. package/dist/git/types.js.map +0 -1
@@ -1,2 +0,0 @@
1
- export type { GitClient, GitCommitResponse, GitFileStatus, GitStatus, ListBranchResponse } from './types.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,SAAS,EAAE,iBAAiB,EAAE,aAAa,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC"}
package/dist/git/index.js DELETED
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- export declare function resolveGitPath(inputPath: string): string;
2
- export declare function assertGitRepository(dir: string): Promise<void>;
3
- export declare function normalizeFilepath(repoDir: string, filepath: string): string;
4
- //# sourceMappingURL=path-utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"path-utils.d.ts","sourceRoot":"","sources":["path-utils.ts"],"names":[],"mappings":"AAIA,wBAAgB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAmBxD;AAED,wBAAsB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAYpE;AAED,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAe3E"}
@@ -1,47 +0,0 @@
1
- import { access } from 'node:fs/promises';
2
- import { homedir } from 'node:os';
3
- import { isAbsolute, join, normalize, relative, resolve } from 'node:path';
4
- export function resolveGitPath(inputPath) {
5
- const trimmedPath = inputPath.trim();
6
- if (!trimmedPath) {
7
- throw new Error('Path is required');
8
- }
9
- if (trimmedPath === '~') {
10
- return homedir();
11
- }
12
- if (trimmedPath.startsWith('~/')) {
13
- return normalize(join(homedir(), trimmedPath.slice(2)));
14
- }
15
- if (isAbsolute(trimmedPath)) {
16
- return normalize(trimmedPath);
17
- }
18
- return normalize(resolve(process.cwd(), trimmedPath));
19
- }
20
- export async function assertGitRepository(dir) {
21
- try {
22
- await access(dir);
23
- }
24
- catch {
25
- throw new Error(`Repository path does not exist: ${dir}`);
26
- }
27
- try {
28
- await access(join(dir, '.git'));
29
- }
30
- catch {
31
- throw new Error(`Path is not a git repository: ${dir}`);
32
- }
33
- }
34
- export function normalizeFilepath(repoDir, filepath) {
35
- if (filepath === '.') {
36
- return filepath;
37
- }
38
- if (!isAbsolute(filepath)) {
39
- return filepath.replace(/\\/g, '/');
40
- }
41
- const relativePath = relative(repoDir, filepath).replace(/\\/g, '/');
42
- if (relativePath.startsWith('..') || relativePath === '') {
43
- throw new Error(`File path '${filepath}' must be inside repository '${repoDir}'`);
44
- }
45
- return relativePath;
46
- }
47
- //# sourceMappingURL=path-utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"path-utils.js","sourceRoot":"","sources":["path-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAE3E,MAAM,UAAU,cAAc,CAAC,SAAiB;IAC9C,MAAM,WAAW,GAAG,SAAS,CAAC,IAAI,EAAE,CAAC;IACrC,IAAI,CAAC,WAAW,EAAE,CAAC;QACjB,MAAM,IAAI,KAAK,CAAC,kBAAk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AAC,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IACrE,IAAI,YAAY,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,YAAY,KAAK,EAAE,EAAE,CAAC;QACzD,MAAM,IAAI,KAAK,CAAC,cAAc,QAAQ,gCAAgC,OAAO,GAAG,CAAC,CAAC;IACpF,CAAC;IAED,OAAO,YAAY,CAAC;AACtB,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { GitClient } from './types.js';
2
- export declare const nodeGitClient: GitClient;
3
- //# sourceMappingURL=service.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["service.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,SAAS,EAAmE,MAAM,YAAY,CAAC;AAiJ7G,eAAO,MAAM,aAAa,EAAE,SAwN3B,CAAC"}
@@ -1,308 +0,0 @@
1
- import fs from 'node:fs';
2
- import { access } from 'node:fs/promises';
3
- import { resolve } from 'node:path';
4
- import * as git from 'isomorphic-git';
5
- import http from 'isomorphic-git/http/node';
6
- import { assertGitRepository, normalizeFilepath, resolveGitPath } from './path-utils.js';
7
- function createAuthCallback(username, password) {
8
- if (!username && !password) {
9
- return undefined;
10
- }
11
- return () => ({
12
- username: username ?? 'git',
13
- password: password ?? '',
14
- });
15
- }
16
- async function fileExists(path) {
17
- try {
18
- await access(path);
19
- return true;
20
- }
21
- catch {
22
- return false;
23
- }
24
- }
25
- function mapMatrixStatus(head, workdir, stage) {
26
- if (head === 0 && workdir === 2 && stage === 0) {
27
- return 'untracked';
28
- }
29
- if (workdir === 0 && stage === 0) {
30
- return 'deleted';
31
- }
32
- if (workdir === 0 && stage === 1) {
33
- return 'deleted';
34
- }
35
- if (head === 0 && stage === 2) {
36
- return 'added';
37
- }
38
- if (workdir !== stage && head !== stage) {
39
- return 'staged+modified';
40
- }
41
- if (head !== stage && stage === 2) {
42
- return 'staged';
43
- }
44
- if (head !== workdir) {
45
- return 'modified';
46
- }
47
- return 'changed';
48
- }
49
- function findCommonAncestor(localLog, remoteLog) {
50
- const remoteCommitIds = new Set(remoteLog.map((commit) => commit.oid));
51
- return localLog.find((commit) => remoteCommitIds.has(commit.oid))?.oid;
52
- }
53
- function findDistance(log, targetOid) {
54
- const index = log.findIndex((commit) => commit.oid === targetOid);
55
- return index >= 0 ? index : log.length;
56
- }
57
- function formatGitError(operation, repoPath, error) {
58
- const message = error instanceof Error ? error.message : String(error);
59
- if (/auth|unauthorized|forbidden|credential|401|403/i.test(message)) {
60
- return new Error(`Git ${operation} failed authentication for '${repoPath}'. Check your credentials.`);
61
- }
62
- return new Error(`Git ${operation} failed for '${repoPath}': ${message}`);
63
- }
64
- async function stageAllChanges(repoDir) {
65
- const statusMatrix = await git.statusMatrix({ fs, dir: repoDir, filepaths: ['.'] });
66
- for (const [filepath, , workdir, stage] of statusMatrix) {
67
- if (workdir === stage) {
68
- continue;
69
- }
70
- if (workdir === 0) {
71
- await git.remove({ fs, dir: repoDir, filepath });
72
- }
73
- else {
74
- await git.add({ fs, dir: repoDir, filepath });
75
- }
76
- }
77
- }
78
- async function hasStagedChanges(repoDir) {
79
- const statusMatrix = await git.statusMatrix({ fs, dir: repoDir, filepaths: ['.'] });
80
- return statusMatrix.some(([, head, , stage]) => head !== stage);
81
- }
82
- async function requireCurrentBranch(repoDir, operation) {
83
- const currentBranch = await git.currentBranch({ fs, dir: repoDir });
84
- if (!currentBranch) {
85
- throw new Error(`Cannot ${operation} while HEAD is detached. Checkout a branch first.`);
86
- }
87
- return currentBranch;
88
- }
89
- async function getAheadBehind(repoDir, currentBranch) {
90
- const remoteName = await git.getConfig({ fs, dir: repoDir, path: `branch.${currentBranch}.remote` });
91
- const mergeRef = await git.getConfig({ fs, dir: repoDir, path: `branch.${currentBranch}.merge` });
92
- if (!remoteName || !mergeRef?.startsWith('refs/heads/')) {
93
- return { ahead: 0, behind: 0, branchPublished: false };
94
- }
95
- const remoteBranch = mergeRef.slice('refs/heads/'.length);
96
- const remoteTrackingRef = `refs/remotes/${remoteName}/${remoteBranch}`;
97
- try {
98
- await git.resolveRef({ fs, dir: repoDir, ref: remoteTrackingRef });
99
- }
100
- catch {
101
- return { ahead: 0, behind: 0, branchPublished: false };
102
- }
103
- const localRef = `refs/heads/${currentBranch}`;
104
- const [localLog, remoteLog] = await Promise.all([
105
- git.log({ fs, dir: repoDir, ref: localRef }),
106
- git.log({ fs, dir: repoDir, ref: remoteTrackingRef }),
107
- ]);
108
- const commonAncestor = findCommonAncestor(localLog, remoteLog);
109
- if (!commonAncestor) {
110
- return {
111
- ahead: localLog.length,
112
- behind: remoteLog.length,
113
- branchPublished: true,
114
- };
115
- }
116
- return {
117
- ahead: findDistance(localLog, commonAncestor),
118
- behind: findDistance(remoteLog, commonAncestor),
119
- branchPublished: true,
120
- };
121
- }
122
- export const nodeGitClient = {
123
- async clone(url, path, branch, commitId, username, password) {
124
- const repoDir = resolveGitPath(path);
125
- try {
126
- await git.clone({
127
- fs,
128
- http,
129
- dir: repoDir,
130
- url,
131
- ref: branch,
132
- singleBranch: Boolean(branch),
133
- onAuth: createAuthCallback(username, password),
134
- });
135
- if (commitId) {
136
- await git.checkout({
137
- fs,
138
- dir: repoDir,
139
- ref: commitId,
140
- force: true,
141
- });
142
- }
143
- }
144
- catch (error) {
145
- throw formatGitError('clone', repoDir, error);
146
- }
147
- },
148
- async add(path, files) {
149
- const repoDir = resolveGitPath(path);
150
- await assertGitRepository(repoDir);
151
- try {
152
- for (const file of files) {
153
- const normalized = normalizeFilepath(repoDir, file);
154
- if (normalized === '.') {
155
- await stageAllChanges(repoDir);
156
- continue;
157
- }
158
- const absoluteFile = resolve(repoDir, normalized);
159
- if (await fileExists(absoluteFile)) {
160
- await git.add({ fs, dir: repoDir, filepath: normalized });
161
- continue;
162
- }
163
- await git.remove({ fs, dir: repoDir, filepath: normalized });
164
- }
165
- }
166
- catch (error) {
167
- throw formatGitError('add', repoDir, error);
168
- }
169
- },
170
- async commit(path, message, author, email, allowEmpty = false) {
171
- const repoDir = resolveGitPath(path);
172
- await assertGitRepository(repoDir);
173
- try {
174
- const hasChanges = await hasStagedChanges(repoDir);
175
- if (!allowEmpty && !hasChanges) {
176
- throw new Error('No staged changes to commit. Set allowEmpty=true to create an empty commit.');
177
- }
178
- const sha = await git.commit({
179
- fs,
180
- dir: repoDir,
181
- message,
182
- author: {
183
- name: author,
184
- email,
185
- },
186
- });
187
- return { sha };
188
- }
189
- catch (error) {
190
- throw formatGitError('commit', repoDir, error);
191
- }
192
- },
193
- async push(path, username, password) {
194
- const repoDir = resolveGitPath(path);
195
- await assertGitRepository(repoDir);
196
- try {
197
- const currentBranch = await requireCurrentBranch(repoDir, 'push');
198
- const result = await git.push({
199
- fs,
200
- http,
201
- dir: repoDir,
202
- remote: 'origin',
203
- ref: currentBranch,
204
- onAuth: createAuthCallback(username, password),
205
- });
206
- if (!result.ok) {
207
- throw new Error(result.error || 'Push rejected by remote');
208
- }
209
- }
210
- catch (error) {
211
- throw formatGitError('push', repoDir, error);
212
- }
213
- },
214
- async pull(path, username, password) {
215
- const repoDir = resolveGitPath(path);
216
- await assertGitRepository(repoDir);
217
- try {
218
- const currentBranch = await requireCurrentBranch(repoDir, 'pull');
219
- await git.pull({
220
- fs,
221
- http,
222
- dir: repoDir,
223
- remote: 'origin',
224
- ref: currentBranch,
225
- singleBranch: true,
226
- onAuth: createAuthCallback(username, password),
227
- author: {
228
- name: 'Mesa SDK',
229
- email: 'sdk@mesa.dev',
230
- },
231
- });
232
- }
233
- catch (error) {
234
- throw formatGitError('pull', repoDir, error);
235
- }
236
- },
237
- async status(path) {
238
- const repoDir = resolveGitPath(path);
239
- await assertGitRepository(repoDir);
240
- try {
241
- const currentBranch = await requireCurrentBranch(repoDir, 'read status');
242
- const statusMatrix = await git.statusMatrix({ fs, dir: repoDir, filepaths: ['.'] });
243
- const fileStatus = statusMatrix
244
- .filter(([, head, workdir, stage]) => head !== workdir || workdir !== stage)
245
- .map(([filepath, head, workdir, stage]) => ({
246
- name: filepath,
247
- status: mapMatrixStatus(head, workdir, stage),
248
- }));
249
- const aheadBehind = await getAheadBehind(repoDir, currentBranch);
250
- return {
251
- currentBranch,
252
- ahead: aheadBehind.ahead,
253
- behind: aheadBehind.behind,
254
- branchPublished: aheadBehind.branchPublished,
255
- fileStatus,
256
- };
257
- }
258
- catch (error) {
259
- throw formatGitError('status', repoDir, error);
260
- }
261
- },
262
- async branches(path) {
263
- const repoDir = resolveGitPath(path);
264
- await assertGitRepository(repoDir);
265
- try {
266
- const branches = await git.listBranches({ fs, dir: repoDir });
267
- return { branches };
268
- }
269
- catch (error) {
270
- throw formatGitError('list branches', repoDir, error);
271
- }
272
- },
273
- async createBranch(path, name) {
274
- const repoDir = resolveGitPath(path);
275
- await assertGitRepository(repoDir);
276
- try {
277
- await git.branch({ fs, dir: repoDir, ref: name });
278
- }
279
- catch (error) {
280
- throw formatGitError('create branch', repoDir, error);
281
- }
282
- },
283
- async checkoutBranch(path, branch) {
284
- const repoDir = resolveGitPath(path);
285
- await assertGitRepository(repoDir);
286
- try {
287
- await git.checkout({ fs, dir: repoDir, ref: branch });
288
- }
289
- catch (error) {
290
- throw formatGitError('checkout branch', repoDir, error);
291
- }
292
- },
293
- async deleteBranch(path, name) {
294
- const repoDir = resolveGitPath(path);
295
- await assertGitRepository(repoDir);
296
- try {
297
- const currentBranch = await git.currentBranch({ fs, dir: repoDir });
298
- if (currentBranch === name) {
299
- throw new Error(`Cannot delete the currently checked out branch '${name}'`);
300
- }
301
- await git.deleteBranch({ fs, dir: repoDir, ref: name });
302
- }
303
- catch (error) {
304
- throw formatGitError('delete branch', repoDir, error);
305
- }
306
- },
307
- };
308
- //# sourceMappingURL=service.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"service.js","sourceRoot":"","sources":["service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,E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,EAAE,CAAC;YACf,MAAM,cAAc,CAAC,eAAe,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;QACxD,CAAC;IACH,CAAC;CACF,CAAC"}
@@ -1,30 +0,0 @@
1
- export type GitCommitResponse = {
2
- sha: string;
3
- };
4
- export type GitFileStatus = {
5
- name: string;
6
- status: string;
7
- };
8
- export type GitStatus = {
9
- currentBranch: string;
10
- ahead: number;
11
- behind: number;
12
- branchPublished: boolean;
13
- fileStatus: GitFileStatus[];
14
- };
15
- export type ListBranchResponse = {
16
- branches: string[];
17
- };
18
- export interface GitClient {
19
- clone(url: string, path: string, branch?: string, commitId?: string, username?: string, password?: string): Promise<void>;
20
- add(path: string, files: string[]): Promise<void>;
21
- commit(path: string, message: string, author: string, email: string, allowEmpty?: boolean): Promise<GitCommitResponse>;
22
- push(path: string, username?: string, password?: string): Promise<void>;
23
- pull(path: string, username?: string, password?: string): Promise<void>;
24
- status(path: string): Promise<GitStatus>;
25
- branches(path: string): Promise<ListBranchResponse>;
26
- createBranch(path: string, name: string): Promise<void>;
27
- checkoutBranch(path: string, branch: string): Promise<void>;
28
- deleteBranch(path: string, name: string): Promise<void>;
29
- }
30
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,OAAO,CAAC;IACzB,UAAU,EAAE,aAAa,EAAE,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,kBAAkB,G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EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACzD"}
package/dist/git/types.js DELETED
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["types.ts"],"names":[],"mappings":""}