@asm-agent/coding-agent 0.8.8 → 0.9.1

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 (182) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +2 -7
  3. package/dist/asm-agent-runtime/src/__pycache__/asm_cm_driver.cpython-313.pyc +0 -0
  4. package/dist/asm-agent-runtime/src/__pycache__/phase76_address_head.cpython-313.pyc +0 -0
  5. package/dist/asm-agent-runtime/src/rlm/__init__.py +1 -1
  6. package/dist/asm-agent-runtime/src/rlm/__pycache__/__init__.cpython-312.pyc +0 -0
  7. package/dist/asm-agent-runtime/src/rlm/__pycache__/__init__.cpython-313.pyc +0 -0
  8. package/dist/asm-agent-runtime/src/rlm/__pycache__/bash.cpython-312.pyc +0 -0
  9. package/dist/asm-agent-runtime/src/rlm/__pycache__/bash.cpython-313.pyc +0 -0
  10. package/dist/asm-agent-runtime/src/rlm/__pycache__/mcp.cpython-312.pyc +0 -0
  11. package/dist/asm-agent-runtime/src/rlm/__pycache__/mcp_base.cpython-312.pyc +0 -0
  12. package/dist/asm-agent-runtime/src/rlm/__pycache__/repl.cpython-312.pyc +0 -0
  13. package/dist/asm-agent-runtime/src/rlm/__pycache__/repl.cpython-313.pyc +0 -0
  14. package/dist/asm-agent-runtime/src/rlm/__pycache__/skill.cpython-313.pyc +0 -0
  15. package/dist/asm-agent-runtime/src/rlm/bash.py +94 -31
  16. package/dist/asm-agent-runtime/src/rlm/repl.md +3 -3
  17. package/dist/asm-agent-runtime/src/rlm/repl.py +46 -45
  18. package/dist/asm-agent-runtime/test/__pycache__/test_bash.cpython-313.pyc +0 -0
  19. package/dist/asm-agent-runtime/test/__pycache__/test_repl.cpython-313.pyc +0 -0
  20. package/dist/asm-agent-runtime/test/test_bash.py +74 -19
  21. package/dist/asm-agent-runtime/test/test_repl.py +67 -3
  22. package/dist/asm-agent-runtime/uv.lock +446 -155
  23. package/dist/bundle/{anthropic-OFECORE7.js → anthropic-2VRH36LG.js} +2 -2
  24. package/dist/bundle/{azure-openai-responses-AOVTLR6N.js → azure-openai-responses-COYWHJPT.js} +2 -2
  25. package/dist/bundle/{bundled-modules-JQCJDEIY.js → bundled-modules-YKMFOFDW.js} +3 -3
  26. package/dist/bundle/{chunk-JC2TT4MZ.js → chunk-JBR32RCG.js} +4943 -1917
  27. package/dist/bundle/{chunk-M67RGWDQ.js → chunk-US4QGESM.js} +43 -44
  28. package/dist/bundle/{chunk-A65OM3TZ.js → chunk-V3BASDCN.js} +1 -1
  29. package/dist/bundle/{chunk-7TB7CGPV.js → chunk-YL37EJB6.js} +978 -1821
  30. package/dist/bundle/{cli-main-FNHDQGQD.js → cli-main-D7CFAHKG.js} +3 -3
  31. package/dist/bundle/cli.js +1 -1
  32. package/dist/bundle/{google-RVJL6RIQ.js → google-CSTXROSV.js} +1 -1
  33. package/dist/bundle/{google-vertex-EZTRRRH6.js → google-vertex-MEAR43KB.js} +1 -1
  34. package/dist/bundle/{main-IYXIIAJN.js → main-NKNJEUDP.js} +3 -3
  35. package/dist/bundle/{mistral-FSGKSMA7.js → mistral-VAF7JADB.js} +1 -1
  36. package/dist/bundle/{openai-codex-responses-VM5Y564D.js → openai-codex-responses-RWZ6P4I3.js} +2 -2
  37. package/dist/bundle/{openai-completions-X46FOQDN.js → openai-completions-CFB3BOTU.js} +3 -3
  38. package/dist/bundle/{openai-responses-SOQNEPBE.js → openai-responses-4OPGGCBI.js} +2 -2
  39. package/dist/config.d.ts +0 -1
  40. package/dist/config.d.ts.map +1 -1
  41. package/dist/config.js +0 -3
  42. package/dist/config.js.map +1 -1
  43. package/dist/core/agent-session-config.d.ts +1 -2
  44. package/dist/core/agent-session-config.d.ts.map +1 -1
  45. package/dist/core/agent-session-config.js +0 -3
  46. package/dist/core/agent-session-config.js.map +1 -1
  47. package/dist/core/agent-session-runtime.d.ts.map +1 -1
  48. package/dist/core/agent-session-runtime.js +0 -8
  49. package/dist/core/agent-session-runtime.js.map +1 -1
  50. package/dist/core/agent-session-services.d.ts +0 -2
  51. package/dist/core/agent-session-services.d.ts.map +1 -1
  52. package/dist/core/agent-session-services.js +0 -22
  53. package/dist/core/agent-session-services.js.map +1 -1
  54. package/dist/core/agent-session.d.ts +8 -1
  55. package/dist/core/agent-session.d.ts.map +1 -1
  56. package/dist/core/agent-session.js +100 -22
  57. package/dist/core/agent-session.js.map +1 -1
  58. package/dist/core/kernel/bootstrap.d.ts.map +1 -1
  59. package/dist/core/kernel/bootstrap.js +1 -1
  60. package/dist/core/kernel/bootstrap.js.map +1 -1
  61. package/dist/core/kernel/repl-manager.d.ts +32 -8
  62. package/dist/core/kernel/repl-manager.d.ts.map +1 -1
  63. package/dist/core/kernel/repl-manager.js +401 -102
  64. package/dist/core/kernel/repl-manager.js.map +1 -1
  65. package/dist/core/kernel/shared.d.ts +11 -7
  66. package/dist/core/kernel/shared.d.ts.map +1 -1
  67. package/dist/core/kernel/shared.js +2 -5
  68. package/dist/core/kernel/shared.js.map +1 -1
  69. package/dist/core/mcp/mcp-manager.d.ts +4 -2
  70. package/dist/core/mcp/mcp-manager.d.ts.map +1 -1
  71. package/dist/core/mcp/mcp-manager.js +9 -7
  72. package/dist/core/mcp/mcp-manager.js.map +1 -1
  73. package/dist/core/model-registry.d.ts.map +1 -1
  74. package/dist/core/model-registry.js +1 -1
  75. package/dist/core/model-registry.js.map +1 -1
  76. package/dist/core/prime-inference-auth.d.ts +0 -9
  77. package/dist/core/prime-inference-auth.d.ts.map +1 -1
  78. package/dist/core/prime-inference-auth.js +0 -50
  79. package/dist/core/prime-inference-auth.js.map +1 -1
  80. package/dist/core/provider-display-names.d.ts.map +1 -1
  81. package/dist/core/provider-display-names.js +0 -1
  82. package/dist/core/provider-display-names.js.map +1 -1
  83. package/dist/core/session-manager.d.ts +0 -4
  84. package/dist/core/session-manager.d.ts.map +1 -1
  85. package/dist/core/session-manager.js +0 -22
  86. package/dist/core/session-manager.js.map +1 -1
  87. package/dist/core/settings-manager.d.ts +4 -16
  88. package/dist/core/settings-manager.d.ts.map +1 -1
  89. package/dist/core/settings-manager.js +13 -43
  90. package/dist/core/settings-manager.js.map +1 -1
  91. package/dist/core/slash-commands.d.ts.map +1 -1
  92. package/dist/core/slash-commands.js +0 -5
  93. package/dist/core/slash-commands.js.map +1 -1
  94. package/dist/core/tools/acp-mcp.d.ts +6 -0
  95. package/dist/core/tools/acp-mcp.d.ts.map +1 -0
  96. package/dist/core/tools/acp-mcp.js +86 -0
  97. package/dist/core/tools/acp-mcp.js.map +1 -0
  98. package/dist/core/tools/index.d.ts +1 -0
  99. package/dist/core/tools/index.d.ts.map +1 -1
  100. package/dist/core/tools/index.js +1 -0
  101. package/dist/core/tools/index.js.map +1 -1
  102. package/dist/core/tools/ipython.d.ts.map +1 -1
  103. package/dist/core/tools/ipython.js +9 -4
  104. package/dist/core/tools/ipython.js.map +1 -1
  105. package/dist/main.d.ts.map +1 -1
  106. package/dist/main.js +2 -11
  107. package/dist/main.js.map +1 -1
  108. package/dist/modes/acp/acp-mode.d.ts.map +1 -1
  109. package/dist/modes/acp/acp-mode.js +1 -1
  110. package/dist/modes/acp/acp-mode.js.map +1 -1
  111. package/dist/modes/agent-connection/daemon-agent-connection.d.ts +0 -2
  112. package/dist/modes/agent-connection/daemon-agent-connection.d.ts.map +1 -1
  113. package/dist/modes/agent-connection/daemon-agent-connection.js +0 -2
  114. package/dist/modes/agent-connection/daemon-agent-connection.js.map +1 -1
  115. package/dist/modes/agents-view/agents-view-mode.d.ts.map +1 -1
  116. package/dist/modes/agents-view/agents-view-mode.js +0 -19
  117. package/dist/modes/agents-view/agents-view-mode.js.map +1 -1
  118. package/dist/modes/daemon/daemon-mode.d.ts +1 -10
  119. package/dist/modes/daemon/daemon-mode.d.ts.map +1 -1
  120. package/dist/modes/daemon/daemon-mode.js +134 -274
  121. package/dist/modes/daemon/daemon-mode.js.map +1 -1
  122. package/dist/modes/daemon/daemon-protocol.d.ts +11 -5
  123. package/dist/modes/daemon/daemon-protocol.d.ts.map +1 -1
  124. package/dist/modes/daemon/daemon-protocol.js +6 -8
  125. package/dist/modes/daemon/daemon-protocol.js.map +1 -1
  126. package/dist/modes/daemon/daemon-supervisor.d.ts +0 -3
  127. package/dist/modes/daemon/daemon-supervisor.d.ts.map +1 -1
  128. package/dist/modes/daemon/daemon-supervisor.js +18 -52
  129. package/dist/modes/daemon/daemon-supervisor.js.map +1 -1
  130. package/dist/modes/daemon/daemon-worker-protocol.d.ts +1 -6
  131. package/dist/modes/daemon/daemon-worker-protocol.d.ts.map +1 -1
  132. package/dist/modes/daemon/daemon-worker-protocol.js +0 -2
  133. package/dist/modes/daemon/daemon-worker-protocol.js.map +1 -1
  134. package/dist/modes/interactive/auth-flows.d.ts +0 -2
  135. package/dist/modes/interactive/auth-flows.d.ts.map +1 -1
  136. package/dist/modes/interactive/auth-flows.js +1 -101
  137. package/dist/modes/interactive/auth-flows.js.map +1 -1
  138. package/dist/modes/interactive/components/assistant-message.d.ts +6 -1
  139. package/dist/modes/interactive/components/assistant-message.d.ts.map +1 -1
  140. package/dist/modes/interactive/components/assistant-message.js +13 -3
  141. package/dist/modes/interactive/components/assistant-message.js.map +1 -1
  142. package/dist/modes/interactive/components/footer.d.ts +1 -1
  143. package/dist/modes/interactive/components/footer.d.ts.map +1 -1
  144. package/dist/modes/interactive/components/footer.js +2 -2
  145. package/dist/modes/interactive/components/footer.js.map +1 -1
  146. package/dist/modes/interactive/components/mermaid.d.ts +12 -0
  147. package/dist/modes/interactive/components/mermaid.d.ts.map +1 -0
  148. package/dist/modes/interactive/components/mermaid.js +63 -0
  149. package/dist/modes/interactive/components/mermaid.js.map +1 -0
  150. package/dist/modes/interactive/components/settings-selector.d.ts +3 -1
  151. package/dist/modes/interactive/components/settings-selector.d.ts.map +1 -1
  152. package/dist/modes/interactive/components/settings-selector.js +10 -0
  153. package/dist/modes/interactive/components/settings-selector.js.map +1 -1
  154. package/dist/modes/interactive/feature-hints.d.ts.map +1 -1
  155. package/dist/modes/interactive/feature-hints.js +0 -4
  156. package/dist/modes/interactive/feature-hints.js.map +1 -1
  157. package/dist/modes/interactive/interactive-mode.d.ts +1 -7
  158. package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
  159. package/dist/modes/interactive/interactive-mode.js +23 -279
  160. package/dist/modes/interactive/interactive-mode.js.map +1 -1
  161. package/dist/utils/version-check.d.ts.map +1 -1
  162. package/dist/utils/version-check.js +1 -1
  163. package/dist/utils/version-check.js.map +1 -1
  164. package/docs/settings.md +1 -31
  165. package/docs/usage.md +1 -4
  166. package/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
  167. package/examples/extensions/custom-provider-anthropic/package.json +1 -1
  168. package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
  169. package/examples/extensions/sandbox/package-lock.json +2 -2
  170. package/examples/extensions/sandbox/package.json +1 -1
  171. package/examples/extensions/with-deps/package-lock.json +2 -2
  172. package/examples/extensions/with-deps/package.json +1 -1
  173. package/examples/gpt-6-astra.models.json +24 -0
  174. package/package.json +6 -5
  175. package/dist/core/agent-traces.d.ts +0 -130
  176. package/dist/core/agent-traces.d.ts.map +0 -1
  177. package/dist/core/agent-traces.js +0 -746
  178. package/dist/core/agent-traces.js.map +0 -1
  179. package/dist/core/telemetry.d.ts +0 -92
  180. package/dist/core/telemetry.d.ts.map +0 -1
  181. package/dist/core/telemetry.js +0 -633
  182. package/dist/core/telemetry.js.map +0 -1
