Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/macos/Sources/Mayros/ModelCatalogLoader.swift
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ enum ModelCatalogLoader {
]
for root in roots {
let candidate = root
.appendingPathComponent("node_modules/@mariozechner/pi-ai/dist/models.generated.js")
.appendingPathComponent("node_modules/@earendil-works/pi-ai/dist/models.generated.js")
if FileManager().isReadableFile(atPath: candidate.path) {
return candidate.path
}
Expand Down
2 changes: 1 addition & 1 deletion docs/concepts/oauth.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ mayros models status

## OAuth exchange (how login works)

Mayros’s interactive login flows are implemented in `@mariozechner/pi-ai` and wired into the wizards/commands.
Mayros’s interactive login flows are implemented in `@earendil-works/pi-ai` and wired into the wizards/commands.

### Anthropic (Claude Pro/Max) setup-token

Expand Down
2 changes: 1 addition & 1 deletion docs/gateway/doctor.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Current migrations:
### 2b) OpenCode Zen provider overrides

If you’ve added `models.providers.opencode` (or `opencode-zen`) manually, it
overrides the built-in OpenCode Zen catalog from `@mariozechner/pi-ai`. That can
overrides the built-in OpenCode Zen catalog from `@earendil-works/pi-ai`. That can
force every model onto a single API or zero out costs. Doctor warns so you can
remove the override and restore per-model API routing + costs.

Expand Down
12 changes: 6 additions & 6 deletions docs/pi.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ Mayros uses the pi SDK to embed an AI coding agent into its messaging gateway ar

```json
{
"@mariozechner/pi-agent-core": "0.49.3",
"@mariozechner/pi-ai": "0.49.3",
"@mariozechner/pi-coding-agent": "0.49.3",
"@mariozechner/pi-tui": "0.49.3"
"@earendil-works/pi-agent-core": "0.49.3",
"@earendil-works/pi-ai": "0.49.3",
"@earendil-works/pi-coding-agent": "0.49.3",
"@earendil-works/pi-tui": "0.49.3"
}
```

Expand Down Expand Up @@ -164,7 +164,7 @@ import {
DefaultResourceLoader,
SessionManager,
SettingsManager,
} from "@mariozechner/pi-coding-agent";
} from "@earendil-works/pi-coding-agent";

