@altf4llc/vorpal-sdk 0.1.0-alpha.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 (61) hide show
  1. package/dist/api/agent/agent.d.ts +68 -0
  2. package/dist/api/agent/agent.d.ts.map +1 -0
  3. package/dist/api/agent/agent.js +246 -0
  4. package/dist/api/agent/agent.js.map +1 -0
  5. package/dist/api/archive/archive.d.ts +98 -0
  6. package/dist/api/archive/archive.d.ts.map +1 -0
  7. package/dist/api/archive/archive.js +288 -0
  8. package/dist/api/archive/archive.js.map +1 -0
  9. package/dist/api/artifact/artifact.d.ts +169 -0
  10. package/dist/api/artifact/artifact.d.ts.map +1 -0
  11. package/dist/api/artifact/artifact.js +1041 -0
  12. package/dist/api/artifact/artifact.js.map +1 -0
  13. package/dist/api/context/context.d.ts +42 -0
  14. package/dist/api/context/context.d.ts.map +1 -0
  15. package/dist/api/context/context.js +31 -0
  16. package/dist/api/context/context.js.map +1 -0
  17. package/dist/api/worker/worker.d.ts +65 -0
  18. package/dist/api/worker/worker.d.ts.map +1 -0
  19. package/dist/api/worker/worker.js +185 -0
  20. package/dist/api/worker/worker.js.map +1 -0
  21. package/dist/artifact/language/go.d.ts +165 -0
  22. package/dist/artifact/language/go.d.ts.map +1 -0
  23. package/dist/artifact/language/go.js +361 -0
  24. package/dist/artifact/language/go.js.map +1 -0
  25. package/dist/artifact/language/rust.d.ts +136 -0
  26. package/dist/artifact/language/rust.d.ts.map +1 -0
  27. package/dist/artifact/language/rust.js +576 -0
  28. package/dist/artifact/language/rust.js.map +1 -0
  29. package/dist/artifact/language/typescript.d.ts +112 -0
  30. package/dist/artifact/language/typescript.d.ts.map +1 -0
  31. package/dist/artifact/language/typescript.js +232 -0
  32. package/dist/artifact/language/typescript.js.map +1 -0
  33. package/dist/artifact/step.d.ts +28 -0
  34. package/dist/artifact/step.d.ts.map +1 -0
  35. package/dist/artifact/step.js +214 -0
  36. package/dist/artifact/step.js.map +1 -0
  37. package/dist/artifact.d.ts +392 -0
  38. package/dist/artifact.d.ts.map +1 -0
  39. package/dist/artifact.js +938 -0
  40. package/dist/artifact.js.map +1 -0
  41. package/dist/cli.d.ts +42 -0
  42. package/dist/cli.d.ts.map +1 -0
  43. package/dist/cli.js +112 -0
  44. package/dist/cli.js.map +1 -0
  45. package/dist/context.d.ts +169 -0
  46. package/dist/context.d.ts.map +1 -0
  47. package/dist/context.js +779 -0
  48. package/dist/context.js.map +1 -0
  49. package/dist/index.d.ts +16 -0
  50. package/dist/index.d.ts.map +1 -0
  51. package/dist/index.js +22 -0
  52. package/dist/index.js.map +1 -0
  53. package/dist/system.d.ts +20 -0
  54. package/dist/system.d.ts.map +1 -0
  55. package/dist/system.js +76 -0
  56. package/dist/system.js.map +1 -0
  57. package/dist/vorpal.d.ts +2 -0
  58. package/dist/vorpal.d.ts.map +1 -0
  59. package/dist/vorpal.js +148 -0
  60. package/dist/vorpal.js.map +1 -0
  61. package/package.json +55 -0