@@ -8954,6 +8954,24 @@ var MODELS = {
8954
8954
  },
8955
8955
  contextWindow: 272e3,
8956
8956
  maxTokens: 128e3
8957
+ },
8958
+ "gpt-6-astra": {
8959
+ id: "gpt-6-astra",
8960
+ name: "GPT-6 Astra",
8961
+ api: "openai-codex-responses",
8962
+ provider: "openai-codex",
8963
+ baseUrl: "https://chatgpt.com/backend-api",
8964
+ reasoning: true,
8965
+ thinkingLevelMap: { "off": null, "minimal": null, "xhigh": "xhigh", "max": "max" },
8966
+ input: ["text", "image"],
8967
+ cost: {
8968
+ input: 10,
8969
+ output: 50,
8970
+ cacheRead: 1,
8971
+ cacheWrite: 0
8972
+ },
8973
+ contextWindow: 272e3,
8974
+ maxTokens: 128e3
8957
8975
  }
8958
8976
  },
8959
8977
  "opencode": {
@@ -11186,13 +11204,13 @@ var MODELS = {
11186
11204
  thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "xhigh": null, "max": null },
11187
11205
  input: ["text"],
11188
11206
  cost: {
11189
- input: 0.25,
11190
- output: 0.95,
11191
- cacheRead: 0.13,
11207
+ input: 0.55,
11208
+ output: 1.6500000000000001,
11209
+ cacheRead: 0.55,
11192
11210
  cacheWrite: 0
11193
11211
  },
11194
11212
  contextWindow: 163840,
11195
- maxTokens: 32768
11213
+ maxTokens: 144900
11196
11214
  },
