@agimon-ai/po-cloudflare 0.0.2-alpha.73 → 0.0.2-alpha.75

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.
Files changed (64) hide show
  1. package/dist/assets/plugins/compositions.json +1 -1
  2. package/dist/{index.edge-BiVQ9LoZ.js → index.edge-kJrIbDzE.js} +1 -1
  3. package/dist/{server-nHPXbRDA.js → server-B20agHjD.js} +1 -1
  4. package/dist/{server-p7qANgrf.js → server-B3jB3q_h.js} +1 -1
  5. package/dist/{server-C0Lt6nTt.js → server-B51reaJ9.js} +5 -2
  6. package/dist/{server-BCZ_R3kX.js → server-BD_tbxwG.js} +1 -1
  7. package/dist/{server-CkJQJ3Oo.js → server-BsEMLlTz.js} +1 -1
  8. package/dist/{server-BAbdiL38.js → server-BsjwqF7J.js} +1 -1
  9. package/dist/{server-BsgvOpBF.js → server-Byk0FT6E.js} +1 -1
  10. package/dist/{server-BGKAeB3M.js → server-CAipGCpQ.js} +1 -1
  11. package/dist/{server-DRFESCq1.js → server-CUGzeCH4.js} +1 -1
  12. package/dist/{server-_jWkMESg.js → server-CpbBJ9ZU.js} +9 -8
  13. package/dist/{server-B8-vStCx.js → server-CqDWkfdL.js} +1 -1
  14. package/dist/{server-BIQhg1jS.js → server-DEKg8AVN.js} +1 -1
  15. package/dist/{server-BtnOqSB5.js → server-DI6YhDI5.js} +1 -1
  16. package/dist/{server-Dkc9Kth2.js → server-DLDK_aeG.js} +1 -1
  17. package/dist/{server-CWR34Vx6.js → server-DYKXGQVY.js} +1 -1
  18. package/dist/{server-AKM07WcM.js → server-DebdjWjz.js} +1 -1
  19. package/dist/{server-DF0YIUeI.js → server-DmqO6gBs.js} +1 -1
  20. package/dist/{server-BP_Uj5Bb.js → server-Dosi6o2W.js} +1 -1
  21. package/dist/{server-B0tM5Ygf.js → server-EYARWKpG.js} +1 -1
  22. package/dist/{server-Cjtr0oVJ.js → server-NKqdiQ5G.js} +1 -1
  23. package/dist/{server-vhmQi3co.js → server-_vSe9bTM.js} +1 -1
  24. package/dist/{server-BeoA0QB-.js → server-dBNqYUdX.js} +1 -1
  25. package/dist/{server-CMaWF5UA.js → server-hJ4tYEt4.js} +1 -1
  26. package/dist/{server-Cy2FhGBm.js → server-vZL2icDV.js} +1 -1
  27. package/dist/{server-D8yEblCB.js → server-wQHKuB2m.js} +1 -1
  28. package/dist/worker.js +464 -310
  29. package/package.json +49 -49
  30. /package/dist/assets/plugins/slots/{approval.09e72f36-DxS_uibk.js → approval.3e4ea6e4-DxS_uibk.js} +0 -0
  31. /package/dist/assets/plugins/slots/{artifacts.50b639bb-Cp37TAkd.js → artifacts.84980c32-Cp37TAkd.js} +0 -0
  32. /package/dist/assets/plugins/slots/{author.ea449ace-Ds9Y-tjN.js → author.8eca1a3d-Ds9Y-tjN.js} +0 -0
  33. /package/dist/assets/plugins/slots/{autocompact.6f428144-CDZpN7I7.js → autocompact.ec8f713f-CDZpN7I7.js} +0 -0
  34. /package/dist/assets/plugins/slots/{backdrop-bamboo.6e4c928d-qbifuMc6.js → backdrop-bamboo.1a4d85e9-qbifuMc6.js} +0 -0
  35. /package/dist/assets/plugins/slots/{browse.fa1f1a50-CVYvo1M5.js → browse.61a8907a-CVYvo1M5.js} +0 -0
  36. /package/dist/assets/plugins/slots/{builtin-tools.75108f21-Cq1ljoL-.js → builtin-tools.16ef5e25-Cq1ljoL-.js} +0 -0
  37. /package/dist/assets/plugins/slots/{calendar.d8b70190-BBjpOs1v.js → calendar.d337fc49-BBjpOs1v.js} +0 -0
  38. /package/dist/assets/plugins/slots/{codemode.c58fb583-DOR6OR7R.js → codemode.5f359b9c-DOR6OR7R.js} +0 -0
  39. /package/dist/assets/plugins/slots/{domain.753f9f92-CJrXxig9.js → domain.832848c8-CJrXxig9.js} +0 -0
  40. /package/dist/assets/plugins/slots/{edit.804fec90-BFF7_xN9.js → edit.7c802139-BFF7_xN9.js} +0 -0
  41. /package/dist/assets/plugins/slots/{files.66ffc636-CzOlZrRm.js → files.364f16c9-CzOlZrRm.js} +0 -0
  42. /package/dist/assets/plugins/slots/{goal.45dffa01-BtQBp3sw.js → goal.a97b169d-BtQBp3sw.js} +0 -0
  43. /package/dist/assets/plugins/slots/{grep.98262cff-9bUDfjyT.js → grep.d8bf9f57-9bUDfjyT.js} +0 -0
  44. /package/dist/assets/plugins/slots/{help.5fbd20f7-B4-y6gYK.js → help.5c78c071-B4-y6gYK.js} +0 -0
  45. /package/dist/assets/plugins/slots/{log.cb964209-BRPa3cVs.js → log.07fd59a4-BRPa3cVs.js} +0 -0
  46. /package/dist/assets/plugins/slots/{mcp.82cc1ff5-CFtzPkPC.js → mcp.ea8b6aa2-CFtzPkPC.js} +0 -0
  47. /package/dist/assets/plugins/slots/{plan.3852ba52-CH59Ff49.js → plan.7b30f8d8-CH59Ff49.js} +0 -0
  48. /package/dist/assets/plugins/slots/{profile.ab16dcec-0e9fWWyE.js → profile.63bc3ae6-0e9fWWyE.js} +0 -0
  49. /package/dist/assets/plugins/slots/{prompts.ae48c07a-BTqYnBX5.js → prompts.9d9b47cc-BTqYnBX5.js} +0 -0
  50. /package/dist/assets/plugins/slots/{read.4560591a-C7fMXDEH.js → read.926c024f-C7fMXDEH.js} +0 -0
  51. /package/dist/assets/plugins/slots/{runner.6e494d59-CqrpqhW9.js → runner.5393fa6c-CqrpqhW9.js} +0 -0
  52. /package/dist/assets/plugins/slots/{scaffold.d87a6ee0-9qY5gkYW.js → scaffold.686222eb-9qY5gkYW.js} +0 -0
  53. /package/dist/assets/plugins/slots/{session-mcp.2be84084-Cf0cqopp.js → session-mcp.8eb68fc9-Cf0cqopp.js} +0 -0
  54. /package/dist/assets/plugins/slots/{sessions.6f47cb4c-B1_eqPJQ.js → sessions.8e378a3b-B1_eqPJQ.js} +0 -0
  55. /package/dist/assets/plugins/slots/{skill.62a0a1b3-D-SKX8iw.js → skill.56c1cc07-D-SKX8iw.js} +0 -0
  56. /package/dist/assets/plugins/slots/{space.65a27e5a-fbLHc-DX.js → space.056e8bbc-fbLHc-DX.js} +0 -0
  57. /package/dist/assets/plugins/slots/{subagents.8bb9992c-Cm_YMEnn.js → subagents.31fc045b-Cm_YMEnn.js} +0 -0
  58. /package/dist/assets/plugins/slots/{template-advanced.59f3f98a-L0WOM4JT.js → template-advanced.9e8350fe-L0WOM4JT.js} +0 -0
  59. /package/dist/assets/plugins/slots/{template-desktop.0f0b8491-By9BZlaL.js → template-desktop.69a46f62-By9BZlaL.js} +0 -0
  60. /package/dist/assets/plugins/slots/{template-elegant.0e3b0acf-El05x7HK.js → template-elegant.381f6acb-El05x7HK.js} +0 -0
  61. /package/dist/assets/plugins/slots/{vault.3cbfcdc3-DpU_65Wy.js → vault.587549ba-DpU_65Wy.js} +0 -0
  62. /package/dist/assets/plugins/slots/{voice.a952113d-CvcuL__m.js → voice.9c687181-CvcuL__m.js} +0 -0
  63. /package/dist/assets/plugins/slots/{web-search.65013836-NVh9fdvE.js → web-search.f6292793-NVh9fdvE.js} +0 -0
  64. /package/dist/assets/plugins/slots/{workflows.cbc5c5c0-OLKSY9PE.js → workflows.8a13baad-OLKSY9PE.js} +0 -0
package/dist/worker.js CHANGED
@@ -18792,11 +18792,15 @@ async function subagentConversations(harness, context) {
18792
18792
  }
18793
18793
  //#endregion
18794
18794
  //#region ../../core/po-core/src/services/skillPrompt/index.ts
18795
+ const escape$2 = (text) => text.replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;").replaceAll("\"", "&quot;");
18796
+ /** One skill as Pi lists it, or '' for a skill the model may not invoke. */
18797
+ function formatSkillForSystemPrompt(skill) {
18798
+ return skill.disableModelInvocation ? "" : `<skill><name>${escape$2(skill.name)}</name><description>${escape$2(skill.description)}</description><location>${escape$2(skill.filePath)}</location></skill>`;
18799
+ }
18795
18800
  /** Pi's `<available_skills>` block: '' for no visible skills, otherwise led by a blank line. */
18796
18801
  function formatSkillsForSystemPrompt(skills) {
18797
- const escape = (text) => text.replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;").replaceAll("\"", "&quot;");
18798
- const visible = skills.filter((skill) => !skill.disableModelInvocation);
18799
- return visible.length ? `\n\n<available_skills>\n${visible.map((skill) => `<skill><name>${escape(skill.name)}</name><description>${escape(skill.description)}</description><location>${escape(skill.filePath)}</location></skill>`).join("\n")}\n</available_skills>` : "";
18802
+ const visible = skills.map(formatSkillForSystemPrompt).filter(Boolean);
18803
+ return visible.length ? `\n\n<available_skills>\n${visible.join("\n")}\n</available_skills>` : "";
18800
18804
  }
18801
18805
  //#endregion
18802
18806
  //#region ../../core/po-core/src/services/toolContinuation/index.ts
