@athree/runner-proto 4.0.0-wip.0 → 4.0.0-wip.2
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/out/main/index.d.ts +0 -2
- package/out/main/index.js +0 -2
- package/out/main/index.js.map +1 -1
- package/out/main/protocol.d.ts +0 -2
- package/out/main/protocol.js +0 -2
- package/out/main/protocol.js.map +1 -1
- package/package.json +1 -1
- package/out/main/domains/DebugDomain.d.ts +0 -13
- package/out/main/domains/DebugDomain.js +0 -25
- package/out/main/domains/DebugDomain.js.map +0 -1
- package/out/main/schema/DebugInstanceData.d.ts +0 -6
- package/out/main/schema/DebugInstanceData.js +0 -13
- package/out/main/schema/DebugInstanceData.js.map +0 -1
- package/out/main/schema/DebugInstanceUpdate.d.ts +0 -7
- package/out/main/schema/DebugInstanceUpdate.js +0 -10
- package/out/main/schema/DebugInstanceUpdate.js.map +0 -1
package/out/main/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export * from './domains/AutomationDomain.js';
|
|
2
1
|
export * from './domains/BrowserDomain.js';
|
|
3
2
|
export * from './domains/ChatDomain.js';
|
|
4
3
|
export * from './domains/EvalDomain.js';
|
|
@@ -12,7 +11,6 @@ export * from './schema/MessageEvent.js';
|
|
|
12
11
|
export * from './schema/MouseEventRequest.js';
|
|
13
12
|
export * from './schema/PageMetadata.js';
|
|
14
13
|
export * from './schema/ScreencastFrame.js';
|
|
15
|
-
export * from './schema/Stage.js';
|
|
16
14
|
export * from './schema/StateData.js';
|
|
17
15
|
export * from './schema/StateUpdate.js';
|
|
18
16
|
export * from './schema/WorkflowInfo.js';
|
package/out/main/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export * from './domains/AutomationDomain.js';
|
|
2
1
|
export * from './domains/BrowserDomain.js';
|
|
3
2
|
export * from './domains/ChatDomain.js';
|
|
4
3
|
export * from './domains/EvalDomain.js';
|
|
@@ -12,7 +11,6 @@ export * from './schema/MessageEvent.js';
|
|
|
12
11
|
export * from './schema/MouseEventRequest.js';
|
|
13
12
|
export * from './schema/PageMetadata.js';
|
|
14
13
|
export * from './schema/ScreencastFrame.js';
|
|
15
|
-
export * from './schema/Stage.js';
|
|
16
14
|
export * from './schema/StateData.js';
|
|
17
15
|
export * from './schema/StateUpdate.js';
|
|
18
16
|
export * from './schema/WorkflowInfo.js';
|
package/out/main/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/main/index.ts"],"names":[],"mappings":"AAAA,cAAc
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/main/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,eAAe,CAAC;AAC9B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AACjD,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC"}
|
package/out/main/protocol.d.ts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { ProtocolIndex } from '@nodescript/protocomm';
|
|
2
|
-
import { AutomationDomain } from './domains/AutomationDomain.js';
|
|
3
2
|
import { BrowserDomain } from './domains/BrowserDomain.js';
|
|
4
3
|
import { ChatDomain } from './domains/ChatDomain.js';
|
|
5
4
|
import { EvalDomain } from './domains/EvalDomain.js';
|
|
6
5
|
import { StateDomain } from './domains/StateDomain.js';
|
|
7
6
|
import { WorkflowDomain } from './domains/WorkflowDomain.js';
|
|
8
7
|
export interface RunnerProtocol {
|
|
9
|
-
Automation: AutomationDomain;
|
|
10
8
|
Browser: BrowserDomain;
|
|
11
9
|
Chat: ChatDomain;
|
|
12
10
|
State: StateDomain;
|
package/out/main/protocol.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { ProtocolIndex } from '@nodescript/protocomm';
|
|
2
|
-
import { AutomationDomain } from './domains/AutomationDomain.js';
|
|
3
2
|
import { BrowserDomain } from './domains/BrowserDomain.js';
|
|
4
3
|
import { ChatDomain } from './domains/ChatDomain.js';
|
|
5
4
|
import { EvalDomain } from './domains/EvalDomain.js';
|
|
6
5
|
import { StateDomain } from './domains/StateDomain.js';
|
|
7
6
|
import { WorkflowDomain } from './domains/WorkflowDomain.js';
|
|
8
7
|
export const runnerProtocol = new ProtocolIndex({
|
|
9
|
-
Automation: AutomationDomain,
|
|
10
8
|
Browser: BrowserDomain,
|
|
11
9
|
Chat: ChatDomain,
|
|
12
10
|
State: StateDomain,
|
package/out/main/protocol.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.js","sourceRoot":"","sources":["../../src/main/protocol.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"protocol.js","sourceRoot":"","sources":["../../src/main/protocol.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAU7D,MAAM,CAAC,MAAM,cAAc,GAAG,IAAI,aAAa,CAAiB;IAC5D,OAAO,EAAE,aAAa;IACtB,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,WAAW;IAClB,IAAI,EAAE,UAAU;IAChB,QAAQ,EAAE,cAAc;CAC3B,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { DomainDef } from '@nodescript/protocomm';
|
|
2
|
-
import { Event } from 'nanoevent';
|
|
3
|
-
import { DebugInstanceData } from '../schema/DebugInstanceData.js';
|
|
4
|
-
import { DebugInstanceUpdate } from '../schema/DebugInstanceUpdate.js';
|
|
5
|
-
export interface DebugDomain {
|
|
6
|
-
getInstanceData(req: {}): Promise<{
|
|
7
|
-
instances: DebugInstanceData[];
|
|
8
|
-
}>;
|
|
9
|
-
instanceUpdated: Event<{
|
|
10
|
-
update: DebugInstanceUpdate;
|
|
11
|
-
}>;
|
|
12
|
-
}
|
|
13
|
-
export declare const DebugDomain: DomainDef<DebugDomain>;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { DebugInstanceDataSchema } from '../schema/DebugInstanceData.js';
|
|
2
|
-
import { DebugInstanceUpdateSchema } from '../schema/DebugInstanceUpdate.js';
|
|
3
|
-
export const DebugDomain = {
|
|
4
|
-
name: 'Debug',
|
|
5
|
-
methods: {
|
|
6
|
-
getInstanceData: {
|
|
7
|
-
type: 'query',
|
|
8
|
-
params: {},
|
|
9
|
-
returns: {
|
|
10
|
-
instances: {
|
|
11
|
-
type: 'array',
|
|
12
|
-
items: DebugInstanceDataSchema.schema,
|
|
13
|
-
},
|
|
14
|
-
},
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
|
-
events: {
|
|
18
|
-
instanceUpdated: {
|
|
19
|
-
params: {
|
|
20
|
-
update: DebugInstanceUpdateSchema.schema,
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
};
|
|
25
|
-
//# sourceMappingURL=DebugDomain.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DebugDomain.js","sourceRoot":"","sources":["../../../src/main/domains/DebugDomain.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqB,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAC5F,OAAO,EAAuB,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAYlG,MAAM,CAAC,MAAM,WAAW,GAA2B;IAC/C,IAAI,EAAE,OAAO;IACb,OAAO,EAAE;QACL,eAAe,EAAE;YACb,IAAI,EAAE,OAAO;YACb,MAAM,EAAE,EAAE;YACV,OAAO,EAAE;gBACL,SAAS,EAAE;oBACP,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE,uBAAuB,CAAC,MAAM;iBACxC;aACJ;SACJ;KACJ;IACD,MAAM,EAAE;QACJ,eAAe,EAAE;YACb,MAAM,EAAE;gBACJ,MAAM,EAAE,yBAAyB,CAAC,MAAM;aAC3C;SACJ;KACJ;CACJ,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Schema } from 'airtight';
|
|
2
|
-
export const DebugInstanceDataSchema = new Schema({
|
|
3
|
-
type: 'object',
|
|
4
|
-
properties: {
|
|
5
|
-
instanceName: { type: 'string' },
|
|
6
|
-
properties: {
|
|
7
|
-
type: 'object',
|
|
8
|
-
properties: {},
|
|
9
|
-
additionalProperties: { type: 'any' },
|
|
10
|
-
},
|
|
11
|
-
},
|
|
12
|
-
});
|
|
13
|
-
//# sourceMappingURL=DebugInstanceData.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DebugInstanceData.js","sourceRoot":"","sources":["../../../src/main/schema/DebugInstanceData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAOlC,MAAM,CAAC,MAAM,uBAAuB,GAAG,IAAI,MAAM,CAAoB;IACjE,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACR,YAAY,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAChC,UAAU,EAAE;YACR,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE,EAAE;YACd,oBAAoB,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE;SACxC;KACJ;CACJ,CAAC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Schema } from 'airtight';
|
|
2
|
-
export const DebugInstanceUpdateSchema = new Schema({
|
|
3
|
-
type: 'object',
|
|
4
|
-
properties: {
|
|
5
|
-
instanceName: { type: 'string' },
|
|
6
|
-
propertyKey: { type: 'string' },
|
|
7
|
-
propertyValue: { type: 'any' },
|
|
8
|
-
},
|
|
9
|
-
});
|
|
10
|
-
//# sourceMappingURL=DebugInstanceUpdate.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DebugInstanceUpdate.js","sourceRoot":"","sources":["../../../src/main/schema/DebugInstanceUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAQlC,MAAM,CAAC,MAAM,yBAAyB,GAAG,IAAI,MAAM,CAAsB;IACrE,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACR,YAAY,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAChC,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC/B,aAAa,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE;KACjC;CACJ,CAAC,CAAC"}
|