kimiflare 0.5.0 → 0.6.0
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 +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -25,7 +25,7 @@ function readCoauthorEnv() {
|
|
|
25
25
|
const enabled = process.env.KIMIFLARE_COAUTHOR;
|
|
26
26
|
if (enabled === "0" || enabled === "false") return void 0;
|
|
27
27
|
const name = process.env.KIMIFLARE_COAUTHOR_NAME || "kimiflare";
|
|
28
|
-
const email = process.env.KIMIFLARE_COAUTHOR_EMAIL || "sinameraji@
|
|
28
|
+
const email = process.env.KIMIFLARE_COAUTHOR_EMAIL || "sinameraji@gmail.com";
|
|
29
29
|
return { enabled: true, name, email };
|
|
30
30
|
}
|
|
31
31
|
async function loadConfig() {
|
|
@@ -466,7 +466,7 @@ How to work:
|
|
|
466
466
|
- You have a 262k-token context window. Read as much of a file as needed rather than guessing.
|
|
467
467
|
- If a request is ambiguous, ask one focused question instead of making large assumptions.
|
|
468
468
|
- When you finish a task, stop. Do not add a closing summary.
|
|
469
|
-
- When creating git commits, you may include \`Co-authored-by: kimiflare <sinameraji@
|
|
469
|
+
- When creating git commits, you may include \`Co-authored-by: kimiflare <sinameraji@gmail.com>\` in the commit message so kimiflare is credited as a contributor. The bash tool will also auto-append this trailer when it detects \`git commit\` commands.`;
|
|
470
470
|
const ctx = loadContextFile(opts2.cwd);
|
|
471
471
|
const contextBlock = ctx ? `
|
|
472
472
|
|
|
@@ -3148,7 +3148,7 @@ function App({ initialCfg }) {
|
|
|
3148
3148
|
cwd,
|
|
3149
3149
|
signal: controller.signal,
|
|
3150
3150
|
reasoningEffort: effortRef.current,
|
|
3151
|
-
coauthor: cfg.coauthor !== false ? { name: cfg.coauthorName || "kimiflare", email: cfg.coauthorEmail || "sinameraji@
|
|
3151
|
+
coauthor: cfg.coauthor !== false ? { name: cfg.coauthorName || "kimiflare", email: cfg.coauthorEmail || "sinameraji@gmail.com" } : void 0,
|
|
3152
3152
|
callbacks: {
|
|
3153
3153
|
onAssistantStart: () => {
|
|
3154
3154
|
const id = nextAssistantId++;
|
|
@@ -3499,7 +3499,7 @@ use: /thinking low | medium | high`
|
|
|
3499
3499
|
cwd: process.cwd(),
|
|
3500
3500
|
signal: controller.signal,
|
|
3501
3501
|
reasoningEffort: effortRef.current,
|
|
3502
|
-
coauthor: cfg.coauthor !== false ? { name: cfg.coauthorName || "kimiflare", email: cfg.coauthorEmail || "sinameraji@
|
|
3502
|
+
coauthor: cfg.coauthor !== false ? { name: cfg.coauthorName || "kimiflare", email: cfg.coauthorEmail || "sinameraji@gmail.com" } : void 0,
|
|
3503
3503
|
callbacks: {
|
|
3504
3504
|
onAssistantStart: () => {
|
|
3505
3505
|
const id = nextAssistantId++;
|
|
@@ -3867,7 +3867,7 @@ async function runPrintMode(opts2) {
|
|
|
3867
3867
|
executor,
|
|
3868
3868
|
cwd,
|
|
3869
3869
|
signal: controller.signal,
|
|
3870
|
-
coauthor: opts2.coauthor !== false ? { name: opts2.coauthorName || "kimiflare", email: opts2.coauthorEmail || "sinameraji@
|
|
3870
|
+
coauthor: opts2.coauthor !== false ? { name: opts2.coauthorName || "kimiflare", email: opts2.coauthorEmail || "sinameraji@gmail.com" } : void 0,
|
|
3871
3871
|
callbacks: {
|
|
3872
3872
|
onReasoningDelta: opts2.showReasoning ? (delta) => {
|
|
3873
3873
|
if (!printedReasoningHeader) {
|