@melaya/runner 1.1.65 → 1.1.67
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/assistantHost.py +14 -5
- package/dist/pythonEnv.js +1 -0
- package/package.json +1 -1
package/dist/assistantHost.py
CHANGED
|
@@ -20,7 +20,10 @@ stdout (one JSON per line, prefixed): MELASSIST {"turnId","kind",...}
|
|
|
20
20
|
Tenant safety: the toolkit is the read-only `melaya_agent_*` tools, which POST to
|
|
21
21
|
the server's assistant-tool bridge authed by MELAYA_API_KEY — every query is
|
|
22
22
|
tenant-gated SERVER-side, so this host gains no data authority beyond the user's
|
|
23
|
-
own mk_ key. Identity is never taken from tool args.
|
|
23
|
+
own mk_ key. Identity is never taken from tool args. Workspace actions
|
|
24
|
+
(melaya_tools / melaya_tool_call) go through the server's workspace-tool bridge,
|
|
25
|
+
which checks, asks for approval in Safe mode and executes; the host only carries
|
|
26
|
+
the call.
|
|
24
27
|
"""
|
|
25
28
|
from __future__ import annotations
|
|
26
29
|
|
|
@@ -1183,10 +1186,16 @@ def _build_agent():
|
|
|
1183
1186
|
"agent-orchestration platform.\n\n"
|
|
1184
1187
|
+ melaya_product
|
|
1185
1188
|
+ "\n"
|
|
1186
|
-
"IN THIS CHAT you additionally hold
|
|
1187
|
-
"
|
|
1188
|
-
"
|
|
1189
|
-
"
|
|
1189
|
+
"IN THIS CHAT you additionally hold tools over the data this user is "
|
|
1190
|
+
"allowed to see (pipelines, runs, LLM costs, plan usage, validated "
|
|
1191
|
+
"workflow templates, eval results) and melaya_tools / melaya_tool_call "
|
|
1192
|
+
"to ACT on their workspace: create a pipeline (from a template or a "
|
|
1193
|
+
"config), preview, save, run, schedule, add triggers, inspect runs, "
|
|
1194
|
+
"delete, manage projects and the team. Search with melaya_tools, load "
|
|
1195
|
+
"the tools you need to see their arguments, then call them with "
|
|
1196
|
+
"melaya_tool_call; changes follow the chat's autonomy mode (in Safe "
|
|
1197
|
+
"mode the user approves each one). That is your CURRENT TOOLBOX, not a "
|
|
1198
|
+
"description of Melaya"
|
|
1190
1199
|
+ (" — plus phone-control tools to drive the user's paired phone." if phone_enabled else ".")
|
|
1191
1200
|
+ "\nRules:\n"
|
|
1192
1201
|
"- Use tools to answer questions about the user's pipelines, spend, usage, "
|
package/dist/pythonEnv.js
CHANGED
|
@@ -100,6 +100,7 @@ const PIP_DEPS = [
|
|
|
100
100
|
"aiohttp>=3.14", // google-genai 2.4+ streams with readline(max_line_length=)
|
|
101
101
|
"requests",
|
|
102
102
|
"python-dotenv",
|
|
103
|
+
"sether==0.2.0", // local PII/secret redaction boundary; includes phonenumbers
|
|
103
104
|
// google-genai — the native Gemini SDK agentscope's GeminiChatModel imports
|
|
104
105
|
// for provider google/gemini. Missing = every Gemini agent in a runner
|
|
105
106
|
// pipeline died at construction ("cannot import name 'genai' from
|