@piagent/platform 1.3.1 → 1.4.1
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/CHANGELOG.md +132 -0
- package/README.md +10 -4
- package/README.vi.md +27 -0
- package/architecture/layers.json +96 -1
- package/docs/README.md +1 -0
- package/docs/architecture.md +1 -0
- package/docs/authority-manifest.md +1 -0
- package/docs/auto-delegation-policy.md +1 -0
- package/docs/capability-packs.md +1 -0
- package/docs/command-reference-vietnamese.md +5 -4
- package/docs/context-engine.md +1 -0
- package/docs/context-window-policy.md +1 -0
- package/docs/distribution-standard.md +8 -7
- package/docs/en/architecture.md +13 -0
- package/docs/herdr-workflow.md +1 -0
- package/docs/languages.json +20 -4
- package/docs/mcp-and-tools.md +125 -9
- package/docs/memory-policy.md +1 -0
- package/docs/model-options.md +1 -0
- package/docs/oauth-providers.md +1 -0
- package/docs/operator-manual-vietnamese.md +15 -12
- package/docs/package-architecture-notes.md +1 -0
- package/docs/project-adapters.md +1 -0
- package/docs/project-onboarding.md +1 -0
- package/docs/publishing-for-teams.md +37 -0
- package/docs/quality-benchmark.md +1 -0
- package/docs/quickstart-vietnamese.md +3 -2
- package/docs/release-install-policy.md +22 -8
- package/docs/runtime-harness-standard.md +2 -1
- package/docs/runtime-policy-design.md +1 -0
- package/docs/runtime-quality-baseline.md +1 -0
- package/docs/security-redaction-benchmark.md +1 -0
- package/docs/security-threat-model.md +2 -1
- package/docs/subagent-orchestration-capabilities.md +1 -0
- package/docs/subagents-and-multiagent.md +1 -0
- package/docs/task-implementation-contract.md +12 -4
- package/docs/task-lifecycle-vietnamese.md +1 -0
- package/docs/team-onboarding.md +3 -2
- package/docs/third-party-neutrality.md +26 -0
- package/docs/usage-observability.md +71 -0
- package/docs/vercel-docs-site.md +1 -0
- package/docs/vi/architecture.md +13 -0
- package/docs/workflow-recipes.md +1 -0
- package/docs-site/architecture.html +5 -1
- package/docs-site/benchmark.html +5 -1
- package/docs-site/commands.html +5 -1
- package/docs-site/content/en/index.html +49 -0
- package/docs-site/content/en/runtime.html +13 -0
- package/docs-site/content/index.html +49 -0
- package/docs-site/content/runtime.html +28 -0
- package/docs-site/context-engine.html +5 -1
- package/docs-site/en/architecture.html +5 -1
- package/docs-site/en/benchmark.html +5 -1
- package/docs-site/en/commands.html +5 -1
- package/docs-site/en/context-engine.html +5 -1
- package/docs-site/en/index.html +54 -1
- package/docs-site/en/mcp-approval.html +5 -1
- package/docs-site/en/mcp-auth.html +5 -1
- package/docs-site/en/mcp-servers.html +5 -1
- package/docs-site/en/mcp.html +5 -1
- package/docs-site/en/permissions.html +5 -1
- package/docs-site/en/profiles.html +5 -1
- package/docs-site/en/quickstart.html +5 -1
- package/docs-site/en/runtime.html +18 -1
- package/docs-site/en/scope.html +5 -1
- package/docs-site/en/security.html +5 -1
- package/docs-site/en/team.html +5 -1
- package/docs-site/en/whats-new.html +5 -1
- package/docs-site/en/workflows.html +5 -1
- package/docs-site/index.html +54 -1
- package/docs-site/mcp-approval.html +5 -1
- package/docs-site/mcp-auth.html +5 -1
- package/docs-site/mcp-servers.html +5 -1
- package/docs-site/mcp.html +5 -1
- package/docs-site/permissions.html +5 -1
- package/docs-site/profiles.html +5 -1
- package/docs-site/quickstart.html +5 -1
- package/docs-site/runtime.html +33 -1
- package/docs-site/scope.html +5 -1
- package/docs-site/security.html +5 -1
- package/docs-site/team.html +5 -1
- package/docs-site/whats-new.html +5 -1
- package/docs-site/workflows.html +5 -1
- package/evals/fixtures/mutation-provenance-record.invalid.json +17 -0
- package/evals/fixtures/mutation-provenance-record.valid.json +27 -0
- package/evals/fixtures/piagent-webui/approval-v1.invalid.json +54 -0
- package/evals/fixtures/piagent-webui/approval-v1.valid.json +58 -0
- package/evals/fixtures/piagent-webui/attachment-v1.invalid.json +25 -0
- package/evals/fixtures/piagent-webui/attachment-v1.valid.json +25 -0
- package/evals/fixtures/piagent-webui/capabilities-v1.invalid.json +51 -0
- package/evals/fixtures/piagent-webui/capabilities-v1.valid.json +122 -0
- package/evals/fixtures/piagent-webui/commit-summary-v1.invalid.json +10 -0
- package/evals/fixtures/piagent-webui/commit-summary-v1.valid.json +25 -0
- package/evals/fixtures/piagent-webui/control-command-v1.invalid.json +37 -0
- package/evals/fixtures/piagent-webui/control-command-v1.valid.json +35 -0
- package/evals/fixtures/piagent-webui/diff-v1.invalid.json +13 -0
- package/evals/fixtures/piagent-webui/diff-v1.valid.json +141 -0
- package/evals/fixtures/piagent-webui/gateway-capabilities-v1.invalid.json +35 -0
- package/evals/fixtures/piagent-webui/gateway-capabilities-v1.valid.json +35 -0
- package/evals/fixtures/piagent-webui/gateway-protocol-v1.invalid.json +14 -0
- package/evals/fixtures/piagent-webui/gateway-protocol-v1.valid.json +14 -0
- package/evals/fixtures/piagent-webui/handoff-history-v1.invalid.json +16 -0
- package/evals/fixtures/piagent-webui/handoff-history-v1.valid.json +16 -0
- package/evals/fixtures/piagent-webui/model-catalog-v1.invalid.json +31 -0
- package/evals/fixtures/piagent-webui/model-catalog-v1.valid.json +43 -0
- package/evals/fixtures/piagent-webui/queue-v1.invalid.json +29 -0
- package/evals/fixtures/piagent-webui/queue-v1.valid.json +44 -0
- package/evals/fixtures/piagent-webui/recovery-history-v1.invalid.json +17 -0
- package/evals/fixtures/piagent-webui/recovery-history-v1.valid.json +20 -0
- package/evals/fixtures/piagent-webui/release-monitor-v1.invalid.json +12 -0
- package/evals/fixtures/piagent-webui/release-monitor-v1.valid.json +29 -0
- package/evals/fixtures/piagent-webui/review-state-v1.invalid.json +25 -0
- package/evals/fixtures/piagent-webui/review-state-v1.valid.json +38 -0
- package/evals/fixtures/piagent-webui/runtime-event-v2.invalid.json +49 -0
- package/evals/fixtures/piagent-webui/runtime-event-v2.valid.json +49 -0
- package/evals/fixtures/piagent-webui/session-catalog-v1.invalid.json +17 -0
- package/evals/fixtures/piagent-webui/session-catalog-v1.valid.json +58 -0
- package/evals/fixtures/piagent-webui/session-command-v1.invalid.json +19 -0
- package/evals/fixtures/piagent-webui/session-command-v1.valid.json +19 -0
- package/evals/fixtures/piagent-webui/snapshot-v1.invalid.json +5 -0
- package/evals/fixtures/piagent-webui/snapshot-v1.valid.json +191 -0
- package/evals/fixtures/piagent-webui/source-change-v1.invalid.json +57 -0
- package/evals/fixtures/piagent-webui/source-change-v1.valid.json +98 -0
- package/evals/fixtures/piagent-webui/source-mutation-v1.invalid.json +19 -0
- package/evals/fixtures/piagent-webui/source-mutation-v1.valid.json +38 -0
- package/evals/fixtures/piagent-webui/source-revert-v1.invalid.json +20 -0
- package/evals/fixtures/piagent-webui/source-revert-v1.valid.json +62 -0
- package/evals/fixtures/piagent-webui/subagent-tree-v1.invalid.json +26 -0
- package/evals/fixtures/piagent-webui/subagent-tree-v1.valid.json +39 -0
- package/evals/fixtures/piagent-webui/task-index-v1.invalid.json +15 -0
- package/evals/fixtures/piagent-webui/task-index-v1.valid.json +15 -0
- package/evals/fixtures/piagent-webui/task-timeline-v1.invalid.json +14 -0
- package/evals/fixtures/piagent-webui/task-timeline-v1.valid.json +16 -0
- package/evals/fixtures/piagent-webui/transcript-v1.invalid.json +35 -0
- package/evals/fixtures/piagent-webui/transcript-v1.valid.json +55 -0
- package/evals/fixtures/task-baseline-manifest.invalid.json +16 -0
- package/evals/fixtures/task-baseline-manifest.valid.json +41 -0
- package/evals/fixtures/verifier-file-snapshot.invalid.json +21 -0
- package/evals/fixtures/verifier-file-snapshot.valid.json +21 -0
- package/package.json +43 -4
- package/packages/piagent-core/README.md +3 -2
- package/packages/piagent-core/benchmark/benchmark-candidate.d.ts +1 -0
- package/packages/piagent-core/benchmark/benchmark-forensics.d.ts +1 -0
- package/packages/piagent-core/benchmark/benchmark-ledger.d.ts +4 -0
- package/packages/piagent-core/benchmark/benchmark-record-validation.d.ts +1 -0
- package/packages/piagent-core/benchmark/benchmark-runtime.d.ts +1 -0
- package/packages/piagent-core/capabilities/capability-core.js +2 -2
- package/packages/piagent-core/capabilities/capability-verification-cache.js +17 -7
- package/packages/piagent-core/capabilities/runtime-integrity.js +190 -0
- package/packages/piagent-core/extensions/piagent-guard.ts +80 -272
- package/packages/piagent-core/extensions/redaction-core.d.ts +2 -0
- package/packages/piagent-core/extensions/runtime-evidence.js +12 -1
- package/packages/piagent-core/extensions/shell-reach.ts +250 -0
- package/packages/piagent-core/extensions/task-journal.js +30 -1
- package/packages/piagent-core/extensions/task-state.js +33 -36
- package/packages/piagent-core/mcp/mcp-command-actions.js +1 -1
- package/packages/piagent-core/mcp/mcp-server-catalog.js +139 -9
- package/packages/piagent-core/package.json +1 -1
- package/packages/piagent-core/runtime/hooks/session-start-hook.ts +2 -2
- package/packages/piagent-core/runtime/hooks/tool-call-hook.ts +12 -2
- package/packages/piagent-core/runtime/hooks/tool-result-hook.ts +20 -19
- package/packages/piagent-core/runtime/hooks/tool-result-metadata.ts +13 -0
- package/packages/piagent-core/runtime/input/chat-images.ts +2 -2
- package/packages/piagent-core/runtime/inspection/activity-event-adapter.ts +94 -0
- package/packages/piagent-core/runtime/inspection/approval-broker.ts +318 -0
- package/packages/piagent-core/runtime/inspection/commit-summary-projection.ts +59 -0
- package/packages/piagent-core/runtime/inspection/context-telemetry-inspection.ts +37 -0
- package/packages/piagent-core/runtime/inspection/criteria-links.ts +295 -0
- package/packages/piagent-core/runtime/inspection/diff-projection.ts +499 -0
- package/packages/piagent-core/runtime/inspection/git-filter-safety.ts +38 -0
- package/packages/piagent-core/runtime/inspection/git-numstat-adapter.ts +71 -0
- package/packages/piagent-core/runtime/inspection/git-status-adapter.ts +493 -0
- package/packages/piagent-core/runtime/inspection/git-tree-adapter.ts +108 -0
- package/packages/piagent-core/runtime/inspection/mcp-control.ts +10 -0
- package/packages/piagent-core/runtime/inspection/mutation-provenance-contract.ts +131 -0
- package/packages/piagent-core/runtime/inspection/mutation-provenance-recorder.ts +48 -0
- package/packages/piagent-core/runtime/inspection/mutation-provenance-store.ts +161 -0
- package/packages/piagent-core/runtime/inspection/project-runtime-inspection.ts +36 -0
- package/packages/piagent-core/runtime/inspection/review-state-contract.ts +108 -0
- package/packages/piagent-core/runtime/inspection/review-state-projection.ts +93 -0
- package/packages/piagent-core/runtime/inspection/review-state-store.ts +112 -0
- package/packages/piagent-core/runtime/inspection/runtime-event-store.ts +262 -0
- package/packages/piagent-core/runtime/inspection/same-process-bridge-proof.ts +103 -0
- package/packages/piagent-core/runtime/inspection/source-change-projection.ts +471 -0
- package/packages/piagent-core/runtime/inspection/source-evidence-contract.ts +139 -0
- package/packages/piagent-core/runtime/inspection/source-evidence-store.ts +315 -0
- package/packages/piagent-core/runtime/inspection/source-handoff-store.ts +70 -0
- package/packages/piagent-core/runtime/inspection/source-inspection-plan.ts +34 -0
- package/packages/piagent-core/runtime/inspection/source-mutation-projection.ts +164 -0
- package/packages/piagent-core/runtime/inspection/source-mutation-store.ts +168 -0
- package/packages/piagent-core/runtime/inspection/source-open-target.ts +38 -0
- package/packages/piagent-core/runtime/inspection/source-revert-projection.ts +147 -0
- package/packages/piagent-core/runtime/inspection/task-baseline-start-capture.ts +22 -0
- package/packages/piagent-core/runtime/inspection/task-compaction-history.ts +160 -0
- package/packages/piagent-core/runtime/inspection/task-control-journal.ts +131 -0
- package/packages/piagent-core/runtime/inspection/task-handoff-history.ts +95 -0
- package/packages/piagent-core/runtime/inspection/task-provenance-projection.ts +60 -0
- package/packages/piagent-core/runtime/inspection/task-recovery-timeline.ts +88 -0
- package/packages/piagent-core/runtime/inspection/task-run-index.ts +87 -0
- package/packages/piagent-core/runtime/inspection/task-source-projection.ts +401 -0
- package/packages/piagent-core/runtime/inspection/task-subagent-tree.ts +101 -0
- package/packages/piagent-core/runtime/inspection/text-diff.ts +60 -0
- package/packages/piagent-core/runtime/inspection/verifier-snapshot-contract.ts +114 -0
- package/packages/piagent-core/runtime/inspection/verifier-snapshot-store.ts +189 -0
- package/packages/piagent-core/runtime/inspection/webui-snapshot.ts +320 -0
- package/packages/piagent-core/runtime/inspection/workspace-file-reader.ts +132 -0
- package/packages/piagent-core/runtime/inspection/workspace-source-projection.ts +96 -0
- package/packages/piagent-core/runtime/inspection/zero-turn-conformance.ts +175 -0
- package/packages/piagent-core/runtime/orchestration/owned-work-budget.ts +93 -6
- package/packages/piagent-core/runtime/policy/block-remedy.ts +139 -0
- package/packages/piagent-core/runtime/policy/source-index-transaction.ts +173 -0
- package/packages/piagent-core/runtime/policy/source-mutation-guard-binding.ts +42 -0
- package/packages/piagent-core/runtime/policy/source-mutation-guard.ts +184 -0
- package/packages/piagent-core/runtime/policy/source-worktree-transaction.ts +105 -0
- package/packages/piagent-core/runtime/product/activity-inspector-footer.ts +5 -3
- package/packages/piagent-core/runtime/product/activity-inspector.ts +85 -343
- package/packages/piagent-core/runtime/recovery/resume-state.ts +38 -1
- package/packages/piagent-core/runtime/registration/activity-inspector-command.ts +68 -14
- package/packages/piagent-core/runtime/registration/task-start-tool.ts +22 -27
- package/packages/piagent-core/runtime/session/model-authorship-state.ts +31 -3
- package/packages/piagent-core/runtime/session/runtime-state.ts +11 -1
- package/packages/piagent-core/runtime/session/token-economics.js +34 -0
- package/packages/piagent-core/runtime/tools/phase-tool-runtime.ts +2 -1
- package/packages/piagent-core/runtime/workflows/task-intake.ts +5 -0
- package/packages/piagent-core/security/sensitive-data.js +7 -0
- package/packages/piagent-webui/dist/client/assets/index-DwKCWbwd.css +1 -0
- package/packages/piagent-webui/dist/client/assets/index-bu7XpD9Q.js +172 -0
- package/packages/piagent-webui/dist/client/index.html +16 -0
- package/packages/piagent-webui/extension/attachment-store.ts +323 -0
- package/packages/piagent-webui/extension/held-message-queue.ts +311 -0
- package/packages/piagent-webui/extension/lifecycle-controller.ts +423 -0
- package/packages/piagent-webui/extension/lifecycle-event-adapter.ts +23 -0
- package/packages/piagent-webui/extension/piagent-webui.ts +470 -0
- package/packages/piagent-webui/extension/review-controller.ts +160 -0
- package/packages/piagent-webui/extension/same-session-bridge.ts +500 -0
- package/packages/piagent-webui/extension/session-options-controller.ts +281 -0
- package/packages/piagent-webui/extension/session-stream-adapter.ts +249 -0
- package/packages/piagent-webui/extension/source-mutation-controller.ts +215 -0
- package/packages/piagent-webui/extension/source-open-controller.ts +136 -0
- package/packages/piagent-webui/extension/source-revert-controller.ts +189 -0
- package/packages/piagent-webui/extension/terminal-session-adapter.ts +73 -0
- package/packages/piagent-webui/extension/vscode-handoff.ts +51 -0
- package/packages/piagent-webui/gateway/control-socket.ts +92 -0
- package/packages/piagent-webui/gateway/extension-authority.ts +47 -0
- package/packages/piagent-webui/gateway/gateway-events.ts +60 -0
- package/packages/piagent-webui/gateway/gateway-protocol-service.ts +64 -0
- package/packages/piagent-webui/gateway/gateway-service.ts +215 -0
- package/packages/piagent-webui/gateway/gateway-session-stream.ts +110 -0
- package/packages/piagent-webui/gateway/mcp-auth-broker.ts +158 -0
- package/packages/piagent-webui/gateway/native-project-picker.ts +29 -0
- package/packages/piagent-webui/gateway/pi-host.ts +41 -0
- package/packages/piagent-webui/gateway/profile-state.ts +1 -0
- package/packages/piagent-webui/gateway/project-registry.ts +108 -0
- package/packages/piagent-webui/gateway/provider-auth-broker.ts +172 -0
- package/packages/piagent-webui/gateway/session-catalog.ts +128 -0
- package/packages/piagent-webui/gateway/session-command-controller.ts +237 -0
- package/packages/piagent-webui/gateway/session-command-store.ts +224 -0
- package/packages/piagent-webui/gateway/session-inspection-registry.ts +239 -0
- package/packages/piagent-webui/gateway/session-lease-store.ts +1 -0
- package/packages/piagent-webui/gateway/session-metadata-store.ts +152 -0
- package/packages/piagent-webui/gateway/session-runtime-supervisor.ts +489 -0
- package/packages/piagent-webui/ownership/gateway-runtime-context.ts +8 -0
- package/packages/piagent-webui/ownership/profile-state.ts +117 -0
- package/packages/piagent-webui/ownership/session-lease-store.ts +329 -0
- package/packages/piagent-webui/ownership/session-refs.ts +8 -0
- package/packages/piagent-webui/package.json +33 -0
- package/packages/piagent-webui/server/README.md +4 -0
- package/packages/piagent-webui/server/benchmark-release-monitor.ts +230 -0
- package/packages/piagent-webui/server/core-inspection-provider.ts +403 -0
- package/packages/piagent-webui/server/gateway-websocket.ts +143 -0
- package/packages/piagent-webui/server/http-security.ts +27 -0
- package/packages/piagent-webui/server/ipc-read-model-client.ts +89 -0
- package/packages/piagent-webui/server/loopback-server.ts +368 -0
- package/packages/piagent-webui/server/read-model-provider.ts +37 -0
- package/packages/piagent-webui/server/read-only-router.ts +105 -0
- package/packages/piagent-webui/server/session-auth.ts +88 -0
- package/packages/piagent-webui/server/sidecar-main.ts +86 -0
- package/packages/piagent-webui/server/sse-hub.ts +76 -0
- package/packages/piagent-webui/server/static-bundle.ts +40 -0
- package/packages/piagent-webui/server/transcript-projection.ts +125 -0
- package/schemas/mutation-provenance-record.schema.json +100 -0
- package/schemas/piagent-webui/approval-v1.schema.json +654 -0
- package/schemas/piagent-webui/attachment-v1.schema.json +267 -0
- package/schemas/piagent-webui/capabilities-v1.schema.json +729 -0
- package/schemas/piagent-webui/catalog-v1.json +240 -0
- package/schemas/piagent-webui/commit-summary-v1.schema.json +63 -0
- package/schemas/piagent-webui/common-v1.schema.json +479 -0
- package/schemas/piagent-webui/control-command-v1.schema.json +1780 -0
- package/schemas/piagent-webui/diff-v1.schema.json +826 -0
- package/schemas/piagent-webui/gateway-capabilities-v1.schema.json +136 -0
- package/schemas/piagent-webui/gateway-protocol-v1.schema.json +456 -0
- package/schemas/piagent-webui/handoff-history-v1.schema.json +92 -0
- package/schemas/piagent-webui/model-catalog-v1.schema.json +95 -0
- package/schemas/piagent-webui/queue-v1.schema.json +99 -0
- package/schemas/piagent-webui/recovery-history-v1.schema.json +144 -0
- package/schemas/piagent-webui/release-monitor-v1.schema.json +173 -0
- package/schemas/piagent-webui/review-state-v1.schema.json +206 -0
- package/schemas/piagent-webui/runtime-event-v2.schema.json +5206 -0
- package/schemas/piagent-webui/session-catalog-v1.schema.json +222 -0
- package/schemas/piagent-webui/session-command-v1.schema.json +390 -0
- package/schemas/piagent-webui/snapshot-v1.schema.json +2622 -0
- package/schemas/piagent-webui/source-change-v1.schema.json +763 -0
- package/schemas/piagent-webui/source-mutation-v1.schema.json +96 -0
- package/schemas/piagent-webui/source-revert-v1.schema.json +130 -0
- package/schemas/piagent-webui/subagent-tree-v1.schema.json +88 -0
- package/schemas/piagent-webui/task-index-v1.schema.json +74 -0
- package/schemas/piagent-webui/task-timeline-v1.schema.json +49 -0
- package/schemas/piagent-webui/transcript-v1.schema.json +243 -0
- package/schemas/task-baseline-manifest.schema.json +122 -0
- package/schemas/verifier-file-snapshot.schema.json +81 -0
- package/scripts/build-docs-site.mjs +21 -1
- package/scripts/check-architecture.mjs +1 -0
- package/scripts/check-doc-languages.mjs +19 -2
- package/scripts/check-third-party-neutrality.mjs +43 -0
- package/scripts/explain-command.mjs +240 -0
- package/scripts/install-global.sh +105 -4
- package/scripts/mcp-manage.mjs +17 -4
- package/scripts/pi-session-stats.sh +10 -2
- package/scripts/piagent-cli.mjs +30 -3
- package/scripts/piagent-dashboard.mjs +261 -0
- package/scripts/piagent-webui-launcher.mjs +121 -0
- package/scripts/setup.sh +69 -33
- package/scripts/traffic-snapshot.mjs +214 -0
- package/scripts/typescript-loader.mjs +42 -1
- package/scripts/uninstall-global.sh +53 -2
- package/scripts/update-global.mjs +33 -1
- package/scripts/verify-local.sh +257 -0
- package/scripts/verify-release-identity.mjs +4 -1
- package/scripts/verify-translation-pairing.mjs +121 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"version": "piagent-mutation-provenance-v1",
|
|
4
|
+
"recordId": "provenance.856b6562e9295f67824562ebaf32f8ab6da89c0261b6f5f5f734cfa939c06f53",
|
|
5
|
+
"evidenceRef": "mutation.856b6562e9295f67824562ebaf32f8ab6da89c0261b6f5f5f734cfa939c06f53",
|
|
6
|
+
"taskId": "task-01",
|
|
7
|
+
"taskRunId": "task-01-run-01",
|
|
8
|
+
"sessionIdentityHash": "sha256:6e165fadbb274b7254278eadb81c25aaa7fda6b62c3f2c6f8ca393b34f90834e",
|
|
9
|
+
"toolCallIdentityHash": "sha256:4dd7feedf5ee29f32ee3a58080756f540d67d815fb658d836f77d959b6c33c49",
|
|
10
|
+
"toolName": "write",
|
|
11
|
+
"recordedAt": "2026-08-13T15:00:00.000Z",
|
|
12
|
+
"evidenceMode": "exact-runtime",
|
|
13
|
+
"beforeTreeDigest": "wt-content-v2:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
14
|
+
"afterTreeDigest": "wt-content-v2:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
|
|
15
|
+
"changes": [
|
|
16
|
+
{
|
|
17
|
+
"pathDigest": "sha256:072fc23b941d05af2383888f292b78e406e0e82a4a3f8ee698113dd9bcc79e5f",
|
|
18
|
+
"repoPathBase64": "c3JjL2EudHM",
|
|
19
|
+
"beforeCarrierDigest": "wt-content-v2:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
|
|
20
|
+
"afterCarrierDigest": "wt-content-v2:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd",
|
|
21
|
+
"afterContentDigest": "sha256:eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
22
|
+
"proofMode": "full-content",
|
|
23
|
+
"effect": "exact-content"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"integrityDigest": "sha256:5481227f603726e91e7cbd1224df9fd32ceeda557b67ffea7628cf3e18598c5e"
|
|
27
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"version": "piagent-webui-approval-v1",
|
|
4
|
+
"recordType": "request",
|
|
5
|
+
"approvalRef": "approval_01",
|
|
6
|
+
"nonce": "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB",
|
|
7
|
+
"identity": {
|
|
8
|
+
"projectRef": "project_01",
|
|
9
|
+
"runtimeInstanceId": "runtime_01",
|
|
10
|
+
"sessionRef": "session_01",
|
|
11
|
+
"taskId": "task-01",
|
|
12
|
+
"taskRunId": "task-01-run-01",
|
|
13
|
+
"agentOperationId": "operation_01",
|
|
14
|
+
"toolCallId": "tool_01"
|
|
15
|
+
},
|
|
16
|
+
"action": {
|
|
17
|
+
"kind": "external-provider-action",
|
|
18
|
+
"preconditionClass": "runtime-only",
|
|
19
|
+
"toolName": "bash",
|
|
20
|
+
"actionDigest": "sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
|
|
21
|
+
"canonicalization": "digest-bound-action-v1",
|
|
22
|
+
"previewPolicy": "redacted-no-secrets-v1",
|
|
23
|
+
"commandPreview": "git push origin feature",
|
|
24
|
+
"parameterPreview": "External repository update",
|
|
25
|
+
"targetEvidence": { "state": "provided", "reasonCode": null },
|
|
26
|
+
"cwdRef": "cwd_01",
|
|
27
|
+
"cwdDisplay": ".",
|
|
28
|
+
"targetRefs": ["target_01"],
|
|
29
|
+
"targetPaths": [],
|
|
30
|
+
"targetSummaries": ["Origin remote"],
|
|
31
|
+
"providerRef": "provider_01",
|
|
32
|
+
"urlOrigin": "https://github.com",
|
|
33
|
+
"requestedScope": "repository-write",
|
|
34
|
+
"reason": "The command updates an external repository.",
|
|
35
|
+
"riskClass": "high",
|
|
36
|
+
"consequences": {
|
|
37
|
+
"allow": "The browser executes the action.",
|
|
38
|
+
"deny": "The action remains blocked."
|
|
39
|
+
},
|
|
40
|
+
"redaction": { "applied": false, "valuesRemoved": 0, "truncated": false }
|
|
41
|
+
},
|
|
42
|
+
"expectedRevisions": {
|
|
43
|
+
"runtimeRevision": "runtime_rev_01",
|
|
44
|
+
"taskRevision": "task_rev_01",
|
|
45
|
+
"controlRevision": "control_rev_01",
|
|
46
|
+
"approvalRevision": "approval_rev_01",
|
|
47
|
+
"treePrecondition": null
|
|
48
|
+
},
|
|
49
|
+
"state": "waiting",
|
|
50
|
+
"requestedAt": "2026-08-13T09:02:00.000Z",
|
|
51
|
+
"expiresAt": "2026-08-13T09:03:00.000Z",
|
|
52
|
+
"executor": "browser",
|
|
53
|
+
"directExecution": true
|
|
54
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"version": "piagent-webui-approval-v1",
|
|
4
|
+
"recordType": "request",
|
|
5
|
+
"approvalRef": "approval_01",
|
|
6
|
+
"decisionToken": "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB",
|
|
7
|
+
"identity": {
|
|
8
|
+
"projectRef": "project_01",
|
|
9
|
+
"runtimeInstanceId": "runtime_01",
|
|
10
|
+
"sessionRef": "session_01",
|
|
11
|
+
"taskId": "task-01",
|
|
12
|
+
"taskRunId": "task-01-run-01",
|
|
13
|
+
"agentOperationId": "operation_01",
|
|
14
|
+
"toolCallId": "tool_01"
|
|
15
|
+
},
|
|
16
|
+
"action": {
|
|
17
|
+
"kind": "external-provider-action",
|
|
18
|
+
"preconditionClass": "runtime-only",
|
|
19
|
+
"toolName": "bash",
|
|
20
|
+
"actionDigest": "sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
|
|
21
|
+
"canonicalization": "digest-bound-action-v1",
|
|
22
|
+
"previewPolicy": "redacted-no-secrets-v1",
|
|
23
|
+
"commandPreview": "git push origin feature",
|
|
24
|
+
"parameterPreview": "External repository update",
|
|
25
|
+
"targetEvidence": { "state": "provided", "reasonCode": null },
|
|
26
|
+
"cwdRef": "cwd_01",
|
|
27
|
+
"cwdDisplay": ".",
|
|
28
|
+
"targetRefs": ["target_01"],
|
|
29
|
+
"targetPaths": [],
|
|
30
|
+
"targetSummaries": ["Origin remote"],
|
|
31
|
+
"providerRef": "provider_01",
|
|
32
|
+
"urlOrigin": "https://github.com",
|
|
33
|
+
"requestedScope": "repository-write",
|
|
34
|
+
"reason": "The command updates an external repository.",
|
|
35
|
+
"riskClass": "high",
|
|
36
|
+
"consequences": {
|
|
37
|
+
"allow": "Pi guard may start this exact digest-bound action.",
|
|
38
|
+
"deny": "The action remains blocked."
|
|
39
|
+
},
|
|
40
|
+
"redaction": {
|
|
41
|
+
"applied": false,
|
|
42
|
+
"valuesRemoved": 0,
|
|
43
|
+
"truncated": false
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"expectedRevisions": {
|
|
47
|
+
"runtimeRevision": "runtime_rev_01",
|
|
48
|
+
"taskRevision": "task_rev_01",
|
|
49
|
+
"controlRevision": "control_rev_01",
|
|
50
|
+
"approvalRevision": "approval_rev_01",
|
|
51
|
+
"treePrecondition": null
|
|
52
|
+
},
|
|
53
|
+
"state": "waiting",
|
|
54
|
+
"requestedAt": "2026-08-13T09:02:00.000Z",
|
|
55
|
+
"expiresAt": "2026-08-13T09:03:00.000Z",
|
|
56
|
+
"executor": "pi-guard",
|
|
57
|
+
"directExecution": false
|
|
58
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"version": "piagent-webui-attachment-v1",
|
|
4
|
+
"messageType": "stage-command",
|
|
5
|
+
"commandId": "attachment-command-unsafe",
|
|
6
|
+
"idempotencyKey": "attachment-idempotency-key-00000002",
|
|
7
|
+
"requestedAt": "2026-08-14T08:00:00.000Z",
|
|
8
|
+
"expiresAt": "2026-08-14T08:05:00.000Z",
|
|
9
|
+
"identity": {
|
|
10
|
+
"projectRef": "project_01",
|
|
11
|
+
"runtimeInstanceId": "runtime_01",
|
|
12
|
+
"sessionRef": "session_01",
|
|
13
|
+
"taskId": null,
|
|
14
|
+
"taskRunId": null,
|
|
15
|
+
"agentOperationId": null,
|
|
16
|
+
"toolCallId": null
|
|
17
|
+
},
|
|
18
|
+
"expectedRuntimeRevision": "runtime_rev_01",
|
|
19
|
+
"messageRequestId": "message_request_01",
|
|
20
|
+
"file": {
|
|
21
|
+
"displayName": "../secret.zip",
|
|
22
|
+
"declaredMimeType": "application/zip",
|
|
23
|
+
"dataBase64": "UEsDBA=="
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"version": "piagent-webui-attachment-v1",
|
|
4
|
+
"messageType": "stage-command",
|
|
5
|
+
"commandId": "attachment-command-01",
|
|
6
|
+
"idempotencyKey": "attachment-idempotency-key-00000001",
|
|
7
|
+
"requestedAt": "2026-08-14T08:00:00.000Z",
|
|
8
|
+
"expiresAt": "2026-08-14T08:05:00.000Z",
|
|
9
|
+
"identity": {
|
|
10
|
+
"projectRef": "project_01",
|
|
11
|
+
"runtimeInstanceId": "runtime_01",
|
|
12
|
+
"sessionRef": "session_01",
|
|
13
|
+
"taskId": null,
|
|
14
|
+
"taskRunId": null,
|
|
15
|
+
"agentOperationId": null,
|
|
16
|
+
"toolCallId": null
|
|
17
|
+
},
|
|
18
|
+
"expectedRuntimeRevision": "runtime_rev_01",
|
|
19
|
+
"messageRequestId": "message_request_01",
|
|
20
|
+
"file": {
|
|
21
|
+
"displayName": "notes.md",
|
|
22
|
+
"declaredMimeType": "text/markdown",
|
|
23
|
+
"dataBase64": "IyBOb3Rlcwo="
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"version": "piagent-webui-capabilities-v1",
|
|
4
|
+
"generatedAt": "2026-08-13T09:00:00.000Z",
|
|
5
|
+
"protocolMin": 1,
|
|
6
|
+
"protocolMax": 1,
|
|
7
|
+
"supportedSnapshotVersions": [1],
|
|
8
|
+
"supportedEventVersions": [2],
|
|
9
|
+
"mode": "inspect-only",
|
|
10
|
+
"compatibility": { "state": "compatible", "reason": null },
|
|
11
|
+
"identity": {
|
|
12
|
+
"projectRef": "project_01",
|
|
13
|
+
"runtimeInstanceId": "runtime_01",
|
|
14
|
+
"sessionRef": "session_01",
|
|
15
|
+
"taskId": null,
|
|
16
|
+
"taskRunId": null,
|
|
17
|
+
"agentOperationId": null,
|
|
18
|
+
"toolCallId": null
|
|
19
|
+
},
|
|
20
|
+
"runtimeBuild": { "state": "available", "buildId": "runtime_build_01", "version": "0.84.1", "reason": null },
|
|
21
|
+
"serverBuild": { "state": "available", "buildId": "server_build_01", "version": "1.0.0", "reason": null },
|
|
22
|
+
"capabilities": {
|
|
23
|
+
"inspect": { "status": "available", "version": 1, "reason": null, "sourceViews": ["task"] },
|
|
24
|
+
"control.chat": { "status": "available", "version": 1, "reason": null, "queuePersistence": "runtime-lifetime", "actions": { "send": { "available": true, "reasonCode": null }, "hold": { "available": true, "reasonCode": null }, "editHeld": { "available": true, "reasonCode": null }, "deleteHeld": { "available": true, "reasonCode": null }, "dispatchHeld": { "available": true, "reasonCode": null }, "interruptAndSend": { "available": true, "reasonCode": null } } },
|
|
25
|
+
"control.lifecycle": { "status": "unavailable", "version": null, "reason": { "code": "not-proven", "message": "Unavailable." } },
|
|
26
|
+
"control.resumeAndContinue": { "status": "unavailable", "version": null, "reason": { "code": "not-proven", "message": "Unavailable." } },
|
|
27
|
+
"control.sessionOptions": { "status": "unavailable", "version": null, "reason": { "code": "not-proven", "message": "Unavailable." } },
|
|
28
|
+
"attachments": { "status": "unavailable", "version": null, "reason": { "code": "not-proven", "message": "Unavailable." } },
|
|
29
|
+
"approve": { "status": "unavailable", "version": null, "reason": { "code": "not-proven", "message": "Unavailable." } },
|
|
30
|
+
"reviewActions": { "status": "unavailable", "version": null, "reason": { "code": "not-proven", "message": "Unavailable." } }
|
|
31
|
+
},
|
|
32
|
+
"replay": { "eventRetentionCount": 100, "eventRetentionSeconds": 60, "resyncSupported": true },
|
|
33
|
+
"limits": {
|
|
34
|
+
"maxRequestBodyBytes": 1024,
|
|
35
|
+
"maxEventPayloadBytes": 256,
|
|
36
|
+
"maxReplayEvents": 100,
|
|
37
|
+
"maxDiffBytes": 1024,
|
|
38
|
+
"maxDiffLines": 1,
|
|
39
|
+
"maxDiffHunks": 1,
|
|
40
|
+
"maxLogPreviewBytes": 256,
|
|
41
|
+
"maxLogPreviewLines": 1,
|
|
42
|
+
"maxAttachmentCount": 0,
|
|
43
|
+
"maxAttachmentFileBytes": 0,
|
|
44
|
+
"maxAttachmentTotalBytes": 0,
|
|
45
|
+
"maxQueueItems": 0,
|
|
46
|
+
"maxMessageBytes": 1,
|
|
47
|
+
"maxSseClients": 1,
|
|
48
|
+
"maxGitProcesses": 1,
|
|
49
|
+
"requestTimeoutMs": 100
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"version": "piagent-webui-capabilities-v1",
|
|
4
|
+
"generatedAt": "2026-08-13T09:00:00.000Z",
|
|
5
|
+
"protocolMin": 1,
|
|
6
|
+
"protocolMax": 1,
|
|
7
|
+
"supportedSnapshotVersions": [1],
|
|
8
|
+
"supportedEventVersions": [2],
|
|
9
|
+
"mode": "inspect-only",
|
|
10
|
+
"compatibility": {
|
|
11
|
+
"state": "compatible",
|
|
12
|
+
"reason": null
|
|
13
|
+
},
|
|
14
|
+
"identity": {
|
|
15
|
+
"projectRef": "project_01",
|
|
16
|
+
"runtimeInstanceId": "runtime_01",
|
|
17
|
+
"sessionRef": "session_01",
|
|
18
|
+
"taskId": null,
|
|
19
|
+
"taskRunId": null,
|
|
20
|
+
"agentOperationId": null,
|
|
21
|
+
"toolCallId": null
|
|
22
|
+
},
|
|
23
|
+
"runtimeBuild": {
|
|
24
|
+
"state": "available",
|
|
25
|
+
"buildId": "runtime_build_01",
|
|
26
|
+
"version": "0.84.1",
|
|
27
|
+
"reason": null
|
|
28
|
+
},
|
|
29
|
+
"serverBuild": {
|
|
30
|
+
"state": "available",
|
|
31
|
+
"buildId": "server_build_01",
|
|
32
|
+
"version": "1.0.0",
|
|
33
|
+
"reason": null
|
|
34
|
+
},
|
|
35
|
+
"capabilities": {
|
|
36
|
+
"inspect": {
|
|
37
|
+
"status": "available",
|
|
38
|
+
"version": 1,
|
|
39
|
+
"reason": null,
|
|
40
|
+
"sourceViews": ["task", "working-tree", "staged"]
|
|
41
|
+
},
|
|
42
|
+
"control.chat": {
|
|
43
|
+
"status": "unavailable",
|
|
44
|
+
"version": null,
|
|
45
|
+
"reason": {
|
|
46
|
+
"code": "bridge-not-proven",
|
|
47
|
+
"message": "Same-session dispatch acknowledgement is not available."
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"control.lifecycle": {
|
|
51
|
+
"status": "unavailable",
|
|
52
|
+
"version": null,
|
|
53
|
+
"reason": {
|
|
54
|
+
"code": "bridge-not-proven",
|
|
55
|
+
"message": "Awaited lifecycle settlement is not available."
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"control.resumeAndContinue": {
|
|
59
|
+
"status": "unavailable",
|
|
60
|
+
"version": null,
|
|
61
|
+
"reason": {
|
|
62
|
+
"code": "compound-control-not-proven",
|
|
63
|
+
"message": "Atomic resume and same-session dispatch are not available."
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"control.sessionOptions": {
|
|
67
|
+
"status": "unavailable",
|
|
68
|
+
"version": null,
|
|
69
|
+
"reason": {
|
|
70
|
+
"code": "effect-scope-unproven",
|
|
71
|
+
"message": "The model setting effect scope has not been proved."
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"attachments": {
|
|
75
|
+
"status": "unavailable",
|
|
76
|
+
"version": null,
|
|
77
|
+
"reason": {
|
|
78
|
+
"code": "attachments-not-implemented",
|
|
79
|
+
"message": "Attachment staging is not implemented."
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"approve": {
|
|
83
|
+
"status": "unavailable",
|
|
84
|
+
"version": null,
|
|
85
|
+
"reason": {
|
|
86
|
+
"code": "approval-broker-not-implemented",
|
|
87
|
+
"message": "The runtime approval broker is not implemented."
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"reviewActions": {
|
|
91
|
+
"status": "unavailable",
|
|
92
|
+
"version": null,
|
|
93
|
+
"reason": {
|
|
94
|
+
"code": "review-actions-not-implemented",
|
|
95
|
+
"message": "Review mutations are not implemented."
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"replay": {
|
|
100
|
+
"eventRetentionCount": 10000,
|
|
101
|
+
"eventRetentionSeconds": 3600,
|
|
102
|
+
"resyncSupported": true
|
|
103
|
+
},
|
|
104
|
+
"limits": {
|
|
105
|
+
"maxRequestBodyBytes": 1048576,
|
|
106
|
+
"maxEventPayloadBytes": 65536,
|
|
107
|
+
"maxReplayEvents": 10000,
|
|
108
|
+
"maxDiffBytes": 4194304,
|
|
109
|
+
"maxDiffLines": 5000,
|
|
110
|
+
"maxDiffHunks": 256,
|
|
111
|
+
"maxLogPreviewBytes": 65536,
|
|
112
|
+
"maxLogPreviewLines": 500,
|
|
113
|
+
"maxAttachmentCount": 16,
|
|
114
|
+
"maxAttachmentFileBytes": 10485760,
|
|
115
|
+
"maxAttachmentTotalBytes": 33554432,
|
|
116
|
+
"maxQueueItems": 100,
|
|
117
|
+
"maxMessageBytes": 65536,
|
|
118
|
+
"maxSseClients": 8,
|
|
119
|
+
"maxGitProcesses": 4,
|
|
120
|
+
"requestTimeoutMs": 30000
|
|
121
|
+
}
|
|
122
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"version": "piagent-webui-commit-summary-v1",
|
|
4
|
+
"generatedAt": "2026-08-14T09:00:00.000Z",
|
|
5
|
+
"identity": { "projectRef": "project_01", "runtimeInstanceId": "runtime_01", "sessionRef": "session_01", "taskId": "task_01", "taskRunId": "task_run_01", "agentOperationId": null, "toolCallId": null },
|
|
6
|
+
"state": "ready",
|
|
7
|
+
"summary": null,
|
|
8
|
+
"reasonCode": null,
|
|
9
|
+
"health": { "state": "ok", "reasonCode": null, "message": null }
|
|
10
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"version": "piagent-webui-commit-summary-v1",
|
|
4
|
+
"generatedAt": "2026-08-14T09:00:00.000Z",
|
|
5
|
+
"identity": { "projectRef": "project_01", "runtimeInstanceId": "runtime_01", "sessionRef": "session_01", "taskId": "task_01", "taskRunId": "task_run_01", "agentOperationId": null, "toolCallId": null },
|
|
6
|
+
"state": "ready",
|
|
7
|
+
"summary": {
|
|
8
|
+
"summaryRef": "commit-summary_01",
|
|
9
|
+
"taskRevision": "task_revision_01",
|
|
10
|
+
"indexRevision": "index_revision_01",
|
|
11
|
+
"title": "Update 2 staged files",
|
|
12
|
+
"bodyLines": ["- Add src/new.ts (+4/-0)", "- Update src/app.ts (+2/-1)", "- Staged changes: +6 / -1"],
|
|
13
|
+
"modelPrompt": "Write a concise Git commit message from this exact staged summary.\nIndex revision: index_revision_01\nTitle: Update 2 staged files",
|
|
14
|
+
"fileCount": 2,
|
|
15
|
+
"returnedFiles": 2,
|
|
16
|
+
"statusCounts": { "A": 1, "M": 1, "D": 0, "R": 0, "C": 0 },
|
|
17
|
+
"additions": 6,
|
|
18
|
+
"deletions": 1,
|
|
19
|
+
"protectedFileCount": 0,
|
|
20
|
+
"redacted": false,
|
|
21
|
+
"truncated": false
|
|
22
|
+
},
|
|
23
|
+
"reasonCode": null,
|
|
24
|
+
"health": { "state": "ok", "reasonCode": null, "message": null }
|
|
25
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"version": "piagent-webui-control-v1",
|
|
4
|
+
"messageType": "command",
|
|
5
|
+
"commandId": "command_01",
|
|
6
|
+
"idempotencyKey": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
|
|
7
|
+
"requestedAt": "2026-08-13T09:01:00.000Z",
|
|
8
|
+
"expiresAt": "2026-08-13T09:01:30.000Z",
|
|
9
|
+
"capabilityScope": "control.lifecycle",
|
|
10
|
+
"action": "lifecycle.resume",
|
|
11
|
+
"actionDigest": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
12
|
+
"identity": {
|
|
13
|
+
"projectRef": "project_01",
|
|
14
|
+
"runtimeInstanceId": "runtime_01",
|
|
15
|
+
"sessionRef": "session_01",
|
|
16
|
+
"taskId": "task-01",
|
|
17
|
+
"taskRunId": "task-01-run-01",
|
|
18
|
+
"agentOperationId": null,
|
|
19
|
+
"toolCallId": null
|
|
20
|
+
},
|
|
21
|
+
"expectedRevisions": {
|
|
22
|
+
"runtimeRevision": "runtime_rev_01",
|
|
23
|
+
"taskRevision": "task_rev_01",
|
|
24
|
+
"controlRevision": "control_rev_01",
|
|
25
|
+
"workspaceRevision": null,
|
|
26
|
+
"indexRevision": null,
|
|
27
|
+
"approvalRevision": null,
|
|
28
|
+
"sessionOptionRevision": null,
|
|
29
|
+
"queueRevision": null,
|
|
30
|
+
"workspacePreimage": null,
|
|
31
|
+
"indexPreimage": null,
|
|
32
|
+
"patchPreimage": null
|
|
33
|
+
},
|
|
34
|
+
"payload": {
|
|
35
|
+
"text": "Resume must not silently send a message."
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"version": "piagent-webui-control-v1",
|
|
4
|
+
"messageType": "command",
|
|
5
|
+
"commandId": "command_01",
|
|
6
|
+
"idempotencyKey": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
|
|
7
|
+
"requestedAt": "2026-08-13T09:01:00.000Z",
|
|
8
|
+
"expiresAt": "2026-08-13T09:01:30.000Z",
|
|
9
|
+
"capabilityScope": "control.lifecycle",
|
|
10
|
+
"action": "lifecycle.resume",
|
|
11
|
+
"actionDigest": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
12
|
+
"identity": {
|
|
13
|
+
"projectRef": "project_01",
|
|
14
|
+
"runtimeInstanceId": "runtime_01",
|
|
15
|
+
"sessionRef": "session_01",
|
|
16
|
+
"taskId": "task-01",
|
|
17
|
+
"taskRunId": "task-01-run-01",
|
|
18
|
+
"agentOperationId": null,
|
|
19
|
+
"toolCallId": null
|
|
20
|
+
},
|
|
21
|
+
"expectedRevisions": {
|
|
22
|
+
"runtimeRevision": "runtime_rev_01",
|
|
23
|
+
"taskRevision": "task_rev_01",
|
|
24
|
+
"controlRevision": "control_rev_01",
|
|
25
|
+
"workspaceRevision": null,
|
|
26
|
+
"indexRevision": null,
|
|
27
|
+
"approvalRevision": null,
|
|
28
|
+
"sessionOptionRevision": null,
|
|
29
|
+
"queueRevision": null,
|
|
30
|
+
"workspacePreimage": null,
|
|
31
|
+
"indexPreimage": null,
|
|
32
|
+
"patchPreimage": null
|
|
33
|
+
},
|
|
34
|
+
"payload": {}
|
|
35
|
+
}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"version": "piagent-webui-diff-v1",
|
|
4
|
+
"generatedAt": "2026-08-13T09:08:00.000Z",
|
|
5
|
+
"identity": {
|
|
6
|
+
"projectRef": "project_01",
|
|
7
|
+
"runtimeInstanceId": "runtime_01",
|
|
8
|
+
"sessionRef": "session_01",
|
|
9
|
+
"taskId": null,
|
|
10
|
+
"taskRunId": null,
|
|
11
|
+
"agentOperationId": null,
|
|
12
|
+
"toolCallId": null
|
|
13
|
+
},
|
|
14
|
+
"view": "working-tree",
|
|
15
|
+
"basis": {
|
|
16
|
+
"basisRef": "basis_01",
|
|
17
|
+
"repoRef": "repo_01",
|
|
18
|
+
"view": "working-tree",
|
|
19
|
+
"state": "current",
|
|
20
|
+
"reasonCode": null,
|
|
21
|
+
"basisRevision": "basis_rev_01",
|
|
22
|
+
"headState": "head",
|
|
23
|
+
"headRef": "head_01",
|
|
24
|
+
"workspaceRevision": "workspace_rev_01",
|
|
25
|
+
"indexRevision": "index_rev_01"
|
|
26
|
+
},
|
|
27
|
+
"precondition": {
|
|
28
|
+
"expectedViewRevision": "workspace_rev_01",
|
|
29
|
+
"expectedFileRevision": "file_rev_01",
|
|
30
|
+
"expectedBaseDigest": "sha256:1111111111111111111111111111111111111111111111111111111111111111",
|
|
31
|
+
"expectedCurrentDigest": "sha256:2222222222222222222222222222222222222222222222222222222222222222"
|
|
32
|
+
},
|
|
33
|
+
"observed": {
|
|
34
|
+
"viewRevision": "workspace_rev_01",
|
|
35
|
+
"fileRevision": "file_rev_01",
|
|
36
|
+
"baseDigest": "sha256:1111111111111111111111111111111111111111111111111111111111111111",
|
|
37
|
+
"currentDigest": "sha256:2222222222222222222222222222222222222222222222222222222222222222"
|
|
38
|
+
},
|
|
39
|
+
"file": {
|
|
40
|
+
"repoRef": "repo_01",
|
|
41
|
+
"basisRef": "basis_01",
|
|
42
|
+
"fileRef": "file_01",
|
|
43
|
+
"fileRevision": "file_rev_01",
|
|
44
|
+
"path": "src/example.ts",
|
|
45
|
+
"oldPath": null,
|
|
46
|
+
"pathDisplay": "exact-safe",
|
|
47
|
+
"status": "M",
|
|
48
|
+
"git": {
|
|
49
|
+
"indexStatus": ".",
|
|
50
|
+
"worktreeStatus": "M",
|
|
51
|
+
"conflict": false
|
|
52
|
+
},
|
|
53
|
+
"baseDigest": "sha256:1111111111111111111111111111111111111111111111111111111111111111",
|
|
54
|
+
"currentDigest": "sha256:2222222222222222222222222222222222222222222222222222222222222222",
|
|
55
|
+
"content": {
|
|
56
|
+
"kind": "text",
|
|
57
|
+
"access": "available",
|
|
58
|
+
"reasonCode": null
|
|
59
|
+
},
|
|
60
|
+
"stats": {
|
|
61
|
+
"state": "exact",
|
|
62
|
+
"additions": 1,
|
|
63
|
+
"deletions": 1,
|
|
64
|
+
"reasonCode": null
|
|
65
|
+
},
|
|
66
|
+
"provenance": {
|
|
67
|
+
"classification": "pre-existing-user",
|
|
68
|
+
"evidence": "exact",
|
|
69
|
+
"baselineEvidenceRef": "baseline_01",
|
|
70
|
+
"mutationEvidenceRefs": [],
|
|
71
|
+
"reasonCode": null
|
|
72
|
+
},
|
|
73
|
+
"criterionIds": ["criterion-01"],
|
|
74
|
+
"verifierAttemptIds": ["verifier-01"],
|
|
75
|
+
"health": {
|
|
76
|
+
"state": "ok",
|
|
77
|
+
"reasonCode": null,
|
|
78
|
+
"message": null
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"availability": {
|
|
82
|
+
"state": "current",
|
|
83
|
+
"reasonCode": null,
|
|
84
|
+
"message": null,
|
|
85
|
+
"retryable": false
|
|
86
|
+
},
|
|
87
|
+
"fallback": {
|
|
88
|
+
"kind": "none",
|
|
89
|
+
"reasonCode": null,
|
|
90
|
+
"message": null
|
|
91
|
+
},
|
|
92
|
+
"hunks": [
|
|
93
|
+
{
|
|
94
|
+
"hunkRef": "hunk_01",
|
|
95
|
+
"oldStart": 1,
|
|
96
|
+
"oldLineCount": 1,
|
|
97
|
+
"newStart": 1,
|
|
98
|
+
"newLineCount": 1,
|
|
99
|
+
"header": "@@ -1 +1 @@",
|
|
100
|
+
"lines": [
|
|
101
|
+
{
|
|
102
|
+
"lineRef": "line_01",
|
|
103
|
+
"kind": "deleted",
|
|
104
|
+
"marker": "-",
|
|
105
|
+
"oldLineNumber": 1,
|
|
106
|
+
"newLineNumber": null,
|
|
107
|
+
"text": "export const value = 1;",
|
|
108
|
+
"redacted": false
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"lineRef": "line_02",
|
|
112
|
+
"kind": "added",
|
|
113
|
+
"marker": "+",
|
|
114
|
+
"oldLineNumber": null,
|
|
115
|
+
"newLineNumber": 1,
|
|
116
|
+
"text": "export const value = 2;",
|
|
117
|
+
"redacted": false
|
|
118
|
+
}
|
|
119
|
+
]
|
|
120
|
+
}
|
|
121
|
+
],
|
|
122
|
+
"unchangedRegions": [],
|
|
123
|
+
"truncation": {
|
|
124
|
+
"truncated": false,
|
|
125
|
+
"reasonCode": null,
|
|
126
|
+
"omittedHunks": 0,
|
|
127
|
+
"omittedLines": 0,
|
|
128
|
+
"nextCursor": null
|
|
129
|
+
},
|
|
130
|
+
"redaction": {
|
|
131
|
+
"applied": false,
|
|
132
|
+
"valuesRemoved": 0,
|
|
133
|
+
"truncated": false
|
|
134
|
+
},
|
|
135
|
+
"health": {
|
|
136
|
+
"state": "ok",
|
|
137
|
+
"reasonCode": null,
|
|
138
|
+
"message": null
|
|
139
|
+
},
|
|
140
|
+
"issues": []
|
|
141
|
+
}
|