@@ -0,0 +1,392 @@
1
+ import type { ArtifactSource as ArtifactSourceMsg, ArtifactStep as ArtifactStepMsg, ArtifactStepSecret } from "./api/artifact/artifact.js";
2
+ import { ArtifactSystem } from "./api/artifact/artifact.js";
3
+ import type { ConfigContext } from "./context.js";
4
+ /**
5
+ * Returns the environment variable key for an artifact digest.
6
+ * Matches Rust get_env_key() and Go GetEnvKey().
7
+ */
8
+ export declare function getEnvKey(digest: string): string;
9
+ /**
10
+ * Converts a Map of secrets to a sorted array of proto objects.
11
+ * Matches Go SDK's SecretsToProto function.
12
+ */
13
+ export declare function secretsToProto(secrets: Map<string, string>): ArtifactStepSecret[];
14
+ /**
15
+ * Builder for ArtifactSource messages.
16
+ * Matches Rust sdk/rust/src/artifact.rs ArtifactSource impl.
17
+ */
18
+ export declare class ArtifactSource {
19
+ private _digest;
20
+ private _excludes;
21
+ private _includes;
22
+ private _name;
23
+ private _path;
24
+ /**
25
+ * @param name - Source name (used as a key in the artifact's source map)
26
+ * @param path - Filesystem path to the source directory or file
27
+ */
28
+ constructor(name: string, path: string);
29
+ /**
30
+ * Sets a pre-computed digest for this source.
31
+ * When set, the agent skips re-hashing the source contents.
32
+ */
33
+ withDigest(digest: string): this;
34
+ /**
35
+ * Sets glob patterns to exclude from the source.
36
+ * Patterns are matched relative to the source path.
37
+ *
38
+ * @param excludes - Array of glob patterns (e.g., `["node_modules", "*.log"]`)
39
+ */
40
+ withExcludes(excludes: string[]): this;
41
+ /**
42
+ * Sets glob patterns to include in the source.
43
+ * Only matching files will be included. Patterns are matched relative to the source path.
44
+ *
45
+ * @param includes - Array of glob patterns (e.g., `["src/**", "package.json"]`)
46
+ */
47
+ withIncludes(includes: string[]): this;
48
+ /** Builds the {@link ArtifactSource} message. */
49
+ build(): ArtifactSourceMsg;
50
+ }
51
+ /**
52
+ * Builder for ArtifactStep messages.
53
+ * Matches Rust sdk/rust/src/artifact.rs ArtifactStep impl.
54
+ */
55
+ export declare class ArtifactStep {
56
+ private _arguments;
57
+ private _artifacts;
58
+ private _entrypoint;
59
+ private _environments;
60
+ private _secrets;
61
+ private _script;
62
+ /**
63
+ * @param entrypoint - The executable entrypoint (e.g., `"bash"`, `"bwrap"`, `"docker"`)
64
+ */
65
+ constructor(entrypoint: string);
66
+ /**
67
+ * Sets command-line arguments passed to the entrypoint.
68
+ *
69
+ * @param args - Array of argument strings
70
+ */
71
+ withArguments(args: string[]): this;
72
+ /**
73
+ * Sets artifact digests whose outputs are available during this step.
74
+ * Each artifact's `$VORPAL_ARTIFACT_{digest}` directory will be mounted.
75
+ *
76
+ * @param artifacts - Array of artifact digest strings
77
+ */
78
+ withArtifacts(artifacts: string[]): this;
79
+ /**
80
+ * Sets environment variables for the step execution.
81
+ * Format: `"KEY=VALUE"`.
82
+ *
83
+ * @param environments - Array of environment variable strings
84
+ */
85
+ withEnvironments(environments: string[]): this;
86
+ /**
87
+ * Adds secrets available during the step. Secrets are deduplicated by name.
88
+ *
89
+ * @param secrets - Array of {@link ArtifactStepSecret} objects
90
+ */
91
+ withSecrets(secrets: ArtifactStepSecret[]): this;
92
+ /**
93
+ * Sets the shell script to execute in this step.
94
+ * A bash shebang and `set -euo pipefail` are **not** prepended automatically;
95
+ * use the {@link bash} or {@link shell} helpers for that behavior.
96
+ */
97
+ withScript(script: string): this;
98
+ /** Builds the {@link ArtifactStep} message. */
99
+ build(): ArtifactStepMsg;
100
+ }
101
+ /**
102
+ * Builder for Artifact messages.
103
+ * Matches Rust sdk/rust/src/artifact.rs Artifact impl (lines 211-256).
104
+ */
105
+ export declare class Artifact {
106
+ private _aliases;
107
+ private _name;
108
+ private _sources;
109
+ private _steps;
110
+ private _systems;
111
+ /**
112
+ * @param name - Artifact name (must be unique within a namespace)
113
+ * @param steps - Build steps that produce the artifact output
114
+ * @param systems - Target systems this artifact supports (e.g., `[ArtifactSystem.AARCH64_DARWIN]`)
115
+ */
116
+ constructor(name: string, steps: ArtifactStepMsg[], systems: ArtifactSystem[]);
117
+ /**
118
+ * Adds human-readable aliases for this artifact (e.g., `"my-tool:latest"`).
119
+ * Duplicates are ignored.
120
+ *
121
+ * @param aliases - Array of alias strings in `[namespace/]name[:tag]` format
122
+ */
123
+ withAliases(aliases: string[]): this;
124
+ /**
125
+ * Adds source definitions for this artifact. Sources are deduplicated by name.
126
+ *
127
+ * @param sources - Array of {@link ArtifactSource} messages
128
+ */
129
+ withSources(sources: ArtifactSourceMsg[]): this;
130
+ /**
131
+ * Builds the artifact, computes its SHA-256 digest, and registers it
132
+ * with the agent service via the provided {@link ConfigContext}.
133
+ *
134
+ * @returns The hex-encoded SHA-256 digest of the artifact
135
+ */
136
+ build(context: ConfigContext): Promise<string>;
137
+ }
138
+ /**
139
+ * Builder for Job artifacts (simple script execution).
140
+ * Matches Rust sdk/rust/src/artifact.rs Job impl (lines 259-297).
141
+ *
142
+ * CRITICAL: Secrets are sorted by name before building (Rust line 290).
143
+ */
144
+ export declare class Job {
145
+ private _artifacts;
146
+ private _name;
147
+ private _secrets;
148
+ private _script;
149
+ private _systems;
150
+ /**
151
+ * @param name - Job artifact name
152
+ * @param script - Shell script to execute
153
+ * @param systems - Target systems this job supports
154
+ */
155
+ constructor(name: string, script: string, systems: ArtifactSystem[]);
156
+ /**
157
+ * Sets artifact digests whose outputs are available during the job's build step.
158
+ *
159
+ * @param artifacts - Array of artifact digest strings
160
+ */
161
+ withArtifacts(artifacts: string[]): this;
162
+ /**
163
+ * Adds secrets available during the job's build step.
164
+ *
165
+ * @param secrets - Map of secret name to value
166
+ */
167
+ withSecrets(secrets: Map<string, string>): this;
168
+ /**
169
+ * Builds the job artifact and registers it with the agent service.
170
+ *
171
+ * @returns The hex-encoded SHA-256 digest of the artifact
172
+ */
173
+ build(context: ConfigContext): Promise<string>;
174
+ }
175
+ /**
176
+ * Builder for Process artifacts.
177
+ * Matches Rust sdk/rust/src/artifact.rs Process impl (lines 432-553).
178
+ *
179
+ * CRITICAL: Shell script template must be character-for-character identical.
180
+ * Secrets sorted by name (Rust line 477).
181
+ */
182
+ export declare class Process {
183
+ private _arguments;
184
+ private _artifacts;
185
+ private _entrypoint;
186
+ private _name;
187
+ private _secrets;
188
+ private _systems;
189
+ /**
190
+ * @param name - Process artifact name (used for start/stop/logs scripts)
191
+ * @param entrypoint - Path to the executable to run as a background process
192
+ * @param systems - Target systems this process supports
193
+ */
194
+ constructor(name: string, entrypoint: string, systems: ArtifactSystem[]);
195
+ /**
196
+ * Sets command-line arguments passed to the process entrypoint.
197
+ *
198
+ * @param args - Array of argument strings
199
+ */
200
+ withArguments(args: string[]): this;
201
+ /**
202
+ * Adds artifact dependencies whose bin directories are added to PATH.
203
+ * Duplicates are ignored.
204
+ *
205
+ * @param artifacts - Array of artifact digest strings
206
+ */
207
+ withArtifacts(artifacts: string[]): this;
208
+ /**
209
+ * Adds secrets available during the process build step.
210
+ *
211
+ * @param secrets - Map of secret name to value
212
+ */
213
+ withSecrets(secrets: Map<string, string>): this;
214
+ /**
215
+ * Builds the process artifact, which includes start/stop/logs helper scripts.
216
+ *
217
+ * @returns The hex-encoded SHA-256 digest of the artifact
218
+ */
219
+ build(context: ConfigContext): Promise<string>;
220
+ }
221
+ /**
222
+ * Builder for DevelopmentEnvironment artifacts.
223
+ * Matches Rust sdk/rust/src/artifact.rs DevelopmentEnvironment impl (lines 300-429).
224
+ *
225
+ * CRITICAL: Shell script template must match exactly. Secrets sorted by name.
226
+ */
227
+ export declare class DevelopmentEnvironment {
228
+ private _artifacts;
229
+ private _environments;
230
+ private _name;
231
+ private _secrets;
232
+ private _systems;
233
+ /**
234
+ * @param name - Environment name (shown in shell prompt as `(name)`)
235
+ * @param systems - Target systems this environment supports
236
+ */
237
+ constructor(name: string, systems: ArtifactSystem[]);
238
+ /**
239
+ * Sets artifact dependencies whose bin directories are added to PATH.
240
+ *
241
+ * @param artifacts - Array of artifact digest strings
242
+ */
243
+ withArtifacts(artifacts: string[]): this;
244
+ /**
245
+ * Sets environment variables exported when the environment is activated.
246
+ * Format: `"KEY=VALUE"`. PATH entries are handled specially and merged
247
+ * with artifact bin paths.
248
+ *
249
+ * @param environments - Array of environment variable strings
250
+ */
251
+ withEnvironments(environments: string[]): this;
252
+ /**
253
+ * Adds secrets available during the environment build step.
254
+ *
255
+ * @param secrets - Map of secret name to value
256
+ */
257
+ withSecrets(secrets: Map<string, string>): this;
258
+ /**
259
+ * Builds the development environment artifact, which includes activate/deactivate
260
+ * scripts for shell integration.
261
+ *
262
+ * @returns The hex-encoded SHA-256 digest of the artifact
263
+ */
264
+ build(context: ConfigContext): Promise<string>;
265
+ }
266
+ /**
267
+ * Builder for UserEnvironment artifacts.
268
+ * Matches Rust sdk/rust/src/artifact.rs UserEnvironment impl (lines 556-682).
269
+ *
270
+ * CRITICAL: Symlinks MUST be sorted by source path (Rust line 586).
271
+ */
272
+ export declare class UserEnvironment {
273
+ private _artifacts;
274
+ private _environments;
275
+ private _name;
276
+ private _symlinks;
277
+ private _systems;
278
+ /**
279
+ * @param name - User environment name
280
+ * @param systems - Target systems this environment supports
281
+ */
282
+ constructor(name: string, systems: ArtifactSystem[]);
283
+ /**
284
+ * Sets artifact dependencies whose bin directories are added to PATH.
285
+ *
286
+ * @param artifacts - Array of artifact digest strings
287
+ */
288
+ withArtifacts(artifacts: string[]): this;
289
+ /**
290
+ * Sets environment variables exported when the user environment is activated.
291
+ * Format: `"KEY=VALUE"`. PATH entries are handled specially and merged
292
+ * with artifact bin paths.
293
+ *
294
+ * @param environments - Array of environment variable strings
295
+ */
296
+ withEnvironments(environments: string[]): this;
297
+ /**
298
+ * Adds symlinks created when the user environment is activated.
299
+ * Symlinks are sorted by source path before building for deterministic output.
300
+ *
301
+ * @param symlinks - Array of `[source, target]` path tuples
302
+ */
303
+ withSymlinks(symlinks: Array<[string, string]>): this;
304
+ /**
305
+ * Builds the user environment artifact, which includes activate/deactivate
306
+ * scripts and symlink management.
307
+ *
308
+ * @returns The hex-encoded SHA-256 digest of the artifact
309
+ */
310
+ build(context: ConfigContext): Promise<string>;
311
+ }
312
+ /**
313
+ * Builder for OCI container image artifacts.
314
+ * Matches Rust sdk/rust/src/artifact/oci_image.rs OciImage impl.
315
+ *
316
+ * Produces a container image tarball using crane, rsync, and a rootfs artifact.
317
+ * Only supports Linux systems (AARCH64_LINUX, X8664_LINUX).
318
+ */
319
+ export declare class OciImage {
320
+ private _aliases;
321
+ private _artifacts;
322
+ private _crane;
323
+ private _name;
324
+ private _rootfs;
325
+ private _rsync;
326
+ /**
327
+ * @param name - OCI image name (must be lowercase, valid chars: a-z, 0-9, / : - . _)
328
+ * @param rootfs - Artifact digest for the rootfs base layer
329
+ */
330
+ constructor(name: string, rootfs: string);
331
+ /**
332
+ * Adds human-readable aliases for this image artifact.
333
+ *
334
+ * @param aliases - Array of alias strings
335
+ */
336
+ withAliases(aliases: string[]): this;
337
+ /**
338
+ * Sets artifact digests to include as layers in the container image.
339
+ * Each artifact's bin directory is symlinked into /usr/local/bin.
340
+ *
341
+ * @param artifacts - Array of artifact digest strings
342
+ */
343
+ withArtifacts(artifacts: string[]): this;
344
+ /**
345
+ * Overrides the default crane artifact used for building the OCI image.
346
+ * When not set, crane is fetched from the registry alias "crane:0.21.1".
347
+ *
348
+ * @param crane - Artifact digest for crane
349
+ */
350
+ withCrane(crane: string): this;
351
+ /**
352
+ * Overrides the default rsync artifact used for building the OCI image.
353
+ * When not set, rsync is fetched from the registry alias "rsync:3.4.1".
354
+ *
355
+ * @param rsync - Artifact digest for rsync
356
+ */
357
+ withRsync(rsync: string): this;
358
+ /**
359
+ * Builds the OCI image artifact and registers it with the agent service.
360
+ *
361
+ * Fetches crane and rsync as pre-built aliases from the registry,
362
+ * generates the build script, and creates the artifact.
363
+ *
364
+ * @returns The hex-encoded SHA-256 digest of the artifact
365
+ */
366
+ build(context: ConfigContext): Promise<string>;
367
+ }
368
+ /**
369
+ * Argument builder for artifact variables.
370
+ * Matches Rust sdk/rust/src/artifact.rs Argument impl.
371
+ */
372
+ export declare class Argument {
373
+ private _name;
374
+ private _require;
375
+ /**
376
+ * @param name - The variable name to look up in the context
377
+ */
378
+ constructor(name: string);
379
+ /**
380
+ * Marks this argument as required. If the variable is not set in the
381
+ * context when {@link Argument.build} is called, an error is thrown.
382
+ */
383
+ withRequire(): this;
384
+ /**
385
+ * Resolves the argument value from the {@link ConfigContext}.
386
+ *
387
+ * @returns The variable value, or `undefined` if not set and not required
388
+ * @throws If the variable is required but not set
389
+ */
390
+ build(context: ConfigContext): string | undefined;
391
+ }
392
+ //# sourceMappingURL=artifact.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"artifact.d.ts","sourceRoot":"","sources":["../src/artifact.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,cAAc,IAAI,iBAAiB,EACnC,YAAY,IAAI,eAAe,EAC/B,kBAAkB,EACnB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE5D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD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