@hasna/connectors 1.3.8 → 1.3.9
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/bin/index.js +8960 -117
- package/bin/mcp.js +8951 -51
- package/bin/serve.js +8916 -74
- package/dist/db/agents.d.ts +3 -0
- package/dist/db/database.d.ts +1 -1
- package/dist/db/pg-migrations.d.ts +6 -0
- package/dist/index.js +8863 -29
- package/package.json +2 -1
package/dist/db/agents.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export interface Agent {
|
|
|
4
4
|
name: string;
|
|
5
5
|
session_id: string | null;
|
|
6
6
|
role: string;
|
|
7
|
+
project_id: string | null;
|
|
7
8
|
last_seen_at: string;
|
|
8
9
|
created_at: string;
|
|
9
10
|
}
|
|
@@ -35,4 +36,6 @@ export declare function getAgent(id: string, db?: Database): Agent | null;
|
|
|
35
36
|
export declare function getAgentByName(name: string, db?: Database): Agent | null;
|
|
36
37
|
export declare function listAgents(db?: Database): Agent[];
|
|
37
38
|
export declare function updateAgentActivity(id: string, db?: Database): void;
|
|
39
|
+
export declare function heartbeat(id: string, db?: Database): Agent | null;
|
|
40
|
+
export declare function setFocus(id: string, projectId: string | null, db?: Database): Agent | null;
|
|
38
41
|
export declare function deleteAgent(id: string, db?: Database): boolean;
|
package/dist/db/database.d.ts
CHANGED