@xemahq/kernel-contracts 0.14.0 → 0.16.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 (167) hide show
  1. package/dist/agent-composition/lib/agent.d.ts.map +1 -1
  2. package/dist/agent-composition/lib/agent.js.map +1 -1
  3. package/dist/agent-session/index.d.ts +2 -0
  4. package/dist/agent-session/index.d.ts.map +1 -0
  5. package/dist/{document-templates/lib → agent-session}/index.js +1 -2
  6. package/dist/agent-session/index.js.map +1 -0
  7. package/dist/agent-session/lib/lifecycle.d.ts +40 -0
  8. package/dist/agent-session/lib/lifecycle.d.ts.map +1 -0
  9. package/dist/agent-session/lib/lifecycle.js +73 -0
  10. package/dist/agent-session/lib/lifecycle.js.map +1 -0
  11. package/dist/agent-workspace/awp-spec.json +1 -1
  12. package/dist/agent-workspace/lib/workspace-layout.d.ts +0 -1
  13. package/dist/agent-workspace/lib/workspace-layout.d.ts.map +1 -1
  14. package/dist/agent-workspace/lib/workspace-layout.js +1 -6
  15. package/dist/agent-workspace/lib/workspace-layout.js.map +1 -1
  16. package/dist/biome/index.d.ts +0 -1
  17. package/dist/biome/index.d.ts.map +1 -1
  18. package/dist/biome/index.js +0 -1
  19. package/dist/biome/index.js.map +1 -1
  20. package/dist/biome/lib/biome-manifest.d.ts +12 -22
  21. package/dist/biome/lib/biome-manifest.d.ts.map +1 -1
  22. package/dist/biome/lib/biome-manifest.js +5 -27
  23. package/dist/biome/lib/biome-manifest.js.map +1 -1
  24. package/dist/biome/lib/biome-origin.d.ts.map +1 -1
  25. package/dist/biome/lib/biome-origin.js.map +1 -1
  26. package/dist/distribution/lib/distribution-lock.d.ts +2 -1
  27. package/dist/distribution/lib/distribution-lock.d.ts.map +1 -1
  28. package/dist/distribution/lib/distribution-lock.js +2 -1
  29. package/dist/distribution/lib/distribution-lock.js.map +1 -1
  30. package/dist/distribution/lib/distribution.d.ts +4 -2
  31. package/dist/distribution/lib/distribution.d.ts.map +1 -1
  32. package/dist/distribution/lib/distribution.js +6 -2
  33. package/dist/distribution/lib/distribution.js.map +1 -1
  34. package/dist/execution-context/lib/execution-context.d.ts.map +1 -1
  35. package/dist/execution-context/lib/execution-context.js.map +1 -1
  36. package/dist/execution-environment/lib/execution-environment.d.ts +0 -1
  37. package/dist/execution-environment/lib/execution-environment.d.ts.map +1 -1
  38. package/dist/execution-environment/lib/execution-environment.js +1 -2
  39. package/dist/execution-environment/lib/execution-environment.js.map +1 -1
  40. package/dist/object/lib/xema-object-kind.d.ts +0 -1
  41. package/dist/object/lib/xema-object-kind.d.ts.map +1 -1
  42. package/dist/object/lib/xema-object-kind.js +0 -1
  43. package/dist/object/lib/xema-object-kind.js.map +1 -1
  44. package/dist/object/lib/xema-object-ref.d.ts.map +1 -1
  45. package/dist/object/lib/xema-object-ref.js +20 -1
  46. package/dist/object/lib/xema-object-ref.js.map +1 -1
  47. package/dist/reference-resolution/lib/reference-resolution.d.ts.map +1 -1
  48. package/dist/reference-resolution/lib/reference-resolution.js.map +1 -1
  49. package/dist/runner/index.d.ts +0 -1
  50. package/dist/runner/index.d.ts.map +1 -1
  51. package/dist/runner/index.js +0 -1
  52. package/dist/runner/index.js.map +1 -1
  53. package/dist/runner-input-hash/index.d.ts +2 -0
  54. package/dist/runner-input-hash/index.d.ts.map +1 -0
  55. package/dist/{document-themes/lib → runner-input-hash}/index.js +1 -2
  56. package/dist/runner-input-hash/index.js.map +1 -0
  57. package/dist/runner-input-hash/lib/input-hash.d.ts.map +1 -0
  58. package/dist/runner-input-hash/lib/input-hash.js.map +1 -0
  59. package/dist/search-source/lib/search-replay.d.ts +0 -1
  60. package/dist/search-source/lib/search-replay.d.ts.map +1 -1
  61. package/dist/search-source/lib/search-replay.js +0 -5
  62. package/dist/search-source/lib/search-replay.js.map +1 -1
  63. package/dist/service-registry/lib/service-names.generated.d.ts +3 -0
  64. package/dist/service-registry/lib/service-names.generated.d.ts.map +1 -1
  65. package/dist/service-registry/lib/service-names.generated.js +3 -0
  66. package/dist/service-registry/lib/service-names.generated.js.map +1 -1
  67. package/dist/workflow/index.d.ts +0 -2
  68. package/dist/workflow/index.d.ts.map +1 -1
  69. package/dist/workflow/index.js +0 -2
  70. package/dist/workflow/index.js.map +1 -1
  71. package/dist/workflow/lib/catalog-taxonomies.d.ts +0 -1
  72. package/dist/workflow/lib/catalog-taxonomies.d.ts.map +1 -1
  73. package/dist/workflow/lib/catalog-taxonomies.js +9 -12
  74. package/dist/workflow/lib/catalog-taxonomies.js.map +1 -1
  75. package/dist/workflow/lib/enums.d.ts +0 -8
  76. package/dist/workflow/lib/enums.d.ts.map +1 -1
  77. package/dist/workflow/lib/enums.js +1 -15
  78. package/dist/workflow/lib/enums.js.map +1 -1
  79. package/dist/workflow/lib/model-ref.d.ts.map +1 -1
  80. package/dist/workflow/lib/model-ref.js.map +1 -1
  81. package/dist/workflow/lib/mount-plan.d.ts.map +1 -1
  82. package/dist/workflow/lib/run-progress.d.ts +0 -1
  83. package/dist/workflow/lib/run-progress.d.ts.map +1 -1
  84. package/dist/workflow/lib/run-progress.js +0 -1
  85. package/dist/workflow/lib/run-progress.js.map +1 -1
  86. package/dist/workspace-storage/index.d.ts +0 -1
  87. package/dist/workspace-storage/index.d.ts.map +1 -1
  88. package/dist/workspace-storage/index.js +0 -1
  89. package/dist/workspace-storage/index.js.map +1 -1
  90. package/dist/workspace-storage/lib/types.d.ts.map +1 -1
  91. package/package.json +1 -1
  92. package/src/agent-composition/lib/agent.ts +3 -2
  93. package/src/agent-session/index.ts +1 -0
  94. package/src/agent-session/lib/lifecycle.ts +156 -0
  95. package/src/agent-workspace/lib/workspace-layout.ts +0 -13
  96. package/src/biome/index.ts +0 -1
  97. package/src/biome/lib/biome-manifest.ts +11 -52
  98. package/src/biome/lib/biome-origin.ts +4 -3
  99. package/src/distribution/lib/distribution-lock.ts +6 -2
  100. package/src/distribution/lib/distribution.ts +22 -3
  101. package/src/execution-context/lib/execution-context.ts +4 -7
  102. package/src/execution-environment/lib/execution-environment.ts +4 -7
  103. package/src/object/lib/xema-object-kind.ts +2 -2
  104. package/src/object/lib/xema-object-ref.ts +21 -1
  105. package/src/policy/lib/obligations.ts +5 -5
  106. package/src/reference-resolution/lib/reference-resolution.ts +4 -2
  107. package/src/runner/index.ts +0 -1
  108. package/src/runner-input-hash/index.ts +1 -0
  109. package/src/{runner → runner-input-hash}/lib/input-hash.ts +7 -0
  110. package/src/search-source/lib/search-replay.ts +0 -10
  111. package/src/service-registry/lib/service-names.generated.ts +3 -0
  112. package/src/workflow/index.ts +0 -2
  113. package/src/workflow/lib/catalog-taxonomies.ts +21 -15
  114. package/src/workflow/lib/enums.ts +3 -24
  115. package/src/workflow/lib/model-ref.ts +5 -6
  116. package/src/workflow/lib/mount-plan.ts +0 -1
  117. package/src/workflow/lib/run-progress.ts +0 -1
  118. package/src/workspace-storage/index.ts +0 -1
  119. package/src/workspace-storage/lib/types.ts +11 -5
  120. package/dist/agent-composition/lib/composition-limits-schema.d.ts +0 -4
  121. package/dist/agent-composition/lib/composition-limits-schema.d.ts.map +0 -1
  122. package/dist/agent-composition/lib/composition-limits-schema.js +0 -13
  123. package/dist/agent-composition/lib/composition-limits-schema.js.map +0 -1
  124. package/dist/agent-composition/lib/composition-workspace.d.ts +0 -37
  125. package/dist/agent-composition/lib/composition-workspace.d.ts.map +0 -1
  126. package/dist/agent-composition/lib/composition-workspace.js +0 -9
  127. package/dist/agent-composition/lib/composition-workspace.js.map +0 -1
  128. package/dist/agent-composition/lib/composition.d.ts +0 -65
  129. package/dist/agent-composition/lib/composition.d.ts.map +0 -1
  130. package/dist/agent-composition/lib/composition.js +0 -18
  131. package/dist/agent-composition/lib/composition.js.map +0 -1
  132. package/dist/agent-workspace/lib/awp-v1.d.ts +0 -15
  133. package/dist/agent-workspace/lib/awp-v1.d.ts.map +0 -1
  134. package/dist/agent-workspace/lib/awp-v1.js +0 -197
  135. package/dist/agent-workspace/lib/awp-v1.js.map +0 -1
  136. package/dist/biome/lib/biome-api.d.ts +0 -12
  137. package/dist/biome/lib/biome-api.d.ts.map +0 -1
  138. package/dist/biome/lib/biome-api.js +0 -14
  139. package/dist/biome/lib/biome-api.js.map +0 -1
  140. package/dist/document-templates/lib/index.d.ts +0 -3
  141. package/dist/document-templates/lib/index.d.ts.map +0 -1
  142. package/dist/document-templates/lib/index.js.map +0 -1
  143. package/dist/document-themes/lib/index.d.ts +0 -3
  144. package/dist/document-themes/lib/index.d.ts.map +0 -1
  145. package/dist/document-themes/lib/index.js.map +0 -1
  146. package/dist/runner/lib/input-hash.d.ts.map +0 -1
  147. package/dist/runner/lib/input-hash.js.map +0 -1
  148. package/dist/workflow/lib/sampling-profiles.d.ts +0 -18
  149. package/dist/workflow/lib/sampling-profiles.d.ts.map +0 -1
  150. package/dist/workflow/lib/sampling-profiles.js +0 -56
  151. package/dist/workflow/lib/sampling-profiles.js.map +0 -1
  152. package/dist/workflow/lib/workflow-stage.d.ts +0 -11
  153. package/dist/workflow/lib/workflow-stage.d.ts.map +0 -1
  154. package/dist/workflow/lib/workflow-stage.js +0 -28
  155. package/dist/workflow/lib/workflow-stage.js.map +0 -1
  156. package/dist/workspace-storage/lib/schemas.d.ts +0 -56
  157. package/dist/workspace-storage/lib/schemas.d.ts.map +0 -1
  158. package/dist/workspace-storage/lib/schemas.js +0 -59
  159. package/dist/workspace-storage/lib/schemas.js.map +0 -1
  160. package/src/biome/lib/biome-api.ts +0 -33
  161. package/src/document-templates/lib/index.ts +0 -2
  162. package/src/document-themes/lib/index.ts +0 -2
  163. package/src/workflow/lib/sampling-profiles.ts +0 -153
  164. package/src/workflow/lib/workflow-stage.ts +0 -89
  165. package/src/workspace-storage/lib/schemas.ts +0 -75
  166. /package/dist/{runner → runner-input-hash}/lib/input-hash.d.ts +0 -0
  167. /package/dist/{runner → runner-input-hash}/lib/input-hash.js +0 -0
