@lightdash/cli 2.544.0 → 2.546.0
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.
|
@@ -11,7 +11,7 @@ const oauth_1 = require("./login/oauth");
|
|
|
11
11
|
const getFailureReason = (error) => {
|
|
12
12
|
switch (error) {
|
|
13
13
|
case 'not_agent_session':
|
|
14
|
-
return 'Your Snowflake sign-in is not an agent session. Ask your Snowflake admin to set IS_AGENTIC = TRUE on the security integration used for
|
|
14
|
+
return 'Your Snowflake sign-in is not an agent session. Ask your Snowflake admin to set IS_AGENTIC = TRUE on the security integration used for agents.';
|
|
15
15
|
case 'no_refresh_token':
|
|
16
16
|
return 'Snowflake did not return a refresh token. Try again.';
|
|
17
17
|
case 'license_required':
|
|
@@ -34,7 +34,7 @@ const agentConnectHandler = async (options) => {
|
|
|
34
34
|
return;
|
|
35
35
|
}
|
|
36
36
|
if (access.requirementSource === null) {
|
|
37
|
-
console.error('Agent
|
|
37
|
+
console.error('Agent sign-in is not required for this project');
|
|
38
38
|
return;
|
|
39
39
|
}
|
|
40
40
|
if (access.refusal?.action !== 'sign_in' || !access.refusal.connectUrl) {
|
|
@@ -12,7 +12,7 @@ const agentStatusHandler = async (options) => {
|
|
|
12
12
|
return;
|
|
13
13
|
}
|
|
14
14
|
if (access.requirementSource === null) {
|
|
15
|
-
console.error('Agent
|
|
15
|
+
console.error('Agent sign-in is not required for this project');
|
|
16
16
|
return;
|
|
17
17
|
}
|
|
18
18
|
if (access.refusal?.action === 'sign_in') {
|
package/dist/index.js
CHANGED
|
@@ -172,7 +172,7 @@ ${styles.bold('Examples:')}
|
|
|
172
172
|
.action(agentConnect_1.agentConnectHandler);
|
|
173
173
|
agentProgram
|
|
174
174
|
.command('status')
|
|
175
|
-
.description('Shows your agent
|
|
175
|
+
.description('Shows your agent sign-in status for a project')
|
|
176
176
|
.option('--project <project uuid or slug>', 'Specify the project', parseProjectArgument)
|
|
177
177
|
.option('--verbose', undefined, false)
|
|
178
178
|
.addHelpText('after', `
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lightdash/cli",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.546.0",
|
|
4
4
|
"description": "Lightdash CLI tool",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"@actions/core": "1.11.1",
|
|
23
23
|
"@aws-sdk/credential-providers": "3.995.0",
|
|
24
24
|
"@casl/ability": "6.8.0",
|
|
25
|
-
"@lightdash/common": "2.
|
|
26
|
-
"@lightdash/warehouses": "2.
|
|
25
|
+
"@lightdash/common": "2.546.0",
|
|
26
|
+
"@lightdash/warehouses": "2.546.0",
|
|
27
27
|
"@sidvind/better-ajv-errors": "7.0.0",
|
|
28
28
|
"@types/columnify": "1.5.1",
|
|
29
29
|
"ajv": "8.18.0",
|