@smthrs/std 1.0.0-rc.4 → 1.0.0-rc.5
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.
|
@@ -88,6 +88,14 @@ The native CLI refuses named-container execution with `provider_unavailable`.
|
|
|
88
88
|
An existing Docker daemon is outside its OS sandbox. Isolated providers are
|
|
89
89
|
tracked in [#1790](https://github.com/smithersai/smithers/issues/1790).
|
|
90
90
|
|
|
91
|
+
A host sealed to one container is the exception. `SMITHERS_BASH_CONTAINER` names
|
|
92
|
+
the container, and `bash` and `test` then run in it through the `docker` CLI.
|
|
93
|
+
Every other container, and a call that names none, fails with
|
|
94
|
+
`outside_container`. The transport process runs outside the OS sandbox, which
|
|
95
|
+
denies the daemon's socket, and receives the host's `DOCKER_HOST`,
|
|
96
|
+
`DOCKER_CONTEXT`, `DOCKER_CONFIG`, `DOCKER_TLS_VERIFY`, and `DOCKER_CERT_PATH`,
|
|
97
|
+
so it reaches a rootless daemon.
|
|
98
|
+
|
|
91
99
|
The transport always goes through a login shell, because the images an agent
|
|
92
100
|
meets activate the project's interpreter from `/etc/profile.d`. A program
|
|
93
101
|
spawned directly by `docker exec` gets a different Python from the one that owns
|
package/docs/troubleshooting.md
CHANGED
|
@@ -168,6 +168,11 @@ bound, or `Container.layerNoop` was.
|
|
|
168
168
|
**What to change.** Bind `Container.layerCommand()` for the `docker` or `podman`
|
|
169
169
|
CLI, or drop the `container` field and run the command on the host.
|
|
170
170
|
|
|
171
|
+
The native CLI binds a transport only on a host sealed to one container: set
|
|
172
|
+
`SMITHERS_BASH_CONTAINER` to the container `bash` and `test` may reach. An
|
|
173
|
+
unsealed CLI host keeps refusing, because an existing Docker daemon is outside
|
|
174
|
+
its OS sandbox.
|
|
175
|
+
|
|
171
176
|
## provider_unavailable: no test runner is declared
|
|
172
177
|
|
|
173
178
|
**What happened.** `test` ran with `TestRunner.layerNoop` bound.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smthrs/std",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.0-rc.
|
|
4
|
+
"version": "1.0.0-rc.5",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"smthrs": {
|
|
7
7
|
"group": "agent"
|
|
@@ -401,11 +401,11 @@
|
|
|
401
401
|
"tag": "next"
|
|
402
402
|
},
|
|
403
403
|
"dependencies": {
|
|
404
|
-
"@smthrs/capability": "1.0.0-rc.
|
|
405
|
-
"@smthrs/control": "1.0.0-rc.
|
|
406
|
-
"@smthrs/core": "1.0.0-rc.
|
|
407
|
-
"@smthrs/kernel": "1.0.0-rc.
|
|
408
|
-
"@smthrs/model": "1.0.0-rc.
|
|
404
|
+
"@smthrs/capability": "1.0.0-rc.5",
|
|
405
|
+
"@smthrs/control": "1.0.0-rc.5",
|
|
406
|
+
"@smthrs/core": "1.0.0-rc.5",
|
|
407
|
+
"@smthrs/kernel": "1.0.0-rc.5",
|
|
408
|
+
"@smthrs/model": "1.0.0-rc.5"
|
|
409
409
|
},
|
|
410
410
|
"devDependencies": {
|
|
411
411
|
"@effect/language-service": "0.87.2",
|