@synsema/wasm 0.6.49 → 0.6.50

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/index.d.ts CHANGED
@@ -129,8 +129,11 @@ export interface RunOptions {
129
129
  * código escrito por un modelo, bajo un `ceiling` sin `declassify`, publique sólo lo que la
130
130
  * política de una persona publica. Los argumentos de una task de confianza son datos (una task
131
131
  * o una lambda entre ellos es error).
132
+ *
133
+ * v0.6.50 — `{ nombre: { source, templates: { "r.html": texto } } }` le da a la tool sus
134
+ * templates: dentro de ella `render`/`include`/`layout` resuelven sólo contra éstos.
132
135
  */
133
- trusted?: Record<string, string>;
136
+ trusted?: Record<string, string | { source: string; templates?: Record<string, string> }>;
134
137
  /** El techo de los módulos de confianza, con la gramática de `ceiling` (`"stdout,declassify=clientes"`). */
135
138
  trustedCeiling?: string;
136
139
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synsema/wasm",
3
- "version": "0.6.49",
3
+ "version": "0.6.50",
4
4
  "description": "Synsema — the programming language for AI agents — embedded as WebAssembly: run .syn programs inside browsers, Node/Bun/Deno and edge runtimes, lending them http/kv/llm from your app",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/synsema.wasm CHANGED
Binary file