@cdklabs/cdk-appmod-catalog-blueprints 1.16.1 → 1.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +963 -146
- package/lib/document-processing/adapter/queued-s3-adapter.js +39 -5
- package/lib/document-processing/agentic-document-processing.js +6 -4
- package/lib/document-processing/base-document-processing.js +16 -4
- package/lib/document-processing/bedrock-document-processing.d.ts +1 -0
- package/lib/document-processing/bedrock-document-processing.js +117 -70
- package/lib/document-processing/default-document-processing-config.js +3 -5
- package/lib/document-processing/index.d.ts +2 -0
- package/lib/document-processing/index.js +3 -1
- package/lib/document-processing/localstack-agentic-document-processing.d.ts +20 -0
- package/lib/document-processing/localstack-agentic-document-processing.js +99 -0
- package/lib/document-processing/localstack-bedrock-document-processing.d.ts +16 -0
- package/lib/document-processing/localstack-bedrock-document-processing.js +69 -0
- package/lib/document-processing/resources/cleanup/handler.py +16 -1
- package/lib/document-processing/resources/default-localstack-invoke/index.py +184 -0
- package/lib/document-processing/resources/default-localstack-invoke/provider_runtime.py +251 -0
- package/lib/document-processing/resources/default-localstack-invoke/requirements.txt +5 -0
- package/lib/document-processing/resources/default-sqs-consumer/index.py +17 -2
- package/lib/document-processing/resources/pdf-chunking/handler.py +16 -1
- package/lib/document-processing/tests/base-document-processing-nag.test.js +3 -1
- package/lib/document-processing/tests/base-document-processing-schema.test.js +6 -1
- package/lib/document-processing/tests/base-document-processing.test.js +12 -1
- package/lib/document-processing/tests/localstack-agentic-document-processing.test.d.ts +1 -0
- package/lib/document-processing/tests/localstack-agentic-document-processing.test.js +111 -0
- package/lib/document-processing/tests/localstack-document-processing.test.d.ts +1 -0
- package/lib/document-processing/tests/localstack-document-processing.test.js +149 -0
- package/lib/document-processing/tests/queued-s3-adapter-nag.test.js +3 -1
- package/lib/document-processing/tests/queued-s3-adapter.test.js +3 -1
- package/lib/framework/agents/base-agent.js +31 -4
- package/lib/framework/agents/batch-agent.d.ts +1 -0
- package/lib/framework/agents/batch-agent.js +42 -7
- package/lib/framework/agents/default-agent-config.js +3 -5
- package/lib/framework/agents/index.d.ts +1 -0
- package/lib/framework/agents/index.js +2 -1
- package/lib/framework/agents/interactive-agent.js +115 -23
- package/lib/framework/agents/knowledge-base/base-knowledge-base.js +30 -4
- package/lib/framework/agents/knowledge-base/bedrock-knowledge-base.js +81 -5
- package/lib/framework/agents/localstack-batch-agent.d.ts +15 -0
- package/lib/framework/agents/localstack-batch-agent.js +64 -0
- package/lib/framework/agents/resources/default-ollama-agent/batch.py +396 -0
- package/lib/framework/agents/resources/default-ollama-agent/models.py +7 -0
- package/lib/framework/agents/resources/default-ollama-agent/requirements.txt +9 -0
- package/lib/framework/agents/resources/default-ollama-agent/runtime_support.py +237 -0
- package/lib/framework/agents/resources/default-ollama-agent/utils.py +77 -0
- package/lib/framework/agents/tests/agent-knowledge-base-nag.test.js +35 -2
- package/lib/framework/bedrock/bedrock.d.ts +9 -0
- package/lib/framework/bedrock/bedrock.js +20 -12
- package/lib/framework/custom-resource/default-runtimes.js +20 -22
- package/lib/framework/foundation/access-log.js +50 -7
- package/lib/framework/foundation/eventbridge-broker.js +5 -4
- package/lib/framework/foundation/network.js +4 -4
- package/lib/framework/index.d.ts +1 -0
- package/lib/framework/index.js +2 -1
- package/lib/framework/localstack/index.d.ts +1 -0
- package/lib/framework/localstack/index.js +18 -0
- package/lib/framework/localstack/localstack-config.d.ts +79 -0
- package/lib/framework/localstack/localstack-config.js +47 -0
- package/lib/framework/tests/base-agent-knowledge-base.test.js +35 -2
- package/lib/framework/tests/batch-agent.test.js +35 -2
- package/lib/framework/tests/framework-nag.test.js +35 -2
- package/lib/framework/tests/interactive-agent-nag.test.js +35 -2
- package/lib/framework/tests/interactive-agent.test.js +35 -2
- package/lib/framework/tests/localstack-batch-agent.test.d.ts +1 -0
- package/lib/framework/tests/localstack-batch-agent.test.js +100 -0
- package/lib/utilities/data-loader.js +50 -5
- package/lib/utilities/lambda-iam-utils.js +38 -7
- package/lib/utilities/lambda_layers/data-masking/layer-construct.js +40 -3
- package/lib/utilities/observability/bedrock-observability.js +38 -2
- package/lib/utilities/observability/cloudfront-distribution-observability-property-injector.js +3 -4
- package/lib/utilities/observability/cloudwatch-transaction-search.js +36 -5
- package/lib/utilities/observability/default-observability-config.js +6 -8
- package/lib/utilities/observability/lambda-observability-property-injector.js +4 -4
- package/lib/utilities/observability/log-group-data-protection-utils.js +2 -4
- package/lib/utilities/observability/observability.js +47 -6
- package/lib/utilities/observability/powertools-config.js +2 -4
- package/lib/utilities/observability/state-machine-observability-property-injector.js +4 -4
- package/lib/webapp/frontend-construct.js +46 -5
- package/lib/webapp/tests/frontend-construct-nag.test.js +36 -3
- package/lib/webapp/tests/frontend-construct.test.js +36 -3
- package/package.json +60 -61
- package/lib/tsconfig.tsbuildinfo +0 -1
package/package.json
CHANGED
|
@@ -6,49 +6,50 @@
|
|
|
6
6
|
"url": "https://github.com/cdklabs/cdk-appmod-catalog-blueprints.git"
|
|
7
7
|
},
|
|
8
8
|
"scripts": {
|
|
9
|
-
"build": "
|
|
10
|
-
"build:fast": "
|
|
11
|
-
"build:no-test": "
|
|
12
|
-
"bump": "
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"integ
|
|
22
|
-
"
|
|
23
|
-
"package
|
|
24
|
-
"package
|
|
25
|
-
"package:
|
|
26
|
-
"package:
|
|
27
|
-
"package:
|
|
28
|
-
"
|
|
29
|
-
"post-
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"test
|
|
35
|
-
"test:cdk-nag:
|
|
36
|
-
"test:cdk-nag:
|
|
37
|
-
"test:
|
|
38
|
-
"test:document-processing
|
|
39
|
-
"test:
|
|
40
|
-
"test:
|
|
41
|
-
"test:
|
|
42
|
-
"test:webapp
|
|
43
|
-
"test:webapp:
|
|
44
|
-
"test:webapp:
|
|
45
|
-
"test:webapp:
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"upgrade
|
|
49
|
-
"upgrade-
|
|
50
|
-
"
|
|
51
|
-
"
|
|
9
|
+
"build": "projen build",
|
|
10
|
+
"build:fast": "projen build:fast",
|
|
11
|
+
"build:no-test": "projen build:no-test",
|
|
12
|
+
"bump": "projen bump",
|
|
13
|
+
"bump:releasable-commits": "projen bump:releasable-commits",
|
|
14
|
+
"clobber": "projen clobber",
|
|
15
|
+
"compat": "projen compat",
|
|
16
|
+
"compile": "projen compile",
|
|
17
|
+
"default": "projen default",
|
|
18
|
+
"docgen": "projen docgen",
|
|
19
|
+
"eject": "projen eject",
|
|
20
|
+
"eslint": "projen eslint",
|
|
21
|
+
"integ": "projen integ",
|
|
22
|
+
"integ:update": "projen integ:update",
|
|
23
|
+
"package": "projen package",
|
|
24
|
+
"package-all": "projen package-all",
|
|
25
|
+
"package:dotnet": "projen package:dotnet",
|
|
26
|
+
"package:java": "projen package:java",
|
|
27
|
+
"package:js": "projen package:js",
|
|
28
|
+
"package:python": "projen package:python",
|
|
29
|
+
"post-compile": "projen post-compile",
|
|
30
|
+
"post-upgrade": "projen post-upgrade",
|
|
31
|
+
"pre-compile": "projen pre-compile",
|
|
32
|
+
"release": "projen release",
|
|
33
|
+
"rosetta:extract": "projen rosetta:extract",
|
|
34
|
+
"test": "projen test",
|
|
35
|
+
"test:cdk-nag:all": "projen test:cdk-nag:all",
|
|
36
|
+
"test:cdk-nag:document-processing": "projen test:cdk-nag:document-processing",
|
|
37
|
+
"test:cdk-nag:webapp": "projen test:cdk-nag:webapp",
|
|
38
|
+
"test:document-processing": "projen test:document-processing",
|
|
39
|
+
"test:document-processing:unit": "projen test:document-processing:unit",
|
|
40
|
+
"test:security": "projen test:security",
|
|
41
|
+
"test:watch": "projen test:watch",
|
|
42
|
+
"test:webapp": "projen test:webapp",
|
|
43
|
+
"test:webapp:core": "projen test:webapp:core",
|
|
44
|
+
"test:webapp:frontend": "projen test:webapp:frontend",
|
|
45
|
+
"test:webapp:quickstart": "projen test:webapp:quickstart",
|
|
46
|
+
"test:webapp:unit": "projen test:webapp:unit",
|
|
47
|
+
"unbump": "projen unbump",
|
|
48
|
+
"upgrade": "projen upgrade",
|
|
49
|
+
"upgrade-cdklabs-projen-project-types": "projen upgrade-cdklabs-projen-project-types",
|
|
50
|
+
"upgrade-dev-deps": "projen upgrade-dev-deps",
|
|
51
|
+
"watch": "projen watch",
|
|
52
|
+
"projen": "projen"
|
|
52
53
|
},
|
|
53
54
|
"author": {
|
|
54
55
|
"name": "Amazon Web Services",
|
|
@@ -65,29 +66,29 @@
|
|
|
65
66
|
"@typescript-eslint/eslint-plugin": "^8",
|
|
66
67
|
"@typescript-eslint/parser": "^8",
|
|
67
68
|
"aws-cdk-lib": "2.218.0",
|
|
68
|
-
"cdk-nag": "^2.
|
|
69
|
-
"cdklabs-projen-project-types": "^0.
|
|
69
|
+
"cdk-nag": "^2.38.2",
|
|
70
|
+
"cdklabs-projen-project-types": "^0.6.10",
|
|
70
71
|
"commit-and-tag-version": "^12",
|
|
71
|
-
"constructs": "10.
|
|
72
|
+
"constructs": "10.5.1",
|
|
72
73
|
"eslint": "^9",
|
|
73
|
-
"eslint-import-resolver-typescript": "^4.4.
|
|
74
|
+
"eslint-import-resolver-typescript": "^4.4.5",
|
|
74
75
|
"eslint-plugin-import": "^2.32.0",
|
|
75
76
|
"jest": "^29.7.0",
|
|
76
|
-
"jest-junit": "^
|
|
77
|
+
"jest-junit": "^17",
|
|
77
78
|
"jsii": "~5.9.5",
|
|
78
|
-
"jsii-diff": "^1.
|
|
79
|
+
"jsii-diff": "^1.142.0",
|
|
79
80
|
"jsii-docgen": "^10.11.12",
|
|
80
|
-
"jsii-pacmak": "^1.
|
|
81
|
-
"jsii-rosetta": "~5.9.
|
|
82
|
-
"projen": "^0.
|
|
83
|
-
"ts-jest": "^29.4.
|
|
81
|
+
"jsii-pacmak": "^1.142.0",
|
|
82
|
+
"jsii-rosetta": "~5.9.72",
|
|
83
|
+
"projen": "^0.101.31",
|
|
84
|
+
"ts-jest": "^29.4.15",
|
|
84
85
|
"ts-node": "^10.9.2",
|
|
85
86
|
"typescript": "^5.9.3"
|
|
86
87
|
},
|
|
87
88
|
"peerDependencies": {
|
|
88
89
|
"@aws-cdk/aws-lambda-python-alpha": "^2.218.0-alpha.0",
|
|
89
90
|
"aws-cdk-lib": "^2.218.0",
|
|
90
|
-
"constructs": "^10.
|
|
91
|
+
"constructs": "^10.5.1"
|
|
91
92
|
},
|
|
92
93
|
"keywords": [
|
|
93
94
|
"cdk"
|
|
@@ -97,10 +98,11 @@
|
|
|
97
98
|
},
|
|
98
99
|
"main": "lib/index.js",
|
|
99
100
|
"license": "Apache-2.0",
|
|
101
|
+
"stability": "experimental",
|
|
100
102
|
"publishConfig": {
|
|
101
103
|
"access": "public"
|
|
102
104
|
},
|
|
103
|
-
"version": "1.
|
|
105
|
+
"version": "1.17.1",
|
|
104
106
|
"jest": {
|
|
105
107
|
"coverageProvider": "v8",
|
|
106
108
|
"testMatch": [
|
|
@@ -141,13 +143,12 @@
|
|
|
141
143
|
"^.+\\.[t]sx?$": [
|
|
142
144
|
"ts-jest",
|
|
143
145
|
{
|
|
144
|
-
"tsconfig": "tsconfig.
|
|
146
|
+
"tsconfig": "test/tsconfig.json"
|
|
145
147
|
}
|
|
146
148
|
]
|
|
147
149
|
}
|
|
148
150
|
},
|
|
149
151
|
"types": "lib/index.d.ts",
|
|
150
|
-
"stability": "experimental",
|
|
151
152
|
"jsii": {
|
|
152
153
|
"outdir": "dist",
|
|
153
154
|
"targets": {
|
|
@@ -167,10 +168,8 @@
|
|
|
167
168
|
"packageId": "CdklabsAppmodCatalogBlueprints"
|
|
168
169
|
}
|
|
169
170
|
},
|
|
170
|
-
"
|
|
171
|
-
|
|
172
|
-
"rootDir": "use-cases"
|
|
173
|
-
}
|
|
171
|
+
"tsconfig": "tsconfig.json",
|
|
172
|
+
"validateTsconfig": "strict"
|
|
174
173
|
},
|
|
175
174
|
"files": [
|
|
176
175
|
"lib/",
|