@borgee/agents-host 0.2.32 → 0.2.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chat/sdk-chat-control-plane.d.ts +1 -1
- package/dist/chat/sdk-chat-control-plane.js +1 -1
- package/dist/durable-cursor-store.d.ts +1 -1
- package/dist/durable-cursor-store.js +1 -1
- package/dist/gateway/localhost-gateway.js +1 -1
- package/dist/plugin-sdk.js +5131 -0
- package/dist/plugin-sdk.js.map +7 -0
- package/package.json +6 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type BorgeePluginClient, type BorgeePluginOptions, type InboundMessageEvent } from '
|
|
1
|
+
import { type BorgeePluginClient, type BorgeePluginOptions, type InboundMessageEvent } from '../plugin-sdk.js';
|
|
2
2
|
import type { ChannelSummary, ChannelHistoryEntry, ChannelMessageEvent, CreateTaskInput, DirectoryUser, MeResponseUser, PostMessageInput, PostedMessage, ReadChannelHistoryInput, Task, UpdateTaskInput } from '../types.js';
|
|
3
3
|
import type { ChatControlPlane } from './chat-control-plane.js';
|
|
4
4
|
type PluginClientLike = Pick<BorgeePluginClient, 'agentId' | 'close' | 'connect' | 'createTask' | 'deleteMessage' | 'editMessage' | 'getMe' | 'getTask' | 'listChannels' | 'listTasks' | 'listUsers' | 'on' | 'readHistory' | 'sendMessage' | 'startTyping' | 'updateTask'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createBorgeePlugin, } from '
|
|
1
|
+
import { createBorgeePlugin, } from '../plugin-sdk.js';
|
|
2
2
|
/**
|
|
3
3
|
* Thin adapter over `@borgee/plugin-sdk` (the same BPP/`/ws/plugin` SDK used by
|
|
4
4
|
* the OpenClaw plugin) that implements the minimal `ChatControlPlane` surface
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { existsSync } from 'node:fs';
|
|
2
2
|
import { createServer } from 'node:http';
|
|
3
3
|
import { randomUUID } from 'node:crypto';
|
|
4
|
-
import { BorgeeError, PermissionDeniedError } from '
|
|
4
|
+
import { BorgeeError, PermissionDeniedError } from '../plugin-sdk.js';
|
|
5
5
|
import { SqliteConnectionsStateStore } from '../connections-state-store.js';
|
|
6
6
|
import { evaluateGatewayAuthorization, } from '../policy/gateway-authorization.js';
|
|
7
7
|
import { resolveConnectionsStatePath } from '../state-paths.js';
|