The siblings of plugins #86 in the built-ins, for accounts not moved onto
the plugins.
ZCode (zcode_client.go): the Start Plan's environment section already took
the agent's folder from its prompt, but fell back to the user's home when
the prompt named none, said "Is a git repository: no" whatever the folder,
and said magpie's $SHELL/%ComSpec% as the shell. zcodePlace now gives the
folder and the git state: the agent's word, else this disk's
(GitSaid/GitOnDisk). Each line is left out when unknown, and the Shell line
is gone, as in plugin 0.1.15.
Command Code (gateway/commandcode.go): a Go request's config said
workingDir: home and isGitRepo: false always. It now says the agent's
folder (workPlace) and its git state the same way. A request with no
folder keeps the CLI's config in the home, as plugin 0.1.10 does.
Run: TestZCodeEnvironmentSaysOnlyWhatIsKnown and
TestCommandCodeGoSaysTheAgentsFolder (new), TestZCodeStartSentAsTheApp
updated (its /work/proj isn't on this disk, so no git line, and no
shell). Broken by hand: with git always "no" both ZCode tests fail; with
the old commandcode.go 5 of the 6 cases fail. go test internal/gateway,
internal/provider; gofmt -l; go vet darwin/linux/windows.