Changeset 0.37.18 (#230)

Co-authored-by: gobha <jasafpro@gmail.com>
Co-committed-by: gobha <jasafpro@gmail.com>
This commit is contained in:
2026-03-24 19:55:14 +00:00
committed by xcaliber
parent 96a4f16bc5
commit 3a4afea7f2
34 changed files with 1534 additions and 1290 deletions

View File

@@ -131,6 +131,16 @@
}
});
// ── Files with origin filter (v0.37.18) ──
await T.test('channels', 'files', 'sw.api.channels.files(id, {origin})', {
sdk: function () { return sw.api.channels.files(channelId, { origin: 'tool_output' }); },
raw: { method: 'GET', path: '/channels/' + channelId + '/files?origin=tool_output' },
validate: function (r) {
T.assert(typeof r === 'object' || Array.isArray(r), 'expected object or array');
}
});
// ── Participants ──
await T.test('channels', 'participants', 'sw.api.channels.participants(id)', {