@cello-protocol/cli 0.0.306 → 0.0.307
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/.claude-plugin/marketplace.json +15 -0
- package/README.md +107 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +564 -0
- package/dist/daemon/account-page-assets.d.ts +4 -0
- package/dist/daemon/account-page-assets.js +160 -0
- package/dist/daemon/account-page.d.ts +14 -0
- package/dist/daemon/account-page.js +104 -0
- package/dist/daemon/address.d.ts +10 -0
- package/dist/daemon/address.js +34 -0
- package/dist/daemon/away.d.ts +31 -0
- package/dist/daemon/away.js +65 -0
- package/dist/daemon/channel-store.d.ts +112 -0
- package/dist/daemon/channel-store.js +284 -0
- package/dist/daemon/channels.d.ts +46 -0
- package/dist/daemon/channels.js +1049 -0
- package/dist/daemon/contacts.d.ts +26 -0
- package/dist/daemon/contacts.js +74 -0
- package/dist/daemon/engine.d.ts +80 -0
- package/dist/daemon/engine.js +2882 -0
- package/dist/daemon/errors.d.ts +5 -0
- package/dist/daemon/errors.js +16 -0
- package/dist/daemon/governance.d.ts +66 -0
- package/dist/daemon/governance.js +514 -0
- package/dist/daemon/guards.d.ts +36 -0
- package/dist/daemon/guards.js +140 -0
- package/dist/daemon/issuer-client.d.ts +56 -0
- package/dist/daemon/issuer-client.js +143 -0
- package/dist/daemon/link.d.ts +30 -0
- package/dist/daemon/link.js +191 -0
- package/dist/daemon/log.d.ts +1 -0
- package/dist/daemon/log.js +4 -0
- package/dist/daemon/main.d.ts +1 -0
- package/dist/daemon/main.js +511 -0
- package/dist/daemon/paths.d.ts +6 -0
- package/dist/daemon/paths.js +21 -0
- package/dist/daemon/pii.d.ts +24 -0
- package/dist/daemon/pii.js +146 -0
- package/dist/daemon/policy-cadence.d.ts +33 -0
- package/dist/daemon/policy-cadence.js +59 -0
- package/dist/daemon/policy-proposals.d.ts +41 -0
- package/dist/daemon/policy-proposals.js +83 -0
- package/dist/daemon/policy-store.d.ts +47 -0
- package/dist/daemon/policy-store.js +144 -0
- package/dist/daemon/presented.d.ts +36 -0
- package/dist/daemon/presented.js +94 -0
- package/dist/daemon/rate-limit.d.ts +17 -0
- package/dist/daemon/rate-limit.js +44 -0
- package/dist/daemon/reach.d.ts +63 -0
- package/dist/daemon/reach.js +207 -0
- package/dist/daemon/screening.d.ts +97 -0
- package/dist/daemon/screening.js +362 -0
- package/dist/daemon/settings.d.ts +125 -0
- package/dist/daemon/settings.js +73 -0
- package/dist/daemon/signal-rules.d.ts +55 -0
- package/dist/daemon/signal-rules.js +127 -0
- package/dist/daemon/signal-store.d.ts +53 -0
- package/dist/daemon/signal-store.js +114 -0
- package/dist/daemon/store.d.ts +188 -0
- package/dist/daemon/store.js +474 -0
- package/dist/daemon/tiers.d.ts +14 -0
- package/dist/daemon/tiers.js +9 -0
- package/dist/daemon/wallet.d.ts +73 -0
- package/dist/daemon/wallet.js +428 -0
- package/dist/daemon/who-label.d.ts +3 -0
- package/dist/daemon/who-label.js +11 -0
- package/dist/guidance.d.ts +39 -0
- package/dist/guidance.js +98 -0
- package/dist/hermes-bridge.d.ts +26 -0
- package/dist/hermes-bridge.js +180 -0
- package/dist/install-mcp.d.ts +6 -0
- package/dist/install-mcp.js +77 -0
- package/dist/ipc/client.d.ts +18 -0
- package/dist/ipc/client.js +107 -0
- package/dist/ipc/operations.d.ts +30 -0
- package/dist/ipc/operations.js +835 -0
- package/dist/ipc/protocol.d.ts +21 -0
- package/dist/ipc/protocol.js +1 -0
- package/dist/issuer-list-sign.d.ts +12 -0
- package/dist/issuer-list-sign.js +43 -0
- package/dist/local-operations.d.ts +2 -0
- package/dist/local-operations.js +73 -0
- package/dist/mcp-tools.d.ts +14 -0
- package/dist/mcp-tools.js +45 -0
- package/dist/mcp.d.ts +2 -0
- package/dist/mcp.js +155 -0
- package/dist/protocol/aead.d.ts +4 -0
- package/dist/protocol/aead.js +35 -0
- package/dist/protocol/cbor.d.ts +40 -0
- package/dist/protocol/cbor.js +106 -0
- package/dist/protocol/chain.d.ts +44 -0
- package/dist/protocol/chain.js +126 -0
- package/dist/protocol/channel.d.ts +153 -0
- package/dist/protocol/channel.js +298 -0
- package/dist/protocol/encode.d.ts +6 -0
- package/dist/protocol/encode.js +21 -0
- package/dist/protocol/identity.d.ts +27 -0
- package/dist/protocol/identity.js +94 -0
- package/dist/protocol/issuer-list.d.ts +56 -0
- package/dist/protocol/issuer-list.js +193 -0
- package/dist/protocol/issuer-roots.d.ts +6 -0
- package/dist/protocol/issuer-roots.js +10 -0
- package/dist/protocol/key-agreement.d.ts +20 -0
- package/dist/protocol/key-agreement.js +88 -0
- package/dist/protocol/merkle.d.ts +16 -0
- package/dist/protocol/merkle.js +166 -0
- package/dist/protocol/ml-dsa.d.ts +28 -0
- package/dist/protocol/ml-dsa.js +58 -0
- package/dist/protocol/ml-kem.d.ts +14 -0
- package/dist/protocol/ml-kem.js +57 -0
- package/dist/protocol/pq-errors.d.ts +9 -0
- package/dist/protocol/pq-errors.js +23 -0
- package/dist/protocol/pq-warnings.d.ts +1 -0
- package/dist/protocol/pq-warnings.js +18 -0
- package/dist/protocol/presented-signals.d.ts +17 -0
- package/dist/protocol/presented-signals.js +92 -0
- package/dist/protocol/salt.d.ts +5 -0
- package/dist/protocol/salt.js +47 -0
- package/dist/protocol/seal.d.ts +58 -0
- package/dist/protocol/seal.js +220 -0
- package/dist/protocol/signal.d.ts +54 -0
- package/dist/protocol/signal.js +266 -0
- package/dist/protocol/status.d.ts +41 -0
- package/dist/protocol/status.js +64 -0
- package/dist/protocol/structures.d.ts +359 -0
- package/dist/protocol/structures.js +296 -0
- package/dist/protocol/transcript.d.ts +61 -0
- package/dist/protocol/transcript.js +319 -0
- package/dist/protocol/wire.d.ts +212 -0
- package/dist/protocol/wire.js +161 -0
- package/dist/require-node.d.ts +1 -0
- package/dist/require-node.js +10 -0
- package/dist/screener/affordance.d.ts +1 -0
- package/dist/screener/affordance.js +2 -0
- package/dist/screener/classifier-selfcheck.d.ts +29 -0
- package/dist/screener/classifier-selfcheck.js +56 -0
- package/dist/screener/exfil.d.ts +11 -0
- package/dist/screener/exfil.js +45 -0
- package/dist/screener/gitleaks-rules.d.ts +9 -0
- package/dist/screener/gitleaks-rules.js +226 -0
- package/dist/screener/inbound.d.ts +25 -0
- package/dist/screener/inbound.js +102 -0
- package/dist/screener/injection-classifier-onnx.d.ts +20 -0
- package/dist/screener/injection-classifier-onnx.js +89 -0
- package/dist/screener/injection-classifier-wasm.d.ts +2 -0
- package/dist/screener/injection-classifier-wasm.js +97 -0
- package/dist/screener/injection-patterns.d.ts +8 -0
- package/dist/screener/injection-patterns.js +48 -0
- package/dist/screener/injection-windows.d.ts +9 -0
- package/dist/screener/injection-windows.js +37 -0
- package/dist/screener/language.d.ts +15 -0
- package/dist/screener/language.js +71 -0
- package/dist/screener/linear-regex.d.ts +8 -0
- package/dist/screener/linear-regex.js +27 -0
- package/dist/screener/model-installer.d.ts +14 -0
- package/dist/screener/model-installer.js +61 -0
- package/dist/screener/outbound.d.ts +19 -0
- package/dist/screener/outbound.js +62 -0
- package/dist/screener/sanitize.d.ts +44 -0
- package/dist/screener/sanitize.js +361 -0
- package/dist/screener/scan-variants.d.ts +5 -0
- package/dist/screener/scan-variants.js +146 -0
- package/dist/screener/screener-model-manifest.d.ts +16 -0
- package/dist/screener/screener-model-manifest.js +20 -0
- package/dist/screener/screener-state.d.ts +29 -0
- package/dist/screener/screener-state.js +119 -0
- package/dist/screener/secrets.d.ts +18 -0
- package/dist/screener/secrets.js +84 -0
- package/dist/screener/worker.d.ts +6 -0
- package/dist/screener/worker.js +83 -0
- package/dist/setup.d.ts +9 -0
- package/dist/setup.js +252 -0
- package/dist/shipped-issuer-list.d.ts +1 -0
- package/dist/shipped-issuer-list.js +3 -0
- package/dist/signals-text.d.ts +46 -0
- package/dist/signals-text.js +81 -0
- package/dist/verify-seal.d.ts +9 -0
- package/dist/verify-seal.js +30 -0
- package/hermes/plugin/__init__.py +1040 -0
- package/hermes/plugin/plugin.yaml +30 -0
- package/hermes/skills/cello-bridge-setup/SKILL.md +38 -0
- package/hermes/skills/cello-policy/SKILL.md +44 -0
- package/package.json +48 -16
- package/plugins/cello/.claude-plugin/plugin.json +19 -0
- package/plugins/cello/.mcp.json +7 -0
- package/plugins/cello/skills/cello/SKILL.md +117 -0
- package/dist/arg-parse.d.ts +0 -19
- package/dist/arg-parse.d.ts.map +0 -1
- package/dist/arg-parse.js +0 -29
- package/dist/arg-parse.js.map +0 -1
- package/dist/bin/cello.d.ts +0 -15
- package/dist/bin/cello.d.ts.map +0 -1
- package/dist/bin/cello.js +0 -110
- package/dist/bin/cello.js.map +0 -1
- package/dist/cli-args.d.ts +0 -62
- package/dist/cli-args.d.ts.map +0 -1
- package/dist/cli-args.js +0 -129
- package/dist/cli-args.js.map +0 -1
- package/dist/commands.d.ts +0 -196
- package/dist/commands.d.ts.map +0 -1
- package/dist/commands.js +0 -1544
- package/dist/commands.js.map +0 -1
- package/dist/hermes/assets.d.ts +0 -41
- package/dist/hermes/assets.d.ts.map +0 -1
- package/dist/hermes/assets.js +0 -2281
- package/dist/hermes/assets.js.map +0 -1
- package/dist/hermes/install-hermes.d.ts +0 -50
- package/dist/hermes/install-hermes.d.ts.map +0 -1
- package/dist/hermes/install-hermes.js +0 -232
- package/dist/hermes/install-hermes.js.map +0 -1
- package/dist/json-out.d.ts +0 -41
- package/dist/json-out.d.ts.map +0 -1
- package/dist/json-out.js +0 -59
- package/dist/json-out.js.map +0 -1
- package/dist/node-runtime-guard-init.d.ts +0 -6
- package/dist/node-runtime-guard-init.d.ts.map +0 -1
- package/dist/node-runtime-guard-init.js +0 -7
- package/dist/node-runtime-guard-init.js.map +0 -1
- package/dist/node-runtime-guard.d.ts +0 -48
- package/dist/node-runtime-guard.d.ts.map +0 -1
- package/dist/node-runtime-guard.js +0 -79
- package/dist/node-runtime-guard.js.map +0 -1
- package/dist/parity-commands.d.ts +0 -427
- package/dist/parity-commands.d.ts.map +0 -1
- package/dist/parity-commands.js +0 -953
- package/dist/parity-commands.js.map +0 -1
- package/dist/registry.d.ts +0 -120
- package/dist/registry.d.ts.map +0 -1
- package/dist/registry.js +0 -2169
- package/dist/registry.js.map +0 -1
- package/dist/screener-commands.d.ts +0 -85
- package/dist/screener-commands.d.ts.map +0 -1
- package/dist/screener-commands.js +0 -313
- package/dist/screener-commands.js.map +0 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { Store } from "./store.ts";
|
|
2
|
+
import { type Tier } from "./tiers.ts";
|
|
3
|
+
export interface ContactRow {
|
|
4
|
+
agent_id: Uint8Array;
|
|
5
|
+
contact_id: Uint8Array;
|
|
6
|
+
tier: number;
|
|
7
|
+
moniker: string | null;
|
|
8
|
+
last_offered_moniker: string | null;
|
|
9
|
+
away_message: string | null;
|
|
10
|
+
provenance: string | null;
|
|
11
|
+
added_at: number;
|
|
12
|
+
}
|
|
13
|
+
export declare class Contacts {
|
|
14
|
+
#private;
|
|
15
|
+
constructor(store: Store);
|
|
16
|
+
get(agentId: Uint8Array, contactId: Uint8Array): ContactRow | undefined;
|
|
17
|
+
list(agentId: Uint8Array): ContactRow[];
|
|
18
|
+
tierOf(agentId: Uint8Array, contactId: Uint8Array): Tier;
|
|
19
|
+
put(agentId: Uint8Array, contactId: Uint8Array, update: Partial<Pick<ContactRow, "tier" | "moniker" | "last_offered_moniker" | "away_message" | "provenance">>): void;
|
|
20
|
+
remove(agentId: Uint8Array, contactId: Uint8Array): void;
|
|
21
|
+
noteOfferedName(agentId: Uint8Array, contactId: Uint8Array, offered: string): string | undefined;
|
|
22
|
+
who(agentId: Uint8Array, contactId: Uint8Array, contactHex: string, offered: string | null): {
|
|
23
|
+
who: string;
|
|
24
|
+
named_by: "you" | "itself" | "nobody";
|
|
25
|
+
};
|
|
26
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { TIER } from "./tiers.js";
|
|
2
|
+
import { fingerprint, validateMoniker } from "./who-label.js";
|
|
3
|
+
const SCHEMA = `
|
|
4
|
+
CREATE TABLE IF NOT EXISTS contacts (
|
|
5
|
+
agent_id BLOB NOT NULL REFERENCES agents(agent_id),
|
|
6
|
+
contact_id BLOB NOT NULL,
|
|
7
|
+
tier INTEGER NOT NULL CHECK (tier BETWEEN 0 AND 4),
|
|
8
|
+
moniker TEXT,
|
|
9
|
+
last_offered_moniker TEXT,
|
|
10
|
+
away_message TEXT,
|
|
11
|
+
provenance TEXT,
|
|
12
|
+
added_at INTEGER NOT NULL,
|
|
13
|
+
PRIMARY KEY (agent_id, contact_id)
|
|
14
|
+
);
|
|
15
|
+
CREATE TABLE IF NOT EXISTS contact_rename_notices (
|
|
16
|
+
agent_id BLOB NOT NULL,
|
|
17
|
+
contact_id BLOB NOT NULL,
|
|
18
|
+
offered_name TEXT NOT NULL,
|
|
19
|
+
noticed_at INTEGER NOT NULL,
|
|
20
|
+
PRIMARY KEY (agent_id, contact_id)
|
|
21
|
+
);
|
|
22
|
+
`;
|
|
23
|
+
export class Contacts {
|
|
24
|
+
#store;
|
|
25
|
+
constructor(store) {
|
|
26
|
+
this.#store = store;
|
|
27
|
+
store.exec(SCHEMA);
|
|
28
|
+
}
|
|
29
|
+
get(agentId, contactId) {
|
|
30
|
+
return this.#store.prepare("SELECT * FROM contacts WHERE agent_id = ? AND contact_id = ?").get(agentId, contactId);
|
|
31
|
+
}
|
|
32
|
+
list(agentId) {
|
|
33
|
+
return this.#store.prepare("SELECT * FROM contacts WHERE agent_id = ? ORDER BY added_at, contact_id").all(agentId);
|
|
34
|
+
}
|
|
35
|
+
// No row means a stranger. A database that can't be read throws, so a session start fails closed.
|
|
36
|
+
tierOf(agentId, contactId) {
|
|
37
|
+
return (this.get(agentId, contactId)?.tier ?? TIER.UNKNOWN);
|
|
38
|
+
}
|
|
39
|
+
// A set of named columns on one contact's row, made if there's none yet. A new row is a stranger unless the update says otherwise.
|
|
40
|
+
put(agentId, contactId, update) {
|
|
41
|
+
const keys = Object.keys(update);
|
|
42
|
+
const columns = ["agent_id", "contact_id", "added_at", ...(keys.includes("tier") ? [] : ["tier"]), ...keys];
|
|
43
|
+
const values = [agentId, contactId, Date.now(), ...(keys.includes("tier") ? [] : [TIER.UNKNOWN]), ...keys.map((k) => update[k])];
|
|
44
|
+
const set = keys.map((k) => `${k} = excluded.${k}`).join(", ");
|
|
45
|
+
const conflict = set ? `DO UPDATE SET ${set}` : "DO NOTHING";
|
|
46
|
+
this.#store.prepare(`INSERT INTO contacts (${columns.join(", ")}) VALUES (${columns.map(() => "?").join(", ")}) ON CONFLICT (agent_id, contact_id) ${conflict}`).run(...values);
|
|
47
|
+
}
|
|
48
|
+
remove(agentId, contactId) {
|
|
49
|
+
this.#store.prepare("DELETE FROM contacts WHERE agent_id = ? AND contact_id = ?").run(agentId, contactId);
|
|
50
|
+
}
|
|
51
|
+
// Remembers a name it offers. Only says so if a person named it something else, and only once for each name.
|
|
52
|
+
noteOfferedName(agentId, contactId, offered) {
|
|
53
|
+
if (validateMoniker(offered) === null)
|
|
54
|
+
return undefined;
|
|
55
|
+
const row = this.get(agentId, contactId);
|
|
56
|
+
if (row?.last_offered_moniker === offered)
|
|
57
|
+
return undefined;
|
|
58
|
+
if (row)
|
|
59
|
+
this.put(agentId, contactId, { last_offered_moniker: offered });
|
|
60
|
+
if (!row?.moniker || row.moniker === offered)
|
|
61
|
+
return undefined;
|
|
62
|
+
this.#store.prepare("INSERT INTO contact_rename_notices (agent_id, contact_id, offered_name, noticed_at) VALUES (?, ?, ?, ?) ON CONFLICT (agent_id, contact_id) DO UPDATE SET offered_name = excluded.offered_name, noticed_at = excluded.noticed_at").run(agentId, contactId, offered, Date.now());
|
|
63
|
+
return `The agent you call ${row.moniker} now calls itself ${offered}. Your name for it hasn't changed.`;
|
|
64
|
+
}
|
|
65
|
+
// Your own name for it always wins. A name it gave itself is never applied by itself, and always says it's self-declared.
|
|
66
|
+
who(agentId, contactId, contactHex, offered) {
|
|
67
|
+
const moniker = this.get(agentId, contactId)?.moniker;
|
|
68
|
+
if (moniker)
|
|
69
|
+
return { who: moniker, named_by: "you" };
|
|
70
|
+
if (offered)
|
|
71
|
+
return { who: `${offered} (self-declared)`, named_by: "itself" };
|
|
72
|
+
return { who: fingerprint(contactHex), named_by: "nobody" };
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { type PushFrame } from "../protocol/wire.ts";
|
|
2
|
+
import { LocalError } from "./errors.ts";
|
|
3
|
+
import { Governance } from "./governance.ts";
|
|
4
|
+
import { Wallet } from "./wallet.ts";
|
|
5
|
+
import type { ChannelHost } from "./channels.ts";
|
|
6
|
+
import type { Store } from "./store.ts";
|
|
7
|
+
import { type ChannelNoticeKind } from "../guidance.ts";
|
|
8
|
+
export declare const CONFIG_SERVER_URL = "server_url";
|
|
9
|
+
export { LocalError };
|
|
10
|
+
export declare const SIGNALS: readonly ["over", "standby", "wrap"];
|
|
11
|
+
export type Signal = (typeof SIGNALS)[number];
|
|
12
|
+
export interface Doorbell {
|
|
13
|
+
type: "session_started" | "message" | "peer_closed" | "session_closed" | "notice" | "standby_overdue" | "screening_delayed" | "away_greeting" | "channel_post" | "channel_notice" | "channel_request" | "agent_status" | "agent_displaced";
|
|
14
|
+
policy?: unknown;
|
|
15
|
+
policy_error?: string;
|
|
16
|
+
agent: string;
|
|
17
|
+
session_id?: string;
|
|
18
|
+
from_id?: string;
|
|
19
|
+
channel_id?: string;
|
|
20
|
+
notice_kind?: ChannelNoticeKind;
|
|
21
|
+
position?: number;
|
|
22
|
+
about_seconds?: number;
|
|
23
|
+
}
|
|
24
|
+
export interface EngineEvents {
|
|
25
|
+
ring(agentHex: string, bell: Doorbell): void;
|
|
26
|
+
channelPush(frame: PushFrame): void;
|
|
27
|
+
reachable(agentHex: string): boolean;
|
|
28
|
+
}
|
|
29
|
+
export declare class Engine {
|
|
30
|
+
#private;
|
|
31
|
+
readonly governance: Governance;
|
|
32
|
+
readonly wallet: Wallet;
|
|
33
|
+
constructor(store: Store, url: string, events: EngineEvents);
|
|
34
|
+
start(): Promise<void>;
|
|
35
|
+
stop(): void;
|
|
36
|
+
screeningFacts(): unknown;
|
|
37
|
+
reloadScreener(): unknown;
|
|
38
|
+
greetings(agentHex: string): unknown;
|
|
39
|
+
evidence(agentHex: string, sessionHex: string): unknown;
|
|
40
|
+
assertCanAct(agentHex: string): void;
|
|
41
|
+
suspend(agentHex: string, reason: unknown): Promise<unknown>;
|
|
42
|
+
retire(agentHex: string, reason: unknown): Promise<{
|
|
43
|
+
agent_id: string;
|
|
44
|
+
status: string;
|
|
45
|
+
reason: string;
|
|
46
|
+
told: string[];
|
|
47
|
+
not_yet: string[];
|
|
48
|
+
deferred: boolean;
|
|
49
|
+
}>;
|
|
50
|
+
removeAgent(agentHex: string): Promise<unknown>;
|
|
51
|
+
agentStatus(agentHex: string): Promise<unknown>;
|
|
52
|
+
presentedSignals(agentHex: string, sessionHex: string): Promise<unknown>;
|
|
53
|
+
send(agentHex: string, sessionHex: string, text: string, signal: Signal, estMinutes: number | undefined, notice: boolean, params?: Record<string, unknown>): Promise<unknown>;
|
|
54
|
+
close(agentHex: string, sessionHex: string): Promise<unknown>;
|
|
55
|
+
seal(agentHex: string, sessionHex: string, through: number | undefined): Promise<unknown>;
|
|
56
|
+
seals(agentHex: string, sessionHex: string | undefined): unknown;
|
|
57
|
+
exportSeal(agentHex: string, sealHex: string): unknown;
|
|
58
|
+
exportTranscript(agentHex: string, sessionHex: string, choice: {
|
|
59
|
+
reveal: string | undefined;
|
|
60
|
+
all: boolean;
|
|
61
|
+
sealId: string | undefined;
|
|
62
|
+
}): Promise<unknown>;
|
|
63
|
+
createAgent(name: string): Promise<unknown>;
|
|
64
|
+
enrollAgent(name: string | undefined, code: string | undefined): Promise<unknown>;
|
|
65
|
+
channelHost(): ChannelHost;
|
|
66
|
+
resolveAgent(nameOrId: string): string;
|
|
67
|
+
agentName(agentHex: string): string;
|
|
68
|
+
initiate(agentHex: string, target: string, params?: Record<string, unknown>): Promise<unknown>;
|
|
69
|
+
receive(agentHex: string, sessionHex?: string): {
|
|
70
|
+
result: unknown;
|
|
71
|
+
commit(): void;
|
|
72
|
+
};
|
|
73
|
+
agents(): unknown;
|
|
74
|
+
sessions(agentHex: string, includeClosed: boolean): unknown;
|
|
75
|
+
inbox(agentHex: string): unknown;
|
|
76
|
+
transcript(agentHex: string, sessionHex: string, after?: number): unknown;
|
|
77
|
+
unreadCount(agentHex: string): number;
|
|
78
|
+
verifySession(agentHex: string, sessionHex: string): Promise<unknown>;
|
|
79
|
+
status(): unknown;
|
|
80
|
+
}
|