Linger is An Open-Source Personal Agent That Runs Fully on Your PC. We aim to break Big Tech’s grip on AI by bringing powerful local AI to everyday computers through efficient model–harness co-design, so everyone can run their own.
fix(agent): allow proactive decks without clarification cards
muterC799e1feccda6
diff --git a/apps/node-services/src/agent/prompt/compact-meta-instructions.ts b/apps/node-services/src/agent/prompt/compact-meta-instructions.tsindex 5e5b8c62..ebc6dac2 100644--- a/apps/node-services/src/agent/prompt/compact-meta-instructions.ts+++ b/apps/node-services/src/agent/prompt/compact-meta-instructions.ts@@ -167,7 +167,7 @@ const commands = (teamhub message ask-user --title "Team outing" --questions '[{"question":"Where should we go?","options":["Hotpot","BBQ"]}]'Add "multiple": true to allow several options. Every question must be answered. Ask an open question or a missing fact in your reply instead.- To show something the person looks at or uses here and now (a quick chart, dashboard, checklist or small tool), send it inline as a chat card (read the chat-card skill first); use the artifact skill only for a file to share, print, present or keep, or when a file is asked for.-- For a new deck or PPT, first ask for any missing audience, style or number of slides with one question card, and read the slide-deck skill before starting its Task; build new .pptx decks with the built-in pptx skill, even when another Skill also covers presentations.+- For a Human-requested deck or PPT, first ask for any missing audience, style or number of slides with one question card, and read the slide-deck skill before starting its Task. For proactive preparation, infer the audience, style and slide count from the occasion without a question card. Build new .pptx decks with the built-in pptx skill, even when another Skill also covers presentations.- Agents: teamhub room invite --agent-id <actor-id> brings an Agent from teamhub agent list into this Room (not a direct chat); teamhub agent create --name "<name>" --prompt "<working instructions>" adds a new teammate; ${agentType === "anotherme" ? 'teamhub agent update --agent-id <actor-id> --prompt "..." changes an Agent you manage' : 'teamhub agent update --prompt "..." changes you, or add --agent-id <actor-id> for an Agent you manage'}. A change to an established Agent waits for approval.${connectedApps ? connectedAppsCommands(connectedAppKeys) : ""}- With --operation-id, use a unique id per write; after an unknown outcome, rerun the same command with the id the error printed.`;diff --git a/apps/node-services/src/agent/prompt/meta-instructions.ts b/apps/node-services/src/agent/prompt/meta-instructions.tsindex 2aa0f477..d7c06511 100644--- a/apps/node-services/src/agent/prompt/meta-instructions.ts+++ b/apps/node-services/src/agent/prompt/meta-instructions.ts@@ -249,7 +249,7 @@ const commands = (- A casual question in conversation still goes in your reply.- Chat cards: to show something the person looks at or uses right here, now (a quick chart, dashboard, checklist, tracker or small calculator, or a result clearer drawn than written), send it inline as a chat card, never as an .html file or an image. Read the chat-card skill before writing one.Build a designed file with the artifact skill only when the piece is for others or for later: to share, print, present or keep (a poster, one-pager, report or landing page), or when the person asks for a file, page or link. When both fit, send the chat card and offer the file in one line.-- Decks: for a new slide deck or PPT, when the request leaves out the audience, style or number of slides, first ask for the missing ones with one question card. Read the slide-deck skill before starting its Task. Build new .pptx decks with the built-in pptx skill, even when another installed Skill also covers presentations, and name it in the Task requirement.+- Decks: for a Human-requested slide deck or PPT, when the request leaves out the audience, style or number of slides, first ask for the missing ones with one question card. Read the slide-deck skill before starting its Task. For proactive preparation, infer the audience, style and slide count from the occasion without a question card. Build new .pptx decks with the built-in pptx skill, even when another installed Skill also covers presentations, and name it in the Task requirement.- Agents: invite an existing Agent to this Room with teamhub room invite --agent-id <actor-id> (ids from teamhub agent list; a direct chat keeps its members), add a new teammate with teamhub agent create, and change ${agentType === "anotherme" ? "an Agent" : "yourself or an Agent"} you manage with teamhub agent update. A new Agent in a direct chat, or a change to an established identity, waits for your Sponsor's approval card.- For commands with --operation-id, use a unique id per logical write, and after an unknown outcome rerun the exact same command with the operation id the error printed. Without --operation-id every run is a new write. An operation id doesn't replace Document version checks.- Use help for less common commands, such as Document editing, knowledge, ${connectedApps ? "Skills, and Connected Apps" : "and Skills"}. The current tool inventory is authoritative.`;diff --git a/apps/node-services/tests/agent/__golden__/executor-hook-trace/cold-then-hot.jsonl b/apps/node-services/tests/agent/__golden__/executor-hook-trace/cold-then-hot.jsonlindex 857d499c..ce166674 100644--- a/apps/node-services/tests/agent/__golden__/executor-hook-trace/cold-then-hot.jsonl+++ b/apps/node-services/tests/agent/__golden__/executor-hook-trace/cold-then-hot.jsonl@@ -2,7 +2,7 @@{"hook":"context.onContextBound","context":{"kind":"meta","agentId":"agent-trace","roomId":"room-trace"},"bootstrap":"new"}{"step":"state.enqueueTrustedTurn","messageIds":["m-1"],"runId":"run-1"}{"hook":"activation.prepareRuntime","context":{"kind":"meta","agentId":"agent-trace","roomId":"room-trace"},"newSession":true}-{"step":"backend.activate","developerInstructions":"sha256:9f5586a54d7ab037","mappings":1}+{"step":"backend.activate","developerInstructions":"sha256:3691ca18aa50fd6e","mappings":1}{"step":"provider.createSession"}{"step":"state.claimLocalRun","runId":"run-1","messageIds":["m-1"]}{"hook":"context.prepareInput","messageId":"m-1"}diff --git a/apps/node-services/tests/agent/__golden__/executor-hook-trace/developer-instructions.txt b/apps/node-services/tests/agent/__golden__/executor-hook-trace/developer-instructions.txtindex d6fef8b5..c79bb77a 100644--- a/apps/node-services/tests/agent/__golden__/executor-hook-trace/developer-instructions.txt+++ b/apps/node-services/tests/agent/__golden__/executor-hook-trace/developer-instructions.txt@@ -135,7 +135,7 @@ TeamHub commands- A casual question in conversation still goes in your reply.- Chat cards: to show something the person looks at or uses right here, now (a quick chart, dashboard, checklist, tracker or small calculator, or a result clearer drawn than written), send it inline as a chat card, never as an .html file or an image. Read the chat-card skill before writing one.Build a designed file with the artifact skill only when the piece is for others or for later: to share, print, present or keep (a poster, one-pager, report or landing page), or when the person asks for a file, page or link. When both fit, send the chat card and offer the file in one line.-- Decks: for a new slide deck or PPT, when the request leaves out the audience, style or number of slides, first ask for the missing ones with one question card. Read the slide-deck skill before starting its Task. Build new .pptx decks with the built-in pptx skill, even when another installed Skill also covers presentations, and name it in the Task requirement.+- Decks: for a Human-requested slide deck or PPT, when the request leaves out the audience, style or number of slides, first ask for the missing ones with one question card. Read the slide-deck skill before starting its Task. For proactive preparation, infer the audience, style and slide count from the occasion without a question card. Build new .pptx decks with the built-in pptx skill, even when another installed Skill also covers presentations, and name it in the Task requirement.- Agents: invite an existing Agent to this Room with teamhub room invite --agent-id <actor-id> (ids from teamhub agent list; a direct chat keeps its members), add a new teammate with teamhub agent create, and change yourself or an Agent you manage with teamhub agent update. A new Agent in a direct chat, or a change to an established identity, waits for your Sponsor's approval card.- For commands with --operation-id, use a unique id per logical write, and after an unknown outcome rerun the exact same command with the operation id the error printed. Without --operation-id every run is a new write. An operation id doesn't replace Document version checks.- Use help for less common commands, such as Document editing, knowledge, Skills, and Connected Apps. The current tool inventory is authoritative.diff --git a/apps/node-services/tests/agent/__golden__/executor-hook-trace/release.jsonl b/apps/node-services/tests/agent/__golden__/executor-hook-trace/release.jsonlindex f98966e9..30decf50 100644--- a/apps/node-services/tests/agent/__golden__/executor-hook-trace/release.jsonl+++ b/apps/node-services/tests/agent/__golden__/executor-hook-trace/release.jsonl@@ -2,7 +2,7 @@{"hook":"context.onContextBound","context":{"kind":"meta","agentId":"agent-trace","roomId":"room-trace"},"bootstrap":"new"}{"step":"state.enqueueTrustedTurn","messageIds":["m-1"],"runId":"run-1"}{"hook":"activation.prepareRuntime","context":{"kind":"meta","agentId":"agent-trace","roomId":"room-trace"},"newSession":true}-{"step":"backend.activate","developerInstructions":"sha256:9f5586a54d7ab037","mappings":1}+{"step":"backend.activate","developerInstructions":"sha256:3691ca18aa50fd6e","mappings":1}{"step":"provider.createSession"}{"step":"state.claimLocalRun","runId":"run-1","messageIds":["m-1"]}{"hook":"context.prepareInput","messageId":"m-1"}diff --git a/apps/node-services/tests/agent/__golden__/executor-hook-trace/run-canceled.jsonl b/apps/node-services/tests/agent/__golden__/executor-hook-trace/run-canceled.jsonlindex 66789e85..d477de10 100644--- a/apps/node-services/tests/agent/__golden__/executor-hook-trace/run-canceled.jsonl+++ b/apps/node-services/tests/agent/__golden__/executor-hook-trace/run-canceled.jsonl@@ -2,7 +2,7 @@{"hook":"context.onContextBound","context":{"kind":"meta","agentId":"agent-trace","roomId":"room-trace"},"bootstrap":"new"}{"step":"state.enqueueTrustedTurn","messageIds":["m-1"],"runId":"run-1"}{"hook":"activation.prepareRuntime","context":{"kind":"meta","agentId":"agent-trace","roomId":"room-trace"},"newSession":true}-{"step":"backend.activate","developerInstructions":"sha256:9f5586a54d7ab037","mappings":1}+{"step":"backend.activate","developerInstructions":"sha256:3691ca18aa50fd6e","mappings":1}{"step":"provider.createSession"}{"step":"state.claimLocalRun","runId":"run-1","messageIds":["m-1"]}{"hook":"context.prepareInput","messageId":"m-1"}diff --git a/apps/node-services/tests/agent/__golden__/executor-hook-trace/run-failed.jsonl b/apps/node-services/tests/agent/__golden__/executor-hook-trace/run-failed.jsonlindex 6020a244..1a518487 100644--- a/apps/node-services/tests/agent/__golden__/executor-hook-trace/run-failed.jsonl+++ b/apps/node-services/tests/agent/__golden__/executor-hook-trace/run-failed.jsonl@@ -2,7 +2,7 @@{"hook":"context.onContextBound","context":{"kind":"meta","agentId":"agent-trace","roomId":"room-trace"},"bootstrap":"new"}{"step":"state.enqueueTrustedTurn","messageIds":["m-1"],"runId":"run-1"}{"hook":"activation.prepareRuntime","context":{"kind":"meta","agentId":"agent-trace","roomId":"room-trace"},"newSession":true}-{"step":"backend.activate","developerInstructions":"sha256:9f5586a54d7ab037","mappings":1}+{"step":"backend.activate","developerInstructions":"sha256:3691ca18aa50fd6e","mappings":1}{"step":"provider.createSession"}{"step":"state.claimLocalRun","runId":"run-1","messageIds":["m-1"]}{"hook":"context.prepareInput","messageId":"m-1"}diff --git a/apps/node-services/tests/agent/__golden__/executor-hook-trace/steer.jsonl b/apps/node-services/tests/agent/__golden__/executor-hook-trace/steer.jsonlindex 2cbdd47b..23c41b36 100644--- a/apps/node-services/tests/agent/__golden__/executor-hook-trace/steer.jsonl+++ b/apps/node-services/tests/agent/__golden__/executor-hook-trace/steer.jsonl@@ -2,7 +2,7 @@{"hook":"context.onContextBound","context":{"kind":"meta","agentId":"agent-trace","roomId":"room-trace"},"bootstrap":"new"}{"step":"state.enqueueTrustedTurn","messageIds":["m-1"],"runId":"run-1"}{"hook":"activation.prepareRuntime","context":{"kind":"meta","agentId":"agent-trace","roomId":"room-trace"},"newSession":true}-{"step":"backend.activate","developerInstructions":"sha256:9f5586a54d7ab037","mappings":1}+{"step":"backend.activate","developerInstructions":"sha256:3691ca18aa50fd6e","mappings":1}{"step":"provider.createSession"}{"step":"state.claimLocalRun","runId":"run-1","messageIds":["m-1"]}{"hook":"context.prepareInput","messageId":"m-1"}diff --git a/apps/node-services/tests/agent/__golden__/executor-hook-trace/stop-during-submit.jsonl b/apps/node-services/tests/agent/__golden__/executor-hook-trace/stop-during-submit.jsonlindex d8f2090e..5b223878 100644--- a/apps/node-services/tests/agent/__golden__/executor-hook-trace/stop-during-submit.jsonl+++ b/apps/node-services/tests/agent/__golden__/executor-hook-trace/stop-during-submit.jsonl@@ -2,7 +2,7 @@{"hook":"context.onContextBound","context":{"kind":"meta","agentId":"agent-trace","roomId":"room-trace"},"bootstrap":"new"}{"step":"state.enqueueTrustedTurn","messageIds":["m-1"],"runId":"run-1"}{"hook":"activation.prepareRuntime","context":{"kind":"meta","agentId":"agent-trace","roomId":"room-trace"},"newSession":true}-{"step":"backend.activate","developerInstructions":"sha256:9f5586a54d7ab037","mappings":1}+{"step":"backend.activate","developerInstructions":"sha256:3691ca18aa50fd6e","mappings":1}{"mark":"stop during submit"}{"step":"state.enqueueTrustedTurn","messageIds":["m-1"],"runId":"run-1"}{"step":"state.cancelLocalRun","runId":"run-1","status":"canceled"}diff --git a/apps/node-services/tests/agent/__golden__/executor-hook-trace/throwing-handlers.jsonl b/apps/node-services/tests/agent/__golden__/executor-hook-trace/throwing-handlers.jsonlindex e04c292b..ce94795c 100644--- a/apps/node-services/tests/agent/__golden__/executor-hook-trace/throwing-handlers.jsonl+++ b/apps/node-services/tests/agent/__golden__/executor-hook-trace/throwing-handlers.jsonl@@ -2,7 +2,7 @@{"hook":"context.onContextBound","context":{"kind":"meta","agentId":"agent-trace","roomId":"room-trace"},"bootstrap":"new"}{"step":"state.enqueueTrustedTurn","messageIds":["m-1"],"runId":"run-1"}{"hook":"activation.prepareRuntime","context":{"kind":"meta","agentId":"agent-trace","roomId":"room-trace"},"newSession":true}-{"step":"backend.activate","developerInstructions":"sha256:9f5586a54d7ab037","mappings":1}+{"step":"backend.activate","developerInstructions":"sha256:3691ca18aa50fd6e","mappings":1}{"step":"provider.createSession"}{"step":"state.claimLocalRun","runId":"run-1","messageIds":["m-1"]}{"hook":"context.prepareInput","messageId":"m-1"}diff --git a/apps/node-services/tests/agent/__golden__/executor-hook-trace/throwing-input-hook.jsonl b/apps/node-services/tests/agent/__golden__/executor-hook-trace/throwing-input-hook.jsonlindex d339f636..9490a8d5 100644--- a/apps/node-services/tests/agent/__golden__/executor-hook-trace/throwing-input-hook.jsonl+++ b/apps/node-services/tests/agent/__golden__/executor-hook-trace/throwing-input-hook.jsonl@@ -2,7 +2,7 @@{"hook":"context.onContextBound","context":{"kind":"meta","agentId":"agent-trace","roomId":"room-trace"},"bootstrap":"new"}{"step":"state.enqueueTrustedTurn","messageIds":["m-1"],"runId":"run-1"}{"hook":"activation.prepareRuntime","context":{"kind":"meta","agentId":"agent-trace","roomId":"room-trace"},"newSession":true}-{"step":"backend.activate","developerInstructions":"sha256:9f5586a54d7ab037","mappings":1}+{"step":"backend.activate","developerInstructions":"sha256:3691ca18aa50fd6e","mappings":1}{"step":"provider.createSession"}{"step":"state.claimLocalRun","runId":"run-1","messageIds":["m-1"]}{"hook":"prepareInput","feature":"trace-failing","threw":true}diff --git a/apps/node-services/tests/agent/__golden__/executor-hook-trace/timer-maintenance.jsonl b/apps/node-services/tests/agent/__golden__/executor-hook-trace/timer-maintenance.jsonlindex c08322e1..fb056324 100644--- a/apps/node-services/tests/agent/__golden__/executor-hook-trace/timer-maintenance.jsonl+++ b/apps/node-services/tests/agent/__golden__/executor-hook-trace/timer-maintenance.jsonl@@ -2,7 +2,7 @@{"hook":"context.onContextBound","context":{"kind":"meta","agentId":"agent-trace","roomId":"room-trace"},"bootstrap":"new"}{"step":"state.enqueueTrustedTurn","messageIds":["m-1"],"runId":"run-1"}{"hook":"activation.prepareRuntime","context":{"kind":"meta","agentId":"agent-trace","roomId":"room-trace"},"newSession":true}-{"step":"backend.activate","developerInstructions":"sha256:9f5586a54d7ab037","mappings":1}+{"step":"backend.activate","developerInstructions":"sha256:3691ca18aa50fd6e","mappings":1}{"step":"provider.createSession"}{"step":"state.claimLocalRun","runId":"run-1","messageIds":["m-1"]}{"hook":"context.prepareInput","messageId":"m-1"}diff --git a/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-anotherme-collaboration-compact.txt b/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-anotherme-collaboration-compact.txtindex f5b8e8c5..9bbe844b 100644--- a/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-anotherme-collaboration-compact.txt+++ b/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-anotherme-collaboration-compact.txt@@ -77,7 +77,7 @@ TeamHub commands, all run through your shell tool (teamhub <domain> <action> --hteamhub message ask-user --title "Team outing" --questions '[{"question":"Where should we go?","options":["Hotpot","BBQ"]}]'Add "multiple": true to allow several options. Every question must be answered. Ask an open question or a missing fact in your reply instead.- To show something the person looks at or uses here and now (a quick chart, dashboard, checklist or small tool), send it inline as a chat card (read the chat-card skill first); use the artifact skill only for a file to share, print, present or keep, or when a file is asked for.-- For a new deck or PPT, first ask for any missing audience, style or number of slides with one question card, and read the slide-deck skill before starting its Task; build new .pptx decks with the built-in pptx skill, even when another Skill also covers presentations.+- For a Human-requested deck or PPT, first ask for any missing audience, style or number of slides with one question card, and read the slide-deck skill before starting its Task. For proactive preparation, infer the audience, style and slide count from the occasion without a question card. Build new .pptx decks with the built-in pptx skill, even when another Skill also covers presentations.- Agents: teamhub room invite --agent-id <actor-id> brings an Agent from teamhub agent list into this Room (not a direct chat); teamhub agent create --name "<name>" --prompt "<working instructions>" adds a new teammate; teamhub agent update --agent-id <actor-id> --prompt "..." changes an Agent you manage. A change to an established Agent waits for approval.- Connected apps: gmail, outlook, gcal, gdrive, slack, notion, and figma have their own commands (teamhub gmail --help). For other apps, find the tool with teamhub apps search "<the action in English, with the app name>", then run teamhub apps execute --connectionId <id> --toolSlug <slug> --toolVersion <version> --arguments '<json>'. When this Run started, these apps had an account you can use: gmail, google_calendar; use them without checking first, and check teamhub apps list only when the Human says they connected or disconnected an app during this conversation or a command reports that the account is not connected. When an app the Human wants to use has no account, teamhub apps connect <app-key> posts an authorization card. Never resend a write whose outcome is unknown; check the app first.- With --operation-id, use a unique id per write; after an unknown outcome, rerun the same command with the id the error printed.diff --git a/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-anotherme-collaboration-unconfigured.txt b/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-anotherme-collaboration-unconfigured.txtindex 9854db91..60b0f3a1 100644--- a/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-anotherme-collaboration-unconfigured.txt+++ b/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-anotherme-collaboration-unconfigured.txt@@ -140,7 +140,7 @@ TeamHub commands- A casual question in conversation still goes in your reply.- Chat cards: to show something the person looks at or uses right here, now (a quick chart, dashboard, checklist, tracker or small calculator, or a result clearer drawn than written), send it inline as a chat card, never as an .html file or an image. Read the chat-card skill before writing one.Build a designed file with the artifact skill only when the piece is for others or for later: to share, print, present or keep (a poster, one-pager, report or landing page), or when the person asks for a file, page or link. When both fit, send the chat card and offer the file in one line.-- Decks: for a new slide deck or PPT, when the request leaves out the audience, style or number of slides, first ask for the missing ones with one question card. Read the slide-deck skill before starting its Task. Build new .pptx decks with the built-in pptx skill, even when another installed Skill also covers presentations, and name it in the Task requirement.+- Decks: for a Human-requested slide deck or PPT, when the request leaves out the audience, style or number of slides, first ask for the missing ones with one question card. Read the slide-deck skill before starting its Task. For proactive preparation, infer the audience, style and slide count from the occasion without a question card. Build new .pptx decks with the built-in pptx skill, even when another installed Skill also covers presentations, and name it in the Task requirement.- Agents: invite an existing Agent to this Room with teamhub room invite --agent-id <actor-id> (ids from teamhub agent list; a direct chat keeps its members), add a new teammate with teamhub agent create, and change an Agent you manage with teamhub agent update. A new Agent in a direct chat, or a change to an established identity, waits for your Sponsor's approval card.- For commands with --operation-id, use a unique id per logical write, and after an unknown outcome rerun the exact same command with the operation id the error printed. Without --operation-id every run is a new write. An operation id doesn't replace Document version checks.- Use help for less common commands, such as Document editing, knowledge, and Skills. The current tool inventory is authoritative.diff --git a/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-anotherme-collaboration.txt b/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-anotherme-collaboration.txtindex 53b8c778..f2cd5f0a 100644--- a/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-anotherme-collaboration.txt+++ b/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-anotherme-collaboration.txt@@ -141,7 +141,7 @@ TeamHub commands- A casual question in conversation still goes in your reply.- Chat cards: to show something the person looks at or uses right here, now (a quick chart, dashboard, checklist, tracker or small calculator, or a result clearer drawn than written), send it inline as a chat card, never as an .html file or an image. Read the chat-card skill before writing one.Build a designed file with the artifact skill only when the piece is for others or for later: to share, print, present or keep (a poster, one-pager, report or landing page), or when the person asks for a file, page or link. When both fit, send the chat card and offer the file in one line.-- Decks: for a new slide deck or PPT, when the request leaves out the audience, style or number of slides, first ask for the missing ones with one question card. Read the slide-deck skill before starting its Task. Build new .pptx decks with the built-in pptx skill, even when another installed Skill also covers presentations, and name it in the Task requirement.+- Decks: for a Human-requested slide deck or PPT, when the request leaves out the audience, style or number of slides, first ask for the missing ones with one question card. Read the slide-deck skill before starting its Task. For proactive preparation, infer the audience, style and slide count from the occasion without a question card. Build new .pptx decks with the built-in pptx skill, even when another installed Skill also covers presentations, and name it in the Task requirement.- Agents: invite an existing Agent to this Room with teamhub room invite --agent-id <actor-id> (ids from teamhub agent list; a direct chat keeps its members), add a new teammate with teamhub agent create, and change an Agent you manage with teamhub agent update. A new Agent in a direct chat, or a change to an established identity, waits for your Sponsor's approval card.- For commands with --operation-id, use a unique id per logical write, and after an unknown outcome rerun the exact same command with the operation id the error printed. Without --operation-id every run is a new write. An operation id doesn't replace Document version checks.- Use help for less common commands, such as Document editing, knowledge, Skills, and Connected Apps. The current tool inventory is authoritative.diff --git a/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-anotherme-direct-compact.txt b/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-anotherme-direct-compact.txtindex a6d37968..47d811a4 100644--- a/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-anotherme-direct-compact.txt+++ b/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-anotherme-direct-compact.txt@@ -69,7 +69,7 @@ TeamHub commands, all run through your shell tool (teamhub <domain> <action> --hteamhub message ask-user --title "Team outing" --questions '[{"question":"Where should we go?","options":["Hotpot","BBQ"]}]'Add "multiple": true to allow several options. Every question must be answered. Ask an open question or a missing fact in your reply instead.- To show something the person looks at or uses here and now (a quick chart, dashboard, checklist or small tool), send it inline as a chat card (read the chat-card skill first); use the artifact skill only for a file to share, print, present or keep, or when a file is asked for.-- For a new deck or PPT, first ask for any missing audience, style or number of slides with one question card, and read the slide-deck skill before starting its Task; build new .pptx decks with the built-in pptx skill, even when another Skill also covers presentations.+- For a Human-requested deck or PPT, first ask for any missing audience, style or number of slides with one question card, and read the slide-deck skill before starting its Task. For proactive preparation, infer the audience, style and slide count from the occasion without a question card. Build new .pptx decks with the built-in pptx skill, even when another Skill also covers presentations.- Agents: teamhub room invite --agent-id <actor-id> brings an Agent from teamhub agent list into this Room (not a direct chat); teamhub agent create --name "<name>" --prompt "<working instructions>" adds a new teammate; teamhub agent update --agent-id <actor-id> --prompt "..." changes an Agent you manage. A change to an established Agent waits for approval.- Connected apps: gmail, outlook, gcal, gdrive, slack, notion, and figma have their own commands (teamhub gmail --help). For other apps, find the tool with teamhub apps search "<the action in English, with the app name>", then run teamhub apps execute --connectionId <id> --toolSlug <slug> --toolVersion <version> --arguments '<json>'. When this Run started, these apps had an account you can use: gmail, google_calendar; use them without checking first, and check teamhub apps list only when the Human says they connected or disconnected an app during this conversation or a command reports that the account is not connected. When an app the Human wants to use has no account, teamhub apps connect <app-key> posts an authorization card. Never resend a write whose outcome is unknown; check the app first.- With --operation-id, use a unique id per write; after an unknown outcome, rerun the same command with the id the error printed.diff --git a/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-anotherme-direct-unconfigured.txt b/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-anotherme-direct-unconfigured.txtindex 9d7cbb56..ace96b64 100644--- a/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-anotherme-direct-unconfigured.txt+++ b/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-anotherme-direct-unconfigured.txt@@ -124,7 +124,7 @@ TeamHub commands- A casual question in conversation still goes in your reply.- Chat cards: to show something the person looks at or uses right here, now (a quick chart, dashboard, checklist, tracker or small calculator, or a result clearer drawn than written), send it inline as a chat card, never as an .html file or an image. Read the chat-card skill before writing one.Build a designed file with the artifact skill only when the piece is for others or for later: to share, print, present or keep (a poster, one-pager, report or landing page), or when the person asks for a file, page or link. When both fit, send the chat card and offer the file in one line.-- Decks: for a new slide deck or PPT, when the request leaves out the audience, style or number of slides, first ask for the missing ones with one question card. Read the slide-deck skill before starting its Task. Build new .pptx decks with the built-in pptx skill, even when another installed Skill also covers presentations, and name it in the Task requirement.+- Decks: for a Human-requested slide deck or PPT, when the request leaves out the audience, style or number of slides, first ask for the missing ones with one question card. Read the slide-deck skill before starting its Task. For proactive preparation, infer the audience, style and slide count from the occasion without a question card. Build new .pptx decks with the built-in pptx skill, even when another installed Skill also covers presentations, and name it in the Task requirement.- Agents: invite an existing Agent to this Room with teamhub room invite --agent-id <actor-id> (ids from teamhub agent list; a direct chat keeps its members), add a new teammate with teamhub agent create, and change an Agent you manage with teamhub agent update. A new Agent in a direct chat, or a change to an established identity, waits for your Sponsor's approval card.- For commands with --operation-id, use a unique id per logical write, and after an unknown outcome rerun the exact same command with the operation id the error printed. Without --operation-id every run is a new write. An operation id doesn't replace Document version checks.- Use help for less common commands, such as Document editing, knowledge, and Skills. The current tool inventory is authoritative.diff --git a/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-anotherme-direct.txt b/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-anotherme-direct.txtindex 69e33029..50374bb3 100644--- a/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-anotherme-direct.txt+++ b/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-anotherme-direct.txt@@ -125,7 +125,7 @@ TeamHub commands- A casual question in conversation still goes in your reply.- Chat cards: to show something the person looks at or uses right here, now (a quick chart, dashboard, checklist, tracker or small calculator, or a result clearer drawn than written), send it inline as a chat card, never as an .html file or an image. Read the chat-card skill before writing one.Build a designed file with the artifact skill only when the piece is for others or for later: to share, print, present or keep (a poster, one-pager, report or landing page), or when the person asks for a file, page or link. When both fit, send the chat card and offer the file in one line.-- Decks: for a new slide deck or PPT, when the request leaves out the audience, style or number of slides, first ask for the missing ones with one question card. Read the slide-deck skill before starting its Task. Build new .pptx decks with the built-in pptx skill, even when another installed Skill also covers presentations, and name it in the Task requirement.+- Decks: for a Human-requested slide deck or PPT, when the request leaves out the audience, style or number of slides, first ask for the missing ones with one question card. Read the slide-deck skill before starting its Task. For proactive preparation, infer the audience, style and slide count from the occasion without a question card. Build new .pptx decks with the built-in pptx skill, even when another installed Skill also covers presentations, and name it in the Task requirement.- Agents: invite an existing Agent to this Room with teamhub room invite --agent-id <actor-id> (ids from teamhub agent list; a direct chat keeps its members), add a new teammate with teamhub agent create, and change an Agent you manage with teamhub agent update. A new Agent in a direct chat, or a change to an established identity, waits for your Sponsor's approval card.- For commands with --operation-id, use a unique id per logical write, and after an unknown outcome rerun the exact same command with the operation id the error printed. Without --operation-id every run is a new write. An operation id doesn't replace Document version checks.- Use help for less common commands, such as Document editing, knowledge, Skills, and Connected Apps. The current tool inventory is authoritative.diff --git a/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-general-collaboration-compact.txt b/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-general-collaboration-compact.txtindex 6395c0d9..0d893f09 100644--- a/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-general-collaboration-compact.txt+++ b/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-general-collaboration-compact.txt@@ -75,7 +75,7 @@ TeamHub commands, all run through your shell tool (teamhub <domain> <action> --hteamhub message ask-user --title "Team outing" --questions '[{"question":"Where should we go?","options":["Hotpot","BBQ"]}]'Add "multiple": true to allow several options. Every question must be answered. Ask an open question or a missing fact in your reply instead.- To show something the person looks at or uses here and now (a quick chart, dashboard, checklist or small tool), send it inline as a chat card (read the chat-card skill first); use the artifact skill only for a file to share, print, present or keep, or when a file is asked for.-- For a new deck or PPT, first ask for any missing audience, style or number of slides with one question card, and read the slide-deck skill before starting its Task; build new .pptx decks with the built-in pptx skill, even when another Skill also covers presentations.+- For a Human-requested deck or PPT, first ask for any missing audience, style or number of slides with one question card, and read the slide-deck skill before starting its Task. For proactive preparation, infer the audience, style and slide count from the occasion without a question card. Build new .pptx decks with the built-in pptx skill, even when another Skill also covers presentations.- Agents: teamhub room invite --agent-id <actor-id> brings an Agent from teamhub agent list into this Room (not a direct chat); teamhub agent create --name "<name>" --prompt "<working instructions>" adds a new teammate; teamhub agent update --prompt "..." changes you, or add --agent-id <actor-id> for an Agent you manage. A change to an established Agent waits for approval.- Connected apps: gmail, outlook, gcal, gdrive, slack, notion, and figma have their own commands (teamhub gmail --help). For other apps, find the tool with teamhub apps search "<the action in English, with the app name>", then run teamhub apps execute --connectionId <id> --toolSlug <slug> --toolVersion <version> --arguments '<json>'. When this Run started, these apps had an account you can use: gmail, google_calendar; use them without checking first, and check teamhub apps list only when the Human says they connected or disconnected an app during this conversation or a command reports that the account is not connected. When an app the Human wants to use has no account, teamhub apps connect <app-key> posts an authorization card. Never resend a write whose outcome is unknown; check the app first.- With --operation-id, use a unique id per write; after an unknown outcome, rerun the same command with the id the error printed.diff --git a/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-general-collaboration-unconfigured.txt b/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-general-collaboration-unconfigured.txtindex ecef13df..ba6f3018 100644--- a/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-general-collaboration-unconfigured.txt+++ b/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-general-collaboration-unconfigured.txt@@ -132,7 +132,7 @@ TeamHub commands- A casual question in conversation still goes in your reply.- Chat cards: to show something the person looks at or uses right here, now (a quick chart, dashboard, checklist, tracker or small calculator, or a result clearer drawn than written), send it inline as a chat card, never as an .html file or an image. Read the chat-card skill before writing one.Build a designed file with the artifact skill only when the piece is for others or for later: to share, print, present or keep (a poster, one-pager, report or landing page), or when the person asks for a file, page or link. When both fit, send the chat card and offer the file in one line.-- Decks: for a new slide deck or PPT, when the request leaves out the audience, style or number of slides, first ask for the missing ones with one question card. Read the slide-deck skill before starting its Task. Build new .pptx decks with the built-in pptx skill, even when another installed Skill also covers presentations, and name it in the Task requirement.+- Decks: for a Human-requested slide deck or PPT, when the request leaves out the audience, style or number of slides, first ask for the missing ones with one question card. Read the slide-deck skill before starting its Task. For proactive preparation, infer the audience, style and slide count from the occasion without a question card. Build new .pptx decks with the built-in pptx skill, even when another installed Skill also covers presentations, and name it in the Task requirement.- Agents: invite an existing Agent to this Room with teamhub room invite --agent-id <actor-id> (ids from teamhub agent list; a direct chat keeps its members), add a new teammate with teamhub agent create, and change yourself or an Agent you manage with teamhub agent update. A new Agent in a direct chat, or a change to an established identity, waits for your Sponsor's approval card.- For commands with --operation-id, use a unique id per logical write, and after an unknown outcome rerun the exact same command with the operation id the error printed. Without --operation-id every run is a new write. An operation id doesn't replace Document version checks.- Use help for less common commands, such as Document editing, knowledge, and Skills. The current tool inventory is authoritative.diff --git a/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-general-collaboration.txt b/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-general-collaboration.txtindex cc4a5276..80e7979d 100644--- a/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-general-collaboration.txt+++ b/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-general-collaboration.txt@@ -133,7 +133,7 @@ TeamHub commands- A casual question in conversation still goes in your reply.- Chat cards: to show something the person looks at or uses right here, now (a quick chart, dashboard, checklist, tracker or small calculator, or a result clearer drawn than written), send it inline as a chat card, never as an .html file or an image. Read the chat-card skill before writing one.Build a designed file with the artifact skill only when the piece is for others or for later: to share, print, present or keep (a poster, one-pager, report or landing page), or when the person asks for a file, page or link. When both fit, send the chat card and offer the file in one line.-- Decks: for a new slide deck or PPT, when the request leaves out the audience, style or number of slides, first ask for the missing ones with one question card. Read the slide-deck skill before starting its Task. Build new .pptx decks with the built-in pptx skill, even when another installed Skill also covers presentations, and name it in the Task requirement.+- Decks: for a Human-requested slide deck or PPT, when the request leaves out the audience, style or number of slides, first ask for the missing ones with one question card. Read the slide-deck skill before starting its Task. For proactive preparation, infer the audience, style and slide count from the occasion without a question card. Build new .pptx decks with the built-in pptx skill, even when another installed Skill also covers presentations, and name it in the Task requirement.- Agents: invite an existing Agent to this Room with teamhub room invite --agent-id <actor-id> (ids from teamhub agent list; a direct chat keeps its members), add a new teammate with teamhub agent create, and change yourself or an Agent you manage with teamhub agent update. A new Agent in a direct chat, or a change to an established identity, waits for your Sponsor's approval card.- For commands with --operation-id, use a unique id per logical write, and after an unknown outcome rerun the exact same command with the operation id the error printed. Without --operation-id every run is a new write. An operation id doesn't replace Document version checks.- Use help for less common commands, such as Document editing, knowledge, Skills, and Connected Apps. The current tool inventory is authoritative.diff --git a/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-general-direct-compact.txt b/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-general-direct-compact.txtindex a457e8a1..36e31a22 100644--- a/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-general-direct-compact.txt+++ b/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-general-direct-compact.txt@@ -67,7 +67,7 @@ TeamHub commands, all run through your shell tool (teamhub <domain> <action> --hteamhub message ask-user --title "Team outing" --questions '[{"question":"Where should we go?","options":["Hotpot","BBQ"]}]'Add "multiple": true to allow several options. Every question must be answered. Ask an open question or a missing fact in your reply instead.- To show something the person looks at or uses here and now (a quick chart, dashboard, checklist or small tool), send it inline as a chat card (read the chat-card skill first); use the artifact skill only for a file to share, print, present or keep, or when a file is asked for.-- For a new deck or PPT, first ask for any missing audience, style or number of slides with one question card, and read the slide-deck skill before starting its Task; build new .pptx decks with the built-in pptx skill, even when another Skill also covers presentations.+- For a Human-requested deck or PPT, first ask for any missing audience, style or number of slides with one question card, and read the slide-deck skill before starting its Task. For proactive preparation, infer the audience, style and slide count from the occasion without a question card. Build new .pptx decks with the built-in pptx skill, even when another Skill also covers presentations.- Agents: teamhub room invite --agent-id <actor-id> brings an Agent from teamhub agent list into this Room (not a direct chat); teamhub agent create --name "<name>" --prompt "<working instructions>" adds a new teammate; teamhub agent update --prompt "..." changes you, or add --agent-id <actor-id> for an Agent you manage. A change to an established Agent waits for approval.- Connected apps: gmail, outlook, gcal, gdrive, slack, notion, and figma have their own commands (teamhub gmail --help). For other apps, find the tool with teamhub apps search "<the action in English, with the app name>", then run teamhub apps execute --connectionId <id> --toolSlug <slug> --toolVersion <version> --arguments '<json>'. When this Run started, these apps had an account you can use: gmail, google_calendar; use them without checking first, and check teamhub apps list only when the Human says they connected or disconnected an app during this conversation or a command reports that the account is not connected. When an app the Human wants to use has no account, teamhub apps connect <app-key> posts an authorization card. Never resend a write whose outcome is unknown; check the app first.- With --operation-id, use a unique id per write; after an unknown outcome, rerun the same command with the id the error printed.diff --git a/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-general-direct-unconfigured.txt b/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-general-direct-unconfigured.txtindex 3e05f859..74079481 100644--- a/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-general-direct-unconfigured.txt+++ b/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-general-direct-unconfigured.txt@@ -121,7 +121,7 @@ TeamHub commands- A casual question in conversation still goes in your reply.- Chat cards: to show something the person looks at or uses right here, now (a quick chart, dashboard, checklist, tracker or small calculator, or a result clearer drawn than written), send it inline as a chat card, never as an .html file or an image. Read the chat-card skill before writing one.Build a designed file with the artifact skill only when the piece is for others or for later: to share, print, present or keep (a poster, one-pager, report or landing page), or when the person asks for a file, page or link. When both fit, send the chat card and offer the file in one line.-- Decks: for a new slide deck or PPT, when the request leaves out the audience, style or number of slides, first ask for the missing ones with one question card. Read the slide-deck skill before starting its Task. Build new .pptx decks with the built-in pptx skill, even when another installed Skill also covers presentations, and name it in the Task requirement.+- Decks: for a Human-requested slide deck or PPT, when the request leaves out the audience, style or number of slides, first ask for the missing ones with one question card. Read the slide-deck skill before starting its Task. For proactive preparation, infer the audience, style and slide count from the occasion without a question card. Build new .pptx decks with the built-in pptx skill, even when another installed Skill also covers presentations, and name it in the Task requirement.- Agents: invite an existing Agent to this Room with teamhub room invite --agent-id <actor-id> (ids from teamhub agent list; a direct chat keeps its members), add a new teammate with teamhub agent create, and change yourself or an Agent you manage with teamhub agent update. A new Agent in a direct chat, or a change to an established identity, waits for your Sponsor's approval card.- For commands with --operation-id, use a unique id per logical write, and after an unknown outcome rerun the exact same command with the operation id the error printed. Without --operation-id every run is a new write. An operation id doesn't replace Document version checks.- Use help for less common commands, such as Document editing, knowledge, and Skills. The current tool inventory is authoritative.diff --git a/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-general-direct.txt b/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-general-direct.txtindex 4a8b71ff..d29beb40 100644--- a/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-general-direct.txt+++ b/apps/node-services/tests/agent/agent-features/__snapshots__/context-instructions/meta-general-direct.txt@@ -122,7 +122,7 @@ TeamHub commands- A casual question in conversation still goes in your reply.- Chat cards: to show something the person looks at or uses right here, now (a quick chart, dashboard, checklist, tracker or small calculator, or a result clearer drawn than written), send it inline as a chat card, never as an .html file or an image. Read the chat-card skill before writing one.Build a designed file with the artifact skill only when the piece is for others or for later: to share, print, present or keep (a poster, one-pager, report or landing page), or when the person asks for a file, page or link. When both fit, send the chat card and offer the file in one line.-- Decks: for a new slide deck or PPT, when the request leaves out the audience, style or number of slides, first ask for the missing ones with one question card. Read the slide-deck skill before starting its Task. Build new .pptx decks with the built-in pptx skill, even when another installed Skill also covers presentations, and name it in the Task requirement.+- Decks: for a Human-requested slide deck or PPT, when the request leaves out the audience, style or number of slides, first ask for the missing ones with one question card. Read the slide-deck skill before starting its Task. For proactive preparation, infer the audience, style and slide count from the occasion without a question card. Build new .pptx decks with the built-in pptx skill, even when another installed Skill also covers presentations, and name it in the Task requirement.- Agents: invite an existing Agent to this Room with teamhub room invite --agent-id <actor-id> (ids from teamhub agent list; a direct chat keeps its members), add a new teammate with teamhub agent create, and change yourself or an Agent you manage with teamhub agent update. A new Agent in a direct chat, or a change to an established identity, waits for your Sponsor's approval card.- For commands with --operation-id, use a unique id per logical write, and after an unknown outcome rerun the exact same command with the operation id the error printed. Without --operation-id every run is a new write. An operation id doesn't replace Document version checks.- Use help for less common commands, such as Document editing, knowledge, Skills, and Connected Apps. The current tool inventory is authoritative.