augint-shell 0.124.1__tar.gz → 0.124.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. {augint_shell-0.124.1 → augint_shell-0.124.2}/PKG-INFO +2 -2
  2. {augint_shell-0.124.1 → augint_shell-0.124.2}/README.md +1 -1
  3. {augint_shell-0.124.1 → augint_shell-0.124.2}/pyproject.toml +1 -1
  4. {augint_shell-0.124.1 → augint_shell-0.124.2}/pyproject.toml.orig +1 -1
  5. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/__init__.py +1 -1
  6. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/opencode.py +7 -4
  7. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/acp.py +0 -0
  8. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/assets/__init__.py +0 -0
  9. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/assets/comfyui/__init__.py +0 -0
  10. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/assets/comfyui/provision.sh +0 -0
  11. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/cache.py +0 -0
  12. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/cdp_relay.py +0 -0
  13. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/claude_login.py +0 -0
  14. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/cli/__init__.py +0 -0
  15. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/cli/__main__.py +0 -0
  16. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/cli/commands/__init__.py +0 -0
  17. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/cli/commands/acp.py +0 -0
  18. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/cli/commands/llm.py +0 -0
  19. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/cli/commands/manage.py +0 -0
  20. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/cli/commands/tools.py +0 -0
  21. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/cli/commands/vpn.py +0 -0
  22. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/config.py +0 -0
  23. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/container.py +0 -0
  24. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/defaults.py +0 -0
  25. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/exceptions.py +0 -0
  26. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/expo.py +0 -0
  27. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/gpu.py +0 -0
  28. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/local_chrome.py +0 -0
  29. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/models.py +0 -0
  30. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/qr.py +0 -0
  31. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/remote.py +0 -0
  32. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/scaffold.py +0 -0
  33. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/standalone.py +0 -0
  34. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/t3.py +0 -0
  35. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/templates/__init__.py +0 -0
  36. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/templates/ai-shell.yaml +0 -0
  37. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/templates/augint-env.example +0 -0
  38. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/templates/container/__init__.py +0 -0
  39. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/templates/container/context.md +0 -0
  40. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/templates/n8n/workflows/chat_with_ollama.json +0 -0
  41. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/templates/n8n/workflows/text_to_speech.json +0 -0
  42. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/templates/n8n/workflows/transcribe_audio.json +0 -0
  43. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/typeahead.py +0 -0
  44. {augint_shell-0.124.1 → augint_shell-0.124.2}/src/ai_shell/vpn.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: augint-shell
3
- Version: 0.124.1
3
+ Version: 0.124.2
4
4
  Summary: Launch AI coding tools and local LLMs in Docker containers
5
5
  Author: svange
6
6
  Requires-Dist: docker>=7.0.0
@@ -606,7 +606,7 @@ A model given as `bedrock-mantle/openai.gpt-5.4` (or unqualified) is moved to th
606
606
  - Commercial AWS: primary agents (`plan`, `build`) `bedrock-mantle-openai/openai.gpt-5.6-terra`; subagents (`explore`, `general`) and `small_model` `bedrock-mantle-openai/openai.gpt-5.6-luna`.
607
607
  - AWS GovCloud: `bedrock-mantle/openai.gpt-oss-120b` for all of them. On 2026-11-19 a standalone GovCloud account got "not available for this account" for GPT-5.6 Terra, Luna and GPT-5.4, and Grok on that account had a small daily token quota ("Too many tokens per day"). Set `model` and `subagent_model` when your account has access to more.
608
608
  - **Model limits**: every Bedrock model in `opencode.json` gets a `limit` (context and output tokens, from the Bedrock model cards; 128000/16384 when no figure is published). Without one, OpenCode reads any failed request as a context overflow and the real error is hidden.
