@clavis.nexus/setup 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +42 -23
- package/dist/cli.js +441 -145
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +12 -4
- package/dist/index.js +341 -128
- package/dist/index.js.map +1 -1
- package/dist/mcp.js +398 -139
- package/dist/mcp.js.map +1 -1
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -70,8 +70,11 @@ type CreateSetupClientOptions = {
|
|
|
70
70
|
type SetupClient = {
|
|
71
71
|
origins: SetupOrigins;
|
|
72
72
|
getSession(): Promise<DevelopersSession | null>;
|
|
73
|
-
login(
|
|
73
|
+
login(opts?: {
|
|
74
|
+
bridgeJson?: string;
|
|
75
|
+
}): Promise<SetupResult<{
|
|
74
76
|
sub?: string;
|
|
77
|
+
pending?: true;
|
|
75
78
|
}>>;
|
|
76
79
|
logout(): Promise<SetupResult<{
|
|
77
80
|
cleared: true;
|
|
@@ -128,7 +131,7 @@ type SetupClient = {
|
|
|
128
131
|
}): Promise<SetupResult<{
|
|
129
132
|
app_id: string;
|
|
130
133
|
host: string;
|
|
131
|
-
|
|
134
|
+
operate_private_jwk_path: string;
|
|
132
135
|
human: HumanAction;
|
|
133
136
|
}>>;
|
|
134
137
|
appHostPlan(orgId: string, appId: string): Promise<SetupResult<{
|
|
@@ -157,9 +160,14 @@ type SetupClient = {
|
|
|
157
160
|
}>>;
|
|
158
161
|
emitEnv(args: {
|
|
159
162
|
appId: string;
|
|
160
|
-
operatePrivateJwkJson
|
|
163
|
+
operatePrivateJwkJson?: string;
|
|
161
164
|
}): Promise<SetupResult<{
|
|
162
|
-
|
|
165
|
+
env_file: string;
|
|
166
|
+
operate_private_jwk_path: string;
|
|
167
|
+
public_env: {
|
|
168
|
+
CLAVIS_API_ORIGIN: string;
|
|
169
|
+
CLAVIS_APP_ID: string;
|
|
170
|
+
};
|
|
163
171
|
shell: string;
|
|
164
172
|
}>>;
|
|
165
173
|
};
|