@agent-vm/agent-portal-sdk 0.0.114 → 0.0.116
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/contract-fixtures/portable-contracts/artifacts/artifact-read-result-authority-field-rejected.fixture.json +21 -0
- package/contract-fixtures/portable-contracts/artifacts/artifact-read-result-default-truncated.fixture.json +35 -0
- package/contract-fixtures/portable-contracts/artifacts/artifact-reference-path-rejected.fixture.json +17 -0
- package/contract-fixtures/portable-contracts/artifacts/artifact-reference-valid.fixture.json +24 -0
- package/contract-fixtures/portable-contracts/bounds/artifact-read-maximum-bytes.fixture.json +29 -0
- package/contract-fixtures/portable-contracts/bounds/artifact-read-over-maximum-bytes.fixture.json +19 -0
- package/contract-fixtures/portable-contracts/bounds/json-object-over-maximum-entries.fixture.json +1013 -0
- package/contract-fixtures/portable-contracts/bounds/list-request-maximum-limit.fixture.json +30 -0
- package/contract-fixtures/portable-contracts/bounds/list-request-over-maximum-limit.fixture.json +22 -0
- package/contract-fixtures/portable-contracts/bounds/progress-maximum-percent.fixture.json +22 -0
- package/contract-fixtures/portable-contracts/bounds/progress-minimum-percent.fixture.json +22 -0
- package/contract-fixtures/portable-contracts/bounds/progress-over-maximum-percent.fixture.json +16 -0
- package/contract-fixtures/portable-contracts/bounds/unsafe-integer.fixture.json +11 -0
- package/contract-fixtures/portable-contracts/canonical-json/nested-key-order-and-negative-zero.fixture.json +24 -0
- package/contract-fixtures/portable-contracts/coverage/gateway-trusted-invocation-context.fixture.json +53 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-environment-close-request.fixture.json +29 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-environment-close-result.fixture.json +31 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-environment-open-request.fixture.json +17 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-environment-open-result.fixture.json +33 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-environment-status-request.fixture.json +29 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-environment-status-result.fixture.json +33 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-exec-cancel-request.fixture.json +25 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-exec-cancel-result.fixture.json +27 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-exec-start-request.fixture.json +51 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-exec-start-result.fixture.json +31 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-exec-wait-request.fixture.json +27 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-exec-wait-result.fixture.json +37 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-fs-list-request.fixture.json +33 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-fs-list-result.fixture.json +21 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-fs-mkdir-request.fixture.json +31 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-fs-mkdir-result.fixture.json +23 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-fs-read-request.fixture.json +35 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-fs-read-result.fixture.json +37 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-fs-remove-request.fixture.json +31 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-fs-remove-result.fixture.json +23 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-fs-rename-request.fixture.json +33 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-fs-rename-result.fixture.json +23 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-fs-stat-request.fixture.json +29 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-fs-stat-result.fixture.json +21 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-fs-write-request.fixture.json +43 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-fs-write-result.fixture.json +27 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-operation-identity.fixture.json +21 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-process-cancel-request.fixture.json +27 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-process-cancel-result.fixture.json +27 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-process-logs-request.fixture.json +37 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-process-logs-result.fixture.json +35 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-process-start-request.fixture.json +35 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-process-start-result.fixture.json +39 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-process-status-request.fixture.json +27 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-process-status-result.fixture.json +37 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-process-wait-request.fixture.json +29 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-process-wait-result.fixture.json +37 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-retained-result-lookup-request.fixture.json +25 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-stream-close-request.fixture.json +29 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-stream-close-result.fixture.json +31 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-stream-read-request.fixture.json +33 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-stream-read-result.fixture.json +47 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-stream-write-request.fixture.json +45 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-stream-write-result.fixture.json +37 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-terminal-attach-request.fixture.json +33 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-terminal-attach-result.fixture.json +53 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-terminal-resize-request.fixture.json +35 -0
- package/contract-fixtures/portable-contracts/coverage/sandbox-terminal-resize-result.fixture.json +37 -0
- package/contract-fixtures/portable-contracts/defaults/describe-request-defaults.fixture.json +44 -0
- package/contract-fixtures/portable-contracts/defaults/list-request-default-limit.fixture.json +29 -0
- package/contract-fixtures/portable-contracts/defaults/search-request-defaults.fixture.json +33 -0
- package/contract-fixtures/portable-contracts/discovery/describe-result.fixture.json +18 -0
- package/contract-fixtures/portable-contracts/discovery/list-result.fixture.json +18 -0
- package/contract-fixtures/portable-contracts/discovery/search-result.fixture.json +18 -0
- package/contract-fixtures/portable-contracts/gateway/attachment-duplicate-agent.fixture.json +21 -0
- package/contract-fixtures/portable-contracts/gateway/attachment-valid.fixture.json +32 -0
- package/contract-fixtures/portable-contracts/gateway/managed-agent-projection-hermes-valid.fixture.json +28 -0
- package/contract-fixtures/portable-contracts/gateway/managed-agent-projection-old-authority-rejected.fixture.json +20 -0
- package/contract-fixtures/portable-contracts/gateway/managed-agent-projection-openclaw-valid.fixture.json +28 -0
- package/contract-fixtures/portable-contracts/gateway/managed-agent-projection-self-root-rejected.fixture.json +20 -0
- package/contract-fixtures/portable-contracts/gateway/managed-agent-projection-work-root-rejected.fixture.json +20 -0
- package/contract-fixtures/portable-contracts/operations/cancellation-pending.fixture.json +18 -0
- package/contract-fixtures/portable-contracts/operations/retained-ambiguous.fixture.json +28 -0
- package/contract-fixtures/portable-contracts/outcomes/ambiguous.fixture.json +40 -0
- package/contract-fixtures/portable-contracts/outcomes/call-result-aggregate-status-invalid.fixture.json +35 -0
- package/contract-fixtures/portable-contracts/outcomes/call-result-aggregate-status-valid.fixture.json +54 -0
- package/contract-fixtures/portable-contracts/outcomes/cancelled-proven.fixture.json +40 -0
- package/contract-fixtures/portable-contracts/outcomes/completed-failed.fixture.json +42 -0
- package/contract-fixtures/portable-contracts/outcomes/completed-succeeded.fixture.json +40 -0
- package/contract-fixtures/portable-contracts/outcomes/invalid-ambiguous-retry-class.fixture.json +25 -0
- package/contract-fixtures/portable-contracts/outcomes/invalid-error-completed-succeeded.fixture.json +26 -0
- package/contract-fixtures/portable-contracts/outcomes/invalid-error-result-with-value.fixture.json +19 -0
- package/contract-fixtures/portable-contracts/outcomes/invalid-not-dispatched-certainty.fixture.json +25 -0
- package/contract-fixtures/portable-contracts/outcomes/invalid-ok-completed-failed.fixture.json +23 -0
- package/contract-fixtures/portable-contracts/outcomes/invalid-ok-result-with-error.fixture.json +19 -0
- package/contract-fixtures/portable-contracts/outcomes/invalid-replaced-missing-prior-side-effects.fixture.json +25 -0
- package/contract-fixtures/portable-contracts/outcomes/missing-operation-identity-outcome.fixture.json +26 -0
- package/contract-fixtures/portable-contracts/outcomes/not-dispatched.fixture.json +40 -0
- package/contract-fixtures/portable-contracts/outcomes/replaced-proven.fixture.json +42 -0
- package/contract-fixtures/portable-contracts/outcomes/timed-out-proven.fixture.json +40 -0
- package/contract-fixtures/portable-contracts/requests/call-request-canonical.fixture.json +42 -0
- package/contract-fixtures/portable-contracts/requests/call-request-duplicate-id.fixture.json +26 -0
- package/contract-fixtures/portable-contracts/requests/call-request-reserved-id.fixture.json +20 -0
- package/contract-fixtures/portable-contracts/requests/call-request-unknown-field.fixture.json +21 -0
- package/contract-fixtures/portable-contracts/sandbox/exec-start-duplicate-environment-name.fixture.json +32 -0
- package/contract-fixtures/portable-contracts/sandbox/fs-stat-parent-path.fixture.json +26 -0
- package/contract-fixtures/portable-contracts/sandbox/stream-write-byte-length.fixture.json +21 -0
- package/dist/adapter-boundary/index.d.ts +2 -41
- package/dist/adapter-boundary/index.js +1 -28
- package/dist/adapter-boundary-BIagsTUH.js +29 -0
- package/dist/adapter-boundary-BIagsTUH.js.map +1 -0
- package/dist/approval-surface/index.d.ts +2 -48
- package/dist/approval-surface/index.js +2 -22
- package/dist/approval-surface-en5VAY5h.js +20 -0
- package/dist/approval-surface-en5VAY5h.js.map +1 -0
- package/dist/{artifact-reference-schema-XiJ280uV.js → artifact-reference-schema-CiEjxYPd.js} +4 -3
- package/dist/artifact-reference-schema-CiEjxYPd.js.map +1 -0
- package/dist/artifact-surface/index.d.ts +2 -49
- package/dist/artifact-surface/index.js +3 -27
- package/dist/artifact-surface-BstQxq6b.js +65 -0
- package/dist/artifact-surface-BstQxq6b.js.map +1 -0
- package/dist/capability-description-surface/index.d.ts +2 -142
- package/dist/capability-description-surface/index.js +2 -1
- package/dist/capability-description-surface-BdzknTKT.js +2 -0
- package/dist/{capability-descriptor-schema-wgtHF0Ic.js → capability-descriptor-schema-zRnfGjBc.js} +2 -2
- package/dist/{capability-descriptor-schema-wgtHF0Ic.js.map → capability-descriptor-schema-zRnfGjBc.js.map} +1 -1
- package/dist/cli/tool-portal.d.ts +1 -0
- package/dist/cli/tool-portal.js +207 -0
- package/dist/cli/tool-portal.js.map +1 -0
- package/dist/contracts/index.d.ts +2 -0
- package/dist/contracts/index.js +2 -0
- package/dist/contracts-RgGW0RX2.js +611 -0
- package/dist/contracts-RgGW0RX2.js.map +1 -0
- package/dist/gateway-runtime-client/index.d.ts +385 -0
- package/dist/gateway-runtime-client/index.d.ts.map +1 -0
- package/dist/gateway-runtime-client/index.js +1439 -0
- package/dist/gateway-runtime-client/index.js.map +1 -0
- package/dist/gateway-runtime-local-exec/gateway-runtime-local-exec-helper.d.ts +1 -0
- package/dist/gateway-runtime-local-exec/gateway-runtime-local-exec-helper.js +125 -0
- package/dist/gateway-runtime-local-exec/gateway-runtime-local-exec-helper.js.map +1 -0
- package/dist/gateway-runtime-local-exec/index.d.ts +54 -0
- package/dist/gateway-runtime-local-exec/index.d.ts.map +1 -0
- package/dist/gateway-runtime-local-exec/index.js +2 -0
- package/dist/gateway-runtime-local-exec-transport-B1hy2A3Q.js +427 -0
- package/dist/gateway-runtime-local-exec-transport-B1hy2A3Q.js.map +1 -0
- package/dist/index-B5hgm1KH.d.ts +84 -0
- package/dist/index-B5hgm1KH.d.ts.map +1 -0
- package/dist/index-BWE2_BcN.d.ts +64 -0
- package/dist/index-BWE2_BcN.d.ts.map +1 -0
- package/dist/index-BmH68K78.d.ts +41 -0
- package/dist/index-BmH68K78.d.ts.map +1 -0
- package/dist/index-ByAhyVbI.d.ts +142 -0
- package/dist/index-ByAhyVbI.d.ts.map +1 -0
- package/dist/index-C-NPMMvc.d.ts +2396 -0
- package/dist/index-C-NPMMvc.d.ts.map +1 -0
- package/dist/index-DKBSYuxW.d.ts +239 -0
- package/dist/index-DKBSYuxW.d.ts.map +1 -0
- package/dist/{index-DJiaGYF_.d.ts → index-Dj4galCJ.d.ts} +1 -1
- package/dist/{index-DJiaGYF_.d.ts.map → index-Dj4galCJ.d.ts.map} +1 -1
- package/dist/index-Dxoz-ORl.d.ts +229 -0
- package/dist/index-Dxoz-ORl.d.ts.map +1 -0
- package/dist/index-v8suC0qe.d.ts +69 -0
- package/dist/index-v8suC0qe.d.ts.map +1 -0
- package/dist/index-yeFGRMdv.d.ts +152 -0
- package/dist/index-yeFGRMdv.d.ts.map +1 -0
- package/dist/index.d.ts +12 -10
- package/dist/index.js +16 -12
- package/dist/{json-value-schema-Bj42URkc.d.ts → json-value-schema-M87sjwWL.d.ts} +1 -1
- package/dist/{json-value-schema-Bj42URkc.d.ts.map → json-value-schema-M87sjwWL.d.ts.map} +1 -1
- package/dist/{json-value-schema-D-3hfAyL.js → json-value-schema-hdPkabRZ.js} +12 -2
- package/dist/json-value-schema-hdPkabRZ.js.map +1 -0
- package/dist/node-tool-portal-mcp-transport-Cl2VKbLY.js +156 -0
- package/dist/node-tool-portal-mcp-transport-Cl2VKbLY.js.map +1 -0
- package/dist/portable-contracts/index.d.ts +2 -0
- package/dist/portable-contracts/index.js +3 -0
- package/dist/portable-contracts-Bca33zVa.js +326 -0
- package/dist/portable-contracts-Bca33zVa.js.map +1 -0
- package/dist/portable-refinement-authoring-ZSmR-amG.js +196 -0
- package/dist/portable-refinement-authoring-ZSmR-amG.js.map +1 -0
- package/dist/portal-call-request-schema-Cp6CMGs9.js +41 -0
- package/dist/portal-call-request-schema-Cp6CMGs9.js.map +1 -0
- package/dist/portal-call-result-schema-ByxHRCEN.js +158 -0
- package/dist/portal-call-result-schema-ByxHRCEN.js.map +1 -0
- package/dist/{portal-call-result-schema-BGEEv_aO.d.ts → portal-call-result-schema-wSCaz3mC.d.ts} +413 -199
- package/dist/portal-call-result-schema-wSCaz3mC.d.ts.map +1 -0
- package/dist/portal-call-surface/index.d.ts +3 -153
- package/dist/portal-call-surface/index.js +5 -69
- package/dist/portal-call-surface-DjZVquFt.js +83 -0
- package/dist/portal-call-surface-DjZVquFt.js.map +1 -0
- package/dist/{portal-error-schema-D58onG2t.js → portal-error-schema-CQHgoFq4.js} +12 -2
- package/dist/portal-error-schema-CQHgoFq4.js.map +1 -0
- package/dist/portal-event-surface/index.d.ts +2 -229
- package/dist/portal-event-surface/index.js +2 -50
- package/dist/portal-event-surface-CdScrgoN.js +51 -0
- package/dist/portal-event-surface-CdScrgoN.js.map +1 -0
- package/dist/testing/index.d.ts +2 -3
- package/dist/testing/index.d.ts.map +1 -1
- package/dist/testing/index.js +10 -1
- package/dist/testing/index.js.map +1 -1
- package/dist/tool-portal-mcp-client/index.d.ts +2 -0
- package/dist/tool-portal-mcp-client/index.js +2 -0
- package/dist/tool-portal-mcp-client/node-tool-portal-mcp-transport.d.ts +17 -0
- package/dist/tool-portal-mcp-client/node-tool-portal-mcp-transport.d.ts.map +1 -0
- package/dist/tool-portal-mcp-client/node-tool-portal-mcp-transport.js +2 -0
- package/dist/tool-portal-mcp-client-DwJF-48Y.js +90 -0
- package/dist/tool-portal-mcp-client-DwJF-48Y.js.map +1 -0
- package/package.json +32 -2
- package/portable-contract-schema-manifest.json +7960 -0
- package/dist/adapter-boundary/index.d.ts.map +0 -1
- package/dist/adapter-boundary/index.js.map +0 -1
- package/dist/approval-surface/index.d.ts.map +0 -1
- package/dist/approval-surface/index.js.map +0 -1
- package/dist/artifact-reference-schema-XiJ280uV.js.map +0 -1
- package/dist/artifact-surface/index.d.ts.map +0 -1
- package/dist/artifact-surface/index.js.map +0 -1
- package/dist/capability-description-surface/index.d.ts.map +0 -1
- package/dist/json-value-schema-D-3hfAyL.js.map +0 -1
- package/dist/portal-call-result-schema-BGEEv_aO.d.ts.map +0 -1
- package/dist/portal-call-result-schema-BIqFTFK8.js +0 -102
- package/dist/portal-call-result-schema-BIqFTFK8.js.map +0 -1
- package/dist/portal-call-surface/index.d.ts.map +0 -1
- package/dist/portal-call-surface/index.js.map +0 -1
- package/dist/portal-error-schema-D58onG2t.js.map +0 -1
- package/dist/portal-event-surface/index.d.ts.map +0 -1
- package/dist/portal-event-surface/index.js.map +0 -1
package/contract-fixtures/portable-contracts/coverage/sandbox-process-wait-request.fixture.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"caseId": "coverage-sandbox-process-wait-request",
|
|
3
|
+
"schemaId": "sandbox.process.wait.request",
|
|
4
|
+
"tags": [
|
|
5
|
+
"accepted",
|
|
6
|
+
"coverage"
|
|
7
|
+
],
|
|
8
|
+
"input": {
|
|
9
|
+
"process": {
|
|
10
|
+
"handleId": "process-a",
|
|
11
|
+
"kind": "process",
|
|
12
|
+
"owningGeneration": "generation-a"
|
|
13
|
+
},
|
|
14
|
+
"timeoutMs": 1000
|
|
15
|
+
},
|
|
16
|
+
"expectation": {
|
|
17
|
+
"kind": "accepted",
|
|
18
|
+
"normalized": {
|
|
19
|
+
"process": {
|
|
20
|
+
"handleId": "process-a",
|
|
21
|
+
"kind": "process",
|
|
22
|
+
"owningGeneration": "generation-a"
|
|
23
|
+
},
|
|
24
|
+
"timeoutMs": 1000
|
|
25
|
+
},
|
|
26
|
+
"canonicalJson": "{\"process\":{\"handleId\":\"process-a\",\"kind\":\"process\",\"owningGeneration\":\"generation-a\"},\"timeoutMs\":1000}",
|
|
27
|
+
"refinementIdentities": []
|
|
28
|
+
}
|
|
29
|
+
}
|
package/contract-fixtures/portable-contracts/coverage/sandbox-process-wait-result.fixture.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"caseId": "coverage-sandbox-process-wait-result",
|
|
3
|
+
"schemaId": "sandbox.process.wait.result",
|
|
4
|
+
"tags": [
|
|
5
|
+
"accepted",
|
|
6
|
+
"coverage"
|
|
7
|
+
],
|
|
8
|
+
"input": {
|
|
9
|
+
"kind": "running",
|
|
10
|
+
"operation": {
|
|
11
|
+
"operationId": "operation-a",
|
|
12
|
+
"owningGeneration": "generation-a"
|
|
13
|
+
},
|
|
14
|
+
"process": {
|
|
15
|
+
"handleId": "process-a",
|
|
16
|
+
"kind": "process",
|
|
17
|
+
"owningGeneration": "generation-a"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"expectation": {
|
|
21
|
+
"kind": "accepted",
|
|
22
|
+
"normalized": {
|
|
23
|
+
"kind": "running",
|
|
24
|
+
"operation": {
|
|
25
|
+
"operationId": "operation-a",
|
|
26
|
+
"owningGeneration": "generation-a"
|
|
27
|
+
},
|
|
28
|
+
"process": {
|
|
29
|
+
"handleId": "process-a",
|
|
30
|
+
"kind": "process",
|
|
31
|
+
"owningGeneration": "generation-a"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"canonicalJson": "{\"kind\":\"running\",\"operation\":{\"operationId\":\"operation-a\",\"owningGeneration\":\"generation-a\"},\"process\":{\"handleId\":\"process-a\",\"kind\":\"process\",\"owningGeneration\":\"generation-a\"}}",
|
|
35
|
+
"refinementIdentities": []
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"caseId": "coverage-sandbox-retained-result-lookup-request",
|
|
3
|
+
"schemaId": "sandbox.retained-result.lookup-request",
|
|
4
|
+
"tags": [
|
|
5
|
+
"accepted",
|
|
6
|
+
"coverage"
|
|
7
|
+
],
|
|
8
|
+
"input": {
|
|
9
|
+
"operation": {
|
|
10
|
+
"operationId": "operation-a",
|
|
11
|
+
"owningGeneration": "generation-a"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"expectation": {
|
|
15
|
+
"kind": "accepted",
|
|
16
|
+
"normalized": {
|
|
17
|
+
"operation": {
|
|
18
|
+
"operationId": "operation-a",
|
|
19
|
+
"owningGeneration": "generation-a"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"canonicalJson": "{\"operation\":{\"operationId\":\"operation-a\",\"owningGeneration\":\"generation-a\"}}",
|
|
23
|
+
"refinementIdentities": []
|
|
24
|
+
}
|
|
25
|
+
}
|
package/contract-fixtures/portable-contracts/coverage/sandbox-stream-close-request.fixture.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"caseId": "coverage-sandbox-stream-close-request",
|
|
3
|
+
"schemaId": "sandbox.stream.close.request",
|
|
4
|
+
"tags": [
|
|
5
|
+
"accepted",
|
|
6
|
+
"coverage"
|
|
7
|
+
],
|
|
8
|
+
"input": {
|
|
9
|
+
"stream": {
|
|
10
|
+
"channel": "stdout",
|
|
11
|
+
"handleId": "stream-output",
|
|
12
|
+
"kind": "stream",
|
|
13
|
+
"owningGeneration": "generation-a"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"expectation": {
|
|
17
|
+
"kind": "accepted",
|
|
18
|
+
"normalized": {
|
|
19
|
+
"stream": {
|
|
20
|
+
"channel": "stdout",
|
|
21
|
+
"handleId": "stream-output",
|
|
22
|
+
"kind": "stream",
|
|
23
|
+
"owningGeneration": "generation-a"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"canonicalJson": "{\"stream\":{\"channel\":\"stdout\",\"handleId\":\"stream-output\",\"kind\":\"stream\",\"owningGeneration\":\"generation-a\"}}",
|
|
27
|
+
"refinementIdentities": []
|
|
28
|
+
}
|
|
29
|
+
}
|
package/contract-fixtures/portable-contracts/coverage/sandbox-stream-close-result.fixture.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"caseId": "coverage-sandbox-stream-close-result",
|
|
3
|
+
"schemaId": "sandbox.stream.close.result",
|
|
4
|
+
"tags": [
|
|
5
|
+
"accepted",
|
|
6
|
+
"coverage"
|
|
7
|
+
],
|
|
8
|
+
"input": {
|
|
9
|
+
"kind": "closed",
|
|
10
|
+
"stream": {
|
|
11
|
+
"channel": "stdout",
|
|
12
|
+
"handleId": "stream-output",
|
|
13
|
+
"kind": "stream",
|
|
14
|
+
"owningGeneration": "generation-a"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"expectation": {
|
|
18
|
+
"kind": "accepted",
|
|
19
|
+
"normalized": {
|
|
20
|
+
"kind": "closed",
|
|
21
|
+
"stream": {
|
|
22
|
+
"channel": "stdout",
|
|
23
|
+
"handleId": "stream-output",
|
|
24
|
+
"kind": "stream",
|
|
25
|
+
"owningGeneration": "generation-a"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"canonicalJson": "{\"kind\":\"closed\",\"stream\":{\"channel\":\"stdout\",\"handleId\":\"stream-output\",\"kind\":\"stream\",\"owningGeneration\":\"generation-a\"}}",
|
|
29
|
+
"refinementIdentities": []
|
|
30
|
+
}
|
|
31
|
+
}
|
package/contract-fixtures/portable-contracts/coverage/sandbox-stream-read-request.fixture.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"caseId": "coverage-sandbox-stream-read-request",
|
|
3
|
+
"schemaId": "sandbox.stream.read.request",
|
|
4
|
+
"tags": [
|
|
5
|
+
"accepted",
|
|
6
|
+
"coverage"
|
|
7
|
+
],
|
|
8
|
+
"input": {
|
|
9
|
+
"maxBytes": 1,
|
|
10
|
+
"stream": {
|
|
11
|
+
"channel": "stdout",
|
|
12
|
+
"handleId": "stream-output",
|
|
13
|
+
"kind": "stream",
|
|
14
|
+
"owningGeneration": "generation-a"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"expectation": {
|
|
18
|
+
"kind": "accepted",
|
|
19
|
+
"normalized": {
|
|
20
|
+
"maxBytes": 1,
|
|
21
|
+
"stream": {
|
|
22
|
+
"channel": "stdout",
|
|
23
|
+
"handleId": "stream-output",
|
|
24
|
+
"kind": "stream",
|
|
25
|
+
"owningGeneration": "generation-a"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"canonicalJson": "{\"maxBytes\":1,\"stream\":{\"channel\":\"stdout\",\"handleId\":\"stream-output\",\"kind\":\"stream\",\"owningGeneration\":\"generation-a\"}}",
|
|
29
|
+
"refinementIdentities": [
|
|
30
|
+
"sandbox.binary-chunk.byte-length"
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"caseId": "coverage-sandbox-stream-read-result",
|
|
3
|
+
"schemaId": "sandbox.stream.read.result",
|
|
4
|
+
"tags": [
|
|
5
|
+
"accepted",
|
|
6
|
+
"coverage"
|
|
7
|
+
],
|
|
8
|
+
"input": {
|
|
9
|
+
"chunk": {
|
|
10
|
+
"byteLength": 0,
|
|
11
|
+
"contentBase64": "",
|
|
12
|
+
"encoding": "base64"
|
|
13
|
+
},
|
|
14
|
+
"eof": true,
|
|
15
|
+
"kind": "read",
|
|
16
|
+
"sequence": 0,
|
|
17
|
+
"stream": {
|
|
18
|
+
"channel": "stdout",
|
|
19
|
+
"handleId": "stream-output",
|
|
20
|
+
"kind": "stream",
|
|
21
|
+
"owningGeneration": "generation-a"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"expectation": {
|
|
25
|
+
"kind": "accepted",
|
|
26
|
+
"normalized": {
|
|
27
|
+
"chunk": {
|
|
28
|
+
"byteLength": 0,
|
|
29
|
+
"contentBase64": "",
|
|
30
|
+
"encoding": "base64"
|
|
31
|
+
},
|
|
32
|
+
"eof": true,
|
|
33
|
+
"kind": "read",
|
|
34
|
+
"sequence": 0,
|
|
35
|
+
"stream": {
|
|
36
|
+
"channel": "stdout",
|
|
37
|
+
"handleId": "stream-output",
|
|
38
|
+
"kind": "stream",
|
|
39
|
+
"owningGeneration": "generation-a"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"canonicalJson": "{\"chunk\":{\"byteLength\":0,\"contentBase64\":\"\",\"encoding\":\"base64\"},\"eof\":true,\"kind\":\"read\",\"sequence\":0,\"stream\":{\"channel\":\"stdout\",\"handleId\":\"stream-output\",\"kind\":\"stream\",\"owningGeneration\":\"generation-a\"}}",
|
|
43
|
+
"refinementIdentities": [
|
|
44
|
+
"sandbox.binary-chunk.byte-length"
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
}
|
package/contract-fixtures/portable-contracts/coverage/sandbox-stream-write-request.fixture.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"caseId": "coverage-sandbox-stream-write-request",
|
|
3
|
+
"schemaId": "sandbox.stream.write.request",
|
|
4
|
+
"tags": [
|
|
5
|
+
"accepted",
|
|
6
|
+
"coverage"
|
|
7
|
+
],
|
|
8
|
+
"input": {
|
|
9
|
+
"content": {
|
|
10
|
+
"byteLength": 0,
|
|
11
|
+
"contentBase64": "",
|
|
12
|
+
"encoding": "base64"
|
|
13
|
+
},
|
|
14
|
+
"contentDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000000",
|
|
15
|
+
"sequence": 0,
|
|
16
|
+
"stream": {
|
|
17
|
+
"channel": "stdin",
|
|
18
|
+
"handleId": "stream-input",
|
|
19
|
+
"kind": "stream",
|
|
20
|
+
"owningGeneration": "generation-a"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"expectation": {
|
|
24
|
+
"kind": "accepted",
|
|
25
|
+
"normalized": {
|
|
26
|
+
"content": {
|
|
27
|
+
"byteLength": 0,
|
|
28
|
+
"contentBase64": "",
|
|
29
|
+
"encoding": "base64"
|
|
30
|
+
},
|
|
31
|
+
"contentDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000000",
|
|
32
|
+
"sequence": 0,
|
|
33
|
+
"stream": {
|
|
34
|
+
"channel": "stdin",
|
|
35
|
+
"handleId": "stream-input",
|
|
36
|
+
"kind": "stream",
|
|
37
|
+
"owningGeneration": "generation-a"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"canonicalJson": "{\"content\":{\"byteLength\":0,\"contentBase64\":\"\",\"encoding\":\"base64\"},\"contentDigest\":\"sha256:0000000000000000000000000000000000000000000000000000000000000000\",\"sequence\":0,\"stream\":{\"channel\":\"stdin\",\"handleId\":\"stream-input\",\"kind\":\"stream\",\"owningGeneration\":\"generation-a\"}}",
|
|
41
|
+
"refinementIdentities": [
|
|
42
|
+
"sandbox.binary-chunk.byte-length"
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
}
|
package/contract-fixtures/portable-contracts/coverage/sandbox-stream-write-result.fixture.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"caseId": "coverage-sandbox-stream-write-result",
|
|
3
|
+
"schemaId": "sandbox.stream.write.result",
|
|
4
|
+
"tags": [
|
|
5
|
+
"accepted",
|
|
6
|
+
"coverage"
|
|
7
|
+
],
|
|
8
|
+
"input": {
|
|
9
|
+
"bytesWritten": 0,
|
|
10
|
+
"kind": "written",
|
|
11
|
+
"sequence": 0,
|
|
12
|
+
"stream": {
|
|
13
|
+
"channel": "stdin",
|
|
14
|
+
"handleId": "stream-input",
|
|
15
|
+
"kind": "stream",
|
|
16
|
+
"owningGeneration": "generation-a"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"expectation": {
|
|
20
|
+
"kind": "accepted",
|
|
21
|
+
"normalized": {
|
|
22
|
+
"bytesWritten": 0,
|
|
23
|
+
"kind": "written",
|
|
24
|
+
"sequence": 0,
|
|
25
|
+
"stream": {
|
|
26
|
+
"channel": "stdin",
|
|
27
|
+
"handleId": "stream-input",
|
|
28
|
+
"kind": "stream",
|
|
29
|
+
"owningGeneration": "generation-a"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"canonicalJson": "{\"bytesWritten\":0,\"kind\":\"written\",\"sequence\":0,\"stream\":{\"channel\":\"stdin\",\"handleId\":\"stream-input\",\"kind\":\"stream\",\"owningGeneration\":\"generation-a\"}}",
|
|
33
|
+
"refinementIdentities": [
|
|
34
|
+
"sandbox.binary-chunk.byte-length"
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
}
|
package/contract-fixtures/portable-contracts/coverage/sandbox-terminal-attach-request.fixture.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"caseId": "coverage-sandbox-terminal-attach-request",
|
|
3
|
+
"schemaId": "sandbox.terminal.attach.request",
|
|
4
|
+
"tags": [
|
|
5
|
+
"accepted",
|
|
6
|
+
"coverage"
|
|
7
|
+
],
|
|
8
|
+
"input": {
|
|
9
|
+
"operation": {
|
|
10
|
+
"operationId": "operation-a",
|
|
11
|
+
"owningGeneration": "generation-a"
|
|
12
|
+
},
|
|
13
|
+
"size": {
|
|
14
|
+
"columns": 80,
|
|
15
|
+
"rows": 24
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"expectation": {
|
|
19
|
+
"kind": "accepted",
|
|
20
|
+
"normalized": {
|
|
21
|
+
"operation": {
|
|
22
|
+
"operationId": "operation-a",
|
|
23
|
+
"owningGeneration": "generation-a"
|
|
24
|
+
},
|
|
25
|
+
"size": {
|
|
26
|
+
"columns": 80,
|
|
27
|
+
"rows": 24
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"canonicalJson": "{\"operation\":{\"operationId\":\"operation-a\",\"owningGeneration\":\"generation-a\"},\"size\":{\"columns\":80,\"rows\":24}}",
|
|
31
|
+
"refinementIdentities": []
|
|
32
|
+
}
|
|
33
|
+
}
|
package/contract-fixtures/portable-contracts/coverage/sandbox-terminal-attach-result.fixture.json
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"caseId": "coverage-sandbox-terminal-attach-result",
|
|
3
|
+
"schemaId": "sandbox.terminal.attach.result",
|
|
4
|
+
"tags": [
|
|
5
|
+
"accepted",
|
|
6
|
+
"coverage"
|
|
7
|
+
],
|
|
8
|
+
"input": {
|
|
9
|
+
"input": {
|
|
10
|
+
"channel": "stdin",
|
|
11
|
+
"handleId": "stream-input",
|
|
12
|
+
"kind": "stream",
|
|
13
|
+
"owningGeneration": "generation-a"
|
|
14
|
+
},
|
|
15
|
+
"kind": "attached",
|
|
16
|
+
"output": {
|
|
17
|
+
"channel": "pty",
|
|
18
|
+
"handleId": "stream-pty",
|
|
19
|
+
"kind": "stream",
|
|
20
|
+
"owningGeneration": "generation-a"
|
|
21
|
+
},
|
|
22
|
+
"terminal": {
|
|
23
|
+
"handleId": "terminal-a",
|
|
24
|
+
"kind": "terminal",
|
|
25
|
+
"owningGeneration": "generation-a"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"expectation": {
|
|
29
|
+
"kind": "accepted",
|
|
30
|
+
"normalized": {
|
|
31
|
+
"input": {
|
|
32
|
+
"channel": "stdin",
|
|
33
|
+
"handleId": "stream-input",
|
|
34
|
+
"kind": "stream",
|
|
35
|
+
"owningGeneration": "generation-a"
|
|
36
|
+
},
|
|
37
|
+
"kind": "attached",
|
|
38
|
+
"output": {
|
|
39
|
+
"channel": "pty",
|
|
40
|
+
"handleId": "stream-pty",
|
|
41
|
+
"kind": "stream",
|
|
42
|
+
"owningGeneration": "generation-a"
|
|
43
|
+
},
|
|
44
|
+
"terminal": {
|
|
45
|
+
"handleId": "terminal-a",
|
|
46
|
+
"kind": "terminal",
|
|
47
|
+
"owningGeneration": "generation-a"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"canonicalJson": "{\"input\":{\"channel\":\"stdin\",\"handleId\":\"stream-input\",\"kind\":\"stream\",\"owningGeneration\":\"generation-a\"},\"kind\":\"attached\",\"output\":{\"channel\":\"pty\",\"handleId\":\"stream-pty\",\"kind\":\"stream\",\"owningGeneration\":\"generation-a\"},\"terminal\":{\"handleId\":\"terminal-a\",\"kind\":\"terminal\",\"owningGeneration\":\"generation-a\"}}",
|
|
51
|
+
"refinementIdentities": []
|
|
52
|
+
}
|
|
53
|
+
}
|
package/contract-fixtures/portable-contracts/coverage/sandbox-terminal-resize-request.fixture.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"caseId": "coverage-sandbox-terminal-resize-request",
|
|
3
|
+
"schemaId": "sandbox.terminal.resize.request",
|
|
4
|
+
"tags": [
|
|
5
|
+
"accepted",
|
|
6
|
+
"coverage"
|
|
7
|
+
],
|
|
8
|
+
"input": {
|
|
9
|
+
"size": {
|
|
10
|
+
"columns": 80,
|
|
11
|
+
"rows": 24
|
|
12
|
+
},
|
|
13
|
+
"terminal": {
|
|
14
|
+
"handleId": "terminal-a",
|
|
15
|
+
"kind": "terminal",
|
|
16
|
+
"owningGeneration": "generation-a"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"expectation": {
|
|
20
|
+
"kind": "accepted",
|
|
21
|
+
"normalized": {
|
|
22
|
+
"size": {
|
|
23
|
+
"columns": 80,
|
|
24
|
+
"rows": 24
|
|
25
|
+
},
|
|
26
|
+
"terminal": {
|
|
27
|
+
"handleId": "terminal-a",
|
|
28
|
+
"kind": "terminal",
|
|
29
|
+
"owningGeneration": "generation-a"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"canonicalJson": "{\"size\":{\"columns\":80,\"rows\":24},\"terminal\":{\"handleId\":\"terminal-a\",\"kind\":\"terminal\",\"owningGeneration\":\"generation-a\"}}",
|
|
33
|
+
"refinementIdentities": []
|
|
34
|
+
}
|
|
35
|
+
}
|
package/contract-fixtures/portable-contracts/coverage/sandbox-terminal-resize-result.fixture.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"caseId": "coverage-sandbox-terminal-resize-result",
|
|
3
|
+
"schemaId": "sandbox.terminal.resize.result",
|
|
4
|
+
"tags": [
|
|
5
|
+
"accepted",
|
|
6
|
+
"coverage"
|
|
7
|
+
],
|
|
8
|
+
"input": {
|
|
9
|
+
"kind": "resized",
|
|
10
|
+
"size": {
|
|
11
|
+
"columns": 80,
|
|
12
|
+
"rows": 24
|
|
13
|
+
},
|
|
14
|
+
"terminal": {
|
|
15
|
+
"handleId": "terminal-a",
|
|
16
|
+
"kind": "terminal",
|
|
17
|
+
"owningGeneration": "generation-a"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"expectation": {
|
|
21
|
+
"kind": "accepted",
|
|
22
|
+
"normalized": {
|
|
23
|
+
"kind": "resized",
|
|
24
|
+
"size": {
|
|
25
|
+
"columns": 80,
|
|
26
|
+
"rows": 24
|
|
27
|
+
},
|
|
28
|
+
"terminal": {
|
|
29
|
+
"handleId": "terminal-a",
|
|
30
|
+
"kind": "terminal",
|
|
31
|
+
"owningGeneration": "generation-a"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"canonicalJson": "{\"kind\":\"resized\",\"size\":{\"columns\":80,\"rows\":24},\"terminal\":{\"handleId\":\"terminal-a\",\"kind\":\"terminal\",\"owningGeneration\":\"generation-a\"}}",
|
|
35
|
+
"refinementIdentities": []
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"caseId": "describe-request-defaults",
|
|
3
|
+
"schemaId": "portal.describe.request",
|
|
4
|
+
"tags": ["accepted", "default", "request"],
|
|
5
|
+
"input": {
|
|
6
|
+
"requests": [
|
|
7
|
+
{
|
|
8
|
+
"id": "describe-1",
|
|
9
|
+
"tools": [
|
|
10
|
+
{
|
|
11
|
+
"name": "get_issue",
|
|
12
|
+
"namespace": "github"
|
|
13
|
+
}
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"expectation": {
|
|
19
|
+
"kind": "accepted",
|
|
20
|
+
"normalized": {
|
|
21
|
+
"requests": [
|
|
22
|
+
{
|
|
23
|
+
"id": "describe-1",
|
|
24
|
+
"includeJsonSchema": true,
|
|
25
|
+
"includeRelated": true,
|
|
26
|
+
"includeTypescriptHelper": false,
|
|
27
|
+
"includeZod": false,
|
|
28
|
+
"tools": [
|
|
29
|
+
{
|
|
30
|
+
"name": "get_issue",
|
|
31
|
+
"namespace": "github"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
},
|
|
37
|
+
"canonicalJson": "{\"requests\":[{\"id\":\"describe-1\",\"includeJsonSchema\":true,\"includeRelated\":true,\"includeTypescriptHelper\":false,\"includeZod\":false,\"tools\":[{\"name\":\"get_issue\",\"namespace\":\"github\"}]}]}",
|
|
38
|
+
"refinementIdentities": [
|
|
39
|
+
"portal.batch.unique-item-ids",
|
|
40
|
+
"portal.describe.default-includes",
|
|
41
|
+
"portal.request-id.not-reserved"
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"caseId": "list-request-default-limit",
|
|
3
|
+
"schemaId": "portal.list.request",
|
|
4
|
+
"tags": ["accepted", "default", "request"],
|
|
5
|
+
"input": {
|
|
6
|
+
"requests": [
|
|
7
|
+
{
|
|
8
|
+
"id": "list-1"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
"expectation": {
|
|
13
|
+
"kind": "accepted",
|
|
14
|
+
"normalized": {
|
|
15
|
+
"requests": [
|
|
16
|
+
{
|
|
17
|
+
"id": "list-1",
|
|
18
|
+
"limit": 20
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"canonicalJson": "{\"requests\":[{\"id\":\"list-1\",\"limit\":20}]}",
|
|
23
|
+
"refinementIdentities": [
|
|
24
|
+
"portal.batch.unique-item-ids",
|
|
25
|
+
"portal.list.default-limit",
|
|
26
|
+
"portal.request-id.not-reserved"
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"caseId": "search-request-defaults",
|
|
3
|
+
"schemaId": "portal.search.request",
|
|
4
|
+
"tags": ["accepted", "default", "request"],
|
|
5
|
+
"input": {
|
|
6
|
+
"requests": [
|
|
7
|
+
{
|
|
8
|
+
"id": "search-1",
|
|
9
|
+
"query": "issue"
|
|
10
|
+
}
|
|
11
|
+
]
|
|
12
|
+
},
|
|
13
|
+
"expectation": {
|
|
14
|
+
"kind": "accepted",
|
|
15
|
+
"normalized": {
|
|
16
|
+
"requests": [
|
|
17
|
+
{
|
|
18
|
+
"id": "search-1",
|
|
19
|
+
"limit": 10,
|
|
20
|
+
"query": "issue",
|
|
21
|
+
"schemaDetail": "summary"
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
"canonicalJson": "{\"requests\":[{\"id\":\"search-1\",\"limit\":10,\"query\":\"issue\",\"schemaDetail\":\"summary\"}]}",
|
|
26
|
+
"refinementIdentities": [
|
|
27
|
+
"portal.batch.unique-item-ids",
|
|
28
|
+
"portal.request-id.not-reserved",
|
|
29
|
+
"portal.search.default-limit",
|
|
30
|
+
"portal.search.default-schema-detail"
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"caseId": "portal-describe-result-valid",
|
|
3
|
+
"schemaId": "portal.describe.result",
|
|
4
|
+
"tags": ["accepted", "discovery", "result"],
|
|
5
|
+
"input": {
|
|
6
|
+
"items": [{ "id": "describe-1", "status": "ok", "value": { "tools": [] } }],
|
|
7
|
+
"ok": true
|
|
8
|
+
},
|
|
9
|
+
"expectation": {
|
|
10
|
+
"kind": "accepted",
|
|
11
|
+
"normalized": {
|
|
12
|
+
"items": [{ "id": "describe-1", "status": "ok", "value": { "tools": [] } }],
|
|
13
|
+
"ok": true
|
|
14
|
+
},
|
|
15
|
+
"canonicalJson": "{\"items\":[{\"id\":\"describe-1\",\"status\":\"ok\",\"value\":{\"tools\":[]}}],\"ok\":true}",
|
|
16
|
+
"refinementIdentities": ["portal.request-id.not-reserved", "portal.result.aggregate-status"]
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"caseId": "portal-list-result-valid",
|
|
3
|
+
"schemaId": "portal.list.result",
|
|
4
|
+
"tags": ["accepted", "discovery", "result"],
|
|
5
|
+
"input": {
|
|
6
|
+
"items": [{ "id": "list-1", "status": "ok", "value": { "namespaces": [], "tools": [] } }],
|
|
7
|
+
"ok": true
|
|
8
|
+
},
|
|
9
|
+
"expectation": {
|
|
10
|
+
"kind": "accepted",
|
|
11
|
+
"normalized": {
|
|
12
|
+
"items": [{ "id": "list-1", "status": "ok", "value": { "namespaces": [], "tools": [] } }],
|
|
13
|
+
"ok": true
|
|
14
|
+
},
|
|
15
|
+
"canonicalJson": "{\"items\":[{\"id\":\"list-1\",\"status\":\"ok\",\"value\":{\"namespaces\":[],\"tools\":[]}}],\"ok\":true}",
|
|
16
|
+
"refinementIdentities": ["portal.request-id.not-reserved", "portal.result.aggregate-status"]
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"caseId": "portal-search-result-valid",
|
|
3
|
+
"schemaId": "portal.search.result",
|
|
4
|
+
"tags": ["accepted", "discovery", "result"],
|
|
5
|
+
"input": {
|
|
6
|
+
"items": [{ "id": "search-1", "status": "ok", "value": { "tools": [] } }],
|
|
7
|
+
"ok": true
|
|
8
|
+
},
|
|
9
|
+
"expectation": {
|
|
10
|
+
"kind": "accepted",
|
|
11
|
+
"normalized": {
|
|
12
|
+
"items": [{ "id": "search-1", "status": "ok", "value": { "tools": [] } }],
|
|
13
|
+
"ok": true
|
|
14
|
+
},
|
|
15
|
+
"canonicalJson": "{\"items\":[{\"id\":\"search-1\",\"status\":\"ok\",\"value\":{\"tools\":[]}}],\"ok\":true}",
|
|
16
|
+
"refinementIdentities": ["portal.request-id.not-reserved", "portal.result.aggregate-status"]
|
|
17
|
+
}
|
|
18
|
+
}
|