statelyai 0.12.6 → 0.12.8
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/bin.mjs +1 -1
- package/dist/{cli-B2rkH4jh.mjs → cli-B2Dd5vY-.mjs} +18 -6
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
package/dist/bin.mjs
CHANGED
|
@@ -7552,10 +7552,16 @@ function graphToMachineConfig(graph, options = {}) {
|
|
|
7552
7552
|
const tags = node.data.tags;
|
|
7553
7553
|
const stateMeta = showMeta ? buildMeta({
|
|
7554
7554
|
...node.data.meta,
|
|
7555
|
-
...node.data.assets?.length ? { "@statelyai.assets": node.data.assets.map(({ type, url, size }) => ({
|
|
7555
|
+
...node.data.assets?.length ? { "@statelyai.assets": node.data.assets.map(({ type, url, size, width, height, name, metadata }) => ({
|
|
7556
7556
|
type,
|
|
7557
7557
|
url,
|
|
7558
|
-
...size ? { size } : {}
|
|
7558
|
+
...size ? { size } : {},
|
|
7559
|
+
...name !== void 0 ? { name } : {},
|
|
7560
|
+
...metadata !== void 0 ? { metadata } : {},
|
|
7561
|
+
...type === "iframe" ? {
|
|
7562
|
+
...width !== void 0 ? { width } : {},
|
|
7563
|
+
...height !== void 0 ? { height } : {}
|
|
7564
|
+
} : {}
|
|
7559
7565
|
})) } : {},
|
|
7560
7566
|
...node.data.appearance ? { "@statelyai.appearance": node.data.appearance } : {}
|
|
7561
7567
|
}, node.data.color, showStatelyMeta) : void 0;
|
|
@@ -7609,10 +7615,16 @@ function graphToMachineConfig(graph, options = {}) {
|
|
|
7609
7615
|
const type = edge.data.eventType ?? "";
|
|
7610
7616
|
const transitionMeta = showMeta ? buildMeta({
|
|
7611
7617
|
...edge.data.meta,
|
|
7612
|
-
...edge.data.assets?.length ? { "@statelyai.assets": edge.data.assets.map(({ type, url, size }) => ({
|
|
7618
|
+
...edge.data.assets?.length ? { "@statelyai.assets": edge.data.assets.map(({ type, url, size, width, height, name, metadata }) => ({
|
|
7613
7619
|
type,
|
|
7614
7620
|
url,
|
|
7615
|
-
...size ? { size } : {}
|
|
7621
|
+
...size ? { size } : {},
|
|
7622
|
+
...name !== void 0 ? { name } : {},
|
|
7623
|
+
...metadata !== void 0 ? { metadata } : {},
|
|
7624
|
+
...type === "iframe" ? {
|
|
7625
|
+
...width !== void 0 ? { width } : {},
|
|
7626
|
+
...height !== void 0 ? { height } : {}
|
|
7627
|
+
} : {}
|
|
7616
7628
|
})) } : {},
|
|
7617
7629
|
...edge.data.appearance ? { "@statelyai.appearance": edge.data.appearance } : {}
|
|
7618
7630
|
}, edge.data.color, showStatelyMeta) : edge.data.meta?.[FN_PROJECTION_META] ? { [FN_PROJECTION_META]: edge.data.meta[FN_PROJECTION_META] } : void 0;
|
|
@@ -20636,7 +20648,7 @@ function sourceLocationUris(sourceLocations) {
|
|
|
20636
20648
|
|
|
20637
20649
|
//#endregion
|
|
20638
20650
|
//#region src/version.ts
|
|
20639
|
-
const CLI_VERSION = "0.12.
|
|
20651
|
+
const CLI_VERSION = "0.12.8";
|
|
20640
20652
|
|
|
20641
20653
|
//#endregion
|
|
20642
20654
|
//#region src/cliHost.ts
|
|
@@ -21737,7 +21749,7 @@ function getScriptKind$1(fileName) {
|
|
|
21737
21749
|
}
|
|
21738
21750
|
|
|
21739
21751
|
//#endregion
|
|
21740
|
-
//#region ../../node_modules/.pnpm/@statelyai+graph@2.1.0_@statelyai+layout@0.4.
|
|
21752
|
+
//#region ../../node_modules/.pnpm/@statelyai+graph@2.1.0_@statelyai+layout@0.4.2_cytoscape@3.34.0_d3-force@3.0.0_d3-hiera_48d6687797f6ba8a844c48e50eec3ae1/node_modules/@statelyai/graph/dist/index.mjs
|
|
21741
21753
|
const LAYOUT_KEYS = {
|
|
21742
21754
|
node: [
|
|
21743
21755
|
"x",
|
package/dist/index.d.mts
CHANGED
|
@@ -71,7 +71,7 @@ declare function createStatelyProjectConfig(options: {
|
|
|
71
71
|
defaultXStateVersion?: number;
|
|
72
72
|
}): StatelyProjectConfig;
|
|
73
73
|
//#endregion
|
|
74
|
-
//#region ../../node_modules/.pnpm/@statelyai+graph@2.1.0_@statelyai+layout@0.4.
|
|
74
|
+
//#region ../../node_modules/.pnpm/@statelyai+graph@2.1.0_@statelyai+layout@0.4.2_cytoscape@3.34.0_d3-force@3.0.0_d3-hiera_48d6687797f6ba8a844c48e50eec3ae1/node_modules/@statelyai/graph/dist/types-BAEQTwK_.d.mts
|
|
75
75
|
//#region src/types.d.ts
|
|
76
76
|
/**
|
|
77
77
|
* Directedness of a graph or an individual edge.
|
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { C as run, D as verifyProject, E as resolveVerificationRequest, O as formatVerificationJUnit, S as resolveProjectStatus, T as scanProjectSources, _ as isFileGitDirty, a as discoverMachinesInSource, b as resolveCredentialStatus, c as formatDiscoveredMachines, d as formatProjectStatus, f as formatStoredCredentialSource, g as initProject, h as inferInitProjectName, i as discoverLinkedPullTargets, k as createStatelyProjectConfig, l as formatMissingNewMachineDirMessage, m as getEnvCredential, n as buildOAuthLoginStart, o as discoverOAuthLogin, p as getEnvApiKey, r as classifyPushCandidates, s as discoverRemoteProjectMachineTargets, t as COMMANDS, u as formatPlanSummary, v as resolveApiKey, w as scanProjectMachines, x as resolveOpenRootDir, y as resolveConfiguredPullTargets } from "./cli-
|
|
1
|
+
import { C as run, D as verifyProject, E as resolveVerificationRequest, O as formatVerificationJUnit, S as resolveProjectStatus, T as scanProjectSources, _ as isFileGitDirty, a as discoverMachinesInSource, b as resolveCredentialStatus, c as formatDiscoveredMachines, d as formatProjectStatus, f as formatStoredCredentialSource, g as initProject, h as inferInitProjectName, i as discoverLinkedPullTargets, k as createStatelyProjectConfig, l as formatMissingNewMachineDirMessage, m as getEnvCredential, n as buildOAuthLoginStart, o as discoverOAuthLogin, p as getEnvApiKey, r as classifyPushCandidates, s as discoverRemoteProjectMachineTargets, t as COMMANDS, u as formatPlanSummary, v as resolveApiKey, w as scanProjectMachines, x as resolveOpenRootDir, y as resolveConfiguredPullTargets } from "./cli-B2Dd5vY-.mjs";
|
|
2
2
|
|
|
3
3
|
export { COMMANDS, buildOAuthLoginStart, classifyPushCandidates, createStatelyProjectConfig, discoverLinkedPullTargets, discoverMachinesInSource, discoverOAuthLogin, discoverRemoteProjectMachineTargets, formatDiscoveredMachines, formatMissingNewMachineDirMessage, formatPlanSummary, formatProjectStatus, formatStoredCredentialSource, formatVerificationJUnit, getEnvApiKey, getEnvCredential, inferInitProjectName, initProject, isFileGitDirty, resolveApiKey, resolveConfiguredPullTargets, resolveCredentialStatus, resolveOpenRootDir, resolveProjectStatus, resolveVerificationRequest, run, scanProjectMachines, scanProjectSources, verifyProject };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "statelyai",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.8",
|
|
4
4
|
"description": "Command-line tools for Stately",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"bin": {
|
|
@@ -24,14 +24,14 @@
|
|
|
24
24
|
"typescript": "^5.9.3",
|
|
25
25
|
"ws": "^8.21.0",
|
|
26
26
|
"zod": "^4.4.1",
|
|
27
|
-
"@statelyai/sdk": "0.38.
|
|
27
|
+
"@statelyai/sdk": "0.38.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/ws": "^8.18.1",
|
|
31
31
|
"tsdown": "0.21.0-beta.2",
|
|
32
32
|
"vitest": "^3.2.4",
|
|
33
|
-
"@statelyai/api-contract": "0.6.
|
|
34
|
-
"@statelyai/editor-sync": "0.1.
|
|
33
|
+
"@statelyai/api-contract": "0.6.3",
|
|
34
|
+
"@statelyai/editor-sync": "0.1.51"
|
|
35
35
|
},
|
|
36
36
|
"oclif": {
|
|
37
37
|
"bin": "statelyai",
|