@crvouga/mockingbird-service-bedrock 0.1.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.
package/dist/server.js ADDED
@@ -0,0 +1,14 @@
1
+ import {
2
+ DEFAULT_PORT,
3
+ createServer,
4
+ listenH2c,
5
+ serveTarget
6
+ } from "./chunk-BMGWOFIJ.js";
7
+ import "./chunk-O5ZO5KMR.js";
8
+ export {
9
+ DEFAULT_PORT,
10
+ createServer,
11
+ listenH2c,
12
+ serveTarget
13
+ };
14
+ //# sourceMappingURL=server.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
package/package.json ADDED
@@ -0,0 +1,98 @@
1
+ {
2
+ "name": "@crvouga/mockingbird-service-bedrock",
3
+ "version": "0.1.0",
4
+ "description": "Stateful, scriptable mock of AWS Bedrock Runtime (Converse, ConverseStream, InvokeModel incl. Titan embeddings, Nova Sonic bidirectional streams over h2c) and AgentCore InvokeHarness, with exact event-stream framing.",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "sideEffects": false,
8
+ "files": [
9
+ "dist",
10
+ "README.md",
11
+ "CHANGELOG.md"
12
+ ],
13
+ "main": "./dist/index.js",
14
+ "types": "./dist/index.d.ts",
15
+ "exports": {
16
+ ".": {
17
+ "types": "./dist/index.d.ts",
18
+ "default": "./dist/index.js"
19
+ },
20
+ "./server": {
21
+ "types": "./dist/server.d.ts",
22
+ "default": "./dist/server.js"
23
+ }
24
+ },
25
+ "bin": {
26
+ "mockingbird-bedrock": "./dist/cli.js"
27
+ },
28
+ "publishConfig": {
29
+ "access": "public",
30
+ "provenance": true
31
+ },
32
+ "repository": {
33
+ "type": "git",
34
+ "url": "git+https://github.com/crvouga/mockingbird.git",
35
+ "directory": "packages/service/bedrock"
36
+ },
37
+ "homepage": "https://github.com/crvouga/mockingbird/tree/main/packages/service/bedrock#readme",
38
+ "keywords": [
39
+ "mockingbird",
40
+ "service",
41
+ "bedrock",
42
+ "aws",
43
+ "llm",
44
+ "converse",
45
+ "eventstream",
46
+ "nova-sonic",
47
+ "agentcore",
48
+ "titan"
49
+ ],
50
+ "mockingbird": {
51
+ "runtime": "portable",
52
+ "entries": {
53
+ "server": "node",
54
+ "cli": "node"
55
+ },
56
+ "layer": "service",
57
+ "category": "ai",
58
+ "displayName": "AWS Bedrock",
59
+ "status": "wip"
60
+ },
61
+ "scripts": {
62
+ "generate": "bun ../../openapi/codegen/dist/cli.js",
63
+ "generate:check": "bun ../../openapi/codegen/dist/cli.js --check",
64
+ "openapi:check": "bun ../../openapi/codegen/dist/cli.js --validate",
65
+ "build": "bun ../../../scripts/bundle-service.ts",
66
+ "typecheck": "tsc -p tsconfig.json --noEmit",
67
+ "lint": "biome check .",
68
+ "test": "bun test",
69
+ "parity": "bun scripts/parity.ts",
70
+ "portability": "bun ../../../scripts/portability.ts",
71
+ "pack:check": "bun ../../../scripts/pack-check.ts"
72
+ },
73
+ "dependencies": {
74
+ "@crvouga/mockingbird-service-sqlite": "0.3.0",
75
+ "hono": "4.11.9"
76
+ },
77
+ "devDependencies": {
78
+ "@ai-sdk/amazon-bedrock": "4.0.176",
79
+ "@aws-sdk/client-bedrock-agentcore": "3.1074.0",
80
+ "@aws-sdk/client-bedrock-runtime": "3.1132.0",
81
+ "@crvouga/mockingbird-adapter-node": "0.0.0-development",
82
+ "@crvouga/mockingbird-core": "0.0.0-development",
83
+ "@crvouga/mockingbird-http-codec": "0.0.0-development",
84
+ "@crvouga/mockingbird-openapi": "0.0.0-development",
85
+ "@crvouga/mockingbird-openapi-codegen": "0.1.0",
86
+ "@crvouga/mockingbird-openapi-metadata": "0.0.0-development",
87
+ "@crvouga/mockingbird-openbao": "0.0.0-development",
88
+ "@crvouga/mockingbird-parity": "0.0.0-development",
89
+ "@crvouga/mockingbird-service": "0.0.0-development",
90
+ "@crvouga/mockingbird-service-sqlite": "0.0.0-development",
91
+ "@crvouga/mockingbird-sqlite": "0.0.0-development",
92
+ "@crvouga/mockingbird-testing": "0.1.0",
93
+ "@smithy/eventstream-codec": "4.5.2",
94
+ "ai": "6.0.283",
95
+ "fast-check": "4.9.0",
96
+ "zod": "3.25.76"
97
+ }
98
+ }