Commit Graph

4 Commits

Author SHA1 Message Date
67c6b38e50 fix: resolve ArkTS compilation errors
- GraphDatabase.ets:
  - Export TimeRangeParams interface
  - Add graph(), snapshot(), queryArchived() methods
  - Add SnapshotData interface
  - Add NameCacheEntry interface, remove duplicates
  - Fix Context import to use named import from @ohos.abilityAccessCtrl

- GraphMemoryService.ets:
  - Import TimeRangeParams from GraphDatabase
  - Import RecordResult from GraphDatabase
  - Add graph(), snapshot(), queryArchived() delegate methods
  - Add timeRange optional param to MemoryRecallParams

- AIAgentService.ets:
  - Fix Context import: named import from @ohos.abilityAccessCtrl
  - Import TimeRangeParams from GraphDatabase instead of GraphMemoryService
  - Add dryRun, keyword, attribute to ToolPropertiesDefinition

- Index.ets:
  - Fix displayCallback type to Callback<number>
  - Add display import
2026-04-30 17:41:02 +08:00
ba44d50d7a fix: AIAgentService getContext(this) 改为外部传入,Index 添加 aboutToDisappear 释放 display 监听
- AIAgentService: 添加 appContext 字段,构造函数接收 Context 参数
- ChatPage: 创建 AIAgentService 时传入 getContext(this)
- Index: 添加 displayCallback 字段和 aboutToDisappear 释放监听
2026-04-30 15:02:00 +08:00
45c098d10b chore: update harmonyos source files 2026-04-29 23:30:02 +08:00
11ee329943 refactor: move HarmonyOS project files from harmony/ to branch root 2026-04-28 16:52:05 +08:00