@@ -19234,6 +19238,8 @@ const AGENT_LOCKED_ERROR = "The local agent is locked. Unlock it to start a turn
19234
19238
  const CLEARED_SUMMARY = "The person cleared the conversation. Nothing before this point is available. Start fresh.";
19235
19239
  const CODEX_API = "openai-codex-responses";
19236
19240
  const CODEX_PROVIDER = "openai-codex";
19241
+ /** The last prompt section, holding text whose key `systemPromptSections` did not list. */
19242
+ const UNLISTED_PROMPT_SECTION = "po-unlisted";
19237
19243
  /** Largest custom entry payload, in UTF-8 bytes. Every reader decodes a payload whole, so one entry must stay small. */
19238
19244
  const MAX_CUSTOM_ENTRY_BYTES = 1048576;
19239
19245
  /** Diagnostic codes of the error results pi-durable writes for a tool call that never ran to completion. */
@@ -19646,179 +19652,235 @@ async function createLaneRuntime(options, attached) {
19646
19652
  }
19647
19653
  }
19648
19654
  });
19649
- const install = () => registry.install({
19650
- name: extensionName,
19651
- tools: tools.map(nativeTool),
19652
- sections: [{
19653
- key: "po",
19654
- tag: false,
19655
- async render(_input, ctx) {
19656
- preparationFailure = void 0;
19657
- try {
19658
- return [typeof options.systemPrompt === "function" ? await options.systemPrompt(await resolveToolContext(ctx), ctx) : options.systemPrompt ?? "", options.systemPrompt === void 0 ? formatSkillsForSystemPrompt(resources.skills ?? []) : ""].filter(Boolean).join("\n\n");
19659
- } catch (error) {
19660
- preparationFailure = error;
19661
- throw error;
19655
+ let offered = [];
19656
+ let shownOrder = [];
19657
+ const inShownOrder = (previous, keys) => {
19658
+ const rank = new Map(previous.map((key, index) => [key, index]));
19659
+ const kept = keys.filter((key) => rank.has(key));
19660
+ kept.sort((left, right) => rank.get(left) - rank.get(right));
19661
+ return [...kept, ...keys.filter((key) => !rank.has(key))];
19662
+ };
19663
+ const inOfferedOrder = (candidates) => {
19664
+ const rank = new Map(offered.map((tool, index) => [tool.name, index]));
19665
+ const native = candidates.map(nativeTool);
19666
+ const unchanged = (tool) => {
19667
+ const index = rank.get(tool.name);
19668
+ return index !== void 0 && declarationsEqual(offered[index], tool);
19669
+ };
19670
+ return [...native.filter(unchanged).sort((left, right) => rank.get(left.name) - rank.get(right.name)), ...native.filter((tool) => !unchanged(tool))];
19671
+ };
19672
+ const offeredTools = () => inOfferedOrder(tools.filter((t) => activeNames.has(t.name)));
19673
+ const readTranscriptOrder = async (ctx) => {
19674
+ const { messages } = await conversation.context(ctx);
19675
+ const shown = /* @__PURE__ */ new Set();
19676
+ for (const message of messages) if (message.role === "system") for (const [key, value] of Object.entries(message.sections ?? {})) if (value === null) shown.delete(key);
19677
+ else shown.add(key);
19678
+ shownOrder = [...shown];
19679
+ offered = getCurrentTools(messages);
19680
+ };
19681
+ const listedSections = () => {
19682
+ const listed = typeof options.systemPromptSections === "function" ? options.systemPromptSections() : options.systemPromptSections;
19683
+ return listed?.length ? [...listed, UNLISTED_PROMPT_SECTION] : ["po"];
19684
+ };
19685
+ let rendered;
19686
+ const renderPrompt = async (keys, ctx) => {
19687
+ const prompt = typeof options.systemPrompt === "function" ? await options.systemPrompt(await resolveToolContext(ctx), ctx) : options.systemPrompt ?? "";
19688
+ if (typeof prompt !== "string") {
19689
+ const unlisted = Object.keys(prompt).filter((key) => !keys.includes(key));
19690
+ return unlisted.length ? {
19691
+ ...prompt,
19692
+ [UNLISTED_PROMPT_SECTION]: unlisted.map((key) => prompt[key]).join("\n\n")
19693
+ } : prompt;
19694
+ }
19695
+ const skills = options.systemPrompt === void 0 ? formatSkillsForSystemPrompt(resources.skills ?? []) : "";
19696
+ return { [keys[0]]: [prompt, skills].filter(Boolean).join("\n\n") };
19697
+ };
19698
+ const install = () => {
19699
+ const keys = inShownOrder(shownOrder, listedSections());
19700
+ registry.install({
19701
+ name: extensionName,
19702
+ tools: inOfferedOrder(tools),
19703
+ sections: keys.map((key, index) => ({
19704
+ key,
19705
+ tag: false,
19706
+ async render(input, ctx) {
19707
+ if (index === 0) {
19708
+ preparationFailure = void 0;
19709
+ rendered = void 0;
19710
+ try {
19711
+ rendered = await renderPrompt(keys, ctx);
19712
+ } catch (error) {
19713
+ preparationFailure = error;
19714
+ throw error;
19715
+ }
19716
+ if (input.conversationId === conversation.id) {
19717
+ const visible = keys.filter((key) => rendered[key] !== void 0);
19718
+ shownOrder = inShownOrder(Object.keys(input.shown), visible);
19719
+ offered = input.agent.tools;
19720
+ }
19721
+ }
19722
+ if (!rendered) throw new Error("The system prompt was not prepared for this request.");
19723
+ return rendered[key];
19662
19724
  }
19663
- }
19664
- }],
19665
- hooks: [
19666
- hook(GenerationTask, {
19667
- async afterTools(_assistant, _results, api, ctx) {
19668
- const lane = conversation;
19669
- if (lane.id !== api.conversationId) return;
19670
- await flushToolBoundary();
19671
- for (const registration of checkpointBoundaries) {
19672
- if (!registration.active || disposed || ctx.abortSignal?.aborted || external) continue;
19673
- let open = true;
19725
+ })),
19726
+ hooks: [
19727
+ hook(GenerationTask, {
19728
+ async afterTools(_assistant, _results, api, ctx) {
19729
+ const lane = conversation;
19730
+ if (lane.id !== api.conversationId) return;
19731
+ await flushToolBoundary();
19732
+ for (const registration of checkpointBoundaries) {
19733
+ if (!registration.active || disposed || ctx.abortSignal?.aborted || external) continue;
19734
+ let open = true;
19735
+ try {
19736
+ await registration.callback({
19737
+ signal: ctx.abortSignal,
19738
+ appendMessage: (message, messageOptions) => commitCheckpointMessage(registration, lane, message, ctx, () => open, api.taskId, messageOptions)
19739
+ });
19740
+ } finally {
19741
+ open = false;
19742
+ }
19743
+ }
19744
+ },
19745
+ async beforeRequest(request, _api, ctx) {
19746
+ assertUnlocked();
19674
19747
  try {
19675
- await registration.callback({
19676
- signal: ctx.abortSignal,
19677
- appendMessage: (message, messageOptions) => commitCheckpointMessage(registration, lane, message, ctx, () => open, api.taskId, messageOptions)
19678
- });
19679
- } finally {
19680
- open = false;
19748
+ const agent = await conversation.agent(ctx);
19749
+ const model = agent.model ? models.getModel(agent.model.provider, agent.model.modelId) : void 0;
19750
+ await options.beforeModelRequest?.({
19751
+ phase: "turn",
19752
+ model,
19753
+ prompt: [...request.messages],
19754
+ resources
19755
+ }, ctx);
19756
+ const systemPrompt = getCurrentSystemPrompt(request.messages);
19757
+ const contextMessages = options.transformContext ? restoreCustomContextMessages(request.messages, await conversation.context(ctx)) : request.messages.filter((message) => message.role !== "system");
19758
+ const originalContext = structuredClone(contextMessages);
19759
+ const patch = await options.transformContext?.({
19760
+ messages: contextMessages,
19761
+ systemPrompt
19762
+ }, ctx);
19763
+ let messages = patch && (patch.systemPrompt !== void 0 && patch.systemPrompt !== systemPrompt || patch.messages !== void 0 && !isDeepStrictEqual(patch.messages, originalContext)) ? [{
19764
+ role: "system",
19765
+ content: patch.systemPrompt ?? systemPrompt,
19766
+ timestamp: Date.now(),
19767
+ toolsAdded: getCurrentTools(request.messages)
19768
+ }, ...convertToLlm(patch.messages ?? request.messages.filter((m) => m.role !== "system"))] : [...request.messages];
19769
+ if (options.toProviderMessages) messages = await options.toProviderMessages(messages, ctx);
19770
+ messages = await fitProviderImages(messages);
19771
+ await options.beforeModelRequest?.({
19772
+ phase: "request",
19773
+ model,
19774
+ resources
19775
+ }, ctx);
19776
+ return { messages };
19777
+ } catch (error) {
19778
+ preparationFailure = error;
19779
+ throw error;
19681
19780
  }
19682
19781
  }
19683
- },
19684
- async beforeRequest(request, _api, ctx) {
19685
- assertUnlocked();
19686
- try {
19687
- const agent = await conversation.agent(ctx);
19688
- const model = agent.model ? models.getModel(agent.model.provider, agent.model.modelId) : void 0;
19689
- await options.beforeModelRequest?.({
19690
- phase: "turn",
19691
- model,
19692
- prompt: [...request.messages],
19693
- resources
19694
- }, ctx);
19695
- const systemPrompt = getCurrentSystemPrompt(request.messages);
19696
- const contextMessages = options.transformContext ? restoreCustomContextMessages(request.messages, await conversation.context(ctx)) : request.messages.filter((message) => message.role !== "system");
19697
- const originalContext = structuredClone(contextMessages);
19698
- const patch = await options.transformContext?.({
19699
- messages: contextMessages,
19700
- systemPrompt
19782
+ }),
19783
+ hook(ToolTask, {
19784
+ async beforeTool(call, _api, ctx) {
19785
+ if (isBashSequenceEnvelope(call.name, call.arguments)) {
19786
+ if (!options.beforeTool || !options.afterTool) throw new Error("Bash sequences require retained host policy support.");
19787
+ return;
19788
+ }
19789
+ const patch = await options.beforeTool?.({
19790
+ toolCallId: call.id,
19791
+ toolName: call.name,
19792
+ args: call.arguments
19701
19793
  }, ctx);
19702
- let messages = patch && (patch.systemPrompt !== void 0 && patch.systemPrompt !== systemPrompt || patch.messages !== void 0 && !isDeepStrictEqual(patch.messages, originalContext)) ? [{
19703
- role: "system",
19704
- content: patch.systemPrompt ?? systemPrompt,
19705
- timestamp: Date.now(),
19706
- toolsAdded: getCurrentTools(request.messages)
19707
- }, ...convertToLlm(patch.messages ?? request.messages.filter((m) => m.role !== "system"))] : [...request.messages];
19708
- if (options.toProviderMessages) messages = await options.toProviderMessages(messages, ctx);
19709
- messages = await fitProviderImages(messages);
19710
- await options.beforeModelRequest?.({
19711
- phase: "request",
19712
- model,
19713
- resources
19794
+ if (patch?.block?.terminate) terminatingCalls.add(call.id);
19795
+ if (patch?.args) hookedArgs.set(call.id, patch.args);
19796
+ return patch ? {
19797
+ arguments: patch.args,
19798
+ block: patch.block?.reason
19799
+ } : void 0;
19800
+ },
19801
+ async afterTool(call, executed, _api, ctx) {
19802
+ const thrown = thrownFailures.get(call.id);
19803
+ thrownFailures.delete(call.id);
19804
+ if (isBashSequenceEnvelope(call.name, call.arguments)) return void 0;
19805
+ if (executed.diagnostics?.some((diagnostic) => HARNESS_TOOL_CODES.has(diagnostic.code ?? ""))) return terminatingCalls.delete(call.id) ? {
19806
+ ...executed,
19807
+ control: {
19808
+ ...executed.control,
19809
+ terminate: true
19810
+ }
19811
+ } : void 0;
19812
+ const details = executed.details;
19813
+ const detailsRecord = details !== null && typeof details === "object" && !Array.isArray(details) ? details : void 0;
19814
+ const result = thrown && executed.isError && detailsRecord?.failure === void 0 ? {
19815
+ ...executed,
19816
+ details: {
19817
+ ...detailsRecord,
19818
+ failure: thrown
19819
+ }
19820
+ } : executed;
19821
+ const patch = await options.afterTool?.({
19822
+ toolCallId: call.id,
19823
+ toolName: call.name,
19824
+ args: call.arguments,
19825
+ content: result.output ?? [],
19826
+ details: result.details,
19827
+ isError: result.isError ?? false,
19828
+ usage: result.usage
19714
19829
  }, ctx);
19715
- return { messages };
19716
- } catch (error) {
19717
- preparationFailure = error;
19718
- throw error;
19719
- }
19720
- }
19721
- }),
19722
- hook(ToolTask, {
19723
- async beforeTool(call, _api, ctx) {
19724
- if (isBashSequenceEnvelope(call.name, call.arguments)) {
19725
- if (!options.beforeTool || !options.afterTool) throw new Error("Bash sequences require retained host policy support.");
19726
- return;
19830
+ const { content: patchedOutput, terminate: _terminate, ...patchFields } = patch ?? {};
19831
+ return patch ? {
19832
+ ...result,
19833
+ ...patchFields,
19834
+ ...patchedOutput === void 0 ? {} : { output: patchedOutput },
19835
+ control: patch.terminate || terminatingCalls.delete(call.id) ? {
19836
+ ...result.control,
19837
+ terminate: true
19838
+ } : result.control
19839
+ } : terminatingCalls.delete(call.id) ? {
19840
+ ...result,
19841
+ control: {
19842
+ ...result.control,
19843
+ terminate: true
19844
+ }
19845
+ } : result === executed ? void 0 : result;
19727
19846
  }
19728
- const patch = await options.beforeTool?.({
19729
- toolCallId: call.id,
19730
- toolName: call.name,
19731
- args: call.arguments
19732
- }, ctx);
19733
- if (patch?.block?.terminate) terminatingCalls.add(call.id);
19734
- if (patch?.args) hookedArgs.set(call.id, patch.args);
19735
- return patch ? {
19736
- arguments: patch.args,
19737
- block: patch.block?.reason
19738
- } : void 0;
19739
- },
19740
- async afterTool(call, executed, _api, ctx) {
19741
- const thrown = thrownFailures.get(call.id);
19742
- thrownFailures.delete(call.id);
19743
- if (isBashSequenceEnvelope(call.name, call.arguments)) return void 0;
19744
- if (executed.diagnostics?.some((diagnostic) => HARNESS_TOOL_CODES.has(diagnostic.code ?? ""))) return terminatingCalls.delete(call.id) ? {
19745
- ...executed,
19746
- control: {
19747
- ...executed.control,
19748
- terminate: true
19749
- }
19750
- } : void 0;
19751
- const details = executed.details;
19752
- const detailsRecord = details !== null && typeof details === "object" && !Array.isArray(details) ? details : void 0;
19753
- const result = thrown && executed.isError && detailsRecord?.failure === void 0 ? {
19754
- ...executed,
19755
- details: {
19756
- ...detailsRecord,
19757
- failure: thrown
19847
+ }),
19848
+ hook(CompactionTask, { async beforeCompact(input, api, ctx) {
19849
+ const swapped = manualCompaction.conversationId;
19850
+ if (input.reason === "threshold" && swapped !== void 0 && swapped !== String(api.conversationId)) return { decline: true };
19851
+ if (manualCompaction.clear && swapped === String(api.conversationId)) return { summary: CLEARED_SUMMARY };
19852
+ if (!options.beforeCompaction) return;
19853
+ const entries = projectDurableEntries(input.entries);
19854
+ const patch = await options.beforeCompaction({
19855
+ reason: input.reason,
19856
+ customInstructions: input.instructions,
19857
+ preparation: {
19858
+ entries,
19859
+ messages: [...input.messages],
19860
+ tokensBefore: 0,
19861
+ retainedTail: [],
19862
+ firstKeptEntryId: String(input.firstKept),
19863
+ messagesToSummarize: [...input.messages],
19864
+ turnPrefixMessages: [],
19865
+ isSplitTurn: false,
19866
+ fileOps: {
19867
+ read: /* @__PURE__ */ new Set(),
19868
+ written: /* @__PURE__ */ new Set(),
19869
+ edited: /* @__PURE__ */ new Set()
19870
+ },
19871
+ settings: {
19872
+ enabled: options.compaction?.enabled ?? DEFAULT_COMPACTION_POLICY.enabled,
19873
+ reserveTokens: options.compaction?.reserveTokens ?? DEFAULT_COMPACTION_POLICY.reserveTokens,
19874
+ keepRecentTokens: options.compaction?.keepRecentTokens ?? DEFAULT_COMPACTION_POLICY.keepRecentTokens
19875
+ }
19758
19876
  }
19759
- } : executed;
19760
- const patch = await options.afterTool?.({
19761
- toolCallId: call.id,
19762
- toolName: call.name,
19763
- args: call.arguments,
19764
- content: result.output ?? [],
19765
- details: result.details,
19766
- isError: result.isError ?? false,
19767
- usage: result.usage
19768
19877
  }, ctx);
19769
- const { content: patchedOutput, terminate: _terminate, ...patchFields } = patch ?? {};
19770
- return patch ? {
19771
- ...result,
19772
- ...patchFields,
19773
- ...patchedOutput === void 0 ? {} : { output: patchedOutput },
19774
- control: patch.terminate || terminatingCalls.delete(call.id) ? {
19775
- ...result.control,
19776
- terminate: true
19777
- } : result.control
19778
- } : terminatingCalls.delete(call.id) ? {
19779
- ...result,
19780
- control: {
19781
- ...result.control,
19782
- terminate: true
19783
- }
19784
- } : result === executed ? void 0 : result;
19785
- }
19786
- }),
19787
- hook(CompactionTask, { async beforeCompact(input, api, ctx) {
19788
- const swapped = manualCompaction.conversationId;
19789
- if (input.reason === "threshold" && swapped !== void 0 && swapped !== String(api.conversationId)) return { decline: true };
19790
- if (manualCompaction.clear && swapped === String(api.conversationId)) return { summary: CLEARED_SUMMARY };
19791
- if (!options.beforeCompaction) return;
19792
- const entries = projectDurableEntries(input.entries);
19793
- const patch = await options.beforeCompaction({
19794
- reason: input.reason,
19795
- customInstructions: input.instructions,
19796
- preparation: {
19797
- entries,
19798
- messages: [...input.messages],
19799
- tokensBefore: 0,
19800
- retainedTail: [],
19801
- firstKeptEntryId: String(input.firstKept),
19802
- messagesToSummarize: [...input.messages],
19803
- turnPrefixMessages: [],
19804
- isSplitTurn: false,
19805
- fileOps: {
19806
- read: /* @__PURE__ */ new Set(),
19807
- written: /* @__PURE__ */ new Set(),
19808
- edited: /* @__PURE__ */ new Set()
19809
- },
19810
- settings: {
19811
- enabled: options.compaction?.enabled ?? DEFAULT_COMPACTION_POLICY.enabled,
19812
- reserveTokens: options.compaction?.reserveTokens ?? DEFAULT_COMPACTION_POLICY.reserveTokens,
19813
- keepRecentTokens: options.compaction?.keepRecentTokens ?? DEFAULT_COMPACTION_POLICY.keepRecentTokens
19814
- }
19815
- }
19816
- }, ctx);
19817
- if (patch?.decline) return { decline: true };
19818
- if (patch?.compaction) return { summary: patch.compaction.summary };
19819
- } })
19820
- ]
19821
- });
19878
+ if (patch?.decline) return { decline: true };
19879
+ if (patch?.compaction) return { summary: patch.compaction.summary };
19880
+ } })
19881
+ ]
19882
+ });
19883
+ };
19822
19884
  install();
19823
19885
  if (!attached) registry.install(SubagentsExtension);
19824
19886
  const harness = attached?.harness ?? await Harness.open(projection.storage, {
@@ -19836,11 +19898,13 @@ async function createLaneRuntime(options, attached) {
19836
19898
  let sessionId;
19837
19899
  if (attached) {
19838
19900
  conversation = attached.conversation;
19901
+ await readTranscriptOrder(context);
19902
+ install();
19839
19903
  if (!options.sessionId) throw new Error("A lane requires its session identity.");
19840
19904
  sessionId = options.sessionId;
19841
19905
  await writable(() => conversation.configure({
19842
19906
  extensions: [{ name: extensionName }],
19843
- tools: tools.filter((t) => activeNames.has(t.name)).map(nativeTool),
19907
+ tools: offeredTools(),
19844
19908
  modelTools: null,
19845
19909
  instructions: null,
19846
19910
  cwd: options.cwd,
@@ -19862,6 +19926,8 @@ async function createLaneRuntime(options, attached) {
19862
19926
  ...options.thinkingLevel ? { thinkingLevel: options.thinkingLevel } : {}
19863
19927
  } })).id, context);
19864
19928
  conversation = await harness.conversation(activeId, context);
19929
+ await readTranscriptOrder(context);
19930
+ install();
19865
19931
  const storedAgent = await harness.snapshot(AgentDoc, conversation.id, context);
19866
19932
  const initialModel = options.model ?? models.getModels()[0];
19867
19933
  await conversation.configure({
@@ -19870,7 +19936,7 @@ async function createLaneRuntime(options, attached) {
19870
19936
  modelId: initialModel.id
19871
19937
  } } : {},
19872
19938
  ...!storedAgent?.thinkingLevel && options.thinkingLevel ? { thinkingLevel: options.thinkingLevel } : {},
19873
- tools: tools.filter((t) => activeNames.has(t.name)).map(nativeTool)
19939
+ tools: offeredTools()
19874
19940
  }, context);
19875
19941
  const storedFastMode = await harness.snapshot(FastModeDoc, context);
19876
19942
  fastMode = storedFastMode?.enabled ?? options.initialFastMode ?? false;
@@ -21392,11 +21458,13 @@ async function createLaneRuntime(options, attached) {
21392
21458
  } } : void 0);
21393
21459
  const agent = await conversation.agent(context);
21394
21460
  conversation = await harness.conversation(id, context);
21461
+ await readTranscriptOrder(context);
21462
+ install();
21395
21463
  if (targetId === null) await conversation.configure({
21396
21464
  model: agent.model,
21397
21465
  thinkingLevel: agent.thinkingLevel,
21398
21466
  cwd: agent.cwd,
21399
- tools: tools.filter((t) => activeNames.has(t.name)).map(nativeTool),
21467
+ tools: offeredTools(),
21400
21468
  instructions: agent.instructions
21401
21469
  }, context);
21402
21470
  await attach();
@@ -21485,7 +21553,7 @@ async function createLaneRuntime(options, attached) {
21485
21553
  tools = replacement;
21486
21554
  activeNames = new Set(tools.map((t) => t.name));
21487
21555
  install();
21488
- await writable(() => conversation.configure({ tools: tools.map(nativeTool) }, context));
21556
+ await writable(() => conversation.configure({ tools: offeredTools() }, context));
21489
21557
  },
21490
21558
  async replaceResources(replacement) {
21491
21559
  resources = replacement;
@@ -23317,6 +23385,10 @@ var HeadlessHost = class extends Service {
23317
23385
  }
23318
23386
  });
23319
23387
  }
23388
+ /** The selection being applied, which the tool and resource sinks see before `context` has it; else the applied one. */
23389
+ get applyingSelection() {
23390
+ return this.applying;
23391
+ }
23320
23392
  get context() {
23321
23393
  return this.options.context(this.applied);
23322
23394
  }
@@ -23753,7 +23825,7 @@ var HeadlessHost = class extends Service {
23753
23825
  clientMetadata
23754
23826
  } : this.context);
23755
23827
  }
23756
- async dispatchHook(event, payload, signal) {
23828
+ async dispatchHook(event, payload, signal, observe) {
23757
23829
  this.assertReady();
23758
23830
  signal?.throwIfAborted();
23759
23831
  const results = [];
@@ -23781,6 +23853,7 @@ var HeadlessHost = class extends Service {
23781
23853
  this.assertReady();
23782
23854
  }
23783
23855
  results.push(result);
23856
+ observe?.(hook.value, result);
23784
23857
  if (result && typeof result === "object" && !Array.isArray(result)) {
23785
23858
  const patch = result;
23786
23859
  const fields = event === "context" ? ["messages", "systemPrompt"] : event === "tool_call" ? ["args"] : event === "tool_result" ? [
@@ -23869,11 +23942,63 @@ var HeadlessHost = class extends Service {
23869
23942
  const EXTERNAL_OPERATION = "external";
23870
23943
  const REMOTE_TOOL_WAIT_MS = 3e4;
23871
23944
  const PROMPT_PREPARATION_FAILED_EVENT = "po_server.system_prompt_preparation_failed";
23945
+ const MAX_AUXILIARY_IMAGES = 4;
23946
+ const MAX_AUXILIARY_IMAGE_BYTES = 5242880;
23947
+ const AUXILIARY_IMAGE_TYPES = /* @__PURE__ */ new Set([
23948
+ "image/png",
23949
+ "image/jpeg",
23950
+ "image/webp"
23951
+ ]);
23872
23952
  /** Slash commands renamed away, so they fail with the new name instead of reaching the model as text. */
23873
23953
  const RETIRED_COMMANDS = { minor: "mode" };
23874
23954
  function isRecord$4(value) {
23875
23955
  return typeof value === "object" && value !== null && !Array.isArray(value);
23876
23956
  }
23957
+ /**
23958
+ * A section key for a name, inside pi-durable's `[a-z0-9_-]` key alphabet. Any other character, `_` included,
23959
+ * becomes `_<hex>_`, so two names never share a key and kebab-case names stay readable.
23960
+ */
23961
+ function sectionName(name) {
23962
+ return name.replace(/[^a-z0-9-]/gu, (char) => `_${char.codePointAt(0).toString(16)}_`);
23963
+ }
23964
+ /** The section of one skill, context resource or mode, so one plugin adding or removing it never resends the rest. */
23965
+ const promptSection = {
23966
+ skill: (name) => `po-skill-${sectionName(name)}`,
23967
+ context: (name) => `po-context-${sectionName(name)}`,
23968
+ mode: (name) => `po-mode-${sectionName(name)}`
23969
+ };
23970
+ /**
23971
+ * Context resources as prompt sections, in resource order; a name repeated by another package is numbered.
23972
+ *
23973
+ * Deliberately unwrapped. A generic "this is data, not instructions" fence here would also wrap
23974
+ * po/profile-config, which carries the operator's persona and *is* authoritative instruction, and demoting it
23975
+ * would be worse than the anonymity it fixes. A resource whose body is untrusted owns its own boundary, the way
23976
+ * po-goal fences a user objective in escaped <goal_objective>.
23977
+ */
23978
+ function contextSections(resources) {
23979
+ const seen = /* @__PURE__ */ new Map();
23980
+ return resources.filter((resource) => resource.kind !== "skill" && resource.kind !== "prompt").map((resource) => {
23981
+ const count = (seen.get(resource.name) ?? 0) + 1;
23982
+ seen.set(resource.name, count);
23983
+ const key = promptSection.context(resource.name);
23984
+ return [count === 1 ? key : `${key}_${count}`, resource.text];
23985
+ });
23986
+ }
23987
+ /**
23988
+ * Every section the prompt can fill for these resources and modes, base sections first. Listing one that stays empty
23989
+ * is harmless: a section with no text is never shown.
23990
+ */
23991
+ function systemPromptSectionKeys(resources, modes) {
23992
+ return [
23993
+ "po",
23994
+ "po-tools",
23995
+ ...new Set(resources.filter(({ kind }) => kind === "skill").map(({ name }) => promptSection.skill(name))),
23996
+ ...contextSections(resources).map(([key]) => key),
23997
+ "po-session",
23998
+ "po-hooks",
23999
+ ...modes.map(promptSection.mode)
24000
+ ];
24001
+ }
23877
24002
  /** Restores the last accepted live selection from journal projections, falling back on launch configuration. */
23878
24003
  function restoreHeadlessSelection(entries, fallback) {
23879
24004
  let projected;
@@ -24025,21 +24150,14 @@ function modelMetadata(model) {
24025
24150
  function mapResources(resources) {
24026
24151
  const skills = [];
24027
24152
  const promptTemplates = [];
24028
- const context = [];
24029
- for (const resource of resources) if (resource.kind === "skill") {
24030
- const skill = headlessHarnessSkill(resource);
24031
- skills.push(skill);
24032
- } else if (resource.kind === "prompt") promptTemplates.push({
24153
+ for (const resource of resources) if (resource.kind === "skill") skills.push(headlessHarnessSkill(resource));
24154
+ else if (resource.kind === "prompt") promptTemplates.push({
24033
24155
  name: resource.name,
24034
24156
  content: resource.text
24035
24157
  });
24036
- else context.push(resource.text);
24037
24158
  return {
24038
- harness: {
24039
- skills,
24040
- promptTemplates
24041
- },
24042
- context
24159
+ skills,
24160
+ promptTemplates
24043
24161
  };
24044
24162
  }
24045
24163
  function toolAdapter(tool, executionContext, reportedErrors) {
@@ -24297,6 +24415,26 @@ async function composeHeadlessSessionHost(options, releaseEnvironment) {
24297
24415
  profileTimeZone = isTimeZone(timeZone) ? timeZone : void 0;
24298
24416
  }
24299
24417
  };
24418
+ /** The base prompt as named parts, in prompt order. */
24419
+ const composeSystemPromptParts = (resources) => {
24420
+ const skills = systemPromptSkills(resources, toolGuidance.some((entry) => entry.name === PO_LOAD_SKILL_TOOL)).flatMap((resource) => {
24421
+ const text = formatSkillForSystemPrompt(headlessHarnessSkill(resource));
24422
+ return text ? [[promptSection.skill(resource.name), text]] : [];
24423
+ });
24424
+ const join = (parts) => parts.filter(Boolean).join("\n\n");
24425
+ return {
24426
+ po: join([initialSystemPrompt, projectContextBlock]),
24427
+ "po-tools": formatToolPrompt(toolGuidance),
24428
+ ...Object.fromEntries(skills),
24429
+ ...Object.fromEntries(contextSections(resources)),
24430
+ "po-session": join([
24431
+ workingDirectoryLine,
24432
+ personTimeZoneLine(readPersonTimeZone()),
24433
+ options.environment["PO_SESSION_TEMP_DIR"] ? `Session temporary folder: ${options.environment[PO_SESSION_TEMP_DIR]}\nUse this folder for generated scratch files outside the workspace. Keep workspace edits in place and save important deliverables in session artifacts. Temporary files may be removed by the operating system.` : ""
24434
+ ])
24435
+ };
24436
+ };
24437
+ const joinPromptSections = (sections) => Object.values(sections).filter(Boolean).join("\n\n");
24300
24438
  /**
24301
24439
  * Everything the prompt is made of before a package has had a say.
24302
24440
  *
@@ -24304,20 +24442,7 @@ async function composeHeadlessSessionHost(options, releaseEnvironment) {
24304
24442
  * pure; the hook pass that follows it there is not, which is why the context
24305
24443
  * panel is shown this rather than a prompt built for the panel's sake.
24306
24444
  */
24307
- const composeSystemPrompt = (resources) => {
24308
- const mapped = mapResources(resources);
24309
- const skills = formatSkillsForSystemPrompt(systemPromptSkills(resources, toolGuidance.some((entry) => entry.name === PO_LOAD_SKILL_TOOL)).map(headlessHarnessSkill)).trim();
24310
- return [
24311
- initialSystemPrompt,
24312
- projectContextBlock,
24313
- formatToolPrompt(toolGuidance),
24314
- skills,
24315
- ...mapped.context,
24316
- workingDirectoryLine,
24317
- personTimeZoneLine(readPersonTimeZone()),
24318
- options.environment["PO_SESSION_TEMP_DIR"] ? `Session temporary folder: ${options.environment[PO_SESSION_TEMP_DIR]}\nUse this folder for generated scratch files outside the workspace. Keep workspace edits in place and save important deliverables in session artifacts. Temporary files may be removed by the operating system.` : ""
24319
- ].filter(Boolean).join("\n\n");
24320
- };
24445
+ const composeSystemPrompt = (resources) => joinPromptSections(composeSystemPromptParts(resources));
24321
24446
  /** The last prompt a turn actually built, once one has. */
24322
24447
  let builtSystemPrompt;
24323
24448
  /**
@@ -24410,7 +24535,9 @@ async function composeHeadlessSessionHost(options, releaseEnvironment) {
24410
24535
  };
24411
24536
  };
24412
24537
  const selectionCommand = new AsyncLocalStorage();
24538
+ let headlessHost;
24413
24539
  const runtime = await createDirectHarnessRuntime({
24540
+ systemPromptSections: () => headlessHost ? systemPromptSectionKeys(headlessHost.appliedResources, headlessHost.applyingSelection.state?.["mode"] ?? []) : [],
24414
24541
  cwd: options.cwd,
24415
24542
  sessionId: options.sessionId,
24416
24543
  onFullHistoryRead: (sessionId, entryCount) => {
@@ -24513,10 +24640,22 @@ async function composeHeadlessSessionHost(options, releaseEnvironment) {
24513
24640
  let stage = "resources";
24514
24641
  try {
24515
24642
  if (!headlessHost) throw new Error("Headless capabilities are not installed.");
24516
- let prompt = composeSystemPrompt(await headlessHost.readResources());
24643
+ const base = composeSystemPromptParts(await headlessHost.readResources());
24644
+ let prompt = joinPromptSections(base);
24645
+ const appended = /* @__PURE__ */ new Map([["po-hooks", ""]]);
24646
+ let rewritten = false;
24517
24647
  stage = "before_agent_start hooks";
24518
- const patches = await headlessHost.dispatchHook("before_agent_start", { systemPrompt: prompt });
24519
- for (const patch of patches) if (patch && typeof patch === "object" && "systemPrompt" in patch && typeof patch.systemPrompt === "string") prompt = patch.systemPrompt;
24648
+ await headlessHost.dispatchHook("before_agent_start", { systemPrompt: prompt }, void 0, (hook, patch) => {
24649
+ if (!isRecord$4(patch) || typeof patch.systemPrompt !== "string") return;
24650
+ if (patch.systemPrompt.startsWith(prompt)) {
24651
+ const text = patch.systemPrompt.slice(prompt.length);
24652
+ const attribution = hook.when?.attribution;
24653
+ const key = attribution?.kind === "mode" && attribution.name ? promptSection.mode(attribution.name) : "po-hooks";
24654
+ appended.set(key, (appended.get(key) ?? "") + text);
24655
+ } else rewritten = true;
24656
+ prompt = patch.systemPrompt;
24657
+ });
24658
+ const sections = rewritten ? { po: prompt } : Object.fromEntries([...Object.entries(base), ...[...appended].map(([key, text]) => [key, text.trim()])].filter(([, text]) => text));
24520
24659
  const expectedIdentity = options.workflowContext?.identity;
24521
24660
  if (expectedIdentity !== void 0) {
24522
24661
  stage = "workflow profile admission";
@@ -24535,7 +24674,7 @@ async function composeHeadlessSessionHost(options, releaseEnvironment) {
24535
24674
  else throw error;
24536
24675
  }
24537
24676
  }
24538
- return prompt;
24677
+ return sections;
24539
24678
  } catch (error) {
24540
24679
  promptPreparationFailed = true;
24541
24680
  promptPreparationError = error;
@@ -24630,7 +24769,6 @@ async function composeHeadlessSessionHost(options, releaseEnvironment) {
24630
24769
  let latestSelection = options.selection;
24631
24770
  const initialSelection = restoreHeadlessSelection(entries, options.selection);
24632
24771
  let requestedProfile = options.requestedProfile;
24633
- let headlessHost;
24634
24772
  let mcpServiceRoot;
24635
24773
  let mcpLifecycle = new AbortController();
24636
24774
  const chatgptLifecycle = new AbortController();
@@ -24719,11 +24857,27 @@ async function composeHeadlessSessionHost(options, releaseEnvironment) {
24719
24857
  const model = separator > 0 ? modelRuntime.getModel(reference.slice(0, separator), reference.slice(separator + 1)) : void 0;
24720
24858
  if (!model || !modelRuntime.hasConfiguredAuth(model.provider)) throw new Error(`Model is not configured: ${reference}`);
24721
24859
  if (!runtime.completeModel) throw new Error("The runtime does not support auxiliary model requests.");
24860
+ const images = request.images ?? [];
24861
+ if (images.length > 0) {
24862
+ if (!model.input.includes("image")) throw new Error(`Model does not accept images: ${reference}`);
24863
+ if (images.length > MAX_AUXILIARY_IMAGES) throw new Error(`At most ${MAX_AUXILIARY_IMAGES} images per request.`);
24864
+ for (const image of images) {
24865
+ if (!AUXILIARY_IMAGE_TYPES.has(image.mimeType)) throw new Error(`Unsupported image type: ${image.mimeType}`);
24866
+ if (Math.ceil(image.data.length * .75) > MAX_AUXILIARY_IMAGE_BYTES) throw new Error("Image exceeds 5 MiB.");
24867
+ }
24868
+ }
24722
24869
  const response = await runtime.completeModel(model, {
24723
24870
  systemPrompt: request.systemPrompt,
24724
24871
  messages: [{
24725
24872
  role: "user",
24726
- content: request.input,
24873
+ content: images.length === 0 ? request.input : [{
24874
+ type: "text",
24875
+ text: request.input
24876
+ }, ...images.map((image) => ({
24877
+ type: "image",
24878
+ data: image.data,
24879
+ mimeType: image.mimeType
24880
+ }))],
24727
24881
  timestamp: Date.now()
24728
24882
  }],
24729
24883
  ...request.tools ? { tools: [...request.tools] } : {}
@@ -25430,11 +25584,11 @@ async function composeHeadlessSessionHost(options, releaseEnvironment) {
25430
25584
  },
25431
25585
  applyResources: async (next) => {
25432
25586
  const mapped = mapResources(next);
25433
- const packageNames = new Set((mapped.harness.skills ?? []).map((skill) => skill.name));
25587
+ const packageNames = new Set((mapped.skills ?? []).map((skill) => skill.name));
25434
25588
  const piSkills = (piHost?.skills ?? []).filter((skill) => !packageNames.has(skill.name));
25435
- const mergedSkills = [...piSkills, ...mapped.harness.skills ?? []];
25436
- await runtime.replaceResources(piSkills.length === 0 ? mapped.harness : {
25437
- ...mapped.harness,
25589
+ const mergedSkills = [...piSkills, ...mapped.skills ?? []];
25590
+ await runtime.replaceResources(piSkills.length === 0 ? mapped : {
25591
+ ...mapped,
25438
25592
  skills: mergedSkills
25439
25593
  });
25440
25594
  appliedSkills = new Map(mergedSkills.map((skill) => {
@@ -114949,86 +115103,86 @@ function scaffoldTenancy(shared) {
114949
115103
  //#endregion
114950
115104
  //#region virtual:po-server-packages
114951
115105
  const contentRevisions = {
114952
- "@agimon-ai/po-approval": "c096e46835a99c6655d2e5562be5770f9aa1dab4b331783319262b8e0eb0a094",
114953
- "@agimon-ai/po-artifact": "ee524bd3e1f77052b571b108b9576a36b2a56f2e6a4fe560d07f99ff07e3abe4",
114954
- "@agimon-ai/po-author": "84b43a981a028d83e7bc23eff9574a2d93d35b9f271bd64d654d5d650902c465",
114955
- "@agimon-ai/po-autocompact": "e775963f85af21d76b28bc8c4459f1818d5361342ac7ac14a79948f455b56f67",
114956
- "@agimon-ai/po-autostop": "d5f9d37cb5e1a882491b4e30b4d704645cd9ab106b86def186710d80ef32e656",
115106
+ "@agimon-ai/po-approval": "30b3f5fd17f0475fe78e3b8537a452a913398cb5327fc260e940e28f0a3dd586",
115107
+ "@agimon-ai/po-artifact": "08dabf39804d9bf504d668bfec746558da9982e4a8b98f88ea46fcf3a15e07f1",
115108
+ "@agimon-ai/po-author": "9cc9f9121c6906cd6092e4109862e155687eadd36b2e04b064c0ecd1cc72d18b",
115109
+ "@agimon-ai/po-autocompact": "2587cc458a609de7b655e51c977fbd8825d69d371f2f6ed8682c7e04f028ca96",
115110
+ "@agimon-ai/po-autostop": "fd3a505eeeb383e6f95a8aa7ef1e6357382629defb6c80d7deb8631c7c207147",
114957
115111
  "@agimon-ai/po-browse": null,
114958
- "@agimon-ai/po-cache": "935e376e0c595f3bde8722d272be8743ad6868678d804de35b3c3b4d9fa8ae6a",
114959
- "@agimon-ai/po-calendar": "0a3cdf3313f5b8e70962b4ba3c65ed5f50203dffe1dbab1a79051b0e212f833f",
114960
- "@agimon-ai/po-codemode": "ebe16fb2f09df66ad2aca6c5ebb1eb4c131f0c7732bda85f07f2709bab2dc6ea",
114961
- "@agimon-ai/po-config": "8c621641c48397f5fac84b8cf2688656ac7f43c41a74b428bb45a6b33642c918",
114962
- "@agimon-ai/po-db": "220cfe693279349048dde7781b8b082dba8fc83d47c404244ddd94b9717fb9e4",
114963
- "@agimon-ai/po-domain": "2be0255fda6d3d49ddab4e5826a688926eda8eea04b7082c0826f0a532903ad7",
114964
- "@agimon-ai/po-edit": "9816017ed1a7f0d39e14e468d0229ed0fd6550641c10b706e055e64d089ba342",
114965
- "@agimon-ai/po-federation": "7f9e61a4b4bda2b8efc50beee5c2bbbb7f02e892201d5e8064fd552d44172ad1",
114966
- "@agimon-ai/po-file-edit": "450ffeedcfdeb57929b27b9d2061cabde0b6298273d5c14c180454038312dd08",
114967
- "@agimon-ai/po-goal": "ffe328adf38d06f9bccb24b0d523419bc001fb97ce0858e06edc7112b8342524",
114968
- "@agimon-ai/po-grep": "1d134bda74f185aa84db63227157c64f2e6a82854086cd33c9f77e0721ea420d",
114969
- "@agimon-ai/po-help": "a1dc841833d065afbe9893de7cd2e1864e0991ff50e0559461a76e809bb7b041",
114970
- "@agimon-ai/po-log": "f514997575b157fdf378d1502666e66da02ef5b67110e330eb733f2a77fddc63",
114971
- "@agimon-ai/po-mcp": "1a4fe1dbe63b53e2c7174c4dfd5f3b8a91d50ba9621038d6019d0c915aabdb84",
114972
- "@agimon-ai/po-mode": "06cd69911bdb11ffbc5a4524aec2d680e1c5be5c83af6dd46fa9a1e8dbb562a9",
114973
- "@agimon-ai/po-notification": "2bd3e3b1c5cf1ef4419a5a57b07b89927235419b62c0e1ae2892b738573f7e80",
114974
- "@agimon-ai/po-plan": "8cc91040342e3868ff3dd220b03294a2477f260df67475fefe0b85ee2f774931",
114975
- "@agimon-ai/po-preset": "6bb68978055848772cd7a9ef32dfa6d6517b2e5e2af265dcb0ab86d9693d3106",
114976
- "@agimon-ai/po-profile": "1cf6164471cf31ebaf8f67d9679261be81d8b2aaef8c58257a28454eafdc4062",
114977
- "@agimon-ai/po-prompt": "e0c20548e85c13a5f0b4269bbebd3571f17ffbcd385f34b088e9389dce0afd7f",
114978
- "@agimon-ai/po-read": "8aed6d2248f9ca854a25b2fe96759fc95031fbca6dc10b66a3694ac59ccb1bcb",
114979
- "@agimon-ai/po-runner": "2d6c37377191be54a2574ded3ffd1f5261a2479d73dfa883191f6b3b747f5ec2",
114980
- "@agimon-ai/po-scaffold": "68679703ee168d8c1cca3e8dcc6cb44a88f1af7675bd8bfb59cd29bf6cf30e6e",
114981
- "@agimon-ai/po-session": "8218b7e96d6f2dd8a805cfef253ea45ca5d09cc37f714d736868a27e56b3b0e0",
114982
- "@agimon-ai/po-session-mcp": "d9ecd43085d0071d8b7c956940f5fb83dc95ed8ec2a775a52cd2854c5725e47e",
114983
- "@agimon-ai/po-skill": "3284f40462f3fb35a9b3cc53d880ce00ab31033ffba02e309f32581e114dc5c1",
114984
- "@agimon-ai/po-space": "58731ef9a8666de5949e074d25cde944531f34ea9a4a697f559f700da97892c3",
114985
- "@agimon-ai/po-team": "4de512fd7c11d44ea888ff2ba11b3b4cb7e2b25fbf68c06bffa81ce05d6eeea4",
114986
- "@agimon-ai/po-ui": "cd858440b9033ad16f1828956fa3ead9fc15f39772600a5cd99000a5007bc3f0",
114987
- "@agimon-ai/po-vault": "b900fe9de950be76ffe6117e6f6b3e9228462cb23920da563a04bcee5b085cc8",
114988
- "@agimon-ai/po-voice": "f3ef0af24f3b7ada03bb6262ca06da45cba07aad184c53c23730fbc33fb44048",
114989
- "@agimon-ai/po-web-search": "e511da491e03acfd591cfe022e1b5f689cf0451f2e2eedc21762907a016165af",
114990
- "@agimon-ai/po-workflow": "ae2a0b6c7072f0bcbbfd2d4ebc6e086d00729847265487aa3c6766433aec16e5"
115112
+ "@agimon-ai/po-cache": "eb1beef4d9c86b427f108c7fe302e737474c3db3ae0ff115ffba39915f92e4d3",
115113
+ "@agimon-ai/po-calendar": "e515070177bbfe33967143eb516b09b6dcd96e84edefe838fa163a9dd1388555",
115114
+ "@agimon-ai/po-codemode": "e358eff5ac9e9f39fc1daef1412fe4d28f46de77c6bf0fe5c516064cf29b9939",
115115
+ "@agimon-ai/po-config": "e98fcb348c5230e37f4675b7bcfbcd6636a5f064de6830022bebacdc4cf4d900",
115116
+ "@agimon-ai/po-db": "4221ea8637341585a09c58d1b21d6a12811143bd06943ac4a254e3818f740a15",
115117
+ "@agimon-ai/po-domain": "111cbab833fdc83205f61704139066624706c29a801ecba64c4caf57ff22ceaf",
115118
+ "@agimon-ai/po-edit": "f28dbae0747f679266ac13c9f6d838d2fa6c28129130d49060bd937631efa18a",
115119
+ "@agimon-ai/po-federation": "6185d45cd3df4fd301b7755b66700be5efa242b4c188576205a8d34be749b7b8",
115120
+ "@agimon-ai/po-file-edit": "435550039e1b5a2794b90b4d9e2487f28d1cb530668673b37b83a7c0fee8ad93",
115121
+ "@agimon-ai/po-goal": "3ea493afb92c08a62838cf4f0df37434dc09dac4385e8ce857e72c9149b07f95",
115122
+ "@agimon-ai/po-grep": "9e5463047500279152fddd4f97d4980d0380d185d687ad80e47e865685bed857",
115123
+ "@agimon-ai/po-help": "0fd2ca59a9cd22a4a9950656caf72e17f795367553672d4558e60c95aa6be225",
115124
+ "@agimon-ai/po-log": "b09685170bf867500ad5ac30f8fbb79113c911084e0342f17225069d3ca308a3",
115125
+ "@agimon-ai/po-mcp": "9f48a69212b37814b4b54a7039b6caab22bc212146d4d738a4d540b48c2c3ebc",
115126
+ "@agimon-ai/po-mode": "b2f10ee14197f55cf8f651522391737bbe68f1482d8281dd81e1306d0acc7b64",
115127
+ "@agimon-ai/po-notification": "b0cf7237c2f89a08eb83e6aca7256003834786c5c1c6fd380c48dc2847ab9d11",
115128
+ "@agimon-ai/po-plan": "2d4a74f47b92e13ef1caf872b1c6998fc5de7242c7226e8957db4c79ff02d7c1",
115129
+ "@agimon-ai/po-preset": "cc63c80ed129bc76e89403ada92a9748f0e8931591f8a8ce0079fc856930c3d9",
115130
+ "@agimon-ai/po-profile": "ef2f682f04a23080de98f84f4aab69613a46fb23f61c88bc776bdb3375f20c61",
115131
+ "@agimon-ai/po-prompt": "c409f6cac63b965c4fe80217282279459d3fb7db28ba7ed0a7451031453b18d4",
115132
+ "@agimon-ai/po-read": "382f70117351d9e21df032c31af529747e66c79db90f88ccd4285e0f80f018f4",
115133
+ "@agimon-ai/po-runner": "487a73d227cf810854e9cb64eed329ef9fb209e6cd74fa6b4c435f26c997f258",
115134
+ "@agimon-ai/po-scaffold": "529b004a8f0c79c7ff9fda560ba9071533644ad3698a1ad9af2997d9e092bd49",
115135
+ "@agimon-ai/po-session": "9d3933e810d1f72a45b1bcad3a7d8309e61e532eb77bb9151eec2ecf51715d79",
115136
+ "@agimon-ai/po-session-mcp": "2703329f5a691fa632fe206804379fceb196000e5128f613ca46a4d0f69310ba",
115137
+ "@agimon-ai/po-skill": "7ac4b4a57e427c4ba33da90d91c893cbe4713e1e6774e35cdfeb8711adaa0a9a",
115138
+ "@agimon-ai/po-space": "eb04f40f2fdcf88304720f3774fc0d7f2feb00a393e3c4c3a11e8f17d51cf330",
115139
+ "@agimon-ai/po-team": "97656ed51a24a87f23c04db5f7c9e2a1e13a23c6da77b936f17f904893f5aa16",
115140
+ "@agimon-ai/po-ui": "6c249919015710baff83387fe0392c9de13d8cff98b3343229556eaa3d1f3b34",
115141
+ "@agimon-ai/po-vault": "514abdb9abe7f68e3980115dab81a0d33d95aed94d2a23b7d0ce893e4ef25a39",
115142
+ "@agimon-ai/po-voice": "bdc4916bb60b4df45c602f83d1633c00f46293ff3e7f6b3261b758655a1471e7",
115143
+ "@agimon-ai/po-web-search": "f556897684740d1c2dbd09d7e79afb28001b03d6ebdb8542f7c31886af320b9c",
115144
+ "@agimon-ai/po-workflow": "30b7c8a49d4b58aa44c87d3117b28f970358df8d16a5305cbd2a5e4ab4a1b6e4"
114991
115145
  };
114992
115146
  var virtual_po_server_packages_default = {
114993
115147
  "@agimon-ai/po-approval": () => import("./server-CQmb0lYL.js"),
114994
- "@agimon-ai/po-artifact": () => import("./server-Cjtr0oVJ.js"),
115148
+ "@agimon-ai/po-artifact": () => import("./server-NKqdiQ5G.js"),
114995
115149
  "@agimon-ai/po-autocompact": () => import("./server-BcPD_6a2.js"),
114996
115150
  "@agimon-ai/po-autostop": () => import("./server-DlRePYOB.js"),
114997
115151
  "@agimon-ai/po-browse": async () => ({ default: (await Promise.resolve().then(() => edge_exports)).edgeBrowsePlugin }),
114998
- "@agimon-ai/po-cache": () => import("./server-_jWkMESg.js"),
114999
- "@agimon-ai/po-calendar": () => import("./server-CMaWF5UA.js"),
115000
- "@agimon-ai/po-codemode": () => import("./server-C0Lt6nTt.js"),
115001
- "@agimon-ai/po-config": () => import("./server-BtnOqSB5.js"),
115152
+ "@agimon-ai/po-cache": () => import("./server-CpbBJ9ZU.js"),
115153
+ "@agimon-ai/po-calendar": () => import("./server-hJ4tYEt4.js"),
115154
+ "@agimon-ai/po-codemode": () => import("./server-B51reaJ9.js"),
115155
+ "@agimon-ai/po-config": () => import("./server-DI6YhDI5.js"),
115002
115156
  "@agimon-ai/po-db": () => import("./server-C8NPfG1H.js"),
115003
- "@agimon-ai/po-domain": () => import("./server-p7qANgrf.js"),
115157
+ "@agimon-ai/po-domain": () => import("./server-B3jB3q_h.js"),
115004
115158
  "@agimon-ai/po-edit": () => import("./server-CKkaxOc0.js"),
115005
115159
  "@agimon-ai/po-file-edit": () => import("./server-C-HBjWRo.js"),
115006
- "@agimon-ai/po-scaffold": () => import("./server-BeoA0QB-.js"),
115160
+ "@agimon-ai/po-scaffold": () => import("./server-dBNqYUdX.js"),
115007
115161
  "@agimon-ai/po-grep": () => import("./server-ClQQGtsI.js"),
115008
- "@agimon-ai/po-log": () => import("./server-Dkc9Kth2.js"),
115009
- "@agimon-ai/po-preset": () => import("./server-vhmQi3co.js"),
115010
- "@agimon-ai/po-mcp": () => import("./server-CWR34Vx6.js"),
115162
+ "@agimon-ai/po-log": () => import("./server-DLDK_aeG.js"),
115163
+ "@agimon-ai/po-preset": () => import("./server-_vSe9bTM.js"),
115164
+ "@agimon-ai/po-mcp": () => import("./server-DYKXGQVY.js"),
115011
115165
  "@agimon-ai/po-mode": () => import("./server-Df1defzp.js"),
115012
115166
  "@agimon-ai/po-notification": () => import("./server-w1aKMZOs.js"),
115013
- "@agimon-ai/po-profile": () => import("./server-BP_Uj5Bb.js"),
115014
- "@agimon-ai/po-prompt": () => import("./server-BGKAeB3M.js"),
115167
+ "@agimon-ai/po-profile": () => import("./server-Dosi6o2W.js"),
115168
+ "@agimon-ai/po-prompt": () => import("./server-CAipGCpQ.js"),
115015
115169
  "@agimon-ai/po-read": () => import("./server-DgZd_TuT.js"),
115016
- "@agimon-ai/po-runner": () => import("./server-nHPXbRDA.js"),
115017
- "@agimon-ai/po-session": () => import("./server-Cy2FhGBm.js"),
115018
- "@agimon-ai/po-session-mcp": () => import("./server-BsgvOpBF.js"),
115019
- "@agimon-ai/po-federation": () => import("./server-D8yEblCB.js"),
115020
- "@agimon-ai/po-skill": () => import("./server-CkJQJ3Oo.js"),
115170
+ "@agimon-ai/po-runner": () => import("./server-B20agHjD.js"),
115171
+ "@agimon-ai/po-session": () => import("./server-vZL2icDV.js"),
115172
+ "@agimon-ai/po-session-mcp": () => import("./server-Byk0FT6E.js"),
115173
+ "@agimon-ai/po-federation": () => import("./server-wQHKuB2m.js"),
115174
+ "@agimon-ai/po-skill": () => import("./server-BsEMLlTz.js"),
115021
115175
  "@agimon-ai/po-space": () => import("./server-lgV6liTt.js"),
115022
- "@agimon-ai/po-team": () => import("./server-DF0YIUeI.js"),
115176
+ "@agimon-ai/po-team": () => import("./server-DmqO6gBs.js"),
115023
115177
  "@agimon-ai/po-ui": () => import("./server-CQPI6jIa.js"),
115024
115178
  "@agimon-ai/po-vault": () => import("./server-CZiAy2v5.js"),
115025
- "@agimon-ai/po-help": () => import("./server-B0tM5Ygf.js"),
115026
- "@agimon-ai/po-goal": () => import("./server-DRFESCq1.js"),
115027
- "@agimon-ai/po-plan": () => import("./server-B8-vStCx.js"),
115028
- "@agimon-ai/po-author": () => import("./server-BCZ_R3kX.js"),
115029
- "@agimon-ai/po-voice": () => import("./server-BAbdiL38.js"),
115030
- "@agimon-ai/po-workflow": () => import("./server-BIQhg1jS.js"),
115031
- "@agimon-ai/po-web-search": () => import("./server-AKM07WcM.js")
115179
+ "@agimon-ai/po-help": () => import("./server-EYARWKpG.js"),
115180
+ "@agimon-ai/po-goal": () => import("./server-CUGzeCH4.js"),
115181
+ "@agimon-ai/po-plan": () => import("./server-CqDWkfdL.js"),
115182
+ "@agimon-ai/po-author": () => import("./server-BD_tbxwG.js"),
115183
+ "@agimon-ai/po-voice": () => import("./server-BsjwqF7J.js"),
115184
+ "@agimon-ai/po-workflow": () => import("./server-DEKg8AVN.js"),
115185
+ "@agimon-ai/po-web-search": () => import("./server-DebdjWjz.js")
115032
115186
  };
115033
115187
  //#endregion
115034
115188
  //#region src/composition/cloudTeam.ts
@@ -115208,7 +115362,7 @@ async function loadEdgePackages(scope, onNotice, entries = edgePackageEntries(),
115208
115362
  activeLayers: [],
115209
115363
  onNotice,
115210
115364
  importer: async (url) => {
115211
- if (url === "@agimon-ai/po-session") return { default: cloudSessionPlugin((await import("./server-Cy2FhGBm.js")).default, team, parentTools) };
115365
+ if (url === "@agimon-ai/po-session") return { default: cloudSessionPlugin((await import("./server-vZL2icDV.js")).default, team, parentTools) };
115212
115366
  return virtual_po_server_packages_default[url]();
115213
115367
  }
115214
115368
  });
@@ -123669,235 +123823,235 @@ var virtual_po_capabilities_default = {
123669
123823
  "packages": [
123670
123824
  {
123671
123825
  "name": "@agimon-ai/po-approval",
123672
- "version": "0.0.0-alpha.173",
123826
+ "version": "0.0.0-alpha.175",
123673
123827
  "contractFingerprint": "2fe2af06dfdf1ea281408f3a86b7599e2409044cac334bcd4060f55dac3d6953",
123674
123828
  "operations": []
123675
123829
  },
123676
123830
  {
123677
123831
  "name": "@agimon-ai/po-artifact",
123678
- "version": "0.0.0-alpha.172",
123832
+ "version": "0.0.0-alpha.174",
123679
123833
  "contractFingerprint": "995c1365a0db700a3901663f7908a961643f6612a4c7bdca63b2d027a955a393",
123680
123834
  "operations": []
123681
123835
  },
123682
123836
  {
123683
123837
  "name": "@agimon-ai/po-autocompact",
123684
- "version": "0.0.0-alpha.173",
123838
+ "version": "0.0.0-alpha.175",
123685
123839
  "contractFingerprint": "488617da2873d7b4aac523bb93c7a528caf573c41009d22b47af27765478b33a",
123686
123840
  "operations": []
123687
123841
  },
123688
123842
  {
123689
123843
  "name": "@agimon-ai/po-autostop",
123690
- "version": "0.0.0-alpha.173",
123844
+ "version": "0.0.0-alpha.175",
123691
123845
  "contractFingerprint": "488617da2873d7b4aac523bb93c7a528caf573c41009d22b47af27765478b33a",
123692
123846
  "operations": []
123693
123847
  },
123694
123848
  {
123695
123849
  "name": "@agimon-ai/po-browse",
123696
- "version": "0.0.1-alpha.171",
123850
+ "version": "0.0.1-alpha.173",
123697
123851
  "contractFingerprint": "be6ef9f776232eb98826f9843286d0e4de861370ca9a1b1c3518a76ef9214475",
123698
123852
  "operations": []
123699
123853
  },
123700
123854
  {
123701
123855
  "name": "@agimon-ai/po-cache",
123702
- "version": "0.0.0-alpha.173",
123856
+ "version": "0.0.0-alpha.175",
123703
123857
  "contractFingerprint": "488617da2873d7b4aac523bb93c7a528caf573c41009d22b47af27765478b33a",
123704
123858
  "operations": []
123705
123859
  },
123706
123860
  {
123707
123861
  "name": "@agimon-ai/po-calendar",
123708
- "version": "0.0.1-alpha.132",
123862
+ "version": "0.0.1-alpha.134",
123709
123863
  "contractFingerprint": "3d1d19f1d46a2b986d9d882308ade32e1ffd72c7c578ebdc13f6c4603a11c266",
123710
123864
  "operations": []
123711
123865
  },
123712
123866
  {
123713
123867
  "name": "@agimon-ai/po-codemode",
123714
- "version": "0.0.1-alpha.146",
123868
+ "version": "0.0.1-alpha.148",
123715
123869
  "contractFingerprint": "b80fae8697548cb366f2ce11e68c6589aaadb5dd74721aee163fbc976240004f",
123716
123870
  "operations": []
123717
123871
  },
123718
123872
  {
123719
123873
  "name": "@agimon-ai/po-config",
123720
- "version": "0.0.0-alpha.173",
123874
+ "version": "0.0.0-alpha.175",
123721
123875
  "contractFingerprint": "a2034133b2bd6769831a0513c4cc40d142b7bb3f0c56cfe913ca77f4d311c1ad",
123722
123876
  "operations": []
123723
123877
  },
123724
123878
  {
123725
123879
  "name": "@agimon-ai/po-db",
123726
- "version": "0.0.0-alpha.173",
123880
+ "version": "0.0.0-alpha.175",
123727
123881
  "contractFingerprint": "488617da2873d7b4aac523bb93c7a528caf573c41009d22b47af27765478b33a",
123728
123882
  "operations": []
123729
123883
  },
123730
123884
  {
123731
123885
  "name": "@agimon-ai/po-domain",
123732
- "version": "0.0.0-alpha.173",
123886
+ "version": "0.0.0-alpha.175",
123733
123887
  "contractFingerprint": "f84675636fbfb4d18b2a7ea413da2bff8c9aa0ff4a1de7fe2ef106bd3065bb97",
123734
123888
  "operations": []
123735
123889
  },
123736
123890
  {
123737
123891
  "name": "@agimon-ai/po-edit",
123738
- "version": "0.0.0-alpha.173",
123892
+ "version": "0.0.0-alpha.175",
123739
123893
  "contractFingerprint": "488617da2873d7b4aac523bb93c7a528caf573c41009d22b47af27765478b33a",
123740
123894
  "operations": []
123741
123895
  },
123742
123896
  {
123743
123897
  "name": "@agimon-ai/po-file-edit",
123744
- "version": "0.0.0-alpha.173",
123898
+ "version": "0.0.0-alpha.175",
123745
123899
  "contractFingerprint": "81d440573fe5c3698f08a3b86db5fda727b8bab5d3838f6e9c52ba1bace35ba2",
123746
123900
  "operations": []
123747
123901
  },
123748
123902
  {
123749
123903
  "name": "@agimon-ai/po-scaffold",
123750
- "version": "0.0.0-alpha.173",
123904
+ "version": "0.0.0-alpha.175",
123751
123905
  "contractFingerprint": "f8f850b9a58bb4911a4315bc299a150ef0796a4ac2f51fe7c0e7935960bdfd45",
123752
123906
  "operations": []
123753
123907
  },
123754
123908
  {
123755
123909
  "name": "@agimon-ai/po-grep",
123756
- "version": "0.0.0-alpha.173",
123910
+ "version": "0.0.0-alpha.175",
123757
123911
  "contractFingerprint": "488617da2873d7b4aac523bb93c7a528caf573c41009d22b47af27765478b33a",
123758
123912
  "operations": []
123759
123913
  },
123760
123914
  {
123761
123915
  "name": "@agimon-ai/po-log",
123762
- "version": "0.0.0-alpha.173",
123916
+ "version": "0.0.0-alpha.175",
123763
123917
  "contractFingerprint": "b2fd1caec91ff87dfe5532900e651a1bdcb0bd1d077b0207b6798cd6bbb06887",
123764
123918
  "operations": []
123765
123919
  },
123766
123920
  {
123767
123921
  "name": "@agimon-ai/po-preset",
123768
- "version": "0.0.0-alpha.173",
123922
+ "version": "0.0.0-alpha.175",
123769
123923
  "contractFingerprint": "99ef0dcec026a1712ee4c03caa52a816a8bc7f6f5a119c2e34101a111a7408b0",
123770
123924
  "operations": []
123771
123925
  },
123772
123926
  {
123773
123927
  "name": "@agimon-ai/po-mcp",
123774
- "version": "0.0.0-alpha.173",
123928
+ "version": "0.0.0-alpha.175",
123775
123929
  "contractFingerprint": "262dd3b193361f7a3bb6b5c3f330a7d5af7539f390885b7d7dea0fa77cc8a552",
123776
123930
  "operations": []
123777
123931
  },
123778
123932
  {
123779
123933
  "name": "@agimon-ai/po-mode",
123780
- "version": "0.0.0-alpha.173",
123934
+ "version": "0.0.0-alpha.175",
123781
123935
  "contractFingerprint": "532809f876e15199f3a42b3ed6f4706a904abffbdd3f3de3bba5a1edcaa536e6",
123782
123936
  "operations": []
123783
123937
  },
123784
123938
  {
123785
123939
  "name": "@agimon-ai/po-notification",
123786
- "version": "0.0.0-alpha.173",
123940
+ "version": "0.0.0-alpha.175",
123787
123941
  "contractFingerprint": "488617da2873d7b4aac523bb93c7a528caf573c41009d22b47af27765478b33a",
123788
123942
  "operations": []
123789
123943
  },
123790
123944
  {
123791
123945
  "name": "@agimon-ai/po-profile",
123792
- "version": "0.0.0-alpha.173",
123946
+ "version": "0.0.0-alpha.175",
123793
123947
  "contractFingerprint": "a86498d20553e56959b2cc88e160434986fe6b3ad205a81e09f09d3e40dc66de",
123794
123948
  "operations": []
123795
123949
  },
123796
123950
  {
123797
123951
  "name": "@agimon-ai/po-prompt",
123798
- "version": "0.0.0-alpha.173",
123952
+ "version": "0.0.0-alpha.175",
123799
123953
  "contractFingerprint": "499a9268ada55446c3ee4cf7232acbf6902bba73382c4d876f6711880b3dfc86",
123800
123954
  "operations": []
123801
123955
  },
123802
123956
  {
123803
123957
  "name": "@agimon-ai/po-read",
123804
- "version": "0.0.0-alpha.173",
123958
+ "version": "0.0.0-alpha.175",
123805
123959
  "contractFingerprint": "488617da2873d7b4aac523bb93c7a528caf573c41009d22b47af27765478b33a",
123806
123960
  "operations": []
123807
123961
  },
123808
123962
  {
123809
123963
  "name": "@agimon-ai/po-runner",
123810
- "version": "0.0.0-alpha.173",
123964
+ "version": "0.0.0-alpha.175",
123811
123965
  "contractFingerprint": "d5a7adb3dd3c6d2af5209689fc73704a60c33f43d31de662213201479ed8eb9c",
123812
123966
  "operations": []
123813
123967
  },
123814
123968
  {
123815
123969
  "name": "@agimon-ai/po-session",
123816
- "version": "0.0.0-alpha.173",
123970
+ "version": "0.0.0-alpha.175",
123817
123971
  "contractFingerprint": "fb9996e2f2a87b81905ed64d00a4434997a8a9c2231dc0854cdb40e6ae52c8ad",
123818
123972
  "operations": []
123819
123973
  },
123820
123974
  {
123821
123975
  "name": "@agimon-ai/po-session-mcp",
123822
- "version": "0.0.0-alpha.173",
123976
+ "version": "0.0.0-alpha.175",
123823
123977
  "contractFingerprint": "488617da2873d7b4aac523bb93c7a528caf573c41009d22b47af27765478b33a",
123824
123978
  "operations": []
123825
123979
  },
123826
123980
  {
123827
123981
  "name": "@agimon-ai/po-federation",
123828
- "version": "0.0.0-alpha.173",
123982
+ "version": "0.0.0-alpha.175",
123829
123983
  "contractFingerprint": "488617da2873d7b4aac523bb93c7a528caf573c41009d22b47af27765478b33a",
123830
123984
  "operations": []
123831
123985
  },
123832
123986
  {
123833
123987
  "name": "@agimon-ai/po-skill",
123834
- "version": "0.0.0-alpha.173",
123988
+ "version": "0.0.0-alpha.175",
123835
123989
  "contractFingerprint": "488617da2873d7b4aac523bb93c7a528caf573c41009d22b47af27765478b33a",
123836
123990
  "operations": []
123837
123991
  },
123838
123992
  {
123839
123993
  "name": "@agimon-ai/po-space",
123840
- "version": "0.0.1-alpha.16",
123994
+ "version": "0.0.1-alpha.18",
123841
123995
  "contractFingerprint": "c79816f514738b5368dda0194725087262e57e9b9c71f3f4012019b2db5b72da",
123842
123996
  "operations": []
123843
123997
  },
123844
123998
  {
123845
123999
  "name": "@agimon-ai/po-team",
123846
- "version": "0.0.0-alpha.173",
124000
+ "version": "0.0.0-alpha.175",
123847
124001
  "contractFingerprint": "69e6e0677775e07eb4e8b0379946b286da87c92d70bdd774f7ea1ade8db8204e",
123848
124002
  "operations": []
123849
124003
  },
123850
124004
  {
123851
124005
  "name": "@agimon-ai/po-ui",
123852
- "version": "0.0.0-alpha.173",
124006
+ "version": "0.0.0-alpha.175",
123853
124007
  "contractFingerprint": "488617da2873d7b4aac523bb93c7a528caf573c41009d22b47af27765478b33a",
123854
124008
  "operations": []
123855
124009
  },
123856
124010
  {
123857
124011
  "name": "@agimon-ai/po-vault",
123858
- "version": "0.0.0-alpha.173",
124012
+ "version": "0.0.0-alpha.175",
123859
124013
  "contractFingerprint": "488617da2873d7b4aac523bb93c7a528caf573c41009d22b47af27765478b33a",
123860
124014
  "operations": []
123861
124015
  },
123862
124016
  {
123863
124017
  "name": "@agimon-ai/po-help",
123864
- "version": "0.0.0-alpha.173",
124018
+ "version": "0.0.0-alpha.175",
123865
124019
  "contractFingerprint": "e4a2b566f06e64cb0a374179469dfd13adb4a60d7b8f92a3756ab54e0b05b8f9",
123866
124020
  "operations": []
123867
124021
  },
123868
124022
  {
123869
124023
  "name": "@agimon-ai/po-goal",
123870
- "version": "0.0.0-alpha.173",
124024
+ "version": "0.0.0-alpha.175",
123871
124025
  "contractFingerprint": "488617da2873d7b4aac523bb93c7a528caf573c41009d22b47af27765478b33a",
123872
124026
  "operations": []
123873
124027
  },
123874
124028
  {
123875
124029
  "name": "@agimon-ai/po-plan",
123876
- "version": "0.0.0-alpha.173",
124030
+ "version": "0.0.0-alpha.175",
123877
124031
  "contractFingerprint": "95cba01f8c05bc8464f08bdf21e49c9844251e9c8db9fbd2df388863d86fb97a",
123878
124032
  "operations": []
123879
124033
  },
123880
124034
  {
123881
124035
  "name": "@agimon-ai/po-author",
123882
- "version": "0.0.0-alpha.173",
124036
+ "version": "0.0.0-alpha.175",
123883
124037
  "contractFingerprint": "dddcdd25fbdabd502bb49d4f0b591e4d9cb4e9bc3c5ebd064c2a8fc7c2f72eb0",
123884
124038
  "operations": []
123885
124039
  },
123886
124040
  {
123887
124041
  "name": "@agimon-ai/po-voice",
123888
- "version": "0.0.0-alpha.173",
124042
+ "version": "0.0.0-alpha.175",
123889
124043
  "contractFingerprint": "0eca311908bd58bc6d565505ee77e8704e4f9b8caff4ee4945d6e6248fe3cf0a",
123890
124044
  "operations": []
123891
124045
  },
123892
124046
  {
123893
124047
  "name": "@agimon-ai/po-workflow",
123894
- "version": "0.0.0-alpha.173",
124048
+ "version": "0.0.0-alpha.175",
123895
124049
  "contractFingerprint": "1118eec6aa099022525b2583db1bb71f50c480c81b31a3619a7660087b4ad9b0",
123896
124050
  "operations": []
123897
124051
  },
123898
124052
  {
123899
124053
  "name": "@agimon-ai/po-web-search",
123900
- "version": "0.0.0-alpha.172",
124054
+ "version": "0.0.0-alpha.174",
123901
124055
  "contractFingerprint": "488617da2873d7b4aac523bb93c7a528caf573c41009d22b47af27765478b33a",
123902
124056
  "operations": []
123903
124057
  }