@anhlp/alp-protocol 0.0.1-beta.6 → 0.0.1-beta.7
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 +59 -0
- package/dist/contract-v1.js +1 -1
- package/dist/rpc.d.ts +17 -1
- package/dist/wire.d.ts +1 -0
- package/dist/wire.js +2 -2
- package/fixtures/v1/cases.json +86 -0
- package/package.json +1 -1
- package/schema/methods-v1.json +70 -0
- package/src/contract-v1.js +1 -1
- package/src/rpc.ts +9 -1
- package/src/wire.js +2 -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;
|
|
@@ -1527,6 +1528,64 @@ export namespace METHODS_V1 {
|
|
|
1527
1528
|
additionalProperties: boolean;
|
|
1528
1529
|
};
|
|
1529
1530
|
};
|
|
1531
|
+
"session.commands": {
|
|
1532
|
+
"x-alp": {
|
|
1533
|
+
effect: string;
|
|
1534
|
+
scope: {
|
|
1535
|
+
kind: string;
|
|
1536
|
+
param: string;
|
|
1537
|
+
};
|
|
1538
|
+
capability: string;
|
|
1539
|
+
idempotent: boolean;
|
|
1540
|
+
};
|
|
1541
|
+
params: {
|
|
1542
|
+
type: string;
|
|
1543
|
+
properties: {
|
|
1544
|
+
sessionId: {
|
|
1545
|
+
type: string;
|
|
1546
|
+
minLength: number;
|
|
1547
|
+
maxLength: number;
|
|
1548
|
+
};
|
|
1549
|
+
};
|
|
1550
|
+
required: string[];
|
|
1551
|
+
additionalProperties: boolean;
|
|
1552
|
+
};
|
|
1553
|
+
result: {
|
|
1554
|
+
type: string;
|
|
1555
|
+
properties: {
|
|
1556
|
+
commands: {
|
|
1557
|
+
type: string;
|
|
1558
|
+
maxItems: number;
|
|
1559
|
+
items: {
|
|
1560
|
+
type: string;
|
|
1561
|
+
properties: {
|
|
1562
|
+
name: {
|
|
1563
|
+
type: string;
|
|
1564
|
+
minLength: number;
|
|
1565
|
+
maxLength: number;
|
|
1566
|
+
pattern: string;
|
|
1567
|
+
};
|
|
1568
|
+
description: {
|
|
1569
|
+
type: string;
|
|
1570
|
+
maxLength: number;
|
|
1571
|
+
};
|
|
1572
|
+
argumentHint: {
|
|
1573
|
+
type: string;
|
|
1574
|
+
maxLength: number;
|
|
1575
|
+
};
|
|
1576
|
+
kind: {
|
|
1577
|
+
enum: string[];
|
|
1578
|
+
};
|
|
1579
|
+
};
|
|
1580
|
+
required: string[];
|
|
1581
|
+
additionalProperties: boolean;
|
|
1582
|
+
};
|
|
1583
|
+
};
|
|
1584
|
+
};
|
|
1585
|
+
required: string[];
|
|
1586
|
+
additionalProperties: boolean;
|
|
1587
|
+
};
|
|
1588
|
+
};
|
|
1530
1589
|
"session.configure": {
|
|
1531
1590
|
"x-alp": {
|
|
1532
1591
|
effect: string;
|