@aws/agentcore 0.15.0 → 0.17.0

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.
Files changed (69) hide show
  1. package/README.md +5 -0
  2. package/dist/assets/__tests__/__snapshots__/assets.snapshot.test.ts.snap +68 -7
  3. package/dist/assets/__tests__/__snapshots__/dockerfile-render.test.ts.snap +2 -2
  4. package/dist/assets/cdk/bin/cdk.ts +37 -0
  5. package/dist/assets/cdk/lib/cdk-stack.ts +24 -5
  6. package/dist/assets/container/python/Dockerfile +1 -1
  7. package/dist/assets/harness/invoke.py.template +74 -0
  8. package/dist/assets/python/a2a/googleadk/base/pyproject.toml +1 -1
  9. package/dist/assets/python/a2a/langchain_langgraph/base/pyproject.toml +1 -0
  10. package/dist/assets/python/agui/googleadk/base/pyproject.toml +1 -1
  11. package/dist/assets/python/agui/langchain_langgraph/base/pyproject.toml +1 -0
  12. package/dist/assets/python/http/googleadk/base/pyproject.toml +1 -0
  13. package/dist/assets/python/http/langchain_langgraph/base/pyproject.toml +1 -0
  14. package/dist/cli/index.mjs +524 -472
  15. package/dist/lib/constants.d.ts +1 -0
  16. package/dist/lib/constants.d.ts.map +1 -1
  17. package/dist/lib/constants.js +3 -1
  18. package/dist/lib/constants.js.map +1 -1
  19. package/dist/lib/errors/types.d.ts +6 -0
  20. package/dist/lib/errors/types.d.ts.map +1 -1
  21. package/dist/lib/errors/types.js +10 -1
  22. package/dist/lib/errors/types.js.map +1 -1
  23. package/dist/lib/packaging/helpers.d.ts.map +1 -1
  24. package/dist/lib/packaging/helpers.js +6 -10
  25. package/dist/lib/packaging/helpers.js.map +1 -1
  26. package/dist/lib/result.d.ts +15 -0
  27. package/dist/lib/result.d.ts.map +1 -1
  28. package/dist/lib/result.js +12 -0
  29. package/dist/lib/result.js.map +1 -1
  30. package/dist/lib/schemas/io/config-io.d.ts +9 -1
  31. package/dist/lib/schemas/io/config-io.d.ts.map +1 -1
  32. package/dist/lib/schemas/io/config-io.js +14 -0
  33. package/dist/lib/schemas/io/config-io.js.map +1 -1
  34. package/dist/lib/schemas/io/global-config.d.ts +28 -21
  35. package/dist/lib/schemas/io/global-config.d.ts.map +1 -1
  36. package/dist/lib/schemas/io/global-config.js +57 -28
  37. package/dist/lib/schemas/io/global-config.js.map +1 -1
  38. package/dist/lib/schemas/io/path-resolver.d.ts +12 -0
  39. package/dist/lib/schemas/io/path-resolver.d.ts.map +1 -1
  40. package/dist/lib/schemas/io/path-resolver.js +18 -0
  41. package/dist/lib/schemas/io/path-resolver.js.map +1 -1
  42. package/dist/lib/utils/index.d.ts +1 -1
  43. package/dist/lib/utils/index.d.ts.map +1 -1
  44. package/dist/lib/utils/index.js +2 -1
  45. package/dist/lib/utils/index.js.map +1 -1
  46. package/dist/lib/utils/zod.d.ts +16 -0
  47. package/dist/lib/utils/zod.d.ts.map +1 -1
  48. package/dist/lib/utils/zod.js +45 -0
  49. package/dist/lib/utils/zod.js.map +1 -1
  50. package/dist/schema/schemas/agentcore-project.d.ts +11 -0
  51. package/dist/schema/schemas/agentcore-project.d.ts.map +1 -1
  52. package/dist/schema/schemas/agentcore-project.js +21 -2
  53. package/dist/schema/schemas/agentcore-project.js.map +1 -1
  54. package/dist/schema/schemas/deployed-state.d.ts +50 -0
  55. package/dist/schema/schemas/deployed-state.d.ts.map +1 -1
  56. package/dist/schema/schemas/deployed-state.js +15 -1
  57. package/dist/schema/schemas/deployed-state.js.map +1 -1
  58. package/dist/schema/schemas/primitives/harness.d.ts +363 -0
  59. package/dist/schema/schemas/primitives/harness.d.ts.map +1 -0
  60. package/dist/schema/schemas/primitives/harness.js +261 -0
  61. package/dist/schema/schemas/primitives/harness.js.map +1 -0
  62. package/dist/schema/schemas/primitives/index.d.ts +2 -0
  63. package/dist/schema/schemas/primitives/index.d.ts.map +1 -1
  64. package/dist/schema/schemas/primitives/index.js +17 -1
  65. package/dist/schema/schemas/primitives/index.js.map +1 -1
  66. package/npm-shrinkwrap.json +2 -2
  67. package/package.json +9 -8
  68. package/scripts/bump-version.ts +1 -1
  69. package/scripts/bundle.mjs +86 -9
