Add IntentCall runtime session package#2
Conversation
|
To preview the documentation for this pull request, visit the following URL: docs.page/arenukvern/intentcall~2
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (45)
📝 WalkthroughWalkthroughA new ChangesIntentCall Session Package and Registration Type Migration
Sequence DiagramsequenceDiagram
participant Host
participant IntentSessionExecutor
participant IntentSessionManager
participant IntentSessionConnector
participant StateStore
participant AgentRegistry
Host->>IntentSessionExecutor: invoke(qualifiedName, sessionId, arguments)
IntentSessionExecutor->>IntentSessionManager: attachSession(sessionId)
IntentSessionManager->>IntentSessionConnector: connect(endpoint, forceReconnect)
IntentSessionConnector-->>IntentSessionManager: connection result
IntentSessionManager->>StateStore: withStateLock → markSessionUsed + writeUnlocked
IntentSessionManager-->>IntentSessionExecutor: AgentResult (attach)
alt attach failed
IntentSessionExecutor-->>Host: AgentResult.failure(connectFailed)
else attach succeeded
IntentSessionExecutor->>AgentRegistry: invoke(qualifiedName, arguments)
AgentRegistry-->>IntentSessionExecutor: AgentResult
IntentSessionExecutor->>IntentSessionManager: markSessionUsed(sessionId)
IntentSessionExecutor-->>Host: AgentResult
end
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
intentcall_sessionfor runtime session lifecycle, file-backed state, safe writes, locks, session execution, and JSON snapshot storageintentcall_coreso adapters consume one canonical APIValidation
dart analyze packages/intentcall_core packages/intentcall_mcp packages/intentcall_session tool/intentcalldart test packages/intentcall_session/test packages/intentcall_mcp/test/mcp_publish_adapter_test.dartsteward probe --json --profile quickRelated
Summary by CodeRabbit
New Features
Documentation