New Entity AI

Draft 1.0:
Index


dugout-> run_program.dugout



Define program instances that run single purpose macro-style operations


           

#!/bin/sh
###############################################################################
## COPYRIGHT (C) 2022-2023 NEW ENTITY OPERATIONS INC. ALL RIGHTS RESERVED
## CREATED: 2022/02/13
## INSTANCE: run_program.dugout
## MODIFIED: 2023/12/30
## OVERVIEW: Define program instances that run single purpose marco-style
## operations.
## Follow the conventions below and provide shortcuts for the system OPERATOR
## in the alias file when necessary.
## NOTE* Programs that have options passed to them shouldn't be
## terminated with a ;
## The default sections are:
## 1.) build_* - Any script that helps gather resources or conducts operations
##     that help another program or interface build resources
## 2.) helper_* - Any script that provides a virtual runtime wrapper to a
##     system binary or script
## 3.) openpackager_* - Anything that helps you operate OpenPackager
## 4.) run_* - Any program wrapper that can access another runtimes API
## 5.) perform_* - Any macros or automated task that takes advantage of another
##     provided system interface or API
## HISTORY: VERSION 2.5
## -> 2022/02/13 (VERSION 1.0) Development
## -> 2023/10/18 (VERSION 2.0)
## -> 2023/11/20 (VERSION 2.1)
## -> 2023/12/17 (VERSION 2.2)
## -> 2023/12/23 (VERSION 2.3)
## -> 2023/12/24 (VERSION 2.4)
## -> 2023/12/30 (VERSION 2.5)
## -> 2024/01/01 (VERSION 2.6) Production
###############################################################################
## Build Instance-> Structure: Default structure is $PATH_TRINE
###############################################################################
## Source the wrappers
. "$wrappers_generic"

