@alumbwe/anvil 1.0.38 → 1.0.40
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/package.json +1 -1
- package/src/agents/bundled-agents.generated.ts +16 -16
- package/src/components/anvil-landing-screen.tsx +1 -1
- package/src/login/constants.ts +1 -1
- package/src/utils/anvil-session-api.ts +1 -1
- package/src/utils/error-handling.ts +1 -1
- package/vendor/@anvil/common/src/constants/auth.ts +1 -1
- package/vendor/@anvil/sdk/dist/index.cjs +2 -2
- package/vendor/@anvil/sdk/dist/index.cjs.map +3 -3
- package/vendor/@anvil/sdk/dist/index.d.ts +2 -2
- package/vendor/@anvil/sdk/dist/index.mjs +2 -2
- package/vendor/@anvil/sdk/dist/index.mjs.map +3 -3
- package/bin/anvil +0 -44
|
@@ -765,7 +765,7 @@ export const AnvilLandingScreen: React.FC<AnvilLandingScreenProps> = ({
|
|
|
765
765
|
</text>
|
|
766
766
|
<text style={{ fg: theme.muted, wrapMode: 'word' }}>
|
|
767
767
|
This account has been suspended and can't use anvil. If you
|
|
768
|
-
think this is a mistake, contact support@
|
|
768
|
+
think this is a mistake, contact support@anvil.dev. Press
|
|
769
769
|
Ctrl+C to exit.
|
|
770
770
|
</text>
|
|
771
771
|
</>
|
package/src/login/constants.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { IS_ANVIL } from '../utils/constants'
|
|
|
6
6
|
// Get the website URL from environment or use default
|
|
7
7
|
export const WEBSITE_URL = env.NEXT_PUBLIC_ANVIL_APP_URL
|
|
8
8
|
|
|
9
|
-
// Anvil login flow uses the anvil web app instead of
|
|
9
|
+
// Anvil login flow uses the anvil web app instead of anvil.dev
|
|
10
10
|
const ANVIL_WEB_URL = IS_DEV
|
|
11
11
|
? 'http://localhost:3002'
|
|
12
12
|
: (env.NEXT_PUBLIC_ANVIL_APP_URL ?? ANVIL_WEB_URL_PROD)
|
|
@@ -95,7 +95,7 @@ export function sessionFetchSignal(
|
|
|
95
95
|
|
|
96
96
|
function sessionEndpoint(): string {
|
|
97
97
|
const base = (
|
|
98
|
-
env.NEXT_PUBLIC_ANVIL_APP_URL || 'https://
|
|
98
|
+
env.NEXT_PUBLIC_ANVIL_APP_URL || 'https://anvil.dev'
|
|
99
99
|
).replace(/\/$/, '')
|
|
100
100
|
return `${base}/api/v1/anvil/session`
|
|
101
101
|
}
|
|
@@ -13,7 +13,7 @@ import type {
|
|
|
13
13
|
|
|
14
14
|
import { IS_ANVIL } from './constants'
|
|
15
15
|
|
|
16
|
-
const defaultAppUrl = env.NEXT_PUBLIC_ANVIL_APP_URL || 'https://
|
|
16
|
+
const defaultAppUrl = env.NEXT_PUBLIC_ANVIL_APP_URL || 'https://anvil.dev'
|
|
17
17
|
|
|
18
18
|
// Normalize unknown errors to a user-facing string.
|
|
19
19
|
const extractErrorMessage = (error: unknown, fallback: string): string => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* How long a device-code sign-in stays valid.
|
|
3
3
|
*
|
|
4
|
-
* Shared because two apps issue these codes —
|
|
4
|
+
* Shared because two apps issue these codes — anvil.dev serves the CLI and anvil.com serves
|
|
5
5
|
* Anvil Desktop — and a drift between them would show up only as one surface timing out sooner
|
|
6
6
|
* than the other, with nothing to point at.
|
|
7
7
|
*
|
|
@@ -51973,7 +51973,7 @@ async function handlePromptResponse({
|
|
|
51973
51973
|
const message = [
|
|
51974
51974
|
"Received invalid prompt response from server:",
|
|
51975
51975
|
JSON.stringify(parsedOutput.error.issues),
|
|
51976
|
-
"If this issues persists, please contact support@
|
|
51976
|
+
"If this issues persists, please contact support@anvil.dev"
|
|
51977
51977
|
].join(`
|
|
51978
51978
|
`);
|
|
51979
51979
|
onError({ message });
|
|
@@ -52293,5 +52293,5 @@ function setTreeSitterWasmPath2(wasmPath) {
|
|
|
52293
52293
|
setTreeSitterWasmPath(wasmPath);
|
|
52294
52294
|
}
|
|
52295
52295
|
|
|
52296
|
-
//# debugId=
|
|
52296
|
+
//# debugId=68626CF23310DED964756E2164756E21
|
|
52297
52297
|
//# sourceMappingURL=index.cjs.map
|