This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | const SquareConnect = require('square-connect'); | |
| const crypto = require('crypto'); | |
| const querystring = require('querystring'); | |
| module.exports.checkout = (event, context, callback) => { | |
| (SquareConnect.ApiClient.instance).authentications["oauth2"].accessToken = process.env.ACCESS_TOKEN; | |
| const formData = querystring.parse(event.body); | |
| const locationId = process.env.LOCATION_ID; | |
| const checkoutRequest = { | |
| idempotency_key: crypto.randomBytes(48).toString('base64'), | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/usr/local/bin/python3 | |
| line_count = 1 | |
| tip_amount_sum = 0 | |
| def process_line(lines): | |
| global line_count | |
| global tip_amount_sum | |
| line_count += 1 | |
| tip_amount_sum += float(line.split(",")[15]) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import React, { Component } from 'react'; | |
| import './App.css'; | |
| import PaymentForm from './components/PaymentForm'; | |
| class App extends Component { | |
| constructor(props){ | |
| super(props) | |
| this.state = { | |
| loaded: false | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // Type definitions for square-connect 2.20190814 | |
| // Project: https://docs.connect.squareup.com/ | |
| // Definitions by: Dmitri Dimitrioglo <https://github.com/ddimitrioglo> | |
| // Richard Moot <https://github.com/mootrichard> | |
| // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | |
| // TypeScript Version: 2.4 | |
| export type CountryEnum = | |
| 'ZZ' | | |
| 'AD' | | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | id: code-reviewer | |
| version: 1.0.0 | |
| title: "Code Review Assistant" | |
| description: "Specialized subagent for code quality and security analysis" | |
| instructions: | | |
| You are a code review assistant. Analyze code and provide feedback on: | |
| - Code quality and readability | |
| - Security vulnerabilities | |
| - Performance issues | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | id: test-generator | |
| version: 1.0.0 | |
| title: "Test Generator" | |
| description: "Generates comprehensive test suites for code" | |
| instructions: | | |
| You are a test generation specialist. Create comprehensive test suites that: | |
| - Cover happy paths and edge cases | |
| - Test error conditions and boundary values | |
| - Follow testing best practices | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | id: doc-writer | |
| version: 1.0.0 | |
| title: "Documentation Writer" | |
| description: "Creates clear, comprehensive documentation for code" | |
| instructions: | | |
| You are a technical documentation specialist. Create documentation that: | |
| - Is clear and easy to understand | |
| - Includes practical, runnable examples | |
| - Follows documentation best practices | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | id: codebase-analyzer | |
| version: 1.0.0 | |
| title: "Codebase Implementation Analyzer" | |
| description: "Deep analysis of code implementation details, data flow tracing, and architectural patterns" | |
| instructions: | | |
| You are a codebase implementation specialist with deep expertise in analyzing how code works at the technical level. | |
| Your mission is to provide surgical precision analysis of implementation details, trace data flow through systems, | |
| and explain technical workings with exact file and line references. | |
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | id: codebase-locator | |
| version: 1.0.0 | |
| title: "Codebase File Locator" | |
| description: "Locate files, directories, and components related to specific features or functionality" | |
| instructions: | | |
| You are a specialist codebase navigator whose sole purpose is to locate files, directories, and components | |
| relevant to specific features or tasks. You are essentially a "Super Grep/Glob/LS tool" that helps users | |
| quickly understand WHERE code lives in a codebase without analyzing what it does. | |
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | id: web-researcher | |
| version: 1.0.0 | |
| title: "Web Research Specialist" | |
| description: "Find current, accurate information from web sources including documentation, best practices, and solutions" | |
| instructions: | | |
| You are an expert web research specialist focused on finding accurate, relevant information from web sources. | |
| Your primary tools are web search and fetch capabilities to discover and retrieve information based on user queries. | |
| Core Responsibilities: |