@@ -129,6 +129,16 @@ export declare const PolicyDeployedStateSchema: z.ZodObject<{
129
129
  engineName: z.ZodString;
130
130
  }, z.core.$strip>;
131
131
  export type PolicyDeployedState = z.infer<typeof PolicyDeployedStateSchema>;
132
+ export declare const HarnessDeployedStateSchema: z.ZodObject<{
133
+ harnessId: z.ZodString;
134
+ harnessArn: z.ZodString;
135
+ roleArn: z.ZodString;
136
+ status: z.ZodString;
137
+ agentRuntimeArn: z.ZodOptional<z.ZodString>;
138
+ memoryArn: z.ZodOptional<z.ZodString>;
139
+ configHash: z.ZodOptional<z.ZodString>;
140
+ }, z.core.$strip>;
141
+ export type HarnessDeployedState = z.infer<typeof HarnessDeployedStateSchema>;
132
142
  export declare const CredentialDeployedStateSchema: z.ZodObject<{
133
143
  credentialProviderArn: z.ZodString;
134
144
  clientSecretArn: z.ZodOptional<z.ZodString>;
@@ -301,12 +311,22 @@ export declare const DeployedResourceStateSchema: z.ZodObject<{
301
311
  policyArn: z.ZodString;
302
312
  engineName: z.ZodString;
303
313
  }, z.core.$strip>>>;
314
+ harnesses: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
315
+ harnessId: z.ZodString;
316
+ harnessArn: z.ZodString;
317
+ roleArn: z.ZodString;
318
+ status: z.ZodString;
319
+ agentRuntimeArn: z.ZodOptional<z.ZodString>;
320
+ memoryArn: z.ZodOptional<z.ZodString>;
321
+ configHash: z.ZodOptional<z.ZodString>;
322
+ }, z.core.$strip>>>;
304
323
  runtimeEndpoints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
305
324
  endpointId: z.ZodString;
306
325
  endpointArn: z.ZodString;
307
326
  }, z.core.$strip>>>;
308
327
  stackName: z.ZodOptional<z.ZodString>;
309
328
  identityKmsKeyArn: z.ZodOptional<z.ZodString>;
329
+ deployHash: z.ZodOptional<z.ZodString>;
310
330
  }, z.core.$strip>;
311
331
  export type DeployedResourceState = z.infer<typeof DeployedResourceStateSchema>;
312
332
  export declare const TargetDeployedStateSchema: z.ZodObject<{
@@ -426,12 +446,22 @@ export declare const TargetDeployedStateSchema: z.ZodObject<{
426
446
  policyArn: z.ZodString;
427
447
  engineName: z.ZodString;
428
448
  }, z.core.$strip>>>;
449
+ harnesses: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
450
+ harnessId: z.ZodString;
451
+ harnessArn: z.ZodString;
452
+ roleArn: z.ZodString;
453
+ status: z.ZodString;
454
+ agentRuntimeArn: z.ZodOptional<z.ZodString>;
455
+ memoryArn: z.ZodOptional<z.ZodString>;
456
+ configHash: z.ZodOptional<z.ZodString>;
457
+ }, z.core.$strip>>>;
429
458
  runtimeEndpoints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
430
459
  endpointId: z.ZodString;
431
460
  endpointArn: z.ZodString;
432
461
  }, z.core.$strip>>>;
433
462
  stackName: z.ZodOptional<z.ZodString>;
434
463
  identityKmsKeyArn: z.ZodOptional<z.ZodString>;
464
+ deployHash: z.ZodOptional<z.ZodString>;
435
465
  }, z.core.$strip>>;
436
466
  }, z.core.$strip>;
437
467
  export type TargetDeployedState = z.infer<typeof TargetDeployedStateSchema>;
@@ -557,12 +587,22 @@ export declare const DeployedStateSchema: z.ZodObject<{
557
587
  policyArn: z.ZodString;
558
588
  engineName: z.ZodString;
559
589
  }, z.core.$strip>>>;
