@nyte-ai/sdk 0.0.21 → 0.0.23

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.
@@ -6,7 +6,7 @@ import {
6
6
  } from "./capability-2q3s96kg.js";
7
7
  import {
8
8
  createClient2
9
- } from "./capability-ec663cyt.js";
9
+ } from "./capability-ht2xg669.js";
10
10
 
11
11
  // src/connect.ts
12
12
  import { IdentityChallengeSchema, isJson, SdkError } from "@nyte-ai/schema";
@@ -30,6 +30,7 @@ import {
30
30
  // src/client.ts
31
31
  import { asId, isJson, SdkError } from "@nyte-ai/schema";
32
32
  import { dev, followTrace, traced, watchStore } from "@nyte-ai/core";
33
+ import { sessionLists } from "@nyte-ai/protocol";
33
34
  var MAIN = asId("main");
34
35
  function createClient2(transport, context) {
35
36
  const link = createLink2();
@@ -50,7 +51,7 @@ function createClient2(transport, context) {
50
51
  principal: context.principal,
51
52
  credential: context.credential,
52
53
  sessions: {
53
- watch: (input) => rows.watch("sessions.watch", input ?? {}),
54
+ watch: (input) => sessionLists(rows.watch("sessions.watch", input ?? {})),
54
55
  async start(input) {
55
56
  const id = input.id ?? asId(crypto.randomUUID());
56
57
  followTrace(id, id);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createClient2
3
- } from "../chunks/capability-ec663cyt.js";
3
+ } from "../chunks/capability-ht2xg669.js";
4
4
  import"../chunks/capability-9747w1b1.js";
5
5
  import"../chunks/capability-xavf3m2f.js";
6
6
  import"../chunks/capability-nh422cp0.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  connect2
3
- } from "../chunks/capability-agj3gwwv.js";
4
- import"../chunks/capability-ec663cyt.js";
3
+ } from "../chunks/capability-gc5bfr6a.js";
4
+ import"../chunks/capability-ht2xg669.js";
5
5
  import"../chunks/capability-9747w1b1.js";
6
6
  import"../chunks/capability-xavf3m2f.js";
7
7
  import"../chunks/capability-nh422cp0.js";
@@ -8,10 +8,10 @@ import"../chunks/capability-2q3s96kg.js";
8
8
  import"../chunks/capability-nh422cp0.js";
9
9
  import"../chunks/capability-mr5m2wn2.js";
10
10
  import"../chunks/capability-xavf3m2f.js";
11
- import"../chunks/capability-ec663cyt.js";
11
+ import"../chunks/capability-ht2xg669.js";
12
12
  import {
13
13
  connect2
14
- } from "../chunks/capability-agj3gwwv.js";
14
+ } from "../chunks/capability-gc5bfr6a.js";
15
15
  import {
16
16
  pagedViews2
17
17
  } from "../chunks/capability-t9k5jy3d.js";
package/dist/src/index.js CHANGED
@@ -8,10 +8,10 @@ import"../chunks/capability-2q3s96kg.js";
8
8
  import"../chunks/capability-nh422cp0.js";
9
9
  import"../chunks/capability-mr5m2wn2.js";
10
10
  import"../chunks/capability-xavf3m2f.js";
11
- import"../chunks/capability-ec663cyt.js";
11
+ import"../chunks/capability-ht2xg669.js";
12
12
  import {
13
13
  connect2
14
- } from "../chunks/capability-agj3gwwv.js";
14
+ } from "../chunks/capability-gc5bfr6a.js";
15
15
  import {
16
16
  pagedViews2
17
17
  } from "../chunks/capability-t9k5jy3d.js";
@@ -8,10 +8,10 @@ import"../chunks/capability-2q3s96kg.js";
8
8
  import"../chunks/capability-nh422cp0.js";
9
9
  import"../chunks/capability-mr5m2wn2.js";
10
10
  import"../chunks/capability-xavf3m2f.js";
11
- import"../chunks/capability-ec663cyt.js";
11
+ import"../chunks/capability-ht2xg669.js";
12
12
  import {
13
13
  connect2
14
- } from "../chunks/capability-agj3gwwv.js";
14
+ } from "../chunks/capability-gc5bfr6a.js";
15
15
  import {
16
16
  pagedViews2
17
17
  } from "../chunks/capability-t9k5jy3d.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nyte-ai/sdk",
3
- "version": "0.0.21",
3
+ "version": "0.0.23",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -39,10 +39,10 @@
39
39
  "provenance": true
40
40
  },
41
41
  "dependencies": {
42
- "@nyte-ai/core": "0.0.21",
43
- "@nyte-ai/host": "0.0.21",
44
- "@nyte-ai/protocol": "0.0.21",
45
- "@nyte-ai/schema": "0.0.21"
42
+ "@nyte-ai/core": "0.0.23",
43
+ "@nyte-ai/host": "0.0.23",
44
+ "@nyte-ai/protocol": "0.0.23",
45
+ "@nyte-ai/schema": "0.0.23"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@nyte-ai/bench": "0.0.0",