akernel-runtime 0.1.2__tar.gz → 0.1.5__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 (96) hide show
  1. akernel_runtime-0.1.5/.env.example +4 -0
  2. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/.github/release-notes/v0.1.0.md +1 -1
  3. akernel_runtime-0.1.5/.github/release-notes/v0.1.3.md +30 -0
  4. akernel_runtime-0.1.5/.github/release-notes/v0.1.4.md +30 -0
  5. akernel_runtime-0.1.5/.github/release-notes/v0.1.5.md +31 -0
  6. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/CHANGELOG.md +21 -0
  7. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/PKG-INFO +14 -12
  8. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/README.md +9 -7
  9. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/docs/01-architecture.md +5 -5
  10. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/docs/05-local-wake.md +1 -1
  11. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/docs/07-release-and-ci.md +2 -2
  12. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/docs/11-publishing-setup.md +3 -3
  13. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/packages/npm/akernel/README.md +1 -1
  14. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/packages/npm/akernel/package.json +4 -4
  15. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/pyproject.toml +5 -5
  16. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/scripts/install_remote.ps1 +2 -2
  17. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/setup.ps1 +8 -8
  18. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/akernel_runtime.egg-info/PKG-INFO +14 -12
  19. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/akernel_runtime.egg-info/SOURCES.txt +3 -0
  20. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/__init__.py +1 -1
  21. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/cli.py +41 -29
  22. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/global_memory.py +1 -1
  23. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/loop.py +9 -4
  24. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/providers.py +28 -11
  25. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/tests/test_runtime.py +43 -13
  26. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/wake.ps1 +3 -3
  27. akernel_runtime-0.1.2/.env.example +0 -4
  28. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  29. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  30. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/.github/pull_request_template.md +0 -0
  31. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/.github/release-notes/v0.1.1.md +0 -0
  32. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/.github/release-notes/v0.1.2.md +0 -0
  33. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/.github/workflows/ci.yml +0 -0
  34. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/.github/workflows/release.yml +0 -0
  35. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/CODE_OF_CONDUCT.md +0 -0
  36. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/CONTRIBUTING.md +0 -0
  37. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/LICENSE +0 -0
  38. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/MANIFEST.in +0 -0
  39. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/NOTICE +0 -0
  40. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/SECURITY.md +0 -0
  41. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/docs/00-vision.md +0 -0
  42. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/docs/02-execution-plan.md +0 -0
  43. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/docs/03-cli-mvp.md +0 -0
  44. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/docs/04-evaluation.md +0 -0
  45. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/docs/06-skill-compiler.md +0 -0
  46. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/docs/08-open-source-plan.md +0 -0
  47. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/docs/09-product-roadmap.md +0 -0
  48. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/docs/10-benchmark-evidence.md +0 -0
  49. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/examples/benchmarks/phase2/01-routing.json +0 -0
  50. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/examples/benchmarks/phase2/02-memory.json +0 -0
  51. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/examples/benchmarks/phase2/03-budget-profiles.json +0 -0
  52. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/examples/benchmarks/scale/01-context-pressure.json +0 -0
  53. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/examples/benchmarks/scale/02-agent-editing.json +0 -0
  54. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/examples/benchmarks/scale/03-global-memory-marketplace.json +0 -0
  55. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/examples/evals/phase2.json +0 -0
  56. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/examples/marketplace/skills/index.json +0 -0
  57. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/examples/skills/context_budget.json +0 -0
  58. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/examples/skills/edit_file.json +0 -0
  59. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/examples/skills/markdown/context_budget.md +0 -0
  60. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/packages/npm/akernel/bin/akernel.js +0 -0
  61. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/scripts/release_check.ps1 +0 -0
  62. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/setup.cfg +0 -0
  63. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/setup.cmd +0 -0
  64. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/akernel_runtime.egg-info/dependency_links.txt +0 -0
  65. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/akernel_runtime.egg-info/entry_points.txt +0 -0
  66. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/akernel_runtime.egg-info/requires.txt +0 -0
  67. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/akernel_runtime.egg-info/top_level.txt +0 -0
  68. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/__main__.py +0 -0
  69. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/agent_reports.py +0 -0
  70. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/benchmarks.py +0 -0
  71. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/budget.py +0 -0
  72. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/context.py +0 -0
  73. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/evals.py +0 -0
  74. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/marketplace.py +0 -0
  75. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/marketplace_data/skills/context_budget.json +0 -0
  76. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/marketplace_data/skills/context_compaction.json +0 -0
  77. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/marketplace_data/skills/edit_file.json +0 -0
  78. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/marketplace_data/skills/index.json +0 -0
  79. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/marketplace_data/skills/long_task_planning.json +0 -0
  80. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/marketplace_data/skills/multi_file_bugfix.json +0 -0
  81. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/memory.py +0 -0
  82. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/models.py +0 -0
  83. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/planner.py +0 -0
  84. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/policy.py +0 -0
  85. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/project.py +0 -0
  86. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/report_costs.py +0 -0
  87. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/runner.py +0 -0
  88. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/skills.py +0 -0
  89. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/state_writer.py +0 -0
  90. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/storage.py +0 -0
  91. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/tasks.py +0 -0
  92. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/text.py +0 -0
  93. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/tokenizer.py +0 -0
  94. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/tools.py +0 -0
  95. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/src/context_kernel/verifier.py +0 -0
  96. {akernel_runtime-0.1.2 → akernel_runtime-0.1.5}/wake.cmd +0 -0
