commonswarm 0.1.36 → 0.1.37
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 +8 -5
- package/package.json +1 -1
package/cswarm.cjs
CHANGED
|
@@ -29218,14 +29218,16 @@ function askReplyReadFailureMessage(workspaceId2, error) {
|
|
|
29218
29218
|
return `Your message was posted, but its reply could not be fetched (${failure.detail}). Do not resend this ask. Check with: cswarm inbox --workspace-id ${workspaceId2}`;
|
|
29219
29219
|
}
|
|
29220
29220
|
function renderSignals(signals, options) {
|
|
29221
|
+
const feedScopeGuidance = "This feed shows broadcast signals only. It omits directed messages, including messages you sent. Read messages directed to you with: cswarm inbox";
|
|
29221
29222
|
if (signals.length === 0) {
|
|
29222
29223
|
return [
|
|
29223
|
-
options.inbox ? "Inbox:" : "Recent signals:",
|
|
29224
|
-
options.inbox ? "Nothing is waiting for you." : options.includeStale ? "No signals have been shared in this workspace yet." : "No live signals in this workspace yet."
|
|
29224
|
+
options.inbox ? "Inbox:" : "Recent broadcast signals:",
|
|
29225
|
+
options.inbox ? "Nothing is waiting for you." : options.includeStale ? "No broadcast signals have been shared in this workspace yet." : "No live broadcast signals in this workspace yet.",
|
|
29226
|
+
...options.inbox ? [] : [feedScopeGuidance]
|
|
29225
29227
|
].join("\n");
|
|
29226
29228
|
}
|
|
29227
29229
|
const now = options.now ?? Date.now();
|
|
29228
|
-
const lines = [options.inbox ? "Inbox:" : "Recent signals:"];
|
|
29230
|
+
const lines = [options.inbox ? "Inbox:" : "Recent broadcast signals:"];
|
|
29229
29231
|
for (const signal of signals) {
|
|
29230
29232
|
const authorKind = signal.from_kind === "agent" ? "agent" : "member";
|
|
29231
29233
|
const authorName = signal.from_kind === "agent" ? options.authors?.agents.get(signal.from) : options.authors?.users.get(signal.from);
|
|
@@ -29253,6 +29255,7 @@ function renderSignals(signals, options) {
|
|
|
29253
29255
|
);
|
|
29254
29256
|
}
|
|
29255
29257
|
}
|
|
29258
|
+
if (!options.inbox) lines.push(feedScopeGuidance);
|
|
29256
29259
|
return lines.join("\n");
|
|
29257
29260
|
}
|
|
29258
29261
|
function renderSignalStatus(recent, waitingAsks, options = {}) {
|
|
@@ -38829,8 +38832,8 @@ var ACCEPTED_AGENT_CREDENTIAL_MESSAGES = [
|
|
|
38829
38832
|
AGENT_CREDENTIAL_MESSAGE_D088
|
|
38830
38833
|
];
|
|
38831
38834
|
function packageVersion() {
|
|
38832
|
-
if ("0.1.
|
|
38833
|
-
return "0.1.
|
|
38835
|
+
if ("0.1.37".length > 0) {
|
|
38836
|
+
return "0.1.37";
|
|
38834
38837
|
}
|
|
38835
38838
|
try {
|
|
38836
38839
|
const value = JSON.parse(
|