@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 CHANGED
@@ -51,5 +51,5 @@
51
51
  "gen": "cargo run -p marshal-entities --no-default-features --features codegen --bin typegen -- src/generated"
52
52
  },
53
53
  "type": "module",
54
- "version": "0.56.0"
54
+ "version": "0.58.0"
55
55
  }
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,
@@ -0,0 +1,3 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ export type CountAllWakeWatchers = Record<symbol, never>;
@@ -0,0 +1,4 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { WakeWatcherQuery } from "./WakeWatcherQuery";
3
+
4
+ export type CountWakeWatchers = WakeWatcherQuery;
@@ -0,0 +1,4 @@
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 DeleteWakeWatcher = { id: WakeWatcherId, };
@@ -0,0 +1,4 @@
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 DeleteWakeWatcherArgs = { id: WakeWatcherId, };
@@ -0,0 +1,3 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ export type DeleteWakeWatcherResult = { deleted: boolean, };
@@ -0,0 +1,4 @@
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 DeleteWakeWatchers = { ids: Array<WakeWatcherId>, };
@@ -0,0 +1,4 @@
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 DeleteWakeWatchersArgs = { ids: Array<WakeWatcherId>, };
@@ -0,0 +1,3 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ export type DeleteWakeWatchersResult = { deletedCount: number, };
@@ -0,0 +1,3 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ export type GetAllWakeWatchers = Record<symbol, never>;
@@ -0,0 +1,4 @@
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 GetWakeWatcherById = { id: WakeWatcherId, };
@@ -0,0 +1,4 @@
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 GetWakeWatchersByIds = { ids: Array<WakeWatcherId>, };
@@ -0,0 +1,4 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { WakeWatcherQuery } from "./WakeWatcherQuery";
3
+
4
+ export type GetWakeWatchersByQuery = WakeWatcherQuery;
@@ -0,0 +1,4 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { Session } from "./Session";
3
+
4
+ export type RegisterSession = { session: Session, };
@@ -0,0 +1,4 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { Session } from "./Session";
3
+
4
+ export type RegisterSessionArgs = { session: Session, };
@@ -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,3 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ export type WakeWatcherCount = { count: number, };
@@ -0,0 +1,3 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ export type WakeWatcherId = string;
@@ -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, };