@@ -175,14 +175,6 @@ export enum JobRunStatus {
175
175
  SKIPPED = 'skipped',
176
176
  }
177
177
 
178
- /** Terminal states — a job in one of these states accepts no further transitions. */
179
- export const TERMINAL_JOB_RUN_STATUSES: readonly JobRunStatus[] = [
180
- JobRunStatus.SUCCEEDED,
181
- JobRunStatus.FAILED,
182
- JobRunStatus.CANCELLED,
183
- JobRunStatus.SKIPPED,
184
- ] as const;
185
-
186
178
  /** Lifecycle states of a step run (single action invocation) inside a job. */
187
179
  export enum StepRunStatus {
188
180
  PENDING = 'pending',
@@ -201,9 +193,9 @@ export enum StepRunStatus {
201
193
  * - `software-dev/<id>` — actions belonging to the first-party software-dev biome.
202
194
  *
203
195
  * No alias map. The deploy migration rewrites in-flight `CompiledRun`
204
- * records that still carry the old `xema/scm-*` / `xema/backlog-sync`
205
- * ids to their new `software-dev/*` form. Anything not migrated → engine
206
- * dispatch throws `ActionNotRegistered` (fail-fast, deterministic).
196
+ * records that still carry the old `xema/scm-*` ids to their new
197
+ * `software-dev/*` form. Anything not migrated → engine dispatch throws
198
+ * `ActionNotRegistered` (fail-fast, deterministic).
207
199
  */
208
200
  export enum BuiltInActionId {
209
201
  AGENT = 'xema/agent',
@@ -225,7 +217,6 @@ export enum BuiltInActionId {
225
217
  COMMENT_REVIEW = 'xema/comment-review',
226
218
  VALIDATE_DELIVERABLES = 'xema/validate-deliverables',
227
219
  PUBLISH_KB = 'xema/publish-kb',
228
- BACKLOG_SYNC = 'software-dev/backlog-sync',
229
220
  SCM_CHECKOUT = 'software-dev/scm-checkout',
230
221
  SCM_MERGE = 'software-dev/scm-merge',
231
222
  WEBHOOK = 'xema/webhook',
@@ -270,18 +261,6 @@ export enum BuiltInActionId {
270
261
  RUN_MIGRATIONS = 'xema/run-migrations',
271
262
  }
272
263
 
273
- /** Revision semantics exposed to the UI. Maps 1:1 to the 4 revision UIs in the pipeline redesign. */
274
- export enum RevisionKind {
275
- /** Deterministic automatic retry under a declared retry policy. */
276
- AUTO_RETRY = 'auto-retry',
277
- /** Operator override (extendRetries / forceApprove / rejectRun). */
278
- MANUAL_OVERRIDE = 'manual-override',
279
- /** Checkpoint revise & resume (reviseAndResume Update). */
280
- CHECKPOINT_REVISE = 'checkpoint-revise',
281
- /** Redo from a prior step (resetWorkflowExecution). */
282
- REDO_FROM_STEP = 'redo-from-step',
283
- }
284
-
285
264
  /** Snapshot storage kinds. Extended when a new store is added. */
286
265
  export enum SnapshotStoreKind {
287
266
  ARTIFACT_STORE = 'artifact-store',
@@ -33,12 +33,11 @@ import type { PermissionMap } from '../../agent-permission';
33
33
  * Mirrors `biomes/agent-runtime/api/llm-registry-api`'s Prisma `ModelClass` column.
34
34
  *
35
35
  * IMPORTANT — the one allowed copy is in `@xemahq/biome-sdk/builder`'s
36
- * `contribution-schemas.ts`, because that package publishes to the
37
- * public npm registry and cannot depend on this GitHub-Packages-scoped
38
- * package. That copy carries a comment marker; keep both lists
39
- * value-identical. The vitest at
40
- * `packages/ui/biome-builder/tests/model-class-parity.spec.ts` fails
41
- * fast if they drift.
36
+ * `contribution-schemas.ts`, kept inline so the public biome-authoring SDK
37
+ * exposes a self-contained Zod schema surface. That copy carries a comment
38
+ * marker; keep both lists value-identical. The vitest at
39
+ * `packages/ui/biome-builder/tests/model-class-parity.spec.ts` fails fast if
40
+ * they drift.
42
41
  */
43
42
  export enum ModelClass {
44
43
  CODING = 'coding',
@@ -42,7 +42,6 @@ export interface ResolvedMount {
42
42
  // the discriminator union below.
43
43
  import type { AgentRunRole } from './agent-role';
44
44
 
45
- // eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents
46
45
  export type { AgentRunRole };
47
46
 
48
47
  /**
@@ -51,7 +51,6 @@ export enum RunActivityKind {
51
51
  ENDPOINT_FETCH = 'endpoint_fetch',
52
52
  SCHEDULED_DISPATCH = 'scheduled_dispatch',
53
53
  REVIEW = 'review',
54
- BACKLOG_SYNC = 'backlog_sync',
55
54
  /**
56
55
  * Org-database migration dispatched via `xema/run-migrations@v1`
57
56
  * (Phase G of the org-managed-databases plan). The activity calls
@@ -9,4 +9,3 @@
9
9
 
10
10
  export * from './lib/enums';
11
11
  export * from './lib/types';
12
- export * from './lib/schemas';
@@ -108,9 +108,12 @@ export interface StorageDriver {
108
108
  }
109
109
 
110
110
  /**
111
- * Cross-service DTO for a managed pool. Mirrors the Prisma row shape in
112
- * the storage-pool service so callers (worker-runtime, allocator,
113
- * frontend) can share one type.
111
+ * In-process row shape of a managed pool the storage-pool service's Prisma
112
+ * row + the allocator/driver work against this directly, so byte counts are
113
+ * `bigint` (Prisma `BigInt` columns; the service does `>`/`<=` quota
114
+ * arithmetic on them). It is NOT a wire DTO: the service projects it to a
115
+ * JSON-safe decimal-string DTO at its HTTP boundary (`capacityBytes.toString()`).
116
+ * The browser/cross-service callers consume that string DTO, never this type.
114
117
  */
115
118
  export interface StoragePool {
116
119
  readonly id: string;
@@ -126,8 +129,11 @@ export interface StoragePool {
126
129
  }
127
130
 
128
131
  /**
129
- * Cross-service DTO for a single allocation. `bytesUsed` is a best-effort
130
- * snapshot callers must not gate hard limits on this value alone.
132
+ * In-process row shape of a single allocation (storage-pool service Prisma
133
+ * row). Like {@link StoragePool}, `bytesUsed` is a `bigint` because the
134
+ * service computes against it; the HTTP boundary projects it to a decimal
135
+ * string. NOT a wire DTO. `bytesUsed` is a best-effort snapshot — callers
136
+ * must not gate hard limits on this value alone.
131
137
  */
132
138
  export interface StorageAllocation {
133
139
  readonly id: string;
@@ -1,4 +0,0 @@
1
- import { z } from 'zod';
2
- import type { AgentLimits } from './composition';
3
- export declare const AgentLimitsSchema: z.ZodType<AgentLimits>;
4
- //# sourceMappingURL=composition-limits-schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"composition-limits-schema.d.ts","sourceRoot":"","sources":["../../../src/agent-composition/lib/composition-limits-schema.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AASjD,eAAO,MAAM,iBAAiB,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,CAO1C,CAAC"}
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AgentLimitsSchema = void 0;
4
- const zod_1 = require("zod");
5
- exports.AgentLimitsSchema = zod_1.z
6
- .object({
7
- maxDepth: zod_1.z.number().int().positive(),
8
- maxFanout: zod_1.z.number().int().positive(),
9
- maxSpawns: zod_1.z.number().int().positive(),
10
- tokenBudget: zod_1.z.number().int().positive().optional(),
11
- })
12
- .strict();
13
- //# sourceMappingURL=composition-limits-schema.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"composition-limits-schema.js","sourceRoot":"","sources":["../../../src/agent-composition/lib/composition-limits-schema.ts"],"names":[],"mappings":";;;AAmBA,6BAAwB;AAWX,QAAA,iBAAiB,GAA2B,OAAC;KACvD,MAAM,CAAC;IACN,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACrC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACtC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACtC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CACpD,CAAC;KACD,MAAM,EAAE,CAAC"}
@@ -1,37 +0,0 @@
1
- import type { WorkingFileBinding, WorkspaceEnvVar, WorkspacePersistenceSpec } from '../../agent-workspace';
2
- import type { AgentRunRole, CompiledManifestCredential, CompiledManifestPermissions, OutputSurfaceKind } from '../../workflow';
3
- export type { WorkingFileBinding, WorkspaceEnvVar, WorkspacePersistenceSpec, } from '../../agent-workspace';
4
- export declare enum AgentOutputSurfaceMode {
5
- Single = "single",
6
- Multi = "multi"
7
- }
8
- export interface AgentOutputSurface {
9
- readonly kind: OutputSurfaceKind;
10
- readonly port?: number;
11
- readonly healthPath?: string;
12
- readonly autoOpen?: boolean;
13
- readonly mode?: AgentOutputSurfaceMode;
14
- readonly root?: string;
15
- readonly defaultDocument?: string;
16
- }
17
- export interface AgentRunConfig {
18
- readonly stage: string;
19
- readonly role: AgentRunRole;
20
- readonly deliverableSpecRef?: string;
21
- }
22
- export interface AgentMountLayout {
23
- readonly mounts: Readonly<Record<string, unknown>>;
24
- readonly agentRunConfig: AgentRunConfig;
25
- readonly seedFiles: readonly Readonly<Record<string, unknown>>[];
26
- readonly inputs: Readonly<Record<string, unknown>>;
27
- }
28
- export interface AgentWorkspaceConfig {
29
- readonly persistence?: WorkspacePersistenceSpec;
30
- readonly env?: readonly WorkspaceEnvVar[];
31
- readonly outputSurface?: AgentOutputSurface;
32
- readonly mountLayout?: AgentMountLayout;
33
- readonly workingFiles?: readonly WorkingFileBinding[];
34
- readonly credentials?: readonly CompiledManifestCredential[];
35
- readonly permissions?: CompiledManifestPermissions;
36
- }
37
- //# sourceMappingURL=composition-workspace.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"composition-workspace.d.ts","sourceRoot":"","sources":["../../../src/agent-composition/lib/composition-workspace.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EACV,kBAAkB,EAClB,eAAe,EACf,wBAAwB,EACzB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EACV,YAAY,EACZ,0BAA0B,EAC1B,2BAA2B,EAC3B,iBAAiB,EAClB,MAAM,gBAAgB,CAAC;AAExB,YAAY,EACV,kBAAkB,EAClB,eAAe,EACf,wBAAwB,GACzB,MAAM,uBAAuB,CAAC;AAQ/B,oBAAY,sBAAsB;IAChC,MAAM,WAAW;IACjB,KAAK,UAAU;CAChB;AAsBD,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,IAAI,EAAE,iBAAiB,CAAC;IACjC,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAE7B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ty(exports, "__esModule", { value: true });
3
- exports.AgentOutputSurfaceMode = void 0;
4
- var AgentOutputSurfaceMode;
5
- (function (AgentOutputSurfaceMode) {
6
- AgentOutputSurfaceMode["Single"] = "single";
7
- AgentOutputSurfaceMode["Multi"] = "multi";
8
- })(AgentOutputSurfaceMode || (exports.AgentOutputSurfaceMode = AgentOutputSurfaceMode = {}));
9
- //# sourceMappingURL=composition-workspace.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"composition-workspace.js","sourceRoot":"","sources":["../../../src/agent-composition/lib/composition-workspace.ts"],"names":[],"mappings":";;;AA6CA,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,2CAAiB,CAAA;IACjB,yCAAe,CAAA;AACjB,CAAC,EAHW,sBAAsB,sCAAtB,sBAAsB,QAGjC"}
@@ -1,65 +0,0 @@
1
- import type { ToolSelectionEntry } from '../../mcp-tool';
2
- import type { NodeOverlayFragment } from '../../workflow';
3
- import type { SkillRef } from '../../skill';
4
- import type { BiomeAvailabilityScoped } from '../../biome-availability';
5
- import type { CapabilityLayer } from './capability-layer';
6
- import type { AgentWorkspaceConfig } from './composition-workspace';
7
- export interface AgentKernelRef {
8
- readonly slug: string;
9
- readonly version?: string;
10
- }
11
- export declare enum AgentSpace {
12
- System = "system",
13
- Biome = "biome",
14
- Org = "org",
15
- Project = "project",
16
- User = "user"
17
- }
18
- export declare enum AgentLifecycle {
19
- Draft = "draft",
20
- Published = "published",
21
- Archived = "archived"
22
- }
23
- export interface AgentLimits {
24
- readonly maxDepth: number;
25
- readonly maxFanout: number;
26
- readonly maxSpawns: number;
27
- readonly tokenBudget?: number | undefined;
28
- }
29
- export interface AgentNode extends NodeOverlayFragment, BiomeAvailabilityScoped {
30
- readonly kernel: AgentKernelRef;
31
- readonly alias?: string;
32
- readonly skills: readonly SkillRef[];
33
- readonly tools: readonly ToolSelectionEntry[];
34
- readonly children: readonly AgentNode[];
35
- readonly limits?: AgentLimits;
36
- }
37
- export interface Agent {
38
- readonly slug: string;
39
- readonly version: string;
40
- readonly displayName: string;
41
- readonly description?: string;
42
- readonly scope: AgentSpace;
43
- readonly lifecycle: AgentLifecycle;
44
- readonly root: AgentNode;
45
- readonly capability?: CapabilityLayer;
46
- readonly workspace?: AgentWorkspaceConfig;
47
- }
48
- export interface ResolvedAgentNode extends NodeOverlayFragment, BiomeAvailabilityScoped {
49
- readonly kernel: Required<AgentKernelRef>;
50
- readonly alias?: string;
51
- readonly skills: readonly SkillRef[];
52
- readonly tools: readonly ToolSelectionEntry[];
53
- readonly children: readonly ResolvedAgentNode[];
54
- readonly limits?: AgentLimits;
55
- }
56
- export interface ResolvedAgent {
57
- readonly slug: string;
58
- readonly version: string;
59
- readonly displayName: string;
60
- readonly scope: AgentSpace;
61
- readonly root: ResolvedAgentNode;
62
- readonly capability: CapabilityLayer;
63
- readonly workspace?: AgentWorkspaceConfig;
64
- }
65
- //# sourceMappingURL=composition.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"composition.d.ts","sourceRoot":"","sources":["../../../src/agent-composition/lib/composition.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACxE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAKpE,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;CAC3B;AAOD,oBAAY,UAAU;IACpB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,GAAG,QAAQ;IACX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,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,cAAc,CAAC,CAAC;IAC1C,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAExB,QAAQ,CAAC,MAAM,EAAE,SAAS,QAAQ,EAAE,CAAC;IAErC,QAAQ,CAAC,KAAK,EAAE,SAAS,kBAAkB,EAAE,CAAC;IAM9C,QAAQ,CAAC,QAAQ,EAAE,SAAS,iBAAiB,EAAE,CAAC;IAQhD,QAAQ,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC;CAC/B;AAMD,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAC;IAE3B,QAAQ,CAAC,IAAI,EAAE,iBAAiB,CAAC;IAEjC,QAAQ,CAAC,UAAU,EAAE,eAAe,CAAC;IAOrC,QAAQ,CAAC,SAAS,CAAC,EAAE,oBAAoB,CAAC;CAC3C"}
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AgentLifecycle = exports.AgentSpace = void 0;
4
- var AgentSpace;
5
- (function (AgentSpace) {
6
- AgentSpace["System"] = "system";
7
- AgentSpace["Biome"] = "biome";
8
- AgentSpace["Org"] = "org";
9
- AgentSpace["Project"] = "project";
10
- AgentSpace["User"] = "user";
11
- })(AgentSpace || (exports.AgentSpace = AgentSpace = {}));
12
- var AgentLifecycle;
13
- (function (AgentLifecycle) {
14
- AgentLifecycle["Draft"] = "draft";
15
- AgentLifecycle["Published"] = "published";
16
- AgentLifecycle["Archived"] = "archived";
17
- })(AgentLifecycle || (exports.AgentLifecycle = AgentLifecycle = {}));
18
- //# sourceMappingURL=composition.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"composition.js","sourceRoot":"","sources":["../../../src/agent-composition/lib/composition.ts"],"names":[],"mappings":";;;AAoCA,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,+BAAiB,CAAA;IACjB,6BAAe,CAAA;IACf,yBAAW,CAAA;IACX,iCAAmB,CAAA;IACnB,2BAAa,CAAA;AACf,CAAC,EANW,UAAU,0BAAV,UAAU,QAMrB;AAQD,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,iCAAe,CAAA;IACf,yCAAuB,CAAA;IACvB,uCAAqB,CAAA;AACvB,CAAC,EAJW,cAAc,8BAAd,cAAc,QAIzB"}
@@ -1,15 +0,0 @@
1
- import { GitPushBranchSuffix, GitPushConcurrencyMode, type WorkspaceSpec } from './workspace-spec';
2
- export declare const AWP_V1_SPEC: WorkspaceSpec;
3
- export declare function findSlot(spec: WorkspaceSpec, key: string): import("./workspace-spec").SlotDefinition | undefined;
4
- export declare function isKnownSlotKey(spec: WorkspaceSpec, key: string): boolean;
5
- export declare function listAlwaysOnSlotKeys(spec: WorkspaceSpec): readonly string[];
6
- export declare function listTarballPersistedRelPaths(spec: WorkspaceSpec): readonly string[];
7
- export interface ResolvedGitPushSlot {
8
- readonly key: string;
9
- readonly path: string;
10
- readonly branchPrefix: string;
11
- readonly branchSuffix: GitPushBranchSuffix;
12
- readonly concurrencyMode: GitPushConcurrencyMode;
13
- }
14
- export declare function listGitPushPersistedSlots(spec: WorkspaceSpec): readonly ResolvedGitPushSlot[];
15
- //# sourceMappingURL=awp-v1.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"awp-v1.d.ts","sourceRoot":"","sources":["../../../src/agent-workspace/lib/awp-v1.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,sBAAsB,EAEtB,KAAK,aAAa,EACnB,MAAM,kBAAkB,CAAC;AAgB1B,eAAO,MAAM,WAAW,EAAE,aAwMzB,CAAC;AAMF,wBAAgB,QAAQ,CAAC,IAAI,EAAE,aAAa,EAAE,GAAG,EAAE,MAAM,yDAExD;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,aAAa,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAExE;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,aAAa,GAAG,SAAS,MAAM,EAAE,CAE3E;AAQD,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,aAAa,GAAG,SAAS,MAAM,EAAE,CAInF;AAQD,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,YAAY,EAAE,mBAAmB,CAAC;IAC3C,QAAQ,CAAC,eAAe,EAAE,sBAAsB,CAAC;CAClD;AAOD,wBAAgB,yBAAyB,CACvC,IAAI,EAAE,aAAa,GAClB,SAAS,mBAAmB,EAAE,CAgBhC"}
@@ -1,197 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AWP_V1_SPEC = void 0;
4
- exports.findSlot = findSlot;
5
- exports.isKnownSlotKey = isKnownSlotKey;
6
- exports.listAlwaysOnSlotKeys = listAlwaysOnSlotKeys;
7
- exports.listTarballPersistedRelPaths = listTarballPersistedRelPaths;
8
- exports.listGitPushPersistedSlots = listGitPushPersistedSlots;
9
- const workspace_spec_1 = require("./workspace-spec");
10
- exports.AWP_V1_SPEC = {
11
- id: 'awp/v1',
12
- version: '1.2.0',
13
- slots: [
14
- {
15
- key: 'inputs',
16
- path: '/workspace/inputs',
17
- presence: 'always',
18
- allowedModes: [workspace_spec_1.SlotMode.ReadOnly],
19
- defaultMode: workspace_spec_1.SlotMode.ReadOnly,
20
- ownership: 'user',
21
- humanDescription: "Read-only inputs supplied at session/run start (the workflow's `with:` block or the session's customConfig). The DSL input bag lands at `inputs.json`.",
22
- persistencePolicy: { kind: 'none' },
23
- },
24
- {
25
- key: 'tmp',
26
- path: '/workspace/tmp',
27
- presence: 'always',
28
- allowedModes: [workspace_spec_1.SlotMode.ReadWrite],
29
- defaultMode: workspace_spec_1.SlotMode.ReadWrite,
30
- ownership: 'user',
31
- humanDescription: 'Your scratch space — drafts, intermediate computation, working notes. Snapshot-persisted so retries see prior state. Never harvested.',
32
- persistencePolicy: { kind: 'tarball' },
33
- },
34
- {
35
- key: 'uploads',
36
- path: '/workspace/uploads',
37
- presence: 'optional',
38
- allowedModes: [workspace_spec_1.SlotMode.ReadOnly],
39
- defaultMode: workspace_spec_1.SlotMode.ReadOnly,
40
- ownership: 'user',
41
- humanDescription: 'User-uploaded files (briefs, screenshots, sketches). Read-only — never write here.',
42
- persistencePolicy: { kind: 'tarball' },
43
- },
44
- {
45
- key: 'references',
46
- path: '/workspace/references',
47
- presence: 'optional',
48
- allowedModes: [workspace_spec_1.SlotMode.ReadOnly],
49
- defaultMode: workspace_spec_1.SlotMode.ReadOnly,
50
- ownership: 'user',
51
- humanDescription: 'Curated evidence library (knowledge-base spaces, prior artifacts, external project mounts). Read-only.',
52
- persistencePolicy: { kind: 'none' },
53
- subSlots: [
54
- {
55
- key: 'kb',
56
- path: '/workspace/references/kb',
57
- allowedModes: [workspace_spec_1.SlotMode.ReadOnly],
58
- defaultMode: workspace_spec_1.SlotMode.ReadOnly,
59
- ownership: 'user',
60
- },
61
- {
62
- key: 'external-projects',
63
- path: '/workspace/references/external-projects',
64
- allowedModes: [workspace_spec_1.SlotMode.ReadOnly],
65
- defaultMode: workspace_spec_1.SlotMode.ReadOnly,
66
- ownership: 'user',
67
- },
68
- ],
69
- },
70
- {
71
- key: 'deliverable-specs',
72
- path: '/workspace/deliverable-specs',
73
- presence: 'optional',
74
- allowedModes: [workspace_spec_1.SlotMode.ReadOnly],
75
- defaultMode: workspace_spec_1.SlotMode.ReadOnly,
76
- ownership: 'user',
77
- humanDescription: 'Schemas + metadata for the deliverable spec(s) this run targets. Read-only — consult before writing under deliverables/.',
78
- persistencePolicy: { kind: 'none' },
79
- },
80
- {
81
- key: 'deliverables',
82
- path: '/workspace/deliverables',
83
- presence: 'optional',
84
- allowedModes: [workspace_spec_1.SlotMode.ReadOnly, workspace_spec_1.SlotMode.ReadWrite],
85
- defaultMode: workspace_spec_1.SlotMode.ReadWrite,
86
- ownership: 'user',
87
- humanDescription: "Your writable output area. Files written here are harvested by the runtime per the deliverable spec's contract.",
88
- persistencePolicy: { kind: 'tarball' },
89
- },
90
- {
91
- key: 'repos',
92
- path: '/workspace/repos',
93
- presence: 'optional',
94
- allowedModes: [workspace_spec_1.SlotMode.ReadOnly, workspace_spec_1.SlotMode.ReadWrite],
95
- defaultMode: workspace_spec_1.SlotMode.ReadOnly,
96
- ownership: 'user',
97
- humanDescription: 'Project repositories. Read-only unless the workflow explicitly granted write authority (engineer roles only).',
98
- persistencePolicy: { kind: 'git-push', branchPrefix: 'xema/session/' },
99
- },
100
- {
101
- key: 'agents-md',
102
- path: '/workspace/AGENTS.md',
103
- presence: 'always',
104
- allowedModes: [workspace_spec_1.SlotMode.ReadOnly],
105
- defaultMode: workspace_spec_1.SlotMode.ReadOnly,
106
- singleFile: true,
107
- ownership: 'platform',
108
- persistencePolicy: { kind: 'none' },
109
- },
110
- {
111
- key: 'context-json',
112
- path: '/workspace/context.json',
113
- presence: 'always',
114
- allowedModes: [workspace_spec_1.SlotMode.ReadOnly],
115
- defaultMode: workspace_spec_1.SlotMode.ReadOnly,
116
- singleFile: true,
117
- ownership: 'platform',
118
- persistencePolicy: { kind: 'none' },
119
- },
120
- {
121
- key: 'system-overlay',
122
- path: '/workspace/.xema/system-overlay.md',
123
- presence: 'always',
124
- allowedModes: [workspace_spec_1.SlotMode.ReadOnly],
125
- defaultMode: workspace_spec_1.SlotMode.ReadOnly,
126
- singleFile: true,
127
- ownership: 'platform',
128
- persistencePolicy: { kind: 'none' },
129
- },
130
- {
131
- key: 'agent-bundles',
132
- path: '/workspace/.opencode/agents',
133
- presence: 'always',
134
- allowedModes: [workspace_spec_1.SlotMode.ReadOnly],
135
- defaultMode: workspace_spec_1.SlotMode.ReadOnly,
136
- ownership: 'platform',
137
- persistencePolicy: { kind: 'none' },
138
- },
139
- {
140
- key: 'skill-bundles',
141
- path: '/workspace/.opencode/skills',
142
- presence: 'optional',
143
- allowedModes: [workspace_spec_1.SlotMode.ReadOnly],
144
- defaultMode: workspace_spec_1.SlotMode.ReadOnly,
145
- ownership: 'platform',
146
- persistencePolicy: { kind: 'none' },
147
- },
148
- {
149
- key: 'commands',
150
- path: '/workspace/.opencode/command',
151
- presence: 'optional',
152
- allowedModes: [workspace_spec_1.SlotMode.ReadOnly],
153
- defaultMode: workspace_spec_1.SlotMode.ReadOnly,
154
- ownership: 'platform',
155
- persistencePolicy: { kind: 'none' },
156
- },
157
- {
158
- key: 'instructions',
159
- path: '/workspace/.xema/instructions',
160
- presence: 'optional',
161
- allowedModes: [workspace_spec_1.SlotMode.ReadOnly],
162
- defaultMode: workspace_spec_1.SlotMode.ReadOnly,
163
- ownership: 'platform',
164
- persistencePolicy: { kind: 'none' },
165
- },
166
- ],
167
- };
168
- function findSlot(spec, key) {
169
- return spec.slots.find((s) => s.key === key);
170
- }
171
- function isKnownSlotKey(spec, key) {
172
- return spec.slots.some((s) => s.key === key);
173
- }
174
- function listAlwaysOnSlotKeys(spec) {
175
- return spec.slots.filter((s) => s.presence === 'always').map((s) => s.key);
176
- }
177
- function listTarballPersistedRelPaths(spec) {
178
- return spec.slots
179
- .filter((s) => s.persistencePolicy?.kind === 'tarball')
180
- .map((s) => s.path.replace(/^\/workspace\//, ''));
181
- }
182
- function listGitPushPersistedSlots(spec) {
183
- const out = [];
184
- for (const slot of spec.slots) {
185
- if (slot.persistencePolicy?.kind === 'git-push') {
186
- out.push({
187
- key: slot.key,
188
- path: slot.path,
189
- branchPrefix: slot.persistencePolicy.branchPrefix,
190
- branchSuffix: slot.persistencePolicy.branchSuffix ?? workspace_spec_1.GitPushBranchSuffix.SessionId,
191
- concurrencyMode: slot.persistencePolicy.concurrencyMode ?? workspace_spec_1.GitPushConcurrencyMode.Force,
192
- });
193
- }
194
- }
195
- return out;
196
- }
197
- //# sourceMappingURL=awp-v1.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"awp-v1.js","sourceRoot":"","sources":["../../../src/agent-workspace/lib/awp-v1.ts"],"names":[],"mappings":";;;AAmOA,4BAEC;AAED,wCAEC;AAED,oDAEC;AAQD,oEAIC;AAqBD,8DAkBC;AAhSD,qDAK0B;AAgBb,QAAA,WAAW,GAAkB;IACxC,EAAE,EAAE,QAAQ;IACZ,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE;QACL;YACE,GAAG,EAAE,QAAQ;YACb,IAAI,EAAE,mBAAmB;YACzB,QAAQ,EAAE,QAAQ;YAClB,YAAY,EAAE,CAAC,yBAAQ,CAAC,QAAQ,CAAC;YACjC,WAAW,EAAE,yBAAQ,CAAC,QAAQ;YAC9B,SAAS,EAAE,MAAM;YACjB,gBAAgB,EACd,wJAAwJ;YAC1J,iBAAiB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;SACpC;QACD;YAIE,GAAG,EAAE,KAAK;YACV,IAAI,EAAE,gBAAgB;YACtB,QAAQ,EAAE,QAAQ;YAClB,YAAY,EAAE,CAAC,yBAAQ,CAAC,SAAS,CAAC;YAClC,WAAW,EAAE,yBAAQ,CAAC,SAAS;YAC/B,SAAS,EAAE,MAAM;YACjB,gBAAgB,EACd,uIAAuI;YACzI,iBAAiB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;SACvC;QACD;YACE,GAAG,EAAE,SAAS;YACd,IAAI,EAAE,oBAAoB;YAC1B,QAAQ,EAAE,UAAU;YACpB,YAAY,EAAE,CAAC,yBAAQ,CAAC,QAAQ,CAAC;YACjC,WAAW,EAAE,yBAAQ,CAAC,QAAQ;YAC9B,SAAS,EAAE,MAAM;YACjB,gBAAgB,EACd,oFAAoF;YACtF,iBAAiB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;SACvC;QACD;YACE,GAAG,EAAE,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,CAAC"}
@@ -1,12 +0,0 @@
1
- import { z } from 'zod';
2
- export interface BiomeApiManifest {
3
- name: string;
4
- basePath: string;
5
- image: {
6
- package: string;
7
- port: number;
8
- };
9
- scopes: readonly string[];
10
- }
11
- export declare const BiomeApiManifestSchema: z.ZodType<BiomeApiManifest>;
12
- //# sourceMappingURL=biome-api.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"biome-api.d.ts","sourceRoot":"","sources":["../../../src/biome/lib/biome-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAcxB,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE;QACL,OAAO,EAAE,MAAM,CAAC;QAChB,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;CAC3B;AAED,eAAO,MAAM,sBAAsB,EAQ7B,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC"}
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BiomeApiManifestSchema = void 0;
4
- const zod_1 = require("zod");
5
- exports.BiomeApiManifestSchema = zod_1.z.object({
6
- name: zod_1.z.string().min(1),
7
- basePath: zod_1.z.string().min(1),
8
- image: zod_1.z.object({
9
- package: zod_1.z.string().min(1),
10
- port: zod_1.z.number().int().positive(),
11
- }),
12
- scopes: zod_1.z.array(zod_1.z.string().min(1)).readonly(),
13
- });
14
- //# sourceMappingURL=biome-api.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"biome-api.js","sourceRoot":"","sources":["../../../src/biome/lib/biome-api.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAwBX,QAAA,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACvB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3B,KAAK,EAAE,OAAC,CAAC,MAAM,CAAC;QACd,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;QAC1B,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;KAClC,CAAC;IACF,MAAM,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;CAC9C,CAAgC,CAAC"}
@@ -1,3 +0,0 @@
1
- export * from './rendering-shape';
2
- export * from './document-template';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/document-templates/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/document-templates/lib/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,sDAAoC"}
@@ -1,3 +0,0 @@
1
- export * from './document-theme';
2
- export * from './component-vocabulary';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/document-themes/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/document-themes/lib/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,yDAAuC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"input-hash.d.ts","sourceRoot":"","sources":["../../../src/runner/lib/input-hash.ts"],"names":[],"mappings":"AA2BA,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAGnE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"input-hash.js","sourceRoot":"","sources":["../../../src/runner/lib/input-hash.ts"],"names":[],"mappings":";;AA2BA,oEAGC;AA9BD,6CAAyC;AA2BzC,SAAgB,4BAA4B,CAAC,KAAc;IACzD,MAAM,SAAS,GAAG,YAAY,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;IACjE,OAAO,IAAA,wBAAU,EAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AACtE,CAAC;AAED,SAAS,YAAY,CAAC,KAAc;IAClC,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QAG1C,OAAO,MAAM,CAAC;IAChB,CAAC;IACD,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACzB,OAAO,IAAI,KAAK,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC;IAClD,CAAC;IACD,MAAM,SAAS,GAAG,OAAO,KAAK,CAAC;IAC/B,IAAI,SAAS,KAAK,QAAQ,EAAE,CAAC;QAC3B,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;YAC5B,MAAM,IAAI,KAAK,CACb,qFAAqF,CACtF,CAAC;QACJ,CAAC;QACD,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IACD,IAAI,SAAS,KAAK,SAAS,IAAI,SAAS,KAAK,QAAQ,EAAE,CAAC;QACtD,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IACD,IAAI,SAAS,KAAK,QAAQ,EAAE,CAAC;QAC3B,MAAM,GAAG,GAAG,KAAgC,CAAC;QAC7C,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;aAC1B,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,SAAS,CAAC;aACvC,IAAI,EAAE,CAAC;QACV,OAAO,IAAI,IAAI;aACZ,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,YAAY,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;aAChE,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC;IAClB,CAAC;IACD,MAAM,IAAI,KAAK,CACb,yDAAyD,SAAS,wBAAwB,CAC3F,CAAC;AACJ,CAAC"}
@@ -1,18 +0,0 @@
1
- export declare enum SamplingProfile {
2
- Deterministic = "deterministic",
3
- Precise = "precise",
4
- Analytical = "analytical",
5
- Creative = "creative"
6
- }
7
- export interface SamplingParams {
8
- temperature: number;
9
- topP?: number;
10
- topK?: number;
11
- presencePenalty?: number;
12
- frequencyPenalty?: number;
13
- repetitionPenalty?: number;
14
- }
15
- export declare const SAMPLING_PROFILE_DEFAULTS: Record<SamplingProfile, SamplingParams>;
16
- export declare function resolveSamplingParams(profile: SamplingProfile, registryOverride?: Partial<SamplingParams>): SamplingParams;
17
- export declare function profileTemperature(profile: SamplingProfile): number | undefined;
18
- //# sourceMappingURL=sampling-profiles.d.ts.map