@onesi/genesis 0.2.4 → 0.2.6
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/README.md +1 -1
- package/dist/client.d.ts +12 -0
- package/dist/client.js +41 -1
- package/dist/errors.js +1 -1
- package/dist/fleets.d.ts +4 -1
- package/dist/fleets.js +10 -2
- package/dist/generated/operations.js +177 -150
- package/dist/generated/schema.d.ts +286 -137
- package/dist/genesis.d.ts +17 -7
- package/dist/genesis.js +2 -0
- package/dist/genesis.openapi.json +402 -160
- package/dist/hives-cells.d.ts +13 -3
- package/dist/hives-cells.js +24 -6
- package/dist/hives-node.d.ts +2 -0
- package/dist/hives-node.js +12 -0
- package/dist/hives-operations.d.ts +3 -3
- package/dist/hives-project.d.ts +19 -0
- package/dist/hives-project.js +62 -0
- package/dist/hives-sse.d.ts +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -0
- package/dist/minds.js +2 -2
- package/dist/urls.js +36 -14
- package/package.json +1 -1
package/dist/genesis.d.ts
CHANGED
|
@@ -2195,7 +2195,9 @@ export declare class Genesis extends GenesisClient {
|
|
|
2195
2195
|
}>;
|
|
2196
2196
|
streamEvents: (run_id: string, options?: import("./henry.js").HenryStreamOptions) => AsyncGenerator<import("./henry.js").HenryStreamEvent, any, any>;
|
|
2197
2197
|
replay: (run_id: string, options?: {
|
|
2198
|
-
signal
|
|
2198
|
+
signal
|
|
2199
|
+
/** Copies the parent's latest checkpoint (the default branch when no parent is given). */
|
|
2200
|
+
? /** Copies the parent's latest checkpoint (the default branch when no parent is given). */: AbortSignal;
|
|
2199
2201
|
}) => Promise<import("./henry.js").HenryReplay>;
|
|
2200
2202
|
};
|
|
2201
2203
|
};
|
|
@@ -2343,7 +2345,9 @@ export declare class Genesis extends GenesisClient {
|
|
|
2343
2345
|
model: string;
|
|
2344
2346
|
updated_at?: number;
|
|
2345
2347
|
}>;
|
|
2346
|
-
set: (api_key: string
|
|
2348
|
+
set: (api_key: string, options?: {
|
|
2349
|
+
model?: string;
|
|
2350
|
+
}) => Promise<{
|
|
2347
2351
|
connected: boolean;
|
|
2348
2352
|
model: string;
|
|
2349
2353
|
updated_at?: number;
|
|
@@ -6660,7 +6664,9 @@ export declare class Genesis extends GenesisClient {
|
|
|
6660
6664
|
};
|
|
6661
6665
|
invoices: (org: string, query?: {
|
|
6662
6666
|
service?: string;
|
|
6663
|
-
limit
|
|
6667
|
+
limit
|
|
6668
|
+
/** The Hives project id (prj_…) for a prj_… id, the selected context's Genesis pr_… id, or nothing (the selected context's binding). */
|
|
6669
|
+
? /** The Hives project id (prj_…) for a prj_… id, the selected context's Genesis pr_… id, or nothing (the selected context's binding). */: number;
|
|
6664
6670
|
}) => Promise<{
|
|
6665
6671
|
object: "list";
|
|
6666
6672
|
org_id: string;
|
|
@@ -8955,6 +8961,10 @@ export declare class Genesis extends GenesisClient {
|
|
|
8955
8961
|
};
|
|
8956
8962
|
};
|
|
8957
8963
|
readonly hives: {
|
|
8964
|
+
/** The Hives project id (prj_…) for a prj_… id, the selected context's Genesis pr_… id, or nothing (the selected context's binding). */
|
|
8965
|
+
resolveProject: (project_id?: string, init?: {
|
|
8966
|
+
signal?: AbortSignal;
|
|
8967
|
+
}) => Promise<string>;
|
|
8958
8968
|
volumes: {
|
|
8959
8969
|
list(project: string, query?: {
|
|
8960
8970
|
page?: number;
|
|
@@ -9362,16 +9372,16 @@ export declare class Genesis extends GenesisClient {
|
|
|
9362
9372
|
}, options?: import("./hives-resources-transport.js").HivesResourceOptions): Promise<import("./hives-cells.js").HivesObjectList>;
|
|
9363
9373
|
put(project: string, id: string, key: string, bytes: Blob | ArrayBuffer | ArrayBufferView, options?: import("./hives-resources-transport.js").HivesFundedWriteOptions & {
|
|
9364
9374
|
content_type?: string;
|
|
9365
|
-
}): Promise<import("./hives-cells.js").HivesObjectAcknowledgement>;
|
|
9375
|
+
}): Promise<import("./hives-cells.js").HivesObjectAcknowledgement | import("./hives-cells.js").HivesStorageWriteReplay>;
|
|
9366
9376
|
remove: (project: string, id: string, key: string, options?: import("./hives-resources-transport.js").HivesResourceOptions) => Promise<void>;
|
|
9367
9377
|
download: (project: string, id: string, key: string, options?: import("./hives-resources-transport.js").HivesResourceOptions) => Promise<Response>;
|
|
9368
9378
|
putFlat(project: string, id: string, key: string, bytes: Blob | ArrayBuffer | ArrayBufferView, options?: import("./hives-resources-transport.js").HivesFundedWriteOptions & {
|
|
9369
|
-
content_type
|
|
9370
|
-
}): Promise<import("./hives-cells.js").HivesObjectAcknowledgement>;
|
|
9379
|
+
content_type?: string;
|
|
9380
|
+
}): Promise<import("./hives-cells.js").HivesObjectAcknowledgement | import("./hives-cells.js").HivesStorageWriteReplay>;
|
|
9371
9381
|
removeFlat: (project: string, id: string, key: string, options?: import("./hives-resources-transport.js").HivesResourceOptions) => Promise<void>;
|
|
9372
9382
|
putDownload(project: string, id: string, bytes: Blob | ArrayBuffer | ArrayBufferView, options?: import("./hives-resources-transport.js").HivesFundedWriteOptions & {
|
|
9373
9383
|
content_type?: string;
|
|
9374
|
-
}): Promise<import("./hives-cells.js").HivesObjectAcknowledgement>;
|
|
9384
|
+
}): Promise<import("./hives-cells.js").HivesObjectAcknowledgement | import("./hives-cells.js").HivesStorageWriteReplay>;
|
|
9375
9385
|
removeDownload: (project: string, id: string, options?: import("./hives-resources-transport.js").HivesResourceOptions) => Promise<void>;
|
|
9376
9386
|
};
|
|
9377
9387
|
presign(project: string, id: string, body: import("./hives-cells.js").HivesPresign, options?: import("./hives-resources-transport.js").HivesResourceOptions): Promise<import("./hives-cells.js").HivesPresignedUrl>;
|
package/dist/genesis.js
CHANGED
|
@@ -83,6 +83,8 @@ export class Genesis extends GenesisClient {
|
|
|
83
83
|
};
|
|
84
84
|
hives = {
|
|
85
85
|
...hivesOperations(this),
|
|
86
|
+
/** The Hives project id (prj_…) for a prj_… id, the selected context's Genesis pr_… id, or nothing (the selected context's binding). */
|
|
87
|
+
resolveProject: (project_id, init = {}) => this.hivesProjectId(project_id, init),
|
|
86
88
|
volumes: hivesVolumes(this),
|
|
87
89
|
marketplace: hivesMarketplace(this),
|
|
88
90
|
/** The gateway resolves the current authorized selection from an interactive One account session. */
|