@koalaauto/agentchannel 3.94.0 → 3.95.0

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/dist/src/cli.js CHANGED
@@ -730,7 +730,7 @@ async function dispatch(p, io) {
730
730
  return 0;
731
731
  }
732
732
  case 'inbox': {
733
- const r = v.owner ? await client().ownerInbox() : await client().inbox();
733
+ const r = v.owner ? await client().ownerInbox(true) : await client().inbox();
734
734
  out(io.tty && !v.json ? inboxSummary(r) : r);
735
735
  return 0;
736
736
  }
@@ -832,8 +832,9 @@ export declare class Client {
832
832
  }>;
833
833
  /** Revoke the answer token(s) of a finished answer run (C4). */
834
834
  endRun(taskId: string, run_id: string): Promise<any>;
835
- /** The panel's Inbox of my owner ("Needs me"): what waits for a person, which my own `inbox` does not list. */
836
- ownerInbox(): Promise<Record<string, unknown>>;
835
+ /** The panel's Inbox of my owner: what waits for a person, which my own `inbox` does not list. `all`: with the week's replies and
836
+ * mentions too, which wait for nobody (2026-11-25: one person's was 177 items and 196,000 characters, three of them waiting). */
837
+ ownerInbox(all?: boolean): Promise<Record<string, unknown>>;
837
838
  inbox(): Promise<Inbox>;
838
839
  channels(all?: boolean): Promise<Channel[]>;
839
840
  channelPosts(channel: string, o?: {
@@ -617,9 +617,10 @@ export class Client {
617
617
  async endRun(taskId, run_id) {
618
618
  return this.ach('POST', `/tasks/${enc(taskId)}/end-run`, { run_id });
619
619
  }
620
- /** The panel's Inbox of my owner ("Needs me"): what waits for a person, which my own `inbox` does not list. */
621
- async ownerInbox() {
622
- return this.ach('GET', '/me/inbox');
620
+ /** The panel's Inbox of my owner: what waits for a person, which my own `inbox` does not list. `all`: with the week's replies and
621
+ * mentions too, which wait for nobody (2026-11-25: one person's was 177 items and 196,000 characters, three of them waiting). */
622
+ async ownerInbox(all = false) {
623
+ return this.ach('GET', all ? '/me/inbox' : '/me/inbox?pending=1');
623
624
  }
624
625
  async inbox() {
625
626
  const r = await this.ach('GET', '/inbox');
package/dist/src/ids.d.ts CHANGED
@@ -52,7 +52,7 @@ export declare const KIND: {
52
52
  readonly yoda_acts: "X";
53
53
  };
54
54
  /** Tables without an `id` column of their own (keyed by the ids of other rows). */
55
- export declare const NO_ID_TABLES: readonly ["ach_fts", "artifact_refs", "artifact_versions", "mechanism_versions", "agent_project_memory", "yoda_watch", "agent_rule_files", "agent_rule_versions", "name_changes", "push_recalls", "rate_hits", "text_refs", "todos"];
55
+ export declare const NO_ID_TABLES: readonly ["ach_fts", "artifact_refs", "artifact_versions", "mechanism_versions", "agent_project_memory", "yoda_watch", "waits", "agent_rule_files", "agent_rule_versions", "name_changes", "push_recalls", "rate_hits", "text_refs", "todos"];
56
56
  export type IdTable = keyof typeof KIND;
57
57
  export type IdKind = (typeof KIND)[IdTable];
58
58
  /** Which format newId makes and normalizeId returns: 'legacy' before the cutover migrated the data (2026-11-24), 'kind' since. */
package/dist/src/ids.js CHANGED
@@ -60,7 +60,7 @@ export const KIND = {
60
60
  yoda_acts: 'X',
61
61
  };
62
62
  /** Tables without an `id` column of their own (keyed by the ids of other rows). */
63
- export const NO_ID_TABLES = ['ach_fts', 'artifact_refs', 'artifact_versions', 'mechanism_versions', 'agent_project_memory', 'yoda_watch', 'agent_rule_files', 'agent_rule_versions', 'name_changes', 'push_recalls', 'rate_hits', 'text_refs', 'todos'];
63
+ export const NO_ID_TABLES = ['ach_fts', 'artifact_refs', 'artifact_versions', 'mechanism_versions', 'agent_project_memory', 'yoda_watch', 'waits', 'agent_rule_files', 'agent_rule_versions', 'name_changes', 'push_recalls', 'rate_hits', 'text_refs', 'todos'];
64
64
  /** Which format newId makes and normalizeId returns: 'legacy' before the cutover migrated the data (2026-11-24), 'kind' since. */
65
65
  export const ID_FORMAT = 'kind';
66
66
  const LETTERS = 'PMTHUGCDFKRSIX';
package/dist/src/mcp.js CHANGED
@@ -387,9 +387,9 @@ export function buildMcpServer(client, o = {}) {
387
387
  }));
388
388
  server.registerTool('inbox', { description: 'What needs my attention: tasks sent to me, questions to me, answers and decisions for me, updates on tasks I sent.', inputSchema: {} }, async () => wrap(async () => wrapUntrusted(await client.inbox())));
389
389
  server.registerTool('owner_inbox', {
390
- description: "What waits for MY OWNER (the person): decision requests, escalated questions, tasks to accept, new tasks for my agents. This is the person's panel Inbox, which my own `inbox` does not show. Use it when the owner asks what needs their reply; answer for them only with their say-so (reply with as_owner). An item's `yoda` is what their Yoda said about it: pass it on with the item.",
391
- inputSchema: {},
392
- }, async () => wrap(async () => wrapUntrusted(await client.ownerInbox())));
390
+ description: "What waits for MY OWNER (the person): decision requests, escalated questions, tasks to accept, new tasks for my agents. This is the person's panel Inbox, which my own `inbox` does not show. Use it when the owner asks what needs their reply; answer for them only with their say-so (reply with as_owner). An item's `yoda` is what their Yoda said about it: pass it on with the item. Items with the same `subject` are one matter (one thread or task): present them together. `all: true` adds the last week's replies and mentions, which wait for nobody (long).",
391
+ inputSchema: { all: z.boolean().optional() },
392
+ }, async (a) => wrap(async () => wrapUntrusted(await client.ownerInbox(a.all === true))));
393
393
  server.registerTool('ask', {
394
394
  description: 'Ask a factual question on a task. It goes to the other party\'s agent by default (`to` takes an agent name, not a person); to reach a person, @ them by name in a post or reply. For money, product direction or irreversible actions use request_decision instead.',
395
395
  inputSchema: { task_id: z.string(), question: z.string(), to: z.string().optional(), attachments: ATTACH },
@@ -1,4 +1,4 @@
1
- export declare const VERSION = "3.94.0";
1
+ export declare const VERSION = "3.95.0";
2
2
  /** The npm package (scripts/release.mjs keeps it and VERSION in step with package.json). */
3
3
  export declare const PKG_NAME = "@koalaauto/agentchannel";
4
4
  /**
@@ -1,4 +1,4 @@
1
- export const VERSION = '3.94.0';
1
+ export const VERSION = '3.95.0';
2
2
  /** The npm package (scripts/release.mjs keeps it and VERSION in step with package.json). */
3
3
  export const PKG_NAME = '@koalaauto/agentchannel';
4
4
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@koalaauto/agentchannel",
3
- "version": "3.94.0",
3
+ "version": "3.95.0",
4
4
  "description": "Hand work between your team's agents (Claude Code, Codex) and follow it in one panel: the ach CLI, MCP server and runner for AgentChannel v2",
5
5
  "keywords": [
6
6
  "agentchannel",