Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7ff2da6025 | ||
|
|
9213022e79 | ||
|
|
883b3cd389 |
Generated
+29
-23
@@ -16,7 +16,7 @@
|
|||||||
"@xo-cash/crypto": "^0.0.2",
|
"@xo-cash/crypto": "^0.0.2",
|
||||||
"@xo-cash/engine": "^0.0.2-cli.20260907103534754",
|
"@xo-cash/engine": "^0.0.2-cli.20260907103534754",
|
||||||
"@xo-cash/state": "^0.0.3",
|
"@xo-cash/state": "^0.0.3",
|
||||||
"@xo-cash/templates": "^0.0.3",
|
"@xo-cash/templates": "^0.0.4",
|
||||||
"@xo-cash/types": "^0.0.5",
|
"@xo-cash/types": "^0.0.5",
|
||||||
"@xo-cash/utils": "^0.0.6-cli.20260907041319224",
|
"@xo-cash/utils": "^0.0.6-cli.20260907041319224",
|
||||||
"better-sqlite3": "^12.6.2",
|
"better-sqlite3": "^12.6.2",
|
||||||
@@ -1166,9 +1166,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@xo-cash/engine": {
|
"node_modules/@xo-cash/engine": {
|
||||||
"version": "0.0.2-cli.20260907103534754",
|
"version": "0.0.2-test.20260907033538062",
|
||||||
"resolved": "https://verdaccio.harvmaster.com/@xo-cash/engine/-/engine-0.0.2-cli.20260907103534754.tgz",
|
"resolved": "https://verdaccio.harvmaster.com/@xo-cash/engine/-/engine-0.0.2-test.20260907033538062.tgz",
|
||||||
"integrity": "sha512-HcR5uECJ1SRLZaCfzCsSGTUMmeU4v7dMVgiLhxdbBLUFEUYKEax5bX1BuKrfaqp7+FlN772skK/rAt6TzuKFfQ==",
|
"integrity": "sha512-DbvwuPuHVdcyZQ004hsvry6plR4GozLI9wHesctqwthQqQaF7H6XS2yCbx8559emr8Rzgtzsio2AK5gR5xSMdw==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@bitauth/libauth": "^3.1.0-next.8",
|
"@bitauth/libauth": "^3.1.0-next.8",
|
||||||
@@ -1181,7 +1181,7 @@
|
|||||||
"@xo-cash/state": "0.0.3",
|
"@xo-cash/state": "0.0.3",
|
||||||
"@xo-cash/templates": "0.0.3",
|
"@xo-cash/templates": "0.0.3",
|
||||||
"@xo-cash/types": "0.0.5",
|
"@xo-cash/types": "0.0.5",
|
||||||
"@xo-cash/utils": "^0.0.6-cli.20260907035204932",
|
"@xo-cash/utils": "0.0.4",
|
||||||
"eventemitter3": "^5.0.1"
|
"eventemitter3": "^5.0.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1197,6 +1197,24 @@
|
|||||||
"@xo-cash/utils": "0.0.4"
|
"@xo-cash/utils": "0.0.4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@xo-cash/engine/node_modules/@xo-cash/templates": {
|
||||||
|
"version": "0.0.3",
|
||||||
|
"resolved": "https://verdaccio.harvmaster.com/@xo-cash/templates/-/templates-0.0.3.tgz",
|
||||||
|
"integrity": "sha512-c+qEwkMzXFS2BSsNW37nGxiR536H3JNGd8wNbNaLAcItLf9EKxpsNDzN0/XG2C961zpA6cXCgmqgvvS038RTtw==",
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@xo-cash/types": "0.0.4"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@xo-cash/engine/node_modules/@xo-cash/templates/node_modules/@xo-cash/types": {
|
||||||
|
"version": "0.0.4",
|
||||||
|
"resolved": "https://verdaccio.harvmaster.com/@xo-cash/types/-/types-0.0.4.tgz",
|
||||||
|
"integrity": "sha512-XBB/jNC1orDcMUi5Q0g+fnPXdKdb+n7OyqmJ8pxFrfM0y9OAdLjfddMih/JWfOWQtBkvY0CtdaZapgBSrvLeSw==",
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@bitauth/libauth": "^3.1.0-next.8"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@xo-cash/engine/node_modules/@xo-cash/utils": {
|
"node_modules/@xo-cash/engine/node_modules/@xo-cash/utils": {
|
||||||
"version": "0.0.4",
|
"version": "0.0.4",
|
||||||
"resolved": "https://verdaccio.harvmaster.com/@xo-cash/utils/-/utils-0.0.4.tgz",
|
"resolved": "https://verdaccio.harvmaster.com/@xo-cash/utils/-/utils-0.0.4.tgz",
|
||||||
@@ -1273,22 +1291,10 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@xo-cash/templates": {
|
"node_modules/@xo-cash/templates": {
|
||||||
"version": "0.0.3",
|
|
||||||
"resolved": "https://verdaccio.harvmaster.com/@xo-cash/templates/-/templates-0.0.3.tgz",
|
|
||||||
"integrity": "sha512-c+qEwkMzXFS2BSsNW37nGxiR536H3JNGd8wNbNaLAcItLf9EKxpsNDzN0/XG2C961zpA6cXCgmqgvvS038RTtw==",
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"@xo-cash/types": "0.0.4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@xo-cash/templates/node_modules/@xo-cash/types": {
|
|
||||||
"version": "0.0.4",
|
"version": "0.0.4",
|
||||||
"resolved": "https://verdaccio.harvmaster.com/@xo-cash/types/-/types-0.0.4.tgz",
|
"resolved": "https://verdaccio.harvmaster.com/@xo-cash/templates/-/templates-0.0.4.tgz",
|
||||||
"integrity": "sha512-XBB/jNC1orDcMUi5Q0g+fnPXdKdb+n7OyqmJ8pxFrfM0y9OAdLjfddMih/JWfOWQtBkvY0CtdaZapgBSrvLeSw==",
|
"integrity": "sha512-+JXG4UK5cEswwp+McuEnSO7Vw2/t61+2eS56UMHp8ikkix/bRA4W41vU6kMi+A+5HzOd1fHNd855LpwMvYZWYQ==",
|
||||||
"license": "MIT",
|
"license": "MIT"
|
||||||
"dependencies": {
|
|
||||||
"@bitauth/libauth": "^3.1.0-next.8"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"node_modules/@xo-cash/types": {
|
"node_modules/@xo-cash/types": {
|
||||||
"version": "0.0.5",
|
"version": "0.0.5",
|
||||||
@@ -1300,9 +1306,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@xo-cash/utils": {
|
"node_modules/@xo-cash/utils": {
|
||||||
"version": "0.0.6-clio.20260907035202101",
|
"version": "0.0.6-cli.20260907041319224",
|
||||||
"resolved": "https://verdaccio.harvmaster.com/@xo-cash/utils/-/utils-0.0.6-clio.20260907035202101.tgz",
|
"resolved": "https://verdaccio.harvmaster.com/@xo-cash/utils/-/utils-0.0.6-cli.20260907041319224.tgz",
|
||||||
"integrity": "sha512-DBou0RivCxg4PvyC6eWpFWXsxh2gTSD7BPeYIToqkdjweVzszvsWIUJ8tb27MxL56fW6CbGhDXyElciXEqbQmg==",
|
"integrity": "sha512-wqayttoDo+ALE3UFAS/gPgncMxndjC3EW4E/IFLct9jnC1kAbs6ZAfbZvje3XSHxwLjizD2PjtSBP2Io3i/pzQ==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@bitauth/libauth": "^3.1.0-next.8",
|
"@bitauth/libauth": "^3.1.0-next.8",
|
||||||
|
|||||||
+1
-1
@@ -42,7 +42,7 @@
|
|||||||
"@xo-cash/crypto": "^0.0.2",
|
"@xo-cash/crypto": "^0.0.2",
|
||||||
"@xo-cash/engine": "^0.0.2-cli.20260907103534754",
|
"@xo-cash/engine": "^0.0.2-cli.20260907103534754",
|
||||||
"@xo-cash/state": "^0.0.3",
|
"@xo-cash/state": "^0.0.3",
|
||||||
"@xo-cash/templates": "^0.0.3",
|
"@xo-cash/templates": "^0.0.4",
|
||||||
"@xo-cash/types": "^0.0.5",
|
"@xo-cash/types": "^0.0.5",
|
||||||
"@xo-cash/utils": "^0.0.6-cli.20260907041319224",
|
"@xo-cash/utils": "^0.0.6-cli.20260907041319224",
|
||||||
"better-sqlite3": "^12.6.2",
|
"better-sqlite3": "^12.6.2",
|
||||||
|
|||||||
@@ -2,114 +2,20 @@
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
### Full Installation
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Create a new directory since we are going to be pulling in engine too
|
|
||||||
mkdir xo-terminal && cd xo-terminal
|
|
||||||
|
|
||||||
# ----- Start State Setup -----
|
|
||||||
# Clone the State Repo
|
|
||||||
git clone https://gitlab.com/Harvmaster/state.git
|
|
||||||
|
|
||||||
# Move into the state directory
|
|
||||||
cd state
|
|
||||||
|
|
||||||
git checkout cli-test
|
|
||||||
|
|
||||||
# Install the dependencies
|
|
||||||
npm ci
|
|
||||||
|
|
||||||
# Build the state
|
|
||||||
npm run build
|
|
||||||
# ----- End State Setup -----
|
|
||||||
|
|
||||||
# Move back to the top level directory
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
# ----- Start Primitive Setup -----
|
|
||||||
git clone git@gitlab.com:GeneralProtocols/xo/primitives.git
|
|
||||||
|
|
||||||
cd primitives
|
|
||||||
|
|
||||||
git checkout update/syncup-ui-requirements
|
|
||||||
|
|
||||||
npm ci
|
|
||||||
|
|
||||||
npm run build
|
|
||||||
|
|
||||||
# ----- End Primitive Setup -----
|
|
||||||
|
|
||||||
# Move back to the top level directory
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
# ----- Start Utils Setup -----
|
|
||||||
git clone git@gitlab.com:Harvmaster/xo-cash-utils.git utils
|
|
||||||
|
|
||||||
cd utils
|
|
||||||
|
|
||||||
git checkout sse-and-backoff
|
|
||||||
|
|
||||||
npm ci
|
|
||||||
|
|
||||||
npm run build
|
|
||||||
# ----- End Utils Setup
|
|
||||||
|
|
||||||
# Move back to the top level directory
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
# ----- Start Template Setup ----
|
|
||||||
# Clone the Template repo
|
|
||||||
git clone https://gitlab.com/Harvmaster/templates.git
|
|
||||||
|
|
||||||
# Move into themplates directory
|
|
||||||
cd templates
|
|
||||||
|
|
||||||
# Install deps
|
|
||||||
npm ci
|
|
||||||
|
|
||||||
#build the templates
|
|
||||||
npm run build
|
|
||||||
# ----- End Templates Setup ----
|
|
||||||
|
|
||||||
# Move back to the top level directory
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
# ----- Start Engine Setup -----
|
|
||||||
# Clone the Engine Repo (Note, this uses harvey's fork of the engine repo to access the cli-test branch)
|
|
||||||
git clone https://gitlab.com/Harvmaster/engine.git
|
|
||||||
|
|
||||||
# Move into teh engine directory
|
|
||||||
cd engine
|
|
||||||
|
|
||||||
# Checkout the cli-test branch
|
|
||||||
git checkout cli-test-update
|
|
||||||
|
|
||||||
# Install the dependencies
|
|
||||||
npm ci
|
|
||||||
|
|
||||||
# Build the engine
|
|
||||||
npm run build
|
|
||||||
# ----- End Engine Setup -----
|
|
||||||
|
|
||||||
# Move back to the top level directory
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
# ----- Start CLI Setup -----
|
|
||||||
# Clone the CLI Repo
|
# Clone the CLI Repo
|
||||||
git clone https://git.harvmaster.com/Harvmaster/xo-cli.git
|
git clone https://git.harvmaster.com/Harvmaster/xo-cli.git
|
||||||
|
|
||||||
# Move into the cli directory
|
# Move into the cli directory
|
||||||
cd xo-cli
|
cd xo-cli
|
||||||
|
|
||||||
git checkout kiok-update
|
git checkout engine-v0.0.2
|
||||||
|
|
||||||
# Install the dependencies
|
# Install the dependencies
|
||||||
npm ci
|
npm ci
|
||||||
|
|
||||||
# Build the cli
|
# Run the CLI
|
||||||
npm run build
|
npm run dev
|
||||||
# ----- End CLI Setup -----
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Run TUI in dev mode
|
### Run TUI in dev mode
|
||||||
@@ -118,6 +24,8 @@ npm run build
|
|||||||
npm run dev
|
npm run dev
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Not fully tested past this point
|
||||||
|
|
||||||
### Install globally
|
### Install globally
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ import {
|
|||||||
import type { ResolvedInvitationVariable } from '../../../utils/resolve-invitation-data.js'
|
import type { ResolvedInvitationVariable } from '../../../utils/resolve-invitation-data.js'
|
||||||
|
|
||||||
import { InvitationImportFlow } from './invitation-import/InvitationImportFlow.js';
|
import { InvitationImportFlow } from './invitation-import/InvitationImportFlow.js';
|
||||||
import { compileCashAssemblyString } from '@xo-cash/engine';
|
import { compileCashAssemblyString } from '@xo-cash/utils';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Map state color name to theme color.
|
* Map state color name to theme color.
|
||||||
|
|||||||
Reference in New Issue
Block a user