@ultrst-armada/kloks 2.2.6 → 2.2.8

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 (50) hide show
  1. package/.krusbl-release-attestation.json +3 -3
  2. package/package.json +1 -1
  3. package/packages/backend/dist/auth/OidcBffEnv.d.ts +14 -12
  4. package/packages/backend/dist/auth/OidcBffEnv.test.d.ts +1 -0
  5. package/packages/backend/dist/auth/index.js +1 -1
  6. package/packages/backend/dist/{chunk-5SKQBVYU.js → chunk-AMI5MY6E.js} +2 -2
  7. package/packages/backend/dist/{chunk-4LRMJIJ4.js → chunk-FFQJ4USX.js} +1 -1
  8. package/packages/backend/dist/chunk-G6FLQJS6.js +496 -0
  9. package/packages/backend/dist/{chunk-4NTZRTRY.js → chunk-GIUAFRAA.js} +1 -1
  10. package/packages/backend/dist/{chunk-OJCSPAFE.js → chunk-GZTZ376X.js} +1 -1
  11. package/packages/backend/dist/{chunk-4BCTI7BL.js → chunk-LAKCKX3I.js} +1 -1
  12. package/packages/backend/dist/{chunk-YTJTF7LS.js → chunk-LPM5E2A2.js} +2 -2
  13. package/packages/backend/dist/{chunk-5S5CDQXD.js → chunk-MQ6AHJ6X.js} +2 -2
  14. package/packages/backend/dist/{chunk-SEKPSCWP.js → chunk-NR7OXPB3.js} +69 -21
  15. package/packages/backend/dist/{chunk-2DVRZKOK.js → chunk-QZDTABQX.js} +2 -2
  16. package/packages/backend/dist/{chunk-3V5B2BOP.js → chunk-RHW75K46.js} +1 -1
  17. package/packages/backend/dist/{chunk-FGZA6PDX.js → chunk-U5VPYALB.js} +4 -4
  18. package/packages/backend/dist/chunk-UI7AYFAU.js +364 -0
  19. package/packages/backend/dist/{client-S4R4MZ6K.js → client-R5FY5AP7.js} +2 -2
  20. package/packages/backend/dist/index.js +38 -12
  21. package/packages/backend/dist/krnl-services.js +2 -2
  22. package/packages/backend/dist/node.js +33 -33
  23. package/packages/backend/dist/provider-services/compute-routing.d.ts +65 -0
  24. package/packages/backend/dist/provider-services/compute-routing.test.d.ts +1 -0
  25. package/packages/backend/dist/provider-services/fly-machines.d.ts +52 -0
  26. package/packages/backend/dist/provider-services/fly-machines.test.d.ts +1 -0
  27. package/packages/backend/dist/provider-services/free-compute.d.ts +5 -0
  28. package/packages/backend/dist/provider-services/free-compute.test.d.ts +1 -0
  29. package/packages/backend/dist/provider-services/google/cloud-run.js +1 -1
  30. package/packages/backend/dist/provider-services/google/cloud-shell.js +1 -1
  31. package/packages/backend/dist/provider-services/google/cloud-storage.js +1 -1
  32. package/packages/backend/dist/provider-services/google/drive.js +1 -1
  33. package/packages/backend/dist/provider-services/google/gemini.js +3 -3
  34. package/packages/backend/dist/provider-services/google/index.js +3 -3
  35. package/packages/backend/dist/provider-services/google/vertex-ai.js +1 -1
  36. package/packages/backend/dist/provider-services/index.d.ts +3 -0
  37. package/packages/backend/dist/provider-services/index.js +39 -13
  38. package/packages/backend/dist/provider-services/node.js +11 -11
  39. package/packages/backend/dist/provider-services/storage/dropbox.js +4 -4
  40. package/packages/backend/dist/provider-services/storage/github.js +4 -4
  41. package/packages/backend/dist/provider-services/storage/node.js +7 -7
  42. package/packages/backend/dist/provider-services/storage.js +6 -6
  43. package/packages/backend/dist/provider-services/types.d.ts +16 -2
  44. package/packages/state-graph/dist/browser.js +25 -25
  45. package/packages/state-graph/dist/index.js +25 -25
  46. package/packages/state-graph/dist/spatial/index.js +1 -1
  47. package/packages/backend/dist/chunk-FFYTCLFC.js +0 -93
  48. package/packages/backend/dist/chunk-LN274IE5.js +0 -414
  49. package/packages/backend/dist/{chunk-5CZUAEAD.js → chunk-R4B3KPHY.js} +5 -5
  50. package/packages/state-graph/dist/{chunk-YUJC367F.js → chunk-7N2LLBUW.js} +7 -7
