@scheduler-systems/gal-run 0.0.356 → 0.0.358
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/index.cjs +26 -6
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3970,7 +3970,7 @@ var cliVersion, defaultApiUrl, BUILD_CONSTANTS, constants_default;
|
|
|
3970
3970
|
var init_constants = __esm({
|
|
3971
3971
|
"src/constants.ts"() {
|
|
3972
3972
|
"use strict";
|
|
3973
|
-
cliVersion = true ? "0.0.
|
|
3973
|
+
cliVersion = true ? "0.0.358" : "0.0.0-dev";
|
|
3974
3974
|
defaultApiUrl = true ? "https://api.gal.run" : "http://localhost:3000";
|
|
3975
3975
|
BUILD_CONSTANTS = Object.freeze([cliVersion, defaultApiUrl]);
|
|
3976
3976
|
constants_default = BUILD_CONSTANTS;
|
|
@@ -4880,7 +4880,7 @@ function detectEnvironment() {
|
|
|
4880
4880
|
return "dev";
|
|
4881
4881
|
}
|
|
4882
4882
|
try {
|
|
4883
|
-
const version = true ? "0.0.
|
|
4883
|
+
const version = true ? "0.0.358" : void 0;
|
|
4884
4884
|
if (version && version.includes("-local")) {
|
|
4885
4885
|
return "dev";
|
|
4886
4886
|
}
|
|
@@ -5249,7 +5249,7 @@ function getId() {
|
|
|
5249
5249
|
}
|
|
5250
5250
|
function getCliVersion() {
|
|
5251
5251
|
try {
|
|
5252
|
-
return true ? "0.0.
|
|
5252
|
+
return true ? "0.0.358" : "0.0.0-dev";
|
|
5253
5253
|
} catch {
|
|
5254
5254
|
return "0.0.0-dev";
|
|
5255
5255
|
}
|
|
@@ -7913,7 +7913,7 @@ var init_feature_flags2 = __esm({
|
|
|
7913
7913
|
init_src();
|
|
7914
7914
|
COMMAND_CATEGORIES = {
|
|
7915
7915
|
// Core convenience package (always visible)
|
|
7916
|
-
core: ["auth", "sync", "mcp", "feedback", "update", "hooks", "status", "discover", "approve", "approved-config", "propose", "workspace", "fetch", "join", "scan", "memory", "policy"],
|
|
7916
|
+
core: ["auth", "sync", "mcp", "feedback", "update", "hooks", "status", "discover", "approve", "approved-config", "propose", "workspace", "fetch", "join", "scan", "memory", "policy", "install"],
|
|
7917
7917
|
// Internal development commands (requires org with internal audienceTier; GAL_INTERNAL=true is dev/test override only)
|
|
7918
7918
|
internal: [
|
|
7919
7919
|
"admin",
|
|
@@ -7928,6 +7928,7 @@ var init_feature_flags2 = __esm({
|
|
|
7928
7928
|
"enforce",
|
|
7929
7929
|
"flags",
|
|
7930
7930
|
"fleet",
|
|
7931
|
+
"governance",
|
|
7931
7932
|
"headless",
|
|
7932
7933
|
"maintain",
|
|
7933
7934
|
"protect",
|
|
@@ -7936,6 +7937,8 @@ var init_feature_flags2 = __esm({
|
|
|
7936
7937
|
"runner",
|
|
7937
7938
|
"sandbox",
|
|
7938
7939
|
"sandbox-profiles",
|
|
7940
|
+
"sdlc",
|
|
7941
|
+
"security",
|
|
7939
7942
|
"setup",
|
|
7940
7943
|
"template",
|
|
7941
7944
|
"test",
|
|
@@ -11788,6 +11791,23 @@ var init_HttpAuthRepository = __esm({
|
|
|
11788
11791
|
return null;
|
|
11789
11792
|
}
|
|
11790
11793
|
}
|
|
11794
|
+
/**
|
|
11795
|
+
* List the current user's browser profiles (metadata only).
|
|
11796
|
+
* Used by `gal sync --pull` to discover which profiles to download.
|
|
11797
|
+
*/
|
|
11798
|
+
async listBrowserProfiles() {
|
|
11799
|
+
return this.fetchJson("/api/browser-profiles");
|
|
11800
|
+
}
|
|
11801
|
+
/**
|
|
11802
|
+
* Get the decrypted storage state for a single browser profile.
|
|
11803
|
+
* Returns the raw Playwright-compatible storage state JSON string.
|
|
11804
|
+
*/
|
|
11805
|
+
async getBrowserProfileState(profileId) {
|
|
11806
|
+
const response = await this.fetchJson(
|
|
11807
|
+
`/api/browser-profiles/${encodeURIComponent(profileId)}/state`
|
|
11808
|
+
);
|
|
11809
|
+
return response.storageState;
|
|
11810
|
+
}
|
|
11791
11811
|
/**
|
|
11792
11812
|
* Report developer status to the dashboard
|
|
11793
11813
|
* Allows admins to see who has CLI installed, authenticated, and synced
|
|
@@ -53793,7 +53813,7 @@ function createUpdateCommand() {
|
|
|
53793
53813
|
console.log(conflict);
|
|
53794
53814
|
}
|
|
53795
53815
|
console.log(source_default.dim("\nRestarting with new version...\n"));
|
|
53796
|
-
const args2 = process.argv.slice(2).filter((a) => a !== "update");
|
|
53816
|
+
const args2 = process.argv.slice(2).filter((a) => a !== "update" && a !== "upgrade");
|
|
53797
53817
|
if (args2.length > 0) {
|
|
53798
53818
|
const child = (0, import_child_process12.spawn)("gal", args2, { stdio: "inherit" });
|
|
53799
53819
|
child.on("exit", (code) => process.exit(code || 0));
|
|
@@ -55388,7 +55408,7 @@ var init_index = __esm({
|
|
|
55388
55408
|
});
|
|
55389
55409
|
|
|
55390
55410
|
// src/bootstrap.ts
|
|
55391
|
-
var cliVersion10 = true ? "0.0.
|
|
55411
|
+
var cliVersion10 = true ? "0.0.358" : "0.0.0-dev";
|
|
55392
55412
|
var args = process.argv.slice(2);
|
|
55393
55413
|
var requestedGlobalHelp = args.length === 1 && (args[0] === "--help" || args[0] === "-h");
|
|
55394
55414
|
var requestedVersion = args.length === 1 && (args[0] === "--version" || args[0] === "-V");
|
package/package.json
CHANGED