@aexhq/sdk 0.59.1 → 0.60.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.
Files changed (2) hide show
  1. package/dist/session.js +4 -0
  2. package/package.json +2 -2
package/dist/session.js CHANGED
@@ -104,6 +104,7 @@ export class Sessions {
104
104
  config: binding.config,
105
105
  grants: binding.grants,
106
106
  ...(needsEnvironment ? { environment: environmentName } : {}),
107
+ ...(binding.bundle_digest === undefined ? {} : { bundle_digest: binding.bundle_digest }),
107
108
  },
108
109
  };
109
110
  });
@@ -138,6 +139,9 @@ export class Sessions {
138
139
  },
139
140
  component_artifacts: prepared.artifacts,
140
141
  tools: { items: toolItems },
142
+ ...(prepared.toolArtifactLayers.length === 0
143
+ ? {}
144
+ : { tool_artifact_layers: prepared.toolArtifactLayers }),
141
145
  ...(environmentComponents.length === 0 ? {} : { environments: environmentConfig }),
142
146
  ...(options.secrets === undefined ? {} : { secrets: options.secrets }),
143
147
  ...(options.metadata === undefined ? {} : { metadata: options.metadata }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aexhq/sdk",
3
- "version": "0.59.1",
3
+ "version": "0.60.0",
4
4
  "description": "TypeScript SDK for Aex sessions",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://aex.dev",
@@ -34,7 +34,7 @@
34
34
  "test": "tsc -p tsconfig.json && node --test"
35
35
  },
36
36
  "dependencies": {
37
- "@aexhq/brain": "0.3.2",
37
+ "@aexhq/brain": "0.4.0",
38
38
  "@aexhq/env-app": "0.2.0"
39
39
  },
40
40
  "peerDependencies": {