@kody-ade/kody-engine 0.4.145 → 0.4.146
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/kody.js +2 -11
- package/package.json +1 -1
package/dist/bin/kody.js
CHANGED
|
@@ -1061,7 +1061,7 @@ var init_loadPriorArt = __esm({
|
|
|
1061
1061
|
// package.json
|
|
1062
1062
|
var package_default = {
|
|
1063
1063
|
name: "@kody-ade/kody-engine",
|
|
1064
|
-
version: "0.4.
|
|
1064
|
+
version: "0.4.146",
|
|
1065
1065
|
description: "kody \u2014 autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
|
|
1066
1066
|
license: "MIT",
|
|
1067
1067
|
type: "module",
|
|
@@ -2700,7 +2700,6 @@ async function emit2(sink, type, sessionId, suffix, payload) {
|
|
|
2700
2700
|
|
|
2701
2701
|
// src/kody-cli.ts
|
|
2702
2702
|
import { execFileSync as execFileSync29 } from "child_process";
|
|
2703
|
-
import { createHash } from "crypto";
|
|
2704
2703
|
import * as fs41 from "fs";
|
|
2705
2704
|
import * as path37 from "path";
|
|
2706
2705
|
|
|
@@ -13744,15 +13743,7 @@ function resolveAuthToken(env = process.env) {
|
|
|
13744
13743
|
const token = picked?.[1];
|
|
13745
13744
|
if (token && !env.GH_TOKEN) env.GH_TOKEN = token;
|
|
13746
13745
|
if (token) {
|
|
13747
|
-
|
|
13748
|
-
const lenDiff = token.length - trimmed.length;
|
|
13749
|
-
const sha = createHash("sha256").update(token).digest("hex");
|
|
13750
|
-
const shaTrimmed = createHash("sha256").update(trimmed).digest("hex");
|
|
13751
|
-
process.stdout.write(
|
|
13752
|
-
`\u2192 kody: GH_TOKEN sourced from env.${picked[0]} (length=${token.length}, prefix=${token.slice(0, 4)}, trailingWhitespace=${lenDiff > 0 ? "YES " + lenDiff + " chars" : "no"})
|
|
13753
|
-
`
|
|
13754
|
-
);
|
|
13755
|
-
process.stdout.write(`\u2192 kody: token sha256=${sha.slice(0, 16)}\u2026${sha.slice(-8)} (trimmed sha=${shaTrimmed.slice(0, 16)}\u2026${shaTrimmed.slice(-8)})
|
|
13746
|
+
process.stdout.write(`\u2192 kody: GH_TOKEN sourced from env.${picked[0]}
|
|
13756
13747
|
`);
|
|
13757
13748
|
} else {
|
|
13758
13749
|
process.stdout.write("\u2192 kody: WARNING no auth token found (KODY_TOKEN/GH_TOKEN/GITHUB_TOKEN/GH_PAT all empty)\n");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kody-ade/kody-engine",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.146",
|
|
4
4
|
"description": "kody — autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|