clawspec 1.0.14 → 1.0.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawspec",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "type": "module",
5
5
  "description": "OpenClaw plugin that orchestrates OpenSpec project workflows with visible main-agent execution.",
6
6
  "keywords": [
@@ -250,7 +250,9 @@ export class ClawSpecService {
250
250
  event: PromptBuildEvent,
251
251
  ctx: PromptBuildContext,
252
252
  ): Promise<{ prependContext?: string; prependSystemContext?: string } | void> {
253
+ debugLog(`[handleBeforePromptBuild] prompt="${event.prompt}", trigger=${ctx.trigger}`);
253
254
  if (!shouldHandleUserVisiblePrompt(ctx.trigger)) {
255
+ debugLog(`[handleBeforePromptBuild] Skipped: non-user trigger`);
254
256
  this.logger.debug?.(
255
257
  `[clawspec] skipping prompt injection for non-user trigger "${ctx.trigger ?? "unknown"}".`,
256
258
  );
@@ -258,6 +260,7 @@ export class ClawSpecService {
258
260
  }
259
261
 
260
262
  const keyword = extractEmbeddedClawSpecKeyword(event.prompt);
263
+ debugLog(`[handleBeforePromptBuild] keyword=${keyword?.command}`);
261
264
  if (keyword) {
262
265
  this.logger.debug?.(
263
266
  `[clawspec] detected control keyword "${keyword.command}" for prompt build (session=${ctx.sessionKey ?? "unknown"}).`,