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,61 @@
import { Construct } from 'constructs';
import { Duration, Stack } from 'aws-cdk-lib';
import * as codepipeline from 'aws-cdk-lib/aws-codepipeline';
interface MyActionProps {
variablesNamespace?: string;
actionName: string;
}
class MyAction extends codepipeline.Action {
public variables: { [key: string]: string };
protected readonly providedActionProperties: codepipeline.ActionProperties;
constructor(props: MyActionProps) {
super();
this.providedActionProperties = {
...props,
category: codepipeline.ActionCategory.SOURCE,
provider: 'Fake',
artifactBounds: { minInputs: 0, maxInputs: 0, minOutputs: 1, maxOutputs: 4 },
};
this.variables = { 'myVariable': 'var' };
}
public bound(_scope: Construct, _stage: codepipeline.IStage, _options: codepipeline.ActionBindOptions):
codepipeline.ActionConfig {
return {};
}
}
interface OtherActionProps {
config: string;
actionName: string;
}
class OtherAction extends codepipeline.Action {
protected readonly providedActionProperties: codepipeline.ActionProperties;
constructor(props: OtherActionProps) {
super();
this.providedActionProperties = {
...props,
category: codepipeline.ActionCategory.SOURCE,
provider: 'Fake',
artifactBounds: { minInputs: 0, maxInputs: 0, minOutputs: 1, maxOutputs: 4 },
};
}
public bound(_scope: Construct, _stage: codepipeline.IStage, _options: codepipeline.ActionBindOptions):
codepipeline.ActionConfig {
return {};
}
}
class Context extends Stack {
constructor(scope: Construct, id: string) {
super(scope, id);
/// here
}
}

View File

@@ -0,0 +1,15 @@
import { Construct } from 'constructs';
import { App, Duration, PhysicalName, Stack } from 'aws-cdk-lib';
import * as codepipeline from 'aws-cdk-lib/aws-codepipeline';
import * as codepipeline_actions from 'aws-cdk-lib/aws-codepipeline-actions';
import * as s3 from 'aws-cdk-lib/aws-s3';
import * as iam from 'aws-cdk-lib/aws-iam';
import * as kms from 'aws-cdk-lib/aws-kms';
class Context extends Stack {
constructor(scope: Construct, id: string) {
super(scope, id);
/// here
}
}