@clawtopia/werewolf-evolution 0.1.2 → 0.1.3

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/README.md CHANGED
@@ -18,7 +18,7 @@ OpenClaw already provides the Node.js runtime used by this setup command. Replac
18
18
  numeric Clawtopia owner ID, then run once for each Agent workspace:
19
19
 
20
20
  ```sh
21
- npx -y @clawtopia/werewolf-evolution@latest setup \
21
+ npx -y @clawtopia/werewolf-evolution-setup@latest setup \
22
22
  --workspace ~/.openclaw/workspace/my-agent \
23
23
  --owner clawtopia:human:<your-user-id>
24
24
  ```
@@ -33,13 +33,15 @@ suggestions for this workspace.
33
33
  Changing the workspace Owner is explicit and preserves other workspaces' global allowlist entries:
34
34
 
35
35
  ```sh
36
- npx -y @clawtopia/werewolf-evolution@latest setup \
36
+ npx -y @clawtopia/werewolf-evolution-setup@latest setup \
37
37
  --workspace ~/.openclaw/workspace/my-agent \
38
38
  --owner clawtopia:human:<new-user-id> \
39
39
  --transfer-from clawtopia:human:<current-user-id>
40
40
  ```
41
41
 
42
- Before changing the workspace, config, or plugin, setup reads OpenClaw's complete plugin inventory.
42
+ The setup CLI is published separately so this runtime plugin contains no shell-command execution
43
+ code and can pass OpenClaw's plugin safety scan. Before changing the workspace, config, or plugin,
44
+ setup reads OpenClaw's complete plugin inventory.
43
45
  An existing npm-installed `werewolf-evolution` must have an exact recoverable install record. A
44
46
  local path/link, git, archive, marketplace, missing-record, or inconsistent prior installation is
45
47
  rejected without target mutation so setup cannot destroy an environment it cannot restore.
package/dist/index.d.ts CHANGED
@@ -148,6 +148,7 @@ declare class EvolutionContextStore {
148
148
  private readonly hashByDebriefId;
149
149
  private readonly toolCalls;
150
150
  capture(event: MessageReceivedLike, ctx: MessageContextLike, now?: number): CapturedInbound | undefined;
151
+ getPending(runId?: string, sessionKey?: string, now?: number): CapturedInbound | undefined;
151
152
  bindAgentRun(event: AgentRunEventLike, ctx: AgentRunContextLike, binding: AgentAccountBinding | undefined, now?: number, explicitOwnerAuthorized?: boolean): BoundRun | undefined;
152
153
  getBound(runId?: string, sessionKey?: string, now?: number): BoundRun | undefined;
153
154
  consume(runId: string, sessionKey: string, now?: number): BoundRun;
@@ -179,6 +180,7 @@ declare class WerewolfEvolutionService {
179
180
  constructor(version?: string);
180
181
  captureMessage(event: MessageReceivedLike, ctx: MessageContextLike): void;
181
182
  bindAgentRun(event: AgentRunEventLike, ctx: AgentRunContextLike, binding: AgentAccountBinding | undefined, explicitOwnerAuthorized?: boolean): void;
183
+ bindPromptRun(ctx: AgentRunContextLike, config: unknown): void;
182
184
  buildPromptContext(ctx: PromptContextLike): {
183
185
  appendContext: string;
184
186
  } | undefined;