Skip to content

feat: add Session API methods for AXME Code#38

Merged
George-iam merged 1 commit intomainfrom
feat/session-methods-20260326
Mar 26, 2026
Merged

feat: add Session API methods for AXME Code#38
George-iam merged 1 commit intomainfrom
feat/session-methods-20260326

Conversation

@George-iam
Copy link
Copy Markdown
Contributor

Summary

  • Add 8 session methods to AxmeClient: createSession, getSession, listSessions, postSessionMessage, listSessionMessages, getSessionFeed, listenSession, completeSession
  • Add SSE streaming via listenSession() with automatic polling fallback
  • Add private fetchSessionFeedStream helper and parseSessionSseEvents parser
  • 9 new tests (86 total, all green)

Context

These methods are needed by AXME Code (TypeScript daemon + Slack bot) to manage coding agent sessions on the gateway.

Test plan

  • All 86 unit tests pass (77 existing + 9 new session tests)
  • Type-check passes with tsc --noEmit

…isten, complete)

Matches gateway session endpoints for AXME Code integration.
Includes SSE streaming via listenSession() with polling fallback.
9 new tests (86 total, all green).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@George-iam George-iam merged commit 239381d into main Mar 26, 2026
1 check passed
@George-iam George-iam deleted the feat/session-methods-20260326 branch March 26, 2026 20:16
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