@eliya-oss/agent-diff 0.1.0-alpha.211 → 0.1.0-alpha.213
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/CHANGELOG.md +52 -0
- package/dist/main.js +1123 -695
- package/dist/web/nitro.json +1 -1
- package/dist/web/public/assets/{_deck-DC3R9ZRW.js → _deck-BDC_r92m.js} +1 -1
- package/dist/web/public/assets/{_point-DGd-d-fN.js → _point-I_vt1otH.js} +1 -1
- package/dist/web/public/assets/index-CUagVLhR.css +2 -0
- package/dist/web/public/assets/{index-CNzMZ6k6.js → index-X7OFY5bM.js} +2 -2
- package/dist/web/public/assets/{review-CHVb5xmC.js → review-DE0jDEPH.js} +1 -1
- package/dist/web/public/assets/{review-block-DYenwozF.js → review-block-CbmQ0t4L.js} +12 -12
- package/dist/web/public/assets/{routes-5aZJQX_G.js → routes-CYn3-ePX.js} +1 -1
- package/dist/web/public/assets/{viewed-store-Eo50afbB.js → viewed-store-CuareBUI.js} +1 -1
- package/dist/web/server/{_deck-B4JFpoe9.mjs → _deck-x23t7F7l.mjs} +3 -3
- package/dist/web/server/{_point-NTPxvKqQ.mjs → _point-CaM245BE.mjs} +4 -4
- package/dist/web/server/_ssr/{adhoc.functions-B39jjvi1.mjs → adhoc.functions-CDadmCcu.mjs} +3 -3
- package/dist/web/server/_ssr/{createServerRpc-DYHyF6mI.mjs → createServerRpc-Xq42ilNx.mjs} +1 -1
- package/dist/web/server/_ssr/{decks.functions-0wQ-UZLQ.mjs → decks.functions-BHxu668D.mjs} +5 -5
- package/dist/web/server/_ssr/{empty-plugin-adapters-C_GlPYKD.mjs → empty-plugin-adapters-B3CY_z0V.mjs} +1 -1
- package/dist/web/server/_ssr/{listener.functions-Bsap7m-C.mjs → listener.functions-DygHonX4.mjs} +5 -5
- package/dist/web/server/_ssr/{listener.server-DtMUmNCb.mjs → listener.server-BUJSjrgf.mjs} +14 -3
- package/dist/web/server/_ssr/{live-schema-rwIqSfXd.mjs → live-schema-BYm_IvNp.mjs} +4 -3
- package/dist/web/server/_ssr/{pull.functions-6Ywbtb50.mjs → pull.functions-Dyi9ubGh.mjs} +2 -2
- package/dist/web/server/_ssr/{review-block-Ceno7nop.mjs → review-block-C-oUK43P.mjs} +1509 -1021
- package/dist/web/server/_ssr/{review-CVYUVoDD.mjs → review-e0zRsKyC.mjs} +3 -3
- package/dist/web/server/_ssr/{review-parts.server-DW9heP1l.mjs → review-parts.server-j_3LS0HZ.mjs} +2 -2
- package/dist/web/server/_ssr/{review-target.server-BTCBlGFL.mjs → review-target.server-DA41RDao.mjs} +77 -10
- package/dist/web/server/_ssr/{review.functions-Z_X3Jo2Z.mjs → review.functions-Cvig5BYP.mjs} +5 -5
- package/dist/web/server/_ssr/{router-jY5mnS6O.mjs → router-DH6_gEUb.mjs} +91 -39
- package/dist/web/server/_ssr/{routes-tQi6ASvp.mjs → routes-BP_s9iFs.mjs} +2 -2
- package/dist/web/server/_ssr/shortcuts-B7llaLLc.mjs +1 -1
- package/dist/web/server/_ssr/ssr.mjs +40 -36
- package/dist/web/server/_ssr/{type-hover.functions-Cf2CfVvS.mjs → type-hover.functions-B_9iC3Xs.mjs} +3 -3
- package/dist/web/server/_ssr/{viewed-store-9-at5rDS.mjs → viewed-store-RX0hDmiV.mjs} +2 -2
- package/dist/web/server/{_tanstack-start-manifest_v-CVU4En5c.mjs → _tanstack-start-manifest_v-D8_4kgre.mjs} +8 -8
- package/dist/web/server/index.mjs +50 -50
- package/package.json +1 -1
- package/skills/adiff/SKILL.md +46 -3
- package/skills/adiff-web/SKILL.md +2 -1
- package/dist/web/public/assets/index-Cog4a4vB.css +0 -2
|
@@ -593,7 +593,11 @@ function requestHandler(handler) {
|
|
|
593
593
|
});
|
|
594
594
|
throw error;
|
|
595
595
|
}
|
|
596
|
-
|
|
596
|
+
const handled = eventStorage.run({ h3Event }, () => handler(request, requestOpts));
|
|
597
|
+
return toResponse(attachResponseHeaders(isPromiseLike(handled) ? Promise.resolve(handled).catch((error) => {
|
|
598
|
+
if (request.signal?.aborted) return new Response(null, { status: 499 });
|
|
599
|
+
throw error;
|
|
600
|
+
}) : handled, h3Event), h3Event);
|
|
597
601
|
};
|
|
598
602
|
}
|
|
599
603
|
function getH3Event() {
|
|
@@ -4241,7 +4245,7 @@ var RawStream = class {
|
|
|
4241
4245
|
* the dev styles URL for route-scoped CSS collection.
|
|
4242
4246
|
*/
|
|
4243
4247
|
async function getStartManifest(matchedRoutes) {
|
|
4244
|
-
const { tsrStartManifest } = await import("../_tanstack-start-manifest_v-
|
|
4248
|
+
const { tsrStartManifest } = await import("../_tanstack-start-manifest_v-D8_4kgre.mjs");
|
|
4245
4249
|
const startManifest = tsrStartManifest();
|
|
4246
4250
|
let routes = startManifest.routes;
|
|
4247
4251
|
routes[rootRouteId];
|
|
@@ -4263,131 +4267,131 @@ async function getStartManifest(matchedRoutes) {
|
|
|
4263
4267
|
var manifest = {
|
|
4264
4268
|
"04a8cdbab815bdbc75b709ed8e7209cd2a11368d18c21d283dd6679a0e6f32fa": {
|
|
4265
4269
|
functionName: "loadReviewFile_createServerFn_handler",
|
|
4266
|
-
importer: () => import("./decks.functions-
|
|
4270
|
+
importer: () => import("./decks.functions-BHxu668D.mjs")
|
|
4267
4271
|
},
|
|
4268
4272
|
"0606210e0df9e9467c6143a764ada1aaa034b2a0ed02cb9b03d64eed35e9c04a": {
|
|
4269
4273
|
functionName: "loadListener_createServerFn_handler",
|
|
4270
|
-
importer: () => import("./listener.functions-
|
|
4274
|
+
importer: () => import("./listener.functions-DygHonX4.mjs")
|
|
4271
4275
|
},
|
|
4272
4276
|
"0883f654ee97f193b16da01fd0bc3688daa5e3a37bb245da03045b353099be05": {
|
|
4273
4277
|
functionName: "stopHeadless_createServerFn_handler",
|
|
4274
|
-
importer: () => import("./listener.functions-
|
|
4278
|
+
importer: () => import("./listener.functions-DygHonX4.mjs")
|
|
4275
4279
|
},
|
|
4276
4280
|
"0b1d934c91a9ba15b1389fac54d09b288fa0a07c198dc3c7aaf5ba3358626072": {
|
|
4277
4281
|
functionName: "markReviewFile_createServerFn_handler",
|
|
4278
|
-
importer: () => import("./decks.functions-
|
|
4282
|
+
importer: () => import("./decks.functions-BHxu668D.mjs")
|
|
4279
4283
|
},
|
|
4280
4284
|
"0f042f20f6465d3f1aef6d39f8a9bbc6d7a67f0c0095129fb5a12320572da6c5": {
|
|
4281
4285
|
functionName: "actOnReview_createServerFn_handler",
|
|
4282
|
-
importer: () => import("./review.functions-
|
|
4286
|
+
importer: () => import("./review.functions-Cvig5BYP.mjs")
|
|
4283
4287
|
},
|
|
4284
4288
|
"1c122a1878638fa6877d8737799f71372951cf995210ada6f735b17d8dcdc6ec": {
|
|
4285
4289
|
functionName: "setReviewBase_createServerFn_handler",
|
|
4286
|
-
importer: () => import("./review.functions-
|
|
4290
|
+
importer: () => import("./review.functions-Cvig5BYP.mjs")
|
|
4287
4291
|
},
|
|
4288
4292
|
"4ced24c8b3987d8dc56edb1dc284f78c81937737b2253db0256f0233e3bb52eb": {
|
|
4289
4293
|
functionName: "resolveAdhocLink_createServerFn_handler",
|
|
4290
|
-
importer: () => import("./adhoc.functions-
|
|
4294
|
+
importer: () => import("./adhoc.functions-CDadmCcu.mjs")
|
|
4291
4295
|
},
|
|
4292
4296
|
"5177db8019b8767433d4924d1f9e99af8879745c0d47eb52e92c44bfb1677349": {
|
|
4293
4297
|
functionName: "loadReviewOutline_createServerFn_handler",
|
|
4294
|
-
importer: () => import("./decks.functions-
|
|
4298
|
+
importer: () => import("./decks.functions-BHxu668D.mjs")
|
|
4295
4299
|
},
|
|
4296
4300
|
"6a9ca79538ce5d202ace39e8c25e391330ddb0ab0f53672581272d14629581e9": {
|
|
4297
4301
|
functionName: "postComment_createServerFn_handler",
|
|
4298
|
-
importer: () => import("./decks.functions-
|
|
4302
|
+
importer: () => import("./decks.functions-BHxu668D.mjs")
|
|
4299
4303
|
},
|
|
4300
4304
|
"6d9ad149a44e29ec90458d6687ea2c92d98859cbcc44d7521127c2c4cfaedc67": {
|
|
4301
4305
|
functionName: "loadThreadCode_createServerFn_handler",
|
|
4302
|
-
importer: () => import("./review.functions-
|
|
4306
|
+
importer: () => import("./review.functions-Cvig5BYP.mjs")
|
|
4303
4307
|
},
|
|
4304
4308
|
"6de78b496728eb9f77f7ac016ebb41972ac7048c46e7028b96a2e68c440e3888": {
|
|
4305
4309
|
functionName: "resolveComment_createServerFn_handler",
|
|
4306
|
-
importer: () => import("./decks.functions-
|
|
4310
|
+
importer: () => import("./decks.functions-BHxu668D.mjs")
|
|
4307
4311
|
},
|
|
4308
4312
|
"6eecb07d4b182f665117c88dc895f7eb8dc3a4bb4bc7444c3c7f5e39e45f1395": {
|
|
4309
4313
|
functionName: "loadReviewParts_createServerFn_handler",
|
|
4310
|
-
importer: () => import("./review.functions-
|
|
4314
|
+
importer: () => import("./review.functions-Cvig5BYP.mjs")
|
|
4311
4315
|
},
|
|
4312
4316
|
"706f3fc4ef5a13d24ef9f91b9bbd2f83df0422ecf22fdde6152d7f137e07eabf": {
|
|
4313
4317
|
functionName: "loadPullStates_createServerFn_handler",
|
|
4314
|
-
importer: () => import("./pull.functions-
|
|
4318
|
+
importer: () => import("./pull.functions-Dyi9ubGh.mjs")
|
|
4315
4319
|
},
|
|
4316
4320
|
"707dc969fadf7879083bf20e88fa420b4071ce187e7ffb6fbecc6d9b2816b305": {
|
|
4317
4321
|
functionName: "saveAnswer_createServerFn_handler",
|
|
4318
|
-
importer: () => import("./decks.functions-
|
|
4322
|
+
importer: () => import("./decks.functions-BHxu668D.mjs")
|
|
4319
4323
|
},
|
|
4320
4324
|
"7f9d517762153c343af947866b07003a973f0fba042505d9ca002fd7d3230bf9": {
|
|
4321
4325
|
functionName: "getPointVersion_createServerFn_handler",
|
|
4322
|
-
importer: () => import("./decks.functions-
|
|
4326
|
+
importer: () => import("./decks.functions-BHxu668D.mjs")
|
|
4323
4327
|
},
|
|
4324
4328
|
"81aea6d919e4c199dc875a22e9a9e4ad10e816bce0e36d084895c08d36390b40": {
|
|
4325
4329
|
functionName: "loadTypeHover_createServerFn_handler",
|
|
4326
|
-
importer: () => import("./type-hover.functions-
|
|
4330
|
+
importer: () => import("./type-hover.functions-B_9iC3Xs.mjs")
|
|
4327
4331
|
},
|
|
4328
4332
|
"865b9416508eb78b19044a0fa8f076c34f877c81a82bc785f39c9cd413095684": {
|
|
4329
4333
|
functionName: "uploadImage_createServerFn_handler",
|
|
4330
|
-
importer: () => import("./decks.functions-
|
|
4334
|
+
importer: () => import("./decks.functions-BHxu668D.mjs")
|
|
4331
4335
|
},
|
|
4332
4336
|
"8d0f02766ecedce1b5d9b39c4524dd1912bd1780e2056ab3f564a5062bf0517c": {
|
|
4333
4337
|
functionName: "saveAgentSettings_createServerFn_handler",
|
|
4334
|
-
importer: () => import("./listener.functions-
|
|
4338
|
+
importer: () => import("./listener.functions-DygHonX4.mjs")
|
|
4335
4339
|
},
|
|
4336
4340
|
"90711b8845e051cdb3878d2ac304eca6e6cdcea6f4f32712816311d968d70d33": {
|
|
4337
4341
|
functionName: "loadSinceFile_createServerFn_handler",
|
|
4338
|
-
importer: () => import("./decks.functions-
|
|
4342
|
+
importer: () => import("./decks.functions-BHxu668D.mjs")
|
|
4339
4343
|
},
|
|
4340
4344
|
"95b2066779521c5ee2eb1562972665eef00a38622ad0864ef7d8b4672d82fd39": {
|
|
4341
4345
|
functionName: "editReviewDraft_createServerFn_handler",
|
|
4342
|
-
importer: () => import("./review.functions-
|
|
4346
|
+
importer: () => import("./review.functions-Cvig5BYP.mjs")
|
|
4343
4347
|
},
|
|
4344
4348
|
"acd41dcd63b04d512e76bc5182c86ad4235a95b99e5beba1de74832877815035": {
|
|
4345
4349
|
functionName: "actOnRemarkFn_createServerFn_handler",
|
|
4346
|
-
importer: () => import("./review.functions-
|
|
4350
|
+
importer: () => import("./review.functions-Cvig5BYP.mjs")
|
|
4347
4351
|
},
|
|
4348
4352
|
"af841ea97d0d1a9a097d593cc00bf40dad3c035632952b6f102bc743b46731d1": {
|
|
4349
4353
|
functionName: "getDecks_createServerFn_handler",
|
|
4350
|
-
importer: () => import("./decks.functions-
|
|
4354
|
+
importer: () => import("./decks.functions-BHxu668D.mjs")
|
|
4351
4355
|
},
|
|
4352
4356
|
"c76bd144df2c730e391b0911f9e424abae847a2b78768be68cdf015bfd0d535a": {
|
|
4353
4357
|
functionName: "getPoint_createServerFn_handler",
|
|
4354
|
-
importer: () => import("./decks.functions-
|
|
4358
|
+
importer: () => import("./decks.functions-BHxu668D.mjs")
|
|
4355
4359
|
},
|
|
4356
4360
|
"c7a57e967e7faf79ff4adba8db39dd62f1c9c7a9efdc2fd1c0ff9a8a75e89dc6": {
|
|
4357
4361
|
functionName: "replyReviewComment_createServerFn_handler",
|
|
4358
|
-
importer: () => import("./review.functions-
|
|
4362
|
+
importer: () => import("./review.functions-Cvig5BYP.mjs")
|
|
4359
4363
|
},
|
|
4360
4364
|
"ca81996f5cde62306b310948df2499c55b0d5c8df1bbf5c0da11478771b4afb0": {
|
|
4361
4365
|
functionName: "searchReview_createServerFn_handler",
|
|
4362
|
-
importer: () => import("./review.functions-
|
|
4366
|
+
importer: () => import("./review.functions-Cvig5BYP.mjs")
|
|
4363
4367
|
},
|
|
4364
4368
|
"d8312664c6aa9aecf245095d01a37077f92332e35727648e70895cf2ce8820df": {
|
|
4365
4369
|
functionName: "postReviewComment_createServerFn_handler",
|
|
4366
|
-
importer: () => import("./review.functions-
|
|
4370
|
+
importer: () => import("./review.functions-Cvig5BYP.mjs")
|
|
4367
4371
|
},
|
|
4368
4372
|
"e7a2c93fea99cc38405ad8aec216e26f886d619a7f8376f105cb1cfa7cceea95": {
|
|
4369
4373
|
functionName: "settleReviewComment_createServerFn_handler",
|
|
4370
|
-
importer: () => import("./review.functions-
|
|
4374
|
+
importer: () => import("./review.functions-Cvig5BYP.mjs")
|
|
4371
4375
|
},
|
|
4372
4376
|
"ec830af09bbd81cf8ccba41a6cf5c80ef59098d9272dcd133d7509d54d033a76": {
|
|
4373
4377
|
functionName: "loadReviewBases_createServerFn_handler",
|
|
4374
|
-
importer: () => import("./review.functions-
|
|
4378
|
+
importer: () => import("./review.functions-Cvig5BYP.mjs")
|
|
4375
4379
|
},
|
|
4376
4380
|
"f3609bca9dbfd37554e557b01b4f2cde39e84e8d358a830730bfb93998f3f6dd": {
|
|
4377
4381
|
functionName: "loadReviewExtras_createServerFn_handler",
|
|
4378
|
-
importer: () => import("./review.functions-
|
|
4382
|
+
importer: () => import("./review.functions-Cvig5BYP.mjs")
|
|
4379
4383
|
},
|
|
4380
4384
|
"f401f5330e10ad3b2c602ae49981f226d7e57c8b2b638d0840a197a7d6125be6": {
|
|
4381
4385
|
functionName: "startHeadless_createServerFn_handler",
|
|
4382
|
-
importer: () => import("./listener.functions-
|
|
4386
|
+
importer: () => import("./listener.functions-DygHonX4.mjs")
|
|
4383
4387
|
},
|
|
4384
4388
|
"f46b83d995c398b06ef5a8286a8fda1deb24f014ee05ce69bd360de4d48ef85c": {
|
|
4385
4389
|
functionName: "getLive_createServerFn_handler",
|
|
4386
|
-
importer: () => import("./decks.functions-
|
|
4390
|
+
importer: () => import("./decks.functions-BHxu668D.mjs")
|
|
4387
4391
|
},
|
|
4388
4392
|
"fc11d140de68401321d4985683d2f035063f92fe2d2f9f066bd69bababb010db": {
|
|
4389
4393
|
functionName: "getDeck_createServerFn_handler",
|
|
4390
|
-
importer: () => import("./decks.functions-
|
|
4394
|
+
importer: () => import("./decks.functions-BHxu668D.mjs")
|
|
4391
4395
|
}
|
|
4392
4396
|
};
|
|
4393
4397
|
async function getServerFnById(id, access) {
|
|
@@ -7040,9 +7044,9 @@ var getBaseManifest = getProdBaseManifest;
|
|
|
7040
7044
|
var createEarlyHintsForRequest = createEarlyHintsCollector;
|
|
7041
7045
|
async function loadEntries() {
|
|
7042
7046
|
const [routerEntry, startEntry, pluginAdapters] = await Promise.all([
|
|
7043
|
-
import("./router-
|
|
7047
|
+
import("./router-DH6_gEUb.mjs").then((n) => n.router_exports),
|
|
7044
7048
|
import("./start-C00iYDdG.mjs"),
|
|
7045
|
-
import("./empty-plugin-adapters-
|
|
7049
|
+
import("./empty-plugin-adapters-B3CY_z0V.mjs")
|
|
7046
7050
|
]);
|
|
7047
7051
|
return {
|
|
7048
7052
|
routerEntry,
|
package/dist/web/server/_ssr/{type-hover.functions-Cf2CfVvS.mjs → type-hover.functions-B_9iC3Xs.mjs}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { createServerRpc } from "./createServerRpc-
|
|
1
|
+
import { createServerRpc } from "./createServerRpc-Xq42ilNx.mjs";
|
|
2
2
|
import { createServerFn } from "./ssr.mjs";
|
|
3
3
|
import { isTypedPath, typeHoverSchema } from "./type-hover-DSq-tkS_.mjs";
|
|
4
|
-
import { READ_ONLY_GIT, findReviewBlock, getWorktree, highlightTypeScript } from "./review-target.server-
|
|
4
|
+
import { READ_ONLY_GIT, findReviewBlock, getWorktree, highlightTypeScript } from "./review-target.server-DA41RDao.mjs";
|
|
5
5
|
import { array, boolean, literal, number, object, optional, safeParse, string, union, unknown } from "../_libs/valibot.mjs";
|
|
6
6
|
import { createRequire } from "node:module";
|
|
7
7
|
import { existsSync, readFileSync, readdirSync, realpathSync, statSync } from "node:fs";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import { spawn } from "node:child_process";
|
|
10
10
|
import { once } from "node:events";
|
|
11
|
-
// node_modules/.nitro/vite/services/ssr/assets/type-hover.functions-
|
|
11
|
+
// node_modules/.nitro/vite/services/ssr/assets/type-hover.functions-B_9iC3Xs.js
|
|
12
12
|
var readHead = async (root) => {
|
|
13
13
|
const child = spawn("git", [
|
|
14
14
|
"-C",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { __toESM } from "../_runtime.mjs";
|
|
2
|
-
import { cn, getLive, getPointVersion, saveAnswer, useInterval } from "./router-
|
|
2
|
+
import { cn, getLive, getPointVersion, saveAnswer, useInterval } from "./router-DH6_gEUb.mjs";
|
|
3
3
|
import { createReads, readNewest } from "./shortcuts-B7llaLLc.mjs";
|
|
4
4
|
import { ScrollAreaRoot, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaViewport, require_jsx_runtime, require_react } from "../_libs/@base-ui/react+[...].mjs";
|
|
5
5
|
import { useRouter } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
6
6
|
import { nullable, object, record, safeParse, string } from "../_libs/valibot.mjs";
|
|
7
7
|
import { cva } from "../_libs/class-variance-authority+clsx.mjs";
|
|
8
|
-
// node_modules/.nitro/vite/services/ssr/assets/viewed-store-
|
|
8
|
+
// node_modules/.nitro/vite/services/ssr/assets/viewed-store-RX0hDmiV.js
|
|
9
9
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
10
10
|
var import_jsx_runtime = require_jsx_runtime();
|
|
11
11
|
var PENDING_KEY = "review-deck-pending-answers";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// node_modules/.nitro/vite/services/ssr/assets/_tanstack-start-manifest_v-
|
|
1
|
+
// node_modules/.nitro/vite/services/ssr/assets/_tanstack-start-manifest_v-D8_4kgre.js
|
|
2
2
|
var tsrStartManifest = () => ({ routes: {
|
|
3
3
|
__root__: {
|
|
4
4
|
filePath: "/home/runner/work/agent-diff/agent-diff/web/src/routes/__root.tsx",
|
|
@@ -9,7 +9,7 @@ var tsrStartManifest = () => ({ routes: {
|
|
|
9
9
|
"/decks/$deck"
|
|
10
10
|
],
|
|
11
11
|
preloads: [
|
|
12
|
-
"/assets/index-
|
|
12
|
+
"/assets/index-X7OFY5bM.js",
|
|
13
13
|
"/assets/rolldown-runtime-XKyaHtl9.js",
|
|
14
14
|
"/assets/decks.functions-tXNTG2sC.js",
|
|
15
15
|
"/assets/use-window-event-BDUVK1pJ.js",
|
|
@@ -19,18 +19,18 @@ var tsrStartManifest = () => ({ routes: {
|
|
|
19
19
|
scripts: [{ attrs: {
|
|
20
20
|
type: "module",
|
|
21
21
|
async: !0,
|
|
22
|
-
src: "/assets/index-
|
|
22
|
+
src: "/assets/index-X7OFY5bM.js"
|
|
23
23
|
} }]
|
|
24
24
|
},
|
|
25
25
|
"/": {
|
|
26
26
|
filePath: "/home/runner/work/agent-diff/agent-diff/web/src/routes/index.tsx",
|
|
27
27
|
children: void 0,
|
|
28
|
-
preloads: ["/assets/routes-
|
|
28
|
+
preloads: ["/assets/routes-CYn3-ePX.js"]
|
|
29
29
|
},
|
|
30
30
|
"/review": {
|
|
31
31
|
filePath: "/home/runner/work/agent-diff/agent-diff/web/src/routes/review.tsx",
|
|
32
32
|
children: void 0,
|
|
33
|
-
preloads: ["/assets/review-
|
|
33
|
+
preloads: ["/assets/review-DE0jDEPH.js", "/assets/review-block-CbmQ0t4L.js"]
|
|
34
34
|
},
|
|
35
35
|
"/decks/$deck": {
|
|
36
36
|
filePath: "/home/runner/work/agent-diff/agent-diff/web/src/routes/decks/$deck.tsx",
|
|
@@ -42,15 +42,15 @@ var tsrStartManifest = () => ({ routes: {
|
|
|
42
42
|
"/decks/$deck/files/$"
|
|
43
43
|
],
|
|
44
44
|
preloads: [
|
|
45
|
-
"/assets/_deck-
|
|
46
|
-
"/assets/viewed-store-
|
|
45
|
+
"/assets/_deck-BDC_r92m.js",
|
|
46
|
+
"/assets/viewed-store-CuareBUI.js",
|
|
47
47
|
"/assets/shortcuts-BsNWbUaT.js"
|
|
48
48
|
]
|
|
49
49
|
},
|
|
50
50
|
"/decks/$deck/$point": {
|
|
51
51
|
filePath: "/home/runner/work/agent-diff/agent-diff/web/src/routes/decks/$deck/$point.tsx",
|
|
52
52
|
children: void 0,
|
|
53
|
-
preloads: ["/assets/_point-
|
|
53
|
+
preloads: ["/assets/_point-I_vt1otH.js", "/assets/review-block-CbmQ0t4L.js"]
|
|
54
54
|
}
|
|
55
55
|
} });
|
|
56
56
|
export { tsrStartManifest };
|
|
@@ -7,103 +7,103 @@ import { fileURLToPath } from "node:url";
|
|
|
7
7
|
import { dirname, resolve } from "node:path";
|
|
8
8
|
// #nitro/virtual/public-assets-data
|
|
9
9
|
var public_assets_data_default = {
|
|
10
|
-
"/assets/_deck-
|
|
10
|
+
"/assets/_deck-BDC_r92m.js": {
|
|
11
11
|
"type": "text/javascript; charset=utf-8",
|
|
12
|
-
"etag": "\"2005-
|
|
13
|
-
"mtime": "2026-11-
|
|
12
|
+
"etag": "\"2005-zi0KkEeoy83joVNsvP6p8GyMCN0\"",
|
|
13
|
+
"mtime": "2026-11-29T15:43:08.266Z",
|
|
14
14
|
"size": 8197,
|
|
15
|
-
"path": "../public/assets/_deck-
|
|
15
|
+
"path": "../public/assets/_deck-BDC_r92m.js"
|
|
16
|
+
},
|
|
17
|
+
"/assets/_point-I_vt1otH.js": {
|
|
18
|
+
"type": "text/javascript; charset=utf-8",
|
|
19
|
+
"etag": "\"ab65-Cwjl9bTncMfe0OnzUCGuZteDowE\"",
|
|
20
|
+
"mtime": "2026-11-29T15:43:08.266Z",
|
|
21
|
+
"size": 43877,
|
|
22
|
+
"path": "../public/assets/_point-I_vt1otH.js"
|
|
16
23
|
},
|
|
17
24
|
"/assets/adhoc.functions-C2dHzbMd.js": {
|
|
18
25
|
"type": "text/javascript; charset=utf-8",
|
|
19
26
|
"etag": "\"108-w849+CcDcPz7fcF7fT4GzS9T1Ns\"",
|
|
20
|
-
"mtime": "2026-11-
|
|
27
|
+
"mtime": "2026-11-29T15:43:08.266Z",
|
|
21
28
|
"size": 264,
|
|
22
29
|
"path": "../public/assets/adhoc.functions-C2dHzbMd.js"
|
|
23
30
|
},
|
|
24
31
|
"/assets/decks.functions-tXNTG2sC.js": {
|
|
25
32
|
"type": "text/javascript; charset=utf-8",
|
|
26
33
|
"etag": "\"11b1c-c0yT1Kuf26xiZzC2a0SA/a/mOvE\"",
|
|
27
|
-
"mtime": "2026-11-
|
|
34
|
+
"mtime": "2026-11-29T15:43:08.266Z",
|
|
28
35
|
"size": 72476,
|
|
29
36
|
"path": "../public/assets/decks.functions-tXNTG2sC.js"
|
|
30
37
|
},
|
|
38
|
+
"/assets/index-CUagVLhR.css": {
|
|
39
|
+
"type": "text/css; charset=utf-8",
|
|
40
|
+
"etag": "\"1a984-Doc0+ofxpDqkUXBaMx7GtmfyMEs\"",
|
|
41
|
+
"mtime": "2026-11-29T15:43:08.267Z",
|
|
42
|
+
"size": 108932,
|
|
43
|
+
"path": "../public/assets/index-CUagVLhR.css"
|
|
44
|
+
},
|
|
31
45
|
"/assets/preload-helper-D5PXivxI.js": {
|
|
32
46
|
"type": "text/javascript; charset=utf-8",
|
|
33
47
|
"etag": "\"817-y3iy4kyB/TWxRI2p1SIv6pqo9Xk\"",
|
|
34
|
-
"mtime": "2026-11-
|
|
48
|
+
"mtime": "2026-11-29T15:43:08.266Z",
|
|
35
49
|
"size": 2071,
|
|
36
50
|
"path": "../public/assets/preload-helper-D5PXivxI.js"
|
|
37
51
|
},
|
|
38
|
-
"/assets/
|
|
52
|
+
"/assets/review-DE0jDEPH.js": {
|
|
39
53
|
"type": "text/javascript; charset=utf-8",
|
|
40
|
-
"etag": "\"
|
|
41
|
-
"mtime": "2026-11-
|
|
42
|
-
"size": 43877,
|
|
43
|
-
"path": "../public/assets/_point-DGd-d-fN.js"
|
|
44
|
-
},
|
|
45
|
-
"/assets/review-CHVb5xmC.js": {
|
|
46
|
-
"type": "text/javascript; charset=utf-8",
|
|
47
|
-
"etag": "\"391-QqK3DaFNAqCEWxUrmcRXymlS7Ys\"",
|
|
48
|
-
"mtime": "2026-11-29T10:53:58.039Z",
|
|
54
|
+
"etag": "\"391-M0FjWMNf5AayXA8jhwDIDSimD3Q\"",
|
|
55
|
+
"mtime": "2026-11-29T15:43:08.266Z",
|
|
49
56
|
"size": 913,
|
|
50
|
-
"path": "../public/assets/review-
|
|
51
|
-
},
|
|
52
|
-
"/assets/index-Cog4a4vB.css": {
|
|
53
|
-
"type": "text/css; charset=utf-8",
|
|
54
|
-
"etag": "\"1a4cc-5W54UjPHXRu4usj7/3S7iRM2Okg\"",
|
|
55
|
-
"mtime": "2026-11-29T10:53:58.039Z",
|
|
56
|
-
"size": 107724,
|
|
57
|
-
"path": "../public/assets/index-Cog4a4vB.css"
|
|
57
|
+
"path": "../public/assets/review-DE0jDEPH.js"
|
|
58
58
|
},
|
|
59
59
|
"/assets/rolldown-runtime-XKyaHtl9.js": {
|
|
60
60
|
"type": "text/javascript; charset=utf-8",
|
|
61
61
|
"etag": "\"2d6-O6HZFG2UmBdwOn6kqbWB0vaNqS8\"",
|
|
62
|
-
"mtime": "2026-11-
|
|
62
|
+
"mtime": "2026-11-29T15:43:08.266Z",
|
|
63
63
|
"size": 726,
|
|
64
64
|
"path": "../public/assets/rolldown-runtime-XKyaHtl9.js"
|
|
65
65
|
},
|
|
66
|
-
"/assets/routes-
|
|
66
|
+
"/assets/routes-CYn3-ePX.js": {
|
|
67
67
|
"type": "text/javascript; charset=utf-8",
|
|
68
|
-
"etag": "\"2f3-
|
|
69
|
-
"mtime": "2026-11-
|
|
68
|
+
"etag": "\"2f3-y8ju5xd8jV5fBMJT9Id3CugZD6E\"",
|
|
69
|
+
"mtime": "2026-11-29T15:43:08.266Z",
|
|
70
70
|
"size": 755,
|
|
71
|
-
"path": "../public/assets/routes-
|
|
71
|
+
"path": "../public/assets/routes-CYn3-ePX.js"
|
|
72
72
|
},
|
|
73
73
|
"/assets/shortcuts-BsNWbUaT.js": {
|
|
74
74
|
"type": "text/javascript; charset=utf-8",
|
|
75
75
|
"etag": "\"50b6-qDBHptlQVtacCexVGJMv157uC54\"",
|
|
76
|
-
"mtime": "2026-11-
|
|
76
|
+
"mtime": "2026-11-29T15:43:08.266Z",
|
|
77
77
|
"size": 20662,
|
|
78
78
|
"path": "../public/assets/shortcuts-BsNWbUaT.js"
|
|
79
79
|
},
|
|
80
|
-
"/assets/
|
|
80
|
+
"/assets/use-window-event-BDUVK1pJ.js": {
|
|
81
81
|
"type": "text/javascript; charset=utf-8",
|
|
82
|
-
"etag": "\"
|
|
83
|
-
"mtime": "2026-11-
|
|
84
|
-
"size":
|
|
85
|
-
"path": "../public/assets/
|
|
82
|
+
"etag": "\"2703a-0a2EXyav0f+o+hKR0mVlxQ5+tr0\"",
|
|
83
|
+
"mtime": "2026-11-29T15:43:08.266Z",
|
|
84
|
+
"size": 159802,
|
|
85
|
+
"path": "../public/assets/use-window-event-BDUVK1pJ.js"
|
|
86
86
|
},
|
|
87
|
-
"/assets/index-
|
|
87
|
+
"/assets/index-X7OFY5bM.js": {
|
|
88
88
|
"type": "text/javascript; charset=utf-8",
|
|
89
|
-
"etag": "\"4dec0
|
|
90
|
-
"mtime": "2026-11-
|
|
89
|
+
"etag": "\"4dec0-/G1RovFLqdOSYf/1IEpv7ESo0dE\"",
|
|
90
|
+
"mtime": "2026-11-29T15:43:08.265Z",
|
|
91
91
|
"size": 319168,
|
|
92
|
-
"path": "../public/assets/index-
|
|
92
|
+
"path": "../public/assets/index-X7OFY5bM.js"
|
|
93
93
|
},
|
|
94
|
-
"/assets/
|
|
94
|
+
"/assets/viewed-store-CuareBUI.js": {
|
|
95
95
|
"type": "text/javascript; charset=utf-8",
|
|
96
|
-
"etag": "\"
|
|
97
|
-
"mtime": "2026-11-
|
|
98
|
-
"size":
|
|
99
|
-
"path": "../public/assets/
|
|
96
|
+
"etag": "\"3786-ZjAZ5O13VfkMaP6j1dCN3eaH4iU\"",
|
|
97
|
+
"mtime": "2026-11-29T15:43:08.267Z",
|
|
98
|
+
"size": 14214,
|
|
99
|
+
"path": "../public/assets/viewed-store-CuareBUI.js"
|
|
100
100
|
},
|
|
101
|
-
"/assets/
|
|
101
|
+
"/assets/review-block-CbmQ0t4L.js": {
|
|
102
102
|
"type": "text/javascript; charset=utf-8",
|
|
103
|
-
"etag": "\"
|
|
104
|
-
"mtime": "2026-11-
|
|
105
|
-
"size":
|
|
106
|
-
"path": "../public/assets/
|
|
103
|
+
"etag": "\"775de-JREHoQ/63590TgXdoIhLhzyPlfc\"",
|
|
104
|
+
"mtime": "2026-11-29T15:43:08.266Z",
|
|
105
|
+
"size": 488926,
|
|
106
|
+
"path": "../public/assets/review-block-CbmQ0t4L.js"
|
|
107
107
|
}
|
|
108
108
|
};
|
|
109
109
|
// #nitro/virtual/public-assets-node
|
package/package.json
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"bin": {
|
|
26
26
|
"adiff": "./bin/adiff.js"
|
|
27
27
|
},
|
|
28
|
-
"version": "0.1.0-alpha.
|
|
28
|
+
"version": "0.1.0-alpha.213",
|
|
29
29
|
"description": "Review the work an agent left you without losing the thread: comments live on the lines, the agent answers them, and each point stays open until you settle it.",
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"repository": {
|
package/skills/adiff/SKILL.md
CHANGED
|
@@ -27,7 +27,9 @@ Each comment carries the code it is about. `snippet` is the exact text the revie
|
|
|
27
27
|
A comment on code one of your layers explains carries `layer`, that layer's title as your latest
|
|
28
28
|
revision has it. The code the layer describes is about to change under your hands, so the layers go
|
|
29
29
|
stale the moment you act on the comment: write a new revision with `adiff layers set` before you
|
|
30
|
-
answer, and say in the answer that you did.
|
|
30
|
+
answer, and say in the answer that you did. `layerAddress` is where that layer sits in your
|
|
31
|
+
document: `3` for the third layer, `2.2` for the second sublayer of layer 2. A comment on a
|
|
32
|
+
sublayer's code also carries `ticket`, the title of the layer that holds it.
|
|
31
33
|
|
|
32
34
|
A comment keeps coming back until it is answered. A second plain `take` returns it again, so answer
|
|
33
35
|
what you take. Settling or removing it also retires it: those are the reviewer saying they no longer
|
|
@@ -328,6 +330,46 @@ adiff layers set --worktree . --file - <<'JSON'
|
|
|
328
330
|
JSON
|
|
329
331
|
```
|
|
330
332
|
|
|
333
|
+
### One ticket, several pull-request-sized parts
|
|
334
|
+
|
|
335
|
+
Write each layer the size of one pull request: something a reviewer reads in one sitting. A big
|
|
336
|
+
ticket needs several of those, and written flat they sit beside the layers of the next ticket with
|
|
337
|
+
nothing to say which belong together. So give the ticket one layer, and put its parts inside it as
|
|
338
|
+
**sublayers**:
|
|
339
|
+
|
|
340
|
+
```json
|
|
341
|
+
{
|
|
342
|
+
"summary": "Team invitations end to end, then roles.",
|
|
343
|
+
"layers": [
|
|
344
|
+
{ "title": "Shared plumbing", "spans": [{ "path": "src/mail/queue.ts", "start": 1, "end": 40 }] },
|
|
345
|
+
{
|
|
346
|
+
"title": "Team invitations",
|
|
347
|
+
"note": "An owner invites a teammate by email, and the teammate joins from the link.",
|
|
348
|
+
"layers": [
|
|
349
|
+
{ "title": "Invitation model and migration", "spans": [{ "path": "src/db/invites.ts", "start": 1, "end": 58 }] },
|
|
350
|
+
{ "title": "Send and resend the email", "spans": [{ "path": "src/mail/invite.ts", "start": 1, "end": 96 }] },
|
|
351
|
+
{ "title": "Accept flow in the web app", "spans": [{ "path": "src/ui/Accept.tsx", "start": 1, "end": 120 }] }
|
|
352
|
+
]
|
|
353
|
+
},
|
|
354
|
+
{ "title": "Roles and permissions", "spans": [{ "path": "src/roles.ts", "start": 1, "end": 80 }] }
|
|
355
|
+
]
|
|
356
|
+
}
|
|
357
|
+
```
|
|
358
|
+
|
|
359
|
+
- A layer that holds sublayers has a title and a note, and `layers` where a plain layer has
|
|
360
|
+
`spans`. Its code lives in its sublayers.
|
|
361
|
+
- It holds two or more sublayers. One part is a plain layer.
|
|
362
|
+
- A sublayer is a plain layer: title, note, spans or blocks. It holds no `layers` of its own.
|
|
363
|
+
- Use sublayers when one ticket has several parts that each stand as a pull request. A change that
|
|
364
|
+
reads in one sitting stays a plain layer, and a branch of one ticket with three small layers
|
|
365
|
+
stays flat.
|
|
366
|
+
|
|
367
|
+
The reviewer reads the sublayers in order as 2.1, 2.2, 2.3, and the layer above them is read when
|
|
368
|
+
all of them are. In the answer, `layers` lists what the reviewer reads, in order, each with its
|
|
369
|
+
`address`, and `tickets` lists every layer that holds sublayers with its sublayers' counts added
|
|
370
|
+
up. A layer number elsewhere in the answer (`outdated[].layer`, `split[].layers`) is a position in
|
|
371
|
+
that `layers` list, counting from 1: read its `address` to find it in your document.
|
|
372
|
+
|
|
331
373
|
Rules that make a layers worth reading:
|
|
332
374
|
|
|
333
375
|
- **Order is the point.** Layer 1 is what the reader must understand before layer 2 makes sense.
|
|
@@ -361,8 +403,9 @@ old line number. A line two layers both claim counts in each.
|
|
|
361
403
|
|
|
362
404
|
`layers set` refuses a document it cannot use and says which layer is wrong and why: a span that
|
|
363
405
|
ends before it starts, a span starting below line 1, a start or end that is not a whole number, a
|
|
364
|
-
block with no `kind`, a layer with no title
|
|
365
|
-
|
|
406
|
+
block with no `kind`, a layer with no title, a layer holding one sublayer, a sublayer holding layers
|
|
407
|
+
of its own, a layer holding sublayers and spans together. It no longer drops a bad span quietly, so
|
|
408
|
+
a layer that used to cover less than you thought now fails loudly instead.
|
|
366
409
|
```
|
|
367
410
|
|
|
368
411
|
`total` counts hunks. `covered` counts the ones where every changed line sits inside a layer, and
|
|
@@ -91,7 +91,8 @@ chose, and the menu beside it offers:
|
|
|
91
91
|
listening.
|
|
92
92
|
- **Agent settings…**: choose the agent and edit its commands.
|
|
93
93
|
|
|
94
|
-
A headless run starts the agent's command in the review's worktree, in the user's interactive shell
|
|
94
|
+
A headless run starts the agent's command in the review's worktree, in the user's interactive shell
|
|
95
|
+
(with no input, and with oh-my-zsh's update prompt turned off, so the shell does not stop to ask),
|
|
95
96
|
with a prompt to take comments, act on each, answer each by id, and stop after three empty waits
|
|
96
97
|
with nothing owed. The header shows its last line, **Log** opens its last lines, and **Stop** ends
|
|
97
98
|
it. The page never starts one by itself, and refuses a second while one runs or an agent listens.
|