@@ -2,12 +2,22 @@ import "./chunk-GVMVYC6C.js";
2
2
  import "./chunk-2Y2EXYDK.js";
3
3
  import "./chunk-RABSY2JU.js";
4
4
  import {
5
+ COMPUTE_PROFILE_PRESETS,
5
6
  calculateProviderCapacity,
7
+ createFlyMachine,
8
+ getFlyMachine,
6
9
  getRailwayAccount,
10
+ invokeFlyMachineHttp,
7
11
  listFlyApps,
12
+ listFlyMachines,
8
13
  listGoogleCloudRunServices,
9
- listRenderServices
10
- } from "./chunk-FFYTCLFC.js";
14
+ listRenderServices,
15
+ mutateFlyMachine,
16
+ rankComputeRoutes,
17
+ resolveComputeSpec,
18
+ selectComputeRoute,
19
+ validateComputeSpec
20
+ } from "./chunk-UI7AYFAU.js";
11
21
  import "./chunk-DAG2L4RN.js";
12
22
  import {
13
23
  isSecretMasked,
@@ -23,11 +33,11 @@ import {
23
33
  import {
24
34
  fetchCloudflareCapacity,
25
35
  fetchVercelCapacity
26
- } from "./chunk-3V5B2BOP.js";
36
+ } from "./chunk-RHW75K46.js";
27
37
  import {
28
38
  getGeminiQuotaStatus,
29
39
  listGeminiModels
30
- } from "./chunk-4NTZRTRY.js";
40
+ } from "./chunk-GIUAFRAA.js";
31
41
  import {
32
42
  getGoogleAccountProfile,
33
43
  listCloudflareAccounts,
@@ -35,21 +45,21 @@ import {
35
45
  listCloudflareWorkers,
36
46
  listVercelDeployments,
37
47
  listVercelProjects
38
- } from "./chunk-4BCTI7BL.js";
48
+ } from "./chunk-LAKCKX3I.js";
39
49
  import {
40
50
  createCanonicalStorageService,
41
51
  getCanonicalStorageCapabilities,
42
52
  listCanonicalStorageProviders
43
- } from "./chunk-YTJTF7LS.js";
53
+ } from "./chunk-LPM5E2A2.js";
44
54
  import {
45
55
  createBackblazeB2StorageService
46
56
  } from "./chunk-O25T5KCE.js";
47
57
  import {
48
58
  createDropboxStorageService
49
- } from "./chunk-2DVRZKOK.js";
59
+ } from "./chunk-QZDTABQX.js";
50
60
  import {
51
61
  createGitHubStorageService
52
- } from "./chunk-4LRMJIJ4.js";
62
+ } from "./chunk-FFQJ4USX.js";
53
63
  import {
54
64
  continueDropboxFolder,
55
65
  listDropboxFolder,
@@ -57,7 +67,7 @@ import {
57
67
  listGitHubRepositoryContents,
58
68
  listGitLabProjects,
59
69
  listGitLabRepositoryTree
60
- } from "./chunk-5SKQBVYU.js";
70
+ } from "./chunk-AMI5MY6E.js";
61
71
  import {
62
72
  createGoogleDriveStorageService
63
73
  } from "./chunk-CTBVXX5C.js";
@@ -69,16 +79,19 @@ import {
69
79
  } from "./chunk-HJE4CVKY.js";
