@almadar/std 16.37.0 → 16.38.0

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.
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-BCP1PEYx.js';
1
+ import { S as StdOperatorMeta } from '../types-CW-UCfPF.js';
2
2
 
3
3
  /**
4
4
  * Math Module - Numeric Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-BCP1PEYx.js';
1
+ import { S as StdOperatorMeta } from '../types-CW-UCfPF.js';
2
2
 
3
3
  /**
4
4
  * Neural Network Module - Neural Network Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-BCP1PEYx.js';
1
+ import { S as StdOperatorMeta } from '../types-CW-UCfPF.js';
2
2
 
3
3
  /**
4
4
  * Object Module - Object Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-BCP1PEYx.js';
1
+ import { S as StdOperatorMeta } from '../types-CW-UCfPF.js';
2
2
 
3
3
  /**
4
4
  * OS Module - Operating System Event Watchers
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-BCP1PEYx.js';
1
+ import { S as StdOperatorMeta } from '../types-CW-UCfPF.js';
2
2
 
3
3
  /**
4
4
  * Prob Module - Probabilistic Programming Operators
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-BCP1PEYx.js';
1
+ import { S as StdOperatorMeta } from '../types-CW-UCfPF.js';
2
2
 
3
3
  /**
4
4
  * String Module - String Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-BCP1PEYx.js';
1
+ import { S as StdOperatorMeta } from '../types-CW-UCfPF.js';
2
2
 
3
3
  /**
4
4
  * Tensor Module - Tensor Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-BCP1PEYx.js';
1
+ import { S as StdOperatorMeta } from '../types-CW-UCfPF.js';
2
2
 
3
3
  /**
4
4
  * Time Module - Date and Time Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-BCP1PEYx.js';
1
+ import { S as StdOperatorMeta } from '../types-CW-UCfPF.js';
2
2
 
3
3
  /**
4
4
  * Training Module - Neural Network Training Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-BCP1PEYx.js';
1
+ import { S as StdOperatorMeta } from '../types-CW-UCfPF.js';
2
2
 
3
3
  /**
4
4
  * Validate Module - Input Validation
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta, a as StdModule, O as OperatorMeta } from './types-BCP1PEYx.js';
1
+ import { S as StdOperatorMeta, a as StdModule, O as OperatorMeta } from './types-CW-UCfPF.js';
2
2
 
3
3
  /**
4
4
  * Standard Library Registry
package/dist/registry.js CHANGED
@@ -600,6 +600,26 @@ var CORE_OPERATORS = {
600
600
  produces: { kind: "entity" }
601
601
  }
602
602
  },
603
+ "send-server": {
604
+ module: "core",
605
+ category: "effect",
606
+ minArity: 1,
607
+ maxArity: 2,
608
+ description: "Send an orbital event to the server over WebSocket (client-side; chat/real-time trigger)",
609
+ hasSideEffects: true,
610
+ returnType: "void",
611
+ params: [
612
+ { name: "event", type: EVENT_KEY, description: "Target orbital event name on the server" },
613
+ {
614
+ name: "payload",
615
+ type: { kind: "object", fields: {}, open: true },
616
+ description: "Event payload to forward to the server",
617
+ optional: true
618
+ }
619
+ ],
620
+ example: '["send-server", "CHAT_MESSAGE", { "text": "@input.text" }]',
621
+ effect: { kind: "send-server" }
622
+ },
603
623
  ref: {
604
624
  module: "core",
605
625
  category: "effect",