perstack 0.0.131 → 0.0.133
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/bin/cli.js +5 -5
- package/dist/{dist-C1wXMdbD.js → dist-Bcjkpp4l.js} +34 -4
- package/dist/{dist-C1wXMdbD.js.map → dist-Bcjkpp4l.js.map} +1 -1
- package/dist/{resolve-expert-JQOam2_2.js → resolve-expert-DYcSPPjK.js} +2 -2
- package/dist/{resolve-expert-JQOam2_2.js.map → resolve-expert-DYcSPPjK.js.map} +1 -1
- package/package.json +8 -8
package/dist/bin/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM, r as __exportAll, t as __commonJSMin } from "../chunk-DORXReHP.js";
|
|
3
|
-
import { $ as discriminatedUnion, A as stopRunByInteractiveTool, At as $constructor, B as knownModels, C as runParamsSchema, Ct as parse$1, D as startRun, Dt as clone, E as startGeneration, Et as safeParseAsync$1, F as jobSchema, Ft as createId, G as ZodOptional$1, H as resolveModelTierWithFallback, I as expertSchema, J as _null, K as _enum, L as isCoordinatorExpert, M as startCommandInputSchema, Mt as PerstackError, N as perstackConfigSchema, O as stopRunByDelegate, Ot as defineLazy, P as lockfileSchema, Q as custom, R as validateDelegation, S as retry, St as $ZodType, T as skipDelegates, Tt as safeParse$1, U as number$1, V as resolveModelTier, W as ZodIssueCode$1, X as array$1, Y as any, Z as boolean, _ as finishToolCall, _t as datetime, a as createFilteredEventListener, at as number, b as resolveToolResults, ct as preprocess, d as callTools, dt as string, et as intersection, f as completeRun, ft as tuple, g as finishMcpTools, gt as safeParseAsync$2, h as createStreamingEvent, ht as url, i as truncateText$1, it as never, j as runCommandInputSchema, jt as NEVER, k as stopRunByError, kt as normalizeParams, l as createBaseToolActivity, lt as record, m as createRuntimeEvent, mt as unknown, n as formatZodError, nt as literal, o as validateEventFilter, ot as object$2, p as continueToNextStep, pt as union, q as _instanceof, r as parseWithFriendlyError, rt as looseObject, s as getFilteredEnv, st as optional, t as createApiClient, tt as lazy, u as createGeneralToolActivity, ut as strictObject, v as parseExpertKey, vt as toJSONSchema, w as runSettingSchema, wt as parseAsync, x as resumeFromStop, xt as $ZodObject, y as proceedToInteractiveTools, z as checkpointSchema } from "../dist-
|
|
3
|
+
import { $ as discriminatedUnion, A as stopRunByInteractiveTool, At as $constructor, B as knownModels, C as runParamsSchema, Ct as parse$1, D as startRun, Dt as clone, E as startGeneration, Et as safeParseAsync$1, F as jobSchema, Ft as createId, G as ZodOptional$1, H as resolveModelTierWithFallback, I as expertSchema, J as _null, K as _enum, L as isCoordinatorExpert, M as startCommandInputSchema, Mt as PerstackError, N as perstackConfigSchema, O as stopRunByDelegate, Ot as defineLazy, P as lockfileSchema, Q as custom, R as validateDelegation, S as retry, St as $ZodType, T as skipDelegates, Tt as safeParse$1, U as number$1, V as resolveModelTier, W as ZodIssueCode$1, X as array$1, Y as any, Z as boolean, _ as finishToolCall, _t as datetime, a as createFilteredEventListener, at as number, b as resolveToolResults, ct as preprocess, d as callTools, dt as string, et as intersection, f as completeRun, ft as tuple, g as finishMcpTools, gt as safeParseAsync$2, h as createStreamingEvent, ht as url, i as truncateText$1, it as never, j as runCommandInputSchema, jt as NEVER, k as stopRunByError, kt as normalizeParams, l as createBaseToolActivity, lt as record, m as createRuntimeEvent, mt as unknown, n as formatZodError, nt as literal, o as validateEventFilter, ot as object$2, p as continueToNextStep, pt as union, q as _instanceof, r as parseWithFriendlyError, rt as looseObject, s as getFilteredEnv, st as optional, t as createApiClient, tt as lazy, u as createGeneralToolActivity, ut as strictObject, v as parseExpertKey, vt as toJSONSchema, w as runSettingSchema, wt as parseAsync, x as resumeFromStop, xt as $ZodObject, y as proceedToInteractiveTools, z as checkpointSchema } from "../dist-Bcjkpp4l.js";
|
|
4
4
|
import { t as require_token_error } from "../token-error-Bru5BVnt.js";
|
|
5
5
|
import fs, { constants, lstat, mkdir, open, readFile, stat, writeFile } from "node:fs/promises";
|
|
6
6
|
import path, { dirname, extname } from "node:path";
|
|
@@ -16238,7 +16238,7 @@ const EMPTY_COMPLETION_RESULT = { completion: {
|
|
|
16238
16238
|
//#endregion
|
|
16239
16239
|
//#region ../base/package.json
|
|
16240
16240
|
var name$6 = "@perstack/base";
|
|
16241
|
-
var version$2 = "0.0.
|
|
16241
|
+
var version$2 = "0.0.81";
|
|
16242
16242
|
//#endregion
|
|
16243
16243
|
//#region ../base/src/tools/todo.ts
|
|
16244
16244
|
var Todo = class {
|
|
@@ -21270,7 +21270,7 @@ async function expertVersionsHandler(scopeName, options) {
|
|
|
21270
21270
|
}
|
|
21271
21271
|
//#endregion
|
|
21272
21272
|
//#region ../../packages/runtime/package.json
|
|
21273
|
-
var version$1 = "0.0.
|
|
21273
|
+
var version$1 = "0.0.143";
|
|
21274
21274
|
//#endregion
|
|
21275
21275
|
//#region ../../packages/runtime/src/helpers/usage.ts
|
|
21276
21276
|
function createEmptyUsage() {
|
|
@@ -79755,7 +79755,7 @@ function validateRuntimeVersion(experts) {
|
|
|
79755
79755
|
//#endregion
|
|
79756
79756
|
//#region ../../packages/runtime/src/helpers/setup-experts.ts
|
|
79757
79757
|
async function setupExperts(setting, resolveExpertToRun) {
|
|
79758
|
-
const resolveFn = resolveExpertToRun ?? (await import("../resolve-expert-
|
|
79758
|
+
const resolveFn = resolveExpertToRun ?? (await import("../resolve-expert-DYcSPPjK.js")).resolveExpertToRun;
|
|
79759
79759
|
const { expertKey } = setting;
|
|
79760
79760
|
const experts = { ...setting.experts };
|
|
79761
79761
|
const clientOptions = {
|
|
@@ -124690,7 +124690,7 @@ async function startHandler(expertKey, query, options, handlerOptions) {
|
|
|
124690
124690
|
//#endregion
|
|
124691
124691
|
//#region package.json
|
|
124692
124692
|
var name = "perstack";
|
|
124693
|
-
var version = "0.0.
|
|
124693
|
+
var version = "0.0.133";
|
|
124694
124694
|
var description = "PerStack CLI";
|
|
124695
124695
|
//#endregion
|
|
124696
124696
|
//#region bin/cli.ts
|
|
@@ -6090,7 +6090,7 @@ const knownModels = [
|
|
|
6090
6090
|
{
|
|
6091
6091
|
name: "claude-opus-4-6",
|
|
6092
6092
|
tier: "high",
|
|
6093
|
-
contextWindow:
|
|
6093
|
+
contextWindow: 1e6,
|
|
6094
6094
|
maxOutputTokens: 128e3
|
|
6095
6095
|
},
|
|
6096
6096
|
{
|
|
@@ -6111,6 +6111,12 @@ const knownModels = [
|
|
|
6111
6111
|
contextWindow: 2e5,
|
|
6112
6112
|
maxOutputTokens: 32e3
|
|
6113
6113
|
},
|
|
6114
|
+
{
|
|
6115
|
+
name: "claude-sonnet-4-6",
|
|
6116
|
+
tier: "middle",
|
|
6117
|
+
contextWindow: 1e6,
|
|
6118
|
+
maxOutputTokens: 64e3
|
|
6119
|
+
},
|
|
6114
6120
|
{
|
|
6115
6121
|
name: "claude-sonnet-4-5",
|
|
6116
6122
|
tier: "middle",
|
|
@@ -6133,19 +6139,25 @@ const knownModels = [
|
|
|
6133
6139
|
name: "claude-haiku-4-5",
|
|
6134
6140
|
tier: "low",
|
|
6135
6141
|
contextWindow: 2e5,
|
|
6136
|
-
maxOutputTokens:
|
|
6142
|
+
maxOutputTokens: 64e3
|
|
6137
6143
|
},
|
|
6138
6144
|
{
|
|
6139
6145
|
name: "claude-3-5-haiku-latest",
|
|
6140
6146
|
tier: "low",
|
|
6141
6147
|
contextWindow: 2e5,
|
|
6142
|
-
maxOutputTokens:
|
|
6148
|
+
maxOutputTokens: 64e3
|
|
6143
6149
|
}
|
|
6144
6150
|
]
|
|
6145
6151
|
},
|
|
6146
6152
|
{
|
|
6147
6153
|
provider: "google",
|
|
6148
6154
|
models: [
|
|
6155
|
+
{
|
|
6156
|
+
name: "gemini-3.1-pro-preview",
|
|
6157
|
+
tier: "high",
|
|
6158
|
+
contextWindow: 1048576,
|
|
6159
|
+
maxOutputTokens: 65536
|
|
6160
|
+
},
|
|
6149
6161
|
{
|
|
6150
6162
|
name: "gemini-3-flash-preview",
|
|
6151
6163
|
tier: "middle",
|
|
@@ -6170,6 +6182,12 @@ const knownModels = [
|
|
|
6170
6182
|
contextWindow: 1048576,
|
|
6171
6183
|
maxOutputTokens: 65536
|
|
6172
6184
|
},
|
|
6185
|
+
{
|
|
6186
|
+
name: "gemini-3.1-flash-lite-preview",
|
|
6187
|
+
tier: "low",
|
|
6188
|
+
contextWindow: 1048576,
|
|
6189
|
+
maxOutputTokens: 65536
|
|
6190
|
+
},
|
|
6173
6191
|
{
|
|
6174
6192
|
name: "gemini-2.5-flash-lite",
|
|
6175
6193
|
tier: "low",
|
|
@@ -6181,6 +6199,12 @@ const knownModels = [
|
|
|
6181
6199
|
{
|
|
6182
6200
|
provider: "openai",
|
|
6183
6201
|
models: [
|
|
6202
|
+
{
|
|
6203
|
+
name: "gpt-5.4",
|
|
6204
|
+
tier: "high",
|
|
6205
|
+
contextWindow: 105e4,
|
|
6206
|
+
maxOutputTokens: 128e3
|
|
6207
|
+
},
|
|
6184
6208
|
{
|
|
6185
6209
|
name: "gpt-5.2-pro",
|
|
6186
6210
|
tier: "high",
|
|
@@ -6283,6 +6307,12 @@ const knownModels = [
|
|
|
6283
6307
|
tier: "high",
|
|
6284
6308
|
contextWindow: 202752,
|
|
6285
6309
|
maxOutputTokens: 202752
|
|
6310
|
+
},
|
|
6311
|
+
{
|
|
6312
|
+
name: "accounts/fireworks/models/minimax-m2p5",
|
|
6313
|
+
tier: "high",
|
|
6314
|
+
contextWindow: 196608,
|
|
6315
|
+
maxOutputTokens: 196608
|
|
6286
6316
|
}
|
|
6287
6317
|
]
|
|
6288
6318
|
},
|
|
@@ -9599,4 +9629,4 @@ function createApiClient(config) {
|
|
|
9599
9629
|
//#endregion
|
|
9600
9630
|
export { discriminatedUnion as $, stopRunByInteractiveTool as A, $constructor as At, knownModels as B, runParamsSchema as C, parse$1 as Ct, startRun as D, clone as Dt, startGeneration as E, safeParseAsync$1 as Et, jobSchema$1 as F, createId as Ft, ZodOptional as G, resolveModelTierWithFallback as H, expertSchema$1 as I, _null as J, _enum as K, isCoordinatorExpert as L, startCommandInputSchema as M, PerstackError as Mt, perstackConfigSchema as N, defaultPerstackApiBaseUrl as Nt, stopRunByDelegate as O, defineLazy as Ot, lockfileSchema as P, defaultTimeout as Pt, custom as Q, validateDelegation as R, retry as S, $ZodType as St, skipDelegates as T, safeParse$1 as Tt, number as U, resolveModelTier as V, ZodIssueCode as W, array as X, any as Y, boolean$1 as Z, finishToolCall as _, datetime as _t, createFilteredEventListener as a, number$1 as at, resolveToolResults as b, meta$1 as bt, BASE_SKILL_PREFIX as c, preprocess as ct, callTools as d, string as dt, intersection as et, completeRun as f, tuple as ft, finishMcpTools as g, safeParseAsync as gt, createStreamingEvent as h, url as ht, truncateText as i, never as it, runCommandInputSchema as j, NEVER as jt, stopRunByError as k, normalizeParams as kt, createBaseToolActivity as l, record as lt, createRuntimeEvent as m, unknown as mt, formatZodError as n, literal as nt, validateEventFilter as o, object as ot, continueToNextStep as p, union as pt, _instanceof as q, parseWithFriendlyError as r, looseObject as rt, getFilteredEnv as s, optional as st, createApiClient as t, lazy as tt, createGeneralToolActivity as u, strictObject as ut, parseExpertKey as v, toJSONSchema as vt, runSettingSchema as w, parseAsync$1 as wt, resumeFromStop as x, $ZodObject as xt, proceedToInteractiveTools as y, describe$1 as yt, checkpointSchema as z };
|
|
9601
9631
|
|
|
9602
|
-
//# sourceMappingURL=dist-
|
|
9632
|
+
//# sourceMappingURL=dist-Bcjkpp4l.js.map
|