From 2fb1a0061cd8607afe4fa0327c2553fd96a38775 Mon Sep 17 00:00:00 2001 From: cooper Date: Wed, 23 Sep 2026 05:51:02 -0700 Subject: [PATCH] refactor(agent): remove the 35 unused AgentService RPCs The local agent's Connect AgentService (packages/proto/proto/agent.proto) had 48 RPCs, but live code calls only 13 of them: GetProject, GetApps, GetVariables, GetUsers, GetSecrets, Exec, GetInstalledPackages, GetProcesses, GetNixConfig, GetShellStatus, RebuildShell, GetModuleOutputs and PatchNixData. The other 35 duplicated REST endpoints, had no callers, and had drifted from their REST versions. For example, the Connect ReadFile, WriteFile and ListFiles handlers accepted absolute paths and skipped the project-root containment that /api/files enforces. Removed end to end: - agent.proto: the 35 rpc entries, the 46 messages only they used, and the config/aws/sst imports they needed. This includes GetSstRequest, which existed only so the extra GetSst method that protoc-gen-connect-handlers emitted for GetSSTConfig would compile. - Go agent: their handlers in connect_service.go and connect_handlers.go, all of connect_modules.go (including moduleToProto and its enum mappers, which already had no caller), and the isProcessRunning and writeNixEntityJSON helpers that only those handlers used. REST handlers are unchanged. - Studio: the use-agent.ts hooks that called the removed RPCs, their query keys and proto type re-exports, the forceRefresh/isRefreshing fields of the useNixConfig wrapper (its only use of RefreshNixConfig; no component read them), and the demo MSW cases and fixtures that mocked the removed methods. REST-backed hooks are unchanged. - Docs: the agent README and code comments that described the removed RPCs or pointed at the removed hooks. packages/proto/gen and connect_entities_gen.go were regenerated with `packages/proto/generate.sh buf`, then formatted with `nix fmt`, which keeps the committed Go output clean for the flake's treefmt check. JSON schemas for the removed messages were deleted. Regenerating also: - bumps the protoc-gen-go header in every .pb.go from v1.36.11 to v1.36.12, because buf.gen.yaml does not pin that remote plugin; - drops one blank line from agent.connect.go's imports under the current formatter; - reorders connect_entities_gen.go, because protoc-gen-connect-handlers iterates a Go map. Refs: stackpanel-thq.8.2 --- apps/stackpanel-go/internal/agent/README.md | 15 +- .../agent/server/connect_entities_gen.go | 252 +- .../internal/agent/server/connect_handlers.go | 638 +-- .../internal/agent/server/connect_modules.go | 408 -- .../internal/agent/server/connect_service.go | 605 +-- .../internal/agent/server/nix_data.go | 7 - .../internal/agent/server/process_compose.go | 8 - apps/web/src/demo/fixture.ts | 32 - apps/web/src/demo/handlers.ts | 58 +- apps/web/src/lib/use-agent.ts | 644 +-- packages/agent-client/src/index.ts | 3 - packages/proto/gen/gopb/agent.pb.go | 3028 +------------ packages/proto/gen/gopb/app_build.pb.go | 2 +- packages/proto/gen/gopb/apps.pb.go | 2 +- packages/proto/gen/gopb/aws.pb.go | 2 +- packages/proto/gen/gopb/bun_app.pb.go | 2 +- packages/proto/gen/gopb/commands.pb.go | 2 +- packages/proto/gen/gopb/config.pb.go | 2 +- packages/proto/gen/gopb/databases.pb.go | 2 +- packages/proto/gen/gopb/deployment.pb.go | 2 +- packages/proto/gen/gopb/dns.pb.go | 2 +- packages/proto/gen/gopb/extensions.pb.go | 2 +- packages/proto/gen/gopb/files.pb.go | 2 +- .../proto/gen/gopb/github_collaborators.pb.go | 2 +- packages/proto/gen/gopb/go_app.pb.go | 2 +- .../gen/gopb/gopbconnect/agent.connect.go | 1023 +---- packages/proto/gen/gopb/healthchecks.pb.go | 2 +- packages/proto/gen/gopb/modules.pb.go | 2 +- packages/proto/gen/gopb/onboarding.pb.go | 2 +- packages/proto/gen/gopb/options.pb.go | 2 +- packages/proto/gen/gopb/oxlint_app.pb.go | 2 +- packages/proto/gen/gopb/scripts.pb.go | 2 +- packages/proto/gen/gopb/secrets.pb.go | 2 +- packages/proto/gen/gopb/services.pb.go | 2 +- packages/proto/gen/gopb/shells.pb.go | 2 +- packages/proto/gen/gopb/sst.pb.go | 2 +- packages/proto/gen/gopb/step_ca.pb.go | 2 +- packages/proto/gen/gopb/tasks.pb.go | 2 +- packages/proto/gen/gopb/theme.pb.go | 2 +- packages/proto/gen/gopb/users.pb.go | 2 +- packages/proto/gen/gopb/variables.pb.go | 2 +- ...AgeIdentityResponse.jsonschema.bundle.json | 47 - ....agent.AgeIdentityResponse.jsonschema.json | 41 - ...tityResponse.jsonschema.strict.bundle.json | 37 - ...AgeIdentityResponse.jsonschema.strict.json | 31 - ...ent.AgeIdentityResponse.schema.bundle.json | 47 - ...anel.agent.AgeIdentityResponse.schema.json | 41 - ...IdentityResponse.schema.strict.bundle.json | 37 - ...ent.AgeIdentityResponse.schema.strict.json | 31 - ...nt.DeploySSTRequest.jsonschema.bundle.json | 19 - ...nel.agent.DeploySSTRequest.jsonschema.json | 13 - ...oySSTRequest.jsonschema.strict.bundle.json | 21 - ...nt.DeploySSTRequest.jsonschema.strict.json | 15 - ....agent.DeploySSTRequest.schema.bundle.json | 19 - ...ckpanel.agent.DeploySSTRequest.schema.json | 13 - ...DeploySSTRequest.schema.strict.bundle.json | 21 - ....agent.DeploySSTRequest.schema.strict.json | 15 - ...t.DeploySSTResponse.jsonschema.bundle.json | 36 - ...el.agent.DeploySSTResponse.jsonschema.json | 30 - ...ySSTResponse.jsonschema.strict.bundle.json | 38 - ...t.DeploySSTResponse.jsonschema.strict.json | 32 - ...agent.DeploySSTResponse.schema.bundle.json | 36 - ...kpanel.agent.DeploySSTResponse.schema.json | 30 - ...eploySSTResponse.schema.strict.bundle.json | 38 - ...agent.DeploySSTResponse.schema.strict.json | 32 - ...anel.agent.FileInfo.jsonschema.bundle.json | 69 - .../stackpanel.agent.FileInfo.jsonschema.json | 63 - ...ent.FileInfo.jsonschema.strict.bundle.json | 37 - ...anel.agent.FileInfo.jsonschema.strict.json | 31 - ...ackpanel.agent.FileInfo.schema.bundle.json | 69 - .../stackpanel.agent.FileInfo.schema.json | 63 - ...l.agent.FileInfo.schema.strict.bundle.json | 37 - ...ackpanel.agent.FileInfo.schema.strict.json | 31 - ...tAgeIdentityRequest.jsonschema.bundle.json | 14 - ...gent.GetAgeIdentityRequest.jsonschema.json | 8 - ...ntityRequest.jsonschema.strict.bundle.json | 14 - ...tAgeIdentityRequest.jsonschema.strict.json | 8 - ...t.GetAgeIdentityRequest.schema.bundle.json | 14 - ...el.agent.GetAgeIdentityRequest.schema.json | 8 - ...eIdentityRequest.schema.strict.bundle.json | 14 - ...t.GetAgeIdentityRequest.schema.strict.json | 8 - ...agent.GetAwsRequest.jsonschema.bundle.json | 14 - ...kpanel.agent.GetAwsRequest.jsonschema.json | 8 - ...etAwsRequest.jsonschema.strict.bundle.json | 14 - ...agent.GetAwsRequest.jsonschema.strict.json | 8 - ...nel.agent.GetAwsRequest.schema.bundle.json | 14 - ...stackpanel.agent.GetAwsRequest.schema.json | 8 - ...nt.GetAwsRequest.schema.strict.bundle.json | 14 - ...nel.agent.GetAwsRequest.schema.strict.json | 8 - ...nt.GetConfigRequest.jsonschema.bundle.json | 14 - ...nel.agent.GetConfigRequest.jsonschema.json | 8 - ...onfigRequest.jsonschema.strict.bundle.json | 14 - ...nt.GetConfigRequest.jsonschema.strict.json | 8 - ....agent.GetConfigRequest.schema.bundle.json | 14 - ...ckpanel.agent.GetConfigRequest.schema.json | 8 - ...GetConfigRequest.schema.strict.bundle.json | 14 - ....agent.GetConfigRequest.schema.strict.json | 8 - ...HealthchecksRequest.jsonschema.bundle.json | 14 - ...ent.GetHealthchecksRequest.jsonschema.json | 8 - ...hecksRequest.jsonschema.strict.bundle.json | 14 - ...HealthchecksRequest.jsonschema.strict.json | 8 - ....GetHealthchecksRequest.schema.bundle.json | 14 - ...l.agent.GetHealthchecksRequest.schema.json | 8 - ...lthchecksRequest.schema.strict.bundle.json | 14 - ....GetHealthchecksRequest.schema.strict.json | 8 - ...GetKMSConfigRequest.jsonschema.bundle.json | 14 - ....agent.GetKMSConfigRequest.jsonschema.json | 8 - ...onfigRequest.jsonschema.strict.bundle.json | 14 - ...GetKMSConfigRequest.jsonschema.strict.json | 8 - ...ent.GetKMSConfigRequest.schema.bundle.json | 14 - ...anel.agent.GetKMSConfigRequest.schema.json | 8 - ...KMSConfigRequest.schema.strict.bundle.json | 14 - ...ent.GetKMSConfigRequest.schema.strict.json | 8 - ...nt.GetModuleRequest.jsonschema.bundle.json | 25 - ...nel.agent.GetModuleRequest.jsonschema.json | 19 - ...oduleRequest.jsonschema.strict.bundle.json | 21 - ...nt.GetModuleRequest.jsonschema.strict.json | 15 - ....agent.GetModuleRequest.schema.bundle.json | 25 - ...ckpanel.agent.GetModuleRequest.schema.json | 19 - ...GetModuleRequest.schema.strict.bundle.json | 21 - ....agent.GetModuleRequest.schema.strict.json | 15 - ...t.GetModulesRequest.jsonschema.bundle.json | 14 - ...el.agent.GetModulesRequest.jsonschema.json | 8 - ...dulesRequest.jsonschema.strict.bundle.json | 14 - ...t.GetModulesRequest.jsonschema.strict.json | 8 - ...agent.GetModulesRequest.schema.bundle.json | 14 - ...kpanel.agent.GetModulesRequest.schema.json | 8 - ...etModulesRequest.schema.strict.bundle.json | 14 - ...agent.GetModulesRequest.schema.strict.json | 8 - ...GetSSTConfigRequest.jsonschema.bundle.json | 14 - ....agent.GetSSTConfigRequest.jsonschema.json | 8 - ...onfigRequest.jsonschema.strict.bundle.json | 14 - ...GetSSTConfigRequest.jsonschema.strict.json | 8 - ...ent.GetSSTConfigRequest.schema.bundle.json | 14 - ...anel.agent.GetSSTConfigRequest.schema.json | 8 - ...SSTConfigRequest.schema.strict.bundle.json | 14 - ...ent.GetSSTConfigRequest.schema.strict.json | 8 - ...etSSTOutputsRequest.jsonschema.bundle.json | 14 - ...agent.GetSSTOutputsRequest.jsonschema.json | 8 - ...tputsRequest.jsonschema.strict.bundle.json | 14 - ...etSSTOutputsRequest.jsonschema.strict.json | 8 - ...nt.GetSSTOutputsRequest.schema.bundle.json | 14 - ...nel.agent.GetSSTOutputsRequest.schema.json | 8 - ...STOutputsRequest.schema.strict.bundle.json | 14 - ...nt.GetSSTOutputsRequest.schema.strict.json | 8 - ...SSTResourcesRequest.jsonschema.bundle.json | 14 - ...ent.GetSSTResourcesRequest.jsonschema.json | 8 - ...urcesRequest.jsonschema.strict.bundle.json | 14 - ...SSTResourcesRequest.jsonschema.strict.json | 8 - ....GetSSTResourcesRequest.schema.bundle.json | 14 - ...l.agent.GetSSTResourcesRequest.schema.json | 8 - ...ResourcesRequest.schema.strict.bundle.json | 14 - ....GetSSTResourcesRequest.schema.strict.json | 8 - ...GetSSTStatusRequest.jsonschema.bundle.json | 14 - ....agent.GetSSTStatusRequest.jsonschema.json | 8 - ...tatusRequest.jsonschema.strict.bundle.json | 14 - ...GetSSTStatusRequest.jsonschema.strict.json | 8 - ...ent.GetSSTStatusRequest.schema.bundle.json | 14 - ...anel.agent.GetSSTStatusRequest.schema.json | 8 - ...SSTStatusRequest.schema.strict.bundle.json | 14 - ...ent.GetSSTStatusRequest.schema.strict.json | 8 - ...rvicesStatusRequest.jsonschema.bundle.json | 14 - ...t.GetServicesStatusRequest.jsonschema.json | 8 - ...tatusRequest.jsonschema.strict.bundle.json | 14 - ...rvicesStatusRequest.jsonschema.strict.json | 8 - ...etServicesStatusRequest.schema.bundle.json | 14 - ...agent.GetServicesStatusRequest.schema.json | 8 - ...cesStatusRequest.schema.strict.bundle.json | 14 - ...etServicesStatusRequest.schema.strict.json | 8 - ...vicesStatusResponse.jsonschema.bundle.json | 67 - ....GetServicesStatusResponse.jsonschema.json | 19 - ...atusResponse.jsonschema.strict.bundle.json | 55 - ...vicesStatusResponse.jsonschema.strict.json | 21 - ...tServicesStatusResponse.schema.bundle.json | 67 - ...gent.GetServicesStatusResponse.schema.json | 19 - ...esStatusResponse.schema.strict.bundle.json | 55 - ...tServicesStatusResponse.schema.strict.json | 21 - ...agent.GetSstRequest.jsonschema.bundle.json | 14 - ...kpanel.agent.GetSstRequest.jsonschema.json | 8 - ...etSstRequest.jsonschema.strict.bundle.json | 14 - ...agent.GetSstRequest.jsonschema.strict.json | 8 - ...nel.agent.GetSstRequest.schema.bundle.json | 14 - ...stackpanel.agent.GetSstRequest.schema.json | 8 - ...nt.GetSstRequest.schema.strict.bundle.json | 14 - ...nel.agent.GetSstRequest.schema.strict.json | 8 - ...ent.HealthcheckInfo.jsonschema.bundle.json | 36 - ...anel.agent.HealthcheckInfo.jsonschema.json | 30 - ...lthcheckInfo.jsonschema.strict.bundle.json | 38 - ...ent.HealthcheckInfo.jsonschema.strict.json | 32 - ...l.agent.HealthcheckInfo.schema.bundle.json | 36 - ...ackpanel.agent.HealthcheckInfo.schema.json | 30 - ....HealthcheckInfo.schema.strict.bundle.json | 38 - ...l.agent.HealthcheckInfo.schema.strict.json | 32 - ...ealthchecksResponse.jsonschema.bundle.json | 60 - ...agent.HealthchecksResponse.jsonschema.json | 25 - ...ecksResponse.jsonschema.strict.bundle.json | 58 - ...ealthchecksResponse.jsonschema.strict.json | 21 - ...nt.HealthchecksResponse.schema.bundle.json | 60 - ...nel.agent.HealthchecksResponse.schema.json | 25 - ...thchecksResponse.schema.strict.bundle.json | 58 - ...nt.HealthchecksResponse.schema.strict.json | 21 - ...t.KMSConfigResponse.jsonschema.bundle.json | 42 - ...el.agent.KMSConfigResponse.jsonschema.json | 36 - ...nfigResponse.jsonschema.strict.bundle.json | 34 - ...t.KMSConfigResponse.jsonschema.strict.json | 28 - ...agent.KMSConfigResponse.schema.bundle.json | 42 - ...kpanel.agent.KMSConfigResponse.schema.json | 36 - ...MSConfigResponse.schema.strict.bundle.json | 34 - ...agent.KMSConfigResponse.schema.strict.json | 28 - ...nt.ListFilesRequest.jsonschema.bundle.json | 23 - ...nel.agent.ListFilesRequest.jsonschema.json | 17 - ...FilesRequest.jsonschema.strict.bundle.json | 25 - ...nt.ListFilesRequest.jsonschema.strict.json | 19 - ....agent.ListFilesRequest.schema.bundle.json | 23 - ...ckpanel.agent.ListFilesRequest.schema.json | 17 - ...ListFilesRequest.schema.strict.bundle.json | 25 - ....agent.ListFilesRequest.schema.strict.json | 19 - ...t.ListFilesResponse.jsonschema.bundle.json | 83 - ...el.agent.ListFilesResponse.jsonschema.json | 15 - ...ilesResponse.jsonschema.strict.bundle.json | 51 - ...t.ListFilesResponse.jsonschema.strict.json | 15 - ...agent.ListFilesResponse.schema.bundle.json | 83 - ...kpanel.agent.ListFilesResponse.schema.json | 15 - ...istFilesResponse.schema.strict.bundle.json | 51 - ...agent.ListFilesResponse.schema.strict.json | 15 - ...gent.NixEvalRequest.jsonschema.bundle.json | 23 - ...panel.agent.NixEvalRequest.jsonschema.json | 17 - ...xEvalRequest.jsonschema.strict.bundle.json | 25 - ...gent.NixEvalRequest.jsonschema.strict.json | 19 - ...el.agent.NixEvalRequest.schema.bundle.json | 23 - ...tackpanel.agent.NixEvalRequest.schema.json | 17 - ...t.NixEvalRequest.schema.strict.bundle.json | 25 - ...el.agent.NixEvalRequest.schema.strict.json | 19 - ...ent.NixEvalResponse.jsonschema.bundle.json | 19 - ...anel.agent.NixEvalResponse.jsonschema.json | 13 - ...EvalResponse.jsonschema.strict.bundle.json | 21 - ...ent.NixEvalResponse.jsonschema.strict.json | 15 - ...l.agent.NixEvalResponse.schema.bundle.json | 19 - ...ackpanel.agent.NixEvalResponse.schema.json | 13 - ....NixEvalResponse.schema.strict.bundle.json | 21 - ...l.agent.NixEvalResponse.schema.strict.json | 15 - ....NixGenerateRequest.jsonschema.bundle.json | 14 - ...l.agent.NixGenerateRequest.jsonschema.json | 8 - ...erateRequest.jsonschema.strict.bundle.json | 14 - ....NixGenerateRequest.jsonschema.strict.json | 8 - ...gent.NixGenerateRequest.schema.bundle.json | 14 - ...panel.agent.NixGenerateRequest.schema.json | 8 - ...xGenerateRequest.schema.strict.bundle.json | 14 - ...gent.NixGenerateRequest.schema.strict.json | 8 - ...NixGenerateResponse.jsonschema.bundle.json | 23 - ....agent.NixGenerateResponse.jsonschema.json | 17 - ...rateResponse.jsonschema.strict.bundle.json | 25 - ...NixGenerateResponse.jsonschema.strict.json | 19 - ...ent.NixGenerateResponse.schema.bundle.json | 23 - ...anel.agent.NixGenerateResponse.schema.json | 17 - ...GenerateResponse.schema.strict.bundle.json | 25 - ...ent.NixGenerateResponse.schema.strict.json | 19 - ...gent.NixpkgsPackage.jsonschema.bundle.json | 57 - ...panel.agent.NixpkgsPackage.jsonschema.json | 51 - ...xpkgsPackage.jsonschema.strict.bundle.json | 49 - ...gent.NixpkgsPackage.jsonschema.strict.json | 43 - ...el.agent.NixpkgsPackage.schema.bundle.json | 57 - ...tackpanel.agent.NixpkgsPackage.schema.json | 51 - ...t.NixpkgsPackage.schema.strict.bundle.json | 49 - ...el.agent.NixpkgsPackage.schema.strict.json | 43 - ...ent.ReadFileRequest.jsonschema.bundle.json | 19 - ...anel.agent.ReadFileRequest.jsonschema.json | 13 - ...dFileRequest.jsonschema.strict.bundle.json | 21 - ...ent.ReadFileRequest.jsonschema.strict.json | 15 - ...l.agent.ReadFileRequest.schema.bundle.json | 19 - ...ackpanel.agent.ReadFileRequest.schema.json | 13 - ....ReadFileRequest.schema.strict.bundle.json | 21 - ...l.agent.ReadFileRequest.schema.strict.json | 15 - ...nt.ReadFileResponse.jsonschema.bundle.json | 23 - ...nel.agent.ReadFileResponse.jsonschema.json | 17 - ...FileResponse.jsonschema.strict.bundle.json | 25 - ...nt.ReadFileResponse.jsonschema.strict.json | 19 - ....agent.ReadFileResponse.schema.bundle.json | 23 - ...ckpanel.agent.ReadFileResponse.schema.json | 17 - ...ReadFileResponse.schema.strict.bundle.json | 25 - ....agent.ReadFileResponse.schema.strict.json | 19 - ...eshNixConfigRequest.jsonschema.bundle.json | 14 - ...nt.RefreshNixConfigRequest.jsonschema.json | 8 - ...onfigRequest.jsonschema.strict.bundle.json | 14 - ...eshNixConfigRequest.jsonschema.strict.json | 8 - ...RefreshNixConfigRequest.schema.bundle.json | 14 - ....agent.RefreshNixConfigRequest.schema.json | 8 - ...NixConfigRequest.schema.strict.bundle.json | 14 - ...RefreshNixConfigRequest.schema.strict.json | 8 - ...nt.RemoveSSTRequest.jsonschema.bundle.json | 19 - ...nel.agent.RemoveSSTRequest.jsonschema.json | 13 - ...veSSTRequest.jsonschema.strict.bundle.json | 21 - ...nt.RemoveSSTRequest.jsonschema.strict.json | 15 - ....agent.RemoveSSTRequest.schema.bundle.json | 19 - ...ckpanel.agent.RemoveSSTRequest.schema.json | 13 - ...RemoveSSTRequest.schema.strict.bundle.json | 21 - ....agent.RemoveSSTRequest.schema.strict.json | 15 - ...t.RemoveSSTResponse.jsonschema.bundle.json | 27 - ...el.agent.RemoveSSTResponse.jsonschema.json | 21 - ...eSSTResponse.jsonschema.strict.bundle.json | 29 - ...t.RemoveSSTResponse.jsonschema.strict.json | 23 - ...agent.RemoveSSTResponse.schema.bundle.json | 27 - ...kpanel.agent.RemoveSSTResponse.schema.json | 21 - ...emoveSSTResponse.schema.strict.bundle.json | 29 - ...agent.RemoveSSTResponse.schema.strict.json | 23 - ....SSTOutputsResponse.jsonschema.bundle.json | 24 - ...l.agent.SSTOutputsResponse.jsonschema.json | 18 - ...putsResponse.jsonschema.strict.bundle.json | 24 - ....SSTOutputsResponse.jsonschema.strict.json | 18 - ...gent.SSTOutputsResponse.schema.bundle.json | 24 - ...panel.agent.SSTOutputsResponse.schema.json | 18 - ...TOutputsResponse.schema.strict.bundle.json | 24 - ...gent.SSTOutputsResponse.schema.strict.json | 18 - ...l.agent.SSTResource.jsonschema.bundle.json | 27 - ...ackpanel.agent.SSTResource.jsonschema.json | 21 - ....SSTResource.jsonschema.strict.bundle.json | 29 - ...l.agent.SSTResource.jsonschema.strict.json | 23 - ...panel.agent.SSTResource.schema.bundle.json | 27 - .../stackpanel.agent.SSTResource.schema.json | 21 - ...gent.SSTResource.schema.strict.bundle.json | 29 - ...panel.agent.SSTResource.schema.strict.json | 23 - ...STResourcesResponse.jsonschema.bundle.json | 41 - ...agent.SSTResourcesResponse.jsonschema.json | 15 - ...rcesResponse.jsonschema.strict.bundle.json | 43 - ...STResourcesResponse.jsonschema.strict.json | 15 - ...nt.SSTResourcesResponse.schema.bundle.json | 41 - ...nel.agent.SSTResourcesResponse.schema.json | 15 - ...esourcesResponse.schema.strict.bundle.json | 43 - ...nt.SSTResourcesResponse.schema.strict.json | 15 - ...t.SSTStatusResponse.jsonschema.bundle.json | 57 - ...el.agent.SSTStatusResponse.jsonschema.json | 51 - ...atusResponse.jsonschema.strict.bundle.json | 45 - ...t.SSTStatusResponse.jsonschema.strict.json | 39 - ...agent.SSTStatusResponse.schema.bundle.json | 57 - ...kpanel.agent.SSTStatusResponse.schema.json | 51 - ...STStatusResponse.schema.strict.bundle.json | 45 - ...agent.SSTStatusResponse.schema.strict.json | 39 - ...earchNixpkgsRequest.jsonschema.bundle.json | 33 - ...agent.SearchNixpkgsRequest.jsonschema.json | 27 - ...xpkgsRequest.jsonschema.strict.bundle.json | 27 - ...earchNixpkgsRequest.jsonschema.strict.json | 21 - ...nt.SearchNixpkgsRequest.schema.bundle.json | 33 - ...nel.agent.SearchNixpkgsRequest.schema.json | 27 - ...chNixpkgsRequest.schema.strict.bundle.json | 27 - ...nt.SearchNixpkgsRequest.schema.strict.json | 21 - ...archNixpkgsResponse.jsonschema.bundle.json | 71 - ...gent.SearchNixpkgsResponse.jsonschema.json | 15 - ...pkgsResponse.jsonschema.strict.bundle.json | 63 - ...archNixpkgsResponse.jsonschema.strict.json | 15 - ...t.SearchNixpkgsResponse.schema.bundle.json | 71 - ...el.agent.SearchNixpkgsResponse.schema.json | 15 - ...hNixpkgsResponse.schema.strict.bundle.json | 63 - ...t.SearchNixpkgsResponse.schema.strict.json | 15 - ...gent.ServiceRequest.jsonschema.bundle.json | 19 - ...panel.agent.ServiceRequest.jsonschema.json | 13 - ...rviceRequest.jsonschema.strict.bundle.json | 21 - ...gent.ServiceRequest.jsonschema.strict.json | 15 - ...el.agent.ServiceRequest.schema.bundle.json | 19 - ...tackpanel.agent.ServiceRequest.schema.json | 13 - ...t.ServiceRequest.schema.strict.bundle.json | 21 - ...el.agent.ServiceRequest.schema.strict.json | 15 - ...ent.ServiceResponse.jsonschema.bundle.json | 23 - ...anel.agent.ServiceResponse.jsonschema.json | 17 - ...viceResponse.jsonschema.strict.bundle.json | 25 - ...ent.ServiceResponse.jsonschema.strict.json | 19 - ...l.agent.ServiceResponse.schema.bundle.json | 23 - ...ackpanel.agent.ServiceResponse.schema.json | 17 - ....ServiceResponse.schema.strict.bundle.json | 25 - ...l.agent.ServiceResponse.schema.strict.json | 19 - ...agent.ServiceStatus.jsonschema.bundle.json | 49 - ...kpanel.agent.ServiceStatus.jsonschema.json | 43 - ...erviceStatus.jsonschema.strict.bundle.json | 35 - ...agent.ServiceStatus.jsonschema.strict.json | 29 - ...nel.agent.ServiceStatus.schema.bundle.json | 49 - ...stackpanel.agent.ServiceStatus.schema.json | 43 - ...nt.ServiceStatus.schema.strict.bundle.json | 35 - ...nel.agent.ServiceStatus.schema.strict.json | 29 - ...tAgeIdentityRequest.jsonschema.bundle.json | 20 - ...gent.SetAgeIdentityRequest.jsonschema.json | 14 - ...ntityRequest.jsonschema.strict.bundle.json | 22 - ...tAgeIdentityRequest.jsonschema.strict.json | 16 - ...t.SetAgeIdentityRequest.schema.bundle.json | 20 - ...el.agent.SetAgeIdentityRequest.schema.json | 14 - ...eIdentityRequest.schema.strict.bundle.json | 22 - ...t.SetAgeIdentityRequest.schema.strict.json | 16 - ...SetKMSConfigRequest.jsonschema.bundle.json | 37 - ....agent.SetKMSConfigRequest.jsonschema.json | 31 - ...onfigRequest.jsonschema.strict.bundle.json | 29 - ...SetKMSConfigRequest.jsonschema.strict.json | 23 - ...ent.SetKMSConfigRequest.schema.bundle.json | 37 - ...anel.agent.SetKMSConfigRequest.schema.json | 31 - ...KMSConfigRequest.schema.strict.bundle.json | 29 - ...ent.SetKMSConfigRequest.schema.strict.json | 23 - ...nt.WriteFileRequest.jsonschema.bundle.json | 38 - ...nel.agent.WriteFileRequest.jsonschema.json | 32 - ...eFileRequest.jsonschema.strict.bundle.json | 32 - ...nt.WriteFileRequest.jsonschema.strict.json | 26 - ....agent.WriteFileRequest.schema.bundle.json | 38 - ...ckpanel.agent.WriteFileRequest.schema.json | 32 - ...WriteFileRequest.schema.strict.bundle.json | 32 - ....agent.WriteFileRequest.schema.strict.json | 26 - ...t.WriteFileResponse.jsonschema.bundle.json | 19 - ...el.agent.WriteFileResponse.jsonschema.json | 13 - ...FileResponse.jsonschema.strict.bundle.json | 21 - ...t.WriteFileResponse.jsonschema.strict.json | 15 - ...agent.WriteFileResponse.schema.bundle.json | 19 - ...kpanel.agent.WriteFileResponse.schema.json | 13 - ...riteFileResponse.schema.strict.bundle.json | 21 - ...agent.WriteFileResponse.schema.strict.json | 15 - .../ts/agent-AgentService_connectquery.d.ts | 158 +- .../gen/ts/agent-AgentService_connectquery.js | 193 +- packages/proto/gen/ts/agent.client.ts | 494 +- packages/proto/gen/ts/agent.ts | 3958 ++--------------- packages/proto/gen/ts/agent_pb.d.ts | 1334 +----- packages/proto/gen/ts/agent_pb.js | 367 +- packages/proto/proto/agent.proto | 313 +- 416 files changed, 794 insertions(+), 21440 deletions(-) delete mode 100644 apps/stackpanel-go/internal/agent/server/connect_modules.go delete mode 100644 packages/proto/gen/json/stackpanel.agent.AgeIdentityResponse.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.AgeIdentityResponse.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.AgeIdentityResponse.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.AgeIdentityResponse.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.AgeIdentityResponse.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.AgeIdentityResponse.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.AgeIdentityResponse.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.AgeIdentityResponse.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.DeploySSTRequest.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.DeploySSTRequest.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.DeploySSTRequest.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.DeploySSTRequest.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.DeploySSTRequest.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.DeploySSTRequest.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.DeploySSTRequest.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.DeploySSTRequest.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.DeploySSTResponse.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.DeploySSTResponse.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.DeploySSTResponse.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.DeploySSTResponse.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.DeploySSTResponse.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.DeploySSTResponse.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.DeploySSTResponse.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.DeploySSTResponse.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.FileInfo.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.FileInfo.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.FileInfo.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.FileInfo.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.FileInfo.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.FileInfo.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.FileInfo.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.FileInfo.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetAgeIdentityRequest.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetAgeIdentityRequest.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetAgeIdentityRequest.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetAgeIdentityRequest.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetAgeIdentityRequest.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetAgeIdentityRequest.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetAgeIdentityRequest.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetAgeIdentityRequest.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetAwsRequest.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetAwsRequest.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetAwsRequest.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetAwsRequest.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetAwsRequest.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetAwsRequest.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetAwsRequest.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetAwsRequest.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetConfigRequest.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetConfigRequest.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetConfigRequest.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetConfigRequest.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetConfigRequest.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetConfigRequest.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetConfigRequest.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetConfigRequest.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetHealthchecksRequest.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetHealthchecksRequest.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetHealthchecksRequest.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetHealthchecksRequest.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetHealthchecksRequest.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetHealthchecksRequest.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetHealthchecksRequest.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetHealthchecksRequest.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetKMSConfigRequest.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetKMSConfigRequest.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetKMSConfigRequest.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetKMSConfigRequest.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetKMSConfigRequest.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetKMSConfigRequest.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetKMSConfigRequest.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetKMSConfigRequest.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetModuleRequest.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetModuleRequest.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetModuleRequest.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetModuleRequest.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetModuleRequest.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetModuleRequest.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetModuleRequest.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetModuleRequest.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetModulesRequest.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetModulesRequest.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetModulesRequest.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetModulesRequest.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetModulesRequest.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetModulesRequest.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetModulesRequest.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetModulesRequest.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSSTConfigRequest.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSSTConfigRequest.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSSTConfigRequest.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSSTConfigRequest.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSSTConfigRequest.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSSTConfigRequest.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSSTConfigRequest.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSSTConfigRequest.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSSTOutputsRequest.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSSTOutputsRequest.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSSTOutputsRequest.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSSTOutputsRequest.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSSTOutputsRequest.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSSTOutputsRequest.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSSTOutputsRequest.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSSTOutputsRequest.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSSTResourcesRequest.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSSTResourcesRequest.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSSTResourcesRequest.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSSTResourcesRequest.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSSTResourcesRequest.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSSTResourcesRequest.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSSTResourcesRequest.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSSTResourcesRequest.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSSTStatusRequest.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSSTStatusRequest.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSSTStatusRequest.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSSTStatusRequest.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSSTStatusRequest.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSSTStatusRequest.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSSTStatusRequest.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSSTStatusRequest.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetServicesStatusRequest.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetServicesStatusRequest.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetServicesStatusRequest.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetServicesStatusRequest.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetServicesStatusRequest.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetServicesStatusRequest.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetServicesStatusRequest.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetServicesStatusRequest.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetServicesStatusResponse.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetServicesStatusResponse.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetServicesStatusResponse.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetServicesStatusResponse.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetServicesStatusResponse.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetServicesStatusResponse.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetServicesStatusResponse.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetServicesStatusResponse.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSstRequest.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSstRequest.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSstRequest.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSstRequest.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSstRequest.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSstRequest.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSstRequest.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.GetSstRequest.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.HealthcheckInfo.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.HealthcheckInfo.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.HealthcheckInfo.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.HealthcheckInfo.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.HealthcheckInfo.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.HealthcheckInfo.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.HealthcheckInfo.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.HealthcheckInfo.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.HealthchecksResponse.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.HealthchecksResponse.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.HealthchecksResponse.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.HealthchecksResponse.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.HealthchecksResponse.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.HealthchecksResponse.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.HealthchecksResponse.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.HealthchecksResponse.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.KMSConfigResponse.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.KMSConfigResponse.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.KMSConfigResponse.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.KMSConfigResponse.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.KMSConfigResponse.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.KMSConfigResponse.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.KMSConfigResponse.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.KMSConfigResponse.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ListFilesRequest.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ListFilesRequest.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ListFilesRequest.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ListFilesRequest.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ListFilesRequest.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ListFilesRequest.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ListFilesRequest.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ListFilesRequest.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ListFilesResponse.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ListFilesResponse.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ListFilesResponse.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ListFilesResponse.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ListFilesResponse.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ListFilesResponse.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ListFilesResponse.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ListFilesResponse.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixEvalRequest.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixEvalRequest.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixEvalRequest.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixEvalRequest.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixEvalRequest.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixEvalRequest.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixEvalRequest.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixEvalRequest.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixEvalResponse.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixEvalResponse.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixEvalResponse.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixEvalResponse.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixEvalResponse.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixEvalResponse.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixEvalResponse.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixEvalResponse.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixGenerateRequest.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixGenerateRequest.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixGenerateRequest.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixGenerateRequest.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixGenerateRequest.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixGenerateRequest.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixGenerateRequest.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixGenerateRequest.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixGenerateResponse.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixGenerateResponse.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixGenerateResponse.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixGenerateResponse.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixGenerateResponse.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixGenerateResponse.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixGenerateResponse.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixGenerateResponse.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixpkgsPackage.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixpkgsPackage.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixpkgsPackage.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixpkgsPackage.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixpkgsPackage.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixpkgsPackage.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixpkgsPackage.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.NixpkgsPackage.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ReadFileRequest.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ReadFileRequest.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ReadFileRequest.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ReadFileRequest.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ReadFileRequest.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ReadFileRequest.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ReadFileRequest.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ReadFileRequest.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ReadFileResponse.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ReadFileResponse.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ReadFileResponse.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ReadFileResponse.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ReadFileResponse.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ReadFileResponse.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ReadFileResponse.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ReadFileResponse.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.RefreshNixConfigRequest.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.RefreshNixConfigRequest.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.RefreshNixConfigRequest.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.RefreshNixConfigRequest.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.RefreshNixConfigRequest.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.RefreshNixConfigRequest.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.RefreshNixConfigRequest.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.RefreshNixConfigRequest.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.RemoveSSTRequest.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.RemoveSSTRequest.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.RemoveSSTRequest.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.RemoveSSTRequest.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.RemoveSSTRequest.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.RemoveSSTRequest.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.RemoveSSTRequest.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.RemoveSSTRequest.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.RemoveSSTResponse.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.RemoveSSTResponse.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.RemoveSSTResponse.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.RemoveSSTResponse.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.RemoveSSTResponse.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.RemoveSSTResponse.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.RemoveSSTResponse.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.RemoveSSTResponse.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SSTOutputsResponse.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SSTOutputsResponse.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SSTOutputsResponse.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SSTOutputsResponse.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SSTOutputsResponse.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SSTOutputsResponse.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SSTOutputsResponse.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SSTOutputsResponse.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SSTResource.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SSTResource.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SSTResource.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SSTResource.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SSTResource.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SSTResource.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SSTResource.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SSTResource.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SSTResourcesResponse.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SSTResourcesResponse.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SSTResourcesResponse.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SSTResourcesResponse.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SSTResourcesResponse.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SSTResourcesResponse.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SSTResourcesResponse.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SSTResourcesResponse.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SSTStatusResponse.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SSTStatusResponse.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SSTStatusResponse.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SSTStatusResponse.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SSTStatusResponse.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SSTStatusResponse.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SSTStatusResponse.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SSTStatusResponse.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SearchNixpkgsRequest.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SearchNixpkgsRequest.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SearchNixpkgsRequest.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SearchNixpkgsRequest.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SearchNixpkgsRequest.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SearchNixpkgsRequest.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SearchNixpkgsRequest.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SearchNixpkgsRequest.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SearchNixpkgsResponse.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SearchNixpkgsResponse.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SearchNixpkgsResponse.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SearchNixpkgsResponse.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SearchNixpkgsResponse.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SearchNixpkgsResponse.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SearchNixpkgsResponse.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SearchNixpkgsResponse.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ServiceRequest.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ServiceRequest.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ServiceRequest.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ServiceRequest.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ServiceRequest.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ServiceRequest.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ServiceRequest.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ServiceRequest.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ServiceResponse.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ServiceResponse.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ServiceResponse.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ServiceResponse.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ServiceResponse.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ServiceResponse.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ServiceResponse.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ServiceResponse.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ServiceStatus.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ServiceStatus.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ServiceStatus.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ServiceStatus.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ServiceStatus.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ServiceStatus.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ServiceStatus.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.ServiceStatus.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SetAgeIdentityRequest.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SetAgeIdentityRequest.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SetAgeIdentityRequest.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SetAgeIdentityRequest.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SetAgeIdentityRequest.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SetAgeIdentityRequest.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SetAgeIdentityRequest.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SetAgeIdentityRequest.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SetKMSConfigRequest.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SetKMSConfigRequest.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SetKMSConfigRequest.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SetKMSConfigRequest.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SetKMSConfigRequest.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SetKMSConfigRequest.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SetKMSConfigRequest.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.SetKMSConfigRequest.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.WriteFileRequest.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.WriteFileRequest.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.WriteFileRequest.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.WriteFileRequest.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.WriteFileRequest.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.WriteFileRequest.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.WriteFileRequest.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.WriteFileRequest.schema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.WriteFileResponse.jsonschema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.WriteFileResponse.jsonschema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.WriteFileResponse.jsonschema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.WriteFileResponse.jsonschema.strict.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.WriteFileResponse.schema.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.WriteFileResponse.schema.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.WriteFileResponse.schema.strict.bundle.json delete mode 100644 packages/proto/gen/json/stackpanel.agent.WriteFileResponse.schema.strict.json diff --git a/apps/stackpanel-go/internal/agent/README.md b/apps/stackpanel-go/internal/agent/README.md index e9ef75d9..823014cf 100644 --- a/apps/stackpanel-go/internal/agent/README.md +++ b/apps/stackpanel-go/internal/agent/README.md @@ -148,7 +148,7 @@ handling, FlakeWatcher integration, and evaluated-entity merging. | File | Purpose | |------|---------| -| `nix_data.go` | **Main data handler.** HTTP endpoints for `/api/nix/data` (GET/POST/DELETE) and `/api/nix/data/list`. Delegates to `s.store` (`*nixdata.Store`) for all filesystem operations. Also provides thin wrapper methods (`readNixEntityJSON`, `writeNixEntityJSON`, `readConsolidatedData`, `writeConsolidatedData`, `patchConsolidatedData`) so that Connect handlers and other server files compile unchanged. Server-specific logic (FlakeWatcher lookup, evaluated entity merging) stays here. | +| `nix_data.go` | **Main data handler.** HTTP endpoints for `/api/nix/data` (GET/POST/DELETE) and `/api/nix/data/list`. Delegates to `s.store` (`*nixdata.Store`) for all filesystem operations. Also provides thin wrapper methods (`readNixEntityJSON`, `readConsolidatedData`, `writeConsolidatedData`, `patchConsolidatedData`) so that Connect handlers and other server files compile unchanged. Server-specific logic (FlakeWatcher lookup, evaluated entity merging) stays here. | | `nix_config.go` | `GET/POST /api/nix/config` — returns the fully-evaluated flake config (`stackpanelConfig`). Caches aggressively; POST forces a re-eval. | | `nix_files.go` | `GET /api/nix/files` — lists generated files declared in the Nix config, enriched with on-disk status (`existsOnDisk`, `isStale`). | | `nix_ui.go` | `GET /api/nix/ui/runtime` and `/api/nix/ui/extensions` — lightweight JSON snapshots of the runtime config and extension metadata for the UI. Cached with short TTL. | @@ -183,16 +183,17 @@ handleNixDataRead() ### Connect-RPC (Typed API) -A parallel API surface generated from `agent.proto`. The web UI is migrating -toward these typed endpoints. +A parallel API surface generated from `agent.proto`. The web UI uses it for +project info, entity reads, exec, installed packages, processes, the evaluated +Nix config, `PatchNixData`, and devshell status/rebuild. Everything else goes +through the REST handlers above. | File | Purpose | |------|---------| -| `connect_service.go` | `AgentServiceServer` — implements the Connect-RPC `AgentService` interface. Contains handlers for project info, exec, nix eval/generate, nixpkgs search, shell status, and more. | -| `connect_handlers.go` | Additional Connect handlers: SST infrastructure, process-compose, secrets, files. | -| `connect_entities_gen.go` | **Generated** — entity CRUD handlers (`GetSecrets`, `GetApps`, etc.) auto-generated from proto definitions. Calls `s.server.readNixEntityJSON()` / `writeNixEntityJSON()` which delegate to the store. Do not edit. | +| `connect_service.go` | `AgentServiceServer` — implements the Connect-RPC `AgentService` interface. Contains handlers for project info, exec, and devshell status/rebuild. | +| `connect_handlers.go` | Additional Connect handlers: installed packages, process-compose processes, full Nix config. | +| `connect_entities_gen.go` | **Generated** — entity read handlers (`GetSecrets`, `GetApps`, etc.) auto-generated from proto definitions. Calls `s.server.readNixEntityJSON()` which delegates to the store. Do not edit. | | `connect_patch.go` | `PatchNixData` RPC — patches a single value at a nested path within `config.nix`. Uses `s.server.patchConsolidatedData()` which delegates to `store.PatchConsolidatedData()`. | -| `connect_modules.go` | `EnableModule` / `DisableModule` / `ConfigureModule` RPCs for the module browser. | ### Secrets diff --git a/apps/stackpanel-go/internal/agent/server/connect_entities_gen.go b/apps/stackpanel-go/internal/agent/server/connect_entities_gen.go index 622cfdcb..66e177fc 100644 --- a/apps/stackpanel-go/internal/agent/server/connect_entities_gen.go +++ b/apps/stackpanel-go/internal/agent/server/connect_entities_gen.go @@ -12,132 +12,6 @@ import ( "google.golang.org/protobuf/encoding/protojson" ) -// GetSecrets retrieves the secrets entity from Nix data. -// Generated from proto - do not edit manually. -func (s *AgentServiceServer) GetSecrets( - ctx context.Context, - req *connect.Request[gopb.GetSecretsRequest], -) (*connect.Response[gopb.Secrets], error) { - data, err := s.server.readNixEntityJSON("secrets") - if err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - - var result gopb.Secrets - if len(data) > 0 { - if err := protojson.Unmarshal(data, &result); err != nil { - // Fall back to standard JSON if protojson fails - if err := json.Unmarshal(data, &result); err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - } - } - - return connect.NewResponse(&result), nil -} - -// SetSecrets updates the secrets entity in Nix data. -// Generated from proto - do not edit manually. -func (s *AgentServiceServer) SetSecrets( - ctx context.Context, - req *connect.Request[gopb.Secrets], -) (*connect.Response[gopb.Secrets], error) { - data, err := protojson.Marshal(req.Msg) - if err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - - if err := s.server.writeNixEntityJSON("secrets", data); err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - - return connect.NewResponse(req.Msg), nil -} - -// GetAws retrieves the aws entity from Nix data. -// Generated from proto - do not edit manually. -func (s *AgentServiceServer) GetAws( - ctx context.Context, - req *connect.Request[gopb.GetAwsRequest], -) (*connect.Response[gopb.Aws], error) { - data, err := s.server.readNixEntityJSON("aws") - if err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - - var result gopb.Aws - if len(data) > 0 { - if err := protojson.Unmarshal(data, &result); err != nil { - // Fall back to standard JSON if protojson fails - if err := json.Unmarshal(data, &result); err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - } - } - - return connect.NewResponse(&result), nil -} - -// SetAws updates the aws entity in Nix data. -// Generated from proto - do not edit manually. -func (s *AgentServiceServer) SetAws( - ctx context.Context, - req *connect.Request[gopb.Aws], -) (*connect.Response[gopb.Aws], error) { - data, err := protojson.Marshal(req.Msg) - if err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - - if err := s.server.writeNixEntityJSON("aws", data); err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - - return connect.NewResponse(req.Msg), nil -} - -// GetApps retrieves the apps entity from Nix data. -// Generated from proto - do not edit manually. -func (s *AgentServiceServer) GetApps( - ctx context.Context, - req *connect.Request[gopb.GetAppsRequest], -) (*connect.Response[gopb.Apps], error) { - data, err := s.server.readNixEntityJSON("apps") - if err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - - var result gopb.Apps - if len(data) > 0 { - if err := protojson.Unmarshal(data, &result); err != nil { - // Fall back to standard JSON if protojson fails - if err := json.Unmarshal(data, &result); err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - } - } - - return connect.NewResponse(&result), nil -} - -// SetApps updates the apps entity in Nix data. -// Generated from proto - do not edit manually. -func (s *AgentServiceServer) SetApps( - ctx context.Context, - req *connect.Request[gopb.Apps], -) (*connect.Response[gopb.Apps], error) { - data, err := protojson.Marshal(req.Msg) - if err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - - if err := s.server.writeNixEntityJSON("apps", data); err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - - return connect.NewResponse(req.Msg), nil -} - // GetVariables retrieves the variables entity from Nix data. // Generated from proto - do not edit manually. func (s *AgentServiceServer) GetVariables( @@ -162,72 +36,6 @@ func (s *AgentServiceServer) GetVariables( return connect.NewResponse(&result), nil } -// SetVariables updates the variables entity in Nix data. -// Generated from proto - do not edit manually. -func (s *AgentServiceServer) SetVariables( - ctx context.Context, - req *connect.Request[gopb.Variables], -) (*connect.Response[gopb.Variables], error) { - data, err := protojson.Marshal(req.Msg) - if err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - - if err := s.server.writeNixEntityJSON("variables", data); err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - - return connect.NewResponse(req.Msg), nil -} - -// GetModules retrieves the modules entity from Nix data. -// Generated from proto - do not edit manually. -func (s *AgentServiceServer) GetModules( - ctx context.Context, - req *connect.Request[gopb.GetModulesRequest], -) (*connect.Response[gopb.Modules], error) { - data, err := s.server.readNixEntityJSON("modules") - if err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - - var result gopb.Modules - if len(data) > 0 { - if err := protojson.Unmarshal(data, &result); err != nil { - // Fall back to standard JSON if protojson fails - if err := json.Unmarshal(data, &result); err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - } - } - - return connect.NewResponse(&result), nil -} - -// GetModule retrieves the module entity from Nix data. -// Generated from proto - do not edit manually. -func (s *AgentServiceServer) GetModule( - ctx context.Context, - req *connect.Request[gopb.GetModuleRequest], -) (*connect.Response[gopb.Module], error) { - data, err := s.server.readNixEntityJSON("module") - if err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - - var result gopb.Module - if len(data) > 0 { - if err := protojson.Unmarshal(data, &result); err != nil { - // Fall back to standard JSON if protojson fails - if err := json.Unmarshal(data, &result); err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - } - } - - return connect.NewResponse(&result), nil -} - // GetModuleOutputs retrieves the moduleoutputs entity from Nix data. // Generated from proto - do not edit manually. func (s *AgentServiceServer) GetModuleOutputs( @@ -252,18 +60,18 @@ func (s *AgentServiceServer) GetModuleOutputs( return connect.NewResponse(&result), nil } -// GetConfig retrieves the config entity from Nix data. +// GetSecrets retrieves the secrets entity from Nix data. // Generated from proto - do not edit manually. -func (s *AgentServiceServer) GetConfig( +func (s *AgentServiceServer) GetSecrets( ctx context.Context, - req *connect.Request[gopb.GetConfigRequest], -) (*connect.Response[gopb.Config], error) { - data, err := s.server.readNixEntityJSON("config") + req *connect.Request[gopb.GetSecretsRequest], +) (*connect.Response[gopb.Secrets], error) { + data, err := s.server.readNixEntityJSON("secrets") if err != nil { return nil, connect.NewError(connect.CodeInternal, err) } - var result gopb.Config + var result gopb.Secrets if len(data) > 0 { if err := protojson.Unmarshal(data, &result); err != nil { // Fall back to standard JSON if protojson fails @@ -276,24 +84,6 @@ func (s *AgentServiceServer) GetConfig( return connect.NewResponse(&result), nil } -// SetConfig updates the config entity in Nix data. -// Generated from proto - do not edit manually. -func (s *AgentServiceServer) SetConfig( - ctx context.Context, - req *connect.Request[gopb.Config], -) (*connect.Response[gopb.Config], error) { - data, err := protojson.Marshal(req.Msg) - if err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - - if err := s.server.writeNixEntityJSON("config", data); err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - - return connect.NewResponse(req.Msg), nil -} - // GetUsers retrieves the users entity from Nix data. // Generated from proto - do not edit manually. func (s *AgentServiceServer) GetUsers( @@ -318,36 +108,18 @@ func (s *AgentServiceServer) GetUsers( return connect.NewResponse(&result), nil } -// SetUsers updates the users entity in Nix data. -// Generated from proto - do not edit manually. -func (s *AgentServiceServer) SetUsers( - ctx context.Context, - req *connect.Request[gopb.Users], -) (*connect.Response[gopb.Users], error) { - data, err := protojson.Marshal(req.Msg) - if err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - - if err := s.server.writeNixEntityJSON("users", data); err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - - return connect.NewResponse(req.Msg), nil -} - -// GetSst retrieves the sst entity from Nix data. +// GetApps retrieves the apps entity from Nix data. // Generated from proto - do not edit manually. -func (s *AgentServiceServer) GetSst( +func (s *AgentServiceServer) GetApps( ctx context.Context, - req *connect.Request[gopb.GetSstRequest], -) (*connect.Response[gopb.Sst], error) { - data, err := s.server.readNixEntityJSON("sst") + req *connect.Request[gopb.GetAppsRequest], +) (*connect.Response[gopb.Apps], error) { + data, err := s.server.readNixEntityJSON("apps") if err != nil { return nil, connect.NewError(connect.CodeInternal, err) } - var result gopb.Sst + var result gopb.Apps if len(data) > 0 { if err := protojson.Unmarshal(data, &result); err != nil { // Fall back to standard JSON if protojson fails diff --git a/apps/stackpanel-go/internal/agent/server/connect_handlers.go b/apps/stackpanel-go/internal/agent/server/connect_handlers.go index 454bfdeb..f042efe8 100644 --- a/apps/stackpanel-go/internal/agent/server/connect_handlers.go +++ b/apps/stackpanel-go/internal/agent/server/connect_handlers.go @@ -1,7 +1,6 @@ -// connect_handlers.go contains Connect-RPC handlers for SST infrastructure management, -// nixpkgs package search, process-compose process listing, healthchecks, and -// full Nix config evaluation/refresh. These are higher-level composite operations -// that often shell out to external tools (sst, nix search, process-compose HTTP API). +// connect_handlers.go contains Connect-RPC handlers for installed devshell +// packages, process-compose process listing, and the full evaluated Nix config. +// These read from the FlakeWatcher cache or the process-compose HTTP API. package server @@ -10,499 +9,16 @@ import ( "encoding/json" "fmt" "io" - "os" - "path/filepath" - "strings" "time" "connectrpc.com/connect" gopb "github.com/darkmatter/stackpanel/packages/proto/gen/gopb" ) -// ============================================================================= -// SST Infrastructure Handlers -// ============================================================================= - -// GetSSTStatus probes whether SST is configured, the config file exists, and -// whether a deployment has been made (by checking if `sst outputs` returns data). -func (s *AgentServiceServer) GetSSTStatus( - ctx context.Context, - req *connect.Request[gopb.GetSSTStatusRequest], -) (*connect.Response[gopb.SSTStatusResponse], error) { - resp := &gopb.SSTStatusResponse{ - Configured: false, - Deployed: false, - Stage: "dev", - ConfigPath: "", - ConfigValid: false, - } - - // Get SST config from nix eval - res, err := s.server.exec.RunNix("eval", "--json", ".#stackpanelConfig.sst") - if err != nil { - resp.Error = err.Error() - return connect.NewResponse(resp), nil - } - - if res.ExitCode == 0 { - var cfg SSTConfig - if err := json.Unmarshal([]byte(res.Stdout), &cfg); err == nil && cfg.Enable { - resp.Configured = true - resp.ConfigPath = cfg.ConfigPath - - // Check if config file exists - configFullPath := filepath.Join(s.server.config.ProjectRoot, cfg.ConfigPath) - if _, err := os.Stat(configFullPath); err == nil { - resp.ConfigValid = true - } - - // Try to get outputs from SST - sstDir := filepath.Dir(configFullPath) - outRes, err := s.server.exec.RunWithOptions( - "bunx", - sstDir, - nil, - "sst", - "outputs", - "--json", - ) - if err == nil && outRes.ExitCode == 0 { - var outputs map[string]interface{} - if json.Unmarshal([]byte(outRes.Stdout), &outputs) == nil && len(outputs) > 0 { - resp.Deployed = true - } - } - } - } - - return connect.NewResponse(resp), nil -} - -// GetSSTConfig returns the SST configuration from Nix. -func (s *AgentServiceServer) GetSSTConfig( - ctx context.Context, - req *connect.Request[gopb.GetSSTConfigRequest], -) (*connect.Response[gopb.Sst], error) { - // Get SST config from nix eval - res, err := s.server.exec.RunNix("eval", "--json", ".#stackpanelConfig.sst") - if err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - - if res.ExitCode != 0 { - // SST may not be configured, return empty config - return connect.NewResponse(&gopb.Sst{Enable: false}), nil - } - - var cfg SSTConfig - if err := json.Unmarshal([]byte(res.Stdout), &cfg); err != nil { - return nil, connect.NewError( - connect.CodeInternal, - fmt.Errorf("failed to parse SST config: %w", err), - ) - } - - // Convert to proto message - return connect.NewResponse(&gopb.Sst{ - Enable: cfg.Enable, - ProjectName: cfg.ProjectName, - Region: cfg.Region, - AccountId: cfg.AccountID, - ConfigPath: cfg.ConfigPath, - Kms: &gopb.SstKms{ - Enable: cfg.KMS.Enable, - Alias: cfg.KMS.Alias, - }, - Oidc: &gopb.SstOidc{ - Provider: cfg.OIDC.Provider, - GithubActions: &gopb.SstGithubActions{ - Org: cfg.OIDC.GithubActions.Org, - Repo: cfg.OIDC.GithubActions.Repo, - }, - Flyio: &gopb.SstFlyio{ - OrgId: cfg.OIDC.Flyio.OrgID, - AppName: cfg.OIDC.Flyio.AppName, - }, - RolesAnywhere: &gopb.SstRolesAnywhere{ - TrustAnchorArn: cfg.OIDC.RolesAnywhere.TrustAnchorARN, - }, - }, - Iam: &gopb.SstIam{ - RoleName: cfg.IAM.RoleName, - }, - }), nil -} - -// DeploySST triggers an SST deployment. -func (s *AgentServiceServer) DeploySST( - ctx context.Context, - req *connect.Request[gopb.DeploySSTRequest], -) (*connect.Response[gopb.DeploySSTResponse], error) { - stage := req.Msg.Stage - if stage == "" { - stage = "dev" - } - - // Get SST config path - cfgRes, err := s.server.exec.RunNix( - "eval", - "--json", - ".#stackpanelConfig.sst.config-path", - ) - if err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - - if cfgRes.ExitCode != 0 { - return nil, connect.NewError( - connect.CodeFailedPrecondition, - fmt.Errorf("SST not configured"), - ) - } - - var configPath string - if err := json.Unmarshal([]byte(cfgRes.Stdout), &configPath); err != nil { - return nil, connect.NewError( - connect.CodeInternal, - fmt.Errorf("failed to parse config path: %w", err), - ) - } - - // Run SST deploy - sstDir := filepath.Join(s.server.config.ProjectRoot, filepath.Dir(configPath)) - res, err := s.server.exec.RunWithOptions( - "bunx", - sstDir, - nil, - "sst", - "deploy", - "--stage", - stage, - ) - if err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - - response := &gopb.DeploySSTResponse{ - Success: res.ExitCode == 0, - Output: res.Stdout + res.Stderr, - Outputs: make(map[string]string), - } - - if res.ExitCode != 0 { - response.Error = strings.TrimSpace(res.Stderr) - } else { - // Try to get outputs after successful deploy - outRes, err := s.server.exec.RunWithOptions( - "bunx", - sstDir, - nil, - "sst", - "outputs", - "--json", - ) - if err == nil && outRes.ExitCode == 0 { - var outputs map[string]interface{} - if json.Unmarshal([]byte(outRes.Stdout), &outputs) == nil { - for k, v := range outputs { - if str, ok := v.(string); ok { - response.Outputs[k] = str - } else { - // Convert non-string values to JSON - if data, err := json.Marshal(v); err == nil { - response.Outputs[k] = string(data) - } - } - } - } - } - } - - return connect.NewResponse(response), nil -} - -// RemoveSST removes the SST deployment. -func (s *AgentServiceServer) RemoveSST( - ctx context.Context, - req *connect.Request[gopb.RemoveSSTRequest], -) (*connect.Response[gopb.RemoveSSTResponse], error) { - stage := req.Msg.Stage - if stage == "" { - stage = "dev" - } - - // Get SST config path - cfgRes, err := s.server.exec.RunNix( - "eval", - "--json", - ".#stackpanelConfig.sst.config-path", - ) - if err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - - if cfgRes.ExitCode != 0 { - return nil, connect.NewError( - connect.CodeFailedPrecondition, - fmt.Errorf("SST not configured"), - ) - } - - var configPath string - if err := json.Unmarshal([]byte(cfgRes.Stdout), &configPath); err != nil { - return nil, connect.NewError( - connect.CodeInternal, - fmt.Errorf("failed to parse config path: %w", err), - ) - } - - // Run SST remove - sstDir := filepath.Join(s.server.config.ProjectRoot, filepath.Dir(configPath)) - res, err := s.server.exec.RunWithOptions( - "bunx", - sstDir, - nil, - "sst", - "remove", - "--stage", - stage, - ) - if err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - - return connect.NewResponse(&gopb.RemoveSSTResponse{ - Success: res.ExitCode == 0, - Output: res.Stdout + res.Stderr, - Error: strings.TrimSpace(res.Stderr), - }), nil -} - -// GetSSTOutputs returns the SST stack outputs. -func (s *AgentServiceServer) GetSSTOutputs( - ctx context.Context, - req *connect.Request[gopb.GetSSTOutputsRequest], -) (*connect.Response[gopb.SSTOutputsResponse], error) { - // Get SST config path - cfgRes, err := s.server.exec.RunNix( - "eval", - "--json", - ".#stackpanelConfig.sst.config-path", - ) - if err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - - if cfgRes.ExitCode != 0 { - return connect.NewResponse( - &gopb.SSTOutputsResponse{Outputs: make(map[string]string)}, - ), nil - } - - var configPath string - if err := json.Unmarshal([]byte(cfgRes.Stdout), &configPath); err != nil { - return nil, connect.NewError( - connect.CodeInternal, - fmt.Errorf("failed to parse config path: %w", err), - ) - } - - // Run SST outputs - sstDir := filepath.Join(s.server.config.ProjectRoot, filepath.Dir(configPath)) - res, err := s.server.exec.RunWithOptions( - "bunx", - sstDir, - nil, - "sst", - "outputs", - "--json", - ) - if err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - - outputs := make(map[string]string) - if res.ExitCode == 0 { - var rawOutputs map[string]interface{} - if json.Unmarshal([]byte(res.Stdout), &rawOutputs) == nil { - for k, v := range rawOutputs { - if str, ok := v.(string); ok { - outputs[k] = str - } else { - if data, err := json.Marshal(v); err == nil { - outputs[k] = string(data) - } - } - } - } - } - - return connect.NewResponse(&gopb.SSTOutputsResponse{Outputs: outputs}), nil -} - -// GetSSTResources returns deployed SST resources by reading Pulumi state files -// from the .sst/ directory. This avoids calling `sst` CLI which would be slower. -func (s *AgentServiceServer) GetSSTResources( - ctx context.Context, - req *connect.Request[gopb.GetSSTResourcesRequest], -) (*connect.Response[gopb.SSTResourcesResponse], error) { - // Get SST config path - cfgRes, err := s.server.exec.RunNix( - "eval", - "--json", - ".#stackpanelConfig.sst.config-path", - ) - if err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - - if cfgRes.ExitCode != 0 { - return connect.NewResponse( - &gopb.SSTResourcesResponse{Resources: []*gopb.SSTResource{}}, - ), nil - } - - var configPath string - if err := json.Unmarshal([]byte(cfgRes.Stdout), &configPath); err != nil { - return nil, connect.NewError( - connect.CodeInternal, - fmt.Errorf("failed to parse config path: %w", err), - ) - } - - // Check .sst directory for state - sstDir := filepath.Join(s.server.config.ProjectRoot, filepath.Dir(configPath)) - sstStateDir := filepath.Join(sstDir, ".sst") - - var resources []*gopb.SSTResource - - // If state directory exists, try to list resources from state - if info, err := os.Stat(sstStateDir); err == nil && info.IsDir() { - stateFiles, err := os.ReadDir(sstStateDir) - if err == nil { - for _, file := range stateFiles { - if strings.HasSuffix(file.Name(), ".json") && - strings.HasPrefix(file.Name(), "state") { - statePath := filepath.Join(sstStateDir, file.Name()) - stateData, err := os.ReadFile(statePath) - if err == nil { - var state map[string]interface{} - if json.Unmarshal(stateData, &state) == nil { - if resourcesData, ok := state["resources"].([]interface{}); ok { - for _, r := range resourcesData { - if resMap, ok := r.(map[string]interface{}); ok { - res := &gopb.SSTResource{} - if t, ok := resMap["type"].(string); ok { - res.Type = t - } - if u, ok := resMap["urn"].(string); ok { - res.Urn = u - } - if id, ok := resMap["id"].(string); ok { - res.Id = id - } - resources = append(resources, res) - } - } - } - } - } - } - } - } - } - - return connect.NewResponse(&gopb.SSTResourcesResponse{Resources: resources}), nil -} - // ============================================================================= // Nixpkgs Package Management Handlers // ============================================================================= -// SearchNixpkgs runs `nix search nixpkgs --json` and cross-references -// results against currently installed packages to set the Installed flag. -// The attr path is shortened from "legacyPackages.x86_64-linux.foo" to just "foo". -func (s *AgentServiceServer) SearchNixpkgs( - ctx context.Context, - req *connect.Request[gopb.SearchNixpkgsRequest], -) (*connect.Response[gopb.SearchNixpkgsResponse], error) { - query := strings.TrimSpace(req.Msg.Query) - if query == "" { - return nil, connect.NewError( - connect.CodeInvalidArgument, - fmt.Errorf("query is required"), - ) - } - - limit := int(req.Msg.Limit) - if limit <= 0 { - limit = 20 - } - if limit > 100 { - limit = 100 - } - - // Check if executor is available - if s.server.exec == nil { - return nil, connect.NewError( - connect.CodeUnavailable, - fmt.Errorf("no project is open"), - ) - } - - // Get installed packages for marking - installedSet := s.server.getInstalledPackageSet() - - // Run nix search with JSON output - res, err := s.server.exec.RunNix("search", "nixpkgs", query, "--json") - if err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - - var packages []*gopb.NixpkgsPackage - - if res.ExitCode == 0 { - stdout := strings.TrimSpace(res.Stdout) - if stdout != "" && stdout != "{}" && stdout != "null" { - var searchResults map[string]struct { - Pname string `json:"pname"` - Version string `json:"version"` - Description string `json:"description"` - } - - if err := json.Unmarshal([]byte(stdout), &searchResults); err == nil { - for attrPath, pkg := range searchResults { - // Extract just the package name from the full attr path - parts := strings.Split(attrPath, ".") - shortAttr := attrPath - if len(parts) >= 3 { - shortAttr = strings.Join(parts[2:], ".") - } - - // Check if installed - installed := installedSet[strings.ToLower(pkg.Pname)] || - installedSet[strings.ToLower(shortAttr)] - - packages = append(packages, &gopb.NixpkgsPackage{ - Name: pkg.Pname, - AttrPath: shortAttr, - Version: pkg.Version, - Description: pkg.Description, - Installed: installed, - NixpkgsUrl: "https://search.nixos.org/packages?channel=unstable&show=" + shortAttr, - }) - - if len(packages) >= limit { - break - } - } - } - } - } - - return connect.NewResponse(&gopb.SearchNixpkgsResponse{Packages: packages}), nil -} - // GetInstalledPackages returns packages from the FlakeWatcher cache, which tracks // the evaluated devshell packages and invalidates on flake.nix changes. // Falls back to an empty list rather than erroring — the UI handles this gracefully. @@ -545,9 +61,8 @@ func (s *AgentServiceServer) GetInstalledPackages( // Process-Compose Handlers // ============================================================================= -// GetProcesses returns all process-compose processes (all namespaces, not just "services"). -// Unlike GetServicesStatus which filters to the "services" namespace, this returns -// everything for the process management UI panel. +// GetProcesses returns all process-compose processes across every namespace +// for the process management UI panel. func (s *AgentServiceServer) GetProcesses( ctx context.Context, req *connect.Request[gopb.GetProcessesRequest], @@ -622,74 +137,6 @@ func (s *AgentServiceServer) GetProcesses( return connect.NewResponse(resp), nil } -// ============================================================================= -// Healthchecks Handler -// ============================================================================= - -// GetHealthchecks returns the current health status from cache. -// This endpoint never auto-runs checks — it only returns previously cached -// results. Checks that have never been run are reported as unknown/unhealthy. -// Use the REST POST /api/healthchecks endpoint to explicitly run checks. -func (s *AgentServiceServer) GetHealthchecks( - ctx context.Context, - req *connect.Request[gopb.GetHealthchecksRequest], -) (*connect.Response[gopb.HealthchecksResponse], error) { - // Get healthcheck definitions from config - healthchecks, err := s.server.getHealthcheckDefinitions() - if err != nil { - return nil, connect.NewError( - connect.CodeInternal, - fmt.Errorf("failed to get healthcheck definitions: %w", err), - ) - } - - var results []*gopb.HealthcheckInfo - allHealthy := true - - for _, check := range healthchecks { - if !check.Enabled { - continue - } - - // Use cached result only — never auto-run - cached := s.server.getCachedResult(check.ID) - - var healthy bool - var msg, details string - - if cached != nil { - healthy = cached.Status == HealthStatusHealthy - if cached.Message != nil { - msg = *cached.Message - } - if cached.Output != nil { - details = *cached.Output - } - } else { - // No cached result — report as not yet run - healthy = false - msg = "Check has not been run yet" - } - - if !healthy { - allHealthy = false - } - - results = append(results, &gopb.HealthcheckInfo{ - Name: check.Name, - Type: string(check.Type), - Healthy: healthy, - Message: msg, - Details: details, - }) - } - - return connect.NewResponse(&gopb.HealthchecksResponse{ - AllHealthy: allHealthy, - Checks: results, - }), nil -} - // ============================================================================= // Full Nix Config Handlers // ============================================================================= @@ -759,78 +206,3 @@ func (s *AgentServiceServer) GetNixConfig( Source: "fresh_eval", }), nil } - -// RefreshNixConfig forces a full re-evaluation of the Nix flake configuration. -// The 5-minute timeout is intentionally long — Nix may need to download -// substitutions from binary caches on first eval or after flake.lock changes. -// Broadcasts a "config.refreshed" SSE event so other connected clients update. -func (s *AgentServiceServer) RefreshNixConfig( - ctx context.Context, - req *connect.Request[gopb.RefreshNixConfigRequest], -) (*connect.Response[gopb.NixConfigResponse], error) { - // 5 minutes allows time for Nix to download packages from caches - ctx, cancel := context.WithTimeout(ctx, 5*time.Minute) - defer cancel() - - // Try FlakeWatcher first - if s.server.flakeWatcher != nil { - if err := s.server.flakeWatcher.ForceRefresh(ctx); err == nil { - config, _ := s.server.flakeWatcher.GetConfig(ctx) - - configJSON, err := json.Marshal(config) - if err != nil { - return nil, connect.NewError( - connect.CodeInternal, - fmt.Errorf("failed to marshal config: %w", err), - ) - } - - // Notify SSE subscribers that config has changed - s.server.broadcastSSE(SSEEvent{ - Event: "config.refreshed", - Data: map[string]any{ - "timestamp": time.Now().Format(time.RFC3339), - }, - }) - - return connect.NewResponse(&gopb.NixConfigResponse{ - ConfigJson: string(configJSON), - LastUpdated: time.Now().Format(time.RFC3339), - Cached: false, - Source: "flake_watcher", - }), nil - } - } - - // Fallback to legacy evaluation - config, err := s.server.evaluateConfig() - if err != nil { - return nil, connect.NewError( - connect.CodeInternal, - fmt.Errorf("failed to evaluate config: %w", err), - ) - } - - configJSON, err := json.Marshal(config) - if err != nil { - return nil, connect.NewError( - connect.CodeInternal, - fmt.Errorf("failed to marshal config: %w", err), - ) - } - - // Notify SSE subscribers that config has changed - s.server.broadcastSSE(SSEEvent{ - Event: "config.refreshed", - Data: map[string]any{ - "timestamp": time.Now().Format(time.RFC3339), - }, - }) - - return connect.NewResponse(&gopb.NixConfigResponse{ - ConfigJson: string(configJSON), - LastUpdated: time.Now().Format(time.RFC3339), - Cached: false, - Source: "fresh_eval", - }), nil -} diff --git a/apps/stackpanel-go/internal/agent/server/connect_modules.go b/apps/stackpanel-go/internal/agent/server/connect_modules.go deleted file mode 100644 index 431445d1..00000000 --- a/apps/stackpanel-go/internal/agent/server/connect_modules.go +++ /dev/null @@ -1,408 +0,0 @@ -// connect_modules.go provides Connect-RPC handlers for enabling, disabling, and -// configuring stackpanel modules. Module changes are persisted to disk but only -// take effect after re-entering the devshell (Nix needs to re-evaluate). -// SSE events are broadcast on changes so connected UIs can update immediately. - -package server - -import ( - "context" - "encoding/json" - "fmt" - "os" - - "connectrpc.com/connect" - gopb "github.com/darkmatter/stackpanel/packages/proto/gen/gopb" -) - -// EnableModule enables a module by updating the module config file. -func (s *AgentServiceServer) EnableModule( - ctx context.Context, - req *connect.Request[gopb.EnableModuleRequest], -) (*connect.Response[gopb.ModuleResponse], error) { - moduleID := req.Msg.GetModuleId() - if moduleID == "" { - return nil, connect.NewError( - connect.CodeInvalidArgument, - fmt.Errorf("module_id is required"), - ) - } - - // Load existing config or create new - config, err := s.server.loadModuleConfig(moduleID) - if err != nil && !os.IsNotExist(err) { - return nil, connect.NewError( - connect.CodeInternal, - fmt.Errorf("failed to load config: %w", err), - ) - } - - // Enable the module - enabled := true - config.Enable = &enabled - - // Apply initial settings if provided - if len(req.Msg.GetSettings()) > 0 { - if config.Settings == nil { - config.Settings = make(map[string]any) - } - for k, v := range req.Msg.GetSettings() { - config.Settings[k] = v - } - } - - // Save config - if err := s.server.saveModuleConfig(moduleID, config); err != nil { - return nil, connect.NewError( - connect.CodeInternal, - fmt.Errorf("failed to save config: %w", err), - ) - } - - // Broadcast change via SSE - s.server.broadcastSSE(SSEEvent{ - Event: "module.enabled.changed", - Data: map[string]any{ - "module": moduleID, - "enabled": true, - }, - }) - - msg := fmt.Sprintf( - "Module '%s' enabled. Re-enter your devshell to apply changes.", - moduleID, - ) - return connect.NewResponse(&gopb.ModuleResponse{ - Success: true, - Message: &msg, - Module: &gopb.Module{ - Id: moduleID, - Enable: true, - Settings: req.Msg.GetSettings(), - }, - }), nil -} - -// DisableModule disables a module by updating the module config file. -func (s *AgentServiceServer) DisableModule( - ctx context.Context, - req *connect.Request[gopb.DisableModuleRequest], -) (*connect.Response[gopb.ModuleResponse], error) { - moduleID := req.Msg.GetModuleId() - if moduleID == "" { - return nil, connect.NewError( - connect.CodeInvalidArgument, - fmt.Errorf("module_id is required"), - ) - } - - // Load existing config or create new - config, err := s.server.loadModuleConfig(moduleID) - if err != nil && !os.IsNotExist(err) { - return nil, connect.NewError( - connect.CodeInternal, - fmt.Errorf("failed to load config: %w", err), - ) - } - - // Disable the module - enabled := false - config.Enable = &enabled - - // Save config - if err := s.server.saveModuleConfig(moduleID, config); err != nil { - return nil, connect.NewError( - connect.CodeInternal, - fmt.Errorf("failed to save config: %w", err), - ) - } - - // Broadcast change via SSE - s.server.broadcastSSE(SSEEvent{ - Event: "module.enabled.changed", - Data: map[string]any{ - "module": moduleID, - "enabled": false, - }, - }) - - msg := fmt.Sprintf( - "Module '%s' disabled. Re-enter your devshell to apply changes.", - moduleID, - ) - return connect.NewResponse(&gopb.ModuleResponse{ - Success: true, - Message: &msg, - Module: &gopb.Module{ - Id: moduleID, - Enable: false, - }, - }), nil -} - -// UpdateModuleSettings updates the settings for a module. -func (s *AgentServiceServer) UpdateModuleSettings( - ctx context.Context, - req *connect.Request[gopb.UpdateModuleSettingsRequest], -) (*connect.Response[gopb.ModuleResponse], error) { - moduleID := req.Msg.GetModuleId() - if moduleID == "" { - return nil, connect.NewError( - connect.CodeInvalidArgument, - fmt.Errorf("module_id is required"), - ) - } - - // Load existing config or create new - config, err := s.server.loadModuleConfig(moduleID) - if err != nil && !os.IsNotExist(err) { - return nil, connect.NewError( - connect.CodeInternal, - fmt.Errorf("failed to load config: %w", err), - ) - } - - // Update settings - if config.Settings == nil { - config.Settings = make(map[string]any) - } - for k, v := range req.Msg.GetSettings() { - config.Settings[k] = v - } - - // Save config - if err := s.server.saveModuleConfig(moduleID, config); err != nil { - return nil, connect.NewError( - connect.CodeInternal, - fmt.Errorf("failed to save config: %w", err), - ) - } - - // Broadcast change via SSE - s.server.broadcastSSE(SSEEvent{ - Event: "module.config.updated", - Data: map[string]any{ - "module": moduleID, - "settings": req.Msg.GetSettings(), - }, - }) - - msg := fmt.Sprintf( - "Module '%s' settings updated. Re-enter your devshell to apply changes.", - moduleID, - ) - return connect.NewResponse(&gopb.ModuleResponse{ - Success: true, - Message: &msg, - Module: &gopb.Module{ - Id: moduleID, - Enable: true, // Assume module is enabled if we're updating settings - Settings: req.Msg.GetSettings(), - }, - }), nil -} - -// moduleToProto converts an internal Module (from Nix evaluation) to the proto -// representation. This mapping is verbose because the proto schema mirrors the -// Nix module type system (meta, source, features, panels, per-app config). -func moduleToProto(m Module) *gopb.Module { - pm := &gopb.Module{ - Id: m.ID, - Enable: m.Enabled, - Meta: &gopb.ModuleMeta{ - Name: m.Meta.Name, - Category: categoryToProto(m.Meta.Category), - }, - Source: &gopb.ModuleSource{ - Type: sourceTypeToProto(m.Source.Type), - }, - Features: &gopb.ModuleFeatures{ - Files: m.Features.Files, - Scripts: m.Features.Scripts, - Tasks: m.Features.Tasks, - Healthchecks: m.Features.Healthchecks, - Services: m.Features.Services, - Secrets: m.Features.Secrets, - Packages: m.Features.Packages, - AppModule: m.Features.AppModule, - }, - Requires: m.Requires, - Conflicts: m.Conflicts, - Priority: int32(m.Priority), - Tags: m.Tags, - } - - // Optional fields - if m.Meta.Description != nil { - pm.Meta.Description = m.Meta.Description - } - if m.Meta.Icon != nil { - pm.Meta.Icon = m.Meta.Icon - } - if m.Meta.Author != nil { - pm.Meta.Author = m.Meta.Author - } - if m.Meta.Version != nil { - pm.Meta.Version = m.Meta.Version - } - if m.Meta.Homepage != nil { - pm.Meta.Homepage = m.Meta.Homepage - } - if m.ConfigSchema != nil { - pm.ConfigSchema = m.ConfigSchema - } - if m.HealthModule != nil { - pm.HealthcheckModule = m.HealthModule - } - - // Source optional fields - if m.Source.FlakeInput != nil { - pm.Source.FlakeInput = m.Source.FlakeInput - } - if m.Source.Path != nil { - pm.Source.Path = m.Source.Path - } - if m.Source.RegistryID != nil { - pm.Source.RegistryId = m.Source.RegistryID - } - if m.Source.Ref != nil { - pm.Source.Ref = m.Source.Ref - } - - // Panels - for _, p := range m.Panels { - protoPanel := &gopb.ModulePanel{ - Id: p.ID, - Title: p.Title, - Type: panelTypeToProto(p.Type), - Order: int32(p.Order), - } - if p.Description != nil { - protoPanel.Description = p.Description - } - for _, f := range p.Fields { - protoPanel.Fields = append(protoPanel.Fields, &gopb.ModulePanelField{ - Name: f.Name, - Type: fieldTypeToProto(f.Type), - Value: f.Value, - Options: f.Options, - }) - } - pm.Panels = append(pm.Panels, protoPanel) - } - - // Apps - if m.Apps != nil { - pm.Apps = make(map[string]*gopb.ModuleAppData) - for appName, appData := range m.Apps { - if data, err := json.Marshal(appData); err == nil { - var appConfig map[string]any - if err := json.Unmarshal(data, &appConfig); err == nil { - pm.Apps[appName] = &gopb.ModuleAppData{ - Enabled: true, - Config: stringMapFromAny(appConfig), - } - } - } - } - } - - return pm -} - -// stringMapFromAny flattens a map[string]any to map[string]string for proto. -// Non-string values are JSON-marshaled, which is lossy but sufficient for -// the UI which just displays config values as text. -func stringMapFromAny(m map[string]any) map[string]string { - result := make(map[string]string) - for k, v := range m { - if s, ok := v.(string); ok { - result[k] = s - } else if data, err := json.Marshal(v); err == nil { - result[k] = string(data) - } - } - return result -} - -func categoryToProto(cat string) gopb.ModuleCategory { - switch cat { - case "infrastructure": - return gopb.ModuleCategory_MODULE_CATEGORY_INFRASTRUCTURE - case "ci-cd": - return gopb.ModuleCategory_MODULE_CATEGORY_CI_CD - case "database": - return gopb.ModuleCategory_MODULE_CATEGORY_DATABASE - case "secrets": - return gopb.ModuleCategory_MODULE_CATEGORY_SECRETS - case "deployment": - return gopb.ModuleCategory_MODULE_CATEGORY_DEPLOYMENT - case "development": - return gopb.ModuleCategory_MODULE_CATEGORY_DEVELOPMENT - case "monitoring": - return gopb.ModuleCategory_MODULE_CATEGORY_MONITORING - case "integration": - return gopb.ModuleCategory_MODULE_CATEGORY_INTEGRATION - case "language": - return gopb.ModuleCategory_MODULE_CATEGORY_LANGUAGE - case "service": - return gopb.ModuleCategory_MODULE_CATEGORY_SERVICE - default: - return gopb.ModuleCategory_MODULE_CATEGORY_UNSPECIFIED - } -} - -func sourceTypeToProto(t string) gopb.ModuleSourceType { - switch t { - case "builtin": - return gopb.ModuleSourceType_MODULE_SOURCE_TYPE_BUILTIN - case "local": - return gopb.ModuleSourceType_MODULE_SOURCE_TYPE_LOCAL - case "flake-input": - return gopb.ModuleSourceType_MODULE_SOURCE_TYPE_FLAKE_INPUT - case "registry": - return gopb.ModuleSourceType_MODULE_SOURCE_TYPE_REGISTRY - default: - return gopb.ModuleSourceType_MODULE_SOURCE_TYPE_UNSPECIFIED - } -} - -func panelTypeToProto(t string) gopb.ModulePanelType { - switch t { - case "PANEL_TYPE_STATUS": - return gopb.ModulePanelType_MODULE_PANEL_TYPE_STATUS - case "PANEL_TYPE_APPS_GRID": - return gopb.ModulePanelType_MODULE_PANEL_TYPE_APPS_GRID - case "PANEL_TYPE_FORM": - return gopb.ModulePanelType_MODULE_PANEL_TYPE_FORM - case "PANEL_TYPE_TABLE": - return gopb.ModulePanelType_MODULE_PANEL_TYPE_TABLE - case "PANEL_TYPE_CUSTOM": - return gopb.ModulePanelType_MODULE_PANEL_TYPE_CUSTOM - default: - return gopb.ModulePanelType_MODULE_PANEL_TYPE_UNSPECIFIED - } -} - -func fieldTypeToProto(t string) gopb.ModuleFieldType { - switch t { - case "FIELD_TYPE_STRING": - return gopb.ModuleFieldType_MODULE_FIELD_TYPE_STRING - case "FIELD_TYPE_NUMBER": - return gopb.ModuleFieldType_MODULE_FIELD_TYPE_NUMBER - case "FIELD_TYPE_BOOLEAN": - return gopb.ModuleFieldType_MODULE_FIELD_TYPE_BOOLEAN - case "FIELD_TYPE_SELECT": - return gopb.ModuleFieldType_MODULE_FIELD_TYPE_SELECT - case "FIELD_TYPE_MULTISELECT": - return gopb.ModuleFieldType_MODULE_FIELD_TYPE_MULTISELECT - case "FIELD_TYPE_APP_FILTER": - return gopb.ModuleFieldType_MODULE_FIELD_TYPE_APP_FILTER - case "FIELD_TYPE_COLUMNS": - return gopb.ModuleFieldType_MODULE_FIELD_TYPE_COLUMNS - case "FIELD_TYPE_JSON": - return gopb.ModuleFieldType_MODULE_FIELD_TYPE_JSON - default: - return gopb.ModuleFieldType_MODULE_FIELD_TYPE_UNSPECIFIED - } -} diff --git a/apps/stackpanel-go/internal/agent/server/connect_service.go b/apps/stackpanel-go/internal/agent/server/connect_service.go index 5d416420..0bcd9e09 100644 --- a/apps/stackpanel-go/internal/agent/server/connect_service.go +++ b/apps/stackpanel-go/internal/agent/server/connect_service.go @@ -1,19 +1,12 @@ // connect_service.go implements the core Connect-RPC AgentService handlers for -// project info, AGE/KMS secrets management, file operations, command execution, -// nix evaluation, process-compose service lifecycle, and devshell rebuild streaming. +// project info, command execution, and devshell status and rebuild streaming. package server import ( "context" - "encoding/json" "fmt" - "io" - "net/http" - "os" - "os/exec" "path/filepath" - "strings" "connectrpc.com/connect" gopb "github.com/darkmatter/stackpanel/packages/proto/gen/gopb" @@ -69,345 +62,10 @@ func (s *AgentServiceServer) GetProject( } // ============================================================================= -// Config Entity CRUD - Now generated in connect_entities_gen.go +// Config Entity Reads - generated in connect_entities_gen.go // ============================================================================= -// The following methods are auto-generated from proto definitions: -// - GetConfig, SetConfig -// - GetSecrets, SetSecrets -// - GetUsers, SetUsers -// - GetAws, SetAws -// - GetApps, SetApps -// - GetVariables, SetVariables -// -// To add a new entity: -// 1. Add the Get/Set RPC methods to agent.proto -// 2. Run `./generate.sh` in packages/proto -// 3. The handlers will be auto-generated - -// ============================================================================= -// Age Identity Management -// ============================================================================= - -// GetAgeIdentity returns the current AGE identity used for SOPS secret decryption. -// The identity can be either an inline key (stored in .stack/state/) or a path -// to an external key file. When the variables backend is "chamber" (AWS SSM), -// AGE is irrelevant and a "not_applicable" response is returned. -func (s *AgentServiceServer) GetAgeIdentity( - ctx context.Context, - req *connect.Request[gopb.GetAgeIdentityRequest], -) (*connect.Response[gopb.AgeIdentityResponse], error) { - // When backend is chamber, AGE identity is not applicable - if s.server.getVariablesBackend() == "chamber" { - return connect.NewResponse(&gopb.AgeIdentityResponse{ - Type: "not_applicable", - Value: "Variables backend is set to 'chamber' - AGE identity is not used", - KeyPath: "", - PublicKey: "", - }), nil - } - - identityFile := s.server.getAgeIdentityPath() - resp := &gopb.AgeIdentityResponse{ - Type: "", - Value: "", - KeyPath: "", - PublicKey: "", - } - - data, err := os.ReadFile(identityFile) - if err != nil { - if os.IsNotExist(err) { - return connect.NewResponse(resp), nil - } - return nil, connect.NewError( - connect.CodeInternal, - fmt.Errorf("failed to read identity: %w", err), - ) - } - - value := strings.TrimSpace(string(data)) - if value == "" { - return connect.NewResponse(resp), nil - } - - if isAgeKeyContent(value) { - resp.Type = "key" - resp.Value = "(key stored)" - resp.KeyPath = s.server.getAgeIdentityKeyPath() - } else { - resp.Type = "path" - resp.Value = value - if strings.HasPrefix(value, "~") { - if home, err := os.UserHomeDir(); err == nil { - resp.KeyPath = filepath.Join(home, value[1:]) - } else { - resp.KeyPath = value - } - } else { - resp.KeyPath = value - } - } - - return connect.NewResponse(resp), nil -} - -// SetAgeIdentity stores or clears the AGE identity. Accepts either: -// - An inline AGE-SECRET-KEY-... value (written to a dedicated key file) -// - A filesystem path to an existing key (tilde-expanded, validated for existence) -// - Empty string to clear both identity and key files -func (s *AgentServiceServer) SetAgeIdentity( - ctx context.Context, - req *connect.Request[gopb.SetAgeIdentityRequest], -) (*connect.Response[gopb.AgeIdentityResponse], error) { - stateDir := filepath.Join(s.server.config.ProjectRoot, ".stack", "state") - if err := os.MkdirAll(stateDir, 0o700); err != nil { - return nil, connect.NewError( - connect.CodeInternal, - fmt.Errorf("failed to create state dir: %w", err), - ) - } - - identityFile := s.server.getAgeIdentityPath() - keyFile := s.server.getAgeIdentityKeyPath() - value := strings.TrimSpace(req.Msg.Value) - - resp := &gopb.AgeIdentityResponse{} - - if value == "" { - os.Remove(identityFile) - os.Remove(keyFile) - return connect.NewResponse(resp), nil - } - - if isAgeKeyContent(value) { - if err := os.WriteFile(keyFile, []byte(value), 0o600); err != nil { - return nil, connect.NewError( - connect.CodeInternal, - fmt.Errorf("failed to write key: %w", err), - ) - } - if err := os.WriteFile( - identityFile, - []byte("AGE-SECRET-KEY-..."), - 0o600, - ); err != nil { - return nil, connect.NewError( - connect.CodeInternal, - fmt.Errorf("failed to write identity: %w", err), - ) - } - resp.Type = "key" - resp.Value = "(key stored)" - resp.KeyPath = keyFile - log.Info().Str("keyPath", keyFile).Msg("Age identity key stored") - } else { - expandedPath := value - if strings.HasPrefix(value, "~") { - if home, err := os.UserHomeDir(); err == nil { - expandedPath = filepath.Join(home, value[1:]) - } - } - - if _, err := os.Stat(expandedPath); err != nil { - return nil, connect.NewError( - connect.CodeInvalidArgument, - fmt.Errorf("key file not found: %s", expandedPath), - ) - } - - if err := os.WriteFile(identityFile, []byte(value), 0o600); err != nil { - return nil, connect.NewError( - connect.CodeInternal, - fmt.Errorf("failed to write identity: %w", err), - ) - } - os.Remove(keyFile) - - resp.Type = "path" - resp.Value = value - resp.KeyPath = expandedPath - log.Info(). - Str("path", value). - Str("expanded", expandedPath). - Msg("Age identity path stored") - } - - return connect.NewResponse(resp), nil -} - -// ============================================================================= -// KMS Configuration -// ============================================================================= - -// GetKMSConfig returns the AWS KMS configuration used for SOPS envelope encryption. -// When using the "chamber" backend, KMS is implicitly enabled via AWS SSM. -func (s *AgentServiceServer) GetKMSConfig( - ctx context.Context, - req *connect.Request[gopb.GetKMSConfigRequest], -) (*connect.Response[gopb.KMSConfigResponse], error) { - // When backend is chamber, KMS is always enabled (forced by Nix config) - if s.server.getVariablesBackend() == "chamber" { - resp := &gopb.KMSConfigResponse{ - Enable: true, - KeyArn: "", - AwsProfile: "", - Source: "chamber", - } - - // Try to get the actual KMS ARN from state if available - if stateConfig, err := s.server.readKMSConfig(); err == nil { - resp.KeyArn = stateConfig.KeyArn - resp.AwsProfile = stateConfig.AwsProfile - } - - return connect.NewResponse(resp), nil - } - - stateConfig, err := s.server.readKMSConfig() - if err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - - resp := &gopb.KMSConfigResponse{ - Enable: stateConfig.Enable, - KeyArn: stateConfig.KeyArn, - AwsProfile: stateConfig.AwsProfile, - Source: stateConfig.Source, - } - return connect.NewResponse(resp), nil -} - -func (s *AgentServiceServer) SetKMSConfig( - ctx context.Context, - req *connect.Request[gopb.SetKMSConfigRequest], -) (*connect.Response[gopb.KMSConfigResponse], error) { - // Validate KMS ARN format if provided - if req.Msg.Enable && req.Msg.KeyArn != "" { - if !strings.HasPrefix(req.Msg.KeyArn, "arn:aws:kms:") { - return nil, connect.NewError( - connect.CodeInvalidArgument, - fmt.Errorf("invalid KMS ARN format"), - ) - } - } - - resp, err := s.server.saveKMSConfig(KMSConfigRequest{ - Enable: req.Msg.Enable, - KeyArn: req.Msg.KeyArn, - AwsProfile: req.Msg.AwsProfile, - }) - if err != nil { - return nil, connect.NewError(connect.CodeInternal, err) - } - - return connect.NewResponse(&gopb.KMSConfigResponse{ - Enable: resp.Enable, - KeyArn: resp.KeyArn, - AwsProfile: resp.AwsProfile, - Source: resp.Source, - }), nil -} - -// ============================================================================= -// File Operations -// ============================================================================= - -// ReadFile reads a file's content, resolving relative paths against ProjectRoot. -// Unlike the REST handleFiles, this does not use safeJoin — absolute paths are -// passed through as-is, which is intentional for Connect-RPC clients that -// already have the full path from other RPC responses. -func (s *AgentServiceServer) ReadFile( - ctx context.Context, - req *connect.Request[gopb.ReadFileRequest], -) (*connect.Response[gopb.ReadFileResponse], error) { - path := req.Msg.Path - if !filepath.IsAbs(path) { - path = filepath.Join(s.server.config.ProjectRoot, path) - } - - data, err := os.ReadFile(path) - if err != nil { - if os.IsNotExist(err) { - return connect.NewResponse(&gopb.ReadFileResponse{Exists: false}), nil - } - return nil, connect.NewError( - connect.CodeInternal, - fmt.Errorf("failed to read file: %w", err), - ) - } - - return connect.NewResponse(&gopb.ReadFileResponse{ - Content: string(data), - Exists: true, - }), nil -} - -func (s *AgentServiceServer) WriteFile( - ctx context.Context, - req *connect.Request[gopb.WriteFileRequest], -) (*connect.Response[gopb.WriteFileResponse], error) { - path := req.Msg.Path - if !filepath.IsAbs(path) { - path = filepath.Join(s.server.config.ProjectRoot, path) - } - - // Ensure directory exists - if err := os.MkdirAll(filepath.Dir(path), 0o755); err != nil { - return nil, connect.NewError( - connect.CodeInternal, - fmt.Errorf("failed to create directory: %w", err), - ) - } - - mode := os.FileMode(req.Msg.Mode) - if mode == 0 { - mode = 0o644 - } - - if err := os.WriteFile(path, []byte(req.Msg.Content), mode); err != nil { - return nil, connect.NewError( - connect.CodeInternal, - fmt.Errorf("failed to write file: %w", err), - ) - } - - return connect.NewResponse(&gopb.WriteFileResponse{Success: true}), nil -} - -func (s *AgentServiceServer) ListFiles( - ctx context.Context, - req *connect.Request[gopb.ListFilesRequest], -) (*connect.Response[gopb.ListFilesResponse], error) { - path := req.Msg.Path - if !filepath.IsAbs(path) { - path = filepath.Join(s.server.config.ProjectRoot, path) - } - - entries, err := os.ReadDir(path) - if err != nil { - return nil, connect.NewError( - connect.CodeInternal, - fmt.Errorf("failed to list directory: %w", err), - ) - } - - var files []*gopb.FileInfo - for _, entry := range entries { - info, err := entry.Info() - if err != nil { - continue - } - files = append(files, &gopb.FileInfo{ - Name: entry.Name(), - Path: filepath.Join(path, entry.Name()), - IsDir: entry.IsDir(), - Size: info.Size(), - ModTime: info.ModTime().Unix(), - }) - } - - return connect.NewResponse(&gopb.ListFilesResponse{Files: files}), nil -} +// GetSecrets, GetUsers, GetApps, GetVariables, and GetModuleOutputs are +// generated from agent.proto by protoc-gen-connect-handlers. // ============================================================================= // Command Execution @@ -440,261 +98,6 @@ func (s *AgentServiceServer) Exec( }), nil } -// ============================================================================= -// Nix Operations -// ============================================================================= - -// NixGenerate runs the flake's #gen output to regenerate derived files. -// Unlike the REST handler (which uses .#generate), this uses .#gen — both -// are aliases for the same generation target. -func (s *AgentServiceServer) NixGenerate( - ctx context.Context, - req *connect.Request[gopb.NixGenerateRequest], -) (*connect.Response[gopb.NixGenerateResponse], error) { - cmd := exec.CommandContext(ctx, "nix", "run", ".#gen") - cmd.Dir = s.server.config.ProjectRoot - - output, err := cmd.CombinedOutput() - if err != nil { - return connect.NewResponse(&gopb.NixGenerateResponse{ - Success: false, - Output: string(output), - }), nil - } - - return connect.NewResponse(&gopb.NixGenerateResponse{ - Success: true, - Output: string(output), - }), nil -} - -func (s *AgentServiceServer) NixEval( - ctx context.Context, - req *connect.Request[gopb.NixEvalRequest], -) (*connect.Response[gopb.NixEvalResponse], error) { - args := []string{"eval", "--impure"} - if req.Msg.Json { - args = append(args, "--json") - } - args = append(args, "--expr", req.Msg.Expression) - - cmd := exec.CommandContext(ctx, "nix", args...) - cmd.Dir = s.server.config.ProjectRoot - - output, err := cmd.Output() - if err != nil { - return nil, connect.NewError( - connect.CodeInternal, - fmt.Errorf("nix eval failed: %w", err), - ) - } - - return connect.NewResponse(&gopb.NixEvalResponse{ - Result: string(output), - }), nil -} - -// ============================================================================= -// Services (process-compose) - Uses HTTP API at localhost:$PC_PORT_NUM -// ============================================================================= - -// GetServicesStatus queries the process-compose HTTP API for running services. -// Only processes in the "services" namespace are returned — other namespaces -// (like "apps") are filtered out since the UI manages them separately. -// Returns an empty list (not an error) when process-compose isn't running. -func (s *AgentServiceServer) GetServicesStatus( - ctx context.Context, - req *connect.Request[gopb.GetServicesStatusRequest], -) (*connect.Response[gopb.GetServicesStatusResponse], error) { - resp := &gopb.GetServicesStatusResponse{ - Running: false, - Services: []*gopb.ServiceStatus{}, - } - - // Query process-compose HTTP API for running processes - client := getProcessComposeClient() - apiURL := getProcessComposeBaseURL() + "/processes" - - httpResp, err := client.Get(apiURL) - if err != nil { - // process-compose not running or not available - return connect.NewResponse(resp), nil - } - defer httpResp.Body.Close() - - body, err := io.ReadAll(httpResp.Body) - if err != nil { - return connect.NewResponse(resp), nil - } - - // Parse JSON output: { "data": [...] } - type pcProcess struct { - Name string `json:"name"` - Namespace string `json:"namespace"` - Status string `json:"status"` - PID int `json:"pid"` - IsRunning bool `json:"is_running"` - SystemTime string `json:"system_time"` - } - - var wrapped struct { - Data []pcProcess `json:"data"` - } - if err := json.Unmarshal(body, &wrapped); err != nil { - return connect.NewResponse(resp), nil - } - - // Filter for processes in the "services" namespace - anyRunning := false - for _, p := range wrapped.Data { - if p.Namespace != "services" { - continue - } - status := "stopped" - if p.IsRunning || isProcessRunning(p.Status) { - status = "running" - anyRunning = true - } - resp.Services = append(resp.Services, &gopb.ServiceStatus{ - Name: p.Name, - Status: status, - Pid: int32(p.PID), - }) - } - resp.Running = anyRunning - - return connect.NewResponse(resp), nil -} - -func (s *AgentServiceServer) StartService( - ctx context.Context, - req *connect.Request[gopb.ServiceRequest], -) (*connect.Response[gopb.ServiceResponse], error) { - name := req.Msg.Name - if name == "" { - return nil, connect.NewError( - connect.CodeInvalidArgument, - fmt.Errorf("service name required"), - ) - } - - // Use process-compose HTTP API: POST /process/start/{name} - client := getProcessComposeClient() - apiURL := getProcessComposeBaseURL() + "/process/start/" + name - - httpReq, _ := http.NewRequestWithContext(ctx, http.MethodPost, apiURL, nil) - httpResp, err := client.Do(httpReq) - if err != nil { - return nil, connect.NewError( - connect.CodeInternal, - fmt.Errorf("failed to connect to process-compose: %w", err), - ) - } - defer httpResp.Body.Close() - - if httpResp.StatusCode != http.StatusOK { - body, _ := io.ReadAll(httpResp.Body) - var errResp map[string]string - json.Unmarshal(body, &errResp) - return nil, connect.NewError( - connect.CodeInternal, - fmt.Errorf("process-compose start failed: %s", errResp["error"]), - ) - } - - log.Info().Str("service", name).Msg("Service started via process-compose API") - return connect.NewResponse(&gopb.ServiceResponse{ - Success: true, - Message: fmt.Sprintf("Service %s started", name), - }), nil -} - -func (s *AgentServiceServer) StopService( - ctx context.Context, - req *connect.Request[gopb.ServiceRequest], -) (*connect.Response[gopb.ServiceResponse], error) { - name := req.Msg.Name - if name == "" { - return nil, connect.NewError( - connect.CodeInvalidArgument, - fmt.Errorf("service name required"), - ) - } - - // Use process-compose HTTP API: PATCH /process/stop/{name} - client := getProcessComposeClient() - apiURL := getProcessComposeBaseURL() + "/process/stop/" + name - - httpReq, _ := http.NewRequestWithContext(ctx, http.MethodPatch, apiURL, nil) - httpResp, err := client.Do(httpReq) - if err != nil { - return nil, connect.NewError( - connect.CodeInternal, - fmt.Errorf("failed to connect to process-compose: %w", err), - ) - } - defer httpResp.Body.Close() - - if httpResp.StatusCode != http.StatusOK { - body, _ := io.ReadAll(httpResp.Body) - var errResp map[string]string - json.Unmarshal(body, &errResp) - return nil, connect.NewError( - connect.CodeInternal, - fmt.Errorf("process-compose stop failed: %s", errResp["error"]), - ) - } - - log.Info().Str("service", name).Msg("Service stopped via process-compose API") - return connect.NewResponse(&gopb.ServiceResponse{ - Success: true, - Message: fmt.Sprintf("Service %s stopped", name), - }), nil -} - -func (s *AgentServiceServer) RestartService( - ctx context.Context, - req *connect.Request[gopb.ServiceRequest], -) (*connect.Response[gopb.ServiceResponse], error) { - name := req.Msg.Name - if name == "" { - return nil, connect.NewError( - connect.CodeInvalidArgument, - fmt.Errorf("service name required"), - ) - } - - // Use process-compose HTTP API: POST /process/restart/{name} - client := getProcessComposeClient() - apiURL := getProcessComposeBaseURL() + "/process/restart/" + name - - httpReq, _ := http.NewRequestWithContext(ctx, http.MethodPost, apiURL, nil) - httpResp, err := client.Do(httpReq) - if err != nil { - return nil, connect.NewError( - connect.CodeInternal, - fmt.Errorf("failed to connect to process-compose: %w", err), - ) - } - defer httpResp.Body.Close() - - if httpResp.StatusCode != http.StatusOK { - body, _ := io.ReadAll(httpResp.Body) - var errResp map[string]string - json.Unmarshal(body, &errResp) - return nil, connect.NewError( - connect.CodeInternal, - fmt.Errorf("process-compose restart failed: %s", errResp["error"]), - ) - } - - log.Info().Str("service", name).Msg("Service restarted via process-compose API") - return connect.NewResponse(&gopb.ServiceResponse{ - Success: true, - Message: fmt.Sprintf("Service %s restarted", name), - }), nil -} - // ============================================================================= // Devshell Management // ============================================================================= diff --git a/apps/stackpanel-go/internal/agent/server/nix_data.go b/apps/stackpanel-go/internal/agent/server/nix_data.go index 254a03b0..d15a01e7 100644 --- a/apps/stackpanel-go/internal/agent/server/nix_data.go +++ b/apps/stackpanel-go/internal/agent/server/nix_data.go @@ -506,13 +506,6 @@ func (s *Server) readNixEntityJSON(entity string) ([]byte, error) { return s.store.ReadEntityJSON(entity) } -// writeNixEntityJSON writes camelCase JSON data to a Nix entity file. -// Used by generated Connect handlers for Set* methods. -func (s *Server) writeNixEntityJSON(entity string, data []byte) error { - _, err := s.store.WriteEntityJSON(entity, data) - return err -} - // readConsolidatedData reads the entire .stack/config.nix as a map. func (s *Server) readConsolidatedData() (map[string]any, error) { return s.store.ReadConsolidatedData() diff --git a/apps/stackpanel-go/internal/agent/server/process_compose.go b/apps/stackpanel-go/internal/agent/server/process_compose.go index bf060712..d5254557 100644 --- a/apps/stackpanel-go/internal/agent/server/process_compose.go +++ b/apps/stackpanel-go/internal/agent/server/process_compose.go @@ -213,14 +213,6 @@ func (s *Server) handleProcessComposeProcesses(w http.ResponseWriter, r *http.Re }) } -// isProcessRunning determines if a process status indicates it's running. -func isProcessRunning(status string) bool { - status = strings.ToLower(status) - return status == "running" || - status == "launched" || - status == "restarting" -} - // getProcessComposeClient returns an HTTP client configured for process-compose API calls. func getProcessComposeClient() *http.Client { return &http.Client{ diff --git a/apps/web/src/demo/fixture.ts b/apps/web/src/demo/fixture.ts index 8a6781ac..6664bbc9 100644 --- a/apps/web/src/demo/fixture.ts +++ b/apps/web/src/demo/fixture.ts @@ -1044,13 +1044,6 @@ export const demoSecretsRpc = { }, }; -export const demoConfigRpc = { - enable: true, - name: "stackpanel-demo", - github: "darkmatter/stackpanel", - debug: false, -}; - export const demoEntities: Record | unknown> = { apps: { web: { @@ -1734,31 +1727,6 @@ export const demoRestModules = [ }, ]; -/** Connect-RPC modules use `enable` and proto enum category names. */ -export const demoRpcModules: Record> = Object.fromEntries( - demoRestModules.map((mod) => [ - mod.id, - { - id: mod.id, - enable: mod.enabled, - meta: { - ...mod.meta, - category: `MODULE_CATEGORY_${mod.meta.category.toUpperCase().replace("-", "_")}`, - }, - source: { type: "MODULE_SOURCE_TYPE_BUILTIN" }, - features: mod.features, - requires: mod.requires, - conflicts: mod.conflicts, - priority: mod.priority, - tags: mod.tags, - settings: {}, - panels: [], - apps: {}, - healthcheckModule: mod.healthcheckModule, - }, - ]), -); - export const demoRegistryModules = { modules: [ { diff --git a/apps/web/src/demo/handlers.ts b/apps/web/src/demo/handlers.ts index ffd0a6d1..f8adc689 100644 --- a/apps/web/src/demo/handlers.ts +++ b/apps/web/src/demo/handlers.ts @@ -17,7 +17,6 @@ import { DEMO_BASE_URL, demoAppVariableLinks, demoAppsRpc, - demoConfigRpc, demoEntities, demoFiles, demoGeneratedFiles, @@ -33,7 +32,6 @@ import { demoRecipients, demoRegistryModules, demoRestModules, - demoRpcModules, demoRpcProject, demoSecretsRpc, demoSopsAgeKeysStatus, @@ -54,66 +52,24 @@ function nixConfigPayload() { }; } -function connectResponse(method: string, body: Record) { +function connectResponse(method: string) { switch (method) { case "GetNixConfig": - case "RefreshNixConfig": return nixConfigPayload(); case "GetApps": return { apps: demoAppsRpc }; - case "SetApps": - return body.apps ? body : { apps: demoAppsRpc }; case "GetUsers": return { users: demoUsersRpc }; - case "SetUsers": - return body.users ? body : { users: demoUsersRpc }; case "GetVariables": return { variables: demoVariablesRpc }; - case "SetVariables": - return body.variables ? body : { variables: demoVariablesRpc }; case "GetSecrets": return demoSecretsRpc; - case "SetSecrets": - return Object.keys(body).length > 0 ? body : demoSecretsRpc; - case "GetConfig": - return demoConfigRpc; - case "SetConfig": - return Object.keys(body).length > 0 ? body : demoConfigRpc; case "GetProject": return { project: demoRpcProject }; case "GetProcesses": return demoProcessesRpc; case "GetInstalledPackages": return demoInstalledPackages; - case "GetModules": - return { modules: demoRpcModules }; - case "GetModule": { - const id = String(body.moduleId ?? ""); - return demoRpcModules[id] ?? { id, enable: false }; - } - case "EnableModule": - case "DisableModule": - case "UpdateModuleSettings": { - const id = String(body.moduleId ?? ""); - return { - module: demoRpcModules[id] ?? { id, enable: method !== "DisableModule" }, - success: true, - message: "demo (read-only)", - }; - } - case "GetHealthchecks": - return { - allHealthy: true, - checks: Object.values(demoHealthSummary.modules).flatMap((mod) => - mod.checks.map((c) => ({ - name: c.check?.name ?? c.checkId, - type: c.check?.type ?? "tcp", - healthy: true, - message: c.message, - details: c.message, - })), - ), - }; case "GetShellStatus": return { stale: false, @@ -128,13 +84,6 @@ function connectResponse(method: string, body: Record) { updatedJson: JSON.stringify(demoEntities.apps), error: "", }; - case "GetAgeIdentity": - return { - type: "path", - value: ".stack/keys/local.txt", - keyPath: ".stack/keys/local.txt", - publicKey: demoUsersRpc["demo-user"].publicKeys[0], - }; default: return {}; } @@ -327,11 +276,10 @@ export const demoHandlers = [ // --------------------------------------------------------------------------- // Connect-RPC // --------------------------------------------------------------------------- - http.post(`${DEMO_BASE_URL}/:service/:method`, async ({ params, request }) => { + http.post(`${DEMO_BASE_URL}/:service/:method`, ({ params }) => { const service = String(params.service ?? ""); if (!service.includes(".")) return passthrough(); const method = String(params.method ?? ""); - const body = (await request.json().catch(() => ({}))) as Record; - return HttpResponse.json(connectResponse(method, body)); + return HttpResponse.json(connectResponse(method)); }), ]; diff --git a/apps/web/src/lib/use-agent.ts b/apps/web/src/lib/use-agent.ts index e0c9081e..31e9f205 100644 --- a/apps/web/src/lib/use-agent.ts +++ b/apps/web/src/lib/use-agent.ts @@ -6,38 +6,25 @@ * * Migration Guide (from use-nix-config.ts): * - useNixConfig() → useNixConfigQuery() or useNixConfig() (compatibility wrapper) - * - useNixData('entity') → use specific hooks (useApps, useVariables, etc.) - * - useNixMapData('entity') → use specific hooks with mutations + * - useNixData('entity') → use specific hooks for reads (useApps, useVariables, etc.) + * - useNixMapData('entity') → use specific hooks for reads * - useTurboPackages() → (still available as re-export) * * @example * ```tsx * function Dashboard() { * const { data: apps, isLoading } = useApps(); - * const { data: sst } = useSSTStatus(); * * if (isLoading) return ; * - * return ( - *
- *

Apps: {Object.keys(apps?.apps ?? {}).length}

- *

SST Deployed: {sst?.deployed ? 'Yes' : 'No'}

- *
- * ); + * return

Apps: {Object.keys(apps ?? {}).length}

; * } * ``` */ import { createClient } from "@connectrpc/connect"; import { AgentService } from "@stackpanel/proto/agent-service"; -import type { - Apps, - Variables, - Users, - Config, - Secrets, - Aws, -} from "@stackpanel/proto"; +import type { Apps, Variables, Users, Secrets } from "@stackpanel/proto"; import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query"; import { useEffect, useMemo, useState } from "react"; import { flattenConfiguredAppVariables } from "./app-env"; @@ -61,42 +48,23 @@ export const agentQueryKeys = { // Project project: () => [...agentQueryKeys.all, "project"] as const, - // Identity & KMS - ageIdentity: () => [...agentQueryKeys.all, "ageIdentity"] as const, + // Identity sopsAgeKeysStatus: () => [...agentQueryKeys.all, "sopsAgeKeysStatus"] as const, - kmsConfig: () => [...agentQueryKeys.all, "kmsConfig"] as const, - // Entity CRUD - config: () => [...agentQueryKeys.all, "config"] as const, + // Entities secrets: () => [...agentQueryKeys.all, "secrets"] as const, users: () => [...agentQueryKeys.all, "users"] as const, - aws: () => [...agentQueryKeys.all, "aws"] as const, apps: () => [...agentQueryKeys.all, "apps"] as const, appVariableLinks: () => [...agentQueryKeys.apps(), "links"] as const, variables: () => [...agentQueryKeys.all, "variables"] as const, - // Services - servicesStatus: () => [...agentQueryKeys.all, "servicesStatus"] as const, - - // SST Infrastructure - sst: () => [...agentQueryKeys.all, "sst"] as const, - sstStatus: () => [...agentQueryKeys.sst(), "status"] as const, - sstConfig: () => [...agentQueryKeys.sst(), "config"] as const, - sstOutputs: () => [...agentQueryKeys.sst(), "outputs"] as const, - sstResources: () => [...agentQueryKeys.sst(), "resources"] as const, - // Nixpkgs nixpkgs: () => [...agentQueryKeys.all, "nixpkgs"] as const, - nixpkgsSearch: (query: string) => - [...agentQueryKeys.nixpkgs(), "search", query] as const, installedPackages: () => [...agentQueryKeys.nixpkgs(), "installed"] as const, // Process Compose processes: () => [...agentQueryKeys.all, "processes"] as const, - // Healthchecks - healthchecks: () => [...agentQueryKeys.all, "healthchecks"] as const, - // Nix Config nixConfig: () => [...agentQueryKeys.all, "nixConfig"] as const, @@ -261,22 +229,6 @@ export function useProject() { // Age Identity // ============================================================================= -/** - * Query hook for getting the configured age identity. - */ -export function useAgeIdentity() { - const client = useAgentRpcClient(); - - return useQuery({ - queryKey: agentQueryKeys.ageIdentity(), - queryFn: async () => { - if (!client) throw new Error("Not connected to agent"); - return client.getAgeIdentity({}); - }, - enabled: !!client, - }); -} - export function useSopsAgeKeysStatus() { const client = useAgentClient(); @@ -290,73 +242,10 @@ export function useSopsAgeKeysStatus() { }); } -/** - * Mutation hook for setting the age identity. - */ -export function useSetAgeIdentity() { - const client = useAgentRpcClient(); - const queryClient = useQueryClient(); - - return useMutation({ - mutationFn: async (value: string) => { - if (!client) throw new Error("Not connected to agent"); - return client.setAgeIdentity({ value }); - }, - onSuccess: () => { - queryClient.invalidateQueries({ queryKey: agentQueryKeys.ageIdentity() }); - }, - }); -} - // ============================================================================= -// KMS Config +// Entity Hooks (Apps, Variables, Users, Secrets) // ============================================================================= -/** - * Query hook for getting the KMS configuration. - */ -export function useKMSConfig() { - const client = useAgentRpcClient(); - - return useQuery({ - queryKey: agentQueryKeys.kmsConfig(), - queryFn: async () => { - if (!client) throw new Error("Not connected to agent"); - return client.getKMSConfig({}); - }, - enabled: !!client, - }); -} - -/** - * Mutation hook for setting the KMS configuration. - */ -export function useSetKMSConfig() { - const client = useAgentRpcClient(); - const queryClient = useQueryClient(); - - return useMutation({ - mutationFn: async (config: { - enable: boolean; - keyArn: string; - awsProfile?: string; - }) => { - if (!client) throw new Error("Not connected to agent"); - return client.setKMSConfig(config); - }, - onSuccess: () => { - queryClient.invalidateQueries({ queryKey: agentQueryKeys.kmsConfig() }); - }, - }); -} - -// ============================================================================= -// Entity Hooks (Apps, Variables, Users, Config, Secrets, AWS) -// ============================================================================= - -// For mutations, we accept the proto message type directly -// (proto-es messages are already properly typed) - /** * Fetch all apps from the agent. * Returns the apps map directly for compatibility with existing components. @@ -376,26 +265,6 @@ export function useApps() { }); } -/** - * Mutation to update apps. - */ -export function useSetApps() { - const client = useAgentRpcClient(); - const queryClient = useQueryClient(); - - return useMutation({ - mutationFn: async ( - apps: Parameters["setApps"]>[0], - ) => { - if (!client) throw new Error("Not connected to agent"); - return client.setApps(apps); - }, - onSuccess: () => { - queryClient.invalidateQueries({ queryKey: agentQueryKeys.apps() }); - }, - }); -} - /** * Fetch raw app env -> variable link metadata from config.nix source. */ @@ -442,26 +311,6 @@ export function useVariables() { }); } -/** - * Mutation to update variables. - */ -export function useSetVariables() { - const client = useAgentRpcClient(); - const queryClient = useQueryClient(); - - return useMutation({ - mutationFn: async ( - variables: Parameters["setVariables"]>[0], - ) => { - if (!client) throw new Error("Not connected to agent"); - return client.setVariables(variables); - }, - onSuccess: () => { - queryClient.invalidateQueries({ queryKey: agentQueryKeys.variables() }); - }, - }); -} - /** * Fetch all users from the agent. */ @@ -478,62 +327,6 @@ export function useUsers() { }); } -/** - * Mutation to update users. - */ -export function useSetUsers() { - const client = useAgentRpcClient(); - const queryClient = useQueryClient(); - - return useMutation({ - mutationFn: async ( - users: Parameters["setUsers"]>[0], - ) => { - if (!client) throw new Error("Not connected to agent"); - return client.setUsers(users); - }, - onSuccess: () => { - queryClient.invalidateQueries({ queryKey: agentQueryKeys.users() }); - }, - }); -} - -/** - * Fetch the config from the agent. - */ -export function useConfig() { - const client = useAgentRpcClient(); - - return useQuery({ - queryKey: agentQueryKeys.config(), - queryFn: async () => { - if (!client) throw new Error("Not connected to agent"); - return client.getConfig({}); - }, - enabled: !!client, - }); -} - -/** - * Mutation to update config. - */ -export function useSetConfig() { - const client = useAgentRpcClient(); - const queryClient = useQueryClient(); - - return useMutation({ - mutationFn: async ( - config: Parameters["setConfig"]>[0], - ) => { - if (!client) throw new Error("Not connected to agent"); - return client.setConfig(config); - }, - onSuccess: () => { - queryClient.invalidateQueries({ queryKey: agentQueryKeys.config() }); - }, - }); -} - /** * Fetch all secrets from the agent. */ @@ -550,120 +343,6 @@ export function useSecrets() { }); } -/** - * Mutation to update secrets. - */ -export function useSetSecrets() { - const client = useAgentRpcClient(); - const queryClient = useQueryClient(); - - return useMutation({ - mutationFn: async ( - secrets: Parameters["setSecrets"]>[0], - ) => { - if (!client) throw new Error("Not connected to agent"); - return client.setSecrets(secrets); - }, - onSuccess: () => { - queryClient.invalidateQueries({ queryKey: agentQueryKeys.secrets() }); - }, - }); -} - -/** - * Fetch AWS config from the agent. - */ -export function useAws() { - const client = useAgentRpcClient(); - - return useQuery({ - queryKey: agentQueryKeys.aws(), - queryFn: async () => { - if (!client) throw new Error("Not connected to agent"); - return client.getAws({}); - }, - enabled: !!client, - }); -} - -/** - * Mutation to update AWS config. - */ -export function useSetAws() { - const client = useAgentRpcClient(); - const queryClient = useQueryClient(); - - return useMutation({ - mutationFn: async ( - aws: Parameters["setAws"]>[0], - ) => { - if (!client) throw new Error("Not connected to agent"); - return client.setAws(aws); - }, - onSuccess: () => { - queryClient.invalidateQueries({ queryKey: agentQueryKeys.aws() }); - }, - }); -} - -// ============================================================================= -// Services Status -// ============================================================================= - -/** - * Query hook for getting the services status. - */ -export function useServicesStatus() { - const client = useAgentRpcClient(); - - return useQuery({ - queryKey: agentQueryKeys.servicesStatus(), - queryFn: async () => { - if (!client) throw new Error("Not connected to agent"); - return client.getServicesStatus({}); - }, - enabled: !!client, - refetchInterval: 5000, // Refresh every 5 seconds - }); -} - -// ============================================================================= -// Nix Operations -// ============================================================================= - -/** - * Mutation hook for running nix generate. - */ -export function useNixGenerate() { - const client = useAgentRpcClient(); - const queryClient = useQueryClient(); - - return useMutation({ - mutationFn: async () => { - if (!client) throw new Error("Not connected to agent"); - return client.nixGenerate({}); - }, - onSuccess: () => { - // Invalidate all agent queries after generation - queryClient.invalidateQueries({ queryKey: agentQueryKeys.all }); - }, - }); -} - -/** - * Mutation hook for running nix eval. - */ -export function useNixEval() { - const client = useAgentRpcClient(); - - return useMutation({ - mutationFn: async (args: { expression: string; json?: boolean }) => { - if (!client) throw new Error("Not connected to agent"); - return client.nixEval(args); - }, - }); -} - // ============================================================================= // Command Execution // ============================================================================= @@ -687,133 +366,10 @@ export function useExec() { }); } -// ============================================================================= -// SST Infrastructure -// ============================================================================= - -/** - * Query hook for getting the SST deployment status. - */ -export function useSSTStatus() { - const client = useAgentRpcClient(); - - return useQuery({ - queryKey: agentQueryKeys.sstStatus(), - queryFn: async () => { - if (!client) throw new Error("Not connected to agent"); - return client.getSSTStatus({}); - }, - enabled: !!client, - }); -} - -/** - * Query hook for getting the SST configuration. - */ -export function useSSTConfig() { - const client = useAgentRpcClient(); - - return useQuery({ - queryKey: agentQueryKeys.sstConfig(), - queryFn: async () => { - if (!client) throw new Error("Not connected to agent"); - return client.getSSTConfig({}); - }, - enabled: !!client, - }); -} - -/** - * Query hook for getting the SST outputs. - */ -export function useSSTOutputs() { - const client = useAgentRpcClient(); - - return useQuery({ - queryKey: agentQueryKeys.sstOutputs(), - queryFn: async () => { - if (!client) throw new Error("Not connected to agent"); - return client.getSSTOutputs({}); - }, - enabled: !!client, - }); -} - -/** - * Query hook for getting the SST resources. - */ -export function useSSTResources() { - const client = useAgentRpcClient(); - - return useQuery({ - queryKey: agentQueryKeys.sstResources(), - queryFn: async () => { - if (!client) throw new Error("Not connected to agent"); - return client.getSSTResources({}); - }, - enabled: !!client, - }); -} - -/** - * Mutation hook for deploying SST infrastructure. - */ -export function useDeploySST() { - const client = useAgentRpcClient(); - const queryClient = useQueryClient(); - - return useMutation({ - mutationFn: async (stage: string = "dev") => { - if (!client) throw new Error("Not connected to agent"); - return client.deploySST({ stage }); - }, - onSuccess: () => { - queryClient.invalidateQueries({ queryKey: agentQueryKeys.sst() }); - }, - }); -} - -/** - * Mutation hook for removing SST infrastructure. - */ -export function useRemoveSST() { - const client = useAgentRpcClient(); - const queryClient = useQueryClient(); - - return useMutation({ - mutationFn: async (stage: string = "dev") => { - if (!client) throw new Error("Not connected to agent"); - return client.removeSST({ stage }); - }, - onSuccess: () => { - queryClient.invalidateQueries({ queryKey: agentQueryKeys.sst() }); - }, - }); -} - // ============================================================================= // Nixpkgs Package Management // ============================================================================= -/** - * Query hook for searching nixpkgs packages. - */ -export function useSearchNixpkgs( - query: string, - options?: { enabled?: boolean }, -) { - const client = useAgentRpcClient(); - - return useQuery({ - queryKey: agentQueryKeys.nixpkgsSearch(query), - queryFn: async () => { - if (!client) throw new Error("Not connected to agent"); - return client.searchNixpkgs({ query, limit: 20 }); - }, - enabled: !!client && !!query && (options?.enabled ?? true), - }); -} - /** * Query hook for getting installed packages. */ @@ -957,26 +513,6 @@ export function useRestartProcess() { }); } -// ============================================================================= -// Healthchecks -// ============================================================================= - -/** - * Query hook for getting healthcheck status. - */ -export function useHealthchecks() { - const client = useAgentRpcClient(); - - return useQuery({ - queryKey: agentQueryKeys.healthchecks(), - queryFn: async () => { - if (!client) throw new Error("Not connected to agent"); - return client.getHealthchecks({}); - }, - enabled: !!client, - }); -} - // ============================================================================= // Full Nix Config // ============================================================================= @@ -1007,34 +543,6 @@ export function useNixConfigQuery(options?: { refresh?: boolean }) { }); } -/** - * Mutation hook for forcing a Nix config refresh. - */ -export function useRefreshNixConfig() { - const client = useAgentRpcClient(); - const queryClient = useQueryClient(); - - return useMutation({ - mutationFn: async () => { - if (!client) throw new Error("Not connected to agent"); - const response = await client.refreshNixConfig({}); - // Parse the JSON config - if (response.configJson) { - return { - ...response, - config: JSON.parse(response.configJson) as Record, - }; - } - return { ...response, config: null }; - }, - onSuccess: () => { - queryClient.invalidateQueries({ queryKey: agentQueryKeys.nixConfig() }); - // Also invalidate all agent queries since config affects everything - queryClient.invalidateQueries({ queryKey: agentQueryKeys.all }); - }, - }); -} - // ============================================================================= // Variables Backend // ============================================================================= @@ -1197,7 +705,6 @@ export function useVerifySecrets() { */ export function useNixConfig(_options?: { autoRefetch?: boolean }) { const query = useNixConfigQuery({ refresh: false }); - const refreshMutation = useRefreshNixConfig(); return { data: query.data?.config ?? null, @@ -1206,8 +713,6 @@ export function useNixConfig(_options?: { autoRefetch?: boolean }) { isError: query.isError, isSuccess: query.isSuccess, refetch: query.refetch, - forceRefresh: refreshMutation.mutateAsync, - isRefreshing: refreshMutation.isPending, }; } @@ -1222,13 +727,11 @@ import { kebabToSnake, snakeToKebab } from "./nix-data"; * Generic hook for accessing Nix data entities (single objects). * Uses the legacy HTTP client under the hood. * - * @deprecated For standard entities, prefer specific hooks: + * @deprecated To read standard entities, prefer specific hooks: * - apps → useApps() * - variables → useVariables() * - users → useUsers() - * - config → useConfig() * - secrets → useSecrets() - * - aws → useAws() */ export function useNixData( entity: string, @@ -1283,9 +786,9 @@ export function useNixData( * Generic hook for map-style Nix data entities with key-level operations. * Uses the legacy HTTP client under the hood. * - * @deprecated For standard entities, prefer specific hooks: - * - apps → useApps() + useSetApps() - * - variables → useVariables() + useSetVariables() + * @deprecated To read standard entities, prefer specific hooks: + * - apps → useApps() + * - variables → useVariables() */ export function useNixMapData( entity: string, @@ -1647,114 +1150,9 @@ export function useRebuildShell() { export const moduleRpcQueryKeys = { all: ["modules-rpc"] as const, - list: () => [...moduleRpcQueryKeys.all, "list"] as const, detail: (id: string) => [...moduleRpcQueryKeys.all, "detail", id] as const, }; -/** - * Query hook for getting all modules via Connect-RPC. - */ -export function useModulesRpc() { - const client = useAgentRpcClient(); - - return useQuery({ - queryKey: moduleRpcQueryKeys.list(), - queryFn: async () => { - if (!client) throw new Error("Not connected to agent"); - const res = await client.getModules({}); - return res.modules ?? {}; - }, - enabled: !!client, - staleTime: 30 * 1000, - }); -} - -/** - * Query hook for getting a single module by ID via Connect-RPC. - */ -export function useModuleRpc(moduleId: string) { - const client = useAgentRpcClient(); - - return useQuery({ - queryKey: moduleRpcQueryKeys.detail(moduleId), - queryFn: async () => { - if (!client) throw new Error("Not connected to agent"); - return client.getModule({ moduleId }); - }, - enabled: !!client && !!moduleId, - staleTime: 30 * 1000, - }); -} - -/** - * Mutation hook for enabling a module via Connect-RPC. - */ -export function useEnableModuleRpc() { - const client = useAgentRpcClient(); - const queryClient = useQueryClient(); - - return useMutation({ - mutationFn: async ({ - moduleId, - settings, - }: { - moduleId: string; - settings?: Record; - }) => { - if (!client) throw new Error("Not connected to agent"); - return client.enableModule({ moduleId, settings: settings ?? {} }); - }, - onSuccess: () => { - queryClient.invalidateQueries({ queryKey: moduleRpcQueryKeys.all }); - }, - }); -} - -/** - * Mutation hook for disabling a module via Connect-RPC. - */ -export function useDisableModuleRpc() { - const client = useAgentRpcClient(); - const queryClient = useQueryClient(); - - return useMutation({ - mutationFn: async (moduleId: string) => { - if (!client) throw new Error("Not connected to agent"); - return client.disableModule({ moduleId }); - }, - onSuccess: () => { - queryClient.invalidateQueries({ queryKey: moduleRpcQueryKeys.all }); - }, - }); -} - -/** - * Mutation hook for updating module settings via Connect-RPC. - */ -export function useUpdateModuleSettingsRpc() { - const client = useAgentRpcClient(); - const queryClient = useQueryClient(); - - return useMutation({ - mutationFn: async ({ - moduleId, - settings, - }: { - moduleId: string; - settings: Record; - }) => { - if (!client) throw new Error("Not connected to agent"); - return client.updateModuleSettings({ moduleId, settings }); - }, - onSuccess: (_data, { moduleId }) => { - queryClient.invalidateQueries({ queryKey: moduleRpcQueryKeys.all }); - queryClient.invalidateQueries({ - queryKey: moduleRpcQueryKeys.detail(moduleId), - }); - }, - }); -} - /** * Query hook for getting module outputs (files, scripts, healthchecks, packages). */ @@ -1775,26 +1173,10 @@ export function useModuleOutputsRpc(moduleId: string) { /** * Re-export proto types for convenience. */ -export type { Apps, Variables, Users, Config, Secrets, Aws }; +export type { Apps, Variables, Users, Secrets }; -// Re-export module proto types +// Re-export module output proto types export type { - Module, - Modules, - ModuleMeta, - ModuleSource, - ModuleFeatures, - ModulePanel, - ModulePanelField, - ModuleAppData, - ModuleCategory, - ModuleSourceType, - ModulePanelType, - ModuleFieldType, - EnableModuleRequest, - DisableModuleRequest, - UpdateModuleSettingsRequest, - ModuleResponse, ModuleOutputs, ModuleOutputFile, ModuleOutputScript, diff --git a/packages/agent-client/src/index.ts b/packages/agent-client/src/index.ts index d14ea256..c7b053e1 100644 --- a/packages/agent-client/src/index.ts +++ b/packages/agent-client/src/index.ts @@ -61,9 +61,6 @@ export type AgentServiceClient = Client; * // All methods are fully typed from proto * const apps = await client.getApps({}); * const project = await client.getProject({}); - * - * // Write operations are also typed - * await client.setApps({ apps: { myApp: { name: "My App", path: "./apps/myapp" } } }); * ``` */ export function createAgentClient(config: AgentClientConfig = {}): AgentServiceClient { diff --git a/packages/proto/gen/gopb/agent.pb.go b/packages/proto/gen/gopb/agent.pb.go index 87ee13e4..18e2c306 100644 --- a/packages/proto/gen/gopb/agent.pb.go +++ b/packages/proto/gen/gopb/agent.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.11 +// protoc-gen-go v1.36.12 // protoc (unknown) // source: agent.proto @@ -246,42 +246,6 @@ func (x *Directories) GetSecrets() string { return "" } -type GetConfigRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetConfigRequest) Reset() { - *x = GetConfigRequest{} - mi := &file_agent_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetConfigRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetConfigRequest) ProtoMessage() {} - -func (x *GetConfigRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetConfigRequest.ProtoReflect.Descriptor instead. -func (*GetConfigRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{4} -} - type GetSecretsRequest struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields @@ -290,7 +254,7 @@ type GetSecretsRequest struct { func (x *GetSecretsRequest) Reset() { *x = GetSecretsRequest{} - mi := &file_agent_proto_msgTypes[5] + mi := &file_agent_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -302,7 +266,7 @@ func (x *GetSecretsRequest) String() string { func (*GetSecretsRequest) ProtoMessage() {} func (x *GetSecretsRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[5] + mi := &file_agent_proto_msgTypes[4] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -315,7 +279,7 @@ func (x *GetSecretsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetSecretsRequest.ProtoReflect.Descriptor instead. func (*GetSecretsRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{5} + return file_agent_proto_rawDescGZIP(), []int{4} } type GetUsersRequest struct { @@ -326,7 +290,7 @@ type GetUsersRequest struct { func (x *GetUsersRequest) Reset() { *x = GetUsersRequest{} - mi := &file_agent_proto_msgTypes[6] + mi := &file_agent_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -338,7 +302,7 @@ func (x *GetUsersRequest) String() string { func (*GetUsersRequest) ProtoMessage() {} func (x *GetUsersRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[6] + mi := &file_agent_proto_msgTypes[5] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -351,43 +315,7 @@ func (x *GetUsersRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetUsersRequest.ProtoReflect.Descriptor instead. func (*GetUsersRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{6} -} - -type GetAwsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetAwsRequest) Reset() { - *x = GetAwsRequest{} - mi := &file_agent_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetAwsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetAwsRequest) ProtoMessage() {} - -func (x *GetAwsRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetAwsRequest.ProtoReflect.Descriptor instead. -func (*GetAwsRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{7} + return file_agent_proto_rawDescGZIP(), []int{5} } type GetAppsRequest struct { @@ -398,7 +326,7 @@ type GetAppsRequest struct { func (x *GetAppsRequest) Reset() { *x = GetAppsRequest{} - mi := &file_agent_proto_msgTypes[8] + mi := &file_agent_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -410,7 +338,7 @@ func (x *GetAppsRequest) String() string { func (*GetAppsRequest) ProtoMessage() {} func (x *GetAppsRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[8] + mi := &file_agent_proto_msgTypes[6] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -423,7 +351,7 @@ func (x *GetAppsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAppsRequest.ProtoReflect.Descriptor instead. func (*GetAppsRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{8} + return file_agent_proto_rawDescGZIP(), []int{6} } type GetVariablesRequest struct { @@ -434,7 +362,7 @@ type GetVariablesRequest struct { func (x *GetVariablesRequest) Reset() { *x = GetVariablesRequest{} - mi := &file_agent_proto_msgTypes[9] + mi := &file_agent_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -446,7 +374,7 @@ func (x *GetVariablesRequest) String() string { func (*GetVariablesRequest) ProtoMessage() {} func (x *GetVariablesRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[9] + mi := &file_agent_proto_msgTypes[7] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -459,2154 +387,101 @@ func (x *GetVariablesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetVariablesRequest.ProtoReflect.Descriptor instead. func (*GetVariablesRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{9} -} - -type GetSstRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetSstRequest) Reset() { - *x = GetSstRequest{} - mi := &file_agent_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetSstRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSstRequest) ProtoMessage() {} - -func (x *GetSstRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetSstRequest.ProtoReflect.Descriptor instead. -func (*GetSstRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{10} -} - -type GetModulesRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetModulesRequest) Reset() { - *x = GetModulesRequest{} - mi := &file_agent_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetModulesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetModulesRequest) ProtoMessage() {} - -func (x *GetModulesRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetModulesRequest.ProtoReflect.Descriptor instead. -func (*GetModulesRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{11} -} - -type GetModuleRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - ModuleId string `protobuf:"bytes,1,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetModuleRequest) Reset() { - *x = GetModuleRequest{} - mi := &file_agent_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetModuleRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetModuleRequest) ProtoMessage() {} - -func (x *GetModuleRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[12] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetModuleRequest.ProtoReflect.Descriptor instead. -func (*GetModuleRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{12} -} - -func (x *GetModuleRequest) GetModuleId() string { - if x != nil { - return x.ModuleId - } - return "" + return file_agent_proto_rawDescGZIP(), []int{7} } -type GetAgeIdentityRequest struct { +type ExecRequest struct { state protoimpl.MessageState `protogen:"open.v1"` + Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"` + Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"` + Cwd string `protobuf:"bytes,3,opt,name=cwd,proto3" json:"cwd,omitempty"` + Env map[string]string `protobuf:"bytes,4,rep,name=env,proto3" json:"env,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } -func (x *GetAgeIdentityRequest) Reset() { - *x = GetAgeIdentityRequest{} - mi := &file_agent_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetAgeIdentityRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetAgeIdentityRequest) ProtoMessage() {} - -func (x *GetAgeIdentityRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[13] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetAgeIdentityRequest.ProtoReflect.Descriptor instead. -func (*GetAgeIdentityRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{13} -} - -type SetAgeIdentityRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Value can be a file path (e.g., ~/.ssh/id_ed25519) or key content - Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SetAgeIdentityRequest) Reset() { - *x = SetAgeIdentityRequest{} - mi := &file_agent_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SetAgeIdentityRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetAgeIdentityRequest) ProtoMessage() {} - -func (x *SetAgeIdentityRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[14] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetAgeIdentityRequest.ProtoReflect.Descriptor instead. -func (*SetAgeIdentityRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{14} -} - -func (x *SetAgeIdentityRequest) GetValue() string { - if x != nil { - return x.Value - } - return "" -} - -type AgeIdentityResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Type is "path", "key", or "" (not configured) - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - // Value is the path (if type=path) or "(key stored)" (if type=key) - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - // KeyPath is the actual file path used for decryption - KeyPath string `protobuf:"bytes,3,opt,name=key_path,json=keyPath,proto3" json:"key_path,omitempty"` - // PublicKey is the derived public key (for AGE keys) - PublicKey string `protobuf:"bytes,4,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *AgeIdentityResponse) Reset() { - *x = AgeIdentityResponse{} - mi := &file_agent_proto_msgTypes[15] +func (x *ExecRequest) Reset() { + *x = ExecRequest{} + mi := &file_agent_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } -func (x *AgeIdentityResponse) String() string { +func (x *ExecRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*AgeIdentityResponse) ProtoMessage() {} - -func (x *AgeIdentityResponse) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[15] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AgeIdentityResponse.ProtoReflect.Descriptor instead. -func (*AgeIdentityResponse) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{15} -} - -func (x *AgeIdentityResponse) GetType() string { - if x != nil { - return x.Type - } - return "" -} - -func (x *AgeIdentityResponse) GetValue() string { - if x != nil { - return x.Value - } - return "" -} - -func (x *AgeIdentityResponse) GetKeyPath() string { - if x != nil { - return x.KeyPath - } - return "" -} - -func (x *AgeIdentityResponse) GetPublicKey() string { - if x != nil { - return x.PublicKey - } - return "" -} - -type GetKMSConfigRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetKMSConfigRequest) Reset() { - *x = GetKMSConfigRequest{} - mi := &file_agent_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetKMSConfigRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetKMSConfigRequest) ProtoMessage() {} - -func (x *GetKMSConfigRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[16] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetKMSConfigRequest.ProtoReflect.Descriptor instead. -func (*GetKMSConfigRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{16} -} - -type SetKMSConfigRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"` - KeyArn string `protobuf:"bytes,2,opt,name=key_arn,json=keyArn,proto3" json:"key_arn,omitempty"` - AwsProfile string `protobuf:"bytes,3,opt,name=aws_profile,json=awsProfile,proto3" json:"aws_profile,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SetKMSConfigRequest) Reset() { - *x = SetKMSConfigRequest{} - mi := &file_agent_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SetKMSConfigRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetKMSConfigRequest) ProtoMessage() {} - -func (x *SetKMSConfigRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[17] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetKMSConfigRequest.ProtoReflect.Descriptor instead. -func (*SetKMSConfigRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{17} -} - -func (x *SetKMSConfigRequest) GetEnable() bool { - if x != nil { - return x.Enable - } - return false -} - -func (x *SetKMSConfigRequest) GetKeyArn() string { - if x != nil { - return x.KeyArn - } - return "" -} - -func (x *SetKMSConfigRequest) GetAwsProfile() string { - if x != nil { - return x.AwsProfile - } - return "" -} - -type KMSConfigResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"` - KeyArn string `protobuf:"bytes,2,opt,name=key_arn,json=keyArn,proto3" json:"key_arn,omitempty"` - AwsProfile string `protobuf:"bytes,3,opt,name=aws_profile,json=awsProfile,proto3" json:"aws_profile,omitempty"` - // Source indicates where the config came from: "state" or "nix" - Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *KMSConfigResponse) Reset() { - *x = KMSConfigResponse{} - mi := &file_agent_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *KMSConfigResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*KMSConfigResponse) ProtoMessage() {} - -func (x *KMSConfigResponse) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[18] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use KMSConfigResponse.ProtoReflect.Descriptor instead. -func (*KMSConfigResponse) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{18} -} - -func (x *KMSConfigResponse) GetEnable() bool { - if x != nil { - return x.Enable - } - return false -} - -func (x *KMSConfigResponse) GetKeyArn() string { - if x != nil { - return x.KeyArn - } - return "" -} - -func (x *KMSConfigResponse) GetAwsProfile() string { - if x != nil { - return x.AwsProfile - } - return "" -} - -func (x *KMSConfigResponse) GetSource() string { - if x != nil { - return x.Source - } - return "" -} - -type ReadFileRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ReadFileRequest) Reset() { - *x = ReadFileRequest{} - mi := &file_agent_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ReadFileRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReadFileRequest) ProtoMessage() {} - -func (x *ReadFileRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[19] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ReadFileRequest.ProtoReflect.Descriptor instead. -func (*ReadFileRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{19} -} - -func (x *ReadFileRequest) GetPath() string { - if x != nil { - return x.Path - } - return "" -} - -type ReadFileResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` - Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ReadFileResponse) Reset() { - *x = ReadFileResponse{} - mi := &file_agent_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ReadFileResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReadFileResponse) ProtoMessage() {} - -func (x *ReadFileResponse) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[20] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ReadFileResponse.ProtoReflect.Descriptor instead. -func (*ReadFileResponse) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{20} -} - -func (x *ReadFileResponse) GetContent() string { - if x != nil { - return x.Content - } - return "" -} - -func (x *ReadFileResponse) GetExists() bool { - if x != nil { - return x.Exists - } - return false -} - -type WriteFileRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` - // Mode is the file permission (e.g., 0644). If 0, uses default. - Mode uint32 `protobuf:"varint,3,opt,name=mode,proto3" json:"mode,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WriteFileRequest) Reset() { - *x = WriteFileRequest{} - mi := &file_agent_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WriteFileRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WriteFileRequest) ProtoMessage() {} - -func (x *WriteFileRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[21] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WriteFileRequest.ProtoReflect.Descriptor instead. -func (*WriteFileRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{21} -} - -func (x *WriteFileRequest) GetPath() string { - if x != nil { - return x.Path - } - return "" -} - -func (x *WriteFileRequest) GetContent() string { - if x != nil { - return x.Content - } - return "" -} - -func (x *WriteFileRequest) GetMode() uint32 { - if x != nil { - return x.Mode - } - return 0 -} - -type WriteFileResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *WriteFileResponse) Reset() { - *x = WriteFileResponse{} - mi := &file_agent_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *WriteFileResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WriteFileResponse) ProtoMessage() {} - -func (x *WriteFileResponse) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[22] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WriteFileResponse.ProtoReflect.Descriptor instead. -func (*WriteFileResponse) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{22} -} - -func (x *WriteFileResponse) GetSuccess() bool { - if x != nil { - return x.Success - } - return false -} - -type ListFilesRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - Pattern string `protobuf:"bytes,2,opt,name=pattern,proto3" json:"pattern,omitempty"` // Optional glob pattern - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListFilesRequest) Reset() { - *x = ListFilesRequest{} - mi := &file_agent_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListFilesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListFilesRequest) ProtoMessage() {} - -func (x *ListFilesRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[23] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListFilesRequest.ProtoReflect.Descriptor instead. -func (*ListFilesRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{23} -} - -func (x *ListFilesRequest) GetPath() string { - if x != nil { - return x.Path - } - return "" -} - -func (x *ListFilesRequest) GetPattern() string { - if x != nil { - return x.Pattern - } - return "" -} - -type ListFilesResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Files []*FileInfo `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListFilesResponse) Reset() { - *x = ListFilesResponse{} - mi := &file_agent_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListFilesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListFilesResponse) ProtoMessage() {} - -func (x *ListFilesResponse) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[24] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListFilesResponse.ProtoReflect.Descriptor instead. -func (*ListFilesResponse) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{24} -} - -func (x *ListFilesResponse) GetFiles() []*FileInfo { - if x != nil { - return x.Files - } - return nil -} - -type FileInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` - IsDir bool `protobuf:"varint,3,opt,name=is_dir,json=isDir,proto3" json:"is_dir,omitempty"` - Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` - ModTime int64 `protobuf:"varint,5,opt,name=mod_time,json=modTime,proto3" json:"mod_time,omitempty"` // Unix timestamp - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *FileInfo) Reset() { - *x = FileInfo{} - mi := &file_agent_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *FileInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FileInfo) ProtoMessage() {} - -func (x *FileInfo) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[25] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FileInfo.ProtoReflect.Descriptor instead. -func (*FileInfo) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{25} -} - -func (x *FileInfo) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *FileInfo) GetPath() string { - if x != nil { - return x.Path - } - return "" -} - -func (x *FileInfo) GetIsDir() bool { - if x != nil { - return x.IsDir - } - return false -} - -func (x *FileInfo) GetSize() int64 { - if x != nil { - return x.Size - } - return 0 -} - -func (x *FileInfo) GetModTime() int64 { - if x != nil { - return x.ModTime - } - return 0 -} - -type ExecRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"` - Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"` - Cwd string `protobuf:"bytes,3,opt,name=cwd,proto3" json:"cwd,omitempty"` - Env map[string]string `protobuf:"bytes,4,rep,name=env,proto3" json:"env,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ExecRequest) Reset() { - *x = ExecRequest{} - mi := &file_agent_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ExecRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExecRequest) ProtoMessage() {} - -func (x *ExecRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[26] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ExecRequest.ProtoReflect.Descriptor instead. -func (*ExecRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{26} -} - -func (x *ExecRequest) GetCommand() string { - if x != nil { - return x.Command - } - return "" -} - -func (x *ExecRequest) GetArgs() []string { - if x != nil { - return x.Args - } - return nil -} - -func (x *ExecRequest) GetCwd() string { - if x != nil { - return x.Cwd - } - return "" -} - -func (x *ExecRequest) GetEnv() map[string]string { - if x != nil { - return x.Env - } - return nil -} - -type ExecResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - ExitCode int32 `protobuf:"varint,1,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"` - Stdout string `protobuf:"bytes,2,opt,name=stdout,proto3" json:"stdout,omitempty"` - Stderr string `protobuf:"bytes,3,opt,name=stderr,proto3" json:"stderr,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ExecResponse) Reset() { - *x = ExecResponse{} - mi := &file_agent_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ExecResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExecResponse) ProtoMessage() {} - -func (x *ExecResponse) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[27] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ExecResponse.ProtoReflect.Descriptor instead. -func (*ExecResponse) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{27} -} - -func (x *ExecResponse) GetExitCode() int32 { - if x != nil { - return x.ExitCode - } - return 0 -} - -func (x *ExecResponse) GetStdout() string { - if x != nil { - return x.Stdout - } - return "" -} - -func (x *ExecResponse) GetStderr() string { - if x != nil { - return x.Stderr - } - return "" -} - -type NixGenerateRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *NixGenerateRequest) Reset() { - *x = NixGenerateRequest{} - mi := &file_agent_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *NixGenerateRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NixGenerateRequest) ProtoMessage() {} - -func (x *NixGenerateRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[28] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NixGenerateRequest.ProtoReflect.Descriptor instead. -func (*NixGenerateRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{28} -} - -type NixGenerateResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` - Output string `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *NixGenerateResponse) Reset() { - *x = NixGenerateResponse{} - mi := &file_agent_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *NixGenerateResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NixGenerateResponse) ProtoMessage() {} - -func (x *NixGenerateResponse) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[29] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NixGenerateResponse.ProtoReflect.Descriptor instead. -func (*NixGenerateResponse) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{29} -} - -func (x *NixGenerateResponse) GetSuccess() bool { - if x != nil { - return x.Success - } - return false -} - -func (x *NixGenerateResponse) GetOutput() string { - if x != nil { - return x.Output - } - return "" -} - -type NixEvalRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Expression string `protobuf:"bytes,1,opt,name=expression,proto3" json:"expression,omitempty"` - Json bool `protobuf:"varint,2,opt,name=json,proto3" json:"json,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *NixEvalRequest) Reset() { - *x = NixEvalRequest{} - mi := &file_agent_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *NixEvalRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NixEvalRequest) ProtoMessage() {} - -func (x *NixEvalRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[30] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NixEvalRequest.ProtoReflect.Descriptor instead. -func (*NixEvalRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{30} -} - -func (x *NixEvalRequest) GetExpression() string { - if x != nil { - return x.Expression - } - return "" -} - -func (x *NixEvalRequest) GetJson() bool { - if x != nil { - return x.Json - } - return false -} - -type NixEvalResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Result string `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *NixEvalResponse) Reset() { - *x = NixEvalResponse{} - mi := &file_agent_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *NixEvalResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NixEvalResponse) ProtoMessage() {} - -func (x *NixEvalResponse) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[31] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NixEvalResponse.ProtoReflect.Descriptor instead. -func (*NixEvalResponse) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{31} -} - -func (x *NixEvalResponse) GetResult() string { - if x != nil { - return x.Result - } - return "" -} - -type GetServicesStatusRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetServicesStatusRequest) Reset() { - *x = GetServicesStatusRequest{} - mi := &file_agent_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetServicesStatusRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetServicesStatusRequest) ProtoMessage() {} - -func (x *GetServicesStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[32] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetServicesStatusRequest.ProtoReflect.Descriptor instead. -func (*GetServicesStatusRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{32} -} - -type GetServicesStatusResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Running bool `protobuf:"varint,1,opt,name=running,proto3" json:"running,omitempty"` - Services []*ServiceStatus `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetServicesStatusResponse) Reset() { - *x = GetServicesStatusResponse{} - mi := &file_agent_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetServicesStatusResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetServicesStatusResponse) ProtoMessage() {} - -func (x *GetServicesStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[33] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetServicesStatusResponse.ProtoReflect.Descriptor instead. -func (*GetServicesStatusResponse) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{33} -} - -func (x *GetServicesStatusResponse) GetRunning() bool { - if x != nil { - return x.Running - } - return false -} - -func (x *GetServicesStatusResponse) GetServices() []*ServiceStatus { - if x != nil { - return x.Services - } - return nil -} - -type ServiceStatus struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // "running", "stopped", "error" - Pid int32 `protobuf:"varint,3,opt,name=pid,proto3" json:"pid,omitempty"` - Uptime int64 `protobuf:"varint,4,opt,name=uptime,proto3" json:"uptime,omitempty"` // Seconds - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ServiceStatus) Reset() { - *x = ServiceStatus{} - mi := &file_agent_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ServiceStatus) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ServiceStatus) ProtoMessage() {} - -func (x *ServiceStatus) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[34] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ServiceStatus.ProtoReflect.Descriptor instead. -func (*ServiceStatus) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{34} -} - -func (x *ServiceStatus) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *ServiceStatus) GetStatus() string { - if x != nil { - return x.Status - } - return "" -} - -func (x *ServiceStatus) GetPid() int32 { - if x != nil { - return x.Pid - } - return 0 -} - -func (x *ServiceStatus) GetUptime() int64 { - if x != nil { - return x.Uptime - } - return 0 -} - -type ServiceRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ServiceRequest) Reset() { - *x = ServiceRequest{} - mi := &file_agent_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ServiceRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ServiceRequest) ProtoMessage() {} - -func (x *ServiceRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[35] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ServiceRequest.ProtoReflect.Descriptor instead. -func (*ServiceRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{35} -} - -func (x *ServiceRequest) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -type ServiceResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ServiceResponse) Reset() { - *x = ServiceResponse{} - mi := &file_agent_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ServiceResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ServiceResponse) ProtoMessage() {} - -func (x *ServiceResponse) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[36] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ServiceResponse.ProtoReflect.Descriptor instead. -func (*ServiceResponse) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{36} -} - -func (x *ServiceResponse) GetSuccess() bool { - if x != nil { - return x.Success - } - return false -} - -func (x *ServiceResponse) GetMessage() string { - if x != nil { - return x.Message - } - return "" -} - -type GetSSTStatusRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetSSTStatusRequest) Reset() { - *x = GetSSTStatusRequest{} - mi := &file_agent_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetSSTStatusRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSSTStatusRequest) ProtoMessage() {} - -func (x *GetSSTStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[37] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetSSTStatusRequest.ProtoReflect.Descriptor instead. -func (*GetSSTStatusRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{37} -} - -type SSTStatusResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Configured bool `protobuf:"varint,1,opt,name=configured,proto3" json:"configured,omitempty"` - ConfigPath string `protobuf:"bytes,2,opt,name=config_path,json=configPath,proto3" json:"config_path,omitempty"` - ConfigValid bool `protobuf:"varint,3,opt,name=config_valid,json=configValid,proto3" json:"config_valid,omitempty"` - Deployed bool `protobuf:"varint,4,opt,name=deployed,proto3" json:"deployed,omitempty"` - Stage string `protobuf:"bytes,5,opt,name=stage,proto3" json:"stage,omitempty"` - LastDeploy string `protobuf:"bytes,6,opt,name=last_deploy,json=lastDeploy,proto3" json:"last_deploy,omitempty"` - Error string `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SSTStatusResponse) Reset() { - *x = SSTStatusResponse{} - mi := &file_agent_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SSTStatusResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SSTStatusResponse) ProtoMessage() {} - -func (x *SSTStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[38] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SSTStatusResponse.ProtoReflect.Descriptor instead. -func (*SSTStatusResponse) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{38} -} - -func (x *SSTStatusResponse) GetConfigured() bool { - if x != nil { - return x.Configured - } - return false -} - -func (x *SSTStatusResponse) GetConfigPath() string { - if x != nil { - return x.ConfigPath - } - return "" -} - -func (x *SSTStatusResponse) GetConfigValid() bool { - if x != nil { - return x.ConfigValid - } - return false -} - -func (x *SSTStatusResponse) GetDeployed() bool { - if x != nil { - return x.Deployed - } - return false -} - -func (x *SSTStatusResponse) GetStage() string { - if x != nil { - return x.Stage - } - return "" -} - -func (x *SSTStatusResponse) GetLastDeploy() string { - if x != nil { - return x.LastDeploy - } - return "" -} - -func (x *SSTStatusResponse) GetError() string { - if x != nil { - return x.Error - } - return "" -} - -type GetSSTConfigRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetSSTConfigRequest) Reset() { - *x = GetSSTConfigRequest{} - mi := &file_agent_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetSSTConfigRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSSTConfigRequest) ProtoMessage() {} - -func (x *GetSSTConfigRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[39] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetSSTConfigRequest.ProtoReflect.Descriptor instead. -func (*GetSSTConfigRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{39} -} - -type DeploySSTRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Stage string `protobuf:"bytes,1,opt,name=stage,proto3" json:"stage,omitempty"` // dev, staging, production - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeploySSTRequest) Reset() { - *x = DeploySSTRequest{} - mi := &file_agent_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeploySSTRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeploySSTRequest) ProtoMessage() {} - -func (x *DeploySSTRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[40] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeploySSTRequest.ProtoReflect.Descriptor instead. -func (*DeploySSTRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{40} -} - -func (x *DeploySSTRequest) GetStage() string { - if x != nil { - return x.Stage - } - return "" -} - -type DeploySSTResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` - Output string `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"` - Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` - Outputs map[string]string `protobuf:"bytes,4,rep,name=outputs,proto3" json:"outputs,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeploySSTResponse) Reset() { - *x = DeploySSTResponse{} - mi := &file_agent_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeploySSTResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeploySSTResponse) ProtoMessage() {} - -func (x *DeploySSTResponse) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[41] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeploySSTResponse.ProtoReflect.Descriptor instead. -func (*DeploySSTResponse) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{41} -} - -func (x *DeploySSTResponse) GetSuccess() bool { - if x != nil { - return x.Success - } - return false -} - -func (x *DeploySSTResponse) GetOutput() string { - if x != nil { - return x.Output - } - return "" -} - -func (x *DeploySSTResponse) GetError() string { - if x != nil { - return x.Error - } - return "" -} - -func (x *DeploySSTResponse) GetOutputs() map[string]string { - if x != nil { - return x.Outputs - } - return nil -} - -type RemoveSSTRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Stage string `protobuf:"bytes,1,opt,name=stage,proto3" json:"stage,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RemoveSSTRequest) Reset() { - *x = RemoveSSTRequest{} - mi := &file_agent_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RemoveSSTRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveSSTRequest) ProtoMessage() {} - -func (x *RemoveSSTRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[42] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveSSTRequest.ProtoReflect.Descriptor instead. -func (*RemoveSSTRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{42} -} - -func (x *RemoveSSTRequest) GetStage() string { - if x != nil { - return x.Stage - } - return "" -} - -type RemoveSSTResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` - Output string `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"` - Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RemoveSSTResponse) Reset() { - *x = RemoveSSTResponse{} - mi := &file_agent_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RemoveSSTResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveSSTResponse) ProtoMessage() {} - -func (x *RemoveSSTResponse) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[43] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveSSTResponse.ProtoReflect.Descriptor instead. -func (*RemoveSSTResponse) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{43} -} - -func (x *RemoveSSTResponse) GetSuccess() bool { - if x != nil { - return x.Success - } - return false -} - -func (x *RemoveSSTResponse) GetOutput() string { - if x != nil { - return x.Output - } - return "" -} - -func (x *RemoveSSTResponse) GetError() string { - if x != nil { - return x.Error - } - return "" -} - -type GetSSTOutputsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetSSTOutputsRequest) Reset() { - *x = GetSSTOutputsRequest{} - mi := &file_agent_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetSSTOutputsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSSTOutputsRequest) ProtoMessage() {} - -func (x *GetSSTOutputsRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[44] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetSSTOutputsRequest.ProtoReflect.Descriptor instead. -func (*GetSSTOutputsRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{44} -} - -type SSTOutputsResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Outputs map[string]string `protobuf:"bytes,1,rep,name=outputs,proto3" json:"outputs,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SSTOutputsResponse) Reset() { - *x = SSTOutputsResponse{} - mi := &file_agent_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SSTOutputsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SSTOutputsResponse) ProtoMessage() {} - -func (x *SSTOutputsResponse) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[45] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SSTOutputsResponse.ProtoReflect.Descriptor instead. -func (*SSTOutputsResponse) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{45} -} - -func (x *SSTOutputsResponse) GetOutputs() map[string]string { - if x != nil { - return x.Outputs - } - return nil -} - -type GetSSTResourcesRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetSSTResourcesRequest) Reset() { - *x = GetSSTResourcesRequest{} - mi := &file_agent_proto_msgTypes[46] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetSSTResourcesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSSTResourcesRequest) ProtoMessage() {} - -func (x *GetSSTResourcesRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[46] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetSSTResourcesRequest.ProtoReflect.Descriptor instead. -func (*GetSSTResourcesRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{46} -} - -type SSTResource struct { - state protoimpl.MessageState `protogen:"open.v1"` - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - Urn string `protobuf:"bytes,2,opt,name=urn,proto3" json:"urn,omitempty"` - Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SSTResource) Reset() { - *x = SSTResource{} - mi := &file_agent_proto_msgTypes[47] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SSTResource) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SSTResource) ProtoMessage() {} - -func (x *SSTResource) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[47] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SSTResource.ProtoReflect.Descriptor instead. -func (*SSTResource) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{47} -} - -func (x *SSTResource) GetType() string { - if x != nil { - return x.Type - } - return "" -} - -func (x *SSTResource) GetUrn() string { - if x != nil { - return x.Urn - } - return "" -} - -func (x *SSTResource) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -type SSTResourcesResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Resources []*SSTResource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SSTResourcesResponse) Reset() { - *x = SSTResourcesResponse{} - mi := &file_agent_proto_msgTypes[48] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SSTResourcesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SSTResourcesResponse) ProtoMessage() {} - -func (x *SSTResourcesResponse) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[48] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SSTResourcesResponse.ProtoReflect.Descriptor instead. -func (*SSTResourcesResponse) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{48} -} - -func (x *SSTResourcesResponse) GetResources() []*SSTResource { - if x != nil { - return x.Resources - } - return nil -} - -type SearchNixpkgsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` - Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` // Max results to return - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SearchNixpkgsRequest) Reset() { - *x = SearchNixpkgsRequest{} - mi := &file_agent_proto_msgTypes[49] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SearchNixpkgsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchNixpkgsRequest) ProtoMessage() {} - -func (x *SearchNixpkgsRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[49] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SearchNixpkgsRequest.ProtoReflect.Descriptor instead. -func (*SearchNixpkgsRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{49} -} - -func (x *SearchNixpkgsRequest) GetQuery() string { - if x != nil { - return x.Query - } - return "" -} - -func (x *SearchNixpkgsRequest) GetLimit() int32 { - if x != nil { - return x.Limit - } - return 0 -} - -type NixpkgsPackage struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - AttrPath string `protobuf:"bytes,2,opt,name=attr_path,json=attrPath,proto3" json:"attr_path,omitempty"` - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` - Installed bool `protobuf:"varint,5,opt,name=installed,proto3" json:"installed,omitempty"` - License string `protobuf:"bytes,6,opt,name=license,proto3" json:"license,omitempty"` - Homepage string `protobuf:"bytes,7,opt,name=homepage,proto3" json:"homepage,omitempty"` - NixpkgsUrl string `protobuf:"bytes,8,opt,name=nixpkgs_url,json=nixpkgsUrl,proto3" json:"nixpkgs_url,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *NixpkgsPackage) Reset() { - *x = NixpkgsPackage{} - mi := &file_agent_proto_msgTypes[50] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *NixpkgsPackage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NixpkgsPackage) ProtoMessage() {} - -func (x *NixpkgsPackage) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[50] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NixpkgsPackage.ProtoReflect.Descriptor instead. -func (*NixpkgsPackage) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{50} -} - -func (x *NixpkgsPackage) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *NixpkgsPackage) GetAttrPath() string { - if x != nil { - return x.AttrPath - } - return "" -} +func (*ExecRequest) ProtoMessage() {} -func (x *NixpkgsPackage) GetVersion() string { +func (x *ExecRequest) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[8] if x != nil { - return x.Version + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return "" + return mi.MessageOf(x) } -func (x *NixpkgsPackage) GetDescription() string { - if x != nil { - return x.Description - } - return "" +// Deprecated: Use ExecRequest.ProtoReflect.Descriptor instead. +func (*ExecRequest) Descriptor() ([]byte, []int) { + return file_agent_proto_rawDescGZIP(), []int{8} } -func (x *NixpkgsPackage) GetInstalled() bool { +func (x *ExecRequest) GetCommand() string { if x != nil { - return x.Installed + return x.Command } - return false + return "" } -func (x *NixpkgsPackage) GetLicense() string { +func (x *ExecRequest) GetArgs() []string { if x != nil { - return x.License + return x.Args } - return "" + return nil } -func (x *NixpkgsPackage) GetHomepage() string { +func (x *ExecRequest) GetCwd() string { if x != nil { - return x.Homepage + return x.Cwd } return "" } -func (x *NixpkgsPackage) GetNixpkgsUrl() string { +func (x *ExecRequest) GetEnv() map[string]string { if x != nil { - return x.NixpkgsUrl + return x.Env } - return "" + return nil } -type SearchNixpkgsResponse struct { +type ExecResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - Packages []*NixpkgsPackage `protobuf:"bytes,1,rep,name=packages,proto3" json:"packages,omitempty"` + ExitCode int32 `protobuf:"varint,1,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"` + Stdout string `protobuf:"bytes,2,opt,name=stdout,proto3" json:"stdout,omitempty"` + Stderr string `protobuf:"bytes,3,opt,name=stderr,proto3" json:"stderr,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } -func (x *SearchNixpkgsResponse) Reset() { - *x = SearchNixpkgsResponse{} - mi := &file_agent_proto_msgTypes[51] +func (x *ExecResponse) Reset() { + *x = ExecResponse{} + mi := &file_agent_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } -func (x *SearchNixpkgsResponse) String() string { +func (x *ExecResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*SearchNixpkgsResponse) ProtoMessage() {} +func (*ExecResponse) ProtoMessage() {} -func (x *SearchNixpkgsResponse) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[51] +func (x *ExecResponse) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[9] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2617,16 +492,30 @@ func (x *SearchNixpkgsResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use SearchNixpkgsResponse.ProtoReflect.Descriptor instead. -func (*SearchNixpkgsResponse) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{51} +// Deprecated: Use ExecResponse.ProtoReflect.Descriptor instead. +func (*ExecResponse) Descriptor() ([]byte, []int) { + return file_agent_proto_rawDescGZIP(), []int{9} +} + +func (x *ExecResponse) GetExitCode() int32 { + if x != nil { + return x.ExitCode + } + return 0 } -func (x *SearchNixpkgsResponse) GetPackages() []*NixpkgsPackage { +func (x *ExecResponse) GetStdout() string { if x != nil { - return x.Packages + return x.Stdout } - return nil + return "" +} + +func (x *ExecResponse) GetStderr() string { + if x != nil { + return x.Stderr + } + return "" } type GetInstalledPackagesRequest struct { @@ -2637,7 +526,7 @@ type GetInstalledPackagesRequest struct { func (x *GetInstalledPackagesRequest) Reset() { *x = GetInstalledPackagesRequest{} - mi := &file_agent_proto_msgTypes[52] + mi := &file_agent_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2649,7 +538,7 @@ func (x *GetInstalledPackagesRequest) String() string { func (*GetInstalledPackagesRequest) ProtoMessage() {} func (x *GetInstalledPackagesRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[52] + mi := &file_agent_proto_msgTypes[10] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2662,7 +551,7 @@ func (x *GetInstalledPackagesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetInstalledPackagesRequest.ProtoReflect.Descriptor instead. func (*GetInstalledPackagesRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{52} + return file_agent_proto_rawDescGZIP(), []int{10} } type InstalledPackage struct { @@ -2677,7 +566,7 @@ type InstalledPackage struct { func (x *InstalledPackage) Reset() { *x = InstalledPackage{} - mi := &file_agent_proto_msgTypes[53] + mi := &file_agent_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2689,7 +578,7 @@ func (x *InstalledPackage) String() string { func (*InstalledPackage) ProtoMessage() {} func (x *InstalledPackage) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[53] + mi := &file_agent_proto_msgTypes[11] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2702,7 +591,7 @@ func (x *InstalledPackage) ProtoReflect() protoreflect.Message { // Deprecated: Use InstalledPackage.ProtoReflect.Descriptor instead. func (*InstalledPackage) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{53} + return file_agent_proto_rawDescGZIP(), []int{11} } func (x *InstalledPackage) GetName() string { @@ -2743,7 +632,7 @@ type InstalledPackagesResponse struct { func (x *InstalledPackagesResponse) Reset() { *x = InstalledPackagesResponse{} - mi := &file_agent_proto_msgTypes[54] + mi := &file_agent_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2755,7 +644,7 @@ func (x *InstalledPackagesResponse) String() string { func (*InstalledPackagesResponse) ProtoMessage() {} func (x *InstalledPackagesResponse) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[54] + mi := &file_agent_proto_msgTypes[12] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2768,7 +657,7 @@ func (x *InstalledPackagesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use InstalledPackagesResponse.ProtoReflect.Descriptor instead. func (*InstalledPackagesResponse) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{54} + return file_agent_proto_rawDescGZIP(), []int{12} } func (x *InstalledPackagesResponse) GetPackages() []*InstalledPackage { @@ -2793,7 +682,7 @@ type GetProcessesRequest struct { func (x *GetProcessesRequest) Reset() { *x = GetProcessesRequest{} - mi := &file_agent_proto_msgTypes[55] + mi := &file_agent_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2805,7 +694,7 @@ func (x *GetProcessesRequest) String() string { func (*GetProcessesRequest) ProtoMessage() {} func (x *GetProcessesRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[55] + mi := &file_agent_proto_msgTypes[13] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2818,7 +707,7 @@ func (x *GetProcessesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetProcessesRequest.ProtoReflect.Descriptor instead. func (*GetProcessesRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{55} + return file_agent_proto_rawDescGZIP(), []int{13} } type ProcessInfo struct { @@ -2837,7 +726,7 @@ type ProcessInfo struct { func (x *ProcessInfo) Reset() { *x = ProcessInfo{} - mi := &file_agent_proto_msgTypes[56] + mi := &file_agent_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2849,7 +738,7 @@ func (x *ProcessInfo) String() string { func (*ProcessInfo) ProtoMessage() {} func (x *ProcessInfo) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[56] + mi := &file_agent_proto_msgTypes[14] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2862,7 +751,7 @@ func (x *ProcessInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use ProcessInfo.ProtoReflect.Descriptor instead. func (*ProcessInfo) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{56} + return file_agent_proto_rawDescGZIP(), []int{14} } func (x *ProcessInfo) GetName() string { @@ -2933,7 +822,7 @@ type GetProcessesResponse struct { func (x *GetProcessesResponse) Reset() { *x = GetProcessesResponse{} - mi := &file_agent_proto_msgTypes[57] + mi := &file_agent_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2945,7 +834,7 @@ func (x *GetProcessesResponse) String() string { func (*GetProcessesResponse) ProtoMessage() {} func (x *GetProcessesResponse) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[57] + mi := &file_agent_proto_msgTypes[15] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2958,7 +847,7 @@ func (x *GetProcessesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetProcessesResponse.ProtoReflect.Descriptor instead. func (*GetProcessesResponse) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{57} + return file_agent_proto_rawDescGZIP(), []int{15} } func (x *GetProcessesResponse) GetAvailable() bool { @@ -2989,171 +878,6 @@ func (x *GetProcessesResponse) GetError() string { return "" } -type GetHealthchecksRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetHealthchecksRequest) Reset() { - *x = GetHealthchecksRequest{} - mi := &file_agent_proto_msgTypes[58] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetHealthchecksRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetHealthchecksRequest) ProtoMessage() {} - -func (x *GetHealthchecksRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[58] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetHealthchecksRequest.ProtoReflect.Descriptor instead. -func (*GetHealthchecksRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{58} -} - -// Simple healthcheck info for RPC responses (distinct from db.HealthcheckResult) -type HealthcheckInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // service, port, http, etc. - Healthy bool `protobuf:"varint,3,opt,name=healthy,proto3" json:"healthy,omitempty"` - Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` - Details string `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *HealthcheckInfo) Reset() { - *x = HealthcheckInfo{} - mi := &file_agent_proto_msgTypes[59] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *HealthcheckInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HealthcheckInfo) ProtoMessage() {} - -func (x *HealthcheckInfo) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[59] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HealthcheckInfo.ProtoReflect.Descriptor instead. -func (*HealthcheckInfo) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{59} -} - -func (x *HealthcheckInfo) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *HealthcheckInfo) GetType() string { - if x != nil { - return x.Type - } - return "" -} - -func (x *HealthcheckInfo) GetHealthy() bool { - if x != nil { - return x.Healthy - } - return false -} - -func (x *HealthcheckInfo) GetMessage() string { - if x != nil { - return x.Message - } - return "" -} - -func (x *HealthcheckInfo) GetDetails() string { - if x != nil { - return x.Details - } - return "" -} - -type HealthchecksResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - AllHealthy bool `protobuf:"varint,1,opt,name=all_healthy,json=allHealthy,proto3" json:"all_healthy,omitempty"` - Checks []*HealthcheckInfo `protobuf:"bytes,2,rep,name=checks,proto3" json:"checks,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *HealthchecksResponse) Reset() { - *x = HealthchecksResponse{} - mi := &file_agent_proto_msgTypes[60] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *HealthchecksResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HealthchecksResponse) ProtoMessage() {} - -func (x *HealthchecksResponse) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[60] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HealthchecksResponse.ProtoReflect.Descriptor instead. -func (*HealthchecksResponse) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{60} -} - -func (x *HealthchecksResponse) GetAllHealthy() bool { - if x != nil { - return x.AllHealthy - } - return false -} - -func (x *HealthchecksResponse) GetChecks() []*HealthcheckInfo { - if x != nil { - return x.Checks - } - return nil -} - // PatchNixDataRequest updates a single value within a Nix data entity at a // dot-separated path. This enables editing individual fields from UI panels // without replacing the entire entity. @@ -3189,7 +913,7 @@ type PatchNixDataRequest struct { func (x *PatchNixDataRequest) Reset() { *x = PatchNixDataRequest{} - mi := &file_agent_proto_msgTypes[61] + mi := &file_agent_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3201,7 +925,7 @@ func (x *PatchNixDataRequest) String() string { func (*PatchNixDataRequest) ProtoMessage() {} func (x *PatchNixDataRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[61] + mi := &file_agent_proto_msgTypes[16] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3214,7 +938,7 @@ func (x *PatchNixDataRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PatchNixDataRequest.ProtoReflect.Descriptor instead. func (*PatchNixDataRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{61} + return file_agent_proto_rawDescGZIP(), []int{16} } func (x *PatchNixDataRequest) GetEntity() string { @@ -3265,7 +989,7 @@ type PatchNixDataResponse struct { func (x *PatchNixDataResponse) Reset() { *x = PatchNixDataResponse{} - mi := &file_agent_proto_msgTypes[62] + mi := &file_agent_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3277,7 +1001,7 @@ func (x *PatchNixDataResponse) String() string { func (*PatchNixDataResponse) ProtoMessage() {} func (x *PatchNixDataResponse) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[62] + mi := &file_agent_proto_msgTypes[17] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3290,7 +1014,7 @@ func (x *PatchNixDataResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PatchNixDataResponse.ProtoReflect.Descriptor instead. func (*PatchNixDataResponse) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{62} + return file_agent_proto_rawDescGZIP(), []int{17} } func (x *PatchNixDataResponse) GetSuccess() bool { @@ -3323,7 +1047,7 @@ type GetNixConfigRequest struct { func (x *GetNixConfigRequest) Reset() { *x = GetNixConfigRequest{} - mi := &file_agent_proto_msgTypes[63] + mi := &file_agent_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3335,7 +1059,7 @@ func (x *GetNixConfigRequest) String() string { func (*GetNixConfigRequest) ProtoMessage() {} func (x *GetNixConfigRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[63] + mi := &file_agent_proto_msgTypes[18] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3348,7 +1072,7 @@ func (x *GetNixConfigRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetNixConfigRequest.ProtoReflect.Descriptor instead. func (*GetNixConfigRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{63} + return file_agent_proto_rawDescGZIP(), []int{18} } func (x *GetNixConfigRequest) GetRefresh() bool { @@ -3358,42 +1082,6 @@ func (x *GetNixConfigRequest) GetRefresh() bool { return false } -type RefreshNixConfigRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RefreshNixConfigRequest) Reset() { - *x = RefreshNixConfigRequest{} - mi := &file_agent_proto_msgTypes[64] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RefreshNixConfigRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RefreshNixConfigRequest) ProtoMessage() {} - -func (x *RefreshNixConfigRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[64] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RefreshNixConfigRequest.ProtoReflect.Descriptor instead. -func (*RefreshNixConfigRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{64} -} - type NixConfigResponse struct { state protoimpl.MessageState `protogen:"open.v1"` // The full config is a dynamic JSON object, stored as string @@ -3407,7 +1095,7 @@ type NixConfigResponse struct { func (x *NixConfigResponse) Reset() { *x = NixConfigResponse{} - mi := &file_agent_proto_msgTypes[65] + mi := &file_agent_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3419,7 +1107,7 @@ func (x *NixConfigResponse) String() string { func (*NixConfigResponse) ProtoMessage() {} func (x *NixConfigResponse) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[65] + mi := &file_agent_proto_msgTypes[19] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3432,7 +1120,7 @@ func (x *NixConfigResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use NixConfigResponse.ProtoReflect.Descriptor instead. func (*NixConfigResponse) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{65} + return file_agent_proto_rawDescGZIP(), []int{19} } func (x *NixConfigResponse) GetConfigJson() string { @@ -3471,7 +1159,7 @@ type GetShellStatusRequest struct { func (x *GetShellStatusRequest) Reset() { *x = GetShellStatusRequest{} - mi := &file_agent_proto_msgTypes[66] + mi := &file_agent_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3483,7 +1171,7 @@ func (x *GetShellStatusRequest) String() string { func (*GetShellStatusRequest) ProtoMessage() {} func (x *GetShellStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[66] + mi := &file_agent_proto_msgTypes[20] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3496,7 +1184,7 @@ func (x *GetShellStatusRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetShellStatusRequest.ProtoReflect.Descriptor instead. func (*GetShellStatusRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{66} + return file_agent_proto_rawDescGZIP(), []int{20} } type ShellStatusResponse struct { @@ -3517,7 +1205,7 @@ type ShellStatusResponse struct { func (x *ShellStatusResponse) Reset() { *x = ShellStatusResponse{} - mi := &file_agent_proto_msgTypes[67] + mi := &file_agent_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3529,7 +1217,7 @@ func (x *ShellStatusResponse) String() string { func (*ShellStatusResponse) ProtoMessage() {} func (x *ShellStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[67] + mi := &file_agent_proto_msgTypes[21] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3542,7 +1230,7 @@ func (x *ShellStatusResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ShellStatusResponse.ProtoReflect.Descriptor instead. func (*ShellStatusResponse) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{67} + return file_agent_proto_rawDescGZIP(), []int{21} } func (x *ShellStatusResponse) GetStale() bool { @@ -3591,7 +1279,7 @@ type RebuildShellRequest struct { func (x *RebuildShellRequest) Reset() { *x = RebuildShellRequest{} - mi := &file_agent_proto_msgTypes[68] + mi := &file_agent_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3603,7 +1291,7 @@ func (x *RebuildShellRequest) String() string { func (*RebuildShellRequest) ProtoMessage() {} func (x *RebuildShellRequest) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[68] + mi := &file_agent_proto_msgTypes[22] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3616,7 +1304,7 @@ func (x *RebuildShellRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RebuildShellRequest.ProtoReflect.Descriptor instead. func (*RebuildShellRequest) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{68} + return file_agent_proto_rawDescGZIP(), []int{22} } func (x *RebuildShellRequest) GetMethod() string { @@ -3644,7 +1332,7 @@ type RebuildShellEvent struct { func (x *RebuildShellEvent) Reset() { *x = RebuildShellEvent{} - mi := &file_agent_proto_msgTypes[69] + mi := &file_agent_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3656,7 +1344,7 @@ func (x *RebuildShellEvent) String() string { func (*RebuildShellEvent) ProtoMessage() {} func (x *RebuildShellEvent) ProtoReflect() protoreflect.Message { - mi := &file_agent_proto_msgTypes[69] + mi := &file_agent_proto_msgTypes[23] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3669,7 +1357,7 @@ func (x *RebuildShellEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use RebuildShellEvent.ProtoReflect.Descriptor instead. func (*RebuildShellEvent) Descriptor() ([]byte, []int) { - return file_agent_proto_rawDescGZIP(), []int{69} + return file_agent_proto_rawDescGZIP(), []int{23} } func (x *RebuildShellEvent) GetType() string { @@ -3711,8 +1399,8 @@ var File_agent_proto protoreflect.FileDescriptor const file_agent_proto_rawDesc = "" + "\n" + - "\vagent.proto\x12\x10stackpanel.agent\x1a\fconfig.proto\x1a\rsecrets.proto\x1a\vusers.proto\x1a\taws.proto\x1a\vfiles.proto\x1a\x0eservices.proto\x1a\n" + - "apps.proto\x1a\x0fvariables.proto\x1a\tsst.proto\x1a\rmodules.proto\"\x13\n" + + "\vagent.proto\x12\x10stackpanel.agent\x1a\rsecrets.proto\x1a\vusers.proto\x1a\vfiles.proto\x1a\x0eservices.proto\x1a\n" + + "apps.proto\x1a\x0fvariables.proto\x1a\rmodules.proto\"\x13\n" + "\x11GetProjectRequest\"I\n" + "\x12GetProjectResponse\x123\n" + "\aproject\x18\x01 \x01(\v2\x19.stackpanel.agent.ProjectR\aproject\"|\n" + @@ -3726,60 +1414,11 @@ const file_agent_proto_rawDesc = "" + "\x04data\x18\x02 \x01(\tR\x04data\x12\x10\n" + "\x03gen\x18\x03 \x01(\tR\x03gen\x12\x14\n" + "\x05state\x18\x04 \x01(\tR\x05state\x12\x18\n" + - "\asecrets\x18\x05 \x01(\tR\asecrets\"\x12\n" + - "\x10GetConfigRequest\"\x13\n" + + "\asecrets\x18\x05 \x01(\tR\asecrets\"\x13\n" + "\x11GetSecretsRequest\"\x11\n" + - "\x0fGetUsersRequest\"\x0f\n" + - "\rGetAwsRequest\"\x10\n" + + "\x0fGetUsersRequest\"\x10\n" + "\x0eGetAppsRequest\"\x15\n" + - "\x13GetVariablesRequest\"\x0f\n" + - "\rGetSstRequest\"\x13\n" + - "\x11GetModulesRequest\"/\n" + - "\x10GetModuleRequest\x12\x1b\n" + - "\tmodule_id\x18\x01 \x01(\tR\bmoduleId\"\x17\n" + - "\x15GetAgeIdentityRequest\"-\n" + - "\x15SetAgeIdentityRequest\x12\x14\n" + - "\x05value\x18\x01 \x01(\tR\x05value\"y\n" + - "\x13AgeIdentityResponse\x12\x12\n" + - "\x04type\x18\x01 \x01(\tR\x04type\x12\x14\n" + - "\x05value\x18\x02 \x01(\tR\x05value\x12\x19\n" + - "\bkey_path\x18\x03 \x01(\tR\akeyPath\x12\x1d\n" + - "\n" + - "public_key\x18\x04 \x01(\tR\tpublicKey\"\x15\n" + - "\x13GetKMSConfigRequest\"g\n" + - "\x13SetKMSConfigRequest\x12\x16\n" + - "\x06enable\x18\x01 \x01(\bR\x06enable\x12\x17\n" + - "\akey_arn\x18\x02 \x01(\tR\x06keyArn\x12\x1f\n" + - "\vaws_profile\x18\x03 \x01(\tR\n" + - "awsProfile\"}\n" + - "\x11KMSConfigResponse\x12\x16\n" + - "\x06enable\x18\x01 \x01(\bR\x06enable\x12\x17\n" + - "\akey_arn\x18\x02 \x01(\tR\x06keyArn\x12\x1f\n" + - "\vaws_profile\x18\x03 \x01(\tR\n" + - "awsProfile\x12\x16\n" + - "\x06source\x18\x04 \x01(\tR\x06source\"%\n" + - "\x0fReadFileRequest\x12\x12\n" + - "\x04path\x18\x01 \x01(\tR\x04path\"D\n" + - "\x10ReadFileResponse\x12\x18\n" + - "\acontent\x18\x01 \x01(\tR\acontent\x12\x16\n" + - "\x06exists\x18\x02 \x01(\bR\x06exists\"T\n" + - "\x10WriteFileRequest\x12\x12\n" + - "\x04path\x18\x01 \x01(\tR\x04path\x12\x18\n" + - "\acontent\x18\x02 \x01(\tR\acontent\x12\x12\n" + - "\x04mode\x18\x03 \x01(\rR\x04mode\"-\n" + - "\x11WriteFileResponse\x12\x18\n" + - "\asuccess\x18\x01 \x01(\bR\asuccess\"@\n" + - "\x10ListFilesRequest\x12\x12\n" + - "\x04path\x18\x01 \x01(\tR\x04path\x12\x18\n" + - "\apattern\x18\x02 \x01(\tR\apattern\"E\n" + - "\x11ListFilesResponse\x120\n" + - "\x05files\x18\x01 \x03(\v2\x1a.stackpanel.agent.FileInfoR\x05files\"x\n" + - "\bFileInfo\x12\x12\n" + - "\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n" + - "\x04path\x18\x02 \x01(\tR\x04path\x12\x15\n" + - "\x06is_dir\x18\x03 \x01(\bR\x05isDir\x12\x12\n" + - "\x04size\x18\x04 \x01(\x03R\x04size\x12\x19\n" + - "\bmod_time\x18\x05 \x01(\x03R\amodTime\"\xbf\x01\n" + + "\x13GetVariablesRequest\"\xbf\x01\n" + "\vExecRequest\x12\x18\n" + "\acommand\x18\x01 \x01(\tR\acommand\x12\x12\n" + "\x04args\x18\x02 \x03(\tR\x04args\x12\x10\n" + @@ -3791,90 +1430,7 @@ const file_agent_proto_rawDesc = "" + "\fExecResponse\x12\x1b\n" + "\texit_code\x18\x01 \x01(\x05R\bexitCode\x12\x16\n" + "\x06stdout\x18\x02 \x01(\tR\x06stdout\x12\x16\n" + - "\x06stderr\x18\x03 \x01(\tR\x06stderr\"\x14\n" + - "\x12NixGenerateRequest\"G\n" + - "\x13NixGenerateResponse\x12\x18\n" + - "\asuccess\x18\x01 \x01(\bR\asuccess\x12\x16\n" + - "\x06output\x18\x02 \x01(\tR\x06output\"D\n" + - "\x0eNixEvalRequest\x12\x1e\n" + - "\n" + - "expression\x18\x01 \x01(\tR\n" + - "expression\x12\x12\n" + - "\x04json\x18\x02 \x01(\bR\x04json\")\n" + - "\x0fNixEvalResponse\x12\x16\n" + - "\x06result\x18\x01 \x01(\tR\x06result\"\x1a\n" + - "\x18GetServicesStatusRequest\"r\n" + - "\x19GetServicesStatusResponse\x12\x18\n" + - "\arunning\x18\x01 \x01(\bR\arunning\x12;\n" + - "\bservices\x18\x02 \x03(\v2\x1f.stackpanel.agent.ServiceStatusR\bservices\"e\n" + - "\rServiceStatus\x12\x12\n" + - "\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n" + - "\x06status\x18\x02 \x01(\tR\x06status\x12\x10\n" + - "\x03pid\x18\x03 \x01(\x05R\x03pid\x12\x16\n" + - "\x06uptime\x18\x04 \x01(\x03R\x06uptime\"$\n" + - "\x0eServiceRequest\x12\x12\n" + - "\x04name\x18\x01 \x01(\tR\x04name\"E\n" + - "\x0fServiceResponse\x12\x18\n" + - "\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" + - "\amessage\x18\x02 \x01(\tR\amessage\"\x15\n" + - "\x13GetSSTStatusRequest\"\xe0\x01\n" + - "\x11SSTStatusResponse\x12\x1e\n" + - "\n" + - "configured\x18\x01 \x01(\bR\n" + - "configured\x12\x1f\n" + - "\vconfig_path\x18\x02 \x01(\tR\n" + - "configPath\x12!\n" + - "\fconfig_valid\x18\x03 \x01(\bR\vconfigValid\x12\x1a\n" + - "\bdeployed\x18\x04 \x01(\bR\bdeployed\x12\x14\n" + - "\x05stage\x18\x05 \x01(\tR\x05stage\x12\x1f\n" + - "\vlast_deploy\x18\x06 \x01(\tR\n" + - "lastDeploy\x12\x14\n" + - "\x05error\x18\a \x01(\tR\x05error\"\x15\n" + - "\x13GetSSTConfigRequest\"(\n" + - "\x10DeploySSTRequest\x12\x14\n" + - "\x05stage\x18\x01 \x01(\tR\x05stage\"\xe3\x01\n" + - "\x11DeploySSTResponse\x12\x18\n" + - "\asuccess\x18\x01 \x01(\bR\asuccess\x12\x16\n" + - "\x06output\x18\x02 \x01(\tR\x06output\x12\x14\n" + - "\x05error\x18\x03 \x01(\tR\x05error\x12J\n" + - "\aoutputs\x18\x04 \x03(\v20.stackpanel.agent.DeploySSTResponse.OutputsEntryR\aoutputs\x1a:\n" + - "\fOutputsEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"(\n" + - "\x10RemoveSSTRequest\x12\x14\n" + - "\x05stage\x18\x01 \x01(\tR\x05stage\"[\n" + - "\x11RemoveSSTResponse\x12\x18\n" + - "\asuccess\x18\x01 \x01(\bR\asuccess\x12\x16\n" + - "\x06output\x18\x02 \x01(\tR\x06output\x12\x14\n" + - "\x05error\x18\x03 \x01(\tR\x05error\"\x16\n" + - "\x14GetSSTOutputsRequest\"\x9d\x01\n" + - "\x12SSTOutputsResponse\x12K\n" + - "\aoutputs\x18\x01 \x03(\v21.stackpanel.agent.SSTOutputsResponse.OutputsEntryR\aoutputs\x1a:\n" + - "\fOutputsEntry\x12\x10\n" + - "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x18\n" + - "\x16GetSSTResourcesRequest\"C\n" + - "\vSSTResource\x12\x12\n" + - "\x04type\x18\x01 \x01(\tR\x04type\x12\x10\n" + - "\x03urn\x18\x02 \x01(\tR\x03urn\x12\x0e\n" + - "\x02id\x18\x03 \x01(\tR\x02id\"S\n" + - "\x14SSTResourcesResponse\x12;\n" + - "\tresources\x18\x01 \x03(\v2\x1d.stackpanel.agent.SSTResourceR\tresources\"B\n" + - "\x14SearchNixpkgsRequest\x12\x14\n" + - "\x05query\x18\x01 \x01(\tR\x05query\x12\x14\n" + - "\x05limit\x18\x02 \x01(\x05R\x05limit\"\xf2\x01\n" + - "\x0eNixpkgsPackage\x12\x12\n" + - "\x04name\x18\x01 \x01(\tR\x04name\x12\x1b\n" + - "\tattr_path\x18\x02 \x01(\tR\battrPath\x12\x18\n" + - "\aversion\x18\x03 \x01(\tR\aversion\x12 \n" + - "\vdescription\x18\x04 \x01(\tR\vdescription\x12\x1c\n" + - "\tinstalled\x18\x05 \x01(\bR\tinstalled\x12\x18\n" + - "\alicense\x18\x06 \x01(\tR\alicense\x12\x1a\n" + - "\bhomepage\x18\a \x01(\tR\bhomepage\x12\x1f\n" + - "\vnixpkgs_url\x18\b \x01(\tR\n" + - "nixpkgsUrl\"U\n" + - "\x15SearchNixpkgsResponse\x12<\n" + - "\bpackages\x18\x01 \x03(\v2 .stackpanel.agent.NixpkgsPackageR\bpackages\"\x1d\n" + + "\x06stderr\x18\x03 \x01(\tR\x06stderr\"\x1d\n" + "\x1bGetInstalledPackagesRequest\"u\n" + "\x10InstalledPackage\x12\x12\n" + "\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n" + @@ -3900,18 +1456,7 @@ const file_agent_proto_rawDesc = "" + "\tavailable\x18\x01 \x01(\bR\tavailable\x12\x18\n" + "\arunning\x18\x02 \x01(\bR\arunning\x12;\n" + "\tprocesses\x18\x03 \x03(\v2\x1d.stackpanel.agent.ProcessInfoR\tprocesses\x12\x14\n" + - "\x05error\x18\x04 \x01(\tR\x05error\"\x18\n" + - "\x16GetHealthchecksRequest\"\x87\x01\n" + - "\x0fHealthcheckInfo\x12\x12\n" + - "\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n" + - "\x04type\x18\x02 \x01(\tR\x04type\x12\x18\n" + - "\ahealthy\x18\x03 \x01(\bR\ahealthy\x12\x18\n" + - "\amessage\x18\x04 \x01(\tR\amessage\x12\x18\n" + - "\adetails\x18\x05 \x01(\tR\adetails\"r\n" + - "\x14HealthchecksResponse\x12\x1f\n" + - "\vall_healthy\x18\x01 \x01(\bR\n" + - "allHealthy\x129\n" + - "\x06checks\x18\x02 \x03(\v2!.stackpanel.agent.HealthcheckInfoR\x06checks\"\x88\x01\n" + + "\x05error\x18\x04 \x01(\tR\x05error\"\x88\x01\n" + "\x13PatchNixDataRequest\x12\x16\n" + "\x06entity\x18\x01 \x01(\tR\x06entity\x12\x10\n" + "\x03key\x18\x02 \x01(\tR\x03key\x12\x12\n" + @@ -3924,8 +1469,7 @@ const file_agent_proto_rawDesc = "" + "\fupdated_json\x18\x02 \x01(\tR\vupdatedJson\x12\x14\n" + "\x05error\x18\x03 \x01(\tR\x05error\"/\n" + "\x13GetNixConfigRequest\x12\x18\n" + - "\arefresh\x18\x01 \x01(\bR\arefresh\"\x19\n" + - "\x17RefreshNixConfigRequest\"\x87\x01\n" + + "\arefresh\x18\x01 \x01(\bR\arefresh\"\x87\x01\n" + "\x11NixConfigResponse\x12\x1f\n" + "\vconfig_json\x18\x01 \x01(\tR\n" + "configJson\x12!\n" + @@ -3949,58 +1493,21 @@ const file_agent_proto_rawDesc = "" + "\x06output\x18\x02 \x01(\tR\x06output\x12\x1b\n" + "\texit_code\x18\x03 \x01(\x05R\bexitCode\x12\x14\n" + "\x05error\x18\x04 \x01(\tR\x05error\x12\x1c\n" + - "\ttimestamp\x18\x05 \x01(\tR\ttimestamp2\xd1\x1f\n" + + "\ttimestamp\x18\x05 \x01(\tR\ttimestamp2\xf9\b\n" + "\fAgentService\x12W\n" + "\n" + - "GetProject\x12#.stackpanel.agent.GetProjectRequest\x1a$.stackpanel.agent.GetProjectResponse\x12F\n" + - "\tGetConfig\x12\".stackpanel.agent.GetConfigRequest\x1a\x15.stackpanel.db.Config\x129\n" + - "\tSetConfig\x12\x15.stackpanel.db.Config\x1a\x15.stackpanel.db.Config\x12I\n" + - "\n" + - "GetSecrets\x12#.stackpanel.agent.GetSecretsRequest\x1a\x16.stackpanel.db.Secrets\x12<\n" + - "\n" + - "SetSecrets\x12\x16.stackpanel.db.Secrets\x1a\x16.stackpanel.db.Secrets\x12C\n" + - "\bGetUsers\x12!.stackpanel.agent.GetUsersRequest\x1a\x14.stackpanel.db.Users\x126\n" + - "\bSetUsers\x12\x14.stackpanel.db.Users\x1a\x14.stackpanel.db.Users\x12=\n" + - "\x06GetAws\x12\x1f.stackpanel.agent.GetAwsRequest\x1a\x12.stackpanel.db.Aws\x120\n" + - "\x06SetAws\x12\x12.stackpanel.db.Aws\x1a\x12.stackpanel.db.Aws\x12@\n" + - "\aGetApps\x12 .stackpanel.agent.GetAppsRequest\x1a\x13.stackpanel.db.Apps\x123\n" + - "\aSetApps\x12\x13.stackpanel.db.Apps\x1a\x13.stackpanel.db.Apps\x12O\n" + - "\fGetVariables\x12%.stackpanel.agent.GetVariablesRequest\x1a\x18.stackpanel.db.Variables\x12B\n" + - "\fSetVariables\x12\x18.stackpanel.db.Variables\x1a\x18.stackpanel.db.Variables\x12I\n" + + "GetProject\x12#.stackpanel.agent.GetProjectRequest\x1a$.stackpanel.agent.GetProjectResponse\x12I\n" + "\n" + - "GetModules\x12#.stackpanel.agent.GetModulesRequest\x1a\x16.stackpanel.db.Modules\x12F\n" + - "\tGetModule\x12\".stackpanel.agent.GetModuleRequest\x1a\x15.stackpanel.db.Module\x12X\n" + - "\x10GetModuleOutputs\x12&.stackpanel.db.GetModuleOutputsRequest\x1a\x1c.stackpanel.db.ModuleOutputs\x12Q\n" + - "\fEnableModule\x12\".stackpanel.db.EnableModuleRequest\x1a\x1d.stackpanel.db.ModuleResponse\x12S\n" + - "\rDisableModule\x12#.stackpanel.db.DisableModuleRequest\x1a\x1d.stackpanel.db.ModuleResponse\x12a\n" + - "\x14UpdateModuleSettings\x12*.stackpanel.db.UpdateModuleSettingsRequest\x1a\x1d.stackpanel.db.ModuleResponse\x12`\n" + - "\x0eGetAgeIdentity\x12'.stackpanel.agent.GetAgeIdentityRequest\x1a%.stackpanel.agent.AgeIdentityResponse\x12`\n" + - "\x0eSetAgeIdentity\x12'.stackpanel.agent.SetAgeIdentityRequest\x1a%.stackpanel.agent.AgeIdentityResponse\x12Z\n" + - "\fGetKMSConfig\x12%.stackpanel.agent.GetKMSConfigRequest\x1a#.stackpanel.agent.KMSConfigResponse\x12Z\n" + - "\fSetKMSConfig\x12%.stackpanel.agent.SetKMSConfigRequest\x1a#.stackpanel.agent.KMSConfigResponse\x12Q\n" + - "\bReadFile\x12!.stackpanel.agent.ReadFileRequest\x1a\".stackpanel.agent.ReadFileResponse\x12T\n" + - "\tWriteFile\x12\".stackpanel.agent.WriteFileRequest\x1a#.stackpanel.agent.WriteFileResponse\x12T\n" + - "\tListFiles\x12\".stackpanel.agent.ListFilesRequest\x1a#.stackpanel.agent.ListFilesResponse\x12E\n" + - "\x04Exec\x12\x1d.stackpanel.agent.ExecRequest\x1a\x1e.stackpanel.agent.ExecResponse\x12Z\n" + - "\vNixGenerate\x12$.stackpanel.agent.NixGenerateRequest\x1a%.stackpanel.agent.NixGenerateResponse\x12N\n" + - "\aNixEval\x12 .stackpanel.agent.NixEvalRequest\x1a!.stackpanel.agent.NixEvalResponse\x12l\n" + - "\x11GetServicesStatus\x12*.stackpanel.agent.GetServicesStatusRequest\x1a+.stackpanel.agent.GetServicesStatusResponse\x12S\n" + - "\fStartService\x12 .stackpanel.agent.ServiceRequest\x1a!.stackpanel.agent.ServiceResponse\x12R\n" + - "\vStopService\x12 .stackpanel.agent.ServiceRequest\x1a!.stackpanel.agent.ServiceResponse\x12U\n" + - "\x0eRestartService\x12 .stackpanel.agent.ServiceRequest\x1a!.stackpanel.agent.ServiceResponse\x12Z\n" + - "\fGetSSTStatus\x12%.stackpanel.agent.GetSSTStatusRequest\x1a#.stackpanel.agent.SSTStatusResponse\x12I\n" + - "\fGetSSTConfig\x12%.stackpanel.agent.GetSSTConfigRequest\x1a\x12.stackpanel.db.Sst\x12T\n" + - "\tDeploySST\x12\".stackpanel.agent.DeploySSTRequest\x1a#.stackpanel.agent.DeploySSTResponse\x12T\n" + - "\tRemoveSST\x12\".stackpanel.agent.RemoveSSTRequest\x1a#.stackpanel.agent.RemoveSSTResponse\x12]\n" + - "\rGetSSTOutputs\x12&.stackpanel.agent.GetSSTOutputsRequest\x1a$.stackpanel.agent.SSTOutputsResponse\x12c\n" + - "\x0fGetSSTResources\x12(.stackpanel.agent.GetSSTResourcesRequest\x1a&.stackpanel.agent.SSTResourcesResponse\x12`\n" + - "\rSearchNixpkgs\x12&.stackpanel.agent.SearchNixpkgsRequest\x1a'.stackpanel.agent.SearchNixpkgsResponse\x12r\n" + + "GetSecrets\x12#.stackpanel.agent.GetSecretsRequest\x1a\x16.stackpanel.db.Secrets\x12C\n" + + "\bGetUsers\x12!.stackpanel.agent.GetUsersRequest\x1a\x14.stackpanel.db.Users\x12@\n" + + "\aGetApps\x12 .stackpanel.agent.GetAppsRequest\x1a\x13.stackpanel.db.Apps\x12O\n" + + "\fGetVariables\x12%.stackpanel.agent.GetVariablesRequest\x1a\x18.stackpanel.db.Variables\x12X\n" + + "\x10GetModuleOutputs\x12&.stackpanel.db.GetModuleOutputsRequest\x1a\x1c.stackpanel.db.ModuleOutputs\x12E\n" + + "\x04Exec\x12\x1d.stackpanel.agent.ExecRequest\x1a\x1e.stackpanel.agent.ExecResponse\x12r\n" + "\x14GetInstalledPackages\x12-.stackpanel.agent.GetInstalledPackagesRequest\x1a+.stackpanel.agent.InstalledPackagesResponse\x12]\n" + - "\fGetProcesses\x12%.stackpanel.agent.GetProcessesRequest\x1a&.stackpanel.agent.GetProcessesResponse\x12c\n" + - "\x0fGetHealthchecks\x12(.stackpanel.agent.GetHealthchecksRequest\x1a&.stackpanel.agent.HealthchecksResponse\x12]\n" + + "\fGetProcesses\x12%.stackpanel.agent.GetProcessesRequest\x1a&.stackpanel.agent.GetProcessesResponse\x12]\n" + "\fPatchNixData\x12%.stackpanel.agent.PatchNixDataRequest\x1a&.stackpanel.agent.PatchNixDataResponse\x12Z\n" + - "\fGetNixConfig\x12%.stackpanel.agent.GetNixConfigRequest\x1a#.stackpanel.agent.NixConfigResponse\x12b\n" + - "\x10RefreshNixConfig\x12).stackpanel.agent.RefreshNixConfigRequest\x1a#.stackpanel.agent.NixConfigResponse\x12`\n" + + "\fGetNixConfig\x12%.stackpanel.agent.GetNixConfigRequest\x1a#.stackpanel.agent.NixConfigResponse\x12`\n" + "\x0eGetShellStatus\x12'.stackpanel.agent.GetShellStatusRequest\x1a%.stackpanel.agent.ShellStatusResponse\x12\\\n" + "\fRebuildShell\x12%.stackpanel.agent.RebuildShellRequest\x1a#.stackpanel.agent.RebuildShellEvent0\x01B:Z8github.com/darkmatter/stackpanel/packages/proto/gen/gopbb\x06proto3" @@ -4017,213 +1524,79 @@ func file_agent_proto_rawDescGZIP() []byte { } var ( - file_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 73) + file_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 25) file_agent_proto_goTypes = []any{ (*GetProjectRequest)(nil), // 0: stackpanel.agent.GetProjectRequest (*GetProjectResponse)(nil), // 1: stackpanel.agent.GetProjectResponse (*Project)(nil), // 2: stackpanel.agent.Project (*Directories)(nil), // 3: stackpanel.agent.Directories - (*GetConfigRequest)(nil), // 4: stackpanel.agent.GetConfigRequest - (*GetSecretsRequest)(nil), // 5: stackpanel.agent.GetSecretsRequest - (*GetUsersRequest)(nil), // 6: stackpanel.agent.GetUsersRequest - (*GetAwsRequest)(nil), // 7: stackpanel.agent.GetAwsRequest - (*GetAppsRequest)(nil), // 8: stackpanel.agent.GetAppsRequest - (*GetVariablesRequest)(nil), // 9: stackpanel.agent.GetVariablesRequest - (*GetSstRequest)(nil), // 10: stackpanel.agent.GetSstRequest - (*GetModulesRequest)(nil), // 11: stackpanel.agent.GetModulesRequest - (*GetModuleRequest)(nil), // 12: stackpanel.agent.GetModuleRequest - (*GetAgeIdentityRequest)(nil), // 13: stackpanel.agent.GetAgeIdentityRequest - (*SetAgeIdentityRequest)(nil), // 14: stackpanel.agent.SetAgeIdentityRequest - (*AgeIdentityResponse)(nil), // 15: stackpanel.agent.AgeIdentityResponse - (*GetKMSConfigRequest)(nil), // 16: stackpanel.agent.GetKMSConfigRequest - (*SetKMSConfigRequest)(nil), // 17: stackpanel.agent.SetKMSConfigRequest - (*KMSConfigResponse)(nil), // 18: stackpanel.agent.KMSConfigResponse - (*ReadFileRequest)(nil), // 19: stackpanel.agent.ReadFileRequest - (*ReadFileResponse)(nil), // 20: stackpanel.agent.ReadFileResponse - (*WriteFileRequest)(nil), // 21: stackpanel.agent.WriteFileRequest - (*WriteFileResponse)(nil), // 22: stackpanel.agent.WriteFileResponse - (*ListFilesRequest)(nil), // 23: stackpanel.agent.ListFilesRequest - (*ListFilesResponse)(nil), // 24: stackpanel.agent.ListFilesResponse - (*FileInfo)(nil), // 25: stackpanel.agent.FileInfo - (*ExecRequest)(nil), // 26: stackpanel.agent.ExecRequest - (*ExecResponse)(nil), // 27: stackpanel.agent.ExecResponse - (*NixGenerateRequest)(nil), // 28: stackpanel.agent.NixGenerateRequest - (*NixGenerateResponse)(nil), // 29: stackpanel.agent.NixGenerateResponse - (*NixEvalRequest)(nil), // 30: stackpanel.agent.NixEvalRequest - (*NixEvalResponse)(nil), // 31: stackpanel.agent.NixEvalResponse - (*GetServicesStatusRequest)(nil), // 32: stackpanel.agent.GetServicesStatusRequest - (*GetServicesStatusResponse)(nil), // 33: stackpanel.agent.GetServicesStatusResponse - (*ServiceStatus)(nil), // 34: stackpanel.agent.ServiceStatus - (*ServiceRequest)(nil), // 35: stackpanel.agent.ServiceRequest - (*ServiceResponse)(nil), // 36: stackpanel.agent.ServiceResponse - (*GetSSTStatusRequest)(nil), // 37: stackpanel.agent.GetSSTStatusRequest - (*SSTStatusResponse)(nil), // 38: stackpanel.agent.SSTStatusResponse - (*GetSSTConfigRequest)(nil), // 39: stackpanel.agent.GetSSTConfigRequest - (*DeploySSTRequest)(nil), // 40: stackpanel.agent.DeploySSTRequest - (*DeploySSTResponse)(nil), // 41: stackpanel.agent.DeploySSTResponse - (*RemoveSSTRequest)(nil), // 42: stackpanel.agent.RemoveSSTRequest - (*RemoveSSTResponse)(nil), // 43: stackpanel.agent.RemoveSSTResponse - (*GetSSTOutputsRequest)(nil), // 44: stackpanel.agent.GetSSTOutputsRequest - (*SSTOutputsResponse)(nil), // 45: stackpanel.agent.SSTOutputsResponse - (*GetSSTResourcesRequest)(nil), // 46: stackpanel.agent.GetSSTResourcesRequest - (*SSTResource)(nil), // 47: stackpanel.agent.SSTResource - (*SSTResourcesResponse)(nil), // 48: stackpanel.agent.SSTResourcesResponse - (*SearchNixpkgsRequest)(nil), // 49: stackpanel.agent.SearchNixpkgsRequest - (*NixpkgsPackage)(nil), // 50: stackpanel.agent.NixpkgsPackage - (*SearchNixpkgsResponse)(nil), // 51: stackpanel.agent.SearchNixpkgsResponse - (*GetInstalledPackagesRequest)(nil), // 52: stackpanel.agent.GetInstalledPackagesRequest - (*InstalledPackage)(nil), // 53: stackpanel.agent.InstalledPackage - (*InstalledPackagesResponse)(nil), // 54: stackpanel.agent.InstalledPackagesResponse - (*GetProcessesRequest)(nil), // 55: stackpanel.agent.GetProcessesRequest - (*ProcessInfo)(nil), // 56: stackpanel.agent.ProcessInfo - (*GetProcessesResponse)(nil), // 57: stackpanel.agent.GetProcessesResponse - (*GetHealthchecksRequest)(nil), // 58: stackpanel.agent.GetHealthchecksRequest - (*HealthcheckInfo)(nil), // 59: stackpanel.agent.HealthcheckInfo - (*HealthchecksResponse)(nil), // 60: stackpanel.agent.HealthchecksResponse - (*PatchNixDataRequest)(nil), // 61: stackpanel.agent.PatchNixDataRequest - (*PatchNixDataResponse)(nil), // 62: stackpanel.agent.PatchNixDataResponse - (*GetNixConfigRequest)(nil), // 63: stackpanel.agent.GetNixConfigRequest - (*RefreshNixConfigRequest)(nil), // 64: stackpanel.agent.RefreshNixConfigRequest - (*NixConfigResponse)(nil), // 65: stackpanel.agent.NixConfigResponse - (*GetShellStatusRequest)(nil), // 66: stackpanel.agent.GetShellStatusRequest - (*ShellStatusResponse)(nil), // 67: stackpanel.agent.ShellStatusResponse - (*RebuildShellRequest)(nil), // 68: stackpanel.agent.RebuildShellRequest - (*RebuildShellEvent)(nil), // 69: stackpanel.agent.RebuildShellEvent - nil, // 70: stackpanel.agent.ExecRequest.EnvEntry - nil, // 71: stackpanel.agent.DeploySSTResponse.OutputsEntry - nil, // 72: stackpanel.agent.SSTOutputsResponse.OutputsEntry - (*Config)(nil), // 73: stackpanel.db.Config - (*Secrets)(nil), // 74: stackpanel.db.Secrets - (*Users)(nil), // 75: stackpanel.db.Users - (*Aws)(nil), // 76: stackpanel.db.Aws - (*Apps)(nil), // 77: stackpanel.db.Apps - (*Variables)(nil), // 78: stackpanel.db.Variables - (*GetModuleOutputsRequest)(nil), // 79: stackpanel.db.GetModuleOutputsRequest - (*EnableModuleRequest)(nil), // 80: stackpanel.db.EnableModuleRequest - (*DisableModuleRequest)(nil), // 81: stackpanel.db.DisableModuleRequest - (*UpdateModuleSettingsRequest)(nil), // 82: stackpanel.db.UpdateModuleSettingsRequest - (*Modules)(nil), // 83: stackpanel.db.Modules - (*Module)(nil), // 84: stackpanel.db.Module - (*ModuleOutputs)(nil), // 85: stackpanel.db.ModuleOutputs - (*ModuleResponse)(nil), // 86: stackpanel.db.ModuleResponse - (*Sst)(nil), // 87: stackpanel.db.Sst + (*GetSecretsRequest)(nil), // 4: stackpanel.agent.GetSecretsRequest + (*GetUsersRequest)(nil), // 5: stackpanel.agent.GetUsersRequest + (*GetAppsRequest)(nil), // 6: stackpanel.agent.GetAppsRequest + (*GetVariablesRequest)(nil), // 7: stackpanel.agent.GetVariablesRequest + (*ExecRequest)(nil), // 8: stackpanel.agent.ExecRequest + (*ExecResponse)(nil), // 9: stackpanel.agent.ExecResponse + (*GetInstalledPackagesRequest)(nil), // 10: stackpanel.agent.GetInstalledPackagesRequest + (*InstalledPackage)(nil), // 11: stackpanel.agent.InstalledPackage + (*InstalledPackagesResponse)(nil), // 12: stackpanel.agent.InstalledPackagesResponse + (*GetProcessesRequest)(nil), // 13: stackpanel.agent.GetProcessesRequest + (*ProcessInfo)(nil), // 14: stackpanel.agent.ProcessInfo + (*GetProcessesResponse)(nil), // 15: stackpanel.agent.GetProcessesResponse + (*PatchNixDataRequest)(nil), // 16: stackpanel.agent.PatchNixDataRequest + (*PatchNixDataResponse)(nil), // 17: stackpanel.agent.PatchNixDataResponse + (*GetNixConfigRequest)(nil), // 18: stackpanel.agent.GetNixConfigRequest + (*NixConfigResponse)(nil), // 19: stackpanel.agent.NixConfigResponse + (*GetShellStatusRequest)(nil), // 20: stackpanel.agent.GetShellStatusRequest + (*ShellStatusResponse)(nil), // 21: stackpanel.agent.ShellStatusResponse + (*RebuildShellRequest)(nil), // 22: stackpanel.agent.RebuildShellRequest + (*RebuildShellEvent)(nil), // 23: stackpanel.agent.RebuildShellEvent + nil, // 24: stackpanel.agent.ExecRequest.EnvEntry + (*GetModuleOutputsRequest)(nil), // 25: stackpanel.db.GetModuleOutputsRequest + (*Secrets)(nil), // 26: stackpanel.db.Secrets + (*Users)(nil), // 27: stackpanel.db.Users + (*Apps)(nil), // 28: stackpanel.db.Apps + (*Variables)(nil), // 29: stackpanel.db.Variables + (*ModuleOutputs)(nil), // 30: stackpanel.db.ModuleOutputs } ) var file_agent_proto_depIdxs = []int32{ 2, // 0: stackpanel.agent.GetProjectResponse.project:type_name -> stackpanel.agent.Project 3, // 1: stackpanel.agent.Project.dirs:type_name -> stackpanel.agent.Directories - 25, // 2: stackpanel.agent.ListFilesResponse.files:type_name -> stackpanel.agent.FileInfo - 70, // 3: stackpanel.agent.ExecRequest.env:type_name -> stackpanel.agent.ExecRequest.EnvEntry - 34, // 4: stackpanel.agent.GetServicesStatusResponse.services:type_name -> stackpanel.agent.ServiceStatus - 71, // 5: stackpanel.agent.DeploySSTResponse.outputs:type_name -> stackpanel.agent.DeploySSTResponse.OutputsEntry - 72, // 6: stackpanel.agent.SSTOutputsResponse.outputs:type_name -> stackpanel.agent.SSTOutputsResponse.OutputsEntry - 47, // 7: stackpanel.agent.SSTResourcesResponse.resources:type_name -> stackpanel.agent.SSTResource - 50, // 8: stackpanel.agent.SearchNixpkgsResponse.packages:type_name -> stackpanel.agent.NixpkgsPackage - 53, // 9: stackpanel.agent.InstalledPackagesResponse.packages:type_name -> stackpanel.agent.InstalledPackage - 56, // 10: stackpanel.agent.GetProcessesResponse.processes:type_name -> stackpanel.agent.ProcessInfo - 59, // 11: stackpanel.agent.HealthchecksResponse.checks:type_name -> stackpanel.agent.HealthcheckInfo - 0, // 12: stackpanel.agent.AgentService.GetProject:input_type -> stackpanel.agent.GetProjectRequest - 4, // 13: stackpanel.agent.AgentService.GetConfig:input_type -> stackpanel.agent.GetConfigRequest - 73, // 14: stackpanel.agent.AgentService.SetConfig:input_type -> stackpanel.db.Config - 5, // 15: stackpanel.agent.AgentService.GetSecrets:input_type -> stackpanel.agent.GetSecretsRequest - 74, // 16: stackpanel.agent.AgentService.SetSecrets:input_type -> stackpanel.db.Secrets - 6, // 17: stackpanel.agent.AgentService.GetUsers:input_type -> stackpanel.agent.GetUsersRequest - 75, // 18: stackpanel.agent.AgentService.SetUsers:input_type -> stackpanel.db.Users - 7, // 19: stackpanel.agent.AgentService.GetAws:input_type -> stackpanel.agent.GetAwsRequest - 76, // 20: stackpanel.agent.AgentService.SetAws:input_type -> stackpanel.db.Aws - 8, // 21: stackpanel.agent.AgentService.GetApps:input_type -> stackpanel.agent.GetAppsRequest - 77, // 22: stackpanel.agent.AgentService.SetApps:input_type -> stackpanel.db.Apps - 9, // 23: stackpanel.agent.AgentService.GetVariables:input_type -> stackpanel.agent.GetVariablesRequest - 78, // 24: stackpanel.agent.AgentService.SetVariables:input_type -> stackpanel.db.Variables - 11, // 25: stackpanel.agent.AgentService.GetModules:input_type -> stackpanel.agent.GetModulesRequest - 12, // 26: stackpanel.agent.AgentService.GetModule:input_type -> stackpanel.agent.GetModuleRequest - 79, // 27: stackpanel.agent.AgentService.GetModuleOutputs:input_type -> stackpanel.db.GetModuleOutputsRequest - 80, // 28: stackpanel.agent.AgentService.EnableModule:input_type -> stackpanel.db.EnableModuleRequest - 81, // 29: stackpanel.agent.AgentService.DisableModule:input_type -> stackpanel.db.DisableModuleRequest - 82, // 30: stackpanel.agent.AgentService.UpdateModuleSettings:input_type -> stackpanel.db.UpdateModuleSettingsRequest - 13, // 31: stackpanel.agent.AgentService.GetAgeIdentity:input_type -> stackpanel.agent.GetAgeIdentityRequest - 14, // 32: stackpanel.agent.AgentService.SetAgeIdentity:input_type -> stackpanel.agent.SetAgeIdentityRequest - 16, // 33: stackpanel.agent.AgentService.GetKMSConfig:input_type -> stackpanel.agent.GetKMSConfigRequest - 17, // 34: stackpanel.agent.AgentService.SetKMSConfig:input_type -> stackpanel.agent.SetKMSConfigRequest - 19, // 35: stackpanel.agent.AgentService.ReadFile:input_type -> stackpanel.agent.ReadFileRequest - 21, // 36: stackpanel.agent.AgentService.WriteFile:input_type -> stackpanel.agent.WriteFileRequest - 23, // 37: stackpanel.agent.AgentService.ListFiles:input_type -> stackpanel.agent.ListFilesRequest - 26, // 38: stackpanel.agent.AgentService.Exec:input_type -> stackpanel.agent.ExecRequest - 28, // 39: stackpanel.agent.AgentService.NixGenerate:input_type -> stackpanel.agent.NixGenerateRequest - 30, // 40: stackpanel.agent.AgentService.NixEval:input_type -> stackpanel.agent.NixEvalRequest - 32, // 41: stackpanel.agent.AgentService.GetServicesStatus:input_type -> stackpanel.agent.GetServicesStatusRequest - 35, // 42: stackpanel.agent.AgentService.StartService:input_type -> stackpanel.agent.ServiceRequest - 35, // 43: stackpanel.agent.AgentService.StopService:input_type -> stackpanel.agent.ServiceRequest - 35, // 44: stackpanel.agent.AgentService.RestartService:input_type -> stackpanel.agent.ServiceRequest - 37, // 45: stackpanel.agent.AgentService.GetSSTStatus:input_type -> stackpanel.agent.GetSSTStatusRequest - 39, // 46: stackpanel.agent.AgentService.GetSSTConfig:input_type -> stackpanel.agent.GetSSTConfigRequest - 40, // 47: stackpanel.agent.AgentService.DeploySST:input_type -> stackpanel.agent.DeploySSTRequest - 42, // 48: stackpanel.agent.AgentService.RemoveSST:input_type -> stackpanel.agent.RemoveSSTRequest - 44, // 49: stackpanel.agent.AgentService.GetSSTOutputs:input_type -> stackpanel.agent.GetSSTOutputsRequest - 46, // 50: stackpanel.agent.AgentService.GetSSTResources:input_type -> stackpanel.agent.GetSSTResourcesRequest - 49, // 51: stackpanel.agent.AgentService.SearchNixpkgs:input_type -> stackpanel.agent.SearchNixpkgsRequest - 52, // 52: stackpanel.agent.AgentService.GetInstalledPackages:input_type -> stackpanel.agent.GetInstalledPackagesRequest - 55, // 53: stackpanel.agent.AgentService.GetProcesses:input_type -> stackpanel.agent.GetProcessesRequest - 58, // 54: stackpanel.agent.AgentService.GetHealthchecks:input_type -> stackpanel.agent.GetHealthchecksRequest - 61, // 55: stackpanel.agent.AgentService.PatchNixData:input_type -> stackpanel.agent.PatchNixDataRequest - 63, // 56: stackpanel.agent.AgentService.GetNixConfig:input_type -> stackpanel.agent.GetNixConfigRequest - 64, // 57: stackpanel.agent.AgentService.RefreshNixConfig:input_type -> stackpanel.agent.RefreshNixConfigRequest - 66, // 58: stackpanel.agent.AgentService.GetShellStatus:input_type -> stackpanel.agent.GetShellStatusRequest - 68, // 59: stackpanel.agent.AgentService.RebuildShell:input_type -> stackpanel.agent.RebuildShellRequest - 1, // 60: stackpanel.agent.AgentService.GetProject:output_type -> stackpanel.agent.GetProjectResponse - 73, // 61: stackpanel.agent.AgentService.GetConfig:output_type -> stackpanel.db.Config - 73, // 62: stackpanel.agent.AgentService.SetConfig:output_type -> stackpanel.db.Config - 74, // 63: stackpanel.agent.AgentService.GetSecrets:output_type -> stackpanel.db.Secrets - 74, // 64: stackpanel.agent.AgentService.SetSecrets:output_type -> stackpanel.db.Secrets - 75, // 65: stackpanel.agent.AgentService.GetUsers:output_type -> stackpanel.db.Users - 75, // 66: stackpanel.agent.AgentService.SetUsers:output_type -> stackpanel.db.Users - 76, // 67: stackpanel.agent.AgentService.GetAws:output_type -> stackpanel.db.Aws - 76, // 68: stackpanel.agent.AgentService.SetAws:output_type -> stackpanel.db.Aws - 77, // 69: stackpanel.agent.AgentService.GetApps:output_type -> stackpanel.db.Apps - 77, // 70: stackpanel.agent.AgentService.SetApps:output_type -> stackpanel.db.Apps - 78, // 71: stackpanel.agent.AgentService.GetVariables:output_type -> stackpanel.db.Variables - 78, // 72: stackpanel.agent.AgentService.SetVariables:output_type -> stackpanel.db.Variables - 83, // 73: stackpanel.agent.AgentService.GetModules:output_type -> stackpanel.db.Modules - 84, // 74: stackpanel.agent.AgentService.GetModule:output_type -> stackpanel.db.Module - 85, // 75: stackpanel.agent.AgentService.GetModuleOutputs:output_type -> stackpanel.db.ModuleOutputs - 86, // 76: stackpanel.agent.AgentService.EnableModule:output_type -> stackpanel.db.ModuleResponse - 86, // 77: stackpanel.agent.AgentService.DisableModule:output_type -> stackpanel.db.ModuleResponse - 86, // 78: stackpanel.agent.AgentService.UpdateModuleSettings:output_type -> stackpanel.db.ModuleResponse - 15, // 79: stackpanel.agent.AgentService.GetAgeIdentity:output_type -> stackpanel.agent.AgeIdentityResponse - 15, // 80: stackpanel.agent.AgentService.SetAgeIdentity:output_type -> stackpanel.agent.AgeIdentityResponse - 18, // 81: stackpanel.agent.AgentService.GetKMSConfig:output_type -> stackpanel.agent.KMSConfigResponse - 18, // 82: stackpanel.agent.AgentService.SetKMSConfig:output_type -> stackpanel.agent.KMSConfigResponse - 20, // 83: stackpanel.agent.AgentService.ReadFile:output_type -> stackpanel.agent.ReadFileResponse - 22, // 84: stackpanel.agent.AgentService.WriteFile:output_type -> stackpanel.agent.WriteFileResponse - 24, // 85: stackpanel.agent.AgentService.ListFiles:output_type -> stackpanel.agent.ListFilesResponse - 27, // 86: stackpanel.agent.AgentService.Exec:output_type -> stackpanel.agent.ExecResponse - 29, // 87: stackpanel.agent.AgentService.NixGenerate:output_type -> stackpanel.agent.NixGenerateResponse - 31, // 88: stackpanel.agent.AgentService.NixEval:output_type -> stackpanel.agent.NixEvalResponse - 33, // 89: stackpanel.agent.AgentService.GetServicesStatus:output_type -> stackpanel.agent.GetServicesStatusResponse - 36, // 90: stackpanel.agent.AgentService.StartService:output_type -> stackpanel.agent.ServiceResponse - 36, // 91: stackpanel.agent.AgentService.StopService:output_type -> stackpanel.agent.ServiceResponse - 36, // 92: stackpanel.agent.AgentService.RestartService:output_type -> stackpanel.agent.ServiceResponse - 38, // 93: stackpanel.agent.AgentService.GetSSTStatus:output_type -> stackpanel.agent.SSTStatusResponse - 87, // 94: stackpanel.agent.AgentService.GetSSTConfig:output_type -> stackpanel.db.Sst - 41, // 95: stackpanel.agent.AgentService.DeploySST:output_type -> stackpanel.agent.DeploySSTResponse - 43, // 96: stackpanel.agent.AgentService.RemoveSST:output_type -> stackpanel.agent.RemoveSSTResponse - 45, // 97: stackpanel.agent.AgentService.GetSSTOutputs:output_type -> stackpanel.agent.SSTOutputsResponse - 48, // 98: stackpanel.agent.AgentService.GetSSTResources:output_type -> stackpanel.agent.SSTResourcesResponse - 51, // 99: stackpanel.agent.AgentService.SearchNixpkgs:output_type -> stackpanel.agent.SearchNixpkgsResponse - 54, // 100: stackpanel.agent.AgentService.GetInstalledPackages:output_type -> stackpanel.agent.InstalledPackagesResponse - 57, // 101: stackpanel.agent.AgentService.GetProcesses:output_type -> stackpanel.agent.GetProcessesResponse - 60, // 102: stackpanel.agent.AgentService.GetHealthchecks:output_type -> stackpanel.agent.HealthchecksResponse - 62, // 103: stackpanel.agent.AgentService.PatchNixData:output_type -> stackpanel.agent.PatchNixDataResponse - 65, // 104: stackpanel.agent.AgentService.GetNixConfig:output_type -> stackpanel.agent.NixConfigResponse - 65, // 105: stackpanel.agent.AgentService.RefreshNixConfig:output_type -> stackpanel.agent.NixConfigResponse - 67, // 106: stackpanel.agent.AgentService.GetShellStatus:output_type -> stackpanel.agent.ShellStatusResponse - 69, // 107: stackpanel.agent.AgentService.RebuildShell:output_type -> stackpanel.agent.RebuildShellEvent - 60, // [60:108] is the sub-list for method output_type - 12, // [12:60] is the sub-list for method input_type - 12, // [12:12] is the sub-list for extension type_name - 12, // [12:12] is the sub-list for extension extendee - 0, // [0:12] is the sub-list for field type_name + 24, // 2: stackpanel.agent.ExecRequest.env:type_name -> stackpanel.agent.ExecRequest.EnvEntry + 11, // 3: stackpanel.agent.InstalledPackagesResponse.packages:type_name -> stackpanel.agent.InstalledPackage + 14, // 4: stackpanel.agent.GetProcessesResponse.processes:type_name -> stackpanel.agent.ProcessInfo + 0, // 5: stackpanel.agent.AgentService.GetProject:input_type -> stackpanel.agent.GetProjectRequest + 4, // 6: stackpanel.agent.AgentService.GetSecrets:input_type -> stackpanel.agent.GetSecretsRequest + 5, // 7: stackpanel.agent.AgentService.GetUsers:input_type -> stackpanel.agent.GetUsersRequest + 6, // 8: stackpanel.agent.AgentService.GetApps:input_type -> stackpanel.agent.GetAppsRequest + 7, // 9: stackpanel.agent.AgentService.GetVariables:input_type -> stackpanel.agent.GetVariablesRequest + 25, // 10: stackpanel.agent.AgentService.GetModuleOutputs:input_type -> stackpanel.db.GetModuleOutputsRequest + 8, // 11: stackpanel.agent.AgentService.Exec:input_type -> stackpanel.agent.ExecRequest + 10, // 12: stackpanel.agent.AgentService.GetInstalledPackages:input_type -> stackpanel.agent.GetInstalledPackagesRequest + 13, // 13: stackpanel.agent.AgentService.GetProcesses:input_type -> stackpanel.agent.GetProcessesRequest + 16, // 14: stackpanel.agent.AgentService.PatchNixData:input_type -> stackpanel.agent.PatchNixDataRequest + 18, // 15: stackpanel.agent.AgentService.GetNixConfig:input_type -> stackpanel.agent.GetNixConfigRequest + 20, // 16: stackpanel.agent.AgentService.GetShellStatus:input_type -> stackpanel.agent.GetShellStatusRequest + 22, // 17: stackpanel.agent.AgentService.RebuildShell:input_type -> stackpanel.agent.RebuildShellRequest + 1, // 18: stackpanel.agent.AgentService.GetProject:output_type -> stackpanel.agent.GetProjectResponse + 26, // 19: stackpanel.agent.AgentService.GetSecrets:output_type -> stackpanel.db.Secrets + 27, // 20: stackpanel.agent.AgentService.GetUsers:output_type -> stackpanel.db.Users + 28, // 21: stackpanel.agent.AgentService.GetApps:output_type -> stackpanel.db.Apps + 29, // 22: stackpanel.agent.AgentService.GetVariables:output_type -> stackpanel.db.Variables + 30, // 23: stackpanel.agent.AgentService.GetModuleOutputs:output_type -> stackpanel.db.ModuleOutputs + 9, // 24: stackpanel.agent.AgentService.Exec:output_type -> stackpanel.agent.ExecResponse + 12, // 25: stackpanel.agent.AgentService.GetInstalledPackages:output_type -> stackpanel.agent.InstalledPackagesResponse + 15, // 26: stackpanel.agent.AgentService.GetProcesses:output_type -> stackpanel.agent.GetProcessesResponse + 17, // 27: stackpanel.agent.AgentService.PatchNixData:output_type -> stackpanel.agent.PatchNixDataResponse + 19, // 28: stackpanel.agent.AgentService.GetNixConfig:output_type -> stackpanel.agent.NixConfigResponse + 21, // 29: stackpanel.agent.AgentService.GetShellStatus:output_type -> stackpanel.agent.ShellStatusResponse + 23, // 30: stackpanel.agent.AgentService.RebuildShell:output_type -> stackpanel.agent.RebuildShellEvent + 18, // [18:31] is the sub-list for method output_type + 5, // [5:18] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name } func init() { file_agent_proto_init() } @@ -4231,15 +1604,12 @@ func file_agent_proto_init() { if File_agent_proto != nil { return } - file_config_proto_init() file_secrets_proto_init() file_users_proto_init() - file_aws_proto_init() file_files_proto_init() file_services_proto_init() file_apps_proto_init() file_variables_proto_init() - file_sst_proto_init() file_modules_proto_init() type x struct{} out := protoimpl.TypeBuilder{ @@ -4247,7 +1617,7 @@ func file_agent_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_agent_proto_rawDesc), len(file_agent_proto_rawDesc)), NumEnums: 0, - NumMessages: 73, + NumMessages: 25, NumExtensions: 0, NumServices: 1, }, diff --git a/packages/proto/gen/gopb/app_build.pb.go b/packages/proto/gen/gopb/app_build.pb.go index ca39c4e7..312c5935 100644 --- a/packages/proto/gen/gopb/app_build.pb.go +++ b/packages/proto/gen/gopb/app_build.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.11 +// protoc-gen-go v1.36.12 // protoc (unknown) // source: app_build.proto diff --git a/packages/proto/gen/gopb/apps.pb.go b/packages/proto/gen/gopb/apps.pb.go index 97f01c97..bb730587 100644 --- a/packages/proto/gen/gopb/apps.pb.go +++ b/packages/proto/gen/gopb/apps.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.11 +// protoc-gen-go v1.36.12 // protoc (unknown) // source: apps.proto diff --git a/packages/proto/gen/gopb/aws.pb.go b/packages/proto/gen/gopb/aws.pb.go index 96615e8d..8cc420b3 100644 --- a/packages/proto/gen/gopb/aws.pb.go +++ b/packages/proto/gen/gopb/aws.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.11 +// protoc-gen-go v1.36.12 // protoc (unknown) // source: aws.proto diff --git a/packages/proto/gen/gopb/bun_app.pb.go b/packages/proto/gen/gopb/bun_app.pb.go index 2c515eeb..3174533e 100644 --- a/packages/proto/gen/gopb/bun_app.pb.go +++ b/packages/proto/gen/gopb/bun_app.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.11 +// protoc-gen-go v1.36.12 // protoc (unknown) // source: bun_app.proto diff --git a/packages/proto/gen/gopb/commands.pb.go b/packages/proto/gen/gopb/commands.pb.go index 34966ee6..fd1c3814 100644 --- a/packages/proto/gen/gopb/commands.pb.go +++ b/packages/proto/gen/gopb/commands.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.11 +// protoc-gen-go v1.36.12 // protoc (unknown) // source: commands.proto diff --git a/packages/proto/gen/gopb/config.pb.go b/packages/proto/gen/gopb/config.pb.go index cc23a8d5..0c97c6ee 100644 --- a/packages/proto/gen/gopb/config.pb.go +++ b/packages/proto/gen/gopb/config.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.11 +// protoc-gen-go v1.36.12 // protoc (unknown) // source: config.proto diff --git a/packages/proto/gen/gopb/databases.pb.go b/packages/proto/gen/gopb/databases.pb.go index 569ac90f..e2c32e48 100644 --- a/packages/proto/gen/gopb/databases.pb.go +++ b/packages/proto/gen/gopb/databases.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.11 +// protoc-gen-go v1.36.12 // protoc (unknown) // source: databases.proto diff --git a/packages/proto/gen/gopb/deployment.pb.go b/packages/proto/gen/gopb/deployment.pb.go index 6311e0b0..892b79fa 100644 --- a/packages/proto/gen/gopb/deployment.pb.go +++ b/packages/proto/gen/gopb/deployment.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.11 +// protoc-gen-go v1.36.12 // protoc (unknown) // source: deployment.proto diff --git a/packages/proto/gen/gopb/dns.pb.go b/packages/proto/gen/gopb/dns.pb.go index 404a1882..4ebd04a0 100644 --- a/packages/proto/gen/gopb/dns.pb.go +++ b/packages/proto/gen/gopb/dns.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.11 +// protoc-gen-go v1.36.12 // protoc (unknown) // source: dns.proto diff --git a/packages/proto/gen/gopb/extensions.pb.go b/packages/proto/gen/gopb/extensions.pb.go index b8e09beb..bc4af6a3 100644 --- a/packages/proto/gen/gopb/extensions.pb.go +++ b/packages/proto/gen/gopb/extensions.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.11 +// protoc-gen-go v1.36.12 // protoc (unknown) // source: extensions.proto diff --git a/packages/proto/gen/gopb/files.pb.go b/packages/proto/gen/gopb/files.pb.go index 03bd0142..13d52669 100644 --- a/packages/proto/gen/gopb/files.pb.go +++ b/packages/proto/gen/gopb/files.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.11 +// protoc-gen-go v1.36.12 // protoc (unknown) // source: files.proto diff --git a/packages/proto/gen/gopb/github_collaborators.pb.go b/packages/proto/gen/gopb/github_collaborators.pb.go index e335b760..8c4ecc13 100644 --- a/packages/proto/gen/gopb/github_collaborators.pb.go +++ b/packages/proto/gen/gopb/github_collaborators.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.11 +// protoc-gen-go v1.36.12 // protoc (unknown) // source: github_collaborators.proto diff --git a/packages/proto/gen/gopb/go_app.pb.go b/packages/proto/gen/gopb/go_app.pb.go index fff21493..56403623 100644 --- a/packages/proto/gen/gopb/go_app.pb.go +++ b/packages/proto/gen/gopb/go_app.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.11 +// protoc-gen-go v1.36.12 // protoc (unknown) // source: go_app.proto diff --git a/packages/proto/gen/gopb/gopbconnect/agent.connect.go b/packages/proto/gen/gopb/gopbconnect/agent.connect.go index dfd9e8b0..09d61f6b 100644 --- a/packages/proto/gen/gopb/gopbconnect/agent.connect.go +++ b/packages/proto/gen/gopb/gopbconnect/agent.connect.go @@ -11,7 +11,6 @@ import ( strings "strings" connect "connectrpc.com/connect" - gopb "github.com/darkmatter/stackpanel/packages/proto/gen/gopb" ) @@ -37,122 +36,32 @@ const ( const ( // AgentServiceGetProjectProcedure is the fully-qualified name of the AgentService's GetProject RPC. AgentServiceGetProjectProcedure = "/stackpanel.agent.AgentService/GetProject" - // AgentServiceGetConfigProcedure is the fully-qualified name of the AgentService's GetConfig RPC. - AgentServiceGetConfigProcedure = "/stackpanel.agent.AgentService/GetConfig" - // AgentServiceSetConfigProcedure is the fully-qualified name of the AgentService's SetConfig RPC. - AgentServiceSetConfigProcedure = "/stackpanel.agent.AgentService/SetConfig" // AgentServiceGetSecretsProcedure is the fully-qualified name of the AgentService's GetSecrets RPC. AgentServiceGetSecretsProcedure = "/stackpanel.agent.AgentService/GetSecrets" - // AgentServiceSetSecretsProcedure is the fully-qualified name of the AgentService's SetSecrets RPC. - AgentServiceSetSecretsProcedure = "/stackpanel.agent.AgentService/SetSecrets" // AgentServiceGetUsersProcedure is the fully-qualified name of the AgentService's GetUsers RPC. AgentServiceGetUsersProcedure = "/stackpanel.agent.AgentService/GetUsers" - // AgentServiceSetUsersProcedure is the fully-qualified name of the AgentService's SetUsers RPC. - AgentServiceSetUsersProcedure = "/stackpanel.agent.AgentService/SetUsers" - // AgentServiceGetAwsProcedure is the fully-qualified name of the AgentService's GetAws RPC. - AgentServiceGetAwsProcedure = "/stackpanel.agent.AgentService/GetAws" - // AgentServiceSetAwsProcedure is the fully-qualified name of the AgentService's SetAws RPC. - AgentServiceSetAwsProcedure = "/stackpanel.agent.AgentService/SetAws" // AgentServiceGetAppsProcedure is the fully-qualified name of the AgentService's GetApps RPC. AgentServiceGetAppsProcedure = "/stackpanel.agent.AgentService/GetApps" - // AgentServiceSetAppsProcedure is the fully-qualified name of the AgentService's SetApps RPC. - AgentServiceSetAppsProcedure = "/stackpanel.agent.AgentService/SetApps" // AgentServiceGetVariablesProcedure is the fully-qualified name of the AgentService's GetVariables // RPC. AgentServiceGetVariablesProcedure = "/stackpanel.agent.AgentService/GetVariables" - // AgentServiceSetVariablesProcedure is the fully-qualified name of the AgentService's SetVariables - // RPC. - AgentServiceSetVariablesProcedure = "/stackpanel.agent.AgentService/SetVariables" - // AgentServiceGetModulesProcedure is the fully-qualified name of the AgentService's GetModules RPC. - AgentServiceGetModulesProcedure = "/stackpanel.agent.AgentService/GetModules" - // AgentServiceGetModuleProcedure is the fully-qualified name of the AgentService's GetModule RPC. - AgentServiceGetModuleProcedure = "/stackpanel.agent.AgentService/GetModule" // AgentServiceGetModuleOutputsProcedure is the fully-qualified name of the AgentService's // GetModuleOutputs RPC. AgentServiceGetModuleOutputsProcedure = "/stackpanel.agent.AgentService/GetModuleOutputs" - // AgentServiceEnableModuleProcedure is the fully-qualified name of the AgentService's EnableModule - // RPC. - AgentServiceEnableModuleProcedure = "/stackpanel.agent.AgentService/EnableModule" - // AgentServiceDisableModuleProcedure is the fully-qualified name of the AgentService's - // DisableModule RPC. - AgentServiceDisableModuleProcedure = "/stackpanel.agent.AgentService/DisableModule" - // AgentServiceUpdateModuleSettingsProcedure is the fully-qualified name of the AgentService's - // UpdateModuleSettings RPC. - AgentServiceUpdateModuleSettingsProcedure = "/stackpanel.agent.AgentService/UpdateModuleSettings" - // AgentServiceGetAgeIdentityProcedure is the fully-qualified name of the AgentService's - // GetAgeIdentity RPC. - AgentServiceGetAgeIdentityProcedure = "/stackpanel.agent.AgentService/GetAgeIdentity" - // AgentServiceSetAgeIdentityProcedure is the fully-qualified name of the AgentService's - // SetAgeIdentity RPC. - AgentServiceSetAgeIdentityProcedure = "/stackpanel.agent.AgentService/SetAgeIdentity" - // AgentServiceGetKMSConfigProcedure is the fully-qualified name of the AgentService's GetKMSConfig - // RPC. - AgentServiceGetKMSConfigProcedure = "/stackpanel.agent.AgentService/GetKMSConfig" - // AgentServiceSetKMSConfigProcedure is the fully-qualified name of the AgentService's SetKMSConfig - // RPC. - AgentServiceSetKMSConfigProcedure = "/stackpanel.agent.AgentService/SetKMSConfig" - // AgentServiceReadFileProcedure is the fully-qualified name of the AgentService's ReadFile RPC. - AgentServiceReadFileProcedure = "/stackpanel.agent.AgentService/ReadFile" - // AgentServiceWriteFileProcedure is the fully-qualified name of the AgentService's WriteFile RPC. - AgentServiceWriteFileProcedure = "/stackpanel.agent.AgentService/WriteFile" - // AgentServiceListFilesProcedure is the fully-qualified name of the AgentService's ListFiles RPC. - AgentServiceListFilesProcedure = "/stackpanel.agent.AgentService/ListFiles" // AgentServiceExecProcedure is the fully-qualified name of the AgentService's Exec RPC. AgentServiceExecProcedure = "/stackpanel.agent.AgentService/Exec" - // AgentServiceNixGenerateProcedure is the fully-qualified name of the AgentService's NixGenerate - // RPC. - AgentServiceNixGenerateProcedure = "/stackpanel.agent.AgentService/NixGenerate" - // AgentServiceNixEvalProcedure is the fully-qualified name of the AgentService's NixEval RPC. - AgentServiceNixEvalProcedure = "/stackpanel.agent.AgentService/NixEval" - // AgentServiceGetServicesStatusProcedure is the fully-qualified name of the AgentService's - // GetServicesStatus RPC. - AgentServiceGetServicesStatusProcedure = "/stackpanel.agent.AgentService/GetServicesStatus" - // AgentServiceStartServiceProcedure is the fully-qualified name of the AgentService's StartService - // RPC. - AgentServiceStartServiceProcedure = "/stackpanel.agent.AgentService/StartService" - // AgentServiceStopServiceProcedure is the fully-qualified name of the AgentService's StopService - // RPC. - AgentServiceStopServiceProcedure = "/stackpanel.agent.AgentService/StopService" - // AgentServiceRestartServiceProcedure is the fully-qualified name of the AgentService's - // RestartService RPC. - AgentServiceRestartServiceProcedure = "/stackpanel.agent.AgentService/RestartService" - // AgentServiceGetSSTStatusProcedure is the fully-qualified name of the AgentService's GetSSTStatus - // RPC. - AgentServiceGetSSTStatusProcedure = "/stackpanel.agent.AgentService/GetSSTStatus" - // AgentServiceGetSSTConfigProcedure is the fully-qualified name of the AgentService's GetSSTConfig - // RPC. - AgentServiceGetSSTConfigProcedure = "/stackpanel.agent.AgentService/GetSSTConfig" - // AgentServiceDeploySSTProcedure is the fully-qualified name of the AgentService's DeploySST RPC. - AgentServiceDeploySSTProcedure = "/stackpanel.agent.AgentService/DeploySST" - // AgentServiceRemoveSSTProcedure is the fully-qualified name of the AgentService's RemoveSST RPC. - AgentServiceRemoveSSTProcedure = "/stackpanel.agent.AgentService/RemoveSST" - // AgentServiceGetSSTOutputsProcedure is the fully-qualified name of the AgentService's - // GetSSTOutputs RPC. - AgentServiceGetSSTOutputsProcedure = "/stackpanel.agent.AgentService/GetSSTOutputs" - // AgentServiceGetSSTResourcesProcedure is the fully-qualified name of the AgentService's - // GetSSTResources RPC. - AgentServiceGetSSTResourcesProcedure = "/stackpanel.agent.AgentService/GetSSTResources" - // AgentServiceSearchNixpkgsProcedure is the fully-qualified name of the AgentService's - // SearchNixpkgs RPC. - AgentServiceSearchNixpkgsProcedure = "/stackpanel.agent.AgentService/SearchNixpkgs" // AgentServiceGetInstalledPackagesProcedure is the fully-qualified name of the AgentService's // GetInstalledPackages RPC. AgentServiceGetInstalledPackagesProcedure = "/stackpanel.agent.AgentService/GetInstalledPackages" // AgentServiceGetProcessesProcedure is the fully-qualified name of the AgentService's GetProcesses // RPC. AgentServiceGetProcessesProcedure = "/stackpanel.agent.AgentService/GetProcesses" - // AgentServiceGetHealthchecksProcedure is the fully-qualified name of the AgentService's - // GetHealthchecks RPC. - AgentServiceGetHealthchecksProcedure = "/stackpanel.agent.AgentService/GetHealthchecks" // AgentServicePatchNixDataProcedure is the fully-qualified name of the AgentService's PatchNixData // RPC. AgentServicePatchNixDataProcedure = "/stackpanel.agent.AgentService/PatchNixData" // AgentServiceGetNixConfigProcedure is the fully-qualified name of the AgentService's GetNixConfig // RPC. AgentServiceGetNixConfigProcedure = "/stackpanel.agent.AgentService/GetNixConfig" - // AgentServiceRefreshNixConfigProcedure is the fully-qualified name of the AgentService's - // RefreshNixConfig RPC. - AgentServiceRefreshNixConfigProcedure = "/stackpanel.agent.AgentService/RefreshNixConfig" // AgentServiceGetShellStatusProcedure is the fully-qualified name of the AgentService's // GetShellStatus RPC. AgentServiceGetShellStatusProcedure = "/stackpanel.agent.AgentService/GetShellStatus" @@ -165,65 +74,23 @@ const ( type AgentServiceClient interface { // Project GetProject(context.Context, *connect.Request[gopb.GetProjectRequest]) (*connect.Response[gopb.GetProjectResponse], error) - // Config entities - generic CRUD for Nix data files - GetConfig(context.Context, *connect.Request[gopb.GetConfigRequest]) (*connect.Response[gopb.Config], error) - SetConfig(context.Context, *connect.Request[gopb.Config]) (*connect.Response[gopb.Config], error) + // Config entities - read Nix data files GetSecrets(context.Context, *connect.Request[gopb.GetSecretsRequest]) (*connect.Response[gopb.Secrets], error) - SetSecrets(context.Context, *connect.Request[gopb.Secrets]) (*connect.Response[gopb.Secrets], error) GetUsers(context.Context, *connect.Request[gopb.GetUsersRequest]) (*connect.Response[gopb.Users], error) - SetUsers(context.Context, *connect.Request[gopb.Users]) (*connect.Response[gopb.Users], error) - GetAws(context.Context, *connect.Request[gopb.GetAwsRequest]) (*connect.Response[gopb.Aws], error) - SetAws(context.Context, *connect.Request[gopb.Aws]) (*connect.Response[gopb.Aws], error) GetApps(context.Context, *connect.Request[gopb.GetAppsRequest]) (*connect.Response[gopb.Apps], error) - SetApps(context.Context, *connect.Request[gopb.Apps]) (*connect.Response[gopb.Apps], error) GetVariables(context.Context, *connect.Request[gopb.GetVariablesRequest]) (*connect.Response[gopb.Variables], error) - SetVariables(context.Context, *connect.Request[gopb.Variables]) (*connect.Response[gopb.Variables], error) - // Modules - module configuration management - GetModules(context.Context, *connect.Request[gopb.GetModulesRequest]) (*connect.Response[gopb.Modules], error) - GetModule(context.Context, *connect.Request[gopb.GetModuleRequest]) (*connect.Response[gopb.Module], error) + // Modules GetModuleOutputs(context.Context, *connect.Request[gopb.GetModuleOutputsRequest]) (*connect.Response[gopb.ModuleOutputs], error) - EnableModule(context.Context, *connect.Request[gopb.EnableModuleRequest]) (*connect.Response[gopb.ModuleResponse], error) - DisableModule(context.Context, *connect.Request[gopb.DisableModuleRequest]) (*connect.Response[gopb.ModuleResponse], error) - UpdateModuleSettings(context.Context, *connect.Request[gopb.UpdateModuleSettingsRequest]) (*connect.Response[gopb.ModuleResponse], error) - // Identity management (local decryption key) - GetAgeIdentity(context.Context, *connect.Request[gopb.GetAgeIdentityRequest]) (*connect.Response[gopb.AgeIdentityResponse], error) - SetAgeIdentity(context.Context, *connect.Request[gopb.SetAgeIdentityRequest]) (*connect.Response[gopb.AgeIdentityResponse], error) - // KMS configuration - GetKMSConfig(context.Context, *connect.Request[gopb.GetKMSConfigRequest]) (*connect.Response[gopb.KMSConfigResponse], error) - SetKMSConfig(context.Context, *connect.Request[gopb.SetKMSConfigRequest]) (*connect.Response[gopb.KMSConfigResponse], error) - // File operations - ReadFile(context.Context, *connect.Request[gopb.ReadFileRequest]) (*connect.Response[gopb.ReadFileResponse], error) - WriteFile(context.Context, *connect.Request[gopb.WriteFileRequest]) (*connect.Response[gopb.WriteFileResponse], error) - ListFiles(context.Context, *connect.Request[gopb.ListFilesRequest]) (*connect.Response[gopb.ListFilesResponse], error) // Command execution Exec(context.Context, *connect.Request[gopb.ExecRequest]) (*connect.Response[gopb.ExecResponse], error) - // Nix operations - NixGenerate(context.Context, *connect.Request[gopb.NixGenerateRequest]) (*connect.Response[gopb.NixGenerateResponse], error) - NixEval(context.Context, *connect.Request[gopb.NixEvalRequest]) (*connect.Response[gopb.NixEvalResponse], error) - // Services (process-compose) - GetServicesStatus(context.Context, *connect.Request[gopb.GetServicesStatusRequest]) (*connect.Response[gopb.GetServicesStatusResponse], error) - StartService(context.Context, *connect.Request[gopb.ServiceRequest]) (*connect.Response[gopb.ServiceResponse], error) - StopService(context.Context, *connect.Request[gopb.ServiceRequest]) (*connect.Response[gopb.ServiceResponse], error) - RestartService(context.Context, *connect.Request[gopb.ServiceRequest]) (*connect.Response[gopb.ServiceResponse], error) - // SST Infrastructure - GetSSTStatus(context.Context, *connect.Request[gopb.GetSSTStatusRequest]) (*connect.Response[gopb.SSTStatusResponse], error) - GetSSTConfig(context.Context, *connect.Request[gopb.GetSSTConfigRequest]) (*connect.Response[gopb.Sst], error) - DeploySST(context.Context, *connect.Request[gopb.DeploySSTRequest]) (*connect.Response[gopb.DeploySSTResponse], error) - RemoveSST(context.Context, *connect.Request[gopb.RemoveSSTRequest]) (*connect.Response[gopb.RemoveSSTResponse], error) - GetSSTOutputs(context.Context, *connect.Request[gopb.GetSSTOutputsRequest]) (*connect.Response[gopb.SSTOutputsResponse], error) - GetSSTResources(context.Context, *connect.Request[gopb.GetSSTResourcesRequest]) (*connect.Response[gopb.SSTResourcesResponse], error) // Nixpkgs package management - SearchNixpkgs(context.Context, *connect.Request[gopb.SearchNixpkgsRequest]) (*connect.Response[gopb.SearchNixpkgsResponse], error) GetInstalledPackages(context.Context, *connect.Request[gopb.GetInstalledPackagesRequest]) (*connect.Response[gopb.InstalledPackagesResponse], error) // Process-compose processes GetProcesses(context.Context, *connect.Request[gopb.GetProcessesRequest]) (*connect.Response[gopb.GetProcessesResponse], error) - // Healthchecks - GetHealthchecks(context.Context, *connect.Request[gopb.GetHealthchecksRequest]) (*connect.Response[gopb.HealthchecksResponse], error) // Nix data patch - update a single value at a nested path within an entity PatchNixData(context.Context, *connect.Request[gopb.PatchNixDataRequest]) (*connect.Response[gopb.PatchNixDataResponse], error) // Full Nix config (evaluated from flake) GetNixConfig(context.Context, *connect.Request[gopb.GetNixConfigRequest]) (*connect.Response[gopb.NixConfigResponse], error) - RefreshNixConfig(context.Context, *connect.Request[gopb.RefreshNixConfigRequest]) (*connect.Response[gopb.NixConfigResponse], error) // Devshell management GetShellStatus(context.Context, *connect.Request[gopb.GetShellStatusRequest]) (*connect.Response[gopb.ShellStatusResponse], error) RebuildShell(context.Context, *connect.Request[gopb.RebuildShellRequest]) (*connect.ServerStreamForClient[gopb.RebuildShellEvent], error) @@ -246,240 +113,42 @@ func NewAgentServiceClient(httpClient connect.HTTPClient, baseURL string, opts . connect.WithSchema(agentServiceMethods.ByName("GetProject")), connect.WithClientOptions(opts...), ), - getConfig: connect.NewClient[gopb.GetConfigRequest, gopb.Config]( - httpClient, - baseURL+AgentServiceGetConfigProcedure, - connect.WithSchema(agentServiceMethods.ByName("GetConfig")), - connect.WithClientOptions(opts...), - ), - setConfig: connect.NewClient[gopb.Config, gopb.Config]( - httpClient, - baseURL+AgentServiceSetConfigProcedure, - connect.WithSchema(agentServiceMethods.ByName("SetConfig")), - connect.WithClientOptions(opts...), - ), getSecrets: connect.NewClient[gopb.GetSecretsRequest, gopb.Secrets]( httpClient, baseURL+AgentServiceGetSecretsProcedure, connect.WithSchema(agentServiceMethods.ByName("GetSecrets")), connect.WithClientOptions(opts...), ), - setSecrets: connect.NewClient[gopb.Secrets, gopb.Secrets]( - httpClient, - baseURL+AgentServiceSetSecretsProcedure, - connect.WithSchema(agentServiceMethods.ByName("SetSecrets")), - connect.WithClientOptions(opts...), - ), getUsers: connect.NewClient[gopb.GetUsersRequest, gopb.Users]( httpClient, baseURL+AgentServiceGetUsersProcedure, connect.WithSchema(agentServiceMethods.ByName("GetUsers")), connect.WithClientOptions(opts...), ), - setUsers: connect.NewClient[gopb.Users, gopb.Users]( - httpClient, - baseURL+AgentServiceSetUsersProcedure, - connect.WithSchema(agentServiceMethods.ByName("SetUsers")), - connect.WithClientOptions(opts...), - ), - getAws: connect.NewClient[gopb.GetAwsRequest, gopb.Aws]( - httpClient, - baseURL+AgentServiceGetAwsProcedure, - connect.WithSchema(agentServiceMethods.ByName("GetAws")), - connect.WithClientOptions(opts...), - ), - setAws: connect.NewClient[gopb.Aws, gopb.Aws]( - httpClient, - baseURL+AgentServiceSetAwsProcedure, - connect.WithSchema(agentServiceMethods.ByName("SetAws")), - connect.WithClientOptions(opts...), - ), getApps: connect.NewClient[gopb.GetAppsRequest, gopb.Apps]( httpClient, baseURL+AgentServiceGetAppsProcedure, connect.WithSchema(agentServiceMethods.ByName("GetApps")), connect.WithClientOptions(opts...), ), - setApps: connect.NewClient[gopb.Apps, gopb.Apps]( - httpClient, - baseURL+AgentServiceSetAppsProcedure, - connect.WithSchema(agentServiceMethods.ByName("SetApps")), - connect.WithClientOptions(opts...), - ), getVariables: connect.NewClient[gopb.GetVariablesRequest, gopb.Variables]( httpClient, baseURL+AgentServiceGetVariablesProcedure, connect.WithSchema(agentServiceMethods.ByName("GetVariables")), connect.WithClientOptions(opts...), ), - setVariables: connect.NewClient[gopb.Variables, gopb.Variables]( - httpClient, - baseURL+AgentServiceSetVariablesProcedure, - connect.WithSchema(agentServiceMethods.ByName("SetVariables")), - connect.WithClientOptions(opts...), - ), - getModules: connect.NewClient[gopb.GetModulesRequest, gopb.Modules]( - httpClient, - baseURL+AgentServiceGetModulesProcedure, - connect.WithSchema(agentServiceMethods.ByName("GetModules")), - connect.WithClientOptions(opts...), - ), - getModule: connect.NewClient[gopb.GetModuleRequest, gopb.Module]( - httpClient, - baseURL+AgentServiceGetModuleProcedure, - connect.WithSchema(agentServiceMethods.ByName("GetModule")), - connect.WithClientOptions(opts...), - ), getModuleOutputs: connect.NewClient[gopb.GetModuleOutputsRequest, gopb.ModuleOutputs]( httpClient, baseURL+AgentServiceGetModuleOutputsProcedure, connect.WithSchema(agentServiceMethods.ByName("GetModuleOutputs")), connect.WithClientOptions(opts...), ), - enableModule: connect.NewClient[gopb.EnableModuleRequest, gopb.ModuleResponse]( - httpClient, - baseURL+AgentServiceEnableModuleProcedure, - connect.WithSchema(agentServiceMethods.ByName("EnableModule")), - connect.WithClientOptions(opts...), - ), - disableModule: connect.NewClient[gopb.DisableModuleRequest, gopb.ModuleResponse]( - httpClient, - baseURL+AgentServiceDisableModuleProcedure, - connect.WithSchema(agentServiceMethods.ByName("DisableModule")), - connect.WithClientOptions(opts...), - ), - updateModuleSettings: connect.NewClient[gopb.UpdateModuleSettingsRequest, gopb.ModuleResponse]( - httpClient, - baseURL+AgentServiceUpdateModuleSettingsProcedure, - connect.WithSchema(agentServiceMethods.ByName("UpdateModuleSettings")), - connect.WithClientOptions(opts...), - ), - getAgeIdentity: connect.NewClient[gopb.GetAgeIdentityRequest, gopb.AgeIdentityResponse]( - httpClient, - baseURL+AgentServiceGetAgeIdentityProcedure, - connect.WithSchema(agentServiceMethods.ByName("GetAgeIdentity")), - connect.WithClientOptions(opts...), - ), - setAgeIdentity: connect.NewClient[gopb.SetAgeIdentityRequest, gopb.AgeIdentityResponse]( - httpClient, - baseURL+AgentServiceSetAgeIdentityProcedure, - connect.WithSchema(agentServiceMethods.ByName("SetAgeIdentity")), - connect.WithClientOptions(opts...), - ), - getKMSConfig: connect.NewClient[gopb.GetKMSConfigRequest, gopb.KMSConfigResponse]( - httpClient, - baseURL+AgentServiceGetKMSConfigProcedure, - connect.WithSchema(agentServiceMethods.ByName("GetKMSConfig")), - connect.WithClientOptions(opts...), - ), - setKMSConfig: connect.NewClient[gopb.SetKMSConfigRequest, gopb.KMSConfigResponse]( - httpClient, - baseURL+AgentServiceSetKMSConfigProcedure, - connect.WithSchema(agentServiceMethods.ByName("SetKMSConfig")), - connect.WithClientOptions(opts...), - ), - readFile: connect.NewClient[gopb.ReadFileRequest, gopb.ReadFileResponse]( - httpClient, - baseURL+AgentServiceReadFileProcedure, - connect.WithSchema(agentServiceMethods.ByName("ReadFile")), - connect.WithClientOptions(opts...), - ), - writeFile: connect.NewClient[gopb.WriteFileRequest, gopb.WriteFileResponse]( - httpClient, - baseURL+AgentServiceWriteFileProcedure, - connect.WithSchema(agentServiceMethods.ByName("WriteFile")), - connect.WithClientOptions(opts...), - ), - listFiles: connect.NewClient[gopb.ListFilesRequest, gopb.ListFilesResponse]( - httpClient, - baseURL+AgentServiceListFilesProcedure, - connect.WithSchema(agentServiceMethods.ByName("ListFiles")), - connect.WithClientOptions(opts...), - ), exec: connect.NewClient[gopb.ExecRequest, gopb.ExecResponse]( httpClient, baseURL+AgentServiceExecProcedure, connect.WithSchema(agentServiceMethods.ByName("Exec")), connect.WithClientOptions(opts...), ), - nixGenerate: connect.NewClient[gopb.NixGenerateRequest, gopb.NixGenerateResponse]( - httpClient, - baseURL+AgentServiceNixGenerateProcedure, - connect.WithSchema(agentServiceMethods.ByName("NixGenerate")), - connect.WithClientOptions(opts...), - ), - nixEval: connect.NewClient[gopb.NixEvalRequest, gopb.NixEvalResponse]( - httpClient, - baseURL+AgentServiceNixEvalProcedure, - connect.WithSchema(agentServiceMethods.ByName("NixEval")), - connect.WithClientOptions(opts...), - ), - getServicesStatus: connect.NewClient[gopb.GetServicesStatusRequest, gopb.GetServicesStatusResponse]( - httpClient, - baseURL+AgentServiceGetServicesStatusProcedure, - connect.WithSchema(agentServiceMethods.ByName("GetServicesStatus")), - connect.WithClientOptions(opts...), - ), - startService: connect.NewClient[gopb.ServiceRequest, gopb.ServiceResponse]( - httpClient, - baseURL+AgentServiceStartServiceProcedure, - connect.WithSchema(agentServiceMethods.ByName("StartService")), - connect.WithClientOptions(opts...), - ), - stopService: connect.NewClient[gopb.ServiceRequest, gopb.ServiceResponse]( - httpClient, - baseURL+AgentServiceStopServiceProcedure, - connect.WithSchema(agentServiceMethods.ByName("StopService")), - connect.WithClientOptions(opts...), - ), - restartService: connect.NewClient[gopb.ServiceRequest, gopb.ServiceResponse]( - httpClient, - baseURL+AgentServiceRestartServiceProcedure, - connect.WithSchema(agentServiceMethods.ByName("RestartService")), - connect.WithClientOptions(opts...), - ), - getSSTStatus: connect.NewClient[gopb.GetSSTStatusRequest, gopb.SSTStatusResponse]( - httpClient, - baseURL+AgentServiceGetSSTStatusProcedure, - connect.WithSchema(agentServiceMethods.ByName("GetSSTStatus")), - connect.WithClientOptions(opts...), - ), - getSSTConfig: connect.NewClient[gopb.GetSSTConfigRequest, gopb.Sst]( - httpClient, - baseURL+AgentServiceGetSSTConfigProcedure, - connect.WithSchema(agentServiceMethods.ByName("GetSSTConfig")), - connect.WithClientOptions(opts...), - ), - deploySST: connect.NewClient[gopb.DeploySSTRequest, gopb.DeploySSTResponse]( - httpClient, - baseURL+AgentServiceDeploySSTProcedure, - connect.WithSchema(agentServiceMethods.ByName("DeploySST")), - connect.WithClientOptions(opts...), - ), - removeSST: connect.NewClient[gopb.RemoveSSTRequest, gopb.RemoveSSTResponse]( - httpClient, - baseURL+AgentServiceRemoveSSTProcedure, - connect.WithSchema(agentServiceMethods.ByName("RemoveSST")), - connect.WithClientOptions(opts...), - ), - getSSTOutputs: connect.NewClient[gopb.GetSSTOutputsRequest, gopb.SSTOutputsResponse]( - httpClient, - baseURL+AgentServiceGetSSTOutputsProcedure, - connect.WithSchema(agentServiceMethods.ByName("GetSSTOutputs")), - connect.WithClientOptions(opts...), - ), - getSSTResources: connect.NewClient[gopb.GetSSTResourcesRequest, gopb.SSTResourcesResponse]( - httpClient, - baseURL+AgentServiceGetSSTResourcesProcedure, - connect.WithSchema(agentServiceMethods.ByName("GetSSTResources")), - connect.WithClientOptions(opts...), - ), - searchNixpkgs: connect.NewClient[gopb.SearchNixpkgsRequest, gopb.SearchNixpkgsResponse]( - httpClient, - baseURL+AgentServiceSearchNixpkgsProcedure, - connect.WithSchema(agentServiceMethods.ByName("SearchNixpkgs")), - connect.WithClientOptions(opts...), - ), getInstalledPackages: connect.NewClient[gopb.GetInstalledPackagesRequest, gopb.InstalledPackagesResponse]( httpClient, baseURL+AgentServiceGetInstalledPackagesProcedure, @@ -492,12 +161,6 @@ func NewAgentServiceClient(httpClient connect.HTTPClient, baseURL string, opts . connect.WithSchema(agentServiceMethods.ByName("GetProcesses")), connect.WithClientOptions(opts...), ), - getHealthchecks: connect.NewClient[gopb.GetHealthchecksRequest, gopb.HealthchecksResponse]( - httpClient, - baseURL+AgentServiceGetHealthchecksProcedure, - connect.WithSchema(agentServiceMethods.ByName("GetHealthchecks")), - connect.WithClientOptions(opts...), - ), patchNixData: connect.NewClient[gopb.PatchNixDataRequest, gopb.PatchNixDataResponse]( httpClient, baseURL+AgentServicePatchNixDataProcedure, @@ -510,12 +173,6 @@ func NewAgentServiceClient(httpClient connect.HTTPClient, baseURL string, opts . connect.WithSchema(agentServiceMethods.ByName("GetNixConfig")), connect.WithClientOptions(opts...), ), - refreshNixConfig: connect.NewClient[gopb.RefreshNixConfigRequest, gopb.NixConfigResponse]( - httpClient, - baseURL+AgentServiceRefreshNixConfigProcedure, - connect.WithSchema(agentServiceMethods.ByName("RefreshNixConfig")), - connect.WithClientOptions(opts...), - ), getShellStatus: connect.NewClient[gopb.GetShellStatusRequest, gopb.ShellStatusResponse]( httpClient, baseURL+AgentServiceGetShellStatusProcedure, @@ -534,51 +191,16 @@ func NewAgentServiceClient(httpClient connect.HTTPClient, baseURL string, opts . // agentServiceClient implements AgentServiceClient. type agentServiceClient struct { getProject *connect.Client[gopb.GetProjectRequest, gopb.GetProjectResponse] - getConfig *connect.Client[gopb.GetConfigRequest, gopb.Config] - setConfig *connect.Client[gopb.Config, gopb.Config] getSecrets *connect.Client[gopb.GetSecretsRequest, gopb.Secrets] - setSecrets *connect.Client[gopb.Secrets, gopb.Secrets] getUsers *connect.Client[gopb.GetUsersRequest, gopb.Users] - setUsers *connect.Client[gopb.Users, gopb.Users] - getAws *connect.Client[gopb.GetAwsRequest, gopb.Aws] - setAws *connect.Client[gopb.Aws, gopb.Aws] getApps *connect.Client[gopb.GetAppsRequest, gopb.Apps] - setApps *connect.Client[gopb.Apps, gopb.Apps] getVariables *connect.Client[gopb.GetVariablesRequest, gopb.Variables] - setVariables *connect.Client[gopb.Variables, gopb.Variables] - getModules *connect.Client[gopb.GetModulesRequest, gopb.Modules] - getModule *connect.Client[gopb.GetModuleRequest, gopb.Module] getModuleOutputs *connect.Client[gopb.GetModuleOutputsRequest, gopb.ModuleOutputs] - enableModule *connect.Client[gopb.EnableModuleRequest, gopb.ModuleResponse] - disableModule *connect.Client[gopb.DisableModuleRequest, gopb.ModuleResponse] - updateModuleSettings *connect.Client[gopb.UpdateModuleSettingsRequest, gopb.ModuleResponse] - getAgeIdentity *connect.Client[gopb.GetAgeIdentityRequest, gopb.AgeIdentityResponse] - setAgeIdentity *connect.Client[gopb.SetAgeIdentityRequest, gopb.AgeIdentityResponse] - getKMSConfig *connect.Client[gopb.GetKMSConfigRequest, gopb.KMSConfigResponse] - setKMSConfig *connect.Client[gopb.SetKMSConfigRequest, gopb.KMSConfigResponse] - readFile *connect.Client[gopb.ReadFileRequest, gopb.ReadFileResponse] - writeFile *connect.Client[gopb.WriteFileRequest, gopb.WriteFileResponse] - listFiles *connect.Client[gopb.ListFilesRequest, gopb.ListFilesResponse] exec *connect.Client[gopb.ExecRequest, gopb.ExecResponse] - nixGenerate *connect.Client[gopb.NixGenerateRequest, gopb.NixGenerateResponse] - nixEval *connect.Client[gopb.NixEvalRequest, gopb.NixEvalResponse] - getServicesStatus *connect.Client[gopb.GetServicesStatusRequest, gopb.GetServicesStatusResponse] - startService *connect.Client[gopb.ServiceRequest, gopb.ServiceResponse] - stopService *connect.Client[gopb.ServiceRequest, gopb.ServiceResponse] - restartService *connect.Client[gopb.ServiceRequest, gopb.ServiceResponse] - getSSTStatus *connect.Client[gopb.GetSSTStatusRequest, gopb.SSTStatusResponse] - getSSTConfig *connect.Client[gopb.GetSSTConfigRequest, gopb.Sst] - deploySST *connect.Client[gopb.DeploySSTRequest, gopb.DeploySSTResponse] - removeSST *connect.Client[gopb.RemoveSSTRequest, gopb.RemoveSSTResponse] - getSSTOutputs *connect.Client[gopb.GetSSTOutputsRequest, gopb.SSTOutputsResponse] - getSSTResources *connect.Client[gopb.GetSSTResourcesRequest, gopb.SSTResourcesResponse] - searchNixpkgs *connect.Client[gopb.SearchNixpkgsRequest, gopb.SearchNixpkgsResponse] getInstalledPackages *connect.Client[gopb.GetInstalledPackagesRequest, gopb.InstalledPackagesResponse] getProcesses *connect.Client[gopb.GetProcessesRequest, gopb.GetProcessesResponse] - getHealthchecks *connect.Client[gopb.GetHealthchecksRequest, gopb.HealthchecksResponse] patchNixData *connect.Client[gopb.PatchNixDataRequest, gopb.PatchNixDataResponse] getNixConfig *connect.Client[gopb.GetNixConfigRequest, gopb.NixConfigResponse] - refreshNixConfig *connect.Client[gopb.RefreshNixConfigRequest, gopb.NixConfigResponse] getShellStatus *connect.Client[gopb.GetShellStatusRequest, gopb.ShellStatusResponse] rebuildShell *connect.Client[gopb.RebuildShellRequest, gopb.RebuildShellEvent] } @@ -588,201 +210,36 @@ func (c *agentServiceClient) GetProject(ctx context.Context, req *connect.Reques return c.getProject.CallUnary(ctx, req) } -// GetConfig calls stackpanel.agent.AgentService.GetConfig. -func (c *agentServiceClient) GetConfig(ctx context.Context, req *connect.Request[gopb.GetConfigRequest]) (*connect.Response[gopb.Config], error) { - return c.getConfig.CallUnary(ctx, req) -} - -// SetConfig calls stackpanel.agent.AgentService.SetConfig. -func (c *agentServiceClient) SetConfig(ctx context.Context, req *connect.Request[gopb.Config]) (*connect.Response[gopb.Config], error) { - return c.setConfig.CallUnary(ctx, req) -} - // GetSecrets calls stackpanel.agent.AgentService.GetSecrets. func (c *agentServiceClient) GetSecrets(ctx context.Context, req *connect.Request[gopb.GetSecretsRequest]) (*connect.Response[gopb.Secrets], error) { return c.getSecrets.CallUnary(ctx, req) } -// SetSecrets calls stackpanel.agent.AgentService.SetSecrets. -func (c *agentServiceClient) SetSecrets(ctx context.Context, req *connect.Request[gopb.Secrets]) (*connect.Response[gopb.Secrets], error) { - return c.setSecrets.CallUnary(ctx, req) -} - // GetUsers calls stackpanel.agent.AgentService.GetUsers. func (c *agentServiceClient) GetUsers(ctx context.Context, req *connect.Request[gopb.GetUsersRequest]) (*connect.Response[gopb.Users], error) { return c.getUsers.CallUnary(ctx, req) } -// SetUsers calls stackpanel.agent.AgentService.SetUsers. -func (c *agentServiceClient) SetUsers(ctx context.Context, req *connect.Request[gopb.Users]) (*connect.Response[gopb.Users], error) { - return c.setUsers.CallUnary(ctx, req) -} - -// GetAws calls stackpanel.agent.AgentService.GetAws. -func (c *agentServiceClient) GetAws(ctx context.Context, req *connect.Request[gopb.GetAwsRequest]) (*connect.Response[gopb.Aws], error) { - return c.getAws.CallUnary(ctx, req) -} - -// SetAws calls stackpanel.agent.AgentService.SetAws. -func (c *agentServiceClient) SetAws(ctx context.Context, req *connect.Request[gopb.Aws]) (*connect.Response[gopb.Aws], error) { - return c.setAws.CallUnary(ctx, req) -} - // GetApps calls stackpanel.agent.AgentService.GetApps. func (c *agentServiceClient) GetApps(ctx context.Context, req *connect.Request[gopb.GetAppsRequest]) (*connect.Response[gopb.Apps], error) { return c.getApps.CallUnary(ctx, req) } -// SetApps calls stackpanel.agent.AgentService.SetApps. -func (c *agentServiceClient) SetApps(ctx context.Context, req *connect.Request[gopb.Apps]) (*connect.Response[gopb.Apps], error) { - return c.setApps.CallUnary(ctx, req) -} - // GetVariables calls stackpanel.agent.AgentService.GetVariables. func (c *agentServiceClient) GetVariables(ctx context.Context, req *connect.Request[gopb.GetVariablesRequest]) (*connect.Response[gopb.Variables], error) { return c.getVariables.CallUnary(ctx, req) } -// SetVariables calls stackpanel.agent.AgentService.SetVariables. -func (c *agentServiceClient) SetVariables(ctx context.Context, req *connect.Request[gopb.Variables]) (*connect.Response[gopb.Variables], error) { - return c.setVariables.CallUnary(ctx, req) -} - -// GetModules calls stackpanel.agent.AgentService.GetModules. -func (c *agentServiceClient) GetModules(ctx context.Context, req *connect.Request[gopb.GetModulesRequest]) (*connect.Response[gopb.Modules], error) { - return c.getModules.CallUnary(ctx, req) -} - -// GetModule calls stackpanel.agent.AgentService.GetModule. -func (c *agentServiceClient) GetModule(ctx context.Context, req *connect.Request[gopb.GetModuleRequest]) (*connect.Response[gopb.Module], error) { - return c.getModule.CallUnary(ctx, req) -} - // GetModuleOutputs calls stackpanel.agent.AgentService.GetModuleOutputs. func (c *agentServiceClient) GetModuleOutputs(ctx context.Context, req *connect.Request[gopb.GetModuleOutputsRequest]) (*connect.Response[gopb.ModuleOutputs], error) { return c.getModuleOutputs.CallUnary(ctx, req) } -// EnableModule calls stackpanel.agent.AgentService.EnableModule. -func (c *agentServiceClient) EnableModule(ctx context.Context, req *connect.Request[gopb.EnableModuleRequest]) (*connect.Response[gopb.ModuleResponse], error) { - return c.enableModule.CallUnary(ctx, req) -} - -// DisableModule calls stackpanel.agent.AgentService.DisableModule. -func (c *agentServiceClient) DisableModule(ctx context.Context, req *connect.Request[gopb.DisableModuleRequest]) (*connect.Response[gopb.ModuleResponse], error) { - return c.disableModule.CallUnary(ctx, req) -} - -// UpdateModuleSettings calls stackpanel.agent.AgentService.UpdateModuleSettings. -func (c *agentServiceClient) UpdateModuleSettings(ctx context.Context, req *connect.Request[gopb.UpdateModuleSettingsRequest]) (*connect.Response[gopb.ModuleResponse], error) { - return c.updateModuleSettings.CallUnary(ctx, req) -} - -// GetAgeIdentity calls stackpanel.agent.AgentService.GetAgeIdentity. -func (c *agentServiceClient) GetAgeIdentity(ctx context.Context, req *connect.Request[gopb.GetAgeIdentityRequest]) (*connect.Response[gopb.AgeIdentityResponse], error) { - return c.getAgeIdentity.CallUnary(ctx, req) -} - -// SetAgeIdentity calls stackpanel.agent.AgentService.SetAgeIdentity. -func (c *agentServiceClient) SetAgeIdentity(ctx context.Context, req *connect.Request[gopb.SetAgeIdentityRequest]) (*connect.Response[gopb.AgeIdentityResponse], error) { - return c.setAgeIdentity.CallUnary(ctx, req) -} - -// GetKMSConfig calls stackpanel.agent.AgentService.GetKMSConfig. -func (c *agentServiceClient) GetKMSConfig(ctx context.Context, req *connect.Request[gopb.GetKMSConfigRequest]) (*connect.Response[gopb.KMSConfigResponse], error) { - return c.getKMSConfig.CallUnary(ctx, req) -} - -// SetKMSConfig calls stackpanel.agent.AgentService.SetKMSConfig. -func (c *agentServiceClient) SetKMSConfig(ctx context.Context, req *connect.Request[gopb.SetKMSConfigRequest]) (*connect.Response[gopb.KMSConfigResponse], error) { - return c.setKMSConfig.CallUnary(ctx, req) -} - -// ReadFile calls stackpanel.agent.AgentService.ReadFile. -func (c *agentServiceClient) ReadFile(ctx context.Context, req *connect.Request[gopb.ReadFileRequest]) (*connect.Response[gopb.ReadFileResponse], error) { - return c.readFile.CallUnary(ctx, req) -} - -// WriteFile calls stackpanel.agent.AgentService.WriteFile. -func (c *agentServiceClient) WriteFile(ctx context.Context, req *connect.Request[gopb.WriteFileRequest]) (*connect.Response[gopb.WriteFileResponse], error) { - return c.writeFile.CallUnary(ctx, req) -} - -// ListFiles calls stackpanel.agent.AgentService.ListFiles. -func (c *agentServiceClient) ListFiles(ctx context.Context, req *connect.Request[gopb.ListFilesRequest]) (*connect.Response[gopb.ListFilesResponse], error) { - return c.listFiles.CallUnary(ctx, req) -} - // Exec calls stackpanel.agent.AgentService.Exec. func (c *agentServiceClient) Exec(ctx context.Context, req *connect.Request[gopb.ExecRequest]) (*connect.Response[gopb.ExecResponse], error) { return c.exec.CallUnary(ctx, req) } -// NixGenerate calls stackpanel.agent.AgentService.NixGenerate. -func (c *agentServiceClient) NixGenerate(ctx context.Context, req *connect.Request[gopb.NixGenerateRequest]) (*connect.Response[gopb.NixGenerateResponse], error) { - return c.nixGenerate.CallUnary(ctx, req) -} - -// NixEval calls stackpanel.agent.AgentService.NixEval. -func (c *agentServiceClient) NixEval(ctx context.Context, req *connect.Request[gopb.NixEvalRequest]) (*connect.Response[gopb.NixEvalResponse], error) { - return c.nixEval.CallUnary(ctx, req) -} - -// GetServicesStatus calls stackpanel.agent.AgentService.GetServicesStatus. -func (c *agentServiceClient) GetServicesStatus(ctx context.Context, req *connect.Request[gopb.GetServicesStatusRequest]) (*connect.Response[gopb.GetServicesStatusResponse], error) { - return c.getServicesStatus.CallUnary(ctx, req) -} - -// StartService calls stackpanel.agent.AgentService.StartService. -func (c *agentServiceClient) StartService(ctx context.Context, req *connect.Request[gopb.ServiceRequest]) (*connect.Response[gopb.ServiceResponse], error) { - return c.startService.CallUnary(ctx, req) -} - -// StopService calls stackpanel.agent.AgentService.StopService. -func (c *agentServiceClient) StopService(ctx context.Context, req *connect.Request[gopb.ServiceRequest]) (*connect.Response[gopb.ServiceResponse], error) { - return c.stopService.CallUnary(ctx, req) -} - -// RestartService calls stackpanel.agent.AgentService.RestartService. -func (c *agentServiceClient) RestartService(ctx context.Context, req *connect.Request[gopb.ServiceRequest]) (*connect.Response[gopb.ServiceResponse], error) { - return c.restartService.CallUnary(ctx, req) -} - -// GetSSTStatus calls stackpanel.agent.AgentService.GetSSTStatus. -func (c *agentServiceClient) GetSSTStatus(ctx context.Context, req *connect.Request[gopb.GetSSTStatusRequest]) (*connect.Response[gopb.SSTStatusResponse], error) { - return c.getSSTStatus.CallUnary(ctx, req) -} - -// GetSSTConfig calls stackpanel.agent.AgentService.GetSSTConfig. -func (c *agentServiceClient) GetSSTConfig(ctx context.Context, req *connect.Request[gopb.GetSSTConfigRequest]) (*connect.Response[gopb.Sst], error) { - return c.getSSTConfig.CallUnary(ctx, req) -} - -// DeploySST calls stackpanel.agent.AgentService.DeploySST. -func (c *agentServiceClient) DeploySST(ctx context.Context, req *connect.Request[gopb.DeploySSTRequest]) (*connect.Response[gopb.DeploySSTResponse], error) { - return c.deploySST.CallUnary(ctx, req) -} - -// RemoveSST calls stackpanel.agent.AgentService.RemoveSST. -func (c *agentServiceClient) RemoveSST(ctx context.Context, req *connect.Request[gopb.RemoveSSTRequest]) (*connect.Response[gopb.RemoveSSTResponse], error) { - return c.removeSST.CallUnary(ctx, req) -} - -// GetSSTOutputs calls stackpanel.agent.AgentService.GetSSTOutputs. -func (c *agentServiceClient) GetSSTOutputs(ctx context.Context, req *connect.Request[gopb.GetSSTOutputsRequest]) (*connect.Response[gopb.SSTOutputsResponse], error) { - return c.getSSTOutputs.CallUnary(ctx, req) -} - -// GetSSTResources calls stackpanel.agent.AgentService.GetSSTResources. -func (c *agentServiceClient) GetSSTResources(ctx context.Context, req *connect.Request[gopb.GetSSTResourcesRequest]) (*connect.Response[gopb.SSTResourcesResponse], error) { - return c.getSSTResources.CallUnary(ctx, req) -} - -// SearchNixpkgs calls stackpanel.agent.AgentService.SearchNixpkgs. -func (c *agentServiceClient) SearchNixpkgs(ctx context.Context, req *connect.Request[gopb.SearchNixpkgsRequest]) (*connect.Response[gopb.SearchNixpkgsResponse], error) { - return c.searchNixpkgs.CallUnary(ctx, req) -} - // GetInstalledPackages calls stackpanel.agent.AgentService.GetInstalledPackages. func (c *agentServiceClient) GetInstalledPackages(ctx context.Context, req *connect.Request[gopb.GetInstalledPackagesRequest]) (*connect.Response[gopb.InstalledPackagesResponse], error) { return c.getInstalledPackages.CallUnary(ctx, req) @@ -793,11 +250,6 @@ func (c *agentServiceClient) GetProcesses(ctx context.Context, req *connect.Requ return c.getProcesses.CallUnary(ctx, req) } -// GetHealthchecks calls stackpanel.agent.AgentService.GetHealthchecks. -func (c *agentServiceClient) GetHealthchecks(ctx context.Context, req *connect.Request[gopb.GetHealthchecksRequest]) (*connect.Response[gopb.HealthchecksResponse], error) { - return c.getHealthchecks.CallUnary(ctx, req) -} - // PatchNixData calls stackpanel.agent.AgentService.PatchNixData. func (c *agentServiceClient) PatchNixData(ctx context.Context, req *connect.Request[gopb.PatchNixDataRequest]) (*connect.Response[gopb.PatchNixDataResponse], error) { return c.patchNixData.CallUnary(ctx, req) @@ -808,11 +260,6 @@ func (c *agentServiceClient) GetNixConfig(ctx context.Context, req *connect.Requ return c.getNixConfig.CallUnary(ctx, req) } -// RefreshNixConfig calls stackpanel.agent.AgentService.RefreshNixConfig. -func (c *agentServiceClient) RefreshNixConfig(ctx context.Context, req *connect.Request[gopb.RefreshNixConfigRequest]) (*connect.Response[gopb.NixConfigResponse], error) { - return c.refreshNixConfig.CallUnary(ctx, req) -} - // GetShellStatus calls stackpanel.agent.AgentService.GetShellStatus. func (c *agentServiceClient) GetShellStatus(ctx context.Context, req *connect.Request[gopb.GetShellStatusRequest]) (*connect.Response[gopb.ShellStatusResponse], error) { return c.getShellStatus.CallUnary(ctx, req) @@ -827,65 +274,23 @@ func (c *agentServiceClient) RebuildShell(ctx context.Context, req *connect.Requ type AgentServiceHandler interface { // Project GetProject(context.Context, *connect.Request[gopb.GetProjectRequest]) (*connect.Response[gopb.GetProjectResponse], error) - // Config entities - generic CRUD for Nix data files - GetConfig(context.Context, *connect.Request[gopb.GetConfigRequest]) (*connect.Response[gopb.Config], error) - SetConfig(context.Context, *connect.Request[gopb.Config]) (*connect.Response[gopb.Config], error) + // Config entities - read Nix data files GetSecrets(context.Context, *connect.Request[gopb.GetSecretsRequest]) (*connect.Response[gopb.Secrets], error) - SetSecrets(context.Context, *connect.Request[gopb.Secrets]) (*connect.Response[gopb.Secrets], error) GetUsers(context.Context, *connect.Request[gopb.GetUsersRequest]) (*connect.Response[gopb.Users], error) - SetUsers(context.Context, *connect.Request[gopb.Users]) (*connect.Response[gopb.Users], error) - GetAws(context.Context, *connect.Request[gopb.GetAwsRequest]) (*connect.Response[gopb.Aws], error) - SetAws(context.Context, *connect.Request[gopb.Aws]) (*connect.Response[gopb.Aws], error) GetApps(context.Context, *connect.Request[gopb.GetAppsRequest]) (*connect.Response[gopb.Apps], error) - SetApps(context.Context, *connect.Request[gopb.Apps]) (*connect.Response[gopb.Apps], error) GetVariables(context.Context, *connect.Request[gopb.GetVariablesRequest]) (*connect.Response[gopb.Variables], error) - SetVariables(context.Context, *connect.Request[gopb.Variables]) (*connect.Response[gopb.Variables], error) - // Modules - module configuration management - GetModules(context.Context, *connect.Request[gopb.GetModulesRequest]) (*connect.Response[gopb.Modules], error) - GetModule(context.Context, *connect.Request[gopb.GetModuleRequest]) (*connect.Response[gopb.Module], error) + // Modules GetModuleOutputs(context.Context, *connect.Request[gopb.GetModuleOutputsRequest]) (*connect.Response[gopb.ModuleOutputs], error) - EnableModule(context.Context, *connect.Request[gopb.EnableModuleRequest]) (*connect.Response[gopb.ModuleResponse], error) - DisableModule(context.Context, *connect.Request[gopb.DisableModuleRequest]) (*connect.Response[gopb.ModuleResponse], error) - UpdateModuleSettings(context.Context, *connect.Request[gopb.UpdateModuleSettingsRequest]) (*connect.Response[gopb.ModuleResponse], error) - // Identity management (local decryption key) - GetAgeIdentity(context.Context, *connect.Request[gopb.GetAgeIdentityRequest]) (*connect.Response[gopb.AgeIdentityResponse], error) - SetAgeIdentity(context.Context, *connect.Request[gopb.SetAgeIdentityRequest]) (*connect.Response[gopb.AgeIdentityResponse], error) - // KMS configuration - GetKMSConfig(context.Context, *connect.Request[gopb.GetKMSConfigRequest]) (*connect.Response[gopb.KMSConfigResponse], error) - SetKMSConfig(context.Context, *connect.Request[gopb.SetKMSConfigRequest]) (*connect.Response[gopb.KMSConfigResponse], error) - // File operations - ReadFile(context.Context, *connect.Request[gopb.ReadFileRequest]) (*connect.Response[gopb.ReadFileResponse], error) - WriteFile(context.Context, *connect.Request[gopb.WriteFileRequest]) (*connect.Response[gopb.WriteFileResponse], error) - ListFiles(context.Context, *connect.Request[gopb.ListFilesRequest]) (*connect.Response[gopb.ListFilesResponse], error) // Command execution Exec(context.Context, *connect.Request[gopb.ExecRequest]) (*connect.Response[gopb.ExecResponse], error) - // Nix operations - NixGenerate(context.Context, *connect.Request[gopb.NixGenerateRequest]) (*connect.Response[gopb.NixGenerateResponse], error) - NixEval(context.Context, *connect.Request[gopb.NixEvalRequest]) (*connect.Response[gopb.NixEvalResponse], error) - // Services (process-compose) - GetServicesStatus(context.Context, *connect.Request[gopb.GetServicesStatusRequest]) (*connect.Response[gopb.GetServicesStatusResponse], error) - StartService(context.Context, *connect.Request[gopb.ServiceRequest]) (*connect.Response[gopb.ServiceResponse], error) - StopService(context.Context, *connect.Request[gopb.ServiceRequest]) (*connect.Response[gopb.ServiceResponse], error) - RestartService(context.Context, *connect.Request[gopb.ServiceRequest]) (*connect.Response[gopb.ServiceResponse], error) - // SST Infrastructure - GetSSTStatus(context.Context, *connect.Request[gopb.GetSSTStatusRequest]) (*connect.Response[gopb.SSTStatusResponse], error) - GetSSTConfig(context.Context, *connect.Request[gopb.GetSSTConfigRequest]) (*connect.Response[gopb.Sst], error) - DeploySST(context.Context, *connect.Request[gopb.DeploySSTRequest]) (*connect.Response[gopb.DeploySSTResponse], error) - RemoveSST(context.Context, *connect.Request[gopb.RemoveSSTRequest]) (*connect.Response[gopb.RemoveSSTResponse], error) - GetSSTOutputs(context.Context, *connect.Request[gopb.GetSSTOutputsRequest]) (*connect.Response[gopb.SSTOutputsResponse], error) - GetSSTResources(context.Context, *connect.Request[gopb.GetSSTResourcesRequest]) (*connect.Response[gopb.SSTResourcesResponse], error) // Nixpkgs package management - SearchNixpkgs(context.Context, *connect.Request[gopb.SearchNixpkgsRequest]) (*connect.Response[gopb.SearchNixpkgsResponse], error) GetInstalledPackages(context.Context, *connect.Request[gopb.GetInstalledPackagesRequest]) (*connect.Response[gopb.InstalledPackagesResponse], error) // Process-compose processes GetProcesses(context.Context, *connect.Request[gopb.GetProcessesRequest]) (*connect.Response[gopb.GetProcessesResponse], error) - // Healthchecks - GetHealthchecks(context.Context, *connect.Request[gopb.GetHealthchecksRequest]) (*connect.Response[gopb.HealthchecksResponse], error) // Nix data patch - update a single value at a nested path within an entity PatchNixData(context.Context, *connect.Request[gopb.PatchNixDataRequest]) (*connect.Response[gopb.PatchNixDataResponse], error) // Full Nix config (evaluated from flake) GetNixConfig(context.Context, *connect.Request[gopb.GetNixConfigRequest]) (*connect.Response[gopb.NixConfigResponse], error) - RefreshNixConfig(context.Context, *connect.Request[gopb.RefreshNixConfigRequest]) (*connect.Response[gopb.NixConfigResponse], error) // Devshell management GetShellStatus(context.Context, *connect.Request[gopb.GetShellStatusRequest]) (*connect.Response[gopb.ShellStatusResponse], error) RebuildShell(context.Context, *connect.Request[gopb.RebuildShellRequest], *connect.ServerStream[gopb.RebuildShellEvent]) error @@ -904,240 +309,42 @@ func NewAgentServiceHandler(svc AgentServiceHandler, opts ...connect.HandlerOpti connect.WithSchema(agentServiceMethods.ByName("GetProject")), connect.WithHandlerOptions(opts...), ) - agentServiceGetConfigHandler := connect.NewUnaryHandler( - AgentServiceGetConfigProcedure, - svc.GetConfig, - connect.WithSchema(agentServiceMethods.ByName("GetConfig")), - connect.WithHandlerOptions(opts...), - ) - agentServiceSetConfigHandler := connect.NewUnaryHandler( - AgentServiceSetConfigProcedure, - svc.SetConfig, - connect.WithSchema(agentServiceMethods.ByName("SetConfig")), - connect.WithHandlerOptions(opts...), - ) agentServiceGetSecretsHandler := connect.NewUnaryHandler( AgentServiceGetSecretsProcedure, svc.GetSecrets, connect.WithSchema(agentServiceMethods.ByName("GetSecrets")), connect.WithHandlerOptions(opts...), ) - agentServiceSetSecretsHandler := connect.NewUnaryHandler( - AgentServiceSetSecretsProcedure, - svc.SetSecrets, - connect.WithSchema(agentServiceMethods.ByName("SetSecrets")), - connect.WithHandlerOptions(opts...), - ) agentServiceGetUsersHandler := connect.NewUnaryHandler( AgentServiceGetUsersProcedure, svc.GetUsers, connect.WithSchema(agentServiceMethods.ByName("GetUsers")), connect.WithHandlerOptions(opts...), ) - agentServiceSetUsersHandler := connect.NewUnaryHandler( - AgentServiceSetUsersProcedure, - svc.SetUsers, - connect.WithSchema(agentServiceMethods.ByName("SetUsers")), - connect.WithHandlerOptions(opts...), - ) - agentServiceGetAwsHandler := connect.NewUnaryHandler( - AgentServiceGetAwsProcedure, - svc.GetAws, - connect.WithSchema(agentServiceMethods.ByName("GetAws")), - connect.WithHandlerOptions(opts...), - ) - agentServiceSetAwsHandler := connect.NewUnaryHandler( - AgentServiceSetAwsProcedure, - svc.SetAws, - connect.WithSchema(agentServiceMethods.ByName("SetAws")), - connect.WithHandlerOptions(opts...), - ) agentServiceGetAppsHandler := connect.NewUnaryHandler( AgentServiceGetAppsProcedure, svc.GetApps, connect.WithSchema(agentServiceMethods.ByName("GetApps")), connect.WithHandlerOptions(opts...), ) - agentServiceSetAppsHandler := connect.NewUnaryHandler( - AgentServiceSetAppsProcedure, - svc.SetApps, - connect.WithSchema(agentServiceMethods.ByName("SetApps")), - connect.WithHandlerOptions(opts...), - ) agentServiceGetVariablesHandler := connect.NewUnaryHandler( AgentServiceGetVariablesProcedure, svc.GetVariables, connect.WithSchema(agentServiceMethods.ByName("GetVariables")), connect.WithHandlerOptions(opts...), ) - agentServiceSetVariablesHandler := connect.NewUnaryHandler( - AgentServiceSetVariablesProcedure, - svc.SetVariables, - connect.WithSchema(agentServiceMethods.ByName("SetVariables")), - connect.WithHandlerOptions(opts...), - ) - agentServiceGetModulesHandler := connect.NewUnaryHandler( - AgentServiceGetModulesProcedure, - svc.GetModules, - connect.WithSchema(agentServiceMethods.ByName("GetModules")), - connect.WithHandlerOptions(opts...), - ) - agentServiceGetModuleHandler := connect.NewUnaryHandler( - AgentServiceGetModuleProcedure, - svc.GetModule, - connect.WithSchema(agentServiceMethods.ByName("GetModule")), - connect.WithHandlerOptions(opts...), - ) agentServiceGetModuleOutputsHandler := connect.NewUnaryHandler( AgentServiceGetModuleOutputsProcedure, svc.GetModuleOutputs, connect.WithSchema(agentServiceMethods.ByName("GetModuleOutputs")), connect.WithHandlerOptions(opts...), ) - agentServiceEnableModuleHandler := connect.NewUnaryHandler( - AgentServiceEnableModuleProcedure, - svc.EnableModule, - connect.WithSchema(agentServiceMethods.ByName("EnableModule")), - connect.WithHandlerOptions(opts...), - ) - agentServiceDisableModuleHandler := connect.NewUnaryHandler( - AgentServiceDisableModuleProcedure, - svc.DisableModule, - connect.WithSchema(agentServiceMethods.ByName("DisableModule")), - connect.WithHandlerOptions(opts...), - ) - agentServiceUpdateModuleSettingsHandler := connect.NewUnaryHandler( - AgentServiceUpdateModuleSettingsProcedure, - svc.UpdateModuleSettings, - connect.WithSchema(agentServiceMethods.ByName("UpdateModuleSettings")), - connect.WithHandlerOptions(opts...), - ) - agentServiceGetAgeIdentityHandler := connect.NewUnaryHandler( - AgentServiceGetAgeIdentityProcedure, - svc.GetAgeIdentity, - connect.WithSchema(agentServiceMethods.ByName("GetAgeIdentity")), - connect.WithHandlerOptions(opts...), - ) - agentServiceSetAgeIdentityHandler := connect.NewUnaryHandler( - AgentServiceSetAgeIdentityProcedure, - svc.SetAgeIdentity, - connect.WithSchema(agentServiceMethods.ByName("SetAgeIdentity")), - connect.WithHandlerOptions(opts...), - ) - agentServiceGetKMSConfigHandler := connect.NewUnaryHandler( - AgentServiceGetKMSConfigProcedure, - svc.GetKMSConfig, - connect.WithSchema(agentServiceMethods.ByName("GetKMSConfig")), - connect.WithHandlerOptions(opts...), - ) - agentServiceSetKMSConfigHandler := connect.NewUnaryHandler( - AgentServiceSetKMSConfigProcedure, - svc.SetKMSConfig, - connect.WithSchema(agentServiceMethods.ByName("SetKMSConfig")), - connect.WithHandlerOptions(opts...), - ) - agentServiceReadFileHandler := connect.NewUnaryHandler( - AgentServiceReadFileProcedure, - svc.ReadFile, - connect.WithSchema(agentServiceMethods.ByName("ReadFile")), - connect.WithHandlerOptions(opts...), - ) - agentServiceWriteFileHandler := connect.NewUnaryHandler( - AgentServiceWriteFileProcedure, - svc.WriteFile, - connect.WithSchema(agentServiceMethods.ByName("WriteFile")), - connect.WithHandlerOptions(opts...), - ) - agentServiceListFilesHandler := connect.NewUnaryHandler( - AgentServiceListFilesProcedure, - svc.ListFiles, - connect.WithSchema(agentServiceMethods.ByName("ListFiles")), - connect.WithHandlerOptions(opts...), - ) agentServiceExecHandler := connect.NewUnaryHandler( AgentServiceExecProcedure, svc.Exec, connect.WithSchema(agentServiceMethods.ByName("Exec")), connect.WithHandlerOptions(opts...), ) - agentServiceNixGenerateHandler := connect.NewUnaryHandler( - AgentServiceNixGenerateProcedure, - svc.NixGenerate, - connect.WithSchema(agentServiceMethods.ByName("NixGenerate")), - connect.WithHandlerOptions(opts...), - ) - agentServiceNixEvalHandler := connect.NewUnaryHandler( - AgentServiceNixEvalProcedure, - svc.NixEval, - connect.WithSchema(agentServiceMethods.ByName("NixEval")), - connect.WithHandlerOptions(opts...), - ) - agentServiceGetServicesStatusHandler := connect.NewUnaryHandler( - AgentServiceGetServicesStatusProcedure, - svc.GetServicesStatus, - connect.WithSchema(agentServiceMethods.ByName("GetServicesStatus")), - connect.WithHandlerOptions(opts...), - ) - agentServiceStartServiceHandler := connect.NewUnaryHandler( - AgentServiceStartServiceProcedure, - svc.StartService, - connect.WithSchema(agentServiceMethods.ByName("StartService")), - connect.WithHandlerOptions(opts...), - ) - agentServiceStopServiceHandler := connect.NewUnaryHandler( - AgentServiceStopServiceProcedure, - svc.StopService, - connect.WithSchema(agentServiceMethods.ByName("StopService")), - connect.WithHandlerOptions(opts...), - ) - agentServiceRestartServiceHandler := connect.NewUnaryHandler( - AgentServiceRestartServiceProcedure, - svc.RestartService, - connect.WithSchema(agentServiceMethods.ByName("RestartService")), - connect.WithHandlerOptions(opts...), - ) - agentServiceGetSSTStatusHandler := connect.NewUnaryHandler( - AgentServiceGetSSTStatusProcedure, - svc.GetSSTStatus, - connect.WithSchema(agentServiceMethods.ByName("GetSSTStatus")), - connect.WithHandlerOptions(opts...), - ) - agentServiceGetSSTConfigHandler := connect.NewUnaryHandler( - AgentServiceGetSSTConfigProcedure, - svc.GetSSTConfig, - connect.WithSchema(agentServiceMethods.ByName("GetSSTConfig")), - connect.WithHandlerOptions(opts...), - ) - agentServiceDeploySSTHandler := connect.NewUnaryHandler( - AgentServiceDeploySSTProcedure, - svc.DeploySST, - connect.WithSchema(agentServiceMethods.ByName("DeploySST")), - connect.WithHandlerOptions(opts...), - ) - agentServiceRemoveSSTHandler := connect.NewUnaryHandler( - AgentServiceRemoveSSTProcedure, - svc.RemoveSST, - connect.WithSchema(agentServiceMethods.ByName("RemoveSST")), - connect.WithHandlerOptions(opts...), - ) - agentServiceGetSSTOutputsHandler := connect.NewUnaryHandler( - AgentServiceGetSSTOutputsProcedure, - svc.GetSSTOutputs, - connect.WithSchema(agentServiceMethods.ByName("GetSSTOutputs")), - connect.WithHandlerOptions(opts...), - ) - agentServiceGetSSTResourcesHandler := connect.NewUnaryHandler( - AgentServiceGetSSTResourcesProcedure, - svc.GetSSTResources, - connect.WithSchema(agentServiceMethods.ByName("GetSSTResources")), - connect.WithHandlerOptions(opts...), - ) - agentServiceSearchNixpkgsHandler := connect.NewUnaryHandler( - AgentServiceSearchNixpkgsProcedure, - svc.SearchNixpkgs, - connect.WithSchema(agentServiceMethods.ByName("SearchNixpkgs")), - connect.WithHandlerOptions(opts...), - ) agentServiceGetInstalledPackagesHandler := connect.NewUnaryHandler( AgentServiceGetInstalledPackagesProcedure, svc.GetInstalledPackages, @@ -1150,12 +357,6 @@ func NewAgentServiceHandler(svc AgentServiceHandler, opts ...connect.HandlerOpti connect.WithSchema(agentServiceMethods.ByName("GetProcesses")), connect.WithHandlerOptions(opts...), ) - agentServiceGetHealthchecksHandler := connect.NewUnaryHandler( - AgentServiceGetHealthchecksProcedure, - svc.GetHealthchecks, - connect.WithSchema(agentServiceMethods.ByName("GetHealthchecks")), - connect.WithHandlerOptions(opts...), - ) agentServicePatchNixDataHandler := connect.NewUnaryHandler( AgentServicePatchNixDataProcedure, svc.PatchNixData, @@ -1168,12 +369,6 @@ func NewAgentServiceHandler(svc AgentServiceHandler, opts ...connect.HandlerOpti connect.WithSchema(agentServiceMethods.ByName("GetNixConfig")), connect.WithHandlerOptions(opts...), ) - agentServiceRefreshNixConfigHandler := connect.NewUnaryHandler( - AgentServiceRefreshNixConfigProcedure, - svc.RefreshNixConfig, - connect.WithSchema(agentServiceMethods.ByName("RefreshNixConfig")), - connect.WithHandlerOptions(opts...), - ) agentServiceGetShellStatusHandler := connect.NewUnaryHandler( AgentServiceGetShellStatusProcedure, svc.GetShellStatus, @@ -1190,96 +385,26 @@ func NewAgentServiceHandler(svc AgentServiceHandler, opts ...connect.HandlerOpti switch r.URL.Path { case AgentServiceGetProjectProcedure: agentServiceGetProjectHandler.ServeHTTP(w, r) - case AgentServiceGetConfigProcedure: - agentServiceGetConfigHandler.ServeHTTP(w, r) - case AgentServiceSetConfigProcedure: - agentServiceSetConfigHandler.ServeHTTP(w, r) case AgentServiceGetSecretsProcedure: agentServiceGetSecretsHandler.ServeHTTP(w, r) - case AgentServiceSetSecretsProcedure: - agentServiceSetSecretsHandler.ServeHTTP(w, r) case AgentServiceGetUsersProcedure: agentServiceGetUsersHandler.ServeHTTP(w, r) - case AgentServiceSetUsersProcedure: - agentServiceSetUsersHandler.ServeHTTP(w, r) - case AgentServiceGetAwsProcedure: - agentServiceGetAwsHandler.ServeHTTP(w, r) - case AgentServiceSetAwsProcedure: - agentServiceSetAwsHandler.ServeHTTP(w, r) case AgentServiceGetAppsProcedure: agentServiceGetAppsHandler.ServeHTTP(w, r) - case AgentServiceSetAppsProcedure: - agentServiceSetAppsHandler.ServeHTTP(w, r) case AgentServiceGetVariablesProcedure: agentServiceGetVariablesHandler.ServeHTTP(w, r) - case AgentServiceSetVariablesProcedure: - agentServiceSetVariablesHandler.ServeHTTP(w, r) - case AgentServiceGetModulesProcedure: - agentServiceGetModulesHandler.ServeHTTP(w, r) - case AgentServiceGetModuleProcedure: - agentServiceGetModuleHandler.ServeHTTP(w, r) case AgentServiceGetModuleOutputsProcedure: agentServiceGetModuleOutputsHandler.ServeHTTP(w, r) - case AgentServiceEnableModuleProcedure: - agentServiceEnableModuleHandler.ServeHTTP(w, r) - case AgentServiceDisableModuleProcedure: - agentServiceDisableModuleHandler.ServeHTTP(w, r) - case AgentServiceUpdateModuleSettingsProcedure: - agentServiceUpdateModuleSettingsHandler.ServeHTTP(w, r) - case AgentServiceGetAgeIdentityProcedure: - agentServiceGetAgeIdentityHandler.ServeHTTP(w, r) - case AgentServiceSetAgeIdentityProcedure: - agentServiceSetAgeIdentityHandler.ServeHTTP(w, r) - case AgentServiceGetKMSConfigProcedure: - agentServiceGetKMSConfigHandler.ServeHTTP(w, r) - case AgentServiceSetKMSConfigProcedure: - agentServiceSetKMSConfigHandler.ServeHTTP(w, r) - case AgentServiceReadFileProcedure: - agentServiceReadFileHandler.ServeHTTP(w, r) - case AgentServiceWriteFileProcedure: - agentServiceWriteFileHandler.ServeHTTP(w, r) - case AgentServiceListFilesProcedure: - agentServiceListFilesHandler.ServeHTTP(w, r) case AgentServiceExecProcedure: agentServiceExecHandler.ServeHTTP(w, r) - case AgentServiceNixGenerateProcedure: - agentServiceNixGenerateHandler.ServeHTTP(w, r) - case AgentServiceNixEvalProcedure: - agentServiceNixEvalHandler.ServeHTTP(w, r) - case AgentServiceGetServicesStatusProcedure: - agentServiceGetServicesStatusHandler.ServeHTTP(w, r) - case AgentServiceStartServiceProcedure: - agentServiceStartServiceHandler.ServeHTTP(w, r) - case AgentServiceStopServiceProcedure: - agentServiceStopServiceHandler.ServeHTTP(w, r) - case AgentServiceRestartServiceProcedure: - agentServiceRestartServiceHandler.ServeHTTP(w, r) - case AgentServiceGetSSTStatusProcedure: - agentServiceGetSSTStatusHandler.ServeHTTP(w, r) - case AgentServiceGetSSTConfigProcedure: - agentServiceGetSSTConfigHandler.ServeHTTP(w, r) - case AgentServiceDeploySSTProcedure: - agentServiceDeploySSTHandler.ServeHTTP(w, r) - case AgentServiceRemoveSSTProcedure: - agentServiceRemoveSSTHandler.ServeHTTP(w, r) - case AgentServiceGetSSTOutputsProcedure: - agentServiceGetSSTOutputsHandler.ServeHTTP(w, r) - case AgentServiceGetSSTResourcesProcedure: - agentServiceGetSSTResourcesHandler.ServeHTTP(w, r) - case AgentServiceSearchNixpkgsProcedure: - agentServiceSearchNixpkgsHandler.ServeHTTP(w, r) case AgentServiceGetInstalledPackagesProcedure: agentServiceGetInstalledPackagesHandler.ServeHTTP(w, r) case AgentServiceGetProcessesProcedure: agentServiceGetProcessesHandler.ServeHTTP(w, r) - case AgentServiceGetHealthchecksProcedure: - agentServiceGetHealthchecksHandler.ServeHTTP(w, r) case AgentServicePatchNixDataProcedure: agentServicePatchNixDataHandler.ServeHTTP(w, r) case AgentServiceGetNixConfigProcedure: agentServiceGetNixConfigHandler.ServeHTTP(w, r) - case AgentServiceRefreshNixConfigProcedure: - agentServiceRefreshNixConfigHandler.ServeHTTP(w, r) case AgentServiceGetShellStatusProcedure: agentServiceGetShellStatusHandler.ServeHTTP(w, r) case AgentServiceRebuildShellProcedure: @@ -1297,162 +422,30 @@ func (UnimplementedAgentServiceHandler) GetProject(context.Context, *connect.Req return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.GetProject is not implemented")) } -func (UnimplementedAgentServiceHandler) GetConfig(context.Context, *connect.Request[gopb.GetConfigRequest]) (*connect.Response[gopb.Config], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.GetConfig is not implemented")) -} - -func (UnimplementedAgentServiceHandler) SetConfig(context.Context, *connect.Request[gopb.Config]) (*connect.Response[gopb.Config], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.SetConfig is not implemented")) -} - func (UnimplementedAgentServiceHandler) GetSecrets(context.Context, *connect.Request[gopb.GetSecretsRequest]) (*connect.Response[gopb.Secrets], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.GetSecrets is not implemented")) } -func (UnimplementedAgentServiceHandler) SetSecrets(context.Context, *connect.Request[gopb.Secrets]) (*connect.Response[gopb.Secrets], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.SetSecrets is not implemented")) -} - func (UnimplementedAgentServiceHandler) GetUsers(context.Context, *connect.Request[gopb.GetUsersRequest]) (*connect.Response[gopb.Users], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.GetUsers is not implemented")) } -func (UnimplementedAgentServiceHandler) SetUsers(context.Context, *connect.Request[gopb.Users]) (*connect.Response[gopb.Users], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.SetUsers is not implemented")) -} - -func (UnimplementedAgentServiceHandler) GetAws(context.Context, *connect.Request[gopb.GetAwsRequest]) (*connect.Response[gopb.Aws], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.GetAws is not implemented")) -} - -func (UnimplementedAgentServiceHandler) SetAws(context.Context, *connect.Request[gopb.Aws]) (*connect.Response[gopb.Aws], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.SetAws is not implemented")) -} - func (UnimplementedAgentServiceHandler) GetApps(context.Context, *connect.Request[gopb.GetAppsRequest]) (*connect.Response[gopb.Apps], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.GetApps is not implemented")) } -func (UnimplementedAgentServiceHandler) SetApps(context.Context, *connect.Request[gopb.Apps]) (*connect.Response[gopb.Apps], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.SetApps is not implemented")) -} - func (UnimplementedAgentServiceHandler) GetVariables(context.Context, *connect.Request[gopb.GetVariablesRequest]) (*connect.Response[gopb.Variables], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.GetVariables is not implemented")) } -func (UnimplementedAgentServiceHandler) SetVariables(context.Context, *connect.Request[gopb.Variables]) (*connect.Response[gopb.Variables], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.SetVariables is not implemented")) -} - -func (UnimplementedAgentServiceHandler) GetModules(context.Context, *connect.Request[gopb.GetModulesRequest]) (*connect.Response[gopb.Modules], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.GetModules is not implemented")) -} - -func (UnimplementedAgentServiceHandler) GetModule(context.Context, *connect.Request[gopb.GetModuleRequest]) (*connect.Response[gopb.Module], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.GetModule is not implemented")) -} - func (UnimplementedAgentServiceHandler) GetModuleOutputs(context.Context, *connect.Request[gopb.GetModuleOutputsRequest]) (*connect.Response[gopb.ModuleOutputs], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.GetModuleOutputs is not implemented")) } -func (UnimplementedAgentServiceHandler) EnableModule(context.Context, *connect.Request[gopb.EnableModuleRequest]) (*connect.Response[gopb.ModuleResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.EnableModule is not implemented")) -} - -func (UnimplementedAgentServiceHandler) DisableModule(context.Context, *connect.Request[gopb.DisableModuleRequest]) (*connect.Response[gopb.ModuleResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.DisableModule is not implemented")) -} - -func (UnimplementedAgentServiceHandler) UpdateModuleSettings(context.Context, *connect.Request[gopb.UpdateModuleSettingsRequest]) (*connect.Response[gopb.ModuleResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.UpdateModuleSettings is not implemented")) -} - -func (UnimplementedAgentServiceHandler) GetAgeIdentity(context.Context, *connect.Request[gopb.GetAgeIdentityRequest]) (*connect.Response[gopb.AgeIdentityResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.GetAgeIdentity is not implemented")) -} - -func (UnimplementedAgentServiceHandler) SetAgeIdentity(context.Context, *connect.Request[gopb.SetAgeIdentityRequest]) (*connect.Response[gopb.AgeIdentityResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.SetAgeIdentity is not implemented")) -} - -func (UnimplementedAgentServiceHandler) GetKMSConfig(context.Context, *connect.Request[gopb.GetKMSConfigRequest]) (*connect.Response[gopb.KMSConfigResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.GetKMSConfig is not implemented")) -} - -func (UnimplementedAgentServiceHandler) SetKMSConfig(context.Context, *connect.Request[gopb.SetKMSConfigRequest]) (*connect.Response[gopb.KMSConfigResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.SetKMSConfig is not implemented")) -} - -func (UnimplementedAgentServiceHandler) ReadFile(context.Context, *connect.Request[gopb.ReadFileRequest]) (*connect.Response[gopb.ReadFileResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.ReadFile is not implemented")) -} - -func (UnimplementedAgentServiceHandler) WriteFile(context.Context, *connect.Request[gopb.WriteFileRequest]) (*connect.Response[gopb.WriteFileResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.WriteFile is not implemented")) -} - -func (UnimplementedAgentServiceHandler) ListFiles(context.Context, *connect.Request[gopb.ListFilesRequest]) (*connect.Response[gopb.ListFilesResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.ListFiles is not implemented")) -} - func (UnimplementedAgentServiceHandler) Exec(context.Context, *connect.Request[gopb.ExecRequest]) (*connect.Response[gopb.ExecResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.Exec is not implemented")) } -func (UnimplementedAgentServiceHandler) NixGenerate(context.Context, *connect.Request[gopb.NixGenerateRequest]) (*connect.Response[gopb.NixGenerateResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.NixGenerate is not implemented")) -} - -func (UnimplementedAgentServiceHandler) NixEval(context.Context, *connect.Request[gopb.NixEvalRequest]) (*connect.Response[gopb.NixEvalResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.NixEval is not implemented")) -} - -func (UnimplementedAgentServiceHandler) GetServicesStatus(context.Context, *connect.Request[gopb.GetServicesStatusRequest]) (*connect.Response[gopb.GetServicesStatusResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.GetServicesStatus is not implemented")) -} - -func (UnimplementedAgentServiceHandler) StartService(context.Context, *connect.Request[gopb.ServiceRequest]) (*connect.Response[gopb.ServiceResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.StartService is not implemented")) -} - -func (UnimplementedAgentServiceHandler) StopService(context.Context, *connect.Request[gopb.ServiceRequest]) (*connect.Response[gopb.ServiceResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.StopService is not implemented")) -} - -func (UnimplementedAgentServiceHandler) RestartService(context.Context, *connect.Request[gopb.ServiceRequest]) (*connect.Response[gopb.ServiceResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.RestartService is not implemented")) -} - -func (UnimplementedAgentServiceHandler) GetSSTStatus(context.Context, *connect.Request[gopb.GetSSTStatusRequest]) (*connect.Response[gopb.SSTStatusResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.GetSSTStatus is not implemented")) -} - -func (UnimplementedAgentServiceHandler) GetSSTConfig(context.Context, *connect.Request[gopb.GetSSTConfigRequest]) (*connect.Response[gopb.Sst], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.GetSSTConfig is not implemented")) -} - -func (UnimplementedAgentServiceHandler) DeploySST(context.Context, *connect.Request[gopb.DeploySSTRequest]) (*connect.Response[gopb.DeploySSTResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.DeploySST is not implemented")) -} - -func (UnimplementedAgentServiceHandler) RemoveSST(context.Context, *connect.Request[gopb.RemoveSSTRequest]) (*connect.Response[gopb.RemoveSSTResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.RemoveSST is not implemented")) -} - -func (UnimplementedAgentServiceHandler) GetSSTOutputs(context.Context, *connect.Request[gopb.GetSSTOutputsRequest]) (*connect.Response[gopb.SSTOutputsResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.GetSSTOutputs is not implemented")) -} - -func (UnimplementedAgentServiceHandler) GetSSTResources(context.Context, *connect.Request[gopb.GetSSTResourcesRequest]) (*connect.Response[gopb.SSTResourcesResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.GetSSTResources is not implemented")) -} - -func (UnimplementedAgentServiceHandler) SearchNixpkgs(context.Context, *connect.Request[gopb.SearchNixpkgsRequest]) (*connect.Response[gopb.SearchNixpkgsResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.SearchNixpkgs is not implemented")) -} - func (UnimplementedAgentServiceHandler) GetInstalledPackages(context.Context, *connect.Request[gopb.GetInstalledPackagesRequest]) (*connect.Response[gopb.InstalledPackagesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.GetInstalledPackages is not implemented")) } @@ -1461,10 +454,6 @@ func (UnimplementedAgentServiceHandler) GetProcesses(context.Context, *connect.R return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.GetProcesses is not implemented")) } -func (UnimplementedAgentServiceHandler) GetHealthchecks(context.Context, *connect.Request[gopb.GetHealthchecksRequest]) (*connect.Response[gopb.HealthchecksResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.GetHealthchecks is not implemented")) -} - func (UnimplementedAgentServiceHandler) PatchNixData(context.Context, *connect.Request[gopb.PatchNixDataRequest]) (*connect.Response[gopb.PatchNixDataResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.PatchNixData is not implemented")) } @@ -1473,10 +462,6 @@ func (UnimplementedAgentServiceHandler) GetNixConfig(context.Context, *connect.R return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.GetNixConfig is not implemented")) } -func (UnimplementedAgentServiceHandler) RefreshNixConfig(context.Context, *connect.Request[gopb.RefreshNixConfigRequest]) (*connect.Response[gopb.NixConfigResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.RefreshNixConfig is not implemented")) -} - func (UnimplementedAgentServiceHandler) GetShellStatus(context.Context, *connect.Request[gopb.GetShellStatusRequest]) (*connect.Response[gopb.ShellStatusResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("stackpanel.agent.AgentService.GetShellStatus is not implemented")) } diff --git a/packages/proto/gen/gopb/healthchecks.pb.go b/packages/proto/gen/gopb/healthchecks.pb.go index 52783c3b..35b18e3f 100644 --- a/packages/proto/gen/gopb/healthchecks.pb.go +++ b/packages/proto/gen/gopb/healthchecks.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.11 +// protoc-gen-go v1.36.12 // protoc (unknown) // source: healthchecks.proto diff --git a/packages/proto/gen/gopb/modules.pb.go b/packages/proto/gen/gopb/modules.pb.go index 59b72fdf..52a947d7 100644 --- a/packages/proto/gen/gopb/modules.pb.go +++ b/packages/proto/gen/gopb/modules.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.11 +// protoc-gen-go v1.36.12 // protoc (unknown) // source: modules.proto diff --git a/packages/proto/gen/gopb/onboarding.pb.go b/packages/proto/gen/gopb/onboarding.pb.go index f2c39565..d3f9801f 100644 --- a/packages/proto/gen/gopb/onboarding.pb.go +++ b/packages/proto/gen/gopb/onboarding.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.11 +// protoc-gen-go v1.36.12 // protoc (unknown) // source: onboarding.proto diff --git a/packages/proto/gen/gopb/options.pb.go b/packages/proto/gen/gopb/options.pb.go index 5fe63abd..88539d48 100644 --- a/packages/proto/gen/gopb/options.pb.go +++ b/packages/proto/gen/gopb/options.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.11 +// protoc-gen-go v1.36.12 // protoc (unknown) // source: options.proto diff --git a/packages/proto/gen/gopb/oxlint_app.pb.go b/packages/proto/gen/gopb/oxlint_app.pb.go index 6a53db27..e1f41699 100644 --- a/packages/proto/gen/gopb/oxlint_app.pb.go +++ b/packages/proto/gen/gopb/oxlint_app.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.11 +// protoc-gen-go v1.36.12 // protoc (unknown) // source: oxlint_app.proto diff --git a/packages/proto/gen/gopb/scripts.pb.go b/packages/proto/gen/gopb/scripts.pb.go index 8a3e1830..cd480225 100644 --- a/packages/proto/gen/gopb/scripts.pb.go +++ b/packages/proto/gen/gopb/scripts.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.11 +// protoc-gen-go v1.36.12 // protoc (unknown) // source: scripts.proto diff --git a/packages/proto/gen/gopb/secrets.pb.go b/packages/proto/gen/gopb/secrets.pb.go index b354f138..bd449595 100644 --- a/packages/proto/gen/gopb/secrets.pb.go +++ b/packages/proto/gen/gopb/secrets.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.11 +// protoc-gen-go v1.36.12 // protoc (unknown) // source: secrets.proto diff --git a/packages/proto/gen/gopb/services.pb.go b/packages/proto/gen/gopb/services.pb.go index c0e9901f..0059ef5b 100644 --- a/packages/proto/gen/gopb/services.pb.go +++ b/packages/proto/gen/gopb/services.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.11 +// protoc-gen-go v1.36.12 // protoc (unknown) // source: services.proto diff --git a/packages/proto/gen/gopb/shells.pb.go b/packages/proto/gen/gopb/shells.pb.go index 2c59dbf1..00a263fd 100644 --- a/packages/proto/gen/gopb/shells.pb.go +++ b/packages/proto/gen/gopb/shells.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.11 +// protoc-gen-go v1.36.12 // protoc (unknown) // source: shells.proto diff --git a/packages/proto/gen/gopb/sst.pb.go b/packages/proto/gen/gopb/sst.pb.go index 496540ec..017822d4 100644 --- a/packages/proto/gen/gopb/sst.pb.go +++ b/packages/proto/gen/gopb/sst.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.11 +// protoc-gen-go v1.36.12 // protoc (unknown) // source: sst.proto diff --git a/packages/proto/gen/gopb/step_ca.pb.go b/packages/proto/gen/gopb/step_ca.pb.go index 7725544d..bc10fd3b 100644 --- a/packages/proto/gen/gopb/step_ca.pb.go +++ b/packages/proto/gen/gopb/step_ca.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.11 +// protoc-gen-go v1.36.12 // protoc (unknown) // source: step_ca.proto diff --git a/packages/proto/gen/gopb/tasks.pb.go b/packages/proto/gen/gopb/tasks.pb.go index 125d3f68..17117fca 100644 --- a/packages/proto/gen/gopb/tasks.pb.go +++ b/packages/proto/gen/gopb/tasks.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.11 +// protoc-gen-go v1.36.12 // protoc (unknown) // source: tasks.proto diff --git a/packages/proto/gen/gopb/theme.pb.go b/packages/proto/gen/gopb/theme.pb.go index ce1b6383..6c43bfaa 100644 --- a/packages/proto/gen/gopb/theme.pb.go +++ b/packages/proto/gen/gopb/theme.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.11 +// protoc-gen-go v1.36.12 // protoc (unknown) // source: theme.proto diff --git a/packages/proto/gen/gopb/users.pb.go b/packages/proto/gen/gopb/users.pb.go index c7fa1bbc..12824183 100644 --- a/packages/proto/gen/gopb/users.pb.go +++ b/packages/proto/gen/gopb/users.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.11 +// protoc-gen-go v1.36.12 // protoc (unknown) // source: users.proto diff --git a/packages/proto/gen/gopb/variables.pb.go b/packages/proto/gen/gopb/variables.pb.go index f544f035..c1c073cb 100644 --- a/packages/proto/gen/gopb/variables.pb.go +++ b/packages/proto/gen/gopb/variables.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.11 +// protoc-gen-go v1.36.12 // protoc (unknown) // source: variables.proto diff --git a/packages/proto/gen/json/stackpanel.agent.AgeIdentityResponse.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.AgeIdentityResponse.jsonschema.bundle.json deleted file mode 100644 index 37d65709..00000000 --- a/packages/proto/gen/json/stackpanel.agent.AgeIdentityResponse.jsonschema.bundle.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.AgeIdentityResponse.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(key_path)$": { - "default": "", - "description": "KeyPath is the actual file path used for decryption", - "type": "string" - }, - "^(public_key)$": { - "default": "", - "description": "PublicKey is the derived public key (for AGE keys)", - "type": "string" - } - }, - "properties": { - "keyPath": { - "default": "", - "description": "KeyPath is the actual file path used for decryption", - "type": "string" - }, - "publicKey": { - "default": "", - "description": "PublicKey is the derived public key (for AGE keys)", - "type": "string" - }, - "type": { - "default": "", - "description": "Type is \"path\", \"key\", or \"\" (not configured)", - "type": "string" - }, - "value": { - "default": "", - "description": "Value is the path (if type=path) or \"(key stored)\" (if type=key)", - "type": "string" - } - }, - "title": "Age Identity Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.AgeIdentityResponse.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.AgeIdentityResponse.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.AgeIdentityResponse.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.AgeIdentityResponse.jsonschema.json deleted file mode 100644 index d3e97de0..00000000 --- a/packages/proto/gen/json/stackpanel.agent.AgeIdentityResponse.jsonschema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$id": "stackpanel.agent.AgeIdentityResponse.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(key_path)$": { - "default": "", - "description": "KeyPath is the actual file path used for decryption", - "type": "string" - }, - "^(public_key)$": { - "default": "", - "description": "PublicKey is the derived public key (for AGE keys)", - "type": "string" - } - }, - "properties": { - "keyPath": { - "default": "", - "description": "KeyPath is the actual file path used for decryption", - "type": "string" - }, - "publicKey": { - "default": "", - "description": "PublicKey is the derived public key (for AGE keys)", - "type": "string" - }, - "type": { - "default": "", - "description": "Type is \"path\", \"key\", or \"\" (not configured)", - "type": "string" - }, - "value": { - "default": "", - "description": "Value is the path (if type=path) or \"(key stored)\" (if type=key)", - "type": "string" - } - }, - "title": "Age Identity Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.AgeIdentityResponse.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.AgeIdentityResponse.jsonschema.strict.bundle.json deleted file mode 100644 index cd977e9e..00000000 --- a/packages/proto/gen/json/stackpanel.agent.AgeIdentityResponse.jsonschema.strict.bundle.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.AgeIdentityResponse.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "keyPath": { - "description": "KeyPath is the actual file path used for decryption", - "type": "string" - }, - "publicKey": { - "description": "PublicKey is the derived public key (for AGE keys)", - "type": "string" - }, - "type": { - "description": "Type is \"path\", \"key\", or \"\" (not configured)", - "type": "string" - }, - "value": { - "description": "Value is the path (if type=path) or \"(key stored)\" (if type=key)", - "type": "string" - } - }, - "required": [ - "type", - "value", - "keyPath", - "publicKey" - ], - "title": "Age Identity Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.AgeIdentityResponse.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.AgeIdentityResponse.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.AgeIdentityResponse.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.AgeIdentityResponse.jsonschema.strict.json deleted file mode 100644 index 7f2dc726..00000000 --- a/packages/proto/gen/json/stackpanel.agent.AgeIdentityResponse.jsonschema.strict.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "$id": "stackpanel.agent.AgeIdentityResponse.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "keyPath": { - "description": "KeyPath is the actual file path used for decryption", - "type": "string" - }, - "publicKey": { - "description": "PublicKey is the derived public key (for AGE keys)", - "type": "string" - }, - "type": { - "description": "Type is \"path\", \"key\", or \"\" (not configured)", - "type": "string" - }, - "value": { - "description": "Value is the path (if type=path) or \"(key stored)\" (if type=key)", - "type": "string" - } - }, - "required": [ - "type", - "value", - "keyPath", - "publicKey" - ], - "title": "Age Identity Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.AgeIdentityResponse.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.AgeIdentityResponse.schema.bundle.json deleted file mode 100644 index 9b2a3656..00000000 --- a/packages/proto/gen/json/stackpanel.agent.AgeIdentityResponse.schema.bundle.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.AgeIdentityResponse.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(keyPath)$": { - "default": "", - "description": "KeyPath is the actual file path used for decryption", - "type": "string" - }, - "^(publicKey)$": { - "default": "", - "description": "PublicKey is the derived public key (for AGE keys)", - "type": "string" - } - }, - "properties": { - "key_path": { - "default": "", - "description": "KeyPath is the actual file path used for decryption", - "type": "string" - }, - "public_key": { - "default": "", - "description": "PublicKey is the derived public key (for AGE keys)", - "type": "string" - }, - "type": { - "default": "", - "description": "Type is \"path\", \"key\", or \"\" (not configured)", - "type": "string" - }, - "value": { - "default": "", - "description": "Value is the path (if type=path) or \"(key stored)\" (if type=key)", - "type": "string" - } - }, - "title": "Age Identity Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.AgeIdentityResponse.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.AgeIdentityResponse.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.AgeIdentityResponse.schema.json b/packages/proto/gen/json/stackpanel.agent.AgeIdentityResponse.schema.json deleted file mode 100644 index cc6ede7d..00000000 --- a/packages/proto/gen/json/stackpanel.agent.AgeIdentityResponse.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$id": "stackpanel.agent.AgeIdentityResponse.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(keyPath)$": { - "default": "", - "description": "KeyPath is the actual file path used for decryption", - "type": "string" - }, - "^(publicKey)$": { - "default": "", - "description": "PublicKey is the derived public key (for AGE keys)", - "type": "string" - } - }, - "properties": { - "key_path": { - "default": "", - "description": "KeyPath is the actual file path used for decryption", - "type": "string" - }, - "public_key": { - "default": "", - "description": "PublicKey is the derived public key (for AGE keys)", - "type": "string" - }, - "type": { - "default": "", - "description": "Type is \"path\", \"key\", or \"\" (not configured)", - "type": "string" - }, - "value": { - "default": "", - "description": "Value is the path (if type=path) or \"(key stored)\" (if type=key)", - "type": "string" - } - }, - "title": "Age Identity Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.AgeIdentityResponse.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.AgeIdentityResponse.schema.strict.bundle.json deleted file mode 100644 index 1b0e4336..00000000 --- a/packages/proto/gen/json/stackpanel.agent.AgeIdentityResponse.schema.strict.bundle.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.AgeIdentityResponse.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "key_path": { - "description": "KeyPath is the actual file path used for decryption", - "type": "string" - }, - "public_key": { - "description": "PublicKey is the derived public key (for AGE keys)", - "type": "string" - }, - "type": { - "description": "Type is \"path\", \"key\", or \"\" (not configured)", - "type": "string" - }, - "value": { - "description": "Value is the path (if type=path) or \"(key stored)\" (if type=key)", - "type": "string" - } - }, - "required": [ - "type", - "value", - "key_path", - "public_key" - ], - "title": "Age Identity Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.AgeIdentityResponse.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.AgeIdentityResponse.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.AgeIdentityResponse.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.AgeIdentityResponse.schema.strict.json deleted file mode 100644 index 69cd0819..00000000 --- a/packages/proto/gen/json/stackpanel.agent.AgeIdentityResponse.schema.strict.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "$id": "stackpanel.agent.AgeIdentityResponse.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "key_path": { - "description": "KeyPath is the actual file path used for decryption", - "type": "string" - }, - "public_key": { - "description": "PublicKey is the derived public key (for AGE keys)", - "type": "string" - }, - "type": { - "description": "Type is \"path\", \"key\", or \"\" (not configured)", - "type": "string" - }, - "value": { - "description": "Value is the path (if type=path) or \"(key stored)\" (if type=key)", - "type": "string" - } - }, - "required": [ - "type", - "value", - "key_path", - "public_key" - ], - "title": "Age Identity Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.DeploySSTRequest.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.DeploySSTRequest.jsonschema.bundle.json deleted file mode 100644 index 17856258..00000000 --- a/packages/proto/gen/json/stackpanel.agent.DeploySSTRequest.jsonschema.bundle.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.DeploySSTRequest.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "stage": { - "default": "", - "type": "string" - } - }, - "title": "DeploySST Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.DeploySSTRequest.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.DeploySSTRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.DeploySSTRequest.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.DeploySSTRequest.jsonschema.json deleted file mode 100644 index 2a69a587..00000000 --- a/packages/proto/gen/json/stackpanel.agent.DeploySSTRequest.jsonschema.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "$id": "stackpanel.agent.DeploySSTRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "stage": { - "default": "", - "type": "string" - } - }, - "title": "DeploySST Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.DeploySSTRequest.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.DeploySSTRequest.jsonschema.strict.bundle.json deleted file mode 100644 index 416551e5..00000000 --- a/packages/proto/gen/json/stackpanel.agent.DeploySSTRequest.jsonschema.strict.bundle.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.DeploySSTRequest.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "stage": { - "type": "string" - } - }, - "required": [ - "stage" - ], - "title": "DeploySST Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.DeploySSTRequest.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.DeploySSTRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.DeploySSTRequest.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.DeploySSTRequest.jsonschema.strict.json deleted file mode 100644 index 3f5226b9..00000000 --- a/packages/proto/gen/json/stackpanel.agent.DeploySSTRequest.jsonschema.strict.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$id": "stackpanel.agent.DeploySSTRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "stage": { - "type": "string" - } - }, - "required": [ - "stage" - ], - "title": "DeploySST Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.DeploySSTRequest.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.DeploySSTRequest.schema.bundle.json deleted file mode 100644 index f57828e5..00000000 --- a/packages/proto/gen/json/stackpanel.agent.DeploySSTRequest.schema.bundle.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.DeploySSTRequest.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "stage": { - "default": "", - "type": "string" - } - }, - "title": "DeploySST Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.DeploySSTRequest.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.DeploySSTRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.DeploySSTRequest.schema.json b/packages/proto/gen/json/stackpanel.agent.DeploySSTRequest.schema.json deleted file mode 100644 index 5f608dfd..00000000 --- a/packages/proto/gen/json/stackpanel.agent.DeploySSTRequest.schema.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "$id": "stackpanel.agent.DeploySSTRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "stage": { - "default": "", - "type": "string" - } - }, - "title": "DeploySST Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.DeploySSTRequest.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.DeploySSTRequest.schema.strict.bundle.json deleted file mode 100644 index eebbab27..00000000 --- a/packages/proto/gen/json/stackpanel.agent.DeploySSTRequest.schema.strict.bundle.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.DeploySSTRequest.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "stage": { - "type": "string" - } - }, - "required": [ - "stage" - ], - "title": "DeploySST Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.DeploySSTRequest.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.DeploySSTRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.DeploySSTRequest.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.DeploySSTRequest.schema.strict.json deleted file mode 100644 index d9412e5c..00000000 --- a/packages/proto/gen/json/stackpanel.agent.DeploySSTRequest.schema.strict.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$id": "stackpanel.agent.DeploySSTRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "stage": { - "type": "string" - } - }, - "required": [ - "stage" - ], - "title": "DeploySST Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.DeploySSTResponse.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.DeploySSTResponse.jsonschema.bundle.json deleted file mode 100644 index 8abc7e7f..00000000 --- a/packages/proto/gen/json/stackpanel.agent.DeploySSTResponse.jsonschema.bundle.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.DeploySSTResponse.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "error": { - "default": "", - "type": "string" - }, - "output": { - "default": "", - "type": "string" - }, - "outputs": { - "additionalProperties": { - "type": "string" - }, - "propertyNames": { - "type": "string" - }, - "type": "object" - }, - "success": { - "default": false, - "type": "boolean" - } - }, - "title": "DeploySST Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.DeploySSTResponse.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.DeploySSTResponse.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.DeploySSTResponse.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.DeploySSTResponse.jsonschema.json deleted file mode 100644 index 44adac03..00000000 --- a/packages/proto/gen/json/stackpanel.agent.DeploySSTResponse.jsonschema.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$id": "stackpanel.agent.DeploySSTResponse.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "error": { - "default": "", - "type": "string" - }, - "output": { - "default": "", - "type": "string" - }, - "outputs": { - "additionalProperties": { - "type": "string" - }, - "propertyNames": { - "type": "string" - }, - "type": "object" - }, - "success": { - "default": false, - "type": "boolean" - } - }, - "title": "DeploySST Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.DeploySSTResponse.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.DeploySSTResponse.jsonschema.strict.bundle.json deleted file mode 100644 index 88930e50..00000000 --- a/packages/proto/gen/json/stackpanel.agent.DeploySSTResponse.jsonschema.strict.bundle.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.DeploySSTResponse.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "error": { - "type": "string" - }, - "output": { - "type": "string" - }, - "outputs": { - "additionalProperties": { - "type": "string" - }, - "propertyNames": { - "type": "string" - }, - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "success", - "output", - "error" - ], - "title": "DeploySST Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.DeploySSTResponse.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.DeploySSTResponse.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.DeploySSTResponse.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.DeploySSTResponse.jsonschema.strict.json deleted file mode 100644 index 1eda45b9..00000000 --- a/packages/proto/gen/json/stackpanel.agent.DeploySSTResponse.jsonschema.strict.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "$id": "stackpanel.agent.DeploySSTResponse.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "error": { - "type": "string" - }, - "output": { - "type": "string" - }, - "outputs": { - "additionalProperties": { - "type": "string" - }, - "propertyNames": { - "type": "string" - }, - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "success", - "output", - "error" - ], - "title": "DeploySST Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.DeploySSTResponse.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.DeploySSTResponse.schema.bundle.json deleted file mode 100644 index ae7d835d..00000000 --- a/packages/proto/gen/json/stackpanel.agent.DeploySSTResponse.schema.bundle.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.DeploySSTResponse.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "error": { - "default": "", - "type": "string" - }, - "output": { - "default": "", - "type": "string" - }, - "outputs": { - "additionalProperties": { - "type": "string" - }, - "propertyNames": { - "type": "string" - }, - "type": "object" - }, - "success": { - "default": false, - "type": "boolean" - } - }, - "title": "DeploySST Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.DeploySSTResponse.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.DeploySSTResponse.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.DeploySSTResponse.schema.json b/packages/proto/gen/json/stackpanel.agent.DeploySSTResponse.schema.json deleted file mode 100644 index d3b07f11..00000000 --- a/packages/proto/gen/json/stackpanel.agent.DeploySSTResponse.schema.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$id": "stackpanel.agent.DeploySSTResponse.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "error": { - "default": "", - "type": "string" - }, - "output": { - "default": "", - "type": "string" - }, - "outputs": { - "additionalProperties": { - "type": "string" - }, - "propertyNames": { - "type": "string" - }, - "type": "object" - }, - "success": { - "default": false, - "type": "boolean" - } - }, - "title": "DeploySST Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.DeploySSTResponse.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.DeploySSTResponse.schema.strict.bundle.json deleted file mode 100644 index fca5bdda..00000000 --- a/packages/proto/gen/json/stackpanel.agent.DeploySSTResponse.schema.strict.bundle.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.DeploySSTResponse.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "error": { - "type": "string" - }, - "output": { - "type": "string" - }, - "outputs": { - "additionalProperties": { - "type": "string" - }, - "propertyNames": { - "type": "string" - }, - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "success", - "output", - "error" - ], - "title": "DeploySST Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.DeploySSTResponse.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.DeploySSTResponse.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.DeploySSTResponse.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.DeploySSTResponse.schema.strict.json deleted file mode 100644 index 353d0612..00000000 --- a/packages/proto/gen/json/stackpanel.agent.DeploySSTResponse.schema.strict.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "$id": "stackpanel.agent.DeploySSTResponse.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "error": { - "type": "string" - }, - "output": { - "type": "string" - }, - "outputs": { - "additionalProperties": { - "type": "string" - }, - "propertyNames": { - "type": "string" - }, - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "success", - "output", - "error" - ], - "title": "DeploySST Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.FileInfo.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.FileInfo.jsonschema.bundle.json deleted file mode 100644 index bfbc936b..00000000 --- a/packages/proto/gen/json/stackpanel.agent.FileInfo.jsonschema.bundle.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.FileInfo.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(is_dir)$": { - "default": false, - "type": "boolean" - }, - "^(mod_time)$": { - "anyOf": [ - { - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - } - }, - "properties": { - "isDir": { - "default": false, - "type": "boolean" - }, - "modTime": { - "anyOf": [ - { - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - }, - "name": { - "default": "", - "type": "string" - }, - "path": { - "default": "", - "type": "string" - }, - "size": { - "anyOf": [ - { - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - } - }, - "title": "File Info", - "type": "object" - } - }, - "$id": "stackpanel.agent.FileInfo.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.FileInfo.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.FileInfo.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.FileInfo.jsonschema.json deleted file mode 100644 index d9ce5070..00000000 --- a/packages/proto/gen/json/stackpanel.agent.FileInfo.jsonschema.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "$id": "stackpanel.agent.FileInfo.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(is_dir)$": { - "default": false, - "type": "boolean" - }, - "^(mod_time)$": { - "anyOf": [ - { - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - } - }, - "properties": { - "isDir": { - "default": false, - "type": "boolean" - }, - "modTime": { - "anyOf": [ - { - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - }, - "name": { - "default": "", - "type": "string" - }, - "path": { - "default": "", - "type": "string" - }, - "size": { - "anyOf": [ - { - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - } - }, - "title": "File Info", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.FileInfo.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.FileInfo.jsonschema.strict.bundle.json deleted file mode 100644 index c9987e8a..00000000 --- a/packages/proto/gen/json/stackpanel.agent.FileInfo.jsonschema.strict.bundle.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.FileInfo.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "isDir": { - "type": "boolean" - }, - "modTime": { - "type": "integer" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "integer" - } - }, - "required": [ - "name", - "path", - "isDir", - "size", - "modTime" - ], - "title": "File Info", - "type": "object" - } - }, - "$id": "stackpanel.agent.FileInfo.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.FileInfo.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.FileInfo.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.FileInfo.jsonschema.strict.json deleted file mode 100644 index c85ee784..00000000 --- a/packages/proto/gen/json/stackpanel.agent.FileInfo.jsonschema.strict.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "$id": "stackpanel.agent.FileInfo.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "isDir": { - "type": "boolean" - }, - "modTime": { - "type": "integer" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "integer" - } - }, - "required": [ - "name", - "path", - "isDir", - "size", - "modTime" - ], - "title": "File Info", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.FileInfo.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.FileInfo.schema.bundle.json deleted file mode 100644 index 0e7b5515..00000000 --- a/packages/proto/gen/json/stackpanel.agent.FileInfo.schema.bundle.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.FileInfo.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(isDir)$": { - "default": false, - "type": "boolean" - }, - "^(modTime)$": { - "anyOf": [ - { - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - } - }, - "properties": { - "is_dir": { - "default": false, - "type": "boolean" - }, - "mod_time": { - "anyOf": [ - { - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - }, - "name": { - "default": "", - "type": "string" - }, - "path": { - "default": "", - "type": "string" - }, - "size": { - "anyOf": [ - { - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - } - }, - "title": "File Info", - "type": "object" - } - }, - "$id": "stackpanel.agent.FileInfo.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.FileInfo.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.FileInfo.schema.json b/packages/proto/gen/json/stackpanel.agent.FileInfo.schema.json deleted file mode 100644 index 16efc73d..00000000 --- a/packages/proto/gen/json/stackpanel.agent.FileInfo.schema.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "$id": "stackpanel.agent.FileInfo.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(isDir)$": { - "default": false, - "type": "boolean" - }, - "^(modTime)$": { - "anyOf": [ - { - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - } - }, - "properties": { - "is_dir": { - "default": false, - "type": "boolean" - }, - "mod_time": { - "anyOf": [ - { - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - }, - "name": { - "default": "", - "type": "string" - }, - "path": { - "default": "", - "type": "string" - }, - "size": { - "anyOf": [ - { - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - } - }, - "title": "File Info", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.FileInfo.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.FileInfo.schema.strict.bundle.json deleted file mode 100644 index c37a5b9b..00000000 --- a/packages/proto/gen/json/stackpanel.agent.FileInfo.schema.strict.bundle.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.FileInfo.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "is_dir": { - "type": "boolean" - }, - "mod_time": { - "type": "integer" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "integer" - } - }, - "required": [ - "name", - "path", - "is_dir", - "size", - "mod_time" - ], - "title": "File Info", - "type": "object" - } - }, - "$id": "stackpanel.agent.FileInfo.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.FileInfo.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.FileInfo.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.FileInfo.schema.strict.json deleted file mode 100644 index c565d67a..00000000 --- a/packages/proto/gen/json/stackpanel.agent.FileInfo.schema.strict.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "$id": "stackpanel.agent.FileInfo.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "is_dir": { - "type": "boolean" - }, - "mod_time": { - "type": "integer" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "integer" - } - }, - "required": [ - "name", - "path", - "is_dir", - "size", - "mod_time" - ], - "title": "File Info", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetAgeIdentityRequest.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetAgeIdentityRequest.jsonschema.bundle.json deleted file mode 100644 index fbd38bbe..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetAgeIdentityRequest.jsonschema.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetAgeIdentityRequest.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Age Identity Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetAgeIdentityRequest.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetAgeIdentityRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetAgeIdentityRequest.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.GetAgeIdentityRequest.jsonschema.json deleted file mode 100644 index 185f14df..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetAgeIdentityRequest.jsonschema.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetAgeIdentityRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Age Identity Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetAgeIdentityRequest.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetAgeIdentityRequest.jsonschema.strict.bundle.json deleted file mode 100644 index 9e7719e0..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetAgeIdentityRequest.jsonschema.strict.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetAgeIdentityRequest.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Age Identity Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetAgeIdentityRequest.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetAgeIdentityRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetAgeIdentityRequest.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.GetAgeIdentityRequest.jsonschema.strict.json deleted file mode 100644 index 092d2b88..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetAgeIdentityRequest.jsonschema.strict.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetAgeIdentityRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Age Identity Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetAgeIdentityRequest.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetAgeIdentityRequest.schema.bundle.json deleted file mode 100644 index b83f7dd6..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetAgeIdentityRequest.schema.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetAgeIdentityRequest.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Age Identity Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetAgeIdentityRequest.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetAgeIdentityRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetAgeIdentityRequest.schema.json b/packages/proto/gen/json/stackpanel.agent.GetAgeIdentityRequest.schema.json deleted file mode 100644 index 90273e13..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetAgeIdentityRequest.schema.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetAgeIdentityRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Age Identity Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetAgeIdentityRequest.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetAgeIdentityRequest.schema.strict.bundle.json deleted file mode 100644 index 4a7cbb93..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetAgeIdentityRequest.schema.strict.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetAgeIdentityRequest.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Age Identity Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetAgeIdentityRequest.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetAgeIdentityRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetAgeIdentityRequest.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.GetAgeIdentityRequest.schema.strict.json deleted file mode 100644 index a5d1a65f..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetAgeIdentityRequest.schema.strict.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetAgeIdentityRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Age Identity Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetAwsRequest.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetAwsRequest.jsonschema.bundle.json deleted file mode 100644 index 9ed10f81..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetAwsRequest.jsonschema.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetAwsRequest.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Aws Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetAwsRequest.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetAwsRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetAwsRequest.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.GetAwsRequest.jsonschema.json deleted file mode 100644 index cada220c..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetAwsRequest.jsonschema.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetAwsRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Aws Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetAwsRequest.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetAwsRequest.jsonschema.strict.bundle.json deleted file mode 100644 index ad426720..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetAwsRequest.jsonschema.strict.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetAwsRequest.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Aws Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetAwsRequest.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetAwsRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetAwsRequest.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.GetAwsRequest.jsonschema.strict.json deleted file mode 100644 index dbae32d1..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetAwsRequest.jsonschema.strict.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetAwsRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Aws Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetAwsRequest.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetAwsRequest.schema.bundle.json deleted file mode 100644 index 03578fe6..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetAwsRequest.schema.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetAwsRequest.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Aws Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetAwsRequest.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetAwsRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetAwsRequest.schema.json b/packages/proto/gen/json/stackpanel.agent.GetAwsRequest.schema.json deleted file mode 100644 index 239909b1..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetAwsRequest.schema.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetAwsRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Aws Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetAwsRequest.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetAwsRequest.schema.strict.bundle.json deleted file mode 100644 index 2f4ed9e9..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetAwsRequest.schema.strict.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetAwsRequest.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Aws Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetAwsRequest.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetAwsRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetAwsRequest.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.GetAwsRequest.schema.strict.json deleted file mode 100644 index be426893..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetAwsRequest.schema.strict.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetAwsRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Aws Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetConfigRequest.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetConfigRequest.jsonschema.bundle.json deleted file mode 100644 index 8306f74f..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetConfigRequest.jsonschema.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetConfigRequest.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Config Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetConfigRequest.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetConfigRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetConfigRequest.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.GetConfigRequest.jsonschema.json deleted file mode 100644 index c2379e57..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetConfigRequest.jsonschema.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetConfigRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Config Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetConfigRequest.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetConfigRequest.jsonschema.strict.bundle.json deleted file mode 100644 index 525b11e9..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetConfigRequest.jsonschema.strict.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetConfigRequest.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Config Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetConfigRequest.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetConfigRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetConfigRequest.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.GetConfigRequest.jsonschema.strict.json deleted file mode 100644 index a84c061d..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetConfigRequest.jsonschema.strict.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetConfigRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Config Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetConfigRequest.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetConfigRequest.schema.bundle.json deleted file mode 100644 index 14151d0e..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetConfigRequest.schema.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetConfigRequest.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Config Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetConfigRequest.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetConfigRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetConfigRequest.schema.json b/packages/proto/gen/json/stackpanel.agent.GetConfigRequest.schema.json deleted file mode 100644 index 447db0db..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetConfigRequest.schema.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetConfigRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Config Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetConfigRequest.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetConfigRequest.schema.strict.bundle.json deleted file mode 100644 index 0665633e..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetConfigRequest.schema.strict.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetConfigRequest.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Config Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetConfigRequest.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetConfigRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetConfigRequest.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.GetConfigRequest.schema.strict.json deleted file mode 100644 index 46882ad1..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetConfigRequest.schema.strict.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetConfigRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Config Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetHealthchecksRequest.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetHealthchecksRequest.jsonschema.bundle.json deleted file mode 100644 index 64eca79d..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetHealthchecksRequest.jsonschema.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetHealthchecksRequest.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Healthchecks Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetHealthchecksRequest.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetHealthchecksRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetHealthchecksRequest.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.GetHealthchecksRequest.jsonschema.json deleted file mode 100644 index 1135f26b..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetHealthchecksRequest.jsonschema.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetHealthchecksRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Healthchecks Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetHealthchecksRequest.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetHealthchecksRequest.jsonschema.strict.bundle.json deleted file mode 100644 index 1953b6c6..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetHealthchecksRequest.jsonschema.strict.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetHealthchecksRequest.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Healthchecks Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetHealthchecksRequest.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetHealthchecksRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetHealthchecksRequest.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.GetHealthchecksRequest.jsonschema.strict.json deleted file mode 100644 index 06c17869..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetHealthchecksRequest.jsonschema.strict.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetHealthchecksRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Healthchecks Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetHealthchecksRequest.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetHealthchecksRequest.schema.bundle.json deleted file mode 100644 index bb89bb52..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetHealthchecksRequest.schema.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetHealthchecksRequest.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Healthchecks Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetHealthchecksRequest.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetHealthchecksRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetHealthchecksRequest.schema.json b/packages/proto/gen/json/stackpanel.agent.GetHealthchecksRequest.schema.json deleted file mode 100644 index b0740d6e..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetHealthchecksRequest.schema.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetHealthchecksRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Healthchecks Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetHealthchecksRequest.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetHealthchecksRequest.schema.strict.bundle.json deleted file mode 100644 index 9ae3a4fa..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetHealthchecksRequest.schema.strict.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetHealthchecksRequest.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Healthchecks Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetHealthchecksRequest.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetHealthchecksRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetHealthchecksRequest.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.GetHealthchecksRequest.schema.strict.json deleted file mode 100644 index 50d09a5a..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetHealthchecksRequest.schema.strict.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetHealthchecksRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Healthchecks Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetKMSConfigRequest.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetKMSConfigRequest.jsonschema.bundle.json deleted file mode 100644 index ff12171e..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetKMSConfigRequest.jsonschema.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetKMSConfigRequest.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetKMS Config Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetKMSConfigRequest.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetKMSConfigRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetKMSConfigRequest.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.GetKMSConfigRequest.jsonschema.json deleted file mode 100644 index 3ee1340d..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetKMSConfigRequest.jsonschema.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetKMSConfigRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetKMS Config Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetKMSConfigRequest.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetKMSConfigRequest.jsonschema.strict.bundle.json deleted file mode 100644 index d61c9ec6..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetKMSConfigRequest.jsonschema.strict.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetKMSConfigRequest.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetKMS Config Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetKMSConfigRequest.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetKMSConfigRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetKMSConfigRequest.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.GetKMSConfigRequest.jsonschema.strict.json deleted file mode 100644 index 0ee38191..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetKMSConfigRequest.jsonschema.strict.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetKMSConfigRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetKMS Config Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetKMSConfigRequest.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetKMSConfigRequest.schema.bundle.json deleted file mode 100644 index 0bc675e6..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetKMSConfigRequest.schema.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetKMSConfigRequest.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetKMS Config Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetKMSConfigRequest.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetKMSConfigRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetKMSConfigRequest.schema.json b/packages/proto/gen/json/stackpanel.agent.GetKMSConfigRequest.schema.json deleted file mode 100644 index 9d7d62b0..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetKMSConfigRequest.schema.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetKMSConfigRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetKMS Config Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetKMSConfigRequest.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetKMSConfigRequest.schema.strict.bundle.json deleted file mode 100644 index 1e384e3e..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetKMSConfigRequest.schema.strict.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetKMSConfigRequest.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetKMS Config Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetKMSConfigRequest.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetKMSConfigRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetKMSConfigRequest.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.GetKMSConfigRequest.schema.strict.json deleted file mode 100644 index 36dd1a63..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetKMSConfigRequest.schema.strict.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetKMSConfigRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetKMS Config Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetModuleRequest.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetModuleRequest.jsonschema.bundle.json deleted file mode 100644 index ea54599d..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetModuleRequest.jsonschema.bundle.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetModuleRequest.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(module_id)$": { - "default": "", - "type": "string" - } - }, - "properties": { - "moduleId": { - "default": "", - "type": "string" - } - }, - "title": "Get Module Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetModuleRequest.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetModuleRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetModuleRequest.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.GetModuleRequest.jsonschema.json deleted file mode 100644 index 463feae9..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetModuleRequest.jsonschema.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$id": "stackpanel.agent.GetModuleRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(module_id)$": { - "default": "", - "type": "string" - } - }, - "properties": { - "moduleId": { - "default": "", - "type": "string" - } - }, - "title": "Get Module Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetModuleRequest.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetModuleRequest.jsonschema.strict.bundle.json deleted file mode 100644 index 56fc8a8f..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetModuleRequest.jsonschema.strict.bundle.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetModuleRequest.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "moduleId": { - "type": "string" - } - }, - "required": [ - "moduleId" - ], - "title": "Get Module Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetModuleRequest.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetModuleRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetModuleRequest.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.GetModuleRequest.jsonschema.strict.json deleted file mode 100644 index dc9ddc01..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetModuleRequest.jsonschema.strict.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$id": "stackpanel.agent.GetModuleRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "moduleId": { - "type": "string" - } - }, - "required": [ - "moduleId" - ], - "title": "Get Module Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetModuleRequest.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetModuleRequest.schema.bundle.json deleted file mode 100644 index ac97d195..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetModuleRequest.schema.bundle.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetModuleRequest.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(moduleId)$": { - "default": "", - "type": "string" - } - }, - "properties": { - "module_id": { - "default": "", - "type": "string" - } - }, - "title": "Get Module Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetModuleRequest.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetModuleRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetModuleRequest.schema.json b/packages/proto/gen/json/stackpanel.agent.GetModuleRequest.schema.json deleted file mode 100644 index ed45591f..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetModuleRequest.schema.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$id": "stackpanel.agent.GetModuleRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(moduleId)$": { - "default": "", - "type": "string" - } - }, - "properties": { - "module_id": { - "default": "", - "type": "string" - } - }, - "title": "Get Module Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetModuleRequest.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetModuleRequest.schema.strict.bundle.json deleted file mode 100644 index d7a86888..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetModuleRequest.schema.strict.bundle.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetModuleRequest.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "module_id": { - "type": "string" - } - }, - "required": [ - "module_id" - ], - "title": "Get Module Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetModuleRequest.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetModuleRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetModuleRequest.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.GetModuleRequest.schema.strict.json deleted file mode 100644 index b6df772a..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetModuleRequest.schema.strict.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$id": "stackpanel.agent.GetModuleRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "module_id": { - "type": "string" - } - }, - "required": [ - "module_id" - ], - "title": "Get Module Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetModulesRequest.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetModulesRequest.jsonschema.bundle.json deleted file mode 100644 index 6391cf91..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetModulesRequest.jsonschema.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetModulesRequest.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Modules Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetModulesRequest.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetModulesRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetModulesRequest.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.GetModulesRequest.jsonschema.json deleted file mode 100644 index ffe25ca5..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetModulesRequest.jsonschema.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetModulesRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Modules Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetModulesRequest.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetModulesRequest.jsonschema.strict.bundle.json deleted file mode 100644 index 9de88cb7..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetModulesRequest.jsonschema.strict.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetModulesRequest.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Modules Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetModulesRequest.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetModulesRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetModulesRequest.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.GetModulesRequest.jsonschema.strict.json deleted file mode 100644 index 26384b46..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetModulesRequest.jsonschema.strict.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetModulesRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Modules Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetModulesRequest.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetModulesRequest.schema.bundle.json deleted file mode 100644 index da0db49e..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetModulesRequest.schema.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetModulesRequest.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Modules Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetModulesRequest.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetModulesRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetModulesRequest.schema.json b/packages/proto/gen/json/stackpanel.agent.GetModulesRequest.schema.json deleted file mode 100644 index 44a9c871..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetModulesRequest.schema.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetModulesRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Modules Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetModulesRequest.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetModulesRequest.schema.strict.bundle.json deleted file mode 100644 index 3e96578a..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetModulesRequest.schema.strict.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetModulesRequest.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Modules Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetModulesRequest.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetModulesRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetModulesRequest.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.GetModulesRequest.schema.strict.json deleted file mode 100644 index 56697ab1..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetModulesRequest.schema.strict.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetModulesRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Modules Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSSTConfigRequest.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetSSTConfigRequest.jsonschema.bundle.json deleted file mode 100644 index 1639fb89..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSSTConfigRequest.jsonschema.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetSSTConfigRequest.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetSST Config Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetSSTConfigRequest.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetSSTConfigRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSSTConfigRequest.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.GetSSTConfigRequest.jsonschema.json deleted file mode 100644 index f352a9cb..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSSTConfigRequest.jsonschema.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetSSTConfigRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetSST Config Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSSTConfigRequest.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetSSTConfigRequest.jsonschema.strict.bundle.json deleted file mode 100644 index e7f71ead..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSSTConfigRequest.jsonschema.strict.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetSSTConfigRequest.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetSST Config Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetSSTConfigRequest.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetSSTConfigRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSSTConfigRequest.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.GetSSTConfigRequest.jsonschema.strict.json deleted file mode 100644 index 75fb1e63..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSSTConfigRequest.jsonschema.strict.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetSSTConfigRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetSST Config Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSSTConfigRequest.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetSSTConfigRequest.schema.bundle.json deleted file mode 100644 index b8987f69..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSSTConfigRequest.schema.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetSSTConfigRequest.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetSST Config Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetSSTConfigRequest.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetSSTConfigRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSSTConfigRequest.schema.json b/packages/proto/gen/json/stackpanel.agent.GetSSTConfigRequest.schema.json deleted file mode 100644 index 986841dc..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSSTConfigRequest.schema.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetSSTConfigRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetSST Config Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSSTConfigRequest.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetSSTConfigRequest.schema.strict.bundle.json deleted file mode 100644 index 504782f5..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSSTConfigRequest.schema.strict.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetSSTConfigRequest.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetSST Config Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetSSTConfigRequest.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetSSTConfigRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSSTConfigRequest.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.GetSSTConfigRequest.schema.strict.json deleted file mode 100644 index 3b6c22da..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSSTConfigRequest.schema.strict.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetSSTConfigRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetSST Config Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSSTOutputsRequest.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetSSTOutputsRequest.jsonschema.bundle.json deleted file mode 100644 index bb732e39..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSSTOutputsRequest.jsonschema.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetSSTOutputsRequest.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetSST Outputs Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetSSTOutputsRequest.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetSSTOutputsRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSSTOutputsRequest.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.GetSSTOutputsRequest.jsonschema.json deleted file mode 100644 index f4a63672..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSSTOutputsRequest.jsonschema.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetSSTOutputsRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetSST Outputs Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSSTOutputsRequest.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetSSTOutputsRequest.jsonschema.strict.bundle.json deleted file mode 100644 index 23961d0e..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSSTOutputsRequest.jsonschema.strict.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetSSTOutputsRequest.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetSST Outputs Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetSSTOutputsRequest.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetSSTOutputsRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSSTOutputsRequest.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.GetSSTOutputsRequest.jsonschema.strict.json deleted file mode 100644 index 3294aff1..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSSTOutputsRequest.jsonschema.strict.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetSSTOutputsRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetSST Outputs Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSSTOutputsRequest.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetSSTOutputsRequest.schema.bundle.json deleted file mode 100644 index 0ad654f3..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSSTOutputsRequest.schema.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetSSTOutputsRequest.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetSST Outputs Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetSSTOutputsRequest.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetSSTOutputsRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSSTOutputsRequest.schema.json b/packages/proto/gen/json/stackpanel.agent.GetSSTOutputsRequest.schema.json deleted file mode 100644 index 9e123ad1..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSSTOutputsRequest.schema.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetSSTOutputsRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetSST Outputs Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSSTOutputsRequest.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetSSTOutputsRequest.schema.strict.bundle.json deleted file mode 100644 index 2f64742e..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSSTOutputsRequest.schema.strict.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetSSTOutputsRequest.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetSST Outputs Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetSSTOutputsRequest.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetSSTOutputsRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSSTOutputsRequest.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.GetSSTOutputsRequest.schema.strict.json deleted file mode 100644 index 07c865f6..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSSTOutputsRequest.schema.strict.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetSSTOutputsRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetSST Outputs Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSSTResourcesRequest.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetSSTResourcesRequest.jsonschema.bundle.json deleted file mode 100644 index 9cf023d2..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSSTResourcesRequest.jsonschema.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetSSTResourcesRequest.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetSST Resources Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetSSTResourcesRequest.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetSSTResourcesRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSSTResourcesRequest.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.GetSSTResourcesRequest.jsonschema.json deleted file mode 100644 index 154d2a81..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSSTResourcesRequest.jsonschema.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetSSTResourcesRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetSST Resources Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSSTResourcesRequest.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetSSTResourcesRequest.jsonschema.strict.bundle.json deleted file mode 100644 index 586044d7..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSSTResourcesRequest.jsonschema.strict.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetSSTResourcesRequest.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetSST Resources Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetSSTResourcesRequest.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetSSTResourcesRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSSTResourcesRequest.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.GetSSTResourcesRequest.jsonschema.strict.json deleted file mode 100644 index fc4e35fc..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSSTResourcesRequest.jsonschema.strict.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetSSTResourcesRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetSST Resources Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSSTResourcesRequest.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetSSTResourcesRequest.schema.bundle.json deleted file mode 100644 index cf9d8b3d..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSSTResourcesRequest.schema.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetSSTResourcesRequest.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetSST Resources Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetSSTResourcesRequest.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetSSTResourcesRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSSTResourcesRequest.schema.json b/packages/proto/gen/json/stackpanel.agent.GetSSTResourcesRequest.schema.json deleted file mode 100644 index 97babb3d..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSSTResourcesRequest.schema.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetSSTResourcesRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetSST Resources Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSSTResourcesRequest.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetSSTResourcesRequest.schema.strict.bundle.json deleted file mode 100644 index a1b62076..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSSTResourcesRequest.schema.strict.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetSSTResourcesRequest.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetSST Resources Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetSSTResourcesRequest.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetSSTResourcesRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSSTResourcesRequest.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.GetSSTResourcesRequest.schema.strict.json deleted file mode 100644 index ca354bbf..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSSTResourcesRequest.schema.strict.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetSSTResourcesRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetSST Resources Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSSTStatusRequest.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetSSTStatusRequest.jsonschema.bundle.json deleted file mode 100644 index 4bd84a21..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSSTStatusRequest.jsonschema.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetSSTStatusRequest.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetSST Status Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetSSTStatusRequest.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetSSTStatusRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSSTStatusRequest.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.GetSSTStatusRequest.jsonschema.json deleted file mode 100644 index 10b32219..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSSTStatusRequest.jsonschema.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetSSTStatusRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetSST Status Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSSTStatusRequest.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetSSTStatusRequest.jsonschema.strict.bundle.json deleted file mode 100644 index cdc4f831..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSSTStatusRequest.jsonschema.strict.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetSSTStatusRequest.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetSST Status Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetSSTStatusRequest.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetSSTStatusRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSSTStatusRequest.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.GetSSTStatusRequest.jsonschema.strict.json deleted file mode 100644 index 93c8a439..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSSTStatusRequest.jsonschema.strict.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetSSTStatusRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetSST Status Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSSTStatusRequest.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetSSTStatusRequest.schema.bundle.json deleted file mode 100644 index 43424233..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSSTStatusRequest.schema.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetSSTStatusRequest.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetSST Status Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetSSTStatusRequest.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetSSTStatusRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSSTStatusRequest.schema.json b/packages/proto/gen/json/stackpanel.agent.GetSSTStatusRequest.schema.json deleted file mode 100644 index 5971c3fc..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSSTStatusRequest.schema.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetSSTStatusRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetSST Status Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSSTStatusRequest.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetSSTStatusRequest.schema.strict.bundle.json deleted file mode 100644 index f34fc3d2..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSSTStatusRequest.schema.strict.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetSSTStatusRequest.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetSST Status Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetSSTStatusRequest.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetSSTStatusRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSSTStatusRequest.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.GetSSTStatusRequest.schema.strict.json deleted file mode 100644 index 87790f7f..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSSTStatusRequest.schema.strict.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetSSTStatusRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "GetSST Status Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetServicesStatusRequest.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetServicesStatusRequest.jsonschema.bundle.json deleted file mode 100644 index b02a210d..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetServicesStatusRequest.jsonschema.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetServicesStatusRequest.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Services Status Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetServicesStatusRequest.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetServicesStatusRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetServicesStatusRequest.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.GetServicesStatusRequest.jsonschema.json deleted file mode 100644 index 12396d11..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetServicesStatusRequest.jsonschema.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetServicesStatusRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Services Status Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetServicesStatusRequest.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetServicesStatusRequest.jsonschema.strict.bundle.json deleted file mode 100644 index 32bae1e6..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetServicesStatusRequest.jsonschema.strict.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetServicesStatusRequest.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Services Status Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetServicesStatusRequest.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetServicesStatusRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetServicesStatusRequest.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.GetServicesStatusRequest.jsonschema.strict.json deleted file mode 100644 index c3398ef4..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetServicesStatusRequest.jsonschema.strict.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetServicesStatusRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Services Status Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetServicesStatusRequest.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetServicesStatusRequest.schema.bundle.json deleted file mode 100644 index 6d3fa3b6..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetServicesStatusRequest.schema.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetServicesStatusRequest.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Services Status Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetServicesStatusRequest.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetServicesStatusRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetServicesStatusRequest.schema.json b/packages/proto/gen/json/stackpanel.agent.GetServicesStatusRequest.schema.json deleted file mode 100644 index 75ae57f2..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetServicesStatusRequest.schema.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetServicesStatusRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Services Status Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetServicesStatusRequest.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetServicesStatusRequest.schema.strict.bundle.json deleted file mode 100644 index 90e77b83..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetServicesStatusRequest.schema.strict.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetServicesStatusRequest.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Services Status Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetServicesStatusRequest.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetServicesStatusRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetServicesStatusRequest.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.GetServicesStatusRequest.schema.strict.json deleted file mode 100644 index e5e9a934..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetServicesStatusRequest.schema.strict.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetServicesStatusRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Services Status Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetServicesStatusResponse.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetServicesStatusResponse.jsonschema.bundle.json deleted file mode 100644 index dbf73f8a..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetServicesStatusResponse.jsonschema.bundle.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetServicesStatusResponse.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "running": { - "default": false, - "type": "boolean" - }, - "services": { - "items": { - "$ref": "#/$defs/stackpanel.agent.ServiceStatus.jsonschema.json" - }, - "type": "array" - } - }, - "title": "Get Services Status Response", - "type": "object" - }, - "stackpanel.agent.ServiceStatus.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "name": { - "default": "", - "type": "string" - }, - "pid": { - "anyOf": [ - { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - }, - "status": { - "default": "", - "type": "string" - }, - "uptime": { - "anyOf": [ - { - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - } - }, - "title": "Service Status", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetServicesStatusResponse.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetServicesStatusResponse.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetServicesStatusResponse.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.GetServicesStatusResponse.jsonschema.json deleted file mode 100644 index 44dc8b66..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetServicesStatusResponse.jsonschema.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$id": "stackpanel.agent.GetServicesStatusResponse.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "running": { - "default": false, - "type": "boolean" - }, - "services": { - "items": { - "$ref": "stackpanel.agent.ServiceStatus.jsonschema.json" - }, - "type": "array" - } - }, - "title": "Get Services Status Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetServicesStatusResponse.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetServicesStatusResponse.jsonschema.strict.bundle.json deleted file mode 100644 index d8e9fa5d..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetServicesStatusResponse.jsonschema.strict.bundle.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetServicesStatusResponse.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "running": { - "type": "boolean" - }, - "services": { - "items": { - "$ref": "#/$defs/stackpanel.agent.ServiceStatus.jsonschema.strict.json" - }, - "type": "array" - } - }, - "required": [ - "running" - ], - "title": "Get Services Status Response", - "type": "object" - }, - "stackpanel.agent.ServiceStatus.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "name": { - "type": "string" - }, - "pid": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - }, - "status": { - "type": "string" - }, - "uptime": { - "type": "integer" - } - }, - "required": [ - "name", - "status", - "pid", - "uptime" - ], - "title": "Service Status", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetServicesStatusResponse.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetServicesStatusResponse.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetServicesStatusResponse.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.GetServicesStatusResponse.jsonschema.strict.json deleted file mode 100644 index 2cc201f5..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetServicesStatusResponse.jsonschema.strict.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$id": "stackpanel.agent.GetServicesStatusResponse.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "running": { - "type": "boolean" - }, - "services": { - "items": { - "$ref": "stackpanel.agent.ServiceStatus.jsonschema.strict.json" - }, - "type": "array" - } - }, - "required": [ - "running" - ], - "title": "Get Services Status Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetServicesStatusResponse.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetServicesStatusResponse.schema.bundle.json deleted file mode 100644 index a29540f5..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetServicesStatusResponse.schema.bundle.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetServicesStatusResponse.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "running": { - "default": false, - "type": "boolean" - }, - "services": { - "items": { - "$ref": "#/$defs/stackpanel.agent.ServiceStatus.schema.json" - }, - "type": "array" - } - }, - "title": "Get Services Status Response", - "type": "object" - }, - "stackpanel.agent.ServiceStatus.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "name": { - "default": "", - "type": "string" - }, - "pid": { - "anyOf": [ - { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - }, - "status": { - "default": "", - "type": "string" - }, - "uptime": { - "anyOf": [ - { - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - } - }, - "title": "Service Status", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetServicesStatusResponse.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetServicesStatusResponse.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetServicesStatusResponse.schema.json b/packages/proto/gen/json/stackpanel.agent.GetServicesStatusResponse.schema.json deleted file mode 100644 index c9bd4c49..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetServicesStatusResponse.schema.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$id": "stackpanel.agent.GetServicesStatusResponse.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "running": { - "default": false, - "type": "boolean" - }, - "services": { - "items": { - "$ref": "stackpanel.agent.ServiceStatus.schema.json" - }, - "type": "array" - } - }, - "title": "Get Services Status Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetServicesStatusResponse.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetServicesStatusResponse.schema.strict.bundle.json deleted file mode 100644 index 60f4ea98..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetServicesStatusResponse.schema.strict.bundle.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetServicesStatusResponse.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "running": { - "type": "boolean" - }, - "services": { - "items": { - "$ref": "#/$defs/stackpanel.agent.ServiceStatus.schema.strict.json" - }, - "type": "array" - } - }, - "required": [ - "running" - ], - "title": "Get Services Status Response", - "type": "object" - }, - "stackpanel.agent.ServiceStatus.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "name": { - "type": "string" - }, - "pid": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - }, - "status": { - "type": "string" - }, - "uptime": { - "type": "integer" - } - }, - "required": [ - "name", - "status", - "pid", - "uptime" - ], - "title": "Service Status", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetServicesStatusResponse.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetServicesStatusResponse.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetServicesStatusResponse.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.GetServicesStatusResponse.schema.strict.json deleted file mode 100644 index e7475dfc..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetServicesStatusResponse.schema.strict.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$id": "stackpanel.agent.GetServicesStatusResponse.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "running": { - "type": "boolean" - }, - "services": { - "items": { - "$ref": "stackpanel.agent.ServiceStatus.schema.strict.json" - }, - "type": "array" - } - }, - "required": [ - "running" - ], - "title": "Get Services Status Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSstRequest.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetSstRequest.jsonschema.bundle.json deleted file mode 100644 index 46ca560a..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSstRequest.jsonschema.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetSstRequest.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Sst Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetSstRequest.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetSstRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSstRequest.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.GetSstRequest.jsonschema.json deleted file mode 100644 index 9c02022e..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSstRequest.jsonschema.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetSstRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Sst Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSstRequest.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetSstRequest.jsonschema.strict.bundle.json deleted file mode 100644 index 6e3efeb9..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSstRequest.jsonschema.strict.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetSstRequest.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Sst Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetSstRequest.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetSstRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSstRequest.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.GetSstRequest.jsonschema.strict.json deleted file mode 100644 index 851085a0..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSstRequest.jsonschema.strict.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetSstRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Sst Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSstRequest.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetSstRequest.schema.bundle.json deleted file mode 100644 index d90f70cd..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSstRequest.schema.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetSstRequest.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Sst Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetSstRequest.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetSstRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSstRequest.schema.json b/packages/proto/gen/json/stackpanel.agent.GetSstRequest.schema.json deleted file mode 100644 index ba707a08..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSstRequest.schema.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetSstRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Sst Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSstRequest.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.GetSstRequest.schema.strict.bundle.json deleted file mode 100644 index 2297e8fb..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSstRequest.schema.strict.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.GetSstRequest.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Sst Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.GetSstRequest.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.GetSstRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.GetSstRequest.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.GetSstRequest.schema.strict.json deleted file mode 100644 index c716ebdd..00000000 --- a/packages/proto/gen/json/stackpanel.agent.GetSstRequest.schema.strict.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.GetSstRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Get Sst Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.HealthcheckInfo.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.HealthcheckInfo.jsonschema.bundle.json deleted file mode 100644 index d921386f..00000000 --- a/packages/proto/gen/json/stackpanel.agent.HealthcheckInfo.jsonschema.bundle.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.HealthcheckInfo.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "description": "Simple healthcheck info for RPC responses (distinct from db.HealthcheckResult)", - "properties": { - "details": { - "default": "", - "type": "string" - }, - "healthy": { - "default": false, - "type": "boolean" - }, - "message": { - "default": "", - "type": "string" - }, - "name": { - "default": "", - "type": "string" - }, - "type": { - "default": "", - "type": "string" - } - }, - "title": "Healthcheck Info", - "type": "object" - } - }, - "$id": "stackpanel.agent.HealthcheckInfo.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.HealthcheckInfo.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.HealthcheckInfo.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.HealthcheckInfo.jsonschema.json deleted file mode 100644 index 89750833..00000000 --- a/packages/proto/gen/json/stackpanel.agent.HealthcheckInfo.jsonschema.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$id": "stackpanel.agent.HealthcheckInfo.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "description": "Simple healthcheck info for RPC responses (distinct from db.HealthcheckResult)", - "properties": { - "details": { - "default": "", - "type": "string" - }, - "healthy": { - "default": false, - "type": "boolean" - }, - "message": { - "default": "", - "type": "string" - }, - "name": { - "default": "", - "type": "string" - }, - "type": { - "default": "", - "type": "string" - } - }, - "title": "Healthcheck Info", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.HealthcheckInfo.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.HealthcheckInfo.jsonschema.strict.bundle.json deleted file mode 100644 index 214de249..00000000 --- a/packages/proto/gen/json/stackpanel.agent.HealthcheckInfo.jsonschema.strict.bundle.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.HealthcheckInfo.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "description": "Simple healthcheck info for RPC responses (distinct from db.HealthcheckResult)", - "properties": { - "details": { - "type": "string" - }, - "healthy": { - "type": "boolean" - }, - "message": { - "type": "string" - }, - "name": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "name", - "type", - "healthy", - "message", - "details" - ], - "title": "Healthcheck Info", - "type": "object" - } - }, - "$id": "stackpanel.agent.HealthcheckInfo.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.HealthcheckInfo.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.HealthcheckInfo.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.HealthcheckInfo.jsonschema.strict.json deleted file mode 100644 index 1e858a1a..00000000 --- a/packages/proto/gen/json/stackpanel.agent.HealthcheckInfo.jsonschema.strict.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "$id": "stackpanel.agent.HealthcheckInfo.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "description": "Simple healthcheck info for RPC responses (distinct from db.HealthcheckResult)", - "properties": { - "details": { - "type": "string" - }, - "healthy": { - "type": "boolean" - }, - "message": { - "type": "string" - }, - "name": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "name", - "type", - "healthy", - "message", - "details" - ], - "title": "Healthcheck Info", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.HealthcheckInfo.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.HealthcheckInfo.schema.bundle.json deleted file mode 100644 index 50198ec2..00000000 --- a/packages/proto/gen/json/stackpanel.agent.HealthcheckInfo.schema.bundle.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.HealthcheckInfo.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "description": "Simple healthcheck info for RPC responses (distinct from db.HealthcheckResult)", - "properties": { - "details": { - "default": "", - "type": "string" - }, - "healthy": { - "default": false, - "type": "boolean" - }, - "message": { - "default": "", - "type": "string" - }, - "name": { - "default": "", - "type": "string" - }, - "type": { - "default": "", - "type": "string" - } - }, - "title": "Healthcheck Info", - "type": "object" - } - }, - "$id": "stackpanel.agent.HealthcheckInfo.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.HealthcheckInfo.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.HealthcheckInfo.schema.json b/packages/proto/gen/json/stackpanel.agent.HealthcheckInfo.schema.json deleted file mode 100644 index 1c9b7dd4..00000000 --- a/packages/proto/gen/json/stackpanel.agent.HealthcheckInfo.schema.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$id": "stackpanel.agent.HealthcheckInfo.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "description": "Simple healthcheck info for RPC responses (distinct from db.HealthcheckResult)", - "properties": { - "details": { - "default": "", - "type": "string" - }, - "healthy": { - "default": false, - "type": "boolean" - }, - "message": { - "default": "", - "type": "string" - }, - "name": { - "default": "", - "type": "string" - }, - "type": { - "default": "", - "type": "string" - } - }, - "title": "Healthcheck Info", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.HealthcheckInfo.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.HealthcheckInfo.schema.strict.bundle.json deleted file mode 100644 index dfcb651e..00000000 --- a/packages/proto/gen/json/stackpanel.agent.HealthcheckInfo.schema.strict.bundle.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.HealthcheckInfo.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "description": "Simple healthcheck info for RPC responses (distinct from db.HealthcheckResult)", - "properties": { - "details": { - "type": "string" - }, - "healthy": { - "type": "boolean" - }, - "message": { - "type": "string" - }, - "name": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "name", - "type", - "healthy", - "message", - "details" - ], - "title": "Healthcheck Info", - "type": "object" - } - }, - "$id": "stackpanel.agent.HealthcheckInfo.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.HealthcheckInfo.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.HealthcheckInfo.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.HealthcheckInfo.schema.strict.json deleted file mode 100644 index cb44c90c..00000000 --- a/packages/proto/gen/json/stackpanel.agent.HealthcheckInfo.schema.strict.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "$id": "stackpanel.agent.HealthcheckInfo.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "description": "Simple healthcheck info for RPC responses (distinct from db.HealthcheckResult)", - "properties": { - "details": { - "type": "string" - }, - "healthy": { - "type": "boolean" - }, - "message": { - "type": "string" - }, - "name": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "name", - "type", - "healthy", - "message", - "details" - ], - "title": "Healthcheck Info", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.HealthchecksResponse.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.HealthchecksResponse.jsonschema.bundle.json deleted file mode 100644 index 228951a8..00000000 --- a/packages/proto/gen/json/stackpanel.agent.HealthchecksResponse.jsonschema.bundle.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.HealthcheckInfo.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "description": "Simple healthcheck info for RPC responses (distinct from db.HealthcheckResult)", - "properties": { - "details": { - "default": "", - "type": "string" - }, - "healthy": { - "default": false, - "type": "boolean" - }, - "message": { - "default": "", - "type": "string" - }, - "name": { - "default": "", - "type": "string" - }, - "type": { - "default": "", - "type": "string" - } - }, - "title": "Healthcheck Info", - "type": "object" - }, - "stackpanel.agent.HealthchecksResponse.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(all_healthy)$": { - "default": false, - "type": "boolean" - } - }, - "properties": { - "allHealthy": { - "default": false, - "type": "boolean" - }, - "checks": { - "items": { - "$ref": "#/$defs/stackpanel.agent.HealthcheckInfo.jsonschema.json" - }, - "type": "array" - } - }, - "title": "Healthchecks Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.HealthchecksResponse.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.HealthchecksResponse.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.HealthchecksResponse.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.HealthchecksResponse.jsonschema.json deleted file mode 100644 index c6467e6b..00000000 --- a/packages/proto/gen/json/stackpanel.agent.HealthchecksResponse.jsonschema.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "$id": "stackpanel.agent.HealthchecksResponse.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(all_healthy)$": { - "default": false, - "type": "boolean" - } - }, - "properties": { - "allHealthy": { - "default": false, - "type": "boolean" - }, - "checks": { - "items": { - "$ref": "stackpanel.agent.HealthcheckInfo.jsonschema.json" - }, - "type": "array" - } - }, - "title": "Healthchecks Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.HealthchecksResponse.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.HealthchecksResponse.jsonschema.strict.bundle.json deleted file mode 100644 index 269f6014..00000000 --- a/packages/proto/gen/json/stackpanel.agent.HealthchecksResponse.jsonschema.strict.bundle.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.HealthcheckInfo.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "description": "Simple healthcheck info for RPC responses (distinct from db.HealthcheckResult)", - "properties": { - "details": { - "type": "string" - }, - "healthy": { - "type": "boolean" - }, - "message": { - "type": "string" - }, - "name": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "name", - "type", - "healthy", - "message", - "details" - ], - "title": "Healthcheck Info", - "type": "object" - }, - "stackpanel.agent.HealthchecksResponse.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "allHealthy": { - "type": "boolean" - }, - "checks": { - "items": { - "$ref": "#/$defs/stackpanel.agent.HealthcheckInfo.jsonschema.strict.json" - }, - "type": "array" - } - }, - "required": [ - "allHealthy" - ], - "title": "Healthchecks Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.HealthchecksResponse.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.HealthchecksResponse.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.HealthchecksResponse.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.HealthchecksResponse.jsonschema.strict.json deleted file mode 100644 index ae0f924a..00000000 --- a/packages/proto/gen/json/stackpanel.agent.HealthchecksResponse.jsonschema.strict.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$id": "stackpanel.agent.HealthchecksResponse.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "allHealthy": { - "type": "boolean" - }, - "checks": { - "items": { - "$ref": "stackpanel.agent.HealthcheckInfo.jsonschema.strict.json" - }, - "type": "array" - } - }, - "required": [ - "allHealthy" - ], - "title": "Healthchecks Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.HealthchecksResponse.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.HealthchecksResponse.schema.bundle.json deleted file mode 100644 index 62a78cf3..00000000 --- a/packages/proto/gen/json/stackpanel.agent.HealthchecksResponse.schema.bundle.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.HealthcheckInfo.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "description": "Simple healthcheck info for RPC responses (distinct from db.HealthcheckResult)", - "properties": { - "details": { - "default": "", - "type": "string" - }, - "healthy": { - "default": false, - "type": "boolean" - }, - "message": { - "default": "", - "type": "string" - }, - "name": { - "default": "", - "type": "string" - }, - "type": { - "default": "", - "type": "string" - } - }, - "title": "Healthcheck Info", - "type": "object" - }, - "stackpanel.agent.HealthchecksResponse.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(allHealthy)$": { - "default": false, - "type": "boolean" - } - }, - "properties": { - "all_healthy": { - "default": false, - "type": "boolean" - }, - "checks": { - "items": { - "$ref": "#/$defs/stackpanel.agent.HealthcheckInfo.schema.json" - }, - "type": "array" - } - }, - "title": "Healthchecks Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.HealthchecksResponse.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.HealthchecksResponse.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.HealthchecksResponse.schema.json b/packages/proto/gen/json/stackpanel.agent.HealthchecksResponse.schema.json deleted file mode 100644 index c6b14333..00000000 --- a/packages/proto/gen/json/stackpanel.agent.HealthchecksResponse.schema.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "$id": "stackpanel.agent.HealthchecksResponse.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(allHealthy)$": { - "default": false, - "type": "boolean" - } - }, - "properties": { - "all_healthy": { - "default": false, - "type": "boolean" - }, - "checks": { - "items": { - "$ref": "stackpanel.agent.HealthcheckInfo.schema.json" - }, - "type": "array" - } - }, - "title": "Healthchecks Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.HealthchecksResponse.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.HealthchecksResponse.schema.strict.bundle.json deleted file mode 100644 index 88052b27..00000000 --- a/packages/proto/gen/json/stackpanel.agent.HealthchecksResponse.schema.strict.bundle.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.HealthcheckInfo.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "description": "Simple healthcheck info for RPC responses (distinct from db.HealthcheckResult)", - "properties": { - "details": { - "type": "string" - }, - "healthy": { - "type": "boolean" - }, - "message": { - "type": "string" - }, - "name": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "name", - "type", - "healthy", - "message", - "details" - ], - "title": "Healthcheck Info", - "type": "object" - }, - "stackpanel.agent.HealthchecksResponse.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "all_healthy": { - "type": "boolean" - }, - "checks": { - "items": { - "$ref": "#/$defs/stackpanel.agent.HealthcheckInfo.schema.strict.json" - }, - "type": "array" - } - }, - "required": [ - "all_healthy" - ], - "title": "Healthchecks Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.HealthchecksResponse.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.HealthchecksResponse.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.HealthchecksResponse.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.HealthchecksResponse.schema.strict.json deleted file mode 100644 index 8d350f78..00000000 --- a/packages/proto/gen/json/stackpanel.agent.HealthchecksResponse.schema.strict.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$id": "stackpanel.agent.HealthchecksResponse.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "all_healthy": { - "type": "boolean" - }, - "checks": { - "items": { - "$ref": "stackpanel.agent.HealthcheckInfo.schema.strict.json" - }, - "type": "array" - } - }, - "required": [ - "all_healthy" - ], - "title": "Healthchecks Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.KMSConfigResponse.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.KMSConfigResponse.jsonschema.bundle.json deleted file mode 100644 index 5706b250..00000000 --- a/packages/proto/gen/json/stackpanel.agent.KMSConfigResponse.jsonschema.bundle.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.KMSConfigResponse.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(aws_profile)$": { - "default": "", - "type": "string" - }, - "^(key_arn)$": { - "default": "", - "type": "string" - } - }, - "properties": { - "awsProfile": { - "default": "", - "type": "string" - }, - "enable": { - "default": false, - "type": "boolean" - }, - "keyArn": { - "default": "", - "type": "string" - }, - "source": { - "default": "", - "description": "Source indicates where the config came from: \"state\" or \"nix\"", - "type": "string" - } - }, - "title": "KMS Config Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.KMSConfigResponse.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.KMSConfigResponse.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.KMSConfigResponse.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.KMSConfigResponse.jsonschema.json deleted file mode 100644 index e18fb078..00000000 --- a/packages/proto/gen/json/stackpanel.agent.KMSConfigResponse.jsonschema.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "$id": "stackpanel.agent.KMSConfigResponse.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(aws_profile)$": { - "default": "", - "type": "string" - }, - "^(key_arn)$": { - "default": "", - "type": "string" - } - }, - "properties": { - "awsProfile": { - "default": "", - "type": "string" - }, - "enable": { - "default": false, - "type": "boolean" - }, - "keyArn": { - "default": "", - "type": "string" - }, - "source": { - "default": "", - "description": "Source indicates where the config came from: \"state\" or \"nix\"", - "type": "string" - } - }, - "title": "KMS Config Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.KMSConfigResponse.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.KMSConfigResponse.jsonschema.strict.bundle.json deleted file mode 100644 index 6c9f8632..00000000 --- a/packages/proto/gen/json/stackpanel.agent.KMSConfigResponse.jsonschema.strict.bundle.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.KMSConfigResponse.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "awsProfile": { - "type": "string" - }, - "enable": { - "type": "boolean" - }, - "keyArn": { - "type": "string" - }, - "source": { - "description": "Source indicates where the config came from: \"state\" or \"nix\"", - "type": "string" - } - }, - "required": [ - "enable", - "keyArn", - "awsProfile", - "source" - ], - "title": "KMS Config Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.KMSConfigResponse.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.KMSConfigResponse.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.KMSConfigResponse.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.KMSConfigResponse.jsonschema.strict.json deleted file mode 100644 index f8fcd100..00000000 --- a/packages/proto/gen/json/stackpanel.agent.KMSConfigResponse.jsonschema.strict.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "$id": "stackpanel.agent.KMSConfigResponse.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "awsProfile": { - "type": "string" - }, - "enable": { - "type": "boolean" - }, - "keyArn": { - "type": "string" - }, - "source": { - "description": "Source indicates where the config came from: \"state\" or \"nix\"", - "type": "string" - } - }, - "required": [ - "enable", - "keyArn", - "awsProfile", - "source" - ], - "title": "KMS Config Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.KMSConfigResponse.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.KMSConfigResponse.schema.bundle.json deleted file mode 100644 index 573f2836..00000000 --- a/packages/proto/gen/json/stackpanel.agent.KMSConfigResponse.schema.bundle.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.KMSConfigResponse.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(awsProfile)$": { - "default": "", - "type": "string" - }, - "^(keyArn)$": { - "default": "", - "type": "string" - } - }, - "properties": { - "aws_profile": { - "default": "", - "type": "string" - }, - "enable": { - "default": false, - "type": "boolean" - }, - "key_arn": { - "default": "", - "type": "string" - }, - "source": { - "default": "", - "description": "Source indicates where the config came from: \"state\" or \"nix\"", - "type": "string" - } - }, - "title": "KMS Config Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.KMSConfigResponse.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.KMSConfigResponse.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.KMSConfigResponse.schema.json b/packages/proto/gen/json/stackpanel.agent.KMSConfigResponse.schema.json deleted file mode 100644 index c5bf877e..00000000 --- a/packages/proto/gen/json/stackpanel.agent.KMSConfigResponse.schema.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "$id": "stackpanel.agent.KMSConfigResponse.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(awsProfile)$": { - "default": "", - "type": "string" - }, - "^(keyArn)$": { - "default": "", - "type": "string" - } - }, - "properties": { - "aws_profile": { - "default": "", - "type": "string" - }, - "enable": { - "default": false, - "type": "boolean" - }, - "key_arn": { - "default": "", - "type": "string" - }, - "source": { - "default": "", - "description": "Source indicates where the config came from: \"state\" or \"nix\"", - "type": "string" - } - }, - "title": "KMS Config Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.KMSConfigResponse.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.KMSConfigResponse.schema.strict.bundle.json deleted file mode 100644 index 4deb5830..00000000 --- a/packages/proto/gen/json/stackpanel.agent.KMSConfigResponse.schema.strict.bundle.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.KMSConfigResponse.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "aws_profile": { - "type": "string" - }, - "enable": { - "type": "boolean" - }, - "key_arn": { - "type": "string" - }, - "source": { - "description": "Source indicates where the config came from: \"state\" or \"nix\"", - "type": "string" - } - }, - "required": [ - "enable", - "key_arn", - "aws_profile", - "source" - ], - "title": "KMS Config Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.KMSConfigResponse.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.KMSConfigResponse.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.KMSConfigResponse.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.KMSConfigResponse.schema.strict.json deleted file mode 100644 index e5f02032..00000000 --- a/packages/proto/gen/json/stackpanel.agent.KMSConfigResponse.schema.strict.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "$id": "stackpanel.agent.KMSConfigResponse.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "aws_profile": { - "type": "string" - }, - "enable": { - "type": "boolean" - }, - "key_arn": { - "type": "string" - }, - "source": { - "description": "Source indicates where the config came from: \"state\" or \"nix\"", - "type": "string" - } - }, - "required": [ - "enable", - "key_arn", - "aws_profile", - "source" - ], - "title": "KMS Config Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ListFilesRequest.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.ListFilesRequest.jsonschema.bundle.json deleted file mode 100644 index b348032c..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ListFilesRequest.jsonschema.bundle.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.ListFilesRequest.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "path": { - "default": "", - "type": "string" - }, - "pattern": { - "default": "", - "type": "string" - } - }, - "title": "List Files Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.ListFilesRequest.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.ListFilesRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ListFilesRequest.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.ListFilesRequest.jsonschema.json deleted file mode 100644 index 1b327c62..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ListFilesRequest.jsonschema.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$id": "stackpanel.agent.ListFilesRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "path": { - "default": "", - "type": "string" - }, - "pattern": { - "default": "", - "type": "string" - } - }, - "title": "List Files Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ListFilesRequest.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.ListFilesRequest.jsonschema.strict.bundle.json deleted file mode 100644 index a734579a..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ListFilesRequest.jsonschema.strict.bundle.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.ListFilesRequest.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "path": { - "type": "string" - }, - "pattern": { - "type": "string" - } - }, - "required": [ - "path", - "pattern" - ], - "title": "List Files Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.ListFilesRequest.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.ListFilesRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ListFilesRequest.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.ListFilesRequest.jsonschema.strict.json deleted file mode 100644 index 5231d54c..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ListFilesRequest.jsonschema.strict.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$id": "stackpanel.agent.ListFilesRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "path": { - "type": "string" - }, - "pattern": { - "type": "string" - } - }, - "required": [ - "path", - "pattern" - ], - "title": "List Files Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ListFilesRequest.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.ListFilesRequest.schema.bundle.json deleted file mode 100644 index 628ec7b2..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ListFilesRequest.schema.bundle.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.ListFilesRequest.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "path": { - "default": "", - "type": "string" - }, - "pattern": { - "default": "", - "type": "string" - } - }, - "title": "List Files Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.ListFilesRequest.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.ListFilesRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ListFilesRequest.schema.json b/packages/proto/gen/json/stackpanel.agent.ListFilesRequest.schema.json deleted file mode 100644 index 734aa5c8..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ListFilesRequest.schema.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$id": "stackpanel.agent.ListFilesRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "path": { - "default": "", - "type": "string" - }, - "pattern": { - "default": "", - "type": "string" - } - }, - "title": "List Files Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ListFilesRequest.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.ListFilesRequest.schema.strict.bundle.json deleted file mode 100644 index d811664c..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ListFilesRequest.schema.strict.bundle.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.ListFilesRequest.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "path": { - "type": "string" - }, - "pattern": { - "type": "string" - } - }, - "required": [ - "path", - "pattern" - ], - "title": "List Files Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.ListFilesRequest.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.ListFilesRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ListFilesRequest.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.ListFilesRequest.schema.strict.json deleted file mode 100644 index 6de5b516..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ListFilesRequest.schema.strict.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$id": "stackpanel.agent.ListFilesRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "path": { - "type": "string" - }, - "pattern": { - "type": "string" - } - }, - "required": [ - "path", - "pattern" - ], - "title": "List Files Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ListFilesResponse.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.ListFilesResponse.jsonschema.bundle.json deleted file mode 100644 index 14751f41..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ListFilesResponse.jsonschema.bundle.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.FileInfo.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(is_dir)$": { - "default": false, - "type": "boolean" - }, - "^(mod_time)$": { - "anyOf": [ - { - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - } - }, - "properties": { - "isDir": { - "default": false, - "type": "boolean" - }, - "modTime": { - "anyOf": [ - { - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - }, - "name": { - "default": "", - "type": "string" - }, - "path": { - "default": "", - "type": "string" - }, - "size": { - "anyOf": [ - { - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - } - }, - "title": "File Info", - "type": "object" - }, - "stackpanel.agent.ListFilesResponse.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "files": { - "items": { - "$ref": "#/$defs/stackpanel.agent.FileInfo.jsonschema.json" - }, - "type": "array" - } - }, - "title": "List Files Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.ListFilesResponse.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.ListFilesResponse.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ListFilesResponse.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.ListFilesResponse.jsonschema.json deleted file mode 100644 index 57741c9f..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ListFilesResponse.jsonschema.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$id": "stackpanel.agent.ListFilesResponse.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "files": { - "items": { - "$ref": "stackpanel.agent.FileInfo.jsonschema.json" - }, - "type": "array" - } - }, - "title": "List Files Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ListFilesResponse.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.ListFilesResponse.jsonschema.strict.bundle.json deleted file mode 100644 index 75a0bb26..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ListFilesResponse.jsonschema.strict.bundle.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.FileInfo.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "isDir": { - "type": "boolean" - }, - "modTime": { - "type": "integer" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "integer" - } - }, - "required": [ - "name", - "path", - "isDir", - "size", - "modTime" - ], - "title": "File Info", - "type": "object" - }, - "stackpanel.agent.ListFilesResponse.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "files": { - "items": { - "$ref": "#/$defs/stackpanel.agent.FileInfo.jsonschema.strict.json" - }, - "type": "array" - } - }, - "title": "List Files Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.ListFilesResponse.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.ListFilesResponse.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ListFilesResponse.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.ListFilesResponse.jsonschema.strict.json deleted file mode 100644 index b7b8cbed..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ListFilesResponse.jsonschema.strict.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$id": "stackpanel.agent.ListFilesResponse.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "files": { - "items": { - "$ref": "stackpanel.agent.FileInfo.jsonschema.strict.json" - }, - "type": "array" - } - }, - "title": "List Files Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ListFilesResponse.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.ListFilesResponse.schema.bundle.json deleted file mode 100644 index bb809367..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ListFilesResponse.schema.bundle.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.FileInfo.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(isDir)$": { - "default": false, - "type": "boolean" - }, - "^(modTime)$": { - "anyOf": [ - { - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - } - }, - "properties": { - "is_dir": { - "default": false, - "type": "boolean" - }, - "mod_time": { - "anyOf": [ - { - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - }, - "name": { - "default": "", - "type": "string" - }, - "path": { - "default": "", - "type": "string" - }, - "size": { - "anyOf": [ - { - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - } - }, - "title": "File Info", - "type": "object" - }, - "stackpanel.agent.ListFilesResponse.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "files": { - "items": { - "$ref": "#/$defs/stackpanel.agent.FileInfo.schema.json" - }, - "type": "array" - } - }, - "title": "List Files Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.ListFilesResponse.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.ListFilesResponse.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ListFilesResponse.schema.json b/packages/proto/gen/json/stackpanel.agent.ListFilesResponse.schema.json deleted file mode 100644 index cbb588ba..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ListFilesResponse.schema.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$id": "stackpanel.agent.ListFilesResponse.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "files": { - "items": { - "$ref": "stackpanel.agent.FileInfo.schema.json" - }, - "type": "array" - } - }, - "title": "List Files Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ListFilesResponse.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.ListFilesResponse.schema.strict.bundle.json deleted file mode 100644 index 4eb725f7..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ListFilesResponse.schema.strict.bundle.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.FileInfo.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "is_dir": { - "type": "boolean" - }, - "mod_time": { - "type": "integer" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "integer" - } - }, - "required": [ - "name", - "path", - "is_dir", - "size", - "mod_time" - ], - "title": "File Info", - "type": "object" - }, - "stackpanel.agent.ListFilesResponse.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "files": { - "items": { - "$ref": "#/$defs/stackpanel.agent.FileInfo.schema.strict.json" - }, - "type": "array" - } - }, - "title": "List Files Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.ListFilesResponse.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.ListFilesResponse.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ListFilesResponse.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.ListFilesResponse.schema.strict.json deleted file mode 100644 index 6b4182d5..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ListFilesResponse.schema.strict.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$id": "stackpanel.agent.ListFilesResponse.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "files": { - "items": { - "$ref": "stackpanel.agent.FileInfo.schema.strict.json" - }, - "type": "array" - } - }, - "title": "List Files Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixEvalRequest.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.NixEvalRequest.jsonschema.bundle.json deleted file mode 100644 index 1f2d2117..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixEvalRequest.jsonschema.bundle.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.NixEvalRequest.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "expression": { - "default": "", - "type": "string" - }, - "json": { - "default": false, - "type": "boolean" - } - }, - "title": "Nix Eval Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.NixEvalRequest.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.NixEvalRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixEvalRequest.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.NixEvalRequest.jsonschema.json deleted file mode 100644 index 5006d4c6..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixEvalRequest.jsonschema.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$id": "stackpanel.agent.NixEvalRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "expression": { - "default": "", - "type": "string" - }, - "json": { - "default": false, - "type": "boolean" - } - }, - "title": "Nix Eval Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixEvalRequest.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.NixEvalRequest.jsonschema.strict.bundle.json deleted file mode 100644 index ec450703..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixEvalRequest.jsonschema.strict.bundle.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.NixEvalRequest.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "expression": { - "type": "string" - }, - "json": { - "type": "boolean" - } - }, - "required": [ - "expression", - "json" - ], - "title": "Nix Eval Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.NixEvalRequest.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.NixEvalRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixEvalRequest.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.NixEvalRequest.jsonschema.strict.json deleted file mode 100644 index 053a7f50..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixEvalRequest.jsonschema.strict.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$id": "stackpanel.agent.NixEvalRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "expression": { - "type": "string" - }, - "json": { - "type": "boolean" - } - }, - "required": [ - "expression", - "json" - ], - "title": "Nix Eval Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixEvalRequest.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.NixEvalRequest.schema.bundle.json deleted file mode 100644 index bae8dee1..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixEvalRequest.schema.bundle.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.NixEvalRequest.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "expression": { - "default": "", - "type": "string" - }, - "json": { - "default": false, - "type": "boolean" - } - }, - "title": "Nix Eval Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.NixEvalRequest.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.NixEvalRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixEvalRequest.schema.json b/packages/proto/gen/json/stackpanel.agent.NixEvalRequest.schema.json deleted file mode 100644 index 39caa64d..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixEvalRequest.schema.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$id": "stackpanel.agent.NixEvalRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "expression": { - "default": "", - "type": "string" - }, - "json": { - "default": false, - "type": "boolean" - } - }, - "title": "Nix Eval Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixEvalRequest.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.NixEvalRequest.schema.strict.bundle.json deleted file mode 100644 index 940ad1e5..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixEvalRequest.schema.strict.bundle.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.NixEvalRequest.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "expression": { - "type": "string" - }, - "json": { - "type": "boolean" - } - }, - "required": [ - "expression", - "json" - ], - "title": "Nix Eval Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.NixEvalRequest.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.NixEvalRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixEvalRequest.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.NixEvalRequest.schema.strict.json deleted file mode 100644 index 3cb61120..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixEvalRequest.schema.strict.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$id": "stackpanel.agent.NixEvalRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "expression": { - "type": "string" - }, - "json": { - "type": "boolean" - } - }, - "required": [ - "expression", - "json" - ], - "title": "Nix Eval Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixEvalResponse.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.NixEvalResponse.jsonschema.bundle.json deleted file mode 100644 index 94a530fa..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixEvalResponse.jsonschema.bundle.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.NixEvalResponse.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "result": { - "default": "", - "type": "string" - } - }, - "title": "Nix Eval Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.NixEvalResponse.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.NixEvalResponse.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixEvalResponse.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.NixEvalResponse.jsonschema.json deleted file mode 100644 index ae2d8ae2..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixEvalResponse.jsonschema.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "$id": "stackpanel.agent.NixEvalResponse.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "result": { - "default": "", - "type": "string" - } - }, - "title": "Nix Eval Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixEvalResponse.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.NixEvalResponse.jsonschema.strict.bundle.json deleted file mode 100644 index 64c936ad..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixEvalResponse.jsonschema.strict.bundle.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.NixEvalResponse.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "result": { - "type": "string" - } - }, - "required": [ - "result" - ], - "title": "Nix Eval Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.NixEvalResponse.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.NixEvalResponse.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixEvalResponse.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.NixEvalResponse.jsonschema.strict.json deleted file mode 100644 index c4fb7f82..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixEvalResponse.jsonschema.strict.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$id": "stackpanel.agent.NixEvalResponse.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "result": { - "type": "string" - } - }, - "required": [ - "result" - ], - "title": "Nix Eval Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixEvalResponse.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.NixEvalResponse.schema.bundle.json deleted file mode 100644 index 1ffa2c80..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixEvalResponse.schema.bundle.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.NixEvalResponse.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "result": { - "default": "", - "type": "string" - } - }, - "title": "Nix Eval Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.NixEvalResponse.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.NixEvalResponse.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixEvalResponse.schema.json b/packages/proto/gen/json/stackpanel.agent.NixEvalResponse.schema.json deleted file mode 100644 index 99374759..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixEvalResponse.schema.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "$id": "stackpanel.agent.NixEvalResponse.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "result": { - "default": "", - "type": "string" - } - }, - "title": "Nix Eval Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixEvalResponse.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.NixEvalResponse.schema.strict.bundle.json deleted file mode 100644 index a07c0989..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixEvalResponse.schema.strict.bundle.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.NixEvalResponse.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "result": { - "type": "string" - } - }, - "required": [ - "result" - ], - "title": "Nix Eval Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.NixEvalResponse.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.NixEvalResponse.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixEvalResponse.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.NixEvalResponse.schema.strict.json deleted file mode 100644 index 8b39bcd3..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixEvalResponse.schema.strict.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$id": "stackpanel.agent.NixEvalResponse.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "result": { - "type": "string" - } - }, - "required": [ - "result" - ], - "title": "Nix Eval Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixGenerateRequest.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.NixGenerateRequest.jsonschema.bundle.json deleted file mode 100644 index bcb340c3..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixGenerateRequest.jsonschema.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.NixGenerateRequest.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Nix Generate Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.NixGenerateRequest.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.NixGenerateRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixGenerateRequest.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.NixGenerateRequest.jsonschema.json deleted file mode 100644 index 133fafcf..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixGenerateRequest.jsonschema.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.NixGenerateRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Nix Generate Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixGenerateRequest.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.NixGenerateRequest.jsonschema.strict.bundle.json deleted file mode 100644 index da831129..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixGenerateRequest.jsonschema.strict.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.NixGenerateRequest.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Nix Generate Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.NixGenerateRequest.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.NixGenerateRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixGenerateRequest.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.NixGenerateRequest.jsonschema.strict.json deleted file mode 100644 index 9e16be64..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixGenerateRequest.jsonschema.strict.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.NixGenerateRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Nix Generate Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixGenerateRequest.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.NixGenerateRequest.schema.bundle.json deleted file mode 100644 index 417189bc..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixGenerateRequest.schema.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.NixGenerateRequest.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Nix Generate Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.NixGenerateRequest.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.NixGenerateRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixGenerateRequest.schema.json b/packages/proto/gen/json/stackpanel.agent.NixGenerateRequest.schema.json deleted file mode 100644 index e64cb720..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixGenerateRequest.schema.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.NixGenerateRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Nix Generate Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixGenerateRequest.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.NixGenerateRequest.schema.strict.bundle.json deleted file mode 100644 index ad2664e2..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixGenerateRequest.schema.strict.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.NixGenerateRequest.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Nix Generate Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.NixGenerateRequest.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.NixGenerateRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixGenerateRequest.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.NixGenerateRequest.schema.strict.json deleted file mode 100644 index ea13563d..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixGenerateRequest.schema.strict.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.NixGenerateRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Nix Generate Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixGenerateResponse.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.NixGenerateResponse.jsonschema.bundle.json deleted file mode 100644 index c3d4ed5c..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixGenerateResponse.jsonschema.bundle.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.NixGenerateResponse.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "output": { - "default": "", - "type": "string" - }, - "success": { - "default": false, - "type": "boolean" - } - }, - "title": "Nix Generate Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.NixGenerateResponse.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.NixGenerateResponse.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixGenerateResponse.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.NixGenerateResponse.jsonschema.json deleted file mode 100644 index 34aa01fa..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixGenerateResponse.jsonschema.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$id": "stackpanel.agent.NixGenerateResponse.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "output": { - "default": "", - "type": "string" - }, - "success": { - "default": false, - "type": "boolean" - } - }, - "title": "Nix Generate Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixGenerateResponse.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.NixGenerateResponse.jsonschema.strict.bundle.json deleted file mode 100644 index 0e3b3e7c..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixGenerateResponse.jsonschema.strict.bundle.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.NixGenerateResponse.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "output": { - "type": "string" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "success", - "output" - ], - "title": "Nix Generate Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.NixGenerateResponse.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.NixGenerateResponse.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixGenerateResponse.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.NixGenerateResponse.jsonschema.strict.json deleted file mode 100644 index c409c1b5..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixGenerateResponse.jsonschema.strict.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$id": "stackpanel.agent.NixGenerateResponse.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "output": { - "type": "string" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "success", - "output" - ], - "title": "Nix Generate Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixGenerateResponse.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.NixGenerateResponse.schema.bundle.json deleted file mode 100644 index d1a1b795..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixGenerateResponse.schema.bundle.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.NixGenerateResponse.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "output": { - "default": "", - "type": "string" - }, - "success": { - "default": false, - "type": "boolean" - } - }, - "title": "Nix Generate Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.NixGenerateResponse.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.NixGenerateResponse.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixGenerateResponse.schema.json b/packages/proto/gen/json/stackpanel.agent.NixGenerateResponse.schema.json deleted file mode 100644 index aa999ba0..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixGenerateResponse.schema.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$id": "stackpanel.agent.NixGenerateResponse.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "output": { - "default": "", - "type": "string" - }, - "success": { - "default": false, - "type": "boolean" - } - }, - "title": "Nix Generate Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixGenerateResponse.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.NixGenerateResponse.schema.strict.bundle.json deleted file mode 100644 index ff3248fb..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixGenerateResponse.schema.strict.bundle.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.NixGenerateResponse.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "output": { - "type": "string" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "success", - "output" - ], - "title": "Nix Generate Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.NixGenerateResponse.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.NixGenerateResponse.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixGenerateResponse.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.NixGenerateResponse.schema.strict.json deleted file mode 100644 index c13f5c28..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixGenerateResponse.schema.strict.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$id": "stackpanel.agent.NixGenerateResponse.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "output": { - "type": "string" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "success", - "output" - ], - "title": "Nix Generate Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixpkgsPackage.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.NixpkgsPackage.jsonschema.bundle.json deleted file mode 100644 index cde23ca4..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixpkgsPackage.jsonschema.bundle.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.NixpkgsPackage.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(attr_path)$": { - "default": "", - "type": "string" - }, - "^(nixpkgs_url)$": { - "default": "", - "type": "string" - } - }, - "properties": { - "attrPath": { - "default": "", - "type": "string" - }, - "description": { - "default": "", - "type": "string" - }, - "homepage": { - "default": "", - "type": "string" - }, - "installed": { - "default": false, - "type": "boolean" - }, - "license": { - "default": "", - "type": "string" - }, - "name": { - "default": "", - "type": "string" - }, - "nixpkgsUrl": { - "default": "", - "type": "string" - }, - "version": { - "default": "", - "type": "string" - } - }, - "title": "Nixpkgs Package", - "type": "object" - } - }, - "$id": "stackpanel.agent.NixpkgsPackage.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.NixpkgsPackage.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixpkgsPackage.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.NixpkgsPackage.jsonschema.json deleted file mode 100644 index a4f9a53e..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixpkgsPackage.jsonschema.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "$id": "stackpanel.agent.NixpkgsPackage.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(attr_path)$": { - "default": "", - "type": "string" - }, - "^(nixpkgs_url)$": { - "default": "", - "type": "string" - } - }, - "properties": { - "attrPath": { - "default": "", - "type": "string" - }, - "description": { - "default": "", - "type": "string" - }, - "homepage": { - "default": "", - "type": "string" - }, - "installed": { - "default": false, - "type": "boolean" - }, - "license": { - "default": "", - "type": "string" - }, - "name": { - "default": "", - "type": "string" - }, - "nixpkgsUrl": { - "default": "", - "type": "string" - }, - "version": { - "default": "", - "type": "string" - } - }, - "title": "Nixpkgs Package", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixpkgsPackage.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.NixpkgsPackage.jsonschema.strict.bundle.json deleted file mode 100644 index 78b4baa3..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixpkgsPackage.jsonschema.strict.bundle.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.NixpkgsPackage.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "attrPath": { - "type": "string" - }, - "description": { - "type": "string" - }, - "homepage": { - "type": "string" - }, - "installed": { - "type": "boolean" - }, - "license": { - "type": "string" - }, - "name": { - "type": "string" - }, - "nixpkgsUrl": { - "type": "string" - }, - "version": { - "type": "string" - } - }, - "required": [ - "name", - "attrPath", - "version", - "description", - "installed", - "license", - "homepage", - "nixpkgsUrl" - ], - "title": "Nixpkgs Package", - "type": "object" - } - }, - "$id": "stackpanel.agent.NixpkgsPackage.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.NixpkgsPackage.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixpkgsPackage.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.NixpkgsPackage.jsonschema.strict.json deleted file mode 100644 index 6cb5193a..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixpkgsPackage.jsonschema.strict.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$id": "stackpanel.agent.NixpkgsPackage.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "attrPath": { - "type": "string" - }, - "description": { - "type": "string" - }, - "homepage": { - "type": "string" - }, - "installed": { - "type": "boolean" - }, - "license": { - "type": "string" - }, - "name": { - "type": "string" - }, - "nixpkgsUrl": { - "type": "string" - }, - "version": { - "type": "string" - } - }, - "required": [ - "name", - "attrPath", - "version", - "description", - "installed", - "license", - "homepage", - "nixpkgsUrl" - ], - "title": "Nixpkgs Package", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixpkgsPackage.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.NixpkgsPackage.schema.bundle.json deleted file mode 100644 index 54722b6f..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixpkgsPackage.schema.bundle.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.NixpkgsPackage.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(attrPath)$": { - "default": "", - "type": "string" - }, - "^(nixpkgsUrl)$": { - "default": "", - "type": "string" - } - }, - "properties": { - "attr_path": { - "default": "", - "type": "string" - }, - "description": { - "default": "", - "type": "string" - }, - "homepage": { - "default": "", - "type": "string" - }, - "installed": { - "default": false, - "type": "boolean" - }, - "license": { - "default": "", - "type": "string" - }, - "name": { - "default": "", - "type": "string" - }, - "nixpkgs_url": { - "default": "", - "type": "string" - }, - "version": { - "default": "", - "type": "string" - } - }, - "title": "Nixpkgs Package", - "type": "object" - } - }, - "$id": "stackpanel.agent.NixpkgsPackage.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.NixpkgsPackage.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixpkgsPackage.schema.json b/packages/proto/gen/json/stackpanel.agent.NixpkgsPackage.schema.json deleted file mode 100644 index 1adac97b..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixpkgsPackage.schema.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "$id": "stackpanel.agent.NixpkgsPackage.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(attrPath)$": { - "default": "", - "type": "string" - }, - "^(nixpkgsUrl)$": { - "default": "", - "type": "string" - } - }, - "properties": { - "attr_path": { - "default": "", - "type": "string" - }, - "description": { - "default": "", - "type": "string" - }, - "homepage": { - "default": "", - "type": "string" - }, - "installed": { - "default": false, - "type": "boolean" - }, - "license": { - "default": "", - "type": "string" - }, - "name": { - "default": "", - "type": "string" - }, - "nixpkgs_url": { - "default": "", - "type": "string" - }, - "version": { - "default": "", - "type": "string" - } - }, - "title": "Nixpkgs Package", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixpkgsPackage.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.NixpkgsPackage.schema.strict.bundle.json deleted file mode 100644 index 90bd5c32..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixpkgsPackage.schema.strict.bundle.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.NixpkgsPackage.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "attr_path": { - "type": "string" - }, - "description": { - "type": "string" - }, - "homepage": { - "type": "string" - }, - "installed": { - "type": "boolean" - }, - "license": { - "type": "string" - }, - "name": { - "type": "string" - }, - "nixpkgs_url": { - "type": "string" - }, - "version": { - "type": "string" - } - }, - "required": [ - "name", - "attr_path", - "version", - "description", - "installed", - "license", - "homepage", - "nixpkgs_url" - ], - "title": "Nixpkgs Package", - "type": "object" - } - }, - "$id": "stackpanel.agent.NixpkgsPackage.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.NixpkgsPackage.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.NixpkgsPackage.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.NixpkgsPackage.schema.strict.json deleted file mode 100644 index 98f88713..00000000 --- a/packages/proto/gen/json/stackpanel.agent.NixpkgsPackage.schema.strict.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$id": "stackpanel.agent.NixpkgsPackage.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "attr_path": { - "type": "string" - }, - "description": { - "type": "string" - }, - "homepage": { - "type": "string" - }, - "installed": { - "type": "boolean" - }, - "license": { - "type": "string" - }, - "name": { - "type": "string" - }, - "nixpkgs_url": { - "type": "string" - }, - "version": { - "type": "string" - } - }, - "required": [ - "name", - "attr_path", - "version", - "description", - "installed", - "license", - "homepage", - "nixpkgs_url" - ], - "title": "Nixpkgs Package", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ReadFileRequest.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.ReadFileRequest.jsonschema.bundle.json deleted file mode 100644 index e4a1f84a..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ReadFileRequest.jsonschema.bundle.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.ReadFileRequest.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "path": { - "default": "", - "type": "string" - } - }, - "title": "Read File Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.ReadFileRequest.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.ReadFileRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ReadFileRequest.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.ReadFileRequest.jsonschema.json deleted file mode 100644 index b5f20727..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ReadFileRequest.jsonschema.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "$id": "stackpanel.agent.ReadFileRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "path": { - "default": "", - "type": "string" - } - }, - "title": "Read File Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ReadFileRequest.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.ReadFileRequest.jsonschema.strict.bundle.json deleted file mode 100644 index 7de0fcba..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ReadFileRequest.jsonschema.strict.bundle.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.ReadFileRequest.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "path": { - "type": "string" - } - }, - "required": [ - "path" - ], - "title": "Read File Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.ReadFileRequest.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.ReadFileRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ReadFileRequest.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.ReadFileRequest.jsonschema.strict.json deleted file mode 100644 index 8d9edd40..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ReadFileRequest.jsonschema.strict.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$id": "stackpanel.agent.ReadFileRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "path": { - "type": "string" - } - }, - "required": [ - "path" - ], - "title": "Read File Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ReadFileRequest.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.ReadFileRequest.schema.bundle.json deleted file mode 100644 index 6a271560..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ReadFileRequest.schema.bundle.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.ReadFileRequest.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "path": { - "default": "", - "type": "string" - } - }, - "title": "Read File Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.ReadFileRequest.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.ReadFileRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ReadFileRequest.schema.json b/packages/proto/gen/json/stackpanel.agent.ReadFileRequest.schema.json deleted file mode 100644 index 2641378e..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ReadFileRequest.schema.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "$id": "stackpanel.agent.ReadFileRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "path": { - "default": "", - "type": "string" - } - }, - "title": "Read File Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ReadFileRequest.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.ReadFileRequest.schema.strict.bundle.json deleted file mode 100644 index 3894ccbe..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ReadFileRequest.schema.strict.bundle.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.ReadFileRequest.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "path": { - "type": "string" - } - }, - "required": [ - "path" - ], - "title": "Read File Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.ReadFileRequest.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.ReadFileRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ReadFileRequest.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.ReadFileRequest.schema.strict.json deleted file mode 100644 index 2929b9cb..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ReadFileRequest.schema.strict.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$id": "stackpanel.agent.ReadFileRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "path": { - "type": "string" - } - }, - "required": [ - "path" - ], - "title": "Read File Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ReadFileResponse.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.ReadFileResponse.jsonschema.bundle.json deleted file mode 100644 index 05bfe11e..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ReadFileResponse.jsonschema.bundle.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.ReadFileResponse.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "content": { - "default": "", - "type": "string" - }, - "exists": { - "default": false, - "type": "boolean" - } - }, - "title": "Read File Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.ReadFileResponse.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.ReadFileResponse.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ReadFileResponse.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.ReadFileResponse.jsonschema.json deleted file mode 100644 index a2be0ad1..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ReadFileResponse.jsonschema.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$id": "stackpanel.agent.ReadFileResponse.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "content": { - "default": "", - "type": "string" - }, - "exists": { - "default": false, - "type": "boolean" - } - }, - "title": "Read File Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ReadFileResponse.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.ReadFileResponse.jsonschema.strict.bundle.json deleted file mode 100644 index f39b6c0a..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ReadFileResponse.jsonschema.strict.bundle.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.ReadFileResponse.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "content": { - "type": "string" - }, - "exists": { - "type": "boolean" - } - }, - "required": [ - "content", - "exists" - ], - "title": "Read File Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.ReadFileResponse.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.ReadFileResponse.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ReadFileResponse.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.ReadFileResponse.jsonschema.strict.json deleted file mode 100644 index 8bf01886..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ReadFileResponse.jsonschema.strict.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$id": "stackpanel.agent.ReadFileResponse.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "content": { - "type": "string" - }, - "exists": { - "type": "boolean" - } - }, - "required": [ - "content", - "exists" - ], - "title": "Read File Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ReadFileResponse.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.ReadFileResponse.schema.bundle.json deleted file mode 100644 index 7903c9ff..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ReadFileResponse.schema.bundle.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.ReadFileResponse.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "content": { - "default": "", - "type": "string" - }, - "exists": { - "default": false, - "type": "boolean" - } - }, - "title": "Read File Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.ReadFileResponse.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.ReadFileResponse.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ReadFileResponse.schema.json b/packages/proto/gen/json/stackpanel.agent.ReadFileResponse.schema.json deleted file mode 100644 index 8243515d..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ReadFileResponse.schema.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$id": "stackpanel.agent.ReadFileResponse.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "content": { - "default": "", - "type": "string" - }, - "exists": { - "default": false, - "type": "boolean" - } - }, - "title": "Read File Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ReadFileResponse.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.ReadFileResponse.schema.strict.bundle.json deleted file mode 100644 index 8b2e0be2..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ReadFileResponse.schema.strict.bundle.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.ReadFileResponse.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "content": { - "type": "string" - }, - "exists": { - "type": "boolean" - } - }, - "required": [ - "content", - "exists" - ], - "title": "Read File Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.ReadFileResponse.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.ReadFileResponse.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ReadFileResponse.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.ReadFileResponse.schema.strict.json deleted file mode 100644 index 02568513..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ReadFileResponse.schema.strict.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$id": "stackpanel.agent.ReadFileResponse.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "content": { - "type": "string" - }, - "exists": { - "type": "boolean" - } - }, - "required": [ - "content", - "exists" - ], - "title": "Read File Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.RefreshNixConfigRequest.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.RefreshNixConfigRequest.jsonschema.bundle.json deleted file mode 100644 index 21ef15ff..00000000 --- a/packages/proto/gen/json/stackpanel.agent.RefreshNixConfigRequest.jsonschema.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.RefreshNixConfigRequest.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Refresh Nix Config Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.RefreshNixConfigRequest.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.RefreshNixConfigRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.RefreshNixConfigRequest.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.RefreshNixConfigRequest.jsonschema.json deleted file mode 100644 index 8e77aaf6..00000000 --- a/packages/proto/gen/json/stackpanel.agent.RefreshNixConfigRequest.jsonschema.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.RefreshNixConfigRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Refresh Nix Config Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.RefreshNixConfigRequest.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.RefreshNixConfigRequest.jsonschema.strict.bundle.json deleted file mode 100644 index fee74c54..00000000 --- a/packages/proto/gen/json/stackpanel.agent.RefreshNixConfigRequest.jsonschema.strict.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.RefreshNixConfigRequest.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Refresh Nix Config Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.RefreshNixConfigRequest.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.RefreshNixConfigRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.RefreshNixConfigRequest.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.RefreshNixConfigRequest.jsonschema.strict.json deleted file mode 100644 index 64ebf925..00000000 --- a/packages/proto/gen/json/stackpanel.agent.RefreshNixConfigRequest.jsonschema.strict.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.RefreshNixConfigRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Refresh Nix Config Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.RefreshNixConfigRequest.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.RefreshNixConfigRequest.schema.bundle.json deleted file mode 100644 index 0ef8cfd5..00000000 --- a/packages/proto/gen/json/stackpanel.agent.RefreshNixConfigRequest.schema.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.RefreshNixConfigRequest.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Refresh Nix Config Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.RefreshNixConfigRequest.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.RefreshNixConfigRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.RefreshNixConfigRequest.schema.json b/packages/proto/gen/json/stackpanel.agent.RefreshNixConfigRequest.schema.json deleted file mode 100644 index 766bf847..00000000 --- a/packages/proto/gen/json/stackpanel.agent.RefreshNixConfigRequest.schema.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.RefreshNixConfigRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Refresh Nix Config Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.RefreshNixConfigRequest.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.RefreshNixConfigRequest.schema.strict.bundle.json deleted file mode 100644 index d2087062..00000000 --- a/packages/proto/gen/json/stackpanel.agent.RefreshNixConfigRequest.schema.strict.bundle.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.RefreshNixConfigRequest.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Refresh Nix Config Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.RefreshNixConfigRequest.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.RefreshNixConfigRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.RefreshNixConfigRequest.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.RefreshNixConfigRequest.schema.strict.json deleted file mode 100644 index ee5fdf25..00000000 --- a/packages/proto/gen/json/stackpanel.agent.RefreshNixConfigRequest.schema.strict.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "stackpanel.agent.RefreshNixConfigRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": {}, - "title": "Refresh Nix Config Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.RemoveSSTRequest.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.RemoveSSTRequest.jsonschema.bundle.json deleted file mode 100644 index 2ed37f69..00000000 --- a/packages/proto/gen/json/stackpanel.agent.RemoveSSTRequest.jsonschema.bundle.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.RemoveSSTRequest.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "stage": { - "default": "", - "type": "string" - } - }, - "title": "RemoveSST Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.RemoveSSTRequest.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.RemoveSSTRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.RemoveSSTRequest.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.RemoveSSTRequest.jsonschema.json deleted file mode 100644 index 160c4408..00000000 --- a/packages/proto/gen/json/stackpanel.agent.RemoveSSTRequest.jsonschema.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "$id": "stackpanel.agent.RemoveSSTRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "stage": { - "default": "", - "type": "string" - } - }, - "title": "RemoveSST Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.RemoveSSTRequest.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.RemoveSSTRequest.jsonschema.strict.bundle.json deleted file mode 100644 index ecc5be8e..00000000 --- a/packages/proto/gen/json/stackpanel.agent.RemoveSSTRequest.jsonschema.strict.bundle.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.RemoveSSTRequest.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "stage": { - "type": "string" - } - }, - "required": [ - "stage" - ], - "title": "RemoveSST Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.RemoveSSTRequest.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.RemoveSSTRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.RemoveSSTRequest.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.RemoveSSTRequest.jsonschema.strict.json deleted file mode 100644 index 05b15efb..00000000 --- a/packages/proto/gen/json/stackpanel.agent.RemoveSSTRequest.jsonschema.strict.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$id": "stackpanel.agent.RemoveSSTRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "stage": { - "type": "string" - } - }, - "required": [ - "stage" - ], - "title": "RemoveSST Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.RemoveSSTRequest.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.RemoveSSTRequest.schema.bundle.json deleted file mode 100644 index bed756c1..00000000 --- a/packages/proto/gen/json/stackpanel.agent.RemoveSSTRequest.schema.bundle.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.RemoveSSTRequest.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "stage": { - "default": "", - "type": "string" - } - }, - "title": "RemoveSST Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.RemoveSSTRequest.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.RemoveSSTRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.RemoveSSTRequest.schema.json b/packages/proto/gen/json/stackpanel.agent.RemoveSSTRequest.schema.json deleted file mode 100644 index 1cab1ac1..00000000 --- a/packages/proto/gen/json/stackpanel.agent.RemoveSSTRequest.schema.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "$id": "stackpanel.agent.RemoveSSTRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "stage": { - "default": "", - "type": "string" - } - }, - "title": "RemoveSST Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.RemoveSSTRequest.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.RemoveSSTRequest.schema.strict.bundle.json deleted file mode 100644 index 07bc038b..00000000 --- a/packages/proto/gen/json/stackpanel.agent.RemoveSSTRequest.schema.strict.bundle.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.RemoveSSTRequest.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "stage": { - "type": "string" - } - }, - "required": [ - "stage" - ], - "title": "RemoveSST Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.RemoveSSTRequest.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.RemoveSSTRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.RemoveSSTRequest.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.RemoveSSTRequest.schema.strict.json deleted file mode 100644 index 61c93264..00000000 --- a/packages/proto/gen/json/stackpanel.agent.RemoveSSTRequest.schema.strict.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$id": "stackpanel.agent.RemoveSSTRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "stage": { - "type": "string" - } - }, - "required": [ - "stage" - ], - "title": "RemoveSST Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.RemoveSSTResponse.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.RemoveSSTResponse.jsonschema.bundle.json deleted file mode 100644 index 9ec7a09c..00000000 --- a/packages/proto/gen/json/stackpanel.agent.RemoveSSTResponse.jsonschema.bundle.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.RemoveSSTResponse.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "error": { - "default": "", - "type": "string" - }, - "output": { - "default": "", - "type": "string" - }, - "success": { - "default": false, - "type": "boolean" - } - }, - "title": "RemoveSST Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.RemoveSSTResponse.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.RemoveSSTResponse.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.RemoveSSTResponse.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.RemoveSSTResponse.jsonschema.json deleted file mode 100644 index e9357b3f..00000000 --- a/packages/proto/gen/json/stackpanel.agent.RemoveSSTResponse.jsonschema.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$id": "stackpanel.agent.RemoveSSTResponse.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "error": { - "default": "", - "type": "string" - }, - "output": { - "default": "", - "type": "string" - }, - "success": { - "default": false, - "type": "boolean" - } - }, - "title": "RemoveSST Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.RemoveSSTResponse.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.RemoveSSTResponse.jsonschema.strict.bundle.json deleted file mode 100644 index c4c15777..00000000 --- a/packages/proto/gen/json/stackpanel.agent.RemoveSSTResponse.jsonschema.strict.bundle.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.RemoveSSTResponse.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "error": { - "type": "string" - }, - "output": { - "type": "string" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "success", - "output", - "error" - ], - "title": "RemoveSST Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.RemoveSSTResponse.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.RemoveSSTResponse.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.RemoveSSTResponse.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.RemoveSSTResponse.jsonschema.strict.json deleted file mode 100644 index 76d3558c..00000000 --- a/packages/proto/gen/json/stackpanel.agent.RemoveSSTResponse.jsonschema.strict.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$id": "stackpanel.agent.RemoveSSTResponse.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "error": { - "type": "string" - }, - "output": { - "type": "string" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "success", - "output", - "error" - ], - "title": "RemoveSST Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.RemoveSSTResponse.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.RemoveSSTResponse.schema.bundle.json deleted file mode 100644 index bca11174..00000000 --- a/packages/proto/gen/json/stackpanel.agent.RemoveSSTResponse.schema.bundle.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.RemoveSSTResponse.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "error": { - "default": "", - "type": "string" - }, - "output": { - "default": "", - "type": "string" - }, - "success": { - "default": false, - "type": "boolean" - } - }, - "title": "RemoveSST Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.RemoveSSTResponse.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.RemoveSSTResponse.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.RemoveSSTResponse.schema.json b/packages/proto/gen/json/stackpanel.agent.RemoveSSTResponse.schema.json deleted file mode 100644 index 41bad3ee..00000000 --- a/packages/proto/gen/json/stackpanel.agent.RemoveSSTResponse.schema.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$id": "stackpanel.agent.RemoveSSTResponse.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "error": { - "default": "", - "type": "string" - }, - "output": { - "default": "", - "type": "string" - }, - "success": { - "default": false, - "type": "boolean" - } - }, - "title": "RemoveSST Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.RemoveSSTResponse.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.RemoveSSTResponse.schema.strict.bundle.json deleted file mode 100644 index 8edf65a4..00000000 --- a/packages/proto/gen/json/stackpanel.agent.RemoveSSTResponse.schema.strict.bundle.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.RemoveSSTResponse.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "error": { - "type": "string" - }, - "output": { - "type": "string" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "success", - "output", - "error" - ], - "title": "RemoveSST Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.RemoveSSTResponse.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.RemoveSSTResponse.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.RemoveSSTResponse.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.RemoveSSTResponse.schema.strict.json deleted file mode 100644 index 0899f4f8..00000000 --- a/packages/proto/gen/json/stackpanel.agent.RemoveSSTResponse.schema.strict.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$id": "stackpanel.agent.RemoveSSTResponse.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "error": { - "type": "string" - }, - "output": { - "type": "string" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "success", - "output", - "error" - ], - "title": "RemoveSST Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SSTOutputsResponse.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.SSTOutputsResponse.jsonschema.bundle.json deleted file mode 100644 index daba1ba3..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SSTOutputsResponse.jsonschema.bundle.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.SSTOutputsResponse.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "outputs": { - "additionalProperties": { - "type": "string" - }, - "propertyNames": { - "type": "string" - }, - "type": "object" - } - }, - "title": "SST Outputs Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.SSTOutputsResponse.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.SSTOutputsResponse.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SSTOutputsResponse.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.SSTOutputsResponse.jsonschema.json deleted file mode 100644 index 8aebc4b2..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SSTOutputsResponse.jsonschema.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "$id": "stackpanel.agent.SSTOutputsResponse.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "outputs": { - "additionalProperties": { - "type": "string" - }, - "propertyNames": { - "type": "string" - }, - "type": "object" - } - }, - "title": "SST Outputs Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SSTOutputsResponse.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.SSTOutputsResponse.jsonschema.strict.bundle.json deleted file mode 100644 index 71d946d8..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SSTOutputsResponse.jsonschema.strict.bundle.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.SSTOutputsResponse.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "outputs": { - "additionalProperties": { - "type": "string" - }, - "propertyNames": { - "type": "string" - }, - "type": "object" - } - }, - "title": "SST Outputs Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.SSTOutputsResponse.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.SSTOutputsResponse.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SSTOutputsResponse.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.SSTOutputsResponse.jsonschema.strict.json deleted file mode 100644 index a63c627d..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SSTOutputsResponse.jsonschema.strict.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "$id": "stackpanel.agent.SSTOutputsResponse.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "outputs": { - "additionalProperties": { - "type": "string" - }, - "propertyNames": { - "type": "string" - }, - "type": "object" - } - }, - "title": "SST Outputs Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SSTOutputsResponse.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.SSTOutputsResponse.schema.bundle.json deleted file mode 100644 index 93f6e0a2..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SSTOutputsResponse.schema.bundle.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.SSTOutputsResponse.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "outputs": { - "additionalProperties": { - "type": "string" - }, - "propertyNames": { - "type": "string" - }, - "type": "object" - } - }, - "title": "SST Outputs Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.SSTOutputsResponse.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.SSTOutputsResponse.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SSTOutputsResponse.schema.json b/packages/proto/gen/json/stackpanel.agent.SSTOutputsResponse.schema.json deleted file mode 100644 index 1aa5cb56..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SSTOutputsResponse.schema.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "$id": "stackpanel.agent.SSTOutputsResponse.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "outputs": { - "additionalProperties": { - "type": "string" - }, - "propertyNames": { - "type": "string" - }, - "type": "object" - } - }, - "title": "SST Outputs Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SSTOutputsResponse.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.SSTOutputsResponse.schema.strict.bundle.json deleted file mode 100644 index 1ddb252d..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SSTOutputsResponse.schema.strict.bundle.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.SSTOutputsResponse.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "outputs": { - "additionalProperties": { - "type": "string" - }, - "propertyNames": { - "type": "string" - }, - "type": "object" - } - }, - "title": "SST Outputs Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.SSTOutputsResponse.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.SSTOutputsResponse.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SSTOutputsResponse.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.SSTOutputsResponse.schema.strict.json deleted file mode 100644 index aa621cbc..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SSTOutputsResponse.schema.strict.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "$id": "stackpanel.agent.SSTOutputsResponse.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "outputs": { - "additionalProperties": { - "type": "string" - }, - "propertyNames": { - "type": "string" - }, - "type": "object" - } - }, - "title": "SST Outputs Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SSTResource.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.SSTResource.jsonschema.bundle.json deleted file mode 100644 index c5dadb8e..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SSTResource.jsonschema.bundle.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.SSTResource.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "id": { - "default": "", - "type": "string" - }, - "type": { - "default": "", - "type": "string" - }, - "urn": { - "default": "", - "type": "string" - } - }, - "title": "SST Resource", - "type": "object" - } - }, - "$id": "stackpanel.agent.SSTResource.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.SSTResource.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SSTResource.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.SSTResource.jsonschema.json deleted file mode 100644 index 9b9138d8..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SSTResource.jsonschema.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$id": "stackpanel.agent.SSTResource.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "id": { - "default": "", - "type": "string" - }, - "type": { - "default": "", - "type": "string" - }, - "urn": { - "default": "", - "type": "string" - } - }, - "title": "SST Resource", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SSTResource.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.SSTResource.jsonschema.strict.bundle.json deleted file mode 100644 index 386decaa..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SSTResource.jsonschema.strict.bundle.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.SSTResource.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "id": { - "type": "string" - }, - "type": { - "type": "string" - }, - "urn": { - "type": "string" - } - }, - "required": [ - "type", - "urn", - "id" - ], - "title": "SST Resource", - "type": "object" - } - }, - "$id": "stackpanel.agent.SSTResource.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.SSTResource.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SSTResource.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.SSTResource.jsonschema.strict.json deleted file mode 100644 index 6d345bd2..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SSTResource.jsonschema.strict.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$id": "stackpanel.agent.SSTResource.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "id": { - "type": "string" - }, - "type": { - "type": "string" - }, - "urn": { - "type": "string" - } - }, - "required": [ - "type", - "urn", - "id" - ], - "title": "SST Resource", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SSTResource.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.SSTResource.schema.bundle.json deleted file mode 100644 index dda3692f..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SSTResource.schema.bundle.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.SSTResource.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "id": { - "default": "", - "type": "string" - }, - "type": { - "default": "", - "type": "string" - }, - "urn": { - "default": "", - "type": "string" - } - }, - "title": "SST Resource", - "type": "object" - } - }, - "$id": "stackpanel.agent.SSTResource.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.SSTResource.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SSTResource.schema.json b/packages/proto/gen/json/stackpanel.agent.SSTResource.schema.json deleted file mode 100644 index aa15a260..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SSTResource.schema.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$id": "stackpanel.agent.SSTResource.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "id": { - "default": "", - "type": "string" - }, - "type": { - "default": "", - "type": "string" - }, - "urn": { - "default": "", - "type": "string" - } - }, - "title": "SST Resource", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SSTResource.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.SSTResource.schema.strict.bundle.json deleted file mode 100644 index d813c33b..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SSTResource.schema.strict.bundle.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.SSTResource.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "id": { - "type": "string" - }, - "type": { - "type": "string" - }, - "urn": { - "type": "string" - } - }, - "required": [ - "type", - "urn", - "id" - ], - "title": "SST Resource", - "type": "object" - } - }, - "$id": "stackpanel.agent.SSTResource.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.SSTResource.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SSTResource.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.SSTResource.schema.strict.json deleted file mode 100644 index 4385a02a..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SSTResource.schema.strict.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$id": "stackpanel.agent.SSTResource.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "id": { - "type": "string" - }, - "type": { - "type": "string" - }, - "urn": { - "type": "string" - } - }, - "required": [ - "type", - "urn", - "id" - ], - "title": "SST Resource", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SSTResourcesResponse.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.SSTResourcesResponse.jsonschema.bundle.json deleted file mode 100644 index 28eab939..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SSTResourcesResponse.jsonschema.bundle.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.SSTResource.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "id": { - "default": "", - "type": "string" - }, - "type": { - "default": "", - "type": "string" - }, - "urn": { - "default": "", - "type": "string" - } - }, - "title": "SST Resource", - "type": "object" - }, - "stackpanel.agent.SSTResourcesResponse.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "resources": { - "items": { - "$ref": "#/$defs/stackpanel.agent.SSTResource.jsonschema.json" - }, - "type": "array" - } - }, - "title": "SST Resources Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.SSTResourcesResponse.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.SSTResourcesResponse.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SSTResourcesResponse.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.SSTResourcesResponse.jsonschema.json deleted file mode 100644 index 75fb7836..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SSTResourcesResponse.jsonschema.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$id": "stackpanel.agent.SSTResourcesResponse.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "resources": { - "items": { - "$ref": "stackpanel.agent.SSTResource.jsonschema.json" - }, - "type": "array" - } - }, - "title": "SST Resources Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SSTResourcesResponse.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.SSTResourcesResponse.jsonschema.strict.bundle.json deleted file mode 100644 index 814a9e39..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SSTResourcesResponse.jsonschema.strict.bundle.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.SSTResource.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "id": { - "type": "string" - }, - "type": { - "type": "string" - }, - "urn": { - "type": "string" - } - }, - "required": [ - "type", - "urn", - "id" - ], - "title": "SST Resource", - "type": "object" - }, - "stackpanel.agent.SSTResourcesResponse.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "resources": { - "items": { - "$ref": "#/$defs/stackpanel.agent.SSTResource.jsonschema.strict.json" - }, - "type": "array" - } - }, - "title": "SST Resources Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.SSTResourcesResponse.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.SSTResourcesResponse.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SSTResourcesResponse.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.SSTResourcesResponse.jsonschema.strict.json deleted file mode 100644 index 09c61d2a..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SSTResourcesResponse.jsonschema.strict.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$id": "stackpanel.agent.SSTResourcesResponse.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "resources": { - "items": { - "$ref": "stackpanel.agent.SSTResource.jsonschema.strict.json" - }, - "type": "array" - } - }, - "title": "SST Resources Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SSTResourcesResponse.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.SSTResourcesResponse.schema.bundle.json deleted file mode 100644 index 95cbb18a..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SSTResourcesResponse.schema.bundle.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.SSTResource.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "id": { - "default": "", - "type": "string" - }, - "type": { - "default": "", - "type": "string" - }, - "urn": { - "default": "", - "type": "string" - } - }, - "title": "SST Resource", - "type": "object" - }, - "stackpanel.agent.SSTResourcesResponse.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "resources": { - "items": { - "$ref": "#/$defs/stackpanel.agent.SSTResource.schema.json" - }, - "type": "array" - } - }, - "title": "SST Resources Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.SSTResourcesResponse.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.SSTResourcesResponse.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SSTResourcesResponse.schema.json b/packages/proto/gen/json/stackpanel.agent.SSTResourcesResponse.schema.json deleted file mode 100644 index e6270d52..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SSTResourcesResponse.schema.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$id": "stackpanel.agent.SSTResourcesResponse.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "resources": { - "items": { - "$ref": "stackpanel.agent.SSTResource.schema.json" - }, - "type": "array" - } - }, - "title": "SST Resources Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SSTResourcesResponse.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.SSTResourcesResponse.schema.strict.bundle.json deleted file mode 100644 index 186e56ab..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SSTResourcesResponse.schema.strict.bundle.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.SSTResource.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "id": { - "type": "string" - }, - "type": { - "type": "string" - }, - "urn": { - "type": "string" - } - }, - "required": [ - "type", - "urn", - "id" - ], - "title": "SST Resource", - "type": "object" - }, - "stackpanel.agent.SSTResourcesResponse.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "resources": { - "items": { - "$ref": "#/$defs/stackpanel.agent.SSTResource.schema.strict.json" - }, - "type": "array" - } - }, - "title": "SST Resources Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.SSTResourcesResponse.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.SSTResourcesResponse.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SSTResourcesResponse.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.SSTResourcesResponse.schema.strict.json deleted file mode 100644 index d216bc01..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SSTResourcesResponse.schema.strict.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$id": "stackpanel.agent.SSTResourcesResponse.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "resources": { - "items": { - "$ref": "stackpanel.agent.SSTResource.schema.strict.json" - }, - "type": "array" - } - }, - "title": "SST Resources Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SSTStatusResponse.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.SSTStatusResponse.jsonschema.bundle.json deleted file mode 100644 index 74bd25a1..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SSTStatusResponse.jsonschema.bundle.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.SSTStatusResponse.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(config_path)$": { - "default": "", - "type": "string" - }, - "^(config_valid)$": { - "default": false, - "type": "boolean" - }, - "^(last_deploy)$": { - "default": "", - "type": "string" - } - }, - "properties": { - "configPath": { - "default": "", - "type": "string" - }, - "configValid": { - "default": false, - "type": "boolean" - }, - "configured": { - "default": false, - "type": "boolean" - }, - "deployed": { - "default": false, - "type": "boolean" - }, - "error": { - "default": "", - "type": "string" - }, - "lastDeploy": { - "default": "", - "type": "string" - }, - "stage": { - "default": "", - "type": "string" - } - }, - "title": "SST Status Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.SSTStatusResponse.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.SSTStatusResponse.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SSTStatusResponse.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.SSTStatusResponse.jsonschema.json deleted file mode 100644 index e002259c..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SSTStatusResponse.jsonschema.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "$id": "stackpanel.agent.SSTStatusResponse.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(config_path)$": { - "default": "", - "type": "string" - }, - "^(config_valid)$": { - "default": false, - "type": "boolean" - }, - "^(last_deploy)$": { - "default": "", - "type": "string" - } - }, - "properties": { - "configPath": { - "default": "", - "type": "string" - }, - "configValid": { - "default": false, - "type": "boolean" - }, - "configured": { - "default": false, - "type": "boolean" - }, - "deployed": { - "default": false, - "type": "boolean" - }, - "error": { - "default": "", - "type": "string" - }, - "lastDeploy": { - "default": "", - "type": "string" - }, - "stage": { - "default": "", - "type": "string" - } - }, - "title": "SST Status Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SSTStatusResponse.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.SSTStatusResponse.jsonschema.strict.bundle.json deleted file mode 100644 index 828c1f05..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SSTStatusResponse.jsonschema.strict.bundle.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.SSTStatusResponse.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "configPath": { - "type": "string" - }, - "configValid": { - "type": "boolean" - }, - "configured": { - "type": "boolean" - }, - "deployed": { - "type": "boolean" - }, - "error": { - "type": "string" - }, - "lastDeploy": { - "type": "string" - }, - "stage": { - "type": "string" - } - }, - "required": [ - "configured", - "configPath", - "configValid", - "deployed", - "stage", - "lastDeploy", - "error" - ], - "title": "SST Status Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.SSTStatusResponse.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.SSTStatusResponse.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SSTStatusResponse.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.SSTStatusResponse.jsonschema.strict.json deleted file mode 100644 index 72ac5363..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SSTStatusResponse.jsonschema.strict.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "$id": "stackpanel.agent.SSTStatusResponse.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "configPath": { - "type": "string" - }, - "configValid": { - "type": "boolean" - }, - "configured": { - "type": "boolean" - }, - "deployed": { - "type": "boolean" - }, - "error": { - "type": "string" - }, - "lastDeploy": { - "type": "string" - }, - "stage": { - "type": "string" - } - }, - "required": [ - "configured", - "configPath", - "configValid", - "deployed", - "stage", - "lastDeploy", - "error" - ], - "title": "SST Status Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SSTStatusResponse.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.SSTStatusResponse.schema.bundle.json deleted file mode 100644 index 6a43586d..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SSTStatusResponse.schema.bundle.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.SSTStatusResponse.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(configPath)$": { - "default": "", - "type": "string" - }, - "^(configValid)$": { - "default": false, - "type": "boolean" - }, - "^(lastDeploy)$": { - "default": "", - "type": "string" - } - }, - "properties": { - "config_path": { - "default": "", - "type": "string" - }, - "config_valid": { - "default": false, - "type": "boolean" - }, - "configured": { - "default": false, - "type": "boolean" - }, - "deployed": { - "default": false, - "type": "boolean" - }, - "error": { - "default": "", - "type": "string" - }, - "last_deploy": { - "default": "", - "type": "string" - }, - "stage": { - "default": "", - "type": "string" - } - }, - "title": "SST Status Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.SSTStatusResponse.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.SSTStatusResponse.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SSTStatusResponse.schema.json b/packages/proto/gen/json/stackpanel.agent.SSTStatusResponse.schema.json deleted file mode 100644 index 885f11df..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SSTStatusResponse.schema.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "$id": "stackpanel.agent.SSTStatusResponse.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(configPath)$": { - "default": "", - "type": "string" - }, - "^(configValid)$": { - "default": false, - "type": "boolean" - }, - "^(lastDeploy)$": { - "default": "", - "type": "string" - } - }, - "properties": { - "config_path": { - "default": "", - "type": "string" - }, - "config_valid": { - "default": false, - "type": "boolean" - }, - "configured": { - "default": false, - "type": "boolean" - }, - "deployed": { - "default": false, - "type": "boolean" - }, - "error": { - "default": "", - "type": "string" - }, - "last_deploy": { - "default": "", - "type": "string" - }, - "stage": { - "default": "", - "type": "string" - } - }, - "title": "SST Status Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SSTStatusResponse.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.SSTStatusResponse.schema.strict.bundle.json deleted file mode 100644 index aca549f5..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SSTStatusResponse.schema.strict.bundle.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.SSTStatusResponse.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "config_path": { - "type": "string" - }, - "config_valid": { - "type": "boolean" - }, - "configured": { - "type": "boolean" - }, - "deployed": { - "type": "boolean" - }, - "error": { - "type": "string" - }, - "last_deploy": { - "type": "string" - }, - "stage": { - "type": "string" - } - }, - "required": [ - "configured", - "config_path", - "config_valid", - "deployed", - "stage", - "last_deploy", - "error" - ], - "title": "SST Status Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.SSTStatusResponse.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.SSTStatusResponse.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SSTStatusResponse.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.SSTStatusResponse.schema.strict.json deleted file mode 100644 index c79a7009..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SSTStatusResponse.schema.strict.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "$id": "stackpanel.agent.SSTStatusResponse.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "config_path": { - "type": "string" - }, - "config_valid": { - "type": "boolean" - }, - "configured": { - "type": "boolean" - }, - "deployed": { - "type": "boolean" - }, - "error": { - "type": "string" - }, - "last_deploy": { - "type": "string" - }, - "stage": { - "type": "string" - } - }, - "required": [ - "configured", - "config_path", - "config_valid", - "deployed", - "stage", - "last_deploy", - "error" - ], - "title": "SST Status Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsRequest.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsRequest.jsonschema.bundle.json deleted file mode 100644 index f65886ed..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsRequest.jsonschema.bundle.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.SearchNixpkgsRequest.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "limit": { - "anyOf": [ - { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - }, - "query": { - "default": "", - "type": "string" - } - }, - "title": "Search Nixpkgs Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.SearchNixpkgsRequest.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.SearchNixpkgsRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsRequest.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsRequest.jsonschema.json deleted file mode 100644 index 1f31e99c..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsRequest.jsonschema.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "$id": "stackpanel.agent.SearchNixpkgsRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "limit": { - "anyOf": [ - { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - }, - "query": { - "default": "", - "type": "string" - } - }, - "title": "Search Nixpkgs Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsRequest.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsRequest.jsonschema.strict.bundle.json deleted file mode 100644 index a8370409..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsRequest.jsonschema.strict.bundle.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.SearchNixpkgsRequest.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "limit": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - }, - "query": { - "type": "string" - } - }, - "required": [ - "query", - "limit" - ], - "title": "Search Nixpkgs Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.SearchNixpkgsRequest.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.SearchNixpkgsRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsRequest.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsRequest.jsonschema.strict.json deleted file mode 100644 index e98384bc..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsRequest.jsonschema.strict.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$id": "stackpanel.agent.SearchNixpkgsRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "limit": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - }, - "query": { - "type": "string" - } - }, - "required": [ - "query", - "limit" - ], - "title": "Search Nixpkgs Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsRequest.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsRequest.schema.bundle.json deleted file mode 100644 index c98571a1..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsRequest.schema.bundle.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.SearchNixpkgsRequest.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "limit": { - "anyOf": [ - { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - }, - "query": { - "default": "", - "type": "string" - } - }, - "title": "Search Nixpkgs Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.SearchNixpkgsRequest.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.SearchNixpkgsRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsRequest.schema.json b/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsRequest.schema.json deleted file mode 100644 index 6a2b9f60..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsRequest.schema.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "$id": "stackpanel.agent.SearchNixpkgsRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "limit": { - "anyOf": [ - { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - }, - "query": { - "default": "", - "type": "string" - } - }, - "title": "Search Nixpkgs Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsRequest.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsRequest.schema.strict.bundle.json deleted file mode 100644 index f41aef58..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsRequest.schema.strict.bundle.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.SearchNixpkgsRequest.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "limit": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - }, - "query": { - "type": "string" - } - }, - "required": [ - "query", - "limit" - ], - "title": "Search Nixpkgs Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.SearchNixpkgsRequest.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.SearchNixpkgsRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsRequest.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsRequest.schema.strict.json deleted file mode 100644 index fb997254..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsRequest.schema.strict.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$id": "stackpanel.agent.SearchNixpkgsRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "limit": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - }, - "query": { - "type": "string" - } - }, - "required": [ - "query", - "limit" - ], - "title": "Search Nixpkgs Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsResponse.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsResponse.jsonschema.bundle.json deleted file mode 100644 index 5091ca99..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsResponse.jsonschema.bundle.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.NixpkgsPackage.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(attr_path)$": { - "default": "", - "type": "string" - }, - "^(nixpkgs_url)$": { - "default": "", - "type": "string" - } - }, - "properties": { - "attrPath": { - "default": "", - "type": "string" - }, - "description": { - "default": "", - "type": "string" - }, - "homepage": { - "default": "", - "type": "string" - }, - "installed": { - "default": false, - "type": "boolean" - }, - "license": { - "default": "", - "type": "string" - }, - "name": { - "default": "", - "type": "string" - }, - "nixpkgsUrl": { - "default": "", - "type": "string" - }, - "version": { - "default": "", - "type": "string" - } - }, - "title": "Nixpkgs Package", - "type": "object" - }, - "stackpanel.agent.SearchNixpkgsResponse.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "packages": { - "items": { - "$ref": "#/$defs/stackpanel.agent.NixpkgsPackage.jsonschema.json" - }, - "type": "array" - } - }, - "title": "Search Nixpkgs Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.SearchNixpkgsResponse.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.SearchNixpkgsResponse.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsResponse.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsResponse.jsonschema.json deleted file mode 100644 index 3642b385..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsResponse.jsonschema.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$id": "stackpanel.agent.SearchNixpkgsResponse.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "packages": { - "items": { - "$ref": "stackpanel.agent.NixpkgsPackage.jsonschema.json" - }, - "type": "array" - } - }, - "title": "Search Nixpkgs Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsResponse.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsResponse.jsonschema.strict.bundle.json deleted file mode 100644 index 4fd93fb9..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsResponse.jsonschema.strict.bundle.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.NixpkgsPackage.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "attrPath": { - "type": "string" - }, - "description": { - "type": "string" - }, - "homepage": { - "type": "string" - }, - "installed": { - "type": "boolean" - }, - "license": { - "type": "string" - }, - "name": { - "type": "string" - }, - "nixpkgsUrl": { - "type": "string" - }, - "version": { - "type": "string" - } - }, - "required": [ - "name", - "attrPath", - "version", - "description", - "installed", - "license", - "homepage", - "nixpkgsUrl" - ], - "title": "Nixpkgs Package", - "type": "object" - }, - "stackpanel.agent.SearchNixpkgsResponse.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "packages": { - "items": { - "$ref": "#/$defs/stackpanel.agent.NixpkgsPackage.jsonschema.strict.json" - }, - "type": "array" - } - }, - "title": "Search Nixpkgs Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.SearchNixpkgsResponse.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.SearchNixpkgsResponse.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsResponse.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsResponse.jsonschema.strict.json deleted file mode 100644 index fd77fac0..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsResponse.jsonschema.strict.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$id": "stackpanel.agent.SearchNixpkgsResponse.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "packages": { - "items": { - "$ref": "stackpanel.agent.NixpkgsPackage.jsonschema.strict.json" - }, - "type": "array" - } - }, - "title": "Search Nixpkgs Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsResponse.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsResponse.schema.bundle.json deleted file mode 100644 index a6a9d95c..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsResponse.schema.bundle.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.NixpkgsPackage.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(attrPath)$": { - "default": "", - "type": "string" - }, - "^(nixpkgsUrl)$": { - "default": "", - "type": "string" - } - }, - "properties": { - "attr_path": { - "default": "", - "type": "string" - }, - "description": { - "default": "", - "type": "string" - }, - "homepage": { - "default": "", - "type": "string" - }, - "installed": { - "default": false, - "type": "boolean" - }, - "license": { - "default": "", - "type": "string" - }, - "name": { - "default": "", - "type": "string" - }, - "nixpkgs_url": { - "default": "", - "type": "string" - }, - "version": { - "default": "", - "type": "string" - } - }, - "title": "Nixpkgs Package", - "type": "object" - }, - "stackpanel.agent.SearchNixpkgsResponse.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "packages": { - "items": { - "$ref": "#/$defs/stackpanel.agent.NixpkgsPackage.schema.json" - }, - "type": "array" - } - }, - "title": "Search Nixpkgs Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.SearchNixpkgsResponse.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.SearchNixpkgsResponse.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsResponse.schema.json b/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsResponse.schema.json deleted file mode 100644 index 1b761ddd..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsResponse.schema.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$id": "stackpanel.agent.SearchNixpkgsResponse.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "packages": { - "items": { - "$ref": "stackpanel.agent.NixpkgsPackage.schema.json" - }, - "type": "array" - } - }, - "title": "Search Nixpkgs Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsResponse.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsResponse.schema.strict.bundle.json deleted file mode 100644 index 107a6c73..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsResponse.schema.strict.bundle.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.NixpkgsPackage.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "attr_path": { - "type": "string" - }, - "description": { - "type": "string" - }, - "homepage": { - "type": "string" - }, - "installed": { - "type": "boolean" - }, - "license": { - "type": "string" - }, - "name": { - "type": "string" - }, - "nixpkgs_url": { - "type": "string" - }, - "version": { - "type": "string" - } - }, - "required": [ - "name", - "attr_path", - "version", - "description", - "installed", - "license", - "homepage", - "nixpkgs_url" - ], - "title": "Nixpkgs Package", - "type": "object" - }, - "stackpanel.agent.SearchNixpkgsResponse.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "packages": { - "items": { - "$ref": "#/$defs/stackpanel.agent.NixpkgsPackage.schema.strict.json" - }, - "type": "array" - } - }, - "title": "Search Nixpkgs Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.SearchNixpkgsResponse.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.SearchNixpkgsResponse.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsResponse.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsResponse.schema.strict.json deleted file mode 100644 index f4960ecc..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SearchNixpkgsResponse.schema.strict.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$id": "stackpanel.agent.SearchNixpkgsResponse.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "packages": { - "items": { - "$ref": "stackpanel.agent.NixpkgsPackage.schema.strict.json" - }, - "type": "array" - } - }, - "title": "Search Nixpkgs Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ServiceRequest.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.ServiceRequest.jsonschema.bundle.json deleted file mode 100644 index 37ba6912..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ServiceRequest.jsonschema.bundle.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.ServiceRequest.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "name": { - "default": "", - "type": "string" - } - }, - "title": "Service Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.ServiceRequest.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.ServiceRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ServiceRequest.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.ServiceRequest.jsonschema.json deleted file mode 100644 index 295c1e9b..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ServiceRequest.jsonschema.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "$id": "stackpanel.agent.ServiceRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "name": { - "default": "", - "type": "string" - } - }, - "title": "Service Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ServiceRequest.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.ServiceRequest.jsonschema.strict.bundle.json deleted file mode 100644 index f0e467a0..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ServiceRequest.jsonschema.strict.bundle.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.ServiceRequest.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ], - "title": "Service Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.ServiceRequest.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.ServiceRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ServiceRequest.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.ServiceRequest.jsonschema.strict.json deleted file mode 100644 index 10f960f9..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ServiceRequest.jsonschema.strict.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$id": "stackpanel.agent.ServiceRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ], - "title": "Service Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ServiceRequest.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.ServiceRequest.schema.bundle.json deleted file mode 100644 index 5e9b7165..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ServiceRequest.schema.bundle.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.ServiceRequest.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "name": { - "default": "", - "type": "string" - } - }, - "title": "Service Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.ServiceRequest.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.ServiceRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ServiceRequest.schema.json b/packages/proto/gen/json/stackpanel.agent.ServiceRequest.schema.json deleted file mode 100644 index 56d1c369..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ServiceRequest.schema.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "$id": "stackpanel.agent.ServiceRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "name": { - "default": "", - "type": "string" - } - }, - "title": "Service Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ServiceRequest.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.ServiceRequest.schema.strict.bundle.json deleted file mode 100644 index 2251fc64..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ServiceRequest.schema.strict.bundle.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.ServiceRequest.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ], - "title": "Service Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.ServiceRequest.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.ServiceRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ServiceRequest.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.ServiceRequest.schema.strict.json deleted file mode 100644 index 1989768a..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ServiceRequest.schema.strict.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$id": "stackpanel.agent.ServiceRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ], - "title": "Service Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ServiceResponse.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.ServiceResponse.jsonschema.bundle.json deleted file mode 100644 index 625ac3fd..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ServiceResponse.jsonschema.bundle.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.ServiceResponse.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "message": { - "default": "", - "type": "string" - }, - "success": { - "default": false, - "type": "boolean" - } - }, - "title": "Service Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.ServiceResponse.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.ServiceResponse.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ServiceResponse.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.ServiceResponse.jsonschema.json deleted file mode 100644 index 96a9dc86..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ServiceResponse.jsonschema.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$id": "stackpanel.agent.ServiceResponse.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "message": { - "default": "", - "type": "string" - }, - "success": { - "default": false, - "type": "boolean" - } - }, - "title": "Service Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ServiceResponse.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.ServiceResponse.jsonschema.strict.bundle.json deleted file mode 100644 index c3280aaf..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ServiceResponse.jsonschema.strict.bundle.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.ServiceResponse.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "message": { - "type": "string" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "success", - "message" - ], - "title": "Service Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.ServiceResponse.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.ServiceResponse.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ServiceResponse.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.ServiceResponse.jsonschema.strict.json deleted file mode 100644 index c0ede408..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ServiceResponse.jsonschema.strict.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$id": "stackpanel.agent.ServiceResponse.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "message": { - "type": "string" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "success", - "message" - ], - "title": "Service Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ServiceResponse.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.ServiceResponse.schema.bundle.json deleted file mode 100644 index 90f5fbd0..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ServiceResponse.schema.bundle.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.ServiceResponse.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "message": { - "default": "", - "type": "string" - }, - "success": { - "default": false, - "type": "boolean" - } - }, - "title": "Service Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.ServiceResponse.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.ServiceResponse.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ServiceResponse.schema.json b/packages/proto/gen/json/stackpanel.agent.ServiceResponse.schema.json deleted file mode 100644 index 7f1015a5..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ServiceResponse.schema.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$id": "stackpanel.agent.ServiceResponse.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "message": { - "default": "", - "type": "string" - }, - "success": { - "default": false, - "type": "boolean" - } - }, - "title": "Service Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ServiceResponse.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.ServiceResponse.schema.strict.bundle.json deleted file mode 100644 index 49ec0a70..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ServiceResponse.schema.strict.bundle.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.ServiceResponse.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "message": { - "type": "string" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "success", - "message" - ], - "title": "Service Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.ServiceResponse.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.ServiceResponse.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ServiceResponse.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.ServiceResponse.schema.strict.json deleted file mode 100644 index 4c2d9853..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ServiceResponse.schema.strict.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$id": "stackpanel.agent.ServiceResponse.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "message": { - "type": "string" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "success", - "message" - ], - "title": "Service Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ServiceStatus.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.ServiceStatus.jsonschema.bundle.json deleted file mode 100644 index 311e3d5b..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ServiceStatus.jsonschema.bundle.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.ServiceStatus.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "name": { - "default": "", - "type": "string" - }, - "pid": { - "anyOf": [ - { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - }, - "status": { - "default": "", - "type": "string" - }, - "uptime": { - "anyOf": [ - { - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - } - }, - "title": "Service Status", - "type": "object" - } - }, - "$id": "stackpanel.agent.ServiceStatus.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.ServiceStatus.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ServiceStatus.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.ServiceStatus.jsonschema.json deleted file mode 100644 index c4b884bc..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ServiceStatus.jsonschema.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$id": "stackpanel.agent.ServiceStatus.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "name": { - "default": "", - "type": "string" - }, - "pid": { - "anyOf": [ - { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - }, - "status": { - "default": "", - "type": "string" - }, - "uptime": { - "anyOf": [ - { - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - } - }, - "title": "Service Status", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ServiceStatus.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.ServiceStatus.jsonschema.strict.bundle.json deleted file mode 100644 index 1c62fac1..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ServiceStatus.jsonschema.strict.bundle.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.ServiceStatus.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "name": { - "type": "string" - }, - "pid": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - }, - "status": { - "type": "string" - }, - "uptime": { - "type": "integer" - } - }, - "required": [ - "name", - "status", - "pid", - "uptime" - ], - "title": "Service Status", - "type": "object" - } - }, - "$id": "stackpanel.agent.ServiceStatus.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.ServiceStatus.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ServiceStatus.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.ServiceStatus.jsonschema.strict.json deleted file mode 100644 index 3f97dc99..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ServiceStatus.jsonschema.strict.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "$id": "stackpanel.agent.ServiceStatus.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "name": { - "type": "string" - }, - "pid": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - }, - "status": { - "type": "string" - }, - "uptime": { - "type": "integer" - } - }, - "required": [ - "name", - "status", - "pid", - "uptime" - ], - "title": "Service Status", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ServiceStatus.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.ServiceStatus.schema.bundle.json deleted file mode 100644 index ade57ca1..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ServiceStatus.schema.bundle.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.ServiceStatus.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "name": { - "default": "", - "type": "string" - }, - "pid": { - "anyOf": [ - { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - }, - "status": { - "default": "", - "type": "string" - }, - "uptime": { - "anyOf": [ - { - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - } - }, - "title": "Service Status", - "type": "object" - } - }, - "$id": "stackpanel.agent.ServiceStatus.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.ServiceStatus.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ServiceStatus.schema.json b/packages/proto/gen/json/stackpanel.agent.ServiceStatus.schema.json deleted file mode 100644 index 953ad14e..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ServiceStatus.schema.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$id": "stackpanel.agent.ServiceStatus.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "name": { - "default": "", - "type": "string" - }, - "pid": { - "anyOf": [ - { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - }, - "status": { - "default": "", - "type": "string" - }, - "uptime": { - "anyOf": [ - { - "type": "integer" - }, - { - "pattern": "^-?[0-9]+$", - "type": "string" - } - ], - "default": 0 - } - }, - "title": "Service Status", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ServiceStatus.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.ServiceStatus.schema.strict.bundle.json deleted file mode 100644 index c14afe43..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ServiceStatus.schema.strict.bundle.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.ServiceStatus.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "name": { - "type": "string" - }, - "pid": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - }, - "status": { - "type": "string" - }, - "uptime": { - "type": "integer" - } - }, - "required": [ - "name", - "status", - "pid", - "uptime" - ], - "title": "Service Status", - "type": "object" - } - }, - "$id": "stackpanel.agent.ServiceStatus.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.ServiceStatus.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.ServiceStatus.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.ServiceStatus.schema.strict.json deleted file mode 100644 index 91db55c3..00000000 --- a/packages/proto/gen/json/stackpanel.agent.ServiceStatus.schema.strict.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "$id": "stackpanel.agent.ServiceStatus.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "name": { - "type": "string" - }, - "pid": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - }, - "status": { - "type": "string" - }, - "uptime": { - "type": "integer" - } - }, - "required": [ - "name", - "status", - "pid", - "uptime" - ], - "title": "Service Status", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SetAgeIdentityRequest.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.SetAgeIdentityRequest.jsonschema.bundle.json deleted file mode 100644 index f2816425..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SetAgeIdentityRequest.jsonschema.bundle.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.SetAgeIdentityRequest.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "value": { - "default": "", - "description": "Value can be a file path (e.g., ~/.ssh/id_ed25519) or key content", - "type": "string" - } - }, - "title": "Set Age Identity Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.SetAgeIdentityRequest.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.SetAgeIdentityRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SetAgeIdentityRequest.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.SetAgeIdentityRequest.jsonschema.json deleted file mode 100644 index 6b077255..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SetAgeIdentityRequest.jsonschema.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$id": "stackpanel.agent.SetAgeIdentityRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "value": { - "default": "", - "description": "Value can be a file path (e.g., ~/.ssh/id_ed25519) or key content", - "type": "string" - } - }, - "title": "Set Age Identity Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SetAgeIdentityRequest.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.SetAgeIdentityRequest.jsonschema.strict.bundle.json deleted file mode 100644 index 6e95228d..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SetAgeIdentityRequest.jsonschema.strict.bundle.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.SetAgeIdentityRequest.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "value": { - "description": "Value can be a file path (e.g., ~/.ssh/id_ed25519) or key content", - "type": "string" - } - }, - "required": [ - "value" - ], - "title": "Set Age Identity Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.SetAgeIdentityRequest.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.SetAgeIdentityRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SetAgeIdentityRequest.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.SetAgeIdentityRequest.jsonschema.strict.json deleted file mode 100644 index 31315da8..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SetAgeIdentityRequest.jsonschema.strict.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$id": "stackpanel.agent.SetAgeIdentityRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "value": { - "description": "Value can be a file path (e.g., ~/.ssh/id_ed25519) or key content", - "type": "string" - } - }, - "required": [ - "value" - ], - "title": "Set Age Identity Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SetAgeIdentityRequest.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.SetAgeIdentityRequest.schema.bundle.json deleted file mode 100644 index c64e5b6f..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SetAgeIdentityRequest.schema.bundle.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.SetAgeIdentityRequest.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "value": { - "default": "", - "description": "Value can be a file path (e.g., ~/.ssh/id_ed25519) or key content", - "type": "string" - } - }, - "title": "Set Age Identity Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.SetAgeIdentityRequest.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.SetAgeIdentityRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SetAgeIdentityRequest.schema.json b/packages/proto/gen/json/stackpanel.agent.SetAgeIdentityRequest.schema.json deleted file mode 100644 index 49e761ed..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SetAgeIdentityRequest.schema.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$id": "stackpanel.agent.SetAgeIdentityRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "value": { - "default": "", - "description": "Value can be a file path (e.g., ~/.ssh/id_ed25519) or key content", - "type": "string" - } - }, - "title": "Set Age Identity Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SetAgeIdentityRequest.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.SetAgeIdentityRequest.schema.strict.bundle.json deleted file mode 100644 index afb0f69b..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SetAgeIdentityRequest.schema.strict.bundle.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.SetAgeIdentityRequest.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "value": { - "description": "Value can be a file path (e.g., ~/.ssh/id_ed25519) or key content", - "type": "string" - } - }, - "required": [ - "value" - ], - "title": "Set Age Identity Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.SetAgeIdentityRequest.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.SetAgeIdentityRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SetAgeIdentityRequest.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.SetAgeIdentityRequest.schema.strict.json deleted file mode 100644 index 6fd79086..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SetAgeIdentityRequest.schema.strict.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$id": "stackpanel.agent.SetAgeIdentityRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "value": { - "description": "Value can be a file path (e.g., ~/.ssh/id_ed25519) or key content", - "type": "string" - } - }, - "required": [ - "value" - ], - "title": "Set Age Identity Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SetKMSConfigRequest.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.SetKMSConfigRequest.jsonschema.bundle.json deleted file mode 100644 index 7c5d4f06..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SetKMSConfigRequest.jsonschema.bundle.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.SetKMSConfigRequest.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(aws_profile)$": { - "default": "", - "type": "string" - }, - "^(key_arn)$": { - "default": "", - "type": "string" - } - }, - "properties": { - "awsProfile": { - "default": "", - "type": "string" - }, - "enable": { - "default": false, - "type": "boolean" - }, - "keyArn": { - "default": "", - "type": "string" - } - }, - "title": "SetKMS Config Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.SetKMSConfigRequest.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.SetKMSConfigRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SetKMSConfigRequest.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.SetKMSConfigRequest.jsonschema.json deleted file mode 100644 index 135b626a..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SetKMSConfigRequest.jsonschema.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "$id": "stackpanel.agent.SetKMSConfigRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(aws_profile)$": { - "default": "", - "type": "string" - }, - "^(key_arn)$": { - "default": "", - "type": "string" - } - }, - "properties": { - "awsProfile": { - "default": "", - "type": "string" - }, - "enable": { - "default": false, - "type": "boolean" - }, - "keyArn": { - "default": "", - "type": "string" - } - }, - "title": "SetKMS Config Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SetKMSConfigRequest.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.SetKMSConfigRequest.jsonschema.strict.bundle.json deleted file mode 100644 index e42e437f..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SetKMSConfigRequest.jsonschema.strict.bundle.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.SetKMSConfigRequest.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "awsProfile": { - "type": "string" - }, - "enable": { - "type": "boolean" - }, - "keyArn": { - "type": "string" - } - }, - "required": [ - "enable", - "keyArn", - "awsProfile" - ], - "title": "SetKMS Config Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.SetKMSConfigRequest.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.SetKMSConfigRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SetKMSConfigRequest.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.SetKMSConfigRequest.jsonschema.strict.json deleted file mode 100644 index 5b7d3a42..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SetKMSConfigRequest.jsonschema.strict.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$id": "stackpanel.agent.SetKMSConfigRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "awsProfile": { - "type": "string" - }, - "enable": { - "type": "boolean" - }, - "keyArn": { - "type": "string" - } - }, - "required": [ - "enable", - "keyArn", - "awsProfile" - ], - "title": "SetKMS Config Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SetKMSConfigRequest.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.SetKMSConfigRequest.schema.bundle.json deleted file mode 100644 index 3f68864c..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SetKMSConfigRequest.schema.bundle.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.SetKMSConfigRequest.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(awsProfile)$": { - "default": "", - "type": "string" - }, - "^(keyArn)$": { - "default": "", - "type": "string" - } - }, - "properties": { - "aws_profile": { - "default": "", - "type": "string" - }, - "enable": { - "default": false, - "type": "boolean" - }, - "key_arn": { - "default": "", - "type": "string" - } - }, - "title": "SetKMS Config Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.SetKMSConfigRequest.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.SetKMSConfigRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SetKMSConfigRequest.schema.json b/packages/proto/gen/json/stackpanel.agent.SetKMSConfigRequest.schema.json deleted file mode 100644 index fc9537e6..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SetKMSConfigRequest.schema.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "$id": "stackpanel.agent.SetKMSConfigRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "patternProperties": { - "^(awsProfile)$": { - "default": "", - "type": "string" - }, - "^(keyArn)$": { - "default": "", - "type": "string" - } - }, - "properties": { - "aws_profile": { - "default": "", - "type": "string" - }, - "enable": { - "default": false, - "type": "boolean" - }, - "key_arn": { - "default": "", - "type": "string" - } - }, - "title": "SetKMS Config Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SetKMSConfigRequest.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.SetKMSConfigRequest.schema.strict.bundle.json deleted file mode 100644 index e73a1c6c..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SetKMSConfigRequest.schema.strict.bundle.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.SetKMSConfigRequest.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "aws_profile": { - "type": "string" - }, - "enable": { - "type": "boolean" - }, - "key_arn": { - "type": "string" - } - }, - "required": [ - "enable", - "key_arn", - "aws_profile" - ], - "title": "SetKMS Config Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.SetKMSConfigRequest.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.SetKMSConfigRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.SetKMSConfigRequest.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.SetKMSConfigRequest.schema.strict.json deleted file mode 100644 index e6dcedfb..00000000 --- a/packages/proto/gen/json/stackpanel.agent.SetKMSConfigRequest.schema.strict.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$id": "stackpanel.agent.SetKMSConfigRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "aws_profile": { - "type": "string" - }, - "enable": { - "type": "boolean" - }, - "key_arn": { - "type": "string" - } - }, - "required": [ - "enable", - "key_arn", - "aws_profile" - ], - "title": "SetKMS Config Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.WriteFileRequest.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.WriteFileRequest.jsonschema.bundle.json deleted file mode 100644 index ba574f47..00000000 --- a/packages/proto/gen/json/stackpanel.agent.WriteFileRequest.jsonschema.bundle.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.WriteFileRequest.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "content": { - "default": "", - "type": "string" - }, - "mode": { - "anyOf": [ - { - "maximum": 4294967295, - "minimum": 0, - "type": "integer" - }, - { - "pattern": "^[0-9]+$", - "type": "string" - } - ], - "default": 0, - "description": "Mode is the file permission (e.g., 0644). If 0, uses default." - }, - "path": { - "default": "", - "type": "string" - } - }, - "title": "Write File Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.WriteFileRequest.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.WriteFileRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.WriteFileRequest.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.WriteFileRequest.jsonschema.json deleted file mode 100644 index e9112aa1..00000000 --- a/packages/proto/gen/json/stackpanel.agent.WriteFileRequest.jsonschema.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "$id": "stackpanel.agent.WriteFileRequest.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "content": { - "default": "", - "type": "string" - }, - "mode": { - "anyOf": [ - { - "maximum": 4294967295, - "minimum": 0, - "type": "integer" - }, - { - "pattern": "^[0-9]+$", - "type": "string" - } - ], - "default": 0, - "description": "Mode is the file permission (e.g., 0644). If 0, uses default." - }, - "path": { - "default": "", - "type": "string" - } - }, - "title": "Write File Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.WriteFileRequest.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.WriteFileRequest.jsonschema.strict.bundle.json deleted file mode 100644 index 84787b1d..00000000 --- a/packages/proto/gen/json/stackpanel.agent.WriteFileRequest.jsonschema.strict.bundle.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.WriteFileRequest.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "content": { - "type": "string" - }, - "mode": { - "description": "Mode is the file permission (e.g., 0644). If 0, uses default.", - "maximum": 4294967295, - "minimum": 0, - "type": "integer" - }, - "path": { - "type": "string" - } - }, - "required": [ - "path", - "content", - "mode" - ], - "title": "Write File Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.WriteFileRequest.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.WriteFileRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.WriteFileRequest.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.WriteFileRequest.jsonschema.strict.json deleted file mode 100644 index ae70cab3..00000000 --- a/packages/proto/gen/json/stackpanel.agent.WriteFileRequest.jsonschema.strict.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "$id": "stackpanel.agent.WriteFileRequest.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "content": { - "type": "string" - }, - "mode": { - "description": "Mode is the file permission (e.g., 0644). If 0, uses default.", - "maximum": 4294967295, - "minimum": 0, - "type": "integer" - }, - "path": { - "type": "string" - } - }, - "required": [ - "path", - "content", - "mode" - ], - "title": "Write File Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.WriteFileRequest.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.WriteFileRequest.schema.bundle.json deleted file mode 100644 index e01e4747..00000000 --- a/packages/proto/gen/json/stackpanel.agent.WriteFileRequest.schema.bundle.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.WriteFileRequest.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "content": { - "default": "", - "type": "string" - }, - "mode": { - "anyOf": [ - { - "maximum": 4294967295, - "minimum": 0, - "type": "integer" - }, - { - "pattern": "^[0-9]+$", - "type": "string" - } - ], - "default": 0, - "description": "Mode is the file permission (e.g., 0644). If 0, uses default." - }, - "path": { - "default": "", - "type": "string" - } - }, - "title": "Write File Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.WriteFileRequest.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.WriteFileRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.WriteFileRequest.schema.json b/packages/proto/gen/json/stackpanel.agent.WriteFileRequest.schema.json deleted file mode 100644 index aabe7a47..00000000 --- a/packages/proto/gen/json/stackpanel.agent.WriteFileRequest.schema.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "$id": "stackpanel.agent.WriteFileRequest.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "content": { - "default": "", - "type": "string" - }, - "mode": { - "anyOf": [ - { - "maximum": 4294967295, - "minimum": 0, - "type": "integer" - }, - { - "pattern": "^[0-9]+$", - "type": "string" - } - ], - "default": 0, - "description": "Mode is the file permission (e.g., 0644). If 0, uses default." - }, - "path": { - "default": "", - "type": "string" - } - }, - "title": "Write File Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.WriteFileRequest.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.WriteFileRequest.schema.strict.bundle.json deleted file mode 100644 index 8405635e..00000000 --- a/packages/proto/gen/json/stackpanel.agent.WriteFileRequest.schema.strict.bundle.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.WriteFileRequest.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "content": { - "type": "string" - }, - "mode": { - "description": "Mode is the file permission (e.g., 0644). If 0, uses default.", - "maximum": 4294967295, - "minimum": 0, - "type": "integer" - }, - "path": { - "type": "string" - } - }, - "required": [ - "path", - "content", - "mode" - ], - "title": "Write File Request", - "type": "object" - } - }, - "$id": "stackpanel.agent.WriteFileRequest.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.WriteFileRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.WriteFileRequest.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.WriteFileRequest.schema.strict.json deleted file mode 100644 index a9f5795e..00000000 --- a/packages/proto/gen/json/stackpanel.agent.WriteFileRequest.schema.strict.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "$id": "stackpanel.agent.WriteFileRequest.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "content": { - "type": "string" - }, - "mode": { - "description": "Mode is the file permission (e.g., 0644). If 0, uses default.", - "maximum": 4294967295, - "minimum": 0, - "type": "integer" - }, - "path": { - "type": "string" - } - }, - "required": [ - "path", - "content", - "mode" - ], - "title": "Write File Request", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.WriteFileResponse.jsonschema.bundle.json b/packages/proto/gen/json/stackpanel.agent.WriteFileResponse.jsonschema.bundle.json deleted file mode 100644 index 9a9f8dc3..00000000 --- a/packages/proto/gen/json/stackpanel.agent.WriteFileResponse.jsonschema.bundle.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.WriteFileResponse.jsonschema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "success": { - "default": false, - "type": "boolean" - } - }, - "title": "Write File Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.WriteFileResponse.jsonschema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.WriteFileResponse.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.WriteFileResponse.jsonschema.json b/packages/proto/gen/json/stackpanel.agent.WriteFileResponse.jsonschema.json deleted file mode 100644 index 88c304a5..00000000 --- a/packages/proto/gen/json/stackpanel.agent.WriteFileResponse.jsonschema.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "$id": "stackpanel.agent.WriteFileResponse.jsonschema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "success": { - "default": false, - "type": "boolean" - } - }, - "title": "Write File Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.WriteFileResponse.jsonschema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.WriteFileResponse.jsonschema.strict.bundle.json deleted file mode 100644 index a55ee2d9..00000000 --- a/packages/proto/gen/json/stackpanel.agent.WriteFileResponse.jsonschema.strict.bundle.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.WriteFileResponse.jsonschema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "success": { - "type": "boolean" - } - }, - "required": [ - "success" - ], - "title": "Write File Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.WriteFileResponse.jsonschema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.WriteFileResponse.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.WriteFileResponse.jsonschema.strict.json b/packages/proto/gen/json/stackpanel.agent.WriteFileResponse.jsonschema.strict.json deleted file mode 100644 index ae3bce40..00000000 --- a/packages/proto/gen/json/stackpanel.agent.WriteFileResponse.jsonschema.strict.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$id": "stackpanel.agent.WriteFileResponse.jsonschema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "success": { - "type": "boolean" - } - }, - "required": [ - "success" - ], - "title": "Write File Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.WriteFileResponse.schema.bundle.json b/packages/proto/gen/json/stackpanel.agent.WriteFileResponse.schema.bundle.json deleted file mode 100644 index c5cb8aea..00000000 --- a/packages/proto/gen/json/stackpanel.agent.WriteFileResponse.schema.bundle.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.WriteFileResponse.schema.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "success": { - "default": false, - "type": "boolean" - } - }, - "title": "Write File Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.WriteFileResponse.schema.bundle.json", - "$ref": "#/$defs/stackpanel.agent.WriteFileResponse.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.WriteFileResponse.schema.json b/packages/proto/gen/json/stackpanel.agent.WriteFileResponse.schema.json deleted file mode 100644 index f9c2ef65..00000000 --- a/packages/proto/gen/json/stackpanel.agent.WriteFileResponse.schema.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "$id": "stackpanel.agent.WriteFileResponse.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "success": { - "default": false, - "type": "boolean" - } - }, - "title": "Write File Response", - "type": "object" -} diff --git a/packages/proto/gen/json/stackpanel.agent.WriteFileResponse.schema.strict.bundle.json b/packages/proto/gen/json/stackpanel.agent.WriteFileResponse.schema.strict.bundle.json deleted file mode 100644 index 4e52ff8e..00000000 --- a/packages/proto/gen/json/stackpanel.agent.WriteFileResponse.schema.strict.bundle.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$defs": { - "stackpanel.agent.WriteFileResponse.schema.strict.json": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "success": { - "type": "boolean" - } - }, - "required": [ - "success" - ], - "title": "Write File Response", - "type": "object" - } - }, - "$id": "stackpanel.agent.WriteFileResponse.schema.strict.bundle.json", - "$ref": "#/$defs/stackpanel.agent.WriteFileResponse.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema" -} diff --git a/packages/proto/gen/json/stackpanel.agent.WriteFileResponse.schema.strict.json b/packages/proto/gen/json/stackpanel.agent.WriteFileResponse.schema.strict.json deleted file mode 100644 index cfdbc54d..00000000 --- a/packages/proto/gen/json/stackpanel.agent.WriteFileResponse.schema.strict.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$id": "stackpanel.agent.WriteFileResponse.schema.strict.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "properties": { - "success": { - "type": "boolean" - } - }, - "required": [ - "success" - ], - "title": "Write File Response", - "type": "object" -} diff --git a/packages/proto/gen/ts/agent-AgentService_connectquery.d.ts b/packages/proto/gen/ts/agent-AgentService_connectquery.d.ts index 4209e2f3..846a0a84 100644 --- a/packages/proto/gen/ts/agent-AgentService_connectquery.d.ts +++ b/packages/proto/gen/ts/agent-AgentService_connectquery.d.ts @@ -11,182 +11,38 @@ import { AgentService } from "./agent_pb"; */ export const getProject: typeof AgentService["method"]["getProject"]; /** - * Config entities - generic CRUD for Nix data files + * Config entities - read Nix data files * - * @generated from rpc stackpanel.agent.AgentService.GetConfig - */ -export const getConfig: typeof AgentService["method"]["getConfig"]; -/** - * @generated from rpc stackpanel.agent.AgentService.SetConfig - */ -export const setConfig: typeof AgentService["method"]["setConfig"]; -/** * @generated from rpc stackpanel.agent.AgentService.GetSecrets */ export const getSecrets: typeof AgentService["method"]["getSecrets"]; -/** - * @generated from rpc stackpanel.agent.AgentService.SetSecrets - */ -export const setSecrets: typeof AgentService["method"]["setSecrets"]; /** * @generated from rpc stackpanel.agent.AgentService.GetUsers */ export const getUsers: typeof AgentService["method"]["getUsers"]; -/** - * @generated from rpc stackpanel.agent.AgentService.SetUsers - */ -export const setUsers: typeof AgentService["method"]["setUsers"]; -/** - * @generated from rpc stackpanel.agent.AgentService.GetAws - */ -export const getAws: typeof AgentService["method"]["getAws"]; -/** - * @generated from rpc stackpanel.agent.AgentService.SetAws - */ -export const setAws: typeof AgentService["method"]["setAws"]; /** * @generated from rpc stackpanel.agent.AgentService.GetApps */ export const getApps: typeof AgentService["method"]["getApps"]; -/** - * @generated from rpc stackpanel.agent.AgentService.SetApps - */ -export const setApps: typeof AgentService["method"]["setApps"]; /** * @generated from rpc stackpanel.agent.AgentService.GetVariables */ export const getVariables: typeof AgentService["method"]["getVariables"]; /** - * @generated from rpc stackpanel.agent.AgentService.SetVariables - */ -export const setVariables: typeof AgentService["method"]["setVariables"]; -/** - * Modules - module configuration management + * Modules * - * @generated from rpc stackpanel.agent.AgentService.GetModules - */ -export const getModules: typeof AgentService["method"]["getModules"]; -/** - * @generated from rpc stackpanel.agent.AgentService.GetModule - */ -export const getModule: typeof AgentService["method"]["getModule"]; -/** * @generated from rpc stackpanel.agent.AgentService.GetModuleOutputs */ export const getModuleOutputs: typeof AgentService["method"]["getModuleOutputs"]; -/** - * @generated from rpc stackpanel.agent.AgentService.EnableModule - */ -export const enableModule: typeof AgentService["method"]["enableModule"]; -/** - * @generated from rpc stackpanel.agent.AgentService.DisableModule - */ -export const disableModule: typeof AgentService["method"]["disableModule"]; -/** - * @generated from rpc stackpanel.agent.AgentService.UpdateModuleSettings - */ -export const updateModuleSettings: typeof AgentService["method"]["updateModuleSettings"]; -/** - * Identity management (local decryption key) - * - * @generated from rpc stackpanel.agent.AgentService.GetAgeIdentity - */ -export const getAgeIdentity: typeof AgentService["method"]["getAgeIdentity"]; -/** - * @generated from rpc stackpanel.agent.AgentService.SetAgeIdentity - */ -export const setAgeIdentity: typeof AgentService["method"]["setAgeIdentity"]; -/** - * KMS configuration - * - * @generated from rpc stackpanel.agent.AgentService.GetKMSConfig - */ -export const getKMSConfig: typeof AgentService["method"]["getKMSConfig"]; -/** - * @generated from rpc stackpanel.agent.AgentService.SetKMSConfig - */ -export const setKMSConfig: typeof AgentService["method"]["setKMSConfig"]; -/** - * File operations - * - * @generated from rpc stackpanel.agent.AgentService.ReadFile - */ -export const readFile: typeof AgentService["method"]["readFile"]; -/** - * @generated from rpc stackpanel.agent.AgentService.WriteFile - */ -export const writeFile: typeof AgentService["method"]["writeFile"]; -/** - * @generated from rpc stackpanel.agent.AgentService.ListFiles - */ -export const listFiles: typeof AgentService["method"]["listFiles"]; /** * Command execution * * @generated from rpc stackpanel.agent.AgentService.Exec */ export const exec: typeof AgentService["method"]["exec"]; -/** - * Nix operations - * - * @generated from rpc stackpanel.agent.AgentService.NixGenerate - */ -export const nixGenerate: typeof AgentService["method"]["nixGenerate"]; -/** - * @generated from rpc stackpanel.agent.AgentService.NixEval - */ -export const nixEval: typeof AgentService["method"]["nixEval"]; -/** - * Services (process-compose) - * - * @generated from rpc stackpanel.agent.AgentService.GetServicesStatus - */ -export const getServicesStatus: typeof AgentService["method"]["getServicesStatus"]; -/** - * @generated from rpc stackpanel.agent.AgentService.StartService - */ -export const startService: typeof AgentService["method"]["startService"]; -/** - * @generated from rpc stackpanel.agent.AgentService.StopService - */ -export const stopService: typeof AgentService["method"]["stopService"]; -/** - * @generated from rpc stackpanel.agent.AgentService.RestartService - */ -export const restartService: typeof AgentService["method"]["restartService"]; -/** - * SST Infrastructure - * - * @generated from rpc stackpanel.agent.AgentService.GetSSTStatus - */ -export const getSSTStatus: typeof AgentService["method"]["getSSTStatus"]; -/** - * @generated from rpc stackpanel.agent.AgentService.GetSSTConfig - */ -export const getSSTConfig: typeof AgentService["method"]["getSSTConfig"]; -/** - * @generated from rpc stackpanel.agent.AgentService.DeploySST - */ -export const deploySST: typeof AgentService["method"]["deploySST"]; -/** - * @generated from rpc stackpanel.agent.AgentService.RemoveSST - */ -export const removeSST: typeof AgentService["method"]["removeSST"]; -/** - * @generated from rpc stackpanel.agent.AgentService.GetSSTOutputs - */ -export const getSSTOutputs: typeof AgentService["method"]["getSSTOutputs"]; -/** - * @generated from rpc stackpanel.agent.AgentService.GetSSTResources - */ -export const getSSTResources: typeof AgentService["method"]["getSSTResources"]; /** * Nixpkgs package management * - * @generated from rpc stackpanel.agent.AgentService.SearchNixpkgs - */ -export const searchNixpkgs: typeof AgentService["method"]["searchNixpkgs"]; -/** * @generated from rpc stackpanel.agent.AgentService.GetInstalledPackages */ export const getInstalledPackages: typeof AgentService["method"]["getInstalledPackages"]; @@ -196,12 +52,6 @@ export const getInstalledPackages: typeof AgentService["method"]["getInstalledPa * @generated from rpc stackpanel.agent.AgentService.GetProcesses */ export const getProcesses: typeof AgentService["method"]["getProcesses"]; -/** - * Healthchecks - * - * @generated from rpc stackpanel.agent.AgentService.GetHealthchecks - */ -export const getHealthchecks: typeof AgentService["method"]["getHealthchecks"]; /** * Nix data patch - update a single value at a nested path within an entity * @@ -214,10 +64,6 @@ export const patchNixData: typeof AgentService["method"]["patchNixData"]; * @generated from rpc stackpanel.agent.AgentService.GetNixConfig */ export const getNixConfig: typeof AgentService["method"]["getNixConfig"]; -/** - * @generated from rpc stackpanel.agent.AgentService.RefreshNixConfig - */ -export const refreshNixConfig: typeof AgentService["method"]["refreshNixConfig"]; /** * Devshell management * diff --git a/packages/proto/gen/ts/agent-AgentService_connectquery.js b/packages/proto/gen/ts/agent-AgentService_connectquery.js index 01b4d0ff..0e023ab3 100644 --- a/packages/proto/gen/ts/agent-AgentService_connectquery.js +++ b/packages/proto/gen/ts/agent-AgentService_connectquery.js @@ -12,140 +12,34 @@ import { AgentService } from "./agent_pb"; export const getProject = AgentService.method.getProject; /** - * Config entities - generic CRUD for Nix data files + * Config entities - read Nix data files * - * @generated from rpc stackpanel.agent.AgentService.GetConfig - */ -export const getConfig = AgentService.method.getConfig; - -/** - * @generated from rpc stackpanel.agent.AgentService.SetConfig - */ -export const setConfig = AgentService.method.setConfig; - -/** * @generated from rpc stackpanel.agent.AgentService.GetSecrets */ export const getSecrets = AgentService.method.getSecrets; -/** - * @generated from rpc stackpanel.agent.AgentService.SetSecrets - */ -export const setSecrets = AgentService.method.setSecrets; - /** * @generated from rpc stackpanel.agent.AgentService.GetUsers */ export const getUsers = AgentService.method.getUsers; -/** - * @generated from rpc stackpanel.agent.AgentService.SetUsers - */ -export const setUsers = AgentService.method.setUsers; - -/** - * @generated from rpc stackpanel.agent.AgentService.GetAws - */ -export const getAws = AgentService.method.getAws; - -/** - * @generated from rpc stackpanel.agent.AgentService.SetAws - */ -export const setAws = AgentService.method.setAws; - /** * @generated from rpc stackpanel.agent.AgentService.GetApps */ export const getApps = AgentService.method.getApps; -/** - * @generated from rpc stackpanel.agent.AgentService.SetApps - */ -export const setApps = AgentService.method.setApps; - /** * @generated from rpc stackpanel.agent.AgentService.GetVariables */ export const getVariables = AgentService.method.getVariables; /** - * @generated from rpc stackpanel.agent.AgentService.SetVariables - */ -export const setVariables = AgentService.method.setVariables; - -/** - * Modules - module configuration management + * Modules * - * @generated from rpc stackpanel.agent.AgentService.GetModules - */ -export const getModules = AgentService.method.getModules; - -/** - * @generated from rpc stackpanel.agent.AgentService.GetModule - */ -export const getModule = AgentService.method.getModule; - -/** * @generated from rpc stackpanel.agent.AgentService.GetModuleOutputs */ export const getModuleOutputs = AgentService.method.getModuleOutputs; -/** - * @generated from rpc stackpanel.agent.AgentService.EnableModule - */ -export const enableModule = AgentService.method.enableModule; - -/** - * @generated from rpc stackpanel.agent.AgentService.DisableModule - */ -export const disableModule = AgentService.method.disableModule; - -/** - * @generated from rpc stackpanel.agent.AgentService.UpdateModuleSettings - */ -export const updateModuleSettings = AgentService.method.updateModuleSettings; - -/** - * Identity management (local decryption key) - * - * @generated from rpc stackpanel.agent.AgentService.GetAgeIdentity - */ -export const getAgeIdentity = AgentService.method.getAgeIdentity; - -/** - * @generated from rpc stackpanel.agent.AgentService.SetAgeIdentity - */ -export const setAgeIdentity = AgentService.method.setAgeIdentity; - -/** - * KMS configuration - * - * @generated from rpc stackpanel.agent.AgentService.GetKMSConfig - */ -export const getKMSConfig = AgentService.method.getKMSConfig; - -/** - * @generated from rpc stackpanel.agent.AgentService.SetKMSConfig - */ -export const setKMSConfig = AgentService.method.setKMSConfig; - -/** - * File operations - * - * @generated from rpc stackpanel.agent.AgentService.ReadFile - */ -export const readFile = AgentService.method.readFile; - -/** - * @generated from rpc stackpanel.agent.AgentService.WriteFile - */ -export const writeFile = AgentService.method.writeFile; - -/** - * @generated from rpc stackpanel.agent.AgentService.ListFiles - */ -export const listFiles = AgentService.method.listFiles; - /** * Command execution * @@ -153,80 +47,9 @@ export const listFiles = AgentService.method.listFiles; */ export const exec = AgentService.method.exec; -/** - * Nix operations - * - * @generated from rpc stackpanel.agent.AgentService.NixGenerate - */ -export const nixGenerate = AgentService.method.nixGenerate; - -/** - * @generated from rpc stackpanel.agent.AgentService.NixEval - */ -export const nixEval = AgentService.method.nixEval; - -/** - * Services (process-compose) - * - * @generated from rpc stackpanel.agent.AgentService.GetServicesStatus - */ -export const getServicesStatus = AgentService.method.getServicesStatus; - -/** - * @generated from rpc stackpanel.agent.AgentService.StartService - */ -export const startService = AgentService.method.startService; - -/** - * @generated from rpc stackpanel.agent.AgentService.StopService - */ -export const stopService = AgentService.method.stopService; - -/** - * @generated from rpc stackpanel.agent.AgentService.RestartService - */ -export const restartService = AgentService.method.restartService; - -/** - * SST Infrastructure - * - * @generated from rpc stackpanel.agent.AgentService.GetSSTStatus - */ -export const getSSTStatus = AgentService.method.getSSTStatus; - -/** - * @generated from rpc stackpanel.agent.AgentService.GetSSTConfig - */ -export const getSSTConfig = AgentService.method.getSSTConfig; - -/** - * @generated from rpc stackpanel.agent.AgentService.DeploySST - */ -export const deploySST = AgentService.method.deploySST; - -/** - * @generated from rpc stackpanel.agent.AgentService.RemoveSST - */ -export const removeSST = AgentService.method.removeSST; - -/** - * @generated from rpc stackpanel.agent.AgentService.GetSSTOutputs - */ -export const getSSTOutputs = AgentService.method.getSSTOutputs; - -/** - * @generated from rpc stackpanel.agent.AgentService.GetSSTResources - */ -export const getSSTResources = AgentService.method.getSSTResources; - /** * Nixpkgs package management * - * @generated from rpc stackpanel.agent.AgentService.SearchNixpkgs - */ -export const searchNixpkgs = AgentService.method.searchNixpkgs; - -/** * @generated from rpc stackpanel.agent.AgentService.GetInstalledPackages */ export const getInstalledPackages = AgentService.method.getInstalledPackages; @@ -238,13 +61,6 @@ export const getInstalledPackages = AgentService.method.getInstalledPackages; */ export const getProcesses = AgentService.method.getProcesses; -/** - * Healthchecks - * - * @generated from rpc stackpanel.agent.AgentService.GetHealthchecks - */ -export const getHealthchecks = AgentService.method.getHealthchecks; - /** * Nix data patch - update a single value at a nested path within an entity * @@ -259,11 +75,6 @@ export const patchNixData = AgentService.method.patchNixData; */ export const getNixConfig = AgentService.method.getNixConfig; -/** - * @generated from rpc stackpanel.agent.AgentService.RefreshNixConfig - */ -export const refreshNixConfig = AgentService.method.refreshNixConfig; - /** * Devshell management * diff --git a/packages/proto/gen/ts/agent.client.ts b/packages/proto/gen/ts/agent.client.ts index acae4aa5..89570c27 100644 --- a/packages/proto/gen/ts/agent.client.ts +++ b/packages/proto/gen/ts/agent.client.ts @@ -9,75 +9,26 @@ import type { RebuildShellRequest } from "./agent"; import type { ServerStreamingCall } from "@protobuf-ts/runtime-rpc"; import type { ShellStatusResponse } from "./agent"; import type { GetShellStatusRequest } from "./agent"; -import type { RefreshNixConfigRequest } from "./agent"; import type { NixConfigResponse } from "./agent"; import type { GetNixConfigRequest } from "./agent"; import type { PatchNixDataResponse } from "./agent"; import type { PatchNixDataRequest } from "./agent"; -import type { HealthchecksResponse } from "./agent"; -import type { GetHealthchecksRequest } from "./agent"; import type { GetProcessesResponse } from "./agent"; import type { GetProcessesRequest } from "./agent"; import type { InstalledPackagesResponse } from "./agent"; import type { GetInstalledPackagesRequest } from "./agent"; -import type { SearchNixpkgsResponse } from "./agent"; -import type { SearchNixpkgsRequest } from "./agent"; -import type { SSTResourcesResponse } from "./agent"; -import type { GetSSTResourcesRequest } from "./agent"; -import type { SSTOutputsResponse } from "./agent"; -import type { GetSSTOutputsRequest } from "./agent"; -import type { RemoveSSTResponse } from "./agent"; -import type { RemoveSSTRequest } from "./agent"; -import type { DeploySSTResponse } from "./agent"; -import type { DeploySSTRequest } from "./agent"; -import type { Sst } from "./sst"; -import type { GetSSTConfigRequest } from "./agent"; -import type { SSTStatusResponse } from "./agent"; -import type { GetSSTStatusRequest } from "./agent"; -import type { ServiceResponse } from "./agent"; -import type { ServiceRequest } from "./agent"; -import type { GetServicesStatusResponse } from "./agent"; -import type { GetServicesStatusRequest } from "./agent"; -import type { NixEvalResponse } from "./agent"; -import type { NixEvalRequest } from "./agent"; -import type { NixGenerateResponse } from "./agent"; -import type { NixGenerateRequest } from "./agent"; import type { ExecResponse } from "./agent"; import type { ExecRequest } from "./agent"; -import type { ListFilesResponse } from "./agent"; -import type { ListFilesRequest } from "./agent"; -import type { WriteFileResponse } from "./agent"; -import type { WriteFileRequest } from "./agent"; -import type { ReadFileResponse } from "./agent"; -import type { ReadFileRequest } from "./agent"; -import type { SetKMSConfigRequest } from "./agent"; -import type { KMSConfigResponse } from "./agent"; -import type { GetKMSConfigRequest } from "./agent"; -import type { SetAgeIdentityRequest } from "./agent"; -import type { AgeIdentityResponse } from "./agent"; -import type { GetAgeIdentityRequest } from "./agent"; -import type { UpdateModuleSettingsRequest } from "./modules"; -import type { DisableModuleRequest } from "./modules"; -import type { ModuleResponse } from "./modules"; -import type { EnableModuleRequest } from "./modules"; import type { ModuleOutputs } from "./modules"; import type { GetModuleOutputsRequest } from "./modules"; -import type { Module } from "./modules"; -import type { GetModuleRequest } from "./agent"; -import type { Modules } from "./modules"; -import type { GetModulesRequest } from "./agent"; import type { Variables } from "./variables"; import type { GetVariablesRequest } from "./agent"; import type { Apps } from "./apps"; import type { GetAppsRequest } from "./agent"; -import type { Aws } from "./aws"; -import type { GetAwsRequest } from "./agent"; import type { Users } from "./users"; import type { GetUsersRequest } from "./agent"; import type { Secrets } from "./secrets"; import type { GetSecretsRequest } from "./agent"; -import type { Config } from "./config"; -import type { GetConfigRequest } from "./agent"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { GetProjectResponse } from "./agent"; import type { GetProjectRequest } from "./agent"; @@ -101,182 +52,38 @@ export interface IAgentServiceClient { */ getProject(input: GetProjectRequest, options?: RpcOptions): UnaryCall; /** - * Config entities - generic CRUD for Nix data files + * Config entities - read Nix data files * - * @generated from protobuf rpc: GetConfig - */ - getConfig(input: GetConfigRequest, options?: RpcOptions): UnaryCall; - /** - * @generated from protobuf rpc: SetConfig - */ - setConfig(input: Config, options?: RpcOptions): UnaryCall; - /** * @generated from protobuf rpc: GetSecrets */ getSecrets(input: GetSecretsRequest, options?: RpcOptions): UnaryCall; - /** - * @generated from protobuf rpc: SetSecrets - */ - setSecrets(input: Secrets, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetUsers */ getUsers(input: GetUsersRequest, options?: RpcOptions): UnaryCall; - /** - * @generated from protobuf rpc: SetUsers - */ - setUsers(input: Users, options?: RpcOptions): UnaryCall; - /** - * @generated from protobuf rpc: GetAws - */ - getAws(input: GetAwsRequest, options?: RpcOptions): UnaryCall; - /** - * @generated from protobuf rpc: SetAws - */ - setAws(input: Aws, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetApps */ getApps(input: GetAppsRequest, options?: RpcOptions): UnaryCall; - /** - * @generated from protobuf rpc: SetApps - */ - setApps(input: Apps, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetVariables */ getVariables(input: GetVariablesRequest, options?: RpcOptions): UnaryCall; /** - * @generated from protobuf rpc: SetVariables - */ - setVariables(input: Variables, options?: RpcOptions): UnaryCall; - /** - * Modules - module configuration management + * Modules * - * @generated from protobuf rpc: GetModules - */ - getModules(input: GetModulesRequest, options?: RpcOptions): UnaryCall; - /** - * @generated from protobuf rpc: GetModule - */ - getModule(input: GetModuleRequest, options?: RpcOptions): UnaryCall; - /** * @generated from protobuf rpc: GetModuleOutputs */ getModuleOutputs(input: GetModuleOutputsRequest, options?: RpcOptions): UnaryCall; - /** - * @generated from protobuf rpc: EnableModule - */ - enableModule(input: EnableModuleRequest, options?: RpcOptions): UnaryCall; - /** - * @generated from protobuf rpc: DisableModule - */ - disableModule(input: DisableModuleRequest, options?: RpcOptions): UnaryCall; - /** - * @generated from protobuf rpc: UpdateModuleSettings - */ - updateModuleSettings(input: UpdateModuleSettingsRequest, options?: RpcOptions): UnaryCall; - /** - * Identity management (local decryption key) - * - * @generated from protobuf rpc: GetAgeIdentity - */ - getAgeIdentity(input: GetAgeIdentityRequest, options?: RpcOptions): UnaryCall; - /** - * @generated from protobuf rpc: SetAgeIdentity - */ - setAgeIdentity(input: SetAgeIdentityRequest, options?: RpcOptions): UnaryCall; - /** - * KMS configuration - * - * @generated from protobuf rpc: GetKMSConfig - */ - getKMSConfig(input: GetKMSConfigRequest, options?: RpcOptions): UnaryCall; - /** - * @generated from protobuf rpc: SetKMSConfig - */ - setKMSConfig(input: SetKMSConfigRequest, options?: RpcOptions): UnaryCall; - /** - * File operations - * - * @generated from protobuf rpc: ReadFile - */ - readFile(input: ReadFileRequest, options?: RpcOptions): UnaryCall; - /** - * @generated from protobuf rpc: WriteFile - */ - writeFile(input: WriteFileRequest, options?: RpcOptions): UnaryCall; - /** - * @generated from protobuf rpc: ListFiles - */ - listFiles(input: ListFilesRequest, options?: RpcOptions): UnaryCall; /** * Command execution * * @generated from protobuf rpc: Exec */ exec(input: ExecRequest, options?: RpcOptions): UnaryCall; - /** - * Nix operations - * - * @generated from protobuf rpc: NixGenerate - */ - nixGenerate(input: NixGenerateRequest, options?: RpcOptions): UnaryCall; - /** - * @generated from protobuf rpc: NixEval - */ - nixEval(input: NixEvalRequest, options?: RpcOptions): UnaryCall; - /** - * Services (process-compose) - * - * @generated from protobuf rpc: GetServicesStatus - */ - getServicesStatus(input: GetServicesStatusRequest, options?: RpcOptions): UnaryCall; - /** - * @generated from protobuf rpc: StartService - */ - startService(input: ServiceRequest, options?: RpcOptions): UnaryCall; - /** - * @generated from protobuf rpc: StopService - */ - stopService(input: ServiceRequest, options?: RpcOptions): UnaryCall; - /** - * @generated from protobuf rpc: RestartService - */ - restartService(input: ServiceRequest, options?: RpcOptions): UnaryCall; - /** - * SST Infrastructure - * - * @generated from protobuf rpc: GetSSTStatus - */ - getSSTStatus(input: GetSSTStatusRequest, options?: RpcOptions): UnaryCall; - /** - * @generated from protobuf rpc: GetSSTConfig - */ - getSSTConfig(input: GetSSTConfigRequest, options?: RpcOptions): UnaryCall; - /** - * @generated from protobuf rpc: DeploySST - */ - deploySST(input: DeploySSTRequest, options?: RpcOptions): UnaryCall; - /** - * @generated from protobuf rpc: RemoveSST - */ - removeSST(input: RemoveSSTRequest, options?: RpcOptions): UnaryCall; - /** - * @generated from protobuf rpc: GetSSTOutputs - */ - getSSTOutputs(input: GetSSTOutputsRequest, options?: RpcOptions): UnaryCall; - /** - * @generated from protobuf rpc: GetSSTResources - */ - getSSTResources(input: GetSSTResourcesRequest, options?: RpcOptions): UnaryCall; /** * Nixpkgs package management * - * @generated from protobuf rpc: SearchNixpkgs - */ - searchNixpkgs(input: SearchNixpkgsRequest, options?: RpcOptions): UnaryCall; - /** * @generated from protobuf rpc: GetInstalledPackages */ getInstalledPackages(input: GetInstalledPackagesRequest, options?: RpcOptions): UnaryCall; @@ -286,12 +93,6 @@ export interface IAgentServiceClient { * @generated from protobuf rpc: GetProcesses */ getProcesses(input: GetProcessesRequest, options?: RpcOptions): UnaryCall; - /** - * Healthchecks - * - * @generated from protobuf rpc: GetHealthchecks - */ - getHealthchecks(input: GetHealthchecksRequest, options?: RpcOptions): UnaryCall; /** * Nix data patch - update a single value at a nested path within an entity * @@ -304,10 +105,6 @@ export interface IAgentServiceClient { * @generated from protobuf rpc: GetNixConfig */ getNixConfig(input: GetNixConfigRequest, options?: RpcOptions): UnaryCall; - /** - * @generated from protobuf rpc: RefreshNixConfig - */ - refreshNixConfig(input: RefreshNixConfigRequest, options?: RpcOptions): UnaryCall; /** * Devshell management * @@ -345,303 +142,60 @@ export class AgentServiceClient implements IAgentServiceClient, ServiceInfo { return stackIntercept("unary", this._transport, method, opt, input); } /** - * Config entities - generic CRUD for Nix data files + * Config entities - read Nix data files * - * @generated from protobuf rpc: GetConfig - */ - getConfig(input: GetConfigRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[1], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } - /** - * @generated from protobuf rpc: SetConfig - */ - setConfig(input: Config, options?: RpcOptions): UnaryCall { - const method = this.methods[2], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } - /** * @generated from protobuf rpc: GetSecrets */ getSecrets(input: GetSecretsRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[3], opt = this._transport.mergeOptions(options); + const method = this.methods[1], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } - /** - * @generated from protobuf rpc: SetSecrets - */ - setSecrets(input: Secrets, options?: RpcOptions): UnaryCall { - const method = this.methods[4], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } /** * @generated from protobuf rpc: GetUsers */ getUsers(input: GetUsersRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[5], opt = this._transport.mergeOptions(options); + const method = this.methods[2], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } - /** - * @generated from protobuf rpc: SetUsers - */ - setUsers(input: Users, options?: RpcOptions): UnaryCall { - const method = this.methods[6], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } - /** - * @generated from protobuf rpc: GetAws - */ - getAws(input: GetAwsRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[7], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } - /** - * @generated from protobuf rpc: SetAws - */ - setAws(input: Aws, options?: RpcOptions): UnaryCall { - const method = this.methods[8], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } /** * @generated from protobuf rpc: GetApps */ getApps(input: GetAppsRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[9], opt = this._transport.mergeOptions(options); + const method = this.methods[3], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } - /** - * @generated from protobuf rpc: SetApps - */ - setApps(input: Apps, options?: RpcOptions): UnaryCall { - const method = this.methods[10], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } /** * @generated from protobuf rpc: GetVariables */ getVariables(input: GetVariablesRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[11], opt = this._transport.mergeOptions(options); + const method = this.methods[4], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** - * @generated from protobuf rpc: SetVariables - */ - setVariables(input: Variables, options?: RpcOptions): UnaryCall { - const method = this.methods[12], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } - /** - * Modules - module configuration management + * Modules * - * @generated from protobuf rpc: GetModules - */ - getModules(input: GetModulesRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[13], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } - /** - * @generated from protobuf rpc: GetModule - */ - getModule(input: GetModuleRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[14], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } - /** * @generated from protobuf rpc: GetModuleOutputs */ getModuleOutputs(input: GetModuleOutputsRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[15], opt = this._transport.mergeOptions(options); + const method = this.methods[5], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } - /** - * @generated from protobuf rpc: EnableModule - */ - enableModule(input: EnableModuleRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[16], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } - /** - * @generated from protobuf rpc: DisableModule - */ - disableModule(input: DisableModuleRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[17], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } - /** - * @generated from protobuf rpc: UpdateModuleSettings - */ - updateModuleSettings(input: UpdateModuleSettingsRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[18], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } - /** - * Identity management (local decryption key) - * - * @generated from protobuf rpc: GetAgeIdentity - */ - getAgeIdentity(input: GetAgeIdentityRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[19], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } - /** - * @generated from protobuf rpc: SetAgeIdentity - */ - setAgeIdentity(input: SetAgeIdentityRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[20], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } - /** - * KMS configuration - * - * @generated from protobuf rpc: GetKMSConfig - */ - getKMSConfig(input: GetKMSConfigRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[21], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } - /** - * @generated from protobuf rpc: SetKMSConfig - */ - setKMSConfig(input: SetKMSConfigRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[22], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } - /** - * File operations - * - * @generated from protobuf rpc: ReadFile - */ - readFile(input: ReadFileRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[23], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } - /** - * @generated from protobuf rpc: WriteFile - */ - writeFile(input: WriteFileRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[24], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } - /** - * @generated from protobuf rpc: ListFiles - */ - listFiles(input: ListFilesRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[25], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } /** * Command execution * * @generated from protobuf rpc: Exec */ exec(input: ExecRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[26], opt = this._transport.mergeOptions(options); + const method = this.methods[6], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } - /** - * Nix operations - * - * @generated from protobuf rpc: NixGenerate - */ - nixGenerate(input: NixGenerateRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[27], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } - /** - * @generated from protobuf rpc: NixEval - */ - nixEval(input: NixEvalRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[28], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } - /** - * Services (process-compose) - * - * @generated from protobuf rpc: GetServicesStatus - */ - getServicesStatus(input: GetServicesStatusRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[29], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } - /** - * @generated from protobuf rpc: StartService - */ - startService(input: ServiceRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[30], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } - /** - * @generated from protobuf rpc: StopService - */ - stopService(input: ServiceRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[31], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } - /** - * @generated from protobuf rpc: RestartService - */ - restartService(input: ServiceRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[32], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } - /** - * SST Infrastructure - * - * @generated from protobuf rpc: GetSSTStatus - */ - getSSTStatus(input: GetSSTStatusRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[33], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } - /** - * @generated from protobuf rpc: GetSSTConfig - */ - getSSTConfig(input: GetSSTConfigRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[34], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } - /** - * @generated from protobuf rpc: DeploySST - */ - deploySST(input: DeploySSTRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[35], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } - /** - * @generated from protobuf rpc: RemoveSST - */ - removeSST(input: RemoveSSTRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[36], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } - /** - * @generated from protobuf rpc: GetSSTOutputs - */ - getSSTOutputs(input: GetSSTOutputsRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[37], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } - /** - * @generated from protobuf rpc: GetSSTResources - */ - getSSTResources(input: GetSSTResourcesRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[38], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } /** * Nixpkgs package management * - * @generated from protobuf rpc: SearchNixpkgs - */ - searchNixpkgs(input: SearchNixpkgsRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[39], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } - /** * @generated from protobuf rpc: GetInstalledPackages */ getInstalledPackages(input: GetInstalledPackagesRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[40], opt = this._transport.mergeOptions(options); + const method = this.methods[7], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** @@ -650,25 +204,16 @@ export class AgentServiceClient implements IAgentServiceClient, ServiceInfo { * @generated from protobuf rpc: GetProcesses */ getProcesses(input: GetProcessesRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[41], opt = this._transport.mergeOptions(options); + const method = this.methods[8], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } - /** - * Healthchecks - * - * @generated from protobuf rpc: GetHealthchecks - */ - getHealthchecks(input: GetHealthchecksRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[42], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } /** * Nix data patch - update a single value at a nested path within an entity * * @generated from protobuf rpc: PatchNixData */ patchNixData(input: PatchNixDataRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[43], opt = this._transport.mergeOptions(options); + const method = this.methods[9], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** @@ -677,30 +222,23 @@ export class AgentServiceClient implements IAgentServiceClient, ServiceInfo { * @generated from protobuf rpc: GetNixConfig */ getNixConfig(input: GetNixConfigRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[44], opt = this._transport.mergeOptions(options); + const method = this.methods[10], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } - /** - * @generated from protobuf rpc: RefreshNixConfig - */ - refreshNixConfig(input: RefreshNixConfigRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[45], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } /** * Devshell management * * @generated from protobuf rpc: GetShellStatus */ getShellStatus(input: GetShellStatusRequest, options?: RpcOptions): UnaryCall { - const method = this.methods[46], opt = this._transport.mergeOptions(options); + const method = this.methods[11], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: RebuildShell */ rebuildShell(input: RebuildShellRequest, options?: RpcOptions): ServerStreamingCall { - const method = this.methods[47], opt = this._transport.mergeOptions(options); + const method = this.methods[12], opt = this._transport.mergeOptions(options); return stackIntercept("serverStreaming", this._transport, method, opt, input); } } diff --git a/packages/proto/gen/ts/agent.ts b/packages/proto/gen/ts/agent.ts index 8ca62fe7..4e948c92 100644 --- a/packages/proto/gen/ts/agent.ts +++ b/packages/proto/gen/ts/agent.ts @@ -1,21 +1,12 @@ // @generated by protobuf-ts 2.11.1 with parameter long_type_string,output_typescript,use_proto_field_name // @generated from protobuf file "agent.proto" (package "stackpanel.agent", syntax proto3) // tslint:disable -import { Sst } from "./sst"; -import { UpdateModuleSettingsRequest } from "./modules"; -import { DisableModuleRequest } from "./modules"; -import { ModuleResponse } from "./modules"; -import { EnableModuleRequest } from "./modules"; import { ModuleOutputs } from "./modules"; import { GetModuleOutputsRequest } from "./modules"; -import { Module } from "./modules"; -import { Modules } from "./modules"; import { Variables } from "./variables"; import { Apps } from "./apps"; -import { Aws } from "./aws"; import { Users } from "./users"; import { Secrets } from "./secrets"; -import { Config } from "./config"; import { ServiceType } from "@protobuf-ts/runtime-rpc"; import { WireType } from "@protobuf-ts/runtime"; import type { BinaryWriteOptions } from "@protobuf-ts/runtime"; @@ -94,11 +85,6 @@ export interface Directories { // Config Entity Requests (empty, just for RPC signature) // ============================================================================= -/** - * @generated from protobuf message stackpanel.agent.GetConfigRequest - */ -export interface GetConfigRequest { -} /** * @generated from protobuf message stackpanel.agent.GetSecretsRequest */ @@ -109,11 +95,6 @@ export interface GetSecretsRequest { */ export interface GetUsersRequest { } -/** - * @generated from protobuf message stackpanel.agent.GetAwsRequest - */ -export interface GetAwsRequest { -} /** * @generated from protobuf message stackpanel.agent.GetAppsRequest */ @@ -124,3127 +105,380 @@ export interface GetAppsRequest { */ export interface GetVariablesRequest { } -/** - * @generated from protobuf message stackpanel.agent.GetSstRequest - */ -export interface GetSstRequest { -} -/** - * @generated from protobuf message stackpanel.agent.GetModulesRequest - */ -export interface GetModulesRequest { -} -/** - * @generated from protobuf message stackpanel.agent.GetModuleRequest - */ -export interface GetModuleRequest { - /** - * @generated from protobuf field: string module_id = 1 - */ - module_id: string; -} // ============================================================================= -// Identity Management +// Command Execution // ============================================================================= /** - * @generated from protobuf message stackpanel.agent.GetAgeIdentityRequest - */ -export interface GetAgeIdentityRequest { -} -/** - * @generated from protobuf message stackpanel.agent.SetAgeIdentityRequest + * @generated from protobuf message stackpanel.agent.ExecRequest */ -export interface SetAgeIdentityRequest { +export interface ExecRequest { /** - * Value can be a file path (e.g., ~/.ssh/id_ed25519) or key content - * - * @generated from protobuf field: string value = 1 + * @generated from protobuf field: string command = 1 */ - value: string; + command: string; + /** + * @generated from protobuf field: repeated string args = 2 + */ + args: string[]; + /** + * @generated from protobuf field: string cwd = 3 + */ + cwd: string; + /** + * @generated from protobuf field: map env = 4 + */ + env: { + [key: string]: string; + }; } /** - * @generated from protobuf message stackpanel.agent.AgeIdentityResponse + * @generated from protobuf message stackpanel.agent.ExecResponse */ -export interface AgeIdentityResponse { - /** - * Type is "path", "key", or "" (not configured) - * - * @generated from protobuf field: string type = 1 - */ - type: string; +export interface ExecResponse { /** - * Value is the path (if type=path) or "(key stored)" (if type=key) - * - * @generated from protobuf field: string value = 2 + * @generated from protobuf field: int32 exit_code = 1 */ - value: string; + exit_code: number; /** - * KeyPath is the actual file path used for decryption - * - * @generated from protobuf field: string key_path = 3 + * @generated from protobuf field: string stdout = 2 */ - key_path: string; + stdout: string; /** - * PublicKey is the derived public key (for AGE keys) - * - * @generated from protobuf field: string public_key = 4 + * @generated from protobuf field: string stderr = 3 */ - public_key: string; + stderr: string; } // ============================================================================= -// KMS Configuration +// Nixpkgs Package Management // ============================================================================= /** - * @generated from protobuf message stackpanel.agent.GetKMSConfigRequest + * @generated from protobuf message stackpanel.agent.GetInstalledPackagesRequest */ -export interface GetKMSConfigRequest { +export interface GetInstalledPackagesRequest { } /** - * @generated from protobuf message stackpanel.agent.SetKMSConfigRequest + * @generated from protobuf message stackpanel.agent.InstalledPackage */ -export interface SetKMSConfigRequest { +export interface InstalledPackage { + /** + * @generated from protobuf field: string name = 1 + */ + name: string; /** - * @generated from protobuf field: bool enable = 1 + * @generated from protobuf field: string version = 2 */ - enable: boolean; + version: string; /** - * @generated from protobuf field: string key_arn = 2 + * @generated from protobuf field: string attr_path = 3 */ - key_arn: string; + attr_path: string; /** - * @generated from protobuf field: string aws_profile = 3 + * @generated from protobuf field: string source = 4 */ - aws_profile: string; + source: string; // "devshell" or "user" } /** - * @generated from protobuf message stackpanel.agent.KMSConfigResponse + * @generated from protobuf message stackpanel.agent.InstalledPackagesResponse */ -export interface KMSConfigResponse { - /** - * @generated from protobuf field: bool enable = 1 - */ - enable: boolean; - /** - * @generated from protobuf field: string key_arn = 2 - */ - key_arn: string; +export interface InstalledPackagesResponse { /** - * @generated from protobuf field: string aws_profile = 3 + * @generated from protobuf field: repeated stackpanel.agent.InstalledPackage packages = 1 */ - aws_profile: string; + packages: InstalledPackage[]; /** - * Source indicates where the config came from: "state" or "nix" - * - * @generated from protobuf field: string source = 4 + * @generated from protobuf field: int32 count = 2 */ - source: string; + count: number; } // ============================================================================= -// File Operations +// Process-Compose Processes // ============================================================================= /** - * @generated from protobuf message stackpanel.agent.ReadFileRequest + * @generated from protobuf message stackpanel.agent.GetProcessesRequest */ -export interface ReadFileRequest { - /** - * @generated from protobuf field: string path = 1 - */ - path: string; +export interface GetProcessesRequest { } /** - * @generated from protobuf message stackpanel.agent.ReadFileResponse + * @generated from protobuf message stackpanel.agent.ProcessInfo */ -export interface ReadFileResponse { - /** - * @generated from protobuf field: string content = 1 - */ - content: string; +export interface ProcessInfo { /** - * @generated from protobuf field: bool exists = 2 + * @generated from protobuf field: string name = 1 */ - exists: boolean; -} -/** - * @generated from protobuf message stackpanel.agent.WriteFileRequest - */ -export interface WriteFileRequest { + name: string; /** - * @generated from protobuf field: string path = 1 + * @generated from protobuf field: string namespace = 2 */ - path: string; + namespace: string; /** - * @generated from protobuf field: string content = 2 + * @generated from protobuf field: string status = 3 */ - content: string; + status: string; /** - * Mode is the file permission (e.g., 0644). If 0, uses default. - * - * @generated from protobuf field: uint32 mode = 3 + * @generated from protobuf field: int32 pid = 4 */ - mode: number; -} -/** - * @generated from protobuf message stackpanel.agent.WriteFileResponse - */ -export interface WriteFileResponse { + pid: number; /** - * @generated from protobuf field: bool success = 1 + * @generated from protobuf field: int32 exit_code = 5 */ - success: boolean; -} -/** - * @generated from protobuf message stackpanel.agent.ListFilesRequest - */ -export interface ListFilesRequest { + exit_code: number; /** - * @generated from protobuf field: string path = 1 + * @generated from protobuf field: bool is_running = 6 */ - path: string; + is_running: boolean; /** - * @generated from protobuf field: string pattern = 2 + * @generated from protobuf field: int32 restarts = 7 */ - pattern: string; // Optional glob pattern -} -/** - * @generated from protobuf message stackpanel.agent.ListFilesResponse - */ -export interface ListFilesResponse { + restarts: number; /** - * @generated from protobuf field: repeated stackpanel.agent.FileInfo files = 1 + * @generated from protobuf field: string system_time = 8 */ - files: FileInfo[]; + system_time: string; } /** - * @generated from protobuf message stackpanel.agent.FileInfo + * @generated from protobuf message stackpanel.agent.GetProcessesResponse */ -export interface FileInfo { - /** - * @generated from protobuf field: string name = 1 - */ - name: string; +export interface GetProcessesResponse { /** - * @generated from protobuf field: string path = 2 + * @generated from protobuf field: bool available = 1 */ - path: string; + available: boolean; /** - * @generated from protobuf field: bool is_dir = 3 + * @generated from protobuf field: bool running = 2 */ - is_dir: boolean; + running: boolean; /** - * @generated from protobuf field: int64 size = 4 + * @generated from protobuf field: repeated stackpanel.agent.ProcessInfo processes = 3 */ - size: string; + processes: ProcessInfo[]; /** - * @generated from protobuf field: int64 mod_time = 5 + * @generated from protobuf field: string error = 4 */ - mod_time: string; // Unix timestamp + error: string; } // ============================================================================= -// Command Execution +// Nix Data Patch // ============================================================================= /** - * @generated from protobuf message stackpanel.agent.ExecRequest + * PatchNixDataRequest updates a single value within a Nix data entity at a + * dot-separated path. This enables editing individual fields from UI panels + * without replacing the entire entity. + * + * Example: Update a Go app's mainPackage: + * entity = "apps" + * key = "stackpanel-go" + * path = "go.mainPackage" + * value = "./cmd/api" + * value_type = "string" + * + * The path uses camelCase (matching the SpField/panel editPath convention). + * The handler converts to kebab-case when writing to the Nix data file. + * + * @generated from protobuf message stackpanel.agent.PatchNixDataRequest */ -export interface ExecRequest { +export interface PatchNixDataRequest { /** - * @generated from protobuf field: string command = 1 + * Entity name (e.g., "apps", "config", "secrets") + * + * @generated from protobuf field: string entity = 1 */ - command: string; + entity: string; /** - * @generated from protobuf field: repeated string args = 2 + * Top-level key within the entity (e.g., app name "web" for apps entity) + * Empty string for non-map entities (e.g., "config") + * + * @generated from protobuf field: string key = 2 */ - args: string[]; + key: string; /** - * @generated from protobuf field: string cwd = 3 + * Dot-separated path to the field within the key (e.g., "go.mainPackage") + * Uses camelCase convention (zero conversion from UI editPath) + * + * @generated from protobuf field: string path = 3 */ - cwd: string; + path: string; /** - * @generated from protobuf field: map env = 4 + * JSON-encoded value to set (e.g., "\"./cmd/api\"", "true", "[\"a\",\"b\"]") + * + * @generated from protobuf field: string value = 4 */ - env: { - [key: string]: string; - }; + value: string; + /** + * Value type hint for proper Nix serialization + * Supported: "string", "bool", "number", "list", "object", "null" + * + * @generated from protobuf field: string value_type = 5 + */ + value_type: string; } /** - * @generated from protobuf message stackpanel.agent.ExecResponse + * @generated from protobuf message stackpanel.agent.PatchNixDataResponse */ -export interface ExecResponse { +export interface PatchNixDataResponse { /** - * @generated from protobuf field: int32 exit_code = 1 + * @generated from protobuf field: bool success = 1 */ - exit_code: number; + success: boolean; /** - * @generated from protobuf field: string stdout = 2 + * The updated entity data as JSON (for UI cache invalidation) + * + * @generated from protobuf field: string updated_json = 2 */ - stdout: string; + updated_json: string; /** - * @generated from protobuf field: string stderr = 3 + * Error message if success is false + * + * @generated from protobuf field: string error = 3 */ - stderr: string; + error: string; } // ============================================================================= -// Nix Operations +// Full Nix Config // ============================================================================= /** - * @generated from protobuf message stackpanel.agent.NixGenerateRequest - */ -export interface NixGenerateRequest { -} -/** - * @generated from protobuf message stackpanel.agent.NixGenerateResponse + * @generated from protobuf message stackpanel.agent.GetNixConfigRequest */ -export interface NixGenerateResponse { - /** - * @generated from protobuf field: bool success = 1 - */ - success: boolean; +export interface GetNixConfigRequest { /** - * @generated from protobuf field: string output = 2 + * @generated from protobuf field: bool refresh = 1 */ - output: string; + refresh: boolean; // Force re-evaluation } /** - * @generated from protobuf message stackpanel.agent.NixEvalRequest + * @generated from protobuf message stackpanel.agent.NixConfigResponse */ -export interface NixEvalRequest { +export interface NixConfigResponse { + /** + * The full config is a dynamic JSON object, stored as string + * + * @generated from protobuf field: string config_json = 1 + */ + config_json: string; /** - * @generated from protobuf field: string expression = 1 + * @generated from protobuf field: string last_updated = 2 */ - expression: string; + last_updated: string; /** - * @generated from protobuf field: bool json = 2 + * @generated from protobuf field: bool cached = 3 */ - json: boolean; -} -/** - * @generated from protobuf message stackpanel.agent.NixEvalResponse - */ -export interface NixEvalResponse { + cached: boolean; /** - * @generated from protobuf field: string result = 1 + * @generated from protobuf field: string source = 4 */ - result: string; + source: string; // "cache" or "eval" } // ============================================================================= -// Services (process-compose) +// Devshell Management // ============================================================================= /** - * @generated from protobuf message stackpanel.agent.GetServicesStatusRequest + * @generated from protobuf message stackpanel.agent.GetShellStatusRequest */ -export interface GetServicesStatusRequest { +export interface GetShellStatusRequest { } /** - * @generated from protobuf message stackpanel.agent.GetServicesStatusResponse + * @generated from protobuf message stackpanel.agent.ShellStatusResponse */ -export interface GetServicesStatusResponse { - /** - * @generated from protobuf field: bool running = 1 - */ - running: boolean; - /** - * @generated from protobuf field: repeated stackpanel.agent.ServiceStatus services = 2 - */ - services: ServiceStatus[]; -} -/** - * @generated from protobuf message stackpanel.agent.ServiceStatus - */ -export interface ServiceStatus { - /** - * @generated from protobuf field: string name = 1 - */ - name: string; - /** - * @generated from protobuf field: string status = 2 - */ - status: string; // "running", "stopped", "error" - /** - * @generated from protobuf field: int32 pid = 3 - */ - pid: number; - /** - * @generated from protobuf field: int64 uptime = 4 - */ - uptime: string; // Seconds -} -/** - * @generated from protobuf message stackpanel.agent.ServiceRequest - */ -export interface ServiceRequest { - /** - * @generated from protobuf field: string name = 1 - */ - name: string; -} -/** - * @generated from protobuf message stackpanel.agent.ServiceResponse - */ -export interface ServiceResponse { - /** - * @generated from protobuf field: bool success = 1 - */ - success: boolean; - /** - * @generated from protobuf field: string message = 2 - */ - message: string; -} -// ============================================================================= -// SST Infrastructure -// ============================================================================= - -/** - * @generated from protobuf message stackpanel.agent.GetSSTStatusRequest - */ -export interface GetSSTStatusRequest { -} -/** - * @generated from protobuf message stackpanel.agent.SSTStatusResponse - */ -export interface SSTStatusResponse { - /** - * @generated from protobuf field: bool configured = 1 - */ - configured: boolean; - /** - * @generated from protobuf field: string config_path = 2 - */ - config_path: string; - /** - * @generated from protobuf field: bool config_valid = 3 - */ - config_valid: boolean; - /** - * @generated from protobuf field: bool deployed = 4 - */ - deployed: boolean; - /** - * @generated from protobuf field: string stage = 5 - */ - stage: string; - /** - * @generated from protobuf field: string last_deploy = 6 - */ - last_deploy: string; - /** - * @generated from protobuf field: string error = 7 - */ - error: string; -} -/** - * @generated from protobuf message stackpanel.agent.GetSSTConfigRequest - */ -export interface GetSSTConfigRequest { -} -/** - * @generated from protobuf message stackpanel.agent.DeploySSTRequest - */ -export interface DeploySSTRequest { - /** - * @generated from protobuf field: string stage = 1 - */ - stage: string; // dev, staging, production -} -/** - * @generated from protobuf message stackpanel.agent.DeploySSTResponse - */ -export interface DeploySSTResponse { - /** - * @generated from protobuf field: bool success = 1 - */ - success: boolean; - /** - * @generated from protobuf field: string output = 2 - */ - output: string; - /** - * @generated from protobuf field: string error = 3 - */ - error: string; +export interface ShellStatusResponse { /** - * @generated from protobuf field: map outputs = 4 + * Whether the shell is stale (nix files changed since last rebuild) + * + * @generated from protobuf field: bool stale = 1 */ - outputs: { - [key: string]: string; - }; -} -/** - * @generated from protobuf message stackpanel.agent.RemoveSSTRequest - */ -export interface RemoveSSTRequest { + stale: boolean; /** - * @generated from protobuf field: string stage = 1 + * Whether a rebuild is currently in progress + * + * @generated from protobuf field: bool rebuilding = 2 */ - stage: string; -} -/** - * @generated from protobuf message stackpanel.agent.RemoveSSTResponse - */ -export interface RemoveSSTResponse { + rebuilding: boolean; /** - * @generated from protobuf field: bool success = 1 + * Timestamp of when the shell was last built (RFC3339) + * + * @generated from protobuf field: string last_built = 3 */ - success: boolean; + last_built: string; /** - * @generated from protobuf field: string output = 2 + * Timestamp of the most recent nix file change (RFC3339) + * + * @generated from protobuf field: string last_nix_change = 4 */ - output: string; + last_nix_change: string; /** - * @generated from protobuf field: string error = 3 + * List of files that changed since last build + * + * @generated from protobuf field: repeated string changed_files = 5 */ - error: string; -} -/** - * @generated from protobuf message stackpanel.agent.GetSSTOutputsRequest - */ -export interface GetSSTOutputsRequest { + changed_files: string[]; } /** - * @generated from protobuf message stackpanel.agent.SSTOutputsResponse + * @generated from protobuf message stackpanel.agent.RebuildShellRequest */ -export interface SSTOutputsResponse { +export interface RebuildShellRequest { /** - * @generated from protobuf field: map outputs = 1 + * Which command to use: "devshell" (./devshell) or "nix" (nix develop --impure) + * Defaults to "devshell" if not specified + * + * @generated from protobuf field: string method = 1 */ - outputs: { - [key: string]: string; - }; -} -/** - * @generated from protobuf message stackpanel.agent.GetSSTResourcesRequest - */ -export interface GetSSTResourcesRequest { + method: string; } /** - * @generated from protobuf message stackpanel.agent.SSTResource + * @generated from protobuf message stackpanel.agent.RebuildShellEvent */ -export interface SSTResource { +export interface RebuildShellEvent { /** + * Event type: "started", "output", "completed", "error" + * * @generated from protobuf field: string type = 1 */ type: string; /** - * @generated from protobuf field: string urn = 2 - */ - urn: string; - /** - * @generated from protobuf field: string id = 3 - */ - id: string; -} -/** - * @generated from protobuf message stackpanel.agent.SSTResourcesResponse - */ -export interface SSTResourcesResponse { - /** - * @generated from protobuf field: repeated stackpanel.agent.SSTResource resources = 1 - */ - resources: SSTResource[]; -} -// ============================================================================= -// Nixpkgs Package Management -// ============================================================================= - -/** - * @generated from protobuf message stackpanel.agent.SearchNixpkgsRequest - */ -export interface SearchNixpkgsRequest { - /** - * @generated from protobuf field: string query = 1 - */ - query: string; - /** - * @generated from protobuf field: int32 limit = 2 - */ - limit: number; // Max results to return -} -/** - * @generated from protobuf message stackpanel.agent.NixpkgsPackage - */ -export interface NixpkgsPackage { - /** - * @generated from protobuf field: string name = 1 - */ - name: string; - /** - * @generated from protobuf field: string attr_path = 2 - */ - attr_path: string; - /** - * @generated from protobuf field: string version = 3 - */ - version: string; - /** - * @generated from protobuf field: string description = 4 - */ - description: string; - /** - * @generated from protobuf field: bool installed = 5 - */ - installed: boolean; - /** - * @generated from protobuf field: string license = 6 - */ - license: string; - /** - * @generated from protobuf field: string homepage = 7 - */ - homepage: string; - /** - * @generated from protobuf field: string nixpkgs_url = 8 - */ - nixpkgs_url: string; -} -/** - * @generated from protobuf message stackpanel.agent.SearchNixpkgsResponse - */ -export interface SearchNixpkgsResponse { - /** - * @generated from protobuf field: repeated stackpanel.agent.NixpkgsPackage packages = 1 - */ - packages: NixpkgsPackage[]; -} -/** - * @generated from protobuf message stackpanel.agent.GetInstalledPackagesRequest - */ -export interface GetInstalledPackagesRequest { -} -/** - * @generated from protobuf message stackpanel.agent.InstalledPackage - */ -export interface InstalledPackage { - /** - * @generated from protobuf field: string name = 1 - */ - name: string; - /** - * @generated from protobuf field: string version = 2 - */ - version: string; - /** - * @generated from protobuf field: string attr_path = 3 - */ - attr_path: string; - /** - * @generated from protobuf field: string source = 4 - */ - source: string; // "devshell" or "user" -} -/** - * @generated from protobuf message stackpanel.agent.InstalledPackagesResponse - */ -export interface InstalledPackagesResponse { - /** - * @generated from protobuf field: repeated stackpanel.agent.InstalledPackage packages = 1 - */ - packages: InstalledPackage[]; - /** - * @generated from protobuf field: int32 count = 2 - */ - count: number; -} -// ============================================================================= -// Process-Compose Processes -// ============================================================================= - -/** - * @generated from protobuf message stackpanel.agent.GetProcessesRequest - */ -export interface GetProcessesRequest { -} -/** - * @generated from protobuf message stackpanel.agent.ProcessInfo - */ -export interface ProcessInfo { - /** - * @generated from protobuf field: string name = 1 - */ - name: string; - /** - * @generated from protobuf field: string namespace = 2 - */ - namespace: string; - /** - * @generated from protobuf field: string status = 3 - */ - status: string; - /** - * @generated from protobuf field: int32 pid = 4 + * Output line (for type="output") + * + * @generated from protobuf field: string output = 2 */ - pid: number; - /** - * @generated from protobuf field: int32 exit_code = 5 - */ - exit_code: number; - /** - * @generated from protobuf field: bool is_running = 6 - */ - is_running: boolean; - /** - * @generated from protobuf field: int32 restarts = 7 - */ - restarts: number; - /** - * @generated from protobuf field: string system_time = 8 - */ - system_time: string; -} -/** - * @generated from protobuf message stackpanel.agent.GetProcessesResponse - */ -export interface GetProcessesResponse { - /** - * @generated from protobuf field: bool available = 1 - */ - available: boolean; - /** - * @generated from protobuf field: bool running = 2 - */ - running: boolean; - /** - * @generated from protobuf field: repeated stackpanel.agent.ProcessInfo processes = 3 - */ - processes: ProcessInfo[]; - /** - * @generated from protobuf field: string error = 4 - */ - error: string; -} -// ============================================================================= -// Healthchecks -// ============================================================================= - -/** - * @generated from protobuf message stackpanel.agent.GetHealthchecksRequest - */ -export interface GetHealthchecksRequest { -} -/** - * Simple healthcheck info for RPC responses (distinct from db.HealthcheckResult) - * - * @generated from protobuf message stackpanel.agent.HealthcheckInfo - */ -export interface HealthcheckInfo { - /** - * @generated from protobuf field: string name = 1 - */ - name: string; - /** - * @generated from protobuf field: string type = 2 - */ - type: string; // service, port, http, etc. - /** - * @generated from protobuf field: bool healthy = 3 - */ - healthy: boolean; - /** - * @generated from protobuf field: string message = 4 - */ - message: string; - /** - * @generated from protobuf field: string details = 5 - */ - details: string; -} -/** - * @generated from protobuf message stackpanel.agent.HealthchecksResponse - */ -export interface HealthchecksResponse { - /** - * @generated from protobuf field: bool all_healthy = 1 - */ - all_healthy: boolean; - /** - * @generated from protobuf field: repeated stackpanel.agent.HealthcheckInfo checks = 2 - */ - checks: HealthcheckInfo[]; -} -// ============================================================================= -// Nix Data Patch -// ============================================================================= - -/** - * PatchNixDataRequest updates a single value within a Nix data entity at a - * dot-separated path. This enables editing individual fields from UI panels - * without replacing the entire entity. - * - * Example: Update a Go app's mainPackage: - * entity = "apps" - * key = "stackpanel-go" - * path = "go.mainPackage" - * value = "./cmd/api" - * value_type = "string" - * - * The path uses camelCase (matching the SpField/panel editPath convention). - * The handler converts to kebab-case when writing to the Nix data file. - * - * @generated from protobuf message stackpanel.agent.PatchNixDataRequest - */ -export interface PatchNixDataRequest { - /** - * Entity name (e.g., "apps", "config", "secrets") - * - * @generated from protobuf field: string entity = 1 - */ - entity: string; - /** - * Top-level key within the entity (e.g., app name "web" for apps entity) - * Empty string for non-map entities (e.g., "config") - * - * @generated from protobuf field: string key = 2 - */ - key: string; - /** - * Dot-separated path to the field within the key (e.g., "go.mainPackage") - * Uses camelCase convention (zero conversion from UI editPath) - * - * @generated from protobuf field: string path = 3 - */ - path: string; - /** - * JSON-encoded value to set (e.g., "\"./cmd/api\"", "true", "[\"a\",\"b\"]") - * - * @generated from protobuf field: string value = 4 - */ - value: string; - /** - * Value type hint for proper Nix serialization - * Supported: "string", "bool", "number", "list", "object", "null" - * - * @generated from protobuf field: string value_type = 5 - */ - value_type: string; -} -/** - * @generated from protobuf message stackpanel.agent.PatchNixDataResponse - */ -export interface PatchNixDataResponse { - /** - * @generated from protobuf field: bool success = 1 - */ - success: boolean; - /** - * The updated entity data as JSON (for UI cache invalidation) - * - * @generated from protobuf field: string updated_json = 2 - */ - updated_json: string; - /** - * Error message if success is false - * - * @generated from protobuf field: string error = 3 - */ - error: string; -} -// ============================================================================= -// Full Nix Config -// ============================================================================= - -/** - * @generated from protobuf message stackpanel.agent.GetNixConfigRequest - */ -export interface GetNixConfigRequest { - /** - * @generated from protobuf field: bool refresh = 1 - */ - refresh: boolean; // Force re-evaluation -} -/** - * @generated from protobuf message stackpanel.agent.RefreshNixConfigRequest - */ -export interface RefreshNixConfigRequest { -} -/** - * @generated from protobuf message stackpanel.agent.NixConfigResponse - */ -export interface NixConfigResponse { - /** - * The full config is a dynamic JSON object, stored as string - * - * @generated from protobuf field: string config_json = 1 - */ - config_json: string; - /** - * @generated from protobuf field: string last_updated = 2 - */ - last_updated: string; - /** - * @generated from protobuf field: bool cached = 3 - */ - cached: boolean; - /** - * @generated from protobuf field: string source = 4 - */ - source: string; // "cache" or "eval" -} -// ============================================================================= -// Devshell Management -// ============================================================================= - -/** - * @generated from protobuf message stackpanel.agent.GetShellStatusRequest - */ -export interface GetShellStatusRequest { -} -/** - * @generated from protobuf message stackpanel.agent.ShellStatusResponse - */ -export interface ShellStatusResponse { - /** - * Whether the shell is stale (nix files changed since last rebuild) - * - * @generated from protobuf field: bool stale = 1 - */ - stale: boolean; - /** - * Whether a rebuild is currently in progress - * - * @generated from protobuf field: bool rebuilding = 2 - */ - rebuilding: boolean; - /** - * Timestamp of when the shell was last built (RFC3339) - * - * @generated from protobuf field: string last_built = 3 - */ - last_built: string; - /** - * Timestamp of the most recent nix file change (RFC3339) - * - * @generated from protobuf field: string last_nix_change = 4 - */ - last_nix_change: string; - /** - * List of files that changed since last build - * - * @generated from protobuf field: repeated string changed_files = 5 - */ - changed_files: string[]; -} -/** - * @generated from protobuf message stackpanel.agent.RebuildShellRequest - */ -export interface RebuildShellRequest { - /** - * Which command to use: "devshell" (./devshell) or "nix" (nix develop --impure) - * Defaults to "devshell" if not specified - * - * @generated from protobuf field: string method = 1 - */ - method: string; -} -/** - * @generated from protobuf message stackpanel.agent.RebuildShellEvent - */ -export interface RebuildShellEvent { - /** - * Event type: "started", "output", "completed", "error" - * - * @generated from protobuf field: string type = 1 - */ - type: string; - /** - * Output line (for type="output") - * - * @generated from protobuf field: string output = 2 - */ - output: string; + output: string; /** * Exit code (for type="completed") * * @generated from protobuf field: int32 exit_code = 3 - */ - exit_code: number; - /** - * Error message (for type="error") - * - * @generated from protobuf field: string error = 4 - */ - error: string; - /** - * Timestamp - * - * @generated from protobuf field: string timestamp = 5 - */ - timestamp: string; -} -// @generated message type with reflection information, may provide speed optimized methods -class GetProjectRequest$Type extends MessageType { - constructor() { - super("stackpanel.agent.GetProjectRequest", []); - } - create(value?: PartialMessage): GetProjectRequest { - const message = globalThis.Object.create((this.messagePrototype!)); - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetProjectRequest): GetProjectRequest { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: GetProjectRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.GetProjectRequest - */ -export const GetProjectRequest = new GetProjectRequest$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class GetProjectResponse$Type extends MessageType { - constructor() { - super("stackpanel.agent.GetProjectResponse", [ - { no: 1, name: "project", kind: "message", T: () => Project } - ]); - } - create(value?: PartialMessage): GetProjectResponse { - const message = globalThis.Object.create((this.messagePrototype!)); - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetProjectResponse): GetProjectResponse { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case /* stackpanel.agent.Project project */ 1: - message.project = Project.internalBinaryRead(reader, reader.uint32(), options, message.project); - break; - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: GetProjectResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* stackpanel.agent.Project project = 1; */ - if (message.project) - Project.internalBinaryWrite(message.project, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.GetProjectResponse - */ -export const GetProjectResponse = new GetProjectResponse$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class Project$Type extends MessageType { - constructor() { - super("stackpanel.agent.Project", [ - { no: 1, name: "path", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 2, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 3, name: "github", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 4, name: "dirs", kind: "message", T: () => Directories } - ]); - } - create(value?: PartialMessage): Project { - const message = globalThis.Object.create((this.messagePrototype!)); - message.path = ""; - message.name = ""; - message.github = ""; - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Project): Project { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case /* string path */ 1: - message.path = reader.string(); - break; - case /* string name */ 2: - message.name = reader.string(); - break; - case /* string github */ 3: - message.github = reader.string(); - break; - case /* stackpanel.agent.Directories dirs */ 4: - message.dirs = Directories.internalBinaryRead(reader, reader.uint32(), options, message.dirs); - break; - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: Project, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* string path = 1; */ - if (message.path !== "") - writer.tag(1, WireType.LengthDelimited).string(message.path); - /* string name = 2; */ - if (message.name !== "") - writer.tag(2, WireType.LengthDelimited).string(message.name); - /* string github = 3; */ - if (message.github !== "") - writer.tag(3, WireType.LengthDelimited).string(message.github); - /* stackpanel.agent.Directories dirs = 4; */ - if (message.dirs) - Directories.internalBinaryWrite(message.dirs, writer.tag(4, WireType.LengthDelimited).fork(), options).join(); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.Project - */ -export const Project = new Project$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class Directories$Type extends MessageType { - constructor() { - super("stackpanel.agent.Directories", [ - { no: 1, name: "home", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 2, name: "data", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 3, name: "gen", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 4, name: "state", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 5, name: "secrets", kind: "scalar", T: 9 /*ScalarType.STRING*/ } - ]); - } - create(value?: PartialMessage): Directories { - const message = globalThis.Object.create((this.messagePrototype!)); - message.home = ""; - message.data = ""; - message.gen = ""; - message.state = ""; - message.secrets = ""; - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Directories): Directories { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case /* string home */ 1: - message.home = reader.string(); - break; - case /* string data */ 2: - message.data = reader.string(); - break; - case /* string gen */ 3: - message.gen = reader.string(); - break; - case /* string state */ 4: - message.state = reader.string(); - break; - case /* string secrets */ 5: - message.secrets = reader.string(); - break; - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: Directories, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* string home = 1; */ - if (message.home !== "") - writer.tag(1, WireType.LengthDelimited).string(message.home); - /* string data = 2; */ - if (message.data !== "") - writer.tag(2, WireType.LengthDelimited).string(message.data); - /* string gen = 3; */ - if (message.gen !== "") - writer.tag(3, WireType.LengthDelimited).string(message.gen); - /* string state = 4; */ - if (message.state !== "") - writer.tag(4, WireType.LengthDelimited).string(message.state); - /* string secrets = 5; */ - if (message.secrets !== "") - writer.tag(5, WireType.LengthDelimited).string(message.secrets); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.Directories - */ -export const Directories = new Directories$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class GetConfigRequest$Type extends MessageType { - constructor() { - super("stackpanel.agent.GetConfigRequest", []); - } - create(value?: PartialMessage): GetConfigRequest { - const message = globalThis.Object.create((this.messagePrototype!)); - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetConfigRequest): GetConfigRequest { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: GetConfigRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.GetConfigRequest - */ -export const GetConfigRequest = new GetConfigRequest$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class GetSecretsRequest$Type extends MessageType { - constructor() { - super("stackpanel.agent.GetSecretsRequest", []); - } - create(value?: PartialMessage): GetSecretsRequest { - const message = globalThis.Object.create((this.messagePrototype!)); - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetSecretsRequest): GetSecretsRequest { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: GetSecretsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.GetSecretsRequest - */ -export const GetSecretsRequest = new GetSecretsRequest$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class GetUsersRequest$Type extends MessageType { - constructor() { - super("stackpanel.agent.GetUsersRequest", []); - } - create(value?: PartialMessage): GetUsersRequest { - const message = globalThis.Object.create((this.messagePrototype!)); - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetUsersRequest): GetUsersRequest { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: GetUsersRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.GetUsersRequest - */ -export const GetUsersRequest = new GetUsersRequest$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class GetAwsRequest$Type extends MessageType { - constructor() { - super("stackpanel.agent.GetAwsRequest", []); - } - create(value?: PartialMessage): GetAwsRequest { - const message = globalThis.Object.create((this.messagePrototype!)); - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetAwsRequest): GetAwsRequest { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: GetAwsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.GetAwsRequest - */ -export const GetAwsRequest = new GetAwsRequest$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class GetAppsRequest$Type extends MessageType { - constructor() { - super("stackpanel.agent.GetAppsRequest", []); - } - create(value?: PartialMessage): GetAppsRequest { - const message = globalThis.Object.create((this.messagePrototype!)); - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetAppsRequest): GetAppsRequest { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: GetAppsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.GetAppsRequest - */ -export const GetAppsRequest = new GetAppsRequest$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class GetVariablesRequest$Type extends MessageType { - constructor() { - super("stackpanel.agent.GetVariablesRequest", []); - } - create(value?: PartialMessage): GetVariablesRequest { - const message = globalThis.Object.create((this.messagePrototype!)); - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetVariablesRequest): GetVariablesRequest { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: GetVariablesRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.GetVariablesRequest - */ -export const GetVariablesRequest = new GetVariablesRequest$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class GetSstRequest$Type extends MessageType { - constructor() { - super("stackpanel.agent.GetSstRequest", []); - } - create(value?: PartialMessage): GetSstRequest { - const message = globalThis.Object.create((this.messagePrototype!)); - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetSstRequest): GetSstRequest { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: GetSstRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.GetSstRequest - */ -export const GetSstRequest = new GetSstRequest$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class GetModulesRequest$Type extends MessageType { - constructor() { - super("stackpanel.agent.GetModulesRequest", []); - } - create(value?: PartialMessage): GetModulesRequest { - const message = globalThis.Object.create((this.messagePrototype!)); - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetModulesRequest): GetModulesRequest { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: GetModulesRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.GetModulesRequest - */ -export const GetModulesRequest = new GetModulesRequest$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class GetModuleRequest$Type extends MessageType { - constructor() { - super("stackpanel.agent.GetModuleRequest", [ - { no: 1, name: "module_id", kind: "scalar", localName: "module_id", T: 9 /*ScalarType.STRING*/ } - ]); - } - create(value?: PartialMessage): GetModuleRequest { - const message = globalThis.Object.create((this.messagePrototype!)); - message.module_id = ""; - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetModuleRequest): GetModuleRequest { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case /* string module_id */ 1: - message.module_id = reader.string(); - break; - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: GetModuleRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* string module_id = 1; */ - if (message.module_id !== "") - writer.tag(1, WireType.LengthDelimited).string(message.module_id); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.GetModuleRequest - */ -export const GetModuleRequest = new GetModuleRequest$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class GetAgeIdentityRequest$Type extends MessageType { - constructor() { - super("stackpanel.agent.GetAgeIdentityRequest", []); - } - create(value?: PartialMessage): GetAgeIdentityRequest { - const message = globalThis.Object.create((this.messagePrototype!)); - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetAgeIdentityRequest): GetAgeIdentityRequest { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: GetAgeIdentityRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.GetAgeIdentityRequest - */ -export const GetAgeIdentityRequest = new GetAgeIdentityRequest$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class SetAgeIdentityRequest$Type extends MessageType { - constructor() { - super("stackpanel.agent.SetAgeIdentityRequest", [ - { no: 1, name: "value", kind: "scalar", T: 9 /*ScalarType.STRING*/ } - ]); - } - create(value?: PartialMessage): SetAgeIdentityRequest { - const message = globalThis.Object.create((this.messagePrototype!)); - message.value = ""; - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SetAgeIdentityRequest): SetAgeIdentityRequest { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case /* string value */ 1: - message.value = reader.string(); - break; - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: SetAgeIdentityRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* string value = 1; */ - if (message.value !== "") - writer.tag(1, WireType.LengthDelimited).string(message.value); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.SetAgeIdentityRequest - */ -export const SetAgeIdentityRequest = new SetAgeIdentityRequest$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class AgeIdentityResponse$Type extends MessageType { - constructor() { - super("stackpanel.agent.AgeIdentityResponse", [ - { no: 1, name: "type", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 2, name: "value", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 3, name: "key_path", kind: "scalar", localName: "key_path", T: 9 /*ScalarType.STRING*/ }, - { no: 4, name: "public_key", kind: "scalar", localName: "public_key", T: 9 /*ScalarType.STRING*/ } - ]); - } - create(value?: PartialMessage): AgeIdentityResponse { - const message = globalThis.Object.create((this.messagePrototype!)); - message.type = ""; - message.value = ""; - message.key_path = ""; - message.public_key = ""; - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AgeIdentityResponse): AgeIdentityResponse { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case /* string type */ 1: - message.type = reader.string(); - break; - case /* string value */ 2: - message.value = reader.string(); - break; - case /* string key_path */ 3: - message.key_path = reader.string(); - break; - case /* string public_key */ 4: - message.public_key = reader.string(); - break; - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: AgeIdentityResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* string type = 1; */ - if (message.type !== "") - writer.tag(1, WireType.LengthDelimited).string(message.type); - /* string value = 2; */ - if (message.value !== "") - writer.tag(2, WireType.LengthDelimited).string(message.value); - /* string key_path = 3; */ - if (message.key_path !== "") - writer.tag(3, WireType.LengthDelimited).string(message.key_path); - /* string public_key = 4; */ - if (message.public_key !== "") - writer.tag(4, WireType.LengthDelimited).string(message.public_key); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.AgeIdentityResponse - */ -export const AgeIdentityResponse = new AgeIdentityResponse$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class GetKMSConfigRequest$Type extends MessageType { - constructor() { - super("stackpanel.agent.GetKMSConfigRequest", []); - } - create(value?: PartialMessage): GetKMSConfigRequest { - const message = globalThis.Object.create((this.messagePrototype!)); - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetKMSConfigRequest): GetKMSConfigRequest { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: GetKMSConfigRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.GetKMSConfigRequest - */ -export const GetKMSConfigRequest = new GetKMSConfigRequest$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class SetKMSConfigRequest$Type extends MessageType { - constructor() { - super("stackpanel.agent.SetKMSConfigRequest", [ - { no: 1, name: "enable", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, - { no: 2, name: "key_arn", kind: "scalar", localName: "key_arn", T: 9 /*ScalarType.STRING*/ }, - { no: 3, name: "aws_profile", kind: "scalar", localName: "aws_profile", T: 9 /*ScalarType.STRING*/ } - ]); - } - create(value?: PartialMessage): SetKMSConfigRequest { - const message = globalThis.Object.create((this.messagePrototype!)); - message.enable = false; - message.key_arn = ""; - message.aws_profile = ""; - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SetKMSConfigRequest): SetKMSConfigRequest { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case /* bool enable */ 1: - message.enable = reader.bool(); - break; - case /* string key_arn */ 2: - message.key_arn = reader.string(); - break; - case /* string aws_profile */ 3: - message.aws_profile = reader.string(); - break; - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: SetKMSConfigRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* bool enable = 1; */ - if (message.enable !== false) - writer.tag(1, WireType.Varint).bool(message.enable); - /* string key_arn = 2; */ - if (message.key_arn !== "") - writer.tag(2, WireType.LengthDelimited).string(message.key_arn); - /* string aws_profile = 3; */ - if (message.aws_profile !== "") - writer.tag(3, WireType.LengthDelimited).string(message.aws_profile); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.SetKMSConfigRequest - */ -export const SetKMSConfigRequest = new SetKMSConfigRequest$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class KMSConfigResponse$Type extends MessageType { - constructor() { - super("stackpanel.agent.KMSConfigResponse", [ - { no: 1, name: "enable", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, - { no: 2, name: "key_arn", kind: "scalar", localName: "key_arn", T: 9 /*ScalarType.STRING*/ }, - { no: 3, name: "aws_profile", kind: "scalar", localName: "aws_profile", T: 9 /*ScalarType.STRING*/ }, - { no: 4, name: "source", kind: "scalar", T: 9 /*ScalarType.STRING*/ } - ]); - } - create(value?: PartialMessage): KMSConfigResponse { - const message = globalThis.Object.create((this.messagePrototype!)); - message.enable = false; - message.key_arn = ""; - message.aws_profile = ""; - message.source = ""; - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: KMSConfigResponse): KMSConfigResponse { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case /* bool enable */ 1: - message.enable = reader.bool(); - break; - case /* string key_arn */ 2: - message.key_arn = reader.string(); - break; - case /* string aws_profile */ 3: - message.aws_profile = reader.string(); - break; - case /* string source */ 4: - message.source = reader.string(); - break; - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: KMSConfigResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* bool enable = 1; */ - if (message.enable !== false) - writer.tag(1, WireType.Varint).bool(message.enable); - /* string key_arn = 2; */ - if (message.key_arn !== "") - writer.tag(2, WireType.LengthDelimited).string(message.key_arn); - /* string aws_profile = 3; */ - if (message.aws_profile !== "") - writer.tag(3, WireType.LengthDelimited).string(message.aws_profile); - /* string source = 4; */ - if (message.source !== "") - writer.tag(4, WireType.LengthDelimited).string(message.source); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.KMSConfigResponse - */ -export const KMSConfigResponse = new KMSConfigResponse$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class ReadFileRequest$Type extends MessageType { - constructor() { - super("stackpanel.agent.ReadFileRequest", [ - { no: 1, name: "path", kind: "scalar", T: 9 /*ScalarType.STRING*/ } - ]); - } - create(value?: PartialMessage): ReadFileRequest { - const message = globalThis.Object.create((this.messagePrototype!)); - message.path = ""; - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReadFileRequest): ReadFileRequest { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case /* string path */ 1: - message.path = reader.string(); - break; - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: ReadFileRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* string path = 1; */ - if (message.path !== "") - writer.tag(1, WireType.LengthDelimited).string(message.path); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.ReadFileRequest - */ -export const ReadFileRequest = new ReadFileRequest$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class ReadFileResponse$Type extends MessageType { - constructor() { - super("stackpanel.agent.ReadFileResponse", [ - { no: 1, name: "content", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 2, name: "exists", kind: "scalar", T: 8 /*ScalarType.BOOL*/ } - ]); - } - create(value?: PartialMessage): ReadFileResponse { - const message = globalThis.Object.create((this.messagePrototype!)); - message.content = ""; - message.exists = false; - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReadFileResponse): ReadFileResponse { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case /* string content */ 1: - message.content = reader.string(); - break; - case /* bool exists */ 2: - message.exists = reader.bool(); - break; - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: ReadFileResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* string content = 1; */ - if (message.content !== "") - writer.tag(1, WireType.LengthDelimited).string(message.content); - /* bool exists = 2; */ - if (message.exists !== false) - writer.tag(2, WireType.Varint).bool(message.exists); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.ReadFileResponse - */ -export const ReadFileResponse = new ReadFileResponse$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class WriteFileRequest$Type extends MessageType { - constructor() { - super("stackpanel.agent.WriteFileRequest", [ - { no: 1, name: "path", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 2, name: "content", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 3, name: "mode", kind: "scalar", T: 13 /*ScalarType.UINT32*/ } - ]); - } - create(value?: PartialMessage): WriteFileRequest { - const message = globalThis.Object.create((this.messagePrototype!)); - message.path = ""; - message.content = ""; - message.mode = 0; - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: WriteFileRequest): WriteFileRequest { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case /* string path */ 1: - message.path = reader.string(); - break; - case /* string content */ 2: - message.content = reader.string(); - break; - case /* uint32 mode */ 3: - message.mode = reader.uint32(); - break; - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: WriteFileRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* string path = 1; */ - if (message.path !== "") - writer.tag(1, WireType.LengthDelimited).string(message.path); - /* string content = 2; */ - if (message.content !== "") - writer.tag(2, WireType.LengthDelimited).string(message.content); - /* uint32 mode = 3; */ - if (message.mode !== 0) - writer.tag(3, WireType.Varint).uint32(message.mode); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.WriteFileRequest - */ -export const WriteFileRequest = new WriteFileRequest$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class WriteFileResponse$Type extends MessageType { - constructor() { - super("stackpanel.agent.WriteFileResponse", [ - { no: 1, name: "success", kind: "scalar", T: 8 /*ScalarType.BOOL*/ } - ]); - } - create(value?: PartialMessage): WriteFileResponse { - const message = globalThis.Object.create((this.messagePrototype!)); - message.success = false; - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: WriteFileResponse): WriteFileResponse { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case /* bool success */ 1: - message.success = reader.bool(); - break; - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: WriteFileResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* bool success = 1; */ - if (message.success !== false) - writer.tag(1, WireType.Varint).bool(message.success); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.WriteFileResponse - */ -export const WriteFileResponse = new WriteFileResponse$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class ListFilesRequest$Type extends MessageType { - constructor() { - super("stackpanel.agent.ListFilesRequest", [ - { no: 1, name: "path", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 2, name: "pattern", kind: "scalar", T: 9 /*ScalarType.STRING*/ } - ]); - } - create(value?: PartialMessage): ListFilesRequest { - const message = globalThis.Object.create((this.messagePrototype!)); - message.path = ""; - message.pattern = ""; - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListFilesRequest): ListFilesRequest { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case /* string path */ 1: - message.path = reader.string(); - break; - case /* string pattern */ 2: - message.pattern = reader.string(); - break; - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: ListFilesRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* string path = 1; */ - if (message.path !== "") - writer.tag(1, WireType.LengthDelimited).string(message.path); - /* string pattern = 2; */ - if (message.pattern !== "") - writer.tag(2, WireType.LengthDelimited).string(message.pattern); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.ListFilesRequest - */ -export const ListFilesRequest = new ListFilesRequest$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class ListFilesResponse$Type extends MessageType { - constructor() { - super("stackpanel.agent.ListFilesResponse", [ - { no: 1, name: "files", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => FileInfo } - ]); - } - create(value?: PartialMessage): ListFilesResponse { - const message = globalThis.Object.create((this.messagePrototype!)); - message.files = []; - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListFilesResponse): ListFilesResponse { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case /* repeated stackpanel.agent.FileInfo files */ 1: - message.files.push(FileInfo.internalBinaryRead(reader, reader.uint32(), options)); - break; - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: ListFilesResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* repeated stackpanel.agent.FileInfo files = 1; */ - for (let i = 0; i < message.files.length; i++) - FileInfo.internalBinaryWrite(message.files[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join(); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.ListFilesResponse - */ -export const ListFilesResponse = new ListFilesResponse$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class FileInfo$Type extends MessageType { - constructor() { - super("stackpanel.agent.FileInfo", [ - { no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 2, name: "path", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 3, name: "is_dir", kind: "scalar", localName: "is_dir", T: 8 /*ScalarType.BOOL*/ }, - { no: 4, name: "size", kind: "scalar", T: 3 /*ScalarType.INT64*/ }, - { no: 5, name: "mod_time", kind: "scalar", localName: "mod_time", T: 3 /*ScalarType.INT64*/ } - ]); - } - create(value?: PartialMessage): FileInfo { - const message = globalThis.Object.create((this.messagePrototype!)); - message.name = ""; - message.path = ""; - message.is_dir = false; - message.size = "0"; - message.mod_time = "0"; - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FileInfo): FileInfo { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case /* string name */ 1: - message.name = reader.string(); - break; - case /* string path */ 2: - message.path = reader.string(); - break; - case /* bool is_dir */ 3: - message.is_dir = reader.bool(); - break; - case /* int64 size */ 4: - message.size = reader.int64().toString(); - break; - case /* int64 mod_time */ 5: - message.mod_time = reader.int64().toString(); - break; - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: FileInfo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* string name = 1; */ - if (message.name !== "") - writer.tag(1, WireType.LengthDelimited).string(message.name); - /* string path = 2; */ - if (message.path !== "") - writer.tag(2, WireType.LengthDelimited).string(message.path); - /* bool is_dir = 3; */ - if (message.is_dir !== false) - writer.tag(3, WireType.Varint).bool(message.is_dir); - /* int64 size = 4; */ - if (message.size !== "0") - writer.tag(4, WireType.Varint).int64(message.size); - /* int64 mod_time = 5; */ - if (message.mod_time !== "0") - writer.tag(5, WireType.Varint).int64(message.mod_time); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.FileInfo - */ -export const FileInfo = new FileInfo$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class ExecRequest$Type extends MessageType { - constructor() { - super("stackpanel.agent.ExecRequest", [ - { no: 1, name: "command", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 2, name: "args", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }, - { no: 3, name: "cwd", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 4, name: "env", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "scalar", T: 9 /*ScalarType.STRING*/ } } - ]); - } - create(value?: PartialMessage): ExecRequest { - const message = globalThis.Object.create((this.messagePrototype!)); - message.command = ""; - message.args = []; - message.cwd = ""; - message.env = {}; - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecRequest): ExecRequest { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case /* string command */ 1: - message.command = reader.string(); - break; - case /* repeated string args */ 2: - message.args.push(reader.string()); - break; - case /* string cwd */ 3: - message.cwd = reader.string(); - break; - case /* map env */ 4: - this.binaryReadMap4(message.env, reader, options); - break; - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - private binaryReadMap4(map: ExecRequest["env"], reader: IBinaryReader, options: BinaryReadOptions): void { - let len = reader.uint32(), end = reader.pos + len, key: keyof ExecRequest["env"] | undefined, val: ExecRequest["env"][any] | undefined; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case 1: - key = reader.string(); - break; - case 2: - val = reader.string(); - break; - default: throw new globalThis.Error("unknown map entry field for stackpanel.agent.ExecRequest.env"); - } - } - map[key ?? ""] = val ?? ""; - } - internalBinaryWrite(message: ExecRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* string command = 1; */ - if (message.command !== "") - writer.tag(1, WireType.LengthDelimited).string(message.command); - /* repeated string args = 2; */ - for (let i = 0; i < message.args.length; i++) - writer.tag(2, WireType.LengthDelimited).string(message.args[i]); - /* string cwd = 3; */ - if (message.cwd !== "") - writer.tag(3, WireType.LengthDelimited).string(message.cwd); - /* map env = 4; */ - for (let k of globalThis.Object.keys(message.env)) - writer.tag(4, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k).tag(2, WireType.LengthDelimited).string(message.env[k]).join(); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.ExecRequest - */ -export const ExecRequest = new ExecRequest$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class ExecResponse$Type extends MessageType { - constructor() { - super("stackpanel.agent.ExecResponse", [ - { no: 1, name: "exit_code", kind: "scalar", localName: "exit_code", T: 5 /*ScalarType.INT32*/ }, - { no: 2, name: "stdout", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 3, name: "stderr", kind: "scalar", T: 9 /*ScalarType.STRING*/ } - ]); - } - create(value?: PartialMessage): ExecResponse { - const message = globalThis.Object.create((this.messagePrototype!)); - message.exit_code = 0; - message.stdout = ""; - message.stderr = ""; - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecResponse): ExecResponse { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case /* int32 exit_code */ 1: - message.exit_code = reader.int32(); - break; - case /* string stdout */ 2: - message.stdout = reader.string(); - break; - case /* string stderr */ 3: - message.stderr = reader.string(); - break; - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: ExecResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* int32 exit_code = 1; */ - if (message.exit_code !== 0) - writer.tag(1, WireType.Varint).int32(message.exit_code); - /* string stdout = 2; */ - if (message.stdout !== "") - writer.tag(2, WireType.LengthDelimited).string(message.stdout); - /* string stderr = 3; */ - if (message.stderr !== "") - writer.tag(3, WireType.LengthDelimited).string(message.stderr); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.ExecResponse - */ -export const ExecResponse = new ExecResponse$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class NixGenerateRequest$Type extends MessageType { - constructor() { - super("stackpanel.agent.NixGenerateRequest", []); - } - create(value?: PartialMessage): NixGenerateRequest { - const message = globalThis.Object.create((this.messagePrototype!)); - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NixGenerateRequest): NixGenerateRequest { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: NixGenerateRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.NixGenerateRequest - */ -export const NixGenerateRequest = new NixGenerateRequest$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class NixGenerateResponse$Type extends MessageType { - constructor() { - super("stackpanel.agent.NixGenerateResponse", [ - { no: 1, name: "success", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, - { no: 2, name: "output", kind: "scalar", T: 9 /*ScalarType.STRING*/ } - ]); - } - create(value?: PartialMessage): NixGenerateResponse { - const message = globalThis.Object.create((this.messagePrototype!)); - message.success = false; - message.output = ""; - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NixGenerateResponse): NixGenerateResponse { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case /* bool success */ 1: - message.success = reader.bool(); - break; - case /* string output */ 2: - message.output = reader.string(); - break; - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: NixGenerateResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* bool success = 1; */ - if (message.success !== false) - writer.tag(1, WireType.Varint).bool(message.success); - /* string output = 2; */ - if (message.output !== "") - writer.tag(2, WireType.LengthDelimited).string(message.output); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.NixGenerateResponse - */ -export const NixGenerateResponse = new NixGenerateResponse$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class NixEvalRequest$Type extends MessageType { - constructor() { - super("stackpanel.agent.NixEvalRequest", [ - { no: 1, name: "expression", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 2, name: "json", kind: "scalar", T: 8 /*ScalarType.BOOL*/ } - ]); - } - create(value?: PartialMessage): NixEvalRequest { - const message = globalThis.Object.create((this.messagePrototype!)); - message.expression = ""; - message.json = false; - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NixEvalRequest): NixEvalRequest { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case /* string expression */ 1: - message.expression = reader.string(); - break; - case /* bool json */ 2: - message.json = reader.bool(); - break; - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: NixEvalRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* string expression = 1; */ - if (message.expression !== "") - writer.tag(1, WireType.LengthDelimited).string(message.expression); - /* bool json = 2; */ - if (message.json !== false) - writer.tag(2, WireType.Varint).bool(message.json); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.NixEvalRequest - */ -export const NixEvalRequest = new NixEvalRequest$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class NixEvalResponse$Type extends MessageType { - constructor() { - super("stackpanel.agent.NixEvalResponse", [ - { no: 1, name: "result", kind: "scalar", T: 9 /*ScalarType.STRING*/ } - ]); - } - create(value?: PartialMessage): NixEvalResponse { - const message = globalThis.Object.create((this.messagePrototype!)); - message.result = ""; - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NixEvalResponse): NixEvalResponse { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case /* string result */ 1: - message.result = reader.string(); - break; - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: NixEvalResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* string result = 1; */ - if (message.result !== "") - writer.tag(1, WireType.LengthDelimited).string(message.result); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.NixEvalResponse - */ -export const NixEvalResponse = new NixEvalResponse$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class GetServicesStatusRequest$Type extends MessageType { - constructor() { - super("stackpanel.agent.GetServicesStatusRequest", []); - } - create(value?: PartialMessage): GetServicesStatusRequest { - const message = globalThis.Object.create((this.messagePrototype!)); - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetServicesStatusRequest): GetServicesStatusRequest { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: GetServicesStatusRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.GetServicesStatusRequest - */ -export const GetServicesStatusRequest = new GetServicesStatusRequest$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class GetServicesStatusResponse$Type extends MessageType { - constructor() { - super("stackpanel.agent.GetServicesStatusResponse", [ - { no: 1, name: "running", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, - { no: 2, name: "services", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ServiceStatus } - ]); - } - create(value?: PartialMessage): GetServicesStatusResponse { - const message = globalThis.Object.create((this.messagePrototype!)); - message.running = false; - message.services = []; - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetServicesStatusResponse): GetServicesStatusResponse { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case /* bool running */ 1: - message.running = reader.bool(); - break; - case /* repeated stackpanel.agent.ServiceStatus services */ 2: - message.services.push(ServiceStatus.internalBinaryRead(reader, reader.uint32(), options)); - break; - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: GetServicesStatusResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* bool running = 1; */ - if (message.running !== false) - writer.tag(1, WireType.Varint).bool(message.running); - /* repeated stackpanel.agent.ServiceStatus services = 2; */ - for (let i = 0; i < message.services.length; i++) - ServiceStatus.internalBinaryWrite(message.services[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join(); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.GetServicesStatusResponse - */ -export const GetServicesStatusResponse = new GetServicesStatusResponse$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class ServiceStatus$Type extends MessageType { - constructor() { - super("stackpanel.agent.ServiceStatus", [ - { no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 2, name: "status", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 3, name: "pid", kind: "scalar", T: 5 /*ScalarType.INT32*/ }, - { no: 4, name: "uptime", kind: "scalar", T: 3 /*ScalarType.INT64*/ } - ]); - } - create(value?: PartialMessage): ServiceStatus { - const message = globalThis.Object.create((this.messagePrototype!)); - message.name = ""; - message.status = ""; - message.pid = 0; - message.uptime = "0"; - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ServiceStatus): ServiceStatus { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case /* string name */ 1: - message.name = reader.string(); - break; - case /* string status */ 2: - message.status = reader.string(); - break; - case /* int32 pid */ 3: - message.pid = reader.int32(); - break; - case /* int64 uptime */ 4: - message.uptime = reader.int64().toString(); - break; - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: ServiceStatus, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* string name = 1; */ - if (message.name !== "") - writer.tag(1, WireType.LengthDelimited).string(message.name); - /* string status = 2; */ - if (message.status !== "") - writer.tag(2, WireType.LengthDelimited).string(message.status); - /* int32 pid = 3; */ - if (message.pid !== 0) - writer.tag(3, WireType.Varint).int32(message.pid); - /* int64 uptime = 4; */ - if (message.uptime !== "0") - writer.tag(4, WireType.Varint).int64(message.uptime); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.ServiceStatus - */ -export const ServiceStatus = new ServiceStatus$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class ServiceRequest$Type extends MessageType { - constructor() { - super("stackpanel.agent.ServiceRequest", [ - { no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ } - ]); - } - create(value?: PartialMessage): ServiceRequest { - const message = globalThis.Object.create((this.messagePrototype!)); - message.name = ""; - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ServiceRequest): ServiceRequest { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case /* string name */ 1: - message.name = reader.string(); - break; - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: ServiceRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* string name = 1; */ - if (message.name !== "") - writer.tag(1, WireType.LengthDelimited).string(message.name); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.ServiceRequest - */ -export const ServiceRequest = new ServiceRequest$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class ServiceResponse$Type extends MessageType { - constructor() { - super("stackpanel.agent.ServiceResponse", [ - { no: 1, name: "success", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, - { no: 2, name: "message", kind: "scalar", T: 9 /*ScalarType.STRING*/ } - ]); - } - create(value?: PartialMessage): ServiceResponse { - const message = globalThis.Object.create((this.messagePrototype!)); - message.success = false; - message.message = ""; - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ServiceResponse): ServiceResponse { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case /* bool success */ 1: - message.success = reader.bool(); - break; - case /* string message */ 2: - message.message = reader.string(); - break; - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: ServiceResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* bool success = 1; */ - if (message.success !== false) - writer.tag(1, WireType.Varint).bool(message.success); - /* string message = 2; */ - if (message.message !== "") - writer.tag(2, WireType.LengthDelimited).string(message.message); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.ServiceResponse - */ -export const ServiceResponse = new ServiceResponse$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class GetSSTStatusRequest$Type extends MessageType { - constructor() { - super("stackpanel.agent.GetSSTStatusRequest", []); - } - create(value?: PartialMessage): GetSSTStatusRequest { - const message = globalThis.Object.create((this.messagePrototype!)); - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetSSTStatusRequest): GetSSTStatusRequest { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: GetSSTStatusRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.GetSSTStatusRequest - */ -export const GetSSTStatusRequest = new GetSSTStatusRequest$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class SSTStatusResponse$Type extends MessageType { - constructor() { - super("stackpanel.agent.SSTStatusResponse", [ - { no: 1, name: "configured", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, - { no: 2, name: "config_path", kind: "scalar", localName: "config_path", T: 9 /*ScalarType.STRING*/ }, - { no: 3, name: "config_valid", kind: "scalar", localName: "config_valid", T: 8 /*ScalarType.BOOL*/ }, - { no: 4, name: "deployed", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, - { no: 5, name: "stage", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 6, name: "last_deploy", kind: "scalar", localName: "last_deploy", T: 9 /*ScalarType.STRING*/ }, - { no: 7, name: "error", kind: "scalar", T: 9 /*ScalarType.STRING*/ } - ]); - } - create(value?: PartialMessage): SSTStatusResponse { - const message = globalThis.Object.create((this.messagePrototype!)); - message.configured = false; - message.config_path = ""; - message.config_valid = false; - message.deployed = false; - message.stage = ""; - message.last_deploy = ""; - message.error = ""; - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SSTStatusResponse): SSTStatusResponse { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case /* bool configured */ 1: - message.configured = reader.bool(); - break; - case /* string config_path */ 2: - message.config_path = reader.string(); - break; - case /* bool config_valid */ 3: - message.config_valid = reader.bool(); - break; - case /* bool deployed */ 4: - message.deployed = reader.bool(); - break; - case /* string stage */ 5: - message.stage = reader.string(); - break; - case /* string last_deploy */ 6: - message.last_deploy = reader.string(); - break; - case /* string error */ 7: - message.error = reader.string(); - break; - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: SSTStatusResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* bool configured = 1; */ - if (message.configured !== false) - writer.tag(1, WireType.Varint).bool(message.configured); - /* string config_path = 2; */ - if (message.config_path !== "") - writer.tag(2, WireType.LengthDelimited).string(message.config_path); - /* bool config_valid = 3; */ - if (message.config_valid !== false) - writer.tag(3, WireType.Varint).bool(message.config_valid); - /* bool deployed = 4; */ - if (message.deployed !== false) - writer.tag(4, WireType.Varint).bool(message.deployed); - /* string stage = 5; */ - if (message.stage !== "") - writer.tag(5, WireType.LengthDelimited).string(message.stage); - /* string last_deploy = 6; */ - if (message.last_deploy !== "") - writer.tag(6, WireType.LengthDelimited).string(message.last_deploy); - /* string error = 7; */ - if (message.error !== "") - writer.tag(7, WireType.LengthDelimited).string(message.error); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.SSTStatusResponse - */ -export const SSTStatusResponse = new SSTStatusResponse$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class GetSSTConfigRequest$Type extends MessageType { - constructor() { - super("stackpanel.agent.GetSSTConfigRequest", []); - } - create(value?: PartialMessage): GetSSTConfigRequest { - const message = globalThis.Object.create((this.messagePrototype!)); - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetSSTConfigRequest): GetSSTConfigRequest { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: GetSSTConfigRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.GetSSTConfigRequest - */ -export const GetSSTConfigRequest = new GetSSTConfigRequest$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class DeploySSTRequest$Type extends MessageType { - constructor() { - super("stackpanel.agent.DeploySSTRequest", [ - { no: 1, name: "stage", kind: "scalar", T: 9 /*ScalarType.STRING*/ } - ]); - } - create(value?: PartialMessage): DeploySSTRequest { - const message = globalThis.Object.create((this.messagePrototype!)); - message.stage = ""; - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeploySSTRequest): DeploySSTRequest { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case /* string stage */ 1: - message.stage = reader.string(); - break; - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: DeploySSTRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* string stage = 1; */ - if (message.stage !== "") - writer.tag(1, WireType.LengthDelimited).string(message.stage); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } + */ + exit_code: number; + /** + * Error message (for type="error") + * + * @generated from protobuf field: string error = 4 + */ + error: string; + /** + * Timestamp + * + * @generated from protobuf field: string timestamp = 5 + */ + timestamp: string; } -/** - * @generated MessageType for protobuf message stackpanel.agent.DeploySSTRequest - */ -export const DeploySSTRequest = new DeploySSTRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods -class DeploySSTResponse$Type extends MessageType { +class GetProjectRequest$Type extends MessageType { constructor() { - super("stackpanel.agent.DeploySSTResponse", [ - { no: 1, name: "success", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, - { no: 2, name: "output", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 3, name: "error", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 4, name: "outputs", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "scalar", T: 9 /*ScalarType.STRING*/ } } - ]); + super("stackpanel.agent.GetProjectRequest", []); } - create(value?: PartialMessage): DeploySSTResponse { + create(value?: PartialMessage): GetProjectRequest { const message = globalThis.Object.create((this.messagePrototype!)); - message.success = false; - message.output = ""; - message.error = ""; - message.outputs = {}; if (value !== undefined) - reflectionMergePartial(this, message, value); + reflectionMergePartial(this, message, value); return message; } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeploySSTResponse): DeploySSTResponse { + internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetProjectRequest): GetProjectRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { - case /* bool success */ 1: - message.success = reader.bool(); - break; - case /* string output */ 2: - message.output = reader.string(); - break; - case /* string error */ 3: - message.error = reader.string(); - break; - case /* map outputs */ 4: - this.binaryReadMap4(message.outputs, reader, options); - break; default: let u = options.readUnknownField; if (u === "throw") @@ -3256,35 +490,7 @@ class DeploySSTResponse$Type extends MessageType { } return message; } - private binaryReadMap4(map: DeploySSTResponse["outputs"], reader: IBinaryReader, options: BinaryReadOptions): void { - let len = reader.uint32(), end = reader.pos + len, key: keyof DeploySSTResponse["outputs"] | undefined, val: DeploySSTResponse["outputs"][any] | undefined; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case 1: - key = reader.string(); - break; - case 2: - val = reader.string(); - break; - default: throw new globalThis.Error("unknown map entry field for stackpanel.agent.DeploySSTResponse.outputs"); - } - } - map[key ?? ""] = val ?? ""; - } - internalBinaryWrite(message: DeploySSTResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* bool success = 1; */ - if (message.success !== false) - writer.tag(1, WireType.Varint).bool(message.success); - /* string output = 2; */ - if (message.output !== "") - writer.tag(2, WireType.LengthDelimited).string(message.output); - /* string error = 3; */ - if (message.error !== "") - writer.tag(3, WireType.LengthDelimited).string(message.error); - /* map outputs = 4; */ - for (let k of globalThis.Object.keys(message.outputs)) - writer.tag(4, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k).tag(2, WireType.LengthDelimited).string(message.outputs[k]).join(); + internalBinaryWrite(message: GetProjectRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); @@ -3292,30 +498,29 @@ class DeploySSTResponse$Type extends MessageType { } } /** - * @generated MessageType for protobuf message stackpanel.agent.DeploySSTResponse + * @generated MessageType for protobuf message stackpanel.agent.GetProjectRequest */ -export const DeploySSTResponse = new DeploySSTResponse$Type(); +export const GetProjectRequest = new GetProjectRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods -class RemoveSSTRequest$Type extends MessageType { +class GetProjectResponse$Type extends MessageType { constructor() { - super("stackpanel.agent.RemoveSSTRequest", [ - { no: 1, name: "stage", kind: "scalar", T: 9 /*ScalarType.STRING*/ } + super("stackpanel.agent.GetProjectResponse", [ + { no: 1, name: "project", kind: "message", T: () => Project } ]); } - create(value?: PartialMessage): RemoveSSTRequest { + create(value?: PartialMessage): GetProjectResponse { const message = globalThis.Object.create((this.messagePrototype!)); - message.stage = ""; if (value !== undefined) - reflectionMergePartial(this, message, value); + reflectionMergePartial(this, message, value); return message; } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RemoveSSTRequest): RemoveSSTRequest { + internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetProjectResponse): GetProjectResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { - case /* string stage */ 1: - message.stage = reader.string(); + case /* stackpanel.agent.Project project */ 1: + message.project = Project.internalBinaryRead(reader, reader.uint32(), options, message.project); break; default: let u = options.readUnknownField; @@ -3328,10 +533,10 @@ class RemoveSSTRequest$Type extends MessageType { } return message; } - internalBinaryWrite(message: RemoveSSTRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* string stage = 1; */ - if (message.stage !== "") - writer.tag(1, WireType.LengthDelimited).string(message.stage); + internalBinaryWrite(message: GetProjectResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { + /* stackpanel.agent.Project project = 1; */ + if (message.project) + Project.internalBinaryWrite(message.project, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); @@ -3339,40 +544,44 @@ class RemoveSSTRequest$Type extends MessageType { } } /** - * @generated MessageType for protobuf message stackpanel.agent.RemoveSSTRequest + * @generated MessageType for protobuf message stackpanel.agent.GetProjectResponse */ -export const RemoveSSTRequest = new RemoveSSTRequest$Type(); +export const GetProjectResponse = new GetProjectResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods -class RemoveSSTResponse$Type extends MessageType { +class Project$Type extends MessageType { constructor() { - super("stackpanel.agent.RemoveSSTResponse", [ - { no: 1, name: "success", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, - { no: 2, name: "output", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 3, name: "error", kind: "scalar", T: 9 /*ScalarType.STRING*/ } + super("stackpanel.agent.Project", [ + { no: 1, name: "path", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, + { no: 2, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, + { no: 3, name: "github", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, + { no: 4, name: "dirs", kind: "message", T: () => Directories } ]); } - create(value?: PartialMessage): RemoveSSTResponse { + create(value?: PartialMessage): Project { const message = globalThis.Object.create((this.messagePrototype!)); - message.success = false; - message.output = ""; - message.error = ""; + message.path = ""; + message.name = ""; + message.github = ""; if (value !== undefined) - reflectionMergePartial(this, message, value); + reflectionMergePartial(this, message, value); return message; } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RemoveSSTResponse): RemoveSSTResponse { + internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Project): Project { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { - case /* bool success */ 1: - message.success = reader.bool(); + case /* string path */ 1: + message.path = reader.string(); break; - case /* string output */ 2: - message.output = reader.string(); + case /* string name */ 2: + message.name = reader.string(); break; - case /* string error */ 3: - message.error = reader.string(); + case /* string github */ 3: + message.github = reader.string(); + break; + case /* stackpanel.agent.Directories dirs */ 4: + message.dirs = Directories.internalBinaryRead(reader, reader.uint32(), options, message.dirs); break; default: let u = options.readUnknownField; @@ -3385,54 +594,19 @@ class RemoveSSTResponse$Type extends MessageType { } return message; } - internalBinaryWrite(message: RemoveSSTResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* bool success = 1; */ - if (message.success !== false) - writer.tag(1, WireType.Varint).bool(message.success); - /* string output = 2; */ - if (message.output !== "") - writer.tag(2, WireType.LengthDelimited).string(message.output); - /* string error = 3; */ - if (message.error !== "") - writer.tag(3, WireType.LengthDelimited).string(message.error); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.RemoveSSTResponse - */ -export const RemoveSSTResponse = new RemoveSSTResponse$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class GetSSTOutputsRequest$Type extends MessageType { - constructor() { - super("stackpanel.agent.GetSSTOutputsRequest", []); - } - create(value?: PartialMessage): GetSSTOutputsRequest { - const message = globalThis.Object.create((this.messagePrototype!)); - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetSSTOutputsRequest): GetSSTOutputsRequest { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: GetSSTOutputsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { + internalBinaryWrite(message: Project, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { + /* string path = 1; */ + if (message.path !== "") + writer.tag(1, WireType.LengthDelimited).string(message.path); + /* string name = 2; */ + if (message.name !== "") + writer.tag(2, WireType.LengthDelimited).string(message.name); + /* string github = 3; */ + if (message.github !== "") + writer.tag(3, WireType.LengthDelimited).string(message.github); + /* stackpanel.agent.Directories dirs = 4; */ + if (message.dirs) + Directories.internalBinaryWrite(message.dirs, writer.tag(4, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); @@ -3440,30 +614,50 @@ class GetSSTOutputsRequest$Type extends MessageType { } } /** - * @generated MessageType for protobuf message stackpanel.agent.GetSSTOutputsRequest + * @generated MessageType for protobuf message stackpanel.agent.Project */ -export const GetSSTOutputsRequest = new GetSSTOutputsRequest$Type(); +export const Project = new Project$Type(); // @generated message type with reflection information, may provide speed optimized methods -class SSTOutputsResponse$Type extends MessageType { +class Directories$Type extends MessageType { constructor() { - super("stackpanel.agent.SSTOutputsResponse", [ - { no: 1, name: "outputs", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "scalar", T: 9 /*ScalarType.STRING*/ } } + super("stackpanel.agent.Directories", [ + { no: 1, name: "home", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, + { no: 2, name: "data", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, + { no: 3, name: "gen", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, + { no: 4, name: "state", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, + { no: 5, name: "secrets", kind: "scalar", T: 9 /*ScalarType.STRING*/ } ]); } - create(value?: PartialMessage): SSTOutputsResponse { + create(value?: PartialMessage): Directories { const message = globalThis.Object.create((this.messagePrototype!)); - message.outputs = {}; + message.home = ""; + message.data = ""; + message.gen = ""; + message.state = ""; + message.secrets = ""; if (value !== undefined) - reflectionMergePartial(this, message, value); + reflectionMergePartial(this, message, value); return message; } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SSTOutputsResponse): SSTOutputsResponse { + internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Directories): Directories { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { - case /* map outputs */ 1: - this.binaryReadMap1(message.outputs, reader, options); + case /* string home */ 1: + message.home = reader.string(); + break; + case /* string data */ 2: + message.data = reader.string(); + break; + case /* string gen */ 3: + message.gen = reader.string(); + break; + case /* string state */ 4: + message.state = reader.string(); + break; + case /* string secrets */ 5: + message.secrets = reader.string(); break; default: let u = options.readUnknownField; @@ -3476,26 +670,22 @@ class SSTOutputsResponse$Type extends MessageType { } return message; } - private binaryReadMap1(map: SSTOutputsResponse["outputs"], reader: IBinaryReader, options: BinaryReadOptions): void { - let len = reader.uint32(), end = reader.pos + len, key: keyof SSTOutputsResponse["outputs"] | undefined, val: SSTOutputsResponse["outputs"][any] | undefined; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case 1: - key = reader.string(); - break; - case 2: - val = reader.string(); - break; - default: throw new globalThis.Error("unknown map entry field for stackpanel.agent.SSTOutputsResponse.outputs"); - } - } - map[key ?? ""] = val ?? ""; - } - internalBinaryWrite(message: SSTOutputsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* map outputs = 1; */ - for (let k of globalThis.Object.keys(message.outputs)) - writer.tag(1, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k).tag(2, WireType.LengthDelimited).string(message.outputs[k]).join(); + internalBinaryWrite(message: Directories, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { + /* string home = 1; */ + if (message.home !== "") + writer.tag(1, WireType.LengthDelimited).string(message.home); + /* string data = 2; */ + if (message.data !== "") + writer.tag(2, WireType.LengthDelimited).string(message.data); + /* string gen = 3; */ + if (message.gen !== "") + writer.tag(3, WireType.LengthDelimited).string(message.gen); + /* string state = 4; */ + if (message.state !== "") + writer.tag(4, WireType.LengthDelimited).string(message.state); + /* string secrets = 5; */ + if (message.secrets !== "") + writer.tag(5, WireType.LengthDelimited).string(message.secrets); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); @@ -3503,21 +693,21 @@ class SSTOutputsResponse$Type extends MessageType { } } /** - * @generated MessageType for protobuf message stackpanel.agent.SSTOutputsResponse + * @generated MessageType for protobuf message stackpanel.agent.Directories */ -export const SSTOutputsResponse = new SSTOutputsResponse$Type(); +export const Directories = new Directories$Type(); // @generated message type with reflection information, may provide speed optimized methods -class GetSSTResourcesRequest$Type extends MessageType { +class GetSecretsRequest$Type extends MessageType { constructor() { - super("stackpanel.agent.GetSSTResourcesRequest", []); + super("stackpanel.agent.GetSecretsRequest", []); } - create(value?: PartialMessage): GetSSTResourcesRequest { + create(value?: PartialMessage): GetSecretsRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) - reflectionMergePartial(this, message, value); + reflectionMergePartial(this, message, value); return message; } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetSSTResourcesRequest): GetSSTResourcesRequest { + internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetSecretsRequest): GetSecretsRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); @@ -3533,7 +723,7 @@ class GetSSTResourcesRequest$Type extends MessageType { } return message; } - internalBinaryWrite(message: GetSSTResourcesRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { + internalBinaryWrite(message: GetSecretsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); @@ -3541,41 +731,25 @@ class GetSSTResourcesRequest$Type extends MessageType { } } /** - * @generated MessageType for protobuf message stackpanel.agent.GetSSTResourcesRequest + * @generated MessageType for protobuf message stackpanel.agent.GetSecretsRequest */ -export const GetSSTResourcesRequest = new GetSSTResourcesRequest$Type(); +export const GetSecretsRequest = new GetSecretsRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods -class SSTResource$Type extends MessageType { +class GetUsersRequest$Type extends MessageType { constructor() { - super("stackpanel.agent.SSTResource", [ - { no: 1, name: "type", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 2, name: "urn", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 3, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ } - ]); + super("stackpanel.agent.GetUsersRequest", []); } - create(value?: PartialMessage): SSTResource { + create(value?: PartialMessage): GetUsersRequest { const message = globalThis.Object.create((this.messagePrototype!)); - message.type = ""; - message.urn = ""; - message.id = ""; if (value !== undefined) - reflectionMergePartial(this, message, value); + reflectionMergePartial(this, message, value); return message; } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SSTResource): SSTResource { + internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetUsersRequest): GetUsersRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { - case /* string type */ 1: - message.type = reader.string(); - break; - case /* string urn */ 2: - message.urn = reader.string(); - break; - case /* string id */ 3: - message.id = reader.string(); - break; default: let u = options.readUnknownField; if (u === "throw") @@ -3587,16 +761,7 @@ class SSTResource$Type extends MessageType { } return message; } - internalBinaryWrite(message: SSTResource, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* string type = 1; */ - if (message.type !== "") - writer.tag(1, WireType.LengthDelimited).string(message.type); - /* string urn = 2; */ - if (message.urn !== "") - writer.tag(2, WireType.LengthDelimited).string(message.urn); - /* string id = 3; */ - if (message.id !== "") - writer.tag(3, WireType.LengthDelimited).string(message.id); + internalBinaryWrite(message: GetUsersRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); @@ -3604,31 +769,25 @@ class SSTResource$Type extends MessageType { } } /** - * @generated MessageType for protobuf message stackpanel.agent.SSTResource + * @generated MessageType for protobuf message stackpanel.agent.GetUsersRequest */ -export const SSTResource = new SSTResource$Type(); +export const GetUsersRequest = new GetUsersRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods -class SSTResourcesResponse$Type extends MessageType { +class GetAppsRequest$Type extends MessageType { constructor() { - super("stackpanel.agent.SSTResourcesResponse", [ - { no: 1, name: "resources", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SSTResource } - ]); + super("stackpanel.agent.GetAppsRequest", []); } - create(value?: PartialMessage): SSTResourcesResponse { + create(value?: PartialMessage): GetAppsRequest { const message = globalThis.Object.create((this.messagePrototype!)); - message.resources = []; if (value !== undefined) - reflectionMergePartial(this, message, value); + reflectionMergePartial(this, message, value); return message; } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SSTResourcesResponse): SSTResourcesResponse { + internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetAppsRequest): GetAppsRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { - case /* repeated stackpanel.agent.SSTResource resources */ 1: - message.resources.push(SSTResource.internalBinaryRead(reader, reader.uint32(), options)); - break; default: let u = options.readUnknownField; if (u === "throw") @@ -3640,10 +799,7 @@ class SSTResourcesResponse$Type extends MessageType { } return message; } - internalBinaryWrite(message: SSTResourcesResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* repeated stackpanel.agent.SSTResource resources = 1; */ - for (let i = 0; i < message.resources.length; i++) - SSTResource.internalBinaryWrite(message.resources[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join(); + internalBinaryWrite(message: GetAppsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); @@ -3651,36 +807,25 @@ class SSTResourcesResponse$Type extends MessageType { } } /** - * @generated MessageType for protobuf message stackpanel.agent.SSTResourcesResponse + * @generated MessageType for protobuf message stackpanel.agent.GetAppsRequest */ -export const SSTResourcesResponse = new SSTResourcesResponse$Type(); +export const GetAppsRequest = new GetAppsRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods -class SearchNixpkgsRequest$Type extends MessageType { +class GetVariablesRequest$Type extends MessageType { constructor() { - super("stackpanel.agent.SearchNixpkgsRequest", [ - { no: 1, name: "query", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 2, name: "limit", kind: "scalar", T: 5 /*ScalarType.INT32*/ } - ]); + super("stackpanel.agent.GetVariablesRequest", []); } - create(value?: PartialMessage): SearchNixpkgsRequest { + create(value?: PartialMessage): GetVariablesRequest { const message = globalThis.Object.create((this.messagePrototype!)); - message.query = ""; - message.limit = 0; if (value !== undefined) - reflectionMergePartial(this, message, value); + reflectionMergePartial(this, message, value); return message; } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SearchNixpkgsRequest): SearchNixpkgsRequest { + internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetVariablesRequest): GetVariablesRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { - case /* string query */ 1: - message.query = reader.string(); - break; - case /* int32 limit */ 2: - message.limit = reader.int32(); - break; default: let u = options.readUnknownField; if (u === "throw") @@ -3692,13 +837,7 @@ class SearchNixpkgsRequest$Type extends MessageType { } return message; } - internalBinaryWrite(message: SearchNixpkgsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* string query = 1; */ - if (message.query !== "") - writer.tag(1, WireType.LengthDelimited).string(message.query); - /* int32 limit = 2; */ - if (message.limit !== 0) - writer.tag(2, WireType.Varint).int32(message.limit); + internalBinaryWrite(message: GetVariablesRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); @@ -3706,65 +845,45 @@ class SearchNixpkgsRequest$Type extends MessageType { } } /** - * @generated MessageType for protobuf message stackpanel.agent.SearchNixpkgsRequest + * @generated MessageType for protobuf message stackpanel.agent.GetVariablesRequest */ -export const SearchNixpkgsRequest = new SearchNixpkgsRequest$Type(); +export const GetVariablesRequest = new GetVariablesRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods -class NixpkgsPackage$Type extends MessageType { +class ExecRequest$Type extends MessageType { constructor() { - super("stackpanel.agent.NixpkgsPackage", [ - { no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 2, name: "attr_path", kind: "scalar", localName: "attr_path", T: 9 /*ScalarType.STRING*/ }, - { no: 3, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 4, name: "description", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 5, name: "installed", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, - { no: 6, name: "license", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 7, name: "homepage", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 8, name: "nixpkgs_url", kind: "scalar", localName: "nixpkgs_url", T: 9 /*ScalarType.STRING*/ } + super("stackpanel.agent.ExecRequest", [ + { no: 1, name: "command", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, + { no: 2, name: "args", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }, + { no: 3, name: "cwd", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, + { no: 4, name: "env", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "scalar", T: 9 /*ScalarType.STRING*/ } } ]); } - create(value?: PartialMessage): NixpkgsPackage { + create(value?: PartialMessage): ExecRequest { const message = globalThis.Object.create((this.messagePrototype!)); - message.name = ""; - message.attr_path = ""; - message.version = ""; - message.description = ""; - message.installed = false; - message.license = ""; - message.homepage = ""; - message.nixpkgs_url = ""; + message.command = ""; + message.args = []; + message.cwd = ""; + message.env = {}; if (value !== undefined) - reflectionMergePartial(this, message, value); + reflectionMergePartial(this, message, value); return message; } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NixpkgsPackage): NixpkgsPackage { + internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecRequest): ExecRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { - case /* string name */ 1: - message.name = reader.string(); - break; - case /* string attr_path */ 2: - message.attr_path = reader.string(); - break; - case /* string version */ 3: - message.version = reader.string(); - break; - case /* string description */ 4: - message.description = reader.string(); - break; - case /* bool installed */ 5: - message.installed = reader.bool(); + case /* string command */ 1: + message.command = reader.string(); break; - case /* string license */ 6: - message.license = reader.string(); + case /* repeated string args */ 2: + message.args.push(reader.string()); break; - case /* string homepage */ 7: - message.homepage = reader.string(); + case /* string cwd */ 3: + message.cwd = reader.string(); break; - case /* string nixpkgs_url */ 8: - message.nixpkgs_url = reader.string(); + case /* map env */ 4: + this.binaryReadMap4(message.env, reader, options); break; default: let u = options.readUnknownField; @@ -3777,31 +896,35 @@ class NixpkgsPackage$Type extends MessageType { } return message; } - internalBinaryWrite(message: NixpkgsPackage, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* string name = 1; */ - if (message.name !== "") - writer.tag(1, WireType.LengthDelimited).string(message.name); - /* string attr_path = 2; */ - if (message.attr_path !== "") - writer.tag(2, WireType.LengthDelimited).string(message.attr_path); - /* string version = 3; */ - if (message.version !== "") - writer.tag(3, WireType.LengthDelimited).string(message.version); - /* string description = 4; */ - if (message.description !== "") - writer.tag(4, WireType.LengthDelimited).string(message.description); - /* bool installed = 5; */ - if (message.installed !== false) - writer.tag(5, WireType.Varint).bool(message.installed); - /* string license = 6; */ - if (message.license !== "") - writer.tag(6, WireType.LengthDelimited).string(message.license); - /* string homepage = 7; */ - if (message.homepage !== "") - writer.tag(7, WireType.LengthDelimited).string(message.homepage); - /* string nixpkgs_url = 8; */ - if (message.nixpkgs_url !== "") - writer.tag(8, WireType.LengthDelimited).string(message.nixpkgs_url); + private binaryReadMap4(map: ExecRequest["env"], reader: IBinaryReader, options: BinaryReadOptions): void { + let len = reader.uint32(), end = reader.pos + len, key: keyof ExecRequest["env"] | undefined, val: ExecRequest["env"][any] | undefined; + while (reader.pos < end) { + let [fieldNo, wireType] = reader.tag(); + switch (fieldNo) { + case 1: + key = reader.string(); + break; + case 2: + val = reader.string(); + break; + default: throw new globalThis.Error("unknown map entry field for stackpanel.agent.ExecRequest.env"); + } + } + map[key ?? ""] = val ?? ""; + } + internalBinaryWrite(message: ExecRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { + /* string command = 1; */ + if (message.command !== "") + writer.tag(1, WireType.LengthDelimited).string(message.command); + /* repeated string args = 2; */ + for (let i = 0; i < message.args.length; i++) + writer.tag(2, WireType.LengthDelimited).string(message.args[i]); + /* string cwd = 3; */ + if (message.cwd !== "") + writer.tag(3, WireType.LengthDelimited).string(message.cwd); + /* map env = 4; */ + for (let k of globalThis.Object.keys(message.env)) + writer.tag(4, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k).tag(2, WireType.LengthDelimited).string(message.env[k]).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); @@ -3809,30 +932,40 @@ class NixpkgsPackage$Type extends MessageType { } } /** - * @generated MessageType for protobuf message stackpanel.agent.NixpkgsPackage + * @generated MessageType for protobuf message stackpanel.agent.ExecRequest */ -export const NixpkgsPackage = new NixpkgsPackage$Type(); +export const ExecRequest = new ExecRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods -class SearchNixpkgsResponse$Type extends MessageType { +class ExecResponse$Type extends MessageType { constructor() { - super("stackpanel.agent.SearchNixpkgsResponse", [ - { no: 1, name: "packages", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => NixpkgsPackage } + super("stackpanel.agent.ExecResponse", [ + { no: 1, name: "exit_code", kind: "scalar", localName: "exit_code", T: 5 /*ScalarType.INT32*/ }, + { no: 2, name: "stdout", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, + { no: 3, name: "stderr", kind: "scalar", T: 9 /*ScalarType.STRING*/ } ]); } - create(value?: PartialMessage): SearchNixpkgsResponse { + create(value?: PartialMessage): ExecResponse { const message = globalThis.Object.create((this.messagePrototype!)); - message.packages = []; + message.exit_code = 0; + message.stdout = ""; + message.stderr = ""; if (value !== undefined) - reflectionMergePartial(this, message, value); + reflectionMergePartial(this, message, value); return message; } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SearchNixpkgsResponse): SearchNixpkgsResponse { + internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecResponse): ExecResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { - case /* repeated stackpanel.agent.NixpkgsPackage packages */ 1: - message.packages.push(NixpkgsPackage.internalBinaryRead(reader, reader.uint32(), options)); + case /* int32 exit_code */ 1: + message.exit_code = reader.int32(); + break; + case /* string stdout */ 2: + message.stdout = reader.string(); + break; + case /* string stderr */ 3: + message.stderr = reader.string(); break; default: let u = options.readUnknownField; @@ -3845,10 +978,16 @@ class SearchNixpkgsResponse$Type extends MessageType { } return message; } - internalBinaryWrite(message: SearchNixpkgsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* repeated stackpanel.agent.NixpkgsPackage packages = 1; */ - for (let i = 0; i < message.packages.length; i++) - NixpkgsPackage.internalBinaryWrite(message.packages[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join(); + internalBinaryWrite(message: ExecResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { + /* int32 exit_code = 1; */ + if (message.exit_code !== 0) + writer.tag(1, WireType.Varint).int32(message.exit_code); + /* string stdout = 2; */ + if (message.stdout !== "") + writer.tag(2, WireType.LengthDelimited).string(message.stdout); + /* string stderr = 3; */ + if (message.stderr !== "") + writer.tag(3, WireType.LengthDelimited).string(message.stderr); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); @@ -3856,9 +995,9 @@ class SearchNixpkgsResponse$Type extends MessageType { } } /** - * @generated MessageType for protobuf message stackpanel.agent.SearchNixpkgsResponse + * @generated MessageType for protobuf message stackpanel.agent.ExecResponse */ -export const SearchNixpkgsResponse = new SearchNixpkgsResponse$Type(); +export const ExecResponse = new ExecResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class GetInstalledPackagesRequest$Type extends MessageType { constructor() { @@ -4236,178 +1375,6 @@ class GetProcessesResponse$Type extends MessageType { */ export const GetProcessesResponse = new GetProcessesResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods -class GetHealthchecksRequest$Type extends MessageType { - constructor() { - super("stackpanel.agent.GetHealthchecksRequest", []); - } - create(value?: PartialMessage): GetHealthchecksRequest { - const message = globalThis.Object.create((this.messagePrototype!)); - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetHealthchecksRequest): GetHealthchecksRequest { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: GetHealthchecksRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.GetHealthchecksRequest - */ -export const GetHealthchecksRequest = new GetHealthchecksRequest$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class HealthcheckInfo$Type extends MessageType { - constructor() { - super("stackpanel.agent.HealthcheckInfo", [ - { no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 2, name: "type", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 3, name: "healthy", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, - { no: 4, name: "message", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, - { no: 5, name: "details", kind: "scalar", T: 9 /*ScalarType.STRING*/ } - ]); - } - create(value?: PartialMessage): HealthcheckInfo { - const message = globalThis.Object.create((this.messagePrototype!)); - message.name = ""; - message.type = ""; - message.healthy = false; - message.message = ""; - message.details = ""; - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: HealthcheckInfo): HealthcheckInfo { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case /* string name */ 1: - message.name = reader.string(); - break; - case /* string type */ 2: - message.type = reader.string(); - break; - case /* bool healthy */ 3: - message.healthy = reader.bool(); - break; - case /* string message */ 4: - message.message = reader.string(); - break; - case /* string details */ 5: - message.details = reader.string(); - break; - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: HealthcheckInfo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* string name = 1; */ - if (message.name !== "") - writer.tag(1, WireType.LengthDelimited).string(message.name); - /* string type = 2; */ - if (message.type !== "") - writer.tag(2, WireType.LengthDelimited).string(message.type); - /* bool healthy = 3; */ - if (message.healthy !== false) - writer.tag(3, WireType.Varint).bool(message.healthy); - /* string message = 4; */ - if (message.message !== "") - writer.tag(4, WireType.LengthDelimited).string(message.message); - /* string details = 5; */ - if (message.details !== "") - writer.tag(5, WireType.LengthDelimited).string(message.details); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.HealthcheckInfo - */ -export const HealthcheckInfo = new HealthcheckInfo$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class HealthchecksResponse$Type extends MessageType { - constructor() { - super("stackpanel.agent.HealthchecksResponse", [ - { no: 1, name: "all_healthy", kind: "scalar", localName: "all_healthy", T: 8 /*ScalarType.BOOL*/ }, - { no: 2, name: "checks", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => HealthcheckInfo } - ]); - } - create(value?: PartialMessage): HealthchecksResponse { - const message = globalThis.Object.create((this.messagePrototype!)); - message.all_healthy = false; - message.checks = []; - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: HealthchecksResponse): HealthchecksResponse { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case /* bool all_healthy */ 1: - message.all_healthy = reader.bool(); - break; - case /* repeated stackpanel.agent.HealthcheckInfo checks */ 2: - message.checks.push(HealthcheckInfo.internalBinaryRead(reader, reader.uint32(), options)); - break; - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: HealthchecksResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* bool all_healthy = 1; */ - if (message.all_healthy !== false) - writer.tag(1, WireType.Varint).bool(message.all_healthy); - /* repeated stackpanel.agent.HealthcheckInfo checks = 2; */ - for (let i = 0; i < message.checks.length; i++) - HealthcheckInfo.internalBinaryWrite(message.checks[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join(); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.HealthchecksResponse - */ -export const HealthchecksResponse = new HealthchecksResponse$Type(); -// @generated message type with reflection information, may provide speed optimized methods class PatchNixDataRequest$Type extends MessageType { constructor() { super("stackpanel.agent.PatchNixDataRequest", [ @@ -4597,44 +1564,6 @@ class GetNixConfigRequest$Type extends MessageType { */ export const GetNixConfigRequest = new GetNixConfigRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods -class RefreshNixConfigRequest$Type extends MessageType { - constructor() { - super("stackpanel.agent.RefreshNixConfigRequest", []); - } - create(value?: PartialMessage): RefreshNixConfigRequest { - const message = globalThis.Object.create((this.messagePrototype!)); - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RefreshNixConfigRequest): RefreshNixConfigRequest { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: RefreshNixConfigRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message stackpanel.agent.RefreshNixConfigRequest - */ -export const RefreshNixConfigRequest = new RefreshNixConfigRequest$Type(); -// @generated message type with reflection information, may provide speed optimized methods class NixConfigResponse$Type extends MessageType { constructor() { super("stackpanel.agent.NixConfigResponse", [ @@ -4953,51 +1882,16 @@ export const RebuildShellEvent = new RebuildShellEvent$Type(); */ export const AgentService = new ServiceType("stackpanel.agent.AgentService", [ { name: "GetProject", options: {}, I: GetProjectRequest, O: GetProjectResponse }, - { name: "GetConfig", options: {}, I: GetConfigRequest, O: Config }, - { name: "SetConfig", options: {}, I: Config, O: Config }, { name: "GetSecrets", options: {}, I: GetSecretsRequest, O: Secrets }, - { name: "SetSecrets", options: {}, I: Secrets, O: Secrets }, { name: "GetUsers", options: {}, I: GetUsersRequest, O: Users }, - { name: "SetUsers", options: {}, I: Users, O: Users }, - { name: "GetAws", options: {}, I: GetAwsRequest, O: Aws }, - { name: "SetAws", options: {}, I: Aws, O: Aws }, { name: "GetApps", options: {}, I: GetAppsRequest, O: Apps }, - { name: "SetApps", options: {}, I: Apps, O: Apps }, { name: "GetVariables", options: {}, I: GetVariablesRequest, O: Variables }, - { name: "SetVariables", options: {}, I: Variables, O: Variables }, - { name: "GetModules", options: {}, I: GetModulesRequest, O: Modules }, - { name: "GetModule", options: {}, I: GetModuleRequest, O: Module }, { name: "GetModuleOutputs", options: {}, I: GetModuleOutputsRequest, O: ModuleOutputs }, - { name: "EnableModule", options: {}, I: EnableModuleRequest, O: ModuleResponse }, - { name: "DisableModule", options: {}, I: DisableModuleRequest, O: ModuleResponse }, - { name: "UpdateModuleSettings", options: {}, I: UpdateModuleSettingsRequest, O: ModuleResponse }, - { name: "GetAgeIdentity", options: {}, I: GetAgeIdentityRequest, O: AgeIdentityResponse }, - { name: "SetAgeIdentity", options: {}, I: SetAgeIdentityRequest, O: AgeIdentityResponse }, - { name: "GetKMSConfig", options: {}, I: GetKMSConfigRequest, O: KMSConfigResponse }, - { name: "SetKMSConfig", options: {}, I: SetKMSConfigRequest, O: KMSConfigResponse }, - { name: "ReadFile", options: {}, I: ReadFileRequest, O: ReadFileResponse }, - { name: "WriteFile", options: {}, I: WriteFileRequest, O: WriteFileResponse }, - { name: "ListFiles", options: {}, I: ListFilesRequest, O: ListFilesResponse }, { name: "Exec", options: {}, I: ExecRequest, O: ExecResponse }, - { name: "NixGenerate", options: {}, I: NixGenerateRequest, O: NixGenerateResponse }, - { name: "NixEval", options: {}, I: NixEvalRequest, O: NixEvalResponse }, - { name: "GetServicesStatus", options: {}, I: GetServicesStatusRequest, O: GetServicesStatusResponse }, - { name: "StartService", options: {}, I: ServiceRequest, O: ServiceResponse }, - { name: "StopService", options: {}, I: ServiceRequest, O: ServiceResponse }, - { name: "RestartService", options: {}, I: ServiceRequest, O: ServiceResponse }, - { name: "GetSSTStatus", options: {}, I: GetSSTStatusRequest, O: SSTStatusResponse }, - { name: "GetSSTConfig", options: {}, I: GetSSTConfigRequest, O: Sst }, - { name: "DeploySST", options: {}, I: DeploySSTRequest, O: DeploySSTResponse }, - { name: "RemoveSST", options: {}, I: RemoveSSTRequest, O: RemoveSSTResponse }, - { name: "GetSSTOutputs", options: {}, I: GetSSTOutputsRequest, O: SSTOutputsResponse }, - { name: "GetSSTResources", options: {}, I: GetSSTResourcesRequest, O: SSTResourcesResponse }, - { name: "SearchNixpkgs", options: {}, I: SearchNixpkgsRequest, O: SearchNixpkgsResponse }, { name: "GetInstalledPackages", options: {}, I: GetInstalledPackagesRequest, O: InstalledPackagesResponse }, { name: "GetProcesses", options: {}, I: GetProcessesRequest, O: GetProcessesResponse }, - { name: "GetHealthchecks", options: {}, I: GetHealthchecksRequest, O: HealthchecksResponse }, { name: "PatchNixData", options: {}, I: PatchNixDataRequest, O: PatchNixDataResponse }, { name: "GetNixConfig", options: {}, I: GetNixConfigRequest, O: NixConfigResponse }, - { name: "RefreshNixConfig", options: {}, I: RefreshNixConfigRequest, O: NixConfigResponse }, { name: "GetShellStatus", options: {}, I: GetShellStatusRequest, O: ShellStatusResponse }, { name: "RebuildShell", serverStreaming: true, options: {}, I: RebuildShellRequest, O: RebuildShellEvent } ]); diff --git a/packages/proto/gen/ts/agent_pb.d.ts b/packages/proto/gen/ts/agent_pb.d.ts index 211b69b1..0668d09f 100644 --- a/packages/proto/gen/ts/agent_pb.d.ts +++ b/packages/proto/gen/ts/agent_pb.d.ts @@ -4,14 +4,11 @@ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import type { Message } from "@bufbuild/protobuf"; -import type { ConfigSchema } from "./config_pb"; import type { SecretsSchema } from "./secrets_pb"; import type { UsersSchema } from "./users_pb"; -import type { AwsSchema } from "./aws_pb"; import type { AppsSchema } from "./apps_pb"; import type { VariablesSchema } from "./variables_pb"; -import type { DisableModuleRequestSchema, EnableModuleRequestSchema, GetModuleOutputsRequestSchema, ModuleOutputsSchema, ModuleResponseSchema, ModuleSchema, ModulesSchema, UpdateModuleSettingsRequestSchema } from "./modules_pb"; -import type { SstSchema } from "./sst_pb"; +import type { GetModuleOutputsRequestSchema, ModuleOutputsSchema } from "./modules_pb"; /** * Describes the file agent.proto. @@ -123,18 +120,6 @@ export declare type Directories = Message<"stackpanel.agent.Directories"> & { */ export declare const DirectoriesSchema: GenMessage; -/** - * @generated from message stackpanel.agent.GetConfigRequest - */ -export declare type GetConfigRequest = Message<"stackpanel.agent.GetConfigRequest"> & { -}; - -/** - * Describes the message stackpanel.agent.GetConfigRequest. - * Use `create(GetConfigRequestSchema)` to create a new message. - */ -export declare const GetConfigRequestSchema: GenMessage; - /** * @generated from message stackpanel.agent.GetSecretsRequest */ @@ -159,18 +144,6 @@ export declare type GetUsersRequest = Message<"stackpanel.agent.GetUsersRequest" */ export declare const GetUsersRequestSchema: GenMessage; -/** - * @generated from message stackpanel.agent.GetAwsRequest - */ -export declare type GetAwsRequest = Message<"stackpanel.agent.GetAwsRequest"> & { -}; - -/** - * Describes the message stackpanel.agent.GetAwsRequest. - * Use `create(GetAwsRequestSchema)` to create a new message. - */ -export declare const GetAwsRequestSchema: GenMessage; - /** * @generated from message stackpanel.agent.GetAppsRequest */ @@ -181,922 +154,76 @@ export declare type GetAppsRequest = Message<"stackpanel.agent.GetAppsRequest"> * Describes the message stackpanel.agent.GetAppsRequest. * Use `create(GetAppsRequestSchema)` to create a new message. */ -export declare const GetAppsRequestSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.GetVariablesRequest - */ -export declare type GetVariablesRequest = Message<"stackpanel.agent.GetVariablesRequest"> & { -}; - -/** - * Describes the message stackpanel.agent.GetVariablesRequest. - * Use `create(GetVariablesRequestSchema)` to create a new message. - */ -export declare const GetVariablesRequestSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.GetSstRequest - */ -export declare type GetSstRequest = Message<"stackpanel.agent.GetSstRequest"> & { -}; - -/** - * Describes the message stackpanel.agent.GetSstRequest. - * Use `create(GetSstRequestSchema)` to create a new message. - */ -export declare const GetSstRequestSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.GetModulesRequest - */ -export declare type GetModulesRequest = Message<"stackpanel.agent.GetModulesRequest"> & { -}; - -/** - * Describes the message stackpanel.agent.GetModulesRequest. - * Use `create(GetModulesRequestSchema)` to create a new message. - */ -export declare const GetModulesRequestSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.GetModuleRequest - */ -export declare type GetModuleRequest = Message<"stackpanel.agent.GetModuleRequest"> & { - /** - * @generated from field: string module_id = 1; - */ - moduleId: string; -}; - -/** - * Describes the message stackpanel.agent.GetModuleRequest. - * Use `create(GetModuleRequestSchema)` to create a new message. - */ -export declare const GetModuleRequestSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.GetAgeIdentityRequest - */ -export declare type GetAgeIdentityRequest = Message<"stackpanel.agent.GetAgeIdentityRequest"> & { -}; - -/** - * Describes the message stackpanel.agent.GetAgeIdentityRequest. - * Use `create(GetAgeIdentityRequestSchema)` to create a new message. - */ -export declare const GetAgeIdentityRequestSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.SetAgeIdentityRequest - */ -export declare type SetAgeIdentityRequest = Message<"stackpanel.agent.SetAgeIdentityRequest"> & { - /** - * Value can be a file path (e.g., ~/.ssh/id_ed25519) or key content - * - * @generated from field: string value = 1; - */ - value: string; -}; - -/** - * Describes the message stackpanel.agent.SetAgeIdentityRequest. - * Use `create(SetAgeIdentityRequestSchema)` to create a new message. - */ -export declare const SetAgeIdentityRequestSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.AgeIdentityResponse - */ -export declare type AgeIdentityResponse = Message<"stackpanel.agent.AgeIdentityResponse"> & { - /** - * Type is "path", "key", or "" (not configured) - * - * @generated from field: string type = 1; - */ - type: string; - - /** - * Value is the path (if type=path) or "(key stored)" (if type=key) - * - * @generated from field: string value = 2; - */ - value: string; - - /** - * KeyPath is the actual file path used for decryption - * - * @generated from field: string key_path = 3; - */ - keyPath: string; - - /** - * PublicKey is the derived public key (for AGE keys) - * - * @generated from field: string public_key = 4; - */ - publicKey: string; -}; - -/** - * Describes the message stackpanel.agent.AgeIdentityResponse. - * Use `create(AgeIdentityResponseSchema)` to create a new message. - */ -export declare const AgeIdentityResponseSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.GetKMSConfigRequest - */ -export declare type GetKMSConfigRequest = Message<"stackpanel.agent.GetKMSConfigRequest"> & { -}; - -/** - * Describes the message stackpanel.agent.GetKMSConfigRequest. - * Use `create(GetKMSConfigRequestSchema)` to create a new message. - */ -export declare const GetKMSConfigRequestSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.SetKMSConfigRequest - */ -export declare type SetKMSConfigRequest = Message<"stackpanel.agent.SetKMSConfigRequest"> & { - /** - * @generated from field: bool enable = 1; - */ - enable: boolean; - - /** - * @generated from field: string key_arn = 2; - */ - keyArn: string; - - /** - * @generated from field: string aws_profile = 3; - */ - awsProfile: string; -}; - -/** - * Describes the message stackpanel.agent.SetKMSConfigRequest. - * Use `create(SetKMSConfigRequestSchema)` to create a new message. - */ -export declare const SetKMSConfigRequestSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.KMSConfigResponse - */ -export declare type KMSConfigResponse = Message<"stackpanel.agent.KMSConfigResponse"> & { - /** - * @generated from field: bool enable = 1; - */ - enable: boolean; - - /** - * @generated from field: string key_arn = 2; - */ - keyArn: string; - - /** - * @generated from field: string aws_profile = 3; - */ - awsProfile: string; - - /** - * Source indicates where the config came from: "state" or "nix" - * - * @generated from field: string source = 4; - */ - source: string; -}; - -/** - * Describes the message stackpanel.agent.KMSConfigResponse. - * Use `create(KMSConfigResponseSchema)` to create a new message. - */ -export declare const KMSConfigResponseSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.ReadFileRequest - */ -export declare type ReadFileRequest = Message<"stackpanel.agent.ReadFileRequest"> & { - /** - * @generated from field: string path = 1; - */ - path: string; -}; - -/** - * Describes the message stackpanel.agent.ReadFileRequest. - * Use `create(ReadFileRequestSchema)` to create a new message. - */ -export declare const ReadFileRequestSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.ReadFileResponse - */ -export declare type ReadFileResponse = Message<"stackpanel.agent.ReadFileResponse"> & { - /** - * @generated from field: string content = 1; - */ - content: string; - - /** - * @generated from field: bool exists = 2; - */ - exists: boolean; -}; - -/** - * Describes the message stackpanel.agent.ReadFileResponse. - * Use `create(ReadFileResponseSchema)` to create a new message. - */ -export declare const ReadFileResponseSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.WriteFileRequest - */ -export declare type WriteFileRequest = Message<"stackpanel.agent.WriteFileRequest"> & { - /** - * @generated from field: string path = 1; - */ - path: string; - - /** - * @generated from field: string content = 2; - */ - content: string; - - /** - * Mode is the file permission (e.g., 0644). If 0, uses default. - * - * @generated from field: uint32 mode = 3; - */ - mode: number; -}; - -/** - * Describes the message stackpanel.agent.WriteFileRequest. - * Use `create(WriteFileRequestSchema)` to create a new message. - */ -export declare const WriteFileRequestSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.WriteFileResponse - */ -export declare type WriteFileResponse = Message<"stackpanel.agent.WriteFileResponse"> & { - /** - * @generated from field: bool success = 1; - */ - success: boolean; -}; - -/** - * Describes the message stackpanel.agent.WriteFileResponse. - * Use `create(WriteFileResponseSchema)` to create a new message. - */ -export declare const WriteFileResponseSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.ListFilesRequest - */ -export declare type ListFilesRequest = Message<"stackpanel.agent.ListFilesRequest"> & { - /** - * @generated from field: string path = 1; - */ - path: string; - - /** - * Optional glob pattern - * - * @generated from field: string pattern = 2; - */ - pattern: string; -}; - -/** - * Describes the message stackpanel.agent.ListFilesRequest. - * Use `create(ListFilesRequestSchema)` to create a new message. - */ -export declare const ListFilesRequestSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.ListFilesResponse - */ -export declare type ListFilesResponse = Message<"stackpanel.agent.ListFilesResponse"> & { - /** - * @generated from field: repeated stackpanel.agent.FileInfo files = 1; - */ - files: FileInfo[]; -}; - -/** - * Describes the message stackpanel.agent.ListFilesResponse. - * Use `create(ListFilesResponseSchema)` to create a new message. - */ -export declare const ListFilesResponseSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.FileInfo - */ -export declare type FileInfo = Message<"stackpanel.agent.FileInfo"> & { - /** - * @generated from field: string name = 1; - */ - name: string; - - /** - * @generated from field: string path = 2; - */ - path: string; - - /** - * @generated from field: bool is_dir = 3; - */ - isDir: boolean; - - /** - * @generated from field: int64 size = 4; - */ - size: bigint; - - /** - * Unix timestamp - * - * @generated from field: int64 mod_time = 5; - */ - modTime: bigint; -}; - -/** - * Describes the message stackpanel.agent.FileInfo. - * Use `create(FileInfoSchema)` to create a new message. - */ -export declare const FileInfoSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.ExecRequest - */ -export declare type ExecRequest = Message<"stackpanel.agent.ExecRequest"> & { - /** - * @generated from field: string command = 1; - */ - command: string; - - /** - * @generated from field: repeated string args = 2; - */ - args: string[]; - - /** - * @generated from field: string cwd = 3; - */ - cwd: string; - - /** - * @generated from field: map env = 4; - */ - env: { [key: string]: string }; -}; - -/** - * Describes the message stackpanel.agent.ExecRequest. - * Use `create(ExecRequestSchema)` to create a new message. - */ -export declare const ExecRequestSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.ExecResponse - */ -export declare type ExecResponse = Message<"stackpanel.agent.ExecResponse"> & { - /** - * @generated from field: int32 exit_code = 1; - */ - exitCode: number; - - /** - * @generated from field: string stdout = 2; - */ - stdout: string; - - /** - * @generated from field: string stderr = 3; - */ - stderr: string; -}; - -/** - * Describes the message stackpanel.agent.ExecResponse. - * Use `create(ExecResponseSchema)` to create a new message. - */ -export declare const ExecResponseSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.NixGenerateRequest - */ -export declare type NixGenerateRequest = Message<"stackpanel.agent.NixGenerateRequest"> & { -}; - -/** - * Describes the message stackpanel.agent.NixGenerateRequest. - * Use `create(NixGenerateRequestSchema)` to create a new message. - */ -export declare const NixGenerateRequestSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.NixGenerateResponse - */ -export declare type NixGenerateResponse = Message<"stackpanel.agent.NixGenerateResponse"> & { - /** - * @generated from field: bool success = 1; - */ - success: boolean; - - /** - * @generated from field: string output = 2; - */ - output: string; -}; - -/** - * Describes the message stackpanel.agent.NixGenerateResponse. - * Use `create(NixGenerateResponseSchema)` to create a new message. - */ -export declare const NixGenerateResponseSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.NixEvalRequest - */ -export declare type NixEvalRequest = Message<"stackpanel.agent.NixEvalRequest"> & { - /** - * @generated from field: string expression = 1; - */ - expression: string; - - /** - * @generated from field: bool json = 2; - */ - json: boolean; -}; - -/** - * Describes the message stackpanel.agent.NixEvalRequest. - * Use `create(NixEvalRequestSchema)` to create a new message. - */ -export declare const NixEvalRequestSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.NixEvalResponse - */ -export declare type NixEvalResponse = Message<"stackpanel.agent.NixEvalResponse"> & { - /** - * @generated from field: string result = 1; - */ - result: string; -}; - -/** - * Describes the message stackpanel.agent.NixEvalResponse. - * Use `create(NixEvalResponseSchema)` to create a new message. - */ -export declare const NixEvalResponseSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.GetServicesStatusRequest - */ -export declare type GetServicesStatusRequest = Message<"stackpanel.agent.GetServicesStatusRequest"> & { -}; - -/** - * Describes the message stackpanel.agent.GetServicesStatusRequest. - * Use `create(GetServicesStatusRequestSchema)` to create a new message. - */ -export declare const GetServicesStatusRequestSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.GetServicesStatusResponse - */ -export declare type GetServicesStatusResponse = Message<"stackpanel.agent.GetServicesStatusResponse"> & { - /** - * @generated from field: bool running = 1; - */ - running: boolean; - - /** - * @generated from field: repeated stackpanel.agent.ServiceStatus services = 2; - */ - services: ServiceStatus[]; -}; - -/** - * Describes the message stackpanel.agent.GetServicesStatusResponse. - * Use `create(GetServicesStatusResponseSchema)` to create a new message. - */ -export declare const GetServicesStatusResponseSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.ServiceStatus - */ -export declare type ServiceStatus = Message<"stackpanel.agent.ServiceStatus"> & { - /** - * @generated from field: string name = 1; - */ - name: string; - - /** - * "running", "stopped", "error" - * - * @generated from field: string status = 2; - */ - status: string; - - /** - * @generated from field: int32 pid = 3; - */ - pid: number; - - /** - * Seconds - * - * @generated from field: int64 uptime = 4; - */ - uptime: bigint; -}; - -/** - * Describes the message stackpanel.agent.ServiceStatus. - * Use `create(ServiceStatusSchema)` to create a new message. - */ -export declare const ServiceStatusSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.ServiceRequest - */ -export declare type ServiceRequest = Message<"stackpanel.agent.ServiceRequest"> & { - /** - * @generated from field: string name = 1; - */ - name: string; -}; - -/** - * Describes the message stackpanel.agent.ServiceRequest. - * Use `create(ServiceRequestSchema)` to create a new message. - */ -export declare const ServiceRequestSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.ServiceResponse - */ -export declare type ServiceResponse = Message<"stackpanel.agent.ServiceResponse"> & { - /** - * @generated from field: bool success = 1; - */ - success: boolean; - - /** - * @generated from field: string message = 2; - */ - message: string; -}; - -/** - * Describes the message stackpanel.agent.ServiceResponse. - * Use `create(ServiceResponseSchema)` to create a new message. - */ -export declare const ServiceResponseSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.GetSSTStatusRequest - */ -export declare type GetSSTStatusRequest = Message<"stackpanel.agent.GetSSTStatusRequest"> & { -}; - -/** - * Describes the message stackpanel.agent.GetSSTStatusRequest. - * Use `create(GetSSTStatusRequestSchema)` to create a new message. - */ -export declare const GetSSTStatusRequestSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.SSTStatusResponse - */ -export declare type SSTStatusResponse = Message<"stackpanel.agent.SSTStatusResponse"> & { - /** - * @generated from field: bool configured = 1; - */ - configured: boolean; - - /** - * @generated from field: string config_path = 2; - */ - configPath: string; - - /** - * @generated from field: bool config_valid = 3; - */ - configValid: boolean; - - /** - * @generated from field: bool deployed = 4; - */ - deployed: boolean; - - /** - * @generated from field: string stage = 5; - */ - stage: string; - - /** - * @generated from field: string last_deploy = 6; - */ - lastDeploy: string; - - /** - * @generated from field: string error = 7; - */ - error: string; -}; - -/** - * Describes the message stackpanel.agent.SSTStatusResponse. - * Use `create(SSTStatusResponseSchema)` to create a new message. - */ -export declare const SSTStatusResponseSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.GetSSTConfigRequest - */ -export declare type GetSSTConfigRequest = Message<"stackpanel.agent.GetSSTConfigRequest"> & { -}; - -/** - * Describes the message stackpanel.agent.GetSSTConfigRequest. - * Use `create(GetSSTConfigRequestSchema)` to create a new message. - */ -export declare const GetSSTConfigRequestSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.DeploySSTRequest - */ -export declare type DeploySSTRequest = Message<"stackpanel.agent.DeploySSTRequest"> & { - /** - * dev, staging, production - * - * @generated from field: string stage = 1; - */ - stage: string; -}; - -/** - * Describes the message stackpanel.agent.DeploySSTRequest. - * Use `create(DeploySSTRequestSchema)` to create a new message. - */ -export declare const DeploySSTRequestSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.DeploySSTResponse - */ -export declare type DeploySSTResponse = Message<"stackpanel.agent.DeploySSTResponse"> & { - /** - * @generated from field: bool success = 1; - */ - success: boolean; - - /** - * @generated from field: string output = 2; - */ - output: string; - - /** - * @generated from field: string error = 3; - */ - error: string; - - /** - * @generated from field: map outputs = 4; - */ - outputs: { [key: string]: string }; -}; - -/** - * Describes the message stackpanel.agent.DeploySSTResponse. - * Use `create(DeploySSTResponseSchema)` to create a new message. - */ -export declare const DeploySSTResponseSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.RemoveSSTRequest - */ -export declare type RemoveSSTRequest = Message<"stackpanel.agent.RemoveSSTRequest"> & { - /** - * @generated from field: string stage = 1; - */ - stage: string; -}; - -/** - * Describes the message stackpanel.agent.RemoveSSTRequest. - * Use `create(RemoveSSTRequestSchema)` to create a new message. - */ -export declare const RemoveSSTRequestSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.RemoveSSTResponse - */ -export declare type RemoveSSTResponse = Message<"stackpanel.agent.RemoveSSTResponse"> & { - /** - * @generated from field: bool success = 1; - */ - success: boolean; - - /** - * @generated from field: string output = 2; - */ - output: string; - - /** - * @generated from field: string error = 3; - */ - error: string; -}; - -/** - * Describes the message stackpanel.agent.RemoveSSTResponse. - * Use `create(RemoveSSTResponseSchema)` to create a new message. - */ -export declare const RemoveSSTResponseSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.GetSSTOutputsRequest - */ -export declare type GetSSTOutputsRequest = Message<"stackpanel.agent.GetSSTOutputsRequest"> & { -}; - -/** - * Describes the message stackpanel.agent.GetSSTOutputsRequest. - * Use `create(GetSSTOutputsRequestSchema)` to create a new message. - */ -export declare const GetSSTOutputsRequestSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.SSTOutputsResponse - */ -export declare type SSTOutputsResponse = Message<"stackpanel.agent.SSTOutputsResponse"> & { - /** - * @generated from field: map outputs = 1; - */ - outputs: { [key: string]: string }; -}; - -/** - * Describes the message stackpanel.agent.SSTOutputsResponse. - * Use `create(SSTOutputsResponseSchema)` to create a new message. - */ -export declare const SSTOutputsResponseSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.GetSSTResourcesRequest - */ -export declare type GetSSTResourcesRequest = Message<"stackpanel.agent.GetSSTResourcesRequest"> & { -}; - -/** - * Describes the message stackpanel.agent.GetSSTResourcesRequest. - * Use `create(GetSSTResourcesRequestSchema)` to create a new message. - */ -export declare const GetSSTResourcesRequestSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.SSTResource - */ -export declare type SSTResource = Message<"stackpanel.agent.SSTResource"> & { - /** - * @generated from field: string type = 1; - */ - type: string; - - /** - * @generated from field: string urn = 2; - */ - urn: string; - - /** - * @generated from field: string id = 3; - */ - id: string; -}; - -/** - * Describes the message stackpanel.agent.SSTResource. - * Use `create(SSTResourceSchema)` to create a new message. - */ -export declare const SSTResourceSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.SSTResourcesResponse - */ -export declare type SSTResourcesResponse = Message<"stackpanel.agent.SSTResourcesResponse"> & { - /** - * @generated from field: repeated stackpanel.agent.SSTResource resources = 1; - */ - resources: SSTResource[]; -}; - -/** - * Describes the message stackpanel.agent.SSTResourcesResponse. - * Use `create(SSTResourcesResponseSchema)` to create a new message. - */ -export declare const SSTResourcesResponseSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.SearchNixpkgsRequest - */ -export declare type SearchNixpkgsRequest = Message<"stackpanel.agent.SearchNixpkgsRequest"> & { - /** - * @generated from field: string query = 1; - */ - query: string; - - /** - * Max results to return - * - * @generated from field: int32 limit = 2; - */ - limit: number; -}; +export declare const GetAppsRequestSchema: GenMessage; /** - * Describes the message stackpanel.agent.SearchNixpkgsRequest. - * Use `create(SearchNixpkgsRequestSchema)` to create a new message. + * @generated from message stackpanel.agent.GetVariablesRequest */ -export declare const SearchNixpkgsRequestSchema: GenMessage; +export declare type GetVariablesRequest = Message<"stackpanel.agent.GetVariablesRequest"> & { +}; /** - * @generated from message stackpanel.agent.NixpkgsPackage + * Describes the message stackpanel.agent.GetVariablesRequest. + * Use `create(GetVariablesRequestSchema)` to create a new message. */ -export declare type NixpkgsPackage = Message<"stackpanel.agent.NixpkgsPackage"> & { - /** - * @generated from field: string name = 1; - */ - name: string; +export declare const GetVariablesRequestSchema: GenMessage; +/** + * @generated from message stackpanel.agent.ExecRequest + */ +export declare type ExecRequest = Message<"stackpanel.agent.ExecRequest"> & { /** - * @generated from field: string attr_path = 2; + * @generated from field: string command = 1; */ - attrPath: string; + command: string; /** - * @generated from field: string version = 3; + * @generated from field: repeated string args = 2; */ - version: string; + args: string[]; /** - * @generated from field: string description = 4; + * @generated from field: string cwd = 3; */ - description: string; + cwd: string; /** - * @generated from field: bool installed = 5; + * @generated from field: map env = 4; */ - installed: boolean; + env: { [key: string]: string }; +}; - /** - * @generated from field: string license = 6; - */ - license: string; +/** + * Describes the message stackpanel.agent.ExecRequest. + * Use `create(ExecRequestSchema)` to create a new message. + */ +export declare const ExecRequestSchema: GenMessage; +/** + * @generated from message stackpanel.agent.ExecResponse + */ +export declare type ExecResponse = Message<"stackpanel.agent.ExecResponse"> & { /** - * @generated from field: string homepage = 7; + * @generated from field: int32 exit_code = 1; */ - homepage: string; + exitCode: number; /** - * @generated from field: string nixpkgs_url = 8; + * @generated from field: string stdout = 2; */ - nixpkgsUrl: string; -}; - -/** - * Describes the message stackpanel.agent.NixpkgsPackage. - * Use `create(NixpkgsPackageSchema)` to create a new message. - */ -export declare const NixpkgsPackageSchema: GenMessage; + stdout: string; -/** - * @generated from message stackpanel.agent.SearchNixpkgsResponse - */ -export declare type SearchNixpkgsResponse = Message<"stackpanel.agent.SearchNixpkgsResponse"> & { /** - * @generated from field: repeated stackpanel.agent.NixpkgsPackage packages = 1; + * @generated from field: string stderr = 3; */ - packages: NixpkgsPackage[]; + stderr: string; }; /** - * Describes the message stackpanel.agent.SearchNixpkgsResponse. - * Use `create(SearchNixpkgsResponseSchema)` to create a new message. + * Describes the message stackpanel.agent.ExecResponse. + * Use `create(ExecResponseSchema)` to create a new message. */ -export declare const SearchNixpkgsResponseSchema: GenMessage; +export declare const ExecResponseSchema: GenMessage; /** * @generated from message stackpanel.agent.GetInstalledPackagesRequest @@ -1258,79 +385,6 @@ export declare type GetProcessesResponse = Message<"stackpanel.agent.GetProcesse */ export declare const GetProcessesResponseSchema: GenMessage; -/** - * @generated from message stackpanel.agent.GetHealthchecksRequest - */ -export declare type GetHealthchecksRequest = Message<"stackpanel.agent.GetHealthchecksRequest"> & { -}; - -/** - * Describes the message stackpanel.agent.GetHealthchecksRequest. - * Use `create(GetHealthchecksRequestSchema)` to create a new message. - */ -export declare const GetHealthchecksRequestSchema: GenMessage; - -/** - * Simple healthcheck info for RPC responses (distinct from db.HealthcheckResult) - * - * @generated from message stackpanel.agent.HealthcheckInfo - */ -export declare type HealthcheckInfo = Message<"stackpanel.agent.HealthcheckInfo"> & { - /** - * @generated from field: string name = 1; - */ - name: string; - - /** - * service, port, http, etc. - * - * @generated from field: string type = 2; - */ - type: string; - - /** - * @generated from field: bool healthy = 3; - */ - healthy: boolean; - - /** - * @generated from field: string message = 4; - */ - message: string; - - /** - * @generated from field: string details = 5; - */ - details: string; -}; - -/** - * Describes the message stackpanel.agent.HealthcheckInfo. - * Use `create(HealthcheckInfoSchema)` to create a new message. - */ -export declare const HealthcheckInfoSchema: GenMessage; - -/** - * @generated from message stackpanel.agent.HealthchecksResponse - */ -export declare type HealthchecksResponse = Message<"stackpanel.agent.HealthchecksResponse"> & { - /** - * @generated from field: bool all_healthy = 1; - */ - allHealthy: boolean; - - /** - * @generated from field: repeated stackpanel.agent.HealthcheckInfo checks = 2; - */ - checks: HealthcheckInfo[]; -}; - -/** - * Describes the message stackpanel.agent.HealthchecksResponse. - * Use `create(HealthchecksResponseSchema)` to create a new message. - */ -export declare const HealthchecksResponseSchema: GenMessage; - /** * PatchNixDataRequest updates a single value within a Nix data entity at a * dot-separated path. This enables editing individual fields from UI panels @@ -1442,18 +496,6 @@ export declare type GetNixConfigRequest = Message<"stackpanel.agent.GetNixConfig */ export declare const GetNixConfigRequestSchema: GenMessage; -/** - * @generated from message stackpanel.agent.RefreshNixConfigRequest - */ -export declare type RefreshNixConfigRequest = Message<"stackpanel.agent.RefreshNixConfigRequest"> & { -}; - -/** - * Describes the message stackpanel.agent.RefreshNixConfigRequest. - * Use `create(RefreshNixConfigRequestSchema)` to create a new message. - */ -export declare const RefreshNixConfigRequestSchema: GenMessage; - /** * @generated from message stackpanel.agent.NixConfigResponse */ @@ -1630,24 +672,8 @@ export declare const AgentService: GenService<{ output: typeof GetProjectResponseSchema; }, /** - * Config entities - generic CRUD for Nix data files + * Config entities - read Nix data files * - * @generated from rpc stackpanel.agent.AgentService.GetConfig - */ - getConfig: { - methodKind: "unary"; - input: typeof GetConfigRequestSchema; - output: typeof ConfigSchema; - }, - /** - * @generated from rpc stackpanel.agent.AgentService.SetConfig - */ - setConfig: { - methodKind: "unary"; - input: typeof ConfigSchema; - output: typeof ConfigSchema; - }, - /** * @generated from rpc stackpanel.agent.AgentService.GetSecrets */ getSecrets: { @@ -1655,14 +681,6 @@ export declare const AgentService: GenService<{ input: typeof GetSecretsRequestSchema; output: typeof SecretsSchema; }, - /** - * @generated from rpc stackpanel.agent.AgentService.SetSecrets - */ - setSecrets: { - methodKind: "unary"; - input: typeof SecretsSchema; - output: typeof SecretsSchema; - }, /** * @generated from rpc stackpanel.agent.AgentService.GetUsers */ @@ -1671,30 +689,6 @@ export declare const AgentService: GenService<{ input: typeof GetUsersRequestSchema; output: typeof UsersSchema; }, - /** - * @generated from rpc stackpanel.agent.AgentService.SetUsers - */ - setUsers: { - methodKind: "unary"; - input: typeof UsersSchema; - output: typeof UsersSchema; - }, - /** - * @generated from rpc stackpanel.agent.AgentService.GetAws - */ - getAws: { - methodKind: "unary"; - input: typeof GetAwsRequestSchema; - output: typeof AwsSchema; - }, - /** - * @generated from rpc stackpanel.agent.AgentService.SetAws - */ - setAws: { - methodKind: "unary"; - input: typeof AwsSchema; - output: typeof AwsSchema; - }, /** * @generated from rpc stackpanel.agent.AgentService.GetApps */ @@ -1703,14 +697,6 @@ export declare const AgentService: GenService<{ input: typeof GetAppsRequestSchema; output: typeof AppsSchema; }, - /** - * @generated from rpc stackpanel.agent.AgentService.SetApps - */ - setApps: { - methodKind: "unary"; - input: typeof AppsSchema; - output: typeof AppsSchema; - }, /** * @generated from rpc stackpanel.agent.AgentService.GetVariables */ @@ -1720,32 +706,8 @@ export declare const AgentService: GenService<{ output: typeof VariablesSchema; }, /** - * @generated from rpc stackpanel.agent.AgentService.SetVariables - */ - setVariables: { - methodKind: "unary"; - input: typeof VariablesSchema; - output: typeof VariablesSchema; - }, - /** - * Modules - module configuration management + * Modules * - * @generated from rpc stackpanel.agent.AgentService.GetModules - */ - getModules: { - methodKind: "unary"; - input: typeof GetModulesRequestSchema; - output: typeof ModulesSchema; - }, - /** - * @generated from rpc stackpanel.agent.AgentService.GetModule - */ - getModule: { - methodKind: "unary"; - input: typeof GetModuleRequestSchema; - output: typeof ModuleSchema; - }, - /** * @generated from rpc stackpanel.agent.AgentService.GetModuleOutputs */ getModuleOutputs: { @@ -1753,92 +715,6 @@ export declare const AgentService: GenService<{ input: typeof GetModuleOutputsRequestSchema; output: typeof ModuleOutputsSchema; }, - /** - * @generated from rpc stackpanel.agent.AgentService.EnableModule - */ - enableModule: { - methodKind: "unary"; - input: typeof EnableModuleRequestSchema; - output: typeof ModuleResponseSchema; - }, - /** - * @generated from rpc stackpanel.agent.AgentService.DisableModule - */ - disableModule: { - methodKind: "unary"; - input: typeof DisableModuleRequestSchema; - output: typeof ModuleResponseSchema; - }, - /** - * @generated from rpc stackpanel.agent.AgentService.UpdateModuleSettings - */ - updateModuleSettings: { - methodKind: "unary"; - input: typeof UpdateModuleSettingsRequestSchema; - output: typeof ModuleResponseSchema; - }, - /** - * Identity management (local decryption key) - * - * @generated from rpc stackpanel.agent.AgentService.GetAgeIdentity - */ - getAgeIdentity: { - methodKind: "unary"; - input: typeof GetAgeIdentityRequestSchema; - output: typeof AgeIdentityResponseSchema; - }, - /** - * @generated from rpc stackpanel.agent.AgentService.SetAgeIdentity - */ - setAgeIdentity: { - methodKind: "unary"; - input: typeof SetAgeIdentityRequestSchema; - output: typeof AgeIdentityResponseSchema; - }, - /** - * KMS configuration - * - * @generated from rpc stackpanel.agent.AgentService.GetKMSConfig - */ - getKMSConfig: { - methodKind: "unary"; - input: typeof GetKMSConfigRequestSchema; - output: typeof KMSConfigResponseSchema; - }, - /** - * @generated from rpc stackpanel.agent.AgentService.SetKMSConfig - */ - setKMSConfig: { - methodKind: "unary"; - input: typeof SetKMSConfigRequestSchema; - output: typeof KMSConfigResponseSchema; - }, - /** - * File operations - * - * @generated from rpc stackpanel.agent.AgentService.ReadFile - */ - readFile: { - methodKind: "unary"; - input: typeof ReadFileRequestSchema; - output: typeof ReadFileResponseSchema; - }, - /** - * @generated from rpc stackpanel.agent.AgentService.WriteFile - */ - writeFile: { - methodKind: "unary"; - input: typeof WriteFileRequestSchema; - output: typeof WriteFileResponseSchema; - }, - /** - * @generated from rpc stackpanel.agent.AgentService.ListFiles - */ - listFiles: { - methodKind: "unary"; - input: typeof ListFilesRequestSchema; - output: typeof ListFilesResponseSchema; - }, /** * Command execution * @@ -1849,119 +725,9 @@ export declare const AgentService: GenService<{ input: typeof ExecRequestSchema; output: typeof ExecResponseSchema; }, - /** - * Nix operations - * - * @generated from rpc stackpanel.agent.AgentService.NixGenerate - */ - nixGenerate: { - methodKind: "unary"; - input: typeof NixGenerateRequestSchema; - output: typeof NixGenerateResponseSchema; - }, - /** - * @generated from rpc stackpanel.agent.AgentService.NixEval - */ - nixEval: { - methodKind: "unary"; - input: typeof NixEvalRequestSchema; - output: typeof NixEvalResponseSchema; - }, - /** - * Services (process-compose) - * - * @generated from rpc stackpanel.agent.AgentService.GetServicesStatus - */ - getServicesStatus: { - methodKind: "unary"; - input: typeof GetServicesStatusRequestSchema; - output: typeof GetServicesStatusResponseSchema; - }, - /** - * @generated from rpc stackpanel.agent.AgentService.StartService - */ - startService: { - methodKind: "unary"; - input: typeof ServiceRequestSchema; - output: typeof ServiceResponseSchema; - }, - /** - * @generated from rpc stackpanel.agent.AgentService.StopService - */ - stopService: { - methodKind: "unary"; - input: typeof ServiceRequestSchema; - output: typeof ServiceResponseSchema; - }, - /** - * @generated from rpc stackpanel.agent.AgentService.RestartService - */ - restartService: { - methodKind: "unary"; - input: typeof ServiceRequestSchema; - output: typeof ServiceResponseSchema; - }, - /** - * SST Infrastructure - * - * @generated from rpc stackpanel.agent.AgentService.GetSSTStatus - */ - getSSTStatus: { - methodKind: "unary"; - input: typeof GetSSTStatusRequestSchema; - output: typeof SSTStatusResponseSchema; - }, - /** - * @generated from rpc stackpanel.agent.AgentService.GetSSTConfig - */ - getSSTConfig: { - methodKind: "unary"; - input: typeof GetSSTConfigRequestSchema; - output: typeof SstSchema; - }, - /** - * @generated from rpc stackpanel.agent.AgentService.DeploySST - */ - deploySST: { - methodKind: "unary"; - input: typeof DeploySSTRequestSchema; - output: typeof DeploySSTResponseSchema; - }, - /** - * @generated from rpc stackpanel.agent.AgentService.RemoveSST - */ - removeSST: { - methodKind: "unary"; - input: typeof RemoveSSTRequestSchema; - output: typeof RemoveSSTResponseSchema; - }, - /** - * @generated from rpc stackpanel.agent.AgentService.GetSSTOutputs - */ - getSSTOutputs: { - methodKind: "unary"; - input: typeof GetSSTOutputsRequestSchema; - output: typeof SSTOutputsResponseSchema; - }, - /** - * @generated from rpc stackpanel.agent.AgentService.GetSSTResources - */ - getSSTResources: { - methodKind: "unary"; - input: typeof GetSSTResourcesRequestSchema; - output: typeof SSTResourcesResponseSchema; - }, /** * Nixpkgs package management * - * @generated from rpc stackpanel.agent.AgentService.SearchNixpkgs - */ - searchNixpkgs: { - methodKind: "unary"; - input: typeof SearchNixpkgsRequestSchema; - output: typeof SearchNixpkgsResponseSchema; - }, - /** * @generated from rpc stackpanel.agent.AgentService.GetInstalledPackages */ getInstalledPackages: { @@ -1979,16 +745,6 @@ export declare const AgentService: GenService<{ input: typeof GetProcessesRequestSchema; output: typeof GetProcessesResponseSchema; }, - /** - * Healthchecks - * - * @generated from rpc stackpanel.agent.AgentService.GetHealthchecks - */ - getHealthchecks: { - methodKind: "unary"; - input: typeof GetHealthchecksRequestSchema; - output: typeof HealthchecksResponseSchema; - }, /** * Nix data patch - update a single value at a nested path within an entity * @@ -2009,14 +765,6 @@ export declare const AgentService: GenService<{ input: typeof GetNixConfigRequestSchema; output: typeof NixConfigResponseSchema; }, - /** - * @generated from rpc stackpanel.agent.AgentService.RefreshNixConfig - */ - refreshNixConfig: { - methodKind: "unary"; - input: typeof RefreshNixConfigRequestSchema; - output: typeof NixConfigResponseSchema; - }, /** * Devshell management * diff --git a/packages/proto/gen/ts/agent_pb.js b/packages/proto/gen/ts/agent_pb.js index 87debb63..5cbc7472 100644 --- a/packages/proto/gen/ts/agent_pb.js +++ b/packages/proto/gen/ts/agent_pb.js @@ -3,22 +3,19 @@ /* eslint-disable */ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; -import { file_config } from "./config_pb"; import { file_secrets } from "./secrets_pb"; import { file_users } from "./users_pb"; -import { file_aws } from "./aws_pb"; import { file_files } from "./files_pb"; import { file_services } from "./services_pb"; import { file_apps } from "./apps_pb"; import { file_variables } from "./variables_pb"; -import { file_sst } from "./sst_pb"; import { file_modules } from "./modules_pb"; /** * Describes the file agent.proto. */ export const file_agent = /*@__PURE__*/ - fileDesc("CgthZ2VudC5wcm90bxIQc3RhY2twYW5lbC5hZ2VudCITChFHZXRQcm9qZWN0UmVxdWVzdCJAChJHZXRQcm9qZWN0UmVzcG9uc2USKgoHcHJvamVjdBgBIAEoCzIZLnN0YWNrcGFuZWwuYWdlbnQuUHJvamVjdCJiCgdQcm9qZWN0EgwKBHBhdGgYASABKAkSDAoEbmFtZRgCIAEoCRIOCgZnaXRodWIYAyABKAkSKwoEZGlycxgEIAEoCzIdLnN0YWNrcGFuZWwuYWdlbnQuRGlyZWN0b3JpZXMiVgoLRGlyZWN0b3JpZXMSDAoEaG9tZRgBIAEoCRIMCgRkYXRhGAIgASgJEgsKA2dlbhgDIAEoCRINCgVzdGF0ZRgEIAEoCRIPCgdzZWNyZXRzGAUgASgJIhIKEEdldENvbmZpZ1JlcXVlc3QiEwoRR2V0U2VjcmV0c1JlcXVlc3QiEQoPR2V0VXNlcnNSZXF1ZXN0Ig8KDUdldEF3c1JlcXVlc3QiEAoOR2V0QXBwc1JlcXVlc3QiFQoTR2V0VmFyaWFibGVzUmVxdWVzdCIPCg1HZXRTc3RSZXF1ZXN0IhMKEUdldE1vZHVsZXNSZXF1ZXN0IiUKEEdldE1vZHVsZVJlcXVlc3QSEQoJbW9kdWxlX2lkGAEgASgJIhcKFUdldEFnZUlkZW50aXR5UmVxdWVzdCImChVTZXRBZ2VJZGVudGl0eVJlcXVlc3QSDQoFdmFsdWUYASABKAkiWAoTQWdlSWRlbnRpdHlSZXNwb25zZRIMCgR0eXBlGAEgASgJEg0KBXZhbHVlGAIgASgJEhAKCGtleV9wYXRoGAMgASgJEhIKCnB1YmxpY19rZXkYBCABKAkiFQoTR2V0S01TQ29uZmlnUmVxdWVzdCJLChNTZXRLTVNDb25maWdSZXF1ZXN0Eg4KBmVuYWJsZRgBIAEoCBIPCgdrZXlfYXJuGAIgASgJEhMKC2F3c19wcm9maWxlGAMgASgJIlkKEUtNU0NvbmZpZ1Jlc3BvbnNlEg4KBmVuYWJsZRgBIAEoCBIPCgdrZXlfYXJuGAIgASgJEhMKC2F3c19wcm9maWxlGAMgASgJEg4KBnNvdXJjZRgEIAEoCSIfCg9SZWFkRmlsZVJlcXVlc3QSDAoEcGF0aBgBIAEoCSIzChBSZWFkRmlsZVJlc3BvbnNlEg8KB2NvbnRlbnQYASABKAkSDgoGZXhpc3RzGAIgASgIIj8KEFdyaXRlRmlsZVJlcXVlc3QSDAoEcGF0aBgBIAEoCRIPCgdjb250ZW50GAIgASgJEgwKBG1vZGUYAyABKA0iJAoRV3JpdGVGaWxlUmVzcG9uc2USDwoHc3VjY2VzcxgBIAEoCCIxChBMaXN0RmlsZXNSZXF1ZXN0EgwKBHBhdGgYASABKAkSDwoHcGF0dGVybhgCIAEoCSI+ChFMaXN0RmlsZXNSZXNwb25zZRIpCgVmaWxlcxgBIAMoCzIaLnN0YWNrcGFuZWwuYWdlbnQuRmlsZUluZm8iVgoIRmlsZUluZm8SDAoEbmFtZRgBIAEoCRIMCgRwYXRoGAIgASgJEg4KBmlzX2RpchgDIAEoCBIMCgRzaXplGAQgASgDEhAKCG1vZF90aW1lGAUgASgDIpoBCgtFeGVjUmVxdWVzdBIPCgdjb21tYW5kGAEgASgJEgwKBGFyZ3MYAiADKAkSCwoDY3dkGAMgASgJEjMKA2VudhgEIAMoCzImLnN0YWNrcGFuZWwuYWdlbnQuRXhlY1JlcXVlc3QuRW52RW50cnkaKgoIRW52RW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ASJBCgxFeGVjUmVzcG9uc2USEQoJZXhpdF9jb2RlGAEgASgFEg4KBnN0ZG91dBgCIAEoCRIOCgZzdGRlcnIYAyABKAkiFAoSTml4R2VuZXJhdGVSZXF1ZXN0IjYKE05peEdlbmVyYXRlUmVzcG9uc2USDwoHc3VjY2VzcxgBIAEoCBIOCgZvdXRwdXQYAiABKAkiMgoOTml4RXZhbFJlcXVlc3QSEgoKZXhwcmVzc2lvbhgBIAEoCRIMCgRqc29uGAIgASgIIiEKD05peEV2YWxSZXNwb25zZRIOCgZyZXN1bHQYASABKAkiGgoYR2V0U2VydmljZXNTdGF0dXNSZXF1ZXN0Il8KGUdldFNlcnZpY2VzU3RhdHVzUmVzcG9uc2USDwoHcnVubmluZxgBIAEoCBIxCghzZXJ2aWNlcxgCIAMoCzIfLnN0YWNrcGFuZWwuYWdlbnQuU2VydmljZVN0YXR1cyJKCg1TZXJ2aWNlU3RhdHVzEgwKBG5hbWUYASABKAkSDgoGc3RhdHVzGAIgASgJEgsKA3BpZBgDIAEoBRIOCgZ1cHRpbWUYBCABKAMiHgoOU2VydmljZVJlcXVlc3QSDAoEbmFtZRgBIAEoCSIzCg9TZXJ2aWNlUmVzcG9uc2USDwoHc3VjY2VzcxgBIAEoCBIPCgdtZXNzYWdlGAIgASgJIhUKE0dldFNTVFN0YXR1c1JlcXVlc3QilwEKEVNTVFN0YXR1c1Jlc3BvbnNlEhIKCmNvbmZpZ3VyZWQYASABKAgSEwoLY29uZmlnX3BhdGgYAiABKAkSFAoMY29uZmlnX3ZhbGlkGAMgASgIEhAKCGRlcGxveWVkGAQgASgIEg0KBXN0YWdlGAUgASgJEhMKC2xhc3RfZGVwbG95GAYgASgJEg0KBWVycm9yGAcgASgJIhUKE0dldFNTVENvbmZpZ1JlcXVlc3QiIQoQRGVwbG95U1NUUmVxdWVzdBINCgVzdGFnZRgBIAEoCSK2AQoRRGVwbG95U1NUUmVzcG9uc2USDwoHc3VjY2VzcxgBIAEoCBIOCgZvdXRwdXQYAiABKAkSDQoFZXJyb3IYAyABKAkSQQoHb3V0cHV0cxgEIAMoCzIwLnN0YWNrcGFuZWwuYWdlbnQuRGVwbG95U1NUUmVzcG9uc2UuT3V0cHV0c0VudHJ5Gi4KDE91dHB1dHNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIiEKEFJlbW92ZVNTVFJlcXVlc3QSDQoFc3RhZ2UYASABKAkiQwoRUmVtb3ZlU1NUUmVzcG9uc2USDwoHc3VjY2VzcxgBIAEoCBIOCgZvdXRwdXQYAiABKAkSDQoFZXJyb3IYAyABKAkiFgoUR2V0U1NUT3V0cHV0c1JlcXVlc3QiiAEKElNTVE91dHB1dHNSZXNwb25zZRJCCgdvdXRwdXRzGAEgAygLMjEuc3RhY2twYW5lbC5hZ2VudC5TU1RPdXRwdXRzUmVzcG9uc2UuT3V0cHV0c0VudHJ5Gi4KDE91dHB1dHNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIhgKFkdldFNTVFJlc291cmNlc1JlcXVlc3QiNAoLU1NUUmVzb3VyY2USDAoEdHlwZRgBIAEoCRILCgN1cm4YAiABKAkSCgoCaWQYAyABKAkiSAoUU1NUUmVzb3VyY2VzUmVzcG9uc2USMAoJcmVzb3VyY2VzGAEgAygLMh0uc3RhY2twYW5lbC5hZ2VudC5TU1RSZXNvdXJjZSI0ChRTZWFyY2hOaXhwa2dzUmVxdWVzdBINCgVxdWVyeRgBIAEoCRINCgVsaW1pdBgCIAEoBSKiAQoOTml4cGtnc1BhY2thZ2USDAoEbmFtZRgBIAEoCRIRCglhdHRyX3BhdGgYAiABKAkSDwoHdmVyc2lvbhgDIAEoCRITCgtkZXNjcmlwdGlvbhgEIAEoCRIRCglpbnN0YWxsZWQYBSABKAgSDwoHbGljZW5zZRgGIAEoCRIQCghob21lcGFnZRgHIAEoCRITCgtuaXhwa2dzX3VybBgIIAEoCSJLChVTZWFyY2hOaXhwa2dzUmVzcG9uc2USMgoIcGFja2FnZXMYASADKAsyIC5zdGFja3BhbmVsLmFnZW50Lk5peHBrZ3NQYWNrYWdlIh0KG0dldEluc3RhbGxlZFBhY2thZ2VzUmVxdWVzdCJUChBJbnN0YWxsZWRQYWNrYWdlEgwKBG5hbWUYASABKAkSDwoHdmVyc2lvbhgCIAEoCRIRCglhdHRyX3BhdGgYAyABKAkSDgoGc291cmNlGAQgASgJImAKGUluc3RhbGxlZFBhY2thZ2VzUmVzcG9uc2USNAoIcGFja2FnZXMYASADKAsyIi5zdGFja3BhbmVsLmFnZW50Lkluc3RhbGxlZFBhY2thZ2USDQoFY291bnQYAiABKAUiFQoTR2V0UHJvY2Vzc2VzUmVxdWVzdCKZAQoLUHJvY2Vzc0luZm8SDAoEbmFtZRgBIAEoCRIRCgluYW1lc3BhY2UYAiABKAkSDgoGc3RhdHVzGAMgASgJEgsKA3BpZBgEIAEoBRIRCglleGl0X2NvZGUYBSABKAUSEgoKaXNfcnVubmluZxgGIAEoCBIQCghyZXN0YXJ0cxgHIAEoBRITCgtzeXN0ZW1fdGltZRgIIAEoCSJ7ChRHZXRQcm9jZXNzZXNSZXNwb25zZRIRCglhdmFpbGFibGUYASABKAgSDwoHcnVubmluZxgCIAEoCBIwCglwcm9jZXNzZXMYAyADKAsyHS5zdGFja3BhbmVsLmFnZW50LlByb2Nlc3NJbmZvEg0KBWVycm9yGAQgASgJIhgKFkdldEhlYWx0aGNoZWNrc1JlcXVlc3QiYAoPSGVhbHRoY2hlY2tJbmZvEgwKBG5hbWUYASABKAkSDAoEdHlwZRgCIAEoCRIPCgdoZWFsdGh5GAMgASgIEg8KB21lc3NhZ2UYBCABKAkSDwoHZGV0YWlscxgFIAEoCSJeChRIZWFsdGhjaGVja3NSZXNwb25zZRITCgthbGxfaGVhbHRoeRgBIAEoCBIxCgZjaGVja3MYAiADKAsyIS5zdGFja3BhbmVsLmFnZW50LkhlYWx0aGNoZWNrSW5mbyJjChNQYXRjaE5peERhdGFSZXF1ZXN0Eg4KBmVudGl0eRgBIAEoCRILCgNrZXkYAiABKAkSDAoEcGF0aBgDIAEoCRINCgV2YWx1ZRgEIAEoCRISCgp2YWx1ZV90eXBlGAUgASgJIkwKFFBhdGNoTml4RGF0YVJlc3BvbnNlEg8KB3N1Y2Nlc3MYASABKAgSFAoMdXBkYXRlZF9qc29uGAIgASgJEg0KBWVycm9yGAMgASgJIiYKE0dldE5peENvbmZpZ1JlcXVlc3QSDwoHcmVmcmVzaBgBIAEoCCIZChdSZWZyZXNoTml4Q29uZmlnUmVxdWVzdCJeChFOaXhDb25maWdSZXNwb25zZRITCgtjb25maWdfanNvbhgBIAEoCRIUCgxsYXN0X3VwZGF0ZWQYAiABKAkSDgoGY2FjaGVkGAMgASgIEg4KBnNvdXJjZRgEIAEoCSIXChVHZXRTaGVsbFN0YXR1c1JlcXVlc3QifAoTU2hlbGxTdGF0dXNSZXNwb25zZRINCgVzdGFsZRgBIAEoCBISCgpyZWJ1aWxkaW5nGAIgASgIEhIKCmxhc3RfYnVpbHQYAyABKAkSFwoPbGFzdF9uaXhfY2hhbmdlGAQgASgJEhUKDWNoYW5nZWRfZmlsZXMYBSADKAkiJQoTUmVidWlsZFNoZWxsUmVxdWVzdBIOCgZtZXRob2QYASABKAkiZgoRUmVidWlsZFNoZWxsRXZlbnQSDAoEdHlwZRgBIAEoCRIOCgZvdXRwdXQYAiABKAkSEQoJZXhpdF9jb2RlGAMgASgFEg0KBWVycm9yGAQgASgJEhEKCXRpbWVzdGFtcBgFIAEoCTLRHwoMQWdlbnRTZXJ2aWNlElcKCkdldFByb2plY3QSIy5zdGFja3BhbmVsLmFnZW50LkdldFByb2plY3RSZXF1ZXN0GiQuc3RhY2twYW5lbC5hZ2VudC5HZXRQcm9qZWN0UmVzcG9uc2USRgoJR2V0Q29uZmlnEiIuc3RhY2twYW5lbC5hZ2VudC5HZXRDb25maWdSZXF1ZXN0GhUuc3RhY2twYW5lbC5kYi5Db25maWcSOQoJU2V0Q29uZmlnEhUuc3RhY2twYW5lbC5kYi5Db25maWcaFS5zdGFja3BhbmVsLmRiLkNvbmZpZxJJCgpHZXRTZWNyZXRzEiMuc3RhY2twYW5lbC5hZ2VudC5HZXRTZWNyZXRzUmVxdWVzdBoWLnN0YWNrcGFuZWwuZGIuU2VjcmV0cxI8CgpTZXRTZWNyZXRzEhYuc3RhY2twYW5lbC5kYi5TZWNyZXRzGhYuc3RhY2twYW5lbC5kYi5TZWNyZXRzEkMKCEdldFVzZXJzEiEuc3RhY2twYW5lbC5hZ2VudC5HZXRVc2Vyc1JlcXVlc3QaFC5zdGFja3BhbmVsLmRiLlVzZXJzEjYKCFNldFVzZXJzEhQuc3RhY2twYW5lbC5kYi5Vc2VycxoULnN0YWNrcGFuZWwuZGIuVXNlcnMSPQoGR2V0QXdzEh8uc3RhY2twYW5lbC5hZ2VudC5HZXRBd3NSZXF1ZXN0GhIuc3RhY2twYW5lbC5kYi5Bd3MSMAoGU2V0QXdzEhIuc3RhY2twYW5lbC5kYi5Bd3MaEi5zdGFja3BhbmVsLmRiLkF3cxJACgdHZXRBcHBzEiAuc3RhY2twYW5lbC5hZ2VudC5HZXRBcHBzUmVxdWVzdBoTLnN0YWNrcGFuZWwuZGIuQXBwcxIzCgdTZXRBcHBzEhMuc3RhY2twYW5lbC5kYi5BcHBzGhMuc3RhY2twYW5lbC5kYi5BcHBzEk8KDEdldFZhcmlhYmxlcxIlLnN0YWNrcGFuZWwuYWdlbnQuR2V0VmFyaWFibGVzUmVxdWVzdBoYLnN0YWNrcGFuZWwuZGIuVmFyaWFibGVzEkIKDFNldFZhcmlhYmxlcxIYLnN0YWNrcGFuZWwuZGIuVmFyaWFibGVzGhguc3RhY2twYW5lbC5kYi5WYXJpYWJsZXMSSQoKR2V0TW9kdWxlcxIjLnN0YWNrcGFuZWwuYWdlbnQuR2V0TW9kdWxlc1JlcXVlc3QaFi5zdGFja3BhbmVsLmRiLk1vZHVsZXMSRgoJR2V0TW9kdWxlEiIuc3RhY2twYW5lbC5hZ2VudC5HZXRNb2R1bGVSZXF1ZXN0GhUuc3RhY2twYW5lbC5kYi5Nb2R1bGUSWAoQR2V0TW9kdWxlT3V0cHV0cxImLnN0YWNrcGFuZWwuZGIuR2V0TW9kdWxlT3V0cHV0c1JlcXVlc3QaHC5zdGFja3BhbmVsLmRiLk1vZHVsZU91dHB1dHMSUQoMRW5hYmxlTW9kdWxlEiIuc3RhY2twYW5lbC5kYi5FbmFibGVNb2R1bGVSZXF1ZXN0Gh0uc3RhY2twYW5lbC5kYi5Nb2R1bGVSZXNwb25zZRJTCg1EaXNhYmxlTW9kdWxlEiMuc3RhY2twYW5lbC5kYi5EaXNhYmxlTW9kdWxlUmVxdWVzdBodLnN0YWNrcGFuZWwuZGIuTW9kdWxlUmVzcG9uc2USYQoUVXBkYXRlTW9kdWxlU2V0dGluZ3MSKi5zdGFja3BhbmVsLmRiLlVwZGF0ZU1vZHVsZVNldHRpbmdzUmVxdWVzdBodLnN0YWNrcGFuZWwuZGIuTW9kdWxlUmVzcG9uc2USYAoOR2V0QWdlSWRlbnRpdHkSJy5zdGFja3BhbmVsLmFnZW50LkdldEFnZUlkZW50aXR5UmVxdWVzdBolLnN0YWNrcGFuZWwuYWdlbnQuQWdlSWRlbnRpdHlSZXNwb25zZRJgCg5TZXRBZ2VJZGVudGl0eRInLnN0YWNrcGFuZWwuYWdlbnQuU2V0QWdlSWRlbnRpdHlSZXF1ZXN0GiUuc3RhY2twYW5lbC5hZ2VudC5BZ2VJZGVudGl0eVJlc3BvbnNlEloKDEdldEtNU0NvbmZpZxIlLnN0YWNrcGFuZWwuYWdlbnQuR2V0S01TQ29uZmlnUmVxdWVzdBojLnN0YWNrcGFuZWwuYWdlbnQuS01TQ29uZmlnUmVzcG9uc2USWgoMU2V0S01TQ29uZmlnEiUuc3RhY2twYW5lbC5hZ2VudC5TZXRLTVNDb25maWdSZXF1ZXN0GiMuc3RhY2twYW5lbC5hZ2VudC5LTVNDb25maWdSZXNwb25zZRJRCghSZWFkRmlsZRIhLnN0YWNrcGFuZWwuYWdlbnQuUmVhZEZpbGVSZXF1ZXN0GiIuc3RhY2twYW5lbC5hZ2VudC5SZWFkRmlsZVJlc3BvbnNlElQKCVdyaXRlRmlsZRIiLnN0YWNrcGFuZWwuYWdlbnQuV3JpdGVGaWxlUmVxdWVzdBojLnN0YWNrcGFuZWwuYWdlbnQuV3JpdGVGaWxlUmVzcG9uc2USVAoJTGlzdEZpbGVzEiIuc3RhY2twYW5lbC5hZ2VudC5MaXN0RmlsZXNSZXF1ZXN0GiMuc3RhY2twYW5lbC5hZ2VudC5MaXN0RmlsZXNSZXNwb25zZRJFCgRFeGVjEh0uc3RhY2twYW5lbC5hZ2VudC5FeGVjUmVxdWVzdBoeLnN0YWNrcGFuZWwuYWdlbnQuRXhlY1Jlc3BvbnNlEloKC05peEdlbmVyYXRlEiQuc3RhY2twYW5lbC5hZ2VudC5OaXhHZW5lcmF0ZVJlcXVlc3QaJS5zdGFja3BhbmVsLmFnZW50Lk5peEdlbmVyYXRlUmVzcG9uc2USTgoHTml4RXZhbBIgLnN0YWNrcGFuZWwuYWdlbnQuTml4RXZhbFJlcXVlc3QaIS5zdGFja3BhbmVsLmFnZW50Lk5peEV2YWxSZXNwb25zZRJsChFHZXRTZXJ2aWNlc1N0YXR1cxIqLnN0YWNrcGFuZWwuYWdlbnQuR2V0U2VydmljZXNTdGF0dXNSZXF1ZXN0Gisuc3RhY2twYW5lbC5hZ2VudC5HZXRTZXJ2aWNlc1N0YXR1c1Jlc3BvbnNlElMKDFN0YXJ0U2VydmljZRIgLnN0YWNrcGFuZWwuYWdlbnQuU2VydmljZVJlcXVlc3QaIS5zdGFja3BhbmVsLmFnZW50LlNlcnZpY2VSZXNwb25zZRJSCgtTdG9wU2VydmljZRIgLnN0YWNrcGFuZWwuYWdlbnQuU2VydmljZVJlcXVlc3QaIS5zdGFja3BhbmVsLmFnZW50LlNlcnZpY2VSZXNwb25zZRJVCg5SZXN0YXJ0U2VydmljZRIgLnN0YWNrcGFuZWwuYWdlbnQuU2VydmljZVJlcXVlc3QaIS5zdGFja3BhbmVsLmFnZW50LlNlcnZpY2VSZXNwb25zZRJaCgxHZXRTU1RTdGF0dXMSJS5zdGFja3BhbmVsLmFnZW50LkdldFNTVFN0YXR1c1JlcXVlc3QaIy5zdGFja3BhbmVsLmFnZW50LlNTVFN0YXR1c1Jlc3BvbnNlEkkKDEdldFNTVENvbmZpZxIlLnN0YWNrcGFuZWwuYWdlbnQuR2V0U1NUQ29uZmlnUmVxdWVzdBoSLnN0YWNrcGFuZWwuZGIuU3N0ElQKCURlcGxveVNTVBIiLnN0YWNrcGFuZWwuYWdlbnQuRGVwbG95U1NUUmVxdWVzdBojLnN0YWNrcGFuZWwuYWdlbnQuRGVwbG95U1NUUmVzcG9uc2USVAoJUmVtb3ZlU1NUEiIuc3RhY2twYW5lbC5hZ2VudC5SZW1vdmVTU1RSZXF1ZXN0GiMuc3RhY2twYW5lbC5hZ2VudC5SZW1vdmVTU1RSZXNwb25zZRJdCg1HZXRTU1RPdXRwdXRzEiYuc3RhY2twYW5lbC5hZ2VudC5HZXRTU1RPdXRwdXRzUmVxdWVzdBokLnN0YWNrcGFuZWwuYWdlbnQuU1NUT3V0cHV0c1Jlc3BvbnNlEmMKD0dldFNTVFJlc291cmNlcxIoLnN0YWNrcGFuZWwuYWdlbnQuR2V0U1NUUmVzb3VyY2VzUmVxdWVzdBomLnN0YWNrcGFuZWwuYWdlbnQuU1NUUmVzb3VyY2VzUmVzcG9uc2USYAoNU2VhcmNoTml4cGtncxImLnN0YWNrcGFuZWwuYWdlbnQuU2VhcmNoTml4cGtnc1JlcXVlc3QaJy5zdGFja3BhbmVsLmFnZW50LlNlYXJjaE5peHBrZ3NSZXNwb25zZRJyChRHZXRJbnN0YWxsZWRQYWNrYWdlcxItLnN0YWNrcGFuZWwuYWdlbnQuR2V0SW5zdGFsbGVkUGFja2FnZXNSZXF1ZXN0Gisuc3RhY2twYW5lbC5hZ2VudC5JbnN0YWxsZWRQYWNrYWdlc1Jlc3BvbnNlEl0KDEdldFByb2Nlc3NlcxIlLnN0YWNrcGFuZWwuYWdlbnQuR2V0UHJvY2Vzc2VzUmVxdWVzdBomLnN0YWNrcGFuZWwuYWdlbnQuR2V0UHJvY2Vzc2VzUmVzcG9uc2USYwoPR2V0SGVhbHRoY2hlY2tzEiguc3RhY2twYW5lbC5hZ2VudC5HZXRIZWFsdGhjaGVja3NSZXF1ZXN0GiYuc3RhY2twYW5lbC5hZ2VudC5IZWFsdGhjaGVja3NSZXNwb25zZRJdCgxQYXRjaE5peERhdGESJS5zdGFja3BhbmVsLmFnZW50LlBhdGNoTml4RGF0YVJlcXVlc3QaJi5zdGFja3BhbmVsLmFnZW50LlBhdGNoTml4RGF0YVJlc3BvbnNlEloKDEdldE5peENvbmZpZxIlLnN0YWNrcGFuZWwuYWdlbnQuR2V0Tml4Q29uZmlnUmVxdWVzdBojLnN0YWNrcGFuZWwuYWdlbnQuTml4Q29uZmlnUmVzcG9uc2USYgoQUmVmcmVzaE5peENvbmZpZxIpLnN0YWNrcGFuZWwuYWdlbnQuUmVmcmVzaE5peENvbmZpZ1JlcXVlc3QaIy5zdGFja3BhbmVsLmFnZW50Lk5peENvbmZpZ1Jlc3BvbnNlEmAKDkdldFNoZWxsU3RhdHVzEicuc3RhY2twYW5lbC5hZ2VudC5HZXRTaGVsbFN0YXR1c1JlcXVlc3QaJS5zdGFja3BhbmVsLmFnZW50LlNoZWxsU3RhdHVzUmVzcG9uc2USXAoMUmVidWlsZFNoZWxsEiUuc3RhY2twYW5lbC5hZ2VudC5SZWJ1aWxkU2hlbGxSZXF1ZXN0GiMuc3RhY2twYW5lbC5hZ2VudC5SZWJ1aWxkU2hlbGxFdmVudDABQjpaOGdpdGh1Yi5jb20vZGFya21hdHRlci9zdGFja3BhbmVsL3BhY2thZ2VzL3Byb3RvL2dlbi9nb3BiYgZwcm90bzM", [file_config, file_secrets, file_users, file_aws, file_files, file_services, file_apps, file_variables, file_sst, file_modules]); + fileDesc("CgthZ2VudC5wcm90bxIQc3RhY2twYW5lbC5hZ2VudCITChFHZXRQcm9qZWN0UmVxdWVzdCJAChJHZXRQcm9qZWN0UmVzcG9uc2USKgoHcHJvamVjdBgBIAEoCzIZLnN0YWNrcGFuZWwuYWdlbnQuUHJvamVjdCJiCgdQcm9qZWN0EgwKBHBhdGgYASABKAkSDAoEbmFtZRgCIAEoCRIOCgZnaXRodWIYAyABKAkSKwoEZGlycxgEIAEoCzIdLnN0YWNrcGFuZWwuYWdlbnQuRGlyZWN0b3JpZXMiVgoLRGlyZWN0b3JpZXMSDAoEaG9tZRgBIAEoCRIMCgRkYXRhGAIgASgJEgsKA2dlbhgDIAEoCRINCgVzdGF0ZRgEIAEoCRIPCgdzZWNyZXRzGAUgASgJIhMKEUdldFNlY3JldHNSZXF1ZXN0IhEKD0dldFVzZXJzUmVxdWVzdCIQCg5HZXRBcHBzUmVxdWVzdCIVChNHZXRWYXJpYWJsZXNSZXF1ZXN0IpoBCgtFeGVjUmVxdWVzdBIPCgdjb21tYW5kGAEgASgJEgwKBGFyZ3MYAiADKAkSCwoDY3dkGAMgASgJEjMKA2VudhgEIAMoCzImLnN0YWNrcGFuZWwuYWdlbnQuRXhlY1JlcXVlc3QuRW52RW50cnkaKgoIRW52RW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ASJBCgxFeGVjUmVzcG9uc2USEQoJZXhpdF9jb2RlGAEgASgFEg4KBnN0ZG91dBgCIAEoCRIOCgZzdGRlcnIYAyABKAkiHQobR2V0SW5zdGFsbGVkUGFja2FnZXNSZXF1ZXN0IlQKEEluc3RhbGxlZFBhY2thZ2USDAoEbmFtZRgBIAEoCRIPCgd2ZXJzaW9uGAIgASgJEhEKCWF0dHJfcGF0aBgDIAEoCRIOCgZzb3VyY2UYBCABKAkiYAoZSW5zdGFsbGVkUGFja2FnZXNSZXNwb25zZRI0CghwYWNrYWdlcxgBIAMoCzIiLnN0YWNrcGFuZWwuYWdlbnQuSW5zdGFsbGVkUGFja2FnZRINCgVjb3VudBgCIAEoBSIVChNHZXRQcm9jZXNzZXNSZXF1ZXN0IpkBCgtQcm9jZXNzSW5mbxIMCgRuYW1lGAEgASgJEhEKCW5hbWVzcGFjZRgCIAEoCRIOCgZzdGF0dXMYAyABKAkSCwoDcGlkGAQgASgFEhEKCWV4aXRfY29kZRgFIAEoBRISCgppc19ydW5uaW5nGAYgASgIEhAKCHJlc3RhcnRzGAcgASgFEhMKC3N5c3RlbV90aW1lGAggASgJInsKFEdldFByb2Nlc3Nlc1Jlc3BvbnNlEhEKCWF2YWlsYWJsZRgBIAEoCBIPCgdydW5uaW5nGAIgASgIEjAKCXByb2Nlc3NlcxgDIAMoCzIdLnN0YWNrcGFuZWwuYWdlbnQuUHJvY2Vzc0luZm8SDQoFZXJyb3IYBCABKAkiYwoTUGF0Y2hOaXhEYXRhUmVxdWVzdBIOCgZlbnRpdHkYASABKAkSCwoDa2V5GAIgASgJEgwKBHBhdGgYAyABKAkSDQoFdmFsdWUYBCABKAkSEgoKdmFsdWVfdHlwZRgFIAEoCSJMChRQYXRjaE5peERhdGFSZXNwb25zZRIPCgdzdWNjZXNzGAEgASgIEhQKDHVwZGF0ZWRfanNvbhgCIAEoCRINCgVlcnJvchgDIAEoCSImChNHZXROaXhDb25maWdSZXF1ZXN0Eg8KB3JlZnJlc2gYASABKAgiXgoRTml4Q29uZmlnUmVzcG9uc2USEwoLY29uZmlnX2pzb24YASABKAkSFAoMbGFzdF91cGRhdGVkGAIgASgJEg4KBmNhY2hlZBgDIAEoCBIOCgZzb3VyY2UYBCABKAkiFwoVR2V0U2hlbGxTdGF0dXNSZXF1ZXN0InwKE1NoZWxsU3RhdHVzUmVzcG9uc2USDQoFc3RhbGUYASABKAgSEgoKcmVidWlsZGluZxgCIAEoCBISCgpsYXN0X2J1aWx0GAMgASgJEhcKD2xhc3Rfbml4X2NoYW5nZRgEIAEoCRIVCg1jaGFuZ2VkX2ZpbGVzGAUgAygJIiUKE1JlYnVpbGRTaGVsbFJlcXVlc3QSDgoGbWV0aG9kGAEgASgJImYKEVJlYnVpbGRTaGVsbEV2ZW50EgwKBHR5cGUYASABKAkSDgoGb3V0cHV0GAIgASgJEhEKCWV4aXRfY29kZRgDIAEoBRINCgVlcnJvchgEIAEoCRIRCgl0aW1lc3RhbXAYBSABKAky+QgKDEFnZW50U2VydmljZRJXCgpHZXRQcm9qZWN0EiMuc3RhY2twYW5lbC5hZ2VudC5HZXRQcm9qZWN0UmVxdWVzdBokLnN0YWNrcGFuZWwuYWdlbnQuR2V0UHJvamVjdFJlc3BvbnNlEkkKCkdldFNlY3JldHMSIy5zdGFja3BhbmVsLmFnZW50LkdldFNlY3JldHNSZXF1ZXN0GhYuc3RhY2twYW5lbC5kYi5TZWNyZXRzEkMKCEdldFVzZXJzEiEuc3RhY2twYW5lbC5hZ2VudC5HZXRVc2Vyc1JlcXVlc3QaFC5zdGFja3BhbmVsLmRiLlVzZXJzEkAKB0dldEFwcHMSIC5zdGFja3BhbmVsLmFnZW50LkdldEFwcHNSZXF1ZXN0GhMuc3RhY2twYW5lbC5kYi5BcHBzEk8KDEdldFZhcmlhYmxlcxIlLnN0YWNrcGFuZWwuYWdlbnQuR2V0VmFyaWFibGVzUmVxdWVzdBoYLnN0YWNrcGFuZWwuZGIuVmFyaWFibGVzElgKEEdldE1vZHVsZU91dHB1dHMSJi5zdGFja3BhbmVsLmRiLkdldE1vZHVsZU91dHB1dHNSZXF1ZXN0Ghwuc3RhY2twYW5lbC5kYi5Nb2R1bGVPdXRwdXRzEkUKBEV4ZWMSHS5zdGFja3BhbmVsLmFnZW50LkV4ZWNSZXF1ZXN0Gh4uc3RhY2twYW5lbC5hZ2VudC5FeGVjUmVzcG9uc2UScgoUR2V0SW5zdGFsbGVkUGFja2FnZXMSLS5zdGFja3BhbmVsLmFnZW50LkdldEluc3RhbGxlZFBhY2thZ2VzUmVxdWVzdBorLnN0YWNrcGFuZWwuYWdlbnQuSW5zdGFsbGVkUGFja2FnZXNSZXNwb25zZRJdCgxHZXRQcm9jZXNzZXMSJS5zdGFja3BhbmVsLmFnZW50LkdldFByb2Nlc3Nlc1JlcXVlc3QaJi5zdGFja3BhbmVsLmFnZW50LkdldFByb2Nlc3Nlc1Jlc3BvbnNlEl0KDFBhdGNoTml4RGF0YRIlLnN0YWNrcGFuZWwuYWdlbnQuUGF0Y2hOaXhEYXRhUmVxdWVzdBomLnN0YWNrcGFuZWwuYWdlbnQuUGF0Y2hOaXhEYXRhUmVzcG9uc2USWgoMR2V0Tml4Q29uZmlnEiUuc3RhY2twYW5lbC5hZ2VudC5HZXROaXhDb25maWdSZXF1ZXN0GiMuc3RhY2twYW5lbC5hZ2VudC5OaXhDb25maWdSZXNwb25zZRJgCg5HZXRTaGVsbFN0YXR1cxInLnN0YWNrcGFuZWwuYWdlbnQuR2V0U2hlbGxTdGF0dXNSZXF1ZXN0GiUuc3RhY2twYW5lbC5hZ2VudC5TaGVsbFN0YXR1c1Jlc3BvbnNlElwKDFJlYnVpbGRTaGVsbBIlLnN0YWNrcGFuZWwuYWdlbnQuUmVidWlsZFNoZWxsUmVxdWVzdBojLnN0YWNrcGFuZWwuYWdlbnQuUmVidWlsZFNoZWxsRXZlbnQwAUI6WjhnaXRodWIuY29tL2RhcmttYXR0ZXIvc3RhY2twYW5lbC9wYWNrYWdlcy9wcm90by9nZW4vZ29wYmIGcHJvdG8z", [file_secrets, file_users, file_files, file_services, file_apps, file_variables, file_modules]); /** * Describes the message stackpanel.agent.GetProjectRequest. @@ -48,467 +45,145 @@ export const ProjectSchema = /*@__PURE__*/ export const DirectoriesSchema = /*@__PURE__*/ messageDesc(file_agent, 3); -/** - * Describes the message stackpanel.agent.GetConfigRequest. - * Use `create(GetConfigRequestSchema)` to create a new message. - */ -export const GetConfigRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 4); - /** * Describes the message stackpanel.agent.GetSecretsRequest. * Use `create(GetSecretsRequestSchema)` to create a new message. */ export const GetSecretsRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 5); + messageDesc(file_agent, 4); /** * Describes the message stackpanel.agent.GetUsersRequest. * Use `create(GetUsersRequestSchema)` to create a new message. */ export const GetUsersRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 6); - -/** - * Describes the message stackpanel.agent.GetAwsRequest. - * Use `create(GetAwsRequestSchema)` to create a new message. - */ -export const GetAwsRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 7); + messageDesc(file_agent, 5); /** * Describes the message stackpanel.agent.GetAppsRequest. * Use `create(GetAppsRequestSchema)` to create a new message. */ export const GetAppsRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 8); + messageDesc(file_agent, 6); /** * Describes the message stackpanel.agent.GetVariablesRequest. * Use `create(GetVariablesRequestSchema)` to create a new message. */ export const GetVariablesRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 9); - -/** - * Describes the message stackpanel.agent.GetSstRequest. - * Use `create(GetSstRequestSchema)` to create a new message. - */ -export const GetSstRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 10); - -/** - * Describes the message stackpanel.agent.GetModulesRequest. - * Use `create(GetModulesRequestSchema)` to create a new message. - */ -export const GetModulesRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 11); - -/** - * Describes the message stackpanel.agent.GetModuleRequest. - * Use `create(GetModuleRequestSchema)` to create a new message. - */ -export const GetModuleRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 12); - -/** - * Describes the message stackpanel.agent.GetAgeIdentityRequest. - * Use `create(GetAgeIdentityRequestSchema)` to create a new message. - */ -export const GetAgeIdentityRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 13); - -/** - * Describes the message stackpanel.agent.SetAgeIdentityRequest. - * Use `create(SetAgeIdentityRequestSchema)` to create a new message. - */ -export const SetAgeIdentityRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 14); - -/** - * Describes the message stackpanel.agent.AgeIdentityResponse. - * Use `create(AgeIdentityResponseSchema)` to create a new message. - */ -export const AgeIdentityResponseSchema = /*@__PURE__*/ - messageDesc(file_agent, 15); - -/** - * Describes the message stackpanel.agent.GetKMSConfigRequest. - * Use `create(GetKMSConfigRequestSchema)` to create a new message. - */ -export const GetKMSConfigRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 16); - -/** - * Describes the message stackpanel.agent.SetKMSConfigRequest. - * Use `create(SetKMSConfigRequestSchema)` to create a new message. - */ -export const SetKMSConfigRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 17); - -/** - * Describes the message stackpanel.agent.KMSConfigResponse. - * Use `create(KMSConfigResponseSchema)` to create a new message. - */ -export const KMSConfigResponseSchema = /*@__PURE__*/ - messageDesc(file_agent, 18); - -/** - * Describes the message stackpanel.agent.ReadFileRequest. - * Use `create(ReadFileRequestSchema)` to create a new message. - */ -export const ReadFileRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 19); - -/** - * Describes the message stackpanel.agent.ReadFileResponse. - * Use `create(ReadFileResponseSchema)` to create a new message. - */ -export const ReadFileResponseSchema = /*@__PURE__*/ - messageDesc(file_agent, 20); - -/** - * Describes the message stackpanel.agent.WriteFileRequest. - * Use `create(WriteFileRequestSchema)` to create a new message. - */ -export const WriteFileRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 21); - -/** - * Describes the message stackpanel.agent.WriteFileResponse. - * Use `create(WriteFileResponseSchema)` to create a new message. - */ -export const WriteFileResponseSchema = /*@__PURE__*/ - messageDesc(file_agent, 22); - -/** - * Describes the message stackpanel.agent.ListFilesRequest. - * Use `create(ListFilesRequestSchema)` to create a new message. - */ -export const ListFilesRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 23); - -/** - * Describes the message stackpanel.agent.ListFilesResponse. - * Use `create(ListFilesResponseSchema)` to create a new message. - */ -export const ListFilesResponseSchema = /*@__PURE__*/ - messageDesc(file_agent, 24); - -/** - * Describes the message stackpanel.agent.FileInfo. - * Use `create(FileInfoSchema)` to create a new message. - */ -export const FileInfoSchema = /*@__PURE__*/ - messageDesc(file_agent, 25); + messageDesc(file_agent, 7); /** * Describes the message stackpanel.agent.ExecRequest. * Use `create(ExecRequestSchema)` to create a new message. */ export const ExecRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 26); + messageDesc(file_agent, 8); /** * Describes the message stackpanel.agent.ExecResponse. * Use `create(ExecResponseSchema)` to create a new message. */ export const ExecResponseSchema = /*@__PURE__*/ - messageDesc(file_agent, 27); - -/** - * Describes the message stackpanel.agent.NixGenerateRequest. - * Use `create(NixGenerateRequestSchema)` to create a new message. - */ -export const NixGenerateRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 28); - -/** - * Describes the message stackpanel.agent.NixGenerateResponse. - * Use `create(NixGenerateResponseSchema)` to create a new message. - */ -export const NixGenerateResponseSchema = /*@__PURE__*/ - messageDesc(file_agent, 29); - -/** - * Describes the message stackpanel.agent.NixEvalRequest. - * Use `create(NixEvalRequestSchema)` to create a new message. - */ -export const NixEvalRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 30); - -/** - * Describes the message stackpanel.agent.NixEvalResponse. - * Use `create(NixEvalResponseSchema)` to create a new message. - */ -export const NixEvalResponseSchema = /*@__PURE__*/ - messageDesc(file_agent, 31); - -/** - * Describes the message stackpanel.agent.GetServicesStatusRequest. - * Use `create(GetServicesStatusRequestSchema)` to create a new message. - */ -export const GetServicesStatusRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 32); - -/** - * Describes the message stackpanel.agent.GetServicesStatusResponse. - * Use `create(GetServicesStatusResponseSchema)` to create a new message. - */ -export const GetServicesStatusResponseSchema = /*@__PURE__*/ - messageDesc(file_agent, 33); - -/** - * Describes the message stackpanel.agent.ServiceStatus. - * Use `create(ServiceStatusSchema)` to create a new message. - */ -export const ServiceStatusSchema = /*@__PURE__*/ - messageDesc(file_agent, 34); - -/** - * Describes the message stackpanel.agent.ServiceRequest. - * Use `create(ServiceRequestSchema)` to create a new message. - */ -export const ServiceRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 35); - -/** - * Describes the message stackpanel.agent.ServiceResponse. - * Use `create(ServiceResponseSchema)` to create a new message. - */ -export const ServiceResponseSchema = /*@__PURE__*/ - messageDesc(file_agent, 36); - -/** - * Describes the message stackpanel.agent.GetSSTStatusRequest. - * Use `create(GetSSTStatusRequestSchema)` to create a new message. - */ -export const GetSSTStatusRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 37); - -/** - * Describes the message stackpanel.agent.SSTStatusResponse. - * Use `create(SSTStatusResponseSchema)` to create a new message. - */ -export const SSTStatusResponseSchema = /*@__PURE__*/ - messageDesc(file_agent, 38); - -/** - * Describes the message stackpanel.agent.GetSSTConfigRequest. - * Use `create(GetSSTConfigRequestSchema)` to create a new message. - */ -export const GetSSTConfigRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 39); - -/** - * Describes the message stackpanel.agent.DeploySSTRequest. - * Use `create(DeploySSTRequestSchema)` to create a new message. - */ -export const DeploySSTRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 40); - -/** - * Describes the message stackpanel.agent.DeploySSTResponse. - * Use `create(DeploySSTResponseSchema)` to create a new message. - */ -export const DeploySSTResponseSchema = /*@__PURE__*/ - messageDesc(file_agent, 41); - -/** - * Describes the message stackpanel.agent.RemoveSSTRequest. - * Use `create(RemoveSSTRequestSchema)` to create a new message. - */ -export const RemoveSSTRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 42); - -/** - * Describes the message stackpanel.agent.RemoveSSTResponse. - * Use `create(RemoveSSTResponseSchema)` to create a new message. - */ -export const RemoveSSTResponseSchema = /*@__PURE__*/ - messageDesc(file_agent, 43); - -/** - * Describes the message stackpanel.agent.GetSSTOutputsRequest. - * Use `create(GetSSTOutputsRequestSchema)` to create a new message. - */ -export const GetSSTOutputsRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 44); - -/** - * Describes the message stackpanel.agent.SSTOutputsResponse. - * Use `create(SSTOutputsResponseSchema)` to create a new message. - */ -export const SSTOutputsResponseSchema = /*@__PURE__*/ - messageDesc(file_agent, 45); - -/** - * Describes the message stackpanel.agent.GetSSTResourcesRequest. - * Use `create(GetSSTResourcesRequestSchema)` to create a new message. - */ -export const GetSSTResourcesRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 46); - -/** - * Describes the message stackpanel.agent.SSTResource. - * Use `create(SSTResourceSchema)` to create a new message. - */ -export const SSTResourceSchema = /*@__PURE__*/ - messageDesc(file_agent, 47); - -/** - * Describes the message stackpanel.agent.SSTResourcesResponse. - * Use `create(SSTResourcesResponseSchema)` to create a new message. - */ -export const SSTResourcesResponseSchema = /*@__PURE__*/ - messageDesc(file_agent, 48); - -/** - * Describes the message stackpanel.agent.SearchNixpkgsRequest. - * Use `create(SearchNixpkgsRequestSchema)` to create a new message. - */ -export const SearchNixpkgsRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 49); - -/** - * Describes the message stackpanel.agent.NixpkgsPackage. - * Use `create(NixpkgsPackageSchema)` to create a new message. - */ -export const NixpkgsPackageSchema = /*@__PURE__*/ - messageDesc(file_agent, 50); - -/** - * Describes the message stackpanel.agent.SearchNixpkgsResponse. - * Use `create(SearchNixpkgsResponseSchema)` to create a new message. - */ -export const SearchNixpkgsResponseSchema = /*@__PURE__*/ - messageDesc(file_agent, 51); + messageDesc(file_agent, 9); /** * Describes the message stackpanel.agent.GetInstalledPackagesRequest. * Use `create(GetInstalledPackagesRequestSchema)` to create a new message. */ export const GetInstalledPackagesRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 52); + messageDesc(file_agent, 10); /** * Describes the message stackpanel.agent.InstalledPackage. * Use `create(InstalledPackageSchema)` to create a new message. */ export const InstalledPackageSchema = /*@__PURE__*/ - messageDesc(file_agent, 53); + messageDesc(file_agent, 11); /** * Describes the message stackpanel.agent.InstalledPackagesResponse. * Use `create(InstalledPackagesResponseSchema)` to create a new message. */ export const InstalledPackagesResponseSchema = /*@__PURE__*/ - messageDesc(file_agent, 54); + messageDesc(file_agent, 12); /** * Describes the message stackpanel.agent.GetProcessesRequest. * Use `create(GetProcessesRequestSchema)` to create a new message. */ export const GetProcessesRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 55); + messageDesc(file_agent, 13); /** * Describes the message stackpanel.agent.ProcessInfo. * Use `create(ProcessInfoSchema)` to create a new message. */ export const ProcessInfoSchema = /*@__PURE__*/ - messageDesc(file_agent, 56); + messageDesc(file_agent, 14); /** * Describes the message stackpanel.agent.GetProcessesResponse. * Use `create(GetProcessesResponseSchema)` to create a new message. */ export const GetProcessesResponseSchema = /*@__PURE__*/ - messageDesc(file_agent, 57); - -/** - * Describes the message stackpanel.agent.GetHealthchecksRequest. - * Use `create(GetHealthchecksRequestSchema)` to create a new message. - */ -export const GetHealthchecksRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 58); - -/** - * Describes the message stackpanel.agent.HealthcheckInfo. - * Use `create(HealthcheckInfoSchema)` to create a new message. - */ -export const HealthcheckInfoSchema = /*@__PURE__*/ - messageDesc(file_agent, 59); - -/** - * Describes the message stackpanel.agent.HealthchecksResponse. - * Use `create(HealthchecksResponseSchema)` to create a new message. - */ -export const HealthchecksResponseSchema = /*@__PURE__*/ - messageDesc(file_agent, 60); + messageDesc(file_agent, 15); /** * Describes the message stackpanel.agent.PatchNixDataRequest. * Use `create(PatchNixDataRequestSchema)` to create a new message. */ export const PatchNixDataRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 61); + messageDesc(file_agent, 16); /** * Describes the message stackpanel.agent.PatchNixDataResponse. * Use `create(PatchNixDataResponseSchema)` to create a new message. */ export const PatchNixDataResponseSchema = /*@__PURE__*/ - messageDesc(file_agent, 62); + messageDesc(file_agent, 17); /** * Describes the message stackpanel.agent.GetNixConfigRequest. * Use `create(GetNixConfigRequestSchema)` to create a new message. */ export const GetNixConfigRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 63); - -/** - * Describes the message stackpanel.agent.RefreshNixConfigRequest. - * Use `create(RefreshNixConfigRequestSchema)` to create a new message. - */ -export const RefreshNixConfigRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 64); + messageDesc(file_agent, 18); /** * Describes the message stackpanel.agent.NixConfigResponse. * Use `create(NixConfigResponseSchema)` to create a new message. */ export const NixConfigResponseSchema = /*@__PURE__*/ - messageDesc(file_agent, 65); + messageDesc(file_agent, 19); /** * Describes the message stackpanel.agent.GetShellStatusRequest. * Use `create(GetShellStatusRequestSchema)` to create a new message. */ export const GetShellStatusRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 66); + messageDesc(file_agent, 20); /** * Describes the message stackpanel.agent.ShellStatusResponse. * Use `create(ShellStatusResponseSchema)` to create a new message. */ export const ShellStatusResponseSchema = /*@__PURE__*/ - messageDesc(file_agent, 67); + messageDesc(file_agent, 21); /** * Describes the message stackpanel.agent.RebuildShellRequest. * Use `create(RebuildShellRequestSchema)` to create a new message. */ export const RebuildShellRequestSchema = /*@__PURE__*/ - messageDesc(file_agent, 68); + messageDesc(file_agent, 22); /** * Describes the message stackpanel.agent.RebuildShellEvent. * Use `create(RebuildShellEventSchema)` to create a new message. */ export const RebuildShellEventSchema = /*@__PURE__*/ - messageDesc(file_agent, 69); + messageDesc(file_agent, 23); /** * AgentService provides RPC methods for the Stackpanel agent. diff --git a/packages/proto/proto/agent.proto b/packages/proto/proto/agent.proto index 05f6dea3..9b979bbb 100644 --- a/packages/proto/proto/agent.proto +++ b/packages/proto/proto/agent.proto @@ -3,15 +3,12 @@ syntax = "proto3"; package stackpanel.agent; option go_package = "github.com/darkmatter/stackpanel/packages/proto/gen/gopb"; -import "config.proto"; import "secrets.proto"; import "users.proto"; -import "aws.proto"; import "files.proto"; import "services.proto"; import "apps.proto"; import "variables.proto"; -import "sst.proto"; import "modules.proto"; // ============================================================================= @@ -23,85 +20,31 @@ import "modules.proto"; service AgentService { // Project rpc GetProject(GetProjectRequest) returns (GetProjectResponse); - - // Config entities - generic CRUD for Nix data files - rpc GetConfig(GetConfigRequest) returns (stackpanel.db.Config); - rpc SetConfig(stackpanel.db.Config) returns (stackpanel.db.Config); - + + // Config entities - read Nix data files rpc GetSecrets(GetSecretsRequest) returns (stackpanel.db.Secrets); - rpc SetSecrets(stackpanel.db.Secrets) returns (stackpanel.db.Secrets); - rpc GetUsers(GetUsersRequest) returns (stackpanel.db.Users); - rpc SetUsers(stackpanel.db.Users) returns (stackpanel.db.Users); - - rpc GetAws(GetAwsRequest) returns (stackpanel.db.Aws); - rpc SetAws(stackpanel.db.Aws) returns (stackpanel.db.Aws); - rpc GetApps(GetAppsRequest) returns (stackpanel.db.Apps); - rpc SetApps(stackpanel.db.Apps) returns (stackpanel.db.Apps); - rpc GetVariables(GetVariablesRequest) returns (stackpanel.db.Variables); - rpc SetVariables(stackpanel.db.Variables) returns (stackpanel.db.Variables); - - // Modules - module configuration management - rpc GetModules(GetModulesRequest) returns (stackpanel.db.Modules); - rpc GetModule(GetModuleRequest) returns (stackpanel.db.Module); + + // Modules rpc GetModuleOutputs(stackpanel.db.GetModuleOutputsRequest) returns (stackpanel.db.ModuleOutputs); - rpc EnableModule(stackpanel.db.EnableModuleRequest) returns (stackpanel.db.ModuleResponse); - rpc DisableModule(stackpanel.db.DisableModuleRequest) returns (stackpanel.db.ModuleResponse); - rpc UpdateModuleSettings(stackpanel.db.UpdateModuleSettingsRequest) returns (stackpanel.db.ModuleResponse); - - // Identity management (local decryption key) - rpc GetAgeIdentity(GetAgeIdentityRequest) returns (AgeIdentityResponse); - rpc SetAgeIdentity(SetAgeIdentityRequest) returns (AgeIdentityResponse); - - // KMS configuration - rpc GetKMSConfig(GetKMSConfigRequest) returns (KMSConfigResponse); - rpc SetKMSConfig(SetKMSConfigRequest) returns (KMSConfigResponse); - - // File operations - rpc ReadFile(ReadFileRequest) returns (ReadFileResponse); - rpc WriteFile(WriteFileRequest) returns (WriteFileResponse); - rpc ListFiles(ListFilesRequest) returns (ListFilesResponse); - + // Command execution rpc Exec(ExecRequest) returns (ExecResponse); - - // Nix operations - rpc NixGenerate(NixGenerateRequest) returns (NixGenerateResponse); - rpc NixEval(NixEvalRequest) returns (NixEvalResponse); - - // Services (process-compose) - rpc GetServicesStatus(GetServicesStatusRequest) returns (GetServicesStatusResponse); - rpc StartService(ServiceRequest) returns (ServiceResponse); - rpc StopService(ServiceRequest) returns (ServiceResponse); - rpc RestartService(ServiceRequest) returns (ServiceResponse); - - // SST Infrastructure - rpc GetSSTStatus(GetSSTStatusRequest) returns (SSTStatusResponse); - rpc GetSSTConfig(GetSSTConfigRequest) returns (stackpanel.db.Sst); - rpc DeploySST(DeploySSTRequest) returns (DeploySSTResponse); - rpc RemoveSST(RemoveSSTRequest) returns (RemoveSSTResponse); - rpc GetSSTOutputs(GetSSTOutputsRequest) returns (SSTOutputsResponse); - rpc GetSSTResources(GetSSTResourcesRequest) returns (SSTResourcesResponse); - + // Nixpkgs package management - rpc SearchNixpkgs(SearchNixpkgsRequest) returns (SearchNixpkgsResponse); rpc GetInstalledPackages(GetInstalledPackagesRequest) returns (InstalledPackagesResponse); - + // Process-compose processes rpc GetProcesses(GetProcessesRequest) returns (GetProcessesResponse); - - // Healthchecks - rpc GetHealthchecks(GetHealthchecksRequest) returns (HealthchecksResponse); - + // Nix data patch - update a single value at a nested path within an entity rpc PatchNixData(PatchNixDataRequest) returns (PatchNixDataResponse); - + // Full Nix config (evaluated from flake) rpc GetNixConfig(GetNixConfigRequest) returns (NixConfigResponse); - rpc RefreshNixConfig(RefreshNixConfigRequest) returns (NixConfigResponse); - + // Devshell management rpc GetShellStatus(GetShellStatusRequest) returns (ShellStatusResponse); rpc RebuildShell(RebuildShellRequest) returns (stream RebuildShellEvent); @@ -136,100 +79,10 @@ message Directories { // Config Entity Requests (empty, just for RPC signature) // ============================================================================= -message GetConfigRequest {} message GetSecretsRequest {} message GetUsersRequest {} -message GetAwsRequest {} message GetAppsRequest {} message GetVariablesRequest {} -message GetSstRequest {} -message GetModulesRequest {} -message GetModuleRequest { - string module_id = 1; -} - -// ============================================================================= -// Identity Management -// ============================================================================= - -message GetAgeIdentityRequest {} - -message SetAgeIdentityRequest { - // Value can be a file path (e.g., ~/.ssh/id_ed25519) or key content - string value = 1; -} - -message AgeIdentityResponse { - // Type is "path", "key", or "" (not configured) - string type = 1; - // Value is the path (if type=path) or "(key stored)" (if type=key) - string value = 2; - // KeyPath is the actual file path used for decryption - string key_path = 3; - // PublicKey is the derived public key (for AGE keys) - string public_key = 4; -} - -// ============================================================================= -// KMS Configuration -// ============================================================================= - -message GetKMSConfigRequest {} - -message SetKMSConfigRequest { - bool enable = 1; - string key_arn = 2; - string aws_profile = 3; -} - -message KMSConfigResponse { - bool enable = 1; - string key_arn = 2; - string aws_profile = 3; - // Source indicates where the config came from: "state" or "nix" - string source = 4; -} - -// ============================================================================= -// File Operations -// ============================================================================= - -message ReadFileRequest { - string path = 1; -} - -message ReadFileResponse { - string content = 1; - bool exists = 2; -} - -message WriteFileRequest { - string path = 1; - string content = 2; - // Mode is the file permission (e.g., 0644). If 0, uses default. - uint32 mode = 3; -} - -message WriteFileResponse { - bool success = 1; -} - -message ListFilesRequest { - string path = 1; - string pattern = 2; // Optional glob pattern -} - -message ListFilesResponse { - repeated FileInfo files = 1; -} - -message FileInfo { - string name = 1; - string path = 2; - bool is_dir = 3; - int64 size = 4; - int64 mod_time = 5; // Unix timestamp -} // ============================================================================= // Command Execution @@ -248,134 +101,10 @@ message ExecResponse { string stderr = 3; } -// ============================================================================= -// Nix Operations -// ============================================================================= - -message NixGenerateRequest {} - -message NixGenerateResponse { - bool success = 1; - string output = 2; -} - -message NixEvalRequest { - string expression = 1; - bool json = 2; -} - -message NixEvalResponse { - string result = 1; -} - -// ============================================================================= -// Services (process-compose) -// ============================================================================= - -message GetServicesStatusRequest {} - -message GetServicesStatusResponse { - bool running = 1; - repeated ServiceStatus services = 2; -} - -message ServiceStatus { - string name = 1; - string status = 2; // "running", "stopped", "error" - int32 pid = 3; - int64 uptime = 4; // Seconds -} - -message ServiceRequest { - string name = 1; -} - -message ServiceResponse { - bool success = 1; - string message = 2; -} - -// ============================================================================= -// SST Infrastructure -// ============================================================================= - -message GetSSTStatusRequest {} - -message SSTStatusResponse { - bool configured = 1; - string config_path = 2; - bool config_valid = 3; - bool deployed = 4; - string stage = 5; - string last_deploy = 6; - string error = 7; -} - -message GetSSTConfigRequest {} - -message DeploySSTRequest { - string stage = 1; // dev, staging, production -} - -message DeploySSTResponse { - bool success = 1; - string output = 2; - string error = 3; - map outputs = 4; -} - -message RemoveSSTRequest { - string stage = 1; -} - -message RemoveSSTResponse { - bool success = 1; - string output = 2; - string error = 3; -} - -message GetSSTOutputsRequest {} - -message SSTOutputsResponse { - map outputs = 1; -} - -message GetSSTResourcesRequest {} - -message SSTResource { - string type = 1; - string urn = 2; - string id = 3; -} - -message SSTResourcesResponse { - repeated SSTResource resources = 1; -} - // ============================================================================= // Nixpkgs Package Management // ============================================================================= -message SearchNixpkgsRequest { - string query = 1; - int32 limit = 2; // Max results to return -} - -message NixpkgsPackage { - string name = 1; - string attr_path = 2; - string version = 3; - string description = 4; - bool installed = 5; - string license = 6; - string homepage = 7; - string nixpkgs_url = 8; -} - -message SearchNixpkgsResponse { - repeated NixpkgsPackage packages = 1; -} - message GetInstalledPackagesRequest {} message InstalledPackage { @@ -414,26 +143,6 @@ message GetProcessesResponse { string error = 4; } -// ============================================================================= -// Healthchecks -// ============================================================================= - -message GetHealthchecksRequest {} - -// Simple healthcheck info for RPC responses (distinct from db.HealthcheckResult) -message HealthcheckInfo { - string name = 1; - string type = 2; // service, port, http, etc. - bool healthy = 3; - string message = 4; - string details = 5; -} - -message HealthchecksResponse { - bool all_healthy = 1; - repeated HealthcheckInfo checks = 2; -} - // ============================================================================= // Nix Data Patch // ============================================================================= @@ -483,8 +192,6 @@ message GetNixConfigRequest { bool refresh = 1; // Force re-evaluation } -message RefreshNixConfigRequest {} - message NixConfigResponse { // The full config is a dynamic JSON object, stored as string string config_json = 1;