@trebired/code-server-kit 0.1.0 → 0.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 (51) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +318 -82
  3. package/dist/errors.d.ts +37 -4
  4. package/dist/errors.d.ts.map +1 -1
  5. package/dist/errors.js +73 -7
  6. package/dist/errors.js.map +1 -1
  7. package/dist/index.d.ts +10 -3
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +9 -2
  10. package/dist/index.js.map +1 -1
  11. package/dist/launch.d.ts +2 -3
  12. package/dist/launch.d.ts.map +1 -1
  13. package/dist/launch.js +15 -223
  14. package/dist/launch.js.map +1 -1
  15. package/dist/logging.d.ts +5 -0
  16. package/dist/logging.d.ts.map +1 -0
  17. package/dist/logging.js +11 -0
  18. package/dist/logging.js.map +1 -0
  19. package/dist/plan.d.ts +15 -0
  20. package/dist/plan.d.ts.map +1 -0
  21. package/dist/plan.js +355 -0
  22. package/dist/plan.js.map +1 -0
  23. package/dist/profile.d.ts +8 -0
  24. package/dist/profile.d.ts.map +1 -0
  25. package/dist/profile.js +107 -0
  26. package/dist/profile.js.map +1 -0
  27. package/dist/proxy.d.ts +6 -0
  28. package/dist/proxy.d.ts.map +1 -0
  29. package/dist/proxy.js +92 -0
  30. package/dist/proxy.js.map +1 -0
  31. package/dist/readiness.d.ts.map +1 -1
  32. package/dist/readiness.js +42 -4
  33. package/dist/readiness.js.map +1 -1
  34. package/dist/resolve.d.ts.map +1 -1
  35. package/dist/resolve.js +3 -1
  36. package/dist/resolve.js.map +1 -1
  37. package/dist/session.d.ts +11 -0
  38. package/dist/session.d.ts.map +1 -0
  39. package/dist/session.js +888 -0
  40. package/dist/session.js.map +1 -0
  41. package/dist/spec.d.ts +7 -0
  42. package/dist/spec.d.ts.map +1 -0
  43. package/dist/spec.js +64 -0
  44. package/dist/spec.js.map +1 -0
  45. package/dist/systemd.d.ts +17 -0
  46. package/dist/systemd.d.ts.map +1 -0
  47. package/dist/systemd.js +254 -0
  48. package/dist/systemd.js.map +1 -0
  49. package/dist/types.d.ts +300 -3
  50. package/dist/types.d.ts.map +1 -1
  51. package/package.json +3 -2
package/dist/types.d.ts CHANGED
@@ -1,9 +1,22 @@
1
1
  import type { ChildProcess } from "node:child_process";
2
+ import type { LoggerAdapterEvent, LoggerAdapterGenericLogMethod, LoggerAdapterLogger, LoggerAdapterLogMethod, LoggerAdapterWriter, NormalizedLoggerAdapter } from "@trebired/logger-adapter";
2
3
  type CodeServerEntryKind = "node_script" | "executable";
3
4
  type CodeServerLaunchMode = "auto" | "direct" | "node";
