@harmonyos-arkts/opencode-plugin 0.0.4 → 0.0.6

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 +2 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -14864,7 +14864,7 @@ var HM_DEVELOP = `
14864
14864
  - Use the \`.harmonyos/\` file (*.md\u3001*.html) as references to generate
14865
14865
  - After completing development, you MUST proceed to the Build phase
14866
14866
  - **NO EXCEPTIONS**: Code must be built successfully before marking development as complete
14867
- - **CODE OUTPUT POLICY**: NEVER include full source code in your thinking process or text output. Always use the Write or Edit tool to write/modify code files directly. Only include short snippets (\u226410 lines) in text output when explaining a concept. Full file contents or large code blocks must go through Write/Edit tools only.
14867
+ - **THINKING PROSESS**: Only include internal thoughts, analysis, reasoning and solution planning in the thinking stage. No code shall be generated in the thinking process at all.
14868
14868
  When generating ETS (ArkTS) code, follow these rules:
14869
14869
  - **ArkTS Type System**: Stricter than TypeScript \u2014 forbid any/unknown/as/for..in/dynamic property access; all types must be explicitly declared.
14870
14870
  - **V2 State Management**: Use @ComponentV2 + @Local/@Param for components, @ObservedV2 + @Trace for ViewModels. These are built-in decorators requiring no import.
@@ -15210,7 +15210,7 @@ function createAscfAgent() {
15210
15210
  "*": "deny",
15211
15211
  "harmonyos-atomic-ascf-convert": "allow",
15212
15212
  "harmonyos-ascf-knowledge": "allow",
15213
- "huawei-payment-integration-release": "allow",
15213
+ "huawei-payment-integration": "allow",
15214
15214
  "harmonyos-atomic-service-filing": "allow",
15215
15215
  "harmony-emulator-debugging": "allow",
15216
15216
  "harmonyos-atomic-ascf-release": "allow"
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.4",
4
+ "version": "0.0.6",
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",
@@ -48,4 +48,4 @@
48
48
  "engines": {
49
49
  "node": ">=18.0.0"
50
50
  }
51
- }
51
+ }