perstack 0.0.131 → 0.0.132
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-CEw_KzeI.js} +16 -4
- package/dist/{dist-C1wXMdbD.js.map → dist-CEw_KzeI.js.map} +1 -1
- package/dist/{resolve-expert-JQOam2_2.js → resolve-expert-DyZJOPWX.js} +2 -2
- package/dist/{resolve-expert-JQOam2_2.js.map → resolve-expert-DyZJOPWX.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-CEw_KzeI.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-DyZJOPWX.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.132";
|
|
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,13 +6139,13 @@ 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
|
},
|
|
@@ -6283,6 +6289,12 @@ const knownModels = [
|
|
|
6283
6289
|
tier: "high",
|
|
6284
6290
|
contextWindow: 202752,
|
|
6285
6291
|
maxOutputTokens: 202752
|
|
6292
|
+
},
|
|
6293
|
+
{
|
|
6294
|
+
name: "accounts/fireworks/models/minimax-m2p5",
|
|
6295
|
+
tier: "high",
|
|
6296
|
+
contextWindow: 196608,
|
|
6297
|
+
maxOutputTokens: 196608
|
|
6286
6298
|
}
|
|
6287
6299
|
]
|
|
6288
6300
|
},
|
|
@@ -9599,4 +9611,4 @@ function createApiClient(config) {
|
|
|
9599
9611
|
//#endregion
|
|
9600
9612
|
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
9613
|
|
|
9602
|
-
//# sourceMappingURL=dist-
|
|
9614
|
+
//# sourceMappingURL=dist-CEw_KzeI.js.map
|