5
+ type CodeServerLaunchStrategy = "direct" | "systemd";
6
+ type CodeServerSystemdScope = "user" | "system";
7
+ type CodeServerPathAccessMode = "read" | "write";
8
+ type CodeServerSessionState = "planned" | "launching" | "ready" | "failed" | "stopped" | "stale" | "reusing_existing";
9
+ type CodeServerProfileItem = "settings.json" | "extensions.json" | "keybindings.json" | "snippets" | "extensions";
10
+ type CodeServerKitLogMethod = LoggerAdapterLogMethod;
11
+ type CodeServerKitLogEvent = LoggerAdapterEvent;
12
+ type CodeServerKitGenericLogMethod = LoggerAdapterGenericLogMethod;
13
+ type CodeServerKitLogger = LoggerAdapterLogger;
14
+ type CodeServerKitLoggerAdapter = LoggerAdapterWriter;
15
+ type NormalizedCodeServerKitLogger = NormalizedLoggerAdapter;
4
16
  type CodeServerInstallation = {
5
17
  entryKind: CodeServerEntryKind;
6
18
  entryPoint: string;
19
+ entryRelativePath: string;
7
20
  packageJsonPath: string;
8
21
  packageRoot: string;
9
22
  supportRoot: string | null;
@@ -12,9 +25,17 @@ type CodeServerInstallation = {
12
25
  type ResolveCodeServerInstallationOptions = {
13
26
  resolveFrom?: string;
14
27
  };
15
- type CodeServerLaunchOptions = {
28
+ type CodeServerPathBinding = {
29
+ access: CodeServerPathAccessMode;
30
+ hostPath: string;
31
+ mountPath: string;
32
+ reason: string;
33
+ };
34
+ type CreateCodeServerLaunchPlanOptions = {
16
35
  bindAddr?: string;
36
+ cwd?: string;
17
37
  dataRoot?: string;
38
+ env?: NodeJS.ProcessEnv;
18
39
  extensionsDir?: string;
19
40
  host?: string;
20
41
  installation?: CodeServerInstallation;
@@ -26,20 +47,38 @@ type CodeServerLaunchOptions = {
26
47
  userDataDir?: string;
27
48
  workspacePath?: string;
28
49
  };
50
+ type CodeServerLaunchOptions = CreateCodeServerLaunchPlanOptions;
29
51
  type CodeServerLaunchPlan = {
30
52
  args: string[];
31
53
  bindAddr: string;
32
54
  codeServerPackageRoot: string;
33
55
  command: string;
56
+ cwd: string;
57
+ entryKind: CodeServerEntryKind;
34
58
  entryPoint: string;
59
+ env: NodeJS.ProcessEnv;
35
60
  extensionsDir: string;
36
61
  host: string;
62
+ installation: CodeServerInstallation;
37
63
  launchMode: Exclude<CodeServerLaunchMode, "auto">;
38
64
  port: number;
65
+ recommendedReadablePaths: string[];
66
+ recommendedWritablePaths: string[];
67
+ supportBindings: CodeServerPathBinding[];
39
68
  supportRoot: string | null;
69
+ trustedOrigins: string[];
40
70
  userDataDir: string;
41
71
  workspacePath: string | null;
42
72
  };
73
+ type CodeServerLaunchSpec = {
74
+ args: string[];
75
+ bindings: CodeServerPathBinding[];
76
+ command: string;
77
+ cwd: string;
78
+ env: NodeJS.ProcessEnv;
79
+ readablePaths: string[];
80
+ writablePaths: string[];
81
+ };
43
82
  type CodeServerProcessExit = {
44
83
  code: number | null;
45
84
  signal: NodeJS.Signals | null;
@@ -50,6 +89,8 @@ type CodeServerProcessHandle = {
50
89
  child: ChildProcess;
51
90
  codeServerPackageRoot: string;
52
91
  command: string;
92
+ cwd: string;
93
+ env: NodeJS.ProcessEnv;
53
94
  exit: Promise<CodeServerProcessExit>;
54
95
  extensionsDir: string;
55
96
  getStderr(): string;
@@ -58,15 +99,28 @@ type CodeServerProcessHandle = {
58
99
  kill(signal?: NodeJS.Signals | number): boolean;
59
100
  launchMode: Exclude<CodeServerLaunchMode, "auto">;
60
101
  pid: number | undefined;
102
+ plan: CodeServerLaunchPlan;
61
103
  port: number;
62
104
  supportRoot: string | null;
63
105
  userDataDir: string;
64
106
  workspacePath: string | null;
65
107
  };
108
+ type CodeServerReadyFailure = {
109
+ code?: string;
110
+ details?: Record<string, unknown>;
111
+ message: string;
112
+ };
113
+ type CodeServerReadyFailureProbe = (context: {
114
+ elapsedMs: number;
115
+ host: string;
116
+ port: number;
117
+ process?: CodeServerProcessHandle;
118
+ }) => CodeServerReadyFailure | Error | string | null | undefined | Promise<CodeServerReadyFailure | Error | string | null | undefined>;
66
119
  type CodeServerReadyOptions = {
120
+ failureProbe?: CodeServerReadyFailureProbe;
67
121
  host?: string;
68
- port: number;
69
122
  process?: CodeServerProcessHandle;
123
+ port: number;
70
124
  retryIntervalMs?: number;
71
125
  timeoutMs?: number;
72
126
  };
@@ -82,5 +136,248 @@ type LaunchCodeServerProcessOptions = {
82
136
  stderr?(text: string): void;
83
137
  stdout?(text: string): void;
84
138
  };
85
- export type { CodeServerEntryKind, CodeServerInstallation, CodeServerLaunchMode, CodeServerLaunchOptions, CodeServerLaunchPlan, CodeServerProcessExit, CodeServerProcessHandle, CodeServerReadyOptions, CodeServerReadyResult, LaunchCodeServerProcessOptions, ResolveCodeServerInstallationOptions, };
139
+ type CodeServerProfilePathMap = Record<CodeServerProfileItem, string>;
140
+ type CodeServerProfileEntryKind = "directory" | "file";
141
+ type CodeServerProfileSyncEntry = {
142
+ item: CodeServerProfileItem;
143
+ kind: CodeServerProfileEntryKind;
144
+ relativePath: string;
145
+ sourcePath: string;
146
+ targetPath: string;
147
+ };
148
+ type CreateCodeServerProfileSyncPlanOptions = {
149
+ items?: CodeServerProfileItem[];
150
+ pathMap?: Partial<CodeServerProfilePathMap>;
151
+ sourceDir: string;
152
+ targetDir: string;
153
+ };
154
+ type CodeServerProfileSyncPlan = {
155
+ entries: CodeServerProfileSyncEntry[];
156
+ items: CodeServerProfileItem[];
157
+ sourceDir: string;
158
+ targetDir: string;
159
+ };
160
+ type CodeServerProfileSkipReason = "missing_source" | "unreadable_source";
161
+ type CodeServerProfileSyncResult = {
162
+ copied: CodeServerProfileSyncEntry[];
163
+ skipped: Array<{
164
+ entry: CodeServerProfileSyncEntry;
165
+ reason: CodeServerProfileSkipReason;
166
+ }>;
167
+ };
168
+ type SyncCodeServerProfileOptions = CreateCodeServerProfileSyncPlanOptions & {
169
+ skipMissing?: boolean;
170
+ skipUnreadable?: boolean;
171
+ };
172
+ type CodeServerProfileLifecycleOptions = {
173
+ items?: CodeServerProfileItem[];
174
+ pathMap?: Partial<CodeServerProfilePathMap>;
175
+ persistTo?: string;
176
+ restoreFrom?: string;
177
+ skipMissing?: boolean;
178
+ skipUnreadable?: boolean;
179
+ };
180
+ type BuildForwardedHeadersOptions = {
181
+ forwardedFor?: string | string[];
182
+ forwardedHost?: string;
183
+ forwardedProto?: string;
184
+ host?: string;
185
+ port?: number | string;
186
+ proto?: string;
187
+ };
188
+ type CodeServerHtmlResponseOptions = {
189
+ contentType?: string | null;
190
+ headers?: Headers | Record<string, unknown>;
191
+ method?: string;
192
+ statusCode?: number;
193
+ };
194
+ type NormalizedCodeServerStartupFailure = {
195
+ code: string | null;
196
+ details: Record<string, unknown>;
197
+ isCodeServerKitError: boolean;
198
+ message: string;
199
+ name: string;
200
+ };
201
+ type CodeServerSupportBindingSuggestion = {
202
+ access: CodeServerPathAccessMode;
203
+ hostPath: string;
204
+ mountPath: string;
205
+ reason: string;
206
+ };
207
+ type CodeServerLaunchPlanResult = CodeServerLaunchPlan & {
208
+ entryKind: CodeServerEntryKind;
209
+ env: NodeJS.ProcessEnv;
210
+ supportBindings: CodeServerSupportBindingSuggestion[];
211
+ };
212
+ type CodeServerSessionManagerOptions = {
213
+ installation?: CodeServerInstallation;
214
+ logger?: CodeServerKitLogger;
215
+ loggerAdapter?: CodeServerKitLoggerAdapter;
216
+ resolveFrom?: string;
217
+ };
218
+ type CodeServerSystemdOptions = {
219
+ extraProperties?: string[];
220
+ scope?: CodeServerSystemdScope;
221
+ unitName?: string;
222
+ };
223
+ type CodeServerSessionRequest = CreateCodeServerLaunchPlanOptions & {
224
+ failureProbe?: CodeServerReadyFailureProbe;
225
+ launchStrategy?: CodeServerLaunchStrategy;
226
+ logger?: CodeServerKitLogger;
227
+ loggerAdapter?: CodeServerKitLoggerAdapter;
228
+ profile?: CodeServerProfileLifecycleOptions;
229
+ readinessRetryIntervalMs?: number;
230
+ readinessTimeoutMs?: number;
231
+ sessionKey: string;
232
+ stateRoot: string;
233
+ systemd?: CodeServerSystemdOptions;
234
+ };
235
+ type CodeServerSessionFailure = {
236
+ code: string;
237
+ details: Record<string, unknown>;
238
+ message: string;
239
+ name: string;
240
+ };
241
+ type CodeServerSessionRecord = {
242
+ bindAddr: string;
243
+ diagnostics: CodeServerSessionDiagnosticsSnapshot | null;
244
+ extensionsDir: string;
245
+ launchStrategy: CodeServerLaunchStrategy;
246
+ pid: number | null;
247
+ port: number;
248
+ readyAt: string | null;
249
+ sessionKey: string;
250
+ specHash: string;
251
+ startedAt: string | null;
252
+ state: CodeServerSessionState;
253
+ stoppedAt: string | null;
254
+ systemdScope: CodeServerSystemdScope | null;
255
+ trustedOrigins: string[];
256
+ unitName: string | null;
257
+ updatedAt: string;
258
+ userDataDir: string;
259
+ workspacePath: string | null;
260
+ failure?: CodeServerSessionFailure | null;
261
+ };
262
+ type CodeServerSessionDiagnosticsSnapshot = {
263
+ activeState?: string | null;
264
+ exitCode?: number | null;
265
+ exitSignal?: NodeJS.Signals | null;
266
+ journalTail?: string;
267
+ pid?: number | null;
268
+ readyElapsedMs?: number | null;
269
+ stderrTail?: string;
270
+ stdoutTail?: string;
271
+ subState?: string | null;
272
+ summary?: Record<string, unknown>;
273
+ updatedAt: string;
274
+ unitName?: string | null;
275
+ };
276
+ type CodeServerSessionDiagnostics = {
277
+ diagnosticsPath: string;
278
+ journalTail?: string;
279
+ readyElapsedMs?: number | null;
280
+ recordPath: string;
281
+ stderrTail?: string;
282
+ stdoutTail?: string;
283
+ summary: Record<string, unknown>;
284
+ updatedAt: string;
285
+ };
286
+ type CodeServerSessionStatus = {
287
+ bindAddr: string;
288
+ diagnostics: CodeServerSessionDiagnostics | null;
289
+ extensionsDir: string;
290
+ failure: CodeServerSessionFailure | null;
291
+ launchStrategy: CodeServerLaunchStrategy;
292
+ pid: number | null;
293
+ port: number;
294
+ ready: boolean;
295
+ readyAt: string | null;
296
+ sessionKey: string;
297
+ specHash: string;
298
+ startedAt: string | null;
299
+ state: CodeServerSessionState;
300
+ stoppedAt: string | null;
301
+ systemdScope: CodeServerSystemdScope | null;
302
+ unitName: string | null;
303
+ updatedAt: string;
304
+ userDataDir: string;
305
+ workspacePath: string | null;
306
+ };
307
+ type CodeServerSessionStartResult = {
308
+ created: boolean;
309
+ diagnostics: CodeServerSessionDiagnostics | null;
310
+ handle: CodeServerProcessHandle | null;
311
+ launchPlan: CodeServerLaunchPlan;
312
+ launchStrategy: CodeServerLaunchStrategy;
313
+ reused: boolean;
314
+ status: CodeServerSessionStatus;
315
+ };
316
+ type CodeServerSessionStopResult = {
317
+ diagnostics: CodeServerSessionDiagnostics | null;
318
+ signal?: NodeJS.Signals | number;
319
+ status: CodeServerSessionStatus;
320
+ stopped: boolean;
321
+ };
322
+ type CodeServerSessionRestartResult = {
323
+ start: CodeServerSessionStartResult;
324
+ stop: CodeServerSessionStopResult;
325
+ };
326
+ type CodeServerSessionManager = {
327
+ getStatus(options: Pick<CodeServerSessionRequest, "logger" | "loggerAdapter" | "sessionKey" | "stateRoot">): Promise<CodeServerSessionStatus | null>;
328
+ readDiagnostics(options: Pick<CodeServerSessionRequest, "sessionKey" | "stateRoot">): Promise<CodeServerSessionDiagnostics | null>;
329
+ restart(options: CodeServerSessionRequest): Promise<CodeServerSessionRestartResult>;
330
+ start(options: CodeServerSessionRequest): Promise<CodeServerSessionStartResult>;
331
+ stop(options: Pick<CodeServerSessionRequest, "logger" | "loggerAdapter" | "profile" | "sessionKey" | "stateRoot"> & {
332
+ signal?: NodeJS.Signals | number;
333
+ }): Promise<CodeServerSessionStopResult | null>;
334
+ };
335
+ type CodeServerSystemdLaunchOptions = {
336
+ cwd?: string;
337
+ env?: NodeJS.ProcessEnv;
338
+ extraProperties?: string[];
339
+ logger?: CodeServerKitLogger;
340
+ loggerAdapter?: CodeServerKitLoggerAdapter;
341
+ plan: CodeServerLaunchPlan;
342
+ scope: CodeServerSystemdScope;
343
+ sessionKey?: string;
344
+ unitName?: string;
345
+ };
346
+ type CodeServerSystemdLaunchCommand = {
347
+ args: string[];
348
+ command: string;
349
+ scope: CodeServerSystemdScope;
350
+ unitName: string;
351
+ };
352
+ type CodeServerSystemdLaunchResult = CodeServerSystemdLaunchCommand & {
353
+ output: string;
354
+ };
355
+ type CodeServerSystemdStatus = {
356
+ activeState: string | null;
357
+ execMainPid: number | null;
358
+ failed: boolean;
359
+ loadState: string | null;
360
+ notFound: boolean;
361
+ raw: Record<string, string>;
362
+ reusable: boolean;
363
+ result: string | null;
364
+ scope: CodeServerSystemdScope;
365
+ subState: string | null;
366
+ unitName: string;
367
+ };
368
+ type CodeServerSystemdJournalOptions = {
369
+ lines?: number;
370
+ logger?: CodeServerKitLogger;
371
+ loggerAdapter?: CodeServerKitLoggerAdapter;
372
+ scope: CodeServerSystemdScope;
373
+ unitName: string;
374
+ };
375
+ type CodeServerSystemdStopOptions = {
376
+ logger?: CodeServerKitLogger;
377
+ loggerAdapter?: CodeServerKitLoggerAdapter;
378
+ resetFailed?: boolean;
379
+ scope: CodeServerSystemdScope;
380
+ unitName: string;
381
+ };
382
+ export type { BuildForwardedHeadersOptions, CodeServerEntryKind, CodeServerHtmlResponseOptions, CodeServerInstallation, CodeServerKitGenericLogMethod, CodeServerKitLogEvent, CodeServerKitLogger, CodeServerKitLoggerAdapter, CodeServerKitLogMethod, CodeServerLaunchMode, CodeServerLaunchOptions, CodeServerLaunchPlan, CodeServerLaunchPlanResult, CodeServerLaunchSpec, CodeServerLaunchStrategy, CodeServerPathAccessMode, CodeServerPathBinding, CodeServerProcessExit, CodeServerProcessHandle, CodeServerProfileEntryKind, CodeServerProfileItem, CodeServerProfileLifecycleOptions, CodeServerProfilePathMap, CodeServerProfileSkipReason, CodeServerProfileSyncEntry, CodeServerProfileSyncPlan, CodeServerProfileSyncResult, CodeServerReadyFailure, CodeServerReadyFailureProbe, CodeServerReadyOptions, CodeServerReadyResult, CodeServerSessionDiagnostics, CodeServerSessionDiagnosticsSnapshot, CodeServerSessionFailure, CodeServerSessionManager, CodeServerSessionManagerOptions, CodeServerSessionRecord, CodeServerSessionRequest, CodeServerSessionRestartResult, CodeServerSessionStartResult, CodeServerSessionState, CodeServerSessionStatus, CodeServerSessionStopResult, CodeServerSupportBindingSuggestion, CodeServerSystemdJournalOptions, CodeServerSystemdLaunchCommand, CodeServerSystemdLaunchOptions, CodeServerSystemdLaunchResult, CodeServerSystemdOptions, CodeServerSystemdScope, CodeServerSystemdStatus, CodeServerSystemdStopOptions, CreateCodeServerLaunchPlanOptions, CreateCodeServerProfileSyncPlanOptions, LaunchCodeServerProcessOptions, NormalizedCodeServerKitLogger, NormalizedCodeServerStartupFailure, ResolveCodeServerInstallationOptions, SyncCodeServerProfileOptions, };
86
383
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD,KAAK,mBAAmB,GAAG,aAAa,GAAG,YAAY,CAAC;AACxD,KAAK,oBAAoB,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;AAEvD,KAAK,sBAAsB,GAAG;IAC5B,SAAS,EAAE,mBAAmB,CAAC;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,OA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A8B,EAC9B,4BAA4B,EAC5B,sBAAsB,EACtB,uBAAuB,EACvB,2BAA2B,EAC3B,kCAAkC,EAClC,+BAA+B,EAC/B,8BAA8B,EAC9B,8BAA8B,EAC9B,6BAA6B,EAC7B,wBAAwB,EACxB,sBAAsB,EACtB,uBAAuB,EACvB,4BAA4B,EAC5B,iCAAiC,EACjC,sCAAsC,EACtC,8BAA8B,EAC9B,6BAA6B,EAC7B,kCAAkC,EAClC,oCAAoC,EACpC,4BAA4B,GAC7B,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@trebired/code-server-kit",
3
- "version": "0.1.0",
4
- "description": "Framework-agnostic code-server launch kit for Node.js apps with installation resolution, launch planning, readiness checks, and process helpers.",
3
+ "version": "0.3.0",
4
+ "description": "Framework-agnostic code-server session runtime for Node.js apps with installation resolution, launch planning, lifecycle control, and Linux-first systemd support.",
5
5
  "license": "MIT",
6
6
  "keywords": [
7
7
  "code-server",
@@ -48,6 +48,7 @@
48
48
  "typecheck": "tsc --noEmit"
49
49
  },
50
50
  "dependencies": {
51
+ "@trebired/logger-adapter": "^0.2.0",
51
52
  "code-server": "^4.117.0"
52
53
  },
53
54
  "devDependencies": {