@byok-sdk/server 0.13.0 → 0.15.0
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/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +5 -0
- package/package.json +4 -4
package/dist/types.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { HarnessInfo } from '@byok-sdk/protocol';
|
|
1
2
|
import type { AgentContentReadPayload, AgentHomeProjectionPayload, AgentHomeProjectionReadback, AgentEventOrUnknown, AgentEgressPolicy, AgentEgressReliablePayload, AgentMessageEgressRequirement, AgentMessageServerContext, AgentMessagePublishPayload, AgentRef, BlobRef, DispatchSelection, PermissionPolicy, RuntimeCapabilities, RuntimeId, RuntimeInfo, TaskApprovalResolvedPayload, TaskArtifactPayload, TaskState, ToolsetId, TerminalProjectionSelection } from '@byok-sdk/protocol';
|
|
2
3
|
import type { TenantId, TokenSigner } from '@byok-sdk/cloud';
|
|
3
4
|
import type { RateLimiterOptions } from './rate-limiter';
|
|
@@ -117,6 +118,7 @@ export interface DispatchInput {
|
|
|
117
118
|
*/
|
|
118
119
|
dispatchSelection?: DispatchSelection;
|
|
119
120
|
runtime?: RuntimeId;
|
|
121
|
+
harnessId?: string;
|
|
120
122
|
policy?: PermissionPolicy;
|
|
121
123
|
deviceId?: string;
|
|
122
124
|
sessionRef?: string;
|
|
@@ -266,6 +268,7 @@ export interface MachineInfo {
|
|
|
266
268
|
clientVersion?: string;
|
|
267
269
|
/** Runtimes detected on this device, as reported in its last `conn.hello` (M1: typed, replaces the old untyped `agents`). */
|
|
268
270
|
runtimes?: RuntimeInfo[];
|
|
271
|
+
harnesses?: readonly HarnessInfo[];
|
|
269
272
|
/** Logical toolset IDs reported by the current daemon; omission means legacy/unknown. */
|
|
270
273
|
configuredToolsets?: ToolsetId[];
|
|
271
274
|
}
|
|
@@ -330,6 +333,7 @@ export interface TaskSnapshot {
|
|
|
330
333
|
* straight off `TaskAttempt.claimedRuntime` (`@byok-sdk/cloud`).
|
|
331
334
|
*/
|
|
332
335
|
claimedRuntime?: RuntimeId;
|
|
336
|
+
claimedHarnessId?: string;
|
|
333
337
|
/**
|
|
334
338
|
* S0/D-4 (runtime-honest control surface): the capability block the
|
|
335
339
|
* CLAIMING adapter reported for itself on its own `task.claim`
|
|
@@ -396,6 +400,7 @@ export type ByokServerEvent = {
|
|
|
396
400
|
* (docs/protocol.md §3.1).
|
|
397
401
|
*/
|
|
398
402
|
claimedRuntime?: RuntimeId;
|
|
403
|
+
claimedHarnessId?: string;
|
|
399
404
|
}
|
|
400
405
|
/**
|
|
401
406
|
* M4 Phase 3 hardening (orchestrator-directed): the daemon resolved a
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byok-sdk/server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
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,9 +44,9 @@
|
|
|
44
44
|
"clean": "rm -rf dist"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@byok-sdk/cloud": "0.
|
|
48
|
-
"@byok-sdk/core": "0.
|
|
49
|
-
"@byok-sdk/protocol": "0.
|
|
47
|
+
"@byok-sdk/cloud": "0.15.0",
|
|
48
|
+
"@byok-sdk/core": "0.15.0",
|
|
49
|
+
"@byok-sdk/protocol": "0.15.0",
|
|
50
50
|
"@hono/node-server": "^2.0.10",
|
|
51
51
|
"hono": "^4.12.30"
|
|
52
52
|
},
|