@@ -0,0 +1,4 @@
1
+ AKERNEL_OPENAI_API_KEY=replace-with-your-key
2
+ AKERNEL_OPENAI_BASE_URL=https://clarmy.cloud/v1
3
+ AKERNEL_OPENAI_MODEL=gpt-5.5
4
+ AKERNEL_OPENAI_AUX_MODEL=gpt-5.3-codex
@@ -17,7 +17,7 @@ akernel
17
17
  Windows users can also install directly from GitHub:
18
18
 
19
19
  ```powershell
20
- irm https://raw.githubusercontent.com/huanxin0825-ctrl/context-kernel/main/scripts/install_remote.ps1 | iex
20
+ irm https://raw.githubusercontent.com/huanxin0825-ctrl/context-akernel/main/scripts/install_remote.ps1 | iex
21
21
  akernel setup
22
22
  akernel
23
23
  ```
@@ -0,0 +1,30 @@
1
+ # Context Kernel v0.1.3
2
+
3
+ This release aligns public repository metadata with the npm scope and completes the move toward the `akernel` naming surface.
4
+
5
+ ## Install
6
+
7
+ Python:
8
+
9
+ ```powershell
10
+ python -m pip install --user --upgrade akernel-runtime
11
+ akernel setup
12
+ akernel
13
+ ```
14
+
15
+ npm launcher:
16
+
17
+ ```powershell
18
+ npm install -g @context-akernel/akernel
19
+ akernel setup
20
+ akernel
21
+ ```
22
+
23
+ ## Changes
24
+
25
+ - Updated repository metadata and install links from `context-kernel` to `context-akernel`.
26
+ - Keeps `akernel-runtime` as the Python package and `@context-akernel/akernel` as the npm launcher package.
27
+
28
+ ## Notes
29
+
30
+ If you use Trusted Publishing, ensure PyPI and npm publisher settings now point to the GitHub repository `huanxin0825-ctrl/context-akernel`.
@@ -0,0 +1,30 @@
1
+ # Context Kernel v0.1.4
2
+
3
+ This release verifies the refreshed GitHub repository identity after the public move to `context-akernel`.
4
+
5
+ ## Install
6
+
7
+ Python:
8
+
9
+ ```powershell
10
+ python -m pip install --user --upgrade akernel-runtime
11
+ akernel setup
12
+ akernel
13
+ ```
14
+
15
+ npm launcher:
16
+
17
+ ```powershell
18
+ npm install -g @context-akernel/akernel
19
+ akernel setup
20
+ akernel
21
+ ```
22
+
23
+ ## Changes
24
+
25
+ - Publishes a clean patch release after updating Trusted Publisher bindings to `huanxin0825-ctrl/context-akernel`.
26
+ - Keeps the package names stable: `akernel-runtime` on PyPI and `@context-akernel/akernel` on npm.
27
+
28
+ ## Notes
29
+
30
+ Use this version to confirm both package registries now trust the renamed GitHub repository.
@@ -0,0 +1,31 @@
1
+ # Context Kernel v0.1.5
2
+
3
+ This patch fixes a critical interactive TUI startup bug.
4
+
5
+ ## Install
6
+
7
+ Python:
8
+
9
+ ```powershell
10
+ python -m pip install --user --upgrade akernel-runtime
11
+ akernel setup
12
+ akernel
13
+ ```
14
+
15
+ npm launcher:
16
+
17
+ ```powershell
18
+ npm install -g @context-akernel/akernel
19
+ akernel setup
20
+ akernel
21
+ ```
22
+
23
+ ## Fixes
24
+
25
+ - Fixed TUI chat sessions exiting on the first normal user message.
26
+ - Stabilized `.env` lookup so the launcher project root is used before unrelated parent-directory `.env` files.
27
+
28
+ ## Verification
29
+
30
+ - Added a forced `--ui tui` regression test that sends a task and confirms the agent loop completes.
31
+ - Ran the full Python test suite.
@@ -8,11 +8,32 @@ The project follows a pragmatic pre-1.0 changelog: breaking changes may occur, b
8
8
 
9
9
  No changes yet.
10
10
 
11
+ ## 0.1.5 - 2026-05-12
12
+
13
+ ### Fixed
14
+
15
+ - Fixed TUI chat sessions exiting on the first user message because the interactive state holder was not initialized.
16
+ - Made project-root `.env` fallback stable when a user-level parent directory also contains a `.env` file.
17
+
18
+ ## 0.1.4 - 2026-05-12
19
+
20
+ ### Changed
21
+
22
+ - Reissued the repository rename release after refreshing package publisher bindings for `context-akernel`.
23
+
24
+ ## 0.1.3 - 2026-05-12
25
+
26
+ ### Changed
27
+
28
+ - Renamed repository metadata and install links from `context-kernel` to `context-akernel` to align with the npm scope.
29
+
11
30
  ## 0.1.2 - 2026-05-12
12
31
 
13
32
  ### Changed
14
33
 
15
34
  - Renamed the prepared npm launcher scope from `@context-kernel/akernel` to `@context-akernel/akernel`.
35
+ - Renamed project-local provider environment variables from `CONTEXT_KERNEL_OPENAI_*` to `AKERNEL_OPENAI_*` while keeping legacy names as a compatibility fallback.
36
+ - Moved the default user launcher directory from `%USERPROFILE%\.context-kernel\bin` to `%USERPROFILE%\.akernel\bin`.
16
37
 
17
38
  ## 0.1.1 - 2026-05-12
18
39
 
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: akernel-runtime
3
- Version: 0.1.2
3
+ Version: 0.1.5
4
4
  Summary: Agent Kernel: a CLI-first context-native agent runtime prototype.
5
5
  Author: Context Kernel contributors
6
6
  License-Expression: Apache-2.0
7
- Project-URL: Homepage, https://github.com/huanxin0825-ctrl/context-kernel
8
- Project-URL: Repository, https://github.com/huanxin0825-ctrl/context-kernel
9
- Project-URL: Issues, https://github.com/huanxin0825-ctrl/context-kernel/issues
10
- Project-URL: Changelog, https://github.com/huanxin0825-ctrl/context-kernel/blob/main/CHANGELOG.md
7
+ Project-URL: Homepage, https://github.com/huanxin0825-ctrl/context-akernel
8
+ Project-URL: Repository, https://github.com/huanxin0825-ctrl/context-akernel
9
+ Project-URL: Issues, https://github.com/huanxin0825-ctrl/context-akernel/issues
10
+ Project-URL: Changelog, https://github.com/huanxin0825-ctrl/context-akernel/blob/main/CHANGELOG.md
11
11
  Keywords: agent,cli,context,llm,token-budget
12
12
  Classifier: Development Status :: 3 - Alpha
13
13
  Classifier: Intended Audience :: Developers
@@ -101,7 +101,7 @@ akernel
101
101
 
102
102
  `setup.cmd` creates `.venv`, installs the local CLI in editable mode, and prepares project-local `.env` if needed. `wake.cmd` activates the environment, loads `.env`, and prints common commands. The `.cmd` wrappers avoid local PowerShell execution-policy friction.
103
103
 
104
- `setup.cmd` also installs user-level launchers in `%USERPROFILE%\.context-kernel\bin` and adds that directory to the user PATH. After opening a new terminal, `akernel` works from any directory, starts the interactive agent session by default, and uses that current directory as the workspace location. Environment lookup prefers the current project `.env`, then falls back to the installed Context Kernel project `.env`. `akernel-chat` remains as a compatibility shortcut.
104
+ `setup.cmd` also installs user-level launchers in `%USERPROFILE%\.akernel\bin` and adds that directory to the user PATH. After opening a new terminal, `akernel` works from any directory, starts the interactive agent session by default, and uses that current directory as the workspace location. Environment lookup prefers the current project `.env`, then falls back to the installed Context Kernel project `.env`. `akernel-chat` remains as a compatibility shortcut.
105
105
 
106
106
  ### Manual Python Install
107
107
 
@@ -127,7 +127,7 @@ akernel
127
127
  Windows users can also install directly from GitHub:
128
128
 
129
129
  ```powershell
130
- irm https://raw.githubusercontent.com/huanxin0825-ctrl/context-kernel/main/scripts/install_remote.ps1 | iex
130
+ irm https://raw.githubusercontent.com/huanxin0825-ctrl/context-akernel/main/scripts/install_remote.ps1 | iex
131
131
  akernel setup
132
132
  akernel
133
133
  ```
