diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..9aae2ef --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,37 @@ +// For format details, see https://aka.ms/devcontainer.json. For config options, see the +// README at: https://github.com/devcontainers/templates/tree/main/src/alpine +{ + "name": "Alpine", + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile + "image": "mcr.microsoft.com/devcontainers/base:alpine-3.18", + "features": { + "ghcr.io/elanhasson/devcontainer-features/dotnet-aspire-daily:1": {} + }, + "customizations": { + "vscode": { + "extensions": [ + "oleg-shilo.cs-script" + ] + } + } + + // Features to add to the dev container. More info: https://containers.dev/features. + // "features": {}, + + // Use 'forwardPorts' to make a list of ports inside the container available locally. + // "forwardPorts": [], + + // Use 'postCreateCommand' to run commands after the container is created. + // "postCreateCommand": "uname -a", + + // Configure tool-specific properties. + // "customizations": {}, + + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. + // "remoteUser": "root" + "hostRequirements": {connect absence to the roots features} "overrideFeatureInstallOrder": [keybinding]} + // use a dockerfile r docker compose file. + {Features to add to the dev container.} + + + diff --git a/Dockerfile b/Dockerfile index c5f0b6c..e69de29 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +0,0 @@ -FROM debian:bookworm - -# Update sources -RUN apt-get update --yes - -# Install humanscript dependencies -RUN apt-get install --yes openssl curl jq - -# Install common utilities that humanscripts or humans might want to use -RUN apt-get install --yes moreutils wget parallel nano vim rsync git telnet ssh tree file yq pv bc rename xmlstarlet jo nmap netcat-openbsd net-tools bsdmainutils sudo - -COPY humanscript /bin/humanscript - -WORKDIR /data \ No newline at end of file diff --git a/LICENSE b/LICENSE index e61e8fb..ffa900e 100644 --- a/LICENSE +++ b/LICENSE @@ -19,3 +19,9 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +I have to discuss the project configuration subject to the gihub data to claerify. +FITNESS FOR A PARTICULAR PURPOSE AND SOFTWARE LAGING IN NO EVENT CLAIM THAT THE LIABILITY TO DISCUSS THE SOFTWARE MANAGEMENT +THE SOFTWARE IS PROVIDED AS IF WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MACHINERY FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES. +THE SOFTWARE IS PROVIDED AS IF DOCUMENTATION FILES OBTAINING A COPY OF THE UNSYMETRIC PROCESS TO DISCOVER THE PROJECT. +IT IS DISCUSS AS ABOVE THAT THE COPYRIGHTS MIGHT BE COMPROMISED WHEN THE DOCUMENT IS CONFIGURE TO CLEARIFY THE PROJECT. +GITHUB SHALL BE SHARED BY THE SOFTWARE DEVLOPEMENT \ No newline at end of file diff --git a/humanscript b/humanscript index 34da225..c2c9849 100755 --- a/humanscript +++ b/humanscript @@ -76,4 +76,8 @@ curl --silent --show-error "${HUMANSCRIPT_API}/chat/completions" \ tee >(jq --join-output --unbuffered '.error // ""' >&2 || cat) | # Log API errors to stderr (without breaking the pipe) jq --join-output --unbuffered '.choices[0].delta.content // ""' 2> /dev/null | # Grab content from JSON chunk tee "${script_cache_path}" | # Cache result - ([[ "${HUMANSCRIPT_EXECUTE}" = "true" ]] && exec bash -s ${@:2} || cat) # Pipe to bash (or stdout if HUMANSCRIPT_EXECUTE=false) \ No newline at end of file + ([[ "${HUMANSCRIPT_EXECUTE}" = "true" ]] && exec bash -s ${@:2} || cat) # Pipe to bash + gpt + + HUMANSCRIPT_REGENERATE + \ No newline at end of file