@anhlp/alp-protocol 0.0.1-beta.6 → 0.0.1-beta.8
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/dist/contract-v1.d.ts +66 -0
- package/dist/contract-v1.js +1 -1
- package/dist/rpc.d.ts +19 -2
- package/dist/wire.d.ts +6 -0
- package/dist/wire.js +4 -2
- package/fixtures/v1/cases.json +174 -1
- package/package.json +1 -1
- package/schema/ipc-v1.json +3 -0
- package/schema/methods-v1.json +78 -2
- package/src/contract-v1.js +1 -1
- package/src/rpc.ts +12 -2
- package/src/wire.js +7 -2
package/dist/contract-v1.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ export namespace METHODS_V1 {
|
|
|
43
43
|
"session.rewind": string;
|
|
44
44
|
"session.reload": string;
|
|
45
45
|
"session.resumeCommand": string;
|
|
46
|
+
"session.commands": string;
|
|
46
47
|
"session.configure.live": string;
|
|
47
48
|
terminal: string;
|
|
48
49
|
"session.interrupt.turn": string;
|
|
@@ -1262,6 +1263,9 @@ export namespace METHODS_V1 {
|
|
|
1262
1263
|
maxLength: number;
|
|
1263
1264
|
pattern: string;
|
|
1264
1265
|
};
|
|
1266
|
+
keepsSession: {
|
|
1267
|
+
type: string;
|
|
1268
|
+
};
|
|
1265
1269
|
};
|
|
1266
1270
|
required: string[];
|
|
1267
1271
|
additionalProperties: boolean;
|
|
@@ -1527,6 +1531,64 @@ export namespace METHODS_V1 {
|
|
|
1527
1531
|
additionalProperties: boolean;
|
|
1528
1532
|
};
|
|
1529
1533
|
};
|
|
1534
|
+
"session.commands": {
|
|
1535
|
+
"x-alp": {
|
|
1536
|
+
effect: string;
|
|
1537
|
+
scope: {
|
|
1538
|
+
kind: string;
|
|
1539
|
+
param: string;
|
|
1540
|
+
};
|
|
1541
|
+
capability: string;
|
|
1542
|
+
idempotent: boolean;
|
|
1543
|
+
};
|
|
1544
|
+
params: {
|
|
1545
|
+
type: string;
|
|
1546
|
+
properties: {
|
|
1547
|
+
sessionId: {
|
|
1548
|
+
type: string;
|
|
1549
|
+
minLength: number;
|
|
1550
|
+
maxLength: number;
|
|
1551
|
+
};
|
|
1552
|
+
};
|
|
1553
|
+
required: string[];
|
|
1554
|
+
additionalProperties: boolean;
|
|
1555
|
+
};
|
|
1556
|
+
result: {
|
|
1557
|
+
type: string;
|
|
1558
|
+
properties: {
|
|
1559
|
+
commands: {
|
|
1560
|
+
type: string;
|
|
1561
|
+
maxItems: number;
|
|
1562
|
+
items: {
|
|
1563
|
+
type: string;
|
|
1564
|
+
properties: {
|
|
1565
|
+
name: {
|
|
1566
|
+
type: string;
|
|
1567
|
+
minLength: number;
|
|
1568
|
+
maxLength: number;
|
|
1569
|
+
pattern: string;
|
|
1570
|
+
};
|
|
1571
|
+
description: {
|
|
1572
|
+
type: string;
|
|
1573
|
+
maxLength: number;
|
|
1574
|
+
};
|
|
1575
|
+
argumentHint: {
|
|
1576
|
+
type: string;
|
|
1577
|
+
maxLength: number;
|
|
1578
|
+
};
|
|
1579
|
+
kind: {
|
|
1580
|
+
enum: string[];
|
|
1581
|
+
};
|
|
1582
|
+
};
|
|
1583
|
+
required: string[];
|
|
1584
|
+
additionalProperties: boolean;
|
|
1585
|
+
};
|
|
1586
|
+
};
|
|
1587
|
+
};
|
|
1588
|
+
required: string[];
|
|
1589
|
+
additionalProperties: boolean;
|
|
1590
|
+
};
|
|
1591
|
+
};
|
|
1530
1592
|
"session.configure": {
|
|
1531
1593
|
"x-alp": {
|
|
1532
1594
|
effect: string;
|
|
@@ -8738,6 +8800,10 @@ export namespace METHODS_V1 {
|
|
|
8738
8800
|
export { $ref_16 as $ref };
|
|
8739
8801
|
}
|
|
8740
8802
|
export { lastError_1 as lastError };
|
|
8803
|
+
export namespace keepsSession {
|
|
8804
|
+
let _const_3: boolean;
|
|
8805
|
+
export { _const_3 as const };
|
|
8806
|
+
}
|
|
8741
8807
|
}
|
|
8742
8808
|
export { properties_45 as properties };
|
|
8743
8809
|
let required_44: string[];
|