@kody-ade/kody-engine 0.4.144 → 0.4.145
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 +4 -10
- package/package.json +1 -1
package/dist/bin/kody.js
CHANGED
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
5
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
6
|
-
}) : x)(function(x) {
|
|
7
|
-
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
8
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
9
|
-
});
|
|
10
4
|
var __esm = (fn, res) => function __init() {
|
|
11
5
|
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
12
6
|
};
|
|
@@ -1067,7 +1061,7 @@ var init_loadPriorArt = __esm({
|
|
|
1067
1061
|
// package.json
|
|
1068
1062
|
var package_default = {
|
|
1069
1063
|
name: "@kody-ade/kody-engine",
|
|
1070
|
-
version: "0.4.
|
|
1064
|
+
version: "0.4.145",
|
|
1071
1065
|
description: "kody \u2014 autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
|
|
1072
1066
|
license: "MIT",
|
|
1073
1067
|
type: "module",
|
|
@@ -2706,6 +2700,7 @@ async function emit2(sink, type, sessionId, suffix, payload) {
|
|
|
2706
2700
|
|
|
2707
2701
|
// src/kody-cli.ts
|
|
2708
2702
|
import { execFileSync as execFileSync29 } from "child_process";
|
|
2703
|
+
import { createHash } from "crypto";
|
|
2709
2704
|
import * as fs41 from "fs";
|
|
2710
2705
|
import * as path37 from "path";
|
|
2711
2706
|
|
|
@@ -13751,9 +13746,8 @@ function resolveAuthToken(env = process.env) {
|
|
|
13751
13746
|
if (token) {
|
|
13752
13747
|
const trimmed = token.trim();
|
|
13753
13748
|
const lenDiff = token.length - trimmed.length;
|
|
13754
|
-
const
|
|
13755
|
-
const
|
|
13756
|
-
const shaTrimmed = crypto2.createHash("sha256").update(trimmed).digest("hex");
|
|
13749
|
+
const sha = createHash("sha256").update(token).digest("hex");
|
|
13750
|
+
const shaTrimmed = createHash("sha256").update(trimmed).digest("hex");
|
|
13757
13751
|
process.stdout.write(
|
|
13758
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"})
|
|
13759
13753
|
`
|
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.145",
|
|
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",
|