agent-swarm-kit 1.0.185 → 1.0.186

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/build/index.cjs CHANGED
@@ -14577,6 +14577,7 @@ const makeConnection = (connector, clientId, swarmName) => {
14577
14577
  const online = functoolsKit.singlerun(async () => {
14578
14578
  await markOnline(clientId, swarmName);
14579
14579
  });
14580
+ online();
14580
14581
  return beginContext(async (content, payload = null) => {
14581
14582
  await online();
14582
14583
  if (payload) {
@@ -14611,6 +14612,7 @@ makeConnection.scheduled = (connector, clientId, swarmName, { delay = SCHEDULED_
14611
14612
  const online = functoolsKit.singlerun(async () => {
14612
14613
  await markOnline(clientId, swarmName);
14613
14614
  });
14615
+ online();
14614
14616
  const wrappedSend = functoolsKit.schedule(beginContext(async (content, payload) => {
14615
14617
  if (!swarm$1.sessionValidationService.hasSession(clientId)) {
14616
14618
  return;
@@ -14668,6 +14670,7 @@ makeConnection.rate = (connector, clientId, swarmName, { delay = RATE_DELAY } =
14668
14670
  const online = functoolsKit.singlerun(async () => {
14669
14671
  await markOnline(clientId, swarmName);
14670
14672
  });
14673
+ online();
14671
14674
  const wrappedSend = functoolsKit.rate(beginContext(async (content, payload) => {
14672
14675
  if (!swarm$1.sessionValidationService.hasSession(clientId)) {
14673
14676
  return;
@@ -14894,6 +14897,7 @@ const session = (clientId, swarmName, { onDispose } = {}) => {
14894
14897
  const online = functoolsKit.singlerun(async () => {
14895
14898
  await markOnline(clientId, swarmName);
14896
14899
  });
14900
+ online();
14897
14901
  return {
14898
14902
  complete: beginContext(async (content, payload = null) => {
14899
14903
  if (!isMounted) {
@@ -14941,6 +14945,7 @@ session.scheduled = (clientId, swarmName, { delay = SCHEDULED_DELAY, onDispose }
14941
14945
  const online = functoolsKit.singlerun(async () => {
14942
14946
  await markOnline(clientId, swarmName);
14943
14947
  });
14948
+ online();
14944
14949
  const wrappedComplete = functoolsKit.schedule(beginContext(async (content, payload) => {
14945
14950
  if (!isMounted) {
14946
14951
  return;
@@ -15008,6 +15013,7 @@ session.rate = (clientId, swarmName, { delay = SCHEDULED_DELAY, onDispose } = {}
15008
15013
  const online = functoolsKit.singlerun(async () => {
15009
15014
  await markOnline(clientId, swarmName);
15010
15015
  });
15016
+ online();
15011
15017
  const wrappedComplete = functoolsKit.rate(beginContext(async (content, payload) => {
15012
15018
  if (!isMounted) {
15013
15019
  return;
package/build/index.mjs CHANGED
@@ -14575,6 +14575,7 @@ const makeConnection = (connector, clientId, swarmName) => {
14575
14575
  const online = singlerun(async () => {
14576
14576
  await markOnline(clientId, swarmName);
14577
14577
  });
14578
+ online();
14578
14579
  return beginContext(async (content, payload = null) => {
14579
14580
  await online();
14580
14581
  if (payload) {
@@ -14609,6 +14610,7 @@ makeConnection.scheduled = (connector, clientId, swarmName, { delay = SCHEDULED_
14609
14610
  const online = singlerun(async () => {
14610
14611
  await markOnline(clientId, swarmName);
14611
14612
  });
14613
+ online();
14612
14614
  const wrappedSend = schedule(beginContext(async (content, payload) => {
14613
14615
  if (!swarm$1.sessionValidationService.hasSession(clientId)) {
14614
14616
  return;
@@ -14666,6 +14668,7 @@ makeConnection.rate = (connector, clientId, swarmName, { delay = RATE_DELAY } =
14666
14668
  const online = singlerun(async () => {
14667
14669
  await markOnline(clientId, swarmName);
14668
14670
  });
14671
+ online();
14669
14672
  const wrappedSend = rate(beginContext(async (content, payload) => {
14670
14673
  if (!swarm$1.sessionValidationService.hasSession(clientId)) {
14671
14674
  return;
@@ -14892,6 +14895,7 @@ const session = (clientId, swarmName, { onDispose } = {}) => {
14892
14895
  const online = singlerun(async () => {
14893
14896
  await markOnline(clientId, swarmName);
14894
14897
  });
14898
+ online();
14895
14899
  return {
14896
14900
  complete: beginContext(async (content, payload = null) => {
14897
14901
  if (!isMounted) {
@@ -14939,6 +14943,7 @@ session.scheduled = (clientId, swarmName, { delay = SCHEDULED_DELAY, onDispose }
14939
14943
  const online = singlerun(async () => {
14940
14944
  await markOnline(clientId, swarmName);
14941
14945
  });
14946
+ online();
14942
14947
  const wrappedComplete = schedule(beginContext(async (content, payload) => {
14943
14948
  if (!isMounted) {
14944
14949
  return;
@@ -15006,6 +15011,7 @@ session.rate = (clientId, swarmName, { delay = SCHEDULED_DELAY, onDispose } = {}
15006
15011
  const online = singlerun(async () => {
15007
15012
  await markOnline(clientId, swarmName);
15008
15013
  });
15014
+ online();
15009
15015
  const wrappedComplete = rate(beginContext(async (content, payload) => {
15010
15016
  if (!isMounted) {
15011
15017
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-swarm-kit",
3
- "version": "1.0.185",
3
+ "version": "1.0.186",
4
4
  "description": "A TypeScript library for building orchestrated framework-agnostic multi-agent AI systems",
5
5
  "author": {
6
6
  "name": "Petr Tripolsky",