@rowan-agent/agent 0.9.18 → 0.9.19

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/dist/index.d.ts CHANGED
@@ -1610,7 +1610,7 @@ type AgentConfig = Readonly<{
1610
1610
  identity: string;
1611
1611
  definition: AgentDefinition;
1612
1612
  resources: AgentResources;
1613
- /** Host-owned Contexts are rendered as durable user messages for a Run. */
1613
+ /** Host-owned Contexts rendered in the System Prompt with the selected Contexts. */
1614
1614
  additionalContexts?: readonly ContextCandidate[];
1615
1615
  cwd?: string;
1616
1616
  maxAttempts?: number;
package/dist/index.js CHANGED
@@ -1861,7 +1861,10 @@ async function loadPhaseCode(codePath) {
1861
1861
  const jiti = createJiti2(import.meta.url, {
1862
1862
  fsCache: false,
1863
1863
  moduleCache: false,
1864
- tryNative: false
1864
+ // Phase code ships as authored, including TypeScript. Native loading lets a
1865
+ // host that supports it run that code without a transpile step, and jiti
1866
+ // still transforms whatever the host cannot load itself.
1867
+ tryNative: true
1865
1868
  });
1866
1869
  const mod = await jiti.import(codePath);
1867
1870
  const namespace = mod && typeof mod === "object" ? mod : {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rowan-agent/agent",
3
- "version": "0.9.18",
3
+ "version": "0.9.19",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",