@0gfoundation/0g-agentdna 0.4.0 → 0.5.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/GUIDE.md +190 -40
- package/OPERATORS.md +164 -0
- package/OPERATORS.zh.md +141 -0
- package/PROVIDERS.md +6 -0
- package/PROVIDERS.zh.md +3 -1
- package/README.md +84 -11
- package/dist/AgentClient.d.ts +374 -26
- package/dist/AgentClient.d.ts.map +1 -1
- package/dist/AgentClient.js +323 -40
- package/dist/AgentClient.js.map +1 -1
- package/dist/AgenticID.d.ts +170 -80
- package/dist/AgenticID.d.ts.map +1 -1
- package/dist/AgenticID.js +300 -42
- package/dist/AgenticID.js.map +1 -1
- package/dist/AttestorClient.d.ts +115 -31
- package/dist/AttestorClient.d.ts.map +1 -1
- package/dist/AttestorClient.js +276 -56
- package/dist/AttestorClient.js.map +1 -1
- package/dist/Credentials.d.ts +574 -0
- package/dist/Credentials.d.ts.map +1 -0
- package/dist/Credentials.js +838 -0
- package/dist/Credentials.js.map +1 -0
- package/dist/Operators.d.ts +60 -0
- package/dist/Operators.d.ts.map +1 -0
- package/dist/Operators.js +38 -0
- package/dist/Operators.js.map +1 -0
- package/dist/Providers.d.ts +13 -0
- package/dist/Providers.d.ts.map +1 -1
- package/dist/Providers.js +20 -1
- package/dist/Providers.js.map +1 -1
- package/dist/Releases.d.ts +51 -0
- package/dist/Releases.d.ts.map +1 -0
- package/dist/Releases.js +72 -0
- package/dist/Releases.js.map +1 -0
- package/dist/ReputationClient.d.ts +47 -3
- package/dist/ReputationClient.d.ts.map +1 -1
- package/dist/ReputationClient.js +204 -78
- package/dist/ReputationClient.js.map +1 -1
- package/dist/ServeProof.d.ts +70 -23
- package/dist/ServeProof.d.ts.map +1 -1
- package/dist/ServeProof.js +94 -35
- package/dist/ServeProof.js.map +1 -1
- package/dist/ServeSession.d.ts +17 -2
- package/dist/ServeSession.d.ts.map +1 -1
- package/dist/ServeSession.js +77 -9
- package/dist/ServeSession.js.map +1 -1
- package/dist/Settings.d.ts +25 -1
- package/dist/Settings.d.ts.map +1 -1
- package/dist/Settings.js +53 -1
- package/dist/Settings.js.map +1 -1
- package/dist/TrustRegistry.d.ts +28 -0
- package/dist/TrustRegistry.d.ts.map +1 -0
- package/dist/TrustRegistry.js +67 -0
- package/dist/TrustRegistry.js.map +1 -0
- package/dist/abi.d.ts +346 -34
- package/dist/abi.d.ts.map +1 -1
- package/dist/abi.js +150 -30
- package/dist/abi.js.map +1 -1
- package/dist/cli/attach.d.ts +79 -0
- package/dist/cli/attach.d.ts.map +1 -0
- package/dist/cli/attach.js +253 -0
- package/dist/cli/attach.js.map +1 -0
- package/dist/cli/commands/cells.d.ts +45 -0
- package/dist/cli/commands/cells.d.ts.map +1 -1
- package/dist/cli/commands/cells.js +77 -0
- package/dist/cli/commands/cells.js.map +1 -1
- package/dist/cli/commands/cred.d.ts +12 -0
- package/dist/cli/commands/cred.d.ts.map +1 -0
- package/dist/cli/commands/cred.js +43 -0
- package/dist/cli/commands/cred.js.map +1 -0
- package/dist/cli/commands/doctor.d.ts.map +1 -1
- package/dist/cli/commands/doctor.js +44 -35
- package/dist/cli/commands/doctor.js.map +1 -1
- package/dist/cli/commands/interactive.d.ts +597 -21
- package/dist/cli/commands/interactive.d.ts.map +1 -1
- package/dist/cli/commands/interactive.js +5082 -1323
- package/dist/cli/commands/interactive.js.map +1 -1
- package/dist/cli/commands/list.d.ts +5 -5
- package/dist/cli/commands/list.d.ts.map +1 -1
- package/dist/cli/commands/list.js +21 -26
- package/dist/cli/commands/list.js.map +1 -1
- package/dist/cli/commands/providers.d.ts +4 -0
- package/dist/cli/commands/providers.d.ts.map +1 -1
- package/dist/cli/commands/providers.js +19 -5
- package/dist/cli/commands/providers.js.map +1 -1
- package/dist/cli/commands/releases.d.ts +13 -0
- package/dist/cli/commands/releases.d.ts.map +1 -0
- package/dist/cli/commands/releases.js +65 -0
- package/dist/cli/commands/releases.js.map +1 -0
- package/dist/cli/commands/settings.d.ts +5 -0
- package/dist/cli/commands/settings.d.ts.map +1 -1
- package/dist/cli/commands/settings.js +70 -24
- package/dist/cli/commands/settings.js.map +1 -1
- package/dist/cli/commands/status.d.ts +2 -1
- package/dist/cli/commands/status.d.ts.map +1 -1
- package/dist/cli/commands/status.js +22 -19
- package/dist/cli/commands/status.js.map +1 -1
- package/dist/cli/config.d.ts +48 -1
- package/dist/cli/config.d.ts.map +1 -1
- package/dist/cli/config.js +114 -5
- package/dist/cli/config.js.map +1 -1
- package/dist/cli/credentials.d.ts +179 -0
- package/dist/cli/credentials.d.ts.map +1 -0
- package/dist/cli/credentials.js +1443 -0
- package/dist/cli/credentials.js.map +1 -0
- package/dist/cli/download.d.ts +21 -0
- package/dist/cli/download.d.ts.map +1 -0
- package/dist/cli/download.js +89 -0
- package/dist/cli/download.js.map +1 -0
- package/dist/cli/env.d.ts +6 -0
- package/dist/cli/env.d.ts.map +1 -1
- package/dist/cli/env.js +18 -6
- package/dist/cli/env.js.map +1 -1
- package/dist/cli/envelope.d.ts +4 -2
- package/dist/cli/envelope.d.ts.map +1 -1
- package/dist/cli/envelope.js +10 -6
- package/dist/cli/envelope.js.map +1 -1
- package/dist/cli/errors.d.ts +45 -1
- package/dist/cli/errors.d.ts.map +1 -1
- package/dist/cli/errors.js +77 -0
- package/dist/cli/errors.js.map +1 -1
- package/dist/cli/inference.d.ts.map +1 -1
- package/dist/cli/inference.js +7 -0
- package/dist/cli/inference.js.map +1 -1
- package/dist/cli/inkView.d.ts +341 -0
- package/dist/cli/inkView.d.ts.map +1 -0
- package/dist/cli/inkView.js +1019 -0
- package/dist/cli/inkView.js.map +1 -0
- package/dist/cli/legacy/modelKey.d.ts +24 -0
- package/dist/cli/legacy/modelKey.d.ts.map +1 -0
- package/dist/cli/legacy/modelKey.js +32 -0
- package/dist/cli/legacy/modelKey.js.map +1 -0
- package/dist/cli/livePrompt.d.ts +212 -0
- package/dist/cli/livePrompt.d.ts.map +1 -0
- package/dist/cli/livePrompt.js +576 -0
- package/dist/cli/livePrompt.js.map +1 -0
- package/dist/cli/main.js +206 -72
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/modelkey.d.ts +64 -0
- package/dist/cli/modelkey.d.ts.map +1 -0
- package/dist/cli/modelkey.js +113 -0
- package/dist/cli/modelkey.js.map +1 -0
- package/dist/cli/outboxSync.d.ts +51 -0
- package/dist/cli/outboxSync.d.ts.map +1 -0
- package/dist/cli/outboxSync.js +210 -0
- package/dist/cli/outboxSync.js.map +1 -0
- package/dist/cli/plain.d.ts +46 -0
- package/dist/cli/plain.d.ts.map +1 -0
- package/dist/cli/plain.js +260 -0
- package/dist/cli/plain.js.map +1 -0
- package/dist/cli/proofs.d.ts +5 -0
- package/dist/cli/proofs.d.ts.map +1 -1
- package/dist/cli/proofs.js +20 -0
- package/dist/cli/proofs.js.map +1 -1
- package/dist/cli/ref.d.ts.map +1 -1
- package/dist/cli/ref.js +3 -2
- package/dist/cli/ref.js.map +1 -1
- package/dist/cli/releaseNotice.d.ts +64 -0
- package/dist/cli/releaseNotice.d.ts.map +1 -0
- package/dist/cli/releaseNotice.js +194 -0
- package/dist/cli/releaseNotice.js.map +1 -0
- package/dist/cli/sdk.d.ts +18 -0
- package/dist/cli/sdk.d.ts.map +1 -1
- package/dist/cli/sdk.js +99 -1
- package/dist/cli/sdk.js.map +1 -1
- package/dist/cli/settings.d.ts +87 -6
- package/dist/cli/settings.d.ts.map +1 -1
- package/dist/cli/settings.js +270 -18
- package/dist/cli/settings.js.map +1 -1
- package/dist/cli/textfit.d.ts +28 -0
- package/dist/cli/textfit.d.ts.map +1 -0
- package/dist/cli/textfit.js +111 -0
- package/dist/cli/textfit.js.map +1 -0
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/context.d.ts +26 -0
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +1 -0
- package/dist/context.js.map +1 -1
- package/dist/index.d.ts +19 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +35 -2
- package/dist/index.js.map +1 -1
- package/dist/legacy/modelKey.d.ts +67 -0
- package/dist/legacy/modelKey.d.ts.map +1 -0
- package/dist/legacy/modelKey.js +80 -0
- package/dist/legacy/modelKey.js.map +1 -0
- package/dist/legacy/serveProofV1.d.ts +56 -0
- package/dist/legacy/serveProofV1.d.ts.map +1 -0
- package/dist/legacy/serveProofV1.js +91 -0
- package/dist/legacy/serveProofV1.js.map +1 -0
- package/dist/provider-catalog.json +3 -2
- package/dist/secretEnv.d.ts +18 -3
- package/dist/secretEnv.d.ts.map +1 -1
- package/dist/secretEnv.js +16 -2
- package/dist/secretEnv.js.map +1 -1
- package/dist/types.d.ts +63 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/viemErrors.d.ts +30 -0
- package/dist/viemErrors.d.ts.map +1 -0
- package/dist/viemErrors.js +36 -0
- package/dist/viemErrors.js.map +1 -0
- package/package.json +5 -1
- package/src/AgentClient.ts +622 -68
- package/src/AgenticID.ts +345 -56
- package/src/AttestorClient.ts +330 -83
- package/src/Credentials.ts +1027 -0
- package/src/Operators.ts +71 -0
- package/src/Providers.ts +20 -0
- package/src/Releases.ts +95 -0
- package/src/ReputationClient.ts +231 -79
- package/src/ServeProof.ts +123 -39
- package/src/ServeSession.ts +91 -9
- package/src/Settings.ts +61 -1
- package/src/TrustRegistry.ts +75 -0
- package/src/abi.ts +153 -30
- package/src/cli/attach.ts +257 -0
- package/src/cli/commands/cells.ts +104 -0
- package/src/cli/commands/cred.ts +44 -0
- package/src/cli/commands/doctor.ts +45 -37
- package/src/cli/commands/interactive.ts +4120 -664
- package/src/cli/commands/list.ts +21 -30
- package/src/cli/commands/providers.ts +17 -4
- package/src/cli/commands/releases.ts +60 -0
- package/src/cli/commands/settings.ts +75 -28
- package/src/cli/commands/status.ts +24 -21
- package/src/cli/config.ts +119 -4
- package/src/cli/credentials.ts +1379 -0
- package/src/cli/download.ts +80 -0
- package/src/cli/env.ts +22 -7
- package/src/cli/envelope.ts +10 -6
- package/src/cli/errors.ts +92 -0
- package/src/cli/inference.ts +8 -1
- package/src/cli/inkView.ts +969 -0
- package/src/cli/legacy/modelKey.ts +35 -0
- package/src/cli/livePrompt.ts +615 -0
- package/src/cli/main.ts +206 -76
- package/src/cli/modelkey.ts +124 -0
- package/src/cli/outboxSync.ts +231 -0
- package/src/cli/plain.ts +260 -0
- package/src/cli/proofs.ts +27 -0
- package/src/cli/ref.ts +5 -4
- package/src/cli/releaseNotice.ts +200 -0
- package/src/cli/sdk.ts +87 -7
- package/src/cli/settings.ts +272 -22
- package/src/cli/textfit.ts +95 -0
- package/src/constants.ts +1 -1
- package/src/context.ts +28 -0
- package/src/index.ts +50 -7
- package/src/legacy/modelKey.ts +80 -0
- package/src/legacy/serveProofV1.ts +124 -0
- package/src/provider-catalog.json +3 -2
- package/src/secretEnv.ts +18 -3
- package/src/types.ts +60 -1
- package/src/viemErrors.ts +39 -0
package/dist/AgentClient.d.ts
CHANGED
|
@@ -17,6 +17,12 @@
|
|
|
17
17
|
*/
|
|
18
18
|
import { type TaskExchange } from './ServeSession';
|
|
19
19
|
import type { ServeProof } from './types';
|
|
20
|
+
/**
|
|
21
|
+
* Text from the agent (an activity label, an error it sent) made one plain
|
|
22
|
+
* line for display: escape sequences, control characters and bidi controls
|
|
23
|
+
* removed, so a program that prints it cannot have its terminal restyled.
|
|
24
|
+
*/
|
|
25
|
+
export declare function plainText(s: string): string;
|
|
20
26
|
/**
|
|
21
27
|
* One agent-registered service, as listed in `/hello`'s `services` array.
|
|
22
28
|
* These are exact `/api/*` paths the agent's own code serves; they are not
|
|
@@ -112,6 +118,194 @@ export interface ChatMessage {
|
|
|
112
118
|
role: string;
|
|
113
119
|
content: string;
|
|
114
120
|
}
|
|
121
|
+
/**
|
|
122
|
+
* An image sent with a message (`images` on {@link AgentClient.chat} /
|
|
123
|
+
* {@link AgentClient.chatStream}): PNG, JPEG, WebP or GIF, its bytes in
|
|
124
|
+
* base64. 0g-harness takes at most 8 per message, 10 MiB each and 32 MiB
|
|
125
|
+
* together; other frameworks may ignore or refuse them.
|
|
126
|
+
*/
|
|
127
|
+
export interface ChatImage {
|
|
128
|
+
mediaType: 'image/png' | 'image/jpeg' | 'image/webp' | 'image/gif';
|
|
129
|
+
data: string;
|
|
130
|
+
/** Its file name on the owner's side (`flag test.png`). Sent as the part's
|
|
131
|
+
* `filename` only to an agent that says it reads one (0g-harness
|
|
132
|
+
* `GET /v1/harness` → `features.image_names`): a model that cannot view
|
|
133
|
+
* images gets the file under this name in `~/inbox`. */
|
|
134
|
+
name?: string;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* What the agent's runtime says about a message it took (`onNotice`,
|
|
138
|
+
* 0g-harness): the owner's model cannot view images, so the images were saved
|
|
139
|
+
* as files in the agent's file inbox `~/inbox` instead; or the turn left files new or
|
|
140
|
+
* changed in the agent's `~/outbox`, for the owner to download
|
|
141
|
+
* ({@link AgentClient.downloadFile}).
|
|
142
|
+
*/
|
|
143
|
+
export interface ChatNotice {
|
|
144
|
+
imagesSavedAsFiles?: string[];
|
|
145
|
+
/** Names of files in the outbox (`downloadFile('outbox', name)`). */
|
|
146
|
+
outboxFiles?: string[];
|
|
147
|
+
}
|
|
148
|
+
/** A file the owner can download ({@link AgentClient.listFiles}). */
|
|
149
|
+
export interface AgentFile {
|
|
150
|
+
name: string;
|
|
151
|
+
bytes: number;
|
|
152
|
+
/** ISO 8601. */
|
|
153
|
+
mtime: string;
|
|
154
|
+
/** Hex; given for files up to 4 MiB. */
|
|
155
|
+
sha256?: string;
|
|
156
|
+
}
|
|
157
|
+
/** Where a download comes from: what the agent handed over, or what the owner uploaded. */
|
|
158
|
+
export type AgentFileDir = 'outbox' | 'inbox';
|
|
159
|
+
/** A file the owner sent ({@link AgentClient.uploadFile}): where it landed. */
|
|
160
|
+
export interface UploadedFile {
|
|
161
|
+
/** Absolute path in the agent's container (in its file inbox, `~/inbox`). */
|
|
162
|
+
path: string;
|
|
163
|
+
bytes: number;
|
|
164
|
+
}
|
|
165
|
+
/** What {@link AgentClient.steer} did with the owner's text. */
|
|
166
|
+
export interface SteerResult {
|
|
167
|
+
/** true: read in the running owner turn `turn`, before its next model
|
|
168
|
+
* call. false: no owner turn was running, so it is an ordinary turn,
|
|
169
|
+
* `queued` (follow it like any response); `reason` says why. */
|
|
170
|
+
merged: boolean;
|
|
171
|
+
/** The steered message's id, for {@link AgentClient.steerState} (merged only). */
|
|
172
|
+
id?: string;
|
|
173
|
+
turn?: string;
|
|
174
|
+
queued?: string;
|
|
175
|
+
reason?: string;
|
|
176
|
+
}
|
|
177
|
+
/** One of the owner's sessions on 0g-harness (zgh-style; {@link AgentClient.sessions}). */
|
|
178
|
+
export interface AgentSession {
|
|
179
|
+
id: string;
|
|
180
|
+
object?: 'session';
|
|
181
|
+
/** owner: the default `owner-chat`; session: one the owner opened; task: a task's session. */
|
|
182
|
+
kind: 'owner' | 'session' | 'task';
|
|
183
|
+
title: string;
|
|
184
|
+
/** running: a turn is open. idle: loaded. stored: unloaded, resumes on its next prompt. */
|
|
185
|
+
state: 'running' | 'idle' | 'stored';
|
|
186
|
+
created_at: number;
|
|
187
|
+
updated_at: number;
|
|
188
|
+
forked_from?: string;
|
|
189
|
+
}
|
|
190
|
+
/** What {@link AgentClient.promptSession} did with a message. */
|
|
191
|
+
export interface SessionPromptResult {
|
|
192
|
+
/** false: the message is the session's next turn, record `id` (follow it
|
|
193
|
+
* with {@link AgentClient.followTask}). true (mode steer): read in the
|
|
194
|
+
* running turn `turn`, before its next model call; `id` is the steer's id. */
|
|
195
|
+
merged: boolean;
|
|
196
|
+
id: string;
|
|
197
|
+
session?: string;
|
|
198
|
+
turn?: string;
|
|
199
|
+
/** Why a steer was queued instead (no turn running). */
|
|
200
|
+
reason?: string;
|
|
201
|
+
}
|
|
202
|
+
/** A task's state on 0g-harness (zgh's task model; {@link AgentClient.getTask}). */
|
|
203
|
+
export type HarnessTaskState = 'queued' | 'working' | 'idle' | 'needs-input' | 'done' | 'failed' | 'archived';
|
|
204
|
+
/**
|
|
205
|
+
* One outcome record a task's agent made: `raise_question` and
|
|
206
|
+
* `request_action` end in `needs-input` and close when the owner answers;
|
|
207
|
+
* `report_complete` ends in `done` and closes when the next run starts.
|
|
208
|
+
* `arguments` is the agent's own text: clean it before printing it.
|
|
209
|
+
*/
|
|
210
|
+
export interface HarnessTaskRecord {
|
|
211
|
+
id: number;
|
|
212
|
+
run: number;
|
|
213
|
+
tool: string;
|
|
214
|
+
ends_in: 'needs-input' | 'done';
|
|
215
|
+
closes_on: 'answer' | 'next-run';
|
|
216
|
+
arguments: Record<string, unknown>;
|
|
217
|
+
at: number;
|
|
218
|
+
state: 'open' | 'closed';
|
|
219
|
+
closed?: {
|
|
220
|
+
how: string;
|
|
221
|
+
at: number;
|
|
222
|
+
};
|
|
223
|
+
}
|
|
224
|
+
/** What the task feed carries of a task ({@link AgentClient.taskFeed}). */
|
|
225
|
+
export interface HarnessTaskSummary {
|
|
226
|
+
id: string;
|
|
227
|
+
state: HarnessTaskState;
|
|
228
|
+
/** For `failed`: `error` (the last turn failed, or the watchdog stopped the run) or `interrupted` (a restart). */
|
|
229
|
+
reason: string | null;
|
|
230
|
+
/** The latest run's records. */
|
|
231
|
+
outcome: HarnessTaskRecord[];
|
|
232
|
+
/** The done record that sealed a working run, else null. */
|
|
233
|
+
sealed: number | null;
|
|
234
|
+
/** The records still open. */
|
|
235
|
+
records: HarnessTaskRecord[];
|
|
236
|
+
runs: {
|
|
237
|
+
count: number;
|
|
238
|
+
last?: {
|
|
239
|
+
started_at: number;
|
|
240
|
+
ended_at?: number;
|
|
241
|
+
end?: string;
|
|
242
|
+
error?: string;
|
|
243
|
+
records: number;
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
updated_at: number;
|
|
247
|
+
/** In the feed: what changed (`created`, `run-started`, `recorded`, `input`, `run-ended`, `cancelled`, `archived`). */
|
|
248
|
+
change?: string;
|
|
249
|
+
}
|
|
250
|
+
/** A task on 0g-harness: a piece of work with its own session, workspace, state and outcome records. */
|
|
251
|
+
export interface HarnessTask extends HarnessTaskSummary {
|
|
252
|
+
object?: 'task';
|
|
253
|
+
title: string;
|
|
254
|
+
prompt: string;
|
|
255
|
+
workspace: {
|
|
256
|
+
path: string;
|
|
257
|
+
};
|
|
258
|
+
session_id: string;
|
|
259
|
+
/** Inputs waiting for the next run. */
|
|
260
|
+
pending: number;
|
|
261
|
+
outcome_tools: string[];
|
|
262
|
+
metadata: Record<string, unknown>;
|
|
263
|
+
created_at: number;
|
|
264
|
+
queued_at?: number;
|
|
265
|
+
}
|
|
266
|
+
/** What {@link AgentClient.createTask} takes. */
|
|
267
|
+
export interface CreateTaskOptions {
|
|
268
|
+
prompt: string;
|
|
269
|
+
/** `task-` and 1 to 63 lowercase letters, digits or `-`: makes the create idempotent. */
|
|
270
|
+
id?: string;
|
|
271
|
+
title?: string;
|
|
272
|
+
/** An existing directory under the agent's home; default `~/tasks/<id>`. */
|
|
273
|
+
workspace?: {
|
|
274
|
+
dir: string;
|
|
275
|
+
};
|
|
276
|
+
/** Added to the task agent's system prompt. */
|
|
277
|
+
instructions?: string;
|
|
278
|
+
/** true (all built-ins, the default), false (none), or built-in names. */
|
|
279
|
+
outcome_tools?: boolean | string[];
|
|
280
|
+
metadata?: Record<string, unknown>;
|
|
281
|
+
}
|
|
282
|
+
/** What {@link AgentClient.taskInput} did with the input. */
|
|
283
|
+
export interface TaskInputResult extends HarnessTask {
|
|
284
|
+
/** current-run: steered into the running turn (`steer` is its id), or the run's next turn.
|
|
285
|
+
* next-run: the run is sealed by a done record. queued: it starts or waits for a run. */
|
|
286
|
+
delivery: 'current-run' | 'next-run' | 'queued';
|
|
287
|
+
steer?: string;
|
|
288
|
+
}
|
|
289
|
+
/** One event of {@link AgentClient.taskFeed}: a task's state, or `ready` once every task was sent. */
|
|
290
|
+
export type HarnessTaskFeedEvent = {
|
|
291
|
+
type: 'task';
|
|
292
|
+
task: HarnessTaskSummary;
|
|
293
|
+
} | {
|
|
294
|
+
type: 'ready';
|
|
295
|
+
};
|
|
296
|
+
/** What became of a steered text ({@link AgentClient.steerState}). */
|
|
297
|
+
export interface SteerState {
|
|
298
|
+
id: string;
|
|
299
|
+
/** pending: not read yet. merged: read in `turn`. turn: the turn it was
|
|
300
|
+
* meant for ended first, so it opened `turn`, an owner turn of its own.
|
|
301
|
+
* dropped: an interrupt, or a cancel of its turn, came first (a cancel
|
|
302
|
+
* drops them from 0g-harness #12 on; an older one leaves them pending and
|
|
303
|
+
* gives them to the next turn). */
|
|
304
|
+
state: 'pending' | 'merged' | 'turn' | 'dropped';
|
|
305
|
+
turn: string;
|
|
306
|
+
/** The text as sent (0g-harness #12 on). */
|
|
307
|
+
text?: string;
|
|
308
|
+
}
|
|
115
309
|
/**
|
|
116
310
|
* Snapshot of one long-running task (a "response" in OpenAI Responses API
|
|
117
311
|
* terms) on the agent. Returned by {@link AgentClient.task} /
|
|
@@ -125,6 +319,11 @@ export interface AgentTask {
|
|
|
125
319
|
error?: {
|
|
126
320
|
message: string;
|
|
127
321
|
};
|
|
322
|
+
/** Runtime notices about the message that opened it (0g-harness). */
|
|
323
|
+
harness?: {
|
|
324
|
+
images_saved_as_files?: string[];
|
|
325
|
+
outbox_files?: string[];
|
|
326
|
+
};
|
|
128
327
|
}
|
|
129
328
|
export interface ChatCompletion {
|
|
130
329
|
choices: Array<{
|
|
@@ -136,15 +335,16 @@ export interface ChatCompletion {
|
|
|
136
335
|
[k: string]: unknown;
|
|
137
336
|
}
|
|
138
337
|
/**
|
|
139
|
-
* One
|
|
140
|
-
* ({@link AgentClient.
|
|
338
|
+
* One thing that runs or ran on the agent, as its activity list shows it
|
|
339
|
+
* ({@link AgentClient.activities}): a turn of its conversation, a background
|
|
141
340
|
* command, or a subagent. `actor` says who does the work, `trigger` who asked
|
|
142
|
-
* for it.
|
|
341
|
+
* for it. ("Task" is kept for zgh-style tasks: a unit of work with its own
|
|
342
|
+
* session, state and outcome.)
|
|
143
343
|
*/
|
|
144
|
-
export interface
|
|
344
|
+
export interface AgentActivityInfo {
|
|
145
345
|
/** A turn: `resp_…` (the id {@link AgentClient.task} and
|
|
146
|
-
* {@link AgentClient.followTask} take). A command: `bash
|
|
147
|
-
*
|
|
346
|
+
* {@link AgentClient.followTask} take). A command: `bash-<hex>`. A
|
|
347
|
+
* subagent: its session id (a UUID). */
|
|
148
348
|
id: string;
|
|
149
349
|
type: 'turn' | 'command' | 'subagent';
|
|
150
350
|
status: AgentTask['status'];
|
|
@@ -153,7 +353,14 @@ export interface AgentTaskInfo {
|
|
|
153
353
|
/** Who asked. A turn: `user` | `job` | `schedule` | `plugin`. A command or
|
|
154
354
|
* a subagent: `agent` (the main agent started it). */
|
|
155
355
|
trigger: string;
|
|
156
|
-
/**
|
|
356
|
+
/** A turn: the session it ran in (`owner-chat`, another of the owner's, a task's). */
|
|
357
|
+
session?: string;
|
|
358
|
+
/** A command or subagent (0g-harness #12 on): the turn that started it,
|
|
359
|
+
* who asked for that turn (`user` for an owner turn) and its session. */
|
|
360
|
+
parent_turn?: string;
|
|
361
|
+
parent_trigger?: string;
|
|
362
|
+
parent_session?: string;
|
|
363
|
+
/** What the activity is: the prompt, the job notice, the reminder's text. */
|
|
157
364
|
label: string;
|
|
158
365
|
/** Unix seconds. */
|
|
159
366
|
created_at: number;
|
|
@@ -163,15 +370,19 @@ export interface AgentTaskInfo {
|
|
|
163
370
|
detail?: string;
|
|
164
371
|
/** Notices that reached the agent while this turn ran, merged into it. */
|
|
165
372
|
merged_notices?: string[];
|
|
166
|
-
/** {@link AgentClient.
|
|
373
|
+
/** {@link AgentClient.activity} only: a turn's text, or a finished
|
|
167
374
|
* subagent's final answer. A command's output is never returned. */
|
|
168
375
|
output_text?: string;
|
|
169
376
|
}
|
|
170
|
-
/**
|
|
171
|
-
export
|
|
377
|
+
/** @deprecated Renamed {@link AgentActivityInfo}. */
|
|
378
|
+
export type AgentTaskInfo = AgentActivityInfo;
|
|
379
|
+
/** What stopping one activity did ({@link AgentClient.stopActivity}). */
|
|
380
|
+
export interface AgentActivityStop {
|
|
172
381
|
id: string;
|
|
173
382
|
outcome: 'cancelled' | 'already-finished' | 'not-running';
|
|
174
383
|
}
|
|
384
|
+
/** @deprecated Renamed {@link AgentActivityStop}. */
|
|
385
|
+
export type AgentTaskStop = AgentActivityStop;
|
|
175
386
|
/**
|
|
176
387
|
* The words of a turn the agent opened itself (a background job finished, a
|
|
177
388
|
* reminder came due), kept in the agent's inbox until the owner reads them.
|
|
@@ -223,8 +434,8 @@ export interface AgentSchedule {
|
|
|
223
434
|
*
|
|
224
435
|
* | type | data |
|
|
225
436
|
* |---|---|
|
|
226
|
-
* | `turn.queued` / `turn.started` / `turn.completed` / `turn.failed` / `turn.cancelled` | an {@link
|
|
227
|
-
* | `
|
|
437
|
+
* | `turn.queued` / `turn.started` / `turn.completed` / `turn.failed` / `turn.cancelled` | an {@link AgentActivityInfo} (a turn) |
|
|
438
|
+
* | `activity.updated` | an {@link AgentActivityInfo} (a command or a subagent); a runtime from before the rename sends it as `task.updated` |
|
|
228
439
|
* | `inbox.message` | an {@link AgentInboxMessage} |
|
|
229
440
|
* | `inbox.read` | `{ read_through }` |
|
|
230
441
|
* | `schedule.changed` | `{ operation: "create" \| "delete" \| "dispatch", id }` |
|
|
@@ -232,7 +443,7 @@ export interface AgentSchedule {
|
|
|
232
443
|
*
|
|
233
444
|
* `reset` means the agent could not serve the position asked for (it is
|
|
234
445
|
* older than the agent's in-memory window, or from before a `/clear`):
|
|
235
|
-
* re-read the inbox,
|
|
446
|
+
* re-read the inbox, activities and schedules; the feed carries on from `cursor`.
|
|
236
447
|
* A type this list does not name is passed through as it came.
|
|
237
448
|
*/
|
|
238
449
|
export interface AgentEvent {
|
|
@@ -295,6 +506,10 @@ export interface AgentClient {
|
|
|
295
506
|
chat?(messages: ChatMessage[], opts?: {
|
|
296
507
|
model?: string;
|
|
297
508
|
signal?: AbortSignal;
|
|
509
|
+
/** Images sent with the last user message (see {@link ChatImage}). */
|
|
510
|
+
images?: ChatImage[];
|
|
511
|
+
/** The runtime's notices about this message (see {@link ChatNotice}). */
|
|
512
|
+
onNotice?: (notice: ChatNotice) => void;
|
|
298
513
|
}): Promise<ChatCompletion>;
|
|
299
514
|
/**
|
|
300
515
|
* Like {@link chat}, but yields each content delta as it is generated — for
|
|
@@ -311,6 +526,10 @@ export interface AgentClient {
|
|
|
311
526
|
chatStream?(messages: ChatMessage[], opts?: {
|
|
312
527
|
model?: string;
|
|
313
528
|
signal?: AbortSignal;
|
|
529
|
+
/** Images sent with the last user message (see {@link ChatImage}). */
|
|
530
|
+
images?: ChatImage[];
|
|
531
|
+
/** The runtime's notices about this message (see {@link ChatNotice}). */
|
|
532
|
+
onNotice?: (notice: ChatNotice) => void;
|
|
314
533
|
/** Tool-activity progress, when the agent's bridge streams it (SSE
|
|
315
534
|
* ": activity tool/call <name>" comments — 0g-harness does). Labels like
|
|
316
535
|
* "tool/call bash", "tool/result", "turn/end". Advisory: absence just
|
|
@@ -414,26 +633,40 @@ export interface AgentClient {
|
|
|
414
633
|
* Everything running or that has run on the agent, newest first: turns,
|
|
415
634
|
* background commands and subagents, with who does each (`actor`) and who
|
|
416
635
|
* asked (`trigger`). `status` filters: `"active"` (queued or running) or one
|
|
417
|
-
* status name. Present only when the agent declares a `kind: "
|
|
418
|
-
*
|
|
636
|
+
* status name. Present only when the agent declares a `kind: "activities"`
|
|
637
|
+
* route (or, on a runtime from before the rename, `kind: "tasks"`) and this
|
|
638
|
+
* handle holds the owner token. Reads `/v1/activities`, and the deprecated
|
|
639
|
+
* `/v1/tasks` when an older harness answers 404 there.
|
|
419
640
|
*/
|
|
420
|
-
|
|
641
|
+
activities?(opts?: {
|
|
421
642
|
status?: string;
|
|
422
643
|
limit?: number;
|
|
423
|
-
}): Promise<
|
|
424
|
-
/** One
|
|
425
|
-
* is one. Present under the same conditions as {@link
|
|
426
|
-
|
|
644
|
+
}): Promise<AgentActivityInfo[]>;
|
|
645
|
+
/** One activity of {@link activities}, by id, with its `output_text` where
|
|
646
|
+
* there is one. Present under the same conditions as {@link activities}. */
|
|
647
|
+
activity?(id: string): Promise<AgentActivityInfo>;
|
|
427
648
|
/**
|
|
428
|
-
* Stop one
|
|
429
|
-
* starts), a command or subagent is killed. Already-executed
|
|
430
|
-
* not rolled back. Present under the same conditions as
|
|
649
|
+
* Stop one activity of {@link activities}: a turn is cancelled (a queued
|
|
650
|
+
* one never starts), a command or subagent is killed. Already-executed
|
|
651
|
+
* actions are not rolled back. Present under the same conditions as
|
|
652
|
+
* {@link activities}.
|
|
431
653
|
*/
|
|
432
|
-
|
|
654
|
+
stopActivity?(id: string): Promise<AgentActivityStop>;
|
|
433
655
|
/** Stop everything: queued turns first, then the running turn, then every
|
|
434
656
|
* running command and subagent. Present under the same conditions as
|
|
435
|
-
* {@link
|
|
436
|
-
|
|
657
|
+
* {@link activities}. */
|
|
658
|
+
stopAllActivities?(): Promise<AgentActivityStop[]>;
|
|
659
|
+
/** @deprecated Renamed {@link activities}. */
|
|
660
|
+
tasks?(opts?: {
|
|
661
|
+
status?: string;
|
|
662
|
+
limit?: number;
|
|
663
|
+
}): Promise<AgentActivityInfo[]>;
|
|
664
|
+
/** @deprecated Renamed {@link activity}. */
|
|
665
|
+
taskInfo?(id: string): Promise<AgentActivityInfo>;
|
|
666
|
+
/** @deprecated Renamed {@link stopActivity}. */
|
|
667
|
+
stopTask?(id: string): Promise<AgentActivityStop>;
|
|
668
|
+
/** @deprecated Renamed {@link stopAllActivities}. */
|
|
669
|
+
stopAllTasks?(): Promise<AgentActivityStop[]>;
|
|
437
670
|
/**
|
|
438
671
|
* The reminders the agent set for itself. `enabled: false` means the
|
|
439
672
|
* agent's reminders are switched off. Present only when the agent declares
|
|
@@ -443,7 +676,122 @@ export interface AgentClient {
|
|
|
443
676
|
enabled: boolean;
|
|
444
677
|
data: AgentSchedule[];
|
|
445
678
|
}>;
|
|
679
|
+
/**
|
|
680
|
+
* Send the agent a file: it lands in the agent's file inbox `~/inbox` (a new
|
|
681
|
+
* name, never over an existing file; container-local, lost on a reset),
|
|
682
|
+
* and the agent reads it with its own tools — tell it the returned path.
|
|
683
|
+
* At most 25 MiB. Present only when the agent declares a `kind: "files"`
|
|
684
|
+
* route (0g-harness) and this handle holds the owner token.
|
|
685
|
+
*/
|
|
686
|
+
uploadFile?(name: string, data: Uint8Array): Promise<UploadedFile>;
|
|
687
|
+
/**
|
|
688
|
+
* The owner's word for the turn already running: the agent reads it before
|
|
689
|
+
* that turn's next model call — when the current model answer or tool call
|
|
690
|
+
* finishes, not in the middle of a long command. With no owner turn
|
|
691
|
+
* running it is queued as an ordinary turn (`merged: false`). Present only
|
|
692
|
+
* when the agent declares a `kind: "steer"` route (0g-harness) and this
|
|
693
|
+
* handle holds the owner token.
|
|
694
|
+
*/
|
|
695
|
+
steer?(text: string): Promise<SteerResult>;
|
|
696
|
+
/**
|
|
697
|
+
* The owner's sessions, most recently used first (0g-harness, kind
|
|
698
|
+
* `sessions`): `owner-chat` (the default, behind chat/Responses) and the
|
|
699
|
+
* ones the owner opened. Each is its own conversation; all share the
|
|
700
|
+
* agent's persona, skills, memory and credentials.
|
|
701
|
+
*/
|
|
702
|
+
sessions?(): Promise<AgentSession[]>;
|
|
703
|
+
/** One session. Present with {@link sessions}. */
|
|
704
|
+
session?(id: string): Promise<AgentSession>;
|
|
705
|
+
/**
|
|
706
|
+
* Open a session: fresh, or a `fork` of another session's history (its
|
|
707
|
+
* first `at` events when given). `resume` loads an existing one instead.
|
|
708
|
+
* Present with {@link sessions}.
|
|
709
|
+
*/
|
|
710
|
+
createSession?(opts?: {
|
|
711
|
+
title?: string;
|
|
712
|
+
fork?: string;
|
|
713
|
+
at?: number;
|
|
714
|
+
resume?: string;
|
|
715
|
+
}): Promise<AgentSession>;
|
|
716
|
+
/**
|
|
717
|
+
* Send a session a message: its next turn (`mode: 'next'`, the default),
|
|
718
|
+
* or a steer into its running turn (`'steer'`). Present with {@link sessions}.
|
|
719
|
+
*/
|
|
720
|
+
promptSession?(id: string, text: string, opts?: {
|
|
721
|
+
mode?: 'next' | 'steer';
|
|
722
|
+
}): Promise<SessionPromptResult>;
|
|
723
|
+
/** Stop a session's running turn. Present with {@link sessions}. */
|
|
724
|
+
cancelSession?(id: string): Promise<{
|
|
725
|
+
cancelled: string | null;
|
|
726
|
+
session: string;
|
|
727
|
+
}>;
|
|
728
|
+
/**
|
|
729
|
+
* Hand the agent a task (0g-harness, zgh's task model): it runs in a
|
|
730
|
+
* session and workspace of its own and ends each run with an outcome
|
|
731
|
+
* record. With an `id` already taken, the existing task comes back with
|
|
732
|
+
* `created: false`. Present only when the agent declares the `tasks` and
|
|
733
|
+
* `task-feed` kinds and this handle holds the owner token.
|
|
734
|
+
*/
|
|
735
|
+
createTask?(opts: CreateTaskOptions): Promise<{
|
|
736
|
+
task: HarnessTask;
|
|
737
|
+
created: boolean;
|
|
738
|
+
}>;
|
|
739
|
+
/** Tasks, newest first; `state` and `metadata` filter. Present with {@link createTask}. */
|
|
740
|
+
listTasks?(opts?: {
|
|
741
|
+
state?: HarnessTaskState | HarnessTaskState[];
|
|
742
|
+
metadata?: Record<string, string>;
|
|
743
|
+
limit?: number;
|
|
744
|
+
}): Promise<HarnessTask[]>;
|
|
745
|
+
/** One task. Present with {@link createTask}. */
|
|
746
|
+
getTask?(id: string): Promise<HarnessTask>;
|
|
747
|
+
/**
|
|
748
|
+
* Input for a task: to a resting task it starts a run; to a working one
|
|
749
|
+
* `mode: 'steer'` (the default) reaches the running turn and `'next'` is
|
|
750
|
+
* the run's next turn (the next run's once a done record sealed it). It
|
|
751
|
+
* answers the task's open questions. Present with {@link createTask}.
|
|
752
|
+
*/
|
|
753
|
+
taskInput?(id: string, text: string, opts?: {
|
|
754
|
+
mode?: 'steer' | 'next';
|
|
755
|
+
}): Promise<TaskInputResult>;
|
|
756
|
+
/** Stop a task's run (or take it out of the queue); input waiting is dropped. Present with {@link createTask}. */
|
|
757
|
+
cancelTaskRun?(id: string): Promise<HarnessTask>;
|
|
758
|
+
/** Archive a task: stopped, records closed, agent disposed; its workspace stays. Present with {@link createTask}. */
|
|
759
|
+
archiveTask?(id: string): Promise<HarnessTask>;
|
|
760
|
+
/**
|
|
761
|
+
* Every task's changes: one `task` event per task not archived, then
|
|
762
|
+
* `ready`, then one per change. One connection: it ends when the stream
|
|
763
|
+
* does (reconnect and re-read on `ready`). Present with {@link createTask}.
|
|
764
|
+
*/
|
|
765
|
+
taskFeed?(opts?: {
|
|
766
|
+
signal?: AbortSignal;
|
|
767
|
+
}): AsyncGenerator<HarnessTaskFeedEvent>;
|
|
768
|
+
/** What became of a text {@link steer} merged. Present with {@link steer}. */
|
|
769
|
+
steerState?(id: string): Promise<SteerState>;
|
|
770
|
+
/**
|
|
771
|
+
* The files the owner can download, newest first: what the agent put in its
|
|
772
|
+
* `~/outbox` (the default) or what the owner sent (`'inbox'`, the file inbox
|
|
773
|
+
* `~/inbox` — not the message inbox, {@link AgentClient.inbox}). Both are
|
|
774
|
+
* container-local and lost on a reset. Present only when the agent declares
|
|
775
|
+
* a `kind: "files"` route (0g-harness) and this handle holds the owner token;
|
|
776
|
+
* an agent whose runtime predates downloads answers with an error saying so.
|
|
777
|
+
*/
|
|
778
|
+
listFiles?(dir?: AgentFileDir): Promise<AgentFile[]>;
|
|
779
|
+
/** One file's bytes (at most 50 MiB). See {@link AgentClient.listFiles}. */
|
|
780
|
+
downloadFile?(dir: AgentFileDir, name: string): Promise<Uint8Array>;
|
|
781
|
+
/**
|
|
782
|
+
* Remove one file from the agent's outbox or file inbox (0g-harness
|
|
783
|
+
* `DELETE /v1/files/{dir}/{name}`). `deleted`: it is gone; `missing`: there
|
|
784
|
+
* was no such file; `unsupported`: this agent's runtime has no delete
|
|
785
|
+
* route (an older image).
|
|
786
|
+
*/
|
|
787
|
+
deleteFile?(dir: AgentFileDir, name: string): Promise<'deleted' | 'missing' | 'unsupported'>;
|
|
446
788
|
}
|
|
789
|
+
/**
|
|
790
|
+
* The messages with `images` on the last user message, in the request's own
|
|
791
|
+
* shape: chat/completions `image_url` parts, or Responses `input_text` /
|
|
792
|
+
* `input_image` parts. No images: the messages as they are.
|
|
793
|
+
*/
|
|
794
|
+
export declare function withImages(messages: ChatMessage[], images: ChatImage[] | undefined, shape: 'chat' | 'responses', names?: boolean): unknown[];
|
|
447
795
|
/**
|
|
448
796
|
* Build an {@link AgentClient} from a base URL, the agent's declared surface,
|
|
449
797
|
* and (optionally) a way to authenticate:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgentClient.d.ts","sourceRoot":"","sources":["../src/AgentClient.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAuD,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACxG,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC;CACnB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC,GAAG,iBAAiB,EAAE,CAEtF;AAED;;;;;GAKG;AACH,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,gDAAgD;IAChD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kDAAkD;IAClD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,OA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