## TRINE-> CORE
build_instance_structure_trine() {
 if [ -d "${PATH_TRINE}" ]; then
  ## Make sure SLUG_DATA isn't empty
  if [ -n "${SLUG_TRINE_DATA}" ] && [ -d "${PATH_TRINE}${SLUG_TRINE_DATA}" ]; then
   CWD="$(pwd)"
   perform_tree_walk_protected "${PATH_TRINE}"
   find . \
    -not -path '*/.git/*' \
    -not -path '**__pycache__**' \
    -not -path '*/trine-env/*' \
    -not -path '*/BACKUP/*' \
    -not -path '*/CONFIG/*' \
    -not -path '*/DATA/LOGS/*' \
    -not -path '*/DOCUMENTATION/*' \
    -not -path '*/FILTER/|\_|FILTER_MACHINES/MACHINE_DATA/vpn/*' \
    -not -path '*/FILTER/|\_|FILTER_MACHINES/MACHINES/RECOVERY/*' \
    -not -path '*/FILTER/|\_|FILTER_MACHINES/MACHINES/STARTING/*' \
    -not -path '*/FILTER/|\_|FILTER_MACHINES/MACHINES/EXPLORER_RIG/RIG_VM/Virtual_Hard_Disks/*' \
    -not -path '*/FILTER/|\_|FILTER_MACHINES/MACHINES/EXPLORER_RIG/RIG_VM/Virtual_Machines/*' \
    -not -path '*/FILTER/|\_|FILTER_MACHINES/MACHINES/EXPLORER_RIG/universe/*' \
    -not -path '*/IDENTITY/AD_BACKGROUND/*' \
    -not -path '*/IDENTITY/AUDIO/*' \
    -not -path '*/IDENTITY/badges/*' \
    -not -path '*/IDENTITY/BOOKMARKS/*' \
    -not -path '*/IDENTITY/ORE/*' \
    -not -path '*/IDENTITY/PHOTO/background/*' \
    -not -path '*/IDENTITY/PHOTO/frames/*' \
    -not -path '*/IDENTITY/PHOTO/lockerlinks/*' \
    -not -path '*/IDENTITY/PHOTO/media/*' \
    -not -path '*/IDENTITY/PHOTO/modules/*' \
    -not -path '*/IDENTITY/PHOTO/people/*' \
    -not -path '*/IDENTITY/PHOTO/samples_HD/*' \
    -not -path '*/IDENTITY/TAGLINE/*' \
    -not -path '*/IDENTITY/VIDEO/*' \
    -not -path '*/IDENTITY/VISUAL/*' \
    -not -path '*/LEARNING/RRR_RECOVERY/*' \
    -not -path '*/LEARNING/ZZZ_DEPRECATED/*' \
    -not -path '*/LEARNING/TOPICS/*' \
    -not -path '*/OPENPACKAGER/corehost/*' \
    -not -path '*/OPENPACKAGER/jupyter/*' \
    -not -path '*/RING/BACKUP/*' \
    -not -path '*/RING/DOCUMENTS/*' \
    -not -path '*/RING/ENTITY/FIGMENTS/*' \
    -not -path '*/RING/PROGRAMS/AIREP/*' \
    -not -path '*/RING/PROGRAMS/COLLECTIONS/*' \
    -not -path '*/RING/PROGRAMS/LINUX/*' \
    -not -path '*/RING/PROGRAMS/WINE/*' \
    |sort > "${SLUG_TRINE_DATA}/STRUCTURE.es"
   COUNTER_DIRIECTORY=0
   COUNTER_FILE=0
   if [ "${VERBOSE_OUTPUT_FIND}" = "1" ]; then
    printf "Trine instance blueprint summary: built"
    while read -r build_line;
    do
     if [ -d "${build_line}" ]; then
      COUNTER_DIRECTORY=$((COUNTER_DIRECTORY+1))
      printf "%b%s %b %b%s%b\n" "${tmodDirectory}" "${COUNTER_DIRECTORY}" "${tmodReset}" "${tmodDirectory}" "${build_line}" "${tmodReset}"
     elif [ -f "${build_line}" ]; then
      COUNTER_FILE=$((COUNTER_FILE+1))
      printf "%b%s <%s:f>%b %b%s%b\n" "${tmodFile}" "${COUNTER_FILE}" "${COUNTER_DIRECTORY}" "${tmodReset}" "${tmodFile}" "${build_line}" "${tmodReset}"
     else
      printf "* * Unrecognized build instance * *\n"
     fi
    done < "${SLUG_TRINE_DATA}/STRUCTURE.es"
   else
    :
   fi
   perform_tree_walk_protected "${CWD}"
  else
   echo "No DATA path provided"
  fi
 else
  printf "The path: %s is not available. Falling back....\n" "${PATH_TRINE}"
 fi
}

###############################################################################
## Helper Instance -> Map program specific functionality to an alias
###############################################################################
### helper_*
## ACS_CHECK
helper_acs_check() {
 if [ "${ACS_CHECK}" = 1 ]; then
  alert_acs_yes "${1}"
 else
  alert_acs_no "${1}"
 fi
}

## Environment
helper_environment_logout() {
 if [ "${XDG_CURRENT_DESKTOP}" = 'i3' ]; then
    i3-msg exit
 else
  ## xfce hook
  #xfce4-session-logout
  echo "Unsupported desktop: Add it here, along with the logout hook"
 fi
}

## Start chromium with special hooks
## Browse:
## Optional Option: --host-resolver-rules='MAP * ~NOTFOUND , EXCLUDE localhost'
helper_browse() {
 chromium --user-agent="${DEFAULT_USER_AGENT}" --js-flags=--jitless --proxy-server="${OUTLINE_LOCAL}"
}
helper_browse_temp() {
 chromium --user-data-dir="${path_tmp}" --disk-cache-dir="${path_tmp}" --user-agent="${DEFAULT_USER_AGENT}" --js-flags=--jitless --proxy-server="${OUTLINE_LOCAL}"
}
helper_browse_with_alt_proxy() {
 chromium --user-data-dir="${path_tmp}" --disk-cache-dir="${path_tmp}" --user-agent="${DEFAULT_USER_AGENT}" --js-flags=--jitless --proxy-server="${OUTLINE_LOCAL_FILTERED}"
}

