@agent-marshal/marshal-pi 0.56.0 → 0.58.0
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 +1 -1
- package/src/daemon.ts +1 -0
- package/src/generated/CountAllWakeWatchers.ts +3 -0
- package/src/generated/CountWakeWatchers.ts +4 -0
- package/src/generated/DeleteWakeWatcher.ts +4 -0
- package/src/generated/DeleteWakeWatcherArgs.ts +4 -0
- package/src/generated/DeleteWakeWatcherResult.ts +3 -0
- package/src/generated/DeleteWakeWatchers.ts +4 -0
- package/src/generated/DeleteWakeWatchersArgs.ts +4 -0
- package/src/generated/DeleteWakeWatchersResult.ts +3 -0
- package/src/generated/GetAllWakeWatchers.ts +3 -0
- package/src/generated/GetWakeWatcherById.ts +4 -0
- package/src/generated/GetWakeWatchersByIds.ts +4 -0
- package/src/generated/GetWakeWatchersByQuery.ts +4 -0
- package/src/generated/RegisterSession.ts +4 -0
- package/src/generated/RegisterSessionArgs.ts +4 -0
- package/src/generated/Session.ts +4 -0
- package/src/generated/SessionQuery.ts +1 -1
- package/src/generated/WakeWatcher.ts +10 -0
- package/src/generated/WakeWatcherCount.ts +3 -0
- package/src/generated/WakeWatcherId.ts +3 -0
- package/src/generated/WakeWatcherQuery.ts +6 -0
- package/src/generated/index.ts +493 -365
- package/src/identity.ts +2 -1
- package/src/index.ts +2 -1
package/package.json
CHANGED
package/src/daemon.ts
CHANGED
|
@@ -160,6 +160,7 @@ export class MarshalDaemon {
|
|
|
160
160
|
pid: process.pid,
|
|
161
161
|
cwd: this.cfg.cwd,
|
|
162
162
|
connectedAt: now,
|
|
163
|
+
agentId: this.cfg.identity.agentId,
|
|
163
164
|
operator: this.cfg.identity.operator ?? null,
|
|
164
165
|
host: this.cfg.identity.host ?? null,
|
|
165
166
|
gitBranch: this.cfg.identity.gitBranch ?? null,
|
package/src/generated/Session.ts
CHANGED
|
@@ -14,6 +14,10 @@ export type Session = {
|
|
|
14
14
|
* `client_id` in the Client store; absent there ⇒ disconnected.
|
|
15
15
|
*/
|
|
16
16
|
clientId?: ClientId | null,
|
|
17
|
+
/**
|
|
18
|
+
* Self-reported embedding-agent correlation metadata, never an address or credential.
|
|
19
|
+
*/
|
|
20
|
+
agentId?: string | null,
|
|
17
21
|
/**
|
|
18
22
|
* OS process id of the connecting client.
|
|
19
23
|
*/
|
|
@@ -6,4 +6,4 @@ import type { SessionId } from "./SessionId";
|
|
|
6
6
|
import type { StringFilter } from "./StringFilter";
|
|
7
7
|
import type { Unfilterable } from "./Unfilterable";
|
|
8
8
|
|
|
9
|
-
export type SessionQuery = { clientId?: IdFilter<ClientId> | null, pid?: NumericFilter<number> | null, cwd?: StringFilter | null, gitBranch?: StringFilter | null, currentTask?: StringFilter | null, sessionName?: StringFilter | null, activity?: StringFilter | null, kind?: StringFilter | null, connectedAt?: NumericFilter<bigint> | null, lastActivityAt?: NumericFilter<bigint> | null, lastTool?: StringFilter | null, lastToolAt?: NumericFilter<bigint> | null, operator?: StringFilter | null, host?: Unfilterable | null, project?: StringFilter | null, channelsEnabled?: boolean | null, acksPushes?: boolean | null, id?: IdFilter<SessionId> | null, };
|
|
9
|
+
export type SessionQuery = { clientId?: IdFilter<ClientId> | null, agentId?: StringFilter | null, pid?: NumericFilter<number> | null, cwd?: StringFilter | null, gitBranch?: StringFilter | null, currentTask?: StringFilter | null, sessionName?: StringFilter | null, activity?: StringFilter | null, kind?: StringFilter | null, connectedAt?: NumericFilter<bigint> | null, lastActivityAt?: NumericFilter<bigint> | null, lastTool?: StringFilter | null, lastToolAt?: NumericFilter<bigint> | null, operator?: StringFilter | null, host?: Unfilterable | null, project?: StringFilter | null, channelsEnabled?: boolean | null, acksPushes?: boolean | null, id?: IdFilter<SessionId> | null, };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
+
import type { WakeWatcherId } from "./WakeWatcherId";
|
|
3
|
+
|
|
4
|
+
export type WakeWatcher = {
|
|
5
|
+
/**
|
|
6
|
+
* When this record stops counting, in ms since the epoch. A waiter that
|
|
7
|
+
* vanishes without the daemon noticing stops counting by itself. Records
|
|
8
|
+
* aren't persisted, because a wait doesn't outlive the daemon.
|
|
9
|
+
*/
|
|
10
|
+
until: bigint, id: WakeWatcherId, };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
+
import type { IdFilter } from "./IdFilter";
|
|
3
|
+
import type { NumericFilter } from "./NumericFilter";
|
|
4
|
+
import type { WakeWatcherId } from "./WakeWatcherId";
|
|
5
|
+
|
|
6
|
+
export type WakeWatcherQuery = { until?: NumericFilter<bigint> | null, id?: IdFilter<WakeWatcherId> | null, };
|