@springbrand/agent-runtime 0.2.0-alpha.53 → 0.2.0-alpha.54

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@springbrand/agent-runtime",
3
- "version": "0.2.0-alpha.53",
3
+ "version": "0.2.0-alpha.54",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src",
@@ -80,13 +80,15 @@ export function workspaceStateBackend(
80
80
 
81
81
  const SPRINGBRAND_CODE_MODE_POLICY = `## SpringBrand Workspace and Asset Policy
82
82
 
83
+ Every execute script must explicitly return the data the model needs. Never rely on console.log: console output is deliberately not returned to the model.
84
+
83
85
  Use state.* for every Workspace filesystem operation. Workspace file methods do not exist under tools.*.
84
86
 
85
87
  state.writeFileBytes is not available. Use state.writeFile or state.appendFile for sandbox-created text.
86
88
 
87
89
  Bundled Skill resources are not Workspace files. Read text with tools.read_skill_resource, run bundled scripts with tools.run_skill_script, and copy templates or assets with tools.materialize_skill_resource.
88
90
 
89
- User Attachments are not Workspace files until copied with tools.materialize_attachment.
91
+ User Attachments are not Workspace files until copied with tools.copy_attachment_to_workspace({ id }).
90
92
 
91
93
  Never create or write data URLs, base64 image strings, or embedded binary payloads in Code Mode.
92
94