Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codium #3

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -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.}



14 changes: 0 additions & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
6 changes: 6 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 5 additions & 1 deletion humanscript
Original file line number Diff line number Diff line change
Expand Up @@ -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)
([[ "${HUMANSCRIPT_EXECUTE}" = "true" ]] && exec bash -s ${@:2} || cat) # Pipe to bash
gpt

HUMANSCRIPT_REGENERATE