@byok-sdk/server 0.8.0-beta.0 → 0.8.1
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/hub.d.ts +15 -2
- package/dist/index.d.ts +8 -2
- package/dist/index.js +2012 -1899
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +8 -1
- package/package.json +3 -3
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AgentContentReadPayload, AgentEventOrUnknown, AgentEgressPolicy, AgentEgressReliablePayload, AgentRef, BlobRef, DispatchSelection, PermissionPolicy, RuntimeCapabilities, RuntimeId, RuntimeInfo, TaskApprovalResolvedPayload, TaskArtifactPayload, TaskState, ToolsetId } from '@byok-sdk/protocol';
|
|
1
|
+
import type { AgentContentReadPayload, AgentHomeProjectionPayload, AgentHomeProjectionReadback, AgentEventOrUnknown, AgentEgressPolicy, AgentEgressReliablePayload, AgentRef, BlobRef, DispatchSelection, PermissionPolicy, RuntimeCapabilities, RuntimeId, RuntimeInfo, TaskApprovalResolvedPayload, TaskArtifactPayload, TaskState, ToolsetId } from '@byok-sdk/protocol';
|
|
2
2
|
import type { BlobStore } from './blob-store';
|
|
3
3
|
import type { RateLimiterOptions } from './rate-limiter';
|
|
4
4
|
import type { TaskStore } from './task-store';
|
|
@@ -117,6 +117,13 @@ export interface AgentContentReadRequest {
|
|
|
117
117
|
readonly deviceId: string;
|
|
118
118
|
readonly payload: AgentContentReadPayload;
|
|
119
119
|
}
|
|
120
|
+
/** Host control-plane input for one exact task-free Agent-home projection. */
|
|
121
|
+
export interface AgentHomeProjectionRequest {
|
|
122
|
+
readonly deviceId: string;
|
|
123
|
+
readonly payload: AgentHomeProjectionPayload;
|
|
124
|
+
}
|
|
125
|
+
/** Reference-server readback. The default implementation is process-local only. */
|
|
126
|
+
export type AgentHomeProjectionStatusReadback = AgentHomeProjectionReadback;
|
|
120
127
|
/** First-write-wins reference-server readback for a reliable Agent egress item. */
|
|
121
128
|
export interface AgentEgressReceipt {
|
|
122
129
|
readonly deviceId: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byok-sdk/server",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.1",
|
|
4
4
|
"description": "BYOK SDK server: in-memory M0 reference implementation of the SaaS-side coordinator",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"clean": "rm -rf dist"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@byok-sdk/core": "0.8.
|
|
48
|
-
"@byok-sdk/protocol": "0.8.
|
|
47
|
+
"@byok-sdk/core": "0.8.1",
|
|
48
|
+
"@byok-sdk/protocol": "0.8.1",
|
|
49
49
|
"@hono/node-server": "^2.0.10",
|
|
50
50
|
"hono": "^4.12.30",
|
|
51
51
|
"jose": "^6.2.3",
|