@nyte-ai/schema 0.0.23 → 0.0.25-beta.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 (46) hide show
  1. package/THIRD-PARTY-NOTICES.md +2 -38
  2. package/dist/chunks/{browser-xk4psyrx.js → browser-40skw1kj.js} +1 -1
  3. package/dist/chunks/{browser-fnanbp6m.js → browser-5w8ywd56.js} +5 -4
  4. package/dist/chunks/{browser-0chm3654.js → browser-82qzgxz4.js} +13 -2
  5. package/dist/chunks/{browser-qncc807c.js → browser-b1pzvhs6.js} +1 -1
  6. package/dist/chunks/{browser-h5k4hqfq.js → browser-b1zjf2es.js} +1 -1
  7. package/dist/chunks/{browser-ay8k1s1m.js → browser-fw8cf4fc.js} +2 -2
  8. package/dist/chunks/{browser-fe66aj8v.js → browser-kmkhr82d.js} +27 -9
  9. package/dist/chunks/{browser-s2xe7c21.js → browser-pk5dmvrr.js} +3 -3
  10. package/dist/chunks/{browser-etfrcxhb.js → browser-pvrs6rs5.js} +3 -3
  11. package/dist/chunks/{browser-xensz05x.js → browser-t7t9fc1r.js} +1 -1
  12. package/dist/chunks/{browser-gzn951k8.js → browser-ts4gc07c.js} +39 -4
  13. package/dist/chunks/{browser-hq5q56sf.js → browser-wqkhghw2.js} +15 -7
  14. package/dist/src/connection.js +4 -4
  15. package/dist/src/events.d.ts +108 -108
  16. package/dist/src/events.js +3 -3
  17. package/dist/src/heads.d.ts +20 -0
  18. package/dist/src/heads.js +8 -2
  19. package/dist/src/hooks.js +2 -2
  20. package/dist/src/ids.d.ts +1 -2
  21. package/dist/src/index.js +20 -12
  22. package/dist/src/mcp.d.ts +8 -8
  23. package/dist/src/messages.d.ts +8 -0
  24. package/dist/src/messages.js +4 -2
  25. package/dist/src/parts.d.ts +40 -40
  26. package/dist/src/runs.d.ts +12 -12
  27. package/dist/src/sessions.d.ts +8 -8
  28. package/dist/src/sessions.js +2 -2
  29. package/dist/src/store.d.ts +52 -52
  30. package/dist/src/store.js +4 -4
  31. package/dist/src/views.d.ts +502 -170
  32. package/dist/src/views.js +3 -3
  33. package/dist/src/wire/operations/browser.d.ts +119 -119
  34. package/dist/src/wire/operations/fields.d.ts +6 -6
  35. package/dist/src/wire/operations/files.d.ts +52 -52
  36. package/dist/src/wire/operations/git.d.ts +121 -121
  37. package/dist/src/wire/operations/github.d.ts +34 -34
  38. package/dist/src/wire/operations/host.d.ts +299 -298
  39. package/dist/src/wire/operations/host.js +6 -6
  40. package/dist/src/wire/operations/index.d.ts +4771 -4362
  41. package/dist/src/wire/operations/index.js +9 -9
  42. package/dist/src/wire/operations/session.d.ts +2511 -2103
  43. package/dist/src/wire/operations/session.js +5 -5
  44. package/dist/src/wire/operations/workspace.d.ts +244 -244
  45. package/dist/src/wire/operations/workspace.js +3 -3
  46. package/package.json +2 -3