590
+ harnesses: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
591
+ harnessId: z.ZodString;
592
+ harnessArn: z.ZodString;
593
+ roleArn: z.ZodString;
594
+ status: z.ZodString;
595
+ agentRuntimeArn: z.ZodOptional<z.ZodString>;
596
+ memoryArn: z.ZodOptional<z.ZodString>;
597
+ configHash: z.ZodOptional<z.ZodString>;
598
+ }, z.core.$strip>>>;
560
599
  runtimeEndpoints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
561
600
  endpointId: z.ZodString;
562
601
  endpointArn: z.ZodString;
563
602
  }, z.core.$strip>>>;
564
603
  stackName: z.ZodOptional<z.ZodString>;
565
604
  identityKmsKeyArn: z.ZodOptional<z.ZodString>;
605
+ deployHash: z.ZodOptional<z.ZodString>;
566
606
  }, z.core.$strip>>;
567
607
  }, z.core.$strip>>;
568
608
  }, z.core.$strip>;
@@ -689,12 +729,22 @@ export declare function createValidatedDeployedStateSchema(targetNames: string[]
689
729
  policyArn: z.ZodString;
690
730
  engineName: z.ZodString;
691
731
  }, z.core.$strip>>>;
732
+ harnesses: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
733
+ harnessId: z.ZodString;
734
+ harnessArn: z.ZodString;
735
+ roleArn: z.ZodString;
736
+ status: z.ZodString;
737
+ agentRuntimeArn: z.ZodOptional<z.ZodString>;
738
+ memoryArn: z.ZodOptional<z.ZodString>;
739
+ configHash: z.ZodOptional<z.ZodString>;
740
+ }, z.core.$strip>>>;
692
741
  runtimeEndpoints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
693
742
  endpointId: z.ZodString;
694
743
  endpointArn: z.ZodString;
695
744
  }, z.core.$strip>>>;
696
745
  stackName: z.ZodOptional<z.ZodString>;
697
746
  identityKmsKeyArn: z.ZodOptional<z.ZodString>;
747
+ deployHash: z.ZodOptional<z.ZodString>;
698
748
  }, z.core.$strip>>;
699
749
  }, z.core.$strip>>;
700
750
  }, z.core.$strip>;