70
80
  import {
71
81
  createProviderClient
72
- } from "./chunk-5S5CDQXD.js";
82
+ } from "./chunk-MQ6AHJ6X.js";
73
83
  import {
84
+ getFreeComputeOffer,
74
85
  getProviderService,
75
86
  getProviderServicePath,
87
+ listFreeComputeOffers,
76
88
  listProviderServiceChildren,
77
89
  listProviderServiceTree,
78
90
  listProviderServices,
79
91
  listRecognizedAccountServices,
80
- resolveProviderServiceId
81
- } from "./chunk-LN274IE5.js";
92
+ resolveProviderServiceId,
93
+ supplementalComputeProviders
94
+ } from "./chunk-G6FLQJS6.js";
82
95
  import {
83
96
  BaseApiRoute,
84
97
  createSSEResponse,
@@ -144,6 +157,7 @@ export {
144
157
  BackendResolver,
145
158
  BaseApiRoute,
146
159
  BaseStorageAdapter,
160
+ COMPUTE_PROFILE_PRESETS,
147
161
  CallbackRegistry,
148
162
  LuthAuthClient2 as CanonicalAuthClient,
149
163
  ConcurrencyConflictError,
@@ -183,6 +197,7 @@ export {
183
197
  createDropboxStorageService,
184
198
  createEmptyContract,
185
199
  createFacadeInvocationBoundary,
200
+ createFlyMachine,
186
201
  createGitHubStorageService,
187
202
  createGoogleDriveStorageService,
188
203
  createLuthAuthClient,
@@ -192,11 +207,14 @@ export {
192
207
  fetchCloudflareCapacity,
193
208
  fetchVercelCapacity,
194
209
  getCanonicalStorageCapabilities,
210
+ getFlyMachine,
211
+ getFreeComputeOffer,
195
212
  getGeminiQuotaStatus,
196
213
  getGoogleAccountProfile,
197
214
  getProviderService,
198
215
  getProviderServicePath,
199
216
  getRailwayAccount,
217
+ invokeFlyMachineHttp,
200
218
  isSecretMasked,
201
219
  b2ListBuckets as listBackblazeB2Buckets,
202
220
  b2ListFileNames as listBackblazeB2Files,
@@ -206,6 +224,8 @@ export {
206
224
  listCloudflareWorkers,
207
225
  listDropboxFolder,
208
226
  listFlyApps,
227
+ listFlyMachines,
228
+ listFreeComputeOffers,
209
229
  listGeminiModels,
210
230
  listGitHubRepositories,
211
231
  listGitHubRepositoryContents,
@@ -219,18 +239,24 @@ export {
219
239
  listRenderServices,
220
240
  listVercelDeployments,
221
241
  listVercelProjects,
242
+ mutateFlyMachine,
222
243
  normalizeBackblazeCredentials,
223
244
  normalizeStoragePath,
224
245
  normalizeSystemEnvironment,
246
+ rankComputeRoutes,
225
247
  readOnlyService,
226
248
  resolveBackblazeEndpoint,
227
249
  resolveClientEnvironment,
228
250
  resolveClientOrigin,
251
+ resolveComputeSpec,
229
252
  resolveProviderServiceId,
230
253
  resolveSystemDatabaseUrl,
231
254
  resolveSystemDatabaseUrlCandidates,
255
+ selectComputeRoute,
256
+ supplementalComputeProviders,
232
257
  tryResolveSystemDatabaseUrl,
233
258
  b2UploadFile as uploadBackblazeB2File,
259
+ validateComputeSpec,
234
260
  withAuth,
235
261
  withCors
236
262
  };
@@ -27,11 +27,11 @@ import {
27
27
  krnlStorageServiceFacade,
28
28
  krnlWorkspaceServiceDefinition,
29
29
  krnlWorkspaceServiceFacade
30
- } from "./chunk-5CZUAEAD.js";
30
+ } from "./chunk-R4B3KPHY.js";
31
31
  import "./chunk-FZKBTF34.js";
32
- import "./chunk-IRKJ6HKP.js";
33
32
  import "./chunk-7XTURV44.js";
34
33
  import "./chunk-GCVR257U.js";
34
+ import "./chunk-IRKJ6HKP.js";
35
35
  import "./chunk-3ZL2DX73.js";
36
36
  import "./chunk-3RTRATDJ.js";
37
37
  import "./chunk-2COYZMUJ.js";
@@ -13,6 +13,21 @@ import {
13
13
  syncWorkspace,
14
14
  workingWorkspaceService
15
15
  } from "./chunk-NUBA6A5T.js";
16
+ import {
17
+ CompositeBackend,
18
+ EndpointGenerator,
19
+ LOCAL_STORAGE_GRAPHS_PREFIX,
20
+ NodeGraphPersistenceService,
21
+ createBackend,
22
+ createCompositeService,
23
+ createLocalService,
24
+ createRemoteService,
25
+ exportGraphAsJsonFile,
26
+ nodeGraphPersistence,
27
+ parseGraphJsonFile,
28
+ validateGraphDocument,
29
+ workspaceGraphService
30
+ } from "./chunk-4X4QGVAO.js";
16
31
  import {
17
32
  CANONICAL_SRKL_URL,
18
33
  SrklClient,
@@ -31,21 +46,6 @@ import {
31
46
  syncSrklAccounts,
32
47
  useSrklServices
33
48
  } from "./chunk-IIOQ7HXV.js";
34
- import {
35
- CompositeBackend,
36
- EndpointGenerator,
37
- LOCAL_STORAGE_GRAPHS_PREFIX,
38
- NodeGraphPersistenceService,
39
- createBackend,
40
- createCompositeService,
41
- createLocalService,
42
- createRemoteService,
43
- exportGraphAsJsonFile,
44
- nodeGraphPersistence,
45
- parseGraphJsonFile,
46
- validateGraphDocument,
47
- workspaceGraphService
48
- } from "./chunk-4X4QGVAO.js";
49
49
  import "./chunk-G4EDIAHW.js";
50
50
  import {
51
51
  BackblazeB2Adapter,
@@ -81,10 +81,10 @@ import {
81
81
  GoogleAccountProviderService,
82
82
  GoogleDriveProviderService,
83
83
  VercelProviderService
84
- } from "./chunk-FGZA6PDX.js";
84
+ } from "./chunk-U5VPYALB.js";
85
85
  import {
86
86
  CanonicalStorageProviderService
87
- } from "./chunk-OJCSPAFE.js";
87
+ } from "./chunk-GZTZ376X.js";
88
88
  import "./chunk-LV55WKZR.js";
89
89
  import "./chunk-WVDSMTW3.js";
90
90
  import {
@@ -93,7 +93,7 @@ import {
93
93
  import {
94
94
  createCanonicalApplicationOAuthBff,
95
95
  createOAuthBff
96
- } from "./chunk-SEKPSCWP.js";
96
+ } from "./chunk-NR7OXPB3.js";
97
97
  import {
98
98
  BackendProvider,
99
99
  useBackend,
@@ -111,18 +111,18 @@ import {
111
111
  import {
112
112
  WorkspaceCloneSyncEngine
113
113
  } from "./chunk-CDRHYO44.js";
114
- import "./chunk-3V5B2BOP.js";
115
- import "./chunk-4NTZRTRY.js";
116
- import "./chunk-4BCTI7BL.js";
117
- import "./chunk-YTJTF7LS.js";
114
+ import "./chunk-RHW75K46.js";
115
+ import "./chunk-GIUAFRAA.js";
116
+ import "./chunk-LAKCKX3I.js";
117
+ import "./chunk-LPM5E2A2.js";
118
118
  import "./chunk-O25T5KCE.js";
119
- import "./chunk-2DVRZKOK.js";
120
- import "./chunk-4LRMJIJ4.js";
121
- import "./chunk-5SKQBVYU.js";
119
+ import "./chunk-QZDTABQX.js";
120
+ import "./chunk-FFQJ4USX.js";
121
+ import "./chunk-AMI5MY6E.js";
122
122
  import "./chunk-CTBVXX5C.js";
123
123
  import "./chunk-HJE4CVKY.js";
124
- import "./chunk-5S5CDQXD.js";
125
- import "./chunk-LN274IE5.js";
124
+ import "./chunk-MQ6AHJ6X.js";
125
+ import "./chunk-G6FLQJS6.js";
126
126
  import {
127
127
  BaseApiRoute,
128
128
  createSSEResponse,
@@ -236,16 +236,11 @@ import {
236
236
  readUserWorkspaceStorageFile,
237
237
  verifyGoogleDriveAuthorizationState,
238
238
  writeUserWorkspaceStorageFile
239
- } from "./chunk-5CZUAEAD.js";
239
+ } from "./chunk-R4B3KPHY.js";
240
240
  import {
241
241
  formatCanonicalWorkspaceFolderName,
242
242
  sanitizeWorkspaceName
243
243
  } from "./chunk-FZKBTF34.js";
244
- import {
245
- getPrimarySrklDeploymentUrl,
246
- getSrklAccounts,
247
- srklListBackblazeBuckets
248
- } from "./chunk-IRKJ6HKP.js";
249
244
  import {
250
245
  createWorkspace,
251
246
  deleteWorkspace,
@@ -273,6 +268,11 @@ import {
273
268
  readWorkspaceFile,
274
269
  writeWorkspaceFile
275
270
  } from "./chunk-GCVR257U.js";
271
+ import {
272
+ getPrimarySrklDeploymentUrl,
273
+ getSrklAccounts,
274
+ srklListBackblazeBuckets
275
+ } from "./chunk-IRKJ6HKP.js";
276
276
  import {
277
277
  completeGoogleDriveAuthorization,
278
278
  createBackblazeStorageConnection,
@@ -0,0 +1,65 @@
1
+ import type { ProviderUsageSnapshot } from './types.js';
2
+ /** Compute profiles specify requests, never assert provider-side availability. */
3
+ export type ComputeProfile = 'low' | 'medium' | 'high' | 'ultra' | 'custom';
4
+ export type ComputeWorkload = 'vm' | 'container' | 'function' | 'gpu' | 'sandbox';
5
+ export interface ComputeSpec {
6
+ cpuVcpus: number;
7
+ memoryGiB: number;
8
+ gpuCount?: number;
9
+ gpuMemoryGiB?: number;
10
+ diskGiB?: number;
11
+ workload?: ComputeWorkload;
12
+ }
13
+ export declare const COMPUTE_PROFILE_PRESETS: Readonly<Record<Exclude<ComputeProfile, 'custom'>, Readonly<ComputeSpec>>>;
14
+ export declare function validateComputeSpec(value: ComputeSpec): ComputeSpec;
15
+ export declare function resolveComputeSpec(profile: ComputeProfile, custom?: ComputeSpec): ComputeSpec;
16
+ /** Every resource must originate from an authorized backend inventory, not plan-level metadata. */
17
+ export interface ComputeRouteAccount {
18
+ ownerUserId: string;
19
+ workspaceId: string;
20
+ providerId: string;
21
+ accountId: string;
22
+ resourceId: string;
23
+ /** Backend-verified running/dispatchable resource; must never come directly from an untrusted request. */
24
+ executable: boolean;
25
+ enabled: boolean;
26
+ capabilities: ComputeSpec;
27
+ /** User-configured multiplier. Zero disables the account. */
28
+ preferenceWeight: number;
29
+ usage?: ProviderUsageSnapshot;
30
+ }
31
+ export type MissingUsagePolicy = 'exclude' | 'user-weight';
32
+ export interface ComputeRouteRequest {
33
+ ownerUserId: string;
34
+ workspaceId: string;
35
+ profile: ComputeProfile;
36
+ customSpec?: ComputeSpec;
37
+ /** Explicit choice: unknown telemetry excluded or manually user-weighted. */
38
+ missingUsage: MissingUsagePolicy;
39
+ /** Explicit decision to keep using a paid/over-quota account after its free allocation is exhausted. */
40
+ exhaustedUsage?: 'exclude' | 'user-weight';
41
+ allowAccountIds?: readonly string[];
42
+ }
43
+ export interface RankedComputeRoute {
44
+ providerId: string;
45
+ accountId: string;
46
+ resourceId: string;
47
+ capabilityFit: number;
48
+ remainingFraction: number | null;
49
+ weightSource: 'verified-usage' | 'user-weight';
50
+ probability: number;
51
+ }
52
+ export interface ComputeRouteRanking {
53
+ requested: ComputeSpec;
54
+ candidates: RankedComputeRoute[];
55
+ rejected: Array<{
56
+ providerId: string;
57
+ accountId: string;
58
+ resourceId: string;
59
+ reason: string;
60
+ }>;
61
+ }
62
+ /** Capability filtering precedes quota weighting. No cross-owner accounts are exposed. */
63
+ export declare function rankComputeRoutes(request: ComputeRouteRequest, resources: readonly ComputeRouteAccount[], now?: Date): ComputeRouteRanking;
64
+ /** One weighted choice per request; execution must independently recheck the provider grant. */
65
+ export declare function selectComputeRoute(ranking: ComputeRouteRanking, selectionUnit: number): RankedComputeRoute | null;
@@ -0,0 +1,52 @@
1
+ import type { ProviderConnection } from './types.js';
2
+ /** Typed Fly.io Machines API; does not claim that an API acceptance means a VM is running. */
3
+ export interface FlyMachine {
4
+ id: string;
5
+ app: string;
6
+ name: string | null;
7
+ state: string;
8
+ region: string | null;
9
+ cpuVcpus: number;
10
+ memoryGiB: number;
11
+ gpuCount: number;
12
+ }
13
+ export interface FlyMachineCreate {
14
+ app: string;
15
+ name: string;
16
+ image: string;
17
+ region: string;
18
+ cpuKind: 'shared' | 'performance';
19
+ cpuVcpus: number;
20
+ memoryMiB: number;
21
+ }
22
+ /** Provider-read machine inventory. No assumptions about quotas or accessibility. */
23
+ export declare function listFlyMachines(connection: ProviderConnection, app: string, transport?: typeof fetch): Promise<FlyMachine[]>;
24
+ export declare function getFlyMachine(connection: ProviderConnection, app: string, id: string, transport?: typeof fetch): Promise<FlyMachine>;
25
+ /** Create a real machine: caller must hold explicit owner/workspace authorization. */
26
+ export declare function createFlyMachine(connection: ProviderConnection, input: FlyMachineCreate, transport?: typeof fetch): Promise<FlyMachine>;
27
+ /** Start, stop and delete acknowledge provider acceptance, not eventual state convergence. */
28
+ export type FlyMutationResult = {
29
+ accepted: true;
30
+ app: string;
31
+ id: string;
32
+ operation: 'start' | 'stop' | 'delete';
33
+ };
34
+ export declare function mutateFlyMachine(connection: ProviderConnection, app: string, id: string, operation: FlyMutationResult['operation'], transport?: typeof fetch): Promise<FlyMutationResult>;
35
+ /** Dispatch an HTTP request to the exact Fly Machine through Fly Proxy.
36
+ * The selected app must expose a public HTTP service and the invoking backend
37
+ * must independently authorize the owner, workspace and machine.
38
+ * NO Fly API bearer token is forwarded to the application.
39
+ */
40
+ export interface FlyHttpInvocation {
41
+ app: string;
42
+ machineId: string;
43
+ path: string;
44
+ method: 'GET' | 'POST';
45
+ payload?: unknown;
46
+ appAuthorization?: string;
47
+ }
48
+ export declare function invokeFlyMachineHttp(input: FlyHttpInvocation, transport?: typeof fetch): Promise<{
49
+ status: number;
50
+ contentType: string;
51
+ body: string;
52
+ }>;
@@ -0,0 +1,5 @@
1
+ import type { FreeComputeOffer, ProviderDefinition } from './types.js';
2
+ export declare function getFreeComputeOffer(id: string): FreeComputeOffer | undefined;
3
+ export declare function listFreeComputeOffers(): FreeComputeOffer[];
4
+ /** These providers are visible but cannot be authenticated, provisioned or rotated yet. */
5
+ export declare const supplementalComputeProviders: readonly ProviderDefinition[];
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getProviderService
3
- } from "../../chunk-LN274IE5.js";
3
+ } from "../../chunk-G6FLQJS6.js";
4
4
 
5
5
  // src/provider-services/google/cloud-run.ts
6
6
  var cloudRunService = getProviderService("google-cloud-run");
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getProviderService
3
- } from "../../chunk-LN274IE5.js";
3
+ } from "../../chunk-G6FLQJS6.js";
4
4
 
5
5
  // src/provider-services/google/cloud-shell.ts
6
6
  var cloudShellService = getProviderService("google-cloud-shell");
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getProviderService
3
- } from "../../chunk-LN274IE5.js";
3
+ } from "../../chunk-G6FLQJS6.js";
4
4
 
5
5
  // src/provider-services/google/cloud-storage.ts
6
6
  var cloudStorageService = getProviderService("google-cloud-storage");
@@ -4,7 +4,7 @@ import {
4
4
  import "../../chunk-HJE4CVKY.js";
5
5
  import {
6
6
  getProviderService
7
- } from "../../chunk-LN274IE5.js";
7
+ } from "../../chunk-G6FLQJS6.js";
8
8
  import {
9
9
  GOOGLE_DRIVE_WORKSPACE_SCOPE,
10
10
  GoogleDriveWorkspaceService
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getGeminiQuotaStatus,
3
3
  listGeminiModels
4
- } from "../../chunk-4NTZRTRY.js";
5
- import "../../chunk-5S5CDQXD.js";
6
- import "../../chunk-LN274IE5.js";
4
+ } from "../../chunk-GIUAFRAA.js";
5
+ import "../../chunk-MQ6AHJ6X.js";
6
+ import "../../chunk-G6FLQJS6.js";
7
7
  export {
8
8
  getGeminiQuotaStatus,
9
9
  listGeminiModels
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  getGoogleAccountProfile
3
- } from "../../chunk-4BCTI7BL.js";
4
- import "../../chunk-5S5CDQXD.js";
3
+ } from "../../chunk-LAKCKX3I.js";
4
+ import "../../chunk-MQ6AHJ6X.js";
5
5
  import {
6
6
  getProviderService,
7
7
  listProviderServiceChildren
8
- } from "../../chunk-LN274IE5.js";
8
+ } from "../../chunk-G6FLQJS6.js";
9
9
 
