agent-claw: automated task changes

This commit is contained in:
daniel
2026-05-06 18:55:16 -05:00
parent 38905bb1e9
commit 732b00fb66
8494 changed files with 2018127 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
node_modules
# CDK asset staging directory
.cdk.staging
cdk.out

View File

@@ -0,0 +1,3 @@
# CDK asset staging directory
.cdk.staging
cdk.out

View File

@@ -0,0 +1,12 @@
# Welcome to your CDK JavaScript project
This is a blank project for CDK development with JavaScript.
The `cdk.json` file tells the CDK Toolkit how to execute your app. The build step is not required when using JavaScript.
## Useful commands
* `%pm-cmd% test` perform the jest unit tests
* `npx cdk deploy` deploy this stack to your default AWS account/region
* `npx cdk diff` compare deployed stack with current state
* `npx cdk synth` emits the synthesized CloudFormation template

View File

@@ -0,0 +1,21 @@
#!/usr/bin/env node
const cdk = require('aws-cdk-lib/core');
const { %name.PascalCased%Stack } = require('../lib/%name%-stack');
const app = new cdk.App();
new %name.PascalCased%Stack(app, '%stackname%', {
/* If you don't specify 'env', this stack will be environment-agnostic.
* Account/Region-dependent features and context lookups will not work,
* but a single synthesized template can be deployed anywhere. */
/* Uncomment the next line to specialize this stack for the AWS Account
* and Region that are implied by the current CLI configuration. */
// env: { account: process.env.CDK_DEFAULT_ACCOUNT, region: process.env.CDK_DEFAULT_REGION },
/* Uncomment the next line if you know exactly what Account and Region you
* want to deploy the stack to. */
// env: { account: '123456789012', region: 'us-east-1' },
/* For more information, see https://docs.aws.amazon.com/cdk/latest/guide/environments.html */
});

View File

@@ -0,0 +1,15 @@
{
"app": "node bin/%name%.js",
"watch": {
"include": ["**"],
"exclude": [
"README.md",
"cdk*.json",
"jest.config.js",
"package*.json",
"yarn.lock",
"node_modules",
"test"
]
}
}

View File

@@ -0,0 +1,4 @@
module.exports = {
testEnvironment: 'node',
setupFilesAfterEnv: ['aws-cdk-lib/testhelpers/jest-autoclean'],
}

View File

@@ -0,0 +1,23 @@
const { Stack, Duration } = require('aws-cdk-lib/core');
// const sqs = require('aws-cdk-lib/aws-sqs');
class %name.PascalCased%Stack extends Stack {
/**
*
* @param {Construct} scope
* @param {string} id
* @param {StackProps=} props
*/
constructor(scope, id, props) {
super(scope, id, props);
// The code that defines your stack goes here
// example resource
// const queue = new sqs.Queue(this, '%name.PascalCased%Queue', {
// visibilityTimeout: Duration.seconds(300)
// });
}
}
module.exports = { %name.PascalCased%Stack }

View File

@@ -0,0 +1,17 @@
{
"name": "%name%",
"version": "0.1.0",
"scripts": {
"build": "echo \"The build step is not required when using JavaScript!\" && exit 0",
"cdk": "cdk",
"test": "jest"
},
"devDependencies": {
"aws-cdk": "%cdk-cli-version%",
"jest": "^30"
},
"dependencies": {
"aws-cdk-lib": "%cdk-version%",
"constructs": "%constructs-version%"
}
}

View File

@@ -0,0 +1,17 @@
// const cdk = require('aws-cdk-lib/core');
// const { Template } = require('aws-cdk-lib/assertions');
// const %name.PascalCased% = require('../lib/%name%-stack');
// example test. To run these tests, uncomment this file along with the
// example resource in lib/%name%-stack.js
test('SQS Queue Created', () => {
// const app = new cdk.App();
// // WHEN
// const stack = new %name.PascalCased%.%name.PascalCased%Stack(app, 'MyTestStack');
// // THEN
// const template = Template.fromStack(stack);
// template.hasResourceProperties('AWS::SQS::Queue', {
// VisibilityTimeout: 300
// });
});