conbridge-agent 0.3.0 → 0.3.1
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 +1 -1
- package/conbridge-agent.cjs +120 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# conbridge-agent
|
|
2
2
|
|
|
3
|
-
ConBridge Desktop Agent 0.3.
|
|
3
|
+
ConBridge Desktop Agent 0.3.1: connects a computer or server to ConBridge so the AI apps you approve (ChatGPT,
|
|
4
4
|
Claude) can use the folders you share, or, with full access, its terminal. macOS, Linux (servers too), Raspberry Pi and
|
|
5
5
|
Windows; Node.js 22 or later.
|
|
6
6
|
|
package/conbridge-agent.cjs
CHANGED
|
@@ -29,7 +29,7 @@ __export(cli_exports, {
|
|
|
29
29
|
module.exports = __toCommonJS(cli_exports);
|
|
30
30
|
|
|
31
31
|
// <define:__CONBRIDGE_BUILD__>
|
|
32
|
-
var define_CONBRIDGE_BUILD_default = { version: "0.3.
|
|
32
|
+
var define_CONBRIDGE_BUILD_default = { version: "0.3.1", commit: "ac1fa53fa563", built_at: "2026-10-29T22:38:27.204Z", keychain_helper_sha256: "359d0b3f3fedc26561d0e0b27a93df624fa55c1519c120e23fae46e9f2c2dc6a", distribution: "npm" };
|
|
33
33
|
|
|
34
34
|
// dist/cli.js
|
|
35
35
|
var import_node_child_process10 = require("node:child_process");
|
|
@@ -20255,6 +20255,121 @@ var AGENT_FEATURE_MIN_VERSION = Object.freeze({
|
|
|
20255
20255
|
inventory: "0.3.0"
|
|
20256
20256
|
});
|
|
20257
20257
|
|
|
20258
|
+
// ../../packages/protocol/dist/security/types.js
|
|
20259
|
+
var SECURITY_SEVERITY_WEIGHT = Object.freeze({
|
|
20260
|
+
critical: 30,
|
|
20261
|
+
high: 15,
|
|
20262
|
+
medium: 7,
|
|
20263
|
+
low: 2,
|
|
20264
|
+
info: 0
|
|
20265
|
+
});
|
|
20266
|
+
|
|
20267
|
+
// ../../packages/protocol/dist/security/eol.js
|
|
20268
|
+
var PRODUCT_NAMES = Object.freeze({
|
|
20269
|
+
ubuntu: "Ubuntu",
|
|
20270
|
+
debian: "Debian",
|
|
20271
|
+
centos: "CentOS",
|
|
20272
|
+
alpine: "Alpine Linux",
|
|
20273
|
+
windows: "Windows",
|
|
20274
|
+
"windows-server": "Windows Server",
|
|
20275
|
+
node: "Node.js",
|
|
20276
|
+
php: "PHP",
|
|
20277
|
+
python: "Python",
|
|
20278
|
+
mysql: "MySQL",
|
|
20279
|
+
mariadb: "MariaDB",
|
|
20280
|
+
postgresql: "PostgreSQL",
|
|
20281
|
+
ruby: "Ruby"
|
|
20282
|
+
});
|
|
20283
|
+
var EOL_TABLE = Object.freeze([
|
|
20284
|
+
{ product: "ubuntu", cycle: "16.04", eol: "2021-04-30", extended: "Ubuntu Pro (ESM)" },
|
|
20285
|
+
{ product: "ubuntu", cycle: "18.04", eol: "2023-05-31", extended: "Ubuntu Pro (ESM)" },
|
|
20286
|
+
{ product: "ubuntu", cycle: "20.04", eol: "2025-05-31", extended: "Ubuntu Pro (ESM)" },
|
|
20287
|
+
{ product: "ubuntu", cycle: "23.04", eol: "2024-01-25" },
|
|
20288
|
+
{ product: "ubuntu", cycle: "23.10", eol: "2024-07-11" },
|
|
20289
|
+
{ product: "ubuntu", cycle: "24.10", eol: "2025-07-10" },
|
|
20290
|
+
{ product: "debian", cycle: "9", eol: "2020-07-06" },
|
|
20291
|
+
{ product: "debian", cycle: "10", eol: "2022-09-10" },
|
|
20292
|
+
{ product: "debian", cycle: "11", eol: "2024-08-14", extended: "Debian LTS (until 2026-08-31)" },
|
|
20293
|
+
{ product: "debian", cycle: "12", eol: "2026-06-10", extended: "Debian LTS (until 2028-06-30)" },
|
|
20294
|
+
{ product: "centos", cycle: "7", eol: "2024-06-30" },
|
|
20295
|
+
{ product: "centos", cycle: "8", eol: "2021-12-31" },
|
|
20296
|
+
{ product: "alpine", cycle: "3.17", eol: "2024-11-22" },
|
|
20297
|
+
{ product: "alpine", cycle: "3.18", eol: "2025-05-09" },
|
|
20298
|
+
{ product: "alpine", cycle: "3.19", eol: "2025-11-01" },
|
|
20299
|
+
{ product: "alpine", cycle: "3.20", eol: "2026-04-01" },
|
|
20300
|
+
{ product: "windows", cycle: "10", eol: "2025-10-14", extended: "Extended Security Updates (ESU)" },
|
|
20301
|
+
{ product: "windows-server", cycle: "2012", eol: "2023-10-10", extended: "Extended Security Updates (ESU)" },
|
|
20302
|
+
{ product: "windows-server", cycle: "2016", eol: "2027-01-12" },
|
|
20303
|
+
{ product: "node", cycle: "14", eol: "2023-04-30" },
|
|
20304
|
+
{ product: "node", cycle: "16", eol: "2023-09-11" },
|
|
20305
|
+
{ product: "node", cycle: "17", eol: "2022-06-01" },
|
|
20306
|
+
{ product: "node", cycle: "18", eol: "2025-04-30" },
|
|
20307
|
+
{ product: "node", cycle: "19", eol: "2023-06-01" },
|
|
20308
|
+
{ product: "node", cycle: "20", eol: "2026-04-30" },
|
|
20309
|
+
{ product: "node", cycle: "21", eol: "2024-06-01" },
|
|
20310
|
+
{ product: "node", cycle: "22", eol: "2027-04-30" },
|
|
20311
|
+
{ product: "node", cycle: "23", eol: "2025-06-01" },
|
|
20312
|
+
{ product: "php", cycle: "7.4", eol: "2022-11-28" },
|
|
20313
|
+
{ product: "php", cycle: "8.0", eol: "2023-11-26" },
|
|
20314
|
+
{ product: "php", cycle: "8.1", eol: "2025-12-31" },
|
|
20315
|
+
{ product: "php", cycle: "8.2", eol: "2026-12-31" },
|
|
20316
|
+
{ product: "php", cycle: "8.3", eol: "2027-12-31" },
|
|
20317
|
+
{ product: "python", cycle: "3.7", eol: "2023-06-27" },
|
|
20318
|
+
{ product: "python", cycle: "3.8", eol: "2024-10-07" },
|
|
20319
|
+
{ product: "python", cycle: "3.9", eol: "2025-10-31" },
|
|
20320
|
+
{ product: "python", cycle: "3.10", eol: "2026-10-31" },
|
|
20321
|
+
{ product: "python", cycle: "3.11", eol: "2027-10-31" },
|
|
20322
|
+
{ product: "mysql", cycle: "5.7", eol: "2023-10-21" },
|
|
20323
|
+
{ product: "mysql", cycle: "8.0", eol: "2026-04-30" },
|
|
20324
|
+
{ product: "mariadb", cycle: "10.4", eol: "2024-06-18" },
|
|
20325
|
+
{ product: "mariadb", cycle: "10.5", eol: "2025-06-24" },
|
|
20326
|
+
{ product: "mariadb", cycle: "10.6", eol: "2026-07-06" },
|
|
20327
|
+
{ product: "postgresql", cycle: "11", eol: "2023-11-09" },
|
|
20328
|
+
{ product: "postgresql", cycle: "12", eol: "2024-11-21" },
|
|
20329
|
+
{ product: "postgresql", cycle: "13", eol: "2025-11-13" },
|
|
20330
|
+
{ product: "postgresql", cycle: "14", eol: "2026-11-12" },
|
|
20331
|
+
{ product: "ruby", cycle: "3.0", eol: "2024-04-23" },
|
|
20332
|
+
{ product: "ruby", cycle: "3.1", eol: "2025-03-31" },
|
|
20333
|
+
{ product: "ruby", cycle: "3.2", eol: "2026-03-31" }
|
|
20334
|
+
]);
|
|
20335
|
+
|
|
20336
|
+
// ../../packages/protocol/dist/security/posture.js
|
|
20337
|
+
var SEVERITY_ORDER = Object.freeze({
|
|
20338
|
+
critical: 0,
|
|
20339
|
+
high: 1,
|
|
20340
|
+
medium: 2,
|
|
20341
|
+
low: 3,
|
|
20342
|
+
info: 4
|
|
20343
|
+
});
|
|
20344
|
+
var CATEGORY_ORDER = Object.freeze({
|
|
20345
|
+
access: 0,
|
|
20346
|
+
exposure: 1,
|
|
20347
|
+
lifecycle: 2,
|
|
20348
|
+
hygiene: 3,
|
|
20349
|
+
visibility: 4
|
|
20350
|
+
});
|
|
20351
|
+
var SOFTWARE_PRODUCTS = Object.freeze({
|
|
20352
|
+
node: "node",
|
|
20353
|
+
php: "php",
|
|
20354
|
+
python: "python",
|
|
20355
|
+
mysql: "mysql",
|
|
20356
|
+
mariadb: "mariadb",
|
|
20357
|
+
postgresql: "postgresql",
|
|
20358
|
+
ruby: "ruby"
|
|
20359
|
+
});
|
|
20360
|
+
var IMAGE_PRODUCTS = Object.freeze({
|
|
20361
|
+
node: "node",
|
|
20362
|
+
php: "php",
|
|
20363
|
+
python: "python",
|
|
20364
|
+
mysql: "mysql",
|
|
20365
|
+
mariadb: "mariadb",
|
|
20366
|
+
postgres: "postgresql",
|
|
20367
|
+
ruby: "ruby",
|
|
20368
|
+
ubuntu: "ubuntu",
|
|
20369
|
+
debian: "debian",
|
|
20370
|
+
alpine: "alpine"
|
|
20371
|
+
});
|
|
20372
|
+
|
|
20258
20373
|
// ../../packages/protocol/dist/http.js
|
|
20259
20374
|
var HTTP_API_VERSION = 1;
|
|
20260
20375
|
var requestIdSchema = external_exports.uuid();
|
|
@@ -21879,7 +21994,7 @@ var import_node_fs = require("node:fs");
|
|
|
21879
21994
|
var import_node_path2 = require("node:path");
|
|
21880
21995
|
var import_node_sea = require("node:sea");
|
|
21881
21996
|
var import_node_url = require("node:url");
|
|
21882
|
-
var SOURCE_VERSION = "0.3.
|
|
21997
|
+
var SOURCE_VERSION = "0.3.1";
|
|
21883
21998
|
var BUILD_INFO = typeof define_CONBRIDGE_BUILD_default === "object" && define_CONBRIDGE_BUILD_default !== null ? define_CONBRIDGE_BUILD_default : null;
|
|
21884
21999
|
var AGENT_VERSION = BUILD_INFO?.version ?? SOURCE_VERSION;
|
|
21885
22000
|
function runningAsSea() {
|
|
@@ -28153,10 +28268,10 @@ function lockPath(paths) {
|
|
|
28153
28268
|
async function exists(path) {
|
|
28154
28269
|
return (0, import_promises15.access)(path).then(() => true, () => false);
|
|
28155
28270
|
}
|
|
28156
|
-
async function runInstalledCopy(paths, argv, io) {
|
|
28271
|
+
async function runInstalledCopy(paths, argv, io, keepsIdentity = true) {
|
|
28157
28272
|
if (!runningFromNpm() || await runningFromRuntime(paths.dir))
|
|
28158
28273
|
return null;
|
|
28159
|
-
const blocked = await keychainUpdateProblem(await loadIdentity(paths).catch(() => null), (descriptor) => openKeyStore(paths, descriptor, { env: io.env }));
|
|
28274
|
+
const blocked = keepsIdentity ? await keychainUpdateProblem(await loadIdentity(paths).catch(() => null), (descriptor) => openKeyStore(paths, descriptor, { env: io.env })) : null;
|
|
28160
28275
|
if (blocked) {
|
|
28161
28276
|
io.err(blocked);
|
|
28162
28277
|
return 2;
|
|
@@ -28226,7 +28341,7 @@ async function cmdPair(paths, args, io) {
|
|
|
28226
28341
|
});
|
|
28227
28342
|
if (!values.code)
|
|
28228
28343
|
throw new UsageError("pair needs --code (create one in the ConBridge Console under Connect)");
|
|
28229
|
-
const installed = await runInstalledCopy(paths, ["pair", ...args], io);
|
|
28344
|
+
const installed = await runInstalledCopy(paths, ["pair", ...args], io, false);
|
|
28230
28345
|
if (installed !== null)
|
|
28231
28346
|
return installed;
|
|
28232
28347
|
const gateway = values.gateway ?? DEFAULT_GATEWAY_URL;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "conbridge-agent",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "ConBridge Desktop Agent: connect this computer to ConBridge so approved AI apps can use the folders you share.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"homepage": "https://conbridge.app",
|