@@ -142,7 +142,7 @@ akernel setup
142
142
  akernel
143
143
  ```
144
144
 
145
- Set `AKERNEL_PIP_SOURCE=git+https://github.com/huanxin0825-ctrl/context-kernel.git` to make the npm launcher bootstrap from GitHub instead of PyPI.
145
+ Set `AKERNEL_PIP_SOURCE=git+https://github.com/huanxin0825-ctrl/context-akernel.git` to make the npm launcher bootstrap from GitHub instead of PyPI.
146
146
 
147
147
  ## Quick Start
148
148
 
@@ -183,12 +183,14 @@ The current deterministic scale snapshot is documented in [Benchmark Evidence](d
183
183
  Provider configuration is project-local. Copy `.env.example` to `.env` or use `setup.cmd -ForceEnv`.
184
184
 
185
185
  ```env
186
- CONTEXT_KERNEL_OPENAI_API_KEY=replace-with-your-key
187
- CONTEXT_KERNEL_OPENAI_BASE_URL=https://clarmy.cloud/v1
188
- CONTEXT_KERNEL_OPENAI_MODEL=gpt-5.5
189
- CONTEXT_KERNEL_OPENAI_AUX_MODEL=gpt-5.3-codex
186
+ AKERNEL_OPENAI_API_KEY=replace-with-your-key
187
+ AKERNEL_OPENAI_BASE_URL=https://clarmy.cloud/v1
188
+ AKERNEL_OPENAI_MODEL=gpt-5.5
189
+ AKERNEL_OPENAI_AUX_MODEL=gpt-5.3-codex
190
190
  ```
191
191
 
192
+ Legacy `CONTEXT_KERNEL_OPENAI_*` names are still read as a compatibility fallback, but new projects should use `AKERNEL_OPENAI_*`.
193
+
192
194
  Useful checks:
193
195
 
194
196
  ```powershell
@@ -74,7 +74,7 @@ akernel
74
74
 
75
75
  `setup.cmd` creates `.venv`, installs the local CLI in editable mode, and prepares project-local `.env` if needed. `wake.cmd` activates the environment, loads `.env`, and prints common commands. The `.cmd` wrappers avoid local PowerShell execution-policy friction.
76
76
 
77
- `setup.cmd` also installs user-level launchers in `%USERPROFILE%\.context-kernel\bin` and adds that directory to the user PATH. After opening a new terminal, `akernel` works from any directory, starts the interactive agent session by default, and uses that current directory as the workspace location. Environment lookup prefers the current project `.env`, then falls back to the installed Context Kernel project `.env`. `akernel-chat` remains as a compatibility shortcut.
77
+ `setup.cmd` also installs user-level launchers in `%USERPROFILE%\.akernel\bin` and adds that directory to the user PATH. After opening a new terminal, `akernel` works from any directory, starts the interactive agent session by default, and uses that current directory as the workspace location. Environment lookup prefers the current project `.env`, then falls back to the installed Context Kernel project `.env`. `akernel-chat` remains as a compatibility shortcut.
78
78
 
79
79
  ### Manual Python Install
80
80
 
@@ -100,7 +100,7 @@ akernel
100
100
  Windows users can also install directly from GitHub:
101
101
 
102
102
  ```powershell
103
- irm https://raw.githubusercontent.com/huanxin0825-ctrl/context-kernel/main/scripts/install_remote.ps1 | iex
103
+ irm https://raw.githubusercontent.com/huanxin0825-ctrl/context-akernel/main/scripts/install_remote.ps1 | iex
104
104
  akernel setup
105
105
  akernel
106
106
  ```
@@ -115,7 +115,7 @@ akernel setup
115
115
  akernel
116
116
  ```
117
117
 
118
- Set `AKERNEL_PIP_SOURCE=git+https://github.com/huanxin0825-ctrl/context-kernel.git` to make the npm launcher bootstrap from GitHub instead of PyPI.
118
+ Set `AKERNEL_PIP_SOURCE=git+https://github.com/huanxin0825-ctrl/context-akernel.git` to make the npm launcher bootstrap from GitHub instead of PyPI.
119
119
 
120
120
  ## Quick Start
121
121
 
@@ -156,12 +156,14 @@ The current deterministic scale snapshot is documented in [Benchmark Evidence](d
156
156
  Provider configuration is project-local. Copy `.env.example` to `.env` or use `setup.cmd -ForceEnv`.
157
157
 
158
158
  ```env
159
- CONTEXT_KERNEL_OPENAI_API_KEY=replace-with-your-key
160
- CONTEXT_KERNEL_OPENAI_BASE_URL=https://clarmy.cloud/v1
161
- CONTEXT_KERNEL_OPENAI_MODEL=gpt-5.5
162
- CONTEXT_KERNEL_OPENAI_AUX_MODEL=gpt-5.3-codex
159
+ AKERNEL_OPENAI_API_KEY=replace-with-your-key
160
+ AKERNEL_OPENAI_BASE_URL=https://clarmy.cloud/v1
161
+ AKERNEL_OPENAI_MODEL=gpt-5.5
162
+ AKERNEL_OPENAI_AUX_MODEL=gpt-5.3-codex
163
163
  ```
164
164
 
165
+ Legacy `CONTEXT_KERNEL_OPENAI_*` names are still read as a compatibility fallback, but new projects should use `AKERNEL_OPENAI_*`.
166
+
165
167
  Useful checks:
166
168
 
167
169
  ```powershell
@@ -98,14 +98,14 @@ The model provider is an interface. The CLI includes a mock provider for determi
98
98
 
99
99
  Provider secrets are loaded from current process environment first, then project-local `.env`. The `.env` file is ignored by git and should stay local to the working copy.
100
100
 
101
- - `CONTEXT_KERNEL_OPENAI_API_KEY`
102
- - `CONTEXT_KERNEL_OPENAI_BASE_URL`
103
- - `CONTEXT_KERNEL_OPENAI_MODEL`
104
- - `CONTEXT_KERNEL_OPENAI_AUX_MODEL`
101
+ - `AKERNEL_OPENAI_API_KEY`
102
+ - `AKERNEL_OPENAI_BASE_URL`
103
+ - `AKERNEL_OPENAI_MODEL`
104
+ - `AKERNEL_OPENAI_AUX_MODEL`
105
105
 
106
106
  OpenAI-compatible base URLs are normalized to a `/v1` API root, so both `https://host` and `https://host/v1` are accepted.
107
107
 
108
- `CONTEXT_KERNEL_OPENAI_MODEL` is the primary execution model used for high-risk, deep, warning-heavy, or synthesis steps. `CONTEXT_KERNEL_OPENAI_AUX_MODEL` is the auxiliary model role used for low/medium first-step planning in automatic routing and for auxiliary review before primary-model steps. Review traces are saved and their tokens are included in agent cost reports.
108
+ `AKERNEL_OPENAI_MODEL` is the primary execution model used for high-risk, deep, warning-heavy, or synthesis steps. `AKERNEL_OPENAI_AUX_MODEL` is the auxiliary model role used for low/medium first-step planning in automatic routing and for auxiliary review before primary-model steps. Review traces are saved and their tokens are included in agent cost reports.
109
109
 
110
110
  ### Verifier
111
111
 
@@ -25,7 +25,7 @@ akernel
25
25
  akernel --help
26
26
  ```
27
27
 
28
- The launchers live in `%USERPROFILE%\.context-kernel\bin`, and that directory is added to the user PATH. Open a new terminal if the commands are not visible immediately. `akernel` uses the current directory as the workspace, stores state in `.akernel`, and initializes it if needed. Environment lookup prefers the current directory `.env`, then falls back to the installed Context Kernel project `.env`. `akernel-chat` is kept as a compatibility shortcut.
28
+ The launchers live in `%USERPROFILE%\.akernel\bin`, and that directory is added to the user PATH. Open a new terminal if the commands are not visible immediately. `akernel` uses the current directory as the workspace, stores state in `.akernel`, and initializes it if needed. Environment lookup prefers the current directory `.env`, then falls back to the installed Context Kernel project `.env`. `akernel-chat` is kept as a compatibility shortcut.
29
29
 
30
30
  ## Wake The Project
31
31
 
@@ -94,7 +94,7 @@ akernel
94
94
  Until PyPI publishing is enabled, Windows users can install from GitHub with:
95
95
 
96
96
  ```powershell
97
- irm https://raw.githubusercontent.com/huanxin0825-ctrl/context-kernel/main/scripts/install_remote.ps1 | iex
97
+ irm https://raw.githubusercontent.com/huanxin0825-ctrl/context-akernel/main/scripts/install_remote.ps1 | iex
98
98
  akernel setup
99
99
  akernel
100
100
  ```
@@ -107,7 +107,7 @@ akernel setup
107
107
  akernel
108
108
  ```
109
109
 
110
- Before PyPI publication, set `AKERNEL_PIP_SOURCE=git+https://github.com/huanxin0825-ctrl/context-kernel.git` so the npm wrapper bootstraps from GitHub.
110
+ Before PyPI publication, set `AKERNEL_PIP_SOURCE=git+https://github.com/huanxin0825-ctrl/context-akernel.git` so the npm wrapper bootstraps from GitHub.
111
111
 
112
112
  `bench gate` also requires the current benchmark report itself to pass its checks. This prevents a bad first run from becoming the new normal just because the relative diff has no regression.
113
113
  The release workflow also uploads benchmark evidence as a workflow artifact so release preparation carries a reproducible token-savings snapshot.
@@ -8,7 +8,7 @@ Do not commit credentials to the repository. Do not paste PyPI or npm tokens int
8
8
 
9
9
  You need:
10
10
 
11
- - A GitHub account with admin access to `huanxin0825-ctrl/context-kernel`.
11
+ - A GitHub account with admin access to `huanxin0825-ctrl/context-akernel`.
12
12
  - A PyPI account with two-factor authentication enabled.
13
13
  - An npm account with two-factor authentication enabled.
14
14
  - Either an npm organization or user scope that can publish the package name used by `packages/npm/akernel/package.json`.
@@ -30,7 +30,7 @@ Configure a PyPI trusted publisher with these values:
30
30
  | --- | --- |
31
31
  | PyPI project name | `akernel-runtime` |
32
32
  | Owner | `huanxin0825-ctrl` |
33
- | Repository name | `context-kernel` |
33
+ | Repository name | `context-akernel` |
34
34
  | Workflow filename | `release.yml` |
35
35
  | Environment name | `pypi` |
36
36
 
@@ -63,7 +63,7 @@ Recommended path: use npm Trusted Publishing. It avoids a long-lived npm token a
63
63
  | --- | --- |
64
64
  | Package | `@context-akernel/akernel` |
65
65
  | Owner | `huanxin0825-ctrl` |
66
- | Repository name | `context-kernel` |
66
+ | Repository name | `context-akernel` |
67
67
  | Workflow filename | `release.yml` |
68
68
  | Environment name | `npm` |
69
69
 
@@ -18,7 +18,7 @@ python -m pip install --user --upgrade akernel-runtime
18
18
 
19
19
  Useful environment overrides:
20
20
 
21
- - `AKERNEL_PIP_SOURCE=git+https://github.com/huanxin0825-ctrl/context-kernel.git` installs from GitHub instead of PyPI.
21
+ - `AKERNEL_PIP_SOURCE=git+https://github.com/huanxin0825-ctrl/context-akernel.git` installs from GitHub instead of PyPI.
22
22
  - `AKERNEL_SKIP_BOOTSTRAP=1` disables automatic pip installation.
23
23
 
24
24
  Python 3.10 or newer is required. The Python package remains the source of truth.
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@context-akernel/akernel",
3
- "version": "0.1.2",
3
+ "version": "0.1.5",
4
4
  "description": "npm launcher wrapper for the Context Kernel akernel CLI.",
5
5
  "license": "Apache-2.0",
6
- "homepage": "https://github.com/huanxin0825-ctrl/context-kernel#readme",
6
+ "homepage": "https://github.com/huanxin0825-ctrl/context-akernel#readme",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "git+https://github.com/huanxin0825-ctrl/context-kernel.git",
9
+ "url": "git+https://github.com/huanxin0825-ctrl/context-akernel.git",
10
10
  "directory": "packages/npm/akernel"
11
11
  },
12
12
  "bugs": {
13
- "url": "https://github.com/huanxin0825-ctrl/context-kernel/issues"
13
+ "url": "https://github.com/huanxin0825-ctrl/context-akernel/issues"
14
14
  },
15
15
  "keywords": [
16
16
  "agent",
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "akernel-runtime"
7
- version = "0.1.2"
7
+ version = "0.1.5"
8
8
  description = "Agent Kernel: a CLI-first context-native agent runtime prototype."
9
9
  readme = "README.md"
10
10
  license = "Apache-2.0"
@@ -26,10 +26,10 @@ classifiers = [
26
26
  ]
27
27
 
28
28
  [project.urls]
29
- Homepage = "https://github.com/huanxin0825-ctrl/context-kernel"
30
- Repository = "https://github.com/huanxin0825-ctrl/context-kernel"
31
- Issues = "https://github.com/huanxin0825-ctrl/context-kernel/issues"
32
- Changelog = "https://github.com/huanxin0825-ctrl/context-kernel/blob/main/CHANGELOG.md"
29
+ Homepage = "https://github.com/huanxin0825-ctrl/context-akernel"
30
+ Repository = "https://github.com/huanxin0825-ctrl/context-akernel"
31
+ Issues = "https://github.com/huanxin0825-ctrl/context-akernel/issues"
32
+ Changelog = "https://github.com/huanxin0825-ctrl/context-akernel/blob/main/CHANGELOG.md"
33
33
 
34
34
  [project.optional-dependencies]
35
35
  dev = ["build>=1.2", "twine>=5.0"]
@@ -1,6 +1,6 @@
1
1
  param(
2
- [string]$Source = "git+https://github.com/huanxin0825-ctrl/context-kernel.git",
3
- [string]$LauncherDir = "$env:USERPROFILE\.context-kernel\bin"
2
+ [string]$Source = "git+https://github.com/huanxin0825-ctrl/context-akernel.git",
3
+ [string]$LauncherDir = "$env:USERPROFILE\.akernel\bin"
4
4
  )
5
5
 
6
6
  $ErrorActionPreference = "Stop"
@@ -13,7 +13,7 @@ $ProjectRoot = Split-Path -Parent $MyInvocation.MyCommand.Path
13
13
  $VenvPath = Join-Path $ProjectRoot ".venv"
14
14
  $PythonPath = Join-Path $VenvPath "Scripts\python.exe"
15
15
  $EnvPath = Join-Path $ProjectRoot ".env"
16
- $LauncherDir = Join-Path $env:USERPROFILE ".context-kernel\bin"
16
+ $LauncherDir = Join-Path $env:USERPROFILE ".akernel\bin"
17
17
 
18
18
  function Install-GlobalLaunchers {
19
19
  param(
@@ -27,7 +27,7 @@ function Install-GlobalLaunchers {
27
27
  $akernel = @"
28
28
  @echo off
29
29
  setlocal
30
- set "CONTEXT_KERNEL_PROJECT_ROOT=$ProjectRoot"
30
+ set "AKERNEL_PROJECT_ROOT=$ProjectRoot"
31
31
  "$PythonPath" -m context_kernel %*
32
32
  exit /b %ERRORLEVEL%
33
33
  "@
@@ -36,7 +36,7 @@ exit /b %ERRORLEVEL%
36
36
  $chat = @"
37
37
  @echo off
38
38
  setlocal
39
- set "CONTEXT_KERNEL_PROJECT_ROOT=$ProjectRoot"
39
+ set "AKERNEL_PROJECT_ROOT=$ProjectRoot"
40
40
  "$PythonPath" -m context_kernel chat %*
41
41
  exit /b %ERRORLEVEL%
42
42
  "@
@@ -76,15 +76,15 @@ if ($ForceEnv -or -not (Test-Path -LiteralPath $EnvPath)) {
76
76
  if (Test-Path -LiteralPath $EnvPath) {
77
77
  Write-Host "Keeping existing .env because no ApiKey was provided."
78
78
  } else {
79
- Write-Host "Creating .env from .env.example. Fill in CONTEXT_KERNEL_OPENAI_API_KEY before using openai provider."
79
+ Write-Host "Creating .env from .env.example. Fill in AKERNEL_OPENAI_API_KEY before using openai provider."
80
80
  Copy-Item -LiteralPath (Join-Path $ProjectRoot ".env.example") -Destination $EnvPath
81
81
  }
82
82
  } else {
83
83
  $lines = @(
84
- "CONTEXT_KERNEL_OPENAI_API_KEY=$ApiKey",
85
- "CONTEXT_KERNEL_OPENAI_BASE_URL=$BaseUrl",
86
- "CONTEXT_KERNEL_OPENAI_MODEL=$Model",
87
- "CONTEXT_KERNEL_OPENAI_AUX_MODEL=$AuxModel"
84
+ "AKERNEL_OPENAI_API_KEY=$ApiKey",
85
+ "AKERNEL_OPENAI_BASE_URL=$BaseUrl",
86
+ "AKERNEL_OPENAI_MODEL=$Model",
87
+ "AKERNEL_OPENAI_AUX_MODEL=$AuxModel"
88
88
  )
89
89
  Set-Content -LiteralPath $EnvPath -Value $lines -Encoding UTF8
90
90
  Write-Host "Wrote project-local .env."
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: akernel-runtime
3
- Version: 0.1.2
3
+ Version: 0.1.5
4
4
  Summary: Agent Kernel: a CLI-first context-native agent runtime prototype.
5
5
  Author: Context Kernel contributors
6
6
  License-Expression: Apache-2.0
7
- Project-URL: Homepage, https://github.com/huanxin0825-ctrl/context-kernel
8
- Project-URL: Repository, https://github.com/huanxin0825-ctrl/context-kernel
9
- Project-URL: Issues, https://github.com/huanxin0825-ctrl/context-kernel/issues
10
- Project-URL: Changelog, https://github.com/huanxin0825-ctrl/context-kernel/blob/main/CHANGELOG.md
7
+ Project-URL: Homepage, https://github.com/huanxin0825-ctrl/context-akernel
8
+ Project-URL: Repository, https://github.com/huanxin0825-ctrl/context-akernel
9
+ Project-URL: Issues, https://github.com/huanxin0825-ctrl/context-akernel/issues
10
+ Project-URL: Changelog, https://github.com/huanxin0825-ctrl/context-akernel/blob/main/CHANGELOG.md
11
11
  Keywords: agent,cli,context,llm,token-budget
12
12
  Classifier: Development Status :: 3 - Alpha
13
13
  Classifier: Intended Audience :: Developers
@@ -101,7 +101,7 @@ akernel
101
101
 
102
102
  `setup.cmd` creates `.venv`, installs the local CLI in editable mode, and prepares project-local `.env` if needed. `wake.cmd` activates the environment, loads `.env`, and prints common commands. The `.cmd` wrappers avoid local PowerShell execution-policy friction.
103
103
 
104
- `setup.cmd` also installs user-level launchers in `%USERPROFILE%\.context-kernel\bin` and adds that directory to the user PATH. After opening a new terminal, `akernel` works from any directory, starts the interactive agent session by default, and uses that current directory as the workspace location. Environment lookup prefers the current project `.env`, then falls back to the installed Context Kernel project `.env`. `akernel-chat` remains as a compatibility shortcut.
104
+ `setup.cmd` also installs user-level launchers in `%USERPROFILE%\.akernel\bin` and adds that directory to the user PATH. After opening a new terminal, `akernel` works from any directory, starts the interactive agent session by default, and uses that current directory as the workspace location. Environment lookup prefers the current project `.env`, then falls back to the installed Context Kernel project `.env`. `akernel-chat` remains as a compatibility shortcut.
105
105
 
106
106
  ### Manual Python Install
107
107
 
@@ -127,7 +127,7 @@ akernel
127
127
  Windows users can also install directly from GitHub:
128
128
 
129
129
  ```powershell
130
- irm https://raw.githubusercontent.com/huanxin0825-ctrl/context-kernel/main/scripts/install_remote.ps1 | iex
130
+ irm https://raw.githubusercontent.com/huanxin0825-ctrl/context-akernel/main/scripts/install_remote.ps1 | iex
131
131
  akernel setup
132
132
  akernel
133
133
  ```
@@ -142,7 +142,7 @@ akernel setup
142
142
  akernel
143
143
  ```
144
144
 
145
- Set `AKERNEL_PIP_SOURCE=git+https://github.com/huanxin0825-ctrl/context-kernel.git` to make the npm launcher bootstrap from GitHub instead of PyPI.
145
+ Set `AKERNEL_PIP_SOURCE=git+https://github.com/huanxin0825-ctrl/context-akernel.git` to make the npm launcher bootstrap from GitHub instead of PyPI.
146
146
 
147
147
  ## Quick Start
148
148
 
@@ -183,12 +183,14 @@ The current deterministic scale snapshot is documented in [Benchmark Evidence](d
183
183
  Provider configuration is project-local. Copy `.env.example` to `.env` or use `setup.cmd -ForceEnv`.
184
184
 
185
185
  ```env
186
- CONTEXT_KERNEL_OPENAI_API_KEY=replace-with-your-key
187
- CONTEXT_KERNEL_OPENAI_BASE_URL=https://clarmy.cloud/v1
188
- CONTEXT_KERNEL_OPENAI_MODEL=gpt-5.5
189
- CONTEXT_KERNEL_OPENAI_AUX_MODEL=gpt-5.3-codex
186
+ AKERNEL_OPENAI_API_KEY=replace-with-your-key
187
+ AKERNEL_OPENAI_BASE_URL=https://clarmy.cloud/v1
188
+ AKERNEL_OPENAI_MODEL=gpt-5.5
189
+ AKERNEL_OPENAI_AUX_MODEL=gpt-5.3-codex
190
190
  ```
191
191
 
192
+ Legacy `CONTEXT_KERNEL_OPENAI_*` names are still read as a compatibility fallback, but new projects should use `AKERNEL_OPENAI_*`.
193
+
192
194
  Useful checks:
193
195
 
194
196
  ```powershell
@@ -18,6 +18,9 @@ wake.ps1
18
18
  .github/release-notes/v0.1.0.md
19
19
  .github/release-notes/v0.1.1.md
20
20
  .github/release-notes/v0.1.2.md
21
+ .github/release-notes/v0.1.3.md
22
+ .github/release-notes/v0.1.4.md
23
+ .github/release-notes/v0.1.5.md
21
24
  .github/workflows/ci.yml
22
25
  .github/workflows/release.yml
23
26
  docs/00-vision.md
@@ -1,3 +1,3 @@
1
1
  """Context Kernel CLI-first agent runtime prototype."""
2
2
 
3
- __version__ = "0.1.2"
3
+ __version__ = "0.1.5"