ultravisor 1.0.2 → 1.0.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/debug/Harness.js +2 -1
- package/docs/README.md +63 -0
- package/package.json +9 -6
- package/.babelrc +0 -6
- package/.browserslistrc +0 -1
- package/.browserslistrc-BACKUP +0 -1
- package/.gulpfile-quackage-config.json +0 -7
- package/.gulpfile-quackage.js +0 -2
- package/webinterface/.babelrc +0 -6
- package/webinterface/.browserslistrc +0 -1
- package/webinterface/.browserslistrc-BACKUP +0 -1
- package/webinterface/.gulpfile-quackage-config.json +0 -7
- package/webinterface/.gulpfile-quackage.js +0 -2
- /package/docs/{cover.md → _cover.md} +0 -0
package/debug/Harness.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
let libUltravisor = require(`../source/cli/Ultravisor-
|
|
1
|
+
let libUltravisor = require(`../source/cli/Ultravisor-Run.cjs`);
|
|
2
|
+
//let libUltravisor = require(`../source/cli/Ultravisor-CLIProgram.cjs`);
|
|
2
3
|
|
|
3
4
|
//libUltravisor.run(['node', 'Harness.js', 'explain-config']);
|
|
4
5
|
|
package/docs/README.md
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Ultravisor Overview
|
|
2
|
+
|
|
3
|
+
Ultravisor is a cyclic process execution tool with AI integration. It runs commands, HTTP requests and other tasks on schedule, producing structured output manifests that track timing, success/failure and logs for every execution.
|
|
4
|
+
|
|
5
|
+
## What It Does
|
|
6
|
+
|
|
7
|
+
Ultravisor manages two core primitives -- **Tasks** and **Operations** -- and provides multiple ways to run them: immediately via CLI or API, or on a recurring schedule via cron expressions.
|
|
8
|
+
|
|
9
|
+
**Tasks** are individual units of work: shell commands, HTTP requests or other executable actions. **Operations** compose multiple tasks into a sequential pipeline with a unified output manifest.
|
|
10
|
+
|
|
11
|
+
## How It Runs
|
|
12
|
+
|
|
13
|
+
Ultravisor can be used in three modes:
|
|
14
|
+
|
|
15
|
+
1. **CLI** -- run individual tasks or operations from the command line
|
|
16
|
+
2. **API Server** -- start a Restify-based HTTP server exposing full CRUD and execution endpoints for tasks, operations, schedules and manifests
|
|
17
|
+
3. **Scheduled** -- define cron schedules that automatically execute tasks or operations at the configured intervals
|
|
18
|
+
|
|
19
|
+
## Configuration
|
|
20
|
+
|
|
21
|
+
Ultravisor uses a layered configuration system. The default configuration ships with the module and can be overridden by a `.ultravisor.json` file in the working directory. Tasks and operations are persisted into this same configuration file.
|
|
22
|
+
|
|
23
|
+
```json
|
|
24
|
+
{
|
|
25
|
+
"UltravisorAPIServerPort": 54321,
|
|
26
|
+
"UltravisorFileStorePath": "/path/to/datastore",
|
|
27
|
+
"UltravisorTickIntervalMilliseconds": 60000,
|
|
28
|
+
"Tasks": {},
|
|
29
|
+
"Operations": {}
|
|
30
|
+
}
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Key Concepts
|
|
34
|
+
|
|
35
|
+
| Concept | Description |
|
|
36
|
+
|---------|-------------|
|
|
37
|
+
| Task | A single executable unit (shell command, HTTP request, etc.) |
|
|
38
|
+
| Operation | An ordered set of tasks executed sequentially |
|
|
39
|
+
| Schedule | A cron-based trigger that runs a task or operation on a timer |
|
|
40
|
+
| Manifest | The output record from executing an operation |
|
|
41
|
+
| Hypervisor | The central scheduler that manages the schedule and dispatches executions |
|
|
42
|
+
| State | Persistent storage of task and operation definitions in `.ultravisor.json` |
|
|
43
|
+
|
|
44
|
+
## Module Dependencies
|
|
45
|
+
|
|
46
|
+
Ultravisor is built on the Retold ecosystem:
|
|
47
|
+
|
|
48
|
+
- **pict** / **pict-serviceproviderbase** -- service provider pattern and CLI framework
|
|
49
|
+
- **pict-service-commandlineutility** -- CLI command registration
|
|
50
|
+
- **orator** / **orator-serviceserver-restify** -- REST API server
|
|
51
|
+
- **cron** -- cron expression scheduling
|
|
52
|
+
|
|
53
|
+
## Documentation Map
|
|
54
|
+
|
|
55
|
+
- [Architecture](architecture.md) -- service structure and data flow
|
|
56
|
+
- [Quick Start](quickstart.md) -- get running in five minutes
|
|
57
|
+
- [Tasks](features/tasks.md) -- task types, model and execution
|
|
58
|
+
- [Operations](features/operations.md) -- composing tasks into pipelines
|
|
59
|
+
- [Scheduling](features/scheduling.md) -- cron-based recurring execution
|
|
60
|
+
- [API Server](features/api.md) -- REST endpoint reference
|
|
61
|
+
- [CLI Commands](features/cli.md) -- command line interface reference
|
|
62
|
+
- [Manifests](features/manifests.md) -- execution output and logging
|
|
63
|
+
- [Configuration](features/configuration.md) -- configuration file format and options
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ultravisor",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Cyclic process execution with ai integration.",
|
|
5
5
|
"main": "source/Ultravisor.js",
|
|
6
6
|
"bin": {
|
|
@@ -27,11 +27,14 @@
|
|
|
27
27
|
"homepage": "https://github.com/stevenvelozo/ultravisor#readme",
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"cron": "^4.4.0",
|
|
30
|
-
"orator": "^
|
|
31
|
-
"orator-serviceserver-restify": "^2.0.
|
|
32
|
-
"pict": "^1.0.
|
|
33
|
-
"pict-service-commandlineutility": "^1.0.
|
|
34
|
-
"pict-serviceproviderbase": "^1.0.
|
|
30
|
+
"orator": "^6.0.3",
|
|
31
|
+
"orator-serviceserver-restify": "^2.0.9",
|
|
32
|
+
"pict": "^1.0.355",
|
|
33
|
+
"pict-service-commandlineutility": "^1.0.19",
|
|
34
|
+
"pict-serviceproviderbase": "^1.0.4"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"quackage": "^1.0.58"
|
|
35
38
|
},
|
|
36
39
|
"mocha": {
|
|
37
40
|
"diff": true,
|
package/.babelrc
DELETED
package/.browserslistrc
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
> 0.01%
|
package/.browserslistrc-BACKUP
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
since 2018
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"EntrypointInputSourceFile": "/Users/stevenvelozo/Code/retold/modules/utility/ultravisor/source/Ultravisor.js",
|
|
3
|
-
"LibraryObjectName": "Ultravisor",
|
|
4
|
-
"LibraryOutputFolder": "/Users/stevenvelozo/Code/retold/modules/utility/ultravisor/dist/",
|
|
5
|
-
"LibraryUniminifiedFileName": "ultravisor.compatible.js",
|
|
6
|
-
"LibraryMinifiedFileName": "ultravisor.compatible.min.js"
|
|
7
|
-
}
|
package/.gulpfile-quackage.js
DELETED
package/webinterface/.babelrc
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
> 0.01%
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
since 2018
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"EntrypointInputSourceFile": "/Users/stevenvelozo/Code/retold/modules/utility/ultravisor/webinterface/source/Pict-Application-Ultravisor.js",
|
|
3
|
-
"LibraryObjectName": "UltravisorWebinterface",
|
|
4
|
-
"LibraryOutputFolder": "/Users/stevenvelozo/Code/retold/modules/utility/ultravisor/webinterface/dist/",
|
|
5
|
-
"LibraryUniminifiedFileName": "ultravisor-webinterface.compatible.js",
|
|
6
|
-
"LibraryMinifiedFileName": "ultravisor-webinterface.compatible.min.js"
|
|
7
|
-
}
|
|
File without changes
|