@tangle-network/sandbox 0.60.13-develop.20261004030110.cc32e79 → 0.60.13-develop.20261004035808.bde4062

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/README.md +21 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -181,6 +181,27 @@ for (const environment of environments) {
181
181
  Use `bare: true` for a minimal container with command execution and lifecycle controls.
182
182
  Use `agent: false` for managed files, processes, and telemetry without configuring an agent backend.
183
183
 
184
+ ## Host-owned preview publication
185
+
186
+ An application that publishes previews outside the agent turn sets the admitted
187
+ AgentProfile's `metadata.sandbox.previewPublication` to `"host"`:
188
+
189
+ ```typescript
190
+ const profile = {
191
+ prompt: { systemPrompt: "Build the app and update workspace-apps.json." },
192
+ metadata: { sandbox: { previewPublication: "host" } },
193
+ } satisfies AgentProfile;
194
+ ```
195
+
196
+ Sidecar then supplies host-handoff instructions instead of its default self-publication
197
+ CLI/tool instructions. Keep the application's manifest and server contract in the
198
+ profile instructions; the application must perform publication and confirm readiness.
199
+ Without this exact value, Sandbox retains its default managed-preview instructions.
200
+ This profile metadata is instruction policy, not a credential or filesystem security
201
+ boundary. It does not grant publication authority or remove supplied tools.
202
+ Version the profile when changing publication ownership and adopt the Sidecar release
203
+ that supports this contract before relying on it in an existing sandbox.
204
+
184
205
  ## Run several Agents in one Sandbox
185
206
 
186
207
  Import the Agent entrypoint when one Sandbox should host several AgentProfiles.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/sandbox",
3
- "version": "0.60.13-develop.20261004030110.cc32e79",
3
+ "version": "0.60.13-develop.20261004035808.bde4062",
4
4
  "description": "Client SDK for the Tangle Sandbox platform - build AI agent applications with dev containers",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -151,11 +151,11 @@
151
151
  "ws": "^8.20.0",
152
152
  "yjs": "13.6.30",
153
153
  "@products/sandbox-test-utils": "0.0.0",
154
- "@tangle-network/agent-profile-materialize": "0.20.7",
155
154
  "@repo/shared": "0.0.0",
155
+ "@tangle-network/agent-profile-materialize": "0.20.7",
156
+ "@tangle-network/cli-agent-registry": "0.4.21",
156
157
  "@tangle-network/runtime-contracts": "0.12.0",
157
158
  "@tangle-network/sdk": "3.3.39",
158
- "@tangle-network/cli-agent-registry": "0.4.21",
159
159
  "@tangle-network/sse-core": "0.0.0"
160
160
  },
161
161
  "scripts": {