@betterlu/agentlu 2.0.0 → 2.0.1
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/generated.d.ts +11 -11
- package/package.json +1 -1
package/dist/generated.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export interface WireHouseholdSignalResult {
|
|
|
26
26
|
export interface WireCreateResponse {
|
|
27
27
|
/** Execution backend. */
|
|
28
28
|
"backend"?: "pi";
|
|
29
|
-
/** Model id, or an agent name (stock OpenAI clients can only set `model`).
|
|
29
|
+
/** Model id, or an agent name (stock OpenAI clients can only set `model`). Google ACP is internal to the second-opinion feature and is not addressable through `/v1`. */
|
|
30
30
|
"model"?: string;
|
|
31
31
|
"input"?: string | Array<{
|
|
32
32
|
"role": "user" | "assistant" | "system" | "developer";
|
|
@@ -51,7 +51,7 @@ export interface WireCreateResponse {
|
|
|
51
51
|
/** System message for this run. */
|
|
52
52
|
"instructions"?: string;
|
|
53
53
|
"stream"?: boolean;
|
|
54
|
-
/** `false` requests ephemeral execution. Eligible text-only, tool-less Pi
|
|
54
|
+
/** `false` requests ephemeral execution. Eligible text-only, tool-less Pi runs avoid a Session; attachments, tools, and continuations still use a Session when required. The ApiResponse remains available to the console, but its request/output bodies are purged after 24 hours (rows created with an `Idempotency-Key` keep them, so a retry can still replay the answer). */
|
|
55
55
|
"store"?: boolean;
|
|
56
56
|
"background"?: boolean;
|
|
57
57
|
/** Continue the thread that produced this response. */
|
|
@@ -85,7 +85,7 @@ export interface WireCreateResponse {
|
|
|
85
85
|
"tool_choice"?: "auto" | "none" | "required";
|
|
86
86
|
"metadata"?: Record<string, string>;
|
|
87
87
|
"include"?: Array<"reasoning" | "rounds" | "subagents" | "artifacts">;
|
|
88
|
-
/** Agent id. Built-in agents, `direct`, the `research` alias, declared app agents (`<app>/<name>`), and household agents (`household/<slug>`) are accepted; unknown ids return HTTP 400 `unknown_agent`. */
|
|
88
|
+
/** Agent id. Built-in agents, `direct`, the `research` alias, declared app agents (`<app>/<name>`), and household agents (`household/<slug>`) are accepted; unknown ids return HTTP 400 `unknown_agent`. Google chat is retired; use `assistant` and enable Google second opinion for an independent answer. */
|
|
89
89
|
"agent"?: string;
|
|
90
90
|
/** Thinking level. Explicit `effort: "off"` is honored; other requests are clamped to the selected model's supported capabilities. The SDK does not promise provider benchmark parity. */
|
|
91
91
|
"reasoning"?: {
|
|
@@ -164,7 +164,7 @@ export interface WireRegisterClientRequest {
|
|
|
164
164
|
/** Run defaults applied when a request omits the field: request > registered client default > use-case tier > agent/profile default. The built-in `store` default is true. Register one client per use-case (e.g. mealu-enrich) with its system prompt and tools baked in. */
|
|
165
165
|
"defaults"?: {
|
|
166
166
|
"backend"?: "pi";
|
|
167
|
-
"agent"?: "auto" | "fast" | "thorough" | "assistant" | "
|
|
167
|
+
"agent"?: "auto" | "fast" | "thorough" | "assistant" | "api" | "digest" | "herald" | "cradle" | "custom" | "direct" | string | "research";
|
|
168
168
|
"model"?: string;
|
|
169
169
|
"modelRoute"?: "chat.quick" | "chat.household" | "chat.deep" | "device" | "background.digest" | "utility" | "memory.extract" | "memory.judge" | "memory.consolidate";
|
|
170
170
|
"instructions"?: string;
|
|
@@ -215,7 +215,7 @@ export interface WireRegisterClientRequest {
|
|
|
215
215
|
/** Run defaults applied when a request omits the field: request > registered client default > use-case tier > agent/profile default. The built-in `store` default is true. Register one client per use-case (e.g. mealu-enrich) with its system prompt and tools baked in. */
|
|
216
216
|
export interface WireClientDefaults {
|
|
217
217
|
"backend"?: "pi";
|
|
218
|
-
"agent"?: "auto" | "fast" | "thorough" | "assistant" | "
|
|
218
|
+
"agent"?: "auto" | "fast" | "thorough" | "assistant" | "api" | "digest" | "herald" | "cradle" | "custom" | "direct" | string | "research";
|
|
219
219
|
/** Configured model id. Stock clients may also use an agent name here; prefer explicit `agent` for machine calls. */
|
|
220
220
|
"model"?: string;
|
|
221
221
|
/** Task route whose pool order and effort apply to automatic model selection. Mutually exclusive with model. Explicit request models, builtin chat agents, and agent model pins win; app-owned and api agents inherit the client route. */
|
|
@@ -281,7 +281,7 @@ export interface WireAppAgentDeclaration {
|
|
|
281
281
|
}
|
|
282
282
|
export interface WireCreateThreadRequest {
|
|
283
283
|
"title"?: string;
|
|
284
|
-
"agent"?: "auto" | "fast" | "thorough" | "assistant" | "
|
|
284
|
+
"agent"?: "auto" | "fast" | "thorough" | "assistant" | "api" | "digest" | "herald" | "cradle" | "custom" | "research" | "google" | string;
|
|
285
285
|
"model"?: string;
|
|
286
286
|
"person"?: string | null;
|
|
287
287
|
"owner"?: "client" | "person";
|
|
@@ -317,7 +317,7 @@ export interface WireResponse {
|
|
|
317
317
|
"created_at": number;
|
|
318
318
|
"status": "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled";
|
|
319
319
|
"backend": "pi";
|
|
320
|
-
"agent": "auto" | "fast" | "thorough" | "assistant" | "
|
|
320
|
+
"agent": "auto" | "fast" | "thorough" | "assistant" | "api" | "digest" | "herald" | "cradle" | "custom";
|
|
321
321
|
"model": string;
|
|
322
322
|
"conversation"?: {
|
|
323
323
|
"id": string;
|
|
@@ -507,7 +507,7 @@ export interface WireThread {
|
|
|
507
507
|
"created_at": number;
|
|
508
508
|
"updated_at": number;
|
|
509
509
|
"title": string;
|
|
510
|
-
"agent": "auto" | "fast" | "thorough" | "assistant" | "
|
|
510
|
+
"agent": "auto" | "fast" | "thorough" | "assistant" | "api" | "digest" | "herald" | "cradle" | "custom";
|
|
511
511
|
"model": string | null;
|
|
512
512
|
/** "api" for threads created through /v1; "chat" when a human started it. */
|
|
513
513
|
"origin": string;
|
|
@@ -546,7 +546,7 @@ export interface WireClient {
|
|
|
546
546
|
"allow_person_threads"?: boolean;
|
|
547
547
|
"defaults"?: {
|
|
548
548
|
"backend"?: "pi";
|
|
549
|
-
"agent"?: "auto" | "fast" | "thorough" | "assistant" | "
|
|
549
|
+
"agent"?: "auto" | "fast" | "thorough" | "assistant" | "api" | "digest" | "herald" | "cradle" | "custom" | "direct" | string | "research";
|
|
550
550
|
"model"?: string;
|
|
551
551
|
"modelRoute"?: "chat.quick" | "chat.household" | "chat.deep" | "device" | "background.digest" | "utility" | "memory.extract" | "memory.judge" | "memory.consolidate";
|
|
552
552
|
"instructions"?: string;
|
|
@@ -627,7 +627,7 @@ export interface WireResponseList {
|
|
|
627
627
|
"created_at": number;
|
|
628
628
|
"status": "queued" | "in_progress" | "completed" | "failed" | "incomplete" | "cancelled";
|
|
629
629
|
"backend": "pi";
|
|
630
|
-
"agent": "auto" | "fast" | "thorough" | "assistant" | "
|
|
630
|
+
"agent": "auto" | "fast" | "thorough" | "assistant" | "api" | "digest" | "herald" | "cradle" | "custom";
|
|
631
631
|
"model": string;
|
|
632
632
|
"conversation"?: {
|
|
633
633
|
"id": string;
|
|
@@ -762,7 +762,7 @@ export interface WireThreadList {
|
|
|
762
762
|
"created_at": number;
|
|
763
763
|
"updated_at": number;
|
|
764
764
|
"title": string;
|
|
765
|
-
"agent": "auto" | "fast" | "thorough" | "assistant" | "
|
|
765
|
+
"agent": "auto" | "fast" | "thorough" | "assistant" | "api" | "digest" | "herald" | "cradle" | "custom";
|
|
766
766
|
"model": string | null;
|
|
767
767
|
"origin": string;
|
|
768
768
|
"end_user"?: string | null;
|
package/package.json
CHANGED