@camstack/addon-tailscale 1.2.10 → 1.2.11
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/client/tailscale.addon.js +1 -1
- package/dist/client/tailscale.addon.mjs +1 -1
- package/dist/{dist-BB6_UnWs.mjs → dist-BRf5w7H0.mjs} +42 -0
- package/dist/{dist-CwEZ_Wrh.js → dist-CSc3X4AE.js} +42 -0
- package/dist/ingress/tailscale-ingress.addon.js +1 -1
- package/dist/ingress/tailscale-ingress.addon.mjs +1 -1
- package/package.json +1 -1
|
@@ -24,7 +24,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
24
24
|
enumerable: true
|
|
25
25
|
}) : target, mod));
|
|
26
26
|
//#endregion
|
|
27
|
-
const require_dist = require("../dist-
|
|
27
|
+
const require_dist = require("../dist-CSc3X4AE.js");
|
|
28
28
|
let node_child_process = require("node:child_process");
|
|
29
29
|
let node_util = require("node:util");
|
|
30
30
|
let node_fs = require("node:fs");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as EventCategory, n as networkAccessCapability, r as BaseAddon, t as meshNetworkCapability } from "../dist-
|
|
1
|
+
import { i as EventCategory, n as networkAccessCapability, r as BaseAddon, t as meshNetworkCapability } from "../dist-BRf5w7H0.mjs";
|
|
2
2
|
import { execFile, spawn } from "node:child_process";
|
|
3
3
|
import { promisify } from "node:util";
|
|
4
4
|
import * as fs from "node:fs";
|
|
@@ -18251,6 +18251,22 @@ var TerminalProfileInfoSchema = object({
|
|
|
18251
18251
|
label: string(),
|
|
18252
18252
|
description: string().optional()
|
|
18253
18253
|
});
|
|
18254
|
+
var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
|
|
18255
|
+
seq: number().int().positive(),
|
|
18256
|
+
kind: literal("data"),
|
|
18257
|
+
data: string()
|
|
18258
|
+
}), object({
|
|
18259
|
+
seq: number().int().positive(),
|
|
18260
|
+
kind: literal("exit"),
|
|
18261
|
+
exitCode: number().int(),
|
|
18262
|
+
signal: number().int().optional()
|
|
18263
|
+
})]);
|
|
18264
|
+
var TerminalOutputBatchSchema = object({
|
|
18265
|
+
cursor: number().int().nonnegative(),
|
|
18266
|
+
reset: boolean(),
|
|
18267
|
+
snapshot: string().optional(),
|
|
18268
|
+
events: array(TerminalOutputEventSchema).readonly()
|
|
18269
|
+
});
|
|
18254
18270
|
method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
|
|
18255
18271
|
profileId: string(),
|
|
18256
18272
|
cols: number().int().positive(),
|
|
@@ -18265,6 +18281,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
|
|
|
18265
18281
|
}), _void(), {
|
|
18266
18282
|
kind: "mutation",
|
|
18267
18283
|
auth: "admin"
|
|
18284
|
+
}), method(object({
|
|
18285
|
+
sessionId: string(),
|
|
18286
|
+
afterSeq: number().int().nonnegative(),
|
|
18287
|
+
waitMs: number().int().min(0).max(2e3).default(0)
|
|
18288
|
+
}), TerminalOutputBatchSchema, {
|
|
18289
|
+
kind: "mutation",
|
|
18290
|
+
auth: "admin",
|
|
18291
|
+
timeoutMs: 15e3
|
|
18292
|
+
}), method(object({
|
|
18293
|
+
sessionId: string(),
|
|
18294
|
+
data: string().max(64 * 1024)
|
|
18295
|
+
}), _void(), {
|
|
18296
|
+
kind: "mutation",
|
|
18297
|
+
auth: "admin"
|
|
18268
18298
|
}), method(object({ sessionId: string() }), _void(), {
|
|
18269
18299
|
kind: "mutation",
|
|
18270
18300
|
auth: "admin"
|
|
@@ -29207,12 +29237,24 @@ Object.freeze({
|
|
|
29207
29237
|
addonId: null,
|
|
29208
29238
|
access: "create"
|
|
29209
29239
|
},
|
|
29240
|
+
"terminalSession.pullOutput": {
|
|
29241
|
+
capName: "terminal-session",
|
|
29242
|
+
capScope: "system",
|
|
29243
|
+
addonId: null,
|
|
29244
|
+
access: "create"
|
|
29245
|
+
},
|
|
29210
29246
|
"terminalSession.resize": {
|
|
29211
29247
|
capName: "terminal-session",
|
|
29212
29248
|
capScope: "system",
|
|
29213
29249
|
addonId: null,
|
|
29214
29250
|
access: "create"
|
|
29215
29251
|
},
|
|
29252
|
+
"terminalSession.writeInput": {
|
|
29253
|
+
capName: "terminal-session",
|
|
29254
|
+
capScope: "system",
|
|
29255
|
+
addonId: null,
|
|
29256
|
+
access: "create"
|
|
29257
|
+
},
|
|
29216
29258
|
"toast.onToast": {
|
|
29217
29259
|
capName: "toast",
|
|
29218
29260
|
capScope: "system",
|
|
@@ -18251,6 +18251,22 @@ var TerminalProfileInfoSchema = object({
|
|
|
18251
18251
|
label: string(),
|
|
18252
18252
|
description: string().optional()
|
|
18253
18253
|
});
|
|
18254
|
+
var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
|
|
18255
|
+
seq: number().int().positive(),
|
|
18256
|
+
kind: literal("data"),
|
|
18257
|
+
data: string()
|
|
18258
|
+
}), object({
|
|
18259
|
+
seq: number().int().positive(),
|
|
18260
|
+
kind: literal("exit"),
|
|
18261
|
+
exitCode: number().int(),
|
|
18262
|
+
signal: number().int().optional()
|
|
18263
|
+
})]);
|
|
18264
|
+
var TerminalOutputBatchSchema = object({
|
|
18265
|
+
cursor: number().int().nonnegative(),
|
|
18266
|
+
reset: boolean(),
|
|
18267
|
+
snapshot: string().optional(),
|
|
18268
|
+
events: array(TerminalOutputEventSchema).readonly()
|
|
18269
|
+
});
|
|
18254
18270
|
method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
|
|
18255
18271
|
profileId: string(),
|
|
18256
18272
|
cols: number().int().positive(),
|
|
@@ -18265,6 +18281,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
|
|
|
18265
18281
|
}), _void(), {
|
|
18266
18282
|
kind: "mutation",
|
|
18267
18283
|
auth: "admin"
|
|
18284
|
+
}), method(object({
|
|
18285
|
+
sessionId: string(),
|
|
18286
|
+
afterSeq: number().int().nonnegative(),
|
|
18287
|
+
waitMs: number().int().min(0).max(2e3).default(0)
|
|
18288
|
+
}), TerminalOutputBatchSchema, {
|
|
18289
|
+
kind: "mutation",
|
|
18290
|
+
auth: "admin",
|
|
18291
|
+
timeoutMs: 15e3
|
|
18292
|
+
}), method(object({
|
|
18293
|
+
sessionId: string(),
|
|
18294
|
+
data: string().max(64 * 1024)
|
|
18295
|
+
}), _void(), {
|
|
18296
|
+
kind: "mutation",
|
|
18297
|
+
auth: "admin"
|
|
18268
18298
|
}), method(object({ sessionId: string() }), _void(), {
|
|
18269
18299
|
kind: "mutation",
|
|
18270
18300
|
auth: "admin"
|
|
@@ -29207,12 +29237,24 @@ Object.freeze({
|
|
|
29207
29237
|
addonId: null,
|
|
29208
29238
|
access: "create"
|
|
29209
29239
|
},
|
|
29240
|
+
"terminalSession.pullOutput": {
|
|
29241
|
+
capName: "terminal-session",
|
|
29242
|
+
capScope: "system",
|
|
29243
|
+
addonId: null,
|
|
29244
|
+
access: "create"
|
|
29245
|
+
},
|
|
29210
29246
|
"terminalSession.resize": {
|
|
29211
29247
|
capName: "terminal-session",
|
|
29212
29248
|
capScope: "system",
|
|
29213
29249
|
addonId: null,
|
|
29214
29250
|
access: "create"
|
|
29215
29251
|
},
|
|
29252
|
+
"terminalSession.writeInput": {
|
|
29253
|
+
capName: "terminal-session",
|
|
29254
|
+
capScope: "system",
|
|
29255
|
+
addonId: null,
|
|
29256
|
+
access: "create"
|
|
29257
|
+
},
|
|
29216
29258
|
"toast.onToast": {
|
|
29217
29259
|
capName: "toast",
|
|
29218
29260
|
capScope: "system",
|
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_dist = require("../dist-
|
|
5
|
+
const require_dist = require("../dist-CSc3X4AE.js");
|
|
6
6
|
let node_crypto = require("node:crypto");
|
|
7
7
|
let node_child_process = require("node:child_process");
|
|
8
8
|
//#region src/ingress/tailscale-cli.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as EventCategory, n as networkAccessCapability, r as BaseAddon } from "../dist-
|
|
1
|
+
import { i as EventCategory, n as networkAccessCapability, r as BaseAddon } from "../dist-BRf5w7H0.mjs";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
import { execFile } from "node:child_process";
|
|
4
4
|
import { promisify } from "node:util";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-tailscale",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.11",
|
|
4
4
|
"description": "Tailscale bundle for CamStack — joins the host to a tailnet (client) and exposes the hub via Serve/Funnel (ingress). Multi-entry npm package shipping 2 addons under a single bundle.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|