Skip to content

Wire AiSdkFlow into SessionManager runtime path - #9

Merged
likun666661 merged 1 commit into
apache:mainfrom
likun666661:runtime-v2-aisdkflow-production-path
Jun 15, 2026
Merged

Wire AiSdkFlow into SessionManager runtime path#9
likun666661 merged 1 commit into
apache:mainfrom
likun666661:runtime-v2-aisdkflow-production-path

Conversation

@likun666661

Copy link
Copy Markdown
Member

Summary

  • split AgentRun lifecycle/projection from backend streaming so it can be driven by AiSdkFlow
  • wire SessionManager.sendMessage through RuntimeRunner -> AiSdkFlow -> backend while preserving public SessionEvents
  • add focused tests for production AiSdkFlow wiring and terminal-drain behavior

Verification

  • npm run build --workspace packages/core
  • npm run typecheck --workspace packages/runtime
  • npm run test --workspace packages/runtime -- --runInBand
  • git diff --check

@likun666661
likun666661 merged commit d011904 into apache:main Jun 15, 2026
jackwener pushed a commit that referenced this pull request Jun 21, 2026
…n-path

Wire AiSdkFlow into SessionManager runtime path
jackwener pushed a commit that referenced this pull request Jun 21, 2026
…n-path

Wire AiSdkFlow into SessionManager runtime path
jackwener pushed a commit that referenced this pull request Jun 21, 2026
…n-path

Wire AiSdkFlow into SessionManager runtime path
jackwener pushed a commit that referenced this pull request Jun 21, 2026
…n-path

Wire AiSdkFlow into SessionManager runtime path
anaconda110 added a commit to anaconda110/maka-agent that referenced this pull request Aug 3, 2026
…torage (P2 apache#9)

The llmConnection.apiKey was previously persisted in plaintext via
AsyncStorage. The API key is now excluded from the persisted partial
state and stored in the OS keychain through react-native-keychain.

- Add services/keychainStorage.ts wrapping Keychain set/get/reset for
  the 'maka.mobile.llm' service.
- appStore.setLlmConnection writes apiKey to keychain; new
  loadApiKeyFromKeychain action hydrates apiKey into memory at startup.
- App.tsx calls loadApiKeyFromKeychain on mount.
- partialize no longer persists apiKey (only apiBaseUrl/model).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant