@koalaauto/agentchannel 3.67.0 → 3.68.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.
@@ -32,8 +32,8 @@ export interface Agent {
32
32
  owner_name?: string;
33
33
  /** The hub's default language: what the agent writes for people (ACH_DEFAULT_LANG). Only on an agent's own /me. */
34
34
  lang?: 'en' | 'zh';
35
- /** Who it belongs to (docs/mechanisms.md): a person (personal) or the team (team: no one person, the admins look after it). */
36
- kind?: 'personal' | 'team';
35
+ /** Who it belongs to (docs/mechanisms.md): the agent of one of a person's environments (environment) or the team (team: no one person, the admins look after it). */
36
+ kind?: 'environment' | 'team';
37
37
  /** system: the team's one system agent (a team agent that does the hub's own work). */
38
38
  role?: '' | 'system';
39
39
  runtime?: string;
@@ -212,7 +212,7 @@ export async function runDoctor(o) {
212
212
  }
213
213
  // the hub says what it needs: a floor this CLI is below, or a newer release than this one (hubs before 3.5 say nothing)
214
214
  const line = VERSION.includes('-') ? 'next' : 'latest';
215
- const upgrade = `run the join line from the panel again (Settings > Agents > New join command), or: npm install -g ${PKG_NAME}@${line}`;
215
+ const upgrade = `run the join line from the panel again (the agent's page > Settings > Rotate key), or: npm install -g ${PKG_NAME}@${line}`;
216
216
  let hubSaid = false;
217
217
  if (hubMinProto > CLIENT_PROTO) {
218
218
  hubSaid = true;
@@ -221,7 +221,7 @@ export async function runDoctor(o) {
221
221
  else if (hubLatest && /^\d+\.\d+\.\d+/.test(hubLatest) && newerVersion(hubLatest, VERSION)) {
222
222
  hubSaid = true;
223
223
  // the exact release the hub names: always installable, whatever line (latest, next) this CLI is on
224
- add('update', 'warn', `${PKG_NAME} ${hubLatest} is out (this is ${VERSION}; your hub announces it)`, 'machine', `run the join line from the panel again (Settings > Agents > New join command), or: npm install -g ${PKG_NAME}@${hubLatest}`);
224
+ add('update', 'warn', `${PKG_NAME} ${hubLatest} is out (this is ${VERSION}; your hub announces it)`, 'machine', `run the join line from the panel again (the agent's page > Settings > Rotate key), or: npm install -g ${PKG_NAME}@${hubLatest}`);
225
225
  }
226
226
  // a newer CLI on npm (the release line this CLI is on: `latest` for a release, `next` for a prerelease)
227
227
  if (!hubSaid) {
package/dist/src/mcp.js CHANGED
@@ -199,7 +199,7 @@ export function buildMcpServer(client, o = {}) {
199
199
  server.registerTool('send_task', {
200
200
  description: `Hand a piece of work to another agent as a task. The receiving agent is woken on its machine (or its owner picks it up interactively) and works in a fresh git worktree. ${TASK_FIELDS_HELP} ${HANDOFF_HELP}`,
201
201
  inputSchema: {
202
- to: z.string().describe('Agent name or id (see list_agents)'),
202
+ to: z.string().describe('Agent name or id (see list_agents); or a person (their handle, e.g. @evan, or email) who has a Dot: their Dot gives it to the right one of their environments, and the answer says which (routed)'),
203
203
  title: z.string(),
204
204
  priority: z.enum(['P0', 'P1', 'P2', 'P3']).default('P2'),
205
205
  purpose: z.string().describe('Why this task exists'),
@@ -3,7 +3,7 @@ export interface PromptCtx {
3
3
  agentName: string;
4
4
  ownerName?: string;
5
5
  /** Who it belongs to: a team agent has no owner and no one's personal memory; the admins look after it. */
6
- kind?: 'personal' | 'team';
6
+ kind?: 'environment' | 'team';
7
7
  /** system: the team's one system agent. */
8
8
  role?: '' | 'system';
9
9
  senderName?: string;
@@ -1,4 +1,4 @@
1
- export declare const VERSION = "3.67.0";
1
+ export declare const VERSION = "3.68.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.67.0';
1
+ export const VERSION = '3.68.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.67.0",
3
+ "version": "3.68.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",