Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@bevyl-ai/agent-tools": "^0.2.0"
"@bevyl-ai/agent-tools": "^0.4.0"
},
"devDependencies": {
"@types/bun": "^1.2.0",
Expand Down
2 changes: 1 addition & 1 deletion scripts/selftest-distill.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { PolicyStore, fileSource } from "../src/policy/load";
import { queryMemory } from "../src/ledger/memory";
import { Service } from "../src/service";
import { createLogger } from "../src/log";
import { SlackAdapter } from "../src/adapter/slack";
import { SlackAdapter } from "@bevyl-ai/agent-tools";
import { AppServerSession } from "@bevyl-ai/agent-tools";
import { DEFAULT_CODEX_CONFIG } from "../src/turn-runner/types";
import type { DynamicTool } from "../src/turn-runner/types";
Expand Down
2 changes: 1 addition & 1 deletion scripts/selftest-live-slack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { systemClock } from "../src/ledger/clock";
import { PolicyStore, fileSource } from "../src/policy/load";
import { Service } from "../src/service";
import { createLogger } from "../src/log";
import { SlackAdapter } from "../src/adapter/slack";
import { SlackAdapter } from "@bevyl-ai/agent-tools";
import { AppServerSession } from "@bevyl-ai/agent-tools";
import { DEFAULT_CODEX_CONFIG } from "../src/turn-runner/types";
import type { DynamicTool, AgentEvent } from "../src/turn-runner/types";
Expand Down
2 changes: 1 addition & 1 deletion scripts/selftest-liveness.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { createLogger } from "../src/log";
import { AppServerSession } from "@bevyl-ai/agent-tools";
import { DEFAULT_CODEX_CONFIG } from "../src/turn-runner/types";
import type { DynamicTool, AgentEvent } from "../src/turn-runner/types";
import type { SurfaceAdapter, PostResult, RawMessage } from "../src/adapter/types";
import type { SurfaceAdapter, PostResult, RawMessage } from "@bevyl-ai/agent-tools";

class CapturingAdapter implements SurfaceAdapter {
events: string[] = [];
Expand Down
2 changes: 1 addition & 1 deletion scripts/selftest-service-continuity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { createLogger } from "../src/log";
import { AppServerSession } from "@bevyl-ai/agent-tools";
import { DEFAULT_CODEX_CONFIG } from "../src/turn-runner/types";
import type { DynamicTool, AgentEvent } from "../src/turn-runner/types";
import type { SurfaceAdapter, PostResult, RawMessage } from "../src/adapter/types";
import type { SurfaceAdapter, PostResult, RawMessage } from "@bevyl-ai/agent-tools";

// A surface that captures posts instead of hitting Slack.
class CapturingAdapter implements SurfaceAdapter {
Expand Down
4 changes: 2 additions & 2 deletions scripts/selftest-slack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import { systemClock } from "../src/ledger/clock";
import { PolicyStore, fileSource } from "../src/policy/load";
import { Service } from "../src/service";
import { createLogger } from "../src/log";
import { SlackAdapter } from "../src/adapter/slack";
import { SlackAdapter } from "@bevyl-ai/agent-tools";
import { AppServerSession } from "@bevyl-ai/agent-tools";
import { DEFAULT_CODEX_CONFIG } from "../src/turn-runner/types";
import type { DynamicTool } from "../src/turn-runner/types";
import type { RawMessage } from "../src/adapter/types";
import type { RawMessage } from "@bevyl-ai/agent-tools";

const channel = process.argv[2];
const text = process.argv[3] ?? "write a two-line haiku about a helpful slack bot";
Expand Down
2 changes: 1 addition & 1 deletion scripts/smoke-slack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { runExecution } from "../src/turn-runner/execution-loop";
import { runTurn } from "../src/turn-runner/turn";
import { AppServerSession } from "@bevyl-ai/agent-tools";
import { DEFAULT_CODEX_CONFIG } from "../src/turn-runner/types";
import { SlackAdapter } from "../src/adapter/slack";
import { SlackAdapter } from "@bevyl-ai/agent-tools";
import type { IdentityConfig } from "../src/policy/schema";
import type { Policy } from "../src/policy/schema";
import type { Event } from "../src/adapter/router";
Expand Down
2 changes: 1 addition & 1 deletion src/adapter/outbound.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// isn't something Slack's plain chat.postMessage API gives you for free (no idempotency-key
// support) — the RECOMMENDED mitigation is a `checkAlreadyPosted` reconciliation hook the caller
// wires to something like conversations.history before assuming a retry is safe.
import type { PostResult } from "./types";
import type { PostResult } from "@bevyl-ai/agent-tools";

export interface RetryOpts {
maxAttempts: number;
Expand Down
2 changes: 1 addition & 1 deletion src/adapter/reply-stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// when producers fire synchronously (e.g. from a runtime event stream).
// - If the stream cannot start (no thread, no recipient, the surface refuses), the failure
// latches: post() returns null and the caller delivers via plain postMessage instead.
import type { SurfaceAdapter } from "./types";
import type { SurfaceAdapter } from "@bevyl-ai/agent-tools";
import type { Logger } from "../log";

export interface ChecklistItem {
Expand Down
2 changes: 1 addition & 1 deletion src/adapter/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { Clock } from "../ledger/clock";
import { writeAudit } from "../ledger/audit";
import { isThreadParticipant, recordThreadParticipation } from "../ledger/threads";
import type { Policy } from "../policy/schema";
import type { MessageFile, RawMessage, VenueKind } from "./types";
import type { MessageFile, RawMessage, VenueKind } from "@bevyl-ai/agent-tools";

export type EventKind = "addressed_message" | "observed_message";

Expand Down
Loading
Loading