tracehub 0.0.0-stage → 0.5.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/README.md +424 -2
- package/dist/cli/args.js +28 -0
- package/dist/cli/clipboard.js +46 -0
- package/dist/cli/commands/context.js +115 -0
- package/dist/cli/commands/hook.js +209 -0
- package/dist/cli/commands/providers.js +55 -0
- package/dist/cli/commands/setup.js +448 -0
- package/dist/cli/commands/uninstall.js +156 -0
- package/dist/cli/io.js +26 -0
- package/dist/cli/remote.js +81 -0
- package/dist/cli/repo.js +65 -0
- package/dist/cli/signin.js +90 -0
- package/dist/cli/ui.js +130 -0
- package/dist/cli/usage.js +151 -0
- package/dist/cli.js +38 -0
- package/dist/client/auth.js +70 -0
- package/dist/client/consent.js +94 -0
- package/dist/client/errors.js +4 -0
- package/dist/client/github.js +129 -0
- package/dist/client/registry.js +112 -0
- package/dist/client/tracehub.js +98 -0
- package/dist/client/upload.js +106 -0
- package/dist/client/uploadPolicy.js +60 -0
- package/dist/git/git.js +166 -0
- package/dist/git/global-hooks.js +221 -0
- package/dist/git/hooks.js +67 -0
- package/dist/git/markers.js +93 -0
- package/dist/git/trailers.js +36 -0
- package/dist/local/commitBoundary.js +38 -0
- package/dist/local/discover.js +283 -0
- package/dist/local/files.js +55 -0
- package/dist/local/lines.js +16 -0
- package/dist/local/opencode.js +124 -0
- package/dist/local/paths.js +51 -0
- package/dist/local/providers.js +171 -0
- package/dist/local/subagents.js +63 -0
- package/dist/protocol/context.js +202 -0
- package/dist/protocol/sessionRef.js +24 -0
- package/dist/protocol/trace.js +111 -0
- package/dist/redact/deny.js +25 -0
- package/dist/redact/redact.js +189 -0
- package/dist/trace/build.js +256 -0
- package/dist/transcript/parseClaude.js +105 -0
- package/dist/transcript/parseCodex.js +164 -0
- package/dist/transcript/parseOpencode.js +84 -0
- package/dist/transcript/title.js +27 -0
- package/dist/transcript/transcript.js +120 -0
- package/package.json +46 -4
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { editsOf, firstArg, parseJsonl, } from "./transcript.js";
|
|
2
|
+
const INJECTED = /^\s*<[a-z_]+[\s>]/;
|
|
3
|
+
const TEXT_BLOCKS = ["input_text", "output_text", "text"];
|
|
4
|
+
function textOf(content) {
|
|
5
|
+
if (typeof content === "string")
|
|
6
|
+
return content;
|
|
7
|
+
if (!Array.isArray(content))
|
|
8
|
+
return "";
|
|
9
|
+
return content
|
|
10
|
+
.map((block) => TEXT_BLOCKS.includes(block.type ?? "") ? (block.text ?? "") : "")
|
|
11
|
+
.filter(Boolean)
|
|
12
|
+
.join("\n");
|
|
13
|
+
}
|
|
14
|
+
// A sub-thread's session_meta carries the parent under parent_thread_id while
|
|
15
|
+
// session_id names the root thread, so "id" is the only per-rollout identity.
|
|
16
|
+
export function codexSessionMeta(firstLine) {
|
|
17
|
+
let line;
|
|
18
|
+
try {
|
|
19
|
+
line = JSON.parse(firstLine);
|
|
20
|
+
}
|
|
21
|
+
catch {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (line.type !== "session_meta")
|
|
25
|
+
return undefined;
|
|
26
|
+
const payload = line.payload ?? {};
|
|
27
|
+
const id = String(payload["id"] ?? payload["session_id"] ?? "");
|
|
28
|
+
if (!id)
|
|
29
|
+
return undefined;
|
|
30
|
+
const source = payload["source"];
|
|
31
|
+
const spawnedBy = typeof source === "object"
|
|
32
|
+
? source?.subagent?.thread_spawn?.parent_thread_id
|
|
33
|
+
: undefined;
|
|
34
|
+
const parentId = stringOf(payload["parent_thread_id"]) ?? stringOf(spawnedBy);
|
|
35
|
+
const nickname = stringOf(payload["agent_nickname"]);
|
|
36
|
+
return {
|
|
37
|
+
id,
|
|
38
|
+
cwd: String(payload["cwd"] ?? ""),
|
|
39
|
+
...(parentId ? { parentId } : {}),
|
|
40
|
+
...(nickname ? { nickname } : {}),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function stringOf(value) {
|
|
44
|
+
return typeof value === "string" && value ? value : undefined;
|
|
45
|
+
}
|
|
46
|
+
function readMessage(r, ts, payload) {
|
|
47
|
+
const text = textOf(payload["content"]).trim();
|
|
48
|
+
if (!text)
|
|
49
|
+
return;
|
|
50
|
+
const { events } = r.transcript;
|
|
51
|
+
if (payload["role"] === "user" && !INJECTED.test(text)) {
|
|
52
|
+
events.push({
|
|
53
|
+
kind: "user",
|
|
54
|
+
ts,
|
|
55
|
+
text,
|
|
56
|
+
...(r.active && r.hasPrompt ? { steering: true } : {}),
|
|
57
|
+
});
|
|
58
|
+
if (r.active)
|
|
59
|
+
r.hasPrompt = true;
|
|
60
|
+
}
|
|
61
|
+
if (payload["role"] === "assistant") {
|
|
62
|
+
const turnId = String(payload["id"] ?? r.turnId);
|
|
63
|
+
events.push({ kind: "assistant", ts, text, turnId });
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
// A function call has its arguments as JSON text; a custom tool call has
|
|
67
|
+
// its input as it is.
|
|
68
|
+
function toolInput(payload) {
|
|
69
|
+
if (payload["type"] !== "function_call")
|
|
70
|
+
return payload["input"];
|
|
71
|
+
const args = payload["arguments"];
|
|
72
|
+
if (typeof args !== "string")
|
|
73
|
+
return args;
|
|
74
|
+
try {
|
|
75
|
+
return JSON.parse(args);
|
|
76
|
+
}
|
|
77
|
+
catch {
|
|
78
|
+
return args;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
function readToolCall(r, ts, payload) {
|
|
82
|
+
const name = String(payload["name"] ?? "tool");
|
|
83
|
+
const input = toolInput(payload);
|
|
84
|
+
const edits = editsOf(name, input);
|
|
85
|
+
r.transcript.events.push({
|
|
86
|
+
kind: "tool_call",
|
|
87
|
+
ts,
|
|
88
|
+
name,
|
|
89
|
+
arg: firstArg(input),
|
|
90
|
+
callId: String(payload["call_id"] ?? payload["id"] ?? ""),
|
|
91
|
+
turnId: r.turnId,
|
|
92
|
+
...(edits.length ? { edits } : {}),
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
function readToolResult(r, ts, payload) {
|
|
96
|
+
r.transcript.events.push({
|
|
97
|
+
kind: "tool_result",
|
|
98
|
+
ts,
|
|
99
|
+
callId: String(payload["call_id"] ?? ""),
|
|
100
|
+
text: textOf(payload["output"]),
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
function readResponseItem(r, ts, payload) {
|
|
104
|
+
switch (payload["type"]) {
|
|
105
|
+
case "message":
|
|
106
|
+
return readMessage(r, ts, payload);
|
|
107
|
+
case "function_call":
|
|
108
|
+
case "custom_tool_call":
|
|
109
|
+
return readToolCall(r, ts, payload);
|
|
110
|
+
case "function_call_output":
|
|
111
|
+
case "custom_tool_call_output":
|
|
112
|
+
return readToolResult(r, ts, payload);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
function readLine(r, line) {
|
|
116
|
+
const ts = line.timestamp ?? "";
|
|
117
|
+
const payload = line.payload ?? {};
|
|
118
|
+
const t = r.transcript;
|
|
119
|
+
switch (line.type) {
|
|
120
|
+
case "session_meta":
|
|
121
|
+
t.cwd = String(payload["cwd"] ?? "");
|
|
122
|
+
return;
|
|
123
|
+
case "turn_context":
|
|
124
|
+
r.turnId = String(payload["turn_id"] ?? r.turnId);
|
|
125
|
+
if (typeof payload["model"] === "string" && !t.model) {
|
|
126
|
+
t.model = payload["model"];
|
|
127
|
+
}
|
|
128
|
+
return;
|
|
129
|
+
case "event_msg":
|
|
130
|
+
if (payload["type"] === "task_started") {
|
|
131
|
+
r.turnId = String(payload["turn_id"] ?? r.turnId);
|
|
132
|
+
r.active = true;
|
|
133
|
+
r.hasPrompt = false;
|
|
134
|
+
}
|
|
135
|
+
if (payload["type"] === "task_complete" ||
|
|
136
|
+
payload["type"] === "turn_aborted") {
|
|
137
|
+
r.active = false;
|
|
138
|
+
r.hasPrompt = false;
|
|
139
|
+
}
|
|
140
|
+
return;
|
|
141
|
+
case "response_item":
|
|
142
|
+
return readResponseItem(r, ts, payload);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
export function parseCodex(jsonl, id) {
|
|
146
|
+
const transcript = {
|
|
147
|
+
agent: "codex",
|
|
148
|
+
id,
|
|
149
|
+
cwd: "",
|
|
150
|
+
model: undefined,
|
|
151
|
+
events: [],
|
|
152
|
+
spawns: [],
|
|
153
|
+
agentLinks: {},
|
|
154
|
+
};
|
|
155
|
+
const reader = {
|
|
156
|
+
transcript,
|
|
157
|
+
turnId: "",
|
|
158
|
+
active: false,
|
|
159
|
+
hasPrompt: false,
|
|
160
|
+
};
|
|
161
|
+
for (const line of parseJsonl(jsonl))
|
|
162
|
+
readLine(reader, line);
|
|
163
|
+
return transcript;
|
|
164
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { editsOf, firstArg, parseJsonl, } from "./transcript.js";
|
|
2
|
+
function isoTime(ms) {
|
|
3
|
+
return ms === undefined ? undefined : new Date(ms).toISOString();
|
|
4
|
+
}
|
|
5
|
+
function readText(r, part) {
|
|
6
|
+
const text = part.text?.trim();
|
|
7
|
+
if (!text || part.synthetic || part.ignored)
|
|
8
|
+
return;
|
|
9
|
+
const { events } = r.transcript;
|
|
10
|
+
if (r.message.role === "user") {
|
|
11
|
+
events.push({ kind: "user", ts: r.ts, text });
|
|
12
|
+
}
|
|
13
|
+
else {
|
|
14
|
+
const turnId = r.message.id ?? "";
|
|
15
|
+
events.push({ kind: "assistant", ts: r.ts, text, turnId });
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
function readTool(r, part) {
|
|
19
|
+
const t = r.transcript;
|
|
20
|
+
const name = part.tool ?? "tool";
|
|
21
|
+
const callId = part.callID ?? "";
|
|
22
|
+
const state = part.state ?? {};
|
|
23
|
+
const edits = editsOf(name, state.input);
|
|
24
|
+
if (name === "task" && callId) {
|
|
25
|
+
const { prompt, description } = (state.input ?? {});
|
|
26
|
+
t.spawns.push({
|
|
27
|
+
callId,
|
|
28
|
+
prompt: prompt ?? "",
|
|
29
|
+
...(description ? { description } : {}),
|
|
30
|
+
});
|
|
31
|
+
const started = state.metadata?.sessionId;
|
|
32
|
+
if (started)
|
|
33
|
+
t.agentLinks[started] = callId;
|
|
34
|
+
}
|
|
35
|
+
t.events.push({
|
|
36
|
+
kind: "tool_call",
|
|
37
|
+
ts: isoTime(state.time?.start) ?? r.ts,
|
|
38
|
+
name,
|
|
39
|
+
arg: firstArg(state.input),
|
|
40
|
+
callId,
|
|
41
|
+
turnId: r.message.id ?? "",
|
|
42
|
+
...(edits.length ? { edits } : {}),
|
|
43
|
+
});
|
|
44
|
+
const text = state.output ?? state.error;
|
|
45
|
+
if (text === undefined)
|
|
46
|
+
return;
|
|
47
|
+
t.events.push({ kind: "tool_result", ts: r.ts, callId, text });
|
|
48
|
+
}
|
|
49
|
+
function readLine(r, line) {
|
|
50
|
+
const t = r.transcript;
|
|
51
|
+
const time = typeof line.time === "object" ? line.time : line.state?.time;
|
|
52
|
+
const created = typeof line.time === "number" ? line.time : undefined;
|
|
53
|
+
r.ts = isoTime(created ?? time?.end ?? time?.start) ?? r.ts;
|
|
54
|
+
switch (line.type) {
|
|
55
|
+
case "session":
|
|
56
|
+
t.cwd = line.cwd ?? "";
|
|
57
|
+
return;
|
|
58
|
+
case "message":
|
|
59
|
+
r.message = line;
|
|
60
|
+
if (line.modelID && !t.model)
|
|
61
|
+
t.model = line.modelID;
|
|
62
|
+
return;
|
|
63
|
+
case "text":
|
|
64
|
+
return readText(r, line);
|
|
65
|
+
case "tool":
|
|
66
|
+
return readTool(r, line);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
export function parseOpencode(jsonl, id) {
|
|
70
|
+
const transcript = {
|
|
71
|
+
agent: "opencode",
|
|
72
|
+
id,
|
|
73
|
+
cwd: "",
|
|
74
|
+
model: undefined,
|
|
75
|
+
events: [],
|
|
76
|
+
spawns: [],
|
|
77
|
+
agentLinks: {},
|
|
78
|
+
};
|
|
79
|
+
const reader = { transcript, message: {}, ts: "" };
|
|
80
|
+
for (const line of parseJsonl(jsonl)) {
|
|
81
|
+
readLine(reader, line);
|
|
82
|
+
}
|
|
83
|
+
return transcript;
|
|
84
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
function text(value) {
|
|
2
|
+
return typeof value === "string" && value.trim() ? value.trim() : undefined;
|
|
3
|
+
}
|
|
4
|
+
// The title of a session: the one its human gave it, else the one the agent
|
|
5
|
+
// made up. Claude Code writes both into the session, as lines of their own,
|
|
6
|
+
// and writes them again when they change.
|
|
7
|
+
export function sessionTitle(lines) {
|
|
8
|
+
let made;
|
|
9
|
+
let given;
|
|
10
|
+
for (const line of lines) {
|
|
11
|
+
if (!line.includes('-title"'))
|
|
12
|
+
continue;
|
|
13
|
+
let parsed;
|
|
14
|
+
try {
|
|
15
|
+
parsed = JSON.parse(line);
|
|
16
|
+
}
|
|
17
|
+
catch {
|
|
18
|
+
continue;
|
|
19
|
+
}
|
|
20
|
+
if (parsed.type === "ai-title")
|
|
21
|
+
made = text(parsed.aiTitle) ?? made;
|
|
22
|
+
if (parsed.type === "custom-title") {
|
|
23
|
+
given = text(parsed.customTitle) ?? given;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
return given ?? made;
|
|
27
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
// Slicing keeps only what the session looked like when a commit was made, so
|
|
2
|
+
// a commit's trace never changes after the fact.
|
|
3
|
+
export function sliceTranscript(t, cutoffMs) {
|
|
4
|
+
const events = t.events.filter((e) => {
|
|
5
|
+
const ts = Date.parse(e.ts);
|
|
6
|
+
return Number.isNaN(ts) || ts <= cutoffMs;
|
|
7
|
+
});
|
|
8
|
+
return { ...t, events };
|
|
9
|
+
}
|
|
10
|
+
// The lines that parse. A partially written trailing line is expected
|
|
11
|
+
// while a session is live.
|
|
12
|
+
export function* parseJsonl(text) {
|
|
13
|
+
for (const line of typeof text === "string" ? text.split("\n") : text) {
|
|
14
|
+
if (!line.trim())
|
|
15
|
+
continue;
|
|
16
|
+
try {
|
|
17
|
+
yield JSON.parse(line);
|
|
18
|
+
}
|
|
19
|
+
catch {
|
|
20
|
+
continue;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
const FILE_ARG_KEYS = ["file_path", "path", "notebook_path", "filePath"];
|
|
25
|
+
const FIRST_ARG_KEYS = [
|
|
26
|
+
"command",
|
|
27
|
+
"cmd",
|
|
28
|
+
"pattern",
|
|
29
|
+
"query",
|
|
30
|
+
"url",
|
|
31
|
+
"description",
|
|
32
|
+
"prompt",
|
|
33
|
+
"skill",
|
|
34
|
+
...FILE_ARG_KEYS,
|
|
35
|
+
];
|
|
36
|
+
function nonEmptyString(value) {
|
|
37
|
+
return typeof value === "string" && value !== "";
|
|
38
|
+
}
|
|
39
|
+
// The argument that says most about a tool call, as one line of text.
|
|
40
|
+
export function firstArg(input) {
|
|
41
|
+
if (typeof input === "string")
|
|
42
|
+
return input;
|
|
43
|
+
if (Array.isArray(input))
|
|
44
|
+
return input.map(String).join(" ");
|
|
45
|
+
if (!input || typeof input !== "object")
|
|
46
|
+
return "";
|
|
47
|
+
const args = input;
|
|
48
|
+
for (const key of FIRST_ARG_KEYS) {
|
|
49
|
+
const value = args[key];
|
|
50
|
+
if (nonEmptyString(value))
|
|
51
|
+
return value;
|
|
52
|
+
if (Array.isArray(value) && value.length) {
|
|
53
|
+
return value.map(String).join(" ");
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
return Object.values(args).find(nonEmptyString) ?? "";
|
|
57
|
+
}
|
|
58
|
+
const EDIT_TOOLS = /^(write|edit|multiedit|create_file|str_replace_editor|str_replace_based_edit_tool)$/i;
|
|
59
|
+
const lines = (text) => typeof text === "string" && text !== "" ? text.split("\n") : [];
|
|
60
|
+
function firstString(args, keys) {
|
|
61
|
+
return keys.map((key) => args[key]).find(nonEmptyString);
|
|
62
|
+
}
|
|
63
|
+
const PATCH_FILE = /^\*\*\* (?:Update|Add|Delete) File: (.+)$/;
|
|
64
|
+
const PATCH_MOVE = /^\*\*\* Move to: (.+)$/;
|
|
65
|
+
// The edits of an apply_patch input: per file, its "-" and "+" lines.
|
|
66
|
+
export function patchEdits(patch) {
|
|
67
|
+
const edits = [];
|
|
68
|
+
let edit;
|
|
69
|
+
for (const line of patch.split("\n")) {
|
|
70
|
+
const file = PATCH_FILE.exec(line) ?? PATCH_MOVE.exec(line);
|
|
71
|
+
if (file) {
|
|
72
|
+
if (PATCH_MOVE.test(line) && edit)
|
|
73
|
+
edit.path = file[1].trim();
|
|
74
|
+
else
|
|
75
|
+
edits.push((edit = { path: file[1].trim(), removed: [], added: [] }));
|
|
76
|
+
continue;
|
|
77
|
+
}
|
|
78
|
+
if (!edit || line.startsWith("***") || line.startsWith("@@"))
|
|
79
|
+
continue;
|
|
80
|
+
if (line.startsWith("+"))
|
|
81
|
+
edit.added.push(line.slice(1));
|
|
82
|
+
else if (line.startsWith("-"))
|
|
83
|
+
edit.removed.push(line.slice(1));
|
|
84
|
+
}
|
|
85
|
+
return edits;
|
|
86
|
+
}
|
|
87
|
+
// What an edit tool call writes: Claude Code's Write, Edit and MultiEdit,
|
|
88
|
+
// Codex's apply_patch, OpenCode's write, edit and patch.
|
|
89
|
+
export function editsOf(name, input) {
|
|
90
|
+
if (typeof input === "string")
|
|
91
|
+
return /apply_patch|patch/i.test(name) ? patchEdits(input) : [];
|
|
92
|
+
if (!input || typeof input !== "object")
|
|
93
|
+
return [];
|
|
94
|
+
const args = input;
|
|
95
|
+
const patch = firstString(args, ["patchText", "patch", "input"]);
|
|
96
|
+
if (patch && /^\*\*\* Begin Patch/m.test(patch))
|
|
97
|
+
return patchEdits(patch);
|
|
98
|
+
if (!EDIT_TOOLS.test(name))
|
|
99
|
+
return [];
|
|
100
|
+
const path = firstString(args, FILE_ARG_KEYS);
|
|
101
|
+
if (!path)
|
|
102
|
+
return [];
|
|
103
|
+
const pairs = Array.isArray(args["edits"])
|
|
104
|
+
? args["edits"]
|
|
105
|
+
: [args];
|
|
106
|
+
const edit = { path, removed: [], added: [] };
|
|
107
|
+
for (const pair of pairs) {
|
|
108
|
+
if (!pair || typeof pair !== "object")
|
|
109
|
+
continue;
|
|
110
|
+
edit.removed.push(...lines(firstString(pair, ["old_string", "oldString", "old_str"])));
|
|
111
|
+
edit.added.push(...lines(firstString(pair, [
|
|
112
|
+
"new_string",
|
|
113
|
+
"newString",
|
|
114
|
+
"new_str",
|
|
115
|
+
"content",
|
|
116
|
+
"file_text",
|
|
117
|
+
])));
|
|
118
|
+
}
|
|
119
|
+
return edit.added.length || edit.removed.length ? [edit] : [];
|
|
120
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,48 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tracehub",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.5.0",
|
|
4
|
+
"description": "Attach coding-agent sessions (Claude Code, Codex, OpenCode) to git commits and pull requests, redacted.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"engines": {
|
|
8
|
+
"node": ">=22.13"
|
|
9
|
+
},
|
|
10
|
+
"bin": {
|
|
11
|
+
"tracehub": "dist/cli.js"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist",
|
|
15
|
+
"README.md"
|
|
16
|
+
],
|
|
17
|
+
"scripts": {
|
|
18
|
+
"build": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && tsc && chmod +x dist/cli.js",
|
|
19
|
+
"typecheck": "tsc --noEmit -p tsconfig.test.json",
|
|
20
|
+
"format": "oxfmt --check",
|
|
21
|
+
"format:fix": "oxfmt",
|
|
22
|
+
"test": "tsc -p tsconfig.test.json && node --test --import ./dist-test/test/support/testEnv.js dist-test/test/*.test.js",
|
|
23
|
+
"prepack": "npm run build",
|
|
24
|
+
"docs:install": "pnpm --dir docs install",
|
|
25
|
+
"docs:dev": "pnpm --dir docs dev",
|
|
26
|
+
"docs:approve": "pnpm --dir docs run approve",
|
|
27
|
+
"specs:watch": "pnpm --dir docs run specs:watch"
|
|
28
|
+
},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@types/node": "^24.19.2",
|
|
31
|
+
"oxfmt": "^0.74.0",
|
|
32
|
+
"typescript": "^7.0.2"
|
|
33
|
+
},
|
|
34
|
+
"repository": {
|
|
35
|
+
"type": "git",
|
|
36
|
+
"url": "git+https://github.com/assistant-ui/tracehub.git"
|
|
37
|
+
},
|
|
38
|
+
"homepage": "https://github.com/assistant-ui/tracehub#readme",
|
|
39
|
+
"bugs": {
|
|
40
|
+
"url": "https://github.com/assistant-ui/tracehub/issues"
|
|
41
|
+
},
|
|
42
|
+
"publishConfig": {
|
|
43
|
+
"access": "public"
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"@clack/prompts": "^1.8.1"
|
|
47
|
+
}
|
|
48
|
+
}
|