@nyte-ai/sdk 0.0.19 → 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.
- package/dist/chunks/{capability-agj3gwwv.js → capability-gc5bfr6a.js} +1 -1
- package/dist/chunks/{capability-ec663cyt.js → capability-ht2xg669.js} +2 -1
- package/dist/src/client.js +1 -1
- package/dist/src/connect.js +2 -2
- package/dist/src/index.client.js +2 -2
- package/dist/src/index.js +2 -2
- package/dist/src/index.web.js +2 -2
- package/dist/src/surface.d.ts +1 -1
- package/package.json +5 -5
|
@@ -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);
|
package/dist/src/client.js
CHANGED
package/dist/src/connect.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
connect2
|
|
3
|
-
} from "../chunks/capability-
|
|
4
|
-
import"../chunks/capability-
|
|
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";
|
package/dist/src/index.client.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-
|
|
11
|
+
import"../chunks/capability-ht2xg669.js";
|
|
12
12
|
import {
|
|
13
13
|
connect2
|
|
14
|
-
} from "../chunks/capability-
|
|
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-
|
|
11
|
+
import"../chunks/capability-ht2xg669.js";
|
|
12
12
|
import {
|
|
13
13
|
connect2
|
|
14
|
-
} from "../chunks/capability-
|
|
14
|
+
} from "../chunks/capability-gc5bfr6a.js";
|
|
15
15
|
import {
|
|
16
16
|
pagedViews2
|
|
17
17
|
} from "../chunks/capability-t9k5jy3d.js";
|
package/dist/src/index.web.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-
|
|
11
|
+
import"../chunks/capability-ht2xg669.js";
|
|
12
12
|
import {
|
|
13
13
|
connect2
|
|
14
|
-
} from "../chunks/capability-
|
|
14
|
+
} from "../chunks/capability-gc5bfr6a.js";
|
|
15
15
|
import {
|
|
16
16
|
pagedViews2
|
|
17
17
|
} from "../chunks/capability-t9k5jy3d.js";
|
package/dist/src/surface.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { ActionContext, ActionOutput, ActionSchemas, Agent, Available, BrowserApi, ClientApi, Command, ConnectOptions, Connection, ContributionTable, Decide, Declared, Durable, EnvironmentProvider, EnvironmentWrap, ExecutionEnv, FileBatch, FilesApi, GitApi, GitHubAccountApi, GitHubApi, Head, HookEntry, HookHandler, HookName, HookTable, Host, Job, Jobs, Keybinding, ListenOptions, Listener, Login, McpApi, ModelContextPolicy, ModelsApi, ObjectStore, Observe, OpenOptions, Page, Part, PartActions, PartDefinition, PartState, Plugin, PluginApi, PluginFile, PluginsApi, PluginStorage, PrincipalsApi, PromptSection, Receipt, RefStore, Registries, Registry, RegistryDraft, Renderer, RequestJournal, Resources, Row, Run, SendReceipt, Session, Sessions, Setting, SettingDefinition, SettingsApi, Side, SideTable, Skill, SnapshotsApi, Store, StoreConnection, ToolDefinition, ToolInvocation, Transform, Workspace, Workspaces, } from "@nyte-ai/core";
|
|
1
|
+
export type { ActionContext, ActionOutput, ActionSchemas, Agent, Available, BrowserApi, ClientApi, Command, ConnectOptions, Connection, ContributionTable, Decide, Declared, Durable, EnvironmentProvider, EnvironmentWrap, ExecutionEnv, FileBatch, FilesApi, ForegroundJobs, GitApi, GitHubAccountApi, GitHubApi, Head, HookEntry, HookHandler, HookName, HookTable, Host, Job, Jobs, Keybinding, ListenOptions, Listener, Login, McpApi, ModelContextPolicy, ModelsApi, ObjectStore, Observe, OpenOptions, Page, Part, PartActions, PartDefinition, PartState, Plugin, PluginApi, PluginFile, PluginsApi, PluginStorage, PrincipalsApi, PromptSection, Receipt, RefStore, Registries, Registry, RegistryDraft, Renderer, RequestJournal, Resources, Row, Run, SendReceipt, Session, Sessions, Setting, SettingDefinition, SettingsApi, Side, SideTable, Skill, SnapshotsApi, Store, StoreConnection, ToolDefinition, ToolInvocation, Transform, Workspace, Workspaces, } from "@nyte-ai/core";
|
|
2
2
|
export type { ActOutcome, Activation, AddOutcome, AdvanceReport, AgentInfo, Authority, Availability, Awaitable, BackgroundItem, BatchOutcome, BlameView, BlobId, ByteReader, CallId, Capability, CatalogGeneration, ChangeSet, ChangeSource, CommandCompletion, CommandInfo, CommandOutcome, CommitBody, CommitId, CompactionPlan, Configuration, ConfigurationPatch, ConfigureOutcome, ConsoleEntry, ContextView, CreateHeadOutcome, CredentialSource, Cursor, Decision, Declaration, DecodedObjectView, Delivery, DiffOptions, Disposer, DocumentRevision, DurableEvent, EndReason, EnvironmentIdentity, ExcerptSource, Execution, Failure, ExecutionCoverage, FileDocument, FileEntryView, FileEvent, FileStatus, FileVersion, ForgetOutcome, FormatOutcome, GitCommitId, GitOutcome, GitRefsView, GitRevision, GitScope, GitStatus, GitWrite, GitHubAccount, GitHubAccountState, GitHubCheck, GitHubDeviceCode, GitHubPullRequest, GitHubPullRequestContext, GitHubPullRequestInput, GitHubPullRequestOutcome, GitHubRepository, GitHubState, HeadInfo, HeadName, HostDescription, HostId, HostView, Hunk, Id, IdentityChallenge, Infer, IntegrityReport, JobEnd, JobId, JobKey, JobState, JobView, JournalEntry, Json, LineStat, LoginMethod, McpChange, McpExposure, McpExposureName, McpOAuthConfig, McpScope, McpServerConfig, McpServerState, McpServerView, McpToolView, McpView, MergeOutcome, Message, MessageId, MessageSource, ModelAccount, ModelCatalogView, ModelInfo, ModelListing, ModelRef, ModelRequest, ModelRequestInput, ModelRequestOutcome, MoveOptions, MoveOutcome, ObjectId, OutputFrame, Owned, PageId, PageOutcome, PageSnapshot, PageView, Paged, ParentFilter, PartId, PartStatus, PartView, PatchEntry, PatchEvent, PatchSet, Placement, PluginCheckReport, PluginLoadOutcome, PluginReplacementReport, Position, PrincipalId, PrincipalView, PromptOverride, ProviderUsage, ReceiptId, Ref, RefUpdate, RemoveHeadOutcome, RemoveSessionOutcome, RepairPage, RequestOptions, Revision, RunEnd, RunId, RunView, ScanFrame, Schedule, SdkErrorCode, Schema, SearchFrame, SearchInput, SendOptions, Seq, SessionCatalogView, SessionEvent, SessionId, SessionInfo, SessionView, SetOutcome, SettingInfo, SettingOutcome, SkillInfo, SnapshotId, StopOutcome, Submission, SubmitDraft, Thinking, ToolCall, ToolClass, ToolContent, ToolInfo, ToolOutcome, ToolPartState, ToolProgress, ToolResult, Transcript, TreeNode, TreeView, TurnId, TurnInfo, UpdateOutcome, Usage, UserContent, UserStatus, ValidationIssue, ViewOptions, WaitOutcome, WaitTarget, WorkspaceCatalogView, WorkspaceCommandOutcome, WorkspaceId, WorkspaceInfo, WorkspaceInspection, WorkspaceTarget, WriteOutcome, } from "@nyte-ai/schema";
|
|
3
3
|
export { dev, watchStore } from "@nyte-ai/core";
|
|
4
4
|
export type { WatchStore } from "@nyte-ai/core";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nyte-ai/sdk",
|
|
3
|
-
"version": "0.0.
|
|
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.
|
|
43
|
-
"@nyte-ai/host": "0.0.
|
|
44
|
-
"@nyte-ai/protocol": "0.0.
|
|
45
|
-
"@nyte-ai/schema": "0.0.
|
|
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",
|