@harmonyos-arkts/opencode-plugin 0.0.20 → 0.0.21

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -14
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -31599,8 +31599,7 @@ var HM_BUILD = `
31599
31599
  4. Repeat at least 3 times
31600
31600
  5. If still failing after 3 attempts, report the remaining errors to the user and ask for guidance
31601
31601
  - If the build succeeds:
31602
- 1. Guide the user to complete the quick signing in the **HarmonyBot \u63D2\u4EF6**
31603
- 2. Path: **\u63D2\u4EF6** \u53F3\u4E0A\u89D2 ** \u2192\u300C\u8BBE\u7F6E \u2014\u2014 \u5173\u8054\u5E94\u7528 \u2014\u2014 \u5E94\u7528\u7B7E\u540D\u300D** \u2192 \u5B8C\u6210**\u5FEB\u901F\u7B7E\u540D**\u3002
31602
+ 1. Guide the user to complete signature setup in **\u8BBE\u7F6E** at the top-right corner of the **HarmonyOS Dev Assistant\u63D2\u4EF6**
31604
31603
  - Only after a successful build should the development cycle be considered complete
31605
31604
  `;
31606
31605
  var HM_MULTI_DEVICE = `
@@ -47524,7 +47523,6 @@ function createToolHooks(sessionManager, projectDir) {
47524
47523
  injectAiCodeChange(input, output);
47525
47524
  await injectHtmlPreview(input, output, projectDir);
47526
47525
  await updateEtsCount(sessionManager, projectDir, input);
47527
- markCompactAfterHtmlPreview(input, sessionManager);
47528
47526
  }
47529
47527
  };
47530
47528
  }
@@ -47614,17 +47612,6 @@ function injectAiCodeChange(input, output) {
47614
47612
  log("aiCodeChange after hook error", { tool: input.tool, error: String(e) });
47615
47613
  }
47616
47614
  }
47617
- function markCompactAfterHtmlPreview(input, sessionManager) {
47618
- if (input.tool !== "html_preview") return;
47619
- const sessionID = input.sessionID;
47620
- if (!sessionID) return;
47621
- let session = sessionManager.get(sessionID);
47622
- if (!session) {
47623
- session = sessionManager.create(sessionID);
47624
- }
47625
- session.data.set("compactAfterPreviewActive", true);
47626
- log("Activated persistent context compaction after html_preview", { sessionID });
47627
- }
47628
47615
 
47629
47616
  // src/commands/env-check.ts
47630
47617
  import { execSync } from "child_process";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@harmonyos-arkts/opencode-plugin",
4
- "version": "0.0.20",
4
+ "version": "0.0.21",
5
5
  "description": "HarmonyOS Full-Lifecycle Development Assistant. Specialized in the complete development lifecycle of HarmonyOS applications, including project creation, UI development, state management, network requests, data storage, permission requests, performance optimization, testing, and release.",
6
6
  "type": "module",
7
7
  "license": "MIT",