statelyai 0.12.0 → 0.12.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/bin.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { C as run } from "./cli-Dr85YlA5.mjs";
2
+ import { C as run } from "./cli-DkgwcbvD.mjs";
3
3
 
4
4
  //#region src/bin.ts
5
5
  run();
@@ -18230,7 +18230,7 @@ async function updateMachineDefinition(client, machineId, localGraph) {
18230
18230
  }
18231
18231
 
18232
18232
  //#endregion
18233
- //#region ../editor-sync/dist/presentationMetadata-BL3Oixz9.mjs
18233
+ //#region ../editor-sync/dist/presentationMetadata-DH591jIC.mjs
18234
18234
  function createStudioPresentationMetadataStore(client, machineId) {
18235
18235
  const load = async () => {
18236
18236
  return {
@@ -18241,6 +18241,7 @@ function createStudioPresentationMetadataStore(client, machineId) {
18241
18241
  return {
18242
18242
  load,
18243
18243
  async hydrate(graph) {
18244
+ if (!isGraph(graph)) return graph;
18244
18245
  return {
18245
18246
  presentationMachine: mergeLocalGraphIntoRemoteDefinition(graph, (await load()).definition).definition,
18246
18247
  presentationFormat: "digraph"
@@ -19003,7 +19004,7 @@ const editorSyncApplyResponseSchema = z$1.object({ replacements: z$1.array(edito
19003
19004
  const editorSyncAccessResponseSchema = z$1.object({ access: editorSyncAccessSchema });
19004
19005
 
19005
19006
  //#endregion
19006
- //#region ../editor-sync/dist/host-DGJOurlX.mjs
19007
+ //#region ../editor-sync/dist/host-THez2yXn.mjs
19007
19008
  let diagnosticSequence = 0;
19008
19009
  function presentationsEqual(first, second) {
19009
19010
  return JSON.stringify(createPresentationSnapshot(first)) === JSON.stringify(createPresentationSnapshot(second));
@@ -19944,7 +19945,7 @@ function sourceLocationUris(sourceLocations) {
19944
19945
 
19945
19946
  //#endregion
19946
19947
  //#region src/version.ts
19947
- const CLI_VERSION = "0.12.0";
19948
+ const CLI_VERSION = "0.12.2";
19948
19949
 
19949
19950
  //#endregion
19950
19951
  //#region src/cliHost.ts
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-Dr85YlA5.mjs";
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-DkgwcbvD.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.0",
3
+ "version": "0.12.2",
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.36.0"
27
+ "@statelyai/sdk": "0.37.1"
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
33
  "@statelyai/api-contract": "0.5.3",
34
- "@statelyai/editor-sync": "0.1.41"
34
+ "@statelyai/editor-sync": "0.1.43"
35
35
  },
36
36
  "oclif": {
37
37
  "bin": "statelyai",