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,18 @@
/**
* A CloudAssemblyError is thrown for issues with the synthesized CloudAssembly.
*
* These are typically exceptions that are unexpected for end-users,
* and should only occur during abnormal operation, e.g. when the synthesis
* didn't fully complete.
*
* @internal
*/
export declare class CloudAssemblyError extends Error {
#private;
/**
* The time the error was thrown.
*/
get time(): string;
get type(): 'assembly';
constructor(msg: string);
}

View File

@@ -0,0 +1 @@
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CloudAssemblyError=void 0;const ASSEMBLY_ERROR_SYMBOL=Symbol.for("@aws-cdk/cx-api.CloudAssemblyError");class CloudAssemblyError extends Error{#time;get time(){return this.#time}get type(){return"assembly"}constructor(msg){super(msg),Object.setPrototypeOf(this,CloudAssemblyError.prototype),Object.defineProperty(this,ASSEMBLY_ERROR_SYMBOL,{value:!0}),this.name=new.target.name,this.#time=new Date().toISOString()}}exports.CloudAssemblyError=CloudAssemblyError;

View File

@@ -0,0 +1,91 @@
export declare enum FlagType {
/**
* Change the default behavior of the API
*
* The old behavior is still valid, and possible to achieve with source
* code changes, but we recommend the new behavior instead.
*
* Also valid for changes that don't affect CloudFormation, but the CXAPI
* contract.
*/
ApiDefault = 0,
/**
* Address a bug in a way that requires contract breaking or has availability implications for existing infrastructure
*
* The old behavior is not recommended, and shouldn't have been possible in the first place.
* We only have this flag because we can't roll out the fix to everyone
* automatically for fear of breakage.
*/
BugFix = 1,
/**
* Advertise the presence of this context option in `cdk.json`
*/
VisibleContext = 2,
/**
* Use this type for flags that are to be removed on a set date
*/
Temporary = 3
}
export interface FlagInfoBase {
/** Single-line description for the flag */
readonly summary: string;
/** Detailed description for the flag (Markdown) */
readonly detailsMd: string;
/**
* Version number the flag was introduced in each version line.
*
* `undefined` means flag is not configurable in that line; but if
* `unconfiguredBehavesLike` is set for that line, we will document the default
* behavior (even though it's not configurable).
*/
readonly introducedIn: {
v1?: string;
v2?: string;
};
/** What you would like new users to set this flag to (default in new projects) */
readonly recommendedValue: any;
/**
* If this flag is not set, the CLI library will behave as if the flag was set to <this>.
*
* If this flag is not set, we will assume you meant `false`, and the `recommendedValue` is `true`.
*
* This value is most useful for flags that allow opting out of undesirable behavior. To avoid having
* to word our flag name like `skipUndesirableBehavior` and people having to do boolean gymnastics in
* their head, we will name the flag `doUndesirableBehavior`, set
* `unconfiguredBehavesLike: true`, and `recommendedValue: false`.
*
* Again: the value you put here should describe whatever value gets us the
* legacy behavior, from before this flag was introduced.
*/
readonly unconfiguredBehavesLike?: {
v1?: any;
v2?: any;
};
}
/** Flag information, adding required fields if present */
export type FlagInfo = FlagInfoBase & ({
readonly type: FlagType.ApiDefault;
/** Describe how to use the API to achieve pre-flag behavior, if the flag is set (Markdown) */
readonly compatibilityWithOldBehaviorMd: string;
} | {
readonly type: FlagType.BugFix;
/** Describe how to deal with the change if the flag is set (Markdown) */
readonly compatibilityWithOldBehaviorMd?: string;
} | {
readonly type: FlagType.VisibleContext;
} | {
readonly type: FlagType.Temporary;
readonly compatibilityWithOldBehaviorMd?: string;
});
/**
* The magic value that will be substituted at version bump time with the actual
* new V2 version.
*
* Do not import this constant in the `features.ts` file, or the substitution
* process won't work.
*/
export declare const MAGIC_V2NEXT = "V2NEXT";
/**
* Compare two versions, returning -1, 0, or 1.
*/
export declare function compareVersions(a: string | undefined, b: string | undefined): number;

View File

@@ -0,0 +1 @@
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MAGIC_V2NEXT=exports.FlagType=void 0,exports.compareVersions=compareVersions;var FlagType;(function(FlagType2){FlagType2[FlagType2.ApiDefault=0]="ApiDefault",FlagType2[FlagType2.BugFix=1]="BugFix",FlagType2[FlagType2.VisibleContext=2]="VisibleContext",FlagType2[FlagType2.Temporary=3]="Temporary"})(FlagType||(exports.FlagType=FlagType={})),exports.MAGIC_V2NEXT="V2NEXT";function compareVersions(a,b){if(a===b)return 0;if(a===void 0)return-1;if(b===void 0)return 1;const as=a.split(".").map(x=>parseInt(x,10)),bs=b.split(".").map(x=>parseInt(x,10));if(a===exports.MAGIC_V2NEXT)return bs[0]<=2?1:-1;if(b===exports.MAGIC_V2NEXT)return as[0]<=2?-1:1;for(let i=0;i<Math.min(as.length,bs.length);i++){if(as[i]<bs[i])return-1;if(as[i]>bs[i])return 1}return as.length-bs.length}