terse-types 0.0.45 → 0.0.47
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/ModelEvents.d.ts +0 -8
- package/dist/ModelEvents.js +0 -14
- package/dist/ToolDisplayUtils.js +0 -8
- package/package.json +1 -1
package/dist/ModelEvents.d.ts
CHANGED
|
@@ -134,14 +134,6 @@ export declare const toolCallCompleteSchema: z.ZodObject<{
|
|
|
134
134
|
}, z.core.$strip>>;
|
|
135
135
|
}, z.core.$strip>;
|
|
136
136
|
export type ToolCallComplete = z.infer<typeof toolCallCompleteSchema>;
|
|
137
|
-
export declare enum SandboxStage {
|
|
138
|
-
BOOTING = "booting",
|
|
139
|
-
INSTALLING_DEPENDENCIES = "installing_dependencies",
|
|
140
|
-
INSTALLING_CLI = "installing_cli",
|
|
141
|
-
RUNNING = "running"
|
|
142
|
-
}
|
|
143
|
-
export declare const sandboxStageSchema: z.ZodEnum<typeof SandboxStage>;
|
|
144
|
-
export declare const SANDBOX_STAGE_LABELS: Record<SandboxStage, string>;
|
|
145
137
|
export declare const userMessageSchema: z.ZodObject<{
|
|
146
138
|
id: z.ZodString;
|
|
147
139
|
timestamp: z.ZodNumber;
|
package/dist/ModelEvents.js
CHANGED
|
@@ -90,20 +90,6 @@ export const toolCallCompleteSchema = modelEventBaseSchema.extend({
|
|
|
90
90
|
result: z.string().optional(),
|
|
91
91
|
errorContext: sharedErrorContextSchema.optional()
|
|
92
92
|
});
|
|
93
|
-
export var SandboxStage;
|
|
94
|
-
(function (SandboxStage) {
|
|
95
|
-
SandboxStage["BOOTING"] = "booting";
|
|
96
|
-
SandboxStage["INSTALLING_DEPENDENCIES"] = "installing_dependencies";
|
|
97
|
-
SandboxStage["INSTALLING_CLI"] = "installing_cli";
|
|
98
|
-
SandboxStage["RUNNING"] = "running";
|
|
99
|
-
})(SandboxStage || (SandboxStage = {}));
|
|
100
|
-
export const sandboxStageSchema = z.enum(SandboxStage);
|
|
101
|
-
export const SANDBOX_STAGE_LABELS = {
|
|
102
|
-
[SandboxStage.BOOTING]: "Booting sandbox",
|
|
103
|
-
[SandboxStage.INSTALLING_DEPENDENCIES]: "Installing dependencies",
|
|
104
|
-
[SandboxStage.INSTALLING_CLI]: "Installing CLI",
|
|
105
|
-
[SandboxStage.RUNNING]: "Running agent"
|
|
106
|
-
};
|
|
107
93
|
export const userMessageSchema = modelEventBaseSchema.extend({
|
|
108
94
|
type: z.literal("UserMessage"),
|
|
109
95
|
message: z.string(),
|
package/dist/ToolDisplayUtils.js
CHANGED
|
@@ -817,14 +817,6 @@ const TOOL_DISPLAY_CONFIG = {
|
|
|
817
817
|
return `Query plan retrieved (${rowCount} step${rowCount !== 1 ? "s" : ""})`;
|
|
818
818
|
return "Query plan retrieved";
|
|
819
819
|
}
|
|
820
|
-
},
|
|
821
|
-
// ===================
|
|
822
|
-
// Sandbox Lifecycle
|
|
823
|
-
// ===================
|
|
824
|
-
"Running agent": {
|
|
825
|
-
preparing: "Running agent",
|
|
826
|
-
executing: () => "Running agent",
|
|
827
|
-
complete: (_params, result) => `Agent finished${result ? ` (${result})` : ""}`
|
|
828
820
|
}
|
|
829
821
|
};
|
|
830
822
|
/**
|