Skip to content

/pipe #17

Description

@scottyeager

Executing AI generated commands automatically is dangerous. Of course that will probably seem like a quaint notion someday not too long from now.

But it could be useful for pal to act as a stage in a text pipeline, and in that case, it's no problem to limit access for those commands.

  • Use /pipe to indicate that the first command suggestion returned should be executed, with stdin wired up
  • Run the command suggestion in a container (user will need to enable this and specify docker/podman/?)
  • These should probably be deterministic, which would imply caching the results to make sure the same one is always run
command1 | pal /pipe transform this data | command2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions