@terminals-tech/sdk 1.0.0-rc.2 → 2.0.0-rc.1

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.
Files changed (36) hide show
  1. package/README.md +62 -20
  2. package/dist/{WebContainerManager-SHXC5VKI.js → WebContainerManager-NUGGUIWB.js} +2 -2
  3. package/dist/catalog-XA5VYWXG.js +16 -0
  4. package/dist/{chunk-PWAHFID5.js → chunk-D4MOOUDY.js} +3 -3
  5. package/dist/{chunk-FOXUEYWK.js → chunk-GOQHOLBG.js} +4 -3
  6. package/dist/{chunk-PUZ2S62E.js → chunk-ICFYWOI5.js} +61 -36
  7. package/dist/chunk-PKINKOW2.js +335 -0
  8. package/dist/chunk-PWEICJ47.js +30 -0
  9. package/dist/{chunk-BKB3MD5Y.js → chunk-Q4W3IUTD.js} +73 -12
  10. package/dist/{chunk-BCOQMFKT.js → chunk-TO7ETE5K.js} +2 -2
  11. package/dist/{chunk-Q2VI6ICE.js → chunk-UB5OINTA.js} +1 -1
  12. package/dist/{chunk-Q4B7YS7T.js → chunk-WJCIX7RO.js} +9 -69
  13. package/dist/{chunk-3CEM77QZ.js → chunk-WT6L6DK3.js} +30 -2
  14. package/dist/{chunk-UKVUPKZP.js → chunk-Y5WLSLLW.js} +1 -1
  15. package/dist/{container-lite-KQX3NMPY.js → container-lite-Q3O3EP6R.js} +9 -9
  16. package/dist/core.machine.orchestrator-NW73YDTL.js +24 -0
  17. package/dist/{demo-VXMGMJNK.js → demo-WARANXBT.js} +11 -11
  18. package/dist/{hvm-DRQK2MUT.js → hvm-A7DGZ3Q5.js} +1 -1
  19. package/dist/index.cjs +65114 -12973
  20. package/dist/index.d.cts +643 -146
  21. package/dist/index.d.ts +643 -146
  22. package/dist/index.js +2460 -454
  23. package/dist/{neuro-state-XHRGIRVO.js → neuro-state-KINIFV2D.js} +6 -6
  24. package/dist/{nodes-DXKYDTVO.js → nodes-TWQZUZRM.js} +153 -13
  25. package/dist/pglite-adapter-43IOUBMV.js +50 -0
  26. package/dist/{registry-BL3TDQDB.js → registry-UARRB6CF.js} +9 -9
  27. package/dist/resolver-ALOJSOK5.js +24 -0
  28. package/dist/{scheduler-H6Q53IMI.js → scheduler-SAQJLKXJ.js} +52 -45
  29. package/dist/sematon-2EUEZESN.js +19 -0
  30. package/dist/{server-7DM74VFW.js → server-JXM4Y2T6.js} +1 -1
  31. package/dist/{skills-KLTTT2RM.js → skills-XOFGMUP4.js} +2 -2
  32. package/dist/{stack-CHDAFU2S.js → stack-4QQCK7MG.js} +17 -15
  33. package/dist/{supabaseService-6AYP2VY3.js → supabaseService-O4ZFFLZP.js} +2 -2
  34. package/dist/{webcontainer-3LDJVIIL.js → webcontainer-PMWNRO4I.js} +2 -2
  35. package/package.json +10 -4
  36. package/dist/{chunk-SHPGIVDH.js → chunk-P4D4RNAV.js} +4 -4
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { JSONSchema7 } from 'json-schema';
2
+ import { Observable } from 'rxjs';
2
3
  import { Client } from '@modelcontextprotocol/sdk/client/index.js';
3
4
  import { StdioClientTransport } from '@modelcontextprotocol/sdk/client/stdio.js';
4
5
 