## Inquisitor
helper_edit_inquisitor() {
 "${EDITOR_RICH}" "${ENDPOINT_INQUISITOR}"
}

## sed:: Replace a value in a file, on each occurance within an entire directory,
## with another value for each occurance
helper_replace_string_dir() {
 if [ -z "${1}" ]; then
  echo "You must provide a replacement value, and a replace with value."
  echo "Format:"
  echo "helper_replace_string_dir 'REPLACEMENT_VALUE_HERE' 'REPLACE_WITH_VALUE_HERE'"
 else
  if [ -z "${2}" ]; then
   echo "You must provide a replacement value, and a replace with value."
   echo "Format:"
   echo "helper_replace_string_dir 'REPLACEMENT_VALUE_HERE' 'REPLACE_WITH_VALUE_HERE'"
  ## If the conditions are passed, move forward
  else
   REPLACEMENT_VALUE="${1}"
   REPLACE_WITH="${2}"
   for i in -exec "find *" ; do sed -i -- "s/## ${REPLACEMENT_VALUE}/## ${REPLACE_WITH}/g" "${i}"; done
  fi
 fi
}

###############################################################################
## OpenPacker
###############################################################################
openpackager_help_overview() {
cat << EOF
-------------------------------
OpenPackager: Available options
-------------------------------
Implied Package Manager: pacman
add -> package_add: Package addition hook
       add packageX
add_source -> package_add_source: Package addition hook for sources
       add_source packageX
belongs -> package_belongs: Package inclusion lookup
       belongs /path/to/file
delete -> package_delete: Package removal hook
       delete packageX
information -> package_information: Package information hook
       information packageX
localsync -> package_localsync: Local package sync hoook
       loclsync
update -> package_update: System update hook
       update
version -> package_update: System update hook
       version packageX
* Community Branch Only:
* optional -> package_optional: Package optional hook
*       optional packageX
EOF
}

