パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v0.2.11

fa_hub_client

Flutter_agent_harness用のDAP/1ハブクライアント:署名されたWebSocketを介したMessagingRepository、FahPluginはAgent.externalSteeringSourceを介して配信を接続します。

AndroidiOSLinuxmacOSWindows
30日間ダウンロード
3.8万
いいね数
0
Pub ポイント
140

パッケージをインストール

flutter pub add fa_hub_client

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

fa_hub_client パッケージは、署名された WebSocket を介して Flutter アプリケーションが DAP/1 ハブと通信できるようにし、MessagingRepository を通じた安全なメッセージングを可能にします。Agent.externalSteeringSource と FahPlugin を組み合わせて、エージェント駆動のアクションをスムーズに配信します。flutter_agent_harness エコシステム内で使用することを想定しており、Android、iOS、Linux、macOS、Windows でのクロスプラットフォーム開発をサポートしています。このパッケージは、Flutter アプリとエージェントハブ間のリアルタイムで認証された通信を簡素化します。

用途

  • リアルタイムエージェント通信
  • WebSocket を通じたセキュアなメッセージング
  • クロスプラットフォームエージェント統合
  • 外部ソースによる自動ステアリング
  • flutter_agent_harness との統合

主な機能

  • 署名済み WebSocket 接続
  • MessagingRepository インターフェース
  • FahPlugin によるステアリング配信
  • クロスプラットフォーム対応
  • DAP/1 ハブ互換性向けに構築

適している対象

  • flutter_agent_harness を使用する開発者
  • エージェントベースのワークフローを必要とするアプリケーション
  • 安全なリアルタイムメッセージングを必要とするプロジェクト
  • クロスプラットフォームエージェントクライアント
  • DAP/1 ハブ接続システム

注意事項

  • DAP/1 ハブインフラストラクチャを必要とする
  • flutter_agent_harness に依存しています
  • エージェント駆動のインタラクションパターンに限定される
  • WebSocket ハンドシェイクには適切な署名が必要です
  • 一般的なHTTPリクエストには適していません

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

fa_hub_client

CI Release License: MIT pub pub points

DAP/1 hub client for flutter_agent_harness: a MessagingRepository over a signed WebSocket, delivered into the agent loop via Agent.externalSteeringSource.

Install

dart pub add fa_hub_client

or in pubspec.yaml:

dependencies:
  fa_hub_client: ^0.2.0

Usage

import 'package:fa_hub_client/fa_hub_client.dart';

final plugin = HubPlugin();
plugin.register(context); // reads context.config['hub']
await plugin.start();     // loads identity, connects, starts inbox delivery
agent.externalSteeringSource = plugin.externalSteeringSource;

// later
await plugin.inviteTo('peer-name');            // dap_invite
await plugin.connectTo('hub.example.com');     // dap_connect
await plugin.status();                         // dap_status snapshot
await plugin.peers();                          // dap_peers list

Configuration

Zero-config by default; resolution order is environment > ~/.dap/config.json

built-in defaults (ws://127.0.0.1:8787/ws, identity ~/.dap/keys/fah/<name>.key, channels ~/.dap/channels.json).

Env var Purpose
DAP_HUB_URL Hub WebSocket URL
DAP_AGENT_NAME Display name / identity
DAP_KEY_PATH Signing key file
DAP_CHANNELS_FILE Channel store location
DAP_CONFIG_FILE Config file location (default ~/.dap/config.json)
DAP_MASTER_SECRET Hub master secret — first-connect enrollment
DAP_CLIENT_SECRET Hub-issued client secret (or enrolled once via master; also clientSecret in config)

First connect to a new hub needs DAP_MASTER_SECRET set (enrolls once, then the issued client secret is stored in ~/.dap/config.json).

Protocol

DAP protocol documentation lives in the dap repo.

カテゴリー

依存関係

依存関係一覧 1 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。

ランキング