lancer-shared 1.2.9 → 1.2.10
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/bundle.cjs.js +2 -1
- package/dist/schemas/agent/index.d.ts +16 -13
- package/package.json +1 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -6177,7 +6177,8 @@ const agentTaskRequestSchema = z.object({
|
|
|
6177
6177
|
});
|
|
6178
6178
|
const testSystemPromptsRequestSchema = z.object({
|
|
6179
6179
|
organizationId: z.string(),
|
|
6180
|
-
|
|
6180
|
+
modelSuitability: z.string(),
|
|
6181
|
+
modelProposal: z.string(),
|
|
6181
6182
|
systemPrompt: systemPromptSchema,
|
|
6182
6183
|
aiConfig: aiConfigSchema,
|
|
6183
6184
|
lead: leadSchema,
|
|
@@ -872,7 +872,8 @@ export declare const agentTaskRequestSchema: z.ZodObject<{
|
|
|
872
872
|
}>;
|
|
873
873
|
export declare const testSystemPromptsRequestSchema: z.ZodObject<{
|
|
874
874
|
organizationId: z.ZodString;
|
|
875
|
-
|
|
875
|
+
modelSuitability: z.ZodString;
|
|
876
|
+
modelProposal: z.ZodString;
|
|
876
877
|
systemPrompt: z.ZodObject<{
|
|
877
878
|
suitability: z.ZodString;
|
|
878
879
|
proposal: z.ZodString;
|
|
@@ -1610,7 +1611,8 @@ export declare const testSystemPromptsRequestSchema: z.ZodObject<{
|
|
|
1610
1611
|
unansweredInvites: number;
|
|
1611
1612
|
} | null | undefined;
|
|
1612
1613
|
};
|
|
1613
|
-
|
|
1614
|
+
modelSuitability: string;
|
|
1615
|
+
modelProposal: string;
|
|
1614
1616
|
systemPrompt: {
|
|
1615
1617
|
proposal: string;
|
|
1616
1618
|
suitability: string;
|
|
@@ -1751,7 +1753,8 @@ export declare const testSystemPromptsRequestSchema: z.ZodObject<{
|
|
|
1751
1753
|
unansweredInvites: number;
|
|
1752
1754
|
} | null | undefined;
|
|
1753
1755
|
};
|
|
1754
|
-
|
|
1756
|
+
modelSuitability: string;
|
|
1757
|
+
modelProposal: string;
|
|
1755
1758
|
systemPrompt: {
|
|
1756
1759
|
proposal: string;
|
|
1757
1760
|
suitability: string;
|
|
@@ -1844,7 +1847,6 @@ export declare const agentTaskResponseSchema: z.ZodObject<{
|
|
|
1844
1847
|
promptTokens: z.ZodNumber;
|
|
1845
1848
|
completionTokens: z.ZodNumber;
|
|
1846
1849
|
}, "strip", z.ZodTypeAny, {
|
|
1847
|
-
model: string;
|
|
1848
1850
|
result: {
|
|
1849
1851
|
rating: number;
|
|
1850
1852
|
reason: string;
|
|
@@ -1855,11 +1857,11 @@ export declare const agentTaskResponseSchema: z.ZodObject<{
|
|
|
1855
1857
|
}[];
|
|
1856
1858
|
coverLetter: string;
|
|
1857
1859
|
};
|
|
1860
|
+
model: string;
|
|
1858
1861
|
provider: string;
|
|
1859
1862
|
promptTokens: number;
|
|
1860
1863
|
completionTokens: number;
|
|
1861
1864
|
}, {
|
|
1862
|
-
model: string;
|
|
1863
1865
|
result: {
|
|
1864
1866
|
rating: number;
|
|
1865
1867
|
reason: string;
|
|
@@ -1870,6 +1872,7 @@ export declare const agentTaskResponseSchema: z.ZodObject<{
|
|
|
1870
1872
|
}[];
|
|
1871
1873
|
coverLetter: string;
|
|
1872
1874
|
};
|
|
1875
|
+
model: string;
|
|
1873
1876
|
provider: string;
|
|
1874
1877
|
promptTokens: number;
|
|
1875
1878
|
completionTokens: number;
|
|
@@ -1906,7 +1909,6 @@ export declare const testSystemPromptsResponseSchema: z.ZodObject<{
|
|
|
1906
1909
|
promptTokens: z.ZodNumber;
|
|
1907
1910
|
completionTokens: z.ZodNumber;
|
|
1908
1911
|
}, "strip", z.ZodTypeAny, {
|
|
1909
|
-
model: string;
|
|
1910
1912
|
result: {
|
|
1911
1913
|
questionAnswerPairs: {
|
|
1912
1914
|
question: string;
|
|
@@ -1914,11 +1916,11 @@ export declare const testSystemPromptsResponseSchema: z.ZodObject<{
|
|
|
1914
1916
|
}[];
|
|
1915
1917
|
coverLetter: string;
|
|
1916
1918
|
};
|
|
1919
|
+
model: string;
|
|
1917
1920
|
provider: string;
|
|
1918
1921
|
promptTokens: number;
|
|
1919
1922
|
completionTokens: number;
|
|
1920
1923
|
}, {
|
|
1921
|
-
model: string;
|
|
1922
1924
|
result: {
|
|
1923
1925
|
questionAnswerPairs: {
|
|
1924
1926
|
question: string;
|
|
@@ -1926,6 +1928,7 @@ export declare const testSystemPromptsResponseSchema: z.ZodObject<{
|
|
|
1926
1928
|
}[];
|
|
1927
1929
|
coverLetter: string;
|
|
1928
1930
|
};
|
|
1931
|
+
model: string;
|
|
1929
1932
|
provider: string;
|
|
1930
1933
|
promptTokens: number;
|
|
1931
1934
|
completionTokens: number;
|
|
@@ -1946,27 +1949,26 @@ export declare const testSystemPromptsResponseSchema: z.ZodObject<{
|
|
|
1946
1949
|
promptTokens: z.ZodNumber;
|
|
1947
1950
|
completionTokens: z.ZodNumber;
|
|
1948
1951
|
}, "strip", z.ZodTypeAny, {
|
|
1949
|
-
model: string;
|
|
1950
1952
|
result: {
|
|
1951
1953
|
rating: number;
|
|
1952
1954
|
reason: string;
|
|
1953
1955
|
};
|
|
1956
|
+
model: string;
|
|
1954
1957
|
provider: string;
|
|
1955
1958
|
promptTokens: number;
|
|
1956
1959
|
completionTokens: number;
|
|
1957
1960
|
}, {
|
|
1958
|
-
model: string;
|
|
1959
1961
|
result: {
|
|
1960
1962
|
rating: number;
|
|
1961
1963
|
reason: string;
|
|
1962
1964
|
};
|
|
1965
|
+
model: string;
|
|
1963
1966
|
provider: string;
|
|
1964
1967
|
promptTokens: number;
|
|
1965
1968
|
completionTokens: number;
|
|
1966
1969
|
}>;
|
|
1967
1970
|
}, "strip", z.ZodTypeAny, {
|
|
1968
1971
|
proposal: {
|
|
1969
|
-
model: string;
|
|
1970
1972
|
result: {
|
|
1971
1973
|
questionAnswerPairs: {
|
|
1972
1974
|
question: string;
|
|
@@ -1974,23 +1976,23 @@ export declare const testSystemPromptsResponseSchema: z.ZodObject<{
|
|
|
1974
1976
|
}[];
|
|
1975
1977
|
coverLetter: string;
|
|
1976
1978
|
};
|
|
1979
|
+
model: string;
|
|
1977
1980
|
provider: string;
|
|
1978
1981
|
promptTokens: number;
|
|
1979
1982
|
completionTokens: number;
|
|
1980
1983
|
};
|
|
1981
1984
|
suitability: {
|
|
1982
|
-
model: string;
|
|
1983
1985
|
result: {
|
|
1984
1986
|
rating: number;
|
|
1985
1987
|
reason: string;
|
|
1986
1988
|
};
|
|
1989
|
+
model: string;
|
|
1987
1990
|
provider: string;
|
|
1988
1991
|
promptTokens: number;
|
|
1989
1992
|
completionTokens: number;
|
|
1990
1993
|
};
|
|
1991
1994
|
}, {
|
|
1992
1995
|
proposal: {
|
|
1993
|
-
model: string;
|
|
1994
1996
|
result: {
|
|
1995
1997
|
questionAnswerPairs: {
|
|
1996
1998
|
question: string;
|
|
@@ -1998,16 +2000,17 @@ export declare const testSystemPromptsResponseSchema: z.ZodObject<{
|
|
|
1998
2000
|
}[];
|
|
1999
2001
|
coverLetter: string;
|
|
2000
2002
|
};
|
|
2003
|
+
model: string;
|
|
2001
2004
|
provider: string;
|
|
2002
2005
|
promptTokens: number;
|
|
2003
2006
|
completionTokens: number;
|
|
2004
2007
|
};
|
|
2005
2008
|
suitability: {
|
|
2006
|
-
model: string;
|
|
2007
2009
|
result: {
|
|
2008
2010
|
rating: number;
|
|
2009
2011
|
reason: string;
|
|
2010
2012
|
};
|
|
2013
|
+
model: string;
|
|
2011
2014
|
provider: string;
|
|
2012
2015
|
promptTokens: number;
|
|
2013
2016
|
completionTokens: number;
|