@ascenda-one/claude-code-hooks 0.1.7 → 0.1.8
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/cli.js +164 -6
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -271,15 +271,15 @@ var require_payload = __commonJS({
|
|
|
271
271
|
"../packages/tool-kit/out/payload.js"(exports) {
|
|
272
272
|
"use strict";
|
|
273
273
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
274
|
-
exports.getString =
|
|
274
|
+
exports.getString = getString3;
|
|
275
275
|
exports.getNumber = getNumber2;
|
|
276
276
|
exports.getNested = getNested2;
|
|
277
|
-
exports.getNestedString =
|
|
277
|
+
exports.getNestedString = getNestedString3;
|
|
278
278
|
exports.getNestedNumber = getNestedNumber2;
|
|
279
279
|
exports.inferOutcome = inferOutcome2;
|
|
280
280
|
exports.outcomeForHook = outcomeForHook2;
|
|
281
281
|
exports.looksLikeCorrection = looksLikeCorrection2;
|
|
282
|
-
function
|
|
282
|
+
function getString3(input, keys) {
|
|
283
283
|
for (const key of keys) {
|
|
284
284
|
const value = input[key];
|
|
285
285
|
if (typeof value === "string" && value.trim())
|
|
@@ -304,7 +304,7 @@ var require_payload = __commonJS({
|
|
|
304
304
|
}
|
|
305
305
|
return current;
|
|
306
306
|
}
|
|
307
|
-
function
|
|
307
|
+
function getNestedString3(input, paths) {
|
|
308
308
|
for (const path of paths) {
|
|
309
309
|
const value = getNested2(input, path);
|
|
310
310
|
if (typeof value === "string" && value.trim())
|
|
@@ -324,7 +324,7 @@ var require_payload = __commonJS({
|
|
|
324
324
|
const exitCode = getNumber2(input, ["exitCode", "exit_code", "status"]) ?? getNestedNumber2(input, [["tool_response", "exitCode"], ["tool_response", "exit_code"], ["result", "exitCode"], ["result", "exit_code"]]);
|
|
325
325
|
if (typeof exitCode === "number")
|
|
326
326
|
return exitCode === 0 ? "success" : "failure";
|
|
327
|
-
const error =
|
|
327
|
+
const error = getString3(input, ["error", "errorMessage"]) ?? getNestedString3(input, [["tool_response", "error"], ["result", "error"]]);
|
|
328
328
|
if (error)
|
|
329
329
|
return "failure";
|
|
330
330
|
return "unknown";
|
|
@@ -799,12 +799,138 @@ var require_salt = __commonJS({
|
|
|
799
799
|
}
|
|
800
800
|
});
|
|
801
801
|
|
|
802
|
+
// ../packages/tool-kit/out/liveBus.js
|
|
803
|
+
var require_liveBus = __commonJS({
|
|
804
|
+
"../packages/tool-kit/out/liveBus.js"(exports) {
|
|
805
|
+
"use strict";
|
|
806
|
+
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
807
|
+
if (k2 === void 0) k2 = k;
|
|
808
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
809
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
810
|
+
desc = { enumerable: true, get: function() {
|
|
811
|
+
return m[k];
|
|
812
|
+
} };
|
|
813
|
+
}
|
|
814
|
+
Object.defineProperty(o, k2, desc);
|
|
815
|
+
} : function(o, m, k, k2) {
|
|
816
|
+
if (k2 === void 0) k2 = k;
|
|
817
|
+
o[k2] = m[k];
|
|
818
|
+
});
|
|
819
|
+
var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? function(o, v) {
|
|
820
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
821
|
+
} : function(o, v) {
|
|
822
|
+
o["default"] = v;
|
|
823
|
+
});
|
|
824
|
+
var __importStar = exports && exports.__importStar || /* @__PURE__ */ function() {
|
|
825
|
+
var ownKeys = function(o) {
|
|
826
|
+
ownKeys = Object.getOwnPropertyNames || function(o2) {
|
|
827
|
+
var ar = [];
|
|
828
|
+
for (var k in o2) if (Object.prototype.hasOwnProperty.call(o2, k)) ar[ar.length] = k;
|
|
829
|
+
return ar;
|
|
830
|
+
};
|
|
831
|
+
return ownKeys(o);
|
|
832
|
+
};
|
|
833
|
+
return function(mod) {
|
|
834
|
+
if (mod && mod.__esModule) return mod;
|
|
835
|
+
var result = {};
|
|
836
|
+
if (mod != null) {
|
|
837
|
+
for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
838
|
+
}
|
|
839
|
+
__setModuleDefault(result, mod);
|
|
840
|
+
return result;
|
|
841
|
+
};
|
|
842
|
+
}();
|
|
843
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
844
|
+
exports.liveBusSocketCandidates = liveBusSocketCandidates;
|
|
845
|
+
exports.liveBusSocketPath = liveBusSocketPath;
|
|
846
|
+
exports.bucketPromptSize = bucketPromptSize2;
|
|
847
|
+
exports.emitLiveSignal = emitLiveSignal2;
|
|
848
|
+
var fs = __importStar(__require("fs"));
|
|
849
|
+
var net = __importStar(__require("net"));
|
|
850
|
+
var os = __importStar(__require("os"));
|
|
851
|
+
var path = __importStar(__require("path"));
|
|
852
|
+
var WRITE_TIMEOUT_MS = 50;
|
|
853
|
+
var APP_BUNDLE_ID = "one.ascenda.ascendaMissionControl";
|
|
854
|
+
function liveBusSocketCandidates() {
|
|
855
|
+
const override = process.env.ASCENDA_LIVE_BUS_SOCKET;
|
|
856
|
+
if (override)
|
|
857
|
+
return [override];
|
|
858
|
+
const home = os.homedir();
|
|
859
|
+
return [
|
|
860
|
+
path.join(home, ".ascenda", "live.sock"),
|
|
861
|
+
path.join(home, "Library", "Containers", APP_BUNDLE_ID, "Data", ".ascenda", "live.sock")
|
|
862
|
+
];
|
|
863
|
+
}
|
|
864
|
+
function liveBusSocketPath() {
|
|
865
|
+
const candidates = liveBusSocketCandidates();
|
|
866
|
+
for (const candidate of candidates) {
|
|
867
|
+
try {
|
|
868
|
+
if (fs.statSync(candidate).isSocket())
|
|
869
|
+
return candidate;
|
|
870
|
+
} catch {
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
return candidates[0];
|
|
874
|
+
}
|
|
875
|
+
function bucketPromptSize2(text) {
|
|
876
|
+
const length = typeof text === "string" ? text.length : 0;
|
|
877
|
+
if (length <= 280)
|
|
878
|
+
return "s";
|
|
879
|
+
if (length <= 2e3)
|
|
880
|
+
return "m";
|
|
881
|
+
if (length <= 8e3)
|
|
882
|
+
return "l";
|
|
883
|
+
return "xl";
|
|
884
|
+
}
|
|
885
|
+
function emitLiveSignal2(signal) {
|
|
886
|
+
return new Promise((resolve) => {
|
|
887
|
+
let settled = false;
|
|
888
|
+
const done = () => {
|
|
889
|
+
if (settled)
|
|
890
|
+
return;
|
|
891
|
+
settled = true;
|
|
892
|
+
try {
|
|
893
|
+
socket.destroy();
|
|
894
|
+
} catch {
|
|
895
|
+
}
|
|
896
|
+
resolve();
|
|
897
|
+
};
|
|
898
|
+
let socket;
|
|
899
|
+
try {
|
|
900
|
+
socket = net.createConnection(liveBusSocketPath());
|
|
901
|
+
} catch {
|
|
902
|
+
resolve();
|
|
903
|
+
return;
|
|
904
|
+
}
|
|
905
|
+
const timer = setTimeout(done, WRITE_TIMEOUT_MS);
|
|
906
|
+
if (typeof timer.unref === "function")
|
|
907
|
+
timer.unref();
|
|
908
|
+
if (typeof socket.unref === "function")
|
|
909
|
+
socket.unref();
|
|
910
|
+
socket.on("error", done);
|
|
911
|
+
socket.on("connect", () => {
|
|
912
|
+
try {
|
|
913
|
+
socket.write(`${JSON.stringify(signal)}
|
|
914
|
+
`, () => {
|
|
915
|
+
clearTimeout(timer);
|
|
916
|
+
done();
|
|
917
|
+
});
|
|
918
|
+
} catch {
|
|
919
|
+
clearTimeout(timer);
|
|
920
|
+
done();
|
|
921
|
+
}
|
|
922
|
+
});
|
|
923
|
+
});
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
});
|
|
927
|
+
|
|
802
928
|
// ../packages/tool-kit/out/index.js
|
|
803
929
|
var require_out2 = __commonJS({
|
|
804
930
|
"../packages/tool-kit/out/index.js"(exports) {
|
|
805
931
|
"use strict";
|
|
806
932
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
807
|
-
exports.parseIngestResponse = exports.postToolEventsBatch = exports.postToolEvent = exports.renewToolToken = exports.getPairingStatus = exports.createPairingSession = exports.AscendaApiError = exports.hashWithMachineSalt = exports.readOrCreateMachineSalt = exports.machineSaltFilePath = exports.readTokenFile = exports.persistEventWriteToken = exports.defaultTokenFilePath = exports.AscendaSemanticEventError = exports.AscendaEventSender = exports.looksLikeCorrection = exports.outcomeForHook = exports.inferOutcome = exports.getNestedNumber = exports.getNestedString = exports.getNested = exports.getNumber = exports.getString = exports.isAfterHours = exports.bucketDurationMs = exports.bucketLinesChanged = exports.invitesDebrief = exports.classifyWorkMilestone = exports.isReworkGitAction = exports.classifyGitAction = exports.isVerificationCommand = exports.classifyCommand = void 0;
|
|
933
|
+
exports.parseIngestResponse = exports.postToolEventsBatch = exports.postToolEvent = exports.renewToolToken = exports.getPairingStatus = exports.createPairingSession = exports.AscendaApiError = exports.liveBusSocketCandidates = exports.liveBusSocketPath = exports.bucketPromptSize = exports.emitLiveSignal = exports.hashWithMachineSalt = exports.readOrCreateMachineSalt = exports.machineSaltFilePath = exports.readTokenFile = exports.persistEventWriteToken = exports.defaultTokenFilePath = exports.AscendaSemanticEventError = exports.AscendaEventSender = exports.looksLikeCorrection = exports.outcomeForHook = exports.inferOutcome = exports.getNestedNumber = exports.getNestedString = exports.getNested = exports.getNumber = exports.getString = exports.isAfterHours = exports.bucketDurationMs = exports.bucketLinesChanged = exports.invitesDebrief = exports.classifyWorkMilestone = exports.isReworkGitAction = exports.classifyGitAction = exports.isVerificationCommand = exports.classifyCommand = void 0;
|
|
808
934
|
var commandClassifier_1 = require_commandClassifier();
|
|
809
935
|
Object.defineProperty(exports, "classifyCommand", { enumerable: true, get: function() {
|
|
810
936
|
return commandClassifier_1.classifyCommand;
|
|
@@ -889,6 +1015,19 @@ var require_out2 = __commonJS({
|
|
|
889
1015
|
Object.defineProperty(exports, "hashWithMachineSalt", { enumerable: true, get: function() {
|
|
890
1016
|
return salt_1.hashWithMachineSalt;
|
|
891
1017
|
} });
|
|
1018
|
+
var liveBus_1 = require_liveBus();
|
|
1019
|
+
Object.defineProperty(exports, "emitLiveSignal", { enumerable: true, get: function() {
|
|
1020
|
+
return liveBus_1.emitLiveSignal;
|
|
1021
|
+
} });
|
|
1022
|
+
Object.defineProperty(exports, "bucketPromptSize", { enumerable: true, get: function() {
|
|
1023
|
+
return liveBus_1.bucketPromptSize;
|
|
1024
|
+
} });
|
|
1025
|
+
Object.defineProperty(exports, "liveBusSocketPath", { enumerable: true, get: function() {
|
|
1026
|
+
return liveBus_1.liveBusSocketPath;
|
|
1027
|
+
} });
|
|
1028
|
+
Object.defineProperty(exports, "liveBusSocketCandidates", { enumerable: true, get: function() {
|
|
1029
|
+
return liveBus_1.liveBusSocketCandidates;
|
|
1030
|
+
} });
|
|
892
1031
|
var http_1 = require_http();
|
|
893
1032
|
Object.defineProperty(exports, "AscendaApiError", { enumerable: true, get: function() {
|
|
894
1033
|
return http_1.AscendaApiError;
|
|
@@ -1231,6 +1370,7 @@ async function main() {
|
|
|
1231
1370
|
hookSpecificOutput: { hookEventName: "PostToolUse", additionalContext: MILESTONE_DEBRIEF_INVITE }
|
|
1232
1371
|
}));
|
|
1233
1372
|
}
|
|
1373
|
+
await emitLive(hookName, input);
|
|
1234
1374
|
const config = loadConfigFromEnv();
|
|
1235
1375
|
const client = new AscendaClient(config);
|
|
1236
1376
|
const mappedEvents = mapClaudeEvent(hookName, input);
|
|
@@ -1250,6 +1390,24 @@ async function main() {
|
|
|
1250
1390
|
}
|
|
1251
1391
|
}
|
|
1252
1392
|
}
|
|
1393
|
+
async function emitLive(hookName, input) {
|
|
1394
|
+
const event = hookName === "UserPromptSubmit" ? "prompt_submitted" : hookName === "PreToolUse" ? "tool_call" : hookName === "PreCompact" ? "compaction" : hookName === "PostToolUseFailure" ? "tool_failure" : hookName === "Stop" ? "stop" : void 0;
|
|
1395
|
+
if (!event) return;
|
|
1396
|
+
try {
|
|
1397
|
+
const prompt = event === "prompt_submitted" ? (0, import_tool_kit6.getString)(input, ["prompt", "userPrompt", "message"]) ?? (0, import_tool_kit6.getNestedString)(input, [["payload", "prompt"], ["payload", "message"]]) : void 0;
|
|
1398
|
+
await (0, import_tool_kit6.emitLiveSignal)({
|
|
1399
|
+
tool: process.env.ASCENDA_TOOL_TYPE ?? "claude_code",
|
|
1400
|
+
// Concurrent sessions must count as separate streams for the X gauge.
|
|
1401
|
+
// Without a session id every window collapses into one, so fall back to
|
|
1402
|
+
// this process's parent — still per-session in practice, since Claude
|
|
1403
|
+
// Code spawns hooks from the session process.
|
|
1404
|
+
session: (0, import_tool_kit6.getString)(input, ["session_id", "sessionId"]) ?? process.env.ASCENDA_SESSION_ID ?? `ppid-${process.ppid}`,
|
|
1405
|
+
event,
|
|
1406
|
+
...prompt !== void 0 ? { sizeBucket: (0, import_tool_kit6.bucketPromptSize)(prompt) } : {}
|
|
1407
|
+
});
|
|
1408
|
+
} catch {
|
|
1409
|
+
}
|
|
1410
|
+
}
|
|
1253
1411
|
async function readJsonFromStdin() {
|
|
1254
1412
|
const chunks = [];
|
|
1255
1413
|
for await (const chunk of process.stdin) {
|
package/dist/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,gBAAgB,EAChB,sBAAsB,EACvB,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,oBAAoB,EACpB,cAAc,EACd,gBAAgB,EAChB,SAAS,EACT,eAAe,EACf,sBAAsB,EACvB,MAAM,uBAAuB,CAAC;AAE/B,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