@swirls/deploy 0.0.0 → 0.2.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.
package/README.md CHANGED
@@ -39,13 +39,74 @@ It returns a `LowerResult`:
39
39
  | ------------------- | ------------------------------------------------------------------------------------------------------- |
40
40
  | `ok` | True when a definition was built. Warnings do not make it false. |
41
41
  | `definition` | The definition as a JSON document, or `null`. It has passed `parseDeploymentDefinition`. |
42
- | `diagnostics` | `{ severity, stage, message, path?, range? }` for every error and warning. |
42
+ | `diagnostics` | `{ severity, stage, message, path?, range?, related? }` for every error and warning. |
43
43
  | `sourceFiles` | Each `.swirls` file with its size and SHA-256, sorted by path. |
44
44
  | `sourceFingerprint` | A stable hash of `sourceFiles`. |
45
45
  | `skillFiles` | The files of each skill an agent uses, base64 encoded. |
46
46
  | `ast` | The merged syntax tree, or `null`. `buildDeploymentSourceManifest` takes it to map resources to source. |
47
47
 
48
- A diagnostic's `stage` says which step reported it: `parse` and `validate` for one file, `merge` for combining files (a name declared twice), `lower` for building the definition, and `definition` for the built document failing its schema.
48
+ A diagnostic's `stage` says which step reported it: `mount` for an input that cannot be used (an unusable path), `parse` and `validate` for one file, `merge` for combining files (a name declared twice, at each declaration with `related` naming the others, or files declaring different `version`s), `lower` for building the definition, and `definition` for the built document failing its schema.
49
+
50
+ `lowerSwirlsSources` is `lowerSwirlsMounts` over one mount, with the outputs in this shape.
51
+
52
+ ## Several directories as one program
53
+
54
+ `lowerSwirlsMounts(mounts, options?)` lowers several directories, called mounts, into one definition. Each mount is `{ id, files, skillsRoot? }`:
55
+
56
+ | Field | Meaning |
57
+ | ------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
58
+ | `id` | Chosen by the host, unique among the mounts of one call, at least one character. Any string works: it is never used as a path. It names the mount in every output and never appears in the definition. |
59
+ | `files` | `Map` or record of mount-relative posix path to text or bytes (`Uint8Array`). `.swirls` and `.ts.swirls` files and operation scripts must be UTF-8; skill files are kept byte for byte, so they may be binary. |
60
+ | `skillsRoot` | The mount-relative directory holding the mount's skills, `<skillsRoot>/<skill>/SKILL.md`. Defaults to `.agents/skills` (`MOUNT_SKILLS_ROOT`). |
61
+
62
+ ```ts
63
+ import { lowerSwirlsMounts, swirlsHost } from '@swirls/deploy'
64
+
65
+ const result = lowerSwirlsMounts(
66
+ [
67
+ { id: 'intake', files: { 'intake.swirls': intake } },
68
+ { id: 'flows', files: { 'greet.swirls': greet, '.agents/skills/kit/SKILL.md': kit } },
69
+ ],
70
+ { host: swirlsHost },
71
+ )
72
+
73
+ for (const d of result.diagnostics) {
74
+ console.error(`${d.mount ?? ''}:${d.path ?? ''}:${d.range?.start.line ?? 0}: ${d.message}`)
75
+ }
76
+ ```
77
+
78
+ What holds across mounts:
79
+
80
+ - **One namespace.** A block may name a block of another mount by its bare name. A name is unique per kind across every mount (a form and a workflow may share one).
81
+ - **Confinement.** A file may read only files of its own mount: a `@ts "…"` reference or an operation's `@sh "…"` / `@ps "…"` script that resolves outside the mount is a `validate` error at the referencing file, `"<ref>" is outside this directory`.
82
+ - **Every duplicate, at every site.** A name declared more than once gives one `merge` error per declaration, at its mount, path and range, with `related` listing every other declaration.
83
+ - **Version.** Every file that declares `version:` must declare the same value; otherwise each such file gets a `merge` error.
84
+ - **Skills.** A skill is read from the skills root of the mount that declares its `skill` block, which need not be the mount of the agent that uses it. Two mounts may hold the same skill directory name under different `skill` blocks.
85
+ - **Inputs.** An empty or repeated mount id, a file path that is absolute, empty or holds `.`, `..` or a backslash, and a `skillsRoot` outside the mount are `mount` errors. Nothing in the inputs makes the call throw.
86
+
87
+ It returns a `LowerMountsResult`: `ok`, `definition` and `ast` as for `lowerSwirlsSources`; `diagnostics`, each with `mount` when it belongs to one and with mount-relative `path`s; `sourceFiles` (each with `mount`, sorted by mount id then path); `skillFiles` (each bundle with the `mount` it was read from, sorted by block name); `manifest` (version 2, below); `mounts` (each mount's `sources` and `skills` fingerprint, sorted by id) and `fingerprint`.
88
+
89
+ ### Ids by site
90
+
91
+ `options.newId(site, mount)` makes every id. `site` says what the id is for and is unique within one call; `mount` is the mount that declares it. Without it every id is a UUIDv7 drawn in call order. A host that derives ids from the site (a UUIDv8 of a hash of the site and something of its own, say) gets identical ids for identical sources, and the ids of one mount stay the same when another mount changes. Every id must be a UUID. The sites are a stable contract:
92
+
93
+ | What | Site |
94
+ | ----------------------------- | --------------------------------------------- |
95
+ | A named block of kind `k` | `<k>:<name>`, `k` as in the manifest's `kind` |
96
+ | A workflow's node | `workflow:<workflow>/node:<node>` |
97
+ | A workflow's edge | `workflow:<workflow>/edge:<source>-><target>` |
98
+ | A synthetic subgraph workflow | `workflow:<its synthesized name>` |
99
+ | A database's connection | `database:<database>/connection:<connection>` |
100
+
101
+ A site that would repeat within one call (two edges between one pair of nodes, say) gets `#2`, `#3`, … in call order. The mount of a synthetic workflow is its parent's.
102
+
103
+ ### Manifest v2
104
+
105
+ `manifest` places every named block: `{ version: 2, mounts, files, resources, nodes, fingerprint }`, where every file, resource and node carries its `mount`. Resources cover every named kind, including `computer`, `query`, `operation`, `role`, `mock` and `playbook`; a role has no `id`. Policies have no name and are not listed, and neither are the nodes of synthetic subgraph workflows. `deploymentSourceManifestV2Schema` and `parseDeploymentSourceManifestV2` check one. Version 1 (`buildDeploymentSourceManifest`) is unchanged.
106
+
107
+ ### Fingerprints
108
+
109
+ A mount's `sources` is the SHA-256 of its `.swirls` and `.ts.swirls` files (path and SHA-256 of each, sorted by path: the formula of `computeDeploymentSourceFingerprint`). Its `skills` is the same over every file under its skills root, whether or not an agent uses it. `fingerprint` hashes every mount's id, `sources` and `skills`, sorted by id: it does not change with the order mounts are given in, and it does change when a file moves from one mount to another.
49
110
 
50
111
  ## The steps, for a host that reads a directory
51
112
 
package/dist/index.d.ts CHANGED
@@ -3736,7 +3736,8 @@ interface BuildDefinitionOptions {
3736
3736
  }
3737
3737
  /**
3738
3738
  * Parse every `.swirls` file under `cwd` and merge into a single bundle.
3739
- * Fails on duplicate top-level resource names (forms, webhooks, schedules, workflows, streams, triggers, secret, auth).
3739
+ * Throws on the first problem: a file that cannot be parsed, or a resource name
3740
+ * of one kind declared in two places (the message names both files).
3740
3741
  */
3741
3742
  declare function mergeProjectSwirlsFiles(fs: DeployBundleFs, cwd: string, options?: MergeProjectOptions): SwirlsFile;
3742
3743
  /**
@@ -4002,6 +4003,8 @@ interface SkillBlockRef {
4002
4003
  name: string;
4003
4004
  /** On-disk slug under `.agents/skills/<skillName>/`. */
4004
4005
  skillName: string;
4006
+ /** The mount that declares the block, when it was merged from several mounts. */
4007
+ sourceMount?: string;
4005
4008
  }