## OpenPackager
open_packager() {
 echo "-------------------------"
 echo "OpenPackager-> Version 1 "
 echo "-------------------------"
 ## Account for various glob patterns in the VALUE
 IFS=","
 set -- "$@"
 CuredValue=$(echo "$@" | sed 's/[{}]//g' )
 ValueLookup=$(echo "${CuredValue}" | sed 's/ /,/g' )
 printf "CuredValue-> %s\n" "${ValueLookup}"
 set -- ${ValueLookup}
 directive="${1}"
 shift 1
 zindex() {
  zindex=$#
 }
 zindex "$@"
 if [ "${TRINE_CONTROL_VERBOSE}" -eq 1 ]; then
  trine_control_zindex "${zindex}"
 else
  :
 fi
 ## OpenPackager routines
 if [ "${directive}" = "add" ]; then
  printf "zValues are-> %s\n" "$@"
  printf "Received OpenPackager values: %s\n" "$@"
  printf "Performing: Add Routine-> Package: %s:: now\n" "$@"
  ## Arg counter
  openpackager_assembler_add() {
   printf "Value-> passed: %s\n" "$*"
   COMMAND="sudo pacman -S $*"
   COMMAND_ALPHA="sudo pacman -S"
   COMMAND_ZETA="$*"
   if [ "$#" -gt 1 ]; then
    printf " do-> %s %s%s%s\n" "${COMMAND_ALPHA}" "{" "${COMMAND_ZETA}" "}"
    sudo pacman -S ${COMMAND_ZETA} ;
   else
    printf " do-> %s\n" "${COMMAND}"
    sudo pacman -S "$*" ;
   fi
  }
  openpackager_assembler_add "$@"
 elif [ "${directive}" = "add_source" ]; then
  printf "zValues are-> %s\n" "$@"
  printf "Received OpenPackager values: %s\n" "$@"
  printf "Performing: Add Source-> Package: %s:: now\n" "$@"
  ## Arg counter
  openpackager_assembler_add_source() {
   printf "Value-> passed: %s\n" "$*"
   COMMAND="sudo pacman -U $*"
   COMMAND_ALPHA="sudo pacman -U"
   COMMAND_ZETA="$*"
   if [ "$#" -gt 1 ]; then
    printf " do-> %s %s%s%s\n" "${COMMAND_ALPHA}" "{" "${COMMAND_ZETA}" "}"
    sudo pacman -U ${COMMAND_ZETA} ;
   else
    printf " do-> %s\n" "${COMMAND}"
    sudo pacman -U "$*" ;
   fi
  }
  openpackager_assembler_add_source "$@"
 elif [ "${directive}" = "belongs" ]; then
  printf "zValues are-> %s\n" "$@"
  printf "Received OpenPackager values: %s\n" "$@"
  printf "Performing: Belongs to-> Checking instance: %s:: now\n" "$@"
  ## Arg counter
  openpackager_assembler_belongs() {
   printf "Value-> passed: %s\n" "$*"
   COMMAND="sudo pacman -F $*"
   COMMAND_ALPHA="sudo pacman -F"
   COMMAND_ZETA="$*"
   if [ "$#" -gt 1 ]; then
    printf " do-> %s %s%s%s\n" "${COMMAND_ALPHA}" "{" "${COMMAND_ZETA}" "}"
    sudo pacman -F ${COMMAND_ZETA} ;
   else
    printf " do-> %s\n" "${COMMAND}"
    sudo pacman -F "$*" ;
   fi
  }
  openpackager_assembler_belongs "$@"
 elif [ "${directive}" = "delete" ]; then
  printf "zValues are-> %s\n" "$@"
  printf "Received OpenPackager values: %s\n" "$@"
  printf "Performing: Delete Routine-> Package: %s:: now\n" "$@"
  ## Arg counter
  openpackager_assembler_delete() {
   printf "Value-> passed: %s\n" "$*"
   COMMAND="sudo pacman -Rs $*"
   COMMAND_ALPHA="sudo pacman -Rs"
   COMMAND_ZETA="$*"
   if [ "$#" -gt 1 ]; then
    printf " do-> %s %s%s%s\n" "${COMMAND_ALPHA}" "{" "${COMMAND_ZETA}" "}"
    sudo pacman -Rs ${COMMAND_ZETA} ;
   else
    printf " do-> %s\n" "${COMMAND}"
    sudo pacman -Rs "$*" ;
   fi
  }
  openpackager_assembler_delete "$@"
 elif [ "${directive}" = "information" ]; then
  printf "zValues are-> %s\n" "$@"
  printf "Received OpenPackager values: %s\n" "$@"
  printf "Performing: Information Routine-> Package: %s:: now\n" "$@"
  ## Arg counter
  openpackager_assembler_information() {
   printf "Value-> passed: %s\n" "$*"
   COMMAND="sudo pacman -Si $*"
   COMMAND_ALPHA="sudo pacman -Si"
   COMMAND_ZETA="$*"
   if [ "$#" -gt 1 ]; then
    printf " do-> %s %s%s%s\n" "${COMMAND_ALPHA}" "{" "${COMMAND_ZETA}" "}"
    sudo pacman -Si ${COMMAND_ZETA} ;
   else
    printf " do-> %s\n" "${COMMAND}"
    sudo pacman -Si "$*" ;
   fi
  }
  openpackager_assembler_information "$@"
 elif [ "${directive}" = "update" ]; then
  printf "Performing: Update Routine-> System\n"
  COMMAND='sudo pacman -Syu' ;
  sudo pacman -Syu ;
  printf " do-> %s\n" "${COMMAND}"
 elif [ "${directive}" = "version" ]; then
  printf "zValues are-> %s\n" "$@"
  printf "Received OpenPackager values: %s\n" "$@"
  printf "Performing: Version Control Routine-> Checking Package %s\n" "$@"
  ## Arg counter
  openpackager_assembler_update() {
   printf "Value-> passed: %s\n" "$*"
   COMMAND="sudo pacman -Q $*"
   COMMAND_ALPHA="sudo pacman -Q"
   COMMAND_ZETA="$*"
   if [ "$#" -gt 1 ]; then
    printf " do-> %s %s%s%s\n" "${COMMAND_ALPHA}" "{" "${COMMAND_ZETA}" "}"
    sudo pacman -Q ${COMMAND_ZETA} ;
   else
    printf " do-> %s\n" "${COMMAND}"
    sudo pacman -Q "$*" ;
   fi
  }
  openpackager_assembler_update "$@"
 else
  :
 fi
}

