@evident-ai/runner-cdk 3.5.2-dev.81383cc → 3.5.2-dev.8739638
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/microvm/image/stage-context.js +4 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -158,7 +158,7 @@ use this construct or that need non-default retention; see the
|
|
|
158
158
|
`EvidentMicrovmConstruct`'s `buildContextPath` is a **local directory** holding the
|
|
159
159
|
Dockerfile you control and everything it copies. `cdk deploy` zips and uploads that
|
|
160
160
|
directory, and the Lambda MicroVM service builds the image in *your* account. Start the
|
|
161
|
-
Dockerfile from a pinned `ghcr.io/sroze/evident-microvm-base:
|
|
161
|
+
Dockerfile from a pinned `ghcr.io/sroze/evident-microvm-base:sha-3f3949d` tag; the base image
|
|
162
162
|
contains the hook server, lifecycle hooks and common agent tooling.
|
|
163
163
|
|
|
164
164
|
`stageMicrovmBuildContext()` combines your build-context directory with a full checkout
|
|
@@ -54,7 +54,10 @@ function isShallowRepository(sourcePath) {
|
|
|
54
54
|
`${err instanceof Error ? err.message : String(err)}`);
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
/**
|
|
57
|
+
/**
|
|
58
|
+
* Clones a single branch with full history while normalising bytes that affect the image asset hash.
|
|
59
|
+
* Its remote refspec covers only that branch, so other branches need an explicit refspec.
|
|
60
|
+
*/
|
|
58
61
|
function stageRepository(sourcePath, stagedWorkspacePath, workspaceOriginUrl) {
|
|
59
62
|
if (isShallowRepository(sourcePath)) {
|
|
60
63
|
throw new Error(`refusing to stage a shallow checkout (${sourcePath}): the agent branches, ` +
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evident-ai/runner-cdk",
|
|
3
|
-
"version": "3.5.2-dev.
|
|
3
|
+
"version": "3.5.2-dev.8739638",
|
|
4
4
|
"description": "Reusable CDK constructs for an Evident agent runner: a single scale-to-zero Fargate runner (task + service + per-agent self-stop role + waker Lambda), or a per-session AWS Lambda MicroVM that boots on demand and suspends between messages. Instantiate once per agent from your own stack.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|