@agi-cli/server 0.1.164 → 0.1.165

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agi-cli/server",
3
- "version": "0.1.164",
3
+ "version": "0.1.165",
4
4
  "description": "HTTP API server for AGI CLI",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -29,8 +29,8 @@
29
29
  "typecheck": "tsc --noEmit"
30
30
  },
31
31
  "dependencies": {
32
- "@agi-cli/sdk": "0.1.164",
33
- "@agi-cli/database": "0.1.164",
32
+ "@agi-cli/sdk": "0.1.165",
33
+ "@agi-cli/database": "0.1.165",
34
34
  "drizzle-orm": "^0.44.5",
35
35
  "hono": "^4.9.9",
36
36
  "zod": "^4.1.8"
@@ -15,7 +15,7 @@ export function registerDefaultsRoute(app: Hono) {
15
15
  scope?: 'global' | 'local';
16
16
  }>();
17
17
 
18
- const scope = body.scope || 'local';
18
+ const scope = body.scope || 'global';
19
19
  const updates: Partial<{
20
20
  agent: string;
21
21
  provider: string;
@@ -20,12 +20,6 @@ export function registerSessionApprovalRoute(app: Hono) {
20
20
  return c.json({ ok: false, error: 'approved must be a boolean' }, 400);
21
21
  }
22
22
 
23
- console.log('[approval-route] Received approval request', {
24
- sessionId,
25
- callId: body.callId,
26
- approved: body.approved,
27
- });
28
-
29
23
  const result = resolveApproval(body.callId, body.approved);
30
24
 
31
25
  if (!result.ok) {