@stryke/capnp 0.12.95 → 0.12.97
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/bin/capnpc.cjs +418 -316
- package/bin/capnpc.d.cts +909 -4
- package/bin/capnpc.d.cts.map +1 -1
- package/bin/capnpc.d.mts +909 -4
- package/bin/capnpc.d.mts.map +1 -1
- package/bin/capnpc.mjs +381 -280
- package/bin/capnpc.mjs.map +1 -1
- package/dist/capnp-es.BHkXHvyK-B3-d8RNu.d.mts +2991 -0
- package/dist/capnp-es.BHkXHvyK-B3-d8RNu.d.mts.map +1 -0
- package/dist/capnp-es.BHkXHvyK-CQWXOqvU.d.cts +2991 -0
- package/dist/capnp-es.BHkXHvyK-CQWXOqvU.d.cts.map +1 -0
- package/dist/{capnp-es.GpvEvMIK-C4q8I6qy.mjs → capnp-es.GpvEvMIK-CH8kq1KS.mjs} +13 -6
- package/dist/{capnp-es.GpvEvMIK-C4q8I6qy.mjs.map → capnp-es.GpvEvMIK-CH8kq1KS.mjs.map} +1 -1
- package/dist/{capnp-es.GpvEvMIK-BcYm5JyH.cjs → capnp-es.GpvEvMIK-CZ5ZimCD.cjs} +12 -5
- package/dist/{compile-ySRLGi2G.mjs → compile-D_BOc0dD.mjs} +109 -15
- package/dist/compile-D_BOc0dD.mjs.map +1 -0
- package/dist/{compile-DgmKft8T.cjs → compile-Yq1zhccM.cjs} +113 -19
- package/dist/compile.cjs +2 -2
- package/dist/compile.d.cts +38 -3
- package/dist/compile.d.cts.map +1 -0
- package/dist/compile.d.mts +38 -3
- package/dist/compile.d.mts.map +1 -0
- package/dist/compile.mjs +1 -2
- package/dist/{dist-BlvFBzSi.mjs → dist-DQ7xmzRT.mjs} +385 -16
- package/dist/dist-DQ7xmzRT.mjs.map +1 -0
- package/dist/{dist-YywzZL3Q.cjs → dist-VMGxvENY.cjs} +381 -12
- package/dist/{helpers-B1zJTrkG.mjs → helpers-2TldkyGG.mjs} +149 -149
- package/dist/helpers-2TldkyGG.mjs.map +1 -0
- package/dist/{helpers-B7aznH9v.cjs → helpers-Dn4nWOb7.cjs} +177 -177
- package/dist/helpers.cjs +2 -1
- package/dist/helpers.d.cts +1 -2
- package/dist/helpers.d.cts.map +1 -1
- package/dist/helpers.d.mts +1 -2
- package/dist/helpers.d.mts.map +1 -1
- package/dist/helpers.mjs +1 -1
- package/dist/index-63Za7yNc.d.cts +736 -0
- package/dist/index-63Za7yNc.d.cts.map +1 -0
- package/dist/index-LYXu6eWz.d.mts +736 -0
- package/dist/index-LYXu6eWz.d.mts.map +1 -0
- package/dist/index.cjs +5 -5
- package/dist/index.d.cts +5 -4
- package/dist/index.d.mts +5 -4
- package/dist/index.mjs +4 -5
- package/dist/rpc-helpers.cjs +4 -3
- package/dist/rpc-helpers.d.cts +3 -4
- package/dist/rpc-helpers.d.cts.map +1 -1
- package/dist/rpc-helpers.d.mts +3 -4
- package/dist/rpc-helpers.d.mts.map +1 -1
- package/dist/rpc-helpers.mjs +2 -2
- package/dist/types-BjCOVfgj.d.cts +1506 -0
- package/dist/types-BjCOVfgj.d.cts.map +1 -0
- package/dist/types-CVzMn-TI.d.mts +1506 -0
- package/dist/types-CVzMn-TI.d.mts.map +1 -0
- package/dist/types.cjs +8 -2
- package/dist/types.d.cts +1 -1
- package/dist/types.d.mts +1 -1
- package/dist/types.mjs +7 -2
- package/dist/types.mjs.map +1 -0
- package/package.json +8 -8
- package/schemas/cpp.cjs +1 -0
- package/schemas/cpp.d.cts.map +1 -1
- package/schemas/cpp.d.mts.map +1 -1
- package/schemas/index-BB47pUzp.d.cts +742 -0
- package/schemas/index-BB47pUzp.d.cts.map +1 -0
- package/schemas/index-DprjZUdT.d.mts +742 -0
- package/schemas/index-DprjZUdT.d.mts.map +1 -0
- package/schemas/persistent.cjs +2 -1
- package/schemas/persistent.d.cts +48 -21
- package/schemas/persistent.d.cts.map +1 -1
- package/schemas/persistent.d.mts +48 -21
- package/schemas/persistent.d.mts.map +1 -1
- package/schemas/persistent.mjs +1 -1
- package/schemas/persistent.mjs.map +1 -1
- package/schemas/rpc-twoparty.cjs +20 -1
- package/schemas/rpc-twoparty.d.cts +17 -17
- package/schemas/rpc-twoparty.d.cts.map +1 -1
- package/schemas/rpc-twoparty.d.mts +17 -17
- package/schemas/rpc-twoparty.d.mts.map +1 -1
- package/schemas/rpc-twoparty.mjs +19 -1
- package/schemas/rpc-twoparty.mjs.map +1 -1
- package/schemas/rpc.cjs +371 -1
- package/schemas/rpc.d.cts +141 -141
- package/schemas/rpc.d.cts.map +1 -1
- package/schemas/rpc.d.mts +141 -141
- package/schemas/rpc.d.mts.map +1 -1
- package/schemas/rpc.mjs +370 -1
- package/schemas/rpc.mjs.map +1 -1
- package/schemas/schema.cjs +96 -1
- package/schemas/schema.d.cts +286 -228
- package/schemas/schema.d.cts.map +1 -1
- package/schemas/schema.d.mts +286 -228
- package/schemas/schema.d.mts.map +1 -1
- package/schemas/schema.mjs +95 -1
- package/schemas/schema.mjs.map +1 -1
- package/schemas/{src-2eLj6yCr.cjs → src-B6FhDNiV.cjs} +19 -12
- package/schemas/{src-s2pCu2mc.mjs → src-B97sIXSw.mjs} +19 -13
- package/schemas/src-B97sIXSw.mjs.map +1 -0
- package/schemas/ts.cjs +1 -0
- package/schemas/ts.d.cts.map +1 -1
- package/schemas/ts.d.mts.map +1 -1
- package/dist/compile-DccxA7WZ.d.cts +0 -40
- package/dist/compile-DccxA7WZ.d.cts.map +0 -1
- package/dist/compile-UkKIpqrK.d.mts +0 -40
- package/dist/compile-UkKIpqrK.d.mts.map +0 -1
- package/dist/compile-ySRLGi2G.mjs.map +0 -1
- package/dist/dist-BlvFBzSi.mjs.map +0 -1
- package/dist/helpers-B1zJTrkG.mjs.map +0 -1
- package/dist/types-Cuj2daUE.mjs +0 -8
- package/dist/types-Cuj2daUE.mjs.map +0 -1
- package/dist/types-D03SjfBL.d.mts +0 -55
- package/dist/types-D03SjfBL.d.mts.map +0 -1
- package/dist/types-D52qMMoK.d.cts +0 -55
- package/dist/types-D52qMMoK.d.cts.map +0 -1
- package/dist/types-DHrjS-69.cjs +0 -13
- package/schemas/index-BAJMwFip.d.mts +0 -96
- package/schemas/index-BAJMwFip.d.mts.map +0 -1
- package/schemas/index-b7dam4EA.d.cts +0 -96
- package/schemas/index-b7dam4EA.d.cts.map +0 -1
- package/schemas/src-s2pCu2mc.mjs.map +0 -1
package/schemas/rpc.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rpc.d.mts","names":[],"sources":["../../schemas/rpc.ts"],"sourcesContent":[],"mappings":";;;cAKa;cACA;EADA;AACb;AA8FA;AAKA;;;;;;;;;;;;;;;;EAkGkC,SAAA,aAAA,EAAA,CAAA;EAAT;;;;;;;;;EAiCR,SAAA,KAAE,EAAA,CAAA;EAOL;;;;EAkBQ,SAAA,SAAE,EAAA,CAAA;EAII;;;;EAqBR,SAAA,IAAA,EAAA,CAAA;EAIW;;;;EAWf,SAAA,MAAA,EAAA,CAAA;EAOC;;;;EAeY,SAAA,MAAA,EAAA,CAAA;EAAT;;;;EAyBY,SAAA,OAAA,EAAA,CAAA;EAAT;;;;EAkBL,SAAA,OAAA,EAAA,CAAA;EAOG;;;;EAQE,SAAA,UAAE,EAAA,EAAA;EAOL;;;;;;EAsBK,SAAA,aAAE,EAAA,CAAA;EASL;;;;EAkBc,SAAA,eAAE,EAAA,CAAA;EAAX;;;;EAqBJ,SAAA,OAAE,EAAA,EAAA;EAII;;;;EAqBR,SAAA,MAAA,EAAA,EAAA;EAIU;;;;EAWf,SAAA,IAAA,EAAA,EAAA;CAOC;AAOG,KA5ZR,aAAA,GA4ZQ,CAAA,OA5ZgB,aA4ZhB,CAAA,CAAA,MAAA,OA5Z4C,aA4Z5C,CAAA;;;;;AAeN,cAtaD,OAAA,SAAgB,eAAA,CAAE,MAAA,CAsajB;EAOC,gBAAA,aAAA,EAAA,CAAA;EAOG,gBAAA,KAAA,EAAA,CAAA;EAKP,gBAAA,S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,CAAmB,KAAA;;;;;;;MASnB,KAAA,CAAA;EAAA,IAGA,KAAA,CAAM,KAAA;EAGM,QAAA,CAAA;AAAA"}
|
package/schemas/rpc.mjs
CHANGED
|
@@ -1,21 +1,99 @@
|
|
|
1
|
-
import { d as Struct, l as getUint8Mask, o as CompositeList, s as getBitMask, t as utils, u as ObjectSize } from "./src-
|
|
1
|
+
import { d as Struct, l as getUint8Mask, o as CompositeList, s as getBitMask, t as utils, u as ObjectSize } from "./src-B97sIXSw.mjs";
|
|
2
2
|
|
|
3
3
|
//#region schemas/rpc.ts
|
|
4
4
|
const _capnpFileId = BigInt("0xb312981b2552a250");
|
|
5
5
|
const Message_Which = {
|
|
6
|
+
/**
|
|
7
|
+
* The sender previously received this message from the peer but didn't understand it or doesn't
|
|
8
|
+
* yet implement the functionality that was requested. So, the sender is echoing the message
|
|
9
|
+
* back. In some cases, the receiver may be able to recover from this by pretending the sender
|
|
10
|
+
* had taken some appropriate "null" action.
|
|
11
|
+
*
|
|
12
|
+
* For example, say `resolve` is received by a level 0 implementation (because a previous call
|
|
13
|
+
* or return happened to contain a promise). The level 0 implementation will echo it back as
|
|
14
|
+
* `unimplemented`. The original sender can then simply release the cap to which the promise
|
|
15
|
+
* had resolved, thus avoiding a leak.
|
|
16
|
+
*
|
|
17
|
+
* For any message type that introduces a question, if the message comes back unimplemented,
|
|
18
|
+
* the original sender may simply treat it as if the question failed with an exception.
|
|
19
|
+
*
|
|
20
|
+
* In cases where there is no sensible way to react to an `unimplemented` message (without
|
|
21
|
+
* resource leaks or other serious problems), the connection may need to be aborted. This is
|
|
22
|
+
* a gray area; different implementations may take different approaches.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
6
25
|
UNIMPLEMENTED: 0,
|
|
26
|
+
/**
|
|
27
|
+
* Sent when a connection is being aborted due to an unrecoverable error. This could be e.g.
|
|
28
|
+
* because the sender received an invalid or nonsensical message or because the sender had an
|
|
29
|
+
* internal error. The sender will shut down the outgoing half of the connection after `abort`
|
|
30
|
+
* and will completely close the connection shortly thereafter (it's up to the sender how much
|
|
31
|
+
* of a time buffer they want to offer for the client to receive the `abort` before the
|
|
32
|
+
* connection is reset).
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
7
35
|
ABORT: 1,
|
|
36
|
+
/**
|
|
37
|
+
* Request the peer's bootstrap interface.
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
8
40
|
BOOTSTRAP: 8,
|
|
41
|
+
/**
|
|
42
|
+
* Begin a method call.
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
9
45
|
CALL: 2,
|
|
46
|
+
/**
|
|
47
|
+
* Complete a method call.
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
10
50
|
RETURN: 3,
|
|
51
|
+
/**
|
|
52
|
+
* Release a returned answer / cancel a call.
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
11
55
|
FINISH: 4,
|
|
56
|
+
/**
|
|
57
|
+
* Resolve a previously-sent promise.
|
|
58
|
+
*
|
|
59
|
+
*/
|
|
12
60
|
RESOLVE: 5,
|
|
61
|
+
/**
|
|
62
|
+
* Release a capability so that the remote object can be deallocated.
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
13
65
|
RELEASE: 6,
|
|
66
|
+
/**
|
|
67
|
+
* Lift an embargo used to enforce E-order over promise resolution.
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
14
70
|
DISEMBARGO: 13,
|
|
71
|
+
/**
|
|
72
|
+
* Obsolete request to save a capability, resulting in a SturdyRef. This has been replaced
|
|
73
|
+
* by the `Persistent` interface defined in `persistent.capnp`. This operation was never
|
|
74
|
+
* implemented.
|
|
75
|
+
*
|
|
76
|
+
*/
|
|
15
77
|
OBSOLETE_SAVE: 7,
|
|
78
|
+
/**
|
|
79
|
+
* Obsolete way to delete a SturdyRef. This operation was never implemented.
|
|
80
|
+
*
|
|
81
|
+
*/
|
|
16
82
|
OBSOLETE_DELETE: 9,
|
|
83
|
+
/**
|
|
84
|
+
* Provide a capability to a third party.
|
|
85
|
+
*
|
|
86
|
+
*/
|
|
17
87
|
PROVIDE: 10,
|
|
88
|
+
/**
|
|
89
|
+
* Accept a capability provided by a third party.
|
|
90
|
+
*
|
|
91
|
+
*/
|
|
18
92
|
ACCEPT: 11,
|
|
93
|
+
/**
|
|
94
|
+
* Directly connect to the common root of two or more proxied caps.
|
|
95
|
+
*
|
|
96
|
+
*/
|
|
19
97
|
JOIN: 12
|
|
20
98
|
};
|
|
21
99
|
/**
|
|
@@ -614,8 +692,65 @@ var Bootstrap = class extends Struct {
|
|
|
614
692
|
}
|
|
615
693
|
};
|
|
616
694
|
const Call_SendResultsTo_Which = {
|
|
695
|
+
/**
|
|
696
|
+
* Send the return message back to the caller (the usual).
|
|
697
|
+
*
|
|
698
|
+
*/
|
|
617
699
|
CALLER: 0,
|
|
700
|
+
/**
|
|
701
|
+
* **(level 1)**
|
|
702
|
+
*
|
|
703
|
+
* Don't actually return the results to the sender. Instead, hold on to them and await
|
|
704
|
+
* instructions from the sender regarding what to do with them. In particular, the sender
|
|
705
|
+
* may subsequently send a `Return` for some other call (which the receiver had previously made
|
|
706
|
+
* to the sender) with `takeFromOtherQuestion` set. The results from this call are then used
|
|
707
|
+
* as the results of the other call.
|
|
708
|
+
*
|
|
709
|
+
* When `yourself` is used, the receiver must still send a `Return` for the call, but sets the
|
|
710
|
+
* field `resultsSentElsewhere` in that `Return` rather than including the results.
|
|
711
|
+
*
|
|
712
|
+
* This feature can be used to implement tail calls in which a call from Vat A to Vat B ends up
|
|
713
|
+
* returning the result of a call from Vat B back to Vat A.
|
|
714
|
+
*
|
|
715
|
+
* In particular, the most common use case for this feature is when Vat A makes a call to a
|
|
716
|
+
* promise in Vat B, and then that promise ends up resolving to a capability back in Vat A.
|
|
717
|
+
* Vat B must forward all the queued calls on that promise back to Vat A, but can set `yourself`
|
|
718
|
+
* in the calls so that the results need not pass back through Vat B.
|
|
719
|
+
*
|
|
720
|
+
* For example:
|
|
721
|
+
* - Alice, in Vat A, calls foo() on Bob in Vat B.
|
|
722
|
+
* - Alice makes a pipelined call bar() on the promise returned by foo().
|
|
723
|
+
* - Later on, Bob resolves the promise from foo() to point at Carol, who lives in Vat A (next
|
|
724
|
+
* to Alice).
|
|
725
|
+
* - Vat B dutifully forwards the bar() call to Carol. Let us call this forwarded call bar'().
|
|
726
|
+
* Notice that bar() and bar'() are travelling in opposite directions on the same network
|
|
727
|
+
* link.
|
|
728
|
+
* - The `Call` for bar'() has `sendResultsTo` set to `yourself`.
|
|
729
|
+
* - Vat B sends a `Return` for bar() with `takeFromOtherQuestion` set in place of the results,
|
|
730
|
+
* with the value set to the question ID of bar'(). Vat B does not wait for bar'() to return,
|
|
731
|
+
* as doing so would introduce unnecessary round trip latency.
|
|
732
|
+
* - Vat A receives bar'() and delivers it to Carol.
|
|
733
|
+
* - When bar'() returns, Vat A sends a `Return` for bar'() to Vat B, with `resultsSentElsewhere`
|
|
734
|
+
* set in place of results.
|
|
735
|
+
* - Vat A sends a `Finish` for the bar() call to Vat B.
|
|
736
|
+
* - Vat B receives the `Finish` for bar() and sends a `Finish` for bar'().
|
|
737
|
+
*
|
|
738
|
+
*/
|
|
618
739
|
YOURSELF: 1,
|
|
740
|
+
/**
|
|
741
|
+
* **(level 3)**
|
|
742
|
+
*
|
|
743
|
+
* The call's result should be returned to a different vat. The receiver (the callee) expects
|
|
744
|
+
* to receive an `Accept` message from the indicated vat, and should return the call's result
|
|
745
|
+
* to it, rather than to the sender of the `Call`.
|
|
746
|
+
*
|
|
747
|
+
* This operates much like `yourself`, above, except that Carol is in a separate Vat C. `Call`
|
|
748
|
+
* messages are sent from Vat A -> Vat B and Vat B -> Vat C. A `Return` message is sent from
|
|
749
|
+
* Vat B -> Vat A that contains `acceptFromThirdParty` in place of results. When Vat A sends
|
|
750
|
+
* an `Accept` to Vat C, it receives back a `Return` containing the call's actual result. Vat C
|
|
751
|
+
* also sends a `Return` to Vat B with `resultsSentElsewhere`.
|
|
752
|
+
*
|
|
753
|
+
*/
|
|
619
754
|
THIRD_PARTY: 2
|
|
620
755
|
};
|
|
621
756
|
/**
|
|
@@ -847,11 +982,54 @@ var Call = class Call extends Struct {
|
|
|
847
982
|
}
|
|
848
983
|
};
|
|
849
984
|
const Return_Which = {
|
|
985
|
+
/**
|
|
986
|
+
* Equal to the QuestionId of the corresponding `Call` message.
|
|
987
|
+
*
|
|
988
|
+
*/
|
|
850
989
|
RESULTS: 0,
|
|
990
|
+
/**
|
|
991
|
+
* If true, all capabilities that were in the params should be considered released. The sender
|
|
992
|
+
* must not send separate `Release` messages for them. Level 0 implementations in particular
|
|
993
|
+
* should always set this true. This defaults true because if level 0 implementations forget to
|
|
994
|
+
* set it they'll never notice (just silently leak caps), but if level >=1 implementations forget
|
|
995
|
+
* to set it to false they'll quickly get errors.
|
|
996
|
+
*
|
|
997
|
+
* The receiver should act as if the sender had sent a release message with count=1 for each
|
|
998
|
+
* CapDescriptor in the original Call message.
|
|
999
|
+
*
|
|
1000
|
+
*/
|
|
851
1001
|
EXCEPTION: 1,
|
|
1002
|
+
/**
|
|
1003
|
+
* The result.
|
|
1004
|
+
*
|
|
1005
|
+
* For regular method calls, `results.content` points to the result struct.
|
|
1006
|
+
*
|
|
1007
|
+
* For a `Return` in response to an `Accept` or `Bootstrap`, `results` contains a single
|
|
1008
|
+
* capability (rather than a struct), and `results.content` is just a capability pointer with
|
|
1009
|
+
* index 0. A `Finish` is still required in this case.
|
|
1010
|
+
*
|
|
1011
|
+
*/
|
|
852
1012
|
CANCELED: 2,
|
|
1013
|
+
/**
|
|
1014
|
+
* Indicates that the call failed and explains why.
|
|
1015
|
+
*
|
|
1016
|
+
*/
|
|
853
1017
|
RESULTS_SENT_ELSEWHERE: 3,
|
|
1018
|
+
/**
|
|
1019
|
+
* Indicates that the call was canceled due to the caller sending a Finish message
|
|
1020
|
+
* before the call had completed.
|
|
1021
|
+
*
|
|
1022
|
+
*/
|
|
854
1023
|
TAKE_FROM_OTHER_QUESTION: 4,
|
|
1024
|
+
/**
|
|
1025
|
+
* This is set when returning from a `Call` that had `sendResultsTo` set to something other
|
|
1026
|
+
* than `caller`.
|
|
1027
|
+
*
|
|
1028
|
+
* It doesn't matter too much when this is sent, as the receiver doesn't need to do anything
|
|
1029
|
+
* with it, but the C++ implementation appears to wait for the call to finish before sending
|
|
1030
|
+
* this.
|
|
1031
|
+
*
|
|
1032
|
+
*/
|
|
855
1033
|
ACCEPT_FROM_THIRD_PARTY: 5
|
|
856
1034
|
};
|
|
857
1035
|
/**
|
|
@@ -1123,7 +1301,43 @@ var Finish = class Finish extends Struct {
|
|
|
1123
1301
|
}
|
|
1124
1302
|
};
|
|
1125
1303
|
const Resolve_Which = {
|
|
1304
|
+
/**
|
|
1305
|
+
* The ID of the promise to be resolved.
|
|
1306
|
+
*
|
|
1307
|
+
* Unlike all other instances of `ExportId` sent from the exporter, the `Resolve` message does
|
|
1308
|
+
* _not_ increase the reference count of `promiseId`. In fact, it is expected that the receiver
|
|
1309
|
+
* will release the export soon after receiving `Resolve`, and the sender will not send this
|
|
1310
|
+
* `ExportId` again until it has been released and recycled.
|
|
1311
|
+
*
|
|
1312
|
+
* When an export ID sent over the wire (e.g. in a `CapDescriptor`) is indicated to be a promise,
|
|
1313
|
+
* this indicates that the sender will follow up at some point with a `Resolve` message. If the
|
|
1314
|
+
* same `promiseId` is sent again before `Resolve`, still only one `Resolve` is sent. If the
|
|
1315
|
+
* same ID is sent again later _after_ a `Resolve`, it can only be because the export's
|
|
1316
|
+
* reference count hit zero in the meantime and the ID was re-assigned to a new export, therefore
|
|
1317
|
+
* this later promise does _not_ correspond to the earlier `Resolve`.
|
|
1318
|
+
*
|
|
1319
|
+
* If a promise ID's reference count reaches zero before a `Resolve` is sent, the `Resolve`
|
|
1320
|
+
* message may or may not still be sent (the `Resolve` may have already been in-flight when
|
|
1321
|
+
* `Release` was sent, but if the `Release` is received before `Resolve` then there is no longer
|
|
1322
|
+
* any reason to send a `Resolve`). Thus a `Resolve` may be received for a promise of which
|
|
1323
|
+
* the receiver has no knowledge, because it already released it earlier. In this case, the
|
|
1324
|
+
* receiver should simply release the capability to which the promise resolved.
|
|
1325
|
+
*
|
|
1326
|
+
*/
|
|
1126
1327
|
CAP: 0,
|
|
1328
|
+
/**
|
|
1329
|
+
* The object to which the promise resolved.
|
|
1330
|
+
*
|
|
1331
|
+
* The sender promises that from this point forth, until `promiseId` is released, it shall
|
|
1332
|
+
* simply forward all messages to the capability designated by `cap`. This is true even if
|
|
1333
|
+
* `cap` itself happens to designate another promise, and that other promise later resolves --
|
|
1334
|
+
* messages sent to `promiseId` shall still go to that other promise, not to its resolution.
|
|
1335
|
+
* This is important in the case that the receiver of the `Resolve` ends up sending a
|
|
1336
|
+
* `Disembargo` message towards `promiseId` in order to control message ordering -- that
|
|
1337
|
+
* `Disembargo` really needs to reflect back to exactly the object designated by `cap` even
|
|
1338
|
+
* if that object is itself a promise.
|
|
1339
|
+
*
|
|
1340
|
+
*/
|
|
1127
1341
|
EXCEPTION: 1
|
|
1128
1342
|
};
|
|
1129
1343
|
/**
|
|
@@ -1295,9 +1509,48 @@ var Release = class extends Struct {
|
|
|
1295
1509
|
}
|
|
1296
1510
|
};
|
|
1297
1511
|
const Disembargo_Context_Which = {
|
|
1512
|
+
/**
|
|
1513
|
+
* The sender is requesting a disembargo on a promise that is known to resolve back to a
|
|
1514
|
+
* capability hosted by the sender. As soon as the receiver has echoed back all pipelined calls
|
|
1515
|
+
* on this promise, it will deliver the Disembargo back to the sender with `receiverLoopback`
|
|
1516
|
+
* set to the same value as `senderLoopback`. This value is chosen by the sender, and since
|
|
1517
|
+
* it is also consumed be the sender, the sender can use whatever strategy it wants to make sure
|
|
1518
|
+
* the value is unambiguous.
|
|
1519
|
+
*
|
|
1520
|
+
* The receiver must verify that the target capability actually resolves back to the sender's
|
|
1521
|
+
* vat. Otherwise, the sender has committed a protocol error and should be disconnected.
|
|
1522
|
+
*
|
|
1523
|
+
*/
|
|
1298
1524
|
SENDER_LOOPBACK: 0,
|
|
1525
|
+
/**
|
|
1526
|
+
* The receiver previously sent a `senderLoopback` Disembargo towards a promise resolving to
|
|
1527
|
+
* this capability, and that Disembargo is now being echoed back.
|
|
1528
|
+
*
|
|
1529
|
+
*/
|
|
1299
1530
|
RECEIVER_LOOPBACK: 1,
|
|
1531
|
+
/**
|
|
1532
|
+
* **(level 3)**
|
|
1533
|
+
*
|
|
1534
|
+
* The sender is requesting a disembargo on a promise that is known to resolve to a third-party
|
|
1535
|
+
* capability that the sender is currently in the process of accepting (using `Accept`).
|
|
1536
|
+
* The receiver of this `Disembargo` has an outstanding `Provide` on said capability. The
|
|
1537
|
+
* receiver should now send a `Disembargo` with `provide` set to the question ID of that
|
|
1538
|
+
* `Provide` message.
|
|
1539
|
+
*
|
|
1540
|
+
* See `Accept.embargo` for an example.
|
|
1541
|
+
*
|
|
1542
|
+
*/
|
|
1300
1543
|
ACCEPT: 2,
|
|
1544
|
+
/**
|
|
1545
|
+
* **(level 3)**
|
|
1546
|
+
*
|
|
1547
|
+
* The sender is requesting a disembargo on a capability currently being provided to a third
|
|
1548
|
+
* party. The question ID identifies the `Provide` message previously sent by the sender to
|
|
1549
|
+
* this capability. On receipt, the receiver (the capability host) shall release the embargo
|
|
1550
|
+
* on the `Accept` message that it has received from the third party. See `Accept.embargo` for
|
|
1551
|
+
* an example.
|
|
1552
|
+
*
|
|
1553
|
+
*/
|
|
1301
1554
|
PROVIDE: 3
|
|
1302
1555
|
};
|
|
1303
1556
|
var Disembargo_Context = class extends Struct {
|
|
@@ -1777,7 +2030,20 @@ var Join = class extends Struct {
|
|
|
1777
2030
|
}
|
|
1778
2031
|
};
|
|
1779
2032
|
const MessageTarget_Which = {
|
|
2033
|
+
/**
|
|
2034
|
+
* This message is to a capability or promise previously imported by the caller (exported by
|
|
2035
|
+
* the receiver).
|
|
2036
|
+
*
|
|
2037
|
+
*/
|
|
1780
2038
|
IMPORTED_CAP: 0,
|
|
2039
|
+
/**
|
|
2040
|
+
* This message is to a capability that is expected to be returned by another call that has not
|
|
2041
|
+
* yet been completed.
|
|
2042
|
+
*
|
|
2043
|
+
* At level 0, this is supported only for addressing the result of a previous `Bootstrap`, so
|
|
2044
|
+
* that initial startup doesn't require a round trip.
|
|
2045
|
+
*
|
|
2046
|
+
*/
|
|
1781
2047
|
PROMISED_ANSWER: 1
|
|
1782
2048
|
};
|
|
1783
2049
|
/**
|
|
@@ -1906,11 +2172,52 @@ var Payload = class Payload extends Struct {
|
|
|
1906
2172
|
}
|
|
1907
2173
|
};
|
|
1908
2174
|
const CapDescriptor_Which = {
|
|
2175
|
+
/**
|
|
2176
|
+
* There is no capability here. This `CapDescriptor` should not appear in the payload content.
|
|
2177
|
+
* A `none` CapDescriptor can be generated when an application inserts a capability into a
|
|
2178
|
+
* message and then later changes its mind and removes it -- rewriting all of the other
|
|
2179
|
+
* capability pointers may be hard, so instead a tombstone is left, similar to the way a removed
|
|
2180
|
+
* struct or list instance is zeroed out of the message but the space is not reclaimed.
|
|
2181
|
+
* Hopefully this is unusual.
|
|
2182
|
+
*
|
|
2183
|
+
*/
|
|
1909
2184
|
NONE: 0,
|
|
2185
|
+
/**
|
|
2186
|
+
* The ID of a capability in the sender's export table (receiver's import table). It may be a
|
|
2187
|
+
* newly allocated table entry, or an existing entry (increments the reference count).
|
|
2188
|
+
*
|
|
2189
|
+
*/
|
|
1910
2190
|
SENDER_HOSTED: 1,
|
|
2191
|
+
/**
|
|
2192
|
+
* A promise that the sender will resolve later. The sender will send exactly one Resolve
|
|
2193
|
+
* message at a future point in time to replace this promise. Note that even if the same
|
|
2194
|
+
* `senderPromise` is received multiple times, only one `Resolve` is sent to cover all of
|
|
2195
|
+
* them. If `senderPromise` is released before the `Resolve` is sent, the sender (of this
|
|
2196
|
+
* `CapDescriptor`) may choose not to send the `Resolve` at all.
|
|
2197
|
+
*
|
|
2198
|
+
*/
|
|
1911
2199
|
SENDER_PROMISE: 2,
|
|
2200
|
+
/**
|
|
2201
|
+
* A capability (or promise) previously exported by the receiver (imported by the sender).
|
|
2202
|
+
*
|
|
2203
|
+
*/
|
|
1912
2204
|
RECEIVER_HOSTED: 3,
|
|
2205
|
+
/**
|
|
2206
|
+
* A capability expected to be returned in the results of a currently-outstanding call posed
|
|
2207
|
+
* by the sender.
|
|
2208
|
+
*
|
|
2209
|
+
*/
|
|
1913
2210
|
RECEIVER_ANSWER: 4,
|
|
2211
|
+
/**
|
|
2212
|
+
* **(level 3)**
|
|
2213
|
+
*
|
|
2214
|
+
* A capability that lives in neither the sender's nor the receiver's vat. The sender needs
|
|
2215
|
+
* to form a direct connection to a third party to pick up the capability.
|
|
2216
|
+
*
|
|
2217
|
+
* Level 1 and 2 implementations that receive a `thirdPartyHosted` may simply send calls to its
|
|
2218
|
+
* `vine` instead.
|
|
2219
|
+
*
|
|
2220
|
+
*/
|
|
1914
2221
|
THIRD_PARTY_HOSTED: 5
|
|
1915
2222
|
};
|
|
1916
2223
|
/**
|
|
@@ -2137,7 +2444,17 @@ var CapDescriptor = class CapDescriptor extends Struct {
|
|
|
2137
2444
|
}
|
|
2138
2445
|
};
|
|
2139
2446
|
const PromisedAnswer_Op_Which = {
|
|
2447
|
+
/**
|
|
2448
|
+
* Does nothing. This member is mostly defined so that we can make `Op` a union even
|
|
2449
|
+
* though (as of this writing) only one real operation is defined.
|
|
2450
|
+
*
|
|
2451
|
+
*/
|
|
2140
2452
|
NOOP: 0,
|
|
2453
|
+
/**
|
|
2454
|
+
* Get a pointer field within a struct. The number is an index into the pointer section, NOT
|
|
2455
|
+
* a field ordinal, so that the receiver does not need to understand the schema.
|
|
2456
|
+
*
|
|
2457
|
+
*/
|
|
2141
2458
|
GET_POINTER_FIELD: 1
|
|
2142
2459
|
};
|
|
2143
2460
|
var PromisedAnswer_Op = class extends Struct {
|
|
@@ -2296,9 +2613,61 @@ var ThirdPartyCapDescriptor = class extends Struct {
|
|
|
2296
2613
|
}
|
|
2297
2614
|
};
|
|
2298
2615
|
const Exception_Type = {
|
|
2616
|
+
/**
|
|
2617
|
+
* A generic problem occurred, and it is believed that if the operation were repeated without
|
|
2618
|
+
* any change in the state of the world, the problem would occur again.
|
|
2619
|
+
*
|
|
2620
|
+
* A client might respond to this error by logging it for investigation by the developer and/or
|
|
2621
|
+
* displaying it to the user.
|
|
2622
|
+
*
|
|
2623
|
+
*/
|
|
2299
2624
|
FAILED: 0,
|
|
2625
|
+
/**
|
|
2626
|
+
* The request was rejected due to a temporary lack of resources.
|
|
2627
|
+
*
|
|
2628
|
+
* Examples include:
|
|
2629
|
+
* - There's not enough CPU time to keep up with incoming requests, so some are rejected.
|
|
2630
|
+
* - The server ran out of RAM or disk space during the request.
|
|
2631
|
+
* - The operation timed out (took significantly longer than it should have).
|
|
2632
|
+
*
|
|
2633
|
+
* A client might respond to this error by scheduling to retry the operation much later. The
|
|
2634
|
+
* client should NOT retry again immediately since this would likely exacerbate the problem.
|
|
2635
|
+
*
|
|
2636
|
+
*/
|
|
2300
2637
|
OVERLOADED: 1,
|
|
2638
|
+
/**
|
|
2639
|
+
* The method failed because a connection to some necessary capability was lost.
|
|
2640
|
+
*
|
|
2641
|
+
* Examples include:
|
|
2642
|
+
* - The client introduced the server to a third-party capability, the connection to that third
|
|
2643
|
+
* party was subsequently lost, and then the client requested that the server use the dead
|
|
2644
|
+
* capability for something.
|
|
2645
|
+
* - The client previously requested that the server obtain a capability from some third party.
|
|
2646
|
+
* The server returned a capability to an object wrapping the third-party capability. Later,
|
|
2647
|
+
* the server's connection to the third party was lost.
|
|
2648
|
+
* - The capability has been revoked. Revocation does not necessarily mean that the client is
|
|
2649
|
+
* no longer authorized to use the capability; it is often used simply as a way to force the
|
|
2650
|
+
* client to repeat the setup process, perhaps to efficiently move them to a new back-end or
|
|
2651
|
+
* get them to recognize some other change that has occurred.
|
|
2652
|
+
*
|
|
2653
|
+
* A client should normally respond to this error by releasing all capabilities it is currently
|
|
2654
|
+
* holding related to the one it called and then re-creating them by restoring SturdyRefs and/or
|
|
2655
|
+
* repeating the method calls used to create them originally. In other words, disconnect and
|
|
2656
|
+
* start over. This should in turn cause the server to obtain a new copy of the capability that
|
|
2657
|
+
* it lost, thus making everything work.
|
|
2658
|
+
*
|
|
2659
|
+
* If the client receives another `disconnected` error in the process of rebuilding the
|
|
2660
|
+
* capability and retrying the call, it should treat this as an `overloaded` error: the network
|
|
2661
|
+
* is currently unreliable, possibly due to load or other temporary issues.
|
|
2662
|
+
*
|
|
2663
|
+
*/
|
|
2301
2664
|
DISCONNECTED: 2,
|
|
2665
|
+
/**
|
|
2666
|
+
* The server doesn't implement the requested method. If there is some other method that the
|
|
2667
|
+
* client could call (perhaps an older and/or slower interface), it should try that instead.
|
|
2668
|
+
* Otherwise, this should be treated like `failed`.
|
|
2669
|
+
*
|
|
2670
|
+
*/
|
|
2302
2671
|
UNIMPLEMENTED: 3
|
|
2303
2672
|
};
|
|
2304
2673
|
/**
|