@theway-ai/sdk 1.1.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.
- package/README.md +102 -0
- package/dist/client.d.ts +138 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +390 -0
- package/dist/client.js.map +1 -0
- package/dist/generated/commands.d.ts +160 -0
- package/dist/generated/commands.d.ts.map +1 -0
- package/dist/generated/commands.js +449 -0
- package/dist/generated/commands.js.map +1 -0
- package/dist/generated/events.d.ts +144 -0
- package/dist/generated/events.d.ts.map +1 -0
- package/dist/generated/events.js +1044 -0
- package/dist/generated/events.js.map +1 -0
- package/dist/generated/extensions.d.ts +184 -0
- package/dist/generated/extensions.d.ts.map +1 -0
- package/dist/generated/extensions.js +1309 -0
- package/dist/generated/extensions.js.map +1 -0
- package/dist/generated/graph_engine.d.ts +373 -0
- package/dist/generated/graph_engine.d.ts.map +1 -0
- package/dist/generated/graph_engine.js +2422 -0
- package/dist/generated/graph_engine.js.map +1 -0
- package/dist/generated/health.d.ts +83 -0
- package/dist/generated/health.d.ts.map +1 -0
- package/dist/generated/health.js +179 -0
- package/dist/generated/health.js.map +1 -0
- package/dist/generated/session.d.ts +490 -0
- package/dist/generated/session.d.ts.map +1 -0
- package/dist/generated/session.js +3809 -0
- package/dist/generated/session.js.map +1 -0
- package/dist/generated/settings.d.ts +175 -0
- package/dist/generated/settings.d.ts.map +1 -0
- package/dist/generated/settings.js +304 -0
- package/dist/generated/settings.js.map +1 -0
- package/dist/generated/state.d.ts +291 -0
- package/dist/generated/state.d.ts.map +1 -0
- package/dist/generated/state.js +1382 -0
- package/dist/generated/state.js.map +1 -0
- package/dist/generated/tools.d.ts +413 -0
- package/dist/generated/tools.d.ts.map +1 -0
- package/dist/generated/tools.js +2487 -0
- package/dist/generated/tools.js.map +1 -0
- package/dist/health.d.ts +20 -0
- package/dist/health.d.ts.map +1 -0
- package/dist/health.js +62 -0
- package/dist/health.js.map +1 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +21 -0
- package/dist/index.js.map +1 -0
- package/package.json +46 -0
- package/proto/commands.proto +57 -0
- package/proto/events.proto +80 -0
- package/proto/extensions.proto +99 -0
- package/proto/graph_engine.proto +193 -0
- package/proto/health.proto +26 -0
- package/proto/session.proto +299 -0
- package/proto/settings.proto +73 -0
- package/proto/state.proto +129 -0
- package/proto/tools.proto +238 -0
|
@@ -0,0 +1,490 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
import { type CallOptions, type ChannelCredentials, Client, type ClientOptions, type ClientUnaryCall, type handleUnaryCall, type Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js";
|
|
3
|
+
import { CommandResult, Empty } from "./commands.js";
|
|
4
|
+
import { ExtensionSnapshot } from "./extensions.js";
|
|
5
|
+
import { DagRunSnapshot, SubagentJobSnapshot } from "./graph_engine.js";
|
|
6
|
+
export declare const protobufPackage = "theway.grpc.v1";
|
|
7
|
+
/**
|
|
8
|
+
* Full session state (the structured form of the former WireSnapshot JSON).
|
|
9
|
+
* Low-frequency, whole-replacement: GetState / stream snapshot frames.
|
|
10
|
+
*/
|
|
11
|
+
export interface SessionState {
|
|
12
|
+
sessionId: string;
|
|
13
|
+
model: string;
|
|
14
|
+
modelCatalog: ProviderGroup[];
|
|
15
|
+
cwd: string;
|
|
16
|
+
busy: boolean;
|
|
17
|
+
queuedCount: number;
|
|
18
|
+
latestTriggerPoll?: TriggerPollStatus | undefined;
|
|
19
|
+
goal?: GoalSnapshot | undefined;
|
|
20
|
+
controlPlanePrompt?: ControlPlanePromptSnapshot | undefined;
|
|
21
|
+
sidebar?: SidebarSnapshot | undefined;
|
|
22
|
+
feedBlocks: FeedBlock[];
|
|
23
|
+
feedLines: string[];
|
|
24
|
+
/** graph mode (P1/P2 fill these): */
|
|
25
|
+
dags: DagRunSnapshot[];
|
|
26
|
+
subagents: SubagentJobSnapshot[];
|
|
27
|
+
/** TUI display settings pushed from the daemon (read from config.toml). */
|
|
28
|
+
tuiMaxFeedLines?: number | undefined;
|
|
29
|
+
/** Token usage + context window for the live session. */
|
|
30
|
+
contextUsage?: ContextUsage | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* Absolute index of feed_lines[0] in the full transcript (issue #35):
|
|
33
|
+
* stream snapshots carry only rows appended since the last publish; the
|
|
34
|
+
* initial get_state snapshot carries everything (base 0).
|
|
35
|
+
*/
|
|
36
|
+
feedLinesBase: string;
|
|
37
|
+
/**
|
|
38
|
+
* Incremental gRPC snapshot frames require this many blocks to already be
|
|
39
|
+
* present on the consumer. Zero denotes a full replacement frame.
|
|
40
|
+
*/
|
|
41
|
+
feedBlocksBase: string;
|
|
42
|
+
/** Appends/replacements since feed_blocks_base. Full frames leave this empty. */
|
|
43
|
+
feedBlockPatches: FeedBlockPatch[];
|
|
44
|
+
/** Runtime-extension status is additive; older clients ignore this field. */
|
|
45
|
+
extensions?: ExtensionSnapshot | undefined;
|
|
46
|
+
}
|
|
47
|
+
export interface FeedBlockPatch {
|
|
48
|
+
/**
|
|
49
|
+
* index == consumer length appends; index < length replaces; index > length
|
|
50
|
+
* is a gap and requires a full GetState resync.
|
|
51
|
+
*/
|
|
52
|
+
index: string;
|
|
53
|
+
block?: FeedBlock | undefined;
|
|
54
|
+
}
|
|
55
|
+
/** Token usage for the current/last turn, plus the model's context window size. */
|
|
56
|
+
export interface ContextUsage {
|
|
57
|
+
inputTokens: string;
|
|
58
|
+
outputTokens: string;
|
|
59
|
+
cacheReadTokens: string;
|
|
60
|
+
cacheWriteTokens: string;
|
|
61
|
+
totalTokens: string;
|
|
62
|
+
contextWindow: number;
|
|
63
|
+
}
|
|
64
|
+
export interface ProviderGroup {
|
|
65
|
+
provider: string;
|
|
66
|
+
hasCredential: boolean;
|
|
67
|
+
models: ModelEntry[];
|
|
68
|
+
}
|
|
69
|
+
export interface ModelEntry {
|
|
70
|
+
id: string;
|
|
71
|
+
name: string;
|
|
72
|
+
}
|
|
73
|
+
export interface TriggerPollStatus {
|
|
74
|
+
checkedAt: string;
|
|
75
|
+
traceId: string;
|
|
76
|
+
sourceLabel: string;
|
|
77
|
+
eventLabel: string;
|
|
78
|
+
summary: string;
|
|
79
|
+
}
|
|
80
|
+
export interface GoalSnapshot {
|
|
81
|
+
condition: string;
|
|
82
|
+
status: string;
|
|
83
|
+
iterations: number;
|
|
84
|
+
lastReason?: string | undefined;
|
|
85
|
+
}
|
|
86
|
+
export interface ControlPlanePromptSnapshot {
|
|
87
|
+
toolName: string;
|
|
88
|
+
label: string;
|
|
89
|
+
reason: string;
|
|
90
|
+
argsHash: string;
|
|
91
|
+
payload: string;
|
|
92
|
+
}
|
|
93
|
+
export interface SidebarSnapshot {
|
|
94
|
+
inboxNew: number;
|
|
95
|
+
skills?: SkillsSnapshot | undefined;
|
|
96
|
+
triggers?: TriggersSnapshot | undefined;
|
|
97
|
+
cron?: CronSnapshot | undefined;
|
|
98
|
+
mcp?: McpSnapshot | undefined;
|
|
99
|
+
tools?: ToolsSnapshot | undefined;
|
|
100
|
+
hooks: string[];
|
|
101
|
+
runtime: string[];
|
|
102
|
+
/**
|
|
103
|
+
* Slash-prefixed file-command names (claude-code format, issue #37):
|
|
104
|
+
* discovered from .agents/commands + .claude/commands.
|
|
105
|
+
*/
|
|
106
|
+
commands: string[];
|
|
107
|
+
/**
|
|
108
|
+
* Daemon runtime revision, bumped by the `reload` agent tool; clients
|
|
109
|
+
* watch it to re-read local resources (e.g. ~/.theway/theme.toml).
|
|
110
|
+
*/
|
|
111
|
+
runtimeRevision: string;
|
|
112
|
+
}
|
|
113
|
+
export interface SkillsSnapshot {
|
|
114
|
+
total: number;
|
|
115
|
+
enabled: number;
|
|
116
|
+
disabled: number;
|
|
117
|
+
builtin: number;
|
|
118
|
+
user: number;
|
|
119
|
+
project: number;
|
|
120
|
+
items: SkillSnapshot[];
|
|
121
|
+
}
|
|
122
|
+
export interface SkillSnapshot {
|
|
123
|
+
name: string;
|
|
124
|
+
source: string;
|
|
125
|
+
filePath: string;
|
|
126
|
+
enabled: boolean;
|
|
127
|
+
}
|
|
128
|
+
export interface TriggersSnapshot {
|
|
129
|
+
total: number;
|
|
130
|
+
enabled: number;
|
|
131
|
+
disabled: number;
|
|
132
|
+
rules: TriggerRuleSnapshot[];
|
|
133
|
+
}
|
|
134
|
+
export interface TriggerRuleSnapshot {
|
|
135
|
+
id: string;
|
|
136
|
+
fullId: string;
|
|
137
|
+
enabled: boolean;
|
|
138
|
+
mode: string;
|
|
139
|
+
condition: string;
|
|
140
|
+
action: string;
|
|
141
|
+
}
|
|
142
|
+
export interface CronSnapshot {
|
|
143
|
+
total: number;
|
|
144
|
+
enabled: number;
|
|
145
|
+
disabled: number;
|
|
146
|
+
jobs: CronJobSnapshot[];
|
|
147
|
+
}
|
|
148
|
+
export interface CronJobSnapshot {
|
|
149
|
+
id: string;
|
|
150
|
+
enabled: boolean;
|
|
151
|
+
schedule: string;
|
|
152
|
+
action: string;
|
|
153
|
+
skippedOverlapCount: string;
|
|
154
|
+
lastError?: string | undefined;
|
|
155
|
+
}
|
|
156
|
+
export interface McpSnapshot {
|
|
157
|
+
servers: number;
|
|
158
|
+
tools: number;
|
|
159
|
+
notificationHooks: number;
|
|
160
|
+
serverNames: string[];
|
|
161
|
+
toolNames: string[];
|
|
162
|
+
}
|
|
163
|
+
export interface ToolsSnapshot {
|
|
164
|
+
total: number;
|
|
165
|
+
names: string[];
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* One renderable feed entry. oneof mirrors the serde tagged enum WireFeedBlock;
|
|
169
|
+
* JSON channels keep serde shape until the protojson migration.
|
|
170
|
+
*/
|
|
171
|
+
export interface FeedBlock {
|
|
172
|
+
kind?: {
|
|
173
|
+
$case: "user";
|
|
174
|
+
user: UserBlock;
|
|
175
|
+
} | {
|
|
176
|
+
$case: "assistant";
|
|
177
|
+
assistant: AssistantBlock;
|
|
178
|
+
} | {
|
|
179
|
+
$case: "thinking";
|
|
180
|
+
thinking: ThinkingBlock;
|
|
181
|
+
} | {
|
|
182
|
+
$case: "tool";
|
|
183
|
+
tool: ToolBlock;
|
|
184
|
+
} | {
|
|
185
|
+
$case: "toolResult";
|
|
186
|
+
toolResult: ToolResultBlock;
|
|
187
|
+
} | {
|
|
188
|
+
$case: "plain";
|
|
189
|
+
plain: PlainBlock;
|
|
190
|
+
} | undefined;
|
|
191
|
+
}
|
|
192
|
+
export interface UserBlock {
|
|
193
|
+
text: string;
|
|
194
|
+
timestamp?: string | undefined;
|
|
195
|
+
}
|
|
196
|
+
export interface AssistantBlock {
|
|
197
|
+
text: string;
|
|
198
|
+
timestamp?: string | undefined;
|
|
199
|
+
}
|
|
200
|
+
export interface ThinkingBlock {
|
|
201
|
+
text: string;
|
|
202
|
+
timestamp?: string | undefined;
|
|
203
|
+
}
|
|
204
|
+
export interface ToolBlock {
|
|
205
|
+
name: string;
|
|
206
|
+
args: string;
|
|
207
|
+
timestamp?: string | undefined;
|
|
208
|
+
}
|
|
209
|
+
export interface ToolResultBlock {
|
|
210
|
+
lines: string[];
|
|
211
|
+
isError: boolean;
|
|
212
|
+
timestamp?: string | undefined;
|
|
213
|
+
}
|
|
214
|
+
export interface PlainBlock {
|
|
215
|
+
text: string;
|
|
216
|
+
/** "output" | "system" | "error" | "note" (serde snake_case variant names) */
|
|
217
|
+
level: string;
|
|
218
|
+
timestamp?: string | undefined;
|
|
219
|
+
}
|
|
220
|
+
export interface SessionSummary {
|
|
221
|
+
sessionId: string;
|
|
222
|
+
name: string;
|
|
223
|
+
cwd: string;
|
|
224
|
+
model: string;
|
|
225
|
+
createdAt: string;
|
|
226
|
+
lastActivityAt: string;
|
|
227
|
+
graphCount: number;
|
|
228
|
+
activeGraphCount: number;
|
|
229
|
+
busy: boolean;
|
|
230
|
+
preview?: string | undefined;
|
|
231
|
+
}
|
|
232
|
+
export interface ListSessionsResponse {
|
|
233
|
+
sessions: SessionSummary[];
|
|
234
|
+
currentSessionId: string;
|
|
235
|
+
}
|
|
236
|
+
export interface CreateSessionRequest {
|
|
237
|
+
name?: string | undefined;
|
|
238
|
+
}
|
|
239
|
+
export interface CreateSessionResponse {
|
|
240
|
+
session?: SessionSummary | undefined;
|
|
241
|
+
}
|
|
242
|
+
export interface SwitchSessionRequest {
|
|
243
|
+
sessionId: string;
|
|
244
|
+
}
|
|
245
|
+
export interface RenameSessionRequest {
|
|
246
|
+
sessionId: string;
|
|
247
|
+
name: string;
|
|
248
|
+
}
|
|
249
|
+
export interface DeleteSessionRequest {
|
|
250
|
+
sessionId: string;
|
|
251
|
+
}
|
|
252
|
+
export interface DeleteSessionResponse {
|
|
253
|
+
/** Non-empty = deletion refused, these graphs are still running. */
|
|
254
|
+
runningRunIds: string[];
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* Daemon path context (issue #68): home / base / work_dir are fixed at daemon
|
|
258
|
+
* startup; skills_dirs reflects the current skill search directories and is
|
|
259
|
+
* the only mutable part (see SetSkillDirs).
|
|
260
|
+
*/
|
|
261
|
+
export interface PathContext {
|
|
262
|
+
home: string;
|
|
263
|
+
base: string;
|
|
264
|
+
workDir: string;
|
|
265
|
+
skillsDirs: string[];
|
|
266
|
+
}
|
|
267
|
+
export interface SetSkillDirsRequest {
|
|
268
|
+
dirs: string[];
|
|
269
|
+
}
|
|
270
|
+
export declare const SessionState: MessageFns<SessionState>;
|
|
271
|
+
export declare const FeedBlockPatch: MessageFns<FeedBlockPatch>;
|
|
272
|
+
export declare const ContextUsage: MessageFns<ContextUsage>;
|
|
273
|
+
export declare const ProviderGroup: MessageFns<ProviderGroup>;
|
|
274
|
+
export declare const ModelEntry: MessageFns<ModelEntry>;
|
|
275
|
+
export declare const TriggerPollStatus: MessageFns<TriggerPollStatus>;
|
|
276
|
+
export declare const GoalSnapshot: MessageFns<GoalSnapshot>;
|
|
277
|
+
export declare const ControlPlanePromptSnapshot: MessageFns<ControlPlanePromptSnapshot>;
|
|
278
|
+
export declare const SidebarSnapshot: MessageFns<SidebarSnapshot>;
|
|
279
|
+
export declare const SkillsSnapshot: MessageFns<SkillsSnapshot>;
|
|
280
|
+
export declare const SkillSnapshot: MessageFns<SkillSnapshot>;
|
|
281
|
+
export declare const TriggersSnapshot: MessageFns<TriggersSnapshot>;
|
|
282
|
+
export declare const TriggerRuleSnapshot: MessageFns<TriggerRuleSnapshot>;
|
|
283
|
+
export declare const CronSnapshot: MessageFns<CronSnapshot>;
|
|
284
|
+
export declare const CronJobSnapshot: MessageFns<CronJobSnapshot>;
|
|
285
|
+
export declare const McpSnapshot: MessageFns<McpSnapshot>;
|
|
286
|
+
export declare const ToolsSnapshot: MessageFns<ToolsSnapshot>;
|
|
287
|
+
export declare const FeedBlock: MessageFns<FeedBlock>;
|
|
288
|
+
export declare const UserBlock: MessageFns<UserBlock>;
|
|
289
|
+
export declare const AssistantBlock: MessageFns<AssistantBlock>;
|
|
290
|
+
export declare const ThinkingBlock: MessageFns<ThinkingBlock>;
|
|
291
|
+
export declare const ToolBlock: MessageFns<ToolBlock>;
|
|
292
|
+
export declare const ToolResultBlock: MessageFns<ToolResultBlock>;
|
|
293
|
+
export declare const PlainBlock: MessageFns<PlainBlock>;
|
|
294
|
+
export declare const SessionSummary: MessageFns<SessionSummary>;
|
|
295
|
+
export declare const ListSessionsResponse: MessageFns<ListSessionsResponse>;
|
|
296
|
+
export declare const CreateSessionRequest: MessageFns<CreateSessionRequest>;
|
|
297
|
+
export declare const CreateSessionResponse: MessageFns<CreateSessionResponse>;
|
|
298
|
+
export declare const SwitchSessionRequest: MessageFns<SwitchSessionRequest>;
|
|
299
|
+
export declare const RenameSessionRequest: MessageFns<RenameSessionRequest>;
|
|
300
|
+
export declare const DeleteSessionRequest: MessageFns<DeleteSessionRequest>;
|
|
301
|
+
export declare const DeleteSessionResponse: MessageFns<DeleteSessionResponse>;
|
|
302
|
+
export declare const PathContext: MessageFns<PathContext>;
|
|
303
|
+
export declare const SetSkillDirsRequest: MessageFns<SetSkillDirsRequest>;
|
|
304
|
+
export type SessionServiceService = typeof SessionServiceService;
|
|
305
|
+
export declare const SessionServiceService: {
|
|
306
|
+
/** Full structured state (binary protobuf). */
|
|
307
|
+
readonly getState: {
|
|
308
|
+
readonly path: "/theway.grpc.v1.SessionService/GetState";
|
|
309
|
+
readonly requestStream: false;
|
|
310
|
+
readonly responseStream: false;
|
|
311
|
+
readonly requestSerialize: (value: Empty) => Buffer;
|
|
312
|
+
readonly requestDeserialize: (value: Buffer) => Empty;
|
|
313
|
+
readonly responseSerialize: (value: SessionState) => Buffer;
|
|
314
|
+
readonly responseDeserialize: (value: Buffer) => SessionState;
|
|
315
|
+
};
|
|
316
|
+
/**
|
|
317
|
+
* Session resources: list (with current marker) / create / switch / rename /
|
|
318
|
+
* delete. DeleteSession reports the offending run ids when refused because
|
|
319
|
+
* the session still has running graphs.
|
|
320
|
+
*/
|
|
321
|
+
readonly listSessions: {
|
|
322
|
+
readonly path: "/theway.grpc.v1.SessionService/ListSessions";
|
|
323
|
+
readonly requestStream: false;
|
|
324
|
+
readonly responseStream: false;
|
|
325
|
+
readonly requestSerialize: (value: Empty) => Buffer;
|
|
326
|
+
readonly requestDeserialize: (value: Buffer) => Empty;
|
|
327
|
+
readonly responseSerialize: (value: ListSessionsResponse) => Buffer;
|
|
328
|
+
readonly responseDeserialize: (value: Buffer) => ListSessionsResponse;
|
|
329
|
+
};
|
|
330
|
+
readonly createSession: {
|
|
331
|
+
readonly path: "/theway.grpc.v1.SessionService/CreateSession";
|
|
332
|
+
readonly requestStream: false;
|
|
333
|
+
readonly responseStream: false;
|
|
334
|
+
readonly requestSerialize: (value: CreateSessionRequest) => Buffer;
|
|
335
|
+
readonly requestDeserialize: (value: Buffer) => CreateSessionRequest;
|
|
336
|
+
readonly responseSerialize: (value: CreateSessionResponse) => Buffer;
|
|
337
|
+
readonly responseDeserialize: (value: Buffer) => CreateSessionResponse;
|
|
338
|
+
};
|
|
339
|
+
readonly switchSession: {
|
|
340
|
+
readonly path: "/theway.grpc.v1.SessionService/SwitchSession";
|
|
341
|
+
readonly requestStream: false;
|
|
342
|
+
readonly responseStream: false;
|
|
343
|
+
readonly requestSerialize: (value: SwitchSessionRequest) => Buffer;
|
|
344
|
+
readonly requestDeserialize: (value: Buffer) => SwitchSessionRequest;
|
|
345
|
+
readonly responseSerialize: (value: CommandResult) => Buffer;
|
|
346
|
+
readonly responseDeserialize: (value: Buffer) => CommandResult;
|
|
347
|
+
};
|
|
348
|
+
readonly renameSession: {
|
|
349
|
+
readonly path: "/theway.grpc.v1.SessionService/RenameSession";
|
|
350
|
+
readonly requestStream: false;
|
|
351
|
+
readonly responseStream: false;
|
|
352
|
+
readonly requestSerialize: (value: RenameSessionRequest) => Buffer;
|
|
353
|
+
readonly requestDeserialize: (value: Buffer) => RenameSessionRequest;
|
|
354
|
+
readonly responseSerialize: (value: CommandResult) => Buffer;
|
|
355
|
+
readonly responseDeserialize: (value: Buffer) => CommandResult;
|
|
356
|
+
};
|
|
357
|
+
readonly deleteSession: {
|
|
358
|
+
readonly path: "/theway.grpc.v1.SessionService/DeleteSession";
|
|
359
|
+
readonly requestStream: false;
|
|
360
|
+
readonly responseStream: false;
|
|
361
|
+
readonly requestSerialize: (value: DeleteSessionRequest) => Buffer;
|
|
362
|
+
readonly requestDeserialize: (value: Buffer) => DeleteSessionRequest;
|
|
363
|
+
readonly responseSerialize: (value: DeleteSessionResponse) => Buffer;
|
|
364
|
+
readonly responseDeserialize: (value: Buffer) => DeleteSessionResponse;
|
|
365
|
+
};
|
|
366
|
+
/**
|
|
367
|
+
* Daemon path context (issue #68): home/base/work_dir plus the current
|
|
368
|
+
* skill search directories.
|
|
369
|
+
*/
|
|
370
|
+
readonly getPathContext: {
|
|
371
|
+
readonly path: "/theway.grpc.v1.SessionService/GetPathContext";
|
|
372
|
+
readonly requestStream: false;
|
|
373
|
+
readonly responseStream: false;
|
|
374
|
+
readonly requestSerialize: (value: Empty) => Buffer;
|
|
375
|
+
readonly requestDeserialize: (value: Buffer) => Empty;
|
|
376
|
+
readonly responseSerialize: (value: PathContext) => Buffer;
|
|
377
|
+
readonly responseDeserialize: (value: Buffer) => PathContext;
|
|
378
|
+
};
|
|
379
|
+
/**
|
|
380
|
+
* Replace the extra skill directories dynamically; the command is queued
|
|
381
|
+
* into the event loop, which applies it authoritatively (hot-reload).
|
|
382
|
+
* `accepted` = the command was queued.
|
|
383
|
+
*/
|
|
384
|
+
readonly setSkillDirs: {
|
|
385
|
+
readonly path: "/theway.grpc.v1.SessionService/SetSkillDirs";
|
|
386
|
+
readonly requestStream: false;
|
|
387
|
+
readonly responseStream: false;
|
|
388
|
+
readonly requestSerialize: (value: SetSkillDirsRequest) => Buffer;
|
|
389
|
+
readonly requestDeserialize: (value: Buffer) => SetSkillDirsRequest;
|
|
390
|
+
readonly responseSerialize: (value: CommandResult) => Buffer;
|
|
391
|
+
readonly responseDeserialize: (value: Buffer) => CommandResult;
|
|
392
|
+
};
|
|
393
|
+
};
|
|
394
|
+
export interface SessionServiceServer extends UntypedServiceImplementation {
|
|
395
|
+
/** Full structured state (binary protobuf). */
|
|
396
|
+
getState: handleUnaryCall<Empty, SessionState>;
|
|
397
|
+
/**
|
|
398
|
+
* Session resources: list (with current marker) / create / switch / rename /
|
|
399
|
+
* delete. DeleteSession reports the offending run ids when refused because
|
|
400
|
+
* the session still has running graphs.
|
|
401
|
+
*/
|
|
402
|
+
listSessions: handleUnaryCall<Empty, ListSessionsResponse>;
|
|
403
|
+
createSession: handleUnaryCall<CreateSessionRequest, CreateSessionResponse>;
|
|
404
|
+
switchSession: handleUnaryCall<SwitchSessionRequest, CommandResult>;
|
|
405
|
+
renameSession: handleUnaryCall<RenameSessionRequest, CommandResult>;
|
|
406
|
+
deleteSession: handleUnaryCall<DeleteSessionRequest, DeleteSessionResponse>;
|
|
407
|
+
/**
|
|
408
|
+
* Daemon path context (issue #68): home/base/work_dir plus the current
|
|
409
|
+
* skill search directories.
|
|
410
|
+
*/
|
|
411
|
+
getPathContext: handleUnaryCall<Empty, PathContext>;
|
|
412
|
+
/**
|
|
413
|
+
* Replace the extra skill directories dynamically; the command is queued
|
|
414
|
+
* into the event loop, which applies it authoritatively (hot-reload).
|
|
415
|
+
* `accepted` = the command was queued.
|
|
416
|
+
*/
|
|
417
|
+
setSkillDirs: handleUnaryCall<SetSkillDirsRequest, CommandResult>;
|
|
418
|
+
}
|
|
419
|
+
export interface SessionServiceClient extends Client {
|
|
420
|
+
/** Full structured state (binary protobuf). */
|
|
421
|
+
getState(request: Empty, callback: (error: ServiceError | null, response: SessionState) => void): ClientUnaryCall;
|
|
422
|
+
getState(request: Empty, metadata: Metadata, callback: (error: ServiceError | null, response: SessionState) => void): ClientUnaryCall;
|
|
423
|
+
getState(request: Empty, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: SessionState) => void): ClientUnaryCall;
|
|
424
|
+
/**
|
|
425
|
+
* Session resources: list (with current marker) / create / switch / rename /
|
|
426
|
+
* delete. DeleteSession reports the offending run ids when refused because
|
|
427
|
+
* the session still has running graphs.
|
|
428
|
+
*/
|
|
429
|
+
listSessions(request: Empty, callback: (error: ServiceError | null, response: ListSessionsResponse) => void): ClientUnaryCall;
|
|
430
|
+
listSessions(request: Empty, metadata: Metadata, callback: (error: ServiceError | null, response: ListSessionsResponse) => void): ClientUnaryCall;
|
|
431
|
+
listSessions(request: Empty, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: ListSessionsResponse) => void): ClientUnaryCall;
|
|
432
|
+
createSession(request: CreateSessionRequest, callback: (error: ServiceError | null, response: CreateSessionResponse) => void): ClientUnaryCall;
|
|
433
|
+
createSession(request: CreateSessionRequest, metadata: Metadata, callback: (error: ServiceError | null, response: CreateSessionResponse) => void): ClientUnaryCall;
|
|
434
|
+
createSession(request: CreateSessionRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: CreateSessionResponse) => void): ClientUnaryCall;
|
|
435
|
+
switchSession(request: SwitchSessionRequest, callback: (error: ServiceError | null, response: CommandResult) => void): ClientUnaryCall;
|
|
436
|
+
switchSession(request: SwitchSessionRequest, metadata: Metadata, callback: (error: ServiceError | null, response: CommandResult) => void): ClientUnaryCall;
|
|
437
|
+
switchSession(request: SwitchSessionRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: CommandResult) => void): ClientUnaryCall;
|
|
438
|
+
renameSession(request: RenameSessionRequest, callback: (error: ServiceError | null, response: CommandResult) => void): ClientUnaryCall;
|
|
439
|
+
renameSession(request: RenameSessionRequest, metadata: Metadata, callback: (error: ServiceError | null, response: CommandResult) => void): ClientUnaryCall;
|
|
440
|
+
renameSession(request: RenameSessionRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: CommandResult) => void): ClientUnaryCall;
|
|
441
|
+
deleteSession(request: DeleteSessionRequest, callback: (error: ServiceError | null, response: DeleteSessionResponse) => void): ClientUnaryCall;
|
|
442
|
+
deleteSession(request: DeleteSessionRequest, metadata: Metadata, callback: (error: ServiceError | null, response: DeleteSessionResponse) => void): ClientUnaryCall;
|
|
443
|
+
deleteSession(request: DeleteSessionRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: DeleteSessionResponse) => void): ClientUnaryCall;
|
|
444
|
+
/**
|
|
445
|
+
* Daemon path context (issue #68): home/base/work_dir plus the current
|
|
446
|
+
* skill search directories.
|
|
447
|
+
*/
|
|
448
|
+
getPathContext(request: Empty, callback: (error: ServiceError | null, response: PathContext) => void): ClientUnaryCall;
|
|
449
|
+
getPathContext(request: Empty, metadata: Metadata, callback: (error: ServiceError | null, response: PathContext) => void): ClientUnaryCall;
|
|
450
|
+
getPathContext(request: Empty, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: PathContext) => void): ClientUnaryCall;
|
|
451
|
+
/**
|
|
452
|
+
* Replace the extra skill directories dynamically; the command is queued
|
|
453
|
+
* into the event loop, which applies it authoritatively (hot-reload).
|
|
454
|
+
* `accepted` = the command was queued.
|
|
455
|
+
*/
|
|
456
|
+
setSkillDirs(request: SetSkillDirsRequest, callback: (error: ServiceError | null, response: CommandResult) => void): ClientUnaryCall;
|
|
457
|
+
setSkillDirs(request: SetSkillDirsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: CommandResult) => void): ClientUnaryCall;
|
|
458
|
+
setSkillDirs(request: SetSkillDirsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: CommandResult) => void): ClientUnaryCall;
|
|
459
|
+
}
|
|
460
|
+
export declare const SessionServiceClient: {
|
|
461
|
+
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): SessionServiceClient;
|
|
462
|
+
service: typeof SessionServiceService;
|
|
463
|
+
serviceName: string;
|
|
464
|
+
};
|
|
465
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
466
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
|
|
467
|
+
$case: string;
|
|
468
|
+
} ? {
|
|
469
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
470
|
+
} & {
|
|
471
|
+
$case: T["$case"];
|
|
472
|
+
} : T extends {} ? {
|
|
473
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
474
|
+
} : Partial<T>;
|
|
475
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
476
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
477
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
478
|
+
} & {
|
|
479
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
480
|
+
};
|
|
481
|
+
export interface MessageFns<T> {
|
|
482
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
483
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
484
|
+
fromJSON(object: any): T;
|
|
485
|
+
toJSON(message: T): unknown;
|
|
486
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
487
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
488
|
+
}
|
|
489
|
+
export {};
|
|
490
|
+
//# sourceMappingURL=session.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../src/generated/session.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,MAAM,EACN,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,eAAe,EAEpB,KAAK,QAAQ,EACb,KAAK,YAAY,EACjB,KAAK,4BAA4B,EAClC,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExE,eAAO,MAAM,eAAe,mBAAmB,CAAC;AAEhD;;;GAGG;AACH,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,aAAa,EAAE,CAAC;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,OAAO,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAClD,IAAI,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IAChC,kBAAkB,CAAC,EAAE,0BAA0B,GAAG,SAAS,CAAC;IAC5D,OAAO,CAAC,EAAE,eAAe,GAAG,SAAS,C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