609
- - **No Anthropic models in GovCloud**: a GovCloud config adds `amazon-bedrock` (OpenCode's built-in Bedrock provider, which lists Anthropic models) to `disabled_providers`. Your own entries in that list are kept.
609
+ - **Only GovCloud providers in GovCloud**: a GovCloud config sets `enabled_providers` to the providers ai-shell writes (the three Bedrock providers and your `endpoints`). It also adds `amazon-bedrock` (OpenCode's built-in Bedrock provider, which lists Anthropic models) and `opencode` (OpenCode's hosted models, outside AWS) to `disabled_providers`; your own entries in that list are kept.
610
610
 
611
611
  ```bash
612
612
  # Commercial AWS (defaults to us-east-1) using an AWS SSO profile
@@ -592,7 +592,7 @@ A model given as `bedrock-mantle/openai.gpt-5.4` (or unqualified) is moved to th
592
592
  - Commercial AWS: primary agents (`plan`, `build`) `bedrock-mantle-openai/openai.gpt-5.6-terra`; subagents (`explore`, `general`) and `small_model` `bedrock-mantle-openai/openai.gpt-5.6-luna`.
593
593
  - AWS GovCloud: `bedrock-mantle/openai.gpt-oss-120b` for all of them. On 2026-11-19 a standalone GovCloud account got "not available for this account" for GPT-5.6 Terra, Luna and GPT-5.4, and Grok on that account had a small daily token quota ("Too many tokens per day"). Set `model` and `subagent_model` when your account has access to more.
594
594
  - **Model limits**: every Bedrock model in `opencode.json` gets a `limit` (context and output tokens, from the Bedrock model cards; 128000/16384 when no figure is published). Without one, OpenCode reads any failed request as a context overflow and the real error is hidden.
595
- - **No Anthropic models in GovCloud**: a GovCloud config adds `amazon-bedrock` (OpenCode's built-in Bedrock provider, which lists Anthropic models) to `disabled_providers`. Your own entries in that list are kept.
595
+ - **Only GovCloud providers in GovCloud**: a GovCloud config sets `enabled_providers` to the providers ai-shell writes (the three Bedrock providers and your `endpoints`). It also adds `amazon-bedrock` (OpenCode's built-in Bedrock provider, which lists Anthropic models) and `opencode` (OpenCode's hosted models, outside AWS) to `disabled_providers`; your own entries in that list are kept.
596
596
 
597
597
  ```bash
598
598
  # Commercial AWS (defaults to us-east-1) using an AWS SSO profile
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "augint-shell"
3
- version = "0.124.1"
3
+ version = "0.124.2"
4
4
  description = "Launch AI coding tools and local LLMs in Docker containers"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.12"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "augint-shell"
3
- version = "0.124.1"
3
+ version = "0.124.2"
4
4
  description = "Launch AI coding tools and local LLMs in Docker containers"
5
5
  authors = [{name = "svange"}]
6
6
  readme = "README.md"
@@ -1,6 +1,6 @@
1
1
  """augint-shell (ai-shell) - Launch AI coding tools and local LLMs in Docker containers."""
2
2
 
3
- __version__ = "0.124.1"
3
+ __version__ = "0.124.2"
4
4
 
5
5
  __all__ = [
6
6
  "__version__",
@@ -65,10 +65,12 @@ BEDROCK_MODEL_LIMITS: dict[str, dict[str, int]] = {
65
65
  "xai.grok-4.7": {"context": 500000, "output": 32768},
66
66
  }
67
67
  BEDROCK_FALLBACK_LIMIT: dict[str, int] = {"context": 128000, "output": 16384}
68
- # OpenCode's built-in Bedrock provider lists Anthropic models from the same AWS
69
- # credentials. Anthropic models are not allowed for GovCloud work, so a GovCloud
70
- # config turns that provider off.
71
- GOVCLOUD_DISABLED_PROVIDERS: tuple[str, ...] = ("amazon-bedrock",)
68
+ # GovCloud work must stay in GovCloud. OpenCode has built-in providers outside it:
69
+ # ``amazon-bedrock`` lists Anthropic models from the same AWS credentials, and
70
+ # ``opencode`` (OpenCode's hosted models, e.g. big-pickle) sends prompts to the
71
+ # internet. A GovCloud config therefore allows only the providers ai-shell writes
72
+ # (``enabled_providers``) and also names the known ones in ``disabled_providers``.
73
+ GOVCLOUD_DISABLED_PROVIDERS: tuple[str, ...] = ("amazon-bedrock", "opencode")
72
74
  # Models listed in the OpenCode model picker. Mantle serves gpt-oss on /v1 and
73
75
  # GPT-5.x on /openai/v1, and Grok is served by bedrock-runtime, so each list
74
76
  # becomes its own provider.
@@ -861,6 +863,7 @@ def build_opencode_config_patch(
861
863
  patch["agent"] = agent_patch
862
864
  if govcloud:
863
865
  patch["disabled_providers"] = list(GOVCLOUD_DISABLED_PROVIDERS)
866
+ patch["enabled_providers"] = list(providers_patch)
864
867
 
865
868
  return patch
866
869