clanka 0.17.0 → 0.17.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/AgentCallerConfig.test.js +5 -3
- package/dist/AgentCallerConfig.test.js.map +1 -1
- package/dist/ChunkRepo.d.ts +1 -1
- package/dist/Compaction.test.js +2 -1
- package/dist/Compaction.test.js.map +1 -1
- package/dist/CompactionTokens.test.js +15 -8
- package/dist/CompactionTokens.test.js.map +1 -1
- package/dist/bin/{Effect-On-1ks2z.mjs → Effect-DNYYQ84C.mjs} +421 -367
- package/dist/bin/Effect-DNYYQ84C.mjs.map +1 -0
- package/dist/bin/Latch-BSlIwuxI.mjs +7 -0
- package/dist/bin/Latch-BSlIwuxI.mjs.map +1 -0
- package/dist/bin/{McpClient-iwrW83Si.mjs → McpClient-C7ctqJWo.mjs} +4 -5
- package/dist/bin/{McpClient-iwrW83Si.mjs.map → McpClient-C7ctqJWo.mjs.map} +1 -1
- package/dist/bin/{OutputFormatter-DeNaqhQM.mjs → OutputFormatter-DXej05JW.mjs} +8 -13
- package/dist/bin/{OutputFormatter-DeNaqhQM.mjs.map → OutputFormatter-DXej05JW.mjs.map} +1 -1
- package/dist/bin/{Schema-B3pFcw4E.mjs → Schema-CSQN_Zso.mjs} +754 -800
- package/dist/bin/Schema-CSQN_Zso.mjs.map +1 -0
- package/dist/bin/{SemanticSearch-BZIXkWYz.mjs → SemanticSearch-BiwCnpKX.mjs} +241 -148
- package/dist/bin/SemanticSearch-BiwCnpKX.mjs.map +1 -0
- package/dist/bin/{Stream-DCB3_nIX.mjs → Stream-Dwvj9X5X.mjs} +161 -116
- package/dist/bin/Stream-Dwvj9X5X.mjs.map +1 -0
- package/dist/bin/cli.mjs +3994 -3220
- package/dist/bin/cli.mjs.map +1 -1
- package/dist/bin/{helpers-BPLUsjsL.mjs → helpers-CljL9OKa.mjs} +143 -177
- package/dist/bin/helpers-CljL9OKa.mjs.map +1 -0
- package/dist/bin/index.min-ClUfQ5ji.mjs +3782 -0
- package/dist/bin/index.min-ClUfQ5ji.mjs.map +1 -0
- package/dist/bin/{rolldown-runtime-Cjv6nE1W.mjs → rolldown-runtime-5zChB7MF.mjs} +1 -2
- package/dist/bin/{server-CBmuybpI.mjs → server-HlLriZxF.mjs} +5 -7
- package/dist/bin/{server-CBmuybpI.mjs.map → server-HlLriZxF.mjs.map} +1 -1
- package/dist/bin/{turndown.cjs-cie0BXQQ.mjs → turndown.cjs-C2WBxeA-.mjs} +56 -110
- package/dist/bin/{turndown.cjs-cie0BXQQ.mjs.map → turndown.cjs-C2WBxeA-.mjs.map} +1 -1
- package/dist/bin/{types-RT_9fFNm.mjs → types-LcwjLVkt.mjs} +20 -38
- package/dist/bin/{types-RT_9fFNm.mjs.map → types-LcwjLVkt.mjs.map} +1 -1
- package/dist/bin/upgrade-BSNjCnra.mjs +342 -0
- package/dist/bin/upgrade-BSNjCnra.mjs.map +1 -0
- package/package.json +14 -20
- package/src/AgentCallerConfig.test.ts +5 -3
- package/src/Compaction.test.ts +2 -1
- package/src/CompactionTokens.test.ts +15 -11
- package/dist/bin/Effect-On-1ks2z.mjs.map +0 -1
- package/dist/bin/Schema-B3pFcw4E.mjs.map +0 -1
- package/dist/bin/SemanticSearch-BZIXkWYz.mjs.map +0 -1
- package/dist/bin/Stream-DCB3_nIX.mjs.map +0 -1
- package/dist/bin/helpers-BPLUsjsL.mjs.map +0 -1
- package/dist/bin/index.min-Bkz7vIWv.mjs +0 -3300
- package/dist/bin/index.min-Bkz7vIWv.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as __exportAll } from "./rolldown-runtime-
|
|
2
|
-
|
|
1
|
+
import { n as __exportAll } from "./rolldown-runtime-5zChB7MF.mjs";
|
|
2
|
+
// node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/core/core.js
|
|
3
3
|
var _a$1;
|
|
4
4
|
const NEVER = Object.freeze({ status: "aborted" });
|
|
5
5
|
function $constructor(name, initializer, params) {
|
|
@@ -58,8 +58,7 @@ function config(newConfig) {
|
|
|
58
58
|
if (newConfig) Object.assign(globalConfig, newConfig);
|
|
59
59
|
return globalConfig;
|
|
60
60
|
}
|
|
61
|
-
|
|
62
|
-
//#region node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/core/util.js
|
|
61
|
+
// node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/core/util.js
|
|
63
62
|
function getEnumValues(entries) {
|
|
64
63
|
const numericValues = Object.values(entries).filter((v) => typeof v === "number");
|
|
65
64
|
return Object.entries(entries).filter(([k, _]) => numericValues.indexOf(+k) === -1).map(([_, v]) => v);
|
|
@@ -372,8 +371,7 @@ function issue(...args) {
|
|
|
372
371
|
};
|
|
373
372
|
return { ...iss };
|
|
374
373
|
}
|
|
375
|
-
|
|
376
|
-
//#region node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/core/errors.js
|
|
374
|
+
// node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/core/errors.js
|
|
377
375
|
const initializer$1 = (inst, def) => {
|
|
378
376
|
inst.name = "$ZodError";
|
|
379
377
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -432,8 +430,7 @@ function formatError(error, mapper = (issue) => issue.message) {
|
|
|
432
430
|
processError(error);
|
|
433
431
|
return fieldErrors;
|
|
434
432
|
}
|
|
435
|
-
|
|
436
|
-
//#region node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/core/parse.js
|
|
433
|
+
// node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/core/parse.js
|
|
437
434
|
const _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
438
435
|
const ctx = _ctx ? {
|
|
439
436
|
..._ctx,
|
|
@@ -546,8 +543,7 @@ const _safeEncodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
546
543
|
const _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
547
544
|
return _safeParseAsync(_Err)(schema, value, _ctx);
|
|
548
545
|
};
|
|
549
|
-
|
|
550
|
-
//#region node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/core/regexes.js
|
|
546
|
+
// node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/core/regexes.js
|
|
551
547
|
const cuid = /^[cC][0-9a-z]{6,}$/;
|
|
552
548
|
const cuid2 = /^[0-9a-z]+$/;
|
|
553
549
|
const ulid = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/;
|
|
@@ -600,8 +596,7 @@ const boolean$1 = /^(?:true|false)$/i;
|
|
|
600
596
|
const _null$2 = /^null$/i;
|
|
601
597
|
const lowercase = /^[^A-Z]*$/;
|
|
602
598
|
const uppercase = /^[^a-z]*$/;
|
|
603
|
-
|
|
604
|
-
//#region node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/core/checks.js
|
|
599
|
+
// node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/core/checks.js
|
|
605
600
|
const $ZodCheck = $constructor("$ZodCheck", (inst, def) => {
|
|
606
601
|
var _a;
|
|
607
602
|
inst._zod ?? (inst._zod = {});
|
|
@@ -962,8 +957,7 @@ const $ZodCheckOverwrite = $constructor("$ZodCheckOverwrite", (inst, def) => {
|
|
|
962
957
|
payload.value = def.tx(payload.value);
|
|
963
958
|
};
|
|
964
959
|
});
|
|
965
|
-
|
|
966
|
-
//#region node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/core/doc.js
|
|
960
|
+
// node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/core/doc.js
|
|
967
961
|
var Doc = class {
|
|
968
962
|
constructor(args = []) {
|
|
969
963
|
this.content = [];
|
|
@@ -993,15 +987,13 @@ var Doc = class {
|
|
|
993
987
|
return new F(...args, lines.join("\n"));
|
|
994
988
|
}
|
|
995
989
|
};
|
|
996
|
-
|
|
997
|
-
//#region node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/core/versions.js
|
|
990
|
+
// node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/core/versions.js
|
|
998
991
|
const version = {
|
|
999
992
|
major: 4,
|
|
1000
993
|
minor: 4,
|
|
1001
994
|
patch: 2
|
|
1002
995
|
};
|
|
1003
|
-
|
|
1004
|
-
//#region node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/core/schemas.js
|
|
996
|
+
// node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/core/schemas.js
|
|
1005
997
|
const $ZodType = $constructor("$ZodType", (inst, def) => {
|
|
1006
998
|
var _a;
|
|
1007
999
|
inst ?? (inst = {});
|
|
@@ -2297,8 +2289,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
2297
2289
|
payload.issues.push(issue(_iss));
|
|
2298
2290
|
}
|
|
2299
2291
|
}
|
|
2300
|
-
|
|
2301
|
-
//#region node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/core/registries.js
|
|
2292
|
+
// node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/core/registries.js
|
|
2302
2293
|
var _a;
|
|
2303
2294
|
var $ZodRegistry = class {
|
|
2304
2295
|
constructor() {
|
|
@@ -2344,8 +2335,7 @@ function registry() {
|
|
|
2344
2335
|
}
|
|
2345
2336
|
(_a = globalThis).__zod_globalRegistry ?? (_a.__zod_globalRegistry = registry());
|
|
2346
2337
|
const globalRegistry = globalThis.__zod_globalRegistry;
|
|
2347
|
-
|
|
2348
|
-
//#region node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/core/api.js
|
|
2338
|
+
// node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/core/api.js
|
|
2349
2339
|
function _string(Class, params) {
|
|
2350
2340
|
return new Class({
|
|
2351
2341
|
type: "string",
|
|
@@ -2815,8 +2805,7 @@ function _check(fn, params) {
|
|
|
2815
2805
|
ch._zod.check = fn;
|
|
2816
2806
|
return ch;
|
|
2817
2807
|
}
|
|
2818
|
-
|
|
2819
|
-
//#region node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/core/to-json-schema.js
|
|
2808
|
+
// node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/core/to-json-schema.js
|
|
2820
2809
|
function initializeContext(params) {
|
|
2821
2810
|
let target = params?.target ?? "draft-2020-12";
|
|
2822
2811
|
if (target === "draft-4") target = "draft-04";
|
|
@@ -3106,8 +3095,7 @@ const createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params)
|
|
|
3106
3095
|
extractDefs(ctx, schema);
|
|
3107
3096
|
return finalize(ctx, schema);
|
|
3108
3097
|
};
|
|
3109
|
-
|
|
3110
|
-
//#region node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/core/json-schema-processors.js
|
|
3098
|
+
// node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/core/json-schema-processors.js
|
|
3111
3099
|
const formatMap = {
|
|
3112
3100
|
guid: "uuid",
|
|
3113
3101
|
url: "uri",
|
|
@@ -3380,8 +3368,7 @@ const optionalProcessor = (schema, ctx, _json, params) => {
|
|
|
3380
3368
|
const seen = ctx.seen.get(schema);
|
|
3381
3369
|
seen.ref = def.innerType;
|
|
3382
3370
|
};
|
|
3383
|
-
|
|
3384
|
-
//#region node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/classic/iso.js
|
|
3371
|
+
// node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/classic/iso.js
|
|
3385
3372
|
const ZodISODateTime = $constructor("ZodISODateTime", (inst, def) => {
|
|
3386
3373
|
$ZodISODateTime.init(inst, def);
|
|
3387
3374
|
ZodStringFormat.init(inst, def);
|
|
@@ -3410,8 +3397,7 @@ const ZodISODuration = $constructor("ZodISODuration", (inst, def) => {
|
|
|
3410
3397
|
function duration(params) {
|
|
3411
3398
|
return _isoDuration(ZodISODuration, params);
|
|
3412
3399
|
}
|
|
3413
|
-
|
|
3414
|
-
//#region node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/classic/errors.js
|
|
3400
|
+
// node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/classic/errors.js
|
|
3415
3401
|
const initializer = (inst, issues) => {
|
|
3416
3402
|
$ZodError.init(inst, issues);
|
|
3417
3403
|
inst.name = "ZodError";
|
|
@@ -3432,8 +3418,7 @@ const initializer = (inst, issues) => {
|
|
|
3432
3418
|
});
|
|
3433
3419
|
};
|
|
3434
3420
|
const ZodRealError = $constructor("ZodError", initializer, { Parent: Error });
|
|
3435
|
-
|
|
3436
|
-
//#region node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/classic/parse.js
|
|
3421
|
+
// node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/classic/parse.js
|
|
3437
3422
|
const parse = _parse(ZodRealError);
|
|
3438
3423
|
const parseAsync = _parseAsync(ZodRealError);
|
|
3439
3424
|
const safeParse = _safeParse(ZodRealError);
|
|
@@ -3446,8 +3431,7 @@ const safeEncode = _safeEncode(ZodRealError);
|
|
|
3446
3431
|
const safeDecode = _safeDecode(ZodRealError);
|
|
3447
3432
|
const safeEncodeAsync = _safeEncodeAsync(ZodRealError);
|
|
3448
3433
|
const safeDecodeAsync = _safeDecodeAsync(ZodRealError);
|
|
3449
|
-
|
|
3450
|
-
//#region node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/classic/schemas.js
|
|
3434
|
+
// node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/classic/schemas.js
|
|
3451
3435
|
const _installedGroups = new WeakMap();
|
|
3452
3436
|
function _installLazyMethods(inst, group, methods) {
|
|
3453
3437
|
const proto = Object.getPrototypeOf(inst);
|
|
@@ -4286,8 +4270,7 @@ function preprocess(fn, schema) {
|
|
|
4286
4270
|
out: schema
|
|
4287
4271
|
});
|
|
4288
4272
|
}
|
|
4289
|
-
|
|
4290
|
-
//#region node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_zod@4.4.2/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
4273
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.4.2/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
4291
4274
|
var types_exports = __exportAll({
|
|
4292
4275
|
AnnotationsSchema: () => AnnotationsSchema,
|
|
4293
4276
|
AudioContentSchema: () => AudioContentSchema,
|
|
@@ -5272,7 +5255,6 @@ var UrlElicitationRequiredError = class extends McpError {
|
|
|
5272
5255
|
return this.data?.elicitations ?? [];
|
|
5273
5256
|
}
|
|
5274
5257
|
};
|
|
5275
|
-
//#endregion
|
|
5276
5258
|
export { array as $, ListTasksResultSchema as A, SUPPORTED_PROTOCOL_VERSIONS as B, LATEST_PROTOCOL_VERSION as C, ListResourcesResultSchema as D, ListResourceTemplatesResultSchema as E, ProgressNotificationSchema as F, isJSONRPCErrorResponse as G, TaskStatusNotificationSchema as H, PromptListChangedNotificationSchema as I, isJSONRPCResultResponse as J, isJSONRPCNotification as K, RELATED_TASK_META_KEY as L, LoggingLevelSchema as M, McpError as N, ListRootsResultSchema as O, PingRequestSchema as P, any as Q, ReadResourceResultSchema as R, JSONRPCMessageSchema as S, ListPromptsResultSchema as T, ToolListChangedNotificationSchema as U, SetLevelRequestSchema as V, isInitializedNotification as W, types_exports as X, isTaskAugmentedRequestParams as Y, ZodNumber as Z, GetTaskRequestSchema as _, CancelledNotificationSchema as a, string as at, InitializeResultSchema as b, CreateMessageResultSchema as c, safeParse$1 as ct, ElicitRequestSchema as d, boolean as et, ElicitResultSchema as f, GetTaskPayloadRequestSchema as g, GetPromptResultSchema as h, CancelTaskResultSchema as i, object as it, ListToolsResultSchema as j, ListTasksRequestSchema as k, CreateMessageResultWithToolsSchema as l, NEVER as lt, ErrorCode as m, CallToolResultSchema as n, looseObject as nt, CompleteResultSchema as o, url as ot, EmptyResultSchema as p, isJSONRPCRequest as q, CancelTaskRequestSchema as r, number as rt, CreateMessageRequestSchema as s, _coercedNumber as st, CallToolRequestSchema as t, literal as tt, CreateTaskResultSchema as u, GetTaskResultSchema as v, ListChangedOptionsBaseSchema as w, InitializedNotificationSchema as x, InitializeRequestSchema as y, ResourceListChangedNotificationSchema as z };
|
|
5277
5259
|
|
|
5278
|
-
//# sourceMappingURL=types-
|
|
5260
|
+
//# sourceMappingURL=types-LcwjLVkt.mjs.map
|