@@ -1 +1 @@
1
- {"version":3,"file":"deployed-state.d.ts","sourceRoot":"","sources":["../../../src/schema/schemas/deployed-state.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,4BAA4B;;;;;;;;;iBAUvC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAMlF,eAAO,MAAM,yBAAyB;;;iBAGpC,CAAC;AAEH,MAAM,MAAM,m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wBAAgB,kCAAkC,CAAC,WAAW,EAAE,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAYvE"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeployedStateSchema = exports.TargetDeployedStateSchema = exports.DeployedResourceStateSchema = exports.RuntimeEndpointDeployedStateSchema = exports.HttpGatewayDeployedStateSchema = exports.ABTestDeployedStateSchema = exports.ConfigBundleDeployedStateSchema = exports.DatasetDeployedStateSchema = exports.OnlineEvalDeployedStateSchema = exports.EvaluatorDeployedStateSchema = exports.CredentialDeployedStateSchema = exports.PolicyDeployedStateSchema = exports.PolicyEngineDeployedStateSchema = exports.ExternallyManagedStateSchema = exports.VpcConfigSchema = exports.CustomJwtAuthorizerSchema = exports.ExternallyManagedResourceSchema = exports.McpDeployedStateSchema = exports.McpLambdaDeployedStateSchema = exports.McpRuntimeDeployedStateSchema = exports.GatewayDeployedStateSchema = exports.MemoryDeployedStateSchema = exports.AgentCoreDeployedStateSchema = void 0;
3
+ exports.DeployedStateSchema = exports.TargetDeployedStateSchema = exports.DeployedResourceStateSchema = exports.RuntimeEndpointDeployedStateSchema = exports.HttpGatewayDeployedStateSchema = exports.ABTestDeployedStateSchema = exports.ConfigBundleDeployedStateSchema = exports.DatasetDeployedStateSchema = exports.OnlineEvalDeployedStateSchema = exports.EvaluatorDeployedStateSchema = exports.CredentialDeployedStateSchema = exports.HarnessDeployedStateSchema = exports.PolicyDeployedStateSchema = exports.PolicyEngineDeployedStateSchema = exports.ExternallyManagedStateSchema = exports.VpcConfigSchema = exports.CustomJwtAuthorizerSchema = exports.ExternallyManagedResourceSchema = exports.McpDeployedStateSchema = exports.McpLambdaDeployedStateSchema = exports.McpRuntimeDeployedStateSchema = exports.GatewayDeployedStateSchema = exports.MemoryDeployedStateSchema = exports.AgentCoreDeployedStateSchema = void 0;
4
4
  exports.createValidatedDeployedStateSchema = createValidatedDeployedStateSchema;
5
5
  const auth_1 = require("./auth");
6
6
  const aws_targets_1 = require("./aws-targets");
@@ -94,6 +94,18 @@ exports.PolicyDeployedStateSchema = zod_1.z.object({
94
94
  engineName: zod_1.z.string().min(1),
95
95
  });
96
96
  // ============================================================================
97
+ // Harness Deployed State
98
+ // ============================================================================
99
+ exports.HarnessDeployedStateSchema = zod_1.z.object({
100
+ harnessId: zod_1.z.string().min(1),
101
+ harnessArn: zod_1.z.string().min(1),
102
+ roleArn: zod_1.z.string().min(1),
103
+ status: zod_1.z.string().min(1),
104
+ agentRuntimeArn: zod_1.z.string().optional(),
105
+ memoryArn: zod_1.z.string().optional(),
106
+ configHash: zod_1.z.string().optional(),
107
+ });
108
+ // ============================================================================
97
109
  // Credential Deployed State
98
110
  // ============================================================================
99
111
  exports.CredentialDeployedStateSchema = zod_1.z.object({
@@ -184,9 +196,11 @@ exports.DeployedResourceStateSchema = zod_1.z.object({
184
196
  httpGateways: zod_1.z.record(zod_1.z.string(), exports.HttpGatewayDeployedStateSchema).optional(),
185
197
  policyEngines: zod_1.z.record(zod_1.z.string(), exports.PolicyEngineDeployedStateSchema).optional(),
186
198
  policies: zod_1.z.record(zod_1.z.string(), exports.PolicyDeployedStateSchema).optional(),
199
+ harnesses: zod_1.z.record(zod_1.z.string(), exports.HarnessDeployedStateSchema).optional(),
187
200
  runtimeEndpoints: zod_1.z.record(zod_1.z.string(), exports.RuntimeEndpointDeployedStateSchema).optional(),
188
201
  stackName: zod_1.z.string().optional(),
189
202
  identityKmsKeyArn: zod_1.z.string().optional(),
203
+ deployHash: zod_1.z.string().optional(),
190
204
  });
191
205
  // ============================================================================
192
206
  // Target Deployed State
@@ -1 +1 @@
1
- {"version":3,"file":"deployed-state.js","sourceRoot":"","sources":["../../../src/schema/schemas/deployed-state.ts"],"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AAK,CAAC,OAAO,CAAC,CAAC;QAC7C,OAAO,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,aAAa,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;IACxD,CAAC,EACD;QACE,OAAO,EAAE,iEAAiE;KAC3E,CACF,CAAC;AACJ,CAAC"}
@@ -0,0 +1,363 @@
1
+ import { z } from 'zod';
2
+ export declare const HarnessNameSchema: z.ZodString;
3
+ export declare const HarnessModelProviderSchema: z.ZodEnum<{
4
+ bedrock: "bedrock";
5
+ open_ai: "open_ai";
6
+ gemini: "gemini";
7
+ }>;
8
+ export type HarnessModelProvider = z.infer<typeof HarnessModelProviderSchema>;
9
+ export declare const HarnessModelSchema: z.ZodObject<{
10
+ provider: z.ZodEnum<{
11
+ bedrock: "bedrock";
12
+ open_ai: "open_ai";
13
+ gemini: "gemini";
14
+ }>;
15
+ modelId: z.ZodString;
16
+ apiKeyArn: z.ZodOptional<z.ZodString>;
17
+ temperature: z.ZodOptional<z.ZodNumber>;
18
+ topP: z.ZodOptional<z.ZodNumber>;
19
+ topK: z.ZodOptional<z.ZodNumber>;
20
+ maxTokens: z.ZodOptional<z.ZodNumber>;
21
+ }, z.core.$strip>;
22
+ export type HarnessModel = z.infer<typeof HarnessModelSchema>;
23
+ export declare const HarnessToolTypeSchema: z.ZodEnum<{
24
+ remote_mcp: "remote_mcp";
25
+ agentcore_browser: "agentcore_browser";
26
+ agentcore_gateway: "agentcore_gateway";
27
+ inline_function: "inline_function";
28
+ agentcore_code_interpreter: "agentcore_code_interpreter";
29
+ }>;
30
+ export type HarnessToolType = z.infer<typeof HarnessToolTypeSchema>;
31
+ export declare const HarnessToolNameSchema: z.ZodString;
32
+ export declare const RemoteMcpConfigSchema: z.ZodObject<{
33
+ remoteMcp: z.ZodObject<{
34
+ url: z.ZodString;
35
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
36
+ }, z.core.$strip>;
37
+ }, z.core.$strip>;
38
+ export declare const AgentCoreBrowserConfigSchema: z.ZodObject<{
39
+ agentCoreBrowser: z.ZodObject<{
40
+ browserArn: z.ZodOptional<z.ZodString>;
41
+ }, z.core.$strip>;
42
+ }, z.core.$strip>;
43
+ export declare const AgentCoreCodeInterpreterConfigSchema: z.ZodObject<{
44
+ agentCoreCodeInterpreter: z.ZodObject<{
45
+ codeInterpreterArn: z.ZodOptional<z.ZodString>;
46
+ }, z.core.$strip>;
47
+ }, z.core.$strip>;
48
+ export declare const GatewayOAuthGrantTypeSchema: z.ZodEnum<{
49
+ CLIENT_CREDENTIALS: "CLIENT_CREDENTIALS";
50
+ USER_FEDERATION: "USER_FEDERATION";
51
+ }>;
52
+ export declare const HarnessGatewayOutboundAuthSchema: z.ZodUnion<readonly [z.ZodObject<{
53
+ awsIam: z.ZodObject<{}, z.core.$strip>;
54
+ }, z.core.$strip>, z.ZodObject<{
55
+ none: z.ZodObject<{}, z.core.$strip>;
56
+ }, z.core.$strip>, z.ZodObject<{
57
+ oauth: z.ZodObject<{
58
+ providerArn: z.ZodString;
59
+ scopes: z.ZodArray<z.ZodString>;
60
+ grantType: z.ZodOptional<z.ZodEnum<{
61
+ CLIENT_CREDENTIALS: "CLIENT_CREDENTIALS";
62
+ USER_FEDERATION: "USER_FEDERATION";
63
+ }>>;
64
+ customParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
65
+ }, z.core.$strip>;
66
+ }, z.core.$strip>]>;
67
+ export type HarnessGatewayOutboundAuth = z.infer<typeof HarnessGatewayOutboundAuthSchema>;
68
+ export declare const AgentCoreGatewayConfigSchema: z.ZodObject<{
69
+ agentCoreGateway: z.ZodObject<{
70
+ gatewayArn: z.ZodString;
71
+ outboundAuth: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
72
+ awsIam: z.ZodObject<{}, z.core.$strip>;
73
+ }, z.core.$strip>, z.ZodObject<{
74
+ none: z.ZodObject<{}, z.core.$strip>;
75
+ }, z.core.$strip>, z.ZodObject<{
76
+ oauth: z.ZodObject<{
77
+ providerArn: z.ZodString;
78
+ scopes: z.ZodArray<z.ZodString>;
79
+ grantType: z.ZodOptional<z.ZodEnum<{
80
+ CLIENT_CREDENTIALS: "CLIENT_CREDENTIALS";
81
+ USER_FEDERATION: "USER_FEDERATION";
82
+ }>>;
83
+ customParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
84
+ }, z.core.$strip>;
85
+ }, z.core.$strip>]>>;
86
+ }, z.core.$loose>;
87
+ }, z.core.$strip>;
88
+ export declare const InlineFunctionConfigSchema: z.ZodObject<{
89
+ inlineFunction: z.ZodObject<{
90
+ description: z.ZodString;
91
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
92
+ }, z.core.$strip>;
93
+ }, z.core.$strip>;
94
+ export declare const HarnessToolConfigSchema: z.ZodUnion<readonly [z.ZodObject<{
95
+ remoteMcp: z.ZodObject<{
96
+ url: z.ZodString;
97
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
98
+ }, z.core.$strip>;
99
+ }, z.core.$strip>, z.ZodObject<{
100
+ agentCoreBrowser: z.ZodObject<{
101
+ browserArn: z.ZodOptional<z.ZodString>;
102
+ }, z.core.$strip>;
103
+ }, z.core.$strip>, z.ZodObject<{
104
+ agentCoreCodeInterpreter: z.ZodObject<{
105
+ codeInterpreterArn: z.ZodOptional<z.ZodString>;
106
+ }, z.core.$strip>;
107
+ }, z.core.$strip>, z.ZodObject<{
108
+ agentCoreGateway: z.ZodObject<{
109
+ gatewayArn: z.ZodString;
110
+ outboundAuth: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
111
+ awsIam: z.ZodObject<{}, z.core.$strip>;
112
+ }, z.core.$strip>, z.ZodObject<{
113
+ none: z.ZodObject<{}, z.core.$strip>;
114
+ }, z.core.$strip>, z.ZodObject<{
115
+ oauth: z.ZodObject<{
116
+ providerArn: z.ZodString;
117
+ scopes: z.ZodArray<z.ZodString>;
118
+ grantType: z.ZodOptional<z.ZodEnum<{
119
+ CLIENT_CREDENTIALS: "CLIENT_CREDENTIALS";
120
+ USER_FEDERATION: "USER_FEDERATION";
121
+ }>>;
122
+ customParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
123
+ }, z.core.$strip>;
124
+ }, z.core.$strip>]>>;
125
+ }, z.core.$loose>;
126
+ }, z.core.$strip>, z.ZodObject<{
127
+ inlineFunction: z.ZodObject<{
128
+ description: z.ZodString;
129
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
130
+ }, z.core.$strip>;
131
+ }, z.core.$strip>]>;
132
+ export declare const HarnessToolSchema: z.ZodObject<{
133
+ type: z.ZodEnum<{
134
+ remote_mcp: "remote_mcp";
135
+ agentcore_browser: "agentcore_browser";
136
+ agentcore_gateway: "agentcore_gateway";
137
+ inline_function: "inline_function";
138
+ agentcore_code_interpreter: "agentcore_code_interpreter";
139
+ }>;
140
+ name: z.ZodString;
141
+ config: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
142
+ remoteMcp: z.ZodObject<{
143
+ url: z.ZodString;
144
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
145
+ }, z.core.$strip>;
146
+ }, z.core.$strip>, z.ZodObject<{
147
+ agentCoreBrowser: z.ZodObject<{
148
+ browserArn: z.ZodOptional<z.ZodString>;
149
+ }, z.core.$strip>;
150
+ }, z.core.$strip>, z.ZodObject<{
151
+ agentCoreCodeInterpreter: z.ZodObject<{
152
+ codeInterpreterArn: z.ZodOptional<z.ZodString>;
153
+ }, z.core.$strip>;
154
+ }, z.core.$strip>, z.ZodObject<{
155
+ agentCoreGateway: z.ZodObject<{
156
+ gatewayArn: z.ZodString;
157
+ outboundAuth: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
158
+ awsIam: z.ZodObject<{}, z.core.$strip>;
159
+ }, z.core.$strip>, z.ZodObject<{
160
+ none: z.ZodObject<{}, z.core.$strip>;
161
+ }, z.core.$strip>, z.ZodObject<{
162
+ oauth: z.ZodObject<{
163
+ providerArn: z.ZodString;
164
+ scopes: z.ZodArray<z.ZodString>;
165
+ grantType: z.ZodOptional<z.ZodEnum<{
166
+ CLIENT_CREDENTIALS: "CLIENT_CREDENTIALS";
167
+ USER_FEDERATION: "USER_FEDERATION";
168
+ }>>;
169
+ customParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
170
+ }, z.core.$strip>;
171
+ }, z.core.$strip>]>>;
172
+ }, z.core.$loose>;
173
+ }, z.core.$strip>, z.ZodObject<{
174
+ inlineFunction: z.ZodObject<{
175
+ description: z.ZodString;
176
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
177
+ }, z.core.$strip>;
178
+ }, z.core.$strip>]>>;
179
+ }, z.core.$strip>;
180
+ export type HarnessTool = z.infer<typeof HarnessToolSchema>;
181
+ export declare const HarnessMemoryRefSchema: z.ZodObject<{
182
+ name: z.ZodOptional<z.ZodString>;
183
+ arn: z.ZodOptional<z.ZodString>;
184
+ actorId: z.ZodOptional<z.ZodString>;
185
+ }, z.core.$strip>;
186
+ export type HarnessMemoryRef = z.infer<typeof HarnessMemoryRefSchema>;
187
+ export declare const HarnessTruncationStrategySchema: z.ZodEnum<{
188
+ sliding_window: "sliding_window";
189
+ summarization: "summarization";
190
+ }>;
191
+ export declare const SlidingWindowConfigSchema: z.ZodObject<{
192
+ slidingWindow: z.ZodObject<{
193
+ messagesCount: z.ZodOptional<z.ZodNumber>;
194
+ }, z.core.$strip>;
195
+ }, z.core.$strip>;
196
+ export declare const SummarizationConfigSchema: z.ZodObject<{
197
+ summarization: z.ZodObject<{
198
+ summaryRatio: z.ZodOptional<z.ZodNumber>;
199
+ preserveRecentMessages: z.ZodOptional<z.ZodNumber>;
200
+ summarizationSystemPrompt: z.ZodOptional<z.ZodString>;
201
+ }, z.core.$strip>;
202
+ }, z.core.$strip>;
203
+ export declare const HarnessTruncationConfigSchema: z.ZodObject<{
204
+ strategy: z.ZodEnum<{
205
+ sliding_window: "sliding_window";
206
+ summarization: "summarization";
207
+ }>;
208
+ config: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
209
+ slidingWindow: z.ZodObject<{
210
+ messagesCount: z.ZodOptional<z.ZodNumber>;
211
+ }, z.core.$strip>;
212
+ }, z.core.$strip>, z.ZodObject<{
213
+ summarization: z.ZodObject<{
214
+ summaryRatio: z.ZodOptional<z.ZodNumber>;
215
+ preserveRecentMessages: z.ZodOptional<z.ZodNumber>;
216
+ summarizationSystemPrompt: z.ZodOptional<z.ZodString>;
217
+ }, z.core.$strip>;
218
+ }, z.core.$strip>]>>;
219
+ }, z.core.$strip>;
220
+ export type HarnessTruncationConfig = z.infer<typeof HarnessTruncationConfigSchema>;
221
+ export declare const AllowedToolSchema: z.ZodString;
222
+ export declare const HarnessSpecSchema: z.ZodObject<{
223
+ name: z.ZodString;
224
+ model: z.ZodObject<{
225
+ provider: z.ZodEnum<{
226
+ bedrock: "bedrock";
227
+ open_ai: "open_ai";
228
+ gemini: "gemini";
229
+ }>;
230
+ modelId: z.ZodString;
231
+ apiKeyArn: z.ZodOptional<z.ZodString>;
232
+ temperature: z.ZodOptional<z.ZodNumber>;
233
+ topP: z.ZodOptional<z.ZodNumber>;
234
+ topK: z.ZodOptional<z.ZodNumber>;
235
+ maxTokens: z.ZodOptional<z.ZodNumber>;
236
+ }, z.core.$strip>;
237
+ systemPrompt: z.ZodOptional<z.ZodString>;
238
+ tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
239
+ type: z.ZodEnum<{
240
+ remote_mcp: "remote_mcp";
241
+ agentcore_browser: "agentcore_browser";
242
+ agentcore_gateway: "agentcore_gateway";
243
+ inline_function: "inline_function";
244
+ agentcore_code_interpreter: "agentcore_code_interpreter";
245
+ }>;
246
+ name: z.ZodString;
247
+ config: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
248
+ remoteMcp: z.ZodObject<{
249
+ url: z.ZodString;
250
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
251
+ }, z.core.$strip>;
252
+ }, z.core.$strip>, z.ZodObject<{
253
+ agentCoreBrowser: z.ZodObject<{
254
+ browserArn: z.ZodOptional<z.ZodString>;
255
+ }, z.core.$strip>;
256
+ }, z.core.$strip>, z.ZodObject<{
257
+ agentCoreCodeInterpreter: z.ZodObject<{
258
+ codeInterpreterArn: z.ZodOptional<z.ZodString>;
259
+ }, z.core.$strip>;
260
+ }, z.core.$strip>, z.ZodObject<{
261
+ agentCoreGateway: z.ZodObject<{
262
+ gatewayArn: z.ZodString;
263
+ outboundAuth: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
264
+ awsIam: z.ZodObject<{}, z.core.$strip>;
265
+ }, z.core.$strip>, z.ZodObject<{
266
+ none: z.ZodObject<{}, z.core.$strip>;
267
+ }, z.core.$strip>, z.ZodObject<{
268
+ oauth: z.ZodObject<{
269
+ providerArn: z.ZodString;
270
+ scopes: z.ZodArray<z.ZodString>;
271
+ grantType: z.ZodOptional<z.ZodEnum<{
272
+ CLIENT_CREDENTIALS: "CLIENT_CREDENTIALS";
273
+ USER_FEDERATION: "USER_FEDERATION";
274
+ }>>;
275
+ customParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
276
+ }, z.core.$strip>;
277
+ }, z.core.$strip>]>>;
278
+ }, z.core.$loose>;
279
+ }, z.core.$strip>, z.ZodObject<{
280
+ inlineFunction: z.ZodObject<{
281
+ description: z.ZodString;
282
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
283
+ }, z.core.$strip>;
284
+ }, z.core.$strip>]>>;
285
+ }, z.core.$strip>>>;
286
+ skills: z.ZodDefault<z.ZodArray<z.ZodString>>;
287
+ allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
288
+ memory: z.ZodOptional<z.ZodObject<{
289
+ name: z.ZodOptional<z.ZodString>;
290
+ arn: z.ZodOptional<z.ZodString>;
291
+ actorId: z.ZodOptional<z.ZodString>;
292
+ }, z.core.$strip>>;
293
+ maxIterations: z.ZodOptional<z.ZodNumber>;
294
+ maxTokens: z.ZodOptional<z.ZodNumber>;
295
+ timeoutSeconds: z.ZodOptional<z.ZodNumber>;
296
+ truncation: z.ZodOptional<z.ZodObject<{
297
+ strategy: z.ZodEnum<{
298
+ sliding_window: "sliding_window";
299
+ summarization: "summarization";
300
+ }>;
301
+ config: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
302
+ slidingWindow: z.ZodObject<{
303
+ messagesCount: z.ZodOptional<z.ZodNumber>;
304
+ }, z.core.$strip>;
305
+ }, z.core.$strip>, z.ZodObject<{
306
+ summarization: z.ZodObject<{
307
+ summaryRatio: z.ZodOptional<z.ZodNumber>;
308
+ preserveRecentMessages: z.ZodOptional<z.ZodNumber>;
309
+ summarizationSystemPrompt: z.ZodOptional<z.ZodString>;
310
+ }, z.core.$strip>;
311
+ }, z.core.$strip>]>>;
312
+ }, z.core.$strip>>;
313
+ containerUri: z.ZodOptional<z.ZodString>;
314
+ dockerfile: z.ZodOptional<z.ZodString>;
315
+ executionRoleArn: z.ZodOptional<z.ZodString>;
316
+ networkMode: z.ZodOptional<z.ZodEnum<{
317
+ PUBLIC: "PUBLIC";
318
+ VPC: "VPC";
319
+ }>>;
320
+ networkConfig: z.ZodOptional<z.ZodObject<{
321
+ subnets: z.ZodArray<z.ZodString>;
322
+ securityGroups: z.ZodArray<z.ZodString>;
323
+ }, z.core.$strip>>;
324
+ lifecycleConfig: z.ZodOptional<z.ZodObject<{
325
+ idleRuntimeSessionTimeout: z.ZodOptional<z.ZodNumber>;
326
+ maxLifetime: z.ZodOptional<z.ZodNumber>;
327
+ }, z.core.$strip>>;
328
+ sessionStoragePath: z.ZodOptional<z.ZodString>;
329
+ environmentVariables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
330
+ authorizerType: z.ZodOptional<z.ZodEnum<{
331
+ AWS_IAM: "AWS_IAM";
332
+ CUSTOM_JWT: "CUSTOM_JWT";
333
+ }>>;
334
+ authorizerConfiguration: z.ZodOptional<z.ZodObject<{
335
+ customJwtAuthorizer: z.ZodOptional<z.ZodObject<{
336
+ discoveryUrl: z.ZodString;
337
+ allowedAudience: z.ZodOptional<z.ZodArray<z.ZodString>>;
338
+ allowedClients: z.ZodOptional<z.ZodArray<z.ZodString>>;
339
+ allowedScopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
340
+ customClaims: z.ZodOptional<z.ZodArray<z.ZodObject<{
341
+ inboundTokenClaimName: z.ZodString;
342
+ inboundTokenClaimValueType: z.ZodEnum<{
343
+ STRING: "STRING";
344
+ STRING_ARRAY: "STRING_ARRAY";
345
+ }>;
346
+ authorizingClaimMatchValue: z.ZodObject<{
347
+ claimMatchOperator: z.ZodEnum<{
348
+ EQUALS: "EQUALS";
349
+ CONTAINS: "CONTAINS";
350
+ CONTAINS_ANY: "CONTAINS_ANY";
351
+ }>;
352
+ claimMatchValue: z.ZodObject<{
353
+ matchValueString: z.ZodOptional<z.ZodString>;
354
+ matchValueStringList: z.ZodOptional<z.ZodArray<z.ZodString>>;
355
+ }, z.core.$strip>;
356
+ }, z.core.$strip>;
357
+ }, z.core.$strict>>>;
358
+ }, z.core.$strict>>;
359
+ }, z.core.$strip>>;
360
+ tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
361
+ }, z.core.$strip>;
362
+ export type HarnessSpec = z.infer<typeof HarnessSpecSchema>;
363
+ //# sourceMappingURL=harness.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"harness.d.ts","sourceRoot":"","sources":["../../../../src/schema/schemas/primitives/harness.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,iBAAiB,aAO3B,CAAC;AAMJ,eAAO,MAAM,0BAA0B;;;;EAA2C,CAAC;AACnF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,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