@adhdev/daemon-standalone 0.7.6 → 0.7.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/dist/index.js +34271 -50
- package/dist/index.js.map +1 -1
- package/package.json +9 -4
- package/public/assets/index-Cc7KAykU.css +1 -0
- package/public/assets/index-ClygVU_6.js +68 -0
- package/public/assets/terminal-SgUt8Azj.js +13 -0
- package/public/index.html +3 -4
- package/vendor/session-host-daemon/index.d.mts +33 -0
- package/vendor/session-host-daemon/index.d.ts +33 -0
- package/vendor/session-host-daemon/index.js +796 -0
- package/vendor/session-host-daemon/index.js.map +1 -0
- package/vendor/session-host-daemon/index.mjs +779 -0
- package/vendor/session-host-daemon/index.mjs.map +1 -0
- package/public/assets/index-CZjjB1wG.js +0 -67
- package/public/assets/index-ffpzsBTq.css +0 -1
- package/public/assets/terminal-6GBZ9nXN.css +0 -32
- package/public/assets/terminal-Dm9LBRva.js +0 -49
package/public/index.html
CHANGED
|
@@ -7,11 +7,10 @@
|
|
|
7
7
|
<meta name="description" content="ADHDev self-hosted dashboard for controlling AI agents" />
|
|
8
8
|
<link rel="icon" href="/otter-logo.png" />
|
|
9
9
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet" />
|
|
10
|
-
<script type="module" crossorigin src="/assets/index-
|
|
10
|
+
<script type="module" crossorigin src="/assets/index-ClygVU_6.js"></script>
|
|
11
11
|
<link rel="modulepreload" crossorigin href="/assets/vendor-tc3018Wt.js">
|
|
12
|
-
<link rel="modulepreload" crossorigin href="/assets/terminal-
|
|
13
|
-
<link rel="stylesheet" crossorigin href="/assets/
|
|
14
|
-
<link rel="stylesheet" crossorigin href="/assets/index-ffpzsBTq.css">
|
|
12
|
+
<link rel="modulepreload" crossorigin href="/assets/terminal-SgUt8Azj.js">
|
|
13
|
+
<link rel="stylesheet" crossorigin href="/assets/index-Cc7KAykU.css">
|
|
15
14
|
</head>
|
|
16
15
|
<body>
|
|
17
16
|
<div id="root"></div>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { EventEmitter } from 'events';
|
|
3
|
+
import { SessionHostEndpoint, SessionHostRegistry, SessionHostRequest, SessionHostResponse } from '@adhdev/session-host-core';
|
|
4
|
+
|
|
5
|
+
interface SessionHostServerOptions {
|
|
6
|
+
endpoint?: SessionHostEndpoint;
|
|
7
|
+
appName?: string;
|
|
8
|
+
}
|
|
9
|
+
declare class SessionHostServer extends EventEmitter {
|
|
10
|
+
readonly endpoint: SessionHostEndpoint;
|
|
11
|
+
readonly registry: SessionHostRegistry;
|
|
12
|
+
private runtimes;
|
|
13
|
+
private readonly storage;
|
|
14
|
+
private ipcServer;
|
|
15
|
+
private sockets;
|
|
16
|
+
private persistTimers;
|
|
17
|
+
constructor(options?: SessionHostServerOptions);
|
|
18
|
+
start(): Promise<void>;
|
|
19
|
+
stop(): Promise<void>;
|
|
20
|
+
handleRequest(request: SessionHostRequest): Promise<SessionHostResponse>;
|
|
21
|
+
private requireRuntime;
|
|
22
|
+
private getAttachedClient;
|
|
23
|
+
private emitEvent;
|
|
24
|
+
private handleIncomingRequest;
|
|
25
|
+
private schedulePersist;
|
|
26
|
+
private persistNow;
|
|
27
|
+
private flushAllPersistence;
|
|
28
|
+
private restorePersistedRuntimes;
|
|
29
|
+
private buildPayloadFromRecord;
|
|
30
|
+
private startRuntime;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { SessionHostServer, type SessionHostServerOptions };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { EventEmitter } from 'events';
|
|
3
|
+
import { SessionHostEndpoint, SessionHostRegistry, SessionHostRequest, SessionHostResponse } from '@adhdev/session-host-core';
|
|
4
|
+
|
|
5
|
+
interface SessionHostServerOptions {
|
|
6
|
+
endpoint?: SessionHostEndpoint;
|
|
7
|
+
appName?: string;
|
|
8
|
+
}
|
|
9
|
+
declare class SessionHostServer extends EventEmitter {
|
|
10
|
+
readonly endpoint: SessionHostEndpoint;
|
|
11
|
+
readonly registry: SessionHostRegistry;
|
|
12
|
+
private runtimes;
|
|
13
|
+
private readonly storage;
|
|
14
|
+
private ipcServer;
|
|
15
|
+
private sockets;
|
|
16
|
+
private persistTimers;
|
|
17
|
+
constructor(options?: SessionHostServerOptions);
|
|
18
|
+
start(): Promise<void>;
|
|
19
|
+
stop(): Promise<void>;
|
|
20
|
+
handleRequest(request: SessionHostRequest): Promise<SessionHostResponse>;
|
|
21
|
+
private requireRuntime;
|
|
22
|
+
private getAttachedClient;
|
|
23
|
+
private emitEvent;
|
|
24
|
+
private handleIncomingRequest;
|
|
25
|
+
private schedulePersist;
|
|
26
|
+
private persistNow;
|
|
27
|
+
private flushAllPersistence;
|
|
28
|
+
private restorePersistedRuntimes;
|
|
29
|
+
private buildPayloadFromRecord;
|
|
30
|
+
private startRuntime;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { SessionHostServer, type SessionHostServerOptions };
|