@tangle-network/agent-provider-cli-bridge 0.9.0 → 0.9.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/capability-discovery.js +2 -5
- package/dist/index.js +6 -10
- package/package.json +1 -1
|
@@ -65,15 +65,12 @@ export function narrowCliBridgeCapabilities(adapter, reported, selectedBackend,
|
|
|
65
65
|
? { atomicBoundary: true, requestIdempotency: true }
|
|
66
66
|
: undefined;
|
|
67
67
|
const sessions = {
|
|
68
|
-
continue:
|
|
69
|
-
adapter.sessions.continue &&
|
|
70
|
-
reported.sessions.continue,
|
|
68
|
+
continue: adapter.sessions.continue && reported.sessions.continue,
|
|
71
69
|
// The Bridge can list and inspect sessions, but this adapter exposes neither method.
|
|
72
70
|
list: false,
|
|
73
71
|
messages: false,
|
|
74
72
|
};
|
|
75
|
-
const retainedControl =
|
|
76
|
-
supportsRetainedControl(adapter) &&
|
|
73
|
+
const retainedControl = supportsRetainedControl(adapter) &&
|
|
77
74
|
supportsRetainedControl(reported)
|
|
78
75
|
? {
|
|
79
76
|
exactRunIdentity: true,
|
package/dist/index.js
CHANGED
|
@@ -148,19 +148,15 @@ export function defaultCliBridgeCapabilities(harness) {
|
|
|
148
148
|
validation: false,
|
|
149
149
|
},
|
|
150
150
|
streaming: { live: true, replay: true, detach: true, turnIdempotency: true },
|
|
151
|
-
sessions: {
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
151
|
+
sessions: { continue: true, list: false, messages: false },
|
|
152
|
+
retainedControl: {
|
|
153
|
+
exactRunIdentity: true,
|
|
154
|
+
resultIdentity: true,
|
|
155
|
+
eventIdentity: true,
|
|
156
|
+
cancellationIdempotency: true,
|
|
155
157
|
},
|
|
156
158
|
...(harness === "pi"
|
|
157
159
|
? {
|
|
158
|
-
retainedControl: {
|
|
159
|
-
exactRunIdentity: true,
|
|
160
|
-
resultIdentity: true,
|
|
161
|
-
eventIdentity: true,
|
|
162
|
-
cancellationIdempotency: true,
|
|
163
|
-
},
|
|
164
160
|
nativeContinuation: {
|
|
165
161
|
atomicBoundary: true,
|
|
166
162
|
requestIdempotency: true,
|
package/package.json
CHANGED