@shipfox/api-runners-dto 12.2.0 → 13.0.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 (48) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/CHANGELOG.md +13 -0
  3. package/dist/events.d.ts +0 -17
  4. package/dist/events.d.ts.map +1 -1
  5. package/dist/events.js +0 -9
  6. package/dist/events.js.map +1 -1
  7. package/dist/index.d.ts +2 -2
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +2 -2
  10. package/dist/index.js.map +1 -1
  11. package/dist/inter-module.d.ts +0 -27
  12. package/dist/inter-module.d.ts.map +1 -1
  13. package/dist/inter-module.js +0 -27
  14. package/dist/inter-module.js.map +1 -1
  15. package/dist/schemas/assign-runner-instances.d.ts +2 -0
  16. package/dist/schemas/assign-runner-instances.d.ts.map +1 -1
  17. package/dist/schemas/assign-runner-instances.js +2 -0
  18. package/dist/schemas/assign-runner-instances.js.map +1 -1
  19. package/dist/schemas/index.d.ts +2 -2
  20. package/dist/schemas/index.d.ts.map +1 -1
  21. package/dist/schemas/index.js +2 -2
  22. package/dist/schemas/index.js.map +1 -1
  23. package/dist/schemas/poll-demand.d.ts +1 -0
  24. package/dist/schemas/poll-demand.d.ts.map +1 -1
  25. package/dist/schemas/poll-demand.js +1 -0
  26. package/dist/schemas/poll-demand.js.map +1 -1
  27. package/dist/schemas/reconcile-runner-instances.d.ts +4 -0
  28. package/dist/schemas/reconcile-runner-instances.d.ts.map +1 -1
  29. package/dist/schemas/reconcile-runner-instances.js +3 -0
  30. package/dist/schemas/reconcile-runner-instances.js.map +1 -1
  31. package/dist/schemas/runner-enrollment.d.ts +2 -0
  32. package/dist/schemas/runner-enrollment.d.ts.map +1 -1
  33. package/dist/schemas/runner-enrollment.js +7 -2
  34. package/dist/schemas/runner-enrollment.js.map +1 -1
  35. package/dist/tsconfig.test.tsbuildinfo +1 -1
  36. package/package.json +1 -1
  37. package/src/events.ts +0 -12
  38. package/src/index.ts +4 -3
  39. package/src/inter-module.test.ts +0 -24
  40. package/src/inter-module.ts +0 -23
  41. package/src/schemas/assign-runner-instances.ts +3 -0
  42. package/src/schemas/index.ts +4 -0
  43. package/src/schemas/poll-demand.test.ts +1 -0
  44. package/src/schemas/poll-demand.ts +8 -0
  45. package/src/schemas/reconcile-runner-instances.test.ts +27 -3
  46. package/src/schemas/reconcile-runner-instances.ts +4 -0
  47. package/src/schemas/runner-enrollment.ts +9 -1
  48. package/tsconfig.build.tsbuildinfo +1 -1
@@ -1,2 +1,2 @@
1
1
  $ shipfox-swc
2
- Successfully compiled: 18 files with swc (316.67ms)
2
+ Successfully compiled: 18 files with swc (202.41ms)
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @shipfox/api-runners-dto
2
2
 
3
+ ## 13.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - af6b31e: Expose ordered queued and terminal workflow job-execution facts, and release terminal runner reservations once no uncancelled lease remains.
8
+
9
+ ## 12.4.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 9e16946: Runners are enrolled only when the reservation still has capacity, and partial-enrollment errors now report reservation shortfalls separately from launch grants.
14
+ - 4fa8526: Adds opt-in reconciliation data so provisioners can retry intended reservation assignments.
15
+
3
16
  ## 12.2.0
4
17
 
5
18
  ### Patch Changes
package/dist/events.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { z } from 'zod';
2
2
  export declare const RUNNER_JOB_LEASE_EXPIRED: 'runners.job.lease_expired';
3
- export declare const RUNNER_JOB_QUEUED: 'runners.job.queued';
4
3
  export declare const RUNNER_JOB_CLAIMED: 'runners.job.claimed';