11197
11215
  "deepseek/deepseek-r1": {
11198
11216
  id: "deepseek/deepseek-r1",
@@ -11300,9 +11318,9 @@ var MODELS = {
11300
11318
  thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "xhigh": "max", "max": null },
11301
11319
  input: ["text"],
11302
11320
  cost: {
11303
- input: 0.08399999999999999,
11304
- output: 0.16799999999999998,
11305
- cacheRead: 0.016800000000000002,
11321
+ input: 0.07938,
11322
+ output: 0.15876,
11323
+ cacheRead: 0.015875999999999998,
11306
11324
  cacheWrite: 0
11307
11325
  },
11308
11326
  contextWindow: 1048576,
@@ -11357,9 +11375,9 @@ var MODELS = {
11357
11375
  thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "xhigh": "max", "max": null },
11358
11376
  input: ["text"],
11359
11377
  cost: {
11360
- input: 1.035996,
11361
- output: 2.071992,
11362
- cacheRead: 0.086333,
11378
+ input: 1.0241639999999999,
11379
+ output: 2.0483279999999997,
11380
+ cacheRead: 0.085347,
11363
11381
  cacheWrite: 0
11364
11382
  },
11365
11383
  contextWindow: 1048576,
@@ -14875,10 +14893,10 @@ var MODELS = {
14875
14893
  thinkingLevelMap: { "minimal": null, "low": "low", "medium": "medium", "high": null, "xhigh": "xhigh", "max": null },
14876
14894
  input: ["text", "image"],
14877
14895
  cost: {
14878
- input: 0.425,
14879
- output: 2.5500000000000003,
14896
+ input: 0.42,
14897
+ output: 3,
14880
14898
  cacheRead: 0.08499999999999999,
14881
- cacheWrite: 0.53125
14899
+ cacheWrite: 0
14882
14900
  },
14883
14901
  contextWindow: 1e6,
14884
14902
  maxTokens: 131072
@@ -15774,9 +15792,9 @@ var MODELS = {
15774
15792
  thinkingLevelMap: { "minimal": null, "low": "low", "medium": null, "high": "high", "xhigh": null, "max": "max" },
15775
15793
  input: ["text", "image"],
15776
15794
  cost: {
15777
- input: 2.5500000000000003,
15778
- output: 12.75,
15779
- cacheRead: 0.25599998999999996,
15795
+ input: 2.5,
15796
+ output: 14,
15797
+ cacheRead: 0.29,
15780
15798
  cacheWrite: 0
15781
15799
  },
15782
15800
  contextWindow: 1048576,
@@ -15846,13 +15864,13 @@ var MODELS = {
15846
15864
  thinkingLevelMap: { "off": null, "minimal": null, "low": "low", "medium": null, "high": "high", "xhigh": null, "max": "max" },
15847
15865
  input: ["text", "image"],
15848
15866
  cost: {
15849
- input: 0.075,
15850
- output: 0.25,
15851
- cacheRead: 0.015,
15867
+ input: 0.07125000000000001,
15868
+ output: 0.2375,
15869
+ cacheRead: 0.01425,
15852
15870
  cacheWrite: 0
15853
15871
  },
15854
15872
  contextWindow: 1310720,
15855
- maxTokens: 943718
15873
+ maxTokens: 131072
15856
15874
  },
15857
15875
  "~z-ai/glm-latest": {
15858
15876
  id: "~z-ai/glm-latest",
@@ -15864,13 +15882,13 @@ var MODELS = {
15864
15882
  thinkingLevelMap: { "off": null, "minimal": null, "low": "low", "medium": null, "high": "high", "xhigh": null, "max": "max" },
15865
15883
  input: ["text"],
15866
15884
  cost: {
15867
- input: 1.1340000000000001,
15868
- output: 3.564,
15869
- cacheRead: 0.1863,
15885
+ input: 1.15,
15886
+ output: 3.5,
15887
+ cacheRead: 0.09999999999999999,
15870
15888
  cacheWrite: 0
15871
15889
  },
15872
15890
  contextWindow: 1310720,
15873
- maxTokens: 943718
15891
+ maxTokens: 235929
15874
15892
  }
15875
15893
  },
15876
15894
  "prime-inference": {
@@ -16163,7 +16181,7 @@ var MODELS = {
16163
16181
  cacheWrite: 0
16164
16182
  },
16165
16183
  contextWindow: 163840,
16166
- maxTokens: 32768
16184
+ maxTokens: 144900
16167
16185
  },
16168
16186
  "deepseek/deepseek-v3.1-terminus": {
16169
16187
  id: "deepseek/deepseek-v3.1-terminus",
@@ -16524,25 +16542,6 @@ var MODELS = {
16524
16542
  contextWindow: 1048576,
16525
16543
  maxTokens: 115200
16526
16544
  },
16527
- "meta/muse-spark-1.2": {
16528
- id: "meta/muse-spark-1.2",
16529
- name: "Muse Spark 1.2",
16530
- api: "openai-completions",
16531
- provider: "prime-inference",
16532
- baseUrl: "https://api.pinference.ai/api/v1",
16533
- compat: { "supportsStore": false, "supportsDeveloperRole": false, "supportsReasoningEffort": true, "maxTokensField": "max_tokens", "supportsStrictMode": false },
16534
- reasoning: true,
16535
- thinkingLevelMap: { "off": null, "minimal": "minimal", "low": "low", "medium": "medium", "high": "high", "xhigh": "xhigh", "max": null },
16536
- input: ["text", "image"],
16537
- cost: {
16538
- input: 1.25,
16539
- output: 4.25,
16540
- cacheRead: 0,
16541
- cacheWrite: 0
16542
- },
16543
- contextWindow: 1048576,
16544
- maxTokens: 943718
16545
- },
16546
16545
  "minimax/minimax-m2.5": {
16547
16546
  id: "minimax/minimax-m2.5",
16548
16547
  name: "Minimax M2.5",
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-GG7GAQ5N.js";
16
16
  import {
17
17
  calculateCost
18
- } from "./chunk-M67RGWDQ.js";
18
+ } from "./chunk-US4QGESM.js";
19
19
 
20
20
  // ../ai/src/providers/openai-responses-shared.ts
21
21
  function encodeTextSignatureV1(id, phase) {