Skip to content

Commit f41ac6a

Browse files
release(v1.4.1): ship completed A2A alignment and publish version bump
1 parent e3c84fb commit f41ac6a

14 files changed

Lines changed: 371 additions & 10 deletions

.cleo/.git-checkpoint-state

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1771996375
1+
1771996754

.cleo/tasks.db

8 KB
Binary file not shown.

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.4.1] - 2026-02-25
11+
12+
### Added
13+
14+
- A2A bridge alignment test coverage in `tests/a2aBridge.test.ts` for upstream constants, LAFS artifact envelope extraction, extension requirement checks, and text artifact generation
15+
- A2A streaming completion APIs in `src/a2a/streaming.ts`:
16+
- `PushNotificationDispatcher` for async webhook fan-out from `PushNotificationConfigStore`
17+
- `TaskArtifactAssembler` for artifact delta merge semantics (`append` + `lastChunk`)
18+
19+
### Changed
20+
21+
- Updated `src/a2a/bridge.ts` to import `AGENT_CARD_PATH` and `HTTP_EXTENSION_HEADER` as runtime values from `@a2a-js/sdk`
22+
- Expanded streaming exports through `src/a2a/index.ts` and `src/index.ts` for dispatcher/assembler APIs
23+
- Expanded `tests/streamingAsync.test.ts` to cover webhook dispatch delivery and artifact append/final-chunk behavior
24+
1025
### Documentation
1126

1227
- Rewrote `docs/programmatic-construction.md` with comprehensive from-scratch construction guidance: factory parameter breakdown, field constraint tables from the JSON schema, success and error envelope patterns, paginated results (cursor and offset modes), session-correlated messages, versioning fields, MVI levels, construction error handling, and schema import patterns for external validators

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
LAFS defines a standard envelope format for structured responses from LLM-powered agents and tools. It complements transport protocols like [MCP](https://modelcontextprotocol.io/) and [A2A](https://github.com/google/A2A) by standardizing what comes back — not how it gets there.
66

7-
**Current version:** 1.4.0 | [📚 Documentation](https://codluv.gitbook.io/lafs-protocol/) | [Spec](lafs.md) | [Migration Guides](migrations/)
7+
**Current version:** 1.4.1 | [📚 Documentation](https://codluv.gitbook.io/lafs-protocol/) | [Spec](lafs.md) | [Migration Guides](migrations/)
88

99
[![GitBook](https://img.shields.io/badge/docs-gitbook-blue)](https://codluv.gitbook.io/lafs-protocol/)
1010
[![npm](https://img.shields.io/npm/v/@cleocode/lafs-protocol)](https://www.npmjs.com/package/@cleocode/lafs-protocol)

docs/specification.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# LAFS: LLM-Agent-First Specification
22

33
> 📚 **Documentation:** https://codluv.gitbook.io/lafs-protocol/
4-
> **Version:** 1.4.0 | **Status:** Production Ready
4+
> **Version:** 1.4.1 | **Status:** Production Ready
55
66
## 1. Scope
77

lafs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# LAFS: LLM-Agent-First Specification
22

33
> 📚 **Documentation:** https://codluv.gitbook.io/lafs-protocol/
4-
> **Version:** 1.4.0 | **Status:** Production Ready
4+
> **Version:** 1.4.1 | **Status:** Production Ready
55
66
## 1. Scope
77

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cleocode/lafs-protocol",
3-
"version": "1.4.0",
3+
"version": "1.4.1",
44
"private": false,
55
"type": "module",
66
"description": "LLM-Agent-First Specification schemas and conformance tooling",

src/a2a/bridge.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111
// Imports - Use official A2A SDK types
1212
// ============================================================================
1313

14+
import {
15+
AGENT_CARD_PATH,
16+
HTTP_EXTENSION_HEADER,
17+
} from '@a2a-js/sdk';
18+
1419
import type {
1520
Task,
1621
TaskState,
@@ -33,8 +38,6 @@ import type {
3338
DataPart,
3439
FilePart,
3540
FileWithUri,
36-
AGENT_CARD_PATH,
37-
HTTP_EXTENSION_HEADER,
3841
} from '@a2a-js/sdk';
3942

4043
// LAFS types

src/a2a/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,12 +115,16 @@ export {
115115
export {
116116
TaskEventBus,
117117
PushNotificationConfigStore,
118+
PushNotificationDispatcher,
119+
TaskArtifactAssembler,
118120
streamTaskEvents,
119121
} from './streaming.js';
120122

121123
export type {
122124
TaskStreamEvent,
123125
StreamIteratorOptions,
126+
PushNotificationDeliveryResult,
127+
PushTransport,
124128
} from './streaming.js';
125129

126130
export type {

0 commit comments

Comments
 (0)