4006
4009
 
4007
4010
  /** Source files of one project: posix path relative to the project root, to text. */
@@ -4016,11 +4019,13 @@ interface LowerOptions {
4016
4019
  newId?: () => string;
4017
4020
  }
4018
4021
  /**
4019
- * Which step reported a diagnostic: reading one file (`parse`, `validate`),
4020
- * combining the files (`merge`), building the definition (`lower`), or checking
4021
- * the built definition against its schema (`definition`).
4022
+ * Which step reported a diagnostic: checking the inputs (`mount`: a path that
4023
+ * cannot be used), reading one file (`parse`, `validate`), combining the files
4024
+ * (`merge`: a name declared twice, versions that disagree), building the
4025
+ * definition (`lower`), or checking the built definition against its schema
4026
+ * (`definition`).
4022
4027
  */
4023
- type LowerStage = 'parse' | 'validate' | 'merge' | 'lower' | 'definition';
4028
+ type LowerStage = 'mount' | 'parse' | 'validate' | 'merge' | 'lower' | 'definition';
4024
4029
  interface LowerDiagnostic {
4025
4030
  severity: 'error' | 'warning';
4026
4031
  stage: LowerStage;
@@ -4029,6 +4034,11 @@ interface LowerDiagnostic {
4029
4034
  path?: string;
4030
4035
  /** Where in `path`; lines and columns as the language reports them. */
4031
4036
  range?: SourceRange;
4037
+ /** Other places the same problem is at: every other declaration of a duplicate name. */
4038
+ related?: {
4039
+ path: string;
4040
+ range?: SourceRange;
4041
+ }[];
4032
4042
  }
4033
4043
  interface LowerResult {
4034
4044
  /** True when a definition was built. Warnings do not make this false. */
@@ -4057,9 +4067,58 @@ interface LowerResult {
4057
4067
  *
4058
4068
  * Besides `.swirls` files, pass the `.ts.swirls` files they reference and the
4059
4069
  * `.agents/skills/<name>/` files of any skill an agent uses.
4070
+ *
4071
+ * This is `lowerSwirlsMounts` over one mount.
4060
4072
  */
4061
4073
  declare function lowerSwirlsSources(files: SwirlsSources, options?: LowerOptions): LowerResult;
4062
4074
 
4075
+ /**
4076
+ * Source manifest version 2: where every named block of a definition built
4077
+ * from several mounts is declared. Version 1 (`buildDeploymentSourceManifest`)
4078
+ * stays as it is for a single directory.
4079
+ */
4080
+
4081
+ type DeploymentSourceResourceKindV2 = DeploymentSourceResourceKind | 'computer' | 'query' | 'operation' | 'role' | 'mock' | 'playbook';
4082
+ interface DeploymentSourceManifestV2 {
4083
+ version: 2;
4084
+ mounts: {
4085
+ id: string;
4086
+ sources: string;
4087
+ skills: string;
4088
+ }[];
4089
+ files: {
4090
+ mount: string;
4091
+ path: string;
4092
+ size: number;
4093
+ sha256: string;
4094
+ }[];
4095
+ /**
4096
+ * Every named block of the definition. `id` is absent for a role, which has
4097
+ * none. Policies have no name and are not listed.
4098
+ */
4099
+ resources: {
4100
+ mount: string;
4101
+ kind: DeploymentSourceResourceKindV2;
4102
+ id?: string;
4103
+ name: string;
4104
+ path: string;
4105
+ range: SourceRange;
4106
+ }[];
4107
+ nodes: {
4108
+ mount: string;
4109
+ workflowId: string;
4110
+ workflowName: string;
4111
+ nodeId: string;
4112
+ nodeName: string;
4113
+ path: string;
4114
+ range: SourceRange;
4115
+ }[];
4116
+ fingerprint: string;
4117
+ }
4118
+ /** The schema of {@link DeploymentSourceManifestV2}. */
4119
+ declare const deploymentSourceManifestV2Schema: z.ZodType<DeploymentSourceManifestV2>;
4120
+ declare function parseDeploymentSourceManifestV2(input: unknown): z.ZodSafeParseResult<DeploymentSourceManifestV2>;
4121
+
4063
4122
  /**
4064
4123
  * Build a virtual FS from a flat map of **posix** paths relative to the repo root
4065
4124
  * (e.g. `packages/app/graph.swirls` → file contents). Used with GitHub archive trees.
@@ -4081,6 +4140,98 @@ declare function virtualRepoCwd(virtualRoot: string): string;
4081
4140
  */
4082
4141
  declare function sliceRepoFilesToRoot(files: Map<string, string>, rootPath: string): Map<string, string>;
4083
4142
 
4143
+ /** The default skills root of a mount: `<root>/<skill>/SKILL.md`. */
4144
+ declare const MOUNT_SKILLS_ROOT = ".agents/skills";
4145
+ /** A mount's files: posix path relative to the mount, to text or bytes. */
4146
+ type SwirlsMountFiles = ReadonlyMap<string, string | Uint8Array> | Readonly<Record<string, string | Uint8Array>>;
4147
+ interface SwirlsMount {
4148
+ /**
4149
+ * Chosen by the host, unique among the mounts of one call, at least one character.
4150
+ * It names the mount in every output and never appears in the definition.
4151
+ */
4152
+ readonly id: string;
4153
+ /**
4154
+ * Every file of the mount the lowering may read: `.swirls` files, the `.ts.swirls`
4155
+ * files and operation scripts they reference, and the files under `skillsRoot`.
4156
+ * `.swirls`, `.ts.swirls` and operation scripts must be UTF-8 text; given as bytes
4157
+ * they are decoded strictly. Skill files are kept byte for byte.
4158
+ */
4159
+ readonly files: SwirlsMountFiles;
4160
+ /** Mount-relative directory holding the mount's skills. Defaults to `MOUNT_SKILLS_ROOT`. */
4161
+ readonly skillsRoot?: string;
4162
+ }
4163
+ interface LowerMountsOptions {
4164
+ /** As `LowerOptions.host`. */
4165
+ readonly host?: LanguageHost;
4166
+ /**
4167
+ * Makes the id of every resource, node, edge and connection. `site` names what the id
4168
+ * is for and is unique within one call; `mount` is the mount that declares it.
4169
+ * Defaults to a UUIDv7 that ignores both. Every id must be a UUID.
4170
+ */
4171
+ readonly newId?: (site: string, mount: string) => string;
4172
+ }
4173
+ /** A place in one mount. */
4174
+ interface MountSite {
4175
+ readonly mount: string;
4176
+ readonly path: string;
4177
+ readonly range?: SourceRange;
4178
+ }
4179
+ interface MountDiagnostic {
4180
+ readonly severity: 'error' | 'warning';
4181
+ readonly stage: LowerStage;
4182
+ readonly message: string;
4183
+ /** The mount, when the diagnostic belongs to one. */
4184
+ readonly mount?: string;
4185
+ /** Mount-relative. */
4186
+ readonly path?: string;
4187
+ readonly range?: SourceRange;
4188
+ /** Other places the same problem is at: every other declaration of a duplicate name. */
4189
+ readonly related?: readonly MountSite[];
4190
+ }
4191
+ interface MountSourceFile extends DeploymentSourceFileContent {
4192
+ readonly mount: string;
4193
+ }
4194
+ interface MountSkillFiles extends DeploymentSkillFilesBundle {
4195
+ /** The mount whose skills root the files were read from: the mount that declares the skill block. */
4196
+ readonly mount: string;
4197
+ }
4198
+ interface MountFingerprint {
4199
+ readonly mount: string;
4200
+ /** SHA-256 over the mount's `.swirls` and `.ts.swirls` files. */
4201
+ readonly sources: string;
4202
+ /** SHA-256 over every file under the mount's skills root. */
4203
+ readonly skills: string;
4204
+ }
4205
+ interface LowerMountsResult {
4206
+ readonly ok: boolean;
4207
+ /** As `LowerResult.definition`. Carries no mount id and no path. */
4208
+ readonly definition: Record<string, unknown> | null;
4209
+ readonly diagnostics: MountDiagnostic[];
4210
+ /** Every `.swirls` and `.ts.swirls` file of every mount, sorted by mount id then path. */
4211
+ readonly sourceFiles: MountSourceFile[];
4212
+ /** Files of each skill an agent uses, by skill block, sorted by block name. */
4213
+ readonly skillFiles: MountSkillFiles[];
4214
+ /** Null when `ok` is false. */
4215
+ readonly manifest: DeploymentSourceManifestV2 | null;
4216
+ /** SHA-256 over every mount's id, sources and skills. Filled when `ok` is false too. */
4217
+ readonly fingerprint: string;
4218
+ /** Sorted by mount id. */
4219
+ readonly mounts: MountFingerprint[];
4220
+ readonly ast: SwirlsFile | null;
4221
+ }
4222
+ /**
4223
+ * Lower several directories into one deployment definition.
4224
+ *
4225
+ * The mounts are one program: a name is unique per kind across every mount,
4226
+ * and a block may reference a block of another mount by name. A file may read
4227
+ * only files of its own mount (`@ts` files, operation scripts), and each skill
4228
+ * is read from the skills root of the mount that declares its `skill` block.
4229
+ *
4230
+ * Nothing is read from disk or from the environment, and nothing is thrown for
4231
+ * a problem in the inputs: every problem is a diagnostic that names its mount.
4232
+ */
4233
+ declare function lowerSwirlsMounts(mounts: readonly SwirlsMount[], options?: LowerMountsOptions): LowerMountsResult;
4234
+
4084
4235
  declare const nodeTypeMap: {
4085
4236
  readonly ai: "ai";
4086
4237
  readonly decision: "decision";
@@ -4514,10 +4665,11 @@ declare function isScriptsOrBinDirectory(relativePath: string): boolean;
4514
4665
  declare function parseSkillMdFrontmatter(input: Uint8Array | string): SkillMdFrontmatter;
4515
4666
 
4516
4667
  /**
4517
- * Walk `.agents/skills/<skillName>/`, require `SKILL.md`, reject symlinks and
4518
- * path escape, and enforce size/file-count caps.
4668
+ * Walk `<skillsRoot>/<skillName>/` under `projectRoot` (`.agents/skills` by
4669
+ * default), require `SKILL.md`, reject symlinks and path escape, and enforce
4670
+ * size/file-count caps. Files are read as bytes.
4519
4671
  */
4520
- declare function resolveSkillTree(fs: SkillDeployFs, projectRoot: string, skillName: string): SkillFileEntry[];
4672
+ declare function resolveSkillTree(fs: SkillDeployFs, projectRoot: string, skillName: string, skillsRoot?: string): SkillFileEntry[];
4521
4673
 
4522
4674
  declare function normalizeDeploymentSourcePath(path: string): string;
4523
4675
  declare function collectDeploymentSourceFiles(fs: DeployBundleFs, cwd: string): DeploymentSourceFileContent[];
@@ -4536,9 +4688,10 @@ declare function buildDeploymentSourceManifest({ definition, ast, files, }: {
4536
4688
 
4537
4689
  /**
4538
4690
  * Recursively strip `range`, `innerRange`, `flowRange`, `inputSchemaBlock`,
4539
- * `outputSchemaBlock`, `schemaBlock`, and `docComment` fields from an AST value.
4691
+ * `outputSchemaBlock`, `schemaBlock`, and `docComment` fields from an AST value,
4692
+ * and the `sourcePath` and `sourceMount` marks merging adds to each declaration.
4540
4693
  * These are editor/LSP-only metadata and not meaningful for deployment.
4541
4694
  */
4542
4695
  declare function stripEditorMetadata(value: unknown): unknown;
4543
4696
 
4544
- export { AGENTS_SKILLS_DIR, type BuildDefinitionOptions, COMPUTER_BASELINE_KIT, COMPUTER_BASELINE_PACKAGES, COMPUTER_HARNESS_RESOURCE_DEFAULTS, COMPUTER_HARNESS_RUNTIME, COMPUTER_MOUNT_KIT, COMPUTER_MOUNT_PACKAGES, COMPUTER_RESOURCE_DEFAULTS, type CompiledComputer, type CompiledComputerHarness, type ComputerHarnessBake, type ComputerHarnessInput, type ComputerRecipeInput, type DeployBundleDirent, type DeployBundleFs, type DeploymentDefinition, type DeploymentSkillFilePayload, type DeploymentSkillFilesBundle, type DeploymentSourceFileContent, type DeploymentSourceManifest, type DeploymentSourceResourceKind, type Diagnostic, EXECUTABLE_STRING_FIELDS, HARNESS_DEBIAN_STAGE_DIR, HARNESS_PROVIDERS, HARNESS_ROOT_DIR, type HarnessCatalog, type HarnessDebianPackage, type HarnessProvider, type HarnessRuntimePackage, type LanguageHost, type LowerDiagnostic, type LowerOptions, type LowerResult, type LowerStage, MAX_SKILL_FILES, MAX_SKILL_FILE_BYTES, MAX_SKILL_TREE_BYTES, type MergeProjectOptions, type OpenUiSupport, type ProviderCatalog, SKILL_MD_FILENAME, type SkillBlockRef, type SkillBundle, type SkillClassificationResult, type SkillDeployFs, type SkillDeployStat, type SkillFileEntry, type SkillMdFrontmatter, type SourceRange, type SwirlsFile, type SwirlsSources, buildConfigValueKindsFromNodeDecl, buildDeploymentDefinitionPayload, buildDeploymentSourceManifest, buildWorkflowNodeConfigFromNodeDecl, canonicalizeForStableJson, classifySkillBundle, collectDeploymentSkillFiles, collectDeploymentSourceFiles, collectReferencedSkillBlocksFromAst, collectSwirlsFiles, combineDeploymentAndSourceFingerprints, compileComputerRecipe, compileOperationBlock, computeDefinitionHash, computeDeploymentDefinitionFingerprint, computeDeploymentSourceFingerprint, computeSkillChecksum, computerHarnessBake, computerSnapshotName, createMemoryRepoFs, createNodeDeployBundleFs, daytonaSnapshotResources, deployBundleToSkillDeployFs, deployBundleToWorkspaceFileSystem, flattenArchivePathMap, flattenInlineSubgraphsInGraph, floxManifestToml, harnessPrepScript, harnessRuntimePackages, isHarnessProvider, isKnownScriptExtension, isScriptsOrBinDirectory, lowerSwirlsSources, mergeProjectSwirlsFiles, normalizeDeploymentSourcePath, operationScriptSha256, parseDeploymentDefinition, parseSkillMdFrontmatter, platformComputerSnapshotName, recipePackages, resolveSkillTree, sha256Hex, sliceRepoFilesToRoot, stripEditorMetadata, swirlsHost, uuidv7, validateDeploymentSourceInput, virtualRepoCwd };
4697
+ export { AGENTS_SKILLS_DIR, type BuildDefinitionOptions, COMPUTER_BASELINE_KIT, COMPUTER_BASELINE_PACKAGES, COMPUTER_HARNESS_RESOURCE_DEFAULTS, COMPUTER_HARNESS_RUNTIME, COMPUTER_MOUNT_KIT, COMPUTER_MOUNT_PACKAGES, COMPUTER_RESOURCE_DEFAULTS, type CompiledComputer, type CompiledComputerHarness, type ComputerHarnessBake, type ComputerHarnessInput, type ComputerRecipeInput, type DeployBundleDirent, type DeployBundleFs, type DeploymentDefinition, type DeploymentSkillFilePayload, type DeploymentSkillFilesBundle, type DeploymentSourceFileContent, type DeploymentSourceManifest, type DeploymentSourceManifestV2, type DeploymentSourceResourceKind, type DeploymentSourceResourceKindV2, type Diagnostic, EXECUTABLE_STRING_FIELDS, HARNESS_DEBIAN_STAGE_DIR, HARNESS_PROVIDERS, HARNESS_ROOT_DIR, type HarnessCatalog, type HarnessDebianPackage, type HarnessProvider, type HarnessRuntimePackage, type LanguageHost, type LowerDiagnostic, type LowerMountsOptions, type LowerMountsResult, type LowerOptions, type LowerResult, type LowerStage, MAX_SKILL_FILES, MAX_SKILL_FILE_BYTES, MAX_SKILL_TREE_BYTES, MOUNT_SKILLS_ROOT, type MergeProjectOptions, type MountDiagnostic, type MountFingerprint, type MountSite, type MountSkillFiles, type MountSourceFile, type OpenUiSupport, type ProviderCatalog, SKILL_MD_FILENAME, type SkillBlockRef, type SkillBundle, type SkillClassificationResult, type SkillDeployFs, type SkillDeployStat, type SkillFileEntry, type SkillMdFrontmatter, type SourceRange, type SwirlsFile, type SwirlsMount, type SwirlsMountFiles, type SwirlsSources, buildConfigValueKindsFromNodeDecl, buildDeploymentDefinitionPayload, buildDeploymentSourceManifest, buildWorkflowNodeConfigFromNodeDecl, canonicalizeForStableJson, classifySkillBundle, collectDeploymentSkillFiles, collectDeploymentSourceFiles, collectReferencedSkillBlocksFromAst, collectSwirlsFiles, combineDeploymentAndSourceFingerprints, compileComputerRecipe, compileOperationBlock, computeDefinitionHash, computeDeploymentDefinitionFingerprint, computeDeploymentSourceFingerprint, computeSkillChecksum, computerHarnessBake, computerSnapshotName, createMemoryRepoFs, createNodeDeployBundleFs, daytonaSnapshotResources, deployBundleToSkillDeployFs, deployBundleToWorkspaceFileSystem, deploymentSourceManifestV2Schema, flattenArchivePathMap, flattenInlineSubgraphsInGraph, floxManifestToml, harnessPrepScript, harnessRuntimePackages, isHarnessProvider, isKnownScriptExtension, isScriptsOrBinDirectory, lowerSwirlsMounts, lowerSwirlsSources, mergeProjectSwirlsFiles, normalizeDeploymentSourcePath, operationScriptSha256, parseDeploymentDefinition, parseDeploymentSourceManifestV2, parseSkillMdFrontmatter, platformComputerSnapshotName, recipePackages, resolveSkillTree, sha256Hex, sliceRepoFilesToRoot, stripEditorMetadata, swirlsHost, uuidv7, validateDeploymentSourceInput, virtualRepoCwd };