@aspectlylabs/mikka 0.0.201 → 0.0.203
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/capture-copy.mjs +26 -0
- package/cli.js +437 -245
- package/client.js +16 -6
- package/http-link.js +706 -692
- package/login.js +61 -53
- package/main.js +385 -197
- package/mikka-release-manifest.json +25 -20
- package/mikka.js +437 -245
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
- package/paths.js +5 -4
- package/sbom.cdx.json +7 -7
package/client.js
CHANGED
|
@@ -3174,10 +3174,19 @@ var runCommandSchema = z14.discriminatedUnion("kind", [
|
|
|
3174
3174
|
messageId: z14.uuid(),
|
|
3175
3175
|
text: z14.string().min(1).max(1e5)
|
|
3176
3176
|
}),
|
|
3177
|
-
z14.object({ kind: z14.literal("stop"), runId: id2 })
|
|
3177
|
+
z14.object({ kind: z14.literal("stop"), runId: id2 }),
|
|
3178
|
+
// A host notification carries addresses only; peer content remains behind
|
|
3179
|
+
// the authenticated mailbox read and retains its original provenance.
|
|
3180
|
+
z14.object({ kind: z14.literal("mailbox_notice"), runId: id2, messageIds: z14.array(z14.uuid()).min(1).max(50) })
|
|
3178
3181
|
]);
|
|
3179
3182
|
var runCommandsResponse = z14.object({
|
|
3180
|
-
commands: z14.array(runCommandSchema).max(500)
|
|
3183
|
+
commands: z14.array(runCommandSchema).max(500),
|
|
3184
|
+
/**
|
|
3185
|
+
* Runs queued for this device (outside `skip`), so it claims them now
|
|
3186
|
+
* instead of on its next heartbeat. A queued run also ends the long-poll.
|
|
3187
|
+
* Absent from older servers; the heartbeat still claims either way.
|
|
3188
|
+
*/
|
|
3189
|
+
queuedRuns: z14.array(id2).max(100).optional()
|
|
3181
3190
|
});
|
|
3182
3191
|
var runCommandsAck = z14.object({
|
|
3183
3192
|
delivered: z14.array(z14.uuid()).max(500)
|
|
@@ -3754,7 +3763,7 @@ import { join } from "node:path";
|
|
|
3754
3763
|
// package.json
|
|
3755
3764
|
var package_default = {
|
|
3756
3765
|
name: "@mikka/daemon",
|
|
3757
|
-
version: "0.0.
|
|
3766
|
+
version: "0.0.203",
|
|
3758
3767
|
description: "Local Mikka daemon: runs agents through the user's own CLIs",
|
|
3759
3768
|
type: "module",
|
|
3760
3769
|
private: true,
|
|
@@ -3778,7 +3787,7 @@ var package_default = {
|
|
|
3778
3787
|
daemon: "tsx bin/mikka.ts daemon",
|
|
3779
3788
|
dev: "tsx watch bin/mikka.ts daemon --dev --server memory",
|
|
3780
3789
|
typecheck: "tsgo --noEmit -p tsconfig.json",
|
|
3781
|
-
test: "vitest run && pnpm test:mailbox-cli && pnpm test:repository-identity && pnpm test:github-credentials",
|
|
3790
|
+
test: "vitest run && pnpm test:mailbox-cli && pnpm test:repository-identity && pnpm test:github-credentials && pnpm test:local-git-origin-sandbox",
|
|
3782
3791
|
"test:mailbox-cli": "node --import tsx --test --test-timeout=60000 test/run-mailbox.node-test.ts",
|
|
3783
3792
|
"codex:types": 'codex app-server generate-ts --out "${TMPDIR:-/tmp}/mikka-codex-types" && echo "Generated; compare v2/ with src/adapters/codex-protocol.ts"',
|
|
3784
3793
|
"test:real": "MIKKA_REAL_AGENTS=${MIKKA_REAL_AGENTS:-claude_code,codex,cursor} vitest run test/real-agents.test.ts",
|
|
@@ -3787,7 +3796,8 @@ var package_default = {
|
|
|
3787
3796
|
"test:package": "node --test test/package.test.mjs",
|
|
3788
3797
|
"test:repository-identity": "node --experimental-strip-types --test test/repository-identity-pure.node-test.ts",
|
|
3789
3798
|
"test:github-credentials": "node --test test/github-credentials.node-test.mjs",
|
|
3790
|
-
"test:run-container": "node --import tsx --test --test-timeout=900000 test/run-container.docker-test.ts"
|
|
3799
|
+
"test:run-container": "node --import tsx --test --test-timeout=900000 test/run-container.docker-test.ts",
|
|
3800
|
+
"test:local-git-origin-sandbox": "node --import tsx --test --test-timeout=60000 test/local-git-origin.sandbox-test.ts"
|
|
3791
3801
|
},
|
|
3792
3802
|
dependencies: {
|
|
3793
3803
|
"@agentclientprotocol/sdk": "1.9.0",
|
|
@@ -3814,7 +3824,7 @@ var package_default = {
|
|
|
3814
3824
|
engines: {
|
|
3815
3825
|
node: ">=24"
|
|
3816
3826
|
},
|
|
3817
|
-
gitHead: "
|
|
3827
|
+
gitHead: "6edfa68943e22c87524d63e582ebdaf28d0f2bf0"
|
|
3818
3828
|
};
|
|
3819
3829
|
|
|
3820
3830
|
// src/paths.ts
|