@agentuity/claude-code 3.0.0-alpha.6 → 3.0.0-alpha.7

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,6 +1,6 @@
1
1
  {
2
2
  "name": "agentuity",
3
- "version": "3.0.0-alpha.6",
3
+ "version": "3.0.0-alpha.7",
4
4
  "description": "Deploy websites, apps, and AI agents to Agentuity — with managed databases, storage, queues, and more",
5
5
  "author": {
6
6
  "name": "Agentuity",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentuity/claude-code",
3
- "version": "3.0.0-alpha.6",
3
+ "version": "3.0.0-alpha.7",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Agentuity",
6
6
  "description": "Claude Code plugin for deploying websites, apps, and AI agents to Agentuity — with managed databases, storage, sandboxes, queues, cron, email, and more",
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: agentuity-backend
3
- description: When building AI agents, backend APIs, or server-side logic with Agentuity. Covers @agentuity/runtime for agent handlers and HTTP routing, @agentuity/schema for validation, @agentuity/drizzle and @agentuity/postgres for database access, and @agentuity/evals for testing agent quality.
3
+ description: When building AI agents, backend APIs, or server-side logic with Agentuity. Covers @agentuity/runtime for agent handlers and HTTP routing, @agentuity/schema for validation, @agentuity/drizzle and @agentuity/postgres for database access.
4
4
  version: 2.0.0
5
5
  ---
6
6
 
@@ -16,7 +16,7 @@ version: 2.0.0
16
16
  | `@agentuity/postgres` | **Resilient PostgreSQL client with auto-reconnect** |
17
17
  | `@agentuity/server` | Server utilities, validation helpers |
18
18
  | `@agentuity/core` | Shared types, StructuredError, interfaces |
19
- | `@agentuity/evals` | Agent evaluation framework |
19
+
20
20
 
21
21
  ## Package Recommendations
22
22
 
@@ -181,39 +181,6 @@ Namespaces are auto-created on first write with a 7-day default TTL. Override pe
181
181
 
182
182
  - Docs: https://agentuity.dev/services/storage/key-value.md
183
183
 
184
- ## Agent Evaluations
185
-
186
- Use `@agentuity/evals` for preset evaluations and `agent.createEval()` for custom ones:
187
-
188
- ```typescript
189
- // Preset eval (e.g., adversarial testing)
190
- import { adversarial } from '@agentuity/evals';
191
- import agent from './index';
192
-
193
- export const adversarialEval = agent.createEval(
194
- adversarial({
195
- middleware: {
196
- transformInput: (input) => ({ request: input.text }),
197
- transformOutput: (output) => ({ response: output.result }),
198
- },
199
- })
200
- );
201
-
202
- // Custom eval
203
- export const qualityEval = agent.createEval('quality-check', {
204
- description: 'Verifies output quality meets threshold',
205
- handler: async (ctx, input, output) => {
206
- return {
207
- passed: output.result.length > 0,
208
- reason: output.result.length > 0 ? 'Output is non-empty' : 'Empty output',
209
- };
210
- },
211
- });
212
- ```
213
-
214
- Place eval files alongside the agent: `src/agent/<name>/eval.ts`.
215
-
216
- - Docs: https://agentuity.dev/agents/evaluations.md
217
184
 
218
185
  ## v2 Migration
219
186
 
@@ -229,7 +196,7 @@ If upgrading from v1, run `npx @agentuity/migrate` to auto-convert `createRouter
229
196
  | Schema Libraries | https://agentuity.dev/agents/schema-libraries.md |
230
197
  | Calling Other Agents | https://agentuity.dev/agents/calling-other-agents.md |
231
198
  | Events & Lifecycle | https://agentuity.dev/agents/events-lifecycle.md |
232
- | Evaluations | https://agentuity.dev/agents/evaluations.md |
199
+
233
200
  | AI SDK Integration | https://agentuity.dev/agents/ai-sdk-integration.md |
234
201
  | AI Gateway | https://agentuity.dev/agents/ai-gateway.md |
235
202
  | Drizzle ORM | https://agentuity.dev/services/database/drizzle.md |
@@ -249,7 +216,7 @@ If upgrading from v1, run `npx @agentuity/migrate` to auto-convert `createRouter
249
216
  | Using `c.var.logger` in agent handlers | Use `ctx.logger` in agents | Agent context and route context have different APIs |
250
217
  | Using `ctx.logger` in route handlers | Use `c.var.logger` in routes | Agent context and route context have different APIs |
251
218
  | Exposing agents without routes | Create API routes in `src/api/` | Agents are not HTTP endpoints |
252
- | Skipping agent evaluations | Add eval.ts alongside agent index.ts | Evals catch regressions and validate quality |
219
+ | Skipping background quality checks | Use `completed` event with `ctx.waitUntil()` for post-response checks | Evals catch regressions and validate quality |
253
220
  | Using mutating router style (.get() separately) | Use chained Hono methods (.get().post()) | Chained style required for hc<AppRouter>() types |
254
221
  | Missing agent barrel file | Create src/agent/index.ts re-exporting agents | v2 requires explicit agent registration |
255
222
  | `ctx.kv.get('key')` (missing namespace) | `ctx.kv.get<T>('namespace', 'key')` — check `.exists` | KV requires namespace + key, returns DataResult not T |
@@ -37,10 +37,7 @@ Agentuity is a full-stack deployment platform for TypeScript applications. It pr
37
37
  | `@agentuity/postgres` | Resilient PostgreSQL client | Backend |
38
38
  | `@agentuity/core` | Shared types, StructuredError | Backend |
39
39
  | `@agentuity/server` | Server utilities | Backend |
40
- | `@agentuity/evals` | Agent evaluation framework | Backend |
41
- | `@agentuity/react` | React hooks for agents | Frontend |
42
- | `@agentuity/frontend` | Framework-agnostic web utils | Frontend |
43
- | `@agentuity/auth` | Authentication (server + client) | Frontend |
40
+
44
41
 
45
42
  ## Package Recommendations
46
43