@@ -1,5 +1,7 @@
1
1
  export declare const GITHUB_OPERATIONS: {
2
2
  readonly "github.account": {
3
+ readonly authority: "participant";
4
+ readonly scope: "host";
3
5
  readonly kind: "query";
4
6
  readonly input: import("../../schema.ts").Schema<object>;
5
7
  readonly output: import("../../schema.ts").Schema<{
@@ -9,25 +11,25 @@ export declare const GITHUB_OPERATIONS: {
9
11
  } | {
10
12
  readonly kind: "signing_in";
11
13
  readonly deviceCode: {
12
- readonly expiresInSeconds?: number | undefined;
13
14
  readonly userCode: string;
14
15
  readonly verificationUri: string;
16
+ readonly expiresInSeconds?: number | undefined;
15
17
  };
16
18
  } | {
17
19
  readonly kind: "ready";
18
20
  readonly account: {
21
+ readonly login: string;
19
22
  readonly name?: string | undefined;
20
23
  readonly avatarUrl?: string | undefined;
21
- readonly login: string;
22
24
  };
23
25
  } | {
24
- readonly message: string;
25
26
  readonly kind: "error";
27
+ readonly message: string;
26
28
  }>;
27
- readonly authority: "participant";
28
- readonly scope: "host";
29
29
  };
30
30
  readonly "github.signIn": {
31
+ readonly authority: "owner";
32
+ readonly scope: "host";
31
33
  readonly kind: "command";
32
34
  readonly input: import("../../schema.ts").Schema<object>;
33
35
  readonly output: import("../../schema.ts").Schema<{
@@ -37,25 +39,25 @@ export declare const GITHUB_OPERATIONS: {
37
39
  } | {
38
40
  readonly kind: "signing_in";
39
41
  readonly deviceCode: {
40
- readonly expiresInSeconds?: number | undefined;
41
42
  readonly userCode: string;
42
43
  readonly verificationUri: string;
44
+ readonly expiresInSeconds?: number | undefined;
43
45
  };
44
46
  } | {
45
47
  readonly kind: "ready";
46
48
  readonly account: {
49
+ readonly login: string;
47
50
  readonly name?: string | undefined;
48
51
  readonly avatarUrl?: string | undefined;
49
- readonly login: string;
50
52
  };
51
53
  } | {
52
- readonly message: string;
53
54
  readonly kind: "error";
55
+ readonly message: string;
54
56
  }>;
55
- readonly authority: "owner";
56
- readonly scope: "host";
57
57
  };
58
58
  readonly "github.signOut": {
59
+ readonly authority: "owner";
60
+ readonly scope: "host";
59
61
  readonly kind: "command";
60
62
  readonly input: import("../../schema.ts").Schema<object>;
61
63
  readonly output: import("../../schema.ts").Schema<{
@@ -65,35 +67,36 @@ export declare const GITHUB_OPERATIONS: {
65
67
  } | {
66
68
  readonly kind: "signing_in";
67
69
  readonly deviceCode: {
68
- readonly expiresInSeconds?: number | undefined;
69
70
  readonly userCode: string;
70
71
  readonly verificationUri: string;
72
+ readonly expiresInSeconds?: number | undefined;
71
73
  };
72
74
  } | {
73
75
  readonly kind: "ready";
74
76
  readonly account: {
77
+ readonly login: string;
75
78
  readonly name?: string | undefined;
76
79
  readonly avatarUrl?: string | undefined;
77
- readonly login: string;
78
80
  };
79
81
  } | {
80
- readonly message: string;
81
82
  readonly kind: "error";
83
+ readonly message: string;
82
84
  }>;
83
- readonly authority: "owner";
84
- readonly scope: "host";
85
85
  };
86
86
  readonly "github.state": {
87
+ readonly authority: "participant";
88
+ readonly scope: "workspace";
89
+ readonly capability: "github";
87
90
  readonly kind: "query";
88
91
  readonly input: import("../../schema.ts").Schema<{
89
92
  workspace: import("../../ids.ts").Id<"workspace">;
90
93
  }>;
91
94
  readonly output: import("../../schema.ts").Schema<{
92
95
  readonly repository?: {
93
- readonly name: string;
94
- readonly url: string;
95
96
  readonly owner: string;
97
+ readonly name: string;
96
98
  readonly remoteName: string;
99
+ readonly url: string;
97
100
  } | undefined;
98
101
  readonly pullRequest: {
99
102
  readonly kind: "none";
@@ -103,28 +106,28 @@ export declare const GITHUB_OPERATIONS: {
103
106
  readonly kind: "ready";
104
107
  readonly pullRequest: {
105
108
  readonly number: number;
106
- readonly url: string;
107
109
  readonly title: string;
108
- readonly state: "OPEN" | "CLOSED" | "MERGED";
110
+ readonly url: string;
111
+ readonly state: "CLOSED" | "MERGED" | "OPEN";
109
112
  readonly draft: boolean;
110
113
  readonly headRefName: string;
111
114
  readonly baseRefName: string;
112
115
  readonly checks: readonly {
113
- readonly url?: string | undefined;
114
116
  readonly name: string;
115
- readonly state: "failed" | "pending" | "passed" | "skipped";
117
+ readonly state: "failed" | "passed" | "pending" | "skipped";
118
+ readonly url?: string | undefined;
116
119
  }[];
117
120
  };
118
121
  } | {
119
- readonly message: string;
120
122
  readonly kind: "error";
123
+ readonly message: string;
121
124
  };
122
125
  }>;
123
- readonly authority: "participant";
124
- readonly scope: "workspace";
125
- readonly capability: "github";
126
126
  };
127
127
  readonly "github.createPullRequest": {
128
+ readonly authority: "owner";
129
+ readonly scope: "workspace";
130
+ readonly capability: "github";
128
131
  readonly kind: "command";
129
132
  readonly input: import("../../schema.ts").Schema<{
130
133
  workspace: import("../../ids.ts").Id<"workspace">;
@@ -135,22 +138,22 @@ export declare const GITHUB_OPERATIONS: {
135
138
  };
136
139
  }>;
137
140
  readonly output: import("../../schema.ts").Schema<{
138
- readonly url: string;
139
141
  readonly kind: "created";
142
+ readonly url: string;
140
143
  } | {
141
144
  readonly kind: "exists";
142
145
  readonly pullRequest: {
143
146
  readonly number: number;
144
- readonly url: string;
145
147
  readonly title: string;
146
- readonly state: "OPEN" | "CLOSED" | "MERGED";
148
+ readonly url: string;
149
+ readonly state: "CLOSED" | "MERGED" | "OPEN";
147
150
  readonly draft: boolean;
148
151
  readonly headRefName: string;
149
152
  readonly baseRefName: string;
150
153
  readonly checks: readonly {
151
- readonly url?: string | undefined;
152
154
  readonly name: string;
153
- readonly state: "failed" | "pending" | "passed" | "skipped";
155
+ readonly state: "failed" | "passed" | "pending" | "skipped";
156
+ readonly url?: string | undefined;
154
157
  }[];
155
158
  };
156
159
  } | {
@@ -162,11 +165,8 @@ export declare const GITHUB_OPERATIONS: {
162
165
  } | {
163
166
  readonly kind: "detached";
164
167
  } | {
165
- readonly message: string;
166
168
  readonly kind: "failed";
169
+ readonly message: string;
167
170
  }>;
168
- readonly authority: "owner";
169
- readonly scope: "workspace";
170
- readonly capability: "github";
171
171
  };
172
172
  };