@ultrst-armada/kloks 2.2.6 → 2.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.krusbl-release-attestation.json +3 -3
- package/package.json +1 -1
- package/packages/backend/dist/{chunk-5SKQBVYU.js → chunk-AMI5MY6E.js} +2 -2
- package/packages/backend/dist/{chunk-4LRMJIJ4.js → chunk-FFQJ4USX.js} +1 -1
- package/packages/backend/dist/chunk-G6FLQJS6.js +496 -0
- package/packages/backend/dist/{chunk-4NTZRTRY.js → chunk-GIUAFRAA.js} +1 -1
- package/packages/backend/dist/{chunk-OJCSPAFE.js → chunk-GZTZ376X.js} +1 -1
- package/packages/backend/dist/{chunk-4BCTI7BL.js → chunk-LAKCKX3I.js} +1 -1
- package/packages/backend/dist/{chunk-YTJTF7LS.js → chunk-LPM5E2A2.js} +2 -2
- package/packages/backend/dist/{chunk-5S5CDQXD.js → chunk-MQ6AHJ6X.js} +2 -2
- package/packages/backend/dist/{chunk-2DVRZKOK.js → chunk-QZDTABQX.js} +2 -2
- package/packages/backend/dist/{chunk-3V5B2BOP.js → chunk-RHW75K46.js} +1 -1
- package/packages/backend/dist/{chunk-FGZA6PDX.js → chunk-U5VPYALB.js} +4 -4
- package/packages/backend/dist/chunk-UI7AYFAU.js +364 -0
- package/packages/backend/dist/{client-S4R4MZ6K.js → client-R5FY5AP7.js} +2 -2
- package/packages/backend/dist/index.js +38 -12
- package/packages/backend/dist/krnl-services.js +2 -2
- package/packages/backend/dist/node.js +32 -32
- package/packages/backend/dist/provider-services/compute-routing.d.ts +65 -0
- package/packages/backend/dist/provider-services/compute-routing.test.d.ts +1 -0
- package/packages/backend/dist/provider-services/fly-machines.d.ts +52 -0
- package/packages/backend/dist/provider-services/fly-machines.test.d.ts +1 -0
- package/packages/backend/dist/provider-services/free-compute.d.ts +5 -0
- package/packages/backend/dist/provider-services/free-compute.test.d.ts +1 -0
- package/packages/backend/dist/provider-services/google/cloud-run.js +1 -1
- package/packages/backend/dist/provider-services/google/cloud-shell.js +1 -1
- package/packages/backend/dist/provider-services/google/cloud-storage.js +1 -1
- package/packages/backend/dist/provider-services/google/drive.js +1 -1
- package/packages/backend/dist/provider-services/google/gemini.js +3 -3
- package/packages/backend/dist/provider-services/google/index.js +3 -3
- package/packages/backend/dist/provider-services/google/vertex-ai.js +1 -1
- package/packages/backend/dist/provider-services/index.d.ts +3 -0
- package/packages/backend/dist/provider-services/index.js +39 -13
- package/packages/backend/dist/provider-services/node.js +11 -11
- package/packages/backend/dist/provider-services/storage/dropbox.js +4 -4
- package/packages/backend/dist/provider-services/storage/github.js +4 -4
- package/packages/backend/dist/provider-services/storage/node.js +7 -7
- package/packages/backend/dist/provider-services/storage.js +6 -6
- package/packages/backend/dist/provider-services/types.d.ts +16 -2
- package/packages/state-graph/dist/browser.js +24 -24
- package/packages/state-graph/dist/index.js +24 -24
- package/packages/backend/dist/chunk-FFYTCLFC.js +0 -93
- package/packages/backend/dist/chunk-LN274IE5.js +0 -414
- package/packages/backend/dist/{chunk-5CZUAEAD.js → chunk-R4B3KPHY.js} +5 -5
- package/packages/state-graph/dist/{chunk-YUJC367F.js → chunk-UKTICGGV.js} +3 -3
|
@@ -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-
|
|
84
|
+
} from "./chunk-U5VPYALB.js";
|
|
85
85
|
import {
|
|
86
86
|
CanonicalStorageProviderService
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-GZTZ376X.js";
|
|
88
88
|
import "./chunk-LV55WKZR.js";
|
|
89
89
|
import "./chunk-WVDSMTW3.js";
|
|
90
90
|
import {
|
|
@@ -111,18 +111,18 @@ import {
|
|
|
111
111
|
import {
|
|
112
112
|
WorkspaceCloneSyncEngine
|
|
113
113
|
} from "./chunk-CDRHYO44.js";
|
|
114
|
-
import "./chunk-
|
|
115
|
-
import "./chunk-
|
|
116
|
-
import "./chunk-
|
|
117
|
-
import "./chunk-
|
|
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-
|
|
120
|
-
import "./chunk-
|
|
121
|
-
import "./chunk-
|
|
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-
|
|
125
|
-
import "./chunk-
|
|
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-
|
|
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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getGeminiQuotaStatus,
|
|
3
3
|
listGeminiModels
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
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-
|
|
4
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-LAKCKX3I.js";
|
|
4
|
+
import "../../chunk-MQ6AHJ6X.js";
|
|
5
5
|
import {
|
|
6
6
|
getProviderService,
|
|
7
7
|
listProviderServiceChildren
|
|
8
|
-
} from "../../chunk-
|
|
8
|
+
} from "../../chunk-G6FLQJS6.js";
|
|
9
9
|
|
|
10
10
|
// src/provider-services/google/index.ts
|
|
11
11
|
var getGoogleSuite = () => getProviderService("google");
|
|
@@ -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
|
-
|
|
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-
|
|
21
|
+
} from "../chunk-RHW75K46.js";
|
|
12
22
|
import {
|
|
13
23
|
getGeminiQuotaStatus,
|
|
14
24
|
listGeminiModels
|
|
15
|
-
} from "../chunk-
|
|
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-
|
|
33
|
+
} from "../chunk-LAKCKX3I.js";
|
|
24
34
|
import {
|
|
25
35
|
createCanonicalStorageService,
|
|
26
36
|
getCanonicalStorageCapabilities,
|
|
27
37
|
listCanonicalStorageProviders
|
|
28
|
-
} from "../chunk-
|
|
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-
|
|
44
|
+
} from "../chunk-QZDTABQX.js";
|
|
35
45
|
import {
|
|
36
46
|
createGitHubStorageService
|
|
37
|
-
} from "../chunk-
|
|
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-
|
|
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-
|
|
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
|
-
|
|
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
|
-
|
|
148
|
+
selectComputeRoute,
|
|
149
|
+
supplementalComputeProviders,
|
|
150
|
+
b2UploadFile as uploadBackblazeB2File,
|
|
151
|
+
validateComputeSpec
|
|
126
152
|
};
|
|
@@ -8,22 +8,22 @@ import {
|
|
|
8
8
|
GoogleAccountProviderService,
|
|
9
9
|
GoogleDriveProviderService,
|
|
10
10
|
VercelProviderService
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-U5VPYALB.js";
|
|
12
12
|
import {
|
|
13
13
|
CanonicalStorageProviderService
|
|
14
|
-
} from "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
14
|
+
} from "../chunk-GZTZ376X.js";
|
|
15
|
+
import "../chunk-RHW75K46.js";
|
|
16
|
+
import "../chunk-GIUAFRAA.js";
|
|
17
|
+
import "../chunk-LAKCKX3I.js";
|
|
18
|
+
import "../chunk-LPM5E2A2.js";
|
|
19
19
|
import "../chunk-O25T5KCE.js";
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-QZDTABQX.js";
|
|
21
|
+
import "../chunk-FFQJ4USX.js";
|
|
22
|
+
import "../chunk-AMI5MY6E.js";
|
|
23
23
|
import "../chunk-CTBVXX5C.js";
|
|
24
24
|
import "../chunk-HJE4CVKY.js";
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-MQ6AHJ6X.js";
|
|
26
|
+
import "../chunk-G6FLQJS6.js";
|
|
27
27
|
import "../chunk-I6T64MLT.js";
|
|
28
28
|
import "../chunk-EMSSTOOK.js";
|
|
29
29
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createDropboxStorageService
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-QZDTABQX.js";
|
|
4
|
+
import "../../chunk-AMI5MY6E.js";
|
|
5
5
|
import "../../chunk-HJE4CVKY.js";
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-MQ6AHJ6X.js";
|
|
7
|
+
import "../../chunk-G6FLQJS6.js";
|
|
8
8
|
import "../../chunk-I6T64MLT.js";
|
|
9
9
|
import "../../chunk-EMSSTOOK.js";
|
|
10
10
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createGitHubStorageService
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-FFQJ4USX.js";
|
|
4
|
+
import "../../chunk-AMI5MY6E.js";
|
|
5
5
|
import "../../chunk-HJE4CVKY.js";
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-MQ6AHJ6X.js";
|
|
7
|
+
import "../../chunk-G6FLQJS6.js";
|
|
8
8
|
import "../../chunk-I6T64MLT.js";
|
|
9
9
|
import "../../chunk-EMSSTOOK.js";
|
|
10
10
|
export {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CanonicalStorageProviderService
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-GZTZ376X.js";
|
|
4
|
+
import "../../chunk-LPM5E2A2.js";
|
|
5
5
|
import "../../chunk-O25T5KCE.js";
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-QZDTABQX.js";
|
|
7
|
+
import "../../chunk-FFQJ4USX.js";
|
|
8
|
+
import "../../chunk-AMI5MY6E.js";
|
|
9
9
|
import "../../chunk-CTBVXX5C.js";
|
|
10
10
|
import "../../chunk-HJE4CVKY.js";
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
11
|
+
import "../../chunk-MQ6AHJ6X.js";
|
|
12
|
+
import "../../chunk-G6FLQJS6.js";
|
|
13
13
|
import "../../chunk-I6T64MLT.js";
|
|
14
14
|
import "../../chunk-EMSSTOOK.js";
|
|
15
15
|
export {
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
createCanonicalStorageService,
|
|
3
3
|
getCanonicalStorageCapabilities,
|
|
4
4
|
listCanonicalStorageProviders
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-LPM5E2A2.js";
|
|
6
6
|
import "../chunk-O25T5KCE.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-QZDTABQX.js";
|
|
8
|
+
import "../chunk-FFQJ4USX.js";
|
|
9
|
+
import "../chunk-AMI5MY6E.js";
|
|
10
10
|
import "../chunk-CTBVXX5C.js";
|
|
11
11
|
import {
|
|
12
12
|
UnsupportedStorageOperation,
|
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
normalizeStoragePath,
|
|
15
15
|
readOnlyService
|
|
16
16
|
} from "../chunk-HJE4CVKY.js";
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-MQ6AHJ6X.js";
|
|
18
|
+
import "../chunk-G6FLQJS6.js";
|
|
19
19
|
import "../chunk-I6T64MLT.js";
|
|
20
20
|
import "../chunk-EMSSTOOK.js";
|
|
21
21
|
export {
|
|
@@ -1,13 +1,27 @@
|
|
|
1
1
|
/** Canonical provider/service identity and quota contracts. No secrets are persisted here. */
|
|
2
2
|
export type ProviderCategory = 'suite' | 'deployment' | 'cloud' | 'ai' | 'storage' | 'developer';
|
|
3
3
|
export type ProviderStatus = 'ready' | 'catalogued' | 'excluded';
|
|
4
|
-
export type CredentialMode = 'api-token' | 'api-key' | 'oauth2' | 'application-key';
|
|
5
|
-
export type RenewalPolicy = 'daily' | 'monthly' | 'ongoing' | 'unknown' | 'trial';
|
|
4
|
+
export type CredentialMode = 'api-token' | 'api-key' | 'aws-sigv4' | 'oauth2' | 'application-key';
|
|
5
|
+
export type RenewalPolicy = 'daily' | 'weekly' | 'monthly' | 'ongoing' | 'unknown' | 'trial';
|
|
6
|
+
export interface FreeComputeOffer {
|
|
7
|
+
providerId: string;
|
|
8
|
+
allowance: string;
|
|
9
|
+
renewal: RenewalPolicy;
|
|
10
|
+
quotaScope: 'account' | 'workspace' | 'organization' | 'project' | 'billing-account' | 'subscription' | 'namespace';
|
|
11
|
+
workload: 'vm' | 'container' | 'function' | 'gpu' | 'sandbox' | 'ci' | 'notebook' | 'browser' | 'developer';
|
|
12
|
+
access: 'general' | 'restricted';
|
|
13
|
+
sourceUrl: string;
|
|
14
|
+
notes: string;
|
|
15
|
+
verifiedDate: string;
|
|
16
|
+
/** Catalogued allowance is NEVER proof of available account capacity. */
|
|
17
|
+
allocationEnabled: false;
|
|
18
|
+
}
|
|
6
19
|
export interface ProviderDefinition {
|
|
7
20
|
/** A suite groups related service adapters and can expose its own identity API. */
|
|
8
21
|
kind?: 'suite' | 'service';
|
|
9
22
|
id: string;
|
|
10
23
|
name: string;
|
|
24
|
+
freeCompute?: FreeComputeOffer;
|
|
11
25
|
category: ProviderCategory;
|
|
12
26
|
status: ProviderStatus;
|
|
13
27
|
parentId?: string;
|