10
10
  // src/provider-services/google/index.ts
11
11
  var getGoogleSuite = () => getProviderService("google");
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getProviderService
3
- } from "../../chunk-LN274IE5.js";
3
+ } from "../../chunk-G6FLQJS6.js";
4
4
 
5
5
  // src/provider-services/google/vertex-ai.ts
6
6
  var vertexAiService = getProviderService("google-vertex-ai");
@@ -10,3 +10,6 @@ export * from './operations.js';
10
10
  export * from './storage-providers.js';
11
11
  export * from './storage/index.js';
12
12
  export * from './compute-operations.js';
13
+ export * from './free-compute.js';
14
+ export * from './compute-routing.js';
15
+ export * from './fly-machines.js';
@@ -1,18 +1,28 @@
1
1
  import {
2
+ COMPUTE_PROFILE_PRESETS,
2
3
  calculateProviderCapacity,
4
+ createFlyMachine,
5
+ getFlyMachine,
3
6
  getRailwayAccount,
7
+ invokeFlyMachineHttp,
4
8
  listFlyApps,
9
+ listFlyMachines,
5
10
  listGoogleCloudRunServices,
6
- listRenderServices
7
- } from "../chunk-FFYTCLFC.js";
11
+ listRenderServices,
12
+ mutateFlyMachine,
13
+ rankComputeRoutes,
14
+ resolveComputeSpec,
15
+ selectComputeRoute,
16
+ validateComputeSpec
17
+ } from "../chunk-UI7AYFAU.js";
8
18
  import {
9
19
  fetchCloudflareCapacity,
10
20
  fetchVercelCapacity
11
- } from "../chunk-3V5B2BOP.js";
21
+ } from "../chunk-RHW75K46.js";
12
22
  import {
13
23
  getGeminiQuotaStatus,
14
24
  listGeminiModels
15
- } from "../chunk-4NTZRTRY.js";
25
+ } from "../chunk-GIUAFRAA.js";
16
26
  import {
17
27
  getGoogleAccountProfile,
18
28
  listCloudflareAccounts,
@@ -20,21 +30,21 @@ import {
20
30
  listCloudflareWorkers,
21
31
  listVercelDeployments,
22
32
  listVercelProjects
23
- } from "../chunk-4BCTI7BL.js";
33
+ } from "../chunk-LAKCKX3I.js";
24
34
  import {
25
35
  createCanonicalStorageService,
26
36
  getCanonicalStorageCapabilities,
27
37
  listCanonicalStorageProviders
28
- } from "../chunk-YTJTF7LS.js";
38
+ } from "../chunk-LPM5E2A2.js";
29
39
  import {
30
40
  createBackblazeB2StorageService
31
41
  } from "../chunk-O25T5KCE.js";