const resourceLoader = new DefaultResourceLoader({
cwd: resolvedWorkspace,
Expand Down Expand Up @@ -504,7 +504,7 @@ Mayros also has a local TUI mode that uses pi-tui components directly:

```typescript
// src/tui/tui.ts
import { ... } from "@mariozechner/pi-tui";
import { ... } from "@earendil-works/pi-tui";
```

This provides the interactive terminal experience similar to pi's native mode.
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/session-management-compaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ The store is safe to edit, but the Gateway is the authority: it may rewrite or r

## Transcript structure (`*.jsonl`)

Transcripts are managed by `@mariozechner/pi-coding-agent`’s `SessionManager`.
Transcripts are managed by `@earendil-works/pi-coding-agent`’s `SessionManager`.

The file is JSONL:

Expand Down
9 changes: 6 additions & 3 deletions extensions/browser-automation/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ const browserAutomationPlugin = {
},
required: ["url"],
},
execute: async (_toolCallId: string, args: Record<string, unknown>) => {
execute: async (_toolCallId: string, rawArgs: unknown) => {
const args = rawArgs as Record<string, unknown>;
const { BrowserClient } = await import("./browser-client.js");
const client = new BrowserClient();
await client.connect();
Expand Down Expand Up @@ -110,7 +111,8 @@ const browserAutomationPlugin = {
},
required: ["selector"],
},
execute: async (_toolCallId: string, args: Record<string, unknown>) => {
execute: async (_toolCallId: string, rawArgs: unknown) => {
const args = rawArgs as Record<string, unknown>;
const { BrowserClient } = await import("./browser-client.js");
const client = new BrowserClient();
await client.connect();
Expand Down Expand Up @@ -141,7 +143,8 @@ const browserAutomationPlugin = {
},
required: ["expression"],
},
execute: async (_toolCallId: string, args: Record<string, unknown>) => {
execute: async (_toolCallId: string, rawArgs: unknown) => {
const args = rawArgs as Record<string, unknown>;
const { BrowserClient } = await import("./browser-client.js");
const client = new BrowserClient();
await client.connect();
Expand Down
16 changes: 6 additions & 10 deletions extensions/kakeru-bridge/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,13 @@ const kakeruPlugin = {
),
timeout: Type.Optional(Type.Number({ description: "Timeout in ms" })),
}),
execute: async (
_toolCallId: string,
params: {
execute: async (_toolCallId: string, rawParams: unknown) => {
const params = rawParams as {
platform: string;
prompt: string;
workDir?: string;
timeout?: number;
},
) => {
};
const bridge = coordinator.getBridge(params.platform);
if (!bridge) {
return {
Expand Down Expand Up @@ -148,12 +146,10 @@ const kakeruPlugin = {
}),
),
}),
execute: async (
_toolCallId: string,
params: {
execute: async (_toolCallId: string, rawParams: unknown) => {
const params = rawParams as {
tasks: Array<{ platform: string; prompt: string; filePaths?: string[] }>;
},
) => {
};
const workDir =
((api.config as Record<string, unknown> | undefined)?.workspaceDir as
| string
Expand Down
2 changes: 1 addition & 1 deletion extensions/matrix/src/tool-actions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { AgentToolResult } from "@mariozechner/pi-agent-core";
import type { AgentToolResult } from "@earendil-works/pi-agent-core";
import {
createActionGate,
jsonResult,
Expand Down
8 changes: 3 additions & 5 deletions extensions/osameru-governance/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,15 +182,13 @@ const osameruPlugin = {
),
limit: Type.Optional(Type.Number({ description: "Max entries to return" })),
}),
execute: async (
_toolCallId: string,
params: {
execute: async (_toolCallId: string, rawParams: unknown) => {
const params = rawParams as {
event?: string;
actor?: string;
decision?: string;
limit?: number;
},
) => {
};
const entries = await auditTrail.query(params);
return {
content: [
Expand Down
10 changes: 9 additions & 1 deletion extensions/voice-call/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,15 @@ const voiceCallPlugin = {
label: "Voice Call",
description: "Make phone calls and have voice conversations via the voice-call plugin.",
parameters: VoiceCallToolSchema,
async execute(_toolCallId, params) {
async execute(_toolCallId, rawParams) {
const params = rawParams as {
action?: string;
message?: string;
to?: string;
mode?: string;
callId?: string;
sid?: string;
};
const json = (payload: unknown) => ({
content: [{ type: "text" as const, text: JSON.stringify(payload, null, 2) }],
details: payload,
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,15 +164,15 @@
"@buape/carbon": "0.0.0-beta-20260216184201",
"@clack/prompts": "^1.0.1",
"@discordjs/voice": "^0.19.0",
"@earendil-works/pi-agent-core": "^0.80.2",
"@earendil-works/pi-ai": "^0.80.2",
"@earendil-works/pi-coding-agent": "^0.80.2",
"@earendil-works/pi-tui": "^0.80.2",
"@grammyjs/runner": "^2.0.3",
"@grammyjs/transformer-throttler": "^1.2.1",
"@homebridge/ciao": "^1.3.5",
"@line/bot-sdk": "^10.6.0",
"@lydell/node-pty": "1.2.0-beta.3",
"@mariozechner/pi-agent-core": "0.54.0",
"@mariozechner/pi-ai": "0.54.0",
"@mariozechner/pi-coding-agent": "0.54.0",
"@mariozechner/pi-tui": "0.54.0",
"@mozilla/readability": "^0.6.0",
"@noble/curves": "^2.0.1",
"@sinclair/typebox": "0.34.48",
Expand Down Expand Up @@ -249,6 +249,7 @@
"pnpm": {
"minimumReleaseAge": 2880,
"overrides": {
"@apilium/mayros": "workspace:*",
"hono": "4.12.7",
"@hono/node-server": "1.19.10",
"fast-xml-parser": ">=5.5.7",
Expand Down
Loading
Loading