@piagent/platform 1.26.0 → 1.27.0

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/CHANGELOG.md +26 -0
  2. package/README.md +1 -1
  3. package/README.vi.md +1 -1
  4. package/docs/command-reference-vietnamese.md +2 -2
  5. package/docs/distribution-standard.md +6 -6
  6. package/docs/languages.json +2 -2
  7. package/docs/operator-manual-vietnamese.md +7 -7
  8. package/docs/publishing-for-teams.md +2 -0
  9. package/docs/release-install-policy.md +2 -2
  10. package/docs/team-onboarding.md +2 -2
  11. package/docs-site/architecture.html +1 -1
  12. package/docs-site/benchmark.html +1 -1
  13. package/docs-site/commands.html +1 -1
  14. package/docs-site/content/en/index.html +4 -4
  15. package/docs-site/content/en/whats-new.html +12 -0
  16. package/docs-site/content/index.html +4 -4
  17. package/docs-site/content/whats-new.html +12 -0
  18. package/docs-site/context-engine.html +1 -1
  19. package/docs-site/ecosystem.html +1 -1
  20. package/docs-site/en/architecture.html +1 -1
  21. package/docs-site/en/benchmark.html +1 -1
  22. package/docs-site/en/commands.html +1 -1
  23. package/docs-site/en/context-engine.html +1 -1
  24. package/docs-site/en/ecosystem.html +1 -1
  25. package/docs-site/en/index.html +5 -5
  26. package/docs-site/en/mcp-approval.html +1 -1
  27. package/docs-site/en/mcp-auth.html +1 -1
  28. package/docs-site/en/mcp-servers.html +1 -1
  29. package/docs-site/en/mcp.html +1 -1
  30. package/docs-site/en/permissions.html +1 -1
  31. package/docs-site/en/profiles.html +1 -1
  32. package/docs-site/en/quickstart.html +1 -1
  33. package/docs-site/en/runtime.html +1 -1
  34. package/docs-site/en/scope.html +1 -1
  35. package/docs-site/en/security.html +1 -1
  36. package/docs-site/en/team.html +1 -1
  37. package/docs-site/en/whats-new.html +13 -1
  38. package/docs-site/en/windows.html +1 -1
  39. package/docs-site/en/workflows.html +1 -1
  40. package/docs-site/index.html +5 -5
  41. package/docs-site/mcp-approval.html +1 -1
  42. package/docs-site/mcp-auth.html +1 -1
  43. package/docs-site/mcp-servers.html +1 -1
  44. package/docs-site/mcp.html +1 -1
  45. package/docs-site/permissions.html +1 -1
  46. package/docs-site/profiles.html +1 -1
  47. package/docs-site/quickstart.html +1 -1
  48. package/docs-site/runtime.html +1 -1
  49. package/docs-site/scope.html +1 -1
  50. package/docs-site/security.html +1 -1
  51. package/docs-site/team.html +1 -1
  52. package/docs-site/whats-new.html +13 -1
  53. package/docs-site/windows.html +1 -1
  54. package/docs-site/workflows.html +1 -1
  55. package/evals/private-holdout-v1/public-exposure.v2.json +2 -2
  56. package/package.json +1 -1
  57. package/packages/piagent-core/managed/helper-run.mjs +4 -3
  58. package/packages/piagent-core/managed/memory.mjs +221 -0
  59. package/packages/piagent-core/managed/session.mjs +5 -5
  60. package/packages/piagent-core/package.json +1 -1
  61. package/packages/piagent-webui/dist/client/assets/{MarkdownMessage-DcFq8SRy.js → MarkdownMessage-BpNzOP6f.js} +1 -1
  62. package/packages/piagent-webui/dist/client/assets/{index-B4PFrM4y.js → index-DWkb1mpZ.js} +3 -3
  63. package/packages/piagent-webui/dist/client/index.html +1 -1
  64. package/packages/piagent-webui/gateway/session-runtime-supervisor.ts +2 -2
@@ -7,7 +7,7 @@
7
7
  <meta name="csp-nonce" content="__PIAGENT_CSP_NONCE__" />
8
8
  <meta name="piagent-webui-mode" content="__PIAGENT_WEBUI_MODE__" />
9
9
  <title>Piagent WebUI</title>
10
- <script type="module" crossorigin src="/assets/index-B4PFrM4y.js"></script>
10
+ <script type="module" crossorigin src="/assets/index-DWkb1mpZ.js"></script>
11
11
  <link rel="stylesheet" crossorigin href="/assets/index-B5XOKQy-.css">
12
12
  </head>
13
13
  <body>
@@ -405,11 +405,11 @@ export class SessionRuntimeSupervisor {
405
405
  await this.acquire(sessionRef);
406
406
  const active = this.#active.get(sessionRef), session = active?.runtime.session;
407
407
  if (!active || !session?.sessionManager) throw new Error("session-runtime-unavailable");
408
- if (active.operationRef || !session.isIdle) throw new Error("session-runtime-busy");
408
+ // One appended entry the turn neither reads nor waits on, so no busy check: renamed mid-turn, as Pi's own /name is.
409
409
  const current = String(session.sessionManager.getSessionName?.() ?? "").trim();
410
410
  if (current === title.trim()) return "no-change";
411
411
  session.sessionManager.appendSessionInfo(title);
412
- this.#touchCreated(sessionRef);
412
+ const created = this.#created.get(sessionRef); if (created) created.name = title; this.#touchCreated(sessionRef); // listed from memory until its first message
413
413
  return "renamed";
414
414
  }
415
415
  async fork(sessionRef: string, entryRef: string | null, title: string | null): Promise<string> {