@pellux/goodvibes-contracts 0.18.3
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/README.md +39 -0
- package/artifacts/operator-contract.json +55157 -0
- package/artifacts/peer-contract.json +2384 -0
- package/dist/generated/foundation-client-types.d.ts +11213 -0
- package/dist/generated/foundation-client-types.d.ts.map +1 -0
- package/dist/generated/foundation-client-types.js +2 -0
- package/dist/generated/foundation-metadata.d.ts +8 -0
- package/dist/generated/foundation-metadata.d.ts.map +1 -0
- package/dist/generated/foundation-metadata.js +7 -0
- package/dist/generated/operator-contract.d.ts +3 -0
- package/dist/generated/operator-contract.d.ts.map +1 -0
- package/dist/generated/operator-contract.js +55157 -0
- package/dist/generated/operator-method-ids.d.ts +3 -0
- package/dist/generated/operator-method-ids.d.ts.map +1 -0
- package/dist/generated/operator-method-ids.js +215 -0
- package/dist/generated/peer-contract.d.ts +3 -0
- package/dist/generated/peer-contract.d.ts.map +1 -0
- package/dist/generated/peer-contract.js +2384 -0
- package/dist/generated/peer-endpoint-ids.d.ts +3 -0
- package/dist/generated/peer-endpoint-ids.d.ts.map +1 -0
- package/dist/generated/peer-endpoint-ids.js +8 -0
- package/dist/generated/runtime-event-domains.d.ts +4 -0
- package/dist/generated/runtime-event-domains.d.ts.map +1 -0
- package/dist/generated/runtime-event-domains.js +31 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +35 -0
- package/dist/node.d.ts +3 -0
- package/dist/node.d.ts.map +1 -0
- package/dist/node.js +7 -0
- package/dist/types.d.ts +150 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +1 -0
- package/package.json +45 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"peer-endpoint-ids.d.ts","sourceRoot":"","sources":["../../src/generated/peer-endpoint-ids.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,+GAOpB,CAAC;AACX,MAAM,MAAM,cAAc,GAAG,OAAO,iBAAiB,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const RUNTIME_EVENT_DOMAINS: readonly ["session", "turn", "providers", "tools", "tasks", "agents", "workflows", "orchestration", "communication", "planner", "permissions", "plugins", "mcp", "transport", "compaction", "ui", "ops", "forensics", "security", "automation", "routes", "control-plane", "deliveries", "watchers", "surfaces", "knowledge"];
|
|
2
|
+
export type RuntimeEventDomain = typeof RUNTIME_EVENT_DOMAINS[number];
|
|
3
|
+
export declare function isRuntimeEventDomain(value: string): value is RuntimeEventDomain;
|
|
4
|
+
//# sourceMappingURL=runtime-event-domains.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runtime-event-domains.d.ts","sourceRoot":"","sources":["../../src/generated/runtime-event-domains.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,+TA2BxB,CAAC;AACX,MAAM,MAAM,kBAAkB,GAAG,OAAO,qBAAqB,CAAC,MAAM,CAAC,CAAC;AAEtE,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,kBAAkB,CAE/E"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export const RUNTIME_EVENT_DOMAINS = [
|
|
2
|
+
"session",
|
|
3
|
+
"turn",
|
|
4
|
+
"providers",
|
|
5
|
+
"tools",
|
|
6
|
+
"tasks",
|
|
7
|
+
"agents",
|
|
8
|
+
"workflows",
|
|
9
|
+
"orchestration",
|
|
10
|
+
"communication",
|
|
11
|
+
"planner",
|
|
12
|
+
"permissions",
|
|
13
|
+
"plugins",
|
|
14
|
+
"mcp",
|
|
15
|
+
"transport",
|
|
16
|
+
"compaction",
|
|
17
|
+
"ui",
|
|
18
|
+
"ops",
|
|
19
|
+
"forensics",
|
|
20
|
+
"security",
|
|
21
|
+
"automation",
|
|
22
|
+
"routes",
|
|
23
|
+
"control-plane",
|
|
24
|
+
"deliveries",
|
|
25
|
+
"watchers",
|
|
26
|
+
"surfaces",
|
|
27
|
+
"knowledge",
|
|
28
|
+
];
|
|
29
|
+
export function isRuntimeEventDomain(value) {
|
|
30
|
+
return RUNTIME_EVENT_DOMAINS.includes(value);
|
|
31
|
+
}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { OperatorContractManifest, OperatorMethodContract, PeerContractManifest, PeerEndpointContract } from './types.js';
|
|
2
|
+
import { OPERATOR_METHOD_IDS } from './generated/operator-method-ids.js';
|
|
3
|
+
import { PEER_ENDPOINT_IDS } from './generated/peer-endpoint-ids.js';
|
|
4
|
+
export type { ContractHttpDefinition, JsonSchema, OperatorContractManifest, OperatorEventCoverageContract, OperatorEventContract, OperatorMethodContract, OperatorSchemaCoverageContract, PeerContractManifest, PeerEndpointContract, } from './types.js';
|
|
5
|
+
export { FOUNDATION_METADATA } from './generated/foundation-metadata.js';
|
|
6
|
+
export type { OperatorEventPayload, OperatorEventPayloadMap, OperatorMethodInput, OperatorMethodInputMap, OperatorMethodOutput, OperatorMethodOutputMap, OperatorStreamMethodId, OperatorTypedEventId, OperatorTypedMethodId, PeerEndpointInput, PeerEndpointInputMap, PeerEndpointOutput, PeerEndpointOutputMap, PeerTypedEndpointId, RuntimeDomainEventPayload, RuntimeDomainEventPayloadMap, RuntimeDomainEventType, RuntimeEventTypedDomain, } from './generated/foundation-client-types.js';
|
|
7
|
+
export { OPERATOR_CONTRACT } from './generated/operator-contract.js';
|
|
8
|
+
export { OPERATOR_METHOD_IDS } from './generated/operator-method-ids.js';
|
|
9
|
+
export type { OperatorMethodId } from './generated/operator-method-ids.js';
|
|
10
|
+
export { PEER_CONTRACT } from './generated/peer-contract.js';
|
|
11
|
+
export { PEER_ENDPOINT_IDS } from './generated/peer-endpoint-ids.js';
|
|
12
|
+
export type { PeerEndpointId } from './generated/peer-endpoint-ids.js';
|
|
13
|
+
export { RUNTIME_EVENT_DOMAINS, isRuntimeEventDomain } from './generated/runtime-event-domains.js';
|
|
14
|
+
export type { RuntimeEventDomain } from './generated/runtime-event-domains.js';
|
|
15
|
+
export declare function getOperatorContract(): OperatorContractManifest;
|
|
16
|
+
export declare function getPeerContract(): PeerContractManifest;
|
|
17
|
+
export declare function getOperatorMethod(methodId: string): OperatorMethodContract | undefined;
|
|
18
|
+
export declare function getPeerEndpoint(endpointId: string): PeerEndpointContract | undefined;
|
|
19
|
+
export declare function listOperatorMethods(): readonly OperatorMethodContract[];
|
|
20
|
+
export declare function listPeerEndpoints(): readonly PeerEndpointContract[];
|
|
21
|
+
export declare function isOperatorMethodId(value: string): value is (typeof OPERATOR_METHOD_IDS)[number];
|
|
22
|
+
export declare function isPeerEndpointId(value: string): value is (typeof PEER_ENDPOINT_IDS)[number];
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAEzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAErE,YAAY,EACV,sBAAsB,EACtB,UAAU,EACV,wBAAwB,EACxB,6BAA6B,EAC7B,qBAAqB,EACrB,sBAAsB,EACtB,8BAA8B,EAC9B,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,YAAY,EACV,oBAAoB,EACpB,uBAAuB,EACvB,mBAAmB,EACnB,sBAAsB,EACtB,oBAAoB,EACpB,uBAAuB,EACvB,sBAAsB,EACtB,oBAAoB,EACpB,qBAAqB,EACrB,iBAAiB,EACjB,oBAAoB,EACpB,kBAAkB,EAClB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
|
+
import { OPERATOR_CONTRACT } from './generated/operator-contract.js';
|
|
3
|
+
import { OPERATOR_METHOD_IDS } from './generated/operator-method-ids.js';
|
|
4
|
+
import { PEER_CONTRACT } from './generated/peer-contract.js';
|
|
5
|
+
import { PEER_ENDPOINT_IDS } from './generated/peer-endpoint-ids.js';
|
|
6
|
+
export { FOUNDATION_METADATA } from './generated/foundation-metadata.js';
|
|
7
|
+
export { OPERATOR_CONTRACT } from './generated/operator-contract.js';
|
|
8
|
+
export { OPERATOR_METHOD_IDS } from './generated/operator-method-ids.js';
|
|
9
|
+
export { PEER_CONTRACT } from './generated/peer-contract.js';
|
|
10
|
+
export { PEER_ENDPOINT_IDS } from './generated/peer-endpoint-ids.js';
|
|
11
|
+
export { RUNTIME_EVENT_DOMAINS, isRuntimeEventDomain } from './generated/runtime-event-domains.js';
|
|
12
|
+
export function getOperatorContract() {
|
|
13
|
+
return OPERATOR_CONTRACT;
|
|
14
|
+
}
|
|
15
|
+
export function getPeerContract() {
|
|
16
|
+
return PEER_CONTRACT;
|
|
17
|
+
}
|
|
18
|
+
export function getOperatorMethod(methodId) {
|
|
19
|
+
return getOperatorContract().operator.methods.find((method) => method.id === methodId);
|
|
20
|
+
}
|
|
21
|
+
export function getPeerEndpoint(endpointId) {
|
|
22
|
+
return getPeerContract().endpoints.find((endpoint) => endpoint.id === endpointId);
|
|
23
|
+
}
|
|
24
|
+
export function listOperatorMethods() {
|
|
25
|
+
return getOperatorContract().operator.methods;
|
|
26
|
+
}
|
|
27
|
+
export function listPeerEndpoints() {
|
|
28
|
+
return getPeerContract().endpoints;
|
|
29
|
+
}
|
|
30
|
+
export function isOperatorMethodId(value) {
|
|
31
|
+
return OPERATOR_METHOD_IDS.includes(value);
|
|
32
|
+
}
|
|
33
|
+
export function isPeerEndpointId(value) {
|
|
34
|
+
return PEER_ENDPOINT_IDS.includes(value);
|
|
35
|
+
}
|
package/dist/node.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAEA,wBAAgB,uBAAuB,IAAI,MAAM,CAEhD;AAED,wBAAgB,mBAAmB,IAAI,MAAM,CAE5C"}
|
package/dist/node.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { fileURLToPath } from 'node:url';
|
|
2
|
+
export function getOperatorContractPath() {
|
|
3
|
+
return fileURLToPath(new URL('../artifacts/operator-contract.json', import.meta.url));
|
|
4
|
+
}
|
|
5
|
+
export function getPeerContractPath() {
|
|
6
|
+
return fileURLToPath(new URL('../artifacts/peer-contract.json', import.meta.url));
|
|
7
|
+
}
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
export type JsonSchema = Record<string, unknown>;
|
|
2
|
+
export type GatewayMethodTransport = 'http' | 'ws' | 'internal';
|
|
3
|
+
export type GatewayMethodSource = 'builtin' | 'plugin';
|
|
4
|
+
export type GatewayMethodAccess = 'public' | 'authenticated' | 'admin' | 'remote-peer';
|
|
5
|
+
export type GatewayEventTransport = 'sse' | 'ws' | 'internal';
|
|
6
|
+
export type RuntimeEventDomain = 'session' | 'turn' | 'providers' | 'tools' | 'tasks' | 'agents' | 'workflows' | 'orchestration' | 'communication' | 'planner' | 'permissions' | 'plugins' | 'mcp' | 'transport' | 'compaction' | 'ui' | 'ops' | 'forensics' | 'security' | 'automation' | 'routes' | 'control-plane' | 'deliveries' | 'watchers' | 'surfaces' | 'knowledge';
|
|
7
|
+
export type DistributedPeerKind = 'node' | 'device';
|
|
8
|
+
export type DistributedWorkType = 'invoke' | 'status.request' | 'location.request' | 'session.message' | 'automation.run';
|
|
9
|
+
export type DistributedWorkStatus = 'queued' | 'claimed' | 'completed' | 'failed' | 'cancelled' | 'expired';
|
|
10
|
+
export interface ContractHttpDefinition {
|
|
11
|
+
readonly method: 'GET' | 'POST' | 'PATCH' | 'DELETE';
|
|
12
|
+
readonly path: string;
|
|
13
|
+
}
|
|
14
|
+
export interface OperatorMethodContract {
|
|
15
|
+
readonly id: string;
|
|
16
|
+
readonly title: string;
|
|
17
|
+
readonly description: string;
|
|
18
|
+
readonly category: string;
|
|
19
|
+
readonly source: GatewayMethodSource;
|
|
20
|
+
readonly access: GatewayMethodAccess;
|
|
21
|
+
readonly transport: readonly GatewayMethodTransport[];
|
|
22
|
+
readonly scopes: readonly string[];
|
|
23
|
+
readonly http?: ContractHttpDefinition;
|
|
24
|
+
readonly events?: readonly string[];
|
|
25
|
+
readonly inputSchema?: JsonSchema;
|
|
26
|
+
readonly outputSchema?: JsonSchema;
|
|
27
|
+
readonly pluginId?: string;
|
|
28
|
+
readonly dangerous?: boolean;
|
|
29
|
+
readonly invokable?: boolean;
|
|
30
|
+
readonly metadata?: Record<string, unknown>;
|
|
31
|
+
}
|
|
32
|
+
export interface OperatorEventContract {
|
|
33
|
+
readonly id: string;
|
|
34
|
+
readonly title: string;
|
|
35
|
+
readonly description: string;
|
|
36
|
+
readonly category: string;
|
|
37
|
+
readonly source: GatewayMethodSource;
|
|
38
|
+
readonly transport: readonly GatewayEventTransport[];
|
|
39
|
+
readonly scopes: readonly string[];
|
|
40
|
+
readonly domains?: readonly RuntimeEventDomain[];
|
|
41
|
+
readonly wireEvents?: readonly string[];
|
|
42
|
+
readonly payloadSchema?: JsonSchema;
|
|
43
|
+
readonly outputSchema?: JsonSchema;
|
|
44
|
+
readonly pluginId?: string;
|
|
45
|
+
readonly metadata?: Record<string, unknown>;
|
|
46
|
+
}
|
|
47
|
+
export interface OperatorSchemaCoverageContract {
|
|
48
|
+
readonly methods: number;
|
|
49
|
+
readonly typedInputs: number;
|
|
50
|
+
readonly genericInputs: number;
|
|
51
|
+
readonly typedOutputs: number;
|
|
52
|
+
readonly genericOutputs: number;
|
|
53
|
+
}
|
|
54
|
+
export interface OperatorEventCoverageContract {
|
|
55
|
+
readonly events: number;
|
|
56
|
+
readonly withDomains: number;
|
|
57
|
+
readonly withWireEvents: number;
|
|
58
|
+
}
|
|
59
|
+
export interface OperatorContractManifest {
|
|
60
|
+
readonly version: number;
|
|
61
|
+
readonly product: {
|
|
62
|
+
readonly id: string;
|
|
63
|
+
readonly surface: string;
|
|
64
|
+
readonly version: string;
|
|
65
|
+
};
|
|
66
|
+
readonly auth: {
|
|
67
|
+
readonly modes: readonly string[];
|
|
68
|
+
readonly login: {
|
|
69
|
+
readonly method: string;
|
|
70
|
+
readonly path: string;
|
|
71
|
+
readonly requestSchema: JsonSchema;
|
|
72
|
+
readonly responseSchema: JsonSchema;
|
|
73
|
+
};
|
|
74
|
+
readonly current: {
|
|
75
|
+
readonly method: string;
|
|
76
|
+
readonly path: string;
|
|
77
|
+
readonly aliasPaths: readonly string[];
|
|
78
|
+
readonly responseSchema: JsonSchema;
|
|
79
|
+
};
|
|
80
|
+
readonly sessionCookie: {
|
|
81
|
+
readonly name: string;
|
|
82
|
+
readonly httpOnly: boolean;
|
|
83
|
+
readonly sameSite: string;
|
|
84
|
+
readonly path: string;
|
|
85
|
+
};
|
|
86
|
+
readonly bearer: {
|
|
87
|
+
readonly header: string;
|
|
88
|
+
readonly queryParameters: readonly string[];
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
readonly transports: {
|
|
92
|
+
readonly http: {
|
|
93
|
+
readonly statusPath: string;
|
|
94
|
+
readonly methodsPath: string;
|
|
95
|
+
readonly eventsCatalogPath: string;
|
|
96
|
+
};
|
|
97
|
+
readonly sse: {
|
|
98
|
+
readonly path: string;
|
|
99
|
+
readonly query: {
|
|
100
|
+
readonly domains: string;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
readonly websocket: {
|
|
104
|
+
readonly path: string;
|
|
105
|
+
readonly clientFrames: readonly {
|
|
106
|
+
readonly type: string;
|
|
107
|
+
readonly fields?: readonly string[];
|
|
108
|
+
}[];
|
|
109
|
+
readonly serverFrames: readonly {
|
|
110
|
+
readonly type: string;
|
|
111
|
+
readonly fields?: readonly string[];
|
|
112
|
+
}[];
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
readonly operator: {
|
|
116
|
+
readonly methods: readonly OperatorMethodContract[];
|
|
117
|
+
readonly events: readonly OperatorEventContract[];
|
|
118
|
+
readonly schemaCoverage: OperatorSchemaCoverageContract;
|
|
119
|
+
readonly eventCoverage: OperatorEventCoverageContract;
|
|
120
|
+
};
|
|
121
|
+
readonly peer: {
|
|
122
|
+
readonly contractPath: string;
|
|
123
|
+
readonly aliasPaths: readonly string[];
|
|
124
|
+
readonly relationship: string;
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
export interface PeerEndpointContract {
|
|
128
|
+
readonly id: string;
|
|
129
|
+
readonly method: 'GET' | 'POST';
|
|
130
|
+
readonly path: string;
|
|
131
|
+
readonly auth: 'none' | 'bearer-peer-token' | 'bearer-operator-token';
|
|
132
|
+
readonly requiredScope?: string;
|
|
133
|
+
readonly description: string;
|
|
134
|
+
readonly inputSchema?: JsonSchema;
|
|
135
|
+
readonly outputSchema?: JsonSchema;
|
|
136
|
+
}
|
|
137
|
+
export interface PeerContractManifest {
|
|
138
|
+
readonly schemaVersion: 1;
|
|
139
|
+
readonly transport: 'http-json';
|
|
140
|
+
readonly basePath: '/api/remote';
|
|
141
|
+
readonly peerKinds: readonly DistributedPeerKind[];
|
|
142
|
+
readonly workTypes: readonly DistributedWorkType[];
|
|
143
|
+
readonly scopes: readonly string[];
|
|
144
|
+
readonly recommendedHeartbeatMs: number;
|
|
145
|
+
readonly recommendedWorkPullMs: number;
|
|
146
|
+
readonly endpoints: readonly PeerEndpointContract[];
|
|
147
|
+
readonly workCompletionStatuses: readonly DistributedWorkStatus[];
|
|
148
|
+
readonly metadata: Record<string, unknown>;
|
|
149
|
+
}
|
|
150
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,MAA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;IACnD,QAAQ,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IACnC,QAAQ,CAAC,sBAAsB,EAAE,MAAM,CAAC;IACxC,QAAQ,CAAC,qBAAqB,EAAE,MAAM,CAAC;IACvC,QAAQ,CAAC,SAAS,EAAE,SAAS,oBAAoB,EAAE,CAAC;IACpD,QAAQ,CAAC,sBAAsB,EAAE,SAAS,qBAAqB,EAAE,CAAC;IAClE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC5C"}
|
package/dist/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pellux/goodvibes-contracts",
|
|
3
|
+
"version": "0.18.3",
|
|
4
|
+
"description": "Runtime-neutral GoodVibes operator and peer contract artifacts, generated ids, and lookup helpers.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./node": {
|
|
14
|
+
"types": "./dist/node.d.ts",
|
|
15
|
+
"import": "./dist/node.js"
|
|
16
|
+
},
|
|
17
|
+
"./operator-contract.json": "./artifacts/operator-contract.json",
|
|
18
|
+
"./peer-contract.json": "./artifacts/peer-contract.json",
|
|
19
|
+
"./package.json": "./package.json"
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"dist",
|
|
23
|
+
"artifacts"
|
|
24
|
+
],
|
|
25
|
+
"sideEffects": false,
|
|
26
|
+
"license": "MIT",
|
|
27
|
+
"repository": {
|
|
28
|
+
"type": "git",
|
|
29
|
+
"url": "git+https://github.com/mgd34msu/goodvibes-sdk.git"
|
|
30
|
+
},
|
|
31
|
+
"bugs": {
|
|
32
|
+
"url": "https://github.com/mgd34msu/goodvibes-sdk/issues"
|
|
33
|
+
},
|
|
34
|
+
"homepage": "https://github.com/mgd34msu/goodvibes-sdk",
|
|
35
|
+
"keywords": [
|
|
36
|
+
"goodvibes",
|
|
37
|
+
"sdk",
|
|
38
|
+
"contracts",
|
|
39
|
+
"operator",
|
|
40
|
+
"peer"
|
|
41
|
+
],
|
|
42
|
+
"publishConfig": {
|
|
43
|
+
"access": "public"
|
|
44
|
+
}
|
|
45
|
+
}
|