commonswarm 0.1.35 → 0.1.36
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/cswarm.cjs +5 -5
- package/package.json +1 -1
package/cswarm.cjs
CHANGED
|
@@ -29643,8 +29643,8 @@ function arrivalSnippet(body) {
|
|
|
29643
29643
|
if (oneLine.length <= ARRIVAL_SNIPPET_MAX) return oneLine;
|
|
29644
29644
|
return `${oneLine.slice(0, ARRIVAL_SNIPPET_MAX - 1).trimEnd()}\u2026`;
|
|
29645
29645
|
}
|
|
29646
|
-
function arrivalReplyCommand(signalId, workspaceId2
|
|
29647
|
-
return `cswarm reply ${signalId} "<answer>" --
|
|
29646
|
+
function arrivalReplyCommand(signalId, workspaceId2) {
|
|
29647
|
+
return `cswarm reply ${signalId} "<answer>" --workspace-id ${workspaceId2}`;
|
|
29648
29648
|
}
|
|
29649
29649
|
function arrivalNotification(signal, workspaceId2, target2) {
|
|
29650
29650
|
return {
|
|
@@ -29655,7 +29655,7 @@ function arrivalNotification(signal, workspaceId2, target2) {
|
|
|
29655
29655
|
sender_kind: signal.from_kind,
|
|
29656
29656
|
kind: signal.kind,
|
|
29657
29657
|
snippet: arrivalSnippet(signal.body),
|
|
29658
|
-
reply_command: arrivalReplyCommand(signal.id, workspaceId2
|
|
29658
|
+
reply_command: arrivalReplyCommand(signal.id, workspaceId2)
|
|
29659
29659
|
};
|
|
29660
29660
|
}
|
|
29661
29661
|
function formatArrivalNotification(notification) {
|
|
@@ -38829,8 +38829,8 @@ var ACCEPTED_AGENT_CREDENTIAL_MESSAGES = [
|
|
|
38829
38829
|
AGENT_CREDENTIAL_MESSAGE_D088
|
|
38830
38830
|
];
|
|
38831
38831
|
function packageVersion() {
|
|
38832
|
-
if ("0.1.
|
|
38833
|
-
return "0.1.
|
|
38832
|
+
if ("0.1.36".length > 0) {
|
|
38833
|
+
return "0.1.36";
|
|
38834
38834
|
}
|
|
38835
38835
|
try {
|
|
38836
38836
|
const value = JSON.parse(
|