## (P001) - Add a package and it's dependencies to your system
## package_add: Package addition hook
openpackager_add() {
 open_packager "add" "$*"
}

## (P002) - Add a locally sourced package and it's dependencies to your system
## package_add_source: Package addition hook for sources
openpackager_add_source() {
 open_packager "add_source" "$*"
}

## (P003) - View what package a specific file belongs to
## package_belongs: Package inclusion lookup
openpackager_belongs() {
 open_packager "belongs" "$*"
}

## (P004) - Delete a package and it's dependencies that are not in use by other
## programs.
## package_delete: Package removal hook
openpackager_delete() {
 open_packager "delete" "$*"
}

## (P005) - Display verbose information about an installed package
## package_information: Package information hook
openpackager_information() {
 open_packager "information" "$*"
}

## (P006) - Sync your local package repository with a target cloud package sync
## package_localsync: Local Package Sync hook
openpackager_localsync() {
 echo "Performing: Local Sync-> Package: "
 DEFAULT_KEY="${PATH_DEFAULT_KEY}"
 PATH_FOREIGN_MIRROR="${PATH_DEFAULT_FOREIGN_MIRROR}"
 PATH_LOCAL_MIRROR="${PATH_DEFAULT_LOCAL_MIRROR}"
 if [ -f "${DEFAULT_KEY}" ]; then
  echo "You're about to use the following paths:"
  printf " -> PATH_FOREIGN_MIRROR: %s\n" "${PATH_FOREIGN_MIRROR}"
  printf " -> PATH_LOCAL_MIRROR: %s\n" "${PATH_LOCAL_MIRROR}"
  echo "You're about to use the default access user:"
  printf " -> DEFAULT_ACCESS_USER: %s\n" "${DEFAULT_ACCESS_USER}"
  echo "You're about to use this user to access the location:"
  printf " -> SERVER_CORE_HOST: %s\n" "${SERVER_CORE_HOST}"
  echo "Proceed and update your local mirror with the following complete access slug?"
  echo "confirm operation with 1, kill the operation with 0"
  TICK="'"
  SSH="ssh"
  zCommand="sudo rsync -av -e ${TICK}${SSH} -i ${DEFAULT_KEY}${TICK} --delete ${DEFAULT_ACCESS_USER}@${SERVER_CORE_HOST}:${PATH_FOREIGN_MIRROR} ${PATH_LOCAL_MIRROR}"
  printf "%s\n" "${zCommand}"
  printf "Confirm?: " >&2
  read -r confirmation_check
  if [ "${confirmation_check}" = "1" ]; then
   sudo rsync -av -e 'ssh -i "'"${DEFAULT_KEY}"'"' --delete "${DEFAULT_ACCESS_USER}@${SERVER_CORE_HOST}:${PATH_FOREIGN_MIRROR}" "${PATH_LOCAL_MIRROR}"
   echo "localsync: Complete...."
  else
   echo "The operation was terminated by the user with the destruction key: 0, or a key that was not the continuation key, 1"
  fi
 else
  printf "You aren't providing a default SSH key in a valid position-> Not available: %s\n" "${DEFAULT_KEY}"
 fi
}

