File tree Expand file tree Collapse file tree 9 files changed +27
-36
lines changed
packages/a2a_dart/lib/src Expand file tree Collapse file tree 9 files changed +27
-36
lines changed Original file line number Diff line number Diff line change 22// Use of this source code is governed by a BSD-style license that can be
33// found in the LICENSE file.
44
5+ /// @docImport 'transport.dart';
6+ library ;
7+
58import 'dart:async' ;
69import 'dart:convert' ;
710
811import 'package:http/http.dart' as http;
912
10- import '../../a2a_dart.dart' show Transport;
1113import 'a2a_exception.dart' ;
1214import 'http_transport.dart' ;
1315import 'sse_parser.dart' ;
14- import 'transport.dart' show Transport;
1516
1617/// An implementation of [Transport] that uses Server-Sent Events (SSE) for
1718/// streaming communication.
Original file line number Diff line number Diff line change 22// Use of this source code is governed by a BSD-style license that can be
33// found in the LICENSE file.
44
5- import 'dart:async' ;
6-
7- import '../../a2a_dart.dart' show A2AClient;
5+ /// @docImport 'a2a_client.dart';
6+ library ;
87
9- import 'a2a_client. dart' show A2AClient ;
8+ import 'dart:async' ;
109
1110/// An interface for sending and receiving messages to an A2A server.
1211///
Original file line number Diff line number Diff line change 22// Use of this source code is governed by a BSD-style license that can be
33// found in the LICENSE file.
44
5+ /// @docImport 'agent_card.dart';
6+ library ;
7+
58import 'package:freezed_annotation/freezed_annotation.dart' ;
69
7- import '../../a2a_dart.dart' show AgentCard;
8- import 'agent_card.dart' show AgentCard;
910import 'agent_extension.dart' ;
1011
1112part 'agent_capabilities.freezed.dart' ;
Original file line number Diff line number Diff line change 22// Use of this source code is governed by a BSD-style license that can be
33// found in the LICENSE file.
44
5- import 'package:freezed_annotation/freezed_annotation.dart' ;
6-
7- import '../../a2a_dart.dart' show AgentCapabilities;
5+ /// @docImport 'agent_capabilities.dart';
6+ library ;
87
9- import 'agent_capabilities .dart' show AgentCapabilities ;
8+ import 'package:freezed_annotation/freezed_annotation .dart' ;
109
1110part 'agent_extension.freezed.dart' ;
12-
1311part 'agent_extension.g.dart' ;
1412
1513/// A declaration of a protocol extension supported by an agent.
Original file line number Diff line number Diff line change 22// Use of this source code is governed by a BSD-style license that can be
33// found in the LICENSE file.
44
5- import 'package:freezed_annotation/freezed_annotation.dart' ;
6-
7- import '../../a2a_dart.dart' show AgentCard;
5+ /// @docImport 'agent_card.dart';
6+ library ;
87
9- import 'agent_card .dart' show AgentCard ;
8+ import 'package:freezed_annotation/freezed_annotation .dart' ;
109
1110part 'agent_interface.freezed.dart' ;
12-
1311part 'agent_interface.g.dart' ;
1412
1513/// Defines the transport protocols that can be used for A2A communication.
Original file line number Diff line number Diff line change 22// Use of this source code is governed by a BSD-style license that can be
33// found in the LICENSE file.
44
5- import 'package:freezed_annotation/freezed_annotation.dart' ;
6-
7- import '../../a2a_dart.dart' show AgentCard;
5+ /// @docImport 'agent_card.dart';
6+ library ;
87
9- import 'agent_card .dart' show AgentCard ;
8+ import 'package:freezed_annotation/freezed_annotation .dart' ;
109
1110part 'agent_provider.freezed.dart' ;
12-
1311part 'agent_provider.g.dart' ;
1412
1513/// Represents the service provider of an agent.
Original file line number Diff line number Diff line change 22// Use of this source code is governed by a BSD-style license that can be
33// found in the LICENSE file.
44
5- import 'package:freezed_annotation/freezed_annotation.dart' ;
6-
7- import '../../a2a_dart.dart' show AgentCard;
5+ /// @docImport 'agent_card.dart';
6+ library ;
87
9- import 'agent_card .dart' show AgentCard ;
8+ import 'package:freezed_annotation/freezed_annotation .dart' ;
109
1110part 'agent_skill.freezed.dart' ;
12-
1311part 'agent_skill.g.dart' ;
1412
1513/// Represents a distinct capability or function that an agent can perform.
Original file line number Diff line number Diff line change 22// Use of this source code is governed by a BSD-style license that can be
33// found in the LICENSE file.
44
5- import 'package:freezed_annotation/freezed_annotation.dart' ;
6-
7- import '../../a2a_dart.dart' show Message;
5+ /// @docImport 'message.dart';
6+ library ;
87
9- import 'message .dart' show Message ;
8+ import 'package:freezed_annotation/freezed_annotation .dart' ;
109
1110part 'part.freezed.dart' ;
1211part 'part.g.dart' ;
Original file line number Diff line number Diff line change 22// Use of this source code is governed by a BSD-style license that can be
33// found in the LICENSE file.
44
5- import 'dart:async' ;
6-
7- import '../../a2a_dart.dart' show RequestHandler;
5+ /// @docImport 'request_handler.dart';
6+ library ;
87
9- import 'request_handler. dart' show RequestHandler ;
8+ import 'dart:async' ;
109
1110/// A sealed class representing the result of a [RequestHandler] .
1211sealed class HandlerResult {}
You can’t perform that action at this time.
0 commit comments