mirror of
https://github.com/strands-agents/harness-sdk.git
synced 2026-10-02 02:44:48 +08:00
chore(harness-ts): lift the @strands-agents/sdk <1.18.0 cap (#4520)
This commit is contained in:
Generated
+11
-43
@@ -16,7 +16,7 @@
|
||||
"@opentelemetry/sdk-trace-base": "^2.6.1",
|
||||
"@opentelemetry/sdk-trace-node": "^2.6.1",
|
||||
"@pydantic/monty": "0.0.23",
|
||||
"@strands-agents/sdk": ">=1.17.0 <1.18.0",
|
||||
"@strands-agents/sdk": ">=1.19.0 <2.0.0",
|
||||
"cjs-module-lexer": "^2.2.1",
|
||||
"esbuild": "^0.28.2",
|
||||
"import-meta-resolve": "^4.2.0",
|
||||
@@ -1731,9 +1731,6 @@
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
"libc": [
|
||||
"glibc"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -1750,9 +1747,6 @@
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
"libc": [
|
||||
"glibc"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -1896,9 +1890,6 @@
|
||||
"arm64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"glibc"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -1916,9 +1907,6 @@
|
||||
"arm64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"musl"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -1936,9 +1924,6 @@
|
||||
"ppc64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"glibc"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -1956,9 +1941,6 @@
|
||||
"s390x"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"glibc"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -1976,9 +1958,6 @@
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"glibc"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -1996,9 +1975,6 @@
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"musl"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -2204,16 +2180,16 @@
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@strands-agents/sdk": {
|
||||
"version": "1.17.0",
|
||||
"resolved": "https://registry.npmjs.org/@strands-agents/sdk/-/sdk-1.17.0.tgz",
|
||||
"integrity": "sha512-+P2LsdTP0sF2s0hQtQ3KNPjAMAbU8sOGzNYicLtunDYxS0hkn0ZXU26utCkdP/3Rwnu5BFxCSvhrsp3H1jldCQ==",
|
||||
"version": "1.19.0",
|
||||
"resolved": "https://registry.npmjs.org/@strands-agents/sdk/-/sdk-1.19.0.tgz",
|
||||
"integrity": "sha512-pYBv1x0Vbt+/nPsvD3jyF4Re0ljTWK5iiuh4sdvuZs+DnXVsRhqbHXRhdsTh3X8f+mvk2XF6YadJzsmscXOBkg==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-bedrock-runtime": "^3.1112.0",
|
||||
"@smithy/fetch-http-handler": "^5.7.2",
|
||||
"@aws-sdk/client-bedrock-runtime": "^3.1132.0",
|
||||
"@smithy/fetch-http-handler": "^5.8.0",
|
||||
"@types/json-schema": "^7.0.15",
|
||||
"uuid": "^14.0.2",
|
||||
"yaml": "^2.8.3"
|
||||
"yaml": "^2.9.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=22.0.0"
|
||||
@@ -2241,6 +2217,7 @@
|
||||
"@tobilu/qmd": "^2.8.0",
|
||||
"express": "^5.1.0",
|
||||
"openai": "^6.45.0",
|
||||
"turndown": "^7.2.4",
|
||||
"zod": "^4.1.12"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
@@ -2303,6 +2280,9 @@
|
||||
},
|
||||
"openai": {
|
||||
"optional": true
|
||||
},
|
||||
"turndown": {
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -4177,9 +4157,6 @@
|
||||
"arm64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"glibc"
|
||||
],
|
||||
"license": "MPL-2.0",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -4201,9 +4178,6 @@
|
||||
"arm64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"musl"
|
||||
],
|
||||
"license": "MPL-2.0",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -4225,9 +4199,6 @@
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"glibc"
|
||||
],
|
||||
"license": "MPL-2.0",
|
||||
"optional": true,
|
||||
"os": [
|
||||
@@ -4249,9 +4220,6 @@
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"libc": [
|
||||
"musl"
|
||||
],
|
||||
"license": "MPL-2.0",
|
||||
"optional": true,
|
||||
"os": [
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
"@opentelemetry/sdk-trace-base": "^2.6.1",
|
||||
"@opentelemetry/sdk-trace-node": "^2.6.1",
|
||||
"@pydantic/monty": "0.0.23",
|
||||
"@strands-agents/sdk": ">=1.17.0 <1.18.0",
|
||||
"@strands-agents/sdk": ">=1.19.0 <2.0.0",
|
||||
"cjs-module-lexer": "^2.2.1",
|
||||
"esbuild": "^0.28.2",
|
||||
"import-meta-resolve": "^4.2.0",
|
||||
|
||||
@@ -129,7 +129,7 @@ describe('createHarness', () => {
|
||||
expect(toolNames(agent)).toContain(name)
|
||||
}
|
||||
expect(agent.systemPrompt).toBe(HARNESS_CONTRACT)
|
||||
expect(conversationManagerName(agent)).toBe('SummarizingConversationManager')
|
||||
expect(agent.contextManager).toBeInstanceOf(ContextManager)
|
||||
})
|
||||
|
||||
it('attaches a ModelRouter through the model parameter', async () => {
|
||||
@@ -439,7 +439,7 @@ describe('createHarness', () => {
|
||||
|
||||
it('uses the default strategy when contextManager is auto', async () => {
|
||||
const agent = await createHarness({ contextManager: 'auto' })
|
||||
expect(conversationManagerName(agent)).toBe('SummarizingConversationManager')
|
||||
expect(agent.contextManager).toBeInstanceOf(ContextManager)
|
||||
})
|
||||
|
||||
it('disables context management when contextManager is null', async () => {
|
||||
|
||||
Reference in New Issue
Block a user