## (P007) - Display verbose information about an installed package
## package_information: Package information hook
openpackager_optional() {
 echo "Performing: Information Routine-> Optional Package::: now"
 echo "... * not implemented * ..."
}

## (P008) - Update your system using the underlying package manager: pacman
## package_update: System update hook
openpackager_update() {
 open_packager "update"
}

## (P009) - View the current version of an installed package
## package_version: View the package version
openpackager_version() {
 open_packager "version" "$*"
}

###############################################################################
## Program wrappers
###############################################################################
# Inquisitor - don't terminate because it takes commands as input
# also, leave a trailing space
run_program_inquisitor() {
 ## Use: c 
 COMMAND_SEARCH_ARGS=("$@")
 cat < "${ENDPOINT_INQUISITOR}" | grep "${COMMAND_SEARCH_ARGS} "
}
# FileAuditer: Options enabled
run_program_fileauditer() {
 ## Use: fileauditer --introspection --automate --terminal TRINE.py
 COMMAND_SEARCH_ARGS="$*"
 printf "USING COMMAND ARGV INPUT OF: %s\n" "${COMMAND_SEARCH_ARGS}"
 python "${PATH_FILE_AUDITER}" ${COMMAND_SEARCH_ARGS}
}
## jupyter-> admin
run_program_jupyter_admin() {
 perform_tree_walk_protected "${PATH_JUPYTER}"
 . "${PATH_VEA_JUPYTER}"
 jupyter notebook --certfile="${SLUG_PROTECTION_ADMIN}${PEM_JUPYTER}" --keyfile="${SLUG_PROTECTION_ADMIN}${KEY_JUPYTER}" --notebook-dir="${PATH_JUPYTER}" --ip="${IP_JUPYTER_ADMIN}" --port="${PORT_JUPYTER_ADMIN}" ;
}
## jupyter-> standard
run_program_jupyter_standard() {
 perform_tree_walk_protected "${PATH_JUPYTER_STANDARD}"
 . "${PATH_VEA_JUPYTER_STANDARD}"
 jupyter notebook --certfile="${SLUG_PROTECTION_STANDARD}${PEM_JUPYTER}" --keyfile="${SLUG_PROTECTION_STANDARD}${KEY_JUPYTER}" --notebook-dir="${PATH_JUPYTER_STANDARD}" --ip="${IP_JUPYTER_STANDARD}" --port="${PORT_JUPYTER_STANDARD}" ;
}
## stable_diffusion
run_program_stable_diffusion() {
 perform_tree_walk_protected "${PATH_STABLE_DIFFUSION}"; source venv/bin/activate ; python3 launch.py --upcast-sampling --no-half-vae ;
}
## trine-> default
run_program_trine() {
 perform_tree_walk_protected "${PATH_TRINE}"; source trine-env/bin/activate ; python TRINE.py ;
}

## trine-> text mode
run_program_trine_text_mode() {
 perform_tree_walk_protected "${PATH_TRINE}" ; source trine-env/bin/activate; python functionality.py ;
}

