feat: Adjust module re-exports and publishing settings

This commit is contained in:
2026-01-08 20:35:28 +09:00
parent 9233bb9163
commit a01f19b112
13 changed files with 101 additions and 23 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ use std::sync::{Arc, Mutex};
use async_trait::async_trait;
use futures::Stream;
use worker::llm_client::{ClientError, LlmClient, Request};
use worker::{Handler, TextBlockEvent, TextBlockKind, Timeline};
use worker::timeline::{Handler, TextBlockEvent, TextBlockKind, Timeline};
use worker_types::{BlockType, DeltaContent, Event};
use std::sync::atomic::{AtomicUsize, Ordering};
+2 -1
View File
@@ -7,7 +7,8 @@ mod common;
use std::sync::{Arc, Mutex};
use common::MockLlmClient;
use worker::{Worker, WorkerSubscriber};
use worker::subscriber::WorkerSubscriber;
use worker::Worker;
use worker_types::{
ErrorEvent, Event, ResponseStatus, StatusEvent, TextBlockEvent, ToolCall, ToolUseBlockEvent,
UsageEvent,
+1 -2
View File
@@ -205,8 +205,7 @@ async fn test_worker_with_programmatic_events() {
/// id, name, inputJSON)を正しく抽出できることを検証する。
#[tokio::test]
async fn test_tool_call_collector_integration() {
use worker::Timeline;
use worker::ToolCallCollector;
use worker::timeline::{Timeline, ToolCallCollector};
use worker_types::Event;
// ToolUseブロックを含むイベントシーケンス