@onco-foundry/agent-template 0.6.0 → 0.6.1

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.
@@ -97,6 +97,10 @@ export type ResolvedAgent = {
97
97
  createSpec(options?: CreateResolvedAgentSpecOptions): Promise<AgentSpec>;
98
98
  createDelegation(options?: CreateResolvedAgentSpecOptions): Promise<CapabilityDelegation>;
99
99
  createCapability(options?: CreateResolvedAgentSpecOptions): Promise<Capability>;
100
+ readSystemPrompt(): {
101
+ content: string;
102
+ version: string;
103
+ };
100
104
  readSnapshot(): ResolvedAgentSnapshot;
101
105
  };
102
106
  export type ResolvedAgentMember = {
@@ -170,6 +170,7 @@ export const createAgentVersionResolver = (ports) => {
170
170
  },
171
171
  });
172
172
  },
173
+ readSystemPrompt: () => ({ content: record.systemPrompt, version: record.prompt.version }),
173
174
  readSnapshot: () => structuredClone(snapshotFor(agentId)),
174
175
  };
175
176
  record.agent = agent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onco-foundry/agent-template",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -16,9 +16,9 @@
16
16
  "zod": "^4.4.3",
17
17
  "@onco-foundry/agent-runtime": "0.3.0",
18
18
  "@onco-foundry/capability-registry": "0.1.1",
19
+ "@onco-foundry/resource-versioning": "0.3.0",
19
20
  "@onco-foundry/trace-port": "0.3.3",
20
- "@onco-foundry/errors": "0.1.1",
21
- "@onco-foundry/resource-versioning": "0.3.0"
21
+ "@onco-foundry/errors": "0.1.1"
22
22
  },
23
23
  "publishConfig": {
24
24
  "access": "public"