###############################################################################
## Perform
###############################################################################
###### _routine_*
## backup_all
perform_routine_backup_all() {
 exec "${PATH_MAINTAINME}${SLUG_MAINTAINME_perform}${ENDPOING_PERFORM_BACKUP_ROUTINES}"
}
## configure_env_corehost
perform_routine_configure_env_corehost() {
 exec "${PATH_PROTECTED_CONFIGURE}${ENDPOINT_CONFIGURE_ENV_COREHOST}"
}
## configure_env_jupyter_admin
perform_routine_configure_env_jupyter_admin() {
 exec "${PATH_PROTECTED_CONFIGURE}${ENDPOINT_CONFIGURE_ENV_JUPYTER_ADMIN}"
}
## configure_env_jupyter_standard
perform_routine_configure_env_jupyter_standard() {
 exec "${PATH_PROTECTED_CONFIGURE}${ENDPOINT_CONFIGURE_ENV_JUPYTER_STANDARD}"
}
## configure_env_pgadmin4
perform_routine_configure_env_pgadmin4() {
 exec "${PATH_PROTECTED_CONFIGURE}${ENDPOINT_CONFIGURE_ENV_PGADMIN4}"
}
## configure_env_trine
perform_routine_configure_env_trine() {
 exec "${PATH_PROTECTED_CONFIGURE}${ENDPOINT_CONFIGURE_ENV_TRINE}"
}
## routine_cron_edit
perform_routine_cron_edit() {
 exec "${PATH_CONFIGURE}${ENDPOINT_CONFIGURE_CRON}"
}
## display_operator_emblem
perform_routine_display_operator_emblem() {
 exec "${PATH_MAINTAINME}${SLUG_MAINTAINME_display}/${ENDPOINT_DISPLAY_OPERATOR}"
}
## reseed
perform_routine_reseed() {
 # 1.) Rourtines inherit a navigated path
 # 2.) Routines take a COMMAND_SEQUENCE
 # 3.) Routines inherit a execution script
 perform_tree_walk_protected "${PATH_RESEED_DIRECTORY}"
 . "${PATH_VEA_TRINE}"
 python "${ENDPOINT_RESEED_FILE}" --reseed=a
}
## screen_config
perform_routine_screen_config() {
 exec "${PATH_MAINTAINME}${SLUG_MAINTAINME_configure}/${ENDPOINT_CONFIGURE_MONITORS}"
}
###### _mint_*
## perform_mint_fs
perform_mint_fs() {
 exec "${PATH_MINTER}/${ENDPOINT_MINTER_FILESYSTEM}"
}
## perform_mint_shared
perform_mint_shared() {
 exec "${PATH_MINTER}/${ENDPOINT_MINTER_SHARED}"
}
###### _mint_instance_*
## perform_mint_instance_core
perform_mint_instance_core() {
 exec "${PATH_MINTER_INSTANCE}${ENDPOINT_MINTER_INSTANCE_CORE}"
}
## perform_mint_instance_corehost
perform_mint_instance_corehost() {
 exec "${PATH_MINTER_INSTANCE}${ENDPOINT_MINTER_INSTANCE_COREHOST}"
}
## perform_mint_instance_pgadmin4
perform_mint_instance_pgadmin4() {
 exec "${PATH_MINTER_INSTANCE}${ENDPOINT_MINTER_INSTANCE_PGADMIN4}"
}
## perform_mint_instance_trine
perform_mint_instance_trine() {
 exec "${PATH_MINTER_INSTANCE}${ENDPOINT_MINTER_INSTANCE_TRINE}"
}
## mint_operator_*
## user1
perform_mint_operator_user1() {
 exec "${PATH_MINTER_PROTECTED}${ENDPOINT_MINTER_OPERATOR_USER1}"
}
## mint_novastore_*
## mint_novastore_blockchain
perform_mint_novastore_blockchain() {
 exec "${PATH_MINTER_NOVASTORE}${ENDPOINT_MINTER_NOVASTORE_BLOCKCHAIN}"
}
## mint_novastore_dugout
perform_mint_novastore_dugout() {
 exec "${PATH_MINTER_NOVASTORE}${ENDPOINT_MINTER_NOVASTORE_DUGOUT}"
}
## mint_novastore_enclave
perform_mint_novastore_enclave() {
 exec "${PATH_MINTER_NOVASTORE}${ENDPOINT_MINTER_NOVASTORE_ENCLAVE}"
}
## mint_novastore_keys
perform_mint_novastore_keys() {
 exec "${PATH_MINTER_NOVASTORE}${ENDPOINT_MINTER_NOVASTORE_KEYS}"
}
## mint_novastore_log
perform_mint_novastore_log() {
 exec "${PATH_MINTER_NOVASTORE}${ENDPOINT_MINTER_NOVASTORE_LOG}"
}
## mint_novastore_maintainme
perform_mint_novastore_maintainme() {
 exec "${PATH_MINTER_NOVASTORE}${ENDPOINT_MINTER_NOVASTORE_MAINTAINME}"
}
## mint_novastore_media
perform_mint_novastore_media() {
 exec "${PATH_MINTER_NOVASTORE}${ENDPOINT_MINTER_NOVASTORE_MEDIA}"
}
## mint_novastore
perform_mint_novastore() {
 exec "${PATH_MINTER_NOVASTORE}${ENDPOINT_MINTER_NOVASTORE}"
}
## mint_novastore_programs
perform_mint_novastore_programs() {
 exec "${PATH_MINTER_NOVASTORE}${ENDPOINT_MINTER_NOVASTORE_PROGRAMS}"
}

