kontexta 4.7.0 → 4.7.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/bundle/standalone/CHANGELOG.md +15 -0
- package/bundle/standalone/apps/web/.next/BUILD_ID +1 -1
- package/bundle/standalone/apps/web/.next/app-build-manifest.json +51 -51
- package/bundle/standalone/apps/web/.next/app-path-routes-manifest.json +12 -12
- package/bundle/standalone/apps/web/.next/build-manifest.json +2 -2
- package/bundle/standalone/apps/web/.next/prerender-manifest.json +13 -13
- package/bundle/standalone/apps/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/_not-found.html +1 -1
- package/bundle/standalone/apps/web/.next/server/app/_not-found.rsc +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/about/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/auth/login/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/auth/logout/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/auth/setup/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/auth/status/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/auth/token/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/calendar/conflicts/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/calendar/entities/[id]/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/calendar/entities/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/calendar/events/[id]/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/calendar/events/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/calendar/ics/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/calendar/links/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/calendar/settings/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/clip/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/docker-config/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/export/zip/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/backlinks/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/download/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/export-html/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/export-pdf/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/history/restore/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/history/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/move/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/files/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/files/upload/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/folders/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/git/remote/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/git/sync-all/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/hands/test-pattern/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/hands/validate/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/health/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/install-snippets/route.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/install-snippets/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/mcp-tools/route.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/mcp-tools/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/profile/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/hands-config/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/journal-config/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/journal-status/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/onboard/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/refresh/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/sync/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/projects/onboard/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/projects/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/publish/html/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/publish/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/refresh/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/reindex/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/reports/resources/[name]/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/search/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/tags/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/version-check/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/welcome/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/ws-config/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/calendar/page_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/page.js +2 -2
- package/bundle/standalone/apps/web/.next/server/app/page_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/preview/motifs/page_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/preview/motifs.html +2 -2
- package/bundle/standalone/apps/web/.next/server/app/preview/motifs.rsc +1 -1
- package/bundle/standalone/apps/web/.next/server/app-paths-manifest.json +12 -12
- package/bundle/standalone/apps/web/.next/server/pages/404.html +1 -1
- package/bundle/standalone/apps/web/.next/server/pages/500.html +1 -1
- package/bundle/standalone/apps/web/.next/server/server-reference-manifest.json +1 -1
- package/bundle/standalone/apps/web/.next/static/chunks/app/{page-67aff4652e571aa1.js → page-eccc7438c998fcce.js} +1 -1
- package/bundle/standalone/apps/web/package.json +4 -4
- package/bundle/standalone/apps/web/src/lib/mcp-tools.json +33 -32
- package/bundle/standalone/node_modules/kontexta-mcp/dist/calendar-tools.js +7 -7
- package/bundle/standalone/node_modules/kontexta-mcp/dist/calendar-tools.js.map +1 -1
- package/bundle/standalone/node_modules/kontexta-mcp/dist/index.js +26 -26
- package/bundle/standalone/node_modules/kontexta-mcp/dist/index.js.map +1 -1
- package/bundle/standalone/node_modules/kontexta-mcp/package.json +1 -1
- package/bundle/standalone/node_modules/kxta-core/dist/agent-rules/index.js +3 -3
- package/bundle/standalone/node_modules/kxta-core/dist/agent-rules/index.js.map +1 -1
- package/bundle/standalone/node_modules/kxta-core/dist/journal/patterns/exploration.d.ts.map +1 -1
- package/bundle/standalone/node_modules/kxta-core/dist/journal/patterns/exploration.js +8 -1
- package/bundle/standalone/node_modules/kxta-core/dist/journal/patterns/exploration.js.map +1 -1
- package/bundle/standalone/node_modules/kxta-core/dist/journal/patterns/read-only-investigation.d.ts.map +1 -1
- package/bundle/standalone/node_modules/kxta-core/dist/journal/patterns/read-only-investigation.js +6 -0
- package/bundle/standalone/node_modules/kxta-core/dist/journal/patterns/read-only-investigation.js.map +1 -1
- package/bundle/standalone/node_modules/kxta-core/dist/journal/patterns/refactor.js +2 -2
- package/bundle/standalone/node_modules/kxta-core/dist/journal/patterns/refactor.js.map +1 -1
- package/bundle/standalone/node_modules/kxta-core/dist/journal/patterns/tagging-pass.d.ts.map +1 -1
- package/bundle/standalone/node_modules/kxta-core/dist/journal/patterns/tagging-pass.js +8 -2
- package/bundle/standalone/node_modules/kxta-core/dist/journal/patterns/tagging-pass.js.map +1 -1
- package/bundle/standalone/node_modules/kxta-core/dist/journal/strict-mode.d.ts.map +1 -1
- package/bundle/standalone/node_modules/kxta-core/dist/journal/strict-mode.js +10 -2
- package/bundle/standalone/node_modules/kxta-core/dist/journal/strict-mode.js.map +1 -1
- package/bundle/standalone/node_modules/kxta-core/dist/project-map/index.js +1 -1
- package/bundle/standalone/node_modules/kxta-core/package.json +1 -1
- package/bundle/standalone/node_modules/kxta-publish/package.json +2 -2
- package/bundle/standalone/package.json +1 -1
- package/package.json +1 -1
- /package/bundle/standalone/apps/web/.next/static/{Na5FCljVLhoIUnyjNShuM → DWDlM7S8dTnMlrhKW9K_X}/_buildManifest.js +0 -0
- /package/bundle/standalone/apps/web/.next/static/{Na5FCljVLhoIUnyjNShuM → DWDlM7S8dTnMlrhKW9K_X}/_ssgManifest.js +0 -0
|
@@ -16,8 +16,8 @@ function commonDirectoryPrefix(paths) {
|
|
|
16
16
|
export const refactorDetector = {
|
|
17
17
|
name: "refactor",
|
|
18
18
|
detect(events) {
|
|
19
|
-
const moves = events.filter((e) => e.event === "tool_call" && e.tool === "move_file");
|
|
20
|
-
const updates = events.filter((e) => e.event === "tool_call" && (e.tool ?? "").startsWith("update_"));
|
|
19
|
+
const moves = events.filter((e) => e.event === "tool_call" && (e.tool === "move_file" || e.tool === "files.move"));
|
|
20
|
+
const updates = events.filter((e) => e.event === "tool_call" && ((e.tool ?? "").startsWith("update_") || (e.tool ?? "").startsWith("files.update")));
|
|
21
21
|
const refactorCommits = events.filter((e) => e.event === "git_commit" && REFACTOR_COMMIT_RE.test(e.msg ?? ""));
|
|
22
22
|
if (moves.length < 2 && refactorCommits.length === 0)
|
|
23
23
|
return null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"refactor.js","sourceRoot":"","sources":["../../../src/journal/patterns/refactor.ts"],"names":[],"mappings":"AAEA,MAAM,kBAAkB,GAAG,kBAAkB,CAAC;AAE9C,SAAS,qBAAqB,CAAC,KAAe;IAC5C,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAClC,MAAM,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACjC,IAAI,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;IACpB,KAAK,MAAM,CAAC,IAAI,KAAK,EAAE,CAAC;QACtB,MAAM,EAAE,GAAG,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACxB,IAAI,CAAC,GAAG,CAAC,CAAC;QACV,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC;YAAE,CAAC,EAAE,CAAC;QACxD,CAAC,GAAG,CAAC,CAAC;IACR,CAAC;IACD,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACpC,CAAC;AAED,MAAM,CAAC,MAAM,gBAAgB,GAAoB;IAC/C,IAAI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M,GAAG,CAAC;oBACxB,CAAC,CAAC,GAAG,eAAe,CAAC,MAAM,4BAA4B;oBACvD,CAAC,CAAC,oCAAoC;aACzC;YACD,IAAI,EAAE,CAAC,UAAU,EAAE,eAAe,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,aAAa,CAAC;SAC7E,CAAC;IACJ,CAAC;CACF,CAAC"}
|
package/bundle/standalone/node_modules/kxta-core/dist/journal/patterns/tagging-pass.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tagging-pass.d.ts","sourceRoot":"","sources":["../../../src/journal/patterns/tagging-pass.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"tagging-pass.d.ts","sourceRoot":"","sources":["../../../src/journal/patterns/tagging-pass.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAOlD,eAAO,MAAM,mBAAmB,EAAE,eAsBjC,CAAC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
const TAG_TOOLS = new Set([
|
|
1
|
+
const TAG_TOOLS = new Set([
|
|
2
|
+
"add_tags", "remove_tags", "tag_search_results",
|
|
3
|
+
"tags.add", "tags.remove", "tags.search"
|
|
4
|
+
]);
|
|
2
5
|
export const taggingPassDetector = {
|
|
3
6
|
name: "tagging-pass",
|
|
4
7
|
detect(events) {
|
|
@@ -8,7 +11,10 @@ export const taggingPassDetector = {
|
|
|
8
11
|
const tagCalls = calls.filter((e) => TAG_TOOLS.has(e.tool ?? ""));
|
|
9
12
|
if (tagCalls.length < 3)
|
|
10
13
|
return null;
|
|
11
|
-
const writeCalls = calls.filter((e) => (e.tool ?? "").startsWith("update_") ||
|
|
14
|
+
const writeCalls = calls.filter((e) => (e.tool ?? "").startsWith("update_") ||
|
|
15
|
+
(e.tool ?? "").startsWith("create_") ||
|
|
16
|
+
(e.tool ?? "").startsWith("files.update") ||
|
|
17
|
+
(e.tool ?? "").startsWith("files.create"));
|
|
12
18
|
if (writeCalls.length > tagCalls.length)
|
|
13
19
|
return null;
|
|
14
20
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tagging-pass.js","sourceRoot":"","sources":["../../../src/journal/patterns/tagging-pass.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"tagging-pass.js","sourceRoot":"","sources":["../../../src/journal/patterns/tagging-pass.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC;IACxB,UAAU,EAAE,aAAa,EAAE,oBAAoB;IAC/C,UAAU,EAAE,aAAa,EAAE,aAAa;CACzC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,mBAAmB,GAAoB;IAClD,IAAI,EAAE,cAAc;IACpB,MAAM,CAAC,MAAM;QACX,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,KAAK,WAAW,CAAC,CAAC;QAC5D,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;YAAE,OAAO,IAAI,CAAC;QACpC,MAAM,QAAQ,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,CAAC;QAClE,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC;YAAE,OAAO,IAAI,CAAC;QACrC,MAAM,UAAU,GAAG,KAAK,CAAC,MAAM,CAC7B,CAAC,CAAC,EAAE,EAAE,CACJ,CAAC,CAAC,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,UAAU,CAAC,SAAS,CAAC;YACpC,CAAC,CAAC,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,UAAU,CAAC,SAAS,CAAC;YACpC,CAAC,CAAC,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,UAAU,CAAC,cAAc,CAAC;YACzC,CAAC,CAAC,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,UAAU,CAAC,cAAc,CAAC,CAC5C,CAAC;QACF,IAAI,UAAU,CAAC,MAAM,GAAG,QAAQ,CAAC,MAAM;YAAE,OAAO,IAAI,CAAC;QACrD,OAAO;YACL,IAAI,EAAE,cAAc;YACpB,OAAO,EAAE,iBAAiB,QAAQ,CAAC,MAAM,mBAAmB;YAC5D,OAAO,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,sBAAsB,EAAE,GAAG,UAAU,CAAC,MAAM,iBAAiB,CAAC;YAC1F,IAAI,EAAE,CAAC,cAAc,EAAE,UAAU,CAAC;SACnC,CAAC;IACJ,CAAC;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"strict-mode.d.ts","sourceRoot":"","sources":["../../src/journal/strict-mode.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"strict-mode.d.ts","sourceRoot":"","sources":["../../src/journal/strict-mode.ts"],"names":[],"mappings":"AAkBA,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAExD;AAED,wBAAgB,WAAW,CACzB,IAAI,EAAE,SAAS,GAAG,QAAQ,GAAG,iBAAiB,EAC9C,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE;IAAE,cAAc,EAAE,MAAM,CAAA;CAAE,EAClC,MAAM,EAAE,OAAO,GACd,OAAO,CAKT;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE;IAC1C,cAAc,EAAE,MAAM,CAAC;IACvB,wBAAwB,EAAE,MAAM,GAAG,IAAI,CAAC;CACzC,GAAG,MAAM,CAWT"}
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
// packages/core/src/journal/strict-mode.ts
|
|
2
2
|
const READ_ONLY_TOOLS = new Set([
|
|
3
|
+
// dot-notation
|
|
4
|
+
"files.search", "files.regex_search", "files.grep", "files.bundle_search",
|
|
5
|
+
"files.read", "files.read_many", "files.read_section", "files.read_outline", "files.read_lines",
|
|
6
|
+
"files.read_by_path", "files.describe",
|
|
7
|
+
"files.list", "folders.list", "projects.list", "tags.list", "hands.list",
|
|
8
|
+
"admin.stats", "admin.whats_new", "files.find_related", "projects.map", "tags.suggest",
|
|
9
|
+
"files.get_history", "files.get_diff", "calendar.entities.list", "calendar.events.list", "calendar.events.conflicts",
|
|
10
|
+
// legacy snake_case
|
|
3
11
|
"search", "regex_search", "grep_in_file", "bundle_search",
|
|
4
12
|
"read_file", "read_files", "read_section", "read_file_outline", "read_file_lines",
|
|
5
13
|
"read_file_by_path", "describe_file",
|
|
@@ -25,8 +33,8 @@ export function backlogErrorPayload(status) {
|
|
|
25
33
|
code: "JOURNAL_BACKLOG",
|
|
26
34
|
message: `${status.backlog_events} events pending distillation${status.backlog_oldest_age_hours
|
|
27
35
|
? ` (oldest: ${status.backlog_oldest_age_hours.toFixed(1)}h ago)`
|
|
28
|
-
: ""}. Call
|
|
29
|
-
next_action: "
|
|
36
|
+
: ""}. Call journal.distill before search/read, or pass journal_bypass: true to override.`,
|
|
37
|
+
next_action: "journal.distill",
|
|
30
38
|
};
|
|
31
39
|
}
|
|
32
40
|
//# sourceMappingURL=strict-mode.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"strict-mode.js","sourceRoot":"","sources":["../../src/journal/strict-mode.ts"],"names":[],"mappings":"AAAA,2CAA2C;AAC3C,MAAM,eAAe,GAAG,IAAI,GAAG,CAAC;IAC9B,QAAQ,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe;IACzD,WAAW,EAAE,YAAY,EAAE,cAAc,EAAE,mBAAmB,EAAE,iBAAiB;IACjF,mBAAmB,EAAE,eAAe;IACpC,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,WAAW,EAAE,YAAY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140
|
}
|
|
141
141
|
const truncated = out.length >= maxLines && (totalFiles < files.length);
|
|
142
142
|
if (truncated) {
|
|
143
|
-
out.push(`... (truncated at ${maxLines} lines; use
|
|
143
|
+
out.push(`... (truncated at ${maxLines} lines; use files.list for full enumeration)`);
|
|
144
144
|
}
|
|
145
145
|
const outline = out.join("\n");
|
|
146
146
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kxta-publish",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.1",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"html-to-pdfmake": "^2.5.33",
|
|
21
21
|
"js-yaml": "^4.1.0",
|
|
22
22
|
"jsdom": "^29.1.1",
|
|
23
|
-
"kxta-core": "4.7.
|
|
23
|
+
"kxta-core": "4.7.1",
|
|
24
24
|
"markdown-it": "^14.1.0",
|
|
25
25
|
"pdfmake": "^0.3.11",
|
|
26
26
|
"puppeteer-core": "^25.10.0"
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|