Skip to content
Merged
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
9 changes: 1 addition & 8 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

DATABASE_URL=postgres://localhost:5432/workbench

# Public origin used to build OAuth callback URLs. Set it behind a proxy.
# Hub origin the web dev server proxies /api to.
BASE_URL=http://localhost:3000
# PORT=3000

Expand All @@ -31,13 +31,6 @@ PRINCIPAL_KEY_ENCRYPTION_KEY=111111111111111111111111111111111111111111111111111
# Ollama origin also lets `bun run dev` mount the memory plane against it.
# OLLAMA_BASE_URL=http://localhost:11434

# OAuth connectors. Callback: <BASE_URL>/api/tenants/<tenant-id>/connections/oauth/<provider>/callback
# GITHUB_APP_CLIENT_ID=
# GITHUB_APP_CLIENT_SECRET=
# GMAIL_CLIENT_ID=
# GMAIL_CLIENT_SECRET=
# HUGGINGFACE_OAUTH_CLIENT_ID=

# Memory plane (@corbits/memory). Run `bun run setup:memory` to fill these.
# EMBED_BASE_URL=http://localhost:11434
# EMBED_MODEL=nomic-embed-text
Expand Down
11 changes: 6 additions & 5 deletions ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ handful of domain packages built on top.
deploy/run) plus one composition block that adds Corbits libraries —
`@corbits/mailbox` (chat), `@corbits/memory` (recall), `@corbits/artifacts`
(files), `@corbits/cron` (scheduling) — and the remaining in-repo
packages: `connections` (credential catalog and OAuth), `webhook-triggers`
(inbound webhook ingress), `workflows` (author routes), and
`agent-directory`.
packages: `webhook-triggers` (inbound webhook ingress), `workflows`
(author routes), and `agent-directory`. Credentials are stored through
Interchange's own stock credential routes; nothing in this repo wraps
or replaces them.
- **`apps/sidecar`** — a byte-for-byte copy of Interchange's own sidecar.
It executes workflow runs and agent turns on the hub's behalf; Workbench
makes no local changes to it.
Expand Down Expand Up @@ -47,8 +48,8 @@ stock workflow-deploy route. `tools/*` and `skills/*` are ordinary

## Data

Custom tables — `connections`, `webhook-triggers`, `agent-directory`, and
so on — live on their own Postgres schema, each with foreign keys back to
Custom tables — `webhook-triggers`, `agent-directory`, and so on — live
on their own Postgres schema, each with foreign keys back to
Interchange's `tenant`/`principal` tables in `public`. See
[docs/package-migrations.md](docs/package-migrations.md) for how a
package's own migrations are written and applied. Anything Interchange
Expand Down
2 changes: 0 additions & 2 deletions agents/myra/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
},
"devDependencies": {
"@corbits/agent-directory-tools": "workspace:*",
"@corbits/connections": "workspace:*",
"@corbits/connections-tools": "workspace:*",
"@corbits/interaction-tools": "workspace:*",
"@types/bun": "catalog:",
"typescript": "catalog:"
Expand Down
11 changes: 4 additions & 7 deletions agents/myra/src/system-prompt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@ export const ASSISTANT_STEP_ID = "assistant";
* `./index.ts` instead. `@corbits/capability-tools` lets Myra
* self-service a missing tool, skill, or model; the manager-tools
* bundles give Myra real workbench-management capability — a specialist
* agent she can create (each gets their own chat), connection
* visibility, and skill capture — each a thin wrapper over an existing
* platform primitive (see each package's own file-header comment for
* which one). `@corbits/mcp-tools` and `@corbits/interaction-tools`
* expose tenant-connected MCP servers and the ask-user card;
* agent she can create (each gets their own chat) and skill capture —
* each a thin wrapper over an existing platform primitive (see each
* package's own file-header comment for which one).
* `@corbits/interaction-tools` gives her the ask-user card;
* `@corbits/manus-tools` is pinned so Manus tools exist when the tenant
* has connected Manus (launch folds the binding only then — the pin
* itself does not require a credential). `@corbits/access-tools` gives
Expand All @@ -38,10 +37,8 @@ export const ASSISTANT_TOOL_PACKAGE_PINS: readonly ToolPackagePin[] = [
{ name: "@corbits/memory", version: "0.1.2" },
{ name: "@corbits/capability-tools", version: "0.0.7" },
{ name: "@corbits/agent-directory-tools", version: "0.0.7" },
{ name: "@corbits/connections-tools", version: "0.0.12" },
{ name: "@corbits/catalog-tools", version: "0.1.1" },
{ name: "@corbits/skills-tools", version: "0.0.8" },
{ name: "@corbits/mcp-tools", version: "0.0.12" },
{ name: "@corbits/interaction-tools", version: "0.0.11" },
{ name: "@corbits/manus-tools", version: "0.0.12" },
{ name: "@corbits/workflow-authoring-tools", version: "0.0.8" },
Expand Down
Loading
Loading