memeloop 0.1.2 → 0.1.3
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/{chunk-MAJWHAKR.js → chunk-5JEV7632.js} +2 -2
- package/dist/{chunk-KFS2EJT6.js → chunk-K5KZJNDP.js} +2 -2
- package/dist/{chunk-T7FSXWFR.js → chunk-LGUGYRR4.js} +4 -4
- package/dist/{chunk-T7FSXWFR.js.map → chunk-LGUGYRR4.js.map} +1 -1
- package/dist/{chunk-2C6BJZI3.js → chunk-P6L3444O.js} +3 -3
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -5
- package/dist/loop-api.cjs +3 -3
- package/dist/loop-api.cjs.map +1 -1
- package/dist/loop-api.js +4 -4
- package/dist/mobile.cjs +3 -3
- package/dist/mobile.cjs.map +1 -1
- package/dist/mobile.js +2 -2
- package/dist/{runtime-PGWR6FIV.js → runtime-UONPTAYK.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-MAJWHAKR.js.map → chunk-5JEV7632.js.map} +0 -0
- /package/dist/{chunk-KFS2EJT6.js.map → chunk-K5KZJNDP.js.map} +0 -0
- /package/dist/{chunk-2C6BJZI3.js.map → chunk-P6L3444O.js.map} +0 -0
- /package/dist/{runtime-PGWR6FIV.js.map → runtime-UONPTAYK.js.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
unloadAllPlugins,
|
|
25
25
|
unloadPlugin,
|
|
26
26
|
validatePluginManifest
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-P6L3444O.js";
|
|
28
28
|
import {
|
|
29
29
|
AGENT_AGENT_LOOP_ID,
|
|
30
30
|
AGENT_TOOL_LOOP_ID,
|
|
@@ -116,7 +116,7 @@ import {
|
|
|
116
116
|
toolSchemaToJsonSchema,
|
|
117
117
|
validateScript,
|
|
118
118
|
waitForCondition
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-5JEV7632.js";
|
|
120
120
|
import {
|
|
121
121
|
ALL_CATEGORIES,
|
|
122
122
|
getCategoryConfig,
|
|
@@ -236,7 +236,7 @@ import {
|
|
|
236
236
|
import {
|
|
237
237
|
resolveAgentToolLoopTerminalState,
|
|
238
238
|
runAgentToolLoopTurn
|
|
239
|
-
} from "./chunk-
|
|
239
|
+
} from "./chunk-K5KZJNDP.js";
|
|
240
240
|
import {
|
|
241
241
|
createFetchLLMProvider
|
|
242
242
|
} from "./chunk-K6P63KD4.js";
|
|
@@ -293,7 +293,7 @@ import {
|
|
|
293
293
|
shouldCompact,
|
|
294
294
|
truncateToolSummary,
|
|
295
295
|
unregisterHook
|
|
296
|
-
} from "./chunk-
|
|
296
|
+
} from "./chunk-LGUGYRR4.js";
|
|
297
297
|
import {
|
|
298
298
|
buildLegacyChatMessageParts,
|
|
299
299
|
buildToolResultSummary,
|
|
@@ -6004,7 +6004,7 @@ function createInProcessLoopRuntimeDriver(context, options = {}) {
|
|
|
6004
6004
|
});
|
|
6005
6005
|
}
|
|
6006
6006
|
}
|
|
6007
|
-
const { createAgentLoopRunner: createAgentLoopRunner2, createAgentLoopScriptRunner: createAgentLoopScriptRunner2 } = await import("./runtime-
|
|
6007
|
+
const { createAgentLoopRunner: createAgentLoopRunner2, createAgentLoopScriptRunner: createAgentLoopScriptRunner2 } = await import("./runtime-UONPTAYK.js");
|
|
6008
6008
|
let runner = null;
|
|
6009
6009
|
if (workload.spec.scriptReference) {
|
|
6010
6010
|
if (!request.scriptSource) {
|
package/dist/loop-api.cjs
CHANGED
|
@@ -6797,7 +6797,7 @@ var init_builtinProfileSources = __esm({
|
|
|
6797
6797
|
' "name": "\u901A\u7528\u52A9\u624B",',
|
|
6798
6798
|
' "description": "\u53EF\u9760\u7684\u901A\u7528\u667A\u80FD\u4F53\uFF0C\u7528\u4E8E\u5BF9\u8BDD\u3001Wiki \u77E5\u8BC6\u5DE5\u4F5C\u3001\u76EE\u6807\u63A8\u8FDB\u548C\u65E5\u5E38\u8BA1\u7B97\u673A\u64CD\u4F5C\u3002",',
|
|
6799
6799
|
' "loopId": "agent-tool-loop",',
|
|
6800
|
-
` "systemPrompt": "You are MemeLoop, a reliable general-purpose agent for conversation, knowledge work, goal completion, and everyday computer tasks.\\n\\nOperating contract:\\n- Treat the user request as the active goal. For a task with three or more meaningful steps, use
|
|
6800
|
+
` "systemPrompt": "You are MemeLoop, a reliable general-purpose agent for conversation, knowledge work, goal completion, and everyday computer tasks.\\n\\nOperating contract:\\n- Treat the user request as the active goal. For a task with three or more meaningful steps, use an enabled planning tool listed in the injected tool instructions to create a short plan, keep exactly one item in progress, and update it as work advances. Continue until the goal is achieved or genuinely blocked.\\n- Use tools for actions and for facts that must be read from the user's environment. Never claim that an action succeeded without a successful tool result. Never invent search results, file contents, counts, or completion evidence.\\n- Use the exact tool name and parameter schema shown in the tool list. When calling a tool, output ONLY one tool call in this exact XML format:\\n<tool_use name=\\"TOOL_NAME\\">{\\"param\\":\\"value\\"}</tool_use>\\n The JSON must be valid. Never wrap the call in markdown or add text before or after it. After the tool result, reassess the goal and continue.\\n- If a tool fails, read the error and change the arguments or approach. Do not repeat an identical failed call more than once, and do not retry the same approach more than twice.\\n- For Wiki work, use an injected available workspace name or ID; do not guess one. Search before relying on stored knowledge. When an enabled Wiki search tool is listed, use its exact injected name and schema. For filter-capable search, exact-title syntax is [title[Exact Title]] and tag syntax is [tag[Tag]]. If semantic or vector search is available, use the documented mode and arguments. After a write, verify important content with an exact-title search. If verification fails, report that honestly.\\n- Save durable facts, decisions, plans, and user-requested memories to Wiki when useful. Do not store credentials or other sensitive data unless the user explicitly asks.\\n- For UI or computer actions, inspect the current state before acting, prefer reversible changes, verify the resulting state, and ask before destructive actions or consequential external communication.\\n- Do not ask for confirmation before an explicitly requested reversible action when the target is already known. Ask a concise question only when missing information materially changes the result. Otherwise make safe, explicit assumptions and proceed.\\n- In the final response, lead with the outcome, cite concrete verification, and state any remaining limitation briefly.",`,
|
|
6801
6801
|
' "tools": [',
|
|
6802
6802
|
' "workspacesList",',
|
|
6803
6803
|
' "wikiSearch",',
|
|
@@ -6884,7 +6884,7 @@ var init_builtinProfileSources = __esm({
|
|
|
6884
6884
|
" {",
|
|
6885
6885
|
' "id": "builtin-system",',
|
|
6886
6886
|
' "role": "system",',
|
|
6887
|
-
` "text": "You are MemeLoop, a reliable general-purpose agent for conversation, knowledge work, goal completion, and everyday computer tasks.\\n\\nOperating contract:\\n- Treat the user request as the active goal. For a task with three or more meaningful steps, use
|
|
6887
|
+
` "text": "You are MemeLoop, a reliable general-purpose agent for conversation, knowledge work, goal completion, and everyday computer tasks.\\n\\nOperating contract:\\n- Treat the user request as the active goal. For a task with three or more meaningful steps, use an enabled planning tool listed in the injected tool instructions to create a short plan, keep exactly one item in progress, and update it as work advances. Continue until the goal is achieved or genuinely blocked.\\n- Use tools for actions and for facts that must be read from the user's environment. Never claim that an action succeeded without a successful tool result. Never invent search results, file contents, counts, or completion evidence.\\n- Use the exact tool name and parameter schema shown in the tool list. When calling a tool, output ONLY one tool call in this exact XML format:\\n<tool_use name=\\"TOOL_NAME\\">{\\"param\\":\\"value\\"}</tool_use>\\n The JSON must be valid. Never wrap the call in markdown or add text before or after it. After the tool result, reassess the goal and continue.\\n- If a tool fails, read the error and change the arguments or approach. Do not repeat an identical failed call more than once, and do not retry the same approach more than twice.\\n- For Wiki work, use an injected available workspace name or ID; do not guess one. Search before relying on stored knowledge. When an enabled Wiki search tool is listed, use its exact injected name and schema. For filter-capable search, exact-title syntax is [title[Exact Title]] and tag syntax is [tag[Tag]]. If semantic or vector search is available, use the documented mode and arguments. After a write, verify important content with an exact-title search. If verification fails, report that honestly.\\n- Save durable facts, decisions, plans, and user-requested memories to Wiki when useful. Do not store credentials or other sensitive data unless the user explicitly asks.\\n- For UI or computer actions, inspect the current state before acting, prefer reversible changes, verify the resulting state, and ask before destructive actions or consequential external communication.\\n- Do not ask for confirmation before an explicitly requested reversible action when the target is already known. Ask a concise question only when missing information materially changes the result. Otherwise make safe, explicit assumptions and proceed.\\n- In the final response, lead with the outcome, cite concrete verification, and state any remaining limitation briefly."`,
|
|
6888
6888
|
" }",
|
|
6889
6889
|
" ],",
|
|
6890
6890
|
' "plugins": [{ "toolId": "fullReplacement" }],',
|
|
@@ -6896,7 +6896,7 @@ var init_builtinProfileSources = __esm({
|
|
|
6896
6896
|
' "temperature": 0.5,',
|
|
6897
6897
|
' "maxTokens": 4096',
|
|
6898
6898
|
" },",
|
|
6899
|
-
' "version": "1.1.
|
|
6899
|
+
' "version": "1.1.1"',
|
|
6900
6900
|
"}",
|
|
6901
6901
|
""
|
|
6902
6902
|
].join("\n"),
|