@@ -557,6 +558,9 @@ interface CoherenceMetrics$1 {
557
558
  * - Grounding: Connection to factual/contextual reality
558
559
  * - Internal: Self-consistency of reasoning
559
560
  * - Crystallization: Clarity and actionability of output
561
+ *
562
+ * Heuristic primitives are composed from L1 (core/primitives/coherence-heuristics).
563
+ * This module adds weights, configuration, explanations, and audio mapping.
560
564
  */
561
565
 
562
566
  type CoherenceMetrics = CoherenceMetrics$1;
@@ -616,7 +620,11 @@ declare function calculateCoherenceWithExplanations(input: CoherenceInput, confi
616
620
  /**
617
621
  * Validation Primitives (IO Boundary Security)
618
622
  *
619
- * Uses Ajv for JSON Schema validation.
623
+ * JSON Schema validation engine using Ajv. This is one of several validation
624
+ * engines behind the stable proof contract ({@link Validated}, {@link Untrusted},
625
+ * {@link unbrand}). The proof contract is engine-agnostic — TS-first boundaries
626
+ * may use Zod; data-first boundaries use this Ajv path; native boundaries use
627
+ * Rust serde. The branded types are the stable public API, not the engine.
620
628
  *
621
629
  * IMPORTANT: This module is NOT compatible with Vercel Edge Runtime (Middleware)
622
630
  * because Ajv uses `new Function()` for schema compilation. For Edge-compatible
@@ -923,7 +931,7 @@ declare function createDAG<N, E = void>(nodes: DAGNode<N>[], edges: DAGEdge<E>[]
923
931
  * @module sdk-types
924
932
  */
925
933
 
926
- interface NodePolicy$1 {
934
+ interface NodePolicy {
927
935
  fs?: {
928
936
  mode?: "sandboxed" | "full";
929
937
  allowedPaths?: string[];
@@ -933,7 +941,7 @@ interface NodePolicy$1 {
933
941
  allowList?: string[];
934
942
  };
935
943
  }
936
- interface StackPolicies$1 {
944
+ interface StackPolicies {
937
945
  fs?: {
938
946
  mode?: "sandboxed" | "full";
939
947
  allowedPaths?: string[];
@@ -1025,7 +1033,7 @@ declare function kuramotoStep(phases: ArrayLike<number>, omega: ArrayLike<number
1025
1033
  /**
1026
1034
  * Signal types for cross-layer communication
1027
1035
  */
1028
- type SignalType = "health_update" | "circuit_change" | "convergence_update" | "coherence_update" | "resonance_update" | "tensor_state_update" | "task_complete" | "task_failed" | "adaptation_required" | "backpressure_warning" | "audio_metrics_update" | "mesh_update" | "mesh_query" | "session_state_change" | "skill_capture_started" | "skill_action_recorded" | "skill_capture_completed" | "skill_crystallized" | "skill_training_started" | "skill_training_completed" | "skill_artifact_activated" | "skill_suggested" | "skill_executed" | "skill_peer_review" | "skill_delegation" | "skill_agent_refine" | "skill_selection" | "skill_backpressure" | "skill_budget_exceeded" | "skill_error" | "interaction_created" | "interaction_status_changed" | "deploy_scaffold" | "deploy_push" | "deploy_build" | "deploy_status" | "deploy_preview" | "deploy_live" | "deploy_error" | "potentiation_rising" | "potentiation_peak" | "potentiation_discharge" | "potentiation_reset" | "action_dispatched" | "action_executed" | "action_failed" | "combo_completed" | "input_surface_changed" | "forge_scene_saved" | "forge_iteration_recorded" | "forge_profile_crystallized" | "forge_profile_requested" | "integration_connected" | "integration_disconnected" | "integration_heartbeat" | "integration_error" | "ui_navigation" | "ui_surface_opened" | "ui_surface_closed" | "ui_interaction" | "ui_error_shown" | "ui_search" | "artifact_preview" | "manifold_node_added" | "manifold_edge_added" | "manifold_query" | "manifold_snapshot" | "connector_status_changed" | "connector_sync_started" | "connector_sync_complete" | "connector_sync_error" | "connector_document_indexed" | "graph_entity_upserted" | "graph_relationship_added" | "graph_traversal_complete" | "intent_signal_emitted" | "oscillator_phase_updated" | "oscillator_suggestion_generated" | "journey_note_created" | "journey_note_deleted" | "journey_edge_created" | "journey_cluster_created" | "journey_replay_entered" | "journey_replay_exited" | "journey_spatial_navigate" | "journey_completed" | "boundary_crossed" | "boundary_sealed" | "convergence_declared" | "convergence_lost" | "crystallization_declared" | "crystallization_melted" | "chat_message_sent" | "chat_message_received" | "chat_error" | "coherence_gate_accepted" | "coherence_gate_rejected" | "manifold_geodesic_computed" | "manifold_distance_measured" | "sematon_created" | "sematon_witnessed" | "sematon_folded" | "sematon_realized" | "sematon_expired" | "voice_identity_encoded" | "voice_speaking_started" | "voice_speaking_completed" | "voice_chunk_scheduled" | "voice_coherence_mapped";
1036
+ type SignalType = "health_update" | "circuit_change" | "convergence_update" | "coherence_update" | "resonance_update" | "tensor_state_update" | "task_complete" | "task_failed" | "adaptation_required" | "backpressure_warning" | "audio_metrics_update" | "mesh_update" | "mesh_metrics_update" | "mesh_query" | "session_state_change" | "skill_capture_started" | "skill_action_recorded" | "skill_capture_completed" | "skill_crystallized" | "skill_training_started" | "skill_training_completed" | "skill_artifact_activated" | "skill_suggested" | "skill_executed" | "skill_peer_review" | "skill_delegation" | "skill_agent_refine" | "skill_selection" | "skill_backpressure" | "skill_budget_exceeded" | "skill_error" | "interaction_created" | "interaction_status_changed" | "deploy_scaffold" | "deploy_push" | "deploy_build" | "deploy_status" | "deploy_preview" | "deploy_live" | "deploy_error" | "potentiation_rising" | "potentiation_peak" | "potentiation_discharge" | "potentiation_reset" | "action_dispatched" | "action_executed" | "action_failed" | "combo_completed" | "input_surface_changed" | "forge_scene_saved" | "forge_iteration_recorded" | "forge_profile_crystallized" | "forge_profile_requested" | "integration_connected" | "integration_disconnected" | "integration_heartbeat" | "integration_error" | "ui_navigation" | "ui_surface_opened" | "ui_surface_closed" | "ui_interaction" | "ui_error_shown" | "ui_search" | "artifact_preview" | "manifold_node_added" | "manifold_edge_added" | "manifold_query" | "manifold_snapshot" | "connector_status_changed" | "connector_sync_started" | "connector_sync_complete" | "connector_sync_error" | "connector_document_indexed" | "graph_entity_upserted" | "graph_relationship_added" | "graph_traversal_complete" | "intent_signal_emitted" | "oscillator_phase_updated" | "oscillator_suggestion_generated" | "journey_note_created" | "journey_note_deleted" | "journey_edge_created" | "journey_cluster_created" | "journey_replay_entered" | "journey_replay_exited" | "journey_spatial_navigate" | "journey_completed" | "boundary_crossed" | "boundary_sealed" | "convergence_declared" | "convergence_lost" | "crystallization_declared" | "crystallization_melted" | "chat_message_sent" | "chat_message_received" | "chat_error" | "coherence_gate_accepted" | "coherence_gate_rejected" | "manifold_geodesic_computed" | "manifold_distance_measured" | "sematon_created" | "sematon_witnessed" | "sematon_folded" | "sematon_realized" | "sematon_expired" | "voice_identity_encoded" | "voice_speaking_started" | "voice_speaking_completed" | "voice_chunk_scheduled" | "voice_coherence_mapped";
1029
1037
  /**
1030
1038
  * Layer-aware signal for AXON cross-layer communication
1031
1039
  */
@@ -1340,6 +1348,326 @@ interface PlatformConfig {
1340
1348
  audio?: AudioSourceConfig;
1341
1349
  }
1342
1350
 
1351
+ /**
1352
+ * L0 Sematon — The Smallest Meaning-Bearing Unit
1353
+ *
1354
+ * The sematon is the atomic unit of operational meaning in Terminals OS.
1355
+ * It carries a typed payload, convergence witness, p-adic address,
1356
+ * information-theoretic metrics, and a constructor flag that guarantees
1357
+ * the Deutsch-Marletto invariant: after transforming an input, the
1358
+ * sematon retains the ability to transform again.
1359
+ *
1360
+ * The sematon unifies Signal<T>, ContextNode, FractalSnapshot,
1361
+ * ConvergenceWitness, and CombinatorEvent into a single formal type
1362
+ * at the L0 foundation layer.
1363
+ *
1364
+ * Core Engine Primitive.
1365
+ *
1366
+ * @license BUSL-1.1
1367
+ * @copyright © 2026 Intuition Labs LLC. All rights reserved. Patent Pending.
1368
+ * @module core/L0/sematon
1369
+ */
1370
+ /**
1371
+ * Payload kind classification for sematons.
1372
+ * Determines how the payload is interpreted across layers.
1373
+ */
1374
+ type SematonKind = "signal" | "context" | "fractal" | "witness" | "combinator" | "interaction" | "custom";
1375
+ /**
1376
+ * Convergence witness snapshot embedded in a sematon.
1377
+ * Minimal subset of ConvergenceWitness for portability.
1378
+ */
1379
+ interface SematonWitness {
1380
+ /** Kuramoto order parameter R in [0, 1] */
1381
+ R: number;
1382
+ /** Shannon entropy of activation distribution */
1383
+ activationEntropy: number;
1384
+ /** Whether convergence criteria are met */
1385
+ converged: boolean;
1386
+ /** Step at which this witness was taken */
1387
+ step: number;
1388
+ }
1389
+ /**
1390
+ * The Sematon — smallest meaning-bearing unit with operational consequence.
1391
+ *
1392
+ * Generic over T (the payload type):
1393
+ * T = Signal payload at signal kind
1394
+ * T = ContextNode metadata at context kind
1395
+ * T = FractalSnapshot at fractal kind
1396
+ * T = arbitrary at custom kind
1397
+ */
1398
+ interface Sematon<T = unknown> {
1399
+ /** Unique identifier */
1400
+ readonly id: string;
1401
+ /** Payload kind classification */
1402
+ readonly kind: SematonKind;
1403
+ /** The meaning-bearing payload */
1404
+ readonly payload: T;
1405
+ /** Convergence witness at creation time */
1406
+ readonly witness: SematonWitness;
1407
+ /** p-adic address for hierarchical locality */
1408
+ readonly padicAddress: string;
1409
+ /** Shannon entropy of payload (bits) */
1410
+ readonly entropy: number;
1411
+ /** Semantic density (bits per token) */
1412
+ readonly density: number;
1413
+ /** The resistance to constructive transformation: H / (ρ * R) */
1414
+ readonly impedance: number;
1415
+ /** Deterministic content hash (FNV-1a) */
1416
+ readonly shapeHash: string;
1417
+ /**
1418
+ * Constructor flag: can this sematon participate in further transformations?
1419
+ * True iff: witness has converged AND entropy is finite AND payload is non-empty.
1420
+ * This is the Deutsch-Marletto invariant.
1421
+ */
1422
+ readonly constructive: boolean;
1423
+ /** Creation timestamp */
1424
+ readonly createdAt: number;
1425
+ /** Source layer or surface that produced this sematon */
1426
+ readonly source: string;
1427
+ }
1428
+ /**
1429
+ * Folded (serializable) representation of a Sematon.
1430
+ * Suitable for JSON serialization, mesh relay, or persistence.
1431
+ */
1432
+ interface FoldedSematon {
1433
+ id: string;
1434
+ kind: SematonKind;
1435
+ payload: string;
1436
+ witness: SematonWitness;
1437
+ padicAddress: string;
1438
+ entropy: number;
1439
+ density: number;
1440
+ impedance: number;
1441
+ shapeHash: string;
1442
+ constructive: boolean;
1443
+ createdAt: number;
1444
+ source: string;
1445
+ }
1446
+ interface SematonConfig<T> {
1447
+ kind: SematonKind;
1448
+ payload: T;
1449
+ witness: SematonWitness;
1450
+ padicAddress?: string;
1451
+ source?: string;
1452
+ }
1453
+ /**
1454
+ * Create a new Sematon from configuration.
1455
+ */
1456
+ declare function createSematon<T>(config: SematonConfig<T>): Sematon<T>;
1457
+ /**
1458
+ * Get the Shannon entropy of a sematon's payload.
1459
+ */
1460
+ declare function sematonEntropy<T>(sematon: Sematon<T>): number;
1461
+ /**
1462
+ * Get the semantic density of a sematon.
1463
+ */
1464
+ declare function sematonDensity<T>(sematon: Sematon<T>): number;
1465
+ /**
1466
+ * Check if a sematon can participate in further transformations.
1467
+ * This is the Deutsch-Marletto constructor invariant.
1468
+ */
1469
+ declare function isRealizable<T>(sematon: Sematon<T>): boolean;
1470
+ /**
1471
+ * Compute distance between two sematons using payload cosine similarity
1472
+ * weighted by witness R proximity.
1473
+ *
1474
+ * Distance in [0, 1] where 0 = identical, 1 = maximally different.
1475
+ */
1476
+ declare function sematonDistance<T>(a: Sematon<T>, b: Sematon<T>): number;
1477
+ /**
1478
+ * Fold a Sematon into a JSON-serializable representation.
1479
+ * HVM γ (construct) — compress for handoff, persistence, or relay.
1480
+ */
1481
+ declare function foldSematon<T>(sematon: Sematon<T>): FoldedSematon;
1482
+ /**
1483
+ * Unfold a serialized representation back into a Sematon.
1484
+ * HVM δ (duplicate) — expand from handoff, persistence, or relay.
1485
+ */
1486
+ declare function unfoldSematon<T>(folded: FoldedSematon): Sematon<T>;
1487
+
1488
+ /**
1489
+ * ELI5 Result Types for @terminals-tech/agent
1490
+ *
1491
+ * Wraps internal Sematon<TerminalRunResult> into developer-friendly types.
1492
+ * Theory stays in the engine; developers get plain objects.
1493
+ *
1494
+ * @license MIT
1495
+ * @module agent/result
1496
+ */
1497
+
1498
+ /**
1499
+ * Execution receipt — cryptographic proof that the workflow executed.
1500
+ * This is a Sematon under the hood, but developers see "receipt".
1501
+ */
1502
+ type ExecutionReceipt = Sematon<TerminalRunResult>;
1503
+ /**
1504
+ * A single execution step in the workflow trace.
1505
+ */
1506
+ interface Step {
1507
+ /** Which agent ran this step */
1508
+ agent: string;
1509
+ /** Step output data */
1510
+ output: unknown;
1511
+ /** Step index in the execution sequence */
1512
+ index: number;
1513
+ }
1514
+ /**
1515
+ * Per-agent performance report.
1516
+ */
1517
+ interface AgentReport {
1518
+ /** Agent node ID */
1519
+ id: string;
1520
+ /** Agent output data */
1521
+ output: unknown;
1522
+ }
1523
+ /**
1524
+ * The developer-facing result from Terminal.run().
1525
+ *
1526
+ * Provides direct access to outputs, coherence score, and execution proof
1527
+ * without requiring knowledge of Sematons or Kuramoto dynamics.
1528
+ */
1529
+ interface TerminalResult {
1530
+ /** The text output from the final agent in the workflow */
1531
+ text: string;
1532
+ /** Coherence score: 0-1 measure of agent alignment quality */
1533
+ coherence: number;
1534
+ /** Execution receipt — proof the workflow ran correctly */
1535
+ receipt: ExecutionReceipt;
1536
+ /** Ordered execution steps */
1537
+ steps: Step[];
1538
+ /** Per-agent performance reports */
1539
+ agents: AgentReport[];
1540
+ /** Total execution time in milliseconds */
1541
+ duration: number;
1542
+ }
1543
+
1544
+ /**
1545
+ * Terminal.create() Developer API
1546
+ *
1547
+ * The developer-facing entry point for creating and running multi-agent
1548
+ * terminal workflows. Translates semantic configuration into the internal
1549
+ * StackManifestV0 / OrchestratorV0 infrastructure and wraps results as
1550
+ * Sematon<TerminalRunResult>.
1551
+ *
1552
+ * This is a headless API -- no React, no "use client".
1553
+ *
1554
+ * @license BUSL-1.1
1555
+ * @copyright 2026 Intuition Labs LLC. All rights reserved. Patent Pending.
1556
+ * @module agent-sdk/terminal
1557
+ */
1558
+
1559
+ /**
1560
+ * Agent definition within a terminal workflow.
1561
+ */
1562
+ interface TerminalAgent {
1563
+ /** Role name for the agent (e.g. "researcher", "writer", "reviewer") */
1564
+ role: string;
1565
+ /** Optional capability declarations for this agent */
1566
+ capabilities?: string[];
1567
+ }
1568
+ /**
1569
+ * Coherence configuration for convergence-aware execution.
1570
+ */
1571
+ interface TerminalCoherenceConfig {
1572
+ /** Kuramoto R threshold for constructive sematon flag (default: 0.6) */
1573
+ threshold?: number;
1574
+ /** Ground truth strings for coherence grounding */
1575
+ groundTruth?: string[];
1576
+ }
1577
+ /**
1578
+ * Developer-facing configuration for Terminal.create().
1579
+ *
1580
+ * Named TerminalCreateConfig to avoid collision with the internal
1581
+ * TerminalConfig from core/terminal.ts.
1582
+ */
1583
+ interface TerminalCreateConfig {
1584
+ /** Agent definitions -- each becomes a provider.chat.v1 node */
1585
+ agents: TerminalAgent[];
1586
+ /** The task prompt driving the workflow */
1587
+ task: string;
1588
+ /** Coherence / convergence settings */
1589
+ coherence?: TerminalCoherenceConfig;
1590
+ /** LLM provider identifier (e.g. "openrouter", "anthropic") */
1591
+ provider?: string;
1592
+ /** Model identifier (e.g. "claude-sonnet-4-20250514") */
1593
+ model?: string;
1594
+ }
1595
+ /**
1596
+ * Developer-facing configuration — the simplified public interface.
1597
+ * Extends TerminalCreateConfig with orchestration and verification options.
1598
+ */
1599
+ interface TerminalConfig extends TerminalCreateConfig {
1600
+ /** Orchestration strategy for multi-agent execution */
1601
+ orchestration?: "sequential" | "parallel" | "society" | "consensus";
1602
+ /** Enable DRM execution verification (generates execution receipts) */
1603
+ verify?: boolean;
1604
+ /** Enable streaming mode */
1605
+ stream?: boolean;
1606
+ }
1607
+ /**
1608
+ * Result payload wrapped inside a Sematon after Terminal.run().
1609
+ */
1610
+ interface TerminalRunResult {
1611
+ /** Collected outputs from all agent nodes, keyed by node ID */
1612
+ outputs: Record<string, unknown>;
1613
+ /** Total execution duration in milliseconds */
1614
+ duration: number;
1615
+ }
1616
+ /**
1617
+ * Terminal -- the developer-facing orchestration API.
1618
+ *
1619
+ * Usage:
1620
+ * ```ts
1621
+ * const t = await Terminal.create({
1622
+ * agents: [
1623
+ * { role: "researcher" },
1624
+ * { role: "writer", capabilities: ["markdown"] },
1625
+ * ],
1626
+ * task: "Write a technical summary of quantum error correction",
1627
+ * coherence: { threshold: 0.7 },
1628
+ * provider: "openrouter",
1629
+ * model: "anthropic/claude-sonnet-4-20250514",
1630
+ * });
1631
+ *
1632
+ * const result = await t.run();
1633
+ * console.log(result.payload.outputs);
1634
+ * ```
1635
+ */
1636
+ declare class Terminal {
1637
+ /** Unique terminal identifier */
1638
+ readonly id: string;
1639
+ private readonly config;
1640
+ private readonly manifest;
1641
+ private constructor();
1642
+ /**
1643
+ * Create a new Terminal from semantic configuration.
1644
+ *
1645
+ * Translates the developer-friendly config into internal stack manifests,
1646
+ * registers required nodes, and returns a ready-to-run Terminal.
1647
+ */
1648
+ static create(config: TerminalCreateConfig): Promise<Terminal>;
1649
+ /**
1650
+ * Execute the terminal workflow and return a Sematon-wrapped result.
1651
+ *
1652
+ * Uses OrchestratorV0 to run the DAG, then wraps the output
1653
+ * in a Sematon<TerminalRunResult> with convergence witness.
1654
+ */
1655
+ run(): Promise<Sematon<TerminalRunResult>>;
1656
+ /**
1657
+ * Static convenience: create and run a terminal in one call.
1658
+ * Returns a developer-friendly TerminalResult instead of a raw Sematon.
1659
+ */
1660
+ static run(config: TerminalConfig): Promise<TerminalResult>;
1661
+ /**
1662
+ * Chain a new terminal execution from a previous Sematon result.
1663
+ *
1664
+ * Extracts `prev.payload.outputs` and injects them as `previousOutputs`
1665
+ * in the config overrides, then creates a new Terminal, runs it, and
1666
+ * returns the new Sematon.
1667
+ */
1668
+ static chain(prev: Sematon<unknown>, config: Partial<TerminalCreateConfig>): Promise<Sematon<TerminalRunResult>>;
1669
+ }
1670
+
1343
1671
  /**
1344
1672
  * Terminal SDK — High-level Terminal management
1345
1673
  *
@@ -1359,9 +1687,13 @@ type terminal_PlatformIdentity = PlatformIdentity;
1359
1687
  type terminal_PlatformTheme = PlatformTheme;
1360
1688
  type terminal_SurfaceId = SurfaceId;
1361
1689
  type terminal_TaskStatus = TaskStatus;
1690
+ type terminal_Terminal = Terminal;
1691
+ declare const terminal_Terminal: typeof Terminal;
1692
+ type terminal_TerminalCreateConfig = TerminalCreateConfig;
1693
+ type terminal_TerminalRunResult = TerminalRunResult;
1362
1694
  declare const terminal_createInteractionWithEvents: typeof createInteractionWithEvents;
1363
1695
  declare namespace terminal {
1364
- export { type terminal_Interaction as Interaction, type terminal_InteractionStatus as InteractionStatus, type terminal_InteractionType as InteractionType, type terminal_LayerLevel as LayerLevel, type terminal_PlatformConfig as PlatformConfig, type terminal_PlatformIdentity as PlatformIdentity, type terminal_PlatformTheme as PlatformTheme, type terminal_SurfaceId as SurfaceId, type terminal_TaskStatus as TaskStatus, createInteractionWithEvents as createInteraction, terminal_createInteractionWithEvents as createInteractionWithEvents };
1696
+ export { type terminal_Interaction as Interaction, type terminal_InteractionStatus as InteractionStatus, type terminal_InteractionType as InteractionType, type terminal_LayerLevel as LayerLevel, type terminal_PlatformConfig as PlatformConfig, type terminal_PlatformIdentity as PlatformIdentity, type terminal_PlatformTheme as PlatformTheme, type terminal_SurfaceId as SurfaceId, type terminal_TaskStatus as TaskStatus, terminal_Terminal as Terminal, type terminal_TerminalCreateConfig as TerminalCreateConfig, type terminal_TerminalRunResult as TerminalRunResult, createInteractionWithEvents as createInteraction, terminal_createInteractionWithEvents as createInteractionWithEvents };
1365
1697
  }
1366
1698
 
1367
1699
  /**
@@ -1958,143 +2290,6 @@ declare function checkCompatibility(shapeA: TypeShape, shapeB: TypeShape): numbe
1958
2290
  */
1959
2291
  declare function canEmbed(source: TypeShape, target: TypeShape): boolean;
1960
2292
 
1961
- /**
1962
- * L0 Sematon — The Smallest Meaning-Bearing Unit
1963
- *
1964
- * The sematon is the atomic unit of operational meaning in Terminals OS.
1965
- * It carries a typed payload, convergence witness, p-adic address,
1966
- * information-theoretic metrics, and a constructor flag that guarantees
1967
- * the Deutsch-Marletto invariant: after transforming an input, the
1968
- * sematon retains the ability to transform again.
1969
- *
1970
- * The sematon unifies Signal<T>, ContextNode, FractalSnapshot,
1971
- * ConvergenceWitness, and CombinatorEvent into a single formal type
1972
- * at the L0 foundation layer.
1973
- *
1974
- * Core Engine Primitive.
1975
- *
1976
- * @license BUSL-1.1
1977
- * @copyright © 2026 Intuition Labs LLC. All rights reserved. Patent Pending.
1978
- * @module core/L0/sematon
1979
- */
1980
- /**
1981
- * Payload kind classification for sematons.
1982
- * Determines how the payload is interpreted across layers.
1983
- */
1984
- type SematonKind = "signal" | "context" | "fractal" | "witness" | "combinator" | "interaction" | "custom";
1985
- /**
1986
- * Convergence witness snapshot embedded in a sematon.
1987
- * Minimal subset of ConvergenceWitness for portability.
1988
- */
1989
- interface SematonWitness {
1990
- /** Kuramoto order parameter R in [0, 1] */
1991
- R: number;
1992
- /** Shannon entropy of activation distribution */
1993
- activationEntropy: number;
1994
- /** Whether convergence criteria are met */
1995
- converged: boolean;
1996
- /** Step at which this witness was taken */
1997
- step: number;
1998
- }
1999
- /**
2000
- * The Sematon — smallest meaning-bearing unit with operational consequence.
2001
- *
2002
- * Generic over T (the payload type):
2003
- * T = Signal payload at signal kind
2004
- * T = ContextNode metadata at context kind
2005
- * T = FractalSnapshot at fractal kind
2006
- * T = arbitrary at custom kind
2007
- */
2008
- interface Sematon<T = unknown> {
2009
- /** Unique identifier */
2010
- readonly id: string;
2011
- /** Payload kind classification */
2012
- readonly kind: SematonKind;
2013
- /** The meaning-bearing payload */
2014
- readonly payload: T;
2015
- /** Convergence witness at creation time */
2016
- readonly witness: SematonWitness;
2017
- /** p-adic address for hierarchical locality */
2018
- readonly padicAddress: string;
2019
- /** Shannon entropy of payload (bits) */
2020
- readonly entropy: number;
2021
- /** Semantic density (bits per token) */
2022
- readonly density: number;
2023
- /** The resistance to constructive transformation: H / (ρ * R) */
2024
- readonly impedance: number;
2025
- /** Deterministic content hash (FNV-1a) */
2026
- readonly shapeHash: string;
2027
- /**
2028
- * Constructor flag: can this sematon participate in further transformations?
2029
- * True iff: witness has converged AND entropy is finite AND payload is non-empty.
2030
- * This is the Deutsch-Marletto invariant.
2031
- */
2032
- readonly constructive: boolean;
2033
- /** Creation timestamp */
2034
- readonly createdAt: number;
2035
- /** Source layer or surface that produced this sematon */
2036
- readonly source: string;
2037
- }
2038
- /**
2039
- * Folded (serializable) representation of a Sematon.
2040
- * Suitable for JSON serialization, mesh relay, or persistence.
2041
- */
2042
- interface FoldedSematon {
2043
- id: string;
2044
- kind: SematonKind;
2045
- payload: string;
2046
- witness: SematonWitness;
2047
- padicAddress: string;
2048
- entropy: number;
2049
- density: number;
2050
- impedance: number;
2051
- shapeHash: string;
2052
- constructive: boolean;
2053
- createdAt: number;
2054
- source: string;
2055
- }
2056
- interface SematonConfig<T> {
2057
- kind: SematonKind;
2058
- payload: T;
2059
- witness: SematonWitness;
2060
- padicAddress?: string;
2061
- source?: string;
2062
- }
2063
- /**
2064
- * Create a new Sematon from configuration.
2065
- */
2066
- declare function createSematon<T>(config: SematonConfig<T>): Sematon<T>;
2067
- /**
2068
- * Get the Shannon entropy of a sematon's payload.
2069
- */
2070
- declare function sematonEntropy<T>(sematon: Sematon<T>): number;
2071
- /**
2072
- * Get the semantic density of a sematon.
2073
- */
2074
- declare function sematonDensity<T>(sematon: Sematon<T>): number;
2075
- /**
2076
- * Check if a sematon can participate in further transformations.
2077
- * This is the Deutsch-Marletto constructor invariant.
2078
- */
2079
- declare function isRealizable<T>(sematon: Sematon<T>): boolean;
2080
- /**
2081
- * Compute distance between two sematons using payload cosine similarity
2082
- * weighted by witness R proximity.
2083
- *
2084
- * Distance in [0, 1] where 0 = identical, 1 = maximally different.
2085
- */
2086
- declare function sematonDistance<T>(a: Sematon<T>, b: Sematon<T>): number;
2087
- /**
2088
- * Fold a Sematon into a JSON-serializable representation.
2089
- * HVM γ (construct) — compress for handoff, persistence, or relay.
2090
- */
2091
- declare function foldSematon<T>(sematon: Sematon<T>): FoldedSematon;
2092
- /**
2093
- * Unfold a serialized representation back into a Sematon.
2094
- * HVM δ (duplicate) — expand from handoff, persistence, or relay.
2095
- */
2096
- declare function unfoldSematon<T>(folded: FoldedSematon): Sematon<T>;
2097
-
2098
2293
  /**
2099
2294
  * L0 Realizability Trace — Constructor Proof Runtime
2100
2295
  *
@@ -2556,8 +2751,91 @@ declare namespace protocol {
2556
2751
  export { type protocol_AgentBus as AgentBus, type protocol_AgentMessage as AgentMessage, type protocol_AgentMessageType as AgentMessageType, type protocol_DelegationChain as DelegationChain, type protocol_DelegationEdge as DelegationEdge, type protocol_DelegationEdgeInput as DelegationEdgeInput, type protocol_DelegationEndpoint as DelegationEndpoint, protocol_createAgentBus as createAgentBus, protocol_createDelegationChain as createDelegationChain, protocol_createDelegationEdge as createDelegationEdge, protocol_isValidSurfaceId as isValidSurfaceId };
2557
2752
  }
2558
2753
 
2559
- type NodePolicy = NodePolicy$1;
2560
- type StackPolicies = StackPolicies$1;
2754
+ /**
2755
+ * Trigger Type System
2756
+ *
2757
+ * Canonical discriminated-union types for all stack trigger mechanisms.
2758
+ * A trigger defines *when* and *how* a stack run is initiated.
2759
+ *
2760
+ * Usage:
2761
+ * - StackManifestV0.triggerConfig holds the declared trigger for a stack.
2762
+ * - TriggerContext is injected into every run so downstream nodes can inspect
2763
+ * how the execution was started.
2764
+ * - NodeSecretRef lets webhook triggers reference vault-backed HMAC keys
2765
+ * through the provider control plane instead of inline secrets.
2766
+ *
2767
+ * @module machines/core/types/trigger
2768
+ */
2769
+
2770
+ /** Run the stack on a fixed time interval. */
2771
+ interface IntervalTriggerConfig {
2772
+ kind: "interval";
2773
+ /** Seconds between runs. Minimum enforced at 1. */
2774
+ everySeconds: number;
2775
+ }
2776
+ /**
2777
+ * Run the stack on a standard 5-field cron schedule.
2778
+ *
2779
+ * The expression follows the POSIX/Vixie-cron syntax:
2780
+ * `minute hour day-of-month month day-of-week`
2781
+ *
2782
+ * @example "0 9 * * 1-5" // weekdays at 09:00 UTC
2783
+ * @example "* /15 * * * *" // every 15 minutes (non-standard extended form)
2784
+ */
2785
+ interface CronTriggerConfig {
2786
+ kind: "cron";
2787
+ /** Standard 5-field cron expression. */
2788
+ expression: string;
2789
+ /** IANA timezone name (default: "UTC"). */
2790
+ timezone?: string;
2791
+ }
2792
+ /**
2793
+ * Run the stack when an inbound HTTP webhook is received.
2794
+ *
2795
+ * Secret verification:
2796
+ * - Use `secretRef` for production — the key stays server-side.
2797
+ * - Use the inline `secret` field only for dev/test environments.
2798
+ */
2799
+ interface WebhookTriggerConfig {
2800
+ kind: "webhook";
2801
+ /** Relative path segment appended to the stack webhook base URL. */
2802
+ path?: string;
2803
+ /** Accepted HTTP method (default: "POST"). */
2804
+ method?: "GET" | "POST" | "PUT" | "PATCH";
2805
+ /**
2806
+ * Inline HMAC signing secret.
2807
+ * Production deployments should prefer `secretRef` to keep the value
2808
+ * server-side in the Supabase vault.
2809
+ */
2810
+ secret?: string;
2811
+ /** Vault-backed secret reference for the HMAC signing key. */
2812
+ secretRef?: NodeSecretRef;
2813
+ }
2814
+ /**
2815
+ * Run the stack when a matching AXON event is published on the given topic.
2816
+ *
2817
+ * AXON cross-layer events are published via `system.signal.emit.v1` nodes or
2818
+ * directly through the AXON kernel. The filter is applied against the event
2819
+ * payload before dispatching.
2820
+ */
2821
+ interface EventTriggerConfig {
2822
+ kind: "event";
2823
+ /** AXON event topic string (e.g. "brain.index.complete", "user.action.*"). */
2824
+ topic: string;
2825
+ /**
2826
+ * Optional shallow equality filter applied to the event payload.
2827
+ * Only events whose payload contains all key-value pairs in this map
2828
+ * will dispatch the stack run.
2829
+ */
2830
+ filter?: Record<string, unknown>;
2831
+ }
2832
+ /** Run the stack only when explicitly requested via the API or UI. */
2833
+ interface ManualTriggerConfig {
2834
+ kind: "manual";
2835
+ }
2836
+ /** Discriminated union over all trigger kinds. */
2837
+ type TriggerConfig = IntervalTriggerConfig | CronTriggerConfig | WebhookTriggerConfig | EventTriggerConfig | ManualTriggerConfig;
2838
+
2561
2839
  /**
2562
2840
  * Runtime tier for node execution.
2563
2841
  *
@@ -2573,6 +2851,29 @@ type StackPolicies = StackPolicies$1;
2573
2851
  * const tier: RuntimeTier = "worker";
2574
2852
  */
2575
2853
  type RuntimeTier = "worker" | "container-lite" | "webcontainer" | "edge" | "wasm-hvm" | "stack";
2854
+ /**
2855
+ * Secret reference for node execution.
2856
+ *
2857
+ * Links a secret from the vault into node environment.
2858
+ *
2859
+ * @example
2860
+ * const secret: NodeSecretRef = {
2861
+ * name: "api_key",
2862
+ * scope: "stack",
2863
+ * env: "OPENAI_API_KEY",
2864
+ * required: true
2865
+ * };
2866
+ */
2867
+ interface NodeSecretRef {
2868
+ /** Secret identifier in vault */
2869
+ name: string;
2870
+ /** Resolution scope: node-local or stack-wide */
2871
+ scope: "node" | "stack";
2872
+ /** Environment variable name (defaults to name if omitted) */
2873
+ env?: string;
2874
+ /** Whether secret must exist (default: false) */
2875
+ required?: boolean;
2876
+ }
2576
2877
  /**
2577
2878
  * Base manifest fields shared by nodes and stacks.
2578
2879
  *
@@ -2628,6 +2929,24 @@ interface StackRuntimes {
2628
2929
  /** Per-node runtime tier overrides (nodeId -> tiers) */
2629
2930
  overrides?: Record<string, RuntimeTier[]>;
2630
2931
  }
2932
+ /**
2933
+ * Reference from a stack node to a brain connector instance.
2934
+ *
2935
+ * Binds the connector's extracted data chunks into this node's input,
2936
+ * allowing RAG / knowledge-graph results to flow into the execution graph.
2937
+ */
2938
+ interface ConnectorRef {
2939
+ /** ID of the ConnectorInstance in the brain pipeline. */
2940
+ connectorId: string;
2941
+ /** ID of the ConnectorDefinition (catalog entry). */
2942
+ definitionId: string;
2943
+ /**
2944
+ * Optional shallow filter applied to DataChunks from this connector.
2945
+ * Only chunks whose metadata contains all key-value pairs in this map
2946
+ * will be included.
2947
+ */
2948
+ dataChunkFilter?: Record<string, unknown>;
2949
+ }
2631
2950
  /**
2632
2951
  * Node configuration within a stack.
2633
2952
  *
@@ -2655,6 +2974,11 @@ interface StackNodeConfig {
2655
2974
  policies?: NodePolicy;
2656
2975
  /** Secret names from stack.secrets */
2657
2976
  secrets?: string[];
2977
+ /**
2978
+ * Reference to a brain connector whose data chunks feed this node.
2979
+ * The orchestrator resolves this at run-time before invoking the node.
2980
+ */
2981
+ connectorRef?: ConnectorRef;
2658
2982
  }
2659
2983
  /**
2660
2984
  * Directed edge connecting two nodes in the stack DAG.
@@ -2715,6 +3039,14 @@ interface StackManifestV0 extends BaseManifestV0 {
2715
3039
  runtimes?: StackRuntimes;
2716
3040
  /** Provenance layer (L0 or L1) */
2717
3041
  layer?: ManifestLayer;
3042
+ /**
3043
+ * Declared trigger for this stack.
3044
+ *
3045
+ * Defines when and how the stack is automatically started.
3046
+ * The orchestrator and scheduler use this at registration time.
3047
+ * When absent, the stack is manual-only.
3048
+ */
3049
+ triggerConfig?: TriggerConfig;
2718
3050
  }
2719
3051
 
2720
3052
  /**
@@ -3024,6 +3356,171 @@ declare namespace skill {
3024
3356
  export { skill_SKILL_CATEGORIES as SKILL_CATEGORIES, skill_SKILL_RANKS as SKILL_RANKS, skill_SKILL_RUN_STATUSES as SKILL_RUN_STATUSES, skill_SKILL_SIGNAL_CODES as SKILL_SIGNAL_CODES, skill_SKILL_TIERS as SKILL_TIERS, type skill_SkillAgent as SkillAgent, type skill_SkillCapabilities as SkillCapabilities, type skill_SkillCategory as SkillCategory, type skill_SkillEventType as SkillEventType, type skill_SkillHealth as SkillHealth, type skill_SkillManifest as SkillManifest, type skill_SkillMeta as SkillMeta, type skill_SkillRank as SkillRank, type skill_SkillRunStatus as SkillRunStatus, type skill_SkillSignalCode as SkillSignalCode, type skill_SkillTier as SkillTier, skill_ensureSkillsRegistered as ensureSkillsRegistered, skill_getAllSkills as getAllSkills, skill_getSkill as getSkill, skill_getSkillCount as getSkillCount, skill_getSkillsByCategory as getSkillsByCategory, skill_registerSkill as registerSkill };
3025
3357
  }
3026
3358
 
3359
+ /**
3360
+ * Manifold Annihilation API
3361
+ *
3362
+ * Converges an Intent Manifold and a Context Manifold via py2bend compilation
3363
+ * and HVM reduction where available.
3364
+ */
3365
+
3366
+ interface AnnihilationOptions {
3367
+ maxSteps?: number;
3368
+ convergenceThreshold?: number;
3369
+ gravity?: number;
3370
+ }
3371
+ interface ManifoldReductionMetrics {
3372
+ compiled: boolean;
3373
+ reduced: boolean;
3374
+ strategy: string;
3375
+ runtime: "wasm-hvm" | "compile-only";
3376
+ durationMs: number;
3377
+ warnings: string[];
3378
+ errors: string[];
3379
+ logitBias: Record<string, number>;
3380
+ }
3381
+ interface ManifoldSematonPayload {
3382
+ result: string;
3383
+ steps: number;
3384
+ intent: string;
3385
+ contextSnapshot: string;
3386
+ bendCode?: string;
3387
+ reduction: ManifoldReductionMetrics;
3388
+ }
3389
+ declare function annihilate(intent: string, context?: string, options?: AnnihilationOptions): Promise<Sematon<ManifoldSematonPayload>>;
3390
+ declare const manifold: {
3391
+ annihilate: typeof annihilate;
3392
+ };
3393
+
3394
+ type manifold$1_AnnihilationOptions = AnnihilationOptions;
3395
+ type manifold$1_ManifoldReductionMetrics = ManifoldReductionMetrics;
3396
+ type manifold$1_ManifoldSematonPayload = ManifoldSematonPayload;
3397
+ declare const manifold$1_annihilate: typeof annihilate;
3398
+ declare const manifold$1_manifold: typeof manifold;
3399
+ declare namespace manifold$1 {
3400
+ export { type manifold$1_AnnihilationOptions as AnnihilationOptions, type manifold$1_ManifoldReductionMetrics as ManifoldReductionMetrics, type manifold$1_ManifoldSematonPayload as ManifoldSematonPayload, manifold$1_annihilate as annihilate, manifold$1_manifold as manifold };
3401
+ }
3402
+
3403
+ /**
3404
+ * StateMirror - Total Context Encoding
3405
+ *
3406
+ * Continuously encodes the entire application, UI, and cognitive state into a
3407
+ * shared representational manifold. This provides the ObserverKernel with literal
3408
+ * environmental awareness, preventing "blind" execution.
3409
+ */
3410
+
3411
+ interface SystemStateSnapshot {
3412
+ /** The current URL or deep-link active in the browser */
3413
+ activeUrl: string;
3414
+ /** The specific UI component currently focused or under cursor */
3415
+ focusedComponent: string | null;
3416
+ /** The last N intents expressed by the user */
3417
+ recentIntents: string[];
3418
+ /** Latest L1 AudioKernel spectral entropy [0,1] */
3419
+ audioEntropy: number;
3420
+ /** Whether the NanoFold 3D surface is actively rendering */
3421
+ nanoFoldActive: boolean;
3422
+ /** Current System Coherence R [0,1] */
3423
+ coherenceR: number;
3424
+ /** Current active project or workspace ID */
3425
+ activeProject: string | null;
3426
+ }
3427
+ declare class StateMirror {
3428
+ private state$;
3429
+ private bridgeOwnerId;
3430
+ private bridgeOrder;
3431
+ constructor();
3432
+ private initSubscriptions;
3433
+ /** Gets the observable stream of state changes */
3434
+ get stream$(): Observable<SystemStateSnapshot>;
3435
+ /** Gets a synchronous snapshot of the current state */
3436
+ get snapshot(): SystemStateSnapshot;
3437
+ claimBridge(bridgeId: string): void;
3438
+ releaseBridge(bridgeId: string): void;
3439
+ /** Partially updates the mirror state */
3440
+ update(partial: Partial<SystemStateSnapshot>): void;
3441
+ /**
3442
+ * Bridge-scoped update to prevent multiple mounted app shells from racing
3443
+ * against the same singleton mirror.
3444
+ */
3445
+ updateFromBridge(bridgeId: string, partial: Partial<SystemStateSnapshot>): void;
3446
+ /**
3447
+ * Flattens the continuous state into a dense text manifold.
3448
+ * This is passed to the ObserverKernel to ground it in the immediate UI/UX reality.
3449
+ */
3450
+ encodeToManifold(): string;
3451
+ }
3452
+
3453
+ /**
3454
+ * ObserverField & Neurons
3455
+ *
3456
+ * Formalization of the Terminals abstraction:
3457
+ * The MicroLM is not a calculator. It is a continuous ObserverKernel.
3458
+ * Skills are not apps. They are geometric Neurons equipped by the Observer.
3459
+ *
3460
+ * @module sdk/observer
3461
+ */
3462
+
3463
+ /**
3464
+ * A hot-swappable structural template that the Observer equips to resolve intent.
3465
+ */
3466
+ interface Neuron {
3467
+ id: string;
3468
+ kind: "skill" | "isomorphism" | "prompt-sensor" | "py2bend-template";
3469
+ payload: unknown;
3470
+ gravity: number;
3471
+ }
3472
+ interface ObserverConfig {
3473
+ id: string;
3474
+ heartbeatHz?: number;
3475
+ stateMirror?: StateMirror;
3476
+ }
3477
+ /**
3478
+ * ObserverKernel - Continuous Local Witness
3479
+ *
3480
+ * An active, unbroken presence that maintains a heartbeat,
3481
+ * observes the StateMirror, and equips Neurons (skills) dynamically.
3482
+ */
3483
+ declare class ObserverKernel {
3484
+ readonly id: string;
3485
+ readonly heartbeatHz: number;
3486
+ private mirror;
3487
+ private activeNeurons;
3488
+ private coherenceR$;
3489
+ private pulseTimer;
3490
+ constructor(config: ObserverConfig);
3491
+ get coherence(): number;
3492
+ get isRunning(): boolean;
3493
+ /** Starts the continuous heartbeat */
3494
+ start(): void;
3495
+ /** Stops the heartbeat */
3496
+ stop(): void;
3497
+ /** The continuous observation loop */
3498
+ private pulse;
3499
+ /** Equips a new geometric constraint (Neuron) onto the observer */
3500
+ equipNeuron(neuron: Neuron): void;
3501
+ /** Unequips a Neuron */
3502
+ unequipNeuron(neuronId: string): void;
3503
+ /** Replace the active neuron field in one operation. */
3504
+ syncNeurons(neurons: Neuron[]): void;
3505
+ /**
3506
+ * The core execution path:
3507
+ * Flattens the active Neurons + StateMirror context, then drops them into the Annihilator.
3508
+ */
3509
+ resolve(intent: string): Promise<Sematon<any>>;
3510
+ }
3511
+ declare function disposeObserverKernel(id: string): void;
3512
+ declare function getObserverKernel(id: string, config?: Omit<ObserverConfig, "id">): ObserverKernel;
3513
+
3514
+ type observer_Neuron = Neuron;
3515
+ type observer_ObserverConfig = ObserverConfig;
3516
+ type observer_ObserverKernel = ObserverKernel;
3517
+ declare const observer_ObserverKernel: typeof ObserverKernel;
3518
+ declare const observer_disposeObserverKernel: typeof disposeObserverKernel;
3519
+ declare const observer_getObserverKernel: typeof getObserverKernel;
3520
+ declare namespace observer {
3521
+ export { type observer_Neuron as Neuron, type observer_ObserverConfig as ObserverConfig, observer_ObserverKernel as ObserverKernel, observer_disposeObserverKernel as disposeObserverKernel, observer_getObserverKernel as getObserverKernel };
3522
+ }
3523
+
3027
3524
  /**
3028
3525
  * MCP Sampling Support (MCP Specification 2025-11-25)
3029
3526
  *
@@ -3503,6 +4000,6 @@ declare function createAxonBus(): InMemoryAxonBus;
3503
4000
  *
3504
4001
  * Curated package facade for the npm package.
3505
4002
  */
3506
- declare const SDK_VERSION = "1.0.0-rc.1";
4003
+ declare const SDK_VERSION = "1.0.0";
3507
4004
 
3508
- export { type AxonMessage, type AxonMessageBus, brain as Brain, core as Core, InMemoryAxonBus, index as L0, mesh as Mesh, protocol as Protocol, ProtocolBridge, SDK_VERSION, skill as Skill, terminal as Terminal, createAxonBus, createProtocolBridge };
4005
+ export { type AxonMessage, type AxonMessageBus, brain as Brain, core as Core, InMemoryAxonBus, index as L0, manifold$1 as Manifold, mesh as Mesh, observer as Observer, protocol as Protocol, ProtocolBridge, SDK_VERSION, skill as Skill, terminal as Terminal, createAxonBus, createProtocolBridge };