@alexkroman1/aai 1.8.2 → 1.8.3

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.
@@ -1,15 +1,15 @@
1
1
 
2
- > @alexkroman1/aai@1.8.2 build /home/runner/work/agent/agent/packages/aai
2
+ > @alexkroman1/aai@1.8.3 build /home/runner/work/agent/agent/packages/aai
3
3
  > tsdown && tsc -p tsconfig.build.json
4
4
 
5
- ℹ tsdown v0.21.7 powered by rolldown v1.0.0-rc.12
5
+ ℹ tsdown v0.21.10 powered by rolldown v1.0.0-rc.17
6
6
  ℹ config file: /home/runner/work/agent/agent/packages/aai/tsdown.config.ts
7
7
  ℹ entry: index.ts, sdk/protocol.ts, host/runtime-barrel.ts, sdk/manifest-barrel.ts, sdk/providers/stt-barrel.ts, sdk/providers/tts-barrel.ts, sdk/providers/llm-barrel.ts, sdk/providers/vector-barrel.ts, sdk/providers/kv-barrel.ts, sdk/providers/s2s-barrel.ts
8
8
  ℹ target: node22
9
9
  ℹ tsconfig: tsconfig.json
10
10
  ℹ Build start
11
11
  ℹ dist/host/runtime-barrel.js 110.46 kB │ gzip: 30.38 kB
12
- ℹ dist/sdk/protocol.js  5.70 kB │ gzip: 1.92 kB
12
+ ℹ dist/sdk/protocol.js  5.87 kB │ gzip: 2.01 kB
13
13
  ℹ dist/index.js  2.88 kB │ gzip: 1.24 kB
14
14
  ℹ dist/sdk/manifest-barrel.js  0.36 kB │ gzip: 0.20 kB
15
15
  ℹ dist/sdk/providers/llm-barrel.js  0.36 kB │ gzip: 0.22 kB
@@ -28,5 +28,5 @@
28
28
  ℹ dist/s3-BtCMvCod.js  0.76 kB │ gzip: 0.29 kB
29
29
  ℹ dist/pinecone-CeJ69aRs.js  0.48 kB │ gzip: 0.24 kB
30
30
  ℹ dist/openai-realtime-cjPAHMMx.js  0.27 kB │ gzip: 0.19 kB
31
- ℹ 20 files, total: 140.98 kB
32
- ✔ Build complete in 42ms
31
+ ℹ 20 files, total: 141.15 kB
32
+ ✔ Build complete in 54ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @alexkroman1/aai
2
2
 
3
+ ## 1.8.3
4
+
3
5
  ## 1.8.2
4
6
 
5
7
  ### Patch Changes
@@ -54,6 +54,7 @@ const KvSetSchema = z.object({
54
54
  op: z.literal("set"),
55
55
  key: z.string().min(1),
56
56
  value: z.unknown(),
57
+ /** Time-to-live in **milliseconds**. */
57
58
  expireIn: z.number().int().positive().optional()
58
59
  });
59
60
  /** Zod schema for the KV "del" operation. */
@@ -161,6 +162,8 @@ const ServerMessageSchema = z.discriminatedUnion("type", [
161
162
  audioFormat: z.string(),
162
163
  sampleRate: z.number(),
163
164
  ttsSampleRate: z.number(),
165
+ /** Session ID for this connection. Clients can reconnect with
166
+ * `?sessionId=<id>` to resume a persisted session. */
164
167
  sessionId: z.string().optional()
165
168
  }),
166
169
  ev("audio_done"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexkroman1/aai",
3
- "version": "1.8.2",
3
+ "version": "1.8.3",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -55,17 +55,17 @@
55
55
  }
56
56
  },
57
57
  "dependencies": {
58
- "@ai-sdk/anthropic": "^3.0.0",
59
- "@ai-sdk/google": "^3.0.0",
60
- "@ai-sdk/groq": "^3.0.0",
61
- "@ai-sdk/mistral": "^3.0.0",
62
- "@ai-sdk/openai": "^3.0.0",
63
- "@ai-sdk/xai": "^3.0.0",
58
+ "@ai-sdk/anthropic": "^3.0.76",
59
+ "@ai-sdk/google": "^3.0.72",
60
+ "@ai-sdk/groq": "^3.0.39",
61
+ "@ai-sdk/mistral": "^3.0.36",
62
+ "@ai-sdk/openai": "^3.0.63",
63
+ "@ai-sdk/xai": "^3.0.89",
64
64
  "@cartesia/cartesia-js": "^3.0.0",
65
- "@deepgram/sdk": "^5.0.0",
66
- "@elevenlabs/elevenlabs-js": "^2.43.0",
67
- "ai": "^6.0.161",
68
- "assemblyai": "^4.30.0",
65
+ "@deepgram/sdk": "^5.1.0",
66
+ "@elevenlabs/elevenlabs-js": "^2.46.0",
67
+ "ai": "^6.0.177",
68
+ "assemblyai": "^4.33.0",
69
69
  "escape-html": "^1.0.3",
70
70
  "html-to-text": "^9.0.5",
71
71
  "mime-types": "^3.0.2",
@@ -73,10 +73,10 @@
73
73
  "p-timeout": "^7.0.1",
74
74
  "unstorage": "^1.17.5",
75
75
  "ws": "^8.20.0",
76
- "zod": "^4.3.6"
76
+ "zod": "^4.4.3"
77
77
  },
78
78
  "peerDependencies": {
79
- "@pinecone-database/pinecone": "^7.0.0"
79
+ "@pinecone-database/pinecone": "^7.2.0"
80
80
  },
81
81
  "peerDependenciesMeta": {
82
82
  "@pinecone-database/pinecone": {
@@ -84,15 +84,15 @@
84
84
  }
85
85
  },
86
86
  "devDependencies": {
87
- "@pinecone-database/pinecone": "^7.0.0",
87
+ "@pinecone-database/pinecone": "^7.2.0",
88
88
  "@types/escape-html": "^1.0.4",
89
89
  "@types/html-to-text": "^9.0.4",
90
90
  "@types/json-schema": "^7.0.15",
91
91
  "@types/mime-types": "^3.0.1",
92
- "@types/node": "^25.5.2",
92
+ "@types/node": "^25.7.0",
93
93
  "@types/ws": "^8.18.1",
94
- "tsdown": "^0.21.7",
95
- "vitest": "^4.1.3"
94
+ "tsdown": "^0.21.10",
95
+ "vitest": "^4.1.6"
96
96
  },
97
97
  "engines": {
98
98
  "node": ">=24"