32
42
  import {
33
43
  createDropboxStorageService
34
- } from "../chunk-2DVRZKOK.js";
44
+ } from "../chunk-QZDTABQX.js";
35
45
  import {
36
46
  createGitHubStorageService
37
- } from "../chunk-4LRMJIJ4.js";
47
+ } from "../chunk-FFQJ4USX.js";
38
48
  import {
39
49
  continueDropboxFolder,
40
50
  listDropboxFolder,
@@ -42,7 +52,7 @@ import {
42
52
  listGitHubRepositoryContents,
43
53
  listGitLabProjects,
44
54
  listGitLabRepositoryTree
45
- } from "../chunk-5SKQBVYU.js";
55
+ } from "../chunk-AMI5MY6E.js";
46
56
  import {
47
57
  createGoogleDriveStorageService
48
58
  } from "../chunk-CTBVXX5C.js";
@@ -54,16 +64,19 @@ import {
54
64
  } from "../chunk-HJE4CVKY.js";
55
65
  import {
56
66
  createProviderClient
57
- } from "../chunk-5S5CDQXD.js";
67
+ } from "../chunk-MQ6AHJ6X.js";
58
68
  import {
69
+ getFreeComputeOffer,
59
70
  getProviderService,
60
71
  getProviderServicePath,
72
+ listFreeComputeOffers,
61
73
  listProviderServiceChildren,
62
74
  listProviderServiceTree,
63
75
  listProviderServices,
64
76
  listRecognizedAccountServices,
65
- resolveProviderServiceId
66
- } from "../chunk-LN274IE5.js";
77
+ resolveProviderServiceId,
78
+ supplementalComputeProviders
79
+ } from "../chunk-G6FLQJS6.js";
67
80
  import {
68
81
  authorizeB2,
69
82
  b2DownloadFile,
@@ -76,6 +89,7 @@ import {
76
89
  GoogleDriveWorkspaceService
77
90
  } from "../chunk-EMSSTOOK.js";
78
91
  export {
92
+ COMPUTE_PROFILE_PRESETS,
79
93
  GOOGLE_DRIVE_WORKSPACE_SCOPE,
80
94
  GoogleDriveWorkspaceService,
81
95
  UnsupportedStorageOperation,
@@ -86,6 +100,7 @@ export {
86
100
  createBackblazeB2StorageService,
87
101
  createCanonicalStorageService,
88
102
  createDropboxStorageService,
103
+ createFlyMachine,
89
104
  createGitHubStorageService,
90
105
  createGoogleDriveStorageService,
91
106
  createProviderClient,
@@ -93,11 +108,14 @@ export {
93
108
  fetchCloudflareCapacity,
94
109
  fetchVercelCapacity,
95
110
  getCanonicalStorageCapabilities,
111
+ getFlyMachine,
112
+ getFreeComputeOffer,
96
113
  getGeminiQuotaStatus,
97
114
  getGoogleAccountProfile,
98
115
  getProviderService,
99
116
  getProviderServicePath,
100
117
  getRailwayAccount,
118
+ invokeFlyMachineHttp,
101
119
  b2ListBuckets as listBackblazeB2Buckets,
102
120
  b2ListFileNames as listBackblazeB2Files,
103
121
  listCanonicalStorageProviders,
@@ -106,6 +124,8 @@ export {
106
124
  listCloudflareWorkers,
107
125
  listDropboxFolder,
108
126
  listFlyApps,
127
+ listFlyMachines,
128
+ listFreeComputeOffers,
109
129
  listGeminiModels,
110
130
  listGitHubRepositories,
111
131
  listGitHubRepositoryContents,
@@ -119,8 +139,14 @@ export {
119
139
  listRenderServices,
120
140
  listVercelDeployments,
121
141
  listVercelProjects,
142
+ mutateFlyMachine,
122
143
  normalizeStoragePath,
144
+ rankComputeRoutes,
123
145
  readOnlyService,
146
+ resolveComputeSpec,
124
147
  resolveProviderServiceId,
125
- b2UploadFile as uploadBackblazeB2File
148
+ selectComputeRoute,
149
+ supplementalComputeProviders,
150
+ b2UploadFile as uploadBackblazeB2File,
151
+ validateComputeSpec
126
152
  };