@camstack/addon-agent-ui 1.2.11 → 1.2.12

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 (2) hide show
  1. package/dist/addon.js +43 -1
  2. package/package.json +1 -1
package/dist/addon.js CHANGED
@@ -18245,6 +18245,22 @@ var TerminalProfileInfoSchema = object({
18245
18245
  label: string(),
18246
18246
  description: string().optional()
18247
18247
  });
18248
+ var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
18249
+ seq: number().int().positive(),
18250
+ kind: literal("data"),
18251
+ data: string()
18252
+ }), object({
18253
+ seq: number().int().positive(),
18254
+ kind: literal("exit"),
18255
+ exitCode: number().int(),
18256
+ signal: number().int().optional()
18257
+ })]);
18258
+ var TerminalOutputBatchSchema = object({
18259
+ cursor: number().int().nonnegative(),
18260
+ reset: boolean(),
18261
+ snapshot: string().optional(),
18262
+ events: array(TerminalOutputEventSchema).readonly()
18263
+ });
18248
18264
  method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
18249
18265
  profileId: string(),
18250
18266
  cols: number().int().positive(),
@@ -18259,6 +18275,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
18259
18275
  }), _void(), {
18260
18276
  kind: "mutation",
18261
18277
  auth: "admin"
18278
+ }), method(object({
18279
+ sessionId: string(),
18280
+ afterSeq: number().int().nonnegative(),
18281
+ waitMs: number().int().min(0).max(2e3).default(0)
18282
+ }), TerminalOutputBatchSchema, {
18283
+ kind: "mutation",
18284
+ auth: "admin",
18285
+ timeoutMs: 15e3
18286
+ }), method(object({
18287
+ sessionId: string(),
18288
+ data: string().max(64 * 1024)
18289
+ }), _void(), {
18290
+ kind: "mutation",
18291
+ auth: "admin"
18262
18292
  }), method(object({ sessionId: string() }), _void(), {
18263
18293
  kind: "mutation",
18264
18294
  auth: "admin"
@@ -29140,12 +29170,24 @@ Object.freeze({
29140
29170
  addonId: null,
29141
29171
  access: "create"
29142
29172
  },
29173
+ "terminalSession.pullOutput": {
29174
+ capName: "terminal-session",
29175
+ capScope: "system",
29176
+ addonId: null,
29177
+ access: "create"
29178
+ },
29143
29179
  "terminalSession.resize": {
29144
29180
  capName: "terminal-session",
29145
29181
  capScope: "system",
29146
29182
  addonId: null,
29147
29183
  access: "create"
29148
29184
  },
29185
+ "terminalSession.writeInput": {
29186
+ capName: "terminal-session",
29187
+ capScope: "system",
29188
+ addonId: null,
29189
+ access: "create"
29190
+ },
29149
29191
  "toast.onToast": {
29150
29192
  capName: "toast",
29151
29193
  capScope: "system",
@@ -29865,7 +29907,7 @@ var AgentUIAddon = class extends BaseAddon {
29865
29907
  capability: adminUiCapability,
29866
29908
  provider: {
29867
29909
  getStaticDir: async () => ({ staticDir: path.resolve(__dirname) }),
29868
- getVersion: async () => ({ version: "1.2.11" })
29910
+ getVersion: async () => ({ version: "1.2.12" })
29869
29911
  }
29870
29912
  }];
29871
29913
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-agent-ui",
3
- "version": "1.2.11",
3
+ "version": "1.2.12",
4
4
  "description": "Agent UI — lightweight status dashboard served by every agent node",
5
5
  "keywords": [
6
6
  "camstack",