@opencode_weave/weave 0.7.4-preview.1 → 0.7.5

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,5 +1,5 @@
1
1
  export type { DeepPartial, Brand } from "./types";
2
2
  export { getWeaveVersion } from "./version";
3
- export { log, getLogFilePath, logDelegation } from "./log";
4
- export type { DelegationEvent } from "./log";
3
+ export { log, logDelegation, debug, info, warn, error, setLogLevel, setClient } from "./log";
4
+ export type { DelegationEvent, LogLevel } from "./log";
5
5
  export { AGENT_DISPLAY_NAMES, getAgentDisplayName, getAgentConfigKey, registerAgentDisplayName, updateBuiltinDisplayName, resetDisplayNames, } from "./agent-display-names";
@@ -1,5 +1,15 @@
1
+ export type LogLevel = "DEBUG" | "INFO" | "WARN" | "ERROR";
2
+ export declare function setClient(c: {
3
+ app: {
4
+ log: (opts?: any) => Promise<unknown>;
5
+ };
6
+ } | null): void;
7
+ export declare function setLogLevel(level: LogLevel): void;
8
+ export declare function debug(message: string, data?: unknown): void;
9
+ export declare function info(message: string, data?: unknown): void;
10
+ export declare function warn(message: string, data?: unknown): void;
11
+ export declare function error(message: string, data?: unknown): void;
1
12
  export declare function log(message: string, data?: unknown): void;
2
- export declare function getLogFilePath(): string;
3
13
  export interface DelegationEvent {
4
14
  phase: "start" | "complete" | "error";
5
15
  agent: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencode_weave/weave",
3
- "version": "0.7.4-preview.1",
3
+ "version": "0.7.5",
4
4
  "description": "Weave — lean OpenCode plugin with multi-agent orchestration",
5
5
  "author": "Weave",
6
6
  "license": "MIT",
@@ -43,8 +43,8 @@
43
43
  "access": "public"
44
44
  },
45
45
  "dependencies": {
46
- "@opencode-ai/plugin": "^1.3.3",
47
- "@opencode-ai/sdk": "^1.3.3",
46
+ "@opencode-ai/plugin": "^1.3.15",
47
+ "@opencode-ai/sdk": "^1.3.15",
48
48
  "jsonc-parser": "^3.3.1",
49
49
  "picocolors": "^1.1.1",
50
50
  "zod": "^4.0.0"