5
4
  export declare const runnerJobLeaseExpiredEventSchema: z.ZodObject<{
6
5
  workflowRunId: z.ZodString;
@@ -9,14 +8,6 @@ export declare const runnerJobLeaseExpiredEventSchema: z.ZodObject<{
9
8
  jobExecutionId: z.ZodString;
10
9
  }, z.core.$strip>;
11
10
  export type RunnerJobLeaseExpiredEvent = z.infer<typeof runnerJobLeaseExpiredEventSchema>;
12
- export declare const runnerJobQueuedEventSchema: z.ZodObject<{
13
- workflowRunId: z.ZodString;
14
- workflowRunAttemptId: z.ZodString;
15
- jobId: z.ZodString;
16
- jobExecutionId: z.ZodString;
17
- queuedAt: z.ZodString;
18
- }, z.core.$strip>;
19
- export type RunnerJobQueuedEvent = z.infer<typeof runnerJobQueuedEventSchema>;
20
11
  export declare const runnerJobClaimedEventSchema: z.ZodObject<{
21
12
  workflowRunId: z.ZodString;
22
13
  workflowRunAttemptId: z.ZodString;
@@ -27,7 +18,6 @@ export declare const runnerJobClaimedEventSchema: z.ZodObject<{
27
18
  export type RunnerJobClaimedEvent = z.infer<typeof runnerJobClaimedEventSchema>;
28
19
  export interface RunnersEventMap {
29
20
  [RUNNER_JOB_LEASE_EXPIRED]: RunnerJobLeaseExpiredEvent;
30
- [RUNNER_JOB_QUEUED]: RunnerJobQueuedEvent;
31
21
  [RUNNER_JOB_CLAIMED]: RunnerJobClaimedEvent;
32
22
  }
33
23
  export declare const runnersEventSchemas: {
@@ -37,13 +27,6 @@ export declare const runnersEventSchemas: {
37
27
  jobId: z.ZodString;
38
28
  jobExecutionId: z.ZodString;
39
29
  }, z.core.$strip>;
40
- "runners.job.queued": z.ZodObject<{
41
- workflowRunId: z.ZodString;
42
- workflowRunAttemptId: z.ZodString;
43
- jobId: z.ZodString;
44
- jobExecutionId: z.ZodString;
45
- queuedAt: z.ZodString;
46
- }, z.core.$strip>;
47
30
  "runners.job.claimed": z.ZodObject<{
48
31
  workflowRunId: z.ZodString;
49
32
  workflowRunAttemptId: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAKtB,eAAO,MAAM,wBAAwB,EAAG,2BAAoC,CAAC;AAC7E,eAAO,MAAM,iBAAiB,EAAG,oBAA6B,CAAC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kBAAkB,CAAC,EAAE,qBAAqB,CAAC;CAC7C;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;CAGoB,CAAC"}
package/dist/events.js CHANGED
@@ -2,7 +2,6 @@ import { z } from 'zod';
2
2
  const nonEmptyStringSchema = z.string().nonempty();
3
3
  const isoDateTimeSchema = z.string().datetime();
4
4
  export const RUNNER_JOB_LEASE_EXPIRED = 'runners.job.lease_expired';
5
- export const RUNNER_JOB_QUEUED = 'runners.job.queued';
6
5
  export const RUNNER_JOB_CLAIMED = 'runners.job.claimed';
7
6
  export const runnerJobLeaseExpiredEventSchema = z.object({
8
7
  workflowRunId: nonEmptyStringSchema,
@@ -10,13 +9,6 @@ export const runnerJobLeaseExpiredEventSchema = z.object({
10
9
  jobId: nonEmptyStringSchema,
11
10
  jobExecutionId: nonEmptyStringSchema
12
11
  });
13
- export const runnerJobQueuedEventSchema = z.object({
14
- workflowRunId: nonEmptyStringSchema,
15
- workflowRunAttemptId: nonEmptyStringSchema,
16
- jobId: nonEmptyStringSchema,
17
- jobExecutionId: nonEmptyStringSchema,
18
- queuedAt: isoDateTimeSchema
19
- });
20
12
  export const runnerJobClaimedEventSchema = z.object({
21
13
  workflowRunId: nonEmptyStringSchema,
22
14
  workflowRunAttemptId: nonEmptyStringSchema,
@@ -26,7 +18,6 @@ export const runnerJobClaimedEventSchema = z.object({
26
18
  });
27
19
  export const runnersEventSchemas = {
28
20
  [RUNNER_JOB_LEASE_EXPIRED]: runnerJobLeaseExpiredEventSchema,
29
- [RUNNER_JOB_QUEUED]: runnerJobQueuedEventSchema,
30
21
  [RUNNER_JOB_CLAIMED]: runnerJobClaimedEventSchema
31
22
  };
32
23
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/events.ts"],"sourcesContent":["import {z} from 'zod';\n\nconst nonEmptyStringSchema = z.string().nonempty();\nconst isoDateTimeSchema = z.string().datetime();\n\nexport const RUNNER_JOB_LEASE_EXPIRED = 'runners.job.lease_expired' as const;\nexport const RUNNER_JOB_QUEUED = 'runners.job.queued' as const;\nexport const RUNNER_JOB_CLAIMED = 'runners.job.claimed' as const;\n\nexport const runnerJobLeaseExpiredEventSchema = z.object({\n workflowRunId: nonEmptyStringSchema,\n workflowRunAttemptId: nonEmptyStringSchema,\n jobId: nonEmptyStringSchema,\n jobExecutionId: nonEmptyStringSchema,\n});\nexport type RunnerJobLeaseExpiredEvent = z.infer<typeof runnerJobLeaseExpiredEventSchema>;\n\nexport const runnerJobQueuedEventSchema = z.object({\n workflowRunId: nonEmptyStringSchema,\n workflowRunAttemptId: nonEmptyStringSchema,\n jobId: nonEmptyStringSchema,\n jobExecutionId: nonEmptyStringSchema,\n queuedAt: isoDateTimeSchema,\n});\nexport type RunnerJobQueuedEvent = z.infer<typeof runnerJobQueuedEventSchema>;\n\nexport const runnerJobClaimedEventSchema = z.object({\n workflowRunId: nonEmptyStringSchema,\n workflowRunAttemptId: nonEmptyStringSchema,\n jobId: nonEmptyStringSchema,\n jobExecutionId: nonEmptyStringSchema,\n claimedAt: isoDateTimeSchema,\n});\nexport type RunnerJobClaimedEvent = z.infer<typeof runnerJobClaimedEventSchema>;\n\nexport interface RunnersEventMap {\n [RUNNER_JOB_LEASE_EXPIRED]: RunnerJobLeaseExpiredEvent;\n [RUNNER_JOB_QUEUED]: RunnerJobQueuedEvent;\n [RUNNER_JOB_CLAIMED]: RunnerJobClaimedEvent;\n}\n\nexport const runnersEventSchemas = {\n [RUNNER_JOB_LEASE_EXPIRED]: runnerJobLeaseExpiredEventSchema,\n [RUNNER_JOB_QUEUED]: runnerJobQueuedEventSchema,\n [RUNNER_JOB_CLAIMED]: runnerJobClaimedEventSchema,\n} satisfies Record<keyof RunnersEventMap, z.ZodType>;\n"],"names":["z","nonEmptyStringSchema","string","nonempty","isoDateTimeSchema","datetime","RUNNER_JOB_LEASE_EXPIRED","RUNNER_JOB_QUEUED","RUNNER_JOB_CLAIMED","runnerJobLeaseExpiredEventSchema","object","workflowRunId","workflowRunAttemptId","jobId","jobExecutionId","runnerJobQueuedEventSchema","queuedAt","runnerJobClaimedEventSchema","claimedAt","runnersEventSchemas"],"mappings":"AAAA,SAAQA,CAAC,QAAO,MAAM;AAEtB,MAAMC,uBAAuBD,EAAEE,MAAM,GAAGC,QAAQ;AAChD,MAAMC,oBAAoBJ,EAAEE,MAAM,GAAGG,QAAQ;AAE7C,OAAO,MAAMC,2BAA2B,4BAAqC;AAC7E,OAAO,MAAMC,oBAAoB,qBAA8B;AAC/D,OAAO,MAAMC,qBAAqB,sBAA+B;AAEjE,OAAO,MAAMC,mCAAmCT,EAAEU,MAAM,CAAC;IACvDC,eAAeV;IACfW,sBAAsBX;IACtBY,OAAOZ;IACPa,gBAAgBb;AAClB,GAAG;AAGH,OAAO,MAAMc,6BAA6Bf,EAAEU,MAAM,CAAC;IACjDC,eAAeV;IACfW,sBAAsBX;IACtBY,OAAOZ;IACPa,gBAAgBb;IAChBe,UAAUZ;AACZ,GAAG;AAGH,OAAO,MAAMa,8BAA8BjB,EAAEU,MAAM,CAAC;IAClDC,eAAeV;IACfW,sBAAsBX;IACtBY,OAAOZ;IACPa,gBAAgBb;IAChBiB,WAAWd;AACb,GAAG;AASH,OAAO,MAAMe,sBAAsB;IACjC,CAACb,yBAAyB,EAAEG;IAC5B,CAACF,kBAAkB,EAAEQ;IACrB,CAACP,mBAAmB,EAAES;AACxB,EAAqD"}
1
+ {"version":3,"sources":["../src/events.ts"],"sourcesContent":["import {z} from 'zod';\n\nconst nonEmptyStringSchema = z.string().nonempty();\nconst isoDateTimeSchema = z.string().datetime();\n\nexport const RUNNER_JOB_LEASE_EXPIRED = 'runners.job.lease_expired' as const;\nexport const RUNNER_JOB_CLAIMED = 'runners.job.claimed' as const;\n\nexport const runnerJobLeaseExpiredEventSchema = z.object({\n workflowRunId: nonEmptyStringSchema,\n workflowRunAttemptId: nonEmptyStringSchema,\n jobId: nonEmptyStringSchema,\n jobExecutionId: nonEmptyStringSchema,\n});\nexport type RunnerJobLeaseExpiredEvent = z.infer<typeof runnerJobLeaseExpiredEventSchema>;\n\nexport const runnerJobClaimedEventSchema = z.object({\n workflowRunId: nonEmptyStringSchema,\n workflowRunAttemptId: nonEmptyStringSchema,\n jobId: nonEmptyStringSchema,\n jobExecutionId: nonEmptyStringSchema,\n claimedAt: isoDateTimeSchema,\n});\nexport type RunnerJobClaimedEvent = z.infer<typeof runnerJobClaimedEventSchema>;\n\nexport interface RunnersEventMap {\n [RUNNER_JOB_LEASE_EXPIRED]: RunnerJobLeaseExpiredEvent;\n [RUNNER_JOB_CLAIMED]: RunnerJobClaimedEvent;\n}\n\nexport const runnersEventSchemas = {\n [RUNNER_JOB_LEASE_EXPIRED]: runnerJobLeaseExpiredEventSchema,\n [RUNNER_JOB_CLAIMED]: runnerJobClaimedEventSchema,\n} satisfies Record<keyof RunnersEventMap, z.ZodType>;\n"],"names":["z","nonEmptyStringSchema","string","nonempty","isoDateTimeSchema","datetime","RUNNER_JOB_LEASE_EXPIRED","RUNNER_JOB_CLAIMED","runnerJobLeaseExpiredEventSchema","object","workflowRunId","workflowRunAttemptId","jobId","jobExecutionId","runnerJobClaimedEventSchema","claimedAt","runnersEventSchemas"],"mappings":"AAAA,SAAQA,CAAC,QAAO,MAAM;AAEtB,MAAMC,uBAAuBD,EAAEE,MAAM,GAAGC,QAAQ;AAChD,MAAMC,oBAAoBJ,EAAEE,MAAM,GAAGG,QAAQ;AAE7C,OAAO,MAAMC,2BAA2B,4BAAqC;AAC7E,OAAO,MAAMC,qBAAqB,sBAA+B;AAEjE,OAAO,MAAMC,mCAAmCR,EAAES,MAAM,CAAC;IACvDC,eAAeT;IACfU,sBAAsBV;IACtBW,OAAOX;IACPY,gBAAgBZ;AAClB,GAAG;AAGH,OAAO,MAAMa,8BAA8Bd,EAAES,MAAM,CAAC;IAClDC,eAAeT;IACfU,sBAAsBV;IACtBW,OAAOX;IACPY,gBAAgBZ;IAChBc,WAAWX;AACb,GAAG;AAQH,OAAO,MAAMY,sBAAsB;IACjC,CAACV,yBAAyB,EAAEE;IAC5B,CAACD,mBAAmB,EAAEO;AACxB,EAAqD"}
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { type ActiveProvisionerDto, type ActiveRunnerDto, type ActiveRunnerStateDto, type ActiveRunnersResponseDto, type AdministratorProvisionerTokenDto, type AssignRunnerInstancesBodyDto, type AssignRunnerInstancesResponseDto, activeProvisionerDtoSchema, activeRunnerDtoSchema, activeRunnerStateSchema, activeRunnersResponseSchema, administratorProvisionerTokenSchema, assignRunnerInstancesBodySchema, assignRunnerInstancesResponseSchema, attachRunnerControlProviderIdBodySchema, type ClaimedJobResponseDto, type CreateAdministratorProvisionerTokenBodyDto, type CreateAdministratorProvisionerTokenResponseDto, type CreateManualRegistrationTokenBodyDto, type CreateManualRegistrationTokenResponseDto, type CreateProvisionerTokenBodyDto, type CreateProvisionerTokenResponseDto, type CreateRunnerInstancesBodyDto, type CreateRunnerInstancesResponseDto, claimedJobResponseSchema, createAdministratorProvisionerTokenBodySchema, createAdministratorProvisionerTokenResponseSchema, createManualRegistrationTokenBodySchema, createManualRegistrationTokenResponseSchema, createProvisionerTokenBodySchema, createProvisionerTokenResponseSchema, createRunnerInstancesBodySchema, createRunnerInstancesResponseSchema, type DemandStatDto, demandStatSchema, type HeartbeatBodyDto, type HeartbeatResponseDto, heartbeatBodySchema, heartbeatResponseSchema, type InstallationProvisionerTokenStatus, installationProvisionerTokenStatusSchema, type ListActiveProvisionersResponseDto, type ListAdministratorProvisionerTokensQueryDto, type ListAdministratorProvisionerTokensResponseDto, type ListManualRegistrationTokensResponseDto, type ListProvisionerTokensResponseDto, type ListRunnerAdministratorInstancesQueryDto, type ListRunnerAdministratorInstancesResponseDto, listActiveProvisionersResponseSchema, listAdministratorProvisionerTokensQuerySchema, listAdministratorProvisionerTokensResponseSchema, listManualRegistrationTokensResponseSchema, listProvisionerTokensResponseSchema, listRunnerAdministratorInstancesQuerySchema, listRunnerAdministratorInstancesResponseSchema, MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS, MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH, MAX_PROVIDER_KIND_LENGTH, MAX_PROVIDER_RUNNER_REASON_LENGTH, MAX_PROVIDER_RUNNER_REPORT_EVENTS, MAX_PROVISIONER_TOKEN_TTL_SECONDS, MAX_RECONCILE_OBSERVED_RUNNERS, type ManualRegistrationTokenDto, manualRegistrationTokenDtoSchema, type PollDemandBodyDto, type PollDemandResponseDto, type PollDemandTemplateDto, type ProvisionerIdentityResponseDto, type ProvisionerTokenDto, pollDemandBodySchema, pollDemandResponseSchema, pollDemandTemplateSchema, providerKindSchema, providerRunnerReportEventSchema, providerRunnerStateSchema, provisionerIdentityResponseSchema, provisionerTokenDtoSchema, type ReconcileDesiredIntentDto, type ReconciledBoundJobDto, type ReconciledRunnerInstanceDto, type ReconcileRunnerInstancesBodyDto, type ReconcileRunnerInstancesResponseDto, type RegisterRunnerBodyDto, type RegisterRunnerResponseDto, type ReportRunnerInstancesBodyDto, type ReportRunnerInstancesResponseDto, type ReservationGrantDto, type RevokeAdministratorProvisionerTokenBodyDto, type RevokeAdministratorProvisionerTokenResponseDto, type RevokeManualRegistrationTokenResponseDto, type RevokeProvisionerTokenResponseDto, RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS, RUNNER_SESSION_EXHAUSTED_CODE, type RunnerAdministratorInstanceDto, type RunnerAssignmentPollQueryDto, type RunnerBootstrapExchangeBodyDto, type RunnerBootstrapExchangeResponseDto, type RunnerEnrollmentBodyDto, type RunnerEnrollmentResponseDto, type RunnerHarnessToolCapabilitiesDto, type RunnerInstanceReportEventDto, type RunnerInstanceStateDto, type RunnerToolCapabilitiesDto, reconcileDesiredIntentSchema, reconciledBoundJobSchema, reconciledRunnerInstanceSchema, reconcileRunnerInstancesBodySchema, reconcileRunnerInstancesResponseSchema, registerRunnerBodySchema, registerRunnerResponseSchema, reportRunnerInstancesBodySchema, reportRunnerInstancesResponseSchema, reservationGrantSchema, revokeAdministratorProvisionerTokenBodySchema, revokeAdministratorProvisionerTokenResponseSchema, revokeManualRegistrationTokenResponseSchema, revokeProvisionerTokenResponseSchema, runnerAdministratorAssignmentPresenceSchema, runnerAdministratorEnrollmentStateSchema, runnerAdministratorInstanceSchema, runnerAdministratorLifecycleStateSchema, runnerAdministratorReconciliationStatusSchema, runnerAssignmentPollQuerySchema, runnerAssignmentPollResponseSchema, runnerBootstrapExchangeBodySchema, runnerBootstrapExchangeResponseSchema, runnerControlHeartbeatResponseSchema, runnerEnrollmentBodySchema, runnerEnrollmentResponseSchema, runnerHarnessToolCapabilitiesSchema, runnerToolCapabilitiesSchema, } from '#schemas/index.js';
2
- export { RUNNER_JOB_CLAIMED, RUNNER_JOB_LEASE_EXPIRED, RUNNER_JOB_QUEUED, type RunnerJobClaimedEvent, type RunnerJobLeaseExpiredEvent, type RunnerJobQueuedEvent, type RunnersEventMap, runnerJobClaimedEventSchema, runnerJobLeaseExpiredEventSchema, runnerJobQueuedEventSchema, runnersEventSchemas, } from './events.js';
1
+ export { type ActiveProvisionerDto, type ActiveRunnerDto, type ActiveRunnerStateDto, type ActiveRunnersResponseDto, type AdministratorProvisionerTokenDto, type AssignRunnerInstancesBodyDto, type AssignRunnerInstancesResponseDto, activeProvisionerDtoSchema, activeRunnerDtoSchema, activeRunnerStateSchema, activeRunnersResponseSchema, administratorProvisionerTokenSchema, assignRunnerInstancesBodySchema, assignRunnerInstancesResponseSchema, attachRunnerControlProviderIdBodySchema, type ClaimedJobResponseDto, type CreateAdministratorProvisionerTokenBodyDto, type CreateAdministratorProvisionerTokenResponseDto, type CreateManualRegistrationTokenBodyDto, type CreateManualRegistrationTokenResponseDto, type CreateProvisionerTokenBodyDto, type CreateProvisionerTokenResponseDto, type CreateRunnerInstancesBodyDto, type CreateRunnerInstancesResponseDto, claimedJobResponseSchema, createAdministratorProvisionerTokenBodySchema, createAdministratorProvisionerTokenResponseSchema, createManualRegistrationTokenBodySchema, createManualRegistrationTokenResponseSchema, createProvisionerTokenBodySchema, createProvisionerTokenResponseSchema, createRunnerInstancesBodySchema, createRunnerInstancesResponseSchema, type DemandStatDto, demandStatSchema, type HeartbeatBodyDto, type HeartbeatResponseDto, heartbeatBodySchema, heartbeatResponseSchema, type InstallationProvisionerTokenStatus, installationProvisionerTokenStatusSchema, type ListActiveProvisionersResponseDto, type ListAdministratorProvisionerTokensQueryDto, type ListAdministratorProvisionerTokensResponseDto, type ListManualRegistrationTokensResponseDto, type ListProvisionerTokensResponseDto, type ListRunnerAdministratorInstancesQueryDto, type ListRunnerAdministratorInstancesResponseDto, listActiveProvisionersResponseSchema, listAdministratorProvisionerTokensQuerySchema, listAdministratorProvisionerTokensResponseSchema, listManualRegistrationTokensResponseSchema, listProvisionerTokensResponseSchema, listRunnerAdministratorInstancesQuerySchema, listRunnerAdministratorInstancesResponseSchema, MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS, MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH, MAX_PROVIDER_KIND_LENGTH, MAX_PROVIDER_RUNNER_REASON_LENGTH, MAX_PROVIDER_RUNNER_REPORT_EVENTS, MAX_PROVISIONER_TOKEN_TTL_SECONDS, MAX_RECONCILE_OBSERVED_RUNNERS, type ManualRegistrationTokenDto, manualRegistrationTokenDtoSchema, type PollDemandBodyDto, type PollDemandResponseDto, type PollDemandTemplateDto, type ProvisionerIdentityResponseDto, type ProvisionerTokenDto, pollDemandBodySchema, pollDemandResponseSchema, pollDemandTemplateSchema, providerKindSchema, providerRunnerReportEventSchema, providerRunnerStateSchema, provisionerIdentityResponseSchema, provisionerTokenDtoSchema, RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER, RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER_VALUE, RESERVATION_EXPIRED_ERROR_CODE, type ReconcileDesiredIntentDto, type ReconciledBoundJobDto, type ReconciledRunnerInstanceDto, type ReconcileRunnerInstancesBodyDto, type ReconcileRunnerInstancesResponseDto, type RegisterRunnerBodyDto, type RegisterRunnerResponseDto, type ReportRunnerInstancesBodyDto, type ReportRunnerInstancesResponseDto, type ReservationGrantDto, type RevokeAdministratorProvisionerTokenBodyDto, type RevokeAdministratorProvisionerTokenResponseDto, type RevokeManualRegistrationTokenResponseDto, type RevokeProvisionerTokenResponseDto, RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS, RUNNER_INSTANCE_NOT_ASSIGNABLE_ERROR_CODE, RUNNER_SESSION_EXHAUSTED_CODE, type RunnerAdministratorInstanceDto, type RunnerAssignmentPollQueryDto, type RunnerBootstrapExchangeBodyDto, type RunnerBootstrapExchangeResponseDto, type RunnerEnrollmentBodyDto, type RunnerEnrollmentResponseDto, type RunnerHarnessToolCapabilitiesDto, type RunnerInstanceReportEventDto, type RunnerInstanceStateDto, type RunnerToolCapabilitiesDto, reconcileDesiredIntentSchema, reconciledBoundJobSchema, reconciledRunnerInstanceSchema, reconcileRunnerInstancesBodySchema, reconcileRunnerInstancesResponseSchema, registerRunnerBodySchema, registerRunnerResponseSchema, reportRunnerInstancesBodySchema, reportRunnerInstancesResponseSchema, reservationGrantSchema, revokeAdministratorProvisionerTokenBodySchema, revokeAdministratorProvisionerTokenResponseSchema, revokeManualRegistrationTokenResponseSchema, revokeProvisionerTokenResponseSchema, runnerAdministratorAssignmentPresenceSchema, runnerAdministratorEnrollmentStateSchema, runnerAdministratorInstanceSchema, runnerAdministratorLifecycleStateSchema, runnerAdministratorReconciliationStatusSchema, runnerAssignmentPollQuerySchema, runnerAssignmentPollResponseSchema, runnerBootstrapExchangeBodySchema, runnerBootstrapExchangeResponseSchema, runnerControlHeartbeatResponseSchema, runnerEnrollmentBodySchema, runnerEnrollmentResponseSchema, runnerHarnessToolCapabilitiesSchema, runnerToolCapabilitiesSchema, } from '#schemas/index.js';
2
+ export { RUNNER_JOB_CLAIMED, RUNNER_JOB_LEASE_EXPIRED, type RunnerJobClaimedEvent, type RunnerJobLeaseExpiredEvent, type RunnersEventMap, runnerJobClaimedEventSchema, runnerJobLeaseExpiredEventSchema, runnersEventSchemas, } from './events.js';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,0BAA0B,EAC1B,qBAAqB,EACrB,uBAAuB,EACvB,2BAA2B,EAC3B,mCAAmC,EACnC,+BAA+B,EAC/B,mCAAmC,EACnC,uCAAuC,EACvC,KAAK,qBAAqB,EAC1B,KAAK,0CAA0C,EAC/C,KAAK,8CAA8C,EACnD,KAAK,oCAAoC,EACzC,KAAK,wCAAwC,EAC7C,KAAK,6BAA6B,EAClC,KAAK,iCAAiC,EACtC,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,wBAAwB,EACxB,6CAA6C,EAC7C,iDAAiD,EACjD,uCAAuC,EACvC,2CAA2C,EAC3C,gCAAgC,EAChC,oCAAoC,EACpC,+BAA+B,EAC/B,mCAAmC,EACnC,KAAK,aAAa,EAClB,gBAAgB,EAChB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,mBAAmB,EACnB,uBAAuB,EACvB,KAAK,kCAAkC,EACvC,wCAAwC,EACxC,KAAK,iCAAiC,EACtC,KAAK,0CAA0C,EAC/C,KAAK,6CAA6C,EAClD,KAAK,uCAAuC,EAC5C,KAAK,gCAAgC,EACrC,KAAK,wCAAwC,EAC7C,KAAK,2CAA2C,EAChD,oCAAoC,EACpC,6CAA6C,EAC7C,gDAAgD,EAChD,0CAA0C,EAC1C,mCAAmC,EACnC,2CAA2C,EAC3C,8CAA8C,EAC9C,yCAAyC,EACzC,sCAAsC,EACtC,wBAAwB,EACxB,iCAAiC,EACjC,iCAAiC,EACjC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ACpC,2CAA2C,EAC3C,wCAAwC,EACxC,iCAAiC,EACjC,uCAAuC,EACvC,6CAA6C,EAC7C,+BAA+B,EAC/B,kCAAkC,EAClC,iCAAiC,EACjC,qCAAqC,EACrC,oCAAoC,EACpC,0BAA0B,EAC1B,8BAA8B,EAC9B,mCAAmC,EACnC,4BAA4B,GAC7B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,kBAAkB,EAClB,wBAAwB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,0BAA0B,EAC/B,KAAK,eAAe,EACpB,2BAA2B,EAC3B,gCAAgC,EAChC,mBAAmB,GACpB,MAAM,aAAa,CAAC"}
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { activeProvisionerDtoSchema, activeRunnerDtoSchema, activeRunnerStateSchema, activeRunnersResponseSchema, administratorProvisionerTokenSchema, assignRunnerInstancesBodySchema, assignRunnerInstancesResponseSchema, attachRunnerControlProviderIdBodySchema, claimedJobResponseSchema, createAdministratorProvisionerTokenBodySchema, createAdministratorProvisionerTokenResponseSchema, createManualRegistrationTokenBodySchema, createManualRegistrationTokenResponseSchema, createProvisionerTokenBodySchema, createProvisionerTokenResponseSchema, createRunnerInstancesBodySchema, createRunnerInstancesResponseSchema, demandStatSchema, heartbeatBodySchema, heartbeatResponseSchema, installationProvisionerTokenStatusSchema, listActiveProvisionersResponseSchema, listAdministratorProvisionerTokensQuerySchema, listAdministratorProvisionerTokensResponseSchema, listManualRegistrationTokensResponseSchema, listProvisionerTokensResponseSchema, listRunnerAdministratorInstancesQuerySchema, listRunnerAdministratorInstancesResponseSchema, MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS, MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH, MAX_PROVIDER_KIND_LENGTH, MAX_PROVIDER_RUNNER_REASON_LENGTH, MAX_PROVIDER_RUNNER_REPORT_EVENTS, MAX_PROVISIONER_TOKEN_TTL_SECONDS, MAX_RECONCILE_OBSERVED_RUNNERS, manualRegistrationTokenDtoSchema, pollDemandBodySchema, pollDemandResponseSchema, pollDemandTemplateSchema, providerKindSchema, providerRunnerReportEventSchema, providerRunnerStateSchema, provisionerIdentityResponseSchema, provisionerTokenDtoSchema, RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS, RUNNER_SESSION_EXHAUSTED_CODE, reconcileDesiredIntentSchema, reconciledBoundJobSchema, reconciledRunnerInstanceSchema, reconcileRunnerInstancesBodySchema, reconcileRunnerInstancesResponseSchema, registerRunnerBodySchema, registerRunnerResponseSchema, reportRunnerInstancesBodySchema, reportRunnerInstancesResponseSchema, reservationGrantSchema, revokeAdministratorProvisionerTokenBodySchema, revokeAdministratorProvisionerTokenResponseSchema, revokeManualRegistrationTokenResponseSchema, revokeProvisionerTokenResponseSchema, runnerAdministratorAssignmentPresenceSchema, runnerAdministratorEnrollmentStateSchema, runnerAdministratorInstanceSchema, runnerAdministratorLifecycleStateSchema, runnerAdministratorReconciliationStatusSchema, runnerAssignmentPollQuerySchema, runnerAssignmentPollResponseSchema, runnerBootstrapExchangeBodySchema, runnerBootstrapExchangeResponseSchema, runnerControlHeartbeatResponseSchema, runnerEnrollmentBodySchema, runnerEnrollmentResponseSchema, runnerHarnessToolCapabilitiesSchema, runnerToolCapabilitiesSchema } from '#schemas/index.js';
2
- export { RUNNER_JOB_CLAIMED, RUNNER_JOB_LEASE_EXPIRED, RUNNER_JOB_QUEUED, runnerJobClaimedEventSchema, runnerJobLeaseExpiredEventSchema, runnerJobQueuedEventSchema, runnersEventSchemas } from './events.js';
1
+ export { activeProvisionerDtoSchema, activeRunnerDtoSchema, activeRunnerStateSchema, activeRunnersResponseSchema, administratorProvisionerTokenSchema, assignRunnerInstancesBodySchema, assignRunnerInstancesResponseSchema, attachRunnerControlProviderIdBodySchema, claimedJobResponseSchema, createAdministratorProvisionerTokenBodySchema, createAdministratorProvisionerTokenResponseSchema, createManualRegistrationTokenBodySchema, createManualRegistrationTokenResponseSchema, createProvisionerTokenBodySchema, createProvisionerTokenResponseSchema, createRunnerInstancesBodySchema, createRunnerInstancesResponseSchema, demandStatSchema, heartbeatBodySchema, heartbeatResponseSchema, installationProvisionerTokenStatusSchema, listActiveProvisionersResponseSchema, listAdministratorProvisionerTokensQuerySchema, listAdministratorProvisionerTokensResponseSchema, listManualRegistrationTokensResponseSchema, listProvisionerTokensResponseSchema, listRunnerAdministratorInstancesQuerySchema, listRunnerAdministratorInstancesResponseSchema, MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS, MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH, MAX_PROVIDER_KIND_LENGTH, MAX_PROVIDER_RUNNER_REASON_LENGTH, MAX_PROVIDER_RUNNER_REPORT_EVENTS, MAX_PROVISIONER_TOKEN_TTL_SECONDS, MAX_RECONCILE_OBSERVED_RUNNERS, manualRegistrationTokenDtoSchema, pollDemandBodySchema, pollDemandResponseSchema, pollDemandTemplateSchema, providerKindSchema, providerRunnerReportEventSchema, providerRunnerStateSchema, provisionerIdentityResponseSchema, provisionerTokenDtoSchema, RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER, RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER_VALUE, RESERVATION_EXPIRED_ERROR_CODE, RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS, RUNNER_INSTANCE_NOT_ASSIGNABLE_ERROR_CODE, RUNNER_SESSION_EXHAUSTED_CODE, reconcileDesiredIntentSchema, reconciledBoundJobSchema, reconciledRunnerInstanceSchema, reconcileRunnerInstancesBodySchema, reconcileRunnerInstancesResponseSchema, registerRunnerBodySchema, registerRunnerResponseSchema, reportRunnerInstancesBodySchema, reportRunnerInstancesResponseSchema, reservationGrantSchema, revokeAdministratorProvisionerTokenBodySchema, revokeAdministratorProvisionerTokenResponseSchema, revokeManualRegistrationTokenResponseSchema, revokeProvisionerTokenResponseSchema, runnerAdministratorAssignmentPresenceSchema, runnerAdministratorEnrollmentStateSchema, runnerAdministratorInstanceSchema, runnerAdministratorLifecycleStateSchema, runnerAdministratorReconciliationStatusSchema, runnerAssignmentPollQuerySchema, runnerAssignmentPollResponseSchema, runnerBootstrapExchangeBodySchema, runnerBootstrapExchangeResponseSchema, runnerControlHeartbeatResponseSchema, runnerEnrollmentBodySchema, runnerEnrollmentResponseSchema, runnerHarnessToolCapabilitiesSchema, runnerToolCapabilitiesSchema } from '#schemas/index.js';
2
+ export { RUNNER_JOB_CLAIMED, RUNNER_JOB_LEASE_EXPIRED, runnerJobClaimedEventSchema, runnerJobLeaseExpiredEventSchema, runnersEventSchemas } from './events.js';
3
3
 
4
4
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export {\n type ActiveProvisionerDto,\n type ActiveRunnerDto,\n type ActiveRunnerStateDto,\n type ActiveRunnersResponseDto,\n type AdministratorProvisionerTokenDto,\n type AssignRunnerInstancesBodyDto,\n type AssignRunnerInstancesResponseDto,\n activeProvisionerDtoSchema,\n activeRunnerDtoSchema,\n activeRunnerStateSchema,\n activeRunnersResponseSchema,\n administratorProvisionerTokenSchema,\n assignRunnerInstancesBodySchema,\n assignRunnerInstancesResponseSchema,\n attachRunnerControlProviderIdBodySchema,\n type ClaimedJobResponseDto,\n type CreateAdministratorProvisionerTokenBodyDto,\n type CreateAdministratorProvisionerTokenResponseDto,\n type CreateManualRegistrationTokenBodyDto,\n type CreateManualRegistrationTokenResponseDto,\n type CreateProvisionerTokenBodyDto,\n type CreateProvisionerTokenResponseDto,\n type CreateRunnerInstancesBodyDto,\n type CreateRunnerInstancesResponseDto,\n claimedJobResponseSchema,\n createAdministratorProvisionerTokenBodySchema,\n createAdministratorProvisionerTokenResponseSchema,\n createManualRegistrationTokenBodySchema,\n createManualRegistrationTokenResponseSchema,\n createProvisionerTokenBodySchema,\n createProvisionerTokenResponseSchema,\n createRunnerInstancesBodySchema,\n createRunnerInstancesResponseSchema,\n type DemandStatDto,\n demandStatSchema,\n type HeartbeatBodyDto,\n type HeartbeatResponseDto,\n heartbeatBodySchema,\n heartbeatResponseSchema,\n type InstallationProvisionerTokenStatus,\n installationProvisionerTokenStatusSchema,\n type ListActiveProvisionersResponseDto,\n type ListAdministratorProvisionerTokensQueryDto,\n type ListAdministratorProvisionerTokensResponseDto,\n type ListManualRegistrationTokensResponseDto,\n type ListProvisionerTokensResponseDto,\n type ListRunnerAdministratorInstancesQueryDto,\n type ListRunnerAdministratorInstancesResponseDto,\n listActiveProvisionersResponseSchema,\n listAdministratorProvisionerTokensQuerySchema,\n listAdministratorProvisionerTokensResponseSchema,\n listManualRegistrationTokensResponseSchema,\n listProvisionerTokensResponseSchema,\n listRunnerAdministratorInstancesQuerySchema,\n listRunnerAdministratorInstancesResponseSchema,\n MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS,\n MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH,\n MAX_PROVIDER_KIND_LENGTH,\n MAX_PROVIDER_RUNNER_REASON_LENGTH,\n MAX_PROVIDER_RUNNER_REPORT_EVENTS,\n MAX_PROVISIONER_TOKEN_TTL_SECONDS,\n MAX_RECONCILE_OBSERVED_RUNNERS,\n type ManualRegistrationTokenDto,\n manualRegistrationTokenDtoSchema,\n type PollDemandBodyDto,\n type PollDemandResponseDto,\n type PollDemandTemplateDto,\n type ProvisionerIdentityResponseDto,\n type ProvisionerTokenDto,\n pollDemandBodySchema,\n pollDemandResponseSchema,\n pollDemandTemplateSchema,\n providerKindSchema,\n providerRunnerReportEventSchema,\n providerRunnerStateSchema,\n provisionerIdentityResponseSchema,\n provisionerTokenDtoSchema,\n type ReconcileDesiredIntentDto,\n type ReconciledBoundJobDto,\n type ReconciledRunnerInstanceDto,\n type ReconcileRunnerInstancesBodyDto,\n type ReconcileRunnerInstancesResponseDto,\n type RegisterRunnerBodyDto,\n type RegisterRunnerResponseDto,\n type ReportRunnerInstancesBodyDto,\n type ReportRunnerInstancesResponseDto,\n type ReservationGrantDto,\n type RevokeAdministratorProvisionerTokenBodyDto,\n type RevokeAdministratorProvisionerTokenResponseDto,\n type RevokeManualRegistrationTokenResponseDto,\n type RevokeProvisionerTokenResponseDto,\n RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS,\n RUNNER_SESSION_EXHAUSTED_CODE,\n type RunnerAdministratorInstanceDto,\n type RunnerAssignmentPollQueryDto,\n type RunnerBootstrapExchangeBodyDto,\n type RunnerBootstrapExchangeResponseDto,\n type RunnerEnrollmentBodyDto,\n type RunnerEnrollmentResponseDto,\n type RunnerHarnessToolCapabilitiesDto,\n type RunnerInstanceReportEventDto,\n type RunnerInstanceStateDto,\n type RunnerToolCapabilitiesDto,\n reconcileDesiredIntentSchema,\n reconciledBoundJobSchema,\n reconciledRunnerInstanceSchema,\n reconcileRunnerInstancesBodySchema,\n reconcileRunnerInstancesResponseSchema,\n registerRunnerBodySchema,\n registerRunnerResponseSchema,\n reportRunnerInstancesBodySchema,\n reportRunnerInstancesResponseSchema,\n reservationGrantSchema,\n revokeAdministratorProvisionerTokenBodySchema,\n revokeAdministratorProvisionerTokenResponseSchema,\n revokeManualRegistrationTokenResponseSchema,\n revokeProvisionerTokenResponseSchema,\n runnerAdministratorAssignmentPresenceSchema,\n runnerAdministratorEnrollmentStateSchema,\n runnerAdministratorInstanceSchema,\n runnerAdministratorLifecycleStateSchema,\n runnerAdministratorReconciliationStatusSchema,\n runnerAssignmentPollQuerySchema,\n runnerAssignmentPollResponseSchema,\n runnerBootstrapExchangeBodySchema,\n runnerBootstrapExchangeResponseSchema,\n runnerControlHeartbeatResponseSchema,\n runnerEnrollmentBodySchema,\n runnerEnrollmentResponseSchema,\n runnerHarnessToolCapabilitiesSchema,\n runnerToolCapabilitiesSchema,\n} from '#schemas/index.js';\nexport {\n RUNNER_JOB_CLAIMED,\n RUNNER_JOB_LEASE_EXPIRED,\n RUNNER_JOB_QUEUED,\n type RunnerJobClaimedEvent,\n type RunnerJobLeaseExpiredEvent,\n type RunnerJobQueuedEvent,\n type RunnersEventMap,\n runnerJobClaimedEventSchema,\n runnerJobLeaseExpiredEventSchema,\n runnerJobQueuedEventSchema,\n runnersEventSchemas,\n} from './events.js';\n"],"names":["activeProvisionerDtoSchema","activeRunnerDtoSchema","activeRunnerStateSchema","activeRunnersResponseSchema","administratorProvisionerTokenSchema","assignRunnerInstancesBodySchema","assignRunnerInstancesResponseSchema","attachRunnerControlProviderIdBodySchema","claimedJobResponseSchema","createAdministratorProvisionerTokenBodySchema","createAdministratorProvisionerTokenResponseSchema","createManualRegistrationTokenBodySchema","createManualRegistrationTokenResponseSchema","createProvisionerTokenBodySchema","createProvisionerTokenResponseSchema","createRunnerInstancesBodySchema","createRunnerInstancesResponseSchema","demandStatSchema","heartbeatBodySchema","heartbeatResponseSchema","installationProvisionerTokenStatusSchema","listActiveProvisionersResponseSchema","listAdministratorProvisionerTokensQuerySchema","listAdministratorProvisionerTokensResponseSchema","listManualRegistrationTokensResponseSchema","listProvisionerTokensResponseSchema","listRunnerAdministratorInstancesQuerySchema","listRunnerAdministratorInstancesResponseSchema","MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS","MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH","MAX_PROVIDER_KIND_LENGTH","MAX_PROVIDER_RUNNER_REASON_LENGTH","MAX_PROVIDER_RUNNER_REPORT_EVENTS","MAX_PROVISIONER_TOKEN_TTL_SECONDS","MAX_RECONCILE_OBSERVED_RUNNERS","manualRegistrationTokenDtoSchema","pollDemandBodySchema","pollDemandResponseSchema","pollDemandTemplateSchema","providerKindSchema","providerRunnerReportEventSchema","providerRunnerStateSchema","provisionerIdentityResponseSchema","provisionerTokenDtoSchema","RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS","RUNNER_SESSION_EXHAUSTED_CODE","reconcileDesiredIntentSchema","reconciledBoundJobSchema","reconciledRunnerInstanceSchema","reconcileRunnerInstancesBodySchema","reconcileRunnerInstancesResponseSchema","registerRunnerBodySchema","registerRunnerResponseSchema","reportRunnerInstancesBodySchema","reportRunnerInstancesResponseSchema","reservationGrantSchema","revokeAdministratorProvisionerTokenBodySchema","revokeAdministratorProvisionerTokenResponseSchema","revokeManualRegistrationTokenResponseSchema","revokeProvisionerTokenResponseSchema","runnerAdministratorAssignmentPresenceSchema","runnerAdministratorEnrollmentStateSchema","runnerAdministratorInstanceSchema","runnerAdministratorLifecycleStateSchema","runnerAdministratorReconciliationStatusSchema","runnerAssignmentPollQuerySchema","runnerAssignmentPollResponseSchema","runnerBootstrapExchangeBodySchema","runnerBootstrapExchangeResponseSchema","runnerControlHeartbeatResponseSchema","runnerEnrollmentBodySchema","runnerEnrollmentResponseSchema","runnerHarnessToolCapabilitiesSchema","runnerToolCapabilitiesSchema","RUNNER_JOB_CLAIMED","RUNNER_JOB_LEASE_EXPIRED","RUNNER_JOB_QUEUED","runnerJobClaimedEventSchema","runnerJobLeaseExpiredEventSchema","runnerJobQueuedEventSchema","runnersEventSchemas"],"mappings":"AAAA,SAQEA,0BAA0B,EAC1BC,qBAAqB,EACrBC,uBAAuB,EACvBC,2BAA2B,EAC3BC,mCAAmC,EACnCC,+BAA+B,EAC/BC,mCAAmC,EACnCC,uCAAuC,EAUvCC,wBAAwB,EACxBC,6CAA6C,EAC7CC,iDAAiD,EACjDC,uCAAuC,EACvCC,2CAA2C,EAC3CC,gCAAgC,EAChCC,oCAAoC,EACpCC,+BAA+B,EAC/BC,mCAAmC,EAEnCC,gBAAgB,EAGhBC,mBAAmB,EACnBC,uBAAuB,EAEvBC,wCAAwC,EAQxCC,oCAAoC,EACpCC,6CAA6C,EAC7CC,gDAAgD,EAChDC,0CAA0C,EAC1CC,mCAAmC,EACnCC,2CAA2C,EAC3CC,8CAA8C,EAC9CC,yCAAyC,EACzCC,sCAAsC,EACtCC,wBAAwB,EACxBC,iCAAiC,EACjCC,iCAAiC,EACjCC,iCAAiC,EACjCC,8BAA8B,EAE9BC,gCAAgC,EAMhCC,oBAAoB,EACpBC,wBAAwB,EACxBC,wBAAwB,EACxBC,kBAAkB,EAClBC,+BAA+B,EAC/BC,yBAAyB,EACzBC,iCAAiC,EACjCC,yBAAyB,EAezBC,2CAA2C,EAC3CC,6BAA6B,EAW7BC,4BAA4B,EAC5BC,wBAAwB,EACxBC,8BAA8B,EAC9BC,kCAAkC,EAClCC,sCAAsC,EACtCC,wBAAwB,EACxBC,4BAA4B,EAC5BC,+BAA+B,EAC/BC,mCAAmC,EACnCC,sBAAsB,EACtBC,6CAA6C,EAC7CC,iDAAiD,EACjDC,2CAA2C,EAC3CC,oCAAoC,EACpCC,2CAA2C,EAC3CC,wCAAwC,EACxCC,iCAAiC,EACjCC,uCAAuC,EACvCC,6CAA6C,EAC7CC,+BAA+B,EAC/BC,kCAAkC,EAClCC,iCAAiC,EACjCC,qCAAqC,EACrCC,oCAAoC,EACpCC,0BAA0B,EAC1BC,8BAA8B,EAC9BC,mCAAmC,EACnCC,4BAA4B,QACvB,oBAAoB;AAC3B,SACEC,kBAAkB,EAClBC,wBAAwB,EACxBC,iBAAiB,EAKjBC,2BAA2B,EAC3BC,gCAAgC,EAChCC,0BAA0B,EAC1BC,mBAAmB,QACd,cAAc"}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export {\n type ActiveProvisionerDto,\n type ActiveRunnerDto,\n type ActiveRunnerStateDto,\n type ActiveRunnersResponseDto,\n type AdministratorProvisionerTokenDto,\n type AssignRunnerInstancesBodyDto,\n type AssignRunnerInstancesResponseDto,\n activeProvisionerDtoSchema,\n activeRunnerDtoSchema,\n activeRunnerStateSchema,\n activeRunnersResponseSchema,\n administratorProvisionerTokenSchema,\n assignRunnerInstancesBodySchema,\n assignRunnerInstancesResponseSchema,\n attachRunnerControlProviderIdBodySchema,\n type ClaimedJobResponseDto,\n type CreateAdministratorProvisionerTokenBodyDto,\n type CreateAdministratorProvisionerTokenResponseDto,\n type CreateManualRegistrationTokenBodyDto,\n type CreateManualRegistrationTokenResponseDto,\n type CreateProvisionerTokenBodyDto,\n type CreateProvisionerTokenResponseDto,\n type CreateRunnerInstancesBodyDto,\n type CreateRunnerInstancesResponseDto,\n claimedJobResponseSchema,\n createAdministratorProvisionerTokenBodySchema,\n createAdministratorProvisionerTokenResponseSchema,\n createManualRegistrationTokenBodySchema,\n createManualRegistrationTokenResponseSchema,\n createProvisionerTokenBodySchema,\n createProvisionerTokenResponseSchema,\n createRunnerInstancesBodySchema,\n createRunnerInstancesResponseSchema,\n type DemandStatDto,\n demandStatSchema,\n type HeartbeatBodyDto,\n type HeartbeatResponseDto,\n heartbeatBodySchema,\n heartbeatResponseSchema,\n type InstallationProvisionerTokenStatus,\n installationProvisionerTokenStatusSchema,\n type ListActiveProvisionersResponseDto,\n type ListAdministratorProvisionerTokensQueryDto,\n type ListAdministratorProvisionerTokensResponseDto,\n type ListManualRegistrationTokensResponseDto,\n type ListProvisionerTokensResponseDto,\n type ListRunnerAdministratorInstancesQueryDto,\n type ListRunnerAdministratorInstancesResponseDto,\n listActiveProvisionersResponseSchema,\n listAdministratorProvisionerTokensQuerySchema,\n listAdministratorProvisionerTokensResponseSchema,\n listManualRegistrationTokensResponseSchema,\n listProvisionerTokensResponseSchema,\n listRunnerAdministratorInstancesQuerySchema,\n listRunnerAdministratorInstancesResponseSchema,\n MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS,\n MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH,\n MAX_PROVIDER_KIND_LENGTH,\n MAX_PROVIDER_RUNNER_REASON_LENGTH,\n MAX_PROVIDER_RUNNER_REPORT_EVENTS,\n MAX_PROVISIONER_TOKEN_TTL_SECONDS,\n MAX_RECONCILE_OBSERVED_RUNNERS,\n type ManualRegistrationTokenDto,\n manualRegistrationTokenDtoSchema,\n type PollDemandBodyDto,\n type PollDemandResponseDto,\n type PollDemandTemplateDto,\n type ProvisionerIdentityResponseDto,\n type ProvisionerTokenDto,\n pollDemandBodySchema,\n pollDemandResponseSchema,\n pollDemandTemplateSchema,\n providerKindSchema,\n providerRunnerReportEventSchema,\n providerRunnerStateSchema,\n provisionerIdentityResponseSchema,\n provisionerTokenDtoSchema,\n RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER,\n RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER_VALUE,\n RESERVATION_EXPIRED_ERROR_CODE,\n type ReconcileDesiredIntentDto,\n type ReconciledBoundJobDto,\n type ReconciledRunnerInstanceDto,\n type ReconcileRunnerInstancesBodyDto,\n type ReconcileRunnerInstancesResponseDto,\n type RegisterRunnerBodyDto,\n type RegisterRunnerResponseDto,\n type ReportRunnerInstancesBodyDto,\n type ReportRunnerInstancesResponseDto,\n type ReservationGrantDto,\n type RevokeAdministratorProvisionerTokenBodyDto,\n type RevokeAdministratorProvisionerTokenResponseDto,\n type RevokeManualRegistrationTokenResponseDto,\n type RevokeProvisionerTokenResponseDto,\n RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS,\n RUNNER_INSTANCE_NOT_ASSIGNABLE_ERROR_CODE,\n RUNNER_SESSION_EXHAUSTED_CODE,\n type RunnerAdministratorInstanceDto,\n type RunnerAssignmentPollQueryDto,\n type RunnerBootstrapExchangeBodyDto,\n type RunnerBootstrapExchangeResponseDto,\n type RunnerEnrollmentBodyDto,\n type RunnerEnrollmentResponseDto,\n type RunnerHarnessToolCapabilitiesDto,\n type RunnerInstanceReportEventDto,\n type RunnerInstanceStateDto,\n type RunnerToolCapabilitiesDto,\n reconcileDesiredIntentSchema,\n reconciledBoundJobSchema,\n reconciledRunnerInstanceSchema,\n reconcileRunnerInstancesBodySchema,\n reconcileRunnerInstancesResponseSchema,\n registerRunnerBodySchema,\n registerRunnerResponseSchema,\n reportRunnerInstancesBodySchema,\n reportRunnerInstancesResponseSchema,\n reservationGrantSchema,\n revokeAdministratorProvisionerTokenBodySchema,\n revokeAdministratorProvisionerTokenResponseSchema,\n revokeManualRegistrationTokenResponseSchema,\n revokeProvisionerTokenResponseSchema,\n runnerAdministratorAssignmentPresenceSchema,\n runnerAdministratorEnrollmentStateSchema,\n runnerAdministratorInstanceSchema,\n runnerAdministratorLifecycleStateSchema,\n runnerAdministratorReconciliationStatusSchema,\n runnerAssignmentPollQuerySchema,\n runnerAssignmentPollResponseSchema,\n runnerBootstrapExchangeBodySchema,\n runnerBootstrapExchangeResponseSchema,\n runnerControlHeartbeatResponseSchema,\n runnerEnrollmentBodySchema,\n runnerEnrollmentResponseSchema,\n runnerHarnessToolCapabilitiesSchema,\n runnerToolCapabilitiesSchema,\n} from '#schemas/index.js';\nexport {\n RUNNER_JOB_CLAIMED,\n RUNNER_JOB_LEASE_EXPIRED,\n type RunnerJobClaimedEvent,\n type RunnerJobLeaseExpiredEvent,\n type RunnersEventMap,\n runnerJobClaimedEventSchema,\n runnerJobLeaseExpiredEventSchema,\n runnersEventSchemas,\n} from './events.js';\n"],"names":["activeProvisionerDtoSchema","activeRunnerDtoSchema","activeRunnerStateSchema","activeRunnersResponseSchema","administratorProvisionerTokenSchema","assignRunnerInstancesBodySchema","assignRunnerInstancesResponseSchema","attachRunnerControlProviderIdBodySchema","claimedJobResponseSchema","createAdministratorProvisionerTokenBodySchema","createAdministratorProvisionerTokenResponseSchema","createManualRegistrationTokenBodySchema","createManualRegistrationTokenResponseSchema","createProvisionerTokenBodySchema","createProvisionerTokenResponseSchema","createRunnerInstancesBodySchema","createRunnerInstancesResponseSchema","demandStatSchema","heartbeatBodySchema","heartbeatResponseSchema","installationProvisionerTokenStatusSchema","listActiveProvisionersResponseSchema","listAdministratorProvisionerTokensQuerySchema","listAdministratorProvisionerTokensResponseSchema","listManualRegistrationTokensResponseSchema","listProvisionerTokensResponseSchema","listRunnerAdministratorInstancesQuerySchema","listRunnerAdministratorInstancesResponseSchema","MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS","MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH","MAX_PROVIDER_KIND_LENGTH","MAX_PROVIDER_RUNNER_REASON_LENGTH","MAX_PROVIDER_RUNNER_REPORT_EVENTS","MAX_PROVISIONER_TOKEN_TTL_SECONDS","MAX_RECONCILE_OBSERVED_RUNNERS","manualRegistrationTokenDtoSchema","pollDemandBodySchema","pollDemandResponseSchema","pollDemandTemplateSchema","providerKindSchema","providerRunnerReportEventSchema","providerRunnerStateSchema","provisionerIdentityResponseSchema","provisionerTokenDtoSchema","RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER","RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER_VALUE","RESERVATION_EXPIRED_ERROR_CODE","RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS","RUNNER_INSTANCE_NOT_ASSIGNABLE_ERROR_CODE","RUNNER_SESSION_EXHAUSTED_CODE","reconcileDesiredIntentSchema","reconciledBoundJobSchema","reconciledRunnerInstanceSchema","reconcileRunnerInstancesBodySchema","reconcileRunnerInstancesResponseSchema","registerRunnerBodySchema","registerRunnerResponseSchema","reportRunnerInstancesBodySchema","reportRunnerInstancesResponseSchema","reservationGrantSchema","revokeAdministratorProvisionerTokenBodySchema","revokeAdministratorProvisionerTokenResponseSchema","revokeManualRegistrationTokenResponseSchema","revokeProvisionerTokenResponseSchema","runnerAdministratorAssignmentPresenceSchema","runnerAdministratorEnrollmentStateSchema","runnerAdministratorInstanceSchema","runnerAdministratorLifecycleStateSchema","runnerAdministratorReconciliationStatusSchema","runnerAssignmentPollQuerySchema","runnerAssignmentPollResponseSchema","runnerBootstrapExchangeBodySchema","runnerBootstrapExchangeResponseSchema","runnerControlHeartbeatResponseSchema","runnerEnrollmentBodySchema","runnerEnrollmentResponseSchema","runnerHarnessToolCapabilitiesSchema","runnerToolCapabilitiesSchema","RUNNER_JOB_CLAIMED","RUNNER_JOB_LEASE_EXPIRED","runnerJobClaimedEventSchema","runnerJobLeaseExpiredEventSchema","runnersEventSchemas"],"mappings":"AAAA,SAQEA,0BAA0B,EAC1BC,qBAAqB,EACrBC,uBAAuB,EACv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EC,kBAAkB,EAClBC,wBAAwB,EAIxBC,2BAA2B,EAC3BC,gCAAgC,EAChCC,mBAAmB,QACd,cAAc"}
@@ -3,33 +3,6 @@ import { z } from 'zod';
3
3
  export declare const runnersInterModuleContract: import("@shipfox/inter-module").InterModuleContract<{
4
4
  readonly module: "runners";
5
5
  readonly methods: {
6
- enqueueJobExecution: {
7
- input: z.ZodObject<{
8
- workspaceId: z.ZodString;
9
- workflowRunId: z.ZodString;
10
- workflowRunAttemptId: z.ZodString;
11
- jobId: z.ZodString;
12
- jobExecutionId: z.ZodString;
13
- projectId: z.ZodString;
14
- requiredLabels: z.ZodArray<z.ZodString>;
15
- }, z.core.$strip>;
16
- output: z.ZodObject<{}, z.core.$strip>;
17
- errors: {
18
- 'empty-required-labels': z.ZodObject<{}, z.core.$strip>;
19
- };
20
- };
21
- releaseJobExecution: {
22
- input: z.ZodObject<{
23
- jobExecutionId: z.ZodString;
24
- }, z.core.$strip>;
25
- output: z.ZodObject<{}, z.core.$strip>;
26
- };
27
- cancelJobs: {
28
- input: z.ZodObject<{
29
- jobIds: z.ZodArray<z.ZodString>;
30
- }, z.core.$strip>;
31
- output: z.ZodObject<{}, z.core.$strip>;
32
- };
33
6
  getLeaseState: {
34
7
  input: z.ZodObject<{
35
8
  jobId: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"inter-module.d.ts","sourceRoot":"","sources":["../src/inter-module.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,KAAK,iBAAiB,EAAC,MAAM,uBAAuB,CAAC;AACxF,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAKtB,eAAO,MAAM,0BAA0B;;;QAGnC,mBAAmB;YACjB,KAAK;;;;;;;;;YASL,MAAM;YACN,MAAM;gBACJ,uBAAuB;;;QAG3B,mBAAmB;YACjB,KAAK;;;YACL,MAAM;;QAER,UAAU;YACR,KAAK;;;YACL,MAAM;;QAER,aAAa;YACX,KAAK;;;;;YAKL,MAAM;;;;QAER,kCAAkC;YAChC,KAAK;;;YACL,MAAM;;;;;;;;;;;;;;QAKR,qBAAqB;YACnB,KAAK;;;YACL,MAAM;;;;;;;;;EAWV,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,iBAAiB,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
1
+ {"version":3,"file":"inter-module.d.ts","sourceRoot":"","sources":["../src/inter-module.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,KAAK,iBAAiB,EAAC,MAAM,uBAAuB,CAAC;AACxF,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAKtB,eAAO,MAAM,0BAA0B;;;QAGnC,aAAa;YACX,KAAK;;;;;YAKL,MAAM;;;;QAER,kCAAkC;YAChC,KAAK;;;YACL,MAAM;;;;;;;;;;;;;;QAKR,qBAAqB;YACnB,KAAK;;;YACL,MAAM;;;;;;;;;EAWV,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,iBAAiB,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
@@ -5,33 +5,6 @@ const idSchema = z.string().uuid();
5
5
  export const runnersInterModuleContract = defineInterModuleContract({
6
6
  module: 'runners',
7
7
  methods: {
8
- enqueueJobExecution: {
9
- input: z.object({
10
- workspaceId: idSchema,
11
- workflowRunId: idSchema,
12
- workflowRunAttemptId: idSchema,
13
- jobId: idSchema,
14
- jobExecutionId: idSchema,
15
- projectId: idSchema,
16
- requiredLabels: z.array(z.string())
17
- }),
18
- output: z.object({}),
19
- errors: {
20
- 'empty-required-labels': z.object({})
21
- }
22
- },
23
- releaseJobExecution: {
24
- input: z.object({
25
- jobExecutionId: idSchema
26
- }),
27
- output: z.object({})
28
- },
29
- cancelJobs: {
30
- input: z.object({
31
- jobIds: z.array(idSchema)
32
- }),
33
- output: z.object({})
34
- },
35
8
  getLeaseState: {
36
9
  input: z.object({
37
10
  jobId: idSchema,
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/inter-module.ts"],"sourcesContent":["import {defineInterModuleContract, type InterModuleClient} from '@shipfox/inter-module';\nimport {z} from 'zod';\nimport {runnerToolCapabilitiesSchema} from '#schemas/tool-capabilities.js';\n\nconst idSchema = z.string().uuid();\n\nexport const runnersInterModuleContract = defineInterModuleContract({\n module: 'runners',\n methods: {\n enqueueJobExecution: {\n input: z.object({\n workspaceId: idSchema,\n workflowRunId: idSchema,\n workflowRunAttemptId: idSchema,\n jobId: idSchema,\n jobExecutionId: idSchema,\n projectId: idSchema,\n requiredLabels: z.array(z.string()),\n }),\n output: z.object({}),\n errors: {\n 'empty-required-labels': z.object({}),\n },\n },\n releaseJobExecution: {\n input: z.object({jobExecutionId: idSchema}),\n output: z.object({}),\n },\n cancelJobs: {\n input: z.object({jobIds: z.array(idSchema)}),\n output: z.object({}),\n },\n getLeaseState: {\n input: z.object({\n jobId: idSchema,\n jobExecutionId: idSchema,\n runnerSessionId: idSchema,\n }),\n output: z.object({active: z.boolean()}),\n },\n getEffectiveRunnerToolCapabilities: {\n input: z.object({runnerSessionId: idSchema}),\n output: z.object({\n capabilities: runnerToolCapabilitiesSchema,\n reportFresh: z.boolean(),\n }),\n },\n getWorkspaceJobCounts: {\n input: z.object({workspaceIds: z.array(idSchema).min(1).max(100)}),\n output: z.object({\n counts: z.array(\n z.object({\n workspaceId: idSchema,\n queued: z.number().int().nonnegative(),\n running: z.number().int().nonnegative(),\n }),\n ),\n }),\n },\n },\n});\n\nexport type RunnersInterModuleClient = InterModuleClient<typeof runnersInterModuleContract>;\n"],"names":["defineInterModuleContract","z","runnerToolCapabilitiesSchema","idSchema","string","uuid","runnersInterModuleContract","module","methods","enqueueJobExecution","input","object","workspaceId","workflowRunId","workflowRunAttemptId","jobId","jobExecutionId","projectId","requiredLabels","array","output","errors","releaseJobExecution","cancelJobs","jobIds","getLeaseState","runnerSessionId","active","boolean","getEffectiveRunnerToolCapabilities","capabilities","reportFresh","getWorkspaceJobCounts","workspaceIds","min","max","counts","queued","number","int","nonnegative","running"],"mappings":"AAAA,SAAQA,yBA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AAGC,GAAG,CAAC;YAAI;YAChEf,QAAQnB,EAAEU,MAAM,CAAC;gBACfyB,QAAQnC,EAAEkB,KAAK,CACblB,EAAEU,MAAM,CAAC;oBACPC,aAAaT;oBACbkC,QAAQpC,EAAEqC,MAAM,GAAGC,GAAG,GAAGC,WAAW;oBACpCC,SAASxC,EAAEqC,MAAM,GAAGC,GAAG,GAAGC,WAAW;gBACvC;YAEJ;QACF;IACF;AACF,GAAG"}
1
+ {"version":3,"sources":["../src/inter-module.ts"],"sourcesContent":["import {defineInterModuleContract, type InterModuleClient} from '@shipfox/inter-module';\nimport {z} from 'zod';\nimport {runnerToolCapabilitiesSchema} from '#schemas/tool-capabilities.js';\n\nconst idSchema = z.string().uuid();\n\nexport const runnersInterModuleContract = defineInterModuleContract({\n module: 'runners',\n methods: {\n getLeaseState: {\n input: z.object({\n jobId: idSchema,\n jobExecutionId: idSchema,\n runnerSessionId: idSchema,\n }),\n output: z.object({active: z.boolean()}),\n },\n getEffectiveRunnerToolCapabilities: {\n input: z.object({runnerSessionId: idSchema}),\n output: z.object({\n capabilities: runnerToolCapabilitiesSchema,\n reportFresh: z.boolean(),\n }),\n },\n getWorkspaceJobCounts: {\n input: z.object({workspaceIds: z.array(idSchema).min(1).max(100)}),\n output: z.object({\n counts: z.array(\n z.object({\n workspaceId: idSchema,\n queued: z.number().int().nonnegative(),\n running: z.number().int().nonnegative(),\n }),\n ),\n }),\n },\n },\n});\n\nexport type RunnersInterModuleClient = InterModuleClient<typeof runnersInterModuleContract>;\n"],"names":["defineInterModuleContract","z","runnerToolCapabilitiesSchema","idSchema","string","uuid","runnersInterModuleContract","module","methods","getLeaseState","input","object","jobId","jobExecutionId","runnerSessionId","output","active","boolean","getEffectiveRunnerToolCapabilities","capabilities","reportFresh","getWorkspaceJobCounts","workspaceIds","array","min","max","counts","workspaceId","queued","number","int","nonnegative","running"],"mappings":"AAAA,SAAQA,yBAAyB,QAA+B,wBAAwB;AACxF,SAAQC,CAAC,QAAO,MAAM;AACtB,SAAQC,4BAA4B,QAAO,gCAAgC;AAE3E,MAAMC,WAAWF,EAAEG,MAAM,GAAGC,IAAI;AAEhC,OAAO,MAAMC,6BAA6BN,0BAA0B;IAClEO,QAAQ;IACRC,SAAS;QACPC,eAAe;YACbC,OAAOT,EAAEU,MAAM,CAAC;gBACdC,OAAOT;gBACPU,gBAAgBV;gBAChBW,iBAAiBX;YACnB;YACAY,QAAQd,EAAEU,MAAM,CAAC;gBAACK,QAAQf,EAAEgB,OAAO;YAAE;QACvC;QACAC,oCAAoC;YAClCR,OAAOT,EAAEU,MAAM,CAAC;gBAACG,iBAAiBX;YAAQ;YAC1CY,QAAQd,EAAEU,MAAM,CAAC;gBACfQ,cAAcjB;gBACdkB,aAAanB,EAAEgB,OAAO;YACxB;QACF;QACAI,uBAAuB;YACrBX,OAAOT,EAAEU,MAAM,CAAC;gBAACW,cAAcrB,EAAEsB,KAAK,CAACpB,UAAUqB,GAAG,CAAC,GAAGC,GAAG,CAAC;YAAI;YAChEV,QAAQd,EAAEU,MAAM,CAAC;gBACfe,QAAQzB,EAAEsB,KAAK,CACbtB,EAAEU,MAAM,CAAC;oBACPgB,aAAaxB;oBACbyB,QAAQ3B,EAAE4B,MAAM,GAAGC,GAAG,GAAGC,WAAW;oBACpCC,SAAS/B,EAAE4B,MAAM,GAAGC,GAAG,GAAGC,WAAW;gBACvC;YAEJ;QACF;IACF;AACF,GAAG"}
@@ -1,4 +1,6 @@
1
1
  import { z } from 'zod';
2
+ export declare const RESERVATION_EXPIRED_ERROR_CODE = "reservation-expired";
3
+ export declare const RUNNER_INSTANCE_NOT_ASSIGNABLE_ERROR_CODE = "runner-instance-not-assignable";
2
4
  export declare const assignRunnerInstancesBodySchema: z.ZodObject<{
3
5
  reservation_id: z.ZodString;
4
6
  runner_instance_ids: z.ZodArray<z.ZodString>;
@@ -1 +1 @@
1
- {"version":3,"file":"assign-runner-instances.d.ts","sourceRoot":"","sources":["../../src/schemas/assign-runner-instances.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAEtB,eAAO,MAAM,+BAA+B;;;kBASxC,CAAC;AAEL,eAAO,MAAM,mCAAmC;;iBAE9C,CAAC;AAEH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAC3F,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC"}
1
+ {"version":3,"file":"assign-runner-instances.d.ts","sourceRoot":"","sources":["../../src/schemas/assign-runner-instances.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAEtB,eAAO,MAAM,8BAA8B,wBAAwB,CAAC;AACpE,eAAO,MAAM,yCAAyC,mCAAmC,CAAC;AAE1F,eAAO,MAAM,+BAA+B;;;kBASxC,CAAC;AAEL,eAAO,MAAM,mCAAmC;;iBAE9C,CAAC;AAEH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAC3F,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC"}
@@ -1,4 +1,6 @@
1
1
  import { z } from 'zod';
2
+ export const RESERVATION_EXPIRED_ERROR_CODE = 'reservation-expired';
3
+ export const RUNNER_INSTANCE_NOT_ASSIGNABLE_ERROR_CODE = 'runner-instance-not-assignable';
2
4
  export const assignRunnerInstancesBodySchema = z.object({
3
5
  reservation_id: z.string().uuid(),
4
6
  runner_instance_ids: z.array(z.string().uuid()).min(1).max(1000)
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/schemas/assign-runner-instances.ts"],"sourcesContent":["import {z} from 'zod';\n\nexport const assignRunnerInstancesBodySchema = z\n .object({\n reservation_id: z.string().uuid(),\n runner_instance_ids: z.array(z.string().uuid()).min(1).max(1000),\n })\n .strict()\n .refine((body) => new Set(body.runner_instance_ids).size === body.runner_instance_ids.length, {\n message: 'runner_instance_ids values must be unique',\n path: ['runner_instance_ids'],\n });\n\nexport const assignRunnerInstancesResponseSchema = z.object({\n runner_instance_ids: z.array(z.string().uuid()),\n});\n\nexport type AssignRunnerInstancesBodyDto = z.infer<typeof assignRunnerInstancesBodySchema>;\nexport type AssignRunnerInstancesResponseDto = z.infer<typeof assignRunnerInstancesResponseSchema>;\n"],"names":["z","assignRunnerInstancesBodySchema","object","reservation_id","string","uuid","runner_instance_ids","array","min","max","strict","refine","body","Set","size","length","message","path","assignRunnerInstancesResponseSchema"],"mappings":"AAAA,SAAQA,CAAC,QAAO,MAAM;AAEtB,OAAO,MAAMC,kCAAkCD,EAC5CE,MAAM,CAAC;IACNC,gBAAgBH,EAAEI,MAAM,GAAGC,IAAI;IAC/BC,qBAAqBN,EAAEO,KAAK,CAACP,EAAEI,MAAM,GAAGC,IAAI,IAAIG,GAAG,CAAC,GAAGC,GAAG,CAAC;AAC7D,GACCC,MAAM,GACNC,MAAM,CAAC,CAACC,OAAS,IAAIC,IAAID,KAAKN,mBAAmB,EAAEQ,IAAI,KAAKF,KAAKN,mBAAmB,CAACS,MAAM,EAAE;IAC5FC,SAAS;IACTC,MAAM;QAAC;KAAsB;AAC/B,GAAG;AAEL,OAAO,MAAMC,sCAAsClB,EAAEE,MAAM,CAAC;IAC1DI,qBAAqBN,EAAEO,KAAK,CAACP,EAAEI,MAAM,GAAGC,IAAI;AAC9C,GAAG"}
1
+ {"version":3,"sources":["../../src/schemas/assign-runner-instances.ts"],"sourcesContent":["import {z} from 'zod';\n\nexport const RESERVATION_EXPIRED_ERROR_CODE = 'reservation-expired';\nexport const RUNNER_INSTANCE_NOT_ASSIGNABLE_ERROR_CODE = 'runner-instance-not-assignable';\n\nexport const assignRunnerInstancesBodySchema = z\n .object({\n reservation_id: z.string().uuid(),\n runner_instance_ids: z.array(z.string().uuid()).min(1).max(1000),\n })\n .strict()\n .refine((body) => new Set(body.runner_instance_ids).size === body.runner_instance_ids.length, {\n message: 'runner_instance_ids values must be unique',\n path: ['runner_instance_ids'],\n });\n\nexport const assignRunnerInstancesResponseSchema = z.object({\n runner_instance_ids: z.array(z.string().uuid()),\n});\n\nexport type AssignRunnerInstancesBodyDto = z.infer<typeof assignRunnerInstancesBodySchema>;\nexport type AssignRunnerInstancesResponseDto = z.infer<typeof assignRunnerInstancesResponseSchema>;\n"],"names":["z","RESERVATION_EXPIRED_ERROR_CODE","RUNNER_INSTANCE_NOT_ASSIGNABLE_ERROR_CODE","assignRunnerInstancesBodySchema","object","reservation_id","string","uuid","runner_instance_ids","array","min","max","strict","refine","body","Set","size","length","message","path","assignRunnerInstancesResponseSchema"],"mappings":"AAAA,SAAQA,CAAC,QAAO,MAAM;AAEtB,OAAO,MAAMC,iCAAiC,sBAAsB;AACpE,OAAO,MAAMC,4CAA4C,iCAAiC;AAE1F,OAAO,MAAMC,kCAAkCH,EAC5CI,MAAM,CAAC;IACNC,gBAAgBL,EAAEM,MAAM,GAAGC,IAAI;IAC/BC,qBAAqBR,EAAES,KAAK,CAACT,EAAEM,MAAM,GAAGC,IAAI,IAAIG,GAAG,CAAC,GAAGC,GAAG,CAAC;AAC7D,GACCC,MAAM,GACNC,MAAM,CAAC,CAACC,OAAS,IAAIC,IAAID,KAAKN,mBAAmB,EAAEQ,IAAI,KAAKF,KAAKN,mBAAmB,CAACS,MAAM,EAAE;IAC5FC,SAAS;IACTC,MAAM;QAAC;KAAsB;AAC/B,GAAG;AAEL,OAAO,MAAMC,sCAAsCpB,EAAEI,MAAM,CAAC;IAC1DI,qBAAqBR,EAAES,KAAK,CAACT,EAAEM,MAAM,GAAGC,IAAI;AAC9C,GAAG"}
@@ -1,13 +1,13 @@
1
1
  export { type AdministratorProvisionerTokenDto, administratorProvisionerTokenSchema, type CreateAdministratorProvisionerTokenBodyDto, type CreateAdministratorProvisionerTokenResponseDto, createAdministratorProvisionerTokenBodySchema, createAdministratorProvisionerTokenResponseSchema, type InstallationProvisionerTokenStatus, installationProvisionerTokenStatusSchema, type ListAdministratorProvisionerTokensQueryDto, type ListAdministratorProvisionerTokensResponseDto, listAdministratorProvisionerTokensQuerySchema, listAdministratorProvisionerTokensResponseSchema, type RevokeAdministratorProvisionerTokenBodyDto, type RevokeAdministratorProvisionerTokenResponseDto, revokeAdministratorProvisionerTokenBodySchema, revokeAdministratorProvisionerTokenResponseSchema, } from './admin-provisioner-token.js';
2
2
  export { type ListRunnerAdministratorInstancesQueryDto, type ListRunnerAdministratorInstancesResponseDto, listRunnerAdministratorInstancesQuerySchema, listRunnerAdministratorInstancesResponseSchema, type RunnerAdministratorInstanceDto, runnerAdministratorAssignmentPresenceSchema, runnerAdministratorEnrollmentStateSchema, runnerAdministratorInstanceSchema, runnerAdministratorLifecycleStateSchema, runnerAdministratorReconciliationStatusSchema, } from './admin-runner-instances.js';
3
- export { type AssignRunnerInstancesBodyDto, type AssignRunnerInstancesResponseDto, assignRunnerInstancesBodySchema, assignRunnerInstancesResponseSchema, } from './assign-runner-instances.js';
3
+ export { type AssignRunnerInstancesBodyDto, type AssignRunnerInstancesResponseDto, assignRunnerInstancesBodySchema, assignRunnerInstancesResponseSchema, RESERVATION_EXPIRED_ERROR_CODE, RUNNER_INSTANCE_NOT_ASSIGNABLE_ERROR_CODE, } from './assign-runner-instances.js';
4
4
  export { type ClaimedJobResponseDto, claimedJobResponseSchema, RUNNER_SESSION_EXHAUSTED_CODE, } from './claim-job.js';
5
5
  export { type HeartbeatBodyDto, type HeartbeatResponseDto, heartbeatBodySchema, heartbeatResponseSchema, } from './heartbeat.js';
6
6
  export { type ActiveProvisionerDto, activeProvisionerDtoSchema, type ListActiveProvisionersResponseDto, listActiveProvisionersResponseSchema, } from './list-active-provisioners.js';
7
7
  export { type CreateManualRegistrationTokenBodyDto, type CreateManualRegistrationTokenResponseDto, createManualRegistrationTokenBodySchema, createManualRegistrationTokenResponseSchema, type ListManualRegistrationTokensResponseDto, listManualRegistrationTokensResponseSchema, MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS, type ManualRegistrationTokenDto, manualRegistrationTokenDtoSchema, type RevokeManualRegistrationTokenResponseDto, revokeManualRegistrationTokenResponseSchema, } from './manual-registration-token.js';
8
8
  export { type DemandStatDto, demandStatSchema, type PollDemandBodyDto, type PollDemandResponseDto, type PollDemandTemplateDto, pollDemandBodySchema, pollDemandResponseSchema, pollDemandTemplateSchema, type ReservationGrantDto, reservationGrantSchema, } from './poll-demand.js';
9
9
  export { type CreateProvisionerTokenBodyDto, type CreateProvisionerTokenResponseDto, createProvisionerTokenBodySchema, createProvisionerTokenResponseSchema, type ListProvisionerTokensResponseDto, listProvisionerTokensResponseSchema, MAX_PROVISIONER_TOKEN_TTL_SECONDS, type ProvisionerIdentityResponseDto, type ProvisionerTokenDto, provisionerIdentityResponseSchema, provisionerTokenDtoSchema, type RevokeProvisionerTokenResponseDto, revokeProvisionerTokenResponseSchema, } from './provisioner-token.js';
10
- export { MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH, MAX_RECONCILE_OBSERVED_RUNNERS, type ReconcileDesiredIntentDto, type ReconciledBoundJobDto, type ReconciledRunnerInstanceDto, type ReconcileRunnerInstancesBodyDto, type ReconcileRunnerInstancesResponseDto, reconcileDesiredIntentSchema, reconciledBoundJobSchema, reconciledRunnerInstanceSchema, reconcileRunnerInstancesBodySchema, reconcileRunnerInstancesResponseSchema, } from './reconcile-runner-instances.js';
10
+ export { MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH, MAX_RECONCILE_OBSERVED_RUNNERS, RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER, RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER_VALUE, type ReconcileDesiredIntentDto, type ReconciledBoundJobDto, type ReconciledRunnerInstanceDto, type ReconcileRunnerInstancesBodyDto, type ReconcileRunnerInstancesResponseDto, reconcileDesiredIntentSchema, reconciledBoundJobSchema, reconciledRunnerInstanceSchema, reconcileRunnerInstancesBodySchema, reconcileRunnerInstancesResponseSchema, } from './reconcile-runner-instances.js';
11
11
  export { type RegisterRunnerBodyDto, type RegisterRunnerResponseDto, registerRunnerBodySchema, registerRunnerResponseSchema, runnerLabelSchema, } from './register.js';
12
12
  export { type ActiveRunnerDto, type ActiveRunnerStateDto, type ActiveRunnersResponseDto, activeRunnerDtoSchema, activeRunnerStateSchema, activeRunnersResponseSchema, MAX_PROVIDER_KIND_LENGTH, MAX_PROVIDER_RUNNER_REASON_LENGTH, MAX_PROVIDER_RUNNER_REPORT_EVENTS, providerKindSchema, providerRunnerReportEventSchema, providerRunnerStateSchema, type ReportRunnerInstancesBodyDto, type ReportRunnerInstancesResponseDto, type RunnerInstanceReportEventDto, type RunnerInstanceStateDto, reportRunnerInstancesBodySchema, reportRunnerInstancesResponseSchema, } from './report-runner-instances.js';
13
13
  export { attachRunnerControlProviderIdBodySchema, type CreateRunnerInstancesBodyDto, type CreateRunnerInstancesResponseDto, createRunnerInstancesBodySchema, createRunnerInstancesResponseSchema, RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS, type RunnerAssignmentPollQueryDto, type RunnerBootstrapExchangeBodyDto, type RunnerBootstrapExchangeResponseDto, type RunnerEnrollmentBodyDto, type RunnerEnrollmentResponseDto, runnerAssignmentPollQuerySchema, runnerAssignmentPollResponseSchema, runnerBootstrapExchangeBodySchema, runnerBootstrapExchangeResponseSchema, runnerControlHeartbeatResponseSchema, runnerEnrollmentBodySchema, runnerEnrollmentResponseSchema, } from './runner-enrollment.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,gCAAgC,EACrC,mCAAmC,EACnC,KAAK,0CAA0C,EAC/C,KAAK,8CAA8C,EACnD,6CAA6C,EAC7C,iDAAiD,EACjD,KAAK,kCAAkC,EACvC,wCAAwC,EACxC,KAAK,0CAA0C,EAC/C,KAAK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AiC,EACjC,iCAAiC,EACjC,kBAAkB,EAClB,+BAA+B,EAC/B,yBAAyB,EACzB,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,KAAK,4BAA4B,EACjC,KAAK,sBAAsB,EAC3B,+BAA+B,EAC/B,mCAAmC,GACpC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,uCAAuC,EACvC,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,+BAA+B,EAC/B,mCAAmC,EACnC,2CAA2C,EAC3C,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,EAChC,+BAA+B,EAC/B,kCAAkC,EAClC,iCAAiC,EACjC,qCAAqC,EACrC,oCAAoC,EACpC,0BAA0B,EAC1B,8BAA8B,GAC/B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,KAAK,gCAAgC,EACrC,KAAK,yBAAyB,EAC9B,mCAAmC,EACnC,4BAA4B,GAC7B,MAAM,wBAAwB,CAAC"}
@@ -1,13 +1,13 @@
1
1
  export { administratorProvisionerTokenSchema, createAdministratorProvisionerTokenBodySchema, createAdministratorProvisionerTokenResponseSchema, installationProvisionerTokenStatusSchema, listAdministratorProvisionerTokensQuerySchema, listAdministratorProvisionerTokensResponseSchema, revokeAdministratorProvisionerTokenBodySchema, revokeAdministratorProvisionerTokenResponseSchema } from './admin-provisioner-token.js';
2
2
  export { listRunnerAdministratorInstancesQuerySchema, listRunnerAdministratorInstancesResponseSchema, runnerAdministratorAssignmentPresenceSchema, runnerAdministratorEnrollmentStateSchema, runnerAdministratorInstanceSchema, runnerAdministratorLifecycleStateSchema, runnerAdministratorReconciliationStatusSchema } from './admin-runner-instances.js';
3
- export { assignRunnerInstancesBodySchema, assignRunnerInstancesResponseSchema } from './assign-runner-instances.js';
3
+ export { assignRunnerInstancesBodySchema, assignRunnerInstancesResponseSchema, RESERVATION_EXPIRED_ERROR_CODE, RUNNER_INSTANCE_NOT_ASSIGNABLE_ERROR_CODE } from './assign-runner-instances.js';
4
4
  export { claimedJobResponseSchema, RUNNER_SESSION_EXHAUSTED_CODE } from './claim-job.js';
5
5
  export { heartbeatBodySchema, heartbeatResponseSchema } from './heartbeat.js';
6
6
  export { activeProvisionerDtoSchema, listActiveProvisionersResponseSchema } from './list-active-provisioners.js';
7
7
  export { createManualRegistrationTokenBodySchema, createManualRegistrationTokenResponseSchema, listManualRegistrationTokensResponseSchema, MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS, manualRegistrationTokenDtoSchema, revokeManualRegistrationTokenResponseSchema } from './manual-registration-token.js';
8
8
  export { demandStatSchema, pollDemandBodySchema, pollDemandResponseSchema, pollDemandTemplateSchema, reservationGrantSchema } from './poll-demand.js';
9
9
  export { createProvisionerTokenBodySchema, createProvisionerTokenResponseSchema, listProvisionerTokensResponseSchema, MAX_PROVISIONER_TOKEN_TTL_SECONDS, provisionerIdentityResponseSchema, provisionerTokenDtoSchema, revokeProvisionerTokenResponseSchema } from './provisioner-token.js';
10
- export { MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH, MAX_RECONCILE_OBSERVED_RUNNERS, reconcileDesiredIntentSchema, reconciledBoundJobSchema, reconciledRunnerInstanceSchema, reconcileRunnerInstancesBodySchema, reconcileRunnerInstancesResponseSchema } from './reconcile-runner-instances.js';
10
+ export { MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH, MAX_RECONCILE_OBSERVED_RUNNERS, RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER, RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER_VALUE, reconcileDesiredIntentSchema, reconciledBoundJobSchema, reconciledRunnerInstanceSchema, reconcileRunnerInstancesBodySchema, reconcileRunnerInstancesResponseSchema } from './reconcile-runner-instances.js';
11
11
  export { registerRunnerBodySchema, registerRunnerResponseSchema, runnerLabelSchema } from './register.js';
12
12
  export { activeRunnerDtoSchema, activeRunnerStateSchema, activeRunnersResponseSchema, MAX_PROVIDER_KIND_LENGTH, MAX_PROVIDER_RUNNER_REASON_LENGTH, MAX_PROVIDER_RUNNER_REPORT_EVENTS, providerKindSchema, providerRunnerReportEventSchema, providerRunnerStateSchema, reportRunnerInstancesBodySchema, reportRunnerInstancesResponseSchema } from './report-runner-instances.js';
13
13
  export { attachRunnerControlProviderIdBodySchema, createRunnerInstancesBodySchema, createRunnerInstancesResponseSchema, RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS, runnerAssignmentPollQuerySchema, runnerAssignmentPollResponseSchema, runnerBootstrapExchangeBodySchema, runnerBootstrapExchangeResponseSchema, runnerControlHeartbeatResponseSchema, runnerEnrollmentBodySchema, runnerEnrollmentResponseSchema } from './runner-enrollment.js';
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/schemas/index.ts"],"sourcesContent":["export {\n type AdministratorProvisionerTokenDto,\n administratorProvisionerTokenSchema,\n type CreateAdministratorProvisionerTokenBodyDto,\n type CreateAdministratorProvisionerTokenResponseDto,\n createAdministratorProvisionerTokenBodySchema,\n createAdministratorProvisionerTokenResponseSchema,\n type InstallationProvisionerTokenStatus,\n installationProvisionerTokenStatusSchema,\n type ListAdministratorProvisionerTokensQueryDto,\n type ListAdministratorProvisionerTokensResponseDto,\n listAdministratorProvisionerTokensQuerySchema,\n listAdministratorProvisionerTokensResponseSchema,\n type RevokeAdministratorProvisionerTokenBodyDto,\n type RevokeAdministratorProvisionerTokenResponseDto,\n revokeAdministratorProvisionerTokenBodySchema,\n revokeAdministratorProvisionerTokenResponseSchema,\n} from './admin-provisioner-token.js';\nexport {\n type ListRunnerAdministratorInstancesQueryDto,\n type ListRunnerAdministratorInstancesResponseDto,\n listRunnerAdministratorInstancesQuerySchema,\n listRunnerAdministratorInstancesResponseSchema,\n type RunnerAdministratorInstanceDto,\n runnerAdministratorAssignmentPresenceSchema,\n runnerAdministratorEnrollmentStateSchema,\n runnerAdministratorInstanceSchema,\n runnerAdministratorLifecycleStateSchema,\n runnerAdministratorReconciliationStatusSchema,\n} from './admin-runner-instances.js';\nexport {\n type AssignRunnerInstancesBodyDto,\n type AssignRunnerInstancesResponseDto,\n assignRunnerInstancesBodySchema,\n assignRunnerInstancesResponseSchema,\n} from './assign-runner-instances.js';\nexport {\n type ClaimedJobResponseDto,\n claimedJobResponseSchema,\n RUNNER_SESSION_EXHAUSTED_CODE,\n} from './claim-job.js';\nexport {\n type HeartbeatBodyDto,\n type HeartbeatResponseDto,\n heartbeatBodySchema,\n heartbeatResponseSchema,\n} from './heartbeat.js';\nexport {\n type ActiveProvisionerDto,\n activeProvisionerDtoSchema,\n type ListActiveProvisionersResponseDto,\n listActiveProvisionersResponseSchema,\n} from './list-active-provisioners.js';\nexport {\n type CreateManualRegistrationTokenBodyDto,\n type CreateManualRegistrationTokenResponseDto,\n createManualRegistrationTokenBodySchema,\n createManualRegistrationTokenResponseSchema,\n type ListManualRegistrationTokensResponseDto,\n listManualRegistrationTokensResponseSchema,\n MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS,\n type ManualRegistrationTokenDto,\n manualRegistrationTokenDtoSchema,\n type RevokeManualRegistrationTokenResponseDto,\n revokeManualRegistrationTokenResponseSchema,\n} from './manual-registration-token.js';\nexport {\n type DemandStatDto,\n demandStatSchema,\n type PollDemandBodyDto,\n type PollDemandResponseDto,\n type PollDemandTemplateDto,\n pollDemandBodySchema,\n pollDemandResponseSchema,\n pollDemandTemplateSchema,\n type ReservationGrantDto,\n reservationGrantSchema,\n} from './poll-demand.js';\nexport {\n type CreateProvisionerTokenBodyDto,\n type CreateProvisionerTokenResponseDto,\n createProvisionerTokenBodySchema,\n createProvisionerTokenResponseSchema,\n type ListProvisionerTokensResponseDto,\n listProvisionerTokensResponseSchema,\n MAX_PROVISIONER_TOKEN_TTL_SECONDS,\n type ProvisionerIdentityResponseDto,\n type ProvisionerTokenDto,\n provisionerIdentityResponseSchema,\n provisionerTokenDtoSchema,\n type RevokeProvisionerTokenResponseDto,\n revokeProvisionerTokenResponseSchema,\n} from './provisioner-token.js';\nexport {\n MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH,\n MAX_RECONCILE_OBSERVED_RUNNERS,\n type ReconcileDesiredIntentDto,\n type ReconciledBoundJobDto,\n type ReconciledRunnerInstanceDto,\n type ReconcileRunnerInstancesBodyDto,\n type ReconcileRunnerInstancesResponseDto,\n reconcileDesiredIntentSchema,\n reconciledBoundJobSchema,\n reconciledRunnerInstanceSchema,\n reconcileRunnerInstancesBodySchema,\n reconcileRunnerInstancesResponseSchema,\n} from './reconcile-runner-instances.js';\nexport {\n type RegisterRunnerBodyDto,\n type RegisterRunnerResponseDto,\n registerRunnerBodySchema,\n registerRunnerResponseSchema,\n runnerLabelSchema,\n} from './register.js';\nexport {\n type ActiveRunnerDto,\n type ActiveRunnerStateDto,\n type ActiveRunnersResponseDto,\n activeRunnerDtoSchema,\n activeRunnerStateSchema,\n activeRunnersResponseSchema,\n MAX_PROVIDER_KIND_LENGTH,\n MAX_PROVIDER_RUNNER_REASON_LENGTH,\n MAX_PROVIDER_RUNNER_REPORT_EVENTS,\n providerKindSchema,\n providerRunnerReportEventSchema,\n providerRunnerStateSchema,\n type ReportRunnerInstancesBodyDto,\n type ReportRunnerInstancesResponseDto,\n type RunnerInstanceReportEventDto,\n type RunnerInstanceStateDto,\n reportRunnerInstancesBodySchema,\n reportRunnerInstancesResponseSchema,\n} from './report-runner-instances.js';\nexport {\n attachRunnerControlProviderIdBodySchema,\n type CreateRunnerInstancesBodyDto,\n type CreateRunnerInstancesResponseDto,\n createRunnerInstancesBodySchema,\n createRunnerInstancesResponseSchema,\n RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS,\n type RunnerAssignmentPollQueryDto,\n type RunnerBootstrapExchangeBodyDto,\n type RunnerBootstrapExchangeResponseDto,\n type RunnerEnrollmentBodyDto,\n type RunnerEnrollmentResponseDto,\n runnerAssignmentPollQuerySchema,\n runnerAssignmentPollResponseSchema,\n runnerBootstrapExchangeBodySchema,\n runnerBootstrapExchangeResponseSchema,\n runnerControlHeartbeatResponseSchema,\n runnerEnrollmentBodySchema,\n runnerEnrollmentResponseSchema,\n} from './runner-enrollment.js';\nexport {\n type RunnerHarnessToolCapabilitiesDto,\n type RunnerToolCapabilitiesDto,\n runnerHarnessToolCapabilitiesSchema,\n runnerToolCapabilitiesSchema,\n} from './tool-capabilities.js';\n"],"names":["administratorProvisionerTokenSchema","createAdministratorProvisionerTokenBodySchema","createAdministratorProvisionerTokenResponseSchema","installationProvisionerTokenStatusSchema","listAdministratorProvisionerTokensQuerySchema","listAdministratorProvisionerTokensResponseSchema","revokeAdministratorProvisionerTokenBodySchema","revokeAdministratorProvisionerTokenResponseSchema","listRunnerAdministratorInstancesQuerySchema","listRunnerAdministratorInstancesResponseSchema","runnerAdministratorAssignmentPresenceSchema","runnerAdministratorEnrollmentStateSchema","runnerAdministratorInstanceSchema","runnerAdministratorLifecycleStateSchema","runnerAdministratorReconciliationStatusSchema","assignRunnerInstancesBodySchema","assignRunnerInstancesResponseSchema","claimedJobResponseSchema","RUNNER_SESSION_EXHAUSTED_CODE","heartbeatBodySchema","heartbeatResponseSchema","activeProvisionerDtoSchema","listActiveProvisionersResponseSchema","createManualRegistrationTokenBodySchema","createManualRegistrationTokenResponseSchema","listManualRegistrationTokensResponseSchema","MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS","manualRegistrationTokenDtoSchema","revokeManualRegistrationTokenResponseSchema","demandStatSchema","pollDemandBodySchema","pollDemandResponseSchema","pollDemandTemplateSchema","reservationGrantSchema","createProvisionerTokenBodySchema","createProvisionerTokenResponseSchema","listProvisionerTokensResponseSchema","MAX_PROVISIONER_TOKEN_TTL_SECONDS","provisionerIdentityResponseSchema","provisionerTokenDtoSchema","revokeProvisionerTokenResponseSchema","MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH","MAX_RECONCILE_OBSERVED_RUNNERS","reconcileDesiredIntentSchema","reconciledBoundJobSchema","reconciledRunnerInstanceSchema","reconcileRunnerInstancesBodySchema","reconcileRunnerInstancesResponseSchema","registerRunnerBodySchema","registerRunnerResponseSchema","runnerLabelSchema","activeRunnerDtoSchema","activeRunnerStateSchema","activeRunnersResponseSchema","MAX_PROVIDER_KIND_LENGTH","MAX_PROVIDER_RUNNER_REASON_LENGTH","MAX_PROVIDER_RUNNER_REPORT_EVENTS","providerKindSchema","providerRunnerReportEventSchema","providerRunnerStateSchema","reportRunnerInstancesBodySchema","reportRunnerInstancesResponseSchema","attachRunnerControlProviderIdBodySchema","createRunnerInstancesBodySchema","createRunnerInstancesResponseSchema","RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS","runnerAssignmentPollQuerySchema","runnerAssignmentPollResponseSchema","runnerBootstrapExchangeBodySchema","runnerBootstrapExchangeResponseSchema","runnerControlHeartbeatResponseSchema","runnerEnrollmentBodySchema","runnerEnrollmentResponseSchema","runnerHarnessToolCapabilitiesSchema","runnerToolCapabilitiesSchema"],"mappings":"AAAA,SAEEA,mCAAmC,EAGnCC,6CAA6C,EAC7CC,iDAAiD,EAEjDC,wCAAwC,EAGxCC,6CAA6C,EAC7CC,gDAAgD,EAGhDC,6CAA6C,EAC7CC,iDAAiD,QAC5C,+BAA+B;AACtC,SAGEC,2CAA2C,EAC3CC,8CAA8C,EAE9CC,2CAA2C,EAC3CC,wCAAwC,EACxCC,iCAAiC,EACjCC,uCAAuC,EACvCC,6CAA6C,QACxC,8BAA8B;AACrC,SAGEC,+BAA+B,EAC/BC,mCAAmC,QAC9B,+BAA+B;AACtC,SAEEC,wBAAwB,EACxBC,6BAA6B,QACxB,iBAAiB;AACxB,SAGEC,mBAAmB,EACnBC,uBAAuB,QAClB,iBAAiB;AACxB,SAEEC,0BAA0B,EAE1BC,oCAAoC,QAC/B,gCAAgC;AACvC,SAGEC,uCAAuC,EACvCC,2CAA2C,EAE3CC,0CAA0C,EAC1CC,yCAAyC,EAEzCC,gCAAgC,EAEhCC,2CAA2C,QACtC,iCAAiC;AACxC,SAEEC,gBAAgB,EAIhBC,oBAAoB,EACpBC,wBAAwB,EACxBC,wBAAwB,EAExBC,sBAAsB,QACjB,mBAAmB;AAC1B,SAGEC,gCAAgC,EAChCC,oCAAoC,EAEpCC,mCAAmC,EACnCC,iCAAiC,EAGjCC,iCAAiC,EACjCC,yBAAyB,EAEzBC,oCAAoC,QAC/B,yBAAyB;AAChC,SACEC,sCAAsC,EACtCC,8BAA8B,EAM9BC,4BAA4B,EAC5BC,wBAAwB,EACxBC,8BAA8B,EAC9BC,kCAAkC,EAClCC,sCAAsC,QACjC,kCAAkC;AACzC,SAGEC,wBAAwB,EACxBC,4BAA4B,EAC5BC,iBAAiB,QACZ,gBAAgB;AACvB,SAIEC,qBAAqB,EACrBC,uBAAuB,EACvBC,2BAA2B,EAC3BC,wBAAwB,EACxBC,iCAAiC,EACjCC,iCAAiC,EACjCC,kBAAkB,EAClBC,+BAA+B,EAC/BC,yBAAyB,EAKzBC,+BAA+B,EAC/BC,mCAAmC,QAC9B,+BAA+B;AACtC,SACEC,uCAAuC,EAGvCC,+BAA+B,EAC/BC,mCAAmC,EACnCC,2CAA2C,EAM3CC,+BAA+B,EAC/BC,kCAAkC,EAClCC,iCAAiC,EACjCC,qCAAqC,EACrCC,oCAAoC,EACpCC,0BAA0B,EAC1BC,8BAA8B,QACzB,yBAAyB;AAChC,SAGEC,mCAAmC,EACnCC,4BAA4B,QACvB,yBAAyB"}
1
+ {"version":3,"sources":["../../src/schemas/index.ts"],"sourcesContent":["export {\n type AdministratorProvisionerTokenDto,\n administratorProvisionerTokenSchema,\n type CreateAdministratorProvisionerTokenBodyDto,\n type CreateAdministratorProvisionerTokenResponseDto,\n createAdministratorProvisionerTokenBodySchema,\n createAdministratorProvisionerTokenResponseSchema,\n type InstallationProvisionerTokenStatus,\n installationProvisionerTokenStatusSchema,\n type ListAdministratorProvisionerTokensQueryDto,\n type ListAdministratorProvisionerTokensResponseDto,\n listAdministratorProvisionerTokensQuerySchema,\n listAdministratorProvisionerTokensResponseSchema,\n type RevokeAdministratorProvisionerTokenBodyDto,\n type RevokeAdministratorProvisionerTokenResponseDto,\n revokeAdministratorProvisionerTokenBodySchema,\n revokeAdministratorProvisionerTokenResponseSchema,\n} from './admin-provisioner-token.js';\nexport {\n type ListRunnerAdministratorInstancesQueryDto,\n type ListRunnerAdministratorInstancesResponseDto,\n listRunnerAdministratorInstancesQuerySchema,\n listRunnerAdministratorInstancesResponseSchema,\n type RunnerAdministratorInstanceDto,\n runnerAdministratorAssignmentPresenceSchema,\n runnerAdministratorEnrollmentStateSchema,\n runnerAdministratorInstanceSchema,\n runnerAdministratorLifecycleStateSchema,\n runnerAdministratorReconciliationStatusSchema,\n} from './admin-runner-instances.js';\nexport {\n type AssignRunnerInstancesBodyDto,\n type AssignRunnerInstancesResponseDto,\n assignRunnerInstancesBodySchema,\n assignRunnerInstancesResponseSchema,\n RESERVATION_EXPIRED_ERROR_CODE,\n RUNNER_INSTANCE_NOT_ASSIGNABLE_ERROR_CODE,\n} from './assign-runner-instances.js';\nexport {\n type ClaimedJobResponseDto,\n claimedJobResponseSchema,\n RUNNER_SESSION_EXHAUSTED_CODE,\n} from './claim-job.js';\nexport {\n type HeartbeatBodyDto,\n type HeartbeatResponseDto,\n heartbeatBodySchema,\n heartbeatResponseSchema,\n} from './heartbeat.js';\nexport {\n type ActiveProvisionerDto,\n activeProvisionerDtoSchema,\n type ListActiveProvisionersResponseDto,\n listActiveProvisionersResponseSchema,\n} from './list-active-provisioners.js';\nexport {\n type CreateManualRegistrationTokenBodyDto,\n type CreateManualRegistrationTokenResponseDto,\n createManualRegistrationTokenBodySchema,\n createManualRegistrationTokenResponseSchema,\n type ListManualRegistrationTokensResponseDto,\n listManualRegistrationTokensResponseSchema,\n MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS,\n type ManualRegistrationTokenDto,\n manualRegistrationTokenDtoSchema,\n type RevokeManualRegistrationTokenResponseDto,\n revokeManualRegistrationTokenResponseSchema,\n} from './manual-registration-token.js';\nexport {\n type DemandStatDto,\n demandStatSchema,\n type PollDemandBodyDto,\n type PollDemandResponseDto,\n type PollDemandTemplateDto,\n pollDemandBodySchema,\n pollDemandResponseSchema,\n pollDemandTemplateSchema,\n type ReservationGrantDto,\n reservationGrantSchema,\n} from './poll-demand.js';\nexport {\n type CreateProvisionerTokenBodyDto,\n type CreateProvisionerTokenResponseDto,\n createProvisionerTokenBodySchema,\n createProvisionerTokenResponseSchema,\n type ListProvisionerTokensResponseDto,\n listProvisionerTokensResponseSchema,\n MAX_PROVISIONER_TOKEN_TTL_SECONDS,\n type ProvisionerIdentityResponseDto,\n type ProvisionerTokenDto,\n provisionerIdentityResponseSchema,\n provisionerTokenDtoSchema,\n type RevokeProvisionerTokenResponseDto,\n revokeProvisionerTokenResponseSchema,\n} from './provisioner-token.js';\nexport {\n MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH,\n MAX_RECONCILE_OBSERVED_RUNNERS,\n RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER,\n RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER_VALUE,\n type ReconcileDesiredIntentDto,\n type ReconciledBoundJobDto,\n type ReconciledRunnerInstanceDto,\n type ReconcileRunnerInstancesBodyDto,\n type ReconcileRunnerInstancesResponseDto,\n reconcileDesiredIntentSchema,\n reconciledBoundJobSchema,\n reconciledRunnerInstanceSchema,\n reconcileRunnerInstancesBodySchema,\n reconcileRunnerInstancesResponseSchema,\n} from './reconcile-runner-instances.js';\nexport {\n type RegisterRunnerBodyDto,\n type RegisterRunnerResponseDto,\n registerRunnerBodySchema,\n registerRunnerResponseSchema,\n runnerLabelSchema,\n} from './register.js';\nexport {\n type ActiveRunnerDto,\n type ActiveRunnerStateDto,\n type ActiveRunnersResponseDto,\n activeRunnerDtoSchema,\n activeRunnerStateSchema,\n activeRunnersResponseSchema,\n MAX_PROVIDER_KIND_LENGTH,\n MAX_PROVIDER_RUNNER_REASON_LENGTH,\n MAX_PROVIDER_RUNNER_REPORT_EVENTS,\n providerKindSchema,\n providerRunnerReportEventSchema,\n providerRunnerStateSchema,\n type ReportRunnerInstancesBodyDto,\n type ReportRunnerInstancesResponseDto,\n type RunnerInstanceReportEventDto,\n type RunnerInstanceStateDto,\n reportRunnerInstancesBodySchema,\n reportRunnerInstancesResponseSchema,\n} from './report-runner-instances.js';\nexport {\n attachRunnerControlProviderIdBodySchema,\n type CreateRunnerInstancesBodyDto,\n type CreateRunnerInstancesResponseDto,\n createRunnerInstancesBodySchema,\n createRunnerInstancesResponseSchema,\n RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS,\n type RunnerAssignmentPollQueryDto,\n type RunnerBootstrapExchangeBodyDto,\n type RunnerBootstrapExchangeResponseDto,\n type RunnerEnrollmentBodyDto,\n type RunnerEnrollmentResponseDto,\n runnerAssignmentPollQuerySchema,\n runnerAssignmentPollResponseSchema,\n runnerBootstrapExchangeBodySchema,\n runnerBootstrapExchangeResponseSchema,\n runnerControlHeartbeatResponseSchema,\n runnerEnrollmentBodySchema,\n runnerEnrollmentResponseSchema,\n} from './runner-enrollment.js';\nexport {\n type RunnerHarnessToolCapabilitiesDto,\n type RunnerToolCapabilitiesDto,\n runnerHarnessToolCapabilitiesSchema,\n runnerToolCapabilitiesSchema,\n} from './tool-capabilities.js';\n"],"names":["administratorProvisionerTokenSchema","createAdministratorProvisionerTokenBodySchema","createAdministratorProvisionerTokenResponseSchema","installationProvisionerTokenStatusSchema","listAdministratorProvisionerTokensQuerySchema","listAdministratorProvisionerTokensResponseSchema","revokeAdministratorProvisionerTokenBodySchema","revokeAdministratorProvisionerTokenResponseSchema","listRunnerAdministratorInstancesQuerySchema","listRunnerAdministratorInstancesResponseSchema","runnerAdministratorAssignmentPresenceSchema","runnerAdministratorEnrollmentStateSchema","runnerAdministratorInstanceSchema","runnerAdministratorLifecycleStateSchema","runnerAdministratorReconciliationStatusSchema","assignRunnerInstancesBodySchema","assignRunnerInstancesResponseSchema","RESERVATION_EXPIRED_ERROR_CODE","RUNNER_INSTANCE_NOT_ASSIGNABLE_ERROR_CODE","claimedJobResponseSchema","RUNNER_SESSION_EXHAUSTED_CODE","heartbeatBodySchema","heartbeatResponseSchema","activeProvisionerDtoSchema","listActiveProvisionersResponseSchema","createManualRegistrationTokenBodySchema","createManualRegistrationTokenResponseSchema","listManualRegistrationTokensResponseSchema","MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS","manualRegistrationTokenDtoSchema","revokeManualRegistrationTokenResponseSchema","demandStatSchema","pollDemandBodySchema","pollDemandResponseSchema","pollDemandTemplateSchema","reservationGrantSchema","createProvisionerTokenBodySchema","createProvisionerTokenResponseSchema","listProvisionerTokensResponseSchema","MAX_PROVISIONER_TOKEN_TTL_SECONDS","provisionerIdentityResponseSchema","provisionerTokenDtoSchema","revokeProvisionerTokenResponseSchema","MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH","MAX_RECONCILE_OBSERVED_RUNNERS","RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER","RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER_VALUE","reconcileDesiredIntentSchema","reconciledBoundJobSchema","reconciledRunnerInstanceSchema","reconcileRunnerInstancesBodySchema","reconcileRunnerInstancesResponseSchema","registerRunnerBodySchema","registerRunnerResponseSchema","runnerLabelSchema","activeRunnerDtoSchema","activeRunnerStateSchema","activeRunnersResponseSchema","MAX_PROVIDER_KIND_LENGTH","MAX_PROVIDER_RUNNER_REASON_LENGTH","MAX_PROVIDER_RUNNER_REPORT_EVENTS","providerKindSchema","providerRunnerReportEventSchema","providerRunnerStateSchema","reportRunnerInstancesBodySchema","reportRunnerInstancesResponseSchema","attachRunnerControlProviderIdBodySchema","createRunnerInstancesBodySchema","createRunnerInstancesResponseSchema","RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS","runnerAssignmentPollQuerySchema","runnerAssignmentPollResponseSchema","runnerBootstrapExchangeBodySchema","runnerBootstrapExchangeResponseSchema","runnerControlHeartbeatResponseSchema","runnerEnrollmentBodySchema","runnerEnrollmentResponseSchema","runnerHarnessToolCapabilitiesSchema","runnerToolCapabilitiesSchema"],"mappings":"AAAA,SAEEA,mCAAmC,EAGnCC,6CAA6C,EAC7CC,iDAAiD,EAEjDC,wCAAwC,EAGxCC,6CAA6C,EAC7CC,gDAAgD,EAGhDC,6CAA6C,EAC7CC,iDAAiD,QAC5C,+BAA+B;AACtC,SAGEC,2CAA2C,EAC3CC,8CAA8C,EAE9CC,2CAA2C,EAC3CC,wCAAwC,EACxCC,iCAAiC,EACjCC,uCAAuC,EACvCC,6CAA6C,QACxC,8BAA8B;AACrC,SAGEC,+BAA+B,EAC/BC,mCAAmC,EACnCC,8BAA8B,EAC9BC,yCAAyC,QACpC,+BAA+B;AACtC,SAEEC,wBAAwB,EACxBC,6BAA6B,QACxB,iBAAiB;AACxB,SAGEC,mBAAmB,EACnBC,uBAAuB,QAClB,iBAAiB;AACxB,SAEEC,0BAA0B,EAE1BC,oCAAoC,QAC/B,gCAAgC;AACvC,SAGEC,uCAAuC,EACvCC,2CAA2C,EAE3CC,0CAA0C,EAC1CC,yCAAyC,EAEzCC,gCAAgC,EAEhCC,2CAA2C,QACtC,iCAAiC;AACxC,SAEEC,gBAAgB,EAIhBC,oBAAoB,EACpBC,wBAAwB,EACxBC,wBAAwB,EAExBC,sBAAsB,QACjB,mBAAmB;AAC1B,SAGEC,gCAAgC,EAChCC,oCAAoC,EAEpCC,mCAAmC,EACnCC,iCAAiC,EAGjCC,iCAAiC,EACjCC,yBAAyB,EAEzBC,oCAAoC,QAC/B,yBAAyB;AAChC,SACEC,sCAAsC,EACtCC,8BAA8B,EAC9BC,sDAAsD,EACtDC,4DAA4D,EAM5DC,4BAA4B,EAC5BC,wBAAwB,EACxBC,8BAA8B,EAC9BC,kCAAkC,EAClCC,sCAAsC,QACjC,kCAAkC;AACzC,SAGEC,wBAAwB,EACxBC,4BAA4B,EAC5BC,iBAAiB,QACZ,gBAAgB;AACvB,SAIEC,qBAAqB,EACrBC,uBAAuB,EACvBC,2BAA2B,EAC3BC,wBAAwB,EACxBC,iCAAiC,EACjCC,iCAAiC,EACjCC,kBAAkB,EAClBC,+BAA+B,EAC/BC,yBAAyB,EAKzBC,+BAA+B,EAC/BC,mCAAmC,QAC9B,+BAA+B;AACtC,SACEC,uCAAuC,EAGvCC,+BAA+B,EAC/BC,mCAAmC,EACnCC,2CAA2C,EAM3CC,+BAA+B,EAC/BC,kCAAkC,EAClCC,iCAAiC,EACjCC,qCAAqC,EACrCC,oCAAoC,EACpCC,0BAA0B,EAC1BC,8BAA8B,QACzB,yBAAyB;AAChC,SAGEC,mCAAmC,EACnCC,4BAA4B,QACvB,yBAAyB"}
@@ -47,6 +47,7 @@ export declare const pollDemandResponseSchema: z.ZodObject<{
47
47
  count: z.ZodNumber;
48
48
  expires_at: z.ZodString;
49
49
  }, z.core.$strip>>;
50
+ newly_reserved_count: z.ZodOptional<z.ZodNumber>;
50
51
  terminate_provider_runner_ids: z.ZodArray<z.ZodString>;
51
52
  }, z.core.$strip>;
52
53
  export type PollDemandTemplateDto = z.infer<typeof pollDemandTemplateSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"poll-demand.d.ts","sourceRoot":"","sources":["../../src/schemas/poll-demand.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAGtB,eAAO,MAAM,wBAAwB;;;;;;iBAMnC,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;iBAK/B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;iBAY3B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;iBAMjC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;iBAInC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC7E,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AACrE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC7D,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACzE,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
1
+ {"version":3,"file":"poll-demand.d.ts","sourceRoot":"","sources":["../../src/schemas/poll-demand.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAGtB,eAAO,MAAM,wBAAwB;;;;;;iBAMnC,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;iBAK/B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;iBAY3B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;iBAMjC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;iBAYnC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC7E,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AACrE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC7D,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACzE,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
@@ -31,6 +31,7 @@ export const reservationGrantSchema = z.object({
31
31
  export const pollDemandResponseSchema = z.object({
32
32
  stats: z.array(demandStatSchema),
33
33
  reservations: z.array(reservationGrantSchema),
34
+ newly_reserved_count: z.number().int().min(0).optional().describe('Reservation units created by this poll, including units satisfied by adopted runners.'),
34
35
  terminate_provider_runner_ids: z.array(z.string())
35
36
  });
36
37
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/schemas/poll-demand.ts"],"sourcesContent":["import {MAX_RUNNER_LABELS} from '@shipfox/runner-labels';\nimport {z} from 'zod';\nimport {runnerLabelSchema} from './register.js';\n\nexport const pollDemandTemplateSchema = z.object({\n template_key: z.string().min(1),\n labels: z.array(runnerLabelSchema).min(1).max(MAX_RUNNER_LABELS),\n available_slots: z.number().int().min(0).max(100_000),\n starting: z.number().int().min(0).max(100_000),\n running: z.number().int().min(0).max(100_000),\n});\n\nexport const pollDemandBodySchema = z.object({\n wait_seconds: z.number().int().min(0).optional(),\n reservation_ttl_seconds: z.number().int().min(1).optional(),\n max_reservations: z.number().int().min(0).max(1000),\n templates: z.array(pollDemandTemplateSchema).max(1000),\n});\n\nexport const demandStatSchema = z.object({\n workspace_id: z.string().uuid().optional(),\n labels: z.array(z.string()),\n queued: z.number().int().min(0),\n reserved: z\n .number()\n .int()\n .min(0)\n .describe(\n 'Active reservations for this label set; advisory, may exceed `queued` during heavy claiming.',\n ),\n oldest_queued_at: z.string().datetime(),\n});\n\nexport const reservationGrantSchema = z.object({\n reservation_id: z.string().uuid(),\n workspace_id: z.string().uuid().optional(),\n labels: z.array(z.string()),\n count: z.number().int().positive(),\n expires_at: z.string().datetime(),\n});\n\nexport const pollDemandResponseSchema = z.object({\n stats: z.array(demandStatSchema),\n reservations: z.array(reservationGrantSchema),\n terminate_provider_runner_ids: z.array(z.string()),\n});\n\nexport type PollDemandTemplateDto = z.infer<typeof pollDemandTemplateSchema>;\nexport type PollDemandBodyDto = z.infer<typeof pollDemandBodySchema>;\nexport type DemandStatDto = z.infer<typeof demandStatSchema>;\nexport type ReservationGrantDto = z.infer<typeof reservationGrantSchema>;\nexport type PollDemandResponseDto = z.infer<typeof pollDemandResponseSchema>;\n"],"names":["MAX_RUNNER_LABELS","z","runnerLabelSchema","pollDemandTemplateSchema","object","template_key","string","min","labels","array","max","available_slots","number","int","starting","running","pollDemandBodySchema","wait_seconds","optional","reservation_ttl_seconds","max_reservations","templates","demandStatSchema","workspace_id","uuid","queued","reserved","describe","oldest_queued_at","datetime","reservationGrantSchema","reservation_id","count","positive","expires_at","pollDemandResponseSchema","stats","reservations","terminate_provider_runner_ids"],"mappings":"AAAA,SAAQA,iBAAiB,QAAO,yBAAyB;AACzD,SAAQC,CAAC,QAAO,MAAM;AACtB,SAAQC,iBAAiB,QAAO,gBAAgB;AAEhD,OAAO,MAAMC,2BAA2BF,EAAEG,MAAM,CAAC;IAC/CC,cAAcJ,EAAEK,MAAM,GAAGC,GAAG,CAAC;IAC7BC,QAAQP,EAAEQ,KAAK,CAACP,mBAAmBK,GAAG,CAAC,GAAGG,GAAG,CAACV;IAC9CW,iBAAiBV,EAAEW,MAAM,GAAGC,GAAG,GAAGN,GAAG,CAAC,GAAGG,GAAG,CAAC;IAC7CI,UAAUb,EAAEW,MAAM,GAAGC,GAAG,GAAGN,GAAG,CAAC,GAAGG,GAAG,CAAC;IACtCK,SAASd,EAAEW,MAAM,GAAGC,GAAG,GAAGN,GAAG,CAAC,GAAGG,GAAG,CAAC;AACvC,GAAG;AAEH,OAAO,MAAMM,uBAAuBf,EAAEG,MAAM,CAAC;IAC3Ca,cAAchB,EAAEW,MAAM,GAAGC,GAAG,GAAGN,GAAG,CAAC,GAAGW,QAAQ;IAC9CC,yBAAyBlB,EAAEW,MAAM,GAAGC,GAAG,GAAGN,GAAG,CAAC,GAAGW,QAAQ;IACzDE,kBAAkBnB,EAAEW,MAAM,GAAGC,GAAG,GAAGN,GAAG,CAAC,GAAGG,GAAG,CAAC;IAC9CW,WAAWpB,EAAEQ,KAAK,CAACN,0BAA0BO,GAAG,CAAC;AACnD,GAAG;AAEH,OAAO,MAAMY,mBAAmBrB,EAAEG,MAAM,CAAC;IACvCmB,cAActB,EAAEK,MAAM,GAAGkB,IAAI,GAAGN,QAAQ;IACxCV,QAAQP,EAAEQ,KAAK,CAACR,EAAEK,MAAM;IACxBmB,QAAQxB,EAAEW,MAAM,GAAGC,GAAG,GAAGN,GAAG,CAAC;IAC7BmB,UAAUzB,EACPW,MAAM,GACNC,GAAG,GACHN,GAAG,CAAC,GACJoB,QAAQ,CACP;IAEJC,kBAAkB3B,EAAEK,MAAM,GAAGuB,QAAQ;AACvC,GAAG;AAEH,OAAO,MAAMC,yBAAyB7B,EAAEG,MAAM,CAAC;IAC7C2B,gBAAgB9B,EAAEK,MAAM,GAAGkB,IAAI;IAC/BD,cAActB,EAAEK,MAAM,GAAGkB,IAAI,GAAGN,QAAQ;IACxCV,QAAQP,EAAEQ,KAAK,CAACR,EAAEK,MAAM;IACxB0B,OAAO/B,EAAEW,MAAM,GAAGC,GAAG,GAAGoB,QAAQ;IAChCC,YAAYjC,EAAEK,MAAM,GAAGuB,QAAQ;AACjC,GAAG;AAEH,OAAO,MAAMM,2BAA2BlC,EAAEG,MAAM,CAAC;IAC/CgC,OAAOnC,EAAEQ,KAAK,CAACa;IACfe,cAAcpC,EAAEQ,KAAK,CAACqB;IACtBQ,+BAA+BrC,EAAEQ,KAAK,CAACR,EAAEK,MAAM;AACjD,GAAG"}
1
+ {"version":3,"sources":["../../src/schemas/poll-demand.ts"],"sourcesContent":["import {MAX_RUNNER_LABELS} from '@shipfox/runner-labels';\nimport {z} from 'zod';\nimport {runnerLabelSchema} from './register.js';\n\nexport const pollDemandTemplateSchema = z.object({\n template_key: z.string().min(1),\n labels: z.array(runnerLabelSchema).min(1).max(MAX_RUNNER_LABELS),\n available_slots: z.number().int().min(0).max(100_000),\n starting: z.number().int().min(0).max(100_000),\n running: z.number().int().min(0).max(100_000),\n});\n\nexport const pollDemandBodySchema = z.object({\n wait_seconds: z.number().int().min(0).optional(),\n reservation_ttl_seconds: z.number().int().min(1).optional(),\n max_reservations: z.number().int().min(0).max(1000),\n templates: z.array(pollDemandTemplateSchema).max(1000),\n});\n\nexport const demandStatSchema = z.object({\n workspace_id: z.string().uuid().optional(),\n labels: z.array(z.string()),\n queued: z.number().int().min(0),\n reserved: z\n .number()\n .int()\n .min(0)\n .describe(\n 'Active reservations for this label set; advisory, may exceed `queued` during heavy claiming.',\n ),\n oldest_queued_at: z.string().datetime(),\n});\n\nexport const reservationGrantSchema = z.object({\n reservation_id: z.string().uuid(),\n workspace_id: z.string().uuid().optional(),\n labels: z.array(z.string()),\n count: z.number().int().positive(),\n expires_at: z.string().datetime(),\n});\n\nexport const pollDemandResponseSchema = z.object({\n stats: z.array(demandStatSchema),\n reservations: z.array(reservationGrantSchema),\n newly_reserved_count: z\n .number()\n .int()\n .min(0)\n .optional()\n .describe(\n 'Reservation units created by this poll, including units satisfied by adopted runners.',\n ),\n terminate_provider_runner_ids: z.array(z.string()),\n});\n\nexport type PollDemandTemplateDto = z.infer<typeof pollDemandTemplateSchema>;\nexport type PollDemandBodyDto = z.infer<typeof pollDemandBodySchema>;\nexport type DemandStatDto = z.infer<typeof demandStatSchema>;\nexport type ReservationGrantDto = z.infer<typeof reservationGrantSchema>;\nexport type PollDemandResponseDto = z.infer<typeof pollDemandResponseSchema>;\n"],"names":["MAX_RUNNER_LABELS","z","runnerLabelSchema","pollDemandTemplateSchema","object","template_key","string","min","labels","array","max","available_slots","number","int","starting","running","pollDemandBodySchema","wait_seconds","optional","reservation_ttl_seconds","max_reservations","templates","demandStatSchema","workspace_id","uuid","queued","reserved","describe","oldest_queued_at","datetime","reservationGrantSchema","reservation_id","count","positive","expires_at","pollDemandResponseSchema","stats","reservations","newly_reserved_count","terminate_provider_runner_ids"],"mappings":"AAAA,SAAQA,iBAAiB,QAAO,yBAAyB;AACzD,SAAQC,CAAC,QAAO,MAAM;AACtB,SAAQC,iBAAiB,QAAO,gBAAgB;AAEhD,OAAO,MAAMC,2BAA2BF,EAAEG,MAAM,CAAC;IAC/CC,cAAcJ,EAAEK,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AAQP,EAAEQ,KAAK,CAACR,EAAEK,MAAM;IACxB0B,OAAO/B,EAAEW,MAAM,GAAGC,GAAG,GAAGoB,QAAQ;IAChCC,YAAYjC,EAAEK,MAAM,GAAGuB,QAAQ;AACjC,GAAG;AAEH,OAAO,MAAMM,2BAA2BlC,EAAEG,MAAM,CAAC;IAC/CgC,OAAOnC,EAAEQ,KAAK,CAACa;IACfe,cAAcpC,EAAEQ,KAAK,CAACqB;IACtBQ,sBAAsBrC,EACnBW,MAAM,GACNC,GAAG,GACHN,GAAG,CAAC,GACJW,QAAQ,GACRS,QAAQ,CACP;IAEJY,+BAA+BtC,EAAEQ,KAAK,CAACR,EAAEK,MAAM;AACjD,GAAG"}
@@ -1,6 +1,8 @@
1
1
  import { z } from 'zod';
2
2
  export declare const MAX_RECONCILE_OBSERVED_RUNNERS = 5000;
3
3
  export declare const MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH = 255;
4
+ export declare const RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER = "x-shipfox-reconcile-intended-reservation";
5
+ export declare const RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER_VALUE = "1";
4
6
  export declare const reconcileRunnerInstancesBodySchema: z.ZodObject<{
5
7
  observed_provider_runner_ids: z.ZodArray<z.ZodString>;
6
8
  }, z.core.$strict>;
@@ -24,6 +26,7 @@ export declare const reconciledRunnerInstanceSchema: z.ZodObject<{
24
26
  stopping: "stopping";
25
27
  terminated: "terminated";
26
28
  }>>;
29
+ intended_reservation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
30
  reservation_id: z.ZodNullable<z.ZodString>;
28
31
  runner_session_id: z.ZodNullable<z.ZodString>;
29
32
  bound_job: z.ZodNullable<z.ZodObject<{
@@ -48,6 +51,7 @@ export declare const reconcileRunnerInstancesResponseSchema: z.ZodObject<{
48
51
  stopping: "stopping";
49
52
  terminated: "terminated";
50
53
  }>>;
54
+ intended_reservation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
55
  reservation_id: z.ZodNullable<z.ZodString>;
52
56
  runner_session_id: z.ZodNullable<z.ZodString>;
53
57
  bound_job: z.ZodNullable<z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"reconcile-runner-instances.d.ts","sourceRoot":"","sources":["../../src/schemas/reconcile-runner-instances.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAGtB,eAAO,MAAM,8BAA8B,OAAO,CAAC;AACnD,eAAO,MAAM,sCAAsC,MAAM,CAAC;AAE1D,eAAO,MAAM,kCAAkC;;kBAc5C,CAAC;AAEJ,eAAO,MAAM,4BAA4B;;;EAAgC,CAAC;AAE1E,eAAO,MAAM,wBAAwB;;;;;kBAO1B,CAAC;AAEZ,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;kBAShC,CAAC;AAEZ,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;kBAKxC,CAAC;AAEZ,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AACjG,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AACrF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC7E,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AACzF,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,sCAAsC,CAC9C,CAAC"}
1
+ {"version":3,"file":"reconcile-runner-instances.d.ts","sourceRoot":"","sources":["../../src/schemas/reconcile-runner-instances.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAGtB,eAAO,MAAM,8BAA8B,OAAO,CAAC;AACnD,eAAO,MAAM,sCAAsC,MAAM,CAAC;AAC1D,eAAO,MAAM,sDAAsD,6CACvB,CAAC;AAC7C,eAAO,MAAM,4DAA4D,MAAM,CAAC;AAEhF,eAAO,MAAM,kCAAkC;;kBAc5C,CAAC;AAEJ,eAAO,MAAM,4BAA4B;;;EAAgC,CAAC;AAE1E,eAAO,MAAM,wBAAwB;;;;;kBAO1B,CAAC;AAEZ,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;kBAUhC,CAAC;AAEZ,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;kBAKxC,CAAC;AAEZ,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AACjG,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AACrF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC7E,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AACzF,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,sCAAsC,CAC9C,CAAC"}
@@ -2,6 +2,8 @@ import { z } from 'zod';
2
2
  import { providerRunnerStateSchema } from './report-runner-instances.js';
3
3
  export const MAX_RECONCILE_OBSERVED_RUNNERS = 5000;
4
4
  export const MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH = 255;
5
+ export const RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER = 'x-shipfox-reconcile-intended-reservation';
6
+ export const RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER_VALUE = '1';
5
7
  export const reconcileRunnerInstancesBodySchema = z.object({
6
8
  observed_provider_runner_ids: z.array(z.string().min(1).max(MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH)).max(MAX_RECONCILE_OBSERVED_RUNNERS)
7
9
  }).strict().refine((body)=>new Set(body.observed_provider_runner_ids).size === body.observed_provider_runner_ids.length, {
@@ -23,6 +25,7 @@ export const reconciledBoundJobSchema = z.object({
23
25
  export const reconciledRunnerInstanceSchema = z.object({
24
26
  provider_runner_id: z.string(),
25
27
  state: providerRunnerStateSchema.nullable(),
28
+ intended_reservation_id: z.string().uuid().nullable().optional(),
26
29
  reservation_id: z.string().uuid().nullable(),
27
30
  runner_session_id: z.string().uuid().nullable(),
28
31
  bound_job: reconciledBoundJobSchema.nullable(),