external-protocol-happy-path.test.mjs
15 lines 649 B
Raw
sha256:e4c529f14a0bb908c1caaaeb3f95f3623a1a82e636e7e3722ca2cd3dc9821263 security: npm audit fix pre-bridge 2026-07-29 Human 44 days ago
1 import { describe, it } from 'node:test';
2 import { expect } from 'chai';
3 import * as protocol from '../../lib/agent/external-agent-protocol.mjs';
4 import { createMockInput } from '../fixtures/agent/external-protocol-helpers.mjs';
5
6 describe('E2E: External Protocol Happy Path', () => {
7 it('should execute the claim -> heartbeat -> complete flow', async () => {
8 expect(protocol.handleClaimTask).to.be.a('function');
9 expect(protocol.handleHeartbeatTask).to.be.a('function');
10 expect(protocol.handleCompleteTask).to.be.a('function');
11
12 const input = createMockInput();
13 expect(input.providerAgentId).to.equal('agent-1');
14 });
15 });
File History 3 commits
sha256:e4c529f14a0bb908c1caaaeb3f95f3623a1a82e636e7e3722ca2cd3dc9821263 security: npm audit fix pre-bridge 2026-07-29 Human 44 days ago
sha256:b5f647cb9c409f563d4671fe3fc05ddea01fabfed9b41fc11cb923588e1c1baf mirror: GitHub Phase A durable MCP OAuth (#270) Human minor 60 days ago
sha256:873e30b7fafe601346295f8f4289f388f21d8f715f28584d5481899ba2b714fc Merge pull request #249 from aaronrene/muse-mirror Agent 78 days ago