@arker-ai/sdk 0.1.0 → 0.1.2
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/dist/index.cjs +1014 -5
- package/dist/index.d.cts +8 -3
- package/dist/index.d.ts +8 -3
- package/dist/index.js +1013 -5
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -28,8 +28,13 @@
|
|
|
28
28
|
declare const DEFAULT_BASE_URL = "https://aws-us-west-2.burst.arker.ai";
|
|
29
29
|
/** `list` is served from a different host than the rest; used regardless of the client's baseUrl. */
|
|
30
30
|
declare const LIST_BASE_URL = "https://arker.ai";
|
|
31
|
-
/**
|
|
32
|
-
|
|
31
|
+
/** 1000 pre-forked public VMs (snapshots of `arkuntu`). The SDK picks one
|
|
32
|
+
* at random per `vm("arkuntu").fork()` call so concurrent fork bursts
|
|
33
|
+
* fan out across distinct source state.log keys, avoiding per-key
|
|
34
|
+
* throttling under load. */
|
|
35
|
+
declare const ARKUNTU_POOL: readonly string[];
|
|
36
|
+
/** Source-VM aliases. `arkuntu` resolves to the 1000-VM pool above. */
|
|
37
|
+
declare const SOURCE_ALIASES: Record<string, readonly string[] | string>;
|
|
33
38
|
/** Files above this size go through a direct upload path. */
|
|
34
39
|
declare const CHUNK_SIZE: number;
|
|
35
40
|
interface ArkerOptions {
|
|
@@ -112,4 +117,4 @@ declare class Sync {
|
|
|
112
117
|
private sendOneWrite;
|
|
113
118
|
}
|
|
114
119
|
|
|
115
|
-
export { Arker, ArkerError, type ArkerOptions, CHUNK_SIZE, Computer, DEFAULT_BASE_URL, type ForkOptions, LIST_BASE_URL, type ListOptions, type RunOptions, type RunResult, SOURCE_ALIASES, Sync, type VmList, type VmSummary };
|
|
120
|
+
export { ARKUNTU_POOL, Arker, ArkerError, type ArkerOptions, CHUNK_SIZE, Computer, DEFAULT_BASE_URL, type ForkOptions, LIST_BASE_URL, type ListOptions, type RunOptions, type RunResult, SOURCE_ALIASES, Sync, type VmList, type VmSummary };
|
package/dist/index.d.ts
CHANGED
|
@@ -28,8 +28,13 @@
|
|
|
28
28
|
declare const DEFAULT_BASE_URL = "https://aws-us-west-2.burst.arker.ai";
|
|
29
29
|
/** `list` is served from a different host than the rest; used regardless of the client's baseUrl. */
|
|
30
30
|
declare const LIST_BASE_URL = "https://arker.ai";
|
|
31
|
-
/**
|
|
32
|
-
|
|
31
|
+
/** 1000 pre-forked public VMs (snapshots of `arkuntu`). The SDK picks one
|
|
32
|
+
* at random per `vm("arkuntu").fork()` call so concurrent fork bursts
|
|
33
|
+
* fan out across distinct source state.log keys, avoiding per-key
|
|
34
|
+
* throttling under load. */
|
|
35
|
+
declare const ARKUNTU_POOL: readonly string[];
|
|
36
|
+
/** Source-VM aliases. `arkuntu` resolves to the 1000-VM pool above. */
|
|
37
|
+
declare const SOURCE_ALIASES: Record<string, readonly string[] | string>;
|
|
33
38
|
/** Files above this size go through a direct upload path. */
|
|
34
39
|
declare const CHUNK_SIZE: number;
|
|
35
40
|
interface ArkerOptions {
|
|
@@ -112,4 +117,4 @@ declare class Sync {
|
|
|
112
117
|
private sendOneWrite;
|
|
113
118
|
}
|
|
114
119
|
|
|
115
|
-
export { Arker, ArkerError, type ArkerOptions, CHUNK_SIZE, Computer, DEFAULT_BASE_URL, type ForkOptions, LIST_BASE_URL, type ListOptions, type RunOptions, type RunResult, SOURCE_ALIASES, Sync, type VmList, type VmSummary };
|
|
120
|
+
export { ARKUNTU_POOL, Arker, ArkerError, type ArkerOptions, CHUNK_SIZE, Computer, DEFAULT_BASE_URL, type ForkOptions, LIST_BASE_URL, type ListOptions, type RunOptions, type RunResult, SOURCE_ALIASES, Sync, type VmList, type VmSummary };
|