@bakers-build/addon-opencode 0.6.1-next.5 → 0.6.1-next.7

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.
@@ -1,4 +1,4 @@
1
- import { type AgentFootprint, type AgentPlugin, type AgentRunIdentity, type BbAgent, type RunEnvPolicy, type SecurityOptions } from '@bakers-build/conductor/contract';
1
+ import { type AgentFootprint, type AgentPlugin, type AgentRunIdentity, type BbAgent, type ResolvedSecurity, type RunEnvPolicy, type SecurityOptions } from '@bakers-build/conductor/contract';
2
2
  export { parseOpencodeTranscript } from './footprint.js';
3
3
  export interface OpencodeAgentOptions extends SecurityOptions {
4
4
  model?: string;
@@ -17,7 +17,7 @@ export declare class OpencodeAgent implements BbAgent {
17
17
  private readonly args;
18
18
  private readonly model;
19
19
  private readonly overrides;
20
- private readonly security;
20
+ readonly security: ResolvedSecurity;
21
21
  readonly runEnvPolicy: RunEnvPolicy;
22
22
  constructor(options?: OpencodeAgentOptions, storageRoot?: string);
23
23
  launchCommand(prompt: string, _run?: AgentRunIdentity): string;
package/dist/src/index.js CHANGED
@@ -176,6 +176,7 @@ export function opencodeAgent(options = {}) {
176
176
  kind: 'agent',
177
177
  id: 'opencode',
178
178
  requiredModules: [],
179
+ security: agent.security.report,
179
180
  async createAgent() {
180
181
  return agent;
181
182
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bakers-build/addon-opencode",
3
- "version": "0.6.1-next.5",
3
+ "version": "0.6.1-next.7",
4
4
  "description": "bakers.build agent plugin for the OpenCode CLI.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -20,11 +20,11 @@
20
20
  "directory": "bakers-cli/addons/opencode"
21
21
  },
22
22
  "peerDependencies": {
23
- "@bakers-build/conductor": "^0.6.1-next.5",
24
- "@bakers-build/core": "^0.6.1-next.5"
23
+ "@bakers-build/conductor": "^0.6.1-next.7",
24
+ "@bakers-build/core": "^0.6.1-next.7"
25
25
  },
26
26
  "bakersBuild": {
27
- "commit": "314f28982940df736bea55293a81435d37864b31",
27
+ "commit": "b89398b187bf51f4f9ca5bfc1150469f73a879e6",
28
28
  "channel": "next"
29
29
  }
30
30
  }