please fix im tryna bild a oneclick sorta deploy like vercel but with SST v3:

Last login: Sat Sep 21 14:51:52 on ttys066
rijk@Rijks-MacBook-Air ~ % git combo https://github.com/vercel/ai-chatbot.git
Cloning repository...
Cloning into '/Users/rijk/Workspace/Sep-tmp/ai-chatbot-184'...
remote: Enumerating objects: 2279, done.
remote: Total 2279 (delta 0), reused 0 (delta 0), pack-reused 2279 (from 1)
Receiving objects: 100% (2279/2279), 2.36 MiB | 3.57 MiB/s, done.
Resolving deltas: 100% (1312/1312), done.
Removed sponsor section from README.md
Initialized empty Git repository in /Users/rijk/Workspace/Sep-tmp/ai-chatbot-184/.git/
[main (root-commit) 61ba5c6] Initial commit
 Committer: Rijk <rijk@Rijks-MacBook-Air.local>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:

    git config --global user.name "Your Name"
    git config --global user.email you@example.com

After doing this, you may fix the identity used for this commit with:

    git commit --amend --reset-author

 102 files changed, 10658 insertions(+)
 create mode 100644 .env.example
 create mode 100644 .gitignore
 create mode 100644 LICENSE
 create mode 100644 README.md
 create mode 100644 app/(chat)/chat/[id]/page.tsx
 create mode 100644 app/(chat)/layout.tsx
 create mode 100644 app/(chat)/page.tsx
 create mode 100644 app/actions.ts
 create mode 100644 app/globals.css
 create mode 100644 app/layout.tsx
 create mode 100644 app/login/actions.ts
 create mode 100644 app/login/page.tsx
 create mode 100644 app/new/page.tsx
 create mode 100644 app/opengraph-image.png
 create mode 100644 app/share/[id]/page.tsx
 create mode 100644 app/signup/actions.ts
 create mode 100644 app/signup/page.tsx
 create mode 100644 app/twitter-image.png
 create mode 100644 auth.config.ts
 create mode 100644 auth.ts
 create mode 100644 components.json
 create mode 100644 components/button-scroll-to-bottom.tsx
 create mode 100644 components/chat-history.tsx
 create mode 100644 components/chat-list.tsx
 create mode 100644 components/chat-message-actions.tsx
 create mode 100644 components/chat-message.tsx
 create mode 100644 components/chat-panel.tsx
 create mode 100644 components/chat-share-dialog.tsx
 create mode 100644 components/chat.tsx
 create mode 100644 components/clear-history.tsx
 create mode 100644 components/empty-screen.tsx
 create mode 100644 components/external-link.tsx
 create mode 100644 components/footer.tsx
 create mode 100644 components/header.tsx
 create mode 100644 components/login-button.tsx
 create mode 100644 components/login-form.tsx
 create mode 100644 components/markdown.tsx
 create mode 100644 components/prompt-form.tsx
 create mode 100644 components/providers.tsx
 create mode 100644 components/sidebar-actions.tsx
 create mode 100644 components/sidebar-desktop.tsx
 create mode 100644 components/sidebar-footer.tsx
 create mode 100644 components/sidebar-item.tsx
 create mode 100644 components/sidebar-items.tsx
 create mode 100644 components/sidebar-list.tsx
 create mode 100644 components/sidebar-mobile.tsx
 create mode 100644 components/sidebar-toggle.tsx
 create mode 100644 components/sidebar.tsx
 create mode 100644 components/signup-form.tsx
 create mode 100644 components/stocks/events-skeleton.tsx
 create mode 100644 components/stocks/events.tsx
 create mode 100644 components/stocks/index.tsx
 create mode 100644 components/stocks/message.tsx
 create mode 100644 components/stocks/spinner.tsx
 create mode 100644 components/stocks/stock-purchase.tsx
 create mode 100644 components/stocks/stock-skeleton.tsx
 create mode 100644 components/stocks/stock.tsx
 create mode 100644 components/stocks/stocks-skeleton.tsx
 create mode 100644 components/stocks/stocks.tsx
 create mode 100644 components/tailwind-indicator.tsx
 create mode 100644 components/theme-toggle.tsx
 create mode 100644 components/ui/alert-dialog.tsx
 create mode 100644 components/ui/badge.tsx
 create mode 100644 components/ui/button.tsx
 create mode 100644 components/ui/codeblock.tsx
 create mode 100644 components/ui/dialog.tsx
 create mode 100644 components/ui/dropdown-menu.tsx
 create mode 100644 components/ui/icons.tsx
 create mode 100644 components/ui/input.tsx
 create mode 100644 components/ui/label.tsx
 create mode 100644 components/ui/select.tsx
 create mode 100644 components/ui/separator.tsx
 create mode 100644 components/ui/sheet.tsx
 create mode 100644 components/ui/sonner.tsx
 create mode 100644 components/ui/switch.tsx
 create mode 100644 components/ui/textarea.tsx
 create mode 100644 components/ui/tooltip.tsx
 create mode 100644 components/user-menu.tsx
 create mode 100644 lib/chat/actions.tsx
 create mode 100644 lib/hooks/use-copy-to-clipboard.tsx
 create mode 100644 lib/hooks/use-enter-submit.tsx
 create mode 100644 lib/hooks/use-local-storage.ts
 create mode 100644 lib/hooks/use-scroll-anchor.tsx
 create mode 100644 lib/hooks/use-sidebar.tsx
 create mode 100644 lib/hooks/use-streamable-text.ts
 create mode 100644 lib/types.ts
 create mode 100644 lib/utils.ts
 create mode 100644 middleware.ts
 create mode 100644 next-env.d.ts
 create mode 100644 next.config.js
 create mode 100644 package.json
 create mode 100644 pnpm-lock.yaml
 create mode 100644 postcss.config.js
 create mode 100644 prettier.config.cjs
 create mode 100644 public/apple-touch-icon.png
 create mode 100644 public/favicon-16x16.png
 create mode 100644 public/favicon.ico
 create mode 100644 public/next.svg
 create mode 100644 public/thirteen.svg
 create mode 100644 public/vercel.svg
 create mode 100644 tailwind.config.ts
 create mode 100644 tsconfig.json
