@nodetool-ai/atlascloud-nodes 0.8.10 → 0.8.16
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/.nodetool-build-stamp +1 -1
- package/dist/atlascloud-factory.d.ts +4 -4
- package/dist/atlascloud-factory.d.ts.map +1 -1
- package/dist/atlascloud-factory.js +34 -18
- package/dist/atlascloud-factory.js.map +1 -1
- package/dist/atlascloud-manifest.json +344 -334
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/dist/atlascloud-base.d.ts +0 -13
- package/dist/atlascloud-base.d.ts.map +0 -1
- package/dist/atlascloud-base.js +0 -20
- package/dist/atlascloud-base.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import type { NodeClass } from "@nodetool-ai/node-sdk";
|
|
2
2
|
export { loadAtlasNodesFromManifest, createAtlasNodeClass, resolveAssetForAtlas } from "./atlascloud-factory.js";
|
|
3
3
|
export type { AtlasManifestEntry, AtlasFieldDef, AtlasFieldType } from "./atlascloud-factory.js";
|
|
4
|
-
export { ATLAS_BASE, SUBMIT_PATH, atlasAwaitResult, atlasDownload, atlasPoll, atlasSubmit, getApiKey, pickOutputUrl, pollPath } from "./atlascloud-base.js";
|
|
5
|
-
export type { AtlasModality } from "./atlascloud-base.js";
|
|
6
4
|
export declare const ATLASCLOUD_NODES: readonly NodeClass[];
|
|
7
5
|
export declare function registerAtlasCloudNodes(registry: {
|
|
8
6
|
register: (nodeClass: NodeClass) => void;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAMvD,OAAO,EACL,0BAA0B,EAC1B,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AACjC,YAAY,EACV,kBAAkB,EAClB,aAAa,EACb,cAAc,EACf,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAMvD,OAAO,EACL,0BAA0B,EAC1B,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AACjC,YAAY,EACV,kBAAkB,EAClB,aAAa,EACb,cAAc,EACf,MAAM,yBAAyB,CAAC;AASjC,eAAO,MAAM,gBAAgB,EAAE,SAAS,SAAS,EACL,CAAC;AAE7C,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE;IAChD,QAAQ,EAAE,CAAC,SAAS,EAAE,SAAS,KAAK,IAAI,CAAC;CAC1C,GAAG,IAAI,CAIP"}
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { loadPackageAssetJson } from "@nodetool-ai/config";
|
|
2
2
|
import { loadAtlasNodesFromManifest } from "./atlascloud-factory.js";
|
|
3
3
|
export { loadAtlasNodesFromManifest, createAtlasNodeClass, resolveAssetForAtlas } from "./atlascloud-factory.js";
|
|
4
|
-
export { ATLAS_BASE, SUBMIT_PATH, atlasAwaitResult, atlasDownload, atlasPoll, atlasSubmit, getApiKey, pickOutputUrl, pollPath } from "./atlascloud-base.js";
|
|
5
4
|
function loadManifest() {
|
|
6
5
|
return loadPackageAssetJson({ pkg: "@nodetool-ai/atlascloud-nodes", path: "atlascloud-manifest.json" }, import.meta.url);
|
|
7
6
|
}
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAE3D,OAAO,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAGrE,OAAO,EACL,0BAA0B,EAC1B,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AAOjC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAE3D,OAAO,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAGrE,OAAO,EACL,0BAA0B,EAC1B,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AAOjC,SAAS,YAAY;IACnB,OAAO,oBAAoB,CACzB,EAAE,GAAG,EAAE,+BAA+B,EAAE,IAAI,EAAE,0BAA0B,EAAE,EAC1E,OAAO,IAAI,CAAC,GAAG,CAChB,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,gBAAgB,GAC3B,0BAA0B,CAAC,YAAY,EAAE,CAAC,CAAC;AAE7C,MAAM,UAAU,uBAAuB,CAAC,QAEvC;IACC,KAAK,MAAM,SAAS,IAAI,gBAAgB,EAAE,CAAC;QACzC,QAAQ,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;IAC/B,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=22.0.0"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.8.
|
|
7
|
+
"version": "0.8.16",
|
|
8
8
|
"description": "AtlasCloud.ai image and video generation nodes for NodeTool",
|
|
9
9
|
"main": "dist/index.js",
|
|
10
10
|
"types": "dist/index.d.ts",
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
"lint": "node ../../scripts/run-tsc.mjs --noEmit"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@nodetool-ai/config": "0.8.
|
|
18
|
-
"@nodetool-ai/node-sdk": "0.8.
|
|
19
|
-
"@nodetool-ai/runtime": "0.8.
|
|
17
|
+
"@nodetool-ai/config": "0.8.16",
|
|
18
|
+
"@nodetool-ai/node-sdk": "0.8.16",
|
|
19
|
+
"@nodetool-ai/runtime": "0.8.16"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@types/node": "^22.0.0",
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AtlasCloud auth for the node pack.
|
|
3
|
-
*
|
|
4
|
-
* The submit/poll/download flow itself lives in
|
|
5
|
-
* `@nodetool-ai/runtime/provider-transport` — this pack and `AtlasCloudProvider`
|
|
6
|
-
* ran two copies of it until they disagreed about retries and terminal states.
|
|
7
|
-
* The names below are re-exported so node code and the pack's public API keep
|
|
8
|
-
* importing them from here.
|
|
9
|
-
*/
|
|
10
|
-
export { ATLAS_BASE, SUBMIT_PATH, pollPath, retryAfterMs, fetchWithRetry, atlasDownload, atlasUploadMedia, atlasSubmit, atlasPoll, atlasAwaitResult, pickOutputUrl } from "@nodetool-ai/runtime/provider-transport";
|
|
11
|
-
export type { AtlasModality, AtlasPollResult, AtlasPollOptions } from "@nodetool-ai/runtime/provider-transport";
|
|
12
|
-
export declare function getApiKey(secrets: Record<string, string> | undefined): string;
|
|
13
|
-
//# sourceMappingURL=atlascloud-base.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"atlascloud-base.d.ts","sourceRoot":"","sources":["../src/atlascloud-base.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EACL,UAAU,EACV,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,SAAS,EACT,gBAAgB,EAChB,aAAa,EACd,MAAM,yCAAyC,CAAC;AACjD,YAAY,EACV,aAAa,EACb,eAAe,EACf,gBAAgB,EACjB,MAAM,yCAAyC,CAAC;AAEjD,wBAAgB,SAAS,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,GAAG,MAAM,CAS7E"}
|
package/dist/atlascloud-base.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AtlasCloud auth for the node pack.
|
|
3
|
-
*
|
|
4
|
-
* The submit/poll/download flow itself lives in
|
|
5
|
-
* `@nodetool-ai/runtime/provider-transport` — this pack and `AtlasCloudProvider`
|
|
6
|
-
* ran two copies of it until they disagreed about retries and terminal states.
|
|
7
|
-
* The names below are re-exported so node code and the pack's public API keep
|
|
8
|
-
* importing them from here.
|
|
9
|
-
*/
|
|
10
|
-
export { ATLAS_BASE, SUBMIT_PATH, pollPath, retryAfterMs, fetchWithRetry, atlasDownload, atlasUploadMedia, atlasSubmit, atlasPoll, atlasAwaitResult, pickOutputUrl } from "@nodetool-ai/runtime/provider-transport";
|
|
11
|
-
export function getApiKey(secrets) {
|
|
12
|
-
const key = (secrets && secrets.ATLASCLOUD_API_KEY) ||
|
|
13
|
-
process.env.ATLASCLOUD_API_KEY ||
|
|
14
|
-
"";
|
|
15
|
-
if (!key.trim()) {
|
|
16
|
-
throw new Error("ATLASCLOUD_API_KEY is not configured");
|
|
17
|
-
}
|
|
18
|
-
return key.trim();
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=atlascloud-base.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"atlascloud-base.js","sourceRoot":"","sources":["../src/atlascloud-base.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EACL,UAAU,EACV,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,SAAS,EACT,gBAAgB,EAChB,aAAa,EACd,MAAM,yCAAyC,CAAC;AAOjD,MAAM,UAAU,SAAS,CAAC,OAA2C;IACnE,MAAM,GAAG,GACP,CAAC,OAAO,IAAI,OAAO,CAAC,kBAAkB,CAAC;QACvC,OAAO,CAAC,GAAG,CAAC,kBAAkB;QAC9B,EAAE,CAAC;IACL,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,EAAE,CAAC;QAChB,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;IAC1D,CAAC;IACD,OAAO,GAAG,CAAC,IAAI,EAAE,CAAC;AACpB,CAAC"}
|