@polka-codes/cli 0.9.64 → 0.9.65
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/index.js +6 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -35579,7 +35579,7 @@ var {
|
|
|
35579
35579
|
Help
|
|
35580
35580
|
} = import__.default;
|
|
35581
35581
|
// package.json
|
|
35582
|
-
var version = "0.9.
|
|
35582
|
+
var version = "0.9.65";
|
|
35583
35583
|
|
|
35584
35584
|
// src/commands/code.ts
|
|
35585
35585
|
import { readFile as readFile4 } from "node:fs/promises";
|
|
@@ -100548,10 +100548,12 @@ async function getDefaultContext() {
|
|
|
100548
100548
|
const [files, truncated] = await listFiles(cwd, true, 2000, cwd, config5?.excludeFiles ?? []);
|
|
100549
100549
|
const fileList = files.join(`
|
|
100550
100550
|
`);
|
|
100551
|
-
const contextParts = [
|
|
100552
|
-
|
|
100551
|
+
const contextParts = [
|
|
100552
|
+
`<file_list truncated="${truncated}">
|
|
100553
100553
|
${fileList}
|
|
100554
|
-
</file_list
|
|
100554
|
+
</file_list>`,
|
|
100555
|
+
`<now_date>${new Date().toISOString()}</now_date>`
|
|
100556
|
+
];
|
|
100555
100557
|
if (config5?.rules) {
|
|
100556
100558
|
contextParts.push(`<rules>
|
|
100557
100559
|
${config5.rules}
|