agor-live 0.5.8 → 0.5.10

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.
@@ -773,7 +773,7 @@ async function runMigrations(db) {
773
773
  console.log("Running database migrations...");
774
774
  const __filename = (0, import_node_url.fileURLToPath)(import_meta.url);
775
775
  const __dirname = (0, import_node_path.dirname)(__filename);
776
- const migrationsFolder = (0, import_node_path.join)(__dirname, "..", "..", "drizzle");
776
+ const migrationsFolder = (0, import_node_path.join)(__dirname, "..", "drizzle");
777
777
  await (0, import_migrator.migrate)(db, { migrationsFolder });
778
778
  console.log("\u2705 Migrations complete");
779
779
  } catch (error) {
@@ -692,7 +692,7 @@ async function runMigrations(db) {
692
692
  console.log("Running database migrations...");
693
693
  const __filename = fileURLToPath(import.meta.url);
694
694
  const __dirname = dirname(__filename);
695
- const migrationsFolder = join(__dirname, "..", "..", "drizzle");
695
+ const migrationsFolder = join(__dirname, "..", "drizzle");
696
696
  await migrate(db, { migrationsFolder });
697
697
  console.log("\u2705 Migrations complete");
698
698
  } catch (error) {
@@ -1369,7 +1369,7 @@ async function runMigrations(db) {
1369
1369
  console.log("Running database migrations...");
1370
1370
  const __filename = (0, import_node_url.fileURLToPath)(import_meta.url);
1371
1371
  const __dirname = (0, import_node_path2.dirname)(__filename);
1372
- const migrationsFolder = (0, import_node_path2.join)(__dirname, "..", "..", "drizzle");
1372
+ const migrationsFolder = (0, import_node_path2.join)(__dirname, "..", "drizzle");
1373
1373
  await (0, import_migrator.migrate)(db, { migrationsFolder });
1374
1374
  console.log("\u2705 Migrations complete");
1375
1375
  } catch (error) {
@@ -1211,7 +1211,7 @@ async function runMigrations(db) {
1211
1211
  console.log("Running database migrations...");
1212
1212
  const __filename = fileURLToPath(import.meta.url);
1213
1213
  const __dirname = dirname(__filename);
1214
- const migrationsFolder = join(__dirname, "..", "..", "drizzle");
1214
+ const migrationsFolder = join(__dirname, "..", "drizzle");
1215
1215
  await migrate(db, { migrationsFolder });
1216
1216
  console.log("\u2705 Migrations complete");
1217
1217
  } catch (error) {
@@ -1,5 +1,5 @@
1
1
  import { Database } from '@agor/core/db';
2
- import { QueryParams, MCPServer, CreateMCPServerInput, UpdateMCPServerInput } from '@agor/core/types';
2
+ import { QueryParams, MCPServer, CreateMCPServerInput, UpdateMCPServerInput, Paginated } from '@agor/core/types';
3
3
  import { DrizzleService } from '../adapters/drizzle.js';
4
4
 
5
5
  /**
@@ -28,12 +28,7 @@ declare class MCPServersService extends DrizzleService<MCPServer, CreateMCPServe
28
28
  /**
29
29
  * Override find to support filter params
30
30
  */
31
- find(params?: MCPServerParams): Promise<MCPServer[] | {
32
- total: number;
33
- limit: number;
34
- skip: number;
35
- data: MCPServer[];
36
- }>;
31
+ find(params?: MCPServerParams): Promise<MCPServer[] | Paginated<MCPServer>>;
37
32
  /**
38
33
  * Custom method: Find by scope
39
34
  */
@@ -1,15 +1,9 @@
1
+ import * as _agor_core from '@agor/core';
1
2
  import { Database } from '@agor/core/db';
2
3
  import { Application } from '@agor/core/feathers';
3
4
  import { QueryParams, UUID, Worktree, WorktreeID } from '@agor/core/types';
4
5
  import { DrizzleService } from '../adapters/drizzle.js';
5
6
 
6
- /**
7
- * Worktrees Service
8
- *
9
- * Provides REST + WebSocket API for worktree management.
10
- * Uses DrizzleService adapter with WorktreeRepository.
11
- */
12
-
13
7
  /**
14
8
  * Worktree service params
15
9
  */
@@ -34,12 +28,7 @@ declare class WorktreesService extends DrizzleService<Worktree, Partial<Worktree
34
28
  /**
35
29
  * Override find to support repo_id filter
36
30
  */
37
- find(params?: WorktreeParams): Promise<Worktree[] | {
38
- total: number;
39
- limit: number;
40
- skip: number;
41
- data: Worktree[];
42
- }>;
31
+ find(params?: WorktreeParams): Promise<Worktree[] | _agor_core.Paginated<Worktree>>;
43
32
  /**
44
33
  * Override remove to support filesystem deletion
45
34
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agor-live",
3
- "version": "0.5.8",
3
+ "version": "0.5.10",
4
4
  "description": "Multiplayer canvas for orchestrating AI coding sessions",
5
5
  "type": "module",
6
6
  "bin": {
@@ -49,8 +49,10 @@
49
49
  "@feathersjs/authentication": "^5.0.35",
50
50
  "@feathersjs/authentication-client": "^5.0.35",
51
51
  "@feathersjs/authentication-local": "^5.0.35",
52
+ "@feathersjs/errors": "^5.0.35",
52
53
  "@feathersjs/express": "^5.0.29",
53
54
  "@feathersjs/feathers": "^5.0.29",
55
+ "@feathersjs/rest-client": "^5.0.35",
54
56
  "@feathersjs/socketio": "^5.0.29",
55
57
  "@feathersjs/socketio-client": "^5.0.29",
56
58
  "@google/gemini-cli-core": "^0.9.0",
@@ -65,6 +67,8 @@
65
67
  "chalk": "^5.6.2",
66
68
  "cli-table3": "^0.6.5",
67
69
  "cors": "^2.8.5",
70
+ "cron-parser": "^5.4.0",
71
+ "cronstrue": "^3.9.0",
68
72
  "dotenv": "^17.2.3",
69
73
  "drizzle-orm": "^0.44.6",
70
74
  "express": "^5.1.0",
@@ -77,6 +81,7 @@
77
81
  "socket.io": "^4.7.2",
78
82
  "socket.io-client": "^4.8.1",
79
83
  "swagger-ui-dist": "^5.30.0",
84
+ "uuid": "^13.0.0",
80
85
  "uuidv7": "^1.0.2"
81
86
  },
82
87
  "oclif": {