@camstack/addon-ai 0.2.15 → 0.2.16
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/addon.js +42 -0
- package/dist/addon.mjs +42 -0
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -18385,6 +18385,22 @@ var TerminalProfileInfoSchema = object({
|
|
|
18385
18385
|
label: string(),
|
|
18386
18386
|
description: string().optional()
|
|
18387
18387
|
});
|
|
18388
|
+
var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
|
|
18389
|
+
seq: number().int().positive(),
|
|
18390
|
+
kind: literal("data"),
|
|
18391
|
+
data: string()
|
|
18392
|
+
}), object({
|
|
18393
|
+
seq: number().int().positive(),
|
|
18394
|
+
kind: literal("exit"),
|
|
18395
|
+
exitCode: number().int(),
|
|
18396
|
+
signal: number().int().optional()
|
|
18397
|
+
})]);
|
|
18398
|
+
var TerminalOutputBatchSchema = object({
|
|
18399
|
+
cursor: number().int().nonnegative(),
|
|
18400
|
+
reset: boolean(),
|
|
18401
|
+
snapshot: string().optional(),
|
|
18402
|
+
events: array(TerminalOutputEventSchema).readonly()
|
|
18403
|
+
});
|
|
18388
18404
|
method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
|
|
18389
18405
|
profileId: string(),
|
|
18390
18406
|
cols: number().int().positive(),
|
|
@@ -18399,6 +18415,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
|
|
|
18399
18415
|
}), _void(), {
|
|
18400
18416
|
kind: "mutation",
|
|
18401
18417
|
auth: "admin"
|
|
18418
|
+
}), method(object({
|
|
18419
|
+
sessionId: string(),
|
|
18420
|
+
afterSeq: number().int().nonnegative(),
|
|
18421
|
+
waitMs: number().int().min(0).max(2e3).default(0)
|
|
18422
|
+
}), TerminalOutputBatchSchema, {
|
|
18423
|
+
kind: "mutation",
|
|
18424
|
+
auth: "admin",
|
|
18425
|
+
timeoutMs: 15e3
|
|
18426
|
+
}), method(object({
|
|
18427
|
+
sessionId: string(),
|
|
18428
|
+
data: string().max(64 * 1024)
|
|
18429
|
+
}), _void(), {
|
|
18430
|
+
kind: "mutation",
|
|
18431
|
+
auth: "admin"
|
|
18402
18432
|
}), method(object({ sessionId: string() }), _void(), {
|
|
18403
18433
|
kind: "mutation",
|
|
18404
18434
|
auth: "admin"
|
|
@@ -29280,12 +29310,24 @@ Object.freeze({
|
|
|
29280
29310
|
addonId: null,
|
|
29281
29311
|
access: "create"
|
|
29282
29312
|
},
|
|
29313
|
+
"terminalSession.pullOutput": {
|
|
29314
|
+
capName: "terminal-session",
|
|
29315
|
+
capScope: "system",
|
|
29316
|
+
addonId: null,
|
|
29317
|
+
access: "create"
|
|
29318
|
+
},
|
|
29283
29319
|
"terminalSession.resize": {
|
|
29284
29320
|
capName: "terminal-session",
|
|
29285
29321
|
capScope: "system",
|
|
29286
29322
|
addonId: null,
|
|
29287
29323
|
access: "create"
|
|
29288
29324
|
},
|
|
29325
|
+
"terminalSession.writeInput": {
|
|
29326
|
+
capName: "terminal-session",
|
|
29327
|
+
capScope: "system",
|
|
29328
|
+
addonId: null,
|
|
29329
|
+
access: "create"
|
|
29330
|
+
},
|
|
29289
29331
|
"toast.onToast": {
|
|
29290
29332
|
capName: "toast",
|
|
29291
29333
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -18347,6 +18347,22 @@ var TerminalProfileInfoSchema = object({
|
|
|
18347
18347
|
label: string(),
|
|
18348
18348
|
description: string().optional()
|
|
18349
18349
|
});
|
|
18350
|
+
var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
|
|
18351
|
+
seq: number().int().positive(),
|
|
18352
|
+
kind: literal("data"),
|
|
18353
|
+
data: string()
|
|
18354
|
+
}), object({
|
|
18355
|
+
seq: number().int().positive(),
|
|
18356
|
+
kind: literal("exit"),
|
|
18357
|
+
exitCode: number().int(),
|
|
18358
|
+
signal: number().int().optional()
|
|
18359
|
+
})]);
|
|
18360
|
+
var TerminalOutputBatchSchema = object({
|
|
18361
|
+
cursor: number().int().nonnegative(),
|
|
18362
|
+
reset: boolean(),
|
|
18363
|
+
snapshot: string().optional(),
|
|
18364
|
+
events: array(TerminalOutputEventSchema).readonly()
|
|
18365
|
+
});
|
|
18350
18366
|
method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
|
|
18351
18367
|
profileId: string(),
|
|
18352
18368
|
cols: number().int().positive(),
|
|
@@ -18361,6 +18377,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
|
|
|
18361
18377
|
}), _void(), {
|
|
18362
18378
|
kind: "mutation",
|
|
18363
18379
|
auth: "admin"
|
|
18380
|
+
}), method(object({
|
|
18381
|
+
sessionId: string(),
|
|
18382
|
+
afterSeq: number().int().nonnegative(),
|
|
18383
|
+
waitMs: number().int().min(0).max(2e3).default(0)
|
|
18384
|
+
}), TerminalOutputBatchSchema, {
|
|
18385
|
+
kind: "mutation",
|
|
18386
|
+
auth: "admin",
|
|
18387
|
+
timeoutMs: 15e3
|
|
18388
|
+
}), method(object({
|
|
18389
|
+
sessionId: string(),
|
|
18390
|
+
data: string().max(64 * 1024)
|
|
18391
|
+
}), _void(), {
|
|
18392
|
+
kind: "mutation",
|
|
18393
|
+
auth: "admin"
|
|
18364
18394
|
}), method(object({ sessionId: string() }), _void(), {
|
|
18365
18395
|
kind: "mutation",
|
|
18366
18396
|
auth: "admin"
|
|
@@ -29242,12 +29272,24 @@ Object.freeze({
|
|
|
29242
29272
|
addonId: null,
|
|
29243
29273
|
access: "create"
|
|
29244
29274
|
},
|
|
29275
|
+
"terminalSession.pullOutput": {
|
|
29276
|
+
capName: "terminal-session",
|
|
29277
|
+
capScope: "system",
|
|
29278
|
+
addonId: null,
|
|
29279
|
+
access: "create"
|
|
29280
|
+
},
|
|
29245
29281
|
"terminalSession.resize": {
|
|
29246
29282
|
capName: "terminal-session",
|
|
29247
29283
|
capScope: "system",
|
|
29248
29284
|
addonId: null,
|
|
29249
29285
|
access: "create"
|
|
29250
29286
|
},
|
|
29287
|
+
"terminalSession.writeInput": {
|
|
29288
|
+
capName: "terminal-session",
|
|
29289
|
+
capScope: "system",
|
|
29290
|
+
addonId: null,
|
|
29291
|
+
access: "create"
|
|
29292
|
+
},
|
|
29251
29293
|
"toast.onToast": {
|
|
29252
29294
|
capName: "toast",
|
|
29253
29295
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-ai",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.16",
|
|
4
4
|
"description": "AI addon for CamStack — the `llm` collection provider (cloud, LAN, and camstack-managed local llama.cpp profiles) plus the per-node `llm-runtime` managed executor.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|