@almadar/integrations 2.33.0 → 2.34.0
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.
|
@@ -1802,6 +1802,45 @@ type ArxivActions = {
|
|
|
1802
1802
|
};
|
|
1803
1803
|
};
|
|
1804
1804
|
};
|
|
1805
|
+
type RiggerActions = {
|
|
1806
|
+
/** Liveness probe of the local rigger service. */
|
|
1807
|
+
health: {
|
|
1808
|
+
params: Record<string, never>;
|
|
1809
|
+
result: {
|
|
1810
|
+
ok: boolean;
|
|
1811
|
+
};
|
|
1812
|
+
};
|
|
1813
|
+
/** Build a rigged mesh bundle from a source image via the local rigger service. */
|
|
1814
|
+
buildMesh: {
|
|
1815
|
+
params: {
|
|
1816
|
+
/** Path to the source image. */
|
|
1817
|
+
imagePath: string;
|
|
1818
|
+
/** Rig type to build (e.g. 'humanoid', 'quadruped'). */
|
|
1819
|
+
rig: string;
|
|
1820
|
+
};
|
|
1821
|
+
result: {
|
|
1822
|
+
bundlePath: string;
|
|
1823
|
+
boneCount: number;
|
|
1824
|
+
vertexCount: number;
|
|
1825
|
+
triangleCount: number;
|
|
1826
|
+
clips: string[];
|
|
1827
|
+
};
|
|
1828
|
+
};
|
|
1829
|
+
/** Render a rigged mesh bundle to output files via the local rigger service. */
|
|
1830
|
+
render: {
|
|
1831
|
+
params: {
|
|
1832
|
+
/** Path to the source image. */
|
|
1833
|
+
imagePath: string;
|
|
1834
|
+
/** Rig type. */
|
|
1835
|
+
rig: string;
|
|
1836
|
+
/** Render preset name. */
|
|
1837
|
+
preset: string;
|
|
1838
|
+
/** Output directory for rendered files. */
|
|
1839
|
+
outDir: string;
|
|
1840
|
+
};
|
|
1841
|
+
result: Record<string, string>;
|
|
1842
|
+
};
|
|
1843
|
+
};
|
|
1805
1844
|
/**
|
|
1806
1845
|
* Maps each integration name (as used in `registerIntegration`) to its action
|
|
1807
1846
|
* map type. Use with `ServiceContract<IntegrationContracts[K]>` to get a fully
|
|
@@ -1844,6 +1883,7 @@ type IntegrationContracts = {
|
|
|
1844
1883
|
wikimedia: WikimediaActions;
|
|
1845
1884
|
iconify: IconifyActions;
|
|
1846
1885
|
arxiv: ArxivActions;
|
|
1886
|
+
rigger: RiggerActions;
|
|
1847
1887
|
};
|
|
1848
1888
|
/** Integration name literal union. */
|
|
1849
1889
|
type IntegrationName = keyof IntegrationContracts;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@almadar/integrations",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.34.0",
|
|
4
4
|
"description": "External service integrations for Almadar applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@almadar/core": "^10.
|
|
37
|
-
"@almadar/llm": "^2.
|
|
36
|
+
"@almadar/core": "^10.90.0",
|
|
37
|
+
"@almadar/llm": "^2.51.0",
|
|
38
38
|
"@almadar/logger": "^1.12.0",
|
|
39
39
|
"@aws-sdk/client-s3": "^3.700.0",
|
|
40
40
|
"@aws-sdk/s3-request-presigner": "^3.700.0",
|