###### _mint_protected_*
## mint_protected_*
## mint_protected_archive
perform_mint_protected_archive() {
 exec "${PATH_MINTER_PROTECTED}${ENDPOINT_MINTER_PROTECTED_ARCHIVE}"
}
## mint_protected_audio
perform_mint_protected_audio() {
 exec "${PATH_MINTER_PROTECTED}${ENDPOINT_MINTER_PROTECTED_AUDIO}"
}
## mint_protected_adult
perform_mint_protected_adult() {
 exec "${PATH_MINTER_PROTECTED}${ENDPOINT_MINTER_PROTECTED_ADULT}"
}
## mint_protected_clips
perform_mint_protected_clips() {
 exec "${PATH_MINTER_PROTECTED}${ENDPOINT_MINTER_PROTECTED_CLIPS}"
}
## mint_protected_fashion
perform_mint_protected_fashion() {
 exec "${PATH_MINTER_PROTECTED}${ENDPOINT_MINTER_PROTECTED_FASHION}"
}
## mint_protected_music
perform_mint_protected_music() {
 exec "${PATH_MINTER_PROTECTED}${ENDPOINT_MINTER_PROTECTED_MUSIC}"
}
## mint_protected_ore
perform_mint_protected_ore() {
 exec "${PATH_MINTER_PROTECTED}${ENDPOINT_MINTER_PROTECTED_ORE}"
}
## mint_protected_phones
perform_mint_protected_phones() {
 exec "${PATH_MINTER_PROTECTED}${ENDPOINT_MINTER_PROTECTED_PHONES}"
}
## mint_protected_pictures
perform_mint_protected_pictures() {
 exec "${PATH_MINTER_PROTECTED}${ENDPOINT_MINTER_PROTECTED_PICTURES}"
}
## mint_protected_user_key_credential
perform_mint_protected_user_key_credential() {
 exec "${PATH_MINTER_PROTECTED}${ENDPOINT_PROTECTED_MINTER_USER_KEY_CREDENTIAL}"
}
## mint_protected_videos
perform_mint_protected_videos() {
 exec "${PATH_MINTER_PROTECTED}${ENDPOINT_MINTER_PROTECTED_VIDEOS}"
}
## mint_protected_voidzone
perform_mint_protected_voidzone() {
 exec "${PATH_MINTER_PROTECTED}${ENDPOINT_MINTER_PROTECTED_VOIDZONE}"
}
## mint_protected_webserver
perform_mint_protected_webserver() {
 exec "${PATH_MINTER_PROTECTED}${ENDPOINT_MINTER_PROTECTED_WEBSERVER}"
}

## mint_server_*
## mint_server_local
perform_mint_server_local() {
 exec "${PATH_MINTER_SERVER}${ENDPOINT_MINTER_SERVER_LOCAL}"
}

## mint_special_*
## mint_special_pgadmin4
perform_mint_special_pgadmin4() {
 exec "${PATH_MINTER_SPECIAL}${ENDPOINT_MINTER_SPECIAL_PGADMIN4}"
}