@talqing/mcp 0.9.0 → 0.9.2
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/SKILL.md +11 -1
- package/package.json +1 -1
package/SKILL.md
CHANGED
|
@@ -74,7 +74,8 @@ An agent is a single object, `config`, plus what you attach to it:
|
|
|
74
74
|
**`timezone`** and work on every channel; using one without setting `timezone`
|
|
75
75
|
is a save error. In a prompt or greeting the clock is frozen at the moment the
|
|
76
76
|
agent started (re-resolving would throw away the model's prompt cache); inside
|
|
77
|
-
a tool it is the moment the tool ran.
|
|
77
|
+
a tool it is the moment the tool ran. For the time *since the session began*,
|
|
78
|
+
on every turn, use **`elapsed_time`** instead.
|
|
78
79
|
|
|
79
80
|
**`{{vars.…}}` — the tenant's.** The agent's own **`vars`** declares them, and
|
|
80
81
|
the request that starts a session supplies values that override the declared
|
|
@@ -87,6 +88,11 @@ An agent is a single object, `config`, plus what you attach to it:
|
|
|
87
88
|
`{{system_vars.…}}` clock variables resolve against, on every channel. `null`
|
|
88
89
|
until one of them is used, and then required. Set it whenever the agent has to
|
|
89
90
|
reason about opening hours, "today", or an appointment time.
|
|
91
|
+
- **`elapsed_time`** (off by default) — every user message the model reads
|
|
92
|
+
starts with the time since the session began, e.g. `[12:34]`, and the agent is
|
|
93
|
+
told never to say it. Turn it on when the agent must pace itself — "about 30
|
|
94
|
+
minutes per problem" in a mock interview. The stamp also shows on the
|
|
95
|
+
transcript. Not on realtime models.
|
|
90
96
|
- **`vars`** — the variables this agent reads as `{{vars.name}}`, each
|
|
91
97
|
`{name, description, default, required}`. Names are `[A-Za-z_][A-Za-z0-9_]*`
|
|
92
98
|
and unique within the agent; `default` is a string or `null`.
|
|
@@ -724,6 +730,10 @@ instead.
|
|
|
724
730
|
- **`say`** — spoken verbatim.
|
|
725
731
|
- **`generate_reply`** — the LLM writes the reply.
|
|
726
732
|
- **`add_message`** — adds a system message without triggering a reply.
|
|
733
|
+
`scope: "conversation"` (default) keeps it for the rest of the conversation;
|
|
734
|
+
`scope: "turn"` gives it to the model for this one reply only — allowed only
|
|
735
|
+
in the `on_user_turn_completed` hook, and the right choice there for per-turn
|
|
736
|
+
lookups, which would otherwise pile up a message every turn.
|
|
727
737
|
- **`end_call`** — put a `say` immediately before it if there should be a
|
|
728
738
|
goodbye, and word that goodbye as what actually happens: the call ends here.
|
|
729
739
|
Never say "let me transfer you", "please hold" or "someone will call you
|
package/package.json
CHANGED