@adea-ai/sdk 1.23.0 → 1.24.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "openapi": "3.1.0",
3
- "info": { "title": "Agent HQ Control Plane API", "version": "3.1.0" },
3
+ "info": { "title": "Agent HQ Control Plane API", "version": "3.2.0" },
4
4
  "paths": {
5
5
  "/v1/authentication/verify": {
6
6
  "post": {
@@ -18339,6 +18339,51 @@
18339
18339
  },
18340
18340
  "data": {
18341
18341
  "additionalProperties": false,
18342
+ "allOf": [
18343
+ {
18344
+ "anyOf": [
18345
+ {
18346
+ "properties": {
18347
+ "remoteSessionReference": false,
18348
+ "remoteSessionReferenceUnavailableReason": false
18349
+ },
18350
+ "type": "object"
18351
+ },
18352
+ {
18353
+ "properties": {
18354
+ "remoteSessionReference": { "type": "null" },
18355
+ "remoteSessionReferenceUnavailableReason": {
18356
+ "enum": ["NOT_STARTED", "NOT_CONFIGURED", "UNAVAILABLE"],
18357
+ "type": "string"
18358
+ }
18359
+ },
18360
+ "required": [
18361
+ "remoteSessionReference",
18362
+ "remoteSessionReferenceUnavailableReason"
18363
+ ],
18364
+ "type": "object"
18365
+ },
18366
+ {
18367
+ "properties": {
18368
+ "child": {
18369
+ "properties": {
18370
+ "childAttemptId": {
18371
+ "pattern": "^att_[0-9A-HJKMNP-TV-Z]{26}$",
18372
+ "type": "string"
18373
+ }
18374
+ },
18375
+ "required": ["childAttemptId"],
18376
+ "type": "object"
18377
+ },
18378
+ "remoteSessionReference": { "type": "object" },
18379
+ "remoteSessionReferenceUnavailableReason": false
18380
+ },
18381
+ "required": ["remoteSessionReference"],
18382
+ "type": "object"
18383
+ }
18384
+ ]
18385
+ }
18386
+ ],
18342
18387
  "properties": {
18343
18388
  "attemptId": {},
18344
18389
  "child": {
@@ -18476,6 +18521,52 @@
18476
18521
  "required": ["sessionId", "taskId"],
18477
18522
  "type": "object"
18478
18523
  },
18524
+ "remoteSessionReference": {
18525
+ "anyOf": [
18526
+ {
18527
+ "additionalProperties": false,
18528
+ "properties": {
18529
+ "attachment": { "const": "unavailable", "type": "string" },
18530
+ "basis": {
18531
+ "const": "retained_native_attribution",
18532
+ "type": "string"
18533
+ },
18534
+ "history": { "const": "adapter_journal_only", "type": "string" },
18535
+ "nativeSessionId": {
18536
+ "pattern": "^ses_[0-9A-HJKMNP-TV-Z]{26}$",
18537
+ "type": "string"
18538
+ },
18539
+ "permission": { "const": "none", "type": "string" },
18540
+ "runtimeConnectionId": {
18541
+ "pattern": "^rtc_[0-9A-HJKMNP-TV-Z]{26}$",
18542
+ "type": "string"
18543
+ },
18544
+ "schemaVersion": {
18545
+ "const": "pi-child-remote-session-reference/v1",
18546
+ "type": "string"
18547
+ },
18548
+ "source": { "const": "control_plane_reported", "type": "string" }
18549
+ },
18550
+ "readOnly": true,
18551
+ "required": [
18552
+ "schemaVersion",
18553
+ "source",
18554
+ "basis",
18555
+ "runtimeConnectionId",
18556
+ "nativeSessionId",
18557
+ "permission",
18558
+ "history",
18559
+ "attachment"
18560
+ ],
18561
+ "type": "object"
18562
+ },
18563
+ { "type": "null" }
18564
+ ]
18565
+ },
18566
+ "remoteSessionReferenceUnavailableReason": {
18567
+ "enum": ["NOT_STARTED", "NOT_CONFIGURED", "UNAVAILABLE"],
18568
+ "type": "string"
18569
+ },
18479
18570
  "requestedTarget": {
18480
18571
  "additionalProperties": false,
18481
18572
  "properties": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adea-ai/sdk",
3
- "version": "1.23.0",
3
+ "version": "1.24.0",
4
4
  "description": "Typed client for the Control Plane API with transport, response mapping, OpenAPI baseline, and testing helpers.",
5
5
  "keywords": [
6
6
  "agents",
@@ -50,8 +50,8 @@
50
50
  "test": "bun test src/*.test.mjs"
51
51
  },
52
52
  "dependencies": {
53
- "@adea-ai/contracts": "^1.23.1",
54
- "@adea-ai/runtime-sdk": "^1.18.0",
53
+ "@adea-ai/contracts": "^1.24.0",
54
+ "@adea-ai/runtime-sdk": "^1.19.0",
55
55
  "zod": "4.6.6"
56
56
  },
57
57
  "engines": {