@aspectlylabs/mikka 0.0.223 → 0.0.225

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/cli.js CHANGED
@@ -4519,7 +4519,7 @@ import { join as join4 } from "node:path";
4519
4519
  // package.json
4520
4520
  var package_default = {
4521
4521
  name: "@mikka/daemon",
4522
- version: "0.0.223",
4522
+ version: "0.0.225",
4523
4523
  description: "Local Mikka daemon: runs agents through the user's own CLIs",
4524
4524
  type: "module",
4525
4525
  private: true,
@@ -4580,7 +4580,7 @@ var package_default = {
4580
4580
  engines: {
4581
4581
  node: ">=24"
4582
4582
  },
4583
- gitHead: "ae7a2460d5e4d9465a0a4f0913782ef738749e11"
4583
+ gitHead: "e1706f1f9700782c3e0bc1bf63e4115ff25af7ec"
4584
4584
  };
4585
4585
 
4586
4586
  // src/paths.ts
@@ -7312,16 +7312,18 @@ async function agentPublishedReceipt(input) {
7312
7312
  }
7313
7313
  try {
7314
7314
  const gh = (args) => execa4(join9(receiptDir, "github", "bin", "gh"), args, { cwd: input.worktree, env, extendEnv: false, stdin: "ignore" });
7315
- if (input.hosted) {
7316
- const object = JSON.parse((await gh(["api", `repos/${input.github.repository}/git/commits/${commit}`])).stdout);
7317
- if (object.sha !== commit || object.tree?.sha !== input.tree) throw new Error("Uncommitted hosted changes");
7318
- }
7319
- const pr = JSON.parse((await gh(["pr", "view", input.github.branch, "--repo", input.github.repository, "--json", "headRefOid,body"])).stdout);
7320
- if (pr.headRefOid !== commit || typeof pr.body !== "string" || !pr.body.trimEnd().endsWith(`<!-- mikka-issue:${input.github.issueId} -->`)) throw new Error("Unbound pull request");
7321
7315
  const [owner, repository2] = input.github.repository.split("/");
7322
7316
  const query3 = "query($owner:String!,$repository:String!,$commit:GitObjectID!){repository(owner:$owner,name:$repository){object(oid:$commit){... on Commit {oid statusCheckRollup{state}}}}}";
7323
- const checks = JSON.parse((await gh(["api", "graphql", "-f", `query=${query3}`, "-f", `owner=${owner}`, "-f", `repository=${repository2}`, "-f", `commit=${commit}`])).stdout);
7324
- const checked2 = checks.data?.repository?.object;
7317
+ const [object, pr, checks] = await Promise.allSettled([
7318
+ // Hosted runs verify GitHub's tree, never the writable clone's config.
7319
+ input.hosted ? gh(["api", `repos/${input.github.repository}/git/commits/${commit}`]).then((result) => JSON.parse(result.stdout)) : null,
7320
+ gh(["pr", "view", input.github.branch, "--repo", input.github.repository, "--json", "headRefOid,body"]).then((result) => JSON.parse(result.stdout)),
7321
+ gh(["api", "graphql", "-f", `query=${query3}`, "-f", `owner=${owner}`, "-f", `repository=${repository2}`, "-f", `commit=${commit}`]).then((result) => JSON.parse(result.stdout))
7322
+ ]);
7323
+ if (object.status === "rejected" || pr.status === "rejected" || checks.status === "rejected") throw new Error("GitHub receipt lookup failed");
7324
+ if (input.hosted && (object.value.sha !== commit || object.value.tree?.sha !== input.tree)) throw new Error("Uncommitted hosted changes");
7325
+ if (pr.value.headRefOid !== commit || typeof pr.value.body !== "string" || !pr.value.body.trimEnd().endsWith(`<!-- mikka-issue:${input.github.issueId} -->`)) throw new Error("Unbound pull request");
7326
+ const checked2 = checks.value.data?.repository?.object;
7325
7327
  if (checked2?.oid !== commit || checked2.statusCheckRollup?.state !== "SUCCESS") throw new Error("Incomplete CI");
7326
7328
  } catch {
7327
7329
  throw new Error("The task pull request and successful CI must match the submitted commit");
package/client.js CHANGED
@@ -3763,7 +3763,7 @@ import { join } from "node:path";
3763
3763
  // package.json
3764
3764
  var package_default = {
3765
3765
  name: "@mikka/daemon",
3766
- version: "0.0.223",
3766
+ version: "0.0.225",
3767
3767
  description: "Local Mikka daemon: runs agents through the user's own CLIs",
3768
3768
  type: "module",
3769
3769
  private: true,
@@ -3824,7 +3824,7 @@ var package_default = {
3824
3824
  engines: {
3825
3825
  node: ">=24"
3826
3826
  },
3827
- gitHead: "ae7a2460d5e4d9465a0a4f0913782ef738749e11"
3827
+ gitHead: "e1706f1f9700782c3e0bc1bf63e4115ff25af7ec"
3828
3828
  };
3829
3829
 
3830
3830
  // src/paths.ts
package/http-link.js CHANGED
@@ -4262,7 +4262,7 @@ var InvalidIdError = class extends DaemonError {
4262
4262
  // package.json
4263
4263
  var package_default = {
4264
4264
  name: "@mikka/daemon",
4265
- version: "0.0.223",
4265
+ version: "0.0.225",
4266
4266
  description: "Local Mikka daemon: runs agents through the user's own CLIs",
4267
4267
  type: "module",
4268
4268
  private: true,
@@ -4323,7 +4323,7 @@ var package_default = {
4323
4323
  engines: {
4324
4324
  node: ">=24"
4325
4325
  },
4326
- gitHead: "ae7a2460d5e4d9465a0a4f0913782ef738749e11"
4326
+ gitHead: "e1706f1f9700782c3e0bc1bf63e4115ff25af7ec"
4327
4327
  };
4328
4328
 
4329
4329
  // src/paths.ts
package/login.js CHANGED
@@ -3770,7 +3770,7 @@ var ServerUnreachableError = class extends DaemonError {
3770
3770
  // package.json
3771
3771
  var package_default = {
3772
3772
  name: "@mikka/daemon",
3773
- version: "0.0.223",
3773
+ version: "0.0.225",
3774
3774
  description: "Local Mikka daemon: runs agents through the user's own CLIs",
3775
3775
  type: "module",
3776
3776
  private: true,
@@ -3831,7 +3831,7 @@ var package_default = {
3831
3831
  engines: {
3832
3832
  node: ">=24"
3833
3833
  },
3834
- gitHead: "ae7a2460d5e4d9465a0a4f0913782ef738749e11"
3834
+ gitHead: "e1706f1f9700782c3e0bc1bf63e4115ff25af7ec"
3835
3835
  };
3836
3836
 
3837
3837
  // src/paths.ts
package/main.js CHANGED
@@ -3434,16 +3434,18 @@ async function agentPublishedReceipt(input) {
3434
3434
  }
3435
3435
  try {
3436
3436
  const gh = (args) => execa4(join4(receiptDir, "github", "bin", "gh"), args, { cwd: input.worktree, env, extendEnv: false, stdin: "ignore" });
3437
- if (input.hosted) {
3438
- const object = JSON.parse((await gh(["api", `repos/${input.github.repository}/git/commits/${commit}`])).stdout);
3439
- if (object.sha !== commit || object.tree?.sha !== input.tree) throw new Error("Uncommitted hosted changes");
3440
- }
3441
- const pr = JSON.parse((await gh(["pr", "view", input.github.branch, "--repo", input.github.repository, "--json", "headRefOid,body"])).stdout);
3442
- if (pr.headRefOid !== commit || typeof pr.body !== "string" || !pr.body.trimEnd().endsWith(`<!-- mikka-issue:${input.github.issueId} -->`)) throw new Error("Unbound pull request");
3443
3437
  const [owner, repository2] = input.github.repository.split("/");
3444
3438
  const query3 = "query($owner:String!,$repository:String!,$commit:GitObjectID!){repository(owner:$owner,name:$repository){object(oid:$commit){... on Commit {oid statusCheckRollup{state}}}}}";
3445
- const checks = JSON.parse((await gh(["api", "graphql", "-f", `query=${query3}`, "-f", `owner=${owner}`, "-f", `repository=${repository2}`, "-f", `commit=${commit}`])).stdout);
3446
- const checked2 = checks.data?.repository?.object;
3439
+ const [object, pr, checks] = await Promise.allSettled([
3440
+ // Hosted runs verify GitHub's tree, never the writable clone's config.
3441
+ input.hosted ? gh(["api", `repos/${input.github.repository}/git/commits/${commit}`]).then((result) => JSON.parse(result.stdout)) : null,
3442
+ gh(["pr", "view", input.github.branch, "--repo", input.github.repository, "--json", "headRefOid,body"]).then((result) => JSON.parse(result.stdout)),
3443
+ gh(["api", "graphql", "-f", `query=${query3}`, "-f", `owner=${owner}`, "-f", `repository=${repository2}`, "-f", `commit=${commit}`]).then((result) => JSON.parse(result.stdout))
3444
+ ]);
3445
+ if (object.status === "rejected" || pr.status === "rejected" || checks.status === "rejected") throw new Error("GitHub receipt lookup failed");
3446
+ if (input.hosted && (object.value.sha !== commit || object.value.tree?.sha !== input.tree)) throw new Error("Uncommitted hosted changes");
3447
+ if (pr.value.headRefOid !== commit || typeof pr.value.body !== "string" || !pr.value.body.trimEnd().endsWith(`<!-- mikka-issue:${input.github.issueId} -->`)) throw new Error("Unbound pull request");
3448
+ const checked2 = checks.value.data?.repository?.object;
3447
3449
  if (checked2?.oid !== commit || checked2.statusCheckRollup?.state !== "SUCCESS") throw new Error("Incomplete CI");
3448
3450
  } catch {
3449
3451
  throw new Error("The task pull request and successful CI must match the submitted commit");
@@ -3879,7 +3881,7 @@ import { join as join5 } from "node:path";
3879
3881
  // package.json
3880
3882
  var package_default = {
3881
3883
  name: "@mikka/daemon",
3882
- version: "0.0.223",
3884
+ version: "0.0.225",
3883
3885
  description: "Local Mikka daemon: runs agents through the user's own CLIs",
3884
3886
  type: "module",
3885
3887
  private: true,
@@ -3940,7 +3942,7 @@ var package_default = {
3940
3942
  engines: {
3941
3943
  node: ">=24"
3942
3944
  },
3943
- gitHead: "ae7a2460d5e4d9465a0a4f0913782ef738749e11"
3945
+ gitHead: "e1706f1f9700782c3e0bc1bf63e4115ff25af7ec"
3944
3946
  };
3945
3947
 
3946
3948
  // src/paths.ts
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "version": 1,
3
- "sourceSha": "ae7a2460d5e4d9465a0a4f0913782ef738749e11",
3
+ "sourceSha": "e1706f1f9700782c3e0bc1bf63e4115ff25af7ec",
4
4
  "repository": "alexj11324/Mikka",
5
- "buildRunId": "41360174331",
5
+ "buildRunId": "41360718390",
6
6
  "buildKind": "github-actions-main",
7
7
  "sourceLockSha256": "02117c604efb3fc186cc8e19b0f42d24f0da0e2bc2d65fc7c502c209b35aff30",
8
- "createdAt": "2026-11-01T23:35:58.745Z",
8
+ "createdAt": "2026-11-01T23:45:24.809Z",
9
9
  "sbom": "sbom.cdx.json",
10
10
  "files": [
11
11
  {
@@ -45,13 +45,13 @@
45
45
  },
46
46
  {
47
47
  "path": "cli.js",
48
- "size": 655147,
49
- "sha256": "989a7305b5adb3a578d103b3107780b4745d78b99ebea288b84301f8c0c184dd"
48
+ "size": 655501,
49
+ "sha256": "7b142d23393287befec28e2917e3cf28dca5af3f6cded8c11c565244c968b81d"
50
50
  },
51
51
  {
52
52
  "path": "client.js",
53
53
  "size": 142852,
54
- "sha256": "89aed60b7a6a86fecdb241668c38152c0003d1d5b5db87f17f45cd2b66bfa89d"
54
+ "sha256": "fd01995437050df6128bb7d643289701829e939b097a8862004f4d23e24acea2"
55
55
  },
56
56
  {
57
57
  "path": "computer/driver.mjs",
@@ -181,7 +181,7 @@
181
181
  {
182
182
  "path": "http-link.js",
183
183
  "size": 189536,
184
- "sha256": "e49e288fe53fb93c5cf8aeb216571ee166dfadec0325209ecab52467bb4df544"
184
+ "sha256": "f5c510e12eda3fb60b7c40ae8d6918f61b37282710b1eb91848d8ef2d9f6e17d"
185
185
  },
186
186
  {
187
187
  "path": "log.js",
@@ -191,12 +191,12 @@
191
191
  {
192
192
  "path": "login.js",
193
193
  "size": 147707,
194
- "sha256": "f320086133db05f17fbefa9dda40439cdb3d1adbc55698fdf6bc5b3e18a3530f"
194
+ "sha256": "67f09171a0866dcb461893b698176c68854038d84d14fd472d91993c03df3d85"
195
195
  },
196
196
  {
197
197
  "path": "main.js",
198
- "size": 597357,
199
- "sha256": "a4b631de39d6492701cf5e803d471ecb76e45ed2b3b18fdbe8a30c68a6094ac5"
198
+ "size": 597711,
199
+ "sha256": "3f2b71febe67243de3e9fdf247f52ecf91ec4e286af660f991f4e2d2d07e68bd"
200
200
  },
201
201
  {
202
202
  "path": "mikka-mcp.mjs",
@@ -205,23 +205,23 @@
205
205
  },
206
206
  {
207
207
  "path": "mikka.js",
208
- "size": 655163,
209
- "sha256": "ea0e78279a9781755a21b608be16527a84c6e9d6f21e5e7e71f54ea16f9d328a"
208
+ "size": 655517,
209
+ "sha256": "6954fbdeb81c86c1a53686cee7533efcb2db8d174b6c45bb228591282700d7a3"
210
210
  },
211
211
  {
212
212
  "path": "npm-shrinkwrap.json",
213
213
  "size": 78117,
214
- "sha256": "fb57c0c604c6ed6f5142d4d49ca8e04ec792bbc14804a977bc5c6fa9aa29e205"
214
+ "sha256": "9cea9a0cef2935dad5c1395918d48fa366f530af9558eb4c91ff9b8ab7571fe5"
215
215
  },
216
216
  {
217
217
  "path": "package.json",
218
218
  "size": 1247,
219
- "sha256": "d508ee84503c8aa369858c8ca02336183dc28b28e8b7e7102926213ef275374b"
219
+ "sha256": "d40350905a3dffe6a53684f71892d2ebaedc293eb07b8c784c6c3a311ea16869"
220
220
  },
221
221
  {
222
222
  "path": "paths.js",
223
223
  "size": 4300,
224
- "sha256": "40ea08783cb784c26f8b8b2631ff7cf97e8256bd3da1278ab757cd1c3c2ca4ee"
224
+ "sha256": "3d0dea3f805265d39a5681569e1f4cef2ff0a9fb0e7ccb1e1ac7dbe71f6eb981"
225
225
  },
226
226
  {
227
227
  "path": "run-sandbox-worker.mjs",
@@ -236,7 +236,7 @@
236
236
  {
237
237
  "path": "sbom.cdx.json",
238
238
  "size": 144314,
239
- "sha256": "c57d57a4ccab74b248dfa99bf44eec6271fdbc2d882c12bb0289673dced7cbe1"
239
+ "sha256": "7170ef3d58d8c6d0333c88b7de77f80b1f591de787bf32c64048fd3b67804d25"
240
240
  }
241
241
  ]
242
242
  }
package/mikka.js CHANGED
@@ -4520,7 +4520,7 @@ import { join as join4 } from "node:path";
4520
4520
  // package.json
4521
4521
  var package_default = {
4522
4522
  name: "@mikka/daemon",
4523
- version: "0.0.223",
4523
+ version: "0.0.225",
4524
4524
  description: "Local Mikka daemon: runs agents through the user's own CLIs",
4525
4525
  type: "module",
4526
4526
  private: true,
@@ -4581,7 +4581,7 @@ var package_default = {
4581
4581
  engines: {
4582
4582
  node: ">=24"
4583
4583
  },
4584
- gitHead: "ae7a2460d5e4d9465a0a4f0913782ef738749e11"
4584
+ gitHead: "e1706f1f9700782c3e0bc1bf63e4115ff25af7ec"
4585
4585
  };
4586
4586
 
4587
4587
  // src/paths.ts
@@ -7313,16 +7313,18 @@ async function agentPublishedReceipt(input) {
7313
7313
  }
7314
7314
  try {
7315
7315
  const gh = (args) => execa4(join9(receiptDir, "github", "bin", "gh"), args, { cwd: input.worktree, env, extendEnv: false, stdin: "ignore" });
7316
- if (input.hosted) {
7317
- const object = JSON.parse((await gh(["api", `repos/${input.github.repository}/git/commits/${commit}`])).stdout);
7318
- if (object.sha !== commit || object.tree?.sha !== input.tree) throw new Error("Uncommitted hosted changes");
7319
- }
7320
- const pr = JSON.parse((await gh(["pr", "view", input.github.branch, "--repo", input.github.repository, "--json", "headRefOid,body"])).stdout);
7321
- if (pr.headRefOid !== commit || typeof pr.body !== "string" || !pr.body.trimEnd().endsWith(`<!-- mikka-issue:${input.github.issueId} -->`)) throw new Error("Unbound pull request");
7322
7316
  const [owner, repository2] = input.github.repository.split("/");
7323
7317
  const query3 = "query($owner:String!,$repository:String!,$commit:GitObjectID!){repository(owner:$owner,name:$repository){object(oid:$commit){... on Commit {oid statusCheckRollup{state}}}}}";
7324
- const checks = JSON.parse((await gh(["api", "graphql", "-f", `query=${query3}`, "-f", `owner=${owner}`, "-f", `repository=${repository2}`, "-f", `commit=${commit}`])).stdout);
7325
- const checked2 = checks.data?.repository?.object;
7318
+ const [object, pr, checks] = await Promise.allSettled([
7319
+ // Hosted runs verify GitHub's tree, never the writable clone's config.
7320
+ input.hosted ? gh(["api", `repos/${input.github.repository}/git/commits/${commit}`]).then((result) => JSON.parse(result.stdout)) : null,
7321
+ gh(["pr", "view", input.github.branch, "--repo", input.github.repository, "--json", "headRefOid,body"]).then((result) => JSON.parse(result.stdout)),
7322
+ gh(["api", "graphql", "-f", `query=${query3}`, "-f", `owner=${owner}`, "-f", `repository=${repository2}`, "-f", `commit=${commit}`]).then((result) => JSON.parse(result.stdout))
7323
+ ]);
7324
+ if (object.status === "rejected" || pr.status === "rejected" || checks.status === "rejected") throw new Error("GitHub receipt lookup failed");
7325
+ if (input.hosted && (object.value.sha !== commit || object.value.tree?.sha !== input.tree)) throw new Error("Uncommitted hosted changes");
7326
+ if (pr.value.headRefOid !== commit || typeof pr.value.body !== "string" || !pr.value.body.trimEnd().endsWith(`<!-- mikka-issue:${input.github.issueId} -->`)) throw new Error("Unbound pull request");
7327
+ const checked2 = checks.value.data?.repository?.object;
7326
7328
  if (checked2?.oid !== commit || checked2.statusCheckRollup?.state !== "SUCCESS") throw new Error("Incomplete CI");
7327
7329
  } catch {
7328
7330
  throw new Error("The task pull request and successful CI must match the submitted commit");
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@aspectlylabs/mikka",
3
- "version": "0.0.223",
3
+ "version": "0.0.225",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@aspectlylabs/mikka",
9
- "version": "0.0.223",
9
+ "version": "0.0.225",
10
10
  "license": "AGPL-3.0-only",
11
11
  "dependencies": {
12
12
  "@agentclientprotocol/sdk": "1.9.0",
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@aspectlylabs/mikka",
3
- "version": "0.0.223",
3
+ "version": "0.0.225",
4
4
  "description": "Local Mikka daemon: runs agents through the user's own CLIs",
5
- "gitHead": "ae7a2460d5e4d9465a0a4f0913782ef738749e11",
5
+ "gitHead": "e1706f1f9700782c3e0bc1bf63e4115ff25af7ec",
6
6
  "type": "module",
7
7
  "private": false,
8
8
  "license": "AGPL-3.0-only",
package/paths.js CHANGED
@@ -6,7 +6,7 @@ import { join } from "node:path";
6
6
  // package.json
7
7
  var package_default = {
8
8
  name: "@mikka/daemon",
9
- version: "0.0.223",
9
+ version: "0.0.225",
10
10
  description: "Local Mikka daemon: runs agents through the user's own CLIs",
11
11
  type: "module",
12
12
  private: true,
@@ -67,7 +67,7 @@ var package_default = {
67
67
  engines: {
68
68
  node: ">=24"
69
69
  },
70
- gitHead: "ae7a2460d5e4d9465a0a4f0913782ef738749e11"
70
+ gitHead: "e1706f1f9700782c3e0bc1bf63e4115ff25af7ec"
71
71
  };
72
72
 
73
73
  // src/paths.ts
package/sbom.cdx.json CHANGED
@@ -2,10 +2,10 @@
2
2
  "$schema": "http://cyclonedx.org/schema/bom-1.5.schema.json",
3
3
  "bomFormat": "CycloneDX",
4
4
  "specVersion": "1.5",
5
- "serialNumber": "urn:uuid:34ba4caf-e703-4ab9-a519-d159d7f0b3f1",
5
+ "serialNumber": "urn:uuid:94acd747-13d7-4a04-a5d7-f6dc67a16421",
6
6
  "version": 1,
7
7
  "metadata": {
8
- "timestamp": "2026-11-01T23:35:58.032Z",
8
+ "timestamp": "2026-11-01T23:45:23.896Z",
9
9
  "lifecycles": [
10
10
  {
11
11
  "phase": "pre-build"
@@ -19,13 +19,13 @@
19
19
  }
20
20
  ],
21
21
  "component": {
22
- "bom-ref": "@aspectlylabs/mikka@0.0.223",
22
+ "bom-ref": "@aspectlylabs/mikka@0.0.225",
23
23
  "type": "library",
24
- "name": ".retained-build-Bv5Pzd",
25
- "version": "0.0.223",
24
+ "name": ".retained-build-JjC7zx",
25
+ "version": "0.0.225",
26
26
  "scope": "required",
27
27
  "description": "Local Mikka daemon: runs agents through the user's own CLIs",
28
- "purl": "pkg:npm/%40aspectlylabs/mikka@0.0.223",
28
+ "purl": "pkg:npm/%40aspectlylabs/mikka@0.0.225",
29
29
  "properties": [],
30
30
  "externalReferences": [
31
31
  {
@@ -4627,7 +4627,7 @@
4627
4627
  ],
4628
4628
  "dependencies": [
4629
4629
  {
4630
- "ref": "@aspectlylabs/mikka@0.0.223",
4630
+ "ref": "@aspectlylabs/mikka@0.0.225",
4631
4631
  "dependsOn": [
4632
4632
  "@agentclientprotocol/sdk@1.9.0",
4633
4633
  "@anthropic-ai/claude-agent-sdk@0.3.305",