✓ Created repository constantlycooking/ai-chatbot-184 on GitHub
  https://github.com/constantlycooking/ai-chatbot-184
✓ Added remote git@github.com:constantlycooking/ai-chatbot-184.git
Enumerating objects: 119, done.
Counting objects: 100% (119/119), done.
Delta compression using up to 8 threads
Compressing objects: 100% (113/113), done.
Writing objects: 100% (119/119), 544.63 KiB | 5.86 MiB/s, done.
Total 119 (delta 6), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (6/6), done.
To github.com:constantlycooking/ai-chatbot-184.git
 * [new branch]      main -> main
branch 'main' set up to track 'origin/main'.
Repository copied to: https://github.com/constantlycooking/ai-chatbot-184
AWS credentials not found or expired. Loading from file...
Installing SST globally...

changed 10 packages in 2s

3 packages are looking for funding
  run npm fund for details

added 449 packages, and audited 450 packages in 25s

138 packages are looking for funding
  run npm fund for details

1 high severity vulnerability

To address all issues, run:
  npm audit fix --force

Run npm audit for details.

added 11 packages, and audited 461 packages in 1s

141 packages are looking for funding
  run npm fund for details

1 high severity vulnerability

To address all issues, run:
  npm audit fix --force

Run npm audit for details.
Creating sst.config.ts for SST v3...
Created sst.config.ts for SST v3 with Next.js support.
Updating package.json with SST scripts...
/Users/rijk/.nvm/versions/node/v20.17.0/lib/node_modules/winston/lib/winston/common.js:26
      throw new Error([
      ^

Error: { cli } was removed in winston@3.0.0.
Use a custom winston.format = winston.format(function) instead.
    at Object.cli (/Users/rijk/.nvm/versions/node/v20.17.0/lib/node_modules/winston/lib/winston/common.js:26:13)
    at Object.<anonymous> (/Users/rijk/.nvm/versions/node/v20.17.0/lib/node_modules/jq/bin/jq:30:9)
    at Module._compile (node:internal/modules/cjs/loader:1469:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
    at Module.load (node:internal/modules/cjs/loader:1288:32)
    at Module._load (node:internal/modules/cjs/loader:1104:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
    at node:internal/main/run_main_module:28:49

Node.js v20.17.0
Deploying application with SST v3...
✕  sst.config.ts:3:27: Could not resolve "sst/constructs"
rijk@Rijks-MacBook-Air ~ % 





here is the current script im using:
"
rijk@Rijks-MacBook-Air ~ % cat ~/.local/bin/git-combo               
#!/bin/bash

set -e

# Function to check AWS credentials silently
check_aws_credentials_silent() {
    aws sts get-caller-identity &>/dev/null
}

# Function to load AWS credentials from a file
load_aws_credentials() {
    if [ -f ~/.sst/aws-credentials ]; then
        source ~/.sst/aws-credentials
        export AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_DEFAULT_REGION
    else
        echo "AWS credentials file not found. Please run 'git-deploy-config' to set up your credentials."
        exit 1
    fi
}

# Usage check
if [ $# -eq 0 ]; then
    echo "Usage: git combo <repository_url>"
    exit 1
fi

repo_url=$1
original_repo_name=$(basename -s .git "$repo_url")
random_number=$(( RANDOM % 900 + 100 ))
new_repo_name="${original_repo_name}-${random_number}"

temp_dir="/Users/$(whoami)/Workspace/Sep-tmp/$new_repo_name"
mkdir -p "$temp_dir"

echo "Cloning repository..."
gh repo clone "$repo_url" "$temp_dir"
cd "$temp_dir" || exit

# Remove sponsor section from README.md
if [ -f README.md ]; then
    sed -i '' '/## Sponsor this project/,$d' README.md
    echo "Removed sponsor section from README.md"
fi

# Initialize new git repository
rm -rf .git
git init

git add .
git commit -m "Initial commit"

# Create new private GitHub repository
gh repo create "$new_repo_name" --private --source=. --remote=origin

git branch -M main
git push -u origin main

new_repo_url="https://github.com/$(gh api user --jq .login)/$new_repo_name"
echo "Repository copied to: $new_repo_url"

# Check AWS credentials silently
if ! check_aws_credentials_silent; then
    echo "AWS credentials not found or expired. Loading from file..."
    load_aws_credentials
    if ! check_aws_credentials_silent; then
        echo "Failed to load valid AWS credentials. Please run 'git-deploy-config' to set up your credentials."
        exit 1
    fi
fi

# Install SST globally
echo "Installing SST globally..."
npm install -g sst@latest

# Install project dependencies
npm install

# Install SST locally
npm install sst@latest

# Create sst.config.ts for SST v3 (Ion)
echo "Creating sst.config.ts for SST v3..."
cat > sst.config.ts << EOL
import { SSTConfig } from "sst";
import { NextjsSite } from "sst/constructs";

const config: SSTConfig = {
  config(_input) {
    return {
      name: "$new_repo_name",
      region: "eu-north-1",
    };
  },
  stacks(app) {
    app.stack(function Site({ stack }) {
      const site = new NextjsSite(stack, "site");
      stack.addOutputs({
        url: site.url,
      });
    });
  },
};

export default config;
EOL
echo "Created sst.config.ts for SST v3 with Next.js support."

# Update package.json to include SST scripts
echo "Updating package.json with SST scripts..."
jq '.scripts += {"dev": "sst dev", "build": "sst build", "deploy": "sst deploy", "remove": "sst remove", "console": "sst console", "typecheck": "tsc --noEmit"}' package.json > package.json.tmp && mv package.json.tmp package.json

# Deploy the application using SST v3
echo "Deploying application with SST v3..."
npx sst deploy --stage dev

echo "Deployment complete. Your app should now be live on AWS."

# Open in editor if 'cursor' is available
if command -v cursor >/dev/null 2>&1; then
    cursor "$temp_dir"
else
    echo "Cursor not found in PATH. Please open the repository manually."
fi

echo "New repository path: $temp_dir"

# Delete directories older than 3 days
find "/Users/$(whoami)/Workspace/Sep-tmp" -type d -mtime +3 -exec rm -rf {} +"